@pinerohit11/testwidget 0.1.18 → 0.1.20

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