1"use strict";(self.webpackChunkbooksecure_pwa=self.webpackChunkbooksecure_pwa||[]).push([[15,18],{910:function(t,e,s){s.r(e),s.d(e,{default:function(){return u}});var i=s(95353),n=s(61434),o=s(57051),a=s(58762),c=s(62444),l=s(24891),r={name:"SliceContentPage",components:{NotFound:o.A,Slice:a.default,PromotionModal:l.A},props:{documentUid:{type:String,required:!0},isDisplayedInModal:{type:Boolean},sliceCss:{type:String,default:""},contentPageCss:{type:String,default:""}},data(){return{page:{id:""},pageNotFound:!1,showPromotionPopup:!1}},computed:{...(0,i.L8)(["isMobile"]),...(0,i.L8)("language",["isChangingLanguage"]),...(0,i.L8)("content",["popupDetails"]),uid(){return this.documentUid},useContentTypeModal(){return!(!this.isDisplayedInModal||!this.page.contentTypeModal)},contentClassModal(){if(!this.useContentTypeModal)return this.contentPageCss;switch(this.page.contentTypeModal){case"information-modal":return"content-page-information-modal";case"information-modal alternative":return"content-page-information-modal-alternative";default:return""}}},watch:{uid(t,e){t&&t!==e&&this.getContent()}},created(){this.documentUid&&this.getContent()},methods:{getContent(){if(this.resetData(),!this.uid)return;const t={uid:this.uid,customType:"contentpage"};(0,n.ry)(t).then((t=>{this.page={...t.data.results[0].data,id:t.data.results[0].id,firstPublicationDate:t.data.results[0].first_publication_date};const e=(0,c.G6)(this.page,this.isMobile);this.showPromotionPopup=e.enabled,this.$store.commit("content/setPopupDetails",e),this.isDisplayedInModal&&this.$emit("title",this.page.title[0].text)})).catch((t=>this.pageNotFound=!0))},resetData(){this.pageNotFound=!1,this.page={id:""}}}},u=(0,s(14486).A)(r,(function(){var t=this,e=t._self._c;return e("div",{class:t.contentClassModal},[e("vue-headful",{attrs:{title:t.page.seoTitle,description:t.page.seoDescription}}),t._v(" "),t.$settings.general.enableCmsFeatures?e("div",{staticClass:"edit"},[e("prismic-edit-button",{staticClass:"edit__button",attrs:{"document-id":t.page.id}})],1):t._e(),t._v(" "),t.pageNotFound?[e("NotFound")]:t._l(t.page.body,(function(s,i){return e("section",{key:"slice-"+i,staticClass:"slice",class:t.sliceCss},[e("Slice",{attrs:{page:t.page,slice:s,"use-content-type-modal":t.useContentTypeModal}})],1)})),t._v(" "),t.showPromotionPopup?e("PromotionModal",{attrs:{"popup-details":t.popupDetails}}):t._e()],2)}),[],!1,null,"f61feff6",null).exports},30363:function(t,e,s){s.r(e),s.d(e,{default:function(){return a}});var i=s(910),n=s(10077),o={name:"SectionList",components:{SliceContentPage:i.default,ContentPart:n.default},props:{slice:{type:Object,required:!0},isContentPart:{type:Boolean},customFormatter:{type:Function}},computed:{titleCssClass(){return"gray"===this.slice.primary.sectionTitleStyle?"section-title-gray":""},sectionCssClass(){return"gray"===this.slice.primary.sectionTitleStyle?"section-gray":""}},methods:{hasContentDocument(t){return!!t.contentDocument?.uid},hasTitle(t){return!!t.sectionTitle[0]?.text}}},a=(0,s(14486).A)(o,(function(){var t=this,e=t._self._c;return t.slice.items&&t.slice.items.length?e("div",{staticClass:"section-list"},t._l(t.slice.items,(function(s,i){return e("div",{key:i,staticClass:"section-container",class:t.sectionCssClass},[t.isContentPart&&s.contentDocument?e("div",{staticClass:"section"},[e("div",{staticClass:"section__content section__content--fullwidth"},[e("ContentPart",{attrs:{content:s.contentDocument,"custom-formatter":t.customFormatter}})],1)]):t.hasContentDocument(s)?e("div",{staticClass:"section"},[e("div",{staticClass:"section__content section__content--fullwidth"},[e("SliceContentPage",{attrs:{"document-uid":s.contentDocument.uid}})],1)]):e("div",{staticClass:"section"},[t.hasTitle(s)?e("div",{staticClass:"section__title"},[e("prismic-rich-text",{class:t.titleCssClass,attrs:{field:s.sectionTitle}})],1):t._e(),t._v(" "),e("div",{staticClass:"section__content",class:{"section__content--fullwidth":!t.hasTitle(s)}},[e("prismic-rich-text",{attrs:{field:s.sectionContent}})],1)])])})),0):t._e()}),[],!1,null,"5cee738d",null).exports}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.