"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[77122],{77122:(n,t,e)=>{e.r(t),e.d(t,{AddonModDataActionsMenuComponent:()=>r});var o=e(10467),i=e(86654),a=e(79555),s=e(54438),c=e(60177),d=e(2910),m=e(86198),l=e(88246),p=e(73955);function AddonModDataActionsMenuComponent_ion_item_2_Template(n,t){if(1&n){const n=s.RV6();s.j41(0,"ion-item",1),s.nI1(1,"translate"),s.bIt("click",(function AddonModDataActionsMenuComponent_ion_item_2_Template_ion_item_click_0_listener(){const t=s.eBV(n).$implicit,e=s.XpG();return s.Njj(e.onItemClick(t))})),s.nrm(2,"ion-icon",2),s.j41(3,"ion-label")(4,"p",3),s.EFF(5),s.nI1(6,"translate"),s.k0s()()()}if(2&n){const n=t.$implicit;s.Y8G("detail",!1),s.BMQ("aria-label",s.bMT(1,4,n.text)),s.R7$(2),s.Y8G("name",n.icon),s.R7$(3),s.JRh(s.bMT(6,6,n.text))}}let r=(()=>{var n;class AddonModDataActionsMenuComponent{constructor(){this.items=[]}onItemClick(n){return(0,o.A)((function*(){n.action(),yield a.IE.dismiss()}))()}}return(n=AddonModDataActionsMenuComponent).ɵfac=function AddonModDataActionsMenuComponent_Factory(t){return new(t||n)},n.ɵcmp=s.VBU({type:n,selectors:[["addon-mod-data-actionsmenu"]],inputs:{items:"items"},standalone:!0,features:[s.aNF],decls:3,vars:1,consts:[["button","","class","ion-text-wrap",3,"detail","click",4,"ngFor","ngForOf"],["button","",1,"ion-text-wrap",3,"click","detail"],["slot","start","aria-hidden","true",3,"name"],[1,"item-heading"]],template:function AddonModDataActionsMenuComponent_Template(n,t){1&n&&(s.j41(0,"ion-content")(1,"ion-list"),s.DNE(2,AddonModDataActionsMenuComponent_ion_item_2_Template,7,8,"ion-item",0),s.k0s()()),2&n&&(s.R7$(2),s.Y8G("ngForOf",t.items))},dependencies:[i.n,c.Sq,d.W9,d.iq,d.uz,d.he,d.nf,m.t,l.i,p.D9],encapsulation:2}),AddonModDataActionsMenuComponent})()}}]);