@incodetech/core 0.0.0-dev-20260713-956e5dc0 → 0.0.0-dev-20260714-324b5b5f

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 (202) hide show
  1. package/dist/{3dAvatarProvider-D_SAp-m_.esm.js → 3dAvatarProvider-CjCu0kkb.esm.js} +1 -1
  2. package/dist/{Face2DProvider-CqUgP8ro.esm.js → Face2DProvider-BHP2bgkR.esm.js} +1 -1
  3. package/dist/{FaceDetectionProvider-D-SuPeaR.d.ts → FaceDetectionProvider-sjxLCtCj.d.ts} +2 -2
  4. package/dist/{IWasmUtilCapability-CCTvyShE.d.ts → IWasmUtilCapability-67CL2B5T.d.ts} +2 -2
  5. package/dist/{OpenViduRecordingProvider-DUJbCdJS.esm.js → OpenViduRecordingProvider-DBD6mCgy.esm.js} +1 -1
  6. package/dist/{StreamCanvasCapture-2WEq2BPh.d.ts → StreamCanvasCapture-B-gbqrCw.d.ts} +2 -2
  7. package/dist/ae-signature.d.ts +4 -4
  8. package/dist/antifraud.d.ts +4 -4
  9. package/dist/{antifraudManager-DGdmAXUw.d.ts → antifraudManager-Cb7V8LfR.d.ts} +2 -2
  10. package/dist/authentication.d.ts +19 -19
  11. package/dist/authentication.esm.js +14 -14
  12. package/dist/{authenticationManager-CTeiJ-qS.esm.js → authenticationManager-DmPg9VgS.esm.js} +2 -2
  13. package/dist/{authenticationManager-D_hu_JQz.d.ts → authenticationManager-DrjNztmP.d.ts} +3 -3
  14. package/dist/{authenticationStateMachine-DW3vF7LW.esm.js → authenticationStateMachine-Cdoy3vJD.esm.js} +3 -3
  15. package/dist/avatar.d.ts +2 -2
  16. package/dist/avatar.esm.js +1 -1
  17. package/dist/{backCameraStream-Cz2EvzSR.esm.js → backCameraStream-DYnfq7Hr.esm.js} +1 -1
  18. package/dist/browserSimulation-CQjwFn0Z.esm.js +1256 -0
  19. package/dist/camera.d.ts +1 -1
  20. package/dist/certificate-issuance.d.ts +31 -31
  21. package/dist/consent.d.ts +4 -4
  22. package/dist/{consentManager-Cg55dDe5.d.ts → consentManager-Bguy13dF.d.ts} +52 -52
  23. package/dist/cpf-ocr.d.ts +4 -4
  24. package/dist/{cpfOcrManager-DeT_9IWp.d.ts → cpfOcrManager-CYRwoqZp.d.ts} +19 -19
  25. package/dist/{createFaceAvatar-DoRExjKD.esm.js → createFaceAvatar-B3VyVrXD.esm.js} +3 -3
  26. package/dist/{createFaceAvatar-Cq8XaOFg.d.ts → createFaceAvatar-v31npknQ.d.ts} +1 -1
  27. package/dist/cross-document-data-match.d.ts +4 -4
  28. package/dist/{crossDocumentDataMatchManager-BjgY5K5j.d.ts → crossDocumentDataMatchManager-CnHoAGC7.d.ts} +2 -2
  29. package/dist/curp-validation.d.ts +10 -10
  30. package/dist/{curpValidationManager-Dh5pbMIh.d.ts → curpValidationManager-CeEgDRDi.d.ts} +3 -3
  31. package/dist/custom-fields.d.ts +3 -3
  32. package/dist/custom-watchlist.d.ts +2 -2
  33. package/dist/{deepsightLoader-D_HBYAZz.esm.js → deepsightLoader-D1JQF1f2.esm.js} +6 -6
  34. package/dist/{deepsightService-DU9yBWg_.esm.js → deepsightService-CV1NAkg9.esm.js} +2 -2
  35. package/dist/device.d.ts +10 -1
  36. package/dist/device.esm.js +23 -5
  37. package/dist/document-capture.d.ts +6 -6
  38. package/dist/document-capture.esm.js +4 -4
  39. package/dist/document-upload.d.ts +51 -51
  40. package/dist/document-upload.esm.js +2 -2
  41. package/dist/{documentCaptureManager-DN7nF3LQ.d.ts → documentCaptureManager-Bq-w6I9V.d.ts} +254 -254
  42. package/dist/{documentCaptureManager-BBsQlZXw.esm.js → documentCaptureManager-pufyUaQz.esm.js} +1 -1
  43. package/dist/{documentCaptureStateMachine-xxT-yxJP.esm.js → documentCaptureStateMachine-CaJgb_Vn.esm.js} +1 -1
  44. package/dist/dynamic-forms.d.ts +4 -4
  45. package/dist/{dynamicFormsManager-6myIq8JT.d.ts → dynamicFormsManager-DSNMQlC3.d.ts} +2 -2
  46. package/dist/ekyb.d.ts +9 -9
  47. package/dist/ekyb.esm.js +7 -7
  48. package/dist/{ekybStateMachine-hNgS6R4f.esm.js → ekybStateMachine-BFc8dP4s.esm.js} +1 -1
  49. package/dist/ekyc.d.ts +6 -78
  50. package/dist/ekyc.esm.js +3 -146
  51. package/dist/ekycManager-KcUwIdYs.d.ts +98 -0
  52. package/dist/ekycManager-thjwh_uT.esm.js +149 -0
  53. package/dist/electronic-signature.d.ts +4 -4
  54. package/dist/email.d.ts +5 -5
  55. package/dist/email.esm.js +3 -3
  56. package/dist/{emailManager-C3txxrRg.d.ts → emailManager-BW2hseKJ.d.ts} +3 -3
  57. package/dist/{emailManager-CMLBFHqK.esm.js → emailManager-DOA8AXYQ.esm.js} +2 -2
  58. package/dist/{emailStateMachine-COK_8IDp.esm.js → emailStateMachine-B2MptyiU.esm.js} +1 -1
  59. package/dist/extensibility.d.ts +41 -40
  60. package/dist/extensibility.esm.js +47 -44
  61. package/dist/face-match.d.ts +3 -3
  62. package/dist/face-match.esm.js +2 -2
  63. package/dist/{faceCaptureManagerFactory-CN95eDaX.d.ts → faceCaptureManagerFactory-B-xH9qFE.d.ts} +13 -13
  64. package/dist/{faceCaptureManagerFactory-DYjyND-F.esm.js → faceCaptureManagerFactory-CaZrDuyt.esm.js} +1 -1
  65. package/dist/{faceCaptureSetup-rodV6HGu.esm.js → faceCaptureSetup-tS-cBPM-.esm.js} +3 -3
  66. package/dist/{faceMatchManager-C4NI3YT8.d.ts → faceMatchManager-D3vnftrf.d.ts} +3 -3
  67. package/dist/{faceMatchManager-DBLomalC.esm.js → faceMatchManager-z7hbiLBH.esm.js} +1 -1
  68. package/dist/field-comparison.d.ts +4 -4
  69. package/dist/field-comparison.esm.js +1 -1
  70. package/dist/{fieldComparisonManager-Dr99pXex.d.ts → fieldComparisonManager-r99cyWRu.d.ts} +2 -2
  71. package/dist/fiscal-qr.d.ts +5 -5
  72. package/dist/fiscal-qr.esm.js +3 -3
  73. package/dist/flow-events.d.ts +8 -8
  74. package/dist/flow.d.ts +14 -14
  75. package/dist/flow.esm.js +8 -8
  76. package/dist/{flowServices-Bw149GN1.esm.js → flowServices-DJ9JHUL7.esm.js} +1 -1
  77. package/dist/geolocation.d.ts +4 -4
  78. package/dist/geolocation.esm.js +3 -3
  79. package/dist/{geolocationManager-D5Lo-VE4.d.ts → geolocationManager-DC_bGi5H.d.ts} +2 -2
  80. package/dist/{geolocationManager-Y9FZP1w1.esm.js → geolocationManager-nxDgjkIR.esm.js} +1 -1
  81. package/dist/{geolocationStateMachine-BXpXtbpl.esm.js → geolocationStateMachine-ZsXToaEg.esm.js} +1 -1
  82. package/dist/getBrowser-CZ66VtC7.esm.js +1543 -0
  83. package/dist/getDeviceClass-DsNb6nEl.esm.js +20 -0
  84. package/dist/government-validation.d.ts +4 -4
  85. package/dist/government-validation.esm.js +2 -2
  86. package/dist/{governmentValidationStateMachine-BqNYD2XO.esm.js → governmentValidationStateMachine-RUvohGIS.esm.js} +1 -1
  87. package/dist/home.d.ts +18 -18
  88. package/dist/http.esm.js +1 -1
  89. package/dist/id-ocr.d.ts +4 -4
  90. package/dist/id-ocr.esm.js +2 -2
  91. package/dist/id-verification.d.ts +4 -4
  92. package/dist/id-verification.esm.js +2 -2
  93. package/dist/id.d.ts +16 -16
  94. package/dist/id.esm.js +15 -15
  95. package/dist/{idCaptureManager-Df2IGcDl.esm.js → idCaptureManager-CYB66p05.esm.js} +1 -1
  96. package/dist/{idCaptureManager-C5Ko6NhX.d.ts → idCaptureManager-CzyKv7x6.d.ts} +12 -12
  97. package/dist/{idCaptureStateMachine-xA7T7kby.esm.js → idCaptureStateMachine-DvVBwX8W.esm.js} +9 -9
  98. package/dist/{idOcrManager-DjytGOv2.esm.js → idOcrManager--cuvWT7w.esm.js} +1 -1
  99. package/dist/{idOcrManager-BF63p3Cz.d.ts → idOcrManager-xoiz0VTM.d.ts} +54 -54
  100. package/dist/{idVerificationManager-xpHq_s6f.esm.js → idVerificationManager-BhAwLh2D.esm.js} +1 -1
  101. package/dist/{idVerificationManager-1c2zBli4.d.ts → idVerificationManager-CJU8hWW7.d.ts} +27 -27
  102. package/dist/identity-reuse.d.ts +4 -4
  103. package/dist/identity-reuse.esm.js +2 -2
  104. package/dist/{identityReuseManager-PHtuVw5T.esm.js → identityReuseManager-BHdQQJ5P.esm.js} +1 -1
  105. package/dist/{identityReuseManager-CFu9ajWi.d.ts → identityReuseManager-CsfUX8Dn.d.ts} +33 -33
  106. package/dist/{index-CDRR735R.d.ts → index-B7ULcS1Z.d.ts} +151 -151
  107. package/dist/{index-Bl4synmA.d.ts → index-BTIELBrO.d.ts} +2 -2
  108. package/dist/index.d.ts +3 -3
  109. package/dist/index.esm.js +6 -6
  110. package/dist/mandatory-consent.d.ts +10 -10
  111. package/dist/mandatory-consent.esm.js +2 -2
  112. package/dist/{mandatoryConsentManager-4az8SP7F.d.ts → mandatoryConsentManager-B6UkLbPK.d.ts} +54 -54
  113. package/dist/{mandatoryConsentManager-DlfGdZ58.esm.js → mandatoryConsentManager-DOcK1k6q.esm.js} +1 -1
  114. package/dist/{mediaRecorderOptions-DuYelylE.esm.js → mediaRecorderOptions-BIn657lu.esm.js} +1 -1
  115. package/dist/{onDeviceFaceResults-Bxs28uHM.esm.js → onDeviceFaceResults-DZ1DdAUQ.esm.js} +5 -5
  116. package/dist/openviduLazy-C5QPlhKX.esm.js +3 -0
  117. package/dist/{openviduLazy-B8Io9NMC.esm.js → openviduLazy-Cv86aS2h.esm.js} +1 -1
  118. package/dist/personhood.d.ts +16 -16
  119. package/dist/personhood.esm.js +9 -9
  120. package/dist/phone.d.ts +5 -5
  121. package/dist/phone.esm.js +3 -3
  122. package/dist/{phoneManager-RmMuAM_h.esm.js → phoneManager-C2hbNl_W.esm.js} +2 -2
  123. package/dist/{phoneManager-Bt4GpgTV.d.ts → phoneManager-DfcjlYoj.d.ts} +3 -3
  124. package/dist/{phoneStateMachine-CX4rvv0t.esm.js → phoneStateMachine-ZaquBwPP.esm.js} +1 -1
  125. package/dist/qe-signature.d.ts +4 -4
  126. package/dist/qe-signature.esm.js +1 -1
  127. package/dist/{recordingService-BxxL3Qyn.esm.js → recordingService-JeiGqSH-.esm.js} +5 -5
  128. package/dist/redirect-to-mobile.d.ts +4 -4
  129. package/dist/redirect-to-mobile.esm.js +2 -2
  130. package/dist/{redirectToMobileManager-AY6GnTCO.d.ts → redirectToMobileManager-BFf63F5S.d.ts} +2 -2
  131. package/dist/{redirectToMobileManager-BAg8VZjc.esm.js → redirectToMobileManager-CArNr2Fc.esm.js} +1 -1
  132. package/dist/selfie.d.ts +19 -19
  133. package/dist/selfie.esm.js +15 -15
  134. package/dist/{selfieManager-D4J5Jbmq.esm.js → selfieManager-BjeZW2gH.esm.js} +2 -2
  135. package/dist/{selfieManager-xfzu2VxN.d.ts → selfieManager-CfKSPlLr.d.ts} +3 -3
  136. package/dist/{selfieStateMachine-BNQMP_go.esm.js → selfieStateMachine-BBA0IGUj.esm.js} +2 -2
  137. package/dist/session.d.ts +7 -7
  138. package/dist/session.esm.js +6 -6
  139. package/dist/{sessionInitializer-D2dY_yVj.esm.js → sessionInitializer-BlxIyOag.esm.js} +4 -3
  140. package/dist/{setup-D1e0UBPP.d.ts → setup-C9azSPgy.d.ts} +2 -2
  141. package/dist/{setup-B6hvJnD_.esm.js → setup-DANe2FE8.esm.js} +2 -2
  142. package/dist/signature.d.ts +3 -3
  143. package/dist/signature.esm.js +1 -1
  144. package/dist/{tri-BzQijCrD.esm.js → tri-Cn0g8xLX.esm.js} +1 -1
  145. package/dist/tri.d.ts +1 -1
  146. package/dist/{tri.esm-ByOqNnU3.esm.js → tri.esm-DJDT0c68.esm.js} +1 -1
  147. package/dist/tri.esm.js +1 -1
  148. package/dist/trust-graph.d.ts +4 -4
  149. package/dist/{types-DMwx1WSD.d.ts → types-Bq6I7Tbd.d.ts} +1 -1
  150. package/dist/{types-DjUVRt1t.d.ts → types-CFx_SPaH.d.ts} +3 -3
  151. package/dist/{types-C7UUDE5w.d.ts → types-CHY2ZSXW.d.ts} +1 -1
  152. package/dist/{types-q_JqcrUi.d.ts → types-DhN4qd9T.d.ts} +2 -2
  153. package/dist/video-selfie.d.ts +14 -14
  154. package/dist/video-selfie.esm.js +12 -12
  155. package/dist/wasm.d.ts +3 -3
  156. package/dist/wasm.esm.js +6 -6
  157. package/dist/watchlist-for-business.d.ts +2 -2
  158. package/dist/watchlist-for-business.esm.js +1 -1
  159. package/dist/watchlist.d.ts +2 -2
  160. package/dist/watchlist.esm.js +1 -1
  161. package/dist/workflow.d.ts +116 -116
  162. package/dist/workflow.esm.js +37 -37
  163. package/package.json +1 -1
  164. package/dist/browserSimulation-CWJhFPZ2.esm.js +0 -2791
  165. package/dist/getBrowser-1yNcfFZR.esm.js +0 -8
  166. package/dist/getDeviceClass-QxbJwsOO.esm.js +0 -14
  167. package/dist/openviduLazy-iOxoNARd.esm.js +0 -3
  168. /package/dist/{Actor-CVuNUOJR.d.ts → Actor-D__xf-S9.d.ts} +0 -0
  169. /package/dist/{IVisibilityObserverCapability-CnatuAB2.d.ts → IVisibilityObserverCapability-BWiR2wii.d.ts} +0 -0
  170. /package/dist/{Manager-Nf1FHI2l.d.ts → Manager-D4FerOEH.d.ts} +0 -0
  171. /package/dist/{PrivacyLensProvider-lI9Re3Vo.esm.js → PrivacyLensProvider-DdNBghgC.esm.js} +0 -0
  172. /package/dist/{StateMachine-BbQn0WGQ.d.ts → StateMachine-IH5gwvRc.d.ts} +0 -0
  173. /package/dist/{browser-DlFgHpoC-2zr0Hz4y.esm.js → browser-DlFgHpoC-71PTjAHo.esm.js} +0 -0
  174. /package/dist/{camera-BKIKKx_i.d.ts → camera-d1f2p-kb.d.ts} +0 -0
  175. /package/dist/{canvas-BObFM-qd.d.ts → canvas-6lBxtuDn.d.ts} +0 -0
  176. /package/dist/{deepsightService-DM-bFcoC.d.ts → deepsightService-szDosYMr.d.ts} +0 -0
  177. /package/dist/{faceMatchStateMachine-BMQd3rrh.esm.js → faceMatchStateMachine-R89dO4W8.esm.js} +0 -0
  178. /package/dist/{fieldComparisonManager-DGpPHZ-4.esm.js → fieldComparisonManager-D3ii0cu6.esm.js} +0 -0
  179. /package/dist/{flowCompletionService-BM0VfDdG.esm.js → flowCompletionService-CmLw0M5w.esm.js} +0 -0
  180. /package/dist/{flowCompletionService-D67Cat5z.d.ts → flowCompletionService-oENcBdj6.d.ts} +0 -0
  181. /package/dist/{http-CrBBn_W2.esm.js → http-Be7sLlwP.esm.js} +0 -0
  182. /package/dist/{idCaptureDefaults-DK4ykzxh.esm.js → idCaptureDefaults-BRzPff0h.esm.js} +0 -0
  183. /package/dist/{idOcrStateMachine-DLuOVNIt.esm.js → idOcrStateMachine-BUpCUsFQ.esm.js} +0 -0
  184. /package/dist/{idVerificationStateMachine-DgoR-BBg.esm.js → idVerificationStateMachine-BM9O-8Ef.esm.js} +0 -0
  185. /package/dist/{identityReuseStateMachine-DmnM1BAa.esm.js → identityReuseStateMachine-9A4J3lOb.esm.js} +0 -0
  186. /package/dist/{index--OYuPcRj.d.ts → index-CmD84PXB.d.ts} +0 -0
  187. /package/dist/{invokeOnCaptureCallback-DlCKlJWr.esm.js → invokeOnCaptureCallback-C1cpCmPj.esm.js} +0 -0
  188. /package/dist/{lib-DmWhcCPD.esm.js → lib-DQrpzNM-.esm.js} +0 -0
  189. /package/dist/{mandatoryConsentStateMachine-CrkH9XLD.esm.js → mandatoryConsentStateMachine-HU0NnLsD.esm.js} +0 -0
  190. /package/dist/{mediapipeShared-DRjYsEf3.esm.js → mediapipeShared-Bk_3uEgM.esm.js} +0 -0
  191. /package/dist/{otp-nhnnp9FM.esm.js → otp-Bfnzf7I3.esm.js} +0 -0
  192. /package/dist/{otp-_n_me71J.d.ts → otp-Cc9mVS4s.d.ts} +0 -0
  193. /package/dist/{platform-0Ot-bF_a.esm.js → platform-BoeUeUrV.esm.js} +0 -0
  194. /package/dist/{qe-signature-jpyR9x3e.esm.js → qe-signature-Ces-NrOq.esm.js} +0 -0
  195. /package/dist/{redirectToMobileStateMachine-jTHPayFp.esm.js → redirectToMobileStateMachine-CFh7ch0g.esm.js} +0 -0
  196. /package/dist/{runChildModule-DfryCG-j.esm.js → runChildModule-DuSlT0xP.esm.js} +0 -0
  197. /package/dist/{signatureStateMachine-CUWvEuOb.esm.js → signatureStateMachine-Bw615tMS.esm.js} +0 -0
  198. /package/dist/{types-4Zm5rOiY.d.ts → types-B6J7yeLF.d.ts} +0 -0
  199. /package/dist/{types-BvBOuDuK.d.ts → types-D54cpe17.d.ts} +0 -0
  200. /package/dist/{warmup-BLb08x_r.d.ts → warmup-6G-VPvwz.d.ts} +0 -0
  201. /package/dist/{watchlistForBusinessStateMachine-fc_8PwqF.esm.js → watchlistForBusinessStateMachine-wzZuYOIU.esm.js} +0 -0
  202. /package/dist/{watchlistStateMachine-BnXwv9fp.esm.js → watchlistStateMachine-C0fEH_Xu.esm.js} +0 -0
@@ -0,0 +1,1256 @@
1
+ import { n as getParsedUserAgent, t as getUserAgent } from "./getBrowser-CZ66VtC7.esm.js";
2
+ import { r as isIOS } from "./platform-BoeUeUrV.esm.js";
3
+
4
+ //#region ../../node_modules/.pnpm/@thumbmarkjs+thumbmarkjs@1.6.4/node_modules/@thumbmarkjs/thumbmarkjs/dist/thumbmark.esm.js
5
+ const e = 2592e5, t = "thumbmark", n = "https://api.thumbmarkjs.com", o = {
6
+ exclude: [],
7
+ include: [],
8
+ stabilize: ["private", "iframe"],
9
+ logging: !0,
10
+ timeout: 5e3,
11
+ cache_api_call: !0,
12
+ cache_lifetime_in_ms: 0,
13
+ performance: !1,
14
+ experimental: !1,
15
+ property_name_factory: (e$1) => `${t}_${e$1}`
16
+ };
17
+ let r = { ...o };
18
+ const a = {
19
+ private: [
20
+ {
21
+ exclude: ["canvas"],
22
+ browsers: [
23
+ "firefox",
24
+ "safari>=17",
25
+ "brave"
26
+ ]
27
+ },
28
+ {
29
+ exclude: ["audio"],
30
+ browsers: ["samsungbrowser", "safari"]
31
+ },
32
+ {
33
+ exclude: ["fonts"],
34
+ browsers: ["firefox"]
35
+ },
36
+ {
37
+ exclude: [
38
+ "audio.sampleHash",
39
+ "hardware.deviceMemory",
40
+ "header.acceptLanguage.q",
41
+ "system.hardwareConcurrency",
42
+ "plugins"
43
+ ],
44
+ browsers: ["brave"]
45
+ },
46
+ {
47
+ exclude: ["tls.extensions"],
48
+ browsers: [
49
+ "firefox",
50
+ "chrome",
51
+ "safari"
52
+ ]
53
+ },
54
+ {
55
+ exclude: ["header.acceptLanguage"],
56
+ browsers: ["edge", "chrome"]
57
+ }
58
+ ],
59
+ iframe: [{
60
+ exclude: ["system.applePayVersion", "system.cookieEnabled"],
61
+ browsers: ["safari"]
62
+ }, { exclude: ["permissions"] }],
63
+ vpn: [{ exclude: ["ip"] }]
64
+ }, s = "undefined" != typeof window ? window.OfflineAudioContext || window.webkitOfflineAudioContext : null;
65
+ function c(e$1) {
66
+ let t$1 = 0;
67
+ for (let n$1 = 0; n$1 < e$1.length; ++n$1) t$1 += Math.abs(e$1[n$1]);
68
+ return t$1;
69
+ }
70
+ function l(e$1, t$1, n$1) {
71
+ let o$1 = [];
72
+ for (let t$2 = 0; t$2 < e$1[0].data.length; t$2++) {
73
+ let n$2 = [];
74
+ for (let o$2 = 0; o$2 < e$1.length; o$2++) n$2.push(e$1[o$2].data[t$2]);
75
+ o$1.push(u(n$2));
76
+ }
77
+ const r$1 = new Uint8ClampedArray(o$1);
78
+ return new ImageData(r$1, t$1, n$1);
79
+ }
80
+ function u(e$1) {
81
+ if (0 === e$1.length) return 0;
82
+ const t$1 = {};
83
+ for (const n$2 of e$1) t$1[n$2] = (t$1[n$2] || 0) + 1;
84
+ let n$1 = e$1[0];
85
+ for (const e$2 in t$1) t$1[e$2] > t$1[n$1] && (n$1 = parseInt(e$2, 10));
86
+ return n$1;
87
+ }
88
+ function d(e$1) {
89
+ return e$1 ^= e$1 >>> 16, e$1 = Math.imul(e$1, 2246822507), e$1 ^= e$1 >>> 13, e$1 = Math.imul(e$1, 3266489909), (e$1 ^= e$1 >>> 16) >>> 0;
90
+ }
91
+ const m = new Uint32Array([
92
+ 597399067,
93
+ 2869860233,
94
+ 951274213,
95
+ 2716044179
96
+ ]);
97
+ function f(e$1, t$1) {
98
+ return e$1 << t$1 | e$1 >>> 32 - t$1;
99
+ }
100
+ function h(e$1, t$1 = 0) {
101
+ if (t$1 = t$1 ? 0 | t$1 : 0, "string" == typeof e$1 && (e$1 = function(e$2) {
102
+ if ("undefined" != typeof TextEncoder) return new TextEncoder().encode(e$2).buffer;
103
+ const t$2 = [];
104
+ for (let n$2 = 0; n$2 < e$2.length; n$2++) {
105
+ let o$2 = e$2.charCodeAt(n$2);
106
+ o$2 < 128 ? t$2.push(o$2) : o$2 < 2048 ? t$2.push(192 | o$2 >> 6, 128 | 63 & o$2) : o$2 < 55296 || o$2 >= 57344 ? t$2.push(224 | o$2 >> 12, 128 | o$2 >> 6 & 63, 128 | 63 & o$2) : (n$2++, o$2 = 65536 + ((1023 & o$2) << 10 | 1023 & e$2.charCodeAt(n$2)), t$2.push(240 | o$2 >> 18, 128 | o$2 >> 12 & 63, 128 | o$2 >> 6 & 63, 128 | 63 & o$2));
107
+ }
108
+ return new Uint8Array(t$2).buffer;
109
+ }(e$1)), !(e$1 instanceof ArrayBuffer)) throw new TypeError("Expected key to be ArrayBuffer or string");
110
+ const n$1 = new Uint32Array([
111
+ t$1,
112
+ t$1,
113
+ t$1,
114
+ t$1
115
+ ]);
116
+ (function(e$2, t$2) {
117
+ const n$2 = e$2.byteLength / 16 | 0, o$2 = new Uint32Array(e$2, 0, 4 * n$2);
118
+ for (let e$3 = 0; e$3 < n$2; e$3++) {
119
+ const n$3 = o$2.subarray(4 * e$3, 4 * (e$3 + 1));
120
+ n$3[0] = Math.imul(n$3[0], m[0]), n$3[0] = f(n$3[0], 15), n$3[0] = Math.imul(n$3[0], m[1]), t$2[0] = t$2[0] ^ n$3[0], t$2[0] = f(t$2[0], 19), t$2[0] = t$2[0] + t$2[1], t$2[0] = Math.imul(t$2[0], 5) + 1444728091, n$3[1] = Math.imul(n$3[1], m[1]), n$3[1] = f(n$3[1], 16), n$3[1] = Math.imul(n$3[1], m[2]), t$2[1] = t$2[1] ^ n$3[1], t$2[1] = f(t$2[1], 17), t$2[1] = t$2[1] + t$2[2], t$2[1] = Math.imul(t$2[1], 5) + 197830471, n$3[2] = Math.imul(n$3[2], m[2]), n$3[2] = f(n$3[2], 17), n$3[2] = Math.imul(n$3[2], m[3]), t$2[2] = t$2[2] ^ n$3[2], t$2[2] = f(t$2[2], 15), t$2[2] = t$2[2] + t$2[3], t$2[2] = Math.imul(t$2[2], 5) + 2530024501, n$3[3] = Math.imul(n$3[3], m[3]), n$3[3] = f(n$3[3], 18), n$3[3] = Math.imul(n$3[3], m[0]), t$2[3] = t$2[3] ^ n$3[3], t$2[3] = f(t$2[3], 13), t$2[3] = t$2[3] + t$2[0], t$2[3] = Math.imul(t$2[3], 5) + 850148119;
121
+ }
122
+ })(e$1, n$1), function(e$2, t$2) {
123
+ const n$2 = e$2.byteLength / 16 | 0, o$2 = e$2.byteLength % 16, r$1 = new Uint32Array(4), i = new Uint8Array(e$2, 16 * n$2, o$2);
124
+ switch (o$2) {
125
+ case 15: r$1[3] = r$1[3] ^ i[14] << 16;
126
+ case 14: r$1[3] = r$1[3] ^ i[13] << 8;
127
+ case 13: r$1[3] = r$1[3] ^ i[12], r$1[3] = Math.imul(r$1[3], m[3]), r$1[3] = f(r$1[3], 18), r$1[3] = Math.imul(r$1[3], m[0]), t$2[3] = t$2[3] ^ r$1[3];
128
+ case 12: r$1[2] = r$1[2] ^ i[11] << 24;
129
+ case 11: r$1[2] = r$1[2] ^ i[10] << 16;
130
+ case 10: r$1[2] = r$1[2] ^ i[9] << 8;
131
+ case 9: r$1[2] = r$1[2] ^ i[8], r$1[2] = Math.imul(r$1[2], m[2]), r$1[2] = f(r$1[2], 17), r$1[2] = Math.imul(r$1[2], m[3]), t$2[2] = t$2[2] ^ r$1[2];
132
+ case 8: r$1[1] = r$1[1] ^ i[7] << 24;
133
+ case 7: r$1[1] = r$1[1] ^ i[6] << 16;
134
+ case 6: r$1[1] = r$1[1] ^ i[5] << 8;
135
+ case 5: r$1[1] = r$1[1] ^ i[4], r$1[1] = Math.imul(r$1[1], m[1]), r$1[1] = f(r$1[1], 16), r$1[1] = Math.imul(r$1[1], m[2]), t$2[1] = t$2[1] ^ r$1[1];
136
+ case 4: r$1[0] = r$1[0] ^ i[3] << 24;
137
+ case 3: r$1[0] = r$1[0] ^ i[2] << 16;
138
+ case 2: r$1[0] = r$1[0] ^ i[1] << 8;
139
+ case 1: r$1[0] = r$1[0] ^ i[0], r$1[0] = Math.imul(r$1[0], m[0]), r$1[0] = f(r$1[0], 15), r$1[0] = Math.imul(r$1[0], m[1]), t$2[0] = t$2[0] ^ r$1[0];
140
+ }
141
+ }(e$1, n$1), function(e$2, t$2) {
142
+ t$2[0] = t$2[0] ^ e$2.byteLength, t$2[1] = t$2[1] ^ e$2.byteLength, t$2[2] = t$2[2] ^ e$2.byteLength, t$2[3] = t$2[3] ^ e$2.byteLength, t$2[0] = t$2[0] + t$2[1] | 0, t$2[0] = t$2[0] + t$2[2] | 0, t$2[0] = t$2[0] + t$2[3] | 0, t$2[1] = t$2[1] + t$2[0] | 0, t$2[2] = t$2[2] + t$2[0] | 0, t$2[3] = t$2[3] + t$2[0] | 0, t$2[0] = d(t$2[0]), t$2[1] = d(t$2[1]), t$2[2] = d(t$2[2]), t$2[3] = d(t$2[3]), t$2[0] = t$2[0] + t$2[1] | 0, t$2[0] = t$2[0] + t$2[2] | 0, t$2[0] = t$2[0] + t$2[3] | 0, t$2[1] = t$2[1] + t$2[0] | 0, t$2[2] = t$2[2] + t$2[0] | 0, t$2[3] = t$2[3] + t$2[0] | 0;
143
+ }(e$1, n$1);
144
+ const o$1 = new Uint8Array(n$1.buffer);
145
+ return Array.from(o$1).map(((e$2) => e$2.toString(16).padStart(2, "0"))).join("");
146
+ }
147
+ const p = 280;
148
+ async function g(e$1) {
149
+ for (var t$1; !document.body;) await w(50);
150
+ const n$1 = document.createElement("iframe");
151
+ n$1.setAttribute("frameBorder", "0");
152
+ const o$1 = n$1.style;
153
+ o$1.setProperty("position", "fixed"), o$1.setProperty("display", "block", "important"), o$1.setProperty("visibility", "visible"), o$1.setProperty("border", "0"), o$1.setProperty("opacity", "0"), n$1.src = "about:blank", document.body.appendChild(n$1);
154
+ const r$1 = n$1.contentDocument || (null === (t$1 = n$1.contentWindow) || void 0 === t$1 ? void 0 : t$1.document);
155
+ if (!r$1) throw new Error("Iframe document is not accessible");
156
+ e$1({ iframe: r$1 }), setTimeout((() => {
157
+ document.body.removeChild(n$1);
158
+ }), 0);
159
+ }
160
+ function w(e$1, t$1) {
161
+ return new Promise(((n$1) => setTimeout(n$1, e$1, t$1)));
162
+ }
163
+ const v = [
164
+ "Arial",
165
+ "Arial Black",
166
+ "Arial Narrow",
167
+ "Arial Rounded MT",
168
+ "Arimo",
169
+ "Archivo",
170
+ "Barlow",
171
+ "Bebas Neue",
172
+ "Bitter",
173
+ "Bookman",
174
+ "Calibri",
175
+ "Cabin",
176
+ "Candara",
177
+ "Century",
178
+ "Century Gothic",
179
+ "Comic Sans MS",
180
+ "Constantia",
181
+ "Courier",
182
+ "Courier New",
183
+ "Crimson Text",
184
+ "DM Mono",
185
+ "DM Sans",
186
+ "DM Serif Display",
187
+ "DM Serif Text",
188
+ "Dosis",
189
+ "Droid Sans",
190
+ "Exo",
191
+ "Fira Code",
192
+ "Fira Sans",
193
+ "Franklin Gothic Medium",
194
+ "Garamond",
195
+ "Geneva",
196
+ "Georgia",
197
+ "Gill Sans",
198
+ "Helvetica",
199
+ "Impact",
200
+ "Inconsolata",
201
+ "Indie Flower",
202
+ "Inter",
203
+ "Josefin Sans",
204
+ "Karla",
205
+ "Lato",
206
+ "Lexend",
207
+ "Lucida Bright",
208
+ "Lucida Console",
209
+ "Lucida Sans Unicode",
210
+ "Manrope",
211
+ "Merriweather",
212
+ "Merriweather Sans",
213
+ "Montserrat",
214
+ "Myriad",
215
+ "Noto Sans",
216
+ "Nunito",
217
+ "Nunito Sans",
218
+ "Open Sans",
219
+ "Optima",
220
+ "Orbitron",
221
+ "Oswald",
222
+ "Pacifico",
223
+ "Palatino",
224
+ "Perpetua",
225
+ "PT Sans",
226
+ "PT Serif",
227
+ "Poppins",
228
+ "Prompt",
229
+ "Public Sans",
230
+ "Quicksand",
231
+ "Rajdhani",
232
+ "Recursive",
233
+ "Roboto",
234
+ "Roboto Condensed",
235
+ "Rockwell",
236
+ "Rubik",
237
+ "Segoe Print",
238
+ "Segoe Script",
239
+ "Segoe UI",
240
+ "Sora",
241
+ "Source Sans Pro",
242
+ "Space Mono",
243
+ "Tahoma",
244
+ "Taviraj",
245
+ "Times",
246
+ "Times New Roman",
247
+ "Titillium Web",
248
+ "Trebuchet MS",
249
+ "Ubuntu",
250
+ "Varela Round",
251
+ "Verdana",
252
+ "Work Sans"
253
+ ], y = [
254
+ "monospace",
255
+ "sans-serif",
256
+ "serif"
257
+ ];
258
+ function S(e$1, t$1) {
259
+ return e$1.font = `72px ${t$1}`, e$1.measureText("WwMmLli0Oo").width;
260
+ }
261
+ function b() {
262
+ var e$1;
263
+ const t$1 = document.createElement("canvas"), n$1 = null !== (e$1 = t$1.getContext("webgl")) && void 0 !== e$1 ? e$1 : t$1.getContext("experimental-webgl");
264
+ if (n$1 && "getParameter" in n$1) try {
265
+ const e$2 = (n$1.getParameter(n$1.VENDOR) || "").toString(), t$2 = (n$1.getParameter(n$1.RENDERER) || "").toString();
266
+ let o$1 = {
267
+ vendor: e$2,
268
+ renderer: t$2,
269
+ version: (n$1.getParameter(n$1.VERSION) || "").toString(),
270
+ shadingLanguageVersion: (n$1.getParameter(n$1.SHADING_LANGUAGE_VERSION) || "").toString()
271
+ };
272
+ if (!t$2.length || !e$2.length) {
273
+ const e$3 = n$1.getExtension("WEBGL_debug_renderer_info");
274
+ if (e$3) {
275
+ const t$3 = (n$1.getParameter(e$3.UNMASKED_VENDOR_WEBGL) || "").toString(), r$1 = (n$1.getParameter(e$3.UNMASKED_RENDERER_WEBGL) || "").toString();
276
+ t$3 && (o$1.vendorUnmasked = t$3), r$1 && (o$1.rendererUnmasked = r$1);
277
+ }
278
+ }
279
+ return o$1;
280
+ } catch (e$2) {}
281
+ return "undefined";
282
+ }
283
+ function E() {
284
+ const e$1 = new Float32Array(1), t$1 = new Uint8Array(e$1.buffer);
285
+ return e$1[0] = Infinity, e$1[0] = e$1[0] - e$1[0], t$1[3];
286
+ }
287
+ const M = (e$1, t$1, n$1, o$1) => {
288
+ const r$1 = (n$1 - t$1) / o$1;
289
+ let i = 0;
290
+ for (let n$2 = 0; n$2 < o$1; n$2++) i += e$1(t$1 + (n$2 + .5) * r$1);
291
+ return i * r$1;
292
+ };
293
+ function P(e$1, t$1) {
294
+ const n$1 = {};
295
+ return t$1.forEach(((t$2) => {
296
+ const o$1 = function(e$2) {
297
+ if (0 === e$2.length) return null;
298
+ const t$3 = {};
299
+ e$2.forEach(((e$3) => {
300
+ const n$3 = String(e$3);
301
+ t$3[n$3] = (t$3[n$3] || 0) + 1;
302
+ }));
303
+ let n$2 = e$2[0], o$2 = 1;
304
+ return Object.keys(t$3).forEach(((e$3) => {
305
+ t$3[e$3] > o$2 && (n$2 = e$3, o$2 = t$3[e$3]);
306
+ })), n$2;
307
+ }(e$1.map(((e$2) => t$2 in e$2 ? e$2[t$2] : void 0)).filter(((e$2) => void 0 !== e$2)));
308
+ o$1 && (n$1[t$2] = o$1);
309
+ })), n$1;
310
+ }
311
+ const A = [
312
+ "accelerometer",
313
+ "accessibility",
314
+ "accessibility-events",
315
+ "ambient-light-sensor",
316
+ "background-fetch",
317
+ "background-sync",
318
+ "bluetooth",
319
+ "camera",
320
+ "clipboard-read",
321
+ "clipboard-write",
322
+ "device-info",
323
+ "display-capture",
324
+ "gyroscope",
325
+ "geolocation",
326
+ "local-fonts",
327
+ "magnetometer",
328
+ "microphone",
329
+ "midi",
330
+ "nfc",
331
+ "notifications",
332
+ "payment-handler",
333
+ "persistent-storage",
334
+ "push",
335
+ "speaker",
336
+ "storage-access",
337
+ "top-level-storage-access",
338
+ "window-management",
339
+ "query"
340
+ ];
341
+ function x() {
342
+ var e$1, t$1, n$1, o$1, r$1, i;
343
+ if ("undefined" == typeof navigator) return {
344
+ name: "unknown",
345
+ version: "unknown"
346
+ };
347
+ const a$1 = navigator.userAgent, s$1 = [
348
+ /(?<name>SamsungBrowser)\/(?<version>\d+(?:\.\d+)+)/,
349
+ /(?<name>EdgA|EdgiOS|Edg)\/(?<version>\d+(?:\.\d+)+)/,
350
+ /(?<name>OPR|OPX)\/(?<version>\d+(?:\.\d+)+)/,
351
+ /Opera[\s\/](?<version>\d+(?:\.\d+)+)/,
352
+ /Opera Mini\/(?<version>\d+(?:\.\d+)+)/,
353
+ /Opera Mobi\/(?<version>\d+(?:\.\d+)+)/,
354
+ /(?<name>Vivaldi)\/(?<version>\d+(?:\.\d+)+)/,
355
+ /(?<name>Brave)\/(?<version>\d+(?:\.\d+)+)/,
356
+ /(?<name>CriOS)\/(?<version>\d+(?:\.\d+)+)/,
357
+ /(?<name>FxiOS)\/(?<version>\d+(?:\.\d+)+)/,
358
+ /(?<name>Chrome|Chromium)\/(?<version>\d+(?:\.\d+)+)/,
359
+ /(?<name>Firefox|Waterfox|Iceweasel|IceCat)\/(?<version>\d+(?:\.\d+)+)/,
360
+ /Version\/(?<version1>[\d.]+).*Safari\/[\d.]+|(?<name>Safari)\/(?<version2>[\d.]+)/,
361
+ /(?<name>MSIE|Trident|IEMobile).+?(?<version>\d+(?:\.\d+)+)/,
362
+ /(?<name>[A-Za-z]+)\/(?<version>\d+(?:\.\d+)+)/
363
+ ], c$1 = {
364
+ edg: "Edge",
365
+ edga: "Edge",
366
+ edgios: "Edge",
367
+ opr: "Opera",
368
+ opx: "Opera",
369
+ crios: "Chrome",
370
+ fxios: "Firefox",
371
+ samsung: "SamsungBrowser",
372
+ vivaldi: "Vivaldi",
373
+ brave: "Brave"
374
+ };
375
+ for (const l$1 of s$1) {
376
+ const s$2 = a$1.match(l$1);
377
+ if (s$2) {
378
+ let a$2 = null === (e$1 = s$2.groups) || void 0 === e$1 ? void 0 : e$1.name, u$1 = (null === (t$1 = s$2.groups) || void 0 === t$1 ? void 0 : t$1.version) || (null === (n$1 = s$2.groups) || void 0 === n$1 ? void 0 : n$1.version1) || (null === (o$1 = s$2.groups) || void 0 === o$1 ? void 0 : o$1.version2);
379
+ if (a$2 || !(null === (r$1 = s$2.groups) || void 0 === r$1 ? void 0 : r$1.version1) && !(null === (i = s$2.groups) || void 0 === i ? void 0 : i.version2) || (a$2 = "Safari"), !a$2 && l$1.source.includes("Opera Mini") && (a$2 = "Opera Mini"), !a$2 && l$1.source.includes("Opera Mobi") && (a$2 = "Opera Mobi"), !a$2 && l$1.source.includes("Opera") && (a$2 = "Opera"), !a$2 && s$2[1] && (a$2 = s$2[1]), !u$1 && s$2[2] && (u$1 = s$2[2]), a$2) return {
380
+ name: c$1[a$2.toLowerCase()] || a$2,
381
+ version: u$1 || "unknown"
382
+ };
383
+ }
384
+ }
385
+ return {
386
+ name: "unknown",
387
+ version: "unknown"
388
+ };
389
+ }
390
+ function C() {
391
+ if ("undefined" == typeof navigator || !navigator.userAgent) return !1;
392
+ const e$1 = navigator.userAgent;
393
+ return /Mobi|Android|iPhone|iPod|IEMobile|Opera Mini|Opera Mobi|webOS|BlackBerry|Windows Phone/i.test(e$1) && !/iPad/i.test(e$1);
394
+ }
395
+ function _() {
396
+ let e$1 = [];
397
+ const t$1 = {
398
+ "prefers-contrast": [
399
+ "high",
400
+ "more",
401
+ "low",
402
+ "less",
403
+ "forced",
404
+ "no-preference"
405
+ ],
406
+ "any-hover": ["hover", "none"],
407
+ "any-pointer": [
408
+ "none",
409
+ "coarse",
410
+ "fine"
411
+ ],
412
+ pointer: [
413
+ "none",
414
+ "coarse",
415
+ "fine"
416
+ ],
417
+ hover: ["hover", "none"],
418
+ update: ["fast", "slow"],
419
+ "inverted-colors": ["inverted", "none"],
420
+ "prefers-reduced-motion": ["reduce", "no-preference"],
421
+ "prefers-reduced-transparency": ["reduce", "no-preference"],
422
+ scripting: [
423
+ "none",
424
+ "initial-only",
425
+ "enabled"
426
+ ],
427
+ "forced-colors": ["active", "none"]
428
+ };
429
+ return Object.keys(t$1).forEach(((n$1) => {
430
+ t$1[n$1].forEach(((t$2) => {
431
+ matchMedia(`(${n$1}: ${t$2})`).matches && e$1.push(`${n$1}: ${t$2}`);
432
+ }));
433
+ })), e$1;
434
+ }
435
+ function I() {
436
+ if ("https:" === window.location.protocol && "function" == typeof window.ApplePaySession) try {
437
+ const e$1 = window.ApplePaySession.supportsVersion;
438
+ for (let t$1 = 15; t$1 > 0; t$1--) if (e$1(t$1)) return t$1;
439
+ } catch (e$1) {
440
+ return 0;
441
+ }
442
+ return 0;
443
+ }
444
+ const T = "SamsungBrowser" !== x().name ? 1 : 3;
445
+ let R, k = null;
446
+ function O(e$1) {
447
+ const t$1 = [];
448
+ return function e$2(n$1) {
449
+ if (n$1 && n$1.toJSON && "function" == typeof n$1.toJSON && (n$1 = n$1.toJSON()), void 0 === n$1) return;
450
+ if ("number" == typeof n$1) return isFinite(n$1) ? "" + n$1 : "null";
451
+ if ("object" != typeof n$1) return JSON.stringify(n$1);
452
+ let o$1, r$1;
453
+ if (Array.isArray(n$1)) {
454
+ for (r$1 = "[", o$1 = 0; o$1 < n$1.length; o$1++) o$1 && (r$1 += ","), r$1 += e$2(n$1[o$1]) || "null";
455
+ return r$1 + "]";
456
+ }
457
+ if (null === n$1) return "null";
458
+ if (-1 !== t$1.indexOf(n$1)) throw new TypeError("Converting circular structure to JSON");
459
+ const i = t$1.push(n$1) - 1, a$1 = Object.keys(n$1).sort();
460
+ for (r$1 = "", o$1 = 0; o$1 < a$1.length; o$1++) {
461
+ const t$2 = a$1[o$1], i$1 = e$2(n$1[t$2]);
462
+ i$1 && (r$1 && (r$1 += ","), r$1 += JSON.stringify(t$2) + ":" + i$1);
463
+ }
464
+ return t$1.splice(i, 1), "{" + r$1 + "}";
465
+ }(e$1) || "";
466
+ }
467
+ const L = [
468
+ "𝔄",
469
+ "𝔅",
470
+ "ℭ",
471
+ "𝔇",
472
+ "𝔈",
473
+ "𝔉",
474
+ "𝔸",
475
+ "𝔹",
476
+ "ℂ",
477
+ "𝔻",
478
+ "𝔼",
479
+ "𝔽"
480
+ ], B = [
481
+ "β",
482
+ "ψ",
483
+ "λ",
484
+ "ε",
485
+ "ζ",
486
+ "α",
487
+ "ξ",
488
+ "μ",
489
+ "ρ",
490
+ "φ",
491
+ "κ",
492
+ "τ",
493
+ "η",
494
+ "σ",
495
+ "ι",
496
+ "ω",
497
+ "γ",
498
+ "ν",
499
+ "χ",
500
+ "δ",
501
+ "θ",
502
+ "π",
503
+ "υ",
504
+ "ο"
505
+ ];
506
+ function D(e$1, t$1) {
507
+ return `<math><mrow>${t$1}</mrow></math>`;
508
+ }
509
+ function N() {
510
+ let e$1 = "<mo>∏</mo>";
511
+ return L.forEach(((t$1, n$1) => {
512
+ const o$1 = 2 * n$1, r$1 = B.slice(o$1, o$1 + 2);
513
+ 2 === r$1.length && (e$1 += `<mmultiscripts><mi>${t$1}</mi><none/><mi>${r$1[1]}</mi><mprescripts></mprescripts><mi>${r$1[0]}</mi><none/></mmultiscripts>`);
514
+ })), D(0, `<munderover><mmultiscripts>${e$1}</mmultiscripts></munderover>`);
515
+ }
516
+ function $() {
517
+ const e$1 = [];
518
+ return L.forEach(((t$1, n$1) => {
519
+ const o$1 = 2 * n$1, r$1 = B.slice(o$1, o$1 + 2);
520
+ 2 === r$1.length && e$1.push(D(0, `<mmultiscripts><mi>${t$1}</mi><none/><mi>${r$1[1]}</mi><mprescripts></mprescripts><mi>${r$1[0]}</mi><none/></mmultiscripts>`));
521
+ })), e$1;
522
+ }
523
+ const V = {
524
+ audio: async function() {
525
+ return s ? async function() {
526
+ return new Promise(((e$1, t$1) => {
527
+ try {
528
+ const t$2 = new s(1, 5e3, 44100), n$1 = t$2.createBufferSource(), o$1 = t$2.createOscillator();
529
+ o$1.frequency.value = 1e3;
530
+ const r$1 = t$2.createDynamicsCompressor();
531
+ let i;
532
+ r$1.threshold.value = -50, r$1.knee.value = 40, r$1.ratio.value = 12, r$1.attack.value = 0, r$1.release.value = .2, o$1.connect(r$1), r$1.connect(t$2.destination), o$1.start(), t$2.oncomplete = (o$2) => {
533
+ i = o$2.renderedBuffer.getChannelData(0), e$1({
534
+ sampleHash: c(i),
535
+ maxChannels: t$2.destination.maxChannelCount,
536
+ channelCountMode: n$1.channelCountMode
537
+ });
538
+ }, t$2.startRendering();
539
+ } catch (e$2) {
540
+ console.error("Error creating audio fingerprint:", e$2), t$1(e$2);
541
+ }
542
+ }));
543
+ }() : null;
544
+ },
545
+ canvas: async function() {
546
+ return new Promise(((e$1) => {
547
+ const t$1 = Array.from({ length: 3 }, (() => function() {
548
+ const e$2 = document.createElement("canvas"), t$2 = e$2.getContext("2d");
549
+ if (!t$2) return null;
550
+ e$2.width = p, e$2.height = 20;
551
+ const n$1 = t$2.createLinearGradient(0, 0, e$2.width, e$2.height);
552
+ n$1.addColorStop(0, "red"), n$1.addColorStop(1 / 6, "orange"), n$1.addColorStop(2 / 6, "yellow"), n$1.addColorStop(.5, "green"), n$1.addColorStop(4 / 6, "blue"), n$1.addColorStop(5 / 6, "indigo"), n$1.addColorStop(1, "violet"), t$2.fillStyle = n$1, t$2.fillRect(0, 0, e$2.width, e$2.height);
553
+ const o$1 = "Random Text WMwmil10Oo";
554
+ t$2.font = "23.123px Arial", t$2.fillStyle = "black", t$2.fillText(o$1, -5, 15), t$2.fillStyle = "rgba(0, 0, 255, 0.5)", t$2.fillText(o$1, -3.3, 17.7), t$2.beginPath(), t$2.moveTo(0, 0), t$2.lineTo(2 * e$2.width / 7, e$2.height), t$2.strokeStyle = "white", t$2.lineWidth = 2, t$2.stroke();
555
+ return t$2.getImageData(0, 0, e$2.width, e$2.height);
556
+ }())).filter(((e$2) => null !== e$2));
557
+ 0 !== t$1.length ? e$1({ commonPixelsHash: h(l(t$1, p, 20).data.toString()).toString() }) : e$1(null);
558
+ }));
559
+ },
560
+ fonts: async function(e$1) {
561
+ return new Promise(((e$2) => {
562
+ try {
563
+ g((async ({ iframe: t$1 }) => {
564
+ const n$1 = t$1.createElement("canvas").getContext("2d");
565
+ if (!n$1) return void e$2(null);
566
+ const o$1 = y.map(((e$3) => S(n$1, e$3)));
567
+ let r$1 = {};
568
+ v.forEach(((e$3) => {
569
+ const t$2 = S(n$1, e$3);
570
+ o$1.includes(t$2) || (r$1[e$3] = t$2);
571
+ })), e$2(r$1);
572
+ }));
573
+ } catch (t$1) {
574
+ e$2(null);
575
+ }
576
+ }));
577
+ },
578
+ hardware: function() {
579
+ return new Promise(((e$1, t$1) => {
580
+ const n$1 = void 0 !== navigator.deviceMemory ? navigator.deviceMemory : 0, o$1 = window.performance && window.performance.memory ? window.performance.memory : 0;
581
+ e$1({
582
+ videocard: b(),
583
+ architecture: E(),
584
+ deviceMemory: n$1.toString() || "undefined",
585
+ jsHeapSizeLimit: o$1.jsHeapSizeLimit || 0
586
+ });
587
+ }));
588
+ },
589
+ locales: function() {
590
+ return new Promise(((e$1) => {
591
+ e$1({
592
+ languages: navigator.language,
593
+ timezone: Intl.DateTimeFormat().resolvedOptions().timeZone
594
+ });
595
+ }));
596
+ },
597
+ math: function() {
598
+ return new Promise(((e$1) => {
599
+ e$1({
600
+ acos: Math.acos(.5),
601
+ asin: M(Math.asin, -1, 1, 97),
602
+ cos: M(Math.cos, 0, Math.PI, 97),
603
+ largeCos: Math.cos(0x56bc75e2d63100000),
604
+ largeSin: Math.sin(0x56bc75e2d63100000),
605
+ largeTan: Math.tan(0x56bc75e2d63100000),
606
+ sin: M(Math.sin, -Math.PI, Math.PI, 97),
607
+ tan: M(Math.tan, 0, 2 * Math.PI, 97)
608
+ });
609
+ }));
610
+ },
611
+ permissions: async function(e$1) {
612
+ const t$1 = (null == e$1 ? void 0 : e$1.permissions_to_check) || A;
613
+ return P(await Promise.all(Array.from({ length: 3 }, (() => async function(e$2) {
614
+ const t$2 = {};
615
+ for (const n$1 of e$2) try {
616
+ t$2[n$1] = (await navigator.permissions.query({ name: n$1 })).state.toString();
617
+ } catch (e$3) {}
618
+ return t$2;
619
+ }(t$1)))), t$1);
620
+ },
621
+ plugins: async function() {
622
+ const e$1 = [];
623
+ if (navigator.plugins) for (let t$1 = 0; t$1 < navigator.plugins.length; t$1++) {
624
+ const n$1 = navigator.plugins[t$1];
625
+ e$1.push([
626
+ n$1.name,
627
+ n$1.filename,
628
+ n$1.description
629
+ ].join("|"));
630
+ }
631
+ return new Promise(((t$1) => {
632
+ t$1({ plugins: e$1 });
633
+ }));
634
+ },
635
+ screen: function() {
636
+ return new Promise(((e$1) => {
637
+ if ("undefined" == typeof matchMedia || "undefined" == typeof screen) return void e$1(null);
638
+ const t$1 = {
639
+ is_touchscreen: navigator.maxTouchPoints > 0,
640
+ maxTouchPoints: navigator.maxTouchPoints,
641
+ colorDepth: screen.colorDepth,
642
+ mediaMatches: _()
643
+ };
644
+ C() && navigator.maxTouchPoints > 0 && (t$1.resolution = function() {
645
+ const e$2 = window.screen.width, t$2 = window.screen.height;
646
+ return `${Math.max(e$2, t$2).toString()}x${Math.min(e$2, t$2).toString()}`;
647
+ }()), e$1(t$1);
648
+ }));
649
+ },
650
+ system: function() {
651
+ return new Promise(((e$1) => {
652
+ const t$1 = x();
653
+ e$1({
654
+ platform: window.navigator.platform,
655
+ productSub: navigator.productSub,
656
+ product: navigator.product,
657
+ useragent: navigator.userAgent,
658
+ hardwareConcurrency: navigator.hardwareConcurrency,
659
+ browser: {
660
+ name: t$1.name,
661
+ version: t$1.version
662
+ },
663
+ mobile: C(),
664
+ applePayVersion: I(),
665
+ cookieEnabled: window.navigator.cookieEnabled
666
+ });
667
+ }));
668
+ },
669
+ webgl: async function() {
670
+ "undefined" != typeof document && (R = document.createElement("canvas"), R.width = 200, R.height = 100, k = R.getContext("webgl"));
671
+ try {
672
+ if (!k) throw new Error("WebGL not supported");
673
+ return { commonPixelsHash: h(l(Array.from({ length: T }, (() => function() {
674
+ try {
675
+ if (!k) throw new Error("WebGL not supported");
676
+ const e$1 = "\n attribute vec2 position;\n void main() {\n gl_Position = vec4(position, 0.0, 1.0);\n }\n ", t$1 = "\n precision mediump float;\n void main() {\n gl_FragColor = vec4(0.812, 0.195, 0.553, 0.921); // Set line color\n }\n ", n$1 = k.createShader(k.VERTEX_SHADER), o$1 = k.createShader(k.FRAGMENT_SHADER);
677
+ if (!n$1 || !o$1) throw new Error("Failed to create shaders");
678
+ if (k.shaderSource(n$1, e$1), k.shaderSource(o$1, t$1), k.compileShader(n$1), !k.getShaderParameter(n$1, k.COMPILE_STATUS)) throw new Error("Vertex shader compilation failed: " + k.getShaderInfoLog(n$1));
679
+ if (k.compileShader(o$1), !k.getShaderParameter(o$1, k.COMPILE_STATUS)) throw new Error("Fragment shader compilation failed: " + k.getShaderInfoLog(o$1));
680
+ const r$1 = k.createProgram();
681
+ if (!r$1) throw new Error("Failed to create shader program");
682
+ if (k.attachShader(r$1, n$1), k.attachShader(r$1, o$1), k.linkProgram(r$1), !k.getProgramParameter(r$1, k.LINK_STATUS)) throw new Error("Shader program linking failed: " + k.getProgramInfoLog(r$1));
683
+ k.useProgram(r$1);
684
+ const i = 137, a$1 = new Float32Array(4 * i), s$1 = 2 * Math.PI / i;
685
+ for (let e$2 = 0; e$2 < i; e$2++) {
686
+ const t$2 = e$2 * s$1;
687
+ a$1[4 * e$2] = 0, a$1[4 * e$2 + 1] = 0, a$1[4 * e$2 + 2] = Math.cos(t$2) * (R.width / 2), a$1[4 * e$2 + 3] = Math.sin(t$2) * (R.height / 2);
688
+ }
689
+ const c$1 = k.createBuffer();
690
+ k.bindBuffer(k.ARRAY_BUFFER, c$1), k.bufferData(k.ARRAY_BUFFER, a$1, k.STATIC_DRAW);
691
+ const l$1 = k.getAttribLocation(r$1, "position");
692
+ k.enableVertexAttribArray(l$1), k.vertexAttribPointer(l$1, 2, k.FLOAT, !1, 0, 0), k.viewport(0, 0, R.width, R.height), k.clearColor(0, 0, 0, 1), k.clear(k.COLOR_BUFFER_BIT), k.drawArrays(k.LINES, 0, 2 * i);
693
+ const u$1 = new Uint8ClampedArray(R.width * R.height * 4);
694
+ k.readPixels(0, 0, R.width, R.height, k.RGBA, k.UNSIGNED_BYTE, u$1);
695
+ return new ImageData(u$1, R.width, R.height);
696
+ } catch (e$1) {
697
+ return new ImageData(1, 1);
698
+ } finally {
699
+ k && (k.bindBuffer(k.ARRAY_BUFFER, null), k.useProgram(null), k.viewport(0, 0, k.drawingBufferWidth, k.drawingBufferHeight), k.clearColor(0, 0, 0, 0));
700
+ }
701
+ }())), R.width, R.height).data.toString()).toString() };
702
+ } catch (e$1) {
703
+ return { webgl: "unsupported" };
704
+ }
705
+ }
706
+ }, F = {
707
+ webrtc: async function() {
708
+ return new Promise(((e$1) => {
709
+ try {
710
+ const t$1 = window.RTCPeerConnection || window.webkitRTCPeerConnection || window.mozRTCPeerConnection;
711
+ if (!t$1) return void e$1({
712
+ supported: !1,
713
+ error: "WebRTC not supported"
714
+ });
715
+ const n$1 = new t$1({
716
+ iceCandidatePoolSize: 1,
717
+ iceServers: []
718
+ });
719
+ n$1.createDataChannel("");
720
+ (async () => {
721
+ try {
722
+ const o$1 = await n$1.createOffer({
723
+ offerToReceiveAudio: !0,
724
+ offerToReceiveVideo: !0
725
+ });
726
+ await n$1.setLocalDescription(o$1);
727
+ const r$1 = o$1.sdp || "", i = [...new Set((r$1.match(/extmap:\d+ [^\n\r]+/g) || []).map(((e$2) => e$2.replace(/extmap:\d+ /, ""))))].sort(), a$1 = (e$2) => {
728
+ const t$2 = r$1.match(/* @__PURE__ */ new RegExp(`m=${e$2} [^\\s]+ [^\\s]+ ([^\\n\\r]+)`));
729
+ return t$2 ? t$2[1].split(" ") : [];
730
+ }, s$1 = (e$2, t$2) => t$2.map(((t$3) => {
731
+ const n$2 = new RegExp(`(rtpmap|fmtp|rtcp-fb):${t$3} (.+)`, "g"), o$2 = [...r$1.matchAll(n$2)];
732
+ if (!o$2.length) return null;
733
+ const i$1 = {};
734
+ return o$2.forEach(((t$4) => {
735
+ const [n$3, o$3, r$2] = t$4, a$2 = r$2.split("/");
736
+ "rtpmap" === o$3 ? (i$1.mimeType = `${e$2}/${a$2[0]}`, i$1.clockRate = +a$2[1], "audio" === e$2 && (i$1.channels = +a$2[2] || 1)) : "rtcp-fb" === o$3 ? (i$1.feedbackSupport = i$1.feedbackSupport || [], i$1.feedbackSupport.push(r$2)) : "fmtp" === o$3 && (i$1.sdpFmtpLine = r$2);
737
+ })), i$1;
738
+ })).filter(Boolean), c$1 = s$1("audio", a$1("audio")), l$1 = s$1("video", a$1("video")), u$1 = {
739
+ audio: {
740
+ count: c$1.length,
741
+ hash: h(O(c$1))
742
+ },
743
+ video: {
744
+ count: l$1.length,
745
+ hash: h(O(l$1))
746
+ },
747
+ extensionsHash: h(O(i))
748
+ }, d$1 = await new Promise(((e$2) => {
749
+ const t$2 = setTimeout((() => {
750
+ n$1.removeEventListener("icecandidate", o$2), n$1.close(), e$2({
751
+ supported: !0,
752
+ ...u$1,
753
+ timeout: !0
754
+ });
755
+ }), 3e3), o$2 = (r$2) => {
756
+ const i$1 = r$2.candidate;
757
+ i$1 && i$1.candidate && (clearTimeout(t$2), n$1.removeEventListener("icecandidate", o$2), n$1.close(), e$2({
758
+ supported: !0,
759
+ ...u$1,
760
+ candidateType: i$1.type || ""
761
+ }));
762
+ };
763
+ n$1.addEventListener("icecandidate", o$2);
764
+ }));
765
+ e$1({
766
+ details: d$1,
767
+ hash: h(O(d$1))
768
+ });
769
+ } catch (t$2) {
770
+ n$1.close(), e$1({
771
+ supported: !0,
772
+ error: `WebRTC offer failed: ${t$2.message}`
773
+ });
774
+ }
775
+ })();
776
+ } catch (t$1) {
777
+ e$1({
778
+ supported: !1,
779
+ error: `WebRTC error: ${t$1.message}`
780
+ });
781
+ }
782
+ }));
783
+ },
784
+ mathml: async function() {
785
+ return new Promise(((e$1) => {
786
+ try {
787
+ g((async ({ iframe: t$1 }) => {
788
+ try {
789
+ if (!function(e$2) {
790
+ try {
791
+ const t$2 = e$2.createElement("math");
792
+ t$2.innerHTML = "<mrow><mi>x</mi></mrow>", t$2.style.position = "absolute", t$2.style.visibility = "hidden", e$2.body.appendChild(t$2);
793
+ const n$2 = t$2.getBoundingClientRect();
794
+ return e$2.body.removeChild(t$2), n$2.width > 0 && n$2.height > 0;
795
+ } catch (e$3) {
796
+ return !1;
797
+ }
798
+ }(t$1)) return void e$1({
799
+ supported: !1,
800
+ error: "MathML not supported"
801
+ });
802
+ const n$1 = [
803
+ D("integral", "<msubsup><mo>∫</mo><mi>a</mi><mi>b</mi></msubsup><mfrac><mrow><mi>f</mi><mo>(</mo><mi>x</mi><mo>)</mo></mrow><mrow><mi>g</mi><mo>(</mo><mi>x</mi><mo>)</mo></mrow></mfrac><mi>dx</mi>"),
804
+ D("fraction", "<mfrac><mrow><mi>π</mi><mo>×</mo><msup><mi>r</mi><mn>2</mn></msup></mrow><mrow><mn>2</mn><mi>σ</mi></mrow></mfrac>"),
805
+ D("matrix", "<mo>[</mo><mtable><mtr><mtd><mi>α</mi></mtd><mtd><mi>β</mi></mtd></mtr><mtr><mtd><mi>γ</mi></mtd><mtd><mi>δ</mi></mtd></mtr></mtable><mo>]</mo>"),
806
+ N(),
807
+ ...$()
808
+ ], o$1 = [];
809
+ let r$1 = "";
810
+ n$1.forEach(((e$2, n$2) => {
811
+ const i$1 = function(e$3, t$2) {
812
+ try {
813
+ const n$3 = t$2.createElement("math");
814
+ n$3.innerHTML = e$3.replace(/<\/?math>/g, ""), n$3.style.whiteSpace = "nowrap", n$3.style.position = "absolute", n$3.style.visibility = "hidden", n$3.style.top = "-9999px", t$2.body.appendChild(n$3);
815
+ const o$2 = n$3.getBoundingClientRect(), r$2 = (t$2.defaultView || window).getComputedStyle(n$3), i$2 = {
816
+ dimensions: {
817
+ width: o$2.width,
818
+ height: o$2.height
819
+ },
820
+ fontInfo: {
821
+ fontFamily: r$2.fontFamily,
822
+ fontSize: r$2.fontSize,
823
+ fontWeight: r$2.fontWeight,
824
+ fontStyle: r$2.fontStyle,
825
+ lineHeight: r$2.lineHeight,
826
+ fontVariant: r$2.fontVariant || "normal",
827
+ fontStretch: r$2.fontStretch || "normal",
828
+ fontSizeAdjust: r$2.fontSizeAdjust || "none",
829
+ textRendering: r$2.textRendering || "auto",
830
+ fontFeatureSettings: r$2.fontFeatureSettings || "normal",
831
+ fontVariantNumeric: r$2.fontVariantNumeric || "normal",
832
+ fontKerning: r$2.fontKerning || "auto"
833
+ }
834
+ };
835
+ return t$2.body.removeChild(n$3), i$2;
836
+ } catch (e$4) {
837
+ return { error: e$4.message };
838
+ }
839
+ }(e$2, t$1);
840
+ o$1.push({
841
+ width: i$1.dimensions.width,
842
+ height: i$1.dimensions.height
843
+ }), 0 === n$2 && i$1.fontInfo && (r$1 = h(O(i$1.fontInfo)));
844
+ }));
845
+ const i = {
846
+ fontStyleHash: r$1,
847
+ dimensions: o$1
848
+ };
849
+ e$1({
850
+ details: i,
851
+ hash: h(O(i))
852
+ });
853
+ } catch (t$2) {
854
+ e$1({
855
+ supported: !1,
856
+ error: `MathML error: ${t$2.message}`
857
+ });
858
+ }
859
+ }));
860
+ } catch (t$1) {
861
+ e$1({
862
+ supported: !1,
863
+ error: `MathML error: ${t$1.message}`
864
+ });
865
+ }
866
+ }));
867
+ },
868
+ speech: async function() {
869
+ return new Promise(((e$1) => {
870
+ try {
871
+ if ("undefined" == typeof window || !window.speechSynthesis || "function" != typeof window.speechSynthesis.getVoices) return void e$1({
872
+ supported: !1,
873
+ error: "Speech Synthesis API not supported"
874
+ });
875
+ let t$1 = !1, n$1 = null;
876
+ const o$1 = (o$2) => {
877
+ if (!t$1) {
878
+ t$1 = !0, n$1 && clearTimeout(n$1);
879
+ try {
880
+ const t$2 = o$2.map(((e$2) => {
881
+ const t$3 = (e$3) => e$3.replace(/\\/g, "\\\\").replace(/,/g, "\\,");
882
+ return [
883
+ t$3(e$2.voiceURI || ""),
884
+ t$3(e$2.name || ""),
885
+ t$3(e$2.lang || ""),
886
+ e$2.localService ? "1" : "0",
887
+ e$2.default ? "1" : "0"
888
+ ].join(",");
889
+ }));
890
+ t$2.sort();
891
+ const n$2 = {
892
+ voiceCount: o$2.length,
893
+ voicesHash: h(O(t$2))
894
+ };
895
+ e$1({
896
+ details: n$2,
897
+ hash: h(O(n$2))
898
+ });
899
+ } catch (t$2) {
900
+ e$1({
901
+ supported: !0,
902
+ error: `Voice processing failed: ${t$2.message}`
903
+ });
904
+ }
905
+ }
906
+ }, r$1 = window.speechSynthesis.getVoices();
907
+ if (r$1.length > 0) return void o$1(r$1);
908
+ n$1 = setTimeout((() => {
909
+ o$1(window.speechSynthesis.getVoices());
910
+ }), 800);
911
+ const i = () => {
912
+ window.speechSynthesis.removeEventListener("voiceschanged", i);
913
+ o$1(window.speechSynthesis.getVoices());
914
+ };
915
+ window.speechSynthesis.addEventListener("voiceschanged", i);
916
+ } catch (t$1) {
917
+ e$1({
918
+ supported: !1,
919
+ error: `Speech Synthesis error: ${t$1.message}`
920
+ });
921
+ }
922
+ }));
923
+ }
924
+ }, U = {}, j = { timeout: "true" }, W = (e$1, t$1, n$1) => {
925
+ U[e$1] = t$1;
926
+ };
927
+ function G(e$1, t$1) {
928
+ var n$1;
929
+ let o$1 = x();
930
+ if ("unknown" === o$1.name && e$1.system && "object" == typeof e$1.system && !Array.isArray(e$1.system)) {
931
+ const t$2 = e$1.system.browser;
932
+ if (t$2 && "object" == typeof t$2 && !Array.isArray(t$2)) {
933
+ const e$2 = t$2;
934
+ o$1 = {
935
+ name: e$2.name || "unknown",
936
+ version: e$2.version || "unknown"
937
+ };
938
+ }
939
+ }
940
+ const r$1 = o$1.name.toLowerCase(), i = o$1.version.split(".")[0] || "0", s$1 = parseInt(i, 10), c$1 = [...(null == t$1 ? void 0 : t$1.exclude) || []], l$1 = (null == t$1 ? void 0 : t$1.stabilize) || [], u$1 = (null == t$1 ? void 0 : t$1.include) || [];
941
+ for (const e$2 of l$1) {
942
+ const t$2 = a[e$2];
943
+ if (t$2) for (const e$3 of t$2) {
944
+ const t$3 = !("browsers" in e$3), o$2 = !t$3 && (null === (n$1 = e$3.browsers) || void 0 === n$1 ? void 0 : n$1.some(((e$4) => {
945
+ const t$4 = e$4.match(/(.+?)(>=)(\d+)/);
946
+ if (t$4) {
947
+ const [, e$5, , n$2] = t$4;
948
+ return r$1 === e$5 && s$1 >= parseInt(n$2, 10);
949
+ }
950
+ return r$1 === e$4;
951
+ })));
952
+ (t$3 || o$2) && c$1.push(...e$3.exclude);
953
+ }
954
+ }
955
+ return function e$2(t$2, n$2 = "") {
956
+ const o$2 = {};
957
+ for (const [r$2, i$1] of Object.entries(t$2)) {
958
+ const t$3 = n$2 ? `${n$2}.${r$2}` : r$2;
959
+ if ("object" != typeof i$1 || Array.isArray(i$1) || null === i$1) {
960
+ const e$3 = c$1.some(((e$4) => t$3.startsWith(e$4))), n$3 = u$1.some(((e$4) => t$3.startsWith(e$4)));
961
+ e$3 && !n$3 || (o$2[r$2] = i$1);
962
+ } else {
963
+ const n$3 = e$2(i$1, t$3);
964
+ Object.keys(n$3).length > 0 && (o$2[r$2] = n$3);
965
+ }
966
+ }
967
+ return o$2;
968
+ }(e$1);
969
+ }
970
+ const z = "visitor_id";
971
+ function J(e$1) {
972
+ return e$1.storage_property_name ? e$1.storage_property_name : e$1.property_name_factory(z);
973
+ }
974
+ const q = `${t}_${z}`;
975
+ function K(e$1, t$1) {
976
+ try {
977
+ localStorage.setItem(J(t$1), e$1);
978
+ } catch (e$2) {}
979
+ }
980
+ const Y = "cache";
981
+ function X(e$1) {
982
+ try {
983
+ const t$1 = localStorage.getItem(e$1.property_name_factory(Y));
984
+ return JSON.parse(t$1) || {};
985
+ } catch (e$2) {}
986
+ return {};
987
+ }
988
+ function Z(t$1) {
989
+ return t$1.cache_lifetime_in_ms > e ? Date.now() + e : Date.now() + t$1.cache_lifetime_in_ms;
990
+ }
991
+ let Q = null, ee = null;
992
+ const te = (e$1, t$1) => {
993
+ if (e$1.cache_api_call) {
994
+ if (ee) return Promise.resolve(ee);
995
+ const t$2 = function(e$2) {
996
+ const t$3 = X(e$2);
997
+ if (t$3 && t$3.apiResponse && t$3.apiResponseExpiry && Date.now() <= t$3.apiResponseExpiry) return t$3.apiResponse;
998
+ }(e$1);
999
+ if (t$2) return Promise.resolve(t$2);
1000
+ if (Q) return Q;
1001
+ }
1002
+ const o$1 = `${e$1.api_endpoint || n}/thumbmark`, r$1 = function(e$2) {
1003
+ try {
1004
+ const t$2 = J(e$2);
1005
+ let n$1 = localStorage.getItem(t$2);
1006
+ return n$1 || t$2 === q || (n$1 = localStorage.getItem(q), n$1 && K(n$1, e$2)), n$1;
1007
+ } catch (e$3) {
1008
+ return null;
1009
+ }
1010
+ }(e$1), i = {
1011
+ components: t$1,
1012
+ options: e$1,
1013
+ clientHash: h(O(t$1)),
1014
+ version: "1.6.3"
1015
+ };
1016
+ r$1 && (i.visitorId = r$1);
1017
+ const a$1 = fetch(o$1, {
1018
+ method: "POST",
1019
+ headers: {
1020
+ "x-api-key": e$1.api_key,
1021
+ Authorization: "custom-authorized",
1022
+ "Content-Type": "application/json"
1023
+ },
1024
+ body: JSON.stringify(i)
1025
+ }).then(((e$2) => {
1026
+ if (!e$2.ok) {
1027
+ if (403 === e$2.status) throw new Error("INVALID_API_KEY");
1028
+ throw new Error(`HTTP error! status: ${e$2.status}`);
1029
+ }
1030
+ return e$2.json();
1031
+ })).then(((t$2) => (t$2.visitorId && t$2.visitorId !== r$1 && K(t$2.visitorId, e$1), ee = t$2, function(e$2, t$3) {
1032
+ if (!e$2.cache_api_call || !e$2.cache_lifetime_in_ms) return;
1033
+ (function(e$3, t$4) {
1034
+ const n$1 = {
1035
+ ...X(e$3),
1036
+ ...t$4
1037
+ };
1038
+ try {
1039
+ localStorage.setItem(e$3.property_name_factory(Y), JSON.stringify(n$1));
1040
+ } catch (e$4) {}
1041
+ })(e$2, {
1042
+ apiResponseExpiry: Z(e$2),
1043
+ apiResponse: t$3
1044
+ });
1045
+ }(e$1, t$2), Q = null, t$2))).catch(((e$2) => {
1046
+ if (console.error("Error fetching pro data", e$2), Q = null, "INVALID_API_KEY" === e$2.message) throw e$2;
1047
+ return null;
1048
+ })), s$1 = e$1.timeout || 5e3, c$1 = new Promise(((t$2) => {
1049
+ setTimeout((() => {
1050
+ const n$1 = X(e$1);
1051
+ n$1 && n$1.apiResponse ? t$2(n$1.apiResponse) : t$2({
1052
+ info: { timed_out: !0 },
1053
+ ...r$1 && { visitorId: r$1 }
1054
+ });
1055
+ }), s$1);
1056
+ }));
1057
+ return Q = Promise.race([a$1, c$1]), Q;
1058
+ };
1059
+ async function ne(e$1) {
1060
+ var t$1;
1061
+ if ("undefined" == typeof document || "undefined" == typeof window) return {
1062
+ thumbmark: "",
1063
+ components: {},
1064
+ info: {},
1065
+ version: "1.6.3",
1066
+ error: "Browser environment required"
1067
+ };
1068
+ const r$1 = {
1069
+ ...o,
1070
+ ...e$1
1071
+ }, i = r$1.logging && !sessionStorage.getItem("_tmjs_l") && Math.random() < 1e-4, { elapsed: s$1, resolvedComponents: c$1 } = await oe({
1072
+ ...V,
1073
+ ...U
1074
+ }, r$1);
1075
+ let l$1 = {}, u$1 = {};
1076
+ if (i || r$1.experimental) {
1077
+ const { elapsed: e$2, resolvedComponents: t$2 } = await oe(F, r$1);
1078
+ l$1 = t$2, u$1 = e$2;
1079
+ }
1080
+ const d$1 = r$1.api_key ? te(r$1, c$1) : null;
1081
+ let m$1 = null;
1082
+ if (d$1) try {
1083
+ m$1 = await d$1;
1084
+ } catch (e$2) {
1085
+ if (e$2 instanceof Error && "INVALID_API_KEY" === e$2.message) return {
1086
+ error: "Invalid API key or quota exceeded",
1087
+ components: {},
1088
+ info: {},
1089
+ version: "1.6.3",
1090
+ thumbmark: ""
1091
+ };
1092
+ throw e$2;
1093
+ }
1094
+ const f$1 = {
1095
+ ...s$1,
1096
+ ...u$1
1097
+ }, p$1 = r$1.performance ? { elapsed: f$1 } : {}, g$1 = G((null == m$1 ? void 0 : m$1.components) || {}, r$1), w$1 = {
1098
+ ...c$1,
1099
+ ...g$1
1100
+ }, v$1 = (null == m$1 ? void 0 : m$1.info) || { uniqueness: { score: "api only" } }, y$1 = null !== (t$1 = null == m$1 ? void 0 : m$1.thumbmark) && void 0 !== t$1 ? t$1 : h(O(w$1));
1101
+ i && async function(e$2, t$2, o$1, r$2 = {}) {
1102
+ var i$1;
1103
+ const a$1 = `${n}/log`, s$2 = {
1104
+ thumbmark: e$2,
1105
+ components: t$2,
1106
+ experimental: r$2,
1107
+ version: "1.6.3",
1108
+ options: o$1,
1109
+ path: null === (i$1 = null === window || void 0 === window ? void 0 : window.location) || void 0 === i$1 ? void 0 : i$1.pathname
1110
+ };
1111
+ sessionStorage.setItem("_tmjs_l", "1");
1112
+ try {
1113
+ await fetch(a$1, {
1114
+ method: "POST",
1115
+ headers: { "Content-Type": "application/json" },
1116
+ body: JSON.stringify(s$2)
1117
+ });
1118
+ } catch (e$3) {}
1119
+ }(y$1, w$1, r$1, l$1).catch((() => {}));
1120
+ return {
1121
+ ...(null == m$1 ? void 0 : m$1.visitorId) && { visitorId: m$1.visitorId },
1122
+ thumbmark: y$1,
1123
+ components: w$1,
1124
+ info: v$1,
1125
+ version: "1.6.3",
1126
+ ...p$1,
1127
+ ...Object.keys(l$1).length > 0 && r$1.experimental && { experimental: l$1 },
1128
+ ...(null == m$1 ? void 0 : m$1.requestId) && { requestId: m$1.requestId }
1129
+ };
1130
+ }
1131
+ async function oe(e$1, t$1) {
1132
+ const n$1 = {
1133
+ ...o,
1134
+ ...t$1
1135
+ }, r$1 = Object.entries(e$1).filter((([e$2]) => {
1136
+ var t$2;
1137
+ return !(null === (t$2 = null == n$1 ? void 0 : n$1.exclude) || void 0 === t$2 ? void 0 : t$2.includes(e$2));
1138
+ })).filter((([e$2]) => {
1139
+ var t$2, o$1, r$2, i$1;
1140
+ return (null === (t$2 = null == n$1 ? void 0 : n$1.include) || void 0 === t$2 ? void 0 : t$2.some(((e$3) => e$3.includes(".")))) ? null === (o$1 = null == n$1 ? void 0 : n$1.include) || void 0 === o$1 ? void 0 : o$1.some(((t$3) => t$3.startsWith(e$2))) : 0 === (null === (r$2 = null == n$1 ? void 0 : n$1.include) || void 0 === r$2 ? void 0 : r$2.length) || (null === (i$1 = null == n$1 ? void 0 : n$1.include) || void 0 === i$1 ? void 0 : i$1.includes(e$2));
1141
+ })), i = r$1.map((([e$2]) => e$2)), s$1 = await function(e$2, t$2, n$2) {
1142
+ return Promise.all(e$2.map(((e$3) => {
1143
+ const o$1 = performance.now();
1144
+ return Promise.race([e$3.then(((e$4) => ({
1145
+ value: e$4,
1146
+ elapsed: performance.now() - o$1
1147
+ }))), (r$2 = t$2, i$1 = n$2, new Promise(((e$4) => {
1148
+ setTimeout((() => e$4(i$1)), r$2);
1149
+ }))).then(((e$4) => ({
1150
+ value: e$4,
1151
+ elapsed: performance.now() - o$1
1152
+ })))]);
1153
+ var r$2, i$1;
1154
+ })));
1155
+ }(r$1.map((([e$2, n$2]) => n$2(t$1))), (null == n$1 ? void 0 : n$1.timeout) || 5e3, j), c$1 = {}, l$1 = {};
1156
+ s$1.forEach(((e$2, t$2) => {
1157
+ var n$2;
1158
+ null != e$2.value && (l$1[i[t$2]] = e$2.value, c$1[i[t$2]] = null !== (n$2 = e$2.elapsed) && void 0 !== n$2 ? n$2 : 0);
1159
+ }));
1160
+ return {
1161
+ elapsed: c$1,
1162
+ resolvedComponents: G(l$1, n$1)
1163
+ };
1164
+ }
1165
+ var se = class {
1166
+ constructor(e$1) {
1167
+ this.options = {
1168
+ ...o,
1169
+ ...e$1
1170
+ };
1171
+ }
1172
+ async get(e$1) {
1173
+ return ne({
1174
+ ...this.options,
1175
+ ...e$1
1176
+ });
1177
+ }
1178
+ getVersion() {
1179
+ return "1.6.3";
1180
+ }
1181
+ includeComponent(e$1, t$1) {
1182
+ W(e$1, t$1);
1183
+ }
1184
+ };
1185
+
1186
+ //#endregion
1187
+ //#region ../infra/src/providers/browser/thumbmarkAdapter.ts
1188
+ /**
1189
+ * Adapter for @thumbmarkjs/thumbmarkjs. Single point of dependency so bundlers
1190
+ * resolve it from infra's node_modules when building apps that depend on core → infra.
1191
+ */
1192
+ async function getThumbmarkId() {
1193
+ return (await new se().get()).thumbmark;
1194
+ }
1195
+
1196
+ //#endregion
1197
+ //#region src/internal/device/hasLiedBrowser.ts
1198
+ function detectBrowserFromUserAgent(userAgent) {
1199
+ if (userAgent.indexOf("edge/") >= 0 || userAgent.indexOf("iemobile/") >= 0) return "Other";
1200
+ if (userAgent.indexOf("opera mini") >= 0) return "Other";
1201
+ if (userAgent.indexOf("firefox/") >= 0) return "Firefox";
1202
+ if (userAgent.indexOf("opera/") >= 0 || userAgent.indexOf(" opr/") >= 0) return "Opera";
1203
+ if (userAgent.indexOf("chrome/") >= 0) return "Chrome";
1204
+ if (userAgent.indexOf("safari/") >= 0) {
1205
+ if (userAgent.indexOf("android 1.") >= 0 || userAgent.indexOf("android 2.") >= 0 || userAgent.indexOf("android 3.") >= 0 || userAgent.indexOf("android 4.") >= 0) return "AOSP";
1206
+ return "Safari";
1207
+ }
1208
+ if (userAgent.indexOf("trident/") >= 0) return "Internet Explorer";
1209
+ return "Other";
1210
+ }
1211
+ function hasLiedBrowser(browserEnv) {
1212
+ const userAgent = getUserAgent().toLowerCase();
1213
+ if (userAgent.indexOf("edge/") >= 0 || userAgent.indexOf("iemobile/") >= 0) return false;
1214
+ if (userAgent.indexOf("opera mini") >= 0) return false;
1215
+ const browser = detectBrowserFromUserAgent(userAgent);
1216
+ const productSub = browserEnv.getNavigatorProductSub();
1217
+ if ((browser === "Chrome" || browser === "Safari" || browser === "Opera") && productSub !== "20030107") return true;
1218
+ const evalLength = browserEnv.getEvalToStringLength();
1219
+ if (evalLength === 37 && browser !== "Safari" && browser !== "Firefox" && browser !== "Other") return true;
1220
+ if (evalLength === 39 && browser !== "Internet Explorer" && browser !== "Other") return true;
1221
+ if (evalLength === 33 && browser !== "Chrome" && browser !== "AOSP" && browser !== "Opera" && browser !== "Other") return true;
1222
+ return browserEnv.tryFirefoxToSource() && browser !== "Firefox" && browser !== "Other";
1223
+ }
1224
+
1225
+ //#endregion
1226
+ //#region src/internal/device/browserSimulation.ts
1227
+ const AUTOMATION_MARKERS = {
1228
+ window: [
1229
+ "callPhantom",
1230
+ "_phantom",
1231
+ "phantom",
1232
+ "__nightmare",
1233
+ "domAutomation",
1234
+ "domAutomationController"
1235
+ ],
1236
+ navigator: ["webdriver"]
1237
+ };
1238
+ function hasAutomationMarker(browserEnv) {
1239
+ for (const prop of AUTOMATION_MARKERS.window) if (browserEnv.getWindowProperty(prop)) return true;
1240
+ for (const prop of AUTOMATION_MARKERS.navigator) if (browserEnv.getNavigatorProperty(prop)) return true;
1241
+ return false;
1242
+ }
1243
+ function isBrowserSimulation(browserEnv) {
1244
+ if (hasAutomationMarker(browserEnv)) return true;
1245
+ if (!getParsedUserAgent().browser.name) return true;
1246
+ const touchPoints = browserEnv.getMaxTouchPoints();
1247
+ const isTouch = touchPoints > 0 || browserEnv.hasOnTouchStart();
1248
+ if (isTouch && touchPoints !== 1) return false;
1249
+ const ua = getUserAgent();
1250
+ if (isTouch && (hasLiedBrowser(browserEnv) || ua.includes("Mobile"))) return true;
1251
+ if (isIOS(ua) && !browserEnv.hasOnTouchStart()) return true;
1252
+ return false;
1253
+ }
1254
+
1255
+ //#endregion
1256
+ export { getThumbmarkId as n, isBrowserSimulation as t };