@dcl/blog-site 0.3.1-24473826569.commit-b003ca7 → 0.3.1-24533807769.commit-2e68981

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 (184) hide show
  1. package/assets/{QueryClientProvider-COL_hK7X.js → QueryClientProvider-Dv18L3Bf.js} +2 -2
  2. package/assets/SignInRedirect-CXE_9i3I.js +9 -0
  3. package/assets/WalletStateProvider-Bb79ArZ-.js +1 -0
  4. package/assets/Web3Inner-CgxSXeS_.js +1 -0
  5. package/assets/Web3SyncProvider-D6_GzSKM.js +2 -0
  6. package/assets/{X-le_324bT.js → X-Bfq5REIM.js} +1 -1
  7. package/assets/__federation_expose_App-c8Vsr-t8.js +1 -0
  8. package/assets/__federation_fn_import-BxyPyKYw.js +1 -0
  9. package/assets/__federation_shared_@dcl/core-web3/lazy-CB9aN5En.js +2 -0
  10. package/assets/__federation_shared_@dcl/core-web3-CKa_YLUg.js +2 -0
  11. package/assets/__federation_shared_@dcl/{hooks-BTGaRvFd.js → hooks-BUl9fwJ6.js} +3 -3
  12. package/assets/__federation_shared_@emotion/react-Dqhl2Mup.js +1 -0
  13. package/assets/__federation_shared_@emotion/{styled-DqVyGVak.js → styled-DWCD7TRI.js} +1 -1
  14. package/assets/__federation_shared_@reduxjs/toolkit-CwoXZkqO.js +1 -0
  15. package/assets/{__federation_shared_decentraland-ui2-D-eg6Y-Z.js → __federation_shared_decentraland-ui2-DhNprCzs.js} +4 -4
  16. package/assets/{__federation_shared_react-redux-DBpsOkjJ.js → __federation_shared_react-redux-BbbSoEti.js} +1 -1
  17. package/assets/__federation_shared_react-router-dom-CghPW3T5.js +49 -0
  18. package/assets/__federation_shared_viem-BSisS619.js +2 -0
  19. package/assets/__federation_shared_wagmi-BNNJMvLV.js +17 -0
  20. package/assets/{add-D1dmSQkT.js → add-CdrtIhqC.js} +1 -1
  21. package/assets/{all-wallets-D7ZW8z0W.js → all-wallets-Cmla8eMe.js} +1 -1
  22. package/assets/{app-store-DXUKFVFe.js → app-store-ma7uMa9T.js} +1 -1
  23. package/assets/{apple-DIq1NPD9.js → apple-bELCHYbt.js} +1 -1
  24. package/assets/{arrow-bottom-460TXeJf.js → arrow-bottom-DloKu1fV.js} +1 -1
  25. package/assets/{arrow-bottom-circle-CC70fB8z.js → arrow-bottom-circle-DzXI01oZ.js} +1 -1
  26. package/assets/{arrow-left-BQ0dsbdA.js → arrow-left-B55lkgKK.js} +1 -1
  27. package/assets/{arrow-right-8nY7uwA-.js → arrow-right-Bw7eQ4QH.js} +1 -1
  28. package/assets/{arrow-top-B9sp1rrY.js → arrow-top-Dn6leB_M.js} +1 -1
  29. package/assets/{auto-track-DkUeIWzK.js → auto-track-CkHj-ik-.js} +1 -1
  30. package/assets/{bank-DIeswBBe.js → bank-DH1VVekh.js} +1 -1
  31. package/assets/{basic-O_880rjt.js → basic-CpaLk7Rk.js} +1 -1
  32. package/assets/{biconomy-B6KCdEMG.js → biconomy-C-Aa3WOy.js} +1 -1
  33. package/assets/{browser-BLf4KEyW.js → browser-Cy2ntZlE.js} +1 -1
  34. package/assets/{card-D8EE5Jj-.js → card-DeDlu8qm.js} +1 -1
  35. package/assets/ccip-O3XMTSRc.js +1 -0
  36. package/assets/{checkmark-6GXbMfu0.js → checkmark-DNVFeB3s.js} +1 -1
  37. package/assets/{checkmark-bold-aY4y8YkK.js → checkmark-bold-DEcOisss.js} +1 -1
  38. package/assets/{chevron-bottom-CU2atHia.js → chevron-bottom-xDV_oQI6.js} +1 -1
  39. package/assets/{chevron-left-CMYKgteJ.js → chevron-left-BYtOhhqm.js} +1 -1
  40. package/assets/{chevron-right-DSqlSbLF.js → chevron-right-CfsnvkD5.js} +1 -1
  41. package/assets/{chevron-top--LC04sW-.js → chevron-top-CONIZzEr.js} +1 -1
  42. package/assets/{chrome-store-okUhgEDz.js → chrome-store-D9VGMy-w.js} +1 -1
  43. package/assets/{clock-DFiN_R95.js → clock-DRArrlZN.js} +1 -1
  44. package/assets/{close-I8fax_o0.js → close-BnL2HnLj.js} +1 -1
  45. package/assets/{coinPlaceholder-CkjlkAlk.js → coinPlaceholder-DspCsB1d.js} +1 -1
  46. package/assets/{compass-Cmm-IgwK.js → compass-CL9Ubv1C.js} +1 -1
  47. package/assets/{controller-C9vLFhgG.js → controller-BVrxdctz.js} +2 -2
  48. package/assets/{copy-CJx_8wmR.js → copy-DzcJW_6z.js} +1 -1
  49. package/assets/{core-BGnzhLwd.js → core-CNeX_97j.js} +3 -3
  50. package/assets/{createBundlerClient-CLw70W8T.js → createBundlerClient-BPAMiN0_.js} +4 -4
  51. package/assets/createClient-B3NJif4G.js +1 -0
  52. package/assets/{cursor-BLRNlN9P.js → cursor-VEXLPp4L.js} +1 -1
  53. package/assets/{cursor-transparent-sQ7KRm1T.js → cursor-transparent-eNYb23WQ.js} +1 -1
  54. package/assets/{decimals-ZXRJ3NZH.js → decimals-Bcje5XLK.js} +1 -1
  55. package/assets/{decimals-DSN2ezaI.js → decimals-QcoDvy79.js} +1 -1
  56. package/assets/{desktop-Cq9Q4PJu.js → desktop-B8dtxVkT.js} +1 -1
  57. package/assets/{detectExtension-DtOEyzLR.js → detectExtension-CCed483c.js} +1 -1
  58. package/assets/{disconnect-Q4CIgYaj.js → disconnect-5l_BrY-g.js} +1 -1
  59. package/assets/{discord-BFkGngrw.js → discord-vPm7sSnB.js} +1 -1
  60. package/assets/{emotion-react.browser.esm-CuRmxzDI.js → emotion-react.browser.esm-C-lDaXQ7.js} +1 -1
  61. package/assets/{emotion-use-insertion-effect-with-fallbacks.browser.esm-5PAiZm_X.js → emotion-use-insertion-effect-with-fallbacks.browser.esm-BLv21GTb.js} +1 -1
  62. package/assets/{encode-Bw3iNfCX.js → encode-D4fq-GtO.js} +2 -2
  63. package/assets/{engine-C9bXNE6k.js → engine-C-meN4xY.js} +1 -1
  64. package/assets/{estimate-gas-DKfjMwgj.js → estimate-gas-DFiVp-Bb.js} +3 -3
  65. package/assets/{estimate-l1-fee-C8GOcft6.js → estimate-l1-fee-lAfdaqWJ.js} +1 -1
  66. package/assets/{eth_getStorageAt-DLP3MFZC.js → eth_getStorageAt-DFwf_hwV.js} +1 -1
  67. package/assets/{etherscan-WGcUpO-N.js → etherscan-Ck2P6D17.js} +1 -1
  68. package/assets/{exclamation-triangle-B7j3vyUf.js → exclamation-triangle-DfbN77Lf.js} +1 -1
  69. package/assets/{extension-KO7c6KpI.js → extension-CtEMnFwe.js} +1 -1
  70. package/assets/{external-link-CY9fq540.js → external-link-B0IDyBri.js} +1 -1
  71. package/assets/{extractIPFS-CaNrw1G3.js → extractIPFS-DIosWHkP.js} +1 -1
  72. package/assets/{facebook-C4AmE2nx.js → facebook-C0UeZpYw.js} +1 -1
  73. package/assets/{farcaster-CQwGqHN5.js → farcaster-CYOZFCGP.js} +1 -1
  74. package/assets/{fee-data-hqf9C_Iq.js → fee-data-BpKOAsFJ.js} +1 -1
  75. package/assets/{fetchTokenMetadata-D6bwUi9C.js → fetchTokenMetadata-DqYbYFuX.js} +2 -2
  76. package/assets/{filters-DQUZT2YK.js → filters-NBQeHIU7.js} +1 -1
  77. package/assets/{get-ecosystem-wallet-info-CKFiqkc5.js → get-ecosystem-wallet-info-CDZa8BmK.js} +1 -1
  78. package/assets/{getBalance-DvZhqMEV.js → getBalance-Bw5byYn3.js} +1 -1
  79. package/assets/{getInstalledModules-CP7yfLcd.js → getInstalledModules-By8IApsm.js} +1 -1
  80. package/assets/{getNFT-DvCB6ap4.js → getNFT-DEyn-Dm_.js} +1 -1
  81. package/assets/{getNFT-DidYjmem.js → getNFT-YU4EH9Wq.js} +2 -2
  82. package/assets/{github-BIpJQrlC.js → github-C4rc0OEq.js} +1 -1
  83. package/assets/{google-un3Y6Ejx.js → google-kXTnc_BR.js} +1 -1
  84. package/assets/{help-circle-B-zpwtLD.js → help-circle-Bwzt3B2p.js} +1 -1
  85. package/assets/{id-B4_vIzsp.js → id-zOIHpH1K.js} +1 -1
  86. package/assets/{image-Czc86Anh.js → image-B1eT9feQ.js} +1 -1
  87. package/assets/{in-app-wallet-calls-D7-Z3B5h.js → in-app-wallet-calls-C61H1buU.js} +1 -1
  88. package/assets/{index-CcXGB7H0.js → index-AMqzEpe3.js} +1 -1
  89. package/assets/{index-DpyuVWzp.js → index-B5C7HYRN.js} +1 -1
  90. package/assets/index-BOPorWEt.js +2 -0
  91. package/assets/{index-BhvB7qtA.js → index-BjA_RJ3F.js} +2 -2
  92. package/assets/index-BjzJcZq6.js +1 -1
  93. package/assets/{index-D_Y0vnSs.js → index-BozJS3za.js} +1 -1
  94. package/assets/{index-vb2hjBpr.js → index-BqjaI3ay.js} +1 -1
  95. package/assets/{index-DdtNL2Jf.js → index-C1_xRJU5.js} +1 -1
  96. package/assets/{index-DMXpjhes.js → index-CQa-TpsF.js} +2 -2
  97. package/assets/{index-ClhPpkNy.js → index-CUrF8sCH.js} +3 -3
  98. package/assets/{index-DpRa9Hdk.js → index-CgX6dKUG.js} +1 -1
  99. package/assets/{index-BivApAxn.js → index-DD6DIvwj.js} +1 -1
  100. package/assets/{index-B7ehXAu4.js → index-DFwD9Y6T.js} +1 -1
  101. package/assets/index-Dy0yjznp.js +1 -1
  102. package/assets/index-IYkCvEK_.js +1 -0
  103. package/assets/index-Tsk25L8E.js +1 -0
  104. package/assets/{index.es-C-HzyBbb.js → index.es-CX6b-_J8.js} +1 -1
  105. package/assets/{index.es-C4Qj75ZL.js → index.es-Co6Vfgvo.js} +3 -3
  106. package/assets/{info-circle-D8V3i6qM.js → info-circle-BSc3Qu0H.js} +1 -1
  107. package/assets/{info-Cpg1N2vM.js → info-fCoUT5OA.js} +1 -1
  108. package/assets/jsx-runtime-DncYoG30.js +1 -1
  109. package/assets/{lightbulb-HefALNgp.js → lightbulb-CtEeQpR-.js} +1 -1
  110. package/assets/{mail-CgM9gIZJ.js → mail-CyEGKrO1.js} +1 -1
  111. package/assets/{mobile-U7c47SaE.js → mobile-va3MMBf-.js} +1 -1
  112. package/assets/{more-DdaQJYy6.js → more-CNKLmFKq.js} +1 -1
  113. package/assets/{network-placeholder-CLxfhasD.js → network-placeholder-COaPFv9Z.js} +1 -1
  114. package/assets/{nftPlaceholder-DLJ8_zDF.js → nftPlaceholder-CwqKeCBT.js} +1 -1
  115. package/assets/{off-BODMWvqU.js → off-BXJei5ZC.js} +1 -1
  116. package/assets/{openzeppelin-CElS1w4j.js → openzeppelin-5tViGSfu.js} +1 -1
  117. package/assets/{ownerOf-4VKl6Zed.js → ownerOf-B0jDYVPj.js} +1 -1
  118. package/assets/{parseNft-B3feBBr7.js → parseNft-C9UVkjKp.js} +2 -2
  119. package/assets/{play-store-2WBMZoJX.js → play-store-DPqFtu_u.js} +1 -1
  120. package/assets/{plus-C8q1mNaL.js → plus-BRStu8oq.js} +1 -1
  121. package/assets/{preload-helper-DJT5ZcG4.js → preload-helper-DtiUdDj_.js} +1 -1
  122. package/assets/{qr-code-SA-iW5ew.js → qr-code-zVq-PsFR.js} +1 -1
  123. package/assets/{qr-overlay-YOF5zF1q.js → qr-overlay-CzG9L326.js} +1 -1
  124. package/assets/{recycle-horizontal-DGKs-nfw.js → recycle-horizontal-BUcJt7KV.js} +1 -1
  125. package/assets/redux-Cj8EnDXU.js +1 -0
  126. package/assets/{refresh--yNxoDBw.js → refresh-DoJwoFWZ.js} +1 -1
  127. package/assets/remoteEntry.js +1 -1
  128. package/assets/{reown-logo-BQIpKPKW.js → reown-logo-VGJ4-w32.js} +1 -1
  129. package/assets/{resolveImplementation-DszFPOZ6.js → resolveImplementation-CDZMD3pd.js} +1 -1
  130. package/assets/{search-FtLcOObA.js → search-qfys2xfh.js} +1 -1
  131. package/assets/{send-CBJ-wiQ6.js → send-BNIku3tf.js} +1 -1
  132. package/assets/{send-batch-transaction-xxQ_5YMn.js → send-batch-transaction-DJsVdrRi.js} +1 -1
  133. package/assets/{send-eip712-transaction-DkxQV38B.js → send-eip712-transaction-zZlwlA8h.js} +2 -2
  134. package/assets/{send-gasless-transaction-XxHEAsLB.js → send-gasless-transaction-0zsgzkl7.js} +2 -2
  135. package/assets/serializeAuthorizationList-B224vId9.js +1 -0
  136. package/assets/{session-proposal-Bd5Fj6z3.js → session-proposal-DQKIaN0P.js} +1 -1
  137. package/assets/{session-request-B70r2YF_.js → session-request-DO6jaRLL.js} +2 -2
  138. package/assets/{signing-QGcxSI_9.js → signing-D7Amo-_J.js} +3 -3
  139. package/assets/slice-D08eqHRd.js +1 -0
  140. package/assets/slice-DH_M4Fq9.js +1 -0
  141. package/assets/{swapHorizontal-C1dSpyyi.js → swapHorizontal-D4EMXwCW.js} +1 -1
  142. package/assets/{swapHorizontalBold-Bh9HRSf4.js → swapHorizontalBold-DPzDpA5S.js} +1 -1
  143. package/assets/{swapHorizontalMedium-C5fWd_xG.js → swapHorizontalMedium-BO1_vkWp.js} +1 -1
  144. package/assets/{swapHorizontalRoundedBold-DQYZ6GUV.js → swapHorizontalRoundedBold-D5f2zm5T.js} +1 -1
  145. package/assets/{swapVertical-CwlEklWe.js → swapVertical-Cl2TRZgu.js} +1 -1
  146. package/assets/{telegram-D-nTXT2M.js → telegram-COuwS3-1.js} +1 -1
  147. package/assets/{thirdweb-DZCEFvuW.js → thirdweb-ChZTN2O0.js} +3 -3
  148. package/assets/{three-dots-C4qGqJn4.js → three-dots-DaJ9Yk_z.js} +1 -1
  149. package/assets/{totalSupply-BqaCXbYX.js → totalSupply-CeZQpDgj.js} +1 -1
  150. package/assets/{twitch-mLqsOtOs.js → twitch-ChHlcjtL.js} +1 -1
  151. package/assets/{twitterIcon-CtFxyGLw.js → twitterIcon-BHaGUsBd.js} +1 -1
  152. package/assets/uid-BE5dre25.js +44 -0
  153. package/assets/{verify-CeRpSmin.js → verify-BJHlq4Cl.js} +1 -1
  154. package/assets/{verify-filled-CjglFMsq.js → verify-filled-CUQ_cX7L.js} +1 -1
  155. package/assets/{w3m-modal-DR20hsnc.js → w3m-modal-BQt7iWW0.js} +1 -1
  156. package/assets/{wait-for-tx-receipt-DQdcSdtK.js → wait-for-tx-receipt-mEy_aAXI.js} +1 -1
  157. package/assets/{wallet-9AiGsIL8.js → wallet-Bqa5aoUK.js} +1 -1
  158. package/assets/{wallet-placeholder-CIamIV4f.js → wallet-placeholder-ZqWJAmHm.js} +1 -1
  159. package/assets/{walletconnect--HLqlkm7.js → walletconnect-DgD3JeRt.js} +1 -1
  160. package/assets/{wallets-CQmzEszx.js → wallets-DBEqpf9_.js} +5 -5
  161. package/assets/{warning-circle-o-FTEWCj.js → warning-circle-C-GR2K3_.js} +1 -1
  162. package/assets/{web-connector-CzTxyAHe.js → web-connector-DbEpPXWA.js} +3 -3
  163. package/assets/webSocket-D9rKCHPk.js +3 -0
  164. package/assets/{x-CADCUMm6.js → x-dxs8B49F.js} +1 -1
  165. package/index.html +15 -17
  166. package/package.json +3 -3
  167. package/assets/SignInRedirect-BXiSxuzq.js +0 -11
  168. package/assets/__federation_expose_App-BIkHFfNV.js +0 -1
  169. package/assets/__federation_fn_import-BVq5pY2g.js +0 -1
  170. package/assets/__federation_shared_@emotion/react-ClQAzdUp.js +0 -1
  171. package/assets/__federation_shared_@reduxjs/toolkit-DIZvwqf7.js +0 -1
  172. package/assets/__federation_shared_react-router-dom-DHUeCUPc.js +0 -49
  173. package/assets/__federation_shared_viem-Dko2-sEK.js +0 -2
  174. package/assets/__federation_shared_wagmi-Cn5GVo3x.js +0 -17
  175. package/assets/ccip-DK12c0R1.js +0 -1
  176. package/assets/createClient-BxosFBTN.js +0 -1
  177. package/assets/index-C8jSk8ge.js +0 -1
  178. package/assets/index-DDxTHrtr.js +0 -1
  179. package/assets/localBatchGatewayRequest-CRqIDg0k.js +0 -1
  180. package/assets/redux-BNDF-Lt-.js +0 -1
  181. package/assets/secp256k1-DcA0Bweb.js +0 -1
  182. package/assets/serializeTransaction-CMhv_BZC.js +0 -1
  183. package/assets/uid-B6XGct9S.js +0 -44
  184. package/assets/webSocket-CSarcF7y.js +0 -3
@@ -1,5 +1,5 @@
1
- const __vite__fileDeps=["assets/index-BhvB7qtA.js","assets/preload-helper-DJT5ZcG4.js","assets/tslib.es6-DbvBTznf.js","assets/_commonjsHelpers-C4iS2aBk.js","assets/inherits_browser-BlmhoU4v.js"],__vite__mapDeps=i=>i.map(i=>__vite__fileDeps[i]);
2
- import{c as ie}from"../_commonjsHelpers-C4iS2aBk.js";import{a as $w,d as eT,b as tT}from"../index-C3DFzjjm.js";import{r as nT}from"../___vite-browser-external_commonjs-proxy-BqV5D26a.js";import{_ as rT}from"../preload-helper-DJT5ZcG4.js";import{importShared as kn}from"../__federation_fn_import-BVq5pY2g.js";import{j as m_}from"../jsx-runtime-DncYoG30.js";import{b as Fe,d as pr,e as iT,c as Hr}from"../tslib.es6-DbvBTznf.js";var g_={},ep={};Object.defineProperty(ep,"__esModule",{value:!0});var y_={},Gu={},qu={},__={},Jd={exports:{}};/*! eth-connect {
1
+ const __vite__fileDeps=["assets/index-BjA_RJ3F.js","assets/preload-helper-DtiUdDj_.js","assets/tslib.es6-DbvBTznf.js","assets/_commonjsHelpers-C4iS2aBk.js","assets/inherits_browser-BlmhoU4v.js"],__vite__mapDeps=i=>i.map(i=>__vite__fileDeps[i]);
2
+ import{c as ie}from"../_commonjsHelpers-C4iS2aBk.js";import{a as $w,d as eT,b as tT}from"../index-C3DFzjjm.js";import{r as nT}from"../___vite-browser-external_commonjs-proxy-BqV5D26a.js";import{_ as rT}from"../preload-helper-DtiUdDj_.js";import{importShared as kn}from"../__federation_fn_import-BxyPyKYw.js";import{j as m_}from"../jsx-runtime-DncYoG30.js";import{b as Fe,d as pr,e as iT,c as Hr}from"../tslib.es6-DbvBTznf.js";var g_={},ep={};Object.defineProperty(ep,"__esModule",{value:!0});var y_={},Gu={},qu={},__={},Jd={exports:{}};/*! eth-connect {
3
3
  "date": "2024-01-01T15:10:57.542Z",
4
4
  "commit": "b2fa64415d297ccce86d2a5d59d8705388f77db9",
5
5
  "ref": "refs/tags/6.2.4"
@@ -511,7 +511,7 @@ or you can use record.mirror to access the mirror instance during recording.`;le
511
511
  `).reduce((n,r)=>{const[i,a]=r.split(": ");return a&&(n[i.toLowerCase()]=a),n},{}):{}}function px(e){const t=[];try{return[e.responseText]}catch(n){t.push(n)}try{return hx(e.response,e.responseType)}catch(n){t.push(n)}return je&&Ve.warn("Failed to get xhr response body",...t),[void 0]}function hx(e,t){try{if(typeof e=="string")return[e];if(e instanceof Document)return[e.body.outerHTML];if(t==="json"&&e&&typeof e=="object")return[JSON.stringify(e)];if(!e)return[void 0]}catch(n){return je&&Ve.exception(n,"Failed to serialize body",e),[void 0,"BODY_PARSE_ERROR"]}return je&&Ve.log("Skipping network body because of body type",e),[void 0,"UNPARSEABLE_BODY_TYPE"]}function mx(e,t){try{const n=t==="json"&&e&&typeof e=="object"?JSON.stringify(e):e;return Nl(n)}catch{return}}function gx(e){const t=Ce();try{const{networkDetailAllowUrls:n,networkDetailDenyUrls:r,networkCaptureBodies:i,networkRequestHeaders:a,networkResponseHeaders:s}=e.getOptions(),o={replay:e,networkDetailAllowUrls:n,networkDetailDenyUrls:r,networkCaptureBodies:i,networkRequestHeaders:a,networkResponseHeaders:s};t&&t.on("beforeAddBreadcrumb",(c,u)=>yx(o,c,u))}catch{}}function yx(e,t,n){if(t.data)try{_x(t)&&Ex(n)&&(lx(t,n),ux(t,n,e)),bx(t)&&vx(n)&&($F(t,n),QF(t,n,e))}catch(r){je&&Ve.exception(r,"Error when enriching network breadcrumb")}}function _x(e){return e.category==="xhr"}function bx(e){return e.category==="fetch"}function Ex(e){return e?.xhr}function vx(e){return e?.response}function Sx(e){const t=Ce();Y0(ZB(e)),Tl(YF(e)),xF(e),gx(e);const n=WF(e);Rv(n),t&&(t.on("beforeSendEvent",BF(e)),t.on("afterSendEvent",kF(e)),t.on("createDsc",r=>{const i=e.getSessionId();i&&e.isEnabled()&&e.recordingMode==="session"&&e.checkAndHandleExpiredSession()&&(r.replay_id=i)}),t.on("spanStart",r=>{e.lastActiveSpan=r}),t.on("spanEnd",r=>{e.lastActiveSpan=r}),t.on("beforeSendFeedback",async(r,i)=>{const a=e.getSessionId();i?.includeReplay&&e.isEnabled()&&a&&r.contexts?.feedback&&(r.contexts.feedback.source==="api"&&await e.sendBufferedReplayOrFlush(),r.contexts.feedback.replay_id=a)}),t.on("openFeedbackWidget",async()=>{await e.sendBufferedReplayOrFlush()}))}async function wx(e){try{return Promise.all(Cl(e,[Tx(Mt.performance.memory)]))}catch{return[]}}function Tx(e){const{jsHeapSizeLimit:t,totalJSHeapSize:n,usedJSHeapSize:r}=e,i=Date.now()/1e3;return{type:"memory",name:"memory",start:i,end:i,data:{memory:{jsHeapSizeLimit:t,totalJSHeapSize:n,usedJSHeapSize:r}}}}function Ix(e,t,n){return eM(e,t,{...n,setTimeoutImpl:wo})}const Dc=Ge.navigator;function Ax(){return/iPhone|iPad|iPod/i.test(Dc?.userAgent??"")||/Macintosh/i.test(Dc?.userAgent??"")&&Dc?.maxTouchPoints&&Dc?.maxTouchPoints>1?{sampling:{mousemove:!1}}:{}}function Ox(e){let t=!1;return(n,r)=>{if(!e.checkAndHandleExpiredSession()){je&&Ve.warn("Received replay event after session expired.");return}const i=r||!t;t=!0,e.clickDetector&&zB(e.clickDetector,n),e.addUpdate(()=>{if(e.recordingMode==="buffer"&&i&&e.setInitialState(),!Ah(e,n,i))return!0;if(!i)return!1;const a=e.session;if(Cx(e,i),e.recordingMode==="buffer"&&a&&e.eventBuffer){const s=e.eventBuffer.getEarliestTimestamp();s&&(je&&Ve.log(`Updating session start time to earliest event in buffer to ${new Date(s)}`),a.started=s,e.getOptions().stickySession&&Ih(a))}return a?.previousSessionId||e.recordingMode==="session"&&e.flush(),!0})}}function Rx(e){const t=e.getOptions();return{type:it.Custom,timestamp:Date.now(),data:{tag:"options",payload:{shouldRecordCanvas:e.isRecordingCanvas(),sessionSampleRate:t.sessionSampleRate,errorSampleRate:t.errorSampleRate,useCompressionOption:t.useCompression,blockAllMedia:t.blockAllMedia,maskAllText:t.maskAllText,maskAllInputs:t.maskAllInputs,useCompression:e.eventBuffer?e.eventBuffer.type==="worker":!1,networkDetailHasUrls:t.networkDetailAllowUrls.length>0,networkCaptureBodies:t.networkCaptureBodies,networkRequestHasHeaders:t.networkRequestHeaders.length>0,networkResponseHasHeaders:t.networkResponseHeaders.length>0}}}}function Cx(e,t){!t||!e.session||e.session.segmentId!==0||Ah(e,Rx(e),!1)}function Nx(e){if(!e)return null;try{return e.nodeType===e.ELEMENT_NODE?e:e.parentElement}catch{return null}}function Mx(e,t,n,r){return ei(_v(e,jp(e),r,n),[[{type:"replay_event"},e],[{type:"replay_recording",length:typeof t=="string"?new TextEncoder().encode(t).length:t.length},t]])}function Px({recordingData:e,headers:t}){let n;const r=`${JSON.stringify(t)}
512
512
  `;if(typeof e=="string")n=`${r}${e}`;else{const a=new TextEncoder().encode(r);n=new Uint8Array(a.length+e.length),n.set(a),n.set(e,a.length)}return n}async function kx({client:e,scope:t,replayId:n,event:r}){const i=typeof e._integrations=="object"&&e._integrations!==null&&!Array.isArray(e._integrations)?Object.keys(e._integrations):void 0,a={event_id:n,integrations:i};e.emit("preprocessEvent",r,a);const s=await Tv(e.getOptions(),r,a,t,e,$t());if(!s)return null;e.emit("postprocessEvent",s,a),s.platform=s.platform||"javascript";const o=e.getSdkMetadata(),{name:c,version:u}=o?.sdk||{};return s.sdk={...s.sdk,name:c||"sentry.javascript.unknown",version:u||"0.0.0"},s}async function Lx({recordingData:e,replayId:t,segmentId:n,eventContext:r,timestamp:i,session:a}){const s=Px({recordingData:e,headers:{segment_id:n}}),{urls:o,errorIds:c,traceIds:u,initialTimestamp:f}=r,l=Ce(),m=tt(),g=l?.getTransport(),_=l?.getDsn();if(!l||!g||!_||!a.sampled)return Jr({});const T={type:u2,replay_start_timestamp:f/1e3,timestamp:i/1e3,error_ids:c,trace_ids:u,urls:o,replay_id:t,segment_id:n,replay_type:a.sampled},B=await kx({scope:m,client:l,replayId:t,event:T});if(!B)return l.recordDroppedEvent("event_processor","replay"),je&&Ve.log("An event processor returned `null`, will not send event."),Jr({});delete B.sdkProcessingMetadata;const U=Mx(B,s,_,l.getOptions().tunnel);let J;try{J=await g.send(U)}catch(H){const F=new Error(hh);try{F.cause=H}catch{}throw F}if(typeof J.statusCode=="number"&&(J.statusCode<200||J.statusCode>=300))throw new ew(J.statusCode);const K=Vv({},J);if(jv(K,"replay"))throw new Rh(K);return J}class ew extends Error{constructor(t){super(`Transport returned status code ${t}`)}}class Rh extends Error{constructor(t){super("Rate limit hit"),this.rateLimits=t}}async function tw(e,t={count:0,interval:m2}){const{recordingData:n,onError:r}=e;if(n.length)try{return await Lx(e),!0}catch(i){if(i instanceof ew||i instanceof Rh)throw i;if(Iv("Replays",{_retryCount:t.count}),r&&r(i),t.count>=g2){const a=new Error(`${hh} - max retries exceeded`);try{a.cause=i}catch{}throw a}return t.interval*=++t.count,new Promise((a,s)=>{wo(async()=>{try{await tw(e,t),a(!0)}catch(o){s(o)}},t.interval)})}}const nw="__THROTTLED",Dx="__SKIPPED";function Bx(e,t,n){const r=new Map,i=o=>{const c=o-n;r.forEach((u,f)=>{f<c&&r.delete(f)})},a=()=>[...r.values()].reduce((o,c)=>o+c,0);let s=!1;return(...o)=>{const c=Math.floor(Date.now()/1e3);if(i(c),a()>=t){const f=s;return s=!0,f?Dx:nw}s=!1;const u=r.get(c)||0;return r.set(c,u+1),e(...o)}}class Fx{constructor({options:t,recordingOptions:n}){this.eventBuffer=null,this.performanceEntries=[],this.replayPerformanceEntries=[],this.recordingMode="session",this.timeouts={sessionIdlePause:l2,sessionIdleExpire:d2},this._lastActivity=Date.now(),this._isEnabled=!1,this._isPaused=!1,this._requiresManualStart=!1,this._hasInitializedCoreListeners=!1,this._context={errorIds:new Set,traceIds:new Set,urls:[],initialTimestamp:Date.now(),initialUrl:""},this._recordingOptions=n,this._options=t,this._debouncedFlush=Ix(()=>this._flush(),this._options.flushMinDelay,{maxWait:this._options.flushMaxDelay}),this._throttledAddEvent=Bx((s,o)=>NF(this,s,o),300,5);const{slowClickTimeout:r,slowClickIgnoreSelectors:i}=this.getOptions(),a=r?{threshold:Math.min(y2,r),timeout:r,scrollTimeout:_2,ignoreSelector:i?i.join(","):""}:void 0;if(a&&(this.clickDetector=new VB(this,a)),je){const s=t._experiments;Ve.setConfig({captureExceptions:!!s.captureExceptions,traceInternals:!!s.traceInternals})}this._handleVisibilityChange=()=>{Mt.document.visibilityState==="visible"?this._doChangeToForegroundTasks():this._doChangeToBackgroundTasks()},this._handleWindowBlur=()=>{const s=Ir({category:"ui.blur"});this._doChangeToBackgroundTasks(s)},this._handleWindowFocus=()=>{const s=Ir({category:"ui.focus"});this._doChangeToForegroundTasks(s)},this._handleKeyboardEvent=s=>{tF(this,s)}}getContext(){return this._context}isEnabled(){return this._isEnabled}isPaused(){return this._isPaused}isRecordingCanvas(){return!!this._canvas}getOptions(){return this._options}handleException(t){je&&Ve.exception(t),this._options.onError&&this._options.onError(t)}initializeSampling(t){const{errorSampleRate:n,sessionSampleRate:r}=this._options,i=n<=0&&r<=0;if(this._requiresManualStart=i,!i){if(this._initializeSessionForSampling(t),!this.session){je&&Ve.exception(new Error("Unable to initialize and create session"));return}this.session.sampled!==!1&&(this.recordingMode=this.session.sampled==="buffer"&&this.session.segmentId===0?"buffer":"session",je&&Ve.infoTick(`Starting replay in ${this.recordingMode} mode`),this._initializeRecording())}}start(){if(this._isEnabled&&this.recordingMode==="session"){je&&Ve.log("Recording is already in progress");return}if(this._isEnabled&&this.recordingMode==="buffer"){je&&Ve.log("Buffering is in progress, call `flush()` to save the replay");return}je&&Ve.infoTick("Starting replay in session mode"),this._updateUserActivity();const t=Md({maxReplayDuration:this._options.maxReplayDuration,sessionIdleExpire:this.timeouts.sessionIdleExpire},{stickySession:this._options.stickySession,sessionSampleRate:1,allowBuffering:!1});this.session=t,this.recordingMode="session",this._initializeRecording()}startBuffering(){if(this._isEnabled){je&&Ve.log("Buffering is in progress, call `flush()` to save the replay");return}je&&Ve.infoTick("Starting replay in buffer mode");const t=Md({sessionIdleExpire:this.timeouts.sessionIdleExpire,maxReplayDuration:this._options.maxReplayDuration},{stickySession:this._options.stickySession,sessionSampleRate:0,allowBuffering:!0});this.session=t,this.recordingMode="buffer",this._initializeRecording()}startRecording(){try{const t=this._canvas;this._stopRecording=Gr({...this._recordingOptions,...this.recordingMode==="buffer"?{checkoutEveryNms:h2}:this._options._experiments.continuousCheckout&&{checkoutEveryNms:Math.max(36e4,this._options._experiments.continuousCheckout)},emit:Ox(this),...Ax(),onMutation:this._onMutationHandler.bind(this),...t?{recordCanvas:t.recordCanvas,getCanvasManager:t.getCanvasManager,sampling:t.sampling,dataURLOptions:t.dataURLOptions}:{}})}catch(t){this.handleException(t)}}stopRecording(){try{return this._stopRecording&&(this._stopRecording(),this._stopRecording=void 0),!0}catch(t){return this.handleException(t),!1}}async stop({forceFlush:t=!1,reason:n}={}){if(this._isEnabled){this._isEnabled=!1,this.recordingMode="buffer";try{je&&Ve.log(`Stopping Replay${n?` triggered by ${n}`:""}`),XS(),this._removeListeners(),this.stopRecording(),this._debouncedFlush.cancel(),t&&await this._flush({force:!0}),this.eventBuffer?.destroy(),this.eventBuffer=null,IF(this)}catch(r){this.handleException(r)}}}pause(){this._isPaused||(this._isPaused=!0,this.stopRecording(),je&&Ve.log("Pausing replay"))}resume(){!this._isPaused||!this._checkSession()||(this._isPaused=!1,this.startRecording(),je&&Ve.log("Resuming replay"))}async sendBufferedReplayOrFlush({continueRecording:t=!0}={}){if(this.recordingMode==="session")return this.flushImmediate();const n=Date.now();je&&Ve.log("Converting buffer to session"),await this.flushImmediate();const r=this.stopRecording();!t||!r||this.recordingMode!=="session"&&(this.recordingMode="session",this.session&&(this._updateUserActivity(n),this._updateSessionActivity(n),this._maybeSaveSession()),this.startRecording())}addUpdate(t){const n=t();this.recordingMode==="buffer"||!this._isEnabled||n!==!0&&this._debouncedFlush()}triggerUserActivity(){if(this._updateUserActivity(),!this._stopRecording){if(!this._checkSession())return;this.resume();return}this.checkAndHandleExpiredSession(),this._updateSessionActivity()}updateUserActivity(){this._updateUserActivity(),this._updateSessionActivity()}conditionalFlush(){return this.recordingMode==="buffer"?Promise.resolve():this.flushImmediate()}flush(){return this._debouncedFlush()}flushImmediate(){return this._debouncedFlush(),this._debouncedFlush.flush()}cancelFlush(){this._debouncedFlush.cancel()}getSessionId(){return this.session?.id}checkAndHandleExpiredSession(){if(this._lastActivity&&Bf(this._lastActivity,this.timeouts.sessionIdlePause)&&this.session&&this.session.sampled==="session"){this.pause();return}return!!this._checkSession()}setInitialState(){const t=`${Mt.location.pathname}${Mt.location.hash}${Mt.location.search}`,n=`${Mt.location.origin}${t}`;this.performanceEntries=[],this.replayPerformanceEntries=[],this._clearContext(),this._context.initialUrl=n,this._context.initialTimestamp=Date.now(),this._context.urls.push(n)}throttledAddEvent(t,n){const r=this._throttledAddEvent(t,n);if(r===nw){const i=Ir({category:"replay.throttled"});this.addUpdate(()=>!Ah(this,{type:DB,timestamp:i.timestamp||0,data:{tag:"breadcrumb",payload:i,metric:!0}}))}return r}getCurrentRoute(){const t=this.lastActiveSpan||en(),n=t&&Qt(t),i=(n&&$e(n).data||{})[Un];if(!(!n||!i||!["route","custom"].includes(i)))return $e(n).description}_initializeRecording(){this.setInitialState(),this._updateSessionActivity(),this.eventBuffer=SF({useCompression:this._options.useCompression,workerUrl:this._options.workerUrl}),this._removeListeners(),this._addListeners(),this._isEnabled=!0,this._isPaused=!1,this.startRecording()}_initializeSessionForSampling(t){const n=this._options.errorSampleRate>0,r=Md({sessionIdleExpire:this.timeouts.sessionIdleExpire,maxReplayDuration:this._options.maxReplayDuration,previousSessionId:t},{stickySession:this._options.stickySession,sessionSampleRate:this._options.sessionSampleRate,allowBuffering:n});this.session=r}_checkSession(){if(!this.session)return!1;const t=this.session;return WS(t,{sessionIdleExpire:this.timeouts.sessionIdleExpire,maxReplayDuration:this._options.maxReplayDuration})?(this._refreshSession(t),!1):!0}async _refreshSession(t){this._isEnabled&&(await this.stop({reason:"refresh session"}),this.initializeSampling(t.id))}_addListeners(){try{Mt.document.addEventListener("visibilitychange",this._handleVisibilityChange),Mt.addEventListener("blur",this._handleWindowBlur),Mt.addEventListener("focus",this._handleWindowFocus),Mt.addEventListener("keydown",this._handleKeyboardEvent),this.clickDetector&&this.clickDetector.addListeners(),this._hasInitializedCoreListeners||(Sx(this),this._hasInitializedCoreListeners=!0)}catch(t){this.handleException(t)}this._performanceCleanupCallback=mF(this)}_removeListeners(){try{Mt.document.removeEventListener("visibilitychange",this._handleVisibilityChange),Mt.removeEventListener("blur",this._handleWindowBlur),Mt.removeEventListener("focus",this._handleWindowFocus),Mt.removeEventListener("keydown",this._handleKeyboardEvent),this.clickDetector&&this.clickDetector.removeListeners(),this._performanceCleanupCallback&&this._performanceCleanupCallback()}catch(t){this.handleException(t)}}_doChangeToBackgroundTasks(t){!this.session||qS(this.session,{maxReplayDuration:this._options.maxReplayDuration,sessionIdleExpire:this.timeouts.sessionIdleExpire})||(t&&this._createCustomBreadcrumb(t),this.conditionalFlush())}_doChangeToForegroundTasks(t){if(!this.session)return;if(!this.checkAndHandleExpiredSession()){je&&Ve.log("Document has become active, but session has expired");return}t&&this._createCustomBreadcrumb(t)}_updateUserActivity(t=Date.now()){this._lastActivity=t}_updateSessionActivity(t=Date.now()){this.session&&(this.session.lastActivity=t,this._maybeSaveSession())}_createCustomBreadcrumb(t){this.addUpdate(()=>{this.throttledAddEvent({type:it.Custom,timestamp:t.timestamp||0,data:{tag:"breadcrumb",payload:t}})})}_addPerformanceEntries(){let t=aF(this.performanceEntries).concat(this.replayPerformanceEntries);if(this.performanceEntries=[],this.replayPerformanceEntries=[],this._requiresManualStart){const n=this._context.initialTimestamp/1e3;t=t.filter(r=>r.start>=n)}return Promise.all(Cl(this,t))}_clearContext(){this._context.errorIds.clear(),this._context.traceIds.clear(),this._context.urls=[]}_updateInitialTimestampFromEventBuffer(){const{session:t,eventBuffer:n}=this;if(!t||!n||this._requiresManualStart||t.segmentId)return;const r=n.getEarliestTimestamp();r&&r<this._context.initialTimestamp&&(this._context.initialTimestamp=r)}_popEventContext(){const t={initialTimestamp:this._context.initialTimestamp,initialUrl:this._context.initialUrl,errorIds:Array.from(this._context.errorIds),traceIds:Array.from(this._context.traceIds),urls:this._context.urls};return this._clearContext(),t}async _runFlush(){const t=this.getSessionId();if(!this.session||!this.eventBuffer||!t){je&&Ve.error("No session or eventBuffer found to flush.");return}if(await this._addPerformanceEntries(),!!this.eventBuffer?.hasEvents&&(await wx(this),!!this.eventBuffer&&t===this.getSessionId()))try{this._updateInitialTimestampFromEventBuffer();const n=Date.now();if(n-this._context.initialTimestamp>this._options.maxReplayDuration+3e4)throw new Error("Session is too long, not sending replay");const r=this._popEventContext(),i=this.session.segmentId++;this._maybeSaveSession();const a=await this.eventBuffer.finish();await tw({replayId:t,recordingData:a,segmentId:i,eventContext:r,session:this.session,timestamp:n,onError:s=>this.handleException(s)})}catch(n){this.handleException(n),this.stop({reason:"sendReplay"});const r=Ce();if(r){const i=n instanceof Rh?"ratelimit_backoff":"send_error";r.recordDroppedEvent(i,"replay")}}}async _flush({force:t=!1}={}){if(!this._isEnabled&&!t)return;if(!this.checkAndHandleExpiredSession()){je&&Ve.error("Attempting to finish replay event after session expired.");return}if(!this.session)return;const n=this.session.started,i=Date.now()-n;this._debouncedFlush.cancel();const a=i<this._options.minReplayDuration,s=i>this._options.maxReplayDuration+5e3;if(a||s){je&&Ve.log(`Session duration (${Math.floor(i/1e3)}s) is too ${a?"short":"long"}, not sending replay.`),a&&this._debouncedFlush();return}const o=this.eventBuffer;o&&this.session.segmentId===0&&!o.hasCheckout&&je&&Ve.log("Flushing initial segment without checkout.");const c=!!this._flushLock;this._flushLock||(this._flushLock=this._runFlush());try{await this._flushLock}catch(u){this.handleException(u)}finally{this._flushLock=void 0,c&&this._debouncedFlush()}}_maybeSaveSession(){this.session&&this._options.stickySession&&Ih(this.session)}_onMutationHandler(t){const{ignoreMutations:n}=this._options._experiments;if(n?.length&&t.some(o=>{const c=Nx(o.target),u=n.join(",");return c?.matches(u)}))return!1;const r=t.length,i=this._options.mutationLimit,a=this._options.mutationBreadcrumbLimit,s=i&&r>i;if(r>a||s){const o=Ir({category:"replay.mutations",data:{count:r,limit:s}});this._createCustomBreadcrumb(o)}return s?(this.stop({reason:"mutationLimit",forceFlush:this.recordingMode==="session"}),!1):!0}}function Cs(e,t){return[...e,...t].join(",")}function xx({mask:e,unmask:t,block:n,unblock:r,ignore:i}){const a=["base","iframe[srcdoc]:not([src])"],s=Cs(e,[".sentry-mask","[data-sentry-mask]"]),o=Cs(t,[]);return{maskTextSelector:s,unmaskTextSelector:o,blockSelector:Cs(n,[".sentry-block","[data-sentry-block]",...a]),unblockSelector:Cs(r,[]),ignoreSelector:Cs(i,[".sentry-ignore","[data-sentry-ignore]",'input[type="file"]'])}}function Hx({el:e,key:t,maskAttributes:n,maskAllText:r,privacyOptions:i,value:a}){return!r||i.unmaskTextSelector&&e.matches(i.unmaskTextSelector)?a:n.includes(t)||t==="value"&&e.tagName==="INPUT"&&["submit","button"].includes(e.getAttribute("type")||"")?a.replace(/[\S]/g,"*"):a}const ly='img,image,svg,video,object,picture,embed,map,audio,link[rel="icon"],link[rel="apple-touch-icon"]',Ux=["content-length","content-type","accept"];let dy=!1;const jx=e=>new Vx(e);class Vx{constructor({flushMinDelay:t=f2,flushMaxDelay:n=p2,minReplayDuration:r=b2,maxReplayDuration:i=Gg,stickySession:a=!0,useCompression:s=!0,workerUrl:o,_experiments:c={},maskAllText:u=!0,maskAllInputs:f=!0,blockAllMedia:l=!0,mutationBreadcrumbLimit:m=750,mutationLimit:g=1e4,slowClickTimeout:_=7e3,slowClickIgnoreSelectors:T=[],networkDetailAllowUrls:B=[],networkDetailDenyUrls:U=[],networkCaptureBodies:J=!0,networkRequestHeaders:K=[],networkResponseHeaders:H=[],mask:F=[],maskAttributes:k=["title","placeholder","aria-label"],unmask:j=[],block:te=[],unblock:L=[],ignore:G=[],maskFn:W,beforeAddRecordingEvent:z,beforeErrorSampling:ae,onError:Ee}={}){this.name="Replay";const pe=xx({mask:F,unmask:j,block:te,unblock:L,ignore:G});if(this._recordingOptions={maskAllInputs:f,maskAllText:u,maskInputOptions:{password:!0},maskTextFn:W,maskInputFn:W,maskAttributeFn:(le,$,ve)=>Hx({maskAttributes:k,maskAllText:u,privacyOptions:pe,key:le,value:$,el:ve}),...pe,slimDOMOptions:"all",inlineStylesheet:!0,inlineImages:!1,collectFonts:!0,errorHandler:le=>{try{le.__rrweb__=!0}catch{}},recordCrossOriginIframes:!!c.recordCrossOriginIframes},this._initialOptions={flushMinDelay:t,flushMaxDelay:n,minReplayDuration:Math.min(r,E2),maxReplayDuration:Math.min(i,Gg),stickySession:a,useCompression:s,workerUrl:o,blockAllMedia:l,maskAllInputs:f,maskAllText:u,mutationBreadcrumbLimit:m,mutationLimit:g,slowClickTimeout:_,slowClickIgnoreSelectors:T,networkDetailAllowUrls:B,networkDetailDenyUrls:U,networkCaptureBodies:J,networkRequestHeaders:fy(K),networkResponseHeaders:fy(H),beforeAddRecordingEvent:z,beforeErrorSampling:ae,onError:Ee,_experiments:c},this._initialOptions.blockAllMedia&&(this._recordingOptions.blockSelector=this._recordingOptions.blockSelector?`${this._recordingOptions.blockSelector},${ly}`:ly),this._isInitialized&&bf())throw new Error("Multiple Sentry Session Replay instances are not supported");this._isInitialized=!0}get _isInitialized(){return dy}set _isInitialized(t){dy=t}afterAllSetup(t){!bf()||this._replay||(this._setup(t),this._initialize(t))}start(){this._replay&&this._replay.start()}startBuffering(){this._replay&&this._replay.startBuffering()}stop(){return this._replay?this._replay.stop({forceFlush:this._replay.recordingMode==="session"}):Promise.resolve()}flush(t){return this._replay?this._replay.isEnabled()?this._replay.sendBufferedReplayOrFlush(t):(this._replay.start(),Promise.resolve()):Promise.resolve()}getReplayId(){if(this._replay?.isEnabled())return this._replay.getSessionId()}getRecordingMode(){if(this._replay?.isEnabled())return this._replay.recordingMode}_initialize(t){this._replay&&(this._maybeLoadFromReplayCanvasIntegration(t),this._replay.initializeSampling())}_setup(t){const n=Gx(this._initialOptions,t);this._replay=new Fx({options:n,recordingOptions:this._recordingOptions})}_maybeLoadFromReplayCanvasIntegration(t){try{const n=t.getIntegrationByName("ReplayCanvas");if(!n)return;this._replay._canvas=n.getOptions()}catch{}}}function Gx(e,t){const n=t.getOptions(),r={sessionSampleRate:0,errorSampleRate:0,...e},i=Xi(n.replaysSessionSampleRate),a=Xi(n.replaysOnErrorSampleRate);return i==null&&a==null&&Ai(()=>{console.warn("Replay is disabled because neither `replaysSessionSampleRate` nor `replaysOnErrorSampleRate` are set.")}),i!=null&&(r.sessionSampleRate=i),a!=null&&(r.errorSampleRate=a),r}function fy(e){return[...Ux,...e.map(t=>t.toLowerCase())]}function qx(){return Ce()?.getIntegrationByName("Replay")}var Wx=Object.defineProperty,zx=(e,t,n)=>t in e?Wx(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,py=(e,t,n)=>zx(e,typeof t!="symbol"?t+"":t,n);class Yx{constructor(){py(this,"idNodeMap",new Map),py(this,"nodeMetaMap",new WeakMap)}getId(t){return t?this.getMeta(t)?.id??-1:-1}getNode(t){return this.idNodeMap.get(t)||null}getIds(){return Array.from(this.idNodeMap.keys())}getMeta(t){return this.nodeMetaMap.get(t)||null}removeNodeFromMap(t){const n=this.getId(t);this.idNodeMap.delete(n),t.childNodes&&t.childNodes.forEach(r=>this.removeNodeFromMap(r))}has(t){return this.idNodeMap.has(t)}hasNode(t){return this.nodeMetaMap.has(t)}add(t,n){const r=n.id;this.idNodeMap.set(r,t),this.nodeMetaMap.set(t,n)}replace(t,n){const r=this.getNode(t);if(r){const i=this.nodeMetaMap.get(r);i&&this.nodeMetaMap.set(n,i)}this.idNodeMap.set(t,n)}reset(){this.idNodeMap=new Map,this.nodeMetaMap=new WeakMap}}function Kx(){return new Yx}function Xx(e,t){for(let n=e.classList.length;n--;){const r=e.classList[n];if(t.test(r))return!0}return!1}function Hf(e,t,n=1/0,r=0){return!e||e.nodeType!==e.ELEMENT_NODE||r>n?-1:t(e)?r:Hf(e.parentNode,t,n,r+1)}function hy(e,t){return n=>{const r=n;if(r===null)return!1;try{if(e){if(typeof e=="string"){if(r.matches(`.${e}`))return!0}else if(Xx(r,e))return!0}return!!(t&&r.matches(t))}catch{return!1}}}const Ra=`Please stop import mirror directly. Instead of that,\r
513
513
  now you can use replayer.getMirror() to access the mirror instance of a replayer,\r
514
- or you can use record.mirror to access the mirror instance during recording.`;let my={map:{},getId(){return console.error(Ra),-1},getNode(){return console.error(Ra),null},removeNodeFromMap(){console.error(Ra)},has(){return console.error(Ra),!1},reset(){console.error(Ra)}};typeof window<"u"&&window.Proxy&&window.Reflect&&(my=new Proxy(my,{get(e,t,n){return t==="map"&&console.error(Ra),Reflect.get(e,t,n)}}));function Ch(e,t,n,r,i=window){const a=i.Object.getOwnPropertyDescriptor(e,t);return i.Object.defineProperty(e,t,r?n:{set(s){iw(()=>{n.set.call(this,s)},0),a&&a.set&&a.set.call(this,s)}}),()=>Ch(e,t,a||{},!0)}function Nh(e,t,n){try{if(!(t in e))return()=>{};const r=e[t],i=n(r);return typeof i=="function"&&(i.prototype=i.prototype||{},Object.defineProperties(i,{__rrweb_original__:{enumerable:!1,value:r}})),e[t]=i,()=>{e[t]=r}}catch{return()=>{}}}Date.now().toString();function Jx(e){if(!e)return null;try{return e.nodeType===e.ELEMENT_NODE?e:e.parentElement}catch{return null}}function Ml(e,t,n,r,i){if(!e)return!1;const a=Jx(e);if(!a)return!1;const s=hy(t,n),o=Hf(a,s);let c=-1;return o<0?!1:(r&&(c=Hf(a,hy(null,r))),o>-1&&c<0?!0:o<c)}const gy={};function rw(e){const t=gy[e];if(t)return t;const n=window.document;let r=window[e];if(n&&typeof n.createElement=="function")try{const i=n.createElement("iframe");i.hidden=!0,n.head.appendChild(i);const a=i.contentWindow;a&&a[e]&&(r=a[e]),n.head.removeChild(i)}catch{}return gy[e]=r.bind(window)}function Li(...e){return rw("requestAnimationFrame")(...e)}function iw(...e){return rw("setTimeout")(...e)}var es=(e=>(e[e["2D"]=0]="2D",e[e.WebGL=1]="WebGL",e[e.WebGL2=2]="WebGL2",e))(es||{});let iu;function Zx(e){iu=e}const Pd=e=>iu?(...n)=>{try{return e(...n)}catch(r){if(iu&&iu(r)===!0)return()=>{};throw r}}:e;var Da="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Qx=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(var Bc=0;Bc<Da.length;Bc++)Qx[Da.charCodeAt(Bc)]=Bc;var $x=function(e){var t=new Uint8Array(e),n,r=t.length,i="";for(n=0;n<r;n+=3)i+=Da[t[n]>>2],i+=Da[(t[n]&3)<<4|t[n+1]>>4],i+=Da[(t[n+1]&15)<<2|t[n+2]>>6],i+=Da[t[n+2]&63];return r%3===2?i=i.substring(0,i.length-1)+"=":r%3===1&&(i=i.substring(0,i.length-2)+"=="),i};const yy=new Map;function eH(e,t){let n=yy.get(e);return n||(n=new Map,yy.set(e,n)),n.has(t)||n.set(t,[]),n.get(t)}const aw=(e,t,n)=>{if(!e||!(ow(e,t)||typeof e=="object"))return;const r=e.constructor.name,i=eH(n,r);let a=i.indexOf(e);return a===-1&&(a=i.length,i.push(e)),a};function au(e,t,n){if(e instanceof Array)return e.map(r=>au(r,t,n));if(e===null)return e;if(e instanceof Float32Array||e instanceof Float64Array||e instanceof Int32Array||e instanceof Uint32Array||e instanceof Uint8Array||e instanceof Uint16Array||e instanceof Int16Array||e instanceof Int8Array||e instanceof Uint8ClampedArray)return{rr_type:e.constructor.name,args:[Object.values(e)]};if(e instanceof ArrayBuffer){const r=e.constructor.name,i=$x(e);return{rr_type:r,base64:i}}else{if(e instanceof DataView)return{rr_type:e.constructor.name,args:[au(e.buffer,t,n),e.byteOffset,e.byteLength]};if(e instanceof HTMLImageElement){const r=e.constructor.name,{src:i}=e;return{rr_type:r,src:i}}else if(e instanceof HTMLCanvasElement){const r="HTMLImageElement",i=e.toDataURL();return{rr_type:r,src:i}}else{if(e instanceof ImageData)return{rr_type:e.constructor.name,args:[au(e.data,t,n),e.width,e.height]};if(ow(e,t)||typeof e=="object"){const r=e.constructor.name,i=aw(e,t,n);return{rr_type:r,index:i}}}}return e}const sw=(e,t,n)=>e.map(r=>au(r,t,n)),ow=(e,t)=>!!["WebGLActiveInfo","WebGLBuffer","WebGLFramebuffer","WebGLProgram","WebGLRenderbuffer","WebGLShader","WebGLShaderPrecisionFormat","WebGLTexture","WebGLUniformLocation","WebGLVertexArrayObject","WebGLVertexArrayObjectOES"].filter(i=>typeof t[i]=="function").find(i=>e instanceof t[i]);function tH(e,t,n,r,i){const a=[],s=Object.getOwnPropertyNames(t.CanvasRenderingContext2D.prototype);for(const o of s)try{if(typeof t.CanvasRenderingContext2D.prototype[o]!="function")continue;const c=Nh(t.CanvasRenderingContext2D.prototype,o,function(u){return function(...f){return Ml(this.canvas,n,r,i,!0)||iw(()=>{const l=sw(f,t,this);e(this.canvas,{type:es["2D"],property:o,args:l})},0),u.apply(this,f)}});a.push(c)}catch{const c=Ch(t.CanvasRenderingContext2D.prototype,o,{set(u){e(this.canvas,{type:es["2D"],property:o,args:[u],setter:!0})}});a.push(c)}return()=>{a.forEach(o=>o())}}function nH(e){return e==="experimental-webgl"?"webgl":e}function _y(e,t,n,r,i){const a=[];try{const s=Nh(e.HTMLCanvasElement.prototype,"getContext",function(o){return function(c,...u){if(!Ml(this,t,n,r,!0)){const f=nH(c);if("__context"in this||(this.__context=f),i&&["webgl","webgl2"].includes(f))if(u[0]&&typeof u[0]=="object"){const l=u[0];l.preserveDrawingBuffer||(l.preserveDrawingBuffer=!0)}else u.splice(0,1,{preserveDrawingBuffer:!0})}return o.apply(this,[c,...u])}});a.push(s)}catch{console.error("failed to patch HTMLCanvasElement.prototype.getContext")}return()=>{a.forEach(s=>s())}}function by(e,t,n,r,i,a,s,o){const c=[],u=Object.getOwnPropertyNames(e);for(const f of u)if(!["isContextLost","canvas","drawingBufferWidth","drawingBufferHeight"].includes(f))try{if(typeof e[f]!="function")continue;const l=Nh(e,f,function(m){return function(...g){const _=m.apply(this,g);if(aw(_,o,this),"tagName"in this.canvas&&!Ml(this.canvas,r,i,a,!0)){const T=sw(g,o,this),B={type:t,property:f,args:T};n(this.canvas,B)}return _}});c.push(l)}catch{const l=Ch(e,f,{set(m){n(this.canvas,{type:t,property:f,args:[m],setter:!0})}});c.push(l)}return c}function rH(e,t,n,r,i,a){const s=[];return s.push(...by(t.WebGLRenderingContext.prototype,es.WebGL,e,n,r,i,a,t)),typeof t.WebGL2RenderingContext<"u"&&s.push(...by(t.WebGL2RenderingContext.prototype,es.WebGL2,e,n,r,i,a,t)),()=>{s.forEach(o=>o())}}const iH='for(var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",t="undefined"==typeof Uint8Array?[]:new Uint8Array(256),a=0;a<64;a++)t[e.charCodeAt(a)]=a;var n=function(t){var a,n=new Uint8Array(t),r=n.length,s="";for(a=0;a<r;a+=3)s+=e[n[a]>>2],s+=e[(3&n[a])<<4|n[a+1]>>4],s+=e[(15&n[a+1])<<2|n[a+2]>>6],s+=e[63&n[a+2]];return r%3==2?s=s.substring(0,s.length-1)+"=":r%3==1&&(s=s.substring(0,s.length-2)+"=="),s};const r=new Map,s=new Map;const i=self;i.onmessage=async function(e){if(!("OffscreenCanvas"in globalThis))return i.postMessage({id:e.data.id});{const{id:t,bitmap:a,width:o,height:f,maxCanvasSize:c,dataURLOptions:g}=e.data,u=async function(e,t,a){const r=e+"-"+t;if("OffscreenCanvas"in globalThis){if(s.has(r))return s.get(r);const i=new OffscreenCanvas(e,t);i.getContext("2d");const o=await i.convertToBlob(a),f=await o.arrayBuffer(),c=n(f);return s.set(r,c),c}return""}(o,f,g),[h,d]=function(e,t,a){if(!a)return[e,t];const[n,r]=a;if(e<=n&&t<=r)return[e,t];let s=e,i=t;return s>n&&(i=Math.floor(n*t/e),s=n),i>r&&(s=Math.floor(r*e/t),i=r),[s,i]}(o,f,c),l=new OffscreenCanvas(h,d),w=l.getContext("bitmaprenderer"),p=h===o&&d===f?a:await createImageBitmap(a,{resizeWidth:h,resizeHeight:d,resizeQuality:"low"});w?.transferFromImageBitmap(p),a.close();const y=await l.convertToBlob(g),v=y.type,b=await y.arrayBuffer(),m=n(b);if(p.close(),!r.has(t)&&await u===m)return r.set(t,m),i.postMessage({id:t});if(r.get(t)===m)return i.postMessage({id:t});i.postMessage({id:t,type:v,base64:m,width:o,height:f}),r.set(t,m)}};';function aH(){const e=new Blob([iH]);return URL.createObjectURL(e)}class sH{constructor(t){this.pendingCanvasMutations=new Map,this.rafStamps={latestId:0,invokeId:null},this.shadowDoms=new Set,this.windowsSet=new WeakSet,this.windows=[],this.restoreHandlers=[],this.frozen=!1,this.locked=!1,this.snapshotInProgressMap=new Map,this.worker=null,this.lastSnapshotTime=0,this.processMutation=(o,c)=>{(this.rafStamps.invokeId&&this.rafStamps.latestId!==this.rafStamps.invokeId||!this.rafStamps.invokeId)&&(this.rafStamps.invokeId=this.rafStamps.latestId),this.pendingCanvasMutations.has(o)||this.pendingCanvasMutations.set(o,[]),this.pendingCanvasMutations.get(o).push(c)};const{enableManualSnapshot:n,sampling:r="all",win:i,recordCanvas:a,errorHandler:s}=t;t.sampling=r,this.mutationCb=t.mutationCb,this.mirror=t.mirror,this.options=t,s&&Zx(s),(a&&typeof r=="number"||n)&&(this.worker=this.initFPSWorker()),this.addWindow(i),!n&&Pd(()=>{a&&r==="all"&&(this.startRAFTimestamping(),this.startPendingCanvasMutationFlusher()),a&&typeof r=="number"&&this.initCanvasFPSObserver()})()}reset(){this.pendingCanvasMutations.clear(),this.restoreHandlers.forEach(t=>{try{t()}catch{}}),this.restoreHandlers=[],this.windowsSet=new WeakSet,this.windows=[],this.shadowDoms=new Set,this.worker?.terminate(),this.worker=null,this.snapshotInProgressMap=new Map}freeze(){this.frozen=!0}unfreeze(){this.frozen=!1}lock(){this.locked=!0}unlock(){this.locked=!1}addWindow(t){const{sampling:n="all",blockClass:r,blockSelector:i,unblockSelector:a,recordCanvas:s,enableManualSnapshot:o}=this.options;if(!this.windowsSet.has(t)){if(o){this.windowsSet.add(t),this.windows.push(new WeakRef(t));return}Pd(()=>{if(s&&n==="all"&&this.initCanvasMutationObserver(t,r,i,a),s&&typeof n=="number"){const c=_y(t,r,i,a,!0);this.restoreHandlers.push(()=>{c()})}})(),this.windowsSet.add(t),this.windows.push(new WeakRef(t))}}addShadowRoot(t){this.shadowDoms.add(new WeakRef(t))}resetShadowRoots(){this.shadowDoms=new Set}snapshot(t,n){if(n?.skipRequestAnimationFrame){this.takeSnapshot(performance.now(),!0,t);return}Li(r=>this.takeSnapshot(r,!0,t))}initFPSWorker(){const t=new Worker(aH());return t.onmessage=n=>{const r=n.data,{id:i}=r;if(this.snapshotInProgressMap.set(i,!1),!("base64"in r))return;const{base64:a,type:s,width:o,height:c}=r;this.mutationCb({id:i,type:es["2D"],commands:[{property:"clearRect",args:[0,0,o,c]},{property:"drawImage",args:[{rr_type:"ImageBitmap",args:[{rr_type:"Blob",data:[{rr_type:"ArrayBuffer",base64:a}],type:s}]},0,0,o,c]}]})},t}initCanvasFPSObserver(){let t;if(!this.windows.length&&!this.shadowDoms.size)return;const n=r=>{this.takeSnapshot(r,!1),t=Li(n)};t=Li(n),this.restoreHandlers.push(()=>{t&&cancelAnimationFrame(t)})}initCanvasMutationObserver(t,n,r,i){const a=_y(t,n,r,i,!1),s=tH(this.processMutation.bind(this),t,n,r,i),o=rH(this.processMutation.bind(this),t,n,r,i,this.mirror);this.restoreHandlers.push(()=>{a(),s(),o()})}getCanvasElements(t,n,r){const i=[],a=s=>{s.querySelectorAll("canvas").forEach(o=>{Ml(o,t,n,r)||i.push(o)})};for(const s of this.windows){const o=s.deref();let c;try{c=o&&o.document}catch{}c&&a(c)}for(const s of this.shadowDoms){const o=s.deref();o&&a(o)}return i}takeSnapshot(t,n,r){const{sampling:i,blockClass:a,blockSelector:s,unblockSelector:o,dataURLOptions:c,maxCanvasSize:u}=this.options,l=1e3/(i==="all"?2:i||2);return this.lastSnapshotTime&&t-this.lastSnapshotTime<l?!1:(this.lastSnapshotTime=t,(r?[r]:this.getCanvasElements(a,s,o)).forEach(_=>{const T=this.mirror.getId(_);if(!(!this.mirror.hasNode(_)||!_.width||!_.height||this.snapshotInProgressMap.get(T))){if(this.snapshotInProgressMap.set(T,!0),!n&&["webgl","webgl2"].includes(_.__context)){const B=_.getContext(_.__context);B?.getContextAttributes()?.preserveDrawingBuffer===!1&&B.clear(B.COLOR_BUFFER_BIT)}createImageBitmap(_).then(B=>{this.worker?.postMessage({id:T,bitmap:B,width:_.width,height:_.height,dataURLOptions:c,maxCanvasSize:u},[B])}).catch(B=>{Pd(()=>{throw this.snapshotInProgressMap.delete(T),B})()})}}),!0)}startPendingCanvasMutationFlusher(){Li(()=>this.flushPendingCanvasMutations())}startRAFTimestamping(){const t=n=>{this.rafStamps.latestId=n,Li(t)};Li(t)}flushPendingCanvasMutations(){this.pendingCanvasMutations.forEach((t,n)=>{const r=this.mirror.getId(n);this.flushPendingCanvasMutationFor(n,r)}),Li(()=>this.flushPendingCanvasMutations())}flushPendingCanvasMutationFor(t,n){if(this.frozen||this.locked)return;const r=this.pendingCanvasMutations.get(t);if(!r||n===-1)return;const i=r.map(s=>{const{type:o,...c}=s;return c}),{type:a}=r[0];this.mutationCb({id:n,type:a,commands:i}),this.pendingCanvasMutations.delete(t)}}try{if(Array.from([1],e=>e*2)[0]!==2){const e=document.createElement("iframe");document.body.appendChild(e),Array.from=e.contentWindow?.Array.from||Array.from,document.body.removeChild(e)}}catch(e){console.debug("Unable to override Array.from",e)}Kx();var Ey;(function(e){e[e.NotStarted=0]="NotStarted",e[e.Running=1]="Running",e[e.Stopped=2]="Stopped"})(Ey||(Ey={}));const vy={low:{sampling:{canvas:1},dataURLOptions:{type:"image/webp",quality:.25}},medium:{sampling:{canvas:2},dataURLOptions:{type:"image/webp",quality:.4}},high:{sampling:{canvas:4},dataURLOptions:{type:"image/webp",quality:.5}}},oH="ReplayCanvas",Fc=1280,cH=(e={})=>{const[t,n]=e.maxCanvasSize||[],r={quality:e.quality||"medium",enableManualSnapshot:e.enableManualSnapshot,maxCanvasSize:[t?Math.min(t,Fc):Fc,n?Math.min(n,Fc):Fc]};let i;const a=new Promise(s=>i=s);return{name:oH,getOptions(){const{quality:s,enableManualSnapshot:o,maxCanvasSize:c}=r;return{enableManualSnapshot:o,recordCanvas:!0,getCanvasManager:u=>{const f=new sH({...u,enableManualSnapshot:o,maxCanvasSize:c,errorHandler:l=>{try{typeof l=="object"&&(l.__rrweb__=!0)}catch{}}});return i(f),f},...vy[s]||vy.medium}},async snapshot(s,o){(await a).snapshot(s,o)}}},uH=cH;function vr(e=0){return((gn()||performance.timeOrigin)+e)/1e3}function lH(e){const t=[];if(e.nextHopProtocol!=null){const{name:n,version:r}=q0(e.nextHopProtocol);t.push(["network.protocol.version",r],["network.protocol.name",n])}return gn()?[...t,["http.request.redirect_start",vr(e.redirectStart)],["http.request.fetch_start",vr(e.fetchStart)],["http.request.domain_lookup_start",vr(e.domainLookupStart)],["http.request.domain_lookup_end",vr(e.domainLookupEnd)],["http.request.connect_start",vr(e.connectStart)],["http.request.secure_connection_start",vr(e.secureConnectionStart)],["http.request.connection_end",vr(e.connectEnd)],["http.request.request_start",vr(e.requestStart)],["http.request.response_start",vr(e.responseStart)],["http.request.response_end",vr(e.responseEnd)]]:t}const Sy=new WeakMap,kd=new Map,Mh={traceFetch:!0,traceXHR:!0,enableHTTPTimings:!0,trackFetchStreamPerformance:!1};function cw(e,t){const{traceFetch:n,traceXHR:r,trackFetchStreamPerformance:i,shouldCreateSpanForRequest:a,enableHTTPTimings:s,tracePropagationTargets:o,onRequestSpanStart:c}={...Mh,...t},u=typeof a=="function"?a:m=>!0,f=m=>fH(m,o),l={};n&&(e.addEventProcessor(m=>(m.type==="transaction"&&m.spans&&m.spans.forEach(g=>{if(g.op==="http.client"){const _=kd.get(g.span_id);_&&(g.timestamp=_/1e3,kd.delete(g.span_id))}}),m)),i&&RP(m=>{if(m.response){const g=Sy.get(m.response);g&&m.endTimestamp&&kd.set(g,m.endTimestamp)}}),Jp(m=>{const g=mP(m,u,f,l);if(m.response&&m.fetchData.__span&&Sy.set(m.response,m.fetchData.__span),g){const _=uw(m.fetchData.url),T=_?zi(_).host:void 0;g.setAttributes({"http.url":_,"server.address":T}),s&&wy(g),c?.(g,{headers:m.headers})}})),r&&lh(m=>{const g=pH(m,u,f,l);if(g){s&&wy(g);let _;try{_=new Headers(m.xhr.__sentry_xhr_v3__?.request_headers)}catch{}c?.(g,{headers:_})}})}function dH(e){return e.entryType==="resource"&&"initiatorType"in e&&typeof e.nextHopProtocol=="string"&&(e.initiatorType==="fetch"||e.initiatorType==="xmlhttprequest")}function wy(e){const{url:t}=$e(e).data;if(!t||typeof t!="string")return;const n=Qi("resource",({entries:r})=>{r.forEach(i=>{dH(i)&&i.name.endsWith(t)&&(lH(i).forEach(s=>e.setAttribute(...s)),setTimeout(n))})})}function fH(e,t){const n=ra();if(n){let r,i;try{r=new URL(e,n),i=new URL(n).origin}catch{return!1}const a=r.origin===i;return t?ur(r.toString(),t)||a&&ur(r.pathname,t):a}else{const r=!!e.match(/^\/(?!\/)/);return t?ur(e,t):r}}function pH(e,t,n,r){const i=e.xhr,a=i?.[Ur];if(!i||i.__sentry_own_request__||!a)return;const{url:s,method:o}=a,c=vi()&&t(s);if(e.endTimestamp&&c){const T=i.__sentry_xhr_span_id__;if(!T)return;const B=r[T];B&&a.status_code!==void 0&&(zs(B,a.status_code),B.end(),delete r[T]);return}const u=uw(s),f=zi(u||s),l=s0(s),m=!!en(),g=c&&m?oa({name:`${o} ${l}`,attributes:{url:s,type:"xhr","http.method":o,"http.url":u,"server.address":f?.host,[xt]:"auto.http.browser",[Vn]:"http.client",...f?.search&&{"http.query":f?.search},...f?.hash&&{"http.fragment":f?.hash}}}):new Xr;i.__sentry_xhr_span_id__=g.spanContext().spanId,r[i.__sentry_xhr_span_id__]=g,n(s)&&hH(i,vi()&&m?g:void 0);const _=Ce();return _&&_.emit("beforeOutgoingRequestSpan",g,e),g}function hH(e,t){const{"sentry-trace":n,baggage:r}=Yp({span:t});n&&mH(e,n,r)}function mH(e,t,n){const r=e.__sentry_xhr_v3__?.request_headers;if(!r?.["sentry-trace"])try{if(e.setRequestHeader("sentry-trace",t),n){const i=r?.baggage;(!i||!gH(i))&&e.setRequestHeader("baggage",n)}}catch{}}function gH(e){return e.split(",").some(t=>t.trim().startsWith("sentry-"))}function uw(e){try{return new URL(e,xe.location.origin).href}catch{return}}function yH(){xe.document?xe.document.addEventListener("visibilitychange",()=>{const e=en();if(!e)return;const t=Qt(e);if(xe.document.hidden&&t){const n="cancelled",{op:r,status:i}=$e(t);st&&X.log(`[Tracing] Transaction: ${n} -> since tab moved to the background, op: ${r}`),i||t.setStatus({code:qt,message:n}),t.setAttribute("sentry.cancellation_reason","document.hidden"),t.end()}}):st&&X.warn("[Tracing] Could not set up background tab detection due to lack of global document")}const _H=3600,lw="sentry_previous_trace",bH="sentry.previous_trace";function EH(e,{linkPreviousTrace:t,consistentTraceSampling:n}){const r=t==="session-storage";let i=r?wH():void 0;e.on("spanStart",s=>{if(Qt(s)!==s)return;const o=tt().getPropagationContext();i=vH(i,s,o),r&&SH(i)});let a=!0;n&&e.on("beforeSampling",s=>{if(!i)return;const o=tt(),c=o.getPropagationContext();if(a&&c.parentSpanId){a=!1;return}o.setPropagationContext({...c,dsc:{...c.dsc,sample_rate:String(i.sampleRate),sampled:String(Uf(i.spanContext))},sampleRand:i.sampleRand}),s.parentSampled=Uf(i.spanContext),s.parentSampleRate=i.sampleRate,s.spanAttributes={...s.spanAttributes,[JE]:i.sampleRate}})}function vH(e,t,n){const r=$e(t);function i(){try{return Number(n.dsc?.sample_rate)??Number(r.data?.[fl])}catch{return 0}}const a={spanContext:t.spanContext(),startTimestamp:r.start_timestamp,sampleRate:i(),sampleRand:n.sampleRand};if(!e)return a;const s=e.spanContext;return s.traceId===r.trace_id?e:(Date.now()/1e3-e.startTimestamp<=_H&&(st&&X.log(`Adding previous_trace ${s} link to span ${{op:r.op,...t.spanContext()}}`),t.addLink({context:s,attributes:{[YR]:"previous_trace"}}),t.setAttribute(bH,`${s.traceId}-${s.spanId}-${Uf(s)?1:0}`)),a)}function SH(e){try{xe.sessionStorage.setItem(lw,JSON.stringify(e))}catch(t){st&&X.warn("Could not store previous trace in sessionStorage",t)}}function wH(){try{const e=xe.sessionStorage?.getItem(lw);return JSON.parse(e)}catch{return}}function Uf(e){return e.traceFlags===1}const TH="BrowserTracing",IH={...Yc,instrumentNavigation:!0,instrumentPageLoad:!0,markBackgroundSpan:!0,enableLongTask:!0,enableLongAnimationFrame:!0,enableInp:!0,enableElementTiming:!0,ignoreResourceSpans:[],ignorePerformanceApiSpans:[],detectRedirects:!0,linkPreviousTrace:"in-memory",consistentTraceSampling:!1,_experiments:{},...Mh},AH=(e={})=>{const t={name:void 0,source:void 0},n=xe.document,{enableInp:r,enableElementTiming:i,enableLongTask:a,enableLongAnimationFrame:s,_experiments:{enableInteractions:o,enableStandaloneClsSpans:c,enableStandaloneLcpSpans:u},beforeStartSpan:f,idleTimeout:l,finalTimeout:m,childSpanTimeout:g,markBackgroundSpan:_,traceFetch:T,traceXHR:B,trackFetchStreamPerformance:U,shouldCreateSpanForRequest:J,enableHTTPTimings:K,ignoreResourceSpans:H,ignorePerformanceApiSpans:F,instrumentPageLoad:k,instrumentNavigation:j,detectRedirects:te,linkPreviousTrace:L,consistentTraceSampling:G,onRequestSpanStart:W}={...IH,...e};let z,ae;function Ee(pe,le,$=!0){const ve=le.op==="pageload",ge=f?f(le):le,fe=ge.attributes||{};if(le.name!==ge.name&&(fe[Un]="custom",ge.attributes=fe),!$){const ce=ia();oa({...ge,startTime:ce}).end(ce);return}t.name=ge.name,t.source=fe[Un];const Se=Sv(ge,{idleTimeout:l,finalTimeout:m,childSpanTimeout:g,disableAutoFinish:ve,beforeSpanEnd:ce=>{z?.(),aL(ce,{recordClsOnPageloadSpan:!c,recordLcpOnPageloadSpan:!u,ignoreResourceSpans:H,ignorePerformanceApiSpans:F}),Iy(pe,void 0);const He=tt(),Et=He.getPropagationContext();He.setPropagationContext({...Et,traceId:Se.spanContext().traceId,sampled:aa(Se),dsc:dr(ce)})}});Iy(pe,Se);function Xe(){n&&["interactive","complete"].includes(n.readyState)&&pe.emit("idleSpanEnableAutoFinish",Se)}ve&&n&&(n.addEventListener("readystatechange",()=>{Xe()}),Xe())}return{name:TH,setup(pe){if(dv(),z=Z1({recordClsStandaloneSpans:c||!1,recordLcpStandaloneSpans:u||!1,client:pe}),r&&OL(),i&&mL(),s&&Ge.PerformanceObserver&&PerformanceObserver.supportedEntryTypes&&PerformanceObserver.supportedEntryTypes.includes("long-animation-frame")?$1():a&&Q1(),o&&eL(),te&&n){const $=()=>{ae=Kt()};addEventListener("click",$,{capture:!0}),addEventListener("keydown",$,{capture:!0,passive:!0})}function le(){const $=Qs(pe);$&&!$e($).timestamp&&(st&&X.log(`[Tracing] Finishing current active span with op: ${$e($).op}`),$.setAttribute(gu,"cancelled"),$.end())}pe.on("startNavigationSpan",($,ve)=>{if(Ce()!==pe)return;if(ve?.isRedirect){st&&X.warn("[Tracing] Detected redirect, navigation span will not be the root span, but a child span."),Ee(pe,{op:"navigation.redirect",...$},!1);return}le(),$t().setPropagationContext({traceId:Kr(),sampleRand:Math.random()});const ge=tt();ge.setPropagationContext({traceId:Kr(),sampleRand:Math.random()}),ge.setSDKProcessingMetadata({normalizedRequest:void 0}),Ee(pe,{op:"navigation",...$})}),pe.on("startPageLoadSpan",($,ve={})=>{if(Ce()!==pe)return;le();const ge=ve.sentryTrace||Ty("sentry-trace"),fe=ve.baggage||Ty("baggage"),Se=rv(ge,fe),Xe=tt();Xe.setPropagationContext(Se),Xe.setSDKProcessingMetadata({normalizedRequest:nh()}),Ee(pe,{op:"pageload",...$})})},afterAllSetup(pe){let le=ra();if(L!=="off"&&EH(pe,{linkPreviousTrace:L,consistentTraceSampling:G}),xe.location){if(k){const $=gn();dw(pe,{name:xe.location.pathname,startTime:$?$/1e3:void 0,attributes:{[Un]:"url",[xt]:"auto.pageload.browser"}})}j&&Tl(({to:$,from:ve})=>{if(ve===void 0&&le?.indexOf($)!==-1){le=void 0;return}le=void 0;const ge=a0($),fe=Qs(pe),Se=fe&&te&&RH(fe,ae);fw(pe,{name:ge?.pathname||xe.location.pathname,attributes:{[Un]:"url",[xt]:"auto.navigation.browser"}},{url:$,isRedirect:Se})})}_&&yH(),o&&OH(pe,l,m,g,t),r&&NL(),cw(pe,{traceFetch:T,traceXHR:B,trackFetchStreamPerformance:U,tracePropagationTargets:pe.getOptions().tracePropagationTargets,shouldCreateSpanForRequest:J,enableHTTPTimings:K,onRequestSpanStart:W})}}};function dw(e,t,n){e.emit("startPageLoadSpan",t,n),tt().setTransactionName(t.name);const r=Qs(e);return r&&e.emit("afterStartPageLoadSpan",r),r}function fw(e,t,n){const{url:r,isRedirect:i}=n||{};e.emit("beforeStartNavigationSpan",t,{isRedirect:i}),e.emit("startNavigationSpan",t,{isRedirect:i});const a=tt();return a.setTransactionName(t.name),r&&!i&&a.setSDKProcessingMetadata({normalizedRequest:{...nh(),url:r}}),Qs(e)}function Ty(e){return xe.document?.querySelector(`meta[name=${e}]`)?.getAttribute("content")||void 0}function OH(e,t,n,r,i){const a=xe.document;let s;const o=()=>{const c="ui.action.click",u=Qs(e);if(u){const f=$e(u).op;if(["navigation","pageload"].includes(f)){st&&X.warn(`[Tracing] Did not create ${c} span because a pageload or navigation span is in progress.`);return}}if(s&&(s.setAttribute(gu,"interactionInterrupted"),s.end(),s=void 0),!i.name){st&&X.warn(`[Tracing] Did not create ${c} transaction because _latestRouteName is missing.`);return}s=Sv({name:i.name,op:c,attributes:{[Un]:i.source||"url"}},{idleTimeout:t,finalTimeout:n,childSpanTimeout:r})};a&&addEventListener("click",o,{capture:!0})}const pw="_sentry_idleSpan";function Qs(e){return e[pw]}function Iy(e,t){Pn(e,pw,t)}const Ay=.3;function RH(e,t){const n=$e(e),r=ia(),i=n.start_timestamp;return!(r-i>Ay||t&&r-t<=Ay)}function ts(e){return new Promise((t,n)=>{e.oncomplete=e.onsuccess=()=>t(e.result),e.onabort=e.onerror=()=>n(e.error)})}function CH(e,t){const n=indexedDB.open(e);n.onupgradeneeded=()=>n.result.createObjectStore(t);const r=ts(n);return i=>r.then(a=>i(a.transaction(t,"readwrite").objectStore(t)))}function Ph(e){return ts(e.getAllKeys())}function NH(e,t,n){return e(r=>Ph(r).then(i=>{if(!(i.length>=n))return r.put(t,Math.max(...i,0)+1),ts(r.transaction)}))}function MH(e,t,n){return e(r=>Ph(r).then(i=>{if(!(i.length>=n))return r.put(t,Math.min(...i,0)-1),ts(r.transaction)}))}function PH(e){return e(t=>Ph(t).then(n=>{const r=n[0];if(r!=null)return ts(t.get(r)).then(i=>(t.delete(r),ts(t.transaction).then(()=>i)))}))}function kH(e){let t;function n(){return t==null&&(t=CH(e.dbName||"sentry-offline",e.storeName||"queue")),t}return{push:async r=>{try{const i=await bu(r);await NH(n(),i,e.maxQueueSize||30)}catch{}},unshift:async r=>{try{const i=await bu(r);await MH(n(),i,e.maxQueueSize||30)}catch{}},shift:async()=>{try{const r=await PH(n());if(r)return vC(r)}catch{}}}}function LH(e){return t=>{const n=e({...t,createStore:kH});return xe.addEventListener("online",async r=>{await n.flush()}),n}}function DH(e=fh){return LH(GN(e))}const Oy=1e6,su=String(0),BH="main",Uu=xe.navigator;let hw="",mw="",gw="",jf=Uu?.userAgent||"",yw="";const FH=Uu?.language||Uu?.languages?.[0]||"";function xH(e){return typeof e=="object"&&e!==null&&"getHighEntropyValues"in e}const Ry=Uu?.userAgentData;xH(Ry)&&Ry.getHighEntropyValues(["architecture","model","platform","platformVersion","fullVersionList"]).then(e=>{if(hw=e.platform||"",gw=e.architecture||"",yw=e.model||"",mw=e.platformVersion||"",e.fullVersionList?.length){const t=e.fullVersionList[e.fullVersionList.length-1];jf=`${t.brand} ${t.version}`}}).catch(e=>{});function HH(e){return!("thread_metadata"in e)}function UH(e){return HH(e)?GH(e):e}function jH(e){const t=e.contexts?.trace?.trace_id;return typeof t=="string"&&t.length!==32&&st&&X.log(`[Profiling] Invalid traceId: ${t} on profiled event`),typeof t!="string"?"":t}function VH(e,t,n,r){if(r.type!=="transaction")throw new TypeError("Profiling events may only be attached to transactions, this should never occur.");if(n==null)throw new TypeError(`Cannot construct profiling event envelope without a valid profile. Got ${n} instead.`);const i=jH(r),a=UH(n),s=t||(typeof r.start_timestamp=="number"?r.start_timestamp*1e3:Kt()*1e3),o=typeof r.timestamp=="number"?r.timestamp*1e3:Kt()*1e3;return{event_id:e,timestamp:new Date(s).toISOString(),platform:"javascript",version:"1",release:r.release||"",environment:r.environment||pl,runtime:{name:"javascript",version:xe.navigator.userAgent},os:{name:hw,version:mw,build_number:jf},device:{locale:FH,model:yw,manufacturer:jf,architecture:gw,is_emulator:!1},debug_meta:{images:zH(n.resources)},profile:a,transactions:[{name:r.transaction||"",id:r.event_id||In(),trace_id:i,active_thread_id:su,relative_start_ns:"0",relative_end_ns:((o-s)*1e6).toFixed(0)}]}}function _w(e){return $e(e).op==="pageload"}function GH(e){let t,n=0;const r={samples:[],stacks:[],frames:[],thread_metadata:{[su]:{name:BH}}},i=e.samples[0];if(!i)return r;const a=i.timestamp,s=gn(),o=typeof performance.timeOrigin=="number"?performance.timeOrigin:s||0,c=o-(s||o);return e.samples.forEach((u,f)=>{if(u.stackId===void 0){t===void 0&&(t=n,r.stacks[t]=[],n++),r.samples[f]={elapsed_since_start_ns:((u.timestamp+c-a)*Oy).toFixed(0),stack_id:t,thread_id:su};return}let l=e.stacks[u.stackId];const m=[];for(;l;){m.push(l.frameId);const _=e.frames[l.frameId];_&&r.frames[l.frameId]===void 0&&(r.frames[l.frameId]={function:_.name,abs_path:typeof _.resourceId=="number"?e.resources[_.resourceId]:void 0,lineno:_.line,colno:_.column}),l=l.parentId===void 0?void 0:e.stacks[l.parentId]}const g={elapsed_since_start_ns:((u.timestamp+c-a)*Oy).toFixed(0),stack_id:n,thread_id:su};r.stacks[n]=m,r.samples[f]=g,n++}),r}function qH(e,t){if(!t.length)return e;for(const n of t)e[1].push([{type:"profile"},n]);return e}function WH(e){const t=[];return Ji(e,(n,r)=>{if(r==="transaction")for(let i=1;i<n.length;i++)n[i]?.contexts?.profile?.profile_id&&t.push(n[i])}),t}function zH(e){const r=Ce()?.getOptions()?.stackParser;return r?ZC(r,e):[]}function YH(e){return typeof e!="number"&&typeof e!="boolean"||typeof e=="number"&&isNaN(e)?(st&&X.warn(`[Profiling] Invalid sample rate. Sample rate must be a boolean or a number between 0 and 1. Got ${JSON.stringify(e)} of type ${JSON.stringify(typeof e)}.`),!1):e===!0||e===!1?!0:e<0||e>1?(st&&X.warn(`[Profiling] Invalid sample rate. Sample rate must be between 0 and 1. Got ${e}.`),!1):!0}function KH(e){return e.samples.length<2?(st&&X.log("[Profiling] Discarding profile because it contains less than 2 samples"),!1):e.frames.length?!0:(st&&X.log("[Profiling] Discarding profile because it contains no frames"),!1)}let bw=!1;const Ew=3e4;function XH(e){return typeof e=="function"}function JH(){const e=xe.Profiler;if(!XH(e)){st&&X.log("[Profiling] Profiling is not supported by this browser, Profiler interface missing on window object.");return}const t=10,n=Math.floor(Ew/t);try{return new e({sampleInterval:t,maxBufferSize:n})}catch{st&&(X.log("[Profiling] Failed to initialize the Profiling constructor, this is likely due to a missing 'Document-Policy': 'js-profiling' header."),X.log("[Profiling] Disabling profiling for current user session.")),bw=!0}}function Cy(e){if(bw)return st&&X.log("[Profiling] Profiling has been disabled for the duration of the current user session."),!1;if(!e.isRecording())return st&&X.log("[Profiling] Discarding profile because transaction was not sampled."),!1;const n=Ce()?.getOptions();if(!n)return st&&X.log("[Profiling] Profiling disabled, no options found."),!1;const r=n.profilesSampleRate;return YH(r)?r?(r===!0?!0:Math.random()<r)?!0:(st&&X.log(`[Profiling] Discarding profile because it's not included in the random sample (sampling rate = ${Number(r)})`),!1):(st&&X.log("[Profiling] Discarding profile because a negative sampling decision was inherited or profileSampleRate is set to 0"),!1):(st&&X.warn("[Profiling] Discarding profile because of invalid sample rate."),!1)}function ZH(e,t,n,r){return KH(n)?VH(e,t,n,r):null}const Gi=new Map;function QH(){return Gi.size}function $H(e){const t=Gi.get(e);return t&&Gi.delete(e),t}function eU(e,t){if(Gi.set(e,t),Gi.size>30){const n=Gi.keys().next().value;Gi.delete(n)}}function Ny(e){let t;_w(e)&&(t=Kt()*1e3);const n=JH();if(!n)return;st&&X.log(`[Profiling] started profiling span: ${$e(e).description}`);const r=In();tt().setContext("profile",{profile_id:r,start_timestamp:t});async function i(){if(e&&n)return n.stop().then(c=>{if(a&&(xe.clearTimeout(a),a=void 0),st&&X.log(`[Profiling] stopped profiling of span: ${$e(e).description}`),!c){st&&X.log(`[Profiling] profiler returned null profile for: ${$e(e).description}`,"this may indicate an overlapping span or a call to stopProfiling with a profile title that was never started");return}eU(r,c)}).catch(c=>{st&&X.log("[Profiling] error while stopping profiler:",c)})}let a=xe.setTimeout(()=>{st&&X.log("[Profiling] max profile duration elapsed, stopping profiling for:",$e(e).description),i()},Ew);const s=e.end.bind(e);function o(){return e?(i().then(()=>{s()},()=>{s()}),e):s()}e.end=o}const tU="BrowserProfiling",nU=()=>({name:tU,setup(e){const t=en(),n=t&&Qt(t);n&&_w(n)&&Cy(n)&&Ny(n),e.on("spanStart",r=>{r===Qt(r)&&Cy(r)&&Ny(r)}),e.on("beforeEnvelope",r=>{if(!QH())return;const i=WH(r);if(!i.length)return;const a=[];for(const s of i){const o=s?.contexts,c=o?.profile?.profile_id,u=o?.profile?.start_timestamp;if(typeof c!="string"){st&&X.log("[Profiling] cannot find profile for a span without a profile context");continue}if(!c){st&&X.log("[Profiling] cannot find profile for a span without a profile context");continue}o?.profile&&delete o.profile;const f=$H(c);if(!f){st&&X.log(`[Profiling] Could not retrieve profile for span: ${c}`);continue}const l=ZH(c,u,f,s);l&&a.push(l)}qH(r,a)})}}),rU=nU,iU="SpotlightBrowser",aU=(e={})=>{const t=e.sidecarUrl||"http://localhost:8969/stream";return{name:iU,setup:()=>{st&&X.log("Using Sidecar URL",t)},processEvent:n=>cU(n)?null:n,afterAllSetup:n=>{sU(n,t)}}};function sU(e,t){const n=uh("fetch");let r=0;e.on("beforeEnvelope",i=>{if(r>3){X.warn("[Spotlight] Disabled Sentry -> Spotlight integration due to too many failed requests:",r);return}n(t,{method:"POST",body:bu(i),headers:{"Content-Type":"application/x-sentry-envelope"},mode:"cors"}).then(a=>{a.status>=200&&a.status<400&&(r=0)},a=>{r++,X.error("Sentry SDK can't connect to Sidecar is it running? See: https://spotlightjs.com/sidecar/npx/",a)})})}const oU=aU;function cU(e){return!!(e.type==="transaction"&&e.spans&&e.contexts?.trace&&e.contexts.trace.op==="ui.action.click"&&e.spans.some(({description:t})=>t?.includes("#sentry-spotlight")))}const uU=()=>({name:"LaunchDarkly",processEvent(e,t,n){return yo(e)}});function lU(){return{name:"sentry-flag-auditor",type:"flag-used",synchronous:!0,method:(e,t,n)=>{Ga(e,t.value),qa(e,t.value)}}}const dU=()=>({name:"OpenFeature",processEvent(e,t,n){return yo(e)}});class fU{after(t,n){Ga(n.flagKey,n.value),qa(n.flagKey,n.value)}error(t,n,r){Ga(t.flagKey,t.defaultValue),qa(t.flagKey,t.defaultValue)}}const pU=({featureFlagClientClass:e})=>({name:"Unleash",setupOnce(){const t=e.prototype;Tn(t,"isEnabled",hU)},processEvent(t,n,r){return yo(t)}});function hU(e){return function(...t){const n=t[0],r=e.apply(this,t);return typeof n=="string"&&typeof r=="boolean"?(Ga(n,r),qa(n,r)):st&&X.error(`[Feature Flags] UnleashClient.isEnabled does not match expected signature. arg0: ${n} (${typeof n}), result: ${r} (${typeof r})`),r}}const mU=({featureFlagClient:e})=>({name:"Statsig",setup(t){e.on("gate_evaluation",n=>{Ga(n.gate.name,n.gate.value),qa(n.gate.name,n.gate.value)})},processEvent(t,n,r){return yo(t)}});async function gU(){const e=Ce();if(!e)return"no-client-active";if(!e.getDsn())return"no-dsn-configured";try{await fetch("https://o447951.ingest.sentry.io/api/4509632503087104/envelope/?sentry_version=7&sentry_key=c1dfb07d783ad5325c245c1fd3725390&sentry_client=sentry.javascript.browser%2F1.33.7",{body:"{}",method:"POST",mode:"cors",credentials:"omit"})}catch{return"sentry-unreachable"}}const yU="WebWorker",_U=({worker:e})=>({name:yU,setupOnce:()=>{(Array.isArray(e)?e:[e]).forEach(t=>My(t))},addWorker:t=>My(t)});function My(e){e.addEventListener("message",t=>{EU(t.data)&&(t.stopImmediatePropagation(),st&&X.log("Sentry debugId web worker message received",t.data),xe._sentryDebugIds={...t.data._sentryDebugIds,...xe._sentryDebugIds})})}function bU({self:e}){e.postMessage({_sentryMessage:!0,_sentryDebugIds:e._sentryDebugIds??void 0})}function EU(e){return zr(e)&&e._sentryMessage===!0&&"_sentryDebugIds"in e&&(zr(e._sentryDebugIds)||e._sentryDebugIds===void 0)}const vU=Object.freeze(Object.defineProperty({__proto__:null,BrowserClient:N0,OpenFeatureIntegrationHook:fU,SDK_VERSION:Vr,SEMANTIC_ATTRIBUTE_SENTRY_OP:Vn,SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN:xt,SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE:fl,SEMANTIC_ATTRIBUTE_SENTRY_SOURCE:Un,Scope:lr,WINDOW:xe,addBreadcrumb:Rr,addEventProcessor:Rv,addIntegration:pf,breadcrumbsIntegration:eS,browserApiErrorsIntegration:tS,browserProfilingIntegration:rU,browserSessionIntegration:nS,browserTracingIntegration:AH,buildLaunchDarklyFlagUsedHandler:lU,captureConsoleIntegration:EM,captureEvent:go,captureException:Zi,captureFeedback:o0,captureMessage:wu,captureSession:ff,chromeStackLineParser:X0,close:hN,consoleLoggingIntegration:wP,contextLinesIntegration:e2,continueTrace:BC,createTransport:Gv,createUserFeedbackEnvelope:QL,dedupeIntegration:$v,defaultRequestInstrumentationOptions:Mh,defaultStackLineParsers:Z0,defaultStackParser:Q0,diagnoseSdkConnectivity:gU,endSession:Wp,eventFiltersIntegration:Kv,eventFromException:R0,eventFromMessage:C0,exceptionFromError:bl,extraErrorDataIntegration:CM,featureFlagsIntegration:fP,feedbackAsyncIntegration:Zk,feedbackIntegration:Pg,feedbackSyncIntegration:Pg,flush:pN,forceLoad:MD,functionToStringIntegration:Yv,geckoStackLineParser:J0,getActiveSpan:en,getClient:Ce,getCurrentScope:tt,getDefaultIntegrations:oS,getFeedback:ok,getGlobalScope:dl,getIsolationScope:$t,getReplay:qx,getRootSpan:Qt,getSpanDescendants:xs,getSpanStatusFromHttpCode:ZE,getTraceData:Yp,globalHandlersIntegration:rS,graphqlClientIntegration:c2,httpClientIntegration:UD,httpContextIntegration:aS,inboundFiltersIntegration:Xv,init:ND,instrumentOutgoingRequests:cw,instrumentSupabaseClient:r0,isEnabled:Ov,isInitialized:mN,lastEventId:Av,launchDarklyIntegration:uU,lazyLoadIntegration:A0,linkedErrorsIntegration:sS,logger:i1,makeBrowserOfflineTransport:DH,makeFetchTransport:fh,makeMultiplexedTransport:zN,moduleMetadataIntegration:gM,onLoad:PD,openFeatureIntegration:dU,opera10StackLineParser:KL,opera11StackLineParser:ZL,parameterize:zv,registerSpanErrorInstrumentation:dv,registerWebWorker:bU,replayCanvasIntegration:uH,replayIntegration:jx,reportingObserverIntegration:FD,rewriteFramesIntegration:xM,sendFeedback:f0,setContext:Iv,setCurrentClient:xv,setExtra:uN,setExtras:cN,setHttpStatus:zs,setMeasurement:bv,setTag:dN,setTags:lN,setUser:fN,showReportDialog:kD,spanToBaggageHeader:fC,spanToJSON:$e,spanToTraceHeader:ov,spotlightBrowserIntegration:oU,startBrowserTracingNavigationSpan:fw,startBrowserTracingPageLoadSpan:dw,startInactiveSpan:oa,startNewTrace:xC,startSession:df,startSpan:ml,startSpanManual:DC,statsigIntegration:mU,supabaseIntegration:ZM,suppressTracing:FC,thirdPartyErrorFilterIntegration:oP,unleashIntegration:pU,updateSpanName:sC,webWorkerIntegration:_U,winjsStackLineParser:WL,withActiveSpan:ho,withIsolationScope:qR,withScope:Zn,zodErrorsIntegration:sP},Symbol.toStringTag,{value:"Module"})),Pl=e=>{typeof window<"u"&&window.Sentry&&e(vU)},{useEffect:SU}=await kn("react"),vw=(e,t)=>SU(()=>{const n=e().catch(r=>{console.error("AsyncEffect error: ",r),Pl(i=>i.captureException("AsyncEffect error: "+r.message,{extra:r}))});return function(){n.then(r=>{typeof r=="function"&&r()})}},t),{createContext:wU,useMemo:TU,useRef:IU,useState:AU}=await kn("react"),Sw=wU(null),Uj=e=>{const{writeKey:t,userId:n,traits:r,children:i}=e,a=IU(null),[s,o]=AU(!1);vw(async()=>{if(!t){console.log("[Analytics] No writeKey provided");return}const u=navigator.userAgent;if(lR(u)){console.log("[Analytics] Skipping load: bot detected");return}try{const{AnalyticsBrowser:l}=await rT(async()=>{const{AnalyticsBrowser:m}=await import("../index-BhvB7qtA.js").then(g=>g.q);return{AnalyticsBrowser:m}},__vite__mapDeps([0,1,2,3,4]));a.current=l.load({writeKey:t}),n&&a.current.identify(n,r),o(!0)}catch(l){console.error("[Analytics] Failed to initialize:",l),a.current=null}},[t,n,r]);const c=TU(()=>!a.current||!s?{isInitialized:!1,track:()=>{},identify:()=>{},page:()=>{}}:{isInitialized:!0,track:(u,f)=>{a.current?.track(u,f)},identify:(u,f)=>{a.current?.identify(u,f)},page:(u,f)=>{a.current?.page(u,f)}},[s]);return m_.jsx(Sw.Provider,{value:c,children:i})},{createContext:OU}=await kn("react"),ww=OU(null);function wr(e,t){var n=t&&t.cache?t.cache:LU,r=t&&t.serializer?t.serializer:PU,i=t&&t.strategy?t.strategy:NU;return i(e,{cache:n,serializer:r})}function RU(e){return e==null||typeof e=="number"||typeof e=="boolean"}function CU(e,t,n,r){var i=RU(r)?r:n(r),a=t.get(i);return typeof a>"u"&&(a=e.call(this,r),t.set(i,a)),a}function Tw(e,t,n){var r=Array.prototype.slice.call(arguments,3),i=n(r),a=t.get(i);return typeof a>"u"&&(a=e.apply(this,r),t.set(i,a)),a}function Iw(e,t,n,r,i){return n.bind(t,e,r,i)}function NU(e,t){var n=e.length===1?CU:Tw;return Iw(e,this,n,t.cache.create(),t.serializer)}function MU(e,t){return Iw(e,this,Tw,t.cache.create(),t.serializer)}var PU=function(){return JSON.stringify(arguments)},kU=function(){function e(){this.cache=Object.create(null)}return e.prototype.get=function(t){return this.cache[t]},e.prototype.set=function(t,n){this.cache[t]=n},e}(),LU={create:function(){return new kU}},Tr={variadic:MU},ft;(function(e){e[e.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",e[e.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",e[e.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",e[e.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",e[e.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",e[e.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",e[e.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",e[e.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",e[e.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",e[e.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",e[e.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",e[e.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",e[e.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",e[e.INVALID_TAG=23]="INVALID_TAG",e[e.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",e[e.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",e[e.UNCLOSED_TAG=27]="UNCLOSED_TAG"})(ft||(ft={}));var Pt;(function(e){e[e.literal=0]="literal",e[e.argument=1]="argument",e[e.number=2]="number",e[e.date=3]="date",e[e.time=4]="time",e[e.select=5]="select",e[e.plural=6]="plural",e[e.pound=7]="pound",e[e.tag=8]="tag"})(Pt||(Pt={}));var ns;(function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"})(ns||(ns={}));function Py(e){return e.type===Pt.literal}function DU(e){return e.type===Pt.argument}function Aw(e){return e.type===Pt.number}function Ow(e){return e.type===Pt.date}function Rw(e){return e.type===Pt.time}function Cw(e){return e.type===Pt.select}function Nw(e){return e.type===Pt.plural}function BU(e){return e.type===Pt.pound}function Mw(e){return e.type===Pt.tag}function Pw(e){return!!(e&&typeof e=="object"&&e.type===ns.number)}function Vf(e){return!!(e&&typeof e=="object"&&e.type===ns.dateTime)}var kw=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,FU=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;function xU(e){var t={};return e.replace(FU,function(n){var r=n.length;switch(n[0]){case"G":t.era=r===4?"long":r===5?"narrow":"short";break;case"y":t.year=r===2?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":t.month=["numeric","2-digit","short","long","narrow"][r-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":t.day=["numeric","2-digit"][r-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":t.weekday=r===4?"long":r===5?"narrow":"short";break;case"e":if(r<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][r-4];break;case"c":if(r<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][r-4];break;case"a":t.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":t.hourCycle="h12",t.hour=["numeric","2-digit"][r-1];break;case"H":t.hourCycle="h23",t.hour=["numeric","2-digit"][r-1];break;case"K":t.hourCycle="h11",t.hour=["numeric","2-digit"][r-1];break;case"k":t.hourCycle="h24",t.hour=["numeric","2-digit"][r-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":t.minute=["numeric","2-digit"][r-1];break;case"s":t.second=["numeric","2-digit"][r-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":t.timeZoneName=r<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""}),t}var HU=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function UU(e){if(e.length===0)throw new Error("Number skeleton cannot be empty");for(var t=e.split(HU).filter(function(m){return m.length>0}),n=[],r=0,i=t;r<i.length;r++){var a=i[r],s=a.split("/");if(s.length===0)throw new Error("Invalid number skeleton");for(var o=s[0],c=s.slice(1),u=0,f=c;u<f.length;u++){var l=f[u];if(l.length===0)throw new Error("Invalid number skeleton")}n.push({stem:o,options:c})}return n}function jU(e){return e.replace(/^(.*?)-/,"")}var ky=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,Lw=/^(@+)?(\+|#+)?[rs]?$/g,VU=/(\*)(0+)|(#+)(0+)|(0+)/g,Dw=/^(0+)$/;function Ly(e){var t={};return e[e.length-1]==="r"?t.roundingPriority="morePrecision":e[e.length-1]==="s"&&(t.roundingPriority="lessPrecision"),e.replace(Lw,function(n,r,i){return typeof i!="string"?(t.minimumSignificantDigits=r.length,t.maximumSignificantDigits=r.length):i==="+"?t.minimumSignificantDigits=r.length:r[0]==="#"?t.maximumSignificantDigits=r.length:(t.minimumSignificantDigits=r.length,t.maximumSignificantDigits=r.length+(typeof i=="string"?i.length:0)),""}),t}function Bw(e){switch(e){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function GU(e){var t;if(e[0]==="E"&&e[1]==="E"?(t={notation:"engineering"},e=e.slice(2)):e[0]==="E"&&(t={notation:"scientific"},e=e.slice(1)),t){var n=e.slice(0,2);if(n==="+!"?(t.signDisplay="always",e=e.slice(2)):n==="+?"&&(t.signDisplay="exceptZero",e=e.slice(2)),!Dw.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function Dy(e){var t={},n=Bw(e);return n||t}function qU(e){for(var t={},n=0,r=e;n<r.length;n++){var i=r[n];switch(i.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent",t.scale=100;continue;case"currency":t.style="currency",t.currency=i.options[0];continue;case"group-off":case",_":t.useGrouping=!1;continue;case"precision-integer":case".":t.maximumFractionDigits=0;continue;case"measure-unit":case"unit":t.style="unit",t.unit=jU(i.options[0]);continue;case"compact-short":case"K":t.notation="compact",t.compactDisplay="short";continue;case"compact-long":case"KK":t.notation="compact",t.compactDisplay="long";continue;case"scientific":t=Fe(Fe(Fe({},t),{notation:"scientific"}),i.options.reduce(function(c,u){return Fe(Fe({},c),Dy(u))},{}));continue;case"engineering":t=Fe(Fe(Fe({},t),{notation:"engineering"}),i.options.reduce(function(c,u){return Fe(Fe({},c),Dy(u))},{}));continue;case"notation-simple":t.notation="standard";continue;case"unit-width-narrow":t.currencyDisplay="narrowSymbol",t.unitDisplay="narrow";continue;case"unit-width-short":t.currencyDisplay="code",t.unitDisplay="short";continue;case"unit-width-full-name":t.currencyDisplay="name",t.unitDisplay="long";continue;case"unit-width-iso-code":t.currencyDisplay="symbol";continue;case"scale":t.scale=parseFloat(i.options[0]);continue;case"rounding-mode-floor":t.roundingMode="floor";continue;case"rounding-mode-ceiling":t.roundingMode="ceil";continue;case"rounding-mode-down":t.roundingMode="trunc";continue;case"rounding-mode-up":t.roundingMode="expand";continue;case"rounding-mode-half-even":t.roundingMode="halfEven";continue;case"rounding-mode-half-down":t.roundingMode="halfTrunc";continue;case"rounding-mode-half-up":t.roundingMode="halfExpand";continue;case"integer-width":if(i.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");i.options[0].replace(VU,function(c,u,f,l,m,g){if(u)t.minimumIntegerDigits=f.length;else{if(l&&m)throw new Error("We currently do not support maximum integer digits");if(g)throw new Error("We currently do not support exact integer digits")}return""});continue}if(Dw.test(i.stem)){t.minimumIntegerDigits=i.stem.length;continue}if(ky.test(i.stem)){if(i.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace(ky,function(c,u,f,l,m,g){return f==="*"?t.minimumFractionDigits=u.length:l&&l[0]==="#"?t.maximumFractionDigits=l.length:m&&g?(t.minimumFractionDigits=m.length,t.maximumFractionDigits=m.length+g.length):(t.minimumFractionDigits=u.length,t.maximumFractionDigits=u.length),""});var a=i.options[0];a==="w"?t=Fe(Fe({},t),{trailingZeroDisplay:"stripIfInteger"}):a&&(t=Fe(Fe({},t),Ly(a)));continue}if(Lw.test(i.stem)){t=Fe(Fe({},t),Ly(i.stem));continue}var s=Bw(i.stem);s&&(t=Fe(Fe({},t),s));var o=GU(i.stem);o&&(t=Fe(Fe({},t),o))}return t}var xc={"001":["H","h"],419:["h","H","hB","hb"],AC:["H","h","hb","hB"],AD:["H","hB"],AE:["h","hB","hb","H"],AF:["H","hb","hB","h"],AG:["h","hb","H","hB"],AI:["H","h","hb","hB"],AL:["h","H","hB"],AM:["H","hB"],AO:["H","hB"],AR:["h","H","hB","hb"],AS:["h","H"],AT:["H","hB"],AU:["h","hb","H","hB"],AW:["H","hB"],AX:["H"],AZ:["H","hB","h"],BA:["H","hB","h"],BB:["h","hb","H","hB"],BD:["h","hB","H"],BE:["H","hB"],BF:["H","hB"],BG:["H","hB","h"],BH:["h","hB","hb","H"],BI:["H","h"],BJ:["H","hB"],BL:["H","hB"],BM:["h","hb","H","hB"],BN:["hb","hB","h","H"],BO:["h","H","hB","hb"],BQ:["H"],BR:["H","hB"],BS:["h","hb","H","hB"],BT:["h","H"],BW:["H","h","hb","hB"],BY:["H","h"],BZ:["H","h","hb","hB"],CA:["h","hb","H","hB"],CC:["H","h","hb","hB"],CD:["hB","H"],CF:["H","h","hB"],CG:["H","hB"],CH:["H","hB","h"],CI:["H","hB"],CK:["H","h","hb","hB"],CL:["h","H","hB","hb"],CM:["H","h","hB"],CN:["H","hB","hb","h"],CO:["h","H","hB","hb"],CP:["H"],CR:["h","H","hB","hb"],CU:["h","H","hB","hb"],CV:["H","hB"],CW:["H","hB"],CX:["H","h","hb","hB"],CY:["h","H","hb","hB"],CZ:["H"],DE:["H","hB"],DG:["H","h","hb","hB"],DJ:["h","H"],DK:["H"],DM:["h","hb","H","hB"],DO:["h","H","hB","hb"],DZ:["h","hB","hb","H"],EA:["H","h","hB","hb"],EC:["h","H","hB","hb"],EE:["H","hB"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],ER:["h","H"],ES:["H","hB","h","hb"],ET:["hB","hb","h","H"],FI:["H"],FJ:["h","hb","H","hB"],FK:["H","h","hb","hB"],FM:["h","hb","H","hB"],FO:["H","h"],FR:["H","hB"],GA:["H","hB"],GB:["H","h","hb","hB"],GD:["h","hb","H","hB"],GE:["H","hB","h"],GF:["H","hB"],GG:["H","h","hb","hB"],GH:["h","H"],GI:["H","h","hb","hB"],GL:["H","h"],GM:["h","hb","H","hB"],GN:["H","hB"],GP:["H","hB"],GQ:["H","hB","h","hb"],GR:["h","H","hb","hB"],GT:["h","H","hB","hb"],GU:["h","hb","H","hB"],GW:["H","hB"],GY:["h","hb","H","hB"],HK:["h","hB","hb","H"],HN:["h","H","hB","hb"],HR:["H","hB"],HU:["H","h"],IC:["H","h","hB","hb"],ID:["H"],IE:["H","h","hb","hB"],IL:["H","hB"],IM:["H","h","hb","hB"],IN:["h","H"],IO:["H","h","hb","hB"],IQ:["h","hB","hb","H"],IR:["hB","H"],IS:["H"],IT:["H","hB"],JE:["H","h","hb","hB"],JM:["h","hb","H","hB"],JO:["h","hB","hb","H"],JP:["H","K","h"],KE:["hB","hb","H","h"],KG:["H","h","hB","hb"],KH:["hB","h","H","hb"],KI:["h","hb","H","hB"],KM:["H","h","hB","hb"],KN:["h","hb","H","hB"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],KW:["h","hB","hb","H"],KY:["h","hb","H","hB"],KZ:["H","hB"],LA:["H","hb","hB","h"],LB:["h","hB","hb","H"],LC:["h","hb","H","hB"],LI:["H","hB","h"],LK:["H","h","hB","hb"],LR:["h","hb","H","hB"],LS:["h","H"],LT:["H","h","hb","hB"],LU:["H","h","hB"],LV:["H","hB","hb","h"],LY:["h","hB","hb","H"],MA:["H","h","hB","hb"],MC:["H","hB"],MD:["H","hB"],ME:["H","hB","h"],MF:["H","hB"],MG:["H","h"],MH:["h","hb","H","hB"],MK:["H","h","hb","hB"],ML:["H"],MM:["hB","hb","H","h"],MN:["H","h","hb","hB"],MO:["h","hB","hb","H"],MP:["h","hb","H","hB"],MQ:["H","hB"],MR:["h","hB","hb","H"],MS:["H","h","hb","hB"],MT:["H","h"],MU:["H","h"],MV:["H","h"],MW:["h","hb","H","hB"],MX:["h","H","hB","hb"],MY:["hb","hB","h","H"],MZ:["H","hB"],NA:["h","H","hB","hb"],NC:["H","hB"],NE:["H"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NI:["h","H","hB","hb"],NL:["H","hB"],NO:["H","h"],NP:["H","h","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],NZ:["h","hb","H","hB"],OM:["h","hB","hb","H"],PA:["h","H","hB","hb"],PE:["h","H","hB","hb"],PF:["H","h","hB"],PG:["h","H"],PH:["h","hB","hb","H"],PK:["h","hB","H"],PL:["H","h"],PM:["H","hB"],PN:["H","h","hb","hB"],PR:["h","H","hB","hb"],PS:["h","hB","hb","H"],PT:["H","hB"],PW:["h","H"],PY:["h","H","hB","hb"],QA:["h","hB","hb","H"],RE:["H","hB"],RO:["H","hB"],RS:["H","hB","h"],RU:["H"],RW:["H","h"],SA:["h","hB","hb","H"],SB:["h","hb","H","hB"],SC:["H","h","hB"],SD:["h","hB","hb","H"],SE:["H"],SG:["h","hb","H","hB"],SH:["H","h","hb","hB"],SI:["H","hB"],SJ:["H"],SK:["H"],SL:["h","hb","H","hB"],SM:["H","h","hB"],SN:["H","h","hB"],SO:["h","H"],SR:["H","hB"],SS:["h","hb","H","hB"],ST:["H","hB"],SV:["h","H","hB","hb"],SX:["H","h","hb","hB"],SY:["h","hB","hb","H"],SZ:["h","hb","H","hB"],TA:["H","h","hb","hB"],TC:["h","hb","H","hB"],TD:["h","H","hB"],TF:["H","h","hB"],TG:["H","hB"],TH:["H","h"],TJ:["H","h"],TL:["H","hB","hb","h"],TM:["H","h"],TN:["h","hB","hb","H"],TO:["h","H"],TR:["H","hB"],TT:["h","hb","H","hB"],TW:["hB","hb","h","H"],TZ:["hB","hb","H","h"],UA:["H","hB","h"],UG:["hB","hb","H","h"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],UY:["h","H","hB","hb"],UZ:["H","hB","h"],VA:["H","h","hB"],VC:["h","hb","H","hB"],VE:["h","H","hB","hb"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],VN:["H","h"],VU:["h","H"],WF:["H","hB"],WS:["h","H"],XK:["H","hB","h"],YE:["h","hB","hb","H"],YT:["H","hB"],ZA:["H","h","hb","hB"],ZM:["h","hb","H","hB"],ZW:["H","h"],"af-ZA":["H","h","hB","hb"],"ar-001":["h","hB","hb","H"],"ca-ES":["H","h","hB"],"en-001":["h","hb","H","hB"],"en-HK":["h","hb","H","hB"],"en-IL":["H","h","hb","hB"],"en-MY":["h","hb","H","hB"],"es-BR":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"gu-IN":["hB","hb","h","H"],"hi-IN":["hB","h","H"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],"ta-IN":["hB","h","hb","H"],"te-IN":["hB","h","H"],"zu-ZA":["H","hB","hb","h"]};function WU(e,t){for(var n="",r=0;r<e.length;r++){var i=e.charAt(r);if(i==="j"){for(var a=0;r+1<e.length&&e.charAt(r+1)===i;)a++,r++;var s=1+(a&1),o=a<2?1:3+(a>>1),c="a",u=zU(t);for((u=="H"||u=="k")&&(o=0);o-- >0;)n+=c;for(;s-- >0;)n=u+n}else i==="J"?n+="H":n+=i}return n}function zU(e){var t=e.hourCycle;if(t===void 0&&e.hourCycles&&e.hourCycles.length&&(t=e.hourCycles[0]),t)switch(t){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}var n=e.language,r;n!=="root"&&(r=e.maximize().region);var i=xc[r||""]||xc[n||""]||xc["".concat(n,"-001")]||xc["001"];return i[0]}var Ld,YU=new RegExp("^".concat(kw.source,"*")),KU=new RegExp("".concat(kw.source,"*$"));function ht(e,t){return{start:e,end:t}}var XU=!!String.prototype.startsWith&&"_a".startsWith("a",1),JU=!!String.fromCodePoint,ZU=!!Object.fromEntries,QU=!!String.prototype.codePointAt,$U=!!String.prototype.trimStart,e3=!!String.prototype.trimEnd,t3=!!Number.isSafeInteger,n3=t3?Number.isSafeInteger:function(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},Gf=!0;try{var r3=xw("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");Gf=((Ld=r3.exec("a"))===null||Ld===void 0?void 0:Ld[0])==="a"}catch{Gf=!1}var By=XU?function(t,n,r){return t.startsWith(n,r)}:function(t,n,r){return t.slice(r,r+n.length)===n},qf=JU?String.fromCodePoint:function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];for(var r="",i=t.length,a=0,s;i>a;){if(s=t[a++],s>1114111)throw RangeError(s+" is not a valid code point");r+=s<65536?String.fromCharCode(s):String.fromCharCode(((s-=65536)>>10)+55296,s%1024+56320)}return r},Fy=ZU?Object.fromEntries:function(t){for(var n={},r=0,i=t;r<i.length;r++){var a=i[r],s=a[0],o=a[1];n[s]=o}return n},Fw=QU?function(t,n){return t.codePointAt(n)}:function(t,n){var r=t.length;if(!(n<0||n>=r)){var i=t.charCodeAt(n),a;return i<55296||i>56319||n+1===r||(a=t.charCodeAt(n+1))<56320||a>57343?i:(i-55296<<10)+(a-56320)+65536}},i3=$U?function(t){return t.trimStart()}:function(t){return t.replace(YU,"")},a3=e3?function(t){return t.trimEnd()}:function(t){return t.replace(KU,"")};function xw(e,t){return new RegExp(e,t)}var Wf;if(Gf){var xy=xw("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");Wf=function(t,n){var r;xy.lastIndex=n;var i=xy.exec(t);return(r=i[1])!==null&&r!==void 0?r:""}}else Wf=function(t,n){for(var r=[];;){var i=Fw(t,n);if(i===void 0||Hw(i)||u3(i))break;r.push(i),n+=i>=65536?2:1}return qf.apply(void 0,r)};var s3=function(){function e(t,n){n===void 0&&(n={}),this.message=t,this.position={offset:0,line:1,column:1},this.ignoreTag=!!n.ignoreTag,this.locale=n.locale,this.requiresOtherClause=!!n.requiresOtherClause,this.shouldParseSkeletons=!!n.shouldParseSkeletons}return e.prototype.parse=function(){if(this.offset()!==0)throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(t,n,r){for(var i=[];!this.isEOF();){var a=this.char();if(a===123){var s=this.parseArgument(t,r);if(s.err)return s;i.push(s.val)}else{if(a===125&&t>0)break;if(a===35&&(n==="plural"||n==="selectordinal")){var o=this.clonePosition();this.bump(),i.push({type:Pt.pound,location:ht(o,this.clonePosition())})}else if(a===60&&!this.ignoreTag&&this.peek()===47){if(r)break;return this.error(ft.UNMATCHED_CLOSING_TAG,ht(this.clonePosition(),this.clonePosition()))}else if(a===60&&!this.ignoreTag&&zf(this.peek()||0)){var s=this.parseTag(t,n);if(s.err)return s;i.push(s.val)}else{var s=this.parseLiteral(t,n);if(s.err)return s;i.push(s.val)}}}return{val:i,err:null}},e.prototype.parseTag=function(t,n){var r=this.clonePosition();this.bump();var i=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:Pt.literal,value:"<".concat(i,"/>"),location:ht(r,this.clonePosition())},err:null};if(this.bumpIf(">")){var a=this.parseMessage(t+1,n,!0);if(a.err)return a;var s=a.val,o=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!zf(this.char()))return this.error(ft.INVALID_TAG,ht(o,this.clonePosition()));var c=this.clonePosition(),u=this.parseTagName();return i!==u?this.error(ft.UNMATCHED_CLOSING_TAG,ht(c,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:Pt.tag,value:i,children:s,location:ht(r,this.clonePosition())},err:null}:this.error(ft.INVALID_TAG,ht(o,this.clonePosition())))}else return this.error(ft.UNCLOSED_TAG,ht(r,this.clonePosition()))}else return this.error(ft.INVALID_TAG,ht(r,this.clonePosition()))},e.prototype.parseTagName=function(){var t=this.offset();for(this.bump();!this.isEOF()&&c3(this.char());)this.bump();return this.message.slice(t,this.offset())},e.prototype.parseLiteral=function(t,n){for(var r=this.clonePosition(),i="";;){var a=this.tryParseQuote(n);if(a){i+=a;continue}var s=this.tryParseUnquoted(t,n);if(s){i+=s;continue}var o=this.tryParseLeftAngleBracket();if(o){i+=o;continue}break}var c=ht(r,this.clonePosition());return{val:{type:Pt.literal,value:i,location:c},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return!this.isEOF()&&this.char()===60&&(this.ignoreTag||!o3(this.peek()||0))?(this.bump(),"<"):null},e.prototype.tryParseQuote=function(t){if(this.isEOF()||this.char()!==39)return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if(t==="plural"||t==="selectordinal")break;return null;default:return null}this.bump();var n=[this.char()];for(this.bump();!this.isEOF();){var r=this.char();if(r===39)if(this.peek()===39)n.push(39),this.bump();else{this.bump();break}else n.push(r);this.bump()}return qf.apply(void 0,n)},e.prototype.tryParseUnquoted=function(t,n){if(this.isEOF())return null;var r=this.char();return r===60||r===123||r===35&&(n==="plural"||n==="selectordinal")||r===125&&t>0?null:(this.bump(),qf(r))},e.prototype.parseArgument=function(t,n){var r=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(ft.EXPECT_ARGUMENT_CLOSING_BRACE,ht(r,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(ft.EMPTY_ARGUMENT,ht(r,this.clonePosition()));var i=this.parseIdentifierIfPossible().value;if(!i)return this.error(ft.MALFORMED_ARGUMENT,ht(r,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(ft.EXPECT_ARGUMENT_CLOSING_BRACE,ht(r,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:Pt.argument,value:i,location:ht(r,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(ft.EXPECT_ARGUMENT_CLOSING_BRACE,ht(r,this.clonePosition())):this.parseArgumentOptions(t,n,i,r);default:return this.error(ft.MALFORMED_ARGUMENT,ht(r,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var t=this.clonePosition(),n=this.offset(),r=Wf(this.message,n),i=n+r.length;this.bumpTo(i);var a=this.clonePosition(),s=ht(t,a);return{value:r,location:s}},e.prototype.parseArgumentOptions=function(t,n,r,i){var a,s=this.clonePosition(),o=this.parseIdentifierIfPossible().value,c=this.clonePosition();switch(o){case"":return this.error(ft.EXPECT_ARGUMENT_TYPE,ht(s,c));case"number":case"date":case"time":{this.bumpSpace();var u=null;if(this.bumpIf(",")){this.bumpSpace();var f=this.clonePosition(),l=this.parseSimpleArgStyleIfPossible();if(l.err)return l;var m=a3(l.val);if(m.length===0)return this.error(ft.EXPECT_ARGUMENT_STYLE,ht(this.clonePosition(),this.clonePosition()));var g=ht(f,this.clonePosition());u={style:m,styleLocation:g}}var _=this.tryParseArgumentClose(i);if(_.err)return _;var T=ht(i,this.clonePosition());if(u&&By(u?.style,"::",0)){var B=i3(u.style.slice(2));if(o==="number"){var l=this.parseNumberSkeletonFromString(B,u.styleLocation);return l.err?l:{val:{type:Pt.number,value:r,location:T,style:l.val},err:null}}else{if(B.length===0)return this.error(ft.EXPECT_DATE_TIME_SKELETON,T);var U=B;this.locale&&(U=WU(B,this.locale));var m={type:ns.dateTime,pattern:U,location:u.styleLocation,parsedOptions:this.shouldParseSkeletons?xU(U):{}},J=o==="date"?Pt.date:Pt.time;return{val:{type:J,value:r,location:T,style:m},err:null}}}return{val:{type:o==="number"?Pt.number:o==="date"?Pt.date:Pt.time,value:r,location:T,style:(a=u?.style)!==null&&a!==void 0?a:null},err:null}}case"plural":case"selectordinal":case"select":{var K=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(ft.EXPECT_SELECT_ARGUMENT_OPTIONS,ht(K,Fe({},K)));this.bumpSpace();var H=this.parseIdentifierIfPossible(),F=0;if(o!=="select"&&H.value==="offset"){if(!this.bumpIf(":"))return this.error(ft.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,ht(this.clonePosition(),this.clonePosition()));this.bumpSpace();var l=this.tryParseDecimalInteger(ft.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,ft.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(l.err)return l;this.bumpSpace(),H=this.parseIdentifierIfPossible(),F=l.val}var k=this.tryParsePluralOrSelectOptions(t,o,n,H);if(k.err)return k;var _=this.tryParseArgumentClose(i);if(_.err)return _;var j=ht(i,this.clonePosition());return o==="select"?{val:{type:Pt.select,value:r,options:Fy(k.val),location:j},err:null}:{val:{type:Pt.plural,value:r,options:Fy(k.val),offset:F,pluralType:o==="plural"?"cardinal":"ordinal",location:j},err:null}}default:return this.error(ft.INVALID_ARGUMENT_TYPE,ht(s,c))}},e.prototype.tryParseArgumentClose=function(t){return this.isEOF()||this.char()!==125?this.error(ft.EXPECT_ARGUMENT_CLOSING_BRACE,ht(t,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var t=0,n=this.clonePosition();!this.isEOF();){var r=this.char();switch(r){case 39:{this.bump();var i=this.clonePosition();if(!this.bumpUntil("'"))return this.error(ft.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,ht(i,this.clonePosition()));this.bump();break}case 123:{t+=1,this.bump();break}case 125:{if(t>0)t-=1;else return{val:this.message.slice(n.offset,this.offset()),err:null};break}default:this.bump();break}}return{val:this.message.slice(n.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(t,n){var r=[];try{r=UU(t)}catch{return this.error(ft.INVALID_NUMBER_SKELETON,n)}return{val:{type:ns.number,tokens:r,location:n,parsedOptions:this.shouldParseSkeletons?qU(r):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(t,n,r,i){for(var a,s=!1,o=[],c=new Set,u=i.value,f=i.location;;){if(u.length===0){var l=this.clonePosition();if(n!=="select"&&this.bumpIf("=")){var m=this.tryParseDecimalInteger(ft.EXPECT_PLURAL_ARGUMENT_SELECTOR,ft.INVALID_PLURAL_ARGUMENT_SELECTOR);if(m.err)return m;f=ht(l,this.clonePosition()),u=this.message.slice(l.offset,this.offset())}else break}if(c.has(u))return this.error(n==="select"?ft.DUPLICATE_SELECT_ARGUMENT_SELECTOR:ft.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,f);u==="other"&&(s=!0),this.bumpSpace();var g=this.clonePosition();if(!this.bumpIf("{"))return this.error(n==="select"?ft.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:ft.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,ht(this.clonePosition(),this.clonePosition()));var _=this.parseMessage(t+1,n,r);if(_.err)return _;var T=this.tryParseArgumentClose(g);if(T.err)return T;o.push([u,{value:_.val,location:ht(g,this.clonePosition())}]),c.add(u),this.bumpSpace(),a=this.parseIdentifierIfPossible(),u=a.value,f=a.location}return o.length===0?this.error(n==="select"?ft.EXPECT_SELECT_ARGUMENT_SELECTOR:ft.EXPECT_PLURAL_ARGUMENT_SELECTOR,ht(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!s?this.error(ft.MISSING_OTHER_CLAUSE,ht(this.clonePosition(),this.clonePosition())):{val:o,err:null}},e.prototype.tryParseDecimalInteger=function(t,n){var r=1,i=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(r=-1);for(var a=!1,s=0;!this.isEOF();){var o=this.char();if(o>=48&&o<=57)a=!0,s=s*10+(o-48),this.bump();else break}var c=ht(i,this.clonePosition());return a?(s*=r,n3(s)?{val:s,err:null}:this.error(n,c)):this.error(t,c)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},e.prototype.char=function(){var t=this.position.offset;if(t>=this.message.length)throw Error("out of bound");var n=Fw(this.message,t);if(n===void 0)throw Error("Offset ".concat(t," is at invalid UTF-16 code unit boundary"));return n},e.prototype.error=function(t,n){return{val:null,err:{kind:t,message:this.message,location:n}}},e.prototype.bump=function(){if(!this.isEOF()){var t=this.char();t===10?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=t<65536?1:2)}},e.prototype.bumpIf=function(t){if(By(this.message,t,this.offset())){for(var n=0;n<t.length;n++)this.bump();return!0}return!1},e.prototype.bumpUntil=function(t){var n=this.offset(),r=this.message.indexOf(t,n);return r>=0?(this.bumpTo(r),!0):(this.bumpTo(this.message.length),!1)},e.prototype.bumpTo=function(t){if(this.offset()>t)throw Error("targetOffset ".concat(t," must be greater than or equal to the current offset ").concat(this.offset()));for(t=Math.min(t,this.message.length);;){var n=this.offset();if(n===t)break;if(n>t)throw Error("targetOffset ".concat(t," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},e.prototype.bumpSpace=function(){for(;!this.isEOF()&&Hw(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var t=this.char(),n=this.offset(),r=this.message.charCodeAt(n+(t>=65536?2:1));return r??null},e}();function zf(e){return e>=97&&e<=122||e>=65&&e<=90}function o3(e){return zf(e)||e===47}function c3(e){return e===45||e===46||e>=48&&e<=57||e===95||e>=97&&e<=122||e>=65&&e<=90||e==183||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039}function Hw(e){return e>=9&&e<=13||e===32||e===133||e>=8206&&e<=8207||e===8232||e===8233}function u3(e){return e>=33&&e<=35||e===36||e>=37&&e<=39||e===40||e===41||e===42||e===43||e===44||e===45||e>=46&&e<=47||e>=58&&e<=59||e>=60&&e<=62||e>=63&&e<=64||e===91||e===92||e===93||e===94||e===96||e===123||e===124||e===125||e===126||e===161||e>=162&&e<=165||e===166||e===167||e===169||e===171||e===172||e===174||e===176||e===177||e===182||e===187||e===191||e===215||e===247||e>=8208&&e<=8213||e>=8214&&e<=8215||e===8216||e===8217||e===8218||e>=8219&&e<=8220||e===8221||e===8222||e===8223||e>=8224&&e<=8231||e>=8240&&e<=8248||e===8249||e===8250||e>=8251&&e<=8254||e>=8257&&e<=8259||e===8260||e===8261||e===8262||e>=8263&&e<=8273||e===8274||e===8275||e>=8277&&e<=8286||e>=8592&&e<=8596||e>=8597&&e<=8601||e>=8602&&e<=8603||e>=8604&&e<=8607||e===8608||e>=8609&&e<=8610||e===8611||e>=8612&&e<=8613||e===8614||e>=8615&&e<=8621||e===8622||e>=8623&&e<=8653||e>=8654&&e<=8655||e>=8656&&e<=8657||e===8658||e===8659||e===8660||e>=8661&&e<=8691||e>=8692&&e<=8959||e>=8960&&e<=8967||e===8968||e===8969||e===8970||e===8971||e>=8972&&e<=8991||e>=8992&&e<=8993||e>=8994&&e<=9e3||e===9001||e===9002||e>=9003&&e<=9083||e===9084||e>=9085&&e<=9114||e>=9115&&e<=9139||e>=9140&&e<=9179||e>=9180&&e<=9185||e>=9186&&e<=9254||e>=9255&&e<=9279||e>=9280&&e<=9290||e>=9291&&e<=9311||e>=9472&&e<=9654||e===9655||e>=9656&&e<=9664||e===9665||e>=9666&&e<=9719||e>=9720&&e<=9727||e>=9728&&e<=9838||e===9839||e>=9840&&e<=10087||e===10088||e===10089||e===10090||e===10091||e===10092||e===10093||e===10094||e===10095||e===10096||e===10097||e===10098||e===10099||e===10100||e===10101||e>=10132&&e<=10175||e>=10176&&e<=10180||e===10181||e===10182||e>=10183&&e<=10213||e===10214||e===10215||e===10216||e===10217||e===10218||e===10219||e===10220||e===10221||e===10222||e===10223||e>=10224&&e<=10239||e>=10240&&e<=10495||e>=10496&&e<=10626||e===10627||e===10628||e===10629||e===10630||e===10631||e===10632||e===10633||e===10634||e===10635||e===10636||e===10637||e===10638||e===10639||e===10640||e===10641||e===10642||e===10643||e===10644||e===10645||e===10646||e===10647||e===10648||e>=10649&&e<=10711||e===10712||e===10713||e===10714||e===10715||e>=10716&&e<=10747||e===10748||e===10749||e>=10750&&e<=11007||e>=11008&&e<=11055||e>=11056&&e<=11076||e>=11077&&e<=11078||e>=11079&&e<=11084||e>=11085&&e<=11123||e>=11124&&e<=11125||e>=11126&&e<=11157||e===11158||e>=11159&&e<=11263||e>=11776&&e<=11777||e===11778||e===11779||e===11780||e===11781||e>=11782&&e<=11784||e===11785||e===11786||e===11787||e===11788||e===11789||e>=11790&&e<=11798||e===11799||e>=11800&&e<=11801||e===11802||e===11803||e===11804||e===11805||e>=11806&&e<=11807||e===11808||e===11809||e===11810||e===11811||e===11812||e===11813||e===11814||e===11815||e===11816||e===11817||e>=11818&&e<=11822||e===11823||e>=11824&&e<=11833||e>=11834&&e<=11835||e>=11836&&e<=11839||e===11840||e===11841||e===11842||e>=11843&&e<=11855||e>=11856&&e<=11857||e===11858||e>=11859&&e<=11903||e>=12289&&e<=12291||e===12296||e===12297||e===12298||e===12299||e===12300||e===12301||e===12302||e===12303||e===12304||e===12305||e>=12306&&e<=12307||e===12308||e===12309||e===12310||e===12311||e===12312||e===12313||e===12314||e===12315||e===12316||e===12317||e>=12318&&e<=12319||e===12320||e===12336||e===64830||e===64831||e>=65093&&e<=65094}function Yf(e){e.forEach(function(t){if(delete t.location,Cw(t)||Nw(t))for(var n in t.options)delete t.options[n].location,Yf(t.options[n].value);else Aw(t)&&Pw(t.style)||(Ow(t)||Rw(t))&&Vf(t.style)?delete t.style.location:Mw(t)&&Yf(t.children)})}function l3(e,t){t===void 0&&(t={}),t=Fe({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var n=new s3(e,t).parse();if(n.err){var r=SyntaxError(ft[n.err.kind]);throw r.location=n.err.location,r.originalMessage=n.err.message,r}return t?.captureLocation||Yf(n.val),n.val}var Cr;(function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"})(Cr||(Cr={}));var Ni=function(e){pr(t,e);function t(n,r,i){var a=e.call(this,n)||this;return a.code=r,a.originalMessage=i,a}return t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),Hy=function(e){pr(t,e);function t(n,r,i,a){return e.call(this,'Invalid values for "'.concat(n,'": "').concat(r,'". Options are "').concat(Object.keys(i).join('", "'),'"'),Cr.INVALID_VALUE,a)||this}return t}(Ni),d3=function(e){pr(t,e);function t(n,r,i){return e.call(this,'Value for "'.concat(n,'" must be of type ').concat(r),Cr.INVALID_VALUE,i)||this}return t}(Ni),f3=function(e){pr(t,e);function t(n,r){return e.call(this,'The intl string context variable "'.concat(n,'" was not provided to the string "').concat(r,'"'),Cr.MISSING_VALUE,r)||this}return t}(Ni),vn;(function(e){e[e.literal=0]="literal",e[e.object=1]="object"})(vn||(vn={}));function p3(e){return e.length<2?e:e.reduce(function(t,n){var r=t[t.length-1];return!r||r.type!==vn.literal||n.type!==vn.literal?t.push(n):r.value+=n.value,t},[])}function h3(e){return typeof e=="function"}function ou(e,t,n,r,i,a,s){if(e.length===1&&Py(e[0]))return[{type:vn.literal,value:e[0].value}];for(var o=[],c=0,u=e;c<u.length;c++){var f=u[c];if(Py(f)){o.push({type:vn.literal,value:f.value});continue}if(BU(f)){typeof a=="number"&&o.push({type:vn.literal,value:n.getNumberFormat(t).format(a)});continue}var l=f.value;if(!(i&&l in i))throw new f3(l,s);var m=i[l];if(DU(f)){(!m||typeof m=="string"||typeof m=="number")&&(m=typeof m=="string"||typeof m=="number"?String(m):""),o.push({type:typeof m=="string"?vn.literal:vn.object,value:m});continue}if(Ow(f)){var g=typeof f.style=="string"?r.date[f.style]:Vf(f.style)?f.style.parsedOptions:void 0;o.push({type:vn.literal,value:n.getDateTimeFormat(t,g).format(m)});continue}if(Rw(f)){var g=typeof f.style=="string"?r.time[f.style]:Vf(f.style)?f.style.parsedOptions:r.time.medium;o.push({type:vn.literal,value:n.getDateTimeFormat(t,g).format(m)});continue}if(Aw(f)){var g=typeof f.style=="string"?r.number[f.style]:Pw(f.style)?f.style.parsedOptions:void 0;g&&g.scale&&(m=m*(g.scale||1)),o.push({type:vn.literal,value:n.getNumberFormat(t,g).format(m)});continue}if(Mw(f)){var _=f.children,T=f.value,B=i[T];if(!h3(B))throw new d3(T,"function",s);var U=ou(_,t,n,r,i,a),J=B(U.map(function(F){return F.value}));Array.isArray(J)||(J=[J]),o.push.apply(o,J.map(function(F){return{type:typeof F=="string"?vn.literal:vn.object,value:F}}))}if(Cw(f)){var K=f.options[m]||f.options.other;if(!K)throw new Hy(f.value,m,Object.keys(f.options),s);o.push.apply(o,ou(K.value,t,n,r,i));continue}if(Nw(f)){var K=f.options["=".concat(m)];if(!K){if(!Intl.PluralRules)throw new Ni(`Intl.PluralRules is not available in this environment.
514
+ or you can use record.mirror to access the mirror instance during recording.`;let my={map:{},getId(){return console.error(Ra),-1},getNode(){return console.error(Ra),null},removeNodeFromMap(){console.error(Ra)},has(){return console.error(Ra),!1},reset(){console.error(Ra)}};typeof window<"u"&&window.Proxy&&window.Reflect&&(my=new Proxy(my,{get(e,t,n){return t==="map"&&console.error(Ra),Reflect.get(e,t,n)}}));function Ch(e,t,n,r,i=window){const a=i.Object.getOwnPropertyDescriptor(e,t);return i.Object.defineProperty(e,t,r?n:{set(s){iw(()=>{n.set.call(this,s)},0),a&&a.set&&a.set.call(this,s)}}),()=>Ch(e,t,a||{},!0)}function Nh(e,t,n){try{if(!(t in e))return()=>{};const r=e[t],i=n(r);return typeof i=="function"&&(i.prototype=i.prototype||{},Object.defineProperties(i,{__rrweb_original__:{enumerable:!1,value:r}})),e[t]=i,()=>{e[t]=r}}catch{return()=>{}}}Date.now().toString();function Jx(e){if(!e)return null;try{return e.nodeType===e.ELEMENT_NODE?e:e.parentElement}catch{return null}}function Ml(e,t,n,r,i){if(!e)return!1;const a=Jx(e);if(!a)return!1;const s=hy(t,n),o=Hf(a,s);let c=-1;return o<0?!1:(r&&(c=Hf(a,hy(null,r))),o>-1&&c<0?!0:o<c)}const gy={};function rw(e){const t=gy[e];if(t)return t;const n=window.document;let r=window[e];if(n&&typeof n.createElement=="function")try{const i=n.createElement("iframe");i.hidden=!0,n.head.appendChild(i);const a=i.contentWindow;a&&a[e]&&(r=a[e]),n.head.removeChild(i)}catch{}return gy[e]=r.bind(window)}function Li(...e){return rw("requestAnimationFrame")(...e)}function iw(...e){return rw("setTimeout")(...e)}var es=(e=>(e[e["2D"]=0]="2D",e[e.WebGL=1]="WebGL",e[e.WebGL2=2]="WebGL2",e))(es||{});let iu;function Zx(e){iu=e}const Pd=e=>iu?(...n)=>{try{return e(...n)}catch(r){if(iu&&iu(r)===!0)return()=>{};throw r}}:e;var Da="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Qx=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(var Bc=0;Bc<Da.length;Bc++)Qx[Da.charCodeAt(Bc)]=Bc;var $x=function(e){var t=new Uint8Array(e),n,r=t.length,i="";for(n=0;n<r;n+=3)i+=Da[t[n]>>2],i+=Da[(t[n]&3)<<4|t[n+1]>>4],i+=Da[(t[n+1]&15)<<2|t[n+2]>>6],i+=Da[t[n+2]&63];return r%3===2?i=i.substring(0,i.length-1)+"=":r%3===1&&(i=i.substring(0,i.length-2)+"=="),i};const yy=new Map;function eH(e,t){let n=yy.get(e);return n||(n=new Map,yy.set(e,n)),n.has(t)||n.set(t,[]),n.get(t)}const aw=(e,t,n)=>{if(!e||!(ow(e,t)||typeof e=="object"))return;const r=e.constructor.name,i=eH(n,r);let a=i.indexOf(e);return a===-1&&(a=i.length,i.push(e)),a};function au(e,t,n){if(e instanceof Array)return e.map(r=>au(r,t,n));if(e===null)return e;if(e instanceof Float32Array||e instanceof Float64Array||e instanceof Int32Array||e instanceof Uint32Array||e instanceof Uint8Array||e instanceof Uint16Array||e instanceof Int16Array||e instanceof Int8Array||e instanceof Uint8ClampedArray)return{rr_type:e.constructor.name,args:[Object.values(e)]};if(e instanceof ArrayBuffer){const r=e.constructor.name,i=$x(e);return{rr_type:r,base64:i}}else{if(e instanceof DataView)return{rr_type:e.constructor.name,args:[au(e.buffer,t,n),e.byteOffset,e.byteLength]};if(e instanceof HTMLImageElement){const r=e.constructor.name,{src:i}=e;return{rr_type:r,src:i}}else if(e instanceof HTMLCanvasElement){const r="HTMLImageElement",i=e.toDataURL();return{rr_type:r,src:i}}else{if(e instanceof ImageData)return{rr_type:e.constructor.name,args:[au(e.data,t,n),e.width,e.height]};if(ow(e,t)||typeof e=="object"){const r=e.constructor.name,i=aw(e,t,n);return{rr_type:r,index:i}}}}return e}const sw=(e,t,n)=>e.map(r=>au(r,t,n)),ow=(e,t)=>!!["WebGLActiveInfo","WebGLBuffer","WebGLFramebuffer","WebGLProgram","WebGLRenderbuffer","WebGLShader","WebGLShaderPrecisionFormat","WebGLTexture","WebGLUniformLocation","WebGLVertexArrayObject","WebGLVertexArrayObjectOES"].filter(i=>typeof t[i]=="function").find(i=>e instanceof t[i]);function tH(e,t,n,r,i){const a=[],s=Object.getOwnPropertyNames(t.CanvasRenderingContext2D.prototype);for(const o of s)try{if(typeof t.CanvasRenderingContext2D.prototype[o]!="function")continue;const c=Nh(t.CanvasRenderingContext2D.prototype,o,function(u){return function(...f){return Ml(this.canvas,n,r,i,!0)||iw(()=>{const l=sw(f,t,this);e(this.canvas,{type:es["2D"],property:o,args:l})},0),u.apply(this,f)}});a.push(c)}catch{const c=Ch(t.CanvasRenderingContext2D.prototype,o,{set(u){e(this.canvas,{type:es["2D"],property:o,args:[u],setter:!0})}});a.push(c)}return()=>{a.forEach(o=>o())}}function nH(e){return e==="experimental-webgl"?"webgl":e}function _y(e,t,n,r,i){const a=[];try{const s=Nh(e.HTMLCanvasElement.prototype,"getContext",function(o){return function(c,...u){if(!Ml(this,t,n,r,!0)){const f=nH(c);if("__context"in this||(this.__context=f),i&&["webgl","webgl2"].includes(f))if(u[0]&&typeof u[0]=="object"){const l=u[0];l.preserveDrawingBuffer||(l.preserveDrawingBuffer=!0)}else u.splice(0,1,{preserveDrawingBuffer:!0})}return o.apply(this,[c,...u])}});a.push(s)}catch{console.error("failed to patch HTMLCanvasElement.prototype.getContext")}return()=>{a.forEach(s=>s())}}function by(e,t,n,r,i,a,s,o){const c=[],u=Object.getOwnPropertyNames(e);for(const f of u)if(!["isContextLost","canvas","drawingBufferWidth","drawingBufferHeight"].includes(f))try{if(typeof e[f]!="function")continue;const l=Nh(e,f,function(m){return function(...g){const _=m.apply(this,g);if(aw(_,o,this),"tagName"in this.canvas&&!Ml(this.canvas,r,i,a,!0)){const T=sw(g,o,this),B={type:t,property:f,args:T};n(this.canvas,B)}return _}});c.push(l)}catch{const l=Ch(e,f,{set(m){n(this.canvas,{type:t,property:f,args:[m],setter:!0})}});c.push(l)}return c}function rH(e,t,n,r,i,a){const s=[];return s.push(...by(t.WebGLRenderingContext.prototype,es.WebGL,e,n,r,i,a,t)),typeof t.WebGL2RenderingContext<"u"&&s.push(...by(t.WebGL2RenderingContext.prototype,es.WebGL2,e,n,r,i,a,t)),()=>{s.forEach(o=>o())}}const iH='for(var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",t="undefined"==typeof Uint8Array?[]:new Uint8Array(256),a=0;a<64;a++)t[e.charCodeAt(a)]=a;var n=function(t){var a,n=new Uint8Array(t),r=n.length,s="";for(a=0;a<r;a+=3)s+=e[n[a]>>2],s+=e[(3&n[a])<<4|n[a+1]>>4],s+=e[(15&n[a+1])<<2|n[a+2]>>6],s+=e[63&n[a+2]];return r%3==2?s=s.substring(0,s.length-1)+"=":r%3==1&&(s=s.substring(0,s.length-2)+"=="),s};const r=new Map,s=new Map;const i=self;i.onmessage=async function(e){if(!("OffscreenCanvas"in globalThis))return i.postMessage({id:e.data.id});{const{id:t,bitmap:a,width:o,height:f,maxCanvasSize:c,dataURLOptions:g}=e.data,u=async function(e,t,a){const r=e+"-"+t;if("OffscreenCanvas"in globalThis){if(s.has(r))return s.get(r);const i=new OffscreenCanvas(e,t);i.getContext("2d");const o=await i.convertToBlob(a),f=await o.arrayBuffer(),c=n(f);return s.set(r,c),c}return""}(o,f,g),[h,d]=function(e,t,a){if(!a)return[e,t];const[n,r]=a;if(e<=n&&t<=r)return[e,t];let s=e,i=t;return s>n&&(i=Math.floor(n*t/e),s=n),i>r&&(s=Math.floor(r*e/t),i=r),[s,i]}(o,f,c),l=new OffscreenCanvas(h,d),w=l.getContext("bitmaprenderer"),p=h===o&&d===f?a:await createImageBitmap(a,{resizeWidth:h,resizeHeight:d,resizeQuality:"low"});w?.transferFromImageBitmap(p),a.close();const y=await l.convertToBlob(g),v=y.type,b=await y.arrayBuffer(),m=n(b);if(p.close(),!r.has(t)&&await u===m)return r.set(t,m),i.postMessage({id:t});if(r.get(t)===m)return i.postMessage({id:t});i.postMessage({id:t,type:v,base64:m,width:o,height:f}),r.set(t,m)}};';function aH(){const e=new Blob([iH]);return URL.createObjectURL(e)}class sH{constructor(t){this.pendingCanvasMutations=new Map,this.rafStamps={latestId:0,invokeId:null},this.shadowDoms=new Set,this.windowsSet=new WeakSet,this.windows=[],this.restoreHandlers=[],this.frozen=!1,this.locked=!1,this.snapshotInProgressMap=new Map,this.worker=null,this.lastSnapshotTime=0,this.processMutation=(o,c)=>{(this.rafStamps.invokeId&&this.rafStamps.latestId!==this.rafStamps.invokeId||!this.rafStamps.invokeId)&&(this.rafStamps.invokeId=this.rafStamps.latestId),this.pendingCanvasMutations.has(o)||this.pendingCanvasMutations.set(o,[]),this.pendingCanvasMutations.get(o).push(c)};const{enableManualSnapshot:n,sampling:r="all",win:i,recordCanvas:a,errorHandler:s}=t;t.sampling=r,this.mutationCb=t.mutationCb,this.mirror=t.mirror,this.options=t,s&&Zx(s),(a&&typeof r=="number"||n)&&(this.worker=this.initFPSWorker()),this.addWindow(i),!n&&Pd(()=>{a&&r==="all"&&(this.startRAFTimestamping(),this.startPendingCanvasMutationFlusher()),a&&typeof r=="number"&&this.initCanvasFPSObserver()})()}reset(){this.pendingCanvasMutations.clear(),this.restoreHandlers.forEach(t=>{try{t()}catch{}}),this.restoreHandlers=[],this.windowsSet=new WeakSet,this.windows=[],this.shadowDoms=new Set,this.worker?.terminate(),this.worker=null,this.snapshotInProgressMap=new Map}freeze(){this.frozen=!0}unfreeze(){this.frozen=!1}lock(){this.locked=!0}unlock(){this.locked=!1}addWindow(t){const{sampling:n="all",blockClass:r,blockSelector:i,unblockSelector:a,recordCanvas:s,enableManualSnapshot:o}=this.options;if(!this.windowsSet.has(t)){if(o){this.windowsSet.add(t),this.windows.push(new WeakRef(t));return}Pd(()=>{if(s&&n==="all"&&this.initCanvasMutationObserver(t,r,i,a),s&&typeof n=="number"){const c=_y(t,r,i,a,!0);this.restoreHandlers.push(()=>{c()})}})(),this.windowsSet.add(t),this.windows.push(new WeakRef(t))}}addShadowRoot(t){this.shadowDoms.add(new WeakRef(t))}resetShadowRoots(){this.shadowDoms=new Set}snapshot(t,n){if(n?.skipRequestAnimationFrame){this.takeSnapshot(performance.now(),!0,t);return}Li(r=>this.takeSnapshot(r,!0,t))}initFPSWorker(){const t=new Worker(aH());return t.onmessage=n=>{const r=n.data,{id:i}=r;if(this.snapshotInProgressMap.set(i,!1),!("base64"in r))return;const{base64:a,type:s,width:o,height:c}=r;this.mutationCb({id:i,type:es["2D"],commands:[{property:"clearRect",args:[0,0,o,c]},{property:"drawImage",args:[{rr_type:"ImageBitmap",args:[{rr_type:"Blob",data:[{rr_type:"ArrayBuffer",base64:a}],type:s}]},0,0,o,c]}]})},t}initCanvasFPSObserver(){let t;if(!this.windows.length&&!this.shadowDoms.size)return;const n=r=>{this.takeSnapshot(r,!1),t=Li(n)};t=Li(n),this.restoreHandlers.push(()=>{t&&cancelAnimationFrame(t)})}initCanvasMutationObserver(t,n,r,i){const a=_y(t,n,r,i,!1),s=tH(this.processMutation.bind(this),t,n,r,i),o=rH(this.processMutation.bind(this),t,n,r,i,this.mirror);this.restoreHandlers.push(()=>{a(),s(),o()})}getCanvasElements(t,n,r){const i=[],a=s=>{s.querySelectorAll("canvas").forEach(o=>{Ml(o,t,n,r)||i.push(o)})};for(const s of this.windows){const o=s.deref();let c;try{c=o&&o.document}catch{}c&&a(c)}for(const s of this.shadowDoms){const o=s.deref();o&&a(o)}return i}takeSnapshot(t,n,r){const{sampling:i,blockClass:a,blockSelector:s,unblockSelector:o,dataURLOptions:c,maxCanvasSize:u}=this.options,l=1e3/(i==="all"?2:i||2);return this.lastSnapshotTime&&t-this.lastSnapshotTime<l?!1:(this.lastSnapshotTime=t,(r?[r]:this.getCanvasElements(a,s,o)).forEach(_=>{const T=this.mirror.getId(_);if(!(!this.mirror.hasNode(_)||!_.width||!_.height||this.snapshotInProgressMap.get(T))){if(this.snapshotInProgressMap.set(T,!0),!n&&["webgl","webgl2"].includes(_.__context)){const B=_.getContext(_.__context);B?.getContextAttributes()?.preserveDrawingBuffer===!1&&B.clear(B.COLOR_BUFFER_BIT)}createImageBitmap(_).then(B=>{this.worker?.postMessage({id:T,bitmap:B,width:_.width,height:_.height,dataURLOptions:c,maxCanvasSize:u},[B])}).catch(B=>{Pd(()=>{throw this.snapshotInProgressMap.delete(T),B})()})}}),!0)}startPendingCanvasMutationFlusher(){Li(()=>this.flushPendingCanvasMutations())}startRAFTimestamping(){const t=n=>{this.rafStamps.latestId=n,Li(t)};Li(t)}flushPendingCanvasMutations(){this.pendingCanvasMutations.forEach((t,n)=>{const r=this.mirror.getId(n);this.flushPendingCanvasMutationFor(n,r)}),Li(()=>this.flushPendingCanvasMutations())}flushPendingCanvasMutationFor(t,n){if(this.frozen||this.locked)return;const r=this.pendingCanvasMutations.get(t);if(!r||n===-1)return;const i=r.map(s=>{const{type:o,...c}=s;return c}),{type:a}=r[0];this.mutationCb({id:n,type:a,commands:i}),this.pendingCanvasMutations.delete(t)}}try{if(Array.from([1],e=>e*2)[0]!==2){const e=document.createElement("iframe");document.body.appendChild(e),Array.from=e.contentWindow?.Array.from||Array.from,document.body.removeChild(e)}}catch(e){console.debug("Unable to override Array.from",e)}Kx();var Ey;(function(e){e[e.NotStarted=0]="NotStarted",e[e.Running=1]="Running",e[e.Stopped=2]="Stopped"})(Ey||(Ey={}));const vy={low:{sampling:{canvas:1},dataURLOptions:{type:"image/webp",quality:.25}},medium:{sampling:{canvas:2},dataURLOptions:{type:"image/webp",quality:.4}},high:{sampling:{canvas:4},dataURLOptions:{type:"image/webp",quality:.5}}},oH="ReplayCanvas",Fc=1280,cH=(e={})=>{const[t,n]=e.maxCanvasSize||[],r={quality:e.quality||"medium",enableManualSnapshot:e.enableManualSnapshot,maxCanvasSize:[t?Math.min(t,Fc):Fc,n?Math.min(n,Fc):Fc]};let i;const a=new Promise(s=>i=s);return{name:oH,getOptions(){const{quality:s,enableManualSnapshot:o,maxCanvasSize:c}=r;return{enableManualSnapshot:o,recordCanvas:!0,getCanvasManager:u=>{const f=new sH({...u,enableManualSnapshot:o,maxCanvasSize:c,errorHandler:l=>{try{typeof l=="object"&&(l.__rrweb__=!0)}catch{}}});return i(f),f},...vy[s]||vy.medium}},async snapshot(s,o){(await a).snapshot(s,o)}}},uH=cH;function vr(e=0){return((gn()||performance.timeOrigin)+e)/1e3}function lH(e){const t=[];if(e.nextHopProtocol!=null){const{name:n,version:r}=q0(e.nextHopProtocol);t.push(["network.protocol.version",r],["network.protocol.name",n])}return gn()?[...t,["http.request.redirect_start",vr(e.redirectStart)],["http.request.fetch_start",vr(e.fetchStart)],["http.request.domain_lookup_start",vr(e.domainLookupStart)],["http.request.domain_lookup_end",vr(e.domainLookupEnd)],["http.request.connect_start",vr(e.connectStart)],["http.request.secure_connection_start",vr(e.secureConnectionStart)],["http.request.connection_end",vr(e.connectEnd)],["http.request.request_start",vr(e.requestStart)],["http.request.response_start",vr(e.responseStart)],["http.request.response_end",vr(e.responseEnd)]]:t}const Sy=new WeakMap,kd=new Map,Mh={traceFetch:!0,traceXHR:!0,enableHTTPTimings:!0,trackFetchStreamPerformance:!1};function cw(e,t){const{traceFetch:n,traceXHR:r,trackFetchStreamPerformance:i,shouldCreateSpanForRequest:a,enableHTTPTimings:s,tracePropagationTargets:o,onRequestSpanStart:c}={...Mh,...t},u=typeof a=="function"?a:m=>!0,f=m=>fH(m,o),l={};n&&(e.addEventProcessor(m=>(m.type==="transaction"&&m.spans&&m.spans.forEach(g=>{if(g.op==="http.client"){const _=kd.get(g.span_id);_&&(g.timestamp=_/1e3,kd.delete(g.span_id))}}),m)),i&&RP(m=>{if(m.response){const g=Sy.get(m.response);g&&m.endTimestamp&&kd.set(g,m.endTimestamp)}}),Jp(m=>{const g=mP(m,u,f,l);if(m.response&&m.fetchData.__span&&Sy.set(m.response,m.fetchData.__span),g){const _=uw(m.fetchData.url),T=_?zi(_).host:void 0;g.setAttributes({"http.url":_,"server.address":T}),s&&wy(g),c?.(g,{headers:m.headers})}})),r&&lh(m=>{const g=pH(m,u,f,l);if(g){s&&wy(g);let _;try{_=new Headers(m.xhr.__sentry_xhr_v3__?.request_headers)}catch{}c?.(g,{headers:_})}})}function dH(e){return e.entryType==="resource"&&"initiatorType"in e&&typeof e.nextHopProtocol=="string"&&(e.initiatorType==="fetch"||e.initiatorType==="xmlhttprequest")}function wy(e){const{url:t}=$e(e).data;if(!t||typeof t!="string")return;const n=Qi("resource",({entries:r})=>{r.forEach(i=>{dH(i)&&i.name.endsWith(t)&&(lH(i).forEach(s=>e.setAttribute(...s)),setTimeout(n))})})}function fH(e,t){const n=ra();if(n){let r,i;try{r=new URL(e,n),i=new URL(n).origin}catch{return!1}const a=r.origin===i;return t?ur(r.toString(),t)||a&&ur(r.pathname,t):a}else{const r=!!e.match(/^\/(?!\/)/);return t?ur(e,t):r}}function pH(e,t,n,r){const i=e.xhr,a=i?.[Ur];if(!i||i.__sentry_own_request__||!a)return;const{url:s,method:o}=a,c=vi()&&t(s);if(e.endTimestamp&&c){const T=i.__sentry_xhr_span_id__;if(!T)return;const B=r[T];B&&a.status_code!==void 0&&(zs(B,a.status_code),B.end(),delete r[T]);return}const u=uw(s),f=zi(u||s),l=s0(s),m=!!en(),g=c&&m?oa({name:`${o} ${l}`,attributes:{url:s,type:"xhr","http.method":o,"http.url":u,"server.address":f?.host,[xt]:"auto.http.browser",[Vn]:"http.client",...f?.search&&{"http.query":f?.search},...f?.hash&&{"http.fragment":f?.hash}}}):new Xr;i.__sentry_xhr_span_id__=g.spanContext().spanId,r[i.__sentry_xhr_span_id__]=g,n(s)&&hH(i,vi()&&m?g:void 0);const _=Ce();return _&&_.emit("beforeOutgoingRequestSpan",g,e),g}function hH(e,t){const{"sentry-trace":n,baggage:r}=Yp({span:t});n&&mH(e,n,r)}function mH(e,t,n){const r=e.__sentry_xhr_v3__?.request_headers;if(!r?.["sentry-trace"])try{if(e.setRequestHeader("sentry-trace",t),n){const i=r?.baggage;(!i||!gH(i))&&e.setRequestHeader("baggage",n)}}catch{}}function gH(e){return e.split(",").some(t=>t.trim().startsWith("sentry-"))}function uw(e){try{return new URL(e,xe.location.origin).href}catch{return}}function yH(){xe.document?xe.document.addEventListener("visibilitychange",()=>{const e=en();if(!e)return;const t=Qt(e);if(xe.document.hidden&&t){const n="cancelled",{op:r,status:i}=$e(t);st&&X.log(`[Tracing] Transaction: ${n} -> since tab moved to the background, op: ${r}`),i||t.setStatus({code:qt,message:n}),t.setAttribute("sentry.cancellation_reason","document.hidden"),t.end()}}):st&&X.warn("[Tracing] Could not set up background tab detection due to lack of global document")}const _H=3600,lw="sentry_previous_trace",bH="sentry.previous_trace";function EH(e,{linkPreviousTrace:t,consistentTraceSampling:n}){const r=t==="session-storage";let i=r?wH():void 0;e.on("spanStart",s=>{if(Qt(s)!==s)return;const o=tt().getPropagationContext();i=vH(i,s,o),r&&SH(i)});let a=!0;n&&e.on("beforeSampling",s=>{if(!i)return;const o=tt(),c=o.getPropagationContext();if(a&&c.parentSpanId){a=!1;return}o.setPropagationContext({...c,dsc:{...c.dsc,sample_rate:String(i.sampleRate),sampled:String(Uf(i.spanContext))},sampleRand:i.sampleRand}),s.parentSampled=Uf(i.spanContext),s.parentSampleRate=i.sampleRate,s.spanAttributes={...s.spanAttributes,[JE]:i.sampleRate}})}function vH(e,t,n){const r=$e(t);function i(){try{return Number(n.dsc?.sample_rate)??Number(r.data?.[fl])}catch{return 0}}const a={spanContext:t.spanContext(),startTimestamp:r.start_timestamp,sampleRate:i(),sampleRand:n.sampleRand};if(!e)return a;const s=e.spanContext;return s.traceId===r.trace_id?e:(Date.now()/1e3-e.startTimestamp<=_H&&(st&&X.log(`Adding previous_trace ${s} link to span ${{op:r.op,...t.spanContext()}}`),t.addLink({context:s,attributes:{[YR]:"previous_trace"}}),t.setAttribute(bH,`${s.traceId}-${s.spanId}-${Uf(s)?1:0}`)),a)}function SH(e){try{xe.sessionStorage.setItem(lw,JSON.stringify(e))}catch(t){st&&X.warn("Could not store previous trace in sessionStorage",t)}}function wH(){try{const e=xe.sessionStorage?.getItem(lw);return JSON.parse(e)}catch{return}}function Uf(e){return e.traceFlags===1}const TH="BrowserTracing",IH={...Yc,instrumentNavigation:!0,instrumentPageLoad:!0,markBackgroundSpan:!0,enableLongTask:!0,enableLongAnimationFrame:!0,enableInp:!0,enableElementTiming:!0,ignoreResourceSpans:[],ignorePerformanceApiSpans:[],detectRedirects:!0,linkPreviousTrace:"in-memory",consistentTraceSampling:!1,_experiments:{},...Mh},AH=(e={})=>{const t={name:void 0,source:void 0},n=xe.document,{enableInp:r,enableElementTiming:i,enableLongTask:a,enableLongAnimationFrame:s,_experiments:{enableInteractions:o,enableStandaloneClsSpans:c,enableStandaloneLcpSpans:u},beforeStartSpan:f,idleTimeout:l,finalTimeout:m,childSpanTimeout:g,markBackgroundSpan:_,traceFetch:T,traceXHR:B,trackFetchStreamPerformance:U,shouldCreateSpanForRequest:J,enableHTTPTimings:K,ignoreResourceSpans:H,ignorePerformanceApiSpans:F,instrumentPageLoad:k,instrumentNavigation:j,detectRedirects:te,linkPreviousTrace:L,consistentTraceSampling:G,onRequestSpanStart:W}={...IH,...e};let z,ae;function Ee(pe,le,$=!0){const ve=le.op==="pageload",ge=f?f(le):le,fe=ge.attributes||{};if(le.name!==ge.name&&(fe[Un]="custom",ge.attributes=fe),!$){const ce=ia();oa({...ge,startTime:ce}).end(ce);return}t.name=ge.name,t.source=fe[Un];const Se=Sv(ge,{idleTimeout:l,finalTimeout:m,childSpanTimeout:g,disableAutoFinish:ve,beforeSpanEnd:ce=>{z?.(),aL(ce,{recordClsOnPageloadSpan:!c,recordLcpOnPageloadSpan:!u,ignoreResourceSpans:H,ignorePerformanceApiSpans:F}),Iy(pe,void 0);const He=tt(),Et=He.getPropagationContext();He.setPropagationContext({...Et,traceId:Se.spanContext().traceId,sampled:aa(Se),dsc:dr(ce)})}});Iy(pe,Se);function Xe(){n&&["interactive","complete"].includes(n.readyState)&&pe.emit("idleSpanEnableAutoFinish",Se)}ve&&n&&(n.addEventListener("readystatechange",()=>{Xe()}),Xe())}return{name:TH,setup(pe){if(dv(),z=Z1({recordClsStandaloneSpans:c||!1,recordLcpStandaloneSpans:u||!1,client:pe}),r&&OL(),i&&mL(),s&&Ge.PerformanceObserver&&PerformanceObserver.supportedEntryTypes&&PerformanceObserver.supportedEntryTypes.includes("long-animation-frame")?$1():a&&Q1(),o&&eL(),te&&n){const $=()=>{ae=Kt()};addEventListener("click",$,{capture:!0}),addEventListener("keydown",$,{capture:!0,passive:!0})}function le(){const $=Qs(pe);$&&!$e($).timestamp&&(st&&X.log(`[Tracing] Finishing current active span with op: ${$e($).op}`),$.setAttribute(gu,"cancelled"),$.end())}pe.on("startNavigationSpan",($,ve)=>{if(Ce()!==pe)return;if(ve?.isRedirect){st&&X.warn("[Tracing] Detected redirect, navigation span will not be the root span, but a child span."),Ee(pe,{op:"navigation.redirect",...$},!1);return}le(),$t().setPropagationContext({traceId:Kr(),sampleRand:Math.random()});const ge=tt();ge.setPropagationContext({traceId:Kr(),sampleRand:Math.random()}),ge.setSDKProcessingMetadata({normalizedRequest:void 0}),Ee(pe,{op:"navigation",...$})}),pe.on("startPageLoadSpan",($,ve={})=>{if(Ce()!==pe)return;le();const ge=ve.sentryTrace||Ty("sentry-trace"),fe=ve.baggage||Ty("baggage"),Se=rv(ge,fe),Xe=tt();Xe.setPropagationContext(Se),Xe.setSDKProcessingMetadata({normalizedRequest:nh()}),Ee(pe,{op:"pageload",...$})})},afterAllSetup(pe){let le=ra();if(L!=="off"&&EH(pe,{linkPreviousTrace:L,consistentTraceSampling:G}),xe.location){if(k){const $=gn();dw(pe,{name:xe.location.pathname,startTime:$?$/1e3:void 0,attributes:{[Un]:"url",[xt]:"auto.pageload.browser"}})}j&&Tl(({to:$,from:ve})=>{if(ve===void 0&&le?.indexOf($)!==-1){le=void 0;return}le=void 0;const ge=a0($),fe=Qs(pe),Se=fe&&te&&RH(fe,ae);fw(pe,{name:ge?.pathname||xe.location.pathname,attributes:{[Un]:"url",[xt]:"auto.navigation.browser"}},{url:$,isRedirect:Se})})}_&&yH(),o&&OH(pe,l,m,g,t),r&&NL(),cw(pe,{traceFetch:T,traceXHR:B,trackFetchStreamPerformance:U,tracePropagationTargets:pe.getOptions().tracePropagationTargets,shouldCreateSpanForRequest:J,enableHTTPTimings:K,onRequestSpanStart:W})}}};function dw(e,t,n){e.emit("startPageLoadSpan",t,n),tt().setTransactionName(t.name);const r=Qs(e);return r&&e.emit("afterStartPageLoadSpan",r),r}function fw(e,t,n){const{url:r,isRedirect:i}=n||{};e.emit("beforeStartNavigationSpan",t,{isRedirect:i}),e.emit("startNavigationSpan",t,{isRedirect:i});const a=tt();return a.setTransactionName(t.name),r&&!i&&a.setSDKProcessingMetadata({normalizedRequest:{...nh(),url:r}}),Qs(e)}function Ty(e){return xe.document?.querySelector(`meta[name=${e}]`)?.getAttribute("content")||void 0}function OH(e,t,n,r,i){const a=xe.document;let s;const o=()=>{const c="ui.action.click",u=Qs(e);if(u){const f=$e(u).op;if(["navigation","pageload"].includes(f)){st&&X.warn(`[Tracing] Did not create ${c} span because a pageload or navigation span is in progress.`);return}}if(s&&(s.setAttribute(gu,"interactionInterrupted"),s.end(),s=void 0),!i.name){st&&X.warn(`[Tracing] Did not create ${c} transaction because _latestRouteName is missing.`);return}s=Sv({name:i.name,op:c,attributes:{[Un]:i.source||"url"}},{idleTimeout:t,finalTimeout:n,childSpanTimeout:r})};a&&addEventListener("click",o,{capture:!0})}const pw="_sentry_idleSpan";function Qs(e){return e[pw]}function Iy(e,t){Pn(e,pw,t)}const Ay=.3;function RH(e,t){const n=$e(e),r=ia(),i=n.start_timestamp;return!(r-i>Ay||t&&r-t<=Ay)}function ts(e){return new Promise((t,n)=>{e.oncomplete=e.onsuccess=()=>t(e.result),e.onabort=e.onerror=()=>n(e.error)})}function CH(e,t){const n=indexedDB.open(e);n.onupgradeneeded=()=>n.result.createObjectStore(t);const r=ts(n);return i=>r.then(a=>i(a.transaction(t,"readwrite").objectStore(t)))}function Ph(e){return ts(e.getAllKeys())}function NH(e,t,n){return e(r=>Ph(r).then(i=>{if(!(i.length>=n))return r.put(t,Math.max(...i,0)+1),ts(r.transaction)}))}function MH(e,t,n){return e(r=>Ph(r).then(i=>{if(!(i.length>=n))return r.put(t,Math.min(...i,0)-1),ts(r.transaction)}))}function PH(e){return e(t=>Ph(t).then(n=>{const r=n[0];if(r!=null)return ts(t.get(r)).then(i=>(t.delete(r),ts(t.transaction).then(()=>i)))}))}function kH(e){let t;function n(){return t==null&&(t=CH(e.dbName||"sentry-offline",e.storeName||"queue")),t}return{push:async r=>{try{const i=await bu(r);await NH(n(),i,e.maxQueueSize||30)}catch{}},unshift:async r=>{try{const i=await bu(r);await MH(n(),i,e.maxQueueSize||30)}catch{}},shift:async()=>{try{const r=await PH(n());if(r)return vC(r)}catch{}}}}function LH(e){return t=>{const n=e({...t,createStore:kH});return xe.addEventListener("online",async r=>{await n.flush()}),n}}function DH(e=fh){return LH(GN(e))}const Oy=1e6,su=String(0),BH="main",Uu=xe.navigator;let hw="",mw="",gw="",jf=Uu?.userAgent||"",yw="";const FH=Uu?.language||Uu?.languages?.[0]||"";function xH(e){return typeof e=="object"&&e!==null&&"getHighEntropyValues"in e}const Ry=Uu?.userAgentData;xH(Ry)&&Ry.getHighEntropyValues(["architecture","model","platform","platformVersion","fullVersionList"]).then(e=>{if(hw=e.platform||"",gw=e.architecture||"",yw=e.model||"",mw=e.platformVersion||"",e.fullVersionList?.length){const t=e.fullVersionList[e.fullVersionList.length-1];jf=`${t.brand} ${t.version}`}}).catch(e=>{});function HH(e){return!("thread_metadata"in e)}function UH(e){return HH(e)?GH(e):e}function jH(e){const t=e.contexts?.trace?.trace_id;return typeof t=="string"&&t.length!==32&&st&&X.log(`[Profiling] Invalid traceId: ${t} on profiled event`),typeof t!="string"?"":t}function VH(e,t,n,r){if(r.type!=="transaction")throw new TypeError("Profiling events may only be attached to transactions, this should never occur.");if(n==null)throw new TypeError(`Cannot construct profiling event envelope without a valid profile. Got ${n} instead.`);const i=jH(r),a=UH(n),s=t||(typeof r.start_timestamp=="number"?r.start_timestamp*1e3:Kt()*1e3),o=typeof r.timestamp=="number"?r.timestamp*1e3:Kt()*1e3;return{event_id:e,timestamp:new Date(s).toISOString(),platform:"javascript",version:"1",release:r.release||"",environment:r.environment||pl,runtime:{name:"javascript",version:xe.navigator.userAgent},os:{name:hw,version:mw,build_number:jf},device:{locale:FH,model:yw,manufacturer:jf,architecture:gw,is_emulator:!1},debug_meta:{images:zH(n.resources)},profile:a,transactions:[{name:r.transaction||"",id:r.event_id||In(),trace_id:i,active_thread_id:su,relative_start_ns:"0",relative_end_ns:((o-s)*1e6).toFixed(0)}]}}function _w(e){return $e(e).op==="pageload"}function GH(e){let t,n=0;const r={samples:[],stacks:[],frames:[],thread_metadata:{[su]:{name:BH}}},i=e.samples[0];if(!i)return r;const a=i.timestamp,s=gn(),o=typeof performance.timeOrigin=="number"?performance.timeOrigin:s||0,c=o-(s||o);return e.samples.forEach((u,f)=>{if(u.stackId===void 0){t===void 0&&(t=n,r.stacks[t]=[],n++),r.samples[f]={elapsed_since_start_ns:((u.timestamp+c-a)*Oy).toFixed(0),stack_id:t,thread_id:su};return}let l=e.stacks[u.stackId];const m=[];for(;l;){m.push(l.frameId);const _=e.frames[l.frameId];_&&r.frames[l.frameId]===void 0&&(r.frames[l.frameId]={function:_.name,abs_path:typeof _.resourceId=="number"?e.resources[_.resourceId]:void 0,lineno:_.line,colno:_.column}),l=l.parentId===void 0?void 0:e.stacks[l.parentId]}const g={elapsed_since_start_ns:((u.timestamp+c-a)*Oy).toFixed(0),stack_id:n,thread_id:su};r.stacks[n]=m,r.samples[f]=g,n++}),r}function qH(e,t){if(!t.length)return e;for(const n of t)e[1].push([{type:"profile"},n]);return e}function WH(e){const t=[];return Ji(e,(n,r)=>{if(r==="transaction")for(let i=1;i<n.length;i++)n[i]?.contexts?.profile?.profile_id&&t.push(n[i])}),t}function zH(e){const r=Ce()?.getOptions()?.stackParser;return r?ZC(r,e):[]}function YH(e){return typeof e!="number"&&typeof e!="boolean"||typeof e=="number"&&isNaN(e)?(st&&X.warn(`[Profiling] Invalid sample rate. Sample rate must be a boolean or a number between 0 and 1. Got ${JSON.stringify(e)} of type ${JSON.stringify(typeof e)}.`),!1):e===!0||e===!1?!0:e<0||e>1?(st&&X.warn(`[Profiling] Invalid sample rate. Sample rate must be between 0 and 1. Got ${e}.`),!1):!0}function KH(e){return e.samples.length<2?(st&&X.log("[Profiling] Discarding profile because it contains less than 2 samples"),!1):e.frames.length?!0:(st&&X.log("[Profiling] Discarding profile because it contains no frames"),!1)}let bw=!1;const Ew=3e4;function XH(e){return typeof e=="function"}function JH(){const e=xe.Profiler;if(!XH(e)){st&&X.log("[Profiling] Profiling is not supported by this browser, Profiler interface missing on window object.");return}const t=10,n=Math.floor(Ew/t);try{return new e({sampleInterval:t,maxBufferSize:n})}catch{st&&(X.log("[Profiling] Failed to initialize the Profiling constructor, this is likely due to a missing 'Document-Policy': 'js-profiling' header."),X.log("[Profiling] Disabling profiling for current user session.")),bw=!0}}function Cy(e){if(bw)return st&&X.log("[Profiling] Profiling has been disabled for the duration of the current user session."),!1;if(!e.isRecording())return st&&X.log("[Profiling] Discarding profile because transaction was not sampled."),!1;const n=Ce()?.getOptions();if(!n)return st&&X.log("[Profiling] Profiling disabled, no options found."),!1;const r=n.profilesSampleRate;return YH(r)?r?(r===!0?!0:Math.random()<r)?!0:(st&&X.log(`[Profiling] Discarding profile because it's not included in the random sample (sampling rate = ${Number(r)})`),!1):(st&&X.log("[Profiling] Discarding profile because a negative sampling decision was inherited or profileSampleRate is set to 0"),!1):(st&&X.warn("[Profiling] Discarding profile because of invalid sample rate."),!1)}function ZH(e,t,n,r){return KH(n)?VH(e,t,n,r):null}const Gi=new Map;function QH(){return Gi.size}function $H(e){const t=Gi.get(e);return t&&Gi.delete(e),t}function eU(e,t){if(Gi.set(e,t),Gi.size>30){const n=Gi.keys().next().value;Gi.delete(n)}}function Ny(e){let t;_w(e)&&(t=Kt()*1e3);const n=JH();if(!n)return;st&&X.log(`[Profiling] started profiling span: ${$e(e).description}`);const r=In();tt().setContext("profile",{profile_id:r,start_timestamp:t});async function i(){if(e&&n)return n.stop().then(c=>{if(a&&(xe.clearTimeout(a),a=void 0),st&&X.log(`[Profiling] stopped profiling of span: ${$e(e).description}`),!c){st&&X.log(`[Profiling] profiler returned null profile for: ${$e(e).description}`,"this may indicate an overlapping span or a call to stopProfiling with a profile title that was never started");return}eU(r,c)}).catch(c=>{st&&X.log("[Profiling] error while stopping profiler:",c)})}let a=xe.setTimeout(()=>{st&&X.log("[Profiling] max profile duration elapsed, stopping profiling for:",$e(e).description),i()},Ew);const s=e.end.bind(e);function o(){return e?(i().then(()=>{s()},()=>{s()}),e):s()}e.end=o}const tU="BrowserProfiling",nU=()=>({name:tU,setup(e){const t=en(),n=t&&Qt(t);n&&_w(n)&&Cy(n)&&Ny(n),e.on("spanStart",r=>{r===Qt(r)&&Cy(r)&&Ny(r)}),e.on("beforeEnvelope",r=>{if(!QH())return;const i=WH(r);if(!i.length)return;const a=[];for(const s of i){const o=s?.contexts,c=o?.profile?.profile_id,u=o?.profile?.start_timestamp;if(typeof c!="string"){st&&X.log("[Profiling] cannot find profile for a span without a profile context");continue}if(!c){st&&X.log("[Profiling] cannot find profile for a span without a profile context");continue}o?.profile&&delete o.profile;const f=$H(c);if(!f){st&&X.log(`[Profiling] Could not retrieve profile for span: ${c}`);continue}const l=ZH(c,u,f,s);l&&a.push(l)}qH(r,a)})}}),rU=nU,iU="SpotlightBrowser",aU=(e={})=>{const t=e.sidecarUrl||"http://localhost:8969/stream";return{name:iU,setup:()=>{st&&X.log("Using Sidecar URL",t)},processEvent:n=>cU(n)?null:n,afterAllSetup:n=>{sU(n,t)}}};function sU(e,t){const n=uh("fetch");let r=0;e.on("beforeEnvelope",i=>{if(r>3){X.warn("[Spotlight] Disabled Sentry -> Spotlight integration due to too many failed requests:",r);return}n(t,{method:"POST",body:bu(i),headers:{"Content-Type":"application/x-sentry-envelope"},mode:"cors"}).then(a=>{a.status>=200&&a.status<400&&(r=0)},a=>{r++,X.error("Sentry SDK can't connect to Sidecar is it running? See: https://spotlightjs.com/sidecar/npx/",a)})})}const oU=aU;function cU(e){return!!(e.type==="transaction"&&e.spans&&e.contexts?.trace&&e.contexts.trace.op==="ui.action.click"&&e.spans.some(({description:t})=>t?.includes("#sentry-spotlight")))}const uU=()=>({name:"LaunchDarkly",processEvent(e,t,n){return yo(e)}});function lU(){return{name:"sentry-flag-auditor",type:"flag-used",synchronous:!0,method:(e,t,n)=>{Ga(e,t.value),qa(e,t.value)}}}const dU=()=>({name:"OpenFeature",processEvent(e,t,n){return yo(e)}});class fU{after(t,n){Ga(n.flagKey,n.value),qa(n.flagKey,n.value)}error(t,n,r){Ga(t.flagKey,t.defaultValue),qa(t.flagKey,t.defaultValue)}}const pU=({featureFlagClientClass:e})=>({name:"Unleash",setupOnce(){const t=e.prototype;Tn(t,"isEnabled",hU)},processEvent(t,n,r){return yo(t)}});function hU(e){return function(...t){const n=t[0],r=e.apply(this,t);return typeof n=="string"&&typeof r=="boolean"?(Ga(n,r),qa(n,r)):st&&X.error(`[Feature Flags] UnleashClient.isEnabled does not match expected signature. arg0: ${n} (${typeof n}), result: ${r} (${typeof r})`),r}}const mU=({featureFlagClient:e})=>({name:"Statsig",setup(t){e.on("gate_evaluation",n=>{Ga(n.gate.name,n.gate.value),qa(n.gate.name,n.gate.value)})},processEvent(t,n,r){return yo(t)}});async function gU(){const e=Ce();if(!e)return"no-client-active";if(!e.getDsn())return"no-dsn-configured";try{await fetch("https://o447951.ingest.sentry.io/api/4509632503087104/envelope/?sentry_version=7&sentry_key=c1dfb07d783ad5325c245c1fd3725390&sentry_client=sentry.javascript.browser%2F1.33.7",{body:"{}",method:"POST",mode:"cors",credentials:"omit"})}catch{return"sentry-unreachable"}}const yU="WebWorker",_U=({worker:e})=>({name:yU,setupOnce:()=>{(Array.isArray(e)?e:[e]).forEach(t=>My(t))},addWorker:t=>My(t)});function My(e){e.addEventListener("message",t=>{EU(t.data)&&(t.stopImmediatePropagation(),st&&X.log("Sentry debugId web worker message received",t.data),xe._sentryDebugIds={...t.data._sentryDebugIds,...xe._sentryDebugIds})})}function bU({self:e}){e.postMessage({_sentryMessage:!0,_sentryDebugIds:e._sentryDebugIds??void 0})}function EU(e){return zr(e)&&e._sentryMessage===!0&&"_sentryDebugIds"in e&&(zr(e._sentryDebugIds)||e._sentryDebugIds===void 0)}const vU=Object.freeze(Object.defineProperty({__proto__:null,BrowserClient:N0,OpenFeatureIntegrationHook:fU,SDK_VERSION:Vr,SEMANTIC_ATTRIBUTE_SENTRY_OP:Vn,SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN:xt,SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE:fl,SEMANTIC_ATTRIBUTE_SENTRY_SOURCE:Un,Scope:lr,WINDOW:xe,addBreadcrumb:Rr,addEventProcessor:Rv,addIntegration:pf,breadcrumbsIntegration:eS,browserApiErrorsIntegration:tS,browserProfilingIntegration:rU,browserSessionIntegration:nS,browserTracingIntegration:AH,buildLaunchDarklyFlagUsedHandler:lU,captureConsoleIntegration:EM,captureEvent:go,captureException:Zi,captureFeedback:o0,captureMessage:wu,captureSession:ff,chromeStackLineParser:X0,close:hN,consoleLoggingIntegration:wP,contextLinesIntegration:e2,continueTrace:BC,createTransport:Gv,createUserFeedbackEnvelope:QL,dedupeIntegration:$v,defaultRequestInstrumentationOptions:Mh,defaultStackLineParsers:Z0,defaultStackParser:Q0,diagnoseSdkConnectivity:gU,endSession:Wp,eventFiltersIntegration:Kv,eventFromException:R0,eventFromMessage:C0,exceptionFromError:bl,extraErrorDataIntegration:CM,featureFlagsIntegration:fP,feedbackAsyncIntegration:Zk,feedbackIntegration:Pg,feedbackSyncIntegration:Pg,flush:pN,forceLoad:MD,functionToStringIntegration:Yv,geckoStackLineParser:J0,getActiveSpan:en,getClient:Ce,getCurrentScope:tt,getDefaultIntegrations:oS,getFeedback:ok,getGlobalScope:dl,getIsolationScope:$t,getReplay:qx,getRootSpan:Qt,getSpanDescendants:xs,getSpanStatusFromHttpCode:ZE,getTraceData:Yp,globalHandlersIntegration:rS,graphqlClientIntegration:c2,httpClientIntegration:UD,httpContextIntegration:aS,inboundFiltersIntegration:Xv,init:ND,instrumentOutgoingRequests:cw,instrumentSupabaseClient:r0,isEnabled:Ov,isInitialized:mN,lastEventId:Av,launchDarklyIntegration:uU,lazyLoadIntegration:A0,linkedErrorsIntegration:sS,logger:i1,makeBrowserOfflineTransport:DH,makeFetchTransport:fh,makeMultiplexedTransport:zN,moduleMetadataIntegration:gM,onLoad:PD,openFeatureIntegration:dU,opera10StackLineParser:KL,opera11StackLineParser:ZL,parameterize:zv,registerSpanErrorInstrumentation:dv,registerWebWorker:bU,replayCanvasIntegration:uH,replayIntegration:jx,reportingObserverIntegration:FD,rewriteFramesIntegration:xM,sendFeedback:f0,setContext:Iv,setCurrentClient:xv,setExtra:uN,setExtras:cN,setHttpStatus:zs,setMeasurement:bv,setTag:dN,setTags:lN,setUser:fN,showReportDialog:kD,spanToBaggageHeader:fC,spanToJSON:$e,spanToTraceHeader:ov,spotlightBrowserIntegration:oU,startBrowserTracingNavigationSpan:fw,startBrowserTracingPageLoadSpan:dw,startInactiveSpan:oa,startNewTrace:xC,startSession:df,startSpan:ml,startSpanManual:DC,statsigIntegration:mU,supabaseIntegration:ZM,suppressTracing:FC,thirdPartyErrorFilterIntegration:oP,unleashIntegration:pU,updateSpanName:sC,webWorkerIntegration:_U,winjsStackLineParser:WL,withActiveSpan:ho,withIsolationScope:qR,withScope:Zn,zodErrorsIntegration:sP},Symbol.toStringTag,{value:"Module"})),Pl=e=>{typeof window<"u"&&window.Sentry&&e(vU)},{useEffect:SU}=await kn("react"),vw=(e,t)=>SU(()=>{const n=e().catch(r=>{console.error("AsyncEffect error: ",r),Pl(i=>i.captureException("AsyncEffect error: "+r.message,{extra:r}))});return function(){n.then(r=>{typeof r=="function"&&r()})}},t),{createContext:wU,useMemo:TU,useRef:IU,useState:AU}=await kn("react"),Sw=wU(null),Uj=e=>{const{writeKey:t,userId:n,traits:r,children:i}=e,a=IU(null),[s,o]=AU(!1);vw(async()=>{if(!t){console.log("[Analytics] No writeKey provided");return}const u=navigator.userAgent;if(lR(u)){console.log("[Analytics] Skipping load: bot detected");return}try{const{AnalyticsBrowser:l}=await rT(async()=>{const{AnalyticsBrowser:m}=await import("../index-BjA_RJ3F.js").then(g=>g.q);return{AnalyticsBrowser:m}},__vite__mapDeps([0,1,2,3,4]));a.current=l.load({writeKey:t}),n&&a.current.identify(n,r),o(!0)}catch(l){console.error("[Analytics] Failed to initialize:",l),a.current=null}},[t,n,r]);const c=TU(()=>!a.current||!s?{isInitialized:!1,track:()=>{},identify:()=>{},page:()=>{}}:{isInitialized:!0,track:(u,f)=>{a.current?.track(u,f)},identify:(u,f)=>{a.current?.identify(u,f)},page:(u,f)=>{a.current?.page(u,f)}},[s]);return m_.jsx(Sw.Provider,{value:c,children:i})},{createContext:OU}=await kn("react"),ww=OU(null);function wr(e,t){var n=t&&t.cache?t.cache:LU,r=t&&t.serializer?t.serializer:PU,i=t&&t.strategy?t.strategy:NU;return i(e,{cache:n,serializer:r})}function RU(e){return e==null||typeof e=="number"||typeof e=="boolean"}function CU(e,t,n,r){var i=RU(r)?r:n(r),a=t.get(i);return typeof a>"u"&&(a=e.call(this,r),t.set(i,a)),a}function Tw(e,t,n){var r=Array.prototype.slice.call(arguments,3),i=n(r),a=t.get(i);return typeof a>"u"&&(a=e.apply(this,r),t.set(i,a)),a}function Iw(e,t,n,r,i){return n.bind(t,e,r,i)}function NU(e,t){var n=e.length===1?CU:Tw;return Iw(e,this,n,t.cache.create(),t.serializer)}function MU(e,t){return Iw(e,this,Tw,t.cache.create(),t.serializer)}var PU=function(){return JSON.stringify(arguments)},kU=function(){function e(){this.cache=Object.create(null)}return e.prototype.get=function(t){return this.cache[t]},e.prototype.set=function(t,n){this.cache[t]=n},e}(),LU={create:function(){return new kU}},Tr={variadic:MU},ft;(function(e){e[e.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",e[e.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",e[e.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",e[e.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",e[e.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",e[e.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",e[e.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",e[e.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",e[e.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",e[e.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",e[e.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",e[e.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",e[e.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",e[e.INVALID_TAG=23]="INVALID_TAG",e[e.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",e[e.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",e[e.UNCLOSED_TAG=27]="UNCLOSED_TAG"})(ft||(ft={}));var Pt;(function(e){e[e.literal=0]="literal",e[e.argument=1]="argument",e[e.number=2]="number",e[e.date=3]="date",e[e.time=4]="time",e[e.select=5]="select",e[e.plural=6]="plural",e[e.pound=7]="pound",e[e.tag=8]="tag"})(Pt||(Pt={}));var ns;(function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"})(ns||(ns={}));function Py(e){return e.type===Pt.literal}function DU(e){return e.type===Pt.argument}function Aw(e){return e.type===Pt.number}function Ow(e){return e.type===Pt.date}function Rw(e){return e.type===Pt.time}function Cw(e){return e.type===Pt.select}function Nw(e){return e.type===Pt.plural}function BU(e){return e.type===Pt.pound}function Mw(e){return e.type===Pt.tag}function Pw(e){return!!(e&&typeof e=="object"&&e.type===ns.number)}function Vf(e){return!!(e&&typeof e=="object"&&e.type===ns.dateTime)}var kw=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,FU=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;function xU(e){var t={};return e.replace(FU,function(n){var r=n.length;switch(n[0]){case"G":t.era=r===4?"long":r===5?"narrow":"short";break;case"y":t.year=r===2?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":t.month=["numeric","2-digit","short","long","narrow"][r-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":t.day=["numeric","2-digit"][r-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":t.weekday=r===4?"long":r===5?"narrow":"short";break;case"e":if(r<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][r-4];break;case"c":if(r<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][r-4];break;case"a":t.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":t.hourCycle="h12",t.hour=["numeric","2-digit"][r-1];break;case"H":t.hourCycle="h23",t.hour=["numeric","2-digit"][r-1];break;case"K":t.hourCycle="h11",t.hour=["numeric","2-digit"][r-1];break;case"k":t.hourCycle="h24",t.hour=["numeric","2-digit"][r-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":t.minute=["numeric","2-digit"][r-1];break;case"s":t.second=["numeric","2-digit"][r-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":t.timeZoneName=r<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""}),t}var HU=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function UU(e){if(e.length===0)throw new Error("Number skeleton cannot be empty");for(var t=e.split(HU).filter(function(m){return m.length>0}),n=[],r=0,i=t;r<i.length;r++){var a=i[r],s=a.split("/");if(s.length===0)throw new Error("Invalid number skeleton");for(var o=s[0],c=s.slice(1),u=0,f=c;u<f.length;u++){var l=f[u];if(l.length===0)throw new Error("Invalid number skeleton")}n.push({stem:o,options:c})}return n}function jU(e){return e.replace(/^(.*?)-/,"")}var ky=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,Lw=/^(@+)?(\+|#+)?[rs]?$/g,VU=/(\*)(0+)|(#+)(0+)|(0+)/g,Dw=/^(0+)$/;function Ly(e){var t={};return e[e.length-1]==="r"?t.roundingPriority="morePrecision":e[e.length-1]==="s"&&(t.roundingPriority="lessPrecision"),e.replace(Lw,function(n,r,i){return typeof i!="string"?(t.minimumSignificantDigits=r.length,t.maximumSignificantDigits=r.length):i==="+"?t.minimumSignificantDigits=r.length:r[0]==="#"?t.maximumSignificantDigits=r.length:(t.minimumSignificantDigits=r.length,t.maximumSignificantDigits=r.length+(typeof i=="string"?i.length:0)),""}),t}function Bw(e){switch(e){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function GU(e){var t;if(e[0]==="E"&&e[1]==="E"?(t={notation:"engineering"},e=e.slice(2)):e[0]==="E"&&(t={notation:"scientific"},e=e.slice(1)),t){var n=e.slice(0,2);if(n==="+!"?(t.signDisplay="always",e=e.slice(2)):n==="+?"&&(t.signDisplay="exceptZero",e=e.slice(2)),!Dw.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function Dy(e){var t={},n=Bw(e);return n||t}function qU(e){for(var t={},n=0,r=e;n<r.length;n++){var i=r[n];switch(i.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent",t.scale=100;continue;case"currency":t.style="currency",t.currency=i.options[0];continue;case"group-off":case",_":t.useGrouping=!1;continue;case"precision-integer":case".":t.maximumFractionDigits=0;continue;case"measure-unit":case"unit":t.style="unit",t.unit=jU(i.options[0]);continue;case"compact-short":case"K":t.notation="compact",t.compactDisplay="short";continue;case"compact-long":case"KK":t.notation="compact",t.compactDisplay="long";continue;case"scientific":t=Fe(Fe(Fe({},t),{notation:"scientific"}),i.options.reduce(function(c,u){return Fe(Fe({},c),Dy(u))},{}));continue;case"engineering":t=Fe(Fe(Fe({},t),{notation:"engineering"}),i.options.reduce(function(c,u){return Fe(Fe({},c),Dy(u))},{}));continue;case"notation-simple":t.notation="standard";continue;case"unit-width-narrow":t.currencyDisplay="narrowSymbol",t.unitDisplay="narrow";continue;case"unit-width-short":t.currencyDisplay="code",t.unitDisplay="short";continue;case"unit-width-full-name":t.currencyDisplay="name",t.unitDisplay="long";continue;case"unit-width-iso-code":t.currencyDisplay="symbol";continue;case"scale":t.scale=parseFloat(i.options[0]);continue;case"rounding-mode-floor":t.roundingMode="floor";continue;case"rounding-mode-ceiling":t.roundingMode="ceil";continue;case"rounding-mode-down":t.roundingMode="trunc";continue;case"rounding-mode-up":t.roundingMode="expand";continue;case"rounding-mode-half-even":t.roundingMode="halfEven";continue;case"rounding-mode-half-down":t.roundingMode="halfTrunc";continue;case"rounding-mode-half-up":t.roundingMode="halfExpand";continue;case"integer-width":if(i.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");i.options[0].replace(VU,function(c,u,f,l,m,g){if(u)t.minimumIntegerDigits=f.length;else{if(l&&m)throw new Error("We currently do not support maximum integer digits");if(g)throw new Error("We currently do not support exact integer digits")}return""});continue}if(Dw.test(i.stem)){t.minimumIntegerDigits=i.stem.length;continue}if(ky.test(i.stem)){if(i.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace(ky,function(c,u,f,l,m,g){return f==="*"?t.minimumFractionDigits=u.length:l&&l[0]==="#"?t.maximumFractionDigits=l.length:m&&g?(t.minimumFractionDigits=m.length,t.maximumFractionDigits=m.length+g.length):(t.minimumFractionDigits=u.length,t.maximumFractionDigits=u.length),""});var a=i.options[0];a==="w"?t=Fe(Fe({},t),{trailingZeroDisplay:"stripIfInteger"}):a&&(t=Fe(Fe({},t),Ly(a)));continue}if(Lw.test(i.stem)){t=Fe(Fe({},t),Ly(i.stem));continue}var s=Bw(i.stem);s&&(t=Fe(Fe({},t),s));var o=GU(i.stem);o&&(t=Fe(Fe({},t),o))}return t}var xc={"001":["H","h"],419:["h","H","hB","hb"],AC:["H","h","hb","hB"],AD:["H","hB"],AE:["h","hB","hb","H"],AF:["H","hb","hB","h"],AG:["h","hb","H","hB"],AI:["H","h","hb","hB"],AL:["h","H","hB"],AM:["H","hB"],AO:["H","hB"],AR:["h","H","hB","hb"],AS:["h","H"],AT:["H","hB"],AU:["h","hb","H","hB"],AW:["H","hB"],AX:["H"],AZ:["H","hB","h"],BA:["H","hB","h"],BB:["h","hb","H","hB"],BD:["h","hB","H"],BE:["H","hB"],BF:["H","hB"],BG:["H","hB","h"],BH:["h","hB","hb","H"],BI:["H","h"],BJ:["H","hB"],BL:["H","hB"],BM:["h","hb","H","hB"],BN:["hb","hB","h","H"],BO:["h","H","hB","hb"],BQ:["H"],BR:["H","hB"],BS:["h","hb","H","hB"],BT:["h","H"],BW:["H","h","hb","hB"],BY:["H","h"],BZ:["H","h","hb","hB"],CA:["h","hb","H","hB"],CC:["H","h","hb","hB"],CD:["hB","H"],CF:["H","h","hB"],CG:["H","hB"],CH:["H","hB","h"],CI:["H","hB"],CK:["H","h","hb","hB"],CL:["h","H","hB","hb"],CM:["H","h","hB"],CN:["H","hB","hb","h"],CO:["h","H","hB","hb"],CP:["H"],CR:["h","H","hB","hb"],CU:["h","H","hB","hb"],CV:["H","hB"],CW:["H","hB"],CX:["H","h","hb","hB"],CY:["h","H","hb","hB"],CZ:["H"],DE:["H","hB"],DG:["H","h","hb","hB"],DJ:["h","H"],DK:["H"],DM:["h","hb","H","hB"],DO:["h","H","hB","hb"],DZ:["h","hB","hb","H"],EA:["H","h","hB","hb"],EC:["h","H","hB","hb"],EE:["H","hB"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],ER:["h","H"],ES:["H","hB","h","hb"],ET:["hB","hb","h","H"],FI:["H"],FJ:["h","hb","H","hB"],FK:["H","h","hb","hB"],FM:["h","hb","H","hB"],FO:["H","h"],FR:["H","hB"],GA:["H","hB"],GB:["H","h","hb","hB"],GD:["h","hb","H","hB"],GE:["H","hB","h"],GF:["H","hB"],GG:["H","h","hb","hB"],GH:["h","H"],GI:["H","h","hb","hB"],GL:["H","h"],GM:["h","hb","H","hB"],GN:["H","hB"],GP:["H","hB"],GQ:["H","hB","h","hb"],GR:["h","H","hb","hB"],GT:["h","H","hB","hb"],GU:["h","hb","H","hB"],GW:["H","hB"],GY:["h","hb","H","hB"],HK:["h","hB","hb","H"],HN:["h","H","hB","hb"],HR:["H","hB"],HU:["H","h"],IC:["H","h","hB","hb"],ID:["H"],IE:["H","h","hb","hB"],IL:["H","hB"],IM:["H","h","hb","hB"],IN:["h","H"],IO:["H","h","hb","hB"],IQ:["h","hB","hb","H"],IR:["hB","H"],IS:["H"],IT:["H","hB"],JE:["H","h","hb","hB"],JM:["h","hb","H","hB"],JO:["h","hB","hb","H"],JP:["H","K","h"],KE:["hB","hb","H","h"],KG:["H","h","hB","hb"],KH:["hB","h","H","hb"],KI:["h","hb","H","hB"],KM:["H","h","hB","hb"],KN:["h","hb","H","hB"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],KW:["h","hB","hb","H"],KY:["h","hb","H","hB"],KZ:["H","hB"],LA:["H","hb","hB","h"],LB:["h","hB","hb","H"],LC:["h","hb","H","hB"],LI:["H","hB","h"],LK:["H","h","hB","hb"],LR:["h","hb","H","hB"],LS:["h","H"],LT:["H","h","hb","hB"],LU:["H","h","hB"],LV:["H","hB","hb","h"],LY:["h","hB","hb","H"],MA:["H","h","hB","hb"],MC:["H","hB"],MD:["H","hB"],ME:["H","hB","h"],MF:["H","hB"],MG:["H","h"],MH:["h","hb","H","hB"],MK:["H","h","hb","hB"],ML:["H"],MM:["hB","hb","H","h"],MN:["H","h","hb","hB"],MO:["h","hB","hb","H"],MP:["h","hb","H","hB"],MQ:["H","hB"],MR:["h","hB","hb","H"],MS:["H","h","hb","hB"],MT:["H","h"],MU:["H","h"],MV:["H","h"],MW:["h","hb","H","hB"],MX:["h","H","hB","hb"],MY:["hb","hB","h","H"],MZ:["H","hB"],NA:["h","H","hB","hb"],NC:["H","hB"],NE:["H"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NI:["h","H","hB","hb"],NL:["H","hB"],NO:["H","h"],NP:["H","h","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],NZ:["h","hb","H","hB"],OM:["h","hB","hb","H"],PA:["h","H","hB","hb"],PE:["h","H","hB","hb"],PF:["H","h","hB"],PG:["h","H"],PH:["h","hB","hb","H"],PK:["h","hB","H"],PL:["H","h"],PM:["H","hB"],PN:["H","h","hb","hB"],PR:["h","H","hB","hb"],PS:["h","hB","hb","H"],PT:["H","hB"],PW:["h","H"],PY:["h","H","hB","hb"],QA:["h","hB","hb","H"],RE:["H","hB"],RO:["H","hB"],RS:["H","hB","h"],RU:["H"],RW:["H","h"],SA:["h","hB","hb","H"],SB:["h","hb","H","hB"],SC:["H","h","hB"],SD:["h","hB","hb","H"],SE:["H"],SG:["h","hb","H","hB"],SH:["H","h","hb","hB"],SI:["H","hB"],SJ:["H"],SK:["H"],SL:["h","hb","H","hB"],SM:["H","h","hB"],SN:["H","h","hB"],SO:["h","H"],SR:["H","hB"],SS:["h","hb","H","hB"],ST:["H","hB"],SV:["h","H","hB","hb"],SX:["H","h","hb","hB"],SY:["h","hB","hb","H"],SZ:["h","hb","H","hB"],TA:["H","h","hb","hB"],TC:["h","hb","H","hB"],TD:["h","H","hB"],TF:["H","h","hB"],TG:["H","hB"],TH:["H","h"],TJ:["H","h"],TL:["H","hB","hb","h"],TM:["H","h"],TN:["h","hB","hb","H"],TO:["h","H"],TR:["H","hB"],TT:["h","hb","H","hB"],TW:["hB","hb","h","H"],TZ:["hB","hb","H","h"],UA:["H","hB","h"],UG:["hB","hb","H","h"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],UY:["h","H","hB","hb"],UZ:["H","hB","h"],VA:["H","h","hB"],VC:["h","hb","H","hB"],VE:["h","H","hB","hb"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],VN:["H","h"],VU:["h","H"],WF:["H","hB"],WS:["h","H"],XK:["H","hB","h"],YE:["h","hB","hb","H"],YT:["H","hB"],ZA:["H","h","hb","hB"],ZM:["h","hb","H","hB"],ZW:["H","h"],"af-ZA":["H","h","hB","hb"],"ar-001":["h","hB","hb","H"],"ca-ES":["H","h","hB"],"en-001":["h","hb","H","hB"],"en-HK":["h","hb","H","hB"],"en-IL":["H","h","hb","hB"],"en-MY":["h","hb","H","hB"],"es-BR":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"gu-IN":["hB","hb","h","H"],"hi-IN":["hB","h","H"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],"ta-IN":["hB","h","hb","H"],"te-IN":["hB","h","H"],"zu-ZA":["H","hB","hb","h"]};function WU(e,t){for(var n="",r=0;r<e.length;r++){var i=e.charAt(r);if(i==="j"){for(var a=0;r+1<e.length&&e.charAt(r+1)===i;)a++,r++;var s=1+(a&1),o=a<2?1:3+(a>>1),c="a",u=zU(t);for((u=="H"||u=="k")&&(o=0);o-- >0;)n+=c;for(;s-- >0;)n=u+n}else i==="J"?n+="H":n+=i}return n}function zU(e){var t=e.hourCycle;if(t===void 0&&e.hourCycles&&e.hourCycles.length&&(t=e.hourCycles[0]),t)switch(t){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}var n=e.language,r;n!=="root"&&(r=e.maximize().region);var i=xc[r||""]||xc[n||""]||xc["".concat(n,"-001")]||xc["001"];return i[0]}var Ld,YU=new RegExp("^".concat(kw.source,"*")),KU=new RegExp("".concat(kw.source,"*$"));function ht(e,t){return{start:e,end:t}}var XU=!!String.prototype.startsWith&&"_a".startsWith("a",1),JU=!!String.fromCodePoint,ZU=!!Object.fromEntries,QU=!!String.prototype.codePointAt,$U=!!String.prototype.trimStart,e3=!!String.prototype.trimEnd,t3=!!Number.isSafeInteger,n3=t3?Number.isSafeInteger:function(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},Gf=!0;try{var r3=xw("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");Gf=((Ld=r3.exec("a"))===null||Ld===void 0?void 0:Ld[0])==="a"}catch{Gf=!1}var By=XU?function(t,n,r){return t.startsWith(n,r)}:function(t,n,r){return t.slice(r,r+n.length)===n},qf=JU?String.fromCodePoint:function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];for(var r="",i=t.length,a=0,s;i>a;){if(s=t[a++],s>1114111)throw RangeError(s+" is not a valid code point");r+=s<65536?String.fromCharCode(s):String.fromCharCode(((s-=65536)>>10)+55296,s%1024+56320)}return r},Fy=ZU?Object.fromEntries:function(t){for(var n={},r=0,i=t;r<i.length;r++){var a=i[r],s=a[0],o=a[1];n[s]=o}return n},Fw=QU?function(t,n){return t.codePointAt(n)}:function(t,n){var r=t.length;if(!(n<0||n>=r)){var i=t.charCodeAt(n),a;return i<55296||i>56319||n+1===r||(a=t.charCodeAt(n+1))<56320||a>57343?i:(i-55296<<10)+(a-56320)+65536}},i3=$U?function(t){return t.trimStart()}:function(t){return t.replace(YU,"")},a3=e3?function(t){return t.trimEnd()}:function(t){return t.replace(KU,"")};function xw(e,t){return new RegExp(e,t)}var Wf;if(Gf){var xy=xw("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");Wf=function(t,n){var r;xy.lastIndex=n;var i=xy.exec(t);return(r=i[1])!==null&&r!==void 0?r:""}}else Wf=function(t,n){for(var r=[];;){var i=Fw(t,n);if(i===void 0||Hw(i)||u3(i))break;r.push(i),n+=i>=65536?2:1}return qf.apply(void 0,r)};var s3=function(){function e(t,n){n===void 0&&(n={}),this.message=t,this.position={offset:0,line:1,column:1},this.ignoreTag=!!n.ignoreTag,this.locale=n.locale,this.requiresOtherClause=!!n.requiresOtherClause,this.shouldParseSkeletons=!!n.shouldParseSkeletons}return e.prototype.parse=function(){if(this.offset()!==0)throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(t,n,r){for(var i=[];!this.isEOF();){var a=this.char();if(a===123){var s=this.parseArgument(t,r);if(s.err)return s;i.push(s.val)}else{if(a===125&&t>0)break;if(a===35&&(n==="plural"||n==="selectordinal")){var o=this.clonePosition();this.bump(),i.push({type:Pt.pound,location:ht(o,this.clonePosition())})}else if(a===60&&!this.ignoreTag&&this.peek()===47){if(r)break;return this.error(ft.UNMATCHED_CLOSING_TAG,ht(this.clonePosition(),this.clonePosition()))}else if(a===60&&!this.ignoreTag&&zf(this.peek()||0)){var s=this.parseTag(t,n);if(s.err)return s;i.push(s.val)}else{var s=this.parseLiteral(t,n);if(s.err)return s;i.push(s.val)}}}return{val:i,err:null}},e.prototype.parseTag=function(t,n){var r=this.clonePosition();this.bump();var i=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:Pt.literal,value:"<".concat(i,"/>"),location:ht(r,this.clonePosition())},err:null};if(this.bumpIf(">")){var a=this.parseMessage(t+1,n,!0);if(a.err)return a;var s=a.val,o=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!zf(this.char()))return this.error(ft.INVALID_TAG,ht(o,this.clonePosition()));var c=this.clonePosition(),u=this.parseTagName();return i!==u?this.error(ft.UNMATCHED_CLOSING_TAG,ht(c,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:Pt.tag,value:i,children:s,location:ht(r,this.clonePosition())},err:null}:this.error(ft.INVALID_TAG,ht(o,this.clonePosition())))}else return this.error(ft.UNCLOSED_TAG,ht(r,this.clonePosition()))}else return this.error(ft.INVALID_TAG,ht(r,this.clonePosition()))},e.prototype.parseTagName=function(){var t=this.offset();for(this.bump();!this.isEOF()&&c3(this.char());)this.bump();return this.message.slice(t,this.offset())},e.prototype.parseLiteral=function(t,n){for(var r=this.clonePosition(),i="";;){var a=this.tryParseQuote(n);if(a){i+=a;continue}var s=this.tryParseUnquoted(t,n);if(s){i+=s;continue}var o=this.tryParseLeftAngleBracket();if(o){i+=o;continue}break}var c=ht(r,this.clonePosition());return{val:{type:Pt.literal,value:i,location:c},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return!this.isEOF()&&this.char()===60&&(this.ignoreTag||!o3(this.peek()||0))?(this.bump(),"<"):null},e.prototype.tryParseQuote=function(t){if(this.isEOF()||this.char()!==39)return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if(t==="plural"||t==="selectordinal")break;return null;default:return null}this.bump();var n=[this.char()];for(this.bump();!this.isEOF();){var r=this.char();if(r===39)if(this.peek()===39)n.push(39),this.bump();else{this.bump();break}else n.push(r);this.bump()}return qf.apply(void 0,n)},e.prototype.tryParseUnquoted=function(t,n){if(this.isEOF())return null;var r=this.char();return r===60||r===123||r===35&&(n==="plural"||n==="selectordinal")||r===125&&t>0?null:(this.bump(),qf(r))},e.prototype.parseArgument=function(t,n){var r=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(ft.EXPECT_ARGUMENT_CLOSING_BRACE,ht(r,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(ft.EMPTY_ARGUMENT,ht(r,this.clonePosition()));var i=this.parseIdentifierIfPossible().value;if(!i)return this.error(ft.MALFORMED_ARGUMENT,ht(r,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(ft.EXPECT_ARGUMENT_CLOSING_BRACE,ht(r,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:Pt.argument,value:i,location:ht(r,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(ft.EXPECT_ARGUMENT_CLOSING_BRACE,ht(r,this.clonePosition())):this.parseArgumentOptions(t,n,i,r);default:return this.error(ft.MALFORMED_ARGUMENT,ht(r,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var t=this.clonePosition(),n=this.offset(),r=Wf(this.message,n),i=n+r.length;this.bumpTo(i);var a=this.clonePosition(),s=ht(t,a);return{value:r,location:s}},e.prototype.parseArgumentOptions=function(t,n,r,i){var a,s=this.clonePosition(),o=this.parseIdentifierIfPossible().value,c=this.clonePosition();switch(o){case"":return this.error(ft.EXPECT_ARGUMENT_TYPE,ht(s,c));case"number":case"date":case"time":{this.bumpSpace();var u=null;if(this.bumpIf(",")){this.bumpSpace();var f=this.clonePosition(),l=this.parseSimpleArgStyleIfPossible();if(l.err)return l;var m=a3(l.val);if(m.length===0)return this.error(ft.EXPECT_ARGUMENT_STYLE,ht(this.clonePosition(),this.clonePosition()));var g=ht(f,this.clonePosition());u={style:m,styleLocation:g}}var _=this.tryParseArgumentClose(i);if(_.err)return _;var T=ht(i,this.clonePosition());if(u&&By(u?.style,"::",0)){var B=i3(u.style.slice(2));if(o==="number"){var l=this.parseNumberSkeletonFromString(B,u.styleLocation);return l.err?l:{val:{type:Pt.number,value:r,location:T,style:l.val},err:null}}else{if(B.length===0)return this.error(ft.EXPECT_DATE_TIME_SKELETON,T);var U=B;this.locale&&(U=WU(B,this.locale));var m={type:ns.dateTime,pattern:U,location:u.styleLocation,parsedOptions:this.shouldParseSkeletons?xU(U):{}},J=o==="date"?Pt.date:Pt.time;return{val:{type:J,value:r,location:T,style:m},err:null}}}return{val:{type:o==="number"?Pt.number:o==="date"?Pt.date:Pt.time,value:r,location:T,style:(a=u?.style)!==null&&a!==void 0?a:null},err:null}}case"plural":case"selectordinal":case"select":{var K=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(ft.EXPECT_SELECT_ARGUMENT_OPTIONS,ht(K,Fe({},K)));this.bumpSpace();var H=this.parseIdentifierIfPossible(),F=0;if(o!=="select"&&H.value==="offset"){if(!this.bumpIf(":"))return this.error(ft.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,ht(this.clonePosition(),this.clonePosition()));this.bumpSpace();var l=this.tryParseDecimalInteger(ft.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,ft.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(l.err)return l;this.bumpSpace(),H=this.parseIdentifierIfPossible(),F=l.val}var k=this.tryParsePluralOrSelectOptions(t,o,n,H);if(k.err)return k;var _=this.tryParseArgumentClose(i);if(_.err)return _;var j=ht(i,this.clonePosition());return o==="select"?{val:{type:Pt.select,value:r,options:Fy(k.val),location:j},err:null}:{val:{type:Pt.plural,value:r,options:Fy(k.val),offset:F,pluralType:o==="plural"?"cardinal":"ordinal",location:j},err:null}}default:return this.error(ft.INVALID_ARGUMENT_TYPE,ht(s,c))}},e.prototype.tryParseArgumentClose=function(t){return this.isEOF()||this.char()!==125?this.error(ft.EXPECT_ARGUMENT_CLOSING_BRACE,ht(t,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var t=0,n=this.clonePosition();!this.isEOF();){var r=this.char();switch(r){case 39:{this.bump();var i=this.clonePosition();if(!this.bumpUntil("'"))return this.error(ft.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,ht(i,this.clonePosition()));this.bump();break}case 123:{t+=1,this.bump();break}case 125:{if(t>0)t-=1;else return{val:this.message.slice(n.offset,this.offset()),err:null};break}default:this.bump();break}}return{val:this.message.slice(n.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(t,n){var r=[];try{r=UU(t)}catch{return this.error(ft.INVALID_NUMBER_SKELETON,n)}return{val:{type:ns.number,tokens:r,location:n,parsedOptions:this.shouldParseSkeletons?qU(r):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(t,n,r,i){for(var a,s=!1,o=[],c=new Set,u=i.value,f=i.location;;){if(u.length===0){var l=this.clonePosition();if(n!=="select"&&this.bumpIf("=")){var m=this.tryParseDecimalInteger(ft.EXPECT_PLURAL_ARGUMENT_SELECTOR,ft.INVALID_PLURAL_ARGUMENT_SELECTOR);if(m.err)return m;f=ht(l,this.clonePosition()),u=this.message.slice(l.offset,this.offset())}else break}if(c.has(u))return this.error(n==="select"?ft.DUPLICATE_SELECT_ARGUMENT_SELECTOR:ft.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,f);u==="other"&&(s=!0),this.bumpSpace();var g=this.clonePosition();if(!this.bumpIf("{"))return this.error(n==="select"?ft.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:ft.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,ht(this.clonePosition(),this.clonePosition()));var _=this.parseMessage(t+1,n,r);if(_.err)return _;var T=this.tryParseArgumentClose(g);if(T.err)return T;o.push([u,{value:_.val,location:ht(g,this.clonePosition())}]),c.add(u),this.bumpSpace(),a=this.parseIdentifierIfPossible(),u=a.value,f=a.location}return o.length===0?this.error(n==="select"?ft.EXPECT_SELECT_ARGUMENT_SELECTOR:ft.EXPECT_PLURAL_ARGUMENT_SELECTOR,ht(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!s?this.error(ft.MISSING_OTHER_CLAUSE,ht(this.clonePosition(),this.clonePosition())):{val:o,err:null}},e.prototype.tryParseDecimalInteger=function(t,n){var r=1,i=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(r=-1);for(var a=!1,s=0;!this.isEOF();){var o=this.char();if(o>=48&&o<=57)a=!0,s=s*10+(o-48),this.bump();else break}var c=ht(i,this.clonePosition());return a?(s*=r,n3(s)?{val:s,err:null}:this.error(n,c)):this.error(t,c)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},e.prototype.char=function(){var t=this.position.offset;if(t>=this.message.length)throw Error("out of bound");var n=Fw(this.message,t);if(n===void 0)throw Error("Offset ".concat(t," is at invalid UTF-16 code unit boundary"));return n},e.prototype.error=function(t,n){return{val:null,err:{kind:t,message:this.message,location:n}}},e.prototype.bump=function(){if(!this.isEOF()){var t=this.char();t===10?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=t<65536?1:2)}},e.prototype.bumpIf=function(t){if(By(this.message,t,this.offset())){for(var n=0;n<t.length;n++)this.bump();return!0}return!1},e.prototype.bumpUntil=function(t){var n=this.offset(),r=this.message.indexOf(t,n);return r>=0?(this.bumpTo(r),!0):(this.bumpTo(this.message.length),!1)},e.prototype.bumpTo=function(t){if(this.offset()>t)throw Error("targetOffset ".concat(t," must be greater than or equal to the current offset ").concat(this.offset()));for(t=Math.min(t,this.message.length);;){var n=this.offset();if(n===t)break;if(n>t)throw Error("targetOffset ".concat(t," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},e.prototype.bumpSpace=function(){for(;!this.isEOF()&&Hw(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var t=this.char(),n=this.offset(),r=this.message.charCodeAt(n+(t>=65536?2:1));return r??null},e}();function zf(e){return e>=97&&e<=122||e>=65&&e<=90}function o3(e){return zf(e)||e===47}function c3(e){return e===45||e===46||e>=48&&e<=57||e===95||e>=97&&e<=122||e>=65&&e<=90||e==183||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039}function Hw(e){return e>=9&&e<=13||e===32||e===133||e>=8206&&e<=8207||e===8232||e===8233}function u3(e){return e>=33&&e<=35||e===36||e>=37&&e<=39||e===40||e===41||e===42||e===43||e===44||e===45||e>=46&&e<=47||e>=58&&e<=59||e>=60&&e<=62||e>=63&&e<=64||e===91||e===92||e===93||e===94||e===96||e===123||e===124||e===125||e===126||e===161||e>=162&&e<=165||e===166||e===167||e===169||e===171||e===172||e===174||e===176||e===177||e===182||e===187||e===191||e===215||e===247||e>=8208&&e<=8213||e>=8214&&e<=8215||e===8216||e===8217||e===8218||e>=8219&&e<=8220||e===8221||e===8222||e===8223||e>=8224&&e<=8231||e>=8240&&e<=8248||e===8249||e===8250||e>=8251&&e<=8254||e>=8257&&e<=8259||e===8260||e===8261||e===8262||e>=8263&&e<=8273||e===8274||e===8275||e>=8277&&e<=8286||e>=8592&&e<=8596||e>=8597&&e<=8601||e>=8602&&e<=8603||e>=8604&&e<=8607||e===8608||e>=8609&&e<=8610||e===8611||e>=8612&&e<=8613||e===8614||e>=8615&&e<=8621||e===8622||e>=8623&&e<=8653||e>=8654&&e<=8655||e>=8656&&e<=8657||e===8658||e===8659||e===8660||e>=8661&&e<=8691||e>=8692&&e<=8959||e>=8960&&e<=8967||e===8968||e===8969||e===8970||e===8971||e>=8972&&e<=8991||e>=8992&&e<=8993||e>=8994&&e<=9e3||e===9001||e===9002||e>=9003&&e<=9083||e===9084||e>=9085&&e<=9114||e>=9115&&e<=9139||e>=9140&&e<=9179||e>=9180&&e<=9185||e>=9186&&e<=9254||e>=9255&&e<=9279||e>=9280&&e<=9290||e>=9291&&e<=9311||e>=9472&&e<=9654||e===9655||e>=9656&&e<=9664||e===9665||e>=9666&&e<=9719||e>=9720&&e<=9727||e>=9728&&e<=9838||e===9839||e>=9840&&e<=10087||e===10088||e===10089||e===10090||e===10091||e===10092||e===10093||e===10094||e===10095||e===10096||e===10097||e===10098||e===10099||e===10100||e===10101||e>=10132&&e<=10175||e>=10176&&e<=10180||e===10181||e===10182||e>=10183&&e<=10213||e===10214||e===10215||e===10216||e===10217||e===10218||e===10219||e===10220||e===10221||e===10222||e===10223||e>=10224&&e<=10239||e>=10240&&e<=10495||e>=10496&&e<=10626||e===10627||e===10628||e===10629||e===10630||e===10631||e===10632||e===10633||e===10634||e===10635||e===10636||e===10637||e===10638||e===10639||e===10640||e===10641||e===10642||e===10643||e===10644||e===10645||e===10646||e===10647||e===10648||e>=10649&&e<=10711||e===10712||e===10713||e===10714||e===10715||e>=10716&&e<=10747||e===10748||e===10749||e>=10750&&e<=11007||e>=11008&&e<=11055||e>=11056&&e<=11076||e>=11077&&e<=11078||e>=11079&&e<=11084||e>=11085&&e<=11123||e>=11124&&e<=11125||e>=11126&&e<=11157||e===11158||e>=11159&&e<=11263||e>=11776&&e<=11777||e===11778||e===11779||e===11780||e===11781||e>=11782&&e<=11784||e===11785||e===11786||e===11787||e===11788||e===11789||e>=11790&&e<=11798||e===11799||e>=11800&&e<=11801||e===11802||e===11803||e===11804||e===11805||e>=11806&&e<=11807||e===11808||e===11809||e===11810||e===11811||e===11812||e===11813||e===11814||e===11815||e===11816||e===11817||e>=11818&&e<=11822||e===11823||e>=11824&&e<=11833||e>=11834&&e<=11835||e>=11836&&e<=11839||e===11840||e===11841||e===11842||e>=11843&&e<=11855||e>=11856&&e<=11857||e===11858||e>=11859&&e<=11903||e>=12289&&e<=12291||e===12296||e===12297||e===12298||e===12299||e===12300||e===12301||e===12302||e===12303||e===12304||e===12305||e>=12306&&e<=12307||e===12308||e===12309||e===12310||e===12311||e===12312||e===12313||e===12314||e===12315||e===12316||e===12317||e>=12318&&e<=12319||e===12320||e===12336||e===64830||e===64831||e>=65093&&e<=65094}function Yf(e){e.forEach(function(t){if(delete t.location,Cw(t)||Nw(t))for(var n in t.options)delete t.options[n].location,Yf(t.options[n].value);else Aw(t)&&Pw(t.style)||(Ow(t)||Rw(t))&&Vf(t.style)?delete t.style.location:Mw(t)&&Yf(t.children)})}function l3(e,t){t===void 0&&(t={}),t=Fe({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var n=new s3(e,t).parse();if(n.err){var r=SyntaxError(ft[n.err.kind]);throw r.location=n.err.location,r.originalMessage=n.err.message,r}return t?.captureLocation||Yf(n.val),n.val}var Cr;(function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"})(Cr||(Cr={}));var Ni=function(e){pr(t,e);function t(n,r,i){var a=e.call(this,n)||this;return a.code=r,a.originalMessage=i,a}return t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),Hy=function(e){pr(t,e);function t(n,r,i,a){return e.call(this,'Invalid values for "'.concat(n,'": "').concat(r,'". Options are "').concat(Object.keys(i).join('", "'),'"'),Cr.INVALID_VALUE,a)||this}return t}(Ni),d3=function(e){pr(t,e);function t(n,r,i){return e.call(this,'Value for "'.concat(n,'" must be of type ').concat(r),Cr.INVALID_VALUE,i)||this}return t}(Ni),f3=function(e){pr(t,e);function t(n,r){return e.call(this,'The intl string context variable "'.concat(n,'" was not provided to the string "').concat(r,'"'),Cr.MISSING_VALUE,r)||this}return t}(Ni),vn;(function(e){e[e.literal=0]="literal",e[e.object=1]="object"})(vn||(vn={}));function p3(e){return e.length<2?e:e.reduce(function(t,n){var r=t[t.length-1];return!r||r.type!==vn.literal||n.type!==vn.literal?t.push(n):r.value+=n.value,t},[])}function h3(e){return typeof e=="function"}function ou(e,t,n,r,i,a,s){if(e.length===1&&Py(e[0]))return[{type:vn.literal,value:e[0].value}];for(var o=[],c=0,u=e;c<u.length;c++){var f=u[c];if(Py(f)){o.push({type:vn.literal,value:f.value});continue}if(BU(f)){typeof a=="number"&&o.push({type:vn.literal,value:n.getNumberFormat(t).format(a)});continue}var l=f.value;if(!(i&&l in i))throw new f3(l,s);var m=i[l];if(DU(f)){(!m||typeof m=="string"||typeof m=="number")&&(m=typeof m=="string"||typeof m=="number"?String(m):""),o.push({type:typeof m=="string"?vn.literal:vn.object,value:m});continue}if(Ow(f)){var g=typeof f.style=="string"?r.date[f.style]:Vf(f.style)?f.style.parsedOptions:void 0;o.push({type:vn.literal,value:n.getDateTimeFormat(t,g).format(m)});continue}if(Rw(f)){var g=typeof f.style=="string"?r.time[f.style]:Vf(f.style)?f.style.parsedOptions:r.time.medium;o.push({type:vn.literal,value:n.getDateTimeFormat(t,g).format(m)});continue}if(Aw(f)){var g=typeof f.style=="string"?r.number[f.style]:Pw(f.style)?f.style.parsedOptions:void 0;g&&g.scale&&(m=m*(g.scale||1)),o.push({type:vn.literal,value:n.getNumberFormat(t,g).format(m)});continue}if(Mw(f)){var _=f.children,T=f.value,B=i[T];if(!h3(B))throw new d3(T,"function",s);var U=ou(_,t,n,r,i,a),J=B(U.map(function(F){return F.value}));Array.isArray(J)||(J=[J]),o.push.apply(o,J.map(function(F){return{type:typeof F=="string"?vn.literal:vn.object,value:F}}))}if(Cw(f)){var K=f.options[m]||f.options.other;if(!K)throw new Hy(f.value,m,Object.keys(f.options),s);o.push.apply(o,ou(K.value,t,n,r,i));continue}if(Nw(f)){var K=f.options["=".concat(m)];if(!K){if(!Intl.PluralRules)throw new Ni(`Intl.PluralRules is not available in this environment.
515
515
  Try polyfilling it using "@formatjs/intl-pluralrules"
516
516
  `,Cr.MISSING_INTL_API,s);var H=n.getPluralRules(t,{type:f.pluralType}).select(m-(f.offset||0));K=f.options[H]||f.options.other}if(!K)throw new Hy(f.value,m,Object.keys(f.options),s);o.push.apply(o,ou(K.value,t,n,r,i,m-(f.offset||0)));continue}}return p3(o)}function m3(e,t){return t?Fe(Fe(Fe({},e||{}),t||{}),Object.keys(e).reduce(function(n,r){return n[r]=Fe(Fe({},e[r]),t[r]||{}),n},{})):e}function g3(e,t){return t?Object.keys(e).reduce(function(n,r){return n[r]=m3(e[r],t[r]),n},Fe({},e)):e}function Dd(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,n){e[t]=n}}}}}function y3(e){return e===void 0&&(e={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:wr(function(){for(var t,n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];return new((t=Intl.NumberFormat).bind.apply(t,Hr([void 0],n,!1)))},{cache:Dd(e.number),strategy:Tr.variadic}),getDateTimeFormat:wr(function(){for(var t,n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];return new((t=Intl.DateTimeFormat).bind.apply(t,Hr([void 0],n,!1)))},{cache:Dd(e.dateTime),strategy:Tr.variadic}),getPluralRules:wr(function(){for(var t,n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];return new((t=Intl.PluralRules).bind.apply(t,Hr([void 0],n,!1)))},{cache:Dd(e.pluralRules),strategy:Tr.variadic})}}var Uw=function(){function e(t,n,r,i){n===void 0&&(n=e.defaultLocale);var a=this;if(this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(c){var u=a.formatToParts(c);if(u.length===1)return u[0].value;var f=u.reduce(function(l,m){return!l.length||m.type!==vn.literal||typeof l[l.length-1]!="string"?l.push(m.value):l[l.length-1]+=m.value,l},[]);return f.length<=1?f[0]||"":f},this.formatToParts=function(c){return ou(a.ast,a.locales,a.formatters,a.formats,c,void 0,a.message)},this.resolvedOptions=function(){var c;return{locale:((c=a.resolvedLocale)===null||c===void 0?void 0:c.toString())||Intl.NumberFormat.supportedLocalesOf(a.locales)[0]}},this.getAst=function(){return a.ast},this.locales=n,this.resolvedLocale=e.resolveLocale(n),typeof t=="string"){if(this.message=t,!e.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");var s=i||{};s.formatters;var o=iT(s,["formatters"]);this.ast=e.__parse(t,Fe(Fe({},o),{locale:this.resolvedLocale}))}else this.ast=t;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=g3(e.formats,r),this.formatters=i&&i.formatters||y3(this.formatterCache)}return Object.defineProperty(e,"defaultLocale",{get:function(){return e.memoizedDefaultLocale||(e.memoizedDefaultLocale=new Intl.NumberFormat().resolvedOptions().locale),e.memoizedDefaultLocale},enumerable:!1,configurable:!0}),e.memoizedDefaultLocale=null,e.resolveLocale=function(t){if(!(typeof Intl.Locale>"u")){var n=Intl.NumberFormat.supportedLocalesOf(t);return n.length>0?new Intl.Locale(n[0]):new Intl.Locale(typeof t=="string"?t:t[0])}},e.__parse=l3,e.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},e}(),$i;(function(e){e.FORMAT_ERROR="FORMAT_ERROR",e.UNSUPPORTED_FORMATTER="UNSUPPORTED_FORMATTER",e.INVALID_CONFIG="INVALID_CONFIG",e.MISSING_DATA="MISSING_DATA",e.MISSING_TRANSLATION="MISSING_TRANSLATION"})($i||($i={}));var Ao=function(e){pr(t,e);function t(n,r,i){var a=this,s=i?i instanceof Error?i:new Error(String(i)):void 0;return a=e.call(this,"[@formatjs/intl Error ".concat(n,"] ").concat(r,`
517
517
  `).concat(s?`
@@ -0,0 +1 @@
1
+ import"../__federation_fn_import-BxyPyKYw.js";import{C as o,b as t,G as r,T as h,d as i,_ as C,j as c,a as n,j as T,k as l,u,w as _,e as d}from"../emotion-react.browser.esm-C-lDaXQ7.js";import"../emotion-use-insertion-effect-with-fallbacks.browser.esm-BLv21GTb.js";export{o as CacheProvider,t as ClassNames,r as Global,h as ThemeContext,i as ThemeProvider,C as __unsafe_useEmotionCache,c as createElement,n as css,T as jsx,l as keyframes,u as useTheme,_ as withEmotionCache,d as withTheme};
@@ -1 +1 @@
1
- import{importShared as O}from"../__federation_fn_import-BVq5pY2g.js";import{m as E,g as I,s as L,_ as M,r as H,u as N,i as U}from"../emotion-use-insertion-effect-with-fallbacks.browser.esm-5PAiZm_X.js";var D=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|popover|popoverTarget|popoverTargetAction|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,q=E(function(a){return D.test(a)||a.charCodeAt(0)===111&&a.charCodeAt(1)===110&&a.charCodeAt(2)<91});const{withEmotionCache:B,ThemeContext:V}=await O("@emotion/react"),m=await O("react");var W=q,X=function(e){return e!=="theme"},_=function(e){return typeof e=="string"&&e.charCodeAt(0)>96?W:X},A=function(e,i,l){var t;if(i){var o=i.shouldForwardProp;t=e.__emotion_forwardProp&&o?function(d){return e.__emotion_forwardProp(d)&&o(d)}:o}return typeof t!="function"&&l&&(t=e.__emotion_forwardProp),t},j=function(e){var i=e.cache,l=e.serialized,t=e.isStringTag;return H(i,l,t),N(function(){return U(i,l,t)}),null},Y=function a(e,i){var l=e.__emotion_real===e,t=l&&e.__emotion_base||e,o,d;i!==void 0&&(o=i.label,d=i.target);var b=A(e,i,l),S=b||_(t),k=!S("as");return function(){var u=arguments,s=l&&e.__emotion_styles!==void 0?e.__emotion_styles.slice(0):[];if(o!==void 0&&s.push("label:"+o+";"),u[0]==null||u[0].raw===void 0)s.push.apply(s,u);else{var P=u[0];s.push(P[0]);for(var F=u.length,f=1;f<F;f++)s.push(u[f],P[f])}var n=B(function(r,c,h){var x=k&&r.as||t,p="",w=[],g=r;if(r.theme==null){g={};for(var T in r)g[T]=r[T];g.theme=m.useContext(V)}typeof r.className=="string"?p=I(c.registered,w,r.className):r.className!=null&&(p=r.className+" ");var C=L(s.concat(w),c.registered,g);p+=c.key+"-"+C.name,d!==void 0&&(p+=" "+d);var z=k&&b===void 0?_(x):S,y={};for(var v in r)k&&v==="as"||z(v)&&(y[v]=r[v]);return y.className=p,h&&(y.ref=h),m.createElement(m.Fragment,null,m.createElement(j,{cache:c,serialized:C,isStringTag:typeof x=="string"}),m.createElement(x,y))});return n.displayName=o!==void 0?o:"Styled("+(typeof t=="string"?t:t.displayName||t.name||"Component")+")",n.defaultProps=e.defaultProps,n.__emotion_real=n,n.__emotion_base=t,n.__emotion_styles=s,n.__emotion_forwardProp=b,Object.defineProperty(n,"toString",{value:function(){return"."+d}}),n.withComponent=function(r,c){var h=a(r,M({},i,c,{shouldForwardProp:A(n,c,!0)}));return h.apply(void 0,s)},n}},G=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"],R=Y.bind(null);G.forEach(function(a){R[a]=R(a)});export{R as default};
1
+ import{importShared as O}from"../__federation_fn_import-BxyPyKYw.js";import{m as E,g as I,s as L,_ as M,r as H,u as N,i as U}from"../emotion-use-insertion-effect-with-fallbacks.browser.esm-BLv21GTb.js";var D=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|popover|popoverTarget|popoverTargetAction|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,q=E(function(a){return D.test(a)||a.charCodeAt(0)===111&&a.charCodeAt(1)===110&&a.charCodeAt(2)<91});const{withEmotionCache:B,ThemeContext:V}=await O("@emotion/react"),m=await O("react");var W=q,X=function(e){return e!=="theme"},_=function(e){return typeof e=="string"&&e.charCodeAt(0)>96?W:X},A=function(e,i,l){var t;if(i){var o=i.shouldForwardProp;t=e.__emotion_forwardProp&&o?function(d){return e.__emotion_forwardProp(d)&&o(d)}:o}return typeof t!="function"&&l&&(t=e.__emotion_forwardProp),t},j=function(e){var i=e.cache,l=e.serialized,t=e.isStringTag;return H(i,l,t),N(function(){return U(i,l,t)}),null},Y=function a(e,i){var l=e.__emotion_real===e,t=l&&e.__emotion_base||e,o,d;i!==void 0&&(o=i.label,d=i.target);var b=A(e,i,l),S=b||_(t),k=!S("as");return function(){var u=arguments,s=l&&e.__emotion_styles!==void 0?e.__emotion_styles.slice(0):[];if(o!==void 0&&s.push("label:"+o+";"),u[0]==null||u[0].raw===void 0)s.push.apply(s,u);else{var P=u[0];s.push(P[0]);for(var F=u.length,f=1;f<F;f++)s.push(u[f],P[f])}var n=B(function(r,c,h){var x=k&&r.as||t,p="",w=[],g=r;if(r.theme==null){g={};for(var T in r)g[T]=r[T];g.theme=m.useContext(V)}typeof r.className=="string"?p=I(c.registered,w,r.className):r.className!=null&&(p=r.className+" ");var C=L(s.concat(w),c.registered,g);p+=c.key+"-"+C.name,d!==void 0&&(p+=" "+d);var z=k&&b===void 0?_(x):S,y={};for(var v in r)k&&v==="as"||z(v)&&(y[v]=r[v]);return y.className=p,h&&(y.ref=h),m.createElement(m.Fragment,null,m.createElement(j,{cache:c,serialized:C,isStringTag:typeof x=="string"}),m.createElement(x,y))});return n.displayName=o!==void 0?o:"Styled("+(typeof t=="string"?t:t.displayName||t.name||"Component")+")",n.defaultProps=e.defaultProps,n.__emotion_real=n,n.__emotion_base=t,n.__emotion_styles=s,n.__emotion_forwardProp=b,Object.defineProperty(n,"toString",{value:function(){return"."+d}}),n.withComponent=function(r,c){var h=a(r,M({},i,c,{shouldForwardProp:A(n,c,!0)}));return h.apply(void 0,s)},n}},G=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"],R=Y.bind(null);G.forEach(function(a){R[a]=R(a)});export{R as default};