ghost 5.82.3 → 5.82.4
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-cache-memory-ttl-5.82.3.tgz → tryghost-adapter-cache-memory-ttl-5.82.4.tgz} +0 -0
- package/components/{tryghost-adapter-cache-redis-5.82.3.tgz → tryghost-adapter-cache-redis-5.82.4.tgz} +0 -0
- package/components/{tryghost-adapter-manager-5.82.3.tgz → tryghost-adapter-manager-5.82.4.tgz} +0 -0
- package/components/{tryghost-announcement-bar-settings-5.82.3.tgz → tryghost-announcement-bar-settings-5.82.4.tgz} +0 -0
- package/components/{tryghost-api-framework-5.82.3.tgz → tryghost-api-framework-5.82.4.tgz} +0 -0
- package/components/{tryghost-api-version-compatibility-service-5.82.3.tgz → tryghost-api-version-compatibility-service-5.82.4.tgz} +0 -0
- package/components/{tryghost-audience-feedback-5.82.3.tgz → tryghost-audience-feedback-5.82.4.tgz} +0 -0
- package/components/tryghost-bookshelf-repository-5.82.4.tgz +0 -0
- package/components/{tryghost-bootstrap-socket-5.82.3.tgz → tryghost-bootstrap-socket-5.82.4.tgz} +0 -0
- package/components/tryghost-collections-5.82.4.tgz +0 -0
- package/components/{tryghost-constants-5.82.3.tgz → tryghost-constants-5.82.4.tgz} +0 -0
- package/components/{tryghost-custom-theme-settings-service-5.82.3.tgz → tryghost-custom-theme-settings-service-5.82.4.tgz} +0 -0
- package/components/{tryghost-data-generator-5.82.3.tgz → tryghost-data-generator-5.82.4.tgz} +0 -0
- package/components/tryghost-domain-events-5.82.4.tgz +0 -0
- package/components/tryghost-donations-5.82.4.tgz +0 -0
- package/components/tryghost-dynamic-routing-events-5.82.4.tgz +0 -0
- package/components/{tryghost-email-addresses-5.82.3.tgz → tryghost-email-addresses-5.82.4.tgz} +0 -0
- package/components/tryghost-email-analytics-provider-mailgun-5.82.4.tgz +0 -0
- package/components/tryghost-email-analytics-service-5.82.4.tgz +0 -0
- package/components/tryghost-email-content-generator-5.82.4.tgz +0 -0
- package/components/{tryghost-email-events-5.82.3.tgz → tryghost-email-events-5.82.4.tgz} +0 -0
- package/components/tryghost-email-service-5.82.4.tgz +0 -0
- package/components/tryghost-email-suppression-list-5.82.4.tgz +0 -0
- package/components/{tryghost-express-dynamic-redirects-5.82.3.tgz → tryghost-express-dynamic-redirects-5.82.4.tgz} +0 -0
- package/components/tryghost-external-media-inliner-5.82.4.tgz +0 -0
- package/components/tryghost-extract-api-key-5.82.4.tgz +0 -0
- package/components/tryghost-ghost-5.82.4.tgz +0 -0
- package/components/tryghost-html-to-plaintext-5.82.4.tgz +0 -0
- package/components/tryghost-i18n-5.82.4.tgz +0 -0
- package/components/tryghost-importer-handler-content-files-5.82.4.tgz +0 -0
- package/components/tryghost-importer-revue-5.82.4.tgz +0 -0
- package/components/tryghost-in-memory-repository-5.82.4.tgz +0 -0
- package/components/{tryghost-job-manager-5.82.3.tgz → tryghost-job-manager-5.82.4.tgz} +0 -0
- package/components/tryghost-link-redirects-5.82.4.tgz +0 -0
- package/components/{tryghost-link-replacer-5.82.3.tgz → tryghost-link-replacer-5.82.4.tgz} +0 -0
- package/components/{tryghost-link-tracking-5.82.3.tgz → tryghost-link-tracking-5.82.4.tgz} +0 -0
- package/components/{tryghost-magic-link-5.82.3.tgz → tryghost-magic-link-5.82.4.tgz} +0 -0
- package/components/{tryghost-mail-events-5.82.3.tgz → tryghost-mail-events-5.82.4.tgz} +0 -0
- package/components/tryghost-mailgun-client-5.82.4.tgz +0 -0
- package/components/{tryghost-member-attribution-5.82.3.tgz → tryghost-member-attribution-5.82.4.tgz} +0 -0
- package/components/tryghost-member-events-5.82.4.tgz +0 -0
- package/components/{tryghost-members-api-5.82.3.tgz → tryghost-members-api-5.82.4.tgz} +0 -0
- package/components/tryghost-members-csv-5.82.4.tgz +0 -0
- package/components/{tryghost-members-events-service-5.82.3.tgz → tryghost-members-events-service-5.82.4.tgz} +0 -0
- package/components/{tryghost-members-importer-5.82.3.tgz → tryghost-members-importer-5.82.4.tgz} +0 -0
- package/components/{tryghost-members-offers-5.82.3.tgz → tryghost-members-offers-5.82.4.tgz} +0 -0
- package/components/{tryghost-members-payments-5.82.3.tgz → tryghost-members-payments-5.82.4.tgz} +0 -0
- package/components/{tryghost-members-ssr-5.82.3.tgz → tryghost-members-ssr-5.82.4.tgz} +0 -0
- package/components/{tryghost-members-stripe-service-5.82.3.tgz → tryghost-members-stripe-service-5.82.4.tgz} +0 -0
- package/components/{tryghost-mentions-email-report-5.82.3.tgz → tryghost-mentions-email-report-5.82.4.tgz} +0 -0
- package/components/tryghost-milestones-5.82.4.tgz +0 -0
- package/components/tryghost-minifier-5.82.4.tgz +0 -0
- package/components/{tryghost-model-to-domain-event-interceptor-5.82.3.tgz → tryghost-model-to-domain-event-interceptor-5.82.4.tgz} +0 -0
- package/components/tryghost-mw-api-version-mismatch-5.82.4.tgz +0 -0
- package/components/tryghost-mw-cache-control-5.82.4.tgz +0 -0
- package/components/tryghost-mw-error-handler-5.82.4.tgz +0 -0
- package/components/{tryghost-mw-session-from-token-5.82.3.tgz → tryghost-mw-session-from-token-5.82.4.tgz} +0 -0
- package/components/tryghost-mw-update-user-last-seen-5.82.4.tgz +0 -0
- package/components/tryghost-mw-version-match-5.82.4.tgz +0 -0
- package/components/{tryghost-mw-vhost-5.82.3.tgz → tryghost-mw-vhost-5.82.4.tgz} +0 -0
- package/components/tryghost-nql-filter-expansions-5.82.4.tgz +0 -0
- package/components/tryghost-oembed-service-5.82.4.tgz +0 -0
- package/components/tryghost-package-json-5.82.4.tgz +0 -0
- package/components/{tryghost-post-events-5.82.3.tgz → tryghost-post-events-5.82.4.tgz} +0 -0
- package/components/{tryghost-post-revisions-5.82.3.tgz → tryghost-post-revisions-5.82.4.tgz} +0 -0
- package/components/tryghost-posts-service-5.82.4.tgz +0 -0
- package/components/tryghost-recommendations-5.82.4.tgz +0 -0
- package/components/tryghost-referrers-5.82.4.tgz +0 -0
- package/components/{tryghost-security-5.82.3.tgz → tryghost-security-5.82.4.tgz} +0 -0
- package/components/{tryghost-session-service-5.82.3.tgz → tryghost-session-service-5.82.4.tgz} +0 -0
- package/components/tryghost-settings-path-manager-5.82.4.tgz +0 -0
- package/components/tryghost-slack-notifications-5.82.4.tgz +0 -0
- package/components/tryghost-staff-service-5.82.4.tgz +0 -0
- package/components/tryghost-stats-service-5.82.4.tgz +0 -0
- package/components/tryghost-tiers-5.82.4.tgz +0 -0
- package/components/tryghost-update-check-service-5.82.4.tgz +0 -0
- package/components/{tryghost-verification-trigger-5.82.3.tgz → tryghost-verification-trigger-5.82.4.tgz} +0 -0
- package/components/{tryghost-version-notifications-data-service-5.82.3.tgz → tryghost-version-notifications-data-service-5.82.4.tgz} +0 -0
- package/components/tryghost-webmentions-5.82.4.tgz +0 -0
- package/core/boot.js +6 -0
- package/core/built/admin/assets/admin-x-activitypub/admin-x-activitypub.js +6990 -0
- package/core/built/admin/assets/admin-x-demo/admin-x-demo.js +1 -1
- package/core/built/admin/assets/admin-x-demo/{index-aad00baa.mjs → index-e36f9f54.mjs} +3 -3
- package/core/built/admin/assets/admin-x-demo/{modals-925b7c32.mjs → modals-54e6eae1.mjs} +2 -2
- package/core/built/admin/assets/admin-x-settings/{CodeEditorView-09fb8166.mjs → CodeEditorView-834e7ac8.mjs} +2 -2
- package/core/built/admin/assets/admin-x-settings/admin-x-settings.js +2 -2
- package/core/built/admin/assets/admin-x-settings/{index-7c9fce83.mjs → index-957ece55.mjs} +94 -87
- package/core/built/admin/assets/admin-x-settings/{index-55c46922.mjs → index-f994fb82.mjs} +2 -2
- package/core/built/admin/assets/admin-x-settings/{modals-e97cff0c.mjs → modals-5264a854.mjs} +1033 -1000
- package/core/built/admin/assets/{chunk.524.7e89297e3fe4765e1581.js → chunk.524.bd8238874f4b73f48c54.js} +5 -5
- package/core/built/admin/assets/{chunk.582.d279749c1357df54ae8e.js → chunk.582.0c6120fa7382f5d485e0.js} +4 -4
- package/core/built/admin/assets/{chunk.682.9acd39e8ae4d98006602.js → chunk.799.51e503059770581f528f.js} +297 -275
- package/core/built/admin/assets/{ghost-804748f2e71b6155946284e9658bddd0.js → ghost-0723ddb4afa369fc0303017c40ffffe0.js} +233 -217
- package/core/built/admin/assets/koenig-lexical/index.css +1 -1
- package/core/built/admin/assets/koenig-lexical/koenig-lexical.js +8463 -8375
- package/core/built/admin/assets/koenig-lexical/koenig-lexical.umd.js +126 -126
- package/core/built/admin/assets/{vendor-f9bad0b8c0149699f84c0bd9d325068e.js → vendor-5ef343f0a55366497ef903095548a0d5.js} +5 -5
- package/core/built/admin/index.html +5 -5
- package/core/server/services/Users.js +52 -40
- package/core/server/services/link-redirection/LinkRedirectRepository.js +106 -7
- package/core/server/services/link-redirection/index.js +6 -1
- package/core/server/services/xmlrpc.js +0 -2
- package/core/shared/labs.js +3 -3
- package/package.json +151 -151
- package/yarn.lock +406 -313
- package/components/tryghost-bookshelf-repository-5.82.3.tgz +0 -0
- package/components/tryghost-collections-5.82.3.tgz +0 -0
- package/components/tryghost-domain-events-5.82.3.tgz +0 -0
- package/components/tryghost-donations-5.82.3.tgz +0 -0
- package/components/tryghost-dynamic-routing-events-5.82.3.tgz +0 -0
- package/components/tryghost-email-analytics-provider-mailgun-5.82.3.tgz +0 -0
- package/components/tryghost-email-analytics-service-5.82.3.tgz +0 -0
- package/components/tryghost-email-content-generator-5.82.3.tgz +0 -0
- package/components/tryghost-email-service-5.82.3.tgz +0 -0
- package/components/tryghost-email-suppression-list-5.82.3.tgz +0 -0
- package/components/tryghost-external-media-inliner-5.82.3.tgz +0 -0
- package/components/tryghost-extract-api-key-5.82.3.tgz +0 -0
- package/components/tryghost-ghost-5.82.3.tgz +0 -0
- package/components/tryghost-html-to-plaintext-5.82.3.tgz +0 -0
- package/components/tryghost-i18n-5.82.3.tgz +0 -0
- package/components/tryghost-importer-handler-content-files-5.82.3.tgz +0 -0
- package/components/tryghost-importer-revue-5.82.3.tgz +0 -0
- package/components/tryghost-in-memory-repository-5.82.3.tgz +0 -0
- package/components/tryghost-link-redirects-5.82.3.tgz +0 -0
- package/components/tryghost-mailgun-client-5.82.3.tgz +0 -0
- package/components/tryghost-member-events-5.82.3.tgz +0 -0
- package/components/tryghost-members-csv-5.82.3.tgz +0 -0
- package/components/tryghost-milestones-5.82.3.tgz +0 -0
- package/components/tryghost-minifier-5.82.3.tgz +0 -0
- package/components/tryghost-mw-api-version-mismatch-5.82.3.tgz +0 -0
- package/components/tryghost-mw-cache-control-5.82.3.tgz +0 -0
- package/components/tryghost-mw-error-handler-5.82.3.tgz +0 -0
- package/components/tryghost-mw-update-user-last-seen-5.82.3.tgz +0 -0
- package/components/tryghost-mw-version-match-5.82.3.tgz +0 -0
- package/components/tryghost-nql-filter-expansions-5.82.3.tgz +0 -0
- package/components/tryghost-oembed-service-5.82.3.tgz +0 -0
- package/components/tryghost-package-json-5.82.3.tgz +0 -0
- package/components/tryghost-posts-service-5.82.3.tgz +0 -0
- package/components/tryghost-recommendations-5.82.3.tgz +0 -0
- package/components/tryghost-referrers-5.82.3.tgz +0 -0
- package/components/tryghost-settings-path-manager-5.82.3.tgz +0 -0
- package/components/tryghost-slack-notifications-5.82.3.tgz +0 -0
- package/components/tryghost-staff-service-5.82.3.tgz +0 -0
- package/components/tryghost-stats-service-5.82.3.tgz +0 -0
- package/components/tryghost-tiers-5.82.3.tgz +0 -0
- package/components/tryghost-update-check-service-5.82.3.tgz +0 -0
- package/components/tryghost-webmentions-5.82.3.tgz +0 -0
- /package/core/built/admin/assets/{chunk.682.9acd39e8ae4d98006602.js.LICENSE.txt → chunk.799.51e503059770581f528f.js.LICENSE.txt} +0 -0
|
@@ -153,7 +153,7 @@ const on = ({ className: e }) => (e || (e = "border-grey-200 dark:border-grey-80
|
|
|
153
153
|
] });
|
|
154
154
|
} else
|
|
155
155
|
return u;
|
|
156
|
-
},
|
|
156
|
+
}, Gt = ({ children: e, color: t, className: n, ...r }) => {
|
|
157
157
|
if (!e)
|
|
158
158
|
return null;
|
|
159
159
|
let i = "text-grey-700 dark:text-grey-600";
|
|
@@ -170,7 +170,7 @@ const on = ({ className: e }) => (e || (e = "border-grey-200 dark:border-grey-80
|
|
|
170
170
|
i,
|
|
171
171
|
n
|
|
172
172
|
), /* @__PURE__ */ c.jsx("span", { className: n, ...r, children: e });
|
|
173
|
-
}, o2 = H.lazy(() => import("./CodeEditorView-
|
|
173
|
+
}, o2 = H.lazy(() => import("./CodeEditorView-834e7ac8.mjs")), Ec = Nt(function(t, n) {
|
|
174
174
|
return /* @__PURE__ */ c.jsx(pd, { fallback: null, children: /* @__PURE__ */ c.jsx(o2, { ...t, ref: n }) });
|
|
175
175
|
}), xd = (e) => /* @__PURE__ */ f("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 14 14", height: 16, width: 16, ...e }, /* @__PURE__ */ f("g", { id: "user-single-neutral--close-geometric-human-person-single-up-user" }, /* @__PURE__ */ f("path", { id: "Union", fill: "currentColor", fillRule: "evenodd", d: "M10.5 3.5C10.5 5.433 8.93295 7 6.99995 7C5.06695 7 3.49995 5.433 3.49995 3.5C3.49995 1.567 5.06695 0 6.99995 0C8.93295 0 10.5 1.567 10.5 3.5ZM0.320435 13.4C1.21244 10.56 3.86563 8.50003 6.99996 8.50003C10.1343 8.50003 12.7875 10.56 13.6795 13.4C13.7751 13.7044 13.537 14 13.2179 14H0.781996C0.462883 14 0.224811 13.7044 0.320435 13.4Z", clipRule: "evenodd" }))), s2 = "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGZpbGw9Im5vbmUiIHZpZXdCb3g9IjAgMCAxNCAxNCIgaGVpZ2h0PSIxNiIgd2lkdGg9IjE2Ij48ZyBpZD0idXNlci1zaW5nbGUtbmV1dHJhbC0tY2xvc2UtZ2VvbWV0cmljLWh1bWFuLXBlcnNvbi1zaW5nbGUtdXAtdXNlciI+PHBhdGggaWQ9IlVuaW9uIiBmaWxsPSJjdXJyZW50Q29sb3IiIGZpbGwtcnVsZT0iZXZlbm9kZCIgZD0iTTEwLjUgMy41QzEwLjUgNS40MzMgOC45MzI5NSA3IDYuOTk5OTUgN0M1LjA2Njk1IDcgMy40OTk5NSA1LjQzMyAzLjQ5OTk1IDMuNUMzLjQ5OTk1IDEuNTY3IDUuMDY2OTUgMCA2Ljk5OTk1IDBDOC45MzI5NSAwIDEwLjUgMS41NjcgMTAuNSAzLjVaTTAuMzIwNDM1IDEzLjRDMS4yMTI0NCAxMC41NiAzLjg2NTYzIDguNTAwMDMgNi45OTk5NiA4LjUwMDAzQzEwLjEzNDMgOC41MDAwMyAxMi43ODc1IDEwLjU2IDEzLjY3OTUgMTMuNEMxMy43NzUxIDEzLjcwNDQgMTMuNTM3IDE0IDEzLjIxNzkgMTRIMC43ODE5OTZDMC40NjI4ODMgMTQgMC4yMjQ4MTEgMTMuNzA0NCAwLjMyMDQzNSAxMy40WiIgY2xpcC1ydWxlPSJldmVub2RkIj48L3BhdGg+PC9nPjwvc3ZnPg==", a2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
176
176
|
__proto__: null,
|
|
@@ -787,26 +787,26 @@ function rA(e) {
|
|
|
787
787
|
}
|
|
788
788
|
};
|
|
789
789
|
}
|
|
790
|
-
var
|
|
790
|
+
var Ht = {}, Bn = {}, fo = function(e) {
|
|
791
791
|
return typeof e == "string" ? e : (e[cs] || (e[cs] = Dd()), e[cs]);
|
|
792
792
|
};
|
|
793
793
|
function Bl(e, t) {
|
|
794
794
|
var n = fo(e);
|
|
795
|
-
if (typeof e != "string" && !Mt[n] && po(n, e), tr(eA(n, t)), !
|
|
795
|
+
if (typeof e != "string" && !Mt[n] && po(n, e), tr(eA(n, t)), !Ht[n]) {
|
|
796
796
|
var r, i, o = new Promise(function(s, a) {
|
|
797
797
|
r = s, i = a;
|
|
798
798
|
});
|
|
799
|
-
|
|
799
|
+
Ht[n] = {
|
|
800
800
|
resolve: r,
|
|
801
801
|
reject: i,
|
|
802
802
|
promise: o
|
|
803
803
|
};
|
|
804
804
|
}
|
|
805
|
-
return
|
|
805
|
+
return Ht[n].promise;
|
|
806
806
|
}
|
|
807
807
|
function Hl(e) {
|
|
808
808
|
var t = fo(e);
|
|
809
|
-
if (tr(nA(t)), delete
|
|
809
|
+
if (tr(nA(t)), delete Ht[t], !Bn[t]) {
|
|
810
810
|
var n, r, i = new Promise(function(o, s) {
|
|
811
811
|
n = o, r = s;
|
|
812
812
|
});
|
|
@@ -820,7 +820,7 @@ function Hl(e) {
|
|
|
820
820
|
}
|
|
821
821
|
var Sd = function(e) {
|
|
822
822
|
var t = fo(e);
|
|
823
|
-
tr(rA(t)), delete
|
|
823
|
+
tr(rA(t)), delete Ht[t], delete Bn[t];
|
|
824
824
|
}, iA = function(e, t) {
|
|
825
825
|
tr(tA(e, t));
|
|
826
826
|
};
|
|
@@ -840,10 +840,10 @@ function Vt(e, t) {
|
|
|
840
840
|
return Sd(s);
|
|
841
841
|
}, [s]), g = O(function(v) {
|
|
842
842
|
var b;
|
|
843
|
-
(b =
|
|
843
|
+
(b = Ht[s]) === null || b === void 0 || b.resolve(v), delete Ht[s];
|
|
844
844
|
}, [s]), m = O(function(v) {
|
|
845
845
|
var b;
|
|
846
|
-
(b =
|
|
846
|
+
(b = Ht[s]) === null || b === void 0 || b.reject(v), delete Ht[s];
|
|
847
847
|
}, [s]), p = O(function(v) {
|
|
848
848
|
var b;
|
|
849
849
|
(b = Bn[s]) === null || b === void 0 || b.resolve(v), delete Bn[s];
|
|
@@ -1019,7 +1019,7 @@ let mA = { data: "" }, hA = (e) => typeof window == "object" ? ((e ? e.querySele
|
|
|
1019
1019
|
o[0] == "@" ? o[1] == "i" ? n = o + " " + s + ";" : r += o[1] == "f" ? en(s, o) : o + "{" + en(s, o[1] == "k" ? "" : t) + "}" : typeof s == "object" ? r += en(s, t ? t.replace(/([^,])+/g, (a) => o.replace(/(^:.*)|([^,])+/g, (l) => /&/.test(l) ? l.replace(/&/g, a) : a ? a + " " + l : l)) : o) : s != null && (o = /^--/.test(o) ? o : o.replace(/[A-Z]/g, "-$&").toLowerCase(), i += en.p ? en.p(o, s) : o + ":" + s + ";");
|
|
1020
1020
|
}
|
|
1021
1021
|
return n + (t && i ? t + "{" + i + "}" : i) + r;
|
|
1022
|
-
},
|
|
1022
|
+
}, Rt = {}, Ld = (e) => {
|
|
1023
1023
|
if (typeof e == "object") {
|
|
1024
1024
|
let t = "";
|
|
1025
1025
|
for (let n in e)
|
|
@@ -1028,25 +1028,25 @@ let mA = { data: "" }, hA = (e) => typeof window == "object" ? ((e ? e.querySele
|
|
|
1028
1028
|
}
|
|
1029
1029
|
return e;
|
|
1030
1030
|
}, bA = (e, t, n, r, i) => {
|
|
1031
|
-
let o = Ld(e), s =
|
|
1031
|
+
let o = Ld(e), s = Rt[o] || (Rt[o] = ((l) => {
|
|
1032
1032
|
let u = 0, d = 11;
|
|
1033
1033
|
for (; u < l.length; )
|
|
1034
1034
|
d = 101 * d + l.charCodeAt(u++) >>> 0;
|
|
1035
1035
|
return "go" + d;
|
|
1036
1036
|
})(o));
|
|
1037
|
-
if (!
|
|
1037
|
+
if (!Rt[s]) {
|
|
1038
1038
|
let l = o !== e ? e : ((u) => {
|
|
1039
1039
|
let d, g, m = [{}];
|
|
1040
1040
|
for (; d = AA.exec(u.replace(vA, "")); )
|
|
1041
1041
|
d[4] ? m.shift() : d[3] ? (g = d[3].replace(Tc, " ").trim(), m.unshift(m[0][g] = m[0][g] || {})) : m[0][d[1]] = d[2].replace(Tc, " ").trim();
|
|
1042
1042
|
return m[0];
|
|
1043
1043
|
})(e);
|
|
1044
|
-
|
|
1044
|
+
Rt[s] = en(i ? { ["@keyframes " + s]: l } : l, n ? "" : "." + s);
|
|
1045
1045
|
}
|
|
1046
|
-
let a = n &&
|
|
1047
|
-
return n && (
|
|
1046
|
+
let a = n && Rt.g ? Rt.g : null;
|
|
1047
|
+
return n && (Rt.g = Rt[s]), ((l, u, d, g) => {
|
|
1048
1048
|
g ? u.data = u.data.replace(g, l) : u.data.indexOf(l) === -1 && (u.data = d ? l + u.data : u.data + l);
|
|
1049
|
-
})(
|
|
1049
|
+
})(Rt[s], t, r, a), s;
|
|
1050
1050
|
}, MA = (e, t, n) => e.reduce((r, i, o) => {
|
|
1051
1051
|
let s = t[o];
|
|
1052
1052
|
if (s && s.call) {
|
|
@@ -1061,7 +1061,7 @@ function mo(e) {
|
|
|
1061
1061
|
}
|
|
1062
1062
|
let Ed, Gs, Vs;
|
|
1063
1063
|
mo.bind({ g: 1 });
|
|
1064
|
-
let
|
|
1064
|
+
let Wt = mo.bind({ k: 1 });
|
|
1065
1065
|
function yA(e, t, n, r) {
|
|
1066
1066
|
en.p = t, Ed = e, Gs = n, Vs = r;
|
|
1067
1067
|
}
|
|
@@ -1185,7 +1185,7 @@ var kA = (e, t) => {
|
|
|
1185
1185
|
return d.filter((p) => p.visible).slice(...a ? [m + 1] : [0, m]).reduce((p, v) => p + (v.height || 0) + l, 0);
|
|
1186
1186
|
}, [t]);
|
|
1187
1187
|
return { toasts: t, handlers: { updateHeight: kA, startPause: LA, endPause: r, calculateOffset: i } };
|
|
1188
|
-
}, TA =
|
|
1188
|
+
}, TA = Wt`
|
|
1189
1189
|
from {
|
|
1190
1190
|
transform: scale(0) rotate(45deg);
|
|
1191
1191
|
opacity: 0;
|
|
@@ -1193,7 +1193,7 @@ from {
|
|
|
1193
1193
|
to {
|
|
1194
1194
|
transform: scale(1) rotate(45deg);
|
|
1195
1195
|
opacity: 1;
|
|
1196
|
-
}`, PA =
|
|
1196
|
+
}`, PA = Wt`
|
|
1197
1197
|
from {
|
|
1198
1198
|
transform: scale(0);
|
|
1199
1199
|
opacity: 0;
|
|
@@ -1201,7 +1201,7 @@ from {
|
|
|
1201
1201
|
to {
|
|
1202
1202
|
transform: scale(1);
|
|
1203
1203
|
opacity: 1;
|
|
1204
|
-
}`, zA =
|
|
1204
|
+
}`, zA = Wt`
|
|
1205
1205
|
from {
|
|
1206
1206
|
transform: scale(0) rotate(90deg);
|
|
1207
1207
|
opacity: 0;
|
|
@@ -1242,7 +1242,7 @@ to {
|
|
|
1242
1242
|
animation-delay: 180ms;
|
|
1243
1243
|
transform: rotate(90deg);
|
|
1244
1244
|
}
|
|
1245
|
-
`, RA =
|
|
1245
|
+
`, RA = Wt`
|
|
1246
1246
|
from {
|
|
1247
1247
|
transform: rotate(0deg);
|
|
1248
1248
|
}
|
|
@@ -1258,7 +1258,7 @@ to {
|
|
|
1258
1258
|
border-color: ${(e) => e.secondary || "#e0e0e0"};
|
|
1259
1259
|
border-right-color: ${(e) => e.primary || "#616161"};
|
|
1260
1260
|
animation: ${RA} 1s linear infinite;
|
|
1261
|
-
`, BA =
|
|
1261
|
+
`, BA = Wt`
|
|
1262
1262
|
from {
|
|
1263
1263
|
transform: scale(0) rotate(45deg);
|
|
1264
1264
|
opacity: 0;
|
|
@@ -1266,7 +1266,7 @@ from {
|
|
|
1266
1266
|
to {
|
|
1267
1267
|
transform: scale(1) rotate(45deg);
|
|
1268
1268
|
opacity: 1;
|
|
1269
|
-
}`, HA =
|
|
1269
|
+
}`, HA = Wt`
|
|
1270
1270
|
0% {
|
|
1271
1271
|
height: 0;
|
|
1272
1272
|
width: 0;
|
|
@@ -1316,7 +1316,7 @@ to {
|
|
|
1316
1316
|
align-items: center;
|
|
1317
1317
|
min-width: 20px;
|
|
1318
1318
|
min-height: 20px;
|
|
1319
|
-
`, GA =
|
|
1319
|
+
`, GA = Wt`
|
|
1320
1320
|
from {
|
|
1321
1321
|
transform: scale(0.6);
|
|
1322
1322
|
opacity: 0.4;
|
|
@@ -1361,7 +1361,7 @@ to {
|
|
|
1361
1361
|
white-space: pre-line;
|
|
1362
1362
|
`, $A = (e, t) => {
|
|
1363
1363
|
let n = e.includes("top") ? 1 : -1, [r, i] = Td() ? [XA, qA] : [JA(n), YA(n)];
|
|
1364
|
-
return { animation: t ? `${
|
|
1364
|
+
return { animation: t ? `${Wt(r)} 0.35s cubic-bezier(.21,1.02,.73,1) forwards` : `${Wt(i)} 0.4s forwards cubic-bezier(.06,.71,.55,1)` };
|
|
1365
1365
|
}, ev = Ol(({ toast: e, position: t, style: n, children: r }) => {
|
|
1366
1366
|
let i = e.height ? $A(e.position || t || "top-center", e.visible) : { opacity: 0 }, o = f(FA, { toast: e }), s = f(_A, { ...e.ariaProps }, Ri(e.message, e));
|
|
1367
1367
|
return f(KA, { className: e.className, style: { ...i, ...n, ...e.style } }, typeof r == "function" ? r({ icon: o, message: s }) : f(Jn, null, o, s));
|
|
@@ -1502,7 +1502,7 @@ const Pd = H.createContext({ isDirty: !1, setGlobalDirtyState: () => {
|
|
|
1502
1502
|
), n || l ? /* @__PURE__ */ c.jsxs("div", { className: b, children: [
|
|
1503
1503
|
z,
|
|
1504
1504
|
n && /* @__PURE__ */ c.jsx(Te, { className: r ? "sr-only" : "order-1", htmlFor: j, useLabelTag: !0, children: n }),
|
|
1505
|
-
l && /* @__PURE__ */ c.jsx(
|
|
1505
|
+
l && /* @__PURE__ */ c.jsx(Gt, { className: h, color: o ? "red" : "default", children: l })
|
|
1506
1506
|
] }) : z;
|
|
1507
1507
|
}, cv = ({
|
|
1508
1508
|
valueInCents: e,
|
|
@@ -1607,7 +1607,7 @@ function zc(e) {
|
|
|
1607
1607
|
function dv(e) {
|
|
1608
1608
|
return nr(e, "DOMException");
|
|
1609
1609
|
}
|
|
1610
|
-
function
|
|
1610
|
+
function Zt(e) {
|
|
1611
1611
|
return nr(e, "String");
|
|
1612
1612
|
}
|
|
1613
1613
|
function Rd(e) {
|
|
@@ -1665,7 +1665,7 @@ function Oc(e, t) {
|
|
|
1665
1665
|
return n.join(t);
|
|
1666
1666
|
}
|
|
1667
1667
|
function hv(e, t, n = !1) {
|
|
1668
|
-
return
|
|
1668
|
+
return Zt(e) ? fv(t) ? t.test(e) : Zt(t) ? n ? e === t : e.includes(t) : !1 : !1;
|
|
1669
1669
|
}
|
|
1670
1670
|
function bo(e, t = [], n = !1) {
|
|
1671
1671
|
return t.some((r) => hv(e, r, n));
|
|
@@ -1787,7 +1787,7 @@ function Mv(e, t) {
|
|
|
1787
1787
|
u.forEach((g) => {
|
|
1788
1788
|
r.push(`[${g[0]}="${g[1]}"]`);
|
|
1789
1789
|
});
|
|
1790
|
-
else if (n.id && r.push(`#${n.id}`), i = n.className, i &&
|
|
1790
|
+
else if (n.id && r.push(`#${n.id}`), i = n.className, i && Zt(i))
|
|
1791
1791
|
for (o = i.split(/\s+/), l = 0; l < o.length; l++)
|
|
1792
1792
|
r.push(`.${o[l]}`);
|
|
1793
1793
|
const d = ["aria-label", "type", "name", "title", "alt"];
|
|
@@ -2354,7 +2354,7 @@ function nb() {
|
|
|
2354
2354
|
const e = XMLHttpRequest.prototype;
|
|
2355
2355
|
We(e, "open", function(t) {
|
|
2356
2356
|
return function(...n) {
|
|
2357
|
-
const r = Date.now(), i =
|
|
2357
|
+
const r = Date.now(), i = Zt(n[0]) ? n[0].toUpperCase() : void 0, o = rb(n[1]);
|
|
2358
2358
|
if (!i || !o)
|
|
2359
2359
|
return t.apply(this, n);
|
|
2360
2360
|
this[yr] = {
|
|
@@ -2385,7 +2385,7 @@ function nb() {
|
|
|
2385
2385
|
}) : this.addEventListener("readystatechange", s), We(this, "setRequestHeader", function(a) {
|
|
2386
2386
|
return function(...l) {
|
|
2387
2387
|
const [u, d] = l, g = this[yr];
|
|
2388
|
-
return g &&
|
|
2388
|
+
return g && Zt(u) && Zt(d) && (g.request_headers[u.toLowerCase()] = d), a.apply(this, l);
|
|
2389
2389
|
};
|
|
2390
2390
|
}), t.apply(this, n);
|
|
2391
2391
|
};
|
|
@@ -2405,7 +2405,7 @@ function nb() {
|
|
|
2405
2405
|
});
|
|
2406
2406
|
}
|
|
2407
2407
|
function rb(e) {
|
|
2408
|
-
if (
|
|
2408
|
+
if (Zt(e))
|
|
2409
2409
|
return e;
|
|
2410
2410
|
try {
|
|
2411
2411
|
return e.toString();
|
|
@@ -2522,17 +2522,17 @@ function lb(e) {
|
|
|
2522
2522
|
function cb(e) {
|
|
2523
2523
|
return lb(JSON.stringify(e));
|
|
2524
2524
|
}
|
|
2525
|
-
var
|
|
2525
|
+
var Ut;
|
|
2526
2526
|
(function(e) {
|
|
2527
2527
|
e[e.PENDING = 0] = "PENDING";
|
|
2528
2528
|
const n = 1;
|
|
2529
2529
|
e[e.RESOLVED = n] = "RESOLVED";
|
|
2530
2530
|
const r = 2;
|
|
2531
2531
|
e[e.REJECTED = r] = "REJECTED";
|
|
2532
|
-
})(
|
|
2532
|
+
})(Ut || (Ut = {}));
|
|
2533
2533
|
class Kt {
|
|
2534
2534
|
constructor(t) {
|
|
2535
|
-
Kt.prototype.__init.call(this), Kt.prototype.__init2.call(this), Kt.prototype.__init3.call(this), Kt.prototype.__init4.call(this), this._state =
|
|
2535
|
+
Kt.prototype.__init.call(this), Kt.prototype.__init2.call(this), Kt.prototype.__init3.call(this), Kt.prototype.__init4.call(this), this._state = Ut.PENDING, this._handlers = [];
|
|
2536
2536
|
try {
|
|
2537
2537
|
t(this._resolve, this._reject);
|
|
2538
2538
|
} catch (n) {
|
|
@@ -2594,19 +2594,19 @@ class Kt {
|
|
|
2594
2594
|
/** JSDoc */
|
|
2595
2595
|
__init() {
|
|
2596
2596
|
this._resolve = (t) => {
|
|
2597
|
-
this._setResult(
|
|
2597
|
+
this._setResult(Ut.RESOLVED, t);
|
|
2598
2598
|
};
|
|
2599
2599
|
}
|
|
2600
2600
|
/** JSDoc */
|
|
2601
2601
|
__init2() {
|
|
2602
2602
|
this._reject = (t) => {
|
|
2603
|
-
this._setResult(
|
|
2603
|
+
this._setResult(Ut.REJECTED, t);
|
|
2604
2604
|
};
|
|
2605
2605
|
}
|
|
2606
2606
|
/** JSDoc */
|
|
2607
2607
|
__init3() {
|
|
2608
2608
|
this._setResult = (t, n) => {
|
|
2609
|
-
if (this._state ===
|
|
2609
|
+
if (this._state === Ut.PENDING) {
|
|
2610
2610
|
if (Ql(n)) {
|
|
2611
2611
|
n.then(this._resolve, this._reject);
|
|
2612
2612
|
return;
|
|
@@ -2618,11 +2618,11 @@ class Kt {
|
|
|
2618
2618
|
/** JSDoc */
|
|
2619
2619
|
__init4() {
|
|
2620
2620
|
this._executeHandlers = () => {
|
|
2621
|
-
if (this._state ===
|
|
2621
|
+
if (this._state === Ut.PENDING)
|
|
2622
2622
|
return;
|
|
2623
2623
|
const t = this._handlers.slice();
|
|
2624
2624
|
this._handlers = [], t.forEach((n) => {
|
|
2625
|
-
n[0] || (this._state ===
|
|
2625
|
+
n[0] || (this._state === Ut.RESOLVED && n[1](this._value), this._state === Ut.REJECTED && n[2](this._value), n[0] = !0);
|
|
2626
2626
|
});
|
|
2627
2627
|
};
|
|
2628
2628
|
}
|
|
@@ -3276,7 +3276,7 @@ function Fc() {
|
|
|
3276
3276
|
spanId: It().substring(16)
|
|
3277
3277
|
};
|
|
3278
3278
|
}
|
|
3279
|
-
const zb = "7.
|
|
3279
|
+
const zb = "7.112.1", _d = parseFloat(zb), Ob = 100;
|
|
3280
3280
|
class $d {
|
|
3281
3281
|
/** Is a {@link Layer}[] containing the client and scope */
|
|
3282
3282
|
/** Contains the last event id of a captured event. */
|
|
@@ -4309,7 +4309,7 @@ function M4(e) {
|
|
|
4309
4309
|
const { stackParser: n, attachStacktrace: r } = A0();
|
|
4310
4310
|
if (ot() !== e || o0())
|
|
4311
4311
|
return;
|
|
4312
|
-
const { msg: i, url: o, line: s, column: a, error: l } = t, u = l === void 0 &&
|
|
4312
|
+
const { msg: i, url: o, line: s, column: a, error: l } = t, u = l === void 0 && Zt(i) ? j4(i, o, s, a) : h0(
|
|
4313
4313
|
a0(n, l || i, void 0, r, !1),
|
|
4314
4314
|
o,
|
|
4315
4315
|
s,
|
|
@@ -4381,7 +4381,7 @@ function j4(e, t, n, r) {
|
|
|
4381
4381
|
}, t, n, r);
|
|
4382
4382
|
}
|
|
4383
4383
|
function h0(e, t, n, r) {
|
|
4384
|
-
const i = e.exception = e.exception || {}, o = i.values = i.values || [], s = o[0] = o[0] || {}, a = s.stacktrace = s.stacktrace || {}, l = a.frames = a.frames || [], u = isNaN(parseInt(r, 10)) ? void 0 : r, d = isNaN(parseInt(n, 10)) ? void 0 : n, g =
|
|
4384
|
+
const i = e.exception = e.exception || {}, o = i.values = i.values || [], s = o[0] = o[0] || {}, a = s.stacktrace = s.stacktrace || {}, l = a.frames = a.frames || [], u = isNaN(parseInt(r, 10)) ? void 0 : r, d = isNaN(parseInt(n, 10)) ? void 0 : n, g = Zt(t) && t.length > 0 ? t : yv();
|
|
4385
4385
|
return l.length === 0 && l.push({
|
|
4386
4386
|
colno: u,
|
|
4387
4387
|
filename: g,
|
|
@@ -9043,7 +9043,7 @@ const BI = (e) => {
|
|
|
9043
9043
|
return /* @__PURE__ */ c.jsxs("div", { className: "flex flex-col", children: [
|
|
9044
9044
|
e && /* @__PURE__ */ c.jsx(Te, { htmlFor: A, grey: !0, useLabelTag: !0, children: e }),
|
|
9045
9045
|
/* @__PURE__ */ c.jsx("div", { "data-testid": b, children: l ? v ? /* @__PURE__ */ c.jsx(OI, { ...x, defaultOptions: d, loadOptions: g }) : /* @__PURE__ */ c.jsx(y1, { ...x, defaultOptions: d, loadOptions: g }) : v ? /* @__PURE__ */ c.jsx(UI, { ...x, options: u }) : /* @__PURE__ */ c.jsx(b1, { ...x, options: u }) }),
|
|
9046
|
-
a && /* @__PURE__ */ c.jsx(
|
|
9046
|
+
a && /* @__PURE__ */ c.jsx(Gt, { color: n ? "red" : "", children: a })
|
|
9047
9047
|
] });
|
|
9048
9048
|
}, WI = ({ clearBg: e, ...t }) => /* @__PURE__ */ c.jsx(ir.DropdownIndicator, { ...t, children: /* @__PURE__ */ c.jsx("div", { className: `absolute top-[13px] block h-2 w-2 rotate-45 border-[1px] border-l-0 border-t-0 border-grey-900 content-[''] dark:border-grey-400 ${e ? "right-2" : "right-[14px]"} ` }) }), QI = (e) => /* @__PURE__ */ c.jsx(ir.ClearIndicator, { ...e, children: /* @__PURE__ */ c.jsx(pe, { className: "mr-2", name: "close", size: "xs" }) }), GI = ({ children: e, ...t }) => /* @__PURE__ */ c.jsxs(ir.Option, { ...t, children: [
|
|
9049
9049
|
/* @__PURE__ */ c.jsx("span", { "data-testid": "select-option", "data-value": t.data.value, children: e }),
|
|
@@ -9141,7 +9141,7 @@ const BI = (e) => {
|
|
|
9141
9141
|
}, L = /* @__PURE__ */ c.jsxs(c.Fragment, { children: [
|
|
9142
9142
|
t && /* @__PURE__ */ c.jsx(Te, { className: n ? "sr-only" : "", grey: !!(s || !i), htmlFor: y, useLabelTag: !0, children: t }),
|
|
9143
9143
|
/* @__PURE__ */ c.jsx("div", { className: I, "data-testid": A, children: e ? /* @__PURE__ */ c.jsx(y1, { ...k, ...M }) : /* @__PURE__ */ c.jsx(b1, { ...k, ...M }) }),
|
|
9144
|
-
u && /* @__PURE__ */ c.jsx(
|
|
9144
|
+
u && /* @__PURE__ */ c.jsx(Gt, { color: l ? "red" : "", children: u })
|
|
9145
9145
|
] });
|
|
9146
9146
|
return b ? L : t || u ? /* @__PURE__ */ c.jsx("div", { children: L }) : L;
|
|
9147
9147
|
}, VI = ({
|
|
@@ -9208,11 +9208,7 @@ const BI = (e) => {
|
|
|
9208
9208
|
}
|
|
9209
9209
|
),
|
|
9210
9210
|
t && /* @__PURE__ */ c.jsx(Te, { className: "order-1", htmlFor: b, useLabelTag: !0, children: t }),
|
|
9211
|
-
l && /* @__PURE__ */ c.jsx(
|
|
9212
|
-
i && /* @__PURE__ */ c.jsxs(Rt, { children: [
|
|
9213
|
-
"Max length is ",
|
|
9214
|
-
i
|
|
9215
|
-
] })
|
|
9211
|
+
l && /* @__PURE__ */ c.jsx(Gt, { className: "order-3", color: s ? "red" : "", children: l })
|
|
9216
9212
|
] });
|
|
9217
9213
|
}, hn = ({
|
|
9218
9214
|
size: e,
|
|
@@ -11247,7 +11243,7 @@ const fc = ({ image: e, label: t, labelColor: n, bgColor: r, size: i, className:
|
|
|
11247
11243
|
/* @__PURE__ */ c.jsx("div", { className: "flex flex-col", children: r }),
|
|
11248
11244
|
o && /* @__PURE__ */ c.jsxs("div", { className: "-mt-px", children: [
|
|
11249
11245
|
s && /* @__PURE__ */ c.jsx(on, {}),
|
|
11250
|
-
/* @__PURE__ */ c.jsx(
|
|
11246
|
+
/* @__PURE__ */ c.jsx(Gt, { children: o })
|
|
11251
11247
|
] })
|
|
11252
11248
|
] })
|
|
11253
11249
|
] });
|
|
@@ -11325,7 +11321,7 @@ const fc = ({ image: e, label: t, labelColor: n, bgColor: r, size: i, className:
|
|
|
11325
11321
|
/* @__PURE__ */ c.jsx("div", { className: h, "data-testid": "popover-content", style: p, children: t })
|
|
11326
11322
|
] }), ((i = g.current) == null ? void 0 : i.closest(".admin-x-base")) || document.body)
|
|
11327
11323
|
] });
|
|
11328
|
-
},
|
|
11324
|
+
}, Qt = ({ icon: e, children: t }) => /* @__PURE__ */ c.jsxs("div", { className: "my-10 flex flex-col items-center gap-1 text-sm text-grey-600", children: [
|
|
11329
11325
|
e && /* @__PURE__ */ c.jsx(pe, { className: "stroke-[1px]", colorClass: "text-grey-500", name: e, size: "lg" }),
|
|
11330
11326
|
t
|
|
11331
11327
|
] }), cx = ({ page: e, limit: t, total: n, prevPage: r, nextPage: i }) => {
|
|
@@ -14551,7 +14547,7 @@ const og = ({ isDragging: e, dragHandleAttributes: t, dragHandleListeners: n, dr
|
|
|
14551
14547
|
) }),
|
|
14552
14548
|
n && /* @__PURE__ */ c.jsxs(c.Fragment, { children: [
|
|
14553
14549
|
!i && /* @__PURE__ */ c.jsx(on, {}),
|
|
14554
|
-
/* @__PURE__ */ c.jsx(
|
|
14550
|
+
/* @__PURE__ */ c.jsx(Gt, { children: n })
|
|
14555
14551
|
] })
|
|
14556
14552
|
] }) : /* @__PURE__ */ c.jsx(c.Fragment, {});
|
|
14557
14553
|
}, sw = "hover:bg-gradient-to-r hover:from-white hover:to-grey-50 dark:hover:from-black dark:hover:to-grey-950", Vo = Nt(function({ id: t, action: n, hideActions: r, className: i, style: o, testId: s, separator: a, bgOnHover: l = !0, onClick: u, children: d }, g) {
|
|
@@ -14796,7 +14792,7 @@ const og = ({ isDragging: e, dragHandleAttributes: t, dragHandleListeners: n, dr
|
|
|
14796
14792
|
(i || a) && /* @__PURE__ */ c.jsx(on, {}),
|
|
14797
14793
|
/* @__PURE__ */ c.jsxs("div", { className: "mt-1 flex flex-col-reverse items-start justify-between gap-1 pt-2 md:flex-row md:items-center md:gap-0 md:pt-0", children: [
|
|
14798
14794
|
/* @__PURE__ */ c.jsx(dw, { showMore: l }),
|
|
14799
|
-
/* @__PURE__ */ c.jsx(
|
|
14795
|
+
/* @__PURE__ */ c.jsx(Gt, { children: r ?? " " }),
|
|
14800
14796
|
/* @__PURE__ */ c.jsx(uw, { pagination: a })
|
|
14801
14797
|
] })
|
|
14802
14798
|
] })
|
|
@@ -18009,7 +18005,7 @@ const uD = (e) => /* @__PURE__ */ f("svg", { width: 256, height: 256, viewBox: "
|
|
|
18009
18005
|
}
|
|
18010
18006
|
}
|
|
18011
18007
|
)
|
|
18012
|
-
) }) : /* @__PURE__ */ c.jsx(
|
|
18008
|
+
) }) : /* @__PURE__ */ c.jsx(Qt, { icon: "integration", children: "No custom integration." });
|
|
18013
18009
|
}, MD = ({ keywords: e }) => {
|
|
18014
18010
|
const [t, n] = S("built-in"), { data: { integrations: r } = { integrations: [] } } = gD(), { updateRoute: i } = te(), o = [
|
|
18015
18011
|
{
|
|
@@ -18097,7 +18093,7 @@ const uD = (e) => /* @__PURE__ */ f("svg", { width: 256, height: 256, viewBox: "
|
|
|
18097
18093
|
] }),
|
|
18098
18094
|
flag: "websockets"
|
|
18099
18095
|
}, {
|
|
18100
|
-
title: "Stripe Automatic Tax",
|
|
18096
|
+
title: "Stripe Automatic Tax (private beta)",
|
|
18101
18097
|
description: "Use Stripe Automatic Tax at Stripe Checkout. Needs to be enabled in Stripe",
|
|
18102
18098
|
flag: "stripeAutomaticTax"
|
|
18103
18099
|
}, {
|
|
@@ -18141,7 +18137,7 @@ const uD = (e) => /* @__PURE__ */ f("svg", { width: 256, height: 256, viewBox: "
|
|
|
18141
18137
|
description: "Enables features to help combat spam member signups",
|
|
18142
18138
|
flag: "membersSpamPrevention"
|
|
18143
18139
|
}, {
|
|
18144
|
-
title: "Internal Linking",
|
|
18140
|
+
title: "Internal Linking (private beta)",
|
|
18145
18141
|
description: "Adds internal URL search to editor link inputs",
|
|
18146
18142
|
flag: "internalLinking"
|
|
18147
18143
|
}, {
|
|
@@ -18821,7 +18817,7 @@ const FD = ({ keywords: e }) => {
|
|
|
18821
18817
|
wrapper: Gn,
|
|
18822
18818
|
onMove: (i, o) => r == null ? void 0 : r(i, o)
|
|
18823
18819
|
}
|
|
18824
|
-
) : e.length ? /* @__PURE__ */ c.jsx(Gn, { children: e.map((i) => /* @__PURE__ */ c.jsx(td, { id: i.id, children: /* @__PURE__ */ c.jsx(nd, { newsletter: i }) })) }) : /* @__PURE__ */ c.jsx(
|
|
18820
|
+
) : e.length ? /* @__PURE__ */ c.jsx(Gn, { children: e.map((i) => /* @__PURE__ */ c.jsx(td, { id: i.id, children: /* @__PURE__ */ c.jsx(nd, { newsletter: i }) })) }) : /* @__PURE__ */ c.jsx(Qt, { icon: "mail-block", children: "No newsletters found." }), Hg = () => {
|
|
18825
18821
|
const [e, t] = S(new URLSearchParams());
|
|
18826
18822
|
return E(() => {
|
|
18827
18823
|
const r = () => {
|
|
@@ -18980,8 +18976,8 @@ const FD = ({ keywords: e }) => {
|
|
|
18980
18976
|
onOk: (L) => L == null ? void 0 : L.remove()
|
|
18981
18977
|
});
|
|
18982
18978
|
} catch (I) {
|
|
18983
|
-
let N = "There was an error verifying your email address.
|
|
18984
|
-
I instanceof ft && I.message === "Token expired" && (N = "
|
|
18979
|
+
let N = "There was an error verifying your email address. Try again later.";
|
|
18980
|
+
I instanceof ft && I.message === "Token expired" && (N = "Verification link has expired."), Ve.show(jn, {
|
|
18985
18981
|
title: "Error verifying email address",
|
|
18986
18982
|
prompt: N,
|
|
18987
18983
|
okLabel: "Close",
|
|
@@ -19087,7 +19083,8 @@ const FD = ({ keywords: e }) => {
|
|
|
19087
19083
|
const N = co(await u({ file: I }));
|
|
19088
19084
|
a("og_image", N);
|
|
19089
19085
|
} catch (N) {
|
|
19090
|
-
|
|
19086
|
+
const D = N;
|
|
19087
|
+
D.response.status === 415 && (D.message = "Unsupported file type"), d(D);
|
|
19091
19088
|
}
|
|
19092
19089
|
}, j = () => {
|
|
19093
19090
|
a("og_image", "");
|
|
@@ -19130,6 +19127,7 @@ const FD = ({ keywords: e }) => {
|
|
|
19130
19127
|
Be,
|
|
19131
19128
|
{
|
|
19132
19129
|
inputRef: i,
|
|
19130
|
+
maxLength: 300,
|
|
19133
19131
|
placeholder: b,
|
|
19134
19132
|
title: "Facebook title",
|
|
19135
19133
|
value: m,
|
|
@@ -19139,6 +19137,7 @@ const FD = ({ keywords: e }) => {
|
|
|
19139
19137
|
/* @__PURE__ */ c.jsx(
|
|
19140
19138
|
Be,
|
|
19141
19139
|
{
|
|
19140
|
+
maxLength: 300,
|
|
19142
19141
|
placeholder: h,
|
|
19143
19142
|
title: "Facebook description",
|
|
19144
19143
|
value: p,
|
|
@@ -19181,7 +19180,7 @@ const FD = ({ keywords: e }) => {
|
|
|
19181
19180
|
clearError: d
|
|
19182
19181
|
} = Je({
|
|
19183
19182
|
onValidate: () => g && !m ? {
|
|
19184
|
-
password: "
|
|
19183
|
+
password: "Enter a password"
|
|
19185
19184
|
} : {}
|
|
19186
19185
|
}), [g, m, p] = we(n, ["is_private", "password", "public_hash"]), v = (j) => {
|
|
19187
19186
|
a("is_private", j.target.checked);
|
|
@@ -19203,7 +19202,7 @@ const FD = ({ keywords: e }) => {
|
|
|
19203
19202
|
] }),
|
|
19204
19203
|
A && /* @__PURE__ */ c.jsxs("div", { className: "mt-7 w-full", children: [
|
|
19205
19204
|
/* @__PURE__ */ c.jsx(on, {}),
|
|
19206
|
-
/* @__PURE__ */ c.jsx(
|
|
19205
|
+
/* @__PURE__ */ c.jsx(Gt, { children: A })
|
|
19207
19206
|
] })
|
|
19208
19207
|
] }) : /* @__PURE__ */ c.jsxs("div", { className: "flex items-center gap-1 text-grey-900 dark:text-grey-400", children: [
|
|
19209
19208
|
/* @__PURE__ */ c.jsx(pe, { colorClass: "text-black dark:text-white", name: "lock-unlocked", size: "sm" }),
|
|
@@ -19301,6 +19300,7 @@ const FD = ({ keywords: e }) => {
|
|
|
19301
19300
|
{
|
|
19302
19301
|
hint: "Recommended: 70 characters",
|
|
19303
19302
|
inputRef: o,
|
|
19303
|
+
maxLength: 300,
|
|
19304
19304
|
placeholder: m,
|
|
19305
19305
|
title: "Meta title",
|
|
19306
19306
|
value: d,
|
|
@@ -19311,6 +19311,7 @@ const FD = ({ keywords: e }) => {
|
|
|
19311
19311
|
Be,
|
|
19312
19312
|
{
|
|
19313
19313
|
hint: "Recommended: 156 characters",
|
|
19314
|
+
maxLength: 500,
|
|
19314
19315
|
placeholder: p,
|
|
19315
19316
|
title: "Meta description",
|
|
19316
19317
|
value: g,
|
|
@@ -19897,6 +19898,7 @@ const mC = (e) => `https://www.facebook.com/${e}`, hC = (e) => `https://twitter.
|
|
|
19897
19898
|
{
|
|
19898
19899
|
hint: "The name of your site",
|
|
19899
19900
|
inputRef: i,
|
|
19901
|
+
maxLength: 150,
|
|
19900
19902
|
placeholder: "Site title",
|
|
19901
19903
|
title: "Site title",
|
|
19902
19904
|
value: u,
|
|
@@ -19907,6 +19909,7 @@ const mC = (e) => `https://www.facebook.com/${e}`, hC = (e) => `https://twitter.
|
|
|
19907
19909
|
Be,
|
|
19908
19910
|
{
|
|
19909
19911
|
hint: "A short description, used in your theme, meta data and search results",
|
|
19912
|
+
maxLength: 200,
|
|
19910
19913
|
placeholder: "Site description",
|
|
19911
19914
|
title: "Site description",
|
|
19912
19915
|
value: d,
|
|
@@ -19955,7 +19958,8 @@ const mC = (e) => `https://www.facebook.com/${e}`, hC = (e) => `https://twitter.
|
|
|
19955
19958
|
const N = co(await d({ file: I }));
|
|
19956
19959
|
a("twitter_image", N);
|
|
19957
19960
|
} catch (N) {
|
|
19958
|
-
|
|
19961
|
+
const D = N;
|
|
19962
|
+
D.response.status === 415 && (D.message = "Unsupported file type"), u(D);
|
|
19959
19963
|
}
|
|
19960
19964
|
}, j = () => {
|
|
19961
19965
|
a("twitter_image", "");
|
|
@@ -19996,6 +20000,7 @@ const mC = (e) => `https://www.facebook.com/${e}`, hC = (e) => `https://twitter.
|
|
|
19996
20000
|
Be,
|
|
19997
20001
|
{
|
|
19998
20002
|
inputRef: i,
|
|
20003
|
+
maxLength: 300,
|
|
19999
20004
|
placeholder: b,
|
|
20000
20005
|
title: "X title",
|
|
20001
20006
|
value: m,
|
|
@@ -20005,6 +20010,7 @@ const mC = (e) => `https://www.facebook.com/${e}`, hC = (e) => `https://twitter.
|
|
|
20005
20010
|
/* @__PURE__ */ c.jsx(
|
|
20006
20011
|
Be,
|
|
20007
20012
|
{
|
|
20013
|
+
maxLength: 300,
|
|
20008
20014
|
placeholder: h,
|
|
20009
20015
|
title: "X description",
|
|
20010
20016
|
value: p,
|
|
@@ -20213,7 +20219,7 @@ const OC = () => {
|
|
|
20213
20219
|
const { updateRoute: n } = te(), { currentUser: r } = Ce(), i = (o) => {
|
|
20214
20220
|
n({ route: `staff/${o.slug}` });
|
|
20215
20221
|
};
|
|
20216
|
-
return !e || !e.length ? /* @__PURE__ */ c.jsxs(
|
|
20222
|
+
return !e || !e.length ? /* @__PURE__ */ c.jsxs(Qt, { icon: "single-user-block", children: [
|
|
20217
20223
|
"No ",
|
|
20218
20224
|
t,
|
|
20219
20225
|
" found."
|
|
@@ -20290,7 +20296,7 @@ const OC = () => {
|
|
|
20290
20296
|
}
|
|
20291
20297
|
)
|
|
20292
20298
|
] });
|
|
20293
|
-
}, BC = ({ users: e }) => !e || !e.length ? /* @__PURE__ */ c.jsx(
|
|
20299
|
+
}, BC = ({ users: e }) => !e || !e.length ? /* @__PURE__ */ c.jsx(Qt, { icon: "single-user-block", children: "No invitations found." }) : /* @__PURE__ */ c.jsx(ar, { children: e.map((t) => /* @__PURE__ */ c.jsx(
|
|
20294
20300
|
Bo,
|
|
20295
20301
|
{
|
|
20296
20302
|
action: /* @__PURE__ */ c.jsx(UC, { invite: t }),
|
|
@@ -20876,8 +20882,8 @@ const es = "OffersResponseType", Yg = Ct({
|
|
|
20876
20882
|
) })
|
|
20877
20883
|
] })
|
|
20878
20884
|
] }),
|
|
20879
|
-
g === "active" && o.length === 0 && !r ? /* @__PURE__ */ c.jsx(
|
|
20880
|
-
g === "archived" && s.length === 0 && !r ? /* @__PURE__ */ c.jsx(
|
|
20885
|
+
g === "active" && o.length === 0 && !r ? /* @__PURE__ */ c.jsx(Qt, { icon: "tags-block", children: "No offers found." }) : null,
|
|
20886
|
+
g === "archived" && s.length === 0 && !r ? /* @__PURE__ */ c.jsx(Qt, { icon: "tags-block", children: "No offers found." }) : null,
|
|
20881
20887
|
M
|
|
20882
20888
|
] })
|
|
20883
20889
|
}
|
|
@@ -21005,7 +21011,7 @@ const es = "OffersResponseType", Yg = Ct({
|
|
|
21005
21011
|
/* @__PURE__ */ c.jsx(bt, { className: "hidden w-[1%] whitespace-nowrap align-middle md:!visible md:!table-cell", onClick: o, children: r === 0 ? null : /* @__PURE__ */ c.jsx("div", { className: "-mt-px text-left", children: /* @__PURE__ */ c.jsx("span", { className: "-mb-px inline-block min-w-[60px] whitespace-nowrap text-left text-sm lowercase text-grey-700", children: s }) }) }),
|
|
21006
21012
|
e.recommending_back && /* @__PURE__ */ c.jsx(bt, { className: "w-[1%] whitespace-nowrap group-hover/table-row:visible md:invisible", children: /* @__PURE__ */ c.jsx("div", { className: "mt-1 whitespace-nowrap text-right text-sm text-grey-700", children: "Recommending" }) })
|
|
21007
21013
|
] });
|
|
21008
|
-
}, tS = ({ incomingRecommendations: e, stats: t, pagination: n, showMore: r, isLoading: i }) => i || e.length ? /* @__PURE__ */ c.jsx(Gn, { isLoading: i, pagination: n, showMore: r, hintSeparator: !0, children: e.map((o) => /* @__PURE__ */ c.jsx(eS, { incomingRecommendation: o, stats: t }, o.id)) }) : /* @__PURE__ */ c.jsx(
|
|
21014
|
+
}, tS = ({ incomingRecommendations: e, stats: t, pagination: n, showMore: r, isLoading: i }) => i || e.length ? /* @__PURE__ */ c.jsx(Gn, { isLoading: i, pagination: n, showMore: r, hintSeparator: !0, children: e.map((o) => /* @__PURE__ */ c.jsx(eS, { incomingRecommendation: o, stats: t }, o.id)) }) : /* @__PURE__ */ c.jsx(Qt, { children: /* @__PURE__ */ c.jsx("span", { className: "max-w-[40ch] text-center", children: "No one’s recommended you yet. Once they do, you’ll find them here along with how many memberships they’ve driven." }) }), ud = function(e, t, n) {
|
|
21009
21015
|
const r = { ...e };
|
|
21010
21016
|
switch (t) {
|
|
21011
21017
|
case "title":
|
|
@@ -21045,7 +21051,7 @@ const es = "OffersResponseType", Yg = Ct({
|
|
|
21045
21051
|
] }),
|
|
21046
21052
|
t.one_click_subscribe && /* @__PURE__ */ c.jsx("span", { className: "flex whitespace-nowrap pl-6 text-md font-semibold text-green", children: "Subscribe" })
|
|
21047
21053
|
] }) }) }) }),
|
|
21048
|
-
t.one_click_subscribe && /* @__PURE__ */ c.jsx(
|
|
21054
|
+
t.one_click_subscribe && /* @__PURE__ */ c.jsx(Gt, { children: "This is a Ghost site, so your readers can subscribe with just one click" })
|
|
21049
21055
|
] }),
|
|
21050
21056
|
e && /* @__PURE__ */ c.jsx(
|
|
21051
21057
|
ex,
|
|
@@ -21065,6 +21071,7 @@ const es = "OffersResponseType", Yg = Ct({
|
|
|
21065
21071
|
autoFocus: !0,
|
|
21066
21072
|
error: !!r.title,
|
|
21067
21073
|
hint: r.title,
|
|
21074
|
+
maxLength: 2e3,
|
|
21068
21075
|
title: "Title",
|
|
21069
21076
|
value: t.title ?? "",
|
|
21070
21077
|
onChange: (g) => {
|
|
@@ -21265,7 +21272,7 @@ const es = "OffersResponseType", Yg = Ct({
|
|
|
21265
21272
|
hintSeparator: !0,
|
|
21266
21273
|
children: e && e.map((g) => /* @__PURE__ */ c.jsx(cS, { recommendation: g }, g.id))
|
|
21267
21274
|
}
|
|
21268
|
-
) : /* @__PURE__ */ c.jsxs(
|
|
21275
|
+
) : /* @__PURE__ */ c.jsxs(Qt, { children: [
|
|
21269
21276
|
/* @__PURE__ */ c.jsx(Y, { color: "grey", label: "Add first recommendation", size: "sm", onClick: () => {
|
|
21270
21277
|
a();
|
|
21271
21278
|
} }),
|
|
@@ -21850,7 +21857,7 @@ const es = "OffersResponseType", Yg = Ct({
|
|
|
21850
21857
|
/* @__PURE__ */ c.jsx("div", { className: "translate-y-[15px] transition-all group-hover:translate-y-0", children: /* @__PURE__ */ c.jsx(pe, { colorClass: "text-green", name: "add" }) }),
|
|
21851
21858
|
/* @__PURE__ */ c.jsx("div", { className: "mt-2 translate-y-[-10px] text-sm font-semibold text-green opacity-0 transition-all group-hover:translate-y-0 group-hover:opacity-100", children: "Add tier" })
|
|
21852
21859
|
] }) }) })
|
|
21853
|
-
] }) : /* @__PURE__ */ c.jsxs(
|
|
21860
|
+
] }) : /* @__PURE__ */ c.jsxs(Qt, { icon: "money-bags", children: [
|
|
21854
21861
|
"No ",
|
|
21855
21862
|
e === "active-tiers" ? "active" : "archived",
|
|
21856
21863
|
" tiers found."
|
|
@@ -21955,14 +21962,14 @@ const es = "OffersResponseType", Yg = Ct({
|
|
|
21955
21962
|
title: "Navigation"
|
|
21956
21963
|
}
|
|
21957
21964
|
);
|
|
21958
|
-
}, RS = de(OS, "Navigation"),
|
|
21965
|
+
}, RS = de(OS, "Navigation"), Bt = {
|
|
21959
21966
|
design: ["site", "logo", "cover", "colors", "fonts", "background", "themes", "appearance", "style", "design & branding", "design and branding"],
|
|
21960
21967
|
navigation: ["site", "navigation", "menus", "primary", "secondary", "links"],
|
|
21961
21968
|
announcementBar: ["site", "announcement bar", "important", "banner"]
|
|
21962
|
-
}, US = () => /* @__PURE__ */ c.jsx(c.Fragment, { children: /* @__PURE__ */ c.jsxs(pr, { keywords: Object.values(
|
|
21963
|
-
/* @__PURE__ */ c.jsx(zS, { keywords:
|
|
21964
|
-
/* @__PURE__ */ c.jsx(RS, { keywords:
|
|
21965
|
-
/* @__PURE__ */ c.jsx(TS, { keywords:
|
|
21969
|
+
}, US = () => /* @__PURE__ */ c.jsx(c.Fragment, { children: /* @__PURE__ */ c.jsxs(pr, { keywords: Object.values(Bt).flat(), title: "Site", children: [
|
|
21970
|
+
/* @__PURE__ */ c.jsx(zS, { keywords: Bt.design }),
|
|
21971
|
+
/* @__PURE__ */ c.jsx(RS, { keywords: Bt.navigation }),
|
|
21972
|
+
/* @__PURE__ */ c.jsx(TS, { keywords: Bt.announcementBar })
|
|
21966
21973
|
] }) }), BS = () => /* @__PURE__ */ c.jsx(c.Fragment, { children: /* @__PURE__ */ c.jsxs("div", { className: "mb-[40vh] px-8 pt-16 tablet:max-w-[760px] tablet:px-14 tablet:pt-0", children: [
|
|
21967
21974
|
/* @__PURE__ */ c.jsx(ZC, {}),
|
|
21968
21975
|
/* @__PURE__ */ c.jsx(US, {}),
|
|
@@ -21995,7 +22002,7 @@ const es = "OffersResponseType", Yg = Ct({
|
|
|
21995
22002
|
}), E(() => {
|
|
21996
22003
|
s.current && s.current.focus();
|
|
21997
22004
|
}, []), E(() => {
|
|
21998
|
-
!n(Object.values(Ne).flat()) && !n(Object.values(
|
|
22005
|
+
!n(Object.values(Ne).flat()) && !n(Object.values(Bt).flat()) && !n(Object.values(At).flat()) && !n(Object.values(ht).flat()) && !n(Object.values(mt).flat()) && !n(Object.values(et).flat()) ? i(!0) : i(!1);
|
|
21999
22006
|
}, [n, i, e]), E(() => {
|
|
22000
22007
|
var M;
|
|
22001
22008
|
const A = (y) => {
|
|
@@ -22058,10 +22065,10 @@ const es = "OffersResponseType", Yg = Ct({
|
|
|
22058
22065
|
/* @__PURE__ */ c.jsx(le, { icon: "lock-locked", keywords: Ne.lockSite, navid: "locksite", title: "Make this site private", onClick: m }),
|
|
22059
22066
|
/* @__PURE__ */ c.jsx(le, { icon: "user-page", keywords: Ne.users, navid: "staff", title: "Staff", onClick: m })
|
|
22060
22067
|
] }),
|
|
22061
|
-
/* @__PURE__ */ c.jsxs(zn, { isVisible: n(Object.values(
|
|
22062
|
-
/* @__PURE__ */ c.jsx(le, { icon: "palette", keywords:
|
|
22063
|
-
/* @__PURE__ */ c.jsx(le, { icon: "navigation", keywords:
|
|
22064
|
-
/* @__PURE__ */ c.jsx(le, { icon: "megaphone", keywords:
|
|
22068
|
+
/* @__PURE__ */ c.jsxs(zn, { isVisible: n(Object.values(Bt).flat()), title: "Site", children: [
|
|
22069
|
+
/* @__PURE__ */ c.jsx(le, { icon: "palette", keywords: Bt.design, navid: "design", title: "Design & branding", onClick: m }),
|
|
22070
|
+
/* @__PURE__ */ c.jsx(le, { icon: "navigation", keywords: Bt.navigation, navid: "navigation", title: "Navigation", onClick: m }),
|
|
22071
|
+
/* @__PURE__ */ c.jsx(le, { icon: "megaphone", keywords: Bt.announcementBar, navid: "announcement-bar", title: "Announcement bar", onClick: m })
|
|
22065
22072
|
] }),
|
|
22066
22073
|
/* @__PURE__ */ c.jsxs(zn, { isVisible: n(Object.values(At).flat()), title: "Membership", children: [
|
|
22067
22074
|
/* @__PURE__ */ c.jsx(le, { icon: "portal", keywords: At.portal, navid: "portal", title: "Portal settings", onClick: m }),
|
|
@@ -22157,7 +22164,7 @@ const es = "OffersResponseType", Yg = Ct({
|
|
|
22157
22164
|
"offers/edit/:id": "OffersContainerModal",
|
|
22158
22165
|
"offers/new": "OffersContainerModal",
|
|
22159
22166
|
about: "AboutModal"
|
|
22160
|
-
}, GS = () => import("./modals-
|
|
22167
|
+
}, GS = () => import("./modals-5264a854.mjs"), VS = () => {
|
|
22161
22168
|
const { updateNavigatedSection: e, scrollToSection: t } = Xo(), { route: n } = te();
|
|
22162
22169
|
return FN((r, i) => {
|
|
22163
22170
|
r === i && t(r.split("/")[0]);
|
|
@@ -22234,7 +22241,7 @@ export {
|
|
|
22234
22241
|
x1 as aT,
|
|
22235
22242
|
dD as aU,
|
|
22236
22243
|
_r as aV,
|
|
22237
|
-
|
|
22244
|
+
Qt as aW,
|
|
22238
22245
|
fc as aX,
|
|
22239
22246
|
Dc as aY,
|
|
22240
22247
|
Bg as aZ,
|
|
@@ -22330,7 +22337,7 @@ export {
|
|
|
22330
22337
|
cd as bx,
|
|
22331
22338
|
cv as by,
|
|
22332
22339
|
I7 as bz,
|
|
22333
|
-
|
|
22340
|
+
Gt as c,
|
|
22334
22341
|
C as d,
|
|
22335
22342
|
F as e,
|
|
22336
22343
|
V as f,
|
|
@@ -22355,4 +22362,4 @@ export {
|
|
|
22355
22362
|
zf as y,
|
|
22356
22363
|
te as z
|
|
22357
22364
|
};
|
|
22358
|
-
//# sourceMappingURL=index-
|
|
22365
|
+
//# sourceMappingURL=index-957ece55.mjs.map
|