pcm-agents 0.6.11 → 0.6.13
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.
- package/dist/cjs/error-event-J_ZWIqWF.js +33 -0
- package/dist/cjs/error-event-J_ZWIqWF.js.map +1 -0
- package/dist/cjs/{index-CvEfNyEj.js → index-CRlt8Nv6.js} +53 -3
- package/dist/cjs/index-CRlt8Nv6.js.map +1 -0
- package/dist/cjs/index-WNdOTXnX.js +11068 -0
- package/dist/cjs/index-WNdOTXnX.js.map +1 -0
- package/dist/cjs/index.cjs.js +2 -2
- package/dist/cjs/loader.cjs.js +3 -5
- package/dist/cjs/loader.cjs.js.map +1 -1
- package/dist/cjs/message.service-DGUsA-FY.js +135 -0
- package/dist/cjs/message.service-DGUsA-FY.js.map +1 -0
- package/dist/cjs/{pcm-1zhanshi-mnms-modal_17.cjs.entry.js → pcm-1zhanshi-mnms-modal_21.cjs.entry.js} +3276 -216
- package/dist/cjs/pcm-1zhanshi-mnms-modal_21.cjs.entry.js.map +1 -0
- package/dist/cjs/pcm-agents.cjs.js +4 -6
- package/dist/cjs/pcm-agents.cjs.js.map +1 -1
- package/dist/cjs/pcm-message.cjs.entry.js +3 -3
- package/dist/cjs/pcm-message.cjs.entry.js.map +1 -1
- package/dist/cjs/pcm-message.entry.cjs.js.map +1 -1
- package/dist/cjs/pcm-mnms-video-modal.cjs.entry.js +8 -8
- package/dist/cjs/pcm-mnms-video-modal.cjs.entry.js.map +1 -1
- package/dist/cjs/pcm-mnms-video-modal.entry.cjs.js.map +1 -1
- package/dist/cjs/pcm-mnms-zp-modal.cjs.entry.js +29 -86
- package/dist/cjs/pcm-mnms-zp-modal.cjs.entry.js.map +1 -1
- package/dist/cjs/pcm-mnms-zp-modal.entry.cjs.js.map +1 -1
- package/dist/cjs/{sentry-reporter-BWFtw_aT.js → sentry-reporter-tpI4WdkE.js} +12 -40
- package/dist/cjs/sentry-reporter-tpI4WdkE.js.map +1 -0
- package/dist/collection/collection-manifest.json +5 -1
- package/dist/collection/components/pcm-1zhanshi-mnms-modal/pcm-1zhanshi-mnms-modal.js.map +1 -1
- package/dist/collection/components/pcm-app-chat-modal/pcm-app-chat-modal.css +986 -986
- package/dist/collection/components/pcm-app-chat-modal/pcm-app-chat-modal.js +7 -9
- package/dist/collection/components/pcm-app-chat-modal/pcm-app-chat-modal.js.map +1 -1
- package/dist/collection/components/pcm-button/pcm-button.css +199 -199
- package/dist/collection/components/pcm-button/pcm-button.js +6 -6
- package/dist/collection/components/pcm-button/pcm-button.js.map +1 -1
- package/dist/collection/components/pcm-card/pcm-card.css +259 -259
- package/dist/collection/components/pcm-card/pcm-card.js +1 -1
- package/dist/collection/components/pcm-card/pcm-card.js.map +1 -1
- package/dist/collection/components/pcm-chat-message/pcm-chat-message.css +554 -554
- package/dist/collection/components/pcm-chat-message/pcm-chat-message.js +3 -3
- package/dist/collection/components/pcm-chat-message/pcm-chat-message.js.map +1 -1
- package/dist/collection/components/pcm-drawer/pcm-drawer.css +102 -102
- package/dist/collection/components/pcm-drawer/pcm-drawer.js +1 -1
- package/dist/collection/components/pcm-drawer/pcm-drawer.js.map +1 -1
- package/dist/collection/components/pcm-hr-chat-modal/pcm-hr-chat-modal.css +854 -854
- package/dist/collection/components/pcm-hr-chat-modal/pcm-hr-chat-modal.js +5 -7
- package/dist/collection/components/pcm-hr-chat-modal/pcm-hr-chat-modal.js.map +1 -1
- package/dist/collection/components/pcm-htws-modal/pcm-htws-modal.css +95 -95
- package/dist/collection/components/pcm-htws-modal/pcm-htws-modal.js +1 -1
- package/dist/collection/components/pcm-htws-modal/pcm-htws-modal.js.map +1 -1
- package/dist/collection/components/pcm-hyzj-modal/pcm-hyzj-modal.js +2 -2
- package/dist/collection/components/pcm-hyzj-modal/pcm-hyzj-modal.js.map +1 -1
- package/dist/collection/components/pcm-jd-modal/pcm-jd-modal.css +312 -312
- package/dist/collection/components/pcm-jd-modal/pcm-jd-modal.js +1 -1
- package/dist/collection/components/pcm-jd-modal/pcm-jd-modal.js.map +1 -1
- package/dist/collection/components/pcm-jlpp-modal/pcm-jlpp-modal.js +2 -2
- package/dist/collection/components/pcm-jlpp-modal/pcm-jlpp-modal.js.map +1 -1
- package/dist/collection/components/pcm-message/pcm-message.css +64 -64
- package/dist/collection/components/pcm-message/pcm-message.js +2 -2
- package/dist/collection/components/pcm-message/pcm-message.js.map +1 -1
- package/dist/collection/components/pcm-mnct-modal/pcm-mnct-modal.css +1 -1
- package/dist/collection/components/pcm-mnct-modal/pcm-mnct-modal.js +2 -2
- package/dist/collection/components/pcm-mnct-modal/pcm-mnct-modal.js.map +1 -1
- package/dist/collection/components/pcm-mnms-modal/pcm-mnms-modal.js +67 -84
- package/dist/collection/components/pcm-mnms-modal/pcm-mnms-modal.js.map +1 -1
- package/dist/collection/components/pcm-mnms-video-modal/pcm-mnms-video-modal.js +2 -2
- package/dist/collection/components/pcm-mnms-video-modal/pcm-mnms-video-modal.js.map +1 -1
- package/dist/collection/components/pcm-mnms-zp-modal/pcm-mnms-zp-modal.js +67 -84
- package/dist/collection/components/pcm-mnms-zp-modal/pcm-mnms-zp-modal.js.map +1 -1
- package/dist/collection/components/pcm-mobile-input-btn/pcm-mobile-input-btn.css +140 -0
- package/dist/collection/components/pcm-mobile-input-btn/pcm-mobile-input-btn.js +307 -0
- package/dist/collection/components/pcm-mobile-input-btn/pcm-mobile-input-btn.js.map +1 -0
- package/dist/collection/components/pcm-mobile-input-btn/uploadNumberSDK.js +25 -0
- package/dist/collection/components/pcm-mobile-input-btn/uploadNumberSDK.js.map +1 -0
- package/dist/collection/components/pcm-mobile-upload-btn/pcm-mobile-upload-btn.css +127 -0
- package/dist/collection/components/pcm-mobile-upload-btn/pcm-mobile-upload-btn.js +350 -0
- package/dist/collection/components/pcm-mobile-upload-btn/pcm-mobile-upload-btn.js.map +1 -0
- package/dist/collection/components/pcm-mobile-upload-btn/uploadNumberSDK.js +25 -0
- package/dist/collection/components/pcm-mobile-upload-btn/uploadNumberSDK.js.map +1 -0
- package/dist/collection/components/pcm-msbg-modal/pcm-msbg-modal.js +2 -2
- package/dist/collection/components/pcm-msbg-modal/pcm-msbg-modal.js.map +1 -1
- package/dist/collection/components/pcm-qgqjl-modal/pcm-qgqjl-modal.css +1 -1
- package/dist/collection/components/pcm-qgqjl-modal/pcm-qgqjl-modal.js +2 -2
- package/dist/collection/components/pcm-qgqjl-modal/pcm-qgqjl-modal.js.map +1 -1
- package/dist/collection/components/pcm-time-count-down/pcm-time-count-down.css +0 -0
- package/dist/collection/components/pcm-time-count-down/pcm-time-count-down.js +106 -0
- package/dist/collection/components/pcm-time-count-down/pcm-time-count-down.js.map +1 -0
- package/dist/collection/components/pcm-upload/pcm-upload.css +0 -0
- package/dist/collection/components/pcm-upload/pcm-upload.js +408 -0
- package/dist/collection/components/pcm-upload/pcm-upload.js.map +1 -0
- package/dist/collection/components/pcm-zsk-chat-modal/pcm-zsk-chat-modal.css +969 -969
- package/dist/collection/components/pcm-zsk-chat-modal/pcm-zsk-chat-modal.js +3 -5
- package/dist/collection/components/pcm-zsk-chat-modal/pcm-zsk-chat-modal.js.map +1 -1
- package/dist/collection/components/pcm-zygh-modal/pcm-zygh-modal.css +68 -68
- package/dist/collection/components/pcm-zygh-modal/pcm-zygh-modal.js +4 -4
- package/dist/collection/components/pcm-zygh-modal/pcm-zygh-modal.js.map +1 -1
- package/dist/collection/global/global.css +401 -398
- package/dist/collection/global/markdown.css +1233 -1233
- package/dist/collection/global/message.js.map +1 -1
- package/dist/collection/index.js.map +1 -1
- package/dist/collection/interfaces/chat.js.map +1 -1
- package/dist/collection/interfaces/events.js.map +1 -1
- package/dist/collection/services/message.service.js.map +1 -1
- package/dist/collection/utils/env.js +3 -0
- package/dist/collection/utils/env.js.map +1 -1
- package/dist/collection/utils/error-event.js.map +1 -1
- package/dist/collection/utils/init.js.map +1 -1
- package/dist/collection/utils/sentry-reporter.js.map +1 -1
- package/dist/collection/utils/utils.js +48 -24
- package/dist/collection/utils/utils.js.map +1 -1
- package/dist/components/index.js +3 -5482
- package/dist/components/index.js.map +1 -1
- package/dist/components/{p-AYWZDCn8.js → p-B0WOTw9J.js} +51 -4
- package/dist/components/p-B0WOTw9J.js.map +1 -0
- package/dist/components/{p-DUQ46MUh.js → p-BGXbWUJg.js} +3 -3
- package/dist/components/{p-DUQ46MUh.js.map → p-BGXbWUJg.js.map} +1 -1
- package/dist/{esm/sentry-reporter-BFBS363a.js → components/p-BW3r6Lrf.js} +5 -32
- package/dist/components/p-BW3r6Lrf.js.map +1 -0
- package/dist/{esm/app-globals-Chti62re.js → components/p-BdiUKin5.js} +9619 -4296
- package/dist/components/p-BdiUKin5.js.map +1 -0
- package/dist/components/{p-FjtoYPVY.js → p-BywzltXy.js} +10 -9
- package/dist/components/p-BywzltXy.js.map +1 -0
- package/dist/components/p-C2OsjtRx.js +208 -0
- package/dist/components/p-C2OsjtRx.js.map +1 -0
- package/dist/components/{p-D2Z8casl.js → p-CuIvbaWY.js} +5 -5
- package/dist/components/p-CuIvbaWY.js.map +1 -0
- package/dist/components/p-D0ZMoyH8.js +251 -0
- package/dist/components/p-D0ZMoyH8.js.map +1 -0
- package/dist/components/{p-CjbFHLT7.js → p-De3VHEUn.js} +7 -71
- package/dist/components/p-De3VHEUn.js.map +1 -0
- package/dist/components/p-Dv8qvK0w.js +2646 -0
- package/dist/components/p-Dv8qvK0w.js.map +1 -0
- package/dist/components/p-RD3mwuBX.js +226 -0
- package/dist/components/p-RD3mwuBX.js.map +1 -0
- package/dist/components/p-njngFX_n.js +80 -0
- package/dist/components/p-njngFX_n.js.map +1 -0
- package/dist/components/pcm-1zhanshi-mnms-modal.js +7 -7
- package/dist/components/pcm-1zhanshi-mnms-modal.js.map +1 -1
- package/dist/components/pcm-app-chat-modal.js +1 -1
- package/dist/components/pcm-button.js +2 -2
- package/dist/components/pcm-button.js.map +1 -1
- package/dist/components/pcm-card.js +3 -3
- package/dist/components/pcm-card.js.map +1 -1
- package/dist/components/pcm-chat-message.js +1 -1
- package/dist/components/pcm-drawer.js +1 -1
- package/dist/components/pcm-hr-chat-modal.js +5 -4
- package/dist/components/pcm-hr-chat-modal.js.map +1 -1
- package/dist/components/pcm-htws-modal.js +8 -7
- package/dist/components/pcm-htws-modal.js.map +1 -1
- package/dist/components/pcm-hyzj-modal.js +8 -7
- package/dist/components/pcm-hyzj-modal.js.map +1 -1
- package/dist/components/pcm-jd-modal.js +8 -7
- package/dist/components/pcm-jd-modal.js.map +1 -1
- package/dist/components/pcm-jlpp-modal.js +8 -7
- package/dist/components/pcm-jlpp-modal.js.map +1 -1
- package/dist/components/pcm-message.js +3 -3
- package/dist/components/pcm-message.js.map +1 -1
- package/dist/components/pcm-mnct-modal.js +8 -7
- package/dist/components/pcm-mnct-modal.js.map +1 -1
- package/dist/components/pcm-mnms-modal.js +60 -90
- package/dist/components/pcm-mnms-modal.js.map +1 -1
- package/dist/components/pcm-mnms-video-modal.js +8 -7
- package/dist/components/pcm-mnms-video-modal.js.map +1 -1
- package/dist/components/pcm-mnms-zp-modal.js +60 -90
- package/dist/components/pcm-mnms-zp-modal.js.map +1 -1
- package/dist/components/pcm-mobile-input-btn.d.ts +11 -0
- package/dist/components/pcm-mobile-input-btn.js +9 -0
- package/dist/components/pcm-mobile-input-btn.js.map +1 -0
- package/dist/components/pcm-mobile-upload-btn.d.ts +11 -0
- package/dist/components/pcm-mobile-upload-btn.js +9 -0
- package/dist/components/pcm-mobile-upload-btn.js.map +1 -0
- package/dist/components/pcm-msbg-modal.js +8 -7
- package/dist/components/pcm-msbg-modal.js.map +1 -1
- package/dist/components/pcm-qgqjl-modal.js +8 -7
- package/dist/components/pcm-qgqjl-modal.js.map +1 -1
- package/dist/components/pcm-time-count-down.d.ts +11 -0
- package/dist/components/pcm-time-count-down.js +9 -0
- package/dist/components/pcm-time-count-down.js.map +1 -0
- package/dist/components/pcm-upload.d.ts +11 -0
- package/dist/components/pcm-upload.js +9 -0
- package/dist/components/pcm-upload.js.map +1 -0
- package/dist/components/pcm-zsk-chat-modal.js +4 -4
- package/dist/components/pcm-zsk-chat-modal.js.map +1 -1
- package/dist/components/pcm-zygh-modal.js +8 -7
- package/dist/components/pcm-zygh-modal.js.map +1 -1
- package/dist/esm/error-event-C0FYX2-Z.js +31 -0
- package/dist/esm/error-event-C0FYX2-Z.js.map +1 -0
- package/dist/esm/{index-GyOE8SlD.js → index-BnNqOUZf.js} +51 -4
- package/dist/esm/index-BnNqOUZf.js.map +1 -0
- package/dist/esm/index-BuVfV0zo.js +11035 -0
- package/dist/esm/index-BuVfV0zo.js.map +1 -0
- package/dist/esm/index.js +2 -2
- package/dist/esm/loader.js +3 -5
- package/dist/esm/loader.js.map +1 -1
- package/dist/esm/message.service-DXVhHj6-.js +133 -0
- package/dist/esm/message.service-DXVhHj6-.js.map +1 -0
- package/dist/esm/{pcm-1zhanshi-mnms-modal_17.entry.js → pcm-1zhanshi-mnms-modal_21.entry.js} +3225 -169
- package/dist/esm/pcm-1zhanshi-mnms-modal_21.entry.js.map +1 -0
- package/dist/esm/pcm-agents.js +4 -6
- package/dist/esm/pcm-agents.js.map +1 -1
- package/dist/esm/pcm-message.entry.js +3 -3
- package/dist/esm/pcm-message.entry.js.map +1 -1
- package/dist/esm/pcm-mnms-video-modal.entry.js +5 -5
- package/dist/esm/pcm-mnms-video-modal.entry.js.map +1 -1
- package/dist/esm/pcm-mnms-zp-modal.entry.js +28 -85
- package/dist/esm/pcm-mnms-zp-modal.entry.js.map +1 -1
- package/dist/esm/sentry-reporter-CYzy4_8O.js +70 -0
- package/dist/esm/sentry-reporter-CYzy4_8O.js.map +1 -0
- package/dist/pcm-agents/index.esm.js +1 -1
- package/dist/pcm-agents/loader.esm.js.map +1 -1
- package/dist/pcm-agents/p-18a06873.entry.js +2 -0
- package/dist/pcm-agents/p-18a06873.entry.js.map +1 -0
- package/dist/pcm-agents/p-47e2e1d0.entry.js +2 -0
- package/dist/pcm-agents/p-47e2e1d0.entry.js.map +1 -0
- package/dist/pcm-agents/{p-3608c0c6.entry.js → p-7a582f00.entry.js} +2 -2
- package/dist/pcm-agents/p-7a582f00.entry.js.map +1 -0
- package/dist/pcm-agents/p-BhFnI70g.js +2 -0
- package/dist/pcm-agents/p-BhFnI70g.js.map +1 -0
- package/dist/pcm-agents/p-BuVfV0zo.js +3 -0
- package/dist/pcm-agents/p-BuVfV0zo.js.map +1 -0
- package/dist/pcm-agents/p-C0FYX2-Z.js +2 -0
- package/dist/pcm-agents/p-C0FYX2-Z.js.map +1 -0
- package/dist/pcm-agents/p-DXVhHj6-.js +2 -0
- package/dist/pcm-agents/p-DXVhHj6-.js.map +1 -0
- package/dist/pcm-agents/p-DkeaAFic.js +2 -0
- package/dist/pcm-agents/p-DkeaAFic.js.map +1 -0
- package/dist/pcm-agents/p-f5f96853.entry.js +245 -0
- package/dist/pcm-agents/p-f5f96853.entry.js.map +1 -0
- package/dist/pcm-agents/pcm-agents.esm.js +1 -1
- package/dist/pcm-agents/pcm-agents.esm.js.map +1 -1
- package/dist/pcm-agents/pcm-message.entry.esm.js.map +1 -1
- package/dist/pcm-agents/pcm-mnms-video-modal.entry.esm.js.map +1 -1
- package/dist/pcm-agents/pcm-mnms-zp-modal.entry.esm.js.map +1 -1
- package/dist/store/auth.store.js.map +1 -1
- package/dist/store/config.store.js.map +1 -1
- package/dist/types/components/pcm-mnms-modal/pcm-mnms-modal.d.ts +9 -4
- package/dist/types/components/pcm-mnms-zp-modal/pcm-mnms-zp-modal.d.ts +9 -4
- package/dist/types/components/pcm-mobile-input-btn/pcm-mobile-input-btn.d.ts +36 -0
- package/dist/types/components/pcm-mobile-input-btn/uploadNumberSDK.d.ts +9 -0
- package/dist/types/components/pcm-mobile-upload-btn/pcm-mobile-upload-btn.d.ts +44 -0
- package/dist/types/components/pcm-mobile-upload-btn/uploadNumberSDK.d.ts +9 -0
- package/dist/types/components/pcm-time-count-down/pcm-time-count-down.d.ts +15 -0
- package/dist/types/components/pcm-upload/pcm-upload.d.ts +54 -0
- package/dist/types/components/pcm-upload/type.d.ts +4 -0
- package/dist/types/components.d.ts +798 -30
- package/dist/types/stencil-public-runtime.d.ts +1 -1
- package/dist/types/utils/env.d.ts +2 -0
- package/dist/types/utils/utils.d.ts +30 -12
- package/package.json +70 -69
- package/dist/cjs/app-globals-BIO4q6tX.js +0 -5487
- package/dist/cjs/app-globals-BIO4q6tX.js.map +0 -1
- package/dist/cjs/exports-Dc-pQh4A.js +0 -4087
- package/dist/cjs/exports-Dc-pQh4A.js.map +0 -1
- package/dist/cjs/index-C_qhED9Z.js +0 -1538
- package/dist/cjs/index-C_qhED9Z.js.map +0 -1
- package/dist/cjs/index-CvEfNyEj.js.map +0 -1
- package/dist/cjs/pcm-1zhanshi-mnms-modal_17.cjs.entry.js.map +0 -1
- package/dist/cjs/sentry-reporter-BWFtw_aT.js.map +0 -1
- package/dist/components/p-75J0r72D.js +0 -4017
- package/dist/components/p-75J0r72D.js.map +0 -1
- package/dist/components/p-AYWZDCn8.js.map +0 -1
- package/dist/components/p-CR7WLzmM.js +0 -1303
- package/dist/components/p-CR7WLzmM.js.map +0 -1
- package/dist/components/p-CjbFHLT7.js.map +0 -1
- package/dist/components/p-D2Z8casl.js.map +0 -1
- package/dist/components/p-FjtoYPVY.js.map +0 -1
- package/dist/esm/app-globals-Chti62re.js.map +0 -1
- package/dist/esm/exports-Bs-zO1WZ.js +0 -4017
- package/dist/esm/exports-Bs-zO1WZ.js.map +0 -1
- package/dist/esm/index-Bq0K-WqZ.js +0 -1528
- package/dist/esm/index-Bq0K-WqZ.js.map +0 -1
- package/dist/esm/index-GyOE8SlD.js.map +0 -1
- package/dist/esm/pcm-1zhanshi-mnms-modal_17.entry.js.map +0 -1
- package/dist/esm/sentry-reporter-BFBS363a.js.map +0 -1
- package/dist/pcm-agents/p-2Gpw8rvH.js +0 -2
- package/dist/pcm-agents/p-2Gpw8rvH.js.map +0 -1
- package/dist/pcm-agents/p-3608c0c6.entry.js.map +0 -1
- package/dist/pcm-agents/p-60d7a0b0.entry.js +0 -2
- package/dist/pcm-agents/p-60d7a0b0.entry.js.map +0 -1
- package/dist/pcm-agents/p-9e6efc2d.entry.js +0 -2
- package/dist/pcm-agents/p-9e6efc2d.entry.js.map +0 -1
- package/dist/pcm-agents/p-BUV0S8Cc.js +0 -2
- package/dist/pcm-agents/p-BUV0S8Cc.js.map +0 -1
- package/dist/pcm-agents/p-Bq0K-WqZ.js +0 -3
- package/dist/pcm-agents/p-Bq0K-WqZ.js.map +0 -1
- package/dist/pcm-agents/p-Bs-zO1WZ.js +0 -2
- package/dist/pcm-agents/p-Bs-zO1WZ.js.map +0 -1
- package/dist/pcm-agents/p-CeRTfvY9.js +0 -2
- package/dist/pcm-agents/p-CeRTfvY9.js.map +0 -1
- package/dist/pcm-agents/p-e6c87a78.entry.js +0 -2
- package/dist/pcm-agents/p-e6c87a78.entry.js.map +0 -1
- /package/dist/types/{code/agents-sdk → Users/debugksir/Documents/pcm/sdk}/packages/pcm-agents/.stencil/store/auth.store.d.ts +0 -0
- /package/dist/types/{code/agents-sdk → Users/debugksir/Documents/pcm/sdk}/packages/pcm-agents/.stencil/store/config.store.d.ts +0 -0
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{D as t,l as n,g as e,G as r,d as s,e as o,n as i,S as c,f as u,h as a,m as f,u as l,i as d,j as p,k as h,r as m,o as y,p as g,q as v,t as _,v as b,w as E,x as w,y as $,z as S,A as x,B as T,C as k,E as R,F as N,H as j,I as O,J as A,K as D,L,M as C,N as I,O as U,P as M,Q as P,R as B,T as q,U as F,V as H,W,X as G,Y as X,Z as z,_ as Y,c as J,$ as K,a0 as Z,a1 as V,a2 as Q,a3 as tt,a4 as nt,a5 as et,a6 as rt,a7 as st,a8 as ot,a9 as it,aa as ct,ab as ut,ac as at,ad as ft,ae as lt}from"./p-Bs-zO1WZ.js";function dt(t){if(typeof t==="boolean"){return Number(t)}const n=typeof t==="string"?parseFloat(t):t;if(typeof n!=="number"||isNaN(n)||n<0||n>1){return undefined}return n}const pt={};const ht={};function mt(t,n){pt[t]=pt[t]||[];pt[t].push(n)}function yt(e,r){if(!ht[e]){ht[e]=true;try{r()}catch(r){t&&n.error(`Error while instrumenting ${e}`,r)}}}function gt(r,s){const o=r&&pt[r];if(!o){return}for(const i of o){try{i(s)}catch(s){t&&n.error(`Error while triggering instrumentation handler.\nType: ${r}\nName: ${e(i)}\nError:`,s)}}}let vt=null;function _t(t){const n="error";mt(n,t);yt(n,bt)}function bt(){vt=r.onerror;r.onerror=function(t,n,e,r,s){const o={column:r,error:s,line:e,msg:t,url:n};gt("error",o);if(vt){return vt.apply(this,arguments)}return false};r.onerror.__SENTRY_INSTRUMENTED__=true}let Et=null;function wt(t){const n="unhandledrejection";mt(n,t);yt(n,$t)}function $t(){Et=r.onunhandledrejection;r.onunhandledrejection=function(t){const n=t;gt("unhandledrejection",n);if(Et){return Et.apply(this,arguments)}return true};r.onunhandledrejection.__SENTRY_INSTRUMENTED__=true}function St(t,n=[]){return[t,n]}function xt(t,n){const[e,r]=t;return[e,[...r,n]]}function Tt(t,n){const e=t[1];for(const t of e){const e=t[0].type;const r=n(t,e);if(r){return true}}return false}function kt(t){const n=o(r);return n.encodePolyfill?n.encodePolyfill(t):(new TextEncoder).encode(t)}function Rt(t){const[n,e]=t;let r=JSON.stringify(n);function s(t){if(typeof r==="string"){r=typeof t==="string"?r+t:[kt(r),t]}else{r.push(typeof t==="string"?kt(t):t)}}for(const t of e){const[n,e]=t;s(`\n${JSON.stringify(n)}\n`);if(typeof e==="string"||e instanceof Uint8Array){s(e)}else{let t;try{t=JSON.stringify(e)}catch(n){t=JSON.stringify(i(e))}s(t)}}return typeof r==="string"?r:Nt(r)}function Nt(t){const n=t.reduce(((t,n)=>t+n.length),0);const e=new Uint8Array(n);let r=0;for(const n of t){e.set(n,r);r+=n.length}return e}function jt(t){const n=typeof t.data==="string"?kt(t.data):t.data;return[{type:"attachment",length:n.length,filename:t.filename,content_type:t.contentType,attachment_type:t.attachmentType},n]}const Ot={session:"session",sessions:"session",attachment:"attachment",transaction:"transaction",event:"error",client_report:"internal",user_report:"default",profile:"profile",profile_chunk:"profile",replay_event:"replay",replay_recording:"replay",check_in:"monitor",feedback:"feedback",span:"span",raw_security:"security",log:"log_item"};function At(t){return Ot[t]}function Dt(t){if(!t?.sdk){return}const{name:n,version:e}=t.sdk;return{name:n,version:e}}function Lt(t,n,e,r){const o=t.sdkProcessingMetadata?.dynamicSamplingContext;return{event_id:t.event_id,sent_at:(new Date).toISOString(),...n&&{sdk:n},...!!e&&r&&{dsn:s(r)},...o&&{trace:o}}}function Ct(t,n){if(!n){return t}t.sdk=t.sdk||{};t.sdk.name=t.sdk.name||n.name;t.sdk.version=t.sdk.version||n.version;t.sdk.integrations=[...t.sdk.integrations||[],...n.integrations||[]];t.sdk.packages=[...t.sdk.packages||[],...n.packages||[]];return t}function It(t,n,e,r){const o=Dt(e);const i={sent_at:(new Date).toISOString(),...o&&{sdk:o},...!!r&&n&&{dsn:s(n)}};const c="aggregates"in t?[{type:"sessions"},t]:[{type:"session"},t.toJSON()];return St(i,[c])}function Ut(t,n,e,r){const s=Dt(e);const o=t.type&&t.type!=="replay_event"?t.type:"event";Ct(t,e?.sdk);const i=Lt(t,s,r,n);delete t.sdkProcessingMetadata;const c=[{type:o},t];return St(i,[c])}const Mt="7";function Pt(t){const n=t.protocol?`${t.protocol}:`:"";const e=t.port?`:${t.port}`:"";return`${n}//${t.host}${e}${t.path?`/${t.path}`:""}/api/`}function Bt(t){return`${Pt(t)}${t.projectId}/envelope/`}function qt(t,n){const e={sentry_version:Mt};if(t.publicKey){e.sentry_key=t.publicKey}if(n){e.sentry_client=`${n.name}/${n.version}`}return new URLSearchParams(e).toString()}function Ft(t,n,e){return n?n:`${Bt(t)}?${qt(t,e)}`}const Ht=[];function Wt(t){const n={};t.forEach((t=>{const{name:e}=t;const r=n[e];if(r&&!r.isDefaultInstance&&t.isDefaultInstance){return}n[e]=t}));return Object.values(n)}function Gt(t){const n=t.defaultIntegrations||[];const e=t.integrations;n.forEach((t=>{t.isDefaultInstance=true}));let r;if(Array.isArray(e)){r=[...n,...e]}else if(typeof e==="function"){const t=e(n);r=Array.isArray(t)?t:[t]}else{r=n}return Wt(r)}function Xt(t,n){const e={};n.forEach((n=>{if(n){Yt(t,n,e)}}));return e}function zt(t,n){for(const e of n){if(e?.afterAllSetup){e.afterAllSetup(t)}}}function Yt(e,r,s){if(s[r.name]){t&&n.log(`Integration skipped because it was already installed: ${r.name}`);return}s[r.name]=r;if(Ht.indexOf(r.name)===-1&&typeof r.setupOnce==="function"){r.setupOnce();Ht.push(r.name)}if(r.setup&&typeof r.setup==="function"){r.setup(e)}if(typeof r.preprocessEvent==="function"){const t=r.preprocessEvent.bind(r);e.on("preprocessEvent",((n,r)=>t(n,r,e)))}if(typeof r.processEvent==="function"){const t=r.processEvent.bind(r);const n=Object.assign(((n,r)=>t(n,r,e)),{id:r.name});e.addEventProcessor(n)}t&&n.log(`Integration installed: ${r.name}`)}function Jt(t){return t}function Kt(t){const n=[];if(t.message){n.push(t.message)}try{const e=t.exception.values[t.exception.values.length-1];if(e?.value){n.push(e.value);if(e.type){n.push(`${e.type}: ${e.value}`)}}}catch(t){}return n}function Zt(t){const{trace_id:n,parent_span_id:e,span_id:r,status:s,origin:o,data:i,op:a}=t.contexts?.trace??{};return{data:i??{},description:t.transaction,op:a,parent_span_id:e,span_id:r??"",start_timestamp:t.start_timestamp??0,status:s,timestamp:t.timestamp,trace_id:n??"",origin:o,profile_id:i?.[u],exclusive_time:i?.[c],measurements:t.measurements,is_segment:true}}function Vt(t){return{type:"transaction",timestamp:t.timestamp,start_timestamp:t.start_timestamp,transaction:t.description,contexts:{trace:{trace_id:t.trace_id,span_id:t.span_id,parent_span_id:t.parent_span_id,op:t.op,status:t.status,origin:t.origin,data:{...t.data,...t.profile_id&&{[u]:t.profile_id},...t.exclusive_time&&{[c]:t.exclusive_time}}}},measurements:t.measurements}}function Qt(t,n,e){const r=[{type:"client_report"},{timestamp:a(),discarded_events:t}];return St(n?{dsn:n}:{},[r])}const tn="Not capturing exception because it's already been captured.";const nn="Discarded session because of missing or non-string release";const en=Symbol.for("SentryInternalError");const rn=Symbol.for("SentryDoNotSendEventError");function sn(t){return{message:t,[en]:true}}function on(t){return{message:t,[rn]:true}}function cn(t){return!!t&&typeof t==="object"&&en in t}function un(t){return!!t&&typeof t==="object"&&rn in t}class an{constructor(e){this._options=e;this._integrations={};this._numProcessing=0;this._outcomes={};this._hooks={};this._eventProcessors=[];if(e.dsn){this._dsn=f(e.dsn)}else{t&&n.warn("No DSN provided, client will not send events.")}if(this._dsn){const t=Ft(this._dsn,e.tunnel,e._metadata?e._metadata.sdk:undefined);this._transport=e.transport({tunnel:this._options.tunnel,recordDroppedEvent:this.recordDroppedEvent.bind(this),...e.transportOptions,url:t})}}captureException(e,r,s){const o=l();if(d(e)){t&&n.log(tn);return o}const i={event_id:o,...r};this._process(this.eventFromException(e,i).then((t=>this._captureEvent(t,i,s))));return i.event_id}captureMessage(t,n,e,r){const s={event_id:l(),...e};const o=S(t)?t:String(t);const i=p(t)?this.eventFromMessage(o,n,s):this.eventFromException(t,s);this._process(i.then((t=>this._captureEvent(t,s,r))));return s.event_id}captureEvent(e,r,s){const o=l();if(r?.originalException&&d(r.originalException)){t&&n.log(tn);return o}const i={event_id:o,...r};const c=e.sdkProcessingMetadata||{};const u=c.capturedSpanScope;const a=c.capturedSpanIsolationScope;this._process(this._captureEvent(e,i,u||s,a));return i.event_id}captureSession(t){this.sendSession(t);h(t,{init:false})}getDsn(){return this._dsn}getOptions(){return this._options}getSdkMetadata(){return this._options._metadata}getTransport(){return this._transport}flush(t){const n=this._transport;if(n){this.emit("flush");return this._isClientDoneProcessing(t).then((e=>n.flush(t).then((t=>e&&t))))}else{return m(true)}}close(t){return this.flush(t).then((t=>{this.getOptions().enabled=false;this.emit("close");return t}))}getEventProcessors(){return this._eventProcessors}addEventProcessor(t){this._eventProcessors.push(t)}init(){if(this._isEnabled()||this._options.integrations.some((({name:t})=>t.startsWith("Spotlight")))){this._setupIntegrations()}}getIntegrationByName(t){return this._integrations[t]}addIntegration(t){const n=this._integrations[t.name];Yt(this,t,this._integrations);if(!n){zt(this,[t])}}sendEvent(t,n={}){this.emit("beforeSendEvent",t,n);let e=Ut(t,this._dsn,this._options._metadata,this._options.tunnel);for(const t of n.attachments||[]){e=xt(e,jt(t))}const r=this.sendEnvelope(e);if(r){r.then((n=>this.emit("afterSendEvent",t,n)),null)}}sendSession(e){const{release:r,environment:s=y}=this._options;if("aggregates"in e){const o=e.attrs||{};if(!o.release&&!r){t&&n.warn(nn);return}o.release=o.release||r;o.environment=o.environment||s;e.attrs=o}else{if(!e.release&&!r){t&&n.warn(nn);return}e.release=e.release||r;e.environment=e.environment||s}this.emit("beforeSendSession",e);const o=It(e,this._dsn,this._options._metadata,this._options.tunnel);this.sendEnvelope(o)}recordDroppedEvent(e,r,s=1){if(this._options.sendClientReports){const o=`${e}:${r}`;t&&n.log(`Recording outcome: "${o}"${s>1?` (${s} times)`:""}`);this._outcomes[o]=(this._outcomes[o]||0)+s}}on(t,n){const e=this._hooks[t]=this._hooks[t]||[];e.push(n);return()=>{const t=e.indexOf(n);if(t>-1){e.splice(t,1)}}}emit(t,...n){const e=this._hooks[t];if(e){e.forEach((t=>t(...n)))}}sendEnvelope(e){this.emit("beforeEnvelope",e);if(this._isEnabled()&&this._transport){return this._transport.send(e).then(null,(e=>{t&&n.error("Error while sending envelope:",e);return e}))}t&&n.error("Transport disabled");return m({})}_setupIntegrations(){const{integrations:t}=this._options;this._integrations=Xt(this,t);zt(this,t)}_updateSessionFromEvent(t,n){let e=n.level==="fatal";let r=false;const s=n.exception?.values;if(s){r=true;for(const t of s){const n=t.mechanism;if(n?.handled===false){e=true;break}}}const o=t.status==="ok";const i=o&&t.errors===0||o&&e;if(i){h(t,{...e&&{status:"crashed"},errors:t.errors||Number(r||e)});this.captureSession(t)}}_isClientDoneProcessing(t){return new g((n=>{let e=0;const r=1;const s=setInterval((()=>{if(this._numProcessing==0){clearInterval(s);n(true)}else{e+=r;if(t&&e>=t){clearInterval(s);n(false)}}}),r)}))}_isEnabled(){return this.getOptions().enabled!==false&&this._transport!==undefined}_prepareEvent(t,n,e,r){const s=this.getOptions();const o=Object.keys(this._integrations);if(!n.integrations&&o?.length){n.integrations=o}this.emit("preprocessEvent",t,n);if(!t.type){r.setLastEventId(t.event_id||n.event_id)}return v(s,t,n,e,this,r).then((t=>{if(t===null){return t}this.emit("postprocessEvent",t,n);t.contexts={trace:_(e),...t.contexts};const r=b(this,e);t.sdkProcessingMetadata={dynamicSamplingContext:r,...t.sdkProcessingMetadata};return t}))}_captureEvent(e,r={},s=E(),o=w()){if(t&&dn(e)){n.log(`Captured error event \`${Kt(e)[0]||"<unknown>"}\``)}return this._processEvent(e,r,s,o).then((t=>t.event_id),(e=>{if(t){if(un(e)){n.log(e.message)}else if(cn(e)){n.warn(e.message)}else{n.warn(e)}}return undefined}))}_processEvent(t,n,e,r){const s=this.getOptions();const{sampleRate:o}=s;const i=pn(t);const c=dn(t);const u=t.type||"error";const a=`before send for type \`${u}\``;const f=typeof o==="undefined"?undefined:dt(o);if(c&&typeof f==="number"&&Math.random()>f){this.recordDroppedEvent("sample_rate","error");return $(on(`Discarding event because it's not included in the random sample (sampling rate = ${o})`))}const l=u==="replay_event"?"replay":u;return this._prepareEvent(t,n,e,r).then((t=>{if(t===null){this.recordDroppedEvent("event_processor",l);throw on("An event processor returned `null`, will not send event.")}const e=n.data&&n.data.__sentry__===true;if(e){return t}const r=ln(this,s,t,n);return fn(r,a)})).then((s=>{if(s===null){this.recordDroppedEvent("before_send",l);if(i){const n=t.spans||[];const e=1+n.length;this.recordDroppedEvent("before_send","span",e)}throw on(`${a} returned \`null\`, will not send event.`)}const o=e.getSession()||r.getSession();if(c&&o){this._updateSessionFromEvent(o,s)}if(i){const t=s.sdkProcessingMetadata?.spanCountBeforeProcessing||0;const n=s.spans?s.spans.length:0;const e=t-n;if(e>0){this.recordDroppedEvent("before_send","span",e)}}const u=s.transaction_info;if(i&&u&&s.transaction!==t.transaction){const t="custom";s.transaction_info={...u,source:t}}this.sendEvent(s,n);return s})).then(null,(t=>{if(un(t)||cn(t)){throw t}this.captureException(t,{data:{__sentry__:true},originalException:t});throw sn(`Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.\nReason: ${t}`)}))}_process(t){this._numProcessing++;void t.then((t=>{this._numProcessing--;return t}),(t=>{this._numProcessing--;return t}))}_clearOutcomes(){const t=this._outcomes;this._outcomes={};return Object.entries(t).map((([t,n])=>{const[e,r]=t.split(":");return{reason:e,category:r,quantity:n}}))}_flushOutcomes(){t&&n.log("Flushing outcomes...");const e=this._clearOutcomes();if(e.length===0){t&&n.log("No outcomes to send");return}if(!this._dsn){t&&n.log("No dsn provided, will not send outcomes");return}t&&n.log("Sending outcomes:",e);const r=Qt(e,this._options.tunnel&&s(this._dsn));this.sendEnvelope(r)}}function fn(t,n){const e=`${n} must return \`null\` or a valid event.`;if(k(t)){return t.then((t=>{if(!R(t)&&t!==null){throw sn(e)}return t}),(t=>{throw sn(`${n} rejected with ${t}`)}))}else if(!R(t)&&t!==null){throw sn(e)}return t}function ln(t,n,e,r){const{beforeSend:s,beforeSendTransaction:o,beforeSendSpan:i}=n;let c=e;if(dn(c)&&s){return s(c,r)}if(pn(c)){if(i){const t=i(Zt(c));if(!t){x()}else{c=T(e,Vt(t))}if(c.spans){const t=[];for(const n of c.spans){const e=i(n);if(!e){x();t.push(n)}else{t.push(e)}}c.spans=t}}if(o){if(c.spans){const t=c.spans.length;c.sdkProcessingMetadata={...e.sdkProcessingMetadata,spanCountBeforeProcessing:t}}return o(c,r)}}return c}function dn(t){return t.type===undefined}function pn(t){return t.type==="transaction"}function hn(t){return[{type:"log",item_count:t.length,content_type:"application/vnd.sentry.items.log+json"},{items:t}]}function mn(t,n,e,r){const o={};if(n?.sdk){o.sdk={name:n.sdk.name,version:n.sdk.version}}if(!!e&&!!r){o.dsn=s(r)}return St(o,[hn(t)])}r._sentryClientToLogBufferMap=new WeakMap;function yn(t,n){const e=gn(t)??[];if(e.length===0){return}const s=t.getOptions();const o=mn(e,s._metadata,s.tunnel,t.getDsn());r._sentryClientToLogBufferMap?.set(t,[]);t.emit("flushLogs");t.sendEnvelope(o)}function gn(t){return r._sentryClientToLogBufferMap?.get(t)}function vn(e,r){if(r.debug===true){if(t){n.enable()}else{N((()=>{console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle.")}))}}const s=E();s.update(r.initialScope);const o=new e(r);_n(o);o.init();return o}function _n(t){E().setClient(t)}const bn=Symbol.for("SentryBufferFullError");function En(t){const n=[];function e(){return t===undefined||n.length<t}function r(t){return n.splice(n.indexOf(t),1)[0]||Promise.resolve(undefined)}function s(t){if(!e()){return $(bn)}const s=t();if(n.indexOf(s)===-1){n.push(s)}void s.then((()=>r(s))).then(null,(()=>r(s).then(null,(()=>{}))));return s}function o(t){return new g(((e,r)=>{let s=n.length;if(!s){return e(true)}const o=setTimeout((()=>{if(t&&t>0){e(false)}}),t);n.forEach((t=>{void m(t).then((()=>{if(! --s){clearTimeout(o);e(true)}}),r)}))}))}return{$:n,add:s,drain:o}}const wn=60*1e3;function $n(t,n=Date.now()){const e=parseInt(`${t}`,10);if(!isNaN(e)){return e*1e3}const r=Date.parse(`${t}`);if(!isNaN(r)){return r-n}return wn}function Sn(t,n){return t[n]||t.all||0}function xn(t,n,e=Date.now()){return Sn(t,n)>e}function Tn(t,{statusCode:n,headers:e},r=Date.now()){const s={...t};const o=e?.["x-sentry-rate-limits"];const i=e?.["retry-after"];if(o){for(const t of o.trim().split(",")){const[n,e,,,o]=t.split(":",5);const i=parseInt(n,10);const c=(!isNaN(i)?i:60)*1e3;if(!e){s.all=r+c}else{for(const t of e.split(";")){if(t==="metric_bucket"){if(!o||o.split(";").includes("custom")){s[t]=r+c}}else{s[t]=r+c}}}}}else if(i){s.all=r+$n(i,r)}else if(n===429){s.all=r+60*1e3}return s}const kn=64;function Rn(e,r,s=En(e.bufferSize||kn)){let o={};const i=t=>s.drain(t);function c(i){const c=[];Tt(i,((t,n)=>{const r=At(n);if(xn(o,r)){e.recordDroppedEvent("ratelimit_backoff",r)}else{c.push(t)}}));if(c.length===0){return m({})}const u=St(i[0],c);const a=t=>{Tt(u,((n,r)=>{e.recordDroppedEvent(t,At(r))}))};const f=()=>r({body:Rt(u)}).then((e=>{if(e.statusCode!==undefined&&(e.statusCode<200||e.statusCode>=300)){t&&n.warn(`Sentry responded with status code ${e.statusCode} to sent event.`)}o=Tn(o,e);return e}),(e=>{a("network_error");t&&n.error("Encountered error running transport request:",e);throw e}));return s.add(f).then((t=>t),(e=>{if(e===bn){t&&n.error("Skipped sending event because buffer is full.");a("queue_overflow");return m({})}else{throw e}}))}return{send:c,flush:i}}function Nn(t){if(t.user?.ip_address===undefined){t.user={...t.user,ip_address:"{{auto}}"}}}function jn(t){if("aggregates"in t){if(t.attrs?.["ip_address"]===undefined){t.attrs={...t.attrs,ip_address:"{{auto}}"}}}else{if(t.ipAddress===undefined){t.ipAddress="{{auto}}"}}}function On(t,n,e=[n],r="npm"){const s=t._metadata||{};if(!s.sdk){s.sdk={name:`sentry.javascript.${n}`,packages:e.map((t=>({name:`${r}:@sentry/${t}`,version:j}))),version:j}}t._metadata=s}const An=100;function Dn(t,n){const e=O();const r=w();if(!e)return;const{beforeBreadcrumb:s=null,maxBreadcrumbs:o=An}=e.getOptions();if(o<=0)return;const i=a();const c={timestamp:i,...t};const u=s?N((()=>s(c,n))):c;if(u===null)return;if(e.emit){e.emit("beforeAddBreadcrumb",u,n)}r.addBreadcrumb(u,o)}let Ln;const Cn="FunctionToString";const In=new WeakMap;const Un=()=>({name:Cn,setupOnce(){Ln=Function.prototype.toString;try{Function.prototype.toString=function(...t){const n=A(this);const e=In.has(O())&&n!==undefined?n:this;return Ln.apply(e,t)}}catch{}},setup(t){In.set(t,true)}});const Mn=Jt(Un);const Pn=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/,/^ResizeObserver loop completed with undelivered notifications.$/,/^Cannot redefine property: googletag$/,/^Can't find variable: gmo$/,/^undefined is not an object \(evaluating 'a\.[A-Z]'\)$/,'can\'t redefine non-configurable property "solana"',"vv().getRestrictions is not a function. (In 'vv().getRestrictions(1,a)', 'vv().getRestrictions' is undefined)","Can't find variable: _AutofillCallbackHandler",/^Non-Error promise rejection captured with value: Object Not Found Matching Id:\d+, MethodName:simulateEvent, ParamCount:\d+$/,/^Java exception was raised during method invocation$/];const Bn="EventFilters";const qn=Jt(((t={})=>{let n;return{name:Bn,setup(e){const r=e.getOptions();n=Hn(t,r)},processEvent(e,r,s){if(!n){const e=s.getOptions();n=Hn(t,e)}return Wn(e,n)?null:e}}}));const Fn=Jt(((t={})=>({...qn(t),name:"InboundFilters"})));function Hn(t={},n={}){return{allowUrls:[...t.allowUrls||[],...n.allowUrls||[]],denyUrls:[...t.denyUrls||[],...n.denyUrls||[]],ignoreErrors:[...t.ignoreErrors||[],...n.ignoreErrors||[],...t.disableErrorDefaults?[]:Pn],ignoreTransactions:[...t.ignoreTransactions||[],...n.ignoreTransactions||[]]}}function Wn(e,r){if(!e.type){if(Gn(e,r.ignoreErrors)){t&&n.warn(`Event dropped due to being matched by \`ignoreErrors\` option.\nEvent: ${D(e)}`);return true}if(Zn(e)){t&&n.warn(`Event dropped due to not having an error message, error type or stacktrace.\nEvent: ${D(e)}`);return true}if(zn(e,r.denyUrls)){t&&n.warn(`Event dropped due to being matched by \`denyUrls\` option.\nEvent: ${D(e)}.\nUrl: ${Kn(e)}`);return true}if(!Yn(e,r.allowUrls)){t&&n.warn(`Event dropped due to not being matched by \`allowUrls\` option.\nEvent: ${D(e)}.\nUrl: ${Kn(e)}`);return true}}else if(e.type==="transaction"){if(Xn(e,r.ignoreTransactions)){t&&n.warn(`Event dropped due to being matched by \`ignoreTransactions\` option.\nEvent: ${D(e)}`);return true}}return false}function Gn(t,n){if(!n?.length){return false}return Kt(t).some((t=>L(t,n)))}function Xn(t,n){if(!n?.length){return false}const e=t.transaction;return e?L(e,n):false}function zn(t,n){if(!n?.length){return false}const e=Kn(t);return!e?false:L(e,n)}function Yn(t,n){if(!n?.length){return true}const e=Kn(t);return!e?true:L(e,n)}function Jn(t=[]){for(let n=t.length-1;n>=0;n--){const e=t[n];if(e&&e.filename!=="<anonymous>"&&e.filename!=="[native code]"){return e.filename||null}}return null}function Kn(e){try{const t=[...e.exception?.values??[]].reverse().find((t=>t.mechanism?.parent_id===undefined&&t.stacktrace?.frames?.length));const n=t?.stacktrace?.frames;return n?Jn(n):null}catch(r){t&&n.error(`Cannot extract url for event ${D(e)}`);return null}}function Zn(t){if(!t.exception?.values?.length){return false}return!t.message&&!t.exception.values.some((t=>t.stacktrace||t.type&&t.type!=="Error"||t.value))}function Vn(t,n,e,r,s,o){if(!s.exception?.values||!o||!C(o.originalException,Error)){return}const i=s.exception.values.length>0?s.exception.values[s.exception.values.length-1]:undefined;if(i){s.exception.values=Qn(t,n,r,o.originalException,e,s.exception.values,i,0)}}function Qn(t,n,e,r,s,o,i,c){if(o.length>=e+1){return o}let u=[...o];if(C(r[s],Error)){te(i,c);const o=t(n,r[s]);const a=u.length;ne(o,s,a,c);u=Qn(t,n,e,r[s],s,[o,...u],o,a)}if(Array.isArray(r.errors)){r.errors.forEach(((r,o)=>{if(C(r,Error)){te(i,c);const a=t(n,r);const f=u.length;ne(a,`errors[${o}]`,f,c);u=Qn(t,n,e,r,s,[a,...u],a,f)}}))}return u}function te(t,n){t.mechanism=t.mechanism||{type:"generic",handled:true};t.mechanism={...t.mechanism,...t.type==="AggregateError"&&{is_exception_group:true},exception_id:n}}function ne(t,n,e,r){t.mechanism=t.mechanism||{type:"generic",handled:true};t.mechanism={...t.mechanism,type:"chained",source:n,exception_id:e,parent_id:r}}function ee(t){const n="console";mt(n,t);yt(n,re)}function re(){if(!("console"in r)){return}I.forEach((function(t){if(!(t in r.console)){return}U(r.console,t,(function(n){M[t]=n;return function(...n){const e={args:n,level:t};gt("console",e);const s=M[t];s?.apply(r.console,n)}}))}))}function se(t){return t==="warn"?"warning":["fatal","error","warning","log","info","debug"].includes(t)?t:"log"}const oe="Dedupe";const ie=()=>{let e;return{name:oe,processEvent(r){if(r.type){return r}try{if(ue(r,e)){t&&n.warn("Event dropped due to being a duplicate of previously captured event.");return null}}catch(t){}return e=r}}};const ce=Jt(ie);function ue(t,n){if(!n){return false}if(ae(t,n)){return true}if(fe(t,n)){return true}return false}function ae(t,n){const e=t.message;const r=n.message;if(!e&&!r){return false}if(e&&!r||!e&&r){return false}if(e!==r){return false}if(!de(t,n)){return false}if(!le(t,n)){return false}return true}function fe(t,n){const e=pe(n);const r=pe(t);if(!e||!r){return false}if(e.type!==r.type||e.value!==r.value){return false}if(!de(t,n)){return false}if(!le(t,n)){return false}return true}function le(t,n){let e=P(t);let r=P(n);if(!e&&!r){return true}if(e&&!r||!e&&r){return false}e=e;r=r;if(r.length!==e.length){return false}for(let t=0;t<r.length;t++){const n=r[t];const s=e[t];if(n.filename!==s.filename||n.lineno!==s.lineno||n.colno!==s.colno||n.function!==s.function){return false}}return true}function de(t,n){let e=t.fingerprint;let r=n.fingerprint;if(!e&&!r){return true}if(e&&!r||!e&&r){return false}e=e;r=r;try{return!!(e.join("")===r.join(""))}catch(t){return false}}function pe(t){return t.exception?.values&&t.exception.values[0]}function he(t){if(!t){return{}}const n=t.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!n){return{}}const e=n[6]||"";const r=n[8]||"";return{host:n[4],path:n[5],protocol:n[2],search:e,hash:r,relative:n[5]+e+r}}function me(t){if(t===undefined){return undefined}else if(t>=400&&t<500){return"warning"}else if(t>=500){return"error"}else{return undefined}}const ye=r;function ge(){return"history"in ye&&!!ye.history}function ve(){if(!("fetch"in ye)){return false}try{new Headers;new Request("http://www.example.com");new Response;return true}catch(t){return false}}function _e(t){return t&&/^function\s+\w+\(\)\s+\{\s+\[native code\]\s+\}$/.test(t.toString())}function be(){if(typeof EdgeRuntime==="string"){return true}if(!ve()){return false}if(_e(ye.fetch)){return true}let e=false;const r=ye.document;if(r&&typeof r.createElement==="function"){try{const t=r.createElement("iframe");t.hidden=true;r.head.appendChild(t);if(t.contentWindow?.fetch){e=_e(t.contentWindow.fetch)}r.head.removeChild(t)}catch(e){t&&n.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",e)}}return e}function Ee(t,n){const e="fetch";mt(e,t);yt(e,(()=>we(undefined,n)))}function we(t,n=false){if(n&&!be()){return}U(r,"fetch",(function(t){return function(...n){const e=new Error;const{method:s,url:o}=xe(n);const i={args:n,fetchData:{method:s,url:o},startTimestamp:B()*1e3,virtualError:e,headers:Te(n)};{gt("fetch",{...i})}return t.apply(r,n).then((async t=>{{gt("fetch",{...i,endTimestamp:B()*1e3,response:t})}return t}),(t=>{gt("fetch",{...i,endTimestamp:B()*1e3,error:t});if(q(t)&&t.stack===undefined){t.stack=e.stack;F(t,"framesToPop",1)}if(t instanceof TypeError&&(t.message==="Failed to fetch"||t.message==="Load failed"||t.message==="NetworkError when attempting to fetch resource.")){try{const n=new URL(i.fetchData.url);t.message=`${t.message} (${n.host})`}catch{}}throw t}))}}))}function $e(t,n){return!!t&&typeof t==="object"&&!!t[n]}function Se(t){if(typeof t==="string"){return t}if(!t){return""}if($e(t,"url")){return t.url}if(t.toString){return t.toString()}return""}function xe(t){if(t.length===0){return{method:"GET",url:""}}if(t.length===2){const[n,e]=t;return{url:Se(n),method:$e(e,"method")?String(e.method).toUpperCase():"GET"}}const n=t[0];return{url:Se(n),method:$e(n,"method")?String(n.method).toUpperCase():"GET"}}function Te(t){const[n,e]=t;try{if(typeof e==="object"&&e!==null&&"headers"in e&&e.headers){return new Headers(e.headers)}if(H(n)){return new Headers(n.headers)}}catch{}return}function ke(){return"npm"}const Re=r;let Ne=0;function je(){return Ne>0}function Oe(){Ne++;setTimeout((()=>{Ne--}))}function Ae(t,n={}){function e(t){return typeof t==="function"}if(!e(t)){return t}try{const n=t.__sentry_wrapped__;if(n){if(typeof n==="function"){return n}else{return t}}if(A(t)){return t}}catch(n){return t}const r=function(...e){try{const r=e.map((t=>Ae(t,n)));return t.apply(this,r)}catch(t){Oe();X((r=>{r.addEventProcessor((t=>{if(n.mechanism){z(t,undefined);Y(t,n.mechanism)}t.extra={...t.extra,arguments:e};return t}));J(t)}));throw t}};try{for(const n in t){if(Object.prototype.hasOwnProperty.call(t,n)){r[n]=t[n]}}}catch{}G(r,t);F(t,"__sentry_wrapped__",r);try{const n=Object.getOwnPropertyDescriptor(r,"name");if(n.configurable){Object.defineProperty(r,"name",{get(){return t.name}})}}catch{}return r}function De(){const t=W();const{referrer:n}=Re.document||{};const{userAgent:e}=Re.navigator||{};const r={...n&&{Referer:n},...e&&{"User-Agent":e}};const s={url:t,headers:r};return s}function Le(t,n){const e=Ue(t,n);const r={type:Fe(n),value:He(n)};if(e.length){r.stacktrace={frames:e}}if(r.type===undefined&&r.value===""){r.value="Unrecoverable error caught"}return r}function Ce(t,n,e,r){const s=O();const o=s?.getOptions().normalizeDepth;const i=Ke(n);const c={__serialized__:tt(n,o)};if(i){return{exception:{values:[Le(t,i)]},extra:c}}const u={exception:{values:[{type:Q(n)?n.constructor.name:r?"UnhandledRejection":"Error",value:Ye(n,{isUnhandledRejection:r})}]},extra:c};if(e){const n=Ue(t,e);if(n.length){u.exception.values[0].stacktrace={frames:n}}}return u}function Ie(t,n){return{exception:{values:[Le(t,n)]}}}function Ue(t,n){const e=n.stacktrace||n.stack||"";const r=Pe(n);const s=Be(n);try{return t(e,r,s)}catch(t){}return[]}const Me=/Minified React error #\d+;/i;function Pe(t){if(t&&Me.test(t.message)){return 1}return 0}function Be(t){if(typeof t.framesToPop==="number"){return t.framesToPop}return 0}function qe(t){if(typeof WebAssembly!=="undefined"&&typeof WebAssembly.Exception!=="undefined"){return t instanceof WebAssembly.Exception}else{return false}}function Fe(t){const n=t?.name;if(!n&&qe(t)){const n=t.message&&Array.isArray(t.message)&&t.message.length==2;return n?t.message[0]:"WebAssembly.Exception"}return n}function He(t){const n=t?.message;if(qe(t)){if(Array.isArray(t.message)&&t.message.length==2){return t.message[1]}return"wasm exception"}if(!n){return"No error message"}if(n.error&&typeof n.error.message==="string"){return n.error.message}return n}function We(t,n,e,r){const s=e?.syntheticException||undefined;const o=Xe(t,n,s,r);Y(o);o.level="error";if(e?.event_id){o.event_id=e.event_id}return m(o)}function Ge(t,n,e="info",r,s){const o=r?.syntheticException||undefined;const i=ze(t,n,o,s);i.level=e;if(r?.event_id){i.event_id=r.event_id}return m(i)}function Xe(t,n,e,r,s){let o;if(K(n)&&n.error){const e=n;return Ie(t,e.error)}if(Z(n)||V(n)){const s=n;if("stack"in n){o=Ie(t,n)}else{const n=s.name||(Z(s)?"DOMError":"DOMException");const i=s.message?`${n}: ${s.message}`:n;o=ze(t,i,e,r);z(o,i)}if("code"in s){o.tags={...o.tags,"DOMException.code":`${s.code}`}}return o}if(q(n)){return Ie(t,n)}if(R(n)||Q(n)){const r=n;o=Ce(t,r,e,s);Y(o,{synthetic:true});return o}o=ze(t,n,e,r);z(o,`${n}`);Y(o,{synthetic:true});return o}function ze(t,n,e,r){const s={};if(r&&e){const r=Ue(t,e);if(r.length){s.exception={values:[{value:n,stacktrace:{frames:r}}]}}Y(s,{synthetic:true})}if(S(n)){const{__sentry_template_string__:t,__sentry_template_values__:e}=n;s.logentry={message:t,params:e};return s}s.message=n;return s}function Ye(t,{isUnhandledRejection:n}){const e=nt(t);const r=n?"promise rejection":"exception";if(K(t)){return`Event \`ErrorEvent\` captured as ${r} with message \`${t.message}\``}if(Q(t)){const n=Je(t);return`Event \`${n}\` (type=${t.type}) captured as ${r}`}return`Object captured as ${r} with keys: ${e}`}function Je(t){try{const n=Object.getPrototypeOf(t);return n?n.constructor.name:undefined}catch(t){}}function Ke(t){for(const n in t){if(Object.prototype.hasOwnProperty.call(t,n)){const e=t[n];if(e instanceof Error){return e}}}return undefined}const Ze=5e3;class Ve extends an{constructor(t){const n={parentSpanIsAlwaysRootSpan:true,...t};const e=Re.SENTRY_SDK_SOURCE||ke();On(n,"browser",["browser"],e);super(n);const r=this;const{sendDefaultPii:s,_experiments:o}=r._options;const i=o?.enableLogs;if(n.sendClientReports&&Re.document){Re.document.addEventListener("visibilitychange",(()=>{if(Re.document.visibilityState==="hidden"){this._flushOutcomes();if(i){yn(r)}}}))}if(i){r.on("flush",(()=>{yn(r)}));r.on("afterCaptureLog",(()=>{if(r._logFlushIdleTimeout){clearTimeout(r._logFlushIdleTimeout)}r._logFlushIdleTimeout=setTimeout((()=>{yn(r)}),Ze)}))}if(s){r.on("postprocessEvent",Nn);r.on("beforeSendSession",jn)}}eventFromException(t,n){return We(this._options.stackParser,t,n,this._options.attachStacktrace)}eventFromMessage(t,n="info",e){return Ge(this._options.stackParser,t,n,e,this._options.attachStacktrace)}_prepareEvent(t,n,e,r){t.platform=t.platform||"javascript";return super._prepareEvent(t,n,e,r)}}const Qe=typeof __SENTRY_DEBUG__==="undefined"||__SENTRY_DEBUG__;const tr=r;const nr=1e3;let er;let rr;let sr;function or(t){const n="dom";mt(n,t);yt(n,ir)}function ir(){if(!tr.document){return}const t=gt.bind(null,"dom");const n=ar(t,true);tr.document.addEventListener("click",n,false);tr.document.addEventListener("keypress",n,false);["EventTarget","Node"].forEach((n=>{const e=tr;const r=e[n]?.prototype;if(!r?.hasOwnProperty?.("addEventListener")){return}U(r,"addEventListener",(function(n){return function(e,r,s){if(e==="click"||e=="keypress"){try{const r=this.__sentry_instrumentation_handlers__=this.__sentry_instrumentation_handlers__||{};const o=r[e]=r[e]||{refCount:0};if(!o.handler){const r=ar(t);o.handler=r;n.call(this,e,r,s)}o.refCount++}catch(t){}}return n.call(this,e,r,s)}}));U(r,"removeEventListener",(function(t){return function(n,e,r){if(n==="click"||n=="keypress"){try{const e=this.__sentry_instrumentation_handlers__||{};const s=e[n];if(s){s.refCount--;if(s.refCount<=0){t.call(this,n,s.handler,r);s.handler=undefined;delete e[n]}if(Object.keys(e).length===0){delete this.__sentry_instrumentation_handlers__}}}catch(t){}}return t.call(this,n,e,r)}}))}))}function cr(t){if(t.type!==rr){return false}try{if(!t.target||t.target._sentryId!==sr){return false}}catch(t){}return true}function ur(t,n){if(t!=="keypress"){return false}if(!n?.tagName){return true}if(n.tagName==="INPUT"||n.tagName==="TEXTAREA"||n.isContentEditable){return false}return true}function ar(t,n=false){return e=>{if(!e||e["_sentryCaptured"]){return}const r=fr(e);if(ur(e.type,r)){return}F(e,"_sentryCaptured",true);if(r&&!r._sentryId){F(r,"_sentryId",l())}const s=e.type==="keypress"?"input":e.type;if(!cr(e)){const o={event:e,name:s,global:n};t(o);rr=e.type;sr=r?r._sentryId:undefined}clearTimeout(er);er=tr.setTimeout((()=>{sr=undefined;rr=undefined}),nr)}}function fr(t){try{return t.target}catch(t){return null}}let lr;function dr(t){const n="history";mt(n,t);yt(n,pr)}function pr(){tr.addEventListener("popstate",(()=>{const t=tr.location.href;const n=lr;lr=t;if(n===t){return}const e={from:n,to:t};gt("history",e)}));if(!ge()){return}function t(t){return function(...n){const e=n.length>2?n[2]:undefined;if(e){const r=lr;const s=hr(String(e));lr=s;if(r===s){return t.apply(this,n)}const o={from:r,to:s};gt("history",o)}return t.apply(this,n)}}U(tr.history,"pushState",t);U(tr.history,"replaceState",t)}function hr(t){try{const n=new URL(t,tr.location.origin);return n.toString()}catch{return t}}const mr={};function yr(t){const e=mr[t];if(e){return e}let r=tr[t];if(_e(r)){return mr[t]=r.bind(tr)}const s=tr.document;if(s&&typeof s.createElement==="function"){try{const n=s.createElement("iframe");n.hidden=true;s.head.appendChild(n);const e=n.contentWindow;if(e?.[t]){r=e[t]}s.head.removeChild(n)}catch(e){Qe&&n.warn(`Could not create sandbox iframe for ${t} check, bailing to window.${t}: `,e)}}if(!r){return r}return mr[t]=r.bind(tr)}function gr(t){mr[t]=undefined}const vr="__sentry_xhr_v3__";function _r(t){const n="xhr";mt(n,t);yt(n,br)}function br(){if(!tr.XMLHttpRequest){return}const t=XMLHttpRequest.prototype;t.open=new Proxy(t.open,{apply(t,n,e){const r=new Error;const s=B()*1e3;const o=et(e[0])?e[0].toUpperCase():undefined;const i=Er(e[1]);if(!o||!i){return t.apply(n,e)}n[vr]={method:o,url:i,request_headers:{}};if(o==="POST"&&i.match(/sentry_key/)){n.__sentry_own_request__=true}const c=()=>{const t=n[vr];if(!t){return}if(n.readyState===4){try{t.status_code=n.status}catch(t){}const e={endTimestamp:B()*1e3,startTimestamp:s,xhr:n,virtualError:r};gt("xhr",e)}};if("onreadystatechange"in n&&typeof n.onreadystatechange==="function"){n.onreadystatechange=new Proxy(n.onreadystatechange,{apply(t,n,e){c();return t.apply(n,e)}})}else{n.addEventListener("readystatechange",c)}n.setRequestHeader=new Proxy(n.setRequestHeader,{apply(t,n,e){const[r,s]=e;const o=n[vr];if(o&&et(r)&&et(s)){o.request_headers[r.toLowerCase()]=s}return t.apply(n,e)}});return t.apply(n,e)}});t.send=new Proxy(t.send,{apply(t,n,e){const r=n[vr];if(!r){return t.apply(n,e)}if(e[0]!==undefined){r.body=e[0]}const s={startTimestamp:B()*1e3,xhr:n};gt("xhr",s);return t.apply(n,e)}})}function Er(t){if(et(t)){return t}try{return t.toString()}catch{}return undefined}function wr(t,n=yr("fetch")){let e=0;let r=0;function s(s){const o=s.body.length;e+=o;r++;const i={body:s.body,method:"POST",referrerPolicy:"strict-origin",headers:t.headers,keepalive:e<=6e4&&r<15,...t.fetchOptions};if(!n){gr("fetch");return $("No fetch implementation available")}try{return n(t.url,i).then((t=>{e-=o;r--;return{statusCode:t.status,headers:{"x-sentry-rate-limits":t.headers.get("X-Sentry-Rate-Limits"),"retry-after":t.headers.get("Retry-After")}}}))}catch(t){gr("fetch");e-=o;r--;return $(t)}}return Rn(t,s)}const $r=30;const Sr=50;function xr(t,n,e,r){const s={filename:t,function:n==="<anonymous>"?st:n,in_app:true};if(e!==undefined){s.lineno=e}if(r!==undefined){s.colno=r}return s}const Tr=/^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i;const kr=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i;const Rr=/\((\S*)(?::(\d+))(?::(\d+))\)/;const Nr=t=>{const n=Tr.exec(t);if(n){const[,t,e,r]=n;return xr(t,st,+e,+r)}const e=kr.exec(t);if(e){const t=e[2]&&e[2].indexOf("eval")===0;if(t){const t=Rr.exec(e[2]);if(t){e[2]=t[1];e[3]=t[2];e[4]=t[3]}}const[n,r]=Ur(e[1]||st,e[2]);return xr(r,n,e[3]?+e[3]:undefined,e[4]?+e[4]:undefined)}return};const jr=[$r,Nr];const Or=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i;const Ar=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i;const Dr=t=>{const n=Or.exec(t);if(n){const t=n[3]&&n[3].indexOf(" > eval")>-1;if(t){const t=Ar.exec(n[3]);if(t){n[1]=n[1]||"eval";n[3]=t[1];n[4]=t[2];n[5]=""}}let e=n[3];let r=n[1]||st;[r,e]=Ur(r,e);return xr(e,r,n[4]?+n[4]:undefined,n[5]?+n[5]:undefined)}return};const Lr=[Sr,Dr];const Cr=[jr,Lr];const Ir=rt(...Cr);const Ur=(t,n)=>{const e=t.indexOf("safari-extension")!==-1;const r=t.indexOf("safari-web-extension")!==-1;return e||r?[t.indexOf("@")!==-1?t.split("@")[0]:st,e?`safari-extension:${n}`:`safari-web-extension:${n}`]:[t,n]};const Mr=typeof __SENTRY_DEBUG__==="undefined"||__SENTRY_DEBUG__;const Pr=1024;const Br="Breadcrumbs";const qr=(t={})=>{const n={console:true,dom:true,fetch:true,history:true,sentry:true,xhr:true,...t};return{name:Br,setup(t){if(n.console){ee(Gr(t))}if(n.dom){or(Wr(t,n.dom))}if(n.xhr){_r(Xr(t))}if(n.fetch){Ee(zr(t))}if(n.history){dr(Yr(t))}if(n.sentry){t.on("beforeSendEvent",Hr(t))}}}};const Fr=Jt(qr);function Hr(t){return function n(e){if(O()!==t){return}Dn({category:`sentry.${e.type==="transaction"?"transaction":"event"}`,event_id:e.event_id,level:e.level,message:D(e)},{event:e})}}function Wr(t,e){return function r(s){if(O()!==t){return}let o;let i;let c=typeof e==="object"?e.serializeAttribute:undefined;let u=typeof e==="object"&&typeof e.maxStringLength==="number"?e.maxStringLength:undefined;if(u&&u>Pr){Mr&&n.warn(`\`dom.maxStringLength\` cannot exceed ${Pr}, but a value of ${u} was configured. Sentry will use ${Pr} instead.`);u=Pr}if(typeof c==="string"){c=[c]}try{const t=s.event;const n=Jr(t)?t.target:t;o=ot(n,{keyAttrs:c,maxStringLength:u});i=ct(n)}catch(t){o="<unknown>"}if(o.length===0){return}const a={category:`ui.${s.name}`,message:o};if(i){a.data={"ui.component_name":i}}Dn(a,{event:s.event,name:s.name,global:s.global})}}function Gr(t){return function n(e){if(O()!==t){return}const r={category:"console",data:{arguments:e.args,logger:"console"},level:se(e.level),message:it(e.args," ")};if(e.level==="assert"){if(e.args[0]===false){r.message=`Assertion failed: ${it(e.args.slice(1)," ")||"console.assert"}`;r.data.arguments=e.args.slice(1)}else{return}}Dn(r,{input:e.args,level:e.level})}}function Xr(t){return function n(e){if(O()!==t){return}const{startTimestamp:r,endTimestamp:s}=e;const o=e.xhr[vr];if(!r||!s||!o){return}const{method:i,url:c,status_code:u,body:a}=o;const f={method:i,url:c,status_code:u};const l={xhr:e.xhr,input:a,startTimestamp:r,endTimestamp:s};const d={category:"xhr",data:f,type:"http",level:me(u)};t.emit("beforeOutgoingRequestBreadcrumb",d,l);Dn(d,l)}}function zr(t){return function n(e){if(O()!==t){return}const{startTimestamp:r,endTimestamp:s}=e;if(!s){return}if(e.fetchData.url.match(/sentry_key/)&&e.fetchData.method==="POST"){return}if(e.error){const n=e.fetchData;const o={data:e.error,input:e.args,startTimestamp:r,endTimestamp:s};const i={category:"fetch",data:n,level:"error",type:"http"};t.emit("beforeOutgoingRequestBreadcrumb",i,o);Dn(i,o)}else{const n=e.response;const o={...e.fetchData,status_code:n?.status};const i={input:e.args,response:n,startTimestamp:r,endTimestamp:s};const c={category:"fetch",data:o,type:"http",level:me(o.status_code)};t.emit("beforeOutgoingRequestBreadcrumb",c,i);Dn(c,i)}}}function Yr(t){return function n(e){if(O()!==t){return}let r=e.from;let s=e.to;const o=he(Re.location.href);let i=r?he(r):undefined;const c=he(s);if(!i?.path){i=o}if(o.protocol===c.protocol&&o.host===c.host){s=c.relative}if(o.protocol===i.protocol&&o.host===i.host){r=i.relative}Dn({category:"navigation",data:{from:r,to:s}})}}function Jr(t){return!!t&&!!t.target}const Kr=["EventTarget","Window","Node","ApplicationCache","AudioTrackList","BroadcastChannel","ChannelMergerNode","CryptoOperation","EventSource","FileReader","HTMLUnknownElement","IDBDatabase","IDBRequest","IDBTransaction","KeyOperation","MediaController","MessagePort","ModalWindow","Notification","SVGElementInstance","Screen","SharedWorker","TextTrack","TextTrackCue","TextTrackList","WebSocket","WebSocketWorker","Worker","XMLHttpRequest","XMLHttpRequestEventTarget","XMLHttpRequestUpload"];const Zr="BrowserApiErrors";const Vr=(t={})=>{const n={XMLHttpRequest:true,eventTarget:true,requestAnimationFrame:true,setInterval:true,setTimeout:true,...t};return{name:Zr,setupOnce(){if(n.setTimeout){U(Re,"setTimeout",ts)}if(n.setInterval){U(Re,"setInterval",ts)}if(n.requestAnimationFrame){U(Re,"requestAnimationFrame",ns)}if(n.XMLHttpRequest&&"XMLHttpRequest"in Re){U(XMLHttpRequest.prototype,"send",es)}const t=n.eventTarget;if(t){const n=Array.isArray(t)?t:Kr;n.forEach(rs)}}}};const Qr=Jt(Vr);function ts(t){return function(...n){const r=n[0];n[0]=Ae(r,{mechanism:{data:{function:e(t)},handled:false,type:"instrument"}});return t.apply(this,n)}}function ns(t){return function(n){return t.apply(this,[Ae(n,{mechanism:{data:{function:"requestAnimationFrame",handler:e(t)},handled:false,type:"instrument"}})])}}function es(t){return function(...n){const r=this;const s=["onload","onerror","onprogress","onreadystatechange"];s.forEach((t=>{if(t in r&&typeof r[t]==="function"){U(r,t,(function(n){const r={mechanism:{data:{function:t,handler:e(n)},handled:false,type:"instrument"}};const s=A(n);if(s){r.mechanism.data.handler=e(s)}return Ae(n,r)}))}}));return t.apply(this,n)}}function rs(t){const n=Re;const r=n[t]?.prototype;if(!r?.hasOwnProperty?.("addEventListener")){return}U(r,"addEventListener",(function(n){return function(r,s,o){try{if(ss(s)){s.handleEvent=Ae(s.handleEvent,{mechanism:{data:{function:"handleEvent",handler:e(s),target:t},handled:false,type:"instrument"}})}}catch{}return n.apply(this,[r,Ae(s,{mechanism:{data:{function:"addEventListener",handler:e(s),target:t},handled:false,type:"instrument"}}),o])}}));U(r,"removeEventListener",(function(t){return function(n,e,r){try{const s=e.__sentry_wrapped__;if(s){t.call(this,n,s,r)}}catch(t){}return t.call(this,n,e,r)}}))}function ss(t){return typeof t.handleEvent==="function"}const os=Jt((()=>({name:"BrowserSession",setupOnce(){if(typeof Re.document==="undefined"){Mr&&n.warn("Using the `browserSessionIntegration` in non-browser environments is not supported.");return}ut({ignoreDuration:true});at();dr((({from:t,to:n})=>{if(t!==undefined&&t!==n){ut({ignoreDuration:true});at()}}))}})));const is="GlobalHandlers";const cs=(t={})=>{const n={onerror:true,onunhandledrejection:true,...t};return{name:is,setupOnce(){Error.stackTraceLimit=50},setup(t){if(n.onerror){as(t);hs("onerror")}if(n.onunhandledrejection){fs(t);hs("onunhandledrejection")}}}};const us=Jt(cs);function as(t){_t((n=>{const{stackParser:e,attachStacktrace:r}=ms();if(O()!==t||je()){return}const{msg:s,url:o,line:i,column:c,error:u}=n;const a=ps(Xe(e,u||s,undefined,r,false),o,i,c);a.level="error";ft(a,{originalException:u,mechanism:{handled:false,type:"onerror"}})}))}function fs(t){wt((n=>{const{stackParser:e,attachStacktrace:r}=ms();if(O()!==t||je()){return}const s=ls(n);const o=p(s)?ds(s):Xe(e,s,undefined,r,true);o.level="error";ft(o,{originalException:s,mechanism:{handled:false,type:"onunhandledrejection"}})}))}function ls(t){if(p(t)){return t}try{if("reason"in t){return t.reason}if("detail"in t&&"reason"in t.detail){return t.detail.reason}}catch{}return t}function ds(t){return{exception:{values:[{type:"UnhandledRejection",value:`Non-Error promise rejection captured with value: ${String(t)}`}]}}}function ps(t,n,e,r){const s=t.exception=t.exception||{};const o=s.values=s.values||[];const i=o[0]=o[0]||{};const c=i.stacktrace=i.stacktrace||{};const u=c.frames=c.frames||[];const a=r;const f=e;const l=et(n)&&n.length>0?n:W();if(u.length===0){u.push({colno:a,filename:l,function:st,in_app:true,lineno:f})}return t}function hs(t){Mr&&n.log(`Global Handler attached: ${t}`)}function ms(){const t=O();const n=t?.getOptions()||{stackParser:()=>[],attachStacktrace:false};return n}const ys=Jt((()=>({name:"HttpContext",preprocessEvent(t){if(!Re.navigator&&!Re.location&&!Re.document){return}const n=De();const e={...n.headers,...t.request?.headers};t.request={...n,...t.request,headers:e}}})));const gs="cause";const vs=5;const _s="LinkedErrors";const bs=(t={})=>{const n=t.limit||vs;const e=t.key||gs;return{name:_s,preprocessEvent(t,r,s){const o=s.getOptions();Vn(Le,o.stackParser,e,n,t,r)}}};const Es=Jt(bs);function ws(t){return[Fn(),Mn(),Qr(),Fr(),us(),Es(),ce(),ys(),os()]}function $s(t={}){const n={defaultIntegrations:ws(),release:typeof __SENTRY_RELEASE__==="string"?__SENTRY_RELEASE__:Re.SENTRY_RELEASE?.id,sendClientReports:true};return{...n,...Ss(t)}}function Ss(t){const n={};for(const e of Object.getOwnPropertyNames(t)){const r=e;if(t[r]!==undefined){n[r]=t[r]}}return n}function xs(t={}){if(!t.skipBrowserExtensionCheck&&ks()){return}const n=$s(t);const e={...n,stackParser:lt(n.stackParser||Ir),integrations:Gt(n),transport:n.transport||wr};return vn(Ve,e)}function Ts(){if(typeof Re.window==="undefined"){return false}const t=Re;if(t.nw){return false}const n=t["chrome"]||t["browser"];if(!n?.runtime?.id){return false}const e=W();const r=["chrome-extension","moz-extension","ms-browser-extension","safari-web-extension"];const s=Re===Re.top&&r.some((t=>e.startsWith(`${t}://`)));return!s}function ks(){if(Ts()){if(Mr){N((()=>{console.error("[Sentry] You cannot use Sentry.init() in a browser extension, see: https://docs.sentry.io/platforms/javascript/best-practices/browser-extensions/")}))}return true}}async function Rs(){return await new Promise((t=>{xs({dsn:"https://d4dd33313afbf480bb76f965a5dcc733@sentry.ylzhaopin.com/9",integrations:[],beforeSend(t){if(t.exception&&t.exception.values){const n=t.exception.values[0];if(n.stacktrace&&n.stacktrace.frames){const t=n.stacktrace.frames.some((t=>t.filename&&t.filename.includes("pcm-")));if(!t){return null}}}return t},tracesSampleRate:.1});t({})}))}const Ns=Rs;export{Ns as g};
|
|
2
|
-
//# sourceMappingURL=p-CeRTfvY9.js.map
|