1"use strict";(self.webpackChunkhbApp=self.webpackChunkhbApp||[]).push([[3503,8057],{60438(T,m,n){n.r(m),n.d(m,{ToastService:()=>a});var o=n(29293),D=n.n(o),u=n(31635),l=n(47266),S=n(99829),v=n(87400),p=n(12654),F=n(26034),i=n(14907);class d{constructor(e){this.document=e}removeQueryParameters(e){const s=new URL(this.document.location.href);e.some(r=>s.searchParams.has(r))&&(e.forEach(r=>{s.searchParams.delete(r)}),this.document.defaultView?.history.replaceState({},this.document.title,s.toString()))}static{this.\u0275fac=function(s){return new(s||d)(l.KVO(l.qQL))}}static{this.\u0275prov=l.jDH({token:d,factory:d.\u0275fac,providedIn:"root"})}}(0,u.Cg)([(0,p.Y)(),(0,u.Sn)("design:type",Function),(0,u.Sn)("design:paramtypes",[Array]),(0,u.Sn)("design:returntype",void 0)],d.prototype,"removeQueryParameters",null),n(3480);var P=n(84412),g=n(18359),b=n(41584);class a{constructor(e,s,t,r,c){if(this.document=e,this.environment=s,this.cmp=t,this.router=r,this.queryParamService=c,this.toastBroadcastSource=new P.t(null),this.toasts=[],this.timer=null,this.defaultDuration=5,this.subscription=new g.yU,s.isServerside)return;const y=new URL(this.document.URL);this.toastBroadcast=this.toastBroadcastSource.asObservable(),this.checkUrlForToastMessageQueryParam(y)}ngOnDestroy(){this.subscription.unsubscribe()}add(e){this.toasts.push(e),this.show()}destroy(){this.timer?.unsubscribe(),this.nextToast()}destroyAll(){this.timer?.unsubscribe(),this.toasts=[],this.toastBroadcastSource.next(null)}nextToast(){this.timer?.unsubscribe(),0===this.toasts.length&&this.toastBroadcastSource.next(null),this.show()}show(){var e=this;return D()(function*(){if(yield e.cmp.waitForVendorConsents(),(!e.timer||e.timer.closed)&&e.toasts.length>0){const s=e.toasts[0];if(e.toastBroadcastSource.next(s),e.toasts.shift(),s.type===F.C.important)return e.timer=new g.yU,void e.waitForNavigationToDestroy();e.timer=(0,b.O)(1e3*(s.duration||e.defaultDuration)).subscribe(()=>{e.nextToast()}),e.waitForNavigationToDestroy()}})()}checkUrlForToastMessageQueryParam(e){const s=e.searchParams.get("tm");s&&(this.showToastMessageByQueryParameter(s),this.queryParamService.removeQueryParameters(["tm"]))}showToastMessageByQueryParameter(e){const s={logout:{message:"Sie sind abgemeldet."},emailConfirmed:{message:"Sie haben Ihre E-Mail Adresse erfolgreich best\xe4tigt und sind angemeldet."},passwordChanged:{message:"Ihr Passwort wurde wie von Ihnen gew\xfcnscht ge\xe4ndert und Sie sind erfolgreich angemeldet."},login:{message:"Sie haben sich erfolgreich angemeldet."}};s[e]&&this.add(s[e])}waitForNavigationToDestroy(){this.subscription.add(this.router.events.subscribe(e=>{e instanceof S.Z&&this.destroyAll()}))}static{this.\u0275fac=function(s){return new(s||a)(l.KVO(l.qQL),l.KVO(i.M),l.KVO(v.d),l.KVO(S.Ix),l.KVO(d))}}static{this.\u0275prov=l.jDH({token:a,factory:a.\u0275fac,providedIn:"root"})}}(0,u.Cg)([(0,p.Y)(),(0,u.Sn)("design:type",Function),(0,u.Sn)("design:paramtypes",[URL]),(0,u.Sn)("design:returntype",void 0)],a.prototype,"checkUrlForToastMessageQueryParam",null)},23503(T,m,n){n.d(m,{ToastsComponent:()=>P});var o=n(68173);const D=(0,o.hZ)("toastAnimation",[(0,o.kY)(":enter",[(0,o.iF)({transform:"translateY(-180px)"}),(0,o.i0)("250ms cubic-bezier(0.2, 1, 0.8, 1)",(0,o.iF)({transform:"translateY(0)"}))]),(0,o.kY)(":leave",[(0,o.iF)({transform:"translateY(0)"}),(0,o.i0)("250ms cubic-bezier(0.2, 1, 0.8, 1)",(0,o.iF)({transform:"translateY(-180px)"}))])]);var u=n(87559),l=n(60438),S=n(26034),v=n(14907),p=n(21512),F=n(11973),i=n(35547),d=n(47266);function O(g,b){if(1&g){const h=i.RV6();i.j41(0,"div",1),i.nrm(1,"app-rich-text",2),i.j41(2,"hmg-ghost-button",3),i.bIt("click",function(){d.eBV(h);const f=i.XpG();return d.Njj(f.close())}),i.k0s()()}if(2&g){const h=i.XpG();i.AVh("important",h.toast.type===h.ToastType.important)("error",h.toast.type===h.ToastType.error),i.Y8G("@.disabled",h.animationDisabled)("@toastAnimation",void 0),i.R7$(),i.Y8G("content",h.toast.message)}}let P=(()=>{class g{get hasClickFunction(){return void 0!==this.toast?.onClick}onClick(){this.toast?.onClick&&(this.toast.onClick(),this.close())}constructor(h,a){this.toastService=a,this.animationDisabled=!1,this.toast=null,this.ToastType=S.C,this.IconName=p.$MW,!h.isServerside&&a.toastBroadcast.subscribe(f=>{this.animationDisabled=!1,this.toast=f})}close(){this.animationDisabled=!0,this.toastService.destroy()}static{this.\u0275fac=function(a){return new(a||g)(i.rXU(v.M),i.rXU(l.ToastService))}}static{this.\u0275cmp=i.VBU({type:g,selectors:[["app-toasts"]],hostVars:3,hostBindings:function(a,f){1&a&&i.bIt("click",function(){return f.onClick()}
1),2&a&&(i.zvX("@.disabled",f.animationDisabled),i.AVh("is-clickable",f.hasClickFunction))},decls:1,vars:1,consts:[["role","alert",1,"toast-wrapper",3,"important","error"],["role","alert",1,"toast-wrapper"],["size","small",3,"content"],["icon","close","accessibilityLabel","Schlie\xdfen",3,"click"]],template:function(a,f){1&a&&i.nVh(0,O,3,7,"div",0),2&a&&i.vxM(f.toast?0:-1)},dependencies:[u.RichTextComponent,F.TAk],styles:["[_nghost-%COMP%]{position:absolute;pointer-events:none;display:block;padding-left:var(--%NS%hmg-des-dimensions-padding-m);padding-right:var(--%NS%hmg-des-dimensions-padding-m);top:calc(var(--%NS%logo-container-height-s) + var(--%NS%hmg-des-dimensions-gap-xs));z-index:var(--%NS%layer-toast);width:100%}@media(min-width:1024px){[_nghost-%COMP%]{padding-left:0;padding-right:0;width:335px;top:calc(var(--%NS%logo-container-height-l) + var(--%NS%hmg-des-dimensions-gap-xs));right:0}}[_nghost-%COMP%] .toast-wrapper[_ngcontent-%COMP%]{position:relative;background-color:var(--%NS%hmg-des-color-surface-neutral-pure);box-shadow:var(--%NS%shadow-medium-elevation);pointer-events:all;padding:var(--%NS%hmg-des-dimensions-padding-xs);display:flex;gap:var(--%NS%hmg-des-dimensions-gap-xs)}[_nghost-%COMP%] .toast-wrapper.important[_ngcontent-%COMP%]{background:var(--%NS%hmg-des-color-surface-accent-orange)}[_nghost-%COMP%] .toast-wrapper.error[_ngcontent-%COMP%]{background:var(--%NS%hmg-des-color-fill-feedback-danger-default)}[_nghost-%COMP%] .toast-wrapper.error[_ngcontent-%COMP%] hmg-rich-text{color:var(--%NS%hmg-des-color-foreground-neutral-default-inverse)}[_nghost-%COMP%] .toast-wrapper.error[_ngcontent-%COMP%] hmg-ghost-button[_ngcontent-%COMP%]{--%NS%hmg-des-ghost-button-color-foreground-default: var(--%NS%hmg-des-color-foreground-neutral-default-inverse);--%NS%hmg-des-ghost-button-color-foreground-hover: var(--%NS%hmg-des-color-foreground-neutral-default-inverse);--%NS%hmg-des-ghost-button-color-foreground-press: var(--%NS%hmg-des-color-foreground-neutral-default-inverse)}[_nghost-%COMP%] .toast-wrapper[_ngcontent-%COMP%] app-rich-text[_ngcontent-%COMP%]{flex:1 1 auto;align-self:center}.is-clickable[_nghost-%COMP%]{cursor:pointer}"],data:{animation:[D]},changeDetection:1})}}return g})()},68173(T,m,n){n.d(m,{If:()=>o,K2:()=>v,MA:()=>P,P:()=>b,PZ:()=>f,hZ:()=>u,i0:()=>l,iF:()=>p,kY:()=>d,sf:()=>a,wk:()=>F});var o=function(s){return s[s.State=0]="State",s[s.Transition=1]="Transition",s[s.Sequence=2]="Sequence",s[s.Group=3]="Group",s[s.Animate=4]="Animate",s[s.Keyframes=5]="Keyframes",s[s.Style=6]="Style",s[s.Trigger=7]="Trigger",s[s.Reference=8]="Reference",s[s.AnimateChild=9]="AnimateChild",s[s.AnimateRef=10]="AnimateRef",s[s.Query=11]="Query",s[s.Stagger=12]="Stagger",s}(o||{});function u(s,t){return{type:o.Trigger,name:s,definitions:t,options:{}}}function l(s,t=null){return{type:o.Animate,styles:t,timings:s}}function v(s,t=null){return{type:o.Sequence,steps:s,options:t}}function p(s){return{type:o.Style,styles:s,offset:null}}function F(s,t,r){return{type:o.State,name:s,styles:t,options:r}}function d(s,t,r=null){return{type:o.Transition,expr:s,animation:t,options:r}}function P(s=null){return{type:o.AnimateChild,options:s}}function b(s,t,r=null){return{type:o.Query,selector:s,animation:t,options:r}}class a{_onDoneFns=[];_onStartFns=[];_onDestroyFns=[];_originalOnDoneFns=[];_originalOnStartFns=[];_started=!1;_destroyed=!1;_finished=!1;_position=0;parentPlayer=null;totalTime;constructor(t=0,r=0){this.totalTime=t+r}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}onStart(t){this._originalOnStartFns.push(t),this._onStartFns.push(t)}onDone(t){this._originalOnDoneFns.push(t),this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(t=>t()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(t){this._position=this.totalTime?t*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(t){const r="start"==t?this._onStartFns:this._onDoneFns;r.forEach(c=>c()),r.length=0}}class f{_onDoneFns=[];_onStartFns=[];_finished=!1;_started=!1;_destroyed=!1;_onDestroyFns=[];parentPlayer=null;totalTime=0;players;constructor(t){this.players=t;let r=0,c=0,y=0;const _=this.players.length;0==_?queueMicrotask(()=>
vendor: 1,596 bytes, line 1
1this._onFinish()):this.players.forEach(C=>{C.onDone(()=>{++r==_&&this._onFinish()}),C.onDestroy(()=>{++c==_&&this._onDestroy()}),C.onStart(()=>{++y==_&&this._onStart()})}),this.totalTime=this.players.reduce((C,k)=>Math.max(C,k.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}init(){this.players.forEach(t=>t.init())}onStart(t){this._onStartFns.push(t)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(t=>t()),this._onStartFns=[])}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(t=>t.play())}pause(){this.players.forEach(t=>t.pause())}restart(){this.players.forEach(t=>t.restart())}finish(){this._onFinish(),this.players.forEach(t=>t.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(t=>t.destroy()),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){this.players.forEach(t=>t.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(t){const r=t*this.totalTime;this.players.forEach(c=>{const y=c.totalTime?Math.min(1,r/c.totalTime):1;c.setPosition(y)})}getPosition(){const t=this.players.reduce((r,c)=>null===r||c.totalTime>r.totalTime?c:r,null);return null!=t?t.getPosition():0}beforeDestroy(){this.players.forEach(t=>{t.beforeDestroy&&t.beforeDestroy()})}triggerCallback(t){const r="start"==t?this._onStartFns:this._onDoneFns;r.forEach(c=>c()),r.length=0}}}}]);
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.