ghost 6.0.10 → 6.2.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/components/tryghost-i18n-6.2.0.tgz +0 -0
- package/core/built/admin/assets/admin-x-activitypub/admin-x-activitypub.js +1 -1
- package/core/built/admin/assets/admin-x-activitypub/{index-wBqnq7A5.mjs → index-DmCoswaX.mjs} +2 -2
- package/core/built/admin/assets/admin-x-activitypub/{index-XhNX0QuF.mjs → index-lT95Q15h.mjs} +8212 -8183
- package/core/built/admin/assets/admin-x-settings/{CodeEditorView-BDBDWpWl.mjs → CodeEditorView-UxqLGRTu.mjs} +3 -3
- package/core/built/admin/assets/admin-x-settings/admin-x-settings.js +1 -1
- package/core/built/admin/assets/admin-x-settings/{index-o4Q9MNrB.mjs → index-8WxO2QXI.mjs} +3017 -2827
- package/core/built/admin/assets/admin-x-settings/{index-DsbJfrQ7.mjs → index-B5r0jdJS.mjs} +95 -95
- package/core/built/admin/assets/admin-x-settings/{index-BB7hgOf0.mjs → index-Co907MFn.mjs} +2 -2
- package/core/built/admin/assets/admin-x-settings/{index-BgCSf8S1.mjs → index-DD3HKlR3.mjs} +306 -315
- package/core/built/admin/assets/admin-x-settings/{modals-CCpr5VWU.mjs → modals-B7j9sxR4.mjs} +8799 -8807
- package/core/built/admin/assets/{chunk.397.e5d027e53a68dff31d76.js → chunk.397.d5e25bb9baf088f52499.js} +2 -2
- package/core/built/admin/assets/{chunk.524.695215c994f8cbf547d3.js → chunk.524.70595796c7b8c6003a2d.js} +7 -7
- package/core/built/admin/assets/{chunk.582.a949b80543caba37906c.js → chunk.582.d9b970b71da671ac1b7b.js} +8 -8
- package/core/built/admin/assets/{ghost-9c608430440a10746540adb7d2cd0f31.js → ghost-2066304fd0b166e1c16d397dd73ef7b2.js} +39 -35
- package/core/built/admin/assets/ghost-49475952d56ffe89bd47ab9d9c64ada8.css +1 -0
- package/core/built/admin/assets/ghost-dark-27877727751b91f03261d449d74e33b9.css +1 -0
- package/core/built/admin/assets/posts/posts.js +27400 -27361
- package/core/built/admin/assets/stats/stats.js +28701 -28674
- package/core/built/admin/index.html +5 -5
- package/core/frontend/public/member-attribution.min.js +1 -1
- package/core/server/api/endpoints/search-index.js +2 -2
- package/core/server/api/endpoints/stats.js +10 -4
- package/core/server/data/migrations/utils/schema.js +11 -6
- package/core/server/data/migrations/versions/6.1/2025-09-11-00-38-13-add-uuid-column-to-tokens.js +8 -0
- package/core/server/data/migrations/versions/6.1/2025-09-11-00-39-08-backfill-tokens-uuid.js +19 -0
- package/core/server/data/migrations/versions/6.1/2025-09-11-00-39-36-tokens-drop-nullable-uuid.js +4 -0
- package/core/server/data/migrations/versions/6.2/2025-09-30-14-28-09-add-utm-fields.js +24 -0
- package/core/server/data/schema/commands.js +21 -6
- package/core/server/data/schema/schema.js +25 -0
- package/core/server/data/tinybird/datasources/_mv_hits.datasource +7 -4
- package/core/server/data/tinybird/endpoints/api_top_utm_campaigns.pipe +2 -8
- package/core/server/data/tinybird/endpoints/api_top_utm_contents.pipe +2 -8
- package/core/server/data/tinybird/endpoints/api_top_utm_mediums.pipe +2 -8
- package/core/server/data/tinybird/endpoints/api_top_utm_sources.pipe +2 -8
- package/core/server/data/tinybird/endpoints/api_top_utm_terms.pipe +2 -8
- package/core/server/data/tinybird/fixtures/analytics_events.ndjson +11 -11
- package/core/server/data/tinybird/pipes/mv_hits.pipe +12 -2
- package/core/server/data/tinybird/pipes/mv_session_data.pipe +16 -6
- package/core/server/data/tinybird/tests/api_top_utm_campaigns.yaml +35 -34
- package/core/server/data/tinybird/tests/api_top_utm_contents.yaml +57 -48
- package/core/server/data/tinybird/tests/api_top_utm_mediums.yaml +40 -38
- package/core/server/data/tinybird/tests/api_top_utm_sources.yaml +59 -39
- package/core/server/data/tinybird/tests/api_top_utm_terms.yaml +55 -48
- package/core/server/models/single-use-token.js +1 -0
- package/core/server/services/email-service/EmailRenderer.js +1 -0
- package/core/server/services/email-service/email-templates/template.hbs +6 -0
- package/core/server/services/lib/MailgunClient.js +4 -3
- package/core/server/services/lib/magic-link/MagicLink.js +9 -9
- package/core/server/services/mail/GhostMailer.js +4 -1
- package/core/server/services/members/MembersConfigProvider.js +0 -15
- package/core/server/services/members/SingleUseTokenProvider.js +8 -8
- package/core/server/services/members/emails/signin.js +4 -4
- package/core/server/services/stats/MrrStatsService.js +10 -5
- package/core/server/services/stats/StatsService.js +2 -2
- package/core/shared/config/defaults.json +1 -1
- package/package.json +9 -9
- package/tsconfig.tsbuildinfo +1 -1
- package/yarn.lock +1076 -495
- package/components/tryghost-i18n-6.0.10.tgz +0 -0
- package/core/built/admin/assets/ghost-a7a53bf80dc45c37ae9c174a0d02a882.css +0 -1
- package/core/built/admin/assets/ghost-dark-6e0062029f988d8676e87f22d8e7f4a3.css +0 -1
- /package/core/built/admin/assets/{chunk.397.e5d027e53a68dff31d76.js.LICENSE.txt → chunk.397.d5e25bb9baf088f52499.js.LICENSE.txt} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! For license information please see chunk.397.
|
|
1
|
+
/*! For license information please see chunk.397.d5e25bb9baf088f52499.js.LICENSE.txt */
|
|
2
2
|
(globalThis.webpackChunk_ember_auto_import_=globalThis.webpackChunk_ember_auto_import_||[]).push([[397],{129:(e,t,n)=>{"use strict"
|
|
3
3
|
n.d(t,{E0:()=>s,MI:()=>i,TC:()=>u,kM:()=>c,nc:()=>a})
|
|
4
4
|
var o=n(6073),r=n(28667)
|
|
@@ -13835,4 +13835,4 @@ e.exports=o},99573:e=>{"use strict"
|
|
|
13835
13835
|
e.exports=function(e){return Object.keys(Object(e))}},99747:function(e,t,n){!function(e){"use strict"
|
|
13836
13836
|
e.defineLocale("gl",{months:"xaneiro_febreiro_marzo_abril_maio_xuño_xullo_agosto_setembro_outubro_novembro_decembro".split("_"),monthsShort:"xan._feb._mar._abr._mai._xuñ._xul._ago._set._out._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"domingo_luns_martes_mércores_xoves_venres_sábado".split("_"),weekdaysShort:"dom._lun._mar._mér._xov._ven._sáb.".split("_"),weekdaysMin:"do_lu_ma_mé_xo_ve_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoxe "+(1!==this.hours()?"ás":"á")+"] LT"},nextDay:function(){return"[mañá "+(1!==this.hours()?"ás":"á")+"] LT"},nextWeek:function(){return"dddd ["+(1!==this.hours()?"ás":"a")+"] LT"},lastDay:function(){return"[onte "+(1!==this.hours()?"á":"a")+"] LT"},lastWeek:function(){return"[o] dddd [pasado "+(1!==this.hours()?"ás":"a")+"] LT"},sameElse:"L"},relativeTime:{future:function(e){return 0===e.indexOf("un")?"n"+e:"en "+e},past:"hai %s",s:"uns segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"unha hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(n(11507))},99824:e=>{e.exports=["Yao ","Yu ","Chong ","Xi ","Xi ","Jiu ","Yu ","Yu ","Xing ","Ju ","Jiu ","Xin ","She ","She ","Yadoru ","Jiu ","Shi ","Tan ","Shu ","Shi ","Tian ","Dan ","Pu ","Pu ","Guan ","Hua ","Tan ","Chuan ","Shun ","Xia ","Wu ","Zhou ","Dao ","Gang ","Shan ","Yi ","[?] ","Pa ","Tai ","Fan ","Ban ","Chuan ","Hang ","Fang ","Ban ","Que ","Hesaki ","Zhong ","Jian ","Cang ","Ling ","Zhu ","Ze ","Duo ","Bo ","Xian ","Ge ","Chuan ","Jia ","Lu ","Hong ","Pang ","Xi ","[?] ","Fu ","Zao ","Feng ","Li ","Shao ","Yu ","Lang ","Ting ","[?] ","Wei ","Bo ","Meng ","Nian ","Ju ","Huang ","Shou ","Zong ","Bian ","Mao ","Die ","[?] ","Bang ","Cha ","Yi ","Sao ","Cang ","Cao ","Lou ","Dai ","Sori ","Yao ","Tong ","Yofune ","Dang ","Tan ","Lu ","Yi ","Jie ","Jian ","Huo ","Meng ","Qi ","Lu ","Lu ","Chan ","Shuang ","Gen ","Liang ","Jian ","Jian ","Se ","Yan ","Fu ","Ping ","Yan ","Yan ","Cao ","Cao ","Yi ","Le ","Ting ","Qiu ","Ai ","Nai ","Tiao ","Jiao ","Jie ","Peng ","Wan ","Yi ","Chai ","Mian ","Mie ","Gan ","Qian ","Yu ","Yu ","Shuo ","Qiong ","Tu ","Xia ","Qi ","Mang ","Zi ","Hui ","Sui ","Zhi ","Xiang ","Bi ","Fu ","Tun ","Wei ","Wu ","Zhi ","Qi ","Shan ","Wen ","Qian ","Ren ","Fou ","Kou ","Jie ","Lu ","Xu ","Ji ","Qin ","Qi ","Yuan ","Fen ","Ba ","Rui ","Xin ","Ji ","Hua ","Hua ","Fang ","Wu ","Jue ","Gou ","Zhi ","Yun ","Qin ","Ao ","Chu ","Mao ","Ya ","Fei ","Reng ","Hang ","Cong ","Yin ","You ","Bian ","Yi ","Susa ","Wei ","Li ","Pi ","E ","Xian ","Chang ","Cang ","Meng ","Su ","Yi ","Yuan ","Ran ","Ling ","Tai ","Tiao ","Di ","Miao ","Qiong ","Li ","Yong ","Ke ","Mu ","Pei ","Bao ","Gou ","Min ","Yi ","Yi ","Ju ","Pi ","Ruo ","Ku ","Zhu ","Ni ","Bo ","Bing ","Shan ","Qiu ","Yao ","Xian ","Ben ","Hong ","Ying ","Zha ","Dong ","Ju ","Die ","Nie ","Gan ","Hu ","Ping ","Mei ","Fu ","Sheng ","Gu ","Bi ","Wei "]},99861:e=>{e.exports=function(e,t){return function(n){return e(t(n))}}}}])
|
|
13837
13837
|
|
|
13838
|
-
//# sourceMappingURL=chunk.397.
|
|
13838
|
+
//# sourceMappingURL=chunk.397.d5e25bb9baf088f52499.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
var __ember_auto_import__;(()=>{var e,r={
|
|
2
|
-
|
|
3
|
-
e.
|
|
1
|
+
var __ember_auto_import__;(()=>{var e,r={31048:()=>{},32186:e=>{"use strict"
|
|
2
|
+
e.exports=require("@ember/test-waiters")},50082:(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}
|
|
4
4
|
function s(e){var r=o(e)
|
|
5
5
|
return n(r)}function o(e){if(!n.o(t,e)){var r=new Error("Cannot find module '"+e+"'")
|
|
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"
|
|
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},72295:function(e,r){window._eai_r=require,window._eai_d=define},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=72295))
|
|
25
|
+
var s=t.O(void 0,[397],()=>t(t.s=50082))
|
|
26
26
|
s=t.O(s),__ember_auto_import__=s})()
|
|
27
27
|
|
|
28
|
-
//# sourceMappingURL=chunk.524.
|
|
28
|
+
//# sourceMappingURL=chunk.524.70595796c7b8c6003a2d.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
var __ember_auto_import__;(()=>{var e,r={
|
|
2
|
-
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))})}()},23303:(e,r,t)=>{e.exports=function(){_eai_d
|
|
1
|
+
var __ember_auto_import__;(()=>{var e,r={12732:(e,r,t)=>{e.exports=function(){_eai_d
|
|
3
2
|
var e=_eai_r
|
|
4
|
-
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(
|
|
5
|
-
e.exports=require("@ember/test-waiters")},
|
|
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(50082)}()},31048:()=>{},32186:e=>{"use strict"
|
|
4
|
+
e.exports=require("@ember/test-waiters")},50082:(e,r,t)=>{e.exports=function(){var e=_eai_d,r=_eai_r
|
|
5
|
+
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}
|
|
6
6
|
function s(e){var r=o(e)
|
|
7
7
|
return t(r)}function o(e){if(!t.o(n,e)){var r=new Error("Cannot find module '"+e+"'")
|
|
8
|
-
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"
|
|
8
|
+
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},72295:function(e,r){window._eai_r=require,window._eai_d=define},80032:e=>{"use strict"
|
|
9
9
|
e.exports=require("ember-tracked-storage-polyfill")},86625:()=>{}},t={}
|
|
10
10
|
function n(e){var s=t[e]
|
|
11
11
|
if(void 0!==s)return s.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=72295))
|
|
27
|
+
var s=n.O(void 0,[397],()=>n(n.s=12732))
|
|
28
28
|
s=n.O(s),__ember_auto_import__=s})()
|
|
29
29
|
|
|
30
|
-
//# sourceMappingURL=chunk.582.
|
|
30
|
+
//# sourceMappingURL=chunk.582.d9b970b71da671ac1b7b.map
|
|
@@ -691,14 +691,14 @@ e.default=Ember._setComponentTemplate(a,s)}),define("ghost-admin/components/gh-b
|
|
|
691
691
|
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={}
|
|
692
692
|
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
|
|
693
693
|
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"})
|
|
694
|
-
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},"*")}
|
|
694
|
+
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&&await this._handleSubscriptionUpdate(e.data))}_handleTokenRequest(){const e=()=>{this.isOwner=!1,this.billing.getBillingIframe().contentWindow.postMessage({request:"token",response:null},"*")}
|
|
695
695
|
if(!this.session.user?.isOwnerOnly)return void e()
|
|
696
696
|
const t=this.ghostPaths.url.api("identities")
|
|
697
697
|
this.ajax.request(t).then(e=>{const t=e?.identities?.[0]?.token
|
|
698
698
|
this.billing.getBillingIframe().contentWindow.postMessage({request:"token",response:t},"*"),this.isOwner=!0}).catch(t=>{if("NoPermissionError"!==t.payload?.errors?.[0]?.type)throw t
|
|
699
699
|
e()})}_handleForceUpgradeRequest(){let e=null
|
|
700
700
|
const t=this.billing.ownerUser
|
|
701
|
-
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.
|
|
701
|
+
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.refetchQueries({queryKey:["ConfigResponseType"]}).catch(()=>{}),window.adminXQueryClient.refetchQueries({queryKey:["SettingsResponseType"]}).catch(()=>{})}catch(i){window.adminXQueryClient.refetchQueries(["ConfigResponseType"]).catch(()=>{}),window.adminXQueryClient.refetchQueries(["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"
|
|
702
702
|
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)
|
|
703
703
|
Ember._setComponentTemplate(O,j)}),define("ghost-admin/components/gh-billing-modal",["exports"],function(e){var t,i,r,n
|
|
704
704
|
function a(e,t,i,r,n){var a={}
|
|
@@ -1381,7 +1381,7 @@ n(this.didEnterViewport.bind(this)),a(this.didExitViewport.bind(this)),this.args
|
|
|
1381
1381
|
Ember._setComponentTemplate(u,d)}),define("ghost-admin/components/gh-search-input",["exports","@glimmer/component"],function(e,t){var i,r,n,a,s,o,l
|
|
1382
1382
|
function u(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 d(e,t,i,r,n){var a={}
|
|
1383
1383
|
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
|
|
1384
|
-
const c=Ember.HTMLBars.template({id:"
|
|
1384
|
+
const c=Ember.HTMLBars.template({id:"P9iifeDx",block:'{"symbols":["name","select","&attrs"],"statements":[[11,"div"],[17,3],[12],[2,"\\n "],[10,"div"],[14,0,"ember-power-select-search"],[12],[2,"\\n "],[8,"power-select",[],[["@search","@onChange","@onClose","@placeholder","@searchEnabled","@triggerComponent","@renderInPlace","@loadingMessage","@extra"],[[30,[36,3],[[32,0,["search","searchTask"]]],null],[32,0,["openSelected"]],[32,0,["onClose"]],"Search site",false,[30,[36,4],["gh-input-with-select/trigger"],null],true,"Loading",[30,[36,5],null,[["autofocus","inputType","inputIcon","inputIconClass"],[true,"search","search","gh-nav-search-icon"]]]]],[["default"],[{"statements":[[2,"\\n "],[10,"div"],[14,0,"gh-nav-search-option"],[12],[2,"\\n "],[10,"div"],[12],[1,[30,[36,6],[[32,1,["title"]],[32,2,["searchText"]]],null]],[13],[2,"\\n"],[6,[37,1],[[30,[36,7],[[30,[36,0],[[32,1,["status"]],"draft"],null],[30,[36,0],[[32,1,["status"]],"scheduled"],null]],null]],null,[["default"],[{"statements":[[2," "],[10,"div"],[15,0,[31,["gh-nav-search-label ",[30,[36,1],[[30,[36,0],[[32,1,["status"]],"draft"],null],"draft"],null]," ",[30,[36,1],[[30,[36,0],[[32,1,["status"]],"scheduled"],null],"scheduled"],null]]]],[12],[1,[30,[36,2],[[32,1,["status"]]],null]],[13],[2,"\\n"]],"parameters":[]}]]],[2," "],[13],[2,"\\n "]],"parameters":[1,2]}]]],[2,"\\n "],[13],[2,"\\n"],[13]],"hasEval":false,"upvars":["eq","if","capitalize","perform","component","hash","highlighted-text","or"]}',moduleName:"ghost-admin/components/gh-search-input.hbs"})
|
|
1385
1385
|
let p=e.default=(i=Ember.inject.service,r=Ember.inject.service,n=Ember._action,a=Ember._action,s=class extends t.default{constructor(...e){super(...e),u(this,"router",o,this),u(this,"search",l,this)}openSelected(e){if(e){if(this.args.onSelected?.(e),"Posts"===e.groupName){let t=e.id.replace("post.","")
|
|
1386
1386
|
this.router.transitionTo("lexical-editor.edit","post",t)}if("Pages"===e.groupName){let t=e.id.replace("page.","")
|
|
1387
1387
|
this.router.transitionTo("lexical-editor.edit","page",t)}if("Staff"===e.groupName){let t=e.id.replace("user.","")
|
|
@@ -3980,7 +3980,7 @@ let e=this.config.hostSettings?.billing?.url
|
|
|
3980
3980
|
if(window.location.hash&&window.location.hash.includes(this.billingRouteRoot)){let t=window.location.hash.replace(this.billingRouteRoot,"")
|
|
3981
3981
|
t&&(e+=t)}return e}async getOwnerUser(){if(!this.ownerUser){let e=this.store.peekAll("user").findBy("isOwnerOnly",!0)
|
|
3982
3982
|
e||(await this.store.findAll("user",{reload:!0}),e=this.store.peekAll("user").findBy("isOwnerOnly",!0)),this.ownerUser=e}return this.ownerUser}sendRouteUpdate(){const e=this.action
|
|
3983
|
-
e&&("checkout"===e&&this.getBillingIframe().contentWindow.postMessage({query:"routeUpdate",response:this.checkoutRoute},"*"),this.action=null)}toggleProWindow(e){this.billingWindowOpen&&e&&!this.action||(this.sendRouteUpdate(),this.billingWindowOpen=e)}openBillingWindow(e,t){this.getOwnerUser(),this.billingWindowOpen||(this.previousRoute=e,window.location.hash=t||"/pro",this.sendRouteUpdate(),this.router.transitionTo(t||"/pro"))}getBillingIframe(){return document.getElementById("billing-frame")}},c=k(d.prototype,"ghostPaths",[i],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),p=k(d.prototype,"router",[r],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),m=k(d.prototype,"store",[n],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),h=k(d.prototype,"config",[t.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),b=k(d.prototype,"billingWindowOpen",[a],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),f=k(d.prototype,"subscription",[s],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),g=k(d.prototype,"previousRoute",[o],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),v=k(d.prototype,"action",[l],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),y=k(d.prototype,"ownerUser",[u],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),d)}),define("ghost-admin/services/clock",["exports","ghost-admin/config/environment","moment-timezone"],function(e,t,i){function r(e,t,i){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e
|
|
3983
|
+
e&&("checkout"===e&&this.getBillingIframe().contentWindow.postMessage({query:"routeUpdate",response:this.checkoutRoute},"*"),this.action=null)}sendUpdateLimits(){this.getBillingIframe().contentWindow.postMessage({query:"limitUpdate"},"*")}toggleProWindow(e){this.billingWindowOpen&&e&&!this.action||(this.sendRouteUpdate(),this.billingWindowOpen=e)}openBillingWindow(e,t){this.getOwnerUser(),this.billingWindowOpen||(this.previousRoute=e,window.location.hash=t||"/pro",this.sendRouteUpdate(),this.sendUpdateLimits(),this.router.transitionTo(t||"/pro"))}getBillingIframe(){return document.getElementById("billing-frame")}},c=k(d.prototype,"ghostPaths",[i],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),p=k(d.prototype,"router",[r],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),m=k(d.prototype,"store",[n],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),h=k(d.prototype,"config",[t.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),b=k(d.prototype,"billingWindowOpen",[a],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),f=k(d.prototype,"subscription",[s],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),g=k(d.prototype,"previousRoute",[o],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),v=k(d.prototype,"action",[l],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),y=k(d.prototype,"ownerUser",[u],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),d)}),define("ghost-admin/services/clock",["exports","ghost-admin/config/environment","moment-timezone"],function(e,t,i){function r(e,t,i){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e
|
|
3984
3984
|
var i=e[Symbol.toPrimitive]
|
|
3985
3985
|
if(void 0!==i){var r=i.call(e,t||"default")
|
|
3986
3986
|
if("object"!=typeof r)return r
|
|
@@ -4158,7 +4158,7 @@ try{return JSON.parse(e)||{}}catch(t){return{}}}get accessibility(){let e=this.g
|
|
|
4158
4158
|
try{return JSON.parse(e)||{}}catch(t){return{}}}fetch(){return this.settings.fetch().then(()=>(this.set("_user",this.session.user),this._setAdminTheme().then(()=>!0)))}update(e,t,i={}){let r=i.user?"accessibility":"labs",n=this.get(i.user?"_user":"settings"),a=this.get(r)
|
|
4159
4159
|
return Ember.set(a,e,t),i.requires&&!0===t&&i.requires.forEach(e=>{Ember.set(a,e,!0)}),n.set(r,JSON.stringify(a)),n.save().then(()=>(this.notifyPropertyChange(r),this.get(`${r}.${e}`))).catch(t=>{if(n.rollbackAttributes(),this.notifyPropertyChange(r),!t)throw new Ember.Error(`Validation of the feature service ${i.user?"user":"settings"} model failed when updating ${r}.`)
|
|
4160
4160
|
return this.notifications.showAPIError(t),this.get(`${r}.${e}`)})}_setAdminTheme(e){let i=e
|
|
4161
|
-
return void 0===i&&(i=e||this.nightShift),document.documentElement.classList.toggle("dark",i??!1),this.lazyLoader.loadStyle("dark","assets/ghost-dark-
|
|
4161
|
+
return void 0===i&&(i=e||this.nightShift),document.documentElement.classList.toggle("dark",i??!1),this.lazyLoader.loadStyle("dark","assets/ghost-dark-27877727751b91f03261d449d74e33b9.css",!0).then(()=>{(0,t.default)("link[title=dark]").prop("disabled",!i)}).catch(()=>{(0,t.default)("link[title=dark]").prop("disabled",!0),document.documentElement.classList.remove("dark")})}},z=Q(T.prototype,"lazyLoader",[r],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),x=Q(T.prototype,"notifications",[n],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),S=Q(T.prototype,"session",[a],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),C=Q(T.prototype,"settings",[s],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),M=Q(T.prototype,"store",[o],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),D=Q(T.prototype,"config",[i.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),A=Q(T.prototype,"emailAnalytics",[l],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),I=Q(T.prototype,"nightShift",[u],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),L=Q(T.prototype,"referralInviteDismissed",[d],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),N=Q(T.prototype,"audienceFeedback",[c],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),R=Q(T.prototype,"webmentions",[p],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),F=Q(T.prototype,"stripeAutomaticTax",[m],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),U=Q(T.prototype,"emailCustomization",[h],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),B=Q(T.prototype,"i18n",[b],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),H=Q(T.prototype,"announcementBar",[f],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),V=Q(T.prototype,"importMemberTier",[g],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),q=Q(T.prototype,"lexicalIndicators",[v],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),$=Q(T.prototype,"editorExcerpt",[y],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Y=Q(T.prototype,"contentVisibility",[w],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),W=Q(T.prototype,"contentVisibilityAlpha",[E],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),G=Q(T.prototype,"membersSigninOTC",[k],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),K=Q(T.prototype,"tagsX",[P],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),J=Q(T.prototype,"utmTracking",[_],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Q(T.prototype,"labs",[O],Object.getOwnPropertyDescriptor(T.prototype,"labs"),T.prototype),Q(T.prototype,"accessibility",[j],Object.getOwnPropertyDescriptor(T.prototype,"accessibility"),T.prototype),T)}),define("ghost-admin/services/frontend",["exports","fetch","validator","ghost-admin/decorators/inject"],function(e,t,i,r){var n,a,s,o,l,u
|
|
4162
4162
|
function d(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 c(e,t,i){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e
|
|
4163
4163
|
var i=e[Symbol.toPrimitive]
|
|
4164
4164
|
if(void 0!==i){var r=i.call(e,t||"default")
|
|
@@ -4424,38 +4424,38 @@ e.forEach(e=>{const t=n[e.id]
|
|
|
4424
4424
|
t&&(a[e.uuid]={free:t.free_members||0,paid:t.paid_members||0})}),this.memberCounts={...this.memberCounts,...a}}catch(t){e.forEach(e=>this._fetchedMemberIds.delete(e.id)),this.memberCounts=this.memberCounts||{}}}},u=g(l.prototype,"ajax",[i],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),d=g(l.prototype,"ghostPaths",[r],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),c=g(l.prototype,"feature",[n],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),p=g(l.prototype,"settings",[a],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),m=g(l.prototype,"visitorCounts",[s],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return{}}}),h=g(l.prototype,"memberCounts",[o],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return{}}}),g(l.prototype,"_loadVisitorCounts",[t.task],Object.getOwnPropertyDescriptor(l.prototype,"_loadVisitorCounts"),l.prototype),g(l.prototype,"_loadMemberCounts",[t.task],Object.getOwnPropertyDescriptor(l.prototype,"_loadMemberCounts"),l.prototype),l)}),define("ghost-admin/services/power-calendar",["exports","ember-power-calendar/services/power-calendar"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})}),define("ghost-admin/services/resize-detector",["exports","element-resize-detector"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
|
|
4425
4425
|
class i extends Ember.Service{constructor(){super(...arguments),this.detector=(0,t.default)({strategy:"scroll"})}setup(e,t){const i="string"==typeof e?document.querySelector(e):e
|
|
4426
4426
|
i||console.error(`service:resize-detector - could not find element matching ${e}`),this.detector.listenTo(i,t)}teardown(e,t){const i="string"==typeof e?document.querySelector(e):e
|
|
4427
|
-
i&&this.detector.removeListener(i,t)}}e.default=i}),define("ghost-admin/services/search-provider-basic",["exports","ember-inflector","ember-concurrency"],function(e,t,i){var
|
|
4428
|
-
function
|
|
4427
|
+
i&&this.detector.removeListener(i,t)}}e.default=i}),define("ghost-admin/services/search-provider-basic",["exports","ghost-admin/utils/search","ember-inflector","ember-concurrency"],function(e,t,i,r){var n,a,s,o,l,u,d
|
|
4428
|
+
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){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e
|
|
4429
4429
|
var i=e[Symbol.toPrimitive]
|
|
4430
4430
|
if(void 0!==i){var r=i.call(e,t||"default")
|
|
4431
4431
|
if("object"!=typeof r)return r
|
|
4432
4432
|
throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string")
|
|
4433
|
-
return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}function
|
|
4434
|
-
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=
|
|
4435
|
-
|
|
4436
|
-
|
|
4437
|
-
return
|
|
4438
|
-
|
|
4439
|
-
Ember.
|
|
4440
|
-
try{
|
|
4441
|
-
|
|
4442
|
-
i
|
|
4443
|
-
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 m(e,t){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.add(e)}function h(e,t,i){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e
|
|
4433
|
+
return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}function m(e,t,i,r,n){var a={}
|
|
4434
|
+
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
|
|
4435
|
+
e.default=(n=Ember.inject.service,a=Ember.inject.service,s=Ember.inject.service,o=class extends Ember.Service{constructor(...e){super(...e),c(this,"ajax",l,this),c(this,"notifications",u,this),c(this,"ghostPaths",d,this),p(this,"content",[])}*searchTask(e){const i=e.toString().toLowerCase(),r=[]
|
|
4436
|
+
return t.SEARCHABLES.forEach(e=>{let n=this.content.filter(t=>{const r=t.title.toString().toLowerCase()
|
|
4437
|
+
return t.groupName===e.name&&r.indexOf(i)>=0})
|
|
4438
|
+
n=(0,t.sortSearchResultsByStatus)(n,e.model),Ember.isEmpty(n)||r.push({groupName:e.name,options:n})}),r}*refreshContentTask(){const e=[],i=t.SEARCHABLES.map(t=>this._loadSearchable(t,e))
|
|
4439
|
+
try{yield Ember.RSVP.all(i),this.content=e}catch(r){console.error(r)}}async _loadSearchable(e,r){const n=this.ghostPaths.url.api(`search-index/${(0,i.pluralize)(e.model)}`),a={}
|
|
4440
|
+
try{const s=(await this.ajax.request(n,{data:a}))[(0,i.pluralize)(e.model)].map(i=>(0,t.createSearchResult)(e,i))
|
|
4441
|
+
r.push(...s)}catch(s){console.error(s),this.notifications.showAPIError(s,{key:`search.load${e.name}.error`})}}},l=m(o.prototype,"ajax",[n],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),u=m(o.prototype,"notifications",[a],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),d=m(o.prototype,"ghostPaths",[s],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),m(o.prototype,"searchTask",[r.task],Object.getOwnPropertyDescriptor(o.prototype,"searchTask"),o.prototype),m(o.prototype,"refreshContentTask",[r.task],Object.getOwnPropertyDescriptor(o.prototype,"refreshContentTask"),o.prototype),o)}),define("ghost-admin/services/search-provider-flex",["exports","flexsearch","ghost-admin/utils/search","ember-inflector","ember-concurrency"],function(e,t,i,r,n){var a,s,o,l,u,d,c,p
|
|
4442
|
+
function m(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 h(e,t){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.add(e)}function b(e,t,i){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e
|
|
4444
4443
|
var i=e[Symbol.toPrimitive]
|
|
4445
4444
|
if(void 0!==i){var r=i.call(e,t||"default")
|
|
4446
4445
|
if("object"!=typeof r)return r
|
|
4447
4446
|
throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string")
|
|
4448
|
-
return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}function
|
|
4449
|
-
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=
|
|
4450
|
-
const{Document:
|
|
4451
|
-
e.default=(
|
|
4452
|
-
return
|
|
4453
|
-
|
|
4454
|
-
n.
|
|
4455
|
-
|
|
4456
|
-
|
|
4457
|
-
|
|
4458
|
-
|
|
4447
|
+
return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}function f(e,t,i,r,n){var a={}
|
|
4448
|
+
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
|
|
4449
|
+
const{Document:g}=t.default
|
|
4450
|
+
e.default=(a=Ember.inject.service,s=Ember.inject.service,o=Ember.inject.service,p=new WeakSet,l=class extends Ember.Service{constructor(...e){super(...e),h(this,p),m(this,"ajax",u,this),m(this,"notifications",d,this),m(this,"ghostPaths",c,this),b(this,"indexes",i.SEARCHABLES.reduce((e,t)=>(e[t.model]=new g({tokenize:"forward",document:{id:"id",index:t.index,store:!0}}),e),{}))}*searchTask(e){const t=[]
|
|
4451
|
+
return i.SEARCHABLES.forEach(r=>{const n=this.indexes[r.model].search(e,{enrich:!0}),a=new Set
|
|
4452
|
+
let s=[]
|
|
4453
|
+
n.forEach(e=>{e.result.forEach(e=>{const{id:t,doc:n}=e
|
|
4454
|
+
a.has(t)||(a.add(t),s.push((0,i.createSearchResult)(r,n)))})}),s=(0,i.sortSearchResultsByStatus)(s,r.model),Ember.isEmpty(s)||t.push({groupName:r.name,options:s})}),t}*refreshContentTask(){try{const e=i.SEARCHABLES.map(e=>function(e,t,i){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:i
|
|
4455
|
+
throw new TypeError("Private element is not present on this object")}(p,this,v).call(this,e))
|
|
4456
|
+
yield Ember.RSVP.all(e)}catch(e){console.error(e)}}},u=f(l.prototype,"ajax",[a],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),d=f(l.prototype,"notifications",[s],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),c=f(l.prototype,"ghostPaths",[o],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),f(l.prototype,"searchTask",[n.task],Object.getOwnPropertyDescriptor(l.prototype,"searchTask"),l.prototype),f(l.prototype,"refreshContentTask",[n.task],Object.getOwnPropertyDescriptor(l.prototype,"refreshContentTask"),l.prototype),l)
|
|
4457
|
+
async function v(e){const t=this.ghostPaths.url.api(`search-index/${(0,r.pluralize)(e.model)}`),i={}
|
|
4458
|
+
try{(await this.ajax.request(t,{data:i}))[(0,r.pluralize)(e.model)].forEach(t=>{this.indexes[e.model].add(t)})}catch(n){console.error(n),this.notifications.showAPIError(n,{key:`search.load${e.name}.error`})}}}),define("ghost-admin/services/search",["exports","ember-concurrency"],function(e,t){var i,r,n,a,s,o,l,u,d,c,p,m,h,b,f,g,v,y
|
|
4459
4459
|
function w(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(e,t,i){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e
|
|
4460
4460
|
var i=e[Symbol.toPrimitive]
|
|
4461
4461
|
if(void 0!==i){var r=i.call(e,t||"default")
|
|
@@ -4738,7 +4738,11 @@ try{return yield this.post.save({adapterOptions:t})}catch(i){throw this._revertM
|
|
|
4738
4738
|
try{return this.post.isScheduled&&(this.post.publishedAtUTC=null),this.post.status="draft",this.post.emailOnly=!1,yield this.post.save()}catch(i){throw this.post.status=e,this.post.publishedAtUTC=t,i}}_applyModelChanges(){const e=this.willEmail
|
|
4739
4739
|
if(this._originalModelValues={},!this.post.isDraft)return;["status","publishedAtUTC","emailOnly"].forEach(e=>{this._originalModelValues[e]=this.post[e]}),this.post.status=this.isScheduled?"scheduled":"published",this.isScheduled&&(this.post.publishedAtUTC=this.scheduledAtUTC),e&&(this.post.emailOnly="send"===this.publishType)}_revertModelChanges(){Object.keys(this._originalModelValues).forEach(e=>{this.post[e]=this._originalModelValues[e]})}async _checkSendingLimit(){await this.settings.reload()
|
|
4740
4740
|
try{this.limit.limiter&&this.limit.limiter.isLimited("emails")?await this.limit.limiter.errorIfWouldGoOverLimit("emails"):this.settings.emailVerificationRequired&&(this.emailDisabledError="Email sending is temporarily disabled because your account is currently in review. You should have an email about this from us already, but you can also reach us any time at support@ghost.org.")}catch(e){this.emailDisabledError=e.message}}async _checkPublishingLimit(){if(this.user.isAdmin)try{this.limit.limiter?.isLimited("members")&&await this.limit.limiter.errorIfIsOverLimit("members")}catch(e){const t=Ember.String.htmlSafe(e.message.replace(/please upgrade/i,'<a href="#/pro">$&</a>'))
|
|
4741
|
-
this.publishDisabledError=t}}}).prototype,"publishDisabledError",[r],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),E=S(y.prototype,"totalMemberCount",[n],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),k=S(y.prototype,"isScheduled",[a],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),P=S(y.prototype,"scheduledAtUTC",[s],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return this.minScheduledAt}}),S(y.prototype,"toggleScheduled",[o],Object.getOwnPropertyDescriptor(y.prototype,"toggleScheduled"),y.prototype),S(y.prototype,"setScheduledAt",[l],Object.getOwnPropertyDescriptor(y.prototype,"setScheduledAt"),y.prototype),S(y.prototype,"resetPastScheduledAt",[u],Object.getOwnPropertyDescriptor(y.prototype,"resetPastScheduledAt"),y.prototype),_=S(y.prototype,"publishType",[d],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return"publish+send"}}),O=S(y.prototype,"emailDisabledError",[c],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),S(y.prototype,"setPublishType",[p],Object.getOwnPropertyDescriptor(y.prototype,"setPublishType"),y.prototype),j=S(y.prototype,"newsletter",[m],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),T=S(y.prototype,"selectedRecipientFilter",[h],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){}}),S(y.prototype,"setNewsletter",[b],Object.getOwnPropertyDescriptor(y.prototype,"setNewsletter"),y.prototype),S(y.prototype,"setRecipientFilter",[f],Object.getOwnPropertyDescriptor(y.prototype,"setRecipientFilter"),y.prototype),S(y.prototype,"setupTask",[i.task],Object.getOwnPropertyDescriptor(y.prototype,"setupTask"),y.prototype),S(y.prototype,"fetchRequiredDataTask",[i.task],Object.getOwnPropertyDescriptor(y.prototype,"fetchRequiredDataTask"),y.prototype),S(y.prototype,"saveTask",[g],Object.getOwnPropertyDescriptor(y.prototype,"saveTask"),y.prototype),S(y.prototype,"revertToDraftTask",[v],Object.getOwnPropertyDescriptor(y.prototype,"revertToDraftTask"),y.prototype),y)}),define("ghost-admin/utils/route",["ghost-admin/decorators/inject"],function(e){Ember.Route.reopen({billing:Ember.inject.service(),router:Ember.inject.service(),config:(0,e.inject)(),actions:{willTransition(e){return this.get("upgradeStatus.isRequired")?(e.abort(),this.upgradeStatus.requireUpgrade(),!1):!this.config.hostSettings?.forceUpgrade||(!("pro.index"!==e.to?.name&&"signout"!==e.to?.name&&!e.to?.name.match(/settings-x\.*/))||(e.abort(),this.billing.openBillingWindow(this.router.currentURL,"/pro"),!1))}}})}),define("ghost-admin/utils/
|
|
4741
|
+
this.publishDisabledError=t}}}).prototype,"publishDisabledError",[r],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),E=S(y.prototype,"totalMemberCount",[n],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),k=S(y.prototype,"isScheduled",[a],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),P=S(y.prototype,"scheduledAtUTC",[s],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return this.minScheduledAt}}),S(y.prototype,"toggleScheduled",[o],Object.getOwnPropertyDescriptor(y.prototype,"toggleScheduled"),y.prototype),S(y.prototype,"setScheduledAt",[l],Object.getOwnPropertyDescriptor(y.prototype,"setScheduledAt"),y.prototype),S(y.prototype,"resetPastScheduledAt",[u],Object.getOwnPropertyDescriptor(y.prototype,"resetPastScheduledAt"),y.prototype),_=S(y.prototype,"publishType",[d],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return"publish+send"}}),O=S(y.prototype,"emailDisabledError",[c],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),S(y.prototype,"setPublishType",[p],Object.getOwnPropertyDescriptor(y.prototype,"setPublishType"),y.prototype),j=S(y.prototype,"newsletter",[m],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),T=S(y.prototype,"selectedRecipientFilter",[h],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){}}),S(y.prototype,"setNewsletter",[b],Object.getOwnPropertyDescriptor(y.prototype,"setNewsletter"),y.prototype),S(y.prototype,"setRecipientFilter",[f],Object.getOwnPropertyDescriptor(y.prototype,"setRecipientFilter"),y.prototype),S(y.prototype,"setupTask",[i.task],Object.getOwnPropertyDescriptor(y.prototype,"setupTask"),y.prototype),S(y.prototype,"fetchRequiredDataTask",[i.task],Object.getOwnPropertyDescriptor(y.prototype,"fetchRequiredDataTask"),y.prototype),S(y.prototype,"saveTask",[g],Object.getOwnPropertyDescriptor(y.prototype,"saveTask"),y.prototype),S(y.prototype,"revertToDraftTask",[v],Object.getOwnPropertyDescriptor(y.prototype,"revertToDraftTask"),y.prototype),y)}),define("ghost-admin/utils/route",["ghost-admin/decorators/inject"],function(e){Ember.Route.reopen({billing:Ember.inject.service(),router:Ember.inject.service(),config:(0,e.inject)(),actions:{willTransition(e){return this.get("upgradeStatus.isRequired")?(e.abort(),this.upgradeStatus.requireUpgrade(),!1):!this.config.hostSettings?.forceUpgrade||(!("pro.index"!==e.to?.name&&"signout"!==e.to?.name&&!e.to?.name.match(/settings-x\.*/))||(e.abort(),this.billing.openBillingWindow(this.router.currentURL,"/pro"),!1))}}})}),define("ghost-admin/utils/search",["exports"],function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.SEARCHABLES=void 0,e.createSearchResult=function(e,t){const i=e.idField||e.pathField
|
|
4742
|
+
return{id:`${e.model}.${t[i]}`,url:t.url,title:t[e.titleField],groupName:e.name,status:t.status,visibility:t.visibility,publishedAt:t.published_at}},e.sortSearchResultsByStatus=function(e,i){"post"!==i&&"page"!==i||e.sort((e,i)=>(t[e.status]||5)-(t[i.status]||5))
|
|
4743
|
+
return e}
|
|
4744
|
+
e.SEARCHABLES=[{name:"Staff",model:"user",pathField:"slug",idField:"slug",titleField:"name",index:["name"]},{name:"Tags",model:"tag",pathField:"slug",idField:"slug",titleField:"name",index:["name"]},{name:"Posts",model:"post",pathField:"id",idField:"id",titleField:"title",index:["title"]},{name:"Pages",model:"page",pathField:"id",idField:"id",titleField:"title",index:["title"]}]
|
|
4745
|
+
const t={scheduled:1,draft:2,published:3,sent:4}}),define("ghost-admin/utils/sentry",["exports","@sentry/integrations","@sentry/replay","ember-ajax/errors"],function(e,t,i,r){Object.defineProperty(e,"__esModule",{value:!0}),e.beforeSend=s,e.getSentryConfig=a,e.getSentryTestConfig=function(e){return a("https://abcdef0123456789abcdef0123456789@o12345.ingest.sentry.io/1234567","testing","5.0.0",e)}
|
|
4742
4746
|
const n=/\/e\.ghost\.org|plausible\.io/
|
|
4743
4747
|
function a(e,r,a,o){const l=[],u={dsn:e,transport:o,environment:r,release:`ghost@${a}`,beforeSend:s,ignoreErrors:[/The play\(\) request was interrupted.*/,/The request is not allowed by the user agent or the platform in the current context/,/Server was unreachable/,/NetworkError when attempting to fetch resource./,/Failed to fetch/,/Load failed/,/The operation was aborted./,/^TransitionAborted$/,/^ResizeObserver loop completed with undelivered notifications/,/^ResizeObserver loop limit exceeded/,"TaskCancelation"],integrations:function(e){return[...e.filter(e=>"testing"!==r||"Dedupe"!==e.name),...l]},beforeBreadcrumb:e=>"http"===e.category&&e.data?.url?.match(n)?null:e}
|
|
4744
4748
|
if("testing"!==r)try{u.replaysOnErrorSampleRate=.5,l.push(new i.Replay({mask:[".koenig-lexical",".gh-dashboard"],unmask:['[role="menu"]','[data-testid="settings-panel"]',".gh-nav"],maskAllText:!1,maskAllInputs:!0,blockAllMedia:!0}))}catch(d){console.error("Error enabling Sentry Replay:",d)}return"development"===r&&l.push(new t.Debug),u}function s(e,t){try{const i=t?.originalException
|
|
@@ -4799,13 +4803,13 @@ if(Ember.isEmpty(e.errors.errorsFor("publishedAtBlogTime"))){let t=e.status,r=(0
|
|
|
4799
4803
|
"draft"!==t&&"published"!==t||!n.isSameOrAfter(r)?!e.changedAttributes().status&&!e.changedAttributes().publishedAtUTC||"scheduled"!==t||a||(e.errors.add("publishedAtBlogDate","Please choose a future date and time."),this.invalidate()):(e.errors.add("publishedAtBlogDate","Please choose a past date and time."),this.invalidate())}}},featureImageAlt(e){r.default.isLength(e.featureImageAlt||"",{max:191})||(e.errors.add("featureImageAlt","Feature image alt text cannot be longer than 191 characters."),this.invalidate())}})}),define("ghost-admin/validators/reset",["exports","ghost-admin/validators/base","ghost-admin/validators/mixins/password","validator"],function(e,t,i,r){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
|
|
4800
4804
|
const n=t.default.extend(i.default,{init(){this.properties=this.properties||["newPassword"],this._super(...arguments)},newPassword(e){let t=e.newPassword,i=e.ne2Password
|
|
4801
4805
|
Ember.isBlank(t)?(e.errors.add("newPassword","Please enter a password."),this.invalidate()):r.default.equals(t,i||"")||(e.errors.add("ne2Password","The two new passwords don't match."),this.invalidate()),this.passwordValidation(e,t,"newPassword")}})
|
|
4802
|
-
e.default=n.create()})
|
|
4806
|
+
e.default=n.create()})
|
|
4807
|
+
define("ghost-admin/validators/setting",["exports","ghost-admin/validators/base","validator"],function(e,t,i){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
|
|
4803
4808
|
e.default=t.default.create({properties:["title","description","password","slackUrl"],title(e){let t=e.title
|
|
4804
4809
|
i.default.isLength(t||"",{max:150})||(e.errors.add("title","Title is too long"),this.invalidate())},description(e){let t=e.description
|
|
4805
4810
|
i.default.isLength(t||"",{max:200})||(e.errors.add("description","Description is too long"),this.invalidate())},password(e){let t=e.isPrivate,i=e.password
|
|
4806
4811
|
t&&""===i&&(e.errors.add("password","Password must be supplied"),this.invalidate())},slackUrl(e){let t=e.slackUrl
|
|
4807
|
-
Ember.isBlank(t)||i.default.isURL(t,{require_protocol:!0})||(e.errors.add("slackUrl","The URL must be in a format like https://hooks.slack.com/services/<your personal key>"),this.invalidate())}})})
|
|
4808
|
-
define("ghost-admin/validators/setup",["exports","ghost-admin/validators/new-user","validator"],function(e,t,i){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
|
|
4812
|
+
Ember.isBlank(t)||i.default.isURL(t,{require_protocol:!0})||(e.errors.add("slackUrl","The URL must be in a format like https://hooks.slack.com/services/<your personal key>"),this.invalidate())}})}),define("ghost-admin/validators/setup",["exports","ghost-admin/validators/new-user","validator"],function(e,t,i){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
|
|
4809
4813
|
e.default=t.default.create({properties:["name","email","password","blogTitle"],blogTitle(e){let t=e.blogTitle
|
|
4810
4814
|
i.default.isLength(t||"",{min:1})||(e.errors.add("blogTitle","Please enter a site title."),this.invalidate()),i.default.isLength(t||"",{max:150})||(e.errors.add("blogTitle","Title is too long"),this.invalidate())}})}),define("ghost-admin/validators/signin",["exports","ghost-admin/validators/base","validator"],function(e,t,i){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
|
|
4811
4815
|
e.default=t.default.create({properties:["identification","signin","forgotPassword"],invalidMessage:"Email address is not valid",identification(e){let t=e.identification
|
|
@@ -4837,6 +4841,6 @@ this.passwordChange(e),e.hasValidated.addObject("password"),Ember.isBlank(t)&&(e
|
|
|
4837
4841
|
e.default=n.create()}),define("ghost-admin/validators/webhook",["exports","ghost-admin/validators/base","validator"],function(e,t,i){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
|
|
4838
4842
|
e.default=t.default.create({properties:["name","event","targetUrl","secret"],name(e){Ember.isBlank(e.name)?(e.errors.add("name","Please enter a name"),e.hasValidated.pushObject("name"),this.invalidate()):i.default.isLength(e.name,{max:191})||(e.errors.add("name","Name is too long, max 191 chars"),e.hasValidated.pushObject("name"),this.invalidate())},event(e){Ember.isBlank(e.event)&&(e.errors.add("event","Please select an event"),e.hasValidated.pushObject("event"),this.invalidate())},targetUrl(e){Ember.isBlank(e.targetUrl)?e.errors.add("targetUrl","Please enter a target URL"):i.default.isURL(e.targetUrl||"",{require_protocol:!1})?i.default.isLength(e.targetUrl,{max:2e3})||e.errors.add("targetUrl","Target URL is too long, max 2000 chars"):e.errors.add("targetUrl","Please enter a valid URL"),e.hasValidated.pushObject("targetUrl"),e.errors.has("targetUrl")&&this.invalidate()},secret(e){Ember.isBlank(e.secret)||i.default.isLength(e.secret,{max:191})||(e.errors.add("secret","Secret is too long, max 191 chars"),e.hasValidated.pushObject("secret"),this.invalidate())}})}),define("ghost-admin/views/application",["exports"],function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
|
|
4839
4843
|
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))}
|
|
4840
|
-
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.
|
|
4844
|
+
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.2",name:"ghost-admin"})
|
|
4841
4845
|
|
|
4842
|
-
//# sourceMappingURL=ghost-
|
|
4846
|
+
//# sourceMappingURL=ghost-9849bda3949f3968d834dde39af6bbbd.map
|