@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,790 +0,0 @@
1
- import { __exports as C } from "../../../../../_virtual/index3.mjs";
2
- import { __require as xr } from "../../../base64-js@1.5.1/node_modules/base64-js/index.mjs";
3
- import { __require as yr } from "../../../ieee754@1.2.1/node_modules/ieee754/index.mjs";
4
- /*!
5
- * The buffer module from node.js, for the browser.
6
- *
7
- * @author Feross Aboukhadijeh <https://feross.org>
8
- * @license MIT
9
- */
10
- var H;
11
- function Br() {
12
- return H ? C : (H = 1, function(F) {
13
- var U = xr(), m = yr(), D = typeof Symbol == "function" && typeof Symbol.for == "function" ? Symbol.for("nodejs.util.inspect.custom") : null;
14
- F.Buffer = u, F.SlowBuffer = O, F.INSPECT_MAX_BYTES = 50;
15
- var B = 2147483647;
16
- F.kMaxLength = B, u.TYPED_ARRAY_SUPPORT = K(), !u.TYPED_ARRAY_SUPPORT && typeof console < "u" && typeof console.error == "function" && console.error(
17
- "This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."
18
- );
19
- function K() {
20
- try {
21
- var n = new Uint8Array(1), r = { foo: function() {
22
- return 42;
23
- } };
24
- return Object.setPrototypeOf(r, Uint8Array.prototype), Object.setPrototypeOf(n, r), n.foo() === 42;
25
- } catch {
26
- return !1;
27
- }
28
- }
29
- Object.defineProperty(u.prototype, "parent", {
30
- enumerable: !0,
31
- get: function() {
32
- if (u.isBuffer(this))
33
- return this.buffer;
34
- }
35
- }), Object.defineProperty(u.prototype, "offset", {
36
- enumerable: !0,
37
- get: function() {
38
- if (u.isBuffer(this))
39
- return this.byteOffset;
40
- }
41
- });
42
- function x(n) {
43
- if (n > B)
44
- throw new RangeError('The value "' + n + '" is invalid for option "size"');
45
- var r = new Uint8Array(n);
46
- return Object.setPrototypeOf(r, u.prototype), r;
47
- }
48
- function u(n, r, i) {
49
- if (typeof n == "number") {
50
- if (typeof r == "string")
51
- throw new TypeError(
52
- 'The "string" argument must be of type string. Received type number'
53
- );
54
- return g(n);
55
- }
56
- return k(n, r, i);
57
- }
58
- u.poolSize = 8192;
59
- function k(n, r, i) {
60
- if (typeof n == "string")
61
- return $(n, r);
62
- if (ArrayBuffer.isView(n))
63
- return T(n);
64
- if (n == null)
65
- throw new TypeError(
66
- "The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type " + typeof n
67
- );
68
- if (y(n, ArrayBuffer) || n && y(n.buffer, ArrayBuffer) || typeof SharedArrayBuffer < "u" && (y(n, SharedArrayBuffer) || n && y(n.buffer, SharedArrayBuffer)))
69
- return L(n, r, i);
70
- if (typeof n == "number")
71
- throw new TypeError(
72
- 'The "value" argument must not be of type number. Received type number'
73
- );
74
- var t = n.valueOf && n.valueOf();
75
- if (t != null && t !== n)
76
- return u.from(t, r, i);
77
- var e = Q(n);
78
- if (e) return e;
79
- if (typeof Symbol < "u" && Symbol.toPrimitive != null && typeof n[Symbol.toPrimitive] == "function")
80
- return u.from(
81
- n[Symbol.toPrimitive]("string"),
82
- r,
83
- i
84
- );
85
- throw new TypeError(
86
- "The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type " + typeof n
87
- );
88
- }
89
- u.from = function(n, r, i) {
90
- return k(n, r, i);
91
- }, Object.setPrototypeOf(u.prototype, Uint8Array.prototype), Object.setPrototypeOf(u, Uint8Array);
92
- function _(n) {
93
- if (typeof n != "number")
94
- throw new TypeError('"size" argument must be of type number');
95
- if (n < 0)
96
- throw new RangeError('The value "' + n + '" is invalid for option "size"');
97
- }
98
- function Z(n, r, i) {
99
- return _(n), n <= 0 ? x(n) : r !== void 0 ? typeof i == "string" ? x(n).fill(r, i) : x(n).fill(r) : x(n);
100
- }
101
- u.alloc = function(n, r, i) {
102
- return Z(n, r, i);
103
- };
104
- function g(n) {
105
- return _(n), x(n < 0 ? 0 : v(n) | 0);
106
- }
107
- u.allocUnsafe = function(n) {
108
- return g(n);
109
- }, u.allocUnsafeSlow = function(n) {
110
- return g(n);
111
- };
112
- function $(n, r) {
113
- if ((typeof r != "string" || r === "") && (r = "utf8"), !u.isEncoding(r))
114
- throw new TypeError("Unknown encoding: " + r);
115
- var i = M(n, r) | 0, t = x(i), e = t.write(n, r);
116
- return e !== i && (t = t.slice(0, e)), t;
117
- }
118
- function T(n) {
119
- for (var r = n.length < 0 ? 0 : v(n.length) | 0, i = x(r), t = 0; t < r; t += 1)
120
- i[t] = n[t] & 255;
121
- return i;
122
- }
123
- function L(n, r, i) {
124
- if (r < 0 || n.byteLength < r)
125
- throw new RangeError('"offset" is outside of buffer bounds');
126
- if (n.byteLength < r + (i || 0))
127
- throw new RangeError('"length" is outside of buffer bounds');
128
- var t;
129
- 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;
130
- }
131
- function Q(n) {
132
- if (u.isBuffer(n)) {
133
- var r = v(n.length) | 0, i = x(r);
134
- return i.length === 0 || n.copy(i, 0, 0, r), i;
135
- }
136
- if (n.length !== void 0)
137
- return typeof n.length != "number" || S(n.length) ? x(0) : T(n);
138
- if (n.type === "Buffer" && Array.isArray(n.data))
139
- return T(n.data);
140
- }
141
- function v(n) {
142
- if (n >= B)
143
- throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x" + B.toString(16) + " bytes");
144
- return n | 0;
145
- }
146
- function O(n) {
147
- return +n != n && (n = 0), u.alloc(+n);
148
- }
149
- u.isBuffer = function(r) {
150
- return r != null && r._isBuffer === !0 && r !== u.prototype;
151
- }, u.compare = function(r, i) {
152
- 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))
153
- throw new TypeError(
154
- 'The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array'
155
- );
156
- if (r === i) return 0;
157
- for (var t = r.length, e = i.length, o = 0, h = Math.min(t, e); o < h; ++o)
158
- if (r[o] !== i[o]) {
159
- t = r[o], e = i[o];
160
- break;
161
- }
162
- return t < e ? -1 : e < t ? 1 : 0;
163
- }, u.isEncoding = function(r) {
164
- switch (String(r).toLowerCase()) {
165
- case "hex":
166
- case "utf8":
167
- case "utf-8":
168
- case "ascii":
169
- case "latin1":
170
- case "binary":
171
- case "base64":
172
- case "ucs2":
173
- case "ucs-2":
174
- case "utf16le":
175
- case "utf-16le":
176
- return !0;
177
- default:
178
- return !1;
179
- }
180
- }, u.concat = function(r, i) {
181
- if (!Array.isArray(r))
182
- throw new TypeError('"list" argument must be an Array of Buffers');
183
- if (r.length === 0)
184
- return u.alloc(0);
185
- var t;
186
- if (i === void 0)
187
- for (i = 0, t = 0; t < r.length; ++t)
188
- i += r[t].length;
189
- var e = u.allocUnsafe(i), o = 0;
190
- for (t = 0; t < r.length; ++t) {
191
- var h = r[t];
192
- if (y(h, Uint8Array) && (h = u.from(h)), !u.isBuffer(h))
193
- throw new TypeError('"list" argument must be an Array of Buffers');
194
- h.copy(e, o), o += h.length;
195
- }
196
- return e;
197
- };
198
- function M(n, r) {
199
- if (u.isBuffer(n))
200
- return n.length;
201
- if (ArrayBuffer.isView(n) || y(n, ArrayBuffer))
202
- return n.byteLength;
203
- if (typeof n != "string")
204
- throw new TypeError(
205
- 'The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type ' + typeof n
206
- );
207
- var i = n.length, t = arguments.length > 2 && arguments[2] === !0;
208
- if (!t && i === 0) return 0;
209
- for (var e = !1; ; )
210
- switch (r) {
211
- case "ascii":
212
- case "latin1":
213
- case "binary":
214
- return i;
215
- case "utf8":
216
- case "utf-8":
217
- return R(n).length;
218
- case "ucs2":
219
- case "ucs-2":
220
- case "utf16le":
221
- case "utf-16le":
222
- return i * 2;
223
- case "hex":
224
- return i >>> 1;
225
- case "base64":
226
- return J(n).length;
227
- default:
228
- if (e)
229
- return t ? -1 : R(n).length;
230
- r = ("" + r).toLowerCase(), e = !0;
231
- }
232
- }
233
- u.byteLength = M;
234
- function P(n, r, i) {
235
- var t = !1;
236
- 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))
237
- return "";
238
- for (n || (n = "utf8"); ; )
239
- switch (n) {
240
- case "hex":
241
- return fr(this, r, i);
242
- case "utf8":
243
- case "utf-8":
244
- return W(this, r, i);
245
- case "ascii":
246
- return or(this, r, i);
247
- case "latin1":
248
- case "binary":
249
- return hr(this, r, i);
250
- case "base64":
251
- return er(this, r, i);
252
- case "ucs2":
253
- case "ucs-2":
254
- case "utf16le":
255
- case "utf-16le":
256
- return ar(this, r, i);
257
- default:
258
- if (t) throw new TypeError("Unknown encoding: " + n);
259
- n = (n + "").toLowerCase(), t = !0;
260
- }
261
- }
262
- u.prototype._isBuffer = !0;
263
- function E(n, r, i) {
264
- var t = n[r];
265
- n[r] = n[i], n[i] = t;
266
- }
267
- u.prototype.swap16 = function() {
268
- var r = this.length;
269
- if (r % 2 !== 0)
270
- throw new RangeError("Buffer size must be a multiple of 16-bits");
271
- for (var i = 0; i < r; i += 2)
272
- E(this, i, i + 1);
273
- return this;
274
- }, u.prototype.swap32 = function() {
275
- var r = this.length;
276
- if (r % 4 !== 0)
277
- throw new RangeError("Buffer size must be a multiple of 32-bits");
278
- for (var i = 0; i < r; i += 4)
279
- E(this, i, i + 3), E(this, i + 1, i + 2);
280
- return this;
281
- }, u.prototype.swap64 = function() {
282
- var r = this.length;
283
- if (r % 8 !== 0)
284
- throw new RangeError("Buffer size must be a multiple of 64-bits");
285
- for (var i = 0; i < r; i += 8)
286
- E(this, i, i + 7), E(this, i + 1, i + 6), E(this, i + 2, i + 5), E(this, i + 3, i + 4);
287
- return this;
288
- }, u.prototype.toString = function() {
289
- var r = this.length;
290
- return r === 0 ? "" : arguments.length === 0 ? W(this, 0, r) : P.apply(this, arguments);
291
- }, u.prototype.toLocaleString = u.prototype.toString, u.prototype.equals = function(r) {
292
- if (!u.isBuffer(r)) throw new TypeError("Argument must be a Buffer");
293
- return this === r ? !0 : u.compare(this, r) === 0;
294
- }, u.prototype.inspect = function() {
295
- var r = "", i = F.INSPECT_MAX_BYTES;
296
- return r = this.toString("hex", 0, i).replace(/(.{2})/g, "$1 ").trim(), this.length > i && (r += " ... "), "<Buffer " + r + ">";
297
- }, D && (u.prototype[D] = u.prototype.inspect), u.prototype.compare = function(r, i, t, e, o) {
298
- if (y(r, Uint8Array) && (r = u.from(r, r.offset, r.byteLength)), !u.isBuffer(r))
299
- throw new TypeError(
300
- 'The "target" argument must be one of type Buffer or Uint8Array. Received type ' + typeof r
301
- );
302
- 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)
303
- throw new RangeError("out of range index");
304
- if (e >= o && i >= t)
305
- return 0;
306
- if (e >= o)
307
- return -1;
308
- if (i >= t)
309
- return 1;
310
- if (i >>>= 0, t >>>= 0, e >>>= 0, o >>>= 0, this === r) return 0;
311
- 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)
312
- if (p[c] !== w[c]) {
313
- h = p[c], f = w[c];
314
- break;
315
- }
316
- return h < f ? -1 : f < h ? 1 : 0;
317
- };
318
- function b(n, r, i, t, e) {
319
- if (n.length === 0) return -1;
320
- 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) {
321
- if (e) return -1;
322
- i = n.length - 1;
323
- } else if (i < 0)
324
- if (e) i = 0;
325
- else return -1;
326
- if (typeof r == "string" && (r = u.from(r, t)), u.isBuffer(r))
327
- return r.length === 0 ? -1 : N(n, r, i, t, e);
328
- if (typeof r == "number")
329
- 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);
330
- throw new TypeError("val must be string, number or Buffer");
331
- }
332
- function N(n, r, i, t, e) {
333
- var o = 1, h = n.length, f = r.length;
334
- if (t !== void 0 && (t = String(t).toLowerCase(), t === "ucs2" || t === "ucs-2" || t === "utf16le" || t === "utf-16le")) {
335
- if (n.length < 2 || r.length < 2)
336
- return -1;
337
- o = 2, h /= 2, f /= 2, i /= 2;
338
- }
339
- function a(V, z) {
340
- return o === 1 ? V[z] : V.readUInt16BE(z * o);
341
- }
342
- var p;
343
- if (e) {
344
- var w = -1;
345
- for (p = i; p < h; p++)
346
- if (a(n, p) === a(r, w === -1 ? 0 : p - w)) {
347
- if (w === -1 && (w = p), p - w + 1 === f) return w * o;
348
- } else
349
- w !== -1 && (p -= p - w), w = -1;
350
- } else
351
- for (i + f > h && (i = h - f), p = i; p >= 0; p--) {
352
- for (var c = !0, I = 0; I < f; I++)
353
- if (a(n, p + I) !== a(r, I)) {
354
- c = !1;
355
- break;
356
- }
357
- if (c) return p;
358
- }
359
- return -1;
360
- }
361
- u.prototype.includes = function(r, i, t) {
362
- return this.indexOf(r, i, t) !== -1;
363
- }, u.prototype.indexOf = function(r, i, t) {
364
- return b(this, r, i, t, !0);
365
- }, u.prototype.lastIndexOf = function(r, i, t) {
366
- return b(this, r, i, t, !1);
367
- };
368
- function j(n, r, i, t) {
369
- i = Number(i) || 0;
370
- var e = n.length - i;
371
- t ? (t = Number(t), t > e && (t = e)) : t = e;
372
- var o = r.length;
373
- t > o / 2 && (t = o / 2);
374
- for (var h = 0; h < t; ++h) {
375
- var f = parseInt(r.substr(h * 2, 2), 16);
376
- if (S(f)) return h;
377
- n[i + h] = f;
378
- }
379
- return h;
380
- }
381
- function rr(n, r, i, t) {
382
- return A(R(r, n.length - i), n, i, t);
383
- }
384
- function q(n, r, i, t) {
385
- return A(lr(r), n, i, t);
386
- }
387
- function ir(n, r, i, t) {
388
- return q(n, r, i, t);
389
- }
390
- function nr(n, r, i, t) {
391
- return A(J(r), n, i, t);
392
- }
393
- function tr(n, r, i, t) {
394
- return A(wr(r, n.length - i), n, i, t);
395
- }
396
- u.prototype.write = function(r, i, t, e) {
397
- if (i === void 0)
398
- e = "utf8", t = this.length, i = 0;
399
- else if (t === void 0 && typeof i == "string")
400
- e = i, t = this.length, i = 0;
401
- else if (isFinite(i))
402
- i = i >>> 0, isFinite(t) ? (t = t >>> 0, e === void 0 && (e = "utf8")) : (e = t, t = void 0);
403
- else
404
- throw new Error(
405
- "Buffer.write(string, encoding, offset[, length]) is no longer supported"
406
- );
407
- var o = this.length - i;
408
- if ((t === void 0 || t > o) && (t = o), r.length > 0 && (t < 0 || i < 0) || i > this.length)
409
- throw new RangeError("Attempt to write outside buffer bounds");
410
- e || (e = "utf8");
411
- for (var h = !1; ; )
412
- switch (e) {
413
- case "hex":
414
- return j(this, r, i, t);
415
- case "utf8":
416
- case "utf-8":
417
- return rr(this, r, i, t);
418
- case "ascii":
419
- return q(this, r, i, t);
420
- case "latin1":
421
- case "binary":
422
- return ir(this, r, i, t);
423
- case "base64":
424
- return nr(this, r, i, t);
425
- case "ucs2":
426
- case "ucs-2":
427
- case "utf16le":
428
- case "utf-16le":
429
- return tr(this, r, i, t);
430
- default:
431
- if (h) throw new TypeError("Unknown encoding: " + e);
432
- e = ("" + e).toLowerCase(), h = !0;
433
- }
434
- }, u.prototype.toJSON = function() {
435
- return {
436
- type: "Buffer",
437
- data: Array.prototype.slice.call(this._arr || this, 0)
438
- };
439
- };
440
- function er(n, r, i) {
441
- return r === 0 && i === n.length ? U.fromByteArray(n) : U.fromByteArray(n.slice(r, i));
442
- }
443
- function W(n, r, i) {
444
- i = Math.min(n.length, i);
445
- for (var t = [], e = r; e < i; ) {
446
- var o = n[e], h = null, f = o > 239 ? 4 : o > 223 ? 3 : o > 191 ? 2 : 1;
447
- if (e + f <= i) {
448
- var a, p, w, c;
449
- switch (f) {
450
- case 1:
451
- o < 128 && (h = o);
452
- break;
453
- case 2:
454
- a = n[e + 1], (a & 192) === 128 && (c = (o & 31) << 6 | a & 63, c > 127 && (h = c));
455
- break;
456
- case 3:
457
- 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));
458
- break;
459
- case 4:
460
- 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));
461
- }
462
- }
463
- 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;
464
- }
465
- return ur(t);
466
- }
467
- var Y = 4096;
468
- function ur(n) {
469
- var r = n.length;
470
- if (r <= Y)
471
- return String.fromCharCode.apply(String, n);
472
- for (var i = "", t = 0; t < r; )
473
- i += String.fromCharCode.apply(
474
- String,
475
- n.slice(t, t += Y)
476
- );
477
- return i;
478
- }
479
- function or(n, r, i) {
480
- var t = "";
481
- i = Math.min(n.length, i);
482
- for (var e = r; e < i; ++e)
483
- t += String.fromCharCode(n[e] & 127);
484
- return t;
485
- }
486
- function hr(n, r, i) {
487
- var t = "";
488
- i = Math.min(n.length, i);
489
- for (var e = r; e < i; ++e)
490
- t += String.fromCharCode(n[e]);
491
- return t;
492
- }
493
- function fr(n, r, i) {
494
- var t = n.length;
495
- (!r || r < 0) && (r = 0), (!i || i < 0 || i > t) && (i = t);
496
- for (var e = "", o = r; o < i; ++o)
497
- e += sr[n[o]];
498
- return e;
499
- }
500
- function ar(n, r, i) {
501
- for (var t = n.slice(r, i), e = "", o = 0; o < t.length; o += 2)
502
- e += String.fromCharCode(t[o] + t[o + 1] * 256);
503
- return e;
504
- }
505
- u.prototype.slice = function(r, i) {
506
- var t = this.length;
507
- 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);
508
- var e = this.subarray(r, i);
509
- return Object.setPrototypeOf(e, u.prototype), e;
510
- };
511
- function l(n, r, i) {
512
- if (n % 1 !== 0 || n < 0) throw new RangeError("offset is not uint");
513
- if (n + r > i) throw new RangeError("Trying to access beyond buffer length");
514
- }
515
- u.prototype.readUIntLE = function(r, i, t) {
516
- r = r >>> 0, i = i >>> 0, t || l(r, i, this.length);
517
- for (var e = this[r], o = 1, h = 0; ++h < i && (o *= 256); )
518
- e += this[r + h] * o;
519
- return e;
520
- }, u.prototype.readUIntBE = function(r, i, t) {
521
- r = r >>> 0, i = i >>> 0, t || l(r, i, this.length);
522
- for (var e = this[r + --i], o = 1; i > 0 && (o *= 256); )
523
- e += this[r + --i] * o;
524
- return e;
525
- }, u.prototype.readUInt8 = function(r, i) {
526
- return r = r >>> 0, i || l(r, 1, this.length), this[r];
527
- }, u.prototype.readUInt16LE = function(r, i) {
528
- return r = r >>> 0, i || l(r, 2, this.length), this[r] | this[r + 1] << 8;
529
- }, u.prototype.readUInt16BE = function(r, i) {
530
- return r = r >>> 0, i || l(r, 2, this.length), this[r] << 8 | this[r + 1];
531
- }, u.prototype.readUInt32LE = function(r, i) {
532
- return r = r >>> 0, i || l(r, 4, this.length), (this[r] | this[r + 1] << 8 | this[r + 2] << 16) + this[r + 3] * 16777216;
533
- }, u.prototype.readUInt32BE = function(r, i) {
534
- return r = r >>> 0, i || l(r, 4, this.length), this[r] * 16777216 + (this[r + 1] << 16 | this[r + 2] << 8 | this[r + 3]);
535
- }, u.prototype.readIntLE = function(r, i, t) {
536
- r = r >>> 0, i = i >>> 0, t || l(r, i, this.length);
537
- for (var e = this[r], o = 1, h = 0; ++h < i && (o *= 256); )
538
- e += this[r + h] * o;
539
- return o *= 128, e >= o && (e -= Math.pow(2, 8 * i)), e;
540
- }, u.prototype.readIntBE = function(r, i, t) {
541
- r = r >>> 0, i = i >>> 0, t || l(r, i, this.length);
542
- for (var e = i, o = 1, h = this[r + --e]; e > 0 && (o *= 256); )
543
- h += this[r + --e] * o;
544
- return o *= 128, h >= o && (h -= Math.pow(2, 8 * i)), h;
545
- }, u.prototype.readInt8 = function(r, i) {
546
- return r = r >>> 0, i || l(r, 1, this.length), this[r] & 128 ? (255 - this[r] + 1) * -1 : this[r];
547
- }, u.prototype.readInt16LE = function(r, i) {
548
- r = r >>> 0, i || l(r, 2, this.length);
549
- var t = this[r] | this[r + 1] << 8;
550
- return t & 32768 ? t | 4294901760 : t;
551
- }, u.prototype.readInt16BE = function(r, i) {
552
- r = r >>> 0, i || l(r, 2, this.length);
553
- var t = this[r + 1] | this[r] << 8;
554
- return t & 32768 ? t | 4294901760 : t;
555
- }, u.prototype.readInt32LE = function(r, i) {
556
- return r = r >>> 0, i || l(r, 4, this.length), this[r] | this[r + 1] << 8 | this[r + 2] << 16 | this[r + 3] << 24;
557
- }, u.prototype.readInt32BE = function(r, i) {
558
- return r = r >>> 0, i || l(r, 4, this.length), this[r] << 24 | this[r + 1] << 16 | this[r + 2] << 8 | this[r + 3];
559
- }, u.prototype.readFloatLE = function(r, i) {
560
- return r = r >>> 0, i || l(r, 4, this.length), m.read(this, r, !0, 23, 4);
561
- }, u.prototype.readFloatBE = function(r, i) {
562
- return r = r >>> 0, i || l(r, 4, this.length), m.read(this, r, !1, 23, 4);
563
- }, u.prototype.readDoubleLE = function(r, i) {
564
- return r = r >>> 0, i || l(r, 8, this.length), m.read(this, r, !0, 52, 8);
565
- }, u.prototype.readDoubleBE = function(r, i) {
566
- return r = r >>> 0, i || l(r, 8, this.length), m.read(this, r, !1, 52, 8);
567
- };
568
- function s(n, r, i, t, e, o) {
569
- if (!u.isBuffer(n)) throw new TypeError('"buffer" argument must be a Buffer instance');
570
- if (r > e || r < o) throw new RangeError('"value" argument is out of bounds');
571
- if (i + t > n.length) throw new RangeError("Index out of range");
572
- }
573
- u.prototype.writeUIntLE = function(r, i, t, e) {
574
- if (r = +r, i = i >>> 0, t = t >>> 0, !e) {
575
- var o = Math.pow(2, 8 * t) - 1;
576
- s(this, r, i, t, o, 0);
577
- }
578
- var h = 1, f = 0;
579
- for (this[i] = r & 255; ++f < t && (h *= 256); )
580
- this[i + f] = r / h & 255;
581
- return i + t;
582
- }, u.prototype.writeUIntBE = function(r, i, t, e) {
583
- if (r = +r, i = i >>> 0, t = t >>> 0, !e) {
584
- var o = Math.pow(2, 8 * t) - 1;
585
- s(this, r, i, t, o, 0);
586
- }
587
- var h = t - 1, f = 1;
588
- for (this[i + h] = r & 255; --h >= 0 && (f *= 256); )
589
- this[i + h] = r / f & 255;
590
- return i + t;
591
- }, u.prototype.writeUInt8 = function(r, i, t) {
592
- return r = +r, i = i >>> 0, t || s(this, r, i, 1, 255, 0), this[i] = r & 255, i + 1;
593
- }, u.prototype.writeUInt16LE = function(r, i, t) {
594
- 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;
595
- }, u.prototype.writeUInt16BE = function(r, i, t) {
596
- 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;
597
- }, u.prototype.writeUInt32LE = function(r, i, t) {
598
- 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;
599
- }, u.prototype.writeUInt32BE = function(r, i, t) {
600
- 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;
601
- }, u.prototype.writeIntLE = function(r, i, t, e) {
602
- if (r = +r, i = i >>> 0, !e) {
603
- var o = Math.pow(2, 8 * t - 1);
604
- s(this, r, i, t, o - 1, -o);
605
- }
606
- var h = 0, f = 1, a = 0;
607
- for (this[i] = r & 255; ++h < t && (f *= 256); )
608
- r < 0 && a === 0 && this[i + h - 1] !== 0 && (a = 1), this[i + h] = (r / f >> 0) - a & 255;
609
- return i + t;
610
- }, u.prototype.writeIntBE = function(r, i, t, e) {
611
- if (r = +r, i = i >>> 0, !e) {
612
- var o = Math.pow(2, 8 * t - 1);
613
- s(this, r, i, t, o - 1, -o);
614
- }
615
- var h = t - 1, f = 1, a = 0;
616
- for (this[i + h] = r & 255; --h >= 0 && (f *= 256); )
617
- r < 0 && a === 0 && this[i + h + 1] !== 0 && (a = 1), this[i + h] = (r / f >> 0) - a & 255;
618
- return i + t;
619
- }, u.prototype.writeInt8 = function(r, i, t) {
620
- 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;
621
- }, u.prototype.writeInt16LE = function(r, i, t) {
622
- 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;
623
- }, u.prototype.writeInt16BE = function(r, i, t) {
624
- 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;
625
- }, u.prototype.writeInt32LE = function(r, i, t) {
626
- 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;
627
- }, u.prototype.writeInt32BE = function(r, i, t) {
628
- 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;
629
- };
630
- function X(n, r, i, t, e, o) {
631
- if (i + t > n.length) throw new RangeError("Index out of range");
632
- if (i < 0) throw new RangeError("Index out of range");
633
- }
634
- function d(n, r, i, t, e) {
635
- return r = +r, i = i >>> 0, e || X(n, r, i, 4), m.write(n, r, i, t, 23, 4), i + 4;
636
- }
637
- u.prototype.writeFloatLE = function(r, i, t) {
638
- return d(this, r, i, !0, t);
639
- }, u.prototype.writeFloatBE = function(r, i, t) {
640
- return d(this, r, i, !1, t);
641
- };
642
- function G(n, r, i, t, e) {
643
- return r = +r, i = i >>> 0, e || X(n, r, i, 8), m.write(n, r, i, t, 52, 8), i + 8;
644
- }
645
- u.prototype.writeDoubleLE = function(r, i, t) {
646
- return G(this, r, i, !0, t);
647
- }, u.prototype.writeDoubleBE = function(r, i, t) {
648
- return G(this, r, i, !1, t);
649
- }, u.prototype.copy = function(r, i, t, e) {
650
- if (!u.isBuffer(r)) throw new TypeError("argument should be a Buffer");
651
- 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;
652
- if (i < 0)
653
- throw new RangeError("targetStart out of bounds");
654
- if (t < 0 || t >= this.length) throw new RangeError("Index out of range");
655
- if (e < 0) throw new RangeError("sourceEnd out of bounds");
656
- e > this.length && (e = this.length), r.length - i < e - t && (e = r.length - i + t);
657
- var o = e - t;
658
- if (this === r && typeof Uint8Array.prototype.copyWithin == "function")
659
- this.copyWithin(i, t, e);
660
- else if (this === r && t < i && i < e)
661
- for (var h = o - 1; h >= 0; --h)
662
- r[h + i] = this[h + t];
663
- else
664
- Uint8Array.prototype.set.call(
665
- r,
666
- this.subarray(t, e),
667
- i
668
- );
669
- return o;
670
- }, u.prototype.fill = function(r, i, t, e) {
671
- if (typeof r == "string") {
672
- 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")
673
- throw new TypeError("encoding must be a string");
674
- if (typeof e == "string" && !u.isEncoding(e))
675
- throw new TypeError("Unknown encoding: " + e);
676
- if (r.length === 1) {
677
- var o = r.charCodeAt(0);
678
- (e === "utf8" && o < 128 || e === "latin1") && (r = o);
679
- }
680
- } else typeof r == "number" ? r = r & 255 : typeof r == "boolean" && (r = Number(r));
681
- if (i < 0 || this.length < i || this.length < t)
682
- throw new RangeError("Out of range index");
683
- if (t <= i)
684
- return this;
685
- i = i >>> 0, t = t === void 0 ? this.length : t >>> 0, r || (r = 0);
686
- var h;
687
- if (typeof r == "number")
688
- for (h = i; h < t; ++h)
689
- this[h] = r;
690
- else {
691
- var f = u.isBuffer(r) ? r : u.from(r, e), a = f.length;
692
- if (a === 0)
693
- throw new TypeError('The value "' + r + '" is invalid for argument "value"');
694
- for (h = 0; h < t - i; ++h)
695
- this[h + i] = f[h % a];
696
- }
697
- return this;
698
- };
699
- var pr = /[^+/0-9A-Za-z-_]/g;
700
- function cr(n) {
701
- if (n = n.split("=")[0], n = n.trim().replace(pr, ""), n.length < 2) return "";
702
- for (; n.length % 4 !== 0; )
703
- n = n + "=";
704
- return n;
705
- }
706
- function R(n, r) {
707
- r = r || 1 / 0;
708
- for (var i, t = n.length, e = null, o = [], h = 0; h < t; ++h) {
709
- if (i = n.charCodeAt(h), i > 55295 && i < 57344) {
710
- if (!e) {
711
- if (i > 56319) {
712
- (r -= 3) > -1 && o.push(239, 191, 189);
713
- continue;
714
- } else if (h + 1 === t) {
715
- (r -= 3) > -1 && o.push(239, 191, 189);
716
- continue;
717
- }
718
- e = i;
719
- continue;
720
- }
721
- if (i < 56320) {
722
- (r -= 3) > -1 && o.push(239, 191, 189), e = i;
723
- continue;
724
- }
725
- i = (e - 55296 << 10 | i - 56320) + 65536;
726
- } else e && (r -= 3) > -1 && o.push(239, 191, 189);
727
- if (e = null, i < 128) {
728
- if ((r -= 1) < 0) break;
729
- o.push(i);
730
- } else if (i < 2048) {
731
- if ((r -= 2) < 0) break;
732
- o.push(
733
- i >> 6 | 192,
734
- i & 63 | 128
735
- );
736
- } else if (i < 65536) {
737
- if ((r -= 3) < 0) break;
738
- o.push(
739
- i >> 12 | 224,
740
- i >> 6 & 63 | 128,
741
- i & 63 | 128
742
- );
743
- } else if (i < 1114112) {
744
- if ((r -= 4) < 0) break;
745
- o.push(
746
- i >> 18 | 240,
747
- i >> 12 & 63 | 128,
748
- i >> 6 & 63 | 128,
749
- i & 63 | 128
750
- );
751
- } else
752
- throw new Error("Invalid code point");
753
- }
754
- return o;
755
- }
756
- function lr(n) {
757
- for (var r = [], i = 0; i < n.length; ++i)
758
- r.push(n.charCodeAt(i) & 255);
759
- return r;
760
- }
761
- function wr(n, r) {
762
- for (var i, t, e, o = [], h = 0; h < n.length && !((r -= 2) < 0); ++h)
763
- i = n.charCodeAt(h), t = i >> 8, e = i % 256, o.push(e), o.push(t);
764
- return o;
765
- }
766
- function J(n) {
767
- return U.toByteArray(cr(n));
768
- }
769
- function A(n, r, i, t) {
770
- for (var e = 0; e < t && !(e + i >= r.length || e >= n.length); ++e)
771
- r[e + i] = n[e];
772
- return e;
773
- }
774
- function y(n, r) {
775
- return n instanceof r || n != null && n.constructor != null && n.constructor.name != null && n.constructor.name === r.name;
776
- }
777
- function S(n) {
778
- return n !== n;
779
- }
780
- var sr = function() {
781
- for (var n = "0123456789abcdef", r = new Array(256), i = 0; i < 16; ++i)
782
- for (var t = i * 16, e = 0; e < 16; ++e)
783
- r[t + e] = n[i] + n[e];
784
- return r;
785
- }();
786
- }(C), C);
787
- }
788
- export {
789
- Br as __require
790
- };