wiki-js-customization/test/wiki_homepage_files/theme0.js

2 lines
57 KiB
JavaScript
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/*! Wiki.js - wiki.js.org - Licensed under AGPL */
(this.webpackJsonp=this.webpackJsonp||[]).push([["theme0"],{"./client/themes/default/components/nav-footer.vue":function(e,t,s){"use strict";s.r(t);var i=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("v-footer",{staticClass:"justify-center",attrs:{color:e.bgColor,inset:""}},[s("div",{staticClass:"caption grey--text",class:e.$vuetify.theme.dark?"text--lighten-1":"text--darken-1"},[e.footerOverride?[s("span",{domProps:{innerHTML:e._s(e.footerOverrideRender+" |&nbsp;")}})]:e.company&&e.company.length>0&&""!==e.contentLicense?["alr"===e.contentLicense?s("span",[e._v(e._s(e.$t("common:footer.copyright",{company:e.company,year:e.currentYear,interpolation:{escapeValue:!1}}))+" | ")]):s("span",[e._v(e._s(e.$t("common:footer.license",{company:e.company,license:e.$t("common:license."+e.contentLicense),interpolation:{escapeValue:!1}}))+" | ")])]:e._e(),s("span",[e._v(e._s(e.$t("common:footer.poweredBy"))+" "),s("a",{ref:"nofollow",attrs:{href:"https://wiki.js.org"}},[e._v("Wiki.js")])])],2)])};i._withStripped=!0;var o=s("./node_modules/vuex-pathify/dist/vuex-pathify.js"),n=s("./node_modules/markdown-it/index.js");const a=new(s.n(n).a)({html:!1,breaks:!1,linkify:!0});var l={props:{color:{type:String,default:"grey lighten-3"},darkColor:{type:String,default:"grey darken-3"}},data:()=>({currentYear:(new Date).getFullYear()}),computed:{company:Object(o.get)("site/company"),contentLicense:Object(o.get)("site/contentLicense"),footerOverride:Object(o.get)("site/footerOverride"),footerOverrideRender(){return this.footerOverride?a.renderInline(this.footerOverride):""},bgColor(){return this.$vuetify.theme.dark?this.darkColor:this.color}}},r=(s("./client/themes/default/components/nav-footer.vue?vue&type=style&index=0&lang=scss&"),s("./node_modules/vue-loader/lib/runtime/componentNormalizer.js")),d=s("./node_modules/vuetify-loader/lib/runtime/installComponents.js"),c=s.n(d),u=(s("./node_modules/vuetify/src/components/VFooter/VFooter.sass"),s("./node_modules/vuetify/lib/components/VSheet/VSheet.js")),m=s("./node_modules/vuetify/lib/mixins/applicationable/index.js"),p=s("./node_modules/vuetify/lib/mixins/ssr-bootable/index.js"),v=s("./node_modules/vuetify/lib/util/mixins.js"),h=s("./node_modules/vuetify/lib/util/helpers.js"),f=Object(v.a)(u.a,Object(m.a)("footer",["height","inset"]),p.a).extend({name:"v-footer",props:{height:{default:"auto",type:[Number,String]},inset:Boolean,padless:Boolean,tag:{type:String,default:"footer"}},computed:{applicationProperty(){return this.inset?"insetFooter":"footer"},classes(){return{...u.a.options.computed.classes.call(this),"v-footer--absolute":this.absolute,"v-footer--fixed":!this.absolute&&(this.app||this.fixed),"v-footer--padless":this.padless,"v-footer--inset":this.inset}},computedBottom(){if(this.isPositioned)return this.app?this.$vuetify.application.bottom:0},computedLeft(){if(this.isPositioned)return this.app&&this.inset?this.$vuetify.application.left:0},computedRight(){if(this.isPositioned)return this.app&&this.inset?this.$vuetify.application.right:0},isPositioned(){return Boolean(this.absolute||this.fixed||this.app)},styles(){const e=parseInt(this.height);return{...u.a.options.computed.styles.call(this),height:isNaN(e)?e:Object(h.h)(e),left:Object(h.h)(this.computedLeft),right:Object(h.h)(this.computedRight),bottom:Object(h.h)(this.computedBottom)}}},methods:{updateApplication(){const e=parseInt(this.height);return isNaN(e)?this.$el?this.$el.clientHeight:0:e}},render(e){const t=this.setBackgroundColor(this.color,{staticClass:"v-footer",class:this.classes,style:this.styles});return e(this.tag,t,this.$slots.default)}}),g=Object(r.a)(l,i,[],!1,null,null,null);c()(g,{VFooter:f}),g.options.__file="client/themes/default/components/nav-footer.vue";t.default=g.exports},"./client/themes/default/components/nav-footer.vue?vue&type=style&index=0&lang=scss&":function(e,t,s){"use strict";s("./node_modules/cache-loader/dist/cjs.js?!./node_modules/style-loader/dist/cjs.js!./node_modules/mini-css-extract-plugin/dist/loader.js!./node_modules/css-loader/dist/cjs.js!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src/index.js!./node_modules/sass-loader/dist/cjs.js?!./node_modules/sass-resources-loader/lib/loader.js?!./node_modules/vue-loader/lib/index.js?!./client/themes/default/components/nav-footer.vue?vue&type=style&index=0&lang=scss&")},"./client/themes/default/components/nav-sidebar.vue":function(e,t,s){"use strict";var i=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",["MIXED"===e.navMode?s("div",{staticClass:"pa-3 d-flex",class:e.$vuetify.theme.dark?"grey darken-5":"blue darken-3"},[s("v-btn",{staticStyle:{"min-width":"0"},attrs:{depressed:"",color:e.$vuetify.theme.dark?"grey darken-4":"blue darken-2","aria-label":e.$t("common:header.home")},on:{click:e.goHome}},[s("v-icon",{attrs:{size:"20"}},[e._v("mdi-home")])],1),"custom"===e.currentMode?s("v-btn",{staticClass:"ml-3",staticStyle:{flex:"1 1 100%"},attrs:{depressed:"",color:e.$vuetify.theme.dark?"grey darken-4":"blue darken-2"},on:{click:function(t){return e.switchMode("browse")}}},[s("v-icon",{attrs:{left:""}},[e._v("mdi-file-tree")]),s("div",{staticClass:"body-2 text-none"},[e._v(e._s(e.$t("common:sidebar.browse")))])],1):"browse"===e.currentMode?s("v-btn",{staticClass:"ml-3",staticStyle:{flex:"1 1 100%"},attrs:{depressed:"",color:e.$vuetify.theme.dark?"grey darken-4":"blue darken-2"},on:{click:function(t){return e.switchMode("custom")}}},[s("v-icon",{attrs:{left:""}},[e._v("mdi-navigation")]),s("div",{staticClass:"body-2 text-none"},[e._v(e._s(e.$t("common:sidebar.mainMenu")))])],1):e._e()],1):e._e(),s("v-divider"),"custom"===e.currentMode?s("v-list",{staticClass:"py-2",class:e.color,attrs:{dense:"",dark:e.dark}},[e._l(e.items,(function(t){return["link"===t.k?s("v-list-item",{attrs:{href:t.t,target:"externalblank"===t.y?"_blank":"_self",rel:"externalblank"===t.y?"noopener":""}},[s("v-list-item-avatar",{attrs:{size:"24",tile:""}},[t.c.match(/fa[a-z] fa-/)?s("v-icon",{attrs:{size:"19"}},[e._v(e._s(t.c))]):s("v-icon",[e._v(e._s(t.c))])],1),s("v-list-item-title",[e._v(e._s(t.l))])],1):"divider"===t.k?s("v-divider",{staticClass:"my-2"}):"header"===t.k?s("v-subheader",{staticClass:"pl-4"},[e._v(e._s(t.l))]):e._e()]}))],2):"browse"===e.currentMode?s("v-list",{staticClass:"py-2",class:e.color,attrs:{dense:"",dark:e.dark}},[e.currentParent.id>0?[e._l(e.parents,(function(t,i){return s("v-list-item",{key:"parent-"+t.id,staticStyle:{"min-height":"30px"},on:{click:function(s){return e.fetchBrowseItems(t)}}},[s("v-list-item-avatar",{style:"padding-left: "+8*i+"px; width: auto; margin: 0 5px 0 0;",attrs:{size:"18"}},[s("v-icon",{attrs:{small:""}},[e._v("mdi-folder-open")])],1),s("v-list-item-title",[e._v(e._s(t.title))])],1)})),s("v-divider",{staticClass:"mt-2"}),e.currentParent.pageId>0?s("v-list-item",{key:"directorypage-"+e.currentParent.id,staticClass:"mt-2",attrs:{href:"/"+e.currentParent.locale+"/"+e.currentParent.path,"input-value":e.path===e.currentParent.path}},[s("v-list-item-avatar",{attrs:{size:"24"}},[s("v-icon",[e._v("mdi-text-box")])],1),s("v-list-item-title",[e._v(e._s(e.currentParent.title))])],1):e._e(),s("v-subheader",{staticClass:"pl-4"},[e._v(e._s(e.$t("common:sidebar.currentDirectory")))])]:e._e(),e._l(e.currentItems,(function(t){return[t.isFolder?s("v-list-item",{key:"childfolder-"+t.id,on:{click:function(s){return e.fetchBrowseItems(t)}}},[s("v-list-item-avatar",{attrs:{size:"24"}},[s("v-icon",[e._v("mdi-folder")])],1),s("v-list-item-title",[e._v(e._s(t.title))])],1):s("v-list-item",{key:"childpage-"+t.id,attrs:{href:"/"+t.locale+"/"+t.path,"input-value":e.path===t.path}},[s("v-list-item-avatar",{attrs:{size:"24"}},[s("v-icon",[e._v("mdi-text-box")])],1),s("v-list-item-title",[e._v(e._s(t.title))])],1)]}))],2):e._e()],1)};i._withStripped=!0;var o=s("./node_modules/lodash/filter.js"),n=s.n(o),a=s("./node_modules/lodash/last.js"),l=s.n(a),r=s("./node_modules/lodash/find.js"),d=s.n(r),c=s("./node_modules/lodash/get.js"),u=s.n(c),m=s("./node_modules/lodash/union.js"),p=s.n(m),v=s("./node_modules/lodash/take.js"),h=s.n(v),f=s("./node_modules/lodash/findIndex.js"),g=s.n(f),b=s("./node_modules/vuex-pathify/dist/vuex-pathify.js"),_={props:{color:{type:String,default:"primary"},dark:{type:Boolean,default:!0},items:{type:Array,default:()=>[]},navMode:{type:String,default:"MIXED"}},data:()=>({currentMode:"custom",currentItems:[],currentParent:{id:0,title:"/ (root)"},parents:[],loadedCache:[]}),computed:{path:Object(b.get)("page/path"),locale:Object(b.get)("page/locale")},methods:{switchMode(e){this.currentMode=e,window.localStorage.setItem("navPref",e),"browse"===e&&this.loadedCache.length<1&&this.loadFromCurrentPath()},async fetchBrowseItems(e){if(this.$store.commit("loadingStart","browse-load"),e||(e=this.currentParent),this.loadedCache.indexOf(e.id)<0&&(this.currentItems=[]),0===e.id)this.parents=[];else{const t=g()(this.parents,["id",e.id]);t>=0&&(this.parents=h()(this.parents,t)),this.parents.length<1&&this.parents.push(this.currentParent),this.parents.push(e)}this.currentParent=e;const t=await this.$apollo.query({query:{kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"parent"}},type:{kind:"NamedType",name:{kind:"Name",value:"Int"}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"locale"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"pages"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"tree"},arguments:[{kind:"Argument",name:{kind:"Name",value:"parent"},value:{kind:"Variable",name:{kind:"Name",value:"parent"}}},{kind:"Argument",name:{kind:"Name",value:"mode"},value:{kind:"EnumValue",value:"ALL"}},{kind:"Argument",name:{kind:"Name",value:"locale"},value:{kind:"Variable",name:{kind:"Name",value:"locale"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"path"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"title"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isFolder"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"pageId"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"parent"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"locale"},arguments:[],directives:[]}]}}]}}]}}],loc:{start:0,end:344,source:{body:"\n query ($parent: Int, $locale: String!) {\n pages {\n tree(parent: $parent, mode: ALL, locale: $locale) {\n id\n path\n title\n isFolder\n pageId\n parent\n locale\n }\n }\n }\n ",name:"GraphQL request",locationOffset:{line:1,column:1}}}},fetchPolicy:"cache-first",variables:{parent:e.id,locale:this.locale}});this.loadedCache=p()(this.loadedCache,[e.id]),this.currentItems=u()(t,"data.pages.tree",[]),this.$store.commit("loadingStop","browse-load")},async loadFromCurrentPath(){this.$store.commit("loadingStart","browse-load");const e=await this.$apollo.query({query:{kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"path"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"locale"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"pages"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"tree"},arguments:[{kind:"Argument",name:{kind:"Name",value:"path"},value:{kind:"Variable",name:{kind:"Name",value:"path"}}},{kind:"Argument",name:{kind:"Name",value:"mode"},value:{kind:"EnumValue",value:"ALL"}},{kind:"Argument",name:{kind:"Name",value:"locale"},value:{kind:"Variable",name:{kind:"Name",value:"locale"}}},{kind:"Argument",name:{kind:"Name",value:"includeAncestors"},value:{kind:"BooleanValue",value:!0}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"path"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"title"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isFolder"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"pageId"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"parent"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"locale"},arguments:[],directives:[]}]}}]}}]}}],loc:{start:0,end:365,source:{body:"\n query ($path: String, $locale: String!) {\n pages {\n tree(path: $path, mode: ALL, locale: $locale, includeAncestors: true) {\n id\n path\n title\n isFolder\n pageId\n parent\n locale\n }\n }\n }\n ",name:"GraphQL request",locationOffset:{line:1,column:1}}}},fetchPolicy:"cache-first",variables:{path:this.path,locale:this.locale}}),t=u()(e,"data.pages.tree",[]),s=d()(t,["pageId",this.$store.get("page/id")]);if(!s)return void console.warn("Could not find current page in page tree listing!");let i=s.parent,o=[];for(;i;){const e=d()(t,["id",i]);if(!e)break;o.push(e),i=e.parent}this.parents=[this.currentParent,...o.reverse()],this.currentParent=l()(this.parents),this.loadedCache=[s.parent],this.currentItems=n()(t,["parent",s.parent]),this.$store.commit("loadingStop","browse-load")},goHome(){window.location.assign(siteLangs.length>0?`/${this.locale}/home`:"/")}},mounted(){this.currentParent.title="/ "+this.$t("common:sidebar.root"),"TREE"===this.navMode?this.currentMode="browse":"STATIC"===this.navMode?this.currentMode="custom":this.currentMode=window.localStorage.getItem("navPref")||"custom","browse"===this.currentMode&&this.loadFromCurrentPath()}},y=s("./node_modules/vue-loader/lib/runtime/componentNormalizer.js"),j=s("./node_modules/vuetify-loader/lib/runtime/installComponents.js"),x=s.n(j),k=s("./node_modules/vuetify/lib/components/VBtn/VBtn.js"),$=s("./node_modules/vuetify/lib/components/VDivider/VDivider.js"),S=s("./node_modules/vuetify/lib/components/VIcon/VIcon.js"),w=s("./node_modules/vuetify/lib/components/VList/VList.js"),V=s("./node_modules/vuetify/lib/components/VList/VListItem.js"),C=s("./node_modules/vuetify/lib/components/VList/VListItemAvatar.js"),P=s("./node_modules/vuetify/lib/components/VList/index.js"),N=s("./node_modules/vuetify/lib/components/VSubheader/VSubheader.js"),O=Object(y.a)(_,i,[],!1,null,null,null);x()(O,{VBtn:k.a,VDivider:$.a,VIcon:S.a,VList:w.a,VListItem:V.a,VListItemAvatar:C.a,VListItemTitle:P.d,VSubheader:N.a}),O.options.__file="client/themes/default/components/nav-sidebar.vue";t.a=O.exports},"./client/themes/default/components/page.vue":function(e,t,s){"use strict";s.r(t);var i=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("v-app",{directives:[{name:"scroll",rawName:"v-scroll",value:e.upBtnScroll,expression:"upBtnScroll"}],class:e.$vuetify.rtl?"is-rtl":"is-ltr",attrs:{dark:e.$vuetify.theme.dark}},[e.printView?e._e():s("nav-header"),"NONE"===e.navMode||e.printView?e._e():s("v-navigation-drawer",{class:e.$vuetify.theme.dark?"grey darken-4-d4":"primary",attrs:{dark:"",app:"",clipped:"","mobile-breakpoint":"600",temporary:e.$vuetify.breakpoint.smAndDown,right:e.$vuetify.rtl},model:{value:e.navShown,callback:function(t){e.navShown=t},expression:"navShown"}},[s("vue-scroll",{attrs:{ops:e.scrollStyle}},[s("nav-sidebar",{attrs:{color:e.$vuetify.theme.dark?"grey darken-4-d4":"primary",items:e.sidebarDecoded,"nav-mode":e.navMode}})],1)],1),"NONE"!==e.navMode?s("v-fab-transition",[e.$vuetify.breakpoint.mdAndDown?s("v-btn",{directives:[{name:"show",rawName:"v-show",value:!e.navShown,expression:"!navShown"}],attrs:{fab:"",color:"primary",fixed:"",bottom:"",right:e.$vuetify.rtl,left:!e.$vuetify.rtl,small:""},on:{click:function(t){e.navShown=!e.navShown}}},[s("v-icon",[e._v("mdi-menu")])],1):e._e()],1):e._e(),s("v-main",{ref:"content"},["home"!==e.path?[e.$vuetify.breakpoint.smAndUp?s("v-toolbar",{attrs:{color:e.$vuetify.theme.dark?"grey darken-4-d3":"grey lighten-3",flat:"",dense:""}},[s("v-breadcrumbs",{staticClass:"breadcrumbs-nav pl-0",attrs:{items:e.breadcrumbs,divider:"/"},scopedSlots:e._u([{key:"item",fn:function(t){return["/"===t.item.path?s("v-icon",{attrs:{small:""},on:{click:e.goHome}},[e._v("mdi-home")]):s("v-btn",{staticClass:"ma-0",attrs:{href:t.item.path,small:"",text:""}},[e._v(e._s(t.item.name))])]}}],null,!1,395653315)}),e.isPublished?e._e():[s("v-spacer"),s("div",{staticClass:"caption red--text"},[e._v(e._s(e.$t("common:page.unpublished")))]),s("status-indicator",{staticClass:"ml-3",attrs:{negative:"",pulse:""}})]],2):e._e(),s("v-divider")]:e._e(),s("v-container",{staticClass:"grey pa-0",class:e.$vuetify.theme.dark?"darken-4-l3":"lighten-4",attrs:{fluid:""}},[s("v-row",{staticClass:"page-header-section",staticStyle:{height:"90px"},attrs:{"no-gutters":"","align-content":"center"}},[s("v-col",{staticClass:"page-col-content is-page-header",class:e.$vuetify.rtl?"pr-4":"pl-4",staticStyle:{"margin-top":"auto","margin-bottom":"auto"},attrs:{"offset-xl":"left"===e.tocPosition?2:0,"offset-lg":"left"===e.tocPosition?3:0,xl:"right"===e.tocPosition&&10,lg:"right"===e.tocPosition&&9}},[s("div",{staticClass:"page-header-headings"},[s("div",{staticClass:"headline grey--text",class:e.$vuetify.theme.dark?"text--lighten-2":"text--darken-3"},[e._v(e._s(e.title))]),s("div",{staticClass:"caption grey--text text--darken-1"},[e._v(e._s(e.description))])]),e.editShortcutsObj.editMenuBar?s("div",{staticClass:"page-edit-shortcuts",class:"right"===e.tocPosition?"is-right":""},[e.editShortcutsObj.editMenuBtn?s("v-btn",{attrs:{depressed:"",small:""},on:{click:e.pageEdit}},[s("v-icon",{staticClass:"mr-2",attrs:{small:""}},[e._v("mdi-pencil")]),s("span",{staticClass:"text-none"},[e._v(e._s(e.$t("common:actions.edit")))])],1):e._e(),e.editShortcutsObj.editMenuExternalBtn?s("v-btn",{attrs:{href:e.editMenuExternalUrl,target:"_blank",depressed:"",small:""}},[s("v-icon",{staticClass:"mr-2",attrs:{small:""}},[e._v(e._s(e.editShortcutsObj.editMenuExternalIcon))]),s("span",{staticClass:"text-none"},[e._v(e._s(e.$t("common:page.editExternal",{name:e.editShortcutsObj.editMenuExternalName})))])],1):e._e()],1):e._e()])],1)],1),s("v-divider"),s("v-container",{staticClass:"pl-5 pt-4",attrs:{fluid:"","grid-list-xl":""}},[s("v-layout",{attrs:{row:""}},["off"!==e.tocPosition&&e.$vuetify.breakpoint.lgAndUp?s("v-flex",{staticClass:"page-col-sd",attrs:{"order-xs1":"right"!==e.tocPosition,"order-xs2":"right"===e.tocPosition,lg3:"",xl2:""}},[e.tocDecoded.length?s("v-card",{staticClass:"page-toc-card mb-5"},[s("div",{staticClass:"overline pa-5 pb-0",class:e.$vuetify.theme.dark?"blue--text text--lighten-2":"primary--text"},[e._v(e._s(e.$t("common:page.toc")))]),s("v-list",{staticClass:"pb-3",class:e.$vuetify.theme.dark?"darken-3-d3":"",attrs:{dense:"",nav:""}},[e._l(e.tocDecoded,(function(t,i){return[s("v-list-item",{on:{click:function(s){return e.$vuetify.goTo(t.anchor,e.scrollOpts)}}},[s("v-icon",{attrs:{color:"grey",small:""}},[e._v(e._s(e.$vuetify.rtl?"mdi-chevron-left":"mdi-chevron-right"))]),s("v-list-item-title",{staticClass:"px-3"},[e._v(e._s(t.title))])],1),e._l(t.children,(function(t){return[s("v-list-item",{on:{click:function(s){return e.$vuetify.goTo(t.anchor,e.scrollOpts)}}},[s("v-icon",{staticClass:"px-3",attrs:{color:"grey lighten-1",small:""}},[e._v(e._s(e.$vuetify.rtl?"mdi-chevron-left":"mdi-chevron-right"))]),s("v-list-item-title",{staticClass:"px-3 caption grey--text",class:e.$vuetify.theme.dark?"text--lighten-1":"text--darken-1"},[e._v(e._s(t.title))])],1)]}))]}))],2)],1):e._e(),e.tags.length>0?s("v-card",{staticClass:"page-tags-card mb-5"},[s("div",{staticClass:"pa-5"},[s("div",{staticClass:"overline teal--text pb-2",class:e.$vuetify.theme.dark?"text--lighten-3":""},[e._v(e._s(e.$t("common:page.tags")))]),e._l(e.tags,(function(t,i){return s("v-chip",{key:"tag-"+t.tag,staticClass:"mr-1 mb-1",attrs:{label:"",color:e.$vuetify.theme.dark?"teal darken-1":"teal lighten-5",href:"/t/"+t.tag}},[s("v-icon",{attrs:{color:e.$vuetify.theme.dark?"teal lighten-3":"teal",left:"",small:""}},[e._v("mdi-tag")]),s("span",{class:e.$vuetify.theme.dark?"teal--text text--lighten-5":"teal--text text--darken-2"},[e._v(e._s(t.title))])],1)})),s("v-chip",{staticClass:"mr-1 mb-1",attrs:{label:"",color:e.$vuetify.theme.dark?"teal darken-1":"teal lighten-5",href:"/t/"+e.tags.map((function(e){return e.tag})).join("/"),"aria-label":e.$t("common:page.tagsMatching")}},[s("v-icon",{attrs:{color:e.$vuetify.theme.dark?"teal lighten-3":"teal",size:"20"}},[e._v("mdi-tag-multiple")])],1)],2)]):e._e(),e.commentsEnabled&&e.commentsPerms.read?s("v-card",{staticClass:"page-comments-card mb-5"},[s("div",{staticClass:"pa-5"},[s("div",{staticClass:"overline pb-2 blue-grey--text d-flex align-center",class:e.$vuetify.theme.dark?"text--lighten-3":"text--darken-2"},[s("span",[e._v(e._s(e.$t("common:comments.sdTitle")))])]),s("div",{staticClass:"d-flex"},[s("v-btn",{staticClass:"text-none",staticStyle:{flex:"1 1 100%"},attrs:{color:e.$vuetify.theme.dark?"blue-grey":"blue-grey darken-2",outlined:"",small:""},on:{click:function(t){return e.goToComments()}}},[s("span",{staticClass:"blue-grey--text",class:e.$vuetify.theme.dark?"text--lighten-1":"text--darken-2"},[e._v(e._s(e.$t("common:comments.viewDiscussion")))])]),e.commentsPerms.write?s("v-tooltip",{attrs:{right:""},scopedSlots:e._u([{key:"activator",fn:function(t){var i=t.on;return[s("v-btn",e._g({staticClass:"ml-2",attrs:{outlined:"",small:"",color:e.$vuetify.theme.dark?"blue-grey":"blue-grey darken-2","aria-label":e.$t("common:comments.newComment")},on:{click:function(t){return e.goToComments(!0)}}},i),[s("v-icon",{attrs:{color:e.$vuetify.theme.dark?"blue-grey lighten-1":"blue-grey darken-2",dense:""}},[e._v("mdi-comment-plus")])],1)]}}],null,!1,430824032)},[s("span",[e._v(e._s(e.$t("common:comments.newComment")))])]):e._e()],1)])]):e._e(),s("v-card",{staticClass:"page-author-card mb-5"},[s("div",{staticClass:"pa-5"},[s("div",{staticClass:"overline indigo--text d-flex",class:e.$vuetify.theme.dark?"text--lighten-3":""},[s("span",[e._v(e._s(e.$t("common:page.lastEditedBy")))]),s("v-spacer"),e.isAuthenticated?s("v-tooltip",{attrs:{right:""},scopedSlots:e._u([{key:"activator",fn:function(t){var i=t.on;return[e.hasReadHistoryPermission?s("v-btn",e._g({staticClass:"btn-animate-edit",attrs:{icon:"",href:"/h/"+e.locale+"/"+e.path,"x-small":"","aria-label":e.$t("common:header.history")}},i),[s("v-icon",{attrs:{color:"indigo",dense:""}},[e._v("mdi-history")])],1):e._e()]}}],null,!1,181474833)},[s("span",[e._v(e._s(e.$t("common:header.history")))])]):e._e()],1),s("div",{staticClass:"page-author-card-name body-2 grey--text",class:e.$vuetify.theme.dark?"":"text--darken-3"},[e._v(e._s(e.authorName))]),s("div",{staticClass:"page-author-card-date caption grey--text text--darken-1"},[e._v(e._s(e._f("moment")(e.updatedAt,"calendar")))])])]),s("v-card",{staticClass:"page-shortcuts-card",attrs:{flat:""}},[s("v-toolbar",{attrs:{color:e.$vuetify.theme.dark?"grey darken-4-d3":"grey lighten-3",flat:"",dense:""}},[s("v-spacer"),s("v-menu",{attrs:{"offset-y":"",bottom:"","min-width":"300"},scopedSlots:e._u([{key:"activator",fn:function(t){var i=t.on;return[s("v-tooltip",{attrs:{bottom:""},scopedSlots:e._u([{key:"activator",fn:function(t){var o=t.on;return[s("v-btn",e._g({attrs:{icon:"",tile:"","aria-label":e.$t("common:page.share")}},Object.assign({},i,o)),[s("v-icon",{attrs:{color:"grey"}},[e._v("mdi-share-variant")])],1)]}}],null,!0)},[s("span",[e._v(e._s(e.$t("common:page.share")))])])]}}],null,!1,3275472534)},[s("social-sharing",{attrs:{url:e.pageUrl,title:e.title,description:e.description}})],1),s("v-tooltip",{attrs:{bottom:""},scopedSlots:e._u([{key:"activator",fn:function(t){var i=t.on;return[s("v-btn",e._g({attrs:{icon:"",tile:"","aria-label":e.$t("common:page.printFormat")},on:{click:e.print}},i),[s("v-icon",{attrs:{color:e.printView?"primary":"grey"}},[e._v("mdi-printer")])],1)]}}],null,!1,755730133)},[s("span",[e._v(e._s(e.$t("common:page.printFormat")))])]),s("v-spacer")],1)],1)],1):e._e(),s("v-flex",{staticClass:"page-col-content",attrs:{xs12:"",lg9:"off"!==e.tocPosition,xl10:"off"!==e.tocPosition,"order-xs1":"right"===e.tocPosition,"order-xs2":"right"!==e.tocPosition}},[e.hasAnyPagePermissions&&e.editShortcutsObj.editFab?s("v-tooltip",{attrs:{right:e.$vuetify.rtl,left:!e.$vuetify.rtl},scopedSlots:e._u([{key:"activator",fn:function(t){var i=t.on;return[s("v-speed-dial",{attrs:{direction:"top","open-on-hover":"",transition:"scale-transition",bottom:"",right:!e.$vuetify.rtl,left:e.$vuetify.rtl,fixed:"",dark:""},scopedSlots:e._u([{key:"activator",fn:function(){return[s("v-btn",e._g({staticClass:"btn-animate-edit",attrs:{fab:"",color:"primary",disabled:!e.hasWritePagesPermission,"aria-label":e.$t("common:page.editPage")},on:{click:e.pageEdit},model:{value:e.pageEditFab,callback:function(t){e.pageEditFab=t},expression:"pageEditFab"}},i),[s("v-icon",[e._v("mdi-pencil")])],1)]},proxy:!0}],null,!0),model:{value:e.pageEditFab,callback:function(t){e.pageEditFab=t},expression:"pageEditFab"}},[e.hasReadHistoryPermission?s("v-tooltip",{attrs:{right:e.$vuetify.rtl,left:!e.$vuetify.rtl},scopedSlots:e._u([{key:"activator",fn:function(t){var i=t.on;return[s("v-btn",e._g({attrs:{fab:"",small:"",color:"white",light:""},on:{click:e.pageHistory}},i),[s("v-icon",{attrs:{size:"20"}},[e._v("mdi-history")])],1)]}}],null,!0)},[s("span",[e._v(e._s(e.$t("common:header.history")))])]):e._e(),e.hasReadSourcePermission?s("v-tooltip",{attrs:{right:e.$vuetify.rtl,left:!e.$vuetify.rtl},scopedSlots:e._u([{key:"activator",fn:function(t){var i=t.on;return[s("v-btn",e._g({attrs:{fab:"",small:"",color:"white",light:""},on:{click:e.pageSource}},i),[s("v-icon",{attrs:{size:"20"}},[e._v("mdi-code-tags")])],1)]}}],null,!0)},[s("span",[e._v(e._s(e.$t("common:header.viewSource")))])]):e._e(),e.hasWritePagesPermission?s("v-tooltip",{attrs:{right:e.$vuetify.rtl,left:!e.$vuetify.rtl},scopedSlots:e._u([{key:"activator",fn:function(t){var i=t.on;return[s("v-btn",e._g({attrs:{fab:"",small:"",color:"white",light:""},on:{click:e.pageConvert}},i),[s("v-icon",{attrs:{size:"20"}},[e._v("mdi-lightning-bolt")])],1)]}}],null,!0)},[s("span",[e._v(e._s(e.$t("common:header.convert")))])]):e._e(),e.hasWritePagesPermission?s("v-tooltip",{attrs:{right:e.$vuetify.rtl,left:!e.$vuetify.rtl},scopedSlots:e._u([{key:"activator",fn:function(t){var i=t.on;return[s("v-btn",e._g({attrs:{fab:"",small:"",color:"white",light:""},on:{click:e.pageDuplicate}},i),[s("v-icon",{attrs:{size:"20"}},[e._v("mdi-content-duplicate")])],1)]}}],null,!0)},[s("span",[e._v(e._s(e.$t("common:header.duplicate")))])]):e._e(),e.hasManagePagesPermission?s("v-tooltip",{attrs:{right:e.$vuetify.rtl,left:!e.$vuetify.rtl},scopedSlots:e._u([{key:"activator",fn:function(t){var i=t.on;return[s("v-btn",e._g({attrs:{fab:"",small:"",color:"white",light:""},on:{click:e.pageMove}},i),[s("v-icon",{attrs:{size:"20"}},[e._v("mdi-content-save-move-outline")])],1)]}}],null,!0)},[s("span",[e._v(e._s(e.$t("common:header.move")))])]):e._e(),e.hasDeletePagesPermission?s("v-tooltip",{attrs:{right:e.$vuetify.rtl,left:!e.$vuetify.rtl},scopedSlots:e._u([{key:"activator",fn:function(t){var i=t.on;return[s("v-btn",e._g({attrs:{fab:"",dark:"",small:"",color:"red"},on:{click:e.pageDelete}},i),[s("v-icon",{attrs:{size:"20"}},[e._v("mdi-trash-can-outline")])],1)]}}],null,!0)},[s("span",[e._v(e._s(e.$t("common:header.delete")))])]):e._e()],1)]}}],null,!1,960228448)},[s("span",[e._v(e._s(e.$t("common:page.editPage")))])]):e._e(),e.isPublished?e._e():s("v-alert",{staticClass:"mb-5",attrs:{color:"red",outlined:"",icon:"mdi-minus-circle",dense:""}},[s("div",{staticClass:"caption"},[e._v(e._s(e.$t("common:page.unpublishedWarning")))])]),s("div",{ref:"container",staticClass:"contents"},[e._t("contents")],2),e.commentsEnabled&&e.commentsPerms.read&&!e.printView?s("div",{staticClass:"comments-container",attrs:{id:"discussion"}},[s("div",{staticClass:"comments-header"},[s("v-icon",{staticClass:"mr-2",attrs:{dark:""}},[e._v("mdi-comment-text-outline")]),s("span",[e._v(e._s(e.$t("common:comments.title")))])],1),s("div",{staticClass:"comments-main"},[e._t("comments")],2)]):e._e()],1)],1)],1)],2),s("nav-footer"),s("notify"),s("search-results"),s("v-fab-transition",[e.upBtnShown?s("v-btn",{style:e.upBtnPosition,attrs:{fab:"",fixed:"",bottom:"",right:e.$vuetify.rtl,left:!e.$vuetify.rtl,small:"",depressed:this.$vuetify.breakpoint.mdAndUp,color:"primary",dark:"","aria-label":e.$t("common:actions.returnToTop")},on:{click:function(t){return e.$vuetify.goTo(0,e.scrollOpts)}}},[s("v-icon",[e._v("mdi-arrow-up")])],1):e._e()],1)],1)};i._withStripped=!0;var o=s("./node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js?!./node_modules/vue-loader/lib/index.js?!./client/themes/default/components/page.vue?vue&type=script&lang=js&").a,n=(s("./client/themes/default/components/page.vue?vue&type=style&index=0&lang=scss&"),s("./node_modules/vue-loader/lib/runtime/componentNormalizer.js")),a=s("./node_modules/vuetify-loader/lib/runtime/installComponents.js"),l=s.n(a),r=s("./node_modules/vuetify/lib/components/VAlert/VAlert.js"),d=s("./node_modules/vuetify/lib/components/VApp/VApp.js"),c=(s("./node_modules/vuetify/src/components/VBreadcrumbs/VBreadcrumbs.sass"),s("./node_modules/vuetify/lib/mixins/routable/index.js")),u=s("./node_modules/vuetify/lib/util/mixins.js"),m=Object(u.a)(c.a).extend({name:"v-breadcrumbs-item",props:{activeClass:{type:String,default:"v-breadcrumbs__item--disabled"},ripple:{type:[Boolean,Object],default:!1}},computed:{classes(){return{"v-breadcrumbs__item":!0,[this.activeClass]:this.disabled}}},render(e){const{tag:t,data:s}=this.generateRouteLink();return e("li",[e(t,{...s,attrs:{...s.attrs,"aria-current":this.isActive&&this.isLink?"page":void 0}},this.$slots.default)])}}),p=s("./node_modules/vuetify/lib/util/helpers.js"),v=Object(p.j)("v-breadcrumbs__divider","li"),h=s("./node_modules/vuetify/lib/mixins/themeable/index.js"),f=Object(u.a)(h.a).extend({name:"v-breadcrumbs",props:{divider:{type:String,default:"/"},items:{type:Array,default:()=>[]},large:Boolean},computed:{classes(){return{"v-breadcrumbs--large":this.large,...this.themeClasses}}},methods:{genDivider(){return this.$createElement(v,this.$slots.divider?this.$slots.divider:this.divider)},genItems(){const e=[],t=!!this.$scopedSlots.item,s=[];for(let i=0;i<this.items.length;i++){const o=this.items[i];s.push(o.text),t?e.push(this.$scopedSlots.item({item:o})):e.push(this.$createElement(m,{key:s.join("."),props:o},[o.text])),i<this.items.length-1&&e.push(this.genDivider())}return e}},render(e){const t=this.$slots.default||this.genItems();return e("ul",{staticClass:"v-breadcrumbs",class:this.classes},t)}}),g=s("./node_modules/vuetify/lib/components/VBtn/VBtn.js"),b=s("./node_modules/vuetify/lib/components/VCard/VCard.js"),_=s("./node_modules/vuetify/lib/components/VChip/VChip.js"),y=s("./node_modules/vuetify/lib/components/VGrid/VCol.js"),j=s("./node_modules/vuetify/lib/components/VGrid/VContainer.js"),x=s("./node_modules/vuetify/lib/components/VDivider/VDivider.js"),k=s("./node_modules/vuetify/lib/components/transitions/index.js"),$=s("./node_modules/vuetify/lib/components/VGrid/VFlex.js"),S=s("./node_modules/vuetify/lib/components/VIcon/VIcon.js"),w=s("./node_modules/vuetify/lib/components/VGrid/VLayout.js"),V=s("./node_modules/vuetify/lib/components/VList/VList.js"),C=s("./node_modules/vuetify/lib/components/VList/VListItem.js"),P=s("./node_modules/vuetify/lib/components/VList/index.js"),N=s("./node_modules/vuetify/lib/components/VMain/VMain.js"),O=s("./node_modules/vuetify/lib/components/VMenu/VMenu.js"),A=s("./node_modules/vuetify/lib/components/VNavigationDrawer/VNavigationDrawer.js"),I=s("./node_modules/vuetify/lib/components/VGrid/VRow.js"),L=s("./node_modules/vuetify/lib/components/VGrid/VSpacer.js"),T=(s("./node_modules/vuetify/src/components/VSpeedDial/VSpeedDial.sass"),s("./node_modules/vuetify/lib/mixins/toggleable/index.js")),D=s("./node_modules/vuetify/lib/mixins/positionable/index.js"),E=s("./node_modules/vuetify/lib/mixins/transitionable/index.js"),M=s("./node_modules/vuetify/lib/directives/click-outside/index.js"),F=Object(u.a)(D.a,T.a,E.a).extend({name:"v-speed-dial",directives:{ClickOutside:M.a},props:{direction:{type:String,default:"top",validator:e=>["top","right","bottom","left"].includes(e)},openOnHover:Boolean,transition:{type:String,default:"scale-transition"}},computed:{classes(){return{"v-speed-dial":!0,"v-speed-dial--top":this.top,"v-speed-dial--right":this.right,"v-speed-dial--bottom":this.bottom,"v-speed-dial--left":this.left,"v-speed-dial--absolute":this.absolute,"v-speed-dial--fixed":this.fixed,["v-speed-dial--direction-"+this.direction]:!0,"v-speed-dial--is-active":this.isActive}}},render(e){let t=[];const s={class:this.classes,directives:[{name:"click-outside",value:()=>this.isActive=!1}],on:{click:()=>this.isActive=!this.isActive}};if(this.openOnHover&&(s.on.mouseenter=()=>this.isActive=!0,s.on.mouseleave=()=>this.isActive=!1),this.isActive){let s=0;t=(this.$slots.default||[]).map((t,i)=>!t.tag||void 0===t.componentOptions||"v-btn"!==t.componentOptions.Ctor.options.name&&"v-tooltip"!==t.componentOptions.Ctor.options.name?(t.key=i,t):(s++,e("div",{style:{transitionDelay:.05*s+"s"},key:i},[t])))}const i=e("transition-group",{class:"v-speed-dial__list",props:{name:this.transition,mode:this.mode,origin:this.origin,tag:"div"}},t);return e("div",s,[this.$slots.activator,i])}}),B=s("./node_modules/vuetify/lib/components/VToolbar/VToolbar.js"),z=s("./node_modules/vuetify/lib/components/VTooltip/VTooltip.js"),R=s("./node_modules/vuetify-loader/lib/runtime/installDirectives.js"),U=s.n(R),H=s("./node_modules/vuetify/lib/directives/scroll/index.js"),q=Object(n.a)(o,i,[],!1,null,null,null);l()(q,{VAlert:r.a,VApp:d.a,VBreadcrumbs:f,VBtn:g.a,VCard:b.a,VChip:_.a,VCol:y.a,VContainer:j.a,VDivider:x.a,VFabTransition:k.c,VFlex:$.a,VIcon:S.a,VLayout:w.a,VList:V.a,VListItem:C.a,VListItemTitle:P.d,VMain:N.a,VMenu:O.a,VNavigationDrawer:A.a,VRow:I.a,VSpacer:L.a,VSpeedDial:F,VToolbar:B.a,VTooltip:z.a}),U()(q,{Scroll:H.b}),q.options.__file="client/themes/default/components/page.vue";t.default=q.exports},"./client/themes/default/components/page.vue?vue&type=style&index=0&lang=scss&":function(e,t,s){"use strict";s("./node_modules/cache-loader/dist/cjs.js?!./node_modules/style-loader/dist/cjs.js!./node_modules/mini-css-extract-plugin/dist/loader.js!./node_modules/css-loader/dist/cjs.js!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src/index.js!./node_modules/sass-loader/dist/cjs.js?!./node_modules/sass-resources-loader/lib/loader.js?!./node_modules/vue-loader/lib/index.js?!./client/themes/default/components/page.vue?vue&type=style&index=0&lang=scss&")},"./client/themes/default/components/tabset.vue":function(e,t,s){"use strict";var i=function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"tabset elevation-2"},[t("ul",{ref:"tabs",staticClass:"tabset-tabs",attrs:{role:"tablist"}},[this._t("tabs")],2),t("div",{ref:"content",staticClass:"tabset-content"},[this._t("content")],2)])};i._withStripped=!0;var o=s("./node_modules/nanoid/non-secure/index.cjs");const n=Object(o.customAlphabet)("1234567890abcdef",10);var a={data:()=>({currentTab:0}),watch:{currentTab(e,t){this.setActiveTab()}},methods:{setActiveTab(){this.$refs.tabs.childNodes.forEach((e,t)=>{t===this.currentTab?(e.className="is-active",e.setAttribute("aria-selected","true")):(e.className="",e.setAttribute("aria-selected","false"))}),this.$refs.content.childNodes.forEach((e,t)=>{t===this.currentTab?(e.className="tabset-panel is-active",e.removeAttribute("hidden")):(e.className="tabset-panel",e.setAttribute("hidden",""))})}},mounted(){if(window.location.hash&&window.location.hash.length>1){const e=decodeURIComponent(window.location.hash);let t=-1;this.$refs.content.childNodes.forEach((s,i)=>{s.querySelector(e)&&(t=i)}),t>=0&&(this.currentTab=t)}this.setActiveTab();const e=n();this.$refs.tabs.childNodes.forEach((t,s)=>{t.setAttribute("id",`${e}-${s}`),t.setAttribute("role","tab"),t.setAttribute("aria-controls",`${e}-${s}-tab`),t.setAttribute("tabindex","0"),t.addEventListener("click",e=>{this.currentTab=[].indexOf.call(e.target.parentNode.children,e.target)}),t.addEventListener("keydown",e=>{"ArrowLeft"===e.key&&s>0?(this.currentTab=s-1,this.$refs.tabs.childNodes[s-1].focus()):"ArrowRight"===e.key&&s<this.$refs.tabs.childNodes.length-1?(this.currentTab=s+1,this.$refs.tabs.childNodes[s+1].focus()):"Enter"===e.key||" "===e.key?(this.currentTab=s,t.focus()):"Home"===e.key?(this.currentTab=0,e.preventDefault(),e.target.parentNode.children[0].focus()):"End"===e.key&&(this.currentTab=this.$refs.tabs.childNodes.length-1,e.preventDefault(),e.target.parentNode.children[this.$refs.tabs.childNodes.length-1].focus())})}),this.$refs.content.childNodes.forEach((t,s)=>{t.setAttribute("id",`${e}-${s}-tab`),t.setAttribute("role","tabpanel"),t.setAttribute("aria-labelledby",`${e}-${s}`),t.setAttribute("tabindex","0")})}},l=(s("./client/themes/default/components/tabset.vue?vue&type=style&index=0&lang=scss&"),s("./node_modules/vue-loader/lib/runtime/componentNormalizer.js")),r=Object(l.a)(a,i,[],!1,null,null,null);r.options.__file="client/themes/default/components/tabset.vue";t.a=r.exports},"./client/themes/default/components/tabset.vue?vue&type=style&index=0&lang=scss&":function(e,t,s){"use strict";s("./node_modules/cache-loader/dist/cjs.js?!./node_modules/style-loader/dist/cjs.js!./node_modules/mini-css-extract-plugin/dist/loader.js!./node_modules/css-loader/dist/cjs.js!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src/index.js!./node_modules/sass-loader/dist/cjs.js?!./node_modules/sass-resources-loader/lib/loader.js?!./node_modules/vue-loader/lib/index.js?!./client/themes/default/components/tabset.vue?vue&type=style&index=0&lang=scss&")},"./client/themes/default/js/app.js":function(e,t){},"./client/themes/default/scss/app.scss":function(e,t,s){var i=s("./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js"),o=s("./node_modules/mini-css-extract-plugin/dist/loader.js!./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/src/index.js!./node_modules/sass-loader/dist/cjs.js?!./node_modules/sass-resources-loader/lib/loader.js?!./client/themes/default/scss/app.scss");"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var n={insert:"head",singleton:!1};i(o,n);e.exports=o.locals||{}},"./node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js?!./node_modules/vue-loader/lib/index.js?!./client/themes/default/components/page.vue?vue&type=script&lang=js&":function(e,t,s){"use strict";(function(e){var i=s("./node_modules/lodash/debounce.js"),o=s.n(i),n=s("./node_modules/lodash/last.js"),a=s.n(n),l=s("./node_modules/lodash/get.js"),r=s.n(l),d=s("./node_modules/lodash/reduce.js"),c=s.n(d),u=s("./node_modules/vue-status-indicator/dist/vue-status-indicator.cjs.js"),m=s("./client/themes/default/components/tabset.vue"),p=s("./client/themes/default/components/nav-sidebar.vue"),v=s("./node_modules/prismjs/components/prism-core.js"),h=s.n(v),f=(s("./node_modules/prismjs/components/prism-clike.js"),s("./node_modules/prismjs/components/prism-markup.js"),s("./node_modules/prismjs/plugins/line-numbers/prism-line-numbers.css"),s("./node_modules/prismjs/plugins/line-numbers/prism-line-numbers.js"),s("./node_modules/prismjs/plugins/autoloader/prism-autoloader.js"),s("./node_modules/prismjs/plugins/normalize-whitespace/prism-normalize-whitespace.js"),s("./node_modules/prismjs/plugins/toolbar/prism-toolbar.css"),s("./node_modules/prismjs/plugins/toolbar/prism-toolbar.js"),s("./node_modules/prismjs/plugins/copy-to-clipboard/prism-copy-to-clipboard.js"),s("./node_modules/prismjs/themes/prism-twilight.css"),s("./node_modules/mermaid/dist/mermaid.core.js")),g=s.n(f),b=s("./node_modules/vuex-pathify/dist/vuex-pathify.js"),_=s("./node_modules/clipboard/dist/clipboard.js"),y=s.n(_);s("./node_modules/vue/dist/vue.esm.js").default.component("Tabset",m.a),h.a.plugins.autoloader.languages_path="/_assets/js/prism/",h.a.plugins.NormalizeWhitespace.setDefaults({"remove-trailing":!0,"remove-indent":!0,"left-trim":!0,"right-trim":!0,"remove-initial-line-feed":!0,"tabs-to-spaces":2}),h.a.plugins.toolbar.registerButton("copy-to-clipboard",e=>{let t=document.createElement("button");t.textContent="Copy";const s=new y.a(t,{text:()=>e.code});return s.on("success",()=>{t.textContent="Copied!",i()}),s.on("error",()=>{t.textContent="Press Ctrl+C to copy",i()}),t;function i(){setTimeout(()=>{t.textContent="Copy"},5e3)}}),t.a={components:{NavSidebar:p.a,StatusIndicator:u.StatusIndicator},props:{pageId:{type:Number,default:0},locale:{type:String,default:"en"},path:{type:String,default:"home"},title:{type:String,default:"Untitled Page"},description:{type:String,default:""},createdAt:{type:String,default:""},updatedAt:{type:String,default:""},tags:{type:Array,default:()=>[]},authorName:{type:String,default:"Unknown"},authorId:{type:Number,default:0},editor:{type:String,default:""},isPublished:{type:Boolean,default:!1},toc:{type:String,default:""},sidebar:{type:String,default:""},navMode:{type:String,default:"MIXED"},commentsEnabled:{type:Boolean,default:!1},effectivePermissions:{type:String,default:""},commentsExternal:{type:Boolean,default:!1},editShortcuts:{type:String,default:""},filename:{type:String,default:""}},data:()=>({navShown:!1,navExpanded:!1,upBtnShown:!1,pageEditFab:!1,scrollOpts:{duration:1500,offset:0,easing:"easeInOutCubic"},scrollStyle:{vuescroll:{},scrollPanel:{initialScrollX:.01,scrollingX:!1,speed:50},rail:{gutterOfEnds:"2px"},bar:{onlyShowBarOnScroll:!1,background:"#42A5F5",hoverStyle:{background:"#64B5F6"}}},winWidth:0}),computed:{isAuthenticated:Object(b.get)("user/authenticated"),commentsCount:Object(b.get)("page/commentsCount"),commentsPerms:Object(b.get)("page/effectivePermissions@comments"),editShortcutsObj:Object(b.get)("page/editShortcuts"),rating:{get:()=>3.5,set(e){}},breadcrumbs(){return[{path:"/",name:"Home"}].concat(c()(this.path.split("/"),(e,t,s)=>(e.push({path:r()(a()(e),"path","/"+this.locale)+"/"+t,name:t}),e),[]))},pageUrl:()=>window.location.href,upBtnPosition(){return this.$vuetify.breakpoint.mdAndUp?this.$vuetify.rtl?"right: 235px;":"left: 235px;":this.$vuetify.rtl?"right: 65px;":"left: 65px;"},sidebarDecoded(){return JSON.parse(e.from(this.sidebar,"base64").toString())},tocDecoded(){return JSON.parse(e.from(this.toc,"base64").toString())},tocPosition:Object(b.get)("site/tocPosition"),hasAdminPermission:Object(b.get)("page/effectivePermissions@system.manage"),hasWritePagesPermission:Object(b.get)("page/effectivePermissions@pages.write"),hasManagePagesPermission:Object(b.get)("page/effectivePermissions@pages.manage"),hasDeletePagesPermission:Object(b.get)("page/effectivePermissions@pages.delete"),hasReadSourcePermission:Object(b.get)("page/effectivePermissions@source.read"),hasReadHistoryPermission:Object(b.get)("page/effectivePermissions@history.read"),hasAnyPagePermissions(){return this.hasAdminPermission||this.hasWritePagesPermission||this.hasManagePagesPermission||this.hasDeletePagesPermission||this.hasReadSourcePermission||this.hasReadHistoryPermission},printView:Object(b.sync)("site/printView"),editMenuExternalUrl(){return this.editShortcutsObj.editMenuBar&&this.editShortcutsObj.editMenuExternalBtn?this.editShortcutsObj.editMenuExternalUrl.replace("{filename}",this.filename):""}},created(){this.$store.set("page/authorId",this.authorId),this.$store.set("page/authorName",this.authorName),this.$store.set("page/createdAt",this.createdAt),this.$store.set("page/description",this.description),this.$store.set("page/isPublished",this.isPublished),this.$store.set("page/id",this.pageId),this.$store.set("page/locale",this.locale),this.$store.set("page/path",this.path),this.$store.set("page/tags",this.tags),this.$store.set("page/title",this.title),this.$store.set("page/editor",this.editor),this.$store.set("page/updatedAt",this.updatedAt),this.effectivePermissions&&this.$store.set("page/effectivePermissions",JSON.parse(e.from(this.effectivePermissions,"base64").toString())),this.editShortcuts&&this.$store.set("page/editShortcuts",JSON.parse(e.from(this.editShortcuts,"base64").toString())),this.$store.set("page/mode","view")},mounted(){this.$vuetify.theme.dark&&(this.scrollStyle.bar.background="#424242"),this.handleSideNavVisibility(),window.addEventListener("resize",o()(()=>{this.handleSideNavVisibility()},500)),h.a.highlightAllUnder(this.$refs.container),g.a.mermaidAPI.initialize({startOnLoad:!0,theme:this.$vuetify.theme.dark?"dark":"default"}),window.location.hash&&window.location.hash.length>1&&("complete"===document.readyState?this.$nextTick(()=>{this.$vuetify.goTo(decodeURIComponent(window.location.hash),this.scrollOpts)}):window.addEventListener("load",()=>{this.$vuetify.goTo(decodeURIComponent(window.location.hash),this.scrollOpts)})),this.$nextTick(()=>{this.$refs.container.querySelectorAll(`a[href^="#"], a[href^="${window.location.href.replace(window.location.hash,"")}#"]`).forEach(e=>{e.onclick=e=>{e.preventDefault(),e.stopPropagation(),this.$vuetify.goTo(decodeURIComponent(e.currentTarget.hash),this.scrollOpts)}}),window.boot.notify("page-ready")})},methods:{goHome(){window.location.assign("/")},toggleNavigation(){this.navOpen=!this.navOpen},upBtnScroll(){const e=window.pageYOffset||document.documentElement.scrollTop;this.upBtnShown=e>.33*window.innerHeight},print(){this.printView?this.printView=!1:(this.printView=!0,this.$nextTick(()=>{window.print()}))},pageEdit(){this.$root.$emit("pageEdit")},pageHistory(){this.$root.$emit("pageHistory")},pageSource(){this.$root.$emit("pageSource")},pageConvert(){this.$root.$emit("pageConvert")},pageDuplicate(){this.$root.$emit("pageDuplicate")},pageMove(){this.$root.$emit("pageMove")},pageDelete(){this.$root.$emit("pageDelete")},handleSideNavVisibility(){window.innerWidth!==this.winWidth&&(this.winWidth=window.innerWidth,this.$vuetify.breakpoint.mdAndUp?this.navShown=!0:this.navShown=!1)},goToComments(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.$vuetify.goTo("#discussion",this.scrollOpts),e&&document.querySelector("#discussion-new").focus()}}}}).call(this,s("./node_modules/buffer/index.js").Buffer)},"./node_modules/cache-loader/dist/cjs.js?!./node_modules/style-loader/dist/cjs.js!./node_modules/mini-css-extract-plugin/dist/loader.js!./node_modules/css-loader/dist/cjs.js!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src/index.js!./node_modules/sass-loader/dist/cjs.js?!./node_modules/sass-resources-loader/lib/loader.js?!./node_modules/vue-loader/lib/index.js?!./client/themes/default/components/nav-footer.vue?vue&type=style&index=0&lang=scss&":function(e,t,s){var i=s("./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js"),o=s("./node_modules/mini-css-extract-plugin/dist/loader.js!./node_modules/css-loader/dist/cjs.js!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src/index.js!./node_modules/sass-loader/dist/cjs.js?!./node_modules/sass-resources-loader/lib/loader.js?!./node_modules/vue-loader/lib/index.js?!./client/themes/default/components/nav-footer.vue?vue&type=style&index=0&lang=scss&");"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var n={insert:"head",singleton:!1};i(o,n);e.exports=o.locals||{}},"./node_modules/cache-loader/dist/cjs.js?!./node_modules/style-loader/dist/cjs.js!./node_modules/mini-css-extract-plugin/dist/loader.js!./node_modules/css-loader/dist/cjs.js!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src/index.js!./node_modules/sass-loader/dist/cjs.js?!./node_modules/sass-resources-loader/lib/loader.js?!./node_modules/vue-loader/lib/index.js?!./client/themes/default/components/page.vue?vue&type=style&index=0&lang=scss&":function(e,t,s){var i=s("./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js"),o=s("./node_modules/mini-css-extract-plugin/dist/loader.js!./node_modules/css-loader/dist/cjs.js!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src/index.js!./node_modules/sass-loader/dist/cjs.js?!./node_modules/sass-resources-loader/lib/loader.js?!./node_modules/vue-loader/lib/index.js?!./client/themes/default/components/page.vue?vue&type=style&index=0&lang=scss&");"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var n={insert:"head",singleton:!1};i(o,n);e.exports=o.locals||{}},"./node_modules/cache-loader/dist/cjs.js?!./node_modules/style-loader/dist/cjs.js!./node_modules/mini-css-extract-plugin/dist/loader.js!./node_modules/css-loader/dist/cjs.js!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src/index.js!./node_modules/sass-loader/dist/cjs.js?!./node_modules/sass-resources-loader/lib/loader.js?!./node_modules/vue-loader/lib/index.js?!./client/themes/default/components/tabset.vue?vue&type=style&index=0&lang=scss&":function(e,t,s){var i=s("./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js"),o=s("./node_modules/mini-css-extract-plugin/dist/loader.js!./node_modules/css-loader/dist/cjs.js!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src/index.js!./node_modules/sass-loader/dist/cjs.js?!./node_modules/sass-resources-loader/lib/loader.js?!./node_modules/vue-loader/lib/index.js?!./client/themes/default/components/tabset.vue?vue&type=style&index=0&lang=scss&");"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var n={insert:"head",singleton:!1};i(o,n);e.exports=o.locals||{}},"./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/src/index.js!./node_modules/sass-loader/dist/cjs.js?!./node_modules/vuetify/src/components/VBreadcrumbs/VBreadcrumbs.sass":function(e,t,s){"use strict";s.r(t);var i=s("./node_modules/css-loader/dist/runtime/api.js"),o=s.n(i)()(!1);o.push([e.i,".theme--light.v-breadcrumbs .v-breadcrumbs__divider,.theme--light.v-breadcrumbs .v-breadcrumbs__item--disabled{color:rgba(0,0,0,.38)}.theme--dark.v-breadcrumbs .v-breadcrumbs__divider,.theme--dark.v-breadcrumbs .v-breadcrumbs__item--disabled{color:hsla(0,0%,100%,.5)}.v-breadcrumbs{align-items:center;-js-display:flex;display:flex;flex-wrap:wrap;flex:0 1 auto;list-style-type:none;margin:0;padding:18px 12px}.v-breadcrumbs li{align-items:center;-js-display:inline-flex;display:inline-flex;font-size:14px}.v-breadcrumbs li .v-icon{font-size:16px}.v-breadcrumbs li:nth-child(2n){padding:0 12px}.v-breadcrumbs__item{align-items:center;-js-display:inline-flex;display:inline-flex;text-decoration:none;transition:.3s cubic-bezier(.25,.8,.5,1)}.v-breadcrumbs__item--disabled{pointer-events:none}.v-breadcrumbs--large li,.v-breadcrumbs--large li .v-icon{font-size:16px}",""]),t.default=o},"./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/src/index.js!./node_modules/sass-loader/dist/cjs.js?!./node_modules/vuetify/src/components/VFooter/VFooter.sass":function(e,t,s){"use strict";s.r(t);var i=s("./node_modules/css-loader/dist/runtime/api.js"),o=s.n(i)()(!1);o.push([e.i,".theme--light.v-footer{background-color:#f5f5f5;color:rgba(0,0,0,.87)}.theme--dark.v-footer{background-color:#272727;color:#fff}.v-sheet.v-footer{border-radius:0}.v-sheet.v-footer:not(.v-sheet--outlined){box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.v-sheet.v-footer.v-sheet--shaped{border-radius:24px 0}.v-footer{align-items:center;-js-display:flex;display:flex;flex:0 1 auto!important;flex-wrap:wrap;padding:6px 16px;position:relative;transition-duration:.2s;transition-property:background-color,left,right;transition-timing-function:cubic-bezier(.4,0,.2,1)}.v-footer:not([data-booted=true]){transition:none!important}.v-footer--absolute,.v-footer--fixed{z-index:3}.v-footer--absolute{position:absolute}.v-footer--absolute:not(.v-footer--inset){width:100%}.v-footer--fixed{position:fixed}.v-footer--padless{padding:0}",""]),t.default=o},"./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/src/index.js!./node_modules/sass-loader/dist/cjs.js?!./node_modules/vuetify/src/components/VSpeedDial/VSpeedDial.sass":function(e,t,s){"use strict";s.r(t);var i=s("./node_modules/css-loader/dist/runtime/api.js"),o=s.n(i)()(!1);o.push([e.i,".v-speed-dial{position:relative;z-index:1}.v-speed-dial--absolute{position:absolute}.v-speed-dial--fixed{position:fixed}.v-speed-dial--absolute,.v-speed-dial--fixed{z-index:4}.v-speed-dial--absolute>.v-btn--floating,.v-speed-dial--fixed>.v-btn--floating{margin:0}.v-speed-dial--top{top:16px}.v-speed-dial--bottom{bottom:16px}.v-speed-dial--left{left:16px}.v-speed-dial--right{right:16px}.v-speed-dial--direction-left .v-speed-dial__list,.v-speed-dial--direction-right .v-speed-dial__list{height:100%;top:0;padding:0 16px}.v-speed-dial--direction-bottom .v-speed-dial__list,.v-speed-dial--direction-top .v-speed-dial__list{left:0;width:100%}.v-speed-dial--direction-top .v-speed-dial__list{flex-direction:column-reverse;bottom:100%}.v-speed-dial--direction-right .v-speed-dial__list{flex-direction:row;left:100%}.v-speed-dial--direction-bottom .v-speed-dial__list{flex-direction:column;top:100%}.v-speed-dial--direction-left .v-speed-dial__list{flex-direction:row-reverse;right:100%}.v-speed-dial__list{align-items:center;-js-display:flex;display:flex;justify-content:center;padding:16px 0;position:absolute}.v-speed-dial__list .v-btn{margin:6px}.v-speed-dial:not(.v-speed-dial--is-active) .v-speed-dial__list{pointer-events:none}",""]),t.default=o},"./node_modules/mini-css-extract-plugin/dist/loader.js!./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/src/index.js!./node_modules/sass-loader/dist/cjs.js?!./node_modules/sass-resources-loader/lib/loader.js?!./client/themes/default/scss/app.scss":function(e,t,s){},"./node_modules/mini-css-extract-plugin/dist/loader.js!./node_modules/css-loader/dist/cjs.js!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src/index.js!./node_modules/sass-loader/dist/cjs.js?!./node_modules/sass-resources-loader/lib/loader.js?!./node_modules/vue-loader/lib/index.js?!./client/themes/default/components/nav-footer.vue?vue&type=style&index=0&lang=scss&":function(e,t,s){},"./node_modules/mini-css-extract-plugin/dist/loader.js!./node_modules/css-loader/dist/cjs.js!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src/index.js!./node_modules/sass-loader/dist/cjs.js?!./node_modules/sass-resources-loader/lib/loader.js?!./node_modules/vue-loader/lib/index.js?!./client/themes/default/components/page.vue?vue&type=style&index=0&lang=scss&":function(e,t,s){},"./node_modules/mini-css-extract-plugin/dist/loader.js!./node_modules/css-loader/dist/cjs.js!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src/index.js!./node_modules/sass-loader/dist/cjs.js?!./node_modules/sass-resources-loader/lib/loader.js?!./node_modules/vue-loader/lib/index.js?!./client/themes/default/components/tabset.vue?vue&type=style&index=0&lang=scss&":function(e,t,s){},"./node_modules/moment-mini/locale sync recursive ^\\.\\/.*$":function(e,t,s){var i={"./locale":"./node_modules/moment-mini/locale/locale.js","./locale.js":"./node_modules/moment-mini/locale/locale.js"};function o(e){var t=n(e);return s(t)}function n(e){if(!s.o(i,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return i[e]}o.keys=function(){return Object.keys(i)},o.resolve=n,e.exports=o,o.id="./node_modules/moment-mini/locale sync recursive ^\\.\\/.*$"},"./node_modules/vuetify/src/components/VBreadcrumbs/VBreadcrumbs.sass":function(e,t,s){var i=s("./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js"),o=s("./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/src/index.js!./node_modules/sass-loader/dist/cjs.js?!./node_modules/vuetify/src/components/VBreadcrumbs/VBreadcrumbs.sass");"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var n={insert:"head",singleton:!1};i(o,n);e.exports=o.locals||{}},"./node_modules/vuetify/src/components/VFooter/VFooter.sass":function(e,t,s){var i=s("./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js"),o=s("./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/src/index.js!./node_modules/sass-loader/dist/cjs.js?!./node_modules/vuetify/src/components/VFooter/VFooter.sass");"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var n={insert:"head",singleton:!1};i(o,n);e.exports=o.locals||{}},"./node_modules/vuetify/src/components/VSpeedDial/VSpeedDial.sass":function(e,t,s){var i=s("./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js"),o=s("./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/src/index.js!./node_modules/sass-loader/dist/cjs.js?!./node_modules/vuetify/src/components/VSpeedDial/VSpeedDial.sass");"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var n={insert:"head",singleton:!1};i(o,n);e.exports=o.locals||{}}}]);