PageSourceSearch

https://www.acronis.com/dist/site-client/chunks/container-DUI0RNQ4.js

js acronis.com collected 2026-10-09 21:50:24 UTC 7,526 bytes, 2 lines download raw bytes

1import{d as l,e as h,g as o,y as e,U as v,a2 as B,h as _,f as b,t as u,L as E,M as R,K as O,G as k,q as T,r as n,a4 as D,R as I,S as M,c as q}from"./c-vendor-common-B7TuGSj7.js";import{aA as F,F as x,ap as C,J as U,aq as N,I as G,ar as H,_ as j,H as V,P as f,at as y,as as P,a as X,C as z}from"./c-core-essentials-Juo5i9oI.js";import J from"./blog-cpc-menu-Cz9qJBPw.js";import{B as K}from"./blog-cpc-author-posts-list-BTXAOSD6.js";import{B as Q}from"./blog-cpc-breadcrumbs-DWmCkJ-s.js";import W from"./global-footer-CfRJtrgq.js";/* empty css             */import"./c-vendor-lodash-es-Cjh1qtwE.js";import"./c-vendor-date-fns-CTmDtDyd.js";import"./blog-date-localized-CusHZT7_.js";import"./locale-selector-B8QRpPw6.js";const Y={name:"BlogCpcAuthorPostsComponent",components:{DynamicLink:H,AGlyph:G,APicture:N,Pagination:U,SBlogCpcMenu:J,BlogCpcBreadcrumbs:Q,BlogCpcAuthorPostsList:K,SGlobalFooter:W},mixins:[F,x,C],props:{dispatchLoadPage:{type:Function,required:!0}},data(){return{listCurrentPage:1,isXHRInProgress:!1}},computed:{paginationUrlTemplate(){return`/$LOCALE$/tru/authors/${this.$route.params.author}/page/$PAGE_NUMBER$/`},sliceDataMenu(){return{backgroundImage:this.translations.common.menuBackgroundImage,locales:this.enabledLocalesCPC,links:this.translations.common.truMenuLinks,truSearchLink:this.translations.common.truSearchLink}},sliceDataFooter(){return{sliceSettingsName:"s-preset-cpoc-footer",socialGlyphSize:"m",logo:"Tru",hasLocaleSelector:!1,hasBorderTopCopyright:!0,type:"short",theme:"dark"}},author(){return this.$store.state.blog.author.items[0]||{}},bcrumbs(){return[{to:"/tru/",title:this.translations.common.truMenuLinks[0]?.text},{to:"/tru/posts/",title:this.translations.articles?.title},{title:this.author.name,active:!0,to:`/tru/authors/${this.author.slug}`}]},latestCards(){const t=this.$store.state.blog.latestCards?.items||[];return t.length?t.map(r=>this.getBlogPostFields(r,this.translations)):null},listTotalPages(){return this.$store.state.blog.latestCards?.pagination?.pages_total||1},authorLinks(){const t=[];return this.author.link_linked_in&&t.push({glyph:"linkedin",to:this.author.link_linked_in}),this.author.link_twitter&&t.push({glyph:"twitter",to:this.author.link_twitter}),this.author.link_website&&t.push({glyph:"website",to:this.author.link_website}),t}},mounted(){this.listCurrentPage=parseInt(this.$route.params.page,10)||1},methods:{async loadPage(t,r){this.isXHRInProgress=!0;const i=await this.dispatchLoadPage(this.author.id,t);if(this.isXHRInProgress=!1,!i)return;let c=`/${this.pageLocaleMarker}/tru/authors/${this.$route.params.author}/`;t>1&&(c+=`page/${t}/`),await this.$router.replace({path:c}),this.listCurrentPage=t,r?.()}}},Z={class:"color-scheme-tru cpoc-page cpc-author-posts"},tt={class:"parallax-bg"},st={class:"main-content"},at={class:"hero header-wrapper bg-section cpoc-page"},et={class:"a-container"},ot={class:"author"},rt={class:"author-content"},it={class:"author-info"},nt={class:"author-name"},lt={key:0,class:"author-links"},ct={class:"author-position"},ht={class:"author-description"},ut={class:"posts cpoc-wrapper"},dt={ref:"scrollTo",class:"a-container"},pt={key:1,class:"no-posts"};function gt(t,r,i,c,d,s){const a=n("a-picture"),p=n("s-blog-cpc-menu"),g=n("blog-cpc-breadcrumbs"),L=n("a-glyph"),S=n("dynamic-link"),w=n("pagination"),A=n("blog-cpc-author-posts-list"),$=n("s-global-footer");return l(),h("div",Z,[o("div",tt,[e(a,{class:"l-1",link:"2947a2b5ff14b217c0412f1396216f30",alt:""}),e(a,{class:"l-2",link:"c9c1493e95df9d9bdcf6a948504980af",alt:""}),e(a,{class:"l-3",link:"aea0ce50ae74bc2e9a47bb7de161279d",alt:""}),e(a,{class:"l-4",link:"fc4badaa53aacd5297599230dcf72bd5",alt:""}),e(a,{class:"l-5",link:"fc4badaa53aacd5297599230dcf72bd5",alt:""}),e(a,{class:"l-6",link:"fc4badaa53aacd5297599230dcf72bd5",alt:""}),e(a,{class:"l-7",link:"2947a2b5ff14b217c0412f1396216f30",alt:""}),e(a,{class:"l-8",link:"c9c1493e95df9d9bdcf6a948504980af",alt:""}),e(a,{class:"l-9",link:"c9c1493e95df9d9bdcf6a948504980af",alt:""}),e(a,{class:"c-1",link:"8a1909cf7fde9d3fc9b815a1bb7bf1b2",alt:""}),e(a,{class:"c-2",link:"b23a3beb3c7394a0a59e8031163d05da",alt:""})]),o("div",st,[o("section",at,[e(p,v(B(s.sliceDataMenu)),null,16),o("div",et,[e(g,{items:s.bcrumbs},null,8,["items"]),o("div",ot,[s.author.photo?(l(),_(a,{key:0,link:s.author.photo,alt:s.author.name,class:"author-photo"},null,8,["link","alt"])):b("",!0),o("div",rt,[o("div",it,[o("h1",nt,u(s.author.name),1),s.authorLinks.length?(l(),h("div",lt,[(l(!0),h(E,null,R(s.authorLinks,m=>(l(),_(S,{key:m.glyph,to:m.to,"native-type":"a"},{default:k(()=>[e(L,{name:m.glyph},null,8,["name"])]),_:2},1032,["to"]))),128))])):b("",!0)]),o("div",ct,u(s.author.position),1),o("p",ht,u(s.author.description),1)])])])]),o("section",ut,[o("div",dt,[s.latestCards?(l(),_(A,{key:0,posts:s.latestCards},O({_:2},[s.listTotalPages>1?{name:"pagination",fn:k(()=>[e(w,{"url-template":s.paginationUrlTemplate,"current-page":d.listCurrentPage,"total-pages":s.listTotalPages,"scroll-to":t.$refs.scrollTo,"click-handler":s.loadPage},null,8,["url-template","current-page","total-pages","scroll-to","click-handler"])]),key:"0"}:void 0]),1032,["posts"])):(l(),h("div",pt,u(t.translations.authorPosts.authorNoPosts),1))],512)])]),e($,T({class:"footer"},s.sliceDataFooter),null,16)])}const mt=j(Y,[["render",gt],["__scopeId","data-v-3d1332fe"]]),_t=12,ft="noindex, nofollow",Bt=D({name:"BlogCpcAuthorPostsContainer",mixins:[C],async serverPrefetch(){},computed:{...q("config",["$config"]),truSettings(){return this.$store.state.slices.items.tru}},methods:{buildRequest(t,r,i){return new f("latestCards").setEntityPath("/api/blog/posts/").setLocales([r]).addMatchesAll("section_id","=",y.toString()).addAnyOfMatches("author_id","=",t.toString()).addAnyOfHas("editors",t).setOutputOnly(z).setCustomParam("process-macros","1").addSort("translation.published_at","desc").addSort("id","desc").setPaginate(i,_t).toObject()},async prefetch(t){const r=this.$route.params.author,i=parseInt(this.$route.params.page,10)||1;if(await this.$store.dispatch("locales/getLocaleData",{locale:t}),!this.$store.state.locales.locale.is_active_on_blog_tru)throw new V("Premature rendering stop",M.NOT_FOUND);const d=new f("author").setEntityPath("/api/blog/authors/").setLocales([t]).setCustomParam("has",{sections:[y]}).addMatchesAll("slug","=",r).toObject();await this.$store.dispatch("blog/getEntity",{request:d});const s=this.$store.state.blog.author;P([{entity:s,throwIfEmpty:!0}]);const a=s.items[0],p=this.buildRequest(a.id,t,i),g=new f("authorTranslationsList").setEntityPath("/api/blog/authors/translations/").addMatchesAll("author_id","=",a.id).setOutputOnly(["locale"]).setPaginate(1,20).toObject();await Promise.all([this.$store.dispatch("slices/getSyncedData",{slice:"tru",locale:t}),this.$store.dispatch("slices/getSyncedData",{slice:"global-meta",locale:X}),this.$store.dispatch("locales/getAll"),this.$store.dispatch("blog/getEntity",{request:p}),this.$store.dispatch("blog/getEntity",{request:g})]),P([{entity:this.$store.state.blog.latestCards},{entity:this.$store.state.blog.authorTranslationsList}]),this.$ssrContext.res.headers.push({key:"X-Robots-Tag",val:ft}),this.$ssrContext.res.meta=await this.getMeta(a)},async getMeta(t){},async loadPage(t,r){const i=this.$store.state.geolocation.finalLocale,c=this.buildRequest(t,i,r);return await this.$store.dispatch("blog/getEntity",{request:c}),!0}},render(){return I(mt,{dispatchLoadPage:this.loadPage})}});
1export{Bt as default};
2//# sourceMappingURL=container-DUI0RNQ4.js.map

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.