ghost 5.25.3 → 5.25.5
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/components/tryghost-adapter-manager-5.25.5.tgz +0 -0
- package/components/tryghost-api-framework-5.25.5.tgz +0 -0
- package/components/{tryghost-api-version-compatibility-service-5.25.3.tgz → tryghost-api-version-compatibility-service-5.25.5.tgz} +0 -0
- package/components/tryghost-audience-feedback-5.25.5.tgz +0 -0
- package/components/tryghost-bootstrap-socket-5.25.5.tgz +0 -0
- package/components/tryghost-constants-5.25.5.tgz +0 -0
- package/components/tryghost-custom-theme-settings-service-5.25.5.tgz +0 -0
- package/components/{tryghost-data-generator-5.25.3.tgz → tryghost-data-generator-5.25.5.tgz} +0 -0
- package/components/tryghost-domain-events-5.25.5.tgz +0 -0
- package/components/{tryghost-email-analytics-provider-mailgun-5.25.3.tgz → tryghost-email-analytics-provider-mailgun-5.25.5.tgz} +0 -0
- package/components/tryghost-email-analytics-service-5.25.5.tgz +0 -0
- package/components/{tryghost-email-content-generator-5.25.3.tgz → tryghost-email-content-generator-5.25.5.tgz} +0 -0
- package/components/{tryghost-email-events-5.25.3.tgz → tryghost-email-events-5.25.5.tgz} +0 -0
- package/components/tryghost-email-service-5.25.5.tgz +0 -0
- package/components/tryghost-email-suppression-list-5.25.5.tgz +0 -0
- package/components/tryghost-express-dynamic-redirects-5.25.5.tgz +0 -0
- package/components/{tryghost-extract-api-key-5.25.3.tgz → tryghost-extract-api-key-5.25.5.tgz} +0 -0
- package/components/tryghost-html-to-plaintext-5.25.5.tgz +0 -0
- package/components/tryghost-job-manager-5.25.5.tgz +0 -0
- package/components/tryghost-link-redirects-5.25.5.tgz +0 -0
- package/components/tryghost-link-replacer-5.25.5.tgz +0 -0
- package/components/tryghost-link-tracking-5.25.5.tgz +0 -0
- package/components/tryghost-magic-link-5.25.5.tgz +0 -0
- package/components/tryghost-mailgun-client-5.25.5.tgz +0 -0
- package/components/tryghost-member-attribution-5.25.5.tgz +0 -0
- package/components/{tryghost-member-events-5.25.3.tgz → tryghost-member-events-5.25.5.tgz} +0 -0
- package/components/{tryghost-members-api-5.25.3.tgz → tryghost-members-api-5.25.5.tgz} +0 -0
- package/components/tryghost-members-csv-5.25.5.tgz +0 -0
- package/components/tryghost-members-events-service-5.25.5.tgz +0 -0
- package/components/{tryghost-members-importer-5.25.3.tgz → tryghost-members-importer-5.25.5.tgz} +0 -0
- package/components/tryghost-members-offers-5.25.5.tgz +0 -0
- package/components/tryghost-members-payments-5.25.5.tgz +0 -0
- package/components/tryghost-members-ssr-5.25.5.tgz +0 -0
- package/components/{tryghost-members-stripe-service-5.25.3.tgz → tryghost-members-stripe-service-5.25.5.tgz} +0 -0
- package/components/{tryghost-minifier-5.25.3.tgz → tryghost-minifier-5.25.5.tgz} +0 -0
- package/components/tryghost-mw-api-version-mismatch-5.25.5.tgz +0 -0
- package/components/tryghost-mw-cache-control-5.25.5.tgz +0 -0
- package/components/tryghost-mw-error-handler-5.25.5.tgz +0 -0
- package/components/tryghost-mw-session-from-token-5.25.5.tgz +0 -0
- package/components/tryghost-mw-update-user-last-seen-5.25.5.tgz +0 -0
- package/components/tryghost-mw-vhost-5.25.5.tgz +0 -0
- package/components/tryghost-oembed-service-5.25.5.tgz +0 -0
- package/components/tryghost-package-json-5.25.5.tgz +0 -0
- package/components/tryghost-referrers-5.25.5.tgz +0 -0
- package/components/tryghost-security-5.25.5.tgz +0 -0
- package/components/tryghost-session-service-5.25.5.tgz +0 -0
- package/components/tryghost-settings-path-manager-5.25.5.tgz +0 -0
- package/components/{tryghost-staff-service-5.25.3.tgz → tryghost-staff-service-5.25.5.tgz} +0 -0
- package/components/tryghost-stats-service-5.25.5.tgz +0 -0
- package/components/tryghost-tiers-5.25.5.tgz +0 -0
- package/components/tryghost-update-check-service-5.25.5.tgz +0 -0
- package/components/tryghost-verification-trigger-5.25.5.tgz +0 -0
- package/components/tryghost-version-notifications-data-service-5.25.5.tgz +0 -0
- package/content/themes/casper/assets/built/casper.js +1 -1
- package/content/themes/casper/assets/built/casper.js.map +1 -1
- package/content/themes/casper/assets/built/screen.css +1 -1
- package/content/themes/casper/assets/built/screen.css.map +1 -1
- package/content/themes/casper/assets/css/screen.css +52 -5
- package/content/themes/casper/assets/js/dropdown.js +1 -1
- package/content/themes/casper/assets/js/infinite-scroll.js +2 -0
- package/content/themes/casper/author.hbs +57 -51
- package/content/themes/casper/default.hbs +10 -7
- package/content/themes/casper/index.hbs +2 -0
- package/content/themes/casper/package.json +1 -1
- package/content/themes/casper/tag.hbs +3 -0
- package/core/built/admin/assets/{chunk.143.37f5727f90df66ade091.js → chunk.143.ce979d0e79756c847be1.js} +20 -20
- package/core/built/admin/assets/{chunk.178.fbba40422427964e79c9.js → chunk.178.20fd180216b1dde2c738.js} +4 -4
- package/core/built/admin/assets/{chunk.507.f7ed7e0b5ac069083e0c.js → chunk.507.18a4d11e74a0b6e03a69.js} +107 -102
- package/core/built/admin/assets/{chunk.613.551c7c3e872b9a811863.js → chunk.613.7e15b585f6a677d191bb.js} +157 -151
- package/core/built/admin/assets/{chunk.613.551c7c3e872b9a811863.js.LICENSE.txt → chunk.613.7e15b585f6a677d191bb.js.LICENSE.txt} +0 -0
- package/core/built/admin/assets/{ghost-15f77300dbb6762873d6692e0485a37a.js → ghost-04991abb5f64c0b3442a093dbfa55a67.js} +55 -52
- package/core/built/admin/assets/img/themes/Alto-0dfe76694ed222d6d96fc9c8db979a38.png +0 -0
- package/core/built/admin/assets/img/themes/Bulletin-d66dec818ad0ba2965dd7eb3130c621c.png +0 -0
- package/core/built/admin/assets/img/themes/Casper-9a0ce71df3a1c589c1414ad2aa5b8aeb.png +0 -0
- package/core/built/admin/assets/img/themes/Dawn-302fbfdbc352098a256137159bd83dd8.png +0 -0
- package/core/built/admin/assets/img/themes/Digest-698e78d8e8481daff8ae4a8647528dc9.png +0 -0
- package/core/built/admin/assets/img/themes/Dope-d099dfca697adae16baa76f89520c5b3.png +0 -0
- package/core/built/admin/assets/img/themes/Ease-7075f809892f10c58892e15a57a4aae4.png +0 -0
- package/core/built/admin/assets/img/themes/Edge-1e5e0eec6941d7bdca02cebb66187357.png +0 -0
- package/core/built/admin/assets/img/themes/Edition-10111a2b8458168dcff81b7fb151be70.png +0 -0
- package/core/built/admin/assets/img/themes/Episode-e4c86d1f75ef1d8a77791d7fd519fdd4.png +0 -0
- package/core/built/admin/assets/img/themes/Headline-f70eaf49b9fcae1ddfe3d4496d8be54d.png +0 -0
- package/core/built/admin/assets/img/themes/Journal-07d35b2311501d2738bad1907ba2f7e1.png +0 -0
- package/core/built/admin/assets/img/themes/London-4e042390da16fecef947f3a7001d03db.png +0 -0
- package/core/built/admin/assets/img/themes/Ruby-b896885448e0f28ca62c6dcd56c732aa.png +0 -0
- package/core/built/admin/assets/img/themes/Solo-0292eb9ae0ca7b578cff50824d40cc86.png +0 -0
- package/core/built/admin/assets/img/themes/Taste-a24d2a786900d9caff7e773ca0040991.png +0 -0
- package/core/built/admin/assets/img/themes/Wave-b98fadfd3ed16e8b2e383dd8e8e5dca2.png +0 -0
- package/core/built/admin/assets/{vendor-0d29a566ca9747f2cfba9d7c98e39f53.js → vendor-a5908fe1facfc5cd41d8b915a996bfed.js} +5 -4
- package/core/built/admin/index.html +4 -4
- package/core/frontend/helpers/get.js +67 -16
- package/core/server/api/endpoints/db.js +1 -1
- package/core/server/api/endpoints/utils/serializers/output/mappers/newsletters.js +1 -0
- package/core/server/data/importer/importers/data/data-importer.js +1 -1
- package/core/server/services/mega/mega.js +10 -4
- package/core/server/services/members/middleware.js +18 -3
- package/core/server/services/members-events/index.js +4 -1
- package/core/server/services/stripe/service.js +3 -1
- package/core/shared/config/defaults.json +14 -6
- package/package.json +139 -138
- package/yarn.lock +678 -439
- package/components/tryghost-adapter-manager-5.25.3.tgz +0 -0
- package/components/tryghost-api-framework-5.25.3.tgz +0 -0
- package/components/tryghost-audience-feedback-5.25.3.tgz +0 -0
- package/components/tryghost-bootstrap-socket-5.25.3.tgz +0 -0
- package/components/tryghost-constants-5.25.3.tgz +0 -0
- package/components/tryghost-custom-theme-settings-service-5.25.3.tgz +0 -0
- package/components/tryghost-domain-events-5.25.3.tgz +0 -0
- package/components/tryghost-email-analytics-service-5.25.3.tgz +0 -0
- package/components/tryghost-email-service-5.25.3.tgz +0 -0
- package/components/tryghost-email-suppression-list-5.25.3.tgz +0 -0
- package/components/tryghost-express-dynamic-redirects-5.25.3.tgz +0 -0
- package/components/tryghost-html-to-plaintext-5.25.3.tgz +0 -0
- package/components/tryghost-job-manager-5.25.3.tgz +0 -0
- package/components/tryghost-link-redirects-5.25.3.tgz +0 -0
- package/components/tryghost-link-replacer-5.25.3.tgz +0 -0
- package/components/tryghost-link-tracking-5.25.3.tgz +0 -0
- package/components/tryghost-magic-link-5.25.3.tgz +0 -0
- package/components/tryghost-mailgun-client-5.25.3.tgz +0 -0
- package/components/tryghost-member-attribution-5.25.3.tgz +0 -0
- package/components/tryghost-members-csv-5.25.3.tgz +0 -0
- package/components/tryghost-members-events-service-5.25.3.tgz +0 -0
- package/components/tryghost-members-offers-5.25.3.tgz +0 -0
- package/components/tryghost-members-payments-5.25.3.tgz +0 -0
- package/components/tryghost-members-ssr-5.25.3.tgz +0 -0
- package/components/tryghost-mw-api-version-mismatch-5.25.3.tgz +0 -0
- package/components/tryghost-mw-cache-control-5.25.3.tgz +0 -0
- package/components/tryghost-mw-error-handler-5.25.3.tgz +0 -0
- package/components/tryghost-mw-session-from-token-5.25.3.tgz +0 -0
- package/components/tryghost-mw-update-user-last-seen-5.25.3.tgz +0 -0
- package/components/tryghost-mw-vhost-5.25.3.tgz +0 -0
- package/components/tryghost-oembed-service-5.25.3.tgz +0 -0
- package/components/tryghost-package-json-5.25.3.tgz +0 -0
- package/components/tryghost-referrers-5.25.3.tgz +0 -0
- package/components/tryghost-security-5.25.3.tgz +0 -0
- package/components/tryghost-session-service-5.25.3.tgz +0 -0
- package/components/tryghost-settings-path-manager-5.25.3.tgz +0 -0
- package/components/tryghost-stats-service-5.25.3.tgz +0 -0
- package/components/tryghost-tiers-5.25.3.tgz +0 -0
- package/components/tryghost-update-check-service-5.25.3.tgz +0 -0
- package/components/tryghost-verification-trigger-5.25.3.tgz +0 -0
- package/components/tryghost-version-notifications-data-service-5.25.3.tgz +0 -0
- package/core/built/admin/assets/img/themes/Alto-f4db5af43ca9771c7ac1f754de3ddf2f.png +0 -0
- package/core/built/admin/assets/img/themes/Bulletin-57d45b992ff0e26e0acdce7ed4cccd67.png +0 -0
- package/core/built/admin/assets/img/themes/Casper-19b7267aac5acc6abfaaed7e41eddae8.jpg +0 -0
- package/core/built/admin/assets/img/themes/Dawn-be81aa8c8caae8fcfb5d5fbec823fdcc.png +0 -0
- package/core/built/admin/assets/img/themes/Digest-d3467ac22a290e1ad3a543014758286e.png +0 -0
- package/core/built/admin/assets/img/themes/Dope-6f8e0bbc199ce4af9a60859e9e6a74ad.png +0 -0
- package/core/built/admin/assets/img/themes/Ease-9c279ea6cec3c0f1823f81c9dd24b116.png +0 -0
- package/core/built/admin/assets/img/themes/Edge-0258906309e11fd075a1d9880aa09b20.png +0 -0
- package/core/built/admin/assets/img/themes/Edition-d8f508e93bc24bdf2716ae6f8b3d44f8.png +0 -0
- package/core/built/admin/assets/img/themes/Headline-c5070cf549e797a6a72b87237caa1617.jpg +0 -0
- package/core/built/admin/assets/img/themes/Journal-accf0031bbae0919900a049061e65a04.png +0 -0
- package/core/built/admin/assets/img/themes/London-3f07efcee9e5bfb9a33827064eb77e70.jpg +0 -0
- package/core/built/admin/assets/img/themes/Ruby-11a53c62015612f4b3aca8f503121225.png +0 -0
- package/core/built/admin/assets/img/themes/Solo-8634b5681d888995e0f5fe8ac1a27ba0.png +0 -0
- package/core/built/admin/assets/img/themes/Wave-86e8044c2d76cb57a9030e4c24ac9520.png +0 -0
|
@@ -51,15 +51,18 @@
|
|
|
51
51
|
{{/match}}
|
|
52
52
|
{{else}}
|
|
53
53
|
<button class="gh-search gh-icon-btn" data-ghost-search>{{> "icons/search"}}</button>
|
|
54
|
-
|
|
55
|
-
{{#unless @
|
|
56
|
-
|
|
54
|
+
<div class="gh-head-members">
|
|
55
|
+
{{#unless @member}}
|
|
56
|
+
{{#unless @site.members_invite_only}}
|
|
57
|
+
<a class="gh-head-link" href="#/portal/signin" data-portal="signin">Sign in</a>
|
|
58
|
+
<a class="gh-head-button" href="#/portal/signup" data-portal="signup">Subscribe</a>
|
|
59
|
+
{{else}}
|
|
60
|
+
<a class="gh-head-button" href="#/portal/signin" data-portal="signin">Sign in</a>
|
|
61
|
+
{{/unless}}
|
|
57
62
|
{{else}}
|
|
58
|
-
<a class="gh-head-
|
|
63
|
+
<a class="gh-head-btn gh-btn gh-primary-btn" href="#/portal/account" data-portal="account">Account</a>
|
|
59
64
|
{{/unless}}
|
|
60
|
-
|
|
61
|
-
<a class="gh-head-button" href="#/portal/account" data-portal="account">Account</a>
|
|
62
|
-
{{/unless}}
|
|
65
|
+
</div>
|
|
63
66
|
{{/unless}}
|
|
64
67
|
</div>
|
|
65
68
|
</div>
|
|
@@ -9,41 +9,41 @@ return Array.isArray(e.tiers)&&(s=e.tiers.map((e=>e.name)).join(",")),{id:e.id,e
|
|
|
9
9
|
return s.unparse(t,{columns:r})}},96616:(e,r,t)=>{var n={"./af":21516,"./af.js":21516,"./ar":14874,"./ar-dz":83760,"./ar-dz.js":83760,"./ar-kw":73410,"./ar-kw.js":73410,"./ar-ly":27521,"./ar-ly.js":27521,"./ar-ma":54215,"./ar-ma.js":54215,"./ar-sa":67839,"./ar-sa.js":67839,"./ar-tn":15676,"./ar-tn.js":15676,"./ar.js":14874,"./az":90189,"./az.js":90189,"./be":97510,"./be.js":97510,"./bg":49715,"./bg.js":49715,"./bm":53263,"./bm.js":53263,"./bn":86751,"./bn.js":86751,"./bo":22257,"./bo.js":22257,"./br":66699,"./br.js":66699,"./bs":46338,"./bs.js":46338,"./ca":75498,"./ca.js":75498,"./cs":36471,"./cs.js":36471,"./cv":12500,"./cv.js":12500,"./cy":621,"./cy.js":621,"./da":82493,"./da.js":82493,"./de":56272,"./de-at":70500,"./de-at.js":70500,"./de-ch":71393,"./de-ch.js":71393,"./de.js":56272,"./dv":90967,"./dv.js":90967,"./el":85716,"./el.js":85716,"./en-SG":72902,"./en-SG.js":72902,"./en-au":32645,"./en-au.js":32645,"./en-ca":10280,"./en-ca.js":10280,"./en-gb":31961,"./en-gb.js":31961,"./en-ie":19065,"./en-ie.js":19065,"./en-il":5628,"./en-il.js":5628,"./en-nz":81286,"./en-nz.js":81286,"./eo":37600,"./eo.js":37600,"./es":62109,"./es-do":94611,"./es-do.js":94611,"./es-us":86896,"./es-us.js":86896,"./es.js":62109,"./et":2962,"./et.js":2962,"./eu":30384,"./eu.js":30384,"./fa":35676,"./fa.js":35676,"./fi":18080,"./fi.js":18080,"./fo":99493,"./fo.js":99493,"./fr":59714,"./fr-ca":29035,"./fr-ca.js":29035,"./fr-ch":47594,"./fr-ch.js":47594,"./fr.js":59714,"./fy":10798,"./fy.js":10798,"./ga":62396,"./ga.js":62396,"./gd":95213,"./gd.js":95213,"./gl":85410,"./gl.js":85410,"./gom-latn":88448,"./gom-latn.js":88448,"./gu":97920,"./gu.js":97920,"./he":21797,"./he.js":21797,"./hi":35546,"./hi.js":35546,"./hr":17034,"./hr.js":17034,"./hu":80081,"./hu.js":80081,"./hy-am":2143,"./hy-am.js":2143,"./id":84909,"./id.js":84909,"./is":8002,"./is.js":8002,"./it":59658,"./it-ch":19126,"./it-ch.js":19126,"./it.js":59658,"./ja":47e3,"./ja.js":47e3,"./jv":97205,"./jv.js":97205,"./ka":31706,"./ka.js":31706,"./kk":34894,"./kk.js":34894,"./km":34679,"./km.js":34679,"./kn":89203,"./kn.js":89203,"./ko":87538,"./ko.js":87538,"./ku":62808,"./ku.js":62808,"./ky":95378,"./ky.js":95378,"./lb":12396,"./lb.js":12396,"./lo":90732,"./lo.js":90732,"./lt":59313,"./lt.js":59313,"./lv":8909,"./lv.js":8909,"./me":75539,"./me.js":75539,"./mi":7384,"./mi.js":7384,"./mk":75114,"./mk.js":75114,"./ml":12586,"./ml.js":12586,"./mn":66423,"./mn.js":66423,"./mr":27128,"./mr.js":27128,"./ms":45547,"./ms-my":38106,"./ms-my.js":38106,"./ms.js":45547,"./mt":20114,"./mt.js":20114,"./my":11573,"./my.js":11573,"./nb":49022,"./nb.js":49022,"./ne":88212,"./ne.js":88212,"./nl":47862,"./nl-be":19116,"./nl-be.js":19116,"./nl.js":47862,"./nn":34010,"./nn.js":34010,"./pa-in":80815,"./pa-in.js":80815,"./pl":18099,"./pl.js":18099,"./pt":14527,"./pt-br":81180,"./pt-br.js":81180,"./pt.js":14527,"./ro":74683,"./ro.js":74683,"./ru":41760,"./ru.js":41760,"./sd":79717,"./sd.js":79717,"./se":84167,"./se.js":84167,"./si":72568,"./si.js":72568,"./sk":13702,"./sk.js":13702,"./sl":49968,"./sl.js":49968,"./sq":77303,"./sq.js":77303,"./sr":4993,"./sr-cyrl":98961,"./sr-cyrl.js":98961,"./sr.js":4993,"./ss":6870,"./ss.js":6870,"./sv":92034,"./sv.js":92034,"./sw":51481,"./sw.js":51481,"./ta":208,"./ta.js":208,"./te":36006,"./te.js":36006,"./tet":68816,"./tet.js":68816,"./tg":77378,"./tg.js":77378,"./th":69125,"./th.js":69125,"./tl-ph":43406,"./tl-ph.js":43406,"./tlh":53361,"./tlh.js":53361,"./tr":84119,"./tr.js":84119,"./tzl":47778,"./tzl.js":47778,"./tzm":12617,"./tzm-latn":97187,"./tzm-latn.js":97187,"./tzm.js":12617,"./ug-cn":10438,"./ug-cn.js":10438,"./uk":38128,"./uk.js":38128,"./ur":15367,"./ur.js":15367,"./uz":51582,"./uz-latn":70009,"./uz-latn.js":70009,"./uz.js":51582,"./vi":49036,"./vi.js":49036,"./x-pseudo":11950,"./x-pseudo.js":11950,"./yo":48249,"./yo.js":48249,"./zh-cn":39512,"./zh-cn.js":39512,"./zh-hk":74792,"./zh-hk.js":74792,"./zh-tw":23931,"./zh-tw.js":23931}
|
|
10
10
|
function s(e){var r=o(e)
|
|
11
11
|
return t(r)}function o(e){if(!t.o(n,e)){var r=new Error("Cannot find module '"+e+"'")
|
|
12
|
-
throw r.code="MODULE_NOT_FOUND",r}return n[e]}s.keys=function(){return Object.keys(n)},s.resolve=o,e.exports=s,s.id=96616},
|
|
13
|
-
e.exports=(
|
|
14
|
-
e.exports=
|
|
12
|
+
throw r.code="MODULE_NOT_FOUND",r}return n[e]}s.keys=function(){return Object.keys(n)},s.resolve=o,e.exports=s,s.id=96616},25831:e=>{"use strict"
|
|
13
|
+
e.exports=require("ember-modifier")},11975:()=>{},67095:(e,r,t)=>{var n,s
|
|
14
|
+
e.exports=(n=_eai_d,s=_eai_r,window.emberAutoImportDynamic=function(e){return 1===arguments.length?s("_eai_dyn_"+e):s("_eai_dynt_"+e)(Array.prototype.slice.call(arguments,1))},window.emberAutoImportSync=function(e){return s("_eai_sync_"+e)(Array.prototype.slice.call(arguments,1))},n("@joeattardi/emoji-button",[],(function(){return t(28936)})),n("@sentry/browser",[],(function(){return t(85568)})),n("@sentry/utils",[],(function(){return t(59517)})),n("@tryghost/color-utils",[],(function(){return t(82485)})),n("@tryghost/helpers",[],(function(){return t(74752)})),n("@tryghost/kg-clean-basic-html",[],(function(){return t(89096)})),n("@tryghost/kg-parser-plugins",[],(function(){return t(3199)})),n("@tryghost/kg-parser-plugins/lib/cards/softReturn",[],(function(){return t(74557)})),n("@tryghost/limit-service",[],(function(){return t(12336)})),n("@tryghost/members-csv/lib/unparse",[],(function(){return t(91883)})),n("@tryghost/nql-lang",[],(function(){return t(75420)})),n("@tryghost/string",[],(function(){return t(57348)})),n("@tryghost/timezone-data",[],(function(){return t(28961)})),n("element-resize-detector",[],(function(){return t(87381)})),n("ember-css-transitions/modifiers/css-transition.js",[],(function(){return t(56112)})),n("ember-keyboard",[],(function(){return t(86771)})),n("ember-keyboard/helpers/if-key.js",[],(function(){return t(43481)})),n("ember-keyboard/helpers/on-key.js",[],(function(){return t(66415)})),n("ember-keyboard/modifiers/on-key.js",[],(function(){return t(4146)})),n("ember-keyboard/services/keyboard.js",[],(function(){return t(35466)})),n("ember-moment/helpers/-base.js",[],(function(){return t(76465)})),n("ember-moment/helpers/is-after.js",[],(function(){return t(876)})),n("ember-moment/helpers/is-before.js",[],(function(){return t(13971)})),n("ember-moment/helpers/is-between.js",[],(function(){return t(2063)})),n("ember-moment/helpers/is-same-or-after.js",[],(function(){return t(12915)})),n("ember-moment/helpers/is-same-or-before.js",[],(function(){return t(46102)})),n("ember-moment/helpers/is-same.js",[],(function(){return t(71465)})),n("ember-moment/helpers/moment-add.js",[],(function(){return t(64462)})),n("ember-moment/helpers/moment-calendar.js",[],(function(){return t(69021)})),n("ember-moment/helpers/moment-diff.js",[],(function(){return t(95198)})),n("ember-moment/helpers/moment-duration.js",[],(function(){return t(17216)})),n("ember-moment/helpers/moment-format.js",[],(function(){return t(99152)})),n("ember-moment/helpers/moment-from-now.js",[],(function(){return t(16396)})),n("ember-moment/helpers/moment-from.js",[],(function(){return t(48478)})),n("ember-moment/helpers/moment-subtract.js",[],(function(){return t(4647)})),n("ember-moment/helpers/moment-to-date.js",[],(function(){return t(18351)})),n("ember-moment/helpers/moment-to-now.js",[],(function(){return t(94612)})),n("ember-moment/helpers/moment-to.js",[],(function(){return t(91857)})),n("ember-moment/helpers/moment.js",[],(function(){return t(26852)})),n("ember-moment/helpers/now.js",[],(function(){return t(67842)})),n("ember-moment/helpers/unix.js",[],(function(){return t(29700)})),n("ember-moment/helpers/utc.js",[],(function(){return t(71755)})),n("ember-moment/services/moment.js",[],(function(){return t(27475)})),n("fast-deep-equal",[],(function(){return t(64710)})),n("focus-trap",[],(function(){return t(10755)})),n("intersection-observer-admin",[],(function(){return t(77577)})),n("markdown-it",[],(function(){return t(77647)})),n("markdown-it-footnote",[],(function(){return t(41297)})),n("markdown-it-lazy-headers",[],(function(){return t(72553)})),n("markdown-it-mark",[],(function(){return t(76519)})),n("markdown-it-sub",[],(function(){return t(8830)})),n("markdown-it-sup",[],(function(){return t(55977)})),n("moment-timezone",[],(function(){return t(19127)})),n("papaparse",[],(function(){return t(99112)})),n("raf-pool",[],(function(){return t(42586)})),n("react",[],(function(){return t(36058)})),n("react-dom",[],(function(){return t(18971)})),n("react-dom/client",[],(function(){return t(79793)})),n("tooltip.js",[],(function(){return t(15028)})),n("validator",[],(function(){return t(2228)})),void n("_eai_dyn_@sentry/tracing",[],(function(){return t.e(507).then(t.bind(t,42507))})))},40730:function(e,r){window._eai_r=require,window._eai_d=define}},s={}
|
|
15
15
|
function o(e){var r=s[e]
|
|
16
16
|
if(void 0!==r)return r.exports
|
|
17
17
|
var t=s[e]={id:e,loaded:!1,exports:{}}
|
|
18
18
|
return n[e].call(t.exports,t,t.exports,o),t.loaded=!0,t.exports}o.m=n,o.c=s,e=[],o.O=(r,t,n,s)=>{if(!t){var i=1/0
|
|
19
|
-
for(l=0;l<e.length;l++){for(var[t,n,s]=e[l],
|
|
20
|
-
if(
|
|
19
|
+
for(l=0;l<e.length;l++){for(var[t,n,s]=e[l],a=!0,u=0;u<t.length;u++)(!1&s||i>=s)&&Object.keys(o.O).every((e=>o.O[e](t[u])))?t.splice(u--,1):(a=!1,s<i&&(i=s))
|
|
20
|
+
if(a){e.splice(l--,1)
|
|
21
21
|
var m=n()
|
|
22
22
|
void 0!==m&&(r=m)}}return r}s=s||0
|
|
23
23
|
for(var l=e.length;l>0&&e[l-1][2]>s;l--)e[l]=e[l-1]
|
|
24
24
|
e[l]=[t,n,s]},o.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e
|
|
25
|
-
return o.d(r,{a:r}),r},o.d=(e,r)=>{for(var t in r)o.o(r,t)&&!o.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},o.f={},o.e=e=>Promise.all(Object.keys(o.f).reduce(((r,t)=>(o.f[t](e,r),r)),[])),o.u=e=>"chunk."+e+".
|
|
26
|
-
else{var u
|
|
25
|
+
return o.d(r,{a:r}),r},o.d=(e,r)=>{for(var t in r)o.o(r,t)&&!o.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},o.f={},o.e=e=>Promise.all(Object.keys(o.f).reduce(((r,t)=>(o.f[t](e,r),r)),[])),o.u=e=>"chunk."+e+".18a4d11e74a0b6e03a69.js",o.miniCssF=e=>{},o.hmd=e=>((e=Object.create(e)).children||(e.children=[]),Object.defineProperty(e,"exports",{enumerable:!0,set:()=>{throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+e.id)}}),e),o.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),r={},t="__ember_auto_import__:",o.l=(e,n,s,i)=>{if(r[e])r[e].push(n)
|
|
26
|
+
else{var a,u
|
|
27
27
|
if(void 0!==s)for(var m=document.getElementsByTagName("script"),l=0;l<m.length;l++){var c=m[l]
|
|
28
|
-
if(c.getAttribute("src")==e||c.getAttribute("data-webpack")==t+s){
|
|
29
|
-
break}}
|
|
30
|
-
var j=(t,n)=>{
|
|
28
|
+
if(c.getAttribute("src")==e||c.getAttribute("data-webpack")==t+s){a=c
|
|
29
|
+
break}}a||(u=!0,(a=document.createElement("script")).charset="utf-8",a.timeout=120,o.nc&&a.setAttribute("nonce",o.nc),a.setAttribute("data-webpack",t+s),a.src=e),r[e]=[n]
|
|
30
|
+
var j=(t,n)=>{a.onerror=a.onload=null,clearTimeout(d)
|
|
31
31
|
var s=r[e]
|
|
32
|
-
if(delete r[e],
|
|
33
|
-
|
|
32
|
+
if(delete r[e],a.parentNode&&a.parentNode.removeChild(a),s&&s.forEach((e=>e(n))),t)return t(n)},d=setTimeout(j.bind(null,void 0,{type:"timeout",target:a}),12e4)
|
|
33
|
+
a.onerror=j.bind(null,a.onerror),a.onload=j.bind(null,a.onload),u&&document.head.appendChild(a)}},o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),o.p="assets/",(()=>{var e={143:0}
|
|
34
34
|
o.f.j=(r,t)=>{var n=o.o(e,r)?e[r]:void 0
|
|
35
35
|
if(0!==n)if(n)t.push(n[2])
|
|
36
36
|
else{var s=new Promise(((t,s)=>n=e[r]=[t,s]))
|
|
37
37
|
t.push(n[2]=s)
|
|
38
|
-
var i=o.p+o.u(r),
|
|
38
|
+
var i=o.p+o.u(r),a=new Error
|
|
39
39
|
o.l(i,(t=>{if(o.o(e,r)&&(0!==(n=e[r])&&(e[r]=void 0),n)){var s=t&&("load"===t.type?"missing":t.type),i=t&&t.target&&t.target.src
|
|
40
|
-
|
|
41
|
-
var r=(r,t)=>{var n,s,[i,u
|
|
42
|
-
if(i.some((r=>0!==e[r]))){for(n in
|
|
43
|
-
if(
|
|
40
|
+
a.message="Loading chunk "+r+" failed.\n("+s+": "+i+")",a.name="ChunkLoadError",a.type=s,a.request=i,n[1](a)}}),"chunk-"+r,r)}},o.O.j=r=>0===e[r]
|
|
41
|
+
var r=(r,t)=>{var n,s,[i,a,u]=t,m=0
|
|
42
|
+
if(i.some((r=>0!==e[r]))){for(n in a)o.o(a,n)&&(o.m[n]=a[n])
|
|
43
|
+
if(u)var l=u(o)}for(r&&r(t);m<i.length;m++)s=i[m],o.o(e,s)&&e[s]&&e[s][0](),e[s]=0
|
|
44
44
|
return o.O(l)},t=globalThis.webpackChunk_ember_auto_import_=globalThis.webpackChunk_ember_auto_import_||[]
|
|
45
|
-
t.forEach(r.bind(null,0)),t.push=r.bind(null,t.push.bind(t))})(),o.O(void 0,[613],(()=>o(o.s=
|
|
46
|
-
var i=o.O(void 0,[613],(()=>o(o.s=
|
|
45
|
+
t.forEach(r.bind(null,0)),t.push=r.bind(null,t.push.bind(t))})(),o.O(void 0,[613],(()=>o(o.s=40730)))
|
|
46
|
+
var i=o.O(void 0,[613],(()=>o(o.s=67095)))
|
|
47
47
|
i=o.O(i),__ember_auto_import__=i})()
|
|
48
48
|
|
|
49
|
-
//# sourceMappingURL=chunk.143.
|
|
49
|
+
//# sourceMappingURL=chunk.143.ce979d0e79756c847be1.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
var __ember_auto_import__;(()=>{var r={
|
|
1
|
+
var __ember_auto_import__;(()=>{var r={40730:function(r,e){window._eai_r=require,window._eai_d=define},11022:r=>{r.exports=function(){_eai_d
|
|
2
2
|
var r=_eai_r
|
|
3
3
|
window.emberAutoImportDynamic=function(e){return 1===arguments.length?r("_eai_dyn_"+e):r("_eai_dynt_"+e)(Array.prototype.slice.call(arguments,1))},window.emberAutoImportSync=function(e){return r("_eai_sync_"+e)(Array.prototype.slice.call(arguments,1))}}()}},e={}
|
|
4
4
|
function t(_){var o=e[_]
|
|
5
5
|
if(void 0!==o)return o.exports
|
|
6
6
|
var i=e[_]={exports:{}}
|
|
7
|
-
return r[_].call(i.exports,i,i.exports,t),i.exports}t(
|
|
8
|
-
var _=t(
|
|
7
|
+
return r[_].call(i.exports,i,i.exports,t),i.exports}t(40730)
|
|
8
|
+
var _=t(11022)
|
|
9
9
|
__ember_auto_import__=_})()
|
|
10
10
|
|
|
11
|
-
//# sourceMappingURL=chunk.178.
|
|
11
|
+
//# sourceMappingURL=chunk.178.20fd180216b1dde2c738.map
|
|
@@ -33,9 +33,9 @@ this.spanRecorder=new d(e,n,this.spanId,t),("undefined"==typeof __SENTRY_DEBUG__
|
|
|
33
33
|
this._startIdleTimeout(t)}}_beat(){if(this._finished)return
|
|
34
34
|
const t=Object.keys(this.activities).join("")
|
|
35
35
|
t===this._prevHeartbeatString?this._heartbeatCounter++:this._heartbeatCounter=1,this._prevHeartbeatString=t,this._heartbeatCounter>=3?(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&s.kg.log("[Tracing] Transaction finished because of no change for 3 heart beats"),this.setStatus("deadline_exceeded"),this.finish()):this._pingHeartbeat()}_pingHeartbeat(){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&s.kg.log(`pinging Heartbeat -> current counter: ${this._heartbeatCounter}`),setTimeout((()=>{this._beat()}),this._heartbeatInterval)}}function l(t){const e=t.getScope()
|
|
36
|
-
e&&e.getTransaction()&&e.setSpan(void 0)}},42507:(t,e,n)=>{n.r(e),n.d(e,{BROWSER_TRACING_INTEGRATION_ID:()=>
|
|
36
|
+
e&&e.getTransaction()&&e.setSpan(void 0)}},42507:(t,e,n)=>{n.r(e),n.d(e,{BROWSER_TRACING_INTEGRATION_ID:()=>it,BrowserTracing:()=>at,IdleTransaction:()=>U.io,Integrations:()=>i,Span:()=>ct.Dr,SpanStatus:()=>ot,TRACEPARENT_REGEXP:()=>B.K,Transaction:()=>_t.Y,addExtensionMethods:()=>s.ro,defaultRequestInstrumentationOptions:()=>et,extractTraceparentData:()=>B.q,getActiveTransaction:()=>Y.x1,hasTracingEnabled:()=>Y.zu,instrumentOutgoingRequests:()=>nt,spanStatusfromHttpCode:()=>ct.Zd,startIdleTransaction:()=>s.lb,stripUrlQueryAndFragment:()=>o.rt})
|
|
37
37
|
var i={}
|
|
38
|
-
n.r(i),n.d(i,{Apollo:()=>
|
|
38
|
+
n.r(i),n.d(i,{Apollo:()=>N,BrowserTracing:()=>at,Express:()=>p,GraphQL:()=>b,Mongo:()=>v,Mysql:()=>T,Postgres:()=>f,Prisma:()=>R})
|
|
39
39
|
var s=n(38285),a=n(2796),r=n(88521),o=n(72702),c=n(14205),_=n(16140)
|
|
40
40
|
function d(t){const e=(0,a.x)([t,"call",t=>t(),"access",t=>t.getClient,"call",t=>t(),"optionalAccess",t=>t.getOptions,"call",t=>t()])
|
|
41
41
|
return"sentry"!==((0,a.x)([e,"optionalAccess",t=>t.instrumenter])||"sentry")}class p{static __initStatic(){this.id="Express"}__init(){this.name=p.id}constructor(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}
|
|
@@ -71,157 +71,162 @@ return t[e]=function(){for(var t=arguments.length,i=new Array(t),s=0;s<t;s++)i[s
|
|
|
71
71
|
return n.call(this,...u(i,e))},t}p.__initStatic()
|
|
72
72
|
var m=n(30180),g=n(15834)
|
|
73
73
|
class f{static __initStatic(){this.id="Postgres"}__init(){this.name=f.id}constructor(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}
|
|
74
|
-
f.prototype.__init.call(this),this._usePgNative=!!t.usePgNative}setupOnce(t,e){
|
|
74
|
+
f.prototype.__init.call(this),this._usePgNative=!!t.usePgNative}setupOnce(t,e){if(d(e))return void(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.kg.log("Postgres Integration is skipped because of instrumenter configuration."))
|
|
75
|
+
const n=(0,m.$y)("pg")
|
|
75
76
|
if(!n)return void(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.kg.error("Postgres Integration was unable to require `pg` package."))
|
|
76
|
-
if(d(e))return void(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.kg.log("Postgres Integration is skipped because of instrumenter configuration."))
|
|
77
77
|
if(this._usePgNative&&!(0,a.x)([n,"access",t=>t.native,"optionalAccess",t=>t.Client]))return void(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.kg.error("Postgres Integration was unable to access 'pg-native' bindings."))
|
|
78
78
|
const{Client:i}=this._usePgNative?n.native:n;(0,g.hl)(i.prototype,"query",(function(t){return function(n,i,s){const r=e().getScope(),o=(0,a.x)([r,"optionalAccess",t=>t.getSpan,"call",t=>t()]),c=(0,a.x)([o,"optionalAccess",t=>t.startChild,"call",t=>t({description:"string"==typeof n?n:n.text,op:"db"})])
|
|
79
79
|
if("function"==typeof s)return t.call(this,n,i,(function(t,e){(0,a.x)([c,"optionalAccess",t=>t.finish,"call",t=>t()]),s(t,e)}))
|
|
80
80
|
if("function"==typeof i)return t.call(this,n,(function(t,e){(0,a.x)([c,"optionalAccess",t=>t.finish,"call",t=>t()]),i(t,e)}))
|
|
81
81
|
const d=void 0!==i?t.call(this,n,i):t.call(this,n)
|
|
82
82
|
return(0,_.J8)(d)?d.then((t=>((0,a.x)([c,"optionalAccess",t=>t.finish,"call",t=>t()]),t))):((0,a.x)([c,"optionalAccess",t=>t.finish,"call",t=>t()]),d)}}))}}f.__initStatic()
|
|
83
|
-
class T{constructor(){T.prototype.__init.call(this)}static __initStatic(){this.id="Mysql"}__init(){this.name=T.id}setupOnce(t,e){
|
|
84
|
-
|
|
83
|
+
class T{constructor(){T.prototype.__init.call(this)}static __initStatic(){this.id="Mysql"}__init(){this.name=T.id}setupOnce(t,e){if(d(e))return void(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.kg.log("Mysql Integration is skipped because of instrumenter configuration."))
|
|
84
|
+
const n=(0,m.$y)("mysql/lib/Connection.js")
|
|
85
|
+
n?(0,g.hl)(n,"createQuery",(function(t){return function(n,i,s){const r=e().getScope(),o=(0,a.x)([r,"optionalAccess",t=>t.getSpan,"call",t=>t()]),c=(0,a.x)([o,"optionalAccess",t=>t.startChild,"call",t=>t({description:"string"==typeof n?n:n.sql,op:"db"})])
|
|
85
86
|
return"function"==typeof s?t.call(this,n,i,(function(t,e,n){(0,a.x)([c,"optionalAccess",t=>t.finish,"call",t=>t()]),s(t,e,n)})):"function"==typeof i?t.call(this,n,(function(t,e,n){(0,a.x)([c,"optionalAccess",t=>t.finish,"call",t=>t()]),i(t,e,n)})):t.call(this,n,i,s)}})):("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.kg.error("Mysql Integration was unable to require `mysql` package.")}}T.__initStatic()
|
|
86
87
|
const E=["aggregate","bulkWrite","countDocuments","createIndex","createIndexes","deleteMany","deleteOne","distinct","drop","dropIndex","dropIndexes","estimatedDocumentCount","find","findOne","findOneAndDelete","findOneAndReplace","findOneAndUpdate","indexes","indexExists","indexInformation","initializeOrderedBulkOp","insertMany","insertOne","isCapped","mapReduce","options","parallelCollectionScan","rename","replaceOne","stats","updateMany","updateOne"],y={bulkWrite:["operations"],countDocuments:["query"],createIndex:["fieldOrSpec"],createIndexes:["indexSpecs"],deleteMany:["filter"],deleteOne:["filter"],distinct:["key","query"],dropIndex:["indexName"],find:["query"],findOne:["query"],findOneAndDelete:["filter"],findOneAndReplace:["filter","replacement"],findOneAndUpdate:["filter","update"],indexExists:["indexes"],insertMany:["docs"],insertOne:["doc"],mapReduce:["map","reduce"],rename:["newName"],replaceOne:["filter","doc"],updateMany:["filter","update"],updateOne:["filter","update"]}
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
88
|
+
function S(t){return t&&"object"==typeof t&&t.once&&"function"==typeof t.once}class v{static __initStatic(){this.id="Mongo"}__init(){this.name=v.id}constructor(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}
|
|
89
|
+
v.prototype.__init.call(this),this._operations=Array.isArray(t.operations)?t.operations:E,this._describeOperations=!("describeOperations"in t)||t.describeOperations,this._useMongoose=!!t.useMongoose}setupOnce(t,e){if(d(e))return void(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.kg.log("Mongo Integration is skipped because of instrumenter configuration."))
|
|
90
|
+
const n=this._useMongoose?"mongoose":"mongodb",i=(0,m.$y)(n)
|
|
91
|
+
i?this._instrumentOperations(i.Collection,this._operations,e):("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.kg.error(`Mongo Integration was unable to require \`${n}\` package.`)}_instrumentOperations(t,e,n){e.forEach((e=>this._patchOperation(t,e,n)))}_patchOperation(t,e,n){if(!(e in t.prototype))return
|
|
90
92
|
const i=this._getSpanContextFromOperationArguments.bind(this);(0,g.hl)(t.prototype,e,(function(t){return function(){for(var s=arguments.length,r=new Array(s),o=0;o<s;o++)r[o]=arguments[o]
|
|
91
93
|
const c=r[r.length-1],d=n().getScope(),p=(0,a.x)([d,"optionalAccess",t=>t.getSpan,"call",t=>t()])
|
|
92
94
|
if("function"!=typeof c||"mapReduce"===e&&2===r.length){const n=(0,a.x)([p,"optionalAccess",t=>t.startChild,"call",t=>t(i(this,e,r))]),s=t.call(this,...r)
|
|
93
|
-
|
|
95
|
+
if((0,_.J8)(s))return s.then((t=>((0,a.x)([n,"optionalAccess",t=>t.finish,"call",t=>t()]),t)))
|
|
96
|
+
if(S(s)){const e=s
|
|
97
|
+
try{e.once("close",(()=>{(0,a.x)([n,"optionalAccess",t=>t.finish,"call",t=>t()])}))}catch(t){(0,a.x)([n,"optionalAccess",t=>t.finish,"call",t=>t()])}return e}return(0,a.x)([n,"optionalAccess",t=>t.finish,"call",t=>t()]),s}const l=(0,a.x)([p,"optionalAccess",t=>t.startChild,"call",t=>t(i(this,e,r.slice(0,-1)))])
|
|
94
98
|
return t.call(this,...r.slice(0,-1),(function(t,e){(0,a.x)([l,"optionalAccess",t=>t.finish,"call",t=>t()]),c(t,e)}))}}))}_getSpanContextFromOperationArguments(t,e,n){const i={collectionName:t.collectionName,dbName:t.dbName,namespace:t.namespace},s={op:"db",description:e,data:i},a=y[e],r=Array.isArray(this._describeOperations)?this._describeOperations.includes(e):this._describeOperations
|
|
95
99
|
if(!a||!r)return s
|
|
96
100
|
try{if("mapReduce"===e){const[t,e]=n
|
|
97
|
-
i[a[0]]="string"==typeof t?t:t.name||"<anonymous>",i[a[1]]="string"==typeof e?e:e.name||"<anonymous>"}else for(let t=0;t<a.length;t++)i[a[t]]=JSON.stringify(n[t])}catch(t){}return s}}
|
|
98
|
-
class
|
|
101
|
+
i[a[0]]="string"==typeof t?t:t.name||"<anonymous>",i[a[1]]="string"==typeof e?e:e.name||"<anonymous>"}else for(let t=0;t<a.length;t++)i[a[t]]=JSON.stringify(n[t])}catch(t){}return s}}v.__initStatic()
|
|
102
|
+
class R{static __initStatic(){this.id="Prisma"}__init(){this.name=R.id}constructor(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}
|
|
99
103
|
var e
|
|
100
|
-
|
|
101
|
-
return(0,_.J8)(d)?d.then((t=>((0,a.x)([c,"optionalAccess",t=>t.finish,"call",t=>t()]),t))):((0,a.x)([c,"optionalAccess",t=>t.finish,"call",t=>t()]),d)})):("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.kg.error("PrismaIntegration is missing a Prisma Client Instance")}}
|
|
102
|
-
class
|
|
103
|
-
|
|
104
|
+
R.prototype.__init.call(this),(e=t.client)&&e.$use?this._client=t.client:("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.kg.warn(`Unsupported Prisma client provided to PrismaIntegration. Provided client: ${JSON.stringify(t.client)}`)}setupOnce(t,e){this._client?d(e)?("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.kg.log("Prisma Integration is skipped because of instrumenter configuration."):this._client.$use(((t,n)=>{const i=e().getScope(),s=(0,a.x)([i,"optionalAccess",t=>t.getSpan,"call",t=>t()]),r=t.action,o=t.model,c=(0,a.x)([s,"optionalAccess",t=>t.startChild,"call",t=>t({description:o?`${o} ${r}`:r,op:"db.sql.prisma"})]),d=n(t)
|
|
105
|
+
return(0,_.J8)(d)?d.then((t=>((0,a.x)([c,"optionalAccess",t=>t.finish,"call",t=>t()]),t))):((0,a.x)([c,"optionalAccess",t=>t.finish,"call",t=>t()]),d)})):("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.kg.error("PrismaIntegration is missing a Prisma Client Instance")}}R.__initStatic()
|
|
106
|
+
class b{constructor(){b.prototype.__init.call(this)}static __initStatic(){this.id="GraphQL"}__init(){this.name=b.id}setupOnce(t,e){if(d(e))return void(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.kg.log("GraphQL Integration is skipped because of instrumenter configuration."))
|
|
107
|
+
const n=(0,m.$y)("graphql/execution/execute.js")
|
|
108
|
+
n?(0,g.hl)(n,"execute",(function(t){return function(){const n=e().getScope(),i=(0,a.x)([n,"optionalAccess",t=>t.getSpan,"call",t=>t()]),s=(0,a.x)([i,"optionalAccess",t=>t.startChild,"call",t=>t({description:"execute",op:"graphql.execute"})]);(0,a.x)([n,"optionalAccess",t=>t.setSpan,"call",t=>t(s)])
|
|
104
109
|
for(var r=arguments.length,o=new Array(r),c=0;c<r;c++)o[c]=arguments[c]
|
|
105
110
|
const d=t.call(this,...o)
|
|
106
|
-
return(0,_.J8)(d)?d.then((t=>((0,a.x)([s,"optionalAccess",t=>t.finish,"call",t=>t()]),(0,a.x)([n,"optionalAccess",t=>t.setSpan,"call",t=>t(i)]),t))):((0,a.x)([s,"optionalAccess",t=>t.finish,"call",t=>t()]),(0,a.x)([n,"optionalAccess",t=>t.setSpan,"call",t=>t(i)]),d)}})):("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.kg.error("GraphQL Integration was unable to require graphql/execution package.")}}
|
|
111
|
+
return(0,_.J8)(d)?d.then((t=>((0,a.x)([s,"optionalAccess",t=>t.finish,"call",t=>t()]),(0,a.x)([n,"optionalAccess",t=>t.setSpan,"call",t=>t(i)]),t))):((0,a.x)([s,"optionalAccess",t=>t.finish,"call",t=>t()]),(0,a.x)([n,"optionalAccess",t=>t.setSpan,"call",t=>t(i)]),d)}})):("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.kg.error("GraphQL Integration was unable to require graphql/execution package.")}}b.__initStatic()
|
|
107
112
|
var D=n(7209)
|
|
108
|
-
class
|
|
109
|
-
n
|
|
113
|
+
class N{constructor(){N.prototype.__init.call(this)}static __initStatic(){this.id="Apollo"}__init(){this.name=N.id}setupOnce(t,e){if(d(e))return void(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.kg.log("Apollo Integration is skipped because of instrumenter configuration."))
|
|
114
|
+
const n=(0,m.$y)("apollo-server-core")
|
|
115
|
+
n?(0,g.hl)(n.ApolloServerBase.prototype,"constructSchema",(function(t){return function(){if(!this.config.resolvers)return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&(this.config.schema?r.kg.warn("Apollo integration is not able to trace `ApolloServer` instances constructed via `schema` property."):this.config.modules&&r.kg.warn("Apollo integration is not able to trace `ApolloServer` instances constructed via `modules` property."),r.kg.error("Skipping tracing as no resolvers found on the `ApolloServer` instance.")),t.call(this)
|
|
110
116
|
const n=(0,D.lE)(this.config.resolvers)
|
|
111
117
|
return this.config.resolvers=n.map((t=>(Object.keys(t).forEach((n=>{Object.keys(t[n]).forEach((i=>{"function"==typeof t[n][i]&&function(t,e,n,i){(0,g.hl)(t[e],n,(function(t){return function(){const s=i().getScope(),r=(0,a.x)([s,"optionalAccess",t=>t.getSpan,"call",t=>t()]),o=(0,a.x)([r,"optionalAccess",t=>t.startChild,"call",t=>t({description:`${e}.${n}`,op:"graphql.resolve"})])
|
|
112
118
|
for(var c=arguments.length,d=new Array(c),p=0;p<c;p++)d[p]=arguments[p]
|
|
113
119
|
const l=t.call(this,...d)
|
|
114
|
-
return(0,_.J8)(l)?l.then((t=>((0,a.x)([o,"optionalAccess",t=>t.finish,"call",t=>t()]),t))):((0,a.x)([o,"optionalAccess",t=>t.finish,"call",t=>t()]),l)}}))}(t,n,i,e)}))})),t))),t.call(this)}})):("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.kg.error("Apollo Integration was unable to require apollo-server-core package.")}}
|
|
115
|
-
var
|
|
116
|
-
const
|
|
117
|
-
var
|
|
118
|
-
const
|
|
119
|
-
return a=>{e.value>=0&&(a||n)&&(s=e.value-(i||0),(s||void 0===i)&&(i=e.value,e.delta=s,t(e)))}},
|
|
120
|
+
return(0,_.J8)(l)?l.then((t=>((0,a.x)([o,"optionalAccess",t=>t.finish,"call",t=>t()]),t))):((0,a.x)([o,"optionalAccess",t=>t.finish,"call",t=>t()]),l)}}))}(t,n,i,e)}))})),t))),t.call(this)}})):("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.kg.error("Apollo Integration was unable to require apollo-server-core package.")}}N.__initStatic()
|
|
121
|
+
var x=n(4549),B=n(75492),k=n(22850),G=n(68256),U=n(27448),Y=n(48206)
|
|
122
|
+
const I=n(27083).n2
|
|
123
|
+
var A=n(88468)
|
|
124
|
+
const C=(t,e,n)=>{let i,s
|
|
125
|
+
return a=>{e.value>=0&&(a||n)&&(s=e.value-(i||0),(s||void 0===i)&&(i=e.value,e.delta=s,t(e)))}},O=()=>I.__WEB_VITALS_POLYFILL__?I.performance&&(performance.getEntriesByType&&performance.getEntriesByType("navigation")[0]||(()=>{const t=I.performance.timing,e=I.performance.navigation.type,n={entryType:"navigation",startTime:0,type:2==e?"back_forward":1===e?"reload":"navigate"}
|
|
120
126
|
for(const i in t)"navigationStart"!==i&&"toJSON"!==i&&(n[i]=Math.max(t[i]-t.navigationStart,0))
|
|
121
|
-
return n})()):
|
|
122
|
-
return t&&t.activationStart||0}
|
|
127
|
+
return n})()):I.performance&&performance.getEntriesByType&&performance.getEntriesByType("navigation")[0],w=()=>{const t=O()
|
|
128
|
+
return t&&t.activationStart||0},$=(t,e)=>{const n=O()
|
|
123
129
|
let i="navigate"
|
|
124
|
-
return n&&(i=
|
|
125
|
-
return i.observe(Object.assign({type:t,buffered:!0},n||{})),i}}catch(t){}},
|
|
130
|
+
return n&&(i=I.document.prerendering||w()>0?"prerender":n.type.replace(/_/g,"-")),{name:t,value:void 0===e?-1:e,rating:"good",delta:0,entries:[],id:`v3-${Date.now()}-${Math.floor(8999999999999*Math.random())+1e12}`,navigationType:i}},M=(t,e,n)=>{try{if(PerformanceObserver.supportedEntryTypes.includes(t)){const i=new PerformanceObserver((t=>{e(t.getEntries())}))
|
|
131
|
+
return i.observe(Object.assign({type:t,buffered:!0},n||{})),i}}catch(t){}},L=(t,e)=>{const n=i=>{"pagehide"!==i.type&&"hidden"!==I.document.visibilityState||(t(i),e&&(removeEventListener("visibilitychange",n,!0),removeEventListener("pagehide",n,!0)))}
|
|
126
132
|
addEventListener("visibilitychange",n,!0),addEventListener("pagehide",n,!0)}
|
|
127
|
-
let
|
|
128
|
-
const
|
|
129
|
-
|
|
130
|
-
function
|
|
131
|
-
return n&&t.startTimestamp>n&&(t.startTimestamp=n),t.startChild({startTimestamp:n,...i})}function z(){return
|
|
132
|
-
function
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
const
|
|
136
|
-
|
|
137
|
-
o&&(i=A(t,n,e.reportAllChanges),M((()=>{r(o.takeRecords()),i(!0)})))}((t=>{const e=t.entries.pop()
|
|
138
|
-
e&&(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.kg.log("[Measurements] Adding CLS"),Q.cls={value:t.value,unit:""},X=e)}))}function Z(t){!function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}
|
|
139
|
-
const n=P(),i=w("LCP")
|
|
140
|
-
let s
|
|
141
|
-
const a=t=>{const e=t[t.length-1]
|
|
142
|
-
if(e){const t=Math.max(e.startTime-O(),0)
|
|
143
|
-
t<n.firstHiddenTime&&(i.value=t,i.entries=[e],s())}},r=$("largest-contentful-paint",a)
|
|
144
|
-
if(r){s=A(t,i,e.reportAllChanges)
|
|
145
|
-
const n=()=>{q[i.id]||(a(r.takeRecords()),r.disconnect(),q[i.id]=!0,s(!0))};["keydown","click"].forEach((t=>{addEventListener(t,n,{once:!0,capture:!0})})),M(n,!0)}}((t=>{const e=t.entries.pop()
|
|
146
|
-
e&&(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.kg.log("[Measurements] Adding LCP"),Q.lcp={value:t.value,unit:"millisecond"},j=e)}),{reportAllChanges:t})}function K(){!function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}
|
|
147
|
-
const n=P(),i=w("FID")
|
|
148
|
-
let s
|
|
149
|
-
const a=t=>{t.startTime<n.firstHiddenTime&&(i.value=t.processingStart-t.startTime,i.entries.push(t),s(!0))},r=t=>{t.forEach(a)},o=$("first-input",r)
|
|
150
|
-
s=A(t,i,e.reportAllChanges),o&&M((()=>{r(o.takeRecords()),o.disconnect()}),!0)}((t=>{const e=t.entries.pop()
|
|
151
|
-
if(!e)return
|
|
152
|
-
const n=(0,G.XL)(I.Z1),i=(0,G.XL)(e.startTime);("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.kg.log("[Measurements] Adding FID"),Q.fid={value:t.value,unit:"millisecond"},Q["mark.fid"]={value:n+i,unit:"second"}}))}function V(t,e,n,i,s,a){const r=a?e[a]:e[`${n}End`],o=e[`${n}Start`]
|
|
153
|
-
o&&r&&F(t,{op:"browser",description:(0,Y.h)(s,(()=>n)),startTimestamp:i+(0,G.XL)(o),endTimestamp:i+(0,G.XL)(r)})}var tt=n(8142),et=n(98902)
|
|
154
|
-
const nt=["localhost",/^\//],it={traceFetch:!0,traceXHR:!0,tracingOrigins:nt,tracePropagationTargets:nt}
|
|
155
|
-
function st(t){const{traceFetch:e,traceXHR:n,tracePropagationTargets:i,tracingOrigins:s,shouldCreateSpanForRequest:a}={traceFetch:it.traceFetch,traceXHR:it.traceXHR,...t},r="function"==typeof a?a:t=>!0,o=t=>function(t,e){return(0,et.U0)(t,e||nt)}(t,i||s),c={}
|
|
156
|
-
e&&(0,tt.o)("fetch",(t=>{!function(t,e,n,i){if(!(0,G.zu)()||!t.fetchData||!e(t.fetchData.url))return
|
|
133
|
+
let P=-1
|
|
134
|
+
const q=()=>(P<0&&(P="hidden"!==I.document.visibilityState||I.document.prerendering?1/0:0,L((t=>{let{timeStamp:e}=t
|
|
135
|
+
P=e}),!0)),{get firstHiddenTime(){return P}}),H={}
|
|
136
|
+
function F(t){return"number"==typeof t&&isFinite(t)}function j(t,e){let{startTimestamp:n,...i}=e
|
|
137
|
+
return n&&t.startTimestamp>n&&(t.startTimestamp=n),t.startChild({startTimestamp:n,...i})}function z(){return I&&I.addEventListener&&I.performance}let X,J,Q=0,W={}
|
|
138
|
+
function Z(t,e,n,i,s,a){const r=a?e[a]:e[`${n}End`],o=e[`${n}Start`]
|
|
139
|
+
o&&r&&j(t,{op:"browser",description:(0,x.h)(s,(()=>n)),startTimestamp:i+(0,Y.XL)(o),endTimestamp:i+(0,Y.XL)(r)})}var K=n(8142),V=n(98902)
|
|
140
|
+
const tt=["localhost",/^\//],et={traceFetch:!0,traceXHR:!0,tracingOrigins:tt,tracePropagationTargets:tt}
|
|
141
|
+
function nt(t){const{traceFetch:e,traceXHR:n,tracePropagationTargets:i,tracingOrigins:s,shouldCreateSpanForRequest:a}={traceFetch:et.traceFetch,traceXHR:et.traceXHR,...t},r="function"==typeof a?a:t=>!0,o=t=>function(t,e){return(0,V.U0)(t,e||tt)}(t,i||s),c={}
|
|
142
|
+
e&&(0,K.o)("fetch",(t=>{!function(t,e,n,i){if(!(0,Y.zu)()||!t.fetchData||!e(t.fetchData.url))return
|
|
157
143
|
if(t.endTimestamp){const e=t.fetchData.__span
|
|
158
144
|
if(!e)return
|
|
159
145
|
const n=i[e]
|
|
160
|
-
return void(n&&(t.response?n.setHttpStatus(t.response.status):t.error&&n.setStatus("internal_error"),n.finish(),delete i[e]))}const s=(0,
|
|
146
|
+
return void(n&&(t.response?n.setHttpStatus(t.response.status):t.error&&n.setStatus("internal_error"),n.finish(),delete i[e]))}const s=(0,Y.x1)()
|
|
161
147
|
if(s){const e=s.startChild({data:{...t.fetchData,type:"fetch"},description:`${t.fetchData.method} ${t.fetchData.url}`,op:"http.client"})
|
|
162
148
|
t.fetchData.__span=e.spanId,i[e.spanId]=e
|
|
163
149
|
const a=t.args[0]
|
|
164
150
|
t.args[1]=t.args[1]||{}
|
|
165
151
|
const r=t.args[1]
|
|
166
|
-
n(t.fetchData.url)&&(r.headers=function(t,e,n,i){const s=(0,
|
|
152
|
+
n(t.fetchData.url)&&(r.headers=function(t,e,n,i){const s=(0,k.IQ)(e),a=n.toTraceparent(),r="undefined"!=typeof Request&&(0,_.V9)(t,Request)?t.headers:i.headers
|
|
167
153
|
if(r){if("undefined"!=typeof Headers&&(0,_.V9)(r,Headers)){const t=new Headers(r)
|
|
168
|
-
return t.append("sentry-trace",a),s&&t.append(
|
|
169
|
-
return s&&t.push([
|
|
170
|
-
return Array.isArray(t)?e.push(...t):t&&e.push(t),s&&e.push(s),{...r,"sentry-trace":a,baggage:e.length>0?e.join(","):void 0}}}return{"sentry-trace":a,baggage:s}}(a,s.getDynamicSamplingContext(),e,r),s.metadata.propagations++)}}(t,r,o,c)})),n&&(0,
|
|
154
|
+
return t.append("sentry-trace",a),s&&t.append(k.bU,s),t}if(Array.isArray(r)){const t=[...r,["sentry-trace",a]]
|
|
155
|
+
return s&&t.push([k.bU,s]),t}{const t="baggage"in r?r.baggage:void 0,e=[]
|
|
156
|
+
return Array.isArray(t)?e.push(...t):t&&e.push(t),s&&e.push(s),{...r,"sentry-trace":a,baggage:e.length>0?e.join(","):void 0}}}return{"sentry-trace":a,baggage:s}}(a,s.getDynamicSamplingContext(),e,r),s.metadata.propagations++)}}(t,r,o,c)})),n&&(0,K.o)("xhr",(t=>{!function(t,e,n,i){if(!(0,Y.zu)()||t.xhr&&t.xhr.__sentry_own_request__||!(t.xhr&&t.xhr.__sentry_xhr__&&e(t.xhr.__sentry_xhr__.url)))return
|
|
171
157
|
const s=t.xhr.__sentry_xhr__
|
|
172
158
|
if(t.endTimestamp){const e=t.xhr.__sentry_xhr_span_id__
|
|
173
159
|
if(!e)return
|
|
174
160
|
const n=i[e]
|
|
175
|
-
return void(n&&(n.setHttpStatus(s.status_code),n.finish(),delete i[e]))}const a=(0,
|
|
161
|
+
return void(n&&(n.setHttpStatus(s.status_code),n.finish(),delete i[e]))}const a=(0,Y.x1)()
|
|
176
162
|
if(a){const e=a.startChild({data:{...s.data,type:"xhr",method:s.method,url:s.url},description:`${s.method} ${s.url}`,op:"http.client"})
|
|
177
163
|
if(t.xhr.__sentry_xhr_span_id__=e.spanId,i[t.xhr.__sentry_xhr_span_id__]=e,t.xhr.setRequestHeader&&n(t.xhr.__sentry_xhr__.url))try{t.xhr.setRequestHeader("sentry-trace",e.toTraceparent())
|
|
178
|
-
const n=a.getDynamicSamplingContext(),i=(0,
|
|
179
|
-
i&&t.xhr.setRequestHeader(
|
|
180
|
-
if(!
|
|
181
|
-
let i,s=
|
|
182
|
-
e&&(i=t({name:
|
|
183
|
-
void 0===a&&s&&-1!==s.indexOf(n)?s=void 0:a!==n&&(s=void 0,i&&(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.kg.log(`[Tracing] Finishing current transaction with op: ${i.op}`),i.finish()),i=t({name:
|
|
184
|
-
class
|
|
185
|
-
const
|
|
186
|
-
|
|
187
|
-
const
|
|
188
|
-
|
|
164
|
+
const n=a.getDynamicSamplingContext(),i=(0,k.IQ)(n)
|
|
165
|
+
i&&t.xhr.setRequestHeader(k.bU,i),a.metadata.propagations++}catch(t){}}}(t,r,o,c)}))}const it="BrowserTracing",st={idleTimeout:U.nT,finalTimeout:U.mg,heartbeatInterval:U.hd,markBackgroundTransactions:!0,routingInstrumentation:function(t){let e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2]
|
|
166
|
+
if(!I||!I.location)return void(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.kg.warn("Could not initialize routing instrumentation due to invalid location"))
|
|
167
|
+
let i,s=I.location.href
|
|
168
|
+
e&&(i=t({name:I.location.pathname,op:"pageload",metadata:{source:"url"}})),n&&(0,K.o)("history",(e=>{let{to:n,from:a}=e
|
|
169
|
+
void 0===a&&s&&-1!==s.indexOf(n)?s=void 0:a!==n&&(s=void 0,i&&(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.kg.log(`[Tracing] Finishing current transaction with op: ${i.op}`),i.finish()),i=t({name:I.location.pathname,op:"navigation",metadata:{source:"url"}}))}))},startTransactionOnLocationChange:!0,startTransactionOnPageLoad:!0,_experiments:{enableLongTask:!0,enableInteractions:!1},...et}
|
|
170
|
+
class at{__init(){this.name=it}constructor(t){at.prototype.__init.call(this),this.options={...st,...t},t&&!t.tracePropagationTargets&&t.tracingOrigins&&(this.options.tracePropagationTargets=t.tracingOrigins),function(){const t=z()
|
|
171
|
+
t&&A.Z1&&(t.mark&&I.performance.mark("sentry-tracing-init"),(t=>{const e=$("CLS",0)
|
|
172
|
+
let n,i=0,s=[]
|
|
173
|
+
const a=t=>{t.forEach((t=>{if(!t.hadRecentInput){const a=s[0],r=s[s.length-1]
|
|
174
|
+
i&&0!==s.length&&t.startTime-r.startTime<1e3&&t.startTime-a.startTime<5e3?(i+=t.value,s.push(t)):(i=t.value,s=[t]),i>e.value&&(e.value=i,e.entries=s,n&&n())}}))},o=M("layout-shift",a)
|
|
175
|
+
o&&(n=C((t=>{const e=t.entries.pop()
|
|
176
|
+
e&&(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.kg.log("[Measurements] Adding CLS"),W.cls={value:t.value,unit:""},J=e)}),e),L((()=>{a(o.takeRecords()),n(!0)})))})(),(t=>{const e=q(),n=$("LCP")
|
|
177
|
+
let i
|
|
178
|
+
const s=t=>{const s=t[t.length-1]
|
|
179
|
+
if(s){const t=Math.max(s.startTime-w(),0)
|
|
180
|
+
t<e.firstHiddenTime&&(n.value=t,n.entries=[s],i())}},a=M("largest-contentful-paint",s)
|
|
181
|
+
if(a){i=C((t=>{const e=t.entries.pop()
|
|
182
|
+
e&&(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.kg.log("[Measurements] Adding LCP"),W.lcp={value:t.value,unit:"millisecond"},X=e)}),n)
|
|
183
|
+
const t=()=>{H[n.id]||(s(a.takeRecords()),a.disconnect(),H[n.id]=!0,i(!0))};["keydown","click"].forEach((e=>{addEventListener(e,t,{once:!0,capture:!0})})),L(t,!0)}})(),(t=>{const e=q(),n=$("FID")
|
|
184
|
+
let i
|
|
185
|
+
const s=t=>{t.startTime<e.firstHiddenTime&&(n.value=t.processingStart-t.startTime,n.entries.push(t),i(!0))},a=t=>{t.forEach(s)},o=M("first-input",a)
|
|
186
|
+
i=C((t=>{const e=t.entries.pop()
|
|
187
|
+
if(!e)return
|
|
188
|
+
const n=(0,Y.XL)(A.Z1),i=(0,Y.XL)(e.startTime);("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.kg.log("[Measurements] Adding FID"),W.fid={value:t.value,unit:"millisecond"},W["mark.fid"]={value:n+i,unit:"second"}}),n),o&&L((()=>{a(o.takeRecords()),o.disconnect()}),!0)})())}(),(0,a.x)([this,"access",t=>t.options,"access",t=>t._experiments,"optionalAccess",t=>t.enableLongTask])&&M("longtask",(t=>{for(const e of t){const t=(0,Y.x1)()
|
|
189
189
|
if(!t)return
|
|
190
|
-
const n=(0,
|
|
190
|
+
const n=(0,Y.XL)(A.Z1+e.startTime),i=(0,Y.XL)(e.duration)
|
|
191
191
|
t.startChild({description:"Main UI thread blocked",op:"ui.long-task",startTimestamp:n,endTimestamp:n+i})}}))}setupOnce(t,e){this._getCurrentHub=e
|
|
192
|
-
const{routingInstrumentation:n,startTransactionOnLocationChange:i,startTransactionOnPageLoad:s,markBackgroundTransactions:
|
|
193
|
-
n((t=>this._createRouteTransaction(t)),s,i),
|
|
194
|
-
if(
|
|
195
|
-
const{beforeNavigate:e,idleTimeout:n,finalTimeout:i,heartbeatInterval:
|
|
196
|
-
|
|
197
|
-
const
|
|
198
|
-
return
|
|
199
|
-
if(!e||!
|
|
200
|
-
const n=(0,
|
|
192
|
+
const{routingInstrumentation:n,startTransactionOnLocationChange:i,startTransactionOnPageLoad:s,markBackgroundTransactions:o,traceFetch:c,traceXHR:_,tracePropagationTargets:d,shouldCreateSpanForRequest:p,_experiments:l}=this.options
|
|
193
|
+
n((t=>this._createRouteTransaction(t)),s,i),o&&(I&&I.document?I.document.addEventListener("visibilitychange",(()=>{const t=(0,Y.x1)()
|
|
194
|
+
if(I.document.hidden&&t){const e="cancelled";("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.kg.log(`[Tracing] Transaction: ${e} -> since tab moved to the background, op: ${t.op}`),t.status||t.setStatus(e),t.setTag("visibilitychange","document.hidden"),t.finish()}})):("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.kg.warn("[Tracing] Could not set up background tab detection due to lack of global document")),(0,a.x)([l,"optionalAccess",t=>t.enableInteractions])&&this._registerInteractionListener(),nt({traceFetch:c,traceXHR:_,tracePropagationTargets:d,shouldCreateSpanForRequest:p})}_createRouteTransaction(t){if(!this._getCurrentHub)return void(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.kg.warn(`[Tracing] Did not create ${t.op} transaction because _getCurrentHub is invalid.`))
|
|
195
|
+
const{beforeNavigate:e,idleTimeout:n,finalTimeout:i,heartbeatInterval:o}=this.options,c="pageload"===t.op,_=c?rt("sentry-trace"):null,d=c?rt("baggage"):null,p=_?(0,B.q)(_):void 0,l=d?(0,k.EN)(d):void 0,u={...t,...p,metadata:{...t.metadata,dynamicSamplingContext:p&&!l?{}:l},trimEnd:!0},h="function"==typeof e?e(u):u,m=void 0===h?{...u,sampled:!1}:h
|
|
196
|
+
m.metadata=m.name!==u.name?{...m.metadata,source:"custom"}:m.metadata,this._latestRouteName=m.name,this._latestRouteSource=(0,a.x)([m,"access",t=>t.metadata,"optionalAccess",t=>t.source]),!1===m.sampled&&("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.kg.log(`[Tracing] Will not send ${m.op} transaction because of beforeNavigate.`),("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.kg.log(`[Tracing] Starting ${m.op} transaction on scope`)
|
|
197
|
+
const g=this._getCurrentHub(),{location:f}=I,T=(0,s.lb)(g,m,n,i,!0,{location:f},o)
|
|
198
|
+
return T.registerBeforeFinishCallback((t=>{!function(t){const e=z()
|
|
199
|
+
if(!e||!I.performance.getEntries||!A.Z1)return;("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.kg.log("[Tracing] Adding & adjusting spans using Performance API")
|
|
200
|
+
const n=(0,Y.XL)(A.Z1),i=e.getEntries()
|
|
201
201
|
let s,a
|
|
202
|
-
if(i.slice(
|
|
203
|
-
if(!("navigation"===t.op&&n+i<t.startTimestamp))switch(e.entryType){case"navigation":!function(t,e,n){["unloadEvent","redirect","domContentLoadedEvent","loadEvent","connect"].forEach((i=>{
|
|
202
|
+
if(i.slice(Q).forEach((e=>{const i=(0,Y.XL)(e.startTime),o=(0,Y.XL)(e.duration)
|
|
203
|
+
if(!("navigation"===t.op&&n+i<t.startTimestamp))switch(e.entryType){case"navigation":!function(t,e,n){["unloadEvent","redirect","domContentLoadedEvent","loadEvent","connect"].forEach((i=>{Z(t,e,i,n)})),Z(t,e,"secureConnection",n,"TLS/SSL","connectEnd"),Z(t,e,"fetch",n,"cache","domainLookupStart"),Z(t,e,"domainLookup",n,"DNS"),function(t,e,n){j(t,{op:"browser",description:"request",startTimestamp:n+(0,Y.XL)(e.requestStart),endTimestamp:n+(0,Y.XL)(e.responseEnd)}),j(t,{op:"browser",description:"response",startTimestamp:n+(0,Y.XL)(e.responseStart),endTimestamp:n+(0,Y.XL)(e.responseEnd)})}(t,e,n)}(t,e,n),s=n+(0,Y.XL)(e.responseStart),a=n+(0,Y.XL)(e.requestStart)
|
|
204
204
|
break
|
|
205
205
|
case"mark":case"paint":case"measure":{!function(t,e,n,i,s){const a=s+n,r=a+i
|
|
206
|
-
|
|
207
|
-
const s=
|
|
208
|
-
"first-paint"===e.name&&a&&(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.kg.log("[Measurements] Adding FP"),
|
|
209
|
-
break}case"resource":{const s=e.name.replace(
|
|
206
|
+
j(t,{description:e.name,endTimestamp:r,op:e.entryType,startTimestamp:a})}(t,e,i,o,n)
|
|
207
|
+
const s=q(),a=e.startTime<s.firstHiddenTime
|
|
208
|
+
"first-paint"===e.name&&a&&(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.kg.log("[Measurements] Adding FP"),W.fp={value:e.startTime,unit:"millisecond"}),"first-contentful-paint"===e.name&&a&&(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.kg.log("[Measurements] Adding FCP"),W.fcp={value:e.startTime,unit:"millisecond"})
|
|
209
|
+
break}case"resource":{const s=e.name.replace(I.location.origin,"")
|
|
210
210
|
!function(t,e,n,i,s,a){if("xmlhttprequest"===e.initiatorType||"fetch"===e.initiatorType)return
|
|
211
211
|
const r={}
|
|
212
212
|
"transferSize"in e&&(r["Transfer Size"]=e.transferSize),"encodedBodySize"in e&&(r["Encoded Body Size"]=e.encodedBodySize),"decodedBodySize"in e&&(r["Decoded Body Size"]=e.decodedBodySize)
|
|
213
213
|
const o=a+i
|
|
214
|
-
|
|
215
|
-
break}}})),
|
|
214
|
+
j(t,{description:n,endTimestamp:o+s,op:e.initiatorType?`resource.${e.initiatorType}`:"resource.other",startTimestamp:o,data:r})}(t,e,s,i,o,n)
|
|
215
|
+
break}}})),Q=Math.max(i.length-1,0),function(t){const e=I.navigator
|
|
216
216
|
if(!e)return
|
|
217
217
|
const n=e.connection
|
|
218
|
-
n&&(n.effectiveType&&t.setTag("effectiveConnectionType",n.effectiveType),n.type&&t.setTag("connectionType",n.type),
|
|
219
|
-
const i=
|
|
220
|
-
const e=
|
|
221
|
-
e&&
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
218
|
+
n&&(n.effectiveType&&t.setTag("effectiveConnectionType",n.effectiveType),n.type&&t.setTag("connectionType",n.type),F(n.rtt)&&(W["connection.rtt"]={value:n.rtt,unit:"millisecond"})),F(e.deviceMemory)&&t.setTag("deviceMemory",`${e.deviceMemory} GB`),F(e.hardwareConcurrency)&&t.setTag("hardwareConcurrency",String(e.hardwareConcurrency))}(t),"pageload"===t.op){"number"==typeof s&&(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.kg.log("[Measurements] Adding TTFB"),W.ttfb={value:1e3*(s-t.startTimestamp),unit:"millisecond"},"number"==typeof a&&a<=s&&(W["ttfb.requestTime"]={value:1e3*(s-a),unit:"millisecond"})),["fcp","fp","lcp"].forEach((e=>{if(!W[e]||n>=t.startTimestamp)return
|
|
219
|
+
const i=W[e].value,s=n+(0,Y.XL)(i),a=Math.abs(1e3*(s-t.startTimestamp)),o=a-i;("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.kg.log(`[Measurements] Normalized ${e} from ${i} to ${a} (${o})`),W[e].value=a}))
|
|
220
|
+
const e=W["mark.fid"]
|
|
221
|
+
e&&W.fid&&(j(t,{description:"first input delay",endTimestamp:e.value+(0,Y.XL)(W.fid.value),op:"ui.action",startTimestamp:e.value}),delete W["mark.fid"]),"fcp"in W||delete W.cls,Object.keys(W).forEach((e=>{t.setMeasurement(e,W[e].value,W[e].unit)})),function(t){X&&(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.kg.log("[Measurements] Adding LCP Data"),X.element&&t.setTag("lcp.element",(0,G.Rt)(X.element)),X.id&&t.setTag("lcp.id",X.id),X.url&&t.setTag("lcp.url",X.url.trim().slice(0,200)),t.setTag("lcp.size",X.size)),J&&J.sources&&(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.kg.log("[Measurements] Adding CLS Data"),J.sources.forEach(((e,n)=>t.setTag(`cls.source.${n+1}`,(0,G.Rt)(e.node)))))}(t)}X=void 0,J=void 0,W={}}(t)})),T}_registerInteractionListener(){let t
|
|
222
|
+
const e=()=>{const{idleTimeout:e,finalTimeout:n,heartbeatInterval:i}=this.options,a="ui.action.click"
|
|
223
|
+
if(t&&(t.finish(),t=void 0),!this._getCurrentHub)return void(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.kg.warn(`[Tracing] Did not create ${a} transaction because _getCurrentHub is invalid.`))
|
|
224
|
+
if(!this._latestRouteName)return void(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.kg.warn(`[Tracing] Did not create ${a} transaction because _latestRouteName is missing.`))
|
|
225
|
+
const o=this._getCurrentHub(),{location:c}=I,_={name:this._latestRouteName,op:a,trimEnd:!0,metadata:{source:(0,x.h)(this._latestRouteSource,(()=>"url"))}}
|
|
226
|
+
t=(0,s.lb)(o,_,e,n,!0,{location:c},i)};["click"].forEach((t=>{addEventListener(t,e,{once:!1,capture:!0})}))}}function rt(t){const e=(0,G.qT)(`meta[name=${t}]`)
|
|
227
|
+
return e?e.getAttribute("content"):null}var ot,ct=n(20484)
|
|
228
|
+
!function(t){t.Ok="ok",t.DeadlineExceeded="deadline_exceeded",t.Unauthenticated="unauthenticated",t.PermissionDenied="permission_denied",t.NotFound="not_found",t.ResourceExhausted="resource_exhausted",t.InvalidArgument="invalid_argument",t.Unimplemented="unimplemented",t.Unavailable="unavailable",t.InternalError="internal_error",t.UnknownError="unknown_error",t.Cancelled="cancelled",t.AlreadyExists="already_exists",t.FailedPrecondition="failed_precondition",t.Aborted="aborted",t.OutOfRange="out_of_range",t.DataLoss="data_loss"}(ot||(ot={}))
|
|
229
|
+
var _t=n(21535);("undefined"==typeof __SENTRY_TRACING__||__SENTRY_TRACING__)&&(0,s.ro)()},20484:(t,e,n)=>{n.d(e,{Dr:()=>_,Zd:()=>d,gB:()=>c})
|
|
225
230
|
var i=n(4549),s=n(7209),a=n(88468),r=n(88521),o=n(15834)
|
|
226
231
|
class c{__init(){this.spans=[]}constructor(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1e3
|
|
227
232
|
c.prototype.__init.call(this),this._maxlen=t}add(t){this.spans.length>this._maxlen?t.spanRecorder=void 0:this.spans.push(t)}}class _{__init2(){this.traceId=(0,s.DM)()}__init3(){this.spanId=(0,s.DM)().substring(16)}__init4(){this.startTimestamp=(0,a._I)()}__init5(){this.tags={}}__init6(){this.data={}}__init7(){this.instrumenter="sentry"}constructor(t){if(_.prototype.__init2.call(this),_.prototype.__init3.call(this),_.prototype.__init4.call(this),_.prototype.__init5.call(this),_.prototype.__init6.call(this),_.prototype.__init7.call(this),!t)return this
|
|
@@ -265,4 +270,4 @@ function s(t){const e=(0,i.Gd)().getClient(),n=t||e&&e.getOptions()
|
|
|
265
270
|
return!!n&&("tracesSampleRate"in n||"tracesSampler"in n)}function a(t){const e=(t||(0,i.Gd)()).getScope()
|
|
266
271
|
return e&&e.getTransaction()}function r(t){return t/1e3}},4549:(t,e,n)=>{function i(t,e){return null!=t?t:e()}n.d(e,{h:()=>i})}}])
|
|
267
272
|
|
|
268
|
-
//# sourceMappingURL=chunk.507.
|
|
273
|
+
//# sourceMappingURL=chunk.507.18a4d11e74a0b6e03a69.map
|