@opexa/portal-components 0.0.7 → 0.0.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (339) hide show
  1. package/dist/_virtual/jsx-runtime.js +1 -1
  2. package/dist/_virtual/jsx-runtime.mjs +3 -2
  3. package/dist/_virtual/jsx-runtime2.js +1 -0
  4. package/dist/_virtual/jsx-runtime2.mjs +4 -0
  5. package/dist/components/Account/Account.js +1 -1
  6. package/dist/components/Account/Account.mjs +159 -117
  7. package/dist/components/Banner/Banner.js +1 -1
  8. package/dist/components/Banner/Banner.mjs +49 -45
  9. package/dist/components/BetRecords/BetRecords.js +1 -1
  10. package/dist/components/BetRecords/BetRecords.mjs +344 -232
  11. package/dist/components/DepositWithdrawal/AmountChoices.js +1 -1
  12. package/dist/components/DepositWithdrawal/AmountChoices.mjs +20 -19
  13. package/dist/components/DepositWithdrawal/AvailablePromos.js +1 -1
  14. package/dist/components/DepositWithdrawal/AvailablePromos.mjs +98 -80
  15. package/dist/components/DepositWithdrawal/Deposit/Deposit.js +1 -1
  16. package/dist/components/DepositWithdrawal/Deposit/Deposit.mjs +38 -27
  17. package/dist/components/DepositWithdrawal/Deposit/GCashDeposit/GCashDeposit.js +1 -1
  18. package/dist/components/DepositWithdrawal/Deposit/GCashDeposit/GCashDeposit.mjs +189 -148
  19. package/dist/components/DepositWithdrawal/Deposit/MayaAppDeposit/MayaAppDeposit.js +1 -1
  20. package/dist/components/DepositWithdrawal/Deposit/MayaAppDeposit/MayaAppDeposit.mjs +181 -140
  21. package/dist/components/DepositWithdrawal/Deposit/MayaAppDeposit/SessionExpired.js +1 -1
  22. package/dist/components/DepositWithdrawal/Deposit/MayaAppDeposit/SessionExpired.mjs +9 -4
  23. package/dist/components/DepositWithdrawal/Deposit/MayaDeposit/MayaDeposit.js +1 -1
  24. package/dist/components/DepositWithdrawal/Deposit/MayaDeposit/MayaDeposit.mjs +187 -146
  25. package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDeposit.js +1 -1
  26. package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDeposit.mjs +16 -10
  27. package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositForm.js +1 -1
  28. package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositForm.mjs +198 -151
  29. package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositLoading.js +1 -1
  30. package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositLoading.mjs +9 -4
  31. package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositSuccess.js +1 -1
  32. package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositSuccess.mjs +9 -4
  33. package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositVCA.js +1 -1
  34. package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositVCA.mjs +65 -29
  35. package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/useOnlineBankDeposit.js +1 -1
  36. package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/useOnlineBankDeposit.mjs +8 -7
  37. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDeposit.js +1 -1
  38. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDeposit.mjs +14 -8
  39. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositForm.js +1 -1
  40. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositForm.mjs +179 -141
  41. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositLoading.js +1 -1
  42. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositLoading.mjs +9 -4
  43. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositQrCode.js +1 -1
  44. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositQrCode.mjs +103 -55
  45. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositSuccess.js +1 -1
  46. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositSuccess.mjs +22 -16
  47. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/useQRPHDeposit.js +1 -1
  48. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/useQRPHDeposit.mjs +7 -6
  49. package/dist/components/DepositWithdrawal/DepositWithdrawal.js +1 -1
  50. package/dist/components/DepositWithdrawal/DepositWithdrawal.mjs +87 -59
  51. package/dist/components/DepositWithdrawal/PaymentMethods.js +1 -1
  52. package/dist/components/DepositWithdrawal/PaymentMethods.mjs +57 -51
  53. package/dist/components/Disclaimer/Disclaimer.js +1 -1
  54. package/dist/components/Disclaimer/Disclaimer.mjs +77 -58
  55. package/dist/components/Empty/CloudIcon.js +1 -1
  56. package/dist/components/Empty/CloudIcon.mjs +189 -168
  57. package/dist/components/Empty/Empty.js +1 -1
  58. package/dist/components/Empty/Empty.mjs +13 -4
  59. package/dist/components/FeatureFlagProvider/FeatureFlagContext.d.ts +4 -1
  60. package/dist/components/FeatureFlagProvider/FeatureFlagContext.js +1 -1
  61. package/dist/components/FeatureFlagProvider/FeatureFlagContext.mjs +8 -7
  62. package/dist/components/FeatureFlagProvider/FeatureFlagProvider.js +1 -1
  63. package/dist/components/FeatureFlagProvider/FeatureFlagProvider.mjs +33 -27
  64. package/dist/components/GameLaunch/GameLaunch.js +1 -1
  65. package/dist/components/GameLaunch/GameLaunch.mjs +216 -170
  66. package/dist/components/GameLaunch/GameLaunchTrigger.js +1 -1
  67. package/dist/components/GameLaunch/GameLaunchTrigger.mjs +20 -19
  68. package/dist/components/Games/Games.js +1 -1
  69. package/dist/components/Games/Games.mjs +102 -84
  70. package/dist/components/JackpotCounter/JackpotCounter.js +1 -1
  71. package/dist/components/JackpotCounter/JackpotCounter.mjs +80 -63
  72. package/dist/components/JackpotCounter/JackpotCounterItem.js +1 -1
  73. package/dist/components/JackpotCounter/JackpotCounterItem.mjs +144 -114
  74. package/dist/components/Marquee/Marquee.js +1 -1
  75. package/dist/components/Marquee/Marquee.mjs +19 -10
  76. package/dist/components/PortalProvider/PortalProvider.js +1 -1
  77. package/dist/components/PortalProvider/PortalProvider.mjs +53 -46
  78. package/dist/components/Promos/PromoCarousel.js +1 -1
  79. package/dist/components/Promos/PromoCarousel.mjs +93 -76
  80. package/dist/components/Promos/PromoGrid.js +1 -1
  81. package/dist/components/Promos/PromoGrid.mjs +37 -29
  82. package/dist/components/Promos/PromoItem.js +1 -1
  83. package/dist/components/Promos/PromoItem.mjs +51 -44
  84. package/dist/components/Promos/Promos.js +1 -1
  85. package/dist/components/Promos/Promos.mjs +5 -4
  86. package/dist/components/Protected/Protected.js +1 -1
  87. package/dist/components/Protected/Protected.mjs +3 -2
  88. package/dist/components/SignIn/SignIn.js +1 -1
  89. package/dist/components/SignIn/SignIn.mjs +49 -36
  90. package/dist/components/SignIn/SignInForm.js +1 -1
  91. package/dist/components/SignIn/SignInForm.mjs +261 -198
  92. package/dist/components/SignUp/SignUp.js +1 -1
  93. package/dist/components/SignUp/SignUp.mjs +51 -38
  94. package/dist/components/SignUp/SignUpForm.js +1 -1
  95. package/dist/components/SignUp/SignUpForm.mjs +240 -189
  96. package/dist/components/TopWins/TopWins.js +1 -1
  97. package/dist/components/TopWins/TopWins.mjs +39 -29
  98. package/dist/components/TournamentCounter/TournamentCounter.js +1 -1
  99. package/dist/components/TournamentCounter/TournamentCounter.mjs +72 -57
  100. package/dist/components/TournamentCounter/TournamentCounterItem.js +1 -1
  101. package/dist/components/TournamentCounter/TournamentCounterItem.mjs +92 -66
  102. package/dist/components/TransactionRecords/DepositRecordsTable.js +1 -1
  103. package/dist/components/TransactionRecords/DepositRecordsTable.mjs +163 -115
  104. package/dist/components/TransactionRecords/TableFilters.js +1 -1
  105. package/dist/components/TransactionRecords/TableFilters.mjs +252 -186
  106. package/dist/components/TransactionRecords/TransactionRecords.js +1 -1
  107. package/dist/components/TransactionRecords/TransactionRecords.mjs +31 -19
  108. package/dist/components/TransactionRecords/TransactionRecordsTable.js +1 -1
  109. package/dist/components/TransactionRecords/TransactionRecordsTable.mjs +143 -101
  110. package/dist/components/TransactionRecords/WithdrawalRecordsTable.js +1 -1
  111. package/dist/components/TransactionRecords/WithdrawalRecordsTable.mjs +164 -114
  112. package/dist/components.d.ts +2 -0
  113. package/dist/hooks/useAccountQuery.js +1 -1
  114. package/dist/hooks/useAccountQuery.mjs +8 -7
  115. package/dist/hooks/useAuthenticateMutation.js +1 -1
  116. package/dist/hooks/useAuthenticateMutation.mjs +6 -5
  117. package/dist/hooks/useAvailablePromosQuery.js +1 -1
  118. package/dist/hooks/useAvailablePromosQuery.mjs +3 -2
  119. package/dist/hooks/useBetRecordsQuery.js +1 -1
  120. package/dist/hooks/useBetRecordsQuery.mjs +3 -2
  121. package/dist/hooks/useCashbacksQuery.js +1 -1
  122. package/dist/hooks/useCashbacksQuery.mjs +3 -2
  123. package/dist/hooks/useCreateGCashDepositMutation.js +1 -1
  124. package/dist/hooks/useCreateGCashDepositMutation.mjs +10 -9
  125. package/dist/hooks/useCreateGameSessionMutation.js +1 -1
  126. package/dist/hooks/useCreateGameSessionMutation.mjs +8 -7
  127. package/dist/hooks/useCreateMayaAppDepositMutation.js +1 -1
  128. package/dist/hooks/useCreateMayaAppDepositMutation.mjs +9 -8
  129. package/dist/hooks/useCreateMayaDepositMutation.js +1 -1
  130. package/dist/hooks/useCreateMayaDepositMutation.mjs +10 -9
  131. package/dist/hooks/useCreateOnlineBankDepositMutation.js +1 -1
  132. package/dist/hooks/useCreateOnlineBankDepositMutation.mjs +4 -3
  133. package/dist/hooks/useCreateQRPHDepositMutation.js +1 -1
  134. package/dist/hooks/useCreateQRPHDepositMutation.mjs +4 -3
  135. package/dist/hooks/useDepositQuery.js +1 -1
  136. package/dist/hooks/useDepositQuery.mjs +7 -6
  137. package/dist/hooks/useDepositRecordsQuery.js +1 -1
  138. package/dist/hooks/useDepositRecordsQuery.mjs +10 -9
  139. package/dist/hooks/useDepositsCountQuery.js +1 -1
  140. package/dist/hooks/useDepositsCountQuery.mjs +3 -2
  141. package/dist/hooks/useEndGameSessionMutation.js +1 -1
  142. package/dist/hooks/useEndGameSessionMutation.mjs +3 -2
  143. package/dist/hooks/useGamesQuery.js +1 -1
  144. package/dist/hooks/useGamesQuery.mjs +3 -2
  145. package/dist/hooks/useInstapayBankListQuery.js +1 -1
  146. package/dist/hooks/useInstapayBankListQuery.mjs +10 -9
  147. package/dist/hooks/useIsMayaSessionValidQuery.js +1 -1
  148. package/dist/hooks/useIsMayaSessionValidQuery.mjs +3 -2
  149. package/dist/hooks/useJackpotsQuery.js +1 -1
  150. package/dist/hooks/useJackpotsQuery.mjs +6 -5
  151. package/dist/hooks/useLocaleInfo.js +1 -1
  152. package/dist/hooks/useLocaleInfo.mjs +3 -2
  153. package/dist/hooks/useMemberVerificationQuery.js +1 -1
  154. package/dist/hooks/useMemberVerificationQuery.mjs +7 -6
  155. package/dist/hooks/usePaymentSettingsQuery.js +1 -1
  156. package/dist/hooks/usePaymentSettingsQuery.mjs +7 -6
  157. package/dist/hooks/usePlatformQuery.js +1 -1
  158. package/dist/hooks/usePlatformQuery.mjs +3 -2
  159. package/dist/hooks/usePromoQuery.js +1 -1
  160. package/dist/hooks/usePromoQuery.mjs +3 -2
  161. package/dist/hooks/usePromosQuery.js +1 -1
  162. package/dist/hooks/usePromosQuery.mjs +3 -2
  163. package/dist/hooks/useSendVerificationCodeMutation.js +1 -1
  164. package/dist/hooks/useSendVerificationCodeMutation.mjs +3 -2
  165. package/dist/hooks/useSessionQuery.js +1 -1
  166. package/dist/hooks/useSessionQuery.mjs +3 -2
  167. package/dist/hooks/useSignInMutation.js +1 -1
  168. package/dist/hooks/useSignInMutation.mjs +3 -2
  169. package/dist/hooks/useSignOutMutation.js +1 -1
  170. package/dist/hooks/useSignOutMutation.mjs +3 -2
  171. package/dist/hooks/useSignUpMutation.js +1 -1
  172. package/dist/hooks/useSignUpMutation.mjs +3 -2
  173. package/dist/hooks/useSiteQuery.js +1 -1
  174. package/dist/hooks/useSiteQuery.mjs +3 -2
  175. package/dist/hooks/useTopWinsQuery.js +1 -1
  176. package/dist/hooks/useTopWinsQuery.mjs +3 -2
  177. package/dist/hooks/useTournamentsQuery.js +1 -1
  178. package/dist/hooks/useTournamentsQuery.mjs +6 -5
  179. package/dist/hooks/useTransactionRecordsQuery.js +1 -1
  180. package/dist/hooks/useTransactionRecordsQuery.mjs +3 -2
  181. package/dist/hooks/useWalletQuery.js +1 -1
  182. package/dist/hooks/useWalletQuery.mjs +3 -2
  183. package/dist/hooks/useWithdrawalRecordsQuery.js +1 -1
  184. package/dist/hooks/useWithdrawalRecordsQuery.mjs +9 -8
  185. package/dist/hooks.d.ts +2 -0
  186. package/dist/icons/AlertCircleIcon.js +1 -1
  187. package/dist/icons/AlertCircleIcon.mjs +7 -6
  188. package/dist/icons/AlertTriangle.js +1 -1
  189. package/dist/icons/AlertTriangle.mjs +7 -6
  190. package/dist/icons/ArrowLeftIcon.js +1 -1
  191. package/dist/icons/ArrowLeftIcon.mjs +7 -6
  192. package/dist/icons/ArrowNarrowUpRightIcon.js +1 -1
  193. package/dist/icons/ArrowNarrowUpRightIcon.mjs +7 -6
  194. package/dist/icons/ArrowRightIcon.js +1 -1
  195. package/dist/icons/ArrowRightIcon.mjs +7 -6
  196. package/dist/icons/Award02Icon.js +1 -1
  197. package/dist/icons/Award02Icon.mjs +7 -6
  198. package/dist/icons/BankIcon.js +1 -1
  199. package/dist/icons/BankIcon.mjs +7 -6
  200. package/dist/icons/CheckCircleBrokenIcon.js +1 -1
  201. package/dist/icons/CheckCircleBrokenIcon.mjs +6 -5
  202. package/dist/icons/CheckIcon.js +1 -1
  203. package/dist/icons/CheckIcon.mjs +7 -6
  204. package/dist/icons/ChevronDownIcon.js +1 -1
  205. package/dist/icons/ChevronDownIcon.mjs +6 -5
  206. package/dist/icons/ChevronLeftIcon.js +1 -1
  207. package/dist/icons/ChevronLeftIcon.mjs +7 -6
  208. package/dist/icons/ChevronRightIcon.js +1 -1
  209. package/dist/icons/ChevronRightIcon.mjs +7 -6
  210. package/dist/icons/ChevronUpIcon.js +1 -1
  211. package/dist/icons/ChevronUpIcon.mjs +7 -6
  212. package/dist/icons/Expand03Icon.js +1 -1
  213. package/dist/icons/Expand03Icon.mjs +7 -6
  214. package/dist/icons/FacebookIcon.js +1 -1
  215. package/dist/icons/FacebookIcon.mjs +22 -19
  216. package/dist/icons/File02Icon.js +1 -1
  217. package/dist/icons/File02Icon.mjs +7 -6
  218. package/dist/icons/Gift01Icon.js +1 -1
  219. package/dist/icons/Gift01Icon.mjs +7 -6
  220. package/dist/icons/GoogleIcon.js +1 -1
  221. package/dist/icons/GoogleIcon.mjs +43 -40
  222. package/dist/icons/Logout01Icon.js +1 -1
  223. package/dist/icons/Logout01Icon.mjs +7 -6
  224. package/dist/icons/QrCode02Icon.js +1 -1
  225. package/dist/icons/QrCode02Icon.mjs +7 -6
  226. package/dist/icons/SpinnerIcon.js +1 -1
  227. package/dist/icons/SpinnerIcon.mjs +33 -30
  228. package/dist/icons/User01Icon.js +1 -1
  229. package/dist/icons/User01Icon.mjs +7 -6
  230. package/dist/icons/Wallet02Icon.js +1 -1
  231. package/dist/icons/Wallet02Icon.mjs +7 -6
  232. package/dist/icons/XIcon.js +1 -1
  233. package/dist/icons/XIcon.mjs +7 -6
  234. package/dist/node_modules/.pnpm/buffer@6.0.3/node_modules/buffer/index.js +6 -0
  235. package/dist/node_modules/.pnpm/buffer@6.0.3/node_modules/buffer/index.mjs +953 -0
  236. package/dist/node_modules/.pnpm/react@19.1.0/node_modules/react/jsx-runtime.js +1 -1
  237. package/dist/node_modules/.pnpm/react@19.1.0/node_modules/react/jsx-runtime.mjs +1 -1
  238. package/dist/node_modules/.pnpm/safe-buffer@5.2.1/node_modules/safe-buffer/index.js +1 -1
  239. package/dist/node_modules/.pnpm/safe-buffer@5.2.1/node_modules/safe-buffer/index.mjs +1 -1
  240. package/dist/server/utils/prefetchAccountQuery.js +1 -1
  241. package/dist/server/utils/prefetchAccountQuery.mjs +7 -6
  242. package/dist/server/utils/prefetchAvailablePromosQuery.js +1 -1
  243. package/dist/server/utils/prefetchAvailablePromosQuery.mjs +11 -10
  244. package/dist/server/utils/prefetchBetRecordsQuery.js +1 -1
  245. package/dist/server/utils/prefetchBetRecordsQuery.mjs +9 -8
  246. package/dist/server/utils/prefetchCashbacksQuery.js +1 -1
  247. package/dist/server/utils/prefetchCashbacksQuery.mjs +9 -8
  248. package/dist/server/utils/prefetchDepositQuery.js +1 -1
  249. package/dist/server/utils/prefetchDepositQuery.mjs +11 -10
  250. package/dist/server/utils/prefetchDepositRecordsQuery.js +1 -1
  251. package/dist/server/utils/prefetchDepositRecordsQuery.mjs +11 -10
  252. package/dist/server/utils/prefetchGamesQuery.js +1 -1
  253. package/dist/server/utils/prefetchGamesQuery.mjs +3 -2
  254. package/dist/server/utils/prefetchInstapayBankListQuery.js +1 -1
  255. package/dist/server/utils/prefetchInstapayBankListQuery.mjs +3 -2
  256. package/dist/server/utils/prefetchIsMayaSessionValidQuery.js +1 -1
  257. package/dist/server/utils/prefetchIsMayaSessionValidQuery.mjs +3 -2
  258. package/dist/server/utils/prefetchJackpotsQuery.js +1 -1
  259. package/dist/server/utils/prefetchJackpotsQuery.mjs +5 -4
  260. package/dist/server/utils/prefetchMemberVerificationQuery.js +1 -1
  261. package/dist/server/utils/prefetchMemberVerificationQuery.mjs +6 -5
  262. package/dist/server/utils/prefetchPaymentSettingsQuery.js +1 -1
  263. package/dist/server/utils/prefetchPaymentSettingsQuery.mjs +3 -2
  264. package/dist/server/utils/prefetchPlatformQuery.js +1 -1
  265. package/dist/server/utils/prefetchPlatformQuery.mjs +3 -2
  266. package/dist/server/utils/prefetchPromoQuery.js +1 -1
  267. package/dist/server/utils/prefetchPromoQuery.mjs +7 -6
  268. package/dist/server/utils/prefetchPromosQuery.js +1 -1
  269. package/dist/server/utils/prefetchPromosQuery.mjs +6 -5
  270. package/dist/server/utils/prefetchSessionQuery.js +1 -1
  271. package/dist/server/utils/prefetchSessionQuery.mjs +3 -2
  272. package/dist/server/utils/prefetchSiteQuery.js +1 -1
  273. package/dist/server/utils/prefetchSiteQuery.mjs +3 -2
  274. package/dist/server/utils/prefetchTopWinsQuery.js +1 -1
  275. package/dist/server/utils/prefetchTopWinsQuery.mjs +7 -6
  276. package/dist/server/utils/prefetchTournamentsQuery.js +1 -1
  277. package/dist/server/utils/prefetchTournamentsQuery.mjs +3 -2
  278. package/dist/server/utils/prefetchTransactionRecordsQuery.js +1 -1
  279. package/dist/server/utils/prefetchTransactionRecordsQuery.mjs +3 -2
  280. package/dist/server/utils/prefetchWalletQuery.js +1 -1
  281. package/dist/server/utils/prefetchWalletQuery.mjs +10 -9
  282. package/dist/server/utils/prefetchWithdrawalRecordsQuery.js +1 -1
  283. package/dist/server/utils/prefetchWithdrawalRecordsQuery.mjs +3 -2
  284. package/dist/server-services.d.ts +2 -0
  285. package/dist/server-utils.d.ts +2 -0
  286. package/dist/services.d.ts +2 -0
  287. package/dist/services.js +1 -0
  288. package/dist/services.mjs +10 -0
  289. package/dist/ui/AlertDialog/alertDialog.recipe.js +1 -1
  290. package/dist/ui/AlertDialog/alertDialog.recipe.mjs +3 -2
  291. package/dist/ui/Avatar/avatar.recipe.js +1 -1
  292. package/dist/ui/Avatar/avatar.recipe.mjs +6 -5
  293. package/dist/ui/Badge/Badge.js +1 -1
  294. package/dist/ui/Badge/Badge.mjs +13 -12
  295. package/dist/ui/Badge/badge.recipe.js +1 -1
  296. package/dist/ui/Badge/badge.recipe.mjs +3 -2
  297. package/dist/ui/Button/Button.js +1 -1
  298. package/dist/ui/Button/Button.mjs +14 -13
  299. package/dist/ui/Checkbox/checkbox.recipe.js +1 -1
  300. package/dist/ui/Checkbox/checkbox.recipe.mjs +3 -2
  301. package/dist/ui/Clipboard/clipboard.recipe.js +1 -1
  302. package/dist/ui/Clipboard/clipboard.recipe.mjs +3 -2
  303. package/dist/ui/DatePicker/datePicker.recipe.js +1 -1
  304. package/dist/ui/DatePicker/datePicker.recipe.mjs +3 -2
  305. package/dist/ui/Dialog/dialog.recipe.js +1 -1
  306. package/dist/ui/Dialog/dialog.recipe.mjs +3 -2
  307. package/dist/ui/Drawer/drawer.recipe.js +1 -1
  308. package/dist/ui/Drawer/drawer.recipe.mjs +3 -2
  309. package/dist/ui/Field/field.recipe.js +1 -1
  310. package/dist/ui/Field/field.recipe.mjs +3 -2
  311. package/dist/ui/IconButton/IconButton.js +1 -1
  312. package/dist/ui/IconButton/IconButton.mjs +9 -8
  313. package/dist/ui/NumberInput/numberInput.recipe.js +1 -1
  314. package/dist/ui/NumberInput/numberInput.recipe.mjs +3 -2
  315. package/dist/ui/PinInput/pinInput.recipe.js +1 -1
  316. package/dist/ui/PinInput/pinInput.recipe.mjs +3 -2
  317. package/dist/ui/Popover/popover.recipe.js +1 -1
  318. package/dist/ui/Popover/popover.recipe.mjs +6 -5
  319. package/dist/ui/Presence.js +1 -1
  320. package/dist/ui/Presence.mjs +8 -7
  321. package/dist/ui/SegmentGroup/segmentGroup.recipe.js +1 -1
  322. package/dist/ui/SegmentGroup/segmentGroup.recipe.mjs +3 -2
  323. package/dist/ui/Select/select.recipe.js +1 -1
  324. package/dist/ui/Select/select.recipe.mjs +3 -2
  325. package/dist/ui/Table/table.recipe.js +1 -1
  326. package/dist/ui/Table/table.recipe.mjs +3 -2
  327. package/dist/ui/Tabs/tabs.recipe.js +1 -1
  328. package/dist/ui/Tabs/tabs.recipe.mjs +3 -2
  329. package/dist/ui.d.ts +2 -0
  330. package/dist/utils/createRecipeContext.js +1 -1
  331. package/dist/utils/createRecipeContext.mjs +30 -29
  332. package/dist/utils/getLocaleInfo.js +1 -1
  333. package/dist/utils/getLocaleInfo.mjs +212 -173
  334. package/dist/utils.d.ts +2 -0
  335. package/package.json +18 -36
  336. package/dist/node_modules/.pnpm/buffer@5.6.0/node_modules/buffer/index.js +0 -6
  337. package/dist/node_modules/.pnpm/buffer@5.6.0/node_modules/buffer/index.mjs +0 -790
  338. /package/dist/node_modules/.pnpm/{@opexa_portal-sdk-core@0.0.19 → @opexa_portal-sdk-core@0.0.21}/node_modules/@opexa/portal-sdk-core/dist/object-id.js +0 -0
  339. /package/dist/node_modules/.pnpm/{@opexa_portal-sdk-core@0.0.19 → @opexa_portal-sdk-core@0.0.21}/node_modules/@opexa/portal-sdk-core/dist/object-id.mjs +0 -0
@@ -1,6 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const C=require("../../../../../_virtual/index3.js"),xr=require("../../../base64-js@1.5.1/node_modules/base64-js/index.js"),yr=require("../../../ieee754@1.2.1/node_modules/ieee754/index.js");/*!
2
- * The buffer module from node.js, for the browser.
3
- *
4
- * @author Feross Aboukhadijeh <https://feross.org>
5
- * @license MIT
6
- */var H;function Er(){return H||(H=1,function(F){var g=xr.__require(),m=yr.__require(),_=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;F.Buffer=u,F.SlowBuffer=Q,F.INSPECT_MAX_BYTES=50;var B=2147483647;F.kMaxLength=B,u.TYPED_ARRAY_SUPPORT=J(),!u.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function J(){try{var n=new Uint8Array(1),r={foo:function(){return 42}};return Object.setPrototypeOf(r,Uint8Array.prototype),Object.setPrototypeOf(n,r),n.foo()===42}catch{return!1}}Object.defineProperty(u.prototype,"parent",{enumerable:!0,get:function(){if(u.isBuffer(this))return this.buffer}}),Object.defineProperty(u.prototype,"offset",{enumerable:!0,get:function(){if(u.isBuffer(this))return this.byteOffset}});function x(n){if(n>B)throw new RangeError('The value "'+n+'" is invalid for option "size"');var r=new Uint8Array(n);return Object.setPrototypeOf(r,u.prototype),r}function u(n,r,i){if(typeof n=="number"){if(typeof r=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return U(n)}return D(n,r,i)}u.poolSize=8192;function D(n,r,i){if(typeof n=="string")return Z(n,r);if(ArrayBuffer.isView(n))return T(n);if(n==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof n);if(y(n,ArrayBuffer)||n&&y(n.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(y(n,SharedArrayBuffer)||n&&y(n.buffer,SharedArrayBuffer)))return L(n,r,i);if(typeof n=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var t=n.valueOf&&n.valueOf();if(t!=null&&t!==n)return u.from(t,r,i);var e=O(n);if(e)return e;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof n[Symbol.toPrimitive]=="function")return u.from(n[Symbol.toPrimitive]("string"),r,i);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof n)}u.from=function(n,r,i){return D(n,r,i)},Object.setPrototypeOf(u.prototype,Uint8Array.prototype),Object.setPrototypeOf(u,Uint8Array);function k(n){if(typeof n!="number")throw new TypeError('"size" argument must be of type number');if(n<0)throw new RangeError('The value "'+n+'" is invalid for option "size"')}function K(n,r,i){return k(n),n<=0?x(n):r!==void 0?typeof i=="string"?x(n).fill(r,i):x(n).fill(r):x(n)}u.alloc=function(n,r,i){return K(n,r,i)};function U(n){return k(n),x(n<0?0:v(n)|0)}u.allocUnsafe=function(n){return U(n)},u.allocUnsafeSlow=function(n){return U(n)};function Z(n,r){if((typeof r!="string"||r==="")&&(r="utf8"),!u.isEncoding(r))throw new TypeError("Unknown encoding: "+r);var i=M(n,r)|0,t=x(i),e=t.write(n,r);return e!==i&&(t=t.slice(0,e)),t}function T(n){for(var r=n.length<0?0:v(n.length)|0,i=x(r),t=0;t<r;t+=1)i[t]=n[t]&255;return i}function L(n,r,i){if(r<0||n.byteLength<r)throw new RangeError('"offset" is outside of buffer bounds');if(n.byteLength<r+(i||0))throw new RangeError('"length" is outside of buffer bounds');var t;return r===void 0&&i===void 0?t=new Uint8Array(n):i===void 0?t=new Uint8Array(n,r):t=new Uint8Array(n,r,i),Object.setPrototypeOf(t,u.prototype),t}function O(n){if(u.isBuffer(n)){var r=v(n.length)|0,i=x(r);return i.length===0||n.copy(i,0,0,r),i}if(n.length!==void 0)return typeof n.length!="number"||S(n.length)?x(0):T(n);if(n.type==="Buffer"&&Array.isArray(n.data))return T(n.data)}function v(n){if(n>=B)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+B.toString(16)+" bytes");return n|0}function Q(n){return+n!=n&&(n=0),u.alloc(+n)}u.isBuffer=function(r){return r!=null&&r._isBuffer===!0&&r!==u.prototype},u.compare=function(r,i){if(y(r,Uint8Array)&&(r=u.from(r,r.offset,r.byteLength)),y(i,Uint8Array)&&(i=u.from(i,i.offset,i.byteLength)),!u.isBuffer(r)||!u.isBuffer(i))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(r===i)return 0;for(var t=r.length,e=i.length,o=0,h=Math.min(t,e);o<h;++o)if(r[o]!==i[o]){t=r[o],e=i[o];break}return t<e?-1:e<t?1:0},u.isEncoding=function(r){switch(String(r).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},u.concat=function(r,i){if(!Array.isArray(r))throw new TypeError('"list" argument must be an Array of Buffers');if(r.length===0)return u.alloc(0);var t;if(i===void 0)for(i=0,t=0;t<r.length;++t)i+=r[t].length;var e=u.allocUnsafe(i),o=0;for(t=0;t<r.length;++t){var h=r[t];if(y(h,Uint8Array)&&(h=u.from(h)),!u.isBuffer(h))throw new TypeError('"list" argument must be an Array of Buffers');h.copy(e,o),o+=h.length}return e};function M(n,r){if(u.isBuffer(n))return n.length;if(ArrayBuffer.isView(n)||y(n,ArrayBuffer))return n.byteLength;if(typeof n!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof n);var i=n.length,t=arguments.length>2&&arguments[2]===!0;if(!t&&i===0)return 0;for(var e=!1;;)switch(r){case"ascii":case"latin1":case"binary":return i;case"utf8":case"utf-8":return R(n).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return i*2;case"hex":return i>>>1;case"base64":return V(n).length;default:if(e)return t?-1:R(n).length;r=(""+r).toLowerCase(),e=!0}}u.byteLength=M;function P(n,r,i){var t=!1;if((r===void 0||r<0)&&(r=0),r>this.length||((i===void 0||i>this.length)&&(i=this.length),i<=0)||(i>>>=0,r>>>=0,i<=r))return"";for(n||(n="utf8");;)switch(n){case"hex":return fr(this,r,i);case"utf8":case"utf-8":return d(this,r,i);case"ascii":return or(this,r,i);case"latin1":case"binary":return hr(this,r,i);case"base64":return er(this,r,i);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ar(this,r,i);default:if(t)throw new TypeError("Unknown encoding: "+n);n=(n+"").toLowerCase(),t=!0}}u.prototype._isBuffer=!0;function E(n,r,i){var t=n[r];n[r]=n[i],n[i]=t}u.prototype.swap16=function(){var r=this.length;if(r%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var i=0;i<r;i+=2)E(this,i,i+1);return this},u.prototype.swap32=function(){var r=this.length;if(r%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var i=0;i<r;i+=4)E(this,i,i+3),E(this,i+1,i+2);return this},u.prototype.swap64=function(){var r=this.length;if(r%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var i=0;i<r;i+=8)E(this,i,i+7),E(this,i+1,i+6),E(this,i+2,i+5),E(this,i+3,i+4);return this},u.prototype.toString=function(){var r=this.length;return r===0?"":arguments.length===0?d(this,0,r):P.apply(this,arguments)},u.prototype.toLocaleString=u.prototype.toString,u.prototype.equals=function(r){if(!u.isBuffer(r))throw new TypeError("Argument must be a Buffer");return this===r?!0:u.compare(this,r)===0},u.prototype.inspect=function(){var r="",i=F.INSPECT_MAX_BYTES;return r=this.toString("hex",0,i).replace(/(.{2})/g,"$1 ").trim(),this.length>i&&(r+=" ... "),"<Buffer "+r+">"},_&&(u.prototype[_]=u.prototype.inspect),u.prototype.compare=function(r,i,t,e,o){if(y(r,Uint8Array)&&(r=u.from(r,r.offset,r.byteLength)),!u.isBuffer(r))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof r);if(i===void 0&&(i=0),t===void 0&&(t=r?r.length:0),e===void 0&&(e=0),o===void 0&&(o=this.length),i<0||t>r.length||e<0||o>this.length)throw new RangeError("out of range index");if(e>=o&&i>=t)return 0;if(e>=o)return-1;if(i>=t)return 1;if(i>>>=0,t>>>=0,e>>>=0,o>>>=0,this===r)return 0;for(var h=o-e,f=t-i,a=Math.min(h,f),p=this.slice(e,o),w=r.slice(i,t),c=0;c<a;++c)if(p[c]!==w[c]){h=p[c],f=w[c];break}return h<f?-1:f<h?1:0};function b(n,r,i,t,e){if(n.length===0)return-1;if(typeof i=="string"?(t=i,i=0):i>2147483647?i=2147483647:i<-2147483648&&(i=-2147483648),i=+i,S(i)&&(i=e?0:n.length-1),i<0&&(i=n.length+i),i>=n.length){if(e)return-1;i=n.length-1}else if(i<0)if(e)i=0;else return-1;if(typeof r=="string"&&(r=u.from(r,t)),u.isBuffer(r))return r.length===0?-1:N(n,r,i,t,e);if(typeof r=="number")return r=r&255,typeof Uint8Array.prototype.indexOf=="function"?e?Uint8Array.prototype.indexOf.call(n,r,i):Uint8Array.prototype.lastIndexOf.call(n,r,i):N(n,[r],i,t,e);throw new TypeError("val must be string, number or Buffer")}function N(n,r,i,t,e){var o=1,h=n.length,f=r.length;if(t!==void 0&&(t=String(t).toLowerCase(),t==="ucs2"||t==="ucs-2"||t==="utf16le"||t==="utf-16le")){if(n.length<2||r.length<2)return-1;o=2,h/=2,f/=2,i/=2}function a($,z){return o===1?$[z]:$.readUInt16BE(z*o)}var p;if(e){var w=-1;for(p=i;p<h;p++)if(a(n,p)===a(r,w===-1?0:p-w)){if(w===-1&&(w=p),p-w+1===f)return w*o}else w!==-1&&(p-=p-w),w=-1}else for(i+f>h&&(i=h-f),p=i;p>=0;p--){for(var c=!0,I=0;I<f;I++)if(a(n,p+I)!==a(r,I)){c=!1;break}if(c)return p}return-1}u.prototype.includes=function(r,i,t){return this.indexOf(r,i,t)!==-1},u.prototype.indexOf=function(r,i,t){return b(this,r,i,t,!0)},u.prototype.lastIndexOf=function(r,i,t){return b(this,r,i,t,!1)};function j(n,r,i,t){i=Number(i)||0;var e=n.length-i;t?(t=Number(t),t>e&&(t=e)):t=e;var o=r.length;t>o/2&&(t=o/2);for(var h=0;h<t;++h){var f=parseInt(r.substr(h*2,2),16);if(S(f))return h;n[i+h]=f}return h}function rr(n,r,i,t){return A(R(r,n.length-i),n,i,t)}function q(n,r,i,t){return A(lr(r),n,i,t)}function ir(n,r,i,t){return q(n,r,i,t)}function nr(n,r,i,t){return A(V(r),n,i,t)}function tr(n,r,i,t){return A(wr(r,n.length-i),n,i,t)}u.prototype.write=function(r,i,t,e){if(i===void 0)e="utf8",t=this.length,i=0;else if(t===void 0&&typeof i=="string")e=i,t=this.length,i=0;else if(isFinite(i))i=i>>>0,isFinite(t)?(t=t>>>0,e===void 0&&(e="utf8")):(e=t,t=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var o=this.length-i;if((t===void 0||t>o)&&(t=o),r.length>0&&(t<0||i<0)||i>this.length)throw new RangeError("Attempt to write outside buffer bounds");e||(e="utf8");for(var h=!1;;)switch(e){case"hex":return j(this,r,i,t);case"utf8":case"utf-8":return rr(this,r,i,t);case"ascii":return q(this,r,i,t);case"latin1":case"binary":return ir(this,r,i,t);case"base64":return nr(this,r,i,t);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return tr(this,r,i,t);default:if(h)throw new TypeError("Unknown encoding: "+e);e=(""+e).toLowerCase(),h=!0}},u.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function er(n,r,i){return r===0&&i===n.length?g.fromByteArray(n):g.fromByteArray(n.slice(r,i))}function d(n,r,i){i=Math.min(n.length,i);for(var t=[],e=r;e<i;){var o=n[e],h=null,f=o>239?4:o>223?3:o>191?2:1;if(e+f<=i){var a,p,w,c;switch(f){case 1:o<128&&(h=o);break;case 2:a=n[e+1],(a&192)===128&&(c=(o&31)<<6|a&63,c>127&&(h=c));break;case 3:a=n[e+1],p=n[e+2],(a&192)===128&&(p&192)===128&&(c=(o&15)<<12|(a&63)<<6|p&63,c>2047&&(c<55296||c>57343)&&(h=c));break;case 4:a=n[e+1],p=n[e+2],w=n[e+3],(a&192)===128&&(p&192)===128&&(w&192)===128&&(c=(o&15)<<18|(a&63)<<12|(p&63)<<6|w&63,c>65535&&c<1114112&&(h=c))}}h===null?(h=65533,f=1):h>65535&&(h-=65536,t.push(h>>>10&1023|55296),h=56320|h&1023),t.push(h),e+=f}return ur(t)}var W=4096;function ur(n){var r=n.length;if(r<=W)return String.fromCharCode.apply(String,n);for(var i="",t=0;t<r;)i+=String.fromCharCode.apply(String,n.slice(t,t+=W));return i}function or(n,r,i){var t="";i=Math.min(n.length,i);for(var e=r;e<i;++e)t+=String.fromCharCode(n[e]&127);return t}function hr(n,r,i){var t="";i=Math.min(n.length,i);for(var e=r;e<i;++e)t+=String.fromCharCode(n[e]);return t}function fr(n,r,i){var t=n.length;(!r||r<0)&&(r=0),(!i||i<0||i>t)&&(i=t);for(var e="",o=r;o<i;++o)e+=sr[n[o]];return e}function ar(n,r,i){for(var t=n.slice(r,i),e="",o=0;o<t.length;o+=2)e+=String.fromCharCode(t[o]+t[o+1]*256);return e}u.prototype.slice=function(r,i){var t=this.length;r=~~r,i=i===void 0?t:~~i,r<0?(r+=t,r<0&&(r=0)):r>t&&(r=t),i<0?(i+=t,i<0&&(i=0)):i>t&&(i=t),i<r&&(i=r);var e=this.subarray(r,i);return Object.setPrototypeOf(e,u.prototype),e};function l(n,r,i){if(n%1!==0||n<0)throw new RangeError("offset is not uint");if(n+r>i)throw new RangeError("Trying to access beyond buffer length")}u.prototype.readUIntLE=function(r,i,t){r=r>>>0,i=i>>>0,t||l(r,i,this.length);for(var e=this[r],o=1,h=0;++h<i&&(o*=256);)e+=this[r+h]*o;return e},u.prototype.readUIntBE=function(r,i,t){r=r>>>0,i=i>>>0,t||l(r,i,this.length);for(var e=this[r+--i],o=1;i>0&&(o*=256);)e+=this[r+--i]*o;return e},u.prototype.readUInt8=function(r,i){return r=r>>>0,i||l(r,1,this.length),this[r]},u.prototype.readUInt16LE=function(r,i){return r=r>>>0,i||l(r,2,this.length),this[r]|this[r+1]<<8},u.prototype.readUInt16BE=function(r,i){return r=r>>>0,i||l(r,2,this.length),this[r]<<8|this[r+1]},u.prototype.readUInt32LE=function(r,i){return r=r>>>0,i||l(r,4,this.length),(this[r]|this[r+1]<<8|this[r+2]<<16)+this[r+3]*16777216},u.prototype.readUInt32BE=function(r,i){return r=r>>>0,i||l(r,4,this.length),this[r]*16777216+(this[r+1]<<16|this[r+2]<<8|this[r+3])},u.prototype.readIntLE=function(r,i,t){r=r>>>0,i=i>>>0,t||l(r,i,this.length);for(var e=this[r],o=1,h=0;++h<i&&(o*=256);)e+=this[r+h]*o;return o*=128,e>=o&&(e-=Math.pow(2,8*i)),e},u.prototype.readIntBE=function(r,i,t){r=r>>>0,i=i>>>0,t||l(r,i,this.length);for(var e=i,o=1,h=this[r+--e];e>0&&(o*=256);)h+=this[r+--e]*o;return o*=128,h>=o&&(h-=Math.pow(2,8*i)),h},u.prototype.readInt8=function(r,i){return r=r>>>0,i||l(r,1,this.length),this[r]&128?(255-this[r]+1)*-1:this[r]},u.prototype.readInt16LE=function(r,i){r=r>>>0,i||l(r,2,this.length);var t=this[r]|this[r+1]<<8;return t&32768?t|4294901760:t},u.prototype.readInt16BE=function(r,i){r=r>>>0,i||l(r,2,this.length);var t=this[r+1]|this[r]<<8;return t&32768?t|4294901760:t},u.prototype.readInt32LE=function(r,i){return r=r>>>0,i||l(r,4,this.length),this[r]|this[r+1]<<8|this[r+2]<<16|this[r+3]<<24},u.prototype.readInt32BE=function(r,i){return r=r>>>0,i||l(r,4,this.length),this[r]<<24|this[r+1]<<16|this[r+2]<<8|this[r+3]},u.prototype.readFloatLE=function(r,i){return r=r>>>0,i||l(r,4,this.length),m.read(this,r,!0,23,4)},u.prototype.readFloatBE=function(r,i){return r=r>>>0,i||l(r,4,this.length),m.read(this,r,!1,23,4)},u.prototype.readDoubleLE=function(r,i){return r=r>>>0,i||l(r,8,this.length),m.read(this,r,!0,52,8)},u.prototype.readDoubleBE=function(r,i){return r=r>>>0,i||l(r,8,this.length),m.read(this,r,!1,52,8)};function s(n,r,i,t,e,o){if(!u.isBuffer(n))throw new TypeError('"buffer" argument must be a Buffer instance');if(r>e||r<o)throw new RangeError('"value" argument is out of bounds');if(i+t>n.length)throw new RangeError("Index out of range")}u.prototype.writeUIntLE=function(r,i,t,e){if(r=+r,i=i>>>0,t=t>>>0,!e){var o=Math.pow(2,8*t)-1;s(this,r,i,t,o,0)}var h=1,f=0;for(this[i]=r&255;++f<t&&(h*=256);)this[i+f]=r/h&255;return i+t},u.prototype.writeUIntBE=function(r,i,t,e){if(r=+r,i=i>>>0,t=t>>>0,!e){var o=Math.pow(2,8*t)-1;s(this,r,i,t,o,0)}var h=t-1,f=1;for(this[i+h]=r&255;--h>=0&&(f*=256);)this[i+h]=r/f&255;return i+t},u.prototype.writeUInt8=function(r,i,t){return r=+r,i=i>>>0,t||s(this,r,i,1,255,0),this[i]=r&255,i+1},u.prototype.writeUInt16LE=function(r,i,t){return r=+r,i=i>>>0,t||s(this,r,i,2,65535,0),this[i]=r&255,this[i+1]=r>>>8,i+2},u.prototype.writeUInt16BE=function(r,i,t){return r=+r,i=i>>>0,t||s(this,r,i,2,65535,0),this[i]=r>>>8,this[i+1]=r&255,i+2},u.prototype.writeUInt32LE=function(r,i,t){return r=+r,i=i>>>0,t||s(this,r,i,4,4294967295,0),this[i+3]=r>>>24,this[i+2]=r>>>16,this[i+1]=r>>>8,this[i]=r&255,i+4},u.prototype.writeUInt32BE=function(r,i,t){return r=+r,i=i>>>0,t||s(this,r,i,4,4294967295,0),this[i]=r>>>24,this[i+1]=r>>>16,this[i+2]=r>>>8,this[i+3]=r&255,i+4},u.prototype.writeIntLE=function(r,i,t,e){if(r=+r,i=i>>>0,!e){var o=Math.pow(2,8*t-1);s(this,r,i,t,o-1,-o)}var h=0,f=1,a=0;for(this[i]=r&255;++h<t&&(f*=256);)r<0&&a===0&&this[i+h-1]!==0&&(a=1),this[i+h]=(r/f>>0)-a&255;return i+t},u.prototype.writeIntBE=function(r,i,t,e){if(r=+r,i=i>>>0,!e){var o=Math.pow(2,8*t-1);s(this,r,i,t,o-1,-o)}var h=t-1,f=1,a=0;for(this[i+h]=r&255;--h>=0&&(f*=256);)r<0&&a===0&&this[i+h+1]!==0&&(a=1),this[i+h]=(r/f>>0)-a&255;return i+t},u.prototype.writeInt8=function(r,i,t){return r=+r,i=i>>>0,t||s(this,r,i,1,127,-128),r<0&&(r=255+r+1),this[i]=r&255,i+1},u.prototype.writeInt16LE=function(r,i,t){return r=+r,i=i>>>0,t||s(this,r,i,2,32767,-32768),this[i]=r&255,this[i+1]=r>>>8,i+2},u.prototype.writeInt16BE=function(r,i,t){return r=+r,i=i>>>0,t||s(this,r,i,2,32767,-32768),this[i]=r>>>8,this[i+1]=r&255,i+2},u.prototype.writeInt32LE=function(r,i,t){return r=+r,i=i>>>0,t||s(this,r,i,4,2147483647,-2147483648),this[i]=r&255,this[i+1]=r>>>8,this[i+2]=r>>>16,this[i+3]=r>>>24,i+4},u.prototype.writeInt32BE=function(r,i,t){return r=+r,i=i>>>0,t||s(this,r,i,4,2147483647,-2147483648),r<0&&(r=4294967295+r+1),this[i]=r>>>24,this[i+1]=r>>>16,this[i+2]=r>>>8,this[i+3]=r&255,i+4};function Y(n,r,i,t,e,o){if(i+t>n.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("Index out of range")}function X(n,r,i,t,e){return r=+r,i=i>>>0,e||Y(n,r,i,4),m.write(n,r,i,t,23,4),i+4}u.prototype.writeFloatLE=function(r,i,t){return X(this,r,i,!0,t)},u.prototype.writeFloatBE=function(r,i,t){return X(this,r,i,!1,t)};function G(n,r,i,t,e){return r=+r,i=i>>>0,e||Y(n,r,i,8),m.write(n,r,i,t,52,8),i+8}u.prototype.writeDoubleLE=function(r,i,t){return G(this,r,i,!0,t)},u.prototype.writeDoubleBE=function(r,i,t){return G(this,r,i,!1,t)},u.prototype.copy=function(r,i,t,e){if(!u.isBuffer(r))throw new TypeError("argument should be a Buffer");if(t||(t=0),!e&&e!==0&&(e=this.length),i>=r.length&&(i=r.length),i||(i=0),e>0&&e<t&&(e=t),e===t||r.length===0||this.length===0)return 0;if(i<0)throw new RangeError("targetStart out of bounds");if(t<0||t>=this.length)throw new RangeError("Index out of range");if(e<0)throw new RangeError("sourceEnd out of bounds");e>this.length&&(e=this.length),r.length-i<e-t&&(e=r.length-i+t);var o=e-t;if(this===r&&typeof Uint8Array.prototype.copyWithin=="function")this.copyWithin(i,t,e);else if(this===r&&t<i&&i<e)for(var h=o-1;h>=0;--h)r[h+i]=this[h+t];else Uint8Array.prototype.set.call(r,this.subarray(t,e),i);return o},u.prototype.fill=function(r,i,t,e){if(typeof r=="string"){if(typeof i=="string"?(e=i,i=0,t=this.length):typeof t=="string"&&(e=t,t=this.length),e!==void 0&&typeof e!="string")throw new TypeError("encoding must be a string");if(typeof e=="string"&&!u.isEncoding(e))throw new TypeError("Unknown encoding: "+e);if(r.length===1){var o=r.charCodeAt(0);(e==="utf8"&&o<128||e==="latin1")&&(r=o)}}else typeof r=="number"?r=r&255:typeof r=="boolean"&&(r=Number(r));if(i<0||this.length<i||this.length<t)throw new RangeError("Out of range index");if(t<=i)return this;i=i>>>0,t=t===void 0?this.length:t>>>0,r||(r=0);var h;if(typeof r=="number")for(h=i;h<t;++h)this[h]=r;else{var f=u.isBuffer(r)?r:u.from(r,e),a=f.length;if(a===0)throw new TypeError('The value "'+r+'" is invalid for argument "value"');for(h=0;h<t-i;++h)this[h+i]=f[h%a]}return this};var pr=/[^+/0-9A-Za-z-_]/g;function cr(n){if(n=n.split("=")[0],n=n.trim().replace(pr,""),n.length<2)return"";for(;n.length%4!==0;)n=n+"=";return n}function R(n,r){r=r||1/0;for(var i,t=n.length,e=null,o=[],h=0;h<t;++h){if(i=n.charCodeAt(h),i>55295&&i<57344){if(!e){if(i>56319){(r-=3)>-1&&o.push(239,191,189);continue}else if(h+1===t){(r-=3)>-1&&o.push(239,191,189);continue}e=i;continue}if(i<56320){(r-=3)>-1&&o.push(239,191,189),e=i;continue}i=(e-55296<<10|i-56320)+65536}else e&&(r-=3)>-1&&o.push(239,191,189);if(e=null,i<128){if((r-=1)<0)break;o.push(i)}else if(i<2048){if((r-=2)<0)break;o.push(i>>6|192,i&63|128)}else if(i<65536){if((r-=3)<0)break;o.push(i>>12|224,i>>6&63|128,i&63|128)}else if(i<1114112){if((r-=4)<0)break;o.push(i>>18|240,i>>12&63|128,i>>6&63|128,i&63|128)}else throw new Error("Invalid code point")}return o}function lr(n){for(var r=[],i=0;i<n.length;++i)r.push(n.charCodeAt(i)&255);return r}function wr(n,r){for(var i,t,e,o=[],h=0;h<n.length&&!((r-=2)<0);++h)i=n.charCodeAt(h),t=i>>8,e=i%256,o.push(e),o.push(t);return o}function V(n){return g.toByteArray(cr(n))}function A(n,r,i,t){for(var e=0;e<t&&!(e+i>=r.length||e>=n.length);++e)r[e+i]=n[e];return e}function y(n,r){return n instanceof r||n!=null&&n.constructor!=null&&n.constructor.name!=null&&n.constructor.name===r.name}function S(n){return n!==n}var sr=function(){for(var n="0123456789abcdef",r=new Array(256),i=0;i<16;++i)for(var t=i*16,e=0;e<16;++e)r[t+e]=n[i]+n[e];return r}()}(C.__exports)),C.__exports}exports.__require=Er;