@pinerohit11/testwidget 0.1.10 → 0.1.11

Sign up to get free protection for your applications and to get access to all the features.
Files changed (193) hide show
  1. package/.next/cache/webpack/client-development/0.pack.gz +0 -0
  2. package/.next/cache/webpack/client-development/1.pack.gz +0 -0
  3. package/.next/cache/webpack/client-development/10.pack.gz +0 -0
  4. package/.next/cache/webpack/client-development/2.pack.gz +0 -0
  5. package/.next/cache/webpack/client-development/3.pack.gz +0 -0
  6. package/.next/cache/webpack/client-development/4.pack.gz +0 -0
  7. package/.next/cache/webpack/client-development/5.pack.gz +0 -0
  8. package/.next/cache/webpack/client-development/6.pack.gz +0 -0
  9. package/.next/cache/webpack/client-development/index.pack.gz +0 -0
  10. package/.next/cache/webpack/client-development/index.pack.gz.old +0 -0
  11. package/.next/cache/webpack/server-development/0.pack.gz +0 -0
  12. package/.next/cache/webpack/server-development/1.pack.gz +0 -0
  13. package/.next/cache/webpack/server-development/10.pack.gz +0 -0
  14. package/.next/cache/webpack/server-development/11.pack.gz +0 -0
  15. package/.next/cache/webpack/server-development/12.pack.gz +0 -0
  16. package/.next/cache/webpack/server-development/13.pack.gz +0 -0
  17. package/.next/cache/webpack/server-development/3.pack.gz +0 -0
  18. package/.next/cache/webpack/server-development/6.pack.gz +0 -0
  19. package/.next/cache/webpack/server-development/7.pack.gz +0 -0
  20. package/.next/cache/webpack/server-development/9.pack.gz +0 -0
  21. package/.next/cache/webpack/server-development/index.pack.gz +0 -0
  22. package/.next/cache/webpack/server-development/index.pack.gz.old +0 -0
  23. package/.next/server/vendor-chunks/next.js +5 -5
  24. package/.next/server/webpack-runtime.js +1 -1
  25. package/.next/static/chunks/app/layout.js +3 -3
  26. package/.next/static/chunks/app-pages-internals.js +1 -1
  27. package/.next/static/chunks/main-app.js +5 -5
  28. package/.next/static/chunks/webpack.js +1 -1
  29. package/.next/static/webpack/app/{layout.2d35c83f0037d0e3.hot-update.js → layout.5ff03b504f4dc152.hot-update.js} +2 -2
  30. package/.next/static/webpack/app/{layout.eabe83a6bd680d72.hot-update.js → layout.e1d7a6f7992b7b70.hot-update.js} +2 -2
  31. package/.next/static/webpack/{webpack.1f1fe21203e4c68b.hot-update.js → webpack.5ff03b504f4dc152.hot-update.js} +1 -1
  32. package/.next/static/webpack/{webpack.213fdb98a15e3455.hot-update.js → webpack.e1d7a6f7992b7b70.hot-update.js} +1 -1
  33. package/.next/trace +14 -116
  34. package/dist/{index.mjs → index.cjs} +75 -41
  35. package/dist/index.js +41 -75
  36. package/package.json +4 -3
  37. package/.next/static/webpack/0463e0d10a76f0e1.webpack.hot-update.json +0 -1
  38. package/.next/static/webpack/14eb1ee43b84ca5f.webpack.hot-update.json +0 -1
  39. package/.next/static/webpack/1f1fe21203e4c68b.webpack.hot-update.json +0 -1
  40. package/.next/static/webpack/213fdb98a15e3455.webpack.hot-update.json +0 -1
  41. package/.next/static/webpack/255aea9c6475b746.webpack.hot-update.json +0 -1
  42. package/.next/static/webpack/309e2d9634152b60.webpack.hot-update.json +0 -1
  43. package/.next/static/webpack/329e12e211658503.webpack.hot-update.json +0 -1
  44. package/.next/static/webpack/456a8cdc4e32bb1b.webpack.hot-update.json +0 -1
  45. package/.next/static/webpack/4a9375b8e793c38e.webpack.hot-update.json +0 -1
  46. package/.next/static/webpack/500c5340fb4c6cd5.webpack.hot-update.json +0 -1
  47. package/.next/static/webpack/5031cfaa2d3d892d.webpack.hot-update.json +0 -1
  48. package/.next/static/webpack/51f0e2a03e8d18a6.webpack.hot-update.json +0 -1
  49. package/.next/static/webpack/5ad56258b0e90bef.webpack.hot-update.json +0 -1
  50. package/.next/static/webpack/5c7e83ae2adb882e.webpack.hot-update.json +0 -1
  51. package/.next/static/webpack/5c8dada5acec56f7.webpack.hot-update.json +0 -1
  52. package/.next/static/webpack/5e709b5694e5ad26.webpack.hot-update.json +0 -1
  53. package/.next/static/webpack/6246449706d4b449.webpack.hot-update.json +0 -1
  54. package/.next/static/webpack/6498563004a57942.webpack.hot-update.json +0 -1
  55. package/.next/static/webpack/65c43818d6f690fe.webpack.hot-update.json +0 -1
  56. package/.next/static/webpack/681ce36f0645d689.webpack.hot-update.json +0 -1
  57. package/.next/static/webpack/6f00711e3d258954.webpack.hot-update.json +0 -1
  58. package/.next/static/webpack/81f6646c28a82804.webpack.hot-update.json +0 -1
  59. package/.next/static/webpack/8522f92ca02de0c8.webpack.hot-update.json +0 -1
  60. package/.next/static/webpack/8894e91a6b3fd5cb.webpack.hot-update.json +0 -1
  61. package/.next/static/webpack/893ddc36c19de1ea.webpack.hot-update.json +0 -1
  62. package/.next/static/webpack/896c5501cdf537b3.webpack.hot-update.json +0 -1
  63. package/.next/static/webpack/8cc442b31ec27e60.webpack.hot-update.json +0 -1
  64. package/.next/static/webpack/8ed684f639abe58b.webpack.hot-update.json +0 -1
  65. package/.next/static/webpack/97615cc2d368fba4.webpack.hot-update.json +0 -1
  66. package/.next/static/webpack/9775f51aeb80d3b2.webpack.hot-update.json +0 -1
  67. package/.next/static/webpack/9bbf208246a2eebb.webpack.hot-update.json +0 -1
  68. package/.next/static/webpack/a74f1afad4b7a8a2.webpack.hot-update.json +0 -1
  69. package/.next/static/webpack/aed2ae614f6605ed.webpack.hot-update.json +0 -1
  70. package/.next/static/webpack/app/layout.228b69a2a9a20202.hot-update.js +0 -22
  71. package/.next/static/webpack/app/layout.456a8cdc4e32bb1b.hot-update.js +0 -22
  72. package/.next/static/webpack/app/layout.8894e91a6b3fd5cb.hot-update.js +0 -22
  73. package/.next/static/webpack/app/layout.a74f1afad4b7a8a2.hot-update.js +0 -98
  74. package/.next/static/webpack/app/layout.bb4485d5c54b0ed1.hot-update.js +0 -22
  75. package/.next/static/webpack/app/layout.e5533e94660e066c.hot-update.js +0 -31
  76. package/.next/static/webpack/app/layout.f3f79b681eb03ce7.hot-update.js +0 -22
  77. package/.next/static/webpack/app/page.0463e0d10a76f0e1.hot-update.js +0 -22
  78. package/.next/static/webpack/app/page.14eb1ee43b84ca5f.hot-update.js +0 -22
  79. package/.next/static/webpack/app/page.1f1fe21203e4c68b.hot-update.js +0 -21
  80. package/.next/static/webpack/app/page.213fdb98a15e3455.hot-update.js +0 -22
  81. package/.next/static/webpack/app/page.255aea9c6475b746.hot-update.js +0 -22
  82. package/.next/static/webpack/app/page.309e2d9634152b60.hot-update.js +0 -22
  83. package/.next/static/webpack/app/page.329e12e211658503.hot-update.js +0 -22
  84. package/.next/static/webpack/app/page.4a9375b8e793c38e.hot-update.js +0 -22
  85. package/.next/static/webpack/app/page.500c5340fb4c6cd5.hot-update.js +0 -22
  86. package/.next/static/webpack/app/page.5031cfaa2d3d892d.hot-update.js +0 -22
  87. package/.next/static/webpack/app/page.51f0e2a03e8d18a6.hot-update.js +0 -22
  88. package/.next/static/webpack/app/page.5ad56258b0e90bef.hot-update.js +0 -22
  89. package/.next/static/webpack/app/page.5c7e83ae2adb882e.hot-update.js +0 -22
  90. package/.next/static/webpack/app/page.5c8dada5acec56f7.hot-update.js +0 -22
  91. package/.next/static/webpack/app/page.5e709b5694e5ad26.hot-update.js +0 -22
  92. package/.next/static/webpack/app/page.6246449706d4b449.hot-update.js +0 -22
  93. package/.next/static/webpack/app/page.6498563004a57942.hot-update.js +0 -22
  94. package/.next/static/webpack/app/page.65c43818d6f690fe.hot-update.js +0 -22
  95. package/.next/static/webpack/app/page.681ce36f0645d689.hot-update.js +0 -22
  96. package/.next/static/webpack/app/page.6f00711e3d258954.hot-update.js +0 -22
  97. package/.next/static/webpack/app/page.81f6646c28a82804.hot-update.js +0 -22
  98. package/.next/static/webpack/app/page.8522f92ca02de0c8.hot-update.js +0 -54
  99. package/.next/static/webpack/app/page.893ddc36c19de1ea.hot-update.js +0 -22
  100. package/.next/static/webpack/app/page.896c5501cdf537b3.hot-update.js +0 -22
  101. package/.next/static/webpack/app/page.8cc442b31ec27e60.hot-update.js +0 -22
  102. package/.next/static/webpack/app/page.8ed684f639abe58b.hot-update.js +0 -603
  103. package/.next/static/webpack/app/page.97615cc2d368fba4.hot-update.js +0 -22
  104. package/.next/static/webpack/app/page.9775f51aeb80d3b2.hot-update.js +0 -22
  105. package/.next/static/webpack/app/page.9bbf208246a2eebb.hot-update.js +0 -22
  106. package/.next/static/webpack/app/page.aed2ae614f6605ed.hot-update.js +0 -22
  107. package/.next/static/webpack/app/page.b4b25d4db23dbc5a.hot-update.js +0 -22
  108. package/.next/static/webpack/app/page.b728482f9b82d921.hot-update.js +0 -571
  109. package/.next/static/webpack/app/page.b7a42026022db1f3.hot-update.js +0 -22
  110. package/.next/static/webpack/app/page.b90118a4d57e76ad.hot-update.js +0 -54
  111. package/.next/static/webpack/app/page.c0a3bb4128bc91cb.hot-update.js +0 -22
  112. package/.next/static/webpack/app/page.c5880161e6d8c38b.hot-update.js +0 -22
  113. package/.next/static/webpack/app/page.c91faac87e6e5e7d.hot-update.js +0 -21
  114. package/.next/static/webpack/app/page.cb281b61855d3afc.hot-update.js +0 -22
  115. package/.next/static/webpack/app/page.cc723ec7106788b2.hot-update.js +0 -22
  116. package/.next/static/webpack/app/page.d00ead7a6d6dd27a.hot-update.js +0 -22
  117. package/.next/static/webpack/app/page.d5492b6ce3aff19a.hot-update.js +0 -22
  118. package/.next/static/webpack/app/page.e1a0b7850e69b555.hot-update.js +0 -22
  119. package/.next/static/webpack/app/page.e6094793daace46f.hot-update.js +0 -22
  120. package/.next/static/webpack/app/page.ef9190246958611b.hot-update.js +0 -22
  121. package/.next/static/webpack/b4b25d4db23dbc5a.webpack.hot-update.json +0 -1
  122. package/.next/static/webpack/b728482f9b82d921.webpack.hot-update.json +0 -1
  123. package/.next/static/webpack/b7a42026022db1f3.webpack.hot-update.json +0 -1
  124. package/.next/static/webpack/b90118a4d57e76ad.webpack.hot-update.json +0 -1
  125. package/.next/static/webpack/bb4485d5c54b0ed1.webpack.hot-update.json +0 -1
  126. package/.next/static/webpack/c0a3bb4128bc91cb.webpack.hot-update.json +0 -1
  127. package/.next/static/webpack/c5880161e6d8c38b.webpack.hot-update.json +0 -1
  128. package/.next/static/webpack/c91faac87e6e5e7d.webpack.hot-update.json +0 -1
  129. package/.next/static/webpack/cb281b61855d3afc.webpack.hot-update.json +0 -1
  130. package/.next/static/webpack/cc723ec7106788b2.webpack.hot-update.json +0 -1
  131. package/.next/static/webpack/d00ead7a6d6dd27a.webpack.hot-update.json +0 -1
  132. package/.next/static/webpack/d5492b6ce3aff19a.webpack.hot-update.json +0 -1
  133. package/.next/static/webpack/e1a0b7850e69b555.webpack.hot-update.json +0 -1
  134. package/.next/static/webpack/e5533e94660e066c.webpack.hot-update.json +0 -1
  135. package/.next/static/webpack/e6094793daace46f.webpack.hot-update.json +0 -1
  136. package/.next/static/webpack/eabe83a6bd680d72.webpack.hot-update.json +0 -1
  137. package/.next/static/webpack/ef9190246958611b.webpack.hot-update.json +0 -1
  138. package/.next/static/webpack/f3f79b681eb03ce7.webpack.hot-update.json +0 -1
  139. package/.next/static/webpack/webpack.0463e0d10a76f0e1.hot-update.js +0 -18
  140. package/.next/static/webpack/webpack.14eb1ee43b84ca5f.hot-update.js +0 -18
  141. package/.next/static/webpack/webpack.228b69a2a9a20202.hot-update.js +0 -18
  142. package/.next/static/webpack/webpack.255aea9c6475b746.hot-update.js +0 -18
  143. package/.next/static/webpack/webpack.2d35c83f0037d0e3.hot-update.js +0 -18
  144. package/.next/static/webpack/webpack.309e2d9634152b60.hot-update.js +0 -18
  145. package/.next/static/webpack/webpack.329e12e211658503.hot-update.js +0 -18
  146. package/.next/static/webpack/webpack.456a8cdc4e32bb1b.hot-update.js +0 -18
  147. package/.next/static/webpack/webpack.4a9375b8e793c38e.hot-update.js +0 -18
  148. package/.next/static/webpack/webpack.500c5340fb4c6cd5.hot-update.js +0 -18
  149. package/.next/static/webpack/webpack.5031cfaa2d3d892d.hot-update.js +0 -18
  150. package/.next/static/webpack/webpack.51f0e2a03e8d18a6.hot-update.js +0 -18
  151. package/.next/static/webpack/webpack.5ad56258b0e90bef.hot-update.js +0 -18
  152. package/.next/static/webpack/webpack.5c7e83ae2adb882e.hot-update.js +0 -18
  153. package/.next/static/webpack/webpack.5c8dada5acec56f7.hot-update.js +0 -18
  154. package/.next/static/webpack/webpack.5e709b5694e5ad26.hot-update.js +0 -18
  155. package/.next/static/webpack/webpack.6246449706d4b449.hot-update.js +0 -18
  156. package/.next/static/webpack/webpack.6498563004a57942.hot-update.js +0 -18
  157. package/.next/static/webpack/webpack.65c43818d6f690fe.hot-update.js +0 -18
  158. package/.next/static/webpack/webpack.681ce36f0645d689.hot-update.js +0 -18
  159. package/.next/static/webpack/webpack.6f00711e3d258954.hot-update.js +0 -18
  160. package/.next/static/webpack/webpack.81f6646c28a82804.hot-update.js +0 -18
  161. package/.next/static/webpack/webpack.8522f92ca02de0c8.hot-update.js +0 -30
  162. package/.next/static/webpack/webpack.8894e91a6b3fd5cb.hot-update.js +0 -18
  163. package/.next/static/webpack/webpack.893ddc36c19de1ea.hot-update.js +0 -18
  164. package/.next/static/webpack/webpack.896c5501cdf537b3.hot-update.js +0 -18
  165. package/.next/static/webpack/webpack.8cc442b31ec27e60.hot-update.js +0 -18
  166. package/.next/static/webpack/webpack.8ed684f639abe58b.hot-update.js +0 -18
  167. package/.next/static/webpack/webpack.97615cc2d368fba4.hot-update.js +0 -18
  168. package/.next/static/webpack/webpack.9775f51aeb80d3b2.hot-update.js +0 -18
  169. package/.next/static/webpack/webpack.9bbf208246a2eebb.hot-update.js +0 -18
  170. package/.next/static/webpack/webpack.a74f1afad4b7a8a2.hot-update.js +0 -18
  171. package/.next/static/webpack/webpack.aed2ae614f6605ed.hot-update.js +0 -18
  172. package/.next/static/webpack/webpack.b4b25d4db23dbc5a.hot-update.js +0 -18
  173. package/.next/static/webpack/webpack.b728482f9b82d921.hot-update.js +0 -18
  174. package/.next/static/webpack/webpack.b7a42026022db1f3.hot-update.js +0 -18
  175. package/.next/static/webpack/webpack.b90118a4d57e76ad.hot-update.js +0 -30
  176. package/.next/static/webpack/webpack.bb4485d5c54b0ed1.hot-update.js +0 -18
  177. package/.next/static/webpack/webpack.c0a3bb4128bc91cb.hot-update.js +0 -18
  178. package/.next/static/webpack/webpack.c5880161e6d8c38b.hot-update.js +0 -18
  179. package/.next/static/webpack/webpack.c91faac87e6e5e7d.hot-update.js +0 -18
  180. package/.next/static/webpack/webpack.cb281b61855d3afc.hot-update.js +0 -18
  181. package/.next/static/webpack/webpack.cc723ec7106788b2.hot-update.js +0 -18
  182. package/.next/static/webpack/webpack.d00ead7a6d6dd27a.hot-update.js +0 -18
  183. package/.next/static/webpack/webpack.d5492b6ce3aff19a.hot-update.js +0 -18
  184. package/.next/static/webpack/webpack.e1a0b7850e69b555.hot-update.js +0 -18
  185. package/.next/static/webpack/webpack.e5533e94660e066c.hot-update.js +0 -18
  186. package/.next/static/webpack/webpack.e6094793daace46f.hot-update.js +0 -18
  187. package/.next/static/webpack/webpack.eabe83a6bd680d72.hot-update.js +0 -18
  188. package/.next/static/webpack/webpack.ef9190246958611b.hot-update.js +0 -18
  189. package/.next/static/webpack/webpack.f3f79b681eb03ce7.hot-update.js +0 -18
  190. package/.vscode/settings.json +0 -22
  191. /package/.next/static/webpack/{228b69a2a9a20202.webpack.hot-update.json → 5ff03b504f4dc152.webpack.hot-update.json} +0 -0
  192. /package/.next/static/webpack/{2d35c83f0037d0e3.webpack.hot-update.json → e1d7a6f7992b7b70.webpack.hot-update.json} +0 -0
  193. /package/dist/{index.d.mts → index.d.cts} +0 -0
@@ -1,7 +1,12 @@
1
+ "use strict";
2
+ var __create = Object.create;
1
3
  var __defProp = Object.defineProperty;
2
4
  var __defProps = Object.defineProperties;
5
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
6
  var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
7
+ var __getOwnPropNames = Object.getOwnPropertyNames;
4
8
  var __getOwnPropSymbols = Object.getOwnPropertySymbols;
9
+ var __getProtoOf = Object.getPrototypeOf;
5
10
  var __hasOwnProp = Object.prototype.hasOwnProperty;
6
11
  var __propIsEnum = Object.prototype.propertyIsEnumerable;
7
12
  var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
@@ -17,18 +22,46 @@ var __spreadValues = (a, b) => {
17
22
  return a;
18
23
  };
19
24
  var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
25
+ var __export = (target, all) => {
26
+ for (var name in all)
27
+ __defProp(target, name, { get: all[name], enumerable: true });
28
+ };
29
+ var __copyProps = (to, from, except, desc) => {
30
+ if (from && typeof from === "object" || typeof from === "function") {
31
+ for (let key of __getOwnPropNames(from))
32
+ if (!__hasOwnProp.call(to, key) && key !== except)
33
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
34
+ }
35
+ return to;
36
+ };
37
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
38
+ // If the importer is in node compatibility mode or this is not an ESM
39
+ // file that has been converted to a CommonJS file using a Babel-
40
+ // compatible transform (i.e. "__esModule" has not been set), then set
41
+ // "default" to the CommonJS "module.exports" for node compatibility.
42
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
43
+ mod
44
+ ));
45
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
46
+
47
+ // src/app/index.ts
48
+ var app_exports = {};
49
+ __export(app_exports, {
50
+ PaywithFractal: () => PaywithFractal
51
+ });
52
+ module.exports = __toCommonJS(app_exports);
20
53
 
21
54
  // src/app/components/Greet.tsx
22
- import axios from "axios";
23
- import React, { useState } from "react";
55
+ var import_axios = __toESM(require("axios"), 1);
56
+ var import_react = __toESM(require("react"), 1);
24
57
  function PaywithFractal({ name, amount, orderId, fractalPayClientKey }) {
25
58
  const baseUrl = "http://192.168.1.52:8082/";
26
59
  const masterBaseUrl = "http://192.168.1.52:8081/";
27
60
  console.log(name, "name");
28
- const [dcToken, setDcToken] = useState("");
29
- const [error, setError] = useState({});
30
- const [toggleQr, setToggleQr] = useState(false);
31
- const [formData, setFormData] = useState({
61
+ const [dcToken, setDcToken] = (0, import_react.useState)("");
62
+ const [error, setError] = (0, import_react.useState)({});
63
+ const [toggleQr, setToggleQr] = (0, import_react.useState)(false);
64
+ const [formData, setFormData] = (0, import_react.useState)({
32
65
  name: "John Doe",
33
66
  card_number: "4761 7310 0000 0043",
34
67
  exp_month: "12",
@@ -36,7 +69,7 @@ function PaywithFractal({ name, amount, orderId, fractalPayClientKey }) {
36
69
  cvv: "201",
37
70
  zip: ""
38
71
  });
39
- const [loading, setLoading] = useState(false);
72
+ const [loading, setLoading] = (0, import_react.useState)(false);
40
73
  const handleSubmit = async (e) => {
41
74
  var _a, _b, _c, _d, _e, _f, _g;
42
75
  e.preventDefault();
@@ -51,7 +84,7 @@ function PaywithFractal({ name, amount, orderId, fractalPayClientKey }) {
51
84
  if (Object.keys(error).length < 1) {
52
85
  try {
53
86
  setLoading(true);
54
- const res = await axios.post(`${baseUrl}create-widget-order`, data, {
87
+ const res = await import_axios.default.post(`${baseUrl}create-widget-order`, data, {
55
88
  headers: {
56
89
  "Content-Type": "application/json"
57
90
  }
@@ -75,7 +108,7 @@ function PaywithFractal({ name, amount, orderId, fractalPayClientKey }) {
75
108
  postal_code: formData.zip
76
109
  }, response);
77
110
  try {
78
- const resp = await axios.post(`${masterBaseUrl}quick-pay/${(_b2 = (_a2 = res.data) == null ? void 0 : _a2.data) == null ? void 0 : _b2.posSalesIdEncode}`, quickData, {
111
+ const resp = await import_axios.default.post(`${masterBaseUrl}quick-pay/${(_b2 = (_a2 = res.data) == null ? void 0 : _a2.data) == null ? void 0 : _b2.posSalesIdEncode}`, quickData, {
79
112
  headers
80
113
  });
81
114
  setLoading(false);
@@ -198,7 +231,7 @@ function PaywithFractal({ name, amount, orderId, fractalPayClientKey }) {
198
231
  const handlePay = () => {
199
232
  console.log("pay", name, baseUrl, masterBaseUrl);
200
233
  };
201
- return /* @__PURE__ */ React.createElement("div", { className: "bg-black" }, /* @__PURE__ */ React.createElement("div", { className: "container bg-black" }, /* @__PURE__ */ React.createElement("div", { className: "row bg-light no-gutters" }, /* @__PURE__ */ React.createElement("div", { className: "col-sm-12" }, /* @__PURE__ */ React.createElement("div", { className: "bd-example bd-example-tabs right-tabs mttabs m-3 " }, /* @__PURE__ */ React.createElement("div", { className: "payment-popup" }, /* @__PURE__ */ React.createElement("button", { className: "close-pop", style: { display: "none" } }, /* @__PURE__ */ React.createElement(
234
+ return /* @__PURE__ */ import_react.default.createElement("div", { className: "bg-black" }, /* @__PURE__ */ import_react.default.createElement("div", { className: "container bg-black" }, /* @__PURE__ */ import_react.default.createElement("div", { className: "row bg-light no-gutters" }, /* @__PURE__ */ import_react.default.createElement("div", { className: "col-sm-12" }, /* @__PURE__ */ import_react.default.createElement("div", { className: "bd-example bd-example-tabs right-tabs mttabs m-3 " }, /* @__PURE__ */ import_react.default.createElement("div", { className: "payment-popup" }, /* @__PURE__ */ import_react.default.createElement("button", { className: "close-pop", style: { display: "none" } }, /* @__PURE__ */ import_react.default.createElement(
202
235
  "svg",
203
236
  {
204
237
  xmlns: "http://www.w3.org/2000/svg",
@@ -206,7 +239,7 @@ function PaywithFractal({ name, amount, orderId, fractalPayClientKey }) {
206
239
  height: 37,
207
240
  viewBox: "0 0 21 21"
208
241
  },
209
- /* @__PURE__ */ React.createElement(
242
+ /* @__PURE__ */ import_react.default.createElement(
210
243
  "path",
211
244
  {
212
245
  fill: "none",
@@ -216,14 +249,14 @@ function PaywithFractal({ name, amount, orderId, fractalPayClientKey }) {
216
249
  d: "m7.5 7.5l6 6m0-6l-6 6"
217
250
  }
218
251
  )
219
- )), /* @__PURE__ */ React.createElement("div", { className: "row" }, /* @__PURE__ */ React.createElement("div", { className: "comp-name" }, /* @__PURE__ */ React.createElement(
252
+ )), /* @__PURE__ */ import_react.default.createElement("div", { className: "row" }, /* @__PURE__ */ import_react.default.createElement("div", { className: "comp-name" }, /* @__PURE__ */ import_react.default.createElement(
220
253
  "img",
221
254
  {
222
255
  src: "https://invoicestaging.skysystemz.com/assets/products/65c49a2740ff1.png",
223
256
  alt: "",
224
257
  className: "client-logo"
225
258
  }
226
- )), /* @__PURE__ */ React.createElement("div", { className: "" }, /* @__PURE__ */ React.createElement("div", { id: "Checkout", className: "inline" }, /* @__PURE__ */ React.createElement("div", { className: "header" }, /* @__PURE__ */ React.createElement("h1", null, "Pay"), /* @__PURE__ */ React.createElement(
259
+ )), /* @__PURE__ */ import_react.default.createElement("div", { className: "" }, /* @__PURE__ */ import_react.default.createElement("div", { id: "Checkout", className: "inline" }, /* @__PURE__ */ import_react.default.createElement("div", { className: "header" }, /* @__PURE__ */ import_react.default.createElement("h1", null, "Pay"), /* @__PURE__ */ import_react.default.createElement(
227
260
  "i",
228
261
  {
229
262
  className: "fa fa-qrcode fa-2x",
@@ -231,23 +264,23 @@ function PaywithFractal({ name, amount, orderId, fractalPayClientKey }) {
231
264
  title: "Show QR Code",
232
265
  onClick: () => setToggleQr(!toggleQr)
233
266
  }
234
- )), /* @__PURE__ */ React.createElement("div", { id: "qrCode", style: {
267
+ )), /* @__PURE__ */ import_react.default.createElement("div", { id: "qrCode", style: {
235
268
  display: toggleQr ? "block" : "none"
236
- } }, /* @__PURE__ */ React.createElement(
269
+ } }, /* @__PURE__ */ import_react.default.createElement(
237
270
  "img",
238
271
  {
239
272
  src: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAARQAAAEUCAYAAADqcMl5AAAAAklEQVR4AewaftIAABJaSURBVO3BQY7gRhLAQFLo/3+ZO8c8FSCoemwvMsL+YK21LnhYa61LHtZa65KHtda65GGttS55WGutSx7WWuuSh7XWuuRhrbUueVhrrUse1lrrkoe11rrkYa21LnlYa61LHtZa65KHtda65IePVP6miknlpGJSualiUjmpOFGZKk5UpopJ5YuKE5WpYlI5qZhU3qiYVKaKSeWkYlI5qXhD5aRiUvmbKr54WGutSx7WWuuSh7XWuuSHyypuUvlNFW+oTCpTxRsqU8UXKlPFicqJylRxonJScVLxhspU8UbFGxX/pI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RuelhrrUse1lrrkoe11rrkh/8zFZPKVDGpTConFZPKVDGpnFRMKlPFpDJVfFExqZxUnKi8oXJSMalMFVPFFyonFVPFpDJVnKhMFVPFpPJFxW96WGutSx7WWuuSh7XWuuSHX1bxmyomlaliUnmj4qRiUpkqJpWTipOKSWWqOFF5Q+WkYqqYVKaKSeVE5QuVqWJSmSreUJkqJpWTikllqpgq/s0e1lrrkoe11rrkYa21LvnhMpV/UsWkMlVMKicqJxVTxRcqU8VJxRsVJypTxRsqX1S8oTJVnKhMFZPKScVUMalMFScqU8WkclIxqfyTHtZa65KHtda65GGttS6xP1hrrQse1lrrkoe11rrkYa21LnlYa61LHtZa65KHtda65GGttS55WGutSx7WWuuSh7XWuuRhrbUueVhrrUse1lrrkoe11rrkYa21Lvkf/C+HzIiJCzEAAAAASUVORK5CYII=",
240
273
  alt: "QRCode",
241
274
  srcSet: ""
242
275
  }
243
- )), /* @__PURE__ */ React.createElement(
276
+ )), /* @__PURE__ */ import_react.default.createElement(
244
277
  "form",
245
278
  {
246
279
  id: "PaymentForm",
247
280
  className: "payment-form",
248
281
  onSubmit: handleSubmit
249
282
  },
250
- /* @__PURE__ */ React.createElement(
283
+ /* @__PURE__ */ import_react.default.createElement(
251
284
  "input",
252
285
  {
253
286
  type: "hidden",
@@ -256,8 +289,8 @@ function PaywithFractal({ name, amount, orderId, fractalPayClientKey }) {
256
289
  name: "dctoken"
257
290
  }
258
291
  ),
259
- /* @__PURE__ */ React.createElement("div", { className: "form-group top-amnt" }, /* @__PURE__ */ React.createElement("div", { className: "amtleft" }, /* @__PURE__ */ React.createElement("label", { htmlFor: "Amount" }, "Payment amount"), /* @__PURE__ */ React.createElement("div", { className: "amount-placeholder" }, /* @__PURE__ */ React.createElement("span", null, "$"), /* @__PURE__ */ React.createElement("span", null, " 1.00 "))), /* @__PURE__ */ React.createElement("div", { className: "card-row" }, /* @__PURE__ */ React.createElement("span", { className: "visa" }), /* @__PURE__ */ React.createElement("span", { className: "mastercard" }), /* @__PURE__ */ React.createElement("span", { className: "amex" }), /* @__PURE__ */ React.createElement("span", { className: "discover" }))),
260
- /* @__PURE__ */ React.createElement("div", { className: "form-group" }, /* @__PURE__ */ React.createElement("label", { htmlFor: "NameOnCard" }, "Name on card"), /* @__PURE__ */ React.createElement(
292
+ /* @__PURE__ */ import_react.default.createElement("div", { className: "form-group top-amnt" }, /* @__PURE__ */ import_react.default.createElement("div", { className: "amtleft" }, /* @__PURE__ */ import_react.default.createElement("label", { htmlFor: "Amount" }, "Payment amount"), /* @__PURE__ */ import_react.default.createElement("div", { className: "amount-placeholder" }, /* @__PURE__ */ import_react.default.createElement("span", null, "$"), /* @__PURE__ */ import_react.default.createElement("span", null, " 1.00 "))), /* @__PURE__ */ import_react.default.createElement("div", { className: "card-row" }, /* @__PURE__ */ import_react.default.createElement("span", { className: "visa" }), /* @__PURE__ */ import_react.default.createElement("span", { className: "mastercard" }), /* @__PURE__ */ import_react.default.createElement("span", { className: "amex" }), /* @__PURE__ */ import_react.default.createElement("span", { className: "discover" }))),
293
+ /* @__PURE__ */ import_react.default.createElement("div", { className: "form-group" }, /* @__PURE__ */ import_react.default.createElement("label", { htmlFor: "NameOnCard" }, "Name on card"), /* @__PURE__ */ import_react.default.createElement(
261
294
  "input",
262
295
  {
263
296
  "data-token": "name",
@@ -269,14 +302,14 @@ function PaywithFractal({ name, amount, orderId, fractalPayClientKey }) {
269
302
  value: formData == null ? void 0 : formData.name,
270
303
  onChange: handleChange
271
304
  }
272
- ), /* @__PURE__ */ React.createElement(
305
+ ), /* @__PURE__ */ import_react.default.createElement(
273
306
  "span",
274
307
  {
275
308
  id: "NameOnCard-error",
276
309
  style: { color: "red" }
277
310
  }
278
311
  )),
279
- /* @__PURE__ */ React.createElement("div", { className: "form-group" }, /* @__PURE__ */ React.createElement(
312
+ /* @__PURE__ */ import_react.default.createElement("div", { className: "form-group" }, /* @__PURE__ */ import_react.default.createElement(
280
313
  "input",
281
314
  {
282
315
  "data-token": "card_number",
@@ -287,7 +320,7 @@ function PaywithFractal({ name, amount, orderId, fractalPayClientKey }) {
287
320
  value: handleCardFormat(formData == null ? void 0 : formData.card_number),
288
321
  onChange: handleChange
289
322
  }
290
- ), error.card_number && /* @__PURE__ */ React.createElement(
323
+ ), error.card_number && /* @__PURE__ */ import_react.default.createElement(
291
324
  "span",
292
325
  {
293
326
  id: "card_number-error",
@@ -295,7 +328,7 @@ function PaywithFractal({ name, amount, orderId, fractalPayClientKey }) {
295
328
  },
296
329
  error.card_number
297
330
  )),
298
- /* @__PURE__ */ React.createElement("div", { className: "expiry-date-group form-group" }, /* @__PURE__ */ React.createElement(
331
+ /* @__PURE__ */ import_react.default.createElement("div", { className: "expiry-date-group form-group" }, /* @__PURE__ */ import_react.default.createElement(
299
332
  "input",
300
333
  {
301
334
  "data-token": "exp_month",
@@ -306,7 +339,7 @@ function PaywithFractal({ name, amount, orderId, fractalPayClientKey }) {
306
339
  value: formData == null ? void 0 : formData.exp_month,
307
340
  onChange: handleChange
308
341
  }
309
- ), error.exp_month && /* @__PURE__ */ React.createElement(
342
+ ), error.exp_month && /* @__PURE__ */ import_react.default.createElement(
310
343
  "span",
311
344
  {
312
345
  id: "exp_month-error",
@@ -314,7 +347,7 @@ function PaywithFractal({ name, amount, orderId, fractalPayClientKey }) {
314
347
  },
315
348
  error.exp_month
316
349
  )),
317
- /* @__PURE__ */ React.createElement("div", { className: "expiry-date-group form-group" }, /* @__PURE__ */ React.createElement(
350
+ /* @__PURE__ */ import_react.default.createElement("div", { className: "expiry-date-group form-group" }, /* @__PURE__ */ import_react.default.createElement(
318
351
  "input",
319
352
  {
320
353
  "data-token": "exp_year",
@@ -325,7 +358,7 @@ function PaywithFractal({ name, amount, orderId, fractalPayClientKey }) {
325
358
  value: formData == null ? void 0 : formData.exp_year,
326
359
  onChange: handleChange
327
360
  }
328
- ), error.exp_year && /* @__PURE__ */ React.createElement(
361
+ ), error.exp_year && /* @__PURE__ */ import_react.default.createElement(
329
362
  "span",
330
363
  {
331
364
  id: "exp_year-error",
@@ -333,7 +366,7 @@ function PaywithFractal({ name, amount, orderId, fractalPayClientKey }) {
333
366
  },
334
367
  error.exp_year
335
368
  )),
336
- /* @__PURE__ */ React.createElement("div", { className: "security-code-group form-group" }, /* @__PURE__ */ React.createElement("div", { className: "input-container" }, /* @__PURE__ */ React.createElement(
369
+ /* @__PURE__ */ import_react.default.createElement("div", { className: "security-code-group form-group" }, /* @__PURE__ */ import_react.default.createElement("div", { className: "input-container" }, /* @__PURE__ */ import_react.default.createElement(
337
370
  "input",
338
371
  {
339
372
  "data-token": "cvv",
@@ -344,15 +377,15 @@ function PaywithFractal({ name, amount, orderId, fractalPayClientKey }) {
344
377
  value: formData == null ? void 0 : formData.cvv,
345
378
  onChange: handleChange
346
379
  }
347
- ), /* @__PURE__ */ React.createElement("i", { id: "cvc", className: "fa fa-question-circle" })), error.cvv && /* @__PURE__ */ React.createElement(
380
+ ), /* @__PURE__ */ import_react.default.createElement("i", { id: "cvc", className: "fa fa-question-circle" })), error.cvv && /* @__PURE__ */ import_react.default.createElement(
348
381
  "span",
349
382
  {
350
383
  id: "cvv-error",
351
384
  style: { color: "red" }
352
385
  },
353
386
  error.cvv
354
- ), /* @__PURE__ */ React.createElement("div", { className: "cvc-preview-container two-card hide" }, /* @__PURE__ */ React.createElement("div", { className: "amex-cvc-preview" }), /* @__PURE__ */ React.createElement("div", { className: "visa-mc-dis-cvc-preview" }))),
355
- /* @__PURE__ */ React.createElement("div", { className: "zip-code-group form-group" }, /* @__PURE__ */ React.createElement("label", { htmlFor: "ZIPCode" }, "Postal code"), /* @__PURE__ */ React.createElement("div", { className: "input-container" }, /* @__PURE__ */ React.createElement(
387
+ ), /* @__PURE__ */ import_react.default.createElement("div", { className: "cvc-preview-container two-card hide" }, /* @__PURE__ */ import_react.default.createElement("div", { className: "amex-cvc-preview" }), /* @__PURE__ */ import_react.default.createElement("div", { className: "visa-mc-dis-cvc-preview" }))),
388
+ /* @__PURE__ */ import_react.default.createElement("div", { className: "zip-code-group form-group" }, /* @__PURE__ */ import_react.default.createElement("label", { htmlFor: "ZIPCode" }, "Postal code"), /* @__PURE__ */ import_react.default.createElement("div", { className: "input-container" }, /* @__PURE__ */ import_react.default.createElement(
356
389
  "input",
357
390
  {
358
391
  id: "ZIPCode",
@@ -364,7 +397,7 @@ function PaywithFractal({ name, amount, orderId, fractalPayClientKey }) {
364
397
  value: formData == null ? void 0 : formData.zip,
365
398
  onChange: handleChange
366
399
  }
367
- ), /* @__PURE__ */ React.createElement(
400
+ ), /* @__PURE__ */ import_react.default.createElement(
368
401
  "a",
369
402
  {
370
403
  tabIndex: 0,
@@ -374,8 +407,8 @@ function PaywithFractal({ name, amount, orderId, fractalPayClientKey }) {
374
407
  "data-placement": "left",
375
408
  "data-content": "Enter the ZIP/Postal code for your credit card billing address."
376
409
  },
377
- /* @__PURE__ */ React.createElement("i", { className: "fa fa-question-circle" })
378
- ), /* @__PURE__ */ React.createElement(
410
+ /* @__PURE__ */ import_react.default.createElement("i", { className: "fa fa-question-circle" })
411
+ ), /* @__PURE__ */ import_react.default.createElement(
379
412
  "span",
380
413
  {
381
414
  id: "ZIPCode-error",
@@ -383,17 +416,17 @@ function PaywithFractal({ name, amount, orderId, fractalPayClientKey }) {
383
416
  },
384
417
  "This field is required"
385
418
  ))),
386
- /* @__PURE__ */ React.createElement(
419
+ /* @__PURE__ */ import_react.default.createElement(
387
420
  "button",
388
421
  {
389
422
  id: "PayButton",
390
423
  className: "btn btn-block btn-success submit-button",
391
424
  type: "submit"
392
425
  },
393
- /* @__PURE__ */ React.createElement("span", { className: "submit-button-lock" }),
394
- /* @__PURE__ */ React.createElement("span", { className: "align-middle" }, "Pay $1.00")
426
+ /* @__PURE__ */ import_react.default.createElement("span", { className: "submit-button-lock" }),
427
+ /* @__PURE__ */ import_react.default.createElement("span", { className: "align-middle" }, "Pay $1.00")
395
428
  )
396
- ), /* @__PURE__ */ React.createElement("div", { className: "powerd-by-part" }, /* @__PURE__ */ React.createElement(
429
+ ), /* @__PURE__ */ import_react.default.createElement("div", { className: "powerd-by-part" }, /* @__PURE__ */ import_react.default.createElement(
397
430
  "svg",
398
431
  {
399
432
  xmlns: "http://www.w3.org/2000/svg",
@@ -401,14 +434,14 @@ function PaywithFractal({ name, amount, orderId, fractalPayClientKey }) {
401
434
  height: 20,
402
435
  viewBox: "0 0 26 26"
403
436
  },
404
- /* @__PURE__ */ React.createElement(
437
+ /* @__PURE__ */ import_react.default.createElement(
405
438
  "path",
406
439
  {
407
440
  fill: "currentColor",
408
441
  d: "M23.633 5.028a1.074 1.074 0 0 0-.777-.366c-2.295-.06-5.199-2.514-7.119-3.477C14.551.592 13.768.201 13.18.098a1.225 1.225 0 0 0-.36.001c-.588.103-1.371.494-2.556 1.087c-1.92.962-4.824 3.416-7.119 3.476a1.08 1.08 0 0 0-.778.366a1.167 1.167 0 0 0-.291.834c.493 10.023 4.088 16.226 10.396 19.831c.164.093.346.141.527.141s.363-.048.528-.141c6.308-3.605 9.902-9.808 10.396-19.831a1.161 1.161 0 0 0-.29-.834zM18.617 8.97l-5.323 7.855c-.191.282-.491.469-.788.469c-.298 0-.629-.163-.838-.372l-3.752-3.753a.656.656 0 0 1 0-.926l.927-.929a.658.658 0 0 1 .926 0l2.44 2.44l4.239-6.257a.657.657 0 0 1 .91-.173l1.085.736a.657.657 0 0 1 .174.91z"
409
442
  }
410
443
  )
411
- ), "Secure payments powered by Fractal", /* @__PURE__ */ React.createElement(
444
+ ), "Secure payments powered by Fractal", /* @__PURE__ */ import_react.default.createElement(
412
445
  "img",
413
446
  {
414
447
  src: "https://ui.fractalpay.com/favicon.ico",
@@ -417,6 +450,7 @@ function PaywithFractal({ name, amount, orderId, fractalPayClientKey }) {
417
450
  }
418
451
  )))))))))));
419
452
  }
420
- export {
453
+ // Annotate the CommonJS export names for ESM import in node:
454
+ 0 && (module.exports = {
421
455
  PaywithFractal
422
- };
456
+ });