"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[67192],{67192:(n,t,o)=>{o.r(t),o.d(t,{CoreBlockSideBlocksButtonComponent:()=>g});var e=o(10467),r=o(93589),s=o(82907),i=o(86654),c=o(74037),l=o(54438),a=o(2910),d=o(43570),u=o(73955);let p=(()=>{var n;class CoreBlockSideBlocksTourComponent{dismiss(){return(0,e.A)((function*(){yield c.E.dismiss()}))()}}return(n=CoreBlockSideBlocksTourComponent).ɵfac=function CoreBlockSideBlocksTourComponent_Factory(t){return new(t||n)},n.ɵcmp=l.VBU({type:n,selectors:[["core-block-side-blocks-tour"]],standalone:!0,features:[l.aNF],decls:9,vars:9,consts:[["expand","block",3,"click"]],template:function CoreBlockSideBlocksTourComponent_Template(n,t){1&n&&(l.j41(0,"h1"),l.EFF(1),l.nI1(2,"translate"),l.k0s(),l.j41(3,"p"),l.EFF(4),l.nI1(5,"translate"),l.k0s(),l.j41(6,"ion-button",0),l.bIt("click",(function CoreBlockSideBlocksTourComponent_Template_ion_button_click_6_listener(){return t.dismiss()})),l.EFF(7),l.nI1(8,"translate"),l.k0s()),2&n&&(l.R7$(),l.JRh(l.bMT(2,3,"core.block.tour_navigation_dashboard_title")),l.R7$(3),l.JRh(l.bMT(5,5,"core.block.tour_navigation_dashboard_content")),l.R7$(3),l.SpI(" ",l.bMT(8,7,"core.endonesteptour"),"\n"))},dependencies:[i.n,a.Jm,d.T,u.D9],styles:["[_nghost-%COMP%]   h1[_ngcontent-%COMP%]{margin-top:0;font-size:var(--mdl-typography-heading2-fontSize)}[_nghost-%COMP%]   h1[_ngcontent-%COMP%], [_nghost-%COMP%]   p[_ngcontent-%COMP%]{text-align:center}[_nghost-%COMP%]   ion-button[_ngcontent-%COMP%]{margin:0}"]}),CoreBlockSideBlocksTourComponent})();var m=o(86198),C=o(8759);let g=(()=>{var n;class CoreBlockSideBlocksButtonComponent{constructor(n){this.userTour={id:"side-blocks-button",component:p,side:"start",alignment:"center",after:"user-menu",afterTimeout:1e3,getFocusedElement:n=>{var t,o;const e=Array.from(null!==(t=null===(o=n.shadowRoot)||void 0===o?void 0:o.children)&&void 0!==t?t:[]).find((n=>"BUTTON"===n.tagName));return null!=e?e:n}},this.element=n.nativeElement}ngOnInit(){var n=this;return(0,e.A)((function*(){n.slotPromise=s.y.slotOnContent(n.element)}))()}openBlocks(){var n=this;return(0,e.A)((function*(){const{CoreBlockSideBlocksComponent:t}=yield Promise.all([o.e(72076),o.e(262)]).then(o.bind(o,262));r.I.openSideModal({component:t,componentProps:{contextLevel:n.contextLevel,instanceId:n.instanceId,myDashboardPage:n.myDashboardPage}})}))()}ngOnDestroy(){var n;null===(n=this.slotPromise)||void 0===n||n.cancel()}}return(n=CoreBlockSideBlocksButtonComponent).ɵfac=function CoreBlockSideBlocksButtonComponent_Factory(t){return new(t||n)(l.rXU(l.aKT))},n.ɵcmp=l.VBU({type:n,selectors:[["core-block-side-blocks-button"]],inputs:{contextLevel:"contextLevel",instanceId:"instanceId",myDashboardPage:"myDashboardPage"},standalone:!0,features:[l.aNF],decls:3,vars:4,consts:[["color","secondary",3,"click","userTour","ariaLabel"],["name","fas-chevron-left","slot","icon-only","aria-hidden","true"]],template:function CoreBlockSideBlocksButtonComponent_Template(n,t){1&n&&(l.j41(0,"ion-button",0),l.nI1(1,"translate"),l.bIt("click",(function CoreBlockSideBlocksButtonComponent_Template_ion_button_click_0_listener(){return t.openBlocks()})),l.nrm(2,"ion-icon",1),l.k0s()),2&n&&l.Y8G("userTour",t.userTour)("ariaLabel",l.bMT(1,2,"core.block.opendrawerblocks"))},dependencies:[i.n,a.Jm,a.iq,m.t,d.T,C.g,u.D9],styles:["[_nghost-%COMP%]{top:50%;position:fixed;z-index:10;transform:translateY(-50%)}@supports (inset-inline-start: 0){[_nghost-%COMP%]{inset-inline-end:0px}}@supports not (inset-inline-start: 0){[_nghost-%COMP%]{right:0}[dir=rtl][_nghost-%COMP%], [dir=rtl]   [_nghost-%COMP%]{left:unset;right:unset;left:0}@supports selector(:dir(rtl)){[_nghost-%COMP%]:dir(rtl){left:unset;right:unset;left:0}}}[_nghost-%COMP%]   ion-button[_ngcontent-%COMP%]{margin:0;--padding-start: .5em;--padding-end: 0;--core-input-radius: 2em 0 0 2em;height:56px;--box-shadow: 0 3px 5px -1px rgb(0 0 0 / 20%), 0 6px 10px 0 rgb(0 0 0 / 14%), 0 1px 18px 0 rgb(0 0 0 / 12%)}[_nghost-%COMP%]   ion-button[_ngcontent-%COMP%]::part(native){transition:padding .2s ease-in-out}[_nghost-%COMP%]   ion-button[_ngcontent-%COMP%]:hover{--padding-end: 1.2em;--padding-start: 1em}[dir=rtl][_nghost-%COMP%]   ion-button[_ngcontent-%COMP%], [dir=rtl]   [_nghost-%COMP%]   ion-button[_ngcontent-%COMP%]{--core-input-radius: 0 2em 2em 0}"]}),CoreBlockSideBlocksButtonComponent})()}}]);