From 9f7dd80b5d7ce1381014121d454380812c4db50a Mon Sep 17 00:00:00 2001 From: Yannick Reekmans Date: Mon, 15 Mar 2021 13:15:36 +0000 Subject: [PATCH] Add v3.42.2 --- ...fa.js => ghost.min-c115f798d99b712736e35bb28baf3ee1.js} | 7 ++++--- core/server/web/admin/views/default-prod.html | 2 +- core/server/web/admin/views/default.html | 2 +- package.json | 2 +- 4 files changed, 7 insertions(+), 6 deletions(-) rename core/built/assets/{ghost.min-46f21095d824ad3c5172a895406791fa.js => ghost.min-c115f798d99b712736e35bb28baf3ee1.js} (99%) diff --git a/core/built/assets/ghost.min-46f21095d824ad3c5172a895406791fa.js b/core/built/assets/ghost.min-c115f798d99b712736e35bb28baf3ee1.js similarity index 99% rename from core/built/assets/ghost.min-46f21095d824ad3c5172a895406791fa.js rename to core/built/assets/ghost.min-c115f798d99b712736e35bb28baf3ee1.js index f4b193567e..39485399ec 100644 --- a/core/built/assets/ghost.min-46f21095d824ad3c5172a895406791fa.js +++ b/core/built/assets/ghost.min-c115f798d99b712736e35bb28baf3ee1.js @@ -404,7 +404,7 @@ e.default=f,Ember._setComponentTemplate(g,f)})),define("ghost-admin/components/g const t=Ember.HTMLBars.template({id:"oc5zXbcP",block:'{"symbols":["&default"],"statements":[[8,"link-to",[],[["@route","@model"],["editor.new","post"]],[["default"],[{"statements":[[1,[30,[36,0],["pen"],null]],[2,"New post"]],"parameters":[]}]]],[2,"\\n"],[6,[37,3],[[30,[36,2],[[32,0,["router","currentRouteName"]],"posts"],null]],null,[["default","else"],[{"statements":[[2," "],[8,"link-to",[],[["@route","@query","@classNames"],["posts",[30,[36,1],null,[["type"],[null]]],"active"]],[["default"],[{"statements":[[1,[30,[36,0],["content"],null]],[2,"Posts"]],"parameters":[]}]]],[2,"\\n"]],"parameters":[]},{"statements":[[2," "],[8,"link-to",[],[["@route"],["posts"]],[["default"],[{"statements":[[1,[30,[36,0],["content"],null]],[2,"Posts"]],"parameters":[]}]]],[2,"\\n"]],"parameters":[]}]]],[8,"link-to",[],[["@route","@classNames"],["staff","gh-nav-main-users"]],[["default"],[{"statements":[[1,[30,[36,0],["account-group"],null]],[2,"Staff"]],"parameters":[]}]]],[2,"\\n"],[11,"div"],[24,"role","button"],[24,0,"gh-mobile-nav-bar-more"],[4,[38,4],[[32,0],"openMobileMenu"],[["target","data-test-mobile-nav"],[[32,0,["ui"]],"more"]]],[12],[1,[30,[36,0],["icon"],[["class"],["icon-gh"]]]],[2,"More"],[13],[2,"\\n"],[18,1,null],[2,"\\n"]],"hasEval":false,"upvars":["svg-jar","hash","eq","if","action"]}',meta:{moduleName:"ghost-admin/components/gh-mobile-nav-bar.hbs"}}) var n=Ember._setComponentTemplate(t,Ember.Component.extend({ui:Ember.inject.service(),tagName:"nav",classNames:["gh-mobile-nav-bar"]})) e.default=n})),define("ghost-admin/components/gh-nav-menu",["exports","ghost-admin/mixins/shortcuts","ember-basic-dropdown/utils/calculate-position","ghost-admin/utils/ctrl-or-cmd"],(function(e,t,n,s){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0 -const a=Ember.HTMLBars.template({id:"rxuaTxsK",block:'{"symbols":["dropdown","menuItem","menuItem","view"],"statements":[[10,"header"],[14,0,"gh-nav-menu"],[12],[2,"\\n "],[10,"div"],[14,0,"gh-nav-menu-details"],[12],[2,"\\n "],[10,"div"],[14,0,"gh-nav-menu-icon"],[15,5,[32,0,["iconStyle"]]],[12],[13],[2,"\\n "],[10,"div"],[14,0,"gh-nav-menu-details-blog"],[12],[1,[32,0,["config","blogTitle"]]],[13],[2,"\\n "],[13],[2,"\\n "],[10,"div"],[14,0,"gh-nav-menu-search"],[12],[2,"\\n "],[11,"button"],[24,0,"gh-nav-btn-search"],[24,"title","Search site (Ctrl/⌘ + K)"],[4,[38,4],[[32,0],"toggleSearchModal"],null],[12],[10,"span"],[12],[1,[30,[36,0],["search"],[["class"],["w4 h4 fill-midgrey"]]]],[13],[13],[2,"\\n "],[13],[2,"\\n"],[13],[2,"\\n\\n"],[6,[37,1],[[32,0,["showSearchModal"]]],null,[["default"],[{"statements":[[2," "],[8,"gh-fullscreen-modal",[],[["@modal","@close","@modifier"],["search",[30,[36,4],[[32,0],"toggleSearchModal"],null],"action wide"]],null],[2,"\\n"]],"parameters":[]}]]],[2,"\\n"],[10,"section"],[14,0,"gh-nav-body"],[12],[2,"\\n "],[10,"div"],[14,0,"gh-nav-top"],[12],[2,"\\n "],[10,"ul"],[14,0,"gh-nav-list gh-nav-main"],[12],[2,"\\n "],[10,"li"],[14,0,"relative"],[12],[2,"\\n "],[11,"span"],[4,[38,4],[[32,0],"transitionToOrRefreshSite"],[["on"],["click"]]],[12],[2,"\\n "],[8,"link-to",[],[["@route","@current-when","@preventDefault"],["site",[32,0,["isOnSite"]],false]],[["default"],[{"statements":[[2,"\\n "],[1,[30,[36,0],["house"],null]],[2," View site\\n "]],"parameters":[]}]]],[2,"\\n "],[13],[2,"\\n "],[10,"a"],[15,6,[31,[[32,0,["config","blogUrl"]],"/"]]],[14,0,"gh-secondary-action"],[14,"title","Open site in new tab"],[14,"target","_blank"],[12],[2,"\\n "],[10,"span"],[12],[1,[30,[36,0],["expand"],null]],[13],[2,"\\n "],[13],[2,"\\n "],[13],[2,"\\n "],[13],[2,"\\n "],[10,"ul"],[14,0,"gh-nav-list gh-nav-manage"],[12],[2,"\\n "],[10,"li"],[14,0,"gh-nav-list-h"],[12],[2,"Manage"],[13],[2,"\\n "],[10,"li"],[14,0,"gh-nav-list-new relative"],[12],[2,"\\n "],[8,"gh-link-to-custom-views-index",[],[["@route","@query"],["posts",[30,[36,6],["posts"],null]]],[["default"],[{"statements":[[1,[30,[36,0],["posts"],null]],[2,"Posts"]],"parameters":[]}]]],[2,"\\n "],[8,"link-to",[],[["@route","@model","@classNames","@alt","@title"],["editor.new","post","gh-secondary-action gh-nav-new-post","New post","New post"]],[["default"],[{"statements":[[10,"span"],[12],[1,[30,[36,0],["add-stroke"],null]],[13]],"parameters":[]}]]],[2,"\\n"],[6,[37,1],[[32,0,["customViews","forPosts"]]],null,[["default"],[{"statements":[[2," "],[11,"button"],[16,0,[31,["absolute left-3 top-2 z-9999 flex items-center pl2 h4 gh-nav-button-expand ",[30,[36,1],[[32,0,["navigation","settings","expanded","posts"]],"expanded"],null]]]],[16,"aria-label",[31,[[30,[36,1],[[32,0,["navigation","settings","expanded","posts"]],"Collapse custom post types","Expand custom post types"],null]]]],[24,4,"button"],[4,[38,10],["click",[30,[36,9],[[32,0,["navigation","toggleExpansion"]],"posts"],null]],null],[12],[2,"\\n "],[1,[30,[36,0],[[30,[36,1],[[32,0,["navigation","settings","expanded","posts"]],"arrow-down-stroke","arrow-right-stroke"],null]],null]],[2,"\\n "],[13],[2,"\\n"],[6,[37,11],[[32,0,["navigation","settings","expanded","posts"]]],null,[["default"],[{"statements":[[2," "],[10,"ul"],[14,0,"gh-nav-view-list"],[12],[2,"\\n"],[6,[37,3],[[30,[36,2],[[30,[36,2],[[32,0,["customViews","forPosts"]]],null]],null]],null,[["default"],[{"statements":[[2," "],[10,"li"],[12],[2,"\\n "],[8,"link-to",[[16,"title",[31,[[32,4,["name"]]]]]],[["@route","@query"],["posts",[30,[36,6],["posts",[32,4,["filter"]]],null]]],[["default"],[{"statements":[[2,"\\n"],[2," "],[10,"span"],[15,0,[31,["flex items-center svg-",[32,4,["color"]]]]],[12],[2,"\\n"],[6,[37,1],[[32,4,["icon"]]],null,[["default","else"],[{"statements":[[2," "],[1,[30,[36,0],[[30,[36,8],[[32,4,["icon"]],"post"],null]],null]],[2,"\\n"]],"parameters":[]},{"statements":[[2," "],[10,"span"],[14,0,"circle"],[12],[13],[2,"\\n"]],"parameters":[]}]]],[2," "],[13],[2,"\\n "],[10,"span"],[14,0,"gh-nav-viewname"],[12],[1,[32,4,["name"]]],[13],[2,"\\n "]],"parameters":[]}]]],[2,"\\n "],[13],[2,"\\n"]],"parameters":[4]}]]],[2," "],[13],[2,"\\n"]],"parameters":[]}]]]],"parameters":[]}]]],[2," "],[13],[2,"\\n "],[10,"li"],[12],[2,"\\n"],[6,[37,1],[[30,[36,7],[[32,0,["router","currentRouteName"]],"pages"],null]],null,[["default","else"],[{"statements":[[2," "],[8,"link-to",[],[["@route","@query","@classNames"],["pages",[30,[36,6],["pages"],null],"active"]],[["default"],[{"statements":[[1,[30,[36,0],["page"],null]],[2,"Pages"]],"parameters":[]}]]],[2,"\\n"]],"parameters":[]},{"statements":[[2," "],[8,"link-to",[],[["@route"],["pages"]],[["default"],[{"statements":[[1,[30,[36,0],["page"],null]],[2,"Pages"]],"parameters":[]}]]],[2,"\\n"]],"parameters":[]}]]],[2," "],[13],[2,"\\n"],[6,[37,1],[[32,0,["showTagsNavigation"]]],null,[["default"],[{"statements":[[2," "],[10,"li"],[12],[8,"link-to",[],[["@route"],["tags"]],[["default"],[{"statements":[[1,[30,[36,0],["tag"],null]],[2,"Tags"]],"parameters":[]}]]],[13],[2,"\\n"]],"parameters":[]}]]],[6,[37,1],[[30,[36,13],[[32,0,["feature","members"]],[30,[36,12],[[32,0,["session","user"]]],null]],null]],null,[["default"],[{"statements":[[2," "],[10,"li"],[12],[2,"\\n"],[6,[37,1],[[30,[36,7],[[32,0,["router","currentRouteName"]],"members.index"],null]],null,[["default","else"],[{"statements":[[2," "],[8,"link-to",[],[["@route","@current-when","@query"],["members","members member",[30,[36,6],["members.index"],null]]],[["default"],[{"statements":[[1,[30,[36,0],["members"],null]],[2,"Members"]],"parameters":[]}]]],[2,"\\n"]],"parameters":[]},{"statements":[[2," "],[8,"link-to",[],[["@route","@current-when"],["members","members member"]],[["default"],[{"statements":[[1,[30,[36,0],["members"],null]],[2,"Members"]],"parameters":[]}]]],[2,"\\n"]],"parameters":[]}]]],[2," "],[13],[2,"\\n"]],"parameters":[]}]]],[2," "],[10,"li"],[12],[8,"link-to",[],[["@route"],["staff"]],[["default"],[{"statements":[[1,[30,[36,0],["staff"],null]],[2,"Staff"]],"parameters":[]}]]],[13],[2,"\\n "],[13],[2,"\\n"],[6,[37,1],[[30,[36,12],[[32,0,["session","user"]]],null]],null,[["default"],[{"statements":[[2," "],[10,"ul"],[14,0,"gh-nav-list gh-nav-settings"],[12],[2,"\\n "],[10,"li"],[14,0,"gh-nav-list-h"],[12],[2,"Settings"],[13],[2,"\\n "],[10,"li"],[12],[8,"link-to",[],[["@route"],["settings.general"]],[["default"],[{"statements":[[1,[30,[36,0],["settings"],null]],[2,"General"]],"parameters":[]}]]],[13],[2,"\\n "],[10,"li"],[12],[8,"link-to",[],[["@route"],["settings.design"]],[["default"],[{"statements":[[1,[30,[36,0],["paintbrush"],null]],[2,"Design"]],"parameters":[]}]]],[13],[2,"\\n "],[10,"li"],[12],[8,"link-to",[],[["@route"],["settings.code-injection"]],[["default"],[{"statements":[[1,[30,[36,0],["brackets"],null]],[2,"Code injection"]],"parameters":[]}]]],[13],[2,"\\n "],[10,"li"],[12],[8,"link-to",[],[["@route","@current-when"],["settings.integrations",[32,0,["isIntegrationRoute"]]]],[["default"],[{"statements":[[1,[30,[36,0],["modules"],null]],[2,"Integrations"]],"parameters":[]}]]],[13],[2,"\\n "],[10,"li"],[14,0,"relative"],[12],[2,"\\n "],[11,"button"],[24,0,"gh-secondary-action"],[24,"title","Toggle Night shift"],[4,[38,4],[[32,0],[30,[36,5],["nightShift",[32,0,["feature"]]],null]],null],[12],[2,"\\n "],[10,"span"],[12],[1,[30,[36,0],["nightshift"],null]],[13],[2,"\\n "],[13],[2,"\\n "],[8,"link-to",[],[["@route"],["settings.labs"]],[["default"],[{"statements":[[1,[30,[36,0],["labs"],null]],[2,"Labs"]],"parameters":[]}]]],[2,"\\n "],[13],[2,"\\n "],[13],[2,"\\n"]],"parameters":[]}]]],[2,"\\n"],[6,[37,1],[[30,[36,13],[[30,[36,12],[[32,0,["session","user"]]],null],[30,[36,8],[[32,0,["showBilling"]],[32,0,["domainUrl"]]],null]],null]],null,[["default"],[{"statements":[[2," "],[10,"ul"],[14,0,"gh-nav-list gh-nav-settings"],[12],[2,"\\n "],[10,"li"],[14,0,"gh-nav-list-h"],[12],[2,"Ghost Pro"],[13],[2,"\\n"],[6,[37,1],[[32,0,["showBilling"]]],null,[["default"],[{"statements":[[2," "],[10,"li"],[14,0,"relative"],[12],[2,"\\n "],[11,"a"],[24,6,"javascript:void(0)"],[4,[38,4],[[32,0],"toggleBillingModal"],null],[12],[2,"\\n "],[1,[30,[36,0],["credit-card"],null]],[2," Billing\\n "],[13],[2,"\\n "],[13],[2,"\\n"]],"parameters":[]}]]],[2,"\\n"],[6,[37,1],[[32,0,["domainUrl"]]],null,[["default"],[{"statements":[[2," "],[10,"li"],[14,0,"relative"],[12],[2,"\\n "],[10,"a"],[15,6,[31,[[32,0,["domainUrl"]]]]],[14,"target","_blank"],[14,"rel","noreferrer"],[12],[2,"\\n "],[1,[30,[36,0],["network"],null]],[2," Domain\\n "],[13],[2,"\\n "],[13],[2,"\\n"]],"parameters":[]}]]],[2,"\\n"],[6,[37,1],[[32,0,["showBilling"]]],null,[["default"],[{"statements":[[2," "],[10,"li"],[14,0,"relative gh-nav-pro"],[12],[2,"\\n "],[8,"gh-billing-update-button",[],[[],[]],null],[2,"\\n "],[13],[2,"\\n"]],"parameters":[]}]]],[2," "],[13],[2,"\\n"]],"parameters":[]}]]],[2,"\\n"],[6,[37,1],[[32,0,["showMenuExtension"]]],null,[["default"],[{"statements":[[2," "],[10,"ul"],[14,0,"gh-nav-list gh-nav-settings"],[12],[2,"\\n"],[6,[37,1],[[32,0,["config","clientExtensions","menu","title"]]],null,[["default"],[{"statements":[[2," "],[10,"li"],[14,0,"gh-nav-list-h"],[12],[1,[32,0,["config","clientExtensions","menu","title"]]],[13],[2,"\\n"]],"parameters":[]}]]],[6,[37,3],[[30,[36,2],[[30,[36,2],[[32,0,["config","clientExtensions","menu","items"]]],null]],null]],null,[["default"],[{"statements":[[2," "],[10,"li"],[12],[2,"\\n "],[10,"a"],[15,6,[31,[[32,3,["href"]]]]],[14,"target","_blank"],[12],[1,[30,[36,0],[[32,3,["icon"]]],null]],[1,[32,3,["text"]]],[13],[2,"\\n "],[13],[2,"\\n"]],"parameters":[3]}]]],[2," "],[13],[2,"\\n"]],"parameters":[]}]]],[2,"\\n"],[6,[37,1],[[32,0,["showScriptExtension"]]],null,[["default"],[{"statements":[[2," "],[2,[32,0,["config","clientExtensions","script","container"]]],[2,"\\n "],[10,"script"],[15,"src",[31,[[32,0,["config","clientExtensions","script","src"]]]]],[12],[13],[2,"\\n"]],"parameters":[]}]]],[2," "],[13],[2,"\\n "],[10,"div"],[14,0,"gh-nav-bottom"],[12],[2,"\\n "],[8,"gh-basic-dropdown",[],[["@horizontalPosition","@verticalPosition","@calculatePosition"],["left","above",[32,0,["userDropdownPosition"]]]],[["default"],[{"statements":[[2,"\\n "],[8,[32,1,["Trigger"]],[[24,0,"flex items-center outline-0 pointer space-between pa2 pl4 pr3 mt3 mb6"]],[[],[]],[["default"],[{"statements":[[2,"\\n "],[10,"div"],[14,0,"flex-auto flex items-center"],[12],[2,"\\n "],[10,"div"],[14,0,"gh-user-avatar relative"],[15,5,[30,[36,14],[[32,0,["session","user","profileImageUrl"]]],null]],[12],[2,"\\n "],[6,[37,1],[[32,0,["whatsNew","hasNew"]]],null,[["default"],[{"statements":[[10,"span"],[14,0,"absolute dib bg-blue ba b--white br-100 gh-whats-new-badge-account"],[12],[13]],"parameters":[]}]]],[2,"\\n "],[13],[2,"\\n "],[10,"div"],[14,0,"flex flex-column items-start justify-center"],[12],[2,"\\n "],[10,"span"],[15,0,[31,["gh-user-name ",[30,[36,1],[[32,0,["session","user","name"]],"mb1"],null]]]],[15,"title",[31,[[32,0,["session","user","name"]]]]],[12],[1,[32,0,["session","user","name"]]],[13],[2,"\\n "],[10,"span"],[14,0,"gh-user-email"],[15,"title",[31,[[32,0,["session","user","email"]]]]],[12],[1,[32,0,["session","user","email"]]],[13],[2,"\\n "],[13],[2,"\\n "],[13],[2,"\\n "],[1,[30,[36,0],["arrow-down"],[["class"],["w3 mr1 fill-darkgrey"]]]],[2,"\\n "]],"parameters":[]}]]],[2,"\\n\\n "],[8,[32,1,["Content"]],[[24,0,"gh-nav-menu-dropdown"]],[[],[]],[["default"],[{"statements":[[2,"\\n "],[11,"ul"],[24,0,"dropdown-menu dropdown-triangle-top"],[24,"role","menu"],[4,[38,4],[[32,0],[32,1,["actions","close"]]],[["on","preventDefault"],["click",false]]],[12],[2,"\\n "],[10,"li"],[14,"role","presentation"],[12],[2,"\\n "],[8,"link-to",[],[["@route","@classNames","@role","@tabindex"],["about","dropdown-item","menuitem","-1"]],[["default"],[{"statements":[[2,"\\n "],[1,[30,[36,0],["store"],null]],[2," About Ghost\\n "]],"parameters":[]}]]],[2,"\\n "],[13],[2,"\\n "],[10,"li"],[14,"role","presentation"],[12],[2,"\\n "],[11,"button"],[24,0,"dropdown-item"],[24,"role","menuitem"],[24,"tabindex","-1"],[4,[38,10],["click",[32,0,["whatsNew","showModal"]]],null],[12],[2,"\\n "],[1,[30,[36,0],["gift"],null]],[2," What\'s new?\\n"],[6,[37,1],[[32,0,["whatsNew","hasNew"]]],null,[["default"],[{"statements":[[2," "],[10,"div"],[14,0,"flex-grow-1 flex justify-end"],[12],[10,"span"],[14,0,"dib w2 h2 top-0 right-0 bg-blue br-100"],[12],[13],[13],[2,"\\n"]],"parameters":[]}]]],[2," "],[13],[2,"\\n "],[13],[2,"\\n "],[10,"li"],[14,0,"divider"],[14,"role","separator"],[12],[13],[2,"\\n "],[10,"li"],[14,"role","presentation"],[12],[2,"\\n "],[8,"link-to",[],[["@route","@model","@classNames","@role","@tabindex"],["staff.user",[32,0,["session","user","slug"]],"dropdown-item","menuitem","-1"]],[["default"],[{"statements":[[2,"\\n "],[1,[30,[36,0],["user-circle"],null]],[2," Your Profile\\n "]],"parameters":[]}]]],[2,"\\n "],[13],[2,"\\n "],[10,"li"],[14,"role","presentation"],[12],[2,"\\n "],[10,"a"],[14,0,"dropdown-item"],[14,"role","menuitem"],[14,"tabindex","-1"],[14,6,"https://ghost.org/docs/"],[14,"target","_blank"],[12],[2,"\\n "],[1,[30,[36,0],["ambulance"],null]],[2," Support Center\\n "],[13],[2,"\\n "],[13],[2,"\\n "],[10,"li"],[14,"role","presentation"],[12],[2,"\\n "],[10,"a"],[14,0,"dropdown-item"],[14,"role","menuitem"],[14,"tabindex","-1"],[14,"target","_blank"],[14,6,"https://twitter.com/intent/tweet?text=%40Ghost+Hi%21+Can+you+help+me+with+&related=Ghost"],[14,"onclick","window.open(this.href, \'twitter-share\', \'width=550,height=235\');return false;"],[12],[2,"\\n "],[1,[30,[36,0],["twitter"],null]],[2," Tweet @Ghost!\\n "],[13],[2,"\\n "],[13],[2,"\\n "],[10,"li"],[14,"role","presentation"],[12],[2,"\\n "],[10,"a"],[14,0,"dropdown-item"],[14,"role","menuitem"],[14,"tabindex","-1"],[14,6,"https://ghost.org/help/topic/setting-up/"],[14,"target","_blank"],[12],[2,"\\n "],[1,[30,[36,0],["book-open"],null]],[2," How to Use Ghost\\n "],[13],[2,"\\n "],[13],[2,"\\n "],[10,"li"],[14,0,"divider"],[14,"role","separator"],[12],[13],[2,"\\n\\n"],[6,[37,1],[[32,0,["showDropdownExtension"]]],null,[["default"],[{"statements":[[6,[37,3],[[30,[36,2],[[30,[36,2],[[32,0,["config","clientExtensions","dropdown","items"]]],null]],null]],null,[["default"],[{"statements":[[6,[37,1],[[32,2,["divider"]]],null,[["default","else"],[{"statements":[[2," "],[10,"li"],[14,0,"divider"],[14,"role","separator"],[12],[13],[2,"\\n"]],"parameters":[]},{"statements":[[2," "],[10,"li"],[14,"role","presentation"],[12],[2,"\\n "],[10,"a"],[15,6,[31,[[32,2,["href"]]]]],[14,"target","_blank"],[15,0,[31,["dropdown-item ",[32,2,["classes"]]]]],[14,"role","menuitem"],[14,"tabindex","-1"],[12],[2,"\\n "],[1,[30,[36,0],[[32,2,["icon"]]],null]],[2," "],[1,[32,2,["text"]]],[2,"\\n "],[13],[2,"\\n "],[13],[2,"\\n"]],"parameters":[]}]]]],"parameters":[2]}]]]],"parameters":[]}]]],[2,"\\n "],[10,"li"],[14,"role","presentation"],[12],[2,"\\n "],[8,"link-to",[],[["@route","@classNames","@role","@tabindex"],["signout","dropdown-item user-menu-signout","menuitem","-1"]],[["default"],[{"statements":[[2,"\\n "],[1,[30,[36,0],["signout"],null]],[2," Sign Out\\n "]],"parameters":[]}]]],[2,"\\n "],[13],[2,"\\n "],[13],[2,"\\n "]],"parameters":[]}]]],[2,"\\n "]],"parameters":[1]}]]],[2,"\\n "],[13],[2,"\\n"],[13],[2,"\\n\\n"],[8,"gh-tour-item",[],[["@throbberId","@target","@throbberAttachment","@popoverTriangleClass","@throbberOffset"],["getting-started",".gh-nav-main","middle right","left-top","0px 0px"]],null]],"hasEval":false,"upvars":["svg-jar","if","-track-array","each","action","toggle","reset-query-params","eq","or","fn","on","liquid-if","gh-user-can-admin","and","background-image-style"]}',meta:{moduleName:"ghost-admin/components/gh-nav-menu.hbs"}}) +const a=Ember.HTMLBars.template({id:"znsyAvq6",block:'{"symbols":["dropdown","menuItem","menuItem","view"],"statements":[[10,"header"],[14,0,"gh-nav-menu"],[12],[2,"\\n "],[10,"div"],[14,0,"gh-nav-menu-details"],[12],[2,"\\n "],[10,"div"],[14,0,"gh-nav-menu-icon"],[15,5,[32,0,["iconStyle"]]],[12],[13],[2,"\\n "],[10,"div"],[14,0,"gh-nav-menu-details-blog"],[12],[1,[32,0,["config","blogTitle"]]],[13],[2,"\\n "],[13],[2,"\\n "],[10,"div"],[14,0,"gh-nav-menu-search"],[12],[2,"\\n "],[11,"button"],[24,0,"gh-nav-btn-search"],[24,"title","Search site (Ctrl/⌘ + K)"],[4,[38,4],[[32,0],"toggleSearchModal"],null],[12],[10,"span"],[12],[1,[30,[36,0],["search"],[["class"],["w4 h4 fill-midgrey"]]]],[13],[13],[2,"\\n "],[13],[2,"\\n"],[13],[2,"\\n\\n"],[6,[37,1],[[32,0,["showSearchModal"]]],null,[["default"],[{"statements":[[2," "],[8,"gh-fullscreen-modal",[],[["@modal","@close","@modifier"],["search",[30,[36,4],[[32,0],"toggleSearchModal"],null],"action wide"]],null],[2,"\\n"]],"parameters":[]}]]],[2,"\\n"],[10,"section"],[14,0,"gh-nav-body"],[12],[2,"\\n "],[10,"div"],[14,0,"gh-nav-top"],[12],[2,"\\n "],[10,"ul"],[14,0,"gh-nav-list gh-nav-main"],[12],[2,"\\n "],[10,"li"],[14,0,"relative"],[12],[2,"\\n "],[11,"span"],[4,[38,4],[[32,0],"transitionToOrRefreshSite"],[["on"],["click"]]],[12],[2,"\\n "],[8,"link-to",[],[["@route","@current-when","@preventDefault"],["site",[32,0,["isOnSite"]],false]],[["default"],[{"statements":[[2,"\\n "],[1,[30,[36,0],["house"],null]],[2," View site\\n "]],"parameters":[]}]]],[2,"\\n "],[13],[2,"\\n "],[10,"a"],[15,6,[31,[[32,0,["config","blogUrl"]],"/"]]],[14,0,"gh-secondary-action"],[14,"title","Open site in new tab"],[14,"target","_blank"],[12],[2,"\\n "],[10,"span"],[12],[1,[30,[36,0],["expand"],null]],[13],[2,"\\n "],[13],[2,"\\n "],[13],[2,"\\n "],[13],[2,"\\n "],[10,"ul"],[14,0,"gh-nav-list gh-nav-manage"],[12],[2,"\\n "],[10,"li"],[14,0,"gh-nav-list-h"],[12],[2,"Manage"],[13],[2,"\\n "],[10,"li"],[14,0,"gh-nav-list-new relative"],[12],[2,"\\n "],[8,"gh-link-to-custom-views-index",[],[["@route","@query"],["posts",[30,[36,6],["posts"],null]]],[["default"],[{"statements":[[1,[30,[36,0],["posts"],null]],[2,"Posts"]],"parameters":[]}]]],[2,"\\n "],[8,"link-to",[],[["@route","@model","@classNames","@alt","@title"],["editor.new","post","gh-secondary-action gh-nav-new-post","New post","New post"]],[["default"],[{"statements":[[10,"span"],[12],[1,[30,[36,0],["add-stroke"],null]],[13]],"parameters":[]}]]],[2,"\\n"],[6,[37,1],[[32,0,["customViews","forPosts"]]],null,[["default"],[{"statements":[[2," "],[11,"button"],[16,0,[31,["absolute left-3 top-2 z-9999 flex items-center pl2 h4 gh-nav-button-expand ",[30,[36,1],[[32,0,["navigation","settings","expanded","posts"]],"expanded"],null]]]],[16,"aria-label",[31,[[30,[36,1],[[32,0,["navigation","settings","expanded","posts"]],"Collapse custom post types","Expand custom post types"],null]]]],[24,4,"button"],[4,[38,10],["click",[30,[36,9],[[32,0,["navigation","toggleExpansion"]],"posts"],null]],null],[12],[2,"\\n "],[1,[30,[36,0],[[30,[36,1],[[32,0,["navigation","settings","expanded","posts"]],"arrow-down-stroke","arrow-right-stroke"],null]],null]],[2,"\\n "],[13],[2,"\\n"],[6,[37,11],[[32,0,["navigation","settings","expanded","posts"]]],null,[["default"],[{"statements":[[2," "],[10,"ul"],[14,0,"gh-nav-view-list"],[12],[2,"\\n"],[6,[37,3],[[30,[36,2],[[30,[36,2],[[32,0,["customViews","forPosts"]]],null]],null]],null,[["default"],[{"statements":[[2," "],[10,"li"],[12],[2,"\\n "],[8,"link-to",[[16,"title",[31,[[32,4,["name"]]]]]],[["@route","@query"],["posts",[30,[36,6],["posts",[32,4,["filter"]]],null]]],[["default"],[{"statements":[[2,"\\n"],[2," "],[10,"span"],[15,0,[31,["flex items-center svg-",[32,4,["color"]]]]],[12],[2,"\\n"],[6,[37,1],[[32,4,["icon"]]],null,[["default","else"],[{"statements":[[2," "],[1,[30,[36,0],[[30,[36,8],[[32,4,["icon"]],"post"],null]],null]],[2,"\\n"]],"parameters":[]},{"statements":[[2," "],[10,"span"],[14,0,"circle"],[12],[13],[2,"\\n"]],"parameters":[]}]]],[2," "],[13],[2,"\\n "],[10,"span"],[14,0,"gh-nav-viewname"],[12],[1,[32,4,["name"]]],[13],[2,"\\n "]],"parameters":[]}]]],[2,"\\n "],[13],[2,"\\n"]],"parameters":[4]}]]],[2," "],[13],[2,"\\n"]],"parameters":[]}]]]],"parameters":[]}]]],[2," "],[13],[2,"\\n "],[10,"li"],[12],[2,"\\n"],[6,[37,1],[[30,[36,7],[[32,0,["router","currentRouteName"]],"pages"],null]],null,[["default","else"],[{"statements":[[2," "],[8,"link-to",[],[["@route","@query","@classNames"],["pages",[30,[36,6],["pages"],null],"active"]],[["default"],[{"statements":[[1,[30,[36,0],["page"],null]],[2,"Pages"]],"parameters":[]}]]],[2,"\\n"]],"parameters":[]},{"statements":[[2," "],[8,"link-to",[],[["@route"],["pages"]],[["default"],[{"statements":[[1,[30,[36,0],["page"],null]],[2,"Pages"]],"parameters":[]}]]],[2,"\\n"]],"parameters":[]}]]],[2," "],[13],[2,"\\n"],[6,[37,1],[[32,0,["showTagsNavigation"]]],null,[["default"],[{"statements":[[2," "],[10,"li"],[12],[8,"link-to",[],[["@route"],["tags"]],[["default"],[{"statements":[[1,[30,[36,0],["tag"],null]],[2,"Tags"]],"parameters":[]}]]],[13],[2,"\\n"]],"parameters":[]}]]],[6,[37,1],[[30,[36,13],[[32,0,["feature","members"]],[30,[36,12],[[32,0,["session","user"]]],null]],null]],null,[["default"],[{"statements":[[2," "],[10,"li"],[12],[2,"\\n"],[6,[37,1],[[30,[36,7],[[32,0,["router","currentRouteName"]],"members.index"],null]],null,[["default","else"],[{"statements":[[2," "],[8,"link-to",[],[["@route","@current-when","@query"],["members","members member",[30,[36,6],["members.index"],null]]],[["default"],[{"statements":[[1,[30,[36,0],["members"],null]],[2,"Members"]],"parameters":[]}]]],[2,"\\n"]],"parameters":[]},{"statements":[[2," "],[8,"link-to",[],[["@route","@current-when"],["members","members member"]],[["default"],[{"statements":[[1,[30,[36,0],["members"],null]],[2,"Members"]],"parameters":[]}]]],[2,"\\n"]],"parameters":[]}]]],[2," "],[13],[2,"\\n"]],"parameters":[]}]]],[2," "],[10,"li"],[12],[8,"link-to",[],[["@route"],["staff"]],[["default"],[{"statements":[[1,[30,[36,0],["staff"],null]],[2,"Staff"]],"parameters":[]}]]],[13],[2,"\\n "],[13],[2,"\\n"],[6,[37,1],[[30,[36,12],[[32,0,["session","user"]]],null]],null,[["default"],[{"statements":[[2," "],[10,"ul"],[14,0,"gh-nav-list gh-nav-settings"],[12],[2,"\\n "],[10,"li"],[14,0,"gh-nav-list-h"],[12],[2,"Settings"],[13],[2,"\\n "],[10,"li"],[12],[8,"link-to",[],[["@route"],["settings.general"]],[["default"],[{"statements":[[1,[30,[36,0],["settings"],null]],[2,"General"]],"parameters":[]}]]],[13],[2,"\\n "],[10,"li"],[12],[8,"link-to",[],[["@route"],["settings.design"]],[["default"],[{"statements":[[1,[30,[36,0],["paintbrush"],null]],[2,"Design"]],"parameters":[]}]]],[13],[2,"\\n "],[10,"li"],[12],[8,"link-to",[],[["@route"],["settings.code-injection"]],[["default"],[{"statements":[[1,[30,[36,0],["brackets"],null]],[2,"Code injection"]],"parameters":[]}]]],[13],[2,"\\n "],[10,"li"],[12],[8,"link-to",[],[["@route","@current-when"],["settings.integrations",[32,0,["isIntegrationRoute"]]]],[["default"],[{"statements":[[1,[30,[36,0],["modules"],null]],[2,"Integrations"]],"parameters":[]}]]],[13],[2,"\\n "],[10,"li"],[14,0,"relative"],[12],[2,"\\n "],[11,"button"],[24,0,"gh-secondary-action"],[24,"title","Toggle Night shift"],[4,[38,4],[[32,0],[30,[36,5],["nightShift",[32,0,["feature"]]],null]],null],[12],[2,"\\n "],[10,"span"],[12],[1,[30,[36,0],["nightshift"],null]],[13],[2,"\\n "],[13],[2,"\\n "],[8,"link-to",[],[["@route"],["settings.labs"]],[["default"],[{"statements":[[1,[30,[36,0],["labs"],null]],[2,"Labs"]],"parameters":[]}]]],[2,"\\n "],[13],[2,"\\n "],[13],[2,"\\n"]],"parameters":[]}]]],[2,"\\n"],[6,[37,1],[[30,[36,13],[[32,0,["session","user","isOwner"]],[30,[36,8],[[32,0,["showBilling"]],[32,0,["domainUrl"]]],null]],null]],null,[["default"],[{"statements":[[2," "],[10,"ul"],[14,0,"gh-nav-list gh-nav-settings"],[12],[2,"\\n "],[10,"li"],[14,0,"gh-nav-list-h"],[12],[2,"Ghost Pro"],[13],[2,"\\n"],[6,[37,1],[[32,0,["showBilling"]]],null,[["default"],[{"statements":[[2," "],[10,"li"],[14,0,"relative"],[12],[2,"\\n "],[11,"a"],[24,6,"javascript:void(0)"],[4,[38,4],[[32,0],"toggleBillingModal"],null],[12],[2,"\\n "],[1,[30,[36,0],["credit-card"],null]],[2," Billing\\n "],[13],[2,"\\n "],[13],[2,"\\n"]],"parameters":[]}]]],[2,"\\n"],[6,[37,1],[[32,0,["domainUrl"]]],null,[["default"],[{"statements":[[2," "],[10,"li"],[14,0,"relative"],[12],[2,"\\n "],[10,"a"],[15,6,[31,[[32,0,["domainUrl"]]]]],[14,"target","_blank"],[14,"rel","noreferrer"],[12],[2,"\\n "],[1,[30,[36,0],["network"],null]],[2," Domain\\n "],[13],[2,"\\n "],[13],[2,"\\n"]],"parameters":[]}]]],[2,"\\n"],[6,[37,1],[[32,0,["showBilling"]]],null,[["default"],[{"statements":[[2," "],[10,"li"],[14,0,"relative gh-nav-pro"],[12],[2,"\\n "],[8,"gh-billing-update-button",[],[[],[]],null],[2,"\\n "],[13],[2,"\\n"]],"parameters":[]}]]],[2," "],[13],[2,"\\n"]],"parameters":[]}]]],[2,"\\n"],[6,[37,1],[[32,0,["showMenuExtension"]]],null,[["default"],[{"statements":[[2," "],[10,"ul"],[14,0,"gh-nav-list gh-nav-settings"],[12],[2,"\\n"],[6,[37,1],[[32,0,["config","clientExtensions","menu","title"]]],null,[["default"],[{"statements":[[2," "],[10,"li"],[14,0,"gh-nav-list-h"],[12],[1,[32,0,["config","clientExtensions","menu","title"]]],[13],[2,"\\n"]],"parameters":[]}]]],[6,[37,3],[[30,[36,2],[[30,[36,2],[[32,0,["config","clientExtensions","menu","items"]]],null]],null]],null,[["default"],[{"statements":[[2," "],[10,"li"],[12],[2,"\\n "],[10,"a"],[15,6,[31,[[32,3,["href"]]]]],[14,"target","_blank"],[12],[1,[30,[36,0],[[32,3,["icon"]]],null]],[1,[32,3,["text"]]],[13],[2,"\\n "],[13],[2,"\\n"]],"parameters":[3]}]]],[2," "],[13],[2,"\\n"]],"parameters":[]}]]],[2,"\\n"],[6,[37,1],[[32,0,["showScriptExtension"]]],null,[["default"],[{"statements":[[2," "],[2,[32,0,["config","clientExtensions","script","container"]]],[2,"\\n "],[10,"script"],[15,"src",[31,[[32,0,["config","clientExtensions","script","src"]]]]],[12],[13],[2,"\\n"]],"parameters":[]}]]],[2," "],[13],[2,"\\n "],[10,"div"],[14,0,"gh-nav-bottom"],[12],[2,"\\n "],[8,"gh-basic-dropdown",[],[["@horizontalPosition","@verticalPosition","@calculatePosition"],["left","above",[32,0,["userDropdownPosition"]]]],[["default"],[{"statements":[[2,"\\n "],[8,[32,1,["Trigger"]],[[24,0,"flex items-center outline-0 pointer space-between pa2 pl4 pr3 mt3 mb6"]],[[],[]],[["default"],[{"statements":[[2,"\\n "],[10,"div"],[14,0,"flex-auto flex items-center"],[12],[2,"\\n "],[10,"div"],[14,0,"gh-user-avatar relative"],[15,5,[30,[36,14],[[32,0,["session","user","profileImageUrl"]]],null]],[12],[2,"\\n "],[6,[37,1],[[32,0,["whatsNew","hasNew"]]],null,[["default"],[{"statements":[[10,"span"],[14,0,"absolute dib bg-blue ba b--white br-100 gh-whats-new-badge-account"],[12],[13]],"parameters":[]}]]],[2,"\\n "],[13],[2,"\\n "],[10,"div"],[14,0,"flex flex-column items-start justify-center"],[12],[2,"\\n "],[10,"span"],[15,0,[31,["gh-user-name ",[30,[36,1],[[32,0,["session","user","name"]],"mb1"],null]]]],[15,"title",[31,[[32,0,["session","user","name"]]]]],[12],[1,[32,0,["session","user","name"]]],[13],[2,"\\n "],[10,"span"],[14,0,"gh-user-email"],[15,"title",[31,[[32,0,["session","user","email"]]]]],[12],[1,[32,0,["session","user","email"]]],[13],[2,"\\n "],[13],[2,"\\n "],[13],[2,"\\n "],[1,[30,[36,0],["arrow-down"],[["class"],["w3 mr1 fill-darkgrey"]]]],[2,"\\n "]],"parameters":[]}]]],[2,"\\n\\n "],[8,[32,1,["Content"]],[[24,0,"gh-nav-menu-dropdown"]],[[],[]],[["default"],[{"statements":[[2,"\\n "],[11,"ul"],[24,0,"dropdown-menu dropdown-triangle-top"],[24,"role","menu"],[4,[38,4],[[32,0],[32,1,["actions","close"]]],[["on","preventDefault"],["click",false]]],[12],[2,"\\n "],[10,"li"],[14,"role","presentation"],[12],[2,"\\n "],[8,"link-to",[],[["@route","@classNames","@role","@tabindex"],["about","dropdown-item","menuitem","-1"]],[["default"],[{"statements":[[2,"\\n "],[1,[30,[36,0],["store"],null]],[2," About Ghost\\n "]],"parameters":[]}]]],[2,"\\n "],[13],[2,"\\n "],[10,"li"],[14,"role","presentation"],[12],[2,"\\n "],[11,"button"],[24,0,"dropdown-item"],[24,"role","menuitem"],[24,"tabindex","-1"],[4,[38,10],["click",[32,0,["whatsNew","showModal"]]],null],[12],[2,"\\n "],[1,[30,[36,0],["gift"],null]],[2," What\'s new?\\n"],[6,[37,1],[[32,0,["whatsNew","hasNew"]]],null,[["default"],[{"statements":[[2," "],[10,"div"],[14,0,"flex-grow-1 flex justify-end"],[12],[10,"span"],[14,0,"dib w2 h2 top-0 right-0 bg-blue br-100"],[12],[13],[13],[2,"\\n"]],"parameters":[]}]]],[2," "],[13],[2,"\\n "],[13],[2,"\\n "],[10,"li"],[14,0,"divider"],[14,"role","separator"],[12],[13],[2,"\\n "],[10,"li"],[14,"role","presentation"],[12],[2,"\\n "],[8,"link-to",[],[["@route","@model","@classNames","@role","@tabindex"],["staff.user",[32,0,["session","user","slug"]],"dropdown-item","menuitem","-1"]],[["default"],[{"statements":[[2,"\\n "],[1,[30,[36,0],["user-circle"],null]],[2," Your Profile\\n "]],"parameters":[]}]]],[2,"\\n "],[13],[2,"\\n "],[10,"li"],[14,"role","presentation"],[12],[2,"\\n "],[10,"a"],[14,0,"dropdown-item"],[14,"role","menuitem"],[14,"tabindex","-1"],[14,6,"https://ghost.org/docs/"],[14,"target","_blank"],[12],[2,"\\n "],[1,[30,[36,0],["ambulance"],null]],[2," Support Center\\n "],[13],[2,"\\n "],[13],[2,"\\n "],[10,"li"],[14,"role","presentation"],[12],[2,"\\n "],[10,"a"],[14,0,"dropdown-item"],[14,"role","menuitem"],[14,"tabindex","-1"],[14,"target","_blank"],[14,6,"https://twitter.com/intent/tweet?text=%40Ghost+Hi%21+Can+you+help+me+with+&related=Ghost"],[14,"onclick","window.open(this.href, \'twitter-share\', \'width=550,height=235\');return false;"],[12],[2,"\\n "],[1,[30,[36,0],["twitter"],null]],[2," Tweet @Ghost!\\n "],[13],[2,"\\n "],[13],[2,"\\n "],[10,"li"],[14,"role","presentation"],[12],[2,"\\n "],[10,"a"],[14,0,"dropdown-item"],[14,"role","menuitem"],[14,"tabindex","-1"],[14,6,"https://ghost.org/help/topic/setting-up/"],[14,"target","_blank"],[12],[2,"\\n "],[1,[30,[36,0],["book-open"],null]],[2," How to Use Ghost\\n "],[13],[2,"\\n "],[13],[2,"\\n "],[10,"li"],[14,0,"divider"],[14,"role","separator"],[12],[13],[2,"\\n\\n"],[6,[37,1],[[32,0,["showDropdownExtension"]]],null,[["default"],[{"statements":[[6,[37,3],[[30,[36,2],[[30,[36,2],[[32,0,["config","clientExtensions","dropdown","items"]]],null]],null]],null,[["default"],[{"statements":[[6,[37,1],[[32,2,["divider"]]],null,[["default","else"],[{"statements":[[2," "],[10,"li"],[14,0,"divider"],[14,"role","separator"],[12],[13],[2,"\\n"]],"parameters":[]},{"statements":[[2," "],[10,"li"],[14,"role","presentation"],[12],[2,"\\n "],[10,"a"],[15,6,[31,[[32,2,["href"]]]]],[14,"target","_blank"],[15,0,[31,["dropdown-item ",[32,2,["classes"]]]]],[14,"role","menuitem"],[14,"tabindex","-1"],[12],[2,"\\n "],[1,[30,[36,0],[[32,2,["icon"]]],null]],[2," "],[1,[32,2,["text"]]],[2,"\\n "],[13],[2,"\\n "],[13],[2,"\\n"]],"parameters":[]}]]]],"parameters":[2]}]]]],"parameters":[]}]]],[2,"\\n "],[10,"li"],[14,"role","presentation"],[12],[2,"\\n "],[8,"link-to",[],[["@route","@classNames","@role","@tabindex"],["signout","dropdown-item user-menu-signout","menuitem","-1"]],[["default"],[{"statements":[[2,"\\n "],[1,[30,[36,0],["signout"],null]],[2," Sign Out\\n "]],"parameters":[]}]]],[2,"\\n "],[13],[2,"\\n "],[13],[2,"\\n "]],"parameters":[]}]]],[2,"\\n "]],"parameters":[1]}]]],[2,"\\n "],[13],[2,"\\n"],[13],[2,"\\n\\n"],[8,"gh-tour-item",[],[["@throbberId","@target","@throbberAttachment","@popoverTriangleClass","@throbberOffset"],["getting-started",".gh-nav-main","middle right","left-top","0px 0px"]],null]],"hasEval":false,"upvars":["svg-jar","if","-track-array","each","action","toggle","reset-query-params","eq","or","fn","on","liquid-if","gh-user-can-admin","and","background-image-style"]}',meta:{moduleName:"ghost-admin/components/gh-nav-menu.hbs"}}) var r=Ember._setComponentTemplate(a,Ember.Component.extend(t.default,{billing:Ember.inject.service(),config:Ember.inject.service(),customViews:Ember.inject.service(),feature:Ember.inject.service(),ghostPaths:Ember.inject.service(),navigation:Ember.inject.service(),router:Ember.inject.service(),session:Ember.inject.service(),ui:Ember.inject.service(),whatsNew:Ember.inject.service(),tagName:"nav",classNames:["gh-nav"],iconStyle:"",showSearchModal:!1,shortcuts:null,domainUrl:"",isIntegrationRoute:Ember.computed.match("router.currentRouteName",/^settings\.integration/),isSettingsRoute:Ember.computed.match("router.currentRouteName",/^settings/),isOnSite:Ember.computed.equal("router.currentRouteName","site"),showTagsNavigation:Ember.computed.or("session.user.isOwnerOrAdmin","session.user.isEditor"),showMenuExtension:Ember.computed.and("config.clientExtensions.menu","session.user.isOwner"),showDropdownExtension:Ember.computed.and("config.clientExtensions.dropdown","session.user.isOwner"),showScriptExtension:Ember.computed.and("config.clientExtensions.script","session.user.isOwner"),showBilling:Ember.computed.reads("config.billingUrl"),init(){this._super(...arguments) let e={} e[`${s.default}+k`]={action:"toggleSearchModal"},this.shortcuts=e,this.domainUrl=this.config.get("domainUrl")},didReceiveAttrs(){this._setIconStyle()},didInsertElement(){this._super(...arguments),this.registerShortcuts()},willDestroyElement(){this.removeShortcuts(),this._super(...arguments)},actions:{transitionToOrRefreshSite(){let{currentRouteName:e}=this.router @@ -1704,7 +1704,8 @@ e?e.send("authorizationFailed"):Ember.run.scheduleOnce("routerTransitions",this, e.default=d})),define("ghost-admin/routes/authenticated",["exports","ember-simple-auth/mixins/authenticated-route-mixin"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0 var n=Ember.Route.extend(t.default,{authenticationRoute:"signin"}) e.default=n})),define("ghost-admin/routes/billing",["exports","ghost-admin/routes/authenticated"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0 -var n=t.default.extend({billing:Ember.inject.service(),ui:Ember.inject.service(),queryParams:{action:{refreshModel:!0}},beforeModel(e){this._super(...arguments),this.billing.set("previousTransition",e)},model(e){e.action&&this.billing.set("action",e.action),this.billing.setBillingWindowOpen(!0)},activate(){this.ui.set("showTour",!1)},deactivate(){this.ui.set("showTour",!0)},actions:{willTransition(e){let t=!1 +var n=t.default.extend({billing:Ember.inject.service(),session:Ember.inject.service(),ui:Ember.inject.service(),queryParams:{action:{refreshModel:!0}},beforeModel(e){return this._super(...arguments),this.session.user.then((t=>{if(!t.isOwner)return this.transitionTo("home") +this.billing.set("previousTransition",e)}))},model(e){e.action&&this.billing.set("action",e.action),this.billing.setBillingWindowOpen(!0)},activate(){this.ui.set("showTour",!1)},deactivate(){this.ui.set("showTour",!0)},actions:{willTransition(e){let t=!1 if(e){let n="string"==typeof e.to?e.to:e.intent?e.intent.url:"" null!=n&&n.includes("/billing")&&(t=!0)}this.billing.setBillingWindowOpen(t)}},buildRouteInfoMetadata:()=>({titleToken:"Billing"})}) e.default=n})),define("ghost-admin/routes/editor",["exports","jquery","ghost-admin/routes/authenticated","ghost-admin/mixins/shortcuts-route","ghost-admin/utils/ctrl-or-cmd"],(function(e,t,n,s,a){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0 @@ -2131,7 +2132,7 @@ e.default=t})),define("ghost-admin/templates/application-error",["exports"],(fun var t=Ember.HTMLBars.template({id:"BwieU0Zl",block:'{"symbols":[],"statements":[[10,"div"],[14,0,"gh-view"],[12],[2,"\\n "],[10,"section"],[14,0,"error-content error-404 js-error-container"],[12],[2,"\\n "],[10,"section"],[14,0,"error-details"],[12],[2,"\\n "],[10,"img"],[14,0,"error-ghost"],[14,"src","assets/img/404-ghost@2x-34c1119ed15cc3ea71e4406f80c8e810.png"],[14,"srcset","assets/img/404-ghost-e112dbfadde79cf30dbca8e8cfe7a21a.png 1x, assets/img/404-ghost@2x-34c1119ed15cc3ea71e4406f80c8e810.png 2x"],[12],[13],[2,"\\n "],[10,"section"],[14,0,"error-message"],[12],[2,"\\n "],[10,"h1"],[14,0,"error-code"],[12],[1,[32,0,["model","code"]]],[13],[2,"\\n "],[10,"h2"],[14,0,"error-description"],[12],[2,"\\n "],[1,[30,[36,0],[[32,0,["model","payload","errors","firstObject","message"]],[32,0,["model","message"]]],null]],[2,"\\n "],[13],[2,"\\n "],[13],[2,"\\n "],[13],[2,"\\n "],[13],[2,"\\n"],[13],[2,"\\n\\n"],[8,"ember-load-remover",[],[[],[]],null],[2,"\\n"]],"hasEval":false,"upvars":["or"]}',meta:{moduleName:"ghost-admin/templates/application-error.hbs"}}) e.default=t})) define("ghost-admin/templates/application",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0 -var t=Ember.HTMLBars.template({id:"79IELx2i",block:'{"symbols":[],"statements":[[8,"gh-app",[],[["@showSettingsMenu"],[[32,0,["ui","showSettingsMenu"]]]],[["default"],[{"statements":[[2,"\\n "],[8,"gh-skip-link",[],[["@anchor"],[".gh-main"]],[["default"],[{"statements":[[2,"Skip to main content"]],"parameters":[]}]]],[2,"\\n\\n"],[6,[37,3],[[32,0,["session","isAuthenticated"]]],null,[["default"],[{"statements":[[6,[37,3],[[30,[36,2],[[30,[36,1],[[32,0,["session","user"]]],null],[32,0,["updateUrl"]]],null]],null,[["default"],[{"statements":[[2," "],[10,"aside"],[14,0,"gh-update-banner"],[12],[2,"\\n "],[10,"div"],[14,0,"gh-alert-content"],[12],[2,"\\n A new major version of Ghost is available!\\n "],[13],[2,"\\n "],[11,"a"],[16,6,[32,0,["updateUrl"]]],[24,"target","_blank"],[4,[38,0],["click",[32,0,["openUpdateTab"]]],null],[12],[2,"Click here to update to Ghost 4.0"],[13],[2,"\\n "],[13],[2,"\\n"]],"parameters":[]}]]]],"parameters":[]}]]],[2,"\\n "],[8,"gh-alerts",[],[[],[]],null],[2,"\\n\\n "],[10,"div"],[15,0,[31,["gh-viewport ",[30,[36,3],[[32,0,["ui","showSettingsMenu"]],"settings-menu-expanded"],null]," ",[30,[36,3],[[32,0,["ui","showMobileMenu"]],"mobile-menu-expanded"],null]]]],[12],[2,"\\n"],[6,[37,3],[[32,0,["showNavMenu"]]],null,[["default"],[{"statements":[[2," "],[8,"gh-nav-menu",[],[["@icon"],[[32,0,["settings","settledIcon"]]]],null],[2,"\\n"]],"parameters":[]}]]],[2,"\\n "],[10,"main"],[15,0,[31,["gh-main ",[32,0,["ui","mainClass"]]]]],[14,"role","main"],[12],[2,"\\n "],[1,[30,[36,5],[[30,[36,4],null,null]],null]],[2,"\\n\\n"],[6,[37,3],[[32,0,["showBilling"]]],null,[["default"],[{"statements":[[2," "],[8,"gh-billing-modal",[],[[],[]],null],[2,"\\n"]],"parameters":[]}]]],[2," "],[13],[2,"\\n\\n "],[8,"gh-notifications",[],[[],[]],null],[2,"\\n\\n "],[8,"gh-content-cover",[],[[],[]],null],[2,"\\n\\n "],[8,"gh-mobile-nav-bar",[],[[],[]],null],[2,"\\n\\n "],[8,"gh-whats-new",[],[[],[]],null],[2,"\\n "],[13],[2,"\\n\\n"],[6,[37,3],[[32,0,["customViews","showFormModal"]]],null,[["default"],[{"statements":[[2," "],[8,"gh-fullscreen-modal",[],[["@modal","@close","@modifier"],["custom-view-form",[32,0,["customViews","toggleFormModal"]],"action narrow"]],null],[2,"\\n"]],"parameters":[]}]]],[2,"\\n"]],"parameters":[]}]]],[2,"\\n\\n"],[8,"ember-load-remover",[],[[],[]],null]],"hasEval":false,"upvars":["on","gh-user-can-admin","and","if","-outlet","component"]}',meta:{moduleName:"ghost-admin/templates/application.hbs"}}) +var t=Ember.HTMLBars.template({id:"ZrQ1aH53",block:'{"symbols":[],"statements":[[8,"gh-app",[],[["@showSettingsMenu"],[[32,0,["ui","showSettingsMenu"]]]],[["default"],[{"statements":[[2,"\\n "],[8,"gh-skip-link",[],[["@anchor"],[".gh-main"]],[["default"],[{"statements":[[2,"Skip to main content"]],"parameters":[]}]]],[2,"\\n\\n"],[6,[37,2],[[32,0,["session","isAuthenticated"]]],null,[["default"],[{"statements":[[6,[37,2],[[30,[36,1],[[32,0,["session","user","isOwner"]],[32,0,["updateUrl"]]],null]],null,[["default"],[{"statements":[[2," "],[10,"aside"],[14,0,"gh-update-banner"],[12],[2,"\\n "],[10,"div"],[14,0,"gh-alert-content"],[12],[2,"\\n A new major version of Ghost is available!\\n "],[13],[2,"\\n "],[11,"a"],[16,6,[32,0,["updateUrl"]]],[24,"target","_blank"],[4,[38,0],["click",[32,0,["openUpdateTab"]]],null],[12],[2,"Click here to update to Ghost 4.0"],[13],[2,"\\n "],[13],[2,"\\n"]],"parameters":[]}]]]],"parameters":[]}]]],[2,"\\n "],[8,"gh-alerts",[],[[],[]],null],[2,"\\n\\n "],[10,"div"],[15,0,[31,["gh-viewport ",[30,[36,2],[[32,0,["ui","showSettingsMenu"]],"settings-menu-expanded"],null]," ",[30,[36,2],[[32,0,["ui","showMobileMenu"]],"mobile-menu-expanded"],null]]]],[12],[2,"\\n"],[6,[37,2],[[32,0,["showNavMenu"]]],null,[["default"],[{"statements":[[2," "],[8,"gh-nav-menu",[],[["@icon"],[[32,0,["settings","settledIcon"]]]],null],[2,"\\n"]],"parameters":[]}]]],[2,"\\n "],[10,"main"],[15,0,[31,["gh-main ",[32,0,["ui","mainClass"]]]]],[14,"role","main"],[12],[2,"\\n "],[1,[30,[36,4],[[30,[36,3],null,null]],null]],[2,"\\n\\n"],[6,[37,2],[[32,0,["showBilling"]]],null,[["default"],[{"statements":[[2," "],[8,"gh-billing-modal",[],[[],[]],null],[2,"\\n"]],"parameters":[]}]]],[2," "],[13],[2,"\\n\\n "],[8,"gh-notifications",[],[[],[]],null],[2,"\\n\\n "],[8,"gh-content-cover",[],[[],[]],null],[2,"\\n\\n "],[8,"gh-mobile-nav-bar",[],[[],[]],null],[2,"\\n\\n "],[8,"gh-whats-new",[],[[],[]],null],[2,"\\n "],[13],[2,"\\n\\n"],[6,[37,2],[[32,0,["customViews","showFormModal"]]],null,[["default"],[{"statements":[[2," "],[8,"gh-fullscreen-modal",[],[["@modal","@close","@modifier"],["custom-view-form",[32,0,["customViews","toggleFormModal"]],"action narrow"]],null],[2,"\\n"]],"parameters":[]}]]],[2,"\\n"]],"parameters":[]}]]],[2,"\\n\\n"],[8,"ember-load-remover",[],[[],[]],null]],"hasEval":false,"upvars":["on","and","if","-outlet","component"]}',meta:{moduleName:"ghost-admin/templates/application.hbs"}}) e.default=t})),define("ghost-admin/templates/components/basic-dropdown-content",["exports","ember-basic-dropdown/templates/components/basic-dropdown-content"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("ghost-admin/templates/components/basic-dropdown-trigger",["exports","ember-basic-dropdown/templates/components/basic-dropdown-trigger"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("ghost-admin/templates/components/basic-dropdown",["exports","ember-basic-dropdown/templates/components/basic-dropdown"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("ghost-admin/templates/components/draggable-object-target",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0 var t=Ember.HTMLBars.template({id:"zPdNTUXQ",block:'{"symbols":["&default"],"statements":[[6,[37,2],[[35,1]],null,[["default","else"],[{"statements":[[2," "],[11,"a"],[24,6,"#"],[4,[38,0],[[32,0],"acceptForDrop"],null],[12],[2,"\\n "],[18,1,null],[2,"\\n "],[13],[2,"\\n"]],"parameters":[]},{"statements":[[2," "],[18,1,null],[2,"\\n"]],"parameters":[]}]]]],"hasEval":false,"upvars":["action","enableClicking","if"]}',meta:{moduleName:"ghost-admin/templates/components/draggable-object-target.hbs"}}) e.default=t})),define("ghost-admin/templates/components/draggable-object",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0 diff --git a/core/server/web/admin/views/default-prod.html b/core/server/web/admin/views/default-prod.html index d639ba8254..bac5bf916c 100644 --- a/core/server/web/admin/views/default-prod.html +++ b/core/server/web/admin/views/default-prod.html @@ -53,7 +53,7 @@ - + diff --git a/core/server/web/admin/views/default.html b/core/server/web/admin/views/default.html index d639ba8254..bac5bf916c 100644 --- a/core/server/web/admin/views/default.html +++ b/core/server/web/admin/views/default.html @@ -53,7 +53,7 @@ - + diff --git a/package.json b/package.json index bf5a4bf46f..b2c27e1ca7 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ghost", - "version": "3.42.1", + "version": "3.42.2", "description": "The professional publishing platform", "author": "Ghost Foundation", "homepage": "https://ghost.org",