ghost 5.22.10 → 5.23.0
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/.c8rc.e2e.json +21 -0
- package/README.md +0 -2
- package/components/tryghost-adapter-manager-5.23.0.tgz +0 -0
- package/components/tryghost-api-framework-5.23.0.tgz +0 -0
- package/components/tryghost-api-version-compatibility-service-5.23.0.tgz +0 -0
- package/components/{tryghost-audience-feedback-5.22.10.tgz → tryghost-audience-feedback-5.23.0.tgz} +0 -0
- package/components/tryghost-bootstrap-socket-5.23.0.tgz +0 -0
- package/components/tryghost-constants-5.23.0.tgz +0 -0
- package/components/tryghost-custom-theme-settings-service-5.23.0.tgz +0 -0
- package/components/tryghost-data-generator-5.23.0.tgz +0 -0
- package/components/tryghost-domain-events-5.23.0.tgz +0 -0
- package/components/tryghost-email-analytics-provider-mailgun-5.23.0.tgz +0 -0
- package/components/tryghost-email-analytics-service-5.23.0.tgz +0 -0
- package/components/tryghost-email-content-generator-5.23.0.tgz +0 -0
- package/components/tryghost-email-suppression-list-5.23.0.tgz +0 -0
- package/components/tryghost-express-dynamic-redirects-5.23.0.tgz +0 -0
- package/components/tryghost-extract-api-key-5.23.0.tgz +0 -0
- package/components/tryghost-html-to-plaintext-5.23.0.tgz +0 -0
- package/components/{tryghost-job-manager-5.22.10.tgz → tryghost-job-manager-5.23.0.tgz} +0 -0
- package/components/tryghost-link-redirects-5.23.0.tgz +0 -0
- package/components/tryghost-link-replacer-5.23.0.tgz +0 -0
- package/components/tryghost-link-tracking-5.23.0.tgz +0 -0
- package/components/{tryghost-magic-link-5.22.10.tgz → tryghost-magic-link-5.23.0.tgz} +0 -0
- package/components/tryghost-mailgun-client-5.23.0.tgz +0 -0
- package/components/{tryghost-member-attribution-5.22.10.tgz → tryghost-member-attribution-5.23.0.tgz} +0 -0
- package/components/tryghost-member-events-5.23.0.tgz +0 -0
- package/components/tryghost-members-api-5.23.0.tgz +0 -0
- package/components/tryghost-members-csv-5.23.0.tgz +0 -0
- package/components/tryghost-members-events-service-5.23.0.tgz +0 -0
- package/components/tryghost-members-importer-5.23.0.tgz +0 -0
- package/components/{tryghost-members-offers-5.22.10.tgz → tryghost-members-offers-5.23.0.tgz} +0 -0
- package/components/tryghost-members-payments-5.23.0.tgz +0 -0
- package/components/tryghost-members-ssr-5.23.0.tgz +0 -0
- package/components/tryghost-members-stripe-service-5.23.0.tgz +0 -0
- package/components/tryghost-minifier-5.23.0.tgz +0 -0
- package/components/tryghost-mw-api-version-mismatch-5.23.0.tgz +0 -0
- package/components/tryghost-mw-cache-control-5.23.0.tgz +0 -0
- package/components/{tryghost-mw-error-handler-5.22.10.tgz → tryghost-mw-error-handler-5.23.0.tgz} +0 -0
- package/components/tryghost-mw-session-from-token-5.23.0.tgz +0 -0
- package/components/tryghost-mw-update-user-last-seen-5.23.0.tgz +0 -0
- package/components/tryghost-mw-vhost-5.23.0.tgz +0 -0
- package/components/tryghost-oembed-service-5.23.0.tgz +0 -0
- package/components/tryghost-package-json-5.23.0.tgz +0 -0
- package/components/tryghost-referrers-5.23.0.tgz +0 -0
- package/components/tryghost-security-5.23.0.tgz +0 -0
- package/components/tryghost-session-service-5.23.0.tgz +0 -0
- package/components/tryghost-settings-path-manager-5.23.0.tgz +0 -0
- package/components/{tryghost-staff-service-5.22.10.tgz → tryghost-staff-service-5.23.0.tgz} +0 -0
- package/components/{tryghost-stats-service-5.22.10.tgz → tryghost-stats-service-5.23.0.tgz} +0 -0
- package/components/{tryghost-tiers-5.22.10.tgz → tryghost-tiers-5.23.0.tgz} +0 -0
- package/components/tryghost-update-check-service-5.23.0.tgz +0 -0
- package/components/tryghost-verification-trigger-5.23.0.tgz +0 -0
- package/components/tryghost-version-notifications-data-service-5.23.0.tgz +0 -0
- 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 +3 -5
- package/content/themes/casper/default.hbs +2 -2
- package/content/themes/casper/package.json +1 -1
- package/core/boot.js +3 -1
- package/core/built/admin/assets/{chunk.143.efc32dbcc893663c95cb.js → chunk.143.3dccaccd501e94a38af6.js} +5 -5
- package/core/built/admin/assets/{chunk.178.95a503a229a8fd49e91e.js → chunk.178.f3466350ec3bacc7baa6.js} +4 -4
- package/core/built/admin/assets/{ghost-b204dcc6ad523053868da9b2d8d65f80.js → ghost-64c5f32d4052347eed1ae73909b526ef.js} +1240 -1202
- package/core/built/admin/assets/ghost-bbf3150c788d19852f14fc518b8ebb93.css +1 -0
- package/core/built/admin/assets/ghost-dark-681daaaef962911f5bcfdd51d7b4efdd.css +1 -0
- package/core/built/admin/assets/{vendor-dc9f883b3468ff84794cf13741e6c4b4.js → vendor-45c4a02c5360deeb66a0438a8bc7c18e.js} +42 -38
- package/core/built/admin/index.html +5 -5
- package/core/frontend/apps/amp/lib/helpers/amp_content.js +1 -1
- package/core/frontend/apps/amp/lib/views/amp.hbs +10 -0
- package/core/frontend/helpers/ghost_head.js +1 -7
- package/core/server/api/endpoints/db.js +17 -11
- package/core/server/api/endpoints/posts.js +4 -1
- package/core/server/api/endpoints/utils/serializers/input/posts.js +4 -11
- package/core/server/api/endpoints/utils/serializers/output/db.js +3 -7
- package/core/server/api/endpoints/utils/serializers/output/members.js +5 -0
- package/core/server/data/importer/email-template.js +163 -0
- package/core/server/data/importer/import-manager.js +115 -35
- package/core/server/data/importer/importers/data/base.js +1 -0
- package/core/server/data/importer/importers/data/data-importer.js +27 -1
- package/core/server/data/schema/default-settings/default-settings.json +1 -1
- package/core/server/models/base/plugins/bulk-operations.js +0 -1
- package/core/server/models/comment.js +1 -1
- package/core/server/models/member-newsletter.js +9 -0
- package/core/server/models/member.js +1 -9
- package/core/server/models/stripe-customer-subscription.js +3 -7
- package/core/server/services/bulk-email/bulk-email-processor.js +14 -23
- package/core/server/services/email-suppression-list/index.js +1 -0
- package/core/server/services/email-suppression-list/service.js +32 -0
- package/core/server/services/mega/mega.js +50 -5
- package/core/server/services/mega/segment-parser.js +1 -3
- package/core/server/services/members/api.js +4 -2
- package/core/server/services/members/middleware.js +1 -1
- package/core/server/services/members/service.js +35 -28
- package/core/server/web/members/app.js +0 -1
- package/core/shared/config/defaults.json +1 -1
- package/core/shared/labs.js +3 -7
- package/package.json +103 -101
- package/playwright.config.js +15 -0
- package/yarn.lock +75 -130
- package/components/tryghost-adapter-manager-5.22.10.tgz +0 -0
- package/components/tryghost-api-framework-5.22.10.tgz +0 -0
- package/components/tryghost-api-version-compatibility-service-5.22.10.tgz +0 -0
- package/components/tryghost-bootstrap-socket-5.22.10.tgz +0 -0
- package/components/tryghost-constants-5.22.10.tgz +0 -0
- package/components/tryghost-custom-theme-settings-service-5.22.10.tgz +0 -0
- package/components/tryghost-data-generator-5.22.10.tgz +0 -0
- package/components/tryghost-domain-events-5.22.10.tgz +0 -0
- package/components/tryghost-email-analytics-provider-mailgun-5.22.10.tgz +0 -0
- package/components/tryghost-email-analytics-service-5.22.10.tgz +0 -0
- package/components/tryghost-email-content-generator-5.22.10.tgz +0 -0
- package/components/tryghost-express-dynamic-redirects-5.22.10.tgz +0 -0
- package/components/tryghost-extract-api-key-5.22.10.tgz +0 -0
- package/components/tryghost-html-to-plaintext-5.22.10.tgz +0 -0
- package/components/tryghost-link-redirects-5.22.10.tgz +0 -0
- package/components/tryghost-link-replacer-5.22.10.tgz +0 -0
- package/components/tryghost-link-tracking-5.22.10.tgz +0 -0
- package/components/tryghost-mailgun-client-5.22.10.tgz +0 -0
- package/components/tryghost-member-analytics-service-5.22.10.tgz +0 -0
- package/components/tryghost-member-events-5.22.10.tgz +0 -0
- package/components/tryghost-members-analytics-ingress-5.22.10.tgz +0 -0
- package/components/tryghost-members-api-5.22.10.tgz +0 -0
- package/components/tryghost-members-csv-5.22.10.tgz +0 -0
- package/components/tryghost-members-events-service-5.22.10.tgz +0 -0
- package/components/tryghost-members-importer-5.22.10.tgz +0 -0
- package/components/tryghost-members-payments-5.22.10.tgz +0 -0
- package/components/tryghost-members-ssr-5.22.10.tgz +0 -0
- package/components/tryghost-members-stripe-service-5.22.10.tgz +0 -0
- package/components/tryghost-minifier-5.22.10.tgz +0 -0
- package/components/tryghost-mw-api-version-mismatch-5.22.10.tgz +0 -0
- package/components/tryghost-mw-cache-control-5.22.10.tgz +0 -0
- package/components/tryghost-mw-session-from-token-5.22.10.tgz +0 -0
- package/components/tryghost-mw-update-user-last-seen-5.22.10.tgz +0 -0
- package/components/tryghost-mw-vhost-5.22.10.tgz +0 -0
- package/components/tryghost-oembed-service-5.22.10.tgz +0 -0
- package/components/tryghost-package-json-5.22.10.tgz +0 -0
- package/components/tryghost-referrers-5.22.10.tgz +0 -0
- package/components/tryghost-security-5.22.10.tgz +0 -0
- package/components/tryghost-session-service-5.22.10.tgz +0 -0
- package/components/tryghost-settings-path-manager-5.22.10.tgz +0 -0
- package/components/tryghost-update-check-service-5.22.10.tgz +0 -0
- package/components/tryghost-verification-trigger-5.22.10.tgz +0 -0
- package/components/tryghost-version-notifications-data-service-5.22.10.tgz +0 -0
- package/core/built/admin/assets/ghost-03c7a25d23ad4d0725da171f8d7c7b2a.css +0 -1
- package/core/built/admin/assets/ghost-dark-8896a076fc06ec2b09343b1c9df7feca.css +0 -1
- package/core/server/models/member-analytic-event.js +0 -9
|
@@ -11006,7 +11006,11 @@ e.default={content:'<path d="M11.996 5C7.858 5 4.5 7.804 4.5 11.265c.02.876.234
|
|
|
11006
11006
|
Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
|
|
11007
11007
|
e.default={content:'<path d="M13.24 18.555l-2.397-2.387-2.574 1.33.1-3.815-3.014-3.014a1.21 1.21 0 01-.33-1.1 1.232 1.232 0 01.814-.945l11.8-3.937a1.232 1.232 0 011.584 1.583l-2.115 6.34m1.763-7.681L8.368 13.683" stroke="#6C747D" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/><path d="M15.348 14.059l4.895 4.895m-4.895-.001l4.895-4.895" stroke="#F50B23" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>',attrs:{viewBox:"0 0 24 24",fill:"none"}}})),define("ember-svg-jar/inlined/event-email-delivery-failed",["exports"],(function(e){"use strict"
|
|
11008
11008
|
Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
|
|
11009
|
-
e.default={content:'<path d="M13.24 18.555l-2.397-2.387-2.574 1.33.1-3.815-3.014-3.014a1.21 1.21 0 01-.33-1.1 1.232 1.232 0 01.814-.945l11.8-3.937a1.232 1.232 0 011.584 1.583l-2.115 6.34m1.763-7.681L8.368 13.683" stroke="#95A1AD" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/><path d="M15.348 14.059l4.895 4.895m-4.895-.001l4.895-4.895" stroke="#F50B23" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>',attrs:{viewBox:"0 0 24 24",fill:"none"}}})),define("ember-svg-jar/inlined/event-
|
|
11009
|
+
e.default={content:'<path d="M13.24 18.555l-2.397-2.387-2.574 1.33.1-3.815-3.014-3.014a1.21 1.21 0 01-.33-1.1 1.232 1.232 0 01.814-.945l11.8-3.937a1.232 1.232 0 011.584 1.583l-2.115 6.34m1.763-7.681L8.368 13.683" stroke="#95A1AD" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/><path d="M15.348 14.059l4.895 4.895m-4.895-.001l4.895-4.895" stroke="#F50B23" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>',attrs:{viewBox:"0 0 24 24",fill:"none"}}})),define("ember-svg-jar/inlined/event-email-delivery-spam--feature-attribution",["exports"],(function(e){"use strict"
|
|
11010
|
+
Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
|
|
11011
|
+
e.default={content:'<path d="M14.412 18.978a1.22 1.22 0 01-1.163-.332l-2.414-2.404-2.592 1.34.1-3.843-3.036-3.035a1.219 1.219 0 01-.332-1.108 1.24 1.24 0 01.82-.953L17.68 4.678a1.24 1.24 0 011.595 1.595l-1.307 3.919m.949-5.266L8.339 13.743" stroke="#6C747D" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/><path d="M17.634 13.35v2.869" stroke="#F50B23" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/><circle cx="17.639" cy="18.75" r=".75" fill="#F50B23"/>',attrs:{fill:"none",viewBox:"0 0 24 24"}}})),define("ember-svg-jar/inlined/event-email-delivery-spam",["exports"],(function(e){"use strict"
|
|
11012
|
+
Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
|
|
11013
|
+
e.default={content:'<path class="event-email-delivery-spam_svg__body" d="M14.412 18.978a1.22 1.22 0 01-1.163-.332l-2.414-2.404-2.592 1.34.1-3.843-3.036-3.035a1.219 1.219 0 01-.332-1.108 1.24 1.24 0 01.82-.953L17.68 4.678a1.24 1.24 0 011.595 1.595l-1.307 3.919m.949-5.266L8.339 13.743" stroke="#6C747D" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/><path d="M17.634 13.35v2.869" stroke="#F50B23" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/><circle cx="17.639" cy="18.75" r=".75" fill="#F50B23"/>',attrs:{fill:"none",viewBox:"0 0 24 24"}}})),define("ember-svg-jar/inlined/event-extras-source",["exports"],(function(e){"use strict"
|
|
11010
11014
|
Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
|
|
11011
11015
|
e.default={content:'<path d="M9.39 10.49l5.22 11.4a.68.68 0 001.22-.13l1.53-4.21L21.6 16a.69.69 0 00.12-1.26l-11.4-5.21a.71.71 0 00-.93.96v0zM16.5 7.834A7.113 7.113 0 107.834 16.5" stroke="#000" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>',attrs:{viewBox:"0 0 24 24",fill:"none"}}})),define("ember-svg-jar/inlined/event-less-like-this--feature-attribution",["exports"],(function(e){"use strict"
|
|
11012
11016
|
Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
|
|
@@ -11056,12 +11060,12 @@ e.default={content:'<path clip-rule="evenodd" d="M22.707 1.293a1 1 0 010 1.414l-
|
|
|
11056
11060
|
Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
|
|
11057
11061
|
e.default={content:'<path d="M13 5.001c-4.03-.078-8.2 3.157-10.82 6.47-.276.35-.428.805-.428 1.277 0 .472.152.928.427 1.278C4.743 17.27 8.9 20.578 13 20.5c4.1.079 8.258-3.23 10.824-6.473.275-.35.428-.806.428-1.278s-.153-.927-.428-1.278C21.2 8.158 17.031 4.923 13 5.001z" stroke="#000" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M16.75 12.751a3.75 3.75 0 11-7.5-.002 3.75 3.75 0 017.5.002z" stroke="#000" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>',attrs:{fill:"none",viewBox:"0 0 26 24"}}})),define("ember-svg-jar/inlined/facebook-heart",["exports"],(function(e){"use strict"
|
|
11058
11062
|
Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
|
|
11059
|
-
e.default={content:'<path d="M15 27c6.627 0 12-5.373 12-12S21.627 3 15 3 3 8.373 3 15s5.373 12 12 12z" fill="#FF4F67"/><path fill-rule="evenodd" clip-rule="evenodd" d="M30 15c0 8.284-6.716 15-15 15-8.284 0-15-6.716-15-15C0 6.716 6.716 0 15 0c8.284 0 15 6.716 15 15zm-3 0c0 6.627-5.373 12-12 12S3 21.627 3 15 8.373 3 15 3s12 5.373 12 12z" fill="#fff"/><path d="M14.5 11.441C15.434 9.811 16.375 9 18.25 9 20.317 9 22 11.49 22 13.28c0 3.252-4.484 6.777-7.5 8.72-2.713-1.678-7.5-5.468-7.5-8.72C7 11.49 8.684 9 10.75 9c1.875 0 2.809.811 3.75 2.441z" fill="#FEFEFE"/>',attrs:{fill:"none",viewBox:"0 0 30 30"}}}))
|
|
11063
|
+
e.default={content:'<path d="M15 27c6.627 0 12-5.373 12-12S21.627 3 15 3 3 8.373 3 15s5.373 12 12 12z" fill="#FF4F67"/><path fill-rule="evenodd" clip-rule="evenodd" d="M30 15c0 8.284-6.716 15-15 15-8.284 0-15-6.716-15-15C0 6.716 6.716 0 15 0c8.284 0 15 6.716 15 15zm-3 0c0 6.627-5.373 12-12 12S3 21.627 3 15 8.373 3 15 3s12 5.373 12 12z" fill="#fff"/><path d="M14.5 11.441C15.434 9.811 16.375 9 18.25 9 20.317 9 22 11.49 22 13.28c0 3.252-4.484 6.777-7.5 8.72-2.713-1.678-7.5-5.468-7.5-8.72C7 11.49 8.684 9 10.75 9c1.875 0 2.809.811 3.75 2.441z" fill="#FEFEFE"/>',attrs:{fill:"none",viewBox:"0 0 30 30"}}}))
|
|
11064
|
+
define("ember-svg-jar/inlined/facebook-like",["exports"],(function(e){"use strict"
|
|
11060
11065
|
Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
|
|
11061
11066
|
e.default={content:'<path d="M15 27c6.627 0 12-5.373 12-12S21.627 3 15 3 3 8.373 3 15s5.373 12 12 12z" fill="#5E92FF"/><path fill-rule="evenodd" clip-rule="evenodd" d="M30 15c0 8.284-6.716 15-15 15-8.284 0-15-6.716-15-15C0 6.716 6.716 0 15 0c8.284 0 15 6.716 15 15zm-3 0c0 6.627-5.373 12-12 12S3 21.627 3 15 8.373 3 15 3s12 5.373 12 12z" fill="#fff"/><path fill-rule="evenodd" clip-rule="evenodd" d="M9.246 14.078h2.13c.17 0 .304.135.304.305v6.13c0 .17-.134.304-.304.304h-2.13a.31.31 0 01-.313-.305v-6.13a.31.31 0 01.313-.304zm3.687 5.88h6.506a.869.869 0 00.867-.868.887.887 0 00-.554-.806h.16c.457 0 .833-.501.833-.957a.838.838 0 00-.832-.842h-.161v-.071h.465a.844.844 0 00.841-.832.846.846 0 00-.841-.841h-.465v-.072h.465a.844.844 0 00.841-.832.846.846 0 00-.841-.841h-3.642c-.027-.01-.027-.036 0-.09.045-.09.143-.268.295-.537.152-.268.34-.617.439-1.065.098-.447.09-.993.009-1.423-.072-.42-.224-.733-.412-.93a.954.954 0 00-.653-.296c-.233-.008-.475.054-.645.206-.17.161-.259.403-.304.716-.036.322-.009.716-.018.958-.018.241-.062.34-.214.456-.161.116-.421.268-.663.474a5.221 5.221 0 00-.698.797c-.376.483-1.315 1.7-1.315 2.219v4.94c0 .295.242.537.537.537z" fill="#FEFEFE"/>',attrs:{fill:"none",viewBox:"0 0 30 30"}}})),define("ember-svg-jar/inlined/feature-image",["exports"],(function(e){"use strict"
|
|
11062
11067
|
Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
|
|
11063
|
-
e.default={content:'<path d="M21.01 2.253h-18a1.5 1.5 0 00-1.5 1.5v16.5a1.5 1.5 0 001.5 1.5h18a1.5 1.5 0 001.5-1.5v-16.5a1.5 1.5 0 00-1.5-1.5zm-19.5 3.5h21" stroke-linecap="round" stroke-linejoin="round"/><path d="M5 18.5L8.5 14l2.5 2 3.8-4.5 4.2 7H5zm5.25-6.5a1.25 1.25 0 100-2.5 1.25 1.25 0 000 2.5z" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>',attrs:{fill:"none",viewBox:"0 0 24 24"}}}))
|
|
11064
|
-
define("ember-svg-jar/inlined/file-upload",["exports"],(function(e){"use strict"
|
|
11068
|
+
e.default={content:'<path d="M21.01 2.253h-18a1.5 1.5 0 00-1.5 1.5v16.5a1.5 1.5 0 001.5 1.5h18a1.5 1.5 0 001.5-1.5v-16.5a1.5 1.5 0 00-1.5-1.5zm-19.5 3.5h21" stroke-linecap="round" stroke-linejoin="round"/><path d="M5 18.5L8.5 14l2.5 2 3.8-4.5 4.2 7H5zm5.25-6.5a1.25 1.25 0 100-2.5 1.25 1.25 0 000 2.5z" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>',attrs:{fill:"none",viewBox:"0 0 24 24"}}})),define("ember-svg-jar/inlined/file-upload",["exports"],(function(e){"use strict"
|
|
11065
11069
|
Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
|
|
11066
11070
|
e.default={content:'<defs><style>.file-upload_svg__a{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.5px}</style></defs><path class="file-upload_svg__a" d="M8.25 14.25L12 18l3.75-3.75M12 6.75V18"/><circle class="file-upload_svg__a" cx="12" cy="12" r="11.25"/>',attrs:{viewBox:"0 0 24 24"}}})),define("ember-svg-jar/inlined/film-camera",["exports"],(function(e){"use strict"
|
|
11067
11071
|
Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
|
|
@@ -11117,12 +11121,12 @@ e.default={content:'<path d="M9 7h5a1 1 0 010 2H9v5a1 1 0 01-2 0V9H2a1 1 0 010-2
|
|
|
11117
11121
|
Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
|
|
11118
11122
|
e.default={content:'<path d="M7.412 6.217h1.176c1.276 0 2.236-.773 2.236-1.608 0-.835-.96-1.609-2.236-1.609H5.765v3.217h1.647zM5.765 13H9.47c1.405 0 2.53-1.08 2.53-2.391s-1.124-2.392-2.53-2.392H5.766V13zm-2 0V3H3a1 1 0 010-2h5.588c2.297 0 4.236 1.563 4.236 3.609 0 .877-.357 1.666-.945 2.28C13.15 7.665 14 9.037 14 10.61 14 13.043 11.963 15 9.47 15H3a1 1 0 010-2h.765z" fill="#FFF"/>',attrs:{viewBox:"0 0 16 16"}}})),define("ember-svg-jar/inlined/koenig/kg-card-type-audio",["exports"],(function(e){"use strict"
|
|
11119
11123
|
Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
|
|
11120
|
-
e.default={content:'<rect width="28" height="28" rx="3" fill="#FB2D8D"/><path d="M9 21c1.105 0 2-.933 2-2.084s-.895-2.084-2-2.084-2 .933-2 2.084C7 20.066 7.895 21 9 21zm10-2.084c1.105 0 2-.933 2-2.084s-.895-2.084-2-2.084-2 .933-2 2.084c0 1.15.895 2.084 2 2.084z" fill="#fff" stroke="#fff" stroke-width="1.4" stroke-linecap="round" stroke-linejoin="round"/><path d="M21 16.834v-7.75c0-.317-.07-.63-.203-.914a2.07 2.07 0 00-.566-.729 1.965 1.965 0 00-.816-.396 1.922 1.922 0 00-.9.017l-6 1.042a1.995 1.995 0 00-1.091.74 2.14 2.14 0 00-.424 1.28v8.792" stroke="#fff" stroke-width="1.4" stroke-linecap="round" stroke-linejoin="round"/>',attrs:{fill:"none",viewBox:"0 0 28 28"}}}))
|
|
11124
|
+
e.default={content:'<rect width="28" height="28" rx="3" fill="#FB2D8D"/><path d="M9 21c1.105 0 2-.933 2-2.084s-.895-2.084-2-2.084-2 .933-2 2.084C7 20.066 7.895 21 9 21zm10-2.084c1.105 0 2-.933 2-2.084s-.895-2.084-2-2.084-2 .933-2 2.084c0 1.15.895 2.084 2 2.084z" fill="#fff" stroke="#fff" stroke-width="1.4" stroke-linecap="round" stroke-linejoin="round"/><path d="M21 16.834v-7.75c0-.317-.07-.63-.203-.914a2.07 2.07 0 00-.566-.729 1.965 1.965 0 00-.816-.396 1.922 1.922 0 00-.9.017l-6 1.042a1.995 1.995 0 00-1.091.74 2.14 2.14 0 00-.424 1.28v8.792" stroke="#fff" stroke-width="1.4" stroke-linecap="round" stroke-linejoin="round"/>',attrs:{fill:"none",viewBox:"0 0 28 28"}}}))
|
|
11125
|
+
define("ember-svg-jar/inlined/koenig/kg-card-type-before-after",["exports"],(function(e){"use strict"
|
|
11121
11126
|
Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
|
|
11122
11127
|
e.default={content:'<path d="M29 0H3a3 3 0 00-3 3v26a3 3 0 003 3h26a3 3 0 003-3V3a3 3 0 00-3-3z" fill="#FB2D8D"/><rect x="6" y="9" rx="1.5" fill="#fff" width="11" height="14"/><rect x="15" y="6" width="2" height="20" rx="1" fill="#fff"/><circle cx="18.75" cy="9.75" r=".75" fill="#fff"/><circle cx="21.75" cy="9.75" r=".75" fill="#fff"/><circle cx="24.75" cy="9.75" r=".75" fill="#fff"/><circle cx="24.75" cy="12.75" r=".75" fill="#fff"/><circle cx="24.75" cy="16.25" r=".75" fill="#fff"/><circle cx="24.75" cy="19.75" r=".75" fill="#fff"/><circle cx="24.75" cy="22.75" r=".75" fill="#fff"/><circle cx="21.75" cy="22.75" r=".75" fill="#fff"/><circle cx="18.75" cy="22.75" r=".75" fill="#fff"/>',attrs:{fill:"none",viewBox:"0 0 32 32"}}})),define("ember-svg-jar/inlined/koenig/kg-card-type-bookmark",["exports"],(function(e){"use strict"
|
|
11123
11128
|
Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
|
|
11124
|
-
e.default={content:'<path d="M32 2.667C32 .889 31.111 0 29.333 0H2.667C1.93 0 1.302.26.78.781.261 1.301 0 1.931 0 2.667v26.666C0 31.111.889 32 2.667 32h26.666C31.111 32 32 31.111 32 29.333V2.667z" fill="#FB2D8D"/><path d="M15.998-.01v18.674c-.054.558.175.951.687 1.18.525.2.965.084 1.322-.35l2.689-2.683a.404.404 0 01.294-.122c.116 0 .214.041.295.122l2.69 2.684c.245.274.552.417.92.428.139 0 .273-.026.401-.078.512-.23.741-.623.687-1.18V-.062l-9.985.05v.002z" fill="#fff"/>',attrs:{fill:"none",viewBox:"0 0 32 32"}}}))
|
|
11125
|
-
define("ember-svg-jar/inlined/koenig/kg-card-type-button",["exports"],(function(e){"use strict"
|
|
11129
|
+
e.default={content:'<path d="M32 2.667C32 .889 31.111 0 29.333 0H2.667C1.93 0 1.302.26.78.781.261 1.301 0 1.931 0 2.667v26.666C0 31.111.889 32 2.667 32h26.666C31.111 32 32 31.111 32 29.333V2.667z" fill="#FB2D8D"/><path d="M15.998-.01v18.674c-.054.558.175.951.687 1.18.525.2.965.084 1.322-.35l2.689-2.683a.404.404 0 01.294-.122c.116 0 .214.041.295.122l2.69 2.684c.245.274.552.417.92.428.139 0 .273-.026.401-.078.512-.23.741-.623.687-1.18V-.062l-9.985.05v.002z" fill="#fff"/>',attrs:{fill:"none",viewBox:"0 0 32 32"}}})),define("ember-svg-jar/inlined/koenig/kg-card-type-button",["exports"],(function(e){"use strict"
|
|
11126
11130
|
Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
|
|
11127
11131
|
e.default={content:'<path d="M29 0H3a3 3 0 00-3 3v26a3 3 0 003 3h26a3 3 0 003-3V3a3 3 0 00-3-3z" fill="#FB2D8D"/><path d="M13.536 15.568l2.68 8.931a.83.83 0 001.382.349l1.365-1.365 3.522 3.522a.83.83 0 001.174 0l2.348-2.348a.83.83 0 000-1.174l-3.522-3.522L23.85 18.6a.829.829 0 00-.348-1.382l-8.932-2.68a.831.831 0 00-1.034 1.03zM12.287 23.75a.75.75 0 000-1.5v1.5zm13.463-6.5a.75.75 0 001.5 0h-1.5zM8.5 9.75h15v-1.5h-15v1.5zM6.25 20v-8h-1.5v8h1.5zm6.037 2.25H10.75v1.5h1.537v-1.5zm-1.537 0H8.5v1.5h2.25v-1.5zm15-10.25v4h1.5v-4h-1.5zm0 4v1.25h1.5V16h-1.5zm-21 4a3.75 3.75 0 003.75 3.75v-1.5A2.25 2.25 0 016.25 20h-1.5zM23.5 9.75A2.25 2.25 0 0125.75 12h1.5a3.75 3.75 0 00-3.75-3.75v1.5zm-15-1.5A3.75 3.75 0 004.75 12h1.5A2.25 2.25 0 018.5 9.75v-1.5z" fill="#fff"/>',attrs:{viewBox:"0 0 32 32",fill:"none"}}})),define("ember-svg-jar/inlined/koenig/kg-card-type-callout",["exports"],(function(e){"use strict"
|
|
11128
11132
|
Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
|
|
@@ -11178,12 +11182,12 @@ e.default={content:'<rect width="28" height="28" rx="3" fill="#ffb41f"/><rect x=
|
|
|
11178
11182
|
Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
|
|
11179
11183
|
e.default={content:'<path d="M10.063 29.002c12.076 0 18.68-10.005 18.68-18.68 0-.285 0-.567-.019-.85A13.289 13.289 0 0032 6.076c-1.198.53-2.47.879-3.77 1.032a6.59 6.59 0 002.886-3.63c-1.29.764-2.7 1.303-4.17 1.593a6.57 6.57 0 00-11.187 5.988 18.64 18.64 0 01-13.532-6.86 6.57 6.57 0 002.033 8.764 6.504 6.504 0 01-2.98-.822v.084a6.566 6.566 0 005.267 6.435 6.54 6.54 0 01-2.964.113 6.573 6.573 0 006.133 4.56A13.17 13.17 0 010 26.054a18.582 18.582 0 0010.063 2.944" fill="#1DA1F2"/>',attrs:{viewBox:"0 0 32 32"}}})),define("ember-svg-jar/inlined/koenig/kg-card-type-unsplash",["exports"],(function(e){"use strict"
|
|
11180
11184
|
Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
|
|
11181
|
-
e.default={content:'<path d="M83.86 54.15v34.13H38.57V54.15H0v68.26h122.43V54.15H83.86zM38.57 0h45.3v34.13h-45.3z"/>',attrs:{viewBox:"0 0 122.43 122.41"}}}))
|
|
11185
|
+
e.default={content:'<path d="M83.86 54.15v34.13H38.57V54.15H0v68.26h122.43V54.15H83.86zM38.57 0h45.3v34.13h-45.3z"/>',attrs:{viewBox:"0 0 122.43 122.41"}}}))
|
|
11186
|
+
define("ember-svg-jar/inlined/koenig/kg-card-type-video",["exports"],(function(e){"use strict"
|
|
11182
11187
|
Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
|
|
11183
11188
|
e.default={content:'<rect width="28" height="28" rx="3" fill="#30CF43"/><path d="M12.07 20.77a.998.998 0 01-1.445-.894v-6.752a.999.999 0 011.444-.894l6.754 3.377a.997.997 0 010 1.785L12.07 20.77z" fill="#fff" stroke="#fff" stroke-linecap="round" stroke-linejoin="round"/><rect x="3" y="2" width="4" height="4" rx="1" fill="#fff"/><rect x="9" y="2" width="4" height="4" rx="1" fill="#fff"/><rect x="15" y="2" width="4" height="4" rx="1" fill="#fff"/><rect x="21" y="2" width="4" height="4" rx="1" fill="#fff"/>',attrs:{fill:"none",viewBox:"0 0 28 28"}}})),define("ember-svg-jar/inlined/koenig/kg-card-type-vimeo",["exports"],(function(e){"use strict"
|
|
11184
11189
|
Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
|
|
11185
|
-
e.default={content:'<g fill="none" fill-rule="evenodd"><path d="M31.886 25.508a6.377 6.377 0 01-6.377 6.377H6.377A6.378 6.378 0 010 25.508V6.378A6.378 6.378 0 016.377 0H25.51a6.377 6.377 0 016.377 6.377v19.131" fill="#0FB7FF"/><path d="M25.998 10.58c.175-.982.17-1.992-.436-2.755-.846-1.07-2.646-1.11-3.88-.921-1.003.153-4.397 1.651-5.552 5.236 2.046-.156 3.118.148 2.921 2.4-.082.943-.558 1.976-1.09 2.966-.614 1.141-1.765 3.382-3.274 1.767-1.36-1.454-1.257-4.235-1.568-6.086-.173-1.04-.356-2.334-.697-3.402-.293-.92-.966-2.027-1.788-2.267-.884-.26-1.976.146-2.618.523-2.042 1.2-3.598 2.908-5.365 4.317v.132c.35.335.444.884.96.959 1.216.179 2.375-1.134 3.184.232.492.834.645 1.749.96 2.648.42 1.198.746 2.503 1.09 3.88.583 2.334 1.299 5.82 3.316 6.675 1.029.437 2.575-.148 3.358-.612 2.122-1.255 3.775-3.075 5.19-4.927 3.234-4.382 5.019-9.347 5.289-10.765" fill="#FFFFFE"/></g>',attrs:{viewBox:"0 0 32 32"}}}))
|
|
11186
|
-
define("ember-svg-jar/inlined/koenig/kg-card-type-youtube",["exports"],(function(e){"use strict"
|
|
11190
|
+
e.default={content:'<g fill="none" fill-rule="evenodd"><path d="M31.886 25.508a6.377 6.377 0 01-6.377 6.377H6.377A6.378 6.378 0 010 25.508V6.378A6.378 6.378 0 016.377 0H25.51a6.377 6.377 0 016.377 6.377v19.131" fill="#0FB7FF"/><path d="M25.998 10.58c.175-.982.17-1.992-.436-2.755-.846-1.07-2.646-1.11-3.88-.921-1.003.153-4.397 1.651-5.552 5.236 2.046-.156 3.118.148 2.921 2.4-.082.943-.558 1.976-1.09 2.966-.614 1.141-1.765 3.382-3.274 1.767-1.36-1.454-1.257-4.235-1.568-6.086-.173-1.04-.356-2.334-.697-3.402-.293-.92-.966-2.027-1.788-2.267-.884-.26-1.976.146-2.618.523-2.042 1.2-3.598 2.908-5.365 4.317v.132c.35.335.444.884.96.959 1.216.179 2.375-1.134 3.184.232.492.834.645 1.749.96 2.648.42 1.198.746 2.503 1.09 3.88.583 2.334 1.299 5.82 3.316 6.675 1.029.437 2.575-.148 3.358-.612 2.122-1.255 3.775-3.075 5.19-4.927 3.234-4.382 5.019-9.347 5.289-10.765" fill="#FFFFFE"/></g>',attrs:{viewBox:"0 0 32 32"}}})),define("ember-svg-jar/inlined/koenig/kg-card-type-youtube",["exports"],(function(e){"use strict"
|
|
11187
11191
|
Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
|
|
11188
11192
|
e.default={content:'<g fill="none" fill-rule="evenodd"><path d="M31.252 8.488a4.008 4.008 0 00-2.824-2.823C25.941 5 15.958 5 15.958 5s-9.977 0-12.47.665A4.006 4.006 0 00.665 8.488C0 10.976 0 16.17 0 16.17s0 5.194.665 7.682a4.001 4.001 0 002.823 2.823c2.493.666 12.47.666 12.47.666s9.983 0 12.47-.666a4.002 4.002 0 002.824-2.823c.665-2.488.665-7.682.665-7.682s0-5.194-.665-7.682" fill="#D9252A"/><path fill="#FFFFFE" d="M12.77 20.958l8.291-4.788-8.291-4.788v9.576"/></g>',attrs:{viewBox:"0 0 32 32"}}})),define("ember-svg-jar/inlined/koenig/kg-cta-border",["exports"],(function(e){"use strict"
|
|
11189
11193
|
Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
|
|
@@ -11239,12 +11243,12 @@ e.default={content:'<g fill="#FFF" fill-rule="nonzero"><path d="M1.3 4.6a.6.6 0
|
|
|
11239
11243
|
Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
|
|
11240
11244
|
e.default={content:'<defs><style>.labs_svg__a{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.5px}</style></defs><path class="labs_svg__a" d="M6.726.75h10.5m-1.5 7.5V.75h-7.5v7.5L1.489 18.615A3 3 0 004 23.25h15.948a3 3 0 002.515-4.635zm-10.425 4.5h13.35m-4.425 4.5h3m-1.5-1.5v3"/><path class="labs_svg__a" d="M6.726 19.125a.375.375 0 01.374.375m-.749 0a.375.375 0 01.375-.375m0 .75a.375.375 0 01-.375-.375"/><path class="labs_svg__a" d="M7.1 19.5a.375.375 0 01-.375.375m3.001-3.75a.375.375 0 01.375.375m-.75 0a.375.375 0 01.375-.375m0 .75a.375.375 0 01-.375-.375"/><path class="labs_svg__a" d="M10.1 16.5a.375.375 0 01-.375.375M15.726 3.75h-3m3 3h-3"/>',attrs:{viewBox:"0 0 24 24"}}})),define("ember-svg-jar/inlined/link",["exports"],(function(e){"use strict"
|
|
11241
11245
|
Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
|
|
11242
|
-
e.default={content:'<path d="M14.5 12.5l.086.086a2 2 0 002.828 0l3.965-3.964a3.01 3.01 0 000-4.243l-1.758-1.757a3.008 3.008 0 00-4.242 0l-3.965 3.964a2 2 0 000 2.829l.086.085m-2 2l-.086-.085a2 2 0 00-2.828 0l-3.965 3.964a3.01 3.01 0 000 4.243l1.758 1.757a3.008 3.008 0 004.242 0l3.965-3.964a2 2 0 000-2.829L12.5 14.5m-4.389 1.389l7.778-7.778" fill="none"/>',attrs:{viewBox:"0 0 24 24"}}}))
|
|
11246
|
+
e.default={content:'<path d="M14.5 12.5l.086.086a2 2 0 002.828 0l3.965-3.964a3.01 3.01 0 000-4.243l-1.758-1.757a3.008 3.008 0 00-4.242 0l-3.965 3.964a2 2 0 000 2.829l.086.085m-2 2l-.086-.085a2 2 0 00-2.828 0l-3.965 3.964a3.01 3.01 0 000 4.243l1.758 1.757a3.008 3.008 0 004.242 0l3.965-3.964a2 2 0 000-2.829L12.5 14.5m-4.389 1.389l7.778-7.778" fill="none"/>',attrs:{viewBox:"0 0 24 24"}}}))
|
|
11247
|
+
define("ember-svg-jar/inlined/lock-filled",["exports"],(function(e){"use strict"
|
|
11243
11248
|
Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
|
|
11244
11249
|
e.default={content:'<path d="M19.5 9.5h-.75V6.75a6.75 6.75 0 00-13.5 0V9.5H4.5a2 2 0 00-2 2V22a2 2 0 002 2h15a2 2 0 002-2V11.5a2 2 0 00-2-2zm-7.5 9a2 2 0 112-2 2 2 0 01-2 2zM16.25 9a.5.5 0 01-.5.5h-7.5a.5.5 0 01-.5-.5V6.75a4.25 4.25 0 018.5 0z"/>',attrs:{viewBox:"0 0 24 24"}}})),define("ember-svg-jar/inlined/lock",["exports"],(function(e){"use strict"
|
|
11245
11250
|
Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
|
|
11246
|
-
e.default={content:'<path d="M5.25 24A2.252 2.252 0 013 21.75v-10.5A2.252 2.252 0 015.25 9H6V6c0-3.308 2.692-6 6-6s6 2.692 6 6v3h.75A2.252 2.252 0 0121 11.25v10.5A2.252 2.252 0 0118.75 24H5.25zm0-13.5a.75.75 0 00-.75.75v10.5c0 .414.336.75.75.75h13.5a.75.75 0 00.75-.75v-10.5a.75.75 0 00-.75-.75H5.25zM16.5 9V6c0-2.481-2.019-4.5-4.5-4.5A4.505 4.505 0 007.5 6v3h9z"/><path d="M12 18.75a.75.75 0 01-.75-.75v-3a.75.75 0 011.5 0v3a.75.75 0 01-.75.75z"/>',attrs:{viewBox:"0 0 24 24"}}}))
|
|
11247
|
-
define("ember-svg-jar/inlined/member-add",["exports"],(function(e){"use strict"
|
|
11251
|
+
e.default={content:'<path d="M5.25 24A2.252 2.252 0 013 21.75v-10.5A2.252 2.252 0 015.25 9H6V6c0-3.308 2.692-6 6-6s6 2.692 6 6v3h.75A2.252 2.252 0 0121 11.25v10.5A2.252 2.252 0 0118.75 24H5.25zm0-13.5a.75.75 0 00-.75.75v10.5c0 .414.336.75.75.75h13.5a.75.75 0 00.75-.75v-10.5a.75.75 0 00-.75-.75H5.25zM16.5 9V6c0-2.481-2.019-4.5-4.5-4.5A4.505 4.505 0 007.5 6v3h9z"/><path d="M12 18.75a.75.75 0 01-.75-.75v-3a.75.75 0 011.5 0v3a.75.75 0 01-.75.75z"/>',attrs:{viewBox:"0 0 24 24"}}})),define("ember-svg-jar/inlined/member-add",["exports"],(function(e){"use strict"
|
|
11248
11252
|
Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
|
|
11249
11253
|
e.default={content:'<path d="M11.5 12c-2.824 0-2.83.024-4.5.53-3.5 1.058-5 3.176-5 6.386V21h10m7-5v6m-3-3h6m-10.5-7a5.5 5.5 0 100-11 5.5 5.5 0 000 11z" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>',attrs:{fill:"none",viewBox:"0 0 24 24"}}})),define("ember-svg-jar/inlined/member",["exports"],(function(e){"use strict"
|
|
11250
11254
|
Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
|
|
@@ -11300,12 +11304,12 @@ e.default={content:'<path d="M23.14 10.608L2.253.164A1.559 1.559 0 000 1.557v20.
|
|
|
11300
11304
|
Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
|
|
11301
11305
|
e.default={content:'<path d="M12 2v20m10-10H2" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>',attrs:{viewBox:"0 0 24 24",fill:"none"}}})),define("ember-svg-jar/inlined/plus",["exports"],(function(e){"use strict"
|
|
11302
11306
|
Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
|
|
11303
|
-
e.default={content:'<path d="M8 1v14M1 8h14" stroke="currentColor" stroke-width="2" stroke-linecap="round"/>',attrs:{viewBox:"0 0 16 16",fill:"none"}}}))
|
|
11307
|
+
e.default={content:'<path d="M8 1v14M1 8h14" stroke="currentColor" stroke-width="2" stroke-linecap="round"/>',attrs:{viewBox:"0 0 16 16",fill:"none"}}}))
|
|
11308
|
+
define("ember-svg-jar/inlined/portal-icon-1",["exports"],(function(e){"use strict"
|
|
11304
11309
|
Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
|
|
11305
11310
|
e.default={content:'<path d="M10.533 11.267a5.135 5.135 0 10-.001-10.27 5.135 5.135 0 00.001 10.27zM1 23a9.531 9.531 0 0116.274-6.741 9.532 9.532 0 012.793 6.74" stroke="#fff" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>',attrs:{viewBox:"0 0 21 24",fill:"none"}}})),define("ember-svg-jar/inlined/portal-icon-2",["exports"],(function(e){"use strict"
|
|
11306
11311
|
Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
|
|
11307
|
-
e.default={content:'<path stroke="#FFF" stroke-width="1.5" stroke-linecap="round" d="M12.5 2v20M2 12.5h20" fill="none"/>',attrs:{viewBox:"0 0 24 24"}}}))
|
|
11308
|
-
define("ember-svg-jar/inlined/portal-icon-3",["exports"],(function(e){"use strict"
|
|
11312
|
+
e.default={content:'<path stroke="#FFF" stroke-width="1.5" stroke-linecap="round" d="M12.5 2v20M2 12.5h20" fill="none"/>',attrs:{viewBox:"0 0 24 24"}}})),define("ember-svg-jar/inlined/portal-icon-3",["exports"],(function(e){"use strict"
|
|
11309
11313
|
Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
|
|
11310
11314
|
e.default={content:'<path d="M23.5 6v14.25a2.25 2.25 0 11-4.5 0V3c0-.398-.158-.78-.44-1.06a1.494 1.494 0 00-1.06-.44h-15c-.398 0-.78.158-1.06.44C1.157 2.22 1 2.601 1 3v17.25a2.25 2.25 0 002.25 2.25h18M4.75 15h10.5m-10.5 3h6" stroke="#fff" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/><path d="M14.5 5.25h-9a.75.75 0 00-.75.75v4.5c0 .414.336.75.75.75h9a.75.75 0 00.75-.75V6a.75.75 0 00-.75-.75z" stroke="#fff" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>',attrs:{viewBox:"0 0 25 24",fill:"none"}}})),define("ember-svg-jar/inlined/portal-icon-4",["exports"],(function(e){"use strict"
|
|
11311
11315
|
Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
|
|
@@ -11361,12 +11365,12 @@ e.default={content:'<path d="M4.47 1.867a4.525 4.525 0 015.02 1.378.4.4 0 01-.61
|
|
|
11361
11365
|
Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
|
|
11362
11366
|
e.default={content:'<path d="M1.061 2.56v6.257a3 3 0 00.878 2.121L13.5 22.5a1.5 1.5 0 002.121 0l6.879-6.88a1.5 1.5 0 000-2.121L10.939 1.938a3 3 0 00-2.121-.878H2.561a1.5 1.5 0 00-1.5 1.5z" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"/>',attrs:{viewBox:"0 0 24 24"}}})),define("ember-svg-jar/inlined/tags-placeholder",["exports"],(function(e){"use strict"
|
|
11363
11367
|
Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
|
|
11364
|
-
e.default={content:'<path clip-rule="evenodd" d="M8 2.706a1 1 0 011-1h15a1 1 0 01.707.293l21 21a1 1 0 01-1.414 1.414L23.586 3.706H9a1 1 0 01-1-1z"/><path clip-rule="evenodd" d="M3.172 8.878A4 4 0 016 7.706h12.258a4 4 0 012.827 1.17l18.328 18.327a4.001 4.001 0 01-1.424 6.573l-7.213 2.707-2.71 7.21a4.002 4.002 0 01-6.573 1.424L3.171 26.791A4 4 0 012 23.962V11.706a4 4 0 011.172-2.828zM6 9.706a2 2 0 00-2 2v12.256a2.003 2.003 0 00.585 1.415l18.322 18.326a2 2 0 003.287-.712l2.87-7.637a1 1 0 01.585-.584l7.638-2.866a2 2 0 00.712-3.287L19.67 10.291a2 2 0 00-1.413-.585H6z"/><path d="M12.25 15.956a2 2 0 100 4 2 2 0 000-4"/>',attrs:{fill:"none",viewBox:"0 0 48 48"}}}))
|
|
11368
|
+
e.default={content:'<path clip-rule="evenodd" d="M8 2.706a1 1 0 011-1h15a1 1 0 01.707.293l21 21a1 1 0 01-1.414 1.414L23.586 3.706H9a1 1 0 01-1-1z"/><path clip-rule="evenodd" d="M3.172 8.878A4 4 0 016 7.706h12.258a4 4 0 012.827 1.17l18.328 18.327a4.001 4.001 0 01-1.424 6.573l-7.213 2.707-2.71 7.21a4.002 4.002 0 01-6.573 1.424L3.171 26.791A4 4 0 012 23.962V11.706a4 4 0 011.172-2.828zM6 9.706a2 2 0 00-2 2v12.256a2.003 2.003 0 00.585 1.415l18.322 18.326a2 2 0 003.287-.712l2.87-7.637a1 1 0 01.585-.584l7.638-2.866a2 2 0 00.712-3.287L19.67 10.291a2 2 0 00-1.413-.585H6z"/><path d="M12.25 15.956a2 2 0 100 4 2 2 0 000-4"/>',attrs:{fill:"none",viewBox:"0 0 48 48"}}}))
|
|
11369
|
+
define("ember-svg-jar/inlined/thumbs-down",["exports"],(function(e){"use strict"
|
|
11365
11370
|
Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
|
|
11366
11371
|
e.default={content:'<path d="M20.237 7.97a97.84 97.84 0 00-.97-.493c-5.972-3.019-5.68-2.43-10.794-2.43-2.135 0-3.22 1.389-3.851 3.423v.014l-1.552 5.18v.01a1.621 1.621 0 001.557 2.091h3.99a1.643 1.643 0 011.29.631 1.61 1.61 0 01.284 1.402l-.718 2.709a1.376 1.376 0 00.77 1.612 1.398 1.398 0 001.717-.463l3.979-6.117a1.642 1.642 0 011.33-.685h2.968m0 2.246V5" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>',attrs:{fill:"none",viewBox:"0 0 24 24"}}})),define("ember-svg-jar/inlined/thumbs-up",["exports"],(function(e){"use strict"
|
|
11367
11372
|
Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
|
|
11368
|
-
e.default={content:'<path d="M4 17.275c.323.165.646.33.97.492 5.973 3.019 5.68 2.43 10.794 2.43 2.135 0 3.221-1.389 3.852-3.423v-.013l1.552-5.18v-.01a1.622 1.622 0 00-1.557-2.092H15.62a1.643 1.643 0 01-1.29-.63 1.61 1.61 0 01-.283-1.403l.717-2.708a1.377 1.377 0 00-.769-1.613 1.397 1.397 0 00-1.717.463l-3.98 6.117a1.643 1.643 0 01-1.33.685H4.001M4 8.748v11.496" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>',attrs:{fill:"none",viewBox:"0 0 26 24"}}}))
|
|
11369
|
-
define("ember-svg-jar/inlined/trash",["exports"],(function(e){"use strict"
|
|
11373
|
+
e.default={content:'<path d="M4 17.275c.323.165.646.33.97.492 5.973 3.019 5.68 2.43 10.794 2.43 2.135 0 3.221-1.389 3.852-3.423v-.013l1.552-5.18v-.01a1.622 1.622 0 00-1.557-2.092H15.62a1.643 1.643 0 01-1.29-.63 1.61 1.61 0 01-.283-1.403l.717-2.708a1.377 1.377 0 00-.769-1.613 1.397 1.397 0 00-1.717.463l-3.98 6.117a1.643 1.643 0 01-1.33.685H4.001M4 8.748v11.496" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>',attrs:{fill:"none",viewBox:"0 0 26 24"}}})),define("ember-svg-jar/inlined/trash",["exports"],(function(e){"use strict"
|
|
11370
11374
|
Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
|
|
11371
11375
|
e.default={content:'<defs><style>.trash_svg__a{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.5px}</style></defs><path class="trash_svg__a" d="M17.923 22.308H6.077a1.692 1.692 0 01-1.692-1.693V5.385h15.23v15.23a1.692 1.692 0 01-1.692 1.693zM9.462 17.23v-6.769M14.539 17.23v-6.769M1 5.385h22M14.539 2H9.462a1.692 1.692 0 00-1.693 1.692v1.693h8.462V3.692A1.692 1.692 0 0014.538 2z"/>',attrs:{viewBox:"0 0 24 24",fill:"none"}}})),define("ember-svg-jar/inlined/tumbleweed",["exports"],(function(e){"use strict"
|
|
11372
11376
|
Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
|
|
@@ -11514,12 +11518,12 @@ class r{constructor(e,t){this._value=this._lastValue=e,this._isEqual=t}}function
|
|
|
11514
11518
|
function r(e){for(let r=0,n=e.length;r<n;r++)if(!1===(0,t.default)(e[r]))return e[r]
|
|
11515
11519
|
return e[e.length-1]}Object.defineProperty(e,"__esModule",{value:!0}),e.and=r,e.default=void 0
|
|
11516
11520
|
var n=Ember.Helper.helper(r)
|
|
11517
|
-
e.default=n}))
|
|
11521
|
+
e.default=n}))
|
|
11522
|
+
define("ember-truth-helpers/helpers/eq",["exports","ember-truth-helpers/helpers/equal"],(function(e,t){"use strict"
|
|
11518
11523
|
Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(e,"equal",{enumerable:!0,get:function(){return t.equal}})})),define("ember-truth-helpers/helpers/equal",["exports"],(function(e){"use strict"
|
|
11519
11524
|
function t(e){return e[0]===e[1]}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.equal=t
|
|
11520
11525
|
var r=Ember.Helper.helper(t)
|
|
11521
|
-
e.default=r}))
|
|
11522
|
-
define("ember-truth-helpers/helpers/gt",["exports"],(function(e){"use strict"
|
|
11526
|
+
e.default=r})),define("ember-truth-helpers/helpers/gt",["exports"],(function(e){"use strict"
|
|
11523
11527
|
function t(e,t){let[r,n]=e
|
|
11524
11528
|
return t.forceNumber&&("number"!=typeof r&&(r=Number(r)),"number"!=typeof n&&(n=Number(n))),r>n}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.gt=t
|
|
11525
11529
|
var r=Ember.Helper.helper(t)
|
|
@@ -11846,7 +11850,8 @@ e.default=O,Ember._setComponentTemplate(w,O)})),define("koenig-editor/components
|
|
|
11846
11850
|
Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
|
|
11847
11851
|
const t=Ember.HTMLBars.template({id:"xIv3XjJT",block:'{"symbols":[],"statements":[[10,"figure"],[14,0,"kg-nft-card"],[12],[2,"\\n "],[10,"a"],[15,6,[31,[[32,0,["payload","url"]]]]],[12],[2,"\\n "],[10,"div"],[14,0,"kg-nft-image-container"],[12],[10,"img"],[14,0,"kg-nft-image"],[15,"src",[31,[[32,0,["payload","metadata","image_url"]]]]],[12],[13],[13],[2,"\\n "],[10,"div"],[14,0,"kg-nft-metadata"],[12],[2,"\\n "],[10,"div"],[14,0,"kg-nft-header"],[12],[2,"\\n "],[10,"h4"],[14,0,"kg-nft-title"],[12],[2," \\n "],[1,[32,0,["payload","metadata","title"]]],[2," \\n "],[10,"img"],[14,"src","https://static.ghost.org/v4.0.0/images/opensea-logo.png"],[14,0,"kg-nft-opensea-logo"],[12],[13],[2,"\\n "],[13],[2,"\\n "],[13],[2,"\\n "],[10,"div"],[14,0,"kg-nft-creator"],[12],[2,"\\n Created by "],[10,"span"],[14,0,"kg-nft-creator-name"],[12],[1,[32,0,["payload","metadata","author_name"]]],[13],[2,"\\n"],[6,[37,0],[[32,0,["payload","metadata","collection_name"]]],null,[["default"],[{"statements":[[2," • "],[1,[32,0,["payload","metadata","collection_name"]]],[2,"\\n"]],"parameters":[]}]]],[2," "],[13],[2,"\\n"],[6,[37,0],[[32,0,["payload","metadata","description"]]],null,[["default"],[{"statements":[[2," "],[10,"p"],[14,0,"kg-nft-description"],[12],[1,[32,0,["payload","metadata","description"]]],[13],[2,"\\n"]],"parameters":[]}]]],[2," "],[13],[2,"\\n "],[13],[2,"\\n"],[13]],"hasEval":false,"upvars":["if"]}',moduleName:"koenig-editor/components/koenig-card-embed/nft.hbs"})
|
|
11848
11852
|
class r extends Ember.Component{constructor(){var e,t,r
|
|
11849
|
-
super(...arguments),r=null,(t="payload")in(e=this)?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r}}e.default=r,Ember._setComponentTemplate(t,r)}))
|
|
11853
|
+
super(...arguments),r=null,(t="payload")in(e=this)?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r}}e.default=r,Ember._setComponentTemplate(t,r)}))
|
|
11854
|
+
define("koenig-editor/components/koenig-card-file",["exports","@glimmer/component","koenig-editor/utils/prettify-file-name","tracked-built-ins"],(function(e,t,r,n){"use strict"
|
|
11850
11855
|
var i,o,a,s,l,u,d,c,h,p,f,m,g,v,b,y,_,k,E,w,x,O
|
|
11851
11856
|
function C(e,t,r,n){r&&Object.defineProperty(e,t,{enumerable:r.enumerable,configurable:r.configurable,writable:r.writable,value:r.initializer?r.initializer.call(n):void 0})}function M(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function T(e,t,r,n,i){var o={}
|
|
11852
11857
|
return Object.keys(n).forEach((function(e){o[e]=n[e]})),o.enumerable=!!o.enumerable,o.configurable=!!o.configurable,("value"in o||o.initializer)&&(o.writable=!0),o=r.slice().reverse().reduce((function(r,n){return n(e,t,r)||r}),o),i&&void 0!==o.initializer&&(o.value=o.initializer?o.initializer.call(i):void 0,o.initializer=void 0),void 0===o.initializer&&(Object.defineProperty(e,t,o),o=null),o}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
|
|
@@ -11905,8 +11910,7 @@ let n=t.closest("[data-row]"),i=Array.from(this.element.querySelectorAll("[data-
|
|
|
11905
11910
|
if(n&&this._isDropAllowed(o,a,r)){let e=Array.from(n.querySelectorAll("[data-image]")),i=e.indexOf(t),o=a,s=[],l=[]
|
|
11906
11911
|
return e.forEach(((e,t)=>{t<i&&s.push(e),t===i&&(r.match(/left/)?l.push(e):s.push(e)),t>i&&l.push(e)})),r.match(/right/)&&(o+=1),{direction:"horizontal",position:r.match(/left/)?"left":"right",beforeElems:s,afterElems:l,insertIndex:o}}return!1}_isDropAllowed(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:""
|
|
11907
11912
|
return-1===e||e!==t&&void 0!==t&&(r.match(/left/)&&(t-=1),r.match(/right/)&&(t+=1),t!==e)}},y=k(b.prototype,"koenigDragDropHandler",[n],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),k(b.prototype,"counts",[i],Object.getOwnPropertyDescriptor(b.prototype,"counts"),b.prototype),k(b.prototype,"toolbar",[o],Object.getOwnPropertyDescriptor(b.prototype,"toolbar"),b.prototype),k(b.prototype,"imageRows",[a],Object.getOwnPropertyDescriptor(b.prototype,"imageRows"),b.prototype),k(b.prototype,"addImage",[s],Object.getOwnPropertyDescriptor(b.prototype,"addImage"),b.prototype),k(b.prototype,"setImageSrc",[l],Object.getOwnPropertyDescriptor(b.prototype,"setImageSrc"),b.prototype),k(b.prototype,"setFiles",[u],Object.getOwnPropertyDescriptor(b.prototype,"setFiles"),b.prototype),k(b.prototype,"deleteImage",[d],Object.getOwnPropertyDescriptor(b.prototype,"deleteImage"),b.prototype),k(b.prototype,"updateCaption",[c],Object.getOwnPropertyDescriptor(b.prototype,"updateCaption"),b.prototype),k(b.prototype,"triggerFileDialog",[h],Object.getOwnPropertyDescriptor(b.prototype,"triggerFileDialog"),b.prototype),k(b.prototype,"uploadFailed",[p],Object.getOwnPropertyDescriptor(b.prototype,"uploadFailed"),b.prototype),k(b.prototype,"handleErrors",[f],Object.getOwnPropertyDescriptor(b.prototype,"handleErrors"),b.prototype),k(b.prototype,"clearErrorMessage",[m],Object.getOwnPropertyDescriptor(b.prototype,"clearErrorMessage"),b.prototype),k(b.prototype,"didSelect",[g],Object.getOwnPropertyDescriptor(b.prototype,"didSelect"),b.prototype),k(b.prototype,"didDeselect",[v],Object.getOwnPropertyDescriptor(b.prototype,"didDeselect"),b.prototype),b)
|
|
11908
|
-
e.default=x,Ember._setComponentTemplate(E,x)}))
|
|
11909
|
-
define("koenig-editor/components/koenig-card-header",["exports","mobiledoc-kit/utils/browser","@glimmer/component","ghost-admin/components/gh-image-uploader","ghost-admin/decorators/inject"],(function(e,t,r,n,i){"use strict"
|
|
11913
|
+
e.default=x,Ember._setComponentTemplate(E,x)})),define("koenig-editor/components/koenig-card-header",["exports","mobiledoc-kit/utils/browser","@glimmer/component","ghost-admin/components/gh-image-uploader","ghost-admin/decorators/inject"],(function(e,t,r,n,i){"use strict"
|
|
11910
11914
|
var o,a,s,l,u,d,c,h,p,f,m,g,v,b,y,_,k,E,w,x,O,C,M,T,P
|
|
11911
11915
|
function S(e,t,r,n){r&&Object.defineProperty(e,t,{enumerable:r.enumerable,configurable:r.configurable,writable:r.writable,value:r.initializer?r.initializer.call(n):void 0})}function A(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function R(e,t,r,n,i){var o={}
|
|
11912
11916
|
return Object.keys(n).forEach((function(e){o[e]=n[e]})),o.enumerable=!!o.enumerable,o.configurable=!!o.configurable,("value"in o||o.initializer)&&(o.writable=!0),o=r.slice().reverse().reduce((function(r,n){return n(e,t,r)||r}),o),i&&void 0!==o.initializer&&(o.value=o.initializer?o.initializer.call(i):void 0,o.initializer=void 0),void 0===o.initializer&&(Object.defineProperty(e,t,o),o=null),o}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
|
|
@@ -12544,7 +12548,8 @@ n.createDocument=function(t){return(new e).parseFromString(t,"text/html")}}let i
|
|
|
12544
12548
|
if(i){let e=n.createDocument(i)
|
|
12545
12549
|
e.body.querySelectorAll("*").forEach((t=>{if(t.classList.contains("-mobiledoc-kit__atom")&&t.querySelector("br")){const e=document.createElement("br")
|
|
12546
12550
|
t.replaceWith(e),t=e}if(!t.textContent.trim()&&"BR"===!t.tagName)if(t.textContent.length>0){let r=e.createTextNode(" ")
|
|
12547
|
-
t.replaceWith(r)}else t.remove()})),i=e.body.innerHTML.trim()}return i}}))
|
|
12551
|
+
t.replaceWith(r)}else t.remove()})),i=e.body.innerHTML.trim()}return i}}))
|
|
12552
|
+
define("koenig-editor/lib/dnd/constants",["exports"],(function(e){"use strict"
|
|
12548
12553
|
Object.defineProperty(e,"__esModule",{value:!0}),e.GHOST_ZINDEX=e.GHOST_CONTAINER_ID=e.DROP_INDICATOR_ZINDEX=e.DROP_INDICATOR_ID=e.DROPPABLE_SELECTOR=e.DROPPABLE_DATA_ATTR=e.DRAG_DISABLED_SELECTOR=e.DRAG_DISABLED_DATA_ATTR=e.DRAGGABLE_SELECTOR=e.DRAGGABLE_DATA_ATTR=e.CONTAINER_SELECTOR=e.CONTAINER_DATA_ATTR=void 0
|
|
12549
12554
|
const t="koenigDndContainer"
|
|
12550
12555
|
e.CONTAINER_DATA_ATTR=t
|
|
@@ -12573,8 +12578,7 @@ if(!n)return void console.warn("No <img> element found in draggable")
|
|
|
12573
12578
|
{let e,i,o=n.width/n.height
|
|
12574
12579
|
n.width>n.height?(e=200,i=200/o):(e=200*o,i=200),r=document.createElement("img"),r.width=e,r.height=i,r.id="koenig-drag-drop-ghost",r.src=n.src,r.style.position="absolute",r.style.top="0",r.style.left=`-${e}px`,r.style.zIndex=t.GHOST_ZINDEX,r.style.willChange="transform"}}if(r)return r
|
|
12575
12580
|
console.warn(`No default createGhostElement handler for type "${e.type}"`)}enableDrag(){this.isDragEnabled=!0,this.element.dataset[t.CONTAINER_DATA_ATTR]="true",this.refresh()}disableDrag(){this.isDragEnabled=!1,delete this.element.dataset[t.CONTAINER_DATA_ATTR],this.refresh()}refresh(){this.draggables.forEach((e=>{delete e.dataset[t.DRAGGABLE_DATA_ATTR]})),this.droppables.forEach((e=>{delete e.dataset[t.DROPPABLE_DATA_ATTR]})),this.draggables=Ember.A([]),this.droppables=Ember.A([]),this.isDragEnabled&&(this.element.querySelectorAll(this.draggableSelector).forEach((e=>{e.dataset[t.DRAGGABLE_DATA_ATTR]="true",this.draggables.push(e)})),this.element.querySelectorAll(this.droppableSelector).forEach((e=>{e.dataset[t.DROPPABLE_DATA_ATTR]="true",this.droppables.push(e)})))}}
|
|
12576
|
-
e.default=r}))
|
|
12577
|
-
define("koenig-editor/lib/dnd/scroll-handler",["exports","koenig-editor/lib/dnd/utils"],(function(e,t){"use strict"
|
|
12581
|
+
e.default=r})),define("koenig-editor/lib/dnd/scroll-handler",["exports","koenig-editor/lib/dnd/utils"],(function(e,t){"use strict"
|
|
12578
12582
|
Object.defineProperty(e,"__esModule",{value:!0}),e.defaultOptions=e.default=void 0
|
|
12579
12583
|
const r={speed:8,sensitivity:50}
|
|
12580
12584
|
e.defaultOptions=r
|
|
@@ -12899,7 +12903,8 @@ n&&(this._scaling=this.animateGrowth(t,l,s))},afterTransition(e){for(let t=0;t<e
|
|
|
12899
12903
|
this.unlockSize()}}})
|
|
12900
12904
|
function a(e,t){if(!e.view)return
|
|
12901
12905
|
let n=(0,i.default)(e.view.element),o=n.position()
|
|
12902
|
-
t||(t=(0,r.measure)(n)),n.outerWidth(t.width),n.outerHeight(t.height),n.css({position:"absolute",top:o.top,left:o.left})}function s(e){if(e.view&&!e.view.isDestroyed){(0,i.default)(e.view.element).css({width:"",height:"",position:""})}}e.default=o}))
|
|
12906
|
+
t||(t=(0,r.measure)(n)),n.outerWidth(t.width),n.outerHeight(t.height),n.css({position:"absolute",top:o.top,left:o.left})}function s(e){if(e.view&&!e.view.isDestroyed){(0,i.default)(e.view.element).css({width:"",height:"",position:""})}}e.default=o}))
|
|
12907
|
+
define("liquid-fire/components/liquid-if",["exports","liquid-fire/templates/components/liquid-if"],(function(e,t){"use strict"
|
|
12903
12908
|
Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
|
|
12904
12909
|
let r=Ember.Component.extend({positionalParams:["predicate"],layout:t.default,tagName:"",helperName:"liquid-if"})
|
|
12905
12910
|
r.reopenClass({positionalParams:["predicate"]})
|
|
@@ -12913,8 +12918,7 @@ e.incrementRunningTransitions(),Ember.run.next(this,(function(){this._didMutate(
|
|
|
12913
12918
|
let e=(0,n.default)(this.element)
|
|
12914
12919
|
this.didMeasure(o(e))},_destroyOnUnload(){this.willDestroyElement()}})
|
|
12915
12920
|
function o(e){let t=e[0].getBoundingClientRect(),r=e[0].offsetWidth,n=Math.round(t.width),i=n>0?r/n:0
|
|
12916
|
-
return{width:t.width*i,height:t.height*i}}e.default=i}))
|
|
12917
|
-
define("liquid-fire/components/liquid-outlet",["exports","liquid-fire/templates/components/liquid-outlet","liquid-fire/ember-internals"],(function(e,t,r){"use strict"
|
|
12921
|
+
return{width:t.width*i,height:t.height*i}}e.default=i})),define("liquid-fire/components/liquid-outlet",["exports","liquid-fire/templates/components/liquid-outlet","liquid-fire/ember-internals"],(function(e,t,r){"use strict"
|
|
12918
12922
|
Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
|
|
12919
12923
|
let n=Ember.Component.extend({layout:t.default,positionalParams:["inputOutletName"],tagName:"",versionEquality:Ember.computed("outletName","watchModels",(function(){let e=this.outletName,t=this.watchModels
|
|
12920
12924
|
return function(n,i){let o=(0,r.childRoute)(n,e),a=(0,r.childRoute)(i,e)
|
|
@@ -13090,14 +13094,14 @@ var t=Ember.HTMLBars.template({id:"HOnDajqQ",block:'{"symbols":["container","val
|
|
|
13090
13094
|
e.default=t})),define("liquid-fire/templates/components/liquid-measured",["exports"],(function(e){"use strict"
|
|
13091
13095
|
Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
|
|
13092
13096
|
var t=Ember.HTMLBars.template({id:"ZXmeP7J9",block:'{"symbols":["&default"],"statements":[[18,1,null],[2,"\\n"]],"hasEval":false,"upvars":[]}',moduleName:"liquid-fire/templates/components/liquid-measured.hbs"})
|
|
13093
|
-
e.default=t}))
|
|
13097
|
+
e.default=t}))
|
|
13098
|
+
define("liquid-fire/templates/components/liquid-outlet",["exports"],(function(e){"use strict"
|
|
13094
13099
|
Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
|
|
13095
13100
|
var t=Ember.HTMLBars.template({id:"GqUo9ITF",block:'{"symbols":["outletState","version"],"statements":[[8,"lf-get-outlet-state",[],[[],[]],[["default"],[{"statements":[[6,[37,5],[[30,[36,4],[[32,1],[32,0,["outletName"]]],null]],[["containerId","versionEquality","matchContext","class","use","rules","containerless","growDuration","growPixelsPerSecond","growEasing","shrinkDelay","growDelay","enableGrowth"],[[32,0,["containerId"]],[32,0,["versionEquality"]],[30,[36,3],null,[["outletName","helperName"],[[32,0,["outletName"]],"liquid-outlet"]]],[32,0,["class"]],[32,0,["use"]],[32,0,["rules"]],[32,0,["containerless"]],[32,0,["growDuration"]],[32,0,["growPixelsPerSecond"]],[32,0,["growEasing"]],[32,0,["shrinkDelay"]],[32,0,["growDelay"]],[32,0,["enableGrowth"]]]],[["default"],[{"statements":[[6,[37,2],null,[["outletState"],[[32,2]]],[["default"],[{"statements":[[1,[30,[36,1],[[30,[36,0],[[32,0,["outletName"]]],null]],null]]],"parameters":[]}]]]],"parameters":[2]}]]]],"parameters":[1]}]]]],"hasEval":false,"upvars":["-outlet","component","-with-dynamic-vars","hash","lf-lock-model","liquid-bind"]}',moduleName:"liquid-fire/templates/components/liquid-outlet.hbs"})
|
|
13096
13101
|
e.default=t})),define("liquid-fire/templates/components/liquid-spacer",["exports"],(function(e){"use strict"
|
|
13097
13102
|
Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
|
|
13098
13103
|
var t=Ember.HTMLBars.template({id:"4r1Z9TMa",block:'{"symbols":["&default"],"statements":[[8,"liquid-measured",[],[["@didMeasure"],[[30,[36,0],[[32,0],[32,0,["sizeChanged"]]],null]]],[["default"],[{"statements":[[2,"\\n "],[18,1,null],[2,"\\n"]],"parameters":[]}]]]],"hasEval":false,"upvars":["action"]}',moduleName:"liquid-fire/templates/components/liquid-spacer.hbs"})
|
|
13099
|
-
e.default=t}))
|
|
13100
|
-
define("liquid-fire/templates/components/liquid-sync",["exports"],(function(e){"use strict"
|
|
13104
|
+
e.default=t})),define("liquid-fire/templates/components/liquid-sync",["exports"],(function(e){"use strict"
|
|
13101
13105
|
Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
|
|
13102
13106
|
var t=Ember.HTMLBars.template({id:"vCTBflDV",block:'{"symbols":["&default"],"statements":[[18,1,[[30,[36,0],[[32,0],"ready"],null]]],[2,"\\n"]],"hasEval":false,"upvars":["action"]}',moduleName:"liquid-fire/templates/components/liquid-sync.hbs"})
|
|
13103
13107
|
e.default=t})),define("liquid-fire/templates/components/liquid-versions",["exports"],(function(e){"use strict"
|
|
@@ -13232,7 +13236,8 @@ e.css({position:"absolute",top:t.top,left:t.left,bottom:"",right:"",margin:"0px"
|
|
|
13232
13236
|
i="function"==typeof n.handler?n.handler:e.lookup(n.name)
|
|
13233
13237
|
return i.apply(this,n.args).finally((()=>{this.oldElement&&t&&(this.oldElement.remove(),t.css({visibility:"visible"}),t.find(".liquid-child").css({visibility:"visible"})),this.newElement&&r&&(this.newElement.remove(),r.css({visibility:"visible"}),r.find(".liquid-child").css({visibility:"visible"}))}))}})),define("perf-primitives/-constants",["exports"],(function(e){"use strict"
|
|
13234
13238
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
13235
|
-
e.SMALL_ARRAY_LENGTH=200,e.LARGE_ARRAY_LENGTH=64e3,e.UNDEFINED_KEY=Object.create(null)}))
|
|
13239
|
+
e.SMALL_ARRAY_LENGTH=200,e.LARGE_ARRAY_LENGTH=64e3,e.UNDEFINED_KEY=Object.create(null)}))
|
|
13240
|
+
define("perf-primitives/empty-object",["exports"],(function(e){"use strict"
|
|
13236
13241
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
13237
13242
|
const t=Object.create(null,{constructor:{value:void 0,enumerable:!1,writable:!0}})
|
|
13238
13243
|
function r(){}r.prototype=t,e.default=r})),define("perf-primitives/fast-array",["exports","perf-primitives/-constants"],(function(e,t){"use strict"
|
|
@@ -13246,8 +13251,7 @@ for(let r=0,i=0;r<this.length;r++,i++)this._data[r]!==t.UNDEFINED_KEY?n._data[i]
|
|
|
13246
13251
|
return n}push(e){let t=this.length++
|
|
13247
13252
|
return t===this._length&&(this._length*=2,this._data.length=this._length),this._data[t]=e,t}pop(){let e,r=--this.length
|
|
13248
13253
|
if(!(r<0))return e=this._data[r],e===t.UNDEFINED_KEY?this.pop():e
|
|
13249
|
-
this.length=0}}e.default=r}))
|
|
13250
|
-
define("perf-primitives/hash-map",["exports","perf-primitives/empty-object","perf-primitives/-constants"],(function(e,t,r){"use strict"
|
|
13254
|
+
this.length=0}}e.default=r})),define("perf-primitives/hash-map",["exports","perf-primitives/empty-object","perf-primitives/-constants"],(function(e,t,r){"use strict"
|
|
13251
13255
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
13252
13256
|
e.default=class{constructor(e){if(this._data=new t.default,e)for(let t=0;t<e.length;t++)this.data[e[t][0]]=e[t][1]}forEach(e){for(let t in this._data)this._data[t]!==r.UNDEFINED_KEY&&e(this._data[t],t)
|
|
13253
13257
|
return this}get(e){let t=this._data[e]
|
|
@@ -13320,4 +13324,4 @@ return void 0===n&&(n=(0,t.createStorage)(null,(()=>!1)),r.set(e,n)),n}dirtyStor
|
|
|
13320
13324
|
r&&(0,t.setValue)(r,null)}constructor(e){o(this,"storages",new WeakMap),o(this,"vals",void 0),this.vals=new WeakSet(e)}has(e){return(0,t.getValue)(this.storageFor(e)),this.vals.has(e)}add(e){return this.vals.add(e),this.dirtyStorageFor(e),this}delete(e){return this.dirtyStorageFor(e),this.vals.delete(e)}get[i](){return this.vals[Symbol.toStringTag]}}e.TrackedWeakSet=s,Object.setPrototypeOf(s.prototype,WeakSet.prototype)})),define("tracked-built-ins/index",["exports","tracked-built-ins/-private/decorator","tracked-built-ins/-private/array","tracked-built-ins/-private/object","tracked-built-ins/-private/map","tracked-built-ins/-private/set"],(function(e,t,r,n,i,o){"use strict"
|
|
13321
13325
|
Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"TrackedArray",{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(e,"TrackedMap",{enumerable:!0,get:function(){return i.TrackedMap}}),Object.defineProperty(e,"TrackedObject",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(e,"TrackedSet",{enumerable:!0,get:function(){return o.TrackedSet}}),Object.defineProperty(e,"TrackedWeakMap",{enumerable:!0,get:function(){return i.TrackedWeakMap}}),Object.defineProperty(e,"TrackedWeakSet",{enumerable:!0,get:function(){return o.TrackedWeakSet}}),Object.defineProperty(e,"tracked",{enumerable:!0,get:function(){return t.default}})}))
|
|
13322
13326
|
|
|
13323
|
-
//# sourceMappingURL=vendor-
|
|
13327
|
+
//# sourceMappingURL=vendor-45c4a02c5360deeb66a0438a8bc7c18e.map
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
<title>Ghost Admin</title>
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
<meta name="ghost-admin/config/environment" content="%7B%22modulePrefix%22%3A%22ghost-admin%22%2C%22environment%22%3A%22production%22%2C%22rootURL%22%3A%22%22%2C%22locationType%22%3A%22trailing-hash%22%2C%22EmberENV%22%3A%7B%22FEATURES%22%3A%7B%7D%2C%22EXTEND_PROTOTYPES%22%3A%7B%22Date%22%3Afalse%2C%22Array%22%3Atrue%2C%22String%22%3Atrue%2C%22Function%22%3Afalse%7D%2C%22_APPLICATION_TEMPLATE_WRAPPER%22%3Afalse%2C%22_JQUERY_INTEGRATION%22%3Atrue%2C%22_TEMPLATE_ONLY_GLIMMER_COMPONENTS%22%3Atrue%7D%2C%22APP%22%3A%7B%22version%22%3A%225.
|
|
11
|
+
<meta name="ghost-admin/config/environment" content="%7B%22modulePrefix%22%3A%22ghost-admin%22%2C%22environment%22%3A%22production%22%2C%22rootURL%22%3A%22%22%2C%22locationType%22%3A%22trailing-hash%22%2C%22EmberENV%22%3A%7B%22FEATURES%22%3A%7B%7D%2C%22EXTEND_PROTOTYPES%22%3A%7B%22Date%22%3Afalse%2C%22Array%22%3Atrue%2C%22String%22%3Atrue%2C%22Function%22%3Afalse%7D%2C%22_APPLICATION_TEMPLATE_WRAPPER%22%3Afalse%2C%22_JQUERY_INTEGRATION%22%3Atrue%2C%22_TEMPLATE_ONLY_GLIMMER_COMPONENTS%22%3Atrue%7D%2C%22APP%22%3A%7B%22version%22%3A%225.23%22%2C%22name%22%3A%22ghost-admin%22%7D%2C%22ember-simple-auth%22%3A%7B%7D%2C%22%40sentry%2Fember%22%3A%7B%22disablePerformance%22%3Atrue%2C%22sentry%22%3A%7B%7D%7D%2C%22ember-cli-mirage%22%3A%7B%22usingProxy%22%3Afalse%2C%22useDefaultPassthroughs%22%3Atrue%7D%2C%22exportApplicationGlobal%22%3Afalse%2C%22ember-load%22%3A%7B%22loadingIndicatorClass%22%3A%22ember-load-indicator%22%7D%7D" />
|
|
12
12
|
|
|
13
13
|
<meta name="HandheldFriendly" content="True" />
|
|
14
14
|
<meta name="MobileOptimized" content="320" />
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
</style>
|
|
38
38
|
|
|
39
39
|
<link integrity="" rel="stylesheet" href="assets/vendor-3e6947aa681f0fb82b193090e520dc73.css">
|
|
40
|
-
<link integrity="" rel="stylesheet" href="assets/ghost-
|
|
40
|
+
<link integrity="" rel="stylesheet" href="assets/ghost-bbf3150c788d19852f14fc518b8ebb93.css" title="light">
|
|
41
41
|
|
|
42
42
|
|
|
43
43
|
</head>
|
|
@@ -56,9 +56,9 @@
|
|
|
56
56
|
|
|
57
57
|
<div id="ember-basic-dropdown-wormhole"></div>
|
|
58
58
|
|
|
59
|
-
<script src="assets/vendor-
|
|
59
|
+
<script src="assets/vendor-45c4a02c5360deeb66a0438a8bc7c18e.js"></script>
|
|
60
60
|
<script src="assets/chunk.613.695f31829550fb00d43c.js"></script>
|
|
61
|
-
<script src="assets/chunk.143.
|
|
62
|
-
<script src="assets/ghost-
|
|
61
|
+
<script src="assets/chunk.143.3dccaccd501e94a38af6.js"></script>
|
|
62
|
+
<script src="assets/ghost-64c5f32d4052347eed1ae73909b526ef.js"></script>
|
|
63
63
|
</body>
|
|
64
64
|
</html>
|
|
@@ -108,7 +108,7 @@ allowedAMPAttributes = {
|
|
|
108
108
|
'amp-audio': ['src', 'width', 'height', 'autoplay', 'loop', 'muted', 'controls'],
|
|
109
109
|
'amp-iframe': ['src', 'srcdoc', 'width', 'height', 'layout', 'frameborder', 'allowfullscreen', 'allowtransparency',
|
|
110
110
|
'sandbox', 'referrerpolicy'],
|
|
111
|
-
'amp-youtube': ['src', '
|
|
111
|
+
'amp-youtube': ['src', 'layout', 'frameborder', 'autoplay', 'loop', 'data-videoid', 'data-live-channelid']
|
|
112
112
|
};
|
|
113
113
|
|
|
114
114
|
function getAmperizeHTML(html, post) {
|
|
@@ -182,6 +182,16 @@
|
|
|
182
182
|
amp-img img {
|
|
183
183
|
object-fit: cover;
|
|
184
184
|
}
|
|
185
|
+
|
|
186
|
+
amp-youtube {
|
|
187
|
+
height: calc(100vw / 1.78);
|
|
188
|
+
width: 100vw;
|
|
189
|
+
position: relative;
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
amp-youtube img {
|
|
193
|
+
position: absolute;
|
|
194
|
+
}
|
|
185
195
|
|
|
186
196
|
.page-header {
|
|
187
197
|
padding: 50px 5vmin 30px;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// Usage: `{{ghost_head}}`
|
|
3
3
|
//
|
|
4
4
|
// Outputs scripts and other assets at the top of a Ghost theme
|
|
5
|
-
const {metaData, settingsCache, config, blogIcon, urlUtils,
|
|
5
|
+
const {metaData, settingsCache, config, blogIcon, urlUtils, getFrontendKey} = require('../services/proxy');
|
|
6
6
|
const {escapeExpression, SafeString} = require('../services/handlebars');
|
|
7
7
|
|
|
8
8
|
// BAD REQUIRE
|
|
@@ -207,12 +207,6 @@ module.exports = async function ghost_head(options) { // eslint-disable-line cam
|
|
|
207
207
|
head.push('<meta name="generator" content="Ghost ' +
|
|
208
208
|
escapeExpression(safeVersion) + '" />');
|
|
209
209
|
|
|
210
|
-
// Ghost analytics tag
|
|
211
|
-
if (labs.isSet('membersActivity')) {
|
|
212
|
-
const postId = (dataRoot && dataRoot.post) ? dataRoot.post.id : '';
|
|
213
|
-
head.push(writeMetaTag('ghost-analytics-id', postId, 'name'));
|
|
214
|
-
}
|
|
215
|
-
|
|
216
210
|
head.push('<link rel="alternate" type="application/rss+xml" title="' +
|
|
217
211
|
escapeExpression(meta.site.title) + '" href="' +
|
|
218
212
|
escapeExpression(meta.rssUrl) + '" />');
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
const Promise = require('bluebird');
|
|
2
|
+
const moment = require('moment-timezone');
|
|
2
3
|
const dbBackup = require('../../data/db/backup');
|
|
3
4
|
const exporter = require('../../data/exporter');
|
|
4
5
|
const importer = require('../../data/importer');
|
|
5
6
|
const errors = require('@tryghost/errors');
|
|
6
7
|
const models = require('../../models');
|
|
8
|
+
const settingsCache = require('../../../shared/settings-cache');
|
|
7
9
|
|
|
8
10
|
module.exports = {
|
|
9
11
|
docName: 'db',
|
|
@@ -68,22 +70,26 @@ module.exports = {
|
|
|
68
70
|
},
|
|
69
71
|
|
|
70
72
|
importContent: {
|
|
73
|
+
statusCode(result) {
|
|
74
|
+
if (result && (result.db || result.problems)) {
|
|
75
|
+
return 200;
|
|
76
|
+
} else {
|
|
77
|
+
return 202;
|
|
78
|
+
}
|
|
79
|
+
},
|
|
71
80
|
headers: {
|
|
72
81
|
cacheInvalidate: true
|
|
73
82
|
},
|
|
74
|
-
options: [
|
|
75
|
-
'include'
|
|
76
|
-
],
|
|
77
|
-
validation: {
|
|
78
|
-
options: {
|
|
79
|
-
include: {
|
|
80
|
-
values: exporter.BACKUP_TABLES
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
},
|
|
84
83
|
permissions: true,
|
|
85
84
|
query(frame) {
|
|
86
|
-
|
|
85
|
+
const siteTimezone = settingsCache.get('timezone');
|
|
86
|
+
const importTag = `Import ${moment().tz(siteTimezone).format('YYYY-MM-DD HH:mm')}`;
|
|
87
|
+
return importer.importFromFile(frame.file, {
|
|
88
|
+
user: {
|
|
89
|
+
email: frame.user.get('email')
|
|
90
|
+
},
|
|
91
|
+
importTag
|
|
92
|
+
});
|
|
87
93
|
}
|
|
88
94
|
},
|
|
89
95
|
|
|
@@ -9,10 +9,13 @@ const allowedIncludes = [
|
|
|
9
9
|
'email',
|
|
10
10
|
'tiers',
|
|
11
11
|
'newsletter',
|
|
12
|
+
'count.conversions',
|
|
12
13
|
'count.signups',
|
|
13
14
|
'count.paid_conversions',
|
|
14
15
|
'count.clicks',
|
|
15
|
-
'sentiment'
|
|
16
|
+
'sentiment',
|
|
17
|
+
'count.positive_feedback',
|
|
18
|
+
'count.negative_feedback'
|
|
16
19
|
];
|
|
17
20
|
const unsafeAttrs = ['status', 'authors', 'visibility'];
|
|
18
21
|
|
|
@@ -6,7 +6,6 @@ const localUtils = require('../../index');
|
|
|
6
6
|
const mobiledoc = require('../../../../../lib/mobiledoc');
|
|
7
7
|
const postsMetaSchema = require('../../../../../data/schema').tables.posts_meta;
|
|
8
8
|
const clean = require('./utils/clean');
|
|
9
|
-
const labs = require('../../../../../../shared/labs');
|
|
10
9
|
|
|
11
10
|
function removeSourceFormats(frame) {
|
|
12
11
|
if (frame.options.formats?.includes('mobiledoc') || frame.options.formats?.includes('lexical')) {
|
|
@@ -22,11 +21,9 @@ function removeSourceFormats(frame) {
|
|
|
22
21
|
function mapWithRelated(frame) {
|
|
23
22
|
if (frame.options.withRelated) {
|
|
24
23
|
// Map sentiment to count.sentiment
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
});
|
|
29
|
-
}
|
|
24
|
+
frame.options.withRelated = frame.options.withRelated.map((relation) => {
|
|
25
|
+
return relation === 'sentiment' ? 'count.sentiment' : relation;
|
|
26
|
+
});
|
|
30
27
|
return;
|
|
31
28
|
}
|
|
32
29
|
}
|
|
@@ -44,11 +41,7 @@ function defaultRelations(frame) {
|
|
|
44
41
|
return false;
|
|
45
42
|
}
|
|
46
43
|
|
|
47
|
-
|
|
48
|
-
frame.options.withRelated = ['tags', 'authors', 'authors.roles', 'email', 'tiers', 'newsletter', 'count.conversions', 'count.clicks', 'count.sentiment', 'count.positive_feedback', 'count.negative_feedback'];
|
|
49
|
-
} else {
|
|
50
|
-
frame.options.withRelated = ['tags', 'authors', 'authors.roles', 'email', 'tiers', 'newsletter', 'count.signups', 'count.paid_conversions', 'count.clicks'];
|
|
51
|
-
}
|
|
44
|
+
frame.options.withRelated = ['tags', 'authors', 'authors.roles', 'email', 'tiers', 'newsletter', 'count.clicks'];
|
|
52
45
|
}
|
|
53
46
|
|
|
54
47
|
function setDefaultOrder(frame) {
|
|
@@ -20,15 +20,11 @@ module.exports = {
|
|
|
20
20
|
importContent(response, apiConfig, frame) {
|
|
21
21
|
debug('importContent');
|
|
22
22
|
|
|
23
|
-
// NOTE: response can contain 2 objects if images are imported
|
|
24
|
-
const problems = (response.length === 2)
|
|
25
|
-
? response[1].problems
|
|
26
|
-
: response[0].problems;
|
|
27
|
-
|
|
28
23
|
frame.response = {
|
|
29
|
-
db: []
|
|
30
|
-
problems: problems
|
|
24
|
+
db: []
|
|
31
25
|
};
|
|
26
|
+
|
|
27
|
+
frame.response.problems = response?.data?.problems ?? [];
|
|
32
28
|
},
|
|
33
29
|
|
|
34
30
|
deleteAllContent(response, apiConfig, frame) {
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
const debug = require('@tryghost/debug')('api:endpoints:utils:serializers:output:members');
|
|
3
3
|
const {unparse} = require('@tryghost/members-csv');
|
|
4
4
|
const mappers = require('./mappers');
|
|
5
|
+
const labs = require('../../../../../../shared/labs');
|
|
5
6
|
|
|
6
7
|
module.exports = {
|
|
7
8
|
browse: createSerializer('browse', paginatedMembers),
|
|
@@ -171,6 +172,10 @@ function serializeMember(member, options) {
|
|
|
171
172
|
delete subscription.price.product;
|
|
172
173
|
}
|
|
173
174
|
|
|
175
|
+
if (labs.isSet('suppressionList')) {
|
|
176
|
+
serialized.email_suppression = json.email_suppression;
|
|
177
|
+
}
|
|
178
|
+
|
|
174
179
|
if (json.newsletters) {
|
|
175
180
|
serialized.newsletters = json.newsletters
|
|
176
181
|
.filter(newsletter => newsletter.status === 'active')
|