@pinerohit11/testwidget 0.1.18 → 0.1.19

Sign up to get free protection for your applications and to get access to all the features.
Files changed (273) hide show
  1. package/.next/app-build-manifest.json +0 -5
  2. package/.next/cache/webpack/client-development/0.pack.gz +0 -0
  3. package/.next/cache/webpack/client-development/1.pack.gz +0 -0
  4. package/.next/cache/webpack/client-development/10.pack.gz +0 -0
  5. package/.next/cache/webpack/client-development/11.pack.gz +0 -0
  6. package/.next/cache/webpack/client-development/12.pack.gz +0 -0
  7. package/.next/cache/webpack/client-development/13.pack.gz +0 -0
  8. package/.next/cache/webpack/client-development/2.pack.gz +0 -0
  9. package/.next/cache/webpack/client-development/3.pack.gz +0 -0
  10. package/.next/cache/webpack/client-development/4.pack.gz +0 -0
  11. package/.next/cache/webpack/client-development/5.pack.gz +0 -0
  12. package/.next/cache/webpack/client-development/6.pack.gz +0 -0
  13. package/.next/cache/webpack/client-development/7.pack.gz +0 -0
  14. package/.next/cache/webpack/client-development/8.pack.gz +0 -0
  15. package/.next/cache/webpack/client-development/9.pack.gz +0 -0
  16. package/.next/cache/webpack/client-development/index.pack.gz +0 -0
  17. package/.next/cache/webpack/client-development/index.pack.gz.old +0 -0
  18. package/.next/cache/webpack/server-development/0.pack.gz +0 -0
  19. package/.next/cache/webpack/server-development/1.pack.gz +0 -0
  20. package/.next/cache/webpack/server-development/10.pack.gz +0 -0
  21. package/.next/cache/webpack/server-development/11.pack.gz +0 -0
  22. package/.next/cache/webpack/server-development/12.pack.gz +0 -0
  23. package/.next/cache/webpack/server-development/13.pack.gz +0 -0
  24. package/.next/cache/webpack/server-development/2.pack.gz +0 -0
  25. package/.next/cache/webpack/server-development/3.pack.gz +0 -0
  26. package/.next/cache/webpack/server-development/4.pack.gz +0 -0
  27. package/.next/cache/webpack/server-development/5.pack.gz +0 -0
  28. package/.next/cache/webpack/server-development/6.pack.gz +0 -0
  29. package/.next/cache/webpack/server-development/7.pack.gz +0 -0
  30. package/.next/cache/webpack/server-development/8.pack.gz +0 -0
  31. package/.next/cache/webpack/server-development/9.pack.gz +0 -0
  32. package/.next/cache/webpack/server-development/index.pack.gz +0 -0
  33. package/.next/cache/webpack/server-development/index.pack.gz.old +0 -0
  34. package/.next/server/app/_not-found/page.js +47 -13
  35. package/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
  36. package/.next/server/app/page.js +48 -14
  37. package/.next/server/app/page_client-reference-manifest.js +1 -1
  38. package/.next/server/app-paths-manifest.json +0 -1
  39. package/.next/server/vendor-chunks/@babel.js +45 -0
  40. package/.next/server/vendor-chunks/@restart.js +275 -0
  41. package/.next/server/vendor-chunks/bootstrap.js +35 -0
  42. package/.next/server/vendor-chunks/classnames.js +24 -0
  43. package/.next/server/vendor-chunks/dom-helpers.js +215 -0
  44. package/.next/server/vendor-chunks/object-assign.js +25 -0
  45. package/.next/server/vendor-chunks/prop-types.js +67 -0
  46. package/.next/server/vendor-chunks/react-bootstrap.js +195 -0
  47. package/.next/server/vendor-chunks/react-is.js +35 -0
  48. package/.next/server/vendor-chunks/react-transition-group.js +65 -0
  49. package/.next/server/webpack-runtime.js +2 -2
  50. package/.next/static/chunks/app/layout.js +41 -9
  51. package/.next/static/chunks/app/page.js +834 -1
  52. package/.next/static/chunks/webpack.js +1 -1
  53. package/.next/static/css/app/layout.css +5 -2
  54. package/.next/static/css/app/page.css +699 -33
  55. package/.next/static/webpack/31b91c765347fb55.webpack.hot-update.json +1 -0
  56. package/.next/static/webpack/343e03d8261d3d56.webpack.hot-update.json +1 -0
  57. package/.next/static/webpack/511251a6a8797ede.webpack.hot-update.json +1 -0
  58. package/.next/static/webpack/5592a999a18ce828.webpack.hot-update.json +1 -0
  59. package/.next/static/webpack/79fe8ba93a0b810b.webpack.hot-update.json +1 -0
  60. package/.next/static/webpack/7bb361b5246e77d2.webpack.hot-update.json +1 -0
  61. package/.next/static/webpack/8635c08a046e0cc3.webpack.hot-update.json +1 -0
  62. package/.next/static/webpack/9c321599ae8772f6.webpack.hot-update.json +1 -0
  63. package/.next/static/webpack/9e012937cc8b78c3.webpack.hot-update.json +1 -0
  64. package/.next/static/webpack/9f1faeb236a539a7.webpack.hot-update.json +1 -0
  65. package/.next/static/webpack/a32ac07f1f02ef92.webpack.hot-update.json +1 -0
  66. package/.next/static/webpack/a3b2da5299326aea.webpack.hot-update.json +1 -0
  67. package/.next/static/webpack/a40ddad54b6bc90e.webpack.hot-update.json +1 -0
  68. package/.next/static/webpack/a81d8481ae8f1db5.webpack.hot-update.json +1 -0
  69. package/.next/static/webpack/a8e05348c0e655b9.webpack.hot-update.json +1 -0
  70. package/.next/static/webpack/app/{layout.b14b5cb733b2ab00.hot-update.js → layout.2813c5d79542e32e.hot-update.js} +1 -1
  71. package/.next/static/webpack/app/{layout.ef19dedc8664f556.hot-update.js → layout.31b91c765347fb55.hot-update.js} +1 -1
  72. package/.next/static/webpack/app/layout.343e03d8261d3d56.hot-update.js +32 -0
  73. package/.next/static/webpack/app/layout.660742a3b5333202.hot-update.js +22 -0
  74. package/.next/static/webpack/app/{layout.27d92b1ae58910aa.hot-update.js → layout.7dd58225de2c96b1.hot-update.js} +2 -2
  75. package/.next/static/webpack/app/layout.9211406c39b8c7d6.hot-update.js +22 -0
  76. package/.next/static/webpack/app/layout.a8d577cb610891a6.hot-update.js +22 -0
  77. package/.next/static/webpack/app/layout.a8e05348c0e655b9.hot-update.js +22 -0
  78. package/.next/static/webpack/app/layout.df471031cb4836a9.hot-update.js +22 -0
  79. package/.next/static/webpack/app/layout.e7d9eed4488f9850.hot-update.js +22 -0
  80. package/.next/static/webpack/app/layout.eb00615f06d96185.hot-update.js +22 -0
  81. package/.next/static/webpack/app/layout.fa81cc9e0039618f.hot-update.js +22 -0
  82. package/.next/static/webpack/app/page.03ee13d215584d59.hot-update.js +32 -0
  83. package/.next/static/webpack/app/page.05e804a9c98d6744.hot-update.js +32 -0
  84. package/.next/static/webpack/app/page.1c4c3e518f810365.hot-update.js +22 -0
  85. package/.next/static/webpack/app/page.217f0b5265f56be2.hot-update.js +22 -0
  86. package/.next/static/webpack/app/page.21d00cb457913b06.hot-update.js +22 -0
  87. package/.next/static/webpack/app/page.28ebfaec609673ec.hot-update.js +22 -0
  88. package/.next/static/webpack/app/{page.6c5ef9843eacf483.hot-update.js → page.31b91c765347fb55.hot-update.js} +5 -5
  89. package/.next/static/webpack/app/page.3d336feedc5241cc.hot-update.js +22 -0
  90. package/.next/static/webpack/app/page.3de1fe8a6a590578.hot-update.js +22 -0
  91. package/.next/static/webpack/app/page.511251a6a8797ede.hot-update.js +21 -0
  92. package/.next/static/webpack/app/page.5361cbc07110a7d3.hot-update.js +22 -0
  93. package/.next/static/webpack/app/page.55648f4af4cd339a.hot-update.js +22 -0
  94. package/.next/static/webpack/app/page.60b6b08662112fd8.hot-update.js +22 -0
  95. package/.next/static/webpack/app/page.68289df254bc1101.hot-update.js +22 -0
  96. package/.next/static/webpack/app/page.6965c86e8cf1c189.hot-update.js +22 -0
  97. package/.next/static/webpack/app/page.6ee5f39e8d123868.hot-update.js +22 -0
  98. package/.next/static/webpack/app/page.79fe8ba93a0b810b.hot-update.js +22 -0
  99. package/.next/static/webpack/app/page.7bb361b5246e77d2.hot-update.js +1436 -0
  100. package/.next/static/webpack/app/page.8635c08a046e0cc3.hot-update.js +22 -0
  101. package/.next/static/webpack/app/page.9c321599ae8772f6.hot-update.js +22 -0
  102. package/.next/static/webpack/app/page.9f1faeb236a539a7.hot-update.js +22 -0
  103. package/.next/static/webpack/app/page.a32ac07f1f02ef92.hot-update.js +22 -0
  104. package/.next/static/webpack/app/page.a40ddad54b6bc90e.hot-update.js +22 -0
  105. package/.next/static/webpack/app/page.a81d8481ae8f1db5.hot-update.js +22 -0
  106. package/.next/static/webpack/app/{page.cdb27633fb2a188d.hot-update.js → page.a8e05348c0e655b9.hot-update.js} +5 -5
  107. package/.next/static/webpack/app/page.b03ecf92b407ff16.hot-update.js +22 -0
  108. package/.next/static/webpack/app/page.cb073814fceeab04.hot-update.js +22 -0
  109. package/.next/static/webpack/app/page.cb900b98801a8b71.hot-update.js +22 -0
  110. package/.next/static/webpack/app/page.ce5481dea825fd10.hot-update.js +22 -0
  111. package/.next/static/webpack/app/page.dc647358f2db4ecb.hot-update.js +22 -0
  112. package/.next/static/webpack/app/page.df471031cb4836a9.hot-update.js +22 -0
  113. package/.next/static/webpack/app/page.e7d9eed4488f9850.hot-update.js +22 -0
  114. package/.next/static/webpack/app/page.ed88e0eaa00d7b0d.hot-update.js +22 -0
  115. package/.next/static/webpack/app/page.f237070410740d3e.hot-update.js +22 -0
  116. package/.next/static/webpack/app/page.f8210ae9a27d9415.hot-update.js +22 -0
  117. package/.next/static/webpack/app/page.f8cf2c2ac33a1f08.hot-update.js +22 -0
  118. package/.next/static/webpack/app/page.f92b6717ea88db27.hot-update.js +22 -0
  119. package/.next/static/webpack/app/page.fa81cc9e0039618f.hot-update.js +22 -0
  120. package/.next/static/webpack/app/page.facf69ec54a9c1ea.hot-update.js +22 -0
  121. package/.next/static/webpack/app/page.fbec410876605123.hot-update.js +22 -0
  122. package/.next/static/webpack/b03ecf92b407ff16.webpack.hot-update.json +1 -0
  123. package/.next/static/webpack/cb073814fceeab04.webpack.hot-update.json +1 -0
  124. package/.next/static/webpack/cb900b98801a8b71.webpack.hot-update.json +1 -0
  125. package/.next/static/webpack/ce5481dea825fd10.webpack.hot-update.json +1 -0
  126. package/.next/static/webpack/dc647358f2db4ecb.webpack.hot-update.json +1 -0
  127. package/.next/static/webpack/df471031cb4836a9.webpack.hot-update.json +1 -0
  128. package/.next/static/webpack/e7d9eed4488f9850.webpack.hot-update.json +1 -0
  129. package/.next/static/webpack/eb00615f06d96185.webpack.hot-update.json +1 -0
  130. package/.next/static/webpack/ed88e0eaa00d7b0d.webpack.hot-update.json +1 -0
  131. package/.next/static/webpack/f237070410740d3e.webpack.hot-update.json +1 -0
  132. package/.next/static/webpack/f8210ae9a27d9415.webpack.hot-update.json +1 -0
  133. package/.next/static/webpack/f8cf2c2ac33a1f08.webpack.hot-update.json +1 -0
  134. package/.next/static/webpack/f92b6717ea88db27.webpack.hot-update.json +1 -0
  135. package/.next/static/webpack/fa81cc9e0039618f.webpack.hot-update.json +1 -0
  136. package/.next/static/webpack/facf69ec54a9c1ea.webpack.hot-update.json +1 -0
  137. package/.next/static/webpack/fbec410876605123.webpack.hot-update.json +1 -0
  138. package/.next/static/webpack/{webpack.09217bd29f3a8742.hot-update.js → webpack.03ee13d215584d59.hot-update.js} +1 -1
  139. package/.next/static/webpack/{webpack.230183ef62b2b1f3.hot-update.js → webpack.05e804a9c98d6744.hot-update.js} +1 -1
  140. package/.next/static/webpack/{webpack.27d92b1ae58910aa.hot-update.js → webpack.19bfc21a985c41a3.hot-update.js} +1 -1
  141. package/.next/static/webpack/{webpack.2e7b4aa2b22e65d9.hot-update.js → webpack.1c4c3e518f810365.hot-update.js} +1 -1
  142. package/.next/static/webpack/webpack.217f0b5265f56be2.hot-update.js +18 -0
  143. package/.next/static/webpack/webpack.21d00cb457913b06.hot-update.js +18 -0
  144. package/.next/static/webpack/webpack.2813c5d79542e32e.hot-update.js +18 -0
  145. package/.next/static/webpack/webpack.28ebfaec609673ec.hot-update.js +18 -0
  146. package/.next/static/webpack/webpack.31b91c765347fb55.hot-update.js +18 -0
  147. package/.next/static/webpack/webpack.343e03d8261d3d56.hot-update.js +18 -0
  148. package/.next/static/webpack/webpack.3d336feedc5241cc.hot-update.js +18 -0
  149. package/.next/static/webpack/webpack.3de1fe8a6a590578.hot-update.js +18 -0
  150. package/.next/static/webpack/webpack.511251a6a8797ede.hot-update.js +18 -0
  151. package/.next/static/webpack/webpack.5361cbc07110a7d3.hot-update.js +18 -0
  152. package/.next/static/webpack/webpack.55648f4af4cd339a.hot-update.js +18 -0
  153. package/.next/static/webpack/webpack.5592a999a18ce828.hot-update.js +18 -0
  154. package/.next/static/webpack/webpack.60b6b08662112fd8.hot-update.js +18 -0
  155. package/.next/static/webpack/webpack.660742a3b5333202.hot-update.js +18 -0
  156. package/.next/static/webpack/webpack.68289df254bc1101.hot-update.js +18 -0
  157. package/.next/static/webpack/webpack.6965c86e8cf1c189.hot-update.js +18 -0
  158. package/.next/static/webpack/webpack.6ee5f39e8d123868.hot-update.js +18 -0
  159. package/.next/static/webpack/webpack.79fe8ba93a0b810b.hot-update.js +18 -0
  160. package/.next/static/webpack/webpack.7bb361b5246e77d2.hot-update.js +18 -0
  161. package/.next/static/webpack/webpack.7dd58225de2c96b1.hot-update.js +18 -0
  162. package/.next/static/webpack/webpack.8635c08a046e0cc3.hot-update.js +18 -0
  163. package/.next/static/webpack/webpack.9211406c39b8c7d6.hot-update.js +18 -0
  164. package/.next/static/webpack/webpack.9c321599ae8772f6.hot-update.js +18 -0
  165. package/.next/static/webpack/webpack.9e012937cc8b78c3.hot-update.js +18 -0
  166. package/.next/static/webpack/webpack.9f1faeb236a539a7.hot-update.js +18 -0
  167. package/.next/static/webpack/webpack.a32ac07f1f02ef92.hot-update.js +18 -0
  168. package/.next/static/webpack/webpack.a3b2da5299326aea.hot-update.js +18 -0
  169. package/.next/static/webpack/webpack.a40ddad54b6bc90e.hot-update.js +18 -0
  170. package/.next/static/webpack/webpack.a81d8481ae8f1db5.hot-update.js +18 -0
  171. package/.next/static/webpack/webpack.a8d577cb610891a6.hot-update.js +18 -0
  172. package/.next/static/webpack/webpack.a8e05348c0e655b9.hot-update.js +18 -0
  173. package/.next/static/webpack/webpack.b03ecf92b407ff16.hot-update.js +18 -0
  174. package/.next/static/webpack/webpack.cb073814fceeab04.hot-update.js +18 -0
  175. package/.next/static/webpack/webpack.cb900b98801a8b71.hot-update.js +18 -0
  176. package/.next/static/webpack/webpack.ce5481dea825fd10.hot-update.js +18 -0
  177. package/.next/static/webpack/webpack.dc647358f2db4ecb.hot-update.js +18 -0
  178. package/.next/static/webpack/webpack.df471031cb4836a9.hot-update.js +18 -0
  179. package/.next/static/webpack/webpack.e7d9eed4488f9850.hot-update.js +18 -0
  180. package/.next/static/webpack/webpack.eb00615f06d96185.hot-update.js +18 -0
  181. package/.next/static/webpack/webpack.ed88e0eaa00d7b0d.hot-update.js +18 -0
  182. package/.next/static/webpack/webpack.f237070410740d3e.hot-update.js +18 -0
  183. package/.next/static/webpack/webpack.f8210ae9a27d9415.hot-update.js +18 -0
  184. package/.next/static/webpack/webpack.f8cf2c2ac33a1f08.hot-update.js +18 -0
  185. package/.next/static/webpack/webpack.f92b6717ea88db27.hot-update.js +18 -0
  186. package/.next/static/webpack/webpack.fa81cc9e0039618f.hot-update.js +18 -0
  187. package/.next/static/webpack/webpack.facf69ec54a9c1ea.hot-update.js +18 -0
  188. package/.next/static/webpack/webpack.fbec410876605123.hot-update.js +18 -0
  189. package/.next/trace +83 -54
  190. package/dist/index.cjs +249 -221
  191. package/dist/index.css +1 -4
  192. package/dist/index.js +251 -221
  193. package/package.json +1 -1
  194. package/.next/static/webpack/8407cf02bdf4864d.webpack.hot-update.json +0 -1
  195. package/.next/static/webpack/97a9b97618a13104.webpack.hot-update.json +0 -1
  196. package/.next/static/webpack/abe429b78cb2cd5f.webpack.hot-update.json +0 -1
  197. package/.next/static/webpack/app/layout.2f388e6b66349419.hot-update.js +0 -31
  198. package/.next/static/webpack/app/layout.3def483773fe0f90.hot-update.js +0 -31
  199. package/.next/static/webpack/app/layout.4c7ecbad991e36d2.hot-update.js +0 -31
  200. package/.next/static/webpack/app/layout.5ff03b504f4dc152.hot-update.js +0 -31
  201. package/.next/static/webpack/app/layout.8407cf02bdf4864d.hot-update.js +0 -31
  202. package/.next/static/webpack/app/layout.97a9b97618a13104.hot-update.js +0 -31
  203. package/.next/static/webpack/app/layout.abe429b78cb2cd5f.hot-update.js +0 -31
  204. package/.next/static/webpack/app/layout.b62381d4132a6544.hot-update.js +0 -31
  205. package/.next/static/webpack/app/layout.be39acc05eac2b52.hot-update.js +0 -31
  206. package/.next/static/webpack/app/layout.d1cb5fc816df74fd.hot-update.js +0 -42
  207. package/.next/static/webpack/app/layout.e1d7a6f7992b7b70.hot-update.js +0 -31
  208. package/.next/static/webpack/app/page.09217bd29f3a8742.hot-update.js +0 -32
  209. package/.next/static/webpack/app/page.230183ef62b2b1f3.hot-update.js +0 -32
  210. package/.next/static/webpack/app/page.2e7b4aa2b22e65d9.hot-update.js +0 -22
  211. package/.next/static/webpack/app/page.4996a2c64be83d4d.hot-update.js +0 -22
  212. package/.next/static/webpack/app/page.548fbaf72ba2981b.hot-update.js +0 -62
  213. package/.next/static/webpack/app/page.627ec6e86b397d8c.hot-update.js +0 -22
  214. package/.next/static/webpack/app/page.6e5fce9246047620.hot-update.js +0 -22
  215. package/.next/static/webpack/app/page.7f3be6888ceaa76c.hot-update.js +0 -22
  216. package/.next/static/webpack/app/page.7f6a8530b9acce84.hot-update.js +0 -22
  217. package/.next/static/webpack/app/page.8b5683da7fe5505d.hot-update.js +0 -22
  218. package/.next/static/webpack/app/page.bb7fb7004da6fd3f.hot-update.js +0 -22
  219. package/.next/static/webpack/app/page.e7b0af7ee6cbe0d6.hot-update.js +0 -22
  220. package/.next/static/webpack/app/page.e9324f3a66999504.hot-update.js +0 -22
  221. package/.next/static/webpack/b14b5cb733b2ab00.webpack.hot-update.json +0 -1
  222. package/.next/static/webpack/b62381d4132a6544.webpack.hot-update.json +0 -1
  223. package/.next/static/webpack/be39acc05eac2b52.webpack.hot-update.json +0 -1
  224. package/.next/static/webpack/d1cb5fc816df74fd.webpack.hot-update.json +0 -1
  225. package/.next/static/webpack/e1d7a6f7992b7b70.webpack.hot-update.json +0 -1
  226. package/.next/static/webpack/e9324f3a66999504.webpack.hot-update.json +0 -1
  227. package/.next/static/webpack/ef19dedc8664f556.webpack.hot-update.json +0 -1
  228. package/.next/static/webpack/webpack.2f388e6b66349419.hot-update.js +0 -18
  229. package/.next/static/webpack/webpack.3def483773fe0f90.hot-update.js +0 -18
  230. package/.next/static/webpack/webpack.4996a2c64be83d4d.hot-update.js +0 -18
  231. package/.next/static/webpack/webpack.4c7ecbad991e36d2.hot-update.js +0 -18
  232. package/.next/static/webpack/webpack.5245476d8f6c86cd.hot-update.js +0 -18
  233. package/.next/static/webpack/webpack.548fbaf72ba2981b.hot-update.js +0 -18
  234. package/.next/static/webpack/webpack.5ff03b504f4dc152.hot-update.js +0 -18
  235. package/.next/static/webpack/webpack.627ec6e86b397d8c.hot-update.js +0 -18
  236. package/.next/static/webpack/webpack.6c5ef9843eacf483.hot-update.js +0 -18
  237. package/.next/static/webpack/webpack.6e5fce9246047620.hot-update.js +0 -18
  238. package/.next/static/webpack/webpack.7f3be6888ceaa76c.hot-update.js +0 -18
  239. package/.next/static/webpack/webpack.7f6a8530b9acce84.hot-update.js +0 -18
  240. package/.next/static/webpack/webpack.8407cf02bdf4864d.hot-update.js +0 -18
  241. package/.next/static/webpack/webpack.8b5683da7fe5505d.hot-update.js +0 -18
  242. package/.next/static/webpack/webpack.97a9b97618a13104.hot-update.js +0 -18
  243. package/.next/static/webpack/webpack.abe429b78cb2cd5f.hot-update.js +0 -18
  244. package/.next/static/webpack/webpack.b14b5cb733b2ab00.hot-update.js +0 -18
  245. package/.next/static/webpack/webpack.b62381d4132a6544.hot-update.js +0 -18
  246. package/.next/static/webpack/webpack.bb7fb7004da6fd3f.hot-update.js +0 -18
  247. package/.next/static/webpack/webpack.be39acc05eac2b52.hot-update.js +0 -18
  248. package/.next/static/webpack/webpack.cdb27633fb2a188d.hot-update.js +0 -18
  249. package/.next/static/webpack/webpack.d1cb5fc816df74fd.hot-update.js +0 -18
  250. package/.next/static/webpack/webpack.e1d7a6f7992b7b70.hot-update.js +0 -18
  251. package/.next/static/webpack/webpack.e7b0af7ee6cbe0d6.hot-update.js +0 -18
  252. package/.next/static/webpack/webpack.e9324f3a66999504.hot-update.js +0 -18
  253. package/.next/static/webpack/webpack.ef19dedc8664f556.hot-update.js +0 -18
  254. /package/.next/static/webpack/{09217bd29f3a8742.webpack.hot-update.json → 03ee13d215584d59.webpack.hot-update.json} +0 -0
  255. /package/.next/static/webpack/{230183ef62b2b1f3.webpack.hot-update.json → 05e804a9c98d6744.webpack.hot-update.json} +0 -0
  256. /package/.next/static/webpack/{5245476d8f6c86cd.webpack.hot-update.json → 19bfc21a985c41a3.webpack.hot-update.json} +0 -0
  257. /package/.next/static/webpack/{2e7b4aa2b22e65d9.webpack.hot-update.json → 1c4c3e518f810365.webpack.hot-update.json} +0 -0
  258. /package/.next/static/webpack/{4996a2c64be83d4d.webpack.hot-update.json → 217f0b5265f56be2.webpack.hot-update.json} +0 -0
  259. /package/.next/static/webpack/{548fbaf72ba2981b.webpack.hot-update.json → 21d00cb457913b06.webpack.hot-update.json} +0 -0
  260. /package/.next/static/webpack/{27d92b1ae58910aa.webpack.hot-update.json → 2813c5d79542e32e.webpack.hot-update.json} +0 -0
  261. /package/.next/static/webpack/{627ec6e86b397d8c.webpack.hot-update.json → 28ebfaec609673ec.webpack.hot-update.json} +0 -0
  262. /package/.next/static/webpack/{6c5ef9843eacf483.webpack.hot-update.json → 3d336feedc5241cc.webpack.hot-update.json} +0 -0
  263. /package/.next/static/webpack/{6e5fce9246047620.webpack.hot-update.json → 3de1fe8a6a590578.webpack.hot-update.json} +0 -0
  264. /package/.next/static/webpack/{7f3be6888ceaa76c.webpack.hot-update.json → 5361cbc07110a7d3.webpack.hot-update.json} +0 -0
  265. /package/.next/static/webpack/{7f6a8530b9acce84.webpack.hot-update.json → 55648f4af4cd339a.webpack.hot-update.json} +0 -0
  266. /package/.next/static/webpack/{8b5683da7fe5505d.webpack.hot-update.json → 60b6b08662112fd8.webpack.hot-update.json} +0 -0
  267. /package/.next/static/webpack/{2f388e6b66349419.webpack.hot-update.json → 660742a3b5333202.webpack.hot-update.json} +0 -0
  268. /package/.next/static/webpack/{bb7fb7004da6fd3f.webpack.hot-update.json → 68289df254bc1101.webpack.hot-update.json} +0 -0
  269. /package/.next/static/webpack/{cdb27633fb2a188d.webpack.hot-update.json → 6965c86e8cf1c189.webpack.hot-update.json} +0 -0
  270. /package/.next/static/webpack/{e7b0af7ee6cbe0d6.webpack.hot-update.json → 6ee5f39e8d123868.webpack.hot-update.json} +0 -0
  271. /package/.next/static/webpack/{3def483773fe0f90.webpack.hot-update.json → 7dd58225de2c96b1.webpack.hot-update.json} +0 -0
  272. /package/.next/static/webpack/{4c7ecbad991e36d2.webpack.hot-update.json → 9211406c39b8c7d6.webpack.hot-update.json} +0 -0
  273. /package/.next/static/webpack/{5ff03b504f4dc152.webpack.hot-update.json → a8d577cb610891a6.webpack.hot-update.json} +0 -0
package/dist/index.js CHANGED
@@ -18,9 +18,14 @@ var __spreadValues = (a, b) => {
18
18
  };
19
19
  var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
20
20
 
21
+ // src/app/index.ts
22
+ import "bootstrap/dist/css/bootstrap.min.css";
23
+
21
24
  // src/app/components/Greet.tsx
22
25
  import axios from "axios";
23
26
  import React, { useEffect, useState } from "react";
27
+ import { Button } from "react-bootstrap";
28
+ import Modal from "react-bootstrap/Modal";
24
29
  function PaywithFractal({ name, amount, orderId, fractalPayClientKey }) {
25
30
  const baseUrl = "http://192.168.1.52:8082/";
26
31
  const masterBaseUrl = "http://192.168.1.52:8081/";
@@ -37,6 +42,7 @@ function PaywithFractal({ name, amount, orderId, fractalPayClientKey }) {
37
42
  zip: ""
38
43
  });
39
44
  const [loading, setLoading] = useState(false);
45
+ const [show, setShow] = useState(false);
40
46
  const handleSubmit = async (e) => {
41
47
  var _a, _b, _c, _d, _e, _f, _g;
42
48
  e.preventDefault();
@@ -195,9 +201,6 @@ function PaywithFractal({ name, amount, orderId, fractalPayClientKey }) {
195
201
  handleCVVChange(value);
196
202
  }
197
203
  };
198
- const handlePay = () => {
199
- console.log("pay", name, baseUrl, masterBaseUrl);
200
- };
201
204
  useEffect(() => {
202
205
  const scriptId = "my-script";
203
206
  const existingScript = document.getElementById(scriptId);
@@ -222,240 +225,267 @@ function PaywithFractal({ name, amount, orderId, fractalPayClientKey }) {
222
225
  }
223
226
  };
224
227
  }, []);
225
- return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__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(
226
- "svg",
227
- {
228
- xmlns: "http://www.w3.org/2000/svg",
229
- width: 37,
230
- height: 37,
231
- viewBox: "0 0 21 21"
232
- },
233
- /* @__PURE__ */ React.createElement(
234
- "path",
235
- {
236
- fill: "none",
237
- stroke: "currentColor",
238
- strokeLinecap: "round",
239
- strokeLinejoin: "round",
240
- d: "m7.5 7.5l6 6m0-6l-6 6"
241
- }
242
- )
243
- )), /* @__PURE__ */ React.createElement("div", { className: "row" }, /* @__PURE__ */ React.createElement("div", { className: "comp-name" }, /* @__PURE__ */ React.createElement(
244
- "img",
245
- {
246
- src: "https://invoicestaging.skysystemz.com/assets/products/65c49a2740ff1.png",
247
- alt: "",
248
- className: "client-logo"
249
- }
250
- )), /* @__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(
251
- "i",
252
- {
253
- className: "fa fa-qrcode fa-2x",
254
- id: "qrIcon",
255
- title: "Show QR Code",
256
- onClick: () => setToggleQr(!toggleQr)
257
- }
258
- )), /* @__PURE__ */ React.createElement("div", { id: "qrCode", style: {
259
- display: toggleQr ? "block" : "none"
260
- } }, /* @__PURE__ */ React.createElement(
261
- "img",
262
- {
263
- src: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAARQAAAEUCAYAAADqcMl5AAAAAklEQVR4AewaftIAABJaSURBVO3BQY7gRhLAQFLo/3+ZO8c8FSCoemw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Wk8obKP0llqnhD5aaKN1SmipOKSWWqOKmYVKaKN1Smiknlb6p4o2JS+Zse1lrrkoe11rrkYa21Lvnhl6m8UfGGym+qmFROKiaVSWWqOFE5qZhUvlD5omJS+UJlqphUpopJ5aRiUnmjYlKZKiaVE5UvVN5QmSq+eFhrrUse1lrrkoe11rrkh/9zFZPKScVJxYnKVPGbVKaKSWWqmFROKiaVqeKkYlKZKk5UTiomlZOKk4qTikllqphUTipOVKaKm1RuelhrrUse1lrrkoe11rrkh/8zFZPKVDGpTConFZPKVDGpnFRMKlPFpDJVfFExqZxUnKi8oXJSMalMFVPFFyonFVPFpDJVnKhMFVPFpPJFxW96WGutSx7WWuuSh7XWuuSHX1bxmyomlaliUnmj4qRiUpkqJpWTipOKSWWqOFF5Q+WkYqqYVKaKSeVE5QuVqWJSmSreUJkqJpWTikllqpgq/s0e1lrrkoe11rrkYa21LvnhMpV/UsWkMlVMKicqJxVTxRcqU8VJxRsVJypTxRsqX1S8oTJVnKhMFZPKScVUMalMFScqU8WkclIxqfyTHtZa65KHtda65GGttS6xP1hrrQse1lrrkoe11rrkYa21LnlYa61LHtZa65KHtda65GGttS55WGutSx7WWuuSh7XWuuRhrbUueVhrrUse1lrrkoe11rrkYa21Lvkf/C+HzIiJCzEAAAAASUVORK5CYII=",
264
- alt: "QRCode",
265
- srcSet: ""
266
- }
267
- )), /* @__PURE__ */ React.createElement(
268
- "form",
228
+ const handleClose = () => {
229
+ setShow(false);
230
+ };
231
+ const handleOpen = () => {
232
+ console.log("open");
233
+ setShow(true);
234
+ };
235
+ console.log(show, "open");
236
+ return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement("div", { style: { width: "100%", textAlign: "center" } }, /* @__PURE__ */ React.createElement(Button, { onClick: handleOpen }, "Show")), /* @__PURE__ */ React.createElement(
237
+ Modal,
269
238
  {
270
- id: "PaymentForm",
271
- className: "payment-form",
272
- onSubmit: handleSubmit
239
+ show,
240
+ onHide: handleClose,
241
+ backdrop: "static",
242
+ keyboard: false,
243
+ size: "lg"
273
244
  },
274
- /* @__PURE__ */ React.createElement(
275
- "input",
276
- {
277
- type: "hidden",
278
- id: "dctoken",
279
- defaultValue: dcToken,
280
- name: "dctoken"
281
- }
282
- ),
283
- /* @__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" }))),
284
- /* @__PURE__ */ React.createElement("div", { className: "form-group" }, /* @__PURE__ */ React.createElement("label", { htmlFor: "NameOnCard" }, "Name on card"), /* @__PURE__ */ React.createElement(
285
- "input",
286
- {
287
- "data-token": "name",
288
- id: "NameOnCard",
289
- className: "form-control required",
290
- type: "text",
291
- maxLength: 100,
292
- placeholder: "name",
293
- value: formData == null ? void 0 : formData.name,
294
- onChange: handleChange
295
- }
296
- ), /* @__PURE__ */ React.createElement(
297
- "span",
298
- {
299
- id: "NameOnCard-error",
300
- style: { color: "red" }
301
- }
302
- )),
303
- /* @__PURE__ */ React.createElement("div", { className: "form-group" }, /* @__PURE__ */ React.createElement(
304
- "input",
305
- {
306
- "data-token": "card_number",
307
- className: "null card-image form-control required",
308
- type: "text",
309
- maxLength: 19,
310
- placeholder: "0000 0000 0000 0000",
311
- value: handleCardFormat(formData == null ? void 0 : formData.card_number),
312
- onChange: handleChange
313
- }
314
- ), error.card_number && /* @__PURE__ */ React.createElement(
315
- "span",
316
- {
317
- id: "card_number-error",
318
- style: { color: "red" }
319
- },
320
- error.card_number
321
- )),
322
- /* @__PURE__ */ React.createElement("div", { className: "expiry-date-group form-group" }, /* @__PURE__ */ React.createElement(
323
- "input",
324
- {
325
- "data-token": "exp_month",
326
- className: "form-control required",
327
- type: "text",
328
- placeholder: "MM",
329
- maxLength: 2,
330
- value: formData == null ? void 0 : formData.exp_month,
331
- onChange: handleChange
332
- }
333
- ), error.exp_month && /* @__PURE__ */ React.createElement(
334
- "span",
245
+ /* @__PURE__ */ React.createElement(Modal.Body, null, /* @__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(
246
+ "button",
335
247
  {
336
- id: "exp_month-error",
337
- style: { color: "red" }
248
+ className: "close-pop",
249
+ onClick: () => {
250
+ setShow(false);
251
+ }
338
252
  },
339
- error.exp_month
340
- )),
341
- /* @__PURE__ */ React.createElement("div", { className: "expiry-date-group form-group" }, /* @__PURE__ */ React.createElement(
342
- "input",
253
+ /* @__PURE__ */ React.createElement(
254
+ "svg",
255
+ {
256
+ xmlns: "http://www.w3.org/2000/svg",
257
+ width: 37,
258
+ height: 37,
259
+ viewBox: "0 0 21 21"
260
+ },
261
+ /* @__PURE__ */ React.createElement(
262
+ "path",
263
+ {
264
+ fill: "none",
265
+ stroke: "currentColor",
266
+ strokeLinecap: "round",
267
+ strokeLinejoin: "round",
268
+ d: "m7.5 7.5l6 6m0-6l-6 6"
269
+ }
270
+ )
271
+ )
272
+ ), /* @__PURE__ */ React.createElement("div", { className: "row" }, /* @__PURE__ */ React.createElement("div", { className: "comp-name" }, /* @__PURE__ */ React.createElement(
273
+ "img",
343
274
  {
344
- "data-token": "exp_year",
345
- className: "form-control required",
346
- type: "text",
347
- placeholder: "YYYY",
348
- maxLength: 4,
349
- value: formData == null ? void 0 : formData.exp_year,
350
- onChange: handleChange
275
+ src: "https://invoicestaging.skysystemz.com/assets/products/65c49a2740ff1.png",
276
+ alt: "",
277
+ className: "client-logo"
351
278
  }
352
- ), error.exp_year && /* @__PURE__ */ React.createElement(
353
- "span",
279
+ )), /* @__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(
280
+ "i",
354
281
  {
355
- id: "exp_year-error",
356
- style: { color: "red" }
357
- },
358
- error.exp_year
359
- )),
360
- /* @__PURE__ */ React.createElement("div", { className: "security-code-group form-group" }, /* @__PURE__ */ React.createElement("div", { className: "input-container" }, /* @__PURE__ */ React.createElement(
361
- "input",
362
- {
363
- "data-token": "cvv",
364
- className: "form-control required",
365
- type: "text",
366
- maxLength: 4,
367
- placeholder: "CVC",
368
- value: formData == null ? void 0 : formData.cvv,
369
- onChange: handleChange
282
+ className: "fa fa-qrcode fa-2x",
283
+ id: "qrIcon",
284
+ title: "Show QR Code",
285
+ onClick: () => setToggleQr(!toggleQr)
370
286
  }
371
- ), /* @__PURE__ */ React.createElement("i", { id: "cvc", className: "fa fa-question-circle" })), error.cvv && /* @__PURE__ */ React.createElement(
372
- "span",
373
- {
374
- id: "cvv-error",
375
- style: { color: "red" }
376
- },
377
- error.cvv
378
- ), /* @__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" }))),
379
- /* @__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(
380
- "input",
287
+ )), /* @__PURE__ */ React.createElement("div", { id: "qrCode", style: {
288
+ display: toggleQr ? "block" : "none"
289
+ } }, /* @__PURE__ */ React.createElement(
290
+ "img",
381
291
  {
382
- id: "ZIPCode",
383
- "data-token": "zip",
384
- className: "form-control required",
385
- type: "text",
386
- maxLength: 7,
387
- placeholder: "000000",
388
- value: formData == null ? void 0 : formData.zip,
389
- onChange: handleChange
292
+ src: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAARQAAAEUCAYAAADqcMl5AAAAAklEQVR4AewaftIAABJaSURBVO3BQY7gRhLAQFLo/3+ZO8c8FSCoemwvMsL+YK21LnhYa61LHtZa65KHtda65GGttS55WGutSx7WWuuSh7XWuuRhrbUueVhrrUse1lrrkoe11rrkYa21LnlYa61LHtZa65KHtda65IePVP6miknlpGJSualiUjmpOFGZKk5UpopJ5YuKE5WpYlI5qZhU3qiYVKaKSeWkYlI5qXhD5aRiUvmbKr54WGutSx7WWuuSh7XWuuSHyypuUvlNFW+oTCpTxRsqU8UXKlPFicqJylRxonJScVLxhspU8UbFGxX/pIqbVG56WGutSx7WWuuSh7XWuuSHX6byRsVNKlPFpPJGxW9SmSreqJhUTiomlROVk4ovVL5QOak4UTlR+TdReaPiNz2stdYlD2utdcnDWmtd8sN/XMWkMlVMKlPFpHKiMlWcqJxUTCqTyk0Vk8pJxaQyVUwqN1WcqEwVk8qk8kXFpPJGxaTy/+RhrbUueVhrrUse1lrrkh/+z6lMFScVN1VMKpPKVDGpTBWTyknFFyonKlPFpDJVTConKjdVnKhMFZPKScWkMqlMFf9PHtZa65KHtda65GGttS754ZdV/CaVqWJS+UJlqjhROamYVCaVE5WpYlKZKt6oeEPlpGJSmSreUJkq3lCZKt6omFTeqLip4t/kYa21LnlYa61LHtZa65IfLlP5L1GZKt5QmSomlTcqJpWpYlKZKiaVqeINlaniDZWpYlKZKiaVqWJSmSpOKiaVqWJSmSpuUpkqTlT+zR7WWuuSh7XWuuRhrb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ZPKFyonFZPKGypTxUnFpPKbKm5SmSomld9UMam8oXJScVIxqdz0sNZalzystdYlD2utdckPf5nKVHGiMlX8JpWp4ouKE5VJZaqYVH6TyonKGxWTyonKScWk8kbFpHKiMlVMKlPFicobKv8lD2utdcnDWmtd8rDWWpfYH/yHqUwVv0llqjhRmSpOVKaKSWWqmFSmihOVqeINlaliUpkqJpWTikllqjhROak4UfmbKt5QOan4mx7WWuuSh7XWuuRhrbUu+eEjlb+pYqqYVE4q3lCZKiaVL1SmikllqphUpooTlTdUporfVHFSMam8UTGpTBUnFTepnKhMFW+onFTc9LDWWpc8rLXWJQ9rrXXJD5dV3KTyRsWk8obKP0llqnhD5aaKN1SmipOKSWWqOKmYVKaKN1Smiknlb6p4o2JS+Zse1lrrkoe11rrkYa21Lvnhl6m8UfGGym+qmFROKiaVSWWqOFE5qZhUvlD5omJS+UJlqphUpopJ5aRiUnmjYlKZKiaVE5UvVN5QmSq+eFhrrUse1lrrkoe11rrkh/9zFZPKScVJxYnKVPGbVKaKSWWqmFROKiaVqeKkYlKZKk5UTiomlZOKk4qTikllqphUTipOVKaKm1RuelhrrUse1lrrkoe11rrkh/8zFZPKVDGpTConFZPKVDGpnFRMKlPFpDJVfFExqZxUnKi8oXJSMalMFVPFFyonFVPFpDJVnKhMFVPFpPJFxW96WGutSx7WWuuSh7XWuuSHX1bxmyomlaliUnmj4qRiUpkqJpWTipOKSWWqOFF5Q+WkYqqYVKaKSeVE5QuVqWJSmSreUJkqJpWTikllqpgq/s0e1lrrkoe11rrkYa21LvnhMpV/UsWkMlVMKicqJxVTxRcqU8VJxRsVJypTxRsqX1S8oTJVnKhMFZPKScVUMalMFScqU8WkclIxqfyTHtZa65KHtda65GGttS6xP1hrrQse1lrrkoe11rrkYa21LnlYa61LHtZa65KHtda65GGttS55WGutSx7WWuuSh7XWuuRhrbUueVhrrUse1lrrkoe11rrkYa21Lvkf/C+HzIiJCzEAAAAASUVORK5CYII=",
293
+ alt: "QRCode",
294
+ srcSet: ""
390
295
  }
391
- ), /* @__PURE__ */ React.createElement(
392
- "a",
296
+ )), /* @__PURE__ */ React.createElement(
297
+ "form",
393
298
  {
394
- tabIndex: 0,
395
- role: "button",
396
- "data-toggle": "popover",
397
- "data-trigger": "focus",
398
- "data-placement": "left",
399
- "data-content": "Enter the ZIP/Postal code for your credit card billing address."
299
+ id: "PaymentForm",
300
+ className: "payment-form",
301
+ onSubmit: handleSubmit
400
302
  },
401
- /* @__PURE__ */ React.createElement("i", { className: "fa fa-question-circle" })
402
- ), /* @__PURE__ */ React.createElement(
403
- "span",
404
- {
405
- id: "ZIPCode-error",
406
- style: { color: "red", display: "none" }
407
- },
408
- "This field is required"
409
- ))),
410
- /* @__PURE__ */ React.createElement(
411
- "button",
303
+ /* @__PURE__ */ React.createElement(
304
+ "input",
305
+ {
306
+ type: "hidden",
307
+ id: "dctoken",
308
+ defaultValue: dcToken,
309
+ name: "dctoken"
310
+ }
311
+ ),
312
+ /* @__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, " ", amount || 1, " "))), /* @__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" }))),
313
+ /* @__PURE__ */ React.createElement("div", { className: "form-group" }, /* @__PURE__ */ React.createElement("label", { htmlFor: "NameOnCard" }, "Name on card"), /* @__PURE__ */ React.createElement(
314
+ "input",
315
+ {
316
+ "data-token": "name",
317
+ id: "NameOnCard",
318
+ className: "form-control required",
319
+ type: "text",
320
+ maxLength: 100,
321
+ placeholder: "name",
322
+ value: formData == null ? void 0 : formData.name,
323
+ onChange: handleChange
324
+ }
325
+ ), /* @__PURE__ */ React.createElement(
326
+ "span",
327
+ {
328
+ id: "NameOnCard-error",
329
+ style: { color: "red" }
330
+ }
331
+ )),
332
+ /* @__PURE__ */ React.createElement("div", { className: "form-group" }, /* @__PURE__ */ React.createElement(
333
+ "input",
334
+ {
335
+ "data-token": "card_number",
336
+ className: "null card-image form-control required",
337
+ type: "text",
338
+ maxLength: 19,
339
+ placeholder: "0000 0000 0000 0000",
340
+ value: handleCardFormat(formData == null ? void 0 : formData.card_number),
341
+ onChange: handleChange
342
+ }
343
+ ), error.card_number && /* @__PURE__ */ React.createElement(
344
+ "span",
345
+ {
346
+ id: "card_number-error",
347
+ style: { color: "red" }
348
+ },
349
+ error.card_number
350
+ )),
351
+ /* @__PURE__ */ React.createElement("div", { className: "expiry-date-group form-group" }, /* @__PURE__ */ React.createElement(
352
+ "input",
353
+ {
354
+ "data-token": "exp_month",
355
+ className: "form-control required",
356
+ type: "text",
357
+ placeholder: "MM",
358
+ maxLength: 2,
359
+ value: formData == null ? void 0 : formData.exp_month,
360
+ onChange: handleChange
361
+ }
362
+ ), error.exp_month && /* @__PURE__ */ React.createElement(
363
+ "span",
364
+ {
365
+ id: "exp_month-error",
366
+ style: { color: "red" }
367
+ },
368
+ error.exp_month
369
+ )),
370
+ /* @__PURE__ */ React.createElement("div", { className: "expiry-date-group form-group" }, /* @__PURE__ */ React.createElement(
371
+ "input",
372
+ {
373
+ "data-token": "exp_year",
374
+ className: "form-control required",
375
+ type: "text",
376
+ placeholder: "YYYY",
377
+ maxLength: 4,
378
+ value: formData == null ? void 0 : formData.exp_year,
379
+ onChange: handleChange
380
+ }
381
+ ), error.exp_year && /* @__PURE__ */ React.createElement(
382
+ "span",
383
+ {
384
+ id: "exp_year-error",
385
+ style: { color: "red" }
386
+ },
387
+ error.exp_year
388
+ )),
389
+ /* @__PURE__ */ React.createElement("div", { className: "security-code-group form-group" }, /* @__PURE__ */ React.createElement("div", { className: "input-container" }, /* @__PURE__ */ React.createElement(
390
+ "input",
391
+ {
392
+ "data-token": "cvv",
393
+ className: "form-control required",
394
+ type: "text",
395
+ maxLength: 4,
396
+ placeholder: "CVC",
397
+ value: formData == null ? void 0 : formData.cvv,
398
+ onChange: handleChange
399
+ }
400
+ ), /* @__PURE__ */ React.createElement("i", { id: "cvc", className: "fa fa-question-circle" })), error.cvv && /* @__PURE__ */ React.createElement(
401
+ "span",
402
+ {
403
+ id: "cvv-error",
404
+ style: { color: "red" }
405
+ },
406
+ error.cvv
407
+ ), /* @__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" }))),
408
+ /* @__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(
409
+ "input",
410
+ {
411
+ id: "ZIPCode",
412
+ "data-token": "zip",
413
+ className: "form-control required",
414
+ type: "text",
415
+ maxLength: 7,
416
+ placeholder: "000000",
417
+ value: formData == null ? void 0 : formData.zip,
418
+ onChange: handleChange
419
+ }
420
+ ), /* @__PURE__ */ React.createElement(
421
+ "a",
422
+ {
423
+ tabIndex: 0,
424
+ role: "button",
425
+ "data-toggle": "popover",
426
+ "data-trigger": "focus",
427
+ "data-placement": "left",
428
+ "data-content": "Enter the ZIP/Postal code for your credit card billing address."
429
+ },
430
+ /* @__PURE__ */ React.createElement("i", { className: "fa fa-question-circle" })
431
+ ), /* @__PURE__ */ React.createElement(
432
+ "span",
433
+ {
434
+ id: "ZIPCode-error",
435
+ style: { color: "red", display: "none" }
436
+ },
437
+ "This field is required"
438
+ ))),
439
+ /* @__PURE__ */ React.createElement(
440
+ "button",
441
+ {
442
+ id: "PayButton",
443
+ className: "btn btn-block btn-success submit-button",
444
+ type: "submit"
445
+ },
446
+ /* @__PURE__ */ React.createElement("span", { className: "submit-button-lock" }),
447
+ /* @__PURE__ */ React.createElement("span", { className: "align-middle" }, "Pay $", amount || 1)
448
+ )
449
+ ), /* @__PURE__ */ React.createElement("div", { className: "powerd-by-part", style: {
450
+ display: "flex",
451
+ fontSize: "12px",
452
+ textAlign: "center",
453
+ alignItems: "center",
454
+ justifyContent: "center",
455
+ margin: "8px 0 20px 0"
456
+ } }, /* @__PURE__ */ React.createElement(
457
+ "svg",
412
458
  {
413
- id: "PayButton",
414
- className: "btn btn-block btn-success submit-button",
415
- type: "submit"
459
+ xmlns: "http://www.w3.org/2000/svg",
460
+ width: 20,
461
+ height: 20,
462
+ viewBox: "0 0 26 26"
416
463
  },
417
- /* @__PURE__ */ React.createElement("span", { className: "submit-button-lock" }),
418
- /* @__PURE__ */ React.createElement("span", { className: "align-middle" }, "Pay $1.00")
419
- )
420
- ), /* @__PURE__ */ React.createElement("div", { className: "powerd-by-part", style: {
421
- display: "flex",
422
- fontSize: "12px",
423
- textAlign: "center",
424
- alignItems: "center",
425
- justifyContent: "center",
426
- margin: "8px 0 20px 0"
427
- } }, /* @__PURE__ */ React.createElement(
428
- "svg",
429
- {
430
- xmlns: "http://www.w3.org/2000/svg",
431
- width: 20,
432
- height: 20,
433
- viewBox: "0 0 26 26"
434
- },
435
- /* @__PURE__ */ React.createElement(
436
- "path",
464
+ /* @__PURE__ */ React.createElement(
465
+ "path",
466
+ {
467
+ fill: "currentColor",
468
+ 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"
469
+ }
470
+ )
471
+ ), "Secure payments powered by Fractal", /* @__PURE__ */ React.createElement(
472
+ "img",
437
473
  {
438
- fill: "currentColor",
439
- 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"
440
- }
441
- )
442
- ), "Secure payments powered by Fractal", /* @__PURE__ */ React.createElement(
443
- "img",
444
- {
445
- src: "https://ui.fractalpay.com/favicon.ico",
446
- alt: "Fractal logo",
447
- className: "powered-logo",
448
- style: {
449
- width: "18px",
450
- height: "18px",
451
- float: "right",
452
- padding: "2px",
453
- background: "#000",
454
- borderRadius: "4px",
455
- marginLeft: "5px"
474
+ src: "https://ui.fractalpay.com/favicon.ico",
475
+ alt: "Fractal logo",
476
+ className: "powered-logo",
477
+ style: {
478
+ width: "18px",
479
+ height: "18px",
480
+ float: "right",
481
+ padding: "2px",
482
+ background: "#000",
483
+ borderRadius: "4px",
484
+ marginLeft: "5px"
485
+ }
456
486
  }
457
- }
458
- ))))))))))));
487
+ ))))))))))))
488
+ ));
459
489
  }
460
490
  export {
461
491
  PaywithFractal
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pinerohit11/testwidget",
3
- "version": "0.1.18",
3
+ "version": "0.1.19",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "dev": "next dev",
@@ -1 +0,0 @@
1
- {"c":["app/layout","webpack"],"r":[],"m":[]}
@@ -1 +0,0 @@
1
- {"c":["app/layout","webpack"],"r":[],"m":[]}
@@ -1 +0,0 @@
1
- {"c":["app/layout","webpack"],"r":[],"m":[]}
@@ -1,31 +0,0 @@
1
- /*
2
- * ATTENTION: An "eval-source-map" devtool has been used.
3
- * This devtool is neither made for production nor for readable output files.
4
- * It uses "eval()" calls to create a separate source file with attached SourceMaps in the browser devtools.
5
- * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
6
- * or disable the default devtool with "devtool: false".
7
- * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
8
- */
9
- self["webpackHotUpdate_N_E"]("app/layout",{
10
-
11
- /***/ "(app-pages-browser)/./node_modules/next/font/local/target.css?{\"path\":\"src\\\\app\\\\layout.tsx\",\"import\":\"\",\"arguments\":[{\"src\":\"./fonts/GeistMonoVF.woff\",\"variable\":\"--font-geist-mono\",\"weight\":\"100 900\"}],\"variableName\":\"geistMono\"}":
12
- /*!***************************************************************************************************************************************************************************************************************************!*\
13
- !*** ./node_modules/next/font/local/target.css?{"path":"src\\app\\layout.tsx","import":"","arguments":[{"src":"./fonts/GeistMonoVF.woff","variable":"--font-geist-mono","weight":"100 900"}],"variableName":"geistMono"} ***!
14
- \***************************************************************************************************************************************************************************************************************************/
15
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
16
-
17
- eval(__webpack_require__.ts("// extracted by mini-css-extract-plugin\nmodule.exports = {\"style\":{\"fontFamily\":\"'geistMono', 'geistMono Fallback'\"},\"className\":\"__className_c3aa02\",\"variable\":\"__variable_c3aa02\"};\n if(true) {\n // 1732088344323\n var cssReload = __webpack_require__(/*! ./node_modules/next/dist/compiled/mini-css-extract-plugin/hmr/hotModuleReplacement.js */ \"(app-pages-browser)/./node_modules/next/dist/compiled/mini-css-extract-plugin/hmr/hotModuleReplacement.js\")(module.id, {\"publicPath\":\"/_next/\",\"esModule\":false,\"locals\":true});\n module.hot.dispose(cssReload);\n \n }\n //# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiKGFwcC1wYWdlcy1icm93c2VyKS8uL25vZGVfbW9kdWxlcy9uZXh0L2ZvbnQvbG9jYWwvdGFyZ2V0LmNzcz97XCJwYXRoXCI6XCJzcmNcXFxcYXBwXFxcXGxheW91dC50c3hcIixcImltcG9ydFwiOlwiXCIsXCJhcmd1bWVudHNcIjpbe1wic3JjXCI6XCIuL2ZvbnRzL0dlaXN0TW9ub1ZGLndvZmZcIixcInZhcmlhYmxlXCI6XCItLWZvbnQtZ2Vpc3QtbW9ub1wiLFwid2VpZ2h0XCI6XCIxMDAgOTAwXCJ9XSxcInZhcmlhYmxlTmFtZVwiOlwiZ2Vpc3RNb25vXCJ9IiwibWFwcGluZ3MiOiJBQUFBO0FBQ0Esa0JBQWtCLFNBQVMsaURBQWlEO0FBQzVFLE9BQU8sSUFBVTtBQUNqQjtBQUNBLHNCQUFzQixtQkFBTyxDQUFDLHdNQUF1SSxjQUFjLHNEQUFzRDtBQUN6TyxNQUFNLFVBQVU7QUFDaEI7QUFDQTtBQUNBIiwic291cmNlcyI6WyJDOlxcVXNlcnNcXFBpbmVzdWNjZWVkXFxEZXNrdG9wXFxXb3JrU3BhY2VcXHRlc3R3aWRnZXRcXG5vZGVfbW9kdWxlc1xcbmV4dFxcZm9udFxcbG9jYWxcXHRhcmdldC5jc3M/e1wicGF0aFwiOlwic3JjXFxhcHBcXGxheW91dC50c3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pack-internal:///(app-pages-browser)/./node_modules/next/font/local/target.css?{\"path\":\"src\\\\app\\\\layout.tsx\",\"import\":\"\",\"arguments\":[{\"src\":\"./fonts/GeistMonoVF.woff\",\"variable\":\"--font-geist-mono\",\"weight\":\"100 900\"}],\"variableName\":\"geistMono\"}\n"));
18
-
19
- /***/ }),
20
-
21
- /***/ "(app-pages-browser)/./node_modules/next/font/local/target.css?{\"path\":\"src\\\\app\\\\layout.tsx\",\"import\":\"\",\"arguments\":[{\"src\":\"./fonts/GeistVF.woff\",\"variable\":\"--font-geist-sans\",\"weight\":\"100 900\"}],\"variableName\":\"geistSans\"}":
22
- /*!***********************************************************************************************************************************************************************************************************************!*\
23
- !*** ./node_modules/next/font/local/target.css?{"path":"src\\app\\layout.tsx","import":"","arguments":[{"src":"./fonts/GeistVF.woff","variable":"--font-geist-sans","weight":"100 900"}],"variableName":"geistSans"} ***!
24
- \***********************************************************************************************************************************************************************************************************************/
25
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
26
-
27
- eval(__webpack_require__.ts("// extracted by mini-css-extract-plugin\nmodule.exports = {\"style\":{\"fontFamily\":\"'geistSans', 'geistSans Fallback'\"},\"className\":\"__className_1e4310\",\"variable\":\"__variable_1e4310\"};\n if(true) {\n // 1732088344326\n var cssReload = __webpack_require__(/*! ./node_modules/next/dist/compiled/mini-css-extract-plugin/hmr/hotModuleReplacement.js */ \"(app-pages-browser)/./node_modules/next/dist/compiled/mini-css-extract-plugin/hmr/hotModuleReplacement.js\")(module.id, {\"publicPath\":\"/_next/\",\"esModule\":false,\"locals\":true});\n module.hot.dispose(cssReload);\n \n }\n //# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiKGFwcC1wYWdlcy1icm93c2VyKS8uL25vZGVfbW9kdWxlcy9uZXh0L2ZvbnQvbG9jYWwvdGFyZ2V0LmNzcz97XCJwYXRoXCI6XCJzcmNcXFxcYXBwXFxcXGx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FtZVwiOlwiX19jbGFzc05hbWVfMWU0MzEwXCIsXCJ2YXJpYWJsZVwiOlwiX192YXJpYWJsZV8xZTQzMTBcIn07XG4gICAgaWYobW9kdWxlLmhvdCkge1xuICAgICAgLy8gMTczMjA4ODM0NDMyNlxuICAgICAgdmFyIGNzc1JlbG9hZCA9IHJlcXVpcmUoXCJDOi9Vc2Vycy9QaW5lc3VjY2VlZC9EZXNrdG9wL1dvcmtTcGFjZS90ZXN0d2lkZ2V0L25vZGVfbW9kdWxlcy9uZXh0L2Rpc3QvY29tcGlsZWQvbWluaS1jc3MtZXh0cmFjdC1wbHVnaW4vaG1yL2hvdE1vZHVsZVJlcGxhY2VtZW50LmpzXCIpKG1vZHVsZS5pZCwge1wicHVibGljUGF0aFwiOlwiL19uZXh0L1wiLFwiZXNNb2R1bGVcIjpmYWxzZSxcImxvY2Fsc1wiOnRydWV9KTtcbiAgICAgIG1vZHVsZS5ob3QuZGlzcG9zZShjc3NSZWxvYWQpO1xuICAgICAgXG4gICAgfVxuICAiXSwibmFtZXMiOltdLCJpZ25vcmVMaXN0IjpbMF0sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///(app-pages-browser)/./node_modules/next/font/local/target.css?{\"path\":\"src\\\\app\\\\layout.tsx\",\"import\":\"\",\"arguments\":[{\"src\":\"./fonts/GeistVF.woff\",\"variable\":\"--font-geist-sans\",\"weight\":\"100 900\"}],\"variableName\":\"geistSans\"}\n"));
28
-
29
- /***/ })
30
-
31
- });