ghost 6.0.7 → 6.0.8
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-i18n-6.0.8.tgz +0 -0
- package/core/built/admin/assets/admin-x-activitypub/admin-x-activitypub.js +2 -2
- package/core/built/admin/assets/admin-x-activitypub/{index-B-ckGCDl.mjs → index-1EXYCtPI.mjs} +13252 -12300
- package/core/built/admin/assets/admin-x-activitypub/{index-C81KQoIh.mjs → index-If44c6h0.mjs} +2 -2
- package/core/built/admin/assets/admin-x-settings/{CodeEditorView-BfL5FINN.mjs → CodeEditorView-CzXlGImM.mjs} +2 -2
- package/core/built/admin/assets/admin-x-settings/admin-x-settings.js +1 -1
- package/core/built/admin/assets/admin-x-settings/{index-Bmm3Xeuw.mjs → index-BgCSf8S1.mjs} +4 -5
- package/core/built/admin/assets/admin-x-settings/{index-DiNZ3HQD.mjs → index-D2pIApbM.mjs} +18 -11
- package/core/built/admin/assets/admin-x-settings/{index-C_ZS-INP.mjs → index-RKA3H0Lh.mjs} +2 -2
- package/core/built/admin/assets/admin-x-settings/{modals-BEiWgHsk.mjs → modals-D0f6kxWg.mjs} +8799 -8807
- package/core/built/admin/assets/{chunk.524.9f989b3664418d6271a7.js → chunk.524.099dcd3975a0e60c5579.js} +7 -7
- package/core/built/admin/assets/{chunk.582.2421014e45b977b43b68.js → chunk.582.6830378a89a17aeedd0b.js} +10 -10
- package/core/built/admin/assets/{ghost-182ed60de3f37fff8a40cdd65d3bd2ef.js → ghost-138bb4718f8b9d666bdd7a2b45330d58.js} +10 -11
- package/core/built/admin/assets/posts/posts.js +26648 -26478
- package/core/built/admin/assets/stats/stats.js +24477 -24344
- package/core/built/admin/index.html +3 -3
- package/core/frontend/helpers/ghost_head.js +9 -9
- package/core/frontend/public/ghost-stats.min.js +3 -3
- package/core/frontend/public/member-attribution.min.js +1 -1
- package/core/frontend/src/ghost-stats/ghost-stats.js +18 -4
- package/core/frontend/src/member-attribution/member-attribution.js +28 -18
- package/core/frontend/src/utils/url-attribution.js +53 -40
- package/core/server/api/endpoints/utils/serializers/input/posts.js +7 -5
- package/core/server/services/members/emails/signin.js +3 -2
- package/core/server/services/tinybird/TinybirdService.js +6 -1
- package/core/server/services/update-check/UpdateCheckService.js +1 -1
- package/package.json +5 -5
- package/tsconfig.tsbuildinfo +1 -1
- package/yarn.lock +331 -49
- package/components/tryghost-i18n-6.0.7.tgz +0 -0
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
var __ember_auto_import__;(()=>{var e,r={31048:()=>{},32186:e=>{"use strict"
|
|
2
|
-
e.exports=require("@ember/test-waiters")},
|
|
1
|
+
var __ember_auto_import__;(()=>{var e,r={1541:function(e,r){window._eai_r=require,window._eai_d=define},31048:()=>{},32186:e=>{"use strict"
|
|
2
|
+
e.exports=require("@ember/test-waiters")},51768:(e,r,n)=>{e.exports=function(){var e=_eai_d,r=_eai_r
|
|
3
|
+
function t(e){return e&&e.__esModule?e:Object.assign({default:e},e)}window.emberAutoImportDynamic=function(e){return 1===arguments.length?r("_eai_dyn_"+e):r("_eai_dynt_"+e)(Array.prototype.slice.call(arguments,1))},window.emberAutoImportSync=function(e){return r("_eai_sync_"+e)(Array.prototype.slice.call(arguments,1))},e("@sentry/browser",[],function(){return t(n(32314))}),e("@sentry/core",[],function(){return t(n(67723))}),e("@sentry/integrations",[],function(){return t(n(20080))}),e("@sentry/replay",[],function(){return t(n(51633))}),e("@sentry/utils",[],function(){return t(n(5423))}),e("@tryghost/color-utils",[],function(){return t(n(86797))}),e("@tryghost/kg-clean-basic-html",[],function(){return t(n(3414))}),e("@tryghost/kg-converters",[],function(){return t(n(23075))}),e("@tryghost/limit-service",[],function(){return t(n(55983))}),e("@tryghost/members-csv/lib/unparse",[],function(){return t(n(17246))}),e("@tryghost/nql",[],function(){return t(n(39365))}),e("@tryghost/nql-lang",[],function(){return t(n(716))}),e("@tryghost/string",[],function(){return t(n(96107))}),e("@tryghost/timezone-data",[],function(){return t(n(27019))}),e("animejs/lib/anime.es.js",[],function(){return t(n(62282))}),e("element-resize-detector",[],function(){return t(n(29540))}),e("ember-assign-helper/helpers/assign",[],function(){return t(n(31113))}),e("ember-css-transitions/modifiers/css-transition",["@ember/test-waiters"],function(){return t(n(95895))}),e("ember-keyboard/helpers/if-key.js",[],function(){return t(n(10530))}),e("ember-keyboard/helpers/on-key.js",[],function(){return t(n(13692))}),e("ember-keyboard/modifiers/on-key.js",[],function(){return t(n(40985))}),e("ember-keyboard/services/keyboard.js",[],function(){return t(n(89697))}),e("ember-modifier",[],function(){return t(n(37777))}),e("ember-moment/helpers/-base",[],function(){return t(n(91366))}),e("ember-moment/helpers/is-after",[],function(){return t(n(91461))}),e("ember-moment/helpers/is-before",[],function(){return t(n(61e3))}),e("ember-moment/helpers/is-between",[],function(){return t(n(447))}),e("ember-moment/helpers/is-same",[],function(){return t(n(64193))}),e("ember-moment/helpers/is-same-or-after",[],function(){return t(n(7916))}),e("ember-moment/helpers/is-same-or-before",[],function(){return t(n(54351))}),e("ember-moment/helpers/moment",[],function(){return t(n(41678))}),e("ember-moment/helpers/moment-add",[],function(){return t(n(50080))}),e("ember-moment/helpers/moment-calendar",[],function(){return t(n(96625))}),e("ember-moment/helpers/moment-diff",[],function(){return t(n(85340))}),e("ember-moment/helpers/moment-duration",[],function(){return t(n(42967))}),e("ember-moment/helpers/moment-format",[],function(){return t(n(10536))}),e("ember-moment/helpers/moment-from",[],function(){return t(n(50727))}),e("ember-moment/helpers/moment-from-now",[],function(){return t(n(706))}),e("ember-moment/helpers/moment-subtract",[],function(){return t(n(54651))}),e("ember-moment/helpers/moment-to",[],function(){return t(n(84818))}),e("ember-moment/helpers/moment-to-date",[],function(){return t(n(81183))}),e("ember-moment/helpers/moment-to-now",[],function(){return t(n(17083))}),e("ember-moment/helpers/now",[],function(){return t(n(34980))}),e("ember-moment/helpers/unix",[],function(){return t(n(79272))}),e("ember-moment/helpers/utc",[],function(){return t(n(36022))}),e("ember-moment/services/moment",[],function(){return t(n(39879))}),e("fast-deep-equal",[],function(){return t(n(25383))}),e("flexsearch",[],function(){return t(n(12248))}),e("focus-trap",[],function(){return t(n(39632))}),e("intersection-observer-admin",[],function(){return t(n(21431))}),e("microdiff",[],function(){return t(n(59086))}),e("moment-timezone",[],function(){return t(n(41101))}),e("papaparse",[],function(){return t(n(78695))}),e("raf-pool",[],function(){return t(n(60695))}),e("react",[],function(){return t(n(72854))}),e("react-dom",[],function(){return t(n(95303))}),e("react-dom/client",[],function(){return t(n(70816))}),e("semver/functions/coerce",[],function(){return t(n(18576))}),e("semver/functions/lt",[],function(){return t(n(32817))}),e("semver/functions/parse",[],function(){return t(n(47898))}),e("tooltip.js",[],function(){return t(n(85557))}),e("tracked-built-ins",["ember-tracked-storage-polyfill"],function(){return t(n(67708))}),e("validator",[],function(){return t(n(29119))}),e("_eai_dyn_@sentry/browser",[],function(){return Promise.resolve().then(n.bind(n,32314))})}()},56857:(e,r,n)=>{var t={"./af":58547,"./af.js":58547,"./ar":28167,"./ar-dz":35298,"./ar-dz.js":35298,"./ar-kw":11314,"./ar-kw.js":11314,"./ar-ly":66455,"./ar-ly.js":66455,"./ar-ma":15998,"./ar-ma.js":15998,"./ar-sa":55388,"./ar-sa.js":55388,"./ar-tn":73358,"./ar-tn.js":73358,"./ar.js":28167,"./az":92367,"./az.js":92367,"./be":9161,"./be.js":9161,"./bg":359,"./bg.js":359,"./bm":32625,"./bm.js":32625,"./bn":52984,"./bn.js":52984,"./bo":87343,"./bo.js":87343,"./br":87948,"./br.js":87948,"./bs":88211,"./bs.js":88211,"./ca":34700,"./ca.js":34700,"./cs":27430,"./cs.js":27430,"./cv":55913,"./cv.js":55913,"./cy":16004,"./cy.js":16004,"./da":26839,"./da.js":26839,"./de":22131,"./de-at":6729,"./de-at.js":6729,"./de-ch":74743,"./de-ch.js":74743,"./de.js":22131,"./dv":14598,"./dv.js":14598,"./el":38737,"./el.js":38737,"./en-SG":94978,"./en-SG.js":94978,"./en-au":22606,"./en-au.js":22606,"./en-ca":60052,"./en-ca.js":60052,"./en-gb":17305,"./en-gb.js":17305,"./en-ie":76390,"./en-ie.js":76390,"./en-il":89549,"./en-il.js":89549,"./en-nz":67584,"./en-nz.js":67584,"./eo":24408,"./eo.js":24408,"./es":45644,"./es-do":21888,"./es-do.js":21888,"./es-us":23537,"./es-us.js":23537,"./es.js":45644,"./et":27257,"./et.js":27257,"./eu":57002,"./eu.js":57002,"./fa":90241,"./fa.js":90241,"./fi":74009,"./fi.js":74009,"./fo":81267,"./fo.js":81267,"./fr":71160,"./fr-ca":39433,"./fr-ca.js":39433,"./fr-ch":20130,"./fr-ch.js":20130,"./fr.js":71160,"./fy":20553,"./fy.js":20553,"./ga":18232,"./ga.js":18232,"./gd":33771,"./gd.js":33771,"./gl":99747,"./gl.js":99747,"./gom-latn":80289,"./gom-latn.js":80289,"./gu":148,"./gu.js":148,"./he":68247,"./he.js":68247,"./hi":39835,"./hi.js":39835,"./hr":69734,"./hr.js":69734,"./hu":40999,"./hu.js":40999,"./hy-am":95002,"./hy-am.js":95002,"./id":23021,"./id.js":23021,"./is":96232,"./is.js":96232,"./it":15581,"./it-ch":4809,"./it-ch.js":4809,"./it.js":15581,"./ja":45981,"./ja.js":45981,"./jv":12568,"./jv.js":12568,"./ka":17924,"./ka.js":17924,"./kk":1062,"./kk.js":1062,"./km":65456,"./km.js":65456,"./kn":15817,"./kn.js":15817,"./ko":45306,"./ko.js":45306,"./ku":39016,"./ku.js":39016,"./ky":71308,"./ky.js":71308,"./lb":67330,"./lb.js":67330,"./lo":18949,"./lo.js":18949,"./lt":58804,"./lt.js":58804,"./lv":47006,"./lv.js":47006,"./me":83346,"./me.js":83346,"./mi":630,"./mi.js":630,"./mk":88876,"./mk.js":88876,"./ml":86841,"./ml.js":86841,"./mn":93847,"./mn.js":93847,"./mr":57515,"./mr.js":57515,"./ms":51844,"./ms-my":44391,"./ms-my.js":44391,"./ms.js":51844,"./mt":81969,"./mt.js":81969,"./my":34982,"./my.js":34982,"./nb":41632,"./nb.js":41632,"./ne":81781,"./ne.js":81781,"./nl":14910,"./nl-be":72506,"./nl-be.js":72506,"./nl.js":14910,"./nn":12980,"./nn.js":12980,"./pa-in":33791,"./pa-in.js":33791,"./pl":1872,"./pl.js":1872,"./pt":9064,"./pt-br":85273,"./pt-br.js":85273,"./pt.js":9064,"./ro":63167,"./ro.js":63167,"./ru":28649,"./ru.js":28649,"./sd":14823,"./sd.js":14823,"./se":90672,"./se.js":90672,"./si":26244,"./si.js":26244,"./sk":40654,"./sk.js":40654,"./sl":44335,"./sl.js":44335,"./sq":79116,"./sq.js":79116,"./sr":60693,"./sr-cyrl":1436,"./sr-cyrl.js":1436,"./sr.js":60693,"./ss":51734,"./ss.js":51734,"./sv":37945,"./sv.js":37945,"./sw":41514,"./sw.js":41514,"./ta":1991,"./ta.js":1991,"./te":95011,"./te.js":95011,"./tet":19463,"./tet.js":19463,"./tg":43109,"./tg.js":43109,"./th":97144,"./th.js":97144,"./tl-ph":70401,"./tl-ph.js":70401,"./tlh":26678,"./tlh.js":26678,"./tr":28682,"./tr.js":28682,"./tzl":59084,"./tzl.js":59084,"./tzm":64307,"./tzm-latn":68869,"./tzm-latn.js":68869,"./tzm.js":64307,"./ug-cn":78812,"./ug-cn.js":78812,"./uk":25812,"./uk.js":25812,"./ur":25411,"./ur.js":25411,"./uz":59435,"./uz-latn":94589,"./uz-latn.js":94589,"./uz.js":59435,"./vi":50569,"./vi.js":50569,"./x-pseudo":85241,"./x-pseudo.js":85241,"./yo":96972,"./yo.js":96972,"./zh-cn":18422,"./zh-cn.js":18422,"./zh-hk":84106,"./zh-hk.js":84106,"./zh-tw":69362,"./zh-tw.js":69362}
|
|
3
4
|
function s(e){var r=o(e)
|
|
4
5
|
return n(r)}function o(e){if(!n.o(t,e)){var r=new Error("Cannot find module '"+e+"'")
|
|
5
|
-
throw r.code="MODULE_NOT_FOUND",r}return t[e]}s.keys=function(){return Object.keys(t)},s.resolve=o,e.exports=s,s.id=56857},
|
|
6
|
-
function t(e){return e&&e.__esModule?e:Object.assign({default:e},e)}window.emberAutoImportDynamic=function(e){return 1===arguments.length?r("_eai_dyn_"+e):r("_eai_dynt_"+e)(Array.prototype.slice.call(arguments,1))},window.emberAutoImportSync=function(e){return r("_eai_sync_"+e)(Array.prototype.slice.call(arguments,1))},e("@sentry/browser",[],function(){return t(n(32314))}),e("@sentry/core",[],function(){return t(n(67723))}),e("@sentry/integrations",[],function(){return t(n(20080))}),e("@sentry/replay",[],function(){return t(n(51633))}),e("@sentry/utils",[],function(){return t(n(5423))}),e("@tryghost/color-utils",[],function(){return t(n(86797))}),e("@tryghost/kg-clean-basic-html",[],function(){return t(n(3414))}),e("@tryghost/kg-converters",[],function(){return t(n(23075))}),e("@tryghost/limit-service",[],function(){return t(n(55983))}),e("@tryghost/members-csv/lib/unparse",[],function(){return t(n(17246))}),e("@tryghost/nql",[],function(){return t(n(39365))}),e("@tryghost/nql-lang",[],function(){return t(n(716))}),e("@tryghost/string",[],function(){return t(n(96107))}),e("@tryghost/timezone-data",[],function(){return t(n(27019))}),e("animejs/lib/anime.es.js",[],function(){return t(n(62282))}),e("element-resize-detector",[],function(){return t(n(29540))}),e("ember-assign-helper/helpers/assign",[],function(){return t(n(31113))}),e("ember-css-transitions/modifiers/css-transition",["@ember/test-waiters"],function(){return t(n(95895))}),e("ember-keyboard/helpers/if-key.js",[],function(){return t(n(10530))}),e("ember-keyboard/helpers/on-key.js",[],function(){return t(n(13692))}),e("ember-keyboard/modifiers/on-key.js",[],function(){return t(n(40985))}),e("ember-keyboard/services/keyboard.js",[],function(){return t(n(89697))}),e("ember-modifier",[],function(){return t(n(37777))}),e("ember-moment/helpers/-base",[],function(){return t(n(91366))}),e("ember-moment/helpers/is-after",[],function(){return t(n(91461))}),e("ember-moment/helpers/is-before",[],function(){return t(n(61e3))}),e("ember-moment/helpers/is-between",[],function(){return t(n(447))}),e("ember-moment/helpers/is-same",[],function(){return t(n(64193))}),e("ember-moment/helpers/is-same-or-after",[],function(){return t(n(7916))}),e("ember-moment/helpers/is-same-or-before",[],function(){return t(n(54351))}),e("ember-moment/helpers/moment",[],function(){return t(n(41678))}),e("ember-moment/helpers/moment-add",[],function(){return t(n(50080))}),e("ember-moment/helpers/moment-calendar",[],function(){return t(n(96625))}),e("ember-moment/helpers/moment-diff",[],function(){return t(n(85340))}),e("ember-moment/helpers/moment-duration",[],function(){return t(n(42967))}),e("ember-moment/helpers/moment-format",[],function(){return t(n(10536))}),e("ember-moment/helpers/moment-from",[],function(){return t(n(50727))}),e("ember-moment/helpers/moment-from-now",[],function(){return t(n(706))}),e("ember-moment/helpers/moment-subtract",[],function(){return t(n(54651))}),e("ember-moment/helpers/moment-to",[],function(){return t(n(84818))}),e("ember-moment/helpers/moment-to-date",[],function(){return t(n(81183))}),e("ember-moment/helpers/moment-to-now",[],function(){return t(n(17083))}),e("ember-moment/helpers/now",[],function(){return t(n(34980))}),e("ember-moment/helpers/unix",[],function(){return t(n(79272))}),e("ember-moment/helpers/utc",[],function(){return t(n(36022))}),e("ember-moment/services/moment",[],function(){return t(n(39879))}),e("fast-deep-equal",[],function(){return t(n(25383))}),e("flexsearch",[],function(){return t(n(12248))}),e("focus-trap",[],function(){return t(n(39632))}),e("intersection-observer-admin",[],function(){return t(n(21431))}),e("microdiff",[],function(){return t(n(59086))}),e("moment-timezone",[],function(){return t(n(41101))}),e("papaparse",[],function(){return t(n(78695))}),e("raf-pool",[],function(){return t(n(60695))}),e("react",[],function(){return t(n(72854))}),e("react-dom",[],function(){return t(n(95303))}),e("react-dom/client",[],function(){return t(n(70816))}),e("semver/functions/coerce",[],function(){return t(n(18576))}),e("semver/functions/lt",[],function(){return t(n(32817))}),e("semver/functions/parse",[],function(){return t(n(47898))}),e("tooltip.js",[],function(){return t(n(85557))}),e("tracked-built-ins",["ember-tracked-storage-polyfill"],function(){return t(n(67708))}),e("validator",[],function(){return t(n(29119))}),e("_eai_dyn_@sentry/browser",[],function(){return Promise.resolve().then(n.bind(n,32314))})}()},80032:e=>{"use strict"
|
|
6
|
+
throw r.code="MODULE_NOT_FOUND",r}return t[e]}s.keys=function(){return Object.keys(t)},s.resolve=o,e.exports=s,s.id=56857},80032:e=>{"use strict"
|
|
7
7
|
e.exports=require("ember-tracked-storage-polyfill")},86625:()=>{}},n={}
|
|
8
8
|
function t(e){var s=n[e]
|
|
9
9
|
if(void 0!==s)return s.exports
|
|
@@ -21,8 +21,8 @@ var r=(r,n)=>{var s,o,[i,u,m]=n,a=0
|
|
|
21
21
|
if(i.some(r=>0!==e[r])){for(s in u)t.o(u,s)&&(t.m[s]=u[s])
|
|
22
22
|
if(m)var c=m(t)}for(r&&r(n);a<i.length;a++)o=i[a],t.o(e,o)&&e[o]&&e[o][0](),e[o]=0
|
|
23
23
|
return t.O(c)},n=globalThis.webpackChunk_ember_auto_import_=globalThis.webpackChunk_ember_auto_import_||[]
|
|
24
|
-
n.forEach(r.bind(null,0)),n.push=r.bind(null,n.push.bind(n))})(),t.O(void 0,[397],()=>t(t.s=
|
|
25
|
-
var s=t.O(void 0,[397],()=>t(t.s=
|
|
24
|
+
n.forEach(r.bind(null,0)),n.push=r.bind(null,n.push.bind(n))})(),t.O(void 0,[397],()=>t(t.s=1541))
|
|
25
|
+
var s=t.O(void 0,[397],()=>t(t.s=51768))
|
|
26
26
|
s=t.O(s),__ember_auto_import__=s})()
|
|
27
27
|
|
|
28
|
-
//# sourceMappingURL=chunk.524.
|
|
28
|
+
//# sourceMappingURL=chunk.524.099dcd3975a0e60c5579.map
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
var __ember_auto_import__;(()=>{var e,r={
|
|
2
|
-
var e=_eai_r
|
|
3
|
-
window.emberAutoImportDynamic=function(r){return 1===arguments.length?e("_eai_dyn_"+r):e("_eai_dynt_"+r)(Array.prototype.slice.call(arguments,1))},window.emberAutoImportSync=function(r){return e("_eai_sync_"+r)(Array.prototype.slice.call(arguments,1))},t(78166)}()},31048:()=>{},32186:e=>{"use strict"
|
|
4
|
-
e.exports=require("@ember/test-waiters")},45619:function(e,r){window._eai_r=require,window._eai_d=define},56857:(e,r,t)=>{var n={"./af":58547,"./af.js":58547,"./ar":28167,"./ar-dz":35298,"./ar-dz.js":35298,"./ar-kw":11314,"./ar-kw.js":11314,"./ar-ly":66455,"./ar-ly.js":66455,"./ar-ma":15998,"./ar-ma.js":15998,"./ar-sa":55388,"./ar-sa.js":55388,"./ar-tn":73358,"./ar-tn.js":73358,"./ar.js":28167,"./az":92367,"./az.js":92367,"./be":9161,"./be.js":9161,"./bg":359,"./bg.js":359,"./bm":32625,"./bm.js":32625,"./bn":52984,"./bn.js":52984,"./bo":87343,"./bo.js":87343,"./br":87948,"./br.js":87948,"./bs":88211,"./bs.js":88211,"./ca":34700,"./ca.js":34700,"./cs":27430,"./cs.js":27430,"./cv":55913,"./cv.js":55913,"./cy":16004,"./cy.js":16004,"./da":26839,"./da.js":26839,"./de":22131,"./de-at":6729,"./de-at.js":6729,"./de-ch":74743,"./de-ch.js":74743,"./de.js":22131,"./dv":14598,"./dv.js":14598,"./el":38737,"./el.js":38737,"./en-SG":94978,"./en-SG.js":94978,"./en-au":22606,"./en-au.js":22606,"./en-ca":60052,"./en-ca.js":60052,"./en-gb":17305,"./en-gb.js":17305,"./en-ie":76390,"./en-ie.js":76390,"./en-il":89549,"./en-il.js":89549,"./en-nz":67584,"./en-nz.js":67584,"./eo":24408,"./eo.js":24408,"./es":45644,"./es-do":21888,"./es-do.js":21888,"./es-us":23537,"./es-us.js":23537,"./es.js":45644,"./et":27257,"./et.js":27257,"./eu":57002,"./eu.js":57002,"./fa":90241,"./fa.js":90241,"./fi":74009,"./fi.js":74009,"./fo":81267,"./fo.js":81267,"./fr":71160,"./fr-ca":39433,"./fr-ca.js":39433,"./fr-ch":20130,"./fr-ch.js":20130,"./fr.js":71160,"./fy":20553,"./fy.js":20553,"./ga":18232,"./ga.js":18232,"./gd":33771,"./gd.js":33771,"./gl":99747,"./gl.js":99747,"./gom-latn":80289,"./gom-latn.js":80289,"./gu":148,"./gu.js":148,"./he":68247,"./he.js":68247,"./hi":39835,"./hi.js":39835,"./hr":69734,"./hr.js":69734,"./hu":40999,"./hu.js":40999,"./hy-am":95002,"./hy-am.js":95002,"./id":23021,"./id.js":23021,"./is":96232,"./is.js":96232,"./it":15581,"./it-ch":4809,"./it-ch.js":4809,"./it.js":15581,"./ja":45981,"./ja.js":45981,"./jv":12568,"./jv.js":12568,"./ka":17924,"./ka.js":17924,"./kk":1062,"./kk.js":1062,"./km":65456,"./km.js":65456,"./kn":15817,"./kn.js":15817,"./ko":45306,"./ko.js":45306,"./ku":39016,"./ku.js":39016,"./ky":71308,"./ky.js":71308,"./lb":67330,"./lb.js":67330,"./lo":18949,"./lo.js":18949,"./lt":58804,"./lt.js":58804,"./lv":47006,"./lv.js":47006,"./me":83346,"./me.js":83346,"./mi":630,"./mi.js":630,"./mk":88876,"./mk.js":88876,"./ml":86841,"./ml.js":86841,"./mn":93847,"./mn.js":93847,"./mr":57515,"./mr.js":57515,"./ms":51844,"./ms-my":44391,"./ms-my.js":44391,"./ms.js":51844,"./mt":81969,"./mt.js":81969,"./my":34982,"./my.js":34982,"./nb":41632,"./nb.js":41632,"./ne":81781,"./ne.js":81781,"./nl":14910,"./nl-be":72506,"./nl-be.js":72506,"./nl.js":14910,"./nn":12980,"./nn.js":12980,"./pa-in":33791,"./pa-in.js":33791,"./pl":1872,"./pl.js":1872,"./pt":9064,"./pt-br":85273,"./pt-br.js":85273,"./pt.js":9064,"./ro":63167,"./ro.js":63167,"./ru":28649,"./ru.js":28649,"./sd":14823,"./sd.js":14823,"./se":90672,"./se.js":90672,"./si":26244,"./si.js":26244,"./sk":40654,"./sk.js":40654,"./sl":44335,"./sl.js":44335,"./sq":79116,"./sq.js":79116,"./sr":60693,"./sr-cyrl":1436,"./sr-cyrl.js":1436,"./sr.js":60693,"./ss":51734,"./ss.js":51734,"./sv":37945,"./sv.js":37945,"./sw":41514,"./sw.js":41514,"./ta":1991,"./ta.js":1991,"./te":95011,"./te.js":95011,"./tet":19463,"./tet.js":19463,"./tg":43109,"./tg.js":43109,"./th":97144,"./th.js":97144,"./tl-ph":70401,"./tl-ph.js":70401,"./tlh":26678,"./tlh.js":26678,"./tr":28682,"./tr.js":28682,"./tzl":59084,"./tzl.js":59084,"./tzm":64307,"./tzm-latn":68869,"./tzm-latn.js":68869,"./tzm.js":64307,"./ug-cn":78812,"./ug-cn.js":78812,"./uk":25812,"./uk.js":25812,"./ur":25411,"./ur.js":25411,"./uz":59435,"./uz-latn":94589,"./uz-latn.js":94589,"./uz.js":59435,"./vi":50569,"./vi.js":50569,"./x-pseudo":85241,"./x-pseudo.js":85241,"./yo":96972,"./yo.js":96972,"./zh-cn":18422,"./zh-cn.js":18422,"./zh-hk":84106,"./zh-hk.js":84106,"./zh-tw":69362,"./zh-tw.js":69362}
|
|
1
|
+
var __ember_auto_import__;(()=>{var e,r={1541:function(e,r){window._eai_r=require,window._eai_d=define},31048:()=>{},32186:e=>{"use strict"
|
|
2
|
+
e.exports=require("@ember/test-waiters")},51768:(e,r,t)=>{e.exports=function(){var e=_eai_d,r=_eai_r
|
|
3
|
+
function n(e){return e&&e.__esModule?e:Object.assign({default:e},e)}window.emberAutoImportDynamic=function(e){return 1===arguments.length?r("_eai_dyn_"+e):r("_eai_dynt_"+e)(Array.prototype.slice.call(arguments,1))},window.emberAutoImportSync=function(e){return r("_eai_sync_"+e)(Array.prototype.slice.call(arguments,1))},e("@sentry/browser",EAI_DISCOVERED_EXTERNALS("@sentry/browser"),function(){return n(t(32314))}),e("@sentry/core",EAI_DISCOVERED_EXTERNALS("@sentry/core"),function(){return n(t(67723))}),e("@sentry/integrations",EAI_DISCOVERED_EXTERNALS("@sentry/integrations"),function(){return n(t(20080))}),e("@sentry/replay",EAI_DISCOVERED_EXTERNALS("@sentry/replay"),function(){return n(t(51633))}),e("@sentry/utils",EAI_DISCOVERED_EXTERNALS("@sentry/utils"),function(){return n(t(5423))}),e("@tryghost/color-utils",EAI_DISCOVERED_EXTERNALS("@tryghost/color-utils"),function(){return n(t(86797))}),e("@tryghost/kg-clean-basic-html",EAI_DISCOVERED_EXTERNALS("@tryghost/kg-clean-basic-html"),function(){return n(t(3414))}),e("@tryghost/kg-converters",EAI_DISCOVERED_EXTERNALS("@tryghost/kg-converters"),function(){return n(t(23075))}),e("@tryghost/limit-service",EAI_DISCOVERED_EXTERNALS("@tryghost/limit-service"),function(){return n(t(55983))}),e("@tryghost/members-csv/lib/unparse",EAI_DISCOVERED_EXTERNALS("@tryghost/members-csv/lib/unparse"),function(){return n(t(17246))}),e("@tryghost/nql",EAI_DISCOVERED_EXTERNALS("@tryghost/nql"),function(){return n(t(39365))}),e("@tryghost/nql-lang",EAI_DISCOVERED_EXTERNALS("@tryghost/nql-lang"),function(){return n(t(716))}),e("@tryghost/string",EAI_DISCOVERED_EXTERNALS("@tryghost/string"),function(){return n(t(96107))}),e("@tryghost/timezone-data",EAI_DISCOVERED_EXTERNALS("@tryghost/timezone-data"),function(){return n(t(27019))}),e("animejs/lib/anime.es.js",EAI_DISCOVERED_EXTERNALS("animejs/lib/anime.es.js"),function(){return n(t(62282))}),e("element-resize-detector",EAI_DISCOVERED_EXTERNALS("element-resize-detector"),function(){return n(t(29540))}),e("ember-assign-helper/helpers/assign",EAI_DISCOVERED_EXTERNALS("ember-assign-helper/helpers/assign"),function(){return n(t(31113))}),e("ember-css-transitions/modifiers/css-transition",EAI_DISCOVERED_EXTERNALS("ember-css-transitions/modifiers/css-transition"),function(){return n(t(95895))}),e("ember-keyboard/helpers/if-key.js",EAI_DISCOVERED_EXTERNALS("ember-keyboard/helpers/if-key.js"),function(){return n(t(10530))}),e("ember-keyboard/helpers/on-key.js",EAI_DISCOVERED_EXTERNALS("ember-keyboard/helpers/on-key.js"),function(){return n(t(13692))}),e("ember-keyboard/modifiers/on-key.js",EAI_DISCOVERED_EXTERNALS("ember-keyboard/modifiers/on-key.js"),function(){return n(t(40985))}),e("ember-keyboard/services/keyboard.js",EAI_DISCOVERED_EXTERNALS("ember-keyboard/services/keyboard.js"),function(){return n(t(89697))}),e("ember-modifier",EAI_DISCOVERED_EXTERNALS("ember-modifier"),function(){return n(t(37777))}),e("ember-moment/helpers/-base",EAI_DISCOVERED_EXTERNALS("ember-moment/helpers/-base"),function(){return n(t(91366))}),e("ember-moment/helpers/is-after",EAI_DISCOVERED_EXTERNALS("ember-moment/helpers/is-after"),function(){return n(t(91461))}),e("ember-moment/helpers/is-before",EAI_DISCOVERED_EXTERNALS("ember-moment/helpers/is-before"),function(){return n(t(61e3))}),e("ember-moment/helpers/is-between",EAI_DISCOVERED_EXTERNALS("ember-moment/helpers/is-between"),function(){return n(t(447))}),e("ember-moment/helpers/is-same",EAI_DISCOVERED_EXTERNALS("ember-moment/helpers/is-same"),function(){return n(t(64193))}),e("ember-moment/helpers/is-same-or-after",EAI_DISCOVERED_EXTERNALS("ember-moment/helpers/is-same-or-after"),function(){return n(t(7916))}),e("ember-moment/helpers/is-same-or-before",EAI_DISCOVERED_EXTERNALS("ember-moment/helpers/is-same-or-before"),function(){return n(t(54351))}),e("ember-moment/helpers/moment",EAI_DISCOVERED_EXTERNALS("ember-moment/helpers/moment"),function(){return n(t(41678))}),e("ember-moment/helpers/moment-add",EAI_DISCOVERED_EXTERNALS("ember-moment/helpers/moment-add"),function(){return n(t(50080))}),e("ember-moment/helpers/moment-calendar",EAI_DISCOVERED_EXTERNALS("ember-moment/helpers/moment-calendar"),function(){return n(t(96625))}),e("ember-moment/helpers/moment-diff",EAI_DISCOVERED_EXTERNALS("ember-moment/helpers/moment-diff"),function(){return n(t(85340))}),e("ember-moment/helpers/moment-duration",EAI_DISCOVERED_EXTERNALS("ember-moment/helpers/moment-duration"),function(){return n(t(42967))}),e("ember-moment/helpers/moment-format",EAI_DISCOVERED_EXTERNALS("ember-moment/helpers/moment-format"),function(){return n(t(10536))}),e("ember-moment/helpers/moment-from",EAI_DISCOVERED_EXTERNALS("ember-moment/helpers/moment-from"),function(){return n(t(50727))}),e("ember-moment/helpers/moment-from-now",EAI_DISCOVERED_EXTERNALS("ember-moment/helpers/moment-from-now"),function(){return n(t(706))}),e("ember-moment/helpers/moment-subtract",EAI_DISCOVERED_EXTERNALS("ember-moment/helpers/moment-subtract"),function(){return n(t(54651))}),e("ember-moment/helpers/moment-to",EAI_DISCOVERED_EXTERNALS("ember-moment/helpers/moment-to"),function(){return n(t(84818))}),e("ember-moment/helpers/moment-to-date",EAI_DISCOVERED_EXTERNALS("ember-moment/helpers/moment-to-date"),function(){return n(t(81183))}),e("ember-moment/helpers/moment-to-now",EAI_DISCOVERED_EXTERNALS("ember-moment/helpers/moment-to-now"),function(){return n(t(17083))}),e("ember-moment/helpers/now",EAI_DISCOVERED_EXTERNALS("ember-moment/helpers/now"),function(){return n(t(34980))}),e("ember-moment/helpers/unix",EAI_DISCOVERED_EXTERNALS("ember-moment/helpers/unix"),function(){return n(t(79272))}),e("ember-moment/helpers/utc",EAI_DISCOVERED_EXTERNALS("ember-moment/helpers/utc"),function(){return n(t(36022))}),e("ember-moment/services/moment",EAI_DISCOVERED_EXTERNALS("ember-moment/services/moment"),function(){return n(t(39879))}),e("fast-deep-equal",EAI_DISCOVERED_EXTERNALS("fast-deep-equal"),function(){return n(t(25383))}),e("flexsearch",EAI_DISCOVERED_EXTERNALS("flexsearch"),function(){return n(t(12248))}),e("focus-trap",EAI_DISCOVERED_EXTERNALS("focus-trap"),function(){return n(t(39632))}),e("intersection-observer-admin",EAI_DISCOVERED_EXTERNALS("intersection-observer-admin"),function(){return n(t(21431))}),e("microdiff",EAI_DISCOVERED_EXTERNALS("microdiff"),function(){return n(t(59086))}),e("moment-timezone",EAI_DISCOVERED_EXTERNALS("moment-timezone"),function(){return n(t(41101))}),e("papaparse",EAI_DISCOVERED_EXTERNALS("papaparse"),function(){return n(t(78695))}),e("raf-pool",EAI_DISCOVERED_EXTERNALS("raf-pool"),function(){return n(t(60695))}),e("react",EAI_DISCOVERED_EXTERNALS("react"),function(){return n(t(72854))}),e("react-dom",EAI_DISCOVERED_EXTERNALS("react-dom"),function(){return n(t(95303))}),e("react-dom/client",EAI_DISCOVERED_EXTERNALS("react-dom/client"),function(){return n(t(70816))}),e("semver/functions/coerce",EAI_DISCOVERED_EXTERNALS("semver/functions/coerce"),function(){return n(t(18576))}),e("semver/functions/lt",EAI_DISCOVERED_EXTERNALS("semver/functions/lt"),function(){return n(t(32817))}),e("semver/functions/parse",EAI_DISCOVERED_EXTERNALS("semver/functions/parse"),function(){return n(t(47898))}),e("tooltip.js",EAI_DISCOVERED_EXTERNALS("tooltip.js"),function(){return n(t(85557))}),e("tracked-built-ins",EAI_DISCOVERED_EXTERNALS("tracked-built-ins"),function(){return n(t(67708))}),e("validator",EAI_DISCOVERED_EXTERNALS("validator"),function(){return n(t(29119))}),e("_eai_dyn_@sentry/browser",[],function(){return Promise.resolve().then(t.bind(t,32314))})}()},56857:(e,r,t)=>{var n={"./af":58547,"./af.js":58547,"./ar":28167,"./ar-dz":35298,"./ar-dz.js":35298,"./ar-kw":11314,"./ar-kw.js":11314,"./ar-ly":66455,"./ar-ly.js":66455,"./ar-ma":15998,"./ar-ma.js":15998,"./ar-sa":55388,"./ar-sa.js":55388,"./ar-tn":73358,"./ar-tn.js":73358,"./ar.js":28167,"./az":92367,"./az.js":92367,"./be":9161,"./be.js":9161,"./bg":359,"./bg.js":359,"./bm":32625,"./bm.js":32625,"./bn":52984,"./bn.js":52984,"./bo":87343,"./bo.js":87343,"./br":87948,"./br.js":87948,"./bs":88211,"./bs.js":88211,"./ca":34700,"./ca.js":34700,"./cs":27430,"./cs.js":27430,"./cv":55913,"./cv.js":55913,"./cy":16004,"./cy.js":16004,"./da":26839,"./da.js":26839,"./de":22131,"./de-at":6729,"./de-at.js":6729,"./de-ch":74743,"./de-ch.js":74743,"./de.js":22131,"./dv":14598,"./dv.js":14598,"./el":38737,"./el.js":38737,"./en-SG":94978,"./en-SG.js":94978,"./en-au":22606,"./en-au.js":22606,"./en-ca":60052,"./en-ca.js":60052,"./en-gb":17305,"./en-gb.js":17305,"./en-ie":76390,"./en-ie.js":76390,"./en-il":89549,"./en-il.js":89549,"./en-nz":67584,"./en-nz.js":67584,"./eo":24408,"./eo.js":24408,"./es":45644,"./es-do":21888,"./es-do.js":21888,"./es-us":23537,"./es-us.js":23537,"./es.js":45644,"./et":27257,"./et.js":27257,"./eu":57002,"./eu.js":57002,"./fa":90241,"./fa.js":90241,"./fi":74009,"./fi.js":74009,"./fo":81267,"./fo.js":81267,"./fr":71160,"./fr-ca":39433,"./fr-ca.js":39433,"./fr-ch":20130,"./fr-ch.js":20130,"./fr.js":71160,"./fy":20553,"./fy.js":20553,"./ga":18232,"./ga.js":18232,"./gd":33771,"./gd.js":33771,"./gl":99747,"./gl.js":99747,"./gom-latn":80289,"./gom-latn.js":80289,"./gu":148,"./gu.js":148,"./he":68247,"./he.js":68247,"./hi":39835,"./hi.js":39835,"./hr":69734,"./hr.js":69734,"./hu":40999,"./hu.js":40999,"./hy-am":95002,"./hy-am.js":95002,"./id":23021,"./id.js":23021,"./is":96232,"./is.js":96232,"./it":15581,"./it-ch":4809,"./it-ch.js":4809,"./it.js":15581,"./ja":45981,"./ja.js":45981,"./jv":12568,"./jv.js":12568,"./ka":17924,"./ka.js":17924,"./kk":1062,"./kk.js":1062,"./km":65456,"./km.js":65456,"./kn":15817,"./kn.js":15817,"./ko":45306,"./ko.js":45306,"./ku":39016,"./ku.js":39016,"./ky":71308,"./ky.js":71308,"./lb":67330,"./lb.js":67330,"./lo":18949,"./lo.js":18949,"./lt":58804,"./lt.js":58804,"./lv":47006,"./lv.js":47006,"./me":83346,"./me.js":83346,"./mi":630,"./mi.js":630,"./mk":88876,"./mk.js":88876,"./ml":86841,"./ml.js":86841,"./mn":93847,"./mn.js":93847,"./mr":57515,"./mr.js":57515,"./ms":51844,"./ms-my":44391,"./ms-my.js":44391,"./ms.js":51844,"./mt":81969,"./mt.js":81969,"./my":34982,"./my.js":34982,"./nb":41632,"./nb.js":41632,"./ne":81781,"./ne.js":81781,"./nl":14910,"./nl-be":72506,"./nl-be.js":72506,"./nl.js":14910,"./nn":12980,"./nn.js":12980,"./pa-in":33791,"./pa-in.js":33791,"./pl":1872,"./pl.js":1872,"./pt":9064,"./pt-br":85273,"./pt-br.js":85273,"./pt.js":9064,"./ro":63167,"./ro.js":63167,"./ru":28649,"./ru.js":28649,"./sd":14823,"./sd.js":14823,"./se":90672,"./se.js":90672,"./si":26244,"./si.js":26244,"./sk":40654,"./sk.js":40654,"./sl":44335,"./sl.js":44335,"./sq":79116,"./sq.js":79116,"./sr":60693,"./sr-cyrl":1436,"./sr-cyrl.js":1436,"./sr.js":60693,"./ss":51734,"./ss.js":51734,"./sv":37945,"./sv.js":37945,"./sw":41514,"./sw.js":41514,"./ta":1991,"./ta.js":1991,"./te":95011,"./te.js":95011,"./tet":19463,"./tet.js":19463,"./tg":43109,"./tg.js":43109,"./th":97144,"./th.js":97144,"./tl-ph":70401,"./tl-ph.js":70401,"./tlh":26678,"./tlh.js":26678,"./tr":28682,"./tr.js":28682,"./tzl":59084,"./tzl.js":59084,"./tzm":64307,"./tzm-latn":68869,"./tzm-latn.js":68869,"./tzm.js":64307,"./ug-cn":78812,"./ug-cn.js":78812,"./uk":25812,"./uk.js":25812,"./ur":25411,"./ur.js":25411,"./uz":59435,"./uz-latn":94589,"./uz-latn.js":94589,"./uz.js":59435,"./vi":50569,"./vi.js":50569,"./x-pseudo":85241,"./x-pseudo.js":85241,"./yo":96972,"./yo.js":96972,"./zh-cn":18422,"./zh-cn.js":18422,"./zh-hk":84106,"./zh-hk.js":84106,"./zh-tw":69362,"./zh-tw.js":69362}
|
|
5
4
|
function s(e){var r=o(e)
|
|
6
5
|
return t(r)}function o(e){if(!t.o(n,e)){var r=new Error("Cannot find module '"+e+"'")
|
|
7
|
-
throw r.code="MODULE_NOT_FOUND",r}return n[e]}s.keys=function(){return Object.keys(n)},s.resolve=o,e.exports=s,s.id=56857},
|
|
8
|
-
|
|
9
|
-
e
|
|
6
|
+
throw r.code="MODULE_NOT_FOUND",r}return n[e]}s.keys=function(){return Object.keys(n)},s.resolve=o,e.exports=s,s.id=56857},80032:e=>{"use strict"
|
|
7
|
+
e.exports=require("ember-tracked-storage-polyfill")},86625:()=>{},98098:(e,r,t)=>{e.exports=function(){_eai_d
|
|
8
|
+
var e=_eai_r
|
|
9
|
+
window.emberAutoImportDynamic=function(r){return 1===arguments.length?e("_eai_dyn_"+r):e("_eai_dynt_"+r)(Array.prototype.slice.call(arguments,1))},window.emberAutoImportSync=function(r){return e("_eai_sync_"+r)(Array.prototype.slice.call(arguments,1))},t(51768)}()}},t={}
|
|
10
10
|
function n(e){var s=t[e]
|
|
11
11
|
if(void 0!==s)return s.exports
|
|
12
12
|
var o=t[e]={id:e,loaded:!1,exports:{}}
|
|
@@ -23,8 +23,8 @@ var r=(r,t)=>{var s,o,[m,E,i]=t,u=0
|
|
|
23
23
|
if(m.some(r=>0!==e[r])){for(s in E)n.o(E,s)&&(n.m[s]=E[s])
|
|
24
24
|
if(i)var a=i(n)}for(r&&r(t);u<m.length;u++)o=m[u],n.o(e,o)&&e[o]&&e[o][0](),e[o]=0
|
|
25
25
|
return n.O(a)},t=globalThis.webpackChunk_ember_auto_import_=globalThis.webpackChunk_ember_auto_import_||[]
|
|
26
|
-
t.forEach(r.bind(null,0)),t.push=r.bind(null,t.push.bind(t))})(),n.O(void 0,[397],()=>n(n.s=
|
|
27
|
-
var s=n.O(void 0,[397],()=>n(n.s=
|
|
26
|
+
t.forEach(r.bind(null,0)),t.push=r.bind(null,t.push.bind(t))})(),n.O(void 0,[397],()=>n(n.s=1541))
|
|
27
|
+
var s=n.O(void 0,[397],()=>n(n.s=98098))
|
|
28
28
|
s=n.O(s),__ember_auto_import__=s})()
|
|
29
29
|
|
|
30
|
-
//# sourceMappingURL=chunk.582.
|
|
30
|
+
//# sourceMappingURL=chunk.582.6830378a89a17aeedd0b.map
|
|
@@ -688,20 +688,20 @@ const a=Ember.HTMLBars.template({id:"HoiavaQO",block:'{"symbols":["api","&defaul
|
|
|
688
688
|
let s=(i=Ember.inject.service,r=class extends t.default{constructor(){var e,t,i,r
|
|
689
689
|
super(...arguments),e=this,t="dropdown",r=this,(i=n)&&Object.defineProperty(e,t,{enumerable:i.enumerable,configurable:i.configurable,writable:i.writable,value:i.initializer?i.initializer.call(r):void 0}),this.dropdown.on("close",this,this.close)}willDestroy(){this.dropdown.off("close",this,this.close)}},o=r.prototype,l="dropdown",u=[i],d={configurable:!0,enumerable:!0,writable:!0,initializer:null},p={},Object.keys(d).forEach(function(e){p[e]=d[e]}),p.enumerable=!!p.enumerable,p.configurable=!!p.configurable,("value"in p||p.initializer)&&(p.writable=!0),p=u.slice().reverse().reduce(function(e,t){return t(o,l,e)||e},p),c&&void 0!==p.initializer&&(p.value=p.initializer?p.initializer.call(c):void 0,p.initializer=void 0),n=void 0===p.initializer?(Object.defineProperty(o,l,p),null):p,r)
|
|
690
690
|
var o,l,u,d,c,p
|
|
691
|
-
e.default=Ember._setComponentTemplate(a,s)}),define("ghost-admin/components/gh-billing-iframe",["exports","@glimmer/component","ghost-admin/decorators/inject"],function(e,t,i){var r,n,a,s,o,l,u,d,c,p,m,h,b,f,g,v
|
|
692
|
-
function
|
|
691
|
+
e.default=Ember._setComponentTemplate(a,s)}),define("ghost-admin/components/gh-billing-iframe",["exports","@glimmer/component","ghost-admin/decorators/inject"],function(e,t,i){var r,n,a,s,o,l,u,d,c,p,m,h,b,f,g,v,y,w,E,k
|
|
692
|
+
function P(e,t,i,r){i&&Object.defineProperty(e,t,{enumerable:i.enumerable,configurable:i.configurable,writable:i.writable,value:i.initializer?i.initializer.call(r):void 0})}function _(e,t,i,r,n){var a={}
|
|
693
693
|
return Object.keys(r).forEach(function(e){a[e]=r[e]}),a.enumerable=!!a.enumerable,a.configurable=!!a.configurable,("value"in a||a.initializer)&&(a.writable=!0),a=i.slice().reverse().reduce(function(i,r){return r(e,t,i)||i},a),n&&void 0!==a.initializer&&(a.value=a.initializer?a.initializer.call(n):void 0,a.initializer=void 0),void 0===a.initializer?(Object.defineProperty(e,t,a),null):a}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
|
|
694
|
-
const
|
|
695
|
-
let
|
|
694
|
+
const O=Ember.HTMLBars.template({id:"ErYely0X",block:'{"symbols":["&attrs"],"statements":[[11,"iframe"],[24,1,"billing-frame"],[24,0,"billing-frame"],[24,"frameborder","0"],[24,"title","Billing"],[24,"allow","clipboard-write"],[17,1],[4,[38,0],[[32,0,["setup"]]],null],[12],[13]],"hasEval":false,"upvars":["did-insert"]}',moduleName:"ghost-admin/components/gh-billing-iframe.hbs"})
|
|
695
|
+
let j=e.default=(r=Ember.inject.service,n=Ember.inject.service,a=Ember.inject.service,s=Ember.inject.service,o=Ember.inject.service,l=Ember.inject.service,u=Ember.inject.service,d=Ember._tracked,c=Ember._action,p=Ember._action,m=class extends t.default{constructor(...e){super(...e),P(this,"ajax",h,this),P(this,"billing",b,this),P(this,"configManager",f,this),P(this,"ghostPaths",g,this),P(this,"limit",v,this),P(this,"notifications",y,this),P(this,"session",w,this),P(this,"config",E,this),P(this,"isOwner",k,this)}willDestroy(){super.willDestroy(...arguments),window.removeEventListener("message",this.handleIframeMessage)}setup(){this.billing.getBillingIframe().src=this.billing.getIframeURL(),window.addEventListener("message",this.handleIframeMessage)}async handleIframeMessage(e){this.isDestroyed||this.isDestroying||e?.data&&this.billing.getIframeURL().includes(e?.origin)&&("token"===e.data?.request&&this._handleTokenRequest(),"forceUpgradeInfo"===e.data?.request&&this._handleForceUpgradeRequest(),e.data?.subscription&&this._handleSubscriptionUpdate(e.data))}_handleTokenRequest(){const e=()=>{this.isOwner=!1,this.billing.getBillingIframe().contentWindow.postMessage({request:"token",response:null},"*")}
|
|
696
696
|
if(!this.session.user?.isOwnerOnly)return void e()
|
|
697
697
|
const t=this.ghostPaths.url.api("identities")
|
|
698
698
|
this.ajax.request(t).then(e=>{const t=e?.identities?.[0]?.token
|
|
699
699
|
this.billing.getBillingIframe().contentWindow.postMessage({request:"token",response:t},"*"),this.isOwner=!0}).catch(t=>{if("NoPermissionError"!==t.payload?.errors?.[0]?.type)throw t
|
|
700
700
|
e()})}_handleForceUpgradeRequest(){let e=null
|
|
701
701
|
const t=this.billing.ownerUser
|
|
702
|
-
t&&(e={name:t?.name,email:t?.email}),this.billing.getBillingIframe().contentWindow.postMessage({request:"forceUpgradeInfo",response:{forceUpgrade:this.config.hostSettings?.forceUpgrade,isOwner:this.isOwner,ownerUser:e}},"*")}_handleSubscriptionUpdate(e){if(this.billing.subscription=e.subscription,this.billing.checkoutRoute=e?.checkoutRoute??"/plans","active"===e.subscription.status&&this.config.hostSettings?.forceUpgrade&&(this.config.hostSettings.forceUpgrade=!1),"past_due"===e.subscription.status||"unpaid"===e.subscription.status?this.notifications.showAlert("Billing error: This site is queued for suspension. The owner of this site must update payment information.",{type:"error",key:"billing.overdue"}):this.notifications.closeAlerts("billing.overdue"),e?.exceededLimits&&e?.exceededLimits.length&&e?.exceededLimits.indexOf("members")>=0&&e?.checkoutRoute){const e=this.billing.billingRouteRoot+"?action=checkout"
|
|
703
|
-
this.notifications.showAlert(Ember.String.htmlSafe(`Your audience has grown! To continue publishing, the site owner must confirm pricing for this number of members <a href="${e}">here</a>`),{type:"warn",key:"billing.exceeded"})}else this.notifications.closeAlerts("billing.exceeded")}},
|
|
704
|
-
Ember._setComponentTemplate(
|
|
702
|
+
t&&(e={name:t?.name,email:t?.email}),this.billing.getBillingIframe().contentWindow.postMessage({request:"forceUpgradeInfo",response:{forceUpgrade:this.config.hostSettings?.forceUpgrade,isOwner:this.isOwner,ownerUser:e}},"*")}async _handleSubscriptionUpdate(e){try{await this.configManager.fetch()}catch(t){}if(this.limit.reload(),window?.adminXQueryClient?.invalidateQueries&&"function"==typeof window.adminXQueryClient.invalidateQueries)try{window.adminXQueryClient.invalidateQueries({queryKey:["ConfigResponseType"]}).catch(()=>{}),window.adminXQueryClient.invalidateQueries({queryKey:["SettingsResponseType"]}).catch(()=>{})}catch(i){window.adminXQueryClient.invalidateQueries(["ConfigResponseType"]).catch(()=>{}),window.adminXQueryClient.invalidateQueries(["SettingsResponseType"]).catch(()=>{})}if(this.billing.subscription=e.subscription,this.billing.checkoutRoute=e?.checkoutRoute??"/plans","active"===e.subscription.status&&this.config.hostSettings?.forceUpgrade&&(this.config.hostSettings.forceUpgrade=!1),"past_due"===e.subscription.status||"unpaid"===e.subscription.status?this.notifications.showAlert("Billing error: This site is queued for suspension. The owner of this site must update payment information.",{type:"error",key:"billing.overdue"}):this.notifications.closeAlerts("billing.overdue"),e?.exceededLimits&&e?.exceededLimits.length&&e?.exceededLimits.indexOf("members")>=0&&e?.checkoutRoute){const e=this.billing.billingRouteRoot+"?action=checkout"
|
|
703
|
+
this.notifications.showAlert(Ember.String.htmlSafe(`Your audience has grown! To continue publishing, the site owner must confirm pricing for this number of members <a href="${e}">here</a>`),{type:"warn",key:"billing.exceeded"})}else this.notifications.closeAlerts("billing.exceeded")}},h=_(m.prototype,"ajax",[r],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),b=_(m.prototype,"billing",[n],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),f=_(m.prototype,"configManager",[a],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),g=_(m.prototype,"ghostPaths",[s],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),v=_(m.prototype,"limit",[o],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),y=_(m.prototype,"notifications",[l],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),w=_(m.prototype,"session",[u],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),E=_(m.prototype,"config",[i.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),k=_(m.prototype,"isOwner",[d],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),_(m.prototype,"setup",[c],Object.getOwnPropertyDescriptor(m.prototype,"setup"),m.prototype),_(m.prototype,"handleIframeMessage",[p],Object.getOwnPropertyDescriptor(m.prototype,"handleIframeMessage"),m.prototype),m)
|
|
704
|
+
Ember._setComponentTemplate(O,j)}),define("ghost-admin/components/gh-billing-modal",["exports"],function(e){var t,i,r,n
|
|
705
705
|
function a(e,t,i,r,n){var a={}
|
|
706
706
|
return Object.keys(r).forEach(function(e){a[e]=r[e]}),a.enumerable=!!a.enumerable,a.configurable=!!a.configurable,("value"in a||a.initializer)&&(a.writable=!0),a=i.slice().reverse().reduce(function(i,r){return r(e,t,i)||i},a),n&&void 0!==a.initializer&&(a.value=a.initializer?a.initializer.call(n):void 0,a.initializer=void 0),void 0===a.initializer?(Object.defineProperty(e,t,a),null):a}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
|
|
707
707
|
const s=Ember.HTMLBars.template({id:"lzYnLSWw",block:'{"symbols":[],"statements":[[10,"div"],[15,0,[31,[[32,0,["visibilityClass"]]]]],[12],[2,"\\n "],[10,"div"],[14,0,"gh-billing-container"],[12],[2,"\\n "],[8,"gh-billing-iframe",[],[[],[]],[["default"],[{"statements":[],"parameters":[]}]]],[2,"\\n "],[13],[2,"\\n"],[13]],"hasEval":false,"upvars":[]}',moduleName:"ghost-admin/components/gh-billing-modal.hbs"})
|
|
@@ -4197,9 +4197,8 @@ return this.scriptPromises[e]=r,r}loadStyle(e,i,r=!1){return this.testing||docum
|
|
|
4197
4197
|
s.id=`${e}-styles`,s.rel=r?"alternate stylesheet":"stylesheet",s.href=`${t.default.cdnUrl?"":this.ghostPaths.adminRoot}${i}`,s.onload=()=>{s.onload=null,r&&(s.disabled=!0),n()},s.onerror=a,r&&(s.title=e),document.querySelector("head").appendChild(s)})}},a=u(n.prototype,"ajax",[i],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),s=u(n.prototype,"ghostPaths",[r],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),n)}),define("ghost-admin/services/limit",["exports","@tryghost/limit-service","ghost-admin/decorators/inject"],function(e,t,i){var r,n,a,s,o,l,u,d
|
|
4198
4198
|
function c(e,t,i,r){i&&Object.defineProperty(e,t,{enumerable:i.enumerable,configurable:i.configurable,writable:i.writable,value:i.initializer?i.initializer.call(r):void 0})}function p(e,t,i,r,n){var a={}
|
|
4199
4199
|
return Object.keys(r).forEach(function(e){a[e]=r[e]}),a.enumerable=!!a.enumerable,a.configurable=!!a.configurable,("value"in a||a.initializer)&&(a.writable=!0),a=i.slice().reverse().reduce(function(i,r){return r(e,t,i)||i},a),n&&void 0!==a.initializer&&(a.value=a.initializer?a.initializer.call(n):void 0,a.initializer=void 0),void 0===a.initializer?(Object.defineProperty(e,t,a),null):a}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
|
|
4200
|
-
class m{constructor({errorType:e,errorDetails:t,message:i}){this.errorType=e,this.errorDetails=t,this.message=i}}class h extends m{constructor(e){super(Object.assign({errorType:"IncorrectUsageError"},e))}}class b extends m{constructor(e){super(Object.assign({errorType:"HostLimitError"},e))}}e.default=(r=Ember.inject.service,n=Ember.inject.service,a=Ember.inject.service,s=class extends Ember.Service{constructor(){super(...arguments),c(this,"store",o,this),c(this,"membersStats",l,this),c(this,"membersCountCache",u,this),c(this,"config",d,this)
|
|
4201
|
-
|
|
4202
|
-
this.limiter=new t.default,i&&(e=!0===this.config.hostSettings?.billing?.enabled&&this.config.hostSettings?.billing?.url?this.config.hostSettings.billing?.url:"https://ghost.org/help/",this.limiter.loadLimits({limits:this.decorateWithCountQueries(i),helpLink:e,errors:{HostLimitError:b,IncorrectUsageError:h}}))}async checkWouldGoOverLimit(e,t={}){return this.limiter.checkWouldGoOverLimit(e,t)}decorateWithCountQueries(e){return e.staff&&(e.staff.currentCountQuery=Ember.run.bind(this,this.getStaffUsersCount)),e.members&&(e.members.currentCountQuery=Ember.run.bind(this,this.getMembersCount)),e.newsletters&&(e.newsletters.currentCountQuery=Ember.run.bind(this,this.getNewslettersCount)),e}async getStaffUsersCount(){return Ember.RSVP.hash({users:this.store.findAll("user",{reload:!0}),invites:this.store.findAll("invite",{reload:!0}),roles:this.store.findAll("role",{reload:!0})}).then(e=>{const t=e.users.filter(e=>"inactive"!==e.get("status")&&"Contributor"!==e.role.get("name")),i=e.invites.filter(e=>"Contributor"!==e.role.get("name"))
|
|
4200
|
+
class m{constructor({errorType:e,errorDetails:t,message:i}){this.errorType=e,this.errorDetails=t,this.message=i}}class h extends m{constructor(e){super(Object.assign({errorType:"IncorrectUsageError"},e))}}class b extends m{constructor(e){super(Object.assign({errorType:"HostLimitError"},e))}}e.default=(r=Ember.inject.service,n=Ember.inject.service,a=Ember.inject.service,s=class extends Ember.Service{constructor(){super(...arguments),c(this,"store",o,this),c(this,"membersStats",l,this),c(this,"membersCountCache",u,this),c(this,"config",d,this),this.limiter=new t.default,this.loadLimits()}async checkWouldGoOverLimit(e,t={}){return this.limiter.checkWouldGoOverLimit(e,t)}loadLimits(){let e,t=this.config.hostSettings?.limits
|
|
4201
|
+
t&&(e=!0===this.config.hostSettings?.billing?.enabled&&this.config.hostSettings?.billing?.url?this.config.hostSettings.billing?.url:"https://ghost.org/help/",this.limiter.loadLimits({limits:this.decorateWithCountQueries(t),helpLink:e,errors:{HostLimitError:b,IncorrectUsageError:h}}))}reload(){this.loadLimits()}decorateWithCountQueries(e){return e.staff&&(e.staff.currentCountQuery=Ember.run.bind(this,this.getStaffUsersCount)),e.members&&(e.members.currentCountQuery=Ember.run.bind(this,this.getMembersCount)),e.newsletters&&(e.newsletters.currentCountQuery=Ember.run.bind(this,this.getNewslettersCount)),e}async getStaffUsersCount(){return Ember.RSVP.hash({users:this.store.findAll("user",{reload:!0}),invites:this.store.findAll("invite",{reload:!0}),roles:this.store.findAll("role",{reload:!0})}).then(e=>{const t=e.users.filter(e=>"inactive"!==e.get("status")&&"Contributor"!==e.role.get("name")),i=e.invites.filter(e=>"Contributor"!==e.role.get("name"))
|
|
4203
4202
|
return t.length+i.length})}async getMembersCount(){return this.membersCountCache.count({})}async getNewslettersCount(){return(await this.store.query("newsletter",{filter:"status:active",limit:"all"})).length}},o=p(s.prototype,"store",[r],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),l=p(s.prototype,"membersStats",[n],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),u=p(s.prototype,"membersCountCache",[a],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),d=p(s.prototype,"config",[i.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),s)}),define("ghost-admin/services/liquid-fire-transitions",["exports","liquid-wormhole/services/liquid-fire-transitions"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})
|
|
4204
4203
|
define("ghost-admin/services/liquid-wormhole",["exports","liquid-wormhole/services/liquid-wormhole"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})}),define("ghost-admin/services/local-revisions",["exports","@sentry/ember","ghost-admin/config/environment","ember-concurrency"],function(e,t,i,r){var n,a,s,o
|
|
4205
4204
|
function l(e,t,i){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e
|
|
@@ -4841,4 +4840,4 @@ e.default=t.default.create({properties:["name","event","targetUrl","secret"],nam
|
|
|
4841
4840
|
e.default=Ember.Component.extend({})}),define("ghost-admin/config/environment",[],function(){try{var e="ghost-admin/config/environment",t=document.querySelector('meta[name="'+e+'"]').getAttribute("content"),i={default:JSON.parse(decodeURIComponent(t))}
|
|
4842
4841
|
return Object.defineProperty(i,"__esModule",{value:!0}),i}catch(r){throw new Error('Could not read config from meta tag with name "'+e+'".')}}),runningTests||require("ghost-admin/app").default.create({version:"6.0",name:"ghost-admin"})
|
|
4843
4842
|
|
|
4844
|
-
//# sourceMappingURL=ghost-
|
|
4843
|
+
//# sourceMappingURL=ghost-b07e5c4567e651423de6e2f1b88732e2.map
|