@n1xyz/wallet-widget 0.0.33-alpha.1 → 0.0.33-alpha.3

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 (137) hide show
  1. package/dist/animations/N1Loader.js +14 -8
  2. package/dist/animations/N1Loader.js.map +1 -1
  3. package/dist/animations/Processing.js +14 -8
  4. package/dist/animations/Processing.js.map +1 -1
  5. package/dist/components/LoadingFallback.js +6 -2
  6. package/dist/components/LoadingFallback.js.map +1 -1
  7. package/dist/components/Logo.js +25 -22
  8. package/dist/components/Logo.js.map +1 -1
  9. package/dist/components/N1ConnectButton.js +18 -12
  10. package/dist/components/N1ConnectButton.js.map +1 -1
  11. package/dist/components/logos/ArbitrumLogo.js +7 -3
  12. package/dist/components/logos/ArbitrumLogo.js.map +1 -1
  13. package/dist/components/logos/BaseLogo.js +7 -3
  14. package/dist/components/logos/BaseLogo.js.map +1 -1
  15. package/dist/components/logos/BeraLogo.js +7 -3
  16. package/dist/components/logos/BeraLogo.js.map +1 -1
  17. package/dist/components/logos/BitcoinLogo.js +7 -3
  18. package/dist/components/logos/BitcoinLogo.js.map +1 -1
  19. package/dist/components/logos/EthereumLogo.js +7 -3
  20. package/dist/components/logos/EthereumLogo.js.map +1 -1
  21. package/dist/components/logos/HyperliquidLogo.js +7 -3
  22. package/dist/components/logos/HyperliquidLogo.js.map +1 -1
  23. package/dist/components/logos/OptimismLogo.js +7 -3
  24. package/dist/components/logos/OptimismLogo.js.map +1 -1
  25. package/dist/components/logos/SolanaLogo.js +7 -3
  26. package/dist/components/logos/SolanaLogo.js.map +1 -1
  27. package/dist/components/logos/ZeroOneLogo.js +7 -3
  28. package/dist/components/logos/ZeroOneLogo.js.map +1 -1
  29. package/dist/components/logos/index.js +25 -9
  30. package/dist/components/logos/index.js.map +1 -1
  31. package/dist/config/solana.js +7 -3
  32. package/dist/config/solana.js.map +1 -1
  33. package/dist/config.js +5 -2
  34. package/dist/config.js.map +1 -1
  35. package/dist/context/n1-wallet-context.js +8 -4
  36. package/dist/context/n1-wallet-context.js.map +1 -1
  37. package/dist/errors/types.js +6 -3
  38. package/dist/errors/types.js.map +1 -1
  39. package/dist/features/onboarding-flow/N1WalletModal.js +59 -23
  40. package/dist/features/onboarding-flow/N1WalletModal.js.map +1 -1
  41. package/dist/features/onboarding-flow/OnboardingFlow.js +50 -46
  42. package/dist/features/onboarding-flow/OnboardingFlow.js.map +1 -1
  43. package/dist/features/onboarding-flow/components/ChainButton.js +7 -4
  44. package/dist/features/onboarding-flow/components/ChainButton.js.map +1 -1
  45. package/dist/features/onboarding-flow/components/Header.js +15 -11
  46. package/dist/features/onboarding-flow/components/Header.js.map +1 -1
  47. package/dist/features/onboarding-flow/components/ImageWithFallback.js +10 -6
  48. package/dist/features/onboarding-flow/components/ImageWithFallback.js.map +1 -1
  49. package/dist/features/onboarding-flow/components/TransactionTable.js +13 -10
  50. package/dist/features/onboarding-flow/components/TransactionTable.js.map +1 -1
  51. package/dist/features/onboarding-flow/components/WaitingMessage.js +14 -8
  52. package/dist/features/onboarding-flow/components/WaitingMessage.js.map +1 -1
  53. package/dist/features/onboarding-flow/components/index.js +21 -5
  54. package/dist/features/onboarding-flow/components/index.js.map +1 -1
  55. package/dist/features/onboarding-flow/index.js +5 -1
  56. package/dist/features/onboarding-flow/index.js.map +1 -1
  57. package/dist/features/onboarding-flow/providers/DepositFlowProvider.js +60 -55
  58. package/dist/features/onboarding-flow/providers/DepositFlowProvider.js.map +1 -1
  59. package/dist/features/onboarding-flow/providers/OnboardingStateProvider.js +48 -43
  60. package/dist/features/onboarding-flow/providers/OnboardingStateProvider.js.map +1 -1
  61. package/dist/features/onboarding-flow/providers/StateProvider.js +11 -7
  62. package/dist/features/onboarding-flow/providers/StateProvider.js.map +1 -1
  63. package/dist/features/onboarding-flow/providers/WalletConnectionProvider.js +74 -69
  64. package/dist/features/onboarding-flow/providers/WalletConnectionProvider.js.map +1 -1
  65. package/dist/features/onboarding-flow/providers/debug.js +21 -18
  66. package/dist/features/onboarding-flow/providers/debug.js.map +1 -1
  67. package/dist/features/onboarding-flow/providers/index.js +16 -5
  68. package/dist/features/onboarding-flow/providers/index.js.map +1 -1
  69. package/dist/features/onboarding-flow/providers/onboardingStateMachine.js +20 -15
  70. package/dist/features/onboarding-flow/providers/onboardingStateMachine.js.map +1 -1
  71. package/dist/features/onboarding-flow/screens/01-ConnectWalletScreen.js +11 -8
  72. package/dist/features/onboarding-flow/screens/01-ConnectWalletScreen.js.map +1 -1
  73. package/dist/features/onboarding-flow/screens/02-ChainSelectionScreen.js +38 -34
  74. package/dist/features/onboarding-flow/screens/02-ChainSelectionScreen.js.map +1 -1
  75. package/dist/features/onboarding-flow/screens/03-AmountInputScreen.js +51 -47
  76. package/dist/features/onboarding-flow/screens/03-AmountInputScreen.js.map +1 -1
  77. package/dist/features/onboarding-flow/screens/04-DepositProgressScreen.js +12 -8
  78. package/dist/features/onboarding-flow/screens/04-DepositProgressScreen.js.map +1 -1
  79. package/dist/features/onboarding-flow/screens/05-DepositSuccessScreen.js +28 -25
  80. package/dist/features/onboarding-flow/screens/05-DepositSuccessScreen.js.map +1 -1
  81. package/dist/features/onboarding-flow/screens/06-AuthLoadingScreen.js +13 -10
  82. package/dist/features/onboarding-flow/screens/06-AuthLoadingScreen.js.map +1 -1
  83. package/dist/features/onboarding-flow/screens/07-ErrorScreen.js +10 -7
  84. package/dist/features/onboarding-flow/screens/07-ErrorScreen.js.map +1 -1
  85. package/dist/features/onboarding-flow/screens/index.js +23 -7
  86. package/dist/features/onboarding-flow/screens/index.js.map +1 -1
  87. package/dist/features/onboarding-flow/types.js +6 -3
  88. package/dist/features/onboarding-flow/types.js.map +1 -1
  89. package/dist/features/onboarding-flow/utils/depositStorage.js +8 -3
  90. package/dist/features/onboarding-flow/utils/depositStorage.js.map +1 -1
  91. package/dist/features/onboarding-flow/utils/imageUtils.js +9 -3
  92. package/dist/features/onboarding-flow/utils/imageUtils.js.map +1 -1
  93. package/dist/features/onboarding-flow/utils/nordUser.js +38 -2
  94. package/dist/features/onboarding-flow/utils/nordUser.js.map +1 -1
  95. package/dist/features/onboarding-flow/utils/nordUtils.js +12 -5
  96. package/dist/features/onboarding-flow/utils/nordUtils.js.map +1 -1
  97. package/dist/features/onboarding-flow/utils/session.js +17 -14
  98. package/dist/features/onboarding-flow/utils/session.js.map +1 -1
  99. package/dist/features/onboarding-flow/utils/transaction.js +4 -1
  100. package/dist/features/onboarding-flow/utils/transaction.js.map +1 -1
  101. package/dist/features/onboarding-flow/utils/utils.js +16 -8
  102. package/dist/features/onboarding-flow/utils/utils.js.map +1 -1
  103. package/dist/features/onboarding-flow/utils/withImageFallback.js +15 -9
  104. package/dist/features/onboarding-flow/utils/withImageFallback.js.map +1 -1
  105. package/dist/hooks/index.js +18 -2
  106. package/dist/hooks/index.js.map +1 -1
  107. package/dist/hooks/useN1Wallet.js +10 -6
  108. package/dist/hooks/useN1Wallet.js.map +1 -1
  109. package/dist/hooks/useNordUserInitialization.js +34 -31
  110. package/dist/hooks/useNordUserInitialization.js.map +1 -1
  111. package/dist/index.js +21 -7
  112. package/dist/index.js.map +1 -1
  113. package/dist/polyfills/windowEthereumGuard.js +2 -1
  114. package/dist/polyfills/windowEthereumGuard.js.map +1 -1
  115. package/dist/providers/LazyWalletProvider.js +74 -38
  116. package/dist/providers/LazyWalletProvider.js.map +1 -1
  117. package/dist/providers/N1WalletProvider.js +109 -70
  118. package/dist/providers/N1WalletProvider.js.map +1 -1
  119. package/dist/providers/ShadowRootWrapper.js +10 -4
  120. package/dist/providers/ShadowRootWrapper.js.map +1 -1
  121. package/dist/providers/WalletErrorBoundary.js +11 -6
  122. package/dist/providers/WalletErrorBoundary.js.map +1 -1
  123. package/dist/styles/embedded-main-css.js +3 -1
  124. package/dist/styles/embedded-main-css.js.map +1 -1
  125. package/dist/types/wallet.js +7 -4
  126. package/dist/types/wallet.js.map +1 -1
  127. package/dist/utils/ed25519.js +20 -14
  128. package/dist/utils/ed25519.js.map +1 -1
  129. package/dist/utils/getPseudoName.js +10 -7
  130. package/dist/utils/getPseudoName.js.map +1 -1
  131. package/dist/utils/logger.js +5 -3
  132. package/dist/utils/logger.js.map +1 -1
  133. package/dist/utils/shortenString.js +6 -2
  134. package/dist/utils/shortenString.js.map +1 -1
  135. package/dist/utils/words.js +4 -1
  136. package/dist/utils/words.js.map +1 -1
  137. package/package.json +1 -2
@@ -1,3 +1,4 @@
1
+ "use strict";
1
2
  'use client';
2
3
  var __assign = (this && this.__assign) || function () {
3
4
  __assign = Object.assign || function(t) {
@@ -21,22 +22,27 @@ var __rest = (this && this.__rest) || function (s, e) {
21
22
  }
22
23
  return t;
23
24
  };
24
- import { jsx as _jsx } from "react/jsx-runtime";
25
- import { useEffect, useRef } from 'react';
26
- import Lottie from 'lottie-react';
27
- import animationData from './N1Loader.json';
25
+ var __importDefault = (this && this.__importDefault) || function (mod) {
26
+ return (mod && mod.__esModule) ? mod : { "default": mod };
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.N1LoaderAnimation = N1LoaderAnimation;
30
+ var jsx_runtime_1 = require("react/jsx-runtime");
31
+ var react_1 = require("react");
32
+ var lottie_react_1 = __importDefault(require("lottie-react"));
33
+ var N1Loader_json_1 = __importDefault(require("./N1Loader.json"));
28
34
  /**
29
35
  * N1 loader rendered via the original Lottie JSON animation.
30
36
  */
31
- export function N1LoaderAnimation(_a) {
37
+ function N1LoaderAnimation(_a) {
32
38
  var _b = _a.size, size = _b === void 0 ? 96 : _b, _c = _a.loop, loop = _c === void 0 ? true : _c, _d = _a.autoplay, autoplay = _d === void 0 ? true : _d, _e = _a.speed, speed = _e === void 0 ? 1 : _e, className = _a.className, style = _a.style, rest = __rest(_a, ["size", "loop", "autoplay", "speed", "className", "style"]);
33
- var lottieRef = useRef(null);
39
+ var lottieRef = (0, react_1.useRef)(null);
34
40
  var containerStyle = __assign({ width: size, height: size }, style);
35
- useEffect(function () {
41
+ (0, react_1.useEffect)(function () {
36
42
  if (lottieRef.current) {
37
43
  lottieRef.current.setSpeed(speed);
38
44
  }
39
45
  }, [speed]);
40
- return (_jsx("div", __assign({ className: className, style: containerStyle }, rest, { children: _jsx(Lottie, { lottieRef: lottieRef, animationData: animationData, loop: loop, autoplay: autoplay, style: { width: '100%', height: '100%' } }) })));
46
+ return ((0, jsx_runtime_1.jsx)("div", __assign({ className: className, style: containerStyle }, rest, { children: (0, jsx_runtime_1.jsx)(lottie_react_1.default, { lottieRef: lottieRef, animationData: N1Loader_json_1.default, loop: loop, autoplay: autoplay, style: { width: '100%', height: '100%' } }) })));
41
47
  }
42
48
  //# sourceMappingURL=N1Loader.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"N1Loader.js","sourceRoot":"","sources":["../../src/animations/N1Loader.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;;;;;;;;;;;;;;;;;;;;;;;AAGb,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAC1C,OAAO,MAAsC,MAAM,cAAc,CAAC;AAElE,OAAO,aAAa,MAAM,iBAAiB,CAAC;AAS5C;;GAEG;AACH,MAAM,UAAU,iBAAiB,CAAC,EAQT;IAPvB,IAAA,YAAS,EAAT,IAAI,mBAAG,EAAE,KAAA,EACT,YAAW,EAAX,IAAI,mBAAG,IAAI,KAAA,EACX,gBAAe,EAAf,QAAQ,mBAAG,IAAI,KAAA,EACf,aAAS,EAAT,KAAK,mBAAG,CAAC,KAAA,EACT,SAAS,eAAA,EACT,KAAK,WAAA,EACF,IAAI,cAPyB,2DAQjC,CADQ;IAEP,IAAM,SAAS,GAAG,MAAM,CAAwB,IAAI,CAAC,CAAC;IACtD,IAAM,cAAc,cAClB,KAAK,EAAE,IAAI,EACX,MAAM,EAAE,IAAI,IACT,KAAK,CACT,CAAC;IAEF,SAAS,CAAC;QACR,IAAI,SAAS,CAAC,OAAO,EAAE,CAAC;YACtB,SAAS,CAAC,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;QACpC,CAAC;IACH,CAAC,EAAE,CAAC,KAAK,CAAC,CAAC,CAAC;IAEZ,OAAO,CACL,uBAAK,SAAS,EAAE,SAAS,EAAE,KAAK,EAAE,cAAc,IAAM,IAAI,cACxD,KAAC,MAAM,IACL,SAAS,EAAE,SAAS,EACpB,aAAa,EAAE,aAAa,EAC5B,IAAI,EAAE,IAAI,EACV,QAAQ,EAAE,QAAQ,EAClB,KAAK,EAAE,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,GACxC,IACE,CACP,CAAC;AACJ,CAAC","sourcesContent":["'use client';\n\nimport type { CSSProperties, HTMLAttributes } from 'react';\nimport { useEffect, useRef } from 'react';\nimport Lottie, { type LottieRefCurrentProps } from 'lottie-react';\n\nimport animationData from './N1Loader.json';\n\nexport interface N1LoaderAnimationProps extends HTMLAttributes<HTMLDivElement> {\n size?: number;\n loop?: boolean;\n autoplay?: boolean;\n speed?: number;\n}\n\n/**\n * N1 loader rendered via the original Lottie JSON animation.\n */\nexport function N1LoaderAnimation({\n size = 96,\n loop = true,\n autoplay = true,\n speed = 1,\n className,\n style,\n ...rest\n}: N1LoaderAnimationProps) {\n const lottieRef = useRef<LottieRefCurrentProps>(null);\n const containerStyle: CSSProperties = {\n width: size,\n height: size,\n ...style,\n };\n\n useEffect(() => {\n if (lottieRef.current) {\n lottieRef.current.setSpeed(speed);\n }\n }, [speed]);\n\n return (\n <div className={className} style={containerStyle} {...rest}>\n <Lottie\n lottieRef={lottieRef}\n animationData={animationData}\n loop={loop}\n autoplay={autoplay}\n style={{ width: '100%', height: '100%' }}\n />\n </div>\n );\n}\n"]}
1
+ {"version":3,"file":"N1Loader.js","sourceRoot":"","sources":["../../src/animations/N1Loader.tsx"],"names":[],"mappings":";AAAA,YAAY,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;AAkBb,8CAiCC;;AAhDD,+BAA0C;AAC1C,8DAAkE;AAElE,kEAA4C;AAS5C;;GAEG;AACH,SAAgB,iBAAiB,CAAC,EAQT;IAPvB,IAAA,YAAS,EAAT,IAAI,mBAAG,EAAE,KAAA,EACT,YAAW,EAAX,IAAI,mBAAG,IAAI,KAAA,EACX,gBAAe,EAAf,QAAQ,mBAAG,IAAI,KAAA,EACf,aAAS,EAAT,KAAK,mBAAG,CAAC,KAAA,EACT,SAAS,eAAA,EACT,KAAK,WAAA,EACF,IAAI,cAPyB,2DAQjC,CADQ;IAEP,IAAM,SAAS,GAAG,IAAA,cAAM,EAAwB,IAAI,CAAC,CAAC;IACtD,IAAM,cAAc,cAClB,KAAK,EAAE,IAAI,EACX,MAAM,EAAE,IAAI,IACT,KAAK,CACT,CAAC;IAEF,IAAA,iBAAS,EAAC;QACR,IAAI,SAAS,CAAC,OAAO,EAAE,CAAC;YACtB,SAAS,CAAC,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;QACpC,CAAC;IACH,CAAC,EAAE,CAAC,KAAK,CAAC,CAAC,CAAC;IAEZ,OAAO,CACL,yCAAK,SAAS,EAAE,SAAS,EAAE,KAAK,EAAE,cAAc,IAAM,IAAI,cACxD,uBAAC,sBAAM,IACL,SAAS,EAAE,SAAS,EACpB,aAAa,EAAE,uBAAa,EAC5B,IAAI,EAAE,IAAI,EACV,QAAQ,EAAE,QAAQ,EAClB,KAAK,EAAE,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,GACxC,IACE,CACP,CAAC;AACJ,CAAC","sourcesContent":["'use client';\n\nimport type { CSSProperties, HTMLAttributes } from 'react';\nimport { useEffect, useRef } from 'react';\nimport Lottie, { type LottieRefCurrentProps } from 'lottie-react';\n\nimport animationData from './N1Loader.json';\n\nexport interface N1LoaderAnimationProps extends HTMLAttributes<HTMLDivElement> {\n size?: number;\n loop?: boolean;\n autoplay?: boolean;\n speed?: number;\n}\n\n/**\n * N1 loader rendered via the original Lottie JSON animation.\n */\nexport function N1LoaderAnimation({\n size = 96,\n loop = true,\n autoplay = true,\n speed = 1,\n className,\n style,\n ...rest\n}: N1LoaderAnimationProps) {\n const lottieRef = useRef<LottieRefCurrentProps>(null);\n const containerStyle: CSSProperties = {\n width: size,\n height: size,\n ...style,\n };\n\n useEffect(() => {\n if (lottieRef.current) {\n lottieRef.current.setSpeed(speed);\n }\n }, [speed]);\n\n return (\n <div className={className} style={containerStyle} {...rest}>\n <Lottie\n lottieRef={lottieRef}\n animationData={animationData}\n loop={loop}\n autoplay={autoplay}\n style={{ width: '100%', height: '100%' }}\n />\n </div>\n );\n}\n"]}
@@ -1,3 +1,4 @@
1
+ "use strict";
1
2
  'use client';
2
3
  var __assign = (this && this.__assign) || function () {
3
4
  __assign = Object.assign || function(t) {
@@ -21,22 +22,27 @@ var __rest = (this && this.__rest) || function (s, e) {
21
22
  }
22
23
  return t;
23
24
  };
24
- import { jsx as _jsx } from "react/jsx-runtime";
25
- import { useEffect, useRef } from 'react';
26
- import Lottie from 'lottie-react';
27
- import animationData from './Processing.json';
25
+ var __importDefault = (this && this.__importDefault) || function (mod) {
26
+ return (mod && mod.__esModule) ? mod : { "default": mod };
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.ProcessingAnimation = ProcessingAnimation;
30
+ var jsx_runtime_1 = require("react/jsx-runtime");
31
+ var react_1 = require("react");
32
+ var lottie_react_1 = __importDefault(require("lottie-react"));
33
+ var Processing_json_1 = __importDefault(require("./Processing.json"));
28
34
  /**
29
35
  * Processing animation powered by the original Lottie JSON asset.
30
36
  */
31
- export function ProcessingAnimation(_a) {
37
+ function ProcessingAnimation(_a) {
32
38
  var _b = _a.size, size = _b === void 0 ? 120 : _b, _c = _a.loop, loop = _c === void 0 ? true : _c, _d = _a.autoplay, autoplay = _d === void 0 ? true : _d, _e = _a.speed, speed = _e === void 0 ? 1 : _e, className = _a.className, style = _a.style, rest = __rest(_a, ["size", "loop", "autoplay", "speed", "className", "style"]);
33
- var lottieRef = useRef(null);
39
+ var lottieRef = (0, react_1.useRef)(null);
34
40
  var containerStyle = __assign({ width: size, height: size }, style);
35
- useEffect(function () {
41
+ (0, react_1.useEffect)(function () {
36
42
  if (lottieRef.current) {
37
43
  lottieRef.current.setSpeed(speed);
38
44
  }
39
45
  }, [speed]);
40
- return (_jsx("div", __assign({ className: className, style: containerStyle }, rest, { children: _jsx(Lottie, { lottieRef: lottieRef, animationData: animationData, loop: loop, autoplay: autoplay, style: { width: '100%', height: '100%' } }) })));
46
+ return ((0, jsx_runtime_1.jsx)("div", __assign({ className: className, style: containerStyle }, rest, { children: (0, jsx_runtime_1.jsx)(lottie_react_1.default, { lottieRef: lottieRef, animationData: Processing_json_1.default, loop: loop, autoplay: autoplay, style: { width: '100%', height: '100%' } }) })));
41
47
  }
42
48
  //# sourceMappingURL=Processing.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Processing.js","sourceRoot":"","sources":["../../src/animations/Processing.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;;;;;;;;;;;;;;;;;;;;;;;AAGb,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAC1C,OAAO,MAAsC,MAAM,cAAc,CAAC;AAElE,OAAO,aAAa,MAAM,mBAAmB,CAAC;AAS9C;;GAEG;AACH,MAAM,UAAU,mBAAmB,CAAC,EAQT;IAPzB,IAAA,YAAU,EAAV,IAAI,mBAAG,GAAG,KAAA,EACV,YAAW,EAAX,IAAI,mBAAG,IAAI,KAAA,EACX,gBAAe,EAAf,QAAQ,mBAAG,IAAI,KAAA,EACf,aAAS,EAAT,KAAK,mBAAG,CAAC,KAAA,EACT,SAAS,eAAA,EACT,KAAK,WAAA,EACF,IAAI,cAP2B,2DAQnC,CADQ;IAEP,IAAM,SAAS,GAAG,MAAM,CAAwB,IAAI,CAAC,CAAC;IACtD,IAAM,cAAc,cAClB,KAAK,EAAE,IAAI,EACX,MAAM,EAAE,IAAI,IACT,KAAK,CACT,CAAC;IAEF,SAAS,CAAC;QACR,IAAI,SAAS,CAAC,OAAO,EAAE,CAAC;YACtB,SAAS,CAAC,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;QACpC,CAAC;IACH,CAAC,EAAE,CAAC,KAAK,CAAC,CAAC,CAAC;IAEZ,OAAO,CACL,uBAAK,SAAS,EAAE,SAAS,EAAE,KAAK,EAAE,cAAc,IAAM,IAAI,cACxD,KAAC,MAAM,IACL,SAAS,EAAE,SAAS,EACpB,aAAa,EAAE,aAAa,EAC5B,IAAI,EAAE,IAAI,EACV,QAAQ,EAAE,QAAQ,EAClB,KAAK,EAAE,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,GACxC,IACE,CACP,CAAC;AACJ,CAAC","sourcesContent":["'use client';\n\nimport type { CSSProperties, HTMLAttributes } from 'react';\nimport { useEffect, useRef } from 'react';\nimport Lottie, { type LottieRefCurrentProps } from 'lottie-react';\n\nimport animationData from './Processing.json';\n\nexport interface ProcessingAnimationProps extends HTMLAttributes<HTMLDivElement> {\n size?: number;\n loop?: boolean;\n autoplay?: boolean;\n speed?: number;\n}\n\n/**\n * Processing animation powered by the original Lottie JSON asset.\n */\nexport function ProcessingAnimation({\n size = 120,\n loop = true,\n autoplay = true,\n speed = 1,\n className,\n style,\n ...rest\n}: ProcessingAnimationProps) {\n const lottieRef = useRef<LottieRefCurrentProps>(null);\n const containerStyle: CSSProperties = {\n width: size,\n height: size,\n ...style,\n };\n\n useEffect(() => {\n if (lottieRef.current) {\n lottieRef.current.setSpeed(speed);\n }\n }, [speed]);\n\n return (\n <div className={className} style={containerStyle} {...rest}>\n <Lottie\n lottieRef={lottieRef}\n animationData={animationData}\n loop={loop}\n autoplay={autoplay}\n style={{ width: '100%', height: '100%' }}\n />\n </div>\n );\n}\n"]}
1
+ {"version":3,"file":"Processing.js","sourceRoot":"","sources":["../../src/animations/Processing.tsx"],"names":[],"mappings":";AAAA,YAAY,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;AAkBb,kDAiCC;;AAhDD,+BAA0C;AAC1C,8DAAkE;AAElE,sEAA8C;AAS9C;;GAEG;AACH,SAAgB,mBAAmB,CAAC,EAQT;IAPzB,IAAA,YAAU,EAAV,IAAI,mBAAG,GAAG,KAAA,EACV,YAAW,EAAX,IAAI,mBAAG,IAAI,KAAA,EACX,gBAAe,EAAf,QAAQ,mBAAG,IAAI,KAAA,EACf,aAAS,EAAT,KAAK,mBAAG,CAAC,KAAA,EACT,SAAS,eAAA,EACT,KAAK,WAAA,EACF,IAAI,cAP2B,2DAQnC,CADQ;IAEP,IAAM,SAAS,GAAG,IAAA,cAAM,EAAwB,IAAI,CAAC,CAAC;IACtD,IAAM,cAAc,cAClB,KAAK,EAAE,IAAI,EACX,MAAM,EAAE,IAAI,IACT,KAAK,CACT,CAAC;IAEF,IAAA,iBAAS,EAAC;QACR,IAAI,SAAS,CAAC,OAAO,EAAE,CAAC;YACtB,SAAS,CAAC,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;QACpC,CAAC;IACH,CAAC,EAAE,CAAC,KAAK,CAAC,CAAC,CAAC;IAEZ,OAAO,CACL,yCAAK,SAAS,EAAE,SAAS,EAAE,KAAK,EAAE,cAAc,IAAM,IAAI,cACxD,uBAAC,sBAAM,IACL,SAAS,EAAE,SAAS,EACpB,aAAa,EAAE,yBAAa,EAC5B,IAAI,EAAE,IAAI,EACV,QAAQ,EAAE,QAAQ,EAClB,KAAK,EAAE,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,GACxC,IACE,CACP,CAAC;AACJ,CAAC","sourcesContent":["'use client';\n\nimport type { CSSProperties, HTMLAttributes } from 'react';\nimport { useEffect, useRef } from 'react';\nimport Lottie, { type LottieRefCurrentProps } from 'lottie-react';\n\nimport animationData from './Processing.json';\n\nexport interface ProcessingAnimationProps extends HTMLAttributes<HTMLDivElement> {\n size?: number;\n loop?: boolean;\n autoplay?: boolean;\n speed?: number;\n}\n\n/**\n * Processing animation powered by the original Lottie JSON asset.\n */\nexport function ProcessingAnimation({\n size = 120,\n loop = true,\n autoplay = true,\n speed = 1,\n className,\n style,\n ...rest\n}: ProcessingAnimationProps) {\n const lottieRef = useRef<LottieRefCurrentProps>(null);\n const containerStyle: CSSProperties = {\n width: size,\n height: size,\n ...style,\n };\n\n useEffect(() => {\n if (lottieRef.current) {\n lottieRef.current.setSpeed(speed);\n }\n }, [speed]);\n\n return (\n <div className={className} style={containerStyle} {...rest}>\n <Lottie\n lottieRef={lottieRef}\n animationData={animationData}\n loop={loop}\n autoplay={autoplay}\n style={{ width: '100%', height: '100%' }}\n />\n </div>\n );\n}\n"]}
@@ -1,3 +1,7 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
2
- export var LoadingFallback = function () { return (_jsx("div", { className: "flex items-center justify-center w-full h-full", children: _jsx("div", { className: "n1-ww-animate-spin-slow rounded-full h-8 w-8 border-b-2 border-n1-ww-border" }) })); };
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.LoadingFallback = void 0;
4
+ var jsx_runtime_1 = require("react/jsx-runtime");
5
+ var LoadingFallback = function () { return ((0, jsx_runtime_1.jsx)("div", { className: "flex items-center justify-center w-full h-full", children: (0, jsx_runtime_1.jsx)("div", { className: "n1-ww-animate-spin-slow rounded-full h-8 w-8 border-b-2 border-n1-ww-border" }) })); };
6
+ exports.LoadingFallback = LoadingFallback;
3
7
  //# sourceMappingURL=LoadingFallback.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"LoadingFallback.js","sourceRoot":"","sources":["../../src/components/LoadingFallback.tsx"],"names":[],"mappings":";AAEA,MAAM,CAAC,IAAM,eAAe,GAAa,cAAM,OAAA,CAC7C,cAAK,SAAS,EAAC,gDAAgD,YAC7D,cAAK,SAAS,EAAC,6EAA6E,GAAO,GAC/F,CACP,EAJ8C,CAI9C,CAAC","sourcesContent":["import React from 'react';\n\nexport const LoadingFallback: React.FC = () => (\n <div className=\"flex items-center justify-center w-full h-full\">\n <div className=\"n1-ww-animate-spin-slow rounded-full h-8 w-8 border-b-2 border-n1-ww-border\"></div>\n </div>\n);\n"]}
1
+ {"version":3,"file":"LoadingFallback.js","sourceRoot":"","sources":["../../src/components/LoadingFallback.tsx"],"names":[],"mappings":";;;;AAEO,IAAM,eAAe,GAAa,cAAM,OAAA,CAC7C,gCAAK,SAAS,EAAC,gDAAgD,YAC7D,gCAAK,SAAS,EAAC,6EAA6E,GAAO,GAC/F,CACP,EAJ8C,CAI9C,CAAC;AAJW,QAAA,eAAe,mBAI1B","sourcesContent":["import React from 'react';\n\nexport const LoadingFallback: React.FC = () => (\n <div className=\"flex items-center justify-center w-full h-full\">\n <div className=\"n1-ww-animate-spin-slow rounded-full h-8 w-8 border-b-2 border-n1-ww-border\"></div>\n </div>\n);\n"]}
@@ -1,13 +1,16 @@
1
+ "use strict";
1
2
  'use client';
2
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
- export default function Logo(_a) {
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.default = Logo;
5
+ var jsx_runtime_1 = require("react/jsx-runtime");
6
+ function Logo(_a) {
4
7
  var _b = _a.size, size = _b === void 0 ? 24 : _b, _c = _a.outlined, outlined = _c === void 0 ? false : _c, _d = _a.fillOpacity, fillOpacity = _d === void 0 ? 1 : _d, className = _a.className;
5
8
  // Calculate width based on the SVG's aspect ratio (1347.5/838)
6
9
  var width = size * (1347.5 / 838);
7
10
  var wrapperClassName = className
8
11
  ? "cursor-pointer ".concat(className)
9
12
  : 'cursor-pointer text-white';
10
- return (_jsx("div", { className: wrapperClassName, style: { height: size, width: "".concat(width, "px") }, children: _jsx("svg", { xmlns: "http://www.w3.org/2000/svg", version: "1.1", viewBox: "0 0 1347.5 838", className: "h-full w-full", preserveAspectRatio: "xMidYMid meet", children: _jsxs("g", { children: [_jsxs("g", { id: "Layer_1", children: [_jsx("path", { style: {
13
+ return ((0, jsx_runtime_1.jsx)("div", { className: wrapperClassName, style: { height: size, width: "".concat(width, "px") }, children: (0, jsx_runtime_1.jsx)("svg", { xmlns: "http://www.w3.org/2000/svg", version: "1.1", viewBox: "0 0 1347.5 838", className: "h-full w-full", preserveAspectRatio: "xMidYMid meet", children: (0, jsx_runtime_1.jsxs)("g", { children: [(0, jsx_runtime_1.jsxs)("g", { id: "Layer_1", children: [(0, jsx_runtime_1.jsx)("path", { style: {
11
14
  stroke: 'currentColor',
12
15
  strokeMiterlimit: 10,
13
16
  strokeWidth: outlined || fillOpacity !== 1 ? '2px' : '0.5px',
@@ -16,7 +19,7 @@ export default function Logo(_a) {
16
19
  transition: outlined || fillOpacity !== 1
17
20
  ? 'fill-opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1)'
18
21
  : undefined,
19
- }, d: "M965.4,1497.9h-133.8v133.8h133.8v-133.8Z" }), _jsx("path", { style: {
22
+ }, d: "M965.4,1497.9h-133.8v133.8h133.8v-133.8Z" }), (0, jsx_runtime_1.jsx)("path", { style: {
20
23
  stroke: 'currentColor',
21
24
  strokeMiterlimit: 10,
22
25
  strokeWidth: outlined || fillOpacity !== 1 ? '2px' : '0.5px',
@@ -25,7 +28,7 @@ export default function Logo(_a) {
25
28
  transition: outlined || fillOpacity !== 1
26
29
  ? 'fill-opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1)'
27
30
  : undefined,
28
- }, d: "M394.9,1497.9h-126.3l-134.9,134.9v435.7h134.9v-435.7h70.4l435.7,435.7h190.7l-435.7-435.7-134.9-134.9Z" }), _jsx("path", { style: {
31
+ }, d: "M394.9,1497.9h-126.3l-134.9,134.9v435.7h134.9v-435.7h70.4l435.7,435.7h190.7l-435.7-435.7-134.9-134.9Z" }), (0, jsx_runtime_1.jsx)("path", { style: {
29
32
  stroke: 'currentColor',
30
33
  strokeMiterlimit: 10,
31
34
  strokeWidth: outlined || fillOpacity !== 1 ? '2px' : '0.5px',
@@ -34,7 +37,7 @@ export default function Logo(_a) {
34
37
  transition: outlined || fillOpacity !== 1
35
38
  ? 'fill-opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1)'
36
39
  : undefined,
37
- }, d: "M1078.9,1632.8v435.7h134.9v-570.5l-134.9,134.9Z" }), _jsx("rect", { style: {
40
+ }, d: "M1078.9,1632.8v435.7h134.9v-570.5l-134.9,134.9Z" }), (0, jsx_runtime_1.jsx)("rect", { style: {
38
41
  stroke: 'currentColor',
39
42
  strokeMiterlimit: 10,
40
43
  strokeWidth: outlined || fillOpacity !== 1 ? '2px' : '0.5px',
@@ -43,7 +46,7 @@ export default function Logo(_a) {
43
46
  transition: outlined || fillOpacity !== 1
44
47
  ? 'fill-opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1)'
45
48
  : undefined,
46
- }, x: "831.7", y: "133.8", width: "133.8", height: "133.8" }), _jsx("polygon", { style: {
49
+ }, x: "831.7", y: "133.8", width: "133.8", height: "133.8" }), (0, jsx_runtime_1.jsx)("polygon", { style: {
47
50
  stroke: 'currentColor',
48
51
  strokeMiterlimit: 10,
49
52
  strokeWidth: outlined || fillOpacity !== 1 ? '2px' : '0.5px',
@@ -52,7 +55,7 @@ export default function Logo(_a) {
52
55
  transition: outlined || fillOpacity !== 1
53
56
  ? 'fill-opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1)'
54
57
  : undefined,
55
- }, points: "394.9 133.8 268.6 133.8 133.8 268.6 133.8 704.3 268.6 704.3 268.6 268.6 339 268.6 774.7 704.3 965.4 704.3 529.8 268.6 394.9 133.8" }), _jsx("polygon", { style: {
58
+ }, points: "394.9 133.8 268.6 133.8 133.8 268.6 133.8 704.3 268.6 704.3 268.6 268.6 339 268.6 774.7 704.3 965.4 704.3 529.8 268.6 394.9 133.8" }), (0, jsx_runtime_1.jsx)("polygon", { style: {
56
59
  stroke: 'currentColor',
57
60
  strokeMiterlimit: 10,
58
61
  strokeWidth: outlined || fillOpacity !== 1 ? '2px' : '0.5px',
@@ -61,59 +64,59 @@ export default function Logo(_a) {
61
64
  transition: outlined || fillOpacity !== 1
62
65
  ? 'fill-opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1)'
63
66
  : undefined,
64
- }, points: "1078.9 268.6 1078.9 704.3 1213.8 704.3 1213.8 268.6 1213.8 198.2 1213.8 133.8 1078.9 268.6" })] }), _jsxs("g", { id: "Gridlines", children: [_jsx("line", { style: {
67
+ }, points: "1078.9 268.6 1078.9 704.3 1213.8 704.3 1213.8 268.6 1213.8 198.2 1213.8 133.8 1078.9 268.6" })] }), (0, jsx_runtime_1.jsxs)("g", { id: "Gridlines", children: [(0, jsx_runtime_1.jsx)("line", { style: {
65
68
  stroke: 'currentColor',
66
69
  strokeMiterlimit: 10,
67
70
  strokeWidth: '0.5px',
68
- }, x1: "965.4", y1: "1232", x2: "965.4", y2: "2334.3" }), _jsx("line", { style: {
71
+ }, x1: "965.4", y1: "1232", x2: "965.4", y2: "2334.3" }), (0, jsx_runtime_1.jsx)("line", { style: {
69
72
  stroke: 'currentColor',
70
73
  strokeMiterlimit: 10,
71
74
  strokeWidth: '0.5px',
72
- }, x1: "-359.4", y1: "1631.7", x2: "1707.2", y2: "1631.7" }), _jsx("line", { style: {
75
+ }, x1: "-359.4", y1: "1631.7", x2: "1707.2", y2: "1631.7" }), (0, jsx_runtime_1.jsx)("line", { style: {
73
76
  stroke: 'currentColor',
74
77
  strokeMiterlimit: 10,
75
78
  strokeWidth: '0.5px',
76
- }, x1: "831.7", y1: "1232", x2: "831.7", y2: "2334.3" }), _jsx("line", { style: {
79
+ }, x1: "831.7", y1: "1232", x2: "831.7", y2: "2334.3" }), (0, jsx_runtime_1.jsx)("line", { style: {
77
80
  stroke: 'currentColor',
78
81
  strokeMiterlimit: 10,
79
82
  strokeWidth: '0.5px',
80
- }, x1: "129", y1: "1232", x2: "1231.2", y2: "2334.3" }), _jsx("line", { style: {
83
+ }, x1: "129", y1: "1232", x2: "1231.2", y2: "2334.3" }), (0, jsx_runtime_1.jsx)("line", { style: {
81
84
  stroke: 'currentColor',
82
85
  strokeMiterlimit: 10,
83
86
  strokeWidth: '0.5px',
84
- }, x1: "-61.7", y1: "1232", x2: "1040.5", y2: "2334.3" }), _jsx("line", { style: {
87
+ }, x1: "-61.7", y1: "1232", x2: "1040.5", y2: "2334.3" }), (0, jsx_runtime_1.jsx)("line", { style: {
85
88
  stroke: 'currentColor',
86
89
  strokeMiterlimit: 10,
87
90
  strokeWidth: '0.5px',
88
- }, x1: "-359.4", y1: "1632.8", x2: "1707.2", y2: "1632.8" }), _jsx("line", { style: {
91
+ }, x1: "-359.4", y1: "1632.8", x2: "1707.2", y2: "1632.8" }), (0, jsx_runtime_1.jsx)("line", { style: {
89
92
  stroke: 'currentColor',
90
93
  strokeMiterlimit: 10,
91
94
  strokeWidth: '0.5px',
92
- }, x1: "268.6", y1: "1232", x2: "268.6", y2: "2334.3" }), _jsx("line", { style: {
95
+ }, x1: "268.6", y1: "1232", x2: "268.6", y2: "2334.3" }), (0, jsx_runtime_1.jsx)("line", { style: {
93
96
  stroke: 'currentColor',
94
97
  strokeMiterlimit: 10,
95
98
  strokeWidth: '0.5px',
96
- }, x1: "133.8", y1: "1232", x2: "133.8", y2: "2334.3" }), _jsx("line", { style: {
99
+ }, x1: "133.8", y1: "1232", x2: "133.8", y2: "2334.3" }), (0, jsx_runtime_1.jsx)("line", { style: {
97
100
  stroke: 'currentColor',
98
101
  strokeMiterlimit: 10,
99
102
  strokeWidth: '0.5px',
100
- }, x1: "534.5", y1: "1232", x2: "-359.4", y2: "2126" }), _jsx("line", { style: {
103
+ }, x1: "534.5", y1: "1232", x2: "-359.4", y2: "2126" }), (0, jsx_runtime_1.jsx)("line", { style: {
101
104
  stroke: 'currentColor',
102
105
  strokeMiterlimit: 10,
103
106
  strokeWidth: '0.5px',
104
- }, x1: "-359.4", y1: "1497.9", x2: "1707.2", y2: "1497.9" }), _jsx("line", { style: {
107
+ }, x1: "-359.4", y1: "1497.9", x2: "1707.2", y2: "1497.9" }), (0, jsx_runtime_1.jsx)("line", { style: {
105
108
  stroke: 'currentColor',
106
109
  strokeMiterlimit: 10,
107
110
  strokeWidth: '0.5px',
108
- }, x1: "1479.7", y1: "1232", x2: "377.4", y2: "2334.3" }), _jsx("line", { style: {
111
+ }, x1: "1479.7", y1: "1232", x2: "377.4", y2: "2334.3" }), (0, jsx_runtime_1.jsx)("line", { style: {
109
112
  stroke: 'currentColor',
110
113
  strokeMiterlimit: 10,
111
114
  strokeWidth: '0.5px',
112
- }, x1: "1213.8", y1: "1232", x2: "1213.8", y2: "2334.3" }), _jsx("line", { style: {
115
+ }, x1: "1213.8", y1: "1232", x2: "1213.8", y2: "2334.3" }), (0, jsx_runtime_1.jsx)("line", { style: {
113
116
  stroke: 'currentColor',
114
117
  strokeMiterlimit: 10,
115
118
  strokeWidth: '0.5px',
116
- }, x1: "-359.4", y1: "2068.5", x2: "1707.2", y2: "2068.5" }), _jsx("line", { style: {
119
+ }, x1: "-359.4", y1: "2068.5", x2: "1707.2", y2: "2068.5" }), (0, jsx_runtime_1.jsx)("line", { style: {
117
120
  stroke: 'currentColor',
118
121
  strokeMiterlimit: 10,
119
122
  strokeWidth: '0.5px',
@@ -1 +1 @@
1
- {"version":3,"file":"Logo.js","sourceRoot":"","sources":["../../src/components/Logo.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAUb,MAAM,CAAC,OAAO,UAAU,IAAI,CAAC,EAKjB;QAJV,YAAS,EAAT,IAAI,mBAAG,EAAE,KAAA,EACT,gBAAgB,EAAhB,QAAQ,mBAAG,KAAK,KAAA,EAChB,mBAAe,EAAf,WAAW,mBAAG,CAAC,KAAA,EACf,SAAS,eAAA;IAET,+DAA+D;IAC/D,IAAM,KAAK,GAAG,IAAI,GAAG,CAAC,MAAM,GAAG,GAAG,CAAC,CAAC;IACpC,IAAM,gBAAgB,GAAG,SAAS;QAChC,CAAC,CAAC,yBAAkB,SAAS,CAAE;QAC/B,CAAC,CAAC,2BAA2B,CAAC;IAEhC,OAAO,CACL,cACE,SAAS,EAAE,gBAAgB,EAC3B,KAAK,EAAE,EAAE,MAAM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EACX,EAAE,EAAC,MAAM,GACT,EACF,eACE,KAAK,EAAE;oCACL,MAAM,EAAE,cAAc;oCACtB,gBAAgB,EAAE,EAAE;oCACpB,WAAW,EAAE,OAAO;iCACrB,EACD,EAAE,EAAC,QAAQ,EACX,EAAE,EAAC,QAAQ,EACX,EAAE,EAAC,QAAQ,EACX,EAAE,EAAC,QAAQ,GACX,EACF,eACE,KAAK,EAAE;oCACL,MAAM,EAAE,cAAc;oCACtB,gBAAgB,EAAE,EAAE;oCACpB,WAAW,EAAE,OAAO;iCACrB,EACD,EAAE,EAAC,QAAQ,EACX,EAAE,EAAC,MAAM,EACT,EAAE,EAAC,OAAO,EACV,EAAE,EAAC,QAAQ,GACX,EACF,eACE,KAAK,EAAE;oCACL,MAAM,EAAE,cAAc;oCACtB,gBAAgB,EAAE,EAAE;oCACpB,WAAW,EAAE,OAAO;iCACrB,EACD,EAAE,EAAC,QAAQ,EACX,EAAE,EAAC,MAAM,EACT,EAAE,EAAC,QAAQ,EACX,EAAE,EAAC,QAAQ,GACX,EACF,eACE,KAAK,EAAE;oCACL,MAAM,EAAE,cAAc;oCACtB,gBAAgB,EAAE,EAAE;oCACpB,WAAW,EAAE,OAAO;iCACrB,EACD,EAAE,EAAC,QAAQ,EACX,EAAE,EAAC,QAAQ,EACX,EAAE,EAAC,QAAQ,EACX,EAAE,EAAC,QAAQ,GACX,EACF,eACE,KAAK,EAAE;oCACL,MAAM,EAAE,cAAc;oCACtB,gBAAgB,EAAE,EAAE;oCACpB,WAAW,EAAE,OAAO;iCACrB,EACD,EAAE,EAAC,QAAQ,EACX,EAAE,EAAC,MAAM,EACT,EAAE,EAAC,QAAQ,EACX,EAAE,EAAC,QAAQ,GACX,IACA,IACF,GACA,GACF,CACP,CAAC;AACJ,CAAC","sourcesContent":["'use client';\n\n\ninterface LogoProps {\n size?: number;\n outlined?: boolean;\n fillOpacity?: number;\n className?: string;\n}\n\nexport default function Logo({\n size = 24,\n outlined = false,\n fillOpacity = 1,\n className,\n}: LogoProps) {\n // Calculate width based on the SVG's aspect ratio (1347.5/838)\n const width = size * (1347.5 / 838);\n const wrapperClassName = className\n ? `cursor-pointer ${className}`\n : 'cursor-pointer text-white';\n\n return (\n <div\n className={wrapperClassName}\n style={{ height: size, width: `${width}px` }}\n >\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n version=\"1.1\"\n viewBox=\"0 0 1347.5 838\"\n className=\"h-full w-full\"\n preserveAspectRatio=\"xMidYMid meet\"\n >\n <g>\n <g id=\"Layer_1\">\n <path\n style={{\n stroke: 'currentColor',\n strokeMiterlimit: 10,\n strokeWidth: outlined || fillOpacity !== 1 ? '2px' : '0.5px',\n fill: outlined ? 'none' : 'currentColor',\n fillOpacity: outlined ? 0 : fillOpacity,\n transition:\n outlined || fillOpacity !== 1\n ? 'fill-opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1)'\n : undefined,\n }}\n d=\"M965.4,1497.9h-133.8v133.8h133.8v-133.8Z\"\n />\n <path\n style={{\n stroke: 'currentColor',\n strokeMiterlimit: 10,\n strokeWidth: outlined || fillOpacity !== 1 ? '2px' : '0.5px',\n fill: outlined ? 'none' : 'currentColor',\n fillOpacity: outlined ? 0 : fillOpacity,\n transition:\n outlined || fillOpacity !== 1\n ? 'fill-opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1)'\n : undefined,\n }}\n d=\"M394.9,1497.9h-126.3l-134.9,134.9v435.7h134.9v-435.7h70.4l435.7,435.7h190.7l-435.7-435.7-134.9-134.9Z\"\n />\n <path\n style={{\n stroke: 'currentColor',\n strokeMiterlimit: 10,\n strokeWidth: outlined || fillOpacity !== 1 ? '2px' : '0.5px',\n fill: outlined ? 'none' : 'currentColor',\n fillOpacity: outlined ? 0 : fillOpacity,\n transition:\n outlined || fillOpacity !== 1\n ? 'fill-opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1)'\n : undefined,\n }}\n d=\"M1078.9,1632.8v435.7h134.9v-570.5l-134.9,134.9Z\"\n />\n <rect\n style={{\n stroke: 'currentColor',\n strokeMiterlimit: 10,\n strokeWidth: outlined || fillOpacity !== 1 ? '2px' : '0.5px',\n fill: outlined ? 'none' : 'currentColor',\n fillOpacity: outlined ? 0 : fillOpacity,\n transition:\n outlined || fillOpacity !== 1\n ? 'fill-opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1)'\n : undefined,\n }}\n x=\"831.7\"\n y=\"133.8\"\n width=\"133.8\"\n height=\"133.8\"\n />\n <polygon\n style={{\n stroke: 'currentColor',\n strokeMiterlimit: 10,\n strokeWidth: outlined || fillOpacity !== 1 ? '2px' : '0.5px',\n fill: outlined ? 'none' : 'currentColor',\n fillOpacity: outlined ? 0 : fillOpacity,\n transition:\n outlined || fillOpacity !== 1\n ? 'fill-opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1)'\n : undefined,\n }}\n points=\"394.9 133.8 268.6 133.8 133.8 268.6 133.8 704.3 268.6 704.3 268.6 268.6 339 268.6 774.7 704.3 965.4 704.3 529.8 268.6 394.9 133.8\"\n />\n <polygon\n style={{\n stroke: 'currentColor',\n strokeMiterlimit: 10,\n strokeWidth: outlined || fillOpacity !== 1 ? '2px' : '0.5px',\n fill: outlined ? 'none' : 'currentColor',\n fillOpacity: outlined ? 0 : fillOpacity,\n transition:\n outlined || fillOpacity !== 1\n ? 'fill-opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1)'\n : undefined,\n }}\n points=\"1078.9 268.6 1078.9 704.3 1213.8 704.3 1213.8 268.6 1213.8 198.2 1213.8 133.8 1078.9 268.6\"\n />\n </g>\n <g id=\"Gridlines\">\n <line\n style={{\n stroke: 'currentColor',\n strokeMiterlimit: 10,\n strokeWidth: '0.5px',\n }}\n x1=\"965.4\"\n y1=\"1232\"\n x2=\"965.4\"\n y2=\"2334.3\"\n />\n <line\n style={{\n stroke: 'currentColor',\n strokeMiterlimit: 10,\n strokeWidth: '0.5px',\n }}\n x1=\"-359.4\"\n y1=\"1631.7\"\n x2=\"1707.2\"\n y2=\"1631.7\"\n />\n <line\n style={{\n stroke: 'currentColor',\n strokeMiterlimit: 10,\n strokeWidth: '0.5px',\n }}\n x1=\"831.7\"\n y1=\"1232\"\n x2=\"831.7\"\n y2=\"2334.3\"\n />\n <line\n style={{\n stroke: 'currentColor',\n strokeMiterlimit: 10,\n strokeWidth: '0.5px',\n }}\n x1=\"129\"\n y1=\"1232\"\n x2=\"1231.2\"\n y2=\"2334.3\"\n />\n <line\n style={{\n stroke: 'currentColor',\n strokeMiterlimit: 10,\n strokeWidth: '0.5px',\n }}\n x1=\"-61.7\"\n y1=\"1232\"\n x2=\"1040.5\"\n y2=\"2334.3\"\n />\n <line\n style={{\n stroke: 'currentColor',\n strokeMiterlimit: 10,\n strokeWidth: '0.5px',\n }}\n x1=\"-359.4\"\n y1=\"1632.8\"\n x2=\"1707.2\"\n y2=\"1632.8\"\n />\n <line\n style={{\n stroke: 'currentColor',\n strokeMiterlimit: 10,\n strokeWidth: '0.5px',\n }}\n x1=\"268.6\"\n y1=\"1232\"\n x2=\"268.6\"\n y2=\"2334.3\"\n />\n <line\n style={{\n stroke: 'currentColor',\n strokeMiterlimit: 10,\n strokeWidth: '0.5px',\n }}\n x1=\"133.8\"\n y1=\"1232\"\n x2=\"133.8\"\n y2=\"2334.3\"\n />\n <line\n style={{\n stroke: 'currentColor',\n strokeMiterlimit: 10,\n strokeWidth: '0.5px',\n }}\n x1=\"534.5\"\n y1=\"1232\"\n x2=\"-359.4\"\n y2=\"2126\"\n />\n <line\n style={{\n stroke: 'currentColor',\n strokeMiterlimit: 10,\n strokeWidth: '0.5px',\n }}\n x1=\"-359.4\"\n y1=\"1497.9\"\n x2=\"1707.2\"\n y2=\"1497.9\"\n />\n <line\n style={{\n stroke: 'currentColor',\n strokeMiterlimit: 10,\n strokeWidth: '0.5px',\n }}\n x1=\"1479.7\"\n y1=\"1232\"\n x2=\"377.4\"\n y2=\"2334.3\"\n />\n <line\n style={{\n stroke: 'currentColor',\n strokeMiterlimit: 10,\n strokeWidth: '0.5px',\n }}\n x1=\"1213.8\"\n y1=\"1232\"\n x2=\"1213.8\"\n y2=\"2334.3\"\n />\n <line\n style={{\n stroke: 'currentColor',\n strokeMiterlimit: 10,\n strokeWidth: '0.5px',\n }}\n x1=\"-359.4\"\n y1=\"2068.5\"\n x2=\"1707.2\"\n y2=\"2068.5\"\n />\n <line\n style={{\n stroke: 'currentColor',\n strokeMiterlimit: 10,\n strokeWidth: '0.5px',\n }}\n x1=\"1078.9\"\n y1=\"1232\"\n x2=\"1078.9\"\n y2=\"2334.3\"\n />\n </g>\n </g>\n </svg>\n </div>\n );\n}\n"]}
1
+ {"version":3,"file":"Logo.js","sourceRoot":"","sources":["../../src/components/Logo.tsx"],"names":[],"mappings":";AAAA,YAAY,CAAC;;AAUb,uBAkRC;;AAlRD,SAAwB,IAAI,CAAC,EAKjB;QAJV,YAAS,EAAT,IAAI,mBAAG,EAAE,KAAA,EACT,gBAAgB,EAAhB,QAAQ,mBAAG,KAAK,KAAA,EAChB,mBAAe,EAAf,WAAW,mBAAG,CAAC,KAAA,EACf,SAAS,eAAA;IAET,+DAA+D;IAC/D,IAAM,KAAK,GAAG,IAAI,GAAG,CAAC,MAAM,GAAG,GAAG,CAAC,CAAC;IACpC,IAAM,gBAAgB,GAAG,SAAS;QAChC,CAAC,CAAC,yBAAkB,SAAS,CAAE;QAC/B,CAAC,CAAC,2BAA2B,CAAC;IAEhC,OAAO,CACL,gCACE,SAAS,EAAE,gBAAgB,EAC3B,KAAK,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,KAAK,EAAE,UAAG,KAAK,OAAI,EAAE,YAE5C,gCACE,KAAK,EAAC,4BAA4B,EAClC,OAAO,EAAC,KAAK,EACb,OAAO,EAAC,gBAAgB,EACxB,SAAS,EAAC,eAAe,EACzB,mBAAmB,EAAC,eAAe,YAEnC,0CACE,+BAAG,EAAE,EAAC,SAAS,aACb,iCACE,KAAK,EAAE;oCACL,MAAM,EAAE,cAAc;oCACtB,gBAAg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M,EAAE,cAAc;oCACtB,gBAAgB,EAAE,EAAE;oCACpB,WAAW,EAAE,OAAO;iCACrB,EACD,EAAE,EAAC,QAAQ,EACX,EAAE,EAAC,MAAM,EACT,EAAE,EAAC,OAAO,EACV,EAAE,EAAC,QAAQ,GACX,EACF,iCACE,KAAK,EAAE;oCACL,MAAM,EAAE,cAAc;oCACtB,gBAAgB,EAAE,EAAE;oCACpB,WAAW,EAAE,OAAO;iCACrB,EACD,EAAE,EAAC,QAAQ,EACX,EAAE,EAAC,MAAM,EACT,EAAE,EAAC,QAAQ,EACX,EAAE,EAAC,QAAQ,GACX,EACF,iCACE,KAAK,EAAE;oCACL,MAAM,EAAE,cAAc;oCACtB,gBAAgB,EAAE,EAAE;oCACpB,WAAW,EAAE,OAAO;iCACrB,EACD,EAAE,EAAC,QAAQ,EACX,EAAE,EAAC,QAAQ,EACX,EAAE,EAAC,QAAQ,EACX,EAAE,EAAC,QAAQ,GACX,EACF,iCACE,KAAK,EAAE;oCACL,MAAM,EAAE,cAAc;oCACtB,gBAAgB,EAAE,EAAE;oCACpB,WAAW,EAAE,OAAO;iCACrB,EACD,EAAE,EAAC,QAAQ,EACX,EAAE,EAAC,MAAM,EACT,EAAE,EAAC,QAAQ,EACX,EAAE,EAAC,QAAQ,GACX,IACA,IACF,GACA,GACF,CACP,CAAC;AACJ,CAAC","sourcesContent":["'use client';\n\n\ninterface LogoProps {\n size?: number;\n outlined?: boolean;\n fillOpacity?: number;\n className?: string;\n}\n\nexport default function Logo({\n size = 24,\n outlined = false,\n fillOpacity = 1,\n className,\n}: LogoProps) {\n // Calculate width based on the SVG's aspect ratio (1347.5/838)\n const width = size * (1347.5 / 838);\n const wrapperClassName = className\n ? `cursor-pointer ${className}`\n : 'cursor-pointer text-white';\n\n return (\n <div\n className={wrapperClassName}\n style={{ height: size, width: `${width}px` }}\n >\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n version=\"1.1\"\n viewBox=\"0 0 1347.5 838\"\n className=\"h-full w-full\"\n preserveAspectRatio=\"xMidYMid meet\"\n >\n <g>\n <g id=\"Layer_1\">\n <path\n style={{\n stroke: 'currentColor',\n strokeMiterlimit: 10,\n strokeWidth: outlined || fillOpacity !== 1 ? '2px' : '0.5px',\n fill: outlined ? 'none' : 'currentColor',\n fillOpacity: outlined ? 0 : fillOpacity,\n transition:\n outlined || fillOpacity !== 1\n ? 'fill-opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1)'\n : undefined,\n }}\n d=\"M965.4,1497.9h-133.8v133.8h133.8v-133.8Z\"\n />\n <path\n style={{\n stroke: 'currentColor',\n strokeMiterlimit: 10,\n strokeWidth: outlined || fillOpacity !== 1 ? '2px' : '0.5px',\n fill: outlined ? 'none' : 'currentColor',\n fillOpacity: outlined ? 0 : fillOpacity,\n transition:\n outlined || fillOpacity !== 1\n ? 'fill-opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1)'\n : undefined,\n }}\n d=\"M394.9,1497.9h-126.3l-134.9,134.9v435.7h134.9v-435.7h70.4l435.7,435.7h190.7l-435.7-435.7-134.9-134.9Z\"\n />\n <path\n style={{\n stroke: 'currentColor',\n strokeMiterlimit: 10,\n strokeWidth: outlined || fillOpacity !== 1 ? '2px' : '0.5px',\n fill: outlined ? 'none' : 'currentColor',\n fillOpacity: outlined ? 0 : fillOpacity,\n transition:\n outlined || fillOpacity !== 1\n ? 'fill-opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1)'\n : undefined,\n }}\n d=\"M1078.9,1632.8v435.7h134.9v-570.5l-134.9,134.9Z\"\n />\n <rect\n style={{\n stroke: 'currentColor',\n strokeMiterlimit: 10,\n strokeWidth: outlined || fillOpacity !== 1 ? '2px' : '0.5px',\n fill: outlined ? 'none' : 'currentColor',\n fillOpacity: outlined ? 0 : fillOpacity,\n transition:\n outlined || fillOpacity !== 1\n ? 'fill-opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1)'\n : undefined,\n }}\n x=\"831.7\"\n y=\"133.8\"\n width=\"133.8\"\n height=\"133.8\"\n />\n <polygon\n style={{\n stroke: 'currentColor',\n strokeMiterlimit: 10,\n strokeWidth: outlined || fillOpacity !== 1 ? '2px' : '0.5px',\n fill: outlined ? 'none' : 'currentColor',\n fillOpacity: outlined ? 0 : fillOpacity,\n transition:\n outlined || fillOpacity !== 1\n ? 'fill-opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1)'\n : undefined,\n }}\n points=\"394.9 133.8 268.6 133.8 133.8 268.6 133.8 704.3 268.6 704.3 268.6 268.6 339 268.6 774.7 704.3 965.4 704.3 529.8 268.6 394.9 133.8\"\n />\n <polygon\n style={{\n stroke: 'currentColor',\n strokeMiterlimit: 10,\n strokeWidth: outlined || fillOpacity !== 1 ? '2px' : '0.5px',\n fill: outlined ? 'none' : 'currentColor',\n fillOpacity: outlined ? 0 : fillOpacity,\n transition:\n outlined || fillOpacity !== 1\n ? 'fill-opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1)'\n : undefined,\n }}\n points=\"1078.9 268.6 1078.9 704.3 1213.8 704.3 1213.8 268.6 1213.8 198.2 1213.8 133.8 1078.9 268.6\"\n />\n </g>\n <g id=\"Gridlines\">\n <line\n style={{\n stroke: 'currentColor',\n strokeMiterlimit: 10,\n strokeWidth: '0.5px',\n }}\n x1=\"965.4\"\n y1=\"1232\"\n x2=\"965.4\"\n y2=\"2334.3\"\n />\n <line\n style={{\n stroke: 'currentColor',\n strokeMiterlimit: 10,\n strokeWidth: '0.5px',\n }}\n x1=\"-359.4\"\n y1=\"1631.7\"\n x2=\"1707.2\"\n y2=\"1631.7\"\n />\n <line\n style={{\n stroke: 'currentColor',\n strokeMiterlimit: 10,\n strokeWidth: '0.5px',\n }}\n x1=\"831.7\"\n y1=\"1232\"\n x2=\"831.7\"\n y2=\"2334.3\"\n />\n <line\n style={{\n stroke: 'currentColor',\n strokeMiterlimit: 10,\n strokeWidth: '0.5px',\n }}\n x1=\"129\"\n y1=\"1232\"\n x2=\"1231.2\"\n y2=\"2334.3\"\n />\n <line\n style={{\n stroke: 'currentColor',\n strokeMiterlimit: 10,\n strokeWidth: '0.5px',\n }}\n x1=\"-61.7\"\n y1=\"1232\"\n x2=\"1040.5\"\n y2=\"2334.3\"\n />\n <line\n style={{\n stroke: 'currentColor',\n strokeMiterlimit: 10,\n strokeWidth: '0.5px',\n }}\n x1=\"-359.4\"\n y1=\"1632.8\"\n x2=\"1707.2\"\n y2=\"1632.8\"\n />\n <line\n style={{\n stroke: 'currentColor',\n strokeMiterlimit: 10,\n strokeWidth: '0.5px',\n }}\n x1=\"268.6\"\n y1=\"1232\"\n x2=\"268.6\"\n y2=\"2334.3\"\n />\n <line\n style={{\n stroke: 'currentColor',\n strokeMiterlimit: 10,\n strokeWidth: '0.5px',\n }}\n x1=\"133.8\"\n y1=\"1232\"\n x2=\"133.8\"\n y2=\"2334.3\"\n />\n <line\n style={{\n stroke: 'currentColor',\n strokeMiterlimit: 10,\n strokeWidth: '0.5px',\n }}\n x1=\"534.5\"\n y1=\"1232\"\n x2=\"-359.4\"\n y2=\"2126\"\n />\n <line\n style={{\n stroke: 'currentColor',\n strokeMiterlimit: 10,\n strokeWidth: '0.5px',\n }}\n x1=\"-359.4\"\n y1=\"1497.9\"\n x2=\"1707.2\"\n y2=\"1497.9\"\n />\n <line\n style={{\n stroke: 'currentColor',\n strokeMiterlimit: 10,\n strokeWidth: '0.5px',\n }}\n x1=\"1479.7\"\n y1=\"1232\"\n x2=\"377.4\"\n y2=\"2334.3\"\n />\n <line\n style={{\n stroke: 'currentColor',\n strokeMiterlimit: 10,\n strokeWidth: '0.5px',\n }}\n x1=\"1213.8\"\n y1=\"1232\"\n x2=\"1213.8\"\n y2=\"2334.3\"\n />\n <line\n style={{\n stroke: 'currentColor',\n strokeMiterlimit: 10,\n strokeWidth: '0.5px',\n }}\n x1=\"-359.4\"\n y1=\"2068.5\"\n x2=\"1707.2\"\n y2=\"2068.5\"\n />\n <line\n style={{\n stroke: 'currentColor',\n strokeMiterlimit: 10,\n strokeWidth: '0.5px',\n }}\n x1=\"1078.9\"\n y1=\"1232\"\n x2=\"1078.9\"\n y2=\"2334.3\"\n />\n </g>\n </g>\n </svg>\n </div>\n );\n}\n"]}
@@ -1,20 +1,26 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import BlockiesSvg from 'blockies-react-svg';
3
- import { useEffect, useState } from 'react';
4
- import { useN1WalletContext, useN1WalletInternalContext, } from '../hooks';
5
- import { ShadowRootWrapper } from '../providers/ShadowRootWrapper';
6
- import mainCss from '../styles/embedded-main-css';
7
- export function N1ConnectButton(_props) {
8
- var _a = useN1WalletContext(), isConnected = _a.isConnected, setShowLogin = _a.setShowLogin, address = _a.address;
9
- var _b = useState(false), toOpen = _b[0], setToOpen = _b[1];
10
- var _c = useN1WalletInternalContext(), loading = _c.loading, startClosingLogin = _c.startClosingLogin;
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.N1ConnectButton = N1ConnectButton;
7
+ var jsx_runtime_1 = require("react/jsx-runtime");
8
+ var blockies_react_svg_1 = __importDefault(require("blockies-react-svg"));
9
+ var react_1 = require("react");
10
+ var hooks_1 = require("../hooks");
11
+ var ShadowRootWrapper_1 = require("../providers/ShadowRootWrapper");
12
+ var embedded_main_css_1 = __importDefault(require("../styles/embedded-main-css"));
13
+ function N1ConnectButton(_props) {
14
+ var _a = (0, hooks_1.useN1WalletContext)(), isConnected = _a.isConnected, setShowLogin = _a.setShowLogin, address = _a.address;
15
+ var _b = (0, react_1.useState)(false), toOpen = _b[0], setToOpen = _b[1];
16
+ var _c = (0, hooks_1.useN1WalletInternalContext)(), loading = _c.loading, startClosingLogin = _c.startClosingLogin;
11
17
  var addressText = isConnected
12
18
  ? "".concat(address.substring(0, 6), "...").concat(address.slice(-4))
13
19
  : '';
14
20
  var showLoginFn = function () {
15
21
  setShowLogin(true);
16
22
  };
17
- useEffect(function () {
23
+ (0, react_1.useEffect)(function () {
18
24
  if (!loading && toOpen) {
19
25
  showLoginFn();
20
26
  setToOpen(false);
@@ -44,6 +50,6 @@ export function N1ConnectButton(_props) {
44
50
  console.debug('[N1ConnectButton] opening modal via connect button');
45
51
  showLoginFn();
46
52
  };
47
- return (_jsx(ShadowRootWrapper, { injectedCss: mainCss + injectedCss, children: _jsx("div", { className: "n1-wallet-widget dark", children: _jsxs("button", { type: "button", className: buttonClass, onClick: handleClick, "aria-busy": loading && !isConnected, children: [isConnected && (_jsx("span", { className: "flex h-5 w-5 items-center justify-center rounded-full bg-white", children: _jsx(BlockiesSvg, { address: address, className: "h-4 w-4 rounded-full" }) })), _jsx("span", { children: renderLabel() })] }) }) }));
53
+ return ((0, jsx_runtime_1.jsx)(ShadowRootWrapper_1.ShadowRootWrapper, { injectedCss: embedded_main_css_1.default + injectedCss, children: (0, jsx_runtime_1.jsx)("div", { className: "n1-wallet-widget dark", children: (0, jsx_runtime_1.jsxs)("button", { type: "button", className: buttonClass, onClick: handleClick, "aria-busy": loading && !isConnected, children: [isConnected && ((0, jsx_runtime_1.jsx)("span", { className: "flex h-5 w-5 items-center justify-center rounded-full bg-white", children: (0, jsx_runtime_1.jsx)(blockies_react_svg_1.default, { address: address, className: "h-4 w-4 rounded-full" }) })), (0, jsx_runtime_1.jsx)("span", { children: renderLabel() })] }) }) }));
48
54
  }
49
55
  //# sourceMappingURL=N1ConnectButton.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"N1ConnectButton.js","sourceRoot":"","sources":["../../src/components/N1ConnectButton.tsx"],"names":[],"mappings":";AAAA,OAAO,WAAW,MAAM,oBAAoB,CAAC;AAC7C,OAAc,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,EACL,kBAAkB,EAClB,0BAA0B,GAC3B,MAAM,UAAU,CAAC;AAClB,OAAO,EAAE,iBAAiB,EAAE,MAAM,g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IAAI,CAAC,WAAW,EAAE,CAAC;YAC5B,SAAS,CAAC,IAAI,CAAC,CAAC;YAChB,OAAO,CAAC,KAAK,CAAC,0DAA0D,CAAC,CAAC;YAC1E,OAAO;QACT,CAAC;QAED,IAAI,WAAW;YAAE,OAAO;QAExB,OAAO,CAAC,KAAK,CAAC,oDAAoD,CAAC,CAAC;QACpE,WAAW,EAAE,CAAC;IAChB,CAAC,CAAC;IAEF,OAAO,CACL,KAAC,iBAAiB,IAAC,WAAW,EAAE,OAAO,GAAG,WAAW,YACnD,cAAK,SAAS,EAAC,uBAAuB,YACpC,kBACE,IAAI,EAAC,QAAQ,EACb,SAAS,EAAE,WAAW,EACtB,OAAO,EAAE,WAAW,eACT,OAAO,IAAI,CAAC,WAAW,aAEjC,WAAW,IAAI,CACd,eAAM,SAAS,EAAC,gEAAgE,YAC9E,KAAC,WAAW,IACV,OAAO,EAAE,OAAO,EAChB,SAAS,EAAC,sBAAsB,GAChC,GACG,CACR,EACD,yBAAO,WAAW,EAAE,GAAQ,IACrB,GACL,GACY,CACrB,CAAC;AACJ,CAAC","sourcesContent":["import BlockiesSvg from 'blockies-react-svg';\nimport React, { useEffect, useState } from 'react';\nimport {\n useN1WalletContext,\n useN1WalletInternalContext,\n} from '../hooks';\nimport { ShadowRootWrapper } from '../providers/ShadowRootWrapper';\nimport mainCss from '../styles/embedded-main-css';\n\nexport function N1ConnectButton(_props: {\n label: string;\n children?: React.ReactNode;\n}) {\n const { isConnected, setShowLogin, address } = useN1WalletContext();\n const [toOpen, setToOpen] = useState(false);\n const { loading, startClosingLogin } = useN1WalletInternalContext();\n const addressText = isConnected\n ? `${address.substring(0, 6)}...${address.slice(-4)}`\n : '';\n\n const showLoginFn = () => {\n setShowLogin(true);\n };\n\n useEffect(() => {\n if (!loading && toOpen) {\n showLoginFn();\n setToOpen(false);\n }\n }, [loading]);\n\n const buttonClass =\n 'inline-flex w-full items-center justify-center gap-2 rounded-full border border-n1-ww-border bg-black px-4 py-2 text-xs font-semibold uppercase tracking-wide text-white transition-colors duration-200 hover:bg-white hover:text-black focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-black disabled:pointer-events-none disabled:opacity-60 min-w-[7rem] sm:w-auto';\n\n const injectedCss = '';\n\n const renderLabel = () => {\n if (loading && !isConnected) return 'Connecting...';\n if (!isConnected) return _props.label || 'Connect';\n return addressText;\n };\n\n const handleClick = () => {\n if (startClosingLogin) {\n console.debug('[N1ConnectButton] click ignored; modal closing');\n return;\n }\n\n if (loading && !isConnected) {\n setToOpen(true);\n console.debug('[N1ConnectButton] deferring open until loading completes');\n return;\n }\n\n if (isConnected) return;\n\n console.debug('[N1ConnectButton] opening modal via connect button');\n showLoginFn();\n };\n\n return (\n <ShadowRootWrapper injectedCss={mainCss + injectedCss}>\n <div className=\"n1-wallet-widget dark\">\n <button\n type=\"button\"\n className={buttonClass}\n onClick={handleClick}\n aria-busy={loading && !isConnected}\n >\n {isConnected && (\n <span className=\"flex h-5 w-5 items-center justify-center rounded-full bg-white\">\n <BlockiesSvg\n address={address}\n className=\"h-4 w-4 rounded-full\"\n />\n </span>\n )}\n <span>{renderLabel()}</span>\n </button>\n </div>\n </ShadowRootWrapper>\n );\n}\n"]}
1
+ {"version":3,"file":"N1ConnectButton.js","sourceRoot":"","sources":["../../src/components/N1ConnectButton.tsx"],"names":[],"mappings":";;;;;AASA,0CAyEC;;AAlFD,0EAA6C;AAC7C,+BAAmD;AACnD,kCAGkB;AAClB,oEAAmE;AACnE,kFAAkD;AAElD,SAAgB,eAAe,CAAC,MAG/B;IACO,IAAA,KAAyC,IAAA,0BAAkB,GAAE,EAA3D,WAAW,iBAAA,EAAE,YAAY,kBAAA,EAAE,OAAO,aAAyB,CAAC;IAC9D,IAAA,KAAsB,IAAA,gBAAQ,EAAC,KAAK,CAAC,EAApC,MAAM,QAAA,EAAE,SAAS,QAAmB,CAAC;IACtC,IAAA,KAAiC,IAAA,kCAA0B,GAAE,EAA3D,OAAO,aAAA,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GAAG,WAAW,YACnD,gCAAK,SAAS,EAAC,uBAAuB,YACpC,oCACE,IAAI,EAAC,QAAQ,EACb,SAAS,EAAE,WAAW,EACtB,OAAO,EAAE,WAAW,eACT,OAAO,IAAI,CAAC,WAAW,aAEjC,WAAW,IAAI,CACd,iCAAM,SAAS,EAAC,gEAAgE,YAC9E,uBAAC,4BAAW,IACV,OAAO,EAAE,OAAO,EAChB,SAAS,EAAC,sBAAsB,GAChC,GACG,CACR,EACD,2CAAO,WAAW,EAAE,GAAQ,IACrB,GACL,GACY,CACrB,CAAC;AACJ,CAAC","sourcesContent":["import BlockiesSvg from 'blockies-react-svg';\nimport React, { useEffect, useState } from 'react';\nimport {\n useN1WalletContext,\n useN1WalletInternalContext,\n} from '../hooks';\nimport { ShadowRootWrapper } from '../providers/ShadowRootWrapper';\nimport mainCss from '../styles/embedded-main-css';\n\nexport function N1ConnectButton(_props: {\n label: string;\n children?: React.ReactNode;\n}) {\n const { isConnected, setShowLogin, address } = useN1WalletContext();\n const [toOpen, setToOpen] = useState(false);\n const { loading, startClosingLogin } = useN1WalletInternalContext();\n const addressText = isConnected\n ? `${address.substring(0, 6)}...${address.slice(-4)}`\n : '';\n\n const showLoginFn = () => {\n setShowLogin(true);\n };\n\n useEffect(() => {\n if (!loading && toOpen) {\n showLoginFn();\n setToOpen(false);\n }\n }, [loading]);\n\n const buttonClass =\n 'inline-flex w-full items-center justify-center gap-2 rounded-full border border-n1-ww-border bg-black px-4 py-2 text-xs font-semibold uppercase tracking-wide text-white transition-colors duration-200 hover:bg-white hover:text-black focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-black disabled:pointer-events-none disabled:opacity-60 min-w-[7rem] sm:w-auto';\n\n const injectedCss = '';\n\n const renderLabel = () => {\n if (loading && !isConnected) return 'Connecting...';\n if (!isConnected) return _props.label || 'Connect';\n return addressText;\n };\n\n const handleClick = () => {\n if (startClosingLogin) {\n console.debug('[N1ConnectButton] click ignored; modal closing');\n return;\n }\n\n if (loading && !isConnected) {\n setToOpen(true);\n console.debug('[N1ConnectButton] deferring open until loading completes');\n return;\n }\n\n if (isConnected) return;\n\n console.debug('[N1ConnectButton] opening modal via connect button');\n showLoginFn();\n };\n\n return (\n <ShadowRootWrapper injectedCss={mainCss + injectedCss}>\n <div className=\"n1-wallet-widget dark\">\n <button\n type=\"button\"\n className={buttonClass}\n onClick={handleClick}\n aria-busy={loading && !isConnected}\n >\n {isConnected && (\n <span className=\"flex h-5 w-5 items-center justify-center rounded-full bg-white\">\n <BlockiesSvg\n address={address}\n className=\"h-4 w-4 rounded-full\"\n />\n </span>\n )}\n <span>{renderLabel()}</span>\n </button>\n </div>\n </ShadowRootWrapper>\n );\n}\n"]}
@@ -1,6 +1,10 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- export var ArbitrumLogo = function (_a) {
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ArbitrumLogo = void 0;
4
+ var jsx_runtime_1 = require("react/jsx-runtime");
5
+ var ArbitrumLogo = function (_a) {
3
6
  var _b = _a.width, width = _b === void 0 ? 48 : _b, _c = _a.height, height = _c === void 0 ? 48 : _c, _d = _a.className, className = _d === void 0 ? '' : _d;
4
- return (_jsx("svg", { width: width, height: height, viewBox: "0 0 2500 2500", className: className, xmlns: "http://www.w3.org/2000/svg", children: _jsxs("g", { children: [_jsx("rect", { className: "st0", width: "2500", height: "2500", fill: "none" }), _jsx("g", { children: _jsxs("g", { children: [_jsx("path", { fill: "#213147", d: "M226,760v980c0,63,33,120,88,152l849,490c54,31,121,31,175,0l849-490c54-31,88-89,88-152V760\n c0-63-33-120-88-152l-849-490c-54-31-121-31-175,0L314,608c-54,31-87,89-87,152H226z" }), _jsx("g", { children: _jsxs("g", { children: [_jsx("g", { children: _jsx("path", { fill: "#12AAFF", d: "M1435,1440l-121,332c-3,9-3,19,0,29l208,571l241-139l-289-793C1467,1422,1442,1422,1435,1440z" }) }), _jsx("g", { children: _jsx("path", { fill: "#12AAFF", d: "M1678,882c-7-18-32-18-39,0l-121,332c-3,9-3,19,0,29l341,935l241-139L1678,883V882z" }) })] }) }), _jsx("g", { children: _jsx("path", { fill: "#9DCCED", d: "M1250,155c6,0,12,2,17,5l918,530c11,6,17,18,17,30v1060c0,12-7,24-17,30l-918,530c-5,3-11,5-17,5\n s-12-2-17-5l-918-530c-11-6-17-18-17-30V719c0-12,7-24,17-30l918-530c5-3,11-5,17-5l0,0V155z M1250,0c-33,0-65,8-95,25L237,555\n c-59,34-95,96-95,164v1060c0,68,36,130,95,164l918,530c29,17,62,25,95,25s65-8,95-25l918-530c59-34,95-96,95-164V719\n c0-68-36-130-95-164L1344,25c-29-17-62-25-95-25l0,0H1250z" }) }), _jsx("polygon", { fill: "#213147", points: "642,2179 727,1947 897,2088 738,2234" }), _jsxs("g", { children: [_jsx("path", { fill: "#FFFFFF", d: "M1172,644H939c-17,0-33,11-39,27L401,2039l241,139l550-1507c5-14-5-28-19-28L1172,644z" }), _jsx("path", { fill: "#FFFFFF", d: "M1580,644h-233c-17,0-33,11-39,27L738,2233l241,139l620-1701c5-14-5-28-19-28V644z" })] })] }) })] }) }));
7
+ return ((0, jsx_runtime_1.jsx)("svg", { width: width, height: height, viewBox: "0 0 2500 2500", className: className, xmlns: "http://www.w3.org/2000/svg", children: (0, jsx_runtime_1.jsxs)("g", { children: [(0, jsx_runtime_1.jsx)("rect", { className: "st0", width: "2500", height: "2500", fill: "none" }), (0, jsx_runtime_1.jsx)("g", { children: (0, jsx_runtime_1.jsxs)("g", { children: [(0, jsx_runtime_1.jsx)("path", { fill: "#213147", d: "M226,760v980c0,63,33,120,88,152l849,490c54,31,121,31,175,0l849-490c54-31,88-89,88-152V760\n c0-63-33-120-88-152l-849-490c-54-31-121-31-175,0L314,608c-54,31-87,89-87,152H226z" }), (0, jsx_runtime_1.jsx)("g", { children: (0, jsx_runtime_1.jsxs)("g", { children: [(0, jsx_runtime_1.jsx)("g", { children: (0, jsx_runtime_1.jsx)("path", { fill: "#12AAFF", d: "M1435,1440l-121,332c-3,9-3,19,0,29l208,571l241-139l-289-793C1467,1422,1442,1422,1435,1440z" }) }), (0, jsx_runtime_1.jsx)("g", { children: (0, jsx_runtime_1.jsx)("path", { fill: "#12AAFF", d: "M1678,882c-7-18-32-18-39,0l-121,332c-3,9-3,19,0,29l341,935l241-139L1678,883V882z" }) })] }) }), (0, jsx_runtime_1.jsx)("g", { children: (0, jsx_runtime_1.jsx)("path", { fill: "#9DCCED", d: "M1250,155c6,0,12,2,17,5l918,530c11,6,17,18,17,30v1060c0,12-7,24-17,30l-918,530c-5,3-11,5-17,5\n s-12-2-17-5l-918-530c-11-6-17-18-17-30V719c0-12,7-24,17-30l918-530c5-3,11-5,17-5l0,0V155z M1250,0c-33,0-65,8-95,25L237,555\n c-59,34-95,96-95,164v1060c0,68,36,130,95,164l918,530c29,17,62,25,95,25s65-8,95-25l918-530c59-34,95-96,95-164V719\n c0-68-36-130-95-164L1344,25c-29-17-62-25-95-25l0,0H1250z" }) }), (0, jsx_runtime_1.jsx)("polygon", { fill: "#213147", points: "642,2179 727,1947 897,2088 738,2234" }), (0, jsx_runtime_1.jsxs)("g", { children: [(0, jsx_runtime_1.jsx)("path", { fill: "#FFFFFF", d: "M1172,644H939c-17,0-33,11-39,27L401,2039l241,139l550-1507c5-14-5-28-19-28L1172,644z" }), (0, jsx_runtime_1.jsx)("path", { fill: "#FFFFFF", d: "M1580,644h-233c-17,0-33,11-39,27L738,2233l241,139l620-1701c5-14-5-28-19-28V644z" })] })] }) })] }) }));
5
8
  };
9
+ exports.ArbitrumLogo = ArbitrumLogo;
6
10
  //# sourceMappingURL=ArbitrumLogo.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ArbitrumLogo.js","sourceRoot":"","sources":["../../../src/components/logos/ArbitrumLogo.tsx"],"names":[],"mappings":";AAQA,MAAM,CAAC,IAAM,YAAY,GAAgC,UAAC,EAIzD;QAHC,aAAU,EAAV,KAAK,mBAAG,EAAE,KAAA,EACV,cAAW,EAAX,MAAM,mBAAG,EAAE,KAAA,EACX,iBAAc,EAAd,SAAS,mBAAG,EAAE,KAAA;IAEd,OAAO,CACL,cACE,KAAK,EAAE,KAAK,EACZ,MAAM,EAAE,MAAM,EACd,OAAO,EAAC,eAAe,EACvB,SAAS,EAAE,SAAS,EACpB,KAAK,EAAC,4BAA4B,YAElC,wBACE,eAAM,SAAS,EAAC,KAAK,EAAC,KAAK,EAAC,MAAM,EAAC,MAAM,EAAC,MAAM,EAAC,IAAI,EAAC,MAAM,GAAG,EAC/D,sBACE,wBACE,eACE,IAAI,EAAC,SAAS,EACd,CAAC,EAAC,8LACkF,GACpF,EACF,sBACE,wBACE,sBACE,eACE,IAAI,EAAC,SAAS,EACd,CAAC,EAAC,4FAA4F,GAC9F,GACA,EACJ,sBACE,eACE,IAAI,EAAC,SAAS,EACd,CAAC,EAAC,kFAAkF,GACpF,GACA,IACF,GACF,EACJ,sBACE,eACE,IAAI,EAAC,SAAS,EACd,CAAC,EAAC,ubAGuD,GACzD,GACA,EACJ,kBACE,IAAI,EAAC,SAAS,EACd,MAAM,EAAC,qCAAqC,GAC5C,EACF,wBACE,eACE,IAAI,EAAC,SAAS,EACd,CAAC,EAAC,qFAAqF,GACvF,EACF,eACE,IAAI,EAAC,SAAS,EACd,CAAC,EAAC,iFAAiF,GACnF,IACA,IACF,GACF,IACF,GACA,CACP,CAAC;AACJ,CAAC,CAAC","sourcesContent":["import React from 'react';\n\ninterface ArbitrumLogoProps {\n width?: number;\n height?: number;\n className?: string;\n}\n\nexport const ArbitrumLogo: React.FC<ArbitrumLogoProps> = ({\n width = 48,\n height = 48,\n className = '',\n}) => {\n return (\n <svg\n width={width}\n height={height}\n viewBox=\"0 0 2500 2500\"\n className={className}\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <g>\n <rect className=\"st0\" width=\"2500\" height=\"2500\" fill=\"none\" />\n <g>\n <g>\n <path\n fill=\"#213147\"\n d=\"M226,760v980c0,63,33,120,88,152l849,490c54,31,121,31,175,0l849-490c54-31,88-89,88-152V760\n c0-63-33-120-88-152l-849-490c-54-31-121-31-175,0L314,608c-54,31-87,89-87,152H226z\"\n />\n <g>\n <g>\n <g>\n <path\n fill=\"#12AAFF\"\n d=\"M1435,1440l-121,332c-3,9-3,19,0,29l208,571l241-139l-289-793C1467,1422,1442,1422,1435,1440z\"\n />\n </g>\n <g>\n <path\n fill=\"#12AAFF\"\n d=\"M1678,882c-7-18-32-18-39,0l-121,332c-3,9-3,19,0,29l341,935l241-139L1678,883V882z\"\n />\n </g>\n </g>\n </g>\n <g>\n <path\n fill=\"#9DCCED\"\n d=\"M1250,155c6,0,12,2,17,5l918,530c11,6,17,18,17,30v1060c0,12-7,24-17,30l-918,530c-5,3-11,5-17,5\n s-12-2-17-5l-918-530c-11-6-17-18-17-30V719c0-12,7-24,17-30l918-530c5-3,11-5,17-5l0,0V155z M1250,0c-33,0-65,8-95,25L237,555\n c-59,34-95,96-95,164v1060c0,68,36,130,95,164l918,530c29,17,62,25,95,25s65-8,95-25l918-530c59-34,95-96,95-164V719\n c0-68-36-130-95-164L1344,25c-29-17-62-25-95-25l0,0H1250z\"\n />\n </g>\n <polygon\n fill=\"#213147\"\n points=\"642,2179 727,1947 897,2088 738,2234\"\n />\n <g>\n <path\n fill=\"#FFFFFF\"\n d=\"M1172,644H939c-17,0-33,11-39,27L401,2039l241,139l550-1507c5-14-5-28-19-28L1172,644z\"\n />\n <path\n fill=\"#FFFFFF\"\n d=\"M1580,644h-233c-17,0-33,11-39,27L738,2233l241,139l620-1701c5-14-5-28-19-28V644z\"\n />\n </g>\n </g>\n </g>\n </g>\n </svg>\n );\n};\n"]}
1
+ {"version":3,"file":"ArbitrumLogo.js","sourceRoot":"","sources":["../../../src/components/logos/ArbitrumLogo.tsx"],"names":[],"mappings":";;;;AAQO,IAAM,YAAY,GAAgC,UAAC,EAIzD;QAHC,aAAU,EAAV,KAAK,mBAAG,EAAE,KAAA,EACV,cAAW,EAAX,MAAM,mBAAG,EAAE,KAAA,EACX,iBAAc,EAAd,SAAS,mBAAG,EAAE,KAAA;IAEd,OAAO,CACL,gCACE,KAAK,EAAE,KAAK,EACZ,MAAM,EAAE,MAAM,EACd,OAAO,EAAC,eAAe,EACvB,SAAS,EAAE,SAAS,EACpB,KAAK,EAAC,4BAA4B,YAElC,0CACE,iCAAM,SAAS,EAAC,KAAK,EAAC,KAAK,EAAC,MAAM,EAAC,MAAM,EAAC,MAAM,EAAC,IAAI,EAAC,MAAM,GAAG,EAC/D,wCACE,0CACE,iCACE,IAAI,EAAC,SAAS,EACd,CAAC,EAAC,8LACkF,GACpF,EACF,wCACE,0CACE,wCACE,iCACE,IAAI,EAAC,SAAS,EACd,CAAC,EAAC,4FAA4F,GAC9F,GACA,EACJ,wCACE,iCACE,IAAI,EAAC,SAAS,EACd,CAAC,EAAC,kFAAkF,GACpF,GACA,IACF,GACF,EACJ,wCACE,iCACE,IAAI,EAAC,SAAS,EACd,CAAC,EAAC,ubAGuD,GACzD,GACA,EACJ,oCACE,IAAI,EAAC,SAAS,EACd,MAAM,EAAC,qCAAqC,GAC5C,EACF,0CACE,iCACE,IAAI,EAAC,SAAS,EACd,CAAC,EAAC,qFAAqF,GACvF,EACF,iCACE,IAAI,EAAC,SAAS,EACd,CAAC,EAAC,iFAAiF,GACnF,IACA,IACF,GACF,IACF,GACA,CACP,CAAC;AACJ,CAAC,CAAC;AAlEW,QAAA,YAAY,gBAkEvB","sourcesContent":["import React from 'react';\n\ninterface ArbitrumLogoProps {\n width?: number;\n height?: number;\n className?: string;\n}\n\nexport const ArbitrumLogo: React.FC<ArbitrumLogoProps> = ({\n width = 48,\n height = 48,\n className = '',\n}) => {\n return (\n <svg\n width={width}\n height={height}\n viewBox=\"0 0 2500 2500\"\n className={className}\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <g>\n <rect className=\"st0\" width=\"2500\" height=\"2500\" fill=\"none\" />\n <g>\n <g>\n <path\n fill=\"#213147\"\n d=\"M226,760v980c0,63,33,120,88,152l849,490c54,31,121,31,175,0l849-490c54-31,88-89,88-152V760\n c0-63-33-120-88-152l-849-490c-54-31-121-31-175,0L314,608c-54,31-87,89-87,152H226z\"\n />\n <g>\n <g>\n <g>\n <path\n fill=\"#12AAFF\"\n d=\"M1435,1440l-121,332c-3,9-3,19,0,29l208,571l241-139l-289-793C1467,1422,1442,1422,1435,1440z\"\n />\n </g>\n <g>\n <path\n fill=\"#12AAFF\"\n d=\"M1678,882c-7-18-32-18-39,0l-121,332c-3,9-3,19,0,29l341,935l241-139L1678,883V882z\"\n />\n </g>\n </g>\n </g>\n <g>\n <path\n fill=\"#9DCCED\"\n d=\"M1250,155c6,0,12,2,17,5l918,530c11,6,17,18,17,30v1060c0,12-7,24-17,30l-918,530c-5,3-11,5-17,5\n s-12-2-17-5l-918-530c-11-6-17-18-17-30V719c0-12,7-24,17-30l918-530c5-3,11-5,17-5l0,0V155z M1250,0c-33,0-65,8-95,25L237,555\n c-59,34-95,96-95,164v1060c0,68,36,130,95,164l918,530c29,17,62,25,95,25s65-8,95-25l918-530c59-34,95-96,95-164V719\n c0-68-36-130-95-164L1344,25c-29-17-62-25-95-25l0,0H1250z\"\n />\n </g>\n <polygon\n fill=\"#213147\"\n points=\"642,2179 727,1947 897,2088 738,2234\"\n />\n <g>\n <path\n fill=\"#FFFFFF\"\n d=\"M1172,644H939c-17,0-33,11-39,27L401,2039l241,139l550-1507c5-14-5-28-19-28L1172,644z\"\n />\n <path\n fill=\"#FFFFFF\"\n d=\"M1580,644h-233c-17,0-33,11-39,27L738,2233l241,139l620-1701c5-14-5-28-19-28V644z\"\n />\n </g>\n </g>\n </g>\n </g>\n </svg>\n );\n};\n"]}
@@ -1,6 +1,10 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- export var BaseLogo = function (_a) {
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.BaseLogo = void 0;
4
+ var jsx_runtime_1 = require("react/jsx-runtime");
5
+ var BaseLogo = function (_a) {
3
6
  var _b = _a.width, width = _b === void 0 ? 48 : _b, _c = _a.height, height = _c === void 0 ? 48 : _c, _d = _a.className, className = _d === void 0 ? '' : _d;
4
- return (_jsxs("svg", { width: width, height: height, viewBox: "0 0 24 24", className: className, xmlns: "http://www.w3.org/2000/svg", children: [_jsx("circle", { cx: "12", cy: "12", r: "12", fill: "#0052FF" }), _jsx("path", { d: "M12 5.5L18.5 12L12 18.5L5.5 12L12 5.5Z", fill: "white" })] }));
7
+ return ((0, jsx_runtime_1.jsxs)("svg", { width: width, height: height, viewBox: "0 0 24 24", className: className, xmlns: "http://www.w3.org/2000/svg", children: [(0, jsx_runtime_1.jsx)("circle", { cx: "12", cy: "12", r: "12", fill: "#0052FF" }), (0, jsx_runtime_1.jsx)("path", { d: "M12 5.5L18.5 12L12 18.5L5.5 12L12 5.5Z", fill: "white" })] }));
5
8
  };
9
+ exports.BaseLogo = BaseLogo;
6
10
  //# sourceMappingURL=BaseLogo.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"BaseLogo.js","sourceRoot":"","sources":["../../../src/components/logos/BaseLogo.tsx"],"names":[],"mappings":";AAQA,MAAM,CAAC,IAAM,QAAQ,GAA4B,UAAC,EAIjD;QAHC,aAAU,EAAV,KAAK,mBAAG,EAAE,KAAA,EACV,cAAW,EAAX,MAAM,mBAAG,EAAE,KAAA,EACX,iBAAc,EAAd,SAAS,mBAAG,EAAE,KAAA;IAEd,OAAO,CACL,eACE,KAAK,EAAE,KAAK,EACZ,MAAM,EAAE,MAAM,EACd,OAAO,EAAC,WAAW,EACnB,SAAS,EAAE,SAAS,EACpB,KAAK,EAAC,4BAA4B,aAElC,iBAAQ,EAAE,EAAC,IAAI,EAAC,EAAE,EAAC,IAAI,EAAC,CAAC,EAAC,IAAI,EAAC,IAAI,EAAC,SAAS,GAAG,EAChD,eAAM,CAAC,EAAC,wCAAwC,EAAC,IAAI,EAAC,OAAO,GAAG,IAC5D,CACP,CAAC;AACJ,CAAC,CAAC","sourcesContent":["import React from 'react';\n\ninterface BaseLogoProps {\n width?: number;\n height?: number;\n className?: string;\n}\n\nexport const BaseLogo: React.FC<BaseLogoProps> = ({\n width = 48,\n height = 48,\n className = '',\n}) => {\n return (\n <svg\n width={width}\n height={height}\n viewBox=\"0 0 24 24\"\n className={className}\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <circle cx=\"12\" cy=\"12\" r=\"12\" fill=\"#0052FF\" />\n <path d=\"M12 5.5L18.5 12L12 18.5L5.5 12L12 5.5Z\" fill=\"white\" />\n </svg>\n );\n};\n"]}
1
+ {"version":3,"file":"BaseLogo.js","sourceRoot":"","sources":["../../../src/components/logos/BaseLogo.tsx"],"names":[],"mappings":";;;;AAQO,IAAM,QAAQ,GAA4B,UAAC,EAIjD;QAHC,aAAU,EAAV,KAAK,mBAAG,EAAE,KAAA,EACV,cAAW,EAAX,MAAM,mBAAG,EAAE,KAAA,EACX,iBAAc,EAAd,SAAS,mBAAG,EAAE,KAAA;IAEd,OAAO,CACL,iCACE,KAAK,EAAE,KAAK,EACZ,MAAM,EAAE,MAAM,EACd,OAAO,EAAC,WAAW,EACnB,SAAS,EAAE,SAAS,EACpB,KAAK,EAAC,4BAA4B,aAElC,mCAAQ,EAAE,EAAC,IAAI,EAAC,EAAE,EAAC,IAAI,EAAC,CAAC,EAAC,IAAI,EAAC,IAAI,EAAC,SAAS,GAAG,EAChD,iCAAM,CAAC,EAAC,wCAAwC,EAAC,IAAI,EAAC,OAAO,GAAG,IAC5D,CACP,CAAC;AACJ,CAAC,CAAC;AAjBW,QAAA,QAAQ,YAiBnB","sourcesContent":["import React from 'react';\n\ninterface BaseLogoProps {\n width?: number;\n height?: number;\n className?: string;\n}\n\nexport const BaseLogo: React.FC<BaseLogoProps> = ({\n width = 48,\n height = 48,\n className = '',\n}) => {\n return (\n <svg\n width={width}\n height={height}\n viewBox=\"0 0 24 24\"\n className={className}\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <circle cx=\"12\" cy=\"12\" r=\"12\" fill=\"#0052FF\" />\n <path d=\"M12 5.5L18.5 12L12 18.5L5.5 12L12 5.5Z\" fill=\"white\" />\n </svg>\n );\n};\n"]}
@@ -1,6 +1,10 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- export var BeraLogo = function (_a) {
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.BeraLogo = void 0;
4
+ var jsx_runtime_1 = require("react/jsx-runtime");
5
+ var BeraLogo = function (_a) {
3
6
  var _b = _a.width, width = _b === void 0 ? 48 : _b, _c = _a.height, height = _c === void 0 ? 48 : _c, _d = _a.className, className = _d === void 0 ? '' : _d;
4
- return (_jsxs("svg", { width: width, height: height, viewBox: "0 0 24 24", className: className, xmlns: "http://www.w3.org/2000/svg", children: [_jsx("circle", { cx: "12", cy: "12", r: "12", fill: "#000000" }), _jsx("path", { d: "M7.5 7.5C7.5 6.67157 8.17157 6 9 6H15C15.8284 6 16.5 6.67157 16.5 7.5V9C16.5 9.82843 15.8284 10.5 15 10.5H9C8.17157 10.5 7.5 9.82843 7.5 9V7.5Z", fill: "#FFD700" }), _jsx("path", { d: "M7.5 15C7.5 14.1716 8.17157 13.5 9 13.5H15C15.8284 13.5 16.5 14.1716 16.5 15V16.5C16.5 17.3284 15.8284 18 15 18H9C8.17157 18 7.5 17.3284 7.5 16.5V15Z", fill: "#FFD700" }), _jsx("path", { d: "M12 10.5V13.5", stroke: "#FFD700", strokeWidth: "1.5", strokeLinecap: "round" })] }));
7
+ return ((0, jsx_runtime_1.jsxs)("svg", { width: width, height: height, viewBox: "0 0 24 24", className: className, xmlns: "http://www.w3.org/2000/svg", children: [(0, jsx_runtime_1.jsx)("circle", { cx: "12", cy: "12", r: "12", fill: "#000000" }), (0, jsx_runtime_1.jsx)("path", { d: "M7.5 7.5C7.5 6.67157 8.17157 6 9 6H15C15.8284 6 16.5 6.67157 16.5 7.5V9C16.5 9.82843 15.8284 10.5 15 10.5H9C8.17157 10.5 7.5 9.82843 7.5 9V7.5Z", fill: "#FFD700" }), (0, jsx_runtime_1.jsx)("path", { d: "M7.5 15C7.5 14.1716 8.17157 13.5 9 13.5H15C15.8284 13.5 16.5 14.1716 16.5 15V16.5C16.5 17.3284 15.8284 18 15 18H9C8.17157 18 7.5 17.3284 7.5 16.5V15Z", fill: "#FFD700" }), (0, jsx_runtime_1.jsx)("path", { d: "M12 10.5V13.5", stroke: "#FFD700", strokeWidth: "1.5", strokeLinecap: "round" })] }));
5
8
  };
9
+ exports.BeraLogo = BeraLogo;
6
10
  //# sourceMappingURL=BeraLogo.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"BeraLogo.js","sourceRoot":"","sources":["../../../src/components/logos/BeraLogo.tsx"],"names":[],"mappings":";AAQA,MAAM,CAAC,IAAM,QAAQ,GAA4B,UAAC,EAIjD;QAHC,aAAU,EAAV,KAAK,mBAAG,EAAE,KAAA,EACV,cAAW,EAAX,MAAM,mBAAG,EAAE,KAAA,EACX,iBAAc,EAAd,SAAS,mBAAG,EAAE,KAAA;IAEd,OAAO,CACL,eACE,KAAK,EAAE,KAAK,EACZ,MAAM,EAAE,MAAM,EACd,OAAO,EAAC,WAAW,EACnB,SAAS,EAAE,SAAS,EACpB,KAAK,EAAC,4BAA4B,aAElC,iBAAQ,EAAE,EAAC,IAAI,EAAC,EAAE,EAAC,IAAI,EAAC,CAAC,EAAC,IAAI,EAAC,IAAI,EAAC,SAAS,GAAG,EAChD,eACE,CAAC,EAAC,iJAAiJ,EACnJ,IAAI,EAAC,SAAS,GACd,EACF,eACE,CAAC,EAAC,uJAAuJ,EACzJ,IAAI,EAAC,SAAS,GACd,EACF,eACE,CAAC,EAAC,eAAe,EACjB,MAAM,EAAC,SAAS,EAChB,WAAW,EAAC,KAAK,EACjB,aAAa,EAAC,OAAO,GACrB,IACE,CACP,CAAC;AACJ,CAAC,CAAC","sourcesContent":["import React from 'react';\n\ninterface BeraLogoProps {\n width?: number;\n height?: number;\n className?: string;\n}\n\nexport const BeraLogo: React.FC<BeraLogoProps> = ({\n width = 48,\n height = 48,\n className = '',\n}) => {\n return (\n <svg\n width={width}\n height={height}\n viewBox=\"0 0 24 24\"\n className={className}\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <circle cx=\"12\" cy=\"12\" r=\"12\" fill=\"#000000\" />\n <path\n d=\"M7.5 7.5C7.5 6.67157 8.17157 6 9 6H15C15.8284 6 16.5 6.67157 16.5 7.5V9C16.5 9.82843 15.8284 10.5 15 10.5H9C8.17157 10.5 7.5 9.82843 7.5 9V7.5Z\"\n fill=\"#FFD700\"\n />\n <path\n d=\"M7.5 15C7.5 14.1716 8.17157 13.5 9 13.5H15C15.8284 13.5 16.5 14.1716 16.5 15V16.5C16.5 17.3284 15.8284 18 15 18H9C8.17157 18 7.5 17.3284 7.5 16.5V15Z\"\n fill=\"#FFD700\"\n />\n <path\n d=\"M12 10.5V13.5\"\n stroke=\"#FFD700\"\n strokeWidth=\"1.5\"\n strokeLinecap=\"round\"\n />\n </svg>\n );\n};\n"]}
1
+ {"version":3,"file":"BeraLogo.js","sourceRoot":"","sources":["../../../src/components/logos/BeraLogo.tsx"],"names":[],"mappings":";;;;AAQO,IAAM,QAAQ,GAA4B,UAAC,EAIjD;QAHC,aAAU,EAAV,KAAK,mBAAG,EAAE,KAAA,EACV,cAAW,EAAX,MAAM,mBAAG,EAAE,KAAA,EACX,iBAAc,EAAd,SAAS,mBAAG,EAAE,KAAA;IAEd,OAAO,CACL,iCACE,KAAK,EAAE,KAAK,EACZ,MAAM,EAAE,MAAM,EACd,OAAO,EAAC,WAAW,EACnB,SAAS,EAAE,SAAS,EACpB,KAAK,EAAC,4BAA4B,aAElC,mCAAQ,EAAE,EAAC,IAAI,EAAC,EAAE,EAAC,IAAI,EAAC,CAAC,EAAC,IAAI,EAAC,IAAI,EAAC,SAAS,GAAG,EAChD,iCACE,CAAC,EAAC,iJAAiJ,EACnJ,IAAI,EAAC,SAAS,GACd,EACF,iCACE,CAAC,EAAC,uJAAuJ,EACzJ,IAAI,EAAC,SAAS,GACd,EACF,iCACE,CAAC,EAAC,eAAe,EACjB,MAAM,EAAC,SAAS,EAChB,WAAW,EAAC,KAAK,EACjB,aAAa,EAAC,OAAO,GACrB,IACE,CACP,CAAC;AACJ,CAAC,CAAC;AA9BW,QAAA,QAAQ,YA8BnB","sourcesContent":["import React from 'react';\n\ninterface BeraLogoProps {\n width?: number;\n height?: number;\n className?: string;\n}\n\nexport const BeraLogo: React.FC<BeraLogoProps> = ({\n width = 48,\n height = 48,\n className = '',\n}) => {\n return (\n <svg\n width={width}\n height={height}\n viewBox=\"0 0 24 24\"\n className={className}\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <circle cx=\"12\" cy=\"12\" r=\"12\" fill=\"#000000\" />\n <path\n d=\"M7.5 7.5C7.5 6.67157 8.17157 6 9 6H15C15.8284 6 16.5 6.67157 16.5 7.5V9C16.5 9.82843 15.8284 10.5 15 10.5H9C8.17157 10.5 7.5 9.82843 7.5 9V7.5Z\"\n fill=\"#FFD700\"\n />\n <path\n d=\"M7.5 15C7.5 14.1716 8.17157 13.5 9 13.5H15C15.8284 13.5 16.5 14.1716 16.5 15V16.5C16.5 17.3284 15.8284 18 15 18H9C8.17157 18 7.5 17.3284 7.5 16.5V15Z\"\n fill=\"#FFD700\"\n />\n <path\n d=\"M12 10.5V13.5\"\n stroke=\"#FFD700\"\n strokeWidth=\"1.5\"\n strokeLinecap=\"round\"\n />\n </svg>\n );\n};\n"]}
@@ -1,6 +1,10 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- export var BitcoinLogo = function (_a) {
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.BitcoinLogo = void 0;
4
+ var jsx_runtime_1 = require("react/jsx-runtime");
5
+ var BitcoinLogo = function (_a) {
3
6
  var _b = _a.width, width = _b === void 0 ? 48 : _b, _c = _a.height, height = _c === void 0 ? 48 : _c, _d = _a.className, className = _d === void 0 ? '' : _d;
4
- return (_jsx("svg", { width: width, height: height, viewBox: "0 0 4091.27 4091.73", className: className, xmlns: "http://www.w3.org/2000/svg", children: _jsxs("g", { children: [_jsx("path", { fill: "#F7931A", fillRule: "nonzero", d: "M4030.06 2540.77c-273.24,1096.01 -1383.32,1763.02 -2479.46,1489.71 -1095.68,-273.24 -1762.69,-1383.39 -1489.33,-2479.31 273.12,-1096.13 1383.2,-1763.19 2479,-1489.95 1096.06,273.24 1763.03,1383.51 1489.76,2479.57l0.02 -0.02z" }), _jsx("path", { fill: "white", fillRule: "nonzero", d: "M2947.77 1754.38c40.72,-272.26 -166.56,-418.61 -450,-516.24l91.95 -368.8 -224.5 -55.94 -89.51 359.09c-59.02,-14.72 -119.63,-28.59 -179.87,-42.34l90.16 -361.46 -224.36 -55.94 -92 368.68c-48.84,-11.12 -96.81,-22.11 -143.35,-33.69l0.26 -1.16 -309.59 -77.31 -59.72 239.78c0,0 166.56,38.18 163.05,40.53 90.91,22.69 107.35,82.87 104.62,130.57l-104.74 420.15c6.26,1.59 14.38,3.89 23.34,7.49 -7.49,-1.86 -15.46,-3.89 -23.73,-5.87l-146.81 588.57c-11.11,27.62 -39.31,69.07 -102.87,53.33 2.25,3.26 -163.17,-40.72 -163.17,-40.72l-111.46 256.98 292.15 72.83c54.35,13.63 107.61,27.89 160.06,41.3l-92.9 373.03 224.24 55.94 92 -369.07c61.26,16.63 120.71,31.97 178.91,46.43l-91.69 367.33 224.51 55.94 92.89 -372.33c382.82,72.45 670.67,43.24 791.83,-303.02 97.63,-278.78 -4.86,-439.58 -206.26,-544.44 146.69,-33.83 257.18,-130.31 286.64,-329.61l-0.07 -0.05zm-512.93 719.26c-69.38,278.78 -538.76,128.08 -690.94,90.29l123.28 -494.2c152.17,37.99 640.17,113.17 567.67,403.91zm69.43 -723.3c-63.29,253.58 -453.96,124.75 -580.69,93.16l111.77 -448.21c126.73,31.59 534.85,90.55 468.94,355.05l-0.02 0z" })] }) }));
7
+ return ((0, jsx_runtime_1.jsx)("svg", { width: width, height: height, viewBox: "0 0 4091.27 4091.73", className: className, xmlns: "http://www.w3.org/2000/svg", children: (0, jsx_runtime_1.jsxs)("g", { children: [(0, jsx_runtime_1.jsx)("path", { fill: "#F7931A", fillRule: "nonzero", d: "M4030.06 2540.77c-273.24,1096.01 -1383.32,1763.02 -2479.46,1489.71 -1095.68,-273.24 -1762.69,-1383.39 -1489.33,-2479.31 273.12,-1096.13 1383.2,-1763.19 2479,-1489.95 1096.06,273.24 1763.03,1383.51 1489.76,2479.57l0.02 -0.02z" }), (0, jsx_runtime_1.jsx)("path", { fill: "white", fillRule: "nonzero", d: "M2947.77 1754.38c40.72,-272.26 -166.56,-418.61 -450,-516.24l91.95 -368.8 -224.5 -55.94 -89.51 359.09c-59.02,-14.72 -119.63,-28.59 -179.87,-42.34l90.16 -361.46 -224.36 -55.94 -92 368.68c-48.84,-11.12 -96.81,-22.11 -143.35,-33.69l0.26 -1.16 -309.59 -77.31 -59.72 239.78c0,0 166.56,38.18 163.05,40.53 90.91,22.69 107.35,82.87 104.62,130.57l-104.74 420.15c6.26,1.59 14.38,3.89 23.34,7.49 -7.49,-1.86 -15.46,-3.89 -23.73,-5.87l-146.81 588.57c-11.11,27.62 -39.31,69.07 -102.87,53.33 2.25,3.26 -163.17,-40.72 -163.17,-40.72l-111.46 256.98 292.15 72.83c54.35,13.63 107.61,27.89 160.06,41.3l-92.9 373.03 224.24 55.94 92 -369.07c61.26,16.63 120.71,31.97 178.91,46.43l-91.69 367.33 224.51 55.94 92.89 -372.33c382.82,72.45 670.67,43.24 791.83,-303.02 97.63,-278.78 -4.86,-439.58 -206.26,-544.44 146.69,-33.83 257.18,-130.31 286.64,-329.61l-0.07 -0.05zm-512.93 719.26c-69.38,278.78 -538.76,128.08 -690.94,90.29l123.28 -494.2c152.17,37.99 640.17,113.17 567.67,403.91zm69.43 -723.3c-63.29,253.58 -453.96,124.75 -580.69,93.16l111.77 -448.21c126.73,31.59 534.85,90.55 468.94,355.05l-0.02 0z" })] }) }));
5
8
  };
9
+ exports.BitcoinLogo = BitcoinLogo;
6
10
  //# sourceMappingURL=BitcoinLogo.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"BitcoinLogo.js","sourceRoot":"","sources":["../../../src/components/logos/BitcoinLogo.tsx"],"names":[],"mappings":";AAQA,MAAM,CAAC,IAAM,WAAW,GAA+B,UAAC,EAIvD;QAHC,aAAU,EAAV,KAAK,mBAAG,EAAE,KAAA,EACV,cAAW,EAAX,MAAM,mBAAG,EAAE,KAAA,EACX,iBAAc,EAAd,SAAS,mBAAG,EAAE,KAAA;IAEd,OAAO,CACL,cACE,KAAK,EAAE,KAAK,EACZ,MAAM,EAAE,MAAM,EACd,OAAO,EAAC,qBAAqB,EAC7B,SAAS,EAAE,SAAS,EACpB,KAAK,EAAC,4BAA4B,YAElC,wBACE,eACE,IAAI,EAAC,SAAS,EACd,QAAQ,EAAC,SAAS,EAClB,CAAC,EAAC,kOAAkO,GACpO,EACF,eACE,IAAI,EAAC,OAAO,EACZ,QAAQ,EAAC,SAAS,EAClB,CAAC,EAAC,mjCAAmjC,GACrjC,IACA,GACA,CACP,CAAC;AACJ,CAAC,CAAC","sourcesContent":["import React from 'react';\n\ninterface BitcoinLogoProps {\n width?: number;\n height?: number;\n className?: string;\n}\n\nexport const BitcoinLogo: React.FC<BitcoinLogoProps> = ({\n width = 48,\n height = 48,\n className = '',\n}) => {\n return (\n <svg\n width={width}\n height={height}\n viewBox=\"0 0 4091.27 4091.73\"\n className={className}\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <g>\n <path\n fill=\"#F7931A\"\n fillRule=\"nonzero\"\n d=\"M4030.06 2540.77c-273.24,1096.01 -1383.32,1763.02 -2479.46,1489.71 -1095.68,-273.24 -1762.69,-1383.39 -1489.33,-2479.31 273.12,-1096.13 1383.2,-1763.19 2479,-1489.95 1096.06,273.24 1763.03,1383.51 1489.76,2479.57l0.02 -0.02z\"\n />\n <path\n fill=\"white\"\n fillRule=\"nonzero\"\n d=\"M2947.77 1754.38c40.72,-272.26 -166.56,-418.61 -450,-516.24l91.95 -368.8 -224.5 -55.94 -89.51 359.09c-59.02,-14.72 -119.63,-28.59 -179.87,-42.34l90.16 -361.46 -224.36 -55.94 -92 368.68c-48.84,-11.12 -96.81,-22.11 -143.35,-33.69l0.26 -1.16 -309.59 -77.31 -59.72 239.78c0,0 166.56,38.18 163.05,40.53 90.91,22.69 107.35,82.87 104.62,130.57l-104.74 420.15c6.26,1.59 14.38,3.89 23.34,7.49 -7.49,-1.86 -15.46,-3.89 -23.73,-5.87l-146.81 588.57c-11.11,27.62 -39.31,69.07 -102.87,53.33 2.25,3.26 -163.17,-40.72 -163.17,-40.72l-111.46 256.98 292.15 72.83c54.35,13.63 107.61,27.89 160.06,41.3l-92.9 373.03 224.24 55.94 92 -369.07c61.26,16.63 120.71,31.97 178.91,46.43l-91.69 367.33 224.51 55.94 92.89 -372.33c382.82,72.45 670.67,43.24 791.83,-303.02 97.63,-278.78 -4.86,-439.58 -206.26,-544.44 146.69,-33.83 257.18,-130.31 286.64,-329.61l-0.07 -0.05zm-512.93 719.26c-69.38,278.78 -538.76,128.08 -690.94,90.29l123.28 -494.2c152.17,37.99 640.17,113.17 567.67,403.91zm69.43 -723.3c-63.29,253.58 -453.96,124.75 -580.69,93.16l111.77 -448.21c126.73,31.59 534.85,90.55 468.94,355.05l-0.02 0z\"\n />\n </g>\n </svg>\n );\n};\n"]}
1
+ {"version":3,"file":"BitcoinLogo.js","sourceRoot":"","sources":["../../../src/components/logos/BitcoinLogo.tsx"],"names":[],"mappings":";;;;AAQO,IAAM,WAAW,GAA+B,UAAC,EAIvD;QAHC,aAAU,EAAV,KAAK,mBAAG,EAAE,KAAA,EACV,cAAW,EAAX,MAAM,mBAAG,EAAE,KAAA,EACX,iBAAc,EAAd,SAAS,mBAAG,EAAE,KAAA;IAEd,OAAO,CACL,gCACE,KAAK,EAAE,KAAK,EACZ,MAAM,EAAE,MAAM,EACd,OAAO,EAAC,qBAAqB,EAC7B,SAAS,EAAE,SAAS,EACpB,KAAK,EAAC,4BAA4B,YAElC,0CACE,iCACE,IAAI,EAAC,SAAS,EACd,QAAQ,EAAC,SAAS,EAClB,CAAC,EAAC,kOAAkO,GACpO,EACF,iCACE,IAAI,EAAC,OAAO,EACZ,QAAQ,EAAC,SAAS,EAClB,CAAC,EAAC,mjCAAmjC,GACrjC,IACA,GACA,CACP,CAAC;AACJ,CAAC,CAAC;AA3BW,QAAA,WAAW,eA2BtB","sourcesContent":["import React from 'react';\n\ninterface BitcoinLogoProps {\n width?: number;\n height?: number;\n className?: string;\n}\n\nexport const BitcoinLogo: React.FC<BitcoinLogoProps> = ({\n width = 48,\n height = 48,\n className = '',\n}) => {\n return (\n <svg\n width={width}\n height={height}\n viewBox=\"0 0 4091.27 4091.73\"\n className={className}\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <g>\n <path\n fill=\"#F7931A\"\n fillRule=\"nonzero\"\n d=\"M4030.06 2540.77c-273.24,1096.01 -1383.32,1763.02 -2479.46,1489.71 -1095.68,-273.24 -1762.69,-1383.39 -1489.33,-2479.31 273.12,-1096.13 1383.2,-1763.19 2479,-1489.95 1096.06,273.24 1763.03,1383.51 1489.76,2479.57l0.02 -0.02z\"\n />\n <path\n fill=\"white\"\n fillRule=\"nonzero\"\n d=\"M2947.77 1754.38c40.72,-272.26 -166.56,-418.61 -450,-516.24l91.95 -368.8 -224.5 -55.94 -89.51 359.09c-59.02,-14.72 -119.63,-28.59 -179.87,-42.34l90.16 -361.46 -224.36 -55.94 -92 368.68c-48.84,-11.12 -96.81,-22.11 -143.35,-33.69l0.26 -1.16 -309.59 -77.31 -59.72 239.78c0,0 166.56,38.18 163.05,40.53 90.91,22.69 107.35,82.87 104.62,130.57l-104.74 420.15c6.26,1.59 14.38,3.89 23.34,7.49 -7.49,-1.86 -15.46,-3.89 -23.73,-5.87l-146.81 588.57c-11.11,27.62 -39.31,69.07 -102.87,53.33 2.25,3.26 -163.17,-40.72 -163.17,-40.72l-111.46 256.98 292.15 72.83c54.35,13.63 107.61,27.89 160.06,41.3l-92.9 373.03 224.24 55.94 92 -369.07c61.26,16.63 120.71,31.97 178.91,46.43l-91.69 367.33 224.51 55.94 92.89 -372.33c382.82,72.45 670.67,43.24 791.83,-303.02 97.63,-278.78 -4.86,-439.58 -206.26,-544.44 146.69,-33.83 257.18,-130.31 286.64,-329.61l-0.07 -0.05zm-512.93 719.26c-69.38,278.78 -538.76,128.08 -690.94,90.29l123.28 -494.2c152.17,37.99 640.17,113.17 567.67,403.91zm69.43 -723.3c-63.29,253.58 -453.96,124.75 -580.69,93.16l111.77 -448.21c126.73,31.59 534.85,90.55 468.94,355.05l-0.02 0z\"\n />\n </g>\n </svg>\n );\n};\n"]}