"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[74786],{74786:(e,t,n)=>{n.r(t),n.d(t,{CoreSitePluginsOnlyTitleBlockComponent:()=>d});var l=n(10467),i=n(91768),o=n(3484),s=n(63114),c=n(32832),r=n(15324),a=n(86654),u=n(54438),p=n(2910),g=n(73955);let d=(()=>{var e;class CoreSitePluginsOnlyTitleBlockComponent extends o.d{constructor(){super("CoreSitePluginsOnlyTitleBlockComponent")}ngOnInit(){var _superprop_getNgOnInit=()=>super.ngOnInit,e=this;return(0,l.A)((function*(){var t;_superprop_getNgOnInit().call(e),e.fetchContentDefaultError=`Error getting ${(null===(t=e.block.contents)||void 0===t?void 0:t.title)||"block"} data.`}))()}gotoBlock(){const e=s.CoreBlockDelegate.getHandlerName(this.block.name),t=c.CoreSitePlugins.getSitePluginHandler(e);if(!t)return;const n={contextlevel:this.contextLevel,instanceid:this.instanceId},l=i.VV.hashAsciiStr(JSON.stringify(n));r.CoreNavigator.navigateToSitePath(`siteplugins/content/${t.plugin.component}/${t.handlerSchema.method}/${l}`,{params:{title:this.title,args:n,initResult:t.initResult,ptrEnabled:t.handlerSchema.ptrenabled,contextLevel:"block",contextInstanceId:this.instanceId}})}}return(e=CoreSitePluginsOnlyTitleBlockComponent).ɵfac=function CoreSitePluginsOnlyTitleBlockComponent_Factory(t){return new(t||e)},e.ɵcmp=u.VBU({type:e,selectors:[["core-siteplugins-only-title-block"]],standalone:!0,features:[u.Vt3,u.aNF],decls:5,vars:4,consts:[["button","",1,"divider","ion-text-wrap",3,"click","detail"]],template:function CoreSitePluginsOnlyTitleBlockComponent_Template(e,t){1&e&&(u.j41(0,"ion-item",0),u.bIt("click",(function CoreSitePluginsOnlyTitleBlockComponent_Template_ion_item_click_0_listener(){return t.gotoBlock()})),u.j41(1,"ion-label")(2,"h2"),u.EFF(3),u.nI1(4,"translate"),u.k0s()()()),2&e&&(u.Y8G("detail",!0),u.R7$(3),u.JRh(u.bMT(4,2,t.title)))},dependencies:[a.n,p.uz,p.he,g.D9],styles:["[_nghost-%COMP%]{display:contents}"]}),CoreSitePluginsOnlyTitleBlockComponent})()}}]);