1globalThis.$localize=Object.assign(globalThis.$localize || {},{locale:"en"}); 2"use strict";(function(global,_global$ng,_global$ng2,_global$ng2$common,_global$ng$common,_global$ng$common$loc){(_global$ng=global.ng)!==null&&_global$ng!==void 0?_global$ng:global.ng={};(_global$ng2$common=(_global$ng2=global.ng).common)!==null&&_global$ng2$common!==void 0?_global$ng2$common:_global$ng2.common={};(_global$ng$common$loc=(_global$ng$common=global.ng.common).locales)!==null&&_global$ng$common$loc!==void 0?_global$ng$common$loc:_global$ng$common.locales={};const u=undefined;function plural(val){const n=val,i=Math.floor(Math.abs(val)),v=val.toString().replace(/^[^.]*\.?/,"").length;if(i===1&&v===0)return 1;return 5}global.ng.common.locales["en"]=["en",[["a","p"],["AM","PM"],u],[["AM","PM"],u,u],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],u,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],u,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",u,"{1} 'at' {0}",u],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",plural,[[["mi","n","in the morning","in the afternoon","in the evening","at night"],["midnight","noon","in the morning","in the afternoon","in the evening","at night"],u],[["midnight","noon","morning","afternoon","evening","night"],u,u],["00:00","12:00",["06:00","12:00"],["12:00","18:00"],["18:00","21:00"],["21:00","06:00"]]]]})(globalThis);; 3(self.webpackChunkng_orcid=self.webpackChunkng_orcid||[]).push([[792],{178:(qe,ee,o)=>{"use strict";o.d(ee,{z:()=>N});var a=o(29330),t=o(24394),u=o(92771),M=o(7673),v=o(35060),r=o(96354),_=o(99437),h=o(25558),C=o(88141),b=o(44668),D=o(67018),f=o(1734),O=o(21495),d=o(62415),L=o(19490),E=o(36131),se=o(13256),Y=o(2615),ne=o(56846),U=o(91029),T=o(2490),I=o(51060),w=o(8858);const Z=["login_required","interaction_required","invalid_scope","unsupported_response_type"];let N=(()=>{class oe{constructor(ie,Ce,Ue,nt,we,at,Xe){this._http=ie,this._errorHandler=Ce,this._router=Ue,this._cookie=nt,this.window=we,this._platform=at,this._observability=Xe,this.requestInfoSubject=ne
3w u.m(1),this.headers=new a.Lr({"Access-Control-Allow-Origin":"*"})}loadRequestInfoFormFromMemory(){return this.requestInfoSubject}updateRequestInfoFormInMemory(ie){this.requestInfoSubject.next(ie)}loadRequestInfoForm(){return this._http.get(runtimeEnvironment.BASE_URL+"oauth/custom/requestInfoForm.json",{headers:this.headers}).pipe((0,r.T)(ie=>ie.clientId?ie:void 0),(0,se.jh)(),(0,_.W)(ie=>this._errorHandler.handleError(ie)),(0,h.n)(ie=>this.handleSessionErrors(ie)))}authorize(ie){return this._http.post(runtimeEnvironment.BASE_URL+"oauth/custom/authorize.json",{persistentTokenEnabled:!0,emailAccessAllowed:!0,approved:ie},{headers:this.headers,withCredentials:!0}).pipe((0,se.jh)(),(0,_.W)(Ue=>this._errorHandler.handleError(Ue,d.Q.STANDARD_VERBOSE)),(0,C.M)(Ue=>{this.requestInfoSubject.next(Ue)}),(0,r.T)(Ue=>Ue.redirectUrl))}authorizeOnAuthServer(ie,Ce){let Ue=new a.Lr;Ue=Ue.set("Access-Control-Allow-Origin",runtimeEnvironment.AUTH_SERVER),Ue=Ue.set("Content-Type","application/x-www-form-urlencoded");let nt=this._cookie.get("AUTH-XSRF-TOKEN");Ue=Ue.set("x-xsrf-token",nt);let we=new a.Nl({encoder:new t.C}).set("client_id",ie.clientId).set("state",ie.oauthState);if(!0===Ce)for(var at of ie.scopes)we=we.append("scope",at.value);return this._http.post(runtimeEnvironment.AUTH_SERVER+"oauth2/authorize",we,{headers:Ue,withCredentials:!0,observe:"response"}).pipe((0,h.n)(Xe=>{if(Xe.body&&Xe.body.error){if("access_denied"===Xe.body.error)return(0,M.of)(Xe.body.uri);{this._observability.recordSimpleEvent(L.f0.OauthAuthorizeAuthServerErrorBody,{oauth_error:Xe.body.error,oauth_error_description:String(Xe.body.error_description||"").slice(0,500),oauth_authorize_approved:Ce,client_id:ie?.clientId});const xe=new Error(Xe.body.error_description||"Authorization failed on server");return xe.name=Xe.body.error||"AuthError",this._errorHandler.handleError(xe,d.Q.STANDARD_VERBOSE)}}return(0,M.of)(Xe.headers.get("location"))}),(0,_.W)(Xe=>this._errorHandler.handleError(Xe,d.Q.STANDARD_VERBOSE)))}declareOauthSession(ie,Ce){return this.declareOauthSession$&&void 0!==Ce.checkTrigger.timerUpdate||(this.declareOauthSession$=this._http.post(runtimeEnvironment.BASE_URL+`oauth/custom/init.json?${(0,O.UX)(ie)}`,ie,{headers:this.headers}).pipe((0,se.jh)(),(0,_.W)(Ue=>this._errorHandler.handleError(Ue,d.Q.STANDARD_VERBOSE)),(0,h.n)(Ue=>this.handleSessionErrors(Ue,ie)),(0,b.t)(1))),this.declareOauthSession$.pipe((0,D.H)())}handleSessionErrors(ie,Ce){return ie?ie.error&&Z.find(Ue=>Ue===ie.error)?(this._observability.recordSimpleEvent(L.f0.OauthSessionClientHandledErrorRedirectLegacy,{oauth_error:ie.error,oauth_error_code:ie.errorCode,oauth_error_description:String(ie.errorDescription||"").slice(0,500),client_id:Ce?.client_id,redirect_uri:ie.redirectUrl||Ce?.redirect_uri,oauth_query_string:(0,E.W)(Ce)}),this.window.outOfRouterNavigation(`${ie.redirectUrl}#error=${ie.error}`),v.t):((ie.error||ie.errors&&ie.errors.length)&&(this._observability.recordSimpleEvent(L.f0.OauthSessionNavigateAuthorizeErrorLegacy,{oauth_error:ie.error,oauth_error_description:String(ie.errorDescription||"").slice(0,500),oauth_errors:Array.isArray(ie.errors)?ie.errors.slice(0,10).join("|"):void 0,client_id:Ce?.client_id,redirect_uri:Ce?.redirect_uri,oauth_query_string:(0,E.W)(Ce)}),this._router.navigate([O.Tu.authorize],{queryParams:Ce}).then(Ue=>{Ue&&this._errorHandler.handleError(new Error(`${ie.error||ie.errors}.${ie.errorDescription}`),d.Q.OAUTH_PARAMETERS).subscribe()})),(0,M.of)(ie)):(0,M.of)(null)}loadShibbolethSignInData(){return this._http.get(runtimeEnvironment.BASE_URL+"shibboleth/signinData.json",{headers:this.headers}).pipe((0,se.jh)(),(0,_.W)(ie=>this._errorHandler.handleError(ie,d.Q.STANDARD_VERBOSE)))}loadSocialSigninData(){return this._http.get(runtimeEnvironment.BASE_URL+"social/signinData.json",{headers:this.headers}).pipe((0,se.jh)(),(0,_.W)(ie=>this._errorHandler.handleError(ie,d.Q.STANDARD_VERBOSE)))}validateRedirectUri(ie,Ce){const Ue=`${runtimeEnvironment.AUTH_SERVER}validateRedirectUri`,nt={clientId:ie,redirectUri:Ce},we=new a.Lr({"Access-Control-Allow-Origin":runtimeEnvironment.AUTH_SERVER,"Content-Type":"application/json","x-xsrf-token":this._cookie.get("AUTH-XSRF-TOKEN")});return this._http.post(Ue,nt,{headers:we,withCredentials:!0})}
3static{this.\u0275fac=function(Ce){return new(Ce||oe)(Y.KVO(a.Qq),Y.KVO(ne.c),Y.KVO(U.Ix),Y.KVO(T.O),Y.KVO(f.jf),Y.KVO(I.Z),Y.KVO(w.s))}}static{this.\u0275prov=Y.jDH({token:oe,factory:oe.\u0275fac,providedIn:"root"})}}return oe})()},345:(qe,ee,o)=>{"use strict";o.d(ee,{W8:()=>v,hE:()=>_,up:()=>I});var a=o(57303),t=o(2615),u=o(73664);o(17705);let v=(()=>{class Xe{_doc;_dom;constructor(xe){this._doc=xe,this._dom=(0,a.rb)()}addTag(xe,De=!1){return xe?this._getOrCreateElement(xe,De):null}addTags(xe,De=!1){return xe?xe.reduce((ue,z)=>(z&&ue.push(this._getOrCreateElement(z,De)),ue),[]):[]}getTag(xe){return xe&&this._doc.querySelector(`meta[${xe}]`)||null}getTags(xe){if(!xe)return[];const De=this._doc.querySelectorAll(`meta[${xe}]`);return De?[].slice.call(De):[]}updateTag(xe,De){if(!xe)return null;De=De||this._parseSelector(xe);const ue=this.getTag(De);return ue?this._setMetaElementAttributes(xe,ue):this._getOrCreateElement(xe,!0)}removeTag(xe){this.removeTagElement(this.getTag(xe))}removeTagElement(xe){xe&&this._dom.remove(xe)}_getOrCreateElement(xe,De=!1){if(!De){const de=this._parseSelector(xe),ae=this.getTags(de).filter(X=>this._containsAttributes(xe,X))[0];if(void 0!==ae)return ae}const ue=this._dom.createElement("meta");return this._setMetaElementAttributes(xe,ue),this._doc.getElementsByTagName("head")[0].appendChild(ue),ue}_setMetaElementAttributes(xe,De){return Object.keys(xe).forEach(ue=>De.setAttribute(this._getMetaKeyMap(ue),xe[ue])),De}_parseSelector(xe){const De=xe.name?"name":"property";return`${De}="${xe[De]}"`}_containsAttributes(xe,De){return Object.keys(xe).every(ue=>De.getAttribute(this._getMetaKeyMap(ue))===xe[ue])}_getMetaKeyMap(xe){return r[xe]||xe}static \u0275fac=function(De){return new(De||Xe)(t.KVO(t.qQL))};static \u0275prov=t.jDH({token:Xe,factory:Xe.\u0275fac,providedIn:"root"})}return Xe})();const r={httpEquiv:"http-equiv"};let _=(()=>{class Xe{_doc;constructor(xe){this._doc=xe}getTitle(){return this._doc.title}setTitle(xe){this._doc.title=xe||""}static \u0275fac=function(De){return new(De||Xe)(t.KVO(t.qQL))};static \u0275prov=t.jDH({token:Xe,factory:Xe.\u0275fac,providedIn:"root"})}return Xe})(),I=(()=>{class Xe{static \u0275fac=function(De){return new(De||Xe)};static \u0275prov=t.jDH({token:Xe,factory:function(De){let ue=null;return ue=De?new(De||Xe):t.KVO(w),ue},providedIn:"root"})}return Xe})(),w=(()=>{class Xe extends I{_doc;constructor(xe){super(),this._doc=xe}sanitize(xe,De){if(null==De)return null;switch(xe){case u.WPN.NONE:return De;case u.WPN.HTML:return(0,u.iWE)(De,"HTML")?(0,u.aCM)(De):(0,u.wr$)(this._doc,String(De)).toString();case u.WPN.STYLE:return(0,u.iWE)(De,"Style")?(0,u.aCM)(De):De;case u.WPN.SCRIPT:if((0,u.iWE)(De,"Script"))return(0,u.aCM)(De);throw new t.buA(5200,!1);case u.WPN.URL:return(0,u.iWE)(De,"URL")?(0,u.aCM)(De):(0,u.gil)(String(De));case u.WPN.RESOURCE_URL:if((0,u.iWE)(De,"ResourceURL"))return(0,u.aCM)(De);throw new t.buA(5201,!1);default:throw new t.buA(5202,!1)}}bypassSecurityTrustHtml(xe){return(0,u.PYC)(xe)}bypassSecurityTrustStyle(xe){return(0,u.rAh)(xe)}bypassSecurityTrustScript(xe){return(0,u.p2i)(xe)}bypassSecurityTrustUrl(xe){return(0,u.B1s)(xe)}bypassSecurityTrustResourceUrl(xe){return(0,u.RPW)(xe)}static \u0275fac=function(De){return new(De||Xe)(t.KVO(t.qQL))};static \u0275prov=t.jDH({token:Xe,factory:Xe.\u0275fac,providedIn:"root"})}return Xe})()},983:(qe,ee,o)=>{"use strict";o.d(ee,{w:()=>t});const t=new(o(71985).c)(v=>v.complete())},998:(qe,ee,o)=>{"use strict";o.d(ee,{$:()=>f});var a=o(29330),t=o(92771),u=o(7673),M=o(96354),v=o(99437),r=o(88141),_=o(67376),C=o(2615),b=o(56846),D=o(89402);let f=(()=>{class O{constructor(L,E,se){this._http=L,this._errorHandler=E,this._recordPublicSidebar=se,this.headers=new a.Lr({"Access-Control-Allow-Origin":"*"})}getOtherNames(L={forceReload:!1}){if(L.publicRecordId)return this._recordPublicSidebar.getPublicRecordSideBar(L).pipe((0,M.T)(E=>E?.otherNames),(0,M.T)(E=>(E?.otherNames&&(E.otherNames=(0,_.flatMap)((0,_.groupBy)(E?.otherNames,se=>se?.content.toLowerCase().trim()))),E)));if(this.$otherNames){if(!L.forceReload)return this.$otherNames;L.cleanCacheIfExist&&this.$otherNames&&this.$otherNames.next(void 0)}else this.$otherNames=new t.m(1);return this._http.get(runtimeEnvironment.API_WEB+"my-orcid/other
3NamesForms.json",{headers:this.headers}).pipe((0,v.W)(E=>this._errorHandler.handleError(E)),(0,v.W)(()=>(0,u.of)({otherNames:[]})),(0,r.M)(E=>{this.$otherNames.next(E)})).subscribe(),this.$otherNames}postOtherNames(L){return this._http.post(runtimeEnvironment.API_WEB+"my-orcid/otherNamesForms.json",L,{headers:this.headers}).pipe((0,v.W)(E=>this._errorHandler.handleError(E)),(0,r.M)(()=>this.getOtherNames({forceReload:!0})))}static{this.\u0275fac=function(E){return new(E||O)(C.KVO(a.Qq),C.KVO(b.c),C.KVO(D.I))}}static{this.\u0275prov=C.jDH({token:O,factory:O.\u0275fac,providedIn:"root"})}}return O})()},1599:function(qe,ee,o){(function(){var t,u;t=o(75775),u=o(91560),qe.exports=function(){function M(){this.defaultParams={"canonical-form":!1,"cdata-sections":!1,comments:!1,"datatype-normalization":!1,"element-content-whitespace":!0,entities:!0,"error-handler":new t,infoset:!0,"validate-if-schema":!1,namespaces:!0,"namespace-declarations":!0,"normalize-characters":!1,"schema-location":"","schema-type":"","split-cdata-sections":!0,validate:!1,"well-formed":!0},this.params=Object.create(this.defaultParams)}return Object.defineProperty(M.prototype,"parameterNames",{get:function(){return new u(Object.keys(this.defaultParams))}}),M.prototype.getParameter=function(v){return this.params.hasOwnProperty(v)?this.params[v]:null},M.prototype.canSetParameter=function(v,r){return!0},M.prototype.setParameter=function(v,r){return null!=r?this.params[v]=r:delete this.params[v]},M}()}).call(this)},1734:(qe,ee,o)=>{"use strict";o.d(ee,{jf:()=>a.jf,GG:()=>a.GG,nd:()=>M});var a=o(23137),t=o(73664),u=o(2615);let M=(()=>{class v{static{this.\u0275fac=function(h){return new(h||v)}}static{this.\u0275mod=t.$C({type:v})}static{this.\u0275inj=u.G2t({providers:[a.GG]})}}return v})()},1798:(qe,ee,o)=>{"use strict";o.d(ee,{E:()=>u});var a=o(2615);let u=(()=>{class M{isErrorState(r,_){return!!(r&&r.invalid&&(r.touched||_&&_.submitted))}static \u0275fac=function(_){return new(_||M)};static \u0275prov=a.jDH({token:M,factory:M.\u0275fac,providedIn:"root"})}return M})()},1875:(qe,ee,o)=>{"use strict";o.d(ee,{T1:()=>Cn,Fb:()=>on,EM:()=>tr,O7:()=>wi,ad:()=>Qi,HD:()=>Ne});var a=o(73664),t=o(2615),u=o(17705),M=o(21413),v=o(18359),r=o(43236),_=o(41584),C=o(30536),b=o(71985),D=o(57786),f=o(84412),O=o(79629),d=o(3700),L=o(79355),E=o(56977),se=o(96354),Y=o(96697),ne=o(88141),U=o(25558),T=o(99172),I=o(41560),w=o(75272),Z=o(40372),N=o(88511),oe=o(41959);function H(xt){const Me=xt.cloneNode(!0),_e=Me.querySelectorAll("[id]"),ke=xt.nodeName.toLowerCase();Me.removeAttribute("id");for(let _t=0;_t<_e.length;_t++)_e[_t].removeAttribute("id");return"canvas"===ke?nt(xt,Me):("input"===ke||"select"===ke||"textarea"===ke)&&Ue(xt,Me),ie("canvas",xt,Me,nt),ie("input, textarea, select",xt,Me,Ue),Me}function ie(xt,Me,_e,ke){const _t=Me.querySelectorAll(xt);if(_t.length){const wt=_e.querySelectorAll(xt);for(let Je=0;Je<_t.length;Je++)ke(_t[Je],wt[Je])}}let Ce=0;function Ue(xt,Me){"file"!==Me.type&&(Me.value=xt.value),"radio"===Me.type&&Me.name&&(Me.name=`mat-clone-${Me.name}-${Ce++}`)}function nt(xt,Me){const _e=Me.getContext("2d");if(_e)try{_e.drawImage(xt,0,0)}catch{}}function we(xt){const Me=xt.getBoundingClientRect();return{top:Me.top,right:Me.right,bottom:Me.bottom,left:Me.left,width:Me.width,height:Me.height,x:Me.x,y:Me.y}}function at(xt,Me,_e){const{top:ke,bottom:_t,left:wt,right:Je}=xt;return _e>=ke&&_e<=_t&&Me>=wt&&Me<=Je}function et(xt,Me,_e){xt.top+=Me,xt.bottom=xt.top+xt.height,xt.left+=_e,xt.right=xt.left+xt.width}function xe(xt,Me,_e,ke){const{top:_t,right:wt,bottom:Je,left:Tt,width:le,height:Ve}=xt,Te=le*Me,Ht=Ve*Me;return ke>_t-Ht&&ke<Je+Ht&&_e>Tt-Te&&_e<wt+Te}class De{_document;positions=new Map;constructor(Me){this._document=Me}clear(){this.positions.clear()}cache(Me){this.clear(),this.positions.set(this._document,{scrollPosition:this.getViewportScrollPosition()}),Me.forEach(_e=>{this.positions.set(_e,{scrollPosition:{top:_e.scrollTop,left:_e.scrollLeft},clientRect:we(_e)})})}handleScroll(Me){const _e=(0,O._)(Me),ke=this.positions.get(_e);if(!ke)return null;const _t=ke.scrollPosition;let wt,Je;if(_e===this._document){const Ve=this.getViewportScrollPosition();wt=Ve.top,Je=Ve.left}else wt=_e.scrollTop,Je=_e.scrollLeft;const Tt=_t.top-wt,le=_t.left-Je;return this.positions.forEach((Ve,Te)=>{Ve.clientRect&&_e!==Te&&_e.contains(Te)&&et(Ve.clientRect,Tt,le)}),_t.top=wt,_t.left=Je,{top:Tt,left:le}}getViewportScrollPosition(){return{top:window.scrollY,left:window.scrollX}}}function ue(xt,Me){const _e=xt.rootNodes;if(1===_e.length&&_e[0].nodeType===Me.ELEMENT_NODE)return _e[0];const ke=Me.createElement("div");return _e.forEach(_t=>ke.appendChild(_t)),ke}function z(xt,Me,_e){for(let ke in Me)if(Me.hasOwnProperty(ke)){const _t=Me[ke];_t?xt.setProperty(ke,_t,_e?.has(ke)?"important":""):xt.removeProperty(ke)}return xt}function de(xt,Me){const _e=Me?"":"none";z(xt.style,{"touch-action":Me?"":"none","-webkit-user-drag":Me?"":"none","-webkit-tap-highlight-color":Me?"":"transparent","user-select":_e,"-ms-user-select":_e,"-webkit-user-select":_e,"-moz-user-select":_e})}
3function ae(xt,Me,_e){z(xt.style,{position:Me?"":"fixed",top:Me?"":"0",opacity:Me?"":"0",left:Me?"":"-999em"},_e)}function X(xt,Me){return Me&&"none"!=Me?xt+" "+Me:xt}function $(xt,Me){xt.style.width=`${Me.width}px`,xt.style.height=`${Me.height}px`,xt.style.transform=K(Me.left,Me.top)}function K(xt,Me){return`translate3d(${Math.round(xt)}px, ${Math.round(Me)}px, 0)`}function Be(xt){const Me=xt.toLowerCase().indexOf("ms")>-1?1:1e3;return parseFloat(xt)*Me}function Se(xt,Me){return xt.getPropertyValue(Me).split(",").map(ke=>ke.trim())}const pt=new Set(["position"]);class Ge{_document;_rootElement;_direction;_initialDomRect;_previewTemplate;_previewClass;_pickupPositionOnPage;_initialTransform;_zIndex;_renderer;_previewEmbeddedView;_preview;get element(){return this._preview}constructor(Me,_e,ke,_t,wt,Je,Tt,le,Ve,Te){this._document=Me,this._rootElement=_e,this._direction=ke,this._initialDomRect=_t,this._previewTemplate=wt,this._previewClass=Je,this._pickupPositionOnPage=Tt,this._initialTransform=le,this._zIndex=Ve,this._renderer=Te}attach(Me){this._preview=this._createPreview(),Me.appendChild(this._preview),bt(this._preview)&&this._preview.showPopover()}destroy(){this._preview.remove(),this._previewEmbeddedView?.destroy(),this._preview=this._previewEmbeddedView=null}setTransform(Me){this._preview.style.transform=Me}getBoundingClientRect(){return this._preview.getBoundingClientRect()}addClass(Me){this._preview.classList.add(Me)}getTransitionDuration(){return function Ye(xt){const Me=getComputedStyle(xt),_e=Se(Me,"transition-property"),ke=_e.find(Tt=>"transform"===Tt||"all"===Tt);if(!ke)return 0;const _t=_e.indexOf(ke),wt=Se(Me,"transition-duration"),Je=Se(Me,"transition-delay");return Be(wt[_t])+Be(Je[_t])}(this._preview)}addEventListener(Me,_e){return this._renderer.listen(this._preview,Me,_e)}_createPreview(){const Me=this._previewTemplate,_e=this._previewClass,ke=Me?Me.template:null;let _t;if(ke&&Me){const wt=Me.matchSize?this._initialDomRect:null,Je=Me.viewContainer.createEmbeddedView(ke,Me.context);Je.detectChanges(),_t=ue(Je,this._document),this._previewEmbeddedView=Je,Me.matchSize?$(_t,wt):_t.style.transform=K(this._pickupPositionOnPage.x,this._pickupPositionOnPage.y)}else _t=H(this._rootElement),$(_t,this._initialDomRect),this._initialTransform&&(_t.style.transform=this._initialTransform);return z(_t.style,{"pointer-events":"none",margin:bt(_t)?"0 auto 0 0":"0",position:"fixed",top:"0",left:"0","z-index":this._zIndex+""},pt),de(_t,!1),_t.classList.add("cdk-drag-preview"),_t.setAttribute("popover","manual"),_t.setAttribute("dir",this._direction),_e&&(Array.isArray(_e)?_e.forEach(wt=>_t.classList.add(wt)):_t.classList.add(_e)),_t}}function bt(xt){return"showPopover"in xt}const me={passive:!0},J={passive:!1},R={passive:!1,capture:!0},ce="cdk-drag-placeholder",Pe=new Set(["position"]);class pe{_config;_document;_ngZone;_viewportRuler;_dragDropRegistry;_renderer;_rootElementCleanups;_cleanupShadowRootSelectStart;_preview;_previewContainer;_placeholderRef;_placeholder;_pickupPositionInElement;_pickupPositionOnPage;_marker;_anchor=null;_passiveTransform={x:0,y:0};_activeTransform={x:0,y:0};_initialTransform;_hasStartedDragging=(0,t.vPA)(!1);_hasMoved;_initialContainer;_initialIndex;_parentPositions;_moveEvents=new M.B;_pointerDirectionDelta;_pointerPositionAtLastDirectionChange;_lastKnownPointerPosition;_rootElement;_ownerSVGElement;_rootElementTapHighlight;_pointerMoveSubscription=v.yU.EMPTY;_pointerUpSubscription=v.yU.EMPTY;_scrollSubscription=v.yU.EMPTY;_resizeSubscription=v.yU.EMPTY;_lastTouchEventTime;_dragStartTime;_boundaryElement=null;_nativeInteractionsEnabled=!0;_initialDomRect;_previewRect;_boundaryRect;_previewTemplate;_placeholderTemplate;_handles=[];_disabledHandles=new Set;_dropContainer;_direction="ltr";_parentDragRef;_cachedShadowRoot;lockAxis;dragStartDelay=0;previewClass;scale=1;get disabled(){return this._disabled||!(!this._dropContainer||!this._dropContainer.disabled)}set disabled(Me){Me!==this._disabled&&(this._disabled=Me,this._toggleNativeDragInteractions(),this._handles.forEach(_e=>de(_e,Me)))}_disabled=!1;beforeStarted=new M.B;started=new M.B;released=new M.B;ended=new M.B;entered=new M.B;exited=new M.B;dropped=new M.B;moved=this._moveEvents;data;constrainPosition;constructor(Me,_e,ke,_t,wt,Je,Tt){this._config=_e,this._document=ke,this._ngZone=_t,this._viewportRuler
3=wt,this._dragDropRegistry=Je,this._renderer=Tt,this.withRootElement(Me).withParent(_e.parentDragRef||null),this._parentPositions=new De(ke),Je.registerDragItem(this)}getPlaceholderElement(){return this._placeholder}getRootElement(){return this._rootElement}getVisibleElement(){return this.isDragging()?this.getPlaceholderElement():this.getRootElement()}withHandles(Me){this._handles=Me.map(ke=>(0,L.a)(ke)),this._handles.forEach(ke=>de(ke,this.disabled)),this._toggleNativeDragInteractions();const _e=new Set;return this._disabledHandles.forEach(ke=>{this._handles.indexOf(ke)>-1&&_e.add(ke)}),this._disabledHandles=_e,this}withPreviewTemplate(Me){return this._previewTemplate=Me,this}withPlaceholderTemplate(Me){return this._placeholderTemplate=Me,this}withRootElement(Me){const _e=(0,L.a)(Me);if(_e!==this._rootElement){this._removeRootElementListeners();const ke=this._renderer;this._rootElementCleanups=this._ngZone.runOutsideAngular(()=>[ke.listen(_e,"mousedown",this._pointerDown,J),ke.listen(_e,"touchstart",this._pointerDown,me),ke.listen(_e,"dragstart",this._nativeDragStart,J)]),this._initialTransform=void 0,this._rootElement=_e}return typeof SVGElement<"u"&&this._rootElement instanceof SVGElement&&(this._ownerSVGElement=this._rootElement.ownerSVGElement),this}withBoundaryElement(Me){return this._boundaryElement=Me?(0,L.a)(Me):null,this._resizeSubscription.unsubscribe(),Me&&(this._resizeSubscription=this._viewportRuler.change(10).subscribe(()=>this._containInsideBoundaryOnResize())),this}withParent(Me){return this._parentDragRef=Me,this}dispose(){this._removeRootElementListeners(),this.isDragging()&&this._rootElement?.remove(),this._marker?.remove(),this._destroyPreview(),this._destroyPlaceholder(),this._dragDropRegistry.removeDragItem(this),this._removeListeners(),this.beforeStarted.complete(),this.started.complete(),this.released.complete(),this.ended.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this._moveEvents.complete(),this._handles=[],this._disabledHandles.clear(),this._dropContainer=void 0,this._resizeSubscription.unsubscribe(),this._parentPositions.clear(),this._boundaryElement=this._rootElement=this._ownerSVGElement=this._placeholderTemplate=this._previewTemplate=this._marker=this._parentDragRef=null}isDragging(){return this._hasStartedDragging()&&this._dragDropRegistry.isDragging(this)}reset(){this._rootElement.style.transform=this._initialTransform||"",this._activeTransform={x:0,y:0},this._passiveTransform={x:0,y:0}}resetToBoundary(){if(this._boundaryElement&&this._rootElement&&function Xe(xt,Me){return Me.left<xt.left||Me.left+Me.width>xt.right||Me.top<xt.top||Me.top+Me.height>xt.bottom}(this._boundaryElement.getBoundingClientRect(),this._rootElement.getBoundingClientRect())){const Me=this._boundaryElement.getBoundingClientRect(),_e=this._rootElement.getBoundingClientRect();let ke=0,_t=0;_e.left<Me.left?ke=Me.left-_e.left:_e.right>Me.right&&(ke=Me.right-_e.right),_e.top<Me.top?_t=Me.top-_e.top:_e.bottom>Me.bottom&&(_t=Me.bottom-_e.bottom);let Tt=this._activeTransform.x+ke,le=this._activeTransform.y+_t;this._rootElement.style.transform=K(Tt,le),this._activeTransform={x:Tt,y:le},this._passiveTransform={x:Tt,y:le}}}disableHandle(Me){!this._disabledHandles.has(Me)&&this._handles.indexOf(Me)>-1&&(this._disabledHandles.add(Me),de(Me,!0))}enableHandle(Me){this._disabledHandles.has(Me)&&(this._disabledHandles.delete(Me),de(Me,this.disabled))}withDirection(Me){return this._direction=Me,this}_withDropContainer(Me){this._dropContainer=Me}getFreeDragPosition(){const Me=this.isDragging()?this._activeTransform:this._passiveTransform;return{x:Me.x,y:Me.y}}setFreeDragPosition(Me){return this._activeTransform={x:0,y:0},this._passiveTransform.x=Me.x,this._passiveTransform.y=Me.y,this._dropContainer||this._applyRootElementTransform(Me.x,Me.y),this}withPreviewContainer(Me){return this._previewContainer=Me,this}_sortFromLastPointerPosition(){const Me=this._lastKnownPointerPosition;Me&&this._dropContainer&&this._updateActiveDropContainer(this._getConstrainedPointerPosition(Me),Me)}_removeListeners(){this._pointerMoveSubscription.unsubscribe(),this._pointerUpSubscription.unsubscribe(),this._scrollSubscription.unsubscribe(),this._cleanupShadowRootSelectStart?.(),this._cleanupShadowRootSelectStart=void 0}_destroyPreview(){this._preview?.destroy(),this._preview=null}
3_destroyPlaceholder(){this._anchor?.remove(),this._placeholder?.remove(),this._placeholderRef?.destroy(),this._placeholder=this._anchor=this._placeholderRef=null}_pointerDown=Me=>{if(this.beforeStarted.next(),this._handles.length){const _e=this._getTargetHandle(Me);_e&&!this._disabledHandles.has(_e)&&!this.disabled&&this._initializeDragSequence(_e,Me)}else this.disabled||this._initializeDragSequence(this._rootElement,Me)};_pointerMove=Me=>{const _e=this._getPointerPositionOnPage(Me);if(!this._hasStartedDragging()){if(Math.abs(_e.x-this._pickupPositionOnPage.x)+Math.abs(_e.y-this._pickupPositionOnPage.y)>=this._config.dragStartThreshold){const Tt=Date.now()>=this._dragStartTime+this._getDragStartDelay(Me),le=this._dropContainer;if(!Tt)return void this._endDragSequence(Me);(!le||!le.isDragging()&&!le.isReceiving())&&(Me.cancelable&&Me.preventDefault(),this._hasStartedDragging.set(!0),this._ngZone.run(()=>this._startDragSequence(Me)))}return}Me.cancelable&&Me.preventDefault();const ke=this._getConstrainedPointerPosition(_e);if(this._hasMoved=!0,this._lastKnownPointerPosition=_e,this._updatePointerDirectionDelta(ke),this._dropContainer)this._updateActiveDropContainer(ke,_e);else{const _t=this.constrainPosition?this._initialDomRect:this._pickupPositionOnPage,wt=this._activeTransform;wt.x=ke.x-_t.x+this._passiveTransform.x,wt.y=ke.y-_t.y+this._passiveTransform.y,this._applyRootElementTransform(wt.x,wt.y)}this._moveEvents.observers.length&&this._ngZone.run(()=>{this._moveEvents.next({source:this,pointerPosition:ke,event:Me,distance:this._getDragDistance(ke),delta:this._pointerDirectionDelta})})};_pointerUp=Me=>{this._endDragSequence(Me)};_endDragSequence(Me){if(this._dragDropRegistry.isDragging(this)&&(this._removeListeners(),this._dragDropRegistry.stopDragging(this),this._toggleNativeDragInteractions(),this._handles&&(this._rootElement.style.webkitTapHighlightColor=this._rootElementTapHighlight),this._hasStartedDragging()))if(this.released.next({source:this,event:Me}),this._dropContainer)this._dropContainer._stopScrolling(),this._animatePreviewToPlaceholder().then(()=>{this._cleanupDragArtifacts(Me),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this)});else{this._passiveTransform.x=this._activeTransform.x;const _e=this._getPointerPositionOnPage(Me);this._passiveTransform.y=this._activeTransform.y,this._ngZone.run(()=>{this.ended.next({source:this,distance:this._getDragDistance(_e),dropPoint:_e,event:Me})}),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this)}}_startDragSequence(Me){Qe(Me)&&(this._lastTouchEventTime=Date.now()),this._toggleNativeDragInteractions();const _e=this._getShadowRoot(),ke=this._dropContainer;if(_e&&this._ngZone.runOutsideAngular(()=>{this._cleanupShadowRootSelectStart=this._renderer.listen(_e,"selectstart",At,R)}),ke){const _t=this._rootElement,wt=_t.parentNode,Je=this._placeholder=this._createPlaceholderElement(),Tt=this._marker=this._marker||this._document.createComment("");wt.insertBefore(Tt,_t),this._initialTransform=_t.style.transform||"",this._preview=new Ge(this._document,this._rootElement,this._direction,this._initialDomRect,this._previewTemplate||null,this.previewClass||null,this._pickupPositionOnPage,this._initialTransform,this._config.zIndex||1e3,this._renderer),this._preview.attach(this._getPreviewInsertionPoint(wt,_e)),ae(_t,!1,Pe),this._document.body.appendChild(wt.replaceChild(Je,_t)),this.started.next({source:this,event:Me}),ke.start(),this._initialContainer=ke,this._initialIndex=ke.getItemIndex(this)}else this.started.next({source:this,event:Me}),this._initialContainer=this._initialIndex=void 0;this._parentPositions.cache(ke?ke.getScrollableParents():[])}_initializeDragSequence(Me,_e){this._parentDragRef&&_e.stopPropagation();const ke=this.isDragging(),_t=Qe(_e),wt=!_t&&0!==_e.button,Je=this._rootElement,Tt=(0,O._)(_e),le=!_t&&this._lastTouchEventTime&&this._lastTouchEventTime+800>Date.now(),Ve=_t?(0,d.a)(_e):(0,d.i)(_e);if(Tt&&Tt.draggable&&"mousedown"===_e.type&&_e.preventDefault(),ke||wt||le||Ve)return;if(this._handles.length){const Jt=Je.style;this._rootElementTapHighlight=Jt.webkitTapHighlightColor||"",Jt.webkitTapHighlightColor="transparent"}this._hasMoved=!1,this._hasStartedDragging.set(this._hasMoved),this._removeListeners(),this._initialDomRect=this._rootElement.getBoundingClientRect(),this._pointerMoveSubscription=this._dragDropRegistry.pointerMove.subscribe(this._pointerMove),this._pointerUpSubscription=this._dragDropRegistry.pointerUp.subscribe(this._pointerUp),this._scrollSubscription=this._dragDropRegistry.scrolled(this._getShadowRoot()).subscribe(Jt=>this._updateOnScroll(Jt)),this._boundaryElement&&(this._boundaryRect=we(this._boundaryElement));const Te=this._previewTemplate;this._pickupPositionInElement=Te&&Te.template&&!Te.matchSize?{x:0,y:0}:this._getPointerPositionInElement(this._initialDomRect,Me,_e);const Ht=this._pickupPositionOnPage=this._lastKnownPointerPosition=this._getPointerPositionOnPage(_e);this._pointerDirectionDelta={x:0,y:0},this._pointerPositionAtLastDirectionChange={x:Ht.x,y:Ht.y},this._dragStartTime=Date.now(),this._dragDropRegistry.startDragging(this,_e)}_cleanupDragArtifacts(Me){ae(this._rootElement,!0,Pe),this._marker.parentNode.replaceChild(this._rootElement,this._marker),this._destroyPreview(),this._destroyPlaceholder(),this._initialDomRect=this._boundaryRect=this._previewRect=this._initialTransform=void 0,this._ngZone.run(()=>{const _e=this._dropContainer,ke=_e.getItemIndex(this),_t=this._getPointerPositionOnPage(Me),wt=this._getDragDistance(_t),Je=_e._isOverContainer(_t.x,_t.y);this.ended.next({source:this,distance:wt,dropPoint:_t,event:Me}),this.dropped.next({item:this,currentIndex:ke,previousIndex:this._initialIndex,container:_e,previousContainer:this._initialContainer,isPointerOverContainer:Je,distance:wt,dropPoint:_t,event:Me}),_e.drop(this,ke,this._initialIndex,this._initialContainer,Je,wt,_t,Me),this._dropContainer=this._initialContainer})}_updateActiveDropContainer({x:Me,y:_e},{x:ke,y:_t}){let wt=this._initialContainer._getSiblingContainerFromPosition(this,Me,_e);!wt&&this._dropContainer!==this._initialContainer&&this._initialContainer._isOverContainer(Me,_e)&&(wt=this._initialContainer),wt&&wt!==this._dropContainer&&this._ngZone.run(()=>{const Je=this._dropContainer.getItemIndex(this),Tt=this._dropContainer.getItemAtIndex(Je+1)?.getVisibleElement()||null;this.exited.next({item:this,container:this._dropContainer}),this._dropContainer.exit(this),this._conditionallyInsertAnchor(wt,this._dropContainer,Tt),this._dropContainer=wt,this._dropContainer.enter(this,Me,_e,wt===this._initialContainer&&wt.sortingDisabled?this._initialIndex:void 0),this.entered.next({item:this,container:wt,currentIndex:wt.getItemIndex(this)})}),this.isDragging()&&(this._dropContainer._startScrollingIfNecessary(ke,_t),this._dropContainer._sortItem(this,Me,_e,this._pointerDirectionDelta),this.constrainPosition?this._applyPreviewTransform(Me,_e):this._applyPreviewTransform(Me-this._pickupPositionInElement.x,_e-this._pickupPositionInElement.y))}_animatePreviewToPlaceholder(){if(!this._hasMoved)return Promise.resolve();const Me=this._placeholder.getBoundingClientRect();this._preview.addClass("cdk-drag-animating"),this._applyPreviewTransform(Me.left,Me.top);const _e=this._preview.getTransitionDuration();return 0===_e?Promise.resolve():this._ngZone.runOutsideAngular(()=>
3new Promise(ke=>{const _t=Tt=>{(!Tt||this._preview&&(0,O._)(Tt)===this._preview.element&&"transform"===Tt.propertyName)&&(Je(),ke(),clearTimeout(wt))},wt=setTimeout(_t,1.5*_e),Je=this._preview.addEventListener("transitionend",_t)}))}_createPlaceholderElement(){const Me=this._placeholderTemplate,_e=Me?Me.template:null;let ke;return _e?(this._placeholderRef=Me.viewContainer.createEmbeddedView(_e,Me.context),this._placeholderRef.detectChanges(),ke=ue(this._placeholderRef,this._document)):ke=H(this._rootElement),ke.style.pointerEvents="none",ke.classList.add(ce),ke}_getPointerPositionInElement(Me,_e,ke){const _t=_e===this._rootElement?null:_e,wt=_t?_t.getBoundingClientRect():Me,Je=Qe(ke)?ke.targetTouches[0]:ke,Tt=this._getViewportScrollPosition();return{x:wt.left-Me.left+(Je.pageX-wt.left-Tt.left),y:wt.top-Me.top+(Je.pageY-wt.top-Tt.top)}}_getPointerPositionOnPage(Me){const _e=this._getViewportScrollPosition(),ke=Qe(Me)?Me.touches[0]||Me.changedTouches[0]||{pageX:0,pageY:0}:Me,_t=ke.pageX-_e.left,wt=ke.pageY-_e.top;if(this._ownerSVGElement){const Je=this._ownerSVGElement.getScreenCTM();if(Je){const Tt=this._ownerSVGElement.createSVGPoint();return Tt.x=_t,Tt.y=wt,Tt.matrixTransform(Je.inverse())}}return{x:_t,y:wt}}_getConstrainedPointerPosition(Me){const _e=this._dropContainer?this._dropContainer.lockAxis:null;let{x:ke,y:_t}=this.constrainPosition?this.constrainPosition(Me,this,this._initialDomRect,this._pickupPositionInElement):Me;if("x"===this.lockAxis||"x"===_e?_t=this._pickupPositionOnPage.y-(this.constrainPosition?this._pickupPositionInElement.y:0):("y"===this.lockAxis||"y"===_e)&&(ke=this._pickupPositionOnPage.x-(this.constrainPosition?this._pickupPositionInElement.x:0)),this._boundaryRect){const{x:wt,y:Je}=this.constrainPosition?{x:0,y:0}:this._pickupPositionInElement,Tt=this._boundaryRect,{width:le,height:Ve}=this._getPreviewRect(),Te=Tt.top+Je,Ht=Tt.bottom-(Ve-Je);ke=st(ke,Tt.left+wt,Tt.right-(le-wt)),_t=st(_t,Te,Ht)}return{x:ke,y:_t}}_updatePointerDirectionDelta(Me){const{x:_e,y:ke}=Me,_t=this._pointerDirectionDelta,wt=this._pointerPositionAtLastDirectionChange,Je=Math.abs(_e-wt.x),Tt=Math.abs(ke-wt.y);return Je>this._config.pointerDirectionChangeThreshold&&(_t.x=_e>wt.x?1:-1,wt.x=_e),Tt>this._config.pointerDirectionChangeThreshold&&(_t.y=ke>wt.y?1:-1,wt.y=ke),_t}_toggleNativeDragInteractions(){if(!this._rootElement||!this._handles)return;const Me=this._handles.length>0||!this.isDragging();Me!==this._nativeInteractionsEnabled&&(this._nativeInteractionsEnabled=Me,de(this._rootElement,Me))}_removeRootElementListeners(){this._rootElementCleanups?.forEach(Me=>Me()),this._rootElementCleanups=void 0}_applyRootElementTransform(Me,_e){const ke=1/this.scale,_t=K(Me*ke,_e*ke),wt=this._rootElement.style;null==this._initialTransform&&(this._initialTransform=wt.transform&&"none"!=wt.transform?wt.transform:""),wt.transform=X(_t,this._initialTransform)}_applyPreviewTransform(Me,_e){const ke=this._previewTemplate?.template?void 0:this._initialTransform,_t=K(Me,_e);this._preview.setTransform(X(_t,ke))}_getDragDistance(Me){const _e=this._pickupPositionOnPage;return _e?{x:Me.x-_e.x,y:Me.y-_e.y}:{x:0,y:0}}_cleanupCachedDimensions(){this._boundaryRect=this._previewRect=void 0,this._parentPositions.clear()}_containInsideBoundaryOnResize(){let{x:Me,y:_e}=this._passiveTransform;if(0===Me&&0===_e||this.isDragging()||!this._boundaryElement)return;const ke=this._rootElement.getBoundingClientRect(),_t=this._boundaryElement.getBoundingClientRect();if(0===_t.width&&0===_t.height||0===ke.width&&0===ke.height)return;const wt=_t.left-ke.left,Je=ke.right-_t.right,Tt=_t.top-ke.top,le=ke.bottom-_t.bottom;_t.width>ke.width?(wt>0&&(Me+=wt),Je>0&&(Me-=Je)):Me=0,_t.height>ke.height?(Tt>0&&(_e+=Tt),le>0&&(_e-=le)):_e=0,(Me!==this._passiveTransform.x||_e!==this._passiveTransform.y)&&this.setFreeDragPosition({y:_e,x:Me})}_getDragStartDelay(Me){const _e=this.dragStartDelay;return"number"==typeof _e?_e:Qe(Me)?_e.touch:_e?_e.mouse:0}_updateOnScroll(Me){const _e=this._parentPositions.handleScroll(Me);if(_e){const ke=(0,O._)(Me);this._boundaryRect&&ke!==this._boundaryElement&&ke.contains(this._boundaryElement)&&et(this._boundaryRect,_e.top,_e.left),this._pickupPositionOnPage.x+=_e.left,this._pickupPositionOnPage.y+=_e.top,this._dropContainer||(this._activeTransform.x-=_e.left,this._activeTransform.y-=_e.top,this._applyRootElementTransform(this._activeTransform.x,this._activeTransform.y))}}_getViewportScrollPosition(){return this._parentPositions.positions.get(this._document)?.scrollPosition||this._parentPositions.getViewportScrollPosition()}_getShadowRoot(){return void 0===this._cachedShadowRoot&&(this._cachedShadowRoot=(0,O.a)(this._rootElement)),this._cachedShadowRoot}_getPreviewInsertionPoint(Me,_e){const ke=this._previewContainer||"global";if("parent"===ke)return Me;if("global"===ke){const _t=this._document;return _e||_t.fullscreenElement||_t.webkitFullscreenElement||_t.mozFullScreenElement||_t.msFullscreenElement||_t.body}return(0,L.a)(ke)}_getPreviewRect(){return(!this._previewRect||!this._previewRect.width&&!this._previewRect.height)&&(this._previewRect=this._preview?this._preview.getBoundingClientRect():this._initialDomRect),this._previewRect}_nativeDragStart=Me=>{if(this._handles.length){const _e=this._getTargetHandle(Me);_e&&!this._disabledHandles.has(_e)&&!this.disabled&&Me.preventDefault()}else this.disabled||Me.preventDefault()};_getTargetHandle(Me){return this._handles.find(_e=>Me.target&&(Me.target===_e||_e.contains(Me.target)))}_conditionallyInsertAnchor(Me,_e,ke){if(Me===this._initialContainer)this._anchor?.remove(),this._anchor=null;else if(_e===this._initialContainer&&_e.hasAnchor){const _t=this._anchor??=H(this._placeholder);_t.classList.remove(ce),_t.classList.add("cdk-drag-anchor"),_t.style.transform="",ke?ke.before(_t):(0,L.a)(_e.element).appendChild(_t)}}}function st(xt,Me,_e){return Math.max(Me,Math.min(_e,xt))}function Qe(xt){return"t"===xt.type[0]}function At(xt){xt.preventDefault()}function Ne(xt,Me,_e){const ke=Ct(Me,xt.length-1),_t=Ct(_e,xt.length-1);if(ke===_t)return;const wt=xt[ke],Je=_t<ke?-1:1;for(let Tt=ke;Tt!==_t;Tt+=Je)xt[Tt]=xt[Tt+Je];xt[_t]=wt}function Ct(xt,Me){return Math.max(0,Math.min(Me,xt))}class Wt{_dragDropRegistry;_element;_sortPredicate;_itemPositions=[];_activeDraggables;orientation="vertical";direction;constructor(Me){this._dragDropRegistry=Me}_previousSwap={drag:null,delta:0,overlaps:!1};start(Me){this.withItems(Me)}sort(Me,_e,ke,_t){const wt=this._itemPositions,Je=this._getItemIndexFromPointerPosition(Me,_e,ke,_t);if(-1===Je&&wt.length>0)return null;const Tt="horizontal"===this.orientation,le=wt.findIndex(Xt=>Xt.drag===Me),Ve=wt[Je],Ht=Ve.clientRect,Jt=le>Je?1:-1,ot=this._getItemOffsetPx(wt[le].clientRect,Ht,Jt),yt=this._getSiblingOffsetPx(le,wt,Jt),Ut=wt.slice();return Ne(wt,le,Je),wt.forEach((Xt,gn)=>{if(Ut[gn]===Xt)return;const kn=Xt.drag===Me,bn=kn?ot:yt,pi=kn?Me.getPlaceholderElement():Xt.drag.getRootElement();Xt.offset+=bn;const Mi=Math.round(Xt.offset*(1/Xt.drag.scale));Tt?(pi.style.transform=X(`translate3d(${Mi}px, 0, 0)`,Xt.initialTransform),et(Xt.clientRect,0,bn)):(pi.style.transform=X(`translate3d(0, ${Mi}px, 0)`,Xt.initialTransform),et(Xt.clientRect,bn,0))}),this._previousSwap.overlaps=at(Ht,_e,ke),this._previousSwap.drag=Ve.drag,this._previousSwap.delta=Tt?_t.x:_t.y,{previousIndex:le,currentIndex:Je}}enter(Me,_e,ke,_t){const wt=null==_t||_t<0?this._getItemIndexFromPointerPosition(Me,_e,ke):_t,Je=this._activeDraggables,Tt=Je.indexOf(Me),le=Me.getPlaceholderElement();let Ve=Je[wt];if(Ve===Me&&(Ve=Je[wt+1]),!Ve&&(null==wt||-1===wt||wt<Je.length-1)&&this._shouldEnterAsFirstChild(_e,ke)&&(Ve=Je[0]),Tt>-1&&Je.splice(Tt,1),Ve&&!this._dragDropRegistry.isDragging(Ve)){const Te=Ve.getRootElement();Te.parentElement.insertBefore(le,Te),Je.splice(wt,0,Me)}else this._element.appendChild(le),Je.push(Me);le.style.transform="",this._cacheItemPositions()}withItems(Me){this._activeDraggables=Me.slice(),this._cacheItemPositions()}
3withSortPredicate(Me){this._sortPredicate=Me}reset(){this._activeDraggables?.forEach(Me=>{const _e=Me.getRootElement();if(_e){const ke=this._itemPositions.find(_t=>_t.drag===Me)?.initialTransform;_e.style.transform=ke||""}}),this._itemPositions=[],this._activeDraggables=[],this._previousSwap.drag=null,this._previousSwap.delta=0,this._previousSwap.overlaps=!1}getActiveItemsSnapshot(){return this._activeDraggables}getItemIndex(Me){return this._getVisualItemPositions().findIndex(_e=>_e.drag===Me)}getItemAtIndex(Me){return this._getVisualItemPositions()[Me]?.drag||null}updateOnScroll(Me,_e){this._itemPositions.forEach(({clientRect:ke})=>{et(ke,Me,_e)}),this._itemPositions.forEach(({drag:ke})=>{this._dragDropRegistry.isDragging(ke)&&ke._sortFromLastPointerPosition()})}withElementContainer(Me){this._element=Me}_cacheItemPositions(){const Me="horizontal"===this.orientation;this._itemPositions=this._activeDraggables.map(_e=>{const ke=_e.getVisibleElement();return{drag:_e,offset:0,initialTransform:ke.style.transform||"",clientRect:we(ke)}}).sort((_e,ke)=>Me?_e.clientRect.left-ke.clientRect.left:_e.clientRect.top-ke.clientRect.top)}_getVisualItemPositions(){return"horizontal"===this.orientation&&"rtl"===this.direction?this._itemPositions.slice().reverse():this._itemPositions}_getItemOffsetPx(Me,_e,ke){const _t="horizontal"===this.orientation;let wt=_t?_e.left-Me.left:_e.top-Me.top;return-1===ke&&(wt+=_t?_e.width-Me.width:_e.height-Me.height),wt}_getSiblingOffsetPx(Me,_e,ke){const _t="horizontal"===this.orientation,wt=_e[Me].clientRect,Je=_e[Me+-1*ke];let Tt=wt[_t?"width":"height"]*ke;if(Je){const le=_t?"left":"top",Ve=_t?"right":"bottom";-1===ke?Tt-=Je.clientRect[le]-wt[Ve]:Tt+=wt[le]-Je.clientRect[Ve]}return Tt}_shouldEnterAsFirstChild(Me,_e){if(!this._activeDraggables.length)return!1;const ke=this._itemPositions,_t="horizontal"===this.orientation;if(ke[0].drag!==this._activeDraggables[0]){const Je=ke[ke.length-1].clientRect;return _t?Me>=Je.right:_e>=Je.bottom}{const Je=ke[0].clientRect;return _t?Me<=Je.left:_e<=Je.top}}_getItemIndexFromPointerPosition(Me,_e,ke,_t){const wt="horizontal"===this.orientation,Je=this._itemPositions.findIndex(({drag:Tt,clientRect:le})=>Tt!==Me&&((!_t||Tt!==this._previousSwap.drag||!this._previousSwap.overlaps||(wt?_t.x:_t.y)!==this._previousSwap.delta)&&(wt?_e>=Math.floor(le.left)&&_e<Math.floor(le.right):ke>=Math.floor(le.top)&&ke<Math.floor(le.bottom))));return-1!==Je&&this._sortPredicate(Je,Me)?Je:-1}}class ln{_document;_dragDropRegistry;_element;_sortPredicate;_rootNode;_activeItems;_previousSwap={drag:null,deltaX:0,deltaY:0,overlaps:!1};_relatedNodes=[];constructor(Me,_e){this._document=Me,this._dragDropRegistry=_e}start(Me){const _e=this._element.childNodes;this._relatedNodes=[];for(let ke=0;ke<_e.length;ke++){const _t=_e[ke];this._relatedNodes.push([_t,_t.nextSibling])}this.withItems(Me)}sort(Me,_e,ke,_t){const wt=this._getItemIndexFromPointerPosition(Me,_e,ke),Je=this._previousSwap;if(-1===wt||this._activeItems[wt]===Me)return null;const Tt=this._activeItems[wt];if(Je.drag===Tt&&Je.overlaps&&Je.deltaX===_t.x&&Je.deltaY===_t.y)return null;const le=this.getItemIndex(Me),Ve=Me.getPlaceholderElement(),Te=Tt.getRootElement();wt>le?Te.after(Ve):Te.before(Ve),Ne(this._activeItems,le,wt);const Ht=this._getRootNode().elementFromPoint(_e,ke);return Je.deltaX=_t.x,Je.deltaY=_t.y,Je.drag=Tt,Je.overlaps=Te===Ht||Te.contains(Ht),{previousIndex:le,currentIndex:wt}}enter(Me,_e,ke,_t){const wt=this._activeItems.indexOf(Me);wt>-1&&this._activeItems.splice(wt,1);let Je=null==_t||_t<0?this._getItemIndexFromPointerPosition(Me,_e,ke):_t;-1===Je&&(Je=this._getClosestItemIndexToPointer(Me,_e,ke));const Tt=this._activeItems[Je];Tt&&!this._dragDropRegistry.isDragging(Tt)?(this._activeItems.splice(Je,0,Me),Tt.getRootElement().before(Me.getPlaceholderElement())):(this._activeItems.push(Me),this._element.appendChild(Me.getPlaceholderElement()))}withItems(Me){this._activeItems=Me.slice()}withSortPredicate(Me){this._sortPredicate=Me}reset(){const Me=this._element,_e=this._previousSwap;for(let ke=this._relatedNodes.length-1;ke>-1;ke--){const[_t,wt]=this._relatedNodes[ke];_t.parentNode===Me&&_t.nextSibling!==wt&&(null===wt?Me.appendChild(_t):wt.parentNode===Me&&Me.insertBefore(_t,wt))}this._relatedNodes=[],this._activeItems=[],_e.drag=null,_e.deltaX=_e.deltaY=0,_e.overlaps=!1}getActiveItemsSnapshot(){return this._activeItems}getItemIndex(Me){return this._activeItems.indexOf(Me)}getItemAtIndex(Me){return this._activeItems[Me]||null}
3updateOnScroll(){this._activeItems.forEach(Me=>{this._dragDropRegistry.isDragging(Me)&&Me._sortFromLastPointerPosition()})}withElementContainer(Me){Me!==this._element&&(this._element=Me,this._rootNode=void 0)}_getItemIndexFromPointerPosition(Me,_e,ke){const _t=this._getRootNode().elementFromPoint(Math.floor(_e),Math.floor(ke)),wt=_t?this._activeItems.findIndex(Je=>{const Tt=Je.getRootElement();return _t===Tt||Tt.contains(_t)}):-1;return-1!==wt&&this._sortPredicate(wt,Me)?wt:-1}_getRootNode(){return this._rootNode||(this._rootNode=(0,O.a)(this._element)||this._document),this._rootNode}_getClosestItemIndexToPointer(Me,_e,ke){if(0===this._activeItems.length)return-1;if(1===this._activeItems.length)return 0;let _t=1/0,wt=-1;for(let Je=0;Je<this._activeItems.length;Je++){const Tt=this._activeItems[Je];if(Tt!==Me){const{x:le,y:Ve}=Tt.getRootElement().getBoundingClientRect(),Te=Math.hypot(_e-le,ke-Ve);Te<_t&&(_t=Te,wt=Je)}}return wt}}var Gn=function(xt){return xt[xt.NONE=0]="NONE",xt[xt.UP=1]="UP",xt[xt.DOWN=2]="DOWN",xt}(Gn||{}),Yn=function(xt){return xt[xt.NONE=0]="NONE",xt[xt.LEFT=1]="LEFT",xt[xt.RIGHT=2]="RIGHT",xt}(Yn||{});class ui{_dragDropRegistry;_ngZone;_viewportRuler;element;disabled=!1;sortingDisabled=!1;lockAxis;autoScrollDisabled=!1;autoScrollStep=2;hasAnchor=!1;enterPredicate=()=>!0;sortPredicate=()=>!0;beforeStarted=new M.B;entered=new M.B;exited=new M.B;dropped=new M.B;sorted=new M.B;receivingStarted=new M.B;receivingStopped=new M.B;data;_container;_isDragging=!1;_parentPositions;_sortStrategy;_domRect;_draggables=[];_siblings=[];_activeSiblings=new Set;_viewportScrollSubscription=v.yU.EMPTY;_verticalScrollDirection=Gn.NONE;_horizontalScrollDirection=Yn.NONE;_scrollNode;_stopScrollTimers=new M.B;_cachedShadowRoot=null;_document;_scrollableElements=[];_initialScrollSnap;_direction="ltr";constructor(Me,_e,ke,_t,wt){this._dragDropRegistry=_e,this._ngZone=_t,this._viewportRuler=wt;const Je=this.element=(0,L.a)(Me);this._document=ke,this.withOrientation("vertical").withElementContainer(Je),_e.registerDropContainer(this),this._parentPositions=new De(ke)}dispose(){this._stopScrolling(),this._stopScrollTimers.complete(),this._viewportScrollSubscription.unsubscribe(),this.beforeStarted.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this.sorted.complete(),this.receivingStarted.complete(),this.receivingStopped.complete(),this._activeSiblings.clear(),this._scrollNode=null,this._parentPositions.clear(),this._dragDropRegistry.removeDropContainer(this)}isDragging(){return this._isDragging}start(){this._draggingStarted(),this._notifyReceivingSiblings()}enter(Me,_e,ke,_t){this._draggingStarted(),null==_t&&this.sortingDisabled&&(_t=this._draggables.indexOf(Me)),this._sortStrategy.enter(Me,_e,ke,_t),this._cacheParentPositions(),this._notifyReceivingSiblings(),this.entered.next({item:Me,container:this,currentIndex:this.getItemIndex(Me)})}exit(Me){this._reset(),this.exited.next({item:Me,container:this})}drop(Me,_e,ke,_t,wt,Je,Tt,le={}){this._reset(),this.dropped.next({item:Me,currentIndex:_e,previousIndex:ke,container:this,previousContainer:_t,isPointerOverContainer:wt,distance:Je,dropPoint:Tt,event:le})}withItems(Me){const _e=this._draggables;return this._draggables=Me,Me.forEach(ke=>ke._withDropContainer(this)),this.isDragging()&&(_e.filter(_t=>_t.isDragging()).every(_t=>-1===Me.indexOf(_t))?this._reset():this._sortStrategy.withItems(this._draggables)),this}withDirection(Me){return this._direction=Me,this._sortStrategy instanceof Wt&&(this._sortStrategy.direction=Me),this}connectedTo(Me){return this._siblings=Me.slice(),this}withOrientation(Me){if("mixed"===Me)this._sortStrategy=new ln(this._document,this._dragDropRegistry);else{const _e=new Wt(this._dragDropRegistry);_e.direction=this._direction,_e.orientation=Me,this._sortStrategy=_e}return this._sortStrategy.withElementContainer(this._container),this._sortStrategy.withSortPredicate((_e,ke)=>this.sortPredicate(_e,ke,this)),this}withScrollableParents(Me){const _e=this._container;return this._scrollableElements=-1===Me.indexOf(_e)?[_e,...Me]:Me.slice(),this}withElementContainer(Me){if(Me===this._container)return this;(0,L.a)(this.element);const ke=this._scrollableElements.indexOf(this._container),_t=this._scrollableElements.indexOf(Me);return ke>-1&&this._scrollableElements.splice(ke,1),_t>-1&&this._scrollableElements.splice(_t,1),this._sortStrategy&&this._sortStrategy.withElementContainer(Me),this._cachedShadowRoot=null,this._scrollableElements.unshift(Me),this._container=Me,this}getScrollableParents(){return this._scrollableElements}getItemIndex(Me){return this._isDragging?this._sortStrategy.getItemIndex(Me):this._draggables.indexOf(Me)}getItemAtIndex(Me){return this._isDragging?this._sortStrategy.getItemAtIndex(Me):this._draggables[Me]||null}isReceiving(){return this._activeSiblings.size>0}_sortItem(Me,_e,ke,_t){if(this.sortingDisabled||!this._domRect||!xe(this._domRect,.05,_e,ke))return;const wt=this._sortStrategy.sort(Me,_e,ke,_t);wt&&this.sorted.next({previousIndex:wt.previousIndex,currentIndex:wt.currentIndex,container:this,item:Me})}_startScrollingIfNecessary(Me,_e){if(this.autoScrollDisabled)return;let ke,_t=Gn.NONE,wt=Yn.NONE;if(this._parentPositions.positions.forEach((Je,Tt)=>{Tt===this._document||!Je.clientRect||ke||xe(Je.clientRect,.05,Me,_e)&&([_t,wt]=function it(xt,Me,_e,ke,_t){const wt=ti(Me,_t),Je=$t(Me,ke);let Tt=Gn.NONE,le=Yn.NONE;if(wt){const Ve=xt.scrollTop;wt===Gn.UP?Ve>
30&&(Tt=Gn.UP):xt.scrollHeight-Ve>xt.clientHeight&&(Tt=Gn.DOWN)}if(Je){const Ve=xt.scrollLeft;"rtl"===_e?Je===Yn.RIGHT?Ve<0&&(le=Yn.RIGHT):xt.scrollWidth+Ve>xt.clientWidth&&(le=Yn.LEFT):Je===Yn.LEFT?Ve>0&&(le=Yn.LEFT):xt.scrollWidth-Ve>xt.clientWidth&&(le=Yn.RIGHT)}return[Tt,le]}(Tt,Je.clientRect,this._direction,Me,_e),(_t||wt)&&(ke=Tt))}),!_t&&!wt){const{width:Je,height:Tt}=this._viewportRuler.getViewportSize(),le={width:Je,height:Tt,top:0,right:Je,bottom:Tt,left:0};_t=ti(le,_e),wt=$t(le,Me),ke=window}ke&&(_t!==this._verticalScrollDirection||wt!==this._horizontalScrollDirection||ke!==this._scrollNode)&&(this._verticalScrollDirection=_t,this._horizontalScrollDirection=wt,this._scrollNode=ke,(_t||wt)&&ke?this._ngZone.runOutsideAngular(this._startScrollInterval):this._stopScrolling())}_stopScrolling(){this._stopScrollTimers.next()}_draggingStarted(){const Me=this._container.style;this.beforeStarted.next(),this._isDragging=!0,this._initialScrollSnap=Me.msScrollSnapType||Me.scrollSnapType||"",Me.scrollSnapType=Me.msScrollSnapType="none",this._sortStrategy.start(this._draggables),this._cacheParentPositions(),this._viewportScrollSubscription.unsubscribe(),this._listenToScrollEvents()}_cacheParentPositions(){this._parentPositions.cache(this._scrollableElements),this._domRect=this._parentPositions.positions.get(this._container).clientRect}_reset(){this._isDragging=!1;const Me=this._container.style;Me.scrollSnapType=Me.msScrollSnapType=this._initialScrollSnap,this._siblings.forEach(_e=>_e._stopReceiving(this)),this._sortStrategy.reset(),this._stopScrolling(),this._viewportScrollSubscription.unsubscribe(),this._parentPositions.clear()}_startScrollInterval=()=>{this._stopScrolling(),function h(xt=0,Me=r.E){return xt<0&&(xt=0),(0,_.O)(xt,xt,Me)}(0,C.X).pipe((0,E.Q)(this._stopScrollTimers)).subscribe(()=>{const Me=this._scrollNode,_e=this.autoScrollStep;this._verticalScrollDirection===Gn.UP?Me.scrollBy(0,-_e):this._verticalScrollDirection===Gn.DOWN&&Me.scrollBy(0,_e),this._horizontalScrollDirection===Yn.LEFT?Me.scrollBy(-_e,0):this._horizontalScrollDirection===Yn.RIGHT&&Me.scrollBy(_e,0)})};_isOverContainer(Me,_e){return null!=this._domRect&&at(this._domRect,Me,_e)}_getSiblingContainerFromPosition(Me,_e,ke){return this._siblings.find(_t=>_t._canReceive(Me,_e,ke))}_canReceive(Me,_e,ke){if(!this._domRect||!at(this._domRect,_e,ke)||!this.enterPredicate(Me,this))return!1;const _t=this._getShadowRoot().elementFromPoint(_e,ke);return!!_t&&(_t===this._container||this._container.contains(_t))}_startReceiving(Me,_e){const ke=this._activeSiblings;!ke.has(Me)&&_e.every(_t=>this.enterPredicate(_t,this)||this._draggables.indexOf(_t)>-1)&&(ke.add(Me),this._cacheParentPositions(),this._listenToScrollEvents(),this.receivingStarted.next({initiator:Me,receiver:this,items:_e}))}_stopReceiving(Me){this._activeSiblings.delete(Me),this._viewportScrollSubscription.unsubscribe(),this.receivingStopped.next({initiator:Me,receiver:this})}_listenToScrollEvents(){this._viewportScrollSubscription=this._dragDropRegistry.scrolled(this._getShadowRoot()).subscribe(Me=>{if(this.isDragging()){const _e=this._parentPositions.handleScroll(Me);_e&&this._sortStrategy.updateOnScroll(_e.top,_e.left)}else this.isReceiving()&&this._cacheParentPositions()})}_getShadowRoot(){if(!this._cachedShadowRoot){const Me=(0,O.a)(this._container);this._cachedShadowRoot=Me||this._document}return this._cachedShadowRoot}_notifyReceivingSiblings(){const Me=this._sortStrategy.getActiveItemsSnapshot().filter(_e=>_e.isDragging());this._siblings.forEach(_e=>_e._startReceiving(this,Me))}}function ti(xt,Me){const{top:_e,bottom:ke,height:_t}=xt,wt=.05*_t;return Me>=_e-wt&&Me<=_e+wt?Gn.UP:Me>=ke-wt&&Me<=ke+wt?Gn.DOWN:Gn.NONE}function $t(xt,Me){const{left:_e,right:ke,width:_t}=xt,wt=.05*_t;return Me>=_e-wt&&Me<=_e+wt?Yn.LEFT:Me>=ke-wt&&Me<=ke+wt?Yn.RIGHT:Yn.NONE}const mt={capture:!0},Ze={passive:!1,capture:!0};let Nt=(()=>{class xt{static \u0275fac=function(ke){return new(ke||xt)};static \u0275cmp=a.VBU({type:xt,selectors:[["ng-component"]],hostAttrs:["cdk-drag-resets-container",""],decls:0,vars:0,template:function(ke,_t){},styles:["@layer cdk-resets{.cdk-drag-preview{background:none;border:none;padding:0;color:inherit;inset:auto}}.cdk-drag-placeholder *,.cdk-drag-preview *{pointer-events:none !important}\n"],encapsulation:2,changeDetection:0})}return xt})(),vt=(()=>{class xt{_ngZone=(0,t.WQX)(a.SKi);_document=(0,t.WQX)(t.qQL);_styleLoader=(0,t.WQX)(I._);_renderer=(0,t.WQX)(a._9s).createRenderer(null,null);_cleanupDocumentTouchmove;
3_scroll=new M.B;_dropInstances=new Set;_dragInstances=new Set;_activeDragInstances=(0,t.vPA)([]);_globalListeners;_draggingPredicate=_e=>_e.isDragging();_domNodesToDirectives=null;pointerMove=new M.B;pointerUp=new M.B;constructor(){}registerDropContainer(_e){this._dropInstances.has(_e)||this._dropInstances.add(_e)}registerDragItem(_e){this._dragInstances.add(_e),1===this._dragInstances.size&&this._ngZone.runOutsideAngular(()=>{this._cleanupDocumentTouchmove?.(),this._cleanupDocumentTouchmove=this._renderer.listen(this._document,"touchmove",this._persistentTouchmoveListener,Ze)})}removeDropContainer(_e){this._dropInstances.delete(_e)}removeDragItem(_e){this._dragInstances.delete(_e),this.stopDragging(_e),0===this._dragInstances.size&&this._cleanupDocumentTouchmove?.()}startDragging(_e,ke){if(!(this._activeDragInstances().indexOf(_e)>-1)&&(this._styleLoader.load(Nt),this._activeDragInstances.update(_t=>[..._t,_e]),1===this._activeDragInstances().length)){const _t=ke.type.startsWith("touch"),wt=Tt=>this.pointerUp.next(Tt),Je=[["scroll",Tt=>this._scroll.next(Tt),mt],["selectstart",this._preventDefaultWhileDragging,Ze]];_t?Je.push(["touchend",wt,mt],["touchcancel",wt,mt]):Je.push(["mouseup",wt,mt]),_t||Je.push(["mousemove",Tt=>this.pointerMove.next(Tt),Ze]),this._ngZone.runOutsideAngular(()=>{this._globalListeners=Je.map(([Tt,le,Ve])=>this._renderer.listen(this._document,Tt,le,Ve))})}}stopDragging(_e){this._activeDragInstances.update(ke=>{const _t=ke.indexOf(_e);return _t>-1?(ke.splice(_t,1),[...ke]):ke}),0===this._activeDragInstances().length&&this._clearGlobalListeners()}isDragging(_e){return this._activeDragInstances().indexOf(_e)>-1}scrolled(_e){const ke=[this._scroll];return _e&&_e!==this._document&&ke.push(new b.c(_t=>this._ngZone.runOutsideAngular(()=>{const wt=this._renderer.listen(_e,"scroll",Je=>{this._activeDragInstances().length&&_t.next(Je)},mt);return()=>{wt()}}))),(0,D.h)(...ke)}registerDirectiveNode(_e,ke){this._domNodesToDirectives??=new WeakMap,this._domNodesToDirectives.set(_e,ke)}removeDirectiveNode(_e){this._domNodesToDirectives?.delete(_e)}getDragDirectiveForNode(_e){return this._domNodesToDirectives?.get(_e)||null}ngOnDestroy(){this._dragInstances.forEach(_e=>this.removeDragItem(_e)),this._dropInstances.forEach(_e=>this.removeDropContainer(_e)),this._domNodesToDirectives=null,this._clearGlobalListeners(),this.pointerMove.complete(),this.pointerUp.complete()}_preventDefaultWhileDragging=_e=>{this._activeDragInstances().length>0&&_e.preventDefault()};_persistentTouchmoveListener=_e=>{this._activeDragInstances().length>0&&(this._activeDragInstances().some(this._draggingPredicate)&&_e.preventDefault(),this.pointerMove.next(_e))};_clearGlobalListeners(){this._globalListeners?.forEach(_e=>_e()),this._globalListeners=void 0}static \u0275fac=function(ke){return new(ke||xt)};static \u0275prov=t.jDH({token:xt,factory:xt.\u0275fac,providedIn:"root"})}return xt})();const $e={dragStartThreshold:5,pointerDirectionChangeThreshold:5};let ht=(()=>{class xt{_document=(0,t.WQX)(t.qQL);_ngZone=(0,t.WQX)(a.SKi);_viewportRuler=(0,t.WQX)(w.Xj);_dragDropRegistry=(0,t.WQX)(vt);_renderer=(0,t.WQX)(a._9s).createRenderer(null,null);constructor(){}createDrag(_e,ke=$e){return new pe(_e,ke,this._document,this._ngZone,this._viewportRuler,this._dragDropRegistry,this._renderer)}createDropList(_e){return new ui(_e,this._dragDropRegistry,this._document,this._ngZone,this._viewportRuler)}static \u0275fac=function(ke){return new(ke||xt)};static \u0275prov=t.jDH({token:xt,factory:xt.\u0275fac,providedIn:"root"})}return xt})();const Ae=new t.nKC("CDK_DRAG_PARENT"),Mt=new t.nKC("CdkDragHandle");let on=(()=>{class xt{element=(0,t.WQX)(a.aKT);_parentDrag=(0,t.WQX)(Ae,{optional:!0,skipSelf:!0});_dragDropRegistry=(0,t.WQX)(vt);_stateChanges=new M.B;get disabled(){return this._disabled}set disabled(_e){this._disabled=_e,this._stateChanges.next(this)}_disabled=!1;constructor(){this._parentDrag?._addHandle(this)}ngAfterViewInit(){if(!this._parentDrag){let _e=this.element.nativeElement.parentElement;for(;_e;){const ke=this._dragDropRegistry.getDragDirectiveForNode(_e);if(ke){this._parentDrag=ke,ke._addHandle(this);break}_e=_e.parentElement}}}ngOnDestroy(){this._parentDrag?._removeHandle(this),this._stateChanges.complete()}static \u0275fac=function(ke){return new(ke||xt)};static \u0275dir=a.FsC({type:xt,selectors:[["","cdkDragHandle",""]],hostAttrs:[1,"cdk-drag-handle"],inputs:{disabled:[2,"cdkDragHandleDisabled","disabled",u.L39]},features:[a.Jv_([{provide:Mt,useExisting:xt}])]})}return xt})();const Gt=new t.nKC("CDK_DRAG_CONFIG"),hn=new t.nKC("CdkDropList");let Cn=(()=>{class xt{element=(0,t.WQX)(a.aKT);dropContainer=(0,t.WQX)(hn,{optional:!0,skipSelf:!0});_ngZone=(0,t.WQX)(a.SKi);
3_viewContainerRef=(0,t.WQX)(a.c1b);_dir=(0,t.WQX)(Z.D,{optional:!0});_changeDetectorRef=(0,t.WQX)(u.gRc);_selfHandle=(0,t.WQX)(Mt,{optional:!0,self:!0});_parentDrag=(0,t.WQX)(Ae,{optional:!0,skipSelf:!0});_dragDropRegistry=(0,t.WQX)(vt);_destroyed=new M.B;_handles=new f.t([]);_previewTemplate;_placeholderTemplate;_dragRef;data;lockAxis;rootElementSelector;boundaryElement;dragStartDelay;freeDragPosition;get disabled(){return this._disabled||!(!this.dropContainer||!this.dropContainer.disabled)}set disabled(_e){this._disabled=_e,this._dragRef.disabled=this._disabled}_disabled;constrainPosition;previewClass;previewContainer;scale=1;started=new a.bkB;released=new a.bkB;ended=new a.bkB;entered=new a.bkB;exited=new a.bkB;dropped=new a.bkB;moved=new b.c(_e=>{const ke=this._dragRef.moved.pipe((0,se.T)(_t=>({source:this,pointerPosition:_t.pointerPosition,event:_t.event,delta:_t.delta,distance:_t.distance}))).subscribe(_e);return()=>{ke.unsubscribe()}});_injector=(0,t.WQX)(t.zZn);constructor(){const _e=this.dropContainer,ke=(0,t.WQX)(Gt,{optional:!0}),_t=(0,t.WQX)(ht);this._dragRef=_t.createDrag(this.element,{dragStartThreshold:ke&&null!=ke.dragStartThreshold?ke.dragStartThreshold:5,pointerDirectionChangeThreshold:ke&&null!=ke.pointerDirectionChangeThreshold?ke.pointerDirectionChangeThreshold:5,zIndex:ke?.zIndex}),this._dragRef.data=this,this._dragDropRegistry.registerDirectiveNode(this.element.nativeElement,this),ke&&this._assignDefaults(ke),_e&&(_e.addItem(this),_e._dropListRef.beforeStarted.pipe((0,E.Q)(this._destroyed)).subscribe(()=>{this._dragRef.scale=this.scale})),this._syncInputs(this._dragRef),this._handleEvents(this._dragRef)}getPlaceholderElement(){return this._dragRef.getPlaceholderElement()}getRootElement(){return this._dragRef.getRootElement()}reset(){this._dragRef.reset()}resetToBoundary(){this._dragRef.resetToBoundary()}getFreeDragPosition(){return this._dragRef.getFreeDragPosition()}setFreeDragPosition(_e){this._dragRef.setFreeDragPosition(_e)}ngAfterViewInit(){(0,a.mal)(()=>{this._updateRootElement(),this._setupHandlesListener(),this._dragRef.scale=this.scale,this.freeDragPosition&&this._dragRef.setFreeDragPosition(this.freeDragPosition)},{injector:this._injector})}ngOnChanges(_e){const ke=_e.rootElementSelector,_t=_e.freeDragPosition;ke&&!ke.firstChange&&this._updateRootElement(),this._dragRef.scale=this.scale,_t&&!_t.firstChange&&this.freeDragPosition&&this._dragRef.setFreeDragPosition(this.freeDragPosition)}ngOnDestroy(){this.dropContainer&&this.dropContainer.removeItem(this),this._dragDropRegistry.removeDirectiveNode(this.element.nativeElement),this._ngZone.runOutsideAngular(()=>{this._handles.complete(),this._destroyed.next(),this._destroyed.complete(),this._dragRef.dispose()})}_addHandle(_e){const ke=this._handles.getValue();ke.push(_e),this._handles.next(ke)}_removeHandle(_e){const ke=this._handles.getValue(),_t=ke.indexOf(_e);_t>-1&&(ke.splice(_t,1),this._handles.next(ke))}_setPreviewTemplate(_e){this._previewTemplate=_e}_resetPreviewTemplate(_e){_e===this._previewTemplate&&(this._previewTemplate=null)}_setPlaceholderTemplate(_e){this._placeholderTemplate=_e}_resetPlaceholderTemplate(_e){_e===this._placeholderTemplate&&(this._placeholderTemplate=null)}_updateRootElement(){const _e=this.element.nativeElement;let ke=_e;this.rootElementSelector&&(ke=void 0!==_e.closest?_e.closest(this.rootElementSelector):_e.parentElement?.closest(this.rootElementSelector)),this._dragRef.withRootElement(ke||_e)}_getBoundaryElement(){const _e=this.boundaryElement;return _e?"string"==typeof _e?this.element.nativeElement.closest(_e):(0,L.a)(_e):null}_syncInputs(_e){_e.beforeStarted.subscribe(()=>{if(!_e.isDragging()){const ke=this._dir,_t=this.dragStartDelay,wt=this._placeholderTemplate?{template:this._placeholderTemplate.templateRef,context:this._placeholderTemplate.data,viewContainer:this._viewContainerRef}:null,Je=this._previewTemplate?{template:this._previewTemplate.templateRef,context:this._previewTemplate.data,matchSize:this._previewTemplate.matchSize,viewContainer:this._viewContainerRef}:null;_e.disabled=this.disabled,_e.lockAxis=this.lockAxis,_e.scale=this.scale,_e.dragStartDelay="object"==typeof _t&&_t?_t:(0,L.c)(_t),_e.constrainPosition=this.constrainPosition,_e.previewClass=this.previewClass,_e.withBoundaryElement(this._getBoundaryElement()).withPlaceholderTemplate(wt).withPreviewTemplate(Je).withPreviewContainer(this.previewContainer||"global"),ke&&_e.
3withDirection(ke.value)}}),_e.beforeStarted.pipe((0,Y.s)(1)).subscribe(()=>{if(this._parentDrag)return void _e.withParent(this._parentDrag._dragRef);let ke=this.element.nativeElement.parentElement;for(;ke;){const _t=this._dragDropRegistry.getDragDirectiveForNode(ke);if(_t){_e.withParent(_t._dragRef);break}ke=ke.parentElement}})}_handleEvents(_e){_e.started.subscribe(ke=>{this.started.emit({source:this,event:ke.event}),this._changeDetectorRef.markForCheck()}),_e.released.subscribe(ke=>{this.released.emit({source:this,event:ke.event})}),_e.ended.subscribe(ke=>{this.ended.emit({source:this,distance:ke.distance,dropPoint:ke.dropPoint,event:ke.event}),this._changeDetectorRef.markForCheck()}),_e.entered.subscribe(ke=>{this.entered.emit({container:ke.container.data,item:this,currentIndex:ke.currentIndex})}),_e.exited.subscribe(ke=>{this.exited.emit({container:ke.container.data,item:this})}),_e.dropped.subscribe(ke=>{this.dropped.emit({previousIndex:ke.previousIndex,currentIndex:ke.currentIndex,previousContainer:ke.previousContainer.data,container:ke.container.data,isPointerOverContainer:ke.isPointerOverContainer,item:this,distance:ke.distance,dropPoint:ke.dropPoint,event:ke.event})})}_assignDefaults(_e){const{lockAxis:ke,dragStartDelay:_t,constrainPosition:wt,previewClass:Je,boundaryElement:Tt,draggingDisabled:le,rootElementSelector:Ve,previewContainer:Te}=_e;this.disabled=le??!1,this.dragStartDelay=_t||0,ke&&(this.lockAxis=ke),wt&&(this.constrainPosition=wt),Je&&(this.previewClass=Je),Tt&&(this.boundaryElement=Tt),Ve&&(this.rootElementSelector=Ve),Te&&(this.previewContainer=Te)}_setupHandlesListener(){this._handles.pipe((0,ne.M)(_e=>{const ke=_e.map(_t=>_t.element);this._selfHandle&&this.rootElementSelector&&ke.push(this.element),this._dragRef.withHandles(ke)}),(0,U.n)(_e=>(0,D.h)(..._e.map(ke=>ke._stateChanges.pipe((0,T.Z)(ke))))),(0,E.Q)(this._destroyed)).subscribe(_e=>{const ke=this._dragRef,_t=_e.element.nativeElement;_e.disabled?ke.disableHandle(_t):ke.enableHandle(_t)})}static \u0275fac=function(ke){return new(ke||xt)};static \u0275dir=a.FsC({type:xt,selectors:[["","cdkDrag",""]],hostAttrs:[1,"cdk-drag"],hostVars:4,hostBindings:function(ke,_t){2&ke&&a.AVh("cdk-drag-disabled",_t.disabled)("cdk-drag-dragging",_t._dragRef.isDragging())},inputs:{data:[0,"cdkDragData","data"],lockAxis:[0,"cdkDragLockAxis","lockAxis"],rootElementSelector:[0,"cdkDragRootElement","rootElementSelector"],boundaryElement:[0,"cdkDragBoundary","boundaryElement"],dragStartDelay:[0,"cdkDragStartDelay","dragStartDelay"],freeDragPosition:[0,"cdkDragFreeDragPosition","freeDragPosition"],disabled:[2,"cdkDragDisabled","disabled",u.L39],constrainPosition:[0,"cdkDragConstrainPosition","constrainPosition"],previewClass:[0,"cdkDragPreviewClass","previewClass"],previewContainer:[0,"cdkDragPreviewContainer","previewContainer"],scale:[2,"cdkDragScale","scale",u.Udg]},outputs:{started:"cdkDragStarted",released:"cdkDragReleased",ended:"cdkDragEnded",entered:"cdkDragEntered",exited:"cdkDragExited",dropped:"cdkDragDropped",moved:"cdkDragMoved"},exportAs:["cdkDrag"],features:[a.Jv_([{provide:Ae,useExisting:xt}]),a.OA$]})}return xt})();const Sn=new t.nKC("CdkDropListGroup");let wi=(()=>{class xt{element=(0,t.WQX)(a.aKT);_changeDetectorRef=(0,t.WQX)(u.gRc);_scrollDispatcher=(0,t.WQX)(w.R);_dir=(0,t.WQX)(Z.D,{optional:!0});_group=(0,t.WQX)(Sn,{optional:!0,skipSelf:!0});_latestSortedRefs;_destroyed=new M.B;_scrollableParentsResolved;static _dropLists=[];_dropListRef;connectedTo=[];data;orientation;id=(0,t.WQX)(N._).getId("cdk-drop-list-");lockAxis;get disabled(){return this._disabled||!!this._group&&this._group.disabled}set disabled(_e){this._dropListRef.disabled=this._disabled=_e}_disabled;sortingDisabled;enterPredicate=()=>!0;sortPredicate=()=>!0;autoScrollDisabled;autoScrollStep;elementContainerSelector;hasAnchor;dropped=new a.bkB;entered=new a.bkB;exited=new a.bkB;sorted=new a.bkB;_unsortedItems=new Set;constructor(){const _e=(0,t.WQX)(ht),ke=(0,t.WQX)(Gt,{optional:!0});this._dropListRef=_e.createDropList(this.element),this._dropListRef.data=this,ke&&this._assignDefaults(ke),this._dropListRef.enterPredicate=(_t,wt)=>this.enterPredicate(_t.data,wt.data),this._dropListRef.sortPredicate=(_t,wt,Je)=>this.sortPredicate(_t,wt.data,Je.data),this._setupInputSyncSubscription(this._dropListRef),this._handleEvents(this._dropListRef),xt._dropLists.push(this),this._group&&this._group._items.add(this)}addItem(_e){this._unsortedItems.add(_e),_e._dragRef._withDropContainer(this._dropListRef),this._dropListRef.isDragging()&&this._syncItemsWithRef(this.getSortedItems().map(ke=>ke._dragRef))}removeItem(_e){if(this._unsortedItems.delete(_e),this._latestSortedRefs){const ke=this._latestSortedRefs.indexOf(_e._dragRef);ke>-1&&(this._latestSortedRefs.splice(ke,1),this._syncItemsWithRef(this._latestSortedRefs))}}getSortedItems(){return Array.from(this._unsortedItems).sort((_e,ke)=>_e._dragRef.getVisibleElement().compareDocumentPosition(ke._dragRef.getVisibleElement())&Node.DOCUMENT_POSITION_FOLLOWING?-1:1)}ngOnDestroy(){const _e=xt._dropLists.indexOf(this);_e>-1&&xt._dropLists.splice(_e,1),this._group&&this._group._items.delete(this),this._latestSortedRefs=void 0,this._unsortedItems.clear(),this._dropListRef.dispose(),this._destroyed.next(),this._destroyed.complete()}_setupInputSyncSubscription(_e){this._dir&&this._dir.change.pipe((0,T.Z)(this._dir.value),(0,E.Q)(this._destroyed)).subscribe(ke=>_e.withDirection(ke)),_e.beforeStarted.subscribe(()=>{const ke=(0,oe.c)(this.connectedTo).map(_t=>"string"==typeof _t?xt._dropLists.find(Je=>Je.id===_t):_t);
3if(this._group&&this._group._items.forEach(_t=>{-1===ke.indexOf(_t)&&ke.push(_t)}),!this._scrollableParentsResolved){const _t=this._scrollDispatcher.getAncestorScrollContainers(this.element).map(wt=>wt.getElementRef().nativeElement);this._dropListRef.withScrollableParents(_t),this._scrollableParentsResolved=!0}if(this.elementContainerSelector){const _t=this.element.nativeElement.querySelector(this.elementContainerSelector);_e.withElementContainer(_t)}_e.disabled=this.disabled,_e.lockAxis=this.lockAxis,_e.sortingDisabled=this.sortingDisabled,_e.autoScrollDisabled=this.autoScrollDisabled,_e.autoScrollStep=(0,L.c)(this.autoScrollStep,2),_e.hasAnchor=this.hasAnchor,_e.connectedTo(ke.filter(_t=>_t&&_t!==this).map(_t=>_t._dropListRef)).withOrientation(this.orientation)})}_handleEvents(_e){_e.beforeStarted.subscribe(()=>{this._syncItemsWithRef(this.getSortedItems().map(ke=>ke._dragRef)),this._changeDetectorRef.markForCheck()}),_e.entered.subscribe(ke=>{this.entered.emit({container:this,item:ke.item.data,currentIndex:ke.currentIndex})}),_e.exited.subscribe(ke=>{this.exited.emit({container:this,item:ke.item.data}),this._changeDetectorRef.markForCheck()}),_e.sorted.subscribe(ke=>{this.sorted.emit({previousIndex:ke.previousIndex,currentIndex:ke.currentIndex,container:this,item:ke.item.data})}),_e.dropped.subscribe(ke=>{this.dropped.emit({previousIndex:ke.previousIndex,currentIndex:ke.currentIndex,previousContainer:ke.previousContainer.data,container:ke.container.data,item:ke.item.data,isPointerOverContainer:ke.isPointerOverContainer,distance:ke.distance,dropPoint:ke.dropPoint,event:ke.event}),this._changeDetectorRef.markForCheck()}),(0,D.h)(_e.receivingStarted,_e.receivingStopped).subscribe(()=>this._changeDetectorRef.markForCheck())}_assignDefaults(_e){const{lockAxis:ke,draggingDisabled:_t,sortingDisabled:wt,listAutoScrollDisabled:Je,listOrientation:Tt}=_e;this.disabled=_t??!1,this.sortingDisabled=wt??!1,this.autoScrollDisabled=Je??!1,this.orientation=Tt||"vertical",ke&&(this.lockAxis=ke)}_syncItemsWithRef(_e){this._latestSortedRefs=_e,this._dropListRef.withItems(_e)}static \u0275fac=function(ke){return new(ke||xt)};static \u0275dir=a.FsC({type:xt,selectors:[["","cdkDropList",""],["cdk-drop-list"]],hostAttrs:[1,"cdk-drop-list"],hostVars:7,hostBindings:function(ke,_t){2&ke&&(a.BMQ("id",_t.id),a.AVh("cdk-drop-list-disabled",_t.disabled)("cdk-drop-list-dragging",_t._dropListRef.isDragging())("cdk-drop-list-receiving",_t._dropListRef.isReceiving()))},inputs:{connectedTo:[0,"cdkDropListConnectedTo","connectedTo"],data:[0,"cdkDropListData","data"],orientation:[0,"cdkDropListOrientation","orientation"],id:"id",lockAxis:[0,"cdkDropListLockAxis","lockAxis"],disabled:[2,"cdkDropListDisabled","disabled",u.L39],sortingDisabled:[2,"cdkDropListSortingDisabled","sortingDisabled",u.L39],enterPredicate:[0,"cdkDropListEnterPredicate","enterPredicate"],sortPredicate:[0,"cdkDropListSortPredicate","sortPredicate"],autoScrollDisabled:[2,"cdkDropListAutoScrollDisabled","autoScrollDisabled",u.L39],autoScrollStep:[0,"cdkDropListAutoScrollStep","autoScrollStep"],elementContainerSelector:[0,"cdkDropListElementContainer","elementContainerSelector"],hasAnchor:[2,"cdkDropListHasAnchor","hasAnchor",u.L39]},outputs:{dropped:"cdkDropListDropped",entered:"cdkDropListEntered",exited:"cdkDropListExited",sorted:"cdkDropListSorted"},exportAs:["cdkDropList"],features:[a.Jv_([{provide:Sn,useValue:void 0},{provide:hn,useExisting:xt}])]})}return xt})();const Hi=new t.nKC("CdkDragPlaceholder");let tr=(()=>{class xt{templateRef=(0,t.WQX)(a.C4Q);_drag=(0,t.WQX)(Ae,{optional:!0});data;constructor(){this._drag?._setPlaceholderTemplate(this)}ngOnDestroy(){this._drag?._resetPlaceholderTemplate(this)}static \u0275fac=function(ke){return new(ke||xt)};static \u0275dir=a.FsC({type:xt,selectors:[["ng-template","cdkDragPlaceholder",""]],inputs:{data:"data"},features:[a.Jv_([{provide:Hi,useExisting:xt}])]})}return xt})(),Qi=(()=>{class xt{static \u0275fac=function(ke){return new(ke||xt)};static \u0275mod=a.$C({type:xt});static \u0275inj=t.G2t({providers:[ht],imports:[w.Gj]})}return xt})()},2490:(qe,ee,o)=>{"use strict";o.d(ee,{O:()=>M});var a=o(60177),t=o(2615),u=o(73664);let M=(()=>{class v{constructor(_,h){this.document=_,this.platformId=h,this.documentIsAccessible=(0,a.UE)(this.platformId)}static getCookieRegExp(_){const h=_.replace(/([[\]{}()|=;+?,.*^$\\])/gi,"\\$1");return new RegExp("(?:^"+h+"|;\\s*"+h+")=(.*?)(?:;|$)","g")}static safeDecodeURIComponent(_){try{return decodeURIComponent(_)}catch{return _}}check(_){return!!this.documentIsAccessible&&(_=encodeURIComponent(_),v.getCookieRegExp(_).test(this.document.cookie))}get(_){if(this.check(_)){_=encodeURIComponent(_);const C=v.getCookieRegExp(_).exec(this.document.cookie);return C?.[1]?v.safeDecodeURIComponent(C[1]):""}return""}getAll(){if(!this.documentIsAccessible)return{};const _={},h=this.document;return h.cookie&&""!==h.cookie&&h.cookie.split(";").forEach(C=>{const[b,D]=C.split("=");_[v.safeDecodeURIComponent(b.replace(/^ /,""))]=v.safeDecodeURIComponent(D)}),_}set(_,h,C,b,D,f,O,d){if(!this.documentIsAccessible)return;if("number"==typeof C||C instanceof Date||b||D||f||O)return void this.set(_,h,{expires:C,path:b,domain:D,secure:f,sameSite:O||"Lax",partitioned:d});let L=encodeURIComponent(_)+"="+encodeURIComponent(h)+";";const E=C||{};E.expires&&(L+="number"==typeof E.expires?"expires="+new Date((new Date).getTime()+1e3*E.expires*60*60*24).toUTCString()+";":"expires="+E.expires.toUTCString()+";"),E.path&&(L+="path="+E.path+";"),E.domain&&(L+="domain="+E.domain+";"),!1===E.secure&&"None"===E.sameSite&&(E.secure=!0,console.warn(`[ngx-cookie-service] Cookie ${_} was forced with secure flag because sameSite=None.More details : https://github.com/stevermeister/ngx-cookie-service/issues/86#issuecomment-597720130`)),E.secure&&(L+="secure;"),E.sameSite||(E.sameSite="Lax"),L+="sameSite="+E.sameSite+";",E.partitioned&&(L+="Partitioned;"),this.document.cookie=L}delete(_,h,C,b,D="Lax"){this.documentIsAccessible&&this.set(_,"",{expires:new Date("Thu, 01 Jan 1970 00:00:01 GMT"),path:h,domain:C,secure:b,sameSite:D})}deleteAll(_,h,C,b="Lax"){if(!this.documentIsAccessible)return;const D=this.getAll();for(const f in D)D.hasOwnProperty(f)&&this.delete(f,_,h,C,b)}static{this.\u0275fac=function(h){return new(h||v)(t.KVO(t.qQL),t.KVO(u.Agw))}}static{this.\u0275prov=t.jDH({token:v,factory:v.\u0275fac,providedIn:"root"})}}return v})()},2615:(qe,ee,o)=>{"use strict";let a;function t(){return a}function u(W){const be=a;return a=W,be}o.d(ee,{JEi:()=>Po,EJG:()=>xn,Yrj:()=>ci,VVG:()=>Vt,Y20:()=>Js,SKP:()=>Zt,hk6:()=>la,eVN:()=>Bs,b5C:()=>Gi,rQE:()=>zi,X5O:()=>Xn,qFA:()=>pa,qQL:()=>fl,abz:()=>hl,tQN:()=>as,pcR:()=>jo,oMQ:()=>kr,Mlv:()=>Ci,MZA:()=>nr,M0L:()=>En,Z63:()=>sr,VML:()=>La,uvJ:()=>Mr,zcH:()=>Ca,Wg1:()=>Ar,Yw1:()=>Vr,jgP:()=>Oo,tcA:()=>gt,ID:()=>rr,YEL:()=>an,B9r:()=>gi,GBX:()=>Vi,ZTf:()=>es,nKC:()=>st,zZn:()=>hs,rJ1:()=>qt,nfM:()=>Sa,s6P:()=>Io,K29:()=>ge,CQl:()=>it,p9y:()=>$e,zSs:()=>vt,ONQ:()=>pe,hmW:()=>Nt,yAH:()=>Pe,KXn:()=>Xo,oTH:()=>Zi,Czx:()=>_r,f7T:()=>je,wVl:()=>ur,GYQ:()=>Lc,u5s:()=>ml,rev:()=>Ql,Ds7:()=>eo,e5P:()=>ir,Iaj:()=>To,GpT:()=>Mn,buA:()=>O,AQb:()=>ts,jNX:()=>rn,eDl:()=>Nr,qlT:()=>Ie,bm_:()=>cs,r4V:()=>Gs,ok8:()=>f,Evm:()=>vd,Jy$:()=>Hl,laP:()=>E,EYC:()=>Fi,ng7:()=>pi,llW:()=>Ii,gsJ:()=>Pi,GZS:()=>vo,iYM:()=>ae,PEr:()=>za,z7f:()=>$,LZP:()=>K,Xln:()=>we,yzR:()=>ao,TWe:()=>ys,LIA:()=>nt,GWr:()=>ue,pbo:()=>z,bBq:()=>xs,Af3:()=>Go,zQk:()=>Xa,oZy:()=>Ds,tF7:()=>Be,ZFY:()=>wt,cP4:()=>zr,MdC:()=>ds,XvL:()=>xe,KET:()=>Wo,Tkx:()=>zt,iw4:()=>at,tdH:()=>Yl,pr_:()=>Se,IAh:()=>et,U45:()=>ie,WrV:()=>Ce,kNT:()=>Ye,MI:()=>qs,biv:()=>Gl,ZQF:()=>Xe,Cv0:()=>Ue,W0r:()=>ma,R2n:()=>Mo,O8q:()=>Ls,VKj:()=>wr,Rom:()=>ws,z6V:()=>gn,n$e:()=>I,hjC:()=>yt,Pz9:()=>Vl,PQT:()=>Sn,VX4:()=>ni,_Z$:()=>Mt,N79:()=>ta,xLP:()=>
3oi,zuh:()=>ui,BI7:()=>Yn,U7d:()=>Dn,uXy:()=>Gn,nZS:()=>Rn,ihb:()=>ra,ID8:()=>Dc,gv8:()=>Na,dwj:()=>U,Bqz:()=>Mi,OsK:()=>L,Rfq:()=>N,c$7:()=>Qa,gxQ:()=>zo,ckz:()=>Hr,kLh:()=>ne,xUg:()=>yn,KdJ:()=>lo,db4:()=>Ss,VPL:()=>Ur,MT:()=>Us,Z9v:()=>_l,Ab:()=>Pn,w7Z:()=>qo,Mx4:()=>Bt,veI:()=>tn,HaV:()=>Jr,Agf:()=>Ir,znI:()=>wo,wGu:()=>bn,ebl:()=>ce,OAn:()=>te,_0$:()=>Br,UaU:()=>Ps,vaC:()=>bi,d31:()=>vr,ZRn:()=>ji,phH:()=>mr,WbQ:()=>Or,WB9:()=>fr,d_l:()=>Lo,vNG:()=>Ea,oyA:()=>Do,_px:()=>Ac,CpD:()=>Sc,XRZ:()=>ea,klJ:()=>ye,Fje:()=>$s,b$O:()=>Od,SMZ:()=>Y,WQX:()=>ot,MzJ:()=>_t,jXY:()=>tt,MME:()=>Si,JlV:()=>Q,Qs1:()=>fe,srX:()=>Jo,vOT:()=>dl,YWB:()=>$r,EPY:()=>fi,yoD:()=>Ee,P3H:()=>Vo,Jzi:()=>H,rFz:()=>no,JjR:()=>ul,M6u:()=>so,KtD:()=>Pa,muV:()=>J,A0l:()=>Zo,q$2:()=>Lr,yP_:()=>_s,EFk:()=>We,Hps:()=>Ja,UhH:()=>to,QuC:()=>Qo,Y3W:()=>Ji,n$r:()=>aa,K7h:()=>Ki,FRF:()=>or,ezK:()=>zn,m7n:()=>Rc,niQ:()=>jl,krE:()=>V,bll:()=>Wl,Hh6:()=>cl,EmA:()=>he,blu:()=>Ta,HAh:()=>Fs,WfI:()=>Bn,xbp:()=>yc,jvu:()=>oa,lQ1:()=>gl,Rc9:()=>So,E6O:()=>Kn,DyX:()=>Xr,eFE:()=>Ae,dMS:()=>Ts,HUe:()=>xi,nl4:()=>oe,N4e:()=>An,XaM:()=>ti,Kw3:()=>ia,vQI:()=>Za,RZ9:()=>rt,GA0:()=>_o,iMd:()=>$i,Pfq:()=>uo,xyx:()=>Ia,a2B:()=>ke,kcM:()=>Wt,DFp:()=>Ne,P2g:()=>Co,cBl:()=>na,ypq:()=>xo,vPA:()=>Md,HO5:()=>pl,M_e:()=>Ro,B22:()=>Oa,ik5:()=>ks,AsM:()=>T,PP7:()=>It,$8:()=>X,$Hz:()=>Ai,zAe:()=>di,IvY:()=>Nn,_gW:()=>Ya,F1c:()=>No,ITl:()=>As,brz:()=>nn,jRZ:()=>Ha,SX7:()=>Ic,jDH:()=>pt,G2t:()=>bt,fuf:()=>q,cSN:()=>co,KVO:()=>Ht,dmw:()=>Jt,joV:()=>fo,By9:()=>Pc,qSk:()=>Tc,Njj:()=>ut,eBV:()=>He});const v=Symbol("NotFound");function _(W){return W===v||"\u0275NotFound"===W?.name}Error;var h=o(48440),C=o(84412),b=o(71985);const f="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss";class O extends Error{code;constructor(be,ft){super(L(be,ft)),this.code=be}}function L(W,be){return`${function d(W){return`NG0${Math.abs(W)}`}(W)}${be?": "+be:""}`}const E=globalThis;function Y(){return!1}function ne(W){for(let be in W)if(W[be]===ne)return be;throw Error("")}function U(W,be){for(const ft in be)be.hasOwnProperty(ft)&&!W.hasOwnProperty(ft)&&(W[ft]=be[ft])}function T(W){if("string"==typeof W)return W;if(Array.isArray(W))return`[${W.map(T).join(", ")}]`;if(null==W)return""+W;const be=W.overriddenName||W.name;if(be)return`${be}`;const ft=W.toString();if(null==ft)return""+ft;const Qt=ft.indexOf("\n");return Qt>=0?ft.slice(0,Qt):ft}function I(W,be){return W?be?`${W} ${be}`:W:be||""}const Z=ne({__forward_ref__:ne});function N(W){return W.__forward_ref__=N,W.toString=function(){return T(this())},W}function oe(W){return H(W)?W():W}function H(W){return"function"==typeof W&&W.hasOwnProperty(Z)&&W.__forward_ref__===N}function ie(W,be){"number"!=typeof W&&X(be,typeof W,"number","===")}function Ce(W,be,ft){ie(W,"Expected a number"),function De(W,be,ft){W<=be||X(ft,W,be,"<=")}(W,ft,"Expected number to be less than or equal to"),z(W,be,"Expected number to be greater than or equal to")}function Ue(W,be){"string"!=typeof W&&X(be,null===W?"null":typeof W,"string","===")}function nt(W,be){"function"!=typeof W&&X(be,null===W?"null":typeof W,"function","===")}function we(W,be,ft){W!=be&&X(ft,W,be,"==")}function at(W,be,ft){W==be&&X(ft,W,be,"!=")}function Xe(W,be,ft){W!==be&&X(ft,W,be,"===")}function et(W,be,ft){W===be&&X(ft,W,be,"!==")}function xe(W,be,ft){W<be||X(ft,W,be,"<")}function ue(W,be,ft){W>be||X(ft,W,be,">")}function z(W,be,ft){W>=be||X(ft,W,be,">=")}function ae(W,be){null==W&&X(be,W,null,"!=")}function X(W,be,ft,Qt){throw new Error(`ASSERTION ERROR: ${W}`+(null==Qt?"":` [Expected=> ${ft} ${Qt} ${be} <=Actual]`))}function $(W){W instanceof Node||X(`The provided value must be an instance of a DOM Node but got ${T(W)}`)}function K(W){W instanceof Element||X(`The provided value must be an element but got ${T(W)}`)}function Be(W,be){ae(W,"Array must be defined.");const ft=W.length;(be<0||be>=ft)&&X(`Index expected to be less than ${ft} but got ${be}`)}function Ye(W,...be){if(-1!==be.indexOf(W))return!0;X(`Expected value to be one of ${JSON.stringify(be)} but was ${JSON.stringify(W)}.`)}function Se(W){null!==(0,h.nR)()&&X(`${W}() should never be called in a reactive context.`)}function pt(W){return{token:W.token,providedIn:W.providedIn||null,factory:W.factory,value:void 0}}function bt(W){return{providers:W.providers||[],imports:W.imports||[]}}function me(W){return function R(W,be){return W.hasOwnProperty(be)&&W[be]||null}(W,Pe)}function J(W){return null!==me(W)}function ce(W){return W&&W.hasOwnProperty(pe)?W[pe]:null}const Pe=ne({\u0275prov:ne}
3),pe=ne({\u0275inj:ne});class st{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(be,ft){this._desc=be,this.\u0275prov=void 0,"number"==typeof ft?this.__NG_ELEMENT_ID__=ft:void 0!==ft&&(this.\u0275prov=pt({token:this,providedIn:ft.providedIn||"root",factory:ft.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}let Qe;function At(){return X("getInjectorProfilerContext should never be called in production mode"),Qe}function Ne(W){X("setInjectorProfilerContext should never be called in production mode");const be=Qe;return Qe=W,be}const ze=[],Ke=()=>{};function Wt(W){return X("setInjectorProfiler should never be called in production mode"),null!==W?(ze.includes(W)||ze.push(W),()=>function Ct(W){const be=ze.indexOf(W);-1!==be&&ze.splice(be,1)}(W)):(ze.length=0,Ke)}function ln(W){X("Injector profiler should never be called in production mode");for(let be=0;be<ze.length;be++)(0,ze[be])(W)}function Rn(W,be=!1){let ft;X("Injector profiler should never be called in production mode"),ft="function"==typeof W||W instanceof st?W:oe(W.provide);let Qt=W;W instanceof st&&(Qt=W.\u0275prov||W),ln({type:2,context:At(),providerRecord:{token:ft,provider:Qt,isViewProvider:be}})}function Dn(W){X("Injector profiler should never be called in production mode"),ln({type:4,context:At(),token:W})}function Gn(W){X("Injector profiler should never be called in production mode"),ln({type:1,context:At(),instance:{value:W}})}function Yn(W,be,ft){X("Injector profiler should never be called in production mode"),ln({type:0,context:At(),service:{token:W,value:be,flags:ft}})}function ui(W){X("Injector profiler should never be called in production mode"),ln({type:3,context:At(),effect:W})}function ti(W,be,ft){X("runInInjectorProfilerContext should never be called in production mode");const Qt=Ne({injector:W,token:be});try{ft()}finally{Ne(Qt)}}function $t(W){return W&&!!W.\u0275providers}const it=ne({\u0275cmp:ne}),mt=ne({\u0275dir:ne}),Ze=ne({\u0275pipe:ne}),Nt=ne({\u0275mod:ne}),vt=ne({\u0275fac:ne}),$e=ne({__NG_ELEMENT_ID__:ne}),ht=ne({__NG_ENV_ID__:ne});function Ae(W){return"string"==typeof W?W:null==W?"":String(W)}function It(W){return"function"==typeof W?W.name||W.toString():"object"==typeof W&&null!=W&&"function"==typeof W.type?W.type.name||W.type.toString():Ae(W)}function Mt(W){let be=W[it]||null;
3return null!==be&&be.debugInfo?function on(W){return W.filePath&&W.lineNumber?`${W.className} (at ${W.filePath}:${W.lineNumber})`:W.className}(be.debugInfo):It(W)}const Gt=ne({ngErrorCode:ne}),hn=ne({ngErrorMessage:ne}),Cn=ne({ngTokenPath:ne});function Sn(W,be){return Yi("",-200,be)}function ni(W,be){return function tr(W,be){return W.message=function xt(W,be,ft=[],Qt=null){let sn="";ft&&ft.length>1&&(sn=` Path: ${ft.join(" -> ")}.`);return L(be,`${W}${Qt?` Source: ${Qt}.`:""}${sn}`)}(W[hn]||W.message,W[Gt],W[Cn],be),W}(Sn(0,be),null)}function Ai(W,be){throw new O(-201,!1)}function Yi(W,be,ft){const Qt=new O(be,W);return Qt[Gt]=be,Qt[hn]=W,ft&&(Qt[Cn]=ft),Qt}let Me;function _e(){return Me}function ke(W){const be=Me;return Me=W,be}function _t(W,be,ft){const Qt=me(W);return Qt&&"root"==Qt.providedIn?void 0===Qt.value?Qt.value=Qt.factory():Qt.value:8&ft?null:void 0!==be?be:void Ai()}function wt(W){}const Tt={},le="__NG_DI_FLAG__";class Ve{injector;constructor(be){this.injector=be}retrieve(be,ft){const Qt=yt(ft)||0;try{return this.injector.get(be,8&Qt?null:Tt,Qt)}catch(sn){if(_(sn))return sn;throw sn}}}function Te(W,be=0){const ft=t();if(void 0===ft)throw new O(-203,!1);if(null===ft)return _t(W,void 0,be);{const Qt=function Ut(W){return{optional:!!(8&W),host:!!(1&W),self:!!(2&W),skipSelf:!!(4&W)}}(be),sn=ft.retrieve(W,Qt);if(_(sn)){if(Qt.optional)return null;throw sn}return sn}}function Ht(W,be=0){return(_e()||Te)(oe(W),be)}function Jt(W){throw new O(202,!1)}function ot(W,be){return Ht(W,yt(be))}function yt(W){return typeof W>"u"||"number"==typeof W?W:0|(W.optional&&8)|(W.host&&1)|(W.self&&2)|(W.skipSelf&&4)}function Xt(W){const be=[];for(let ft=0;ft<W.length;ft++){const Qt=oe(W[ft]);if(Array.isArray(Qt)){if(0===Qt.length)throw new O(900,!1);let sn,vn=0;for(let Xi=0;Xi<Qt.length;Xi++){const ho=Qt[Xi],Wi=kn(ho);"number"==typeof Wi?-1===Wi?sn=ho.token:vn|=Wi:sn=ho}be.push(Ht(sn,vn))}else be.push(Ht(Qt))}return be}function gn(W,be){return W[le]=be,W.prototype[le]=be,W}function kn(W){return W[le]}function bn(W,be){return W.hasOwnProperty(vt)?W[vt]:null}function pi(W,be,ft){if(W.length!==be.length)return!1;for(let Qt=0;Qt<W.length;Qt++){let sn=W[Qt],vn=be[Qt];if(ft&&(sn=ft(sn),vn=ft(vn)),vn!==sn)return!1}return!0}function Mi(W){return W.flat(Number.POSITIVE_INFINITY)}function oi(W,be){W.forEach(ft=>Array.isArray(ft)?oi(ft,be):be(ft))}function Fi(W,be,ft){be>=W.length?W.push(ft):W.splice(be,0,ft)}function Kn(W,be){return be>=W.length-1?W.pop():W.splice(be,1)[0]}function Bn(W,be){const ft=[];for(let Qt=0;Qt<W;Qt++)ft.push(be);return ft}function Pi(W,be,ft){const Qt=W.length-ft;for(;be<Qt;)W[be]=W[be+ft],be++;for(;ft--;)W.pop()}function Ii(W,be,ft,Qt){let sn=W.length;if(sn==be)W.push(ft,Qt);else if(1===sn)W.push(Qt,W[0]),W[0]=ft;else{for(sn--,W.push(W[sn-1],W[sn]);sn>be;)W[sn]=W[sn-2],sn--;W[be]=ft,W[be+1]=Qt}}function zn(W,be,ft){let Qt=or(W,be);return Qt>=0?W[1|Qt]=ft:(Qt=~Qt,Ii(W,Qt,be,ft)),Qt}function Ki(W,be){const ft=or(W,be);if(ft>=0)return W[1|ft]}function or(W,be){return function er(W,be,ft){let Qt=0,sn=W.length>>ft;for(;sn!==Qt;){const vn=Qt+(sn-Qt>>1),Xi=W[vn<<ft];if(be===Xi)return vn<<ft;Xi>be?sn=vn:Qt=vn+1}return~(sn<<ft)}(W,be,1)}const nr={},Ci=[],sr=new st(""),ki=new st("",-1),gi=new st("");class Zi{get(be,ft=Tt){if(ft===Tt){const sn=Yi("",-201);throw sn.name="\u0275NotFound",sn}return ft}}function mr(W){return W[Nt]||null}function Or(W){const be=mr(W);if(!be)throw new O(915,!1);return be}function yn(W){return W[it]||null}function Ir(W){const be=Jr(W);if(!be)throw new O(916,!1);return be}function Jr(W){return W[mt]||null}function Do(W){return W[Ze]||null}function Qo(W){const be=yn(W)||Jr(W)||Do(W);return null!==be&&be.standalone}function he(W){return{\u0275providers:W}}function Re(...W){return{\u0275providers:tt(0,W),\u0275fromNgModule:!0}}function tt(W,...be){const ft=[],Qt=new Set;let sn;const vn=Xi=>{ft.push(Xi)};return oi(be,Xi=>{const ho=Xi;nn(ho,vn,[],Qt)&&(sn||=[],sn.push(ho))}),void 0!==sn&&Lt(sn,vn),ft}function Lt(W,be){for(let ft=0;ft<W.length;ft++){const{ngModule:Qt,providers:sn}=W[ft];Tn(sn,vn=>{be(vn,Qt)})}}function nn(W,be,ft,Qt){if(!(W=oe(W)))return!1;let sn=null,vn=ce(W);const Xi=!vn&&yn(W);if(vn||Xi){if(Xi&&!Xi.standalone)return!1;sn=W}else{const Wi=W.ngModule;if(vn=ce(Wi),!vn)return!1;sn=Wi}const ho=Qt.has(sn);if(Xi){if(ho)return!1;if(Qt.add(sn),Xi.dependencies){const Wi="function"==typeof Xi.dependencies?Xi.dependencies():Xi.dependencies;for(const ar of Wi)nn(ar,be,ft,Qt)}}else{if(!vn)return!1;{if(null!=vn.imports&&!ho){let ar;Qt.add(sn);try{oi(vn.imports,ps=>{nn(ps,be,ft,Qt)&&(ar||=[],ar.push(ps))})}finally{}void 0!==ar&&Lt(ar,be)}if(!ho){const ar=bn(sn)||(()=>new sn);be({provide:sn,useFactory:ar,deps:Ci},sn),be({provide:gi,useValue:sn,multi:!0},sn),be({provide:sr,useValue:()=>Ht(sn),multi:!0},sn)}const Wi=vn.providers;if(null!=Wi&&!ho){const ar=W;Tn(Wi,ps=>{be(ps,ar)}
3)}}}return sn!==W&&void 0!==W.providers}function Tn(W,be){for(let ft of W)$t(ft)&&(ft=ft.\u0275providers),Array.isArray(ft)?Tn(ft,be):be(ft)}const hi=ne({provide:String,useValue:ne});function ai(W){return null!==W&&"object"==typeof W&&hi in W}function Ji(W){return"function"==typeof W}function Si(W){return!!W.useClass}const Vi=new st(""),ri={},li={};let Fr;function fr(){return void 0===Fr&&(Fr=new Zi),Fr}class Mr{}class ir extends Mr{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(be,ft,Qt,sn){super(),this.parent=ft,this.source=Qt,this.scopes=sn,qi(be,Xi=>this.processProvider(Xi)),this.records.set(ki,Kr(void 0,this)),sn.has("environment")&&this.records.set(Mr,Kr(void 0,this));const vn=this.records.get(Vi);null!=vn&&"string"==typeof vn.value&&this.scopes.add(vn.value),this.injectorDefTypes=new Set(this.get(gi,Ci,{self:!0}))}retrieve(be,ft){const Qt=yt(ft)||0;try{return this.get(be,Tt,Qt)}catch(sn){if(_(sn))return sn;throw sn}}destroy(){Ri(this),this._destroyed=!0;const be=(0,h.Ht)(null);try{for(const Qt of this._ngOnDestroyHooks)Qt.ngOnDestroy();const ft=this._onDestroyHooks;this._onDestroyHooks=[];for(const Qt of ft)Qt()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),(0,h.Ht)(be)}}onDestroy(be){return Ri(this),this._onDestroyHooks.push(be),()=>this.removeOnDestroy(be)}runInContext(be){Ri(this);
3const ft=u(this),Qt=ke(void 0);try{return be()}finally{u(ft),ke(Qt)}}get(be,ft=Tt,Qt){if(Ri(this),be.hasOwnProperty(ht))return be[ht](this);const sn=yt(Qt),Xi=u(this),ho=ke(void 0);try{if(!(4&sn)){let ar=this.records.get(be);if(void 0===ar){const ps=function Uo(W){return"function"==typeof W||"object"==typeof W&&"InjectionToken"===W.ngMetadataName}(be)&&me(be);ar=ps&&this.injectableDefInScope(ps)?Kr(Rr(be),ri):null,this.records.set(be,ar)}if(null!=ar)return this.hydrate(be,ar,sn)}return(2&sn?fr():this.parent).get(be,ft=8&sn&&ft===Tt?null:ft)}catch(Wi){const ar=function Qi(W){return W[Gt]}(Wi);throw-200===ar||-201===ar?new O(ar,null):Wi}finally{ke(ho),u(Xi)}}resolveInjectorInitializers(){const be=(0,h.Ht)(null),ft=u(this),Qt=ke(void 0);try{const vn=this.get(sr,Ci,{self:!0});for(const Xi of vn)Xi()}finally{u(ft),ke(Qt),(0,h.Ht)(be)}}toString(){const be=[],ft=this.records;for(const Qt of ft.keys())be.push(T(Qt));return`R3Injector[${be.join(", ")}]`}processProvider(be){let ft=Ji(be=oe(be))?be:oe(be&&be.provide);const Qt=function Ao(W){return ai(W)?Kr(void 0,W.useValue):Kr(So(W),ri)}(be);if(!Ji(be)&&!0===be.multi){let sn=this.records.get(ft);sn||(sn=Kr(void 0,ri,!0),sn.factory=()=>Xt(sn.multi),this.records.set(ft,sn)),ft=be,sn.multi.push(be)}this.records.set(ft,Qt)}hydrate(be,ft,Qt){const sn=(0,h.Ht)(null);try{if(ft.value===li)throw Sn(T(be));return ft.value===ri&&(ft.value=li,ft.value=ft.factory(void 0,Qt)),"object"==typeof ft.value&&ft.value&&function Eo(W){return null!==W&&"object"==typeof W&&"function"==typeof W.ngOnDestroy}(ft.value)&&this._ngOnDestroyHooks.add(ft.value),ft.value}finally{(0,h.Ht)(sn)}}injectableDefInScope(be){if(!be.providedIn)return!1;const ft=oe(be.providedIn);return"string"==typeof ft?"any"===ft||this.scopes.has(ft):this.injectorDefTypes.has(ft)}removeOnDestroy(be){const ft=this._onDestroyHooks.indexOf(be);-1!==ft&&this._onDestroyHooks.splice(ft,1)}}function Rr(W){const be=me(W),ft=null!==be?be.factory:bn(W);if(null!==ft)return ft;if(W instanceof st)throw new O(204,!1);if(W instanceof Function)return function oo(W){if(W.length>0)throw new O(204,!1);
3const ft=function x(W){return(W?.[Pe]??null)||null}(W);return null!==ft?()=>ft.factory(W):()=>new W}(W);throw new O(204,!1)}function So(W,be,ft){let Qt;if(Ji(W)){const sn=oe(W);return bn(sn)||Rr(sn)}if(ai(W))Qt=()=>oe(W.useValue);else if(function _i(W){return!(!W||!W.useFactory)}(W))Qt=()=>W.useFactory(...Xt(W.deps||[]));else if(function Ei(W){return!(!W||!W.useExisting)}(W))Qt=(sn,vn)=>Ht(oe(W.useExisting),void 0!==vn&&8&vn?8:void 0);else{const sn=oe(W&&(W.useClass||W.provide));if(!function qr(W){return!!W.deps}(W))return bn(sn)||Rr(sn);Qt=()=>new sn(...Xt(W.deps))}return Qt}function Ri(W){if(W.destroyed)throw new O(205,!1)}function Kr(W,be,ft=!1){return{factory:W,value:be,multi:ft?[]:void 0}}function qi(W,be){for(const ft of W)Array.isArray(ft)?qi(ft,be):ft&&$t(ft)?qi(ft.\u0275providers,be):be(ft)}function An(W,be){let ft;W instanceof ir?(Ri(W),ft=W):ft=new Ve(W);const sn=u(ft),vn=ke(void 0);try{return be()}finally{u(sn),ke(vn)}}function so(){return void 0!==_e()||null!=t()}function Go(W){if(!so())throw new O(-203,!1)}const Oo=0,Nr=1,Ar=2,je=3,ge=4,Ie=5,gt=6,Vt=7,Zt=8,an=9,En=10,Mn=11,xn=12,ci=13,Xn=14,Gi=15,zi=16,ur=17,eo=18,rr=19,kr=20,_r=21,jo=22,as=23,To=24,Po=25,Vr=26,ls=1,pa=6,Io=7,cs=8,Sa=9,Js=10;function Lr(W){return Array.isArray(W)&&"object"==typeof W[ls]}function Zo(W){return Array.isArray(W)&&!0===W[ls]}function Jo(W){return!!(4&W.flags)}function fe(W){return W.componentOffset>-1}function Ee(W){return!(1&~W.flags)}function Q(W){return!!W.template}function We(W){return!!(512&W[Ar])}function fi(W){return!(256&~W[Ar])}function wr(W,be){ws(W,be[Nr])}function Ls(W,be){const ft=be+Vr;Be(W,ft),xe(ft,W[Nr].bindingStartIndex,"TNodes should be created before any bindings")}function ws(W,be){Mo(W);const ft=be.data;for(let Qt=Vr;Qt<ft.length;Qt++)if(ft[Qt]===W)return;X("This TNode does not belong to this TView.")}function Mo(W){ae(W,"TNode must be defined"),W&&"object"==typeof W&&W.hasOwnProperty("directiveStylingLast")||X("Not of type TNode, got: "+W)}function ma(W){ae(W,"Expected TIcu to be defined"),"number"!=typeof W.currentCaseLViewIndex&&X("Object is not of TIcu type.")}function vo(W,be="Type passed in is not ComponentType, it does not have '\u0275cmp' property."){yn(W)||X(be)}function Wo(W,be="Type passed in is not NgModuleType, it does not have '\u0275mod' property."){mr(W)||X(be)}function xs(W){ae(W,"currentTNode should exist!"),ae(W.parent,"currentTNode should have a parent")}function zr(W){ae(W,"LContainer must be defined"),we(Zo(W),!0,"Expecting LContainer")}function ds(W){ae(W,"LView must be defined"),we(Lr(W),!0,"Expecting LView")}function ao(W,be){we(W.firstCreatePass,!0,be||"Should only be called in first create pass.")}function ys(W,be){we(W.firstUpdatePass,!0,"Should only be called in first update pass.")}function za(W){(void 0===W.type||null==W.selectors||void 0===W.inputs)&&X("Expected a DirectiveDef/ComponentDef and this object does not seem to have the expected shape.")}function Xa(W,be){ga(Vr,W.bindingStartIndex,be)}function Ds(W,be){ga(W[1].expandoStartIndex,W.length,be)}function ga(W,be,ft){W<=ft&&ft<be||X(`Index out of range (expecting ${W} <= ${ft} < ${be})`)}function Gl(W,be){ae(W[Gi],"Component views should exist."),ae(W[Gi][Ie].projection,"Components with projection nodes (<ng-content>) must have projection slots defined.")}function qs(W,be){ae(W,"Component views should always have a parent view (component's host view)")}function zt(W,be){Ds(W,be),Ds(W,be+8),ie(W[be+0],"injectorIndex should point to a bloom filter"),ie(W[be+1],"injectorIndex should point to a bloom filter"),ie(W[be+2],"injectorIndex should point to a bloom filter"),ie(W[be+3],"injectorIndex should point to a bloom filter"),ie(W[be+4],"injectorIndex should point to a bloom filter"),ie(W[be+5],"injectorIndex should point to a bloom filter"),ie(W[be+6],"injectorIndex should point to a bloom filter"),ie(W[be+7],"injectorIndex should point to a bloom filter"),ie(W[be+8],"injectorIndex should point to parent injector")}const rn="svg",qt="math";function Nn(W){for(;Array.isArray(W);)W=W[Oo];return W}function di(W){for(;Array.isArray(W);){if("object"==typeof W[ls])return W;W=W[Oo]}return null}function bi(W,be){return Nn(be[W])}function vr(W,be){return Nn(be[W.index])}
3function ji(W,be){const ft=null===W?-1:W.index;return-1!==ft?Nn(be[ft]):null}function ea(W,be){return W.data[be]}function cl(W,be){return W[be]}function Ro(W,be,ft,Qt){ft>=W.data.length&&(W.data[ft]=null,W.blueprint[ft]=null),be[ft]=Qt}function lo(W,be){const ft=be[W];return Lr(ft)?ft:ft[Oo]}function dl(W){return!(4&~W[Ar])}function No(W){return!(128&~W[Ar])}function As(W){return Zo(W[je])}function Ss(W,be){return null==be?null:W[be]}function xi(W){W[ur]=0}function Fs(W){1024&W[Ar]||(W[Ar]|=1024,No(W)&&Ta(W))}function Ha(W,be){for(;W>0;)be=be[Xn],W--;return be}function Ts(W){return!!(9216&W[Ar]||W[To]?.dirty)}function Ya(W){W[En].changeDetectionScheduler?.notify(8),64&W[Ar]&&(W[Ar]|=1024),Ts(W)&&Ta(W)}function Ta(W){W[En].changeDetectionScheduler?.notify(0);let be=Br(W);for(;null!==be&&!(8192&be[Ar])&&(be[Ar]|=8192,No(be));)be=Br(be)}function ks(W,be){if(fi(W))throw new O(911,!1);null===W[_r]&&(W[_r]=[]),W[_r].push(be)}function Xr(W,be){if(null===W[_r])return;const ft=W[_r].indexOf(be);-1!==ft&&W[_r].splice(ft,1)}function Br(W){const be=W[je];return Zo(be)?be[je]:be}function Lo(W){return W[Vt]??=[]}function Ea(W){return W.cleanup??=[]}function Oa(W,be,ft,Qt){const sn=Lo(be);sn.push(ft),W.firstCreatePass&&Ea(W).push(Qt,sn.length-1)}const Zn={lFrame:fs(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var Bs=function(W){return W[W.Off=0]="Off",W[W.Exhaustive=1]="Exhaustive",W[W.OnlyDirtyViews=2]="OnlyDirtyViews",W}(Bs||{});let us=0,Jn=!1;function wo(){return Zn.lFrame.elementDepthCount}function $s(){Zn.lFrame.elementDepthCount++}function ta(){Zn.lFrame.elementDepthCount--}function Hr(){return Zn.bindingsEnabled}function Pa(){return null!==Zn.skipHydrationRootTNode}function to(W){return Zn.skipHydrationRootTNode===W}function co(){Zn.bindingsEnabled=!0}function q(){Zn.bindingsEnabled=!1}function V(){Zn.skipHydrationRootTNode=null}function te(){return Zn.lFrame.lView}function ye(){return Zn.lFrame.tView}function He(W){return Zn.lFrame.contextLView=W,W[Zt]}function ut(W){return Zn.lFrame.contextLView=null,W}function Bt(){let W=tn();for(;null!==W&&64===W.type;)W=W.parent;return W}function tn(){return Zn.lFrame.currentTNode}function Pn(){const W=Zn.lFrame,be=W.currentTNode;return W.isParent?be:be.parent}function $i(W,be){const ft=Zn.lFrame;ft.currentTNode=W,ft.isParent=be}function $r(){return Zn.lFrame.isParent}function uo(){Zn.lFrame.isParent=!1}function Ur(){return Zn.lFrame.contextLView}function no(){return X("Must never be called in production mode"),us!==Bs.Off}function Vo(){return X("Must never be called in production mode"),us===Bs.Exhaustive}function Co(W){X("Must never be called in production mode"),us=W}function _s(){return Jn}function na(W){const be=Jn;return Jn=W,be}function zo(){const W=Zn.lFrame;let be=W.bindingRootIndex;return-1===be&&(be=W.bindingRootIndex=W.tView.bindingStartIndex),be}function Qa(){return Zn.lFrame.bindingIndex}function ia(W){return Zn.lFrame.bindingIndex=W}function yc(){return Zn.lFrame.bindingIndex++}function Od(W){const be=Zn.lFrame,ft=be.bindingIndex;return be.bindingIndex=be.bindingIndex+W,ft}function ul(){return Zn.lFrame.inI18n}function Ia(W){Zn.lFrame.inI18n=W}function Za(W,be){const ft=Zn.lFrame;ft.bindingIndex=ft.bindingRootIndex=W,rt(be)}function _l(){return Zn.lFrame.currentDirectiveIndex}function rt(W){Zn.lFrame.currentDirectiveIndex=W}function Us(W){const be=Zn.lFrame.currentDirectiveIndex;return-1===be?null:W[be]}function qo(){return Zn.lFrame.currentQueryIndex}function _o(W){Zn.lFrame.currentQueryIndex=W}function Ti(W){const be=W[Nr];return 2===be.type?be.declTNode:1===be.type?W[Ie]:null}function ra(W,be,ft){if(4&ft){let sn=be,vn=W;for(;!(sn=sn.parent,null!==sn||1&ft||(sn=Ti(vn),null===sn||(vn=vn[Xn],10&sn.type))););if(null===sn)return!1;be=sn,W=vn}const Qt=Zn.lFrame=Ra();return Qt.currentTNode=be,Qt.lView=W,!0}function Dc(W){const be=Ra(),ft=W[Nr];Zn.lFrame=be,be.currentTNode=ft.firstChild,be.lView=W,be.tView=ft,be.contextLView=W,be.bindingIndex=ft.bindingStartIndex,be.inI18n=!1}function Ra(){const W=Zn.lFrame,be=null===W?null:W.child;return null===be?fs(W):be}function fs(W){const be={currentTNode:null,isParent:!0,lView:null,tView:null,
3selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:W,child:null,inI18n:!1};return null!==W&&(W.child=be),be}function Ma(){const W=Zn.lFrame;return Zn.lFrame=W.parent,W.currentTNode=null,W.lView=null,W}const jl=Ma;function Wl(){const W=Ma();W.isParent=!0,W.tView=null,W.selectedIndex=-1,W.contextLView=null,W.elementDepthCount=0,W.currentDirectiveIndex=-1,W.currentNamespace=null,W.bindingRootIndex=-1,W.bindingIndex=-1,W.currentQueryIndex=0}function oa(W){return(Zn.lFrame.contextLView=Ha(W,Zn.lFrame.contextLView))[Zt]}function Ac(){return Zn.lFrame.selectedIndex}function xo(W){Zn.lFrame.selectedIndex=W}function Sc(){const W=Zn.lFrame;return ea(W.tView,W.selectedIndex)}function Tc(){Zn.lFrame.currentNamespace=rn}function Pc(){Zn.lFrame.currentNamespace=qt}function fo(){!function va(){Zn.lFrame.currentNamespace=null}()}function Ps(){return Zn.lFrame.currentNamespace}let sa=!0;function Ic(){return sa}function Rc(W){sa=W}function Kl(W,be=null,ft=null,Qt){const sn=Vl(W,be,ft,Qt);return sn.resolveInjectorInitializers(),sn}function Vl(W,be=null,ft=null,Qt,sn=new Set){const vn=[ft||Ci,Re(W)];return Qt=Qt||("object"==typeof W?void 0:T(W)),new ir(vn,be||fr(),Qt||null,sn)}class hs{static THROW_IF_NOT_FOUND=Tt;static NULL=new Zi;static create(be,ft){if(Array.isArray(be))return Kl({name:""},ft,be,"");{const Qt=be.name??"";return Kl({name:Qt},be.parent,be.providers,Qt)}}static \u0275prov=pt({token:hs,providedIn:"any",factory:()=>Ht(ki)});static __NG_ELEMENT_ID__=-1}const fl=new st("");let hl=(()=>class W{static __NG_ELEMENT_ID__=Nc;static __NG_ENV_ID__=ft=>ft})();class Xo extends hl{_lView;constructor(be){super(),this._lView=be}get destroyed(){return fi(this._lView)}onDestroy(be){const ft=this._lView;return ks(ft,be),()=>Xr(ft,be)}}function Nc(){return new Xo(te())}class Ca{_console=console;handleError(be){this._console.error("ERROR",be)}}const es=new st("",{providedIn:"root",factory:()=>{const W=ot(Mr);let be;return ft=>{W.destroyed&&!be?setTimeout(()=>{throw ft}):(be??=W.get(Ca),be.handleError(ft))}}}),Na={provide:sr,useValue:()=>{ot(Ca)},multi:!0};function Ja(W){return"function"==typeof W&&void 0!==W[h.bh]}function Md(W,be){const[ft,Qt,sn]=(0,h.n5)(W,be?.equal),vn=ft;return vn.set=Qt,vn.update=sn,vn.asReadonly=pl.bind(vn),vn}function pl(){const W=this[h.bh];if(void 0===W.readonlyFn){const be=()=>this();be[h.bh]=W,W.readonlyFn=be}return W.readonlyFn}function aa(W){return Ja(W)&&"function"==typeof W.set}class la{}const vd=new st("",{providedIn:"root",factory:()=>!1}),Lc=new st("",{providedIn:"root",factory:()=>!1}),Hl=new st(""),ts=new st("");function Yl(W,be){if(null!==(0,h.nR)())throw new O(-602,!1)}let Gs=(()=>class W{view;node;constructor(ft,Qt){this.view=ft,this.node=Qt}static __NG_ELEMENT_ID__=Ho})();function Ho(){return new Gs(te(),Bt())}let Ql=(()=>{class W{taskId=0;pendingTasks=new Set;destroyed=!1;pendingTask=new C.t(!1);get hasPendingTasks(){return!this.destroyed&&this.pendingTask.value}get hasPendingTasksObservable(){return this.destroyed?new b.c(ft=>{ft.next(!1),ft.complete()}):this.pendingTask}add(){!this.hasPendingTasks&&!this.destroyed&&this.pendingTask.next(!0);const ft=this.taskId++;return this.pendingTasks.add(ft),ft}has(ft){return this.pendingTasks.has(ft)}remove(ft){this.pendingTasks.delete(ft),0===this.pendingTasks.size&&this.hasPendingTasks&&this.pendingTask.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks&&this.pendingTask.next(!1),this.destroyed=!0,this.pendingTask.unsubscribe()}static \u0275prov=pt({token:W,providedIn:"root",factory:()=>new W})}return W})(),ml=(()=>{class W{internalPendingTasks=ot(Ql);scheduler=ot(la);errorHandler=ot(es);add(){const ft=this.internalPendingTasks.add();return()=>{this.internalPendingTasks.has(ft)&&(this.scheduler.notify(11),this.internalPendingTasks.remove(ft))}}run(ft){const Qt=this.add();ft().catch(this.errorHandler).finally(Qt)}static \u0275prov=pt({token:W,providedIn:"root",factory:()=>new W})}return W})();function gl(...W){}let La=(()=>{class W{static \u0275prov=pt({token:W,providedIn:"root",factory:()=>new js})}return W})();
3class js{dirtyEffectCount=0;queues=new Map;add(be){this.enqueue(be),this.schedule(be)}schedule(be){be.dirty&&this.dirtyEffectCount++}remove(be){const Qt=this.queues.get(be.zone);Qt.has(be)&&(Qt.delete(be),be.dirty&&this.dirtyEffectCount--)}enqueue(be){const ft=be.zone;this.queues.has(ft)||this.queues.set(ft,new Set);const Qt=this.queues.get(ft);Qt.has(be)||Qt.add(be)}flush(){for(;this.dirtyEffectCount>0;){let be=!1;for(const[ft,Qt]of this.queues)be||=null===ft?this.flushQueue(Qt):ft.run(()=>this.flushQueue(Qt));be||(this.dirtyEffectCount=0)}}flushQueue(be){let ft=!1;for(const Qt of be)Qt.dirty&&(this.dirtyEffectCount--,ft=!0,Qt.run());return ft}}},3494:(qe,ee,o)=>{"use strict";o.d(ee,{s:()=>a});const a="function"==typeof Symbol&&Symbol.observable||"@@observable"},3700:(qe,ee,o)=>{"use strict";function a(u){return 0===u.buttons||0===u.detail}function t(u){const M=u.touches&&u.touches[0]||u.changedTouches&&u.changedTouches[0];return!(!M||-1!==M.identifier||null!=M.radiusX&&1!==M.radiusX||null!=M.radiusY&&1!==M.radiusY)}o.d(ee,{a:()=>t,i:()=>a})},4542:function(qe,ee,o){(function(){var a,u,M,r={}.hasOwnProperty;M=o(89700).isObject,u=o(79213),a=o(68886),qe.exports=function(_){function h(C,b,D,f){if(h.__super__.constructor.call(this,C),null==D)throw new Error("Missing DTD entity name. "+this.debugInfo(D));if(null==f)throw new Error("Missing DTD entity value. "+this.debugInfo(D));if(this.pe=!!b,this.name=this.stringify.name(D),this.type=a.EntityDeclaration,M(f)){if(!f.pubID&&!f.sysID)throw new Error("Public and/or system identifiers are required for an external entity. "+this.debugInfo(D));if(f.pubID&&!f.sysID)throw new Error("System identifier is required for a public external entity. "+this.debugInfo(D));if(this.internal=!1,null!=f.pubID&&(this.pubID=this.stringify.dtdPubID(f.pubID)),null!=f.sysID&&(this.sysID=this.stringify.dtdSysID(f.sysID)),null!=f.nData&&(this.nData=this.stringify.dtdNData(f.nData)),this.pe&&this.nData)throw new Error("Notation declaration is not allowed in a parameter entity. "+this.debugInfo(D))}else this.value=this.stringify.dtdEntityValue(f),this.internal=!0}return function(_,h){for(var C in h)r.call(h,C)&&(_[C]=h[C]);function b(){this.constructor=_}b.prototype=h.prototype,_.prototype=new b,_.__super__=h.prototype}(h,_),Object.defineProperty(h.prototype,"publicId",{get:function(){return this.pubID}}),Object.defineProperty(h.prototype,"systemId",{get:function(){return this.sysID}}),Object.defineProperty(h.prototype,"notationName",{get:function(){return this.nData||null}}),Object.defineProperty(h.prototype,"inputEncoding",{get:function(){return null}}),Object.defineProperty(h.prototype,"xmlEncoding",{get:function(){return null}}),Object.defineProperty(h.prototype,"xmlVersion",{get:function(){return null}}),h.prototype.toString=function(C){return this.options.writer.dtdEntity(this,this.options.writer.filterOptions(C))},h}(u)}).call(this)},4761:(qe,ee,o)=>{"use strict";o.d(ee,{l:()=>t});const t=function a(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},5040:(qe,ee,o)=>{"use strict";o.d(ee,{j:()=>Y});var a=o(92771),t=o(84412),u=o(7673),M=o(27468),v=o(96354),r=o(25558),_=o(99437),h=o(88141),C=o(96697),b=o(26427),D=o(21495),f=o(22193),O=o(13256),d=o(2615),L=o(29330),E=o(56846),se=o(90645);let Y=(()=>{class ne{get $loading(){return this._$loading.asObservable()}get $loadingFeatured(){return this._$loadingFeatured.asObservable()}get $loadingSearch(){return this._$loadingSearch.asObservable()}constructor(T,I,w){this._http=T,this._errorHandler=I,this._togglz=w,this.lastEmittedValue=null,this.groupingSuggestionsSubjectInitialized=!1,this.groupingSuggestionsSubject=new a.m(1),this.$workSubject=new a.m(1),this.$featuredWorkSubject=new a.m(1),this.offset=0,this.sortOrder="date",this.sortAsc=!1,this.pageSize=D.yQ,this.contributionRoles=b.SY,this.userRecordOptions={},this._$loading=new t.t(!0),this._$loadingFeatured=new t.t(!0),this._$loadingSearch=new t.t(!1)}sort(T=0,I="date",w=!1,Z){return this.getWorksData(T,I,w,Z).pipe((0,v.T)(N=>{this.lastEmittedValue=N,this.$workSubject.next(N)}),(0,r.n)(N=>this.$workSubject.asObservable()))}getWorks(T){let I;return T||(T={}),T?.cleanCacheIfExist&&this.$workSubject&&this.$workSubject.next(void 0),T.pageSize=T?.pageSize||D.yQ,T.offset=T.offset||0,this.pageSize=T.pageSize,this.offset=T.offset,this.sortOrder=T.sort,this.sortAsc=T.sortAsc,this._$loading.next(!0),I=T.publicRecordId?T.publicRecordId+"/worksExtendedPage.json":"works/worksExtendedPage.json",this._http.get(runtimeEnvironment.API_WEB+I+"?offset="+T.offset+"&sort="+(null!=T.sort?T.sort:"date")+"&sortAsc="
3+(null!=T.sortAsc&&T.sortAsc)+"&pageSize="+T.pageSize).pipe((0,O.jh)(),(0,_.W)(w=>this._errorHandler.handleError(w)),(0,_.W)(()=>(0,u.of)({groups:[]})),(0,v.T)(w=>(w.pageSize=T.pageSize,w.pageIndex=T.offset?Math.floor(T.offset/T.pageSize):0,w.groups=this.calculateVisibilityErrors(w.groups),w)),(0,h.M)(w=>{this._$loading.next(!1),this.lastEmittedValue=w,this.$workSubject.next(w)}),(0,h.M)(()=>{T.publicRecordId||this.getWorksGroupingSuggestions({force:!0})})).subscribe(),this.$workSubject.asObservable()}getFeaturedWorks(T){return this._$loadingFeatured.next(!0),this._togglz.getStateOf(f.i.FEATURED_WORKS_UI).pipe((0,C.s)(1)).subscribe(I=>{if(!I)return this._$loadingFeatured.next(!1),void this.$featuredWorkSubject.next([]);let w;w=T.publicRecordId?T.publicRecordId+"/featuredWorks.json":"works/featuredWorks.json",this._http.get(runtimeEnvironment.API_WEB+w).pipe((0,O.jh)(),(0,_.W)(Z=>this._errorHandler.handleError(Z)),(0,h.M)(Z=>{this._$loadingFeatured.next(!1),this.$featuredWorkSubject.next(Z)})).subscribe()}),this.$featuredWorkSubject.asObservable()}searchPublicWorks(T){return this._http.get(runtimeEnvironment.API_WEB+`works/searchWorksTitleToFeature.json?term=${encodeURIComponent(T)}`).pipe((0,O.jh)(),(0,_.W)(I=>this._errorHandler.handleError(I)),(0,v.T)(I=>({results:I.results.map(w=>({...w,title:{value:w.title},workType:{value:w.workType},putCode:{value:w.putCode},journalTitle:{value:w.journalTitle},translatedTitle:{value:w.translatedTitle},featuredDisplayIndex:w.featuredDisplayIndex,publicationDate:{day:w.publicationDay,month:w.publicationMonth,year:w.publicationYear},workExternalIdentifiers:[]})),total:I.totalCount})),(0,h.M)(()=>this._$loadingSearch.next(!1)))}updateFeaturedWorks(T,I=!1){return this._http.put(runtimeEnvironment.API_WEB+"works/featuredWorks.json",T).pipe((0,O.jh)(),(0,_.W)(w=>this._errorHandler.handleError(w)),(0,h.M)(()=>{this.getFeaturedWorks({forceReload:!0}),I&&this.getWorks({forceReload:!0})}))}calculateVisibilityErrors(T){return T?.map(I=>(I.visibilityError=!!I.works.find(w=>w.visibility.visibility!==I.activeVisibility),I))}changeUserRecordContext(T){return this.userRecordOptions=T,this.getWorks(T).pipe((0,C.s)(1))}getDetails(T,I){return this.getWorkInfo(T,I).pipe((0,h.M)(w=>{this.lastEmittedValue.groups.map(Z=>{Z.works=Z.works.map(N=>N.putCode.value===T?w:N)}),this.$workSubject.next(this.lastEmittedValue)}),(0,r.n)(()=>this.$workSubject.asObservable()))}getWorkInfo(T,I){return this._http.get(runtimeEnvironment.API_WEB+`${I?I+"/":"works/"}getWorkInfo.json?workId=${T}`).pipe((0,O.jh)(),(0,_.W)(w=>this._errorHandler.handleError(w)))}getWorksInfo(T,I){return this._http.get(runtimeEnvironment.API_WEB+`works/worksInfo/${T.join(",")}`).pipe((0,O.jh)(),(0,_.W)(w=>this._errorHandler.handleError(w)))}getWorksData(T,I,w,Z){return this._http.get(runtimeEnvironment.API_WEB+`${Z?Z+"/":"works/"}worksPage.json?offset=${T}&sort=${I}&sortAsc=${w}&pageSize=50`).pipe((0,O.jh)(),(0,_.W)(N=>this._errorHandler.handleError(N)))}save(T,I=!1,w=!0){return this._http.post(runtimeEnvironment.API_WEB+"works/work.json",T).pipe((0,O.jh)(),(0,_.W)(Z=>this._errorHandler.handleError(Z)),(0,h.M)(()=>{w&&this.getWorks({forceReload:!0}),I&&this.getFeaturedWorks({forceReload:!0})}))}getWork(){return this._http.get(runtimeEnvironment.API_WEB+"works/work.json").pipe((0,O.jh)(),(0,v.T)(T=>(T.workExternalIdentifiers=[],T)),(0,_.W)(T=>this._errorHandler.handleError(T)))}set(T){throw new Error("Method not implemented.")}updateVisibility(T,I,w=!1){const Z={forceReload:!0,offset:this.offset,sort:this.sortOrder,sortAsc:this.sortAsc};return this._http.post(runtimeEnvironment.API_WEB+"works/"+T+"/visibility/"+I,null).pipe((0,O.jh)(),(0,_.W)(N=>this._errorHandler.handleError(N)),(0,h.M)(()=>this.getWorks(Z)&&w&&this.getFeaturedWorks({forceReload:!0})))}updatePreferredSource(T){return this._http.get(runtimeEnvironment.API_WEB+"works/updateToMaxDisplay.json?putCode="+T).pipe((0,O.jh)(),(0,_.W)(I=>this._errorHandler.handleError(I)),(0,h.M)(()=>this.getWorks({...this.userRecordOptions,forceReload:!0})))}loadWorkIdTypes(){return this._http.get(`${runtimeEnvironment.API_WEB}works/idTypes.json?query=`).pipe((0,O.jh)(),(0,_.W)(T=>this._errorHandler.handleError(T)))}validateWorkIdTypes(T,I){return this._http.get(`${runtimeEnvironment.API_WEB}works/id/${T}?value=${I}
3`).pipe((0,O.jh)(),(0,_.W)(w=>this._errorHandler.handleError(w)))}delete(T,I){return this._http.delete(runtimeEnvironment.API_WEB+"works/"+(Array.isArray(T)?T.join(","):T)).pipe((0,O.jh)(),(0,_.W)(w=>this._errorHandler.handleError(w)),(0,h.M)(()=>{this.getWorks({forceReload:!0}),I&&this.getFeaturedWorks({forceReload:!0})}))}combine(T){return this.combinePutCodes(T.join(","))}combinePutCodes(T){return this._http.post(runtimeEnvironment.API_WEB+"works/group/"+T,{}).pipe((0,O.jh)(),(0,_.W)(I=>this._errorHandler.handleError(I)),(0,h.M)(()=>this.getWorks({forceReload:!0})))}visibility(T,I){return this._http.post(runtimeEnvironment.API_WEB+"works/"+T.join(",")+"/visibility/"+I,null).pipe((0,O.jh)(),(0,_.W)(w=>this._errorHandler.handleError(w)),(0,h.M)(()=>this.getWorks({forceReload:!0})))}export(){return this._http.get(runtimeEnvironment.API_WEB+"works/works.bib",{responseType:"text"})}exportSelected(T){return this._http.get(runtimeEnvironment.API_WEB+"works/export/bibtex?workIdsStr="+T.join(","),{responseType:"text"})}loadWorkImportWizardList(){return this._togglz.getStateOf(f.i.SEARCH_AND_LINK_WIZARD_WITH_CERTIFIED_AND_FEATURED_LINKS).pipe((0,C.s)(1),(0,r.n)(T=>this._http.get(runtimeEnvironment.API_WEB+(T?"workspace/retrieve-works-search-and-link-wizard.json":"workspace/retrieve-work-import-wizards.json"))))}getImportWorksDialogDataSkeleton(){return this._getImportWorksDialogDataStatic([],[],!0)}_getImportWorksDialogDataStatic(T,I,w){return{...void 0!==w&&{loading:w},title:"Import your works",introText:"These services can help you update your ORCID record quickly by searching for your research outputs from various databases. Connect to a service to grant permission and add selected research outputs to your ORCID record.",supportLink:{url:"https://support.orcid.org/hc/en-us/articles/360006973653-Add-works-by-direct-import-from-other-systems",label:"Find out more about importing works into your ORCID record"},certifiedSectionHeading:"ORCID Certified Services",moreServicesHeading:"More Services",connectNowLabel:"Connect now",connectedLabel:"Connected",closeAriaLabel:"Close Import your works",showMoreServicesAriaLabel:"Show more services",hideMoreServicesAriaLabel:"Hide more services",connectNowAriaLabelTemplate:"Connect with {{name}} now",connectedAriaLabelTemplate:"Connected with {{name}}",certifiedLinks:T,moreServicesLinks:I,placeholderIconUrl:"assets/vectors/CSPs/csp-placeholder.svg"}}loadSearchAndLinkWizardDialogData(T){const I=this._http.get(runtimeEnvironment.API_WEB+"workspace/retrieve-works-search-and-link-wizard.json"),w=runtimeEnvironment.CERTIFIED_LINKS_LOCALIZE_BASE_URL?.replace(/\/$/,""),Z=w?`${w}/works-search-and-link.${T}.properties`:null,N=Z?this._http.get(Z,{responseType:"text"}).pipe((0,_.W)(()=>(0,u.of)(""))):(0,u.of)("");return(0,M.p)({list:I,localize:N}).pipe((0,v.T)(({list:oe,localize:H})=>{const ie=this._parsePropertiesFile(H),Ce=[],Ue=[],nt=[];for(const Xe of oe){const et=Xe.redirectUriMetadata?.type,xe=Xe.connected??!1,De=Xe.name??"",de=this._buildOAuthAuthorizeUrl(Xe.id,Xe.scopes??"",Xe.redirectUri??""),ae=Xe.redirectUriMetadata?.logoUrl,X="string"==typeof ae&&""!==ae.trim()?ae.trim():void 0;"Certified"===et?Ce.push({link:{name:De,description:ie[`${Xe.id}-client-description`]??ie[Xe.id]??Xe.redirectUriMetadata?.defaultDescription??Xe.description??"",url:de,connected:xe,imageUrl:X},index:Xe.redirectUriMetadata?.index??999}):"Featured"===et?Ue.push({link:{name:De,description:ie[`${Xe.id}-client-description`]??ie[Xe.id]??Xe.redirectUriMetadata?.defaultDescription??Xe.description??"",url:de,imageUrl:X},index:Xe.redirectUriMetadata?.index??999}):nt.push({name:De,description:ie[`${Xe.id}-client-description`]??ie[Xe.id]??Xe.redirectUriMetadata?.defaultDescription??Xe.description??"",url:de,imageUrl:X})}Ce.sort((Xe,et)=>Xe.index-et.index);const we=Ce.map(Xe=>Xe.link);Ue.sort((Xe,et)=>Xe.index-et.index),nt.sort((Xe,et)=>Xe.name.localeCompare(et.name,void 0,{sensitivity:"base"}));const at=[...Ue.map(Xe=>Xe.link),...nt];return this._getImportWorksDialogDataStatic(we,at,!1)}))}_buildOAuthAuthorizeUrl(T,I,w){return(runtimeEnvironment.BASE_URL??"")+"oauth/authorize?client_id="+encodeURIComponent(T)+"&response_type=code&scope="+encodeURIComponent(I)+"&redirect_uri="+encodeURIComponent(w)}_parsePropertiesFile(T){const I={};if(!T||"string"!=typeof T)return I;const w=T.split(/\r?\n/);for(const Z of w){const N=Z.trim();if(!N||N.startsWith("#"))continue;const oe=N.indexOf("=");if(oe<0)continue;const H=N.slice(0,oe).trim();let ie=N.slice(oe+1).trim();
3ie=ie.replace(/\\n/g,"\n").replace(/\\t/g,"\t").replace(/\\\\/g,"\\"),I[H]=ie}return I}loadExternalId(T,I){let w="works/resolve/doi?value=";return I===D.V0.pubMed&&(w=new RegExp(/((.*[\/,\\](pmc))|(PMC)\/?\d{5})/g).exec(T)?"works/resolve/pmc/?value=":"works/resolve/pmid?value="),this._http.get(runtimeEnvironment.API_WEB+w+T)}worksValidate(T){return this._http.post(runtimeEnvironment.API_WEB+"works/worksValidate.json",JSON.stringify(T),{headers:{"Access-Control-Allow-Origin":"*"}})}getWorksGroupingSuggestions(T={force:!1}){return(T.force||!this.groupingSuggestionsSubjectInitialized)&&(this.groupingSuggestionsSubjectInitialized=!0,this._http.get(runtimeEnvironment.API_WEB+"works/groupingSuggestions.json",{headers:{"Access-Control-Allow-Origin":"*"}}).subscribe(I=>this.groupingSuggestionsSubject.next(I))),this.groupingSuggestionsSubject.asObservable()}getContributionRoleByKey(T){return this.contributionRoles.find(I=>I.key===T)||b.zH.find(I=>I.key===T)}static{this.\u0275fac=function(I){return new(I||ne)(d.KVO(L.Qq),d.KVO(E.c),d.KVO(se.v))}}static{this.\u0275prov=d.jDH({token:ne,factory:ne.\u0275fac,providedIn:"root"})}}return ne})()},5964:(qe,ee,o)=>{"use strict";o.d(ee,{p:()=>u});var a=o(39974),t=o(54360);function u(M,v){return(0,a.N)((r,_)=>{let h=0;r.subscribe((0,t._)(_,C=>M.call(v,C,h++)&&_.next(C)))})}},6229:(qe,ee,o)=>{"use strict";o.d(ee,{M:()=>M});var a=o(73664),t=o(2615),u=o(21715);let M=(()=>{class v{static \u0275fac=function(h){return new(h||v)};static \u0275mod=a.$C({type:v});static \u0275inj=t.G2t({imports:[u.M,u.M]})}return v})()},6450:(qe,ee,o)=>{"use strict";o.d(ee,{I:()=>M});var a=o(96354);const{isArray:t}=Array;function M(v){return(0,a.T)(r=>function u(v,r){return t(r)?v(...r):v(r)}(v,r))}},6620:(qe,ee,o)=>{!function(a){a.parser=function($,K){return new u($,K)},a.SAXParser=u,a.SAXStream=b,a.createStream=function C($,K){return new b($,K)},a.MAX_BUFFER_LENGTH=65536;var _,t=["comment","sgmlDecl","textNode","tagName","doctype","procInstName","procInstBody","entity","attribName","attribValue","cdata","script"];function u($,K){if(!(this instanceof u))return new u($,K);var Be=this;(function v($){for(var K=0,Be=t.length;K<Be;K++)$[t[K]]=""})(Be),Be.q=Be.c="",Be.bufferCheckPosition=a.MAX_BUFFER_LENGTH,Be.opt=K||{},Be.opt.lowercase=Be.opt.lowercase||Be.opt.lowercasetags,Be.looseCase=Be.opt.lowercase?"toLowerCase":"toUpperCase",Be.tags=[],Be.closed=Be.closedRoot=Be.sawRoot=!1,Be.tag=Be.error=null,Be.strict=!!$,Be.noscript=!(!$&&!Be.opt.noscript),Be.state=N.BEGIN,Be.strictEntities=Be.opt.strictEntities,Be.ENTITIES=Object.create(Be.strictEntities?a.XML_ENTITIES:a.ENTITIES),Be.attribList=[],Be.opt.xmlns&&(Be.ns=Object.create(L)),void 0===Be.opt.unquotedAttributeValues&&(Be.opt.unquotedAttributeValues=!$),Be.trackPosition=!1!==Be.opt.position,Be.trackPosition&&(Be.position=Be.line=Be.column=0),H(Be,"onready")}a.EVENTS=["text","processinginstruction","sgmldeclaration","doctype","comment","opentagstart","attribute","opentag","closetag","opencdata","cdata","closecdata","error","end","ready","script","opennamespace","closenamespace"],Object.create||(Object.create=function($){function K(){}return K.prototype=$,new K}),Object.keys||(Object.keys=function($){var K=[];for(var Be in $)$.hasOwnProperty(Be)&&K.push(Be);return K}),u.prototype={end:function(){we(this)},write:function X($){var K=this;if(this.error)throw this.error;if(K.closed)return nt(K,"Cannot write after close. Assign an onready handler.");if(null===$)return we(K);"object"==typeof $&&($=$.toString());for(var Be=0,Ye="";Ye=ae($,Be++),K.c=Ye,Ye;)switch(K.trackPosition&&(K.position++,"\n"===Ye?(K.line++,K.column=0):K.column++),K.state){case N.BEGIN:if(K.state=N.BEGIN_WHITESPACE,"\ufeff"===Ye)continue;de(K,Ye);continue;case N.BEGIN_WHITESPACE:de(K,Ye);continue;case N.TEXT:if(K.sawRoot&&!K.closedRoot){for(var Se=Be-1;Ye&&"<"!==Ye&&"&"!==Ye;)(Ye=ae($,Be++))&&K.trackPosition&&(K.position++,"\n"===Ye?(K.line++,K.column=0):K.column++);K.textNode+=$.substring(Se,Be-1)}"<"!==Ye||K.sawRoot&&K.closedRoot&&!K.strict?(!U(Ye)&&(!K.sawRoot||K.closedRoot)&&at(K,"Text data outside of root node."),"&"===Ye?K.state=N.TEXT_ENTITY:K.textNode+=Ye):(K.state=N.OPEN_WAKA,K.startTagPosition=K.position);continue;case N.SCRIPT:"<"===Ye?K.state=N.SCRIPT_ENDING:K.script+=Ye;continue;case N.SCRIPT_ENDING:"/"===Ye?K.state=N.CLOSE_TAG:(K.script+="<"+Ye,K.state=N.SCRIPT);continue;case N.OPEN_WAKA:"!"===Ye?(K.state=N.SGML_DECL,K.sgmlDecl=""):U(Ye)||(w(E,Ye)?(K.state=N.OPEN_TAG,K.tagName=Ye):"/"===Ye?(K.state=N.CLOSE_TAG,K.tagName=""):"?"===Ye?(K.state=N.PROC_INST,K.procInstName=K.procInstBody=""):(at(K,"Unencoded <"),K.startTagPosition+1<K.position&&(Ye=ne
vendor: 6,716 bytes, line 3
3w Array(K.position-K.startTagPosition).join(" ")+Ye),K.textNode+="<"+Ye,K.state=N.TEXT));continue;case N.SGML_DECL:if(K.sgmlDecl+Ye==="--"){K.state=N.COMMENT,K.comment="",K.sgmlDecl="";continue}K.doctype&&!0!==K.doctype&&K.sgmlDecl?(K.state=N.DOCTYPE_DTD,K.doctype+="<!"+K.sgmlDecl+Ye,K.sgmlDecl=""):(K.sgmlDecl+Ye).toUpperCase()===D?(ie(K,"onopencdata"),K.state=N.CDATA,K.sgmlDecl="",K.cdata=""):(K.sgmlDecl+Ye).toUpperCase()===f?(K.state=N.DOCTYPE,(K.doctype||K.sawRoot)&&at(K,"Inappropriately located doctype declaration"),K.doctype="",K.sgmlDecl=""):">"===Ye?(ie(K,"onsgmldeclaration",K.sgmlDecl),K.sgmlDecl="",K.state=N.TEXT):(T(Ye)&&(K.state=N.SGML_DECL_QUOTED),K.sgmlDecl+=Ye);continue;case N.SGML_DECL_QUOTED:Ye===K.q&&(K.state=N.SGML_DECL,K.q=""),K.sgmlDecl+=Ye;continue;case N.DOCTYPE:">"===Ye?(K.state=N.TEXT,ie(K,"ondoctype",K.doctype),K.doctype=!0):(K.doctype+=Ye,"["===Ye?K.state=N.DOCTYPE_DTD:T(Ye)&&(K.state=N.DOCTYPE_QUOTED,K.q=Ye));continue;case N.DOCTYPE_QUOTED:K.doctype+=Ye,Ye===K.q&&(K.q="",K.state=N.DOCTYPE);continue;case N.DOCTYPE_DTD:"]"===Ye?(K.doctype+=Ye,K.state=N.DOCTYPE):"<"===Ye?(K.state=N.OPEN_WAKA,K.startTagPosition=K.position):T(Ye)?(K.doctype+=Ye,K.state=N.DOCTYPE_DTD_QUOTED,K.q=Ye):K.doctype+=Ye;continue;case N.DOCTYPE_DTD_QUOTED:K.doctype+=Ye,Ye===K.q&&(K.state=N.DOCTYPE_DTD,K.q="");continue;case N.COMMENT:"-"===Ye?K.state=N.COMMENT_ENDING:K.comment+=Ye;continue;case N.COMMENT_ENDING:"-"===Ye?(K.state=N.COMMENT_ENDED,K.comment=Ue(K.opt,K.comment),K.comment&&ie(K,"oncomment",K.comment),K.comment=""):(K.comment+="-"+Ye,K.state=N.COMMENT);continue;case N.COMMENT_ENDED:">"!==Ye?(at(K,"Malformed comment"),K.comment+="--"+Ye,K.state=N.COMMENT):K.state=K.doctype&&!0!==K.doctype?N.DOCTYPE_DTD:N.TEXT;continue;case N.CDATA:"]"===Ye?K.state=N.CDATA_ENDING:K.cdata+=Ye;continue;case N.CDATA_ENDING:"]"===Ye?K.state=N.CDATA_ENDING_2:(K.cdata+="]"+Ye,K.state=N.CDATA);continue;case N.CDATA_ENDING_2:">"===Ye?(K.cdata&&ie(K,"oncdata",K.cdata),ie(K,"onclosecdata"),K.cdata="",K.state=N.TEXT):"]"===Ye?K.cdata+="]":(K.cdata+="]]"+Ye,K.state=N.CDATA);continue;case N.PROC_INST:"?"===Ye?K.state=N.PROC_INST_ENDING:U(Ye)?K.state=N.PROC_INST_BODY:K.procInstName+=Ye;continue;case N.PROC_INST_BODY:if(!K.procInstBody&&U(Ye))continue;"?"===Ye?K.state=N.PROC_INST_ENDING:K.procInstBody+=Ye;continue;case N.PROC_INST_ENDING:">"===Ye?(ie(K,"onprocessinginstruction",{name:K.procInstName,body:K.procInstBody}),K.procInstName=K.procInstBody="",K.state=N.TEXT):(K.procInstBody+="?"+Ye,K.state=N.PROC_INST_BODY);continue;case N.OPEN_TAG:w(se,Ye)?K.tagName+=Ye:(Xe(K),">"===Ye?De(K):"/"===Ye?K.state=N.OPEN_TAG_SLASH:(U(Ye)||at(K,"Invalid character in tag name"),K.state=N.ATTRIB));continue;case N.OPEN_TAG_SLASH:">"===Ye?(De(K,!0),ue(K)):(at(K,"Forward-slash in opening tag not followed by >"),K.state=N.ATTRIB);continue;case N.ATTRIB:if(U(Ye))continue;">"===Ye?De(K):"/"===Ye?K.state=N.OPEN_TAG_SLASH:w(E,Ye)?(K.attribName=Ye,K.attribValue="",K.state=N.ATTRIB_NAME):at(K,"Invalid attribute name");continue;case N.ATTRIB_NAME:"="===Ye?K.state=N.ATTRIB_VALUE:">"===Ye?(at(K,"Attribute without value"),K.attribValue=K.attribName,xe(K),De(K)):U(Ye)?K.state=N.ATTRIB_NAME_SAW_WHITE:w(se,Ye)?K.attribName+=Ye:at(K,"Invalid attribute name");continue;case N.ATTRIB_NAME_SAW_WHITE:if("="===Ye)K.state=N.ATTRIB_VALUE;else{if(U(Ye))continue;at(K,"Attribute without value"),K.tag.attributes[K.attribName]="",K.attribValue="",ie(K,"onattribute",{name:K.attribName,value:""}),K.attribName="",">"===Ye?De(K):w(E,Ye)?(K.attribName=Ye,K.state=N.ATTRIB_NAME):(at(K,"Invalid attribute name"),K.state=N.ATTRIB)}continue;case N.ATTRIB_VALUE:if(U(Ye))continue;T(Ye)?(K.q=Ye,K.state=N.ATTRIB_VALUE_QUOTED):(K.opt.unquotedAttributeValues||nt(K,"Unquoted attribute value"),K.state=N.ATTRIB_VALUE_UNQUOTED,K.attribValue=Ye);continue;case N.ATTRIB_VALUE_QUOTED:if(Ye!==K.q){"&"===Ye?K.state=N.ATTRIB_VALUE_ENTITY_Q:K.attribValue+=Ye;continue}xe(K),K.q="",K.state=N.ATTRIB_VALUE_CLOSED;continue;case N.ATTRIB_VALUE_CLOSED:U(Ye)?K.state=N.ATTRIB:">"===Ye?De(K):"/"===Ye?K.state=N.OPEN_TAG_SLASH:w(E,Ye)?(at(K,"No whitespace between attributes"),K.attribName=Ye,K.attribValue="",K.state=N.ATTRIB_NAME):at(K,"Invalid attribute name");continue;case N.ATTRIB_VALUE_UNQUOTED:if(!I(Ye)){"&"===Ye?K.state=N.ATTRIB_VALUE_ENTITY_U:K.attribValue+=Ye;continue}xe(K),">"===Ye?De(K):K.state=N.ATTRIB;continue;case N.CLOSE_TAG:if(K.tagName)">"===Ye?ue(K):w(se,Ye)?K.tagName+=Ye:K.script?(K.script+="</"+K.tagName,K.tagName="",K.state=N.SCRIPT):(U(Ye)||at(K,"Invalid tagname in closing tag"),K.state=N.CLOSE_TAG_SAW_WHITE);else{if(U(Ye))continue;Z(E,Ye)?K.script?(K.script+="</"+Ye,K.state=N.SCRIPT):at(K,"Invalid tagname in closing tag."):K.tagName=Ye}continue;case N.CLOSE_TAG_SAW_WHITE:if(U(Ye))continue;">"===Ye?ue(K):at(K,"Invalid characters in closing tag");continue;case N.TEXT_ENTITY:case N.ATTRIB_VALUE_ENTITY_Q:case N.ATTRIB_VALUE_ENTITY_U:var Ge,bt;switch(K.state){case N.TEXT_ENTITY:Ge=N.TEXT,bt="textNode";break;case N.ATTRIB_VALUE_ENTITY_Q:Ge=N.ATTRIB_VALUE_QUOTED,bt="attribValue";break;case N.ATTRIB_VALUE_ENTITY_U:Ge=N.ATTRIB_VALUE_UNQUOTED,bt="attribValue"}if(";"===Ye){var me=z(K);K.opt.unparsedEntities&&!Object.values(a.XML_ENTITIES).includes(me)?(K.entity="",K.state=Ge,K.write(me)):(K[bt]+=me,K.entity="",K.state=Ge)}else w(K.entity.length?ne:Y,Ye)?K.entity+=Ye:(at(K,"Invalid character in entity name"),K[bt]+="&"+K.entity+Ye,K.entity="",K.state=Ge);continue;default:throw new Error(K,"Unknown state: "+K.state)}return K.position>=K.bufferCheckPosition&&function M($){for(var K=Math.max(a.MAX_BUFFER_LENGTH,10),Be=0,Ye=0,Se=t.length;Ye<Se;Ye++){var pt=$[t[Ye]].length;if(pt>K)switch(t[Ye]){case"textNode":Ce($);break;case"cdata":ie($,"oncdata",$.cdata),$.cdata="";break;case"script":ie($,"onscript",$.script),$.script="";break;default:nt($,"Max buffer length exceeded: "+t[Ye])}Be=Math.max(Be,pt)}$.bufferCheckPosition=a.MAX_BUFFER_LENGTH-Be+$.position}(K),K},resume:function(){return this.error=null,this},close:function(){return this.write(null)},flush:function(){!function r($){Ce($),""!==$.cdata&&(ie($,"oncdata",$.cdata),$.cdata=""),""!==$.script&&(ie($,"onscript",$.script),$.script="")}(this)}};try{_=o(14792).Stream}catch{_=function(){}}_||(_=function(){});var h=a.EVENTS.filter(function($){return"error"!==$&&"end"!==$});function b($,K){if(!(this instanceof b))return new b($,K);_.apply(this),this._parser=new u($,K),this.writable=!0,this.readable=!0;var Be=this;this._parser.onend=function(){Be.emit("end")},this._parser.onerror=function(Ye){Be.emit("error",Ye),Be._parser.error=null},this._decoder=null,h.forEach(function(Ye){Object.defineProperty(Be,"on"+Ye,{get:function(){return Be._parser["on"+Ye]}
3,set:function(Se){if(!Se)return Be.removeAllListeners(Ye),Be._parser["on"+Ye]=Se,Se;Be.on(Ye,Se)},enumerable:!0,configurable:!1})})}(b.prototype=Object.create(_.prototype,{constructor:{value:b}})).write=function($){if("function"==typeof Buffer&&"function"==typeof Buffer.isBuffer&&Buffer.isBuffer($)){if(!this._decoder){var K=o(78454).I;this._decoder=new K("utf8")}$=this._decoder.write($)}return this._parser.write($.toString()),this.emit("data",$),!0},b.prototype.end=function($){return $&&$.length&&this.write($),this._parser.end(),!0},b.prototype.on=function($,K){var Be=this;return!Be._parser["on"+$]&&-1!==h.indexOf($)&&(Be._parser["on"+$]=function(){var Ye=1===arguments.length?[arguments[0]]:Array.apply(null,arguments);Ye.splice(0,0,$),Be.emit.apply(Be,Ye)}),_.prototype.on.call(Be,$,K)};var D="[CDATA[",f="DOCTYPE",O="http://www.w3.org/XML/1998/namespace",d="http://www.w3.org/2000/xmlns/",L={xml:O,xmlns:d},E=/[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,se=/[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040.\d-]/,Y=/[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,ne=/[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040.\d-]/;function U($){return" "===$||"\n"===$||"\r"===$||"\t"===$}function T($){return'"'===$||"'"===$}function I($){return">"===$||U($)}function w($,K){return $.test(K)}function Z($,K){return!w($,K)}var $,K,Be,N=0;for(var oe in a.STATE={BEGIN:N++,BEGIN_WHITESPACE:N++,TEXT:N++,TEXT_ENTITY:N++,OPEN_WAKA:N++,SGML_DECL:N++,SGML_DECL_QUOTED:N++,DOCTYPE:N++,DOCTYPE_QUOTED:N++,DOCTYPE_DTD:N++,DOCTYPE_DTD_QUOTED:N++,COMMENT_STARTING:N++,COMMENT:N++,COMMENT_ENDING:N++,COMMENT_ENDED:N++,CDATA:N++,CDATA_ENDING:N++,CDATA_ENDING_2:N++,PROC_INST:N++,PROC_INST_BODY:N++,PROC_INST_ENDING:N++,OPEN_TAG:N++,OPEN_TAG_SLASH:N++,ATTRIB:N++,ATTRIB_NAME:N++,ATTRIB_NAME_SAW_WHITE:N++,ATTRIB_VALUE:N++,ATTRIB_VALUE_QUOTED:N++,ATTRIB_VALUE_CLOSED:N++,ATTRIB_VALUE_UNQUOTED:N++,ATTRIB_VALUE_ENTITY_Q:N++,ATTRIB_VALUE_ENTITY_U:N++,CLOSE_TAG:N++,CLOSE_TAG_SAW_WHITE:N++,SCRIPT:N++,SCRIPT_ENDING:N++},a.XML_ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'"},a.ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'",AElig:198,Aacute:193,Acirc:194,Agrave:192,Aring:197,Atilde:195,Auml:196,Ccedil:199,ETH:208,Eacute:201,Ecirc:202,Egrave:200,Euml:203,Iacute:205,Icirc:206,Igrave:204,Iuml:207,Ntilde:209,Oacute:211,Ocirc:212,Ograve:210,Oslash:216,Otilde:213,Ouml:214,THORN:222,Uacute:218,Ucirc:219,Ugrave:217,Uuml:220,Yacute:221,aacute:225,acirc:226,aelig:230,agrave:224,aring:229,atilde:227,auml:228,ccedil:231,eacute:233,ecirc:234,egrave:232,eth:240,euml:235,iacute:237,icirc:238,igrave:236,iuml:239,ntilde:241,oacute:243,ocirc:244,ograve:242,oslash:248,otilde:245,ouml:246,szlig:223,thorn:254,uacute:250,ucirc:251,ugrave:249,uuml:252,yacute:253,yuml:255,copy:169,reg:1
vendor: 4,110 bytes, line 3
374,nbsp:160,iexcl:161,cent:162,pound:163,curren:164,yen:165,brvbar:166,sect:167,uml:168,ordf:170,laquo:171,not:172,shy:173,macr:175,deg:176,plusmn:177,sup1:185,sup2:178,sup3:179,acute:180,micro:181,para:182,middot:183,cedil:184,ordm:186,raquo:187,frac14:188,frac12:189,frac34:190,iquest:191,times:215,divide:247,OElig:338,oelig:339,Scaron:352,scaron:353,Yuml:376,fnof:402,circ:710,tilde:732,Alpha:913,Beta:914,Gamma:915,Delta:916,Epsilon:917,Zeta:918,Eta:919,Theta:920,Iota:921,Kappa:922,Lambda:923,Mu:924,Nu:925,Xi:926,Omicron:927,Pi:928,Rho:929,Sigma:931,Tau:932,Upsilon:933,Phi:934,Chi:935,Psi:936,Omega:937,alpha:945,beta:946,gamma:947,delta:948,epsilon:949,zeta:950,eta:951,theta:952,iota:953,kappa:954,lambda:955,mu:956,nu:957,xi:958,omicron:959,pi:960,rho:961,sigmaf:962,sigma:963,tau:964,upsilon:965,phi:966,chi:967,psi:968,omega:969,thetasym:977,upsih:978,piv:982,ensp:8194,emsp:8195,thinsp:8201,zwnj:8204,zwj:8205,lrm:8206,rlm:8207,ndash:8211,mdash:8212,lsquo:8216,rsquo:8217,sbquo:8218,ldquo:8220,rdquo:8221,bdquo:8222,dagger:8224,Dagger:8225,bull:8226,hellip:8230,permil:8240,prime:8242,Prime:8243,lsaquo:8249,rsaquo:8250,oline:8254,frasl:8260,euro:8364,image:8465,weierp:8472,real:8476,trade:8482,alefsym:8501,larr:8592,uarr:8593,rarr:8594,darr:8595,harr:8596,crarr:8629,lArr:8656,uArr:8657,rArr:8658,dArr:8659,hArr:8660,forall:8704,part:8706,exist:8707,empty:8709,nabla:8711,isin:8712,notin:8713,ni:8715,prod:8719,sum:8721,minus:8722,lowast:8727,radic:8730,prop:8733,infin:8734,ang:8736,and:8743,or:8744,cap:8745,cup:8746,int:8747,there4:8756,sim:8764,cong:8773,asymp:8776,ne:8800,equiv:8801,le:8804,ge:8805,sub:8834,sup:8835,nsub:8836,sube:8838,supe:8839,oplus:8853,otimes:8855,perp:8869,sdot:8901,lceil:8968,rceil:8969,lfloor:8970,rfloor:8971,lang:9001,rang:9002,loz:9674,spades:9824,clubs:9827,hearts:9829,diams:9830},Object.keys(a.ENTITIES).forEach(function($){var K=a.ENTITIES[$],Be="number"==typeof K?String.fromCharCode(K):K;a.ENTITIES[$]=Be}),a.STATE)a.STATE[a.STATE[oe]]=oe;function H($,K,Be){$[K]&&$[K](Be)}function ie($,K,Be){$.textNode&&Ce($),H($,K,Be)}function Ce($){$.textNode=Ue($.opt,$.textNode),$.textNode&&H($,"ontext",$.textNode),$.textNode=""}function Ue($,K){return $.trim&&(K=K.trim()),$.normalize&&(K=K.replace(/\s+/g," ")),K}function nt($,K){return Ce($),$.trackPosition&&(K+="\nLine: "+$.line+"\nColumn: "+$.column+"\nChar: "+$.c),K=new Error(K),$.error=K,H($,"onerror",K),$}function we($){return $.sawRoot&&!$.closedRoot&&at($,"Unclosed root tag"),$.state!==N.BEGIN&&$.state!==N.BEGIN_WHITESPACE&&$.state!==N.TEXT&&nt($,"Unexpected end"),Ce($),$.c="",$.closed=!0,H($,"onend"),u.call($,$.strict,$.opt),$}function at($,K){if("object"!=typeof $||!($ instanceof u))throw new Error("bad call to strictFail");$.strict&&nt($,K)}function Xe($){$.strict||($.tagName=$.tagName[$.looseCase]());var K=$.tags[$.tags.length-1]||$,Be=$.tag={name:$.tagName,attributes:{}};$.opt.xmlns&&(Be.ns=K.ns),$.attribList.length=0,ie($,"onopentagstart",Be)}function et($,K){var Ye=$.indexOf(":")<0?["",$]:$.split(":"),Se=Ye[0],pt=Ye[1];return K&&"xmlns"===$&&(Se="xmlns",pt=""),{prefix:Se,local:pt}}function xe($){if($.strict||($.attribName=$.attribName[$.looseCase]()),-1!==$.attribList.indexOf($.attribName)||$.tag.attributes.hasOwnProperty($.attribName))$.attribName=$.attribValue="";else{if($.opt.xmlns){var K=et($.attribName,!0),Ye=K.local;if("xmlns"===K.prefix)if("xml"===Ye&&$.attribValue!==O)at($,"xml: prefix must be bound to "+O+"\nActual: "+$.attribValue);else if("xmlns"===Ye&&$.attribValue!==d)at($,"xmlns: prefix must be bound to "+d+"\nActual: "+$.attribValue);else{var Se=$.tag,pt=$.tags[$.tags.length-1]||$;Se.ns===pt.ns&&(Se.ns=Object.create(pt.ns)),Se.ns[Ye]=$.attribValue}$.attribList.push([$.attribName,$.attribValue])}else $.tag.attributes[$.attribName]=$.attribValue,ie($,"onattribute",{name:$.attribName,value:$.attribValue});$.attribName=$.attribValue=""}}function De($,K){if($.opt.xmlns){var Be=$.tag,Ye=et($.tagName);Be.prefix=Ye.prefix,Be.local=Ye.local,Be.uri=Be.ns[Ye.prefix]||"",Be.prefix&&!Be.uri&&(at($,"Unbound namespace prefix: "+JSON.stringify($.tagName)),Be.ur
3i=Ye.prefix),Be.ns&&($.tags[$.tags.length-1]||$).ns!==Be.ns&&Object.keys(Be.ns).forEach(function(st){ie($,"onopennamespace",{prefix:st,uri:Be.ns[st]})});for(var pt=0,Ge=$.attribList.length;pt<Ge;pt++){var bt=$.attribList[pt],me=bt[0],J=bt[1],R=et(me,!0),x=R.prefix,Pe=""===x?"":Be.ns[x]||"",pe={name:me,value:J,prefix:x,local:R.local,uri:Pe};x&&"xmlns"!==x&&!Pe&&(at($,"Unbound namespace prefix: "+JSON.stringify(x)),pe.uri=x),$.tag.attributes[me]=pe,ie($,"onattribute",pe)}$.attribList.length=0}$.tag.isSelfClosing=!!K,$.sawRoot=!0,$.tags.push($.tag),ie($,"onopentag",$.tag),K||($.state=$.noscript||"script"!==$.tagName.toLowerCase()?N.TEXT:N.SCRIPT,$.tag=null,$.tagName=""),$.attribName=$.attribValue="",$.attribList.length=0}function ue($){if(!$.tagName)return at($,"Weird empty close tag."),$.textNode+="</>",void($.state=N.TEXT);if($.script){if("script"!==$.tagName)return $.script+="</"+$.tagName+">",$.tagName="",void($.state=N.SCRIPT);ie($,"onscript",$.script),$.script=""}var K=$.tags.length,Be=$.tagName;$.strict||(Be=Be[$.looseCase]());for(var Ye=Be;K--&&$.tags[K].name!==Ye;)at($,"Unexpected close tag");if(K<0)return at($,"Unmatched closing tag: "+$.tagName),$.textNode+="</"+$.tagName+">",void($.state=N.TEXT);$.tagName=Be;for(var pt=$.tags.length;pt-- >K;){var Ge=$.tag=$.tags.pop();$.tagName=$.tag.name,ie($,"onclosetag",$.tagName);var bt={};for(var me in Ge.ns)bt[me]=Ge.ns[me];$.opt.xmlns&&Ge.ns!==($.tags[$.tags.length-1]||$).ns&&Object.keys(Ge.ns).forEach(function(R){ie($,"onclosenamespace",{prefix:R,uri:Ge.ns[R]})})}0===K&&($.closedRoot=!0),$.tagName=$.attribValue=$.attribName="",$.attribList.length=0,$.state=N.TEXT}function z($){var Ye,K=$.entity,Be=K.toLowerCase(),Se="";return $.ENTITIES[K]?$.ENTITIES[K]:$.ENTITIES[Be]?$.ENTITIES[Be]:("#"===(K=Be).charAt(0)&&("x"===K.charAt(1)?(K=K.slice(2),Se=(Ye=parseInt(K,16)).toString(16)):(K=K.slice(1),Se=(Ye=parseInt(K,10)).toString(10))),K=K.replace(/^0+/,""),isNaN(Ye)||Se.toLowerCase()!==K?(at($,"Invalid character entity"),"&"+$.entity+";"):String.fromCodePoint(Ye))}function de($,K){"<"===K?($.state=N.OPEN_WAKA,$.startTagPosition=$.position):U(K)||(at($,"Non-whitespace before first tag."),$.textNode=K,$.state=N.TEXT)}function ae($,K){var Be="";return K<$.length&&(Be=$.charAt(K)),Be}N=a.STATE,String.fromCodePoint||($=String.fromCharCode,K=Math.floor,Be=function(){var Se=[],bt=-1,me=arguments.length;if(!me)return"";for(var J="";++bt<me;){var R=Number(arguments[bt]);if(!isFinite(R)||R<0||R>1114111||K(R)!==R)throw RangeError("Invalid code point: "+R);R<=65535?Se.push(R):Se.push(55296+((R-=65536)>>10),R%1024+56320),(bt+1===me||Se.length>16384)&&(J+=$.apply(null,Se),Se.length=0)}return J},Object.defineProperty?Object.defineProperty(String,"fromCodePoint",{value:Be,configurable:!0,writable:!0}):String.fromCodePoint=Be)}(ee)},6640:function(qe,ee,o){(function(){var a,t,u,M,v,r,_,h,C,b;b=o(89700),h=b.assign,C=b.isFunction,u=o(37391),M=o(91152),v=o(80313),_=o(47471),r=o(40282),a=o(68886),t=o(21892),qe.exports.create=function(D,f,O,d){var L,E;if(null==D)throw new Error("Root element needs a name.");return d=h({},f,O,d),E=(L=new M(d)).element(D),d.headless||(L.declaration(d),(null!=d.pubID||null!=d.sysID)&&L.dtd(d)),E},qe.exports.begin=function(D,f,O){var d;return C(D)&&(f=(d=[D,f])[0],O=d[1],D={}),f?new v(D,f,O):new M(D)},qe.exports.stringWriter=function(D){return new _(D)},qe.exports.streamWriter=function(D,f){return new r(D,f)},qe.exports.implementation=new u,qe.exports.nodeType=a,qe.exports.writerState=t}).call(this)},7201:(qe,ee,o)=>{"use strict";o.d(ee,{M5:()=>t,mX:()=>a,pw:()=>u,tu:()=>M});var a=function(v){return v.EMPLOYMENT="EMPLOYMENT",v.EDUCATION="EDUCATION",v.QUALIFICATION="QUALIFICATION",v.INVITED_POSITION="INVITED_POSITION",v.DISTINCTION="DISTINCTION",v.MEMBERSHIP="MEMBERSHIP",v.SERVICE="SERVICE",v.EDITORIAL_SERVICE="EDITORIAL_SERVICE",v}(a||{}),t=function(v){return v.EMPLOYMENT="EMPLOYMENT",v.EDUCATION_AND_QUALIFICATION="EDUCATION_AND_QUALIFICATION",v.INVITED_POSITION_AND_DISTINCTION="INVITED_POSITION_AND_DISTINCTION",v.MEMBERSHIP_AND_SERVICE="MEMBERSHIP_AND_SERVICE",v.PROFESSIONAL_ACTIVITIES="PROFESSIONAL_ACTIVITIES",v}(t||{}),u=function(v){return v.employment="employment",v.education="education",v.qualification="qualification",v["invited-position"]="invited-position",v.distinction="distinction",v.membership="membership",v.service="service",v["editorial-service"]="editorial-service",v["professional-activities"]="professional-activities",v}(u||{});const M={[u.employment]:"Employment",[u.education]:"Education",[u.qualification]:"Qualification",[u["invited-position"]]:"Invited position",[u.distinction]:"Distinction",[u.membership]:"Membership",[u.service]:"Service",[u["editorial-service"]]:"Editorial service"}},7218:(qe,ee,o)=>{"use strict";o.d(ee,{_:()=>t});var a=o(73664);let t=(()=>{class u{static \u0275fac=function(r){return new(r||u)};static \u0275cmp=a.VBU({type:u,selectors:[["structural-styles"]],decls:0,vars:0,template:function(r,_){},styles:['.mat-focus-indicator{position:relative}.mat-focus-indicator::before{top:0;left:0;right:0;bottom:0;position:absolute;box-sizing:border-box;pointer-events:none;display:var(--mat-focus-indicator-display, none);border-width:var(--mat-focus-indicator-border-width, 3px);border-style:var(--mat-focus-indicator-border-style, solid);border-color:var(--mat-focus-indicator-border-color, transparent);border-radius:var(--mat-focus-indicator-border-radius, 4px)}.mat-focus-indicator:focus::before{content:""}@media(forced-colors: active){html{--mat-focus-indicator-display: block}}\n'],encapsulation:2,changeDetection:0})}return u})()},7673:(qe,ee,o)=>{"use strict";o.d(ee,{of:()=>u});var a=o(9326),t=o(86648);function u(...M){const v=(0,a.lI)(M);return(0,t.H)(M,v)}},8435:(qe,ee,o)=>{"use strict";o.d(ee,{bH:()=>C,kG:()=>D.k,DL:()=>f.D,Iq:()=>O.I});var a=o(71985),t=o(99437);const M=o(31397).Z;var v=o(31762),r=o(2615),_=o(29330),h=o(56846);let C=(()=>{class d{constructor(E,se){this._http=E,this._errorHandler=se,this.parser=new v.Parser}getNews(){const E=runtimeEnvironment.API_NEWS;return this._http.get(E,{responseType:"text"}).pipe((0,t.W)(se=>this._errorHandler.handleError(se)),M(se=>new a.c(Y=>{this.parser.parseString(se,(ne,U)=>{ne?this._errorHandler.xml2jsParser(ne):U&&U.rss&&U.rss.channel&&U.rss.channel[0]&&U.rss.channel[0].item?Y.next(U.rss.channel[0].item.filter((T,I)=>I<6)):this._errorHandler.xml2jsParser("invalid data response")})})))}static{this.\u0275fac=function(se){return new(se||d)(r.KVO(_.Qq),r.KVO(h.c))}}static{this.\u0275prov=r.jDH({token:d,factory:d.\u0275fac,providedIn:"root"})}}return d})();o(75620);var D=o(76274),f=o(11762),O=o(33132)},8858:(qe,ee,o)=>{"use strict";o.d(ee,{s:()=>I});var a=o(1734),t=o(19490);const u=new Set([t.f0.XsrfMissingAfterPreload,t.f0.SignInSuccess,t.f0.SignInFailure,t.f0.SignInHttpError,t.f0.OauthAuthorizeGuardLoginRequiredRedirect,t.f0.OauthAuthorizeGuardInvalidRedirectUri,t.f0.OauthAuthorizeGuardValidateRedirectUriError,t.f0.OauthAuthorizeGuardOutOfRouterNavigation,t.f0.OauthAuthorizeGuardRedirectToLogin,t.f0.OauthAuthorizeGuardRedirectToMyOrcid,t.f0.OauthAuthorizePageAlreadyAuthorizedRedirect,t.f0.OauthSessionClientHandledErrorRedirectLegacy,t.f0.OauthSessionNavigateAuthorizeErrorLegacy,t.f0.OauthAuthorizeAuthServerErrorBody,t.f0.OauthAuthorizeSwitchDelegatedAccount,t.f0.SignInGuardRedirectToAuthorize,t.f0.SignInGuardRedirectToRegister,t.f0.SignInOauthInvalidGrantLegacy,t.f0.TwoFactorSign
3InGuardRedirectToMyOrcid,t.f0.TwoFactorSetupFinalCompleted,t.f0.RegisterGuardRedirectToAuthorize,t.f0.RegisterPipelineError,t.f0.OauthAuthorizationValidationFailed]),v=new Set([t.f0.InterstitialCompleted,t.f0.InterstitialDismissed,t.f0.InterstitialSaveError]),r=new Set([t.f0.OauthErrorPageLoaded,t.f0.OauthAuthorizationSuccess,t.f0.OauthAuthorizationDenied,t.f0.OauthAuthorizationError,t.f0.OauthAuthorizationLogout]);var h=o(2615),C=o(91714);const b=/(orcid|email|pid|delegator)/i,D=/\b\d{4}-\d{4}-\d{4}-\d{3}[\dX]\b/i,f=/\b[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,}\b/i,d=new Set(["oauth_query_string","redirect_uri","client_id","journeycontext_oauth_query_string","journeycontext_redirect_uri","journeycontext_client_id"]);function L(w,Z){return`[PID_HINT:${w};${Z}]`}function E(w){return`len=${w.length}`}function se(w,Z){if("string"==typeof w)return D.test(w)?L("orcid",E(w)):f.test(w)?L("email",E(w)):L("sensitive_key",`key=${(Z||"unknown").toLowerCase()};${E(w)}`);const N=Array.isArray(w)?"array":typeof w;return L("sensitive_key",`key=${(Z||"unknown").toLowerCase()};type=${N}`)}function Y(w,Z){const N={};for(const oe of Object.keys(w||{}))N[`${Z}${oe}`]=w[oe];return N}function ne(w){if(Array.isArray(w))return w.map(Z=>ne(Z));if(w&&"object"==typeof w){const Z=w,N={};for(const[oe,H]of Object.entries(Z)){if(d.has(oe.toLowerCase())){N[oe]=H;continue}if(b.test(oe)){N[oe]=se(H,oe);continue}const ie=ne(H);N[oe]=ie}return N}return"string"==typeof w&&(D.test(w)||f.test(w))?se(w):w}function T(w){try{return JSON.stringify(w,null,2)}catch{return String(w)}}let I=(()=>{class w{constructor(N,oe){this.window=N,this.newRelic=oe,this.journeys={}}safeAddPageAction(N,oe){const H=this.window.newrelic;if("function"!=typeof H?.addPageAction)return!1;try{return H.addPageAction(N,oe),!0}catch(ie){return runtimeEnvironment.debugger&&console.warn(`[RUM] addPageAction failed for ${N}\n${T({error:ie,payload:oe})}`),!1}}startJourney(N,oe){const H=ne(oe);if(this.journeys[N])return void(runtimeEnvironment.debugger&&console.debug(`[RUM][journey:${N}] : start (ignored, already started)\n${T(H||{})}`));const ie=function U(){return Math.random().toString(36).slice(2)+Date.now().toString(36)}();this.journeys[N]={startTime:Date.now(),journeyId:ie,context:{...H||{}}},runtimeEnvironment.debugger&&console.debug(`[RUM][journey:${N}] : start\n${T(H||{})}`)}recordSimpleEvent(N,oe){const H=ne(oe||{});this.safeAddPageAction(N,H)&&function M(w){return u.has(w)}(N)&&this.newRelic.forceHarvestNow(),runtimeEnvironment.debugger&&console.debug(`[RUM][simple] : event ${N}\n${T(H)}`)}updateJourneyContext(N,oe){const H=this.journeys[N];H&&(H.context={...H.context,...ne(oe)})}recordEvent(N,oe,H){const ie=this.journeys[N];if(!ie)return void(runtimeEnvironment.debugger&&console.debug(`[RUM][journey:${N}] : recordEvent before start ignored\n${T({eventName:oe,eventAttrs:H})}`));const Ce=Date.now()-ie.startTime,Ue=ne(H||{}),nt={...Y(ie.context,"journeyContext_"),...Y(Ue,"eventAttribute_"),system_eventName:oe,system_elapsedMs:Ce,system_journeyId:ie.journeyId,system_journeyType:N};this.safeAddPageAction(N,nt)&&function _(w,Z){return"oauth_authorization"===w?r.has(Z):"interstitial"===w?v.has(Z):"orcid_registration"===w&&!(Z!==t.f0.RegisterPipelineError&&!Z.endsWith("-error")&&Z!==t.f0.JourneyComplete)}(N,oe)&&this.newRelic.forceHarvestNow(),runtimeEnvironment.debugger&&console.debug(`[RUM][journey:${N}] : event ${oe}\n${T(nt)}`)}finishJourney(N,oe){const H=this.journeys[N];if(!H)return;const ie=Date.now()-H.startTime,Ce=ne(oe||{}),Ue={...Y(H.context,"journeyContext_"),...Y(Ce,"eventAttribute_"),system_eventName:"journey_finished",system_elapsedMs:ie,system_journeyId:H.journeyId,system_journeyType:N},nt=this.safeAddPageAction(N,Ue);delete this.journeys[N],nt&&this.newRelic.forceHarvestNow(),runtimeEnvironment.debugger&&console.debug(`[RUM][journey:${N}] : finished\n${T(Ue)}`)}static{this.\u0275fac=function(oe){return new(oe||w)(h.KVO(a.jf),h.KVO(C.p))}}static{this.\u0275prov=h.jDH({token:w,factory:w.\u0275fac,providedIn:"root"})}}return w})()},9326:(qe,ee,o)=>{"use strict";o.d(ee,{R0:()=>r,lI:()=>v,ms:()=>M});
3var a=o(98071),t=o(79470);function u(_){return _[_.length-1]}function M(_){return(0,a.T)(u(_))?_.pop():void 0}function v(_){return(0,t.m)(u(_))?_.pop():void 0}function r(_,h){return"number"==typeof u(_)?_.pop():h}},9350:(qe,ee,o)=>{"use strict";o.d(ee,{G:()=>t});const t=(0,o(81853).L)(u=>function(){u(this),this.name="EmptyError",this.message="no elements in sequence"})},10273:(qe,ee)=>{!function(o){function a(){this.months=["jan","feb","mar","apr","may","jun","jul","aug","sep","oct","nov","dec"],this.notKey=[",","{","}"," ","="],this.pos=0,this.input="",this.entries=new Array,this.currentEntry="",this.setInput=function(t){this.input=t},this.getEntries=function(){return this.entries},this.isWhitespace=function(t){return" "==t||"\r"==t||"\t"==t||"\n"==t},this.match=function(t,u){if((null==u||null==u)&&(u=!0),this.skipWhitespace(u),this.input.substring(this.pos,this.pos+t.length)!=t)throw TypeError("Token mismatch: match","expected "+t+", found "+this.input.substring(this.pos));this.pos+=t.length,this.skipWhitespace(u)},this.tryMatch=function(t,u){return(null==u||null==u)&&(u=!0),this.skipWhitespace(u),this.input.substring(this.pos,this.pos+t.length)==t},this.matchAt=function(){for(;this.input.length>this.pos&&"@"!=this.input[this.pos];)this.pos++;return"@"==this.input[this.pos]},this.skipWhitespace=function(t){for(;this.isWhitespace(this.input[this.pos]);)this.pos++;if("%"==this.input[this.pos]&&1==t){for(;"\n"!=this.input[this.pos];)this.pos++;this.skipWhitespace(t)}},this.value_braces=function(){var t=0;this.match("{",!1);for(var u=this.pos,M=!1;;){if(!M)if("}"==this.input[this.pos]){if(!(t>0)){var v=this.pos;return this.match("}",!1),this.input.substring(u,v)}t--}else if("{"==this.input[this.pos])t++;else if(this.pos>=this.input.length-1)throw TypeError("Unterminated value: value_braces");M="\\"==this.input[this.pos]&&0==M,this.pos++}},this.value_comment=function(){for(var t="",u=0;!this.tryMatch("}",!1)||0!=u;){if(t+=this.input[this.pos],"{"==this.input[this.pos]&&u++,"}"==this.input[this.pos]&&u--,this.pos>=this.input.length-1)throw TypeError("Unterminated value: value_comment",+this.input.substring(start));this.pos++}return t},this.value_quotes=function(){this.match('"',!1);for(var t=this.pos,u=!1;;){if(!u){if('"'==this.input[this.pos]){var M=this.pos;return this.match('"',!1),this.input.substring(t,M)}if(this.pos>=this.input.length-1)throw TypeError("Unterminated value: value_quotes",this.input.substring(t))}u="\\"==this.input[this.pos]&&0==u,this.pos++}},this.single_value=function(){var t=this.pos;if(this.tryMatch("{"))return this.value_braces();if(this.tryMatch('"'))return this.value_quotes();var u=this.key();if(u.match("^[0-9]+$"))return u;if(this.months.indexOf(u.toLowerCase())>=0)return u.toLowerCase();throw"Value expected: single_value"+this.input.substring(t)+" for key: "+u},this.value=function(){var t=[];for(t.push(this.single_value());this.tryMatch("#");)this.match("#"),t.push(this.single_value());return t.join("")},this.key=function(t){for(var u=this.pos;;){if(this.pos>=this.input.length)throw TypeError("Runaway key: key");if(this.notKey.indexOf(this.input[this.pos])>=0)return t&&","!=this.input[this.pos]?(this.pos=u,null):this.input.substring(u,this.pos);this.pos++}},this.key_equals_value=function(){var t=this.key();if(this.tryMatch("=")){this.match("=");var u=this.value();return[t=t.trim(),u]}throw TypeError("Value expected, equals sign missing: key_equals_value",this.input.substring(this.pos))},this.key_value_list=function(){var t=this.key_equals_value();for(this.currentEntry.entryTags={},this.currentEntry.entryTags[t[0]]=t[1];this.tryMatch(",")&&(this.match(","),!this.tryMatch("}"));)t=this.key_equals_value(),this.currentEntry.entryTags[t[0]]=t[1]},this.entry_body=function(t){this.currentEntry={},this.currentEntry.citationKey=this.key(!0),this.currentEntry.entryType=t.substring(1),null!=this.currentEntry.citationKey&&this.match(","),this.key_value_list(),this.entries.push(this.currentEntry)},this.directive=function(){return this.match("@"),"@"+this.key()},this.preamble=function(){this.currentEntry={},this.currentEntry.entryType="PREAMBLE",this.currentEntry.entry=this.value_comment(),this.entries.push(this.currentEntry)},this.comment=function(){this.currentEntry={},this.currentEntry.entryType="COMMENT",this.currentEntry.entry=this.value_comment(),this.entries.push(this.currentEntry)},this.entry=function(t){this.entry_body(t)}
3,this.alernativeCitationKey=function(){this.entries.forEach(function(t){!t.citationKey&&t.entryTags&&(t.citationKey="",t.entryTags.author&&(t.citationKey+=t.entryTags.author.split(",")[0]+=", "),t.citationKey+=t.entryTags.year)})},this.bibtex=function(){for(;this.matchAt();){var t=this.directive();this.match("{"),"@STRING"==t.toUpperCase()?this.string():"@PREAMBLE"==t.toUpperCase()?this.preamble():"@COMMENT"==t.toUpperCase()?this.comment():this.entry(t),this.match("}")}this.alernativeCitationKey()}}o.toJSON=function(t){var u=new a;return u.setInput(t),u.bibtex(),u.entries},o.toBibtex=function(t,u){void 0===u&&(u=!0);var M="",v=",",r="";for(var _ in u||(v=",\n",r=" "),t){if(M+="@"+t[_].entryType,M+="{",t[_].citationKey&&(M+=t[_].citationKey+v),t[_].entry&&(M+=t[_].entry),t[_].entryTags){var h=r;for(var C in t[_].entryTags)0!=h.trim().length&&(h+=v+r),h+=C+(u?"={":" = {")+t[_].entryTags[C]+"}";M+=h}M+=u?"}\n":"\n}\n\n"}return M}}(ee)},10467:(qe,ee,o)=>{"use strict";function a(u,M,v,r,_,h,C){try{var b=u[h](C),D=b.value}catch(f){return void v(f)}b.done?M(D):Promise.resolve(D).then(r,_)}function t(u){return function(){var M=this,v=arguments;return new Promise(function(r,_){var h=u.apply(M,v);function C(D){a(h,r,_,C,b,"next",D)}function b(D){a(h,r,_,C,b,"throw",D)}C(void 0)})}}o.d(ee,{A:()=>t})},10678:(qe,ee,o)=>{"use strict";o.d(ee,{Dd:()=>r,Gi:()=>C,Hv:()=>t,f4:()=>_,gQ:()=>u});var a=o(21495);const t={windowRef:()=>window,documentRef:()=>document};function u(D){return D.split("?")[0]}function r(D){(function v(){const D=t.windowRef();return D.dataLayer=D.dataLayer||[],D.dataLayer})().push(D)}function _(D){!function h(D){window.performance&&window.performance.mark(a.X$.navigationStartPrefix+D)}(D)}function C(D){if(window.performance){let f;return window.performance.mark(a.X$.navigationEndPrefix+D),window.performance.measure(D,a.X$.navigationStartPrefix+D,a.X$.navigationEndPrefix+D),window.performance.getEntriesByName(D).forEach(O=>{f=O.duration}),function b(D){window.performance&&(window.performance.clearMarks(a.X$.navigationStartPrefix+D),window.performance.clearMarks(a.X$.navigationEndPrefix+D),window.performance.clearMeasures(D))}(D),f}}},10998:(qe,ee,o)=>{"use strict";o.d(ee,{P:()=>v});var a=o(2615);const t="oauthRedirectUrl",u="oauthJustRegistered",M=18e5;let v=(()=>{class r{constructor(){this.justRegisteredThisPageLoad=!1}set(h){if(!h)throw new Error("Empty OAuth redirect url passed to OauthRedirectService");const C={url:h,expiresAt:Date.now()+M};localStorage.setItem(t,JSON.stringify(C))}setJustRegistered(h=!0){const C={value:!!h,expiresAt:Date.now()+M};localStorage.setItem(u,JSON.stringify(C))}get(){const h=localStorage.getItem(t);if(!h)return null;try{const C=JSON.parse(h);if(C.expiresAt&&C.expiresAt>Date.now())return this.cleanUrl(C.url)}catch{}return this.clear(),null}clear(){localStorage.removeItem(t),localStorage.removeItem(u)}consumeJustRegistered(){const h=this.readJustRegisteredFlag();return this.justRegisteredThisPageLoad=this.justRegisteredThisPageLoad||h,localStorage.removeItem(u),h}isJustRegistered(){return this.justRegisteredThisPageLoad||this.readJustRegisteredFlag()}readJustRegisteredFlag(){const h=localStorage.getItem(u);if(!h)return!1;try{const C=JSON.parse(h);if(C.expiresAt&&C.expiresAt>Date.now())return!!C.value}catch{}return!1}cleanUrl(h){try{const C=new URL(h);return["show_login","prompt"].forEach(b=>C.searchParams.delete(b)),C.toString()}catch{return h}}static{this.\u0275fac=function(C){return new(C||r)}}static{this.\u0275prov=a.jDH({token:r,factory:r.\u0275fac,providedIn:"root"})}}return r})()},11449:(qe,ee,o)=>{"use strict";o.d(ee,{M:()=>oe,_:()=>H,b:()=>ie,c:()=>I,d:()=>w,e:()=>N});var a=o(88511),t=o(17035),u=o(67336),M=o(73664),v=o(2615),r=o(17705),_=o(21413),h=o(95967),C=o(18107);let b=(()=>{class Ce{_animationsDisabled=(0,C._)();state="unchecked";disabled=!1;appearance="full";constructor(){}static \u0275fac=function(we){return new(we||Ce)};static \u0275cmp=M.VBU({type:Ce,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:12,hostBindings:function(we,at){2&we&&M.AVh("mat-pseudo-checkbox-indeterminate","indeterminate"===at.state)("mat-pseudo-checkbox-checked","checked"===at.state)("mat-pseudo-checkbox-disabled",at.disabled)("mat-pseudo-checkbox-minimal","minimal"===at.appearance)("mat-pseudo-checkbox-full","full"===at.appearance)("_mat-animation-noopable",at._animationsDisabled)},inputs:{state:"state",disabled:"disabled",appearance:"appearance"},decls:0,vars:0,template:function(we,at){},styles:['.mat-pseudo-checkbox{border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox._mat-animation-noopable{transition:none !important;animation:none !important}.mat-pseudo-checkbox._mat-animation-noopable::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{left:1px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{left:1px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-pseudo-checkbox-minimal-selected-checkmark-color, var(--mat-sys-primary))}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after,.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after{color:var(--mat-pseudo-checkbox-minimal-disabled-selected-checkmark-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-pseudo-checkbox-full{border-color:var(--mat-pseudo-checkbox-full-unselected-icon-color, var(--mat-sys-on-surface-variant));border-width:2px;border-style:solid}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-disabled{border-color:var(--mat-pseudo-checkbox-full-disabled-unselected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate{background-color:var(--mat-pseudo-checkbox-full-selected-icon-color, var(--mat-sys-primary));border-color:rgba(0,0,0,0)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-pseudo-checkbox-full-selected-checkmark-color, var(--mat-sys-on-primary))}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled{background-color:var(--mat-pseudo-checkbox-full-disabled-selected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after{color:var(--mat-pseudo-checkbox-full-disabled-selected-checkmark-color, var(--mat-sys-surface))}.mat-pseudo-checkbox{width:18px;height:18px}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after{width:14px;
3height:6px;transform-origin:center;top:-4.2426406871px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{top:8px;width:16px}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after{width:10px;height:4px;transform-origin:center;top:-2.8284271247px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{top:6px;width:12px}\n'],encapsulation:2,changeDetection:0})}return Ce})();var D=o(7218),f=o(41560),O=o(49046);const E=["text"],se=[[["mat-icon"]],"*"],Y=["mat-icon","*"];function ne(Ce,Ue){if(1&Ce&&M.nrm(0,"mat-pseudo-checkbox",1),2&Ce){const nt=M.XpG();M.Y8G("disabled",nt.disabled)("state",nt.selected?"checked":"unchecked")}}function U(Ce,Ue){if(1&Ce&&M.nrm(0,"mat-pseudo-checkbox",3),2&Ce){const nt=M.XpG();M.Y8G("disabled",nt.disabled)}}function T(Ce,Ue){if(1&Ce&&(M.j41(0,"span",4),M.EFF(1),M.k0s()),2&Ce){const nt=M.XpG();M.R7$(),M.SpI("(",nt.group.label,")")}}const I=new v.nKC("MAT_OPTION_PARENT_COMPONENT"),w=new v.nKC("MatOptgroup");class N{source;isUserInput;constructor(Ue,nt=!1){this.source=Ue,this.isUserInput=nt}}let oe=(()=>{class Ce{_element=(0,v.WQX)(M.aKT);_changeDetectorRef=(0,v.WQX)(r.gRc);_parent=(0,v.WQX)(I,{optional:!0});group=(0,v.WQX)(w,{optional:!0});_signalDisableRipple=!1;_selected=!1;_active=!1;_mostRecentViewValue="";get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}value;id=(0,v.WQX)(a._).getId("mat-option-");get disabled(){return this.group&&this.group.disabled||this._disabled()}set disabled(nt){this._disabled.set(nt)}_disabled=(0,v.vPA)(!1);get disableRipple(){return this._signalDisableRipple?this._parent.disableRipple():!!this._parent?.disableRipple}get hideSingleSelectionIndicator(){return!(!this._parent||!this._parent.hideSingleSelectionIndicator)}onSelectionChange=new M.bkB;_text;_stateChanges=new _.B;constructor(){const nt=(0,v.WQX)(f._);nt.load(D._),nt.load(O.Y),this._signalDisableRipple=!!this._parent&&(0,v.Hps)(this._parent.disableRipple)}get active(){return this._active}get viewValue(){return(this._text?.nativeElement.textContent||"").trim()}select(nt=!0){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),nt&&this._emitSelectionChangeEvent())}deselect(nt=!0){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),nt&&this._emitSelectionChangeEvent())}focus(nt,we){const at=this._getHostElement();"function"==typeof at.focus&&at.focus(we)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(nt){(nt.keyCode===t.c||nt.keyCode===t.S)&&!(0,u.rp)(nt)&&(this._selectViaInteraction(),nt.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){const nt=this.viewValue;nt!==this._mostRecentViewValue&&(this._mostRecentViewValue&&this._stateChanges.next(),this._mostRecentViewValue=nt)}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(nt=!1){this.onSelectionChange.emit(new N(this,nt))}static \u0275fac=function(we){return new(we||Ce)};static \u0275cmp=M.VBU({type:Ce,selectors:[["mat-option"]],viewQuery:function(we,at){if(1&we&&M.GBs(E,7),2&we){let Xe;M.mGM(Xe=M.lsd())&&(at._text=Xe.first)}},hostAttrs:["role","option",1,"mat-mdc-option","mdc-list-item"],hostVars:11,hostBindings:function(we,at){1&we&&M.bIt("click",function(){return at._selectViaInteraction()})("keydown",function(et){return at._handleKeydown(et)}),2&we&&(M.Avn("id",at.id),M.BMQ("aria-selected",at.selected)("aria-disabled",at.disabled.toString()),M.AVh("mdc-list-item--selected",at.selected)("mat-mdc-option-multiple",at.multiple)("mat-mdc-option-active",at.active)("mdc-list-item--disabled",at.disabled))},inputs:{value:"value",id:"id",disabled:[2,"disabled","disabled",r.L39]},outputs:{onSelectionChange:"onSelectionChange"},exportAs:["matOption"],ngContentSelectors:Y,decls:8,vars:5,consts:[["text",""],["aria-hidden","true",1,"mat-mdc-option-pseudo-checkbox",3,"disabled","state"],[1,"mdc-list-item__primary-text"],["state","checked","aria-hidden","true","appearance","minimal",1,"mat-mdc-option-pseudo-checkbox",3,"disabled"],[1,"cdk-visually-hidden"],["aria-hidden","true","mat-ripple","",1,"mat-mdc-option-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled"]],template:function(we,at){1&we&&(M.NAR(se),M.nVh(0,ne,1,2,"mat-pseudo-checkbox",1),M.SdG(1),M.j41(2,"span",2,0),M.SdG(4,1),M.k0s(),M.nVh(5,U,1,1,"mat-pseudo-checkbox",3),M.nVh(6,T,2,1,"span",4),M.nrm(7,"div",5)),2&we&&(M.vxM(at.multiple?0:-1),M.R7$(5),M.vxM(at.multiple||!at.selected||at.hideSingleSelectionIndicator?-1:5),M.R7$(),M.vxM(at.group&&at.group._inert?6:-1),M.R7$(),M.Y8G("matRippleTrigger",at._getHostElement())("matRippleDisabled",at.disabled||at.disableRipple))},dependencies:[b,h.M],styles:['.mat-mdc-option{-webkit-user-select:none;user-select:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;min-height:48px;padding:0 16px;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);color:var(--mat-option-label-text-color, var(--mat-sys-on-surface));font-family:var(--mat-option-label-text-font, var(--mat-sys-label-large-font));line-height:var(--mat-option-label-text-line-height, var(--mat-sys-label-large-line-height));font-size:var(--mat-option-label-text-size, var(--mat-sys-body-large-size));letter-spacing:var(--mat-option-label-text-tracking, var(--mat-sys-label-large-tracking));font-weight:var(--mat-option-label-text-weight, var(--mat-sys-body-large-weight))}.mat-mdc-option:hover:not(.mdc-list-item--disabled){background-color:var(--mat-option-hover-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-hover-state-layer-opacity) * 100%), transparent))}.mat-mdc-option:focus.mdc-list-item,.mat-mdc-option.mat-mdc-option-active.mdc-list-item{background-color:var(--mat-option-focus-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-focus-state-layer-opacity) * 100%), transparent));outline:0}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled):not(.mat-mdc-option-multiple){background-color:var(--mat-option-selected-state-layer-color, var(--mat-sys-secondary-container))}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled):not(.mat-mdc-option-multiple) .mdc-list-item__primary-text{color:var(--mat-option-selected-state-label-text-color, var(--mat-sys-on-secondary-container))}.mat-mdc-option .mat-pseudo-checkbox{--mat-pseudo-checkbox-minimal-selected-checkmark-color: var(--mat-option-selected-state-label-text-color, var(--mat-sys-on-secondary-container))}.mat-mdc-option.mdc-list-item{align-items:center;background:rgba(0,0,0,0)}.mat-mdc-option.mdc-list-item--disabled{cursor:default;pointer-events:none}.mat-mdc-option.mdc-list-item--disabled .mat-mdc-option-pseudo-checkbox,.mat-mdc-option.mdc-list-item--disabled .mdc-list-item__primary-text,.mat-mdc-option.mdc-list-item--disabled>mat-icon{opacity:.38}.mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:32px}[dir=rtl] .mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:16px;padding-right:32px}.mat-mdc-option .mat-icon,.mat-mdc-option .mat-pseudo-checkbox-full{margin-right:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-icon,[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-full{margin-right:0;margin-left:16px}.mat-mdc-option .mat-pseudo-checkbox-minimal{margin-left:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-minimal{margin-right:16px;margin-left:0}.mat-mdc-option .mat-mdc-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-option .mdc-list-item__primary-text{white-space:normal;font-size:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;font-family:inherit;text-decoration:inherit;text-transform:inherit;margin-right:auto}[dir=rtl] .mat-mdc-option .mdc-list-item__primary-text{margin-right:0;margin-left:auto}@media(forced-colors: active){.mat-mdc-option.mdc-list-item--selected:not(:has(.mat-mdc-option-pseudo-checkbox))::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}[dir=rtl] .mat-mdc-option.mdc-list-item--selected:not(:has(.mat-mdc-option-pseudo-checkbox))::after{right:auto;left:16px}}.mat-mdc-option-multiple{--mat-list-list-item-selected-container-color: var(--mat-list-list-item-container-color, transparent)}.mat-mdc-option-active .mat-focus-indicator::before{content:""}\n'],encapsulation:2,changeDetection:0})}return Ce})();function H(Ce,Ue,nt){if(nt.length){let we=Ue.toArray(),at=nt.toArray(),Xe=0;for(let et=0;et<Ce+1;et++)we[et].group&&we[et].group===at[Xe]&&Xe++;return Xe}return 0}function ie(Ce,Ue,nt,we){return Ce<nt?Ce:Ce+Ue>nt+we?Math.max(0,Ce-we+Ue):nt}},11514:(qe,ee,o)=>{"use strict";o.d(ee,{FX:()=>Y,If:()=>a,K2:()=>r,MA:()=>f,P:()=>d,PZ:()=>se,hZ:()=>u,i0:()=>M,iF:()=>_,kY:()=>b,kp:()=>t,sf:()=>E,wk:()=>h,yc:()=>L});
3var a=function(ne){return ne[ne.State=0]="State",ne[ne.Transition=1]="Transition",ne[ne.Sequence=2]="Sequence",ne[ne.Group=3]="Group",ne[ne.Animate=4]="Animate",ne[ne.Keyframes=5]="Keyframes",ne[ne.Style=6]="Style",ne[ne.Trigger=7]="Trigger",ne[ne.Reference=8]="Reference",ne[ne.AnimateChild=9]="AnimateChild",ne[ne.AnimateRef=10]="AnimateRef",ne[ne.Query=11]="Query",ne[ne.Stagger=12]="Stagger",ne}(a||{});const t="*";function u(ne,U){return{type:a.Trigger,name:ne,definitions:U,options:{}}}function M(ne,U=null){return{type:a.Animate,styles:U,timings:ne}}function r(ne,U=null){return{type:a.Sequence,steps:ne,options:U}}function _(ne){return{type:a.Style,styles:ne,offset:null}}function h(ne,U,T){return{type:a.State,name:ne,styles:U,options:T}}function b(ne,U,T=null){return{type:a.Transition,expr:ne,animation:U,options:T}}function f(ne=null){return{type:a.AnimateChild,options:ne}}function d(ne,U,T=null){return{type:a.Query,selector:ne,animation:U,options:T}}function L(ne,U){return{type:a.Stagger,timings:ne,animation:U}}class E{_onDoneFns=[];_onStartFns=[];_onDestroyFns=[];_originalOnDoneFns=[];_originalOnStartFns=[];_started=!1;_destroyed=!1;_finished=!1;_position=0;parentPlayer=null;totalTime;constructor(U=0,T=0){this.totalTime=U+T}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(U=>U()),this._onDoneFns=[])}onStart(U){this._originalOnStartFns.push(U),this._onStartFns.push(U)}onDone(U){this._originalOnDoneFns.push(U),this._onDoneFns.push(U)}onDestroy(U){this._onDestroyFns.push(U)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(U=>U()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(U=>U()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(U){this._position=this.totalTime?U*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(U){const T="start"==U?this._onStartFns:this._onDoneFns;T.forEach(I=>I()),T.length=0}}class se{_onDoneFns=[];_onStartFns=[];_finished=!1;_started=!1;_destroyed=!1;_onDestroyFns=[];parentPlayer=null;totalTime=0;players;constructor(U){this.players=U;let T=0,I=0,w=0;const Z=this.players.length;0==Z?queueMicrotask(()=>this._onFinish()):this.players.forEach(N=>{N.onDone(()=>{++T==Z&&this._onFinish()}),N.onDestroy(()=>{++I==Z&&this._onDestroy()}),N.onStart(()=>{++w==Z&&this._onStart()})}),this.totalTime=this.players.reduce((N,oe)=>Math.max(N,oe.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(U=>U()),this._onDoneFns=[])}init(){this.players.forEach(U=>U.init())}onStart(U){this._onStartFns.push(U)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(U=>U()),this._onStartFns=[])}onDone(U){this._onDoneFns.push(U)}onDestroy(U){this._onDestroyFns.push(U)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(U=>U.play())}pause(){this.players.forEach(U=>U.pause())}restart(){this.players.forEach(U=>U.restart())}finish(){this._onFinish(),this.players.forEach(U=>U.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(U=>U.destroy()),this._onDestroyFns.forEach(U=>U()),this._onDestroyFns=[])}reset(){this.players.forEach(U=>U.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(U){const T=U*this.totalTime;this.players.forEach(I=>{const w=I.totalTime?Math.min(1,T/I.totalTime):1;I.setPosition(w)})}getPosition(){const U=this.players.reduce((T,I)=>null===T||I.totalTime>T.totalTime?I:T,null);return null!=U?U.getPosition():0}beforeDestroy(){this.players.forEach(U=>{U.beforeDestroy&&U.beforeDestroy()})}triggerCallback(U){const T="start"==U?this._onStartFns:this._onDoneFns;T.forEach(I=>I()),T.length=0}}const Y="!"},11762:(qe,ee,o)=>{"use strict";o.d(ee,{D:()=>ue});
3var a=o(29330),t=o(92771),u=o(84412),M=o(21413),v=o(57786),r=o(41584),_=o(84572),h=o(7673),C=o(88141),b=o(96697),D=o(25558),f=o(96354),O=o(99437),d=o(56977),L=o(5964),E=o(99172),se=o(61594),Y=o(67018),ne=o(58750),U=o(39974),T=o(54360),w=o(91986),Z=o(1734),N=o(62415),H=o(22193),ie=o(21495),Ce=o(13256),Ue=o(2615),nt=o(56846),we=o(51060),at=o(178),Xe=o(25282),et=o(65770),xe=o(90645),De=o(2490);let ue=(()=>{class z{constructor(ae,X,$,K,Be,Ye,Se,pt,Ge){this._http=ae,this._errorHandler=X,this._platform=$,this._oauth=K,this._disco=Be,this._userInfo=Ye,this._togglz=Se,this._cookie=pt,this.window=Ge,this.headers=new a.Lr({"Access-Control-Allow-Origin":"*"}),this.$userStatusChecked=new t.m,this.loggingStateComesFromTheServer=!1,this.$userSessionSubject=new t.m(1),this.sessionInitialized=!1,this.keepRefreshingUserSession=!0,this.hiddenTab=!1,this.START_IMMEDIATELY_AND_CHECK_EVERY_TWENTY_FIVE_MINUTES={start:0,interval:15e5},this.START_IN_TWENTY_FIVE_MINUTES_AND_CHECK_EVERY_TWENTY_FIVE_MINUTES={start:15e5,interval:15e5},this.interval$=new u.t(this.START_IMMEDIATELY_AND_CHECK_EVERY_TWENTY_FIVE_MINUTES),this.reset$=new M.B,this._recheck=new M.B,this.$userStatusChecked.pipe((0,C.M)(bt=>{this._togglz.reportUserStatusChecked(bt)})).subscribe()}getUserStatus(){return this._togglz.getStateOf(H.i.OAUTH_SIGNIN).pipe((0,b.s)(1),(0,D.n)(ae=>{let X=runtimeEnvironment.API_WEB+"userStatus.json";return ae&&(X=runtimeEnvironment.AUTH_SERVER+"userStatus.json"),this._http.get(X,{withCredentials:!0}).pipe((0,f.T)($=>!!$.loggedIn)).pipe((0,Ce.jh)(),(0,O.W)($=>this._errorHandler.handleError($,N.Q.STANDARD_VERBOSE)))}))}getNameForm(){return this._http.get(runtimeEnvironment.API_WEB+"account/nameForm.json",{withCredentials:!0})}getUserSession(){return this.sessionInitialized?this.$userSessionSubject:(this.sessionInitialized=!0,this.interval$.pipe((0,D.n)(ae=>(0,v.h)((0,r.O)(ae.start,ae.interval).pipe((0,f.T)(X=>({timerUpdate:X}))),this._recheck).pipe((0,d.Q)(this.reset$))),(0,L.p)(()=>this.keepRefreshingUserSession),(0,D.n)(ae=>(this.$userStatusChecked.next(null),this.getUserStatus().pipe((0,f.T)(X=>({loggedIn:X,checkTrigger:ae}))))),(0,L.p)(ae=>(this.loggingStateComesFromTheServer=!0,this.userStatusHasChange(ae))),(0,E.Z)(this.loggingStateComesFromTheServer?{}:{loggedIn:!0,checkTrigger:{timerUpdate:-1}}),(0,L.p)(ae=>void 0!==ae.checkTrigger),(0,D.n)(ae=>{if(ae)return this.handleUserDataUpdate(ae)}),(0,f.T)(ae=>this.computesUpdatedUserData(ae)),(0,C.M)(ae=>runtimeEnvironment.debugger?console.debug(ae):null),(0,C.M)(ae=>{this.$userSessionSubject.next(ae)})).subscribe(),this.$userSessionSubject.asObservable())}userStatusHasChange(ae){return!(ae.loggedIn===this.currentlyLoggedIn&&!ae.checkTrigger.forceSessionUpdate)}computesUpdatedUserData(ae){return{...ae,loggedIn:!!ae.userInfo||!!ae.nameForm,displayName:this.getDisplayName(ae.nameForm),orcidUrl:this.getOrcidUrl(ae),effectiveOrcidUrl:this.getOrcidUrl(ae,!0),oauthSessionIsLoggedIn:!!ae.oauthSession&&(!!ae.oauthSession.userOrcid&&!!ae.oauthSession.userName||ae.oauthAuthorizationEnabled&&!!ae.oauthSession.redirectUrl||ae.oauthAuthorizationEnabled&&!!ae.oauthSession.error)}}getOrcidUrl(ae,X=!1){if(ae&&ae.userInfo){const $=X?ae.userInfo.EFFECTIVE_USER_ORCID:ae.userInfo.REAL_USER_ORCID;if($)return"https:"+runtimeEnvironment.BASE_URL+$}}handleUserDataUpdate(ae){this.currentlyLoggedIn=ae.loggedIn;const X=this._userInfo.getUserInfo().pipe(this.handleErrors),$=this.getNameForm().pipe(this.handleErrors),K=this.getThirdPartySignInData(),Be=this._togglz.getStateOf(H.i.OAUTH_AUTHORIZATION).pipe((0,b.s)(1)),Ye=Be.pipe((0,D.n)(Se=>!0===Se?this.getOuathSessionFromOauth2Server():this.getOauthSessionFromLegacyOauthServer(ae)),this.handleOauthErrors);return(0,_.z)([ae.loggedIn?X:(0,h.of)(void 0),ae.loggedIn?$:(0,h.of)(void 0),Ye,ae.loggedIn?(0,h.of)(void 0):K,Be]).pipe((0,f.T)(([Se,pt,Ge,bt,me])=>({userInfo:Se,nameForm:pt,oauthSession:Ge,thirdPartyAuthData:bt||void 0,oauthAuthorizationEnabled:me})))}getOuathSessionFromOauth2Server(ae){return this._platform.get().pipe((0,se.$)(),(0,D.n)(X=>X.hasOauthParameters?this._http.get(runtimeEnvironment.AUTH_SERVER+"oauth2/authorize"+this.window.location.search,{withCredentials:!0,headers:{accept:"application/json"}}).pipe((0,D.n)($=>(0,h.of)(function oe(z){const ae={errors:null,scopes:(z.scopes||"").split(" ").filter(X=>!!X).map(X=>({value:X})),clientDescription:z.clientDescription||"",clientId:z.clientId||"",clientName:z.clientName||"",clientEmailRequestReason:null,memberName:"",redirectUrl:"",responseType:void 0,stateParam:z.state||"",userId:void 0,userName:z.userName||"",userOrcid:z.userOrcid||"",userEmail:"",userGivenNames:"",userFamilyNames:"",nonce:null,clientHavePersistentTokens:null,scopesAsString:null,error:z.error||null,errorCode:z.errorCode||z.error_code||null,errorDescription:z.errorDescription||z.error_description||"",forceLogin:!1,oauthState:z.state||""};
3return z.skip_authorization&&z.redirect_url&&(ae.redirectUrl=z.redirect_url),ae}($)))):(0,h.of)(void 0)))}getOauthSessionFromLegacyOauthServer(ae){return this._platform.get().pipe((0,se.$)(),(0,D.n)(X=>{if(X.hasOauthParameters){let $=X.queryParameters;return ae.checkTrigger.postLoginUpdate&&($={...$,prompt:void 0}),this._oauth.declareOauthSession($,ae).pipe((0,C.M)(K=>this.keepRefreshingUserSession=!K.error),(0,C.M)(()=>runtimeEnvironment.debugger?console.debug("Oauth session declare"):null))}return(0,h.of)(null)}))}getThirdPartySignInData(){return this._platform.get().pipe((0,se.$)(),(0,D.n)(ae=>ae.social?this._oauth.loadSocialSigninData().pipe((0,b.s)(1),(0,f.T)(X=>({signinData:X,entityDisplayName:this.loadSocialSignInData(X.entityID)}))):ae.institutional||"register"===ae.currentRoute?this._oauth.loadShibbolethSignInData().pipe((0,b.s)(1),(0,D.n)(X=>this._disco.getInstitutionNameBaseOnId(X.providerId).pipe((0,f.T)($=>({entityDisplayName:$,signinData:X}))))):(0,h.of)(null)))}loadSocialSignInData(ae){return("facebook"===ae||"google"===ae)&&(ae=ae.charAt(0).toUpperCase()+ae.slice(1)),ae}refreshUserSession(ae=!1,X=!1){return X&&this.createLocalUserSessionUid(),this._recheck.next({forceSessionUpdate:ae,postLoginUpdate:X}),this.getUserSession().pipe((0,b.s)(2),(0,Y.H)())}createLocalUserSessionUid(){this.window.sessionStorage.setItem(ie.gS,Math.random().toString(36).substring(2,15))}getDisplayName(ae){if(null!=ae)return ae.creditName&&ae.creditName.value&&ae.creditName.value.length?ae.creditName.value:(ae.givenNames&&ae.givenNames.value||" ")+" "+(ae.familyName&&ae.familyName.value||" ")}handleErrors(ae){return ae.pipe(function I(z){return(0,U.N)((de,ae)=>{let X,K,$=!1;const Be=()=>{X=de.subscribe((0,T._)(ae,void 0,void 0,Ye=>{K||(K=new M.B,(0,ne.Tg)(z(K)).subscribe((0,T._)(ae,()=>X?Be():$=!0))),K&&K.next(Ye)})),$&&(X.unsubscribe(),X=null,$=!1,Be())};Be()})}(X=>X.pipe((0,w.c)(2e3)).pipe((0,C.M)($=>{if(!this.currentlyLoggedIn||!this.loggingStateComesFromTheServer)throw new Error("currentlyLoggedInWithErrors")})))).pipe((0,O.W)(X=>(0,h.of)(null)))}handleOauthErrors(ae){return ae.pipe((0,O.W)(X=>(0,h.of)({error:X?.error?.text})))}switchAccount(ae){const X=(new a.Nl).append("username",ae.giverOrcid.path);return this._http.post(`${runtimeEnvironment.API_WEB}switch-user`,"",{headers:this.headers,params:X,context:(new a._y).set(Ce.Mg,!0)}).pipe((0,O.W)($=>0===$.status?(this.refreshUserSession(!0),(0,h.of)($)):this._errorHandler.handleError($,N.Q.STANDARD_VERBOSE)))}setTimerAsHiddenState(ae){ae&&!this.hiddenTab?(this.hiddenTab=ae,this.reset$.next(null),this.interval$.next(this.START_IN_TWENTY_FIVE_MINUTES_AND_CHECK_EVERY_TWENTY_FIVE_MINUTES)):!ae&&this.hiddenTab&&(this.hiddenTab=ae,this.reset$.next(null),this.interval$.next(this.START_IMMEDIATELY_AND_CHECK_EVERY_TWENTY_FIVE_MINUTES))}noRedirectLogout(){return this._http.get(`${runtimeEnvironment.API_WEB}signout`,{headers:this.headers,observe:"response",responseType:"text"}).pipe((0,C.M)(()=>{},()=>{this.window.location.reload()}))}static{this.\u0275fac=function(X){return new(X||z)(Ue.KVO(a.Qq),Ue.KVO(nt.c),Ue.KVO
3(we.Z),Ue.KVO(at.z),Ue.KVO(Xe.M),Ue.KVO(et.f),Ue.KVO(xe.v),Ue.KVO(De.O),Ue.KVO(Z.jf))}}static{this.\u0275prov=Ue.jDH({token:z,factory:z.\u0275fac,providedIn:"root"})}}return z})()},12194:(qe,ee,o)=>{"use strict";o.d(ee,{M:()=>O});var a=o(2615),t=o(73664),u=o(84466),M=o(79629),v=o(18107),r=o(95967);const _={capture:!0},h=["focus","mousedown","mouseenter","touchstart"],C="mat-ripple-loader-uninitialized",b="mat-ripple-loader-class-name",D="mat-ripple-loader-centered",f="mat-ripple-loader-disabled";let O=(()=>{class d{_document=(0,a.WQX)(a.qQL);_animationsDisabled=(0,v._)();_globalRippleOptions=(0,a.WQX)(r.a,{optional:!0});_platform=(0,a.WQX)(u.P);_ngZone=(0,a.WQX)(t.SKi);_injector=(0,a.WQX)(a.zZn);_eventCleanups;_hosts=new Map;constructor(){const E=(0,a.WQX)(t._9s).createRenderer(null,null);this._eventCleanups=this._ngZone.runOutsideAngular(()=>h.map(se=>E.listen(this._document,se,this._onInteraction,_)))}ngOnDestroy(){const E=this._hosts.keys();for(const se of E)this.destroyRipple(se);this._eventCleanups.forEach(se=>se())}configureRipple(E,se){E.setAttribute(C,this._globalRippleOptions?.namespace??""),(se.className||!E.hasAttribute(b))&&E.setAttribute(b,se.className||""),se.centered&&E.setAttribute(D,""),se.disabled&&E.setAttribute(f,"")}setDisabled(E,se){const Y=this._hosts.get(E);Y?(Y.target.rippleDisabled=se,!se&&!Y.hasSetUpEvents&&(Y.hasSetUpEvents=!0,Y.renderer.setupTriggerEvents(E))):se?E.setAttribute(f,""):E.removeAttribute(f)}_onInteraction=E=>{const se=(0,M._)(E);if(se instanceof HTMLElement){const Y=se.closest(`[${C}="${this._globalRippleOptions?.namespace??""}"]`);Y&&this._createRipple(Y)}};_createRipple(E){if(!this._document||this._hosts.has(E))return;E.querySelector(".mat-ripple")?.remove();const se=this._document.createElement("span");se.classList.add("mat-ripple",E.getAttribute(b)),E.append(se);const Y=this._globalRippleOptions,ne=this._animationsDisabled?0:Y?.animation?.enterDuration??r.d.enterDuration,U=this._animationsDisabled?0:Y?.animation?.exitDuration??r.d.exitDuration,T={rippleDisabled:this._animationsDisabled||Y?.disabled||E.hasAttribute(f),rippleConfig:{centered:E.hasAttribute(D),terminateOnPointerUp:Y?.terminateOnPointerUp,animation:{enterDuration:ne,exitDuration:U}}},I=new r.R(T,this._ngZone,se,this._platform,this._injector),w=!T.rippleDisabled;w&&I.setupTriggerEvents(E),this._hosts.set(E,{target:T,renderer:I,hasSetUpEvents:w}),E.removeAttribute(C)}destroyRipple(E){const se=this._hosts.get(E);se&&(se.renderer._removeTriggerEvents(),this._hosts.delete(E))}static \u0275fac=function(se){return new(se||d)};static \u0275prov=a.jDH({token:d,factory:d.\u0275fac,providedIn:"root"})}return d})()},12498:(qe,ee,o)=>{"use strict";o.d(ee,{L:()=>r});var a=o(39974),t=o(54360),u=o(33669),M=o(41584),v=o(58750);function r(_=1/0){let h;h=_&&"object"==typeof _?_:{count:_};const{count:C=1/0,delay:b,resetOnSuccess:D=!1}=h;return C<=0?u.D:(0,a.N)((f,O)=>{let L,d=0;const E=()=>{let se=!1;L=f.subscribe((0,t._)(O,Y=>{D&&(d=0),O.next(Y)},void 0,Y=>{if(d++<C){const ne=()=>{L?(L.unsubscribe(),L=null,E()):se=!0};if(null!=b){const U="number"==typeof b?(0,M.O)(b):(0,v.Tg)(b(Y,d)),T=(0,t._)(O,()=>{T.unsubscribe(),ne()},()=>{O.complete()});U.subscribe(T)}else ne()}else O.error(Y)})),se&&(L.unsubscribe(),L=null,E())};E()})}},12616:(qe,ee,o)=>{"use strict";o.d(ee,{u:()=>t});var a=o(2615);let t=(()=>{class u{info(v,...r){if(this.shouldLog("info")){const _=this.formatDetails(r);_?console.info(`[${v}]`,`\n${_}`):console.info(`[${v}]`)}}warn(v,...r){if(this.shouldLog("warn")){const _=this.formatDetails(r);_?console.warn(`[${v}]`,`\n${_}`):console.warn(`[${v}]`)}}error(v,...r){if(this.shouldLog("error")){const _=this.formatDetails(r);_?console.error(`[${v}]`,`\n${_}`):console.error(`[${v}]`)}}debug(v,...r){if(this.shouldLog("debug")){const _=this.formatDetails(r);_?console.info(`[${v}]`,`\n${_}`):console.info(`[${v}]`)}}scoped(v){return{info:(...r)=>this.info(v,...r),warn:(...r)=>this.warn(v,...r),error:(...r)=>this.error(v,...r),debug:(...r)=>this.debug(v,...r)}}formatDetails(v,r=0){const _=[],h=" ".repeat(r);
3for(const C of v)if(Array.isArray(C))if(0===C.length)_.push(`${h}- []`);else{const b=this.formatDetails(C,r+1);b&&_.push(b)}else _.push(`${h}- ${this.stringifyForLine(C)}`);return _.join("\n")}stringifyForLine(v){if("string"==typeof v)return v;if(v instanceof Error)return v.stack||v.message;try{return JSON.stringify(v)}catch{return String(v)}}shouldLog(v){return!!globalThis?.runtimeEnvironment?.debugger}static{this.\u0275fac=function(r){return new(r||u)}}static{this.\u0275prov=a.jDH({token:u,factory:u.\u0275fac,providedIn:"root"})}}return u})()},13256:(qe,ee,o)=>{"use strict";o.d(ee,{Mg:()=>v,jh:()=>r});var a=o(29330),t=o(41584),u=o(12498);const M=new Set([0,408,502,503,504]),v=new a.rx(()=>!1);function r(_=2,h=0){return(0,u.L)({count:_,delay:(C,b)=>{if(!(C instanceof a.yz&&M.has(C.status)))throw C;return(0,t.O)(h*b)}})}},13360:(qe,ee,o)=>{"use strict";o.d(ee,{M:()=>r});var a=o(72318),t=o(73664),u=o(2615),M=o(55549),v=o(21715);let r=(()=>{class _{static \u0275fac=function(b){return new(b||_)};static \u0275mod=t.$C({type:_});static \u0275inj=u.G2t({imports:[v.M,a.w5,M.j,v.M]})}return _})()},13476:function(qe,ee,o){(function(){var a,u,v={}.hasOwnProperty;a=o(68886),u=o(50170),qe.exports=function(r){function _(h,C){if(_.__super__.constructor.call(this,h),null==C)throw new Error("Missing CDATA text. "+this.debugInfo());this.name="#cdata-section",this.type=a.CData,this.value=this.stringify.cdata(C)}return function(r,_){for(var h in _)v.call(_,h)&&(r[h]=_[h]);function C(){this.constructor=r}C.prototype=_.prototype,r.prototype=new C,r.__super__=_.prototype}(_,r),_.prototype.clone=function(){return Object.create(this)}
3,_.prototype.toString=function(h){return this.options.writer.cdata(this,this.options.writer.filterOptions(h))},_}(u)}).call(this)},13798:(qe,ee,o)=>{"use strict";o.d(ee,{Z:()=>_});var a=o(43236),t=o(39974),u=o(58750),M=o(54360),r=o(41584);function _(h,C=a.E){return function v(h){return(0,t.N)((C,b)=>{let D=!1,f=null,O=null,d=!1;const L=()=>{if(O?.unsubscribe(),O=null,D){D=!1;const se=f;f=null,b.next(se)}d&&b.complete()},E=()=>{O=null,d&&b.complete()};C.subscribe((0,M._)(b,se=>{D=!0,f=se,O||(0,u.Tg)(h(se)).subscribe(O=(0,M._)(b,L,E))},()=>{d=!0,(!D||!O||O.closed)&&b.complete()}))})}(()=>(0,r.O)(h,C))}},13981:(qe,ee)=>{"use strict";ee.byteLength=function _(O){var d=r(O),E=d[1];return 3*(d[0]+E)/4-E},ee.toByteArray=function C(O){var d,T,L=r(O),E=L[0],se=L[1],Y=new t(function h(O,d,L){return 3*(d+L)/4-L}(0,E,se)),ne=0,U=se>0?E-4:E;for(T=0;T<U;T+=4)d=a[O.charCodeAt(T)]<<18|a[O.charCodeAt(T+1)]<<12|a[O.charCodeAt(T+2)]<<6|a[O.charCodeAt(T+3)],Y[ne++]=d>>16&255,Y[ne++]=d>>8&255,Y[ne++]=255&d;return 2===se&&(d=a[O.charCodeAt(T)]<<2|a[O.charCodeAt(T+1)]>>4,Y[ne++]=255&d),1===se&&(d=a[O.charCodeAt(T)]<<10|a[O.charCodeAt(T+1)]<<4|a[O.charCodeAt(T+2)]>>2,Y[ne++]=d>>8&255,Y[ne++]=255&d),Y},ee.fromByteArray=function f(O){for(var d,L=O.length,E=L%3,se=[],Y=16383,ne=0,U=L-E;ne<U;ne+=Y)se.push(D(O,ne,ne+Y>U?U:ne+Y));return 1===E?se.push(o[(d=O[L-1])>>2]+o[d<<4&63]+"=="):2===E&&se.push(o[(d=(O[L-2]<<8)+O[L-1])>>10]+o[d>>4&63]+o[d<<2&63]+"="),se.join("")};for(var o=[],a=[],t=typeof Uint8Array<"u"?Uint8Array:Array,u="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",M=0;M<64;++M)o[M]=u[M],a[u.charCodeAt(M)]=M;function r(O){var d=O.length;if(d%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var L=O.indexOf("=");return-1===L&&(L=d),[L,L===d?0:4-L%4]}function b(O){return o[O>>18&63]+o[O>>12&63]+o[O>>6&63]+o[63&O]}function D(O,d,L){for(var se=[],Y=d;Y<L;Y+=3)se.push(b((O[Y]<<16&16711680)+(O[Y+1]<<8&65280)+(255&O[Y+2])));return se.join("")}a[45]=62,a[95]=63},14080:(qe,ee,o)=>{"use strict";o.d(ee,{M:()=>t,r:()=>a});const a={PRIVATE:0,LIMITED:1,PUBLIC:2},t={PUBLIC:"Everyone",LIMITED:"Trusted parties",PRIVATE:"Only me"}},14085:(qe,ee,o)=>{"use strict";function a(u){return null!=u&&"false"!=`${u}`}o.d(ee,{he:()=>a})},14792:(qe,ee,o)=>{var a=o(75932);function t(){a.call(this)}t.prototype=new a,qe.exports=t,t.Stream=t,t.prototype.pipe=function(u,M){var v=this;function r(O){u.writable&&!1===u.write(O)&&v.pause&&v.pause()}function _(){v.readable&&v.resume&&v.resume()}v.on("data",r),u.on("drain",_),!u._isStdio&&(!M||!1!==M.end)&&(v.on("end",C),v.on("close",b));var h=!1;function C(){h||(h=!0,u.end())}function b(){h||(h=!0,"function"==typeof u.destroy&&u.destroy())}function D(O){if(f(),!this.hasListeners("error"))throw O}function f(){v.off("data",r),u.off("drain",_),v.off("end",C),v.off("close",b),v.off("error",D),u.off("error",D),v.off("end",f),v.off("close",f),u.off("end",f),u.off("close",f)}return v.on("error",D),u.on("error",D),v.on("end",f),v.on("close",f),u.on("end",f),u.on("close",f),u.emit("pipe",v),u}},15196:(qe,ee,o)=>{"use strict";o.d(ee,{C:()=>u,U:()=>M});var a=o(31635),t=o(98071);function u(v){return(0,a.AQ)(this,arguments,function*(){const _=v.getReader();try{for(;;){const{value:h,done:C}=yield(0,a.N3)(_.read());if(C)return yield(0,a.N3)(void 0);yield yield(0,a.N3)(h)}}finally{_.releaseLock()}})}function M(v){return(0,t.T)(v?.getReader)}},15349:(qe,ee,o)=>{"use strict";o.d(ee,{O:()=>a});class a{static getGivenNames(u){return u?.names?.givenNames?u.names.givenNames.value:""}static getFamilyName(u){return u?.names?.familyName?u.names.familyName.value:""}static getCreditName(u){return u?.names?.creditName?u.names.creditName.value:""}static isNamePublicAndAffiliations(u,M){return!!(0===M&&this.getGivenNames(u)||this.getFamilyName(u)||this.getCreditName(u))}static getAriaLabelName(u,M){if(u?.names){if(u?.names?.creditName?.value)return u?.names?.creditName?.value;if(u?.names?.givenNames?.value)return u?.names?.givenNames?.value;if(u?.names?.familyName?.value)return M?M+" "+u?.names?.familyName?.value:u?.names?.familyName?.value}}static getOtherNamesUnique(u){return u.map(M=>M.content).filter(function(M,v,r){return r.map(_=>_.toLowerCase().trim()).indexOf(M.toLowerCase().trim())===v}).join("; ")}static isSideBarEmpty(u,M){return!!(M?.emails?.emails&&(!u||M?.emails?.emails.length>0)||M?.emails?.emailDomains&&(!u||M?.emails.emailDomains.length>0)||M?.website?.websites&&(!u||M.website.websites.length>0)||M?.externalIdentifier?.externalIdentifiers&&M?.externalIdentifier?.externalIdentifiers.length>0||M?.keyword?.keywords&&(!u||M.keyword.keywords.length>0)||M?.countries?.addresses&&(!u||M.countries.addresses.length>0))}static scrollTo(u,M){const v=document.getElementById(u);v&&(M?("Enter"===M.key||" "===M.key)&&(v.scrollIntoView({behavior:"smooth",block:"start"}),v.setAttribute("tabindex","-1"),v.focus(),v.removeAttribute("tabindex")):v.scrollIntoView({behavior:"smooth",block:"start"}))}static appendOpensInNewTab(u){return`${u} ${"(opens in a new tab)"}`}}},16030:(qe,ee,o)=>{"use strict";o.d(ee,{E:()=>O});
3var a=o(29330),t=o(92771),u=o(983),M=o(7673),v=o(96354),r=o(99437),_=o(88141),h=o(25558),C=o(27997),b=o(2615),D=o(56846),f=o(89402);let O=(()=>{class d{constructor(E,se,Y){this._http=E,this._errorHandler=se,this._recordPublicSidebar=Y,this.headers=new a.Lr({"Access-Control-Allow-Origin":"*"})}getEmails(E={forceReload:!1}){if(E.publicRecordId)return this._recordPublicSidebar.getPublicRecordSideBar(E).pipe((0,v.T)(se=>se.emails));if(this.$emailsSubject){if(!E.forceReload)return this.$emailsSubject}else this.$emailsSubject=new t.m(1);return E.cleanCacheIfExist&&this.$emailsSubject.next(u.w),this._http.get(runtimeEnvironment.API_WEB+"account/emails.json",{headers:this.headers}).pipe((0,r.W)(se=>this._errorHandler.handleError(se)),(0,r.W)(()=>(0,M.of)({emails:[]})),(0,v.T)(se=>(se.emails.sort(this.sortByEmailCreationDate),(0,C.f)(se))),(0,_.M)(se=>{this.$emailsSubject.next(se)})).subscribe(),this.$emailsSubject}postEmails(E){return this._http.post(runtimeEnvironment.API_WEB+"account/emails.json",E,{headers:this.headers}).pipe((0,r.W)(se=>this._errorHandler.handleError(se)),(0,h.n)(()=>this.getEmails({forceReload:!0})))}editEmail(E,se){return this._http.post(runtimeEnvironment.API_WEB+"account/email/edit.json",{original:E,edited:se},{headers:this.headers}).pipe((0,r.W)(Y=>this._errorHandler.handleError(Y)),(0,h.n)(()=>this.getEmails({forceReload:!0})))}verifyEmail(E){return this._http.get(runtimeEnvironment.API_WEB+`account/verifyEmail.json?email=${encodeURIComponent(E)}`,{headers:this.headers}).pipe((0,r.W)(se=>this._errorHandler.handleError(se)),(0,h.n)(()=>this.getEmails()))}visibility(E){const se=JSON.stringify(E);return this._http.post(runtimeEnvironment.API_WEB+"account/email/visibility",se,{headers:this.headers}).pipe((0,r.W)(Y=>this._errorHandler.handleError(Y)),(0,h.n)(()=>this.getEmails({forceReload:!0})))}validateRegisterValue(E){return this._http.post(runtimeEnvironment.API_WEB+"account/validateEmail.json",E).pipe((0,r.W)(se=>this._errorHandler.handleError(se)))}backendEmailValidate(E){return se=>{if(""===se.value)return(0,M.of)(null);const Y={value:se.value};return E.filter(U=>U.value===Y.value).length?(0,M.of)(null):this.validateRegisterValue(Y).pipe((0,v.T)(U=>U.errors.length>0?{backendError:U.errors}:null))}}sortByEmailByValue(E,se){return E.value<se.value?-1:E.value>se.value?1:0}sortByEmailByVerifiedState(E,se){return E.verified===se.verified?0:E.verified?-1:1}sortByEmailPrimaryState(E,se){return E.primary===se.primary?0:E.primary?-1:1}sortByEmailCreationDate(E,se){return E.createdDate.timestamp-se.createdDate.timestamp}static{this.\u0275fac=function(se){return new(se||d)(b.KVO(a.Qq),b.KVO(D.c),b.KVO(f.I))}}static{this.\u0275prov=b.jDH({token:d,factory:d.\u0275fac,providedIn:"root"})}}return d})()},16837:(qe,ee,o)=>{"use strict";o.d(ee,{u:()=>d});var a=o(27468),t=o(96697),u=o(96354),M=o(22193),v=o(19490),r=o(36131),_=o(2615),h=o(8435),C=o(91029),b=o(90645),D=o(12616),f=o(85850),O=o(8858);let d=(()=>{class L{constructor(se,Y,ne,U,T,I){this._user=se,this._router=Y,this._togglzService=ne,this.featureLogger=U,this.authDecision=T,this._observability=I}canActivateChild(se,Y){const ne=se.queryParams;return(0,a.p)({isOauthAuthorizationTogglzEnable:this._togglzService.getStateOf(M.i.OAUTH_AUTHORIZATION).pipe((0,t.s)(1)),session:this._user.getUserSession().pipe((0,t.s)(1))}).pipe((0,t.s)(1),(0,u.T)(({isOauthAuthorizationTogglzEnable:U,session:T})=>{const I=this.authDecision.decideForSignIn(T,U,ne);switch(this.featureLogger.debug("Sign-In Guard",...I.trace),I.action){case"redirectToAuthorize":return this._observability.recordSimpleEvent(v.f0.SignInGuardRedirectToAuthorize,this.buildDecisionAttrs(ne,I)),this.redirectToAuthorize(ne);case"redirectToRegister":return this._observability.recordSimpleEvent(v.f0.SignInGuardRedirectToRegister,this.buildDecisionAttrs(ne,I)),this.redirectToRegister(ne);default:return!0}}))}redirectToAuthorize(se){return this._router.createUrlTree(["/oauth/authorize"],{queryParams:se})}redirectToRegister(se){return this._router.createUrlTree(["/register"],{queryParams:se})}buildDecisionAttrs(se,Y){return{decision_action:Y.action,decision_reason:Y.reason,client_id:se?.client_id,redirect_uri:se?.redirect_uri,prompt:se?.prompt,scope:se?.scope,oauth_query_string:(0,r.W)(se)}}static{this.\u0275fac=function(Y){return new(Y||L)(_.KVO(h.DL),_.KVO(C.Ix),_.KVO(b.v),_.KVO(D.u),_.KVO(f.M),_.KVO(O.s))}}static{this.\u0275prov=_.jDH({token:L,factory:L.\u0275fac,providedIn:"root"})}}return L})()},17035:(qe,ee,o)=>{"use strict";o.d(ee,{A:()=>z,B:()=>t,C:()=>_,D:()=>U,E:()=>L,H:()=>E,L:()=>se,M:()=>oi,N:()=>Xe,P:()=>d,R:()=>ne,S:()=>f,T:()=>u,U:()=>Y,Z:()=>Ct,a:()=>O,b:()=>N,c:()=>v,d:()=>h,e:()=>Wt,f:()=>
3r,g:()=>D,i:()=>Z});const t=8,u=9,v=13,r=16,_=17,h=18,D=27,f=32,O=33,d=34,L=35,E=36,se=37,Y=38,ne=39,U=40,Z=46,N=48,Xe=57,z=65,Ct=90,Wt=91,oi=224},17705:(qe,ee,o)=>{"use strict";o.d(ee,{ES_:()=>D,HJs:()=>so,Hbi:()=>Me,L39:()=>tt,MKu:()=>Ai,RxE:()=>De,SmG:()=>Gn,Udg:()=>Lt,_q3:()=>ni,a0P:()=>An,cCO:()=>f,ebz:()=>U,fpN:()=>xt,gRc:()=>$t,hFB:()=>se,oH4:()=>st,sbv:()=>Z,uEv:()=>qi});var a=o(2615),t=o(48440),u=o(73664);const M=Symbol("InputSignalNode#UNSET"),v={...t.s0,transformFn:void 0,applyValueToInputSignal(je,ge){(0,t.j2)(je,ge)}};function _(je,ge){const Ie=Object.create(v);function gt(){if((0,t.mK)(Ie),Ie.value===M)throw new a.buA(-950,null);return Ie.value}return Ie.value=je,Ie.transformFn=ge?.transform,gt[t.bh]=Ie,gt}class D{attributeName;constructor(ge){this.attributeName=ge}__NG_ELEMENT_ID__=()=>(0,u.kS0)(this.attributeName);toString(){return`HostAttributeToken ${this.attributeName}`}}const f=new a.nKC("");function L(je,ge){return _(je,ge)}f.__NG_ELEMENT_ID__=je=>{const ge=(0,a.Mx4)();if(null===ge)throw new a.buA(204,!1);if(2&ge.type)return ge.value;if(8&je)return null;throw new a.buA(204,!1)};const se=(L.required=function E(je){return _(M,je)},L);function Y(je,ge){return(0,u.mU9)(ge)}const U=(Y.required=function ne(je,ge){return(0,u.hnC)(ge)},Y);function I(je,ge){return(0,u.mU9)(ge)}const Z=(I.required=function w(je,ge){return(0,u.hnC)(ge)},I);class De{full;major;minor;patch;constructor(ge){this.full=ge;const Ie=ge.split(".");this.major=Ie[0],this.minor=Ie[1],this.patch=Ie.slice(2).join(".")}}const Ye=new a.nKC(""),Se=new a.nKC("");function pt(je){return!je.moduleRef}let bt;function me(){bt=J}function J(je,ge){const Ie=je.injector.get(u.o8S);if(je._bootstrapComponents.length>0)je._bootstrapComponents.forEach(gt=>Ie.bootstrap(gt));else{if(!je.instance.ngDoBootstrap)throw new a.buA(-403,!1);je.instance.ngDoBootstrap(Ie)}ge.push(je)}let x=(()=>{class je{_injector;_modules=[];_destroyListeners=[];_destroyed=!1;constructor(Ie){this._injector=Ie}bootstrapModuleFactory(Ie,gt){const Vt=gt?.scheduleInRootZone,an=gt?.ignoreChangesOutsideZone,En=[(0,u.SdI)({ngZoneFactory:()=>(0,u.G5x)(gt?.ngZone,{...(0,u.cZr)({eventCoalescing:gt?.ngZoneEventCoalescing,runCoalescing:gt?.ngZoneRunCoalescing}),scheduleInRootZone:Vt}),ignoreChangesOutsideZone:an}),{provide:a.hk6,useExisting:u.Ts$},a.gv8],Mn=(0,u.VzW)(Ie.moduleType,this.injector,En);return me(),function Ge(je){const ge=pt(je)?je.r3Injector:je.moduleRef.injector,Ie=ge.get(u.SKi);return Ie.run(()=>{pt(je)?je.r3Injector.resolveInjectorInitializers():je.moduleRef.resolveInjectorInitializers();const gt=ge.get(a.ZTf);let Vt;if(Ie.runOutsideAngular(()=>{Vt=Ie.onError.subscribe({next:gt})}),pt(je)){const Zt=()=>ge.destroy(),an=je.platformInjector.get(Ye);an.add(Zt),ge.onDestroy(()=>{Vt.unsubscribe(),an.delete(Zt)})}else{const Zt=()=>je.moduleRef.destroy(),an=je.platformInjector.get(Ye);an.add(Zt),je.moduleRef.onDestroy(()=>{(0,u.TFI)(je.allPlatformModules,je.moduleRef),Vt.unsubscribe(),an.delete(Zt)})}return function R(je,ge,Ie){try{const gt=Ie();return(0,u.yLl)(gt)?gt.catch(Vt=>{throw ge.runOutsideAngular(()=>je(Vt)),Vt}):gt}catch(gt){throw ge.runOutsideAngular(()=>je(gt)),gt}}(gt,Ie,()=>{const Zt=ge.get(a.rev),an=Zt.add(),En=ge.get(u.H1s);return En.runInitializers(),En.donePromise.then(()=>{const Mn=ge.get(u.xe9,u.DkB);if((0,u.e6s)(Mn||u.DkB),!ge.get(Se,!0))return pt(je)?ge.get(u.o8S):(je.allPlatformModules.push(je.moduleRef),je.moduleRef);if(pt(je)){const ci=ge.get(u.o8S);return void 0!==je.rootComponent&&ci.bootstrap(je.rootComponent),ci}return bt?.(je.moduleRef,je.allPlatformModules),je.moduleRef}).finally(()=>{Zt.remove(an)})})})}({moduleRef:Mn,allPlatformModules:this._modules,platformInjector:this.injector})}bootstrapModule(Ie,gt=[]){const Vt=(0,u.lJT)({},gt);return me(),function z(je,ge,Ie){const gt=new u.Co$(Ie);return Promise.resolve(gt)}(0,0,Ie).then(Zt=>this.bootstrapModuleFactory(Zt,Vt))}onDestroy(Ie){this._destroyListeners.push(Ie)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new a.buA(404,!1);this._modules.slice().forEach(gt=>
3gt.destroy()),this._destroyListeners.forEach(gt=>gt());const Ie=this._injector.get(Ye,null);Ie&&(Ie.forEach(gt=>gt()),Ie.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static \u0275fac=function(gt){return new(gt||je)((0,a.KVO)(a.zZn))};static \u0275prov=(0,a.jDH)({token:je,factory:je.\u0275fac,providedIn:"platform"})}return je})(),ce=null;const Pe=new a.nKC("");function st(je,ge,Ie=[]){const gt=`Platform: ${ge}`,Vt=new a.nKC(gt);return(Zt=[])=>{let an=Ne();if(!an||an.injector.get(Pe,!1)){const En=[...Ie,...Zt,{provide:Vt,useValue:!0}];je?je(En):function pe(je){if(ce&&!ce.get(Pe,!1))throw new a.buA(400,!1);(0,u.pl0)(),(0,u.ypd)(),ce=je;const ge=je.get(x);(function Wt(je){const ge=je.get(u.PLl,null);(0,a.N4e)(je,()=>{ge?.forEach(Ie=>Ie())})})(je)}(function Qe(je=[],ge){return a.zZn.create({name:ge,providers:[{provide:a.GBX,useValue:"platform"},{provide:Ye,useValue:new Set([()=>ce=null])},...je]})}(En,gt))}return function At(){const ge=Ne();if(!ge)throw new a.buA(401,!1);return ge}()}}function Ne(){return ce?.get(x)??null}function Gn(){}let $t=(()=>class je{static __NG_ELEMENT_ID__=it})();function it(je){return function mt(je,ge,Ie){if((0,a.Qs1)(je)&&!Ie){const gt=(0,a.KdJ)(je.index,ge);return new u.NCX(gt,gt)}return 175&je.type?new u.NCX(ge[a.b5C],ge):null}((0,a.Mx4)(),(0,a.OAn)(),!(16&~je))}class vt{constructor(){}supports(ge){return(0,u.ozJ)(ge)}create(ge){return new ht(ge)}}const $e=(je,ge)=>ge;class ht{length=0;collection;_linkedRecords=null;_unlinkedRecords=null;_previousItHead=null;_itHead=null;_itTail=null;_additionsHead=null;_additionsTail=null;_movesHead=null;_movesTail=null;_removalsHead=null;_removalsTail=null;_identityChangesHead=null;_identityChangesTail=null;_trackByFn;constructor(ge){this._trackByFn=ge||$e}forEachItem(ge){let Ie;for(Ie=this._itHead;null!==Ie;Ie=Ie._next)ge(Ie)}forEachOperation(ge){let Ie=this._itHead,gt=this._removalsHead,Vt=0,Zt=null;for(;Ie||gt;){const an=!gt||Ie&&Ie.currentIndex<on(gt,Vt,Zt)?Ie:gt,En=on(an,Vt,Zt),Mn=an.currentIndex;if(an===gt)Vt--,gt=gt._nextRemoved;else if(Ie=Ie._next,null==an.previousIndex)Vt++;else{Zt||(Zt=[]);const xn=En-Vt,ci=Mn-Vt;if(xn!=ci){for(let Gi=0;Gi<xn;Gi++){const zi=Gi<Zt.length?Zt[Gi]:Zt[Gi]=0,ur=zi+Gi;ci<=ur&&ur<xn&&(Zt[Gi]=zi+1)}Zt[an.previousIndex]=ci-xn}}En!==Mn&&ge(an,En,Mn)}}forEachPreviousItem(ge){let Ie;for(Ie=this._previousItHead;null!==Ie;Ie=Ie._nextPrevious)ge(Ie)}forEachAddedItem(ge){let Ie;for(Ie=this._additionsHead;null!==Ie;Ie=Ie._nextAdded)ge(Ie)}forEachMovedItem(ge){let Ie;for(Ie=this._movesHead;null!==Ie;Ie=Ie._nextMoved)ge(Ie)}forEachRemovedItem(ge){let Ie;for(Ie=this._removalsHead;null!==Ie;Ie=Ie._nextRemoved)ge(Ie)}forEachIdentityChange(ge){let Ie;for(Ie=this._identityChangesHead;null!==Ie;Ie=Ie._nextIdentityChange)ge(Ie)}diff(ge){if(null==ge&&(ge=[]),!(0,u.ozJ)(ge))throw new a.buA(900,!1);return this.check(ge)?this:null}onDestroy(){}check(ge){this._reset();let Vt,Zt,an,Ie=this._itHead,gt=!1;if(Array.isArray(ge)){this.length=ge.length;for(let En=0;En<this.length;En++)Zt=ge[En],an=this._trackByFn(En,Zt),null!==Ie&&Object.is(Ie.trackById,an)?(gt&&(Ie=this._verifyReinsertion(Ie,Zt,an,En)),Object.is(Ie.item,Zt)||this._addIdentityChange(Ie,Zt)):(Ie=this._mismatch(Ie,Zt,an,En),gt=!0),Ie=Ie._next}else Vt=0,(0,u.utN)(ge,En=>{an=this._trackByFn(Vt,En),null!==Ie&&Object.is(Ie.trackById,an)?(gt&&(Ie=this._verifyReinsertion(Ie,En,an,Vt)),Object.is(Ie.item,En)||this._addIdentityChange(Ie,En)):(Ie=this._mismatch(Ie,En,an,Vt),gt=!0),Ie=Ie._next,Vt++}),this.length=Vt;return this._truncate(Ie),this.collection=ge,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let ge;for(ge=this._previousItHead=this._itHead;null!==ge;ge=ge._next)ge._nextPrevious=ge._next;for(ge=this._additionsHead;null!==ge;ge=ge._nextAdded)ge.previousIndex=ge.currentIndex;for(this._additionsHead=this._additionsTail=null,ge=this._movesHead;null!==ge;ge=ge._nextMoved)ge.previousIndex=ge.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(ge,Ie,gt,Vt){let Zt;return null===ge?Zt=this._itTail:(Zt=ge._prev,this._remove(ge)),null!==(ge=null===this._unlinkedRecords?null:this._unlinkedRecords.get(gt,null))?(Object.is(ge.
vendor: 4,994 bytes, line 3
3item,Ie)||this._addIdentityChange(ge,Ie),this._reinsertAfter(ge,Zt,Vt)):null!==(ge=null===this._linkedRecords?null:this._linkedRecords.get(gt,Vt))?(Object.is(ge.item,Ie)||this._addIdentityChange(ge,Ie),this._moveAfter(ge,Zt,Vt)):ge=this._addAfter(new Ae(Ie,gt),Zt,Vt),ge}_verifyReinsertion(ge,Ie,gt,Vt){let Zt=null===this._unlinkedRecords?null:this._unlinkedRecords.get(gt,null);return null!==Zt?ge=this._reinsertAfter(Zt,ge._prev,Vt):ge.currentIndex!=Vt&&(ge.currentIndex=Vt,this._addToMoves(ge,Vt)),ge}_truncate(ge){for(;null!==ge;){const Ie=ge._next;this._addToRemovals(this._unlink(ge)),ge=Ie}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(ge,Ie,gt){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(ge);const Vt=ge._prevRemoved,Zt=ge._nextRemoved;return null===Vt?this._removalsHead=Zt:Vt._nextRemoved=Zt,null===Zt?this._removalsTail=Vt:Zt._prevRemoved=Vt,this._insertAfter(ge,Ie,gt),this._addToMoves(ge,gt),ge}_moveAfter(ge,Ie,gt){return this._unlink(ge),this._insertAfter(ge,Ie,gt),this._addToMoves(ge,gt),ge}_addAfter(ge,Ie,gt){return this._insertAfter(ge,Ie,gt),this._additionsTail=null===this._additionsTail?this._additionsHead=ge:this._additionsTail._nextAdded=ge,ge}_insertAfter(ge,Ie,gt){const Vt=null===Ie?this._itHead:Ie._next;return ge._next=Vt,ge._prev=Ie,null===Vt?this._itTail=ge:Vt._prev=ge,null===Ie?this._itHead=ge:Ie._next=ge,null===this._linkedRecords&&(this._linkedRecords=new Mt),this._linkedRecords.put(ge),ge.currentIndex=gt,ge}_remove(ge){return this._addToRemovals(this._unlink(ge))}_unlink(ge){null!==this._linkedRecords&&this._linkedRecords.remove(ge);const Ie=ge._prev,gt=ge._next;return null===Ie?this._itHead=gt:Ie._next=gt,null===gt?this._itTail=Ie:gt._prev=Ie,ge}_addToMoves(ge,Ie){return ge.previousIndex===Ie||(this._movesTail=null===this._movesTail?this._movesHead=ge:this._movesTail._nextMoved=ge),ge}_addToRemovals(ge){return null===this._unlinkedRecords&&(this._unlinkedRecords=new Mt),this._unlinkedRecords.put(ge),ge.currentIndex=null,ge._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=ge,ge._prevRemoved=null):(ge._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=ge),ge}_addIdentityChange(ge,Ie){return ge.item=Ie,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=ge:this._identityChangesTail._nextIdentityChange=ge,ge}}class Ae{item;trackById;currentIndex=null;previousIndex=null;_nextPrevious=null;_prev=null;_next=null;_prevDup=null;_nextDup=null;_prevRemoved=null;_nextRemoved=null;_nextAdded=null;_nextMoved=null;_nextIdentityChange=null;constructor(ge,Ie){this.item=ge,this.trackById=Ie}}class It{_head=null;_tail=null;add(ge){null===this._head?(this._head=this._tail=ge,ge._nextDup=null,ge._prevDup=null):(this._tail._nextDup=ge,ge._prevDup=this._tail,ge._nextDup=null,this._tail=ge)}get(ge,Ie){let gt;for(gt=this._head;null!==gt;gt=gt._nextDup)if((null===Ie||Ie<=gt.currentIndex)&&Object.is(gt.trackById,ge))return gt;return null}remove(ge){const Ie=ge._prevDup,gt=ge._nextDup;return null===Ie?this._head=gt:Ie._nextDup=gt,null===gt?this._tail=Ie:gt._prevDup=Ie,null===this._head}}class Mt{map=new Map;put(ge){const Ie=ge.trackById;let gt=this.map.get(Ie);gt||(gt=new It,this.map.set(Ie,gt)),gt.add(ge)}get(ge,Ie){const Vt=this.map.get(ge);return Vt?Vt.get(ge,Ie):null}remove(ge){const Ie=ge.trackById;return this.map.get(Ie).remove(ge)&&this.map.delete(Ie),ge}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function on(je,ge,Ie){const gt=je.previousIndex;if(null===gt)return gt;let Vt=0;return Ie&><Ie.length&&(Vt=Ie[gt]),gt+ge+Vt}class Gt{constructor(){}supports(ge){return ge instanceof Map||(0,u.vDg)(ge)}create(){return new hn}}class hn{_records=new Map;_mapHead=null;_appendAfter=null;_previousMapHead=null;_changesHead=null;_changesTail=null;_additionsHead=null;_additionsTail=null;_removalsHead=null;_removalsTail=null;get isDirty(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}forEachItem(ge){let Ie;for(Ie=this._mapHead;null!==Ie;Ie=Ie._next)ge(Ie)}forEachPreviousItem(ge){let Ie;for(Ie=this._previousMapHead;null!==Ie;Ie=Ie._nextPrevious)ge(Ie)}forEachChangedItem(ge){let Ie;for(Ie=this._changesHead;null!==Ie;Ie=Ie._nextChanged)ge(Ie)}forEachAddedItem(ge){let Ie;for(Ie=this._additionsHead;null!==Ie;Ie=Ie._nextAdded)ge(Ie)}forEachRemovedItem(ge){let Ie;for(Ie=this._removalsHead;null!==Ie;Ie=Ie._nextRemoved)ge(Ie)}diff(ge){if(ge){if(!(ge instanceof Map||(0,u.vDg)(ge)))throw new a.buA(900,!1)}else ge=new Map;return this.check(ge)?this:null}onDestroy(){}check(ge){this._reset();let Ie=this._mapHead;
3if(this._appendAfter=null,this._forEach(ge,(gt,Vt)=>{if(Ie&&Ie.key===Vt)this._maybeAddToChanges(Ie,gt),this._appendAfter=Ie,Ie=Ie._next;else{const Zt=this._getOrCreateRecordForKey(Vt,gt);Ie=this._insertBeforeOrAppend(Ie,Zt)}}),Ie){Ie._prev&&(Ie._prev._next=null),this._removalsHead=Ie;for(let gt=Ie;null!==gt;gt=gt._nextRemoved)gt===this._mapHead&&(this._mapHead=null),this._records.delete(gt.key),gt._nextRemoved=gt._next,gt.previousValue=gt.currentValue,gt.currentValue=null,gt._prev=null,gt._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(ge,Ie){if(ge){const gt=ge._prev;return Ie._next=ge,Ie._prev=gt,ge._prev=Ie,gt&&(gt._next=Ie),ge===this._mapHead&&(this._mapHead=Ie),this._appendAfter=ge,ge}return this._appendAfter?(this._appendAfter._next=Ie,Ie._prev=this._appendAfter):this._mapHead=Ie,this._appendAfter=Ie,null}_getOrCreateRecordForKey(ge,Ie){if(this._records.has(ge)){const Vt=this._records.get(ge);this._maybeAddToChanges(Vt,Ie);const Zt=Vt._prev,an=Vt._next;return Zt&&(Zt._next=an),an&&(an._prev=Zt),Vt._next=null,Vt._prev=null,Vt}const gt=new Cn(ge);return this._records.set(ge,gt),gt.currentValue=Ie,this._addToAdditions(gt),gt}_reset(){if(this.isDirty){let ge;for(this._previousMapHead=this._mapHead,ge=this._previousMapHead;null!==ge;ge=ge._next)ge._nextPrevious=ge._next;for(ge=this._changesHead;null!==ge;ge=ge._nextChanged)ge.previousValue=ge.currentValue;for(ge=this._additionsHead;null!=ge;ge=ge._nextAdded)ge.previousValue=ge.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(ge,Ie){Object.is(Ie,ge.currentValue)||(ge.previousValue=ge.currentValue,ge.currentValue=Ie,this._addToChanges(ge))}_addToAdditions(ge){null===this._additionsHead?this._additionsHead=this._additionsTail=ge:(this._additionsTail._nextAdded=ge,this._additionsTail=ge)}_addToChanges(ge){null===this._changesHead?this._changesHead=this._changesTail=ge:(this._changesTail._nextChanged=ge,this._changesTail=ge)}_forEach(ge,Ie){ge instanceof Map?ge.forEach(Ie):Object.keys(ge).forEach(gt=>Ie(ge[gt],gt))}}class Cn{key;previousValue=null;currentValue=null;_nextPrevious=null;_next=null;_prev=null;_nextAdded=null;_nextRemoved=null;_nextChanged=null;constructor(ge){this.key=ge}}function Sn(){return new ni([new vt])}let ni=(()=>{class je{factories;static \u0275prov=(0,a.jDH)({token:je,providedIn:"root",factory:Sn});constructor(Ie){this.factories=Ie}static create(Ie,gt){if(null!=gt){const Vt=gt.factories.slice();Ie=Ie.concat(Vt)}return new je(Ie)}static extend(Ie){return{provide:je,useFactory:gt=>je.create(Ie,gt||Sn()),deps:[[je,new u.kdw,new u.Xx1]]}}find(Ie){const gt=this.factories.find(Vt=>Vt.supports(Ie));if(null!=gt)return gt;throw new a.buA(901,!1)}}return je})();function vi(){return new Ai([new Gt])}let Ai=(()=>{class je{static \u0275prov=(0,a.jDH)({token:je,providedIn:"root",factory:vi});factories;constructor(Ie){this.factories=Ie}static create(Ie,gt){if(gt){const Vt=gt.factories.slice();Ie=Ie.concat(Vt)}return new je(Ie)}static extend(Ie){return{provide:je,useFactory:gt=>je.create(Ie,gt||vi()),deps:[[je,new u.kdw,new u.Xx1]]}}find(Ie){const gt=this.factories.find(Vt=>Vt.supports(Ie));if(gt)return gt;throw new a.buA(901,!1)}}return je})();const xt=st(null,"core",[]);let Me=(()=>{class je{constructor(Ie){}static \u0275fac=function(gt){return new(gt||je)((0,a.KVO)(u.o8S))};static \u0275mod=(0,u.$C)({type:je});static \u0275inj=(0,a.G2t)({})}return je})();function tt(je){return"boolean"==typeof je?je:null!=je&&"false"!==je}function Lt(je,ge=NaN){return isNaN(parseFloat(je))||isNaN(Number(je))?ge:Number(je)}const Kr=Symbol("NOT_SET"),qr=new Set,Eo={...t.s0,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,value:Kr,cleanup:null,consumerMarkedDirty(){if(this.sequence.impl.executing){if(null===this.sequence.lastPhase||this.sequence.lastPhase<this.phase)return;this.sequence.erroredOrDestroyed=!0}this.sequence.scheduler.notify(7)},phaseFn(je){if(this.sequence.lastPhase=this.phase,!this.dirty)return this.signal;if(this.dirty=!1,this.value!==Kr&&!(0,t.si)(this))return this.signal;try{for(const Vt of this.cleanup??qr)Vt()}finally{this.cleanup?.clear()}const ge=[];void 0!==je&&ge.push(je),ge.push(this.registerCleanupFn);const Ie=(0,t.Bg)(this);let gt;try{gt=this.userFn.apply(null,ge)}finally{(0,t.Wu)(this,Ie)}return(this.value===Kr||!this.equal(this.value,gt))&&(this.value=gt,this.version++),this.signal}};class Uo extends u._ys{scheduler;lastPhase=null;nodes=[void 0,void 0,void 0,void 0];constructor(ge,Ie,gt,Vt,Zt,an=null){super(ge,[void 0,void 0,void 0,void 0],gt,!1,Zt,an),this.scheduler
3=Vt;for(const En of u.zoo){const Mn=Ie[En];if(void 0===Mn)continue;const xn=Object.create(Eo);xn.sequence=this,xn.phase=En,xn.userFn=Mn,xn.dirty=!0,xn.signal=()=>((0,t.mK)(xn),xn.value),xn.signal[t.bh]=xn,xn.registerCleanupFn=ci=>(xn.cleanup??=new Set).add(ci),this.nodes[En]=xn,this.hooks[En]=ci=>xn.phaseFn(ci)}}afterRun(){super.afterRun(),this.lastPhase=null}destroy(){super.destroy();for(const ge of this.nodes)for(const Ie of ge?.cleanup??qr)Ie()}}function qi(je,ge){const Ie=ge?.injector??(0,a.WQX)(a.zZn),gt=Ie.get(a.hk6),Vt=Ie.get(u.cf$),Zt=Ie.get(u.a8H,null,{optional:!0});Vt.impl??=Ie.get(u.ziy);let an=je;"function"==typeof an&&(an={mixedReadWrite:je});const En=Ie.get(a.r4V,null,{optional:!0}),Mn=new Uo(Vt.impl,[an.earlyRead,an.write,an.mixedReadWrite,an.read],En?.view,gt,Ie.get(a.abz),Zt?.snapshot(null));return Vt.impl.register(Mn),Mn}function An(je,ge){const Ie=(0,a.xUg)(je),gt=ge.elementInjector||(0,a.WB9)();return new u.eHC(Ie).create(gt,ge.projectableNodes,ge.hostElement,ge.environmentInjector,ge.directives,ge.bindings)}function so(je){const ge=(0,a.xUg)(je);if(!ge)return null;const Ie=new u.eHC(ge);return{get selector(){return Ie.selector},get type(){return Ie.componentType},get inputs(){return Ie.inputs},get outputs(){return Ie.outputs},get ngContentSelectors(){return Ie.ngContentSelectors},get isStandalone(){return ge.standalone},get isSignal(){return ge.signals}}}},18062:(qe,ee,o)=>{"use strict";o.d(ee,{g:()=>b});var a=o(29330),t=o(92771),u=o(7673),M=o(96354),v=o(99437),r=o(88141),_=o(2615),h=o(56846),C=o(89402);let b=(()=>{class D{constructor(O,d,L){this._http=O,this._errorHandler=d,this._recordPublicSidebar=L,this.headers=new a.Lr({"Access-Control-Allow-Origin":"*"})}getKeywords(O={forceReload:!1}){if(O.publicRecordId)return this._recordPublicSidebar.getPublicRecordSideBar(O).pipe((0,M.T)(d=>d.keyword));if(this.$keywords){if(!O.forceReload)return this.$keywords}else this.$keywords=new t.m(1);return O.cleanCacheIfExist&&this.$keywords&&this.$keywords.next(void 0),this._http.get(runtimeEnvironment.API_WEB+"my-orcid/keywordsForms.json",{headers:this.headers}).pipe((0,v.W)(d=>this._errorHandler.handleError(d)),(0,v.W)(()=>(0,u.of)({keywords:[]})),(0,r.M)(d=>{this.$keywords.next(d)})).subscribe(),this.$keywords}postKeywords(O){return this._http.post(runtimeEnvironment.API_WEB+"my-orcid/keywordsForms.json",O,{headers:this.headers}).pipe((0,v.W)(d=>this._errorHandler.handleError(d)),(0,r.M)(()=>this.getKeywords({forceReload:!0})))}static{this.\u0275fac=function(d){return new(d||D)(_.KVO(a.Qq),_.KVO(h.c),_.KVO(C.I))}}static{this.\u0275prov=_.jDH({token:D,factory:D.\u0275fac,providedIn:"root"})}}return D})()},18107:(qe,ee,o)=>{"use strict";o.d(ee,{_:()=>C,a:()=>h});var a=o(87870),t=o(2615),u=o(73664);const M=new t.nKC("MATERIAL_ANIMATIONS");let _=null;function h(){return(0,t.WQX)(M,{optional:!0})?.animationsDisabled||"NoopAnimations"===(0,t.WQX)(u.bc$,{optional:!0})?"di-disabled":(_??=(0,t.WQX)(a.M).matchMedia("(prefers-reduced-motion)").matches,_?"reduced-motion":"enabled")}function C(){return"enabled"!==h()}},18359:(qe,ee,o)=>{"use strict";o.d(ee,{Kn:()=>r,yU:()=>v,Uv:()=>_});var a=o(98071);const u=(0,o(81853).L)(C=>function(D){C(this),this.message=D?`${D.length} errors occurred during unsubscription:\n${D.map((f,O)=>`${O+1}) ${f.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=D});var M=o(57908);class v{constructor(b){this.initialTeardown=b,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let b;if(!this.closed){this.closed=!0;const{_parentage:D}=this;if(D)if(this._parentage=null,Array.isArray(D))for(const d of D)d.remove(this);else D.remove(this);const{initialTeardown:f}=this;if((0,a.T)(f))try{f()}catch(d){b=d instanceof u?d.errors:[d]}const{_finalizers:O}=this;if(O){this._finalizers=null;for(const d of O)try{h(d)}catch(L){b=b??[],L instanceof u?b=[...b,...L.errors]:b.push(L)}}if(b)throw new u(b)}}add(b){var D;if(b&&b!==this)if(this.closed)h(b);else{if(b instanceof v){if(b.closed||b._hasParent(this))return;b._addParent(this)}(this._finalizers=null!==(D=this._finalizers)&&void 0!==D?D:[]).push(b)}}_hasParent(b){const{_parentage:D}=this;return D===b||Array.isArray(D)&&D.includes(b)}_addParent(b){const{_parentage:D}=this;this._parentage=Array.isArray(D)?(D.push(b),D):D?[D,b]:b}_removeParent(b){const{_parentage:D}=this;D===b?this._parentage=null:Array.isArray(D)&&(0,M.o)(D,b)}remove(b){const{_finalizers:D}=this;D&&(0,M.o)(D,b),b instanceof v&&b._removeParent(this)}}v.EMPTY=(()=>{const C=new v;return C.closed=!0,C})();const r=v.EMPTY;function _(C){return C instanceof v||C&&"closed"in C&&(0,a.T)(C.remove)&&(0,a.T)(C.add)&&(0,a.T)(C.unsubscribe)}function h(C){(0,a.T)(C)?C():C.unsubscribe()}},18720:(qe,ee,o)=>{"use strict";o.d(ee,{G:()=>ne});var a=o(1875),t=o(89417),u=o(67376),v=o(21413),r=o(61594),_=o(56977),h=o(73664),C=o(2615),b=o(17705),D=o(88021),f=o(67678),O=o(51060);const d=U=>({direction:U}),L=U=>({"no-wrap":U});function E(U,T){1&U&&h.nrm(0,"div",35)}function se(U,T){if(1&U){const I=h.RV6();h.j41(0,"div",22),h.EFF(1,"\n "),h.DNE(2,E,1,0,"div",23),h.EFF(3,"\n "),h.j41(4,"div",24),h.EFF(5,"\n "),h.j41(6,"div",25),h.EFF(7,"\n "),h.nrm(8,"img",26),h.EFF(9,"\n "),h.j41(10,"div",27),h.EFF(11,"\n "),h.j41(12,"a",28),h.EFF(13),h.k0s(),h.EFF(14,"\n "),h.j41(15,"mat-hint",29),h.EFF(16,"\n "),h.nrm(17,"app-source-hit",30),h.EFF(18,"\n "),h.k0s(),h.EFF(19,"\n "),h.k0s(),h.EFF(20,"\n "),h.k0s(),h.EFF(21,"\n "),h.j41(22,"div",31),h.EFF(23,"\n "),h.j41(24,"app-visibility-selector",32),h.EFF(25,"\n "),h.k0s(),h.EFF(26,"\n "),h.j41(27,"button",33),h.bIt("click",function(){const Z=C.eBV(I).$implicit,N=h.XpG(2);return C.Njj(N.deletePersonalIdentifier(Z.putCode))}),h.EFF(28,"\n "),h.j41(29,"mat-icon",34),h.EFF(30,"delete"),h.k0s(),h.EFF(31,"\n "),h.k0s(),h.EFF(32,"\n "),h.k0s(),h.EFF(33,"\n "),h.k0s(),h.EFF(34,"\n "),h.nrm(35,"hr",19),h.EFF(36,"\n "),h.k0s()}if(2&U){const I=T.$implicit,w=T.index,Z=h.XpG(2);h.Y8G("ngStyle",h.eq3(13,d,Z.screenDirection))("formGroupName",I.putCode),h.BMQ("id","draggable-"+w),h.R7$(4),h.Y8G("ngClass",h.eq3(15,L,!Z.isMobile)),h.R7$(8),h.Y8G("href",I.url,h.B4B),h.BMQ("aria-label",I.commonName+" : "+I.reference+" "+Z.ariaLabelIdentifierUrl),h.R7$(),h.Lme("",I.commonName,":\n ",I.reference),h.R7$(4),h.Y8G("createdDate",I.createdDate)("source",I.sourceName||I.source)("assertion",I.assertionOriginName||I.assertionOriginOrcid),h.R7$(7),h.Y8G("itemTitle",I.commonName+":"+I.reference),h.R7$(3),h.BMQ("aria-label",Z.ariaLabelDelete+" "+I.commonName+":"+I.reference)}}function Y(U,T){if(1&U){const I=h.RV6();h.qex(0),h.EFF(1,"\n "),h.j41(2,"div",12),h.EFF(3,"\n "),h.j41(4,"h2",18),h.pXf(5,6),h.k0s(),h.EFF(6,"\n "),h.k0s(),h.EFF(7,"\n "),h.nrm(8,"hr",19),h.EFF(9,"\n "),h.j41(10,"section",20),h.bIt("cdkDropListDropped",function(Z){C.eBV(I);const N=h.XpG();return C.Njj(N.drop(Z))}),h.EFF(11,"\n "),h.DNE(12,se,37,17,"div",21),h.EFF(13,"\n "),h.k0s(),h.EFF(14,"\n "),h.bVm()}if(2&U){const I=h.XpG();h.R7$(12),h.Y8G("ngForOf",I.personIdentifiers)}}let ne=(()=>{class U{constructor(I,w,Z,N){this.dialogRef=I,this._recordPersonalIdentifiers=w,this._changeDetectorRef=Z,this._platform=N,this.ariaLabelSave="Save changes to Other identifiers",this.ariaLabelCancel="Cancel changes and close Other identifiers",this.ariaLabelClose="Close Other identifiers",this.ariaLabelDelete="Delete identifier",this.ariaLabelIdentifier="Identifier",this.ariaLabelOtherIdsSupport="Find out how to add other identifiers to your ORCID record (Opens in a new tab)",this.ariaLabelIdentifierUrl="(Opens in a new tab)",this.$destroy=new v.B,this.personIdentifiersForm=new t.J3({}),this.screenDirection="ltr",this.loadingPersonalIdentifiers=!0}ngOnInit(){this._recordPersonalIdentifiers.getPersonalIdentifiers().pipe((0,r.$)()).subscribe(I=>{this.personIdentifiers=(0,u.cloneDeep)(I.externalIdentifiers),this.originalPersonalIdentifiers=(0,u.cloneDeep)(I),this.backendJs
3onToForm(I),this.loadingPersonalIdentifiers=!1}),this._platform.get().pipe((0,_.Q)(this.$destroy)).subscribe(I=>{this.isMobile=I.columns4||I.columns8,this.screenDirection=I.screenDirection})}backendJsonToForm(I){const Z={};I.externalIdentifiers.forEach(N=>{Z[N.putCode]=new t.J3({visibility:new t.hs(N.visibility.visibility,{})})}),this.personIdentifiersForm=new t.J3(Z)}formToBackend(I){const w={errors:[],externalIdentifiers:[],visibility:this.originalPersonalIdentifiers.visibility};return this._changeDetectorRef.detach(),this.personIdentifiers.reverse(),this.personIdentifiers.map(Z=>Z.putCode).forEach((Z,N)=>{const oe=I.value[Z].visibility;I.value[Z]&&w.externalIdentifiers.push({putCode:0===Z.indexOf("new-")?null:Z,displayIndex:N+1,visibility:{visibility:oe}})}),w}saveEvent(){this.loadingPersonalIdentifiers=!0,this._recordPersonalIdentifiers.postPersonalIdentifiers(this.formToBackend(this.personIdentifiersForm)).subscribe(I=>{this.closeEvent()})}closeEvent(){this.dialogRef.close()}drop(I){(0,a.HD)(this.personIdentifiers,I.previousIndex,I.currentIndex)}deletePersonalIdentifier(I){const w=this.personIdentifiers.findIndex(Z=>Z.putCode===I);this.personIdentifiers.splice(w,1),this.personIdentifiersForm.removeControl(I)}ngOnDestroy(){this.$destroy.next(!0),this.$destroy.unsubscribe()}static{this.\u0275fac=function(w){return new(w||U)(h.rXU(D.k),h.rXU(f.r),h.rXU(b.gRc),h.rXU(O.Z))}}static{this.\u0275cmp=h.VBU({type:U,selectors:[["app-modal-person-identifiers"]],standalone:!1,decls:41,vars:8,consts:()=>{let I,w,Z,N,oe,H,ie;return I="Other IDs",w="\n Save changes\n ",Z="\n Cancel\n ",N="\n Other identifiers, also called Person identifiers, are unique IDs\n that systems such as ISNI and Scopus use to identify you. These\n identifiers can only be added to your record by trusted\n organizations you have connected to ORCID.\n ",oe="\n Find out more on our\n ",H="Other identifiers support page.",ie="\n My other identifiers\n ",[I,w,Z,N,oe,H,ie,[3,"loading","noSidebar"],[3,"closeLabel"],["mat-raised-button","","color","primary","id","save-personal-id-button",3,"click"],["mat-stroked-button","","color","primary","id","cancel-personal-id-button",3,"click"],[1,"container","no-padding",3,"formGroup"],[1,"row"],[1,"col","no-gutters"],[1,"orc-font-body-small"],[1,"orc-font-body-small","find-out"],["target","_blank","rel","noopener noreferrer","href","https://support.orcid.org/hc/en-us/articles/360006894854-Add-person-identifiers-other-identifiers-to-your-ORCID-record"],[4,"ngIf"],[1,"col","no-gutters","orc-font-body"],[1,"dashed-line"],["id","my-other-identifiers","id","ids-list","cdkDropList","",1,"row",3,"cdkDropListDropped"],["cdkDrag","","class","row",3,"ngStyle","formGroupName",4,"ngFor","ngForOf"],["cdkDrag","",1,"row",3,"ngStyle","formGroupName"],["class","row drag-placeholder",4,"cdkDragPlaceholder"],[1,"row","personal-identifier-input-line",3,"ngClass"],[1,"col","l12","m8","s4","top","no-wrap","no-gutters","personal-identifiers-wrapper"],["cdkDragHandle","","src","./assets/vectors/draggable.svg","aria-label","drag handle"],[1,"person-identifier"],["target","_blank","rel","me nofollow noopener noreferrer",1,"underline",3,"href"],[1,"mat-caption"],[3,"createdDate","source","assertion"],[1,"col","no-wrap","actions-wrapper","no-gutters","personal-identifiers-controls-wrapper"],["formControlName","visibility",3,"itemTitle"],["mat-icon-button","",1,"delete-button",3,"click"],[1,"material-icons-outlined","extra-large-material-icon"],[1,"row","drag-placeholder"]]},template:function(w,Z){1&w&&(h.j41(0,"app-modal",7),h.EFF(1,"\n "),h.j41(2,"app-modal-header",8),h.pXf(3,0),h.k0s(),h.EFF(4,"\n "),h.j41(5,"app-modal-footer"),h.EFF(6,"\n "),h.j41(7,"button",9),h.bIt("click",function(){return Z.saveEvent()}),h.pXf(8,1),h.k0s(),h.EFF(9,"\n "),h.j41(10,"button",10),h.bIt("click",function(){return Z.closeEvent()}),h.pXf(11,2),h.k0s(),h.EFF(12,"\n "),h.k0s(),h.EFF(13,"\n\n "),h.j41(14,"div",11),h.EFF(15,"\n "),h.j41(16,"div",12),h.EFF(17,"\n "),h.j41(18,"div",13),h.EFF(19,"\n "),h.j41(20,"p",14),h.EFF(21,"\n "),h.qex(22),h.pXf(23,3),h.bVm(),h.EFF(24,"\n "),h.k0s(),h.EFF(25,"\n "),h.j41(26,"p",15),h.EFF(27,"\n "),h.qex(28),h.pXf(29,4),h.bVm(),h.EFF(30,"\n "),h.j41(31,"a",16),h.pXf(32,5),h.k0s(),h.EFF(33,"\n "),h.k0s(),h.EFF(34,"\n "),h.k0s(),h.EFF(35,"\n "),h.k0s(),h.EFF(36,"\n "),h.DNE(37,Y,15,1,"ng-container",17),h.EFF(38,"\n "),h.k0s(),h.EFF(39,"\n"),h.k0s(),h.EFF(40,"\n")),2&w&&(h.Y8G("loading",Z.loadingPersonalIdentifiers)("noSidebar",!0),h.R7$(2),h.Y8G("closeLabel",Z.ariaLabelClose),h.R7$(5),h.BMQ("aria-label",Z.ariaLabelSave),h.R7$(3),h.BMQ("aria-label",Z.ariaLabelCancel),h.R7$(4),h.Y8G("formGroup",Z.personIdentifiersForm),h.R7$(17),h.BMQ("aria-label",Z.ariaLabelIdentifier+" "+Z.ariaLabelOtherIdsSupport),h.R7$(6),h.Y8G("ngIf",(null==Z.personIdentifiers?null:Z.personIdentifiers.length)>0))},styles:[".actions-wrapper[_ngcontent-%COMP%]{flex-wrap:nowrap}.add-more[_ngcontent-%COMP%]{margin-top:16px} .columns-4-or-8 .mat-mdc-form-field{width:100%;margin-inline-end:auto} .columns-4-or-8 .personal-identifiers-wrapper{margin:16px 0} .columns-4-or-8 .personal-identifiers-controls-wrapper{justify-content:space-between;width:100%}.personal-identifier-input-line[_ngcontent-%COMP%]{margin-top:10px;margin-bottom:4px}.personal-identifier-input-line[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{margin-top:3px;
3cursor:move;z-index:1;margin-inline-start:6px;margin-inline-end:10px}.personal-identifier-input-line[_ngcontent-%COMP%] .person-identifier[_ngcontent-%COMP%]{display:flex;flex-direction:column}.personal-identifier-input-line[_ngcontent-%COMP%] .person-identifier[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{word-break:break-all}.person-identifiers-list.cdk-drop-list-dragging[_ngcontent-%COMP%] .person-identifiers-box[_ngcontent-%COMP%]:not(.cdk-drag-placeholder){transition:transform .25s cubic-bezier(0,0,.2,1)}.mat-mdc-form-field[_ngcontent-%COMP%]{width:100%}.icon-drag[_ngcontent-%COMP%]{cursor:move;height:32px;margin:4px}.find-out[_ngcontent-%COMP%]{display:inline;margin-top:8px}.line[_ngcontent-%COMP%]{overflow-wrap:break-word;word-break:break-word}.delete-button[_ngcontent-%COMP%], app-visibility-selector[_ngcontent-%COMP%]{margin-inline-start:16px}.delete-button[_ngcontent-%COMP%]{margin-top:-3px}"]})}}return U})()},18810:(qe,ee,o)=>{"use strict";o.d(ee,{$:()=>u});var a=o(71985),t=o(98071);function u(M,v){const r=(0,t.T)(M)?M:()=>M,_=h=>h.error(r());return new a.c(v?h=>v.schedule(_,0,h):_)}},19270:(qe,ee,o)=>{"use strict";o.d(ee,{f:()=>a});const a={setTimeout(t,u,...M){const{delegate:v}=a;return v?.setTimeout?v.setTimeout(t,u,...M):setTimeout(t,u,...M)},clearTimeout(t){const{delegate:u}=a;return(u?.clearTimeout||clearTimeout)(t)},delegate:void 0}},19490:(qe,ee,o)=>{"use strict";o.d(ee,{F9:()=>t,OD:()=>u,f0:()=>a});var a=function(M){return M.RecordExpandFeaturedWorkClicked="record_expand_featured_work_clicked",M.RecordSummaryToggleClicked="record_summary_toggle_clicked",M.RecordHeaderPublicReady="record_header_public_ready",M.RecordHeaderFeaturedEmploymentCaptionLoaded="record_header_featured_employment_caption_loaded",M.HttpError="http_error",M.ClientError="client_error",M.XsrfMissingAfterPreload="xsrf_missing_after_preload",M.SignInSuccess="sign_in_success",M.SignInFailure="sign_in_failure",M.SignInHttpError="sign_in_http_error",M.TwoFactorSetupStep1Loaded="two_factor_setup_step1_loaded",M.TwoFactorSetupStep2Loaded="two_factor_setup_step2_loaded",M.TwoFactorSetupFinalButtonClicked="two_factor_setup_final_button_clicked",M.TwoFactorSetupFinalCompleted="two_factor_setup_final_completed",M.StepASignInButtonClicked="step-a-sign-in-button-clicked",M.StepANextButtonClicked="step-a-next-button-clicked",M.StepBNextButtonClicked="step-b-next-button-clicked",M.StepC2NextButtonClicked="step-c2-next-button-clicked",M.StepC2SkipButtonClicked="step-c2-skip-button-clicked",M.StepC2NoticeSkipLinkClicked="step-c2-notice-skip-link-clicked",M.StepC2ErrorSkipLinkClicked="step-c2-error-skip-link-clicked",M.StepCNextButtonClicked="step-c-next-button-clicked",M.StepDNextButtonClicked="step-d-next-button-clicked",M.JourneyComplete="journey-complete",M.OauthErrorPageLoaded="error_page_loaded",M.OauthAuthorizationPageLoaded="authorization_page_loaded",M.OauthAuthorizationSuccess="authorization_success",M.OauthAuthorizationDenied="authorization_denied",M.OauthAuthorizationError="authorization_error",M.OauthAuthorizationLogout="authorization_logout",M.OauthAuthorizeGuardLoginRequiredRedirect="oauth_authorize_guard_login_required_redirect",M.OauthAuthorizeGuardInvalidRedirectUri="oauth_authorize_guard_invalid_redirect_uri",M.OauthAuthorizeGuardValidateRedirectUriError="oauth_authorize_guard_validate_redirect_uri_error",M.OauthAuthorizeGuardOutOfRouterNavigation="oauth_authorize_guard_out_of_router_navigation",M.OauthAuthorizeGuardRedirectToLogin="oauth_authorize_guard_redirect_to_login",M.OauthAuthorizeGuardRedirectToMyOrcid="oauth_authorize_guard_redirect_to_my_orcid",M.OauthAuthorizePageAlreadyAuthorizedRedirect="oauth_authorize_page_already_authorized_redirect",M.OauthAuthorizationValidationFailed="oauth_authorization_validation_failed",M.OauthSessionClientHandledErrorRedirectLegacy="oauth_session_client_handled_error_redirect_legacy",M.OauthSessionNavigateAuthorizeErrorLegacy="oauth_session_navigate_authorize_error_legacy",M.OauthAuthorizeAuthServerErrorBody="oauth_authorize_auth_server_error_body",M.OauthAuthorizeSwitchDelegatedAccount="oauth_authorize_switch_delegated_account",M.SignInGuardRedirectToAuthorize="sign_in_guard_redirect_to_authorize",M.SignInGuardRedirectToRegister="sign_in_guard_redirect_to_register",M.SignInOauthInvalidGrantLegacy="sign_in_oauth_invali
3d_grant_legacy",M.TwoFactorSignInGuardRedirectToMyOrcid="two_factor_signin_guard_redirect_to_my_orcid",M.RegisterGuardRedirectToAuthorize="register_guard_redirect_to_authorize",M.RegisterPipelineError="register_pipeline_error",M.InterstitialShown="interstitial_shown",M.InterstitialCompleted="interstitial_completed",M.InterstitialDismissed="interstitial_dismissed",M.InterstitialValidationError="interstitial_validation_error",M.InterstitialSaveError="interstitial_save_error",M}(a||{});function t(M){return`step-${M}-back-button-clicked`}function u(M){return`step-${M}-loaded`}},19521:(qe,ee,o)=>{"use strict";o.d(ee,{G:()=>r});var a=o(56977),t=o(21413),u=o(73664),M=o(88021),v=o(47958);let r=(()=>{class _{constructor(C,b){this.dialogRef=C,this._recordFundingsService=b,this.$destroy=new t.B,this.loadingFunding=!0,this.total=0}ngOnInit(){this.loadFundingImportWizardList()}loadFundingImportWizardList(){this._recordFundingsService.loadFundingImportWizardList().pipe((0,a.Q)(this.$destroy)).subscribe(C=>{this.recordImportWizardsOriginal=C,this.recordImportWizards=this.recordImportWizardsOriginal,this.loadingFunding=!1,this.total=this.recordImportWizardsOriginal.length})}saveEvent(){this.loadingFunding=!0}closeEvent(){this.dialogRef.close()}ngOnDestroy(){this.$destroy.next(!0),this.$destroy.unsubscribe()}static{this.\u0275fac=function(b){return new(b||_)(u.rXU(M.k),u.rXU(v.j))}}static{this.\u0275cmp=u.VBU({type:_,selectors:[["app-modal-funding-search-link"]],standalone:!1,decls:17,vars:4,consts:()=>{let C,b,D,f;return C=" Link funding ",b=" Search and Link wizards are our recommended way to populate your record. They make adding works, funding and peer reviews simple and save you time over updating your record manually. Select a platform from the list below to start linking items to your record. ",D=" More information about linking funding to your ORCID record ",f="Available Search & Link wizards",[C,b,D,f,[3,"loading","noSidebar"],[1,"row"],[1,"orc-font-small-print"],["rel","noopener noreferrer","target","_blank","href","https://support.orcid.org/hc/en-us/articles/360006897214-Add-funding-information-to-your-ORCID-record",1,"underline"],[3,"recordImportWizards"]]},template:function(b,D){1&b&&(u.j41(0,"app-modal",4)(1,"app-modal-header"),u.qex(2),u.pXf(3,0),u.bVm(),u.k0s(),u.j41(4,"div",5)(5,"div",6)(6,"p"),u.pXf(7,1),u.k0s(),u.j41(8,"a",7),u.pXf(9,2),u.k0s()()(),u.j41(10,"div",5)(11,"h3"),u.qex(12),u.pXf(13,3),u.bVm(),u.EFF(14),u.k0s(),u.nrm(15,"hr"),u.k0s(),u.nrm(16,"app-search-link-wizard",8),u.k0s()),2&b&&(u.Y8G("loading",D.loadingFunding)("noSidebar",!0),u.R7$(14),u.SpI(" (",D.total,") "),u.R7$(2),u.Y8G("recordImportWizards",D.recordImportWizards))},styles:["h3[_ngcontent-%COMP%]{margin:32px 0 8px}"]})}}return _})()},19795:(qe,ee,o)=>{"use strict";o.d(ee,{w:()=>H});var a=o(21413),t=o(61594),u=o(89417),M=o(21495),v=o(1734),r=o(73664),_=o(2615),h=o(88021),C=o(5040);const b=["workFormComponent"],D=["externalIdRef"],f=ie=>({"two-line-hint":ie});function O(ie,Ce){1&ie&&(r.qex(0),r.pXf(1,2),r.bVm())}function d(ie,Ce){1&ie&&(r.qex(0),r.pXf(1,3),r.bVm())}function L(ie,Ce){if(1&ie){const Ue=r.RV6();r.j41(0,"app-modal-side-bar"),r.qex(1,24),r.j41(2,"a",25),r.bIt("click",function(){_.eBV(Ue);const we=r.XpG();return _.Njj(we.toWorkDetails())}),r.pXf(3,4),r.k0s(),r.bVm(),r.qex(4,26),r.j41(5,"a",27),r.bIt("click",function(){_.eBV(Ue);const we=r.XpG();return _.Njj(we.toCitation())}),r.pXf(6,5),r.k0s(),r.bVm(),r.qex(7,28),r.j41(8,"a",29),r.bIt("click",function(){_.eBV(Ue);const we=r.XpG();return _.Njj(we.toIdentifiers())}),r.pXf(9,6),r.k0s(),r.bVm(),r.qex(10,30),r.j41(11,"a",31),r.bIt("click",function(){_.eBV(Ue);const we=r.XpG();return _.Njj(we.toContributors())}),r.pXf(12,7),r.k0s(),r.bVm(),r.qex(13,32),r.j41(14,"a",33),r.bIt("click",function(){_.eBV(Ue);const we=r.XpG();return _.Njj(we.toOtherInformation())}),r.pXf(15,8),r.k0s(),r.bVm(),r.qex(16,34),r.j41(17,"a",31),r.bIt("click",function(){_.eBV(Ue);const we=r.XpG();return _.Njj(we.toVisibility())}),r.pXf(18,9),r.k0s(),r.bVm(),r.k0s()}}function E(ie,Ce){if(1&ie){const Ue=r.RV6();r.j41(0,"app-modal-footer")(1,"button",35),r.bIt("click",function(){_.eBV(Ue);const we=r.XpG();return _.Njj(we.workFormComponent.saveEvent())}),r.pXf(2,10),r.k0s(),r.j41(3,"button",36),r.bIt("click",function(){_.eBV(Ue);const we=r.XpG();return _.Njj(we.closeEvent())}),r.pXf(4,11),r.k0s()()}}function se(ie,Ce){1&ie&&(r.qex(0),r.pXf(1,12),r.bVm())}function Y(ie,Ce){1&ie&&(r.qex(0),r.pXf(1,13),r.bVm())}function ne(ie,Ce){1&ie&&(r.qex(0),r.pXf(1,14),r.bVm())}function U(ie,Ce){1&ie&&(r.qex(0),r.pXf(1,15),r.bVm())}function T(ie,Ce){1&ie&&(r.j41(0,"mat-error"),r.pXf(1,16),r.k0s())}function I(ie,Ce){1&ie&&(r.j41(0,"mat-error"),r.pXf(1,17),r.k0s())}function w(ie,Ce){1&ie&&(r.qex(0),r.pXf(1,18),r.bVm())}function Z(ie,Ce){1&ie&&(r.qex(0),r.pXf(1,19),r.bVm())}function N(ie,Ce){if(1&ie){const Ue=r.RV6();r.j41(0,"form",37)(1,"div",38)(2,"div",39)(3,"p"),r.DNE(4,se,2,0,"ng-container",21)(5,Y,2,0,"ng-container",21),r.k0s()()(),r.j41(6,"div",38)(7,"label",40)(8,"strong"),r.DNE(9,ne,2,0,"ng-container",21)(10,U,2,0,"ng-container",21),r.k0s()()(),r.j41(11,"div",41)(12,"mat-form-field",42),r.nrm(13,"input",43,0),r.DNE(15,T,2,0,"mat-error",21)(16,I,2,0,"mat-error",21),r.k0s()(),r.j41(17,"div",44)(18,"button",45),r.bIt("click",function(){_.eBV(Ue);const we=r.XpG();return _.Njj(we.retrieveWork())}),r.DNE(19,w,2,0,"ng-container",21)(20,Z,2,0,"ng-container",21),r.k0s()()()}if(2&ie){let Ue;const nt=r.XpG();r.Y8G("formGroup",nt.externalIdentifierForm),r.R7$(4),r.Y8G("ngIf",nt.type===nt.EXTERNAL_ID_TYPE_WORK.doi),r.R7$(),r.Y8G("ngIf",nt.type===nt.EXTERNAL_ID_TYPE_WORK.pubMed),r.R7$(4),r.Y8G("ngIf",nt.type===nt.EXTERNAL_ID_TYPE_WORK.doi),r.R7$(),r.Y8G("ngIf",nt.type===nt.EXTERNAL_ID_TYPE_WORK.pubMed),r.R7$(2),r.Y8G("ngClass",r.eq3(13,f,nt.metadataNotFound)),r.R7$(3),r.Y8G("ngIf",nt.type===nt.EXTERNAL_ID_TYPE_WORK.doi&&(null==nt.externalIdentifierForm||null==(Ue=nt.externalIdentifierForm.get("externalId"))||null==Ue.errors?null:Ue.errors.pattern)),r.R7$(),r.Y8G("ngIf",nt.metadataNotFound),r.R7$(2),r.Y8G("id",r.mNQ("cy-retrieve-work-details-from-"+nt.type))("disabled",nt.loading),r.R7$(),r.Y8G("ngIf",nt.type===nt.EXTERNAL_ID_TYPE_WORK.doi),r.R7$(),r.Y8G("ngIf",nt.type===nt.EXTERNAL_ID_TYPE_WORK.pubMed)}}function oe(ie,Ce){if(1&ie&&r.nrm(0,"app-work-form",46,1),2&ie){const Ue=r.XpG();r.Y8G("work",Ue.work)("userRecord",Ue.userRecord)("externalIdentifier",!0)}}let H=(()=>{class ie{constructor(Ue,nt,we,at){this.dialogRef=Ue,this._formBuilder=nt,this._recordWorksService=we,this._window=at,this.$destroy=new a.B,this.EXTERNAL_ID_TYPE_WORK=M.V0,this.loading=!1,this.metadataNotFound=!1}ngOnInit(){this.externalIdentifierForm=this._formBuilder.group({externalId:new u.hs("")}),this.type===M.V0.doi&&this.externalIdentifierForm.controls.externalId.setValidators([u.k0.pattern(M.i$)])}ngAfterViewInit(){this.externalIdElement.nativeElement.focus()}retrieveWork(){this.externalIdentifierForm.valid&&(this.loading=!0,this._recordWorksService.loadExternalId(this.externalIdentifierForm.get("externalId").value,this.type).pipe((0,t.$)()).subscribe(Ue=>{Ue?this.work=Ue:(this.externalIdentifierForm.get("externalId").setErrors({metadataNotFound:!0}),this.metadataNotFound=!0),this.loading=!1}))}closeEvent(){this.dialogRef.close()}ngOnDestroy(){this.$destroy.next(!0),this.$destroy.unsubscribe()}toWorkDetails(){this._window.document.getElementById("work-detail").scrollIntoView()}toIdentifiers(){this._window.document.getElementById("work-identifiers").scrollIntoView()}toContributors(){this._window.document.getElementById("work-contributors").scrollIntoView()}toCitation(){this._window.document.getElementById("work-citation").scrollIntoView()}toOtherInformation(){this._window.document.getElementById("work-other-info").scrollIntoView()}toVisibility(){this._window.document.getElementById("work-visibility").scrollIntoView()}static{this.\u0275fac=function(nt){return new(nt||ie)(r.rXU(h.k),r.rXU(u.ze),r.rXU(C.j),r.rXU(v.jf))}}static{this.\u0275cmp=r.VBU({type:ie,selectors:[["app-work-doi-modal"]],viewQuery:function(nt,we){if(1&nt&&(r.GBs(b,5),r.GBs(D,5)),2&nt){let at;r.mGM(at=r.lsd())&&(we.workFormComponent=at.first),r.mGM(at=r.lsd())&&(we.externalIdElement=at.first)}},inputs:{userRecord:"userRecord",type:"type"},standalone:!1,decls:8,vars:8,consts:()=>{let Ue,nt,we,at,Xe,et,xe,De,ue,z,de,ae,X,$,K,Be,Ye,Se;return Ue=" Works - Add work from DOI ",nt=" Works - Add work from PubMed ",we=" Work Details ",at=" Citation ",Xe=" Identifiers ",et=" Contributors ",xe=" Other information ",De
3=" Visibility ",ue=" Add this work to your ORCID record ",z=" Cancel ",de=" You can use the full DOI URL or just the identifier value. ",ae=" Type or paste the full PubMed URL or just the identifier value ",X=" DOI identifier value or full URL ",$=" PubMed identifier value or full URL ",K=" Invalid id for the selected identifier type ",Be=" Unable to import using this identifier. Please add work using a different option. ",Ye=" Retrieve work details from DOI ",Se=" Retrieve work details from PubMed ",[["externalIdRef",""],["workFormComponent",""],Ue,nt,we,at,Xe,et,xe,De,ue,z,de,ae,X,$,K,Be,Ye,Se,[3,"loading","noSidebar"],[4,"ngIf"],[3,"formGroup",4,"ngIf"],[3,"work","userRecord","externalIdentifier",4,"ngIf"],["id","side-bar-title"],["id","cy-external-id-to-work-details",1,"side-bar",3,"click"],["id","side-bar-url-1"],["id","cy-external-id-to-citation",1,"side-bar",3,"click"],["id","side-bar-url-2"],["id","cy-external-id-to-identifiers",1,"side-bar",3,"click"],["id","side-bar-url-3"],[1,"side-bar",3,"click"],["id","side-bar-url-4"],["id","cy-external-id-to-other-info",1,"side-bar",3,"click"],["id","side-bar-url-5"],["mat-raised-button","","color","primary","id","save-work-button",3,"click"],["mat-stroked-button","","color","primary","id","cancel-work-button",3,"click"],[3,"formGroup"],[1,"row"],[1,"orc-font-small-print"],["for","external-id-input",1,"mat-caption"],[1,"input-container"],["appearance","outline",1,"mat-form-field-min",3,"ngClass"],["id","external-id-input","matInput","","formControlName","externalId"],[1,"retrieve-work"],["mat-raised-button","","color","primary",3,"click","disabled","id"],[3,"work","userRecord","externalIdentifier"]]},template:function(nt,we){1&nt&&(r.j41(0,"app-modal",20)(1,"app-modal-header"),r.DNE(2,O,2,0,"ng-container",21)(3,d,2,0,"ng-container",21),r.k0s(),r.DNE(4,L,19,0,"app-modal-side-bar",21)(5,E,5,0,"app-modal-footer",21)(6,N,21,15,"form",22)(7,oe,2,3,"app-work-form",23),r.k0s()),2&nt&&(r.Y8G("loading",we.loading)("noSidebar",!(we.work&&!we.loading)),r.R7$(2),r.Y8G("ngIf",we.type===we.EXTERNAL_ID_TYPE_WORK.doi),r.R7$(),r.Y8G("ngIf",we.type===we.EXTERNAL_ID_TYPE_WORK.pubMed),r.R7$(),r.Y8G("ngIf",we.work&&!we.loading),r.R7$(),r.Y8G("ngIf",we.work),r.R7$(),r.Y8G("ngIf",!we.work),r.R7$(),r.Y8G("ngIf",we.work&&!we.loading))},styles:[".input-container[_ngcontent-%COMP%]{max-width:500px}.mat-mdc-form-field[_ngcontent-%COMP%]{width:100%}.retrieve-work[_ngcontent-%COMP%]{padding:0}.retrieve-work[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{max-width:500px}"]})}}return ie})()},20868:(qe,ee,o)=>{"use strict";o.d(ee,{G:()=>wt});var a=o(21413),t=o(7673),u=o(983),M=o(89417),v=o(1734),r=o(7201),_=o(61594),h=o(96354),C=o(88141),b=o(25558),D=o(21495),f=o(45385),O=o(26427),d=o(73664),L=o(2615),E=o(51060),se=o(88021),Y=o(65316),ne=o(22846),U=o(32130),T=o(36874);const I=(Je,Tt)=>({"orc-font-body":Je,"orc-font-body-large":Tt}),w=Je=>({error:Je}),Z=(Je,Tt,le,Ve)=>({"orc-font-body":Je,"orc-font-body-large":Tt,visibility:le,"visibility-editorial-service":Ve}),N=Je=>({"two-line-hint":Je});function oe(Je,Tt){if(1&Je){const le=d.RV6();d.j41(0,"a",76),d.bIt("click",function(){L.eBV(le);const Te=d.XpG();return L.Njj(Te.toOrganization())}),d.pXf(1,9),d.k0s()}}function H(Je,Tt){if(1&Je){const le=d.RV6();d.j41(0,"a",76),d.bIt("click",function(){L.eBV(le);const Te=d.XpG();return L.Njj(Te.toOrganization())}),d.pXf(1,10),d.k0s()}}function ie(Je,Tt){if(1&Je){const le=d.RV6();d.j41(0,"a",76),d.bIt("click",function(){L.eBV(le);const Te=d.XpG();return L.Njj(Te.toAffiliationDetails())}),d.pXf(1,11),d.k0s()}}function Ce(Je,Tt){if(1&Je){const le=d.RV6();d.j41(0,"a",76),d.bIt("click",function(){L.eBV(le);const Te=d.XpG();return L.Njj(Te.toAffiliationDetails())}),d.pXf(1,12),d.k0s()}}function Ue(Je,Tt){if(1&Je){const le=d.RV6();d.j41(0,"a",76),d.bIt("click",function(){L.eBV(le);const Te=d.XpG();return L.Njj(Te.toAffiliationDetails())}),d.pXf(1,13),d.k0s()}}function nt(Je,Tt){if(1&Je){const le=d.RV6();d.j41(0,"a",76),d.bIt("click",function(){L.eBV(le);const Te=d.XpG();return L.Njj(Te.toAffiliationDetails())}),d.pXf(1,14),d.k0s()}}function we(Je,Tt){if(1&Je){const le=d.RV6();d.j41(0,"a",76),d.bIt("click",function(){L.eBV(le);const Te=d.XpG();
3return L.Njj(Te.toAffiliationDetails())}),d.pXf(1,15),d.k0s()}}function at(Je,Tt){if(1&Je){const le=d.RV6();d.j41(0,"a",76),d.bIt("click",function(){L.eBV(le);const Te=d.XpG();return L.Njj(Te.toAffiliationDetails())}),d.pXf(1,16),d.k0s()}}function Xe(Je,Tt){if(1&Je){const le=d.RV6();d.j41(0,"a",76),d.bIt("click",function(){L.eBV(le);const Te=d.XpG();return L.Njj(Te.toAffiliationDetails())}),d.pXf(1,17),d.k0s()}}function et(Je,Tt){if(1&Je){const le=d.RV6();d.j41(0,"a",76),d.bIt("click",function(){L.eBV(le);const Te=d.XpG();return L.Njj(Te.toAffiliationDetails())}),d.pXf(1,18),d.k0s()}}function xe(Je,Tt){1&Je&&(d.j41(0,"strong"),d.pXf(1,19),d.k0s())}function De(Je,Tt){1&Je&&(d.j41(0,"strong"),d.pXf(1,20),d.k0s())}function ue(Je,Tt){1&Je&&(d.j41(0,"span",90),d.EFF(1,"*"),d.k0s())}function z(Je,Tt){1&Je&&(d.j41(0,"p",121)(1,"span",90),d.EFF(2,"*"),d.k0s(),d.qex(3),d.pXf(4,21),d.bVm(),d.k0s())}function de(Je,Tt){1&Je&&(d.j41(0,"strong",122),d.pXf(1,22),d.k0s())}function ae(Je,Tt){1&Je&&(d.j41(0,"strong",123),d.pXf(1,23),d.k0s())}function X(Je,Tt){if(1&Je&&(d.j41(0,"mat-option",108)(1,"div",131),d.EFF(2),d.k0s(),d.j41(3,"div",132),d.EFF(4),d.k0s()()),2&Je){const le=Tt.$implicit;d.Y8G("value",le),d.R7$(2),d.SpI(" ",le.value," "),d.R7$(2),d.E5c(" ",le.city," ",le.region," ",le.country," ")}}function $(Je,Tt){if(1&Je&&(d.qex(0,130),d.DNE(1,X,5,5,"mat-option",109),d.nI1(2,"async"),d.bVm()),2&Je){const le=d.XpG(2);d.R7$(),d.Y8G("ngForOf",d.bMT(2,1,le.filteredOptions))}}function K(Je,Tt){if(1&Je&&(d.j41(0,"mat-hint"),d.qex(1),d.pXf(2,24),d.bVm(),d.EFF(3),d.k0s()),2&Je){const le=d.XpG(2);d.R7$(3),d.SpI(" ",le.selectedOrganizationFromDatabase.value," ")}}function Be(Je,Tt){1&Je&&(d.j41(0,"mat-hint"),d.pXf(1,25),d.k0s())}function Ye(Je,Tt){if(1&Je){const le=d.RV6();d.j41(0,"button",133),d.bIt("click",function(){L.eBV(le);const Te=d.XpG(2);return L.Njj(Te.clearForm())}),d.j41(1,"mat-icon"),d.EFF(2,"close"),d.k0s()()}}function Se(Je,Tt){1&Je&&(d.j41(0,"mat-error",134),d.pXf(1,26),d.k0s())}function pt(Je,Tt){1&Je&&(d.j41(0,"mat-error"),d.pXf(1,27),d.k0s())}function Ge(Je,Tt){if(1&Je&&(d.j41(0,"mat-form-field",124),d.nrm(1,"input",125),d.j41(2,"mat-autocomplete",126,0),d.DNE(4,$,3,3,"ng-container",127),d.k0s(),d.DNE(5,K,4,1,"mat-hint",84)(6,Be,2,0,"mat-hint",84)(7,Ye,3,0,"button",128)(8,Se,2,0,"mat-error",129)(9,pt,2,0,"mat-error",84),d.k0s()),2&Je){let le;const Ve=d.sdS(3),Te=d.XpG();d.Y8G("ngClass",d.eq3(10,N,(null==Te.selectedOrganizationFromDatabase?null:Te.selectedOrganizationFromDatabase.value.length)>50)),d.R7$(),d.Y8G("matAutocomplete",Ve),d.BMQ("aria-invalid",Te.organizationIsInvalidAndTouched),d.R7$(),d.Y8G("displayWith",Te.autoCompleteDisplayOrganization),d.R7$(2),d.Y8G("ngIf",Te.filteredOptions),d.R7$(),d.Y8G("ngIf",Te.selectedOrganizationFromDatabase&&Te.displayOrganizationHint),d.R7$(),d.Y8G("ngIf",!Te.selectedOrganizationFromDatabase&&Te.affiliationForm.get("organization").value&&Te.displayOrganizationHint),d.R7$(),d.Y8G("ngIf",Te.affiliationForm.get("organization").value),d.R7$(),d.Y8G("ngIf",Te.organizationIsInvalidAndTouched),d.R7$(),d.Y8G("ngIf",null==(le=Te.affiliationForm.get("organization").errors)?null:le.maxlength)}}function bt(Je,Tt){1&Je&&(d.j41(0,"mat-error",134),d.pXf(1,28),d.k0s())}function me(Je,Tt){1&Je&&(d.j41(0,"mat-error"),d.pXf(1,29),d.k0s())}function J(Je,Tt){if(1&Je&&(d.j41(0,"mat-form-field",124),d.nrm(1,"input",135),d.DNE(2,bt,2,0,"mat-error",129)(3,me,2,0,"mat-error",84),d.k0s()),2&Je){let le;const Ve=d.XpG();d.Y8G("ngClass",d.eq3(4,N,(null==Ve.selectedOrganizationFromDatabase?null:Ve.selectedOrganizationFromDatabase.value.length)>50)),d.R7$(),d.BMQ("aria-invalid",Ve.organizationIsInvalidAndTouched),d.R7$(),d.Y8G("ngIf",Ve.organizationIsInvalidAndTouched),d.R7$(),d.Y8G("ngIf",null==(le=Ve.affiliationForm.get("organization").errors)?null:le.maxlength)}}function R(Je,Tt){if(1&Je&&(d.j41(0,"div",82)(1,"label",136)(2,"strong",137),d.pXf(3,30),d.k0s(),d.j41(4,"span",90),d.EFF(5,"*"),d.k0s()()()),2&Je){const le=d.XpG();d.R7$(),d.Y8G("ngClass",d.eq3(1,w,le.cityIsInvalidAndTouched))}}function x(Je,Tt){1&Je&&(d.j41(0,"mat-error",140),d.pXf(1,31),d.k0s())}function ce(Je,Tt){1&Je&&(d.j41(0,"mat-error"),d.pXf(1,32),d.k0s())}function Pe(Je,Tt){if(1&Je&&(d.j41(0,"div",99)(1,"mat-form-field",100),d.nrm(2,"input",138),d.DNE(3,x,2,0,"mat-error",139)(4,ce,2,0,"mat-error",84),d.k0s()()),2&Je){let le;const Ve=d.XpG();d.R7$(2),d.BMQ("aria-invalid",Ve.cityIsInvalidAndTouched),d.R7$(),d.Y8G("ngIf",Ve.affiliationForm.get("city").hasError("required")),d.R7$(),d.Y8G("ngIf",null==(le=Ve.affiliationForm.get("city").errors)?null:le.maxlength)}}function pe(Je,Tt){1&Je&&(d.j41(0,"div",82)(1,"label",141)(2,"strong"),d.pXf(3,33),d.k0s()()())}function st(Je,Tt){1&Je&&(d.j41(0,"mat-error"),d.pXf(1,34),d.k0s())}function Qe(Je,Tt){if(1&Je&&(d.j41(0,"div",99)(1,"mat-form-field",100),d.nrm(2,"input",142),d.DNE(3,st,2,0,"mat-error",84),d.k0s()()),2&Je){let le;const Ve=d.XpG();d.R7$(3),d.Y8G("ngIf",null==(le=Ve.affiliationForm.get("region").errors)?null:le.maxlength)}}function At(Je,Tt){if(1&Je&&(d.j41(0,"div",82)(1,"label",143)(2,"strong",144),d.pXf(3,35),d.k0s(),d.j41(4,"span",90),d.EFF(5,"*"),d.k0s()()()),2&Je){const le=d.XpG();d.R7$(),d.Y8G("ngClass",d.eq3(1,w,le.countryIsInvalidAndTouched))}}function Ne(Je,Tt){if(1&Je&&(d.j41(0,"mat-option",108),d.EFF(1),d.k0s()),2&Je){const le=Tt.$implicit;d.Y8G("value",le.key),d.R7$(),d.SpI(" ",le.key," ")}}function ze(Je,Tt){1&Je&&(d.j41(0,"mat-error",148),d.pXf(1,36),d.k0s())}function Ke(Je,Tt){if(1&Je&&(d.j41(0,"div",99)(1,"mat-form-field",145)(2,"mat-select",146,1),d.DNE(4,Ne,2,2,"mat-option",109),d.nI1(5,"sortBy"),d.k0s(),d.DNE(6,ze,2,0,"mat-error",147),d.k0s()()),2&Je){const le=d.XpG();d.R7$(),d.Y8G("ngClass",d.eq3(10,N,le.isMobile)),d.R7$(),d.Y8G("placeholder",d.mNQ(le.ngOrcidSelectACountryOrLocation)),d.BMQ("aria-invalid",le.countryIsInvalidAndTouched),d.R7$(2),d.Y8G("ngForOf",d.brH(5,6,le.countryCodes,"asc","key")),d.R7$(2),d.Y8G("ngIf",le.countryIsInvalidAndTouched)}}function Ct(Je,Tt){if(1&Je&&(d.j41(0,"div",82)(1,"label",149)(2,"strong"),d.pXf(3,37),d.k0s(),d.j41(4,"span",90),d.EFF(5,"*"),d.k0s()()()),2&Je){const le=d.XpG();d.R7$(),d.Y8G("ngClass",d.eq3(1,w,le.affiliationForm.hasError("pattern","issn")))}}function Wt(Je,Tt){1&Je&&(d.j41(0,"mat-error",152),d.pXf(1,39),d.k0s())}function ln(Je,Tt){if(1&Je&&(d.j41(0,"div",150)(1,"mat-form-field",100),d.nrm(2,"input",151),d.nI1(3,"affiliationTypeLabel"),d.j41(4,"mat-hint",152),d.pXf(5,38),d.k0s(),d.DNE(6,Wt,2,0,"mat-error",114),d.k0s()()),2&Je){const le=d.XpG();d.R7$(2),d.BMQ("aria-label",d.bMT(3,2,le.type)+" "+le.issnLabel),d.R7$(4),d.Y8G("ngIf",le.affiliationForm.get("issn").hasError("pattern"))}}function Rn(Je,Tt){if(1&Je&&(d.j41(0,"div",82)(1,"label",153)(2,"strong"),d.pXf(3,40),d.k0s()()()),2&Je){const le=d.XpG();d.R7$(),d.Y8G("ngClass",d.eq3(1,w,le.affiliationForm.hasError("pattern","link")))}}function Dn(Je,Tt){1&Je&&(d.j41(0,"mat-error",152),d.pXf(1,42),d.k0s())}function Gn(Je,Tt){1&Je&&(d.j41(0,"mat-error"),d.pXf(1,43),d.k0s())}function Yn(Je,Tt){if(1&Je&&(d.j41(0,"div",154)(1,"mat-form-field",100),d.nrm(2,"input",155),d.nI1(3,"affiliationTypeLabel"),d.j41(4,"mat-hint",152),d.pXf(5,41),d.k0s(),d.DNE(6,Dn,2,0,"mat-error",114)(7,Gn,2,0,"mat-error",84),d.k0s()()),2&Je){let le;const Ve=d.XpG();d.R7$(2),d.BMQ("aria-label",d.bMT(3,3,Ve.type)+" "+Ve.linkLabel),d.R7$(4),d.Y8G("ngIf",Ve.affiliationForm.get("link").hasError("pattern")),d.R7$(),d.Y8G("ngIf",null==(le=Ve.affiliationForm.get("link").errors)?null:le.maxlength)}}function ui(Je,Tt){1&Je&&(d.j41(0,"strong"),d.pXf(1,44),d.k0s())}function ti(Je,Tt){1&Je&&(d.j41(0,"strong"),d.pXf(1,45),d.k0s())}function $t(Je,Tt){1&Je&&(d.j41(0,"strong"),d.pXf(1,46),d.k0s())}function it(Je,Tt){1&Je&&(d.j41(0,"strong"),d.pXf(1,47),d.k0s())}function mt(Je,Tt){1&Je&&(d.j41(0,"strong"),d.pXf(1,48),d.k0s())}function Ze(Je,Tt){1&Je&&(d.j41(0,"strong"),d.pXf(1,49),d.k0s())}function Nt(Je,Tt){1&Je&&(d.j41(0,"strong"),d.pXf(1,50),d.k0s())}function vt(Je,Tt){1&Je&&(d.j41(0,"strong"),d.pXf(1,51),d.k0s())}function $e(Je,Tt){1&Je&&(d.j41(0,"span",90),d.EFF(1,"*"),d.k0s())}
3function ht(Je,Tt){1&Je&&(d.j41(0,"div",82)(1,"label",156)(2,"strong",157),d.pXf(3,52),d.k0s()()())}function Ae(Je,Tt){1&Je&&(d.j41(0,"mat-error"),d.pXf(1,53),d.k0s())}function It(Je,Tt){if(1&Je&&(d.j41(0,"div",99)(1,"mat-form-field",100),d.nrm(2,"input",158),d.DNE(3,Ae,2,0,"mat-error",84),d.k0s()()),2&Je){let le;const Ve=d.XpG();d.R7$(3),d.Y8G("ngIf",null==(le=Ve.affiliationForm.get("department").errors)?null:le.maxlength)}}function Mt(Je,Tt){1&Je&&(d.j41(0,"strong"),d.pXf(1,54),d.k0s())}function on(Je,Tt){1&Je&&(d.j41(0,"strong"),d.pXf(1,55),d.k0s())}function Gt(Je,Tt){1&Je&&(d.j41(0,"strong"),d.pXf(1,56),d.k0s())}function hn(Je,Tt){1&Je&&(d.j41(0,"strong"),d.pXf(1,57),d.k0s())}function Cn(Je,Tt){1&Je&&(d.j41(0,"mat-error"),d.pXf(1,58),d.k0s())}function Sn(Je,Tt){if(1&Je&&(d.j41(0,"mat-option",108),d.EFF(1),d.k0s()),2&Je){const le=Tt.$implicit;d.Y8G("value",le),d.R7$(),d.SpI(" ",le," ")}}function ni(Je,Tt){if(1&Je&&(d.j41(0,"mat-option",108),d.EFF(1),d.nI1(2,"trailingZeros"),d.k0s()),2&Je){const le=Tt.$implicit;d.Y8G("value",le),d.R7$(),d.SpI(" ",d.bMT(2,2,le)," ")}}function wi(Je,Tt){if(1&Je&&(d.j41(0,"mat-option",108),d.EFF(1),d.nI1(2,"trailingZeros"),d.k0s()),2&Je){const le=Tt.$implicit;d.Y8G("value",le),d.R7$(),d.SpI(" ",d.bMT(2,2,le)," ")}}function vi(Je,Tt){1&Je&&(d.j41(0,"mat-error",152),d.pXf(1,59),d.k0s())}function Ai(Je,Tt){if(1&Je&&(d.j41(0,"mat-option",108),d.EFF(1),d.k0s()),2&Je){const le=Tt.$implicit;d.Y8G("value",le),d.R7$(),d.SpI(" ",le," ")}}function Hi(Je,Tt){if(1&Je&&(d.j41(0,"mat-option",108),d.EFF(1),d.nI1(2,"trailingZeros"),d.k0s()),2&Je){const le=Tt.$implicit;d.Y8G("value",le),d.R7$(),d.SpI(" ",d.bMT(2,2,le)," ")}}function tr(Je,Tt){if(1&Je&&(d.j41(0,"mat-option",108),d.EFF(1),d.nI1(2,"trailingZeros"),d.k0s()),2&Je){const le=Tt.$implicit;d.Y8G("value",le),d.R7$(),d.SpI(" ",d.bMT(2,2,le)," ")}}function Yi(Je,Tt){1&Je&&(d.j41(0,"mat-error",152),d.pXf(1,64),d.k0s())}function Qi(Je,Tt){1&Je&&(d.j41(0,"mat-error",152),d.pXf(1,65),d.k0s())}function xt(Je,Tt){if(1&Je&&(d.qex(0,159),d.j41(1,"div",82)(2,"label",153)(3,"strong"),d.pXf(4,60),d.k0s()()(),d.j41(5,"div",160)(6,"div",105)(7,"mat-form-field",161)(8,"mat-select",162)(9,"mat-option",108),d.pXf(10,61),d.k0s(),d.DNE(11,Ai,2,2,"mat-option",109),d.k0s()()(),d.j41(12,"div",105)(13,"mat-form-field",163)(14,"mat-select",164)(15,"mat-option",108),d.pXf(16,62),d.k0s(),d.DNE(17,Hi,3,4,"mat-option",109),d.k0s()()(),d.j41(18,"div",105)(19,"mat-form-field",165)(20,"mat-select",166)(21,"mat-option",108),d.pXf(22,63),d.k0s(),d.DNE(23,tr,3,4,"mat-option",109),d.k0s()()(),d.DNE(24,Yi,2,0,"mat-error",114),d.j41(25,"div",82),d.DNE(26,Qi,2,0,"mat-error",114),d.k0s()(),d.bVm()),2&Je){let le;const Ve=d.XpG();d.R7$(2),d.Y8G("ngClass",d.eq3(18,w,Ve.affiliationForm.hasError("date","endDateGroup"))),d.R7$(6),d.Y8G("aria-label",d.mNQ(Ve.dateLabel+" "+Ve.ngOrcidYear))("placeholder",d.mNQ(Ve.ngOrcidYear)),d.R7$(3),d.Y8G("ngForOf",Ve.yearsEndDate),d.R7$(3),d.Y8G("aria-label",d.mNQ(Ve.dateLabel+" "+Ve.ngOrcidMonth))("placeholder",d.mNQ(Ve.ngOrcidMonth)),d.R7$(3),d.Y8G("ngForOf",Ve.months),d.R7$(3),d.Y8G("aria-label",d.mNQ(Ve.dateLabel+" "+Ve.ngOrcidDay))("placeholder",d.mNQ(Ve.ngOrcidDay)),d.R7$(3),d.Y8G("ngForOf",Ve.days),d.R7$(),d.Y8G("ngIf",null==(le=Ve.affiliationForm.get("endDateGroup").errors)?null:le.date),d.R7$(2),d.Y8G("ngIf",null==Ve.affiliationForm.errors?null:Ve.affiliationForm.errors.invalidEndDate)}}function Me(Je,Tt){if(1&Je&&(d.j41(0,"div",82)(1,"label",153)(2,"strong"),d.pXf(3,66),d.k0s()()()),2&Je){const le=d.XpG();d.R7$(),d.Y8G("ngClass",d.eq3(1,w,le.affiliationForm.hasError("pattern","link")))}}function _e(Je,Tt){1&Je&&(d.j41(0,"mat-error",152),d.pXf(1,68),d.k0s())}function ke(Je,Tt){1&Je&&(d.j41(0,"mat-error"),d.pXf(1,69),d.k0s())}function _t(Je,Tt){if(1&Je&&(d.j41(0,"div",167)(1,"mat-form-field",100),d.nrm(2,"input",155),d.nI1(3,"affiliationTypeLabel"),d.j41(4,"mat-hint",152),d.pXf(5,67),d.k0s(),d.DNE(6,_e,2,0,"mat-error",114)(7,ke,2,0,"mat-error",84),d.k0s()()),2&Je){let le;const Ve=d.XpG();d.R7$(2),d.BMQ("aria-label",d.bMT(3,3,Ve.type)+" "+Ve.linkLabel),d.R7$(4),d.Y8G("ngIf",Ve.affiliationForm.get("link").hasError("pattern")),d.R7$(),d.Y8G("ngIf",null==(le=Ve.affiliationForm.get("link").errors)?null:le.maxlength)}}let wt=(()=>{class Je{get type(){return this._type}set type(le){this._type=le,this.dateLabel="distinction"!==le?"Start date":"Date of distinction"}get organizationIsInvalidAndTouched(){return this.affiliationForm.hasError("required","organization")&&(this.affiliationForm.get("organization").dirty||this.affiliationForm.get("organization").touched)}get cityIsInvalidAndTouched(){return this.affiliationForm.hasError("required","city")&&(this.affiliationForm.get("city").dirty||this.affiliationForm.get("city").touched)}get countryIsInvalidAndTouched(){return this.affiliationForm.hasError("required","country")&&(this.affiliationForm.get("country").dirty||this.affiliationForm.get("country").touched)}constructor(le,Ve,Te,Ht,Jt,ot,yt,Ut){this.window=le,this._platform=Ve,this.dialogRef=Te,this._recordCountryService=Ht,this._recordAffiliationService=Jt,this._formBuilder=ot,this._snackbar=yt,this._record=Ut,this.$destroy=new a.B,this.closeLabel="Close",this.saveLabel="Save changes to",this.ngOrcidYear="Year",this.ngOrcidMonth="Month",this.ngOrcidDay="Day",this.cancelChanges="Cancel changes and close",this.linkLabel="Link",this.issnLabel="Link",this.endDateLabel="End date",this.loadingCountryCodes=!0,this.loadingAffiliations=!0,this.organization="",this.city="",this.region="",this.country="",this.department="",this.title="",this.link="",this.years=Array(110).fill(0).map((Xt,gn)=>gn+(new Date).getFullYear()-108).reverse(),this.yearsEndDate=Array(120).fill(0).map((Xt,gn)=>gn+(new Date).getFullYear()-108).reverse(),this.months=Array(12).fill(0).map((Xt,gn)=>gn+1),this.days=Array(31).fill(0).map((Xt,gn)=>gn+1),this.ngOrcidSelectACountryOrLocation="Select a country or location",this.ngOrcidDefaultVisibilityLabel="Control who can see this information by setting the visibility. Your default visibility is",this.requireOrganizationDisambiguatedDataOnRefresh=!1,this._platform.get().subscribe(Xt=>{this.platform=Xt,this.isMobile=Xt.columns4||Xt.columns8})}ngOnInit(){this.initialValues(),this.getAffiliationFormForType(),this._record.getPreferences().pipe((0,_.$)()).subscribe(le=>{this.defaultVisibility=le.default_visibility,this.loadingAffiliations=!1,this.affiliationForm.patchValue({visibility:this.affiliation?.visibility?.visibility?this.affiliation.visibility.visibility:this.defaultVisibility})}),this.filteredOptions=this.filterOrganizations(),this.affiliation&&(this.affiliation.endDate.year&&this.affiliationForm.patchValue({endDateGroup:{endDateYear:this.affiliation.endDate.year?Number(this.affiliation.endDate.year):"",endDateMonth:this.affiliation.endDate.month?Number(this.affiliation.endDate.month):"",endDateDay:this.affiliation.endDate.day?Number(this.affiliation.endDate.day):""}}),this.affiliation.startDate.year&&this.affiliationForm.patchValue({startDateGroup:{startDateYear:this.affiliation.startDate.year?Number(this.affiliation.startDate.year):"",startDateMonth:this.affiliation.startDate.month?Number(this.affiliation.startDate.month):"",startDateDay:this.affiliation.startDate.day?Number(this.affiliation.startDate.day):""}}),this.affiliation.visibility?.visibility&&this.affiliationForm.patchValue({visibility:this.affiliation.visibility.visibility})),this._recordCountryService.getCountryCodes().pipe((0,_.$)()).subscribe(le=>{this.countryCodes=le,this.loadingCountryCodes=!1,this.affiliation&&"editorial-service"!==this.affiliation.affiliationType?.value&&(this.affiliationForm.patchValue({country:this.countryCodes.find(Ve=>Ve.value===this.affiliation.country.value).key}),this.selectedOrganizationFromDatabase&&this.affiliationForm.get("country").disable())}),this.affiliation?.putCode?this.loadingAffiliations=!1:this.affiliationForm.patchValue({visibility:this.defaultVisibility})}initialValues(){this.affiliation&&(this.displayOrganizationHint=!0,this.affiliation.orgDisambiguatedName&&(this.selectedOrganizationFromDatabase={value:this.affiliation.orgDisambiguatedName}),this.organization={value:this.affiliation.affiliationName?.value},this.city=this.affiliation.city?.value,this.region=this.affiliation.region?.value,this.country=this.affiliation.country?.value,this.department=this.affiliation.departmentName?.value,this.title=this.affiliation.roleTitle?.value,this.link=this.affiliation.url?.value,"editorial-service"===this.affiliation.affiliationType?.value&&(this.affiliation.affiliationName?.value&&(this.organization=this.affiliation.affiliationName?.value),this.affiliation.affiliationExternalIdentifiers?.length>0&&(this.issn=this.affiliation.affiliationExternalIdentifiers.find(le=>"issn"===le.externalIdentifierType.value)?.externalIdentifierId.value)))}autoCompleteDisplayOrganization(le){return le.value}formToBackendAffiliation(le){const Ve={visibility:{visibility:le.get("visibility").value?le.get("visibility").value:this.defaultVisibility},putCode:{value:this.options?.createACopy?null:this.affiliation?.putCode?.value},city:{value:le.get("city")?.value},region:{value:le.get("region")?.value},country:{value:this.countryCodes.find(Te=>Te.key===le.get("country")?.value)?.value},roleTitle:{value:le.get("title").value},departmentName:{value:le.get("department")?.value?le.get("department").value:""},affiliationType:{value:this.type},startDate:{day:le.get("startDateGroup.startDateDay").value?this.addTrailingZero(le.get("startDateGroup.startDateDay").value):"",month:le.get("startDateGroup.startDateMonth").value?this.addTrailingZero(le.get("startDateGroup.startDateMonth").value):"",year:le.get("startDateGroup.startDateYear").value?le.get("startDateGroup.startDateYear").value:""},endDate:{day:le.get("endDateGroup.endDateDay").value?this.addTrailingZero(le.get("endDateGroup.endDateDay").value):"",month:le.get("endDateGroup.endDateMonth")?this.addTrailingZero(le.get("endDateGroup.endDateMonth").value):"",year:le.get("endDateGroup.endDateYear").value?le.get("endDateGroup.endDateYear").value:""},url:{value:le.get("link").value},source:this.options?.createACopy?null:this.affiliation?.source,sourceName:this.affiliation?.sourceName,dateSortString:this.affiliation?.dateSortString,affiliationExternalIdentifiers:this.affiliation?.affiliationExternalIdentifiers,affiliationTypeForDisplay:this.affiliation?.affiliationTypeForDisplay,assertionOriginClientId:this.affiliation?.assertionOriginClientId,assertionOriginName:this.affiliation?.assertionOriginName,assertionOriginOrcid:this.affiliation?.assertionOriginOrcid,disambiguationSource:this.affiliation?.disambiguationSource,disambiguatedAffiliationSourceId:this.affiliation?.disambiguatedAffiliationSourceId,orgDisambiguatedId:this.affiliation?.orgDisambiguatedId,orgDisambiguatedCity:this.affiliation?.orgDisambiguatedCity,orgDisambiguatedCountry:this.affiliation?.orgDisambiguatedCountry,orgDisambiguatedExternalIdentifiers:this.affiliation?.orgDisambiguatedExternalIdentifiers,orgDisambiguatedName:this.affiliation?.orgDisambiguatedName,orgDisambiguatedRegion:this.affiliation?.orgDisambiguatedRegion,orgDisambiguatedUrl:this.affiliation?.orgDisambiguatedUrl};if(Ve.affiliationName=this.selectedOrganizationFromDatabase?{value:this.selectedOrganizationFromDatabase.value}:{value:le.get("organization").value?.value?le.get("organization").value?.value:le.get("organization").value},"editorial-service"===this.type){Ve.affiliationType.value=r.pw.service;const Te=this.normaliseIssn(le.get("issn")?.value?.trim()),Ht=le.get("issn")?.value?.trim(),Jt=`${D.bl}${Te}`;Ve.affiliationExternalIdentifiers=[{errors:[],externalIdentifierId:{errors:[],value:Ht&&Ht.startsWith(D.bl)?Jt:Te,required:!0},externalIdentifierType:{value:"issn"},url:{value:Jt},relationship:{value:O.zk.self,required:!0},normalized:{value:Te},normalizedUrl:{value:Jt}}]}return this.requireOrganizationDisambiguatedDataOnRefresh?this.selectedOrganizationFromDatabase?.disambiguatedAffiliationIdentifier?this._recordAffiliationService.getOrganizationDisambiguated(this.selectedOrganizationFromDatabase.disambiguatedAffiliationIdentifier).pipe((0,h.T)(Te=>(Ve.disambiguatedAffiliationSourceId={value:Te.sourceId},Ve.disambiguationSource={value:Te.sourceType},Ve.orgDisambiguatedId={value:this.selectedOrganizationFromDatabase.sourceType},Ve))):(Ve.disambiguatedAffiliationSourceId=void 0,Ve.disambiguationSource=void 0,Ve.orgDisambiguatedId=void 0,(0,t.of)(Ve)):(0,t.of)(Ve)}filterOrganizations(){return this.affiliationForm.get("organization").valueChanges.pipe((0,C.M)(le=>{"object"==typeof le&&le.disambiguatedAffiliationIdentifier&&(this.selectedOrganizationFromDatabase=le,this.requireOrganizationDisambiguatedDataOnRefresh=!0,this.displayOrganizationHint=!0,this.fillForm(le)),le||(this.selectedOrganizationFromDatabase&&this.affiliationForm.patchValue({city:"",region:"",country:""}),this.selectedOrganizationFromDatabase=void 0,this.requireOrganizationDisambiguatedDataOnRefresh=!0,this.displayOrganizationHint=!1)}),(0,b.n)(le=>"string"!=typeof le||this.selectedOrganizationFromDatabase?(0,t.of)([]):this._filter(le||"").pipe((0,C.M)(Ve=>{this.displayOrganizationHint=!0}))))}fillForm(le){this.affiliationForm.patchValue({city:le.city,region:le.region,country:this.countryCodes.find(Ve=>Ve.value===le.country).key}),this.affiliationForm.get("organization").disable(),this.disable(le?.city,"city"),this.affiliationForm.get("region").disable(),this.disable(le?.country,"country")}clearForm(){this.affiliationForm.patchValue({organization:"",city:"",region:"",country:""}),this.enable("organization"),this.enable("city"),this.enable("region"),this.enable("country"),this.affiliationForm.get("city").markAsUntouched(),this.affiliationForm.get("region").markAsUntouched(),this.affiliationForm.get("country").markAsUntouched(),this.selectedOrganizationFromDatabase=void 0,this.filteredOptions=this.filterOrganizations()}_filter(le){return le?this._recordAffiliationService.getOrganization(le).pipe((0,_.$)()):u.w}addTrailingZero(le){return le&&Number(le)<10?"0"+le:le}toOrganization(){this.window.document.getElementById("organization").scrollIntoView()}
3toAffiliationDetails(){this.window.document.getElementById("affiliation-details").scrollIntoView()}toVisibility(){this.window.document.getElementById("visibility").scrollIntoView()}saveEvent(){this.affiliationForm.markAllAsTouched(),this.affiliationForm.valid?(this.loadingAffiliations=!0,this.formToBackendAffiliation(this.affiliationForm).pipe((0,b.n)(le=>this._recordAffiliationService.postAffiliation(le)),(0,_.$)()).subscribe(le=>{le?.errors?.length>0?(this.loadingAffiliations=!1,this._snackbar.showValidationError(le?.errors[0],"Please review and fix the issue")):this.closeEvent()})):this._snackbar.showValidationError()}disable(le,Ve){le&&this.affiliationForm.get(Ve).disable()}enable(le){this.affiliationForm.get(le).enable()}closeEvent(){this.dialogRef.close()}ngOnDestroy(){this.$destroy.next(!0),this.$destroy.unsubscribe()}getAffiliationFormForType(){this.affiliationForm=this._formBuilder.group("editorial-service"===this.type?{organization:new M.hs({value:this.organization,disabled:this.selectedOrganizationFromDatabase},{validators:[M.k0.required,M.k0.maxLength(D.Pu)]}),title:new M.hs(this.title,{validators:[M.k0.maxLength(D.Pu)]}),startDateGroup:this._formBuilder.group({startDateDay:["",[]],startDateMonth:["",[]],startDateYear:["",[]]},{validator:(0,f.N8)("startDate")}),endDateGroup:this._formBuilder.group({endDateDay:[""],endDateMonth:[""],endDateYear:[""]},{validator:(0,f.N8)("endDate")}),link:new M.hs(this.link,{validators:[M.k0.pattern(D.i$),M.k0.maxLength(D.Q9)]}),visibility:new M.hs(this.defaultVisibility,{validators:[M.k0.required]}),issn:new M.hs(this.issn,{validators:[M.k0.required,M.k0.pattern(D.K4)]})}:{organization:new M.hs({value:this.organization,disabled:this.selectedOrganizationFromDatabase},{validators:[M.k0.required,M.k0.maxLength(D.Pu)]}),city:new M.hs({value:this.city,disabled:this.selectedOrganizationFromDatabase},{validators:[M.k0.required,M.k0.maxLength(D.Pu)]}),region:new M.hs({value:this.region,disabled:this.selectedOrganizationFromDatabase},{validators:[M.k0.maxLength(D.Pu)]}),country:new M.hs("",{validators:[M.k0.required]}),department:new M.hs(this.department,{validators:[M.k0.maxLength(D.Pu)]}),title:new M.hs(this.title,{validators:[M.k0.maxLength(D.Pu)]}),startDateGroup:this._formBuilder.group({startDateDay:["",[]],startDateMonth:["",[]],startDateYear:["",[]]},{validator:(0,f.N8)("startDate")}),endDateGroup:this._formBuilder.group({endDateDay:[""],endDateMonth:[""],endDateYear:[""]},{validator:(0,f.N8)("endDate")}),link:new M.hs(this.link,{validators:[M.k0.pattern(D.i$),M.k0.maxLength(D.Q9)]}),visibility:new M.hs(this.defaultVisibility,{validators:[M.k0.required]})},{validator:(0,f.k7)()})}normaliseIssn(le){return le&&8===(le=(le=(le=le.replace(new RegExp(D.bl,"g"),"")).replace(/[^a-zA-Z0-9]/g,"")).replace(/x/g,"X")).length?le.substring(0,4)+"-"+le.substring(4,8):""}static{this.\u0275fac=function(Ve){return new(Ve||Je)(d.rXU(v.jf),d.rXU(E.Z),d.rXU(se.k),d.rXU(Y.b),d.rXU(ne.Z),d.rXU(M.ze),d.rXU(U.z),d.rXU(T.n))}}static{this.\u0275cmp=d.VBU({type:Je,selectors:[["app-modal-affiliations"]],inputs:{type:"type",affiliation:"affiliation",options:"options"},standalone:!1,decls:128,vars:119,consts:()=>{let le,Ve,Te,Ht,Jt,ot,yt,Ut,Xt,gn,kn,bn,pi,Mi,oi,Fi,Kn,Bn,Pi,Ii,zn,Ki,or,er,nr,Ci,sr,ki,gi,Zi,mr,Or,yn,Ir,Jr,Do,Qo,he,Et,Re,tt,Lt,nn,_n,Tn,hi,ai,Ei,_i,Ji,Si,Vi,ri,li,Fr,fr,Mr,ir,Rr,oo,Ao,So,Ri,Kr,qr,Eo,Uo,qi;return le=" Visibility ",Ve=" Save changes ",Te=" Cancel ",Ht="Year",Jt="Month",ot="Day",yt="Visibility",Ut=" Organization ",Xt=" Journal ",gn=" Employment details ",kn=" Qualification details ",bn=" Education details ",pi=" Invited Position details ",Mi=" Distinction details ",oi=" Membership details ",Fi=" Service details ",Kn=" EditorialService details ",Bn=" Organization ",Pi=" Journal ",Ii="Required information ",zn=" Organization",Ki=" Journal",or="Identify as:",er=" Unidentified organization ",nr=" Please enter an organization ",Ci=" Must be less than 1000 characters ",sr=" Please enter an organization ",ki=" Must be less than 1000 characters ",gi="City",Zi=" Please enter a city ",mr=" Must be less than 1000 characters ",Or="Region, State or County",yn=" Must be less than 1000 characters ",Ir="Country/Location",Jr=" Please enter a country or location ",Do="ISSN",Qo=" ISSN identifier for the journal. Use the 1234-5678 format. ",he=" Invalid ISSN ",Et="Homepage URL",Re=" Use the full URL format e.g. http://www.website.com/page.html ",tt=" Invalid URL ",Lt=" Must be less than 2000 characters ",nn=" Employment details ",_n=" Qualification details ",Tn=" Education details ",hi=" Invited Position details ",ai=" Distinction details ",Ei=" Membership details ",_i=" Service details ",Ji=" Editorial Service details ",Si="Department",Vi=" Must be less than 1000 characters ",ri=" Degree/title ",li=" Role/title ",Fr=" Distinction/award ",fr=" Membership type ",Mr=" Must be less than 1000 characters ",ir=" Invalid date ",Rr="End date",oo="Year",Ao="Month",So="Day",Ri=" Invalid date ",Kr=" End date must come after start date ",qr="Link",Eo=" A link to a profile page or description of the role. Links should be in the full URL format e.g. http://www.website.com/page.html ",Uo=" Invalid Link ",qi=" Must be less than 2000 characters ",[["auto","matAutocomplete"],["countrySelect",""],le,Ve,Te,Ht,Jt,ot,yt,Ut,Xt,gn,kn,bn,pi,Mi,oi,Fi,Kn,Bn,Pi,Ii,zn,Ki,or,er,nr,Ci,sr,ki,gi,Zi,mr,Or,yn,Ir,Jr,Do,Qo,he,Et,Re,tt,Lt,nn,_n,Tn,hi,ai,Ei,_i,Ji,Si,Vi,ri,li,Fr,fr,Mr,ir,Rr,oo,Ao,So,Ri,Kr,qr,Eo,Uo,qi,[3,"loading"],[3,"closeLabel"],["id","side-bar-title"],["class","side-bar",3,"click",4,"ngIf"],["id","side-bar-url-1"],["id","side-bar-url-2"],[1,"side-bar",3,"click"],["mat-raised-button","","color","primary","type","submit","id","save-affiliation-button",3,"click"],["mat-stroked-button","","color","primary","id","cancel-affiliation-button",3,"click"],[3,"formGroup"],[3,"id"],["id","organization",1,"title",3,"ngClass"],[1,"row"],[3,"ngClass"],[4,"ngIf"],["class","required",4,"ngIf"],["class","required-information mat-caption",4,"ngIf"],["for","organization-input","id","organization-label",1,"mat-caption",3,"ngClass"],["
3id","organizationLabel",4,"ngIf"],["id","journalLabel",4,"ngIf"],[1,"required"],["id","cy-org-dd-div",1,"input-container"],["appearance","outline","class","mat-form-field-min","id","cy-org-dd-mat-form",3,"ngClass",4,"ngIf"],["class","row",4,"ngIf"],["class","input-container",4,"ngIf"],["class","input-container bottom-padding",4,"ngIf"],["class","input-container mat-hint bottom-padding",4,"ngIf"],["id","affiliation-details",1,"title",3,"ngClass"],["for","title-input","id","award-label",1,"mat-caption"],[1,"input-container"],["appearance","outline",1,"mat-form-field-min"],["aria-labelledby","award-label","id","title-input","matInput","","formControlName","title"],["formGroupName","startDateGroup","id","cy-affiliation-start-date-group"],["for","cy-start-date-year-sel",1,"mat-caption",3,"ngClass"],["id","cy-start-date-group",1,"row","input-container","date-group"],[1,"col","l4","date"],["id","start-date-year-input","appearance","outline",1,"mat-form-field-min","no-hint"],["formControlName","startDateYear","id","cy-start-date-year-sel",3,"aria-label","placeholder"],[3,"value"],[3,"value",4,"ngFor","ngForOf"],["id","start-date-month-input","appearance","outline",1,"mat-form-field-min","no-hint"],["formControlName","startDateMonth","id","cy-start-date-month-sel",3,"aria-label","placeholder"],["id","start-date-day-input","appearance","outline",1,"mat-form-field-min","no-hint"],["formControlName","startDateDay","id","cy-start-date-day-sel",3,"aria-label","placeholder"],["class","mat-caption",4,"ngIf"],["formGroupName","endDateGroup","id","cy-affiliation-end-date-group",4,"ngIf"],["class","input-container mat-hint",4,"ngIf"],["id","visibility",1,"title","visibility",3,"ngClass"],[1,"orc-font-body-small"],[1,"col","no-wrap","actions-wrapper","no-gutters"],["formControlName","visibility",3,"itemTitle"],[1,"required-information","mat-caption"],["id","organizationLabel"],["id","journalLabel"],["appearance","outline","id","cy-org-dd-mat-form",1,"mat-form-field-min",3,"ngClass"],["aria-labelledby","organizationLabel","id","organization-input","matInput","","formControlName","organization",3,"matAutocomplete"],["autoActiveFirstOption","","id","cy-org-dd",3,"displayWith"],["id","cy-org-filtered-options",4,"ngIf"],["class","clear","matSuffix","","mat-icon-button","","aria-label","Clear",3,"click",4,"ngIf"],["role","alert","aria-describedby","organization-label","class","mat-caption",4,"ngIf"],["id","cy-org-filtered-options"],[1,"row","orc-font-body-small","title"],[1,"row","orc-font-small-print"],["matSuffix","","mat-icon-button","","aria-label","Clear",1,"clear",3,"click"],["role","alert","aria-describedby","organization-label",1,"mat-caption"],["aria-labelledby","organizationLabel","id","organization-input","matInput","","formControlName","organization"],["for","city-input","id","city-label",1,"mat-caption",3,"ngClass"],["id","cityLabel"],["id","city-input","matInput","","formControlName","city","aria-labelledby","cityLabel"],["role","alert","aria-describedby","city-label","class","mat-caption",4,"ngIf"],["role","alert","aria-describedby","city-label",1,"mat-caption"],["for","region-input",1,"mat-caption"],["id","region-input","aria-labelledby","regionLabel","matInput","","formControlName","region"],["for","country-input","id","country-label",1,"mat-caption",3,"ngClass"],["id","countryLabel"],["appearance","outline",1,"mat-form-field-min",3,"ngClass"],["id","country-input","formControlName","country",3,"placeholder"],["role","alert","aria-describedby","country-label",4,"ngIf"],["role","alert","aria-describedby","country-label"],["for","issn-input",1,"mat-caption",3,"ngClass"],[1,"input-container","bottom-padding"],["id","issn-input","matInput","","formControlName","issn"],[1,"mat-caption"],["for","url-input",1,"mat-caption",3,"ngClass"],[1,"input-container","mat-hint","bottom-padding"],["id","url-input","matInput","","formControlName","link"],["for","department-input",1,"mat-caption"],["id","deparmentLabel"],["id","department-input","matInput","","formControlName","department","aria-labelledby","deparmentLabel"],["formGroupName","endDateGroup","id","cy-affiliation-end-date-group"],["id","cy-end-date-group",1,"row","input-container","date-group"],["id","end-date-year-input","appearance","outline",1,"mat-form-field-min","no-hint"],["formControlName","endDateYear","id","cy-end-date-year-sel",3,"aria-label","placeholder"],["id","end-date-month-input","appearance","outline",1,"mat-form-field-min","no-hint"],["formControlName","endDateMonth","id","cy-end-date-month-sel",3,"aria-label","placeholder"],["id","end-date-day-input","appearance","outline",1,"mat-form-field-min","no-hint"],["formControlName","endDateDay","id","cy-end-date-day-sel",3,"aria-label","placeholder"],[1,"input-container","mat-hint"]]},template:function(Ve,Te){if(1&Ve&&(d.j41(0,"app-modal",70)(1,"app-modal-header",71),d.nI1(2,"affiliationTypeLabel"),d.EFF(3),d.nI1(4,"affiliationTypeLabel"),d.k0s(),d.j41(5,"app-modal-side-bar"),d.qex(6,72),d.DNE(7,oe,2,0,"a",73)(8,H,2,0,"a",73),d.bVm(),d.qex(9,74),d.DNE(10,ie,2,0,"a",73)(11,Ce,2,0,"a",73)(12,Ue,2,0,"a",73)(13,nt,2,0,"a",73)(14,we,2,0,"a",73)(15,at,2,0,"a",73)(16,Xe,2,0,"a",73)(17,et,2,0,"a",73),d.bVm(),d.qex(18,75),d.j41(19,"a",76),d.bIt("click",function(){return Te.toVisibility()}),d.pXf(20,2),d.k0s(),d.bVm(),d.k0s(),d.j41(21,"app-modal-footer")(22,"button",77),d.nI1(23,"affiliationTypeLabel"),d.bIt("click",function(){return Te.saveEvent()}),d.pXf(24,3),d.k0s(),d.j41(25,"button",78),d.nI1(26,"affiliationTypeLabel"),d.bIt("click",function(){return Te.closeEvent()}),d.pXf(27,4),d.k0s()(),d.j41(28,"form",79)(29,"section",80)(30,"div",81)(31,"div",82)(32,"h2",83),d.DNE(33,xe,2,0,"strong",84)(34,De,2,0,"strong",84)(35,ue,2,0,"span",85),d.k0s(),d.DNE(36,z,5,0,"p",86),d.k0s()(),d.nrm(37,"hr"),d.j41(38,"div",82)(39,"label",87),d.DNE(40,de,2,0,"strong",88)(41,ae,2,0,"strong",89),d.j41(42,"span",90),d.EFF(43,"*"),d.k0s()()(),d.j41(44,"div",91),d.DNE(45,Ge,10,12,"mat-form-field",92)(46,J,4,6,"mat-form-field",92),d.k0s(),d.DNE(47,R,6,3,"div",93)(48,Pe,5,3,"div",94)(49,pe,4,0,"div",93)(50,Qe,4,1,"div",94)(
351,At,6,3,"div",93)(52,Ke,7,12,"div",94)(53,Ct,6,3,"div",93)(54,ln,7,4,"div",95)(55,Rn,4,3,"div",93)(56,Yn,8,5,"div",96),d.k0s(),d.j41(57,"section",80)(58,"div",97)(59,"div",82)(60,"h2",83),d.DNE(61,ui,2,0,"strong",84)(62,ti,2,0,"strong",84)(63,$t,2,0,"strong",84)(64,it,2,0,"strong",84)(65,mt,2,0,"strong",84)(66,Ze,2,0,"strong",84)(67,Nt,2,0,"strong",84)(68,vt,2,0,"strong",84)(69,$e,2,0,"span",85),d.k0s()()(),d.nrm(70,"hr"),d.DNE(71,ht,4,0,"div",93)(72,It,4,1,"div",94),d.j41(73,"div",82)(74,"label",98),d.DNE(75,Mt,2,0,"strong",84)(76,on,2,0,"strong",84)(77,Gt,2,0,"strong",84)(78,hn,2,0,"strong",84),d.k0s()(),d.j41(79,"div",99)(80,"mat-form-field",100),d.nrm(81,"input",101),d.DNE(82,Cn,2,0,"mat-error",84),d.k0s()(),d.qex(83,102),d.j41(84,"div",82)(85,"label",103)(86,"strong"),d.EFF(87),d.k0s()()(),d.j41(88,"div",104)(89,"div",105)(90,"mat-form-field",106)(91,"mat-select",107)(92,"mat-option",108),d.pXf(93,5),d.k0s(),d.DNE(94,Sn,2,2,"mat-option",109),d.k0s()()(),d.j41(95,"div",105)(96,"mat-form-field",110)(97,"mat-select",111)(98,"mat-option",108),d.pXf(99,6),d.k0s(),d.DNE(100,ni,3,4,"mat-option",109),d.k0s()()(),d.j41(101,"div",105)(102,"mat-form-field",112)(103,"mat-select",113)(104,"mat-option",108),d.pXf(105,7),d.k0s(),d.DNE(106,wi,3,4,"mat-option",109),d.k0s()()(),d.DNE(107,vi,2,0,"mat-error",114),d.k0s(),d.bVm(),d.DNE(108,xt,27,20,"ng-container",115)(109,Me,4,3,"div",93)(110,_t,8,5,"div",116),d.k0s(),d.j41(111,"section",80)(112,"form")(113,"h2",117)(114,"p")(115,"strong"),d.pXf(116,8),d.k0s()()(),d.nrm(117,"hr"),d.j41(118,"p",118),d.EFF(119),d.j41(120,"strong"),d.EFF(121),d.nI1(122,"visibilityStringLabel"),d.k0s(),d.EFF(123,". "),d.k0s()(),d.j41(124,"div",82)(125,"div",119),d.nrm(126,"app-visibility-selector",120),d.nI1(127,"affiliationTypeLabel"),d.k0s()()()()()),2&Ve){let Ht,Jt;d.Y8G("loading",Te.loadingCountryCodes||Te.loadingAffiliations),d.R7$(),d.Y8G("closeLabel",Te.closeLabel+" "+d.bMT(2,86,Te.type)),d.R7$(2),d.SpI(" ",d.bMT(4,88,Te.type)," "),d.R7$(4),d.Y8G("ngIf","editorial-service"!==Te.type),d.R7$(),d.Y8G("ngIf","editorial-service"===Te.type),d.R7$(2),d.Y8G("ngIf","employment"===Te.type),d.R7$(),d.Y8G("ngIf","qualification"===Te.type),d.R7$(),d.Y8G("ngIf","education"===Te.type),d.R7$(),d.Y8G("ngIf","invited-position"===Te.type),d.R7$(),d.Y8G("ngIf","distinction"===Te.type),d.R7$(),d.Y8G("ngIf","membership"===Te.type),d.R7$(),d.Y8G("ngIf","service"===Te.type),d.R7$(),d.Y8G("ngIf","editorial-service"===Te.type),d.R7$(5),d.BMQ("aria-label",Te.saveLabel+" "+d.bMT(23,90,Te.type)),d.R7$(3),d.BMQ("aria-label",Te.cancelChanges+" "+d.bMT(26,92,Te.type)),d.R7$(3),d.Y8G("formGroup",Te.affiliationForm),d.R7$(),d.Y8G("id",d.VkB("",Te.type,"-organization")),d.R7$(),d.Y8G("ngClass",d.l_i(98,I,!Te.platform.columns12,Te.platform.columns12)),d.R7$(2),d.Y8G("ngClass",d.l_i(101,I,!Te.platform.columns12,Te.platform.columns12)),d.R7$(),d.Y8G("ngIf","editorial-service"!==Te.type),d.R7$(),d.Y8G("ngIf","editorial-service"===Te.type),d.R7$(),d.Y8G("ngIf",!Te.platform.columns12),d.R7$(),d.Y8G("ngIf",Te.platform.columns12),d.R7$(3),d.Y8G("ngClass",d.eq3(104,w,Te.organizationIsInvalidAndTouched)),d.R7$(),d.Y8G("ngIf","editorial-service"!==Te.type),d.R7$(),d.Y8G("ngIf","editorial-service"===Te.type),d.R7$(4),d.Y8G("ngIf","editorial-service"!==Te.type),d.R7$(),d.Y8G("ngIf","editorial-service"===Te.type),d.R7$(),d.Y8G("ngIf","editorial-service"!==Te.type),d.R7$(),d.Y8G("ngIf","editorial-service"!==Te.type),d.R7$(),d.Y8G("ngIf","editorial-service"!==Te.type),d.R7$(),d.Y8G("ngIf","editorial-service"!==Te.type),d.R7$(),d.Y8G("ngIf","editorial-service"!==Te.type),d.R7$(),d.Y8G("ngIf","editorial-service"!==Te.type),d.R7$(),d.Y8G("ngIf","editorial-service"===Te.type),d.R7$(),d.Y8G("ngIf","editorial-service"===Te.type),d.R7$(),d.Y8G("ngIf","editorial-service"===Te.type),d.R7$(),d.Y8G("ngIf","editorial-service"===Te.type),d.R7$(),d.Y8G("id",d.VkB("",Te.type,"-details")),d.R7$(),d.Y8G("ngClass",d.l_i(106,I,!Te.platform.columns12,Te.platform.columns12)),d.R7$(2),d.Y8G("ngClass",d.l_i(109,I,!Te.platform.columns12,Te.platform.columns12)),d.R7$(),d.Y8G("ngIf","employment"===Te.type),d.R7$(),d.Y8G("ngIf","qualification"===Te.type),d.R7$(),d.Y8G("ngIf","education"===Te.type),d.R7$(),d.Y8G("ngIf","invited-position"===Te.type),d.R7$(),d.Y8G("ngIf","distinction"===Te.type),d.R7$(),d.Y8G("ngIf","membership"===Te.type),d.R7$(),d.Y8G("ngIf","service"===Te.type),d.R7$(),d.Y8G("ngIf","editorial-service"===Te.type),d.R7$(),d.Y8G("ngIf",!Te.platform.columns12),d.R7$(2),d.Y8G("ngIf","editorial-service"!==Te.type),d.R7$(),d.Y8G("ngIf","editorial-service"!==Te.type),d.R7$(3),d.Y8G("ngIf","education"===Te.type),d.R7$(),d.Y8G("ngIf","employment"===Te.type||"qualification"===Te.type||"invited-position"===Te.type||"service"===Te.type||"editorial-service"===Te.type),d.R7$(),d.Y8G("ngIf","distinction"===Te.type),d.R7$(),d.Y8G("ngIf","membership"===Te.type),d.R7$(4),d.Y8G("ngIf",null==(Ht=Te.affiliationForm.get("title").errors)?null:Ht.maxlength),d.R7$(3),d.Y8G("ngClass",d.eq3(112,w,Te.affiliationForm.hasError("date","startDateGroup"))),d.R7$(2),d.JRh(Te.dateLabel),d.R7$(4),d.Y8G("aria-label",d.mNQ(Te.dateLabel+" "+Te.ngOrcidYear))("placeholder",d.mNQ(Te.ngOrcidYear)),d.R7$(3),d.Y8G("ngForOf",Te.years),d.R7$(3),d.Y8G("aria-label",d.mNQ(Te.dateLabel+" "+Te.ngOrcidMonth))("placeholder",d.mNQ(Te.ngOrcidMonth)),d.R7$(3),d.Y8G("ngForOf",Te.months),d.R7$(3),d.Y8G("aria-label",d.mNQ(Te.dateLabel+" "+Te.ngOrcidDay))("placeholder",d.mNQ(Te.ngOrcidDay)),d.R7$(3),d.Y8G("ngForOf",Te.days),d.R7$(),d.Y8G("ngIf",null==(Jt=Te.affiliationForm.get("startDateGroup").errors)?null:Jt.date),d.R7$(),d.Y8G("ngIf","distinction"!==Te.type),d.R7$(),d.Y8G("ngIf","editorial-service"!==Te.type),d.R7$(),d.Y8G("ngIf","editorial-service"!==Te.type),d.R7$(),d.Y8G("id",d.VkB("",Te.type," + 'visibility'")),d.R7$(2),d.Y8G("ngClass",d.ziG(114,Z,!Te.platform.columns12,Te.platform.columns12,"editorial-service"!==Te.type,"editorial-service"===Te.type)),d.R7$(6),d.SpI(" ",Te.ngOrcidDefaultVisibilityLabel," "),d.R7$(2),d.JRh(d.bMT(122,94,Te.defaultVisibility)),d.R7$(5),d.Y8G("itemTitle",d.bMT(127,96,Te.type))}},styles:["[_nghost-%COMP%]{width:100%}hr[_ngcontent-%COMP%]{margin-bottom:16px}label[_ngcontent-%COMP%]{margin:6px 0 3px}[_nghost-%COMP%] .columns-4-or-8 .mat-mdc-form-field{width:100%;margin-inline-end:auto}.required[_ngcontent-%COMP%]{margin-left:3px}.required-information[_ngcontent-%COMP%]{margin-left:auto!important;margin-top:10px!important}.required-information[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{margin-right:3px!important}.input-container[_ngcontent-%COMP%], .date-group[_ngcontent-%COMP%]{margin:0}.actions-wrapper[_ngcontent-%COMP%]{flex-wrap:nowrap}.mat-mdc-form-field[_ngcontent-%COMP%]{width:100%}.mat-mdc-option[_ngcontent-%COMP%]{min-height:64px;line-height:32px;height:auto;margin-bottom:8px;white-space:normal;line-height:1.4}.mat-mdc-option[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{display:flex;width:100%;font-weight:500}.title[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:6px 0}.mat-mdc-form-field[_ngcontent-%COMP%]{padding:0!important}.input-box[_ngcontent-%COMP%]{flex-grow:1;max-width:402px}.input-box[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{width:100%;height:40px;margin:4px 0;border-width:1px;border-style:solid;padding:0 12px}.visibility[_ngcontent-%COMP%]{margin-top:60px}
3.delete[_ngcontent-%COMP%]{margin-left:auto}.other-names-wrapper[_ngcontent-%COMP%]{margin:20px 0 30px}.side-bar[_ngcontent-%COMP%]{text-decoration:underline}.input-container[_ngcontent-%COMP%]{max-width:402px}[_nghost-%COMP%] .date-group[_ngcontent-%COMP%]{padding-bottom:1.475em}[_nghost-%COMP%] .date-group[_ngcontent-%COMP%] .date[_ngcontent-%COMP%]{padding-left:0}button[_ngcontent-%COMP%], .clear[_ngcontent-%COMP%]{z-index:1}label.mat-caption[_ngcontent-%COMP%]{margin-bottom:8px}label.mat-hint[_ngcontent-%COMP%]{margin-bottom:40px}","input[_ngcontent-%COMP%]{border:solid 1px #e3e3e3}[_ngcontent-%COMP%]::placeholder{color:#707070}[_ngcontent-%COMP%]:-ms-input-placeholder{color:#707070}.error[_ngcontent-%COMP%], .required[_ngcontent-%COMP%]{color:#d32f2f}input.mat-mdc-input-element[_ngcontent-%COMP%]{border:transparent;font-size:16px!important}.mat-mdc-form-field-underline[_ngcontent-%COMP%]{border-bottom:solid 1px #e3e3e3}.bottom-padding[_ngcontent-%COMP%]{padding-bottom:15px}.visibility-editorial-service[_ngcontent-%COMP%]{margin-top:5px}"]})}}return Je})()},21105:(qe,ee,o)=>{"use strict";o.d(ee,{U:()=>I});var a=o(29330),t=o(84412),u=o(92771),M=o(7673),v=o(71985),r=o(983),h=o(88141),C=o(25558),b=o(99437),D=o(44668),f=o(70274),O=o(22816),d=o(96354),L=o(70980),E=o(61594),se=o(21495),Y=o(62415),ne=o(2615),U=o(56846);let T=(()=>{class w{constructor(){this.totalCountTtlMs=3e4,this.unreadCountTtlMs=1e4,this._totalCountAt=0,this._totalCount$=null,this._unreadCountAt=0,this._unreadCount$=null,this._notificationsPage=new Map,this._flagAsReadInFlight=new Map,this._flagAsArchiveInFlight=new Map}isTotalCountValid(){return null!==this._totalCount$&&Date.now()-this._totalCountAt<this.totalCountTtlMs}getTotalCount(){return this._totalCount$}setTotalCount(N){this._totalCountAt=Date.now(),this._totalCount$=N}clearTotalCount(N){this._totalCount$&&(this._totalCount$=null,this._totalCountAt=0)}isUnreadCountValid(){return null!==this._unreadCount$&&Date.now()-this._unreadCountAt<this.unreadCountTtlMs}getUnreadCount(){return this._unreadCount$}setUnreadCount(N){this._unreadCountAt=Date.now(),this._unreadCount$=N}clearUnreadCount(){this._unreadCount$&&(this._unreadCount$=null,this._unreadCountAt=0)}notificationsPageKey(N,oe){return`${oe?"archived":"nonArchived"}:${N}`}getNotificationsPage(N){return this._notificationsPage.get(N)}setNotificationsPage(N,oe){this._notificationsPage.set(N,oe)}clearNotificationsPage(N){this._notificationsPage.size>0&&this._notificationsPage.clear()}getFlagAsReadInFlight(N){return this._flagAsReadInFlight.get(N)}setFlagAsReadInFlight(N,oe){this._flagAsReadInFlight.set(N,oe)}deleteFlagAsReadInFlight(N){this._flagAsReadInFlight.delete(N)}getFlagAsArchiveInFlight(N){return this._flagAsArchiveInFlight.get(N)}setFlagAsArchiveInFlight(N,oe){this._flagAsArchiveInFlight.set(N,oe)}deleteFlagAsArchiveInFlight(N){this._flagAsArchiveInFlight.delete(N)}clearAll(N){this.clearTotalCount(N),this.clearUnreadCount(),this.clearNotificationsPage(N)}static{this.\u0275fac=function(oe){return new(oe||w)}}static{this.\u0275prov=ne.jDH({token:w,factory:w.\u0275fac,providedIn:"root"})}}return w})(),I=(()=>{class w{constructor(N,oe,H){this._http=N,this._errorHandler=oe,this._cache=H,this.nextLoadRequireAFullBackendSyncronization=!1,this.currentlyIncludingArchive=!1,this.currentLevel=0,this._unreadCountSubject=new t.t(null),this.unreadCount$=this._unreadCountSubject.asObservable(),this.inboxSubject=new u.m(1),this.lastEmittedValue=null,this.headers=new a.Lr({"Access-Control-Allow-Origin":"*"})}get(N=!1,oe=!1){return this.lastEmittedValue&&!1===N&&!!this.currentlyIncludingArchive===oe&&!this.nextLoadRequireAFullBackendSyncronization?this.inboxSubject.asObservable():(null===this.currentlyIncludingArchive?this.currentlyIncludingArchive=oe:this.currentlyIncludingArchive!==oe&&(this.currentlyIncludingArchive=oe,this.currentLevel=0,this.lastEmittedValue=null,this._cache.clearNotificationsPage("includeArchived changed")),N&&this.lastEmittedValue&&this.currentLevel++,this.getNotifications(this.currentLevel,oe).pipe((0,h.M)(H=>{this.nextLoadRequireAFullBackendSyncronization&&(this.lastEmittedValue=null,this.nextLoadRequireAFullBackendSyncronization=!1),this.lastEmittedValue=this.lastEmittedValue?this.lastEmittedValue.concat(H):H,this.lastEmittedValue&&this.inboxSubject.next(this.lastEmittedValue)}),(0,C.n)(()=>this.inboxSubject.asObservable())))}getNotifications(N,oe){return this.nextLoadRequireAFullBackendSyncronization?(this._cache.clearNotificationsPage("full backend synchronization"),this._cache.clearTotalCount("full backend synchronization"),this._http.get(`inbox/notifications.json?firstResult=0&maxResults=${se.a*N+se.a}&includeArchived=${oe}`,{headers:this.headers}).pipe((0,b.W)(Ce=>this._errorHandler.handleError(Ce,Y.Q.STANDARD_VERBOSE)))):this.fetchNotificationsPage(N,oe)}fetchNotificationsPage(N=0,oe=!1){const H=this._cache.notificationsPageKey(N,oe),ie=this._cache.getNotificationsPage(H);if(ie)return ie;const Ue=runtimeEnvironment.BASE_URL+`inbox/notifications.json?firstResult=${se.a*N}&maxResults=${se.a}&includeArchived=${oe}`,nt=this._http.get(Ue,{headers:this.headers}).pipe((0,b.W)(we=>this._errorHandler.handleError(we,Y.Q.STANDARD_VERBOSE)),(0,D.t)(1));return this._cache.setNotificationsPage(H,nt),nt}fetchNotificationsIncremental(N=!1){return this.totalNumber({skipUnreadRefresh:!0}).pipe((0,C.n)(oe=>{const H=N?oe.all:oe.nonArchived;return H?function _(w,Z,N){if(null==Z&&(Z=w,w=0),Z<=0)return r.w;const oe=Z+w;return new v.c(N?H=>{let ie=w;return N.schedule(function(){ie<oe?(H.next(ie++),this.schedule()):H.complete()})}:H=>{let ie=w;for(;ie<oe&&!H.closed;)H.next(ie++);H.complete()})}(0,Math.ceil(H/se.a)).pipe((0,f.H)(Ce=>this.fetchNotificationsPage(Ce,N)),(0,O.S)((Ce,Ue)=>Ce.concat(Ue),[]),(0,d.T)(Ce=>({total:H,notifications:Ce,done:Ce.length>=H}))):(0,M.of)({total:0,notifications:[],done:!0})}))}flagAsArchive(N,oe=!0){const H=`${N}:${oe?"emit":"noemit"}`,ie=this._cache.getFlagAsArchiveInFlight(H);if(ie)return ie;const Ce=this.lastEmittedValue?.find(we=>`${we.putCode}`==`${N}`&&!!we.archivedDate);if(Ce)return(0,M.of)(Ce);const nt=this._http.post(`inbox/${N}/archive.json`,JSON.stringify(N),{headers:this.headers.set("Content-Type","application/json"),withCredentials:!0}).pipe((0,b.W)(we=>this._errorHandler.handleError(we,Y.Q.STANDARD_VERBOSE)),(0,h.M)(we=>{this.lastEmittedValue&&(this.lastEmittedValue.forEach((at,Xe)=>{at.putCode===we.putCode&&(this.currentlyIncludingArchive?(at.archivedDate=we.archivedDate,at.readDate=we.readDate):(this.lastEmittedValue?.splice(Xe,1),this.nextLoadRequireAFullBackendSyncronization=!0))}),this._cache.clearNotificationsPage("flagAsArchive"),this._cache.clearTotalCount("flagAsArchive"),oe&&this.emitUpdate())}),(0,L.j)(()=>this._cache.deleteFlagAsArchiveInFlight(H)),(0,D.t)(1));return this._cache.setFlagAsArchiveInFlight(H,nt),nt}emitUpdate(){this.lastEmittedValue&&this.inboxSubject.next(this.lastEmittedValue)}flagAsRead(N){const oe=`${N}`,H=this._cache.getFlagAsReadInFlight(oe);
3if(H)return H;const ie=this.lastEmittedValue?.find(nt=>`${nt.putCode}`==`${N}`&&!!nt.readDate);if(ie)return(0,M.of)(ie);const Ue=this._http.post(`inbox/${N}/read.json`,JSON.stringify(N),{headers:this.headers.set("Content-Type","application/json"),withCredentials:!0}).pipe((0,b.W)(nt=>this._errorHandler.handleError(nt)),(0,h.M)(nt=>{this.lastEmittedValue&&(this.lastEmittedValue.forEach(we=>{we.putCode===nt.putCode&&(we.readDate=nt.readDate)}),this.inboxSubject.next(this.lastEmittedValue)),this._cache.clearNotificationsPage("flagAsRead")}),(0,L.j)(()=>this._cache.deleteFlagAsReadInFlight(oe)),(0,D.t)(1));return this._cache.setFlagAsReadInFlight(oe,Ue),Ue}_fetchAndUpdateUnreadCount(){const N=`${runtimeEnvironment.BASE_URL}inbox/unreadCount.json`;if(this._cache.isUnreadCountValid()&&this._cache.getUnreadCount())return this._cache.getUnreadCount();const oe=this._http.get(N,{headers:this.headers,observe:"response"}).pipe((0,d.T)(H=>H.url?.includes("/login")?null:H.body??null),(0,h.M)(H=>{null!==H&&this._unreadCountSubject.next(H)}),(0,b.W)(H=>(this._cache.clearUnreadCount(),(0,M.of)(null))),(0,D.t)(1));return this._cache.setUnreadCount(oe),oe}getUnreadCount(){return this._fetchAndUpdateUnreadCount().pipe((0,E.$)())}retrieveUnreadCount(){return this._fetchAndUpdateUnreadCount().subscribe(),this.unreadCount$}totalNumber(N){const oe=runtimeEnvironment.BASE_URL+"inbox/totalCount.json";if(!N?.skipCache&&this._cache.isTotalCountValid()&&this._cache.getTotalCount())return this._cache.getTotalCount();const H=this._http.get(oe,{headers:this.headers}).pipe((0,d.T)(ie=>(ie.archived=ie.all-ie.nonArchived,ie)),(0,h.M)(()=>{N?.skipUnreadRefresh||this._fetchAndUpdateUnreadCount().subscribe()}),(0,b.W)(ie=>this._errorHandler.handleError(ie)),(0,D.t)(1));return N?.skipCache||this._cache.setTotalCount(H),H}static{this.\u0275fac=function(oe){return new(oe||w)(ne.KVO(a.Qq),ne.KVO(U.c),ne.KVO(T))}}static{this.\u0275prov=ne.jDH({token:w,factory:w.\u0275fac,providedIn:"root"})}}return w})()},21413:(qe,ee,o)=>{"use strict";o.d(ee,{B:()=>_});var a=o(71985),t=o(18359);const M=(0,o(81853).L)(C=>function(){C(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var v=o(57908),r=o(49786);let _=(()=>{class C extends a.c{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(D){const f=new h(this,this);return f.operator=D,f}_throwIfClosed(){if(this.closed)throw new M}next(D){(0,r.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const f of this.currentObservers)f.next(D)}})}error(D){(0,r.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=D;const{observers:f}=this;for(;f.length;)f.shift().error(D)}})}complete(){(0,r.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:D}=this;for(;D.length;)D.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var D;return(null===(D=this.observers)||void 0===D?void 0:D.length)>0}_trySubscribe(D){return this._throwIfClosed(),super._trySubscribe(D)}_subscribe(D){return this._throwIfClosed(),this._checkFinalizedStatuses(D),this._innerSubscribe(D)}_innerSubscribe(D){const{hasError:f,isStopped:O,observers:d}=this;return f||O?t.Kn:(this.currentObservers=null,d.push(D),new t.yU(()=>{this.currentObservers=null,(0,v.o)(d,D)}))}_checkFinalizedStatuses(D){const{hasError:f,thrownError:O,isStopped:d}=this;f?D.error(O):d&&D.complete()}asObservable(){const D=new a.c;return D.source=this,D}}return C.create=(b,D)=>new h(b,D),C})();class h extends _{constructor(b,D){super(),this.destination=b,this.source=D}next(b){var D,f;null===(f=null===(D=this.destination)||void 0===D?void 0:D.next)||void 0===f||f.call(D,b)}error(b){var D,f;null===(f=null===(D=this.destination)||void 0===D?void 0:D.error)||void 0===f||f.call(D,b)}complete(){var b,D;null===(D=null===(b=this.destination)||void 0===b?void 0:b.complete)||void 0===D||D.call(b)}_subscribe(b){var D,f;return null!==(f=null===(D=this.source)||void 0===D?void 0:D.subscribe(b))&&void 0!==f?f:t.Kn}}},21495:(qe,ee,o)=>{"use strict";o.d(ee,{KH:()=>ce,B5:()=>Xe,Ru:()=>we,xm:()=>at,a:()=>st,X:()=>Ye,Tu:()=>K,AB:()=>Be,yQ:()=>Dn,TB:()=>Y,dh:()=>ne,V0:()=>Pe,_P:()=>mt,lG:()=>Ue,dI:()=>Ce,Ub:()=>Se,ud:()=>ie,bl:()=>Z,K4:()=>
3oe,J6:()=>X,Xr:()=>De,cC:()=>xe,e9:()=>ae,cE:()=>ue,WT:()=>de,v:()=>z,gS:()=>ht,Og:()=>ui,cv:()=>Gn,Pu:()=>Yn,G6:()=>$t,Q9:()=>ti,Yv:()=>it,Mh:()=>U,X_:()=>T,Np:()=>I,X$:()=>pt,_K:()=>nt,i$:()=>w,nD:()=>H,Dp:()=>$,IL:()=>pe,bL:()=>et,pX:()=>$e,rs:()=>vt,En:()=>Ze,Fb:()=>bt,D8:()=>Qe,L$:()=>Ae,PA:()=>Ge,UX:()=>At,zk:()=>Ne,hy:()=>Ke,gV:()=>ze,Us:()=>Ct});var a=o(89417),t=o(31518),u=o(20868),M=o(22228),v=o(52810),r=o(19521),_=o(96236),h=o(83053),C=o(86365),b=o(19795),D=o(42108),f=o(30546),O=o(55214),d=o(94868),L=o(18720),E=o(79835);const Y=/^([^@\s]|(".+"))+@([^@\s\."'\(\)\[\]\{\}\\/,:;]+\.)+([^@\s\."'\(\)\[\]\{\}\\/,:;]{2,})+$/,ne=/^\s*?(.+)@(.+?)\s*$/,U=/(\d{4}[- ]{0,}){3}\d{3}[\dX]$/,T=/(\d{4}[- ]{0,}){3}\d{3}[\dX]$/i,I=/(orcid\.org\/|qa\.orcid\.org\/|sandbox\.orcid\.org\/|dev\.orcid\.org\/|localhost.*)(\d{4}[- ]{0,}){3}\d{3}[\dX]$/i,w=/^(?:http(s)?:\/\/)?[\w.-]+(?:\.[\w\.-]+)+[\w\-\._~:/?#%[\]@!\$&'\(\)\*\+\\,;=.>< ]+$/i,Z="https://portal.issn.org/resource/ISSN/",N=Z.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),oe=new RegExp(`^(?:${N})?\\d{4}-?\\d{3}[\\dXx]$`),H=/^((https?):\/\/)[\w.-]+(?:\.[\w\.-]+)+[\w\-\._~:/?#%[\]@!\$&'\(\)\*\+\\,;=.>< ]+$/i,ie=/([@\$!])/,Ce=/(?=.*[0-9]).*/,Ue=/(?=.*[^\d\s]).*/,nt=/(?=redirect_uri=)(.*?)(?=orcidapi)|(?=redirect_uri=)(.*?)$/,we=/^(\d+(\.\d{1,2})?|\.?\d{1,2})$/,at=/(?=.*\d)^(([1-9]\d{0,2}(,\d{3})*)|0)?(\.\d{1,2})?$/,Xe=/^\d+$/,et=/\s+/g,xe="edit",De="delete",ue="hide",z="show",de="select",ae="expand",X="collapse",$=new Date("2024-10-28"),K={myOrcid:"my-orcid",twoFactor:"2fa-signin",twoFactorSetup:"2FA/setup",institutionalLinking:"institutional-linking",social:"social-linking",institutional:"institutional-signin",inbox:"inbox",login:"login",signin:"signin",authorize:"oauth/authorize",search:"orcid-search/search",reactivation:"reactivation",resetPassword:"reset-password",register:"register",thirdPartySignIn:"third-party-signin-completed",account:"account",deactivate:"account/deactivate",trustedParties:"trusted-parties",resetPasswordEmail:"reset-password-email",selfService:"self-service",developerTools:"developer-tools",smsPoc:"sms-poc",recordCorrections:"record-corrections",recordCorrectionsLegacy:"about/trust/integrity/record-corrections",home:""},Be={[K.home]:"ORCID",[K.twoFactor]:"2FA - ORCID",[K.twoFactorSetup]:"2FA - ORCID",[K.institutionalLinking]:"Institutional linking - ORCID",[K.social]:"Social linking - ORCID",[K.institutional]:"Institutional sign in - ORCID",[K.inbox]:"Notifications inbox - ORCID",[K.login]:"Sign in - ORCID",[K.signin]:"Sign in - ORCID",[K.authorize]:"Oauth - ORCID",[K.search]:"Search - ORCID",[K.reactivation]:"Account reactivation - ORCID",[K.resetPassword]:"Reset password - ORCID",[K.register]:"Register - ORCID",[K.thirdPartySignIn]:"Sign in - ORCID",[K.account]:"Account settings - ORCID",[K.deactivate]:"Deactivate account - ORCID",[K.trustedParties]:"Trusted parties - ORCID ",[K.resetPasswordEmail]:"Reset password - ORCID",[K.selfService]:"Self Service - ORCID",[K.developerTools]:"Developer tools - ORCID",[K.smsPoc]:"SMS POC - ORCID",[K.recordCorrections]:"Record corrections - ORCID",[K.recordCorrectionsLegacy]:"Record corrections - ORCID"},Ye={orcidPageTitle:"- ORCID",orcidMyPageTitle:"- My ORCID"},Se=[K.twoFactor,K.twoFactorSetup,K.social,K.institutionalLinking,K.institutional,K.login,K.signin,K.authorize,K.resetPassword,K.register],pt={navigationStartPrefix:"start_",navigationEndPrefix:"ends_"};function Ge(Gt){return Gt&&U.test(Gt)}function bt(Gt){const Cn=T.exec(Gt);if(null!=Cn){const Sn=(Gt=(Gt=Cn[0].toString().replace(/ /g,"")).toString().replace(/-/g,"")).toString().replace(/(.{4})/g,"$1-");Gt=Sn.substring(0,Sn.length-1).toUpperCase()}return Gt}var ce=function(Gt){return Gt[Gt.addManually=0]="addManually",Gt[Gt.doi=1]="doi",Gt[Gt.searchAndLink=2]="searchAndLink",Gt[Gt.pubMed=3]="pubMed",Gt[Gt.bibText=4]="bibText",Gt}(ce||{}),Pe=function(Gt){return Gt[Gt.doi=0]="doi",Gt[Gt.pubMed=1]="pubMed",Gt}(Pe||{});const pe=["PUBLIC","LIMITED","PRIVATE"],st=10;function Qe(Gt){return!(!Gt||!Gt.url)&&Gt.url.toLowerCase().includes("oauth/authorize")}function At(Gt){return Object.keys(Gt).map(hn=>`${hn}=${encodeURIComponent(Gt[hn])}`).join("&")}function Ne(Gt){return Gt[0]&&Ge(Gt[0].path)?{consumed:[Gt[0]]}:{consumed:[]}}function ze(Gt){return Gt[0]&&Ge(Gt[0].path)&&Gt[1]&&"summary"===Gt[1].path?{consumed:[Gt[0],Gt[1]]}:{consumed:[]}}function Ke(Gt){if(Gt[0]&&Gt[0].path.match(new RegExp(K.reactivation,"g")))return{consumed:Gt}}function Ct(Gt){if(Gt[1]&&Gt[1].path.match(new RegExp(K.thirdPartySignIn,"g"))||Gt[2]&&Gt[2].path.match(new RegExp(K.thirdPartySignIn,"g")))return{consumed:Gt}}const Dn=50,Gn=99,Yn=999,ui=4999,ti=1999,$t=254,it=2083;function mt(Gt){if(Gt instanceof a.hs)return Gt.errors??null;if(Gt instanceof a.J3){const hn=Gt.errors,Cn=hn?{groupErrors:hn}:{};
3return Object.keys(Gt.controls).forEach(Sn=>{const ni=mt(Gt.get(Sn));ni instanceof Array?ni.forEach(wi=>{null===wi||(Cn[Sn]=ni)}):null!==ni&&(Cn[Sn]=ni)}),Object.keys(Cn).length>0?Cn:null}if(Gt instanceof a.Bm){const hn=Gt.errors,Cn=hn?[hn]:[];return Gt.controls.forEach(Sn=>{const ni=mt(Sn);Cn.push(ni)}),Cn.length>0?Cn:null}}function Ze(Gt,hn){switch(Gt){case u.G:switch(hn){case"employment":return "Manage employment dialog";case"education":return "Manage education dialog";case"qualification":return "Manage qualification dialog";case"distinction":return "Manage distinction dialog";case"invited-position":return "Manage invited position dialog";case"membership":return "Manage membership dialog";case"service":return "Manage service dialog";case"editorial-service":return "Manage editorial service dialog"}case E.yL:return "Manage bibtex dialog";case b.w:return "Manage external identifier dialog";case M.I:return "Manage your names dialog";case D.o:return "Manage your biography dialog";case t.p:return "Manage your emails dialog";case f.H:return "Manage your countries dialog";case O.I:return "Manage your keywords dialog";case L.G:return "Manage your other IDs dialog";case d.P:return "Manage your websites & social links dialog";case v.O:return "Manage funding dialog";case r.G:return "Manage funding search dialog";case h.u:return "Manage work dialog";case _.P:return "Manage work search dialog";case C.G:return "Manage peer review dialog"}}function vt(Gt,hn){return Gt.filter(Cn=>Cn.type===hn)[0]}function $e(Gt){return{value:Gt.value,city:Gt.city,region:Gt.region,country:Gt.country,disambiguatedAffiliationIdentifier:Gt.disambiguatedAffiliationIdentifier,sourceId:Gt.sourceId}}const ht="LOCAL_SESSION_UID";function Ae(Gt){if(!Gt)return!1;const hn=Gt.replace(/[-\u2010]/g,"");return 10===hn.length?function It(Gt){if(!/^\d{9}[\dX]$/i.test(Gt))return!1;let hn=0;for(let Sn=0;Sn<9;Sn++)hn+=parseInt(Gt[Sn])*(10-Sn);const Cn=Gt[9].toUpperCase();return hn+="X"===Cn?10:parseInt(Cn),hn%11==0}(hn):13===hn.length&&function Mt(Gt){if(!/^\d{13}$/.test(Gt))return!1;let hn=0;for(let Cn=0;Cn<13;Cn++)hn+=parseInt(Gt[Cn])*(Cn%2==0?1:3);return hn%10==0}(hn)}},21715:(qe,ee,o)=>{"use strict";o.d(ee,{M:()=>r});var a=o(34991),t=o(28203),u=o(73664),M=o(2615);let r=(()=>{class _{constructor(){(0,M.WQX)(a.H)._applyBodyHighContrastModeCssClasses()}static \u0275fac=function(b){return new(b||_)};static \u0275mod=u.$C({type:_});static \u0275inj=M.G2t({imports:[t.jI,t.jI]})}return _})()},21892:function(qe){(function(){qe.exports={None:0,OpenTag:1,InsideTag:2,CloseTag:3}}).call(this)},21898:(qe,ee,o)=>{"use strict";o.d(ee,{W:()=>b});var a=o(92771),t=o(7673),u=o(96354),M=o(99437),v=o(88141),r=o(29330),_=o(2615),h=o(56846),C=o(89402);let b=(()=>{class D{constructor(O,d,L){this._http=O,this._errorHandler=d,this._recordPublicSidebar=L,this.headers=new r.Lr({"Access-Control-Allow-Origin":"*"})}getBiography(O={forceReload:!1}){if(O.publicRecordId)return this._recordPublicSidebar.getPublicRecordSideBar(O).pipe((0,u.T)(d=>d.biography));if(this.$biography){if(!O.forceReload)return this.$biography}else this.$biography=new a.m(1);return O.cleanCacheIfExist&&this.$biography&&this.$biography.next(void 0),this._http.get(runtimeEnvironment.API_WEB+"account/biographyForm.json",{headers:this.headers}).pipe((0,M.W)(d=>this._errorHandler.handleError(d)),(0,M.W)(()=>(0,t.of)({})),(0,v.M)(d=>{this.$biography.next(d)})).subscribe(),this.$biography}postBiography(O){return this._http.post(runtimeEnvironment.API_WEB+"account/biographyForm.json",O,{headers:this.headers}).pipe((0,M.W)(d=>this._errorHandler.handleError(d)),(0,v.M)(()=>this.getBiography({forceReload:!0})))}static{this.\u0275fac=function(d){return new(d||D)(_.KVO(r.Qq),_.KVO(h.c),_.KVO(C.I))}}static{this.\u0275prov=_.jDH({token:D,factory:D.\u0275fac,providedIn:"root"})}}return D})()},22020:(qe,ee)=>{ee.read=function(o,a,t,u,M){var v,r,_=8*M-u-1,h=(1<<_)-1,C=h>>1,b=-7,D=t?M-1:0,f=t?-1:1,O=o[a+D];for(D+=f,v=O&(1<<-b)-1,O>>=-b,b+=_;b>0;v=256*v+o[a+D],D+=f,b-=8);for(r=v&(1<<-b)-1,v>>=-b,b+=u;b>0;r=256*r+o[a+D],D+=f,b-=8);if(0===v)v=1-C;else{if(v===h)return r?NaN:1/0*(O?-1:1);r+=Math.pow(2,u),v-=C}return(O?-1:1)*r*Math.pow(2,v-u)},ee.write=function(o,a,t,u,M,v){var r,_,h,C=8*v-M-1,b=(1<<C)-1,D=b>>1,f=23===M?Math.pow(2,-24)-Math.pow(2,-77):0,O=u?0:v-1,d=u?1:-1,L=a<0||0===a&&1/a<0?1:0;for(a=Math.abs(a),isNaN(a)||a===1/0?(_=isNaN(a)?1:0,r=b):(r=Math.floor(Math.log(a)/Math.LN2),a*(h=Math.pow(2,-r))<1&&(r--,h*=2),(a+=r+D>=1?f/h:f*Math.pow(2,1-D))*h>
3=2&&(r++,h/=2),r+D>=b?(_=0,r=b):r+D>=1?(_=(a*h-1)*Math.pow(2,M),r+=D):(_=a*Math.pow(2,D-1)*Math.pow(2,M),r=0));M>=8;o[t+O]=255&_,O+=d,_/=256,M-=8);for(r=r<<M|_,C+=M;C>0;o[t+O]=255&r,O+=d,r/=256,C-=8);o[t+O-d]|=128*L}},22193:(qe,ee,o)=>{"use strict";o.d(ee,{i:()=>a,z:()=>t});const a={WORDPRESS_HOME_PAGE:"WORDPRESS_HOME_PAGE",HEADER_COMPACT:"HEADER_COMPACT",OAUTH_AUTHORIZATION:"OAUTH_AUTHORIZATION",OAUTH2_AUTHORIZATION:"OAUTH2_AUTHORIZATION",OAUTH_SIGNIN:"OAUTH_SIGNIN",EMAIL_DOMAINS_UI:"EMAIL_DOMAINS_UI",FEATURED_WORKS_UI:"FEATURED_WORKS_UI",LOGIN_DOMAINS_INTERSTITIAL:"LOGIN_DOMAINS_INTERSTITIAL",OAUTH_DOMAINS_INTERSTITIAL:"OAUTH_DOMAINS_INTERSTITIAL",LOGIN_AFFILIATION_INTERSTITIAL:"LOGIN_AFFILIATION_INTERSTITIAL",OAUTH_AFFILIATION_INTERSTITIAL:"OAUTH_AFFILIATION_INTERSTITIAL",LOGIN_BACKUP_EMAIL_INTERSTITIAL:"LOGIN_BACKUP_EMAIL_INTERSTITIAL",OAUTH_BACKUP_EMAIL_INTERSTITIAL:"OAUTH_BACKUP_EMAIL_INTERSTITIAL",MAINTENANCE_MESSAGE:"MAINTENANCE_MESSAGE",FEATURED_AFFILIATIONS:"FEATURED_AFFILIATIONS",PERMISSION_NOTIFICATIONS:"PERMISSION_NOTIFICATIONS",SEARCH_AND_LINK_WIZARD_WITH_CERTIFIED_AND_FEATURED_LINKS:"SEARCH_AND_LINK_WIZARD_WITH_CERTIFIED_AND_FEATURED_LINKS",RUM:"RUM"},t={RECAPTCHA_WEB_KEY:"RECAPTCHA_WEB_KEY",MAINTENANCE_MESSAGE:"MAINTENANCE_MESSAGE",SEARCH_BASE:"SEARCH_BASE",PUB_BASE_URI:"PUB_BASE_URI",ABOUT_URI:"ABOUT_URI"}},22228:(qe,ee,o)=>{"use strict";o.d(ee,{I:()=>K});var a=o(1875),t=o(89417),u=o(88021),M=o(67376),r=o(21413),_=o(56977),h=o(61594),C=o(25558),b=o(96697),D=o(1734),f=o(86223),O=o(73664),d=o(2615),L=o(17705),E=o(51060),se=o(8435),Y=o(38520),ne=o(998),U=o(32130);const T=["nameInput"],I=(Be,Ye)=>({"orc-font-body":Be,"orc-font-body-large":Ye}),w=Be=>({error:Be}),Z=Be=>({"no-wrap":Be}),N=Be=>[Be,"otherName"],oe=Be=>({privacy:Be}),H=Be=>({selector:Be});function ie(Be,Ye){1&Be&&(O.j41(0,"span",48),O.EFF(1,"*"),O.k0s())}function Ce(Be,Ye){1&Be&&(O.j41(0,"p",70)(1,"span",48),O.EFF(2,"*"),O.k0s(),O.qex(3),O.pXf(4,18),O.bVm(),O.k0s())}function Ue(Be,Ye){1&Be&&(O.j41(0,"mat-error",71),O.pXf(1,19),O.k0s())}function nt(Be,Ye){1&Be&&(O.j41(0,"mat-error"),O.pXf(1,20),O.k0s())}function we(Be,Ye){1&Be&&(O.j41(0,"mat-error"),O.pXf(1,21),O.k0s())}function at(Be,Ye){1&Be&&(O.j41(0,"mat-error",71),O.pXf(1,22),O.k0s())}function Xe(Be,Ye){1&Be&&(O.j41(0,"mat-error"),O.pXf(1,23),O.k0s())}function et(Be,Ye){1&Be&&(O.j41(0,"mat-error"),O.pXf(1,24),O.k0s())}function xe(Be,Ye){1&Be&&(O.j41(0,"mat-error"),O.pXf(1,25),O.k0s())}function De(Be,Ye){1&Be&&O.nrm(0,"div",86)}function ue(Be,Ye){if(1&Be&&(O.j41(0,"mat-hint",71),O.nrm(1,"app-source-hit",87),O.k0s()),2&Be){const Se=O.XpG().$implicit;O.R7$(),O.Y8G("createdDate",Se.createdDate)("source",Se.sourceName||Se.source)("assertion",Se.assertionOriginName||Se.assertionOriginOrcid)}}function z(Be,Ye){1&Be&&(O.j41(0,"mat-error"),O.pXf(1,26),O.k0s())}function de(Be,Ye){if(1&Be){const Se=O.RV6();O.j41(0,"div",74),O.DNE(1,De,1,0,"div",75),O.j41(2,"div",76)(3,"div",77),O.nrm(4,"img",78),O.j41(5,"mat-form-field",79),O.nrm(6,"input",80,0),O.DNE(8,ue,2,3,"mat-hint",52)(9,z,2,0,"mat-error",53),O.k0s()(),O.j41(10,"div",81),O.nrm(11,"app-visibility-selector",82),O.j41(12,"button",83),O.bIt("click",function(){const Ge=d.eBV(Se).$implicit,bt=O.XpG(2);return d.Njj(bt.deleteOtherName(Ge.putCode))}),O.j41(13,"mat-icon",84),O.EFF(14,"delete "),O.k0s()()()(),O.nrm(15,"hr",85),O.k0s()}if(2&Be){const Se=Ye.$implicit,pt=O.XpG(2);O.Y8G("formGroupName",Se.putCode),O.R7$(2),O.Y8G("ngClass",O.eq3(14,Z,!pt.isMobile)),O.R7$(4),O.Y8G("placeholder",O.mNQ(pt.ngOrcidAddOtherName)),O.BMQ("aria-label",pt.inputAlsoKnownAsAriaLabel),O.R7$(2),O.Y8G("ngIf",Se.putCode.indexOf("new")<0),O.R7$(),O.Y8G("ngIf",pt.namesForm.hasError("maxlength",O.eq3(16,N,Se.putCode))),O.R7$(),O.Y8G("ngClass",O.eq3(18,oe,!pt.platform.columns12)),O.R7$(),O.Y8G("ngClass",O.eq3(20,H,!pt.platform.columns12))("ariaLabelPrivate",pt.visibilityNamesPrivateAriaLabel)("ariaLabelPublic",pt.visibilityNamesPublicAriaLabel)("ariaLabelTrustedParty",pt.visibilityNamesTrustedPartyAriaLabel)("itemTitle",Se.content),O.R7$(),O.BMQ("aria-label",pt.deleteOtherNameAriaLabel)}}function ae(Be,Ye){if(1&Be){const Se=O.RV6();O.qex(0),O.j41(1,"div",72),O.bIt("cdkDropListDropped",function(Ge){d.eBV(Se);const bt=O.XpG();return d.Njj(bt.drop(Ge))}),O.DNE(2,de,16,22,"div",73),O.k0s(),O.bVm()}if(2&Be){const Se=O.XpG();O.R7$(2),O.Y8G("ngForOf",Se.otherNames)}}function X(Be,Ye){1&Be&&(O.qex(0),O.pXf(1,27),O.bVm())}function $(Be,Ye){1&Be&&(O.qex(0),O.pXf(1,28),O.bVm())}let K=(()=>{class Be{constructor(Se,pt,Ge,bt,me,J,R,x,ce){this.window=Se,this._platform=pt,this.dialogRef=Ge,this.data=bt,this._userService=me,this._recordNameService=J,this._recordOtherNamesService=R,this._changeDetectorRef=x,this._snackBar=ce,this.$destroy=new r.B,this.addedOtherNameCount=0,this.loadingNames=!0,this.nameMaxLength=99,this.otherNameMaxLength=254,this.ngOrcidAddGivenName="Your given names or forenames",this.ngOrcidAddFamilyName="Your family names or surnames",this.ngOrcidAddPublishedName="Add a published or credit name",this.ngOrcidAddOtherName="Add other name",this.ngOrcidDefaultVisibilityLabel="Control who can see your given, family and published names by setting the visibility. The default visibility for your names is",this.closeAriaLabel="Close Names",this.saveAriaLabel="Save changes to Names",this.cancelAriaLabel="Cancel changes and close Names",this.inputGivenNamesAriaLabel="Your given names",this.inputFamilyNamesAriaLabel="Your family names",this.inputPublishedNamesAriaLabel="Your published names",this.inputAlsoKnownAsAri
3aLabel="I am also known as",this.visibilityNamesPublicAriaLabel="Set names visibility to Everyone",this.visibilityNamesTrustedPartyAriaLabel="Set names visibility to Trusted Parties",this.visibilityNamesPrivateAriaLabel="Set names visibility to Only Me",this.visibilityOtherNamesPublicAriaLabel="Set other names visibility to Everyone",this.visibilityOtherNamesTrustedPartyAriaLabel="Set other names visibility to Trusted Parties",this.visibilityOtherNamesPrivateAriaLabel="Set other names visibility to Only Me",this.deleteOtherNameAriaLabel="Delete other name",this.ariaLabelYourNames="Your names",this._platform.get().subscribe(Pe=>{this.platform=Pe,this.isMobile=Pe.columns4||Pe.columns8}),this._userService.getUserSession().pipe((0,_.Q)(this.$destroy)).subscribe(Pe=>{this.userSession=Pe})}ngOnInit(){this.userRecord=this.data,this.publicVisibility="PUBLIC",this._recordNameService.getNames().pipe((0,h.$)()).subscribe(Se=>{this.defaultVisibility=Se.visibility.visibility,this._recordOtherNamesService.getOtherNames().pipe((0,h.$)()).subscribe(pt=>{this.originalBackendOtherNames=(0,M.cloneDeep)(pt),this.otherNamesDefaultVisibility=pt.visibility.visibility,this.otherNames=this.originalBackendOtherNames.otherNames;const Ge={};this.originalBackendOtherNames.otherNames.map(bt=>Ge[bt.putCode]=bt),this.backendJsonToForm(Se,this.originalBackendOtherNames),this.loadingNames=!1})})}onSubmit(){}backendJsonToForm(Se,pt){const bt={};pt.otherNames.forEach(ce=>{bt[ce.putCode]=new t.J3({otherName:new t.hs({value:ce.content,disabled:ce.source!==this.id},[t.k0.maxLength(this.otherNameMaxLength)]),visibility:new t.hs(ce.visibility.visibility,{})})}),this.namesForm=new t.J3(bt);const J=Se.familyName?Se.familyName.value:"",R=Se.creditName?Se.creditName.value:"",x=Se.visibility.visibility;this.namesForm.addControl("givenNames",new t.hs(Se.givenNames?Se.givenNames.value:"",{validators:[t.k0.required,f.X.illegalName,t.k0.maxLength(this.nameMaxLength)]})),this.namesForm.addControl("familyName",new t.hs(J,{validators:[f.X.illegalName,t.k0.maxLength(this.nameMaxLength)]})),this.namesForm.addControl("publishedName",new t.hs(R,{validators:[t.k0.maxLength(this.nameMaxLength)]})),this.namesForm.addControl("visibility",new t.hs(x,{}))}formToBackendNames(Se){const pt=Se.get("visibility").value;return{errors:[],givenNames:Se.get("givenNames").value.trim(),familyName:Se.get("familyName").value.trim(),creditName:Se.get("publishedName").value.trim(),visibility:{visibility:pt}}}formToBackendOtherNames(Se){const pt={errors:[],otherNames:[],visibility:this.originalBackendOtherNames.visibility};return this._changeDetectorRef.detach(),this.otherNames.reverse(),this.otherNames.map(Ge=>Ge.putCode).filter(Ge=>Se.getRawValue()[Ge].otherName).forEach((Ge,bt)=>{const me=Se.getRawValue()[Ge].otherName.trim(),J=Se.getRawValue()[Ge].visibility;Se.getRawValue()[Ge]&&pt.otherNames.push({putCode:0===Ge.indexOf("new-")?null:Ge,content:me,displayIndex:bt+1,source:this.userSession.userInfo.EFFECTIVE_USER_ORCID,visibility:{visibility:J}})}),pt}saveEvent(){this.namesForm.valid?(this.loadingNames=!0,this._recordNameService.postNames(this.formToBackendNames(this.namesForm)).pipe((0,C.n)(Se=>this._recordOtherNamesService.postOtherNames(this.formToBackendOtherNames(this.namesForm))),(0,C.n)(Se=>this._userService.refreshUserSession(!0).pipe((0,b.s)(1)))).subscribe(Se=>{this.closeEvent()},Se=>{})):this._snackBar.showValidationError()}closeEvent(){this.dialogRef.close()}drop(Se){(0,a.HD)(this.otherNames,Se.previousIndex,Se.currentIndex)}addOtherName(){this.namesForm.addControl("new-"+this.addedOtherNameCount,new t.J3({otherName:new t.hs("",[t.k0.maxLength(this.otherNameMaxLength)]),visibility:new t.hs(this.otherNamesDefaultVisibility)})),this.otherNames.push({putCode:"new-"+this.addedOtherNameCount,visibility:{visibility:this.otherNamesDefaultVisibility}}),this.addedOtherNameCount++,this._changeDetectorRef.detectChanges(),this.inputs.last.nativeElement.focus()}deleteOtherName(Se){const pt=this.otherNames.findIndex(Ge=>Ge.putCode===Se);this.otherNames.splice(pt,1),this.namesForm.removeControl(Se)}toGivenNames(){this.window.document.getElementById("given-names").scrollIntoView()}toPublishedName(){this.window.document.getElementById("published-name").scrollIntoView()}toVisibility(){this.window.document.getElementById("visibility").scrollIntoView()}toAlsoKnownAs(){this.window.document.getElementById("also-known-as").scrollIntoView()}ngOnDestroy(){this.$destroy.next(!0),this.$destroy.unsubscribe()}static{this.\u0275fac=function(pt){return new(pt||Be)(O.rXU(D.jf),O.rXU(E.Z),O.rXU(u.k),O.rXU(u.e),O.rXU(se.DL),O.rXU(Y.d),O.rXU(ne.$),O.rXU(L.gRc),O.rXU(U.z))}}static{this.\u0275cmp=O.VBU({type:Be,selectors:[["app-modal-name"]],viewQuery:function(pt,Ge){if(1&pt&&O.GBs(T,5),2&pt){let bt;O.mGM(bt=O.lsd())&&(Ge.inputs=bt)}},standalone:!1,decls:95,vars:45,consts:()=>{let Se,pt,Ge,bt,me,J,R,x,ce,Pe,pe,st,Qe,At,Ne,ze,Ke,Ct,Wt,ln,Rn,Dn,Gn,Yn,ui,ti,$t,it;return Se=" Names ",pt=" Your names ",Ge=" Also known as ",bt=" Save changes ",me=" Cancel ",J=" Your names ",R=" ORCID has a
3number of options for adding and managing your names. ",x=" Find out more about managing names in your ORCID record ",ce=" Your given and family names ",Pe="Given names",pe="Family names",st=" Your published name ",Qe=" How you prefer your name to appear when credited. Adding a published name lets you control how your name is displayed in your ORCID record. ",At="Published name",Ne=" Who can see your names ",ze=" Also known as ",Ke=" Add other names you may be known by. These can include abbreviated names, middle names, former names or names in a different character set or language. Adding other names can help people find your record when they search the ORCID registry. ",Ct="Required information",Wt=" Please enter your given names ",ln=" Invalid name characters or format ",Rn=" Must be less than 100 characters ",Dn=" Please enter your given names ",Gn=" Invalid name characters or format ",Yn=" Must be less than 100 characters ",ui=" Must be less than 100 characters ",ti=" Must be less than 255 characters ",$t=" Add other name ",it=" Add another name ",[["nameInput",""],Se,pt,Ge,bt,me,J,R,x,ce,Pe,pe,st,Qe,At,Ne,ze,Ke,Ct,Wt,ln,Rn,Dn,Gn,Yn,ui,ti,$t,it,[3,"loading"],[3,"closeLabel"],["id","side-bar-title"],[1,"side-bar",3,"click"],["id","side-bar-url-1"],["mat-raised-button","","color","primary","id","save-names-button",3,"click"],["mat-stroked-button","","color","primary","id","cancel-names-button",3,"click"],[3,"ngSubmit","formGroup"],["id","given-names"],[1,"title",3,"ngClass"],[1,"row"],[1,"orc-font-body-large"],["class","required",4,"ngIf"],["class","required-information mat-caption",4,"ngIf"],[1,"orc-font-body-small","orcid-has-number"],["rel","noopener noreferrer","target","_blank","href","https://support.orcid.org/hc/en-us/articles/360006973853-Add-and-edit-your-name-on-your-ORCID-record",1,"underline","orc-font-body-small"],[1,"title"],[1,"your-given-names","orc-font-body"],["for","given-names-input",1,"mat-caption",3,"ngClass"],[1,"required"],[1,"input-container"],["appearance","outline",1,"mat-form-field-min"],["id","given-names-input","matInput","","formControlName","givenNames",3,"placeholder"],["class","mat-caption",4,"ngIf"],[4,"ngIf"],["for","family-names-input",1,"mat-caption"],["id","family-names-input","matInput","","formControlName","familyName",3,"placeholder"],["id","published-name",1,"title"],[1,"orc-font-body"],[1,"orc-font-body-small"],["for","published-names-input",1,"mat-caption"],["id","published-names-input","matInput","","formControlName","publishedName",3,"placeholder"],["id","visibility",1,"title"],[1,"row","names-visibility"],[1,"col","no-wrap","actions-wrapper","no-gutters"],["formControlName","visibility",3,"ariaLabelPrivate","ariaLabelPublic","ariaLabelTrustedParty","itemTitle"],["id","also-known-as"],[3,"ngClass"],["role","button","id","add-link","tabindex","0",1,"col","add-more","no-gutters",3,"click"],[1,"large-material-icon"],[1,"mat-subtitle-2"],[1,"required-information","mat-caption"],[1,"mat-caption"],["id","otherName-dropList","cdkDropList","",1,"row","other-names-list",3,"cdkDropListDropped"],["cdkDrag","","class","row other-names-box",3,"formGroupName",4,"ngFor","ngForOf"],["cdkDrag","",1,"row","other-names-box",3,"formGroupName"],["class","row drag-placeholder",4,"cdkDragPlaceholder"],[1,"row","other-names-input-line",3,"ngClass"],[1,"col","l12","m8","s4","top","no-wrap","no-gutters","input-container"],["cdkDragHandle","","src","./assets/vectors/draggable.svg","role","none",1,"icon-drag"],["appearance","outline",1,"three-line-hint"],["id","alternative-names-input","matInput","","formControlName","otherName",3,"placeholder"],[1,"col","no-wrap","actions-wrapper","no-gutters","actions-wrapper-last",3,"ngClass"],["formControlName","visibility",3,"ngClass","ariaLabelPrivate","ariaLabelPublic","ariaLabelTrustedParty","itemTitle"],["id","delete-button","mat-icon-button","",3,"click"],[1,"material-icons-outlined","extra-large-material-icon"],[1,"dashed-line"],[1,"row","drag-placeholder"],[3,"createdDate","source","assertion"]]},template:function(pt,Ge){1&pt&&(O.j41(0,"app-modal",29)(1,"app-modal-header",30),O.qex(2),O.pXf(3,1),O.bVm(),O.k0s(),O.j41(4,"app-modal-side-bar"),O.qex(5,31),O.j41(6,"a",32),O.bIt("click",function(){return Ge.toGivenNames()}),O.pXf(7,2),O.k0s(),O.bVm(),O.qex(8,33),O.j41(9,"a",32),O.bIt("click",function(){return Ge.toAlsoKnownAs()}),O.pXf(10,3),O.k0s(),O.bVm(),O.k0s(),O.j41(11,"app-modal-footer")(12,"button",34),O.bIt("click",function(){return Ge.saveEvent()}),O.pXf(13,4),O.k0s(),O.j41(14,"button",35),O.bIt("click",function(){return Ge.closeEvent()}),O.pXf(15,5),O.k0s()(),O.j41(16,"form",36),O.bIt("ngSubmit",function(){return Ge.onSubmit()}),O.j41(17,"section",37)(18,"div",38)(19,"div",39)(20,"h2",40),O.qex(21),O.pXf(22,6),O.bVm(),O.DNE(23,ie,2,0,"span",41),O.k0s(),O.DNE(24,Ce,5,0,"p",42),O.k0s()(),O.nrm(25,"hr"),O.j41(26,"p",43),O.pXf(27,7),O.k0s(),O.j41(28,"a",44),O.pXf(29,8),O.k0s(),O.j41(30,"div",45)(31,"h3",46),O.pXf(32,9),O.k0s()(),O.j41(33,"div",39)(34,"label",47)(35,"strong"),O.pXf(36,10),O.k0s(),O.j41(37,"span",48),O.EFF(38,"*"),O.k0s()()(),O.j41(39,"div",49)(40,"mat-form-field",50),O.nrm(41,"input",51),O.DNE(42,Ue,2,0,"mat-error",52)(43,nt,2,0,"mat-error",53)(44,we,2,0,"mat-error",53),O.k0s()(),O.j41(45,"div",39)(46,"label",54)(47,"strong"),O.pXf(48,11),O.k0s()()(),O.j41(49,"div",49)(50,"mat-form-field",50),O.nrm(51,"input",55),O.DNE(52,at,2,0,"mat-error",52)(53,Xe,2,0,"mat-error",53)(
354,et,2,0,"mat-error",53),O.k0s()(),O.j41(55,"div",56)(56,"h3",57),O.pXf(57,12),O.k0s()(),O.j41(58,"p",58),O.pXf(59,13),O.k0s(),O.j41(60,"div",39)(61,"label",59)(62,"strong"),O.pXf(63,14),O.k0s()()(),O.j41(64,"div",49)(65,"mat-form-field",50),O.nrm(66,"input",60),O.DNE(67,xe,2,0,"mat-error",53),O.k0s()(),O.j41(68,"div",61)(69,"h3",57),O.pXf(70,15),O.k0s()(),O.j41(71,"p",58),O.EFF(72),O.j41(73,"strong"),O.EFF(74),O.nI1(75,"visibilityStringLabel"),O.k0s(),O.EFF(76,". "),O.k0s(),O.j41(77,"div",62)(78,"div",63),O.nrm(79,"app-visibility-selector",64),O.k0s()()(),O.j41(80,"section",65)(81,"div",45)(82,"h2",66),O.pXf(83,16),O.k0s()(),O.nrm(84,"hr"),O.j41(85,"p",58),O.pXf(86,17),O.k0s(),O.DNE(87,ae,3,1,"ng-container",53),O.j41(88,"div",39)(89,"a",67),O.bIt("click",function(){return Ge.addOtherName()}),O.j41(90,"mat-icon",68),O.EFF(91,"add_circle_outline"),O.k0s(),O.j41(92,"span",69),O.DNE(93,X,2,0,"ng-container",53)(94,$,2,0,"ng-container",53),O.k0s()()()()()()),2&pt&&(O.Y8G("loading",Ge.loadingNames),O.R7$(),O.Y8G("closeLabel",Ge.closeAriaLabel),O.R7$(11),O.BMQ("aria-label",Ge.saveAriaLabel),O.R7$(2),O.BMQ("aria-label",Ge.cancelAriaLabel),O.R7$(2),O.Y8G("formGroup",Ge.namesForm),O.R7$(2),O.Y8G("ngClass",O.l_i(37,I,!Ge.platform.columns12,Ge.platform.columns12)),O.R7$(5),O.Y8G("ngIf",!Ge.platform.columns12),O.R7$(),O.Y8G("ngIf",Ge.platform.columns12),O.R7$(10),O.Y8G("ngClass",O.eq3(40,w,null==Ge.namesForm?null:Ge.namesForm.hasError("required","givenNames"))),O.R7$(7),O.Y8G("placeholder",O.VkB(" ",Ge.ngOrcidAddGivenName)),O.BMQ("aria-label",Ge.inputGivenNamesAriaLabel),O.R7$(),O.Y8G("ngIf",null==Ge.namesForm?null:Ge.namesForm.get("givenNames").hasError("required")),O.R7$(),O.Y8G("ngIf",null==Ge.namesForm?null:Ge.namesForm.get("givenNames").hasError("illegalName")),O.R7$(),O.Y8G("ngIf",null==Ge.namesForm?null:Ge.namesForm.get("givenNames").hasError("maxlength")),O.R7$(7),O.Y8G("placeholder",O.VkB(" ",Ge.ngOrcidAddFamilyName)),O.BMQ("aria-label",Ge.inputFamilyNamesAriaLabel),O.R7$(),O.Y8G("ngIf",null==Ge.namesForm?null:Ge.namesForm.get("familyName").hasError("required")),O.R7$(),O.Y8G("ngIf",null==Ge.namesForm?null:Ge.namesForm.get("familyName").hasError("illegalName")),O.R7$(),O.Y8G("ngIf",null==Ge.namesForm?null:Ge.namesForm.get("familyName").hasError("maxlength")),O.R7$(12),O.Y8G("placeholder",O.VkB(" ",Ge.ngOrcidAddPublishedName)),O.BMQ("aria-label",Ge.inputPublishedNamesAriaLabel),O.R7$(),O.Y8G("ngIf",null==Ge.namesForm?null:Ge.namesForm.get("publishedName").hasError("maxlength")),O.R7$(5),O.SpI(" ",Ge.ngOrcidDefaultVisibilityLabel," "),O.R7$(2),O.JRh(O.bMT(75,35,Ge.publicVisibility)),O.R7$(5),O.Y8G("ariaLabelPrivate",Ge.visibilityOtherNamesPrivateAriaLabel)("ariaLabelPublic",Ge.visibilityOtherNamesPublicAriaLabel)("ariaLabelTrustedParty",Ge.visibilityOtherNamesTrustedPartyAriaLabel)("itemTitle",Ge.ariaLabelYourNames),O.R7$(3),O.Y8G("ngClass",O.l_i(42,I,!Ge.platform.columns12,Ge.platform.columns12)),O.R7$(5),O.Y8G("ngIf",(null==Ge.otherNames?null:Ge.otherNames.length)>0),O.R7$(6),O.Y8G("ngIf",0===(null==Ge.otherNames?null:Ge.otherNames.length)),O.R7$(),O.Y8G("ngIf",0!==(null==Ge.otherNames?null:Ge.otherNames.length)))},styles:["input[_ngcontent-%COMP%]{border:solid 1px #e3e3e3}[_ngcontent-%COMP%]::placeholder{color:#707070}[_ngcontent-%COMP%]:-ms-input-placeholder{color:#707070}.error[_ngcontent-%COMP%], .required[_ngcontent-%COMP%]{color:#d32f2f}input.mat-mdc-input-element[_ngcontent-%COMP%]{border:transparent;font-size:16px!important}","[_nghost-%COMP%]{width:100%}label[_ngcontent-%COMP%]{margin:6px 0 3px}hr.dashed-line[_ngcontent-%COMP%]{margin-bottom:0!important}h2[_ngcontent-%COMP%], h3[_ngcontent-%COMP%]{margin:6px 0} .columns-4-or-8 .mat-mdc-form-field{width:100%;margin-inline-end:auto}.other-names-list.cdk-drop-list-dragging[_ngcontent-%COMP%] .other-names-box[_ngcontent-%COMP%]:not(.cdk-drag-placeholder){transition:transform .25s cubic-bezier(0,0,.2,1)}.required[_ngcontent-%COMP%]{margin-left:3px}.required-information[_ngcontent-%COMP%]{margin-left:auto!important;margin-top:10px!important}.required-information[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{margin-right:3px!important}.input-container[_ngcontent-%COMP%]{max-width:402px}.names-visibility[_ngcontent-%COMP%]{margin-bottom:18px}.other-names-input-line[_ngcontent-%COMP%]{margin-top:20px}.other-names-input-line[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{margin-top:6px;cursor:move;z-index:1;margin-inline-end:18px}.other-names-input-line[_ngcontent-%COMP%] .input-container[_ngcontent-%COMP%]{max-width:366px}.other-names-input-line[_ngcontent-%COMP%] .privacy[_ngcontent-%COMP%]{width:100%}.other-names-input-line[_ngcontent-%COMP%] .privacy[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{margin-left:auto}.other-names-input-line[_ngcontent-%COMP%] .selector[_ngcontent-%COMP%]{margin:0!important}.icon-drag[_ngcontent-%COMP%]{height:32px;margin:4px}.actions-wrapper[_ngcontent-%COMP%]{flex-wrap:nowrap}.mat-mdc-form-field[_ngcontent-%COMP%]{width:100%}.title[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:6px 0}.title[_ngcontent-%COMP%] .your-given-names[_ngcontent-%COMP%]{margin-bottom:10px}label.mat-caption[_ngcontent-%COMP%]{margin-bottom:8px}.mat-mdc-form-field[_ngcontent-%COMP%]{padding:0!important}.input-box[_ngcontent-%COMP%]{flex-grow:1}.input-box[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{width:100%;height:40px;margin:4px 0;border-width:1px;border-style:solid;padding:0 12px}hr[_ngcontent-%COMP%]{margin-bottom:16px}.family-names[_ngcontent-%COMP%]{margin-top:18px}
3.delete[_ngcontent-%COMP%]{margin-left:auto}.other-names-wrapper[_ngcontent-%COMP%]{margin:20px 0 30px}.orcid-has-number[_ngcontent-%COMP%]{margin-bottom:0}.add-more[_ngcontent-%COMP%]{margin-top:16px}.add-more[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{margin:auto;padding-left:6px} .mat-mdc-form-field-hint-wrapper{margin-top:4px}.side-bar[_ngcontent-%COMP%]{text-decoration:underline} .columns-4-or-8 .other-names-input-line .input-container{padding-bottom:30px} .columns-4-or-8 .other-names-input-line .actions-wrapper{padding-bottom:10px;justify-content:space-between} .columns-4-or-8 .actions-wrapper{width:100%} .columns-4-or-8 .columns-4-or-8 .cdk-drag-placeholder{opacity:0}.actions-wrapper-last[_ngcontent-%COMP%] app-visibility-selector[_ngcontent-%COMP%]{margin-inline-end:16px;margin-inline-start:16px}.actions-wrapper-last[_ngcontent-%COMP%] app-visibility-selector[_ngcontent-%COMP%] .mat-mdc-icon-button[_ngcontent-%COMP%]{top:-3px}"]})}}return Be})()},22458:(qe,ee,o)=>{"use strict";o.d(ee,{x:()=>u});var a=o(2615),t=o(34991);let u=(()=>{class M{constructor(r){this._liveAnnouncer=r,this.youAreOnPageLabel="You are on page",this.ofLabel="of",this.thereAreLabel="There are",this.onEachPageLabel="on each page",this.showingLabel="Showing",this.oneTrustFocusAnnouncement="Cookie consent dialog opened"}liveAnnouncePagination(r,_){const h=this.youAreOnPageLabel+" "+(r.pageIndex+1)+" "+this.ofLabel+" "+Math.ceil(r.length/r.pageSize)+". "+this.thereAreLabel+" "+r.pageSize+" "+_+" "+this.onEachPageLabel+". "+this.showingLabel+" "+(r.pageIndex+1!==Math.ceil(r.length/r.pageSize)?r.pageSize:r.length%r.pageSize)+" "+this.ofLabel+" "+r.length+" "+_;this.lastAnnouncement!==h&&(this.lastAnnouncement=h,this.liveAnnounce(h))}liveAnnounce(r){runtimeEnvironment.debugger&&console.debug("\u{1f4e2}"+r),this._liveAnnouncer.announce(r,"assertive")}static{this.\u0275fac=function(_){return new(_||M)(a.KVO(t.L))}}static{this.\u0275prov=a.jDH({token:M,factory:M.\u0275fac,providedIn:"root"})}}return M})()},22816:(qe,ee,o)=>{"use strict";o.d(ee,{S:()=>M});var a=o(39974),t=o(54360);function M(v,r){return(0,a.N)(function u(v,r,_,h,C){return(b,D)=>{let f=_,O=r,d=0;b.subscribe((0,t._)(D,L=>{const E=d++;O=f?v(O,L,E):(f=!0,L),h&&D.next(O)},C&&(()=>{f&&D.next(O),D.complete()})))}}(v,r,arguments.length>=2,!0))}},22846:(qe,ee,o)=>{"use strict";o.d(ee,{Z:()=>se});var a=o(29330),t=o(84412),u=o(92771),M=o(7673),v=o(99437),r=o(88141),_=o(25558),h=o(96354),C=o(70980),b=o(67376),D=o(21495),f=o(2615),O=o(56846),d=o(7201);let L=(()=>{class Y{constructor(){this.expectedUiOrderGroups=[],this.expectedUiOrderGroups[d.M5.EMPLOYMENT]=[d.mX.EMPLOYMENT],this.expectedUiOrderGroups[d.M5.EDUCATION_AND_QUALIFICATION]=[d.mX.EDUCATION,d.mX.QUALIFICATION],this.expectedUiOrderGroups[d.M5.INVITED_POSITION_AND_DISTINCTION]=[d.mX.INVITED_POSITION,d.mX.DISTINCTION],this.expectedUiOrderGroups[d.M5.MEMBERSHIP_AND_SERVICE]=[d.mX.MEMBERSHIP,d.mX.SERVICE,d.mX.EDITORIAL_SERVICE]}transform(U,T){if(U?.affiliationGroups){const I=U.affiliationGroups[d.mX.SERVICE];if(I?.length>0){const w=[],Z=[];for(const N of I)if(N.externalIdentifiers?.some(H=>"issn"===H.externalIdentifierType.value)){N.affiliationType=d.mX.EDITORIAL_SERVICE;for(const H of N.affiliations)H.affiliationType&&(H.affiliationType.value=d.pw["editorial-service"]);Z.push(N)}else w.push(N);U.affiliationGroups[d.mX.SERVICE]=w,U.affiliationGroups[d.mX.EDITORIAL_SERVICE]=Z}}return Object.keys(U.affiliationGroups).length?Object.keys(this.expectedUiOrderGroups).map(I=>({type:I,affiliationGroup:this.expectedUiOrderGroups[I].map(w=>Object.keys(U.affiliationGroups).filter(Z=>Z===w).map(Z=>U.affiliationGroups[Z])).reduce((w,Z)=>w.concat(Z),[]).reduce((w,Z)=>w.concat(Z),[])})):[]}static{this.\u0275fac=function(T){return new(T||Y)}}static{this.\u0275prov=f.jDH({token:Y,factory:Y.\u0275fac,providedIn:"root"})}}return Y})();var E=o(75620);let se=(()=>{class Y{get $loading(){return this._$loading.asObservable()}constructor(U,T,I,w){this._http=U,this._errorHandler=T,this._affiliationsGroupingService=I,this._affiliationsSortService=w,this.headers=new a.Lr({"Access-Control-Allow-Origin":"*"}),this._$loading=new t.t(!0)}getAffiliations(U={forceReload:!1}){if(this.$affiliations){if(!U.forceReload)return this.$affiliations}else this.$affiliations=new u.m(1);return U.cleanCacheIfExist&&this.$affiliations&&this.$affiliations.next(void 0),this._$loading.next(!0),this.getGroupAndSortAffiliations(U).pipe((0,v.W)(T=>this._errorHandler.handleError(T)),(0,v.W)(()=>(0,M.of)([])),(0,r.M)(T=>{this._$loading.next(!1),this.lastEmittedValue=(0,b.cloneDeep)(T),this.$affiliations.next(T)})).subscribe(),this.$affiliations.asObservable()}
3getAffiliationsDetails(U,T,I){return this.getAffiliationDetails(T,U,I).pipe((0,r.M)(w=>{w&&w.url&&w.url.value&&this.lastEmittedValue.forEach(Z=>{Z.affiliationGroup.map(N=>{N.affiliations.map(oe=>{oe.affiliationType.value===U&&oe.putCode.value===T&&(oe.url.value=w.url.value)})})}),this.$affiliations.next(this.lastEmittedValue)}),(0,_.n)(()=>this.$affiliations.asObservable()))}getAffiliationDetails(U,T,I){return this._http.get(runtimeEnvironment.API_WEB+`${I?.publicRecordId?I?.publicRecordId+"/":"affiliations/"}affiliationDetails.json?id=${U}&type=${T}`).pipe((0,v.W)(w=>this._errorHandler.handleError(w)))}getGroupAndSortAffiliations(U){return U.publicRecordId?this._http.get(runtimeEnvironment.API_WEB+`${U.publicRecordId}/affiliationGroups.json`).pipe((0,h.T)(T=>this._affiliationsGroupingService.transform(T)),(0,h.T)(T=>this._affiliationsSortService.transform(T)),(0,v.W)(T=>this._errorHandler.handleError(T))):this._http.get(runtimeEnvironment.API_WEB+"affiliations/affiliationGroups.json").pipe((0,h.T)(T=>this._affiliationsGroupingService.transform(T)),(0,h.T)(T=>this._affiliationsSortService.transform(T)),(0,v.W)(T=>this._errorHandler.handleError(T)))}changeUserRecordContext(U,T){const I=this.lastEmittedValue.find(N=>"PROFESSIONAL_ACTIVITIES"===N.type),w=[...(0,D.rs)(this.lastEmittedValue,"INVITED_POSITION_AND_DISTINCTION").affiliationGroup,...(0,D.rs)(this.lastEmittedValue,"MEMBERSHIP_AND_SERVICE").affiliationGroup];I?I.affiliationGroup=w:this.lastEmittedValue.push({type:"PROFESSIONAL_ACTIVITIES",affiliationGroup:w});const Z=this._affiliationsSortService.transform(this.lastEmittedValue,U,T);this.lastEmittedValue=(0,b.cloneDeep)(Z),this.$affiliations.next(Z)}postAffiliation(U){return this._http.post(runtimeEnvironment.API_WEB+"affiliations/affiliation.json",U,{headers:this.headers}).pipe((0,v.W)(T=>this._errorHandler.handleError(T)),(0,r.M)(()=>this.getAffiliations({forceReload:!0})))}getOrganization(U){return U.length>2?this._http.get(runtimeEnvironment.API_WEB+"affiliations/disambiguated/name/"+U+"?limit=100",{headers:this.headers}).pipe((0,v.W)(T=>this._errorHandler.handleError(T))):(0,M.of)([])}getOrganizationDisambiguated(U){return this._http.get(runtimeEnvironment.API_WEB+"affiliations/disambiguated/id/"+U,{headers:this.headers}).pipe((0,v.W)(T=>this._errorHandler.handleError(T)))}updateVisibility(U,T){return this._http.get(runtimeEnvironment.API_WEB+"affiliations/"+U+"/visibility/"+T).pipe((0,v.W)(I=>this._errorHandler.handleError(I)),(0,r.M)(()=>this.getAffiliations({forceReload:!0})))}delete(U){return this._http.delete(runtimeEnvironment.API_WEB+"affiliations/affiliation.json?id="+encodeURIComponent(U)).pipe((0,v.W)(T=>this._errorHandler.handleError(T)),(0,r.M)(()=>this.getAffiliations({forceReload:!0})))}updatePreferredSource(U){return this._http.get(runtimeEnvironment.API_WEB+"affiliations/updateToMaxDisplay.json?putCode="+U).pipe((0,v.W)(T=>this._errorHandler.handleError(T)),(0,r.M)(()=>this.getAffiliations({forceReload:!0})))}updateFeatured(U,T){const I=T?U.putCode.value:"",w=(0,b.cloneDeep)(this.lastEmittedValue);return this.lastEmittedValue&&this.$affiliations&&(this.lastEmittedValue.forEach(Z=>{Z.affiliationGroup?.forEach(N=>{N.affiliations?.forEach(oe=>{"employment"===oe.affiliationType?.value&&(oe.featured=T&&oe.putCode?.value===U.putCode.value)})})}),this.$affiliations.next(this.lastEmittedValue)),this._$loading.next(!0),this._http.put(runtimeEnvironment.API_WEB+"affiliations/featuredAffiliation.json",{putCode:I},{headers:this.headers}).pipe((0,v.W)(Z=>(w&&this.$affiliations&&(this.lastEmittedValue=w,this.$affiliations.next(this.lastEmittedValue)),this._errorHandler.handleError(Z))),(0,r.M)(()=>this.getAffiliations({forceReload:!0})),(0,C.j)(()=>this._$loading.next(!1)))}getEmployments(){return this._http.get(runtimeEnvironment.API_WEB+"affiliations/employments.json",{headers:this.headers}).pipe((0,v.W)(U=>this._errorHandler.handleError(U)))}static{this.\u0275fac=function(T){return new(T||Y)(f.KVO(a.Qq),f.KVO(O.c),f.KVO(L),f.KVO(E.$))}}static{this.\u0275prov=f.jDH({token:Y,factory:Y.\u0275fac,providedIn:"root"})}}return Y})()},23137:(qe,ee,o)=>{"use strict";o.d(ee,{GG:()=>b,jf:()=>M});var a=o(60177),t=o(2615),u=o(73664);const M=new t.nKC("WindowToken");class v{get nativeWindow(){throw new Error("Not implemented.")}}const b=[{provide:v,useClass:(()=>{class D extends v{constructor(){window.outOfRouterNavigation||(window.outOfRouterNavigation=O=>{try{"function"==typeof window.orcidForceRumHarvest&&window.orcidForceRumHarvest()}catch{}window.setTimeout(()=>{window.location.href=O},300)}),super()}get nativeWindow(){return window}
3static{this.\u0275fac=function(d){return new(d||D)}}static{this.\u0275prov=t.jDH({token:D,factory:D.\u0275fac})}}return D})()},{provide:M,useFactory:function _(D,f){return(0,a.UE)(f)?D.nativeWindow:new Object},deps:[v,u.Agw]}]},23294:(qe,ee,o)=>{"use strict";o.d(ee,{F:()=>M});var a=o(33669),t=o(39974),u=o(54360);function M(r,_=a.D){return r=r??v,(0,t.N)((h,C)=>{let b,D=!0;h.subscribe((0,u._)(C,f=>{const O=_(f);(D||!r(b,O))&&(D=!1,b=O,C.next(f))}))})}function v(r,_){return r===_}},23597:(qe,ee,o)=>{"use strict";o.d(ee,{EW:()=>f,QZ:()=>d,O8:()=>D}),o(10467);var t=o(2615),u=o(48440);function D(xe){return function h(xe){const De=(0,u.Ht)(null);try{return xe()}finally{(0,u.Ht)(De)}}(xe)}function f(xe,De){return(0,u.KZ)(xe,De?.equal)}class O{[u.bh];constructor(De){this[u.bh]=De}destroy(){this[u.bh].destroy()}}function d(xe,De){const ue=De?.injector??(0,t.WQX)(t.zZn);let de,z=!0!==De?.manualCleanup?ue.get(t.abz):null;const ae=ue.get(t.r4V,null,{optional:!0}),X=ue.get(t.hk6);return null!==ae?(de=function Y(xe,De,ue){const z=Object.create(se);return z.view=xe,z.zone=typeof Zone<"u"?Zone.current:null,z.notifier=De,z.fn=ue,xe[t.tQN]??=new Set,xe[t.tQN].add(z),z.consumerMarkedDirty(z),z}(ae.view,X,xe),z instanceof t.KXn&&z._lView===ae.view&&(z=null)):de=function ne(xe,De,ue){const z=Object.create(E);return z.fn=xe,z.scheduler=De,z.notifier=ue,z.zone=typeof Zone<"u"?Zone.current:null,z.scheduler.add(z),z.notifier.notify(12),z}(xe,ue.get(t.VML),X),de.injector=ue,null!==z&&(de.onDestroyFn=z.onDestroy(()=>de.destroy())),new O(de)}const L={...u.pL,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,hasRun:!1,cleanupFns:void 0,zone:null,kind:"effect",onDestroyFn:t.lQ1,run(){if(this.dirty=!1,this.hasRun&&!(0,u.si)(this))return;this.hasRun=!0;const xe=z=>(this.cleanupFns??=[]).push(z),De=(0,u.Bg)(this),ue=(0,t.cBl)(!1);try{this.maybeCleanup(),this.fn(xe)}finally{(0,t.cBl)(ue),(0,u.Wu)(this,De)}},maybeCleanup(){if(!this.cleanupFns?.length)return;const xe=(0,u.Ht)(null);try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[],(0,u.Ht)(xe)}}},E={...L,consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){(0,u.XR)(this),this.onDestroyFn(),this.maybeCleanup(),this.scheduler.remove(this)}},se={...L,consumerMarkedDirty(){this.view[t.Wg1]|=8192,(0,t.blu)(this.view),this.notifier.notify(13)},destroy(){(0,u.XR)(this),this.onDestroyFn(),this.maybeCleanup(),this.view[t.tQN]?.delete(this)}};Error,Error},23768:(qe,ee,o)=>{"use strict";o.d(ee,{M:()=>d,a:()=>O});var a=o(73664),t=o(2615),u=o(17705),M=o(55042),v=o(41560),r=o(12194),_=o(7218),h=o(18107);const C=["mat-icon-button",""],b=["*"],D=new t.nKC("MAT_BUTTON_CONFIG");function f(E){return null==E?void 0:(0,u.Udg)(E)}let O=(()=>{class E{_elementRef=(0,t.WQX)(a.aKT);_ngZone=(0,t.WQX)(a.SKi);_animationsDisabled=(0,h._)();_config=(0,t.WQX)(D,{optional:!0});_focusMonitor=(0,t.WQX)(M.F);_cleanupClick;_renderer=(0,t.WQX)(a.sFG);_rippleLoader=(0,t.WQX)(r.M);_isAnchor;_isFab=!1;color;get disableRipple(){return this._disableRipple}set disableRipple(Y){this._disableRipple=Y,this._updateRippleDisabled()}_disableRipple=!1;get disabled(){return this._disabled}set disabled(Y){this._disabled=Y,this._updateRippleDisabled()}_disabled=!1;ariaDisabled;disabledInteractive;tabIndex;set _tabindex(Y){this.tabIndex=Y}constructor(){(0,t.WQX)(v._).load(_._);const Y=this._elementRef.nativeElement;this._isAnchor="A"===Y.tagName,this.disabledInteractive=this._config?.disabledInteractive??!1,this.color=this._config?.color??null,this._rippleLoader?.configureRipple(Y,{className:"mat-mdc-button-ripple"})}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0),this._isAnchor&&this._setupAsAnchor()}ngOnDestroy(){this._cleanupClick?.(),this._focusMonitor.stopMonitoring(this._elementRef),this._rippleLoader?.destroyRipple(this._elementRef.nativeElement)}focus(Y="program",ne){Y?this._focusMonitor.focusVia(this._elementRef.nativeElement,Y,ne):this._elementRef.nativeElement.focus(ne)}_getAriaDisabled(){return null!=this.ariaDisabled?this.ariaDisabled:this._isAnchor?this.disabled||null:!(!this.disabled||!this.disabledInteractive)||null}_getDisabledAttribute(){return!(this.disabledInteractive||!this.disabled)||null}_updateRippleDisabled(){this._rippleLoader?.setDisabled(this._elementRef.nativeElement,this.disableRipple||this.disabled)}_getTabIndex(){return this._isAnchor&&this.disabled&&!this.disabledInteractive?-1:this.tabIndex}_setupAsAnchor(){this._cleanupClick=this._ngZone.runOutsideAngular(()=>this._renderer.listen(this._elementRef.nativeElement,"click",Y=>{this.disabled&&(Y.preventDefault(),Y.stopImmediatePropagation())}))}static \u0275fac=function(ne){return new(ne||E)};static \u0275dir=a.FsC({type:E,hostAttrs:[1,"mat-mdc-button-base"],hostVars:13,hostBindings:function(ne,U){2&ne&&(a.BMQ("disabled",U._getDisabledAttribute())("aria-disabled",U._getAriaDisabled())("tabindex",U._getTabIndex()),a.HbH(U.color?"mat-"+U.color:""),a.AVh("mat-mdc-button-disabled",U.disabled)("mat-mdc-button-disabled-interactive",U.disabledInteractive)("mat-unthemed",!U.color)("_mat-animation-noopable",U._animationsDisabled))},inputs:{color:"color",disableRipple:[2,"disableRipple","disableRipple",u.L39],disabled:[2,"disabled","disabled",u.L39],ariaDisabled:[2,"aria-disabled","ariaDisabled",u.L39],disabledInteractive:[2,"disabledInteractive","disabledInteractive",u.L39],tabIndex:[2,"tabIndex","tabIndex",f],_tabindex:[2,"tabindex","_tabindex",f]}})}return E})(),d=(()=>{class E extends O{constructor(){super(),this._rippleLoader.configureRipple(this._elementRef.nativeElement,{centered:!0})}static \u0275fac=function(ne){return new(ne||E)};static \u0275cmp=a.VBU({type:E,selectors:[["button","mat-icon-button",""],["a","mat-icon-button",""],["button","matIconButton",""],["a","matIconButton",""]],hostAttrs:[1,"mdc-icon-button","mat-mdc-icon-button"],exportAs:["matButton","matAnchor"],features:[a.Vt3],attrs:C,ngContentSelectors:b,decls:4,vars:0,consts:[[1,"mat-mdc-button-persistent-ripple","mdc-icon-button__ripple"],[1,"mat-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(ne,U){1&ne&&(a.NAR(),a.Hgh(0,"span",0),a.SdG(1),a.Hgh(2,"span",1)(3,"span",2))},styles:['.mat-mdc-icon-button{-webkit-user-select:none;user-select:none;display:inline-block;position:relative;box-sizing:border-box;border:none;outline:none;background-color:rgba(0,0,0,0);fill:currentColor;text-decoration:none;cursor:pointer;z-index:0;overflow:visible;border-radius:var(--mat-icon-button-container-shape, var(--mat-sys-corner-full, 50%));flex-shrink:0;text-align:center;width:var(--mat-icon-button-state-layer-size, 40px);height:var(--mat-icon-button-state-layer-size, 40px);padding:calc(calc(var(--mat-icon-button-state-layer-size, 40px) - var(--mat-icon-button-icon-size, 24px)) / 2);font-size:var(--mat-icon-button-icon-size, 24px);color:var(--mat-icon-button-icon-color, var(--mat-sys-on-surface-variant));-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button .mat-mdc-button-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-icon-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}
3.mat-mdc-icon-button .mdc-button__label,.mat-mdc-icon-button .mat-icon{z-index:1;position:relative}.mat-mdc-icon-button .mat-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:inherit}.mat-mdc-icon-button:focus>.mat-focus-indicator::before{content:"";border-radius:inherit}.mat-mdc-icon-button .mat-ripple-element{background-color:var(--mat-icon-button-ripple-color, color-mix(in srgb, var(--mat-sys-on-surface-variant) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-icon-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-icon-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-icon-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-icon-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-icon-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;display:var(--mat-icon-button-touch-target-display, block);left:50%;width:48px;transform:translate(-50%, -50%)}.mat-mdc-icon-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-icon-button[disabled],.mat-mdc-icon-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-icon-button-disabled-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-icon-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-icon-button img,.mat-mdc-icon-button svg{width:var(--mat-icon-button-icon-size, 24px);height:var(--mat-icon-button-icon-size, 24px);vertical-align:baseline}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple{border-radius:var(--mat-icon-button-container-shape, var(--mat-sys-corner-full, 50%))}.mat-mdc-icon-button[hidden]{display:none}.mat-mdc-icon-button.mat-unthemed:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-primary:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-accent:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-warn:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}\n',"@media(forced-colors: active){.mat-mdc-button:not(.mdc-button--outlined),.mat-mdc-unelevated-button:not(.mdc-button--outlined),.mat-mdc-raised-button:not(.mdc-button--outlined),.mat-mdc-outlined-button:not(.mdc-button--outlined),.mat-mdc-button-base.mat-tonal-button,.mat-mdc-icon-button.mat-mdc-icon-button,.mat-mdc-outlined-button .mdc-button__ripple{outline:solid 1px}}\n"],encapsulation:2,changeDetection:0})}return E})()},24394:(qe,ee,o)=>{"use strict";o.d(ee,{C:()=>a});class a{encodeKey(u){return encodeURIComponent(u)}encodeValue(u){return encodeURIComponent(u)}decodeKey(u){return decodeURIComponent(u)}decodeValue(u){return decodeURIComponent(u)}}},24554:function(qe,ee,o){(function(){var a,u,v={}.hasOwnProperty;u=o(79213),a=o(68886),qe.exports=function(r){function _(h,C,b,D,f,O){if(_.__super__.constructor.call(this,h),null==C)throw new Error("Missing DTD element name. "+this.debugInfo());if(null==b)throw new Error("Missing DTD attribute name. "+this.debugInfo(C));if(!D)throw new Error("Missing DTD attribute type. "+this.debugInfo(C));if(!f)throw new Error("Missing DTD attribute default. "+this.debugInfo(C));if(0!==f.indexOf("#")&&(f="#"+f),!f.match(/^(#REQUIRED|#IMPLIED|#FIXED|#DEFAULT)$/))throw new Error("Invalid default value type; expected: #REQUIRED, #IMPLIED, #FIXED or #DEFAULT. "+this.debugInfo(C));if(O&&!f.match(/^(#FIXED|#DEFAULT)$/))throw new Error("Default value only applies to #FIXED or #DEFAULT. "+this.debugInfo(C));this.elementName=this.stringify.name(C),this.type=a.AttributeDeclaration,this.attributeName=this.stringify.name(b),this.attributeType=this.stringify.dtdAttType(D),O&&(this.defaultValue=this.stringify.dtdAttDefault(O)),this.defaultValueType=f}return function(r,_){for(var h in _)v.call(_,h)&&(r[h]=_[h]);function C(){this.constructor=r}C.prototype=_.prototype,r.prototype=new C,r.__super__=_.prototype}(_,r),_.prototype.toString=function(h){return this.options.writer.dtdAttList(this,this.options.writer.filterOptions(h))},_}(u)}).call(this)},25169:function(qe){(function(){qe.exports=function(){function o(a){this.nodes=a}return Object.defineProperty(o.prototype,"length",{get:function(){return this.nodes.length||0}}),o.prototype.clone=function(){return this.nodes=null},o.prototype.item=function(a){return this.nodes[a]||null},o}()}).call(this)},25282:(qe,ee,o)=>{"use strict";o.d(ee,{M:()=>D});var a=o(92771),t=o(61594),u=o(96354),M=o(88141),v=o(99437),r=o(96697),_=o(62415),h=o(2615),C=o(29330
3),b=o(56846);let D=(()=>{class f{constructor(d,L){this._http=d,this._errorHandler=L}getInstitutionsNames(d,L){const E=this.getDiscoFeedInstitutionsNames(d);let se;return L&&L.length>0?(se=E.filter(Y=>(Y=Y.toLowerCase(),L=L.toLocaleLowerCase(),-1!==Y.indexOf(L.toLowerCase()))),se=se.slice(0,runtimeEnvironment.INSTITUTIONAL_AUTOCOMPLETE_DISPLAY_AMOUNT)):se=E,se}getInstitutionBaseOnName(d,L){return d=d.toLowerCase(),L.find(E=>E?.DisplayNames?.find(se=>"en"===se.lang&&se.value.toLocaleLowerCase()===d))}getInstitutionBaseOnID(d){return this.getDiscoFeed().pipe((0,t.$)(),(0,u.T)(L=>this.getInstitutionBaseOnIDFromObject(L,d)))}getInstitutionBaseOnIDFromObject(d,L){return d.find(E=>E?.entityID===L)}getInstitutionNameBaseOnId(d){return this.getInstitutionBaseOnID(d).pipe((0,u.T)(L=>this.getInstitutionNameBaseOnIdFromObject(L)))}getInstitutionNameBaseOnIdFromObject(d){return d?.DisplayNames?.filter(L=>"en"===L.lang).map(L=>L.value)?.[0]}getDiscoFeed(){return this.discoFeedSubject?this.discoFeedSubject.pipe((0,r.s)(1)):(this.discoFeedSubject=ne
3w a.m(1),this._http.get(runtimeEnvironment.BASE_URL+"Shibboleth.sso/DiscoFeed").pipe((0,M.M)(d=>{this.discoFeedSubject.next(d)}),(0,v.W)(d=>this._errorHandler.handleError(d,_.Q.STANDARD_VERBOSE))))}getDiscoFeedInstitutionsNames(d){return this.discoFeedToInstitutionNames(d)}discoFeedToInstitutionNames(d){const L=[];return d.map(E=>E.DisplayNames.filter(se=>"en"===se.lang).map(se=>L.push(se.value))),L}static{this.\u0275fac=function(L){return new(L||f)(h.KVO(C.Qq),h.KVO(b.c))}}static{this.\u0275prov=h.jDH({token:f,factory:f.\u0275fac,providedIn:"root"})}}return f})()},25558:(qe,ee,o)=>{"use strict";o.d(ee,{n:()=>M});var a=o(58750),t=o(39974),u=o(54360);function M(v,r){return(0,t.N)((_,h)=>{let C=null,b=0,D=!1;const f=()=>D&&!C&&h.complete();_.subscribe((0,u._)(h,O=>{C?.unsubscribe();let d=0;const L=b++;(0,a.Tg)(v(O,L)).subscribe(C=(0,u._)(h,E=>h.next(r?r(O,E,L,d++):E),()=>{C=null,f()}))},()=>{D=!0,f()}))})}},25881:(qe,ee,o)=>{"use strict";o.d(ee,{A:()=>t});var a=o(38070);class t extends a.L{setActiveItem(M){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(M),this.activeItem&&this.activeItem.setActiveStyles()}}},26194:(qe,ee,o)=>{"use strict";o.d(ee,{p:()=>u});var a=o(84412),t=o(2615);let u=(()=>{class M{constructor(){this._loadingUserRecord=new a.t(!0),this._loadingRecordHeader=new a.t(!0),this._isPublicRecord=new a.t(null),this._userRecord=new a.t(null),this._affiliations=new a.t(0),this._displaySideBar=new a.t(!1),this._displayBiography=new a.t(!1),this._recordSummaryOpen=new a.t(!1),this._recordSummaryScrollPosition=new a.t(0),this._hasCreditOrOtherNames=new a.t(!1),this.loadingUserRecord$=this._loadingUserRecord.asObservable(),this.loadingRecordHeader$=this._loadingRecordHeader.asObservable(),this.isPublicRecord$=this._isPublicRecord.asObservable(),this.userRecord$=this._userRecord.asObservable(),this.affiliations$=this._affiliations.asObservable(),this.displaySideBar$=this._displaySideBar.asObservable(),this.displayBiography$=this._displayBiography.asObservable(),this.recordSummaryOpen$=this._recordSummaryOpen.asObservable(),this.recordSummaryScrollPosition$=this._recordSummaryScrollPosition.asObservable(),this.hasCreditOrOtherNames$=this._hasCreditOrOtherNames.asObservable()}setLoadingUserRecord(r){this._loadingUserRecord.next(r)}setLoadingRecordHeader(r){this._loadingRecordHeader.next(r)}setIsPublicRecord(r){this._isPublicRecord.next(r)}setUserRecord(r){this._userRecord.next(r)}setAffiliations(r){this._affiliations.next(r)}setDisplaySideBar(r){this._displaySideBar.next(r)}setDisplayBiography(r){this._displayBiography.next(r)}setHasCreditOrOtherNames(r){this._hasCreditOrOtherNames.next(!!r)}setRecordSummaryOpen(r){this._recordSummaryOpen.next(r)}setRecordSummaryScrollPosition(r){this._recordSummaryScrollPosition.next(r)}reset(){this._loadingUserRecord.next(!0),this._loadingRecordHeader.next(!0),this._isPublicRecord.next(null),this._userRecord.next(null),this._affiliations.next(0),this._displaySideBar.next(!1),this._displayBiography.next(!1),this._recordSummaryOpen.next(!1),this._recordSummaryScrollPosition.next(0),this._hasCreditOrOtherNames.next(!1)}static{this.\u0275fac=function(_){return new(_||M)}}static{this.\u0275prov=t.jDH({token:M,factory:M.\u0275fac,providedIn:"root"})}}return M})()},26365:(qe,ee,o)=>{"use strict";o.d(ee,{U:()=>u});var a=o(31397),t=o(33669);function u(M=1/0){return(0,a.Z)(t.D,M)}},26427:(qe,ee,o)=>{"use strict";o.d(ee,{OB:()=>M,SY:()=>b,Zf:()=>h,_v:()=>v,e3:()=>u,gf:()=>d,kB:()=>O,ls:()=>C,lu:()=>t,mC:()=>a,vB:()=>_,w9:()=>r,zH:()=>D,zk:()=>f});var a=function(L){return L.academicPublication="academic-publication",L.reviewAndEditing="review-and-editing",L.other_output="other-output",L.dissemination="dissemination",L.creative="creative",L.dataAndProccesses="data-and-proccesses",L.legalAndIp="legal-and-ip",L.teachingAndSupervision="teaching-and-supervision",L}(a||{}
3),t=function(L){return L.book="book",L.bookChapter="book-chapter",L.bookReview="book-review",L.dictionaryEntry="dictionary-entry",L.dissertationThesis="dissertation-thesis",L.editedBook="edited-book",L.encyclopediaEntry="encyclopedia-entry",L.journalArticle="journal-article",L.journalIssue="journal-issue",L.magazineArticle="magazine-article",L.manual="manual",L.newsletterArticle="newsletter-article",L.newspaperArticle="newspaper-article",L.onlineResource="online-resource",L.preprint="preprint",L.report="report",L.researchTool="research-tool",L.supervisedStudentPublication="supervised-student-publication",L.test="test",L.translation="translation",L.website="website",L.workingPaper="working-paper",L.review="review",L.conferenceAbstract="conference-abstract",L.conferencePaper="conference-paper",L.conferencePoster="conference-poster",L.disclosure="disclosure",L.license="license",L.patent="patent",L.registeredCopyright="registered-copyright",L.trademark="trademark",L.annotation="annotation",L.artisticPerformance="artistic-performance",L.dataManagementPlan="data-management-plan",L.dataSet="data-set",L.invention="invention",L.lectureSpeech="lecture-speech",L.other="other",L.physicalObject="physical-object",L.researchTechnique="research-technique",L.software="software",L.spinOffCompany="spin-off-company",L.standardsAndPolicy="standards-and-policy",L.technicalStandard="technical-standard",L.blogPost="blog-post",L.clinicalStudy="clinical-study",L.cartographicMaterial="cartographic-material",L.conferenceOutput="conference-output",L.conferencePresentation="conference-presentation",L.conferenceProceedings="conference-proceedings",L.design="design",L.image="image",L.learningObject="learning-object",L.movingImage="moving-image",L.musicalComposition="musical-composition",L.sound="sound",L.transcription="transcription",L.publicSpeech="public-speech",L}(t||{});const u={[a.academicPublication]:"Academic publications",[a.reviewAndEditing]:"Review and editing",[a.other_output]:"Other",[a.dissemination]:"Dissemination",[a.creative]:"Creative",[a.dataAndProccesses]:"Data and process",[a.legalAndIp]:"Legal and IP",[a.teachingAndSupervision]:"Teaching and supervision"},M={[t.conferenceAbstract]:"Conference abstract",[t.conferencePaper]:"Conference paper",[t.conferencePoster]:"Conference poster",[t.bookChapter]:"Book chapter",[t.bookReview]:"Book review",[t.book]:"Book",[t.dictionaryEntry]:"Dictionary entry",[t.dissertationThesis]:"Dissertation or Thesis",[t.editedBook]:"Edited book",[t.encyclopediaEntry]:"Encyclopedia entry",[t.journalArticle]:"Journal article",[t.journalIssue]:"Journal issue or edition",[t.magazineArticle]:"Magazine article",[t.manual]:"Manual",[t.newsletterArticle]:"Newsletter article",[t.newspaperArticle]:"Newspaper article",[t.onlineResource]:"Interactive resource",[t.preprint]:"Preprint",[t.report]:"Report",[t.researchTool]:"Research tool",[t.supervisedStudentPublication]:"Supervised student publication",[t.test]:"Test",[t.translation]:"Translation",[t.website]:"Website",[t.workingPaper]:"Working paper",[t.review]:"Review",[t.disclosure]:"Disclosure",[t.license]:"License",[t.patent]:"Patent",[t.registeredCopyright]:"Registered copyright",[t.trademark]:"Trademark",[t.annotation]:"Annotation",[t.artisticPerformance]:"Artistic output or performance",[t.dataManagementPlan]:"Data management plan",[t.dataSet]:"Dataset",[t.invention]:"Invention",[t.lectureSpeech]:"Lecture",[t.physicalObject]:"Physical object",[t.researchTechnique]:"Research protocol or technique",[t.software]:"Software",[t.spinOffCompany]:"Spin off company",[t.standardsAndPolicy]:"Standards or policy",[t.technicalStandard]:"Technical Standard",[t.other]:"Other",[t.blogPost]:"Blog post",[t.clinicalStudy]:"Clinical study",[t.cartographicMaterial]:"Cartographic material",[t.conferenceOutput]:"Conference output",[t.conferencePresentation]:"Conference presentation",[t.conferenceProceedings]:"Conference proceedings",[t.design]:"Design",[t.image]:"Image",[t.learningObject]:"Teaching material",[t.movingImage]:"Moving image or video",[t.musicalComposition]:"Musical composition",[t.sound]:"Sound",[t.transcription]:"Transcription",[t.publicSpeech]:"Talk, interview, podcast or speech"};var v=function(L){return L.publisher="publisher",L.conferenceTitle="conferenceTitle",L.bookTitle="bookTitle",L.journalTitle="journalTitle",L.magazineTitle="magazineTitle",L.newsletterTitle="newsletterTitle",L.newspaperTitle="newspaperTitle",L.institution="institution",
3L.custodian="custodian",L.trademark="trademark",L}(v||{});const r={[v.publisher]:"Publisher",[v.conferenceTitle]:"Conference title",[v.bookTitle]:"Book title",[v.journalTitle]:"Journal title",[v.magazineTitle]:"Magazine title",[v.newsletterTitle]:"Newsletter title",[v.newspaperTitle]:"Newspaper title",[v.institution]:"Institution",[v.custodian]:"Custodian",[v.trademark]:"Trademark"},_={[t.conferenceAbstract]:v.conferenceTitle,[t.conferencePaper]:v.conferenceTitle,[t.conferencePoster]:v.conferenceTitle,[t.book]:v.publisher,[t.bookChapter]:v.bookTitle,[t.bookReview]:v.publisher,[t.dictionaryEntry]:v.publisher,[t.editedBook]:v.publisher,[t.dissertationThesis]:v.journalTitle,[t.encyclopediaEntry]:v.publisher,[t.journalArticle]:v.journalTitle,[t.journalIssue]:v.journalTitle,[t.magazineArticle]:v.magazineTitle,[t.manual]:v.publisher,[t.newsletterArticle]:v.newsletterTitle,[t.newspaperArticle]:v.newspaperTitle,[t.onlineResource]:v.publisher,[t.preprint]:v.journalTitle,[t.report]:v.institution,[t.researchTool]:v.institution,[t.supervisedStudentPublication]:v.institution,[t.test]:v.institution,[t.translation]:v.publisher,[t.website]:v.publisher,[t.workingPaper]:v.institution,[t.disclosure]:v.publisher,[t.license]:v.publisher,[t.patent]:v.publisher,[t.review]:v.publisher,[t.registeredCopyright]:v.publisher,[t.trademark]:v.journalTitle,[t.annotation]:v.custodian,[t.artisticPerformance]:v.publisher,[t.dataManagementPlan]:v.journalTitle,[t.dataSet]:v.publisher,[t.invention]:v.publisher,[t.lectureSpeech]:v.publisher,[t.physicalObject]:v.custodian,[t.researchTechnique]:v.publisher,[t.software]:v.journalTitle,[t.spinOffCompany]:v.publisher,[t.standardsAndPolicy]:v.publisher,[t.technicalStandard]:v.publisher,[t.other]:v.publisher,[t.blogPost]:v.publisher,[t.clinicalStudy]:v.publisher,[t.cartographicMaterial]:v.publisher,[t.conferenceOutput]:v.conferenceTitle,[t.conferencePresentation]:v.conferenceTitle,[t.conferenceProceedings]:v.conferenceTitle,[t.design]:v.publisher,[t.image]:v.publisher,[t.learningObject]:v.publisher,[t.movingImage]:v.publisher,[t.musicalComposition]:v.publisher,[t.sound]:v.publisher,[t.transcription]:v.publisher,[t.publicSpeech]:v.publisher},h={Abkhazian:"ab",Afar:"aa",Afrikaans:"af",Akan:"ak",Albanian:"sq",Amharic:"am",Arabic:"ar",Aragonese:"an",Armenian:"hy",Assamese:"as",Avaric:"av",Avestan:"ae",Aymara:"ay",Azerbaijani:"az",Bambara:"bm",Bangla:"bn",Bashkir:"ba",Basque:"eu",Belarusian:"be",Bihari:"bh",Bislama:"bi",Bosnian:"bs",Breton:"br",Bulgarian:"bg",Burmese:"my",Catalan:"ca",Chamorro:"ch",Chechen:"ce","Chinese (simplified)":"zh_CN","Chinese (traditional)":"zh_TW","Church Slavic":"cu",Chuvash:"cv",Cornish:"kw",Corsican:"co",Cree:"cr",Croatian:"hr",Czech:"cs",Danish:"da",Divehi:"dv",Dutch:"nl",Dzongkha:"dz",English:"en",Esperanto:"eo",Estonian:"et",Ewe:"ee",Faroese:"fo",Fijian:"fj",Finnish:"fi",French:"fr",Fulah:"ff",Galician:"gl",Ganda:"lg",Georgian:"ka",German:"de",Greek:"el",Guarani:"gn",Gujarati:"gu","Haitian Creole":"ht",Hausa:"ha",Hebrew:"iw",Herero:"hz",Hindi:"hi","Hiri Motu":"ho",Hungarian:"hu",Icelandic:"is",Ido:"io",Igbo:"ig",Indonesian:"in",Interlingua:"ia",Interlingue:"ie",Inuktitut:"iu",Inupiaq:"ik",Irish:"ga",Italian:"it",Japanese:"ja",Javanese:"jv",Kalaallisut:"kl",Kannada:"kn",Kanuri:"kr",Kashmiri:"ks",Kazakh:"kk",Khmer:"km",Kikuyu:"ki",Kinyarwanda:"rw",Komi:"kv",Kongo:"kg",Korean:"ko",Kuanyama:"kj",Kurdish:"ku",Kyrgyz:"ky",Lao:"lo",Latin:"la",Latvian:"lv",Limburgish:"li",Lingala:"ln",Lithuanian:"lt","Luba-Katanga":"lu",Luxembourgish:"lb",Macedonian:"mk",Malagasy:"mg",Malay:"ms",Malayalam:"ml",Maltese:"mt",Manx:"gv",Maori:"mi",Marathi:"mr",Marshallese:"mh",Moldavian:"mo",Mongolian:"mn",Nauru:"na",Navajo:"nv",Ndonga:"ng",Nepali:"ne","North Ndebele":"nd","Northern Sami":"se",Norwegian:"no","Norwegian Bokm\xe5l":"nb","Norwegian Nynorsk":"nn",Nyanja:"ny",Occitan:"oc",Odia:"or",Ojibwa:"oj",Oromo:"om",Ossetic:"os",Pali:"pi",Pashto:"ps",Persian:"fa",Polish:"pl",Portuguese:"pt",Punjabi:"pa",Quechua:"qu",Romanian:"ro",Romansh:"rm",Rundi:"rn",Russian:"ru",Samoan:"sm",Sango:"sg",Sanskrit:"sa",Sardinian:"sc","Scottish Gaelic":"gd",Serbian:"sr",Shona:"sn","Sichuan Yi":"ii",Sindhi:"sd",Sinhala:"si",Slovak:"sk",Slovenian:"sl",Somali:"so","South Ndebele":"nr","Southern Sotho":"st",Spanish:"es",Sundanese:"su",Swahili:"sw",Swati:"ss",Swedish:"sv",Tagalog:"tl",Tahitian:"ty",Tajik:"tg",Tamil:"ta",Tatar:"tt",Telugu:"te",Thai:"th",Tibetan:"bo",Tigrinya:"ti",Tongan:"to",Tsonga:"ts",Tswana:"tn",Turkish:"tr",Turkmen:"tk",Twi:"tw",Ukrainian:"uk",Urdu:"ur",Uyghur:"ug",Uzbek:"uz",Venda:"ve",Vietnamese:"vi",Volap\u00fck:"vo",Walloon:"wa",Welsh:"cy","Western Frisian":"fy",Wolof:"wo",Xhosa:"xh",Yiddish:"ji",Yoruba:"yo"},C={"formatted-apa":"APA",bibtex:"BIBTEX","formatted-chicago":"CHICAGO","formatted-harvard":"HARVARD","formatted-ieee":"IEEE","formatted-mla":"MLA",ris:"RIS","formatted-unspecified":"UNSPECIFIED","formatted-vancouver":"VANCOUVER"},b=[{key:"no specified role",value:null,translation:"No specified role"},{key:"conceptualization",value:"http://credit.niso.org/contributor-roles/conceptualization/",translation:"Conceptualization"},{key:"data curation",value:"http://credit.niso.org/contributor-roles/data-curation/",translation:"Data curation"},{key:"formal analysis",value:"http://credit.niso.org/contributor-roles/formal-analysis/",translation:"Formal analysis"},{key:"funding acquisition",value:"http://credit.niso.org/contributor-roles/funding-acquisition/",translation:"Funding acquisition"},{key:"investigation",value:"http://credit.niso.org/contributor-roles/investigation/",translation:"Investigation"},{key:"methodology",value:"http://credit.niso.org/contributor-roles/methodology/",translation:"Methodology"},{key:"project administration",value:"http://credit.niso.org/contributor-roles/project-administration/",translation:"Project administration"},{key:"resources",value:"http://credit.niso.org/contributor-roles/resources/",translation:"Resources"},{key:"software",value:"http://credit.niso.org/contributor-roles/software/",translation:"Softw
3are"},{key:"supervision",value:"http://credit.niso.org/contributor-roles/supervision/",translation:"Supervision"},{key:"validation",value:"http://credit.niso.org/contributor-roles/validation/",translation:"Validation"},{key:"visualization",value:"http://credit.niso.org/contributor-roles/visualization/",translation:"Visualization"},{key:"writing - original draft",value:"http://credit.niso.org/contributor-roles/writing-original-draft/",translation:"Writing - original draft"},{key:"writing - review & editing",value:"http://credit.niso.org/contributor-roles/writing-review-editing/",translation:"Writing - review & editing"}],D=[{key:"author",value:null,translation:"Author"},{key:"assignee",value:null,translation:"Assignee"},{key:"editor",value:null,translation:"Editor"},{key:"chair-or-translator",value:null,translation:"Chair or Translator"},{key:"co-investigator",value:null,translation:"Co-investigator"},{key:"co-inventor",value:null,translation:"Co-inventor"},{key:"graduate-student",value:null,translation:"Graduate Student"},{key:"other-inventor",value:null,translation:"Other inventor"},{key:"principal-investigator",value:null,translation:"Principal Investigator"},{key:"postdoctoral-researcher",value:null,translation:"Postdoctoral Researcher"},{key:"support-staff",value:null,translation:"Support Staff"},{key:"lead",value:null,translation:"Lead"},{key:"co-lead",value:null,translation:"Co-lead"},{key:"supported-by",value:null,translation:"Supported by"},{key:"other-contribution",value:null,translation:"Other contribution"}];var f=function(L){return L.self="self",L["part-of"]="part-of",L["version-of"]="version-of",L["funded-by"]="funded-by",L}(f||{});const O={self:"Self","part-of":"Part of","version-of":"Version of","funded-by":"Funded by"},d={self:"The identifier applies to the work itself. For example, a DOI for a book chapter.","part-of":"The identifier applies to part of a larger work. For example, the ISBN of the book in which the work was published.","version-of":"The identifier applies to an alternate version of the work. For example, an earlier draft of an article.","funded-by":"The identifier applies to the grant or other funding awarded for the work. For example, a DOI for the funding or an internal grant number."}},26813:function(qe,ee,o){(function(){var a;a=o(68886),o(79213),qe.exports=function(){function M(v,r,_){if(this.parent=v,this.parent&&(this.options=this.parent.options,this.stringify=this.parent.stringify),null==r)throw new Error("Missing attribute name. "+this.debugInfo(r));this.name=this.stringify.name(r),this.value=this.stringify.attValue(_),this.type=a.Attribute,this.isId=!1,this.schemaTypeInfo=null}return Object.defineProperty(M.prototype,"nodeType",{get:function(){return this.type}}),Object.defineProperty(M.prototype,"ownerElement",{get:function(){return this.parent}}),Object.defineProperty(M.prototype,"textContent",{get:function(){return this.value},set:function(v){return this.value=v||""}}),Object.defineProperty(M.prototype,"namespaceURI",{get:function(){return""}}),Object.defineProperty(M.prototype,"prefix",{get:function(){return""}}),Object.defineProperty(M.prototype,"localName",{get:function(){return this.name}}),Object.defineProperty(M.prototype,"specified",{get:function(){return!0}}),M.prototype.clone=function(){return Object.create(this)},M.prototype.toString=function(v){return this.options.writer.attribute(this,this.options.writer.filterOptions(v))},M.prototype.debugInfo=function(v){return null==(v=v||this.name)?"parent: <"+this.parent.name+">":"attribute: {"+v+"}, parent: <"+this.parent.name+">"},M.prototype.isEqualNode=function(v){return!(v.namespaceURI!==this.namespaceURI||v.prefix!==this.prefix||v.localName!==this.localName||v.value!==this.value)},M}()}).call(this)},27054:(qe,ee,o)=>{var a=o(83838),t=a.Buffer;function u(v,r){for(var _ in v)r[_]=v[_]}function M(v,r,_){return t(v,r,_)}t.from&&t.alloc&&t.allocUnsafe&&t.allocUnsafeSlow?qe.exports=a:(u(a,ee),ee.Buffer=M),u(t,M),M.from=function(v,r,_){if("number"==typeof v)throw new TypeError("Argument must not be a number");return t(v,r,_)},M.alloc=function(v,r,_){if("number"!=typeof v)throw new TypeError("Argument must be a number");var h=t(v);return void 0!==r?"string"==typeof _?h.fill(r,_):h.fill(r):h.fill(0),h},M.allocUnsafe=function(v){if("number"!=typeof v)throw new TypeError("Argument must be a number");return t(v)},M.allocUnsafeSlow=function(v){if("number"!=typeof v)throw new TypeError("Argument must be a number");return a.SlowBuffer(v)}},27428:(qe,ee,o)=>{"use strict";o.d(ee,{E:()=>C});var a=o(91029),t=o(92771),u=o(84572),M=o(5964),v=o(96354),r=o(21495),_=o(2615),h=o(345);let C=(()=>{class b{constructor(f,O){this._titleService=f,this._router=O,this._displayName=new t.m(1)}init(){this._displayName.next(""),(0,u.z)([this._router.events.pipe((0,M.p)(f=>f instanceof a.wF),(0,v.T)(f=>f)),this._displayName.asObservable()]).subscribe(([f,O])=>
3{if(!f?.url.startsWith("/my-orcid")&&r.Mh.test(f?.url)&&O)this.setTitle(`${O} ${r.X.orcidPageTitle}`);else{const d=Object.keys(r.AB).find(L=>f.url?.split("?")[0]=="/"+L);O&&this.setTitle(`${O} ${r.X.orcidMyPageTitle}`),null!=d&&this.setTitle(r.AB[d])}})}setTitle(f){/[\u0600-\u06FF]/.test(f)&&(f=f.replace(/-/g,"\u1b78")),this._titleService.setTitle(f)}setDisplayName(f){this._displayName.next(f)}static{this.\u0275fac=function(O){return new(O||b)(_.KVO(h.hE),_.KVO(a.Ix))}}static{this.\u0275prov=_.jDH({token:b,factory:b.\u0275fac})}}return b})()},27468:(qe,ee,o)=>{"use strict";o.d(ee,{p:()=>h});var a=o(71985),t=o(93073),u=o(58750),M=o(9326),v=o(54360),r=o(6450),_=o(58496);function h(...C){const b=(0,M.ms)(C),{args:D,keys:f}=(0,t.D)(C),O=new a.c(d=>{const{length:L}=D;if(!L)return void d.complete();const E=new Array(L);let se=L,Y=L;for(let ne=0;ne<L;ne++){let U=!1;(0,u.Tg)(D[ne]).subscribe((0,v._)(d,T=>{U||(U=!0,Y--),E[ne]=T},()=>se--,void 0,()=>{(!se||!U)&&(Y||d.next(f?(0,_.e)(f,E):E),d.complete())}))}});return b?O.pipe((0,r.I)(b)):O}},27997:(qe,ee,o)=>{"use strict";o.d(ee,{f:()=>a});const a=t=>(t?.emailDomains?.forEach(u=>{t?.emails?.forEach(M=>{(M?.value?.split("@")[1].endsWith("."+u?.value)||M?.value?.split("@")[1]===u?.value)&&(M.professionalEmail=!0)})}),t)},28178:(qe,ee,o)=>{"use strict";o.d(ee,{F:()=>b});var a=o(92771),t=o(7673),u=o(29330),M=o(96354),v=o(99437),r=o(88141),_=o(2615),h=o(56846),C=o(89402);let b=(()=>{class D{constructor(O,d,L){this._http=O,this._errorHandler=d,this._recordPublicSidebar=L,this.headers=new u.Lr({"Access-Control-Allow-Origin":"*"})}getWebsites(O={forceReload:!1}){if(O.publicRecordId)return this._recordPublicSidebar.getPublicRecordSideBar(O).pipe((0,M.T)(d=>d.website));if(this.$websites){if(!O.forceReload)return this.$websites}else this.$websites=new a.m(1);return O.cleanCacheIfExist&&this.$websites&&this.$websites.next(void 0),this._http.get(runtimeEnvironment.API_WEB+"my-orcid/websitesForms.json",{headers:this.headers}).pipe((0,v.W)(d=>this._errorHandler.handleError(d)),(0,v.W)(()=>(0,t.of)({websites:[]})),(0,r.M)(d=>{this.$websites.next(d)})).subscribe(),this.$websites}postWebsites(O){return this._http.post(runtimeEnvironment.API_WEB+"my-orcid/websitesForms.json",O,{headers:this.headers}).pipe((0,v.W)(d=>this._errorHandler.handleError(d)),(0,r.M)(()=>this.getWebsites({forceReload:!0})))}static{this.\u0275fac=function(d){return new(d||D)(_.KVO(u.Qq),_.KVO(h.c),_.KVO(C.I))}}static{this.\u0275prov=_.jDH({token:D,factory:D.\u0275fac,providedIn:"root"})}}return D})()},28203:(qe,ee,o)=>{"use strict";o.d(ee,{ig:()=>M,jI:()=>v});var a=o(40372),t=o(73664),u=o(2615);let M=(()=>{class r{_isInitialized=!1;_rawDir;change=new t.bkB;get dir(){return this.valueSignal()}set dir(h){const C=this.valueSignal();this.valueSignal.set((0,a._)(h)),this._rawDir=h,C!==this.valueSignal()&&this._isInitialized&&this.change.emit(this.valueSignal())}get value(){return this.dir}valueSignal=(0,u.vPA)("ltr");ngAfterContentInit(){this._isInitialized=!0}ngOnDestroy(){this.change.complete()}static \u0275fac=function(C){return new(C||r)};static \u0275dir=t.FsC({type:r,selectors:[["","dir",""]],hostVars:1,hostBindings:function(C,b){2&C&&t.BMQ("dir",b._rawDir)},inputs:{dir:"dir"},outputs:{change:"dirChange"},exportAs:["dir"],features:[t.Jv_([{provide:a.D,useExisting:r}])]})}return r})(),v=(()=>{class r{static \u0275fac=function(C){return new(C||r)};static \u0275mod=t.$C({type:r});static \u0275inj=u.G2t({})}return r})()},28793:(qe,ee,o)=>{"use strict";o.d(ee,{x:()=>v});var a=o(26365),u=o(9326),M=o(86648);function v(...r){return function t(){return(0,a.U)(1)}()((0,M.H)(r,(0,u.lI)(r)))}},29330:(qe,ee,o)=>{"use strict";o.d(ee,{$R:()=>Hi,Lr:()=>L,Nl:()=>w,Qq:()=>Se,Sx:()=>Qi,_y:()=>N,a7:()=>Qe,c2:()=>xt,rx:()=>Z,yz:()=>X}),o(10467);var t=o(2615),M=(o(73664),o(70274)),v=o(5964),r=o(96354),_=o(70980),h=o(25558),C=o(7673),b=o(
371985),f=(o(86648),o(52512));class O{}class d{}class L{headers;normalizedNames=new Map;lazyInit;lazyUpdate=null;constructor(Ve){Ve?"string"==typeof Ve?this.lazyInit=()=>{this.headers=new Map,Ve.split("\n").forEach(Te=>{const Ht=Te.indexOf(":");if(Ht>0){const Jt=Te.slice(0,Ht),ot=Te.slice(Ht+1).trim();this.addHeaderEntry(Jt,ot)}})}:typeof Headers<"u"&&Ve instanceof Headers?(this.headers=new Map,Ve.forEach((Te,Ht)=>{this.addHeaderEntry(Ht,Te)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(Ve).forEach(([Te,Ht])=>{this.setHeaderEntries(Te,Ht)})}:this.headers=new Map}has(Ve){return this.init(),this.headers.has(Ve.toLowerCase())}get(Ve){this.init();const Te=this.headers.get(Ve.toLowerCase());return Te&&Te.length>0?Te[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(Ve){return this.init(),this.headers.get(Ve.toLowerCase())||null}append(Ve,Te){return this.clone({name:Ve,value:Te,op:"a"})}set(Ve,Te){return this.clone({name:Ve,value:Te,op:"s"})}delete(Ve,Te){return this.clone({name:Ve,value:Te,op:"d"})}maybeSetNormalizedName(Ve,Te){this.normalizedNames.has(Te)||this.normalizedNames.set(Te,Ve)}init(){this.lazyInit&&(this.lazyInit instanceof L?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(Ve=>this.applyUpdate(Ve)),this.lazyUpdate=null))}copyFrom(Ve){Ve.init(),Array.from(Ve.headers.keys()).forEach(Te=>{this.headers.set(Te,Ve.headers.get(Te)),this.normalizedNames.set(Te,Ve.normalizedNames.get(Te))})}clone(Ve){const Te=new L;return Te.lazyInit=this.lazyInit&&this.lazyInit instanceof L?this.lazyInit:this,Te.lazyUpdate=(this.lazyUpdate||[]).concat([Ve]),Te}applyUpdate(Ve){const Te=Ve.name.toLowerCase();switch(Ve.op){case"a":case"s":let Ht=Ve.value;if("string"==typeof Ht&&(Ht=[Ht]),0===Ht.length)return;this.maybeSetNormalizedName(Ve.name,Te);const Jt=("a"===Ve.op?this.headers.get(Te):void 0)||[];Jt.push(...Ht),this.headers.set(Te,Jt);break;case"d":const ot=Ve.value;if(ot){let yt=this.headers.get(Te);if(!yt)return;yt=yt.filter(Ut=>-1===ot.indexOf(Ut)),0===yt.length?(this.headers.delete(Te),this.normalizedNames.delete(Te)):this.headers.set(Te,yt)}else this.headers.delete(Te),this.normalizedNames.delete(Te)}}addHeaderEntry(Ve,Te){const Ht=Ve.toLowerCase();this.maybeSetNormalizedName(Ve,Ht),this.headers.has(Ht)?this.headers.get(Ht).push(Te):this.headers.set(Ht,[Te])}setHeaderEntries(Ve,Te){const Ht=(Array.isArray(Te)?Te:[Te]).map(ot=>ot.toString()),Jt=Ve.toLowerCase();this.headers.set(Jt,Ht),this.maybeSetNormalizedName(Ve,Jt)}forEach(Ve){this.init(),Array.from(this.normalizedNames.keys()).forEach(Te=>Ve(this.normalizedNames.get(Te),this.headers.get(Te)))}}class se{encodeKey(Ve){return T(Ve)}encodeValue(Ve){return T(Ve)}decodeKey(Ve){return decodeURIComponent(Ve)}decodeValue(Ve){return decodeURIComponent(Ve)}}const ne=/%(\d[a-f0-9])/gi,U={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function T(le){return encodeURIComponent(le).replace(ne,(Ve,Te)=>U[Te]??Ve)}function I(le){return`${le}`}class w{map;encoder;updates=null;cloneFrom=null;constructor(Ve={}){if(this.encoder=Ve.encoder||new se,Ve.fromString){if(Ve.fromObject)throw new t.buA(2805,!1);this.map=function Y(le,Ve){const Te=new Map;return le.length>0&&le.replace(/^\?/,"").split("&").forEach(Jt=>{const ot=Jt.indexOf("="),[yt,Ut]=-1==ot?[Ve.decodeKey(Jt),""]:[Ve.decodeKey(Jt.slice(0,ot)),Ve.decodeValue(Jt.slice(ot+1))],Xt=Te.get(yt)||[];Xt.push(Ut),Te.set(yt,Xt)}),Te}(Ve.fromString,this.encoder)}else Ve.fromObject?(this.map=new Map,Object.keys(Ve.fromObject).forEach(Te=>{const Ht=Ve.fromObject[Te],Jt=Array.isArray(Ht)?Ht.map(I):[I(Ht)];this.map.set(Te,Jt)})):this.map=null}has(Ve){return this.init(),this.map.has(Ve)}get(Ve){this.init();const Te=this.map.get(Ve);return Te?Te[0]:null}getAll(Ve){return this.init(),this.map.get(Ve)||null}keys(){return this.init(),Array.from(this.map.keys())}append(Ve,Te){return this.clone({param:Ve,value:Te,op:"a"})}appendAll(Ve){const Te=[];return Object.keys(Ve).forEach(Ht=>{const Jt=Ve[Ht];Array.isArray(Jt)?Jt.forEach(ot=>{Te.push({param:Ht,value:ot,op:"a"})}):Te.push({param:Ht,value:Jt,op:"a"})}),this.clone(Te)}set(Ve,Te){return this.clone({param:Ve,value:Te,op:"s"})}delete(Ve,Te){return this.clone({param:Ve,value:Te,op:"d"})}toString(){return this.init(),this.keys().map(Ve=>{const Te=this.encoder.encodeKey(Ve);return this.map.get(Ve).map(Ht=>Te+"="+this.encoder.encodeValue(Ht)).join("&")}).filter(Ve=>""!==Ve).join("&")}clone(Ve){const Te=new w({encoder:this.encoder});return Te.cloneFrom=this.cloneFrom||this,Te.updates=(this.updates||[]).concat(Ve),Te}
3init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(Ve=>this.map.set(Ve,this.cloneFrom.map.get(Ve))),this.updates.forEach(Ve=>{switch(Ve.op){case"a":case"s":const Te=("a"===Ve.op?this.map.get(Ve.param):void 0)||[];Te.push(I(Ve.value)),this.map.set(Ve.param,Te);break;case"d":if(void 0===Ve.value){this.map.delete(Ve.param);break}{let Ht=this.map.get(Ve.param)||[];const Jt=Ht.indexOf(I(Ve.value));-1!==Jt&&Ht.splice(Jt,1),Ht.length>0?this.map.set(Ve.param,Ht):this.map.delete(Ve.param)}}}),this.cloneFrom=this.updates=null)}}class Z{defaultValue;constructor(Ve){this.defaultValue=Ve}}class N{map=new Map;set(Ve,Te){return this.map.set(Ve,Te),this}get(Ve){return this.map.has(Ve)||this.map.set(Ve,Ve.defaultValue()),this.map.get(Ve)}delete(Ve){return this.map.delete(Ve),this}has(Ve){return this.map.has(Ve)}keys(){return this.map.keys()}}function H(le){return typeof ArrayBuffer<"u"&&le instanceof ArrayBuffer}function ie(le){return typeof Blob<"u"&&le instanceof Blob}function Ce(le){return typeof FormData<"u"&&le instanceof FormData}const nt="Content-Type",at="X-Request-URL",Xe="text/plain",et="application/json",xe=`${et}, ${Xe}, */*`;class De{url;body=null;headers;context;reportProgress=!1;withCredentials=!1;credentials;keepalive=!1;cache;priority;mode;redirect;responseType="json";method;params;urlWithParams;transferCache;timeout;constructor(Ve,Te,Ht,Jt){let ot;if(this.url=Te,this.method=Ve.toUpperCase(),function oe(le){switch(le){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||Jt?(this.body=void 0!==Ht?Ht:null,ot=Jt):ot=Ht,ot){if(this.reportProgress=!!ot.reportProgress,this.withCredentials=!!ot.withCredentials,this.keepalive=!!ot.keepalive,ot.responseType&&(this.responseType=ot.responseType),ot.headers&&(this.headers=ot.headers),ot.context&&(this.context=ot.context),ot.params&&(this.params=ot.params),ot.priority&&(this.priority=ot.priority),ot.cache&&(this.cache=ot.cache),ot.credentials&&(this.credentials=ot.credentials),"number"==typeof ot.timeout){if(ot.timeout<1||!Number.isInteger(ot.timeout))throw new Error("");this.timeout=ot.timeout}ot.mode&&(this.mode=ot.mode),ot.redirect&&(this.redirect=ot.redirect),this.transferCache=ot.transferCache}if(this.headers??=new L,this.context??=new N,this.params){const yt=this.params.toString();if(0===yt.length)this.urlWithParams=Te;else{const Ut=Te.indexOf("?");this.urlWithParams=Te+(-1===Ut?"?":Ut<Te.length-1?"&":"")+yt}}else this.params=new w,this.urlWithParams=Te}serializeBody(){return null===this.body?null:"string"==typeof this.body||H(this.body)||ie(this.body)||Ce(this.body)||function Ue(le){return typeof URLSearchParams<"u"&&le instanceof URLSearchParams}(this.body)?this.body:this.body instanceof w?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return null===this.body||Ce(this.body)?null:ie(this.body)?this.body.type||null:H(this.body)?null:"string"==typeof this.body?Xe:this.body instanceof w?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?et:null}clone(Ve={}){const Te=Ve.method||this.method,Ht=Ve.url||this.url,Jt=Ve.responseType||this.responseType,ot=Ve.keepalive??this.keepalive,yt=Ve.priority||this.priority,Ut=Ve.cache||this.cache,Xt=Ve.mode||this.mode,gn=Ve.redirect||this.redirect,kn=Ve.credentials||this.credentials,bn=Ve.transferCache??this.transferCache,pi=Ve.timeout??this.timeout,Mi=void 0!==Ve.body?Ve.body:this.body,oi=Ve.withCredentials??this.withCredentials,Fi=Ve.reportProgress??this.reportProgress;let Kn=Ve.headers||this.headers,Bn=Ve.params||this.params;const Pi=Ve.context??this.context;return void 0!==Ve.setHeaders&&(Kn=Object.keys(Ve.setHeaders).reduce((Ii,zn)=>Ii.set(zn,Ve.setHeaders[zn]),Kn)),Ve.setParams&&(Bn=Object.keys(Ve.setParams).reduce((Ii,zn)=>Ii.set(zn,Ve.setParams[zn]),Bn)),new De(Te,Ht,Mi,{params:Bn,headers:Kn,context:Pi,reportProgress:Fi,responseType:Jt,withCredentials:oi,transferCache:bn,keepalive:ot,cache:Ut,priority:yt,timeout:pi,mode:Xt,redirect:gn,credentials:kn})}}
3var ue=function(le){return le[le.Sent=0]="Sent",le[le.UploadProgress=1]="UploadProgress",le[le.ResponseHeader=2]="ResponseHeader",le[le.DownloadProgress=3]="DownloadProgress",le[le.Response=4]="Response",le[le.User=5]="User",le}(ue||{});class z{headers;status;statusText;url;ok;type;constructor(Ve,Te=200,Ht="OK"){this.headers=Ve.headers||new L,this.status=void 0!==Ve.status?Ve.status:Te,this.statusText=Ve.statusText||Ht,this.url=Ve.url||null,this.ok=this.status>=200&&this.status<300}}class de extends z{constructor(Ve={}){super(Ve)}type=ue.ResponseHeader;clone(Ve={}){return new de({headers:Ve.headers||this.headers,status:void 0!==Ve.status?Ve.status:this.status,statusText:Ve.statusText||this.statusText,url:Ve.url||this.url||void 0})}}class ae extends z{body;constructor(Ve={}){super(Ve),this.body=void 0!==Ve.body?Ve.body:null}type=ue.Response;clone(Ve={}){return new ae({body:void 0!==Ve.body?Ve.body:this.body,headers:Ve.headers||this.headers,status:void 0!==Ve.status?Ve.status:this.status,statusText:Ve.statusText||this.statusText,url:Ve.url||this.url||void 0})}}class X extends z{name="HttpErrorResponse";message;error;ok=!1;constructor(Ve){super(Ve,0,"Unknown Error"),this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${Ve.url||"(unknown url)"}`:`Http failure response for ${Ve.url||"(unknown url)"}: ${Ve.status} ${Ve.statusText}`,this.error=Ve.error||null}}function Ye(le,Ve){return{body:Ve,headers:le.headers,context:le.context,observe:le.observe,params:le.params,reportProgress:le.reportProgress,responseType:le.responseType,withCredentials:le.withCredentials,transferCache:le.transferCache,keepalive:le.keepalive,priority:le.priority,cache:le.cache,mode:le.mode,redirect:le.redirect}}let Se=(()=>{class le{handler;constructor(Te){this.handler=Te}request(Te,Ht,Jt={}){let ot;if(Te instanceof De)ot=Te;else{let Xt,gn;Xt=Jt.headers instanceof L?Jt.headers:new L(Jt.headers),Jt.params&&(gn=Jt.params instanceof w?Jt.params:new w({fromObject:Jt.params})),ot=new De(Te,Ht,void 0!==Jt.body?Jt.body:null,{headers:Xt,context:Jt.context,params:gn,reportProgress:Jt.reportProgress,responseType:Jt.responseType||"json",withCredentials:Jt.withCredentials,transferCache:Jt.transferCache,keepalive:Jt.keepalive,priority:Jt.priority,cache:Jt.cache,mode:Jt.mode,redirect:Jt.redirect,credentials:Jt.credentials})}const yt=(0,C.of)(ot).pipe((0,M.H)(Xt=>this.handler.handle(Xt)));if(Te instanceof De||"events"===Jt.observe)return yt;const Ut=yt.pipe((0,v.p)(Xt=>Xt instanceof ae));switch(Jt.observe||"body"){case"body":switch(ot.responseType){case"arraybuffer":return Ut.pipe((0,r.T)(Xt=>{if(null!==Xt.body&&!(Xt.body instanceof ArrayBuffer))throw new t.buA(2806,!1);return Xt.body}));case"blob":return Ut.pipe((0,r.T)(Xt=>{if(null!==Xt.body&&!(Xt.body instanceof Blob))throw new t.buA(2807,!1);return Xt.body}));case"text":return Ut.pipe((0,r.T)(Xt=>{if(null!==Xt.body&&"string"!=typeof Xt.body)throw new t.buA(2808,!1);return Xt.body}));default:return Ut.pipe((0,r.T)(Xt=>Xt.body))}case"response":return Ut;default:throw new t.buA(2809,!1)}}delete(Te,Ht={}){return this.request("DELETE",Te,Ht)}get(Te,Ht={}){return this.request("GET",Te,Ht)}head(Te,Ht={}){return this.request("HEAD",Te,Ht)}jsonp(Te,Ht){return this.request("JSONP",Te,{params:(new w).append(Ht,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(Te,Ht={}){return this.request("OPTIONS",Te,Ht)}patch(Te,Ht,Jt={}){return this.request("PATCH",Te,Ye(Jt,Ht))}post(Te,Ht,Jt={}){return this.request("POST",Te,Ye(Jt,Ht))}put(Te,Ht,Jt={}){return this.request("PUT",Te,Ye(Jt,Ht))}static \u0275fac=function(Ht){return new(Ht||le)(t.KVO(O))};static \u0275prov=t.jDH({token:le,factory:le.\u0275fac})}return le})();const bt=new t.nKC("");function Pe(le,Ve){return Ve(le)}function pe(le,Ve){return(Te,Ht)=>Ve.intercept(Te,{handle:Jt=>le(Jt,Ht)})}const Qe=new t.nKC(""),At=new t.nKC(""),Ne=new t.nKC(""),ze=new t.nKC("",{providedIn:"root",factory:()=>!0});function Ke(){let le=null;return(Ve,Te)=>{null===le&&(le=((0,t.WQX)(Qe,{optional:!0})??[]).reduceRight(pe,Pe));const Ht=(0,t.WQX)(t.u5s);if((0,t.WQX)(ze)){const ot=Ht.add();return le(Ve,Te).pipe((0,_.j)(ot))}return le(Ve,Te)}}let Wt=(()=>{class le extends O{backend;injector;chain=null;pendingTasks=(0,t.WQX)(t.u5s);contributeToStability=(0,t.WQX)(ze);constructor(Te,Ht){super(),this.backend=Te,this.injector=Ht}handle(Te){if(null===this.chain){const Ht=Array.from(new Set([...this.injector.get(At),...this.injector.get(Ne,[])]));this.chain=Ht.reduceRight((Jt,ot)=>function st(le,Ve,Te){return(Ht,Jt)=>(0,t.N4e)(Te,()=>Ve(Ht,ot=>le(ot,Jt)))}(Jt,ot,this.injector),Pe)}if(this.contributeToStability){const Ht=this.pendingTasks.add();return this.chain(Te,Jt=>this.backend.handle(Jt)).pipe((0,_.j)(Ht))}return this.chain(Te,Ht=>this.backend.handle(Ht))}static \u0275fac=function(Ht){return new(Ht||le)(t.KVO(d),t.KVO(t.uvJ))};static \u0275prov=t.jDH({token:le,factory:le.\u0275fac})}return le})();const Nt=/^\)\]\}',?\n/,vt=RegExp(`^${at}:`,"m");let Ae=(()=>{class le{xhrFactory;constructor(Te){this.xhrFactory=Te}handle(Te){if("JSONP"===Te.method)throw new t.buA(-2800,!1);const Ht=this.xhrFactory;return(0,C.of)(null).pipe((0,h.n)(()=>new b.c(ot=>{const yt=Ht.build();if(yt.open(Te.method,Te.urlWithParams),Te.withCredentials&&(yt.withCredentials=!0),Te.headers.forEac
3h((Kn,Bn)=>yt.setRequestHeader(Kn,Bn.join(","))),Te.headers.has("Accept")||yt.setRequestHeader("Accept",xe),!Te.headers.has(nt)){const Kn=Te.detectContentTypeHeader();null!==Kn&&yt.setRequestHeader(nt,Kn)}if(Te.timeout&&(yt.timeout=Te.timeout),Te.responseType){const Kn=Te.responseType.toLowerCase();yt.responseType="json"!==Kn?Kn:"text"}const Ut=Te.serializeBody();let Xt=null;const gn=()=>{if(null!==Xt)return Xt;const Kn=yt.statusText||"OK",Bn=new L(yt.getAllResponseHeaders()),Pi=function $e(le){return"responseURL"in le&&le.responseURL?le.responseURL:vt.test(le.getAllResponseHeaders())?le.getResponseHeader(at):null}(yt)||Te.url;return Xt=new de({headers:Bn,status:yt.status,statusText:Kn,url:Pi}),Xt},kn=()=>{let{headers:Kn,status:Bn,statusText:Pi,url:Ii}=gn(),zn=null;204!==Bn&&(zn=typeof yt.response>"u"?yt.responseText:yt.response),0===Bn&&(Bn=zn?200:0);let Ki=Bn>=200&&Bn<300;if("json"===Te.responseType&&"string"==typeof zn){const or=zn;zn=zn.replace(Nt,"");try{zn=""!==zn?JSON.parse(zn):null}catch(er){zn=or,Ki&&(Ki=!1,zn={error:er,text:zn})}}Ki?(ot.next(new ae({body:zn,headers:Kn,status:Bn,statusText:Pi,url:Ii||void 0})),ot.complete()):ot.error(new X({error:zn,headers:Kn,status:Bn,statusText:Pi,url:Ii||void 0}))},bn=Kn=>{const{url:Bn}=gn(),Pi=new X({error:Kn,status:yt.status||0,statusText:yt.statusText||"Unknown Error",url:Bn||void 0});ot.error(Pi)};let pi=bn;Te.timeout&&(pi=Kn=>{const{url:Bn}=gn(),Pi=new X({error:new DOMException("Request timed out","TimeoutError"),status:yt.status||0,statusText:yt.statusText||"Request timeout",url:Bn||void 0});ot.error(Pi)});let Mi=!1;const oi=Kn=>{Mi||(ot.next(gn()),Mi=!0);let Bn={type:ue.DownloadProgress,loaded:Kn.loaded};Kn.lengthComputable&&(Bn.total=Kn.total),"text"===Te.responseType&&yt.responseText&&(Bn.partialText=yt.responseText),ot.next(Bn)},Fi=Kn=>{let Bn={type:ue.UploadProgress,loaded:Kn.loaded};Kn.lengthComputable&&(Bn.total=Kn.total),ot.next(Bn)};return yt.addEventListener("load",kn),yt.addEventListener("error",bn),yt.addEventListener("timeout",pi),yt.addEventListener("abort",bn),Te.reportProgress&&(yt.addEventListener("progress",oi),null!==Ut&&yt.upload&&yt.upload.addEventListener("progress",Fi)),yt.send(Ut),ot.next({type:ue.Sent}),()=>{yt.removeEventListener("error",bn),yt.removeEventListener("abort",bn),yt.removeEventListener("load",kn),yt.removeEventListener("timeout",pi),Te.reportProgress&&(yt.removeEventListener("progress",oi),null!==Ut&&yt.upload&&yt.upload.removeEventListener("progress",Fi)),yt.readyState!==yt.DONE&&yt.abort()}})))}static \u0275fac=function(Ht){return new(Ht||le)(t.KVO(f.N))};static \u0275prov=t.jDH({token:le,factory:le.\u0275fac})}return le})();const It=new t.nKC(""),on=new t.nKC("",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),hn=new t.nKC("",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class Cn{}let Sn=(()=>{class le{doc;cookieName;lastCookieString="";lastToken=null;parseCount=0;constructor(Te,Ht){this.doc=Te,this.cookieName=Ht}getToken(){const Te=this.doc.cookie||"";return Te!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,f.b)(Te,this.cookieName),this.lastCookieString=Te),this.lastToken}static \u0275fac=function(Ht){return new(Ht||le)(t.KVO(t.qQL),t.KVO(on))};static \u0275prov=t.jDH({token:le,factory:le.\u0275fac})}return le})();function ni(le,Ve){const Te=le.url.toLowerCase();if(!(0,t.WQX)(It)||"GET"===le.method||"HEAD"===le.method||Te.startsWith("http://")||Te.startsWith("https://"))return Ve(le);const Ht=(0,t.WQX)(Cn).getToken(),Jt=(0,t.WQX)(hn);return null!=Ht&&!le.headers.has(Jt)&&(le=le.clone({headers:le.headers.set(Jt,Ht)})),Ve(le)}var vi=function(le){return le[le.Interceptors=0]="Interceptors",le[le.LegacyInterceptors=1]="LegacyInterceptors",le[le.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",le[le.NoXsrfProtection=3]="NoXsrfProtection",le[le.JsonpSupport=4]="JsonpSupport",le[le.RequestsMadeViaParent=5]="RequestsMadeViaParent",le[le.Fetch=6]="Fetch",le}
3(vi||{});function Ai(le,Ve){return{\u0275kind:le,\u0275providers:Ve}}function Hi(...le){const Ve=[Se,Ae,Wt,{provide:O,useExisting:Wt},{provide:d,useFactory:()=>(0,t.WQX)(bt,{optional:!0})??(0,t.WQX)(Ae)},{provide:At,useValue:ni,multi:!0},{provide:It,useValue:!0},{provide:Cn,useClass:Sn}];for(const Te of le)Ve.push(...Te.\u0275providers);return(0,t.EmA)(Ve)}const Yi=new t.nKC("");function Qi(){return Ai(vi.LegacyInterceptors,[{provide:Yi,useFactory:Ke},{provide:At,useExisting:Yi,multi:!0}])}function xt({cookieName:le,headerName:Ve}){const Te=[];return void 0!==le&&Te.push({provide:on,useValue:le}),void 0!==Ve&&Te.push({provide:hn,useValue:Ve}),Ai(vi.CustomXsrfConfiguration,Te)}},30017:(qe,ee,o)=>{"use strict";o.d(ee,{G:()=>r});var a=o(71985),t=o(18359),u=o(99898),M=o(54360),v=o(39974);class r extends a.c{constructor(h,C){super(),this.source=h,this.subjectFactory=C,this._subject=null,this._refCount=0,this._connection=null,(0,v.S)(h)&&(this.lift=h.lift)}_subscribe(h){return this.getSubject().subscribe(h)}getSubject(){const h=this._subject;return(!h||h.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:h}=this;this._subject=this._connection=null,h?.unsubscribe()}connect(){let h=this._connection;if(!h){h=this._connection=new t.yU;const C=this.getSubject();h.add(this.source.subscribe((0,M._)(C,void 0,()=>{this._teardown(),C.complete()},b=>{this._teardown(),C.error(b)},()=>this._teardown()))),h.closed&&(this._connection=null,h=t.yU.EMPTY)}return h}refCount(){return(0,u.B)()(this)}}},30190:(qe,ee,o)=>{"use strict";o.d(ee,{c:()=>M});var a=o(1734),t=o(21495),u=o(2615);let M=(()=>{class v{constructor(_){this._window=_}hide(){this.run("hide")}show(){this.run("show")}open(){this.run("open")}adaptPluginToPlatform(_){if("rtl"!==_.screenDirection)return;const h=this.widget();h&&(this.zE=h,h("webWidget","updateSettings",{webWidget:{position:{horizontal:"left",vertical:"bottom"}}}))}autofillTicketForm(_,h,C){const b=this.widget();if(!b)return;this.zE=b;let D="";const f=this._window.location.href.match(t._K);f&&f[0]&&0===f[0].indexOf("redirect_uri=")&&(D=decodeURIComponent(f[0].split("redirect_uri=")[1])),b("webWidget","updateSettings",{webWidget:{helpCenter:{suppress:!0},contactForm:{ticketForms:[{id:360003482054}],fields:[{id:"name",prefill:{"*":_&&_.displayName||""}},{id:"360028693514",prefill:{"*":_&&_.userInfo&&_.userInfo.EFFECTIVE_USER_ORCID||""}},{id:"email",prefill:{"*":_&&_.userInfo&&_.userInfo.PRIMARY_EMAIL||""}},{id:"subject",prefill:{"*":h||""}},{id:"360039623413",prefill:{"*":D||""}},{id:"description",prefill:{"*":C&&`\n_________________\nThe following is an error code for the support staff, please do not delete or modify it.\nLeave your comments above if required.\n"${C}"`}}]}}})}widget(){return this._window?.zE}run(_){const h=this.widget();h&&(this.zE=h,h("webWidget",_))}static{this.\u0275fac=function(h){return new(h||v)(u.KVO(a.jf))}}static{this.\u0275prov=u.jDH({token:v,factory:v.\u0275fac,providedIn:"root"})}}return v})()},30282:(qe,ee,o)=>{"use strict";o.d(ee,{C:()=>Dn,O:()=>Se,a:()=>Wt,b:()=>Gn,c:()=>Ct,d:()=>Ge,f:()=>Ne,h:()=>J,i:()=>xe,o:()=>at,s:()=>Z,t:()=>ti});var a=o(2615),t=o(73664),u=o(17705),M=o(57303),v=o(84466),r=o(79629);function _(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}var h=o(41560),C=o(21413),b=o(18359);function D($t){return null==$t?"":"string"==typeof $t?$t:`${$t}px`}var f=o(41959),O=o(75272),d=o(76939),L=o(89273),E=o(5964),se=o(77048),Y=o(88511),ne=o(40372),U=o(17035),T=o(67336),I=o(28203);const w=(0,L.s)();function Z($t){return new N($t.get(O.Xj),$t.get(a.qQL))}class N{_viewportRuler;_previousHTMLStyles={top:"",left:""};_previousScrollPosition;_isEnabled=!1;_document;constructor(it,mt){this._viewportRuler=it,this._document=mt}attach(){}enable(){if(this._canBeEnabled()){const it=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=it.style.left||"",this._previousHTMLStyles.top=it.style.top||"",it.style.left=D(-this._previousScrollPosition.left),it.style.top=D(-this._previousScrollPosition.top),it.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const it=this._document.documentElement,Ze=it.style,Nt=this._document.body.style,vt=Ze.scrollBehavior||"",$e=Nt.scrollBehavior||"";this._isEnabled=!1,Ze.left=this._previousHTMLStyles.left,Ze.top=this._previousHTMLStyles.top,it.classList.remove("cdk-global-scrollblock"),w&&(Ze.scrollBehavior=Nt.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),w&&(Ze.scrollBehavior=vt,Nt.scrollBehavior=$e)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const mt=this._document.documentElement,Ze=this._viewportRuler.getViewportSize();return mt.scrollHeight>Ze.height||mt.scrollWidth>Ze.width}}class ie{_scrollDispatcher;_ngZone;_viewportRuler;_config;_scrollSubscription=null;_overlayRef;_initialScrollPosition;constructor(it,mt,Ze,Nt){this._scrollDispatcher=it,this._ngZone=mt,this._viewportRuler
3=Ze,this._config=Nt}attach(it){this._overlayRef=it}enable(){if(this._scrollSubscription)return;const it=this._scrollDispatcher.scrolled(0).pipe((0,E.p)(mt=>!mt||!this._overlayRef.overlayElement.contains(mt.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=it.subscribe(()=>{const mt=this._viewportRuler.getViewportScrollPosition().top;Math.abs(mt-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=it.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}_detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}class Ue{enable(){}disable(){}attach(){}}function nt($t,it){return it.some(mt=>$t.bottom<mt.top||$t.top>mt.bottom||$t.right<mt.left||$t.left>mt.right)}function we($t,it){return it.some(mt=>$t.top<mt.top||$t.bottom>mt.bottom||$t.left<mt.left||$t.right>mt.right)}function at($t,it){return new Xe($t.get(O.R),$t.get(O.Xj),$t.get(t.SKi),it)}class Xe{_scrollDispatcher;_viewportRuler;_ngZone;_config;_scrollSubscription=null;_overlayRef;constructor(it,mt,Ze,Nt){this._scrollDispatcher=it,this._viewportRuler=mt,this._ngZone=Ze,this._config=Nt}attach(it){this._overlayRef=it}enable(){this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){const mt=this._overlayRef.overlayElement.getBoundingClientRect(),{width:Ze,height:Nt}=this._viewportRuler.getViewportSize();nt(mt,[{width:Ze,height:Nt,bottom:Nt,right:Ze,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}}))}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}let et=(()=>{class $t{_injector=(0,a.WQX)(a.zZn);constructor(){}noop=()=>new Ue;close=mt=>function H($t,it){return new ie($t.get(O.R),$t.get(t.SKi),$t.get(O.Xj),it)}(this._injector,mt);block=()=>Z(this._injector);reposition=mt=>at(this._injector,mt);static \u0275fac=function(Ze){return new(Ze||$t)};static \u0275prov=a.jDH({token:$t,factory:$t.\u0275fac,providedIn:"root"})}return $t})();class xe{positionStrategy;scrollStrategy=new Ue;panelClass="";hasBackdrop=!1;backdropClass="cdk-overlay-dark-backdrop";disableAnimations;width;height;minWidth;minHeight;maxWidth;maxHeight;direction;disposeOnNavigation=!1;constructor(it){if(it){const mt=Object.keys(it);for(const Ze of mt)void 0!==it[Ze]&&(this[Ze]=it[Ze])}}}class z{connectionPair;scrollableViewProperties;constructor(it,mt){this.connectionPair=it,this.scrollableViewProperties=mt}}let X=(()=>{class $t{_attachedOverlays=[];_document=(0,a.WQX)(a.qQL);_isAttached;constructor(){}ngOnDestroy(){this.detach()}add(mt){this.remove(mt),this._attachedOverlays.push(mt)}remove(mt){const Ze=this._attachedOverlays.indexOf(mt);Ze>-1&&this._attachedOverlays.splice(Ze,1),0===this._attachedOverlays.length&&this.detach()}static \u0275fac=function(Ze){return new(Ze||$t)};static \u0275prov=a.jDH({token:$t,factory:$t.\u0275fac,providedIn:"root"})}return $t})(),$=(()=>{class $t extends X{_ngZone=(0,a.WQX)(t.SKi);_renderer=(0,a.WQX)(t._9s).createRenderer(null,null);_cleanupKeydown;add(mt){super.add(mt),this._isAttached||(this._ngZone.runOutsideAngular(()=>{this._cleanupKeydown=this._renderer.listen("body","keydown",this._keydownListener)}),this._isAttached=!0)}detach(){this._isAttached&&(this._cleanupKeydown?.(),this._isAttached=!1)}_keydownListener=mt=>{const Ze=this._attachedOverlays;for(let Nt=Ze.length-1;Nt>-1;Nt--)if(Ze[Nt]._keydownEvents.observers.length>0){this._ngZone.run(()=>Ze[Nt]._keydownEvents.next(mt));break}};static \u0275fac=(()=>{let mt;return function(Nt){return(mt||(mt=t.xGo($t)))(Nt||$t)}})();static \u0275prov=a.jDH({token:$t,factory:$t.\u0275fac,providedIn:"root"})}return $t})(),K=(()=>{class $t extends X{_platform=(0,a.WQX)(v.P);_ngZone=(0,a.WQX)(t.SKi);_renderer=(0,a.WQX)(t._9s).createRenderer(null,null);_cursorOriginalValue;_cursorStyleIsSet=!1;_pointerDownEventTarget;_cleanups;add(mt){if(super.add(mt),!this._isAttached){const Ze=this._document.body,Nt={capture:!0},vt=this._renderer;this._cleanups=this._ngZone.runOutsideAngular(()=>[vt.listen(Ze,"pointerdown",this._pointerDownListener,Nt),vt.listen(Ze,"click",this._clickListener,Nt),vt.listen(Ze,"auxclick",this._clickListener,Nt),vt.listen(Ze,"contextmenu",this._clickListener,Nt)]),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=Ze.style.cursor,Ze.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){this._isAttached&&(this._cleanups?.forEach(mt=>mt()),this._cleanups=void 0,this._platform.IOS&&this._cursorStyleIsSet&&(this._document.body.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1)}_pointerDownListener=mt=>{this._pointerDownEventTarget=(0,r._)(mt)};_clickListener=mt=>{const Ze=(0,r._)(mt),Nt="click"===mt.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:Ze;this._pointerDownEventTarget=null;const vt=this._attachedOverlays.slice();for(let $e=vt.length-1;$e>-1;$e--){const ht=vt[$e];
3if(ht._outsidePointerEvents.observers.length<1||!ht.hasAttached())continue;if(Be(ht.overlayElement,Ze)||Be(ht.overlayElement,Nt))break;const Ae=ht._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>Ae.next(mt)):Ae.next(mt)}};static \u0275fac=(()=>{let mt;return function(Nt){return(mt||(mt=t.xGo($t)))(Nt||$t)}})();static \u0275prov=a.jDH({token:$t,factory:$t.\u0275fac,providedIn:"root"})}return $t})();function Be($t,it){const mt=typeof ShadowRoot<"u"&&ShadowRoot;let Ze=it;for(;Ze;){if(Ze===$t)return!0;Ze=mt&&Ze instanceof ShadowRoot?Ze.host:Ze.parentNode}return!1}let Ye=(()=>{class $t{static \u0275fac=function(Ze){return new(Ze||$t)};static \u0275cmp=t.VBU({type:$t,selectors:[["ng-component"]],hostAttrs:["cdk-overlay-style-loader",""],decls:0,vars:0,template:function(Ze,Nt){},styles:[".cdk-overlay-container,.cdk-global-overlay-wrapper{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container{position:fixed}@layer cdk-overlay{.cdk-overlay-container{z-index:1000}}.cdk-overlay-container:empty{display:none}.cdk-global-overlay-wrapper{display:flex;position:absolute}@layer cdk-overlay{.cdk-global-overlay-wrapper{z-index:1000}}.cdk-overlay-pane{position:absolute;pointer-events:auto;box-sizing:border-box;display:flex;max-width:100%;max-height:100%}@layer cdk-overlay{.cdk-overlay-pane{z-index:1000}}.cdk-overlay-backdrop{position:absolute;top:0;bottom:0;left:0;right:0;pointer-events:auto;-webkit-tap-highlight-color:rgba(0,0,0,0);opacity:0;touch-action:manipulation}@layer cdk-overlay{.cdk-overlay-backdrop{z-index:1000;transition:opacity 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}}@media(prefers-reduced-motion){.cdk-overlay-backdrop{transition-duration:1ms}}.cdk-overlay-backdrop-showing{opacity:1}@media(forced-colors: active){.cdk-overlay-backdrop-showing{opacity:.6}}@layer cdk-overlay{.cdk-overlay-dark-backdrop{background:rgba(0,0,0,.32)}}.cdk-overlay-transparent-backdrop{transition:visibility 1ms linear,opacity 1ms linear;visibility:hidden;opacity:1}.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing,.cdk-high-contrast-active .cdk-overlay-transparent-backdrop{opacity:0;visibility:visible}.cdk-overlay-backdrop-noop-animation{transition:none}.cdk-overlay-connected-position-bounding-box{position:absolute;display:flex;flex-direction:column;min-width:1px;min-height:1px}@layer cdk-overlay{.cdk-overlay-connected-position-bounding-box{z-index:1000}}.cdk-global-scrollblock{position:fixed;width:100%;overflow-y:scroll}\n"],encapsulation:2,changeDetection:0})}return $t})(),Se=(()=>{class $t{_platform=(0,a.WQX)(v.P);_containerElement;_document=(0,a.WQX)(a.qQL);_styleLoader=(0,a.WQX)(h._);constructor(){}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._loadStyles(),this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const mt="cdk-overlay-container";if(this._platform.isBrowser||_()){const Nt=this._document.querySelectorAll(`.${mt}[platform="server"], .${mt}[platform="test"]`);for(let vt=0;vt<Nt.length;vt++)Nt[vt].remove()}const Ze=this._document.createElement("div");Ze.classList.add(mt),_()?Ze.setAttribute("platform","test"):this._platform.isBrowser||Ze.setAttribute("platform","server"),this._document.body.appendChild(Ze),this._containerElement=Ze}_loadStyles(){this._styleLoader.load(Ye)}static \u0275fac=function(Ze){return new(Ze||$t)};static \u0275prov=a.jDH({token:$t,factory:$t.\u0275fac,providedIn:"root"})}return $t})();class pt{_renderer;_ngZone;element;_cleanupClick;_cleanupTransitionEnd;_fallbackTimeout;constructor(it,mt,Ze,Nt){this._renderer=mt,this._ngZone=Ze,this.element=it.createElement("div"),this.element.classList.add("cdk-overlay-backdrop"),this._cleanupClick=mt.listen(this.element,"click",Nt)}detach(){this._ngZone.runOutsideAngular(()=>{const it=this.element;clearTimeout(this._fallbackTimeout),this._cleanupTransitionEnd?.(),this._cleanupTransitionEnd=this._renderer.listen(it,"transitionend",this.dispose),this._fallbackTimeout=setTimeout(this.dispose,500),it.style.pointerEvents="none",it.classList.remove("cdk-overlay-backdrop-showing")})}dispose=()=>{clearTimeout(this._fallbackTimeout),this._cleanupClick?.(),this._cleanupTransitionEnd?.(),this._cleanupClick=this._cleanupTransitionEnd=this._fallbackTimeout=void 0,this.element.remove()}}class Ge{_portalOutlet;_host;_pane;_config;_ngZone;_keyboardDispatcher;_document;_location;_outsideClickDispatcher;_animationsDisabled;_injector;_renderer;_backdropClick=new C.B;_attachments=new C.B;_detachments=new C.B;_positionStrategy;_scrollStrategy;_locationChanges=b.yU.EMPTY;_backdropRef=null;_detachContentMutationObserver;_detachContentAfterRenderRef;_previousHostParent;_keydownEvents=new C.B;_outsidePointerEvents=new C.B;_afterNextRenderRef;constructor(it,mt,Ze,Nt,vt,$e,ht,Ae,It,Mt=!1,on,Gt){this._portalOutlet=it,this._host=mt,this._pane=Ze,this._config=Nt,this._ngZone=vt,this._keyboardDispatcher=$e,this._document=ht,this._location=Ae,this._outsideClickDispatcher=It,this._animationsDisabled=Mt,this._injector=on,this._renderer=Gt,Nt.scrollStrategy&&(this._scrollStrategy=Nt.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=Nt.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropRef?.element||null}get hostElement(){return this._host}attach(it){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const mt=this._portalOutlet.attach(it);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._afterNextRenderRef?.destroy(),this._afterNextRenderRef=(0,t.mal)(()=>{this.hasAttached()&&this.updatePosition()},{injector:this._injector}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._completeDetachContent(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),"function"==typeof mt?.onDestroy&&mt.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),mt}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const it=this._portalOutlet.detach();return this._detachments.next(),this._completeDetachContent(),this._keyboardDispatcher.remove(this),this._detachContentWhenEmpty(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),it}dispose(){const it=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._backdropRef?.dispose(),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dis
3pose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),this._host?.remove(),this._afterNextRenderRef?.destroy(),this._previousHostParent=this._pane=this._host=this._backdropRef=null,it&&this._detachments.next(),this._detachments.complete(),this._completeDetachContent()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(it){it!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=it,this.hasAttached()&&(it.attach(this),this.updatePosition()))}updateSize(it){this._config={...this._config,...it},this._updateElementSize()}setDirection(it){this._config={...this._config,direction:it},this._updateElementDirection()}addPanelClass(it){this._pane&&this._toggleClasses(this._pane,it,!0)}removePanelClass(it){this._pane&&this._toggleClasses(this._pane,it,!1)}getDirection(){const it=this._config.direction;return it?"string"==typeof it?it:it.value:"ltr"}updateScrollStrategy(it){it!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=it,this.hasAttached()&&(it.attach(this),it.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const it=this._pane.style;it.width=D(this._config.width),it.height=D(this._config.height),it.minWidth=D(this._config.minWidth),it.minHeight=D(this._config.minHeight),it.maxWidth=D(this._config.maxWidth),it.maxHeight=D(this._config.maxHeight)}_togglePointerEvents(it){this._pane.style.pointerEvents=it?"":"none"}_attachBackdrop(){const it="cdk-overlay-backdrop-showing";this._backdropRef?.dispose(),this._backdropRef=new pt(this._document,this._renderer,this._ngZone,mt=>{this._backdropClick.next(mt)}),this._animationsDisabled&&this._backdropRef.element.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropRef.element,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropRef.element,this._host),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>this._backdropRef?.element.classList.add(it))}):this._backdropRef.element.classList.add(it)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){this._animationsDisabled?(this._backdropRef?.dispose(),this._backdropRef=null):this._backdropRef?.detach()}_toggleClasses(it,mt,Ze){const Nt=(0,f.c)(mt||[]).filter(vt=>!!vt);Nt.length&&(Ze?it.classList.add(...Nt):it.classList.remove(...Nt))}_detachContentWhenEmpty(){let it=!1;try{this._detachContentAfterRenderRef=(0,t.mal)(()=>{it=!0,this._detachContent()},{injector:this._injector})}catch(mt){if(it)throw mt;this._detachContent()}globalThis.MutationObserver&&this._pane&&(this._detachContentMutationObserver||=new globalThis.MutationObserver(()=>{this._detachContent()}),this._detachContentMutationObserver.observe(this._pane,{childList:!0}))}_detachContent(){(!this._pane||!this._host||0===this._pane.children.length)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),this._completeDetachContent())}_completeDetachContent(){this._detachContentAfterRenderRef?.destroy(),this._detachContentAfterRenderRef=void 0,this._detachContentMutationObserver?.disconnect()}_disposeScrollStrategy(){const it=this._scrollStrategy;it?.disable(),it?.detach?.()}}const bt="cdk-overlay-connected-position-bounding-box",me=/([A-Za-z%]+)$/;function J($t,it){return new R(it,$t.get(O.Xj),$t.get(a.qQL),$t.get(v.P),$t.get(Se))}class R{_viewportRuler;_document;_platform;_overlayContainer;_overlayRef;_isInitialRender;_lastBoundingBoxSize={width:0,height:0};_isPushed=!1;_canPush=!0;_growAfterOpen=!1;_hasFlexibleDimensions=!0;_positionLocked=!1;_originRect;_overlayRect;_viewportRect;_containerRect;_viewportMargin=0;_scrollables=[];_preferredPositions=[];_origin;_pane;_isDisposed;_boundingBox;_lastPosition;_lastScrollVisibility;_positionChanges=new C.B;_resizeSubscription=b.yU.EMPTY;_offsetX=0;_offsetY=0;_transformOriginSelector;_appliedPanelClasses=[];_previousPushAmount;positionChanges=this._positionChanges;get positions(){return this._preferredPositions}
3constructor(it,mt,Ze,Nt,vt){this._viewportRuler=mt,this._document=Ze,this._platform=Nt,this._overlayContainer=vt,this.setOrigin(it)}attach(it){this._validatePositions(),it.hostElement.classList.add(bt),this._overlayRef=it,this._boundingBox=it.hostElement,this._pane=it.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)return void this.reapplyLastPosition();this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const it=this._originRect,mt=this._overlayRect,Ze=this._viewportRect,Nt=this._containerRect,vt=[];let $e;for(let ht of this._preferredPositions){let Ae=this._getOriginPoint(it,Nt,ht),It=this._getOverlayPoint(Ae,mt,ht),Mt=this._getOverlayFit(It,mt,Ze,ht);if(Mt.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(ht,Ae);this._canFitWithFlexibleDimensions(Mt,It,Ze)?vt.push({position:ht,origin:Ae,overlayRect:mt,boundingBoxRect:this._calculateBoundingBoxRect(Ae,ht)}):(!$e||$e.overlayFit.visibleArea<Mt.visibleArea)&&($e={overlayFit:Mt,overlayPoint:It,originPoint:Ae,position:ht,overlayRect:mt})}if(vt.length){let ht=null,Ae=-1;
3for(const It of vt){const Mt=It.boundingBoxRect.width*It.boundingBoxRect.height*(It.position.weight||1);Mt>Ae&&(Ae=Mt,ht=It)}return this._isPushed=!1,void this._applyPosition(ht.position,ht.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition($e.position,$e.originPoint);this._applyPosition($e.position,$e.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&x(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(bt),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const it=this._lastPosition;if(it){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const mt=this._getOriginPoint(this._originRect,this._containerRect,it);this._applyPosition(it,mt)}else this.apply()}withScrollableContainers(it){return this._scrollables=it,this}withPositions(it){return this._preferredPositions=it,-1===it.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(it){return this._viewportMargin=it,this}withFlexibleDimensions(it=!0){return this._hasFlexibleDimensions=it,this}withGrowAfterOpen(it=!0){return this._growAfterOpen=it,this}withPush(it=!0){return this._canPush=it,this}withLockedPosition(it=!0){return this._positionLocked=it,this}setOrigin(it){return this._origin=it,this}withDefaultOffsetX(it){return this._offsetX=it,this}withDefaultOffsetY(it){return this._offsetY=it,this}withTransformOriginOn(it){return this._transformOriginSelector=it,this}_getOriginPoint(it,mt,Ze){let Nt,vt;if("center"==Ze.originX)Nt=it.left+it.width/2;else{const $e=this._isRtl()?it.right:it.left,ht=this._isRtl()?it.left:it.right;Nt="start"==Ze.originX?$e:ht}return mt.left<0&&(Nt-=mt.left),vt="center"==Ze.originY?it.top+it.height/2:"top"==Ze.originY?it.top:it.bottom,mt.top<0&&(vt-=mt.top),{x:Nt,y:vt}}_getOverlayPoint(it,mt,Ze){let Nt,vt;return Nt="center"==Ze.overlayX?-mt.width/2:"start"===Ze.overlayX?this._isRtl()?-mt.width:0:this._isRtl()?0:-mt.width,vt="center"==Ze.overlayY?-mt.height/2:"top"==Ze.overlayY?0:-mt.height,{x:it.x+Nt,y:it.y+vt}}_getOverlayFit(it,mt,Ze,Nt){const vt=Pe(mt);let{x:$e,y:ht}=it,Ae=this._getOffset(Nt,"x"),It=this._getOffset(Nt,"y");Ae&&($e+=Ae),It&&(ht+=It);let Gt=0-ht,hn=ht+vt.height-Ze.height,Cn=this._subtractOverflows(vt.width,0-$e,$e+vt.width-Ze.width),Sn=this._subtractOverflows(vt.height,Gt,hn),ni=Cn*Sn;return{visibleArea:ni,isCompletelyWithinViewport:vt.width*vt.height===ni,fitsInViewportVertically:Sn===vt.height,fitsInViewportHorizontally:Cn==vt.width}}_canFitWithFlexibleDimensions(it,mt,Ze){if(this._hasFlexibleDimensions){const Nt=Ze.bottom-mt.y,vt=Ze.right-mt.x,$e=ce(this._overlayRef.getConfig().minHeight),ht=ce(this._overlayRef.getConfig().minWidth);return(it.fitsInViewportVertically||null!=$e&&$e<=Nt)&&(it.fitsInViewportHorizontally||null!=ht&&ht<=vt)}return!1}_pushOverlayOnScreen(it,mt,Ze){if(this._previousPushAmount&&this._positionLocked)return{x:it.x+this._previousPushAmount.x,y:it.y+this._previousPushAmount.y};const Nt=Pe(mt),vt=this._viewportRect,$e=Math.max(it.x+Nt.width-vt.width,0),ht=Math.max(it.y+Nt.height-vt.height,0),Ae=Math.max(vt.top-Ze.top-it.y,0),It=Math.max(vt.left-Ze.left-it.x,0);let Mt=0,on=0;return Mt=Nt.width<=vt.width?It||-$e:it.x<this._viewportMargin?vt.left-Ze.left-it.x:0,on=Nt.height<=vt.height?Ae||-ht:it.y<this._viewportMargin?vt.top-Ze.top-it.y:0,this._previousPushAmount={x:Mt,y:on},{x:it.x+Mt,y:it.y+on}}_applyPosition(it,mt){if(this._setTransformOrigin(it),this._setOverlayElementStyles(mt,it),this._setBoundingBoxStyles(mt,it),it.panelClass&&this._addPanelClasses(it.panelClass),this._positionChanges.observers.length){const Ze=this._getScrollVisibility();if(it!==this._lastPosition||!this._lastScrollVisibility||!function pe($t,it){return $t===it||$t.isOriginClipped===it.isOriginClipped&&$t.isOriginOutsideView===it.isOriginOutsideView&&$t.isOverlayClipped===it.isOverlayClipped&&$t.isOverlayOutsideView===it.isOverlayOutsideView}
3(this._lastScrollVisibility,Ze)){const Nt=new z(it,Ze);this._positionChanges.next(Nt)}this._lastScrollVisibility=Ze}this._lastPosition=it,this._isInitialRender=!1}_setTransformOrigin(it){if(!this._transformOriginSelector)return;const mt=this._boundingBox.querySelectorAll(this._transformOriginSelector);let Ze,Nt=it.overlayY;Ze="center"===it.overlayX?"center":this._isRtl()?"start"===it.overlayX?"right":"left":"start"===it.overlayX?"left":"right";for(let vt=0;vt<mt.length;vt++)mt[vt].style.transformOrigin=`${Ze} ${Nt}`}_calculateBoundingBoxRect(it,mt){const Ze=this._viewportRect,Nt=this._isRtl();let vt,$e,ht,Mt,on,Gt;if("top"===mt.overlayY)$e=it.y,vt=Ze.height-$e+this._viewportMargin;else if("bottom"===mt.overlayY)ht=Ze.height-it.y+2*this._viewportMargin,vt=Ze.height-ht+this._viewportMargin;else{const hn=Math.min(Ze.bottom-it.y+Ze.top,it.y),Cn=this._lastBoundingBoxSize.height;vt=2*hn,$e=it.y-hn,vt>Cn&&!this._isInitialRender&&!this._growAfterOpen&&($e=it.y-Cn/2)}if("end"===mt.overlayX&&!Nt||"start"===mt.overlayX&&Nt)Gt=Ze.width-it.x+2*this._viewportMargin,Mt=it.x-this._viewportMargin;else if("start"===mt.overlayX&&!Nt||"end"===mt.overlayX&&Nt)on=it.x,Mt=Ze.right-it.x;else{const hn=Math.min(Ze.right-it.x+Ze.left,it.x),Cn=this._lastBoundingBoxSize.width;Mt=2*hn,on=it.x-hn,Mt>Cn&&!this._isInitialRender&&!this._growAfterOpen&&(on=it.x-Cn/2)}return{top:$e,left:on,bottom:ht,right:Gt,width:Mt,height:vt}}_setBoundingBoxStyles(it,mt){const Ze=this._calculateBoundingBoxRect(it,mt);!this._isInitialRender&&!this._growAfterOpen&&(Ze.height=Math.min(Ze.height,this._lastBoundingBoxSize.height),Ze.width=Math.min(Ze.width,this._lastBoundingBoxSize.width));const Nt={};if(this._hasExactPosition())Nt.top=Nt.left="0",Nt.bottom=Nt.right=Nt.maxHeight=Nt.maxWidth="",Nt.width=Nt.height="100%";else{const vt=this._overlayRef.getConfig().maxHeight,$e=this._overlayRef.getConfig().maxWidth;Nt.height=D(Ze.height),Nt.top=D(Ze.top),Nt.bottom=D(Ze.bottom),Nt.width=D(Ze.width),Nt.left=D(Ze.left),Nt.right=D(Ze.right),Nt.alignItems="center"===mt.overlayX?"center":"end"===mt.overlayX?"flex-end":"flex-start",Nt.justifyContent="center"===mt.overlayY?"center":"bottom"===mt.overlayY?"flex-end":"flex-start",vt&&(Nt.maxHeight=D(vt)),$e&&(Nt.maxWidth=D($e))}this._lastBoundingBoxSize=Ze,x(this._boundingBox.style,Nt)}_resetBoundingBoxStyles(){x(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){x(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(it,mt){const Ze={},Nt=this._hasExactPosition(),vt=this._hasFlexibleDimensions,$e=this._overlayRef.getConfig();if(Nt){const Mt=this._viewportRuler.getViewportScrollPosition();x(Ze,this._getExactOverlayY(mt,it,Mt)),x(Ze,this._getExactOverlayX(mt,it,Mt))}else Ze.position="static";let ht="",Ae=this._getOffset(mt,"x"),It=this._getOffset(mt,"y");Ae&&(ht+=`translateX(${Ae}px) `),It&&(ht+=`translateY(${It}px)`),Ze.transform=ht.trim(),$e.maxHeight&&(Nt?Ze.maxHeight=D($e.maxHeight):vt&&(Ze.maxHeight="")),$e.maxWidth&&(Nt?Ze.maxWidth=D($e.maxWidth):vt&&(Ze.maxWidth="")),x(this._pane.style,Ze)}_getExactOverlayY(it,mt,Ze){let Nt={top:"",bottom:""},vt=this._getOverlayPoint(mt,this._overlayRect,it);return this._isPushed&&(vt=this._pushOverlayOnScreen(vt,this._overlayRect,Ze)),"bottom"===it.overlayY?Nt.bottom=this._document.documentElement.clientHeight-(vt.y+this._overlayRect.height)+"px":Nt.top=D(vt.y),Nt}_getExactOverlayX(it,mt,Ze){let $e,Nt={left:"",right:""},vt=this._getOverlayPoint(mt,this._overlayRect,it);return this._isPushed&&(vt=this._pushOverlayOnScreen(vt,this._overlayRect,Ze)),$e=this._isRtl()?"end"===it.overlayX?"left":"right":"end"===it.overlayX?"right":"left","right"===$e?Nt.right=this._document.documentElement.clientWidth-(vt.x+this._overlayRect.width)+"px":Nt.left=D(vt.x),Nt}_getScrollVisibility(){const it=this._getOriginRect(),mt=this._pane.getBoundingClientRect(),Ze=this._scrollables.map(Nt=>Nt.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:we(it,Ze),isOriginOutsideView:nt(it,Ze),isOverlayClipped:we(mt,Ze),isOverlayOutsideView:nt(mt,Ze)}}_subtractOverflows(it,...mt){return mt.reduce((Ze,Nt)=>Ze-Math.max(Nt,0),it)}_getNarrowedViewportRect(){const it=this._document.documentElement.clientWidth,mt=this._document.documentElement.clientHeight,Ze=this._viewportRuler.getViewportScrollPosition();return{top:Ze.top+this._viewportMargin,left:Ze.left+this._viewportMargin,right:Ze.left+it-this._viewportMargin,bottom:Ze.top+mt-this._viewportMargin,width:it-2*this._viewportMargin,height:mt-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(it,mt){return"x"===mt?null==it.offsetX?this._offsetX:it.offsetX:null==it.offsetY?this._offsetY:it.offsetY}_validatePositions(){}_addPanelClasses(it){this._pane&&(0,f.c)(it).forEach(mt=>{""!==mt&&-1===this._appliedPanelClasses.indexOf(mt)&&(this._appliedPanelClasses.push(mt),this._pane.classList.add(mt))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEac
3h(it=>{this._pane.classList.remove(it)}),this._appliedPanelClasses=[])}_getOriginRect(){const it=this._origin;if(it instanceof t.aKT)return it.nativeElement.getBoundingClientRect();if(it instanceof Element)return it.getBoundingClientRect();const mt=it.width||0,Ze=it.height||0;return{top:it.y,bottom:it.y+Ze,left:it.x,right:it.x+mt,height:Ze,width:mt}}}function x($t,it){for(let mt in it)it.hasOwnProperty(mt)&&($t[mt]=it[mt]);return $t}function ce($t){if("number"!=typeof $t&&null!=$t){const[it,mt]=$t.split(me);return mt&&"px"!==mt?null:parseFloat(it)}return $t||null}function Pe($t){return{top:Math.floor($t.top),right:Math.floor($t.right),bottom:Math.floor($t.bottom),left:Math.floor($t.left),width:Math.floor($t.width),height:Math.floor($t.height)}}const At="cdk-global-overlay-wrapper";function Ne($t){return new ze}class ze{_overlayRef;_cssPosition="static";_topOffset="";_bottomOffset="";_alignItems="";_xPosition="";_xOffset="";_width="";_height="";_isDisposed=!1;attach(it){const mt=it.getConfig();this._overlayRef=it,this._width&&!mt.width&&it.updateSize({width:this._width}),this._height&&!mt.height&&it.updateSize({height:this._height}),it.hostElement.classList.add(At),this._isDisposed=!1}top(it=""){return this._bottomOffset="",this._topOffset=it,this._alignItems="flex-start",this}left(it=""){return this._xOffset=it,this._xPosition="left",this}bottom(it=""){return this._topOffset="",this._bottomOffset=it,this._alignItems="flex-end",this}right(it=""){return this._xOffset=it,this._xPosition="right",this}start(it=""){return this._xOffset=it,this._xPosition="start",this}end(it=""){return this._xOffset=it,this._xPosition="end",this}width(it=""){return this._overlayRef?this._overlayRef.updateSize({width:it}):this._width=it,this}height(it=""){return this._overlayRef?this._overlayRef.updateSize({height:it}):this._height=it,this}centerHorizontally(it=""){return this.left(it),this._xPosition="center",this}centerVertically(it=""){return this.top(it),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const it=this._overlayRef.overlayElement.style,mt=this._overlayRef.hostElement.style,Ze=this._overlayRef.getConfig(),{width:Nt,height:vt,maxWidth:$e,maxHeight:ht}=Ze,Ae=!("100%"!==Nt&&"100vw"!==Nt||$e&&"100%"!==$e&&"100vw"!==$e),It=!("100%"!==vt&&"100vh"!==vt||ht&&"100%"!==ht&&"100vh"!==ht),Mt=this._xPosition,on=this._xOffset,Gt="rtl"===this._overlayRef.getConfig().direction;let hn="",Cn="",Sn="";Ae?Sn="flex-start":"center"===Mt?(Sn="center",Gt?Cn=on:hn=on):Gt?"left"===Mt||"end"===Mt?(Sn="flex-end",hn=on):("right"===Mt||"start"===Mt)&&(Sn="flex-start",Cn=on):"left"===Mt||"start"===Mt?(Sn="flex-start",hn=on):("right"===Mt||"end"===Mt)&&(Sn="flex-end",Cn=on),it.position=this._cssPosition,it.marginLeft=Ae?"0":hn,it.marginTop=It?"0":this._topOffset,it.marginBottom=this._bottomOffset,it.marginRight=Ae?"0":Cn,mt.justifyContent=Sn,mt.alignItems=It?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const it=this._overlayRef.overlayElement.style,mt=this._overlayRef.hostElement,Ze=mt.style;mt.classList.remove(At),Ze.justifyContent=Ze.alignItems=it.marginTop=it.marginBottom=it.marginLeft=it.marginRight=it.position="",this._overlayRef=null,this._isDisposed=!0}}let Ke=(()=>{class $t{_injector=(0,a.WQX)(a.zZn);constructor(){}global(){return Ne()}flexibleConnectedTo(mt){return J(this._injector,mt)}static \u0275fac=function(Ze){return new(Ze||$t)};static \u0275prov=a.jDH({token:$t,factory:$t.\u0275fac,providedIn:"root"})}return $t})();function Ct($t,it){$t.get(h._).load(Ye);const mt=$t.get(Se),Ze=$t.get(a.qQL),Nt=$t.get(Y._),vt=$t.get(t.o8S),$e=$t.get(ne.D),ht=Ze.createElement("div"),Ae=Ze.createElement("div");Ae.id=Nt.getId("cdk-overlay-"),Ae.classList.add("cdk-overlay-pane"),ht.appendChild(Ae),mt.getContainerElement().appendChild(ht);const It=new d.aI(Ae,vt,$t),Mt=new xe(it),on=$t.get(t.sFG,null,{optional:!0})||$t.get(t._9s).createRenderer(null,null);return Mt.direction=Mt.direction||$e.value,new Ge(It,ht,Ae,Mt,$t.get(t.SKi),$t.get($),Ze,$t.get(M.aZ),$t.get(K),it?.disableAnimations??"NoopAnimations"===$t.get(t.bc$,null,{optional:!0}),$t.get(a.uvJ),on)}let Wt=(()=>{class $t{scrollStrategies=(0,a.WQX)(et);_positionBuilder=(0,a.WQX)(Ke);_injector=(0,a.WQX)(a.zZn);constructor(){}create(mt){return Ct(this._injector,mt)}position(){return this._positionBuilder}static \u0275fac=function(Ze){return new(Ze||$t)};static \u0275prov=a.jDH({token:$t,factory:$t.\u0275fac,providedIn:"root"})}return $t})();const ln=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],Rn=new a.nKC("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:()=>{const $t=(0,a.WQX)(a.zZn);return()=>at($t)}});let Dn=(()=>{class $t{elementRef=(0,a.WQX)(t.aKT);constructor(){}static \u0275fac=function(Ze){return new(Ze||$t)};static \u0275dir=t.FsC({type:$t,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]})}return $t})(),Gn=(()=>{class $t{_dir=(0,a.WQX)(ne.D,{optional:!0});_injector=(0,a.WQX)(a.zZn);_overlayRef;_templatePortal;_backdropSubscription=b.yU.EMPTY;_attachSubscription=b.yU.EMPTY;_detachSubscription=b.yU.EMPTY;_positionSubscription=b.yU.EMPTY;_offsetX;_offsetY;_position;_scrollStrategyFactory=(0,a.WQX)(Rn);_disposeOnNavigation=!1;_ngZone=(0,a.WQX)(t.SKi);origin;positions;positionStrategy;get offsetX(){return this._offsetX}set offsetX(mt){this._offsetX=mt,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(mt){this._offsetY=mt,this._position&&this._updatePositionStrategy(this._position)}width;height;minWidth;minHeight;backdropClass;panelClass;viewportMargin=0;scrollStrategy;open=!1;disableClose=!1;transformOriginSelector;hasBackdrop=!1;lockPosition=!1;flexibleDimensions=!1;growAfterOpen=!1;push=!1;get disposeOnNavigation(){return this._disposeOnNavigation}set disposeOnNavigation(mt){this._disposeOnNavigation=mt}backdropClick=new t.bkB;positionChange=new t.bkB;attach=new t.bkB;detach=new t.bkB;overlayKeydown=new t.bkB;overlayOutsideClick=new t.bkB;constructor(){const mt=(0,a.WQX)(t.C4Q),Ze=(0,a.WQX)(t.c1b);this._templatePortal=new d.VA(mt,Ze),this.scrollStrategy=this._scrollStrategyFactory()}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef?.dispose()}ngOnChanges(mt){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef?.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),mt.origin&&this.open&&this._position.apply()),mt.open&&(this.open?this.attachOverlay():this.detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=ln);const mt=this._overlayRef=Ct(this._injector,this._buildConfig());this._attachSubscription=mt.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=mt.detachments().subscribe(()=>this.detach.emit()),mt.keydownEvents().subscribe(Ze=>{this.overlayKeydown.next(Ze),Ze.keyCode===U.g&&!this.disableClose&&!(0,T.rp)(Ze)&&(Ze.preventDefault(),this.detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(Ze=>{const Nt=this._getOriginElement(),vt=(0,r._)(Ze);(!Nt||Nt!==vt&&!Nt.contains(vt))&&this.overlayOutsideClick.next(Ze)})}_buildConfig(){const mt=this._position=this.positionStrategy||this._createPositionStrategy(),Ze=new xe({direction:this._dir||"ltr",positionStrategy:mt,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop,disposeOnNavigation:this.disposeOnNavigation});return(this.width||0===this.width)&&(Ze.width=this.width),(this.height||0===this.height)&&(Ze.height=this.height),(this.minWidth||0===this.minWidth)&&(Ze.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(Ze.minHeight=this.minHeight),this.backdropClass&&(Ze.backdropClass=this.backdropClass),this.panelClass&&(Ze.panelClass=this.panelClass),Ze}_updatePositionStrategy(mt){const Ze=this.positions.map(Nt=>({originX:Nt.originX,originY:Nt.originY,overlayX:Nt.overlayX,overlayY:Nt.overlayY,offsetX:Nt.offsetX||this.offsetX,offsetY:Nt.offsetY||this.offsetY,panelClass:Nt.panelClass||void 0}));return mt.setOrigin(this._getOrigin()).withPositions(Ze).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){const mt=J(this._injector,this._getOrigin());return this._updatePositionStrategy(mt),mt}
3_getOrigin(){return this.origin instanceof Dn?this.origin.elementRef:this.origin}_getOriginElement(){return this.origin instanceof Dn?this.origin.elementRef.nativeElement:this.origin instanceof t.aKT?this.origin.nativeElement:typeof Element<"u"&&this.origin instanceof Element?this.origin:null}attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(mt=>{this.backdropClick.emit(mt)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe((0,se.v)(()=>this.positionChange.observers.length>0)).subscribe(mt=>{this._ngZone.run(()=>this.positionChange.emit(mt)),0===this.positionChange.observers.length&&this._positionSubscription.unsubscribe()})),this.open=!0}detachOverlay(){this._overlayRef?.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.open=!1}static \u0275fac=function(Ze){return new(Ze||$t)};static \u0275dir=t.FsC({type:$t,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:[0,"cdkConnectedOverlayOrigin","origin"],positions:[0,"cdkConnectedOverlayPositions","positions"],positionStrategy:[0,"cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:[0,"cdkConnectedOverlayOffsetX","offsetX"],offsetY:[0,"cdkConnectedOverlayOffsetY","offsetY"],width:[0,"cdkConnectedOverlayWidth","width"],height:[0,"cdkConnectedOverlayHeight","height"],minWidth:[0,"cdkConnectedOverlayMinWidth","minWidth"],minHeight:[0,"cdkConnectedOverlayMinHeight","minHeight"],backdropClass:[0,"cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:[0,"cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:[0,"cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:[0,"cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:[0,"cdkConnectedOverlayOpen","open"],disableClose:[0,"cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:[0,"cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:[2,"cdkConnectedOverlayHasBackdrop","hasBackdrop",u.L39],lockPosition:[2,"cdkConnectedOverlayLockPosition","lockPosition",u.L39],flexibleDimensions:[2,"cdkConnectedOverlayFlexibleDimensions","flexibleDimensions",u.L39],growAfterOpen:[2,"cdkConnectedOverlayGrowAfterOpen","growAfterOpen",u.L39],push:[2,"cdkConnectedOverlayPush","push",u.L39],disposeOnNavigation:[2,"cdkConnectedOverlayDisposeOnNavigation","disposeOnNavigation",u.L39]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],features:[t.OA$]})}return $t})();const ui={provide:Rn,useFactory:function Yn($t){const it=(0,a.WQX)(a.zZn);return()=>at(it)}};let ti=(()=>{class $t{static \u0275fac=function(Ze){return new(Ze||$t)};static \u0275mod=t.$C({type:$t});static \u0275inj=a.G2t({providers:[Wt,ui],imports:[I.jI,d.jc,O.E9,O.E9]})}return $t})()},30536:(qe,ee,o)=>{"use strict";o.d(ee,{X:()=>_});var a=o(96780),t=o(18359);const u={schedule(C){let b=requestAnimationFrame,D=cancelAnimationFrame;const{delegate:f}=u;f&&(b=f.requestAnimationFrame,D=f.cancelAnimationFrame);const O=b(d=>{D=void 0,C(d)});return new t.yU(()=>D?.(O))},requestAnimationFrame(...C){const{delegate:b}=u;return(b?.requestAnimationFrame||requestAnimationFrame)(...C)},cancelAnimationFrame(...C){const{delegate:b}=u;return(b?.cancelAnimationFrame||cancelAnimationFrame)(...C)},delegate:void 0};var v=o(39687);const _=new class r extends v.q{flush(b){let D;this._active=!0,b?D=b.id:(D=this._scheduled,this._scheduled=void 0);const{actions:f}=this;let O;b=b||f.shift();do{if(O=b.execute(b.state,b.delay))break}while((b=f[0])&&b.id===D&&f.shift());if(this._active=!1,O){for(;(b=f[0])&&b.id===D&&f.shift();)b.unsubscribe();throw O}}}
3(class M extends a.R{constructor(b,D){super(b,D),this.scheduler=b,this.work=D}requestAsyncId(b,D,f=0){return null!==f&&f>0?super.requestAsyncId(b,D,f):(b.actions.push(this),b._scheduled||(b._scheduled=u.requestAnimationFrame(()=>b.flush(void 0))))}recycleAsyncId(b,D,f=0){var O;if(null!=f?f>0:this.delay>0)return super.recycleAsyncId(b,D,f);const{actions:d}=b;null!=D&&D===b._scheduled&&(null===(O=d[d.length-1])||void 0===O?void 0:O.id)!==D&&(u.cancelAnimationFrame(D),b._scheduled=void 0)}})},30546:(qe,ee,o)=>{"use strict";o.d(ee,{H:()=>Ce});var a=o(1875),t=o(89417),u=o(67376),v=o(21413),r=o(61594),_=o(56977),h=o(73664),C=o(2615),b=o(17705),D=o(88021),f=o(65316),O=o(51060);const d=["countrySelect"],L=Ue=>({direction:Ue}),E=Ue=>({"no-wrap":Ue}),se=Ue=>({"two-line-hint":Ue}),Y=Ue=>({"website-input":Ue});function ne(Ue,nt){1&Ue&&h.nrm(0,"div",36)}function U(Ue,nt){if(1&Ue&&(h.qex(0),h.j41(1,"mat-option",40),h.EFF(2),h.k0s(),h.bVm()),2&Ue){const we=nt.$implicit;h.R7$(),h.Y8G("value",we.value),h.R7$(),h.SpI(" ",we.key," ")}}function T(Ue,nt){if(1&Ue&&(h.j41(0,"mat-hint"),h.nrm(1,"app-source-hit",41),h.k0s()),2&Ue){const we=h.XpG(2).$implicit,at=h.XpG(2);h.R7$(),h.Y8G("createdDate",at.countriesMap[we.putCode].createdDate)("source",we.sourceName||we.source)("assertion",we.assertionOriginName||we.assertionOriginOrcid)}}function I(Ue,nt){if(1&Ue&&(h.j41(0,"mat-form-field",37)(1,"mat-select",38,0),h.DNE(3,U,3,2,"ng-container",39),h.nI1(4,"sortBy"),h.k0s(),h.DNE(5,T,2,3,"mat-hint",17),h.k0s()),2&Ue){const we=h.XpG(),at=we.$implicit,Xe=we.index,et=h.XpG(2);h.Y8G("ngClass",h.eq3(13,se,et.isMobile)),h.BMQ("id","cy-country-"+Xe),h.R7$(),h.Y8G("id",h.VkB("cy-country-select-",Xe))("placeholder",h.VkB(" ",et.ngOrcidCountry))("aria-label",et.ariaLabelSelect),h.R7$(2),h.Y8G("ngForOf",h.brH(4,9,et.countryCodes,"asc","key")),h.R7$(2),h.Y8G("ngIf",at.putCode.indexOf("new")<0)}}function w(Ue,nt){if(1&Ue&&(h.j41(0,"mat-hint"),h.nrm(1,"app-source-hit",41),h.k0s()),2&Ue){const we=h.XpG(2).$implicit,at=h.XpG(2);h.R7$(),h.Y8G("createdDate",at.countriesMap[we.putCode].createdDate)("source",we.sourceName||we.source)("assertion",we.assertionOriginName||we.assertionOriginOrcid)}}function Z(Ue,nt){if(1&Ue&&(h.j41(0,"mat-form-field",42),h.nrm(1,"input",43,1),h.DNE(3,w,2,3,"mat-hint",17),h.k0s()),2&Ue){const we=h.XpG().$implicit,at=h.XpG(2);h.R7$(),h.Y8G("readonly",!0)("ngClass",h.eq3(5,Y,"rtl"===at.screenDirection))("value",we.countryName||""),h.BMQ("aria-label",at.ariaLabelCountryLocationReadOnly),h.R7$(2),h.Y8G("ngIf",we.putCode.indexOf("new")<0)}}function N(Ue,nt){if(1&Ue){const we=h.RV6();h.j41(0,"div",25),h.DNE(1,ne,1,0,"div",26),h.j41(2,"div",27)(3,"div",28),h.nrm(4,"img",29),h.DNE(5,I,6,15,"mat-form-field",30)(6,Z,4,7,"mat-form-field",31),h.k0s(),h.j41(7,"div",32),h.nrm(8,"app-visibility-selector",33),h.j41(9,"button",34),h.bIt("click",function(){const Xe=C.eBV(we).$implicit,et=h.XpG(2);return C.Njj(et.deleteCountry(Xe.putCode))}),h.j41(10,"mat-icon",35),h.EFF(11,"delete "),h.k0s()()()(),h.nrm(12,"hr",22),h.k0s()}if(2&Ue){const we=nt.$implicit,at=nt.index,Xe=h.XpG(2);h.Y8G("ngStyle",h.eq3(8,L,Xe.screenDirection))("formGroupName",we.putCode),h.BMQ("id","draggable-"+at),h.R7$(2),h.Y8G("ngClass",h.eq3(10,E,!Xe.isMobile)),h.R7$(3),h.Y8G("ngIf",!(we.source&&we.source!==Xe.id)),h.R7$(),h.Y8G("ngIf",we.source&&we.source!==Xe.id),h.R7$(2),h.Y8G("itemTitle",we.countryName||""),h.R7$(),h.BMQ("aria-label",Xe.ariaLabelDelete+" "+(we.countryName||""))}}function oe(Ue,nt){if(1&Ue){const we=h.RV6();h.qex(0),h.j41(1,"div",14)(2,"h2",21),h.pXf(3,6),h.k0s()(),h.nrm(4,"hr",22),h.j41(5,"section",23),h.bIt("cdkDropListDropped",function(Xe){C.eBV(we);const et=h.XpG();return C.Njj(et.drop(Xe))}),h.DNE(6,N,13,12,"div",24),h.k0s(),h.bVm()}if(2&Ue){const we=h.XpG();h.R7$(6),h.Y8G("ngForOf",we.countries)}}function H(Ue,nt){1&Ue&&(h.qex(0),h.pXf(1,7),h.bVm())}function ie(Ue,nt){1&Ue&&(h.qex(0),h.pXf(1,8),h.bVm())}let Ce=(()=>{class Ue{constructor(we,at,Xe,et){this.dialogRef=we,this._recordCountryService=at,this._changeDetectorRef=Xe,this._platform=et,this.ariaLabelSave="Save changes to Countries",this.ariaLabelCancel="Cancel changes and close Countries",this.ariaLabelDelete="Delete Country or location",this.ariaLabelSelect="Select country or location",this.ariaLabelCountryLocationReadOnly="Country or location",this.ariaLabelClose="Close Countries",this.$destroy=new v.B,this.addedEmailsCount=0,this.loadingCountries=!0,this.loadingCountryCodes=!0,this.ngOrcidCountry="Select a country or location",this.countryOrLocationLabel="Country or location"}ngOnInit(){this._recordCountryService.getAddresses().pipe((0,r.$)()).subscribe(we=>{this.defaultVisibility=we.visibility.visibility,this.originalBackendCountries=(0,u.cloneDeep)(we),this.countries=this.originalBackendCountries.addresses,this.countriesMap={},this.originalBackendCountries.addresses.map(at=>
3this.countriesMap[at.putCode]=at),this.backendJsonToForm(this.originalBackendCountries),this.loadingCountries=!1}),this._recordCountryService.getCountryCodes().pipe((0,r.$)()).subscribe(we=>{this.countryCodes=we,this.loadingCountryCodes=!1}),this._platform.get().pipe((0,_.Q)(this.$destroy)).subscribe(we=>{this.isMobile=we.columns4||we.columns8,this.screenDirection=we.screenDirection})}backendJsonToForm(we){const Xe={};we.addresses.forEach(et=>{Xe[et.putCode]=new t.J3({country:new t.hs(et.iso2Country.value),visibility:new t.hs(et.visibility.visibility,{})})}),this.countryForm=new t.J3(Xe)}formToBackend(we){const at={errors:[],addresses:[],visibility:this.originalBackendCountries.visibility};return this._changeDetectorRef.detach(),this.countries.reverse(),this.countries.map(Xe=>Xe.putCode).filter(Xe=>we.getRawValue()[Xe].country).forEach((Xe,et)=>{const xe=we.getRawValue()[Xe].country,De=we.getRawValue()[Xe].visibility;we.getRawValue()[Xe]&&at.addresses.push({putCode:0===Xe.indexOf("new-")?null:Xe,countryName:this.countryCodes.find(ue=>ue.value===xe)?.key,iso2Country:{value:xe},displayIndex:et+1,visibility:{visibility:De}})}),at}saveEvent(){this.loadingCountries=!0,this._recordCountryService.postAddresses(this.formToBackend(this.countryForm)).subscribe(we=>{this.closeEvent()})}closeEvent(){this.dialogRef.close()}drop(we){(0,a.HD)(this.countries,we.previousIndex,we.currentIndex)}addCountry(){this.countryForm.addControl("new-"+this.addedEmailsCount,new t.J3({country:new t.hs,visibility:new t.hs(this.defaultVisibility,{})})),this.countries.push({putCode:"new-"+this.addedEmailsCount,visibility:{visibility:this.defaultVisibility}}),this.addedEmailsCount++,this._changeDetectorRef.detectChanges(),this.inputs.last.focus()}deleteCountry(we){const at=this.countries.findIndex(Xe=>Xe.putCode===we);this.countries.splice(at,1),this.countryForm.removeControl(we)}ngOnDestroy(){this.$destroy.next(!0),this.$destroy.unsubscribe()}static{this.\u0275fac=function(at){return new(at||Ue)(h.rXU(D.k),h.rXU(f.b),h.rXU(b.gRc),h.rXU(O.Z))}}static{this.\u0275cmp=h.VBU({type:Ue,selectors:[["app-modal-country"]],viewQuery:function(at,Xe){if(1&at&&h.GBs(d,5),2&at){let et;h.mGM(et=h.lsd())&&(Xe.inputs=et)}},standalone:!1,decls:21,vars:9,consts:()=>{let we,at,Xe,et,xe,De,ue;return we="Countries",at=" Save changes ",Xe=" Cancel ",et=" Add countries or locations to your ORCID record to highlight where you conduct your research or where your research is focused. You can add as many countries or locations as you want. ",xe=" My countries/locations ",De="Add a country or location",ue="Add another country or location",[["countrySelect",""],["descriptionInput",""],we,at,Xe,et,xe,De,ue,[3,"loading","noSidebar"],[3,"closeLabel"],["mat-raised-button","","color","primary","id","save-countries-button",3,"click"],["mat-stroked-button","","color","primary","id","cancel-countries-button",3,"click"],[1,"container","no-padding",3,"formGroup"],[1,"row"],[1,"col","no-gutters"],[1,"orc-font-body-small"],[4,"ngIf"],["id","add-link",1,"col","add-more","no-gutters",3,"click"],[1,"large-material-icon"],[1,"mat-subtitle-2"],[1,"col","no-gutters","orc-font-body"],[1,"dashed-line"],["id","my-countries","id","country-dropList","cdkDropList","",1,"row","country-list",3,"cdkDropListDropped"],["cdkDrag","","class","row country-box",3,"ngStyle","formGroupName",4,"ngFor","ngForOf"],["cdkDrag","",1,"row","country-box",3,"ngStyle","formGroupName"],["class","row drag-placeholder",4,"cdkDragPlaceholder"],[1,"row","country-input-line",3,"ngClass"],[1,"col","l12","m8","s4","top","no-wrap","no-gutters","input-container"],["cdkDragHandle","","src","./assets/vectors/draggable.svg","aria-label","drag handle"],["appearance","outline","class","mat-form-field-min",3,"ngClass",4,"ngIf"],["appearance","outline","class","mat-form-field-min description read-only",4,"ngIf"],[1,"col","no-wrap","actions-wrapper","no-gutters"],["formControlName","visibility",3,"itemTitle"],["mat-icon-button","",1,"delete-button",3,"click"],[1,"material-icons-outlined","extra-large-material-icon"],[1,"row","drag-placeholder"],["appearance","outline",1,"mat-form-field-min",3,"ngClass"],["formControlName","country",3,"aria-label","id","placeholder"],[4,"ngFor","ngForOf"],[3,"value"],[3,"createdDate","source","assertion"],["appearance","outline",1,"mat-form-field-min","description","read-only"],["matInput","",1,"cy-description-input",3,"readonly","ngClass","value"]]},template:function(at,Xe){1&at&&(h.j41(0,"app-modal",9)(1,"app-modal-header",10),h.pXf(2,2),h.k0s(),h.j41(3,"app-modal-footer")(4,"button",11),h.bIt("click",function(){return Xe.saveEvent()}),h.pXf(5,3),h.k0s(),h.j41(6,"button",12),h.bIt("click",function(){return Xe.closeEvent()}),h.pXf(7,4),h.k0s()(),h.j41(8,"div",13)(9,"div",14)(10,"div",15)(11,"p",16),h.pXf(12,5),h.k0s()()(),h.DNE(13,oe,7,1,"ng-container",17),h.j41(14,"div",14)(15,"a",18),h.bIt("click",function(){return Xe.addCountry()}),h.j41(16,"mat-icon",19),h.EFF(17,"add_circle_outline"),h.k0s(),h.j41(18,"span",20),h.DNE(19,H,2,0,"ng-container",17)(20,ie,2,0,"ng-container",17),h.k0s()()()()()),2&at&&(h.Y8G("loading",Xe.loadingCountries||Xe.loadingCountryCodes)("noSidebar",!0),h.R7$(),h.Y8G("closeLabel",Xe.ariaLabelClose),h.R7$(3),h.BMQ("aria-label",Xe.ariaLabelSave),h.R7$(2),h.BMQ("aria-label",Xe.ariaLabelCancel),h.R7$(2),h.Y8G("formGroup",Xe.countryForm),h.R7$(5),h.Y8G("ngIf",(null==Xe.countries?null:Xe.countries.length)>0),h.R7$(6),h.Y8G("ngIf",0===(null==Xe.countries?null:Xe.countries.length)),h.R7$(),h.Y8G("ngIf",0!==(null==Xe.countries?null:Xe.countries.length)))},styles:["[_nghost-%COMP%] mat-form-field mat-icon{color:#bdbdbd}[_nghost-%COMP%] mat-form-field.email-activated mat-icon{color:#a6ce39}",".actions-wrapper[_ngcontent-%COMP%]{flex-wrap:nowrap}.country-list.cdk-drop-list-dragging[_ngcontent-%COMP%] .country-box[_ngcontent-%COMP%]:not(.cdk-drag-placeholder){transition:transform .25s cubic-bezier(0,0,.2,1)}.country-input-line[_ngcontent-%COMP%]{margin-top:10px;margin-bottom:4px}.country-input-line[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{margin-top:6px;cursor:move;z-index:1;margin-inline-start:6px;margin-inline-end:10px}.mat-mdc-form-field[_ngcontent-%COMP%]{width:100%;margin-inline-end:16px} .columns-4-or-8 .mat-mdc-form-field{width:100%;margin-inline-end:auto}.add-more[_ngcontent-%COMP%]{margin-top:16px}.add-more[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{padding-left:6px} .columns-4-or-8 .country-input-line .input-container{padding-bottom:30px} .columns-4-or-8 .country-input-line .actions-wrapper{padding-bottom:10px;justify-content:space-between} .columns-4-or-8 .actions-wrapper{width:100%}.delete-button[_ngcontent-%COMP%], app-visibility-selector[_ngcontent-%COMP%]{margin-left:16px}.delete-button[_ngcontent-%COMP%]{margin-top:-3px}"]})}}return Ue})()},30691:(qe,ee,o)=>{"use strict";o.d(ee,{U:()=>vt});var a=o(73664),t=o(72200),u=o(67376),M=o(21413),v=o(56977),r=o(1734),_=o(15349),h=o(81074),C=o(88834),b=o(91438);let D=(()=>{class $e{static{this.\u0275fac=function(It){return new(It||$e)}}static{this.\u0275dir=a.FsC({type:$e,selectors:[["","accentButton",""]],hostAttrs:[1,"accent-button"]})}}return $e})();var f=o(2615),O=o(91029),d=o(8435),L=o(26194),E=o(23768);function se($e,ht){if(1&$e){const Ae=a.RV6();a.j41(0,"button",1),a.bIt("click",function(){f.eBV(Ae);const Mt=a.XpG();return f.Njj(Mt.onClick())}),a.j41(1,"mat-icon",2),a.EFF(2,"edit"),a.k0s()()}if(2&$e){const Ae=a.XpG();a.Y8G("matTooltip",Ae.tooltip),a.BMQ("aria-label",Ae.tooltip)}}let Y=(()=>{class $e{constructor(Ae,It,Mt,on){this._router=Ae,this._user=It,this._state=Mt,this.window=on,this.$destroy=new M.B,this.visible=!1,this.tooltip="",this.isLoggedIn=!1,this.publicOrcid=null,this._state.isPublicRecord$.pipe((0,v.Q)(this.$destroy)).subscribe(Gt=>{this.publicOrcid=Gt,this.computeState()}),this._user.getUserSession().pipe((0,v.Q)(this.$destroy)).subscribe(Gt=>{const hn=Gt?.userInfo;this.isLoggedIn=!!hn,this.loggedUserOrcid=hn?.EFFECTIVE_USER_ORCID,this.computeState()})}computeState(){return this.isLoggedIn?this.publicOrcid&&this.loggedUserOrcid&&this.publicOrcid===this.loggedUserOrcid?(this.visible=!0,void(this.tooltip="Edit your ORCID record")):(this.visible=!1,void(this.tooltip="")):(this.visible=!0,void(this.tooltip="Is this you? Sign in to start editing your ORCID record"))}onClick(){this._router.navigate(this.isLoggedIn?["my-orcid"]:["signin"])}static{this.\u0275fac=function(It){return new(It||$e)(a.rXU(O.Ix),a.rXU(d.DL),a.rXU(L.p),a.rXU(r.jf))}}static{this.\u0275cmp=a.VBU({type:$e,selectors:[["app-record-edit-button"]],decls:1,vars:1,consts:[["mat-icon-button","","class","edit-record-button","accentButton","",3,"matTooltip","click",4,"ngIf"],["mat-icon-button","","accentButton","",1,"edit-record-button",3,"click","matTooltip"],[1,"icon"]],template:function(It,Mt){1&It&&a.DNE(0,se,3,2,"button",0),2&It&&a.Y8G("ngIf",Mt.visible)},dependencies:[t.MD,t.bT,h.m_,h.An,C.Hl,E.M,b.h,b.e,D],styles:[".edit-record-button[_ngcontent-%COMP%]{height:48px}"]})}}return $e})();var ne=o(67575),U=o(71997),T=o(32413),I=o(17705);const w=["wrapperRef"],Z=["*"];function N($e,ht){if(1&$e){const Ae=a.RV6();a.j41(0,"span",4,0),a.bIt("mouseenter",function(Mt){f.eBV(Ae);const on=a.XpG();return f.Njj(on.onMouseEnter(Mt))})("mousemove",function(Mt){f.eBV(Ae);const on=a.XpG();return f.Njj(on.onMouseMove(Mt))})("mouseleave",function(){f.eBV(Ae);const Mt=a.XpG();return f.Njj(Mt.onMouseLeave())}),a.SdG(2),a.k0s()}}function oe($e,ht){if(1&$e&&a.nrm(0,"orcid-skeleton-placeholder",5),2&$e){const Ae=a.XpG();a.Y8G("shape",Ae.skeletonShape)("width",Ae.skeletonWidth)("height",Ae.textHeightSkeleton)}}function H($e,ht){if(1&$e&&(a.j41(0,"div",6),a.EFF(1),a.k0s()),2&$e){const Ae=a.XpG();a.xc7("left",Ae.tooltipX,"px")("top",Ae.tooltipY,"px"),a.R7$(),a.SpI(" ",Ae.tooltipText," ")}}let ie=(()=>{class $e{constructor(Ae){this.cdr=Ae,this.text="",this.loading=!1,this.skeletonShape="square",this.skeletonWidth="100%",this.textHeightSkeleton="auto",this.height="auto",this.center=!1,this.hiddenSkeleton=!1,this.overflows=!1,this.showCustomTooltip=!1,this.tooltipX=0,this.tooltipY=0}ngAfterViewInit(){requestAnimationFrame(()=>{this.checkOverflow(),this.setupResizeObserver(),this.cdr.detectChanges()})}ngOnChanges(Ae){Ae.text||Ae.loading?setTimeout(()=>{this.checkOverflow(),this.setupResizeObserver()},0):setTimeout(()=>{this.checkOverflow()},0)}ngOnDestroy(){this.resizeObserver&&this.resizeObserver.disconnect()}onResize(){this.checkOverflow()}setupResizeObserver(){if(typeof ResizeObserver>"u")return;this.resizeObserver&&this.resizeObserver.disconnect(),this.resizeObserver=new ResizeObserver(()=>{this.checkOverflow()});const Ae=this.wrapperElement?.nativeElement;if(Ae){this.resizeObserver.observe(Ae);const It=Ae.firstElementChild;It&&this.resizeObserver.observe(It)}}checkOverflow(){const Ae=this.wrapperElement?.nativeElement;if(!Ae)return void(this.overflows=!1);const It=Ae.firstElementChild;if(It){const Mt=this.overflows;this.overflows=It.scrollWidth>It.clientWidth,Mt!==this.overflows&&this.cdr.detectChanges()}else{const Mt=this.overflows;this.overflows=Ae.scrollWidth>Ae.clientWidth,Mt!==this.overflows&&this.cdr.detectChanges()}}get tooltipText(){return this.text?this.text:this.wrapperElement?.nativeElement?.textContent?.trim()||""}get shouldShowTooltip(){return!this.loading&&this.overflows&&!!this.tooltipText}get hostWidth(){return this.loading?"100%":"auto"}get hostMinHeight(){return"auto"!==this.height?this.height:"0"}get hostDisplay(){return this.loading?"flex":this.tooltipText?this.center?"flex":"inl
3ine-block":"none"}get hostJustifyContent(){return this.center?"center":"normal"}get hostAlignItems(){return this.center||this.loading?"center":"normal"}get hasTextClass(){return!!this.tooltipText||this.loading}onMouseEnter(Ae){this.shouldShowTooltip&&(this.updateTooltipPosition(Ae),this.showCustomTooltip=!0,this.cdr.detectChanges())}onMouseMove(Ae){this.showCustomTooltip&&(this.updateTooltipPosition(Ae),this.cdr.detectChanges())}onMouseLeave(){this.showCustomTooltip=!1,this.cdr.detectChanges()}updateTooltipPosition(Ae){this.tooltipX=Ae.clientX+10,this.tooltipY=Ae.clientY+10;const on=window.innerWidth,Gt=window.innerHeight;this.tooltipX+300>on&&(this.tooltipX=Ae.clientX-300-10),this.tooltipY+100>Gt&&(this.tooltipY=Ae.clientY-100-10),this.tooltipX<10&&(this.tooltipX=10),this.tooltipY<10&&(this.tooltipY=10)}static{this.\u0275fac=function(It){return new(It||$e)(a.rXU(I.gRc))}}static{this.\u0275cmp=a.VBU({type:$e,selectors:[["orcid-text-with-tooltip"]],viewQuery:function(It,Mt){if(1&It&&a.GBs(w,5,a.aKT),2&It){let on;a.mGM(on=a.lsd())&&(Mt.wrapperElement=on.first)}},hostVars:12,hostBindings:function(It,Mt){1&It&&a.bIt("resize",function(Gt){return Mt.onResize(Gt)},a.tSv),2&It&&(a.xc7("width",Mt.hostWidth)("min-height",Mt.hostMinHeight)("display",Mt.hostDisplay)("justify-content",Mt.hostJustifyContent)("align-items",Mt.hostAlignItems),a.AVh("has-text",Mt.hasTextClass))},inputs:{text:"text",loading:"loading",skeletonShape:"skeletonShape",skeletonWidth:"skeletonWidth",textHeightSkeleton:"textHeightSkeleton",height:"height",center:"center",hiddenSkeleton:"hiddenSkeleton"},features:[a.OA$],ngContentSelectors:Z,decls:3,vars:3,consts:[["wrapperRef",""],["class","text-wrapper",3,"mouseenter","mousemove","mouseleave",4,"ngIf"],[3,"shape","width","height",4,"ngIf"],["class","custom-tooltip",3,"left","top",4,"ngIf"],[1,"text-wrapper",3,"mouseenter","mousemove","mouseleave"],[3,"shape","width","height"],[1,"custom-tooltip"]],template:function(It,Mt){1&It&&(a.NAR(),a.DNE(0,N,3,0,"span",1)(1,oe,1,3,"orcid-skeleton-placeholder",2)(2,H,2,5,"div",3)),2&It&&(a.Y8G("ngIf",!Mt.loading),a.R7$(),a.Y8G("ngIf",Mt.loading&&!Mt.hiddenSkeleton),a.R7$(),a.Y8G("ngIf",Mt.showCustomTooltip))},dependencies:[t.MD,t.bT,T.e],styles:["[_nghost-%COMP%]{max-width:100%;min-width:0;vertical-align:middle;line-height:normal}.text-wrapper[_ngcontent-%COMP%]{display:inline-block;max-width:100%;min-width:0;line-height:normal}.text-wrapper[_ngcontent-%COMP%] >*{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}.custom-tooltip[_ngcontent-%COMP%]{position:fixed;z-index:10000;background-color:#000000de;color:#fff;padding:8px 12px;border-radius:4px;font-size:12px;max-width:300px;word-wrap:break-word;white-space:normal;pointer-events:none;box-shadow:0 2px 8px #00000026;transform:translate(10px,10px);line-height:normal}"]})}}return $e})();const Ce=[[["","header-banner-logo",""]],[["","header-banner-id-actions",""]],[["","record-header-summary-actions",""]],[["","header-banner-expanded-label",""]],[["","header-banner-collapsed-label",""]]],Ue=["[header-banner-logo]","[header-banner-id-actions]","[record-header-summary-actions]","[header-banner-expanded-label]","[header-banner-collapsed-label]"],nt=($e,ht,Ae,It)=>({mobile:$e,desktop:ht,compact:Ae,expanded:It}),we=($e,ht)=>({"orc-ui-font-body-large":$e,"orc-ui-font-heading-small":ht}),at=($e,ht)=>({"orc-ui-font-heading-small":$e,"orc-ui-font-heading":ht}),Xe=$e=>({mobile:$e}),et=($e,ht,Ae)=>({"orc-ui-font-body-small":$e,"orc-ui-font-body":ht,mobile:Ae});function xe($e,ht){if(1&$e&&(a.j41(0,"div",18)(1,"orcid-text-with-tooltip",19)(2,"h1",20),a.EFF(3),a.k0s()()()),2&$e){const Ae=a.XpG(2);a.R7$(),a.Y8G("text",Ae.title)("loading",Ae.loading)("center",!Ae.isDesktop),a.R7$(),a.Y8G("ngClass",a.l_i(5,we,!Ae.isDesktop,Ae.isDesktop)),a.R7$(),a.SpI(" ",Ae.title," ")}}function De($e,ht){if(1&$e&&(a.j41(0,"orcid-text-with-tooltip",24)(1,"p",25),a.EFF(2),a.k0s()()),2&$e){const Ae=a.XpG(3);a.Y8G("text",Ae.subtitle)("loading",Ae.loading)("hiddenSkeleton",!0)("center",!Ae.isDesktop),a.R7$(2),a.SpI(" ",Ae.subtitle," ")}}function ue($e,ht){if(1&$e&&(a.j41(0,"orcid-text-with-tooltip",26)(1,"p",27),a.EFF(2),a.k0s()()),2&$e){const Ae=a.XpG(3);a.Y8G("text",Ae.caption)("loading",Ae.loading)("hiddenSkeleton",!0)("textHeightSkeleton",Ae.isDesktop?"16px":"14px")("center",!Ae.isDesktop),a.R7$(),a.Y8G("ngClass",Ae.isDesktop?"orc-ui-font-body":"orc-ui-font-body-small"),a.R7$(),a.SpI(" ",Ae.caption," ")}}function z($e,ht){if(1&$e&&(a.j41(0,"div",21),a.DNE(1,De,3,5,"orcid-text-with-tooltip",22)(2,ue,3,7,"orcid-text-with-tooltip",23),a.k0s()),2&$e){const Ae=a.XpG(2);a.R7$(),a.Y8G("ngIf",Ae.subtitle),a.R7$(),a.Y8G("ngIf",Ae.caption)}}function de($e,ht){if(1&$e){const Ae=a.RV6();a.j41(0,"button",31),a.bIt("click",function(){f.eBV(Ae);const Mt=a.XpG(3);return f.Njj(Mt.onMainActionClick())}),a.j41(1,"mat-icon"),a.EFF(2,"edit"),a.k0s()()}if(2&$e){const Ae=a.XpG(3);a.Y8G("matTooltip",Ae.mainActionName),a.BMQ("aria-label",Ae.mainActionName)}}function ae($e,ht){1&$e&&a.nrm(0,"orcid-skeleton-placeholder",32),2&$e&&a.Y8G("shimmerPercentage",60)}function X($e,ht){if(1&$e&&(a.j41(0,"div",28),a.DNE(1,de,3,2,"button",29)(2,ae,1,1,"orcid-skeleton-placeholder",30),a.k0s()),2&$e){const Ae=a.XpG(2);a.R7$(),a.Y8G("ngIf",!Ae.loading&&Ae.mainActionName),a.R7$(),a.Y8G("ngIf",Ae.loading)}}function $($e,ht){if(1&$e&&(a.j41(0,"section",14),a.DNE(1,xe,4,8,"div",15)(2,z,3,2,"div",16)(3,X,3,2,"div",17),a.k0s()),2&$e){const Ae=a.XpG();a.Y8G("id","names"),a.BMQ("aria-label",Ae.regionNames),a.R7$(),a.Y8G("ngIf",Ae.title||Ae.loading),a.R7$(),a.Y8G("ngIf",Ae.subtitle||Ae.caption||Ae.loading),a.R7$(),a.Y8G("ngIf",!Ae.issueTitle)}}function K($e,ht){if(1&$e&&(a.j41(0,"div",33)(1,"orcid-text-with-tooltip")(2,"h1",20),a.EFF(3),a.k0s()()()),2&$e){const Ae=a.XpG();a.R7$(2),a.Y8G("ngClass",a.l_i(2,at,!Ae.isDesktop,Ae.isDesktop)),a.R7$(),a.SpI(" ",Ae.issueTitle," ")}}function Be($e,ht){1&$e&&a.nrm(0,"mat-divider",34)}function Ye($e,ht){if(1&$e&&(a.j41(0,"div",35)(1,"orcid-text-with-tooltip",36)(2,"h1",37),a.EFF(3),a.k0s()()()),2&$e){const Ae=a.XpG();a.R7$(),a.Y8G("text",Ae.title)("loading",Ae.loading)("height",Ae.compactMode?"24px":"36px"),a.R7$(),a.Y8G("ngClass",a.eq3(5,Xe,!Ae.isDesktop)),a.R7$(),a.SpI(" ",Ae.title," ")}}function Se($e,ht){if(1&$e&&(a.qex(0),a.EFF(1),a.bVm()),2&$e){const Ae=a.XpG(2);a.R7$(),a.SpI(" ",Ae.primaryIdText," ")}}function pt($e,ht){if(1&$e&&a.EFF(0),2&$e){const Ae=a.XpG(2);a.JRh(Ae.secondaryIdText)}}function Ge($e,ht){if(1&$e&&(a.j41(0,"div",38)(1,"div",39),a.SdG(2),a.j41(3,"h2",40),a.DNE(4,Se,2,1,"ng-container",41)(5,pt,1,1,"ng-template",null,0,a.C5r),a.k0s()()()),2&$e){const Ae=a.sdS(6),It=a.XpG();a.R7$(3),a.Y8G("ngClass",a.sMw(3,et,It.compactMode,!It.compactMode,!It.isDesktop)),a.R7$(),a.Y8G("ngIf",!It.isDesktop)("ngIfElse",Ae)}}function bt($e,ht){1&$e&&(a.j41(0,"div",42)(1,"div",39),a.nrm(2,"orcid-skeleton-placeholder",43)(3,"orcid-skeleton-placeholder",44),a.k0s()())}function me($e,ht){1&$e&&(a.j41(0,"div",45),a.SdG(1,1),a.k0s())}function J($e,ht){1&$e&&(a.j41(0,"div",46),a.nrm(1,"orcid-skeleton-placeholder",32)(2,"orcid-skeleton-placeholder",32),a.k0s()),2&$e&&(a.R7$(),a.Y8G("shimmerPercentage",60),a.R7$(),a.Y8G("shimmerPercentage",60))}function R($e,ht){1&$e&&(a.qex(0),a.SdG(1,2),a.bVm())}function x($e,ht){1&$e&&(a.j41(0,"mat-icon"),a.EFF(1,"expand_more"),a.k0s())}function ce($e,ht){1&$e&&(a.j41(0,"mat-icon",52),a.EFF(1," expand_less "),a.k0s())}function Pe($e,ht){1&$e&&(a.qex(0),a.SdG(1,3),a.bVm())}function pe($e,ht){1&$e&&(a.qex(0),a.SdG(1,4),a.bVm())}function st($e,ht){if(1&$e){const Ae=a.RV6();a.j41(0,"button",49),a.bIt("click",function(){f.eBV(Ae);const Mt=a.XpG(3);return f.Njj(Mt.onToggleExpanded())}),a.DNE(1,x,2,0,"mat-icon",50)(2,ce,2,0,"mat-icon",51)(3,Pe,2,0,"ng-container",50)(4,pe,2,0,"ng-container",50),a.k0s()}if(2&$e){const Ae=a.XpG(3);a.R7$(),a.Y8G("ngIf",Ae.expanded),a.R7$(),a.Y8G("ngIf",!Ae.expanded),a.R7$(),a.Y8G("ngIf",Ae.expanded),a.R7$(),a.Y8G("ngIf",!Ae.expanded)}}function Qe($e,ht){if(1&$e&&a.DNE(0,st,5,4,"button",48),2&$e){const Ae=a.XpG(2);a.Y8G("ngIf",Ae.canToggleExpanded)}}function At($e,ht){if(1&$e&&(a.j41(0,"div",47),a.DNE(1,R,2,0,"ng-container",41)(2,Qe,1,1,"ng-template",null,1,a.C5r),a.k0s()),2&$e){const Ae=a.sdS(3),It=a.XpG();
3a.R7$(),a.Y8G("ngIf",It.compactMode&&It.isDesktop&&!It.expanded||It.compactMode&&!It.isDesktop)("ngIfElse",Ae)}}function Ne($e,ht){1&$e&&(a.qex(0),a.nrm(1,"orcid-skeleton-placeholder",54),a.bVm())}function ze($e,ht){1&$e&&(a.qex(0),a.nrm(1,"orcid-skeleton-placeholder",54),a.bVm())}function Ke($e,ht){1&$e&&(a.qex(0),a.nrm(1,"orcid-skeleton-placeholder",55),a.bVm()),2&$e&&(a.R7$(),a.Y8G("shimmerPercentage",70))}function Ct($e,ht){if(1&$e&&(a.j41(0,"div",53),a.DNE(1,Ne,2,0,"ng-container",50)(2,ze,2,0,"ng-container",50)(3,Ke,2,1,"ng-container",50),a.k0s()),2&$e){const Ae=a.XpG();a.R7$(),a.Y8G("ngIf",Ae.compactMode&&!Ae.isDesktop),a.R7$(),a.Y8G("ngIf",Ae.compactMode&&Ae.isDesktop),a.R7$(),a.Y8G("ngIf",!Ae.compactMode)}}let Wt=(()=>{class $e{constructor(){this.loading=!1,this.compactMode=!1,this.isDesktop=!0,this.title="",this.subtitle="",this.caption="",this.issueTitle="",this.primaryIdText="",this.secondaryIdText="",this.expanded=!1,this.canToggleExpanded=!1,this.expandedChange=new a.bkB,this.regionNames="",this.regionOrcidId="",this.mainActionName="",this.mainActionClicked=new a.bkB}get hideTitle(){return!!this.issueTitle}onToggleExpanded(){this.expandedChange.emit(!this.expanded)}onMainActionClick(){this.mainActionClicked.emit()}static{this.\u0275fac=function(It){return new(It||$e)}}static{this.\u0275cmp=a.VBU({type:$e,selectors:[["orcid-header-banner"]],inputs:{loading:"loading",compactMode:"compactMode",isDesktop:"isDesktop",title:"title",subtitle:"subtitle",caption:"caption",issueTitle:"issueTitle",primaryIdText:"primaryIdText",secondaryIdText:"secondaryIdText",expanded:"expanded",canToggleExpanded:"canToggleExpanded",regionNames:"regionNames",regionOrcidId:"regionOrcidId",mainActionName:"mainActionName"},outputs:{expandedChange:"expandedChange",mainActionClicked:"mainActionClicked"},ngContentSelectors:Ue,decls:12,vars:18,consts:[["elseBlock",""],["summaryToggle",""],[1,"record-header",3,"ngClass"],["class","names-section","role","region",3,"id",4,"ngIf"],["class","issue-area",4,"ngIf"],["class","divider",4,"ngIf"],["role","region",1,"id-section",3,"id"],["class","compact-title-area",4,"ngIf"],["class","id-area",4,"ngIf"],["class","id-area loading-placeholder","aria-hidden","true",4,"ngIf"],["class","id-actions-area",4,"ngIf"],["class","id-actions-area loading-placeholder","aria-hidden","true",4,"ngIf"],["class","summary-actions-area",4,"ngIf"],["class","summary-actions-area loading-placeholder","aria-hidden","true",4,"ngIf"],["role","region",1,"names-section",3,"id"],["class","title-area",4,"ngIf"],["class","other-names-area",4,"ngIf"],["class","name-actions-area",4,"ngIf"],[1,"title-area"],["skeletonWidth","40%","textHeightSkeleton","24px","height","36px",3,"text","loading","center"],[3,"ngClass"],[1,"other-names-area"],["skeletonWidth","40%","textHeightSkeleton","14px","height","21px",3,"text","loading","hiddenSkeleton","center",4,"ngIf"],["skeletonWidth","50%","height","24px","class","caption-text",3,"text","loading","hiddenSkeleton","textHeightSkeleton","center",4,"ngIf"],["skeletonWidth","40%","textHeightSkeleton","14px","height","21px",3,"text","loading","hiddenSkeleton","center"],[1,"orc-ui-font-body-small","subtitle-text"],["skeletonWidth","50%","height","24px",1,"caption-text",3,"text","loading","hiddenSkeleton","textHeightSkeleton","center"],[1,"caption-text",3,"ngClass"],[1,"name-actions-area"],["mat-icon-button","","accentButton","","class","main-action-button",3,"matTooltip","click",4,"ngIf"],["shape","circle","width","48px","height","48px",3,"shimmerPercentage",4,"ngIf"],["mat-icon-button","","accentButton","",1,"main-action-button",3,"click","matTooltip"],["shape","circle","width","48px","height","48px",3,"shimmerPercentage"],[1,"issue-area"],[1,"divider"],[1,"compact-title-area"],["skeletonWidth","50%","textHeightSkeleton","24px",3,"text","loading","height"],[1,"orc-ui-font-body-large",2,"font-weight","bold",3,"ngClass"],[1,"id-area"],[1,"id-content"],[1,"font-weight-400",3,"ngClass"],[4,"ngIf","ngIfElse"],["aria-hidden","true",1,"id-area","loading-placeholder"],["shape","circle",1,"id-logo-placeholder"],["width","331px","height","24px",1,"id-text-placeholder"],[1,"id-actions-area"],["aria-hidden","true",1,"id-actions-area","loading-placeholder"],[1,"summary-actions-area"],["mat-button","","accentButton","","class","orc-ui-font-body-small",3,"click",4,"ngIf"],["mat-button","","accentButton","",1,"orc-ui-font-body-small",3,"click"],[4,"ngIf"],["class","expand_more",4,"ngIf"],[1,"expand_more"],["aria-hidden","true",1,"summary-actions-area","loading-placeholder"],["shape","circle","width","40px","height","40px","textHeightSkeleton","14px"],["shape","square","width","194px","height","36px","textHeightSkeleton","14px",3,"shimmerPercentage"]],template:function(It,Mt){1&It&&(a.NAR(Ce),a.j41(0,"div",2),a.DNE(1,$,4,5,"section",3)(2,K,4,5,"div",4)(3,Be,1,0,"mat-divider",5),a.j41(4,"section",6),a.DNE(5,Ye,4,7,"div",7)(6,Ge,7,7,"div",8)(7,bt,4,0,"div",9)(8,me,2,0,"div",10)(9,J,3,2,"div",11)(10,At,4,2,"div",12)(11,Ct,4,3,"div",13),a.k0s()()),2&It&&(a.Y8G("ngClass",a.ziG(13,nt,!Mt.isDesktop,Mt.isDesktop,Mt.compactMode,Mt.expanded)),a.R7$(),a.Y8G("ngIf",!Mt.compactMode&&!Mt.hideTitle),a.R7$(),a.Y8G("ngIf",!Mt.loading&&Mt.issueTitle),a.R7$(),a.Y8G("ngIf",!Mt.compactMode||Mt.
3issueTitle),a.R7$(),a.Y8G("id","orcid-id"),a.BMQ("aria-label",Mt.regionOrcidId),a.R7$(),a.Y8G("ngIf",Mt.compactMode&&(Mt.title||Mt.loading)&&!Mt.hideTitle),a.R7$(),a.Y8G("ngIf",!Mt.loading),a.R7$(),a.Y8G("ngIf",Mt.loading),a.R7$(),a.Y8G("ngIf",!Mt.compactMode&&!Mt.loading&&!Mt.issueTitle),a.R7$(),a.Y8G("ngIf",!Mt.compactMode&&Mt.loading),a.R7$(),a.Y8G("ngIf",!Mt.loading&&Mt.title&&!Mt.hideTitle),a.R7$(),a.Y8G("ngIf",Mt.loading))},dependencies:[t.bT,t.YU,ne.PO,U.w,U.q,C.Hl,C.$z,E.M,h.m_,h.An,b.h,b.e,ie,D,T.e],styles:['.orc-ui-font-display-large[_ngcontent-%COMP%]{font-family:Noto Sans,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:96px;font-style:normal;letter-spacing:-1.5px}.orc-ui-font-display[_ngcontent-%COMP%]{font-family:Noto Sans,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:60px;font-style:normal;letter-spacing:-.5px}.orc-ui-font-display-small[_ngcontent-%COMP%]{font-family:Noto Sans,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:48px;font-style:normal;letter-spacing:0px}.orc-ui-font-heading-large[_ngcontent-%COMP%]{font-family:Noto Sans,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:40px;font-style:normal;letter-spacing:.5px}.orc-ui-font-heading[_ngcontent-%COMP%]{font-family:Noto Sans,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:32px;font-style:normal;letter-spacing:.5px}.orc-ui-font-heading-small[_ngcontent-%COMP%]{font-family:Noto Sans,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:24px;font-style:normal;letter-spacing:.5px}.orc-ui-font-body-large[_ngcontent-%COMP%]{font-family:Noto Sans,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:18px;font-style:normal;letter-spacing:normal}.orc-ui-font-body[_ngcontent-%COMP%]{font-family:Noto Sans,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:16px;font-style:normal;letter-spacing:normal}.orc-ui-font-body-small[_ngcontent-%COMP%]{font-family:Noto Sans,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:14px;font-style:normal;letter-spacing:.25px}.orc-ui-font-small-print[_ngcontent-%COMP%]{font-family:Noto Sans,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:12px;font-style:normal;letter-spacing:.5px;font-weight:400}[_nghost-%COMP%]{display:block;background:var(--orcid-color-brand-secondary-darkest, #003449)}.record-header[_ngcontent-%COMP%]{display:flex;flex-direction:column;width:100%;max-width:1304px;margin:0 auto;padding:16px;box-sizing:border-box;color:var(--orcid-color-brand-white, #ffffff);background:var(--orcid-color-brand-secondary-darkest, #003449);gap:16px}.record-header.mobile[_ngcontent-%COMP%]{padding:16px;text-align:center}.record-header.desktop[_ngcontent-%COMP%]:not(.compact):has(.names-section){padding:16px}.names-section[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center}.desktop[_ngcontent-%COMP%] .names-section[_ngcontent-%COMP%]{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"title actions" "other-names other-names";justify-items:start;gap:0;align-items:center;padding-right:0}.title-area[_ngcontent-%COMP%]{grid-area:title;width:fit-content;max-width:100%;width:100%;min-width:0}.title-area[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{margin:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;max-width:100%}.title-area[_ngcontent-%COMP%] orcid-text-with-tooltip[_ngcontent-%COMP%]{max-width:100%;overflow:hidden}.desktop[_ngcontent-%COMP%] .title-area[_ngcontent-%COMP%]{line-height:36px;height:36px;width:100%}.mobile[_ngcontent-%COMP%] .title-area[_ngcontent-%COMP%]{margin:0 auto 8px;text-align:left}.mobile[_ngcontent-%COMP%] .title-area[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-size:18px;line-height:27px;height:27px}.other-names-area[_ngcontent-%COMP%]{grid-area:other-names;width:fit-content;max-width:100%;display:flex;flex-direction:column;width:100%}.mobile[_ngcontent-%COMP%] .other-names-area[_ngcontent-%COMP%]{align-items:center;margin:0 auto 8px}.desktop[_ngcontent-%COMP%] .other-names-area[_ngcontent-%COMP%]{align-items:flex-start}.other-names-area[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.other-names-area[_ngcontent-%COMP%] orcid-text-with-tooltip[_ngcontent-%COMP%]{max-width:100%;overflow:hidden}.other-names-area[_ngcontent-%COMP%] .subtitle-text[_ngcontent-%COMP%]{color:#8ec2db}.other-names-area[_ngcontent-%COMP%] .caption-text[_ngcontent-%COMP%]{color:var(--orcid-color-brand-white, #ffffff)}.desktop[_ngcontent-%COMP%] .other-names-area[_ngcontent-%COMP%] .subtitle-text[_ngcontent-%COMP%]{line-height:21px}.desktop[_ngcontent-%COMP%] .other-names-area[_ngcontent-%COMP%] .caption-text[_ngcontent-%COMP%]{font-size:16px;line-height:24px}.desktop[_ngcontent-%COMP%] .other-names-area[_ngcontent-%COMP%] orcid-text-with-tooltip[_ngcontent-%COMP%]:has(.subtitle-text){height:21px;line-height:21px;
3display:block}.desktop[_ngcontent-%COMP%] .other-names-area[_ngcontent-%COMP%] orcid-text-with-tooltip[_ngcontent-%COMP%]:has(.caption-text){height:24px;line-height:24px;display:block}.mobile[_ngcontent-%COMP%] .other-names-area[_ngcontent-%COMP%] .subtitle-text[_ngcontent-%COMP%], .mobile[_ngcontent-%COMP%] .other-names-area[_ngcontent-%COMP%] .caption-text[_ngcontent-%COMP%]{font-size:14px;line-height:21px;height:21px}.other-names-area[_ngcontent-%COMP%] orcid-text-with-tooltip.caption-text[_ngcontent-%COMP%]{margin-top:8px}.name-actions-area[_ngcontent-%COMP%]{grid-area:actions}.mobile[_ngcontent-%COMP%] .name-actions-area[_ngcontent-%COMP%]{margin-top:8px}.desktop[_ngcontent-%COMP%] .name-actions-area[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:flex-end;height:36px;margin-left:32px;grid-column:3}.name-actions-area[_ngcontent-%COMP%] .main-action-button[_ngcontent-%COMP%]{display:flex;align-items:center;height:48px}.issue-area[_ngcontent-%COMP%]{grid-column:1/-1;width:100%;display:flex;align-items:center}.issue-area[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-weight:400;margin:0}.issue-area[_ngcontent-%COMP%]:has(orcid-text-with-tooltip.has-text){min-height:72px}.mobile[_ngcontent-%COMP%] .issue-area[_ngcontent-%COMP%]:has(orcid-text-with-tooltip.has-text){min-height:144px}.compact[_ngcontent-%COMP%] .issue-area[_ngcontent-%COMP%]:has(orcid-text-with-tooltip.has-text){min-height:auto}.compact[_ngcontent-%COMP%] .issue-area[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-size:18px;line-height:21px}.divider[_ngcontent-%COMP%]{width:100%;height:2px;background:var(--orcid-color-brand-secondary-dark, #085c77);margin:0}.id-section[_ngcontent-%COMP%]{display:flex;width:100%;align-items:center;flex-wrap:wrap}.mobile[_ngcontent-%COMP%] .id-section[_ngcontent-%COMP%]{flex-direction:column;justify-content:center;gap:8px}.desktop[_ngcontent-%COMP%] .id-section[_ngcontent-%COMP%]{flex-wrap:nowrap;height:40px}.desktop.compact[_ngcontent-%COMP%] .id-section[_ngcontent-%COMP%]{height:auto;min-height:56px;align-items:flex-start;flex-direction:column;justify-content:center;gap:4px}.mobile.compact[_ngcontent-%COMP%] .id-section[_ngcontent-%COMP%]{align-items:flex-start;text-align:left}.compact-title-area[_ngcontent-%COMP%]{width:100%}.compact-title-area[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{margin:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.compact-title-area[_ngcontent-%COMP%] h1.mobile[_ngcontent-%COMP%]{text-align:left;padding-right:48px}.compact[_ngcontent-%COMP%] .compact-title-area[_ngcontent-%COMP%] orcid-text-with-tooltip[_ngcontent-%COMP%]{display:block;height:24px;line-height:24px}
3.compact[_ngcontent-%COMP%] .compact-title-area[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{height:24px;line-height:24px}.id-area[_ngcontent-%COMP%]{display:flex;align-items:center;min-width:0;flex:1}.desktop[_ngcontent-%COMP%]:not(.compact) .id-area[_ngcontent-%COMP%]{flex:0 0 auto}.id-area[_ngcontent-%COMP%] .id-content[_ngcontent-%COMP%]{display:flex;align-items:center;max-width:100%}.mobile[_ngcontent-%COMP%] .id-area[_ngcontent-%COMP%]{justify-content:center;width:100%}.mobile.compact[_ngcontent-%COMP%] .id-area[_ngcontent-%COMP%]{justify-content:flex-start}.id-area[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{margin:0;font-weight:400}.id-actions-area[_ngcontent-%COMP%]{display:flex;align-items:center;margin-left:16px}.mobile[_ngcontent-%COMP%] .id-actions-area[_ngcontent-%COMP%]{margin-left:0;width:100%;justify-content:center}.summary-actions-area[_ngcontent-%COMP%]{display:flex;align-items:center}.desktop[_ngcontent-%COMP%] .summary-actions-area[_ngcontent-%COMP%]{margin-left:auto}.mobile[_ngcontent-%COMP%] .summary-actions-area[_ngcontent-%COMP%]{width:100%;justify-content:center;min-height:36px}.mobile.compact[_ngcontent-%COMP%] .summary-actions-area[_ngcontent-%COMP%]{position:absolute;top:50%;right:0;transform:translateY(-50%);width:auto;justify-content:flex-end;z-index:1}.desktop.compact[_ngcontent-%COMP%] .summary-actions-area[_ngcontent-%COMP%]{flex-direction:row;align-items:center;position:absolute;right:0;top:50%;transform:translateY(-50%)}.id-section[_ngcontent-%COMP%]{position:relative}.loading-placeholder-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;width:100%;gap:8px}.mobile[_ngcontent-%COMP%] .loading-placeholder-container[_ngcontent-%COMP%]{align-items:center}.loading-placeholder-container[_ngcontent-%COMP%] orcid-text-with-tooltip[_ngcontent-%COMP%]{width:100%}.title-area[_ngcontent-%COMP%] .loading-placeholder-container[_ngcontent-%COMP%] orcid-text-with-tooltip[_ngcontent-%COMP%] orcid-skeleton-placeholder{height:36px!important;width:60%!important}.mobile[_ngcontent-%COMP%] .title-area[_ngcontent-%COMP%] .loading-placeholder-container[_ngcontent-%COMP%] orcid-text-with-tooltip[_ngcontent-%COMP%] orcid-skeleton-placeholder{height:27px!important;width:80%!important}.other-names-area[_ngcontent-%COMP%] orcid-text-with-tooltip[_ngcontent-%COMP%]:first-child .loading-placeholder-container[_ngcontent-%COMP%] orcid-text-with-tooltip[_ngcontent-%COMP%] orcid-skeleton-placeholder{height:21px!important;width:40%!important}.mobile[_ngcontent-%COMP%] .other-names-area[_ngcontent-%COMP%] orcid-text-with-tooltip[_ngcontent-%COMP%]:first-child .loading-placeholder-container[_ngcontent-%COMP%] orcid-text-with-tooltip[_ngcontent-%COMP%] orcid-skeleton-placeholder{width:60%!important}.other-names-area[_ngcontent-%COMP%] orcid-text-with-tooltip[_ngcontent-%COMP%]:last-child .loading-placeholder-container[_ngcontent-%COMP%] orcid-text-with-tooltip[_ngcontent-%COMP%] orcid-skeleton-placeholder{height:24px!important;width:50%!important}.mobile[_ngcontent-%COMP%] .other-names-area[_ngcontent-%COMP%] orcid-text-with-tooltip[_ngcontent-%COMP%]:last-child .loading-placeholder-container[_ngcontent-%COMP%] orcid-text-with-tooltip[_ngcontent-%COMP%] orcid-skeleton-placeholder{height:21px!important;width:70%!important}.loading-placeholder-container[_ngcontent-%COMP%] orcid-skeleton-placeholder.compact-title-bar[_ngcontent-%COMP%]{height:27px!important;width:50%!important}.compact-title-area[_ngcontent-%COMP%] orcid-skeleton-placeholder{height:27px!important;width:50%!important}orcid-skeleton-placeholder.id-logo-placeholder[_ngcontent-%COMP%]{width:36px!important;margin-right:8px;flex-shrink:0;height:36px!important}.desktop.compact[_ngcontent-%COMP%] orcid-skeleton-placeholder.id-logo-placeholder[_ngcontent-%COMP%]{height:24px!important;width:24px!important}.mobile[_ngcontent-%COMP%] orcid-skeleton-placeholder.id-logo-placeholder[_ngcontent-%COMP%]{height:24px!important;width:24px!important}.compact[_ngcontent-%COMP%] orcid-skeleton-placeholder.id-text-placeholder[_ngcontent-%COMP%]{height:18px!important}.mobile.compact[_ngcontent-%COMP%] .summary-actions-area.loading-placeholder[_ngcontent-%COMP%]{position:absolute;top:50%;right:0;transform:translateY(-50%);width:auto;justify-content:flex-end;z-index:1}.expand_more[_ngcontent-%COMP%]{transform:rotate(90deg)}button.orc-ui-font-body-small[_ngcontent-%COMP%]{font-weight:400}button[mat-button][_ngcontent-%COMP%], button[mat-icon-button][_ngcontent-%COMP%]{color:var(--orcid-color-brand-white, #ffffff)}button[mat-button][_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%], button[mat-icon-button][_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{color:var(--orcid-color-brand-white, #ffffff)}button[mat-icon-button][_ngcontent-%COMP%]{--mat-icon-button-icon-color: var(--orcid-color-brand-white, #ffffff);--mat-icon-button-hover-state-layer-color: var( --brand-secondary-dark, #085c77 )}button[mat-icon-button][_ngcontent-%COMP%]:hover, button[mat-icon-button][_ngcontent-%COMP%]:focus, button[mat-icon-button][_ngcontent-%COMP%]:active{background:var(--brand-secondary-dark, #085c77)}']})}}return $e})();var ln=o(22193),Rn=o(19490),Dn=o(57091),Gn=o(51060),Yn=o(89295),ui=o(90645),ti=o(8858);const $t=$e=>({"orcid-logo":!0,"orcid-logo--desktop-large":$e});function it($e,ht){1&$e&&a.nrm(0,"app-record-edit-button",6)}function mt($e,ht){if(1&$e&&(a.j41(0,"span",7),a.EFF(1),a.k0s()),2&$e){const Ae=a.XpG();a.R7$(),a.SpI(" ",Ae.hideSummaryLabel," ")}}function Ze($e,ht){if(1&$e&&(a.j41(0,"span",8),a.EFF(1),a.k0s()),2&$e){const Ae=a.XpG();a.R7$(),a.SpI(" ",Ae.showSummaryLabel," ")}}function Nt($e,ht){if(1&$e){const Ae=a.RV6();a.qex(0,9),a.j41(1,"button",10),a.bIt("click",function(){f.eBV(Ae);const Mt=a.XpG();return f.Njj(Mt.clipboard())}),a.j41(2,"mat-icon",11),a.EFF(3," content_copy "),a.k0s()(),a.j41(4,"button",10),a.bIt("click",function(){f.eBV(Ae);const Mt=a.XpG();return f.Njj(Mt.printRecord())}),a.j41(5,"mat-icon",12)(6,"span",13),a.EFF(7,"print"),a.k0s()()(),a.bVm()}if(2&$e){const Ae=a.XpG();a.R7$(),a.Y8G("matTooltip",Ae.tooltipCopy),a.BMQ("aria-label",Ae.ariaLabelCopyOrcidId),a.R7$(3),a.Y8G("matTooltip",Ae.tooltipPrintableVersion),a.BMQ("aria-label",Ae.ariaLabelViewPrintable)}}let vt=(()=>{class $e{get recordSummaryOpen(){return this._recordSummaryOpen}get noDisplayableData(){return 0===this.affiliations&&!this.displaySideBar&&!this.displayBiography&&!this.userInfo?.RECORD_WITH_ISSUES}get issueTitle(){return this.userInfo?.RECORD_WITH_ISSUES?"true"!==this.userInfo?.IS_DEACTIVATED||this.userInfo?.PRIMARY_RECORD?"true"!==this.userInfo?.IS_LOCKED||"false"!==this.userInfo?.IS_DEACTIVATED||this.userInfo?.PRIMARY_RECORD?this.userInfo?.PRIMARY_RECORD?this.deprecatedMessage:"":this.lockedMessage:this.deactivatedMessage:""}constructor(Ae,It,Mt,on,Gt,hn,Cn,Sn){this.window=Ae,this._platform=It,this._user=Mt,this._state=on,this._compact=Gt,this._togglz=hn,this._router=Cn,this._rumEvents=Sn,this.$destroy=new M.B,this.loadingUserRecord=!0,this.compactMode=!1,this.disableCompactMode=!1,this.recordSummaryOpenChange=new a.bkB,this.environment=runtimeEnvironment,this.givenNames="",this.familyName="",this.creditName="",this.otherNames="",this.ariaLabelName="",this.orcidId="",this.headerCompactEnabled=!1,this.bannerTitle="",this.bannerSubtitle="",this.bannerCaption="",this.bannerPrimaryIdText="",this.bannerSecondaryIdText="",this.bannerCaptionEnabled=!1,this.mainActionName="",this.isLoggedIn=!1,this.regionNames="Names",this.regionOrcidId="Orcid iD",this.tooltipPrintableVersion="Printable record",this.tooltipCopy="Copy iD",this.privateName="Name is private",this.deactivatedMessage="This record has been deactivated",this.lockedMessage="This record is locked",this.deprecatedMessage="This record has been deprecated",this.hideSummaryLabel="Hide record summary",this.showSummaryLabel="Show record summary",this.ariaLabelCopyOrcidId="Copy your ORCID iD to the clipboard",this.ariaLabelViewPrintable="View a printable version of your ORCID record (Opens in new tab)"}ngOnInit(){this._togglz.getStateOf(ln.i.HEADER_COMPACT).pipe((0,v.Q)(this.$destroy)).subscribe(Ae=>{this.headerCompactEnabled=!!Ae,this.computeMainActionState()}),this._togglz.getStateOf(ln.i.FEATURED_AFFILIATIONS).pipe((0,v.Q)(this.$destroy)).subscribe(Ae=>{this.bannerCaptionEnabled=!!Ae,Ae?this.refreshCaptionFromRecord():this.bannerCaption=""}),this._compact.compactActive$.pipe((0,v.Q)(this.$destroy)).subscribe(Ae=>this.compactMode=!this.disableCompactMode&&!!Ae),this._state.loadingRecordHeader$.pipe((0,v.Q)(this.$destroy)).subscribe(Ae=>this.loadingUserRecord=!!Ae),this._state.affiliations$.pipe((0,v.Q)(this.$destroy)).subscribe(Ae=>{this.affiliations=Ae,this.refreshHeaderFromRecord()}),this._state.displaySideBar$.pipe((0,v.Q)(this.$destroy)).subscribe(Ae=>{this.displaySideBar=!!Ae,this.refreshHeaderFromRecord()}),this._state.displayBiography$.pipe((0,v.Q)(this.$destroy)).subscribe(Ae=>{this.displayBiography=!!Ae,this.refreshHeaderFromRecord()}),this._state.recordSummaryOpen$.pipe((0,v.Q)(this.$destroy)).subscribe(Ae=>this._recordSummaryOpen=!!Ae),this._state.userRecord$.pipe((0,v.Q)(this.$destroy)).subscribe(Ae=>this.refreshHeaderFromRecord(Ae)),this._state.isPublicRecord$.pipe((0,v.Q)(this.$destroy)).subscribe(Ae=>{this.isPublicRecord=Ae,this.orcidId="https:"+runtimeEnvironment.BASE_URL+(this.isPublicRecord||""),this.bannerPrimaryIdText=this.isPublicRecord||"",this.bannerSecondaryIdText=this.orcidId||"",this.computeMainActionState(),this.refreshHeaderFromRecord()}),this._user.getUserSession().pipe((0,v.Q)(this.$destroy)).subscribe(Ae=>{const It=Ae?.userInfo;this.isLoggedIn=!!It,this.loggedUserOrcid=It?.EFFECTIVE_USER_ORCID,this.computeMainActionState()}),this._platform.get().pipe((0,v.Q)(this.$destroy)).subscribe(Ae=>{this.platform=Ae})}ngOnDestroy(){this.$destroy.next(!0),this.$destroy.complete()}clipboard(){this.window.navigator.clipboard.writeText(this.orcidId)}printRecord(){this.window.open(runtimeEnvironment.BASE_URL+this.userRecord?.userInfo?.EFFECTIVE_USER_ORCID+"/print")}recordSummaryLinkClick(){const Ae=!this.recordSummaryOpen;this._rumEvents.recordSimpleEvent(Rn.f0.RecordSummaryToggleClicked,{expanded:Ae}),this._state.setRecordSummaryOpen(Ae),this.recordSummaryOpenChange.emit(Ae)}computeMainActionState(){this.mainActionName=this.headerCompactEnabled?this.isLoggedIn?this.isPublicRecord&&this.loggedUserOrcid&&this.isPublicRecord===this.loggedUserOrcid?"Edit your ORCID record":"":"Is this you? Sign in to start editing your ORCID record":""}onMainActionClick(){this._router.navigate(this.isLoggedIn?["my-orcid"]:["signin"])}refreshHeaderFromRecord(Ae=this.userRecord){if(this.userRecord=Ae,this.userInfo=Ae?.userInfo,this.resetNameFields(),!Ae)return this._state.setHasCreditOrOtherNames(!1),void this.refreshCaptionFromRecord();if(this.userInfo?.PRIMARY_RECORD)this.bannerTitle="",this.bannerSubtitle="";else{if((0,u.isEmpty)(this.userRecord?.names)){const Gt=this.affiliations>0||this.displaySideBar||this.displayBiography;(Gt||!Gt&&!this.userInfo?.RECORD_WITH_ISSUES)&&(this.creditName=this.privateName)}else this.givenNames=_.O.getGivenNames(Ae),this.familyName=_.O.getFamilyName(Ae),this.creditName=_.O.getCreditName(Ae),this.ariaLabelName=_.O.getAriaLabelName(Ae,this.ariaLabelName);let on=this.givenNames;(0,u.isEmpty)(this.familyName)||(on+=` ${this.familyName}`),(0,u.isEmpty)(Ae.otherNames?.otherNames)?!(0,u.isEmpty)(this.creditName)&&!(0,u.isEmpty)(on)&&(this.otherNames=`${on}`):(this.otherNames=_.O.getOtherNamesUnique(Ae.otherNames?.otherNames),!(0,u.isEmpty)(this.creditName)&&!(0,u.isEmpty)(on)&&(this.otherNames=`${on}; ${this.otherNames}`)),this.bannerTitle=this.creditName||on||"",this.bannerSubtitle=this.otherNames||""}const It=!!this.userRecord?.names?.creditName?.value,Mt=!(0,u.isEmpty)(this.userRecord?.otherNames?.otherNames);this._state.setHasCreditOrOtherNames(It||Mt),this.refreshCaptionFromRecord(Ae)}resetNameFields(){this.givenNames="",this.familyName="",this.creditName="",this.otherNames="",this.ariaLabelName="",this.bannerTitle="",this.bannerSubtitle=""}refreshCaptionFromRecord(Ae=this.userRecord){this.bannerCaption=this.bannerCaptionEnabled?(0,Dn.d)(Ae?.affiliations):""}static{this.\u0275fac=function(It){return new(It||$e)(a.rXU(r.jf),a.rXU(Gn.Z),a.rXU(d.DL),a.rXU(L.p),a.rXU(Yn.W),a.rXU(ui.v),a.rXU(O.Ix),a.rXU(ti.s))}}static{this.\u0275cmp=a.VBU({type:$e,selectors:[["app-record-header"]],inputs:{disableCompactMode:"disableCompactMode"},outputs:{recordSummaryOpenChange:"recordSummaryOpenChange"},decls:6,vars:21,consts:[[1,"orcid-theme",3,"expandedChange","mainActionClicked","loading","compactMode","isDesktop","title","subtitle","caption","primaryIdText","secondaryIdText","expanded","canToggleExpanded","regionNames","regionOrcidId","mainActionName","issueTitle"],["header-banner-logo","","src","assets/vectors/orcid.logo.icon.svg","alt","orcid logo",3,"ngClass"],["record-header-summary-actions","",4,"ngIf"],["header-banner-expanded-label","",4,"ngIf"],["header-banner-collapsed-label","",4,"ngIf"],["header-banner-id-actions","",4,"ngIf"],["record-header-summary-actions",""],["header-banner-expanded-label",""],["header-banner-collapsed-label",""],["header-banner-id-actions",""],["mat-icon-button","","accentButton","",1,"orc-font-small-print",3,"click","matTooltip"],[1,"material-icons","icon"],[1,"icon"],[1,"material-symbols-outlined"]],template:function(It,Mt){1&It&&(a.j41(0,"orcid-header-banner",0),a.bIt("expandedChange",function(){return Mt.recordSummaryLinkClick()})("mainActionClicked",function(){return Mt.onMainActionClick()}),a.nrm(1,"img",1),a.DNE(2,it,1,0,"app-record-edit-button",2)(3,mt,2,1,"span",3)(4,Ze,2,1,"span",4)(5,Nt,8,4,"ng-container",5),a.k0s()),2&It&&(a.Y8G("loading",Mt.loadingUserRecord)("compactMode",Mt.compactMode)("isDesktop",null==Mt.platform?null:Mt.platform.columns12)("title",Mt.bannerTitle)("subtitle",Mt.bannerSubtitle)("caption",Mt.bannerCaption)("primaryIdText",Mt.bannerPrimaryIdText)("secondaryIdText",Mt.bannerSecondaryIdText)("expanded",Mt.recordSummaryOpen)("c
3anToggleExpanded",!Mt.noDisplayableData)("regionNames",Mt.regionNames)("regionOrcidId",Mt.regionOrcidId)("mainActionName",Mt.mainActionName)("issueTitle",Mt.issueTitle),a.R7$(),a.Y8G("ngClass",a.eq3(19,$t,(null==Mt.platform?null:Mt.platform.columns12)&&!Mt.compactMode)),a.R7$(),a.Y8G("ngIf",Mt.headerCompactEnabled),a.R7$(),a.Y8G("ngIf",!Mt.noDisplayableData),a.R7$(),a.Y8G("ngIf",!Mt.noDisplayableData),a.R7$(),a.Y8G("ngIf",!Mt.noDisplayableData))},dependencies:[t.MD,t.YU,t.bT,Y,Wt,h.m_,h.An,b.h,b.e,C.Hl,E.M,D],styles:["[_nghost-%COMP%]{display:block}.record-header-wrapper[_ngcontent-%COMP%]{display:flex;box-sizing:border-box;width:100%;padding:32px 0;align-items:flex-start;word-break:break-word}.record-header-wrapper[_ngcontent-%COMP%] .record-header[_ngcontent-%COMP%]{gap:16px;padding:0 16px}.record-header-wrapper[_ngcontent-%COMP%] .record-header[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], .record-header-wrapper[_ngcontent-%COMP%] .record-header[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0}.record-header-wrapper[_ngcontent-%COMP%] .record-header[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-weight:400}.record-header-wrapper[_ngcontent-%COMP%] .record-header[_ngcontent-%COMP%] h2.mobile[_ngcontent-%COMP%]{margin:auto 0!important}.record-header-wrapper[_ngcontent-%COMP%] .record-header[_ngcontent-%COMP%] .divider[_ngcontent-%COMP%]{width:100%;height:2px}.record-header-wrapper[_ngcontent-%COMP%] .record-header[_ngcontent-%COMP%] .names-wrapper[_ngcontent-%COMP%]{gap:8px}.record-header-wrapper[_ngcontent-%COMP%] .record-header[_ngcontent-%COMP%] .names-wrapper[_ngcontent-%COMP%] .names[_ngcontent-%COMP%]{position:relative;line-height:40px;display:flex;justify-content:space-between;align-items:center;max-width:100%;gap:16px}.record-header-wrapper[_ngcontent-%COMP%] .record-header[_ngcontent-%COMP%] .names-wrapper[_ngcontent-%COMP%] .names[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{margin:0;flex:1 1 auto;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;max-width:calc(100% - 80px)}.record-header-wrapper[_ngcontent-%COMP%] .record-header[_ngcontent-%COMP%] .names-wrapper[_ngcontent-%COMP%] .other-names[_ngcontent-%COMP%]{line-height:24px}.record-header-wrapper[_ngcontent-%COMP%] .record-header[_ngcontent-%COMP%] .names-wrapper[_ngcontent-%COMP%] .other-names.mobile[_ngcontent-%COMP%]{justify-content:center}.record-header-wrapper[_ngcontent-%COMP%] .record-header[_ngcontent-%COMP%] .names-wrapper[_ngcontent-%COMP%] .other-names[_ngcontent-%COMP%], .record-header-wrapper[_ngcontent-%COMP%] .record-header[_ngcontent-%COMP%] .names-wrapper[_ngcontent-%COMP%] .other-names.mobile[_ngcontent-%COMP%]{width:100%;overflow:hidden}.record-header-wrapper[_ngcontent-%COMP%] .record-header[_ngcontent-%COMP%] .names-wrapper[_ngcontent-%COMP%] .other-names[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .record-header-wrapper[_ngcontent-%COMP%] .record-header[_ngcontent-%COMP%] .names-wrapper[_ngcontent-%COMP%] .other-names.mobile[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.record-header-wrapper[_ngcontent-%COMP%] .record-header[_ngcontent-%COMP%] .issue[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-weight:400}.record-header-wrapper[_ngcontent-%COMP%] .record-header[_ngcontent-%COMP%] .id-wrapper[_ngcontent-%COMP%]{align-items:center}.record-header-wrapper[_ngcontent-%COMP%] .record-header[_ngcontent-%COMP%] .id-wrapper[_ngcontent-%COMP%] .col[_ngcontent-%COMP%]{padding:0!important;display:flex;align-items:center}.record-header-wrapper[_ngcontent-%COMP%] .record-header[_ngcontent-%COMP%] .id-wrapper[_ngcontent-%COMP%] .col.mobile[_ngcontent-%COMP%]{justify-content:center}.record-header-wrapper[_ngcontent-%COMP%] .record-header[_ngcontent-%COMP%] .id-wrapper[_ngcontent-%COMP%] .orcid-link-wrapper[_ngcontent-%COMP%]{margin-top:5.5px;display:flex;align-items:center}.record-header-wrapper[_ngcontent-%COMP%] .record-header[_ngcontent-%COMP%] .id-wrapper[_ngcontent-%COMP%] .buttons-wrapper[_ngcontent-%COMP%]{margin-left:16px}.record-header-wrapper[_ngcontent-%COMP%] .record-header[_ngcontent-%COMP%] .id-wrapper[_ngcontent-%COMP%] .buttons-wrapper.mobile[_ngcontent-%COMP%]{justify-content:center;margin-left:0}.record-header-wrapper[_ngcontent-%COMP%] .record-header[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.orcid-logo[_ngcontent-%COMP%]{width:24px;height:24px;margin-right:8px;flex-shrink:0}
3.orcid-logo--desktop-large[_ngcontent-%COMP%]{width:36px;height:36px}.names-actions[_ngcontent-%COMP%]{display:flex;justify-content:flex-end;width:100%}.edit-record-button[_ngcontent-%COMP%]{height:48px;margin-right:16px;margin-top:16px}.record-header-wrapper.mobile[_ngcontent-%COMP%]{padding:32px 16px;text-align:center}.record-header-wrapper.mobile[_ngcontent-%COMP%] .record-header[_ngcontent-%COMP%], .record-header-wrapper.mobile[_ngcontent-%COMP%] .names[_ngcontent-%COMP%]{justify-content:center}.expand_more[_ngcontent-%COMP%]{transform:rotate(90deg)}button.orc-font-body-small[_ngcontent-%COMP%]{font-weight:400}.record-header[_ngcontent-%COMP%] > .row[_ngcontent-%COMP%]{display:flex;justify-content:space-between}.mobile[_ngcontent-%COMP%] .record-header[_ngcontent-%COMP%] > .row[_ngcontent-%COMP%]{display:flex;flex-direction:column;justify-content:center}.mobile[_ngcontent-%COMP%] .record-header[_ngcontent-%COMP%] .names[_ngcontent-%COMP%]{flex-direction:column;align-items:center;gap:8px}.mobile[_ngcontent-%COMP%] .id-wrapper[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;gap:8px}.thin-font-heading[_ngcontent-%COMP%]{font-weight:300}.hidden-in-compact[_ngcontent-%COMP%]{visibility:hidden;pointer-events:none}.orcid-id-section[_ngcontent-%COMP%]{width:100%}.link-wrapper[_ngcontent-%COMP%]{position:relative}h1.mobile[_ngcontent-%COMP%]{text-align:center;width:100%}.font-weight-400[_ngcontent-%COMP%]{font-weight:400}section#orcid-id[_ngcontent-%COMP%]{max-width:100%}.orcid-id-text-and-buttons[_ngcontent-%COMP%]{display:flex;align-items:center}.orcid-id-text-and-buttons.compact[_ngcontent-%COMP%]{flex-direction:column;align-items:baseline;gap:8px}.mobile[_ngcontent-%COMP%] .orcid-id-text-and-buttons[_ngcontent-%COMP%]{flex-direction:column;align-items:center;gap:8px}.mobile[_ngcontent-%COMP%] .orcid-id-text-and-buttons.compact[_ngcontent-%COMP%]{flex-direction:column;gap:8px;max-width:calc(100% - 80px)}",".record-header-wrapper[_ngcontent-%COMP%]{color:#fff;background:#003449}.divider[_ngcontent-%COMP%]{background:#085c77}.other-names[_ngcontent-%COMP%]{color:#d0f3ff}"]})}}return $e})()},31124:function(qe,ee,o){(function(){var a,t,v={}.hasOwnProperty;a=o(68886),t=o(50170),qe.exports=function(r){function _(h,C,b){if(_.__super__.constructor.call(this,h),null==C)throw new Error("Missing instruction target. "+this.debugInfo());this.type=a.ProcessingInstruction,this.target=this.stringify.insTarget(C),this.name=this.target,b&&(this.value=this.stringify.insValue(b))}return function(r,_){for(var h in _)v.call(_,h)&&(r[h]=_[h]);function C(){this.constructor=r}C.prototype=_.prototype,r.prototype=new C,r.__super__=_.prototype}(_,r),_.prototype.clone=function(){return Object.create(this)},_.prototype.toString=function(h){return this.options.writer.processingInstruction(this,this.options.writer.filterOptions(h))},_.prototype.isEqualNode=function(h){return!(!_.__super__.isEqualNode.apply(this,arguments).isEqualNode(h)||h.target!==this.target)},_}(t)}).call(this)},31397:(qe,ee,o)=>{"use strict";o.d(ee,{Z:()=>h});var a=o(96354),t=o(58750),u=o(39974),M=o(45225),v=o(54360),_=o(98071);function h(C,b,D=1/0){return(0,_.T)(b)?h((f,O)=>(0,a.T)((d,L)=>b(f,d,O,L))((0,t.Tg)(C(f,O))),D):("number"==typeof b&&(D=b),(0,u.N)((f,O)=>function r(C,b,D,f,O,d,L,E){const se=[];let Y=0,ne=0,U=!1;const T=()=>{U&&!se.length&&!Y&&b.complete()},I=Z=>Y<f?w(Z):se.push(Z),w=Z=>{d&&b.next(Z),Y++;let N=!1;(0,t.Tg)(D(Z,ne++)).subscribe((0,v._)(b,oe=>{O?.(oe),d?I(oe):b.next(oe)},()=>{N=!0},void 0,()=>{if(N)try{for(Y--;se.length&&Y<f;){const oe=se.shift();L?(0,M.N)(b,L,()=>w(oe)):w(oe)}T()}catch(oe){b.error(oe)}}))};return C.subscribe((0,v._)(b,I,()=>{U=!0,T()})),()=>{E?.()}}(f,O,C,D)))}},31518:(qe,ee,o)=>{"use strict";o.d(ee,{p:()=>pt});var a=o(89417),t=o(67376),M=o(21413),v=o(56977),r=o(88141),_=o(61594),h=o(96697),C=o(22193),b=o(14080),D=o(86223),f=o(73664),O=o(2615),d=o(17705),L=o(88021),E=o(16030),se=o(51060),Y=o(32130),ne=o(65770),U=o(90645);const T=["emailInput"],I=Ge=>({"disabled-select-notifications-email":Ge}),w=Ge=>({"privacy-selector":Ge}),Z=Ge=>({"actions-wrapper-mobile":Ge}),N=Ge=>[Ge,"email"],oe=Ge=>({"current-notification-email":Ge});function H(Ge,bt){if(1&Ge&&(f.j41(0,"app-modal-header",48),f.pXf(1,8),f.k0s()),2&Ge){const me=f.XpG
3();f.Y8G("closeLabel",me.ariaLabelClose)}}function ie(Ge,bt){if(1&Ge&&(f.j41(0,"app-modal-header",48),f.pXf(1,9),f.k0s()),2&Ge){const me=f.XpG();f.Y8G("closeLabel",me.ariaLabelCloseOld)}}function Ce(Ge,bt){1&Ge&&(f.j41(0,"app-alert-message"),f.EFF(1,"\n "),f.j41(2,"h3",49),f.pXf(3,10),f.k0s(),f.EFF(4,"\n\n "),f.j41(5,"div",50),f.EFF(6,"\n "),f.qex(7),f.pXf(8,11),f.bVm(),f.EFF(9,"\n "),f.j41(10,"strong"),f.pXf(11,12),f.k0s(),f.EFF(12,"\n "),f.qex(13),f.pXf(14,13),f.bVm(),f.EFF(15,"\n "),f.j41(16,"strong"),f.pXf(17,14),f.k0s(),f.EFF(18,"\n "),f.qex(19),f.pXf(20,15),f.bVm(),f.EFF(21,"\n "),f.k0s(),f.EFF(22,"\n "),f.k0s())}function Ue(Ge,bt){if(1&Ge&&(f.j41(0,"mat-form-field",64),f.EFF(1,"\n "),f.nrm(2,"input",65,0),f.EFF(4,"\n "),f.k0s()),2&Ge){const me=f.XpG().$implicit,J=f.XpG();f.R7$(2),f.BMQ("aria-label",me.putCode.startsWith("new")?J.ariaLabelNewEmailAddress:J.ariaLabelEmailAddress+" "+me.value)}}function nt(Ge,bt){if(1&Ge&&(f.j41(0,"div",66),f.EFF(1,"\n "),f.j41(2,"strong",67),f.EFF(3),f.k0s(),f.EFF(4,"\n "),f.j41(5,"app-panel-element-source",68),f.nI1(6,"monthDayYearDateToString"),f.nI1(7,"verificationDateCutoff"),f.EFF(8,"\n "),f.k0s(),f.EFF(9,"\n "),f.k0s()),2&Ge){const me=f.XpG().$implicit,J=f.XpG();f.R7$(3),f.SpI("\n ",J.emailsForm.value[me.putCode].email),f.R7$(2),f.Y8G("name",me.sourceName||me.source)("isEmailOrDomain",!0)("date",f.bMT(7,7,f.bMT(6,5,me.verificationDate)))("isLastItem",!0)}}function we(Ge,bt){if(1&Ge&&(f.qex(0),f.EFF(1,"\n "),f.qex(2),f.pXf(3,17),f.bVm(),f.EFF(4,"\n "),f.qex(5),f.EFF(6),f.bVm(),f.EFF(7,",\n "),f.bVm()),2&Ge){const me=f.XpG(2).$implicit;f.R7$(6),f.JRh(me.sourceName||me.source)}}function at(Ge,bt){1&Ge&&(f.qex(0,72),f.pXf(1,18),f.bVm())}function Xe(Ge,bt){if(1&Ge){const me=f.RV6();f.j41(0,"a",73),f.bIt("click",function(){O.eBV(me);const R=f.XpG(2).$implicit,x=f.XpG();return O.Njj(x.verifyEmail(R))}),f.pXf(1,19),f.k0s()}}function et(Ge,bt){if(1&Ge&&(f.j41(0,"mat-hint",69),f.EFF(1,"\n "),f.DNE(2,we,8,1,"ng-container",35),f.EFF(3,"\n "),f.qex(4),f.pXf(5,16),f.bVm(),f.EFF(6,"\n "),f.qex(7),f.EFF(8,"-"),f.bVm(),f.EFF(9,"\n "),f.DNE(10,at,2,0,"ng-container",70),f.EFF(11,"\n "),f.DNE(12,Xe,2,0,"a",71),f.EFF(13,"\n "),f.k0s()),2&Ge){const me=f.XpG().$implicit,J=f.XpG();f.R7$(2),f.Y8G("ngIf",me.sourceName||me.source),f.R7$(8),f.Y8G("ngIf",J.verificationEmailWasSend(me.putCode)),f.R7$(2),f.Y8G("ngIf",!J.verificationEmailWasSend(me.putCode))}}function xe(Ge,bt){1&Ge&&(f.j41(0,"mat-error",74),f.pXf(1,20),f.k0s())}function De(Ge,bt){1&Ge&&(f.j41(0,"mat-error",74),f.pXf(1,21),f.k0s())}function ue(Ge,bt){1&Ge&&(f.j41(0,"mat-error",74),f.pXf(1,22),f.k0s())}function z(Ge,bt){1&Ge&&(f.j41(0,"mat-error",74),f.pXf(1,23),f.k0s())}function de(Ge,bt){if(1&Ge){const me=f.RV6();f.qex(0),f.EFF(1,"\n "),f.j41(2,"div",51),f.EFF(3,"\n "),f.j41(4,"div",52),f.EFF(5,"\n "),f.j41(6,"div",53),f.EFF(7,"\n "),f.DNE(8,Ue,5,1,"mat-form-field",54),f.EFF(9,"\n "),f.DNE(10,nt,10,9,"div",55),f.EFF(11,"\n "),f.k0s(),f.EFF(12,"\n "),f.j41(13,"div",56),f.EFF(14,"\n "),f.nrm(15,"app-visibility-selector",57),f.EFF(16,"\n "),f.k0s(),f.EFF(17,"\n "),f.j41(18,"div",58),f.EFF(19,"\n "),f.j41(20,"button",59),f.bIt("click",function(){const R=O.eBV(me).$implicit,x=f.XpG();return O.Njj(x.deleteEmail(R.putCode))}),f.EFF(21,"\n "),f.j41(22,"mat-icon",60),f.EFF(23,"delete_outline"),f.k0s(),f.EFF(24,"\n "),f.k0s(),f.EFF(25,"\n "),f.k0s(),f.EFF(26,"\n "),f.k0s(),f.EFF(27,"\n "),f.j41(28,"div",61),f.EFF(29,"\n "),f.DNE(30,et,14,3,"mat-hint",62),f.EFF(31,"\n "),f.DNE(32,xe,2,0,"mat-error",63),f.EFF(33,"\n "),f.DNE(34,De,2,0,"mat-error",63),f.EFF(35,"\n "),f.DNE(36,ue,2,0,"mat-error",63),f.EFF(37,"\n\n "),f.DNE(38,z,2,0,"mat-error",63),f.EFF(39,"\n "),f.k0s(),f.EFF(40,"\n "),f.k0s(),f.EFF(41,"\n "),f.nrm(42,"hr",38),f.EFF(43,"\n "),f.bVm()}if(2&Ge){const me=bt.$implicit,J=f.XpG();f.R7$(4),f.Y8G("formGroupName",me.putCode),f.R7$(4),f.Y8G("ngIf",!J.showEmailAsVerified(me.putCode)),f.R7$(2),f.Y8G("ngIf",J.
3showEmailAsVerified(me.putCode)),f.R7$(3),f.Y8G("ngClass",f.eq3(21,w,!J.showNonVerifiedData(me.putCode))),f.R7$(2),f.Y8G("ariaLabelPrivate",J.ariaLabelVisibilityEmailPrivate)("ariaLabelPublic",J.ariaLabelVisibilityEmailPublic)("ariaLabelTrustedParty",J.ariaLabelVisibilityEmailTrustedParty)("itemTitle",J.emailsForm.value[me.putCode].email)("editable",me.verified)("mobile",J.isMobile)("privacy",me.verified?me.visibility:"PUBLIC")("matTooltip",J.isMobile&&!me.verified?J.visibilityTooltip:""),f.R7$(3),f.Y8G("matTooltip",J.hasOneEmailAddress(me.putCode)?J.deleteTooltip:""),f.R7$(2),f.Y8G("disabled",J.hasOneEmailAddress(me.putCode)),f.BMQ("aria-label",J.ariaLabelDelete+" "+(J.emailsForm.value[me.putCode].email||"")),f.R7$(8),f.Y8G("ngClass",f.eq3(23,Z,J.isMobile)),f.R7$(2),f.Y8G("ngIf",J.showNonVerifiedData(me.putCode)),f.R7$(2),f.Y8G("ngIf",J.emailsForm.hasError("required",f.eq3(25,N,me.putCode))&&J.emailsForm.get(me.putCode).get("email").touched),f.R7$(2),f.Y8G("ngIf",J.emailsForm.hasError("duplicated",f.eq3(27,N,me.putCode))&&J.emailsForm.get(me.putCode).get("email").touched),f.R7$(2),f.Y8G("ngIf",J.emailsForm.hasError("email",f.eq3(29,N,me.putCode))&&J.emailsForm.get(me.putCode).get("email").touched),f.R7$(2),f.Y8G("ngIf",J.emailsForm.hasError("backendError",f.eq3(31,N,me.putCode))&&J.emailsForm.get(me.putCode).get("email").touched)}}function ae(Ge,bt){if(1&Ge){const me=f.RV6();f.j41(0,"div",75),f.EFF(1,"\n "),f.j41(2,"a",76),f.bIt("click",function(){O.eBV(me);const R=f.XpG();return O.Njj(R.addEmail(null,!0))}),f.EFF(3,"\n "),f.j41(4,"mat-icon",77),f.EFF(5,"add_circle_outline "),f.k0s(),f.EFF(6,"\n "),f.qex(7),f.pXf(8,24),f.bVm(),f.EFF(9,"\n "),f.k0s(),f.EFF(10,"\n "),f.k0s()}}function X(Ge,bt){1&Ge&&(f.qex(0),f.EFF(1,"\n "),f.j41(2,"em",79),f.pXf(3,28),f.k0s(),f.EFF(4,"\n "),f.bVm())}function $(Ge,bt){if(1&Ge&&(f.qex(0,82),f.j41(1,"div",83),f.EFF(2,"\n "),f.j41(3,"mat-icon",84),f.EFF(4,"check_circle"),f.k0s(),f.EFF(5,"\n "),f.j41(6,"div",66),f.EFF(7,"\n "),f.j41(8,"strong",67),f.EFF(9),f.k0s(),f.EFF(10,"\n "),f.j41(11,"app-panel-element-source",68),f.nI1(12,"monthDayYearDateToString"),f.EFF(13,"\n "),f.k0s(),f.EFF(14,"\n "),f.k0s(),f.EFF(15,"\n "),f.j41(16,"div",85),f.EFF(17,"\n "),f.nrm(18,"app-visibility-selector",86),f.EFF(19,"\n "),f.k0s(),f.EFF(20,"\n "),f.k0s(),f.EFF(21,"\n "),f.nrm(22,"hr",38),f.EFF(23,"\n "),f.bVm()),2&Ge){const me=bt.$implicit,J=f.XpG(3);f.Y8G("formGroupName",me.putCode),f.R7$(9),f.SpI("\n ",me.value),f.R7$(2),f.Y8G("name",J.orcidEmailValidation)("isEmailOrDomain",!0)("date",f.bMT(12,13,!me.generatedByScript&&me.createdDate))("isLastItem",!0),f.R7$(7),f.Y8G("disableVisibilities",J.disableVisibilities[me.putCode])("itemTitle",me.value)("ariaLabelPrivate",J.ariaLabelVisibilityDomainPrivate)("ariaLabelPublic",J.ariaLabelVisibilityDomainPublic)("ariaLabelTrustedParty",J.ariaLabelVisibilityDomainTrustedParty)("mobile",J.isMobile)("privacy",me.visibility)}}function K(Ge,bt){if(1&Ge&&(f.qex(0),f.EFF(1,"\n "),f.nrm(2,"hr",38),f.EFF(3,"\n "),f.DNE(4,$,24,15,"ng-container",81),f.EFF(5,"\n "),f.bVm()),2&Ge){const me=f.XpG(2);f.R7$(4),f.Y8G("ngForOf",me.verifiedDomains)}}function Be(Ge,bt){if(1&Ge&&(f.j41(0,"section",78),f.EFF(1,"\n "),f.j41(2,"h2",43),f.pXf(3,25),f.k0s(),f.EFF(4,"\n "),f.j41(5,"p",79),f.EFF(6,"\n "),f.qex(7),f.pXf(8,26),f.bVm(),f.EFF(9,"\n "),f.j41(10,"a",80),f.pXf(11,27),f.k0s(),f.EFF(12,"\n "),f.k0s(),f.EFF(13,"\n "),f.DNE(14,X,5,0,"ng-container",35),f.EFF(15,"\n "),f.DNE(16,K,6,1,"ng-container",35),f.EFF(17,"\n "),f.k0s()),2&Ge){const me=f.XpG();f.R7$(14),f.Y8G("ngIf",0===me.verifiedDomains.length),f.R7$(2),f.Y8G("ngIf",me.verifiedDomains.length>0)}}function Ye(Ge,bt){if(1&Ge&&(f.j41(0,"mat-option",88),f.EFF(1),f.k0s()),2&Ge){const me=f.XpG().$implicit,J=f.XpG();f.Y8G("ngClass",f.eq3(3,oe,me.value===(null==J.primaryEmail?null:J.primaryEmail.value)))("value",me),f.R7$(),f.SpI("\n ",me.value,"\n ")}}function Se(Ge,bt){if(1&Ge&&(f.qex(0),f.EFF(1,"\n "),f.DNE(2,Ye,2,5,"mat-option",87),f.EFF(3,"\n "),f.bVm()),2&Ge){const me=bt.$implicit;f.R7$(2),f.Y8G("ngIf",me.verified)}}let pt=(()=>{class Ge{constructor(me,J,R,x,ce,Pe,pe){this.dialogRef=me,this._recordEmails=J,this._changeDetectorRef=R,this._platform=x,this._snackBar=ce,this._userInfo=Pe,this._togglz=pe,this.ariaLabelKnowledgeBase="ORCID knowledge base (Opens in a new tab)",this.ariaLabelKnowledgeSupport="ORCID support page (Ope
3ns in a new tab)",this.ariaLabelOrcidTermsOfUseLink="ORCID terms of use (Opens in a new tab)",this.ariaLabelSaveOld="Save changes to Emails",this.ariaLabelSave="Save changes to Emails & domains",this.ariaLabelNotificationsAreSentToEmail="Notifications are sent to",this.ariaLabelCancelOld="Cancel changes and close Emails",this.ariaLabelCancel="Cancel changes and close Emails & domains",this.ariaLabelDelete="Delete Email",this.ariaLabelClose="Close Emails & domains",this.ariaLabelCloseOld="Close Emails",this.ariaLabelEmailAddress="Email address",this.ariaLabelNewEmailAddress="New email address",this.ariaLabelOtherEmailAddresses="Other email addresses",this.ariaLabelVisibilityPrimaryEmailPublic="Set primary email visibility to Everyone",this.ariaLabelVisibilityPrimaryEmailTrustedParty="Set primary email visibility to Trusted Parties",this.ariaLabelVisibilityPrimaryEmailPrivate="Set primary email visibility to Only Me",this.ariaLabelVisibilityOtherEmailPublic="Set other email visibility to Everyone",this.ariaLabelVisibilityOtherEmailTrustedParty="Set other email visibility to Trusted Parties",this.ariaLabelVisibilityOtherEmailPrivate="Set other email visibility to Only Me",this.ariaLabelVisibilityEmailPublic="Set email visibility to Everyone",this.ariaLabelVisibilityEmailTrustedParty="Set email visibility to Trusted Parties",this.ariaLabelVisibilityEmailPrivate="Set email visibility to Only Me",this.ariaLabelVisibilityDomainPublic="Set domain visibility to Everyone",this.ariaLabelVisibilityDomainTrustedParty="Set domain visibility to Trusted Parties",this.ariaLabelVisibilityDomainPrivate="Set domain visibility to Only Me",this.ariaOpenAccountSettings="Open your ORCID account settings",this.selfAssertedSource="Self-asserted source",this.deleteTooltip="You can't delete the only email address in your account",this.visibilityTooltip="Visibility set to Only me",this.orcidEmailValidation="ORCID email validation",this.verificationsSend=[],this.$destroy=new M.B,this.addedEmailsCount=0,this.emailsForm=new a.J3({}),this.emails=[],this.verifiedDomains=[],this.primaryEmail=void 0,this.defaultVisibility="PRIVATE",this.loadingTogglz=!1,this.emailDomainsTogglz=!1,this.disableVisibilities={},this.tempPrivacyState="PUBLIC"}ngOnInit(){this._userInfo.getUserInfo().subscribe(me=>{this.userInfo=me}),this._platform.get().pipe((0,v.Q)(this.$destroy)).subscribe(me=>this.isMobile=me.columns4||me.columns8),this._recordEmails.getEmails().pipe((0,r.M)(me=>{this.originalEmailsBackendCopy=(0,t.cloneDeep)(me).emails,this.backendJsonToForm((0,t.cloneDeep)(me))}),(0,_.$)()).subscribe(),this._togglz.getStateOf(C.i.EMAIL_DOMAINS_UI).pipe((0,h.s)(1)).subscribe(me=>{this.loadingTogglz=!1,this.emailDomainsTogglz=me})}backendJsonToForm(me){this.emailsForm=new a.J3({},{validators:[],updateOn:"change"}),me.emails.map(R=>{this.addEmail(R)}),me.emailDomains?.map(R=>{this.addEmailDomain(R)}),this.subscribeToVisibilityChanges()}formToBackend(me,J){const R=[],x=[];return J.map(ce=>ce.putCode).filter(ce=>me.value[ce].email).forEach((ce,Pe)=>{me.value[ce]&&R.push({value:me.value[ce].email,visibility:me.value[ce].visibility,primary:J[Pe].primary})}),this.verifiedDomains.map(ce=>ce.putCode).forEach(ce=>{const Pe=me.value[ce].emailDomain,pe=me.value[ce].visibility;Pe&&pe&&x.push({value:Pe,visibility:pe})}),[R,x]}addEmail(me,J){if(me||J&&this.emailsForm.valid){const R=(J?"newEmailInput":"emailInput-")+this.addedEmailsCount,x={putCode:R,action:me?"UPDATE":"ADD",...me};this.emails.push(x),me&&x.primary&&(this.primaryEmail=x),this.emailsForm.addControl(R,new a.J3({email:new a.hs(me?me.value:"",{validators:[a.k0.required,D.X.email,this.allEmailsAreUnique(R)],asyncValidators:[this._recordEmails.backendEmailValidate(this.originalEmailsBackendCopy)],updateOn:"change"}),visibility:new a.hs(me&&me.verified?me.visibility:this.defaultVisibility,{validators:[this.emailsIsUnverified(R)]})})),this.addedEmailsCount++,me||(this._changeDetectorRef.detectChanges(),this.inputs.last.nativeElement.focus())}else this._snackBar.showValidationError("Please review and fix the issue")}addEmailDomain(me){me.putCode="domain-"+me.value,this.verifiedDomains.push(me),this.emailsForm.addControl(me.putCode,new a.J3({emailDomain:new a.hs(me.value),visibility:new a.hs(me.visibility)})),this.disableDomainVisibilities(me.value)}
3makePrimary(me){this.primaryEmail=me,this.emails.forEach(J=>J.primary=J.putCode===me.putCode),this.triggerGeneralFormValidation()}setNextEmailAsPrimary(){let me=this.emails.filter(ce=>ce.verified);me.length<=1&&(me=this.emails);const R=(me.findIndex(ce=>ce.putCode===this.primaryEmail.putCode)+1)%me.length;this.makePrimary(me[R])}triggerGeneralFormValidation(){Object.keys(this.emailsForm.controls).forEach(me=>{me.startsWith("domain-")||this.emailsForm.controls[me].controls.email.updateValueAndValidity()})}allEmailsAreUnique(me){return J=>{const x=this.listDuplicateInputKeys(this.emailsForm);return this.removeDuplicateErrorFromOtherControls(x,this.emailsForm),x.indexOf(me)>=0?{duplicated:!0}:{}}}emailsIsUnverified(me){return J=>"PRIVATE"===J.value||this.showEmailAsVerified(me)?{}:{unverified:!0}}removeDuplicateErrorFromOtherControls(me,J=new a.J3({})){Object.keys(J.controls).forEach(R=>{if(!R.startsWith("domain-")){const x=J.controls[R].controls.email;-1===me.indexOf(R)&&x.errors&&x.errors.duplicated&&(delete x.errors.duplicated,x.updateValueAndValidity({onlySelf:!0}))}})}listDuplicateInputKeys(me){const J=[];return Object.keys(me.controls).forEach(R=>{let x=me.controls[R].controls.email?.value;x=x?.toLowerCase().trim(),Object.keys(me.controls).forEach(ce=>{let Pe=me.controls[ce].controls.email?.value;Pe=Pe?.toLowerCase().trim(),x&&Pe&&x===Pe&&R!==ce&&J.push(ce)})}),J}verifyEmail(me){const J=this.emailsForm.value[me.putCode]?.email,R=this.originalEmailsBackendCopy.find(x=>x.value===J);this._recordEmails.verifyEmail(R.value).pipe((0,_.$)()).subscribe(()=>{this.verificationsSend.push(R.value)})}saveEvent(){if(this.emailsForm.valid){const[me,J]=this.formToBackend(this.emailsForm,this.emails);this._recordEmails.postEmails({emails:me,emailDomains:J,errors:[]}).pipe((0,_.$)()).subscribe(),this.closeEvent()}else this._snackBar.showValidationError()}closeEvent(){this.dialogRef.close()}deleteEmail(me){if(!this.hasOneEmailAddress(me)){me===this.primaryEmail?.putCode&&this.setNextEmailAsPrimary();const J=this.emails.findIndex(x=>x.putCode===me),R=this.emails[J].value&&this.emails[J].value.includes("@")?this.emails[J].value.split("@")[1]:null;if(this.emails.splice(J,1),this.emailsForm.removeControl(me),R){let x=this.generateSubdomains(R);this.hasMatchingEmail(x)?this.updateDomainVisibility(R):(this.verifiedDomains=this.verifiedDomains.filter(Pe=>!x.includes(Pe.value)),this.emailsForm.removeControl("domain-"+R))}}}showNonVerifiedData(me,J){if(me.startsWith("new"))return!1;const R=this.emailsForm.value[me]?.email,x=this.originalEmailsBackendCopy.find(ce=>ce.value===R);return(!R||this.verificationsSend.indexOf(R)>-1||!J||!this.originalEmailsBackendCopy.find(ce=>ce.value===R)?.primary)&&x&&!x.verified}showVisibility(me,J){if(me.startsWith("new"))return!1;const R=this.emailsForm.value[me]?.email,x=this.originalEmailsBackendCopy.find(Pe=>Pe.value===R),ce=!!x;return!(ce&&x.primary&&this.emailsForm.hasError("duplicated",[me,"email"]))&&(!ce&&"UPDATE"===J&&this.emailsForm.patchValue({[me]:{visibility:"PRIVATE"}}),ce)}subscribeToVisibilityChanges(){this.emails.forEach(me=>{if(me.verified&&me.putCode.startsWith("emailInput")){const J=this.emailsForm.get(me.putCode),R=me.value.split("@")[1];J&&J.get("visibility").valueChanges.pipe((0,v.Q)(this.$destroy)).subscribe(()=>setTimeout(()=>this.updateDomainVisibility(R)))}})}updateDomainVisibility(me){const J=[],R=this.emailsForm.controls["domain-"+me];if(R){Object.keys(this.emailsForm.controls).forEach(Pe=>{if(Pe.startsWith("emailInput")){const pe=this.emailsForm.get(Pe).value;(pe.email.split("@")[1].endsWith("."+me)||pe.email.split("@")[1]===me)&&J.push(pe.visibility)}});const x=this.getMostPermissiveVisibility(J),ce=R.get("visibility").value;b.r[ce]<b.r[x]&&this.emailsForm.patchValue({["domain-"+me]:{visibility:x}}),this.disableDomainVisibilities(me,J),this._changeDetectorRef.detectChanges()}}disableDomainVisibilities(me,J=[]){0===J.length&&Object.keys(this.emailsForm.controls).forEach(x=>{if(x.startsWith("emailInput")){const ce=this.emailsForm.get(x);(ce.value.email.split("@")[1].endsWith("."+me)||ce.value.email.split("@")[1]===me)&&this.isEmailVerified(ce.value.email)&&J.push(ce.value.visibility)}});const R=this.getMostPermissiveVisibility(J);this.disableVisibilities[`domain-${me}`]=this.generateDisabledVisibilitiesMap(R)}generateDisabledVisibilitiesMap(me){return Object.keys(b.r).filter(J=>b.r[J]<b.r[me])}isEmailVerified(me){let J=!1;
3return this.emails.forEach(R=>{R.value===me&&(J=R.verified)}),J}getMostPermissiveVisibility(me){return me.length?me.reduce((J,R)=>b.r[R]>b.r[J]?R:J):null}getLeastPermissiveVisibility(me){return me.length?me.reduce((J,R)=>b.r[R]<b.r[J]?R:J):null}verificationEmailWasSend(me){if(me.startsWith("new"))return!1;const J=this.emailsForm.value[me]?.email;return this.verificationsSend.indexOf(J)>-1}showEmailAsVerified(me){if(me.startsWith("new"))return!1;const J=this.emailsForm.value[me]?.email,R=this.originalEmailsBackendCopy.find(ce=>ce.value===J),x=R?.verified;return!(x&&R.primary&&this.emailsForm.hasError("duplicated",[me,"email"]))&&x}hasOneEmailAddress(me=""){return!me.startsWith("new")&&1===this.emails.filter(J=>!J.putCode.startsWith("newEmailInput")).length}hasVerifiedEmailAddress(){return this.emails.some(me=>me.verified)}ngOnDestroy(){this.$destroy.next(!0),this.$destroy.unsubscribe()}hasMatchingEmail(me){return me.some(J=>this.emails.some(R=>R?.verified&&(R.value.split("@")[1]===J||R.value.split("@")[1].endsWith("."+J))))}generateSubdomains(me){const J=me.split("."),R=[];for(let x=0;x<J.length-1;x++)R.push(J.slice(x).join("."));return R}static{this.\u0275fac=function(J){return new(J||Ge)(f.rXU(L.k),f.rXU(E.E),f.rXU(d.gRc),f.rXU(se.Z),f.rXU(Y.z),f.rXU(ne.f),f.rXU(U.v))}}static{this.\u0275cmp=f.VBU({type:Ge,selectors:[["app-modal-email"]],viewQuery:function(J,R){if(1&J&&f.GBs(T,5),2&J){let x;f.mGM(x=f.lsd())&&(R.inputs=x)}},standalone:!1,decls:64,vars:20,consts:()=>{let me,J,R,x,ce,Pe,pe,st,Qe,At,Ne,ze,Ke,Ct,Wt,ln,Rn,Dn,Gn,Yn,ui,ti,$t,it,mt,Ze,Nt,vt;return me="\n Save changes\n ",J="\n Cancel\n ",R="\n Having multiple email addresses helps you maintain access to your ORCID\n record. A mix of personal and professional email addresses works best.\n ",x="\n Email addresses\n ",ce="\n Email notifications\n ",Pe="\n Which verified email address should we send your ORCID notifications\n to? You can change the frequency of these notification emails in\n ",pe="your ORCID account settings.",st="Emails & domains",Qe="Emails",At="\n Please verify your email addresses\n ",Ne="To access all of ORCID\u2019s editing features you must verify at least\n one email address. Until then you will only be able to\n manage",ze="names",Ke="and",Ct="email addresses",Wt="in your ORCID record.",ln="Unverified",Rn="Source:",Dn="Verification email sent",Gn="\n Resend verification email",Yn="\n An email is required\n ",ui="\n Email can not be duplicated\n ",ti="\n Please enter a valid email address, for example\n [email protected]\n ",$t="\n This email is already associated with an ORCID record.\n ",it="\n Add another email address\n ",mt="\n Verified email domains\n ",Ze="When you verify a professional email address we will add the\n associated domain to your record. You can choose to show an email\n domain on your public record instead of the full email\n address.",Nt="Find out more about verified email domains",vt="No verified email domains",[["emailInput",""],me,J,R,x,ce,Pe,pe,st,Qe,At,Ne,ze,Ke,Ct,Wt,ln,Rn,Dn,Gn,Yn,ui,ti,$t,it,mt,Ze,Nt,vt,[3,"noSidebar"],[3,"closeLabel",4,"ngIf"],["mat-raised-button","","color","primary","id","save-emails-button",3,"click"],["mat-stroked-button","","color","primary","id","cancel-emails-button",3,"click"],[3,"formGroup"],[1,"orc-font-body-small","description"],[4,"ngIf"],["id","Email addresses",1,"row","email-list"],[1,"orc-font-body-large"],[1,"separator"],[4,"ngFor","ngForOf"],["class","row orc-font-body-small",4,"ngIf"],["id","Email domains",4,"ngIf"],["id","Email notifications"],[1,"orc-font-body-large","email-notifications-header"],[1,"orc-font-body-small","email-notifications-description"],["href","/account","target","_blank","rel","noopener noreferrer"],["appearance","outline",1,"mat-form-field-min","select-notifications-email",3,"ngClass"],["outline","black",1,"orc-font-body-small",3,"selectionChange","valueChange","aria-label","disabled","placeholder","value"],[3,"closeLabel"],["title","",1,"orc-font-body"],["content","",1,"orc-font-body-small"],[1,"email-entry","row"],[1,"row","email-input-line",3,"formGroupName"],[1,"email-input-container"],["appearance","outline","class","mat-form-field-min orc-font-body-small",4,"ngIf"],["class","verified-email",4,"ngIf"],[1,"actions-sub-wrapper",3,"ngClass"],["formControlName","visibility","id","cy-email-visibility",3,"ariaLabelPrivate","ariaLabelPublic","ariaLabelTrustedParty","itemTitle","editable","mobile","privacy","matTooltip"],[3,"matTooltip"],["mat-icon-button","",1,"delete-button",3,"click","disabled"],[1,"material-icons-outlined","extra-large-material-icon"],[1,"row","actions-wrapper",3,"ngClass"],["class","actions-sub-wrapper orc-font-small-print",4,"ngIf"],["class","orc-font-small-print",4,"ngIf"],["appearance","outline",1,"mat-form-field-min","orc-font-body-small"],["matInput","","formControlName","email","type","email","appTrim",""],[1,"verified-email"],["tabindex","0",1,"row","orc-font-body-small"],[1,"orc-font-small-print",3,"name","isEmailOrDomain","date","isLastItem"],[1,"actions-sub-wrapper","orc-font-small-print"],["class","disabled underline",4,"ngIf"],["class","underline",3,"click",4,"ngIf"],[1,"disabled","underline"],[1,"underline",3,"click"],[1,"orc-font-small-print"],[1,"row","orc-font-body-small"],[1,"col","add-more",3,"click"],[1,"large-material-icon"],["id","Email domains"],[1,"orc-font-body-small"],["href","https://support.orcid.org/hc/en-us/articles/25578292888215-Email-Domains","target","_blank","rel","noopener noreferrer"],[3,"formGroupName",4,"ngFor","ngForOf"],[3,"formGroupName"],[1,"row","email-entry"],[1,"verification-icon","verified"],[1,"actions-sub-wrapper","domain-visibility"],["formControlName","visibility","id","cy-domain-visibility",3,"disableVisibilities","itemTitle","ariaLabelPrivate","ariaLabelPublic","ariaLabelTrustedParty","mobile","privacy"],[3,"ngClass","value",4,"ngIf"],[3,"ngClass","value"]]},template:function(J,R){1&J&&(f.j41(0,"app-modal",29),f.EFF(1,"\n "),f.DNE(2,H,2,1,"app-modal-header",30),f.EFF(3,"\n "),f.DNE(4,
3ie,2,1,"app-modal-header",30),f.EFF(5,"\n "),f.j41(6,"app-modal-footer"),f.EFF(7,"\n "),f.j41(8,"button",31),f.bIt("click",function(){return R.saveEvent()}),f.pXf(9,1),f.k0s(),f.EFF(10,"\n "),f.j41(11,"button",32),f.bIt("click",function(){return R.closeEvent()}),f.pXf(12,2),f.k0s(),f.EFF(13,"\n "),f.k0s(),f.EFF(14,"\n\n "),f.j41(15,"div",33),f.EFF(16,"\n "),f.j41(17,"p",34),f.pXf(18,3),f.k0s(),f.EFF(19,"\n\n "),f.DNE(20,Ce,23,0,"app-alert-message",35),f.EFF(21,"\n "),f.EFF(22,"\n "),f.j41(23,"section",36),f.EFF(24,"\n "),f.j41(25,"h2",37),f.pXf(26,4),f.k0s(),f.EFF(27,"\n "),f.nrm(28,"hr",38),f.EFF(29,"\n "),f.DNE(30,de,44,33,"ng-container",39),f.EFF(31,"\n "),f.DNE(32,ae,11,0,"div",40),f.EFF(33,"\n "),f.k0s(),f.EFF(34,"\n "),f.EFF(35,"\n "),f.DNE(36,Be,18,2,"section",41),f.EFF(37,"\n "),f.EFF(38,"\n "),f.j41(39,"section",42),f.EFF(40,"\n "),f.j41(41,"h2",43),f.pXf(42,5),f.k0s(),f.EFF(43,"\n "),f.j41(44,"p",44),f.EFF(45,"\n "),f.qex(46),f.pXf(47,6),f.bVm(),f.EFF(48,"\n "),f.j41(49,"a",45),f.pXf(50,7),f.k0s(),f.EFF(51,"\n "),f.k0s(),f.EFF(52,"\n "),f.j41(53,"mat-form-field",46),f.EFF(54,"\n "),f.j41(55,"mat-select",47),f.bIt("selectionChange",function(ce){return R.makePrimary(ce.value)}),f.mxI("valueChange",function(ce){return f.DH7(R.primaryEmail,ce)||(R.primaryEmail=ce),ce}),f.EFF(56,"\n "),f.DNE(57,Se,4,1,"ng-container",39),f.EFF(58,"\n "),f.k0s(),f.EFF(59,"\n "),f.k0s(),f.EFF(60,"\n "),f.k0s(),f.EFF(61,"\n "),f.k0s(),f.EFF(62,"\n"),f.k0s(),f.EFF(63,"\n")),2&J&&(f.Y8G("noSidebar",!0),f.R7$(2),f.Y8G("ngIf",R.emailDomainsTogglz&&!R.loadingTogglz),f.R7$(2),f.Y8G("ngIf",!R.emailDomainsTogglz&&!R.loadingTogglz),f.R7$(4),f.BMQ("aria-label",R.emailDomainsTogglz&&!R.loadingTogglz?R.ariaLabelSave:R.ariaLabelSaveOld),f.R7$(3),f.BMQ("aria-label",R.emailDomainsTogglz&&!R.loadingTogglz?R.ariaLabelCancel:R.ariaLabelCancelOld),f.R7$(4),f.Y8G("formGroup",R.emailsForm),f.R7$(5),f.Y8G("ngIf",!R.hasVerifiedEmailAddress()),f.R7$(10),f.Y8G("ngForOf",R.emails),f.R7$(2),f.Y8G("ngIf","true"!==(null==R.userInfo?null:R.userInfo.IN_DELEGATION_MODE)||"true"===(null==R.userInfo?null:R.userInfo.DELEGATED_BY_ADMIN)),f.R7$(4),f.Y8G("ngIf",R.emailDomainsTogglz&&!R.loadingTogglz),f.R7$(13),f.BMQ("aria-label",R.ariaOpenAccountSettings),f.R7$(4),f.Y8G("ngClass",f.eq3(18,I,!R.hasVerifiedEmailAddress())),f.R7$(2),f.Y8G("placeholder",f.VkB(" ",null==R.primaryEmail?null:R.primaryEmail.value))("aria-label",R.ariaLabelNotificationsAreSentToEmail+" "+(null==R.primaryEmail?null:R.primaryEmail.value))("disabled",!R.hasVerifiedEmailAddress()),f.R50("value",R.primaryEmail),f.R7$(2),f.Y8G("ngForOf",R.emails))},styles:["[_nghost-%COMP%] .verify-icon.email-activated mat-icon{color:#a6ce39}[_nghost-%COMP%] .verify-icon mat-icon{color:#bdbdbd}.add-more[_ngcontent-%COMP%]{color:#085c77}.verification-icon[_ngcontent-%COMP%]{color:#eee}.verified[_ngcontent-%COMP%]{color:#a6ce39}
3.separator[_ngcontent-%COMP%]{background:#eee}.select-notifications-email[_ngcontent-%COMP%]{color:#0000001f}.info[_ngcontent-%COMP%]{border-color:#ff9c00!important}.info[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{color:#ff9c00!important}",'.row[_ngcontent-%COMP%] .col[_ngcontent-%COMP%]{padding-inline-start:0}p[_ngcontent-%COMP%]{line-height:21px}a[_ngcontent-%COMP%]{text-decoration:underline}.description[_ngcontent-%COMP%]{margin:0 0 16px;line-height:21px}.verification-icon[_ngcontent-%COMP%]{height:40px;width:40px;font-size:40px;margin-right:16px;align-content:center}.verification-icon[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{height:32px;width:32px;margin-left:auto;margin-right:auto;display:block}mat-form-field[_ngcontent-%COMP%]{width:100%;line-height:20px;margin:0}mat-form-field[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{line-height:1.1}.actions-wrapper[_ngcontent-%COMP%]{width:100%;margin-right:255px;margin-top:3px;line-height:21px}.actions-wrapper-mobile[_ngcontent-%COMP%]{margin-right:150px!important}.actions-wrapper[_ngcontent-%COMP%], .actions-sub-wrapper[_ngcontent-%COMP%]{display:flex;flex-wrap:nowrap;justify-content:space-between}.actions-wrapper[_ngcontent-%COMP%] .actions-sub-wrapper[_ngcontent-%COMP%], .actions-sub-wrapper[_ngcontent-%COMP%] .actions-sub-wrapper[_ngcontent-%COMP%]{justify-content:end}.actions-wrapper[_ngcontent-%COMP%] .actions-sub-wrapper[_ngcontent-%COMP%] a[_ngcontent-%COMP%], .actions-sub-wrapper[_ngcontent-%COMP%] .actions-sub-wrapper[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{width:100%}.actions-wrapper[_ngcontent-%COMP%] .privacy-selector[_ngcontent-%COMP%], .actions-sub-wrapper[_ngcontent-%COMP%] .privacy-selector[_ngcontent-%COMP%]{justify-content:unset;padding-inline-start:8px}.email-input-line[_ngcontent-%COMP%]{align-items:center;height:44px}.email-entry[_ngcontent-%COMP%]{margin-top:16px;margin-bottom:16px}
3.separator[_ngcontent-%COMP%]{height:1px;width:100%;margin:0}section[id="Email domains"][_ngcontent-%COMP%]{margin-bottom:32px}.email-list[_ngcontent-%COMP%]{margin-bottom:32px}.email-list[_ngcontent-%COMP%] .mat-mdc-form-field-hint-wrapper{padding:0!important;margin-top:4px}.email-input-container[_ngcontent-%COMP%]{flex-grow:1;padding-inline-end:24px;width:0}.select-notifications-email[_ngcontent-%COMP%]{height:38px;max-width:402px}.current-notification-email[_ngcontent-%COMP%]{font-weight:700}.add-more[_ngcontent-%COMP%]{margin-top:16px;align-items:center}.add-more[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{padding-inline-end:8px}.verified-email[_ngcontent-%COMP%]{letter-spacing:.25px;flex-grow:1}.verified-email[_ngcontent-%COMP%] em[_ngcontent-%COMP%], .verified-email[_ngcontent-%COMP%] strong[_ngcontent-%COMP%]{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.verified-email[_ngcontent-%COMP%] strong[_ngcontent-%COMP%]{margin-bottom:2px}.visibility-hidden[_ngcontent-%COMP%]{justify-content:end!important}.domain-visibility[_ngcontent-%COMP%]{margin-right:16px}.delete-button[_ngcontent-%COMP%]{margin-inline-start:16px;margin-inline-end:16px}.delete-button[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{font-size:24px;margin-top:-4px}.email-notfications-header[_ngcontent-%COMP%]{margin-bottom:16px}.email-notifications-description[_ngcontent-%COMP%]{margin-bottom:32px}app-visibility-selector[_ngcontent-%COMP%]{margin-inline-start:8px}app-alert-message[_ngcontent-%COMP%]{margin-bottom:16px;margin-top:16px} .main-button-container{height:100%}.mat-mdc-form-field-hint[_ngcontent-%COMP%]{display:inline}']})}}return Ge})()},31635:(qe,ee,o)=>{"use strict";function f(ue,z,de,ae){return new(de||(de=Promise))(function($,K){function Be(pt){try{Se(ae.next(pt))}catch(Ge){K(Ge)}}function Ye(pt){try{Se(ae.throw(pt))}catch(Ge){K(Ge)}}function Se(pt){pt.done?$(pt.value):function X($){return $ instanceof de?$:new de(function(K){K($)})}(pt.value).then(Be,Ye)}Se((ae=ae.apply(ue,z||[])).next())})}function T(ue){return this instanceof T?(this.v=ue,this):new T(ue)}function I(ue,z,de){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var X,ae=de.apply(ue,z||[]),$=[];return X=Object.create(("function"==typeof AsyncIterator?AsyncIterator:Object).prototype),Be("next"),Be("throw"),Be("return",function K(me){return function(J){return Promise.resolve(J).then(me,Ge)}}),X[Symbol.asyncIterator]=function(){return this},X;function Be(me,J){ae[me]&&(X[me]=function(R){return new Promise(function(x,ce){$.push([me,R,x,ce])>1||Ye(me,R)})},J&&(X[me]=J(X[me])))}function Ye(me,J){try{!function Se(me){me.value instanceof T?Promise.resolve(me.value.v).then(pt,Ge):bt($[0][2],me)}(ae[me](J))}catch(R){bt($[0][3],R)}}function pt(me){Ye("next",me)}function Ge(me){Ye("throw",me)}function bt(me,J){me(J),$.shift(),$.length&&Ye($[0][0],$[0][1])}}function Z(ue){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var de,z=ue[Symbol.asyncIterator];return z?z.call(ue):(ue=function E(ue){var z="function"==typeof Symbol&&Symbol.iterator,de=z&&ue[z],ae=0;if(de)return de.call(ue);if(ue&&"number"==typeof ue.length)return{next:function(){return ue&&ae>=ue.length&&(ue=void 0),{value:ue&&ue[ae++],done:!ue}}};throw new TypeError(z?"Object is not iterable.":"Symbol.iterator is not defined.")}(ue),de={},ae("next"),ae("throw"),ae("return"),de[Symbol.asyncIterator]=function(){return this},de);function ae($){de[$]=ue[$]&&function(K){return new Promise(function(Be,Ye){!function X($,K,Be,Ye){Promise.resolve(Ye).then(function(Se){$({value:Se,done:Be})},K)}(Be,Ye,(K=ue[$](K)).done,K.value)})}}}o.d(ee,{AQ:()=>I,N3:()=>T,sH:()=>f,xN:()=>Z}),"function"==typeof SuppressedError&&SuppressedError},31762:function(qe,ee,o){(function(){"use strict";var a,t,u,M,r={}.hasOwnProperty;t=o(32426),a=o(61161),u=o(64743),M=o(82649),ee.defaults=t.defaults,ee.processors=M,ee.ValidationError=function(){function h(C){this.message=C}return function(_,h){for(var C in h)r.call(h,C)&&(_[C]=h[C]);function b(){this.constructor=_}b.prototype=h.prototype,_.prototype=new b,_.__super__=h.prototype}(h,Error),h}(),ee.Builder=a.Builder,ee.Parser=u.Parser,ee.parseString=u.parseString,ee.parseStringPromise=u.parseStringPromise}).call(this)},31771:(qe,ee,o)=>{"use strict";o.d(ee,{b:()=>a});var a=function(t){return t.forceDomainInterstitialAsNeverSeem="forceDomainInterstitialAsNeverSeem",t.forceInterstitialCheckOnEveryReload="forceInterstitialChecksOnEveryReload",t.forceAffiliationInterstitialNotSeem="forceAffiliationInterstitialAsNeverSeem",t.forceBackupEmailInterstitialNotSeem="forceBackupEmailInterstitialAsNeverSeem",t}(a||{})},32130:(qe,ee,o)=>{"use strict";o.d(ee,{z:()=>O});var a=o(96697),t=o(34434),u=o(95416),M=o(73664),v=o(51060),r=o(72200),_=o(81074),h=o(23768);function C(d,L){1&d&&(M.j41(0,"mat-icon",8),M.EFF(1,"error"),M.k0s())}function b(d,L){if(1&d&&(M.j41(0,"a",9),M.EFF(1),M.k0s()),2&d){const E=M.XpG();M.Y8G("href",E.data.displayMessage.actionURL,M.B4B),M.R7$(),M.SpI(" ",E.data.displayMessage.action," ")}}let D=(()=>{class d{constructor(E,se,Y){this.snackBarRef=E,this.data=se,this._platform=Y,this._contentDirection="ltr",this.labelClose="Close",this.isIE=!1,this.closable=se.displayMessage?.closable,this._contentDirection=se.displayMessage?.contentDirection,this._platform.get().pipe((0,a.s)(1)).subscribe(ne=>{this.isIE=ne.ie})}ngOnInit(){}static{this.\u0275fac=function(se){return new(se||d)(M.rXU(u.TQ),M.rXU(u.ht),M.rXU(v.Z))}}static{this.\u0275cmp=M.VBU({type:d,selectors:[["app-snackbar"]],hostVars:1,hostBindings:function(se,Y){2&se&&M.BMQ("dir",Y._contentDirection)},standalone:!1,decls:13,vars:6,consts:[["class","errorGroup",4,"ngIf"],[1,"close-button-container"],["mat-icon-button","",3,"click"],[1,"box","mat-subtitle-2"],[1,"mat-subtitle-1"],[1,"error-container"],["rel","noopener noreferrer","target","_blank","class","white-url",3,"href",4,"ngIf"],[1,"mat-caption"],[1,"errorGroup"],["rel","noopener noreferrer","target","_blank",1,"white-url",3,"href"]],template:function(se,Y){1&se&&(M.DNE(0,C,2,0,"mat-icon",0),M.j41(1,"div",1)(2,"button",2),M.bIt("click",function(){return Y.snackBarRef.dismiss()}),M.j41(3,"mat-icon"),M.EFF(4,"close"),M.k0s()()(),M.j41(5,"div",3)(6,"div",4),M.EFF(7),M.k0s(),M.j41(8,"div",5),M.EFF(9),M.DNE(10,b,2,2,"a",6),M.k0s(),M.j41(11,"div",7),M.EFF(12),M.k0s()()),2&se&&(M.Y8G("ngIf",!Y.isIE),M.R7$(2),M.BMQ("aria-label",Y.labelClose),M.R7$(5),M.JRh(null==Y.data.displayMessage?null:Y.data.displayMessage.title),M.R7$(2),M.SpI(" ",null==Y.data.displayMessage?null:Y.data.displayMessage.message," "),M.R7$(),M.Y8G("ngIf",(null==Y.data.displayMessage?null:Y.data.displayMessage.action)&&(null==Y.data.displayMessage?null:Y.data.displayMessage.actionURL)),M.R7$(2),M.JRh(null==Y.data?null:Y.data.caption))},dependencies:[r.bT,_.An,h.M],styles:["mat-icon[_ngcontent-%COMP%], div[_ngcontent-%COMP%]{color:#fff}","[_nghost-%COMP%]{display:flex;align-items:center;overflow-wrap:anywhere}.close-button-container[_ngcontent-%COMP%]{position:absolute;right:0;top:4px;width:50px}[dir=rtl][_ngcontent-%COMP%] .close-button-container[_ngcontent-%COMP%]{left:0}mat-icon.errorGroup[_ngcontent-%COMP%]{font-size:30px;height:30px;width:35px;margin:10px}[dir=rtl][_ngcontent-%COMP%] mat-icon.errorGroup[_ngcontent-%COMP%]{margin-left:10px}.mat-subtitle-1[_ngcontent-%COMP%]{margin:0}.mat-caption[_ngcontent-%COMP%]{text-align:right}.error-container[_ngcontent-%COMP%]{margin-bottom:10px}.box[_ngcontent-%COMP%]{width:calc(100% - 30px)}"]})}}return d})();var f=o(2615);let O=(()=>{class d{constructor(E,se){this._snackBar=E,this.horizontalPosition="right",this.contentDirection="ltr",se.get().pipe((0,a.s)(1)).subscribe(Y=>{Y.rtl&&(this.horizontalPosition="left",this.contentDirection="rtl")})}
3showErrorMessage(E,se){let Y;if(se?.display&&(!se.display.displayOnlyOnVerboseEnvironment||runtimeEnvironment.VERBOSE_SNACKBAR_ERRORS_REPORTS)&&(Y={...se.display,contentDirection:se.display.contentDirection||this.contentDirection,closable:typeof se.display.closable<"u"&&se.display.closable},this._snackBar.openFromComponent(D,{data:{displayMessage:Y,caption:E.message},horizontalPosition:this.horizontalPosition,verticalPosition:"bottom",panelClass:"orcid-error",duration:1e5})),se?.analytics){const ne=`${se.analytics.code}/${E?.message??""}`.replace(/ /g,"");console.error(`\n __Report error GA__\n description: ${ne}\n fatal: ${se.analytics.fatal}\n `)}}showValidationError(E="Please review the form and fix the issues before saving",se="Form validation error"){this._snackBar.openFromComponent(D,{data:{displayMessage:{contentDirection:this.contentDirection,closable:!0,title:se,message:E}},horizontalPosition:this.horizontalPosition,verticalPosition:"bottom",panelClass:"orcid-error",duration:1e4})}showSuccessMessage(E){this._snackBar.openFromComponent(D,{data:{displayMessage:E},horizontalPosition:this.horizontalPosition,verticalPosition:"bottom",panelClass:"orcid-success",duration:1e3*(E.closable?90:15)})}static{this.\u0275fac=function(se){return new(se||d)(f.KVO(u.UG),f.KVO(v.Z))}}static{this.\u0275prov=f.jDH({token:d,factory:d.\u0275fac,providedIn:t._})}}return d})()},32413:(qe,ee,o)=>{"use strict";o.d(ee,{e:()=>u});var a=o(72200),t=o(73664);let u=(()=>{class M{constructor(){this.shape="square",this.width="100%",this.height="100%",this.shimmerPercentage=100,this.accentBackground=!0}get hostClasses(){return[this.shape,this.accentBackground?"":"skeleton-placeholder--surface"].filter(Boolean).join(" ")}get hostWidth(){return this.width}get hostHeight(){return this.height}get shimmerWidth(){return`${this.shimmerPercentage}%`}get shimmerLeft(){return(100-this.shimmerPercentage)/2+"%"}get shimmerHeight(){return`${this.shimmerPercentage}%`}get shimmerTop(){return(100-this.shimmerPercentage)/2+"%"}static{this.\u0275fac=function(_){return new(_||M)}}static{this.\u0275cmp=t.VBU({type:M,selectors:[["orcid-skeleton-placeholder"]],hostVars:14,hostBindings:function(_,h){2&_&&(t.HbH(h.hostClasses),t.xc7("width",h.hostWidth)("height",h.hostHeight)("--shimmer-width",h.shimmerWidth)("--shimmer-left",h.shimmerLeft)("--shimmer-height",h.shimmerHeight)("--shimmer-top",h.shimmerTop))},inputs:{shape:"shape",width:"width",height:"height",shimmerPercentage:"shimmerPercentage",accentBackground:"accentBackground"},decls:0,vars:0,template:function(_,h){},dependencies:[a.MD],styles:['[_nghost-%COMP%]{display:block;background-color:#ffffff03;position:relative;overflow:hidden}[_nghost-%COMP%]:before{content:"";position:absolute;top:var(--shimmer-top, 0);left:var(--shimmer-left, 0);width:var(--shimmer-width, 100%);height:var(--shimmer-height, 100%);background:linear-gradient(90deg,#ffffff14 0% 30%,#ffffff1f 50%,#ffffff14 70% 100%);background-size:200% 100%;animation:_ngcontent-%COMP%_shimmer 2s infinite ease-in-out}.skeleton-placeholder--surface[_nghost-%COMP%]{background-color:#0000000a}.skeleton-placeholder--surface[_nghost-%COMP%]:before{background:linear-gradient(90deg,transparent 0%,rgba(0,0,0,.05) 25%,rgba(0,0,0,.1) 50%,rgba(0,0,0,.05) 75%,transparent 100%);background-size:200% 100%;animation:_ngcontent-%COMP%_shimmer 2s infinite ease-in-out}.circle[_nghost-%COMP%]{border-radius:50%}.circle[_nghost-%COMP%]:before{border-radius:50%}.square[_nghost-%COMP%]{border-radius:4px}.square[_nghost-%COMP%]:before{border-radius:4px}@keyframes _ngcontent-%COMP%_shimmer{0%{background-position:-200% 0}to{background-position:200% 0}}']})}}return M})()},32426:function(qe,ee){(function(){ee.defaults={.1:{explicitCharkey:!1,trim:!0,normalize:!0,normalizeTags:!1,attrkey:"@",charkey:"#",explicitArray:!1,ignoreAttrs:!1,mergeAttrs:!1,explicitRoot:!1,validator:null,xmlns:!1,explicitChildren:!1,childkey:"@@",charsAsChildren:!1,includeWhiteChars:!1,async:!1,strict:!0,attrNameProcessors:null,attrValueProcessors:null,tagNameProcessors:null,valueProcessors:null,emptyTag:""},.2:{explicitCharkey:!1,trim:!1,normalize:!1,normalizeTags:!1,attrkey:"$",charkey:"_",explicitArray:!0,ignoreAttrs:!1,mergeAttrs:!1,explicitRoot:!0,validator:null,xmlns:!1,explicitChildren:!1,preserveChildrenOrder:!1,childkey:"$$",charsAsChildren:!1,includeWhiteChars:!1,async:!1,strict:!0,attrNameProcessors:null,attrValueProcessors:null,tagNameProcessors:null,valueProcessors:null,rootName:"root",xmldec:{version:"1.0",encoding:"UTF-8",standalone:!0},doctype:null,renderOpts:{pretty:!0,indent:" ",newline:"\n"},headless:!1,chunkSize:1e4,emptyTag:"",cdata:!1}}}).call(this)},32480:(qe,ee,o)=>{"use strict";o.d(ee,{H4:()=>t,MX:()=>r,O7:()=>M,Rz:()=>h,Zf:()=>_,d:()=>u,jO:()=>a,kU:()=>v});var a=function(C){return C.award="award",C.contract="contract",C.grant="grant",C.salary_award="salary-award",C}(a||{});const t={[a.award]:"Award",[a.contract]:"Contract",[a.grant]:"Grant",[a.salary_award]:"Salary award"};var u=function(C){return C.self="self",C["part-of"]="part-of",C}(u||{});const M={self:"Self","part-of":"Part of"},v={self:"The identifier applies to the funding award itself.","part-of":"The identifier applies to the larger award of which the project is part."};var r=function(C){return C.grant_number="grant_number",C}(r||{});const _={ab:"Abkhazian",aa:"Afar",af:"Afrikaans",ak:"Akan",sq:"Albanian",am:"Amharic",ar:"Arabic",an:"Aragonese",hy:"Armenian",as:"Assamese",av:"Avaric",ae:"Avestan",ay:"Aymara",az:"Azerbaijani",bm:"Bambara",bn:"Bangla",ba:"Bashkir",eu:"Basque",be:"Belarusian",bh:"Bihari",bi:"Bislama",b
3s:"Bosnian",br:"Breton",bg:"Bulgarian",my:"Burmese",ca:"Catalan",ch:"Chamorro",ce:"Chechen",zh_CN:"Chinese (simplified)",zh_TW:"Chinese (traditional)",cu:"Church Slavic",cv:"Chuvash",kw:"Cornish",co:"Corsican",cr:"Cree",hr:"Croatian",cs:"Czech",da:"Danish",dv:"Divehi",nl:"Dutch",dz:"Dzongkha",en:"English",eo:"Esperanto",et:"Estonian",ee:"Ewe",fo:"Faroese",fj:"Fijian",fi:"Finnish",fr:"French",ff:"Fulah",gl:"Galician",lg:"Ganda",ka:"Georgian",de:"German",el:"Greek",gn:"Guarani",gu:"Gujarati",ht:"Haitian Creole",ha:"Hausa",iw:"Hebrew",hz:"Herero",hi:"Hindi",ho:"Hiri Motu",hu:"Hungarian",is:"Icelandic",io:"Ido",ig:"Igbo",in:"Indonesian",ia:"Interlingua",ie:"Interlingue",iu:"Inuktitut",ik:"Inupiaq",ga:"Irish",it:"Italian",ja:"Japanese",jv:"Javanese",kl:"Kalaallisut",kn:"Kannada",kr:"Kanuri",ks:"Kashmiri",kk:"Kazakh",km:"Khmer",ki:"Kikuyu",rw:"Kinyarwanda",kv:"Komi",kg:"Kongo",ko:"Korean",kj:"Kuanyama",ku:"Kurdish",ky:"Kyrgyz",lo:"Lao",la:"Latin",lv:"Latvian",li:"Limburgish",ln:"Lingala",lt:"Lithuanian",lu:"Luba-Katanga",lb:"Luxembourgish",mk:"Macedonian",mg:"Malagasy",ms:"Malay",ml:"Malayalam",mt:"Maltese",gv:"Manx",mi:"Maori",mr:"Marathi",mh:"Marshallese",mo:"Moldavian",mn:"Mongolian",na:"Nauru",nv:"Navajo",ng:"Ndonga",ne:"Nepali",nd:"North Ndebele",se:"Northern Sami",no:"Norwegian",nb:"Norwegian Bokm\xe5l",nn:"Norwegian Nynorsk",ny:"Nyanja",oc:"Occitan",or:"Odia",oj:"Ojibwa",om:"Oromo",os:"Ossetic",pi:"Pali",ps:"Pashto",fa:"Persian",pl:"Polish",pt:"Portuguese",pa:"Punjabi",qu:"Quechua",ro:"Romanian",rm:"Romansh",rn:"Rundi",ru:"Russian",sm:"Samoan",sg:"Sango",sa:"Sanskrit",sc:"Sardinian",gd:"Scottish Gaelic",sr:"Serbian",sn:"Shona",ii:"Sichuan Yi",sd:"Sindhi",si:"Sinhala",sk:"Slovak",sl:"Slovenian",so:"Somali",nr:"South Ndebele",st:"Southern Sotho",es:"Spanish",su:"Sundanese",sw:"Swahili",ss:"Swati",sv:"Swedish",tl:"Tagalog",ty:"Tahitian",tg:"Tajik",ta:"Tamil",tt:"Tatar",te:"Telugu",th:"Thai",bo:"Tibetan",ti:"Tigrinya",to:"Tongan",ts:"Tsonga",tn:"Tswana",tr:"Turkish",tk:"Turkmen",tw:"Twi",uk:"Ukrainian",ur:"Urdu",ug:"Uyghur",uz:"Uzbek",ve:"Venda",vi:"Vietnamese",vo:"Volap\xfck",wa:"Walloon",cy:"Welsh",fy:"Western Frisian",wo:"Wolof",xh:"Xhosa",ji:"Yiddish",yo:"Yoruba",za:"Zhuang",zu:"Zulu"},h={ADP:"ADP",AED:"AED",AFA:"AFA",AFN:"AFN",ALL:"ALL",AMD:"AMD",ANG:"ANG",AOA:"AOA",ARS:"ARS",ATS:"ATS",AUD:"AUD",AWG:"AWG",AYM:"AYM",AZM:"AZM",AZN:"AZN",BAM:"BAM",BBD:"BBD",BDT:"BDT",BEF:"BEF",BGL:"BGL",BGN:"BGN",BHD:"BHD",BIF:"BIF",BMD:"BMD",BND:"BND",BOB:"BOB",BOV:"BOV",BRL:"BRL",BSD:"BSD",BTN:"BTN",BWP:"BWP",BYB:"BYB",BYN:"BYN",BYR:"BYR",BZD:"BZD",CAD:"CAD",CDF:"CDF",CHE:"CHE",CHF:"CHF",CHW:"CHW",CLF:"CLF",CLP:"CLP",CNY:"CNY",COP:"COP",COU:"COU",CRC:"CRC",CSD:"CSD",CUC:"CUC",CUP:"CUP",CVE:"CVE",CYP:"CYP",CZK:"CZK",DEM:"DEM",DJF:"DJF",DKK:"DKK",DOP:"DOP",DZD:"DZD",EEK:"EEK",EGP:"EGP",ERN:"ERN",ESP:"ESP",ETB:"ETB",EUR:"EUR",FIM:"FIM",FJD:"FJD",FKP:"FKP",FRF:"FRF",GBP:"GBP",GEL:"GEL",GHC:"GHC",GHS:"GHS",GIP:"GIP",GMD:"GMD",GNF:"GNF",GRD:"GRD",GTQ:"GTQ",GWP:"GWP",GYD:"GYD",HKD:"HKD",HNL:"HNL",HRK:"HRK",HTG:"HTG",HUF:"HUF",IDR:"IDR",IEP:"IEP",ILS:"ILS",INR:"INR",IQD:"IQD",IRR:"IRR",ISK:"ISK",ITL:"ITL",JMD:"JMD",JOD:"JOD",JPY:"JPY",KES:"KES",KGS:"KGS",KHR:"KHR",KMF:"KMF",KPW:"KPW",KRW:"KRW",KWD:"KWD",KYD:"KYD",KZT:"KZT",LAK:"LAK",LBP:"LBP",LKR:"LKR",LRD:"LRD",LSL:"LSL",LTL:"LTL",LUF:"LUF",LVL:"LVL",LYD:"LYD",MAD:"MAD",MDL:"MDL",MGA:"MGA",MGF:"MGF",MKD:"MKD",MMK:"MMK",MNT:"MNT",MOP:"MOP",MRO:"MRO",MRU:"MRU",MTL:"MTL",MUR:"MUR",MVR:"MVR",MWK:"MWK",MXN:"MXN",MXV:"MXV",MYR:"MYR",MZM:"MZM",MZN:"MZN",NAD:"NAD",NGN:"NGN",NIO:"NIO",NLG:"NLG",NOK:"NOK",NPR:"NPR",NZD:"NZD",OMR:"OMR",PAB:"PAB",PEN:"PEN",PGK:"PGK",PHP:"PHP",PKR:"PKR",PLN:"PLN",PTE:"PTE",PYG:"PYG",QAR:"QAR",ROL:"ROL",RON:"RON",RSD:"RSD",RUB:"RUB",RUR:"RUR",RWF:"RWF",SAR:"SAR",SBD:"SBD",SCR:"SCR",SDD:"SDD",SDG:"SDG",SEK:"SEK",SGD:"SGD",SHP:"SHP",SIT:"SIT",SKK:"SKK",SLL:"SLL",SOS:"SOS",SRD:"SRD",SRG:"SRG",SSP:"SSP",STD:"STD",STN:"STN",SVC:"SVC",SYP:"SYP",THB:"THB",THJ:"THJ",TMM:"TMM",TMT:"TMT",TND:"TND",TOP:"TOP",TPE:"TPE",TRL:"TRL",TRY:"TRY",TTD:"TTD",TWD:"TWD",TZS:"TZS",UAH:"UAH",UGX:"UGX",USD:"USD",USS:"USS",UYI:"UYI",UYU:"UYU",UZS:"UZS",VEB:"VEB",VEF:"VEF",VES:"VES",VND:"VND",VUV:"VUV",WST:"WST",XAF:"XAF",XAG:"XAG",XAU:"XAU",XBA:"XBA",XBB:"XBB",XBC:"XBC",XBD:"XBD",XCD:"XCD",XDR:"XDR",XFO:"XFO",XFU:"XFU",XOF:"XOF",XPD:"XPD",XPF:"XPF",XPT:"XPT",XSU:"XSU",XTS:"XTS",XUA:"XUA",XXX:"XXX",YER:"YER",YUM:"YUM",ZAR:"ZAR",ZMK:"ZMK",ZMW:"ZMW",ZWD:"ZWD",ZWL:"ZWL",ZWN:"ZWN",ZWR:"ZWR"}},33132:(qe,ee,o)=>{"use strict";o.d(ee,{I:()=>r});var a=o(61594),t=o(85281),u=o(2615),M=o(88021),v=o(51060);let r=(()=>{class _{constructor(C,b){this._dialog=C,this._platform=b,this.alreadyOpenVerificacionModal=!1}openVerificationEmailModal(C){this._platform.get().pipe((0,a.$)()).subscribe(b=>{if(!this.alreadyOpenVerificacionModal){this.alreadyOpenVerificacionModal=!0;const D=this._dialog.open(t.U,{width:"850px",maxWidth:b.tabletOrHandset?"99%":"80vw"});D.componentInstance.primaryEmail=C,D.afterClosed().subscribe(f=>this.alreadyOpenVerificacionModal=!1)}})}static{this.\u0275fac=function(b){return new(b||_)(u.KVO(M.h),u.KVO(v.Z))}}static{this.\u0275prov=u.jDH({token:_,factory:_.\u0275fac,providedIn:"root"})}}return _})()},33138:(qe,ee,o)=>{"use strict";o.d(ee,{F:()=>M});
3var a=o(72200),t=o(73664),u=o(2615);let M=(()=>{class v{static{this.\u0275fac=function(h){return new(h||v)}}static{this.\u0275mod=t.$C({type:v})}static{this.\u0275inj=u.G2t({imports:[a.MD]})}}return v})()},33669:(qe,ee,o)=>{"use strict";function a(t){return t}o.d(ee,{D:()=>a})},34434:(qe,ee,o)=>{"use strict";o.d(ee,{_:()=>_});var a=o(72200),t=o(81074),u=o(95416),M=o(88834),v=o(73664),r=o(2615);let _=(()=>{class h{static{this.\u0275fac=function(D){return new(D||h)}}static{this.\u0275mod=v.$C({type:h})}static{this.\u0275inj=r.G2t({imports:[a.MD,t.m_,u._T,M.Hl]})}}return h})()},34991:(qe,ee,o)=>{"use strict";o.d(ee,{A:()=>ue,C:()=>oe,F:()=>N,H:()=>De,I:()=>D,L:()=>nt,a:()=>Z});var a=o(2615),t=o(73664),u=o(17705),M=o(84466),v=o(79629),r=o(41560),_=o(49046),h=o(87870),C=o(72318);let D=(()=>{class z{_platform=(0,a.WQX)(M.P);constructor(){}isDisabled(ae){return ae.hasAttribute("disabled")}isVisible(ae){return function O(z){return!!(z.offsetWidth||z.offsetHeight||"function"==typeof z.getClientRects&&z.getClientRects().length)}(ae)&&"visible"===getComputedStyle(ae).visibility}isTabbable(ae){if(!this._platform.isBrowser)return!1;const X=function f(z){try{return z.frameElement}catch{return null}}(function w(z){return z.ownerDocument&&z.ownerDocument.defaultView||window}(ae));if(X&&(-1===U(X)||!this.isVisible(X)))return!1;let $=ae.nodeName.toLowerCase(),K=U(ae);return ae.hasAttribute("contenteditable")?-1!==K:!("iframe"===$||"object"===$||this._platform.WEBKIT&&this._platform.IOS&&!function T(z){let de=z.nodeName.toLowerCase(),ae="input"===de&&z.type;return"text"===ae||"password"===ae||"select"===de||"textarea"===de}(ae))&&("audio"===$?!!ae.hasAttribute("controls")&&-1!==K:"video"===$?-1!==K&&(null!==K||this._platform.FIREFOX||ae.hasAttribute("controls")):ae.tabIndex>=0)}isFocusable(ae,X){return function I(z){return!function L(z){return function se(z){return"input"==z.nodeName.toLowerCase()}(z)&&"hidden"==z.type}(z)&&(function d(z){let de=z.nodeName.toLowerCase();return"input"===de||"select"===de||"button"===de||"textarea"===de}(z)||function E(z){return function Y(z){return"a"==z.nodeName.toLowerCase()}(z)&&z.hasAttribute("href")}(z)||z.hasAttribute("contenteditable")||ne(z))}(ae)&&!this.isDisabled(ae)&&(X?.ignoreVisibility||this.isVisible(ae))}static \u0275fac=function(X){return new(X||z)};static \u0275prov=a.jDH({token:z,factory:z.\u0275fac,providedIn:"root"})}return z})();function ne(z){if(!z.hasAttribute("tabindex")||void 0===z.tabIndex)return!1;let de=z.getAttribute("tabindex");return!(!de||isNaN(parseInt(de,10)))}function U(z){if(!ne(z))return null;const de=parseInt(z.getAttribute("tabindex")||"",10);return isNaN(de)?-1:de}class Z{_element;_checker;_ngZone;_document;_injector;_startAnchor;_endAnchor;_hasAttached=!1;startAnchorListener=()=>this.focusLastTabbableElement();endAnchorListener=()=>this.focusFirstTabbableElement();get enabled(){return this._enabled}set enabled(de){this._enabled=de,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(de,this._startAnchor),this._toggleAnchorTabIndex(de,this._endAnchor))}_enabled=!0;constructor(de,ae,X,$,K=!1,Be){this._element=de,this._checker=ae,this._ngZone=X,this._document=$,this._injector=Be,K||this.attachAnchors()}destroy(){const de=this._startAnchor,ae=this._endAnchor;de&&(de.removeEventListener("focus",this.startAnchorListener),de.remove()),ae&&(ae.removeEventListener("focus",this.endAnchorListener),ae.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return!!this._hasAttached||(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(de){return new Promise(ae=>{this._executeOnStable(()=>ae(this.focusInitialElement(de)))})}focusFirstTabbableElementWhenReady(de){return new Promise(ae=>{this._executeOnStable(()=>ae(this.focusFirstTabbableElement(de)))})}focusLastTabbableElementWhenReady(de){return new Promise(ae=>{this._executeOnStable(()=>ae(this.focusLastTabbableElement(de)))})}_getRegionBoundary(de){const ae=this._element.querySelectorAll(`[cdk-focus-region-${de}], [cdkFocusRegion${de}], [cdk-focus-${de}]`);return"start"==de?ae.length?ae[0]:this._getFirstTabbableElement(this._element):ae.length?ae[ae.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(de){const ae=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(ae){if(!this._checker.isFocusable(ae)){const X=this._getFirstTabbableElement(ae);
3return X?.focus(de),!!X}return ae.focus(de),!0}return this.focusFirstTabbableElement(de)}focusFirstTabbableElement(de){const ae=this._getRegionBoundary("start");return ae&&ae.focus(de),!!ae}focusLastTabbableElement(de){const ae=this._getRegionBoundary("end");return ae&&ae.focus(de),!!ae}hasAttached(){return this._hasAttached}_getFirstTabbableElement(de){if(this._checker.isFocusable(de)&&this._checker.isTabbable(de))return de;const ae=de.children;for(let X=0;X<ae.length;X++){const $=ae[X].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(ae[X]):null;if($)return $}return null}_getLastTabbableElement(de){if(this._checker.isFocusable(de)&&this._checker.isTabbable(de))return de;const ae=de.children;for(let X=ae.length-1;X>=0;X--){const $=ae[X].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(ae[X]):null;if($)return $}return null}_createAnchor(){const de=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,de),de.classList.add("cdk-visually-hidden"),de.classList.add("cdk-focus-trap-anchor"),de.setAttribute("aria-hidden","true"),de}_toggleAnchorTabIndex(de,ae){de?ae.setAttribute("tabindex","0"):ae.removeAttribute("tabindex")}toggleAnchors(de){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(de,this._startAnchor),this._toggleAnchorTabIndex(de,this._endAnchor))}_executeOnStable(de){this._injector?(0,t.mal)(de,{injector:this._injector}):setTimeout(de)}}let N=(()=>{class z{_checker=(0,a.WQX)(D);_ngZone=(0,a.WQX)(t.SKi);_document=(0,a.WQX)(a.qQL);_injector=(0,a.WQX)(a.zZn);constructor(){(0,a.WQX)(r._).load(_.Y)}create(ae,X=!1){return new Z(ae,this._checker,this._ngZone,this._document,X,this._injector)}static \u0275fac=function(X){return new(X||z)};static \u0275prov=a.jDH({token:z,factory:z.\u0275fac,providedIn:"root"})}return z})(),oe=(()=>{class z{_elementRef=(0,a.WQX)(t.aKT);_focusTrapFactory=(0,a.WQX)(N);focusTrap;_previouslyFocusedElement=null;get enabled(){return this.focusTrap?.enabled||!1}set enabled(ae){this.focusTrap&&(this.focusTrap.enabled=ae)}autoCapture;constructor(){(0,a.WQX)(M.P).isBrowser&&(this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0))}ngOnDestroy(){this.focusTrap?.destroy(),this._previouslyFocusedElement&&(this._previouslyFocusedElement.focus(),this._previouslyFocusedElement=null)}ngAfterContentInit(){this.focusTrap?.attachAnchors(),this.autoCapture&&this._captureFocus()}ngDoCheck(){this.focusTrap&&!this.focusTrap.hasAttached()&&this.focusTrap.attachAnchors()}ngOnChanges(ae){const X=ae.autoCapture;X&&!X.firstChange&&this.autoCapture&&this.focusTrap?.hasAttached()&&this._captureFocus()}_captureFocus(){this._previouslyFocusedElement=(0,v.c)(),this.focusTrap?.focusInitialElementWhenReady()}static \u0275fac=function(X){return new(X||z)};static \u0275dir=t.FsC({type:z,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:[2,"cdkTrapFocus","enabled",u.L39],autoCapture:[2,"cdkTrapFocusAutoCapture","autoCapture",u.L39]},exportAs:["cdkTrapFocus"],features:[t.OA$]})}return z})();const H=new a.nKC("liveAnnouncerElement",{providedIn:"root",factory:function ie(){return null}}),Ce=new a.nKC("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let Ue=0,nt=(()=>{class z{_ngZone=(0,a.WQX)(t.SKi);_defaultOptions=(0,a.WQX)(Ce,{optional:!0});_liveElement;_document=(0,a.WQX)(a.qQL);_previousTimeout;_currentPromise;_currentResolve;constructor(){const ae=(0,a.WQX)(H,{optional:!0});this._liveElement=ae||this._createLiveElement()}announce(ae,...X){const $=this._defaultOptions;let K,Be;return 1===X.length&&"number"==typeof X[0]?Be=X[0]:[K,Be]=X,this.clear(),clearTimeout(this._previousTimeout),K||(K=$&&$.politeness?$.politeness:"polite"),null==Be&&$&&(Be=$.duration),this._liveElement.setAttribute("aria-live",K),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(Ye=>this._currentResolve=Ye)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=ae,"number"==typeof Be&&(this._previousTimeout=setTimeout(()=>this.clear(),Be)),this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0},100),this._currentPromise))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){clearTimeout(this._previousTimeout),this._liveElement?.remove(),this._liveElement=null,this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0}_createLiveElement(){const ae="cdk-live-announcer-element",X=this._document.getElementsByClassName(ae),$=this._document.createElement("div");for(let K=0;K<X.length;K++)X[K].remove();return $.classList.add(ae),$.classList.add("cdk-visually-hidden"),$.setAttribute("aria-atomic","true"),$.setAttribute("aria-live","polite"),$.id="cdk-live-announcer-"+Ue++,this._document.body.appendChild($),$}_exposeAnnouncerToModals(ae){const X=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let $=0;$<X.length;$++){const K=X[$],Be=K.getAttribute("aria-owns");Be?-1===Be.indexOf(ae)&&K.setAttribute("aria-owns",Be+" "+ae):K.setAttribute("aria-owns",ae)}}static \u0275fac=function(X){return new(X||z)};static \u0275prov=a.jDH({token:z,factory:z.\u0275fac,providedIn:"root"})}return z})();var at=function(z){return z[z.NONE=0]="NONE",z[z.BLACK_ON_WHITE=1]="BLACK_ON_WHITE",z[z.WHITE_ON_BLACK=2]="WHITE_ON_BLACK",z}(at||{});const Xe="cdk-high-contrast-black-on-white",et="cdk-high-contrast-white-on-black",xe="cdk-high-contrast-active";let De=(()=>{class z{_platform=(0,a.WQX)(M.P);_hasCheckedHighContrastMode;_document=(0,a.WQX)(a.qQL);_breakpointSubscription;constructor(){this._breakpointSubscription=(0,a.WQX)(h.B).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasse
3s())})}getHighContrastMode(){if(!this._platform.isBrowser)return at.NONE;const ae=this._document.createElement("div");ae.style.backgroundColor="rgb(1,2,3)",ae.style.position="absolute",this._document.body.appendChild(ae);const X=this._document.defaultView||window,$=X&&X.getComputedStyle?X.getComputedStyle(ae):null,K=($&&$.backgroundColor||"").replace(/ /g,"");switch(ae.remove(),K){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return at.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return at.BLACK_ON_WHITE}return at.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const ae=this._document.body.classList;ae.remove(xe,Xe,et),this._hasCheckedHighContrastMode=!0;const X=this.getHighContrastMode();X===at.BLACK_ON_WHITE?ae.add(xe,Xe):X===at.WHITE_ON_BLACK&&ae.add(xe,et)}}static \u0275fac=function(X){return new(X||z)};static \u0275prov=a.jDH({token:z,factory:z.\u0275fac,providedIn:"root"})}return z})(),ue=(()=>{class z{constructor(){(0,a.WQX)(De)._applyBodyHighContrastModeCssClasses()}static \u0275fac=function(X){return new(X||z)};static \u0275mod=t.$C({type:z});static \u0275inj=a.G2t({imports:[C.w5]})}return z})()},35060:(qe,ee,o)=>{"use strict";o.d(ee,{t:()=>u});var a=o(71985),t=o(85343);const u=new a.c(t.l)},36131:(qe,ee,o)=>{"use strict";function a(t){if(!t||"object"!=typeof t)return;const u=Object.keys(t).sort();if(0===u.length)return;const M=new URLSearchParams;for(const r of u){const _=t[r];null!=_&&(Array.isArray(_)?_.forEach(h=>M.append(r,String(h))):M.set(r,String(_)))}return M.toString()||void 0}o.d(ee,{W:()=>a})},36348:function(qe){(function(){qe.exports={Disconnected:1,Preceding:2,Following:4,Contains:8,ContainedBy:16,ImplementationSpecific:32}}).call(this)},36860:(qe,ee,o)=>{"use strict";o.d(ee,{IK:()=>u,MU:()=>r});var a=o(73664),t=o(2615);let M,u=(()=>{class _{static \u0275fac=function(b){return new(b||_)};static \u0275mod=a.$C({type:_});static \u0275inj=t.G2t({})}return _})();const v=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function r(){if(M)return M;if("object"!=typeof document||!document)return M=new Set(v),M;let _=document.createElement("input");return M=new Set(v.filter(h=>(_.setAttribute("type",h),_.type===h))),M}},36874:(qe,ee,o)=>{"use strict";o.d(ee,{n:()=>Ce});var a=o(29330),t=o(21413),u=o(92771),M=o(84572),v=o(7673),r=o(99172),_=o(99437),h=o(88141),C=o(56977),b=o(96354),D=o(2615),f=o(56846),O=o(21898),d=o(18062),L=o(38520),E=o(998),se=o(16030),Y=o(65316),ne=o(28178),U=o(22846),T=o(47958),I=o(67678),w=o(99054),Z=o(62740),N=o(5040),oe=o(62858),H=o(89402),ie=o(65770);let Ce=(()=>{class Ue{constructor(we,at,Xe,et,xe,De,ue,z,de,ae,X,$,K,Be,Ye,Se,pt,Ge){this._http=we,this._errorHandler=at,this._recordBiographyService=Xe,this._recordKeywordService=et,this._recordNamesService=xe,this._recordOtherNamesService=De,this._recordEmailsService=ue,this._recordCountryService=z,this._recordWebsitesService=de,this._recordAffiliations=ae,this._recordFundings=X,this._recordPersonalIdentifier=$,this._recordPeerReviewService=K,this._recordResearchResourceService=Be,this._recordWorkService=Ye,this._recordPerson=Se,this._recordPublicSidebar=pt,this._userInfo=Ge,this.$destroy=new t.B,this.headers=new a.Lr({"Access-Control-Allow-Origin":"*"}),this.subscriptionSourceCountDebugger=0}getRecord(we){if(this.recordSubject$){if(!we?.forceReload)return this.recordSubject$.asObservable()}else this.recordSubject$=new u.m(1),this.attachDebugger();this.recordSubject$&&we?.cleanCacheIfExist&&this.recordSubject$.next(void 0);const at=this.subscriptionSourceCountDebugger;return this.subscriptionSourceCountDebugger=this.subscriptionSourceCountDebugger+1,this.$destroy.next(),runtimeEnvironment.debugger&&(this.getRecordPerformanceStartTime=performance.now()),(0,M.z)([this._recordEmailsService.getEmails(we).pipe((0,r.Z)(void 0)),this._recordOtherNamesService.getOtherNames(we).pipe((0,r.Z)(void 0)),this._recordCountryService.getAddresses(we).pipe((0,r.Z)(void 0)),this._recordKeywordService.getKeywords(we).pipe((0,r.Z)(void 0)),this._recordWebsitesService.getWebsites(we).pipe((0,r.Z)(void 0)),this._recordPersonalIdentifier.getPersonalIdentifiers(we).pipe((0,r.Z)(void 0)),this._recordNamesService.getNames(we).pipe((0,r.Z)(void 0)),this._recordBiographyService.getBiography(we).pipe((0,r.Z)(void 0)),this._recordAffiliations.getAffiliations(we).pipe((0,r.Z)(void 0)),this._recordFundings.getFundings(we).pipe((0,r.Z)(void 0)),this.getPreferences(we)?.pipe((0,r.Z)(void 0)),this._recordPeerReviewService.getPeerReviewGroups(we).pipe((0,r.Z)(void 0)),this._recordResearchResourceService.getResearchResourcePage(we).pipe((0,r.Z)(void 0)),this._recordWorkService.getWorks(we).pipe((0,r.Z)(void 0)),this._recordWorkService.getFeaturedWorks(we).pipe((0,r.Z)(void 0)),this.getLastModifiedTime(we).pipe((0,r.Z)(void 0)),this._userInfo.getUserInfo(we).pipe((0,_.W)(Xe=>we?.publicRecordId?(0,v.of)(null):this._errorHandler.handleError(Xe)),(0,r.Z)(void 0))]).pipe((0,h.M)(([Xe,et,xe,De,ue,z,de,ae,X,$,K,Be,Ye,Se,pt,Ge,bt])=>{this.recordSubject$.next({subscriptionCount:at,emails:Xe,otherNames:et,countries:xe,keyword:De,website:ue,externalIdentifier:z,names:de,biography:ae,affiliations:X,fundings:$,preferences:K,peerReviews:Be,researchResources:Ye,works:Se,featuredWorks:pt,lastModifiedTime:Ge,userInfo:bt})}),(0,C.Q)(this.$destroy)).subscribe(),this.recordSubject$.asObservable()}attachDebugger(){runtimeEnvironment.debugger&&this.recordSubject$.subscribe(we=>{if(void 0!==we&&!Object.keys(we).find(Xe=>void 0===we[Xe]))if(this.getRecordPerformanceStartTime){const Xe=performance.now()-this.getRecordPerformanceStartTime;this.getRecordPerformanceStartTime=void 0,console.info("[Record Service] :","Time to load all record data:",Xe,"ms"),console.info("[Record Service] :","Initial data:",we)}else console.info("[Record Service] Data refreshed:",we)})}getExternalIdentifier(){return this._http.get(runtimeEnvironment.API_WEB+"my-orcid/externalIdentifiers.json",{headers:this.headers}).pipe((0,_.W)(we=>this._errorHandler.handleError(we)))}getKeywords(){return this._http.get(runtimeEnvironment.API_WEB+"my-orcid/keywordsForms.json",{headers:this.headers}).pipe((0,_.W)(we=>this._errorHandler.handleError(we)))}postExternalIdentifier(we){return this._http.post(runtimeEnvironment.API_WEB+"my-orcid/externalIdentifiers.json",we,{headers:this.headers}).pipe((0,_.W)(at=>this._errorHandler.handleError(at)))}postKeywords(we){return this._http.post(runtimeEnvironment.API_WEB+"my-orcid/keywordsForms.json",we,{headers:this.headers}).pipe((0,_.W)(at=>this._errorHandler.handleError(at)))}getPreferences(we={forceReload:!1}){return we.publicRecordId?(0,v.of)(void 0):this._http.get(runtimeEnvironment.API_WEB+"account/preferences.json",{headers:this.headers}).pipe((0,_.W)(at=>this._errorHandler.handleError(at)),(0,_.W)(()=>(0,v.of)({})))}postPreferences(we){return this._http.post(runtimeEnvironment.API_WEB+"account/preferences.json",we,{headers:this.headers}).pipe((0,_.W)(at=>this._errorHandler.handleError(at)))}getLastModifiedTime(we={forceReload:!1}){return we.publicRecordId?this._recordPublicSidebar.getPublicRecordSideBar(we).pipe((0,b.T)(at=>at.lastModifiedTime)):(0,v.of)("")}static{this.\u0275fac=function(at){return new(at||Ue)(D.KVO(a.Qq),D.KVO(f.c),D.KVO(O.W),D.KVO(d.g),D.KVO(L.d),D.KVO(E.$),D.KVO(se.E),D.KVO(Y.b),D.KVO(ne.F),D.KVO(U.Z),D.KVO(T.j),D.KVO(I.r),D.KVO(w.v),D.KVO(Z.a),D.KVO(N.j),D.KVO(oe.I),D.KVO(H.I),D.KVO(ie.f))}}static{this.\u0275prov=D.jDH({token:Ue,factory:Ue.\u0275fac,providedIn:"root"})}}return Ue})()},37391:function(qe){(function(){qe.exports=function(){function o(){}return o.prototype.hasFeature=function(a,t){return!0},o.prototype.createDocumentType=function(a,t,u){throw new Error("This DOM method is not implemented.")},o.prototype.createDocument=function(a,t,u){throw new Error("This DOM method is not implemented.")},o.prototype.createHTMLDocument=function(a){throw new Error("This DOM method is not implemented.")},o.prototype.getFeature=function(a,t){throw new Error("This DOM method is not implemented.")},o}()}).call(this)},37403:(qe,ee,o)=>{"use strict";o.d(ee,{EE:()=>L,P8:()=>f,xb:()=>d});var a=o(73664),t=o(2615),u=o(17705),M=o(983),v=o(21413),r=o(84466),_=o(41560),h=o(79355),C=o(13798);let b=(()=>{class E{static \u0275fac=function(ne){return new(ne||E)};static \u0275cmp=a.VBU({type:E,selectors:[["ng-component"]],hostAttrs:["cdk-text-field-style-loader",""],decls:0,vars:0,template:function(ne,U){},styles:["textarea.cdk-textarea-autosize{resize:none}textarea.cdk-textarea-autosize-measuring{padding:2px 0 !important;box-sizing:content-box !important;height:auto !important;overflow:hidden !important}textarea.cdk-textarea-autosize-measuring-firefox{padding:2px 0 !important;box-sizing:content-box !important;height:0 !important}@keyframes cdk-text-field-autofill-start{/*!*/}@keyframes cdk-text-field-autofill-end{/*!*/}.cdk-text-field-autofill-monitored:-webkit-autofill{animation:cdk-text-field-autofill-start
30s 1ms}.cdk-text-field-autofill-monitored:not(:-webkit-autofill){animation:cdk-text-field-autofill-end 0s 1ms}\n"],encapsulation:2,changeDetection:0})}return E})();const D={passive:!0};let f=(()=>{class E{_platform=(0,t.WQX)(r.P);_ngZone=(0,t.WQX)(a.SKi);_renderer=(0,t.WQX)(a._9s).createRenderer(null,null);_styleLoader=(0,t.WQX)(_._);_monitoredElements=new Map;constructor(){}monitor(Y){if(!this._platform.isBrowser)return M.w;this._styleLoader.load(b);const ne=(0,h.a)(Y),U=this._monitoredElements.get(ne);if(U)return U.subject;const T=new v.B,I="cdk-text-field-autofilled",w=N=>{"cdk-text-field-autofill-start"!==N.animationName||ne.classList.contains(I)?"cdk-text-field-autofill-end"===N.animationName&&ne.classList.contains(I)&&(ne.classList.remove(I),this._ngZone.run(()=>T.next({target:N.target,isAutofilled:!1}))):(ne.classList.add(I),this._ngZone.run(()=>T.next({target:N.target,isAutofilled:!0})))},Z=this._ngZone.runOutsideAngular(()=>(ne.classList.add("cdk-text-field-autofill-monitored"),this._renderer.listen(ne,"animationstart",w,D)));return this._monitoredElements.set(ne,{subject:T,unlisten:Z}),T}stopMonitoring(Y){const ne=(0,h.a)(Y),U=this._monitoredElements.get(ne);U&&(U.unlisten(),U.subject.complete(),ne.classList.remove("cdk-text-field-autofill-monitored"),ne.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(ne))}ngOnDestroy(){this._monitoredElements.forEach((Y,ne)=>this.stopMonitoring(ne))}static \u0275fac=function(ne){return new(ne||E)};static \u0275prov=t.jDH({token:E,factory:E.\u0275fac,providedIn:"root"})}return E})(),d=(()=>{class E{_elementRef=(0,t.WQX)(a.aKT);_platform=(0,t.WQX)(r.P);_ngZone=(0,t.WQX)(a.SKi);_renderer=(0,t.WQX)(a.sFG);_resizeEvents=new v.B;_previousValue;_initialHeight;_destroyed=new v.B;_listenerCleanups;_minRows;_maxRows;_enabled=!0;_previousMinRows=-1;_textareaElement;get minRows(){return this._minRows}set minRows(Y){this._minRows=(0,h.c)(Y),this._setMinHeight()}get maxRows(){return this._maxRows}set maxRows(Y){this._maxRows=(0,h.c)(Y),this._setMaxHeight()}get enabled(){return this._enabled}set enabled(Y){this._enabled!==Y&&((this._enabled=Y)?this.resizeToFitContent(!0):this.reset())}get placeholder(){return this._textareaElement.placeholder}set placeholder(Y){this._cachedPlaceholderHeight=void 0,Y?this._textareaElement.setAttribute("placeholder",Y):this._textareaElement.removeAttribute("placeholder"),this._cacheTextareaPlaceholderHeight()}_cachedLineHeight;_cachedPlaceholderHeight;_cachedScrollTop;_document=(0,t.WQX)(t.qQL);_hasFocus;_isViewInited=!1;constructor(){(0,t.WQX)(_._).load(b),this._textareaElement=this._elementRef.nativeElement}_setMinHeight(){const Y=this.minRows&&this._cachedLineHeight?this.minRows*this._cachedLineHeight+"px":null;Y&&(this._textareaElement.style.minHeight=Y)}_setMaxHeight(){const Y=this.maxRows&&this._cachedLineHeight?this.maxRows*this._cachedLineHeight+"px":null;Y&&(this._textareaElement.style.maxHeight=Y)}ngAfterViewInit(){this._platform.isBrowser&&(this._initialHeight=this._textareaElement.style.height,this.resizeToFitContent(),this._ngZone.runOutsideAngular(()=>{this._listenerCleanups=[this._renderer.listen("window","resize",()=>this._resizeEvents.next()),this._renderer.listen(this._textareaElement,"focus",this._handleFocusEvent),this._renderer.listen(this._textareaElement,"blur",this._handleFocusEvent)],this._resizeEvents.pipe((0,C.Z)(16)).subscribe(()=>{this._cachedLineHeight=this._cachedPlaceholderHeight=void 0,this.resizeToFitContent(!0)})}),this._isViewInited=!0,this.resizeToFitContent(!0))}ngOnDestroy(){this._listenerCleanups?.forEach(Y=>Y()),this._resizeEvents.complete(),this._destroyed.next(),this._destroyed.complete()}_cacheTextareaLineHeight(){if(this._cachedLineHeight)return;const Y=this._textareaElement.cloneNode(!1),ne=Y.style;Y.rows=1,ne.position="absolute",ne.visibility="hidden",ne.border="none",ne.padding="0",ne.height="",ne.minHeight="",ne.maxHeight="",ne.top=ne.bottom=ne.left=ne.right="auto",ne.overflow="hidden",this._textareaElement.parentNode.appendChild(Y),this._cachedLineHeight=Y.clientHeight,Y.remove(),this._setMinHeight(),this._setMaxHeight()}_measureScrollHeight(){const Y=this._textareaElement,ne=Y.style.marginBottom||"",U=this._platform.FIRE
3FOX,T=U&&this._hasFocus,I=U?"cdk-textarea-autosize-measuring-firefox":"cdk-textarea-autosize-measuring";T&&(Y.style.marginBottom=`${Y.clientHeight}px`),Y.classList.add(I);const w=Y.scrollHeight-4;return Y.classList.remove(I),T&&(Y.style.marginBottom=ne),w}_cacheTextareaPlaceholderHeight(){if(!this._isViewInited||null!=this._cachedPlaceholderHeight)return;if(!this.placeholder)return void(this._cachedPlaceholderHeight=0);const Y=this._textareaElement.value;this._textareaElement.value=this._textareaElement.placeholder,this._cachedPlaceholderHeight=this._measureScrollHeight(),this._textareaElement.value=Y}_handleFocusEvent=Y=>{this._hasFocus="focus"===Y.type};ngDoCheck(){this._platform.isBrowser&&this.resizeToFitContent()}resizeToFitContent(Y=!1){if(!this._enabled||(this._cacheTextareaLineHeight(),this._cacheTextareaPlaceholderHeight(),this._cachedScrollTop=this._textareaElement.scrollTop,!this._cachedLineHeight))return;const ne=this._elementRef.nativeElement,U=ne.value;if(!Y&&this._minRows===this._previousMinRows&&U===this._previousValue)return;const T=this._measureScrollHeight(),I=Math.max(T,this._cachedPlaceholderHeight||0);ne.style.height=`${I}px`,this._ngZone.runOutsideAngular(()=>{typeof requestAnimationFrame<"u"?requestAnimationFrame(()=>this._scrollToCaretPosition(ne)):setTimeout(()=>this._scrollToCaretPosition(ne))}),this._previousValue=U,this._previousMinRows=this._minRows}reset(){void 0!==this._initialHeight&&(this._textareaElement.style.height=this._initialHeight)}_noopInputHandler(){}_scrollToCaretPosition(Y){const{selectionStart:ne,selectionEnd:U}=Y;!this._destroyed.isStopped&&this._hasFocus&&(Y.setSelectionRange(ne,U),Y.scrollTop=this._cachedScrollTop)}static \u0275fac=function(ne){return new(ne||E)};static \u0275dir=a.FsC({type:E,selectors:[["textarea","cdkTextareaAutosize",""]],hostAttrs:["rows","1",1,"cdk-textarea-autosize"],hostBindings:function(ne,U){1&ne&&a.bIt("input",function(){return U._noopInputHandler()})},inputs:{minRows:[0,"cdkAutosizeMinRows","minRows"],maxRows:[0,"cdkAutosizeMaxRows","maxRows"],enabled:[2,"cdkTextareaAutosize","enabled",u.L39],placeholder:"placeholder"},exportAs:["cdkTextareaAutosize"]})}return E})(),L=(()=>{class E{static \u0275fac=function(ne){return new(ne||E)};static \u0275mod=a.$C({type:E});static \u0275inj=t.G2t({})}return E})()},37748:(qe,ee,o)=>{"use strict";o.d(ee,{g:()=>C});var a=o(88141),t=o(25558),u=o(99437),M=o(7673),v=o(62415),r=o(2615),_=o(29330),h=o(56846);let C=(()=>{class b{constructor(f,O){this._http=f,this._errorHandler=O}changeLanguage(f){return f=f.toLocaleLowerCase().replace("-","_"),(0,M.of)({}).pipe((0,a.M)(()=>{if(!runtimeEnvironment.production)throw new Error("change-language-require-production-mode");if(!Object.keys(runtimeEnvironment.LANGUAGE_MENU_OPTIONS).find(O=>O.toLocaleLowerCase().replace("-","_")===f))throw new Error(`invalid-language-code-${f}`)}),(0,t.n)(()=>this._http.get(runtimeEnvironment.API_WEB+"lang.json?lang="+f)),(0,u.W)(O=>this._errorHandler.handleError(O,v.Q.STANDARD_VERBOSE)))}static{this.\u0275fac=function(O){return new(O||b)(r.KVO(_.Qq),r.KVO(h.c))}}static{this.\u0275prov=r.jDH({token:b,factory:b.\u0275fac,providedIn:"root"})}}return b})()},37953:(qe,ee,o)=>{"use strict";o.d(ee,{T:()=>t});var a=o(98071);function t(u){return Symbol.asyncIterator&&(0,a.T)(u?.[Symbol.asyncIterator])}},38070:(qe,ee,o)=>{"use strict";o.d(ee,{L:()=>C});var a=o(2615),t=o(73664),u=o(23597),M=o(18359),v=o(21413),r=o(42774),_=o(67336),h=o(17035);class C{_items;_activeItemIndex=(0,a.vPA)(-1);_activeItem=(0,a.vPA)(null);_wrap=!1;_typeaheadSubscription=M.yU.EMPTY;_itemChangesSubscription;_vertical=!0;_horizontal;_allowedModifierKeys=[];_homeAndEnd=!1;_pageUpAndDown={enabled:!1,delta:10};_effectRef;_typeahead;_skipPredicateFn=D=>D.disabled;constructor(D,f){this._items=D,D instanceof t.rOR?this._itemChangesSubscription=D.changes.subscribe(O=>this._itemsChanged(O.toArray())):(0,a.Hps)(D)&&(this._effectRef=(0,u.QZ)(()=>this._itemsChanged(D()),{injector:f}))}tabOut=new v.B;change=new v.B;skipPredicate(D){return this._skipPredicateFn=D,this}withWrap(D=!0){return this._wrap=D,this}withVerticalOrientation(D=!0){return this._vertical=D,this}withHorizontalOrientation(D){return this._horizontal=D,this}withAllowedModifierKeys(D){return this._allowedModifierKeys=D,this}
3withTypeAhead(D=200){this._typeaheadSubscription.unsubscribe();const f=this._getItemsArray();return this._typeahead=new r.T(f,{debounceInterval:"number"==typeof D?D:void 0,skipPredicate:O=>this._skipPredicateFn(O)}),this._typeaheadSubscription=this._typeahead.selectedItem.subscribe(O=>{this.setActiveItem(O)}),this}cancelTypeahead(){return this._typeahead?.reset(),this}withHomeAndEnd(D=!0){return this._homeAndEnd=D,this}withPageUpDown(D=!0,f=10){return this._pageUpAndDown={enabled:D,delta:f},this}setActiveItem(D){const f=this._activeItem();this.updateActiveItem(D),this._activeItem()!==f&&this.change.next(this._activeItemIndex())}onKeydown(D){const f=D.keyCode,d=["altKey","ctrlKey","metaKey","shiftKey"].every(L=>!D[L]||this._allowedModifierKeys.indexOf(L)>-1);switch(f){case h.T:return void this.tabOut.next();case h.D:if(this._vertical&&d){this.setNextItemActive();break}return;case h.U:if(this._vertical&&d){this.setPreviousItemActive();break}return;case h.R:if(this._horizontal&&d){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case h.L:if(this._horizontal&&d){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case h.H:if(this._homeAndEnd&&d){this.setFirstItemActive();break}return;case h.E:if(this._homeAndEnd&&d){this.setLastItemActive();break}return;case h.a:if(this._pageUpAndDown.enabled&&d){const L=this._activeItemIndex()-this._pageUpAndDown.delta;this._setActiveItemByIndex(L>0?L:0,1);break}return;case h.P:if(this._pageUpAndDown.enabled&&d){const L=this._activeItemIndex()+this._pageUpAndDown.delta,E=this._getItemsArray().length;this._setActiveItemByIndex(L<E?L:E-1,-1);break}return;default:return void((d||(0,_.rp)(D,"shiftKey"))&&this._typeahead?.handleKey(D))}this._typeahead?.reset(),D.preventDefault()}get activeItemIndex(){return this._activeItemIndex()}get activeItem(){return this._activeItem()}isTyping(){return!!this._typeahead&&this._typeahead.isTyping()}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._getItemsArray().length-1,-1)}setNextItemActive(){this._activeItemIndex()<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex()<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(D){const f=this._getItemsArray(),O="number"==typeof D?D:f.indexOf(D);this._activeItem.set(f[O]??null),this._activeItemIndex.set(O),this._typeahead?.setCurrentSelectedItemIndex(O)}destroy(){this._typeaheadSubscription.unsubscribe(),this._itemChangesSubscription?.unsubscribe(),this._effectRef?.destroy(),this._typeahead?.destroy(),this.tabOut.complete(),this.change.complete()}_setActiveItemByDelta(D){this._wrap?this._setActiveInWrapMode(D):this._setActiveInDefaultMode(D)}_setActiveInWrapMode(D){const f=this._getItemsArray();for(let O=1;O<=f.length;O++){const d=(this._activeItemIndex()+D*O+f.length)%f.length;if(!this._skipPredicateFn(f[d]))return void this.setActiveItem(d)}}_setActiveInDefaultMode(D){this._setActiveItemByIndex(this._activeItemIndex()+D,D)}_setActiveItemByIndex(D,f){const O=this._getItemsArray();if(O[D]){for(;this._skipPredicateFn(O[D]);)if(!O[D+=f])return;this.setActiveItem(D)}}_getItemsArray(){return(0,a.Hps)(this._items)?this._items():this._items instanceof t.rOR?this._items.toArray():this._items}_itemsChanged(D){this._typeahead?.setItems(D);const f=this._activeItem();if(f){const O=D.indexOf(f);O>-1&&O!==this._activeItemIndex()&&(this._activeItemIndex.set(O),this._typeahead?.setCurrentSelectedItemIndex(O))}}}},38132:(qe,ee,o)=>{"use strict";o.d(ee,{Wk:()=>se,iI:()=>Ge});var a=o(10467),t=o(57303),u=o(60177),M=o(72200),v=o(73664),r=o(17705),_=o(2615),h=o(23597),C=o(91029),b=o(21413),D=o(7673),f=o(86648),O=o(26365),d=o(5964),L=o(70274),E=o(31397);let se=(()=>{class pe{router;route;tabIndexAttribute;renderer;el;locationStrategy;reactiveHref=(0,_.vPA)(null);get href(){return(0,h.O8)(this.reactiveHref)}set href(Qe){this.reactiveHref.set(Qe)}target;queryParams;fragment;queryParamsHandling;state;info;relativeTo;
3isAnchorElement;subscription;onChanges=new b.B;applicationErrorHandler=(0,_.WQX)(_.ZTf);options=(0,_.WQX)(C.J_,{optional:!0});constructor(Qe,At,Ne,ze,Ke,Ct){this.router=Qe,this.route=At,this.tabIndexAttribute=Ne,this.renderer=ze,this.el=Ke,this.locationStrategy=Ct,this.reactiveHref.set((0,_.WQX)(new r.ES_("href"),{optional:!0}));const Wt=Ke.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===Wt||"area"===Wt||!("object"!=typeof customElements||!customElements.get(Wt)?.observedAttributes?.includes?.("href")),this.isAnchorElement?this.setTabIndexIfNotOnNativeEl("0"):this.subscribeToNavigationEventsIfNecessary()}subscribeToNavigationEventsIfNecessary(){if(void 0!==this.subscription||!this.isAnchorElement)return;let Qe=this.preserveFragment;const At=Ne=>"merge"===Ne||"preserve"===Ne;Qe||=At(this.queryParamsHandling),Qe||=!this.queryParamsHandling&&!At(this.options?.defaultQueryParamsHandling),Qe&&(this.subscription=this.router.events.subscribe(Ne=>{Ne instanceof C.wF&&this.updateHref()}))}preserveFragment=!1;skipLocationChange=!1;replaceUrl=!1;setTabIndexIfNotOnNativeEl(Qe){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",Qe)}ngOnChanges(Qe){this.isAnchorElement&&(this.updateHref(),this.subscribeToNavigationEventsIfNecessary()),this.onChanges.next(this)}routerLinkInput=null;set routerLink(Qe){null==Qe?(this.routerLinkInput=null,this.setTabIndexIfNotOnNativeEl(null)):(this.routerLinkInput=(0,C.wO)(Qe)||Array.isArray(Qe)?Qe:[Qe],this.setTabIndexIfNotOnNativeEl("0"))}onClick(Qe,At,Ne,ze,Ke){const Ct=this.urlTree;if(null===Ct||this.isAnchorElement&&(0!==Qe||At||Ne||ze||Ke||"string"==typeof this.target&&"_self"!=this.target))return!0;const Wt={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info};return this.router.navigateByUrl(Ct,Wt)?.catch(ln=>{this.applicationErrorHandler(ln)}),!this.isAnchorElement}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){const Qe=this.urlTree;this.reactiveHref.set(null!==Qe&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(Qe))??"":null)}applyAttributeValue(Qe,At){const Ne=this.renderer,ze=this.el.nativeElement;null!==At?Ne.setAttribute(ze,Qe,At):Ne.removeAttribute(ze,Qe)}get urlTree(){return null===this.routerLinkInput?null:(0,C.wO)(this.routerLinkInput)?this.routerLinkInput:this.router.createUrlTree(this.routerLinkInput,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}static \u0275fac=function(At){return new(At||pe)(v.rXU(C.Ix),v.rXU(C.nX),v.kS0("tabindex"),v.rXU(v.sFG),v.rXU(v.aKT),v.rXU(t.hb))};static \u0275dir=v.FsC({type:pe,selectors:[["","routerLink",""]],hostVars:2,hostBindings:function(At,Ne){1&At&&v.bIt("click",function(Ke){return Ne.onClick(Ke.button,Ke.ctrlKey,Ke.shiftKey,Ke.altKey,Ke.metaKey)}),2&At&&v.BMQ("href",Ne.reactiveHref(),v.n$t)("target",Ne.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",r.L39],skipLocationChange:[2,"skipLocationChange","skipLocationChange",r.L39],replaceUrl:[2,"replaceUrl","replaceUrl",r.L39],routerLink:"routerLink"},features:[v.OA$]})}return pe})();class U{}let w=(()=>{class pe{router;injector;preloadingStrategy;loader;subscription;constructor(Qe,At,Ne,ze){this.router=Qe,this.injector=At,this.preloadingStrategy=Ne,this.loader=ze}setUpPreloading(){this.subscription=this.router.events.pipe((0,d.p)(Qe=>Qe instanceof C.wF),(0,L.H)(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(Qe,At){const Ne=[];for(const ze of At){ze.providers&&!ze._injector&&(ze._injector=(0,v.Ol2)(ze.providers,Qe,`Route: ${ze.path}`));const Ke=ze._injector??Qe,Ct=ze._loadedInjector??Ke;(ze.loadChildren&&!ze._loadedRoutes&&void 0===ze.canLoad||ze.loadComponent&&!ze._loadedComponent)&&Ne.push(this.preloadConfig(Ke,ze)),(ze.children||ze._loadedRoutes)&&Ne.push(this.processRoutes(Ct,ze.children??ze._loadedRoutes))}return(0,f.H)(Ne).pipe((0,O.U)())}preloadConfig(Qe,At){return this.preloadingStrategy.preload(At,()=>{let Ne;Ne=At.loadChildren&&void 0===At.canLoad?this.loader.loadChildren(Qe,At):(0,D.of)(null);const ze=Ne.pipe((0,E.Z)(Ke=>null===Ke?(0,D.of)(void 0):(At._loadedRoutes=Ke.routes,At._loadedInjector=Ke.injector,this.processRoutes(Ke.injector??Qe,Ke.routes))));if(At.loadComponent&&!At._loadedComponent){const Ke=this.loader.loadComponent(Qe,At);return(0,f.H)([ze,Ke]).pipe((0,O.U)())}return ze})}static \u0275fac=function(At){return new(At||pe)(_.KVO(C.Ix),_.KVO(_.uvJ),_.KVO(U),_.KVO(C.D$))};static \u0275prov=_.jDH({token:pe,factory:pe.\u0275fac,providedIn:"root"})}return pe})();const Z=new _.nKC("");let N=(()=>{class pe{urlSerializer;transitions;viewportScroller;zone;options;routerEventsSubscription;scrollEventsSubscription;lastId=0;lastSource=C.wU;restoredId=0;store={};constructor(Qe,At,Ne,ze,Ke={}
3){this.urlSerializer=Qe,this.transitions=At,this.viewportScroller=Ne,this.zone=ze,this.options=Ke,Ke.scrollPositionRestoration||="disabled",Ke.anchorScrolling||="disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(Qe=>{Qe instanceof C.Z?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=Qe.navigationTrigger,this.restoredId=Qe.restoredState?Qe.restoredState.navigationId:0):Qe instanceof C.wF?(this.lastId=Qe.id,this.scheduleScrollEvent(Qe,this.urlSerializer.parse(Qe.urlAfterRedirects).fragment)):Qe instanceof C.lW&&Qe.code===C.mo.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(Qe,this.urlSerializer.parse(Qe.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(Qe=>{Qe instanceof C.OY&&(Qe.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(Qe.position):Qe.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(Qe.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(Qe,At){var Ne=this;this.zone.runOutsideAngular((0,a.A)(function*(){yield new Promise(ze=>{setTimeout(ze),typeof requestAnimationFrame<"u"&&requestAnimationFrame(ze)}),Ne.zone.run(()=>{Ne.transitions.events.next(new C.OY(Qe,"popstate"===Ne.lastSource?Ne.store[Ne.restoredId]:null,At))})}))}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static \u0275fac=function(At){v.QTQ()};static \u0275prov=_.jDH({token:pe,factory:pe.\u0275fac})}return pe})();function ie(pe,st){return{\u0275kind:pe,\u0275providers:st}}function at(){const pe=(0,_.WQX)(_.zZn);return st=>{const Qe=pe.get(v.o8S);if(st!==Qe.components[0])return;const At=pe.get(C.Ix),Ne=pe.get(Xe);1===pe.get(et)&&At.initialNavigation(),pe.get(z,null,{optional:!0})?.setUpPreloading(),pe.get(Z,null,{optional:!0})?.init(),At.resetRootComponentType(Qe.componentTypes[0]),Ne.closed||(Ne.next(),Ne.complete(),Ne.unsubscribe())}}const Xe=new _.nKC("",{factory:()=>new b.B}),et=new _.nKC("",{providedIn:"root",factory:()=>1}),z=new _.nKC("");function de(pe){return ie(0,[{provide:z,useExisting:w},{provide:U,useExisting:pe}])}function Be(pe){return(0,v._jY)("NgRouterViewTransitions"),ie(9,[{provide:C.Pu,useValue:C.Lg},{provide:C.bK,useValue:{skipNextTransition:!!pe?.skipInitialTransition,...pe}}])}const pt=[t.aZ,{provide:C.Sd,useClass:C.nU},C.Ix,C.Zp,{provide:C.nX,useFactory:function H(pe){return pe.routerState.root},deps:[C.Ix]},C.D$,[]];let Ge=(()=>{class pe{constructor(){}static forRoot(Qe,At){return{ngModule:pe,providers:[pt,[],{provide:C.bw,multi:!0,useValue:Qe},[],At?.errorHandler?{provide:C.XR,useValue:At.errorHandler}:[],{provide:C.J_,useValue:At||{}},At?.useHash?{provide:t.hb,useClass:M.fw}:{provide:t.hb,useClass:t.Sm},{provide:Z,useFactory:()=>{const pe=(0,_.WQX)(u.Xr),st=(0,_.WQX)(v.SKi),Qe=(0,_.WQX)(C.J_),At=(0,_.WQX)(C.J2),Ne=(0,_.WQX)(C.Sd);return Qe.scrollOffset&&pe.setOffset(Qe.scrollOffset),new N(Ne,At,pe,st,Qe)}},At?.preloadingStrategy?de(At.preloadingStrategy).\u0275providers:[],At?.initialNavigation?x(At):[],At?.bindToComponentInputs?ie(8,[C.tD,{provide:C.c1,useExisting:C.tD}]).\u0275providers:[],At?.enableViewTransitions?Be().\u0275providers:[],[{provide:ce,useFactory:at},{provide:v.iLQ,multi:!0,useExisting:ce}]]}}static forChild(Qe){return{ngModule:pe,providers:[{provide:C.bw,multi:!0,useValue:Qe}]}}static \u0275fac=function(At){return new(At||pe)};static \u0275mod=v.$C({type:pe});static \u0275inj=_.G2t({})}return pe})();function x(pe){return["disabled"===pe.initialNavigation?ie(3,[(0,v.phd)(()=>{(0,_.WQX)(C.Ix).setUpLocationChangeListener()}),{provide:et,useValue:2}]).\u0275providers:[],"enabledBlocking"===pe.initialNavigation?ie(2,[{provide:et,useValue:0},(0,v.phd)(()=>{const st=(0,_.WQX)(_.zZn);return st.get(t.hj,Promise.resolve()).then(()=>new Promise(At=>{const Ne=st.get(C.Ix),ze=st.get(Xe);(0,C.gk)(Ne,()=>{At(!0)}),st.get(C.J2).afterPreactivation=()=>(At(!0),ze.closed?(0,D.of)(void 0):ze),Ne.initialNavigation()}))})]).\u0275providers:[]]}const ce=new _.nKC("")},38520:(qe,ee,o)=>{"use strict";o.d(ee,{d:()=>b});
3var a=o(92771),t=o(7673),u=o(96354),M=o(99437),v=o(88141),r=o(29330),_=o(2615),h=o(56846),C=o(89402);let b=(()=>{class D{constructor(O,d,L){this._http=O,this._errorHandler=d,this._recordPublicSidebar=L,this.headers=new r.Lr({"Access-Control-Allow-Origin":"*"})}getNames(O={forceReload:!1}){if(O.publicRecordId)return this._recordPublicSidebar.getPublicRecordSideBar(O).pipe((0,u.T)(d=>d.names));if(this.$names){if(!O.forceReload)return this.$names}else this.$names=new a.m(1);return O.cleanCacheIfExist&&this.$names&&this.$names.next(void 0),this._http.get(runtimeEnvironment.API_WEB+"account/nameForm.json",{headers:this.headers}).pipe((0,M.W)(d=>this._errorHandler.handleError(d)),(0,M.W)(()=>(0,t.of)({})),(0,v.M)(d=>{this.$names.next(d)})).subscribe(),this.$names}postNames(O){return this._http.post(runtimeEnvironment.API_WEB+"account/nameForm.json",O,{headers:this.headers}).pipe((0,M.W)(d=>this._errorHandler.handleError(d)),(0,v.M)(()=>this.getNames({forceReload:!0})))}static{this.\u0275fac=function(d){return new(d||D)(_.KVO(r.Qq),_.KVO(h.c),_.KVO(C.I))}}static{this.\u0275prov=_.jDH({token:D,factory:D.\u0275fac,providedIn:"root"})}}return D})()},39447:function(qe,ee,o){(function(){var a,t,v={}.hasOwnProperty;a=o(68886),t=o(79213),qe.exports=function(r){function _(h,C){if(_.__super__.constructor.call(this,h),null==C)throw new Error("Missing raw text. "+this.debugInfo());this.type=a.Raw,this.value=this.stringify.raw(C)}return function(r,_){for(var h in _)v.call(_,h)&&(r[h]=_[h]);function C(){this.constructor=r}C.prototype=_.prototype,r.prototype=new C,r.__super__=_.prototype}(_,r),_.prototype.clone=function(){return Object.create(this)},_.prototype.toString=function(h){return this.options.writer.raw(this,this.options.writer.filterOptions(h))},_}(t)}).call(this)},39687:(qe,ee,o)=>{"use strict";o.d(ee,{q:()=>u});var a=o(86129);class t{constructor(v,r=t.now){this.schedulerActionCtor=v,this.now=r}schedule(v,r=0,_){return new this.schedulerActionCtor(this,v).schedule(_,r)}}t.now=a.U.now;class u extends t{constructor(v,r=t.now){super(v,r),this.actions=[],this._active=!1}flush(v){const{actions:r}=this;if(this._active)return void r.push(v);let _;this._active=!0;do{if(_=v.execute(v.state,v.delay))break}while(v=r.shift());if(this._active=!1,_){for(;v=r.shift();)v.unsubscribe();throw _}}}},39901:(qe,ee,o)=>{"use strict";o.d(ee,{U:()=>u});var a=o(39974),t=o(54360);function u(M){return(0,a.N)((v,r)=>{let _=!1;v.subscribe((0,t._)(r,h=>{_=!0,r.next(h)},()=>{_||r.next(M),r.complete()}))})}},39974:(qe,ee,o)=>{"use strict";o.d(ee,{N:()=>u,S:()=>t});var a=o(98071);function t(M){return(0,a.T)(M?.lift)}function u(M){return v=>{if(t(v))return v.lift(function(r){try{return M(r,this)}catch(_){this.error(_)}});throw new TypeError("Unable to lift unknown Observable type")}}},40282:function(qe,ee,o){(function(){var a,t,M,r={}.hasOwnProperty;a=o(68886),M=o(97059),t=o(21892),qe.exports=function(_){function h(C,b){this.stream=C,h.__super__.constructor.call(this,b)}return function(_,h){for(var C in h)r.call(h,C)&&(_[C]=h[C]);function b(){this.constructor=_}b.prototype=h.prototype,_.prototype=new b,_.__super__=h.prototype}(h,_),h.prototype.endline=function(C,b,D){return C.isLastRootNode&&b.state===t.CloseTag?"":h.__super__.endline.call(this,C,b,D)},h.prototype.document=function(C,b){var f,O,d,L,E,se,Y,ne;for(f=O=0,L=(se=C.children).length;O<L;f=++O)se[f].isLastRootNode=f===C.children.length-1;for(b=this.filterOptions(b),ne=[],d=0,E=(Y=C.children).length;d<E;d++)ne.push(this.writeChildNode(Y[d],b,0));return ne},h.prototype.attribute=function(C,b,D){return this.stream.write(h.__super__.attribute.call(this,C,b,D))},h.prototype.cdata=function(C,b,D){return this.stream.write(h.__super__.cdata.call(this,C,b,D))},h.prototype.comment=function(C,b,D){return this.stream.write(h.__super__.comment.call(this,C,b,D))},h.prototype.declaration=function(C,b,D){return this.stream.write(h.__super__.declaration.call(this,C,b,D))},h.prototype.docType=function(C,b,D){var O,d,L;if(D||(D=0),this.openNode(C,b,D),b.state=t.OpenTag,this.stream.write(this.indent(C,b,D)),this.stream.write("<!DOCTYPE "+C.root().name),C.pubID&&C.sysID?this.stream.write(' PUBLIC "'+C.pubID+'" "'+C.sysID+'"'):C.sysID&&this.stream.write(' SYSTEM "'+C.sysID+'"'),C.children.length>0){for(this.stream.write(" ["),this.stream.write(this.endline(C,b,D)),b.state=t.InsideTag,O=0,d=(L=C.children).length;O<d;O++)this.writeChildNode(L[O],b,D+1);b.state=t.CloseTag,this.stream.write("]")}return b.state=t.CloseTag,this.stream.write(b.spaceBeforeSlash+">"),this.stream.write(this.endline(C,b,D)),b.state=t.None,this.closeNode(C,b,D)},h.prototype.element=function(C,b,D){var d,L,E,se,Y,U,T;for(Y in D||(D=0),this.openNode(C,b,D),b.state=t.OpenTag,this.stream.write(this.indent(C,b,D)+"<"+C.name),U=C.attribs)r.call(U,Y)&&this.attribute(U[Y],b,D);if(L=0===(d=C.children.length)?null:C.children[0],0===d||C.children.every(function(I){return(I.type===a.Text||I.type===a.Raw)&&""===I.value}))b.allowEmpty?(this.stream.write(">"),b.state=t.CloseTag,this.stream.write("</"+C.name+">")):(b.state=t.CloseTag,this.stream.write(b.spaceBeforeSlash+"/>"));else if(!b.pretty||1!==d||L.type!==a.Text&&L.type!==a.Raw||null==L.value){for(this.stream.write(">"+this.endline(C,b,D)),b.state=t.InsideTag,E=0,se=(T=C.children).length;E<se;E++)this.writeChildNode(T[E],b,D+1);b.state=t.CloseTag,this.stream.write(this.indent(C,b,D)+"</"+C.name+">")}else this.stream.write(">"),b.state=t.InsideTag,b.suppressPrettyCount++,this.writeChildNode(L,b,D+1),b.suppressPrettyCount--,b.state=t.CloseTag,this.stream.write("</"+C.name+">");return this.stream.write(this.endline(C,b,D)),b.state=t.None,this.closeNode(C,b,D)},h.prototype.processingInstruction=function(C,b,D){return this.stream.write(h.__super__.processingInstruction.call(this,C,b,D))},h.prototype.raw=function(C,b,D){return this.stream.write(h.__super__.raw.call(this,C,b,D))},h.prototype.text=function(C,b,D){return this.stream.write(h.__super__.text.call(this,C,b,D))},h.prototype.dtdAttList=function(C,b,D){return this.stream.write(h.__super__.dtdAttList.call(this,C,b,D))},h.prototype.dtdElement=function(C,b,D){return this.stream.write(h.__super__.dtdElement.call(this,C,b,D))},h.prototype.dtdEntity=function(C,b,D){return this.stream.write(h.__super__.dtdEntity.call(this,C,b,D))},h.prototype.dtdNotation=function(C,b,D){return this.stream.write(h.__super__.dtdNotation.call(this,C,b,D))},h}(M)}).call(this)},40372:(qe,ee,o)=>{"use strict";o.d(ee,{D:()=>_,_:()=>r});var a=o(2615),t=o(73664);const u=new a.nKC("cdk-dir-doc",{providedIn:"root",factory:function M(){return(0,a.WQX)(a.qQL)}}),v=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;function r(h){const C=h?.toLowerCase()||"";return"auto"===C&&typeof navigator<"u"&&navigator?.language?v.test(navigator.language)?"rtl":"ltr":"rtl"===C?"rtl":"ltr"}let _=(()=>{class h{get value(){return this.valueSignal()}valueSignal=(0,a.vPA)("ltr");change=new t.bkB;constructor(){const b=(0,a.WQX)(u,{optional:!0});b&&this.valueSignal.set(r((b.body?b.body.dir:null)||(b.documentElement?b.documentElement.dir:null)||"ltr"))}ngOnDestroy(){this.change.complete()}static \u0275fac=function(D){return new(D||h)};static \u0275prov=a.jDH({token:h,factory:h.\u0275fac,providedIn:"root"})}return h})()},41026:(qe,ee,o)=>{"use strict";o.d(ee,{$:()=>a});const a={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNext
3Context:!1}},41171:(qe,ee,o)=>{"use strict";function a({value:t}){const u=t?.translatedTitleContent,M=t?.translatedTitleLanguage;return u&&!M?{invalidTranslatedTitleLanguage:!0}:!u&&M?{invalidTranslatedTitleContent:!0}:null}o.d(ee,{J:()=>a})},41560:(qe,ee,o)=>{"use strict";o.d(ee,{_:()=>v});var a=o(2615),t=o(73664),u=o(17705);const M=new WeakMap;let v=(()=>{class r{_appRef;_injector=(0,a.WQX)(a.zZn);_environmentInjector=(0,a.WQX)(a.uvJ);load(h){const C=this._appRef=this._appRef||this._injector.get(t.o8S);let b=M.get(C);b||(b={loaders:new Set,refs:[]},M.set(C,b),C.onDestroy(()=>{M.get(C)?.refs.forEach(D=>D.destroy()),M.delete(C)})),b.loaders.has(h)||(b.loaders.add(h),b.refs.push((0,u.a0P)(h,{environmentInjector:this._environmentInjector})))}static \u0275fac=function(C){return new(C||r)};static \u0275prov=a.jDH({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})()},41584:(qe,ee,o)=>{"use strict";o.d(ee,{O:()=>v});var a=o(71985),t=o(43236),u=o(79470);function v(r=0,_,h=t.b){let C=-1;return null!=_&&((0,u.m)(_)?h=_:C=_),new a.c(b=>{let D=function M(r){return r instanceof Date&&!isNaN(r)}(r)?+r-h.now():r;D<0&&(D=0);let f=0;return h.schedule(function(){b.closed||(b.next(f++),0<=C?this.schedule(void 0,C):b.complete())},D)})}},41959:(qe,ee,o)=>{"use strict";function a(t){return Array.isArray(t)?t:[t]}o.d(ee,{c:()=>a})},42108:(qe,ee,o)=>{"use strict";o.d(ee,{o:()=>D});var a=o(88021),t=o(89417),u=o(56977),M=o(21413),v=o(1734),r=o(73664),_=o(17705),h=o(51060),C=o(21898);const b=(f,O)=>({"orc-font-body":f,"orc-font-body-large":O});let D=(()=>{class f{constructor(d,L,E,se,Y,ne){this.window=d,this._platform=L,this.dialogRef=E,this.data=se,this._cdref=Y,this._recordBiographyService=ne,this.$destroy=new M.B,this.biography="",this.biographyVisibility="PRIVATE",this.loadingBiography=!0,this.ngOrcidAddYourBiography="Add your biography",this.ngOrcidDefaultVisibilityLabel="Control who can see your biography by setting the visibility. Your default visibility setting is",this.closeAriaLabel="Close Biography",this.saveAriaLabel="Save changes to Biography",this.cancelAriaLabel="Cancel changes close Biography",this.visibilityPublicAriaLabel="Set biography visibility to Everyone",this.visibilityTrustedPartyAriaLabel="Set biography visibility to Trusted Parties",this.visibilityPrivateAriaLabel="Set biography visibility to Only Me",this.ariaLabelBiography="Biography",this._platform.get().pipe((0,u.Q)(this.$destroy)).subscribe(U=>{this.platform=U})}ngOnInit(){this.loadingBiography=!1,this.userRecord=this.data,this.defaultVisibility=this.userRecord?.preferences?.default_visibility,this.biographyVisibility=this.defaultVisibility,this.userRecord?.biography?.biography&&(this.biography=this.userRecord.biography.biography.value,this.biographyVisibility=this.userRecord.biography.visibility.visibility),this.biographyForm=new t.J3({biography:new t.hs(this.biography),visibility:new t.hs(this.biographyVisibility)})}onSubmit(){}formToBackend(d){const L={errors:[],required:void 0,visibility:d.get("visibility").value};return{errors:[],biography:d.get("biography").value,visibility:L}}saveEvent(){this.loadingBiography=!0,this._recordBiographyService.postBiography(this.formToBackend(this.biographyForm)).subscribe(d=>{this.closeEvent()},d=>{})}closeEvent(){this.dialogRef.close()}toBiography(){this.window.document.getElementById("biography").scrollIntoView()}toVisibility(){this.window.document.getElementById("visibility").scrollIntoView()}ngOnDestroy(){this.$destroy.next(!0),this.$destroy.unsubscribe()}static{this.\u0275fac=function(L){return new(L||f)(r.rXU(v.jf),r.rXU(h.Z),r.rXU(a.k),r.rXU(a.e),r.rXU(_.gRc),r.rXU(C.W))}}static{this.\u0275cmp=r.VBU({type:f,selectors:[["app-modal-biography"]],standalone:!1,decls:48,vars:25,consts:()=>{let d,L,E,se,Y,ne,U,T,I;return d=" Biography ",L=" Biography ",E=" Visibility ",se=" Save changes ",Y=" Cancel ",ne=" Biography ",U=" Information about yourself, your research interests and other pertinent details that enhance your ORCID record. ",T="Biography",I=" Visibility ",[d,L,E,se,Y,ne,U,T,I,[3,"loading"],[3,"closeLabel"],["id","side-bar-title"],[1,"side-bar",3,"click"],["id","side-bar-url-1"],["mat-raised-button","","color","primary","id","save-biography-button",3,"click"],["mat-stroked-button","","color","primary","id","cancel-biography-button",3,"click"],[3,"ngSubmit","formGroup"],["id","biography"],[1,"title",3,"ngClass"],[1,"orc-font-body-small"],["for","biography-input",1,"mat-caption"],["appearance","outline",1,"mat-form-field-min","biography"],["maxlength","5000","id","biography-input","matInput","","formControlName","biography","cdkAutosizeMinRows","5","cdkAutosizeMaxRows","1000",3,"placeholder","cdkTextareaAutosize"],["id","visibility"],[1,"row","visibility"],[1,"col","no-wrap","actions-wrapper","no-gutters"],["formControlName","visibility",3,"ariaLabelPrivate","ariaLabelPublic","ariaLabelTrustedParty","itemTitle"]]}
3,template:function(L,E){if(1&L&&(r.j41(0,"app-modal",9)(1,"app-modal-header",10),r.qex(2),r.pXf(3,0),r.bVm(),r.k0s(),r.j41(4,"app-modal-side-bar"),r.qex(5,11),r.j41(6,"a",12),r.bIt("click",function(){return E.toBiography()}),r.pXf(7,1),r.k0s(),r.bVm(),r.qex(8,13),r.j41(9,"a",12),r.bIt("click",function(){return E.toVisibility()}),r.pXf(10,2),r.k0s(),r.bVm(),r.k0s(),r.j41(11,"app-modal-footer")(12,"button",14),r.bIt("click",function(){return E.saveEvent()}),r.pXf(13,3),r.k0s(),r.j41(14,"button",15),r.bIt("click",function(){return E.closeEvent()}),r.pXf(15,4),r.k0s()(),r.j41(16,"form",16),r.bIt("ngSubmit",function(){return E.onSubmit()}),r.j41(17,"section",17)(18,"div",18)(19,"p")(20,"strong"),r.pXf(21,5),r.k0s()()(),r.nrm(22,"hr"),r.j41(23,"p",19),r.pXf(24,6),r.k0s(),r.j41(25,"label",20)(26,"strong"),r.pXf(27,7),r.k0s()(),r.j41(28,"mat-form-field",21)(29,"textarea",22),r.EFF(30," "),r.k0s(),r.j41(31,"mat-hint"),r.EFF(32),r.k0s()()(),r.j41(33,"section",23)(34,"div",18)(35,"p")(36,"strong"),r.pXf(37,8),r.k0s()()(),r.nrm(38,"hr"),r.j41(39,"p",19),r.EFF(40),r.j41(41,"strong"),r.EFF(42),r.nI1(43,"visibilityStringLabel"),r.k0s(),r.EFF(44,". "),r.k0s(),r.j41(45,"div",24)(46,"div",25),r.nrm(47,"app-visibility-selector",26),r.k0s()()()()()),2&L){let se;r.Y8G("loading",E.loadingBiography),r.R7$(),r.Y8G("closeLabel",E.closeAriaLabel),r.R7$(11),r.BMQ("aria-label",E.saveAriaLabel),r.R7$(2),r.BMQ("aria-label",E.cancelAriaLabel),r.R7$(2),r.Y8G("formGroup",E.biographyForm),r.R7$(2),r.Y8G("ngClass",r.l_i(19,b,!E.platform.columns12,E.platform.columns12)),r.R7$(11),r.Y8G("placeholder",r.VkB(" ",E.ngOrcidAddYourBiography))("cdkTextareaAutosize",!0),r.R7$(3),r.SpI("",null==(se=E.biographyForm.get("biography").value)?null:se.length,"/5000"),r.R7$(2),r.Y8G("ngClass",r.l_i(22,b,!E.platform.columns12,E.platform.columns12)),r.R7$(6),r.SpI(" ",E.ngOrcidDefaultVisibilityLabel," "),r.R7$(2),r.JRh(r.bMT(43,17,E.defaultVisibility)),r.R7$(5),r.Y8G("ariaLabelPrivate",E.visibilityPrivateAriaLabel)("ariaLabelPublic",E.visibilityPublicAriaLabel)("ariaLabelTrustedParty",E.visibilityTrustedPartyAriaLabel)("itemTitle",E.ariaLabelBiography)}},styles:["textarea.mat-mdc-input-element[_ngcontent-%COMP%]{font-size:16px!important}","[_nghost-%COMP%]{width:100%}hr[_ngcontent-%COMP%]{height:2px;border:0;margin:0}.title[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:6px 0}label.mat-caption[_ngcontent-%COMP%]{margin-bottom:8px}.mat-mdc-form-field[_ngcontent-%COMP%]{width:100%}.side-bar[_ngcontent-%COMP%]{text-decoration:underline}"]})}}return f})()},42224:function(qe,ee,o){(function(){var a,t,v={}.hasOwnProperty;a=o(68886),t=o(50170),qe.exports=function(r){function _(h,C){if(_.__super__.constructor.call(this,h),null==C)throw new Error("Missing comment text. "+this.debugInfo());this.name="#comment",this.type=a.Comment,this.value=this.stringify.comment(C)}return function(r,_){for(var h in _)v.call(_,h)&&(r[h]=_[h]);function C(){this.constructor=r}C.prototype=_.prototype,r.prototype=new C,r.__super__=_.prototype}(_,r),_.prototype.clone=function(){return Object.create(this)},_.prototype.toString=function(h){return this.options.writer.comment(this,this.options.writer.filterOptions(h))},_}(t)}).call(this)},42774:(qe,ee,o)=>{"use strict";o.d(ee,{T:()=>h});var a=o(21413),t=o(88141),u=o(70152),M=o(5964),v=o(96354),r=o(17035);class h{_letterKeyStream=new a.B;_items=[];_selectedItemIndex=-1;_pressedLetters=[];_skipPredicateFn;_selectedItem=new a.B;selectedItem=this._selectedItem;constructor(b,D){const f="number"==typeof D?.debounceInterval?D.debounceInterval:200;D?.skipPredicate&&(this._skipPredicateFn=D.skipPredicate),this.setItems(b),this._setupKeyHandler(f)}destroy(){this._pressedLetters=[],this._letterKeyStream.complete(),this._selectedItem.complete()}setCurrentSelectedItemIndex(b){this._selectedItemIndex=b}setItems(b){this._items=b}handleKey(b){const D=b.keyCode;b.key&&1===b.key.length?this._letterKeyStream.next(b.key.toLocaleUpperCase()):(D>=r.A&&D<=r.Z||D>=r.b&&D<=r.N)&&this._letterKeyStream.next(String.fromCharCode(D))}isTyping(){return this._pressedLetters.length>0}reset(){this._pressedLetters=[]}_setupKeyHandler(b){this._letterKeyStream.pipe((0,t.M)(D=>this._pressedLetters.push(D)),(0,u.B)(b),(0,M.p)(()=>this._pressedLetters.length>0),(0,v.T)(()=>this._pressedLetters.join("").toLocaleUpperCase())).subscribe(D=>{for(let f=1;f<this._items.length+1;f++){const d=this._items[(this._selectedItemIndex+f)%this._items.length];if(!this._skipPredicateFn?.(d)&&0===d.getLabel?.().toLocaleUpperCase().trim().indexOf(D)){this._selectedItem.next(d);break}}this._pressedLetters=[]})}}},43236:(qe,ee,o)=>{"use strict";o.d(ee,{E:()=>u,b:()=>M});var a=o(96780);const u=new(o(39687).q)(a.R),M=u},43592:function(qe){(function(){qe.exports=function(){function o(a){this.nodes=a}return Object.defineProperty(o.prototype,"length",{get:function(){return Object.keys(this.nodes).length||0}}),o.prototype.clone=function(){return this.nodes=null},o.prototype.getNamedItem=function(a){return this.nodes[a]},o.prototype.setNamedItem=function(a){var t;return t=this.nodes[a.nodeName],this.nodes[a.nodeName]=a,t||null},o.prototype.removeNamedItem=function(a){var t;return t=this.nodes[a],delete this.nodes[a],t||null},o.prototype.item=function(a){return this.nodes[Object.keys(this.nodes)[a]]||null},o.prototype.getNamedItemNS=function(a,t){throw new Error("This DOM method is not implemented.")},o.prototype.setNamedItemNS=function(a){throw new Error("This DOM method is not implemented.")},o.prototype.removeNamedItemNS=function(a,t){throw new Error("This DOM method is not implemented.")},o}()}).call(this)},43657:function(qe,ee,o){(function(){var a,u,v={}.hasOwnProperty;u=o(79213),a=o(68886),qe.exports=function(r){function _(h){_.__super__.constructor.call(this,h),this.type=a.Dummy}return function(r,_){for(var h in _)v.call(_,h)&&(r[h]=_[h]);function C(){this.constructor=r}C.prototype=_.prototype,r.prototype=new C,r.__super__=_.prototype}(_,r),_.prototype.clone=function(){return Object.create(this)},_.prototype.toString=function(h){return""},_}(u)}).call(this)},43981:(qe,ee,o)=>{"use strict";o.d(ee,{F:()=>t});var a=o(38070);class t extends a.L{_origin="program";setFocusOrigin(M){return this._origin=M,this}setActiveItem(M){super.setActiveItem(M),this.activeItem&&this.activeItem.focus(this._origin)}}},44356:qe=>{"use strict";var a,ee="object"==typeof Reflect?Reflect:null,o=ee&&"function"==typeof ee.apply?ee.apply:function(U,T,I){return Function.prototype.apply.call(U,T,I)};a=ee&&"function"==typeof ee.ownKeys?ee.ownKeys:Object.getOwnPropertySymbols?function(U){return Object.getOwnPropertyNames(U).concat(Object.getOwnPropertySymbols(U))}:function(U){return Object.getOwnPropertyNames(U)};var u=Number.isNaN||function(U){return U!=U};function M(){M.init.call(this)}qe.exports=M,qe.exports.once=function E(ne,U){return new Promise(function(T,I){function w(N){ne.removeListener(U,Z),I(N)}function Z(){"function"==typeof ne.removeListener&&ne.removeListener("error",w),T([].slice.call(arguments))}Y(ne,U,Z,{once:!0}),"error"!==U&&function se(ne,U,T){"function"==typeof ne.on&&Y(ne,"error",U,T)}(ne,w,{once:!0})})},M.EventEmitter=M,M.prototype._events=void 0,M.prototype._eventsCount=0,M.prototype._maxListeners=void 0;var v=10;function r(ne){if("function"!=typeof ne)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof ne)}function _(ne){return void 0===ne._maxListeners?M.defaultMaxListeners:ne._maxListeners}function h(ne,U,T,I){var w,Z,N;if(r(T),void 0===(Z=ne._events)?(Z=ne._events=Object.create(null),ne._eventsCount=0):(void 0!==Z.newListener&&(ne.emit("newListener",U,T.listener?T.listener:T),Z=ne._events),N=Z[U]),void 0===N)N=Z[U]=T,++ne._eventsCount;else if("function"==typeof N?N=Z[U]=I?[T,N]:[N,T]:I?N.unshift(T):N.push(T),(w=_(ne))>0&&N.length>w&&!N.warned){N.warned=!0;var oe=new Error("Possible EventEmitter memory leak detected. "+N.length+" "+String(U)+" listeners added. Use emitter.setMaxListeners() to increase limit");oe.name="MaxListenersExceededWarning",oe.emitter=ne,oe.type=U,oe.count=N.length,function t(ne){console&&console.warn&&console.warn(ne)}(oe)}return ne}function C(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function b(ne,U,T){var I={fired:!1,wrapFn:void 0,target:ne,type:U,listener:T},w=C.bind(I);return w.listener=T,I.wrapFn=w,w}function D(ne,U,T){var I=ne._events;if(void 0===I)return[];var w=I[U];return void 0===w?[]:"function"==typeof w?T?[w.listener||w]:[w]:T?function L(ne){for(var U=new Array(ne.length),T=0;T<U.length;++T)U[T]=ne[T].listener||ne[T];return U}(w):O(w,w.length)}function f(ne){var U=this._events;if(void 0!==U){var T=U[ne];if("function"==typeof T)return 1;if(void 0!==T)return T.length}return 0}function O(ne,U){for(var T=new Array(U),I=0;I<U;++I)T[I]=ne[I];return T}function Y(ne,U,T,I){if("function"==typeof ne.on)I.once?ne.once(U,T):ne.on(U,T);else{if("function"!=typeof ne.addEventListener)throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof ne);ne.addEventListener(U,function w(Z){I.once&&ne.removeEventListener(U,w),T(Z)})}}Object.defineProperty(M,"defaultMaxListeners",{enumerable:!0,get:function(){return v},set:function(ne){if("number"!=typeof ne||ne<0||u(ne))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+ne+".");v=ne}}),M.init=function(){(void 0===this._events||this._events===Object.getPrototypeOf(this)._events)&&(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0}
3,M.prototype.setMaxListeners=function(U){if("number"!=typeof U||U<0||u(U))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+U+".");return this._maxListeners=U,this},M.prototype.getMaxListeners=function(){return _(this)},M.prototype.emit=function(U){for(var T=[],I=1;I<arguments.length;I++)T.push(arguments[I]);var w="error"===U,Z=this._events;if(void 0!==Z)w=w&&void 0===Z.error;else if(!w)return!1;if(w){var N;if(T.length>0&&(N=T[0]),N instanceof Error)throw N;var oe=new Error("Unhandled error."+(N?" ("+N.message+")":""));throw oe.context=N,oe}var H=Z[U];if(void 0===H)return!1;if("function"==typeof H)o(H,this,T);else{var ie=H.length,Ce=O(H,ie);for(I=0;I<ie;++I)o(Ce[I],this,T)}return!0},M.prototype.on=M.prototype.addListener=function(U,T){return h(this,U,T,!1)},M.prototype.prependListener=function(U,T){return h(this,U,T,!0)},M.prototype.once=function(U,T){return r(T),this.on(U,b(this,U,T)),this},M.prototype.prependOnceListener=function(U,T){return r(T),this.prependListener(U,b(this,U,T)),this},M.prototype.off=M.prototype.removeListener=function(U,T){var I,w,Z,N,oe;if(r(T),void 0===(w=this._events))return this;if(void 0===(I=w[U]))return this;if(I===T||I.listener===T)0===--this._eventsCount?this._events=Object.create(null):(delete w[U],w.removeListener&&this.emit("removeListener",U,I.listener||T));else if("function"!=typeof I){for(Z=-1,N=I.length-1;N>=0;N--)if(I[N]===T||I[N].listener===T){oe=I[N].listener,Z=N;break}if(Z<0)return this;0===Z?I.shift():function d(ne,U){for(;U+1<ne.length;U++)ne[U]=ne[U+1];ne.pop()}(I,Z),1===I.length&&(w[U]=I[0]),void 0!==w.removeListener&&this.emit("removeListener",U,oe||T)}return this},M.prototype.removeAllListeners=function(U){var T,I,w;if(void 0===(I=this._events))return this;if(void 0===I.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==I[U]&&(0===--this._eventsCount?this._events=Object.create(null):delete I[U]),this;if(0===arguments.length){var N,Z=Object.keys(I);for(w=0;w<Z.length;++w)"removeListener"!==(N=Z[w])&&this.removeAllListeners(N);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(T=I[U]))this.removeListener(U,T);else if(void 0!==T)for(w=T.length-1;w>=0;w--)this.removeListener(U,T[w]);return this},M.prototype.listeners=function(U){return D(this,U,!0)},M.prototype.rawListeners=function(U){return D(this,U,!1)},M.listenerCount=function(ne,U){return"function"==typeof ne.listenerCount?ne.listenerCount(U):f.call(ne,U)},M.prototype.listenerCount=f,M.prototype.eventNames=function(){return this._eventsCount>0?a(this._events):[]}},44668:(qe,ee,o)=>{"use strict";o.d(ee,{t:()=>u});var a=o(92771),t=o(97647);function u(M,v,r){let _,h=!1;return M&&"object"==typeof M?({bufferSize:_=1/0,windowTime:v=1/0,refCount:h=!1,scheduler:r}=M):_=M??1/0,(0,t.u)({connector:()=>new a.m(_,v,r),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:h})}},45225:(qe,ee,o)=>{"use strict";function a(t,u,M,v=0,r=!1){const _=u.schedule(function(){M(),r?t.add(this.schedule(null,v)):this.unsubscribe()},v);if(t.add(_),!r)return _}o.d(ee,{N:()=>a})},45334:(qe,ee,o)=>{"use strict";o.d(ee,{m:()=>u});var a=o(41026),t=o(19270);function u(M){t.f.setTimeout(()=>{const{onUnhandledError:v}=a.$;if(!v)throw M;v(M)})}},45385:(qe,ee,o)=>{"use strict";function a(_){return h=>{const C=h.get(_+"Year").value,b=h.get(_+"Month").value,D=h.get(_+"Day").value;if(!C&&!b&&!D)return null;let f;return C&&!b&&!D&&(f=new Date(C)),C&&b&&!D&&(f=new Date(C+"-"+(b<10?"0"+b:b))),C&&b&&D?(f=new Date(C,b-1,D),f.getFullYear()===C&&f.getMonth()===b-1&&f.getDate()===D?null:{date:!0}):f&&!isNaN(f.getTime())?null:{date:!0}}}function t(_,h=!0){return C=>{const b=C.get(_+"Year").value,D=C.get(_+"Month").value;if(!b&&!D)return null;let f;return b&&!D&&(f=new Date(b)),b&&D&&(f=new Date(b+"-"+(D<10?"0"+D:D))),f&&!isNaN(f.getTime())?null:{date:!0}}}function u(){return _=>{const h=Object.keys(_.get("endDateGroup").errors||{}),C=Object.keys(_.get("startDateGroup").errors||{});if(h.length||C.length)return null;const b=_.get("endDateGroup.endDateYear").value;let D=_.get("endDateGroup.endDateMonth").value;const f=_.get("startDateGroup.startDateYear").value;let O=_.get("startDateGroup.startDateMonth").value;if(!b||!f)return null;O||(O=1),D||(D=12);const d=v(f,b,O,D);return D&&!O&&f&&b&&f===b||d.endDate<d.startDate||d.endDate<d.startDate?{invalidEndDate:!0}:null}}function M(){return _=>{const h=Object.keys(_.get("endDateGroup").errors||{}),C=Object.keys(_.get("startDateGroup").errors||{});if(h.length||C.length)return null;const b=_.get("endDateGroup.endDateYear").value;let D=_.get("endDateGroup.endDateMonth").value,f=_.get("endDateGroup.endDateDay").value;const O=_.get("startDateGroup.startDateYear").value;let d=_.get("startDateGroup.startDateMonth").value,L=_.get("startDateGroup.startDateDay").value;if(!b||!O)return null;d||(d=1),L||(L=1),D||(D=12),f||(f=31);const E=v(O,b,d,D,L,f);return D&&!d&&O&&b&&O===b||f&&!L&&O&&b&&D&&f&&O===b&&D===f||E.endDate<E.startDate?{invalidEndDate:!0}:null}}function v(_,h,C,b,D,f){return _&&h&&C&&b&&D&&f?{startDate:r(_,C,D),endDate:r(h,b,f)}:_&&C&&h&&b?{startDate:r(_,C),endDate:r(h,b)}:_&&h?{startDate:r(_),endDate:r(h)}:void 0}function r(_,h,C){let b;return b=_&&h&&C?new Date(_,h?h-1:void 0,C):_&&h?new Date(_+"-"+(h<10?"0"+h:h)):new Date(_+""),b}o.d(ee,{N8:()=>a,Wp:()=>t,jD:()=>u,k7:()=>M})},45955:(qe,ee,o)=>{"use strict";let a;function u(M){return function t(){if(null==a&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>a=!0}))}finally{a=a||!1}return a}()?M:!!M.capture}o.d(ee,{n:()=>u})},46221:(qe,ee,o)=>{"use strict";o.d(ee,{U:()=>h});var a=o(51060),t=o(1734),u=o(96695),M=o(73664),v=o(2615);let r=(()=>{class C extends u.xX{constructor(){super(...arguments),this.firstPageLabel="First page",this.itemsPerPageLabel="Items per page:",this.lastPageLabel="Last page",this.nextPageLabel="Next page",this.previousPageLabel="Previous page",this.ofLabel="of",this.pageLabel="Page",this.getRangeLabel=(D,f,O)=>{const d=0===O||0===f?0:Math.ceil(O/f);return` ${this.pageLabel} ${D+1} ${this.ofLabel} ${d}`}}static{this.\u0275fac=(()=>{let D;return function(O){return(D||(D=M.xGo(C)))(O||C)}})()}
3static{this.\u0275prov=v.jDH({token:C,factory:C.\u0275fac})}}return C})();var _=o(34434);let h=(()=>{class C{static{this.\u0275fac=function(f){return new(f||C)}}static{this.\u0275mod=M.$C({type:C})}static{this.\u0275inj=v.G2t({providers:[t.GG,{provide:u.xX,useClass:r}],imports:[a._,t.nd,_._]})}}return C})()},47441:(qe,ee,o)=>{"use strict";o.d(ee,{X:()=>a});const a=t=>t&&"number"==typeof t.length&&"function"!=typeof t},47471:function(qe,ee,o){(function(){var t,M={}.hasOwnProperty;t=o(97059),qe.exports=function(v){function r(_){r.__super__.constructor.call(this,_)}return function(v,r){for(var _ in r)M.call(r,_)&&(v[_]=r[_]);function h(){this.constructor=v}h.prototype=r.prototype,v.prototype=new h,v.__super__=r.prototype}(r,v),r.prototype.document=function(_,h){var b,D,f,O;for(h=this.filterOptions(h),f="",b=0,D=(O=_.children).length;b<D;b++)f+=this.writeChildNode(O[b],h,0);return h.pretty&&f.slice(-h.newline.length)===h.newline&&(f=f.slice(0,-h.newline.length)),f},r}(t)}).call(this)},47707:(qe,ee,o)=>{"use strict";o.d(ee,{Ms:()=>E,vU:()=>f});var a=o(98071),t=o(18359),u=o(41026),M=o(45334),v=o(85343);const r=C("C",void 0,void 0);function C(T,I,w){return{kind:T,value:I,error:w}}var b=o(19270),D=o(49786);class f extends t.yU{constructor(I){super(),this.isStopped=!1,I?(this.destination=I,(0,t.Uv)(I)&&I.add(this)):this.destination=U}static create(I,w,Z){return new E(I,w,Z)}next(I){this.isStopped?ne(function h(T){return C("N",T,void 0)}(I),this):this._next(I)}error(I){this.isStopped?ne(function _(T){return C("E",void 0,T)}(I),this):(this.isStopped=!0,this._error(I))}complete(){this.isStopped?ne(r,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(I){this.destination.next(I)}_error(I){try{this.destination.error(I)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const O=Function.prototype.bind;function d(T,I){return O.call(T,I)}class L{constructor(I){this.partialObserver=I}next(I){const{partialObserver:w}=this;if(w.next)try{w.next(I)}catch(Z){se(Z)}}error(I){const{partialObserver:w}=this;if(w.error)try{w.error(I)}catch(Z){se(Z)}else se(I)}complete(){const{partialObserver:I}=this;if(I.complete)try{I.complete()}catch(w){se(w)}}}class E extends f{constructor(I,w,Z){let N;if(super(),(0,a.T)(I)||!I)N={next:I??void 0,error:w??void 0,complete:Z??void 0};else{let oe;this&&u.$.useDeprecatedNextContext?(oe=Object.create(I),oe.unsubscribe=()=>this.unsubscribe(),N={next:I.next&&d(I.next,oe),error:I.error&&d(I.error,oe),complete:I.complete&&d(I.complete,oe)}):N=I}this.destination=new L(N)}}function se(T){u.$.useDeprecatedSynchronousErrorHandling?(0,D.l)(T):(0,M.m)(T)}function ne(T,I){const{onStoppedNotification:w}=u.$;w&&b.f.setTimeout(()=>w(T,I))}const U={closed:!0,next:v.l,error:function Y(T){throw T},complete:v.l}},47958:(qe,ee,o)=>{"use strict";o.d(ee,{j:()=>b});var a=o(29330),t=o(92771),u=o(84412),M=o(7673),v=o(99437),r=o(88141),_=o(25558),h=o(2615),C=o(56846);let b=(()=>{class D{get $loading(){return this._$loading.asObservable()}constructor(O,d){this._http=O,this._errorHandler=d,this.headers=new a.Lr({"Access-Control-Allow-Origin":"*"}),this.$fundings=new t.m,this._$loading=new u.t(!0)}getFundings(O){return this._$loading.next(!0),O?.publicRecordId?this._http.get(runtimeEnvironment.API_WEB+O.publicRecordId+"/fundingGroups.json?&sort="+(null!=O.sort?O.sort:"date")+"&sortAsc="+(null!=O.sortAsc&&O.sortAsc)).pipe((0,v.W)(d=>this._errorHandler.handleError(d)),(0,v.W)(()=>(0,M.of)([])),(0,r.M)(d=>{this._$loading.next(!1),this.lastEmittedValue=d,this.$fundings.next(d)}),(0,_.n)(d=>this.$fundings.asObservable())).subscribe():this.getAndSortFundings(O).pipe((0,v.W)(d=>this._errorHandler.handleError(d)),(0,r.M)(d=>{this._$loading.next(!1),this.lastEmittedValue=d,this.$fundings.next(d)}),(0,_.n)(d=>this.$fundings.asObservable())).subscribe(),this.$fundings.asObservable()}getFundingDetails(O){return this._http.get(runtimeEnvironment.API_WEB+`fundings/fundingDetails.json?id=${O}`).pipe((0,v.W)(d=>this._errorHandler.handleError(d)))}getPublicFundingDetails(O,d){return this._http.get(runtimeEnvironment.API_WEB+O+`/fundingDetails.json?id=${d}
3`).pipe((0,v.W)(L=>this._errorHandler.handleError(L)))}changeUserRecordContext(O){this.getFundings(O).subscribe()}getAndSortFundings(O){return this._http.get(runtimeEnvironment.API_WEB+"fundings/fundingGroups.json?&sort="+(null!=O?.sort?O.sort:"date")+"&sortAsc="+(null!=O?.sortAsc&&O.sortAsc)).pipe((0,v.W)(d=>this._errorHandler.handleError(d)))}set(O){throw new Error("Method not implemented.")}updateVisibility(O,d){return this._http.get(runtimeEnvironment.API_WEB+"fundings/"+O+"/visibility/"+d).pipe((0,v.W)(L=>this._errorHandler.handleError(L)),(0,r.M)(()=>this.getFundings({forceReload:!0})))}delete(O){return this._http.delete(runtimeEnvironment.API_WEB+"fundings/funding.json?id="+encodeURIComponent(O)).pipe((0,v.W)(d=>this._errorHandler.handleError(d)),(0,r.M)(()=>this.getFundings({forceReload:!0})))}getFunding(){return this._http.get(runtimeEnvironment.API_WEB+"fundings/funding.json").pipe((0,v.W)(O=>this._errorHandler.handleError(O)))}save(O){return this._http.post(runtimeEnvironment.API_WEB+"fundings/funding.json",O).pipe((0,v.W)(d=>this._errorHandler.handleError(d)),(0,r.M)(()=>this.getFundings({forceReload:!0})))}getOrganization(O){return O.length>2?this._http.get(runtimeEnvironment.API_WEB+"fundings/disambiguated/name/"+O+"?limit=100&funders-only=true",{headers:this.headers}).pipe((0,v.W)(d=>this._errorHandler.handleError(d))):(0,M.of)([])}loadFundingImportWizardList(){return this._http.get(runtimeEnvironment.API_WEB+"workspace/retrieve-funding-import-wizards.json")}updatePreferredSource(O){return this._http.get(runtimeEnvironment.API_WEB+"fundings/updateToMaxDisplay.json?putCode="+O).pipe((0,v.W)(d=>this._errorHandler.handleError(d)),(0,r.M)(()=>this.getFundings({forceReload:!0})))}static{this.\u0275fac=function(d){return new(d||D)(h.KVO(a.Qq),h.KVO(C.c))}}static{this.\u0275prov=h.jDH({token:D,factory:D.\u0275fac,providedIn:"root"})}}return D})()},48305:function(qe,ee,o){(function(){var a,u,v={}.hasOwnProperty;u=o(79213),a=o(68886),qe.exports=function(r){function _(h,C,b){if(_.__super__.constructor.call(this,h),null==C)throw new Error("Missing DTD element name. "+this.debugInfo());b||(b="(#PCDATA)"),Array.isArray(b)&&(b="("+b.join(",")+")"),this.name=this.stringify.name(C),this.type=a.ElementDeclaration,this.value=this.stringify.dtdElementValue(b)}return function(r,_){for(var h in _)v.call(_,h)&&(r[h]=_[h]);function C(){this.constructor=r}C.prototype=_.prototype,r.prototype=new C,r.__super__=_.prototype}(_,r),_.prototype.toString=function(h){return this.options.writer.dtdElement(this,this.options.writer.filterOptions(h))},_}(u)}).call(this)},48440:(qe,ee,o)=>{"use strict";function a(Se,pt){return Object.is(Se,pt)}o.d(ee,{Ag:()=>Ue,Bg:()=>ne,EF:()=>we,H8:()=>a,Ht:()=>_,JC:()=>d,KE:()=>C,KO:()=>De,KZ:()=>Ce,Ny:()=>nt,TO:()=>Y,Wu:()=>U,XR:()=>I,a7:()=>oe,bh:()=>r,j2:()=>X,mC:()=>$,mK:()=>f,n5:()=>z,nR:()=>h,pL:()=>D,s0:()=>Be,si:()=>T});let t=null,u=!1,M=1,v=null;const r=Symbol("SIGNAL");function _(Se){const pt=t;return t=Se,pt}function h(){return t}function C(){return u}const D={version:0,lastCleanEpoch:0,dirty:!1,producers:void 0,producersTail:void 0,consumers:void 0,consumersTail:void 0,recomputing:!1,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,kind:"unknown",producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function f(Se){if(u)throw new Error("");if(null===t)return;t.consumerOnSignalRead(Se);const pt=t.producersTail;if(void 0!==pt&&pt.producer===Se)return;let Ge;const bt=t.recomputing;if(bt&&(Ge=void 0!==pt?pt.nextProducer:t.producers,void 0!==Ge&&Ge.producer===Se))return t.producersTail=Ge,void(Ge.lastReadVersion=Se.version);const me=Se.consumersTail;if(void 0!==me&&me.consumer===t&&(!bt||function ie(Se,pt){const Ge=pt.producersTail;if(void 0!==Ge){let bt=pt.producers;do{if(bt===Se)return!0;if(bt===Ge)break;bt=bt.nextProducer}while(void 0!==bt)}return!1}(me,t)))return;const J=N(t),R={producer:Se,consumer:t,nextProducer:Ge,prevConsumer:me,lastReadVersion:Se.version,nextConsumer:void 0};t.producersTail=R,void 0!==pt?pt.nextProducer=R:t.producers=R,J&&w(Se,R)}function d(Se){if((!N(Se)||Se.dirty)&&(Se.dirty||Se.lastCleanEpoch!==M)){if(!Se.producerMustRecompute(Se)&&!T(Se))return void Y(Se);Se.producerRecomputeValue(Se),Y(Se)}}function L(Se){if(void 0===Se.consumers)return;const pt=u;u=!0;try{for(let Ge=Se.consumers;void 0!==Ge;Ge=Ge.nextConsumer){const bt=Ge.consumer;bt.dirty||se(bt)}}finally{u=pt}}function E(){return!1!==t?.consumerAllowSignalWrites}function se(Se){Se.dirty=!0,L(Se),Se.consumerMarkedDirty?.(Se)}function Y(Se){Se.dirty=!1,Se.lastCleanEpoch=M}function ne(Se){return Se&&(Se.producersTail=void 0,Se.recomputing=!0),_(Se)}function U(Se,pt){if(_(pt),!Se)return;Se.recomputing=!1;const Ge=Se.producersTail;let bt=void 0!==Ge?Ge.nextProducer:Se.producers;if(void 0!==bt){if(N(Se))do{bt=Z(bt)}while(void 0!==bt);void 0!==Ge?Ge.nextProducer=void 0:Se.producers=void 0}}function T(Se){for(let pt=Se.producers;void 0!==pt;pt=pt.nextProducer){const Ge=pt.producer,bt=pt.lastReadVersion;if(bt!==Ge.version||(d(Ge),bt!==Ge.version))return!0}return!1}function I(Se){if(N(Se)){let pt=Se.producers;for(;void 0!==pt;)pt=Z(pt)}Se.producers=void 0,Se.producersTail=void 0,Se.consumers=void 0,Se.consumersTail=void 0}function w(Se,pt){const Ge=Se.consumersTail,bt=N(Se);if(void 0!==Ge?(pt.nextConsumer=Ge.nextConsumer,Ge.nextConsumer=pt):(pt.nextConsumer=void 0,Se.consumers=pt),pt.prevConsumer=Ge,Se.consumersTail=pt,!bt)for(let me=Se.producers;void 0!==me;me=me.nextProducer)w(me.producer,me)}function Z(Se){const pt=Se.producer,Ge=Se.nextProducer,bt=Se.nextConsumer,me=Se.prevConsumer;if(Se.nextConsumer=void 0,Se.prevConsumer=void 0,void 0!==bt?bt.prevConsumer=me:pt.consumersTail=me,void 0!==me)me.nextConsumer=bt;else if(pt.consumers=bt,!N(pt)){let J=pt.producers;for(;void 0!==J;)J=Z(J)}return Ge}function N(Se){return Se.consumerIsAlwaysLive||void 0!==Se.consumers}function oe(Se){v?.(Se)}function Ce(Se,pt){const Ge=Object.create(at);Ge.computation=Se,void 0!==pt&&(Ge.equal=pt);const bt=()=>{if(d(Ge),f(Ge),Ge.value===we)throw Ge.error;return Ge.value};return bt[r]=Ge,oe(Ge),bt}const Ue=Symbol("UNSET"),nt=Symbol("COMPUTING"),we=Symbol("ERRORED"),at={...D,value:Ue,dirty:!0,error:null,equal:a,kind:"computed",producerMustRecompute:Se=>Se.value===Ue||Se.value===nt,producerRecomputeValue(Se){if(Se.value===nt)throw new Error("");const pt=Se.value;Se.value=nt;const Ge=ne(Se);let bt,me=!1;try{bt=Se.computation(),_(null),me=pt!==Ue&&pt!==we&&bt!==we&&Se.equal(pt,bt)}catch(J){bt=we,Se.error=J}finally{U(Se,Ge)}me?Se.value=pt:(Se.value=bt,Se.version++)}};let et=function Xe(){throw new Error};function xe(Se){et(Se)}function De(Se){et=Se}let ue=null;function z(Se,pt){const Ge=Object.create(Be);Ge.value=Se,void 0!==pt&&(Ge.equal=pt);const bt=()=>function ae(Se){return f(Se),Se.value}(Ge);return bt[r]=Ge,oe(Ge),[bt,R=>X(Ge,R),R=>$(Ge,R)]}function X(Se,pt){E()||xe(Se),Se.equal(Se.value,pt)||(Se.value=pt,function Ye(Se){Se.version++,function O(){M++}(),L(Se),ue?.(Se)}(Se))}function $(Se,pt){E()||xe(Se),X(Se,pt(Se.value))}const Be={...D,equal:a,value:void 0,kind:"signal"}},49046:(qe,ee,o)=>{"use strict";o.d(ee,{Y:()=>t});var a=o(73664);let t=(()=>{class u{static \u0275fac=function(r){return new(r||u)};static \u0275cmp=a.VBU({type:u,selectors:[["ng-component"]],exportAs:["cdkVisuallyHidden"],decls:0,vars:0,template:function(r,_){},styles:[".cdk-visually-hidden{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap;outline:0;-webkit-appearance:none;-moz-appearance:none;left:0}[dir=rtl] .cdk-visually-hidden{left:auto;right:0}\n"],encapsulation:2,changeDetection:0})}return u})()},49786:(qe,ee,o)=>{"use strict";o.d(ee,{Y:()=>u,l:()=>M});var a=o(41026);let t=null;function u(v){if(a.$.useDeprecatedSynchronousErrorHandling){const r=!t;if(r&&(t={errorThrown:!1,error:null}),v(),r){const{errorThrown:_,error:h}=t;if(t=null,_)throw h}}else v()}function M(v){a.$.useDeprecatedSynchronousErrorHandling&&t&&(t.errorThrown=!0,t.error=v)}},50170:function(qe,ee,o){(function(){var t,M={}.hasOwnProperty;t=o(79213),qe.exports=function(v){function r(_){r.__super__.constructor.call(this,_),this.value=""}return function(v,r){for(var _ in r)M.call(r,_)&&(v[_]=r[_]);function h(){this.constructor=v}h.prototype=r.prototype,v.prototype=new h,v.__super__=r.prototype}(r,v),Object.defineProperty(r.prototype,"data",{get:function(){return this.value},set:function(_){return this.value=_||""}}),Object.defineProperty(r.prototype,"length",{get:function(){return this.value.length}}),Object.defineProperty(r.prototype,"textContent",{get:function(){return this.value},set:function(_){return this.value=_||""}}),r.prototype.clone=function(){return Object.create(this)},r.prototype.substringData=function(_,h){throw new Error("This DOM method is not implemented."+this.debugInfo())},r.prototype.appendData=function(_){throw new Error("This DOM method is not implemented."+this.debugInfo())},r.prototype.insertData=function(_,h){throw new Error("This DOM method is not implemented."+this.debugInfo())},r.prototype.deleteData=function(_,h){throw new Error("This DOM method is not implemented."+this.debugInfo())},r.prototype.replaceData=function(_,h,C){throw new Error("This DOM method is not implemented."+this.debugInfo())},r.prototype.isEqualNode=function(_){return!(!r.__super__.isEqualNode.apply(this,arguments).isEqualNode(_)||_.data!==this.data)},r}(t)}).call(this)},50591:(qe,ee,o)=>{"use strict";function a(t){return new TypeError(`You provided ${null!==t&&"object"==typeof t?"an invali
3d object":`'${t}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}o.d(ee,{L:()=>a})},51060:(qe,ee,o)=>{"use strict";o.d(ee,{_:()=>_,Z:()=>a.Z});var a=o(68954),t=o(72200),u=o(36860),M=o(99327),v=o(73664),r=o(2615);let _=(()=>{class h{static{this.\u0275fac=function(D){return new(D||h)}}static{this.\u0275mod=v.$C({type:h})}static{this.\u0275inj=r.G2t({imports:[t.MD,u.IK,M.RH]})}}return h})()},52512:(qe,ee,o)=>{"use strict";function a(u,M){M=encodeURIComponent(M);for(const v of u.split(";")){const r=v.indexOf("="),[_,h]=-1==r?[v,""]:[v.slice(0,r),v.slice(r+1)];if(_.trim()===M)return decodeURIComponent(h)}return null}o.d(ee,{N:()=>t,b:()=>a});class t{}},52584:(qe,ee,o)=>{"use strict";o.d(ee,{S:()=>_});var a=o(99437),t=o(96354),u=o(21495),M=o(2615),v=o(29330),r=o(56846);let _=(()=>{class h{constructor(b,D){this._http=b,this._errorHandler=D,this.quickSearchEDisMax='{!edismax qf="given-and-family-names^50.0 family-name^10.0 given-names^10.0 credit-name^10.0 other-names^5.0 text^1.0" pf="given-and-family-names^50.0" bq="current-institution-affiliation-name:[* TO *]^100.0 past-institution-affiliation-name:[* TO *]^70" mm=1}'}search(b){return this._http.get(`${runtimeEnvironment.API_PUB}/expanded-search/${this.buildSearchUrl(b)}`,{headers:{Accept:"application/json"}}).pipe((0,a.W)(D=>this._errorHandler.handleError(D)),(0,t.T)(D=>(D["expanded-result"]=D["expanded-result"]?.map(f=>(!f["given-names"]&&!f["family-names"]&&(f["given-names"]="Name is private"),f)),D)))}buildSearchUrl(b){const D={};Object.keys(b).map(O=>{"string"==typeof b[O]&&(D[O]=this.escapeReservedChar(b[O]))});const f=this.extractOrcidId(D.orcid)||this.extractOrcidId(D.searchQuery);if(D&&f)return this.encodeUrlWithPagination(`orcid:${f}`,b);if(D&&D.searchQuery)return this.encodeUrlWithPagination(this.quickSearchEDisMax+D.searchQuery,b);if(D){const O=[];if(D.firstName){let d=`given-names:${D.firstName}`;"true"===D.otherFields&&(d+=` OR other-names:${D.firstName}`),O.push(`(${d})`)}if(D.lastName){let d=`family-name:${D.lastName}`;"true"===D.otherFields&&(d+=` OR other-names:${D.lastName}`),O.push(`(${d})`)}return D.keyword&&O.push(`keyword:${D.keyword}`),D.institution&&(D.institution.match(/^[0-9]*$/)?O.push(`ringgold-org-id:${D.institution}`):D.institution.startsWith("grid.")?O.push(`grid-org-id:${D.institution}`):D.institution.startsWith("http")?O.push(`ror-org-id:${D.institution}`):O.push(`affiliation-org-name:${D.institution}`)),this.setEdismaxAndEncodedUrlWithPagination(O.join(" AND "),b)}}escapeReservedChar(b){return b.replace(/([!^&*()+=\[\]\\/{}|:?~])/g,"\\$1").toLowerCase().trim()}extractOrcidId(b){const D=u.X_.exec(b);return D?D[0].toUpperCase():null}searchParametersAdapter(b){const D={};return Object.keys(b).forEach(f=>{"string"==typeof b[f]?b[f].trim()&&"false"!==b[f]&&(D[f]=b[f].trim()):b[f]&&(D[f]=b[f])}),D}setEdismaxAndEncodedUrlWithPagination(b,D){return"?bq="+encodeURIComponent("current-institution-affiliation-name:[* TO *]^100.0 past-institution-affiliation-name:[* TO *]^70")+`&defType=edismax&q=${encodeURIComponent(b)}`+this.handlePagination(D)}encodeUrlWithPagination(b,D){return`?q=${encodeURIComponent(b)}`+this.handlePagination(D)}handlePagination(b){return`&start=${b.pageIndex*b.pageSize||0}&rows=${b.pageSize||u.yQ}`}static{this.\u0275fac=function(D){return new(D||h)(M.KVO(v.Qq),M.KVO(r.c))}}static{this.\u0275prov=M.jDH({token:h,factory:h.\u0275fac,providedIn:"root"})}}return h})()},52810:(qe,ee,o)=>{"use strict";o.d(ee,{O:()=>mt});var a=o(88021),t=o(89417),u=o(45385),M=o(41171),v=o(21495),r=o(21413),_=o(7673),h=o(983),C=o(61594),b=o(88141),D=o(25558),f=o(1734),O=o(32480),d=o(345),E=o(73664),se=o(2615),Y=o(51060),ne=o(8435),U=o(65316),T=o(47958),I=o(32130),w=o(36874);const Z=(Ze,Nt)=>({"orc-font-body":Ze,"orc-font-body-large":Nt}),N=Ze=>({error:Ze}),oe=Ze=>({"project-link-mobile":Ze}),H=Ze=>({"two-line-hint":Ze});function ie(Ze,Nt){1&Ze&&(E.j41(0,"span",78),E.EFF(1,"*"),E.k0s())}function Ce(Ze,Nt){1&Ze&&(E.j41(0,"p",158)(1,"span",78),E.EFF(2,"*"),E.k0s(),E.qex(3),E.pXf(4,32),E.bVm(),E.k0s())}function Ue(Ze,Nt){if(1&Ze&&(E.j41(0,"mat-option",123),E.EFF(1),E.nI1(2,"recordFundingTypesLabel"),E.k0s()),2&Ze){const vt=Nt.$implicit;E.Y8G("value",vt.value),E.R7$(),E.SpI(" ",E.bMT(2,2,vt.value)," ")}}function nt(Ze,Nt){1&Ze&&(E.j41(0,"mat-error"),E.pXf(1,33),E.k0s())}function we(Ze,Nt){1&Ze&&(E.j41(0,"mat-error"),E.pXf(1,34),E.k0s())}function at(Ze,Nt){1&Ze&&(E.j41(0,"mat-error",104),E.pXf(1,35),E.k0s())}function Xe(Ze,Nt){1&Ze&&(E.j41(0,"mat-error"),E.pXf(1,36),E.k0s())}function et(Ze,Nt){1&Ze&&(E.j41(0,"mat-icon",151),E.EFF(1,"add_circle_outline"),E.k0s())}function xe(Ze,Nt){1&Ze&&(E.j41(0,"mat-icon",151),E.EFF(1,"remove_circle_outline"),E.k0s())}function De(Ze,Nt){1&Ze&&(E.qex(0),E.pXf(1,37),E.bVm())}function ue(Ze,Nt){1&Ze&&(E.qex(0),E.pXf(1,38),E.bVm())}function z(Ze,Nt){1&Ze&&(E.j41(0,"mat-error",104),E.pXf(1,39),E.k0s())}function de(Ze,Nt){1&Ze&&(E.j41(0,"mat-error",104),E.pXf(1,40),E.k0s())}function ae(Ze,Nt){if(1&Ze&&(E.j41(0,"mat-option",123),E.EFF(1),E.k0s()),2&Ze){const vt=Nt.$implicit;E.Y8G("value",vt.key),E.R7$(),E.SpI(" ",vt.value," ")}}function X(Ze,Nt){1&Ze&&(E.j41(0,"mat-error",104),E.pXf(1,41),E.k0s())}function $(Ze,Nt){1&Ze&&(E.j41(0,"mat-error"),E.pXf(1,42),E.k0s())}function K(Ze,Nt){1&Ze&&(E.j41(0,"mat-error"),E.pXf(1,43),E.k0s())}function Be(Ze,Nt){1&Ze&&(E.j41(0,"mat-error"),E.pXf(1,44),E.k0s())}function Ye(Ze,Nt){if(1&Ze&&(E.j41(0,"mat-option",123),E.EFF(1),E.k0s()),2&Ze){const vt=Nt.$implicit;E.Y8G("value",vt.key),E.R7$(),E.SpI(" ",vt.value," ")}}function Se(Ze,Nt){1&Ze&&(E.j41(0,"mat-error",159),E.pXf(1,45),E.k0s())}function pt(Ze,Nt){1&Ze&&(E.j41(0,"mat-error",159),E.pXf(1,46),E.k0s())}function Ge(Ze,Nt){if(1&Ze&&(E.j41(0,"mat-option",123),E.EFF(1),E.k0s()),2&Ze){const vt=Nt.$implicit;E.Y8G("value",vt),E.R7$(),E.SpI(" ",vt," ")}}function bt(Ze,Nt){if(1&Ze&&(E.j41(0,"mat-option",123),E.EFF(1),E.nI1(2,"trailingZeros"),E.k0s()),2&Ze){const vt=Nt.$implicit;E.Y8G("value",vt),E.R7$(),E.SpI(" ",E.bMT(2,2,vt)," ")}}function me(Ze,Nt){1&Ze&&(E.j41(0,"mat-error",159),E.pXf(1,47),E.k0s())}function J(Ze,Nt){if(1&Ze&&(E.j41(0,"mat-option",123),E.EFF(1),E.k0s()),2&Ze){const vt=Nt.$implicit;E.Y8G("value",vt),E.R7$(),E.SpI(" ",vt," ")}}function R(Ze,Nt){if(1&Ze&&(E.j41(0,"mat-option",123),E.EFF(1),E.nI1(2,"trailingZeros"),E.k0s()),2&Ze){const vt=Nt.$implicit;E.Y8G("value",vt),E.R7$(),E.SpI(" ",E.bMT(2,2,vt)," ")}}function x(Ze,Nt){1&Ze&&(E.j41(0,"mat-error",159),E.pXf(1,48),E.k0s())}function ce(Ze,Nt){1&Ze&&(E.j41(0,"mat-error",159),E.pXf(1,49),E.k0s())}function Pe(Ze,Nt){1&Ze&&(E.j41(0,"span",78),E.EFF(1,"*"),E.k0s())}function pe(Ze,Nt){1&Ze&&(E.j41(0,"p",158)(1,"span",78),E.EFF(2,"*"),E.k0s(),E.qex(3),E.pXf(4,50),E.bVm(),E.k0s())}function st(Ze,Nt){if(1&Ze&&(E.j41(0,"mat-option",123)(1,"div",160),E.EFF(2),E.k0s(),E.j41(3,"div",161),E.EFF(4),E.k0s()()),2&Ze){const vt=Nt.$implicit;E.Y8G("value",vt),E.R7$(2),E.SpI(" ",vt.value," "),E.R7$(2),E.E5c(" ",vt.city," ",vt.region," ",vt.country," ")}}function Qe(Ze,Nt){if(1&Ze&&(E.j41(0,"mat-hint"),E.qex(1),E.pXf(2,51),E.bVm(),E.EFF(3),E.k0s()),2&Ze){const vt=E.XpG();E.R7$(3),E.SpI(" ",vt.selectedOrganizationFromDatabase.value," ")}}function At(Ze,Nt){1&Ze&&(E.j41(0,"mat-hint"),E.pXf(1,52),E.k0s())}function Ne(Ze,Nt){if(1&Ze){const vt=E.RV6();E.j41(0,"button",162),E.bIt("click",function(){se.eBV(vt);const ht=E.XpG();return se.Njj(ht.clearForm())}),E.j41(1,"mat-icon"),E.EFF(2,"close"),E.k0s()()}}function ze(Ze,Nt){1&Ze&&(E.j41(0,"mat-error",104),E.pXf(1,53),E.k0s())}function Ke(Ze,Nt){1&Ze&&(E.j41(0,"mat-error"),E.pXf(1,54),E.k0s())}
3function Ct(Ze,Nt){1&Ze&&(E.j41(0,"mat-error",104),E.pXf(1,55),E.k0s())}function Wt(Ze,Nt){1&Ze&&(E.j41(0,"mat-error"),E.pXf(1,56),E.k0s())}function ln(Ze,Nt){1&Ze&&(E.j41(0,"mat-error"),E.pXf(1,57),E.k0s())}function Rn(Ze,Nt){if(1&Ze&&(E.j41(0,"mat-option",123),E.EFF(1),E.k0s()),2&Ze){const vt=Nt.$implicit;E.Y8G("value",vt.key),E.R7$(),E.SpI(" ",vt.key," ")}}function Dn(Ze,Nt){1&Ze&&(E.j41(0,"mat-error"),E.pXf(1,58),E.k0s())}function Gn(Ze,Nt){1&Ze&&(E.j41(0,"span",78),E.EFF(1,"*"),E.k0s())}function Yn(Ze,Nt){if(1&Ze){const vt=E.RV6();E.qex(0),E.j41(1,"app-funding-external-identifiers-edit",164),E.bIt("cancelEvent",function(){se.eBV(vt);const ht=E.XpG().index,Ae=E.XpG();return se.Njj(Ae.cancelExternalIdEdit(ht))}),E.k0s(),E.bVm()}if(2&Ze){const vt=E.XpG(),$e=vt.$implicit,ht=vt.index;E.R7$(),E.Y8G("grantForm",$e)("index",ht)}}function ui(Ze,Nt){if(1&Ze){const vt=E.RV6();E.qex(0),E.j41(1,"app-funding-external-identifiers-view-only",165),E.bIt("edit",function(){se.eBV(vt);const ht=E.XpG().index,Ae=E.XpG();return se.Njj(Ae.grantsArrayDisplayState[ht]=!0)})("delete",function(){se.eBV(vt);const ht=E.XpG().index,Ae=E.XpG();return se.Njj(Ae.deleteGrant(ht))}),E.k0s(),E.bVm()}if(2&Ze){const vt=E.XpG().$implicit;E.R7$(),E.Y8G("grant",vt.value)}}function ti(Ze,Nt){if(1&Ze&&(E.j41(0,"div",163),E.DNE(1,Yn,2,2,"ng-container",83)(2,ui,2,1,"ng-container",83),E.k0s()),2&Ze){const vt=Nt.index,$e=E.XpG();E.R7$(),E.Y8G("ngIf",$e.grantsArrayDisplayState[vt]),E.R7$(),E.Y8G("ngIf",!$e.grantsArrayDisplayState[vt])}}function $t(Ze,Nt){1&Ze&&(E.qex(0),E.pXf(1,59),E.bVm())}function it(Ze,Nt){1&Ze&&(E.qex(0),E.pXf(1,60),E.bVm())}let mt=(()=>{class Ze{constructor(vt,$e,ht,Ae,It,Mt,on,Gt,hn,Cn){this.window=vt,this._platform=$e,this.dialogRef=ht,this.data=Ae,this._userService=It,this._recordCountryService=Mt,this._fundingsService=on,this._formBuilder=Gt,this._snackBar=hn,this._record=Cn,this.$destroy=new r.B,this.showTranslationTitle=!1,this.languageMap=O.Zf,this.currencyCodeMap=O.Rz,this.loadingFunding=!0,this.loadingCountryCodes=!0,this.fundingType="",this.fundingSubtype="",this.fundingProjectTitle="",this.fundingProjectLink="",this.description="",this.agencyName="",this.city="",this.region="",this.country="",this.countryForDisplay="",this.amount="",this.currencyCode="",this.grantsArrayDisplayState=[],this.disambiguatedFundingSourceId="",this.disambiguatedFundingSource="",this.translatedTitleContent="",this.translatedTitleLanguage="",this.fundingTypes=O.jO,this.fundingTitle=d.hE,this.fundingTypesLabel=O.H4,this.fundingRelationships=Object.keys(O.d),this.years=Array(110).fill(0).map((Sn,ni)=>ni+(new Date).getFullYear()-108).reverse(),this.yearsEndDate=Array(120).fill(0).map((Sn,ni)=>ni+(new Date).getFullYear()-108).reverse(),this.months=Array(12).fill(0).map((Sn,ni)=>ni+1),this.totalFundingAmountCurrency="Currency",this.totalFundingAmount="Total funding amount",this.ariaLabelStartDate="Start date",this.ariaLabelEndDate="End date",this.ariaLabelSaveChanges="Save funding changes",this.ariaLabelCancelChanges="Cancel changes and close Funding",this.ariaLabelClose="Close funding",this.ariaLabelDescription="Project description",this.ariaLabelAmount="Amount",this.ariaLabelFundingTitle="Funding",this.ngOrcidYear="Year",this.ngOrcidMonth="Month",this.ngOrcidFundingType="Select a funding type",this.ngOrcidSelectLanguage="Select a language",this.ngOrcidSelectACountryOrLocation="Select a country or location",this.ngOrcidDefaultVisibilityLabel="Control who can see this information by setting the visibility. Your default visibility is",this._platform.get().subscribe(Sn=>{this.platform=Sn,this.isMobile=Sn.columns4||Sn.columns8})}ngOnInit(){this.initialValues(),this.fundingForm=this._formBuilder.group({fundingType:new t.hs(this.fundingType,{validators:[t.k0.required]}),fundingSubtype:new t.hs(this.fundingSubtype,{validators:[t.k0.maxLength(v.G6)]}),fundingProjectTitle:new t.hs(this.fundingProjectTitle,{validators:[t.k0.required,t.k0.maxLength(v.Pu)]}),translatedTitleGroup:this._formBuilder.group({translatedTitleContent:new t.hs("",{val
3idators:[t.k0.maxLength(v.Pu)]}),translatedTitleLanguage:[""]},{validators:[M.J,t.k0.maxLength(v.Pu)]}),fundingProjectLink:new t.hs(this.fundingProjectLink,{validators:[t.k0.pattern(v.i$),t.k0.maxLength(v.Q9)]}),description:new t.hs(this.description,{validators:[t.k0.maxLength(v.Og)]}),amount:new t.hs(this.amount,{validators:Ze=>Ze.value?Ze.value.match(v.B5)||Ze.value.match(v.Ru)||Ze.value.match(v.xm)?null:{pattern:Ze.value}:null}),currencyCode:new t.hs(this.currencyCode,{}),startDateGroup:this._formBuilder.group({startDateMonth:[""],startDateYear:[""]},{validator:[(0,u.Wp)("startDate")]}),endDateGroup:this._formBuilder.group({endDateMonth:[""],endDateYear:[""]},{validator:(0,u.Wp)("endDate")}),agencyName:new t.hs({value:this.agencyName,disabled:this.selectedOrganizationFromDatabase},{validators:[t.k0.required,t.k0.maxLength(v.Pu)]}),city:new t.hs({value:this.city,disabled:this.selectedOrganizationFromDatabase},{validators:[t.k0.required,t.k0.maxLength(v.Pu)]}),region:new t.hs({value:this.region,disabled:this.selectedOrganizationFromDatabase},{validators:[t.k0.maxLength(v.Pu)]}),country:new t.hs({value:this.country,disabled:this.selectedOrganizationFromDatabase},{validators:[t.k0.required,t.k0.maxLength(v.Pu)]}),grants:new t.Bm([]),visibility:new t.hs(this.defaultVisibility,{validators:[t.k0.required]})},{validator:(0,u.jD)()}),this.grantsArray=this.fundingForm.controls.grants,this.funding&&this.initFormValues(),this._record.getPreferences().pipe((0,C.$)()).subscribe(vt=>{this.defaultVisibility=vt.default_visibility,this.fundingForm.patchValue({visibility:this.funding?.visibility?.visibility?this.funding?.visibility?.visibility:this.defaultVisibility})}),this.listenFormChanges(),this.getCountryCodes()}getCountryCodes(){this._recordCountryService.getCountryCodes().pipe((0,C.$)()).subscribe(vt=>{this.countryCodes=vt,this.loadingCountryCodes=!1,this.funding&&this.fundingForm.patchValue({country:this.countryCodes.find($e=>$e.value===this.funding.country.value).key})})}autoCompleteDisplayOrganization(vt){return vt.value}listenFormChanges(){this.filteredOptions=this.fundingForm.get("agencyName").valueChanges.pipe((0,b.M)(vt=>{"object"==typeof vt&&vt.disambiguatedAffiliationIdentifier&&(this.selectedOrganizationFromDatabase=vt,this.displayOrganizationHint=!0,this.fillForm(vt)),vt||(this.selectedOrganizationFromDatabase=void 0,this.displayOrganizationHint=!1,this.fundingForm.patchValue({city:"",region:"",country:""}))}),(0,D.n)(vt=>"string"!=typeof vt||this.selectedOrganizationFromDatabase?(0,_.of)([]):this._filter(vt||"").pipe((0,b.M)($e=>{this.displayOrganizationHint=!0})))),this.fundingForm.get("amount").valueChanges.subscribe(vt=>{vt&&(this.fundingForm.get("currencyCode").setValidators(t.k0.required),this.fundingForm.get("currencyCode").updateValueAndValidity({emitEvent:!0}),this.fundingForm.get("amount").updateValueAndValidity({emitEvent:!0}))})}initFormValues(){this.funding.endDate.year&&this.fundingForm.patchValue({endDateGroup:{endDateYear:Number(this.funding.endDate.year),endDateMonth:Number(this.funding.endDate.month)}}),this.funding.startDate.year&&this.fundingForm.patchValue({startDateGroup:{startDateYear:Number(this.funding.startDate.year),startDateMonth:Number(this.funding.startDate.month)}}),this.funding.visibility?.visibility&&this.fundingForm.patchValue({visibility:this.funding.visibility.visibility}),this.funding.fundingTitle?.translatedTitle&&this.fundingForm.patchValue({translatedTitleGroup:{translatedTitleContent:this.funding.fundingTitle?.translatedTitle.content,translatedTitleLanguage:this.funding.fundingTitle?.translatedTitle.languageCode}}),this.funding.externalIdentifiers.forEach(vt=>{this.addAnotherGrant(vt)})}initialValues(){this.funding?.putCode?(this.funding?this._fundingsService.getFundingDetails(this.funding.putCode.value).pipe((0,C.$)()).subscribe(vt=>{this.loadingFunding=!1,this.fundingForm.patchValue({description:vt.description?.value}),this.fundingForm.patchValue({amount:vt.amount?.value}),this.fundingForm.patchValue({currencyCode:vt.currencyCode?.value}),this.fundingForm.patchValue({fundingSubtype:vt.organizationDefinedFundingSubType?.subtype?.value})}):this.loadingFunding=!1,this.city=this.funding.city?.value,this.region=this.funding.regi
3on?.value,this.country=this.funding.country?.value,this.fundingType=this.funding.fundingType?.value,this.fundingSubtype=this.funding.organizationDefinedFundingSubType?.subtype?.value,this.fundingProjectTitle=this.funding.fundingTitle?.title.value,this.translatedTitleContent=this.funding.fundingTitle?.translatedTitle?.content,this.translatedTitleLanguage=this.funding.fundingTitle?.translatedTitle?.languageCode,this.fundingProjectLink=this.funding.url?.value,this.description=this.funding.description?.value,this.currencyCode=this.funding.currencyCode?.value,this.amount=this.funding.amount?.value,this.disambiguatedFundingSourceId=this.funding.disambiguatedFundingSourceId?.value,this.disambiguatedFundingSource=this.funding.disambiguationSource?.value,this.showTranslationTitle=!!this.funding.fundingTitle?.translatedTitle?.content,this.agencyName={value:this.funding.fundingName.value},this.disambiguatedFundingSourceId&&(this.selectedOrganizationFromDatabase={value:this.agencyName.value}),this.displayOrganizationHint=!0):this.loadingFunding=!1}formToBackendFunding(){const vt={visibility:{visibility:this.fundingForm.get("visibility").value?this.fundingForm.get("visibility").value:this.defaultVisibility},putCode:{value:this.options?.createACopy?null:this.funding?.putCode?.value},fundingTitle:{title:this.fundingForm.value.fundingProjectTitle,errors:[],translatedTitle:{content:this.fundingForm.get("translatedTitleGroup.translatedTitleContent").value,languageCode:this.fundingForm.get("translatedTitleGroup.translatedTitleLanguage").value,errors:[]}},description:{value:this.fundingForm.value.description},organizationDefinedFundingSubType:{subtype:this.fundingForm.value.fundingSubtype,alreadyIndexed:!1},fundingType:{value:this.fundingForm.value.fundingType},currencyCode:{value:this.fundingForm.value.currencyCode},amount:{value:this.fundingForm.value.amount},url:{value:this.fundingForm.value.fundingProjectLink},startDate:{day:"",month:this.fundingForm.get("startDateGroup.startDateMonth").value?this.addTrailingZero(this.fundingForm.get("startDateGroup.startDateMonth").value):"",year:this.fundingForm.get("startDateGroup.startDateYear").value?this.fundingForm.get("startDateGroup.startDateYear").value:""},endDate:{day:"",month:this.fundingForm.get("endDateGroup.endDateMonth").value?this.addTrailingZero(this.fundingForm.get("endDateGroup.endDateMonth").value):"",year:this.fundingForm.get("endDateGroup.endDateYear").value?this.fundingForm.get("endDateGroup.endDateYear").value:""},externalIdentifiers:this.fundingForm.value.grants.map($e=>({externalIdentifierId:$e.grantNumber,externalIdentifierType:O.MX.grant_number,url:$e.grantUrl,relationship:$e.fundingRelationship})),contributors:this.funding?.contributors,disambiguatedFundingSourceId:{value:this.disambiguatedFundingSourceId},disambiguationSource:{value:this.disambiguatedFundingSource},city:{value:this.fundingForm.get("city").value},region:{value:this.fundingForm.get("region").value},country:{value:this.countryCodes.find($e=>$e.key===this.fundingForm.get("country").value).value},source:this.options?.createACopy?null:this.funding?.source,sourceName:this.funding?.sourceName,dateSortString:this.funding?.dateSortString,assertionOriginClientId:this.funding?.assertionOriginClientId,assertionOriginName:this.funding?.assertionOriginName,assertionOriginOrcid:this.funding?.assertionOriginOrcid,countryForDisplay:this.funding?.countryForDisplay};return this.selectedOrganizationFromDatabase?(vt.fundingName={value:this.selectedOrganizationFromDatabase.value},vt.disambiguatedFundingSourceId={value:this.disambiguatedFundingSourceId||this.selectedOrganizationFromDatabase.sourceId},vt.disambiguationSource={value:this.disambiguatedFundingSource||this.selectedOrganizationFromDatabase.sourceType}):vt.fundingName={value:this.fundingForm.get("agencyName").value?.value?this.fundingForm.get("agencyName").value?.value:this.fundingForm.get("agencyName").value},vt}onSubmit(){}addAnotherGrant(vt){this.grantsArrayDisplayState.push(!vt),this.grantsArray.push(this._formBuilder.group({grantNumber:[vt?.externalIdentifierId?.value||"",[t.k0.maxLength(v.Yv)]],grantUrl:[vt?.url?.value||"",[t.k0.pattern(v.i$),t.k0.maxLength(v.Q9)]],fundingRelationship:[vt?.relationship?.value||O.d.self,[]]})),this.checkGrantsChanges(this.grantsArray.controls.length-1)}deleteGrant(vt){this.grantsArray.removeAt(vt),this.grantsArrayDisplayState.splice(vt,1)}saveEvent(){this.fundingForm.markAllAsTouched(),this.fundingForm.valid?(this.loadingFunding=!0,this._fundingsService.save(this.formToBackendFunding()).pipe((0,C.$)()).subscribe(()=>{this.closeEvent()})):this._snackBar.showValidationError()}fillForm(vt){this.fundingForm.patchValue({city:vt.city,region:vt.region,country:this.countryCodes.find($e=>$e.value===vt.country).key}),this.fundingForm.get("agencyName").disable(),this.disable(vt?.city,"city"),this.fundingForm.get("region").disable(),this.disable(vt?.country,"country"),this.disambiguatedFundingSourceId=vt.sourceId,this.disambiguatedFundingSource=vt.sourceType}clearForm(){this.fundingForm.patchValue({agencyName:"",city:"",region:"",country:""}),this.disambiguatedFundingSourceId="",this.disambiguatedFundingSource="",this.enable("agencyName"),this.enable("city"),this.enable("region"),this.enable("country"),this.fundingForm.get("city").markAsUntouched(),this.fundingForm.get("region").markAsUntouched(),this.fundingForm.get("country").markAsUntouched(),this.selectedOrganizationFromDatabase=void 0,this.listenFormChanges()}_filter(vt){return vt?this._fundingsService.getOrganization(vt).pipe((0,C.$)()):h.w}disable(vt,$e){vt&&this.fundingForm.get($e).disable()}enable(vt){this.fundingForm.get(vt).enable()}checkGrantsChanges(vt){const $e=this.grantsArray.controls[vt];$e.controls.grantNumber.valueChanges.subscribe(ht=>{ht?($e.controls.grantNumber.addValidators(t.k0.maxLength(v.Yv)),$e.controls.grantNumber.updateValueAndValidity({emitEvent:!1})):($e.controls.grantNumber.removeValidators(t.k0.maxLength(v.Yv)),$e.controls.grantNumber.updateValueAndValidity({emitEvent:!1}))}),$e.controls.grantUrl.valueChanges.subscribe(ht=>{ht?($e.controls.grantNumber.addValidators(t.k0.required),$e.controls.grantNumber.updateValueAndValidity({emitEvent:!1}),$e.controls.grantUrl.setValidators([t.k0.pattern(v.i$),t.k0.maxLength(v.Q9)]),$e.controls.grantUrl.updateValueAndValidity({emitEvent:!1})):($e.controls.grantNumber.removeValidators(t.k0.required),$e.controls.grantNumber.updateValueAndValidity(),$e.controls.grantUrl.clearValidators(),$e.controls.grantUrl.updateValueAndValidity({emitEvent:!1}))}),$e.controls.fundingRelationship.valueChanges.subscribe(ht=>{ht||$e.controls.fundingRelationship.clearValidators(),$e.controls.fundingRelationship.updateV
3alueAndValidity({emitEvent:!1})})}closeEvent(){this.dialogRef.close()}toFundingDetails(){this.window.document.getElementById("funding-details").scrollIntoView()}toFundingAgency(){this.window.document.getElementById("funding-agency").scrollIntoView()}toVisibility(){this.window.document.getElementById("visibility").scrollIntoView()}toFundingIdentifiers(){this.window.document.getElementById("funding-identifiers").scrollIntoView()}cancelExternalIdEdit(vt){!this.grantsArray.controls[vt]||this.grantsArray.controls[vt].value.grantUrl||this.grantsArray.controls[vt].value.grantNumber?this.grantsArrayDisplayState[vt]=!1:this.deleteGrant(vt)}ngOnDestroy(){this.$destroy.next(!0),this.$destroy.unsubscribe()}addTrailingZero(vt){return vt&&Number(vt)<10?"0"+vt:vt}static{this.\u0275fac=function($e){return new($e||Ze)(E.rXU(f.jf),E.rXU(Y.Z),E.rXU(a.k),E.rXU(a.e),E.rXU(ne.DL),E.rXU(U.b),E.rXU(T.j),E.rXU(t.ze),E.rXU(I.z),E.rXU(w.n))}}static{this.\u0275cmp=E.VBU({type:Ze,selectors:[["app-modal-funding"]],inputs:{type:"type",funding:"funding",options:"options"},standalone:!1,decls:262,vars:152,consts:()=>{let vt,$e,ht,Ae,It,Mt,on,Gt,hn,Cn,Sn,ni,wi,vi,Ai,Hi,tr,Yi,Qi,xt,Me,_e,ke,_t,wt,Je,Tt,le,Ve,Te,Ht,Jt,ot,yt,Ut,Xt,gn,kn,bn,pi,Mi,oi,Fi,Kn,Bn,Pi,Ii,zn,Ki,or,er,nr,Ci,sr,ki,gi,Zi,mr,Or;return vt=" Funding ",$e=" Funding details ",ht=" Funding agency ",Ae=" Funding identifiers ",It=" Visibility ",Mt=" Save changes ",on=" Cancel ",Gt=" Funding details ",hn="Funding type",Cn="Funding subtype",Sn="Title of funded project",ni="Funding project translated title",wi="Language of this title",vi="Project link",Ai=" A link to the project supported by this funding. Links should be in full URL format e.g. http://www.website.com/page.html ",Hi="Description",tr="Total funding amount",Yi="Start date",Qi="Year",xt="Month",Me="End date",_e="Year",ke="Month",_t="Funding agency",wt="Funding agency name",Je="City",Tt="Region, State or County",le="Country/Location",Ve=" Funding identifiers ",Te="Visibility",Ht="Required information",Jt=" Select a funding type ",ot=" Must be less than 255 characters ",yt=" Please enter a title ",Ut=" Must be less than 1000 characters ",Xt=" Show translated title ",gn=" Hide translated title ",kn=" Please enter a translated title ",bn=" Must be less than 1000 characters ",pi=" Please select a language ",Mi=" Invalid URL ",oi=" Must be less than 2000 characters ",Fi=" Must be less than 5000 characters ",Kn=" Amount should be a numeric value with format 1,234,567.89 ",Bn=" Please select a currency ",Pi=" Invalid date ",Ii=" Invalid date ",zn=" End date must come after start date ",Ki="Required information",or="Identify as:",er=" Unidentified organization ",nr=" Please enter an agency name ",Ci=" Must be less than 1000 characters ",sr=" Please enter a city ",ki=" Must be less than 1000 characters ",gi=" Must be less than 1000 characters ",Zi=" Please enter a country or location ",mr=" Add another identifier ",Or=" Add an identifier ",[["auto","matAutocomplete"],["countrySelect",""],vt,$e,ht,Ae,It,Mt,on,Gt,hn,Cn,Sn,ni,wi,vi,Ai,Hi,tr,Yi,Qi,xt,Me,_e,ke,_t,wt,Je,Tt,le,Ve,Te,Ht,Jt,ot,yt,Ut,Xt,gn,kn,bn,pi,Mi,oi,Fi,Kn,Bn,Pi,Ii,zn,Ki,or,er,nr,Ci,sr,ki,gi,Zi,mr,Or,[3,"loading"],[3,"closeLabel"],["id","side-bar-title"],[1,"side-bar",3,"click"],["id","side-bar-url-1"],["id","side-bar-url-2"],["id","side-bar-url-3"],["mat-raised-button","","color","primary","id","save-names-button",3,"click"],["mat-stroked-button","","color","primary","id","cancel-names-button",3,"click"],[3,"ngSubmit","formGroup"],["id","funding-details"],["id","funding-detail",1,"title","top-title",3,"ngClass"],[1,"row"],[1,"orc-font-body"],["class","required",4,"ngIf"],["class","required-information mat-caption",4,"ngIf"],["id","funding-type",1,"mat-caption","title",3,"ngClass"],[1,"required"],[1,"input-container"],["appearance","outline",1,"mat-form-field-min"],["aria-labelledby","funding-type","formControlName","fundingType",3,"placeholder"],[3,"value",4,"ngFor","ngForOf"],[4,"ngIf"],["for","funding-subtype-input","id","funding-subtype",1,"mat-caption"],["aria-labelledby","funding-subtype","id","funding-subtype-input","matInput","","formControlName","fundingSubtype"],["for","funding-project-title-input","id","funding-funded-project",1,"mat-caption",3,"ngClass"],["aria-labelledby","funding-funded-project","id","funding-project-title-input","matInput","","formControlName","fundingProjectTitle"],["class","mat-caption",4,"ngIf"],[1,"col","add-more","translate-title",3,"click"],["class","large-material-icon","aria-hidden","true",4,"ngIf"],["id","",1,"mat-subtitle-2"],["formGroupName","translatedTitleGroup",3,"hidden"],["for","funding-project-translated-title-input","id","funding-funded-project-translated-input",1,"mat-caption",3,"ngClass"],["x",""],["aria-labelledby","funding-funded-project-translated-input","id","funding-project-translated-title-input","matInput","","formControlName","translatedTitleContent"],[1,"row","translate-title"],["for","language-title-input","id","language-title",1,"mat-caption",3,"ngClass"],[1,"input-container","language"],["aria-labelledby","language-title","id","language-title-input","formControlName","translatedTitleLanguage",3,"placeholder"],["for","funding-project-link-input","id","funding-project-link",1,"mat-caption",3,"ngClass"],[1,"input-container",3,"ngClass"],["appearance","outline",1,"mat-form-field-min","three-line-hint"],["aria-labelledby","funding-project-link","id","funding-project-link-input","matInput","","formControlName","fundingProjectLink","placeholder",""],[1,"mat-caption"],[1,"row","description"],["id","funding-description",1,"mat-caption"],["appearance","outline","aria-labelledby","funding-description",1,"mat-form-field-min","input-container"],["matInput","","formControlName","description","cdkTextareaAutosize","","cdkAutosizeMinRows","5","cdkAutosizeMaxRows","7"],["for","funding-amount-input","id","funding-total-funding-amount",1,"mat-caption"],[1,"date-group","form-field-wrapper","input-container"],[1,"col","l4","date-input"],["id","funding-amount-input","appearance","outline",1,"mat-form-field-min","no-hint","input-container","no-hint"],["formControlName","currencyCode",3,"placeholder","aria-label"],[1,"col","date-input","l4"],["appearance","outline",1,"mat-form-field-min","no-hint"],["id","amount-input","matInput","","formControlName","amount",3,"placeholder"],["class","mat-caption error-out-input-context",4,"ngIf"],["formGroupName","startDateGroup",1,"input-container","form-field-wrapper"],[1,"mat-caption",3,"ngClass"],[1,"row","date-group","form-field-wrapper"],["id","start-
3date-year-input","appearance","outline",1,"mat-form-field-min","no-hint"],["formControlName","startDateYear",3,"aria-label","placeholder"],[3,"value"],["id","start-date-month-input","appearance","outline",1,"mat-form-field-min","no-hint"],["formControlName","startDateMonth",3,"aria-label","placeholder"],["formGroupName","endDateGroup",1,"row","form-field-wrapper"],[1,"input-container","date-group","form-field-wrapper"],["id","end-date-year-input","appearance","outline",1,"mat-form-field-min","no-hint"],["formControlName","endDateYear",3,"aria-label","placeholder"],["id","end-date-month-input","appearance","outline",1,"mat-form-field-min","no-hint"],["formControlName","endDateMonth",3,"aria-label","placeholder"],["id","funding-agency"],[1,"title",3,"ngClass"],["for","funding-agency-name-input",1,"mat-caption",3,"ngClass"],["appearance","outline",1,"mat-form-field-min",3,"ngClass"],["aria-labelledby","funding-agency","id","funding-agency-name-input","matInput","","formControlName","agencyName",3,"matAutocomplete"],["autoActiveFirstOption","",3,"displayWith"],["class","clear","matSuffix","","mat-icon-button","","aria-label","Clear",3,"click",4,"ngIf"],["id","funding-city","for","city-input",1,"mat-caption",3,"ngClass"],["aria-labelledby","funding-city","id","city-input","matInput","","formControlName","city"],["for","region-input","id","funding-region-state",1,"mat-caption"],["aria-labelledby","funding-region-state","id","region-input","matInput","","formControlName","region"],["for","country-input","id","funding-country-location",1,"mat-caption",3,"ngClass"],["id","country-input","appearance","outline",1,"mat-form-field-min",3,"ngClass"],["aria-labelledby","funding-countr-location","formControlName","country",3,"placeholder"],["id","funding-ids"],["id","funding-identifiers",1,"title",3,"ngClass"],["formArrayName","grants"],["class","externalIdBox",4,"ngFor","ngForOf"],["id","add-link",1,"col","add-more","no-gutters",3,"click"],["aria-hidden","true",1,"large-material-icon"],[1,"mat-subtitle-2"],["id","funding-visibility"],["id","visibility",1,"title",3,"ngClass"],[1,"orc-font-body-small"],[1,"col","no-wrap","actions-wrapper","no-gutters"],["formControlName","visibility",3,"itemTitle"],[1,"required-information","mat-caption"],[1,"mat-caption","error-out-input-context"],[1,"row","orc-font-body-small","title"],[1,"row","orc-font-small-print"],["matSuffix","","mat-icon-button","","aria-label","Clear",1,"clear",3,"click"],[1,"externalIdBox"],[3,"cancelEvent","grantForm","index"],[3,"edit","delete","grant"]]},template:function($e,ht){if(1&$e){const Ae=E.RV6();E.j41(0,"app-modal",61)(1,"app-modal-header",62),E.qex(2),E.pXf(3,2),E.bVm(),E.k0s(),E.j41(4,"app-modal-side-bar"),E.qex(5,63),E.j41(6,"a",64),E.bIt("click",function(){return se.eBV(Ae),se.Njj(ht.toFundingDetails())}),E.pXf(7,3),E.k0s(),E.bVm(),E.qex(8,65),E.j41(9,"a",64),E.bIt("click",function(){return se.eBV(Ae),se.Njj(ht.toFundingAgency())}),E.pXf(10,4),E.k0s(),E.bVm(),E.qex(11,66),E.j41(12,"a",64),E.bIt("click",function(){return se.eBV(Ae),se.Njj(ht.toFundingIdentifiers())}),E.pXf(13,5),E.k0s(),E.bVm(),E.qex(14,67),E.j41(15,"a",64),E.bIt("click",function(){return se.eBV(Ae),se.Njj(ht.toVisibility())}),E.pXf(16,6),E.k0s(),E.bVm(),E.k0s(),E.j41(17,"app-modal-footer")(18,"button",68),E.bIt("click",function(){return se.eBV(Ae),se.Njj(ht.saveEvent())}),E.pXf(19,7),E.k0s(),E.j41(20,"button",69),E.bIt("click",function(){return se.eBV(Ae),se.Njj(ht.closeEvent())}),E.pXf(21,8),E.k0s()(),E.j41(22,"form",70),E.bIt("ngSubmit",function(){return se.eBV(Ae),se.Njj(ht.onSubmit())}),E.j41(23,"section",71)(24,"div",72)(25,"div",73)(26,"h2",74),E.pXf(27,9),E.k0s(),E.DNE(28,ie,2,0,"span",75)(29,Ce,5,0,"p",76),E.k0s()(),E.nrm(30,"hr"),E.j41(31,"div")(32,"div",73)(33,"label",77)(34,"strong"),E.pXf(35,10),E.k0s(),E.j41(36,"span",78),E.EFF(37,"*"),E.k0s()()(),E.j41(38,"div",79)(39,"mat-form-field",80)(40,"mat-select",81),E.DNE(41,Ue,3,4,"mat-option",82),E.nI1(42,"keyvalue"),E.k0s(),E.DNE(43,nt,2,0,"mat-error",83),E.k0s()()(),E.j41(44,"div",73)(45,"label",84)(46,"strong"),E.pXf(47,11),E.k0s()()(),E.j41(48,"div",79)(49,"mat-form-field",80),E.nrm(50,"input",85),E.DNE(51,we,2,0,"mat-error",83),E.k0s()(),E.j41(52,"div")(53,"div",73)(54,"label",86)(55,"strong"),E.pXf(56,12),E.k0s(),E.j41(57,"span",78),E.EFF(58,"*"),E.k0s()()(),E.j41(59,"div",79)(60,"mat-form-field",80),E.nrm(61,"input",87),E.DNE(62,at,2,0,"mat-error",88)(63,Xe,2,0,"mat-error",83),E.k0s()(),E.j41(64,"div",73)(65,"a",89),E.bIt("click",function(){return se.eBV(Ae),se.Njj(ht.showTranslationTitle=!ht.showTranslationTitle)}),E.DNE(66,et,2,0,"mat-icon",90)(67,xe,2,0,"mat-icon",90),E.j41(68,"span",91),E.DNE(69,De,2,0,"ng-container",83)(70,ue,2,0,"ng-container",83),E.k0s()()()(),E.j41(71,"div",92)(72,"div")(73,"div",73)(74,"label",93)(75,"strong",94),E.pXf(76,13),E.k0s()()(),E.j41(77,"div",79)(78,"mat-form-field",80),E.nrm(79,"input",95),E.k0s(),E.DNE(80,z,2,0,"mat-error",88)(81,de,2,0,"mat-error",88),E.k0s()(),E.j41(82,"div")(83,"div",96)(84,"label",97)(85,"strong"),E.pXf(86,14),E.k0s()()(),E.j41(87,"div",98)(88,"mat-form-field",80)(89,"mat-select",99),E.DNE(90,ae,2,2,"mat-option",82),E.nI1(91,"keyvalue"),E.k0s()(),E.DNE(92,X,2,0,"mat-error",88),E.k0s()()(),E.j41(93,"div")(94,"div",73)(95,"label",100)(96,"strong"),E.pXf(97,15),E.k0s()()(),E.j41(98,"div",101)(99,"mat-form-field",102),E.nrm(100,"input",103),E.j41(101,"mat-hint",104),E.pXf(102,16),E.k0s(),E.DNE(103,$,2,0,"mat-error",83)(104,K,2,0,"mat-error",83),E.k0s()()(),E.j41(105,"div",105)(106,"div",73)(107,"label",106)(108,"strong"),E.pXf(109,17),E.k0s()()(),E.j41(110,"mat-form-field",107)(111,"textarea",108),E.EFF(112," "),E.k0s(),E.DNE(113,Be,2,0,"mat-error",83),E.k0s()(),E.j41(114,"div",73)(115,"div",73)(116,"label",109)(117,"strong"),E.pXf(118,18),E.k0s()()(),E.j41(119,"div",110)(120,"div",111)(121,"mat-form-field",112)(122,"mat-select",113),E.DNE(123,Ye,2,2,"mat-option",82),E.nI1(124,"keyvalue"),E.k0s()()(),E.j41(125,"div",114)(126,"mat-form-field",115),E.nrm(127,"input",116),E.k0s()(),E.DNE(128,Se,2,0,"mat-error",117),E.j41(129,"div",73),E.DNE(130,pt,2,0,"mat-error",117),E.k0s()()(),E.j41(131,"div",118)(132,"div",73)(133,"label",119)(134,"strong"),E.pXf(135,
319),E.k0s()()(),E.j41(136,"div",120)(137,"div",73)(138,"div",111)(139,"mat-form-field",121)(140,"mat-select",122)(141,"mat-option",123),E.pXf(142,20),E.k0s(),E.DNE(143,Ge,2,2,"mat-option",82),E.k0s()()(),E.j41(144,"div",111)(145,"mat-form-field",124)(146,"mat-select",125)(147,"mat-option",123),E.pXf(148,21),E.k0s(),E.DNE(149,bt,3,4,"mat-option",82),E.k0s()()()(),E.j41(150,"div",73),E.DNE(151,me,2,0,"mat-error",117),E.k0s()()(),E.j41(152,"div",126)(153,"div",73)(154,"label",119)(155,"strong"),E.pXf(156,22),E.k0s()()(),E.j41(157,"div",127)(158,"div",73)(159,"div",111)(160,"mat-form-field",128)(161,"mat-select",129)(162,"mat-option",123),E.pXf(163,23),E.k0s(),E.DNE(164,J,2,2,"mat-option",82),E.k0s()()(),E.j41(165,"div",111)(166,"mat-form-field",130)(167,"mat-select",131)(168,"mat-option",123),E.pXf(169,24),E.k0s(),E.DNE(170,R,3,4,"mat-option",82),E.k0s()()()(),E.j41(171,"div",73),E.DNE(172,x,2,0,"mat-error",117)(173,ce,2,0,"mat-error",117),E.k0s()()()(),E.j41(174,"section",132)(175,"div",133)(176,"div",73)(177,"h2",74),E.pXf(178,25),E.k0s(),E.DNE(179,Pe,2,0,"span",75)(180,pe,5,0,"p",76),E.k0s()(),E.nrm(181,"hr"),E.j41(182,"div",73)(183,"label",134)(184,"strong"),E.pXf(185,26),E.k0s(),E.j41(186,"span",78),E.EFF(187,"*"),E.k0s()()(),E.j41(188,"div",79)(189,"mat-form-field",135),E.nrm(190,"input",136),E.j41(191,"mat-autocomplete",137,0),E.DNE(193,st,5,5,"mat-option",82),E.nI1(194,"async"),E.k0s(),E.DNE(195,Qe,4,1,"mat-hint",83)(196,At,2,0,"mat-hint",83)(197,Ne,3,0,"button",138)(198,ze,2,0,"mat-error",88)(199,Ke,2,0,"mat-error",83),E.k0s()(),E.j41(200,"div",73)(201,"label",139)(202,"strong"),E.pXf(203,27),E.k0s(),E.j41(204,"span",78),E.EFF(205,"*"),E.k0s()()(),E.j41(206,"div",79)(207,"mat-form-field",80),E.nrm(208,"input",140),E.DNE(209,Ct,2,0,"mat-error",88)(210,Wt,2,0,"mat-error",83),E.k0s()(),E.j41(211,"div",73)(212,"label",141)(213,"strong"),E.pXf(214,28),E.k0s()()(),E.j41(215,"div",79)(216,"mat-form-field",80),E.nrm(217,"input",142),E.DNE(218,ln,2,0,"mat-error",83),E.k0s()(),E.j41(219,"div",73)(220,"label",143)(221,"strong"),E.pXf(222,29),E.k0s(),E.j41(223,"span",78),E.EFF(224,"*"),E.k0s()()(),E.j41(225,"div",79)(226,"mat-form-field",144)(227,"mat-select",145,1),E.DNE(229,Rn,2,2,"mat-option",82),E.nI1(230,"sortBy"),E.k0s(),E.DNE(231,Dn,2,0,"mat-error",83),E.k0s()()(),E.j41(232,"section",146)(233,"div",147)(234,"div")(235,"h2",74),E.pXf(236,30),E.k0s(),E.DNE(237,Gn,2,0,"span",75),E.k0s()(),E.nrm(238,"hr"),E.j41(239,"div",148),E.DNE(240,ti,3,2,"div",149),E.j41(241,"div",73)(242,"a",150),E.bIt("click",function(){return se.eBV(Ae),se.Njj(ht.addAnotherGrant())}),E.j41(243,"mat-icon",151),E.EFF(244,"add_circle_outline"),E.k0s(),E.j41(245,"span",152),E.DNE(246,$t,2,0,"ng-container",83)(247,it,2,0,"ng-container",83),E.k0s()()()()(),E.j41(248,"section",153)(249,"div",154)(250,"h2",74),E.pXf(251,31),E.k0s()(),E.nrm(252,"hr"),E.j41(253,"p",155),E.EFF(254),E.j41(255,"strong"),E.EFF(256),E.nI1(257,"visibilityStringLabel"),E.k0s(),E.EFF(258,". "),E.k0s(),E.j41(259,"div",73)(260,"div",156),E.nrm(261,"app-visibility-selector",157),E.k0s()()()()()}if(2&$e){let Ae,It,Mt,on,Gt,hn,Cn,Sn,ni,wi,vi;const Ai=E.sdS(192);E.Y8G("loading",ht.loadingFunding),E.R7$(),E.Y8G("closeLabel",ht.ariaLabelCancelChanges),E.R7$(17),E.BMQ("aria-label",ht.ariaLabelSaveChanges),E.R7$(2),E.BMQ("aria-label",ht.ariaLabelClose),E.R7$(2),E.Y8G("formGroup",ht.fundingForm),E.R7$(2),E.Y8G("ngClass",E.l_i(114,Z,!ht.platform.columns12,ht.platform.columns12)),E.R7$(4),E.Y8G("ngIf",!ht.platform.columns12),E.R7$(),E.Y8G("ngIf",ht.platform.columns12),E.R7$(4),E.Y8G("ngClass",E.eq3(117,N,ht.fundingForm.get("fundingType").hasError("required")&&ht.fundingForm.get("fundingType").touched)),E.R7$(7),E.Y8G("placeholder",E.mNQ(ht.ngOrcidFundingType)),E.R7$(),E.Y8G("ngForOf",E.bMT(42,100,ht.fundingTypes)),E.R7$(2),E.Y8G("ngIf",ht.fundingForm.get("fundingType").hasError("required")),E.R7$(8),E.Y8G("ngIf",null==(Ae=ht.fundingForm.get("fundingSubtype").errors)?null:Ae.maxlength),E.R7$(3),E.Y8G("ngClass",E.eq3(119,N,ht.fundingForm.get("fundingProjectTitle").hasError("required")&&(ht.fundingForm.get("fundingProjectTitle").touched||ht.fundingForm.get("fundingProjectTitle").dirty))),E.R7$(8),E.Y8G("ngIf",ht.fundingForm.hasError("required","fundingProjectTitle")),E.R7$(),E.Y8G("ngIf",null==(It=ht.fundingForm.get("fundingProjectTitle").errors)?null:It.maxlength),E.R7$(3),E.Y8G("ngIf",!ht.showTranslationTitle),E.R7$(),E.Y8G("ngIf",ht.showTranslationTitle),E.R7$(2),E.Y8G("ngIf",!ht.showTranslationTitle),E.R7$(),E.Y8G("ngIf",ht.showTranslationTitle),E.R7$(),E.Y8G("hidden",!ht.showTranslationTitle),E.R7$(3),E.Y8G("ngClass",E.eq3(121,N,ht.fundingForm.hasError("invalidTranslatedTitleContent","translatedTitleGroup"))),E.R7$(6),E.Y8G("ngIf",ht.fundingForm.hasError("invalidTranslatedTitleContent","translatedTitleGroup")),E.R7$(),E.Y8G("ngIf",null==(Mt=ht.fundingForm.get("translatedTitleGroup.translatedTitleContent").errors)?null:Mt.maxlength),E.R7$(3),E.Y8G("ngClass",E.eq3(123,N,ht.fundingForm.hasError("invalidTranslatedTitleLanguage","translatedTitleGroup"))),E.R7$(5),E.Y8G("placeholder",E.mNQ(ht.ngOrcidSelectLanguage)),E.R7$(),E.Y8G("ngForOf",E.bMT(91,102,ht.languageMap)),E.R7$(2),E.Y8G("ngIf",ht.fundingForm.hasError("invalidTranslatedTitleLanguage","translatedTitleGroup")),E.R7$(3),E.Y8G("ngClass",E.eq3(125,N,ht.fundingForm.get("fundingProjectLink").hasError("pattern")&&ht.fundingForm.get("fundingProjectLink").touched)),E.R7$(3),E.Y8G("ngClass",E.eq3(127,oe,ht.isMobile)),E.R7$(5),E.Y8G("ngIf",ht.fundingForm.get("fundingProjectLink").hasError("pattern")),E.R7$(),E.Y8G("ngIf",null==(on=ht.fundingForm.get("fundingProjectLink").errors)?null:on.maxlength),E.R7$(7),E.BMQ("aria-label",ht.ariaLabelDescription),E.R7$(2),E.Y8G("ngIf",null==(Gt=ht.fundingForm.get("description").errors)?null:Gt.maxlength),E.R7$(9),E.Y8G("placeholder",ht.totalFundingAmountCurrency)("aria-label",ht.totalFundingAmountCurrency),E.R7$(),E.Y8G("ngForOf",E.bMT(124,104,ht.currencyCodeMap)),E.R7$(4),E.Y8G("placeholder",ht.ariaLabelAmount),E.BMQ("aria-label",ht.totalFundingAmount),E.R7$(),E.Y8G("ngIf",ht.fundingForm.get("amount").hasError("pattern")&&ht.fundingForm.get("amount").touched),E.R7$(2),E.Y8G("ngIf",null==(hn=ht.fundingForm.get("currencyCode").errors)?null:hn.required),E.R7$(3),E.Y8G("ngClass",E.eq3(129,N,ht.fundingForm.hasError("date","startDateGroup"))),E.R7$(7),E.Y8G("aria-label",E.mNQ(ht.ariaLabelStartDate+" "+ht.ngOrcidYear))("placeholder",E.mNQ(ht.ngOrcidYear)),E.R7$(3),E.Y8G("ngForOf",ht.years),E.R7$(3),E.Y8G("aria-label",E.mNQ(ht.ariaLabelStartDate+" "+ht.ngOrcidMonth))("placeholder",E.mNQ(ht.ngOrcidMonth)),E.R7$(3),E.Y8G("ngForOf",ht.months),E.R7$(2),E.Y8G("ngIf",null==(Cn=ht.fundingForm.get("startDateGroup").errors)?null:Cn.date),E.R7$(3),E.Y8G("ngClass",E.eq3(131,N,ht.fundingForm.hasError("date","endDateGroup"))),E.R7$(7),E.Y8G("aria-label",E.mNQ(ht.ariaLabelEndDate+" "+ht.ngOrcidYear))("placeholder",E.mNQ(ht.ngOrcidYear)),E.R7$(3),E.Y8G("ngForOf",ht.yearsEndDate),E.R7$(3),E.Y8G("aria-label",E.mNQ(ht.ariaLabelEndDate+" "+ht.ngOrcidMonth))("placeholder",E.mNQ(ht.ngOrcidMonth)),E.R7$(3),E.Y8G("ngForOf",ht.months),E.R7$(2),E.Y8G("ngIf",null==(Sn=ht.fundingForm.get("endDateGroup").errors)?null:Sn.date),E.R7$(),E.Y8G("ngIf",null==ht.fundingForm.errors?null:ht.fundingForm.errors.invalidEndDate),E.R7$(2),E.Y8G("ngClass",E.l_i(133,Z,!ht.platform.columns12,ht.platform.columns12)),E.R7$(4),E.Y8G("ngIf",!ht.platform.columns12),E.R7$(),E.Y8G("ngIf",ht.platform.columns12),E.R7$(3),E.Y8G("ngClass",E.eq3(136,N,ht.fundingForm.get("agencyName").hasError("required")&&(ht.fundingForm.get("agencyName").touched||ht.fundingForm.get("agencyName").dirty))),E.R7$(6),E.Y8G("ngClass",E.eq3(138,H,(null==ht.selectedOrganizationFromDatabase?null:ht.selectedOrganizationFromDatabase.value.length)>50)),E.R7$(),E.Y8G("matAutocomplete",Ai),E.R7$(),E.Y8G("displayWith",ht.autoCompleteDisplayOrganization),E.R7$(2),E.Y8G("ngForOf",E.bMT(194,106,ht.filteredOptions)),E.R7$(2),E.Y8G("ngIf",ht.selectedOrganizationFromDatabase&&ht.displayOrganizationHint),E.R7$(),E.Y8G("ngIf",!ht.selectedOrganizationFromDatabase&&ht.fundingForm.get("agencyName").value&&ht.displayOrganizationHint),E.R7$(),E.Y8G("ngIf",ht.fundingForm.get("agencyName").value),E.R7$(),E.Y8G("ngIf",ht.fundingForm.hasError("required","agencyName")),E.R7$(),E.Y8G("ngIf",null==(ni=ht.fundingForm.get("agencyName").errors)?null:ni.maxlength),E.R7$(2),E.Y8G("ngClass",E.eq3(140,N,ht.fundingForm.get("city").hasError("required")&&(ht.fundingForm.get("city").touched||ht.fundingForm.get("city").dirty))),E.R7$(8),E.Y8G("ngIf",ht.fundingForm.get("city").hasError("required")&&ht.fundingForm.get("city").touched),E.R7$(),E.Y8G("ngIf",null==(wi=ht.fundingForm.get("city").errors)?null:wi.maxlength),E.R7$(8),E.Y8G("ngIf",null==(vi=ht.fundingForm.get("region").errors)?null:vi.maxlength),E.R7$(2),E.Y8G("ngClass",E.eq3(142,N,ht.fundingForm.get("country").hasError("required")&&ht.fundingForm.get("country").touched)),E.R7$(6),E.Y8G("ngClass",E.eq3(144,H,ht.isMobile)),E.R7$(),E.Y8G("placeholder",E.mNQ(ht.ngOrcidSelectACountryOrLocation)),E.R7$(2),E.Y8G("ngForOf",E.brH(230,108,ht.countryCodes,"asc","key")),E.R7$(2),E.Y8G("ngIf",ht.fundingForm.get("country").hasError("required")&&ht.fundingForm.get("country").touched),E.R7$(2),E.Y8G("ngClass",E.l_i(146,Z,!ht.platform.columns12,ht.platform.columns12)),E.R7$(4),E.Y8G("ngIf",!ht.platform.columns12),E.R7$(3),E.Y8G("ngForOf",ht.grantsArray.controls),E.R7$(6),E.Y8G("ngIf",ht.grantsArray.length),E.R7$(),E.Y8G("ngIf",!ht.grantsArray.length),E.R7$(2),E.Y8G("ngClass",E.l_i(149,Z,!ht.platform.columns12,ht.platform.columns12)),E.R7$(5),E.SpI(" ",ht.ngOrcidDefaultVisibilityLabel," "),E.R7$(2),E.JRh(E.bMT(257,112,ht.defaultVisibility)),E.R7$(5),E.Y8G("itemTitle",ht.ariaLabelFundingTitle)}},styles:["input[_ngcontent-%COMP%]{border:solid 1px #e3e3e3}[_ngcontent-%COMP%]::placeholder{color:#707070}[_ngcontent-%COMP%]:-ms-input-placeholder{color:#707070}.error[_ngcontent-%COMP%], .required[_ngcontent-%COMP%]{color:#d32f2f}input.mat-mdc-input-element[_ngcontent-%COMP%]{border:transparent;font-size:16px!important}textarea.mat-mdc-input-element[_ngcontent-%COMP%]{font-size:16px!important}.externalIdBox[_ngcontent-%COMP%]{border-bottom:dashed #eeeeee 1px}",".hide[_ngcontent-%COMP%]{display:none}label.mat-caption[_ngcontent-%COMP%]{margin-bottom:8px}mat-form-field[_ngcontent-%COMP%]{width:100%}[_nghost-%COMP%]{width:100%}hr[_ngcontent-%COMP%]{height:2px;border:0;margin:0 0 20px}.title[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:6px 0}.mat-mdc-form-field[_ngcontent-%COMP%]{width:100%}.mat-mdc-option[_ngcontent-%COMP%]{height:64px;line-height:32px}.side-bar[_ngcontent-%COMP%]{text-decoration:underline}mat-radio-button[_ngcontent-%COMP%]{margin-top:16px;padding-left:2px}.date-container[_ngcontent-%COMP%]{display:flex;flex-direction:row;flex-wrap:nowrap}.date-container[_ngcontent-%COMP%] mat-form-field[_ngcontent-%COMP%]{width:120px;margin-left:4px}.no-margin[_ngcontent-%COMP%]{margin:0}.add-more[_ngcontent-%COMP%]{margin-bottom:27px;padding-inline-start:0}.add-more[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{margin:0}.add-more[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{margin:auto;padding-inline-start:6px}.funding[_ngcontent-%COMP%]{margin-top:26px}.required-information[_ngcontent-%COMP%]{margin-left:auto!important;display:flex;align-items:center}.required-information[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{margin-right:3px!important}mat-radio-group[_ngcontent-%COMP%]{display:flex;flex-direction:column}[_nghost-%COMP%] .date-group[_ngcontent-%COMP%] .date-input[_ngcontent-%COMP%]{padding-left:0}.project-link-mobile[_ngcontent-%COMP%]{padding-bottom:1.475em}.description[_ngcontent-%COMP%]{margin-top:26px!important}.delete-grant[_ngcontent-%COMP%]{align-content:end;justify-content:flex-end}.input-container[_ngcontent-%COMP%]{max-width:402px}.externalIdBox[_ngcontent-%COMP%]{padding-bottom:16px;margin-bottom:16px}.form-field-wrapper[_ngcontent-%COMP%]{padding-bottom:16px}.language[_ngcontent-%COMP%]{padding-bottom:1.475em}.language[_ngcontent-%COMP%] mat-error[_ngcontent-%COMP%]{padding:0 1em;margin-top:.2em}.mat-mdc-option[_ngcontent-%COMP%]{min-height:64px;line-height:32px;height:auto;margin-bottom:8px;white-space:normal;line-height:1.4}.mat-mdc-option[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{display:flex;width:100%;font-weight:500}"]})}}return Ze})()},53349:function(qe){qe.exports=function(ee){var o={};function a(t){if(o[t])return o[t].exports;var u=o[t]={i:t,l:!1,exports:{}};return ee[t].call(u.exports,u,u.exports,a),u.l=!0,u.exports}return a.m=ee,a.c=o,a.d=function(t,u,M){a.o(t,u)||Object.defineProperty(t,u,{enumerable:!0,get:M})},a.r=function(t){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}
3),Object.defineProperty(t,"__esModule",{value:!0})},a.t=function(t,u){if(1&u&&(t=a(t)),8&u||4&u&&"object"==typeof t&&t&&t.__esModule)return t;var M=Object.create(null);if(a.r(M),Object.defineProperty(M,"default",{enumerable:!0,value:t}),2&u&&"string"!=typeof t)for(var v in t)a.d(M,v,function(r){return t[r]}.bind(null,v));return M},a.n=function(t){var u=t&&t.__esModule?function(){return t.default}:function(){return t};return a.d(u,"a",u),u},a.o=function(t,u){return Object.prototype.hasOwnProperty.call(t,u)},a.p="",a(a.s=90)}({17:function(ee,o,a){"use strict";o.__esModule=!0,o.default=void 0;var t=a(18),u=function(){function M(){}return M.getFirstMatch=function(v,r){var _=r.match(v);return _&&_.length>0&&_[1]||""},M.getSecondMatch=function(v,r){var _=r.match(v);return _&&_.length>1&&_[2]||""},M.matchAndReturnConst=function(v,r,_){if(v.test(r))return _},M.getWindowsVersionName=function(v){switch(v){case"NT":return"NT";case"XP":case"NT 5.1":return"XP";case"NT 5.0":return"2000";case"NT 5.2":return"2003";case"NT 6.0":return"Vista";case"NT 6.1":return"7";case"NT 6.2":return"8";case"NT 6.3":return"8.1";case"NT 10.0":return"10";default:return}},M.getMacOSVersionName=function(v){var r=v.split(".").splice(0,2).map(function(_){return parseInt(_,10)||0});if(r.push(0),10===r[0])switch(r[1]){case 5:return"Leopard";case 6:return"Snow Leopard";case 7:return"Lion";case 8:return"Mountain Lion";case 9:return"Mavericks";case 10:return"Yosemite";case 11:return"El Capitan";case 12:return"Sierra";case 13:return"High Sierra";case 14:return"Mojave";case 15:return"Catalina";default:return}},M.getAndroidVersionName=function(v){var r=v.split(".").splice(0,2).map(function(_){return parseInt(_,10)||0});if(r.push(0),!(1===r[0]&&r[1]<5))return 1===r[0]&&r[1]<6?"Cupcake":1===r[0]&&r[1]>=6?"Donut":2===r[0]&&r[1]<2?"Eclair":2===r[0]&&2===r[1]?"Froyo":2===r[0]&&r[1]>2?"Gingerbread":3===r[0]?"Honeycomb":4===r[0]&&r[1]<1?"Ice Cream Sandwich":4===r[0]&&r[1]<4?"Jelly Bean":4===r[0]&&r[1]>=4?"KitKat":5===r[0]?"Lollipop":6===r[0]?"Marshmallow":7===r[0]?"Nougat":8===r[0]?"Oreo":9===r[0]?"Pie":void 0},M.getVersionPrecision=function(v){return v.split(".").length},M.compareVersions=function(v,r,_){void 0===_&&(_=!1);var h=M.getVersionPrecision(v),C=M.getVersionPrecision(r),b=Math.max(h,C),D=0,f=M.map([v,r],function(O){var d=b-M.getVersionPrecision(O),L=O+new Array(d+1).join(".0");return M.map(L.split("."),function(E){return new Array(20-E.length).join("0")+E}).reverse()});for(_&&(D=b-Math.min(h,C)),b-=1;b>=D;){if(f[0][b]>f[1][b])return 1;if(f[0][b]===f[1][b]){if(b===D)return 0;b-=1}else if(f[0][b]<f[1][b])return-1}},M.map=function(v,r){var _,h=[];if(Array.prototype.map)return Array.prototype.map.call(v,r);for(_=0;_<v.length;_+=1)h.push(r(v[_]));return h},M.find=function(v,r){var _,h;if(Array.prototype.find)return Array.prototype.find.call(v,r);for(_=0,h=v.length;_<h;_+=1){var C=v[_];if(r(C,_))return C}},M.assign=function(v){for(var r,_,h=v,C=arguments.length,b=new Array(C>1?C-1:0),D=1;D<C;D++)b[D-1]=arguments[D];if(Object.assign)return Object.assign.apply(Object,[v].concat(b));var f=function(){var O=b[r];"object"==typeof O&&null!==O&&Object.keys(O).forEach(function(d){h[d]=O[d]})};for(r=0,_=b.length;r<_;r+=1)f();return v},M.getBrowserAlias=function(v){return t.BROWSER_ALIASES_MAP[v]},M.getBrowserTypeByAlias=function(v){return t.BROWSER_MAP[v]||""},M}();o.default=u,ee.exports=o.default},18:function(ee,o,a){"use strict";o.__esModule=!0,o.ENGINE_MAP=o.OS_MAP=o.PLATFORMS_MAP=o.BROWSER_MAP=o.BROWSER_ALIASES_MAP=void 0,o.BROWSER_ALIASES_MAP={"Amazon Silk":"amazon_silk","Android Browser":"android",Bada:"bada",BlackBerry:"blackberry",Chrome:"chrome",Chromium:"chromium",Electron:"electron",Epiphany:"epiphany",Firefox:"firefox",Focus:"focus",Generic:"generic","Google Search":"google_search",Googlebot:"googlebot","Internet Explorer":"ie","K-Meleon":"k_meleon",Maxthon:"maxthon","Microsoft Edge":"edge","MZ Browser":"mz","NAVER Whale Browser":"naver",Opera:"opera","Opera Coast":"opera_coast","Pale Moon":"pale_moon",PhantomJS:"phantomjs",Puffin:"puffin",QupZilla:"qupzilla",QQ:"qq",QQLite:"qqlite",Safari:"safari",Sailfish:"sailfish","Samsung Internet for Android":"samsung_internet",SeaMonkey:"seamonkey",Sleipnir:"sleipnir",Swing:"swing",Tizen:"tizen","UC Browser":"uc",Vivaldi:"vivaldi","WebOS Browser":"webos",WeChat:"wechat","Yandex Browser":"yandex",Roku:"roku"},o.BROWSER_MAP={amazon_silk:"Amazon Silk",android:"Android Browser",bada:"Bada",blackberry:"BlackBerry",chrome:"Chrome",chromium:"Chromium",electron:"Electron",epiphany:"Epiphany",firefox:"Firefox",focus:"Focus",generic:"Generic",googlebot:"Googlebot",google_search:"Google Search",ie:"Internet Explorer",k_meleon:"K-Meleon",maxthon:"Maxthon",edge:"Microsoft Edge",mz:"MZ Browser",naver:"NAVER Whale Browser",opera:"Opera",opera_coast:"Opera Coast",pale_moon:"Pale Moon",phantomjs:"PhantomJS",puffin:"Puffin",qupzilla:"QupZilla",qq:"QQ Browser",qqlite:"QQ Browser Lite",safari:"Safari",sailfish:"Sailfish",samsung_internet:"Samsung Internet for Android",seamonkey:"SeaMonkey",sleipnir:"Sleipnir",swing:"Swing",tizen:"Tizen",uc:"UC Browser",vivaldi:"Vivaldi",webos:"WebOS Browser",wechat:"WeChat",yandex:"Yandex Browser"},o.PLATFORMS_MAP={tablet:"tablet",mobile:"mobile",desktop:"desktop",tv:"tv",bot:"bot"},o.OS_MAP={WindowsPhone:"Windows Phone",Windows:"Windows",MacOS:"macOS",iOS:"iOS",Android:"Android",WebOS:"WebOS",BlackBerry:"BlackBerry",Bada:"Bada",Tizen:"Tizen",Linux:"Linux",ChromeOS:"Chrome OS",PlayStation4:"PlayStation 4",Roku:"Roku"},o.ENGINE_MAP={EdgeHTML:"EdgeHTML",Blink:"Blink",Trident:"Trident",Presto:"Presto",Gecko:"Gecko",WebKit:"WebKit"}},90:function(ee,o,a){"use strict";o.__esModule=!0,o.default=void 0;var t,u=(t=a(91))&&t.__esModule?t:{default:t},M=a(18);function v(_,h){for(var C=0;C<h.length;C++){var b=h[C];b.enumerable=b.enumerable||!1,b.configurable=!0,"value"in b&&(b.writable=!0),Object.defineProperty(_,b.key,b)}}var r=function(){function _(){}var h,b;return _.getParser=function(D,f){if(void 0===f&&(f=!1),"string"!=typeof D)throw new Error("UserAgent should be a string");return new u.default(D,f)},_.parse=function(D){return new u.default(D).getResult()},h=_,b=[{key:"BROWSER_MAP",get:function(){return M.BROWSER_MAP}},{key:"ENGINE_MAP",get:function(){return M.ENGINE_MAP}},{key:"OS_MAP",get:function(){return M.OS_MAP}},{key:"PLATFORMS_MAP",get:function(){return M.PLATFORMS_MAP}}],null&&v(h.prototype,null),b&&v(h,b),_}();o.default=r,ee.exports=o.default},91:function(ee,o,a){"use strict";o.__esModule=!0,o.default=void 0;
3var t=_(a(92)),u=_(a(93)),M=_(a(94)),v=_(a(95)),r=_(a(17));function _(C){return C&&C.__esModule?C:{default:C}}var h=function(){function C(D,f){if(void 0===f&&(f=!1),null==D||""===D)throw new Error("UserAgent parameter can't be empty");this._ua=D,this.parsedResult={},!0!==f&&this.parse()}var b=C.prototype;return b.getUA=function(){return this._ua},b.test=function(D){return D.test(this._ua)},b.parseBrowser=function(){var D=this;this.parsedResult.browser={};var f=r.default.find(t.default,function(O){if("function"==typeof O.test)return O.test(D);if(Array.isArray(O.test))return O.test.some(function(d){return D.test(d)});throw new Error("Browser's test function is not valid")});return f&&(this.parsedResult.browser=f.describe(this.getUA())),this.parsedResult.browser},b.getBrowser=function(){return this.parsedResult.browser?this.parsedResult.browser:this.parseBrowser()},b.getBrowserName=function(D){return D?String(this.getBrowser().name).toLowerCase()||"":this.getBrowser().name||""},b.getBrowserVersion=function(){return this.getBrowser().version},b.getOS=function(){return this.parsedResult.os?this.parsedResult.os:this.parseOS()},b.parseOS=function(){var D=this;this.parsedResult.os={};var f=r.default.find(u.default,function(O){if("function"==typeof O.test)return O.test(D);if(Array.isArray(O.test))return O.test.some(function(d){return D.test(d)});throw new Error("Browser's test function is not valid")});return f&&(this.parsedResult.os=f.describe(this.getUA())),this.parsedResult.os},b.getOSName=function(D){var f=this.getOS().name;return D?String(f).toLowerCase()||"":f||""},b.getOSVersion=function(){return this.getOS().version},b.getPlatform=function(){return this.parsedResult.platform?this.parsedResult.platform:this.parsePlatform()},b.getPlatformType=function(D){void 0===D&&(D=!1);var f=this.getPlatform().type;return D?String(f).toLowerCase()||"":f||""},b.parsePlatform=function(){var D=this;this.parsedResult.platform={};var f=r.default.find(M.default,function(O){if("function"==typeof O.test)return O.test(D);if(Array.isArray(O.test))return O.test.some(function(d){return D.test(d)});throw new Error("Browser's test function is not valid")});return f&&(this.parsedResult.platform=f.describe(this.getUA())),this.parsedResult.platform},b.getEngine=function(){return this.parsedResult.engine?this.parsedResult.engine:this.parseEngine()},b.getEngineName=function(D){return D?String(this.getEngine().name).toLowerCase()||"":this.getEngine().name||""},b.parseEngine=function(){var D=this;this.parsedResult.engine={};var f=r.default.find(v.default,function(O){if("function"==typeof O.test)return O.test(D);if(Array.isArray(O.test))return O.test.some(function(d){return D.test(d)});throw new Error("Browser's test function is not valid")});return f&&(this.parsedResult.engine=f.describe(this.getUA())),this.parsedResult.engine},b.parse=function(){return this.parseBrowser(),this.parseOS(),this.parsePlatform(),this.parseEngine(),this},b.getResult=function(){return r.default.assign({},this.parsedResult)},b.satisfies=function(D){var f=this,O={},d=0,L={},E=0;if(Object.keys(D).forEach(function(Z){var N=D[Z];"string"==typeof N?(L[Z]=N,E+=1):"object"==typeof N&&(O[Z]=N,d+=1)}),d>0){var se=Object.keys(O),Y=r.default.find(se,function(Z){return f.isOS(Z)});if(Y){var ne=this.satisfies(O[Y]);if(void 0!==ne)return ne}var U=r.default.find(se,function(Z){return f.isPlatform(Z)});if(U){var T=this.satisfies(O[U]);if(void 0!==T)return T}}if(E>0){var I=Object.keys(L),w=r.default.find(I,function(Z){return f.isBrowser(Z,!0)});if(void 0!==w)return this.compareVersion(L[w])}},b.isBrowser=function(D,f){void 0===f&&(f=!1);var O=this.getBrowserName().toLowerCase(),d=D.toLowerCase(),L=r.default.getBrowserTypeByAlias(d);return f&&L&&(d=L.toLowerCase()),d===O},b.compareVersion=function(D){var f=[0],O=D,d=!1,L=this.getBrowserVersion();if("string"==typeof L)return">"===D[0]||"<"===D[0]?(O=D.substr(1),"="===D[1]?(d=!0,O=D.substr(2)):f=[],f.push(">"===D[0]?1:-1)):"="===D[0]?O=D.substr(1):"~"===D[0]&&(d=!0,O=D.substr(1)),f.indexOf(r.default.compareVersions(L,O,d))>-1},b.isOS=function(D){return this.getOSName(!0)===String(D).toLowerCase()},b.isPlatform=function(D){return this.getPlatformType(!0)===String(D).toLowerCase()},b.isEngine=function(D){return this.getEngineName(!0)===String(D).toLowerCase()},b.is=function(D,f){return void 0===f&&(f=!1),this.isBrowser(D,f)||this.isOS(D)||this.isPlatform(D)},b.some=function(D){var f=this;return void 0===D&&(D=[]),D.some(function(O){return f.is(O)})},C}();o.default=h,ee.exports=o.default},92:function(ee,o,a){"use strict";o.__esModule=!0,o.default=void 0;var t,u=(t=a(17))&&t.__esModule?t:{default:t},M=/version\/(\d+(\.?_?\d+)+)/i;o.default=[{test:[/googlebot/i],describe:function(r){var _={name:"Googlebot"},h=u.default.getFirstMatch(/googlebot\/(\d+(\.\d+))/i,r)||u.default.getFirstMatch(M,r);return h&&(_.version=h),_}},{test:[/opera/i],describe:function(r){var _={name:"Opera"},h=u.default.getFirstMatch(M,r)||u.default.getFirstMatch(/(?:opera)[\s/](\d+(\.?_?\d+)+)/i,r);return h&&(_.version=h),_}},{test:[/opr\/|opios/i],describe:function(r){var _={name:"Opera"},h=u.default.getFirstMatch(/(?:opr|opios)[\s/](\S+)/i,r)||u.default.getFirstMatch(M,r);return h&&(_.version=h),_}},{test:[/SamsungBrowser/i],describe:function(r){var _={name:"Samsung Internet for Android"},h=u.default.getFirstMatch(M,r)||u.default.getFirstMatch(/(?:SamsungBrowser)[\s/](\d+(\.?_?\d+)+)/i,r);return h&&(_.version=h),_}},{test:[/Whale/i],describe:function(r){var _={name:"NAVER Whale Browser"},h=u.default.getFirstMatch(M,r)||u.default.getFirstMatch(/(?:whale)[\s/](\d+(?:\.\d+)+)/i,r);return h&&(_.version=h),_}},{test:[/PaleMoon/i],describe:function(r){var _={name:"Pale Moon"},h=u.default.getFirstMatch(M,r)||u.default.getFirstMatch(/(?:PaleMoon)[\s/](\d+(?:\.\d+)+)/i,r);return h&&(_.version=h),_}},{test:[/MZBrowser/i],describe:function(r){var _={name:"MZ Browser"},h=u.default.getFirstMatch(/(?:MZBrowser)[\s/](\d+(?:\.\d+)+)/i,r)||u.default.getFirstMatch(M,r);return h&&(_.version=h),_}},{test:[/focus/i],describe:function(r){var _={name:"Focus"},h=u.default.getFirstMatch(/(?:focus)[\s/](\d+(?:\.\d+)+)/i,r)||u.default.getFirstMatch(M,r);return h&&(_.version=h),_}},{test:[/swing/i],describe:function(r){var _={name:"Swing"},h=u.default.getFirstMatch(/(?:swing)[\s/](\d+(?:\.\d+)+)/i,r)||u.default.getFirstMatch(M,r);return h&&(_.version=h),_}},{test:[/coast/i],describe:function(r){var _={name:"Opera Coast"},h=u.default.getFirstMatch(M,r)||u.default.getFirstMatch(/(?:coast)[\s/](\d+(\.?_?\d+)+)/i,r);return h&&(_.version=h),_}},{test:[/opt\/\d+(?:.?_?\d+)+/i],describe:function(r){var _={name:"Opera Touch"},h=u.default.getFirstMatch(/(?:opt)[\s/](\d+(\.?_?\d+)+)/i,r)||u.default.getFirstMatch(M,r);return h&&(_.version=h),_}},{test:[/yabrowser/i],describe:function(r){var _={name:"Yandex Browser"},h=u.default.getFirstMatch(/(?:yabrowser)[\s/](\d+(\.?_?\d+)+)/i,r)||u.default.getFirstMatch(M,r);return h&&(_.version=h),_}},{test:[/ucbrowser/i],describe:function(r){var _={name:"UC Browser"},h=u.default.getFirstMatch(M,r)||u.default.getFirstMatch(/(?:ucbrowser)[\s/](\d+(\.?_?\d+)+)/i,r);return h&&(_.version=h),_}},{test:[/Maxthon|mxios/i],describe:function(r){var _={name:"Maxthon"}
vendor: 7,816 bytes, line 3
3,h=u.default.getFirstMatch(M,r)||u.default.getFirstMatch(/(?:Maxthon|mxios)[\s/](\d+(\.?_?\d+)+)/i,r);return h&&(_.version=h),_}},{test:[/epiphany/i],describe:function(r){var _={name:"Epiphany"},h=u.default.getFirstMatch(M,r)||u.default.getFirstMatch(/(?:epiphany)[\s/](\d+(\.?_?\d+)+)/i,r);return h&&(_.version=h),_}},{test:[/puffin/i],describe:function(r){var _={name:"Puffin"},h=u.default.getFirstMatch(M,r)||u.default.getFirstMatch(/(?:puffin)[\s/](\d+(\.?_?\d+)+)/i,r);return h&&(_.version=h),_}},{test:[/sleipnir/i],describe:function(r){var _={name:"Sleipnir"},h=u.default.getFirstMatch(M,r)||u.default.getFirstMatch(/(?:sleipnir)[\s/](\d+(\.?_?\d+)+)/i,r);return h&&(_.version=h),_}},{test:[/k-meleon/i],describe:function(r){var _={name:"K-Meleon"},h=u.default.getFirstMatch(M,r)||u.default.getFirstMatch(/(?:k-meleon)[\s/](\d+(\.?_?\d+)+)/i,r);return h&&(_.version=h),_}},{test:[/micromessenger/i],describe:function(r){var _={name:"WeChat"},h=u.default.getFirstMatch(/(?:micromessenger)[\s/](\d+(\.?_?\d+)+)/i,r)||u.default.getFirstMatch(M,r);return h&&(_.version=h),_}},{test:[/qqbrowser/i],describe:function(r){var _={name:/qqbrowserlite/i.test(r)?"QQ Browser Lite":"QQ Browser"},h=u.default.getFirstMatch(/(?:qqbrowserlite|qqbrowser)[/](\d+(\.?_?\d+)+)/i,r)||u.default.getFirstMatch(M,r);return h&&(_.version=h),_}},{test:[/msie|trident/i],describe:function(r){var _={name:"Internet Explorer"},h=u.default.getFirstMatch(/(?:msie |rv:)(\d+(\.?_?\d+)+)/i,r);return h&&(_.version=h),_}},{test:[/\sedg\//i],describe:function(r){var _={name:"Microsoft Edge"},h=u.default.getFirstMatch(/\sedg\/(\d+(\.?_?\d+)+)/i,r);return h&&(_.version=h),_}},{test:[/edg([ea]|ios)/i],describe:function(r){var _={name:"Microsoft Edge"},h=u.default.getSecondMatch(/edg([ea]|ios)\/(\d+(\.?_?\d+)+)/i,r);return h&&(_.version=h),_}},{test:[/vivaldi/i],describe:function(r){var _={name:"Vivaldi"},h=u.default.getFirstMatch(/vivaldi\/(\d+(\.?_?\d+)+)/i,r);return h&&(_.version=h),_}},{test:[/seamonkey/i],describe:function(r){var _={name:"SeaMonkey"},h=u.default.getFirstMatch(/seamonkey\/(\d+(\.?_?\d+)+)/i,r);return h&&(_.version=h),_}},{test:[/sailfish/i],describe:function(r){var _={name:"Sailfish"},h=u.default.getFirstMatch(/sailfish\s?browser\/(\d+(\.\d+)?)/i,r);return h&&(_.version=h),_}},{test:[/silk/i],describe:function(r){var _={name:"Amazon Silk"},h=u.default.getFirstMatch(/silk\/(\d+(\.?_?\d+)+)/i,r);return h&&(_.version=h),_}},{test:[/phantom/i],describe:function(r){var _={name:"PhantomJS"},h=u.default.getFirstMatch(/phantomjs\/(\d+(\.?_?\d+)+)/i,r);return h&&(_.version=h),_}},{test:[/slimerjs/i],describe:function(r){var _={name:"SlimerJS"},h=u.default.getFirstMatch(/slimerjs\/(\d+(\.?_?\d+)+)/i,r);return h&&(_.version=h),_}},{test:[/blackberry|\bbb\d+/i,/rim\stablet/i],describe:function(r){var _={name:"BlackBerry"},h=u.default.getFirstMatch(M,r)||u.default.getFirstMatch(/blackberry[\d]+\/(\d+(\.?_?\d+)+)/i,r);return h&&(_.version=h),_}},{test:[/(web|hpw)[o0]s/i],describe:function(r){var _={name:"WebOS Browser"},h=u.default.getFirstMatch(M,r)||u.default.getFirstMatch(/w(?:eb)?[o0]sbrowser\/(\d+(\.?_?\d+)+)/i,r);return h&&(_.version=h),_}},{test:[/bada/i],describe:function(r){var _={name:"Bada"},h=u.default.getFirstMatch(/dolfin\/(\d+(\.?_?\d+)+)/i,r);return h&&(_.version=h),_}},{test:[/tizen/i],describe:function(r){var _={name:"Tizen"},h=u.default.getFirstMatch(/(?:tizen\s?)?browser\/(\d+(\.?_?\d+)+)/i,r)||u.default.getFirstMatch(M,r);return h&&(_.version=h),_}},{test:[/qupzilla/i],describe:function(r){var _={name:"QupZilla"},h=u.default.getFirstMatch(/(?:qupzilla)[\s/](\d+(\.?_?\d+)+)/i,r)||u.default.getFirstMatch(M,r);return h&&(_.version=h),_}},{test:[/firefox|iceweasel|fxios/i],describe:function(r){var _={name:"Firefox"},h=u.default.getFirstMatch(/(?:firefox|iceweasel|fxios)[\s/](\d+(\.?_?\d+)+)/i,r);return h&&(_.version=h),_}},{test:[/electron/i],describe:function(r){var _={name:"Electron"},h=u.default.getFirstMatch(/(?:electron)\/(\d+(\.?_?\d+)+)/i,r);return h&&(_.version=h),_}},{test:[/MiuiBrowser/i],describe:function(r){var _={name:"Miui"},h=u.default.getFirstMatch(/(?:MiuiBrowser)[\s/](\d+(\.?_?\d+)+)/i,r);return h&&(_.version=h),_}},{test:[/chromium/i],describe:function(r){var _={name:"Chromium"},h=u.default.getFirstMatch(/(?:chromium)[\s/](\d+(\.?_?\d+)+)/i,r)||u.default.getFirstMatch(M,r);return h&&(_.version=h),_}},{test:[/chrome|crios|crmo/i],describe:function(r){var _={name:"Chrome"},h=u.default.getFirstMatch(/(?:chrome|crios|crmo)\/(\d+(\.?_?\d+)+)/i,r);return h&&(_.version=h),_}},{test:[/GSA/i],describe:function(r){var _={name:"Google Search"},h=u.default.getFirstMatch(/(?:GSA)\/(\d+(\.?_?\d+)+)/i,r);return h&&(_.version=h),_}},{test:function(r){var _=!r.test(/like android/i),h=r.test(/android/i);return _&&h},describe:function(r){var _={name:"Android Browser"},h=u.default.getFirstMatch(M,r);return h&&(_.version=h),_}},{test:[/playstation 4/i],describe:function(r){var _={name:"PlayStation 4"},h=u.default.getFirstMatch(M,r);return h&&(_.version=h),_}},{test:[/safari|applewebkit/i],describe:function(r){var _={name:"Safari"},h=u.default.getFirstMatch(M,r);return h&&(_.version=h),_}},{test:[/.*/i],describe:function(r){var _=-1!==r.search("\\(")?/^(.*)\/(.*)[ \t]\((.*)/:/^(.*)\/(.*) /;return{name:u.default.getFirstMatch(_,r),version:u.default.getSecondMatch(_,r)}}}],ee.exports=o.default},93:function(ee,o,a){"use strict";o.__esModule=!0,o.default=void 0;var t,u=(t=a(17))&&t.__esModule?t:{default:t},M=a(18);o.default=[{test:[/Roku\/DVP/],describe:function(r){var _=u.default.getFirstMatch(/Roku\/DVP-(\d+\.\d+)/i,r);return{name:M.OS_MAP.Roku,version:_}}},{test:[/windows phone/i],describe:function(r){var _=u.default.getFirstMatch(/windows phone (?:os)?\s?(\d+(\.\d+)*)/i,r);return{name:M.OS_MAP.WindowsPhone,version:_}}},{test:[/windows /i],describe:function(r){var _=u.default.getFirstMatch(/Windows ((NT|XP)( \d\d?.\d)?)/i,r),h=u.default.getWindowsVersionName(_);return{name:M.OS_MAP.Windows,version:_,versionName:h}}},{test:[/Macintosh(.*?) FxiOS(.*?)\//],describe:function(r){var _={name:M.OS_MAP.iOS},h=u.default.getSecondMatch(/(Version\/)(\d[\d.]+)/,r);return h&&(_.version=h),_}},{test:[/macintosh/i],describe:function(r){var _=u.default.getFirstMatch(/mac os x (\d+(\.?_?\d+)+)/i,r).replace(/[_\s]/g,"."),h=u.default.getMacOSVersionName(_),C={name:M.OS_MAP.MacOS,version:_};return h&&(C.versionName=h),C}},{test:[/(ipod|iphone|ipad)/i],describe:function(r){var _=u.default.getFirstMatch(/os (\d+([_\s]\d+)*) like mac os x/i,r).replace(/[_\s]/g,".");return{name:M.OS_MAP.iOS,version:_}}},{test:function(r){var _=!r.test(/like android/i),h=r.test(/android/i);return _&&h},describe:function(r){var _=u.default.getFirstMatch(/android[\s/-](\d+(\.\d+)*)/i,r),h=u.default.getAndroidVersionName(_),C={name:M.OS_MAP.Android,version:_};return h&&(C.versionName=h),C}},{test:[/(web|hpw)[o0]s/i],describe:function(r){var _=u.default.getFirstMatch(/(?:web|hpw)[o0]s\/(\d+(\.\d+)*)/i,r),h={name:M.OS_MAP.WebOS};return _&&_.length&&(h.version=_),h}},{test:[/blackberry|\bbb\d+/i,/rim\stablet/i],describe:function(r){var _=u.default.getFirstMatch(/rim\stablet\sos\s(\d+(\.\d+)*)/i,r)||u.default.getFirstMatch(/blackberry\d+\/(\d+([_\s]\d+)*)/i,r)||u.default.getFirstMatch(/\bbb(\d+)/i,r);return{name:M.OS_MAP.BlackBerry,version:_}}},{test:[/bada/i],describe:function(r){var _=u.default.getFirstMatch(/bada\/(\d+(\.\d+)*)/i,r);return{name:M.OS_MAP.Bada,version:_}}},{test:[/tizen/i],describe:function(r){var _=u.default.getFirstMatch(/tizen[/\s](\d+(\.\d+)*)/i,r);return{name:M.OS_MAP.Tizen,version:_}}},{test:[/linux/i],describe:function(){return{name:M.OS_MAP.Linux}}},{test:[/CrOS/],describe:function(){return{name:M.OS_MAP.ChromeOS}}},{test:[/PlayStation 4/],describe:function(r){var _=u.default.getFirstMatch(/PlayStation 4[/\s](\d+(\.\d+)*)/i,r);
3return{name:M.OS_MAP.PlayStation4,version:_}}}],ee.exports=o.default},94:function(ee,o,a){"use strict";o.__esModule=!0,o.default=void 0;var t,u=(t=a(17))&&t.__esModule?t:{default:t},M=a(18);o.default=[{test:[/googlebot/i],describe:function(){return{type:M.PLATFORMS_MAP.bot,vendor:"Google"}}},{test:[/huawei/i],describe:function(r){var _=u.default.getFirstMatch(/(can-l01)/i,r)&&"Nova",h={type:M.PLATFORMS_MAP.mobile,vendor:"Huawei"};return _&&(h.model=_),h}},{test:[/nexus\s*(?:7|8|9|10).*/i],describe:function(){return{type:M.PLATFORMS_MAP.tablet,vendor:"Nexus"}}},{test:[/ipad/i],describe:function(){return{type:M.PLATFORMS_MAP.tablet,vendor:"Apple",model:"iPad"}}},{test:[/Macintosh(.*?) FxiOS(.*?)\//],describe:function(){return{type:M.PLATFORMS_MAP.tablet,vendor:"Apple",model:"iPad"}}},{test:[/kftt build/i],describe:function(){return{type:M.PLATFORMS_MAP.tablet,vendor:"Amazon",model:"Kindle Fire HD 7"}}},{test:[/silk/i],describe:function(){return{type:M.PLATFORMS_MAP.tablet,vendor:"Amazon"}}},{test:[/tablet(?! pc)/i],describe:function(){return{type:M.PLATFORMS_MAP.tablet}}},{test:function(r){var _=r.test(/ipod|iphone/i),h=r.test(/like (ipod|iphone)/i);return _&&!h},describe:function(r){var _=u.default.getFirstMatch(/(ipod|iphone)/i,r);return{type:M.PLATFORMS_MAP.mobile,vendor:"Apple",model:_}}},{test:[/nexus\s*[0-6].*/i,/galaxy nexus/i],describe:function(){return{type:M.PLATFORMS_MAP.mobile,vendor:"Nexus"}}},{test:[/Nokia/i],describe:function(r){var _=u.default.getFirstMatch(/Nokia\s+([0-9]+(\.[0-9]+)?)/i,r),h={type:M.PLATFORMS_MAP.mobile,vendor:"Nokia"};return _&&(h.model=_),h}},{test:[/[^-]mobi/i],describe:function(){return{type:M.PLATFORMS_MAP.mobile}}},{test:function(r){return"blackberry"===r.getBrowserName(!0)},describe:function(){return{type:M.PLATFORMS_MAP.mobile,vendor:"BlackBerry"}}},{test:function(r){return"bada"===r.getBrowserName(!0)},describe:function(){return{type:M.PLATFORMS_MAP.mobile}}},{test:function(r){return"windows phone"===r.getBrowserName()},describe:function(){return{type:M.PLATFORMS_MAP.mobile,vendor:"Microsoft"}}},{test:function(r){var _=Number(String(r.getOSVersion()).split(".")[0]);return"android"===r.getOSName(!0)&&_>=3},describe:function(){return{type:M.PLATFORMS_MAP.tablet}}},{test:function(r){return"android"===r.getOSName(!0)},describe:function(){return{type:M.PLATFORMS_MAP.mobile}}},{test:function(r){return"macos"===r.getOSName(!0)},describe:function(){return{type:M.PLATFORMS_MAP.desktop,vendor:"Apple"}}},{test:function(r){return"windows"===r.getOSName(!0)},describe:function(){return{type:M.PLATFORMS_MAP.desktop}}},{test:function(r){return"linux"===r.getOSName(!0)},describe:function(){return{type:M.PLATFORMS_MAP.desktop}}},{test:function(r){return"playstation 4"===r.getOSName(!0)},describe:function(){return{type:M.PLATFORMS_MAP.tv}}},{test:function(r){return"roku"===r.getOSName(!0)},describe:function(){return{type:M.PLATFORMS_MAP.tv}}}],ee.exports=o.default},95:function(ee,o,a){"use strict";o.__esModule=!0,o.default=void 0;var t,u=(t=a(17))&&t.__esModule?t:{default:t},M=a(18);o.default=[{test:function(r){return"microsoft edge"===r.getBrowserName(!0)},describe:function(r){if(/\sedg\//i.test(r))return{name:M.ENGINE_MAP.Blink};var _=u.default.getFirstMatch(/edge\/(\d+(\.?_?\d+)+)/i,r);return{name:M.ENGINE_MAP.EdgeHTML,version:_}}},{test:[/trident/i],describe:function(r){var _={name:M.ENGINE_MAP.Trident},h=u.default.getFirstMatch(/trident\/(\d+(\.?_?\d+)+)/i,r);return h&&(_.version=h),_}},{test:function(r){return r.test(/presto/i)},describe:function(r){var _={name:M.ENGINE_MAP.Presto},h=u.default.getFirstMatch(/presto\/(\d+(\.?_?\d+)+)/i,r);return h&&(_.version=h),_}},{test:function(r){var _=r.test(/gecko/i),h=r.test(/like gecko/i);return _&&!h},describe:function(r){var _={name:M.ENGINE_MAP.Gecko},h=u.default.getFirstMatch(/gecko\/(\d+(\.?_?\d+)+)/i,r);return h&&(_.version=h),_}},{test:[/(apple)?webkit\/537\.36/i],describe:function(){return{name:M.ENGINE_MAP.Blink}}},{test:[/(apple)?webkit/i],describe:function(r){var _={name:M.ENGINE_MAP.WebKit},h=u.default.getFirstMatch(/webkit\/(\d+(\.?_?\d+)+)/i,r);return h&&(_.version=h),_}}],ee.exports=o.default}})},54360:(qe,ee,o)=>{"use strict";o.d(ee,{_:()=>t});var a=o(47707);function t(M,v,r,_,h){return new u(M,v,r,_,h)}class u extends a.vU{constructor(v,r,_,h,C,b){super(v),this.onFinalize=C,this.shouldUnsubscribe=b,this._next=r?function(D){try{r(D)}catch(f){v.error(f)}}:super._next,this._error=h?function(D){try{h(D)}catch(f){v.error(f)}finally{this.unsubscribe()}}:super._error,this._complete=_?function(){try{_()}catch(D){v.error(D)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var v;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:r}=this;super.unsubscribe(),!r&&(null===(v=this.onFinalize)||void 0===v||v.call(this))}}}},54431:function(qe,ee,o){(function(){var a,t,u,M,v,_,h,C,D={}.hasOwnProperty;C=o(89700).isObject,h=o(79213),a=o(68886),t=o(24554),M=o(4542),u=o(48305),v=o(77519),_=o(43592),qe.exports=function(f){function O(d,L,E){var se,Y,ne,U,T,I;if(O.__super__.constructor.call(this,d),this.type=a.DocType,d.children)for(Y=0,ne=(U=d.children).length;Y<ne;Y++)if((se=U[Y]).type===a.Element){this.name=se.name;break}this.documentObject=d,C(L)&&(L=(T=L).pubID,E=T.sysID),null==E&&(E=(I=[L,E])[0],L=I[1]),null!=L&&(this.pubID=this.stringify.dtdPubID(L)),null!=E&&(this.sysID=this.stringify.dtdSysID(E))}return function(f,O){for(var d in O)D.call(O,d)&&(f[d]=O[d]);function L(){this.constructor=f}L.prototype=O.prototype,f.prototype=new L,f.__super__=O.prototype}(O,f),Object.defineProperty(O.prototype,"entities",{get:function(){var d,L,E,se,Y;
3for(se={},L=0,E=(Y=this.children).length;L<E;L++)(d=Y[L]).type===a.EntityDeclaration&&!d.pe&&(se[d.name]=d);return new _(se)}}),Object.defineProperty(O.prototype,"notations",{get:function(){var d,L,E,se,Y;for(se={},L=0,E=(Y=this.children).length;L<E;L++)(d=Y[L]).type===a.NotationDeclaration&&(se[d.name]=d);return new _(se)}}),Object.defineProperty(O.prototype,"publicId",{get:function(){return this.pubID}}),Object.defineProperty(O.prototype,"systemId",{get:function(){return this.sysID}}),Object.defineProperty(O.prototype,"internalSubset",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),O.prototype.element=function(d,L){var E;return E=new u(this,d,L),this.children.push(E),this},O.prototype.attList=function(d,L,E,se,Y){var ne;return ne=new t(this,d,L,E,se,Y),this.children.push(ne),this},O.prototype.entity=function(d,L){var E;return E=new M(this,!1,d,L),this.children.push(E),this},O.prototype.pEntity=function(d,L){var E;return E=new M(this,!0,d,L),this.children.push(E),this},O.prototype.notation=function(d,L){var E;return E=new v(this,d,L),this.children.push(E),this},O.prototype.toString=function(d){return this.options.writer.docType(this,this.options.writer.filterOptions(d))},O.prototype.ele=function(d,L){return this.element(d,L)},O.prototype.att=function(d,L,E,se,Y){return this.attList(d,L,E,se,Y)},O.prototype.ent=function(d,L){return this.entity(d,L)},O.prototype.pent=function(d,L){return this.pEntity(d,L)},O.prototype.not=function(d,L){return this.notation(d,L)},O.prototype.up=function(){return this.root()||this.documentObject},O.prototype.isEqualNode=function(d){return!(!O.__super__.isEqualNode.apply(this,arguments).isEqualNode(d)||d.name!==this.name||d.publicId!==this.publicId||d.systemId!==this.systemId)},O}(h)}).call(this)},55042:(qe,ee,o)=>{"use strict";o.d(ee,{F:()=>w});var a=o(2615),t=o(73664),u=o(84412),M=o(21413),v=o(7673),r=o(65245),_=o(23294),h=o(56977),C=o(3700),b=o(17035),D=o(79629),f=o(84466),O=o(45955),d=o(79355);const L=new a.nKC("cdk-input-modality-detector-options"),E={ignoreKeys:[b.d,b.C,b.M,b.e,b.f]},Y={passive:!0,capture:!0};let ne=(()=>{class N{_platform=(0,a.WQX)(f.P);_listenerCleanups;modalityDetected;modalityChanged;get mostRecentModality(){return this._modality.value}_mostRecentTarget=null;_modality=new u.t(null);_options;_lastTouchMs=0;_onKeydown=H=>{this._options?.ignoreKeys?.some(ie=>ie===H.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=(0,D._)(H))};_onMousedown=H=>{Date.now()-this._lastTouchMs<650||(this._modality.next((0,C.i)(H)?"keyboard":"mouse"),this._mostRecentTarget=(0,D._)(H))};_onTouchstart=H=>{(0,C.a)(H)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=(0,D._)(H))};constructor(){const H=(0,a.WQX)(t.SKi),ie=(0,a.WQX)(a.qQL),Ce=(0,a.WQX)(L,{optional:!0});if(this._options={...E,...Ce},this.modalityDetected=this._modality.pipe((0,r.i)(1)),this.modalityChanged=this.modalityDetected.pipe((0,_.F)()),this._platform.isBrowser){const Ue=(0,a.WQX)(t._9s).createRenderer(null,null);this._listenerCleanups=H.runOutsideAngular(()=>[Ue.listen(ie,"keydown",this._onKeydown,Y),Ue.listen(ie,"mousedown",this._onMousedown,Y),Ue.listen(ie,"touchstart",this._onTouchstart,Y)])}}ngOnDestroy(){this._modality.complete(),this._listenerCleanups?.forEach(H=>H())}static \u0275fac=function(ie){return new(ie||N)};static \u0275prov=a.jDH({token:N,factory:N.\u0275fac,providedIn:"root"})}return N})();var U=function(N){return N[N.IMMEDIATE=0]="IMMEDIATE",N[N.EVENTUAL=1]="EVENTUAL",N}(U||{});const T=new a.nKC("cdk-focus-monitor-default-options"),I=(0,O.n)({passive:!0,capture:!0});let w=(()=>{class N{_ngZone=(0,a.WQX)(t.SKi);_platform=(0,a.WQX)(f.P);_inputModalityDetector=(0,a.WQX)(ne);_origin=null;_lastFocusOrigin;_windowFocused=!1;_windowFocusTimeoutId;_originTimeoutId;_originFromTouchInteraction=!1;_elementInfo=new Map;_monitoredElementCount=0;_rootNodeFocusListenerCount=new Map;_detectionMode;_windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=setTimeout(()=>this._windowFocused=!1)};_document=(0,a.WQX)(a.qQL);_stopInputModalityDetector=new M.B;constructor(){const H=(0,a.WQX)(T,{optional:!0});this._detectionMode=H?.detectionMode||U.IMMEDIATE}_rootNodeFocusAndBlurListener=H=>{for(let Ce=(0,D._)(H);Ce;Ce=Ce.parentElement)"focus"===H.type?this._onFocus(H,Ce):this._onBlur(H,Ce)};monitor(H,ie=!1){const Ce=(0,d.a)(H);if(!this._platform.isBrowser||1!==Ce.nodeType)return(0,v.of)();const Ue=(0,D.a)(Ce)||this._document,nt=this._elementInfo.get(Ce);if(nt)return ie&&(nt.checkChildren=!0),nt.subject;
3const we={checkChildren:ie,subject:new M.B,rootNode:Ue};return this._elementInfo.set(Ce,we),this._registerGlobalListeners(we),we.subject}stopMonitoring(H){const ie=(0,d.a)(H),Ce=this._elementInfo.get(ie);Ce&&(Ce.subject.complete(),this._setClasses(ie),this._elementInfo.delete(ie),this._removeGlobalListeners(Ce))}focusVia(H,ie,Ce){const Ue=(0,d.a)(H);Ue===this._document.activeElement?this._getClosestElementsInfo(Ue).forEach(([we,at])=>this._originChanged(we,ie,at)):(this._setOrigin(ie),"function"==typeof Ue.focus&&Ue.focus(Ce))}ngOnDestroy(){this._elementInfo.forEach((H,ie)=>this.stopMonitoring(ie))}_getWindow(){return this._document.defaultView||window}_getFocusOrigin(H){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(H)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:H&&this._isLastInteractionFromInputLabel(H)?"mouse":"program"}_shouldBeAttributedToTouch(H){return this._detectionMode===U.EVENTUAL||!!H?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(H,ie){H.classList.toggle("cdk-focused",!!ie),H.classList.toggle("cdk-touch-focused","touch"===ie),H.classList.toggle("cdk-keyboard-focused","keyboard"===ie),H.classList.toggle("cdk-mouse-focused","mouse"===ie),H.classList.toggle("cdk-program-focused","program"===ie)}_setOrigin(H,ie=!1){this._ngZone.runOutsideAngular(()=>{this._origin=H,this._originFromTouchInteraction="touch"===H&&ie,this._detectionMode===U.IMMEDIATE&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(H,ie){const Ce=this._elementInfo.get(ie),Ue=(0,D._)(H);!Ce||!Ce.checkChildren&&ie!==Ue||this._originChanged(ie,this._getFocusOrigin(Ue),Ce)}_onBlur(H,ie){const Ce=this._elementInfo.get(ie);!Ce||Ce.checkChildren&&H.relatedTarget instanceof Node&&ie.contains(H.relatedTarget)||(this._setClasses(ie),this._emitOrigin(Ce,null))}_emitOrigin(H,ie){H.subject.observers.length&&this._ngZone.run(()=>H.subject.next(ie))}_registerGlobalListeners(H){if(!this._platform.isBrowser)return;const ie=H.rootNode,Ce=this._rootNodeFocusListenerCount.get(ie)||0;Ce||this._ngZone.runOutsideAngular(()=>{ie.addEventListener("focus",this._rootNodeFocusAndBlurListener,I),ie.addEventListener("blur",this._rootNodeFocusAndBlurListener,I)}),this._rootNodeFocusListenerCount.set(ie,Ce+1),1===++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe((0,h.Q)(this._stopInputModalityDetector)).subscribe(Ue=>{this._setOrigin(Ue,!0)}))}_removeGlobalListeners(H){const ie=H.rootNode;if(this._rootNodeFocusListenerCount.has(ie)){const Ce=this._rootNodeFocusListenerCount.get(ie);Ce>1?this._rootNodeFocusListenerCount.set(ie,Ce-1):(ie.removeEventListener("focus",this._rootNodeFocusAndBlurListener,I),ie.removeEventListener("blur",this._rootNodeFocusAndBlurListener,I),this._rootNodeFocusListenerCount.delete(ie))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(H,ie,Ce){this._setClasses(H,ie),this._emitOrigin(Ce,ie),this._lastFocusOrigin=ie}_getClosestElementsInfo(H){const ie=[];return this._elementInfo.forEach((Ce,Ue)=>{(Ue===H||Ce.checkChildren&&Ue.contains(H))&&ie.push([Ue,Ce])}),ie}_isLastInteractionFromInputLabel(H){const{_mostRecentTarget:ie,mostRecentModality:Ce}=this._inputModalityDetector;if("mouse"!==Ce||!ie||ie===H||"INPUT"!==H.nodeName&&"TEXTAREA"!==H.nodeName||H.disabled)return!1;const Ue=H.labels;if(Ue)for(let nt=0;nt<Ue.length;nt++)if(Ue[nt].contains(ie))return!0;return!1}static \u0275fac=function(ie){return new(ie||N)};static \u0275prov=a.jDH({token:N,factory:N.\u0275fac,providedIn:"root"})}return N})()},55055:(qe,ee,o)=>{"use strict";o.d(ee,{l:()=>u});var a=o(3494),t=o(98071);function u(M){return(0,t.T)(M[a.s])}},55109:(qe,ee,o)=>{"use strict";o.d(ee,{o:()=>M});var a=o(983),t=o(39974),u=o(54360);function M(v){return v<=0?()=>
3a.w:(0,t.N)((r,_)=>{let h=[];r.subscribe((0,u._)(_,C=>{h.push(C),v<h.length&&h.shift()},()=>{for(const C of h)_.next(C);_.complete()},void 0,()=>{h=null}))})}},55214:(qe,ee,o)=>{"use strict";o.d(ee,{I:()=>nt});var a=o(1875),t=o(89417),u=o(88021),M=o(67376),r=o(21413),_=o(56977),h=o(61594),C=o(1734),b=o(73664),D=o(2615),f=o(17705),O=o(18062),d=o(51060),L=o(32130),E=o(8435);const se=["keywordInput"],Y=we=>({direction:we}),ne=we=>({"no-wrap":we}),U=we=>({"read-only":we}),T=we=>({"keyword-input":we}),I=we=>({privacy:we}),w=we=>({selector:we});function Z(we,at){1&we&&b.nrm(0,"div",38)}function N(we,at){if(1&we&&(b.j41(0,"mat-hint",39),b.nrm(1,"app-source-hit",40),b.k0s()),2&we){const Xe=b.XpG().$implicit;b.R7$(),b.Y8G("createdDate",Xe.createdDate)("source",Xe.sourceName||Xe.source)("assertion",Xe.assertionOriginName||Xe.assertionOriginOrcid)}}function oe(we,at){1&we&&(b.j41(0,"mat-error"),b.pXf(1,6),b.k0s())}function H(we,at){if(1&we){const Xe=b.RV6();b.j41(0,"div",25),b.DNE(1,Z,1,0,"div",26),b.j41(2,"div",27)(3,"div",28)(4,"div",29),b.nrm(5,"img",30),b.k0s(),b.j41(6,"div",17)(7,"mat-form-field",31),b.nrm(8,"input",32,0),b.DNE(10,N,2,3,"mat-hint",33)(11,oe,2,0,"mat-error",16),b.k0s()()(),b.j41(12,"div",34),b.nrm(13,"app-visibility-selector",35),b.j41(14,"button",36),b.bIt("click",function(){const xe=D.eBV(Xe).$implicit,De=b.XpG(2);return D.Njj(De.deleteKeyword(xe.putCode))}),b.j41(15,"mat-icon",37),b.EFF(16,"delete "),b.k0s()()()(),b.nrm(17,"hr",22),b.k0s()}if(2&we){let Xe,et,xe;const De=at.$implicit,ue=b.XpG(2);b.Y8G("ngStyle",b.eq3(15,Y,ue.screenDirection))("formGroupName",De.putCode),b.R7$(2),b.Y8G("ngClass",b.eq3(17,ne,!ue.isMobile)),b.R7$(5),b.Y8G("ngClass",b.eq3(19,U,De.source&&De.source!==ue.id)),b.R7$(),b.Y8G("placeholder",b.VkB(" ",ue.ngOrcidKeyword))("readonly",De.source&&De.source!==ue.id)("ngClass",b.eq3(21,T,"rtl"===ue.screenDirection)),b.BMQ("aria-label",De.putCode.indexOf("new")<0?ue.ariaLabelKeyword:ue.ariaLabelNewKeyword),b.R7$(2),b.Y8G("ngIf",De.putCode.indexOf("new")<0),b.R7$(),b.Y8G("ngIf",null==(Xe=ue.keywordsForm.get(De.putCode))||null==(Xe=Xe.get("content"))||null==Xe.errors?null:Xe.errors.maxlength),b.R7$(),b.Y8G("ngClass",b.eq3(23,I,!ue.platform.columns12)),b.R7$(),b.Y8G("ngClass",b.eq3(25,w,!ue.platform.columns12))("itemTitle",(null==(et=ue.keywordsForm.get(De.putCode))?null:et.get("content").value)||""),b.R7$(),b.BMQ("aria-label",ue.ariaLabelDelete+" "+((null==(xe=ue.keywordsForm.get(De.putCode))?null:xe.get("content").value)||""))}}function ie(we,at){if(1&we){const Xe=b.RV6();b.qex(0),b.j41(1,"div",17)(2,"h2",21),b.pXf(3,5),b.k0s()(),b.nrm(4,"hr",22),b.j41(5,"div",23),b.bIt("cdkDropListDropped",function(xe){D.eBV(Xe);const De=b.XpG();return D.Njj(De.drop(xe))}),b.DNE(6,H,18,27,"div",24),b.k0s(),b.bVm()}if(2&we){const Xe=b.XpG();b.R7$(6),b.Y8G("ngForOf",Xe.keywords)}}function Ce(we,at){1&we&&(b.qex(0),b.pXf(1,7),b.bVm())}function Ue(we,at){1&we&&(b.qex(0),b.pXf(1,8),b.bVm())}let nt=(()=>{class we{constructor(Xe,et,xe,De,ue,z,de,ae){this.window=Xe,this.data=et,this.dialogRef=xe,this._recordKeywordService=De,this._changeDetectorRef=ue,this._platform=z,this._snackBar=de,this._userService=ae,this.ariaLabelSave="Save changes to Keywords",this.ariaLabelCancel="Cancel changes to Keywords",this.ariaLabelDelete="Delete Keyword",this.ariaLabelNewKeyword="New Keyword",this.ariaLabelKeyword="Keyword",this.ariaLabelKeywordsClose="Close Keywords",this.$destroy=new r.B,this.addedKeywordsCount=0,this.screenDirection="ltr",this.loadingKeywords=!0,this.keywordMaxLength=99,this.ngOrcidKeyword="Keyword",this._platform.get().pipe((0,_.Q)(this.$destroy)).subscribe(X=>{this.platform=X,this.isMobile=X.columns4||X.columns8,this.screenDirection=X.screenDirection}),this._userService.getUserSession().pipe((0,_.Q)(this.$destroy)).subscribe(X=>{this.userSession=X})}ngOnInit(){this._recordKeywordService.getKeywords().pipe((0,h.$)()).subscribe(Xe=>{this.defaultVisibility=Xe.visibility.visibility,this.originalBackendKeywords=(0,M.cloneDeep)(Xe),this.keywords=this.originalBackendKeywords.keywords,this.backendJsonToForm(this.originalBackendKeywords),this.loadingKeywords=!1})}
3backendJsonToForm(Xe){const xe={};Xe.keywords.forEach(De=>{xe[De.putCode]=new t.J3({content:new t.hs(De.content,{validators:[t.k0.maxLength(this.keywordMaxLength)],updateOn:"change"}),visibility:new t.hs(De.visibility.visibility,{})})}),this.keywordsForm=new t.J3(xe)}formToBackend(Xe){const et={errors:[],keywords:[],visibility:this.originalBackendKeywords.visibility},xe=(0,M.cloneDeep)(this.keywords);return xe.reverse(),xe.map(De=>De.putCode).filter(De=>Xe.getRawValue()[De].content).forEach((De,ue)=>{const z=Xe.getRawValue()[De].content.trim(),de=Xe.getRawValue()[De].visibility;Xe.getRawValue()[De]&&et.keywords.push({putCode:0===De.indexOf("new-")?null:De,content:z,displayIndex:ue+1,source:this.userSession.userInfo.EFFECTIVE_USER_ORCID,visibility:{visibility:de}})}),et}saveEvent(){this.keywordsForm.valid?(this.loadingKeywords=!0,this._recordKeywordService.postKeywords(this.formToBackend(this.keywordsForm)).subscribe(Xe=>{this.closeEvent()})):this._snackBar.showValidationError()}closeEvent(){this.dialogRef.close()}drop(Xe){(0,a.HD)(this.keywords,Xe.previousIndex,Xe.currentIndex)}addKeyword(){const Xe="new-"+this.addedKeywordsCount;this.keywordsForm.addControl(Xe,new t.J3({content:new t.hs("",{val
3idators:[t.k0.maxLength(this.keywordMaxLength)],updateOn:"change"}),visibility:new t.hs(this.defaultVisibility,{})})),this.keywords.push({putCode:Xe,visibility:{visibility:this.defaultVisibility}}),this.addedKeywordsCount++,this._changeDetectorRef.detectChanges(),this.inputs.last.nativeElement.focus()}deleteKeyword(Xe){const et=this.keywords.findIndex(xe=>xe.putCode===Xe);this.keywords.splice(et,1),this.keywordsForm.removeControl(Xe)}ngOnDestroy(){this.$destroy.next(!0),this.$destroy.unsubscribe()}onSubmit(){}static{this.\u0275fac=function(et){return new(et||we)(b.rXU(C.jf),b.rXU(u.e),b.rXU(u.k),b.rXU(O.g),b.rXU(f.gRc),b.rXU(d.Z),b.rXU(L.z),b.rXU(E.DL))}}static{this.\u0275cmp=b.VBU({type:we,selectors:[["app-modal-keyword"]],viewQuery:function(et,xe){if(1&et&&b.GBs(se,5),2&et){let De;b.mGM(De=b.lsd())&&(xe.inputs=De)}},standalone:!1,decls:21,vars:9,consts:()=>{let Xe,et,xe,De,ue,z,de,ae;return Xe="Keywords",et=" Save changes ",xe=" Cancel ",De=" Keywords are words or phrases which describe your research activities. Adding keywords can help people find you when searching the ORCID registry. ",ue=" My keywords ",z=" Must be less than 100 characters ",de=" Add a keyword ",ae=" Add another keyword ",[["keywordInput",""],Xe,et,xe,De,ue,z,de,ae,[3,"loading","noSidebar"],[3,"closeLabel"],["mat-raised-button","","color","primary","id","save-keywords-button",3,"click"],["mat-stroked-button","","color","primary","id","cancel-keywords-button",3,"click"],[1,"container","no-padding",3,"ngSubmit","formGroup"],["id","my-keywords"],[1,"orc-font-body-small"],[4,"ngIf"],[1,"row"],["
3id","add-keyword",1,"col","add-more","no-gutters",3,"click"],[1,"large-material-icon"],[1,"mat-subtitle-2"],[1,"col","no-gutters","orc-font-body"],[1,"dashed-line"],["id","keyword-dropList","cdkDropList","",1,"row","keyword-list",3,"cdkDropListDropped"],["cdkDrag","","class","row keyword-box",3,"ngStyle","formGroupName",4,"ngFor","ngForOf"],["cdkDrag","",1,"row","keyword-box",3,"ngStyle","formGroupName"],["class","row drag-placeholder",4,"cdkDragPlaceholder"],[1,"row","keywords-input-line",3,"ngClass"],[1,"col","l12","m8","s4","top","no-wrap","no-gutters","input-container"],[1,"image-container"],["cdkDragHandle","","src","./assets/vectors/draggable.svg","aria-label","drag handle",1,"icon-drag"],["appearance","outline",1,"mat-form-field-min",3,"ngClass"],["matInput","","formControlName","content",1,"content-input",3,"readonly","placeholder","ngClass"],["class","mat-caption",4,"ngIf"],[1,"col","no-wrap","actions-wrapper","no-gutters",3,"ngClass"],["formControlName","visibility",3,"ngClass","itemTitle"],["mat-icon-button","",1,"delete-button",3,"click"],[1,"material-icons-outlined","extra-large-material-icon"],[1,"row","drag-placeholder"],[1,"mat-caption"],[3,"createdDate","source","assertion"]]},template:function(et,xe){1&et&&(b.j41(0,"app-modal",9)(1,"app-modal-header",10),b.qex(2),b.pXf(3,1),b.bVm(),b.k0s(),b.j41(4,"app-modal-footer")(5,"button",11),b.bIt("click",function(){return xe.saveEvent()}),b.pXf(6,2),b.k0s(),b.j41(7,"button",12),b.bIt("click",function(){return xe.closeEvent()}),b.pXf(8,3),b.k0s()(),b.j41(9,"div",13),b.bIt("ngSubmit",function(){return xe.onSubmit()}),b.j41(10,"section",14)(11,"p",15),b.pXf(12,4),b.k0s(),b.DNE(13,ie,7,1,"ng-container",16),b.j41(14,"div",17)(15,"a",18),b.bIt("click",function(){return xe.addKeyword()}),b.j41(16,"mat-icon",19),b.EFF(17,"add_circle_outline"),b.k0s(),b.j41(18,"span",20),b.DNE(19,Ce,2,0,"ng-container",16)(20,Ue,2,0,"ng-container",16),b.k0s()()()()()()),2&et&&(b.Y8G("loading",xe.loadingKeywords)("noSidebar",!0),b.R7$(),b.Y8G("closeLabel",xe.ariaLabelKeywordsClose),b.R7$(4),b.BMQ("aria-label",xe.ariaLabelSave),b.R7$(2),b.BMQ("aria-label",xe.ariaLabelCancel),b.R7$(2),b.Y8G("formGroup",xe.keywordsForm),b.R7$(4),b.Y8G("ngIf",(null==xe.keywords?null:xe.keywords.length)>0),b.R7$(6),b.Y8G("ngIf",0===(null==xe.keywords?null:xe.keywords.length)),b.R7$(),b.Y8G("ngIf",0!==(null==xe.keywords?null:xe.keywords.length)))},styles:["[_nghost-%COMP%] mat-form-field mat-icon{color:#bdbdbd}[_nghost-%COMP%] mat-form-field.email-activated mat-icon{color:#a6ce39}",".actions-wrapper[_ngcontent-%COMP%]{flex-wrap:nowrap;display:flex;justify-content:center}.keyword-list.cdk-drop-list-dragging[_ngcontent-%COMP%] .keyword-box[_ngcontent-%COMP%]:not(.cdk-drag-placeholder){transition:transform .25s cubic-bezier(0,0,.2,1)}.icon-drag[_ngcontent-%COMP%]{height:32px;margin:4px 0;cursor:move;margin-inline-start:6px;margin-inline-end:10px}.keywords-input-line[_ngcontent-%COMP%]{margin-top:10px;margin-bottom:4px}.keywords-input-line[_ngcontent-%COMP%] .image-container[_ngcontent-%COMP%]{height:100%;display:flex;justify-content:space-around}.mat-mdc-form-field[_ngcontent-%COMP%]{width:100%}.keyword-input[_ngcontent-%COMP%]{text-align:right!important} .columns-4-or-8 .mat-mdc-form-field{width:100%;margin-inline-end:auto}.add-more[_ngcontent-%COMP%]{margin-top:16px}.add-more[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{padding-left:6px} .columns-4-or-8 .keywords-input-line .input-container{padding-bottom:30px} .columns-4-or-8 .keywords-input-line .actions-wrapper{padding-bottom:10px;justify-content:space-between} .columns-4-or-8 .actions-wrapper{width:100%}.delete-button[_ngcontent-%COMP%], app-visibility-selector[_ngcontent-%COMP%]{margin-inline-start:16px}.delete-button[_ngcontent-%COMP%]{margin-top:-3px}"]})}}return we})()},55549:(qe,ee,o)=>{"use strict";o.d(ee,{M:()=>R,b:()=>ce,c:()=>Pe,g:()=>At,h:()=>ti,j:()=>vt,k:()=>Dn});var a=o(88511),t=o(40372),u=o(14085),M=o(84466),v=o(72200),r=o(73664),_=o(2615),h=o(17705),C=o(23597),b=o(18359),D=o(21413),f=o(57786),O=o(99172),d=o(96354),L=o(39974),E=o(54360),Y=o(5964),ne=o(56977),U=o(71985),T=o(44668);class w{_box;_destroyed=new D.B;
3_resizeSubject=new D.B;_resizeObserver;_elementObservables=new Map;constructor(ht){this._box=ht,typeof ResizeObserver<"u"&&(this._resizeObserver=new ResizeObserver(Ae=>this._resizeSubject.next(Ae)))}observe(ht){return this._elementObservables.has(ht)||this._elementObservables.set(ht,new U.c(Ae=>{const It=this._resizeSubject.subscribe(Ae);return this._resizeObserver?.observe(ht,{box:this._box}),()=>{this._resizeObserver?.unobserve(ht),It.unsubscribe(),this._elementObservables.delete(ht)}}).pipe((0,Y.p)(Ae=>Ae.some(It=>It.target===ht)),(0,T.t)({bufferSize:1,refCount:!0}),(0,ne.Q)(this._destroyed))),this._elementObservables.get(ht)}destroy(){this._destroyed.next(),this._destroyed.complete(),this._resizeSubject.complete(),this._elementObservables.clear()}}let Z=(()=>{class $e{_cleanupErrorListener;_observers=new Map;_ngZone=(0,_.WQX)(r.SKi);constructor(){}ngOnDestroy(){for(const[,Ae]of this._observers)Ae.destroy();this._observers.clear(),this._cleanupErrorListener?.()}observe(Ae,It){const Mt=It?.box||"content-box";return this._observers.has(Mt)||this._observers.set(Mt,new w(Mt)),this._observers.get(Mt).observe(Ae)}static \u0275fac=function(It){return new(It||$e)};static \u0275prov=_.jDH({token:$e,factory:$e.\u0275fac,providedIn:"root"})}return $e})();var N=o(18107);const oe=["notch"],H=["matFormFieldNotchedOutline",""],ie=["*"],Ce=["iconPrefixContainer"],Ue=["textPrefixContainer"],nt=["iconSuffixContainer"],we=["textSuffixContainer"],at=["textField"],Xe=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],et=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"];function xe($e,ht){1&$e&&r.nrm(0,"span",20)}function De($e,ht){if(1&$e&&(r.j41(0,"label",19),r.SdG(1,1),r.nVh(2,xe,1,0,"span",20),r.k0s()),2&$e){const Ae=r.XpG(2);r.Y8G("floating",Ae._shouldLabelFloat())("monitorResize",Ae._hasOutline())("id",Ae._labelId),r.BMQ("for",Ae._control.disableAutomaticLabeling?null:Ae._control.id),r.R7$(2),r.vxM(!Ae.hideRequiredMarker&&Ae._control.required?2:-1)}}function ue($e,ht){if(1&$e&&r.nVh(0,De,3,5,"label",19),2&$e){const Ae=r.XpG();r.vxM(Ae._hasFloatingLabel()?0:-1)}}function z($e,ht){1&$e&&r.nrm(0,"div",7)}function de($e,ht){}function ae($e,ht){if(1&$e&&r.DNE(0,de,0,0,"ng-template",13),2&$e){r.XpG(2);const Ae=r.sdS(1);r.Y8G("ngTemplateOutlet",Ae)}}function X($e,ht){if(1&$e&&(r.j41(0,"div",9),r.nVh(1,ae,1,1,null,13),r.k0s()),2&$e){const Ae=r.XpG();r.Y8G("matFormFieldNotchedOutlineOpen",Ae._shouldLabelFloat()),r.R7$(),r.vxM(Ae._forceDisplayInfixLabel()?-1:1)}}function $($e,ht){1&$e&&(r.j41(0,"div",10,2),r.SdG(2,2),r.k0s())}function K($e,ht){1&$e&&(r.j41(0,"div",11,3),r.SdG(2,3),r.k0s())}function Be($e,ht){}function Ye($e,ht){if(1&$e&&r.DNE(0,Be,0,0,"ng-template",13),2&$e){r.XpG();const Ae=r.sdS(1);r.Y8G("ngTemplateOutlet",Ae)}}function Se($e,ht){1&$e&&(r.j41(0,"div",14,4),r.SdG(2,4),r.k0s())}function pt($e,ht){1&$e&&(r.j41(0,"div",15,5),r.SdG(2,5),r.k0s())}function Ge($e,ht){1&$e&&r.nrm(0,"div",16)}function bt($e,ht){1&$e&&r.SdG(0,6)}function me($e,ht){if(1&$e&&(r.j41(0,"mat-hint",21),r.EFF(1),r.k0s()),2&$e){const Ae=r.XpG(2);r.Y8G("id",Ae._hintLabelId),r.R7$(),r.JRh(Ae.hintLabel)}}function J($e,ht){if(1&$e&&(r.nVh(0,me,2,2,"mat-hint",21),r.SdG(1,7),r.nrm(2,"div",22),r.SdG(3,8)),2&$e){const Ae=r.XpG();r.vxM(Ae.hintLabel?0:-1)}}let R=(()=>{class $e{static \u0275fac=function(It){return new(It||$e)};static \u0275dir=r.FsC({type:$e,selectors:[["mat-label"]]})}return $e})();const x=new _.nKC("MatError");let ce=(()=>{class $e{id=(0,_.WQX)(a._).getId("mat-mdc-error-");constructor(){}static \u0275fac=function(It){return new(It||$e)};static \u0275dir=r.FsC({type:$e,selectors:[["mat-error"],["","matError",""]],hostAttrs:[1,"mat-mdc-form-field-error","mat-mdc-form-field-bottom-align"],hostVars:1,hostBindings:function(It,Mt){2&It&&r.Avn("id",Mt.id)},inputs:{id:"id"},features:[r.Jv_([{provide:x,useExisting:$e}])]})}return $e})(),Pe=(()=>{class $e{align="start";id=(0,_.WQX)(a._).getId("mat-mdc-hint-");static \u0275fac=function(It){return new(It||$e)};static \u0275dir=r.FsC({type:$e,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(It,Mt){2&It&&(r.Avn("id",Mt.id),r.BMQ("al
3ign",null),r.AVh("mat-mdc-form-field-hint-end","end"===Mt.align))},inputs:{align:"align",id:"id"}})}return $e})();const pe=new _.nKC("MatPrefix"),Qe=new _.nKC("MatSuffix");let At=(()=>{class $e{set _isTextSelector(Ae){this._isText=!0}_isText=!1;static \u0275fac=function(It){return new(It||$e)};static \u0275dir=r.FsC({type:$e,selectors:[["","matSuffix",""],["","matIconSuffix",""],["","matTextSuffix",""]],inputs:{_isTextSelector:[0,"matTextSuffix","_isTextSelector"]},features:[r.Jv_([{provide:Qe,useExisting:$e}])]})}return $e})();const Ne=new _.nKC("FloatingLabelParent");let ze=(()=>{class $e{_elementRef=(0,_.WQX)(r.aKT);get floating(){return this._floating}set floating(Ae){this._floating=Ae,this.monitorResize&&this._handleResize()}_floating=!1;get monitorResize(){return this._monitorResize}set monitorResize(Ae){this._monitorResize=Ae,this._monitorResize?this._subscribeToResize():this._resizeSubscription.unsubscribe()}_monitorResize=!1;_resizeObserver=(0,_.WQX)(Z);_ngZone=(0,_.WQX)(r.SKi);_parent=(0,_.WQX)(Ne);_resizeSubscription=new b.yU;constructor(){}ngOnDestroy(){this._resizeSubscription.unsubscribe()}getWidth(){return function Ke($e){if(null!==$e.offsetParent)return $e.scrollWidth;const Ae=$e.cloneNode(!0);Ae.style.setProperty("position","absolute"),Ae.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(Ae);const It=Ae.scrollWidth;return Ae.remove(),It}(this._elementRef.nativeElement)}get element(){return this._elementRef.nativeElement}_handleResize(){setTimeout(()=>this._parent._handleLabelResized())}_subscribeToResize(){this._resizeSubscription.unsubscribe(),this._ngZone.runOutsideAngular(()=>{this._resizeSubscription=this._resizeObserver.observe(this._elementRef.nativeElement,{box:"border-box"}).subscribe(()=>this._handleResize())})}static \u0275fac=function(It){return new(It||$e)};static \u0275dir=r.FsC({type:$e,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(It,Mt){2&It&&r.AVh("mdc-floating-label--float-above",Mt.floating)},inputs:{floating:"floating",monitorResize:"monitorResize"}})}return $e})();const Ct="mdc-line-ripple--active",Wt="mdc-line-ripple--deactivating";let ln=(()=>{class $e{_elementRef=(0,_.WQX)(r.aKT);_cleanupTransitionEnd;constructor(){const Ae=(0,_.WQX)(r.SKi),It=(0,_.WQX)(r.sFG);Ae.runOutsideAngular(()=>{this._cleanupTransitionEnd=It.listen(this._elementRef.nativeElement,"transitionend",this._handleTransitionEnd)})}activate(){const Ae=this._elementRef.nativeElement.classList;Ae.remove(Wt),Ae.add(Ct)}deactivate(){this._elementRef.nativeElement.classList.add(Wt)}_handleTransitionEnd=Ae=>{const It=this._elementRef.nativeElement.classList,Mt=It.contains(Wt);"opacity"===Ae.propertyName&&Mt&&It.remove(Ct,Wt)};ngOnDestroy(){this._cleanupTransitionEnd()}static \u0275fac=function(It){return new(It||$e)};static \u0275dir=r.FsC({type:$e,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"]})}return $e})(),Rn=(()=>{class $e{_elementRef=(0,_.WQX)(r.aKT);_ngZone=(0,_.WQX)(r.SKi);open=!1;_notch;ngAfterViewInit(){const Ae=this._elementRef.nativeElement,It=Ae.querySelector(".mdc-floating-label");It?(Ae.classList.add("mdc-notched-outline--upgraded"),"function"==typeof requestAnimationFrame&&(It.style.transitionDuration="0s",this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>It.style.transitionDuration="")}))):Ae.classList.add("mdc-notched-outline--no-label")}_setNotchWidth(Ae){this._notch.nativeElement.style.width=this.open&&Ae?`calc(${Ae}px * var(--mat-mdc-form-field-floating-label-scale, 0.75) + 9px)`:""}_setMaxWidth(Ae){this._notch.nativeElement.style.setProperty("--mat-form-field-notch-max-width",`calc(100% - ${Ae}px)`)}static \u0275fac=function(It){return new(It||$e)};static \u0275cmp=r.VBU({type:$e,selectors:[["div","matFormFieldNotchedOutline",""]],viewQuery:function(It,Mt){if(1&It&&r.GBs(oe,5),2&It){let on;r.mGM(on=r.lsd())&&(Mt._notch=on.first)}},hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(It,Mt){2&It&&r.AVh("mdc-notched-outline--notched",Mt.open)},inputs:{open:[0,"matFormFieldNotchedOutlineOpen","open"]},attrs:H,ngContentSelectors:ie,decls:5,vars:0,consts:[["notch",""],[1,"mat-mdc-notch-piece","mdc-notched-outline__leading"],[1,"mat-mdc-notch-piece","mdc-notched-outline__notch"],[1,"mat-mdc-notch-piece","mdc-notched-outline__trailing"]],template:function(It,Mt){1&It&&(r.NAR(),r.Hgh(0,"div",1),r.rj2(1,"div",2,0),r.SdG(3),r.eux(),r.Hgh(4,"div",3))},encapsulation:2,changeDetection:0})}return $e})(),Dn=(()=>{class $e{value;stateChanges;id;placeholder;ngControl;focused;empty;shouldLabelFloat;required;disabled;errorState;controlType;autofilled;userAriaDescribedBy;disableAutomaticLabeling;describedByIds;static \u0275fac=function(It){return new(It||$e)};static \u0275dir=r.FsC({type:$e})}return $e})();const ti=new _.nKC("MatFormField"),$t=new _.nKC("MAT_FORM_FIELD_DEFAULT_OPTIONS");let vt=(()=>{class $e{_elementRef=(0,_.WQX)(r.aKT);_changeDetectorRef=(0,_.WQX)(h.gRc);_platform=(0,_.WQX)(M.P);_idGenerator=(0,_.WQX)(a._);_ngZone=(0,_.WQX)(r.SKi);_defaults=(0,_.WQX)($t,{optional:!0});_currentDirection;_textField;_iconPrefixContainer;_textPrefixContainer;_iconSuffixContainer;_textSuffixContainer;_floatingLabel;_notchedOutline;_lineRipple;_iconPrefixContainerSignal=(0,h.ebz)("iconPrefixContainer");_textPrefixContainerSignal=(0,h.ebz)("textPrefixContainer");_iconSuffixContainerSignal=(0,h.ebz)("iconSuffixContainer");_textSuffixContainerSignal=(0,h.ebz)("textSuffixContainer");_prefixSuffixContainers=(0,C.EW)(()=>[this._iconPrefixContainerSignal(),this._textPrefixContainerSignal(),this._iconSuffixContainerSignal(),this._textSuffixContainerSignal()].map(Ae=>Ae?.nativeElement).filter(Ae=>void 0!==Ae));_formFieldControl;_prefixChildren;_suffixChildren;_errorChildren;_hintChildren;_labelChild=(0,h.sbv)(R);get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(Ae){this._hideRequiredMarker=(0,u.he)(Ae)}_hideRequiredMarker=!1;color="primary";get floatLabel(){return this._floatLabel||this._defaults?.floatLabel||"auto"}set floatLabel(Ae){Ae!==this._floatLabel&&(this._floatLabel=Ae,this._changeDetectorRef.markForCheck())}_floatLabel;get appearance(){return this._appearanceSignal()}set appearance(Ae){this._appearanceSignal.set(Ae||this._defaults?.appearance||"fill")}_appearanceSignal=(0,_.vPA)("fill");
3get subscriptSizing(){return this._subscriptSizing||this._defaults?.subscriptSizing||"fixed"}set subscriptSizing(Ae){this._subscriptSizing=Ae||this._defaults?.subscriptSizing||"fixed"}_subscriptSizing=null;get hintLabel(){return this._hintLabel}set hintLabel(Ae){this._hintLabel=Ae,this._processHints()}_hintLabel="";_hasIconPrefix=!1;_hasTextPrefix=!1;_hasIconSuffix=!1;_hasTextSuffix=!1;_labelId=this._idGenerator.getId("mat-mdc-form-field-label-");_hintLabelId=this._idGenerator.getId("mat-mdc-hint-");_describedByIds;get _control(){return this._explicitFormFieldControl||this._formFieldControl}set _control(Ae){this._explicitFormFieldControl=Ae}_destroyed=new D.B;_isFocused=null;_explicitFormFieldControl;_previousControl=null;_previousControlValidatorFn=null;_stateChanges;_valueChanges;_describedByChanges;_outlineLabelOffsetResizeObserver=null;_animationsDisabled=(0,N._)();constructor(){const Ae=this._defaults,It=(0,_.WQX)(t.D);Ae&&(Ae.appearance&&(this.appearance=Ae.appearance),this._hideRequiredMarker=!!Ae?.hideRequiredMarker,Ae.color&&(this.color=Ae.color)),(0,C.QZ)(()=>this._currentDirection=It.valueSignal()),this._syncOutlineLabelOffset()}ngAfterViewInit(){this._updateFocusState(),this._animationsDisabled||this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{this._elementRef.nativeElement.classList.add("mat-form-field-animations-enabled")},300)}),this._changeDetectorRef.detectChanges()}ngAfterContentInit(){this._assertFormFieldControl(),this._initializeSubscript(),this._initializePrefixAndSuffix()}ngAfterContentChecked(){this._assertFormFieldControl(),this._control!==this._previousControl&&(this._initializeControl(this._previousControl),this._control.ngControl&&this._control.ngControl.control&&(this._previousControlValidatorFn=this._control.ngControl.control.validator),this._previousControl=this._control),this._control.ngControl&&this._control.ngControl.control&&this._control.ngControl.control.validator!==this._previousControlValidatorFn&&this._changeDetectorRef.markForCheck()}ngOnDestroy(){this._outlineLabelOffsetResizeObserver?.disconnect(),this._stateChanges?.unsubscribe(),this._valueChanges?.unsubscribe(),this._describedByChanges?.unsubscribe(),this._destroyed.next(),this._destroyed.complete()}getLabelId=(0,C.EW)(()=>this._hasFloatingLabel()?this._labelId:null);getConnectedOverlayOrigin(){return this._textField||this._elementRef}_animateAndLockLabel(){this._hasFloatingLabel()&&(this.floatLabel="always")}_initializeControl(Ae){const It=this._control,Mt="mat-mdc-form-field-type-";Ae&&this._elementRef.nativeElement.classList.remove(Mt+Ae.controlType),It.controlType&&this._elementRef.nativeElement.classList.add(Mt+It.controlType),this._stateChanges?.unsubscribe(),this._stateChanges=It.stateChanges.subscribe(()=>{this._updateFocusState(),this._changeDetectorRef.markForCheck()}),this._describedByChanges?.unsubscribe(),this._describedByChanges=It.stateChanges.pipe((0,O.Z)([void 0,void 0]),(0,d.T)(()=>[It.errorState,It.userAriaDescribedBy]),function se(){return(0,L.N)(($e,ht)=>{let Ae,It=!1;$e.subscribe((0,E._)(ht,Mt=>{const on=Ae;Ae=Mt,It&&ht.next([on,Mt]),It=!0}))})}(),(0,Y.p)(([[on,Gt],[hn,Cn]])=>on!==hn||Gt!==Cn)).subscribe(()=>this._syncDescribedByIds()),this._valueChanges?.unsubscribe(),It.ngControl&&It.ngControl.valueChanges&&(this._valueChanges=It.ngControl.valueChanges.pipe((0,ne.Q)(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()))}_checkPrefixAndSuffixTypes(){this._hasIconPrefix=!!this._prefixChildren.find(Ae=>!Ae._isText),this._hasTextPrefix=!!this._prefixChildren.find(Ae=>Ae._isText),this._hasIconSuffix=!!this._suffixChildren.find(Ae=>!Ae._isText),this._hasTextSuffix=!!this._suffixChildren.find(Ae=>Ae._isText)}_initializePrefixAndSuffix(){this._checkPrefixAndSuffixTypes(),(0,f.h)(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._checkPrefixAndSuffixTypes(),this._changeDetectorRef.markForCheck()})}_initializeSubscript(){this._hintChildren.changes.subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}
3),this._validateHints(),this._syncDescribedByIds()}_assertFormFieldControl(){}_updateFocusState(){const Ae=this._control.focused;Ae&&!this._isFocused?(this._isFocused=!0,this._lineRipple?.activate()):!Ae&&(this._isFocused||null===this._isFocused)&&(this._isFocused=!1,this._lineRipple?.deactivate()),this._elementRef.nativeElement.classList.toggle("mat-focused",Ae),this._textField?.nativeElement.classList.toggle("mdc-text-field--focused",Ae)}_syncOutlineLabelOffset(){(0,h.uEv)({earlyRead:()=>{if("outline"!==this._appearanceSignal())return this._outlineLabelOffsetResizeObserver?.disconnect(),null;if(globalThis.ResizeObserver){this._outlineLabelOffsetResizeObserver||=new globalThis.ResizeObserver(()=>{this._writeOutlinedLabelStyles(this._getOutlinedLabelOffset())});for(const Ae of this._prefixSuffixContainers())this._outlineLabelOffsetResizeObserver.observe(Ae,{box:"border-box"})}return this._getOutlinedLabelOffset()},write:Ae=>this._writeOutlinedLabelStyles(Ae())})}_shouldAlwaysFloat(){return"always"===this.floatLabel}_hasOutline(){return"outline"===this.appearance}_forceDisplayInfixLabel(){return!this._platform.isBrowser&&this._prefixChildren.length&&!this._shouldLabelFloat()}_hasFloatingLabel=(0,C.EW)(()=>!!this._labelChild());_shouldLabelFloat(){return!!this._hasFloatingLabel()&&(this._control.shouldLabelFloat||this._shouldAlwaysFloat())}_shouldForward(Ae){const It=this._control?this._control.ngControl:null;return It&&It[Ae]}_getSubscriptMessageType(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_handleLabelResized(){this._refreshOutlineNotchWidth()}_refreshOutlineNotchWidth(){this._hasOutline()&&this._floatingLabel&&this._shouldLabelFloat()?this._notchedOutline?._setNotchWidth(this._floatingLabel.getWidth()):this._notchedOutline?._setNotchWidth(0)}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){}_syncDescribedByIds(){if(this._control){let Ae=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&Ae.push(...this._control.userAriaDescribedBy.split(" ")),"hint"===this._getSubscriptMessageType()){const on=this._hintChildren?this._hintChildren.find(hn=>"start"===hn.align):null,Gt=this._hintChildren?this._hintChildren.find(hn=>"end"===hn.align):null;on?Ae.push(on.id):this._hintLabel&&Ae.push(this._hintLabelId),Gt&&Ae.push(Gt.id)}else this._errorChildren&&Ae.push(...this._errorChildren.map(on=>on.id));const It=this._control.describedByIds;let Mt;if(It){const on=this._describedByIds||Ae;Mt=Ae.concat(It.filter(Gt=>Gt&&!on.includes(Gt)))}else Mt=Ae;this._control.setDescribedByIds(Mt),this._describedByIds=Ae}}_getOutlinedLabelOffset(){if(!this._hasOutline()||!this._floatingLabel)return null;if(!this._iconPrefixContainer&&!this._textPrefixContainer)return["",null];if(!this._isAttachedToDom())return null;const Ae=this._iconPrefixContainer?.nativeElement,It=this._textPrefixContainer?.nativeElement,Mt=this._iconSuffixContainer?.nativeElement,on=this._textSuffixContainer?.nativeElement,Gt=Ae?.getBoundingClientRect().width??0,hn=It?.getBoundingClientRect().width??0,Cn=Mt?.getBoundingClientRect().width??0,Sn=on?.getBoundingClientRect().width??0;return[`var(--mat-mdc-form-field-label-transform, translateY(-50%) translateX(calc(${"rtl"===this._currentDirection?"-1":"1"} * (${Gt+hn}px + var(--mat-mdc-form-field-label-offset-x, 0px)))))`,Gt+hn+Cn+Sn]}_writeOutlinedLabelStyles(Ae){if(null!==Ae){const[It,Mt]=Ae;this._floatingLabel&&(this._floatingLabel.element.style.transform=It),null!==Mt&&this._notchedOutline?._setMaxWidth(Mt)}}_isAttachedToDom(){const Ae=this._elementRef.nativeElement;if(Ae.getRootNode){const It=Ae.getRootNode();return It&&It!==Ae}return document.documentElement.contains(Ae)}static \u0275fac=function(It){return new(It||$e)};static \u0275cmp=r.VBU({type:$e,selectors:[["mat-form-field"]],contentQueries:function(It,Mt,on){if(1&It&&(r.C6U(on,Mt._labelChild,R,5),r.wni(on,Dn,5),r.wni(on,pe,5),r.wni(on,Qe,5),r.wni(on,x,5),r.wni(on,Pe,5)),2&It){let Gt;r.NyB(),r.mGM(Gt=r.lsd())&&(Mt._formFieldControl=Gt.first),r.mGM(Gt=r.lsd())&&(Mt._prefixChildren=Gt),r.mGM(Gt=r.lsd())&&(Mt._suffixChildren=Gt),r.mGM(Gt=r.lsd())&&(Mt._errorChildren=Gt),r.mGM(Gt=r.lsd())&&(Mt._hintChildren=Gt)}},viewQuery:function(It,Mt){if(1&It&&(r.wEZ(Mt._iconPrefixContainerSignal,Ce,5),r.wEZ(Mt._textPrefixContainerSignal,Ue,5),r.wEZ(Mt._iconSuffixContainerSignal,nt,5),r.wEZ(Mt._textSuffixContainerSignal,we,5),r.GBs(at,5),r.GBs(Ce,5),r.GBs(Ue,5),r.GBs(nt,5),r.GBs(we,5),r.GBs(ze,5),r.GBs(Rn,5),r.GBs(ln,5)),2&It){let on;r.NyB(4),r.mGM(on=r.lsd())&&(Mt._textField=on.first),r.mGM(on=r.lsd())&&(Mt._iconPrefixContainer=on.first),r.mGM(on=r.lsd())&&(Mt._textPrefixContainer=on.first),r.mGM(on=r.lsd())&&(Mt._iconSuffixContainer=on.first),r.mGM(on=r.lsd())&&(Mt._textSuffixContainer=on.first),r.mGM(on=r.lsd())&&(Mt._floatingLabel=on.first),r.mGM(on=r.lsd())&&(Mt._notchedOutline=on.first),r.mGM(on=r.lsd())&&(Mt._lineRipple=on.first)}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:38,hostBindings:function(It,Mt){2&It&&r.AVh("mat-mdc-form-field-label-always-float",Mt._shouldAlwaysFloat
3())("mat-mdc-form-field-has-icon-prefix",Mt._hasIconPrefix)("mat-mdc-form-field-has-icon-suffix",Mt._hasIconSuffix)("mat-form-field-invalid",Mt._control.errorState)("mat-form-field-disabled",Mt._control.disabled)("mat-form-field-autofilled",Mt._control.autofilled)("mat-form-field-appearance-fill","fill"==Mt.appearance)("mat-form-field-appearance-outline","outline"==Mt.appearance)("mat-form-field-hide-placeholder",Mt._hasFloatingLabel()&&!Mt._shouldLabelFloat())("mat-primary","accent"!==Mt.color&&"warn"!==Mt.color)("mat-accent","accent"===Mt.color)("mat-warn","warn"===Mt.color)("ng-untouched",Mt._shouldForward("untouched"))("ng-touched",Mt._shouldForward("touched"))("ng-pristine",Mt._shouldForward("pristine"))("ng-dirty",Mt._shouldForward("dirty"))("ng-valid",Mt._shouldForward("valid"))("ng-invalid",Mt._shouldForward("invalid"))("ng-pending",Mt._shouldForward("pending"))},inputs:{hideRequiredMarker:"hideRequiredMarker",color:"color",floatLabel:"floatLabel",appearance:"appearance",subscriptSizing:"subscriptSizing",hintLabel:"hintLabel"},exportAs:["matFormField"],features:[r.Jv_([{provide:ti,useExisting:$e},{provide:Ne,useExisting:$e}])],ngContentSelectors:et,decls:19,vars:25,consts:[["labelTemplate",""],["textField",""],["iconPrefixContainer",""],["textPrefixContainer",""],["textSuffixContainer",""],["iconSuffixContainer",""],[1,"mat-mdc-text-field-wrapper","mdc-text-field",3,"click"],[1,"mat-mdc-form-field-focus-overlay"],[1,"mat-mdc-form-field-flex"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen"],[1,"mat-mdc-form-field-icon-prefix"],[1,"mat-mdc-form-field-text-prefix"],[1,"mat-mdc-form-field-infix"],[3,"ngTemplateOutlet"],[1,"mat-mdc-form-field-text-suffix"],[1,"mat-mdc-form-field-icon-suffix"],["matFormFieldLineRipple",""],[1,"mat-mdc-form-field-subscript-wrapper","mat-mdc-form-field-bottom-align"],["aria-atomic","true","aria-live","polite"],["matFormFieldFloatingLabel","",3,"floating","monitorResize","id"],["aria-hidden","true",1,"mat-mdc-form-field-required-marker","mdc-floating-label--required"],[3,"id"],[1,"mat-mdc-form-field-hint-spacer"]],template:function(It,Mt){if(1&It){const on=r.RV6();r.NAR(Xe),r.DNE(0,ue,1,1,"ng-template",null,0,r.C5r),r.j41(2,"div",6,1),r.bIt("click",function(hn){return _.eBV(on),_.Njj(Mt._control.onContainerClick(hn))}),r.nVh(4,z,1,0,"div",7),r.j41(5,"div",8),r.nVh(6,X,2,2,"div",9),r.nVh(7,$,3,0,"div",10),r.nVh(8,K,3,0,"div",11),r.j41(9,"div",12),r.nVh(10,Ye,1,1,null,13),r.SdG(11),r.k0s(),r.nVh(12,Se,3,0,"div",14),r.nVh(13,pt,3,0,"div",15),r.k0s(),r.nVh(14,Ge,1,0,"div",16),r.k0s(),r.j41(15,"div",17)(16,"div",18),r.nVh(17,bt,1,0)(18,J,4,1),r.k0s()()}if(2&It){let on;r.R7$(2),r.AVh("mdc-text-field--filled",!Mt._hasOutline())("mdc-text-field--outlined",Mt._hasOutline())("mdc-text-field--no-label",!Mt._hasFloatingLabel())("mdc-text-field--disabled",Mt._control.disabled)("mdc-text-field--invalid",Mt._control.errorState),r.R7$(2),r.vxM(Mt._hasOutline()||Mt._control.disabled?-1:4),r.R7$(2),r.vxM(Mt._hasOutline()?6:-1),r.R7$(),r.vxM(Mt._hasIconPrefix?7:-1),r.R7$(),r.vxM(Mt._hasTextPrefix?8:-1),r.R7$(2),r.vxM(!Mt._hasOutline()||Mt._forceDisplayInfixLabel()?10:-1),r.R7$(2),r.vxM(Mt._hasTextSuffix?12:-1),r.R7$(),r.vxM(Mt._hasIconSuffix?13:-1),r.R7$(),r.vxM(Mt._hasOutline()?-1:14),r.R7$(),r.AVh("mat-mdc-form-field-subscript-dynamic-size","dynamic"===Mt.subscriptSizing);const Gt=Mt._getSubscriptMessageType();r.R7$(),r.AVh("mat-mdc-form-field-error-wrapper","error"===Gt)("mat-mdc-form-field-hint-wrapper","hint"===Gt),r.R7$(),r.vxM("error"===(on=Gt)?17:"hint"===on?18:-1)}},dependencies:[ze,Rn,v.T3,ln,Pe],styles:['.mdc-text-field{display:inline-flex;align-items:baseline;padding:0 16px;position:relative;box-sizing:border-box;overflow:hidden;will-change:opacity,transform,color;border-top-left-radius:4px;border-top-right-radius:4px;border-bottom-right-radius:0;border-bottom-left-radius:0}.mdc-text-field__input{width:100%;min-width:0;border:none;border-radius:0;background:none;padding:0;-moz-appearance:none;-webkit-appearance:none;height:28px}.mdc-text-field__input::-webkit-calendar-picker-indicator,.mdc-text-field__input::-webkit-search-cancel-button{display:none}.mdc-text-field__input::-ms-clear{display:none}.mdc-text-field__input:focus{outline:none}.mdc-text-field__input:invalid{box-shadow:none}.mdc-text-field__input::placeholder{opacity:0}
3.mdc-text-field__input::-moz-placeholder{opacity:0}.mdc-text-field__input::-webkit-input-placeholder{opacity:0}.mdc-text-field__input:-ms-input-placeholder{opacity:0}.mdc-text-field--no-label .mdc-text-field__input::placeholder,.mdc-text-field--focused .mdc-text-field__input::placeholder{opacity:1}.mdc-text-field--no-label .mdc-text-field__input::-moz-placeholder,.mdc-text-field--focused .mdc-text-field__input::-moz-placeholder{opacity:1}.mdc-text-field--no-label .mdc-text-field__input::-webkit-input-placeholder,.mdc-text-field--focused .mdc-text-field__input::-webkit-input-placeholder{opacity:1}.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{opacity:1}.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive::placeholder{opacity:0}.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive::-moz-placeholder{opacity:0}
3.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive::-webkit-input-placeholder{opacity:0}.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive:-ms-input-placeholder{opacity:0}.mdc-text-field--outlined .mdc-text-field__input,.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{height:100%}.mdc-text-field--outlined .mdc-text-field__input{display:flex;border:none !important;background-color:rgba(0,0,0,0)}.mdc-text-field--disabled .mdc-text-field__input{pointer-events:auto}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mat-form-field-filled-input-text-color, var(--mat-sys-on-surface));caret-color:var(--mat-form-field-filled-caret-color, var(--mat-sys-primary))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mat-form-field-filled-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::-moz-placeholder{color:var(--mat-form-field-filled-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::-webkit-input-placeholder{color:var(--mat-form-field-filled-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mat-form-field-filled-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mat-form-field-outlined-input-text-color, var(--mat-sys-on-surface));caret-color:var(--mat-form-field-outlined-caret-color, var(--mat-sys-primary))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mat-form-field-outlined-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::-moz-placeholder{color:var(--mat-form-field-outlined-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::-webkit-input-placeholder{color:var(--mat-form-field-outlined-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mat-form-field-outlined-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mat-form-field-filled-error-caret-color, var(--mat-sys-error))}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mat-form-field-outlined-error-caret-color, var(--mat-sys-error))}.mdc-text-field--filled.mdc-text-field--disabled .mdc-text-field__input{color:var(--mat-form-field-filled-disabled-input-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-text-field__input{color:var(--mat-form-field-outlined-disabled-input-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}@media(forced-colors: active){.mdc-text-field--disabled .mdc-text-field__input{background-color:Window}}.mdc-text-field--filled{height:56px;border-bottom-right-radius:0;border-bottom-left-radius:0;border-top-left-radius:var(--mat-form-field-filled-container-shape, var(--mat-sys-corner-extra-small));border-top-right-radius:var(--mat-form-field-filled-container-shape, var(--mat-sys-corner-extra-small))}.mdc-text-field--filled:not(.mdc-text-field--disabled){background-color:var(--mat-form-field-filled-container-color, var(--mat-sys-surface-variant))}.mdc-text-field--filled.mdc-text-field--disabled{background-color:var(--mat-form-field-filled-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 4%, transparent))}.mdc-text-field--outlined{height:56px;overflow:visible;padding-right:max(16px,var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small)));padding-left:max(16px,var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small)) + 4px)}[dir=rtl] .mdc-text-field--outlined{padding-right:max(16px,var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small)) + 4px);padding-left:max(16px,var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small)))}.mdc-floating-label{position:absolute;
3left:0;transform-origin:left top;line-height:1.15rem;text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:text;overflow:hidden;will-change:transform}[dir=rtl] .mdc-floating-label{right:0;left:auto;transform-origin:right top;text-align:right}.mdc-text-field .mdc-floating-label{top:50%;transform:translateY(-50%);pointer-events:none}.mdc-notched-outline .mdc-floating-label{display:inline-block;position:relative;max-width:100%}.mdc-text-field--outlined .mdc-floating-label{left:4px;right:auto}[dir=rtl] .mdc-text-field--outlined .mdc-floating-label{left:auto;right:4px}.mdc-text-field--filled .mdc-floating-label{left:16px;right:auto}[dir=rtl] .mdc-text-field--filled .mdc-floating-label{left:auto;right:16px}.mdc-text-field--disabled .mdc-floating-label{cursor:default}@media(forced-colors: active){.mdc-text-field--disabled .mdc-floating-label{z-index:1}}.mdc-text-field--filled.mdc-text-field--no-label .mdc-floating-label{display:none}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-floating-label{color:var(--mat-form-field-filled-label-text-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label{color:var(--mat-form-field-filled-focus-label-text-color, var(--mat-sys-primary))}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label{color:var(--mat-form-field-filled-hover-label-text-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled.mdc-text-field--disabled .mdc-floating-label{color:var(--mat-form-field-filled-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-floating-label{color:var(--mat-form-field-filled-error-label-text-color, var(--mat-sys-error))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mdc-floating-label{color:var(--mat-form-field-filled-error-focus-label-text-color, var(--mat-sys-error))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--disabled):hover .mdc-floating-label{color:var(--mat-form-field-filled-error-hover-label-text-color, var(--mat-sys-on-error-container))}.mdc-text-field--filled .mdc-floating-label{font-family:var(--mat-form-field-filled-label-text-font, var(--mat-sys-body-large-font));font-size:var(--mat-form-field-filled-label-text-size, var(--mat-sys-body-large-size));font-weight:var(--mat-form-field-filled-label-text-weight, var(--mat-sys-body-large-weight));letter-spacing:var(--mat-form-field-filled-label-text-tracking, var(--mat-sys-body-large-tracking))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-floating-label{color:var(--mat-form-field-outlined-label-text-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label{color:var(--mat-form-field-outlined-focus-label-text-color, var(--mat-sys-primary))}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label{color:var(--mat-form-field-outlined-hover-label-text-color, var(--mat-sys-on-surface))}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-floating-label{color:var(--mat-form-field-outlined-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-floating-label{color:var(--mat-form-field-outlined-error-label-text-color, var(--mat-sys-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mdc-floating-label{color:var(--mat-form-field-outlined-error-focus-label-text-color, var(--mat-sys-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--disabled):hover .mdc-floating-label{color:var(--mat-form-field-outlined-error-hover-label-text-color, var(--mat-sys-on-error-container))}.mdc-text-field--outlined .mdc-floating-label{font-family:var(--mat-form-field-outlined-label-text-font, var(--mat-sys-body-large-font));font-size:var(--mat-form-field-outlined-label-text-size, var(--mat-sys-body-large-size));font-weight:var(--mat-form-field-outlined-label-text-weight, var(--mat-sys-body-large-weight));letter-spacing:var(--mat-form-field-outlined-label-text-tracking, var(--mat-sys-body-large-tracking))}.mdc-floating-label--float-above{cursor:auto;transform:translateY(-106%) scale(0.75)}.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) scale(1);font-size:.75rem}.mdc-notched-outline .mdc-floating-label--float-above{text-overflow:clip}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:133.3333333333%}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) scale(0.75)}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after{margin-left:1px;margin-right:0;content:"*"}[dir=rtl] .mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after{margin-left:0;margin-right:1px}.mdc-notched-outline{display:flex;position:absolute;top:0;right:0;left:0;box-sizing:border-box;width:100%;max-width:100%;height:100%;text-align:left;pointer-events:none}[dir=rtl] .mdc-notched-outline{text-align:right}.mdc-text-field--outlined .mdc-notched-outline{z-index:1}.mat-mdc-notch-piece{box-sizing:border-box;height:100%;pointer-events:none;border-top:1px solid;border-bottom:1px solid}.mdc-text-field--focused .mat-mdc-notch-piece{border-width:2px}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mat-mdc-notch-piece{border-color:var(--mat-form-field-outlined-outline-color, var(--mat-sys-outline));border-width:var(--mat-form-field-outlined-outline-width, 1px)}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):h
3over .mat-mdc-notch-piece{border-color:var(--mat-form-field-outlined-hover-outline-color, var(--mat-sys-on-surface))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mat-mdc-notch-piece{border-color:var(--mat-form-field-outlined-focus-outline-color, var(--mat-sys-primary))}.mdc-text-field--outlined.mdc-text-field--disabled .mat-mdc-notch-piece{border-color:var(--mat-form-field-outlined-disabled-outline-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid .mat-mdc-notch-piece{border-color:var(--mat-form-field-outlined-error-outline-color, var(--mat-sys-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--focused):hover .mdc-notched-outline .mat-mdc-notch-piece{border-color:var(--mat-form-field-outlined-error-hover-outline-color, var(--mat-sys-on-error-container))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mat-mdc-notch-piece{border-color:var(--mat-form-field-outlined-error-focus-outline-color, var(--mat-sys-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mat-mdc-notch-piece{border-width:var(--mat-form-field-outlined-focus-outline-width, 2px)}.mdc-notched-outline__leading{border-left:1px solid;border-right:none;border-top-right-radius:0;border-bottom-right-radius:0;border-top-left-radius:var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small));border-bottom-left-radius:var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small))}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px,var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small)))}[dir=rtl] .mdc-notched-outline__leading{border-left:none;border-right:1px solid;border-bottom-left-radius:0;border-top-left-radius:0;border-top-right-radius:var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small));border-bottom-right-radius:var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small))}.mdc-notched-outline__trailing{flex-grow:1;border-left:none;border-right:1px solid;border-top-left-radius:0;border-bottom-left-radius:0;border-top-right-radius:var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small));border-bottom-right-radius:var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small))}[dir=rtl] .mdc-notched-outline__trailing{border-left:1px solid;border-right:none;border-top-right-radius:0;border-bottom-right-radius:0;border-top-left-radius:var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small));border-bottom-left-radius:var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small))}.mdc-notched-outline__notch{flex:0 0 auto;width:auto}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:min(var(--mat-form-field-notch-max-width, 100%),calc(100% - max(12px, var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small))) * 2))}.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{max-width:min(100%,calc(100% - max(12px, var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small))) * 2))}.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:1px}.mdc-text-field--focused.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:2px}.mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:0;padding-right:8px;border-top:none}[dir=rtl] .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:8px;padding-right:0}.mdc-notched-outline--no-label .mdc-notched-outline__notch{display:none}.mdc-line-ripple::before,.mdc-line-ripple::after{position:absolute;bottom:0;left:0;width:100%;border-bottom-style:solid;content:""}.mdc-line-ripple::before{z-index:1;border-bottom-width:var(--mat-form-field-filled-active-indicator-height, 1px)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:var(--mat-form-field-filled-active-indicator-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):h
3over .mdc-line-ripple::before{border-bottom-color:var(--mat-form-field-filled-hover-active-indicator-color, var(--mat-sys-on-surface))}.mdc-text-field--filled.mdc-text-field--disabled .mdc-line-ripple::before{border-bottom-color:var(--mat-form-field-filled-disabled-active-indicator-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-line-ripple::before{border-bottom-color:var(--mat-form-field-filled-error-active-indicator-color, var(--mat-sys-error))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mat-form-field-filled-error-hover-active-indicator-color, var(--mat-sys-on-error-container))}.mdc-line-ripple::after{transform:scaleX(0);opacity:0;z-index:2}.mdc-text-field--filled .mdc-line-ripple::after{border-bottom-width:var(--mat-form-field-filled-focus-active-indicator-height, 2px)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mat-form-field-filled-focus-active-indicator-color, var(--mat-sys-primary))}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mat-form-field-filled-error-focus-active-indicator-color, var(--mat-sys-error))}.mdc-line-ripple--active::after{transform:scaleX(1);opacity:1}.mdc-line-ripple--deactivating::after{opacity:0}.mdc-text-field--disabled{pointer-events:none}.mat-mdc-form-field-textarea-control{vertical-align:middle;resize:vertical;box-sizing:border-box;height:auto;margin:0;padding:0;border:none;overflow:auto}.mat-mdc-form-field-input-control.mat-mdc-form-field-input-control{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font:inherit;letter-spacing:inherit;text-decoration:inherit;text-transform:inherit;border:none}.mat-mdc-form-field .mat-mdc-floating-label.mdc-floating-label{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;line-height:normal;pointer-events:all;will-change:auto}.mat-mdc-form-field:not(.mat-form-field-disabled) .mat-mdc-floating-label.mdc-floating-label{cursor:inherit}.mdc-text-field--no-label:not(.mdc-text-field--textarea) .mat-mdc-form-field-input-control.mdc-text-field__input,.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control{height:auto}.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control.mdc-text-field__input[type=color]{height:23px}.mat-mdc-text-field-wrapper{height:auto;flex:auto;will-change:auto}.mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-left:0;--mat-mdc-form-field-label-offset-x: -16px}.mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-right:0}[dir=rtl] .mat-mdc-text-field-wrapper{padding-left:16px;padding-right:16px}[dir=rtl] .mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-left:0}[dir=rtl] .mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-right:0}.mat-form-field-disabled .mdc-text-field__input::placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-form-field-disabled .mdc-text-field__input::-moz-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-form-field-disabled .mdc-text-field__input::-webkit-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-form-field-disabled .mdc-text-field__input:-ms-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-form-field-label-always-float .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms;opacity:1}.mat-mdc-text-field-wrapper .mat-mdc-form-field-infix .mat-mdc-floating-label{left:auto;right:auto}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-text-field__input{display:inline-block}.mat-mdc-form-field .mat-mdc-text-field-wrapper.mdc-text-field .mdc-notched-outline__notch{padding-top:0}.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch{border-left:1px solid rgba(0,0,0,0)}[dir=rtl] .mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch{border-left:none;border-right:1px solid rgba(0,0,0,0)}.mat-mdc-form-field-infix{min-height:var(--mat-form-field-container-height, 56px);padding-top:var(--mat-form-field-filled-with-label-container-padding-top, 24px);padding-bottom:var(--mat-form-field-filled-with-label-container-padding-bottom, 8px)}.mdc-text-field--outlined .mat-mdc-form-field-infix,.mdc-text-field--no-label .mat-mdc-form-field-infix{padding-top:var(--mat-form-field-container-vertical-padding, 16px);padding-bottom:var(--mat-form-field-container-vertical-padding, 16px)}.mat-mdc-text-field-wrapper .mat-mdc-form-field-flex .mat-mdc-floating-label{top:calc(var(--mat-form-field-container-height, 56px)/2)}.mdc-text-field--filled .mat-mdc-floating-label{display:var(--mat-form-field-filled-label-display, block)}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{--mat-mdc-form-field-label-transform: translateY(calc(calc(6.75px + var(--mat-form-field-container-height, 56px) / 2) * -1)) scale(var(--mat-mdc-form-field-floating-label-scale, 0.75));transform:var(--mat-mdc-form-field-label-transform)}@keyframes _mat-form-field-subscript-animation{from{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translateY(0)}}.mat-mdc-form-field-subscript-wrapper{box-sizing:border-box;width:100%;position:relative}.mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-error-wrapper{position:absolute;top:0;left:0;right:0;padding:0 16px;opacity:1;transform:translateY(0);animation:_mat-form-field-subscript-animation 0ms cubic-bezier(0.55, 0, 0.55, 0.2)}.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-error-wrapper{position:static}.mat-mdc-form-field-bottom-align::before{content:"";display:inline-block;height:16px}.mat-mdc-form-field-bottom-align.mat-mdc-form-field-subscript-dynamic-size::before{content:unset}.mat-mdc-form-field-hint-end{order:1}.mat-mdc-form-field-hint-wrapper{display:flex}.mat-mdc-form-field-hint-spacer{flex:1 0 1em}.mat-mdc-form-field-error{display:block;color:var(--mat-form-field-error-text-color, var(--mat-sys-error))}.mat-mdc-form-field-subscript-wrapper,.mat-mdc-form-field-bottom-align::before{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-subscript-text-font, var(--mat-sys-body-small-font));line-height:var(--mat-form-field-subscript-text-line-height, var(--mat-sys-body-small-line-height));font-size:var(--mat-form-field-subscript-text-size, var(--mat-sys-body-small-size));letter-spacing:var(--mat-form-field-subscript-text-tracking, var(--mat-sys-body-small-tracking));font-weight:var(--mat-form-field-subscript-text-weight, var(--mat-sys-body-small-weight))}.mat-mdc-form-field-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;opacity:0;pointer-events:none;background-color:var(--mat-form-field-state-layer-color, var(--mat-sys-on-surface))}.mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-focus-overlay{opacity:var(--mat-form-field-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-form-field.mat-focused .mat-mdc-form-field-focus-overlay{opacity:var(--mat-form-field-focus-state-layer-opacity, 0)}select.mat-mdc-form-field-input-control{-moz-appearance:none;-webkit-appearance:none;background-color:rgba(0,0,0,0);display:inline-flex;box-sizing:border-box}select.mat-mdc-form-field-input-control:not(:disabled){cursor:pointer}select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option{color:var(--mat-form-field-select-option-text-color, var(--mat-sys-neutral10))}select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option:disabled{color:var(--mat-form-field-select-disabled-option-text-color, color-mix(in srgb, var(--mat-sys-neutral10) 38%, transparent))}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{content:"";width:0;height:0;border-left:5px solid rgba(0,0,0,0);border-right:5px solid rgba(0,0,0,0);border-top:5px solid;position:absolute;right:0;top:50%;margin-top:-2.5px;pointer-events:none;color:var(--mat-form-field-enabled-select-arrow-color, var(--mat-sys-on-surface-variant))}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{right:auto;left:0}.mat-mdc-form-field-type-mat-native-select.mat-focused .mat-mdc-form-field-infix::after{color:var(--mat-form-field-focus-select-arrow-color, var(--mat-sys-primary))}.mat-mdc-form-field-type-mat-native-select.mat-form-field-disabled .mat-mdc-form-field-infix::after{color:var(--mat-form-field-disabled-select-arrow-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:15px}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:0;padding-left:15px}@media(forced-colors: active){.mat-form-field-appearance-fill .mat-mdc-text-field-wrapper{outline:solid 1px}}@media(forced-colors: active){.mat-form-field-appearance-fill.mat-form-field-disabled .mat-mdc-text-field-wrapper{outline-color:GrayText}}@media(forced-colors: active){.mat-form-field-appearance-fill.mat-focused .mat-mdc-text-field-wrapper{outline:dashed 3px}}@media(forced-colors: active){.mat-mdc-form-field.mat-focused .mdc-notched-outline{border:dashed 3px}}.mat-mdc-form-field-input-control[type=date],.mat-mdc-form-field-input-control[type=datetime],.mat-mdc-form-field-input-control[type=datetime-local],.mat-mdc-form-field-input-control[type=month],.mat-mdc-form-field-input-control[type=week],.mat-mdc-form-field-input-control[type=time]{line-height:1}.mat-mdc-form-field-input-control::-webkit-datetime-edit{line-height:1;padding:0;margin-bottom:-2px}.mat-mdc-form-field{--mat-mdc-form-field-floating-label-scale: 0.75;display:inline-flex;flex-direction:column;min-width:0;text-align:left;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-container-text-font, var(--mat-sys-body-large-font));line-height:var(--mat-form-field-container-text-line-height, var(--mat-sys-body-large-line-height));font-size:var(--mat-form-field-container-text-size, var(--mat-sys-body-large-size));letter-spacing:var(--mat-form-field-container-text-tracking, var(--mat-sys-body-large-tracking));font-weight:var(--mat-form-field-container-text-weight, var(--mat-sys-body-large-weight))}.mat-mdc-form-field .mdc-text-field--outlined .mdc-floating-label--float-above{font-size:calc(var(--mat-form-field-outlined-label-text-populated-size)*var(--mat-mdc-form-field-floating-label-scale))}.mat-mdc-form-field .mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:var(--mat-form-field-outlined-label-text-populated-size)}[dir=rtl] .mat-mdc-form-field{text-align:right}.mat-mdc-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-mdc-text-field-wrapper{width:100%;z-index:0}.mat-mdc-form-field-icon-prefix,.mat-mdc-form-field-icon-suffix{align-self:center;line-height:0;pointer-events:auto;position:relative;z-index:1}.mat-mdc-form-field-icon-prefix>.mat-icon,.mat-mdc-form-field-icon-suffix>.mat-icon{padding:0 12px;box-sizing:content-box}.mat-mdc-form-field-icon-prefix{color:var(--mat-form-field-leading-icon-color, var(--mat-sys-on-surface-variant))}.mat-form-field-disabled .mat-mdc-form-field-icon-prefix{color:var(--mat-form-field-disabled-leading-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-trailing-icon-color, var(--mat-sys-on-surface-variant))}.mat-form-field-disabled .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-disabled-trailing-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-form-field-invalid .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-trailing-icon-color, var(--mat-sys-error))}.mat-form-field-invalid:not(.mat-focused):not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-hover-trailing-icon-color, var(--mat-sys-on-error-container))}.mat-form-field-invalid.mat-focused .mat-mdc-text-field-wrapper .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-focus-trailing-icon-color, var(--mat-sys-error))}.mat-mdc-form-field-icon-prefix,[dir=rtl] .mat-mdc-form-field-icon-suffix{padding:0 4px 0 0}.mat-mdc-form-field-icon-suffix,[dir=rtl] .mat-mdc-form-field-icon-prefix{padding:0 0 0 4px}.mat-mdc-form-field-subscript-wrapper .mat-icon,.mat-mdc-form-field label .mat-icon{width:1em;height:1em;font-size:inherit}.mat-mdc-form-field-infix{flex:auto;min-width:0;width:180px;position:relative;box-sizing:border-box}.mat-mdc-form-field-infix:has(textarea[cols]){width:auto}.mat-mdc-form-field .mdc-notched-outline__notch{margin-left:-1px;-webkit-clip-path:inset(-9em -999em -9em 1px);clip-path:inset(-9em -999em -9em 1px)}[dir=rtl] .mat-mdc-form-field .mdc-notched-outline__notch{margin-left:0;margin-right:-1px;-webkit-clip-path:inset(-9em 1px -9em -999em);clip-path:inset(-9em 1px -9em -999em)}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-floating-label{transition:transform 150ms cubic-bezier(0.4, 0, 0.2, 1),color 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input{transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input::placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input::-moz-placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input::-webkit-input-placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input:-ms-input-placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--no-label .mdc-text-field__input::placeholder,.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--focused .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--no-label .mdc-text-field__input::-moz-placeholder,.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--focused .mdc-text-field__input::-moz-placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--no-label .mdc-text-field__input::-webkit-input-placeholder,.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--focused .mdc-text-field__input::-webkit-input-placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field--filled:not(.mdc-ripple-upgraded):focus .mdc-text-field__ripple::before{transition-duration:75ms}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-line-ripple::after{transition:transform 180ms cubic-bezier(0.4, 0, 0.2, 1),opacity 180ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled .mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field.mat-form-field-animations-en
3abled .mat-mdc-form-field-error-wrapper{animation-duration:300ms}.mdc-notched-outline .mdc-floating-label{max-width:calc(100% + 1px)}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:calc(133.3333333333% + 1px)}\n'],encapsulation:2,changeDetection:0})}return $e})()},55973:(qe,ee,o)=>{"use strict";o.d(ee,{X:()=>r});var a=o(96354),t=o(21495),u=o(2615),M=o(8435),v=o(91029);let r=(()=>{class _{constructor(C,b){this._userInfo=C,this._router=b}canActivate(C,b){return this.isLoggedIn()}canActivateChild(C,b){return this.isLoggedIn()}isLoggedIn(){return this._userInfo.getUserSession().pipe((0,a.T)(C=>C.loggedIn||this._router.createUrlTree([t.Tu.signin])))}static{this.\u0275fac=function(b){return new(b||_)(u.KVO(M.DL),u.KVO(v.Ix))}}static{this.\u0275prov=u.jDH({token:_,factory:_.\u0275fac,providedIn:"root"})}}return _})()},56538:(qe,ee,o)=>{"use strict";o.d(ee,{R:()=>Y});var a=o(34991),t=o(72200),u=o(88834),M=o(6229),v=o(81074),r=o(59115),_=o(38132),h=o(89417),C=o(46221),b=o(73664),D=o(2615);let f=(()=>{class ne{static{this.\u0275fac=function(I){return new(I||ne)}}static{this.\u0275mod=b.$C({type:ne})}static{this.\u0275inj=D.G2t({imports:[t.MD,u.Hl]})}}return ne})();var O=o(71997),d=o(33138),L=o(91438),E=o(30691),se=o(13360);let Y=(()=>{class ne{static{this.\u0275fac=function(I){return new(I||ne)}}static{this.\u0275mod=b.$C({type:ne})}static{this.\u0275inj=D.G2t({imports:[a.A,t.MD,C.U,r.Cn,u.Hl,_.iI,v.m_,h.YN,h.X1,se.M,M.M,v.m_,f,O.w,d.F,L.h,E.U]})}}return ne})()},56846:(qe,ee,o)=>{"use strict";o.d(ee,{c:()=>N});var a=o(29330),t=o(7673),u=o(18810),M=o(25558),v=o(99437),r=o(96697),_=o(1734),h=o(62415),C=o(19490);const b=1e3;function O(oe,H){return E(oe,H)?.pathname}function d(oe,H){return E(oe,H)?.host}function L(oe,H){const ie=E(oe,H);return ie&&H?ie.origin===H?"same_origin":"cross_origin":"invalid_or_missing"}function E(oe,H){if(oe)try{return H?new URL(oe,H):new URL(oe)}catch{return}}function se(oe){if(null==oe||""===oe)return"none";if("string"==typeof oe)return"string";if(oe instanceof ProgressEvent)return"progress_event";if(Array.isArray(oe))return"array";if("object"==typeof oe){const H=oe.constructor?.name;return H?`object:${H}`:"object"}return typeof oe}function Y(oe){if(null!=oe&&""!==oe){if("string"==typeof oe)return ne(oe,b);if(oe instanceof ProgressEvent)return ne(JSON.stringify({type:oe.type,isTrusted:oe.isTrusted}),b);if("object"==typeof oe)try{return ne(JSON.stringify(oe),b)}catch{return}return ne(String(oe),b)}}function ne(oe,H){return oe.length<=H?oe:`${oe.slice(0,H)}...[truncated]`}var U=o(2615),T=o(2490),I=o(51060),w=o(32130),Z=o(8858);let N=(()=>{class oe{constructor(ie,Ce,Ue,nt,we){this._cookie=ie,this._platform=Ce,this._snackBar=Ue,this._observability=nt,this._window=we,this.browserSupport="unchecked",this.checkBrowser()}handleError(ie,Ce=h.Q.STANDARD_NO_VERBOSE){return(0,t.of)({}).pipe((0,M.n)(()=>{const Ue=this.browserSupport+this.checkCSRF();if(ie instanceof a.yz){const nt=(ie.url||"").split("/"),we=nt[nt.length-1];return(0,u.$)({...ie,message:`${ie.status}/${ie.name}/${Ue}/${we}`})}return(0,u.$)({...ie,message:`${ie.name}'/'${ie.message}/${Ue}`})})).pipe((0,v.W)(Ue=>{if(Ue instanceof a.yz||null!==Ue&&"object"==typeof Ue&&"number"==typeof Ue.status&&"url"in Ue){const we=Ue;try{this._observability.recordSimpleEvent(C.f0.HttpError,function D(oe,H){const ie={status:oe.status,statusText:oe.statusText,url:oe.url,name:oe.name,browserSupport:H.browserSupport,csrf:H.csrf,xsrfCookiePresent:H.xsrfCookiePresent,authXsrfCookiePresent:H.authXsrfCookiePresent,csrfCookieState:H.csrfCookieState,requestPath:O(oe.url,H.currentOrigin),requestHost:d(oe.url,H.currentOrigin),requestOriginType:L(oe.url,H.currentOrigin),currentPath:H.currentPath,currentHost:H.currentHost,referrerHost:H.referrerHost,isOnline:H.isOnline,errorBody:Y(oe.error),errorBodyType:se(oe.error)},Ce=function f(oe,H){if(0!==oe.status)return;if(!1===H)return"offline";const ie=oe.error;if(ie&&"object"==typeof ie){if("string"==typeof ie.type&&"abort"===ie.type.toLowerCase())return"aborted";if("isTrusted"in ie)return"network_or_cors"}return/abort/i.test(oe.message||"")?"aborted":!0===H?"network_or_cors":"unknown"}(oe,H.isOnline);return Ce&&(ie.statusZeroCause=Ce),ie}(we,{browserSupport:this.browserSupport,csrf:this.checkCSRF(),xsrfCookiePresent:this.hasXsrfCookie(),authXsrfCookiePresent:this.hasAuthXsrfCookie(),csrfCookieState:this.csrfCookieState(),currentOrigin:this._window?.location?.origin,currentHost:this._window?.location?.host,currentPath:this._window?.location?.pathname,referrerHost:this.referrerHost(),isOnline:this._window?.navigator?.onLine}))}catch{}console.error(`\n__Server error__\n(status:${we.status} (${we.statusText}) url: ${we.url})\nname: "${we.name}"\nmessage: "${we.message}"\nok: "${we.ok}"\n `)}else{try{this._observability.recordSimpleEvent(C.f0.ClientError,{name:Ue.name,message:Ue.message,browserSupport:this.browserSupport,csrf:this.checkCSRF()})}catch{}console.error(`\n__Local error__\n(name:${Ue.name})\nmessage: "${Ue.message}"\nstack: "${Ue.stack}"\n `)}return this._snackBar.showErrorMessage(Ue,Ce),(0,u.$)(()=>Ue)}))}xml2jsParser(ie){console.error(ie)}checkBrowser(){this._platform.get().pipe((0,r.s)(1)).subscribe(ie=>{this.browserSupport=ie.unsupportedBrowser?"unsupported":""})}checkCSRF(){return"none"===this.csrfCookieState()?"no-XSRF":""}hasXsrfCookie(){return!!this._cookie.get("XSRF-TOKEN")}hasAuthXsrfCookie(){return!!this._cookie.get("AUTH-XSRF-TOKEN")}csrfCookieState(){const ie=this.hasXsrfCookie(),Ce=this.hasAuthXsrfCookie();return ie&&Ce?"both":ie?"xsrf_only":Ce?"auth_only":"none"}referrerHost(){const ie=this._window?.document?.referrer;if(ie)try{return new URL(ie).host}catch{return}}static{this.\u0275fac=function(Ce){return new(Ce||oe)(U.KVO(T.O),U.KVO(I.Z),U.KVO(w.z),U.KVO(Z.s),U.KVO(_.jf))}}static{this.\u0275prov=U.jDH({token:oe,factory:oe.\u0275fac,providedIn:"root"})}}return oe})()},56977:(qe,ee,o)=>{"use strict";o.d(ee,{Q:()=>v});var a=o(39974),t=o(54360),u=o(58750),M=o(85343);function v(r){return(0,a.N)((_,h)=>{(0,u.Tg)(r).subscribe((0,t._)(h,()=>
3h.complete(),M.l)),!h.closed&&_.subscribe(h)})}},57091:(qe,ee,o)=>{"use strict";function a(u){if(!u||0===u.length)return"";const M=u.find(v=>"EMPLOYMENT"===v.type);if(!M||!M.affiliationGroup)return"";for(const v of M.affiliationGroup){if(!v.affiliations)continue;const r=v.affiliations.find(_=>!0===_.featured&&"employment"===_.affiliationType?.value);if(r)return t(r)}return""}function t(u){const M=[],v=u.affiliationName?.value;v&&M.push(v);const r=[];u.city?.value&&r.push(u.city.value),u.region?.value&&r.push(u.region.value),u.countryForDisplay?r.push(u.countryForDisplay):u.country?.value&&r.push(u.country.value),v&&r.length>0?M[0]=`${v}: ${r.join(", ")}`:r.length>0&&M.push(r.join(", "));const _=[];return u.roleTitle?.value&&_.push(u.roleTitle.value),u.departmentName?.value&&_.push(u.departmentName.value),_.length>0&&M.push(M.length>0?`- ${_.join(", ")}`:_.join(", ")),M.join(" ")}o.d(ee,{d:()=>a})},57303:(qe,ee,o)=>{"use strict";o.d(ee,{Q:()=>f,Sm:()=>L,Vw:()=>_,aZ:()=>E,hb:()=>O,hj:()=>h,ig:()=>v,kB:()=>d,om:()=>b,qj:()=>r,rb:()=>M});var a=o(2615),t=o(21413);let u=null;function M(){return u}function v(T){u??=T}class r{}let _=(()=>{class T{historyGo(w){throw new Error("")}static \u0275fac=function(Z){return new(Z||T)};static \u0275prov=a.jDH({token:T,factory:()=>(0,a.WQX)(C),providedIn:"platform"})}return T})();const h=new a.nKC("");let C=(()=>{class T extends _{_location;_history;_doc=(0,a.WQX)(a.qQL);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return M().getBaseHref(this._doc)}onPopState(w){const Z=M().getGlobalEventTarget(this._doc,"window");return Z.addEventListener("popstate",w,!1),()=>Z.removeEventListener("popstate",w)}onHashChange(w){const Z=M().getGlobalEventTarget(this._doc,"window");return Z.addEventListener("hashchange",w,!1),()=>Z.removeEventListener("hashchange",w)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(w){this._location.pathname=w}pushState(w,Z,N){this._history.pushState(w,Z,N)}replaceState(w,Z,N){this._history.replaceState(w,Z,N)}forward(){this._history.forward()}back(){this._history.back()}historyGo(w=0){this._history.go(w)}getState(){return this._history.state}static \u0275fac=function(Z){return new(Z||T)};static \u0275prov=a.jDH({token:T,factory:()=>new T,providedIn:"platform"})}return T})();function b(T,I){return T?I?T.endsWith("/")?I.startsWith("/")?T+I.slice(1):T+I:I.startsWith("/")?T+I:`${T}/${I}`:T:I}function D(T){const I=T.search(/#|\?|$/);return"/"===T[I-1]?T.slice(0,I-1)+T.slice(I):T}function f(T){return T&&"?"!==T[0]?`?${T}`:T}let O=(()=>{class T{historyGo(w){throw new Error("")}static \u0275fac=function(Z){return new(Z||T)};static \u0275prov=a.jDH({token:T,factory:()=>(0,a.WQX)(L),providedIn:"root"})}return T})();const d=new a.nKC("");let L=(()=>{class T extends O{_platformLocation;_baseHref;_removeListenerFns=[];constructor(w,Z){super(),this._platformLocation=w,this._baseHref=Z??this._platformLocation.getBaseHrefFromDOM()??(0,a.WQX)(a.qQL).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(w){this._removeListenerFns.push(this._platformLocation.onPopState(w),this._platformLocation.onHashChange(w))}getBaseHref(){return this._baseHref}prepareExternalUrl(w){return b(this._baseHref,w)}path(w=!1){const Z=this._platformLocation.pathname+f(this._platformLocation.search),N=this._platformLocation.hash;return N&&w?`${Z}${N}`:Z}pushState(w,Z,N,oe){const H=this.prepareExternalUrl(N+f(oe));this._platformLocation.pushState(w,Z,H)}replaceState(w,Z,N,oe){const H=this.prepareExternalUrl(N+f(oe));this._platformLocation.replaceState(w,Z,H)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(w=0){this._platformLocation.historyGo?.(w)}static \u0275fac=function(Z){return new(Z||T)(a.KVO(_),a.KVO(d,8))};static \u0275prov=a.jDH({token:T,factory:T.\u0275fac,providedIn:"root"})}return T})(),E=(()=>
3{class T{_subject=new t.B;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(w){this._locationStrategy=w;const Z=this._locationStrategy.getBaseHref();this._basePath=function U(T){if(new RegExp("^(https?:)?//").test(T)){const[,w]=T.split(/\/\/[^\/]+/);return w}return T}(D(ne(Z))),this._locationStrategy.onPopState(N=>{this._subject.next({url:this.path(!0),pop:!0,state:N.state,type:N.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(w=!1){return this.normalize(this._locationStrategy.path(w))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(w,Z=""){return this.path()==this.normalize(w+f(Z))}normalize(w){return T.stripTrailingSlash(function Y(T,I){if(!T||!I.startsWith(T))return I;const w=I.substring(T.length);return""===w||["/",";","?","#"].includes(w[0])?w:I}(this._basePath,ne(w)))}prepareExternalUrl(w){return w&&"/"!==w[0]&&(w="/"+w),this._locationStrategy.prepareExternalUrl(w)}go(w,Z="",N=null){this._locationStrategy.pushState(N,"",w,Z),this._notifyUrlChangeListeners(this.prepareExternalUrl(w+f(Z)),N)}replaceState(w,Z="",N=null){this._locationStrategy.replaceState(N,"",w,Z),this._notifyUrlChangeListeners(this.prepareExternalUrl(w+f(Z)),N)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(w=0){this._locationStrategy.historyGo?.(w)}onUrlChange(w){return this._urlChangeListeners.push(w),this._urlChangeSubscription??=this.subscribe(Z=>{this._notifyUrlChangeListeners(Z.url,Z.state)}),()=>{const Z=this._urlChangeListeners.indexOf(w);this._urlChangeListeners.splice(Z,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(w="",Z){this._urlChangeListeners.forEach(N=>N(w,Z))}subscribe(w,Z,N){return this._subject.subscribe({next:w,error:Z??void 0,complete:N??void 0})}static normalizeQueryParams=f;static joinWithSlash=b;static stripTrailingSlash=D;static \u0275fac=function(Z){return new(Z||T)(a.KVO(O))};static \u0275prov=a.jDH({token:T,factory:()=>function se(){return new E((0,a.KVO)(O))}(),providedIn:"root"})}return T})();function ne(T){return T.replace(/\/index.html$/,"")}},57786:(qe,ee,o)=>{"use strict";o.d(ee,{h:()=>r});var a=o(26365),t=o(58750),u=o(983),M=o(9326),v=o(86648);function r(..._){const h=(0,M.lI)(_),C=(0,M.R0)(_,1/0),b=_;return b.length?1===b.length?(0,t.Tg)(b[0]):(0,a.U)(C)((0,v.H)(b,h)):u.w}},57908:(qe,ee,o)=>{"use strict";function a(t,u){if(t){const M=t.indexOf(u);0<=M&&t.splice(M,1)}}o.d(ee,{o:()=>a})},58496:(qe,ee,o)=>{"use strict";function a(t,u){return t.reduce((M,v,r)=>(M[v]=u[r],M),{})}o.d(ee,{e:()=>a})},58750:(qe,ee,o)=>{"use strict";o.d(ee,{Tg:()=>O});var a=o(31635),t=o(47441),u=o(59858),M=o(71985),v=o(55055),r=o(37953),_=o(50591),h=o(85397),C=o(15196),b=o(98071),D=o(45334),f=o(3494);function O(T){if(T instanceof M.c)return T;if(null!=T){if((0,v.l)(T))return function d(T){return new M.c(I=>{const w=T[f.s]();if((0,b.T)(w.subscribe))return w.subscribe(I);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(T);if((0,t.X)(T))return function L(T){return new M.c(I=>{for(let w=0;w<T.length&&!I.closed;w++)I.next(T[w]);I.complete()})}(T);if((0,u.y)(T))return function E(T){return new M.c(I=>{T.then(w=>{I.closed||(I.next(w),I.complete())},w=>I.error(w)).then(null,D.m)})}(T);if((0,r.T)(T))return Y(T);if((0,h.x)(T))return function se(T){return new M.c(I=>{for(const w of T)if(I.next(w),I.closed)return;I.complete()})}(T);if((0,C.U)(T))return function ne(T){return Y((0,C.C)(T))}(T)}throw(0,_.L)(T)}function Y(T){return new M.c(I=>{(function U(T,I){var w,Z,N,oe;return(0,a.sH)(this,void 0,void 0,function*(){try{for(w=(0,a.xN)(T);!(Z=yield w.next()).done;)if(I.next(Z.value),I.closed)return}catch(H){N={error:H}}finally{try{Z&&!Z.done&&(oe=w.return)&&(yield oe.call(w))}finally{if(N)throw N.error}}I.complete()})})(T,I).catch(w=>I.error(w))})}},59030:(qe,ee,o)=>{"use strict";o.d(ee,{v:()=>u});var a=o(71985),t=o(58750);function u(M){return new a.c(v=>{(0,t.Tg)(M()).subscribe(v)})}},59115:(qe,ee,o)=>{"use strict";o.d(ee,{Cn:()=>ce,Cp:()=>R,fb:()=>xe,kk:()=>Ye,sK:()=>X});var a=o(2615),t=o(73664),u=o(17705),M=o(55042),v=o(88511),r=o(43981),_=o(3700),h=o(17035),C=o(67336),b=o(21413),D=o(57786),f=o(18359),O=o(7673),d=o(99172),L=o(25558),E=o(56977),se=o(96697),Y=o(5964),ne=o(41560),U=o(7218),T=o(95967),I=o(76939),w=o(18107),Z=o(4
30372),N=o(30282),oe=o(75272),H=o(6229),ie=o(21715);const Ce=["mat-menu-item",""],Ue=[[["mat-icon"],["","matMenuItemIcon",""]],"*"],nt=["mat-icon, [matMenuItemIcon]","*"];function we(Qe,At){1&Qe&&(a.qSk(),t.j41(0,"svg",2),t.nrm(1,"polygon",3),t.k0s())}const at=["*"];function Xe(Qe,At){if(1&Qe){const Ne=t.RV6();t.rj2(0,"div",0),t.VwU("click",function(){a.eBV(Ne);const Ke=t.XpG();return a.Njj(Ke.closed.emit("click"))})("animationstart",function(Ke){a.eBV(Ne);const Ct=t.XpG();return a.Njj(Ct._onAnimationStart(Ke.animationName))})("animationend",function(Ke){a.eBV(Ne);const Ct=t.XpG();return a.Njj(Ct._onAnimationDone(Ke.animationName))})("animationcancel",function(Ke){a.eBV(Ne);const Ct=t.XpG();return a.Njj(Ct._onAnimationDone(Ke.animationName))}),t.rj2(1,"div",1),t.SdG(2),t.eux()()}if(2&Qe){const Ne=t.XpG();t.HbH(Ne._classList),t.AVh("mat-menu-panel-animations-disabled",Ne._animationsDisabled)("mat-menu-panel-exit-animation","void"===Ne._panelAnimationState)("mat-menu-panel-animating",Ne._isAnimating),t.Avn("id",Ne.panelId),t.BMQ("aria-label",Ne.ariaLabel||null)("aria-labelledby",Ne.ariaLabelledby||null)("aria-describedby",Ne.ariaDescribedby||null)}}const et=new a.nKC("MAT_MENU_PANEL");let xe=(()=>{class Qe{_elementRef=(0,a.WQX)(t.aKT);_document=(0,a.WQX)(a.qQL);_focusMonitor=(0,a.WQX)(M.F);_parentMenu=(0,a.WQX)(et,{optional:!0});_changeDetectorRef=(0,a.WQX)(u.gRc);role="menuitem";disabled=!1;disableRipple=!1;_hovered=new b.B;_focused=new b.B;_highlighted=!1;_triggersSubmenu=!1;constructor(){(0,a.WQX)(ne._).load(U._),this._parentMenu?.addItem?.(this)}focus(Ne,ze){this._focusMonitor&&Ne?this._focusMonitor.focusVia(this._getHostElement(),Ne,ze):this._getHostElement().focus(ze),this._focused.next(this)}ngAfterViewInit(){this._focusMonitor&&this._focusMonitor.monitor(this._elementRef,!1)}ngOnDestroy(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef),this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this),this._hovered.complete(),this._focused.complete()}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._elementRef.nativeElement}_checkDisabled(Ne){this.disabled&&(Ne.preventDefault(),Ne.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){const Ne=this._elementRef.nativeElement.cloneNode(!0),ze=Ne.querySelectorAll("mat-icon, .material-icons");for(let Ke=0;Ke<ze.length;Ke++)ze[Ke].remove();return Ne.textContent?.trim()||""}_setHighlighted(Ne){this._highlighted=Ne,this._changeDetectorRef.markForCheck()}_setTriggersSubmenu(Ne){this._triggersSubmenu=Ne,this._changeDetectorRef.markForCheck()}_hasFocus(){return this._document&&this._document.activeElement===this._getHostElement()}static \u0275fac=function(ze){return new(ze||Qe)};static \u0275cmp=t.VBU({type:Qe,selectors:[["","mat-menu-item",""]],hostAttrs:[1,"mat-mdc-menu-item","mat-focus-indicator"],hostVars:8,hostBindings:function(ze,Ke){1&ze&&t.bIt("click",function(Wt){return Ke._checkDisabled(Wt)})("mouseenter",function(){return Ke._handleMouseEnter()}),2&ze&&(t.BMQ("role",Ke.role)("tabindex",Ke._getTabIndex())("aria-disabled",Ke.disabled)("disabled",Ke.disabled||null),t.AVh("mat-mdc-menu-item-highlighted",Ke._highlighted)("mat-mdc-menu-item-submenu-trigger",Ke._triggersSubmenu))},inputs:{role:"role",disabled:[2,"disabled","disabled",u.L39],disableRipple:[2,"disableRipple","disableRipple",u.L39]},exportAs:["matMenuItem"],attrs:Ce,ngContentSelectors:nt,decls:5,vars:3,consts:[[1,"mat-mdc-menu-item-text"],["matRipple","",1,"mat-mdc-menu-ripple",3,"matRippleDisabled","matRippleTrigger"],["viewBox","0 0 5 10","focusable","false","aria-hidden","true",1,"mat-mdc-menu-submenu-icon"],["points","0,0 5,5 0,10"]],template:function(ze,Ke){1&ze&&(t.NAR(Ue),t.SdG(0),t.j41(1,"span",0),t.SdG(2,1),t.k0s(),t.nrm(3,"div",1),t.nVh(4,we,2,0,":svg:svg",2)),2&ze&&(t.R7$(3),t.Y8G("matRippleDisabled",Ke.disableRipple||Ke.disabled)("matRippleTrigger",Ke._getHostElement()),t.R7$(),t.vxM(Ke._triggersSubmenu?4:-1))},dependencies:[T.M],encapsulation:2,changeDetection:0})}return Qe})();const de=new a.nKC("MatMenuContent"),X=new a.nKC("mat-menu-default-options",{providedIn:"root",factory:function $(){return{overlapTrigger:!1,xPosition:"after",yPosition:"below",backdropClass:"cdk-overlay-transparent-backdrop"}}}),K="_mat-menu-enter",Be="_mat-menu-exit";let Ye=(()=>{class Qe{_elementRef=(0,a.WQX)(t.aKT);_changeDetectorRef=(0,a.WQX)(u.gRc);_injector=(0,a.WQX)(a.zZn);_keyManager;_xPosition;_yPosition;_firstItemFocusRef;_exitFallbackTimeout;_animationsDisabled=(0,w._)();_allItems;_directDescendantItems=new t.rOR;_classList={};_panelAnimationState="void";_animationDone=new b.B;_isAnimating=!1;parentMenu;direction;overlayPanelClass;backdropClass;ariaLabel;ariaLabelledby;ariaDescribedby;get xPosition(){return this._xPosition}set xPosition(Ne){this._xPosition=Ne,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(Ne){this._yPosition=Ne,this.setPositionClasses()}templateRef;items;lazyContent;overlapTrigger;hasBackdrop;set panelClass(Ne){const ze=this._previousPanelClass,Ke={...this._classList};ze&&ze.length&&ze.split(" ").forEach(Ct=>{Ke[Ct]=!1}),this._previousPanelClass=Ne,Ne&&Ne.length&&(Ne.split(" ").forEach(Ct=>{Ke[Ct]=!0}),this._elementRef.nativeElement.className=""),this._classList=Ke}_previousPanelClass;get classList(){return this.panelClass}set classList(Ne){this.panelClass=Ne}closed=new t.bkB;close=this.closed;panelId=(0,a.WQX)(v._).getId("mat-menu-panel-");constructor(){const Ne=(0,a.WQX)(X);this.overlayPanelClass=Ne.overlayPanelClass||"",this._xPosition=Ne.xPosition,this._yPosition=Ne.
3yPosition,this.backdropClass=Ne.backdropClass,this.overlapTrigger=Ne.overlapTrigger,this.hasBackdrop=Ne.hasBackdrop}ngOnInit(){this.setPositionClasses()}ngAfterContentInit(){this._updateDirectDescendants(),this._keyManager=new r.F(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab")),this._directDescendantItems.changes.pipe((0,d.Z)(this._directDescendantItems),(0,L.n)(Ne=>(0,D.h)(...Ne.map(ze=>ze._focused)))).subscribe(Ne=>this._keyManager.updateActiveItem(Ne)),this._directDescendantItems.changes.subscribe(Ne=>{const ze=this._keyManager;if("enter"===this._panelAnimationState&&ze.activeItem?._hasFocus()){const Ke=Ne.toArray(),Ct=Math.max(0,Math.min(Ke.length-1,ze.activeItemIndex||0));Ke[Ct]&&!Ke[Ct].disabled?ze.setActiveItem(Ct):ze.setNextItemActive()}})}ngOnDestroy(){this._keyManager?.destroy(),this._directDescendantItems.destroy(),this.closed.complete(),this._firstItemFocusRef?.destroy(),clearTimeout(this._exitFallbackTimeout)}_hovered(){return this._directDescendantItems.changes.pipe((0,d.Z)(this._directDescendantItems),(0,L.n)(ze=>(0,D.h)(...ze.map(Ke=>Ke._hovered))))}addItem(Ne){}removeItem(Ne){}_handleKeydown(Ne){const ze=Ne.keyCode,Ke=this._keyManager;switch(ze){case h.g:(0,C.rp)(Ne)||(Ne.preventDefault(),this.closed.emit("keydown"));break;case h.L:this.parentMenu&&"ltr"===this.direction&&this.closed.emit("keydown");break;case h.R:this.parentMenu&&"rtl"===this.direction&&this.closed.emit("keydown");break;default:return(ze===h.U||ze===h.D)&&Ke.setFocusOrigin("keyboard"),void Ke.onKeydown(Ne)}}focusFirstItem(Ne="program"){this._firstItemFocusRef?.destroy(),this._firstItemFocusRef=(0,t.mal)(()=>{const ze=this._resolvePanel();if(!ze||!ze.contains(document.activeElement)){const Ke=this._keyManager;Ke.setFocusOrigin(Ne).setFirstItemActive(),!Ke.activeItem&&ze&&ze.focus()}},{injector:this._injector})}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(Ne){}setPositionClasses(Ne=this.xPosition,ze=this.yPosition){this._classList={...this._classList,"mat-menu-before":"before"===Ne,"mat-menu-after":"after"===Ne,"mat-menu-above":"above"===ze,"mat-menu-below":"below"===ze},this._changeDetectorRef.markForCheck()}_onAnimationDone(Ne){const ze=Ne===Be;(ze||Ne===K)&&(ze&&(clearTimeout(this._exitFallbackTimeout),this._exitFallbackTimeout=void 0),this._animationDone.next(ze?"void":"enter"),this._isAnimating=!1)}_onAnimationStart(Ne){(Ne===K||Ne===Be)&&(this._isAnimating=!0)}_setIsOpen(Ne){if(this._panelAnimationState=Ne?"enter":"void",Ne){if(0===this._keyManager.activeItemIndex){const ze=this._resolvePanel();ze&&(ze.scrollTop=0)}}else this._animationsDisabled||(this._exitFallbackTimeout=setTimeout(()=>this._onAnimationDone(Be),200));this._animationsDisabled&&setTimeout(()=>{this._onAnimationDone(Ne?K:Be)}),this._changeDetectorRef.markForCheck()}_updateDirectDescendants(){this._allItems.changes.pipe((0,d.Z)(this._allItems)).subscribe(Ne=>
3{this._directDescendantItems.reset(Ne.filter(ze=>ze._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}_resolvePanel(){let Ne=null;return this._directDescendantItems.length&&(Ne=this._directDescendantItems.first._getHostElement().closest('[role="menu"]')),Ne}static \u0275fac=function(ze){return new(ze||Qe)};static \u0275cmp=t.VBU({type:Qe,selectors:[["mat-menu"]],contentQueries:function(ze,Ke,Ct){if(1&ze&&(t.wni(Ct,de,5),t.wni(Ct,xe,5),t.wni(Ct,xe,4)),2&ze){let Wt;t.mGM(Wt=t.lsd())&&(Ke.lazyContent=Wt.first),t.mGM(Wt=t.lsd())&&(Ke._allItems=Wt),t.mGM(Wt=t.lsd())&&(Ke.items=Wt)}},viewQuery:function(ze,Ke){if(1&ze&&t.GBs(t.C4Q,5),2&ze){let Ct;t.mGM(Ct=t.lsd())&&(Ke.templateRef=Ct.first)}},hostVars:3,hostBindings:function(ze,Ke){2&ze&&t.BMQ("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},inputs:{backdropClass:"backdropClass",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],ariaDescribedby:[0,"aria-describedby","ariaDescribedby"],xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:[2,"overlapTrigger","overlapTrigger",u.L39],hasBackdrop:[2,"hasBackdrop","hasBackdrop",Ne=>null==Ne?null:(0,u.L39)(Ne)],panelClass:[0,"class","panelClass"],classList:"classList"},outputs:{closed:"closed",close:"close"},exportAs:["matMenu"],features:[t.Jv_([{provide:et,useExisting:Qe}])],ngContentSelectors:at,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-mdc-menu-panel",3,"click","animationstart","animationend","animationcancel","id"],[1,"mat-mdc-menu-content"]],template:function(ze,Ke){1&ze&&(t.NAR(),t.PeT(0,Xe,3,12,"ng-template"))},styles:['mat-menu{display:none}.mat-mdc-menu-content{margin:0;padding:8px 0;outline:0}.mat-mdc-menu-content,.mat-mdc-menu-content .mat-mdc-menu-item .mat-mdc-menu-item-text{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;flex:1;white-space:normal;font-family:var(--mat-menu-item-label-text-font, var(--mat-sys-label-large-font));line-height:var(--mat-menu-item-label-text-line-height, var(--mat-sys-label-large-line-height));font-size:var(--mat-menu-item-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mat-menu-item-label-text-tracking, var(--mat-sys-label-large-tracking));font-weight:var(--mat-menu-item-label-text-weight, var(--mat-sys-label-large-weight))}@keyframes _mat-menu-enter{from{opacity:0;transform:scale(0.8)}to{opacity:1;transform:none}}@keyframes _mat-menu-exit{from{opacity:1}to{opacity:0}}.mat-mdc-menu-panel{min-width:112px;max-width:280px;overflow:auto;box-sizing:border-box;outline:0;animation:_mat-menu-enter 120ms cubic-bezier(0, 0, 0.2, 1);border-radius:var(--mat-menu-container-shape, var(--mat-sys-corner-extra-small));background-color:var(--mat-menu-container-color, var(--mat-sys-surface-container));box-shadow:var(--mat-menu-container-elevation-shadow, 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12));will-change:transform,opacity}.mat-mdc-menu-panel.mat-menu-panel-exit-animation{animation:_mat-menu-exit 100ms 25ms linear forwards}.mat-mdc-menu-panel.mat-menu-panel-animations-disabled{animation:none}.mat-mdc-menu-panel.mat-menu-panel-animating{pointer-events:none}.mat-mdc-menu-panel.mat-menu-panel-animating:has(.mat-mdc-menu-content:empty){display:none}@media(forced-colors: active){.mat-mdc-menu-panel{outline:solid 1px}}.mat-mdc-menu-panel .mat-divider{color:var(--mat-menu-divider-color, var(--mat-sys-surface-variant));margin-bottom:var(--mat-menu-divider-bottom-spacing, 8px);margin-top:var(--mat-menu-divider-top-spacing, 8px)}.mat-mdc-menu-item{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;cursor:pointer;width:100%;text-align:left;box-sizing:border-box;color:inherit;font-size:inherit;background:none;text-decoration:none;margin:0;min-height:48px;padding-left:var(--mat-menu-item-leading-spacing, 12px);padding-right:var(--mat-menu-item-trailing-spacing, 12px);-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-menu-item::-moz-focus-inner{border:0}[dir=rtl] .mat-mdc-menu-item{padding-left:var(--mat-menu-item-trailing-spacing, 12px);padding-right:var(--mat-menu-item-leading-spacing, 12px)}.mat-mdc-menu-item:has(.material-icons,mat-icon,[matButtonIcon]){padding-left:var(--mat-menu-item-with-icon-leading-spacing, 12px);padding-right:var(--mat-menu-item-with-icon-trailing-spacing, 12px)}[dir=rtl] .mat-mdc-menu-item:has(.material-icons,mat-icon,[matButtonIcon]){padding-left:var(--mat-menu-item-with-icon-trailing-spacing, 12px);padding-right:var(--mat-menu-item-with-icon-leading-spacing, 12px)}.mat-mdc-menu-item,.mat-mdc-menu-item:visited,.mat-mdc-menu-item:link{color:var(--mat-menu-item-label-text-color, var(--mat-sys-on-surface))}.mat-mdc-menu-item .mat-icon-no-color,.mat-mdc-menu-item .mat-mdc-menu-submenu-icon{color:var(--mat-menu-item-icon-color, var(--mat-sys-on-surface-variant))}.mat-mdc-menu-item[disabled]{cursor:default;opacity:.38}.mat-mdc-menu-item[disabled]::after{display:block;position:absolute;content:"";top:0;left:0;bottom:0;right:0}.mat-mdc-menu-item:focus{outline:0}.mat-mdc-menu-item .mat-icon{flex-shrink:0;margin-right:var(--mat-menu-item-spacing, 12px);height:var(--mat-menu-item-icon-size, 24px);width:var(--mat-menu-item-icon-size, 24px)}[dir=rtl] .mat-mdc-menu-item{text-align:right}[dir=rtl] .mat-mdc-menu-item .mat-icon{margin-right:0;margin-left:var(--mat-menu-item-spacing, 12px)}.mat-mdc-menu-item:not([disabled]):hover{background-color:var(--mat-menu-item-hover-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-hover-state-layer-opacity) * 100%), transparent))}.mat-mdc-menu-item:not([disabled]).cdk-program-focused,.mat-mdc-menu-item:not([disabled]).cdk-keyboard-focused,.mat-mdc-menu-item:not([disabled]).mat-mdc-menu-item-highlighted{background-color:var(--mat-menu-item-focus-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-focus-state-layer-opacity) * 100%), transparent))}@media(forced-colors: active){.mat-mdc-menu-item{margin-top:1px}}.mat-mdc-menu-submenu-icon{width:var(--mat-menu-item-icon-size, 24px);height:10px;fill:currentColor;padding-left:var(--mat-menu-item-spacing, 12px)}[dir=rtl] .mat-mdc-menu-submenu-icon{padding-right:var(--mat-menu-item-spacing, 12px);padding-left:0}
3[dir=rtl] .mat-mdc-menu-submenu-icon polygon{transform:scaleX(-1);transform-origin:center}@media(forced-colors: active){.mat-mdc-menu-submenu-icon{fill:CanvasText}}.mat-mdc-menu-item .mat-mdc-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}\n'],encapsulation:2,changeDetection:0})}return Qe})();const Se=new a.nKC("mat-menu-scroll-strategy",{providedIn:"root",factory:()=>{const Qe=(0,a.WQX)(a.zZn);return()=>(0,N.o)(Qe)}}),Ge={provide:Se,deps:[],useFactory:function pt(Qe){const At=(0,a.WQX)(a.zZn);return()=>(0,N.o)(At)}},me=new WeakMap;let J=(()=>{class Qe{_canHaveBackdrop;_element=(0,a.WQX)(t.aKT);_viewContainerRef=(0,a.WQX)(t.c1b);_menuItemInstance=(0,a.WQX)(xe,{optional:!0,self:!0});_dir=(0,a.WQX)(Z.D,{optional:!0});_focusMonitor=(0,a.WQX)(M.F);_ngZone=(0,a.WQX)(t.SKi);_injector=(0,a.WQX)(a.zZn);_scrollStrategy=(0,a.WQX)(Se);_changeDetectorRef=(0,a.WQX)(u.gRc);_animationsDisabled=(0,w._)();_portal;_overlayRef=null;_menuOpen=!1;_closingActionsSubscription=f.yU.EMPTY;_menuCloseSubscription=f.yU.EMPTY;_pendingRemoval;_parentMaterialMenu;_parentInnerPadding;_openedBy=void 0;get _menu(){return this._menuInternal}set _menu(Ne){Ne!==this._menuInternal&&(this._menuInternal=Ne,this._menuCloseSubscription.unsubscribe(),Ne&&(this._menuCloseSubscription=Ne.close.subscribe(ze=>{this._destroyMenu(ze),("click"===ze||"tab"===ze)&&this._parentMaterialMenu&&this._parentMaterialMenu.closed.emit(ze)})),this._menuItemInstance?._setTriggersSubmenu(this._triggersSubmenu()))}_menuInternal;constructor(Ne){this._canHaveBackdrop=Ne;const ze=(0,a.WQX)(et,{optional:!0});this._parentMaterialMenu=ze instanceof Ye?ze:void 0}ngOnDestroy(){this._menu&&this._ownsMenu(this._menu)&&me.delete(this._menu),this._pendingRemoval?.unsubscribe(),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null)}get menuOpen(){return this._menuOpen}get dir(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_triggersSubmenu(){return!!(this._menuItemInstance&&this._parentMaterialMenu&&this._menu)}_closeMenu(){this._menu?.close.emit()}_openMenu(Ne){const ze=this._menu;if(this._menuOpen||!ze)return;this._pendingRemoval?.unsubscribe();const Ke=me.get(ze);me.set(ze,this),Ke&&Ke!==this&&Ke._closeMenu();const Ct=this._createOverlay(ze),Wt=Ct.getConfig(),ln=Wt.positionStrategy;this._setPosition(ze,ln),Wt.hasBackdrop=!!this._canHaveBackdrop&&(null==ze.hasBackdrop?!this._triggersSubmenu():ze.hasBackdrop),Ct.hasAttached()||(Ct.attach(this._getPortal(ze)),ze.lazyContent?.attach(this.menuData)),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this._closeMenu()),ze.parentMenu=this._triggersSubmenu()?this._parentMaterialMenu:void 0,ze.direction=this.dir,Ne&&ze.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0),ze instanceof Ye&&(ze._setIsOpen(!0),ze._directDescendantItems.changes.pipe((0,E.Q)(ze.close)).subscribe(()=>{ln.withLockedPosition(!1).reapplyLastPosition(),ln.withLockedPosition(!0)}))}focus(Ne,ze){this._focusMonitor&&Ne?this._focusMonitor.focusVia(this._element,Ne,ze):this._element.nativeElement.focus(ze)}_destroyMenu(Ne){const ze=this._overlayRef,Ke=this._menu;!ze||!this.menuOpen||(this._closingActionsSubscription.unsubscribe(),this._pendingRemoval?.unsubscribe(),Ke instanceof Ye&&this._ownsMenu(Ke)?(this._pe
3ndingRemoval=Ke._animationDone.pipe((0,se.s)(1)).subscribe(()=>{ze.detach(),Ke.lazyContent?.detach()}),Ke._setIsOpen(!1)):(ze.detach(),Ke?.lazyContent?.detach()),Ke&&this._ownsMenu(Ke)&&me.delete(Ke),this.restoreFocus&&("keydown"===Ne||!this._openedBy||!this._triggersSubmenu())&&this.focus(this._openedBy),this._openedBy=void 0,this._setIsMenuOpen(!1))}_setIsMenuOpen(Ne){Ne!==this._menuOpen&&(this._menuOpen=Ne,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this._triggersSubmenu()&&this._menuItemInstance._setHighlighted(Ne),this._changeDetectorRef.markForCheck())}_createOverlay(Ne){if(!this._overlayRef){const ze=this._getOverlayConfig(Ne);this._subscribeToPositions(Ne,ze.positionStrategy),this._overlayRef=(0,N.c)(this._injector,ze),this._overlayRef.keydownEvents().subscribe(Ke=>{this._menu instanceof Ye&&this._menu._handleKeydown(Ke)})}return this._overlayRef}_getOverlayConfig(Ne){return new N.i({positionStrategy:(0,N.h)(this._injector,this._getOverlayOrigin()).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:Ne.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:Ne.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir||"ltr",disableAnimations:this._animationsDisabled})}_subscribeToPositions(Ne,ze){Ne.setPositionClasses&&ze.positionChanges.subscribe(Ke=>{this._ngZone.run(()=>{Ne.setPositionClasses("start"===Ke.connectionPair.overlayX?"after":"before","top"===Ke.connectionPair.overlayY?"below":"above")})})}_setPosition(Ne,ze){let[Ke,Ct]="before"===Ne.xPosition?["end","start"]:["start","end"],[Wt,ln]="above"===Ne.yPosition?["bottom","top"]:["top","bottom"],[Rn,Dn]=[Wt,ln],[Gn,Yn]=[Ke,Ct],ui=0;if(this._triggersSubmenu()){if(Yn=Ke="before"===Ne.xPosition?"start":"end",Ct=Gn="end"===Ke?"start":"end",this._parentMaterialMenu){if(null==this._parentInnerPadding){const ti=this._parentMaterialMenu.items.first;this._parentInnerPadding=ti?ti._getHostElement().offsetTop:0}ui="bottom"===Wt?this._parentInnerPadding:-this._parentInnerPadding}}else Ne.overlapTrigger||(Rn="top"===Wt?"bottom":"top",Dn="top"===ln?"bottom":"top");ze.withPositions([{originX:Ke,originY:Rn,overlayX:Gn,overlayY:Wt,offsetY:ui},{originX:Ct,originY:Rn,overlayX:Yn,overlayY:Wt,offsetY:ui},{originX:Ke,originY:Dn,overlayX:Gn,overlayY:ln,offsetY:-ui},{originX:Ct,originY:Dn,overlayX:Yn,overlayY:ln,offsetY:-ui}])}_menuClosingActions(){const Ne=this._getOutsideClickStream(this._overlayRef),ze=this._overlayRef.detachments(),Ke=this._parentMaterialMenu?this._parentMaterialMenu.closed:(0,O.of)(),Ct=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe((0,Y.p)(Wt=>this._menuOpen&&Wt!==this._menuItemInstance)):(0,O.of)();return(0,D.h)(Ne,Ke,Ct,ze)}_getPortal(Ne){return(!this._portal||this._portal.templateRef!==Ne.templateRef)&&(this._portal=new I.VA(Ne.templateRef,this._viewContainerRef)),this._portal}_ownsMenu(Ne){return me.get(Ne)===this}static \u0275fac=function(ze){t.QTQ()};static \u0275dir=t.FsC({type:Qe})}return Qe})(),R=(()=>{class Qe extends J{_cleanupTouchstart;_hoverSubscription=f.yU.EMPTY;get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(Ne){this.menu=Ne}get menu(){return this._menu}set menu(Ne){this._menu=Ne}menuData;restoreFocus=!0;menuOpened=new t.bkB;onMenuOpen=this.menuOpened;menuClosed=new t.bkB;onMenuClose=this.menuClosed;constructor(){super(!0);const Ne=(0,a.WQX)(t.sFG);this._cleanupTouchstart=Ne.listen(this._element.nativeElement,"touchstart",ze=>{(0,_.a)(ze)||(this._openedBy="touch")},{passive:!0})}triggersSubmenu(){return super._triggersSubmenu()}toggleMenu(){return this.menuOpen?this.closeMenu():this.openMenu()}openMenu(){this._openMenu(!0)}closeMenu(){this._closeMenu()}updatePosition(){this._overlayRef?.updatePosition()}ngAfterContentInit(){this._handleHover()}ngOnDestroy(){super.ngOnDestroy(),this._cleanupTouchstart(),this._hoverSubscription.unsubscribe()}_getOverlayOrigin(){return this._element}_getOutsideClickStream(Ne){return Ne.backdropClick()}_handleMousedown(Ne){(0,_.i)(Ne)||(this._openedBy=0===Ne.button?"mouse":void 0,this.triggersSubmenu()&&Ne.preventDefault())}_handleKeydown(Ne){const ze=Ne.keyCode;(ze===h.c||ze===h.S)&&(this._openedBy="keyboard"),this.triggersSubmenu()&&(ze===h.R&&"ltr"===this.dir||ze===h.L&&"rtl"===this.dir)&&(this._openedBy="keyboard",this.openMenu())}_handleClick(Ne){this.triggersSubmenu()?(Ne.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){this.triggersSubmenu()&&this._parentMaterialMenu&&(this._hoverSubscription=this._parentMaterialMenu._hovered().subscribe(Ne=>{Ne===this._menuItemInstance&&!Ne.disabled&&(this._openedBy="mouse",this._openMenu(!1))}))}static \u0275fac=function(ze){return new(ze||Qe)};static \u0275dir=t.FsC({type:Qe,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-mdc-menu-trigger"],hostVars:3,hostBindings:function(ze,Ke){1&ze&&t.bIt("click",function(Wt){return Ke._handleClick(Wt)})("mousedown",function(Wt){return Ke._handleMousedown(Wt)})("keydown",function(Wt){return Ke._handleKeydown(Wt)}),2&ze&&t.BMQ("aria-haspopup",Ke.menu?"menu":null)("aria-expanded",Ke.menuOpen)("aria-controls",Ke.menuOpen?null==Ke.menu?null:Ke.menu.panelId:null)},inputs:{_deprecatedMatMenuTriggerFor:[0,"mat-menu-trigger-for","_deprecatedMatMenuTriggerFor"],menu:[0,"matMenuTriggerFor","menu"],menuData:[0,"matMenuTriggerData","menuData"],restoreFocus:[0,"matMenuTriggerRestoreFocus","restoreFocus"]},outputs:{menuOpened:"menuOpened",onMenuOpen:"onMenuOpen",menuClosed:"menuClosed",onMenuClose:"onMenuClose"},exportAs:["matMenuTrigger"],features:[t.Vt3]})}return Qe})(),ce=(()=>{class Qe{static \u0275fac=function(ze){return new(ze||Qe)};static \u0275mod=t.$C({type:Qe});static \u0275inj=a.G2t({providers:[Ge],imports:[H.M,ie.M,N.t,oe.Gj,ie.M]})}return Qe})()},59858:(qe,ee,o)=>{"use strict";o.d(ee,{y:()=>t});var a=o(98071);function t(u){return(0,a.T)(u?.then)}},60177:(qe,ee,o)=>{"use strict";o.d(ee,{AJ:()=>M,UE:()=>r,Xr:()=>C}),o(17705);var t=o(2615);const M="browser";function r(ot){return ot===M}let C=(()=>{class ot{static \u0275prov=(0,t.jDH)({token:ot,providedIn:"root",factory:()=>new b((0,t.WQX)(t.qQL),window)})}return ot})();class b{document;window;offset=()=>[0,0];constructor(yt,Ut){this.document=yt,this.window=Ut}setOffset(yt){this.offset=Array.isArray(yt)?()=>yt:yt}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}
3scrollToPosition(yt,Ut){this.window.scrollTo({...Ut,left:yt[0],top:yt[1]})}scrollToAnchor(yt,Ut){const Xt=function D(ot,yt){const Ut=ot.getElementById(yt)||ot.getElementsByName(yt)[0];if(Ut)return Ut;if("function"==typeof ot.createTreeWalker&&ot.body&&"function"==typeof ot.body.attachShadow){const Xt=ot.createTreeWalker(ot.body,NodeFilter.SHOW_ELEMENT);let gn=Xt.currentNode;for(;gn;){const kn=gn.shadowRoot;if(kn){const bn=kn.getElementById(yt)||kn.querySelector(`[name="${yt}"]`);if(bn)return bn}gn=Xt.nextNode()}}return null}(this.document,yt);Xt&&(this.scrollToElement(Xt,Ut),Xt.focus())}setHistoryScrollRestoration(yt){try{this.window.history.scrollRestoration=yt}catch{console.warn((0,t.OsK)(2400,!1))}}scrollToElement(yt,Ut){const Xt=yt.getBoundingClientRect(),gn=Xt.left+this.window.pageXOffset,kn=Xt.top+this.window.pageYOffset,bn=this.offset();this.window.scrollTo({...Ut,left:gn-bn[0],top:kn-bn[1]})}}},60525:(qe,ee)=>{var t,M;t=ee,M=new function u(){for(var v in this.orcidCharLatexMap={},this.orcidLatexCharMap={"\\`A":"\xc0","\\`E":"\xc8","\\`I":"\xcc","\\`O":"\xd2","\\`U":"\xd9","\\`a":"\xe0","\\`e":"\xe8","\\`i":"\xec","\\`o":"\xf2","\\`u":"\xf9","\\'A":"\xc1","\\'E":"\xc9","\\'I":"\xcd","\\'O":"\xd3","\\'U":"\xda","\\'Y":"\xdd","\\'a":"\xe1","\\'e":"\xe9","\\'i":"\xed","\\'o":"\xf3","\\'u":"\xfa","\\'y":"\xfd",'\\"A':"\xc4","\\r A":"\xc5",'\\"E':"\xcb",'\\"I':"\xcf",'\\"O':"\xd6",'\\"U':"\xdc",'\\"a':"\xe4","\\r a":"\xe5",'\\"e':"\xeb",'\\"i':"\xef",'\\"o':"\xf6",'\\"u':"\xfc","\\~A":"\xc3","\\~N":"\xd1","\\~O":"\xd5","\\~a":"\xe3","\\~n":"\xf1","\\~o":"\xf5","\\rU":"\u016e","\\ru":"\u016f","\\vC":"\u010c","\\vD":"\u010e","\\vE":"\u011a","\\vN":"\u0147","\\vR":"\u0158","\\vS":"\u0160","\\vT":"\u0164","\\vZ":"\u017d","\\vc":"\u010d","\\vd":"\u010f","\\ve":"\u011b","\\vn":"\u0148","\\vr":"\u0159","\\vs":"\u0161","\\vt":"\u0165","\\vz":"\u017e","\\#":"#","\\$":"$","\\%":"%","\\&":"&","\\\\":"\\","\\^":"^","\\_":"_","\\{":"{","\\}":"}","\\~":"~",'\\"':'"',"\\'":"\u2019","\\`":"\u2018","\\AA":"\xc5","\\AE":"\xc6","\\c{C}":"\xc7","\\O":"\xd8","\\aa":"\xe5","\\c{c}":"\xe7","\\ae":"\xe6","\\o":"\xf8","\\ss":"\xdf","\\textcopyright":"\xa9","\\textellipsis":"\u2026","\\textemdash":"\u2014","\\textendash":"\u2013","\\textregistered":"\xae","\\texttrademark":"\u2122","\\alpha":"\u03b1","\\beta":"\u03b2","\\gamma":"\u03b3","\\delta":"\u03b4","\\epsilon":"\u03b5","\\zeta":"\u03b6","\\eta":"\u03b7","\\theta":"\u03b8","\\iota":"\u03b9","\\kappa":"\u03ba","\\lambda":"\u03bb","\\mu":"\u03bc","\\nu":"\u03bd","\\xi":"\u03be","\\omicron":"\u03bf","\\pi":"\u03c0","\\rho":"\u03c1","\\sigma":"\u03c2","\\tau":"\u03c3","\\upsilon":"\u03c4","\\phi":"\u03c5","\\chi":"\u03c6","\\psi":"\u03c7","\\omega":"\u03c8","\\=A":"\u0100","\\=a":"\u0101","\\u{A}":"\u0102","\\u{a}":"\u0103","\\k A":"\u0104","\\k a":"\u0105","\\'C":"\u0106","\\'c":"\u0107","\\^C":"\u0108","\\^c":"\u0109","\\.C":"\u010a","\\.c":"\u010b","\\v{C}":"\u010c","\\v{c}":"\u010d","\\v{D}":"\u010e","\\=E":"\u0112","\\=e":"\u0113","\\u{E}":"\u0114","\\u{e}":"\u0115","\\.E":"\u0116","\\.e":"\u0117","\\k E":"\u0118","\\k e":"\u0119","\\v{E}":"\u011a","\\v{e}":"\u011b","\\^G":"\u011c","\\^g":"\u011d","\\u{G}":"\u011e","\\u{g}":"\u011f","\\.G":"\u0120","\\.g":"\u0121","\\c{G}":"\u0122","\\c{g}":"\u0123","\\^H":"\u0124","\\^h":"\u0125","\\dH":"\u0126","\\dh":"\u0127","\\~I":"\u0128","\\~i":"\u0129","\\=I":"\u012a","\\=i":"\u012b","\\u{I}":"\u012c","\\u{i}":"\u012d","\\k I":"\u012e","\\k i":"\u012f","\\.I":"\u0130","\\^J":"\u0134","\\^j":"\u0135","\\c{J}":"\u0136","\\c{j}":"\u0137","\\'L":"\u0139","\\'l":"\u013a","\\c{L}":"\u013b","\\c{l}":"\u013c","\\v{L}":"\u013d","\\v{l}":"\u013e","\\dL":"\u0141","\\dl":"\u0142","\\'N":"\u0143","\\'n":"\u0144","\\c{N}":"\u0145","\\c{n}":"\u0146","\\v{N}":"\u0147","\\v{n}":"\u0148","\\=O":"\u014c","\\=o":"\u014d","\\u{O}":"\u014e","\\u{o}":"\u014f","\\H{O}":"\u0150","\\H{o}":"\u0151","\\OE":"\u0152","\\oe":"\u0153","\\'R":"\u0154","\\'r":"\u0155","\\c{R}":"\u0156","\\c{r}":"\u0157","\\v{R}":"\u0158","\\v{r}":"\u0159","\\'R":"\u015a","\\'r":"\u015b","\\^S":"\u015c","\\^s":"\u015d","\\c{S}":"\u015e","\\c{s}":"\u015f","\\v{S}":"\u0160","\\v{s}":"\u0161","\\c{T}":"\u0162","\\c{t}":"\u0163","\\v{T}":"\u0164","\\v{t}
3":"\u0165","\\dT":"\u0166","\\dt":"\u0167","\\~U":"\u0168","\\~u":"\u0169","\\=U":"\u016a","\\=u":"\u016b","\\u{U}":"\u016c","\\u{u}":"\u016d","\\r U":"\u016e","\\r u":"\u016f","\\H{U}":"\u0170","\\H{u}":"\u0171","\\k U":"\u0172","\\k u":"\u0173","\\^W":"\u0174","\\^w":"\u0175","\\^Y":"\u0176","\\^y":"\u0177",'\\"Y':"\u0178","\\'Z":"\u0179","\\'z":"\u017a","\\.Z":"\u017b","\\.z":"\u017c","\\v{Z}":"\u017d","\\v{z}":"\u017e"},this.w3cCharLatexMap={},this.w3cLatexCharMap={"\\space":" ","\\#":"#","\\textdollar":"$","\\%":"%","\\&":"&","\\textquotesingle":"'","\\ast":"*","\\textbackslash":"\\","\\^{}":"^","\\_":"_","\\textasciigrave":"`","\\lbrace":"{","\\vert":"|","\\rbrace":"}","\\textasciitilde":"~","\\textexclamdown":"\xa1","\\textcent":"\xa2","\\textsterling":"\xa3","\\textcurrency":"\xa4","\\textyen":"\xa5","\\textbrokenbar":"\xa6","\\textsection":"\xa7","\\textasciidieresis":"\xa8","\\textcopyright":"\xa9","\\textordfeminine":"\xaa","\\guillemotleft":"\xab","\\lnot":"\xac","\\-":"\xad","\\textregistered":"\xae","\\textasciimacron":"\xaf","\\textdegree":"\xb0","\\pm":"\xb1","\\textasciiacute":"\xb4","\\mathrm{\\mu}":"\xb5","\\textparagraph":"\xb6","\\cdot":"\xb7","\\c{}":"\xb8","\\textordmasculine":"\xba","\\guillemotright":"\xbb","\\textonequarter":"\xbc","\\textonehalf":"\xbd","\\textthreequarters":"\xbe","\\textquestiondown":"\xbf","\\`{A}":"\xc0","\\'{A}":"\xc1","\\^{A}":"\xc2","\\~{A}":"\xc3",'\\"{A}':"\xc4","\\AA":"\xc5","\\AE":"\xc6","\\c{C}":"\xc7","\\`{E}":"\xc8","\\'{E}":"\xc9","\\^{E}":"\xca",'\\"{E}':"\xcb","\\`{I}":"\xcc","\\'{I}":"\xcd","\\^{I}":"\xce",'\\"{I}':"\xcf","\\DH":"\xd0","\\~{N}":"\xd1","\\`{O}":"\xd2","\\'{O}":"\xd3","\\^{O}":"\xd4","\\~{O}":"\xd5",'\\"{O}':"\xd6","\\texttimes":"\xd7","\\O":"\xd8","\\`{U}":"\xd9","\\'{U}":"\xda","\\^{U}":"\xdb",'\\"{U}':"\xdc","\\'{Y}":"\xdd","\\TH":"\xde","\\ss":"\xdf","\\`{a}":"\xe0","\\'{a}":"\xe1","\\^{a}":"\xe2","\\~{a}":"\xe3",'\\"{a}':"\xe4","\\aa":"\xe5","\\ae":"\xe6","\\c{c}":"\xe7","\\`{e}":"\xe8","\\'{e}":"\xe9","\\^{e}":"\xea",'\\"{e}':"\xeb","\\`{\\i}":"\xec","\\'{\\i}":"\xed","\\^{\\i}":"\xee",'\\"{\\i}':"\xef","\\dh":"\xf0","\\~{n}":"\xf1","\\`{o}":"\xf2","\\'{o}":"\xf3","\\^{o}":"\xf4","\\~{o}":"\xf5",'\\"{o}':"\xf6","\\div":"\xf7","\\o":"\xf8","\\`{u}":"\xf9","\\'{u}":"\xfa","\\^{u}":"\xfb",'\\"{u}':"\xfc","\\'{y}":"\xfd","\\th":"\xfe",'\\"{y}':"\xff","\\={A}":"\u0100","\\={a}":"\u0101","\\u{A}":"\u0102","\\u{a}":"\u0103","\\k{A}":"\u0104","\\k{a}":"\u0105","\\'{C}":"\u0106","\\'{c}":"\u0107","\\^{C}":"\u0108","\\^{c}":"\u0109","\\.{C}":"\u010a","\\.{c}":"\u010b","\\v{C}":"\u010c","\\v{c}":"\u010d","\\v{D}":"\u010e","\\v{d}":"\u010f","\\DJ":"\u0110","\\dj":"\u0111","\\={E}":"\u0112","\\={e}":"\u0113","\\u{E}":"\u0114","\\u{e}":"\u0115","\\.{E}":"\u0116","\\.{e}":"\u0117","\\k{E}":"\u0118","\\k{e}":"\u0119","\\v{E}":"\u011a","\\v{e}":"\u011b","\\^{G}":"\u011c","\\^{g}":"\u011d","\\u{G}":"\u011e","\\u{g}":"\u011f","\\.{G}":"\u0120","\\.{g}":"\u0121","\\c{G}":"\u0122","\\c{g}":"\u0123","\\^{H}":"\u0124","\\^{h}":"\u0125","\\Elzxh":"\u0127","\\~{I}":"\u0128","\\~{\\i}":"\u0129","\\={I}":"\u012a","\\={\\i}":"\u012b","\\u{I}":"\u012c","\\u{\\i}":"\u012d","\\k{I}":"\u012e","\\k{i}":"\u012f","\\.{I}":"\u0130","\\i":"\u0131","\\^{J}":"\u0134","\\^{\\j}":"\u0135","\\c{K}":"\u0136","\\c{k}":"\u0137","\\'{L}":"\u0139","\\'{l}":"\u013a","\\c{L}":"\u013b","\\c{l}":"\u013c","\\v{L}":"\u013d","\\v{l}":"\u013e","\\L":"\u0141","\\l":"\u0142","\\'{N}":"\u0143","\\'{n}":"\u0144","\\c{N}":"\u0145","\\c{n}":"\u0146","\\v{N}":"\u0147","\\v{n}":"\u0148","\\NG":"\u014a","\\ng":"\u014b","\\={O}":"\u014c","\\={o}":"\u014d","\\u{O}":"\u014e","\\u{o}":"\u014f","\\H{O}":"\u0150","\\H{o}":"\u0151","\\OE":"\u0152","\\oe":"\u0153","\\'{R}":"\u0154","\\'{r}":"\u0155","\\c{R}":"\u0156","\\c{r}":"\u0157","\\v{R}":"\u0158","\\v{r}":"\u0159","\\'{S}":"\u015a","\\'{s}":"\u015b","\\^{S}":"\u015c","\\^{s}":"\u015d","\\c{S}":"\u015e","\\c{s}":"\u015f","\\v{S}":"\u0160","\\v{s}":"\u0161","\\c{T}":"\u0162","\\c{t}":"\u0163","\\v{T}":"\u0164","\\v{t}":"\u0165","\\~{U}":"\u0168","\\~{u}":"\u0169","\\={U}":"\u016a","\\={u}":"\u016b","\\u{U}":"\u016c","\\u{u}":"\u016d","\\r{U}":"\u016e","\\r{u}":"\u016f","\\H{U}":"\u0170","\\H{u}":"\u0171","\\k{U}":"\u0172","\\k{u}":"\u0173","\\^{W}":"\u0174","\\^{w}":"\u0175","\\^{Y}":"\u0176","\\^{y}":"\u0177",'\\"{Y}':"\u0178","\\'{Z}":"\u0179","\\'{z}":"\u017a","\\.{Z}":"\u017b","\\.{z}":"\u017c","\\v{Z}":"\u017d","\\v{z}":"\u017e","\\texthvlig":"\u0195","\\textnrleg":"\u019e","\\eth":"\u01aa","\\textdoublepipe":"\u01c2","\\'{g}":"\u01f5","\\Elztrna":"\u0250","\\Elztrnsa":"\u0252","\\Elzopeno":"\u0254","\\Elzrtld":"\u0256","\\Elzschwa":"\u0259","\\varepsilon":"\u025b","\\Elzpgamma":"\u0263","\\Elzpbgam":"\u0264","\\Elztrnh":"\u0265","\\Elzbtdl":"\u026c","\\Elzrtll":"\u
3026d","\\Elztrnm":"\u026f","\\Elztrnmlr":"\u0270","\\Elzltlmr":"\u0271","\\Elzltln":"\u0272","\\Elzrtln":"\u0273","\\Elzclomeg":"\u0277","\\textphi":"\u0278","\\Elztrnr":"\u0279","\\Elztrnrl":"\u027a","\\Elzrttrnr":"\u027b","\\Elzrl":"\u027c","\\Elzrtlr":"\u027d","\\Elzfhr":"\u027e","\\Elzrtls":"\u0282","\\Elzesh":"\u0283","\\Elztrnt":"\u0287","\\Elzrtlt":"\u0288","\\Elzpupsil":"\u028a","\\Elzpscrv":"\u028b","\\Elzinvv":"\u028c","\\Elzinvw":"\u028d","\\Elztrny":"\u028e","\\Elzrtlz":"\u0290","\\Elzyogh":"\u0292","\\Elzglst":"\u0294","\\Elzreglst":"\u0295","\\Elzinglst":"\u0296","\\textturnk":"\u029e","\\Elzdyogh":"\u02a4","\\Elztesh":"\u02a7","\\textasciicaron":"\u02c7","\\Elzverts":"\u02c8","\\Elzverti":"\u02cc","\\Elzlmrk":"\u02d0","\\Elzhlmrk":"\u02d1","\\Elzsbrhr":"\u02d2","\\Elzsblhr":"\u02d3","\\Elzrais":"\u02d4","\\Elzlow":"\u02d5","\\textasciibreve":"\u02d8","\\textperiodcentered":"\u02d9","\\r{}":"\u02da","\\k{}":"\u02db","\\texttildelow":"\u02dc","\\H{}":"\u02dd","\\tone{55}":"\u02e5","\\tone{44}":"\u02e6","\\tone{33}":"\u02e7","\\tone{22}":"\u02e8","\\tone{11}":"\u02e9","\\`":"\u0300","\\'":"\u0301","\\^":"\u0302","\\~":"\u0303","\\=":"\u0304","\\u":"\u0306","\\.":"\u0307",'\\"':"\u0308","\\r":"\u030a","\\H":"\u030b","\\v":"\u030c","\\cyrchar\\C":"\u030f","\\Elzpalh":"\u0321","\\Elzrh":"\u0322","\\c":"\u0327","\\k":"\u0328","\\Elzsbbrg":"\u032a","\\Elzxl":"\u0335","\\Elzbar":"\u0336","\\'{H}":"\u0389","\\'{}{I}":"\u038a","\\'{}O":"\u038c","\\mathrm{'Y}":"\u038e","\\mathrm{'\\Omega}":"\u038f","\\acute{\\ddot{\\iota}}":"\u0390","\\Alpha":"\u0391","\\Beta":"\u0392","\\Gamma":"\u0393","\\Delta":"\u0394","\\Epsilon":"\u0395","\\Zeta":"\u0396","\\Eta":"\u0397","\\Theta":"\u0398","\\Iota":"\u0399","\\Kappa":"\u039a","\\Lambda":"\u039b","\\Xi":"\u039e","\\Pi":"\u03a0","\\Rho":"\u03a1","\\Sigma":"\u03a3","\\Tau":"\u03a4","\\Upsilon":"\u03a5","\\Phi":"\u03a6","\\Chi":"\u03a7","\\Psi":"\u03a8","\\Omega":"\u03a9","\\mathrm{\\ddot{I}}":"\u03aa","\\mathrm{\\ddot{Y}}":"\u03ab","\\'{$\\alpha$}":"\u03ac","\\acute{\\epsilon}":"\u03ad","\\acute{\\eta}":"\u03ae","\\acute{\\iota}":"\u03af","\\acute{\\ddot{\\upsilon}}":"\u03b0","\\alpha":"\u03b1","\\beta":"\u03b2","\\gamma":"\u03b3","\\delta":"\u03b4","\\epsilon":"\u03b5","\\zeta":"\u03b6","\\eta":"\u03b7","\\texttheta":"\u03b8","\\iota":"\u03b9","\\kappa":"\u03ba","\\lambda":"\u03bb","\\mu":"\u03bc","\\nu":"\u03bd","\\xi":"\u03be","\\pi":"\u03c0","\\rho":"\u03c1","\\varsigma":"\u03c2","\\sigma":"\u03c3","\\tau":"\u03c4","\\upsilon":"\u03c5","\\varphi":"\u03c6","\\chi":"\u03c7","\\psi":"\u03c8","\\omega":"\u03c9","\\ddot{\\iota}":"\u03ca","\\ddot{\\upsilon}":"\u03cb","\\acute{\\upsilon}":"\u03cd","\\acute{\\omega}":"\u03ce","\\Pisymbol{ppi022}{87}":"\u03d0","\\textvartheta":"\u03d1","\\phi":"\u03d5","\\varpi":"\u03d6","\\Stigma":"\u03da","\\Digamma":"\u03dc","\\digamma":"\u03dd","\\Koppa":"\u03de","\\Sampi":"\u03e0","\\varkappa":"\u03f0","\\varrho":"\u03f1","\\textTheta":"\u03f4","\\backepsilon":"\u03f6","\\cyrchar\\CYRYO":"\u0401","\\cyrchar\\CYRDJE":"\u0402","\\cyrchar{\\'\\CYRG}":"\u0403","\\cyrchar\\CYRIE":"\u0404","\\cyrchar\\CYRDZE":"\u0405","\\cyrchar\\CYRII":"\u0406","\\cyrchar\\CYRYI":"\u0407","\\cyrchar\\CYRJE":"\u0408","\\cyrchar\\CYRLJE":"\u0409","\\cyrchar\\CYRNJE":"\u040a","\\cyrchar\\CYRTSHE":"\u040b","\\cyrchar{\\'\\CYRK}":"\u040c","\\cyrchar\\CYRUSHRT":"\u040e","\\cyrchar\\CYRDZHE":"\u040f","\\cyrchar\\CYRA":"\u0410","\\cyrchar\\CYRB":"\u0411","\\cyrchar\\CYRV":"\u0412","\\cyrchar\\CYRG":"\u0413","\\cyrchar\\CYRD":"\u0414","\\cyrchar\\CYRE":"\u0415","\\cyrchar\\CYRZH":"\u0416","\\cyrchar\\CYRZ":"\u0417","\\cyrchar\\CYRI":"\u0418","\\cyrchar\\CYRISHRT":"\u0419","\\cyrchar\\CYRK":"\u041a","\\cyrchar\\CYRL":"\u041b","\\cyrchar\\CYRM":"\u041c","\\cyrchar\\CYRN":"\u041d","\\cyrchar\\CYRO":"\u041e","\\cyrchar\\CYRP":"\u041f","\\cyrchar\\CYRR":"\u0420","\\cyrchar\\CYRS":"\u0421","\\cyrchar\\CYRT":"\u0422","\\cyrchar\\CYRU":"\u0423","\\cyrchar\\CYRF":"\u0424","\\cyrchar\\CYRH":"\u0425","\\cyrchar\\CYRC":"\u0426","\\cyrchar\\CYRCH":"\u0427","\\cyrchar\\CYRSH":"\u0428","\\cyrchar\\CYRSHCH":"\u0429","\\cyrchar\\CYRHRDSN":"\u042a","\\cyrchar\\CYRERY":"\u042b","\\cyrchar\\CYRSFTSN":"\u042c","\\cyrchar\\CYREREV":"\u042d","\\cyrchar\\CYRYU":"\u042e","\\cyrchar\\CYRYA":"\u042f","\\cyrchar\\cyra":"\u0430","\\cyrchar\\cyrb":"\u0431","\\cyrchar\\cyrv":"\u
30432","\\cyrchar\\cyrg":"\u0433","\\cyrchar\\cyrd":"\u0434","\\cyrchar\\cyre":"\u0435","\\cyrchar\\cyrzh":"\u0436","\\cyrchar\\cyrz":"\u0437","\\cyrchar\\cyri":"\u0438","\\cyrchar\\cyrishrt":"\u0439","\\cyrchar\\cyrk":"\u043a","\\cyrchar\\cyrl":"\u043b","\\cyrchar\\cyrm":"\u043c","\\cyrchar\\cyrn":"\u043d","\\cyrchar\\cyro":"\u043e","\\cyrchar\\cyrp":"\u043f","\\cyrchar\\cyrr":"\u0440","\\cyrchar\\cyrs":"\u0441","\\cyrchar\\cyrt":"\u0442","\\cyrchar\\cyru":"\u0443","\\cyrchar\\cyrf":"\u0444","\\cyrchar\\cyrh":"\u0445","\\cyrchar\\cyrc":"\u0446","\\cyrchar\\cyrch":"\u0447","\\cyrchar\\cyrsh":"\u0448","\\cyrchar\\cyrshch":"\u0449","\\cyrchar\\cyrhrdsn":"\u044a","\\cyrchar\\cyrery":"\u044b","\\cyrchar\\cyrsftsn":"\u044c","\\cyrchar\\cyrerev":"\u044d","\\cyrchar\\cyryu":"\u044e","\\cyrchar\\cyrya":"\u044f","\\cyrchar\\cyryo":"\u0451","\\cyrchar\\cyrdje":"\u0452","\\cyrchar{\\'\\cyrg}":"\u0453","\\cyrchar\\cyrie":"\u0454","\\cyrchar\\cyrdze":"\u0455","\\cyrchar\\cyrii":"\u0456","\\cyrchar\\cyryi":"\u0457","\\cyrchar\\cyrje":"\u0458","\\cyrchar\\cyrlje":"\u0459","\\cyrchar\\cyrnje":"\u045a","\\cyrchar\\cyrtshe":"\u045b","\\cyrchar{\\'\\cyrk}":"\u045c","\\cyrchar\\cyrushrt":"\u045e","\\cyrchar\\cyrdzhe":"\u045f","\\cyrchar\\CYROMEGA":"\u0460","\\cyrchar\\cyromega":"\u0461","\\cyrchar\\CYRYAT":"\u0462","\\cyrchar\\CYRIOTE":"\u0464","\\cyrchar\\cyriote":"\u0465","\\cyrchar\\CYRLYUS":"\u0466","\\cyrchar\\cyrlyus":"\u0467","\\cyrchar\\CYRIOTLYUS":"\u0468","\\cyrchar\\cyriotlyus":"\u0469","\\cyrchar\\CYRBYUS":"\u046a","\\cyrchar\\CYRIOTBYUS":"\u046c","\\cyrchar\\cyriotbyus":"\u046d","\\cyrchar\\CYRKSI":"\u046e","\\cyrchar\\cyrksi":"\u046f","\\cyrchar\\CYRPSI":"\u0470","\\cyrchar\\cyrpsi":"\u0471","\\cyrchar\\CYRFITA":"\u0472","\\cyrchar\\CYRIZH":"\u0474","\\cyrchar\\CYRUK":"\u0478","\\cyrchar\\cyruk":"\u0479","\\cyrchar\\CYROMEGARND":"\u047a","\\cyrchar\\cyromegarnd":"\u047b","\\cyrchar\\CYROMEGATITLO":"\u047c","\\cyrchar\\cyromegatitlo":"\u047d","\\cyrchar\\CYROT":"\u047e","\\cyrchar\\cyrot":"\u047f","\\cyrchar\\CYRKOPPA":"\u0480","\\cyrchar\\cyrkoppa":"\u0481","\\cyrchar\\cyrthousands":"\u0482","\\cyrchar\\cyrhundredthousands":"\u0488","\\cyrchar\\cyrmillions":"\u0489","\\cyrchar\\CYRSEMISFTSN":"\u048c","\\cyrchar\\cyrsemisftsn":"\u048d","\\cyrchar\\CYRRTICK":"\u048e","\\cyrchar\\cyrrtick":"\u048f","\\cyrchar\\CYRGUP":"\u0490","\\cyrchar\\cyrgup":"\u0491","\\cyrchar\\CYRGHCRS":"\u0492","\\cyrchar\\cyrghcrs":"\u0493","\\cyrchar\\CYRGHK":"\u0494","\\cyrchar\\cyrghk":"\u0495","\\cyrchar\\CYRZHDSC":"\u0496","\\cyrchar\\cyrzhdsc":"\u0497","\\cyrchar\\CYRZDSC":"\u0498","\\cyrchar\\cyrzdsc":"\u0499","\\cyrchar\\CYRKDSC":"\u049a","\\cyrchar\\cyrkdsc":"\u049b","\\cyrchar\\CYRKVCRS":"\u049c","\\cyrchar\\cyrkvcrs":"\u049d","\\cyrchar\\CYRKHCRS":"\u049e","\\cyrchar\\cyrkhcrs":"\u049f","\\cyrchar\\CYRKBEAK":"\u04a0","\\cyrchar\\cyrkbeak":"\u04a1","\\cyrchar\\CYRNDSC":"\u04a2","\\cyrchar\\cyrndsc":"\u04a3","\\cyrchar\\CYRNG":"\u04a4","\\cyrchar\\cyrng":"\u04a5","\\cyrchar\\CYRPHK":"\u04a6","\\cyrchar\\cyrphk":"\u04a7","\\cyrchar\\CYRABHHA":"\u04a8","\\cyrchar\\cyrabhha":"\u04a9","\\cyrchar\\CYRSDSC":"\u04aa","\\cyrchar\\cyrsdsc":"\u04ab","\\cyrchar\\CYRTDSC":"\u04ac","\\cyrchar\\cyrtdsc":"\u04ad","\\cyrchar\\CYRY":"\u04ae","\\cyrchar\\cyry":"\u04af","\\cyrchar\\CYRYHCRS":"\u04b0","\\cyrchar\\cyryhcrs":"\u04b1","\\cyrchar\\CYRHDSC":"\u04b2","\\cyrchar\\cyrhdsc":"\u04b3","\\cyrchar\\CYRTETSE":"\u04b4","\\cyrchar\\cyrtetse":"\u04b5","\\cyrchar\\CYRCHRDSC":"\u04b6","\\cyrchar\\cyrchrdsc":"\u04b7","\\cyrchar\\CYRCHVCRS":"\u04b8","\\cyrchar\\cyrchvcrs":"\u04b9","\\cyrchar\\CYRSHHA":"\u04ba","\\cyrchar\\cyrshha":"\u04bb","\\cyrchar\\CYRABHCH":"\u04bc","\\cyrchar\\cyrabhch":"\u04bd","\\cyrchar\\CYRABHCHDSC":"\u04be","\\cyrchar\\cyrabhchdsc":"\u04bf","\\cyrchar\\CYRpalochka":"\u04c0","\\cyrchar\\CYRKHK":"\u04c3","\\cyrchar\\cyrkhk":"\u04c4","\\cyrchar\\CYRNHK":"\u04c7","\\cyrchar\\cyrnhk":"\u04c8","\\cyrchar\\CYRCHLDSC":"\u04cb","\\cyrchar\\cyrchldsc":"\u04cc","\\cyrchar\\CYRAE":"\u04d4","\\cyrchar\\cyrae":"\u04d5","\\cyrchar\\CYRSCHWA":"\u04d8","\\cyrchar\\cyrschwa":"\u04d9","\\cyrchar\\CYRABHDZE":"\u04e0","\\cyrchar\\cyrabhdze":"\u
304e1","\\cyrchar\\CYROTLD":"\u04e8","\\cyrchar\\cyrotld":"\u04e9","\\hspace{0.6em}":"\u2002","\\hspace{1em}":"\u2003","\\hspace{0.33em}":"\u2004","\\hspace{0.25em}":"\u2005","\\hspace{0.166em}":"\u2006","\\hphantom{0}":"\u2007","\\hphantom{,}":"\u2008","\\hspace{0.167em}":"\u2009","\\mkern1mu":"\u200a","\\textendash":"\u2013","\\textemdash":"\u2014","\\rule{1em}{1pt}":"\u2015","\\Vert":"\u2016","\\Elzreapos":"\u201b","\\textquotedblleft":"\u201c","\\textquotedblright":"\u201d","\\textdagger":"\u2020","\\textdaggerdbl":"\u2021","\\textbullet":"\u2022","\\ldots":"\u2026","\\textperthousand":"\u2030","\\textpertenthousand":"\u2031","\\backprime":"\u2035","\\guilsinglleft":"\u2039","\\guilsinglright":"\u203a","\\mkern4mu":"\u205f","\\nolinebreak":"\u2060","\\ensuremath{\\Elzpes}":"\u20a7","\\mbox{\\texteuro}":"\u20ac","\\dddot":"\u20db","\\ddddot":"\u20dc","\\mathbb{C}":"\u2102","\\mathscr{g}":"\u210a","\\mathscr{H}":"\u210b","\\mathfrak{H}":"\u210c","\\mathbb{H}":"\u210d","\\hslash":"\u210f","\\mathscr{I}":"\u2110","\\mathfrak{I}":"\u2111","\\mathscr{L}":"\u2112","\\mathscr{l}":"\u2113","\\mathbb{N}":"\u2115","\\cyrchar\\textnumero":"\u2116","\\wp":"\u2118","\\mathbb{P}":"\u2119","\\mathbb{Q}":"\u211a","\\mathscr{R}":"\u211b","\\mathfrak{R}":"\u211c","\\mathbb{R}":"\u211d","\\Elzxrat":"\u211e","\\texttrademark":"\u2122","\\mathbb{Z}":"\u2124","\\mho":"\u2127","\\mathfrak{Z}":"\u2128","\\ElsevierGlyph{2129}":"\u2129","\\mathscr{B}":"\u212c","\\mathfrak{C}":"\u212d","\\mathscr{e}":"\u212f","\\mathscr{E}":"\u2130","\\mathscr{F}":"\u2131","\\mathscr{M}":"\u2133","\\mathscr{o}":"\u2134","\\aleph":"\u2135","\\beth":"\u2136","\\gimel":"\u2137","\\daleth":"\u2138","\\textfrac{1}{3}":"\u2153","\\textfrac{2}{3}":"\u2154","\\textfrac{1}{5}":"\u2155","\\textfrac{2}{5}":"\u2156","\\textfrac{3}{5}":"\u2157","\\textfrac{4}{5}":"\u2158","\\textfrac{1}{6}":"\u2159","\\textfrac{5}{6}":"\u215a","\\textfrac{1}{8}":"\u215b","\\textfrac{3}{8}":"\u215c","\\textfrac{5}{8}":"\u215d","\\textfrac{7}{8}":"\u215e","\\leftarrow":"\u2190","\\uparrow":"\u2191","\\rightarrow":"\u2192","\\downarrow":"\u2193","\\leftrightarrow":"\u2194","\\updownarrow":"\u2195","\\nwarrow":"\u2196","\\nearrow":"\u2197","\\searrow":"\u2198","\\swarrow":"\u2199","\\nleftarrow":"\u219a","\\nrightarrow":"\u219b","\\arrowwaveleft":"\u219c","\\arrowwaveright":"\u219d","\\twoheadleftarrow":"\u219e","\\twoheadrightarrow":"\u21a0","\\leftarrowtail":"\u21a2","\\rightarrowtail":"\u21a3","\\mapsto":"\u21a6","\\hookleftarrow":"\u21a9","\\hookrightarrow":"\u21aa","\\looparrowleft":"\u21ab","\\looparrowright":"\u21ac","\\leftrightsquigarrow":"\u21ad","\\nleftrightarrow":"\u21ae","\\Lsh":"\u21b0","\\Rsh":"\u21b1","\\ElsevierGlyph{21B3}":"\u21b3","\\curvearrowleft":"\u21b6","\\curvearrowright":"\u21b7","\\circlearrowleft":"\u21ba","\\circlearrowright":"\u21bb","\\leftharpoonup":"\u21bc","\\leftharpoondown":"\u21bd","\\upharpoonright":"\u21be","\\upharpoonleft":"\u21bf","\\rightharpoonup":"\u21c0","\\rightharpoondown":"\u21c1","\\downharpoonright":"\u21c2","\\downharpoonleft":"\u21c3","\\rightleftarrows":"\u21c4","\\dblarrowupdown":"\u21c5","\\leftrightarrows":"\u21c6","\\leftleftarrows":"\u21c7","\\upuparrows":"\u21c8","\\rightrightarrows":"\u21c9","\\downdownarrows":"\u21ca","\\leftrightharpoons":"\u21cb","\\rightleftharpoons":"\u21cc","\\nLeftarrow":"\u21cd","\\nLeftrightarrow":"\u21ce","\\nRightarrow":"\u21cf","\\Leftarrow":"\u21d0","\\Uparrow":"\u21d1","\\Rightarrow":"\u21d2","\\Downarrow":"\u21d3","\\Leftrightarrow":"\u21d4","\\Updownarrow":"\u21d5","\\Lleftarrow":"\u21da","\\Rrightarrow":"\u21db","\\rightsquigarrow":"\u21dd","\\DownArrowUpArrow":"\u21f5","\\forall":"\u2200","\\complement":"\u2201","\\partial":"\u2202","\\exists":"\u2203","\\nexists":"\u2204","\\varnothing":"\u2205","\\nabla":"\u2207","\\in":"\u2208","\\not\\in":"\u2209","\\ni":"\u220b","\\not\\ni":"\u220c","\\prod":"\u220f","\\coprod":"\u2210","\\sum":"\u2211","\\mp":"\u2213","\\dotplus":"\u2214","\\setminus":"\u2216","\\circ":"\u2218","\\bullet":"\u2219","\\surd":"\u221a","\\propto":"\u221d","\\infty":"\u221e","\\rightangle":"\u221f","\\angle":"\u2220","\\measuredangle":"\u2221","\\sphericalangle":"\u2222","\\mid":"\u2223","\\nmid":"\u2224","\\parallel":"\u2225","\\nparallel":"\u2226","\\wedge":"\u2227","\\vee":"\u2228","\\cap":"\u2229","\\cup":"\u222a","\\int":"\u222b","\\int\\!\\int":"\u222c","\\int\\!\\int\\!\\int":"\u222d","\\oint":"\u222e","\\surf
3integral":"\u222f","\\volintegral":"\u2230","\\clwintegral":"\u2231","\\ElsevierGlyph{2232}":"\u2232","\\ElsevierGlyph{2233}":"\u2233","\\therefore":"\u2234","\\because":"\u2235","\\Colon":"\u2237","\\ElsevierGlyph{2238}":"\u2238","\\mathbin{{:}\\!\\!{-}\\!\\!{:}}":"\u223a","\\homothetic":"\u223b","\\sim":"\u223c","\\backsim":"\u223d","\\lazysinv":"\u223e","\\wr":"\u2240","\\not\\sim":"\u2241","\\ElsevierGlyph{2242}":"\u2242","\\simeq":"\u2243","\\not\\simeq":"\u2244","\\cong":"\u2245","\\approxnotequal":"\u2246","\\not\\cong":"\u2247","\\approx":"\u2248","\\not\\approx":"\u2249","\\approxeq":"\u224a","\\tildetrpl":"\u224b","\\allequal":"\u224c","\\asymp":"\u224d","\\Bumpeq":"\u224e","\\bumpeq":"\u224f","\\doteq":"\u2250","\\doteqdot":"\u2251","\\fallingdotseq":"\u2252","\\risingdotseq":"\u2253","\\eqcirc":"\u2256","\\circeq":"\u2257","\\estimates":"\u2259","\\ElsevierGlyph{225A}":"\u225a","\\starequal":"\u225b","\\triangleq":"\u225c","\\ElsevierGlyph{225F}":"\u225f","\\not =":"\u2260","\\equiv":"\u2261","\\not\\equiv":"\u2262","\\leq":"\u2264","\\geq":"\u2265","\\leqq":"\u2266","\\geqq":"\u2267","\\lneqq":"\u2268","\\gneqq":"\u2269","\\ll":"\u226a","\\gg":"\u226b","\\between":"\u226c","\\not\\kern-0.3em\\times":"\u226d","\\not<":"\u226e","\\not>":"\u226f","\\not\\leq":"\u2270","\\not\\geq":"\u2271","\\lessequivlnt":"\u2272","\\greaterequivlnt":"\u2273","\\ElsevierGlyph{2274}":"\u2274","\\ElsevierGlyph{2275}":"\u2275","\\lessgtr":"\u2276","\\gtrless":"\u2277","\\notlessgreater":"\u2278","\\notgreaterless":"\u2279","\\prec":"\u227a","\\succ":"\u227b","\\preccurlyeq":"\u227c","\\succcurlyeq":"\u227d","\\precapprox":"\u227e","\\succapprox":"\u227f","\\not\\prec":"\u2280","\\not\\succ":"\u2281","\\subset":"\u2282","\\supset":"\u2283","\\not\\subset":"\u2284","\\not\\supset":"\u2285","\\subseteq":"\u2286","\\supseteq":"\u2287","\\not\\subseteq":"\u2288","\\not\\supseteq":"\u2289","\\subsetneq":"\u228a","\\supsetneq":"\u228b","\\uplus":"\u228e","\\sqsubset":"\u228f","\\sqsupset":"\u2290","\\sqsubseteq":"\u2291","\\sqsupseteq":"\u2292","\\sqcap":"\u2293","\\sqcup":"\u2294","\\oplus":"\u2295","\\ominus":"\u2296","\\otimes":"\u2297","\\oslash":"\u2298","\\odot":"\u2299","\\circledcirc":"\u229a","\\circledast":"\u229b","\\circleddash":"\u229d","\\boxplus":"\u229e","\\boxminus":"\u229f","\\boxtimes":"\u22a0","\\boxdot":"\u22a1","\\vdash":"\u22a2","\\dashv":"\u22a3","\\top":"\u22a4","\\perp":"\u22a5","\\truestate":"\u22a7","\\forcesextra":"\u22a8","\\Vdash":"\u22a9","\\Vvdash":"\u22aa","\\VDash":"\u22ab","\\nvdash":"\u22ac","\\nvDash":"\u22ad","\\nVdash":"\u22ae","\\nVDash":"\u22af","\\vartriangleleft":"\u22b2","\\vartriangleright":"\u22b3","\\trianglelefteq":"\u22b4","\\trianglerighteq":"\u22b5","\\original":"\u22b6","\\image":"\u22b7","\\multimap":"\u22b8","\\hermitconjmatrix":"\u22b9","\\intercal":"\u22ba","\\veebar":"\u22bb","\\rightanglearc":"\u22be","\\ElsevierGlyph{22C0}":"\u22c0","\\ElsevierGlyph{22C1}":"\u22c1","\\bigcap":"\u22c2","\\bigcup":"\u22c3","\\diamond":"\u22c4","\\star":"\u22c6","\\divideontimes":"\u22c7","\\bowtie":"\u22c8","\\ltimes":"\u22c9","\\rtimes":"\u22ca","\\leftthreetimes":"\u22cb","\\rightthreetimes":"\u22cc","\\backsimeq":"\u22cd","\\curlyvee":"\u22ce","\\curlywedge":"\u22cf","\\Subset":"\u22d0","\\Supset":"\u22d1","\\Cap":"\u22d2","\\Cup":"\u22d3","\\pitchfork":"\u22d4","\\lessdot":"\u22d6","\\gtrdot":"\u22d7","\\verymuchless":"\u22d8","\\verymuchgreater":"\u22d9","\\lesseqgtr":"\u22da","\\gtreqless":"\u22db","\\curlyeqprec":"\u22de","\\curlyeqsucc":"\u22df","\\not\\sqsubseteq":"\u22e2","\\not\\sqsupseteq":"\u22e3","\\Elzsqspne":"\u22e5","\\lnsim":"\u22e6","\\gnsim":"\u22e7","\\precedesnotsimilar":"\u22e8","\\succnsim":"\u22e9","\\ntriangleleft":"\u22ea","\\ntriangleright":"\u22eb","\\ntrianglelefteq":"\u22ec","\\ntrianglerighteq":"\u22ed","\\vdots":"\u22ee","\\cdots":"\u22ef","\\upslopeellipsis":"\u22f0","\\downslopeellipsis":"\u22f1","\\barwedge":"\u2305","\\varperspcorrespond":"\u2306","\\lceil":"\u2308","\\rceil":"\u2309","\\lfloor":"\u230a","\\rfloor":"\u230b","\\recorder":"\u2315",'\\mathchar"2208'
3:"\u2316","\\ulcorner":"\u231c","\\urcorner":"\u231d","\\llcorner":"\u231e","\\lrcorner":"\u231f","\\frown":"\u2322","\\smile":"\u2323","\\ElsevierGlyph{E838}":"\u233d","\\Elzdlcorn":"\u23a3","\\lmoustache":"\u23b0","\\rmoustache":"\u23b1","\\textvisiblespace":"\u2423","\\ding{172}":"\u2460","\\ding{173}":"\u2461","\\ding{174}":"\u2462","\\ding{175}":"\u2463","\\ding{176}":"\u2464","\\ding{177}":"\u2465","\\ding{178}":"\u2466","\\ding{179}":"\u2467","\\ding{180}":"\u2468","\\ding{181}":"\u2469","\\circledS":"\u24c8","\\Elzdshfnc":"\u2506","\\Elzsqfnw":"\u2519","\\diagup":"\u2571","\\ding{110}":"\u25a0","\\square":"\u25a1","\\blacksquare":"\u25aa","\\fbox{~~}":"\u25ad","\\Elzvrecto":"\u25af","\\ElsevierGlyph{E381}":"\u25b1","\\ding{115}":"\u25b2","\\bigtriangleup":"\u25b3","\\blacktriangle":"\u25b4","\\vartriangle":"\u25b5","\\blacktriangleright":"\u25b8","\\triangleright":"\u25b9","\\ding{116}":"\u25bc","\\bigtriangledown":"\u25bd","\\blacktriangledown":"\u25be","\\triangledown":"\u25bf","\\blacktriangleleft":"\u25c2","\\triangleleft":"\u25c3","\\ding{117}":"\u25c6","\\lozenge":"\u25ca","\\bigcirc":"\u25cb","\\ding{108}":"\u25cf","\\Elzcirfl":"\u25d0","\\Elzcirfr":"\u25d1","\\Elzcirfb":"\u25d2","\\ding{119}":"\u25d7","\\Elzrvbull":"\u25d8","\\Elzsqfl":"\u25e7","\\Elzsqfr":"\u25e8","\\Elzsqfse":"\u25ea","\\ding{72}":"\u2605","\\ding{73}":"\u2606","\\ding{37}":"\u260e","\\ding{42}":"\u261b","\\ding{43}":"\u261e","\\rightmoon":"\u263e","\\mercury":"\u263f","\\venus":"\u2640","\\male":"\u2642","\\jupiter":"\u2643","\\saturn":"\u2644","\\uranus":"\u2645","\\neptune":"\u2646","\\pluto":"\u2647","\\aries":"\u2648","\\taurus":"\u2649","\\gemini":"\u264a","\\cancer":"\u264b","\\leo":"\u264c","\\virgo":"\u264d","\\libra":"\u264e","\\scorpio":"\u264f","\\sagittarius":"\u2650","\\capricornus":"\u2651","\\aquarius":"\u2652","\\pisces":"\u2653","\\ding{171}":"\u2660","\\ding{168}":"\u2663","\\ding{170}":"\u2665","\\ding{169}":"\u2666","\\quarternote":"\u2669","\\eighthnote":"\u266a","\\flat":"\u266d","\\natural":"\u266e","\\sharp":"\u266f","\\ding{33}":"\u2701","\\ding{34}":"\u2702","\\ding{35}":"\u2703","\\ding{36}":"\u2704","\\ding{38}":"\u2706","\\ding{39}":"\u2707","\\ding{40}":"\u2708","\\ding{41}":"\u2709","\\ding{44}":"\u270c","\\ding{45}":"\u270d","\\ding{46}":"\u270e","\\ding{47}":"\u270f","\\ding{48}":"\u2710","\\ding{49}":"\u2711","\\ding{50}":"\u2712","\\ding{51}":"\u2713","\\ding{52}":"\u2714","\\ding{53}":"\u2715","\\ding{54}":"\u2716","\\ding{55}":"\u2717","\\ding{56}
3":"\u2718","\\ding{57}":"\u2719","\\ding{58}":"\u271a","\\ding{59}":"\u271b","\\ding{60}":"\u271c","\\ding{61}":"\u271d","\\ding{62}":"\u271e","\\ding{63}":"\u271f","\\ding{64}":"\u2720","\\ding{65}":"\u2721","\\ding{66}":"\u2722","\\ding{67}":"\u2723","\\ding{68}":"\u2724","\\ding{69}":"\u2725","\\ding{70}":"\u2726","\\ding{71}":"\u2727","\\ding{74}":"\u272a","\\ding{75}":"\u272b","\\ding{76}":"\u272c","\\ding{77}":"\u272d","\\ding{78}":"\u272e","\\ding{79}":"\u272f","\\ding{80}":"\u2730","\\ding{81}":"\u2731","\\ding{82}":"\u2732","\\ding{83}":"\u2733","\\ding{84}":"\u2734","\\ding{85}":"\u2735","\\ding{86}":"\u2736","\\ding{87}":"\u2737","\\ding{88}":"\u2738","\\ding{89}":"\u2739","\\ding{90}":"\u273a","\\ding{91}":"\u273b","\\ding{92}":"\u273c","\\ding{93}":"\u273d","\\ding{94}":"\u273e","\\ding{95}":"\u273f","\\ding{96}":"\u2740","\\ding{97}":"\u2741","\\ding{98}":"\u2742","\\ding{99}":"\u2743","\\ding{100}":"\u2744","\\ding{101}":"\u2745","\\ding{102}":"\u2746","\\ding{103}":"\u2747","\\ding{104}":"\u2748","\\ding{105}":"\u2749","\\ding{106}":"\u274a","\\ding{107}":"\u274b","\\ding{109}":"\u274d","\\ding{111}":"\u274f","\\ding{112}":"\u2750","\\ding{113}":"\u2751","\\ding{114}":"\u2752","\\ding{118}":"\u2756","\\ding{120}":"\u2758","\\ding{121}":"\u2759","\\ding{122}":"\u275a","\\ding{123}":"\u275b","\\ding{124}":"\u275c","\\ding{125}":"\u275d","\\ding{126}":"\u275e","\\ding{161}":"\u2761","\\ding{162}":"\u2762","\\ding{163}":"\u2763","\\ding{164}":"\u2764","\\ding{165}":"\u2765","\\ding{166}":"\u2766","\\ding{167}":"\u2767","\\ding{182}":"\u2776","\\ding{183}":"\u2777","\\ding{184}":"\u2778","\\ding{185}":"\u2779","\\ding{186}":"\u277a","\\ding{187}":"\u277b","\\ding{188}":"\u277c","\\ding{189}":"\u277d","\\ding{190}":"\u277e","\\ding{191}":"\u277f","\\ding{192}":"\u2780","\\ding{193}":"\u2781","\\ding{194}":"\u2782","\\ding{195}":"\u2783","\\ding{196}":"\u2784","\\ding{197}":"\u2785","\\ding{198}":"\u2786","\\ding{199}":"\u2787","\\ding{200}":"\u2788","\\ding{201}":"\u2789","\\ding{202}":"\u278a","\\ding{203}":"\u278b","\\ding{204}":"\u278c","\\ding{205}":"\u278d","\\ding{206}":"\u278e","\\ding{207}":"\u278f","\\ding{208}":"\u2790","\\ding{209}":"\u2791","\\ding{210}":"\u2792","\\ding{211}":"\u2793","\\ding{212}":"\u2794","\\ding{216}":"\u2798","\\ding{217}":"\u2799","\\ding{218}":"\u279a","\\ding{219}":"\u279b","\\ding{220}":"\u279c","\\ding{221}":"\u279d","\\ding{222}":"\u279e","\\ding{223}":"\u279f","\\ding{224}":"\u27a0","\\ding{225}":"\u27a1","\\ding{226}":"\u27a2","\\ding{227}":"\u27a3","\\ding{228}":"\u27a4","\\ding{229}":"\u27a5","\\ding{230}":"\u27a6","\\ding{231}":"\u27a7","\\ding{232}":"\u27a8","\\ding{233}":"\u27a9","\\ding{234}":"\u27aa","\\ding{235}":"\u27ab","\\ding{236}":"\u27ac","\\ding{237}":"\u27ad","\\ding{238}":"\u27ae","\\ding{239}":"\u27af","\\ding{241}":"\u27b1","\\ding{242}":"\u27b2","\\ding{243}":"\u27b3","\\ding{244}":"\u27b4","\\ding{245}":"\u27b5","\\ding{246}":"\u27b6","\\ding{247}":"\u27b7","\\ding{248}":"\u27b8","\\ding{249}":"\u27b9","\\ding{250}":"\u27ba","\\ding{251}":"\u27bb","\\ding{252}":"\u27bc","\\ding{253}":"\u27bd","\\ding{254}":"\u27be","\\langle":"\u27e8","\\rangle":"\u27e9","\\longleftarrow":"\u27f5","\\longrightarrow":"\u27f6","\\longleftrightarrow":"\u27f7","\\Longleftarrow":"\u27f8","\\Longrightarrow":"\u27f9","\\Longleftrightarrow":"\u27fa","\\longmapsto":"\u27fc","\\sim\\joinrel\\leadsto":"\u27ff","\\ElsevierGlyph{E212}":"\u2905","\\UpArrowBar":"\u2912","\\DownArrowBar":"\u2913","\\ElsevierGlyph{E20C}":"\u2923","\\ElsevierGlyph{E20D}":"\u2924","\\ElsevierGlyph{E20B}":"\u2925","\\ElsevierGlyph{E20A}":"\u2926","\\ElsevierGlyph{E211}":"\u2927","\\ElsevierGlyph{E20E}":"\u2928","\\ElsevierGlyph{E20F}":"\u2929","\\ElsevierGlyph{E210}":"\u292a","\\ElsevierGlyph{E21C}":"\u2933","\\ElsevierGlyph{E21A}":"\u2936","\\ElsevierGlyph{E219}":"\u2937","\\Elolarr":"\u2940","\\Elorarr":"\u2941","\\ElzRlarr":"\u2942","\\ElzrLarr"
3:"\u2944","\\Elzrarrx":"\u2947","\\LeftRightVector":"\u294e","\\RightUpDownVector":"\u294f","\\DownLeftRightVector":"\u2950","\\LeftUpDownVector":"\u2951","\\LeftVectorBar":"\u2952","\\RightVectorBar":"\u2953","\\RightUpVectorBar":"\u2954","\\RightDownVectorBar":"\u2955","\\DownLeftVectorBar":"\u2956","\\DownRightVectorBar":"\u2957","\\LeftUpVectorBar":"\u2958","\\LeftDownVectorBar":"\u2959","\\LeftTeeVector":"\u295a","\\RightTeeVector":"\u295b","\\RightUpTeeVector":"\u295c","\\RightDownTeeVector":"\u295d","\\DownLeftTeeVector":"\u295e","\\DownRightTeeVector":"\u295f","\\LeftUpTeeVector":"\u2960","\\LeftDownTeeVector":"\u2961","\\UpEquilibrium":"\u296e","\\ReverseUpEquilibrium":"\u296f","\\RoundImplies":"\u2970","\\ElsevierGlyph{E214}":"\u297c","\\ElsevierGlyph{E215}":"\u297d","\\Elztfnc":"\u2980","\\ElsevierGlyph{3018}":"\u2985","\\Elroang":"\u2986","\\ElsevierGlyph{E291}":"\u2994","\\Elzddfnc":"\u2999","\\Angle":"\u299c","\\Elzlpargt":"\u29a0","\\ElsevierGlyph{E260}":"\u29b5","\\ElsevierGlyph{E61B}":"\u29b6","\\ElzLap":"\u29ca","\\Elzdefas":"\u29cb","\\LeftTriangleBar":"\u29cf","\\RightTriangleBar":"\u29d0","\\ElsevierGlyph{E372}":"\u29dc","\\blacklozenge":"\u29eb","\\RuleDelayed":"\u29f4","\\Elxuplus":"\u2a04","\\ElzThr":"\u2a05","\\Elxsqcup":"\u2a06","\\ElzInf":"\u2a07","\\ElzSup":"\u2a08","\\ElzCint":"\u2a0d","\\clockoint":"\u2a0f","\\ElsevierGlyph{E395}":"\u2a10","\\sqrint":"\u2a16","\\ElsevierGlyph{E25A}":"\u2a25","\\ElsevierGlyph{E25B}":"\u2a2a","\\ElsevierGlyph{E25C}":"\u2a2d","\\ElsevierGlyph{E25D}":"\u2a2e","\\ElzTimes":"\u2a2f","\\ElsevierGlyph{E25E}":"\u2a34","\\ElsevierGlyph{E259}":"\u2a3c","\\amalg":"\u2a3f","\\ElzAnd":"\u2a53","\\ElzOr":"\u2a54","\\ElsevierGlyph{E36E}":"\u2a55","\\ElOr":"\u2a56","\\perspcorrespond":"\u2a5e","\\Elzminhat":"\u2a5f","\\stackrel{*}{=}":"\u2a6e","\\Equal":"\u2a75","\\leqslant":"\u2a7d","\\geqslant":"\u2a7e","\\lessapprox":"\u2a85","\\gtrapprox":"\u2a86","\\lneq":"\u2a87","\\gneq":"\u2a88","\\lnapprox":"\u2a89","\\gnapprox":"\u2a8a","\\lesseqqgtr":"\u2a8b","\\gtreqqless":"\u2a8c","\\eqslantless":"\u2a95","\\eqslantgtr":"\u2a96","\\Pisymbol{ppi020}{117}":"\u2a9d","\\Pisymbol{ppi020}{105}":"\u2a9e","\\NestedLessLess":"\u2aa1","\\NestedGreaterGreater":"\u2aa2","\\preceq":"\u2aaf","\\succeq":"\u2ab0","\\precneqq":"\u2ab5","\\succneqq":"\u2ab6","\\precnapprox":"\u2ab9","\\succnapprox":"\u2aba","\\subseteqq":"\u2ac5","\\supseteqq":"\u2ac6","\\subsetneqq":"\u2acb","\\supsetneqq":"\u2acc","\\ElsevierGlyph{E30D}":"\u2aeb","\\Elztdcol":"\u2af6","\\ElsevierGlyph{300A}":"\u300a","\\ElsevierGlyph{300B}":"\u300b","\\ElsevierGlyph{3019}":"\u3019","\\openbracketleft":"\u301a","\\openbracketright":"\u301b","\\mathbf{A}":"\u{1d400}","\\mathbf{B}":"\u{1d401}","\\mathbf{C}":"\u{1d402}","\\mathbf{D}":"\u{1d403}","\\mathbf{E}":"\u{1d404}","\\mathbf{F}":"\u{1d405}","\\mathbf{G}":"\u{1d406}","\\mathbf{H}":"\u{1d407}","\\mathbf{I}":"\u{1d408}","\\mathbf{J}":"\u{1d409}","\\mathbf{K}":"\u{1d40a}","\\mathbf{L}":"\u{1d40b}","\\mathbf{M}":"\u{1d40c}","\\mathbf{N}":"\u{1d40d}","\\mathbf{O}":"\u{1d40e}","\\mathbf{P}":"\u{1d40f}","\\mathbf{Q}":"\u{1d410}","\\mathbf{R}":"\u{1d411}","\\mathbf{S}":"\u{1d412}","\\mathbf{T}":"\u{1d413}","\\mathbf{U}":"\u{1d414}","\\mathbf{V}":"\u{1d415}","\\mathbf{W}":"\u{1d416}","\\mathbf{X}":"\u{1d417}","\\mathbf{Y}":"\u{1d418}","\\mathbf{Z}":"\u{1d419}","\\mathbf{a}":"\u{1d41a}","\\mathbf{b}":"\u{1d41b}","\\mathbf{c}":"\u{1d41c}","\\mathbf{d}":"\u{1d41d}","\\mathbf{e}":"\u{1d41e}","\\mathbf{f}":"\u{1d41f}","\\mathbf{g}":"\u{1d420}","\\mathbf{h}":"\u{1d421}","\\mathbf{i}":"\u{1d422}","\\mathbf{j}":"\u{1d423}","\\mathbf{k}":"\u{1d424}","\\mathbf{l}":"\u{1d425}","\\mathbf{m}":"\u{1d426}","\\mathbf{n}":"\u{1d427}","\\mathbf{o}":"\u{1d428}","\\mathbf{p}":"\u{1d429}","\\mathbf{q}":"\u{1d42a}","\\mathbf{r}":"\u{1d42b}","\\mathbf{s}":"\u{1d42c}","\\mathbf{t}":"\u{1d42d}","\\mathbf{u}":"\u{1d42e}","\\mathbf{v}":"\u{1d42f}","\\mathbf{w}":"\u{1d430}","\\mathbf{x}":"\u{1d431}","\\mathbf{y}":"\u{1d432}","\\mathbf{z}":"\u{1d433}","\\mathmit{A}":"\u{1d434}","\\mathmit{B}":"\u{1d435}","\\mathmit{C}":"\u{1d436}","\\mathmit{D}":"\u{1d437}","\\mathmit{E}":"\u{1d438}","\\mathmit{F}":"\u{1d439}","\\mathmit{G}":"\u{1d43a}","\\mathmit{H}":"\u{1d43b}","\\mathmit{I}":"\u{1d43c}","\\mathmit{J}":"\u{1d43d}","\\mathmit{K}":"\u{1d43e}","\\mathmit{L}":"\u{1d43f}","\\mathmit{M}":"\u{1d440}","\\mathmit{N}":"\u{1d441}","\\mathmit{O}":"\u{1d442}","\\mathmit{P}":"\u{1d443}","\\mathmit{Q}":"\u{1d444}","\\mathmit{R}":"\u{1d445}","\\mathmit{S}":"\u{1d446}","\\mathmit{T}":"\u{1d447}","\\mathmit{U}":"\u{1d448}","\\mathmit{V}":"\u{1d449}","\\mathmit{W}":"\u{1d44a}","\\mathmit{X}":"\u{1d44b}","\\mathmit{Y}":"\u{1d44c}","\\mathmit{Z}":"\u{1d44d}","\\mathmit{a}":"\u{1d44e}","\\mathmit{b}":"\u{1d44f}","\\mathmit{c}":"\u{1d450}","\\mathmit{d}":"\u{1d451}","\\mathmit{e}":"\u{1d452}","\\mathmit{f}":"\u{1d453}","\\mathmit{g}":"\u{1d454}","\\mathmit{i}":"\u{1d456}","\\mathmit{j}":"\u{1d457}","\\mathmit{k}":"\u{1d458}","\\mathmit{l}":"\u{1d459}","\\mathmit{m}":"\u{1d45a}","\\mathmit{n}":"\u{1d45b}","\\mathmit{o}":"\u{1d45c}","\\mathmit{p}":"\u{1d45d}","\\mathmit{q}":"\u{1d45e}","\\mathmit{r}":"\u{1d45f}","\\mathmit{s}":"\u{1d460}","\\mathmit{t}":"\u{1d461}","\\mathmit{u}":"\u{1d462}","\\mathmit{v}":"\u{1d463}","\\mathmit{w}":"\u{1d464}","\\mathmit{x}":"\u{1d465}","\\mathmit{y}":"\u{1d466}","\\mathmit{z}":"\u{1d467}","\\mathbit{A}":"\u{1d468}","\\mathbit{B}":"\u{1d469}","\\mathbit{C}":"\u{1d46a}","\\mathbit{D}":"\u{1d46b}","\\mathbit{E}":"\u{1d46c}","\\mathbit{F}":"\u{1d46d}","\\mathbit{G}":"\u{1d46e}","\\mathbit{H}":"\u{1d46f}","\\mathbit{I}":"\u{1d470}","\\mathbit{J}":"\u{1d471}","\\mathbit{K}":"\u{1d472}","\\mathbit{L}":"\u{1d473}","\\mathbit{M}":"\u{1d474}","\\mathbit{N}":"\u{1d475}","\\mathbit{O}":"\u{1d476}","\\mathbit{P}":"\u{1d477}","\\mathbit{Q}":"\u{1d478}","\\mathbit{R}":"\u{1d479}","\\mathbit{S}":"\u{1d47a}","\\mathbit{T}":"\u{1d47b}","\\mathbit{U}":"\u{1d47c}
3","\\mathbit{V}":"\u{1d47d}","\\mathbit{W}":"\u{1d47e}","\\mathbit{X}":"\u{1d47f}","\\mathbit{Y}":"\u{1d480}","\\mathbit{Z}":"\u{1d481}","\\mathbit{a}":"\u{1d482}","\\mathbit{b}":"\u{1d483}","\\mathbit{c}":"\u{1d484}","\\mathbit{d}":"\u{1d485}","\\mathbit{e}":"\u{1d486}","\\mathbit{f}":"\u{1d487}","\\mathbit{g}":"\u{1d488}","\\mathbit{h}":"\u{1d489}","\\mathbit{i}":"\u{1d48a}","\\mathbit{j}":"\u{1d48b}","\\mathbit{k}":"\u{1d48c}","\\mathbit{l}":"\u{1d48d}","\\mathbit{m}":"\u{1d48e}","\\mathbit{n}":"\u{1d48f}","\\mathbit{o}":"\u{1d490}","\\mathbit{p}":"\u{1d491}","\\mathbit{q}":"\u{1d492}","\\mathbit{r}":"\u{1d493}","\\mathbit{s}":"\u{1d494}","\\mathbit{t}":"\u{1d495}","\\mathbit{u}":"\u{1d496}","\\mathbit{v}":"\u{1d497}","\\mathbit{w}":"\u{1d498}","\\mathbit{x}":"\u{1d499}","\\mathbit{y}":"\u{1d49a}","\\mathbit{z}":"\u{1d49b}","\\mathscr{A}":"\u{1d49c}","\\mathscr{C}":"\u{1d49e}","\\mathscr{D}":"\u{1d49f}","\\mathscr{G}":"\u{1d4a2}","\\mathscr{J}":"\u{1d4a5}","\\mathscr{K}":"\u{1d4a6}","\\mathscr{N}":"\u{1d4a9}","\\mathscr{O}":"\u{1d4aa}","\\mathscr{P}":"\u{1d4ab}","\\mathscr{Q}":"\u{1d4ac}","\\mathscr{S}":"\u{1d4ae}","\\mathscr{T}":"\u{1d4af}","\\mathscr{U}":"\u{1d4b0}","\\mathscr{V}":"\u{1d4b1}","\\mathscr{W}":"\u{1d4b2}","\\mathscr{X}":"\u{1d4b3}","\\mathscr{Y}":"\u{1d4b4}","\\mathscr{Z}":"\u{1d4b5}","\\mathscr{a}":"\u{1d4b6}","\\mathscr{b}":"\u{1d4b7}","\\mathscr{c}":"\u{1d4b8}","\\mathscr{d}":"\u{1d4b9}","\\mathscr{f}":"\u{1d4bb}","\\mathscr{h}":"\u{1d4bd}","\\mathscr{i}":"\u{1d4be}","\\mathscr{j}":"\u{1d4bf}","\\mathscr{k}":"\u{1d4c0}","\\mathscr{m}":"\u{1d4c2}","\\mathscr{n}":"\u{1d4c3}","\\mathscr{p}":"\u{1d4c5}","\\mathscr{q}":"\u{1d4c6}","\\mathscr{r}":"\u{1d4c7}","\\mathscr{s}":"\u{1d4c8}","\\mathscr{t}":"\u{1d4c9}","\\mathscr{u}":"\u{1d4ca}","\\mathscr{v}":"\u{1d4cb}","\\mathscr{w}":"\u{1d4cc}","\\mathscr{x}":"\u{1d4cd}","\\mathscr{y}":"\u{1d4ce}","\\mathscr{z}":"\u{1d4cf}","\\mathbcal{A}":"\u{1d4d0}","\\mathbcal{B}":"\u{1d4d1}","\\mathbcal{C}":"\u{1d4d2}","\\mathbcal{D}":"\u{1d4d3}","\\mathbcal{E}":"\u{1d4d4}","\\mathbcal{F}":"\u{1d4d5}","\\mathbcal{G}":"\u{1d4d6}","\\mathbcal{H}":"\u{1d4d7}","\\mathbcal{I}":"\u{1d4d8}","\\mathbcal{J}":"\u{1d4d9}","\\mathbcal{K}":"\u{1d4da}","\\mathbcal{L}":"\u{1d4db}","\\mathbcal{M}":"\u{1d4dc}","\\mathbcal{N}":"\u{1d4dd}","\\mathbcal{O}":"\u{1d4de}","\\mathbcal{P}":"\u{1d4df}","\\mathbcal{Q}":"\u{1d4e0}","\\mathbcal{R}":"\u{1d4e1}","\\mathbcal{S}":"\u{1d4e2}","\\mathbcal{T}":"\u{1d4e3}","\\mathbcal{U}":"\u{1d4e4}","\\mathbcal{V}":"\u{1d4e5}","\\mathbcal{W}":"\u{1d4e6}","\\mathbcal{X}":"\u{1d4e7}","\\mathbcal{Y}":"\u{1d4e8}","\\mathbcal{Z}":"\u{1d4e9}","\\mathbcal{a}":"\u{1d4ea}","\\mathbcal{b}":"\u{1d4eb}","\\mathbcal{c}":"\u{1d4ec}","\\mathbcal{d}":"\u{1d4ed}","\\mathbcal{e}":"\u{1d4ee}","\\mathbcal{f}":"\u{1d4ef}","\\mathbcal{g}":"\u{1d4f0}","\\mathbcal{h}":"\u{1d4f1}","\\mathbcal{i}":"\u{1d4f2}","\\mathbcal{j}":"\u{1d4f3}","\\mathbcal{k}":"\u{1d4f4}","\\mathbcal{l}":"\u{1d4f5}","\\mathbcal{m}":"\u{1d4f6}","\\mathbcal{n}":"\u{1d4f7}","\\mathbcal{o}":"\u{1d4f8}","\\mathbcal{p}":"\u{1d4f9}","\\mathbcal{q}":"\u{1d4fa}","\\mathbcal{r}":"\u{1d4fb}","\\mathbcal{s}":"\u{1d4fc}","\\mathbcal{t}":"\u{1d4fd}","\\mathbcal{u}":"\u{1d4fe}","\\mathbcal{v}":"\u{1d4ff}","\\mathbcal{w}":"\u{1d500}","\\mathbcal{x}":"\u{1d501}","\\mathbcal{y}":"\u{1d502}","\\mathbcal{z}":"\u{1d503}","\\mathfrak{A}":"\u{1d504}","\\mathfrak{B}":"\u{1d505}","\\mathfrak{D}":"\u{1d507}","\\mathfrak{E}":"\u{1d508}","\\mathfrak{F}":"\u{1d509}","\\mathfrak{G}":"\u{1d50a}","\\mathfrak{J}":"\u{1d50d}","\\mathfrak{K}":"\u{1d50e}","\\mathfrak{L}":"\u{1d50f}","\\mathfrak{M}":"\u{1d510}","\\mathfrak{N}":"\u{1d511}","\\mathfrak{O}":"\u{1d512}","\\mathfrak{P}":"\u{1d513}","\\mathfrak{Q}":"\u{1d514}","\\mathfrak{S}":"\u{1d516}","\\mathfrak{T}":"\u{1d517}","\\mathfrak{U}":"\u{1d518}","\\mathfrak{V}":"\u{1d519}","\\mathfrak{W}":"\u{1d51a}","\\mathfrak{X}":"\u{1d51b}","\\mathfrak{Y}":"\u{1d51c}","\\mathfrak{a}":"\u{1d51e}","\\mathfrak{b}":"\u{1d51f}","\\mathfrak{c}":"\u{1d520}","\\mathfrak{d}":"\u{1d521}","\\mathfrak{e}":"\u{1d522}","\\mathfrak{f}":"\u{1d523}","\\mathfrak{g}":"\u{1d524}","\\mathfrak{h}":"\u{1d525}","\\mathfrak{i}":"\u{1d526}","\\mathfrak{j}":"\u{1d527}","\\mathfrak{k}":"\u{1d528}","\\mathfrak{l}":"\u{1d529}","\\mathfrak{m}":"\u{1d52a}","\\mathfrak{n}":"\u{1d52b}","\\mathfrak{o}":"\u{1d52c}","\\mathfrak{p}":"\u{1d52d}","\\mathfrak{q}":"\u{1d52e}","\\mathfrak{r}":"\u{1d52f}","\\mathfrak{s}":"\u{1d530}","\\mathfrak{t}":"\u{1d531}","\\mathfrak{u}":"\u{1d532}","\\mathfrak{v}":"\u{1d533}","\\mathfrak{w}":"\u{1d534}","\\mathfrak{x}":"\u{1d535}","\\mathfrak{y}":"\u{1d536}","\\mathfrak{z}":"\u{1d537}","\\mathbb{A}":"\u{1d538}","\\mathbb{B}":"\u{1d539}","\\mathbb{D}":"\u{1d53b}","\\mathbb{E}":"\u{1d53c}","\\mathbb{F}":"\u{1d53d}","\\mathbb{G}":"\u{1d53e}","\\mathbb{I}":"\u{1d540}","\\mathbb{J}":"\u{1d541}","\\mathbb{K}":"\u{1d542}","\\mathbb{L}":"\u{1d543}","\\mathbb{M}":"\u{1d544}","\\mathbb{O}":"\u{1d546}","\\mathbb{S}":"\u{1d54a}","\\mathbb{T}":"\u{1d54b}","\\mathbb{U}":"\u{1d54c}","\\mathbb{V}":"\u{1d54d}","\\mathbb{W}":"\u{1d54e}","\\mathbb{X}":"\u{1d54f}","\\mathbb{Y}":"\u{1d550}","\\mathbb{a}":"\u{1d552}","\\mathbb{b}":"\u{1d553}","\\mathbb{c}":"\u{1d554}","\\mathbb{d}":"\u{1d555}","\\mathbb{e}":"\u{1d556}","\\mathbb{f}":"\u{1d557}","\\mathbb{g}":"\u{1d558}","\\mathbb{h}":"\u{1d559}","\\mathbb{i}":"\u{1d55a}","\\mathbb{j}":"\u{1d55b}","\\mathbb{k}":"\u{1d55c}","\\mathbb{l}":"\u{1d55d}","\\mathbb{m}":"\u{1d55e}","\\mathbb{n}":"\u{1d55f}","\\mathbb{o}":"\u{1d560}","\\mathbb{p}":"\u{1d561}","\\mathbb{q}":"\u{1d562}","\\mathbb{r}":"\u{1d563}","\\mathbb{s}":"\u{1d564}","\\mathbb{t}":"\u{1d565}","\\mathbb{u}":"\u{1d566}","\\mathbb{v}":"\u{1d567}","\\mathbb{w}":"\u{1d568}","\\mathbb{x}":"\u{1d569}","\\mathbb{y}":"\u{1d56a}","\\mathbb{z}":"\u{1d56b}","\\mathbfrak{A}":"\u{1d56c}","\\mathbfrak{B}":"\u{1d56d}","\\mathbfrak{C}":"\u{1d56e}","\\mathbfrak{D}":"\u{1d56f}","\\mathbfrak{E}":"\u{1d570}","\\mathbfrak{F}":"\u{1d571}","\\mathbfrak{G}":"\u{1d572}","\\mathbfrak{H}":"\u{1d573}","\\mathbfrak{I}":"\u{1d574}","\\mathbfrak{J}":"\u{1d575}","\\mathbfrak{K}":"\u{1d576}","\\mathbfrak{L}":"\u{1d577}","\\mathbfrak{M}":"\u{1d578}","\\mathbfrak{N}":"\u{1d579}","\\mathbfrak{O}":"\u{1d57a}","\\mathbfrak{P}":"\u{1d57b}","\\mathbfrak{Q}":"\u{1d57c}","\\mathbfrak{R}":"\u{1d57d}","\\mathbfrak{S}":"\u{1d57e}","\\mathbfrak{T}":"\u{1d57f}","\\mathbfrak{U}":"\u{1d580}","\\mathbfrak{V}":"\u{1d581}","\\mathbfrak{W}":"\u{1d582}","\\mathbfrak{X}":"\u{1d583}","\\mathbfrak{Y}":"\u{1d584}","\\mathbfrak{Z}":"\u{1d585}","\\mathbfrak{a}":"\u{1d586}","\\mathbfrak{b}":"\u{1d587}","\\mathbfrak{c}":"\u{1d588}","\\mathbfrak{d}":"\u{1d589}","\\mathbfrak{e}":"\u{1d58a}","\\mathbfrak{f}":"\u{1d58b}","\\mathbfrak{g}":"\u{1d58c}","\\mathbfrak{h}":"\u{1d58d}","\\mathbfrak{i}":"\u{1d58e}","\\mathbfrak{j}":"\u{1d58f}","\\mathbfrak{k}":"\u{1d590}","\\mathbfrak{l}":"\u{1d591}","\\mathbfrak{m}":"\u{1d592}","\\mathbfrak{n}":"\u{1d593}","\\mathbfrak{o}":"\u{1d594}","\\mathbfrak{p}":"\u{1d595}","\\mathbfrak{q}":"\u{1d596}","\\mathbfrak{r}":"\u{1d597}","\\mathbfrak{s}":"\u{1d598}","\\mathbfrak{t}":"\u{1d599}","\\mathbfrak{u}":"\u{1d59a}","\\mathbfrak{v}":"\u{1d59b}","\\mathbfrak{w}":"\u{1d59c}","\\mathbfrak{x}":"\u{1d59d}","\\mathbfrak{y}":"\u{1d59e}","\\mathbfrak{z}":"\u{1d59f}","\\mathsf{A}":"\u{1d5a0}","\\mathsf{B}":"\u{1d5a1}","\\mathsf{C}":"\u{1d5a2}","\\mathsf{D}":"\u{1d5a3}","\\mathsf{E}":"\u{1d5a4}","\\mathsf{F}":"\u{1d5a5}","\\mathsf{G}":"\u{1d5a6}","\\mathsf{H}":"\u{1d5a7}","\\mathsf{I}":"\u{1d5a8}","\\mathsf{J}":"\u{1d5a9}","\\mathsf{K}":"\u{1d5aa}","\\mathsf{L}":"\u{1d5ab}","\\mathsf{M}":"\u{1d5ac}","\\mathsf{N}":"\u{1d5ad}","\\mathsf{O}":"\u{1d5ae}","\\mathsf{P}":"\u{1d5af}","\\mathsf{Q}":"\u{1d5b0}","\\mathsf{R}":"\u{1d5b1}","\\mathsf{S}":"\u{1d5b2}","\\mathsf{T}":"\u{1d5b3}","\\mathsf{U}":"\u{1d5b4}","\\mathsf{V}":"\u{1d5b5}","\\mathsf{W}":"\u{1d5b6}
3","\\mathsf{X}":"\u{1d5b7}","\\mathsf{Y}":"\u{1d5b8}","\\mathsf{Z}":"\u{1d5b9}","\\mathsf{a}":"\u{1d5ba}","\\mathsf{b}":"\u{1d5bb}","\\mathsf{c}":"\u{1d5bc}","\\mathsf{d}":"\u{1d5bd}","\\mathsf{e}":"\u{1d5be}","\\mathsf{f}":"\u{1d5bf}","\\mathsf{g}":"\u{1d5c0}","\\mathsf{h}":"\u{1d5c1}","\\mathsf{i}":"\u{1d5c2}","\\mathsf{j}":"\u{1d5c3}","\\mathsf{k}":"\u{1d5c4}","\\mathsf{l}":"\u{1d5c5}","\\mathsf{m}":"\u{1d5c6}","\\mathsf{n}":"\u{1d5c7}","\\mathsf{o}":"\u{1d5c8}","\\mathsf{p}":"\u{1d5c9}","\\mathsf{q}":"\u{1d5ca}","\\mathsf{r}":"\u{1d5cb}","\\mathsf{s}":"\u{1d5cc}","\\mathsf{t}":"\u{1d5cd}","\\mathsf{u}":"\u{1d5ce}","\\mathsf{v}":"\u{1d5cf}","\\mathsf{w}":"\u{1d5d0}","\\mathsf{x}":"\u{1d5d1}","\\mathsf{y}":"\u{1d5d2}","\\mathsf{z}":"\u{1d5d3}","\\mathsfbf{A}":"\u{1d5d4}","\\mathsfbf{B}":"\u{1d5d5}","\\mathsfbf{C}":"\u{1d5d6}","\\mathsfbf{D}":"\u{1d5d7}","\\mathsfbf{E}":"\u{1d5d8}","\\mathsfbf{F}":"\u{1d5d9}","\\mathsfbf{G}":"\u{1d5da}","\\mathsfbf{H}":"\u{1d5db}","\\mathsfbf{I}":"\u{1d5dc}","\\mathsfbf{J}":"\u{1d5dd}","\\mathsfbf{K}":"\u{1d5de}","\\mathsfbf{L}":"\u{1d5df}","\\mathsfbf{M}":"\u{1d5e0}","\\mathsfbf{N}":"\u{1d5e1}","\\mathsfbf{O}":"\u{1d5e2}","\\mathsfbf{P}":"\u{1d5e3}","\\mathsfbf{Q}":"\u{1d5e4}","\\mathsfbf{R}":"\u{1d5e5}","\\mathsfbf{S}":"\u{1d5e6}","\\mathsfbf{T}":"\u{1d5e7}","\\mathsfbf{U}":"\u{1d5e8}","\\mathsfbf{V}":"\u{1d5e9}","\\mathsfbf{W}":"\u{1d5ea}","\\mathsfbf{X}":"\u{1d5eb}","\\mathsfbf{Y}":"\u{1d5ec}","\\mathsfbf{Z}":"\u{1d5ed}","\\mathsfbf{a}":"\u{1d5ee}","\\mathsfbf{b}":"\u{1d5ef}","\\mathsfbf{c}":"\u{1d5f0}","\\mathsfbf{d}":"\u{1d5f1}","\\mathsfbf{e}":"\u{1d5f2}","\\mathsfbf{f}":"\u{1d5f3}","\\mathsfbf{g}":"\u{1d5f4}","\\mathsfbf{h}":"\u{1d5f5}","\\mathsfbf{i}":"\u{1d5f6}","\\mathsfbf{j}":"\u{1d5f7}","\\mathsfbf{k}":"\u{1d5f8}","\\mathsfbf{l}":"\u{1d5f9}","\\mathsfbf{m}":"\u{1d5fa}","\\mathsfbf{n}":"\u{1d5fb}","\\mathsfbf{o}":"\u{1d5fc}","\\mathsfbf{p}":"\u{1d5fd}","\\mathsfbf{q}":"\u{1d5fe}","\\mathsfbf{r}":"\u{1d5ff}","\\mathsfbf{s}":"\u{1d600}","\\mathsfbf{t}":"\u{1d601}","\\mathsfbf{u}":"\u{1d602}","\\mathsfbf{v}":"\u{1d603}","\\mathsfbf{w}":"\u{1d604}","\\mathsfbf{x}":"\u{1d605}","\\mathsfbf{y}":"\u{1d606}","\\mathsfbf{z}":"\u{1d607}","\\mathsfsl{A}":"\u{1d608}","\\mathsfsl{B}":"\u{1d609}","\\mathsfsl{C}":"\u{1d60a}","\\mathsfsl{D}":"\u{1d60b}","\\mathsfsl{E}":"\u{1d60c}","\\mathsfsl{F}":"\u{1d60d}","\\mathsfsl{G}":"\u{1d60e}","\\mathsfsl{H}":"\u{1d60f}","\\mathsfsl{I}":"\u{1d610}","\\mathsfsl{J}":"\u{1d611}","\\mathsfsl{K}":"\u{1d612}","\\mathsfsl{L}":"\u{1d613}","\\mathsfsl{M}":"\u{1d614}","\\mathsfsl{N}":"\u{1d615}","\\mathsfsl{O}":"\u{1d616}","\\mathsfsl{P}":"\u{1d617}","\\mathsfsl{Q}":"\u{1d618}","\\mathsfsl{R}":"\u{1d619}","\\mathsfsl{S}":"\u{1d61a}","\\mathsfsl{T}":"\u{1d61b}","\\mathsfsl{U}":"\u{1d61c}","\\mathsfsl{V}":"\u{1d61d}","\\mathsfsl{W}":"\u{1d61e}","\\mathsfsl{X}":"\u{1d61f}","\\mathsfsl{Y}":"\u{1d620}","\\mathsfsl{Z}":"\u{1d621}","\\mathsfsl{a}":"\u{1d622}","\\mathsfsl{b}":"\u{1d623}","\\mathsfsl{c}":"\u{1d624}","\\mathsfsl{d}":"\u{1d625}","\\mathsfsl{e}":"\u{1d626}","\\mathsfsl{f}":"\u{1d627}","\\mathsfsl{g}":"\u{1d628}","\\mathsfsl{h}":"\u{1d629}","\\mathsfsl{i}":"\u{1d62a}","\\mathsfsl{j}":"\u{1d62b}","\\mathsfsl{k}":"\u{1d62c}","\\mathsfsl{l}":"\u{1d62d}","\\mathsfsl{m}":"\u{1d62e}","\\mathsfsl{n}":"\u{1d62f}","\\mathsfsl{o}":"\u{1d630}","\\mathsfsl{p}":"\u{1d631}","\\mathsfsl{q}":"\u{1d632}","\\mathsfsl{r}":"\u{1d633}","\\mathsfsl{s}":"\u{1d634}","\\mathsfsl{t}":"\u{1d635}","\\mathsfsl{u}":"\u{1d636}","\\mathsfsl{v}":"\u{1d637}","\\mathsfsl{w}":"\u{1d638}","\\mathsfsl{x}":"\u{1d639}","\\mathsfsl{y}":"\u{1d63a}","\\mathsfsl{z}":"\u{1d63b}","\\mathsfbfsl{A}":"\u{1d63c}","\\mathsfbfsl{B}":"\u{1d63d}","\\mathsfbfsl{C}":"\u{1d63e}","\\mathsfbfsl{D}":"\u{1d63f}","\\mathsfbfsl{E}":"\u{1d640}","\\mathsfbfsl{F}":"\u{1d641}","\\mathsfbfsl{G}":"\u{1d642}","\\mathsfbfsl{H}":"\u{1d643}","\\mathsfbfsl{I}":"\u{1d644}","\\mathsfbfsl{J}":"\u{1d645}","\\mathsfbfsl{K}":"\u{1d646}","\\mathsfbfsl{L}":"\u{1d647}","\\mathsfbfsl{M}":"\u{1d648}","\\mathsfbfsl{N}":"\u{1d649}","\\mathsfbfsl{O}":"\u{1d64a}","\\mathsfbfsl{P}":"\u{1d64b}","\\mathsfbfsl{Q}":"\u{1d64c}","\\mathsfbfsl{R}":"\u{1d64d}","\\mathsfbfsl{S}":"\u{1d64e}","\\mathsfbfsl{T}":"\u{1d64f}","\\mathsfbfsl{U}":"\u{1d650}","\\mathsfbfsl{V}":"\u{1d651}","\\mathsfbfsl{W}":"\u{1d652}","\\mathsfbfsl{X}":"\u{1d653}","\\mathsfbfsl{Y}":"\u{1d654}","\\mathsfbfsl{Z}":"\u{1d655}","\\mathsfbfsl{a}":"\u{1d656}","\\mathsfbfsl{b}":"\u{1d657}","\\mathsfbfsl{c}":"\u{1d658}","\\mathsfbfsl{d}":"\u{1d659}","\\mathsfbfsl{e}":"\u{1d65a}","\\mathsfbfsl{f}":"\u{1d65b}","\\mathsfbfsl{g}":"\u{1d65c}","\\mathsfbfsl{h}":"\u{1d65d}","\\mathsfbfsl{i}":"\u{1d65e}","\\mathsfbfsl{j}":"\u{1d65f}","\\mathsfbfsl{k}":"\u{1d660}","\\mathsfbfsl{l}":"\u{1d661}","\\mathsfbfsl{m}":"\u{1d662}","\\mathsfbfsl{n}":"\u{1d663}","\\mathsfbfsl{o}":"\u{1d664}","\\mathsfbfsl{p}":"\u{1d665}","\\mathsfbfsl{q}":"\u{1d666}","\\mathsfbfsl{r}":"\u{1d667}","\\mathsfbfsl{s}":"\u{1d668}","\\mathsfbfsl{t}":"\u{1d669}","\\mathsfbfsl{u}":"\u{1d66a}","\\mathsfbfsl{v}":"\u{1d66b}","\\mathsfbfsl{w}":"\u{1d66c}","\\mathsfbfsl{x}":"\u{1d66d}","\\mathsfbfsl{y}":"\u{1d66e}","\\mathsfbfsl{z}":"\u{1d66f}","\\mathtt{A}":"\u{1d670}","\\mathtt{B}":"\u{1d671}","\\mathtt{C}":"\u{1d672}","\\mathtt{D}":"\u{1d673}","\\mathtt{E}":"\u{1d674}","\\mathtt{F}":"\u{1d675}","\\mathtt{G}":"\u{1d676}","\\mathtt{H}":"\u{1d677}","\\mathtt{I}":"\u{1d678}","\\mathtt{J}":"\u{1d679}","\\mathtt{K}":"\u{1d67a}","\\mathtt{L}":"\u{1d67b}","\\mathtt{M}":"\u{1d67c}","\\mathtt{N}":"\u{1d67d}","\\mathtt{O}":"\u{1d67e}","\\mathtt{P}":"\u{1d67f}","\\mathtt{Q}":"\u{1d680}","\\mathtt{R}":"\u{1d681}","\\mathtt{S}":"\u{1d682}","\\mathtt{T}":"\u{1d683}","\\mathtt{U}":"\u{1d684}","\\mathtt{V}":"\u{1d685}","\\mathtt{W}":"\u{1d686}","\\mathtt{X}":"\u{1d687}","\\mathtt{Y}":"\u{1d688}","\\mathtt{Z}":"\u{1d689}","\\mathtt{a}":"\u{1d68a}","\\mathtt{b}":"\u{1d68b}","\\mathtt{c}":"\u{1d68c}","\\mathtt{d}":"\u{1d68d}","\\mathtt{e}":"\u{1d68e}","\\mathtt{f}":"\u{1d68f}","\\mathtt{g}":"\u{1d690}","\\mathtt{h}":"\u{1d691}","\\mathtt{i}":"\u{1d692}","\\mathtt{j}":"\u{1d693}","\\mathtt{k}":"\u{1d694}","\\mathtt{l}":"\u{1d695}","\\mathtt{m}":"\u{1d696}","\\mathtt{n}":"\u{1d697}","\\mathtt{o}":"\u{1d698}","\\mathtt{p}":"\u{1d699}","\\mathtt{q}":"\u{1d69a}","\\mathtt{r}":"\u{1d69b}","\\mathtt{s}":"\u{1d69c}","\\mathtt{t}":"\u{1d69d}","\\mathtt{u}":"\u{1d69e}","\\mathtt{v}":"\u{1d69f}","\\mathtt{w}":"\u{1d6a0}","\\mathtt{x}":"\u{1d6a1}","\\mathtt{y}":"\u{1d6a2}","\\mathtt{z}":"\u{1d6a3}","\\mathbf{\\Alpha}":"\u{1d6a8}","\\mathbf{\\Beta}":"\u{1d6a9}","\\mathbf{\\Gamma}":"\u{1d6aa}","\\mathbf{\\Delta}":"\u{1d6ab}","\\mathbf{\\Epsilon}":"\u{1d6ac}","\\mathbf{\\Zeta}":"\u{1d6ad}","\\mathbf{\\Eta}":"\u{1d6ae}","\\mathbf{\\Theta}":"\u{1d6af}","\\mathbf{\\Iota}":"\u{1d6b0}","\\mathbf{\\Kappa}":"\u{1d6b1}","\\mathbf{\\Lambda}":"\u{1d6b2}","\\mathbf{\\Xi}":"\u{1d6b5}","\\mathbf{\\Pi}":"\u{1d6b7}","\\mathbf{\\Rho}":"\u{1d6b8}","\\mathbf{\\vartheta}":"\u{1d6b9}","\\mathbf{\\Sigma}":"\u{1d6ba}","\\mathbf{\\Tau}":"\u{1d6bb}","\\mathbf{\\Upsilon}":"\u{1d6bc}","\\mathbf{\\Phi}":"\u{1d6bd}","\\mathbf{\\Chi}":"\u{1d6be}","\\mathbf{\\Psi}":"\u{1d6bf}","\\mathbf{\\Omega}":"\u{1d6c0}","\\mathbf{\\nabla}":"\u{1d6c1}","\\mathbf{\\alpha}":"\u{1d6c2}","\\mathbf{\\beta}":"\u{1d6c3}","\\mathbf{\\gamma}":"\u{1d6c4}","\\mathbf{\\delta}":"\u{1d6c5}","\\mathbf{\\epsilon}":"\u{1d6c6}","\\mathbf{\\zeta}":"\u{1d6c7}","\\mathbf{\\eta}":"\u{1d6c8}","\\mathbf{\\theta}":"\u{1d6c9}","\\mathbf{\\iota}":"\u{1d6ca}","\\mathbf{\\kappa}":"\u{1d6cb}","\\mathbf{\\lambda}":"\u{1d6cc}","\\mathbf{\\mu}":"\u{1d6cd}","\\mathbf{\\nu}":"\u{1d6ce}","\\mathbf{\\xi}":"\u{1d6cf}","\\mathbf{\\pi}":"\u{1d6d1}","\\mathbf{\\rho}":"\u{1d6d2}","\\mathbf{\\varsigma}":"\u{1d6d3}","\\mathbf{\\sigma}":"\u{1d6d4}","\\mathbf{\\tau}":"\u{1d6d5}","\\mathbf{\\upsilon}":"\u{1d6d6}","\\mathbf{\\phi}":"\u{1d6d7}","\\mathbf{\\chi}":"\u{1d6d8}","\\mathbf{\\psi}":"\u{1d6d9}","\\mathbf{\\omega}":"\u{1d6da}","\\mathbf{\\varepsilon}":"\u{1d6dc}","\\mathbf{\\varkappa}":"\u{1d6de}","\\mathbf{\\varrho}":"\u{1d6e0}","\\mathbf{\\varpi}":"\u{1d6e1}","\\mathmit{\\Alpha}":"\u{1d6e2}","\\mathmit{\\Beta}":"\u{1d6e3}","\\mathmit{\\Gamma}":"\u{1d6e4}","\\mathmit{\\Delta}":"\u{1d6e5}","\\mathmit{\\Epsilon}":"\u{1d6e6}","\\mathmit{\\Zeta}":"\u{1d6e7}","\\mathmit{\\Eta}
3":"\u{1d6e8}","\\mathmit{\\Theta}":"\u{1d6e9}","\\mathmit{\\Iota}":"\u{1d6ea}","\\mathmit{\\Kappa}":"\u{1d6eb}","\\mathmit{\\Lambda}":"\u{1d6ec}","\\mathmit{\\Xi}":"\u{1d6ef}","\\mathmit{\\Pi}":"\u{1d6f1}","\\mathmit{\\Rho}":"\u{1d6f2}","\\mathmit{\\vartheta}":"\u{1d6f3}","\\mathmit{\\Sigma}":"\u{1d6f4}","\\mathmit{\\Tau}":"\u{1d6f5}","\\mathmit{\\Upsilon}":"\u{1d6f6}","\\mathmit{\\Phi}":"\u{1d6f7}","\\mathmit{\\Chi}":"\u{1d6f8}","\\mathmit{\\Psi}":"\u{1d6f9}","\\mathmit{\\Omega}":"\u{1d6fa}","\\mathmit{\\nabla}":"\u{1d6fb}","\\mathmit{\\alpha}":"\u{1d6fc}","\\mathmit{\\beta}":"\u{1d6fd}","\\mathmit{\\gamma}":"\u{1d6fe}","\\mathmit{\\delta}":"\u{1d6ff}","\\mathmit{\\epsilon}":"\u{1d700}","\\mathmit{\\zeta}":"\u{1d701}","\\mathmit{\\eta}":"\u{1d702}","\\mathmit{\\theta}":"\u{1d703}","\\mathmit{\\iota}":"\u{1d704}","\\mathmit{\\kappa}":"\u{1d705}","\\mathmit{\\lambda}":"\u{1d706}","\\mathmit{\\mu}":"\u{1d707}","\\mathmit{\\nu}":"\u{1d708}","\\mathmit{\\xi}":"\u{1d709}","\\mathmit{\\pi}":"\u{1d70b}","\\mathmit{\\rho}":"\u{1d70c}","\\mathmit{\\varsigma}":"\u{1d70d}","\\mathmit{\\sigma}":"\u{1d70e}","\\mathmit{\\tau}":"\u{1d70f}","\\mathmit{\\upsilon}":"\u{1d710}","\\mathmit{\\phi}":"\u{1d711}","\\mathmit{\\chi}":"\u{1d712}","\\mathmit{\\psi}":"\u{1d713}","\\mathmit{\\omega}":"\u{1d714}","\\mathmit{\\varkappa}":"\u{1d718}","\\mathmit{\\varrho}":"\u{1d71a}","\\mathmit{\\varpi}":"\u{1d71b}","\\mathbit{\\Alpha}":"\u{1d71c}","\\mathbit{\\Beta}":"\u{1d71d}","\\mathbit{\\Gamma}":"\u{1d71e}","\\mathbit{\\Delta}":"\u{1d71f}","\\mathbit{\\Epsilon}":"\u{1d720}","\\mathbit{\\Zeta}":"\u{1d721}","\\mathbit{\\Eta}":"\u{1d722}","\\mathbit{\\Theta}":"\u{1d723}","\\mathbit{\\Iota}":"\u{1d724}","\\mathbit{\\Kappa}":"\u{1d725}","\\mathbit{\\Lambda}":"\u{1d726}","\\mathbit{\\Xi}":"\u{1d729}","\\mathbit{\\Pi}":"\u{1d72b}","\\mathbit{\\Rho}":"\u{1d72c}","\\mathbit{\\Sigma}":"\u{1d72e}","\\mathbit{\\Tau}":"\u{1d72f}","\\mathbit{\\Upsilon}":"\u{1d730}","\\mathbit{\\Phi}":"\u{1d731}","\\mathbit{\\Chi}":"\u{1d732}","\\mathbit{\\Psi}":"\u{1d733}","\\mathbit{\\Omega}":"\u{1d734}","\\mathbit{\\nabla}":"\u{1d735}","\\mathbit{\\alpha}":"\u{1d736}","\\mathbit{\\beta}":"\u{1d737}","\\mathbit{\\gamma}":"\u{1d738}","\\mathbit{\\delta}":"\u{1d739}","\\mathbit{\\epsilon}":"\u{1d73a}","\\mathbit{\\zeta}":"\u{1d73b}","\\mathbit{\\eta}":"\u{1d73c}","\\mathbit{\\theta}":"\u{1d73d}","\\mathbit{\\iota}":"\u{1d73e}","\\mathbit{\\kappa}":"\u{1d73f}","\\mathbit{\\lambda}":"\u{1d740}","\\mathbit{\\mu}":"\u{1d741}","\\mathbit{\\nu}":"\u{1d742}","\\mathbit{\\xi}":"\u{1d743}","\\mathbit{\\pi}":"\u{1d745}","\\mathbit{\\rho}":"\u{1d746}","\\mathbit{\\varsigma}":"\u{1d747}","\\mathbit{\\sigma}":"\u{1d748}","\\mathbit{\\tau}":"\u{1d749}","\\mathbit{\\upsilon}":"\u{1d74a}","\\mathbit{\\phi}":"\u{1d74b}","\\mathbit{\\chi}":"\u{1d74c}","\\mathbit{\\psi}":"\u{1d74d}","\\mathbit{\\omega}":"\u{1d74e}","\\mathbit{\\vartheta}":"\u{1d751}","\\mathbit{\\varkappa}":"\u{1d752}","\\mathbit{\\varrho}":"\u{1d754}","\\mathbit{\\varpi}":"\u{1d755}","\\mathsfbf{\\Alpha}":"\u{1d756}","\\mathsfbf{\\Beta}":"\u{1d757}","\\mathsfbf{\\Gamma}":"\u{1d758}","\\mathsfbf{\\Delta}":"\u{1d759}","\\mathsfbf{\\Epsilon}":"\u{1d75a}","\\mathsfbf{\\Zeta}":"\u{1d75b}","\\mathsfbf{\\Eta}":"\u{1d75c}","\\mathsfbf{\\Theta}":"\u{1d75d}","\\mathsfbf{\\Iota}":"\u{1d75e}","\\mathsfbf{\\Kappa}":"\u{1d75f}","\\mathsfbf{\\Lambda}":"\u{1d760}","\\mathsfbf{\\Xi}":"\u{1d763}","\\mathsfbf{\\Pi}":"\u{1d765}","\\mathsfbf{\\Rho}":"\u{1d766}","\\mathsfbf{\\vartheta}":"\u{1d767}","\\mathsfbf{\\Sigma}":"\u{1d768}","\\mathsfbf{\\Tau}":"\u{1d769}","\\mathsfbf{\\Upsilon}":"\u{1d76a}","\\mathsfbf{\\Phi}":"\u{1d76b}","\\mathsfbf{\\Chi}":"\u{1d76c}","\\mathsfbf{\\Psi}":"\u{1d76d}","\\mathsfbf{\\Omega}":"\u{1d76e}","\\mathsfbf{\\nabla}":"\u{1d76f}","\\mathsfbf{\\alpha}":"\u{1d770}","\\mathsfbf{\\beta}":"\u{1d771}","\\mathsfbf{\\gamma}":"\u{1d772}","\\mathsfbf{\\delta}":"\u{1d773}","\\mathsfbf{\\epsilon}":"\u{1d774}","\\mathsfbf{\\zeta}":"\u{1d775}","\\mathsfbf{\\eta}":"\u{1d776}","\\mathsfbf{\\theta}":"\u{1d777}","\\mathsfbf{\\iota}":"\u{1d778}","\\mathsfbf{\\kappa}":"\u{1d779}","\\mathsfbf{\\lambda}":"\u{1d77a}","\\mathsfbf{\\mu}":"\u{1d77b}","\\mathsfbf{\\nu}":"\u{1d77c}","\\mathsfbf{\\xi}":"\u{1d77d}","\\mathsfbf{\\pi}":"\u{1d77f}","\\mathsfbf{\\rho}":"\u{1d780}","\\mathsfbf{\\varsigma}":"\u{1d781}","\\mathsfbf{\\sigma}":"\u{1d782}","\\mathsfbf{\\tau}":"\u{1d783}","\\mathsfbf{\\upsilon}":"\u{1d784}","\\mathsfbf{\\phi}":"\u{1d785}","\\mathsfbf{\\chi}":"\u{1d786}","\\mathsfbf{\\psi}":"\u{1d787}","\\mathsfbf{\\omega}":"\u{1d788}","\\mathsfbf{\\varepsilon}":"\u{1d78a}","\\mathsfbf{\\varkappa}":"\u{1d78c}","\\mathsfbf{\\varrho}":"\u{1d78e}","\\mathsfbf{\\varpi}":"\u{1d78f}","\\mathsfbfsl{\\Alpha}":"\u{1d790}","\\mathsfbfsl{\\Beta}":"\u{1d791}","\\mathsfbfsl{\\Gamma}":"\u{1d792}","\\mathsfbfsl{\\Delta}":"\u{1d793}","\\mathsfbfsl{\\Epsilon}":"\u{1d794}","\\mathsfbfsl{\\Zeta}":"\u{1d795}","\\mathsfbfsl{\\Eta}":"\u{1d796}","\\mathsfbfsl{\\vartheta}":"\u{1d797}","\\mathsfbfsl{\\Iota}":"\u{1d798}","\\mathsfbfsl{\\Kappa}":"\u{1d799}","\\mathsfbfsl{\\Lambda}":"\u{1d79a}","\\mathsfbfsl{\\Xi}":"\u{1d79d}","\\mathsfbfsl{\\Pi}":"\u{1d79f}","\\mathsfbfsl{\\Rho}":"\u{1d7a0}","\\mathsfbfsl{\\Sigma}":"\u{1d7a2}","\\mathsfbfsl{\\Tau}":"\u{1d7a3}","\\mathsfbfsl{\\Upsilon}":"\u{1d7a4}","\\mathsfbfsl{\\Phi}":"\u{1d7a5}","\\mathsfbfsl{\\Chi}":"\u{1d7a6}","\\mathsfbfsl{\\Psi}":"\u{1d7a7}","\\mathsfbfsl{\\Omega}":"\u{1d7a8}","\\mathsfbfsl{\\nabla}":"\u{1d7a9}","\\mathsfbfsl{\\alpha}":"\u{1d7aa}","\\mathsfbfsl{\\beta}":"\u{1d7ab}","\\mathsfbfsl{\\gamma}":"\u{1d7ac}","\\mathsfbfsl{\\delta}":"\u{1d7ad}","\\mathsfbfsl{\\epsilon}":"\u{1d7ae}","\\mathsfbfsl{\\zeta}":"\u{1d7af}","\\mathsfbfsl{\\eta}":"\u{1d7b0}","\\mathsfbfsl{\\iota}":"\u{1d7b2}","\\mathsfbfsl{\\kappa}":"\u{1d7b3}","\\mathsfbfsl{\\lambda}":"\u{1d7b4}","\\mathsfbfsl{\\mu}":"\u{1d7b5}","\\mathsfbfsl{\\nu}":"\u{1d7b6}","\\mathsfbfsl{\\xi}":"\u{1d7b7}","\\mathsfbfsl{\\pi}":"\u{1d7b9}","\\mathsfbfsl{\\rho}":"\u{1d7ba}","\\mathsfbfsl{\\varsigma}":"\u{1d7bb}","\\mathsfbfsl{\\sigma}":"\u{1d7bc}","\\mathsfbfsl{\\tau}":"\u{1d7bd}","\\mathsfbfsl{\\upsilon}":"\u{1d7be}","\\mathsfbfsl{\\phi}":"\u{1d7bf}","\\mathsfbfsl{\\chi}":"\u{1d7c0}","\\mathsfbfsl{\\psi}":"\u{1d7c1}","\\mathsfbfsl{\\omega}":"\u{1d7c2}","\\mathsfbfsl{\\varkappa}":"\u{1d7c6}","\\mathsfbfsl{\\varrho}":"\u{1d7c8}","\\mathsfbfsl{\\varpi}":"\u{1d7c9}","\\mathbf{0}":"\u{1d7ce}","\\mathbf{1}":"\u{1d7cf}","\\mathbf{2}":"\u{1d7d0}","\\mathbf{3}":"\u{1d7d1}","\\mathbf{4}":"\u{1d7d2}","\\mathbf{5}":"\u{1d7d3}","\\mathbf{6}":"\u{1d7d4}","\\mathbf{7}":"\u{1d7d5}","\\mathbf{8}":"\u{1d7d6}","\\mathbf{9}":"\u{1d7d7}","\\mathbb{0}":"\u{1d7d8}","\\mathbb{1}":"\u{1d7d9}","\\mathbb{2}":"\u{1d7da}","\\mathbb{3}":"\u{1d7db}","\\mathbb{4}":"\u{1d7dc}","\\mathbb{5}":"\u{1d7dd}","\\mathbb{6}":"\u{1d7de}","\\mathbb{7}":"\u{1d7df}","\\mathbb{8}":"\u{1d7e0}","\\mathbb{9}":"\u{1d7e1}","\\mathsf{0}":"\u{1d7e2}","\\mathsf{1}":"\u{1d7e3}","\\mathsf{2}":"\u{1d7e4}","\\mathsf{3}":"\u{1d7e5}","\\mathsf{4}":"\u{1d7e6}","\\mathsf{5}":"\u{1d7e7}","\\mathsf{6}":"\u{1d7e8}","\\mathsf{7}":"\u{1d7e9}","\\mathsf{8}":"\u{1d7ea}","\\mathsf{9}":"\u{1d7eb}","\\mathsfbf{0}":"\u{1d7ec}","\\mathsfbf{1}":"\u{1d7ed}","\\mathsfbf{2}":"\u{1d7ee}","\\mathsfbf{3}":"\u{1d7ef}","\\mathsfbf{4}":"\u{1d7f0}","\\mathsfbf{5}":"\u{1d7f1}","\\mathsfbf{6}":"\u{1d7f2}","\\mathsfbf{7}":"\u{1d7f3}","\\mathsfbf{8}":"\u{1d7f4}","\\mathsfbf{9}":"\u{1d7f5}","\\mathtt{0}":"\u{1d7f6}","\\mathtt{1}":"\u{1d7f7}","\\mathtt{2}":"\u{1d7f8}","\\mathtt{3}":"\u{1d7f9}","\\mathtt{4}":"\u{1d7fa}","\\mathtt{5}":"\u{1d7fb}","\\mathtt{6}":"\u{1d7fc}","\\mathtt{7}":"\u{1d7fd}","\\mathtt{8}":"\u{1d7fe}","\\mathtt{9}":"\u{1d7ff}"},this.orcidLatexCharMap)this.orcidLatexCharMap[v].length>this.maxLatexLength&&(this.maxLatexLength=this.orcidLatexCharMap[v].length),this.orcidCharLatexMap[this.orcidLatexCharMap[v]]=v;for(var v in this.w3cLatexCharMap)this.w3cLatexCharMap[v].length>this.maxLatexLength&&(this.maxLatexLength=this.w3cLatexCharMap[v].length),this.w3cCharLatexMap[this.w3cLatexCharMap[v]]=v;this.getUni=function(r){return this.w3cLatexCharMap[r]?this.w3cLatexCharMap[r]:this.orcidLatexCharMap[r]},this.hasLatexMatch=function(r){return r in this.orcidLatexCharMap||r in this.w3cLatexCharMap},this.getLatex=function(r){return this.w3cCharLatexMap[r]?this.w3cCharLatexMap[r]:this.orcidCharLatexMap[r]},this.hasUniMatch=function(r){return r in this.orcidCharLatexMap||r in this.w3cCharLatexMap},this.longestEscapeMatch=function(r,_){for(var C=r.substring(_,_+1+this.maxLatexLength<=r.length?_+1+this.maxLatexLength:r.length);C.length>0&&!this.hasLatexMatch(C);)C=C.substring(0,C.length-1);return C}},t.decodeLatex=function(v){for(var r="",_=0;_<v.length;)if("\\"==v[_]){var h=M.longestEscapeMatch(v,_);h.length>0?(r+=M.getUni(h),_+=h.length):(r+=v[_],_++)}else"{"==v[_]||"}"==v[_]||(r+=v[_]),_++;return r},t.encodeLatex=function(v){for(var r="",_=0;_<v.length;++_){var h=v.charAt(_);this.hasUniMatch(h)?r+=M.getLatex(h):r+=h}return r}},60850:(qe,ee,o)=>{"use strict";o.d(ee,{$3:()=>$,jL:()=>me,pN:()=>bt});var a=o(11449),t=o(73664),u=o(2615),M=o(17705),v=o(75272),r=o(30282),_=o(88511),h=o(25881),C=o(95178),b=o(84466),D=o(79629),f=o(18359),O=o(21413),d=o(57786),L=o(7673),E=o(59030),se=
3o(71985),Y=o(18107),ne=o(40372),U=o(67336),T=o(17035),I=o(87870),w=o(99327),Z=o(76939),N=o(41959),oe=o(89417),H=o(5964),ie=o(96354),Ce=o(99172),Ue=o(25558),nt=o(88141),we=o(91986),at=o(96697),Xe=o(55549),et=o(96305),xe=o(21715);const De=["panel"],ue=["*"];function z(J,R){if(1&J&&(t.rj2(0,"div",1,0),t.SdG(2),t.eux()),2&J){const x=R.id,ce=t.XpG();t.HbH(ce._classList),t.AVh("mat-mdc-autocomplete-visible",ce.showPanel)("mat-mdc-autocomplete-hidden",!ce.showPanel)("mat-autocomplete-panel-animations-enabled",!ce._animationsDisabled)("mat-primary","primary"===ce._color)("mat-accent","accent"===ce._color)("mat-warn","warn"===ce._color),t.Avn("id",ce.id),t.BMQ("aria-label",ce.ariaLabel||null)("aria-labelledby",ce._getPanelAriaLabelledby(x))}}class de{source;option;constructor(R,x){this.source=R,this.option=x}}const ae=new u.nKC("mat-autocomplete-default-options",{providedIn:"root",factory:function X(){return{autoActiveFirstOption:!1,autoSelectActiveOption:!1,hideSingleSelectionIndicator:!1,requireSelection:!1,hasBackdrop:!1}}});let $=(()=>{class J{_changeDetectorRef=(0,u.WQX)(M.gRc);_elementRef=(0,u.WQX)(t.aKT);_defaults=(0,u.WQX)(ae);_animationsDisabled=(0,Y._)();_activeOptionChanges=f.yU.EMPTY;_keyManager;showPanel=!1;get isOpen(){return this._isOpen&&this.showPanel}_isOpen=!1;_latestOpeningTrigger;_setColor(x){this._color=x,this._changeDetectorRef.markForCheck()}_color;template;panel;options;optionGroups;ariaLabel;ariaLabelledby;displayWith=null;autoActiveFirstOption;autoSelectActiveOption;requireSelection;panelWidth;disableRipple;optionSelected=new t.bkB;opened=new t.bkB;closed=new t.bkB;optionActivated=new t.bkB;set classList(x){this._classList=x,this._elementRef.nativeElement.className=""}_classList;get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(x){this._hideSingleSelectionIndicator=x,this._syncParentProperties()}_hideSingleSelectionIndicator;_syncParentProperties(){if(this.options)for(const x of this.options)x._changeDetectorRef.markForCheck()}id=(0,u.WQX)(_._).getId("mat-autocomplete-");inertGroups;constructor(){const x=(0,u.WQX)(b.P);this.inertGroups=x?.SAFARI||!1,this.autoActiveFirstOption=!!this._defaults.autoActiveFirstOption,this.autoSelectActiveOption=!!this._defaults.autoSelectActiveOption,this.requireSelection=!!this._defaults.requireSelection,this._hideSingleSelectionIndicator=this._defaults.hideSingleSelectionIndicator??!1}ngAfterContentInit(){this._keyManager=new h.A(this.options).withWrap().skipPredicate(this._skipPredicate),this._activeOptionChanges=this._keyManager.change.subscribe(x=>{this.isOpen&&this.optionActivated.emit({source:this,option:this.options.toArray()[x]||null})}),this._setVisibility()}ngOnDestroy(){this._keyManager?.destroy(),this._activeOptionChanges.unsubscribe()}_setScrollTop(x){this.panel&&(this.panel.nativeElement.scrollTop=x)}_getScrollTop(){return this.panel?this.panel.nativeElement.scrollTop:0}_setVisibility(){this.showPanel=!!this.options?.length,this._changeDetectorRef.markForCheck()}_emitSelectEvent(x){const ce=new de(this,x);this.optionSelected.emit(ce)}_getPanelAriaLabelledby(x){return this.ariaLabel?null:this.ariaLabelledby?(x?x+" ":"")+this.ariaLabelledby:x}_skipPredicate(){return!1}static \u0275fac=function(ce){return new(ce||J)};static \u0275cmp=t.VBU({type:J,selectors:[["mat-autocomplete"]],contentQueries:function(ce,Pe,pe){if(1&ce&&(t.wni(pe,a.M,5),t.wni(pe,a.d,5)),2&ce){let st;t.mGM(st=t.lsd())&&(Pe.options=st),t.mGM(st=t.lsd())&&(Pe.optionGroups=st)}},viewQuery:function(ce,Pe){if(1&ce&&(t.GBs(t.C4Q,7),t.GBs(De,5)),2&ce){let pe;t.mGM(pe=t.lsd())&&(Pe.template=pe.first),t.mGM(pe=t.lsd())&&(Pe.panel=pe.first)}},hostAttrs:[1,"mat-mdc-autocomplete"],inputs:{ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],displayWith:"displayWith",autoActiveFirstOption:[2,"autoActiveFirstOption","autoActiveFirstOption",M.L39],autoSelectActiveOption:[2,"autoSelectActiveOption","autoSelectActiveOption",M.L39],requireSelection:[2,"requireSelection","requireSelection",M.L39],panelWidth:"panelWidth",disableRipple:[2,"disableRipple","disableRipple",M.L39],classList:[0,"class","classList"],hideSingleSelectionIndicator:[2,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",M.L39]},outputs:{optionSelected:"optionSelected",opened:"opened",closed:"closed",optionActivated:"optionActivated"},exportAs:["matAutocomplete"],features:[t.Jv_([{provide:a.c,useExisting:J}])],ngContentSelectors:ue,decls:1,vars:0,consts:[["panel",""],["role","listbox",1,"mat-mdc-autocomplete-panel","mdc-menu-surface","mdc-menu-surface--open",3,"id"]],template:function(ce,Pe){1&ce&&(t.NAR(),t.PeT(0,z,3,17,"ng-template"))},styles:["div.mat-mdc-autocomplete-panel{width:100%;max-height:256px;visibility:hidden;transform-origin:center top;overflow:auto;padding:8px 0;box-sizing:border-box;position:relative;border-radius:var(--mat-autocomplete-container-shape, var(--mat-sys-corner-extra-small));box-shadow:var(--mat-autocomplete-container-elevation-shadow, 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12));background-color:var(--mat-autocomplete-background-color, var(--mat-sys-surface-container))}@media(forced-colors: active){div.mat-mdc-autocomplete-panel{outline:solid 1px}}.cdk-overlay-pane:not(.mat-mdc-autocomplete-panel-above) div.mat-mdc-autocomplete-panel{border-top-left-radius:0;border-top-right-radius:0}.mat-mdc-autocomplete-panel-above div.mat-mdc-autocomplete-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:center bottom}div.mat-mdc-autocomplete-panel.mat-mdc-autocomplete-visible{visibility:visible}div.mat-mdc-autocomplete-panel.mat-mdc-autocomplete-hidden{visibility:hidden;pointer-events:none}@keyframes _mat-autocomplete-enter{from{opacity:0;transform:scaleY(0.8)}to{opacity:1;transform:none}}.mat-autocomplete-panel-animations-enabled{animation:_mat-autocomplete-enter 120ms cubic-bezier(0, 0, 0.2, 1)}mat-autocomplete{display:none}\n"],encapsulation:2,changeDetection:0})}return J})();const Be={provide:oe.kq,useExisting:(0,u.Rfq)(()=>bt),multi:!0},Se=new u.nKC("mat-autocomplete-scroll-strategy",{providedIn:"root",factory:()=>{const J=(0,u.WQX)(u.zZn);return()=>(0,r.o)(J)}}),Ge={provide:Se,deps:[],useFactory:function pt(J){const R=(0,u.WQX)(u.zZn);return()=>(0,r.o)(R)}};let bt=(()=>{class J{_environmentInjector=(0,u.WQX)(u.uvJ);_element=(0,u.WQX)(t.aKT);_injector=(0,u.WQX)(u.zZn);
3_viewContainerRef=(0,u.WQX)(t.c1b);_zone=(0,u.WQX)(t.SKi);_changeDetectorRef=(0,u.WQX)(M.gRc);_dir=(0,u.WQX)(ne.D,{optional:!0});_formField=(0,u.WQX)(Xe.h,{optional:!0,host:!0});_viewportRuler=(0,u.WQX)(v.Xj);_scrollStrategy=(0,u.WQX)(Se);_renderer=(0,u.WQX)(t.sFG);_animationsDisabled=(0,Y._)();_defaults=(0,u.WQX)(ae,{optional:!0});_overlayRef;_portal;_componentDestroyed=!1;_initialized=new O.B;_keydownSubscription;_outsideClickSubscription;_cleanupWindowBlur;_previousValue;_valueOnAttach;_valueOnLastKeydown;_positionStrategy;_manuallyFloatingLabel=!1;_closingActionsSubscription;_viewportSubscription=f.yU.EMPTY;_breakpointObserver=(0,u.WQX)(I.B);_handsetLandscapeSubscription=f.yU.EMPTY;_canOpenOnNextFocus=!0;_valueBeforeAutoSelection;_pendingAutoselectedOption;_closeKeyEventStream=new O.B;_overlayPanelClass=(0,N.c)(this._defaults?.overlayPanelClass||[]);_windowBlurHandler=()=>{this._canOpenOnNextFocus=this.panelOpen||!this._hasFocus()};_onChange=()=>{};_onTouched=()=>{};autocomplete;position="auto";connectedTo;autocompleteAttribute="off";autocompleteDisabled;constructor(){}_aboveClass="mat-mdc-autocomplete-panel-above";ngAfterViewInit(){this._initialized.next(),this._initialized.complete(),this._cleanupWindowBlur=this._renderer.listen("window","blur",this._windowBlurHandler)}ngOnChanges(x){x.position&&this._positionStrategy&&(this._setStrategyPositions(this._positionStrategy),this.panelOpen&&this._overlayRef.updatePosition())}ngOnDestroy(){this._cleanupWindowBlur?.(),this._handsetLandscapeSubscription.unsubscribe(),this._viewportSubscription.unsubscribe(),this._componentDestroyed=!0,this._destroyPanel(),this._closeKeyEventStream.complete(),this._clearFromModal()}get panelOpen(){return this._overlayAttached&&this.autocomplete.showPanel}_overlayAttached=!1;openPanel(){this._openPanelInternal()}closePanel(){this._resetLabel(),this._overlayAttached&&(this.panelOpen&&this._zone.run(()=>{this.autocomplete.closed.emit()}),this.autocomplete._latestOpeningTrigger===this&&(this.autocomplete._isOpen=!1,this.autocomplete._latestOpeningTrigger=null),this._overlayAttached=!1,this._pendingAutoselectedOption=null,this._overlayRef&&this._overlayRef.hasAttached()&&(this._overlayRef.detach(),this._closingActionsSubscription.unsubscribe()),this._updatePanelState(),this._componentDestroyed||this._changeDetectorRef.detectChanges(),this._trackedModal&&(0,C.Ae)(this._trackedModal,"aria-owns",this.autocomplete.id))}updatePosition(){this._overlayAttached&&this._overlayRef.updatePosition()}get panelClosingActions(){return(0,d.h)(this.optionSelections,this.autocomplete._keyManager.tabOut.pipe((0,H.p)(()=>this._overlayAttached)),this._closeKeyEventStream,this._getOutsideClickStream(),this._overlayRef?this._overlayRef.detachments().pipe((0,H.p)(()=>this._overlayAttached)):(0,L.of)()).pipe((0,ie.T)(x=>x instanceof a.e?x:null))}optionSelections=(0,E.v)(()=>{const x=this.autocomplete?this.autocomplete.options:null;return x?x.changes.pipe((0,Ce.Z)(x),(0,Ue.n)(()=>(0,d.h)(...x.map(ce=>ce.onSelectionChange)))):this._initialized.pipe((0,Ue.n)(()=>this.optionSelections))});get activeOption(){return this.autocomplete&&this.autocomplete._keyManager?this.autocomplete._keyManager.activeItem:null}_getOutsideClickStream(){return new se.c(x=>{const ce=pe=>{const st=(0,D._)(pe),Qe=this._formField?this._formField.getConnectedOverlayOrigin().nativeElement:null,At=this.connectedTo?this.connectedTo.elementRef.nativeElement:null;this._overlayAttached&&st!==this._element.nativeElement&&!this._hasFocus()&&(!Qe||!Qe.contains(st))&&(!At||!At.contains(st))&&this._overlayRef&&!this._overlayRef.overlayElement.contains(st)&&x.next(pe)},Pe=[this._renderer.listen("document","click",ce),this._renderer.listen("document","auxclick",ce),this._renderer.listen("document","touchend",ce)];return()=>{Pe.forEach(pe=>pe())}})}writeValue(x){Promise.resolve(null).then(()=>this._assignOptionValue(x))}registerOnChange(x){this._onChange=x}registerOnTouched(x){this._onTouched=x}setDisabledState(x){this._element.nativeElement.disabled=x}_handleKeydown(x){const ce=x,Pe=ce.keyCode,pe=(0,U.rp)(ce);if(Pe===T.g&&!pe&&ce.preventDefault(),this._valueOnLastKeydown=this._element.nativeElement.value,this.activeOption&&Pe===T.c&&this.panelOpen&&!pe)this.activeOption._selectViaInteraction(),this._resetActiveItem(),ce.preventDefault();else if(this.autocomplete){const st=this.autocomplete._keyManager.activeItem,Qe=Pe===T.U||Pe===T.D;Pe===T.T||Qe&&!pe&&this.panelOpen?this.autocomplete._keyManager.onKeydown(ce):Qe&&this._canOpen()&&this._openPanelInternal(this._valueOnLastKeydown),(Qe||this.autocomplete._keyManager.activeItem!==st)&&(this._scrollToOption(this.autocomplete._keyManager.activeItemIndex||0),this.autocomplete.autoSelectActiveOption&&this.activeOption&&(this._pe
3ndingAutoselectedOption||(this._valueBeforeAutoSelection=this._valueOnLastKeydown),this._pendingAutoselectedOption=this.activeOption,this._assignOptionValue(this.activeOption.value)))}}_handleInput(x){let ce=x.target,Pe=ce.value;if("number"===ce.type&&(Pe=""==Pe?null:parseFloat(Pe)),this._previousValue!==Pe){if(this._previousValue=Pe,this._pendingAutoselectedOption=null,(!this.autocomplete||!this.autocomplete.requireSelection)&&this._onChange(Pe),Pe){if(this.panelOpen&&!this.autocomplete.requireSelection){const pe=this.autocomplete.options?.find(st=>st.selected);pe&&Pe!==this._getDisplayValue(pe.value)&&pe.deselect(!1)}}else this._clearPreviousSelectedOption(null,!1);if(this._canOpen()&&this._hasFocus()){const pe=this._valueOnLastKeydown??this._element.nativeElement.value;this._valueOnLastKeydown=null,this._openPanelInternal(pe)}}}_handleFocus(){this._canOpenOnNextFocus?this._canOpen()&&(this._previousValue=this._element.nativeElement.value,this._attachOverlay(this._previousValue),this._floatLabel(!0)):this._canOpenOnNextFocus=!0}_handleClick(){this._canOpen()&&!this.panelOpen&&this._openPanelInternal()}_hasFocus(){return(0,D.c)()===this._element.nativeElement}_floatLabel(x=!1){this._formField&&"auto"===this._formField.floatLabel&&(x?this._formField._animateAndLockLabel():this._formField.floatLabel="always",this._manuallyFloatingLabel=!0)}_resetLabel(){this._manuallyFloatingLabel&&(this._formField&&(this._formField.floatLabel="auto"),this._manuallyFloatingLabel=!1)}_subscribeToClosingActions(){const x=new se.c(Pe=>{(0,t.mal)(()=>{Pe.next()},{injector:this._environmentInjector})}),ce=this.autocomplete.options?.changes.pipe((0,nt.M)(()=>this._positionStrategy.reapplyLastPosition()),(0,we.c)(0))??(0,L.of)();
3return(0,d.h)(x,ce).pipe((0,Ue.n)(()=>this._zone.run(()=>{const Pe=this.panelOpen;return this._resetActiveItem(),this._updatePanelState(),this._changeDetectorRef.detectChanges(),this.panelOpen&&this._overlayRef.updatePosition(),Pe!==this.panelOpen&&(this.panelOpen?this._emitOpened():this.autocomplete.closed.emit()),this.panelClosingActions})),(0,at.s)(1)).subscribe(Pe=>this._setValueAndClose(Pe))}_emitOpened(){this.autocomplete.opened.emit()}_destroyPanel(){this._overlayRef&&(this.closePanel(),this._overlayRef.dispose(),this._overlayRef=null)}_getDisplayValue(x){const ce=this.autocomplete;return ce&&ce.displayWith?ce.displayWith(x):x}_assignOptionValue(x){const ce=this._getDisplayValue(x);null==x&&this._clearPreviousSelectedOption(null,!1),this._updateNativeInputValue(ce??"")}_updateNativeInputValue(x){this._formField?this._formField._control.value=x:this._element.nativeElement.value=x,this._previousValue=x}_setValueAndClose(x){const ce=this.autocomplete,Pe=x?x.source:this._pendingAutoselectedOption;Pe?(this._clearPreviousSelectedOption(Pe),this._assignOptionValue(Pe.value),this._onChange(Pe.value),ce._emitSelectEvent(Pe),this._element.nativeElement.focus()):ce.requireSelection&&this._element.nativeElement.value!==this._valueOnAttach&&(this._clearPreviousSelectedOption(null),this._assignOptionValue(null),this._onChange(null)),this.closePanel()}_clearPreviousSelectedOption(x,ce){this.autocomplete?.options?.forEach(Pe=>{Pe!==x&&Pe.selected&&Pe.deselect(ce)})}_openPanelInternal(x=this._element.nativeElement.value){this._attachOverlay(x),this._floatLabel(),this._trackedModal&&(0,C.px)(this._trackedModal,"aria-owns",this.autocomplete.id)}_attachOverlay(x){let ce=this._overlayRef;ce?(this._positionStrategy.setOrigin(this._getConnectedElement()),ce.updateSize({width:this._getPanelWidth()})):(this._portal=new Z.VA(this.autocomplete.template,this._viewContainerRef,{id:this._formField?.getLabelId()}),ce=(0,r.c)(this._injector,this._getOverlayConfig()),this._overlayRef=ce,this._viewportSubscription=this._viewportRuler.change().subscribe(()=>{this.panelOpen&&ce&&ce.updateSize({width:this._getPanelWidth()})}),this._handsetLandscapeSubscription=this._breakpointObserver.observe(w.Rp.HandsetLandscape).subscribe(pe=>{pe.matches?this._positionStrategy.withFlexibleDimensions(!0).withGrowAfterOpen(!0).withViewportMargin(8):this._positionStrategy.withFlexibleDimensions(!1).withGrowAfterOpen(!1).withViewportMargin(0)})),ce&&!ce.hasAttached()&&(ce.attach(this._portal),this._valueOnAttach=x,this._valueOnLastKeydown=null,this._closingActionsSubscription=this._subscribeToClosingActions());const Pe=this.panelOpen;this.autocomplete._isOpen=this._overlayAttached=!0,this.autocomplete._latestOpeningTrigger=this,this.autocomplete._setColor(this._formField?.color),this._updatePanelState(),this._applyModalPanelOwnership(),this.panelOpen&&Pe!==this.panelOpen&&this._emitOpened()}_handlePanelKeydown=x=>{(x.keyCode===T.g&&!(0,U.rp)(x)||x.keyCode===T.U&&(0,U.rp)(x,"altKey"))&&(this._pendingAutoselectedOption&&(this._updateNativeInputValue(this._valueBeforeAutoSelection??""),this._pendingAutoselectedOption=null),this._closeKeyEventStream.next(),this._resetActiveItem(),x.stopPropagation(),x.preventDefault())};_updatePanelState(){if(this.autocomplete._setVisibility(),this.panelOpen){const x=this._overlayRef;this._keydownSubscription||(this._keydownSubscription=x.keydownEvents().subscribe(this._handlePanelKeydown)),this._outsideClickSubscription||(this._outsideClickSubscription=x.outsidePointerEvents().subscribe())}
3else this._keydownSubscription?.unsubscribe(),this._outsideClickSubscription?.unsubscribe(),this._keydownSubscription=this._outsideClickSubscription=null}_getOverlayConfig(){return new r.i({positionStrategy:this._getOverlayPosition(),scrollStrategy:this._scrollStrategy(),width:this._getPanelWidth(),direction:this._dir??void 0,hasBackdrop:this._defaults?.hasBackdrop,backdropClass:this._defaults?.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:this._overlayPanelClass,disableAnimations:this._animationsDisabled})}_getOverlayPosition(){const x=(0,r.h)(this._injector,this._getConnectedElement()).withFlexibleDimensions(!1).withPush(!1);return this._setStrategyPositions(x),this._positionStrategy=x,x}_setStrategyPositions(x){const ce=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],Pe=this._aboveClass,pe=[{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:Pe},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:Pe}];let st;st="above"===this.position?pe:"below"===this.position?ce:[...ce,...pe],x.withPositions(st)}_getConnectedElement(){return this.connectedTo?this.connectedTo.elementRef:this._formField?this._formField.getConnectedOverlayOrigin():this._element}_getPanelWidth(){return this.autocomplete.panelWidth||this._getHostWidth()}_getHostWidth(){return this._getConnectedElement().nativeElement.getBoundingClientRect().width}_resetActiveItem(){const x=this.autocomplete;if(x.autoActiveFirstOption){let ce=-1;for(let Pe=0;Pe<x.options.length;Pe++)if(!x.options.get(Pe).disabled){ce=Pe;break}x._keyManager.setActiveItem(ce)}else x._keyManager.setActiveItem(-1)}_canOpen(){const x=this._element.nativeElement;return!x.readOnly&&!x.disabled&&!this.autocompleteDisabled}_scrollToOption(x){const ce=this.autocomplete,Pe=(0,a._)(x,ce.options,ce.optionGroups);if(0===x&&1===Pe)ce._setScrollTop(0);else if(ce.panel){const pe=ce.options.toArray()[x];if(pe){const st=pe._getHostElement(),Qe=(0,a.b)(st.offsetTop,st.offsetHeight,ce._getScrollTop(),ce.panel.nativeElement.offsetHeight);ce._setScrollTop(Qe)}}}_trackedModal=null;_applyModalPanelOwnership(){const x=this._element.nativeElement.closest('body > .cdk-overlay-container [aria-modal="true"]');if(!x)return;const ce=this.autocomplete.id;this._trackedModal&&(0,C.Ae)(this._trackedModal,"aria-owns",ce),(0,C.px)(x,"aria-owns",ce),this._trackedModal=x}_clearFromModal(){this._trackedModal&&((0,C.Ae)(this._trackedModal,"aria-owns",this.autocomplete.id),this._trackedModal=null)}static \u0275fac=function(ce){return new(ce||J)};static \u0275dir=t.FsC({type:J,selectors:[["input","matAutocomplete",""],["textarea","matAutocomplete",""]],hostAttrs:[1,"mat-mdc-autocomplete-trigger"],hostVars:7,hostBindings:function(ce,Pe){1&ce&&t.bIt("focusin",function(){return Pe._handleFocus()})("blur",function(){return Pe._onTouched()})("input",function(st){return Pe._handleInput(st)})("keydown",function(st){return Pe._handleKeydown(st)})("click",function(){return Pe._handleClick()}),2&ce&&t.BMQ("autocomplete",Pe.autocompleteAttribute)("role",Pe.autocompleteDisabled?null:"combobox")("aria-autocomplete",Pe.autocompleteDisabled?null:"list")("aria-activedescendant",Pe.panelOpen&&Pe.activeOption?Pe.activeOption.id:null)("aria-expanded",Pe.autocompleteDisabled?null:Pe.panelOpen.toString())("aria-controls",Pe.autocompleteDisabled||!Pe.panelOpen||null==Pe.autocomplete?null:Pe.autocomplete.id)("aria-haspopup",Pe.autocompleteDisabled?null:"listbox")},inputs:{autocomplete:[0,"matAutocomplete","autocomplete"],position:[0,"matAutocompletePosition","position"],connectedTo:[0,"matAutocompleteConnectedTo","connectedTo"],autocompleteAttribute:[0,"autocomplete","autocompleteAttribute"],autocompleteDisabled:[2,"matAutocompleteDisabled","autocompleteDisabled",M.L39]},exportAs:["matAutocompleteTrigger"],features:[t.Jv_([Be]),t.OA$]})}return J})(),me=(()=>{class J{static \u0275fac=function(ce){return new(ce||J)};static \u0275mod=t.$C({type:J});static \u0275inj=u.G2t({providers:[Ge],imports:[r.t,et.M,xe.M,v.Gj,et.M,xe.M]})}return J})()},61161:function(qe,ee,o){(function(){"use strict";var a,t,u,M,v,r={}.hasOwnProperty;a=o(6640),t=o(32426).defaults,M=function(_){return"string"==typeof _&&(_.indexOf("&")>=0||_.indexOf(">")>=0||_.indexOf("<")>=0)},v=function(_){return"<![CDATA["+u(_)+"]]>"},u=function(_){return _.replace("]]>","]]]]><![CDATA[>")},ee.Builder=function(){function _(h){var C,b;for(C in this.options={},b=t[.2])r.call(b,C)&&(this.options[C]=b[C]);for(C in h)r.call(h,C)&&(this.options[C]=h[C])}return _.prototype.buildObject=function(h){var C,b,D,f,O;return C=this.options.attrkey,b=this.options.charkey,1===Object.keys(h).length&&this.options.rootName===t[.2].rootName?h=h[O=Object.keys(h)[0]]:O=this.options.rootName,D=function(d){return function(L,E){var se,Y,ne,U,T;if("object"!=typeof E)d.options.cdata&&M(E)?L.raw(v(E)):L.txt(E);else if(Array.isArray(E)){for(U in E)if(r.call(E,U))for(T in Y=E[U])ne=Y[T],L=D(L.ele(T),ne).up()}else for(T in E)if(r.call(E,T))if(Y=E[T],T===C){if("object"==typeof Y)for(se in Y)L=L.att(se,Y[se])}else if(T===b)L=d.options.cdata&&M(Y)?L.raw(v(Y)):L.txt(Y);
3else if(Array.isArray(Y))for(U in Y)r.call(Y,U)&&(L="string"==typeof(ne=Y[U])?d.options.cdata&&M(ne)?L.ele(T).raw(v(ne)).up():L.ele(T,ne).up():D(L.ele(T),ne).up());else"object"==typeof Y?L=D(L.ele(T),Y).up():"string"==typeof Y&&d.options.cdata&&M(Y)?L=L.ele(T).raw(v(Y)).up():(null==Y&&(Y=""),L=L.ele(T,Y.toString()).up());return L}}(this),f=a.create(O,this.options.xmldec,this.options.doctype,{headless:this.options.headless,allowSurrogateChars:this.options.allowSurrogateChars}),D(f,h).end(this.options.renderOpts)},_}()}).call(this)},61594:(qe,ee,o)=>{"use strict";o.d(ee,{$:()=>_});var a=o(9350),t=o(5964),u=o(96697),M=o(39901),v=o(93774),r=o(33669);function _(h,C){const b=arguments.length>=2;return D=>D.pipe(h?(0,t.p)((f,O)=>h(f,O,D)):r.D,(0,u.s)(1),b?(0,M.U)(C):(0,v.v)(()=>new a.G))}},62415:(qe,ee,o)=>{"use strict";o.d(ee,{Q:()=>a});const a={JUST_GA:{analytics:{code:"000",fatal:!0}},STANDARD_NO_VERBOSE:{display:{title:"Oh no! An error occurred",message:"Internal Orcid QA error please",displayOnlyOnVerboseEnvironment:!0,action:"visit our knowledge base.",actionURL:"https://support.orcid.org/hc/en-us/articles/360047687054"},analytics:{code:"001",fatal:!0}},STANDARD_NO_VERBOSE_NO_GA:{display:{title:"Oh no! An error occurred",message:"Internal Orcid QA, error please",displayOnlyOnVerboseEnvironment:!0,action:"visit our knowledge base.",actionURL:"https://support.orcid.org/hc/en-us/articles/360047687054"}},STANDARD_VERBOSE:{display:{title:"Oh no! An error occurred",message:"Please try again, and if the error persists please",action:"visit our knowledge base.",actionURL:"https://support.orcid.org/hc/en-us/articles/360047687054"},analytics:{code:"002",fatal:!0}},RESET_PASSWORD_COULD_NOT_RECOVER:{display:{title:"Oh no! An error occurred",message:"We couldn't recover your account details. Please try again, and if the error persists please",action:"visit our knowledge base.",actionURL:"https://support.orcid.org/hc/en-us/articles/360047687054"},analytics:{code:"003",fatal:!0}},REGISTER:{display:{title:"Oh no! An error occurred",message:"We couldn't complete your registration. Please try again, and if the error persists please",action:"visit our knowledge base.",actionURL:"https://support.orcid.org/hc/en-us/articles/360047687054"},analytics:{code:"003",fatal:!0}},REGISTER_REACTIVATED_EMAIL:{display:{title:"Oh no! An error occurred.",message:"We couldn't reactivate your ORCID account. Please try again, and if the error persists please",action:"visit our knowledge base.",actionURL:"https://support.orcid.org/hc/en-us/articles/360047687054"},analytics:{code:"004",fatal:!0}},OAUTH_PARAMETERS:{analytics:{code:"005",fatal:!0}}}},62740:(qe,ee,o)=>{"use strict";o.d(ee,{a:()=>b});var a=o(29330),t=o(92771),u=o(7673),M=o(99437),v=o(96354),r=o(88141),_=o(21495),h=o(2615),C=o(56846);let b=(()=>{class D{constructor(O,d){this._http=O,this._errorHandler=d,this.$researchResourcesSubject=new t.m,this.headers=new a.Lr({"Access-Control-Allow-Origin":"*"})}getResearchResourcePage(O){let d;return O||(O={}),O.pageSize=O?.pageSize||_.yQ,O.offset=O?.offset||0,d=O?.publicRecordId?O.publicRecordId+"/researchResourcePage.json":"research-resources/researchResourcePage.json",O?.cleanCacheIfExist&&this.$researchResourcesSubject&&this.$researchResourcesSubject.next(void 0),this._http.get(runtimeEnvironment.API_WEB+d+"?offset="+O.offset+"&sort="+(null!=O.sort?O.sort:"date")+"&sortAsc="+(null!=O.sortAsc&&O.sortAsc)+"&pageSize="+O.pageSize).pipe((0,M.W)(L=>this._errorHandler.handleError(L)),(0,M.W)(()=>(0,u.of)({groups:[]})),(0,v.T)(L=>(L.pageSize=O.pageSize,L.pageIndex=O.offset?Math.floor(O.offset/O.pageSize):0,L)),(0,r.M)(L=>{this.$researchResourcesSubject.next(L)})).subscribe(),this.$researchResourcesSubject.asObservable()}changeUserRecordContext(O){return this.getResearchResourcePage(O)}getResearchResourceById(O){return this._http.get(runtimeEnvironment.API_WEB+"research-resources/researchResource.json?id="+O)}getPublicResearchResourceById(O,d){return this._http.get(runtimeEnvironment.API_WEB+O+"/researchResource.json?id="+d)}updateVisibility(O,d){return this._http.get(runtimeEnvironment.API_WEB+"research-resources/"+O+"/visibility/"+d).pipe((0,M.W)(L=>this._errorHandler.handleError(L)),(0,r.M)(()=>this.getResearchResourcePage({forceReload:!0})))}delete(O){return this._http.delete(runtimeEnvironment.API_WEB+"research-resources/"+O,{headers:this.headers}).pipe((0,M.W)(d=>this._errorHandler.handleError(d)),(0,r.M)(()=>this.getResearchResourcePage({forceReload:!0})))}updatePreferredSource(O){return this._http.get(runtimeEnvironment.API_WEB+"research-resources/updateToMaxDisplay.json?putCode="+O).pipe((0,M.W)(d=>this._errorHandler.handleError(d)),(0,r.M)(()=>this.getResearchResourcePage({forceReload:!0})))}static{this.\u0275fac=function(d){return new(d||D)(h.KVO(a.Qq),h.KVO(C.c))}}static{this.\u0275prov=h.jDH({token:D,factory:D.\u0275fac,providedIn:"root"})}}return D})()},62858:(qe,ee,o)=>{"use strict";o.d(ee,{I:()=>D});var a=o(92771),t=o(88141),u=o(61594),M=o(96354),v=o(25558),r=o(99437),_=o(2615),h=o(56846),C=o(29330
3),b=o(11762);let D=(()=>{class f{constructor(d,L,E){this._errorHandler=d,this._http=L,this._user=E}getPerson(d){return d?.publicRecordId?this.getPublicRecordPerson(d):this.getPrivateRecordPerson(d)}getPublicRecordPerson(d){return this.$personPublicRecordSubject&&!d.forceReload||(this.$personPublicRecordSubject=new a.m(1),this.getPersonHttpCall(d.publicRecordId).pipe((0,t.M)(L=>{this.setupFullCountryCodes(L)}),(0,t.M)(L=>{this.$personPublicRecordSubject.next(L)})).subscribe()),this.$personPublicRecordSubject.asObservable()}getPrivateRecordPerson(d){if(this.$personPrivateRecordSubject){if(!d.forceReload)return this.$personPrivateRecordSubject}else this.$personPrivateRecordSubject=new a.m(1);return this._user.getUserSession().pipe((0,u.$)(),(0,M.T)(L=>L.userInfo.EFFECTIVE_USER_ORCID),(0,v.n)(L=>this.getPersonHttpCall(L)),(0,t.M)(L=>{this.setupFullCountryCodes(L)}),(0,t.M)(L=>{this.$personPrivateRecordSubject.next(L)})).subscribe(),this.$personPrivateRecordSubject}getPersonHttpCall(d){return this._http.get(runtimeEnvironment.API_WEB+`${d}/person.json`).pipe((0,r.W)(L=>this._errorHandler.handleError(L)))}setupFullCountryCodes(d){d.publicGroupedAddresses&&Object.keys(d.publicGroupedAddresses).map(L=>{d.countryNames&&d.countryNames[L]&&(d.publicGroupedAddresses[d.countryNames[L]]=d.publicGroupedAddresses[L],delete d.publicGroupedAddresses[L])})}static{this.\u0275fac=function(L){return new(L||f)(_.KVO(h.c),_.KVO(C.Qq),_.KVO(b.D))}}static{this.\u0275prov=_.jDH({token:f,factory:f.\u0275fac,providedIn:"root"})}}return f})()},64743:function(qe,ee,o){(function(){"use strict";var a,t,u,M,v,r,_,h,C=function(f,O){return function(){return f.apply(O,arguments)}},D={}.hasOwnProperty;_=o(6620),u=o(44356),a=o(85908),r=o(82649),h=o(97210).setImmediate,t=o(32426).defaults,M=function(f){return"object"==typeof f&&null!=f&&0===Object.keys(f).length},v=function(f,O,d){var L,E;for(L=0,E=f.length;L<E;L++)O=(0,f[L])(O,d);return O},ee.Parser=function(f){function O(d){var L,E;if(this.parseStringPromise=C(this.parseStringPromise,this),this.parseString=C(this.parseString,this),this.reset=C(this.reset,this),this.assignOrPush=C(this.assignOrPush,this),this.processAsync=C(this.processAsync,this),!(this instanceof ee.Parser))return new ee.Parser(d);for(L in this.options={},E=t[.2])D.call(E,L)&&(this.options[L]=E[L]);for(L in d)D.call(d,L)&&(this.options[L]=d[L]);this.options.xmlns&&(this.options.xmlnskey=this.options.attrkey+"ns"),this.options.normalizeTags&&(this.options.tagNameProcessors||(this.options.tagNameProcessors=[]),this.options.tagNameProcessors.unshift(r.normalize)),this.reset()}return function(f,O){for(var d in O)D.call(O,d)&&(f[d]=O[d]);function L(){this.constructor=f}L.prototype=O.prototype,f.prototype=new L,f.__super__=O.prototype}(O,f),O.prototype.processAsync=function(){var d,L;try{return this.remaining.length<=this.options.chunkSize?(d=this.remaining,this.remaining="",this.saxParser=this.saxParser.write(d),this.saxParser.close()):(d=this.remaining.substr(0,this.options.chunkSize),this.remaining=this.remaining.substr(this.options.chunkSize,this.remaining.length),this.saxParser=this.saxParser.write(d),h(this.processAsync))}catch(E){if(L=E,!this.saxParser.errThrown)return this.saxParser.errThrown=!0,this.emit(L)}},O.prototype.assignOrPush=function(d,L,E){return L in d?(d[L]instanceof Array||(d[L]=[d[L]]),d[L].push(E)):d[L]=this.options.explicitArray?[E]:E},O.prototype.reset=function(){var d,L,E,se;return this.removeAllListeners(),this.saxParser=_.parser(this.options.strict,{trim:!1,normalize:!1,xmlns:this.options.xmlns}),this.saxParser.errThrown=!1,this.saxParser.onerror=function(Y){return function(ne){if(Y.saxParser.resume(),!Y.saxParser.errThrown)return Y.saxParser.errThrown=!0,Y.emit("error",ne)}}(this),this.saxParser.onend=function(Y){return function(){if(!Y.saxParser.ended)return Y.saxParser.ended=!0,Y.emit("end",Y.resultObject)}}(this),this.saxParser.ended=!1,this.EXPLICIT_CHARKEY=this.options.explicitCharkey,this.resultObject=null,se=[],d=this.options.attrkey,L=this.options.charkey,this.saxParser.onopentag=function(Y){return function(ne){var U,T,I,w,Z;if((I=Object.create(null))[L]="",!Y.options.ignoreAttrs)for(U in Z=ne.attributes)D.call(Z,U)&&(!(d in I)&&!Y.options.mergeAttrs&&(I[d]=Object.create(null)),T=Y.options.attrValueProcessors?v(Y.options.attrValueProcessors,ne.attributes[U],U):ne.attributes[U],w=Y.options.attrNameProcessors?v(Y.options.attrNameProcessors,U):U,Y.options.mergeAttrs?Y.assignOrPush(I,w,T):I[d][w]=T);return I["#name"]=Y.options.tagNameProcessors?v(Y.options.tagNameProcessors,ne.name):ne.name,Y.options.xmlns&&(I[Y.options.xmlnskey]={uri:ne.uri,local:ne.local}),se.push(I)}}(this),this.saxParser.onclosetag=function(Y){return function(){var ne,U,T,I,w,Z,N,oe,H,ie;if(Z=se.pop(),w=Z["#name"],(!Y.options.explicitChildren||!Y.options.preserveChildrenOrder)&&delete Z["#name"],!0===Z.cdata&&(ne=Z.cdata,delete Z.cdata),H=se[se.length-1],Z[L].match(/^\s*$/)&&!ne?(U=Z[L],delete Z[L]):(Y.options.trim&&(Z[L]=Z[L].trim()),Y.options.normalize&&(Z[L]=Z[L].replace(/\s{2,}/g," ").trim()),Z[L]=Y.options.valueProcessors?v(Y.options.valueProcessors,Z[L],w):Z[L],1===Object.keys(Z).length&&L in Z&&!Y.EXPLICIT_CHARKEY&&(Z=Z[L])),M(Z)&&(Z="function"==typeof Y.options.emptyTag?Y.options.emptyTag():""!==Y.options.emptyTag?Y.options.emptyTag:U),null!=Y.options.validator&&(ie="/"+function(){var Ce,Ue,nt;for(nt=[],Ce=0,Ue=se.length;Ce<Ue;Ce++)nt.push((I=se[Ce])["#name"]);return nt}().concat(w).join("/"),function(){try{return Z=Y.options.validator(ie,H&&H[w],Z)}catch(Ue){return Y.emit("error",Ue)}}()),Y.options.explicitChildren&&!Y.options.mergeAttrs&&"object"==typeof Z)if(Y.options.preserveChildrenOrder){if(H){for(T in H[Y.options.childkey]=H[Y.options.childkey]||[],N=Object.create(null),Z)D.c
3all(Z,T)&&(N[T]=Z[T]);H[Y.options.childkey].push(N),delete Z["#name"],1===Object.keys(Z).length&&L in Z&&!Y.EXPLICIT_CHARKEY&&(Z=Z[L])}}else I=Object.create(null),Y.options.attrkey in Z&&(I[Y.options.attrkey]=Z[Y.options.attrkey],delete Z[Y.options.attrkey]),!Y.options.charsAsChildren&&Y.options.charkey in Z&&(I[Y.options.charkey]=Z[Y.options.charkey],delete Z[Y.options.charkey]),Object.getOwnPropertyNames(Z).length>0&&(I[Y.options.childkey]=Z),Z=I;return se.length>0?Y.assignOrPush(H,w,Z):(Y.options.explicitRoot&&(oe=Z,(Z=Object.create(null))[w]=oe),Y.resultObject=Z,Y.saxParser.ended=!0,Y.emit("end",Y.resultObject))}}(this),this.saxParser.ontext=E=function(Y){return function(ne){var U,T;if(T=se[se.length-1])return T[L]+=ne,Y.options.explicitChildren&&Y.options.preserveChildrenOrder&&Y.options.charsAsChildren&&(Y.options.includeWhiteChars||""!==ne.replace(/\\n/g,"").trim())&&(T[Y.options.childkey]=T[Y.options.childkey]||[],(U={"#name":"__text__"})[L]=ne,Y.options.normalize&&(U[L]=U[L].replace(/\s{2,}/g," ").trim()),T[Y.options.childkey].push(U)),T}}(this),this.saxParser.oncdata=function(){return function(ne){var U;if(U=E(ne))return U.cdata=!0}}()},O.prototype.parseString=function(d,L){var E;null!=L&&"function"==typeof L&&(this.on("end",function(se){return this.reset(),L(null,se)}),this.on("error",function(se){return this.reset(),L(se)}));try{return""===(d=d.toString()).trim()?(this.emit("end",null),!0):(d=a.stripBOM(d),this.options.async?(this.remaining=d,h(this.processAsync),this.saxParser):this.saxParser.write(d).close())}catch(se){if(E=se,!this.saxParser.errThrown&&!this.saxParser.ended)return this.emit("error",E),this.saxParser.errThrown=!0;if(this.saxParser.ended)throw E}},O.prototype.parseStringPromise=function(d){return new Promise(function(L){return function(E,se){return L.parseString(d,function(Y,ne){return Y?se(Y):E(ne)})}}(this))},O}(u),ee.parseString=function(f,O,d){var L,E;return null!=d?("function"==typeof d&&(L=d),"object"==typeof O&&(E=O)):("function"==typeof O&&(L=O),E={}),new ee.Parser(E).parseString(f,L)},ee.parseStringPromise=function(f,O){var d;return"object"==typeof O&&(d=O),new ee.Parser(d).parseStringPromise(f)}}).call(this)},65245:(qe,ee,o)=>{"use strict";o.d(ee,{i:()=>t});var a=o(5964);function t(u){return(0,a.p)((M,v)=>u<=v)}},65316:(qe,ee,o)=>{"use strict";o.d(ee,{b:()=>f});var a=o(29330),t=o(7673),u=o(27468),M=o(92771),v=o(96697),r=o(96354),_=o(99437),h=o(88141),C=o(2615),b=o(56846),D=o(89402);let f=(()=>{class O{constructor(L,E,se){this._http=L,this._errorHandler=E,this._recordPublicSidebar=se,this.headers=new a.Lr({"Access-Control-Allow-Origin":"*"})}getCountryCodes(){return(0,t.of)([{key:"Afghanistan",value:"AF"},{key:"Albania",value:"AL"},{key:"Algeria",value:"DZ"},{key:"American Samoa",value:"AS"},{key:"Andorra",value:"AD"},{key:"Angola",value:"AO"},{key:"Anguilla",value:"AI"},{key:"Antarctica",value:"AQ"},{key:"Antigua and Barbuda",value:"AG"},{key:"Argentina",value:"AR"},{key:"Armenia",value:"AM"},{key:"Aruba",value:"AW"},{key:"Australia",value:"AU"},{key:"Austria",value:"AT"},{key:"Azerbaijan",value:"AZ"},{key:"Bahamas",value:"BS"},{key:"Bahrain",value:"BH"},{key:"Bangladesh",value:"BD"},{key:"Barbados",value:"BB"},{key:"Belarus",value:"BY"},{key:"Belgium",value:"BE"},{key:"Belize",value:"BZ"},{key:"Benin",value:"BJ"},{key:"Bermuda",value:"BM"},{key:"Bhutan",value:"BT"},{key:"Bolivia",value:"BO"},{key:"Bosnia and Herzegovina",value:"BA"},{key:"Botswana",value:"BW"},{key:"Bouvet Island",value:"BV"},{key:"Brazil",value:"BR"},{key:"British Antarctic Territory",value:"BQ"},{key:"British Indian Ocean Territory",value:"IO"},{key:"British Virgin Islands",value:"VG"},{key:"Brunei",value:"BN"},{key:"Bulgaria",value:"BG"},{key:"Burkina Faso",value:"BF"},{key:"Burundi",value:"BI"},{key:"Cambodia",value:"KH"},{key:"Cameroon",value:"CM"},{key:"Canada",value:"CA"},{key:"Cape Verde",value:"CV"},{key:"Cayman Islands",value:"KY"},{key:"Central African Republic",value:"CF"},{key:"Chad",value:"TD"},{key:"Chile",value:"CL"},{key:"China",value:"CN"},{key:"Christmas Island",value:"CX"},{key:"Cocos [Keeling] Islands",value:"CC"},{key:"Colombia",value:"CO"},{key:"Comoros",value:"KM"},{key:"Congo - Brazzaville",value:"CG"},{key:"Congo - Kinshasa",value:"CD"},{key:"Cook Islands",value:"CK"},{key:"Costa Rica",value:"CR"},{key:"Croatia",value:"HR"},{key:"Cuba",value:"CU"},{key:"Cura\xE7ao",value:"CW"},{key:"Cyprus",value:"CY"},{key:"Czech Republic",value:"CZ"},{key:"C\xF4te d'Ivoire",value:"CI"},{key:"Denmark",value:"DK"},{key:"Djibouti",value:"DJ"},{key:"Dominica",value:"DM"},{key:"Dominican Republic",value:"DO"},{key:"Ecuador",value:"EC"},{key:"Egypt",value:"EG"},{key:"El Salvador",value:"SV"},{key:"Equatorial Guinea",value:"GQ"},{key:"Eritrea",value:"ER"},{key:"Estonia",value:"EE"},{key:"Ethiopia",value:"ET"},{key:"Falkland Islands",value:"FK"},{key:"Faroe Islands",value:"FO"},{key:"Fiji",value:"FJ"},{key:"Finland",value:"FI"},{key:"France",value:"FR"},{key:"French Guiana",value:"GF"},{key:"French Polynesia",value:"PF"},{key:"French Southern Territories",value:"TF"},{key:"Gabon",value:"GA"},{key:"Gambia",value:"GM"},{key:"Georgia",value:"GE"},{key:"Germany",value:"DE"},{key:"Ghana",value:"GH"},{key:"Gibraltar",value:"GI"},{key:"Greece",value:"GR"},{key:"Greenland",value:"GL"},{key:"Grenada",value:"GD"},{key:"Guadeloupe",value:"GP"},{key:"Guam",value:"GU"},{key:"Guatemala",value:"GT"},{key:"Guernsey",value:"GG"},{key:"Guinea",value:"GN"},{key:"Guinea-Bissau",value:"GW"},{key:"Guyana",value:"GY"},{key:"Haiti",value:"HT"},{key:"Heard Island and McDonald Islands",value:"HM"},{key:"Honduras",value:"HN"},{key:"Hong Kong SAR China",value:"HK"},{key:"Hungary",value:"HU"},{key:"Iceland",value:"IS"},{key:"India",value:"IN"},{key:"Indonesia",value:"ID"},{key:"Iran",value:"IR"},{key:"Iraq",value:"IQ"},{key:"Ireland",value:"IE"},{key:"Isle of Man",value:"IM"},{key:"Israel",value:"IL"},{key:"Italy",value:"IT"},{key:"Jamaica",value:"JM"},{key:"Japan",value:"JP"},{key:"Jersey",value:"JE"},{key:"Jordan",value:"JO"},{key:"Kazakhstan",value:"KZ"},{key:"Kenya",value:"KE"},{key:"Kiribati",value:"KI"},{key:"Kosovo",value:"XK"},{key:"Kuwait",value:"KW"},{key:"Kyrgyzstan",value:"KG"},{key:"Laos",value:"LA"},{key:"Latvia",value:"LV"},{key:"Lebanon",value:"LB"},{key:"Lesotho",value:"LS"},{key:"Liberia",value:"LR"},{key:"Libya",value:"LY"},{key:"Liechtenstein",value:"LI"},{key:"Lithuania",value:"LT"},{key:"Luxembourg",value:"LU"},{key:"Macau SAR China",value:"MO"},{key:"Madagascar",value:"MG"},{key:"Malawi",value:"MW"},{key:"Malaysia",value:"MY"},{key:"Maldives",value:"MV"},{key:"Mali",value:"ML"},{key:"Malta",value:"MT"},{key:"Marshall Islands",value:"MH"},{key:"Martinique",value:"MQ"},{key:"Mauritania",value:"MR"},{key:"Mauritius",value:"MU"},{key:"Mayotte",value:"YT"},{key:"Mexico",value:"MX"},{key:"Micronesia",value:"FM"},{key:"Moldova",value:"MD"},{key:"Monaco",value:"MC"},{key:"Mongolia",value:"MN"},{key:"Montenegro",value:"ME"},{key:"Montserrat",value:"MS"},{key:"Morocco",value:"MA"},{key:"Mozambique",value:"MZ"},{key:"Myanmar [Burma]",value:"MM"},{key:"Namibia",value:"NA"},{key:"Nauru",value:"NR"},{key:"Nepal",value:"NP"},{key:"Netherlands",value:"NL"},{key:"New Caledonia",value:"NC"},{key:"New Zealand",value:"NZ"},{key:"Nicaragua",value:"NI"},{key:"Niger",value:"NE"},{key:"Nigeria",value:"NG"},{key:"Niue",value:"NU"},{key:"Norfolk Island",value:"NF"},{key:"North Korea",value:"KP"},{key:"North Macedonia",value:"MK"},{key:"Northern Mariana Islands",value:"MP"},{key:"Norway",value:"NO"},{key:"Oman",value:"OM"},{key:"Pakistan",value:"PK"},{key:"Palau",value:"PW"},{key:"Palestinian Territories",value:"PS"},{key:"Panama",value:"PA"},{key:"Papua New Guinea",value:"PG"},{key:"Paraguay",value:"PY"},{key:"Peru",value:"PE"},{key:"Philippines",value:"PH"},{key:"Pitcairn Islands",value:"PN"},{key:"Poland",value:"PL"},{key:"Portugal",value:"PT"},{key:"Puerto Rico",value:"PR"},{key:"Qatar",value:"QA"},{key:"Romania",value:"RO"},{key:"Russia",value:"RU"},{key:"Rwanda",value:"RW"},{key:"R\xE9union",value:"RE"},{key:"Saint Barth\xE9lemy",value:"BL"},{key:"Saint Helena",value:"SH"},{key:"Saint Kitts and Nevis",value:"KN"},{key:"Saint Lucia",value:"LC"},{key:"Saint Martin",value:"MF"},{key:"Saint Pierre and Miquelon",value:"PM"},{key:"Saint Vincent and the Grenadines",value:"VC"},{key:"Samoa",value:"WS"},{key:"San Marino",value:"SM"},{key:"Saudi Arabia",value:"SA"},{key:"Senegal",value:"SN"},{key:"Serbia",value:"RS"},{key:"Seychelles",value:"SC"},{key:"Sierra Leone",value:"SL"},{key:"Singapore",value:"SG"},{key:"Sint Maarten (Dutch Part)",value:"SX"},{key:"Slovakia",value:"SK"},{key:"Slovenia",value:"SI"},{key:"Solomon Islands",value:"SB"},{key:"Somalia",value:"SO"},{key:"South Africa",value:"ZA"},{key:"South Georgia and the South Sandwich Islands",value:"GS"},{key:"South Korea",value:"KR"},{key:"South Sudan",value:"SS"},{key:"Spain",value:"ES"},{key:"Sri Lanka",value:"LK"},{key:"Sudan",value:"SD"},{key:"Suriname",value:"SR"},{key:"Svalbard and Jan Mayen",value:"SJ"},{key:"Swaziland",value:"SZ"},{key:"Sweden",value:"SE"},{key:"Switzerland",value:"CH"},{key:"Syria",value:"SY"},{key:"S\xE3o Tom\xE9 and Pr\xEDncipe",value:"ST"},{key:"Taiwan",value:"TW"},{key:"Tajikistan",value:"TJ"},{key:"Tanzania",value:"TZ"},{key:"Thailand",value:"TH"},{key:"Timor-Leste",value:"TL"},{key:"Togo",value:"TG"},{key:"Tokelau",value:"TK"},{key:"Tonga",value:"TO"},{key:"Trinidad and Tobago",value:"TT"},{key:"Tunisia",value:"TN"},{key:"T\xFCrkiye",value:"TR"},{key:"Turkmenistan",value:"TM"},{key:"Turks and Caicos Islands",value:"TC"},{key:"Tuvalu",value:"TV"},{key:"U.S. Minor Outlying Islands",value:"UM"},{key:"U.S. Virgin Islands",value:"VI"},{key:"Uganda",value:"UG"},{key:"Ukraine",value:"UA"},{key:"United Arab Emirates",value:"AE"},{key:"United Kingdom",value:"GB"},{key:"United States",value:"US"},{key:"Uruguay",value:"UY"},{key:"Uzbekistan",value:"UZ"},{key:"Vanuatu",value:"VU"},{key:"Vatican City",value:"VA"},{key:"Venezuela",value:"VE"},{key:"Vietnam",value:"VN"},{key:"Wallis and Futuna",value:"WF"},{key:"Western Sahara",value:"EH"},{key:"Yemen",value:"YE"},{key:"Zambia",value:"ZM"},{key:"Zimbabwe",value:"ZW"},{key:"\xC5land Islands",value:"AX"}])}getAddresses(L={forceReload:!1}){if(L.publicRecordId)return(0,u.p)([this._recordPublicSidebar.getPublicRecordSideBar(L).pipe((0,v.s)(1)),this.getCountryCodes().pipe((0,v.s)(1))]).pipe((0,r.T)(E=>{const se=E[0].countries,Y=E[1];
3return se?.addresses.forEach(ne=>{ne.countryName=Y.find(U=>U.value===ne.iso2Country.value).key||""}),se}));if(this.$addresses){if(!L.forceReload)return this.$addresses}else this.$addresses=new M.m(1);return L.cleanCacheIfExist&&this.$addresses&&this.$addresses.next(void 0),(0,u.p)([this._http.get(runtimeEnvironment.API_WEB+"account/countryForm.json",{headers:this.headers}).pipe((0,v.s)(1)),this.getCountryCodes().pipe((0,v.s)(1))]).pipe((0,_.W)(E=>this._errorHandler.handleError(E)),(0,_.W)(()=>(0,t.of)({addresses:[]})),(0,h.M)(E=>{this.reverseSort(E[0])}),(0,h.M)(E=>{this.$addresses.next(E[0])}),(0,r.T)(E=>{const se=E[0],Y=E[1];return se.addresses.forEach(ne=>{ne.countryName=Y.find(U=>U.value===ne.iso2Country.value).key||""}),se})).subscribe(),this.$addresses}postAddresses(L){return this._http.post(runtimeEnvironment.API_WEB+"account/countryForm.json",L,{headers:this.headers}).pipe((0,_.W)(E=>this._errorHandler.handleError(E)),(0,h.M)(()=>this.getAddresses({forceReload:!0})))}reverseSort(L){L.addresses.sort((E,se)=>E.displayIndex-se.displayIndex),L.addresses.reverse()}static{this.\u0275fac=function(E){return new(E||O)(C.KVO(a.Qq),C.KVO(b.c),C.KVO(D.I))}}static{this.\u0275prov=C.jDH({token:O,factory:O.\u0275fac,providedIn:"root"})}}return O})()},65770:(qe,ee,o)=>{"use strict";o.d(ee,{f:()=>f});var a=o(67376),u=o(96697),M=o(25558),v=o(96354),r=o(22193),_=o(2615),h=o(29330
3),C=o(91029),b=o(90645),D=o(51060);let f=(()=>{class O{constructor(L,E,se,Y){this._http=L,this._router=E,this._togglz=se,this._platform=Y,this._platform.get().subscribe(ne=>this.platform=ne)}getUserInfo(L){return this._togglz.getStateOf(r.i.OAUTH_SIGNIN).pipe((0,u.s)(1),(0,M.n)(E=>{let se=runtimeEnvironment.API_WEB+(L?.publicRecordId?L.publicRecordId+"/":"")+"userInfo.json";return E&&(se=runtimeEnvironment.AUTH_SERVER+(L?.publicRecordId?L.publicRecordId+"/":"")+"userInfo.json"),this._http.get(se,{withCredentials:!0}).pipe((0,v.T)(Y=>(Y.USER_NOT_FOUND=(0,a.isEmpty)(Y)||null==Y.EFFECTIVE_USER_ORCID,Y.RECORD_WITH_ISSUES=!("true"!==Y.IS_LOCKED&&"true"!==Y.IS_DEACTIVATED&&!Y.PRIMARY_RECORD),this.platform.queryParameters.hasOwnProperty("orcid")&&!this.platform.hasOauthParameters&&this._router.navigate(["/my-orcid"],{queryParams:{orcid:Y.EFFECTIVE_USER_ORCID}}),Y)))}))}static{this.\u0275fac=function(E){return new(E||O)(_.KVO(h.Qq),_.KVO(C.Ix),_.KVO(b.v),_.KVO(D.Z))}}static{this.\u0275prov=_.jDH({token:O,factory:O.\u0275fac,providedIn:"root"})}}return O})()},65814:function(qe,ee,o){(function(){var a,t,v={}.hasOwnProperty;a=o(68886),t=o(50170),qe.exports=function(r){function _(h,C){if(_.__super__.constructor.call(this,h),null==C)throw new Error("Missing element text. "+this.debugInfo());this.name="#text",this.type=a.Text,this.value=this.stringify.text(C)}return function(r,_){for(var h in _)v.call(_,h)&&(r[h]=_[h]);function C(){this.constructor=r}C.prototype=_.prototype,r.prototype=new C,r.__super__=_.prototype}(_,r),Object.defineProperty(_.prototype,"isElementContentWhitespace",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),Object.defineProperty(_.prototype,"wholeText",{get:function(){var h,C,b;for(b="",C=this.previousSibling;C;)b=C.data+b,C=C.previousSibling;for(b+=this.data,h=this.nextSibling;h;)b+=h.data,h=h.nextSibling;return b}}),_.prototype.clone=function(){return Object.create(this)},_.prototype.toString=function(h){return this.options.writer.text(this,this.options.writer.filterOptions(h))},_.prototype.splitText=function(h){throw new Error("This DOM method is not implemented."+this.debugInfo())},_.prototype.replaceWholeText=function(h){throw new Error("This DOM method is not implemented."+this.debugInfo())},_}(t)}).call(this)},67018:(qe,ee,o)=>{"use strict";o.d(ee,{H:()=>_});var a=o(9350),t=o(5964),u=o(55109),M=o(93774),v=o(39901),r=o(33669);function _(h,C){const b=arguments.length>=2;return D=>D.pipe(h?(0,t.p)((f,O)=>h(f,O,D)):r.D,(0,u.o)(1),b?(0,v.U)(C):(0,M.v)(()=>new a.G))}},67336:(qe,ee,o)=>{"use strict";function a(t,...u){return u.length?u.some(M=>t[M]):t.altKey||t.shiftKey||t.ctrlKey||t.metaKey}o.d(ee,{rp:()=>a})},67376:function(qe,ee,o){var a;qe=o.nmd(qe),function(){var t,r="Expected a function",C="__lodash_hash_undefined__",D="__lodash_placeholder__",I=32,Z=128,Xe=1/0,et=9007199254740991,ue=4294967295,z=ue-1,ae=[["ary",Z],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",I],["partialRight",64],["rearg",256]],X="[object Arguments]",$="[object Array]",Be="[object Boolean]",Ye="[object Date]",pt="[object Error]",Ge="[object Function]",bt="[object GeneratorFunction]",me="[object Map]",J="[object Number]",x="[object Object]",ce="[object Promise]",pe="[object RegExp]",st="[object Set]",Qe="[object String]",At="[object Symbol]",ze="[object WeakMap]",Ct="[object ArrayBuffer]",Wt="[object DataView]",ln="[object Float32Array]",Rn="[object Float64Array]",Dn="[object Int8Array]",Gn="[object Int16Array]",Yn="[object Int32Array]",ui="[object Uint8Array]",ti="[object Uint8ClampedArray]",$t="[object Uint16Array]",it="[object Uint32Array]",mt=/\b__p \+= '';/g,Ze=/\b(__p \+=) '' \+/g,Nt=/(__e\(.*?\)|\b__t\)) \+\n'';/g,vt=/&(?:amp|lt|gt|quot|#39);/g,$e=/[&<>"']/g,ht=RegExp(vt.source),Ae=RegExp($e.source),It=/<%-([\s\S]+?)%>/g,Mt=/<%([\s\S]+?)%>/g,on=/<%=([\s\S]+?)%>/g,Gt=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,hn=/^\w*$/,Cn=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Sn=/[\\^$.*+?()[\]{}|]/g,ni=RegExp(Sn.source),wi=/^\s+/,vi=/\s/,Ai=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Hi=/\{\n\/\* \[wrapped with (.+)\] \*/,tr=/,? & /,Yi=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Qi=/[()=,{}\[\]\/\s]/,xt=/\\(\\)?/g,Me=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,_e=/\w*$/,ke=/^[-+]0x[0-9a-f]+$/i,_t=/^0b[01]+$/i,wt=/^\[object .+?Constructor\]$/,Je=/^0o[0-7]+$/i,Tt=/^(?:0|[1-9]\d*)$/,le=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u01
vendor: 7,244 bytes, line 3
37f]/g,Ve=/($^)/,Te=/['\n\r\u2028\u2029\\]/g,Ht="\\ud800-\\udfff",Ut="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",Xt="\\u2700-\\u27bf",gn="a-z\\xdf-\\xf6\\xf8-\\xff",oi="A-Z\\xc0-\\xd6\\xd8-\\xde",Fi="\\ufe0e\\ufe0f",Kn="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Pi="["+Ht+"]",Ii="["+Kn+"]",zn="["+Ut+"]",Ki="\\d+",or="["+Xt+"]",er="["+gn+"]",nr="[^"+Ht+Kn+Ki+Xt+gn+oi+"]",Ci="\\ud83c[\\udffb-\\udfff]",ki="[^"+Ht+"]",gi="(?:\\ud83c[\\udde6-\\uddff]){2}",Zi="[\\ud800-\\udbff][\\udc00-\\udfff]",mr="["+oi+"]",yn="(?:"+er+"|"+nr+")",Ir="(?:"+mr+"|"+nr+")",Jr="(?:['\u2019](?:d|ll|m|re|s|t|ve))?",Do="(?:['\u2019](?:D|LL|M|RE|S|T|VE))?",Qo="(?:"+zn+"|"+Ci+")?",he="["+Fi+"]?",Lt=he+Qo+"(?:\\u200d(?:"+[ki,gi,Zi].join("|")+")"+he+Qo+")*",nn="(?:"+[or,gi,Zi].join("|")+")"+Lt,_n="(?:"+[ki+zn+"?",zn,gi,Zi,Pi].join("|")+")",Tn=RegExp("['\u2019]","g"),hi=RegExp(zn,"g"),ai=RegExp(Ci+"(?="+Ci+")|"+_n+Lt,"g"),Ei=RegExp([mr+"?"+er+"+"+Jr+"(?="+[Ii,mr,"$"].join("|")+")",Ir+"+"+Do+"(?="+[Ii,mr+yn,"$"].join("|")+")",mr+"?"+yn+"+"+Jr,mr+"+"+Do,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Ki,nn].join("|"),"g"),_i=RegExp("[\\u200d"+Ht+Ut+Fi+"]"),Ji=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Si=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Vi=-1,ri={};ri[ln]=ri[Rn]=ri[Dn]=ri[Gn]=ri[Yn]=ri[ui]=ri[ti]=ri[$t]=ri[it]=!0,ri[X]=ri[$]=ri[Ct]=ri[Be]=ri[Wt]=ri[Ye]=ri[pt]=ri[Ge]=ri[me]=ri[J]=ri[x]=ri[pe]=ri[st]=ri[Qe]=ri[ze]=!1;var li={};li[X]=li[$]=li[Ct]=li[Wt]=li[Be]=li[Ye]=li[ln]=li[Rn]=li[Dn]=li[Gn]=li[Yn]=li[me]=li[J]=li[x]=li[pe]=li[st]=li[Qe]=li[At]=li[ui]=li[ti]=li[$t]=li[it]=!0,li[pt]=li[Ge]=li[ze]=!1;var ir={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Rr=parseFloat,oo=parseInt,Ao="object"==typeof global&&global&&global.Object===Object&&global,So="object"==typeof self&&self&&self.Object===Object&&self,Ri=Ao||So||Function("return this")(),Kr=ee&&!ee.nodeType&&ee,qr=Kr&&qe&&!qe.nodeType&&qe,Eo=qr&&qr.exports===Kr,Uo=Eo&&Ao.process,qi=function(){try{return qr&&qr.require&&qr.require("util").types||Uo&&Uo.binding&&Uo.binding("util")}catch{}}(),An=qi&&qi.isArrayBuffer,so=qi&&qi.isDate,Go=qi&&qi.isMap,Oo=qi&&qi.isRegExp,Nr=qi&&qi.isSet,Ar=qi&&qi.isTypedArray;function je(zt,rn,qt){switch(qt.length){case 0:return zt.call(rn);case 1:return zt.call(rn,qt[0]);case 2:return zt.call(rn,qt[0],qt[1]);case 3:return zt.call(rn,qt[0],qt[1],qt[2])}return zt.apply(rn,qt)}function ge(zt,rn,qt,Nn){for(var di=-1,bi=null==zt?0:zt.length;++di<bi;){var vr=zt[di];rn(Nn,vr,qt(vr),zt)}return Nn}function Ie(zt,rn){for(var qt=-1,Nn=null==zt?0:zt.length;++qt<Nn&&!1!==rn(zt[qt],qt,zt););return zt}function gt(zt,rn){for(var qt=null==zt?0:zt.length;qt--&&!1!==rn(zt[qt],qt,zt););return zt}function Vt(zt,rn){for(var qt=-1,Nn=null==zt?0:zt.length;++qt<Nn;)if(!rn(zt[qt],qt,zt))return!1;return!0}function Zt(zt,rn){for(var qt=-1,Nn=null==zt?0:zt.length,di=0,bi=[];++qt<Nn;){var vr=zt[qt];rn(vr,qt,zt)&&(bi[di++]=vr)}return bi}function an(zt,rn){return!(null==zt||!zt.length)&&_r(zt,rn,0)>-1}function En(zt,rn,qt){for(var Nn=-1,di=null==zt?0:zt.length;++Nn<di;)if(qt(rn,zt[Nn]))return!0;return!1}function Mn(zt,rn){for(var qt=-1,Nn=null==zt?0:zt.length,di=Array(Nn);++qt<Nn;)di[qt]=rn(zt[qt],qt,zt);return di}function xn(zt,rn){for(var qt=-1,Nn=rn.length,di=zt.length;++qt<Nn;)zt[di+qt]=rn[qt];return zt}function ci(zt,rn,qt,Nn){var di=-1,bi=null==zt?0:zt.length;for(Nn&&bi&&(qt=zt[++di]);++di<bi;)qt=rn(qt,zt[di],di,zt);return qt}function Xn(zt,rn,qt,Nn){var di=null==zt?0:zt.length;for(Nn&&di&&(qt=zt[--di]);di--;)qt=rn(qt,zt[di],di,zt);return qt}function Gi(zt,rn){for(var qt=-1,Nn=null==zt?0:zt.length;++qt<Nn;)if(rn(zt[qt],qt,zt))return!0;return!1}var zi=Po("length");function rr(zt,rn,qt){var Nn;return qt(zt,function(di,bi,vr){if(rn(di,bi,vr))return Nn=bi,!1}),Nn}function kr(zt,rn,qt,Nn){for(var di=zt.length,bi=qt+(Nn?1:-1);Nn?bi--:++bi<di;)if(rn(zt[bi],bi,zt))return bi;return-1}function _r(zt,rn,qt){return rn==rn?function zr(zt,rn,qt){for(var Nn=qt-1,di=zt.length;++Nn<di;)if(zt[Nn]===rn)return Nn;return-1}(zt,rn,qt):kr(zt,as,qt)}function jo(zt,rn,qt,Nn){for(var di=qt-1,bi=zt.length;++di<bi;)if(Nn(zt[di],rn))return di;return-1}function as(zt){return zt!=zt}function To(zt,rn){var qt=null==zt?0:zt.length;return qt?Io(zt,rn)/qt:NaN}function Po(zt){return function(rn){return null==rn?t:rn[zt]}}function Vr(zt){return function(rn){return null==zt?t:zt[rn]}}function ls(zt,rn,qt,Nn,di){return di(zt,function(bi,vr,ji){qt=Nn?(Nn=!1,bi):rn(qt,bi,vr,ji)}),qt}function Io(zt,rn){for(var qt,Nn=-1,di=zt.length;++Nn<di;){var bi=rn(zt[Nn]);bi!==t&&(qt=qt===t?bi:qt+bi)}return qt}function cs(zt,rn){for(var qt=-1,Nn=Array(zt);++qt<zt;)Nn[qt]=rn(qt);return Nn}function Js(zt){return zt&&zt.slice(0,ys(zt)+1).replace(wi,"")}function Lr(zt){return function(rn){return zt(rn)}}function Zo(zt,rn){return Mn(rn,function(qt){return zt[qt]})}function Jo(zt,rn){return zt.has(rn)}function fe(zt,rn){for(var qt=-1,Nn=zt.length;++qt<Nn&&_r(rn,zt[qt],0)>-1;);return qt}function Ee(zt,rn){for(var qt=zt.length;qt--&&_r(rn,zt[qt],0)>-1;);return qt}var We=Vr({\u00c0:"A",\u00c1:"A",\u00c2:"A",\u00c3:"A",\u00c4:"A",\u00c5:"A",\u00e0:"a",\u00e1:"a",\u00e2:"a",\u00e3:"a",\u00e4:"a",\u00e5:"a",\u00c7:"C",\u00e7:"c",\u00d0:"D",\u00f0:"d",\u00c8:"E",\u00c9:"E",\u00ca:"E",\u00cb:"E",\u00e8:"e",\u00e9:"e",\u00ea:"e",\u00eb:"e",\u00cc:"I",\u00cd:"I",\u00ce:"I",\u00cf:"I",\u00ec:"i",\u00ed:"i",\u00ee:"i",\u00ef:"i",\u00d1:"N",\u00f1:"n",\u00d2:"O",\u00d3:"O",\u00d4:"O",\u00d5:"O",\u00d6:"O",\u00d8:"O",\u00f2:"o",\u00f3:"o",\u00f4:"o",\u00f5:"o",\u00f6:"o",\u00f8:"o",\u00d9:"U",\u00da:"U",\u00db:"U",\u00dc:"U",\u00f9:"u",\u00fa:"u",\u00fb:"u",\u00fc:"u",\u00dd:"Y",\u00fd:"y",\u00ff:"y",\u00c6:"Ae",\u00e6:"ae",\u00de:"Th",\u00fe:"th",\u00df:"ss",\u0100:"A",\u0102:"A",\u0104:"A",\u0101:"a",\u0103:"a",\u0105:"a",\u0106:"C",\u0108:"C",\u010a:"C",\u010c:"C",\u0107:"c",\u0109:"c",\u010b:"c",\u010d:"c",\u010e:"D",\u0110:"D",\u010f:"d",\u0111:"d",\u0112:"E",\u0114:"E",\u0116:"E",\u0118:"E",\u011a:"E",\u0113:"e",\u0115:"e",\u0117:"e",\u0119:"e",\u011b:"e",\u011c:"G",\u011e:"G",\u0120:"G",\u0122:"G",\u011d:"g",\u011f:"g",\u0121:"g",\u0123:"g",\u0124:"H",\u0126:"H",\u0125:"h",\u0127:"h",\u0128:"I",\u012a:"I",\u012c:"I",\u012e:"I",\u0130:"I",\u0129:"i",\u012b:"i",\u012d:"i",\u012f:"i",\u0131:"i",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u0138:"k",\u0139:"L",\u013b:"L",\u013d:"L",\u013f:"L",\u0141:"L",\u013a:"l",\u013c:"l",\u013e:"l",\u0140:"l",\u0142:"l",\u0143:"N",\u0145:"N",\u0147:"N",\u014a:"N",\u0144:"n",\u0146:"n",\u0148:"n",\u014b:"n",\u014c:"O",\u014e:"O",\u0150:"O",\u014d:"o",\u014f:"o",\u0151:"o",\u0154:"R",\u0156:"R",\u0158:"R",\u0155:"r",\u0157:"r",\u0159:"r",\u015
3a:"S",\u015c:"S",\u015e:"S",\u0160:"S",\u015b:"s",\u015d:"s",\u015f:"s",\u0161:"s",\u0162:"T",\u0164:"T",\u0166:"T",\u0163:"t",\u0165:"t",\u0167:"t",\u0168:"U",\u016a:"U",\u016c:"U",\u016e:"U",\u0170:"U",\u0172:"U",\u0169:"u",\u016b:"u",\u016d:"u",\u016f:"u",\u0171:"u",\u0173:"u",\u0174:"W",\u0175:"w",\u0176:"Y",\u0177:"y",\u0178:"Y",\u0179:"Z",\u017b:"Z",\u017d:"Z",\u017a:"z",\u017c:"z",\u017e:"z",\u0132:"IJ",\u0133:"ij",\u0152:"Oe",\u0153:"oe",\u0149:"'n",\u017f:"s"}),Dt=Vr({"&":"&","<":"<",">":">",'"':""","'":"'"});function In(zt){return"\\"+ir[zt]}function wr(zt){return _i.test(zt)}function Mo(zt){var rn=-1,qt=Array(zt.size);return zt.forEach(function(Nn,di){qt[++rn]=[di,Nn]}),qt}function ma(zt,rn){return function(qt){return zt(rn(qt))}}function vo(zt,rn){for(var qt=-1,Nn=zt.length,di=0,bi=[];++qt<Nn;){var vr=zt[qt];(vr===rn||vr===D)&&(zt[qt]=D,bi[di++]=qt)}return bi}function Wo(zt){var rn=-1,qt=Array(zt.size);return zt.forEach(function(Nn){qt[++rn]=Nn}),qt}function ds(zt){return wr(zt)?function Xa(zt){for(var rn=ai.lastIndex=0;ai.test(zt);)++rn;return rn}(zt):zi(zt)}function ao(zt){return wr(zt)?function Ds(zt){return zt.match(ai)||[]}(zt):function ur(zt){return zt.split("")}(zt)}function ys(zt){for(var rn=zt.length;rn--&&vi.test(zt.charAt(rn)););return rn}var za=Vr({"&":"&","<":"<",">":">",""":'"',"'":"'"}),qs=function zt(rn){var l,qt=(rn=null==rn?Ri:qs.defaults(Ri.Object(),rn,qs.pick(Ri,Si))).Array,Nn=rn.Date,di=rn.Error,bi=rn.Function,vr=rn.Math,ji=rn.Object,ea=rn.RegExp,cl=rn.String,Ro=rn.TypeError,lo=qt.prototype,No=ji.prototype,As=rn["__core-js_shared__"],Ss=bi.prototype.toString,xi=No.hasOwnProperty,Fs=0,Ha=(l=/[^.]+$/.exec(As&&As.keys&&As.keys.IE_PROTO||""))?"Symbol(src)_1."+l:"",Ts=No.toString,Ya=Ss.call(ji),Ta=Ri._,ks=ea("^"+Ss.call(xi).replace(Sn,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Xr=Eo?rn.Buffer:t,Br=rn.Symbol,Lo=rn.Uint8Array,Ea=Xr?Xr.allocUnsafe:t,Oa=ma(ji.getPrototypeOf,ji),Zn=ji.create,Bs=No.propertyIsEnumerable,us=lo.splice,Jn=Br?Br.isConcatSpreadable:t,wo=Br?Br.iterator:t,$s=Br?Br.toStringTag:t,ta=function(){try{var l=ua(ji,"defineProperty");return l({},"",{}),l}catch{}}(),Hr=rn.clearTimeout!==Ri.clearTimeout&&rn.clearTimeout,Pa=Nn&&Nn.now!==Ri.Date.now&&Nn.now,to=rn.setTimeout!==Ri.setTimeout&&rn.setTimeout,co=vr.ceil,G=vr.floor,q=ji.getOwnPropertySymbols,V=Xr?Xr.isBuffer:t,te=rn.isFinite,ye=lo.join,He=ma(ji.keys,ji),ut=vr.max,Bt=vr.min,tn=Nn.now,Pn=rn.parseInt,$i=vr.random,$r=lo.reverse,uo=ua(rn,"DataView"),Ur=ua(rn,"Map"),no=ua(rn,"Promise"),Vo=ua(rn,"Set"),Co=ua(rn,"WeakMap"),_s=ua(ji,"create"),na=Co&&new Co,zo={},Qa=Ba(uo),ia=Ba(Ur),yc=Ba(no),Od=Ba(Vo),ul=Ba(Co),Ia=Br?Br.prototype:t,Za=Ia?Ia.valueOf
3:t,_l=Ia?Ia.toString:t;function rt(l){if(Tr(l)&&!Oi(l)&&!(l instanceof Ti)){if(l instanceof _o)return l;if(xi.call(l,"__wrapped__"))return Hu(l)}return new _o(l)}var Us=function(){function l(){}return function(p){if(!xr(p))return{};if(Zn)return Zn(p);l.prototype=p;var P=new l;return l.prototype=t,P}}();function qo(){}function _o(l,p){this.__wrapped__=l,this.__actions__=[],this.__chain__=!!p,this.__index__=0,this.__values__=t}function Ti(l){this.__wrapped__=l,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=ue,this.__views__=[]}function fs(l){var p=-1,P=null==l?0:l.length;for(this.clear();++p<P;){var re=l[p];this.set(re[0],re[1])}}function xo(l){var p=-1,P=null==l?0:l.length;for(this.clear();++p<P;){var re=l[p];this.set(re[0],re[1])}}function Ps(l){var p=-1,P=null==l?0:l.length;for(this.clear();++p<P;){var re=l[p];this.set(re[0],re[1])}}function hs(l){var p=-1,P=null==l?0:l.length;for(this.__data__=new Ps;++p<P;)this.add(l[p])}function Xo(l){var p=this.__data__=new xo(l);this.size=p.size}function Xl(l,p){var P=Oi(l),re=!P&&ol(l),Le=!P&&!re&&Ga(l),ct=!P&&!re&&!Le&&xl(l),St=P||re||Le||ct,kt=St?cs(l.length,cl):[],Yt=kt.length;for(var cn in l)(p||xi.call(l,cn))&&(!St||!("length"==cn||Le&&("offset"==cn||"parent"==cn)||ct&&("buffer"==cn||"byteLength"==cn||"byteOffset"==cn)||_a(cn,Yt)))&&kt.push(cn);return kt}function Ja(l){var p=l.length;return p?l[Cl(0,p-1)]:t}function Au(l,p){return Yc(ko(l),Gs(p,0,l.length))}function Md(l){return Yc(ko(l))}function pl(l,p,P){(P!==t&&!fa(l[p],P)||P===t&&!(p in l))&&ts(l,p,P)}function aa(l,p,P){var re=l[p];(!xi.call(l,p)||!fa(re,P)||P===t&&!(p in l))&&ts(l,p,P)}function la(l,p){for(var P=l.length;P--;)if(fa(l[P][0],p))return P;return-1}function vd(l,p,P,re){return js(l,function(Le,ct,St){p(re,Le,P(Le),St)}),re}function Lc(l,p){return l&&gs(p,Zr(p),l)}function ts(l,p,P){"__proto__"==p&&ta?ta(l,p,{configurable:!0,enumerable:!0,value:P,writable:!0}):l[p]=P}function Yl(l,p){for(var P=-1,re=p.length,Le=qt(re),ct=null==l;++P<re;)Le[P]=ct?t:uu(l,p[P]);return Le}function Gs(l,p,P){return l==l&&(P!==t&&(l=l<=P?l:P),p!==t&&(l=l>=p?l:p)),l}function Ho(l,p,P,re,Le,ct){var St,kt=1&p,Yt=2&p,cn=4&p;if(P&&(St=Le?P(l,re,Le,ct):P(l)),St!==t)return St;if(!xr(l))return l;var dn=Oi(l);if(dn){if(St=function bp(l){var p=l.length,P=new l.constructor(p);return p&&"string"==typeof l[0]&&xi.call(l,"index")&&(P.index=l.index,P.input=l.input),P}(l),!kt)return ko(l,St)}else{var mn=cr(l),wn=mn==Ge||mn==bt;if(Ga(l))return Kc(l,kt);if(mn==x||mn==X||wn&&!Le){if(St=Yt||wn?{}:Wu(l),!kt)return Yt?function A(l,p){return gs(l,Yo(l),p)}(l,function Hl(l,p){return l&&gs(p,Rs(p),l)}(St,l)):function k(l,p){return gs(l,Sr(l),p)}(l,Lc(St,l))}else{if(!li[mn])return Le?l:{};St=function xd(l,p,P){var re=l.constructor;switch(p){case Ct:return Al(l);case Be:case Ye:return new re(+l);case Wt:return function ac(l,p){var P=p?Al(l.buffer):l.buffer;return new l.constructor(P,l.byteOffset,l.byteLength)}(l,P);case ln:case Rn:case Dn:case Gn:case Yn:case ui:case ti:case $t:case it:return Vc(l,P);case me:return new re;case J:case Qe:return new re(l);case pe:return function xa(l){var p=new l.constructor(l.source,_e.exec(l));return p.lastIndex=l.lastIndex,p}(l);case st:return new re;case At:return function Rd(l){return Za?ji(Za.call(l)):{}}(l)}}(l,mn,kt)}}ct||(ct=new Xo);var Qn=ct.get(l);if(Qn)return Qn;ct.set(l,St),ad(l)?l.forEach(function(ii){St.add(Ho(ii,p,P,ii,l,ct))}):sl(l)&&l.forEach(function(ii,Bi){St.set(Bi,Ho(ii,p,P,Bi,l,ct))});var Li=dn?t:(cn?Yt?ei:Vn:Yt?Rs:Zr)(l);return Ie(Li||l,function(ii,Bi){Li&&(ii=l[Bi=ii]),aa(St,Bi,Ho(ii,p,P,Bi,l,ct))}),St}function ml(l,p,P){var re=P.length;if(null==l)return!re;for(l=ji(l);re--;){var Le=P[re],St=l[Le];if(St===t&&!(Le in l)||!(0,p[Le])(St))return!1}return!0}function gl(l,p,P){if("function"!=typeof l)throw new Ro(r);return uc(function(){l.apply(t,P)},p)}function La(l,p,P,re){var Le=-1,ct=an,St=!0,kt=l.length,Yt=[],cn=p.length;if(!kt)return Yt;P&&(p=Mn(p,Lr(P))),re?(ct=En,St=!1):p.length>=200&&(ct=Jo,St=!1,p=new hs(p));e:for(;++Le<kt;){var dn=l[Le],mn=null==P?dn:P(dn);if(dn=re||0!==dn?dn:0,St&&mn==mn){for(var wn=cn;wn--;)if(p[wn]===mn)continue e;Yt.push(dn)}else ct(p,mn,re)||Yt.push(dn)}return Yt}rt.templateSettings={escape:It,evaluate:Mt,interpolate:on,variable:"",imports:{_:rt}},(rt.prototype=qo.prototype).constructor=rt,(_o.prototype=Us(qo.prototype)).constructor=_o,
3(Ti.prototype=Us(qo.prototype)).constructor=Ti,fs.prototype.clear=function Ma(){this.__data__=_s?_s(null):{},this.size=0},fs.prototype.delete=function jl(l){var p=this.has(l)&&delete this.__data__[l];return this.size-=p?1:0,p},fs.prototype.get=function Wl(l){var p=this.__data__;if(_s){var P=p[l];return P===C?t:P}return xi.call(p,l)?p[l]:t},fs.prototype.has=function oa(l){var p=this.__data__;return _s?p[l]!==t:xi.call(p,l)},fs.prototype.set=function Ac(l,p){var P=this.__data__;return this.size+=this.has(l)?0:1,P[l]=_s&&p===t?C:p,this},xo.prototype.clear=function Sc(){this.__data__=[],this.size=0},xo.prototype.delete=function Tc(l){var p=this.__data__,P=la(p,l);return!(P<0||(P==p.length-1?p.pop():us.call(p,P,1),--this.size,0))},xo.prototype.get=function Pc(l){var p=this.__data__,P=la(p,l);return P<0?t:p[P][1]},xo.prototype.has=function fo(l){return la(this.__data__,l)>-1},xo.prototype.set=function va(l,p){var P=this.__data__,re=la(P,l);return re<0?(++this.size,P.push([l,p])):P[re][1]=p,this},Ps.prototype.clear=function sa(){this.size=0,this.__data__={hash:new fs,map:new(Ur||xo),string:new fs}},Ps.prototype.delete=function Ic(l){var p=ns(this,l).delete(l);return this.size-=p?1:0,p},Ps.prototype.get=function Rc(l){return ns(this,l).get(l)},Ps.prototype.has=function Kl(l){return ns(this,l).has(l)},Ps.prototype.set=function Vl(l,p){var P=ns(this,l),re=P.size;return P.set(l,p),this.size+=P.size==re?0:1,this},hs.prototype.add=hs.prototype.push=function fl(l){return this.__data__.set(l,C),this},hs.prototype.has=function hl(l){return this.__data__.has(l)},Xo.prototype.clear=function Nc(){this.__data__=new xo,this.size=0},Xo.prototype.delete=function Ca(l){var p=this.__data__,P=p.delete(l);return this.size=p.size,P},Xo.prototype.get=function es(l){return this.__data__.get(l)},Xo.prototype.has=function Na(l){return this.__data__.has(l)},Xo.prototype.set=function zl(l,p){var P=this.__data__;if(P instanceof xo){var re=P.__data__;if(!Ur||re.length<199)return re.push([l,p]),this.size=++P.size,this;P=this.__data__=new Ps(re)}return P.set(l,p),this.size=P.size,this};var js=B(Wi),W=B(ar,!0);function be(l,p){var P=!0;return js(l,function(re,Le,ct){return P=!!p(re,Le,ct)}),P}function ft(l,p,P){for(var re=-1,Le=l.length;++re<Le;){var ct=l[re],St=p(ct);if(null!=St&&(kt===t?St==St&&!Ms(St):P(St,kt)))var kt=St,Yt=ct}return Yt}function sn(l,p){var P=[];return js(l,function(re,Le,ct){p(re,Le,ct)&&P.push(re)}),P}function vn(l,p,P,re,Le){var ct=-1,St=l.length;for(P||(P=gf),Le||(Le=[]);++ct<St;){var kt=l[ct];p>0&&P(kt)?p>1?vn(kt,p-1,P,re,Le):xn(Le,kt):re||(Le[Le.length]=kt)}return Le}var Xi=ve(),ho=ve(!0);function Wi(l,p){return l&&Xi(l,p,Zr)}function ar(l,p){return l&&ho(l,p,Zr)}function ps(l,p){return Zt(p,function(P){return ha(l[P])})}function wa(l,p){for(var P=0,re=(p=ba(p,l)).length;null!=l&&P<re;)l=l[Ks(p[P++])];return P&&P==re?l:t}function Cd(l,p,P){var re=p(l);return Oi(l)?re:xn(re,P(l))}function Fo(l){return null==l?l===t?"[object Undefined]":"[object Null]":$s&&$s in ji(l)?function zc(l){var p=xi.call(l,$s),P=l[$s];try{l[$s]=t;var re=!0}catch{}var Le=Ts.call(l);return re&&(p?l[$s]=P:delete l[$s]),Le}(l):function Ud(l){return Ts.call(l)}(l)}function Zl(l,p){return l>p}function ff(l,p){return null!=l&&xi.call(l,p)}function hf(l,p){return null!=l&&p in ji(l)}function wc(l,p,P){for(var re=P?En:an,Le=l[0].length,ct=l.length,St=ct,kt=qt(ct),Yt=1/0,cn=[];St--;){var dn=l[St];St&&p&&(dn=Mn(dn,Lr(p))),Yt=Bt(dn.length,Yt),kt[St]=!P&&(p||Le>=120&&dn.length>=120)?new hs(St&&dn):t}dn=l[0];var mn=-1,wn=kt[0];e:for(;++mn<Le&&cn.length<Yt;){var Qn=dn[mn],si=p?p(Qn):Qn;if(Qn=P||0!==Qn?Qn:0,!(wn?Jo(wn,si):re(cn,si,P))){for(St=ct;--St;){var Li=kt[St];if(!(Li?Jo(Li,si):re(l[St],si,P)))continue e}wn&&wn.push(si),cn.push(Qn)}}return cn}function Ol(l,p,P){var re=null==(l=zu(l,p=ba(p,l)))?l:l[Ks(rs(p))];return null==re?t:je(re,l,P)}function xc(l){return Tr(l)&&Fo(l)==X}function Jl(l,p,P,re,Le){return l===p||(null==l||null==p||!Tr(l)&&!Tr(p)?l!=l&&p!=p:function Pu(l,p,P,re,Le,ct){var St=Oi(l),kt=Oi(p),Yt=St?$:cr(l),cn=kt?$:cr(p),dn=(Yt=Yt==X?x:Yt)==x,mn=(cn=cn==X?x:cn)==x,wn=Yt==cn;if(wn&&Ga(l)){if(!Ga(p))return!1;St=!0,dn=!1}if(wn&&!dn)return ct||(ct=new Xo),St||xl(l)?tl(l,p,P,re,Le,ct):function Tl(l,p,P,re,Le,ct,St){switch(P){case Wt:if(l.byteLength!=p.byteLength||l.byteOffset!=p.b
vendor: 29,771 bytes, line 3
3yteOffset)return!1;l=l.buffer,p=p.buffer;case Ct:return!(l.byteLength!=p.byteLength||!ct(new Lo(l),new Lo(p)));case Be:case Ye:case J:return fa(+l,+p);case pt:return l.name==p.name&&l.message==p.message;case pe:case Qe:return l==p+"";case me:var kt=Mo;case st:if(kt||(kt=Wo),l.size!=p.size&&!(1&re))return!1;var cn=St.get(l);if(cn)return cn==p;re|=2,St.set(l,p);var dn=tl(kt(l),kt(p),re,Le,ct,St);return St.delete(l),dn;case At:if(Za)return Za.call(l)==Za.call(p)}return!1}(l,p,Yt,P,re,Le,ct);if(!(1&P)){var Qn=dn&&xi.call(l,"__wrapped__"),si=mn&&xi.call(p,"__wrapped__");if(Qn||si){var Li=Qn?l.value():l,ii=si?p.value():p;return ct||(ct=new Xo),Le(Li,ii,P,re,ct)}}return!!wn&&(ct||(ct=new Xo),function lc(l,p,P,re,Le,ct){var St=1&P,kt=Vn(l),Yt=kt.length;if(Yt!=Vn(p).length&&!St)return!1;for(var mn=Yt;mn--;){var wn=kt[mn];if(!(St?wn in p:xi.call(p,wn)))return!1}var Qn=ct.get(l),si=ct.get(p);if(Qn&&si)return Qn==p&&si==l;var Li=!0;ct.set(l,p),ct.set(p,l);for(var ii=St;++mn<Yt;){var Bi=l[wn=kt[mn]],Ui=p[wn];if(re)var Cs=St?re(Ui,Bi,wn,p,l,ct):re(Bi,Ui,wn,l,p,ct);if(!(Cs===t?Bi===Ui||Le(Bi,Ui,P,re,ct):Cs)){Li=!1;break}ii||(ii="constructor"==wn)}if(Li&&!ii){var os=l.constructor,Xs=p.constructor;os!=Xs&&"constructor"in l&&"constructor"in p&&!("function"==typeof os&&os instanceof os&&"function"==typeof Xs&&Xs instanceof Xs)&&(Li=!1)}return ct.delete(l),ct.delete(p),Li}(l,p,P,re,Le,ct))}(l,p,P,re,Jl,Le))}function Fc(l,p,P,re){var Le=P.length,ct=Le,St=!re;if(null==l)return!ct;for(l=ji(l);Le--;){var kt=P[Le];if(St&&kt[2]?kt[1]!==l[kt[0]]:!(kt[0]in l))return!1}for(;++Le<ct;){var Yt=(kt=P[Le])[0],cn=l[Yt],dn=kt[1];if(St&&kt[2]){if(cn===t&&!(Yt in l))return!1}else{var mn=new Xo;if(re)var wn=re(cn,dn,Yt,l,p,mn);if(!(wn===t?Jl(dn,cn,3,re,mn):wn))return!1}}return!0}function bd(l){return!(!xr(l)||function $d(l){return!!Ha&&Ha in l}(l))&&(ha(l)?ks:wt).test(Ba(l))}function Nu(l){return"function"==typeof l?l:null==l?vs:"object"==typeof l?Oi(l)?xu(l[0],l[1]):wu(l):V_(l)}function yd(l){if(!nl(l))return He(l);var p=[];for(var P in ji(l))xi.call(l,P)&&"constructor"!=P&&p.push(P);return p}function Dd(l,p){return l<p}function Lu(l,p){var P=-1,re=Os(l)?qt(l.length):[];return js(l,function(Le,ct,St){re[++P]=p(Le,ct,St)}),re}function wu(l){var p=hr(l);return 1==p.length&&p[0][2]?cc(p[0][0],p[0][1]):function(P){return P===l||Fc(P,l,p)}}function xu(l,p){return kd(l)&&Ku(p)?cc(Ks(l),p):function(P){var re=uu(P,l);return re===t&&re===p?A_(P,l):Jl(p,re,3)}}function Bc(l,p,P,re,Le){l!==p&&Xi(p,function(ct,St){if(Le||(Le=new Xo),xr(ct))!function Fu(l,p,P,re,Le,ct,St){var kt=Gd(l,P),Yt=Gd(p,P),cn=St.get(Yt);if(cn)pl(l,P,cn);else{var dn=ct?ct(kt,Yt,P+"",l,p,St):t,mn=dn===t;if(mn){var wn=Oi(Yt),Qn=!wn&&Ga(Yt),si=!wn&&!Qn&&xl(Yt);dn=Yt,wn||Qn||si?Oi(kt)?dn=kt:yr(kt)?dn=ko(kt):Qn?(mn=!1,dn=Kc(Yt,!0)):si?(mn=!1,dn=Vc(Yt,!0)):dn=[]:Wa(Yt)||ol(Yt)?(dn=kt,ol(kt)?dn=Eh(kt):(!xr(kt)||ha(kt))&&(dn=Wu(Yt))):mn=!1}mn&&(St.set(Yt,dn),Le(dn,Yt,re,ct,St),St.delete(Yt)),pl(l,P,dn)}}(l,p,St,P,Bc,re,Le);else{var kt=re?re(Gd(l,St),ct,St+"",l,p,Le):t;kt===t&&(kt=ct),pl(l,St,kt)}},Rs)}function Ml(l,p){var P=l.length;if(P)return _a(p+=p<0?P:0,P)?l[p]:t}function vl(l,p,P){p=p.length?Mn(p,function(ct){return Oi(ct)?function(St){return wa(St,1===ct.length?ct[0]:ct)}:ct}):[vs];var re=-1;return p=Mn(p,Lr(Wn())),function pa(zt,rn){var qt=zt.length;for(zt.sort(rn);qt--;)zt[qt]=zt[qt].value;return zt}(Lu(l,function(ct,St,kt){return{criteria:Mn(p,function(cn){return cn(ct)}),index:++re,value:ct}}),function(ct,St){return function Nd(l,p,P){for(var re=-1,Le=l.criteria,ct=p.criteria,St=Le.length,kt=P.length;++re<St;){var Yt=el(Le[re],ct[re]);if(Yt)return re>=kt?Yt:Yt*("desc"==P[re]?-1:1)}return l.index-p.index}(ct,St,P)})}function $c(l,p,P){for(var re=-1,Le=p.length,ct={};++re<Le;){var St=p[re],kt=wa(l,St);P(kt,St)&&tc(ct,ba(St,l),kt)}return ct}function ec(l,p,P,re){var Le=re?jo:_r,ct=-1,St=p.length,kt=l;for(l===p&&(p=ko(p)),P&&(kt=Mn(l,Lr(P)));++ct<St;)for(var Yt=0,cn=p[ct],dn=P?P(cn):cn;(Yt=Le(kt,dn,Yt,re))>-1;)kt!==l&&us.call(kt,Yt,1),us.call(l,Yt,1);return l}function Uc(l,p){for(var P=l?p.length:0,re=P-1;P--;){var Le=p[P];if(P==re||Le!==ct){var ct=Le;_a(Le)?us.call(l,Le,1):Dl(l,Le)}}return l}function Cl(l,p){return l+G($i()*(p-l+1))}function ms(l,p){var P="";if(!l||p<1||p>et)return P;do{p%2&&(P+=l),(p=G(p/2))&&(l+=l)}while(p);return P}function yi(l,p){return Fa(Hc(l,p,vs),l+"")}function mf(l){return Ja(kl(l))}function Td(l,p){var P=kl(l);return Yc(P,Gs(p,0,P.length))}function tc(l,p,P,re){if(!xr(l))return l;for(var Le=-1,ct=(p=ba(p,l)).length,St=ct-1,kt=l;null!=kt&&++Le<ct;){var Yt=Ks(p[Le]),cn=P;if("__proto__"===Yt||"constructor"===Yt||"prototype"===Yt)return l;if(Le!=St){var dn=kt[Yt];(cn=re?re(dn,Yt,kt):t)===t&&(cn=xr(dn)?dn:_a(p[Le+1])?[]:{})}aa(kt,Yt,cn),kt=kt[Yt]}return l}var ku=na?function(l,p){return na.set(l,p),l}:vs,Bu=ta?function(l,p){return ta(l,"toString",{configurable:!0,enumerable:!1,value:j_(p),writable:!0})}:vs;function $u(l){return Yc(kl(l))}function Is(l,p,P){var re=-1,Le=l.length;p<0&&(p=-p>Le?0:Le+p),(P=P>Le?Le:P)<0&&(P+=Le),Le=p>P?0:P-p>>>0,p>>>=0;for(var ct=qt(Le);++re<Le;)ct[re]=l[re+p];return ct}function Uu(l,p){var P;return js(l,function(re,Le,ct){return!(P=p(re,Le,ct))}),!!P}function bl(l,p,P){var re=0,Le=null==l?re:l.length;if("number"==typeof p&&p==p&&Le<=2147483647){for(;re<Le;){var ct=re+Le>>>1,St=l[ct];null!==St&&!Ms(St)&&(P?St<=p:St<p)?re=ct+1:Le=ct}return Le}return nc(l,p,vs,P)}function nc(l,p,P,re){var Le=0,ct=null==l?0:l.length;if(0===ct)return 0;for(var St=(p=P(p))!=p,kt=null===p,Yt=Ms(p),cn=p===t;Le<ct;){var dn=G((Le+ct)/2),mn=P(l[dn]),wn=mn!==t,Qn=null===mn,si=mn==mn,Li=Ms(mn);if(St)var ii=re||si;else ii=cn?si&&(re||wn):kt?si&&wn&&(re||!Qn):Yt?si&&wn&&!Qn&&(re||!Li):!Qn&&!Li&&(re?mn<=p:mn<p);ii?Le=dn+1:ct=dn}return Bt(ct,z)}function yl(l,p){for(var P=-1,re=l.length,Le=0,ct=[];++P<re;){var St=l[P],kt=p?p(St):St;if(!P||!fa(kt,Yt)){var Yt=kt;ct[Le++]=0===St?0:St}}return ct}function Pd(l){return"number"==typeof l?l:Ms(l)?NaN:+l}function po(l){if("string"==typeof l)return l;if(Oi(l))return Mn(l,po)+"";if(Ms(l))return _l?_l.call(l):"";var p=l+"";return"0"==p&&1/l==-Xe?"-0":p}function Yr(l,p,P){var re=-1,Le=an,ct=l.length,St=!0,kt=[],Yt=kt;if(P)St=!1,Le=En;else if(ct>=200){var cn=p?null:bo(l);if(cn)return Wo(cn);St=!1,Le=Jo,Yt=new hs}else Yt=p?[]:kt;e:for(;++re<ct;){var dn=l[re],mn=p?p(dn):dn;if(dn=P||0!==dn?dn:0,St&&mn==mn){for(var wn=Yt.length;wn--;)if(Yt[wn]===mn)continue e;p&&Yt.push(mn),kt.push(dn)}else Le(Yt,mn,P)||(Yt!==kt&&Yt.push(mn),kt.push(dn))}return kt}function Dl(l,p){var P=-1,re=(p=ba(p,l)).length;if(!re)return!0;for(;++P<re;){var Le=Ks(p[P]);if("__proto__"===Le&&!xi.call(l,"__proto__")||("constructor"===Le||"prototype"===Le)&&P<re-1)return!1}var ct=zu(l,p);return null==ct||delete ct[Ks(rs(p))]}function ic(l,p,P,re){return tc(l,p,P(wa(l,p)),re)}function rc(l,p,P,re){for(var Le=l.length,ct=re?Le:-1;(re?ct--:++ct<Le)&&p(l[ct],ct,l););return P?Is(l,re?0:ct,re?ct+1:Le):Is(l,re?ct+1:0,re?Le:ct)}function Gc(l,p){var P=l;return P instanceof Ti&&(P=P.value()),ci(p,function(re,Le){return Le.func.apply(Le.thisArg,xn([re],Le.args))},P)}function jc(l,p,P){var re=l.length;if(re<2)return re?Yr(l[0]):[];for(var Le=-1,ct=qt(re);++Le<re;)for(var St=l[Le],kt=-1;++kt<re;)kt!=Le&&(ct[Le]=La(ct[Le]||St,l[kt],p,P));return Yr(vn(ct,1),p,P)}function Id(l,p,P){for(var re=-1,Le=l.length,ct=p.length,St={};++re<Le;)P(St,l[re],re<ct?p[re]:t);return St}function oc(l){return yr(l)?l:[]}function Wc(l){return"function"==typeof l?l:vs}function ba(l,p){return Oi(l)?l:kd(l,p)?[l]:Rl(dr(l))}var Gu=yi;function mi(l,p,P){var re=l.length;return P=P===t?re:P,!p&&P>=re?l:Is(l,p,P)}var sc=Hr||function(l){return Ri.clearTimeout(l)};function Kc(l,p){if(p)return l.slice();var P=l.length,re=Ea?Ea(P):new l.constructor(P);return l.copy(re),re}function Al(l){var p=new l.constructor(l.byteLength);return new Lo(p).set(new Lo(l)),p}function Vc(l,p){var P=p?Al(l.buffer):l.buffer;return new l.constructor(P,l.byteOffset,l.length)}function el(l,p){if(l!==p){var P=l!==t,re=null===l,Le=l==l,ct=Ms(l),St=p!==t,kt=null===p,Yt=p==p,cn=Ms(p);if(!kt&&!cn&&!ct&&l>p||ct&&St&&Yt&&!kt&&!cn||re&&St&&Yt||!P&&Yt||!Le)return 1;if(!re&&!ct&&!cn&&l<p||cn&&P&&Le&&!re&&!ct||kt&&P&&Le||!St&&Le||!Yt)return-1}return 0}function Ld(l,p,P,re){for(var Le=-1,ct=l.length,St=P.length,kt=-1,Yt=p.length,cn=ut(ct-St,0),dn=qt(Yt+cn),mn=!re;++kt<Yt;)dn[kt]=p[kt];for(;++Le<St;)(mn||Le<ct)&&(dn[P[Le]]=l[Le]);for(;cn--;)dn[kt++]=l[Le++];return dn}function wd(l,p,P,re){for(var Le=-1,ct=l.length,St=-1,kt=P.length,Yt=-1,cn=p.length,dn=ut(ct-kt,0),mn=qt(dn+cn),wn=!re;++Le<dn;)mn[Le]=l[Le];for(var Qn=Le;++Yt<cn;)mn[Qn+Yt]=p[Yt];for(;++St<kt;)(wn||Le<ct)&&(mn[Qn+P[St]]=l[Le++]);return mn}function ko(l,p){var P=-1,re=l.length;for(p||(p=qt(re));++P<re;)p[P]=l[P];return p}function gs(l,p,P,re){var Le=!P;P||(P={});for(var ct=-1,St=p.length;++ct<St;){var kt=p[ct],Yt=re?re(P[kt],l[kt],kt,P,l):t;Yt===t&&(Yt=l[kt]),Le?ts(P,kt,Yt):aa(P,kt,Yt)}return P}function m(l,p){return function(P,re){var Le=Oi(P)?ge:vd,ct=p?p():{};return Le(P,l,Wn(re,2),ct)}}function S(l){return yi(function(p,P){var re=-1,Le=P.length,ct=Le>1?P[Le-1]:t,St=Le>2?P[2]:t;for(ct=l.length>3&&"function"==typeof ct?(Le--,ct):t,St&&is(P[0],P[1],St)&&(ct=Le<3?t:ct,Le=1),p=ji(p);++re<Le;){var kt=P[re];kt&&l(p,kt,re,ct)}return p})}function B(l,p){return function(P,re){if(null==P)return P;if(!Os(P))return l(P,re);for(var Le=P.length,ct=p?Le:-1,St=ji(P);(p?ct--:++ct<Le)&&!1!==re(St[ct],ct,St););return P}}function ve(l){return function(p,P,re){for(var Le=-1,ct=ji(p),St=re(p),kt=St.length;kt--;){var Yt=St[l?kt:++Le];if(!1===P(ct[Yt],Yt,ct))break}return p}}function Ot(l){return function(p){var P=wr(p=dr(p))?ao(p):t,re=P?P[0]:p.charAt(0),Le=P?mi(P,1).join(""):p.slice(1);return re[l]()+Le}}function Ft(l){return function(p){return ci($_(P_(p).replace(Tn,"")),l,"")}}function Kt(l){return function(){var p=arguments;switch(p.length){case 0:return new l;case 1:return new l(p[0]);case 2:return new l(p[0],p[1]);case 3:return new l(p[0],p[1],p[2]);case 4:return new l(p[0],p[1],p[2],p[3]);case 5:return new l(p[0],p[1],p[2],p[3],p[4]);case 6:return new l(p[0],p[1],p[2],p[3],p[4],p[5]);case 7:return new l(p[0],p[1],p[2],p[3],p[4],p[5],p[6])}var P=Us(l.prototype),re=l.apply(P,p);return xr(re)?re:P}}function un(l){return function(p,P,re){var Le=ji(p);if(!Os(p)){var ct=Wn(P,3);p=Zr(p),P=function(kt){return ct(Le[kt],kt,Le)}}var St=l(p,P,re);return St>-1?Le[ct?p[St]:St]:t}}function Un(l){return Ln(function(p){var P=p.length,re=P,Le=_o.prototype.thru;for(l&&p.reverse();re--;){var ct=p[re];if("function"!=typeof ct)throw new Ro(r);if(Le&&!St&&"wrapper"==gr(ct))var St=new _o([],!0)}for(re=St?re:P;++re<P;){var kt=gr(ct=p[re]),Yt="wrapper"==kt?Ni(ct):t;St=Yt&&Bd(Yt[0])&&424==Yt[1]&&!Yt[4].length&&1==Yt[9]?St[gr(Yt[0])].apply(St,Yt[3]):1==ct.length&&Bd(ct)?St[kt]():St.thru(ct)}return function(){var cn=arguments,dn=cn[0];if(St&&1==cn.length&&Oi(dn))return St.plant(dn).value();for(var mn=0,wn=P?p[mn].apply(this,cn):dn;++mn<P;)wn=p[mn].call(this,wn);return wn}})}function Fn(l,p,P,re,Le,ct,St,kt,Yt,cn){var dn=p&Z,mn=1&p,wn=2&p,Qn=24&p,si=512&p,Li=wn?t:Kt(l);return function ii(){for(var Bi=arguments.length,Ui=qt(Bi),Cs=Bi;Cs--;)Ui[Cs]=arguments[Cs];if(Qn)var os=Qr(ii),Xs=function Q(zt,rn){for(var qt=zt.length,Nn=0;qt--;)zt[qt]===rn&&++Nn;return Nn}(Ui,os);if(re&&(Ui=Ld(Ui,re,Le,Qn)),ct&&(Ui=wd(Ui,ct,St,Qn)),Bi-=Xs,Qn&&Bi<cn){var jr=vo(Ui,os);return Es(l,p,Fn,ii.placeholder,P,Ui,jr,kt,Yt,cn-Bi)}var Hs=mn?P:this,Va=wn?Hs[l]:l;return Bi=Ui.length,kt?Ui=function Mf(l,p){for(var P=l.length,re=Bt(p.length,P),Le=ko(l);re--;){var ct=p[re];l[re]=_a(ct,P)?Le[ct]:t}return l}(Ui,kt):si&&Bi>1&&Ui.reverse(),dn&&Yt<Bi&&(Ui.length=Yt),this&&this!==Ri&&this instanceof ii&&(Va=Li||Kt(Va)),Va.apply(Hs,Ui)}}function Hn(l,p){return function(P,re){return function Su(l,p,P,re){return Wi(l,function(Le,ct,St){p(re,P(Le),ct,St)}),re}(P,l,p(re),{})}}function qn(l,p){return function(P,re){var Le;if(P===t&&re===t)return p;if(P!==t&&(Le=P),re!==t){if(Le===t)return re;"string"==typeof P||"string"==typeof re?(P=po(P),re=po(re)):(P=Pd(P),re=Pd(re)),Le=l(P,re)}return Le}}function lr(l){return Ln(function(p){return p=Mn(p,Lr(Wn())),yi(function(P){var re=this;return l(p,function(Le){return je(Le,re,P)})})})}function Cr(l,p){var P=(p=p===t?" ":po(p)).length;if(P<2)return P?ms(p,l):p;var re=ms(p,co(l/ds(p)));return wr(p)?mi(ao(re),0,l).join(""):re.slice(0,l)}function mo(l){return function(p,P,re){return re&&"number"!=typeof re&&is(p,P,re)&&(P=re=t),p=Da(p),P===t?(P=p,p=0):P=Da(P),function qa(l,p,P,re){for(var Le=-1,ct=ut(co((p-l)/(P||1)),0),St=qt(ct);ct--;)St[re?ct:++Le]=l,l+=P;return St}(p,P,re=re===t?p<P?1:-1:Da(re),l)}}function br(l){return function(p,P){return"string"==typeof p&&"string"==typeof P||(p=Vs(p),P=Vs(P)),l(p,P)}}function Es(l,p,P,re,Le,ct,St,kt,Yt,cn){var dn=8&p;p|=dn?I:64,4&(p&=~(dn?64:I))||(p&=-4);var Li=[l,p,Le,dn?ct:t,dn?St:t,dn?t:ct,dn?t:St,kt,Yt,cn],ii=P.apply(t,Li);return Bd(l)&&dc(ii,Li),ii.placeholder=re,ka(ii,l,p)}function Bo(l){var p=vr[l];return function(P,re){if(P=Vs(P),(re=null==re?0:Bt(Di(re),292))&&te(P)){var Le=(dr(P)+"e").split("e");return+((Le=(dr(p(Le[0]+"e"+(+Le[1]+re)))+"e").split("e"))[0]+"e"+(+Le[1]-re))}return p(P)}}var bo=Vo&&1/Wo(new Vo([,-0]))[1]==Xe?function(l){return new Vo(l)}:kh;function yo(l){return function(p){var P=cr(p);return P==me?Mo(p):P==st?function xs(zt){var rn=-1,qt=Array(zt.size);return zt.forEach(function(Nn){qt[++rn]=[Nn,Nn]}),qt}(p):function Sa(zt,rn){return Mn(rn,function(qt){return[qt,zt[qt]]})}(p,l(p))}}function io(l,p,P,re,Le,ct,St,kt){var Yt=2&p;if(!Yt&&"function"!=typeof l)throw new Ro(r);var cn=re?re.length:0;if(cn||(p&=-97,re=Le=t),St=St===t?St:ut(Di(St),0),kt=kt===t?kt:Di(kt),cn-=Le?Le.length:0,64&p){var dn=re,mn=Le;re=Le=t}var wn=Yt?t:Ni(l),Qn=[l,p,P,re,Le,dn,mn,ct,St,kt];if(wn&&function yp(l,p){var P=l[1],re=p[1],Le=P|re;if(!(Le<131)&&!(re==Z&&8==P||re==Z&&256==P&&l[7].length<=p[8]||384==re&&p[7].length<=p[8]&&8==P))return l;1&re&&(l[2]=p[2],Le|=1&P?0:4);var kt=p[3];if(kt){var Yt=l[3];l[3]=Yt?Ld(Yt,kt,p[4]):kt,l[4]=Yt?vo(l[3],D):p[4]}(kt=p[5])&&(l[5]=(Yt=l[5])?wd(Yt,kt,p[6]):kt,l[6]=Yt?vo(l[5],D):p[6]),(kt=p[7])&&(l[7]=kt),re&Z&&(l[8]=null==l[8]?p[8]:Bt(l[8],p[8])),null==l[9]&&(l[9]=p[9]),l[0]=p[0],l[1]=Le}(Qn,wn),l=Qn[0],p=Qn[1],P=Qn[2],re=Qn[3],Le=Qn[4],!(kt=Qn[9]=Qn[9]===t?Yt?0:l.length:ut(Qn[9]-cn,0))&&24&p&&(p&=-25),p&&1!=p)si=8==p||16==p?function fn(l,p,P){var re=Kt(l);return function Le(){for(var ct=arguments.length,St=qt(ct),kt=ct,Yt=Qr(Le);kt--;)St[kt]=arguments[kt];var cn=ct<3&&St[0]!==Yt&&St[ct-1]!==Yt?[]:vo(St,Yt);return(ct-=cn.length)<P?Es(l,p,Fn,Le.placeholder,t,St,cn,t,t,P-ct):je(this&&this!==Ri&&this instanceof Le?re:l,this,St)}}(l,p,kt):p!=I&&33!=p||Le.length?Fn.apply(t,Qn):function Gr(l,p,P,re){var Le=1&p,ct=Kt(l);return function St(){for(var kt=-1,Yt=arguments.length,cn=-1,dn=re.length,mn=qt(dn+Yt),wn=this&&this!==Ri&&this instanceof St?ct:l;++cn<dn;)mn[cn]=re[cn];for(;Yt--;)mn[cn++]=arguments[++kt];return je(wn,Le?P:this,mn)}}(l,p,P,re);else var si=function lt(l,p,P){var re=1&p,Le=Kt(l);return function ct(){return(this&&this!==Ri&&this instanceof ct?Le:l).apply(re?P:this,arguments)}}(l,p,P);return ka((wn?ku:dc)(si,Qn),l,p)}function ca(l,p,P,re){return l===t||fa(l,No[P])&&!xi.call(re,P)?p:l}function Sl(l,p,P,re,Le,ct){return xr(l)&&xr(p)&&(ct.set(p,l),Bc(l,p,t,Sl,ct),ct.delete(p)),l}function da(l){return Wa(l)?t:l}function tl(l,p,P,re,Le,ct){var St=1&P,kt=l.length,Yt=p.length;if(kt!=Yt&&!(St&&Yt>kt))return!1;var cn=ct.get(l),dn=ct.get(p);if(cn&&dn)return cn==p&&dn==l;var mn=-1,wn=!0,Qn=2&P?new hs:t;for(ct.set(l,p),ct.set(p,l);++mn<kt;){var si=l[mn],Li=p[mn];if(re)var ii=St?re(Li,si,mn,p,l,ct):re(si,Li,mn,l,p,ct);if(ii!==t){if(ii)continue;wn=!1;break}if(Qn){if(!Gi(p,function(Bi,Ui){if(!Jo(Qn,Ui)&&(si===Bi||Le(si,Bi,P,re,ct)))return Qn.push(Ui)})){wn=!1;break}}else if(si!==Li&&!Le(si,Li,P,re,ct)){wn=!1;break}}return ct.delete(l),ct.delete(p),wn}function Ln(l){return Fa(Hc(l,t,Kd),l+"")}function Vn(l){return Cd(l,Zr,Sr)}function ei(l){return Cd(l,Rs,Yo)}var Ni=na?function(l){return na.get(l)}:kh;function gr(l){for(var p=l.name+"",P=zo[p],re=xi.call(zo,p)?P.length:0;re--;){var Le=P[re],ct=Le.func;if(null==ct||ct==l)return Le.name}return p}function Qr(l){return(xi.call(rt,"placeholder")?rt:l).placeholder}function Wn(){var l=rt.iteratee||W_;return l=l===W_?Nu:l,arguments.length?l(arguments[0],arguments[1]):l}function ns(l,p){var P=l.__data__;return function Ef(l){var p=typeof l;return"string"==p||"number"==p||"symbol"==p||"boolean"==p?"__proto__"!==l:null===l}(p)?P["string"==typeof p?"string":"hash"]:P.map}function hr(l){for(var p=Zr(l),P=p.length;P--;){var re=p[P],Le=l[re];p[P]=[re,Le,Ku(Le)]}return p}function ua(l,p){var P=function fi(zt,rn){return null==zt?t:zt[rn]}(l,p);return bd(P)?P:t}var Sr=q?function(l){return null==l?[]:(l=ji(l),Zt(q(l),function(p){return Bs.call(l,p)}))}:$h,Yo=q?function(l){for(var p=[];l;)xn(p,Sr(l)),l=Oa(l);return p}:$h,cr=Fo;function ju(l,p,P){for(var re=-1,Le=(p=ba(p,l)).length,ct=!1;++re<Le;){var St=Ks(p[re]);if(!(ct=null!=l&&P(l,St)))break;l=l[St]}return ct||++re!=Le?ct:!!(Le=null==l?0:l.length)&&ou(Le)&&_a(St,Le)&&(Oi(l)||ol(l))}function Wu(l){return"function"!=typeof l.constructor||nl(l)?{}:Us(Oa(l))}function gf(l){return Oi(l)||ol(l)||!!(Jn&&l&&l[Jn])}function _a(l,p){var P=typeof l;return!!(p=p??et)&&("number"==P||"symbol"!=P&&Tt.test(l))&&l>-1&&l%1==0&&l<p}function is(l,p,P){if(!xr(P))return!1;var re=typeof p;return!!("number"==re?Os(P)&&_a(p,P.length):"string"==re&&p in P)&&fa(P[p],l)}function kd(l,p){if(Oi(l))return!1;var P=typeof l;return!("number"!=P&&"symbol"!=P&&"boolean"!=P&&null!=l&&!Ms(l))||hn.test(l)||!Gt.test(l)||null!=p&&l in ji(p)}function Bd(l){var p=gr(l),P=rt[p];if("function"!=typeof P||!(p in Ti.prototype))return!1;if(l===P)return!0;var re=Ni(P);return!!re&&l===re[0]}(uo&&cr(new uo(new ArrayBuffer(1)))!=Wt||Ur&&cr(new Ur)!=me||no&&cr(no.resolve())!=ce||Vo&&cr(new Vo)!=st||Co&&cr(new Co)!=ze)&&(cr=function(l){var p=Fo(l),P=p==x?l.constructor:t,re=P?Ba(P):"";if(re)switch(re){case Qa:return Wt;case ia:return me;case yc:return ce;case Od:return st;case ul:return ze}return p});var Of=As?ha:z_;function nl(l){var p=l&&l.constructor;return l===("function"==typeof p&&p.prototype||No)}function Ku(l){return l==l&&!xr(l)}function cc(l,p){return function(P){return null!=P&&P[l]===p&&(p!==t||l in ji(P))}}function Hc(l,p,P){return p=ut(p===t?l.length-1:p,0),function(){for(var re=arguments,Le=-1,ct=ut(re.length-p,0),St=qt(ct);++Le<ct;)St[Le]=re[p+Le];Le=-1;for(var kt=qt(p+1);++Le<p;)kt[Le]=re[Le];return kt[p]=P(St),je(l,this,kt)}}function zu(l,p){return p.length<2?l:wa(l,Is(p,0,-1))}function Gd(l,p){if(("constructor"!==p||"function"!=typeof l[p])&&"__proto__"!=p)return l[p]}var dc=jd(ku),uc=to||function(l,p){return Ri.setTimeout(l,p)},Fa=jd(Bu);function ka(l,p,P){var re=p+"";return Fa(l,function Fd(l,p){var P=p.length;if(!P)return l;var re=P-1;return p[re]=(P>1?"& ":"")+p[re],p=p.join(P>2?", ":" "),l.replace(Ai,"{\n/* [wrapped with "+p+"] */\n")}(re,function Xu(l,p){return Ie(ae,function(P){var re="_."+P[0];p&P[1]&&!an(l,re)&&l.push(re)}),l.sort()}(function Il(l){var p=l.match(Hi);return p?p[1].split(tr):[]}(re),P)))}function jd(l){var p=0,P=0;return function(){var re=tn(),Le=16-(re-P);if(P=re,Le>0){if(++p>=800)return arguments[0]}else p=0;return l.apply(t,arguments)}}function Yc(l,p){var P=-1,re=l.length,Le=re-1;for(p=p===t?re:p;++P<p;){var ct=Cl(P,Le),St=l[ct];l[ct]=l[P],l[P]=St}return l.length=p,l}var Rl=function Xc(l){var p=eu(l,function(re){return 500===P.size&&P.clear(),re}),P=p.cache;return p}(function(l){var p=[];return 46===l.charCodeAt(0)&&p.push(""),l.replace(Cn,function(P,re,Le,ct){p.push(Le?ct.replace(xt,"$1"):re||P)}),p});function Ks(l){if("string"==typeof l||Ms(l))return l;var p=l+"";return"0"==p&&1/l==-Xe?"-0":p}function Ba(l){if(null!=l){try{return Ss.call(l)}catch{}try{return l+""}catch{}}return""}function Hu(l){if(l instanceof Ti)return l.clone();var p=new _o(l.__wrapped__,l.__chain__);return p.__actions__=ko(l.__actions__),p.__index__=l.__index__,p.__values__=l.__values__,p}var yf=yi(function(l,p){return yr(l)?La(l,vn(p,1,yr,!0)):[]}),Df=yi(function(l,p){var P=rs(p);return yr(P)&&(P=t),yr(l)?La(l,vn(p,1,yr,!0),Wn(P,2)):[]}),Yu=yi(function(l,p){var P=rs(p);return yr(P)&&(P=t),yr(l)?La(l,vn(p,1,yr,!0),t,P):[]});function Zu(l,p,P){var re=null==l?0:l.length;if(!re)return-1;var Le=null==P?0:Di(P);return Le<0&&(Le=ut(re+Le,0)),kr(l,Wn(p,3),Le)}function Wd(l,p,P){var re=null==l?0:l.length;if(!re)return-1;var Le=re-1;return P!==t&&(Le=Di(P),Le=P<0?ut(re+Le,0):Bt(Le,re-1)),kr(l,Wn(p,3),Le,!0)}function Kd(l){return null!=l&&l.length?vn(l,1):[]}function Zc(l){return l&&l.length?l[0]:t}var Nl=yi(function(l){var p=Mn(l,oc);return p.length&&p[0]===l[0]?wc(p):[]}),e_=yi(function(l){var p=rs(l),P=Mn(l,oc);return p===rs(P)?p=t:P.pop(),P.length&&P[0]===l[0]?wc(P,Wn(p,2)):[]}),t_=yi(function(l){var p=rs(l),P=Mn(l,oc);return(p="function"==typeof p?p:t)&&P.pop(),P.length&&P[0]===l[0]?wc(P,t,p):[]});function rs(l){var p=null==l?0:l.length;return p?l[p-1]:t}var n_=yi(fc);function fc(l,p){return l&&l.length&&p&&p.length?ec(l,p):l}var hc=Ln(function(l,p){var P=null==l?0:l.length,re=Yl(l,p);return Uc(l,Mn(p,function(Le){return _a(Le,P)?+Le:Le}).sort(el)),re});function wl(l){return null==l?l:$r.call(l)}var Xd=yi(function(l){return Yr(vn(l,1,yr,!0))}),Jc=yi(function(l){var p=rs(l);return yr(p)&&(p=t),Yr(vn(l,1,yr,!0),Wn(p,2))}),i_=yi(function(l){var p=rs(l);return p="function"==typeof p?p:t,Yr(vn(l,1,yr,!0),t,p)});function il(l){if(!l||!l.length)return[];var p=0;return l=Zt(l,function(P){if(yr(P))return p=ut(P.length,p),!0}),cs(p,function(P){return Mn(l,Po(P))})}function Hd(l,p){if(!l||!l.length)return[];var P=il(l);return null==p?P:Mn(P,function(re){return je(p,t,re)})}var o_=yi(function(l,p){return yr(l)?La(l,p):[]}),rl=yi(function(l){return jc(Zt(l,yr))}),Yd=yi(function(l){var p=rs(l);return yr(p)&&(p=t),jc(Zt(l,yr),Wn(p,2))}),Uf=yi(function(l){var p=rs(l);return p="function"==typeof p?p:t,jc(Zt(l,yr),t,p)}),Gf=yi(il),jf=yi(function(l){var p=l.length,P=p>1?l[p-1]:t;return P="function"==typeof P?(l.pop(),P):t,Hd(l,P)});function l_(l){var p=rt(l);return p.__chain__=!0,p}function $a(l,p){return p(l)}var Kf=Ln(function(l){var p=l.length,P=p?l[0]:0,re=this.__wrapped__,Le=function(ct){return Yl(ct,l)};return!(p>1||this.__actions__.length)&&re instanceof Ti&&_a(P)?((re=re.slice(P,+P+(p?1:0))).__actions__.push({func:$a,args:[Le],thisArg:t}),new _o(re,this.__chain__).thru(function(ct){return p&&!ct.length&&ct.push(t),ct})):this.thru(Le)}),__=m(function(l,p,P){xi.call(l,P)?++l[P]:ts(l,P,1)}),Hf=un(Zu),Yf=un(Wd);function f_(l,p){return(Oi(l)?Ie:js)(l,Wn(p,3))}function td(l,p){return(Oi(l)?gt:W)(l,Wn(p,3))}var qf=m(function(l,p,P){xi.call(l,P)?l[P].push(p):ts(l,P,[p])}),p_=yi(function(l,p,P){var re=-1,Le="function"==typeof p,ct=Os(l)?qt(l.length):[];return js(l,function(St){ct[++re]=Le?je(p,St,P):Ol(St,p,P)}),ct}),eh=m(function(l,p,P){ts(l,P,p)});function Ua(l,p){return(Oi(l)?Mn:Lu)(l,Wn(p,3))}var Lp=m(function(l,p,P){l[P?0:1].push(p)},function(){return[[],[]]}),E_=yi(function(l,p){if(null==l)return[];var P=p.length;return P>1&&is(l,p[0],p[1])?p=[]:P>2&&is(p[0],p[1],p[2])&&(p=[p[0]]),vl(l,vn(p,1),[])}),gc=Pa||function(){return Ri.Date.now()};function Jd(l,p,P){return p=P?t:p,io(l,Z,t,t,t,t,p=l&&null==p?l.length:p)}function O_(l,p){var P;if("function"!=typeof p)throw new Ro(r);return l=Di(l),function(){return--l>0&&(P=p.apply(this,arguments)),l<=1&&(p=t),P}}var M_=yi(function(l,p,P){var re=1;if(P.length){var Le=vo(P,Qr(M_));re|=I}return io(l,re,p,P,Le)}),rh=yi(function(l,p,P){var re=3;if(P.length){var Le=vo(P,Qr(rh));re|=I}return io(p,re,l,P,Le)});function sh(l,p,P){var re,Le,ct,St,kt,Yt,cn=0,dn=!1,mn=!1,wn=!0;if("function"!=typeof l)throw new Ro(r);function Qn(jr){var Hs=re,Va=Le;return re=Le=t,cn=jr,St=l.apply(Va,Hs)}function ii(jr){var Hs=jr-Yt;return Yt===t||Hs>=p||Hs<0||mn&&jr-cn>=ct}function Bi(){var jr=gc();if(ii(jr))return Ui(jr);kt=uc(Bi,function Li(jr){var ll=p-(jr-Yt);return mn?Bt(ll,ct-(jr-cn)):ll}(jr))}function Ui(jr){return kt=t,wn&&re?Qn(jr):(re=Le=t,St)}function Xs(){var jr=gc(),Hs=ii(jr);if(re=arguments,Le=this,Yt=jr,Hs){if(kt===t)return function si(jr){return cn=jr,kt=uc(Bi,p),dn?Qn(jr):St}(Yt);if(mn)return sc(kt),kt=uc(Bi,p),Qn(Yt)}return kt===t&&(kt=uc(Bi,p)),St}return p=Vs(p)||0,xr(P)&&(dn=!!P.leading,ct=(mn="maxWait"in P)?ut(Vs(P.maxWait)||0,p):ct,wn="trailing"in P?!!P.trailing:wn),Xs.cancel=function Cs(){kt!==t&&sc(kt),cn=0,re=Yt=Le=kt=t},Xs.flush=function os(){return kt===t?St:Ui(gc())},Xs}var qd=yi(function(l,p){return gl(l,1,p)}),ah=yi(function(l,p,P){return gl(l,Vs(p)||0,P)});function eu(l,p){if("function"!=typeof l||null!=p&&"function"!=typeof p)throw new Ro(r);var P=function(){var re=arguments,Le=p?p.apply(this,re):re[0],ct=P.cache;if(ct.has(Le))return ct.get(Le);var St=l.apply(this,re);return P.cache=ct.set(Le,St)||ct,St};return P.cache=new(eu.Cache||Ps),P}function ya(l){if("function"!=typeof l)throw new Ro(r);return function(){var p=arguments;switch(p.length){case 0:return!l.call(this);case 1:return!l.call(this,p[0]);case 2:return!l.call(this,p[0],p[1]);case 3:return!l.call(this,p[0],p[1],p[2])}return!l.apply(this,p)}}eu.Cache=Ps;var C_=Gu(function(l,p){var P=(p=1==p.length&&Oi(p[0])?Mn(p[0],Lr(Wn())):Mn(vn(p,1),Lr(Wn()))).length;return yi(function(re){for(var Le=-1,ct=Bt(re.length,P);++Le<ct;)re[Le]=p[Le].call(this,re[Le]);return je(l,this,re)})}),rd=yi(function(l,p){var P=vo(p,Qr(rd));return io(l,I,t,p,P)}),lh=yi(function(l,p){var P=vo(p,Qr(lh));return io(l,64,t,p,P)}),Ec=Ln(function(l,p){return io(l,256,t,t,t,p)});function fa(l,p){return l===p||l!=l&&p!=p}var jp=br(Zl),Wp=br(function(l,p){return l>=p}),ol=xc(function(){return arguments}())?xc:function(l){return Tr(l)&&xi.call(l,"callee")&&!Bs.call(l,"callee")},Oi=qt.isArray,tE=An?Lr(An):function Tu(l){return Tr(l)&&Fo(l)==Ct};function Os(l){return null!=l&&ou(l.length)&&!ha(l)}function yr(l){return Tr(l)&&Os(l)}var Ga=V||z_,Vp=so?Lr(so):function pf(l){return Tr(l)&&Fo(l)==Ye};function b_(l){if(!Tr(l))return!1;var p=Fo(l);return p==pt||"[object DOMException]"==p||"string"==typeof l.message&&"string"==typeof l.name&&!Wa(l)}function ha(l){if(!xr(l))return!1;var p=Fo(l);return p==Ge||p==bt||"[object AsyncFunction]"==p||"[object Proxy]"==p}function hh(l){return"number"==typeof l&&l==Di(l)}function ou(l){return"number"==typeof l&&l>-1&&l%1==0&&l<=et}function xr(l){var p=typeof l;return null!=l&&("object"==p||"function"==p)}function Tr(l){return null!=l&&"object"==typeof l}var sl=Go?Lr(Go):function Iu(l){return Tr(l)&&cr(l)==me};function ja(l){return"number"==typeof l||Tr(l)&&Fo(l)==J}function Wa(l){if(!Tr(l)||Fo(l)!=x)return!1;var p=Oa(l);if(null===p)return!0;var P=xi.call(p,"constructor")&&p.constructor;return"function"==typeof P&&P instanceof P&&Ss.call(P)==Ya}var sd=Oo?Lr(Oo):function Ru(l){return Tr(l)&&Fo(l)==pe},ad=Nr?Lr(Nr):function Ws(l){return Tr(l)&&cr(l)==st};function Ka(l){return"string"==typeof l||!Oi(l)&&Tr(l)&&Fo(l)==Qe}function Ms(l){return"symbol"==typeof l||Tr(l)&&Fo(l)==At}var xl=Ar?Lr(Ar):function ql(l){return Tr(l)&&ou(l.length)&&!!ri[Fo(l)]},qp=br(Dd),mh=br(function(l,p){return l<=p});function y_(l){if(!l)return[];if(Os(l))return Ka(l)?ao(l):ko(l);if(wo&&l[wo])return function ws(zt){for(var rn,qt=[];!(rn=zt.next()).done;)qt.push(rn.value);return qt}(l[wo]());var p=cr(l);return(p==me?Mo:p==st?Wo:kl)(l)}function Da(l){return l?(l=Vs(l))===Xe||l===-Xe?17976931348623157e292*(l<0?-1:1):l==l?l:0:0===l?l:0}function Di(l){var p=Da(l),P=p%1;return p==p?P?p-P:p:0}function gh(l){return l?Gs(Di(l),0,ue):0}function Vs(l){if("number"==typeof l)return l;if(Ms(l))return NaN;if(xr(l)){var p="function"==typeof l.valueOf?l.valueOf():l;l=xr(p)?p+"":p}if("string"!=typeof l)return 0===l?l:+l;l=Js(l);var P=_t.test(l);return P||Je.test(l)?oo(l.slice(2),P?2:8):ke.test(l)?NaN:+l}function Eh(l){return gs(l,Rs(l))}function dr(l){return null==l?"":po(l)}var nE=S(function(l,p){if(nl(p)||Os(p))gs(p,Zr(p),l);else for(var P in p)xi.call(p,P)&&aa(l,P,p[P])}),au=S(function(l,p){gs(p,Rs(p),l)}),lu=S(function(l,p,P,re){gs(p,Rs(p),l,re)}),cu=S(function(l,p,P,re){gs(p,Zr(p),l,re)}),D_=Ln(Yl),nm=yi(function(l,p){l=ji(l);var P=-1,re=p.length,Le=re>2?p[2]:t;for(Le&&is(p[0],p[1],Le)&&(re=1);++P<re;)for(var ct=p[P],St=Rs(ct),kt=-1,Yt=St.length;++kt<Yt;){var cn=St[kt],dn=l[cn];(dn===t||fa(dn,No[cn])&&!xi.call(l,cn))&&(l[cn]=ct[cn])}return l}),Oh=yi(function(l){return l.push(t,Sl),je(Ch,t,l)});function uu(l,p,P){var re=null==l?t:wa(l,p);return re===t?P:re}function A_(l,p){return null!=l&&ju(l,p,hf)}var vh=Hn(function(l,p,P){null!=p&&"function"!=typeof p.toString&&(p=Ts.call(p)),l[p]=P},j_(vs)),rm=Hn(function(l,p,P){null!=p&&"function"!=typeof p.toString&&(p=Ts.call(p)),xi.call(l,p)?l[p].push(P):l[p]=[P]},Wn),om=yi(Ol);function Zr(l){return Os(l)?Xl(l):yd(l)}function Rs(l){return Os(l)?Xl(l,!0):function kc(l){if(!xr(l))return function Vu(l){var p=[];if(null!=l)for(var P in ji(l))p.push(P);return p}(l);var p=nl(l),P=[];for(var re in l)"constructor"==re&&(p||!xi.call(l,re))||P.push(re);return P}(l)}var am=S(function(l,p,P){Bc(l,p,P)}),Ch=S(function(l,p,P,re){Bc(l,p,P,re)}),lm=Ln(function(l,p){var P={};if(null==l)return P;var re=!1;p=Mn(p,function(ct){return ct=ba(ct,l),re||(re=ct.length>1),ct}),gs(l,ei(l),P),re&&(P=Ho(P,7,da));for(var Le=p.length;Le--;)Dl(P,p[Le]);return P}),iE=Ln(function(l,p){return null==l?{}:function Ad(l,p){return $c(l,p,function(P,re){return A_(l,re)})}(l,p)});function S_(l,p){if(null==l)return{};var P=Mn(ei(l),function(re){return[re]});return p=Wn(p),$c(l,P,function(re,Le){return p(re,Le[0])})}var bh=yo(Zr),yh=yo(Rs);function kl(l){return null==l?[]:Zo(l,Zr(l))}
3var Em=Ft(function(l,p,P){return p=p.toLowerCase(),l+(P?T_(p):p)});function T_(l){return B_(dr(l).toLowerCase())}function P_(l){return(l=dr(l))&&l.replace(le,We).replace(hi,"")}var Ah=Ft(function(l,p,P){return l+(P?"-":"")+p.toLowerCase()}),R_=Ft(function(l,p,P){return l+(P?" ":"")+p.toLowerCase()}),Sh=Ot("toLowerCase"),Ph=Ft(function(l,p,P){return l+(P?"_":"")+p.toLowerCase()}),x_=Ft(function(l,p,P){return l+(P?" ":"")+B_(p)}),Lh=Ft(function(l,p,P){return l+(P?" ":"")+p.toUpperCase()}),B_=Ot("toUpperCase");function $_(l,p,P){return l=dr(l),(p=P?t:p)===t?function Ls(zt){return Ji.test(zt)}(l)?function ga(zt){return zt.match(Ei)||[]}(l):function eo(zt){return zt.match(Yi)||[]}(l):l.match(p)||[]}var wh=yi(function(l,p){try{return je(l,t,p)}catch(P){return b_(P)?P:new di(P)}}),U_=Ln(function(l,p){return Ie(p,function(P){P=Ks(P),ts(l,P,M_(l[P],l))}),l});function j_(l){return function(){return l}}var Sm=Un(),Fh=Un(!0);function vs(l){return l}function W_(l){return Nu("function"==typeof l?l:Ho(l,1))}var Tm=yi(function(l,p){return function(P){return Ol(P,l,p)}}),sE=yi(function(l,p){return function(P){return Ol(l,P,p)}});function hu(l,p,P){var re=Zr(p),Le=ps(p,re);null==P&&(!xr(p)||!Le.length&&re.length)&&(P=p,p=l,l=this,Le=ps(p,Zr(p)));var ct=!(xr(P)&&"chain"in P&&!P.chain),St=ha(l);return Ie(Le,function(kt){var Yt=p[kt];l[kt]=Yt,St&&(l.prototype[kt]=function(){var cn=this.__chain__;if(ct||cn){var dn=l(this.__wrapped__);return(dn.__actions__=ko(this.__actions__)).push({func:Yt,args:arguments,thisArg:l}),dn.__chain__=cn,dn}return Yt.apply(l,xn([this.value()],arguments))})}),l}function kh(){}var Rm=lr(Mn),Nm=lr(Vt),K_=lr(Gi);function V_(l){return kd(l)?Po(Ks(l)):function Sd(l){return function(p){return wa(p,l)}}(l)}var Bh=mo(),aE=mo(!0);function $h(){return[]}function z_(){return!1}var X_=qn(function(l,p){return l+p},0),jh=Bo("ceil"),xm=qn(function(l,p){return l/p},1),Fm=Bo("floor"),$m=qn(function(l,p){return l*p},1),zh=Bo("round"),Xh=qn(function(l,p){return l-p},0);return rt.after=function Fp(l,p){if("function"!=typeof p)throw new Ro(r);return l=Di(l),function(){if(--l<1)return p.apply(this,arguments)}},rt.ary=Jd,rt.assign=nE,rt.assignIn=au,rt.assignInWith=lu,rt.assignWith=cu,rt.at=D_,rt.before=O_,rt.bind=M_,rt.bindAll=U_,rt.bindKey=rh,rt.castArray=function Up(){if(!arguments.length)return[];var l=arguments[0];return Oi(l)?l:[l]},rt.chain=l_,rt.chunk=function vf(l,p,P){p=(P?is(l,p,P):p===t)?1:ut(Di(p),0);var re=null==l?0:l.length;if(!re||p<1)return[];for(var Le=0,ct=0,St=qt(co(re/p));Le<re;)St[ct++]=Is(l,Le,Le+=p);return St},rt.compact=function Cf(l){for(var p=-1,P=null==l?0:l.length,re=0,Le=[];++p<P;){var ct=l[p];ct&&(Le[re++]=ct)}return Le},rt.concat=function bf(){var l=arguments.length;if(!l)return[];for(var p=qt(l-1),P=arguments[0],re=l;re--;)p[re-1]=arguments[re];return xn(Oi(P)?ko(P):[P],vn(p,1))},rt.cond=function xh(l){var p=null==l?0:l.length,P=Wn();return l=p?Mn(l,function(re){if("function"!=typeof re[1])throw new Ro(r);return[P(re[0]),re[1]]}):[],yi(function(re){for(var Le=-1;++Le<p;){var ct=l[Le];if(je(ct[0],this,re))return je(ct[1],this,re)}})},rt.conforms=function G_(l){return function Ql(l){var p=Zr(l);return function(P){return ml(P,l,p)}}(Ho(l,1))},rt.constant=j_,rt.countBy=__,rt.create=function tm(l,p){var P=Us(l);return null==p?P:Lc(P,p)},rt.curry=function oh(l,p,P){var re=io(l,8,t,t,t,t,t,p=P?t:p);return re.placeholder=oh.placeholder,re},rt.curryRight=function v_(l,p,P){var re=io(l,16,t,t,t,t,t,p=P?t:p);return re.placeholder=v_.placeholder,re},rt.debounce=sh,rt.defaults=nm,rt.defaultsDeep=Oh,rt.defer=qd,rt.delay=ah,rt.difference=yf,rt.differenceBy=Df,rt.differenceWith=Yu,rt.drop=function Dp(l,p,P){var re=null==l?0:l.length;return re?Is(l,(p=P||p===t?1:Di(p))<0?0:p,re):[]},rt.dropRight=function Qu(l,p,P){var re=null==l?0:l.length;return re?Is(l,0,(p=re-(p=P||p===t?1:Di(p)))<0?0:p):[]},rt.dropRightWhile=function Af(l,p){return l&&l.length?rc(l,Wn(p,3),!0,!0):[]},rt.dropWhile=function Qc(l,p){return l&&l.length?rc(l,Wn(p,3),!0):[]},rt.fill=function Sf(l,p,P,re){var Le=null==l?0:l.length;return Le?(P&&"number"!=typeof P&&is(l,p,P)&&(P=0,re=Le),function Qt(l,p,P,re){var Le=l.length;for((P=Di(P))<0&&(P=-P>Le?0:Le+P),(re=re===t||re>Le?Le:Di(re))<0&&(re+=Le),re=P>re?0:gh(re);P<re;)l[P++]=p;return l}(l,p,P,re)):[]},rt.filter=function ed(l,p){return(Oi(l)?Zt:sn)(l,Wn(p,3))}
3,rt.flatMap=function Qf(l,p){return vn(Ua(l,p),1)},rt.flatMapDeep=function Zf(l,p){return vn(Ua(l,p),Xe)},rt.flatMapDepth=function Jf(l,p,P){return P=P===t?1:Di(P),vn(Ua(l,p),P)},rt.flatten=Kd,rt.flattenDeep=function Tf(l){return null!=l&&l.length?vn(l,Xe):[]},rt.flattenDepth=function Pf(l,p){return null!=l&&l.length?vn(l,p=p===t?1:Di(p)):[]},rt.flip=function jt(l){return io(l,512)},rt.flow=Sm,rt.flowRight=Fh,rt.fromPairs=function Ju(l){for(var p=-1,P=null==l?0:l.length,re={};++p<P;){var Le=l[p];ts(re,Le[0],Le[1])}return re},rt.functions=function zs(l){return null==l?[]:ps(l,Zr(l))},rt.functionsIn=function cd(l){return null==l?[]:ps(l,Rs(l))},rt.groupBy=qf,rt.initial=function If(l){return null!=l&&l.length?Is(l,0,-1):[]},rt.intersection=Nl,rt.intersectionBy=e_,rt.intersectionWith=t_,rt.invert=vh,rt.invertBy=rm,rt.invokeMap=p_,rt.iteratee=W_,rt.keyBy=eh,rt.keys=Zr,rt.keysIn=Rs,rt.map=Ua,rt.mapKeys=function al(l,p){var P={};return p=Wn(p,3),Wi(l,function(re,Le,ct){ts(P,p(re,Le,ct),re)}),P},rt.mapValues=function sm(l,p){var P={};return p=Wn(p,3),Wi(l,function(re,Le,ct){ts(P,Le,p(re,Le,ct))}),P},rt.matches=function Mc(l){return wu(Ho(l,1))},rt.matchesProperty=function dd(l,p){return xu(l,Ho(p,1))},rt.memoize=eu,rt.merge=am,rt.mergeWith=Ch,rt.method=Tm,rt.methodOf=sE,rt.mixin=hu,rt.negate=ya,rt.nthArg=function Im(l){return l=Di(l),yi(function(p){return Ml(p,l)})},rt.omit=lm,rt.omitBy=function cm(l,p){return S_(l,ya(Wn(p)))},rt.once=function id(l){return O_(2,l)},rt.orderBy=function nd(l,p,P,re){return null==l?[]:(Oi(p)||(p=null==p?[]:[p]),Oi(P=re?t:P)||(P=null==P?[]:[P]),vl(l,p,P))}
vendor: 4,517 bytes, line 3
3,rt.over=Rm,rt.overArgs=C_,rt.overEvery=Nm,rt.overSome=K_,rt.partial=rd,rt.partialRight=lh,rt.partition=Lp,rt.pick=iE,rt.pickBy=S_,rt.property=V_,rt.propertyOf=function Lm(l){return function(p){return null==l?t:wa(l,p)}},rt.pull=n_,rt.pullAll=fc,rt.pullAllBy=function Ap(l,p,P){return l&&l.length&&p&&p.length?ec(l,p,Wn(P,2)):l},rt.pullAllWith=function Sp(l,p,P){return l&&l.length&&p&&p.length?ec(l,p,t,P):l},rt.pullAt=hc,rt.range=Bh,rt.rangeRight=aE,rt.rearg=Ec,rt.reject=function Zd(l,p){return(Oi(l)?Zt:sn)(l,ya(Wn(p,3)))},rt.remove=function Nf(l,p){var P=[];if(!l||!l.length)return P;var re=-1,Le=[],ct=l.length;for(p=Wn(p,3);++re<ct;){var St=l[re];p(St,re,l)&&(P.push(St),Le.push(re))}return Uc(l,Le),P},rt.rest=function ch(l,p){if("function"!=typeof l)throw new Ro(r);return yi(l,p=p===t?p:Di(p))},rt.reverse=wl,rt.sampleSize=function g_(l,p,P){return p=(P?is(l,p,P):p===t)?1:Di(p),(Oi(l)?Au:Td)(l,p)},rt.set=function um(l,p,P){return null==l?l:tc(l,p,P)},rt.setWith=function rE(l,p,P,re){return re="function"==typeof re?re:t,null==l?l:tc(l,p,P,re)},rt.shuffle=function wp(l){return(Oi(l)?Md:$u)(l)},rt.slice=function Vd(l,p,P){var re=null==l?0:l.length;return re?(P&&"number"!=typeof P&&is(l,p,P)?(p=0,P=re):(p=null==p?0:Di(p),P=P===t?re:Di(P)),Is(l,p,P)):[]},rt.sortBy=E_,rt.sortedUniq=function Rp(l){return l&&l.length?yl(l):[]},rt.sortedUniqBy=function Np(l,p){return l&&l.length?yl(l,Wn(p,2)):[]},rt.split=function w_(l,p,P){return P&&"number"!=typeof P&&is(l,p,P)&&(p=P=t),(P=P===t?ue:P>>>0)?(l=dr(l))&&("string"==typeof p||null!=p&&!sd(p))&&!(p=po(p))&&wr(l)?mi(ao(l),0,P):l.split(p,P):[]},rt.spread=function kp(l,p){if("function"!=typeof l)throw new Ro(r);return p=null==p?0:ut(Di(p),0),yi(function(P){var re=P[p],Le=mi(P,0,p);return re&&xn(Le,re),je(l,this,Le)})},rt.tail=function Ff(l){var p=null==l?0:l.length;return p?Is(l,1,p):[]},rt.take=function kf(l,p,P){return l&&l.length?Is(l,0,(p=P||p===t?1:Di(p))<0?0:p):[]},rt.takeRight=function Bf(l,p,P){var re=null==l?0:l.length;return re?Is(l,(p=re-(p=P||p===t?1:Di(p)))<0?0:p,re):[]},rt.takeRightWhile=function zd(l,p){return l&&l.length?rc(l,Wn(p,3),!1,!0):[]},rt.takeWhile=function pc(l,p){return l&&l.length?rc(l,Wn(p,3)):[]},rt.tap=function Wf(l,p){return p(l),l},rt.throttle=function eE(l,p,P){var re=!0,Le=!0;if("function"!=typeof l)throw new Ro(r);return xr(P)&&(re="leading"in P?!!P.leading:re,Le="trailing"in P?!!P.trailing:Le),sh(l,p,{leading:re,maxWait:p,trailing:Le})},rt.thru=$a,rt.toArray=y_,rt.toPairs=bh,rt.toPairsIn=yh,rt.toPath=function wm(l){return Oi(l)?Mn(l,Ks):Ms(l)?[l]:ko(Rl(dr(l)))},rt.toPlainObject=Eh,rt.transform=function _m(l,p,P){var re=Oi(l),Le=re||Ga(l)||xl(l);if(p=Wn(p,4),null==P){var ct=l&&l.constructor;P=Le?re?new ct:[]:xr(l)&&ha(ct)?Us(Oa(l)):{}}return(Le?Ie:Wi)(l,function(St,kt,Yt){return p(P,St,kt,Yt)}),P},rt.unary=function Bp(l){return Jd(l,1)},rt.union=Xd,rt.unionBy=Jc,rt.unionWith=i_,rt.uniq=function mc(l){return l&&l.length?Yr(l):[]},rt.uniqBy=function r_(l,p){return l&&l.length?Yr(l,Wn(p,2)):[]},rt.uniqWith=function $f(l,p){return p="function"==typeof p?p:t,l&&l.length?Yr(l,t,p):[]},rt.unset=function _u(l,p){return null==l||Dl(l,p)},rt.unzip=il,rt.unzipWith=Hd,rt.update=function fm(l,p,P){return null==l?l:ic(l,p,Wc(P))},rt.updateWith=function hm(l,p,P,re){return re="function"==typeof re?re:t,null==l?l:ic(l,p,Wc(P),re)},rt.values=kl,rt.valuesIn=function pm(l){return null==l?[]:Zo(l,Rs(l))},rt.without=o_,rt.words=$_,rt.wrap=function $p(l,p){return rd(Wc(p),l)},rt.xor=rl,rt.xorBy=Yd,rt.xorWith=Uf,rt.zip=Gf,rt.zipObject=function s_(l,p){return Id(l||[],p||[],aa)},rt.zipObjectDeep=function a_(l,p){return Id(l||[],p||[],tc)},rt.zipWith=jf,rt.entries=bh,rt.entriesIn=yh,rt.extend=au,rt.extendWith=lu,hu(rt,rt),rt.add=X_,rt.attempt=wh,rt.camelCase=Em,rt.capitalize=T_,rt.ceil=jh,rt.clamp=function mm(l,p,P){return P===t&&(P=p,p=t),P!==t&&(P=(P=Vs(P))==P?P:0),p!==t&&(p=(p=Vs(p))==p?p:0),Gs(Vs(l),p,P)},rt.clone=function tu(l){return Ho(l,4)},rt.cloneDeep=function dh(l){return Ho(l,5)},rt.cloneDeepWith=function nu(l,p){return Ho(l,5,p="function"==typeof p?p:t)},rt.cloneWith=function Gp(l,p){return Ho(l,4,p="function"==typeof p?p:t)},rt.conformsTo=function iu(l,p){return null==p||ml(l,p,Zr(p))},rt.deburr=P_,rt.defaultTo=function Am(l,p){return null==l||l!=l?p:l},rt.divide=xm,rt.endsWith=function I_(l,p,P){l=dr(l),p=po(p);var re=l.length,Le=P=P===t?re:Gs(Di(P),0,re);return(P-=p.length)>=0&&l.slice(P,Le)==p},rt.eq=fa,rt.escape=function Dh(l){return(l=dr(l))&&Ae.test(l)?l.replace($e,Dt):l}
3,rt.escapeRegExp=function Om(l){return(l=dr(l))&&ni.test(l)?l.replace(Sn,"\\$&"):l},rt.every=function Qd(l,p,P){var re=Oi(l)?Vt:be;return P&&is(l,p,P)&&(p=t),re(l,Wn(p,3))},rt.find=Hf,rt.findIndex=Zu,rt.findKey=function im(l,p){return rr(l,Wn(p,3),Wi)},rt.findLast=Yf,rt.findLastIndex=Wd,rt.findLastKey=function Aa(l,p){return rr(l,Wn(p,3),ar)},rt.floor=Fm,rt.forEach=f_,rt.forEachRight=td,rt.forIn=function ld(l,p){return null==l?l:Xi(l,Wn(p,3),Rs)},rt.forInRight=function Pr(l,p){return null==l?l:ho(l,Wn(p,3),Rs)},rt.forOwn=function Fl(l,p){return l&&Wi(l,Wn(p,3))},rt.forOwnRight=function du(l,p){return l&&ar(l,Wn(p,3))},rt.get=uu,rt.gt=jp,rt.gte=Wp,rt.has=function Mh(l,p){return null!=l&&ju(l,p,ff)},rt.hasIn=A_,rt.head=Zc,rt.identity=vs,rt.includes=function h_(l,p,P,re){l=Os(l)?l:kl(l),P=P&&!re?Di(P):0;var Le=l.length;return P<0&&(P=ut(Le+P,0)),Ka(l)?P<=Le&&l.indexOf(p,P)>-1:!!Le&&_r(l,p,P)>-1},rt.indexOf=function qu(l,p,P){var re=null==l?0:l.length;if(!re)return-1;var Le=null==P?0:Di(P);return Le<0&&(Le=ut(re+Le,0)),_r(l,p,Le)},rt.inRange=function fu(l,p,P){return p=Da(p),P===t?(P=p,p=0):P=Da(P),function El(l,p,P){return l>=Bt(p,P)&&l<ut(p,P)}(l=Vs(l),p,P)},rt.invoke=om,rt.isArguments=ol,rt.isArray=Oi,rt.isArrayBuffer=tE,rt.isArrayLike=Os,rt.isArrayLikeObject=yr,rt.isBoolean=function Kp(l){return!0===l||!1===l||Tr(l)&&Fo(l)==Be},rt.isBuffer=Ga,rt.isDate=Vp,rt.isElement=function uh(l){return Tr(l)&&1===l.nodeType&&!Wa(l)},rt.isEmpty=function _h(l){if(null==l)return!0;if(Os(l)&&(Oi(l)||"string"==typeof l||"function"==typeof l.splice||Ga(l)||xl(l)||ol(l)))return!l.length;var p=cr(l);if(p==me||p==st)return!l.size;if(nl(l))return!yd(l).length;for(var P in l)if(xi.call(l,P))return!1;return!0},rt.isEqual=function zp(l,p){return Jl(l,p)},rt.isEqualWith=function fh(l,p,P){var re=(P="function"==typeof P?P:t)?P(l,p):t;return re===t?Jl(l,p,t,P):!!re},rt.isError=b_,rt.isFinite=function ru(l){return"number"==typeof l&&te(l)},rt.isFunction=ha,rt.isInteger=hh,rt.isLength=ou,rt.isMap=sl,rt.isMatch=function su(l,p){return l===p||Fc(l,p,hr(p))},rt.isMatchWith=function ph(l,p,P){return P="function"==typeof P?P:t,Fc(l,p,hr(p),P)},rt.isNaN=function od(l){return ja(l)&&l!=+l},rt.isNative=function Xp(l){if(Of(l))throw new di("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return bd(l)},rt.isNil=function Yp(l){return null==l},rt.isNull=function Hp(l){return null===l},rt.isNumber=ja,rt.isObject=xr,rt.isObjectLike=Tr,rt.isPlainObject=Wa,rt.isRegExp=sd,rt.isSafeInteger=function Oc(l){return hh(l)&&l>=-et&&l<=et},rt.isSet=ad,rt.isString=Ka,rt.isSymbol=Ms,rt.isTypedArray=xl,rt.isUndefined=function Qp(l){return l===t},rt.isWeakMap=function Zp(l){return Tr(l)&&cr(l)==ze},rt.isWeakSet=function Jp(l){return Tr(l)&&"[object WeakSet]"==Fo(l)},rt.join=function Ll(l,p){return null==l?"":ye.call(l,p)},rt.kebabCase=Ah,rt.last=rs,rt.lastIndexOf=function _c(l,p,P){var re=null==l?0:l.length;if(!re)return-1;var Le=re;return P!==t&&(Le=(Le=Di(P))<0?ut(re+Le,0):Bt(Le,re-1)),p==p?function Ko(zt,rn,qt){for(var Nn=qt+1;Nn--;)if(zt[Nn]===rn)return Nn;return Nn}(l,p,Le):kr(l,as,Le,!0)},rt.lowerCase=R_,rt.lowerFirst=Sh,rt.lt=qp,rt.lte=mh,rt.max=function H_(l){return l&&l.length?ft(l,vs,Zl):t},rt.maxBy=function km(l,p){return l&&l.length?ft(l,Wn(p,2),Zl):t},rt.mean=function Wh(l){return To(l,vs)},rt.meanBy=function Kh(l,p){return To(l,Wn(p,2))},rt.min=function Vh(l){return l&&l.length?ft(l,vs,Dd):t},rt.minBy=function Bm(l,p){return l&&l.length?ft(l,Wn(p,2),Dd):t},rt.stubArray=$h,rt.stubFalse=z_,rt.stubObject=function Uh(){return{}},rt.stubString=function Ns(){return""},rt.stubTrue=function Bl(){return!0},rt.multiply=$m,rt.nth=function Rf(l,p){return l&&l.length?Ml(l,Di(p)):t},rt.noConflict=function Pm(){return Ri._===this&&(Ri._=Ta),this},rt.noop=kh,rt.now=gc,rt.pad=function Th(l,p,P){l=dr(l);var re=(p=Di(p))?ds(l):0;if(!p||re>=p)return l;var Le=(p-re)/2;return Cr(G(Le),P)+l+Cr(co(Le),P)},rt.padEnd=function Mm(l,p,P){l=dr(l);var re=(p=Di(p))?ds(l):0;return p&&re<p?l+Cr(p-re,P):l},rt.padStart=function vm(l,p,P){l=dr(l);var re=(p=Di(p))?ds(l):0;return p&&re<p?Cr(p-re,P)+l:l},rt.parseInt=function oE(l,p,P){return P||null==p?p=0:p&&(p=+p),Pn(dr(l).replace(wi,""),p||0)},rt.random=function gm(l,p,P){if(P&&"boolean"!=typeof P&&is(l,p,P)&&(p=P=t),P===t&&("boolean"==typeof p?(P=p,p=t):"boolean"==typeof l&&(P=l,l=t)),l===t&&p===t?(l=0,p=1):(l=Da(l),p===t?(p=l,l=0):p=Da(p)),l>p){var re=l;l=p,p=re}if(P||l%1||p%1){var Le=$i();return Bt(l+Le*(p-l+Rr("1e-"+((Le+"").length-1))),p)}return Cl(l,p)},rt.reduce=function th(l,p,P){var re=Oi(l)?ci:ls,Le=arguments.length<3;return re(l,Wn(p,4),P,Le,js)},rt.reduceRight=function m_(l,p,P){var re=Oi(l)?Xn:ls,Le=arguments.length<3;return re(l,Wn(p,4),P,Le,W)},rt.repeat=function N_(l,p,P){return p=(P?is(l,p,P):p===t)?1:Di(p),ms(dr(l),p)},rt.replace=function L_(){var l=arguments,p=dr(l[0]);return l.length<3?p:p.replace(l[1],l[2])},rt.result=function dm(l,p,P){var re=-1,Le=(p=ba(p,l)).length;for(Le||(Le=1,l=t);++re<Le;){var ct=null==l?t:l[Ks(p[re])];ct===t&&(re=Le,ct=P),l=ha(ct)?ct.call(l):ct}return l},rt.round=zh,rt.runInContext=zt,rt.sample=function nh(l){return(Oi(l)?Ja:mf)(l)},rt.size=function xp(l){if(null==l)return 0;if(Os(l))return Ka(l)?ds(l):l.length;var p=cr(l);return p==me||p==st?l.size:yd(l).length},rt.snakeCase=Ph,rt.some=function ih(l,p,P){var re=Oi(l)?Gi:Uu;return P&&is(l,p,P)&&(p=t),re(l,Wn(p,3))},rt.sortedIndex=function Lf(l,p){return bl(l,p)},rt.sortedIndexBy=function Tp(l,p,P){return nc(l,p,Wn(P,2))},rt.sortedIndexOf=function Pp(l,p){var P=null==l?0:l.length;if(P){var re=bl(l,p);if(re<P&&fa(l[re],p))return re}return-1},rt.sortedLastIndex=function wf(l,p){return bl(l,p,!0)},rt.sortedLastIndexBy=function xf(l,p,P){return nc(l,p,Wn(P,2),!0)},rt.sortedLastIndexOf=function Ip(l,p){if(null!=l&&l.length){var re=bl(l,p,!0)-1;if(fa(l[re],p))return re}return-1},rt.startCase=x_,rt.startsWith=function Cm(l,p,P){return l=dr(l),P=null==P?0:Gs(Di(P),0,l.length),p=po(p),l.slice(P,P+p.length)==p},rt.subtract=Xh,rt.sum=function Hh(l){return l&&l.length?Io(l,vs):0},rt.sumBy=function Yh(l,p){return l&&l.length?Io(l,Wn(p,2)):0},rt.template=function bm(l,p,P){var re=rt.templateSettings;P&&is(l,p,P)&&(p=t),l=dr(l),p=cu({},p,re,ca);var Le=cu({},p.imports,re.imports,ca),ct=Zr(Le),St=Zo(Le,ct);Ie(ct,function(ii){if(Qi.test(ii))throw new di("Invalid `imports` option passed into `_.template`")});var kt,Yt,cn=0,dn=p.interpolate||Ve,mn="__p += '",wn=ea((p.escape||Ve).source+"|"+dn.source+"|"+(dn===on?Me:Ve).source+"|"+(p.evaluate||Ve).source+"|$","g"),Qn="//# sourceURL="+(xi.call(p,"sourceURL")?(p.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Vi+"]")+"\n";l.replace(wn,function(ii,Bi,Ui,Cs,os,Xs){return Ui||(Ui=Cs),mn+=l.slice(cn,Xs).replace(Te,In),Bi&&(kt=!0,mn+="' +\n__e("+Bi+") +\n'"),os&&(Yt=!0,mn+="';\n"+os+";\n__p += '"),Ui&&(mn+="' +\n((__t = ("+Ui+")) == null ? '' : __t) +\n'"),cn=Xs+ii.length,ii}),mn+="';\n";var si=xi.call(p,"variable")&&p.variable;if(si){if(Qi.test(si))throw new di("Invalid `variable` option passed into `_.template`")}else mn="with (obj) {\n"+mn+"\n}\n";mn=(Yt?mn.replace(mt,""):mn).replace(Ze,"$1").replace(Nt,"$1;"),mn="function("+(si||"obj")+") {\n"+(si?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(kt?", __e = _.escape":"")+(Yt?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";
3\n")+mn+"return __p\n}";var Li=wh(function(){return bi(ct,Qn+"return "+mn).apply(t,St)});if(Li.source=mn,b_(Li))throw Li;return Li},rt.times=function Gh(l,p){if((l=Di(l))<1||l>et)return[];var P=ue,re=Bt(l,ue);p=Wn(p),l-=ue;for(var Le=cs(re,p);++P<l;)p(P);return Le},rt.toFinite=Da,rt.toInteger=Di,rt.toLength=gh,rt.toLower=function ym(l){return dr(l).toLowerCase()},rt.toNumber=Vs,rt.toSafeInteger=function em(l){return l?Gs(Di(l),-et,et):0===l?l:0},rt.toString=dr,rt.toUpper=function Dm(l){return dr(l).toUpperCase()},rt.trim=function Ih(l,p,P){if((l=dr(l))&&(P||p===t))return Js(l);if(!l||!(p=po(p)))return l;var re=ao(l),Le=ao(p);return mi(re,fe(re,Le),Ee(re,Le)+1).join("")},rt.trimEnd=function F_(l,p,P){if((l=dr(l))&&(P||p===t))return l.slice(0,ys(l)+1);if(!l||!(p=po(p)))return l;var re=ao(l);return mi(re,0,Ee(re,ao(p))+1).join("")},rt.trimStart=function k_(l,p,P){if((l=dr(l))&&(P||p===t))return l.replace(wi,"");if(!l||!(p=po(p)))return l;var re=ao(l);return mi(re,fe(re,ao(p))).join("")},rt.truncate=function Rh(l,p){var P=30,re="...";if(xr(p)){var Le="separator"in p?p.separator:Le;P="length"in p?Di(p.length):P,re="omission"in p?po(p.omission):re}var ct=(l=dr(l)).length;if(wr(l)){var St=ao(l);ct=St.length}if(P>=ct)return l;var kt=P-ds(re);if(kt<1)return re;var Yt=St?mi(St,0,kt).join(""):l.slice(0,kt);if(Le===t)return Yt+re;if(St&&(kt+=Yt.length-kt),sd(Le)){if(l.slice(kt).search(Le)){var cn,dn=Yt;for(Le.global||(Le=ea(Le.source,dr(_e.exec(Le))+"g")),Le.lastIndex=0;cn=Le.exec(dn);)var mn=cn.index;Yt=Yt.slice(0,mn===t?kt:mn)}}else if(l.indexOf(po(Le),kt)!=kt){var wn=Yt.lastIndexOf(Le);wn>-1&&(Yt=Yt.slice(0,wn))}return Yt+re},rt.unescape=function Nh(l){return(l=dr(l))&&ht.test(l)?l.replace(vt,za):l},rt.uniqueId=function lE(l){var p=++Fs;return dr(l)+p},rt.upperCase=Lh,rt.upperFirst=B_,rt.each=f_,rt.eachRight=td,rt.first=Zc,hu(rt,function(){var l={};return Wi(rt,function(p,P){xi.call(rt.prototype,P)||(l[P]=p)}),l}(),{chain:!1}),rt.VERSION="4.18.1",Ie(["bind","bindKey","curry","curryRight","partial","partialRight"],function(l){rt[l].placeholder=rt}),Ie(["drop","take"],function(l,p){Ti.prototype[l]=function(P){P=P===t?1:ut(Di(P),0);var re=this.__filtered__&&!p?new Ti(this):this.clone();return re.__filtered__?re.__takeCount__=Bt(P,re.__takeCount__):re.__views__.push({size:Bt(P,ue),type:l+(re.__dir__<0?"Right":"")}),re},Ti.prototype[l+"Right"]=function(P){return this.reverse()[l](P).reverse()}}),Ie(["filter","map","takeWhile"],function(l,p){var P=p+1,re=1==P||3==P;Ti.prototype[l]=function(Le){var ct=this.clone();return ct.__iteratees__.push({iteratee:Wn(Le,3),type:P}),ct.__filtered__=ct.__filtered__||re,ct}}),Ie(["head","last"],function(l,p){var P="take"+(p?"Right":"");Ti.prototype[l]=function(){return this[P](1).value()[0]}}),Ie(["initial","tail"],function(l,p){var P="drop"+(p?"":"Right");Ti.prototype[l]=function(){return this.__filtered__?new Ti(this):this[P](1)}}),Ti.prototype.compact=function(){return this.filter(vs)},Ti.prototype.find=function(l){return this.filter(l).head()},Ti.prototype.findLast=function(l){return this.reverse().find(l)},Ti.prototype.invokeMap=yi(function(l,p){return"function"==typeof l?new Ti(this):this.map(function(P){return Ol(P,l,p)})}),Ti.prototype.reject=function(l){return this.filter(ya(Wn(l)))},Ti.prototype.slice=function(l,p){l=Di(l);var P=this;return P.__filtered__&&(l>0||p<0)?new Ti(P):(l<0?P=P.takeRight(-l):l&&(P=P.drop(l)),p!==t&&(P=(p=Di(p))<0?P.dropRight(-p):P.take(p-l)),P)},Ti.prototype.takeRightWhile=function(l){return this.reverse().takeWhile(l).reverse()},Ti.prototype.toArray=function(){return this.take(ue)},Wi(Ti.prototype,function(l,p){var P=/^(?:filter|find|map|reject)|While$/.test(p),re=/^(?:head|last)$/.test(p),Le=rt[re?"take"+("last"==p?"Right":""):p],ct=re||/^find/.test(p);Le&&(rt.prototype[p]=function(){var St=this.__wrapped__,kt=re?[1]:arguments,Yt=St instanceof Ti,cn=kt[0],dn=Yt||Oi(St),mn=function(Bi){var Ui=Le.apply(rt,xn([Bi],kt));return re&&wn?Ui[0]:Ui};dn&&P&&"function"==typeof cn&&1!=cn.length&&(Yt=dn=!1);var wn=this.__chain__,si=ct&&!wn,Li=Yt&&!this.__actions__.length;if(!ct&&dn){St=Li?St:new Ti(this);var ii=l.apply(St,kt);return ii.__actions__.push({func:$a,args:[mn],thisArg:t}),new _o(ii,wn)}return si&&Li?l.apply(this,kt):(ii=this.thru(mn),si?re?ii.value()[0]:ii.value():ii)})}),Ie(["pop","push","shift","sort","splice","unshift"],function(l){var p=lo[l],P=/^(?:push|sort|unshift)$/.test(l)?"tap":"thru",re=/^(?:pop|shift)$/.test(l);rt.prototype[l]=function(){var Le=arguments;if(re&&!this.__chain__){var ct=this.value();return p.apply(Oi(ct)?ct:[],Le)}return this[P](function(St){return p.apply(Oi(St)?St:[],Le)})}}),Wi(Ti.prototype,function(l,p){var P=rt[p];
3if(P){var re=P.name+"";xi.call(zo,re)||(zo[re]=[]),zo[re].push({name:p,func:P})}}),zo[Fn(t,2).name]=[{name:"wrapper",func:t}],Ti.prototype.clone=function ra(){var l=new Ti(this.__wrapped__);return l.__actions__=ko(this.__actions__),l.__dir__=this.__dir__,l.__filtered__=this.__filtered__,l.__iteratees__=ko(this.__iteratees__),l.__takeCount__=this.__takeCount__,l.__views__=ko(this.__views__),l},Ti.prototype.reverse=function Dc(){if(this.__filtered__){var l=new Ti(this);l.__dir__=-1,l.__filtered__=!0}else(l=this.clone()).__dir__*=-1;return l},Ti.prototype.value=function Ra(){var l=this.__wrapped__.value(),p=this.__dir__,P=Oi(l),re=p<0,Le=P?l.length:0,ct=function Pl(l,p,P){for(var re=-1,Le=P.length;++re<Le;){var ct=P[re],St=ct.size;switch(ct.type){case"drop":l+=St;break;case"dropRight":p-=St;break;case"take":p=Bt(p,l+St);break;case"takeRight":l=ut(l,p-St)}}return{start:l,end:p}}(0,Le,this.__views__),St=ct.start,kt=ct.end,Yt=kt-St,cn=re?kt:St-1,dn=this.__iteratees__,mn=dn.length,wn=0,Qn=Bt(Yt,this.__takeCount__);if(!P||!re&&Le==Yt&&Qn==Yt)return Gc(l,this.__actions__);var si=[];e:for(;Yt--&&wn<Qn;){for(var Li=-1,ii=l[cn+=p];++Li<mn;){var Bi=dn[Li],Cs=Bi.type,os=(0,Bi.iteratee)(ii);if(2==Cs)ii=os;else if(!os){if(1==Cs)continue e;break e}}si[wn++]=ii}return si},rt.prototype.at=Kf,rt.prototype.chain=function Vf(){return l_(this)},rt.prototype.commit=function zf(){return new _o(this.value(),this.__chain__)},rt.prototype.next=function qc(){this.__values__===t&&(this.__values__=y_(this.value()));var l=this.__index__>=this.__values__.length;return{done:l,value:l?t:this.__values__[this.__index__++]}},rt.prototype.plant=function d_(l){for(var p,P=this;P instanceof qo;){var re=Hu(P);re.__index__=0,re.__values__=t,p?Le.__wrapped__=re:p=re;var Le=re;P=P.__wrapped__}return Le.__wrapped__=l,p},rt.prototype.reverse=function u_(){var l=this.__wrapped__;if(l instanceof Ti){var p=l;return this.__actions__.length&&(p=new Ti(this)),(p=p.reverse()).__actions__.push({func:$a,args:[wl],thisArg:t}),new _o(p,this.__chain__)}return this.thru(wl)},rt.prototype.toJSON=rt.prototype.valueOf=rt.prototype.value=function Xf(){return Gc(this.__wrapped__,this.__actions__)},rt.prototype.first=rt.prototype.head,wo&&(rt.prototype[wo]=function c_(){return this}),rt}();Ri._=qs,(a=function(){return qs}.call(ee,o,ee,qe))!==t&&(qe.exports=a)}.call(this)},67575:(qe,ee,o)=>{"use strict";o.d(ee,{HM:()=>b,PO:()=>f});var a=o(73664),t=o(2615),u=o(17705),M=o(18107),v=o(21715);function r(O,d){1&O&&a.Hgh(0,"div",2)}const _=new t.nKC("MAT_PROGRESS_BAR_DEFAULT_OPTIONS");let b=(()=>{class O{_elementRef=(0,t.WQX)(a.aKT);_ngZone=(0,t.WQX)(a.SKi);_changeDetectorRef=(0,t.WQX)(u.gRc);_renderer=(0,t.WQX)(a.sFG);_cleanupTransitionEnd;constructor(){const L=(0,M.a)(),E=(0,t.WQX)(_,{optional:!0});this._isNoopAnimation="di-disabled"===L,"reduced-motion"===L&&this._elementRef.nativeElement.classList.add("mat-progress-bar-reduced-motion"),E&&(E.color&&(this.color=this._defaultColor=E.color),this.mode=E.mode||this.mode)}_isNoopAnimation;get color(){return this._color||this._defaultColor}set color(L){this._color=L}_color;_defaultColor="primary";get value(){return this._value}set value(L){this._value=D(L||0),this._changeDetectorRef.markForCheck()}_value=0;get bufferValue(){return this._bufferValue||0}set bufferValue(L){this._bufferValue=D(L||0),this._changeDetectorRef.markForCheck()}_bufferValue=0;animationEnd=new a.bkB;get mode(){return this._mode}set mode(L){this._mode=L,this._changeDetectorRef.markForCheck()}_mode="determinate";ngAfterViewInit(){this._ngZone.runOutsideAngular(()=>{this._cleanupTransitionEnd=this._renderer.listen(this._elementRef.nativeElement,"transitionend",this._transitionendHandler)})}ngOnDestroy(){this._cleanupTransitionEnd?.()}_getPrimaryBarTransform(){return`scaleX(${this._isIndeterminate()?1:this.value/100})`}_getBufferBarFlexBasis(){return`${"buffer"===this.mode?this.bufferValue:100}%`}_isIndeterminate(){return"indeterminate"===this.mode||"query"===this.mode}_transitionendHandler=L=>{0===this.animationEnd.observers.length||!L.target||!L.target.classList.contains("mdc-linear-progress__primary-bar")||("determinate"===this.mode||"buffer"===this.mode)&&this._ngZone.run(()=>this.animationEnd.next({value:this.value}))};static \u0275fac=function(E){return new(E||O)};static \u0275cmp=a.VBU({type:O,selectors:[["mat-progress-bar"]],hostAttrs:["role","progressbar","aria-valuemin","0","aria-valuemax","100","tabindex","-1",1,"mat-mdc-progress-bar","mdc-linear-progress"],hostVars:10,hostBindings:function(E,se){2&E&&(a.BMQ("aria-valuenow",
3se._isIndeterminate()?null:se.value)("mode",se.mode),a.HbH("mat-"+se.color),a.AVh("_mat-animation-noopable",se._isNoopAnimation)("mdc-linear-progress--animation-ready",!se._isNoopAnimation)("mdc-linear-progress--indeterminate",se._isIndeterminate()))},inputs:{color:"color",value:[2,"value","value",u.Udg],bufferValue:[2,"bufferValue","bufferValue",u.Udg],mode:"mode"},outputs:{animationEnd:"animationEnd"},exportAs:["matProgressBar"],decls:7,vars:5,consts:[["aria-hidden","true",1,"mdc-linear-progress__buffer"],[1,"mdc-linear-progress__buffer-bar"],[1,"mdc-linear-progress__buffer-dots"],["aria-hidden","true",1,"mdc-linear-progress__bar","mdc-linear-progress__primary-bar"],[1,"mdc-linear-progress__bar-inner"],["aria-hidden","true",1,"mdc-linear-progress__bar","mdc-linear-progress__secondary-bar"]],template:function(E,se){1&E&&(a.rj2(0,"div",0),a.Hgh(1,"div",1),a.nVh(2,r,1,0,"div",2),a.eux(),a.rj2(3,"div",3),a.Hgh(4,"span",4),a.eux(),a.rj2(5,"div",5),a.Hgh(6,"span",4),a.eux()),2&E&&(a.R7$(),a.xc7("flex-basis",se._getBufferBarFlexBasis()),a.R7$(),a.vxM("buffer"===se.mode?2:-1),a.R7$(),a.xc7("transform",se._getPrimaryBarTransform()))},styles:[".mat-mdc-progress-bar{--mat-progress-bar-animation-multiplier: 1;display:block;text-align:start}.mat-mdc-progress-bar[mode=query]{transform:scaleX(-1)}.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__buffer-dots,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__primary-bar,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__secondary-bar,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__bar-inner.mdc-linear-progress__bar-inner{animation:none}.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__primary-bar,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__buffer-bar{transition:transform 1ms}.mat-progress-bar-reduced-motion{--mat-progress-bar-animation-multiplier: 2}.mdc-linear-progress{position:relative;width:100%;transform:translateZ(0);outline:1px solid rgba(0,0,0,0);overflow-x:hidden;transition:opacity 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1);height:max(var(--mat-progress-bar-track-height, 4px),var(--mat-progress-bar-active-indicator-height, 4px))}@media(forced-colors: active){.mdc-linear-progress{outline-color:CanvasText}}.mdc-linear-progress__bar{position:absolute;top:0;bottom:0;margin:auto 0;width:100%;animation:none;transform-origin:top left;transition:transform 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1);height:var(--mat-progress-bar-active-indicator-height, 4px)}.mdc-linear-progress--indeterminate .mdc-linear-progress__bar{transition:none}[dir=rtl] .mdc-linear-progress__bar{right:0;transform-origin:center right}.mdc-linear-progress__bar-inner{display:inline-block;position:absolute;width:100%;animation:none;border-top-style:solid;border-color:var(--mat-progress-bar-active-indicator-color, var(--mat-sys-primary));border-top-width:var(--mat-progress-bar-active-indicator-height, 4px)}.mdc-linear-progress__buffer{display:flex;position:absolute;top:0;bottom:0;margin:auto 0;width:100%;overflow:hidden;height:var(--mat-progress-bar-track-height, 4px);border-radius:var(--mat-progress-bar-track-shape, var(--mat-sys-corner-none))}.mdc-linear-progress__buffer-dots{-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' enable-background='new 0 0 5 2' xml:space='preserve' viewBox='0 0 5 2' preserveAspectRatio='xMinYMin slice'%3E%3Ccircle cx='1' cy='1' r='1'/%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' enable-background='new 0 0 5 2' xml:space='preserve' viewBox='0 0 5 2' preserveAspectRatio='xMinYMin slice'%3E%3Ccircle cx='1' cy='1' r='1'/%3E%3C/svg%3E\");background-repeat:repeat-x;flex:auto;transform:rotate(180deg);animation:mdc-linear-progress-buffering calc(250ms*var(--mat-progress-bar-animation-multiplier)) infinite linear;background-color:var(--mat-progress-bar-track-color, var(--mat-sys-surface-variant))}@media(forced-colors: active){.mdc-linear-progress__buffer-dots{background-color:ButtonBorder}}[dir=rtl] .mdc-linear-progress__buffer-dots{animation:mdc-linear-progress-buffering-reverse calc(250ms*var(--mat-progress-bar-animation-multiplier)) infinite linear;transform:rotate(0)}.mdc-linear-progress__buffer-bar{flex:0 1 100%;transition:flex-basis 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1);background-color:var(--mat-progress-bar-track-color, var(--mat-sys-surface-variant))}
3.mdc-linear-progress__primary-bar{transform:scaleX(0)}.mdc-linear-progress--indeterminate .mdc-linear-progress__primary-bar{left:-145.166611%}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar{animation:mdc-linear-progress-primary-indeterminate-translate calc(2s*var(--mat-progress-bar-animation-multiplier)) infinite linear}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar>.mdc-linear-progress__bar-inner{animation:mdc-linear-progress-primary-indeterminate-scale calc(2s*var(--mat-progress-bar-animation-multiplier)) infinite linear}[dir=rtl] .mdc-linear-progress.mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar{animation-name:mdc-linear-progress-primary-indeterminate-translate-reverse}[dir=rtl] .mdc-linear-progress.mdc-linear-progress--indeterminate .mdc-linear-progress__primary-bar{right:-145.166611%;left:auto}.mdc-linear-progress__secondary-bar{display:none}.mdc-linear-progress--indeterminate .mdc-linear-progress__secondary-bar{left:-54.888891%;display:block}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar{animation:mdc-linear-progress-secondary-indeterminate-translate calc(2s*var(--mat-progress-bar-animation-multiplier)) infinite linear}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar>.mdc-linear-progress__bar-inner{animation:mdc-linear-progress-secondary-indeterminate-scale calc(2s*var(--mat-progress-bar-animation-multiplier)) infinite linear}[dir=rtl] .mdc-linear-progress.mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar{animation-name:mdc-linear-progress-secondary-indeterminate-translate-reverse}[dir=rtl] .mdc-linear-progress.mdc-linear-progress--indeterminate .mdc-linear-progress__secondary-bar{right:-54.888891%;left:auto}@keyframes mdc-linear-progress-buffering{from{transform:rotate(180deg) translateX(calc(var(--mat-progress-bar-track-height, 4px) * -2.5))}}@keyframes mdc-linear-progress-primary-indeterminate-translate{0%{transform:translateX(0)}20%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(0)}59.15%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(83.67142%)}100%{transform:translateX(200.611057%)}}@keyframes mdc-linear-progress-primary-indeterminate-scale{0%{transform:scaleX(0.08)}36.65%{animation-timing-function:cubic-bezier(0.334731, 0.12482, 0.785844, 1);transform:scaleX(0.08)}69.15%{animation-timing-function:cubic-bezier(0.06, 0.11, 0.6, 1);transform:scaleX(0.661479)}100%{transform:scaleX(0.08)}}@keyframes mdc-linear-progress-secondary-indeterminate-translate{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:translateX(0)}25%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:translateX(37.651913%)}48.35%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:translateX(84.386165%)}100%{transform:translateX(160.277782%)}}@keyframes mdc-linear-progress-secondary-indeterminate-scale{0%{animation-timing-function:cubic-bezier(0.205028, 0.057051, 0.57661, 0.453971);transform:scaleX(0.08)}19.15%{animation-timing-function:cubic-bezier(0.152313, 0.196432, 0.648374, 1.004315);transform:scaleX(0.457104)}44.15%{animation-timing-function:cubic-bezier(0.257759, -0.003163, 0.211762, 1.38179);transform:scaleX(0.72796)}100%{transform:scaleX(0.08)}}@keyframes mdc-linear-progress-primary-indeterminate-translate-reverse{0%{transform:translateX(0)}20%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(0)}59.15%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(-83.67142%)}100%{transform:translateX(-200.611057%)}}@keyframes mdc-linear-progress-secondary-indeterminate-translate-reverse{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:translateX(0)}25%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:translateX(-37.651913%)}48.35%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:translateX(-84.386165%)}100%{transform:translateX(-160.277782%)}}@keyframes mdc-linear-progress-buffering-reverse{from{transform:translateX(-10px)}}\n"],encapsulation:2,changeDetection:0})}return O})();function D(O,d=0,L=100){return Math.max(d,Math.min(L,O))}let f=(()=>{class O{static \u0275fac=function(E){return new(E||O)};static \u0275mod=a.$C({type:O});static \u0275inj=t.G2t({imports:[v.M]})}return O})()},67678:(qe,ee,o)=>{"use strict";o.d(ee,{r:()=>f});
3var a=o(29330),t=o(92771),u=o(7673),M=o(96354),v=o(99437),r=o(88141),_=o(25558),h=o(2615),C=o(56846),b=o(62858),D=o(89402);let f=(()=>{class O{constructor(L,E,se,Y){this._http=L,this._errorHandler=E,this._recordPerson=se,this._recordPublicSidebar=Y,this.headers=new a.Lr({"Access-Control-Allow-Origin":"*"})}getPersonalIdentifiers(L={}){return L.publicRecordId?this._recordPublicSidebar.getPublicRecordSideBar(L).pipe((0,M.T)(E=>E.externalIdentifier)):this.getPrivateRecordIdentifiers(L).asObservable()}getPrivateRecordIdentifiers(L){if(this.$privatePersonIdentifier){if(!L.forceReload)return this.$privatePersonIdentifier}else this.$privatePersonIdentifier=new t.m(1);return L.cleanCacheIfExist&&this.$privatePersonIdentifier&&this.$privatePersonIdentifier.next(void 0),this._http.get(runtimeEnvironment.API_WEB+"my-orcid/externalIdentifiers.json",{headers:this.headers}).pipe((0,v.W)(E=>this._errorHandler.handleError(E)),(0,v.W)(()=>(0,u.of)({externalIdentifiers:[]})),(0,M.T)(E=>E),(0,r.M)(E=>{this.$privatePersonIdentifier.next(E)})).subscribe(),this.$privatePersonIdentifier}postPersonalIdentifiers(L){return this._http.post(runtimeEnvironment.API_WEB+"my-orcid/externalIdentifiers.json",L,{headers:this.headers}).pipe((0,v.W)(E=>this._errorHandler.handleError(E)),(0,_.n)(()=>this.getPersonalIdentifiers({forceReload:!0})))}static{this.\u0275fac=function(E){return new(E||O)(h.KVO(a.Qq),h.KVO(C.c),h.KVO(b.I),h.KVO(D.I))}}static{this.\u0275prov=h.jDH({token:O,factory:O.\u0275fac,providedIn:"root"})}}return O})()},68886:function(qe){(function(){qe.exports={Element:1,Attribute:2,Text:3,CData:4,EntityReference:5,EntityDeclaration:6,ProcessingInstruction:7,Comment:8,Document:9,DocType:10,DocumentFragment:11,NotationDeclaration:12,Declaration:201,Raw:202,AttributeDeclaration:203,ElementDeclaration:204,Dummy:205}}).call(this)},68954:(qe,ee,o)=>{"use strict";o.d(ee,{Z:()=>d});var a=o(99327),t=o(73664),u=o(91029),M=o(53349),v=o.n(M),r=o(84412),_=o(5964),h=o(21495),C=o(1734);const b=JSON.parse('{"chrome":{"major":121,"minor":0},"firefox":{"major":123,"minor":0},"android":{"major":145,"minor":0},"edge":{"major":121,"minor":0},"safari":{"major":17,"minor":4},"opera":{"major":107,"minor":0},"samsung":{"major":25,"minor":0}}');var D=o(2615),f=o(87870),O=o(84466);let d=(()=>{class L{constructor(se,Y,ne,U,T,I){this.locale=se,this._breakpointObserver=Y,this._router=U,this.window=I,this.supportedBrowsers=b,this.previouslyHadQueryParameters=!1,this.platform={unsupportedBrowser:!1,desktop:!1,tabletOrHandset:!1,tablet:!1,handset:!1,edge:!1,ie:!1,firefox:!1,safary:!1,columns4:!1,columns8:!1,columns12:!1,rtl:!1,ltr:!0,queryParameters:{},screenDirection:"ltr",hasOauthParameters:!1,social:!1,institutional:!1,currentRoute:"",reactivation:!1,reactivationCode:"",summaryScreen:!1},this.platformSubject=new r.t(this.platform),this.platform.rtl="ar"===se,this.platform.ltr=!this.platform.rtl,this.platform.screenDirection=this.platform.rtl?"rtl":"ltr",this.platform.queryParameters=this.getQueryParams(),this.platform.unsupportedBrowser=this.isUnsupportedBrowser(this.window.navigator.userAgent),this.platform.firefox=T.FIREFOX,this.platform.safary=T.SAFARI,this.platform.ie=T.TRIDENT,this.platform.edge=T.EDGE,this.platformSubject.next(this.platform),ne.queryParams.pipe((0,_.p)(w=>Object.keys(w).length>0||this.previouslyHadQueryParameters)).subscribe(()=>{this.previouslyHadQueryParameters=!0;const w=this.getQueryParams();this.platform.queryParameters=w;const Z=this.hasOauthParameters(),N=this.updateSocialState(w),oe=this.updatesInstitutionalState(w);(this.platform.hasOauthParameters!==Z||this.platform.social!==N||this.platform.institutional!==oe)&&this.platformSubject.next(this.platform)}),U.events.subscribe(w=>{w instanceof u.wF&&(this.platform.currentRoute=w.url,this.platformSubject.next(this.platform))}),this._breakpointObserver.observe([a.Rp.Handset]).subscribe(w=>{this.platform.handset=!!w.matches,this.platformSubject.next(this.platform)}),this._breakpointObserver.observe([a.Rp.Tablet]).subscribe(w=>{this.platform.tablet=!!w.matches,this.platformSubject.next(this.platform)}),this._breakpointObserver.observe([a.Rp.Handset,a.Rp.Tablet]).subscribe(w=>{w.matches?(this.platform.tabletOrHandset=!0,this.platform.desktop=!1):(this.platform.tabletOrHandset=!1,this.platform.desktop=!0),this.platformSubject.next(this.platform)}),this._breakpointObserver.observe(["(min-width: 839.99px)","(min-width: 599.99px)"]).subscribe(w=>{w.breakpoints["(min-width: 839.99px)"]?(this.platform.columns8=!1,this.platform.columns12=!0,this.platform.columns4=!1):w.breakpoints["(min-width: 599.99px)"]?(this.platform.columns8=!0,this.platform.columns12=!1,this.platform.columns4=!1):(this.platform.columns8=!1,this.platform.columns12=!1,this.platform.columns4=!0),this.platformSubject.next(this.platform)})}getBrowserKeyFromName(se){if(!se)return null;const Y=se.toLowerCase();return Y.includes("edge")?"edge":Y.includes("firefox")?"firefox":Y.includes("opera")||Y.includes("opr")?"opera":Y.includes("samsung")?"samsung":Y.includes("chrome")&&!Y.includes("edge")?"chrome":Y.includes("safari")&&!Y.includes("chrome")?"safari":Y.includes("trident")||Y.includes("msie")?"ie":null}isUnsupportedBrowser(se){try{const ne=v().getParser(se).getBrowser(),U=this.getBrowserKeyFromName(ne.name);if(!U)return!0;const T=this.supportedBrowsers[U];if(!T)return!0;const I=ne.version||"",[w,Z="0"]=I.split("."),N=parseInt(w||"",10),oe=parseInt(Z||"0",10);if(Number.isNaN(N))return!0;const H=T.major,ie=T.minor??0;return!(N>H)&&(N<H||(Number.isNaN(oe)?0:oe)<ie)}catch{return!0}}updateSocialState(se){const Y=this.platform.social;return this.platform.social=!!(se.hasOwnProperty("providerId")&&("facebook"===se.providerId||"google"===se.providerId)||this.window.location.pathname.toLowerCase().indexOf(h.Tu.social)>=0),Y}updatesInstitutionalState(se){const Y=this.platform.social;return this.platform.institutional=!!(se.hasOwnProperty("providerId")&&se.providerId&&"facebook"!==se.providerId&&"google"!==se.providerId||this._router.url.indexOf(h.Tu.institutional)>=0),Y}get(){return this.platform={...this.platform,hasOauthParameters:this.hasOauthParameters(),social:this.window.location.pathname.toLowerCase().indexOf("social-linking")>=0,institutional:this.window.location.pathname.toLowerCase().indexOf("institutional-linking")>=0||this.window.location.pathname.toLowerCase().indexOf("institutional-signin")>=0,reactivation:this.window.location.pathname.toLowerCase().indexOf("reactivation")>=0,reactivationCode:this.getReactivationCode(),summaryScreen:this.window.location.pathname.endsWith("/summary")}
3,this.platformSubject.next(this.platform),this.platformSubject.asObservable()}remove(){this.platform.social=!1,this.platform.institutional=!1,this.platformSubject.next(this.platform)}hasOauthParameters(){const se=this.platform.queryParameters;return!(!Object.keys(se).length||!(se.hasOwnProperty("client_id")||se.hasOwnProperty("redirect_uri")||se.hasOwnProperty("response_type")))}getQueryParams(){const se={},Y=this.window.location.search||"",ne=Y.startsWith("?")?Y.substring(1):Y;if(!ne)return se;for(const U of ne.split("&")){if(!U)continue;const[T,I=""]=U.split("=");if(!T)continue;const w=decodeURIComponent(T),Z=decodeURIComponent(I);se[w]=Z}return se}getCurrentRoute(){return this._router.url}getReactivationCode(){const se=window.location.href.split("/");return se[se.length-1]}static{this.\u0275fac=function(Y){return new(Y||L)(D.KVO(t.xe9),D.KVO(f.B),D.KVO(u.nX),D.KVO(u.Ix),D.KVO(O.P),D.KVO(C.jf))}}static{this.\u0275prov=D.jDH({token:L,factory:L.\u0275fac,providedIn:"root"})}}return L})()},70152:(qe,ee,o)=>{"use strict";o.d(ee,{B:()=>M});var a=o(43236),t=o(39974),u=o(54360);function M(v,r=a.E){return(0,t.N)((_,h)=>{let C=null,b=null,D=null;const f=()=>{if(C){C.unsubscribe(),C=null;const d=b;b=null,h.next(d)}};function O(){const d=D+v,L=r.now();if(L<d)return C=this.schedule(void 0,d-L),void h.add(C);f()}_.subscribe((0,u._)(h,d=>{b=d,D=r.now(),C||(C=r.schedule(O,v),h.add(C))},()=>{f(),h.complete()},void 0,()=>{b=C=null}))})}},70274:(qe,ee,o)=>{"use strict";o.d(ee,{H:()=>u});var a=o(31397),t=o(98071);function u(M,v){return(0,t.T)(v)?(0,a.Z)(M,v,1):(0,a.Z)(M,1)}},70980:(qe,ee,o)=>{"use strict";o.d(ee,{j:()=>t});var a=o(39974);function t(u){return(0,a.N)((M,v)=>{try{M.subscribe(v)}finally{v.add(u)}})}},71203:(qe,ee,o)=>{"use strict";o.d(ee,{F:()=>t,m:()=>u});var a=o(33669);function t(...M){return u(M)}function u(M){return 0===M.length?a.D:1===M.length?M[0]:function(r){return M.reduce((_,h)=>h(_),r)}}},71985:(qe,ee,o)=>{"use strict";o.d(ee,{c:()=>h});var a=o(47707),t=o(18359),u=o(3494),M=o(71203),v=o(41026),r=o(98071),_=o(49786);let h=(()=>{class f{constructor(d){d&&(this._subscribe=d)}lift(d){const L=new f;return L.source=this,L.operator=d,L}subscribe(d,L,E){const se=function D(f){return f&&f instanceof a.vU||function b(f){return f&&(0,r.T)(f.next)&&(0,r.T)(f.error)&&(0,r.T)(f.complete)}(f)&&(0,t.Uv)(f)}(d)?d:new a.Ms(d,L,E);return(0,_.Y)(()=>{const{operator:Y,source:ne}=this;se.add(Y?Y.call(se,ne):ne?this._subscribe(se):this._trySubscribe(se))}),se}_trySubscribe(d){try{return this._subscribe(d)}catch(L){d.error(L)}}forEach(d,L){return new(L=C(L))((E,se)=>{const Y=new a.Ms({next:ne=>{try{d(ne)}catch(U){se(U),Y.unsubscribe()}},error:se,complete:E});this.subscribe(Y)})}_subscribe(d){var L;return null===(L=this.source)||void 0===L?void 0:L.subscribe(d)}[u.s](){return this}pipe(...d){return(0,M.m)(d)(this)}toPromise(d){return new(d=C(d))((L,E)=>{let se;this.subscribe(Y=>se=Y,Y=>E(Y),()=>L(se))})}}return f.create=O=>new f(O),f})();function C(f){var O;return null!==(O=f??v.$.Promise)&&void 0!==O?O:Promise}},71997:(qe,ee,o)=>{"use strict";o.d(ee,{q:()=>v,w:()=>r});var a=o(73664),t=o(2615),u=o(14085),M=o(21715);let v=(()=>{class _{get vertical(){return this._vertical}set vertical(C){this._vertical=(0,u.he)(C)}_vertical=!1;get inset(){return this._inset}set inset(C){this._inset=(0,u.he)(C)}_inset=!1;static \u0275fac=function(b){return new(b||_)};static \u0275cmp=a.VBU({type:_,selectors:[["mat-divider"]],hostAttrs:["role","separator",1,"mat-divider"],hostVars:7,hostBindings:function(b,D){2&b&&(a.BMQ("aria-orientation",D.vertical?"vertical":"horizontal"),a.AVh("mat-divider-vertical",D.vertical)("mat-divider-horizontal",!D.vertical)("mat-divider-inset",D.inset))},inputs:{vertical:"vertical",inset:"inset"},decls:0,vars:0,template:function(b,D){},styles:[".mat-divider{display:block;margin:0;border-top-style:solid;border-top-color:var(--mat-divider-color, var(--mat-sys-outline));border-top-width:var(--mat-divider-width, 1px)}.mat-divider.mat-divider-vertical{border-top:0;border-right-style:solid;border-right-color:var(--mat-divider-color, var(--mat-sys-outline));border-right-width:var(--mat-divider-width, 1px)}.mat-divider.mat-divider-inset{margin-left:80px}[dir=rtl] .mat-divider.mat-divider-inset{margin-left:auto;margin-right:80px}\n"],encapsulation:2,changeDetection:0})}return _})(),r=(()=>{class _{static \u0275fac=function(b){return new(b||_)};static \u0275mod=a.$C({type:_});static \u0275inj=t.G2t({imports:[M.M,M.M]})}return _})()},72200:(qe,ee,o)=>{"use strict";o.d(ee,{B3:()=>ot,GH:()=>oi,Jj:()=>Mi,MD:()=>Qo,P9:()=>Jr,PV:()=>Kn,Pc:()=>Bn,Sq:()=>xt,T3:()=>yt,YU:()=>Hi,bT:()=>ke,e1:()=>le,fG:()=>Ve,fw:()=>r,lG:()=>ki,ux:()=>Tt,vh:()=>Ki});var a=o(2615),t=o(73664),u=o(17705),M=o(23597),v=o(57303);let r=(()=>{class he extends v.hb{_platformLocation;_baseHref="";_removeListenerFns=[];constructor(Re,tt){super(),this._platformLocation=Re,null!=tt&&(this._baseHref=tt)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(Re){this._removeListenerFns.push(this._platformLocation.onPopState(Re),this._platformLocation.on
3HashChange(Re))}getBaseHref(){return this._baseHref}path(Re=!1){const tt=this._platformLocation.hash??"#";return tt.length>0?tt.substring(1):tt}prepareExternalUrl(Re){const tt=(0,v.om)(this._baseHref,Re);return tt.length>0?"#"+tt:tt}pushState(Re,tt,Lt,nn){const _n=this.prepareExternalUrl(Lt+(0,v.Q)(nn))||this._platformLocation.pathname;this._platformLocation.pushState(Re,tt,_n)}replaceState(Re,tt,Lt,nn){const _n=this.prepareExternalUrl(Lt+(0,v.Q)(nn))||this._platformLocation.pathname;this._platformLocation.replaceState(Re,tt,_n)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(Re=0){this._platformLocation.historyGo?.(Re)}static \u0275fac=function(tt){return new(tt||he)(a.KVO(v.Vw),a.KVO(v.kB,8))};static \u0275prov=a.jDH({token:he,factory:he.\u0275fac})}return he})();var b=function(he){return he[he.Format=0]="Format",he[he.Standalone=1]="Standalone",he}(b||{}),D=function(he){return he[he.Narrow=0]="Narrow",he[he.Abbreviated=1]="Abbreviated",he[he.Wide=2]="Wide",he[he.Short=3]="Short",he}(D||{}),f=function(he){return he[he.Short=0]="Short",he[he.Medium=1]="Medium",he[he.Long=2]="Long",he[he.Full=3]="Full",he}(f||{});function I(he,Et){return xe((0,t.kBR)(he)[t.NSC.DateFormat],Et)}function w(he,Et){return xe((0,t.kBR)(he)[t.NSC.TimeFormat],Et)}function Z(he,Et){return xe((0,t.kBR)(he)[t.NSC.DateTimeFormat],Et)}function N(he,Et){const Re=(0,t.kBR)(he),tt=Re[t.NSC.NumberSymbols][Et];if(typeof tt>"u"){if(12===Et)return Re[t.NSC.NumberSymbols][0];if(13===Et)return Re[t.NSC.NumberSymbols][1]}return tt}function we(he){if(!he[t.NSC.ExtraData])throw new a.buA(2303,!1)}function xe(he,Et){for(let Re=Et;Re>-1;Re--)if(typeof he[Re]<"u")return he[Re];throw new a.buA(2304,!1)}function De(he){const[Et,Re]=he.split(":");return{hours:+Et,minutes:+Re}}const ae=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,X={},$=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;function K(he,Et,Re,tt){let Lt=function Rn(he){if(Gn(he))return he;if("number"==typeof he&&!isNaN(he))return new Date(he);if("string"==typeof he){if(he=he.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(he)){const[Lt,nn=1,_n=1]=he.split("-").map(Tn=>+Tn);return Ye(Lt,nn-1,_n)}const Re=parseFloat(he);if(!isNaN(he-Re))return new Date(Re);let tt;if(tt=he.match(ae))return function Dn(he){const Et=new Date(0);let Re=0,tt=0;const Lt=he[8]?Et.setUTCFullYear:Et.setFullYear,nn=he[8]?Et.setUTCHours:Et.setHours;he[9]&&(Re=Number(he[9]+he[10]),tt=Number(he[9]+he[11])),Lt.call(Et,Number(he[1]),Number(he[2])-1,Number(he[3]));const _n=Number(he[4]||0)-Re,Tn=Number(he[5]||0)-tt,hi=Number(he[6]||0),ai=Math.floor(1e3*parseFloat("0."+(he[7]||0)));return nn.call(Et,_n,Tn,hi,ai),Et}(tt)}const Et=new Date(he);if(!Gn(Et))throw new a.buA(2302,!1);return Et}(he);Et=Se(Re,Et)||Et;let Tn,_n=[];for(;Et;){if(Tn=$.exec(Et),!Tn){_n.push(Et);break}{_n=_n.concat(Tn.slice(1));const Ei=_n.pop();if(!Ei)break;Et=Ei}}let hi=Lt.getTimezoneOffset();tt&&(hi=Ct(tt,hi),Lt=function ln(he,Et){const Lt=he.getTimezoneOffset();return function Wt(he,Et){return(he=new Date(he.getTime())).setMinutes(he.getMinutes()+Et),he}(he,-1*(Ct(Et,Lt)-Lt))}(Lt,tt));let ai="";return _n.forEach(Ei=>{const _i=function Ke(he){if(ze[he])return ze[he];let Et;switch(he){case"G":case"GG":case"GGG":Et=R(3,D.Abbreviated);break;case"GGGG":Et=R(3,D.Wide);break;case"GGGGG":Et=R(3,D.Narrow);break;case"y":Et=me(0,1,0,!1,!0);break;case"yy":Et=me(0,2,0,!0,!0);break;case"yyy":Et=me(0,3,0,!1,!0);break;case"yyyy":Et=me(0,4,0,!1,!0);break;case"Y":Et=Ne(1);break;case"YY":Et=Ne(2,!0);break;case"YYY":Et=Ne(3);break;case"YYYY":Et=Ne(4);break;case"M":case"L":Et=me(1,1,1);break;case"MM":case"LL":Et=me(1,2,1);break;case"MMM":Et=R(2,D.Abbreviated);break;case"MMMM":Et=R(2,D.Wide);break;case"MMMMM":Et=R(2,D.Narrow);break;case"LLL":Et=R(2,D.Abbreviated,b.Standalone);break;case"LLLL":Et=R(2,D.Wide,b.Standalone);break;case"LLLLL":Et=R(2,D.Narrow,b.Standalone);break;case"w":Et=At(1);break;case"ww":Et=At(2);break;case"W":Et=At(1,!0);break;case"d":Et=me(2,1);break;case"dd":Et=me(2,2);break;case"c":case"cc":Et=me(7,1);break;case"ccc":Et=R(1,D.Abbreviated,b.Standalone);break;case"cccc":Et=R(1,D.Wide,b.Standalone);break;case"ccccc":Et=R(1,D.Narrow,b.Standalone);break;case"cccccc":Et=R(1,D.Short,b.Standalone);break;case"E":case"EE":case"EEE":Et=R(1,D.Abbreviated);break;case"EEEE":Et=R(1,D.Wide);break;case"EEEEE":Et=R(1,D.Narrow);break;case"EEEEEE":Et=R(1,D.Short);break;case"a":case"aa":case"aaa":Et=R(0,D.Abbreviated);break;case"aaaa":Et=R(0,D.Wide);break;case"aaaaa":Et=R(0,D.Narrow);break;
3case"b":case"bb":case"bbb":Et=R(0,D.Abbreviated,b.Standalone,!0);break;case"bbbb":Et=R(0,D.Wide,b.Standalone,!0);break;case"bbbbb":Et=R(0,D.Narrow,b.Standalone,!0);break;case"B":case"BB":case"BBB":Et=R(0,D.Abbreviated,b.Format,!0);break;case"BBBB":Et=R(0,D.Wide,b.Format,!0);break;case"BBBBB":Et=R(0,D.Narrow,b.Format,!0);break;case"h":Et=me(3,1,-12);break;case"hh":Et=me(3,2,-12);break;case"H":Et=me(3,1);break;case"HH":Et=me(3,2);break;case"m":Et=me(4,1);break;case"mm":Et=me(4,2);break;case"s":Et=me(5,1);break;case"ss":Et=me(5,2);break;case"S":Et=me(6,1);break;case"SS":Et=me(6,2);break;case"SSS":Et=me(6,3);break;case"Z":case"ZZ":case"ZZZ":Et=ce(0);break;case"ZZZZZ":Et=ce(3);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":Et=ce(1);break;case"OOOO":case"ZZZZ":case"zzzz":Et=ce(2);break;default:return null}return ze[he]=Et,Et}(Ei);ai+=_i?_i(Lt,Re,hi):"''"===Ei?"'":Ei.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),ai}function Ye(he,Et,Re){const tt=new Date(0);return tt.setFullYear(he,Et,Re),tt.setHours(0,0,0),tt}function Se(he,Et){const Re=function L(he){return(0,t.kBR)(he)[t.NSC.LocaleId]}(he);if(X[Re]??={},X[Re][Et])return X[Re][Et];let tt="";switch(Et){case"shortDate":tt=I(he,f.Short);break;case"mediumDate":tt=I(he,f.Medium);break;case"longDate":tt=I(he,f.Long);break;case"fullDate":tt=I(he,f.Full);break;case"shortTime":tt=w(he,f.Short);break;case"mediumTime":tt=w(he,f.Medium);break;case"longTime":tt=w(he,f.Long);break;case"fullTime":tt=w(he,f.Full);break;case"short":const Lt=Se(he,"shortTime"),nn=Se(he,"shortDate");tt=pt(Z(he,f.Short),[Lt,nn]);break;case"medium":const _n=Se(he,"mediumTime"),Tn=Se(he,"mediumDate");tt=pt(Z(he,f.Medium),[_n,Tn]);break;case"long":const hi=Se(he,"longTime"),ai=Se(he,"longDate");tt=pt(Z(he,f.Long),[hi,ai]);break;case"full":const Ei=Se(he,"fullTime"),_i=Se(he,"fullDate");tt=pt(Z(he,f.Full),[Ei,_i])}return tt&&(X[Re][Et]=tt),tt}function pt(he,Et){return Et&&(he=he.replace(/\{([^}]+)}/g,function(Re,tt){return null!=Et&&tt in Et?Et[tt]:Re})),he}function Ge(he,Et,Re="-",tt,Lt){let nn="";(he<0||Lt&&he<=0)&&(Lt?he=1-he:(he=-he,nn=Re));let _n=String(he);for(;_n.length<Et;)_n="0"+_n;return tt&&(_n=_n.slice(_n.length-Et)),nn+_n}function me(he,Et,Re=0,tt=!1,Lt=!1){return function(nn,_n){let Tn=function J(he,Et){switch(he){case 0:return Et.getFullYear();case 1:return Et.getMonth();case 2:return Et.getDate();case 3:return Et.getHours();case 4:return Et.getMinutes();case 5:return Et.getSeconds();case 6:return Et.getMilliseconds();case 7:return Et.getDay();default:throw new a.buA(2301,!1)}}(he,nn);if((Re>0||Tn>-Re)&&(Tn+=Re),3===he)0===Tn&&-12===Re&&(Tn=12);else if(6===he)return function bt(he,Et){return Ge(he,3).substring(0,Et)}(Tn,Et);const hi=N(_n,5);return Ge(Tn,Et,hi,tt,Lt)}}function R(he,Et,Re=b.Format,tt=!1){return function(Lt,nn){return function x(he,Et,Re,tt,Lt,nn){switch(Re){case 2:return function Y(he,Et,Re){const tt=(0,t.kBR)(he),nn=xe([tt[t.NSC.MonthsFormat],tt[t.NSC.MonthsStandalone]],Et);return xe(nn,Re)}(Et,Lt,tt)[he.getMonth()];case 1:return function se(he,Et,Re){const tt=(0,t.kBR)(he),nn=xe([tt[t.NSC.DaysFormat],tt[t.NSC.DaysStandalone]],Et);return xe(nn,Re)}(Et,Lt,tt)[he.getDay()];case 0:const _n=he.getHours(),Tn=he.getMinutes();if(nn){const ai=function at(he){const Et=(0,t.kBR)(he);return we(Et),(Et[t.NSC.ExtraData][2]||[]).map(tt=>"string"==typeof tt?De(tt):[De(tt[0]),De(tt[1])])}(Et),Ei=function Xe(he,Et,Re){const tt=(0,t.kBR)(he);we(tt);const nn=xe([tt[t.NSC.ExtraData][0],tt[t.NSC.ExtraData][1]],Et)||[];return xe(nn,Re)||[]}(Et,Lt,tt),_i=ai.findIndex(Ji=>{if(Array.isArray(Ji)){const[Si,Vi]=Ji,ri=_n>=Si.hours&&Tn>=Si.minutes,li=_n<Vi.hours||_n===Vi.hours&&Tn<Vi.minutes;if(Si.hours<Vi.hours){if(ri&&li)return!0}else if(ri||li)return!0}else if(Ji.hours===_n&&Ji.minutes===Tn)return!0;return!1});if(-1!==_i)return Ei[_i]}return function E(he,Et,Re){const tt=(0,t.kBR)(he),nn=xe([tt[t.NSC.DayPeriodsFormat],tt[t.NSC.DayPeriodsStandalone]],Et);return xe(nn,Re)}(Et,Lt,tt)[_n<12?0:1];case 3:return function ne(he,Et){return xe((0,t.kBR)(he)[t.NSC.Eras],Et)}(Et,tt)[he.getFullYear()<=0?0:1];default:throw new a.buA(2302,!1)}}(Lt,nn,he,Et,Re,tt)}}function ce(he){return function(Et,Re,tt){const Lt=-1*tt,nn=N(Re,5),_n=Lt>0?Math.floor(Lt/60):Math.ceil(Lt/60);switch(he){case 0:return(Lt>=0?"+":"")+Ge(_n,2,nn)+Ge(Math.abs(Lt%60),2,nn);case 1:return"GMT"+(Lt>=0?"+":"")+Ge(_n,1,nn);case 2:return"GMT"+(Lt>=0?"+":"")+Ge(_n,2,nn)+":"+Ge(Math.abs(Lt%60),2,nn);case 3:return 0===tt?"Z":(Lt>=0?"+":"")+Ge(_n,2,nn)+":"+Ge(Math.abs(Lt%60),2,nn);default:throw new a.buA(2302,!1)}}}const Pe=0,pe=4;function Qe(he){const Et=he.getDay(),Re=0===Et?-3:pe-Et;return Ye(he.getFullYear(),he.getMonth(),he.getDate()+Re)}function At(he,Et=!1){return function(Re,tt){let Lt;if(Et){const nn=new Date(Re.getFullYear(),Re.getMonth(),1).getDay()-1,_n=Re.getDate();Lt=1+Math.floor((_n+nn)/7)}else{const nn=Qe(Re),_n=function st(he){const Et=Ye(he,Pe,1).getDay();return Ye(he,0,1+(Et<=pe?pe:pe+7)-Et)}(nn.getFullYear()),Tn=nn.getTime()-_n.getTime();Lt=1+Math.round(Tn/6048e5)}return Ge(Lt,he,N(tt,5))}}function Ne(he,Et=!1){return function(Re,tt){return Ge(Qe(Re).getFullYear(),he,N(tt,5),Et)}}const ze={};function Ct(he,Et){he=he.replace(/:/g,"");const Re=Date.parse("Jan 01, 1970 00:00:00 "+he)/6e4;return isNaN(Re)?Et:Re}function Gn(he){return he instanceof Date&&!isNaN(he.valueOf())}const vi=/\s+/,Ai=[];let Hi=(()=>{class he{_ngEl;_renderer;initialClasses=Ai;rawClass;stateMap=new Map;constructor(Re,tt){this._ngEl=Re,this._renderer=tt}set klass(Re){this.initialClasses=null!=Re?Re.trim().split(vi):Ai}set ngClass(Re){this.rawClass="string"==typeof Re?Re.trim().split(vi):Re}ngDoCheck(){for(const tt of this.initialClasses)this._updateState(tt,!0);const Re=this.rawClass;if(Array.isArray(Re)||Re instanceof Set)for(const tt of Re)this._updateState(tt,!0);else if(null!=Re)for(const tt of Object.keys(Re))this._updateState(tt,!!Re[tt]);this._applyStateDiff()}_updateState(Re,tt){const Lt=this.stateMap.get(Re);void 0!==Lt?(Lt.enabled!==tt&&(Lt.changed=!0,Lt.enabled=tt),Lt.touched=!0):this.stateMap.set(Re,{enabled:tt,changed:!0,touched:!0})}_applyStateDiff(){for(const Re of this.stateMap){const tt=Re[0],Lt=Re[1];Lt.changed?(this._toggleClass(tt,Lt.enabled),Lt.changed=!1):Lt.touched||(Lt.enabled&&this._toggleClass(tt,!1),this.stateMap.delete(tt)),Lt.touched=!1}}_toggleClass(Re,tt){(Re=Re.trim()).length>
30&&Re.split(vi).forEach(Lt=>{tt?this._renderer.addClass(this._ngEl.nativeElement,Lt):this._renderer.removeClass(this._ngEl.nativeElement,Lt)})}static \u0275fac=function(tt){return new(tt||he)(t.rXU(t.aKT),t.rXU(t.sFG))};static \u0275dir=t.FsC({type:he,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}})}return he})();class Qi{$implicit;ngForOf;index;count;constructor(Et,Re,tt,Lt){this.$implicit=Et,this.ngForOf=Re,this.index=tt,this.count=Lt}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let xt=(()=>{class he{_viewContainer;_template;_differs;set ngForOf(Re){this._ngForOf=Re,this._ngForOfDirty=!0}set ngForTrackBy(Re){this._trackByFn=Re}get ngForTrackBy(){return this._trackByFn}_ngForOf=null;_ngForOfDirty=!0;_differ=null;_trackByFn;constructor(Re,tt,Lt){this._viewContainer=Re,this._template=tt,this._differs=Lt}set ngForTemplate(Re){Re&&(this._template=Re)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const Re=this._ngForOf;!this._differ&&Re&&(this._differ=this._differs.find(Re).create(this.ngForTrackBy))}if(this._differ){const Re=this._differ.diff(this._ngForOf);Re&&this._applyChanges(Re)}}_applyChanges(Re){const tt=this._viewContainer;Re.forEachOperation((Lt,nn,_n)=>{if(null==Lt.previousIndex)tt.createEmbeddedView(this._template,new Qi(Lt.item,this._ngForOf,-1,-1),null===_n?void 0:_n);else if(null==_n)tt.remove(null===nn?void 0:nn);else if(null!==nn){const Tn=tt.get(nn);tt.move(Tn,_n),Me(Tn,Lt)}});for(let Lt=0,nn=tt.length;Lt<nn;Lt++){const Tn=tt.get(Lt).context;Tn.index=Lt,Tn.count=nn,Tn.ngForOf=this._ngForOf}Re.forEachIdentityChange(Lt=>{Me(tt.get(Lt.currentIndex),Lt)})}static ngTemplateContextGuard(Re,tt){return!0}static \u0275fac=function(tt){return new(tt||he)(t.rXU(t.c1b),t.rXU(t.C4Q),t.rXU(u._q3))};static \u0275dir=t.FsC({type:he,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}})}return he})();function Me(he,Et){he.context.$implicit=Et.item}let ke=(()=>{class he{_viewContainer;_context=new _t;_thenTemplateRef=null;_elseTemplateRef=null;
3_thenViewRef=null;_elseViewRef=null;constructor(Re,tt){this._viewContainer=Re,this._thenTemplateRef=tt}set ngIf(Re){this._context.$implicit=this._context.ngIf=Re,this._updateView()}set ngIfThen(Re){wt(Re),this._thenTemplateRef=Re,this._thenViewRef=null,this._updateView()}set ngIfElse(Re){wt(Re),this._elseTemplateRef=Re,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngIfUseIfTypeGuard;static ngTemplateGuard_ngIf;static ngTemplateContextGuard(Re,tt){return!0}static \u0275fac=function(tt){return new(tt||he)(t.rXU(t.c1b),t.rXU(t.C4Q))};static \u0275dir=t.FsC({type:he,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}})}return he})();class _t{$implicit=null;ngIf=null}function wt(he,Et){if(he&&!he.createEmbeddedView)throw new a.buA(2020,!1)}class Je{_viewContainerRef;_templateRef;_created=!1;constructor(Et,Re){this._viewContainerRef=Et,this._templateRef=Re}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(Et){Et&&!this._created?this.create():!Et&&this._created&&this.destroy()}}let Tt=(()=>{class he{_defaultViews=[];_defaultUsed=!1;_caseCount=0;_lastCaseCheckIndex=0;_lastCasesMatched=!1;_ngSwitch;set ngSwitch(Re){this._ngSwitch=Re,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(Re){this._defaultViews.push(Re)}_matchCase(Re){const tt=Re===this._ngSwitch;return this._lastCasesMatched||=tt,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),tt}_updateDefaultCases(Re){if(this._defaultViews.length>0&&Re!==this._defaultUsed){this._defaultUsed=Re;for(const tt of this._defaultViews)tt.enforceState(Re)}}static \u0275fac=function(tt){return new(tt||he)};static \u0275dir=t.FsC({type:he,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"}})}return he})(),le=(()=>{class he{ngSwitch;_view;ngSwitchCase;constructor(Re,tt,Lt){this.ngSwitch=Lt,Lt._addCase(),this._view=new Je(Re,tt)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}static \u0275fac=function(tt){return new(tt||he)(t.rXU(t.c1b),t.rXU(t.C4Q),t.rXU(Tt,9))};static \u0275dir=t.FsC({type:he,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}})}return he})(),Ve=(()=>{class he{constructor(Re,tt,Lt){Lt._addDefault(new Je(Re,tt))}static \u0275fac=function(tt){return new(tt||he)(t.rXU(t.c1b),t.rXU(t.C4Q),t.rXU(Tt,9))};static \u0275dir=t.FsC({type:he,selectors:[["","ngSwitchDefault",""]]})}return he})(),ot=(()=>{class he{_ngEl;_differs;_renderer;_ngStyle=null;_differ=null;constructor(Re,tt,Lt){this._ngEl=Re,this._differs=tt,this._renderer=Lt}set ngStyle(Re){this._ngStyle=Re,!this._differ&&Re&&(this._differ=this._differs.find(Re).create())}ngDoCheck(){if(this._differ){const Re=this._differ.diff(this._ngStyle);Re&&this._applyChanges(Re)}}_setStyle(Re,tt){const[Lt,nn]=Re.split("."),_n=-1===Lt.indexOf("-")?void 0:t.czy.DashCase;null!=tt?this._renderer.setStyle(this._ngEl.nativeElement,Lt,nn?`${tt}${nn}`:tt,_n):this._renderer.removeStyle(this._ngEl.nativeElement,Lt,_n)}_applyChanges(Re){Re.forEachRemovedItem(tt=>this._setStyle(tt.key,null)),Re.forEachAddedItem(tt=>this._setStyle(tt.key,tt.currentValue)),Re.forEachChangedItem(tt=>this._setStyle(tt.key,tt.currentValue))}static \u0275fac=function(tt){return new(tt||he)(t.rXU(t.aKT),t.rXU(u.MKu),t.rXU(t.sFG))};static \u0275dir=t.FsC({type:he,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}})}return he})(),yt=(()=>{class he{_viewContainerRef;_viewRef=null;ngTemplateOutletContext=null;ngTemplateOutlet=null;ngTemplateOutletInjector=null;
3constructor(Re){this._viewContainerRef=Re}ngOnChanges(Re){if(this._shouldRecreateView(Re)){const tt=this._viewContainerRef;if(this._viewRef&&tt.remove(tt.indexOf(this._viewRef)),!this.ngTemplateOutlet)return void(this._viewRef=null);const Lt=this._createContextForwardProxy();this._viewRef=tt.createEmbeddedView(this.ngTemplateOutlet,Lt,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(Re){return!!Re.ngTemplateOutlet||!!Re.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(Re,tt,Lt)=>!!this.ngTemplateOutletContext&&Reflect.set(this.ngTemplateOutletContext,tt,Lt),get:(Re,tt,Lt)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,tt,Lt)}})}static \u0275fac=function(tt){return new(tt||he)(t.rXU(t.c1b))};static \u0275dir=t.FsC({type:he,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[t.OA$]})}return he})();function Xt(he,Et){return new a.buA(2100,!1)}class gn{createSubscription(Et,Re,tt){return(0,M.O8)(()=>Et.subscribe({next:Re,error:tt}))}dispose(Et){(0,M.O8)(()=>Et.unsubscribe())}}class kn{createSubscription(Et,Re,tt){return Et.then(Lt=>Re?.(Lt),Lt=>tt?.(Lt)),{unsubscribe:()=>{Re=null,tt=null}}}dispose(Et){Et.unsubscribe()}}const bn=new kn,pi=new gn;let Mi=(()=>{class he{_ref;_latestValue=null;markForCheckOnValueUpdate=!0;_subscription=null;_obj=null;_strategy=null;applicationErrorHandler=(0,a.WQX)(a.ZTf);constructor(Re){this._ref=Re}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(Re){if(!this._obj){if(Re)try{this.markForCheckOnValueUpdate=!1,this._subscribe(Re)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return Re!==this._obj?(this._dispose(),this.transform(Re)):this._latestValue}_subscribe(Re){this._obj=Re,this._strategy=this._selectStrategy(Re),this._subscription=this._strategy.createSubscription(Re,tt=>this._updateLatestValue(Re,tt),tt=>this.applicationErrorHandler(tt))}_selectStrategy(Re){if((0,t.yLl)(Re))return bn;if((0,t.cdK)(Re))return pi;throw Xt()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(Re,tt){Re===this._obj&&(this._latestValue=tt,this.markForCheckOnValueUpdate&&this._ref?.markForCheck())}static \u0275fac=function(tt){return new(tt||he)(t.rXU(u.gRc,16))};static \u0275pipe=t.EJ8({name:"async",type:he,pure:!1})}return he})(),oi=(()=>{class he{transform(Re){if(null==Re)return null;if("string"!=typeof Re)throw Xt();return Re.toLowerCase()}static \u0275fac=function(tt){return new(tt||he)};static \u0275pipe=t.EJ8({name:"lowercase",type:he,pure:!0})}return he})();const Fi=/(?:[0-9A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u
30EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF40\uDF42-\uDF49\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD23\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF1C\uDF27\uDF30-\uDF45\uDF70-\uDF81\uDFB0-\uDFC4\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC71\uDC72\uDC75\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDEB8\uDF00-\uDF1A\uDF40-\uDF46]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCDF\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEB0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDEE0-\uDEF2\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE70-\uDEBE\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE7F\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD837[\uDF00-\uDF1E]|\uD838[\uDD00-\uDD2C\uDD37-\uDD3D\uDD4E\uDE90-\uDEAD\uDEC0-\uDEEB]|\uD839[\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43\uDD4B]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF38\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A])\S*/g;let Kn=(()=>{class he{transform(Re){if(null==Re)return null;if("string"!=typeof Re)throw Xt();return Re.replace(Fi,tt=>tt[0].toUpperCase()+tt.slice(1).toLowerCase())}static \u0275fac=function(tt){return new(tt||he)};static \u0275pipe=t.EJ8({name:"titlecase",type:he,pure:!0})}return he})(),Bn=(()=>{class he{transform(Re){if(null==Re)return null;if("string"!=typeof Re)throw Xt();return Re.toUpperCase()}static \u0275fac=function(tt){return new(tt||he)};static \u0275pipe=t.EJ8({name:"uppercase",type:he,pure:!0})}return he})();const Ii=new a.nKC(""),zn=new a.nKC("");let Ki=(()=>{class he{locale;defaultTimezone;defaultOptions;constructor(Re,tt,Lt){this.locale=Re,this.defaultTimezone=tt,this.defaultOptions=Lt}transform(Re,tt,Lt,nn){if(null==Re||""===Re||Re!=Re)return null;try{return K(Re,tt??this.defaultOptions?.dateFormat??"mediumDate",nn||this.locale,Lt??this.defaultOptions?.timezone??this.defaultTimezone??void 0)}catch(_n){throw Xt()}}static \u0275fac=function(tt){return new(tt||he)(t.rXU(t.xe9,16),t.rXU(Ii,24),t.rXU(zn,24))};static \u0275pipe=t.EJ8({name:"date",type:he,pure:!0})}return he})(),ki=(()=>{class he{differs;constructor(Re){this.differs=Re}differ;keyValues=[];compareFn=gi;
3transform(Re,tt=gi){if(!Re||!(Re instanceof Map)&&"object"!=typeof Re)return null;this.differ??=this.differs.find(Re).create();const Lt=this.differ.diff(Re),nn=tt!==this.compareFn;return Lt&&(this.keyValues=[],Lt.forEachItem(_n=>{this.keyValues.push(function sr(he,Et){return{key:he,value:Et}}(_n.key,_n.currentValue))})),(Lt||nn)&&(tt&&this.keyValues.sort(tt),this.compareFn=tt),this.keyValues}static \u0275fac=function(tt){return new(tt||he)(t.rXU(u.MKu,16))};static \u0275pipe=t.EJ8({name:"keyvalue",type:he,pure:!1})}return he})();function gi(he,Et){const Re=he.key,tt=Et.key;if(Re===tt)return 0;if(null==Re)return 1;if(null==tt)return-1;if("string"==typeof Re&&"string"==typeof tt)return Re<tt?-1:1;if("number"==typeof Re&&"number"==typeof tt)return Re-tt;if("boolean"==typeof Re&&"boolean"==typeof tt)return Re<tt?-1:1;const Lt=String(Re),nn=String(tt);return Lt==nn?0:Lt<nn?-1:1}let Jr=(()=>{class he{transform(Re,tt,Lt){if(null==Re)return null;if("string"!=typeof Re&&!Array.isArray(Re))throw Xt();return Re.slice(tt,Lt)}static \u0275fac=function(tt){return new(tt||he)};static \u0275pipe=t.EJ8({name:"slice",type:he,pure:!1})}return he})(),Qo=(()=>{class he{static \u0275fac=function(tt){return new(tt||he)};static \u0275mod=t.$C({type:he});static \u0275inj=a.G2t({})}return he})()},72318:(qe,ee,o)=>{"use strict";o.d(ee,{w5:()=>_});var a=o(2615),t=o(73664);let M=(()=>{class h{create(b){return typeof MutationObserver>"u"?null:new MutationObserver(b)}static \u0275fac=function(D){return new(D||h)};static \u0275prov=a.jDH({token:h,factory:h.\u0275fac,providedIn:"root"})}return h})(),_=(()=>{class h{static \u0275fac=function(D){return new(D||h)};static \u0275mod=t.$C({type:h});static \u0275inj=a.G2t({providers:[M]})}return h})()},73530:(qe,ee,o)=>{"use strict";o.d(ee,{fg:()=>T,fS:()=>I});var a=o(14085),t=o(84466),u=o(36860),M=o(37403),v=o(73664),r=o(2615),_=o(23597),h=o(17705),C=o(88511),b=o(89417),D=o(21413);const f=new r.nKC("MAT_INPUT_VALUE_ACCESSOR");var O=o(55549),d=o(1798),L=o(75483),E=o(13360),se=o(21715);const ne=["button","checkbox","file","hidden","image","radio","range","reset","submit"],U=new r.nKC("MAT_INPUT_CONFIG");let T=(()=>{class w{_elementRef=(0,r.WQX)(v.aKT);_platform=(0,r.WQX)(t.P);ngControl=(0,r.WQX)(b.vO,{optional:!0,self:!0});_autofillMonitor=(0,r.WQX)(M.P8);_ngZone=(0,r.WQX)(v.SKi);_formField=(0,r.WQX)(O.h,{optional:!0});_renderer=(0,r.WQX)(v.sFG);_uid=(0,r.WQX)(C._).getId("mat-input-");_previousNativeValue;_inputValueAccessor;_signalBasedValueAccessor;_previousPlaceholder;_errorStateTracker;_config=(0,r.WQX)(U,{optional:!0});_cleanupIosKeyup;_cleanupWebkitWheel;_isServer;_isNativeSelect;_isTextarea;_isInFormField;focused=!1;stateChanges=new D.B;controlType="mat-input";autofilled=!1;get disabled(){return this._disabled}set disabled(N){this._disabled=(0,a.he)(N),this.focused&&(this.focused=!1,this.stateChanges.next())}_disabled=!1;get id(){return this._id}set id(N){this._id=N||this._uid}_id;placeholder;name;get required(){return this._required??this.ngControl?.control?.hasValidator(b.k0.required)??!1}set required(N){this._required=(0,a.he)(N)}_required;get type(){return this._type}set type(N){this._type=N||"text",this._validateType(),!this._isTextarea&&(0,u.MU)().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}_type="text";get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(N){this._errorStateTracker.matcher=N}userAriaDescribedBy;get value(){return this._signalBasedValueAccessor?this._signalBasedValueAccessor.value():this._inputValueAccessor.value}set value(N){N!==this.value&&(this._signalBasedValueAccessor?this._signalBasedValueAccessor.value.set(N):this._inputValueAccessor.value=N,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(N){this._readonly=(0,a.he)(N)}_readonly=!1;disabledInteractive;get errorState(){return this._errorStateTracker.errorState}set errorState(N){this._errorStateTracker.errorState=N}_neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(N=>(0,u.MU)().has(N));constructor(){const N=(0,r.WQX)(b.cV,{optional:!0}),oe=(0,r.WQX)(b.j4,{optional:!0}),H=(0,r.WQX)(d.E),ie=(0,r.WQX)(f,{optional:!0,self:!0}),Ce=this._elementRef.nativeElement,Ue=Ce.nodeName.toLowerCase();ie?(0,r.Hps)(ie.value)?this._signalBasedValueAccessor=ie:this._inputValueAccessor=ie:this._inputValueAccessor=Ce,this._previousNativeValue=this.value,this.id=this.id,this._platform.IOS&&this._ngZone.runOutsideAngular(()=>{this._cleanupIosKeyup=this._renderer.listen(Ce,"keyup",this._iOSKeyupListener)}),this._errorStateTracker=new L._(H,this.ngControl,oe,N,this.stateChanges),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===Ue,this._isTextarea="textarea"===Ue,this._isInFormField=!!this._formField,this.disabledInteractive=this._config?.disabledInteractive||!1,this._isNativeSelect&&(this.controlType=Ce.multiple?"mat-native-select-multiple":"mat-native-select"),this._signalBasedValueAccessor&&(0,_.QZ)(()=>{this._signalBasedValueAccessor.value(),this.stateChanges.next()})}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(N=>{this.autofilled=N.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement),this._cleanupIosKeyup?.(),this._cleanupWebkitWheel?.()}ngDoCheck(){this.ngControl&&(this.updateErrorState(),null!==this.ngControl.disabled&&this.ngControl.disabled!==this.disabled&&(this.disabled=this.ngControl.disabled,this.stateChanges.next())),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(N){this._elementRef.nativeElement.focus(N)}updateErrorState(){this._errorStateTracker.updateErrorState()}_focusChanged(N){if(N!==this.focused){if(!this._isNativeSelect&&N&&this.disabled&&this.disabledInteractive){const oe=this._elementRef.nativeElement;"number"===oe.type?(oe.type="text",oe.setSelectionRange(0,0),oe.type="number"):oe.setSelectionRange(0,0)}this.focused=N,this.stateChanges.next()}}_onInput(){}_dirtyCheckNativeValue(){const N=this._elementRef.nativeElement.value;this._previousNativeValue!==N&&(this._previousNativeValue=N,this.stateChanges.next())}_dirtyCheckPlaceholder(){const N=this._getPlaceholder();if(N!==this._previousPlaceholder){const oe=this._elementRef.nativeElement;this._previousPlaceholder=N,N?oe.setAttribute("placeholder",N):oe.removeAttribute("placeholder")}}_getPlaceholder(){return this.placeholder||null}_validateType(){ne.indexOf(this._type)}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let N=this._elementRef.nativeElement.validity;
3return N&&N.badInput}get empty(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}get shouldLabelFloat(){if(this._isNativeSelect){const N=this._elementRef.nativeElement,oe=N.options[0];return this.focused||N.multiple||!this.empty||!!(N.selectedIndex>-1&&oe&&oe.label)}return this.focused&&!this.disabled||!this.empty}get describedByIds(){return this._elementRef.nativeElement.getAttribute("aria-describedby")?.split(" ")||[]}setDescribedByIds(N){const oe=this._elementRef.nativeElement;N.length?oe.setAttribute("aria-describedby",N.join(" ")):oe.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){const N=this._elementRef.nativeElement;return this._isNativeSelect&&(N.multiple||N.size>1)}_iOSKeyupListener=N=>{const oe=N.target;!oe.value&&0===oe.selectionStart&&0===oe.selectionEnd&&(oe.setSelectionRange(1,1),oe.setSelectionRange(0,0))};_getReadonlyAttribute(){return this._isNativeSelect?null:this.readonly||this.disabled&&this.disabledInteractive?"true":null}static \u0275fac=function(oe){return new(oe||w)};static \u0275dir=v.FsC({type:w,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-mdc-input-element"],hostVars:21,hostBindings:function(oe,H){1&oe&&v.bIt("focus",function(){return H._focusChanged(!0)})("blur",function(){return H._focusChanged(!1)})("input",function(){return H._onInput()}),2&oe&&(v.Avn("id",H.id)("disabled",H.disabled&&!H.disabledInteractive)("required",H.required),v.BMQ("name",H.name||null)("readonly",H._getReadonlyAttribute())("aria-disabled",H.disabled&&H.disabledInteractive?"true":null)("aria-invalid",H.empty&&H.required?null:H.errorState)("aria-required",H.required)("id",H.id),v.AVh("mat-input-server",H._isServer)("mat-mdc-form-field-textarea-control",H._isInFormField&&H._isTextarea)("mat-mdc-form-field-input-control",H._isInFormField)("mat-mdc-input-disabled-interactive",H.disabledInteractive)("mdc-text-field__input",H._isInFormField)("mat-mdc-native-select-inline",H._isInlineSelect()))},inputs:{disabled:"disabled",id:"id",placeholder:"placeholder",name:"name",required:"required",type:"type",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:[0,"aria-describedby","userAriaDescribedBy"],value:"value",readonly:"readonly",disabledInteractive:[2,"disabledInteractive","disabledInteractive",h.L39]},exportAs:["matInput"],features:[v.Jv_([{provide:O.k,useExisting:w}]),v.OA$]})}return w})(),I=(()=>{class w{static \u0275fac=function(oe){return new(oe||w)};static \u0275mod=v.$C({type:w});static \u0275inj=r.G2t({imports:[se.M,E.M,E.M,M.EE,se.M]})}return w})()},73664:(qe,ee,o)=>{"use strict";o.d(ee,{$C:()=>Vh,$Ln:()=>QE,AVh:()=>Lg,Ab1:()=>Bl,Agw:()=>Mn,Avn:()=>Eg,B1s:()=>Kl,B4B:()=>Wi,BIS:()=>Xn,BMQ:()=>og,C4Q:()=>hc,C5r:()=>av,C6U:()=>JO,C7A:()=>wE,Co$:()=>jh,DH7:()=>xM,DNE:()=>Um,DkB:()=>Mg,Dyx:()=>OO,E5c:()=>kg,EBC:()=>Uc,EFF:()=>EM,EJ8:()=>Xh,FsC:()=>zh,FuF:()=>Sm,G5x:()=>Xv,GBs:()=>YO,H1s:()=>tO,HbH:()=>cM,Hgh:()=>fg,JRh:()=>xg,Jt5:()=>yO,Jv_:()=>jM,KED:()=>Gy,Lme:()=>Fg,NAR:()=>zO,NCX:()=>fc,NOj:()=>Td,NSC:()=>Cu,NYb:()=>qC,NyB:()=>eM,OA$:()=>Xe,OR8:()=>sl,Ocv:()=>_1,Ol2:()=>H_,PLl:()=>
3En,PLo:()=>bg,PYC:()=>sa,PYt:()=>Gh,PeT:()=>Gm,QTQ:()=>Ms,Ql9:()=>a1,R50:()=>Bg,R7$:()=>Ot,RPW:()=>Vl,RV6:()=>CO,SKi:()=>Wr,SdG:()=>XO,SdI:()=>Av,SpI:()=>gp,TFI:()=>op,Ts$:()=>Pv,UQu:()=>o1,V5L:()=>Dv,VBU:()=>Wh,VeQ:()=>zi,VkB:()=>$M,Vt3:()=>Le,VwU:()=>Sg,VzW:()=>xm,WPN:()=>vn,XpG:()=>VO,Xx1:()=>E,Y8G:()=>dg,YEm:()=>Vt,YFu:()=>yg,Z7z:()=>EO,Zhj:()=>W_,_9s:()=>ha,_9u:()=>gt,_jY:()=>Ns,_qm:()=>oi,_ys:()=>bE,a8H:()=>Z_,aCM:()=>fo,aKT:()=>Bn,ai1:()=>UM,bIt:()=>Ag,bMT:()=>rv,bVm:()=>tf,bc$:()=>ci,bkB:()=>$l,brH:()=>sv,c1b:()=>fu,cDI:()=>fC,cZr:()=>Hg,cdK:()=>qE,cf$:()=>Xm,czy:()=>un,d80:()=>l1,dOL:()=>YE,e6s:()=>r0,eHC:()=>_u,eq3:()=>zM,eu8:()=>pg,eux:()=>dp,fX1:()=>gO,gXe:()=>qo,giA:()=>ZE,gil:()=>Ca,hnC:()=>Am,i5U:()=>ov,iLQ:()=>nO,iWE:()=>va,j41:()=>ap,k04:()=>WO,k0s:()=>lp,kBR:()=>Og,kS0:()=>le,kdw:()=>Y,l4e:()=>ZM,lJ4:()=>VM,lJT:()=>iO,l_i:()=>XM,lsd:()=>ZO,mGM:()=>QO,mNQ:()=>BM,mU9:()=>j_,mal:()=>yE,mxI:()=>$g,n$t:()=>Zl,nI1:()=>iv,nI4:()=>Qv,nM4:()=>si,nVh:()=>pO,nnv:()=>jO,npT:()=>Xi,nrm:()=>_g,o8S:()=>rp,ozJ:()=>D_,p2i:()=>Rc,pXf:()=>GO,phd:()=>tb,pl0:()=>nb,qex:()=>up,rAh:()=>Ic,rOR:()=>zn,rXU:()=>Ka,rj2:()=>cp,s1E:()=>QM,sFG:()=>hh,sMw:()=>HM,sZ2:()=>Zt,sdS:()=>tM,sgu:()=>Im,tSv:()=>ec,uP7:()=>Dg,uiO:()=>U,utN:()=>nm,vDg:()=>Oh,vxM:()=>mO,w6W:()=>wm,wEZ:()=>qO,wjB:()=>WM,wni:()=>HO,wr$:()=>ft,xGo:()=>_t,xc7:()=>Ng,xe9:()=>Iv,yLl:()=>JE,ypd:()=>ib,ziG:()=>YM,ziy:()=>CE,zoo:()=>vE});var a=o(10467),t=o(2615),u=o(48440),M=o(21413),v=o(18359),r=o(96354);function _(e){return{toString:e}.toString()}const h="__annotations__",C="__parameters__",b="__prop__metadata__";function D(e,n,i,s,c){return _(()=>{const g=f(n);function y(...F){if(this instanceof y)return g.call(this,...F),this;const j=new y(...F);return function(Fe){return c&&c(Fe,...F),(Fe.hasOwnProperty(h)?Fe[h]:Object.defineProperty(Fe,h,{value:[]})[h]).push(j),Fe}}return i&&(y.prototype=Object.create(i.prototype)),y.prototype.ngMetadataName=e,y.annotationCls=y,y})}function f(e){return function(...i){if(e){const s=e(...i);for(const c in s)this[c]=s[c]}}}function O(e,n,i){return _(()=>{const s=f(n);function c(...g){if(this instanceof c)return s.apply(this,g),this;const y=new c(...g);return F.annotation=y,F;function F(j,Oe,Fe){const dt=j.hasOwnProperty(C)?j[C]:Object.defineProperty(j,C,{value:[]})[C];for(;dt.length<=Fe;)dt.push(null);return(dt[Fe]=dt[Fe]||[]).push(y),j}}return c.prototype.ngMetadataName=e,c.annotationCls=c,c})}const L=(0,t.z6V)(O("Inject",e=>({token:e})),-1),E=(0,t.z6V)(O("Optional"),8),se=(0,t.z6V)(O("Self"),2),Y=(0,t.z6V)(O("SkipSelf"),4),ne=(0,t.z6V)(O("Host"),1);function U(e){const n=t.laP.ng;if(n&&n.\u0275compilerFacade)return n.\u0275compilerFacade;throw new Error("JIT compiler unavailable")}const T={\u0275\u0275defineInjectable:t.jDH,\u0275\u0275defineInjector:t.G2t,\u0275\u0275inject:t.KVO,\u0275\u0275invalidFactoryDep:t.dmw,resolveForwardRef:t.nl4},I=Function;function w(e){return"function"==typeof e}const Z=/^function\s+\S+\(\)\s*{[\s\S]+\.apply\(this,\s*(arguments|(?:[^()]+\(\[\],)?[^()]+\(arguments\).*)\)/,N=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{/,oe=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(/,H=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(\)\s*{[^}]*super\(\.\.\.arguments\)/;class Ce{_reflect;constructor(n){this._reflect=n||t.laP.Reflect}factory(n){return(...i)=>new n(...i)}_zipTypesAndAnnotations(n,i){let s;s=(0,t.WfI)(typeof n>"u"?i.length:n.length);for(let c=0;c<s.length;c++)s[c]=typeof n>"u"?[]:n[c]&&n[c]!=Object?[n[c]]:[],i&&null!=i[c]&&(s[c]=s[c].concat(i[c]));return s}_ownParameters(n,i){if(function ie(e){return Z.test(e)||H.test(e)||N.test(e)&&!oe.test(e)}(n.toString()))return null;if(n.parameters&&n.parameters!==i.parameters)return n.parameters;const c=n.ctorParameters;if(c&&c!==i.ctorParameters){const F="function"==typeof c?c():c,j=F.map(Fe=>Fe&&Fe.type),Oe=F.map(Fe=>Fe&&Ue(Fe.decorators));return this._zipTypesAndAnnotations(j,Oe)}const g=n.hasOwnProperty(C)&&n[C],y=this._reflect&&this._reflect.getOwnMetadata&&this._reflect.getOwnMetadata("design:paramtypes",n);return y||g?this._zipTypesAndAnnotations(y,g):(0,t.WfI)(n.length)}
3parameters(n){if(!w(n))return[];const i=nt(n);let s=this._ownParameters(n,i);return!s&&i!==Object&&(s=this.parameters(i)),s||[]}_ownAnnotations(n,i){if(n.annotations&&n.annotations!==i.annotations){let s=n.annotations;return"function"==typeof s&&s.annotations&&(s=s.annotations),s}return n.decorators&&n.decorators!==i.decorators?Ue(n.decorators):n.hasOwnProperty(h)?n[h]:null}annotations(n){if(!w(n))return[];const i=nt(n),s=this._ownAnnotations(n,i)||[];return(i!==Object?this.annotations(i):[]).concat(s)}_ownPropMetadata(n,i){if(n.propMetadata&&n.propMetadata!==i.propMetadata){let s=n.propMetadata;return"function"==typeof s&&s.propMetadata&&(s=s.propMetadata),s}if(n.propDecorators&&n.propDecorators!==i.propDecorators){const s=n.propDecorators,c={};return Object.keys(s).forEach(g=>{c[g]=Ue(s[g])}),c}return n.hasOwnProperty(b)?n[b]:null}propMetadata(n){if(!w(n))return{};const i=nt(n),s={};if(i!==Object){const g=this.propMetadata(i);Object.keys(g).forEach(y=>{s[y]=g[y]})}const c=this._ownPropMetadata(n,i);return c&&Object.keys(c).forEach(g=>{const y=[];s.hasOwnProperty(g)&&y.push(...s[g]),y.push(...c[g]),s[g]=y}),s}ownPropMetadata(n){return w(n)&&this._ownPropMetadata(n,nt(n))||{}}hasLifecycleHook(n,i){return n instanceof I&&i in n.prototype}}function Ue(e){return e?e.map(n=>new(0,n.type.annotationCls)(...n.args?n.args:[])):[]}function nt(e){const n=e.prototype?Object.getPrototypeOf(e.prototype):null;return(n?n.constructor:null)||Object}class we{previousValue;currentValue;firstChange;constructor(n,i,s){this.previousValue=n,this.currentValue=i,this.firstChange=s}isFirstChange(){return this.firstChange}}function at(e,n,i,s){null!==n?n.applyValueToInputSignal(n,s):e[i]=s}const Xe=(()=>{const e=()=>et;return e.ngInherit=!0,e})();function et(e){return e.type.prototype.ngOnChanges&&(e.setInput=De),xe}function xe(){const e=z(this),n=e?.current;if(n){const i=e.previous;if(i===t.MZA)e.previous=n;else for(let s in n)i[s]=n[s];e.current=null,this.ngOnChanges(n)}}function De(e,n,i,s,c){const g=this.declaredInputs[s],y=z(e)||function de(e,n){return e[ue]=n}(e,{previous:t.MZA,current:null}),F=y.current||(y.current={}),j=y.previous,Oe=j[g];F[g]=new we(Oe&&Oe.currentValue,i,j===t.MZA),at(e,n,c,i)}const ue="__ngSimpleChanges__";function z(e){return e[ue]||null}const ae=[],Be=function(e,n=null,i){for(let s=0;s<ae.length;s++)(0,ae[s])(e,n,i)};function Se(e,n){for(let i=n.directiveStart,s=n.directiveEnd;i<s;i++){const g=e.data[i].type.prototype,{ngAfterContentInit:y,ngAfterContentChecked:F,ngAfterViewInit:j,ngAfterViewChecked:Oe,ngOnDestroy:Fe}=g;y&&(e.contentHooks??=[]).push(-i,y),F&&((e.contentHooks??=[]).push(i,F),(e.contentCheckHooks??=[]).push(i,F)),j&&(e.viewHooks??=[]).push(-i,j),Oe&&((e.viewHooks??=[]).push(i,Oe),(e.viewCheckHooks??=[]).push(i,Oe)),null!=Fe&&(e.destroyHooks??=[]).push(i,Fe)}}function pt(e,n,i){me(e,n,3,i)}function Ge(e,n,i,s){(3&e[t.Wg1])===i&&me(e,n,i,s)}function bt(e,n){let i=e[t.Wg1];(3&i)===n&&(i&=16383,i+=1,e[t.Wg1]=i)}function me(e,n,i,s){const g=s??-1,y=n.length-1;let F=0;for(let j=void 0!==s?65535&e[t.wVl]:0;j<y;j++)if("number"==typeof n[j+1]){if(F=n[j],null!=s&&F>=s)break}else n[j]<0&&(e[t.wVl]+=65536),(F<g||-1==g)&&(R(e,i,n,j),e[t.wVl]=(4294901760&e[t.wVl])+j+2),j++}function J(e,n){Be(4,e,n);const i=(0,u.Ht)(null);try{n.call(e)}finally{(0,u.Ht)(i),Be(5,e,n)}}function R(e,n,i,s){const c=i[s]<0,g=i[s+1],F=e[c?-i[s]:i[s]];c?e[t.Wg1]>>14<e[t.wVl]>>16&&(3&e[t.Wg1])===n&&(e[t.Wg1]+=16384,J(F,g)):J(F,g)}const x=-1;class ce{factory;name;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(n,i,s,c){this.factory=n,this.name=c,this.canSeeViewProviders=i,this.injectImpl=s}}function pe(e){return null!=e&&"object"==typeof e&&(null===e.insertBeforeIndex||"number"==typeof e.insertBeforeIndex||Array.isArray(e.insertBeforeIndex))}function Ct(e){return 3===e||4===e||6===e}function Wt(e){return 64===e.charCodeAt(0)}function ln(e,n){if(null!==n&&0!==n.length)if(null===e||0===e.length)e=n.slice();else{let i=-1;for(let s=0;s<n.length;s++){const c=n[s];"number"==typeof c?i=c:0===i||Rn(e,i,c,0,-1===i||2===i?n[++s]:null)}}return e}function Rn(e,n,i,s,c){let g=0,y=e.length;if(-1===n)y=-1;else for(;g<e.length;){const F=e[g++];if("number"==typeof F){if(F===n){y=-1;break}if(F>n){y=g-1;break}}}for(;g<e.length;){const F=e[g];if("number"==typeof F)break;if(F===i)return void(null!==c&&(e[g+1]=c));g++,null!==c&&g++}-1!==y&&(e.splice(y,0,n),g=y+1),e.splice(g++,0,i),null!==c&&e.splice(g++,0,c)}function Dn(e){return e!==x}function Gn(e){return 32767&e}function ui(e,n){let i=function Yn(e){return e>>16}(e),s=n;for(;i>0;)s=s[t.X5O],i--;return s}let ti=!0;function $t(e){const n=ti;return ti=e,n}const mt=255,Ze=5;let Nt=0;const vt={};function ht(e,n){const i=It(e,n);if(-1!==i)return i;const s=n[t.eDl];s.firstCreatePass&&(e.injectorIndex=n.length,Ae(s.data,e),Ae(n,null),Ae(s.blueprint,null));const c=Mt(e,n),g=e.injectorIndex;if(Dn(c)){const y=Gn(c),F=ui(c,n),j=F[t.eDl].data;for(let Oe=0;Oe<8;Oe++)n[g+Oe]=F[y+Oe]|j[y+Oe]}return n[g+8]=c,g}function Ae(e,n){e.push(0,0,0,0,0,0,0,0,n)}function It(e,n){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===n[e.injectorIndex+8]?-1:e.injectorIndex}function Mt(e,n){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let i=0,s=null,c=n;for(;null!==c;){if(s=Tt(c),null===s)return x;if(i++,c=c[t.X5O],-1!==s.injectorIndex)return s.injectorIndex|i<<16}return x}function on(e,n,i){!function $e(e,n,i){let s;"string"==typeof i?s=i.charCodeAt(0)||0:i.hasOwnProperty(t.p9y)&&(s=i[t.p9y]),null==s&&(s=i[t.p9y]=Nt++);const c=s&mt;n.data[e+(c>>Ze)]|=1<<c}(e,n,i)}function hn(e,n,i){if(8&i||void 0!==e)return e;(0,t.$Hz)(n,"NodeInjector")}function Cn(e,n,i,s){if(8&i&&void 0===s&&(s=null),!(3&i)){const c=e[t.YEL],g=(0,t.a2B)(void 0);try{return c?c.get(n,s,8&i):(0,t.MzJ)(n,s,8&i)}finally{(0,t.a2B)(g)}}return hn(s,n,i)}function Sn(e,n,i,s=0,c){if(null!==e){if(2048&n[t.Wg1]&&!(2&s)){const y=function Je(e,n,i,s,c){let g=e,y=n;for(;null!==g&&null!==y&&2048&y[t.Wg1]&&!(0,t.EFk)(y);){const F=ni(g,y,i,2|s,vt);
3if(F!==vt)return F;let j=g.parent;if(!j){const Oe=y[t.oMQ];if(Oe){const Fe=Oe.get(i,vt,s);if(Fe!==vt)return Fe}j=Tt(y),y=y[t.X5O]}g=j}return c}(e,n,i,s,vt);if(y!==vt)return y}const g=ni(e,n,i,s,vt);if(g!==vt)return g}return Cn(n,i,s,c)}function ni(e,n,i,s,c){const g=function tr(e){if("string"==typeof e)return e.charCodeAt(0)||0;const n=e.hasOwnProperty(t.p9y)?e[t.p9y]:void 0;return"number"==typeof n?n>=0?n&mt:ke:n}(i);if("function"==typeof g){if(!(0,t.ihb)(n,e,s))return 1&s?hn(c,i,s):Cn(n,i,s,c);try{let y;if(y=g(s),null!=y||8&s)return y;(0,t.$Hz)(i)}finally{(0,t.niQ)()}}else if("number"==typeof g){let y=null,F=It(e,n),j=x,Oe=1&s?n[t.b5C][t.qlT]:null;for((-1===F||4&s)&&(j=-1===F?Mt(e,n):n[F+8],j!==x&&Qi(s,!1)?(y=n[t.eDl],F=Gn(j),n=ui(j,n)):F=-1);-1!==F;){const Fe=n[t.eDl];if(Yi(g,F,Fe.data)){const dt=wi(F,n,i,y,s,Oe);if(dt!==vt)return dt}j=n[F+8],j!==x&&Qi(s,n[t.eDl].data[F+8]===Oe)&&Yi(g,F,n)?(y=Fe,F=Gn(j),n=ui(j,n)):F=-1}}return c}function wi(e,n,i,s,c,g){const y=n[t.eDl],F=y.data[e+8],Fe=vi(F,y,i,null==s?(0,t.Qs1)(F)&&ti:s!=y&&!!(3&F.type),1&c&&g===F);return null!==Fe?Hi(n,y,Fe,F,c):vt}function vi(e,n,i,s,c){const g=e.providerIndexes,y=n.data,F=1048575&g,j=e.directiveStart,Fe=g>>20,Pt=c?F+Fe:e.directiveEnd;for(let Rt=s?F:F+Fe;Rt<Pt;Rt++){const en=y[Rt];if(Rt<j&&i===en||Rt>=j&&en.type===i)return Rt}if(c){const Rt=y[j];if(Rt&&(0,t.JlV)(Rt)&&Rt.type===i)return j}return null}function Hi(e,n,i,s,c){let g=e[i];const y=n.data;if(g instanceof ce){const F=g;if(F.resolving){const Rt=(0,t.PP7)(y[i]);throw(0,t.PQT)(Rt)}const j=$t(F.canSeeViewProviders);F.resolving=!0;const dt=F.injectImpl?(0,t.a2B)(F.injectImpl):null;(0,t.ihb)(e,s,0);try{g=e[i]=F.factory(void 0,c,y,e,s),n.firstCreatePass&&i>=s.directiveStart&&function Ye(e,n,i){const{ngOnChanges:s,ngOnInit:c,ngDoCheck:g}=n.type.prototype;if(s){const y=et(n);(i.preOrderHooks??=[]).push(e,y),(i.preOrderCheckHooks??=[]).push(e,y)}c&&(i.preOrderHooks??=[]).push(0-e,c),g&&((i.preOrderHooks??=[]).push(e,g),(i.preOrderCheckHooks??=[]).push(e,g))}(i,y[i],n)}finally{null!==dt&&(0,t.a2B)(dt),$t(j),F.resolving=!1,(0,t.niQ)()}}return g}function Yi(e,n,i){return!!(i[n+(e>>Ze)]&1<<e)}function Qi(e,n){return!(2&e||1&e&&n)}class _e{_tNode;_lView;constructor(n,i){this._tNode=n,this._lView=i}get(n,i,s){return Sn(this._tNode,this._lView,n,(0,t.hjC)(s),i)}}function ke(){return new _e((0,t.Mx4)(),(0,t.OAn)())}function _t(e){return _(()=>{const n=e.prototype.constructor,i=n[t.zSs]||wt(n),s=Object.prototype;let c=Object.getPrototypeOf(e.prototype).constructor;for(;c&&c!==s;){const g=c[t.zSs]||wt(c);if(g&&g!==i)return g;c=Object.getPrototypeOf(c)}return g=>new g})}function wt(e){return(0,t.Jzi)(e)?()=>{const n=wt((0,t.nl4)(e));return n&&n()}:(0,t.wGu)(e)}function Tt(e){const n=e[t.eDl],i=n.type;return 2===i?n.declTNode:1===i?e[t.qlT]:null}function le(e){return function Gt(e,n){if("class"===n)return e.classes;if("style"===n)return e.styles;const i=e.attrs;if(i){const s=i.length;let c=0;for(;c<s;){const g=i[c];if(Ct(g))break;if(0===g)c+=2;else if("number"==typeof g)for(c++;c<s&&"string"==typeof i[c];)c++;else{if(g===n)return i[c+1];c+=2}}}return null}((0,t.Mx4)(),e)}const Ve=O("Attribute",e=>({attributeName:e,__NG_ELEMENT_ID__:()=>le(e)}));let Te=null;function Jt(e){return ot(function Ht(){return Te=Te||new Ce}().parameters(e))}function ot(e){return e.map(n=>function yt(e){const n={token:null,attribute:null,host:!1,optional:!1,self:!1,skipSelf:!1};if(Array.isArray(e)&&e.length>0)for(let i=0;i<e.length;i++){const s=e[i];if(void 0===s)continue;const c=Object.getPrototypeOf(s);if(s instanceof E||"Optional"===c.ngMetadataName)n.optional=!0;else if(s instanceof Y||"SkipSelf"===c.ngMetadataName)n.skipSelf=!0;else if(s instanceof se||"Self"===c.ngMetadataName)n.self=!0;else if(s instanceof ne||"Host"===c.ngMetadataName)n.host=!0;else if(s instanceof L)n.token=s.token;else if(s instanceof Ve){if(void 0===s.attributeName)throw new t.buA(204,!1);n.attribute=s.attributeName}else n.token=s}else n.token=void 0===e||Array.isArray(e)&&0===e.length?null:e;return n}(n))}const Xt=(0,t.kLh)({provide:String,useValue:t.kLh});function gn(e){return void 0!==e.useClass}function bn(e){return void 0!==e.useFactory}const oi=D("Injectable",void 0,void 0,0,(e,n)=>function Ut(e,n){let i=null,s=null;e.hasOwnProperty(t.yAH)||Object.defineProperty(e,t.yAH,{get:()=>(null===i&&(i=U().compileInjectable(T,`ng:///${e.name}/\u0275prov.js`,function Mi(e,n){const i=n||{providedIn:null},s={name:e.name,type:e,typeArgumentCount:0,providedIn:i.providedIn};return(gn(i)||bn(i))&&void 0!==i.deps&&(s.deps=ot(i.deps)),gn(i)?s.useClass=i.useClass:function kn(e){return Xt in e}(i)?s.useValue=i.useValue:bn(i)?s.useFactory=i.useFactory:function pi(e){return void 0!==e.useExisting}(i)&&(s.useExisting=i.useExisting),s}(e,n))),i)}),e.hasOwnProperty(t.zSs)||Object.defineProperty(e,t.zSs,{get:()=>{if(null===s){const c=U();s=c.compileFactory(T,`ng:///${e.name}/\u0275fac.js`,{name:e.name,type:e,typeArgumentCount:0,deps:Jt(e),target:c.FactoryTarget.Injectable})}return s},configurable:!0})}(e,n));function Fi(){return Kn((0,t.Mx4)(),(0,t.OAn)())}function Kn(e,n){return new Bn((0,t.d31)(e,n))}let Bn=(()=>class e{nativeElement;constructor(i){this.nativeElement=i}static __NG_ELEMENT_ID__=Fi})();function Pi(e){return e instanceof Bn?e.nativeElement:e}function Ii(){return this._results[Symbol.iterator]()}class zn{_emitDistinctChangesOnly;dirty=!0;_onDirty=void 0;_results=[];_changesDetected=!1;_changes=void 0;length=0;first=void 0;last=void 0;get changes(){return this._changes??=new M.B}constructor(n=!1){this._emitDistinctChangesOnly=n}get(n){return this._results[n]}map(n){return this._results.map(n)}filter(n){return this._results.filter(n)}find(n){return this._results.find(n)}reduce(n,i){return this._results.reduce(n,i)}
3forEach(n){this._results.forEach(n)}some(n){return this._results.some(n)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(n,i){this.dirty=!1;const s=(0,t.Bqz)(n);(this._changesDetected=!(0,t.ng7)(this._results,s,i))&&(this._results=s,this.length=s.length,this.last=s[this.length-1],this.first=s[0])}notifyOnChanges(){void 0!==this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.next(this)}onDirty(n){this._onDirty=n}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){void 0!==this._changes&&(this._changes.complete(),this._changes.unsubscribe())}[Symbol.iterator]=Ii}function Ci(e){return!(128&~e.flags)}var gi=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(gi||{});const Zi=new Map;let mr=0;function Jr(e){Zi.delete(e[t.ID])}const tt="__ngContext__";function Lt(e,n){(0,t.q$2)(n)?(e[tt]=n[t.ID],function yn(e){Zi.set(e[t.ID],e)}(n)):e[tt]=n}function fr(e){return ir(e[t.EJG])}function Mr(e){return ir(e[t.K29])}function ir(e){for(;null!==e&&!(0,t.A0l)(e);)e=e[t.K29];return e}let Ie;function gt(e){Ie=e}function Vt(){if(void 0!==Ie)return Ie;if(typeof document<"u")return document;throw new t.buA(210,!1)}const Zt=new t.nKC("",{providedIn:"root",factory:()=>an}),an="ng",En=new t.nKC(""),Mn=new t.nKC("",{providedIn:"platform",factory:()=>"unknown"}),ci=new t.nKC(""),Xn=new t.nKC("",{providedIn:"root",factory:()=>Vt().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null}),Gi={breakpoints:[16,32,48,64,96,128,256,384,640,750,828,1080,1200,1920,2048,3840],placeholderResolution:30,disableImageSizeWarning:!1,disableImageLazyLoadWarning:!1},zi=new t.nKC("",{providedIn:"root",factory:()=>Gi});function eo(){const e=new rr;return e.store=function kr(e,n){const i=e.getElementById(n+"-state");if(i?.textContent)try{return JSON.parse(i.textContent)}catch(s){console.warn("Exception while restoring TransferState for app "+n,s)}return{}}(Vt(),(0,t.WQX)(Zt)),e}let rr=(()=>{class e{static \u0275prov=(0,t.jDH)({token:e,providedIn:"root",factory:eo});store={};onSerializeCallbacks={};get(i,s){return void 0!==this.store[i]?this.store[i]:s}set(i,s){this.store[i]=s}remove(i){delete this.store[i]}hasKey(i){return this.store.hasOwnProperty(i)}get isEmpty(){return 0===Object.keys(this.store).length}onSerialize(i,s){this.onSerializeCallbacks[i]=s}toJson(){for(const i in this.onSerializeCallbacks)if(this.onSerializeCallbacks.hasOwnProperty(i))try{this.store[i]=this.onSerializeCallbacks[i]()}catch(s){console.warn("Exception in onSerialize callback: ",s)}return JSON.stringify(this.store).replace(/</g,"\\u003C")}}return e})();const Io="r",Zo="di",Dt=new t.nKC("",{providedIn:"root",factory:()=>!1}),Ls=new t.nKC(""),Mo={passive:!0,capture:!0},ma=new WeakMap,vo=new WeakMap,Wo=new WeakMap,xs=["click","keydown"],zr=["mouseenter","mouseover","focusin"];let Ko=null,ds=0;class ao{callbacks=new Set;listener=()=>{for(const n of this.callbacks)n()}}function ys(e,n){let i=vo.get(e);if(!i){i=new ao,vo.set(e,i);for(const s of xs)e.addEventListener(s,i.listener,Mo)}return i.callbacks.add(n),()=>{const{callbacks:s,listener:c}=i;if(s.delete(n),0===s.size){vo.delete(e);for(const g of xs)e.removeEventListener(g,c,Mo)}}}function za(e,n){let i=ma.get(e);if(!i){i=new ao,ma.set(e,i);for(const s of zr)e.addEventListener(s,i.listener,Mo)}return i.callbacks.add(n),()=>{const{callbacks:s,listener:c}=i;if(s.delete(n),0===s.size){for(const g of zr)e.removeEventListener(g,c,Mo);ma.delete(e)}}}let ea=(e,n,i,s)=>{};const lo=new t.nKC("");function No(e){return!(32&~e.flags)}let Ta=()=>null;function Br(e,n,i=!1){return Ta(e,n,i)}function Lo(e){let n=e._lView;return 2===n[t.eDl].type?null:((0,t.EFk)(n)&&(n=n[t.Yw1]),n)}function _l(e,n){const i=e.contentQueries;if(null!==i){const s=(0,u.Ht)(null);try{for(let c=0;c<i.length;c+=2){const y=i[c+1];if(-1!==y){const F=e.data[y];(0,t.GA0)(i[c]),F.contentQueries(2,n[y],y)}}}finally{(0,u.Ht)(s)}}}function rt(e,n,i){(0,t.GA0)(0);const s=(0,u.Ht)(null);try{n(e,i)}finally{(0,u.Ht)(s)}}function Us(e,n,i){if((0,t.srX)(n)){const s=(0,u.Ht)(null);try{const g=n.directiveEnd;for(let y=n.directiveStart;y<g;y++){const F=e.data[y];F.contentQueries&&F.contentQueries(1,i[y],y)}}finally{(0,u.Ht)(s)}}}var qo=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(qo||{});let _o,Ra;function Ti(){if(void 0===_o&&(_o=null,t.laP.trustedTypes))try{_o=t.laP.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return _o}function ra(e){return Ti()?.createHTML(e)||e}function fs(){if(void 0===Ra&&(Ra=null,t.laP.trustedTypes))try{Ra=t.laP.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Ra}function Ma(e){return fs()?.createHTML(e)||e}function jl(e){return fs()?.createScript(e)||e}function Wl(e){return fs()?.createScriptURL(e)||e}class oa{changingThisBreaksApplicationSecurity;constructor(n){this.changingThisBreaksApplicationSecurity=n}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${t.ok8})`}}class Ac extends oa{getTypeName(){return"HTML"}}class xo extends oa{getTypeName(){return"Style"}}
3class Sc extends oa{getTypeName(){return"Script"}}class Tc extends oa{getTypeName(){return"URL"}}class Pc extends oa{getTypeName(){return"ResourceURL"}}function fo(e){return e instanceof oa?e.changingThisBreaksApplicationSecurity:e}function va(e,n){const i=function Ps(e){return e instanceof oa&&e.getTypeName()||null}(e);if(null!=i&&i!==n){if("ResourceURL"===i&&"URL"===n)return!0;throw new Error(`Required a safe ${n}, got a ${i} (see ${t.ok8})`)}return i===n}function sa(e){return new Ac(e)}function Ic(e){return new xo(e)}function Rc(e){return new Sc(e)}function Kl(e){return new Tc(e)}function Vl(e){return new Pc(e)}function hs(e){const n=new hl(e);return function Xo(){try{return!!(new window.DOMParser).parseFromString(ra(""),"text/html")}catch{return!1}}()?new fl(n):n}class fl{inertDocumentHelper;constructor(n){this.inertDocumentHelper=n}getInertBodyElement(n){n="<body><remove></remove>"+n;try{const i=(new window.DOMParser).parseFromString(ra(n),"text/html").body;return null===i?this.inertDocumentHelper.getInertBodyElement(n):(i.firstChild?.remove(),i)}catch{return null}}}class hl{defaultDoc;inertDocument;constructor(n){this.defaultDoc=n,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(n){const i=this.inertDocument.createElement("template");return i.innerHTML=ra(n),i}}const Nc=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Ca(e){return(e=String(e)).match(Nc)?e:"unsafe:"+e}function es(e){const n={};for(const i of e.split(","))n[i]=!0;return n}function Na(...e){const n={};for(const i of e)for(const s in i)i.hasOwnProperty(s)&&(n[s]=!0);return n}const zl=es("area,br,col,hr,img,wbr"),Xl=es("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Ja=es("rp,rt"),aa=Na(zl,Na(Xl,es("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),Na(Ja,es("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),Na(Ja,Xl)),la=es("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Hl=Na(la,es("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),es("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext")),ts=es("script,style,template");class Yl{sanitizedSomething=!1;buf=[];sanitizeChildren(n){let i=n.firstChild,s=!0,c=[];for(;i;)if(i.nodeType===Node.ELEMENT_NODE?s=this.startElement(i):i.nodeType===Node.TEXT_NODE?this.chars(i.nodeValue):this.sanitizedSomething=!0,s&&i.firstChild)c.push(i),i=Ql(i);else for(;i;){i.nodeType===Node.ELEMENT_NODE&&this.endElement(i);let g=Ho(i);if(g){i=g;break}i=c.pop()}return this.buf.join("")}startElement(n){const i=ml(n).toLowerCase();if(!aa.hasOwnProperty(i))return this.sanitizedSomething=!0,!ts.hasOwnProperty(i);this.buf.push("<"),this.buf.push(i);const s=n.attributes;for(let c=0;c<s.length;c++){const g=s.item(c),y=g.name,F=y.toLowerCase();if(!Hl.hasOwnProperty(F)){this.sanitizedSomething=!0;continue}let j=g.value;la[F]&&(j=Ca(j)),this.buf.push(" ",y,'="',W(j),'"')}return this.buf.push(">"),!0}endElement(n){const i=ml(n).toLowerCase();aa.hasOwnProperty(i)&&!zl.hasOwnProperty(i)&&(this.buf.push("</"),this.buf.push(i),this.buf.push(">"))}chars(n){this.buf.push(W(n))}}function Ho(e){const n=e.nextSibling;if(n&&e!==n.previousSibling)throw gl(n);return n}function Ql(e){const n=e.firstChild;if(n&&function Gs(e,n){return(e.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}(e,n))throw gl(n);return n}function ml(e){const n=e.nodeName;return"string"==typeof n?n:"FORM"}function gl(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}const La=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,js=/([^\#-~ |!])/g;function W(e){return e.replace(/&/g,"&").replace(La,function(n){return"&#"+(1024*(n.charCodeAt(0)-55296)+(n.charCodeAt(1)-56320)+65536)+";"}).replace(js,function(n){return"&#"+n.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}let be;function ft(e,n){let i=null;try{be=be||hs(e);let s=n?String(n):"";i=be.getInertBodyElement(s);let c=5,g=s;do{if(0===c)throw new Error("Failed to sanitize html because the input is unstable");
3c--,s=g,g=i.innerHTML,i=be.getInertBodyElement(s)}while(s!==g);return ra((new Yl).sanitizeChildren(Qt(i)||i))}finally{if(i){const s=Qt(i)||i;for(;s.firstChild;)s.firstChild.remove()}}}function Qt(e){return"content"in e&&function sn(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var vn=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e}(vn||{});function Xi(e){const n=El();return n?Ma(n.sanitize(vn.HTML,e)||""):va(e,"HTML")?Ma(fo(e)):ft(Vt(),(0,t.eFE)(e))}function Wi(e){const n=El();return n?n.sanitize(vn.URL,e)||"":va(e,"URL")?fo(e):Ca((0,t.eFE)(e))}function ar(e){const n=El();if(n)return Wl(n.sanitize(vn.RESOURCE_URL,e)||"");if(va(e,"ResourceURL"))return Wl(fo(e));throw new t.buA(904,!1)}function Zl(e,n,i){return function Fo(e,n){return"src"===n&&("embed"===e||"frame"===e||"iframe"===e||"media"===e||"script"===e)||"href"===n&&("base"===e||"link"===e)?ar:Wi}(n,i)(e)}function El(){const e=(0,t.OAn)();return e&&e[t.M0L].sanitizer}const wc=/^>|^->|<!--|-->|--!>|<!-$/g,Su=/(<|>)/g;function ec(e){return e.ownerDocument.defaultView}function Uc(e){return e.ownerDocument}function ms(e){return e instanceof Function?e():e}function Td(e){if(!(0,t.xUg)(e))throw new t.buA(906,`The ${(0,t.PP7)(e)} is not an Angular component, make sure it has the \`@Component\` decorator.`)}function Uu(e,n,i){let s=e.length;for(;;){const c=e.indexOf(n,i);if(-1===c)return c;if(0===c||e.charCodeAt(c-1)<=32){const g=n.length;if(c+g===s||e.charCodeAt(c+g)<=32)return c}i=c+1}}const bl="ng-template";function nc(e,n,i,s){let c=0;if(s){for(;c<n.length&&"string"==typeof n[c];c+=2)if("class"===n[c]&&-1!==Uu(n[c+1].toLowerCase(),i,0))return!0}else if(yl(e))return!1;if(c=n.indexOf(1,c),c>-1){let g;for(;++c<n.length&&"string"==typeof(g=n[c]);)if(g.toLowerCase()===i)return!0}return!1}function yl(e){return 4===e.type&&e.value!==bl}function Pd(e,n,i){return n===(4!==e.type||i?e.value:bl)}function po(e,n,i){let s=4;const c=e.attrs,g=null!==c?function Gc(e){for(let n=0;n<e.length;n++)if(Ct(e[n]))return n;return e.length}(c):0;let y=!1;for(let F=0;F<n.length;F++){const j=n[F];if("number"!=typeof j){if(!y)if(4&s){if(s=2|1&s,""!==j&&!Pd(e,j,i)||""===j&&1===n.length){if(Yr(s))return!1;y=!0}}else if(8&s){if(null===c||!nc(e,c,j,i)){if(Yr(s))return!1;y=!0}}else{const Oe=n[++F],Fe=Dl(j,c,yl(e),i);if(-1===Fe){if(Yr(s))return!1;y=!0;continue}if(""!==Oe){let dt;if(dt=Fe>g?"":c[Fe+1].toLowerCase(),2&s&&Oe!==dt){if(Yr(s))return!1;y=!0}}}}else{if(!y&&!Yr(s)&&!Yr(j))return!1;if(y&&Yr(j))continue;y=!1,s=j|1&s}}return Yr(s)||y}function Yr(e){return!(1&e)}function Dl(e,n,i,s){if(null===n)return-1;let c=0;if(s||!i){let g=!1;for(;c<n.length;){const y=n[c];if(y===e)return c;if(3===y||6===y)g=!0;else{if(1===y||2===y){let F=n[++c];for(;"string"==typeof F;)F=n[++c];continue}if(4===y)break;if(0===y){c+=4;continue}}c+=g?1:2}return-1}return function jc(e,n){let i=e.indexOf(4);if(i>-1)for(i++;i<e.length;){const s=e[i];if("number"==typeof s)return-1;if(s===n)return i;i++}return-1}(n,e)}function ic(e,n,i=!1){for(let s=0;s<n.length;s++)if(po(e,n[s],i))return!0;return!1}function Id(e,n){e:for(let i=0;i<n.length;i++){const s=n[i];if(e.length===s.length){for(let c=0;c<e.length;c++)if(e[c]!==s[c])continue e;return!0}}return!1}function oc(e,n){return e?":not("+n.trim()+")":n}function Wc(e){let n=e[0],i=1,s=2,c="",g=!1;for(;i<e.length;){let y=e[i];if("string"==typeof y)if(2&s){const F=e[++i];c+="["+y+(F.length>0?'="'+F+'"':"")+"]"}else 8&s?c+="."+y:4&s&&(c+=" "+y);else""!==c&&!Yr(y)&&(n+=oc(g,c),c=""),s=y,g=g||!Yr(s);i++}return""!==c&&(n+=oc(g,c)),n}const mi={};function sc(e,n){return e.createText(n)}function Kc(e,n,i){e.setValue(n,i)}function Al(e,n){return e.createComment(function xc(e){return e.replace(wc,n=>n.replace(Su,"\u200b$1\u200b"))}(n))}function ac(e,n,i){return e.createElement(n,i)}function xa(e,n,i,s,c){e.insertBefore(n,i,s,c)}function Rd(e,n,i){e.appendChild(n,i)}function Vc(e,n,i,s,c){null!==s?xa(e,n,i,s,c):Rd(e,n,i)}function el(e,n,i){e.removeChild(null,n,i)}function ko(e,n,i){const{mergedAttrs:s,classes:c,styles:g}=i;null!==s&&function Ke(e,n,i){let s=0;for(;s<i.length;){const c=i[s];if("number"==typeof c){if(0!==c)break;s++;const g=i[s++],y=i[s++],F=i[s++];e.setAttribute(n,y,F,g)}else{const g=c,y=i[++s];Wt(g)?e.setProperty(n,g,y):e.setAttribute(n,g,y),s++}}}(e,n,s),null!==c&&function wd(e,n,i){""===i?e.removeAttribute(n,"class"):e.setAttribute(n,"class",i)}(e,n,c),null!==g&&function Ld(e,n,i){e.setAttribute(n,"style",i)}(e,n,g)}function gs(e,n,i,s,c,g,y,F,j,Oe,Fe){const dt=t.Yw1+s,Pt=dt+c,Rt=function k(e,n){const i=[];for(let s=0;s<n;s++)i.push(s<e?null:mi);return i}(dt,Pt),en="function"==typeof Oe?Oe():Oe;return Rt[t.eDl]={type:e,blueprint:Rt,template:i,queries:null,viewQuery:F,declTNode:n,data:Rt.slice().fill(null,dt),bindingStartIndex:dt,expandoStartIndex:Pt,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof g?g():g,pipeRegistry:"function"==typeof y?y():y,firstChild:null,schemas:j,consts:en,incompleteFirstPass:!1,ssrId:Fe}}function A(e){const n=e.tView;return null===n||n.incompleteFirstPass?e.tView=gs(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):n}function m(e,n,i,s,c,g,y,F,j,Oe,Fe){const dt=n.blueprint.slice();return dt[t.jgP]=c,dt[t.Wg1]=1228|s,(null!==Oe||e&&2048&e[t.Wg1])&&(dt[t.Wg1]|=2048),(0,t.HUe)(dt),dt[t.f7T]=dt[t.X5O]=e,dt[t.SKP]=i,dt[t.M0L]=y||e&&e[t.M0L],dt[t.GpT]=F||e&&e[t.GpT],dt[t.YEL]=j||e&&e[t.YEL]||null,dt[t.qlT]=g,dt[t.ID]=function Or(){return mr++}(),dt[t.tcA]=Fe,dt[t.oMQ]=Oe,dt[t.b5C]=2==n.type?e[t.b5C]:dt,dt}function B(e){let n=16;return e.signals?n=4096:e.onPush&&(n=64),n}function ve(e,n,i,s){if(0===i)return-1;const c=n.length;for(let g=0;g<i;g++)n.push(s),e.blueprint.push(s),e.data.push(null);return c}function lt(e,n){return e[t.EJG]?e[t.Yrj][t.K29]=n:e[t.EJG]=n,e[t.Yrj]=n,n}function Ot(e=1){Ft((0,t.klJ)(),(0,t.OAn)(),(0,t._px)()+e,!1)}function Ft(e,n,i,s){if(!s)if(3&~n[t.Wg1]){const g=e.preOrderHooks;null!==g&&Ge(n,g,0,i)}else{const g=e.preOrderCheckHooks;null!==g&&pt(n,g,i)}(0,t.ypq)(i)}var Kt=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(Kt||{});function fn(e,n,i,s){const c=(0,u.Ht)(null);try{const[g,y,F]=e.inputs[i];let j=null;0!==(y&Kt.SignalBased)&&(j=n[g][u.bh]),null!==j&&void 0!==j.transformFn?s=j.transformFn(s):null!==F&&(s=F.call(n,s)),null!==e.setInput?e.setInput(n,j,s,i,g):at(n,j,g,s)}finally{(0,u.Ht)(c)}}var un=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(un||{});let Un;function Fn(e,n){return Un(e,n)}function qn(e,n,i,s,c){if(null!=s){let g,y=!1;(0,t.A0l)(s)?g=s:(0,t.q$2)(s)&&(y=!0,s=s[t.jgP]);const F=(0,t.IvY)(s);0===e&&null!==i?null==c?Rd(n,i,F):xa(n,i,F,c||null,!0):1===e&&null!==i?xa(n,i,F,c||null,!0):2===e?el(n,F,y):3===e&&n.destroyNode(F),null!=g&&function hr(e,n,i,s,c){const g=i[t.s6P];g!==(0,t.IvY)(i)&&qn(n,e,s,g,c);for(let F=t.Y20;F<i.length;F++){const j=i[F];Qr(j[t.eDl],j,e,n,s,g)}}(n,e,g,i,c)}}function lr(e,n){Gr(e,n),n[t.jgP]=null,n[t.qlT]=null}function Gr(e,n){n[t.M0L].changeDetectionScheduler?.notify(9),Qr(e,n,n[t.GpT],2,null,null)}function br(e,n){const i=e[t.nfM],s=i.indexOf(n);i.splice(s,1)}function Es(e,n){if((0,t.EPY)(n))return;const i=n[t.GpT];i.destroyNode&&Qr(e,n,i,3,null,null),function mo(e){let n=e[t.EJG];if(!n)return Bo(e[t.eDl],e);for(;n;){let i=null;if((0,t.q$2)(n))i=n[t.EJG];else{const s=n[t.Y20];s&&(i=s)}if(!i){for(;n&&!n[t.K29]&&n!==e;)(0,t.q$2)(n)&&Bo(n[t.eDl],n),n=n[t.f7T];null===n&&(n=e),(0,t.q$2)(n)&&Bo(n[t.eDl],n),i=n&&n[t.K29]}n=i}}(n)}function Bo(e,n){if((0,t.EPY)(n))return;const i=(0,u.Ht)(null);try{n[t.Wg1]&=-129,n[t.Wg1]|=256,n[t.Iaj]&&(0,u.XR)(n[t.Iaj]),function yo(e,n){let i;if(null!=e&&null!=(i=e.destroyHooks))for(let s=0;s<i.length;s+=2){const c=n[i[s]];if(!(c instanceof ce)){const g=i[s+1];if(Array.isArray(g))for(let y=0;y<g.length;y+=2){const F=c[g[y]],j=g[y+1];Be(4,F,j);try{j.call(F)}finally{Be(5,F,j)}}else{Be(4,c,g);try{g.call(c)}finally{Be(5,c,g)}}}}}(e,n),function bo(e,n){const i=e.cleanup,s=n[t.VVG];if(null!==i)for(let y=0;y<i.length-1;y+=2)if("string"==typeof i[y]){const F=i[y+3];F>=0?s[F]():s[-F].unsubscribe(),y+=2}else i[y].call(s[i[y+1]]);null!==s&&(n[t.VVG]=null);const c=n[t.Czx];if(null!==c){n[t.Czx]=null;for(let y=0;y<c.length;
3y++)(0,c[y])()}const g=n[t.tQN];if(null!==g){n[t.tQN]=null;for(const y of g)y.destroy()}}(e,n),1===n[t.eDl].type&&n[t.GpT].destroy();const s=n[t.rQE];if(null!==s&&(0,t.A0l)(n[t.f7T])){s!==n[t.f7T]&&br(s,n);const c=n[t.Ds7];null!==c&&c.detachView(e)}Jr(n)}finally{(0,u.Ht)(i)}}function io(e,n,i){return ca(e,n.parent,i)}function ca(e,n,i){let s=n;for(;null!==s&&168&s.type;)s=(n=s).parent;if(null===s)return i[t.jgP];if((0,t.Qs1)(s)){const{encapsulation:c}=e.data[s.directiveStart+s.componentOffset];if(c===qo.None||c===qo.Emulated)return null}return(0,t.d31)(s,i)}function Sl(e,n,i){return tl(e,n,i)}function da(e,n,i){return 40&e.type?(0,t.d31)(e,i):null}let Tl,tl=da;function lc(e,n){tl=e,Tl=n}function Ln(e,n,i,s){const c=io(e,s,n),g=n[t.GpT],F=Sl(s.parent||n[t.qlT],s,n);if(null!=c)if(Array.isArray(i))for(let j=0;j<i.length;j++)Vc(g,c,i[j],F,!1);else Vc(g,c,i,F,!1);void 0!==Tl&&Tl(g,s,n,i,c)}function Vn(e,n){if(null!==n){const i=n.type;if(3&i)return(0,t.d31)(n,e);if(4&i)return Ni(-1,e[n.index]);if(8&i){const s=n.child;if(null!==s)return Vn(e,s);{const c=e[n.index];return(0,t.A0l)(c)?Ni(-1,c):(0,t.IvY)(c)}}if(128&i)return Vn(e,n.next);if(32&i)return Fn(n,e)()||(0,t.IvY)(e[n.index]);{const s=ei(e,n);return null!==s?Array.isArray(s)?s[0]:Vn((0,t._0$)(e[t.b5C]),s):Vn(e,n.next)}}return null}function ei(e,n){return null!==n?e[t.b5C][t.qlT].projection[n.projection]:null}function Ni(e,n){const i=t.Y20+e+1;if(i<n.length){const s=n[i],c=s[t.eDl].firstChild;if(null!==c)return Vn(s,c)}return n[t.s6P]}function gr(e,n,i,s,c,g,y){for(;null!=i;){if(128===i.type){i=i.next;continue}const F=s[i.index],j=i.type;if(y&&0===n&&(F&&Lt((0,t.IvY)(F),s),i.flags|=2),!No(i))if(8&j)gr(e,n,i.child,s,c,g,!1),qn(n,e,c,F,g);else if(32&j){const Oe=Fn(i,s);let Fe;for(;Fe=Oe();)qn(n,e,c,Fe,g);qn(n,e,c,F,g)}else 16&j?ns(e,n,s,i,c,g):qn(n,e,c,F,g);i=y?i.projectionNext:i.next}}function Qr(e,n,i,s,c,g){gr(i,s,e.firstChild,n,c,g,!1)}function ns(e,n,i,s,c,g){const y=i[t.b5C],j=y[t.qlT].projection[s.projection];if(Array.isArray(j))for(let Oe=0;Oe<j.length;Oe++)qn(n,e,c,j[Oe],g);else{let Oe=j;const Fe=y[t.f7T];Ci(s)&&(Oe.flags|=128),gr(e,n,Oe,Fe,c,g,!0)}}function zc(e,n,i,s,c){const g=(0,t._px)(),y=2&s;try{(0,t.ypq)(-1),y&&n.length>t.Yw1&&Ft(e,n,t.Yw1,!1),Be(y?2:0,c,i),i(s,c)}finally{(0,t.ypq)(g),Be(y?3:1,c,i)}}function Sr(e,n,i){(function kd(e,n,i){const s=i.directiveStart,c=i.directiveEnd;(0,t.Qs1)(i)&&function S(e,n,i){const s=(0,t.d31)(n,e),c=A(i),g=e[t.M0L].rendererFactory,y=lt(e,m(e,c,null,B(i),s,n,null,g.createRenderer(s,i),null,null,null));e[n.index]=y}(n,i,e.data[s+i.componentOffset]),e.firstCreatePass||ht(i,n);const g=i.initialInputs;for(let y=s;y<c;y++){const F=e.data[y],j=Hi(n,e,y,i);Lt(j,n),null!==g&&Ku(0,y-s,j,F,0,g),(0,t.JlV)(F)&&((0,t.KdJ)(i.index,n)[t.SKP]=Hi(n,e,y,i))}})(e,n,i),!(64&~i.flags)&&function Ef(e,n,i){const s=i.directiveStart,c=i.directiveEnd,g=i.index,y=(0,t.Z9v)();try{(0,t.ypq)(g);for(let F=s;F<c;F++){const j=e.data[F],Oe=n[F];(0,t.RZ9)(F),(null!==j.hostBindings||0!==j.hostVars||null!==j.hostAttrs)&&Bd(j,Oe)}}finally{(0,t.ypq)(-1),(0,t.RZ9)(y)}}(e,n,i)}function Yo(e,n,i=t.d31){const s=n.localNames;if(null!==s){let c=n.index+1;for(let g=0;g<s.length;g+=2){const y=s[g+1],F=-1===y?i(n,e):e[y];e[c++]=F}}}let Il=()=>null;function xd(e,n,i,s,c,g){Hc(e,n[t.eDl],n,i,s)?(0,t.Qs1)(e)&&function gf(e,n){const i=(0,t.KdJ)(n,e);16&i[t.Wg1]||(i[t.Wg1]|=64)}(n,e.index):(3&e.type&&(i=function Wu(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(i)),Fd(e,n,i,s,c,g))}function Fd(e,n,i,s,c,g){if(3&e.type){const y=(0,t.d31)(e,n);s=null!=g?g(s,e.value||"",i):s,c.setProperty(y,i,s)}}function Bd(e,n){null!==e.hostBindings&&e.hostBindings(1,n)}function $d(e,n){const i=e.directiveRegistry;let s=null;if(i)for(let c=0;c<i.length;c++){const g=i[c];ic(n,g.selectors,!1)&&(s??=[],(0,t.JlV)(g)?s.unshift(g):s.push(g))}return s}function nl(e,n,i,s,c,g,y){if(null==g)e.removeAttribute(n,c,i);else{const F=null==y?(0,t.eFE)(g):y(g,s||"",c);e.setAttribute(n,c,F,i)}}function Ku(e,n,i,s,c,g){const y=g[n];if(null!==y)for(let F=0;F<y.length;F+=2)fn(s,i,y[F],y[F+1])}function cc(e,n,i,s,c){const g=t.Yw1+i,y=n[t.eDl],F=c(y,n,e,s,i);n[g]=F,(0,t.iMd)(e,!0);const j=2===e.type;return j?(ko(n[t.GpT],F,e),(0===(0,t.znI)()||(0,t.yoD)(e))&&Lt(F,n),(0,t.Fje)()):Lt(F,n),(0,t.SX7)()&&(!j||!No(e))&&Ln(y,n,F,e),e}function Xc(e){let n=e;return(0,t.YWB)()?(0,t.Pfq)():(n=n.parent,(0,t.iMd)(n,!1)),n}function Vu(e,n,i){return(null===e||(0,t.JlV)(e))&&(i=(0,t.zAe)(i[n.index])),i[t.GpT]}function Ud(e,n){const i=e[t.YEL];i&&i.get(t.ZTf,null)?.(n)}
3function Hc(e,n,i,s,c){const g=e.inputs?.[s],y=e.hostDirectiveInputs?.[s];let F=!1;if(y)for(let j=0;j<y.length;j+=2){const Oe=y[j];fn(n.data[Oe],i[Oe],y[j+1],c),F=!0}if(g)for(const j of g)fn(n.data[j],i[j],s,c),F=!0;return F}function Mf(e,n){const i=(0,t.KdJ)(n,e),s=i[t.eDl];!function Gd(e,n){for(let i=n.length;i<e.blueprint.length;i++)n.push(e.blueprint[i])}(s,i);const c=i[t.jgP];null!==c&&null===i[t.tcA]&&(i[t.tcA]=Br(c,i[t.YEL])),Be(18),dc(s,i,i[t.SKP]),Be(19,i[t.SKP])}function dc(e,n,i){(0,t.ID8)(n);try{const s=e.viewQuery;null!==s&&rt(1,s,i);const c=e.template;null!==c&&zc(e,n,c,1,i),e.firstCreatePass&&(e.firstCreatePass=!1),n[t.Ds7]?.finishViewCreation(e),e.staticContentQueries&&_l(e,n),e.staticViewQueries&&rt(2,e.viewQuery,i);const g=e.components;null!==g&&function uc(e,n){for(let i=0;i<n.length;i++)Mf(e,n[i])}(n,g)}catch(s){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),s}finally{n[t.Wg1]&=-5,(0,t.bll)()}}function Fa(e,n,i,s){const c=(0,u.Ht)(null);try{const g=n.tView,j=m(e,g,i,4096&e[t.Wg1]?4096:16,null,n,null,null,s?.injector??null,s?.embeddedViewInjector??null,s?.dehydratedView??null);j[t.rQE]=e[n.index];const Fe=e[t.Ds7];return null!==Fe&&(j[t.Ds7]=Fe.createEmbeddedView(g)),dc(g,j,i),j}finally{(0,u.Ht)(c)}}function ka(e,n){return!n||null===n.firstChild||Ci(e)}function Rl(e,n,i,s,c=!1){for(;null!==i;){if(128===i.type){i=c?i.projectionNext:i.next;continue}const g=n[i.index];null!==g&&s.push((0,t.IvY)(g)),(0,t.A0l)(g)&&Ks(g,s);const y=i.type;if(8&y)Rl(e,n,i.child,s);else if(32&y){const F=Fn(i,n);let j;for(;j=F();)s.push(j)}else if(16&y){const F=ei(n,i);if(Array.isArray(F))s.push(...F);else{const j=(0,t._0$)(n[t.b5C]);Rl(j[t.eDl],j,F,s,!0)}}i=c?i.projectionNext:i.next}return s}function Ks(e,n){for(let i=t.Y20;i<e.length;i++){const s=e[i],c=s[t.eDl].firstChild;null!==c&&Rl(s[t.eDl],s,c,n)}e[t.s6P]!==e[t.jgP]&&n.push(e[t.s6P])}function Ba(e){if(null!==e[t.JEi]){for(const n of e[t.JEi])n.impl.addSequence(n);e[t.JEi].length=0}}let Xu=[];const bf={...u.pL,consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{(0,t.blu)(e.lView)},consumerOnSignalRead(){this.lView[t.Iaj]=this}},Df={...u.pL,consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let n=(0,t._0$)(e.lView);for(;n&&!Yu(n[t.eDl]);)n=(0,t._0$)(n);n&&(0,t.HAh)(n)},consumerOnSignalRead(){this.lView[t.Iaj]=this}};function Yu(e){return 2!==e.type}function Qu(e){if(null===e[t.tQN])return;let n=!0;for(;n;){let i=!1;for(const s of e[t.tQN])s.dirty&&(i=!0,null===s.zone||Zone.current===s.zone?s.run():s.zone.run(()=>s.run()));n=i&&!!(8192&e[t.Wg1])}}function Qc(e,n=0){const s=e[t.M0L].rendererFactory;s.begin?.();try{!function Sf(e,n){const i=(0,t.yP_)();try{(0,t.cBl)(!0),Zc(e,n);let s=0;for(;(0,t.dMS)(e);){if(100===s)throw new t.buA(103,!1);s++,Zc(e,1)}}finally{(0,t.cBl)(i)}}(e,n)}finally{s.end?.()}}function Wd(e,n,i,s){if((0,t.EPY)(n))return;const c=n[t.Wg1];(0,t.ID8)(n);let F=!0,j=null,Oe=null;Yu(e)?(Oe=function Hu(e){return e[t.Iaj]??function vf(e){const n=Xu.pop()??Object.create(bf);return n.lView=e,n}(e)}(n),j=(0,u.Bg)(Oe)):null===(0,u.nR)()?(F=!1,Oe=function yf(e){const n=e[t.Iaj]??Object.create(Df);return n.lView=e,n}(n),j=(0,u.Bg)(Oe)):n[t.Iaj]&&((0,u.XR)(n[t.Iaj]),n[t.Iaj]=null);try{(0,t.HUe)(n),(0,t.Kw3)(e.bindingStartIndex),null!==i&&zc(e,n,i,2,s);const Fe=!(3&~c);if(Fe){const Rt=e.preOrderCheckHooks;null!==Rt&&pt(n,Rt,null)}else{const Rt=e.preOrderHooks;null!==Rt&&Ge(n,Rt,0,null),bt(n,0)}if(function Tf(e){for(let n=fr(e);null!==n;n=Mr(n)){if(!(2&n[t.Wg1]))continue;const i=n[t.nfM];for(let s=0;s<i.length;s++)(0,t.HAh)(i[s])}}(n),Qu(n),Kd(n,0),null!==e.contentQueries&&_l(e,n),Fe){const Rt=e.contentCheckHooks;null!==Rt&&pt(n,Rt)}else{const Rt=e.contentHooks;null!==Rt&&Ge(n,Rt,1),bt(n,1)}!function If(e,n){const i=e.hostBindingOpCodes;if(null!==i)try{for(let s=0;s<i.length;s++){const c=i[s];if(c<0)(0,t.ypq)(~c);else{const g=c,y=i[++s],F=i[++s];(0,t.vQI)(y,g);const j=n[g];Be(24,j),F(2,j),Be(25,j)}}}finally{(0,t.ypq)(-1)}}(e,n);const dt=e.components;null!==dt&&qu(n,dt,0);const Pt=e.viewQuery;if(null!==Pt&&rt(2,Pt,s),Fe){const Rt=e.viewCheckHooks;null!==Rt&&pt(n,Rt)}else{const Rt=e.viewHooks;null!==Rt&&Ge(n,Rt,2),bt(n,2)}if(!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),n[t.pcR]){for(const Rt of n[t.pcR])Rt();n[t.pcR]=null}Ba(n),n[t.Wg1]&=-73}catch(Fe){throw(0,t.blu)(n),Fe}finally{null!==Oe&&((0,u.Wu)(Oe,j),F&&function Cf(e){e.lView[t.Iaj]!==e&&(e.lView=null,Xu.push(e))}(Oe)),(0,t.bll)()}}function Kd(e,n){for(let i=fr(e);null!==i;i=Mr(i))for(let s=t.Y20;s<i.length;s++)Ju(i[s],n)}function Pf(e,n,i){Be(18);const s=(0,t.KdJ)(n,e);Ju(s,i),Be(19,s[t.SKP])}function Ju(e,n){(0,t.F1c)(e)&&Zc(e,n)}function Zc(e,n){const s=e[t.eDl],c=e[t.Wg1],g=e[t.Iaj];let y=!!(0===n&&16&c);if(y||=!!(64&c&&0===n),y||=!!(1024&c),y||=!(!g?.dirty||!(0,u.si)(g)),y||=!1,g&&(g.dirty=!1),e[t.Wg1]&=-9217,y)Wd(s,e,s.template,e[t.SKP]);else if(8192&c){const F=(0,u.Ht)(null);try{Qu(e),Kd(e,1);const j=s.components;null!==j&&qu(e,j,1),Ba(e)}finally{(0,u.Ht)(F)}}}function qu(e,n,i){for(let s=0;s<n.length;s++)Pf(e,n[s],i)}function Nl(e,n){const i=(0,t.yP_)()?64:1088;for(e[t.M0L].changeDetectionScheduler?.notify(n);e;){e[t.Wg1]|=i;const s=(0,t._0$)(e);if((0,t.EFk)(e)&&!s)return e;e=s}return null}function e_(e,n,i,s){return[e,!0,0,n,null,s,null,i,null,null]}function t_(e,n){const i=t.Y20+n;if(i<e.length)return e[i]}function Ll(e,n,i,s=!0){const c=n[t.eDl];if(function Rf(e,n,i,s){const c=t.Y20+s,g=i.length;s>0&&(i[c-1][t.K29]=n),s<g-t.Y20?(n[t.K29]=i[c],(0,t.EYC)(i,t.Y20+s,n)):(i.push(n),n[t.K29]=null),n[t.f7T]=i;const y=n[t.rQE];null!==y&&i!==y&&n_(y,n);const F=n[t.Ds7];null!==F&&F.insertView(e),(0,t._gW)(n),n[t.Wg1]|=128}(c,n,e,i),s){const y=Ni(i,e),F=n[t.GpT],j=F.parentNode(e[t.s6P]);null!==j&&function Cr(e,n,i,s,c,g){s[t.jgP]=c,s[t.qlT]=n,Qr(e,s,i,1,c,g)}(c,e[t.qlT],F,n,j,y)}const g=n[t.tcA];null!==g&&null!==g.firstChild&&(g.firstChild=null)}function rs(e,n){const i=_c(e,n);return void 0!==i&&Es(i[t.eDl],i),i}function _c(e,n){if(e.length<=t.Y20)return;const i=t.Y20+n,s=e[i];if(s){const c=s[t.rQE];null!==c&&c!==e&&br(c,s),n>0&&(e[i-1][t.K29]=s[t.K29]);const g=(0,t.E6O)(e,t.Y20+n);lr(s[t.eDl],s);const y=g[t.Ds7];null!==y&&y.detachView(g[t.eDl]),s[t.f7T]=null,s[t.K29]=null,s[t.Wg1]&=-129}return s}function n_(e,n){const i=e[t.nfM],s=n[t.f7T];((0,t.q$2)(s)||n[t.b5C]!==s[t.f7T][t.b5C])&&(e[t.Wg1]|=2),null===i?e[t.nfM]=[n]:i.push(n)}class fc{_lView;_cdRefInjectingView;_appRef=null;_attachedToViewContainer=!1;exhaustive;get rootNodes(){const n=this._lView,i=n[t.eDl];return Rl(i,n,i.firstChild,[])}constructor(n,i){this._lView=n,this._cdRefInjectingView=i}get context(){return this._lView[t.SKP]}set context(n){this._lView[t.SKP]=n}get destroyed(){return(0,t.EPY)(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const n=this._lView[t.f7T];if((0,t.A0l)(n)){const i=n[t.bm_],s=i?i.indexOf(this):-1;s>-1&&(_c(n,s),(0,t.E6O)(i,s))}this._attachedToViewContainer=!1}Es(this._lView[t.eDl],this._lView)}onDestroy(n){(0,t.ik5)(this._lView,n)}markForCheck(){Nl(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[t.Wg1]&=-129}reattach(){(0,t._gW)(this._lView),this._lView[t.Wg1]|=128}detectChanges(){this._lView[t.Wg1]|=1024,Qc(this._lView)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new t.buA(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;const n=(0,t.EFk)(this._lView),i=this._lView[t.rQE];null!==i&&!n&&br(i,this._lView),Gr(this._lView[t.eDl],this._lView)}attachToAppRef(n){if(this._attachedToViewContainer)throw new t.buA(902,!1);this._appRef=n;const i=(0,t.EFk)(this._lView),s=this._lView[t.rQE];null!==s&&!i&&n_(s,this._lView),(0,t._gW)(this._lView)}}let hc=(()=>class e{_declarationLView;_declarationTContainer;elementRef;static __NG_ELEMENT_ID__=Nf;constructor(i,s,c){this._declarationLView=i,this._declarationTContainer=s,this.elementRef=c}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(i,s){return this.createEmbeddedViewImpl(i,s)}
3createEmbeddedViewImpl(i,s,c){const g=Fa(this._declarationLView,this._declarationTContainer,i,{embeddedViewInjector:s,dehydratedView:c});return new fc(g)}})();function Nf(){return wl((0,t.Mx4)(),(0,t.OAn)())}function wl(e,n){return 4&e.type?new hc(n,e,Kn(e,n)):null}function Hd(e,n,i){const s=n.insertBeforeIndex,c=Array.isArray(s)?s[0]:s;return null===c?da(e,0,i):(0,t.IvY)(i[c])}function o_(e,n,i,s,c){const g=n.insertBeforeIndex;if(Array.isArray(g)){let y=s,F=null;if(3&n.type||(F=y,y=c),null!==y&&-1===n.componentOffset)for(let j=1;j<g.length;j++)xa(e,y,i[g[j]],F,!1)}}function rl(e,n,i,s,c){let g=e.data[n];if(null===g)g=Yd(e,n,i,s,c),(0,t.JjR)()&&(g.flags|=32);else if(64&g.type){g.type=i,g.value=s,g.attrs=c;const y=(0,t.Ab)();g.injectorIndex=null===y?-1:y.injectorIndex}return(0,t.iMd)(g,!0),g}function Yd(e,n,i,s,c){const g=(0,t.veI)(),y=(0,t.YWB)(),j=e.data[n]=function Gf(e,n,i,s,c,g){let y=n?n.injectorIndex:-1,F=0;return(0,t.KtD)()&&(F|=128),{type:i,index:s,insertBeforeIndex:null,injectorIndex:y,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:F,providerIndexes:0,value:c,attrs:g,mergedAttrs:null,localNames:null,initialInputs:null,inputs:null,hostDirectiveInputs:null,outputs:null,hostDirectiveOutputs:null,directiveToIndex:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:n,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,y?g:g&&g.parent,i,n,s,c);return function Uf(e,n,i,s){null===e.firstChild&&(e.firstChild=n),null!==i&&(s?null==i.child&&null!==n.parent&&(i.child=n):null===i.next&&(i.next=n,n.prev=i))}(e,j,g,y),j}function s_(e,n){if(e.push(n),e.length>1)for(let i=e.length-2;i>=0;i--){const s=e[i];a_(s)||jf(s,n)&&null===l_(s)&&Wf(s,n.index)}}function a_(e){return!(64&e.type)}function jf(e,n){return a_(n)||e.index>n.index}function l_(e){const n=e.insertBeforeIndex;return Array.isArray(n)?n[0]:n}function Wf(e,n){const i=e.insertBeforeIndex;Array.isArray(i)?i[0]=n:(lc(Hd,o_),e.insertBeforeIndex=n)}function $a(e,n){const i=e.data[n];return null===i||"string"==typeof i?null:i.hasOwnProperty("currentCaseLViewIndex")?i:i.value}function zf(e,n,i){const s=Yd(e,i,64,null,null);return s_(n,s),s}function qc(e,n){const i=n[e.currentCaseLViewIndex];return null===i?i:i<0?~i:i}function c_(e){return e>>>17}function d_(e){return(131070&e)>>>1}function Qd(e,n,i){e.index=0;const s=qc(n,i);e.removes=null!==s?n.remove[s]:t.Mlv}function ed(e){if(e.index<e.removes.length){const n=e.removes[e.index++];return n>0?e.lView[n]:(e.stack.push(e.index,e.removes),Qd(e,e.lView[t.eDl].data[~n],e.lView),ed(e))}return 0===e.stack.length?null:(e.removes=e.stack.pop(),e.index=e.stack.pop(),ed(e))}function Hf(){const e={stack:[],index:-1};return function n(i,s){for(e.lView=s;e.stack.length;)e.stack.pop();return Qd(e,i.value,s),ed.bind(null,e)}}let gc=()=>{},ch=()=>{};function Up(e,n,i){for(const s of i.node.cases[i.case]){const c=n.get(s.index-t.Yw1);c&&el(e,c,!1)}}function tu(e){const n=e[t.qFA]??[],s=e[t.f7T][t.GpT],c=[];for(const g of n)void 0!==g.data[Zo]?c.push(g):dh(g,s);e[t.qFA]=c}function Gp(e){const{lContainer:n}=e,i=n[t.qFA];if(null===i)return;const c=n[t.f7T][t.GpT];for(const g of i)dh(g,c)}function dh(e,n){let i=0,s=e.firstChild;if(s){const c=e.data[Io];for(;i<c;){const g=s.nextSibling;el(n,s,!1),s=g,i++}}}function nu(e){tu(e);const n=e[t.jgP];(0,t.q$2)(n)&&iu(n);for(let i=t.Y20;i<e.length;i++)iu(e[i])}function iu(e){!function $p(e){const n=e[t.tcA];if(n){const{i18nNodes:i,dehydratedIcuData:s}=n;if(i&&s){const c=e[t.GpT];for(const g of s.values())Up(c,i,g)}n.i18nNodes=void 0,n.dehydratedIcuData=void 0}}(e);const n=e[t.eDl];for(let i=t.Yw1;i<n.bindingStartIndex;i++)(0,t.A0l)(e[i])?nu(e[i]):(0,t.q$2)(e[i])&&iu(e[i])}let ol=()=>null,Oi=()=>null;function yr(e,n){return ol(e,n)}function Ga(e,n,i){return Oi(e,n,i)}let zp=class{},fh=class{};class b_{resolveComponentFactory(n){throw new t.buA(917,!1)}}let ru=class{static NULL=new b_};class ha{}let hh=(()=>class e{destroyNode=null;static __NG_ELEMENT_ID__=()=>function ou(){const e=(0,t.OAn)(),n=(0,t.Mx4)(),i=(0,t.KdJ)(n.index,e);return((0,t.q$2)(i)?i:e)[t.GpT]}()})(),xr=(()=>{class e{static \u0275prov=(0,t.jDH)({token:e,providedIn:"root",factory:()=>null})}return e})();function Tr(e){return void 0!==e.ngModule}function sl(e){return!!(0,t.phH)(e)}function su(e){return!!(0,t.oyA)(e)}function ph(e){return!!(0,t.HaV)(e)}function od(e){return!!(0,t.xUg)(e)}function Hp(e,n){if((0,t.Jzi)(e)&&!(e=(0,t.nl4)(e)))throw new Error(`Expected forwardRef function, imported from "${(0,t.PP7)(n)}", to return a standalone entity or NgModule but got "${(0,t.PP7)(e)||e}".`);if(null==(0,t.phH)(e)){const i=(0,t.xUg)(e)||(0,t.HaV)(e)||(0,t.oyA)(e);if(null==i)throw Tr(e)?new Error(`A module with providers was imported from "${(0,t.PP7)(n)}". Modules with providers are not supported in standalone components imports.`):new Error(`The "${(0,t.PP7)(e)}" type, imported from "${(0,t.PP7)(n)}", must be a standalone component / directive / pipe or an NgModule. Did you forget to add the required @Component / @Directive / @Pipe or @NgModule annotation?`);if(!i.standalone)throw new Error(`The "${(0,t.PP7)(e)}" ${function Xp(e){return(0,t.xUg)(e)?"component":(0,t.HaV)(e)?"directive":(0,t.oyA)(e)?"pipe":"type"}(e)}, imported from "${(0,t.PP7)(n)}", is not standalone. Did you forget to add the standalone: true flag?`)}}class Yp{ownerNgModule=new Map;ngModulesWithSomeUnresolvedDecls=new Set;ngModulesScopeCache=new Map;standaloneComponentsScopeCache=new Map;resolveNgModulesDecls(){if(0!==this.ngModulesWithSomeUnresolvedDecls.size){for(const n of this.ngModulesWithSomeUnresolvedDecls){const i=(0,t.phH)(n);if(i?.declarations)for(const s of ms(i.declarations))od(s)&&this.ownerNgModule.set(s,n)}this.ngModulesWithSomeUnresolvedDecls.clear()}}getComponentDependencies(n,i){this.resolveNgModulesDecls();const s=(0,t.xUg)(n);if(null===s)throw new Error(`Attempting to get component dependencies for a type that is not a component: ${n}`);if(s.standalone){const c=this.getStandaloneComponentScope(n,i);return c.compilation.isPoisoned?{dependencies:[]}
3:{dependencies:[...c.compilation.directives,...c.compilation.pipes,...c.compilation.ngModules]}}{if(!this.ownerNgModule.has(n))return{dependencies:[]};const c=this.getNgModuleScope(this.ownerNgModule.get(n));return c.compilation.isPoisoned?{dependencies:[]}:{dependencies:[...c.compilation.directives,...c.compilation.pipes]}}}registerNgModule(n,i){if(!sl(n))throw new Error(`Attempting to register a Type which is not NgModule as NgModule: ${n}`);this.ngModulesWithSomeUnresolvedDecls.add(n)}clearScopeCacheFor(n){this.ngModulesScopeCache.delete(n),this.standaloneComponentsScopeCache.delete(n)}getNgModuleScope(n){if(this.ngModulesScopeCache.has(n))return this.ngModulesScopeCache.get(n);const i=this.computeNgModuleScope(n);return this.ngModulesScopeCache.set(n,i),i}computeNgModuleScope(n){const i=(0,t.WbQ)(n),s={exported:{directives:new Set,pipes:new Set},compilation:{directives:new Set,pipes:new Set}};for(const c of ms(i.imports))if(sl(c)){const g=this.getNgModuleScope(c);ja(g.exported.directives,s.compilation.directives),ja(g.exported.pipes,s.compilation.pipes)}else{if(!(0,t.QuC)(c)){s.compilation.isPoisoned=!0;break}if(ph(c)||od(c))s.compilation.directives.add(c);else{if(!su(c))throw new t.buA(980,"The standalone imported type is neither a component nor a directive nor a pipe");s.compilation.pipes.add(c)}}if(!s.compilation.isPoisoned)for(const c of ms(i.declarations)){if(sl(c)||(0,t.QuC)(c)){s.compilation.isPoisoned=!0;break}su(c)?s.compilation.pipes.add(c):s.compilation.directives.add(c)}for(const c of ms(i.exports))if(sl(c)){const g=this.getNgModuleScope(c);ja(g.exported.directives,s.exported.directives),ja(g.exported.pipes,s.exported.pipes),ja(g.exported.directives,s.compilation.directives),ja(g.exported.pipes,s.compilation.pipes)}else su(c)?s.exported.pipes.add(c):s.exported.directives.add(c);return s}getStandaloneComponentScope(n,i){if(this.standaloneComponentsScopeCache.has(n))return this.standaloneComponentsScopeCache.get(n);const s=this.computeStandaloneComponentScope(n,i);return this.standaloneComponentsScopeCache.set(n,s),s}computeStandaloneComponentScope(n,i){const s={compilation:{directives:new Set([n]),pipes:new Set,ngModules:new Set}};for(const c of(0,t.Bqz)(i??[])){const g=(0,t.nl4)(c);try{Hp(g,n)}catch{return s.compilation.isPoisoned=!0,s}if(sl(g)){s.compilation.ngModules.add(g);const y=this.getNgModuleScope(g);if(y.exported.isPoisoned)return s.compilation.isPoisoned=!0,s;ja(y.exported.directives,s.compilation.directives),ja(y.exported.pipes,s.compilation.pipes)}else if(su(g))s.compilation.pipes.add(g);else{if(!ph(g)&&!od(g))return s.compilation.isPoisoned=!0,s;s.compilation.directives.add(g)}}return s}isOrphanComponent(n){const i=(0,t.xUg)(n);return!(!i||i.standalone||(this.resolveNgModulesDecls(),this.ownerNgModule.has(n)))}}function ja(e,n){for(const i of e)n.add(i)}const Wa=new Yp,sd={};class Oc{injector;parentInjector;constructor(n,i){this.injector=n,this.parentInjector=i}get(n,i,s){const c=this.injector.get(n,sd,s);return c!==sd||i===sd?c:this.parentInjector.get(n,i,s)}}function ad(e,n,i){let s=i?e.styles:null,c=i?e.classes:null,g=0;if(null!==n)for(let y=0;y<n.length;y++){const F=n[y];if("number"==typeof F)g=F;else if(1==g)c=(0,t.n$e)(c,F);else if(2==g){const Oe=n[++y];s=(0,t.n$e)(s,F+": "+Oe+";")}}i?e.styles=s:e.stylesWithoutHost=s,i?e.classes=c:e.classesWithoutHost=c}function Ka(e,n=0){const i=(0,t.OAn)();return null===i?(0,t.KVO)(e,n):Sn((0,t.Mx4)(),i,(0,t.nl4)(e),n)}function Ms(){throw new Error("invalid")}function xl(e,n,i,s,c){const g=null===s?null:{"":-1},y=c(e,i);if(null!==y){let F=y,j=null,Oe=null;for(const Fe of y)if(null!==Fe.resolveHostDirectives){[F,j,Oe]=Fe.resolveHostDirectives(y);break}!function Jp(e,n,i,s,c,g,y){const F=s.length;let j=!1;for(let Pt=0;Pt<F;Pt++){const Rt=s[Pt];!j&&(0,t.JlV)(Rt)&&(j=!0,Zp(e,i,Pt)),on(ht(i,n),e,Rt.type)}!function dr(e,n,i){e.flags|=1,e.directiveStart=n,e.directiveEnd=n+i,e.providerIndexes=n}(i,e.data.length,F);for(let Pt=0;Pt<F;Pt++){const Rt=s[Pt];Rt.providersResolver&&Rt.providersResolver(Rt)}let Oe=!1,Fe=!1,dt=ve(e,n,F,null);F>0&&(i.directiveToIndex=new Map);for(let Pt=0;Pt<F;Pt++){const Rt=s[Pt];if(i.mergedAttrs=ln(i.mergedAttrs,Rt.hostAttrs),gh(e,i,n,dt,Rt),em(dt,Rt,c),null!==y&&y.has(Rt)){const[pn,jn]=y.get(Rt);i.directiveToIndex.set(Rt.type,[dt,pn+i.directiveStart,jn+i.directiveStart])}else(null===g||!g.has(Rt))&&i.directiveToIndex.set(Rt.type,dt);null!==Rt.contentQueries&&(i.flags|=4),(null!==Rt.hostBindings||null!==Rt.hostAttrs||0!==Rt.hostVars)&&(i.flags|=64);const en=Rt.type.prototype;!Oe&&(en.ngOnChanges||en.ngOnInit||en.ngDoCheck)&&((e.preOrderHooks??=[]).push(i.index),Oe=!0),!Fe&&(en.ngOnChanges||en.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(i.index),Fe=!0),dt++}!function qp(e,n,i){for(let s=n.directiveStart;s<n.directiveEnd;s++){const c=e.data[s];if(null!==i&&i.has(c)){const g=i.get(c);y_(0,n,g,s),y_(1,n,g,s),Di(n,s,!0)}else mh(0,n,c,s),mh(1,n,c,s),Di(n,s,!1)}}(e,i,g)}(e,n,i,F,g,j,Oe)}null!==g&&null!==s&&function Qp(e,n,i){const s=e.localNames=[];for(let c=0;c<n.length;c+=2){const g=i[n[c+1]];if(null==g)throw new t.buA(-301,!1);s.push(n[c],g)}}(i,s,g)}
3function Zp(e,n,i){n.componentOffset=i,(e.components??=[]).push(n.index)}function mh(e,n,i,s){const c=0===e?i.inputs:i.outputs;for(const g in c)if(c.hasOwnProperty(g)){let y;y=0===e?n.inputs??={}:n.outputs??={},y[g]??=[],y[g].push(s),Da(n,g)}}function y_(e,n,i,s){const c=0===e?i.inputs:i.outputs;for(const g in c)if(c.hasOwnProperty(g)){const y=c[g];let F;F=0===e?n.hostDirectiveInputs??={}:n.hostDirectiveOutputs??={},F[y]??=[],F[y].push(s,g),Da(n,y)}}function Da(e,n){"class"===n?e.flags|=8:"style"===n&&(e.flags|=16)}function Di(e,n,i){const{attrs:s,inputs:c,hostDirectiveInputs:g}=e;if(null===s||!i&&null===c||i&&null===g||yl(e))return e.initialInputs??=[],void e.initialInputs.push(null);let y=null,F=0;for(;F<s.length;){const j=s[F];if(0!==j)if(5!==j){if("number"==typeof j)break;if(!i&&c.hasOwnProperty(j)){const Oe=c[j];for(const Fe of Oe)if(Fe===n){y??=[],y.push(j,s[F+1]);break}}else if(i&&g.hasOwnProperty(j)){const Oe=g[j];for(let Fe=0;Fe<Oe.length;Fe+=2)if(Oe[Fe]===n){y??=[],y.push(Oe[Fe+1],s[F+1]);break}}F+=2}else F+=2;else F+=4}e.initialInputs??=[],e.initialInputs.push(y)}function gh(e,n,i,s,c){e.data[s]=c;const g=c.factory||(c.factory=(0,t.wGu)(c.type,!0)),y=new ce(g,(0,t.JlV)(c),Ka,null);e.blueprint[s]=y,i[s]=y,function Vs(e,n,i,s,c){const g=c.hostBindings;if(g){let y=e.hostBindingOpCodes;null===y&&(y=e.hostBindingOpCodes=[]);const F=~n.index;(function Eh(e){let n=e.length;for(;n>0;){const i=e[--n];if("number"==typeof i&&i<0)return i}return 0})(y)!=F&&y.push(F),y.push(i,s,g)}}(e,n,s,ve(e,i,c.hostVars,mi),c)}function em(e,n,i){if(i){if(n.exportAs)for(let s=0;s<n.exportAs.length;s++)i[n.exportAs[s]]=e;(0,t.JlV)(n)&&(i[""]=e)}}function au(e,n,i,s,c,g,y,F){const j=n[t.eDl],Oe=j.consts,dt=rl(j,e,i,s,(0,t.db4)(Oe,y));return g&&xl(j,n,dt,(0,t.db4)(Oe,F),c),dt.mergedAttrs=ln(dt.mergedAttrs,dt.attrs),null!==dt.attrs&&ad(dt,dt.attrs,!1),null!==dt.mergedAttrs&&ad(dt,dt.mergedAttrs,!0),null!==j.queries&&j.queries.elementStart(j,dt),dt}function lu(e,n){Se(e,n),(0,t.srX)(n)&&e.queries.elementEnd(n)}function cu(e,n,i,s,c,g){const y=n.consts,j=rl(n,e,i,s,(0,t.db4)(y,c));if(j.mergedAttrs=ln(j.mergedAttrs,j.attrs),null!=g){const Oe=(0,t.db4)(y,g);j.localNames=[];for(let Fe=0;Fe<Oe.length;Fe+=2)j.localNames.push(Oe[Fe],-1)}return null!==j.attrs&&ad(j,j.attrs,!1),null!==j.mergedAttrs&&ad(j,j.mergedAttrs,!0),null!==n.queries&&n.queries.elementStart(n,j),j}function D_(e){return!!Oh(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}function nm(e,n){if(Array.isArray(e))for(let i=0;i<e.length;i++)n(e[i]);else{const i=e[Symbol.iterator]();let s;for(;!(s=i.next()).done;)n(s.value)}}function Oh(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function Aa(e,n,i){return e[n]=i}function ld(e,n){return e[n]}function Pr(e,n,i){return i!==mi&&(!Object.is(e[n],i)&&(e[n]=i,!0))}function Fl(e,n,i,s){const c=Pr(e,n,i);return Pr(e,n+1,s)||c}function du(e,n,i,s,c){const g=Fl(e,n,i,s);return Pr(e,n+2,c)||g}function zs(e,n,i,s,c,g){const y=Fl(e,n,i,s);return Fl(e,n+2,c,g)||y}function cd(e,n,i){return function s(c){Nl((0,t.Qs1)(e)?(0,t.KdJ)(e.index,n):n,5);const y=n[t.SKP];let F=uu(n,y,i,c),j=s.__ngNextListenerFn__;for(;j;)F=uu(n,y,j,c)&&F,j=j.__ngNextListenerFn__;return F}}function uu(e,n,i,s){const c=(0,u.Ht)(null);try{return Be(6,n,i),!1!==i(s)}catch(g){return Ud(e,g),!1}finally{Be(7,n,i),(0,u.Ht)(c)}}function Mh(e,n,i,s,c,g,y,F){const j=(0,t.yoD)(e);let Oe=!1,Fe=null;if(!s&&j&&(Fe=function A_(e,n,i,s){const c=e.cleanup;if(null!=c)for(let g=0;g<c.length-1;g+=2){const y=c[g];if(y===i&&c[g+1]===s){const F=n[t.VVG],j=c[g+2];return F&&F.length>j?F[j]:null}"string"==typeof y&&(g+=2)}return null}(n,i,g,e.index)),null!==Fe)(Fe.__ngLastListenerFn__||Fe).__ngNextListenerFn__=y,Fe.__ngLastListenerFn__=y,Oe=!0;else{const dt=(0,t.d31)(e,i),Pt=s?s(dt):dt;!function cl(e,n,i,s){ea(e,n,i,s)}(i,Pt,g,F);const Rt=c.listen(Pt,g,F);vh(s?pn=>s((0,t.IvY)(pn[e.index])):e.index,n,i,g,F,Rt,!1)}return Oe}function vh(e,n,i,s,c,g,y){const F=n.firstCreatePass?(0,t.vNG)(n):null,j=(0,t.d_l)(i),Oe=j.length;j.push(c,g),F&&F.push(s,e,Oe,(Oe+1)*(y?-1:1))}function Zr(e,n,i,s,c,g){const F=n[t.eDl],dt=n[i][F.data[i].outputs[s]].subscribe(g);vh(e.index,F,n,c,g,dt,!0)}const al=Symbol("BINDING");class S_ extends ru{ngModule;constructor(n){super(),this.ngModule=n}resolveComponentFactory(n){const i=(0,t.xUg)(n);return new _u(i,this.ngModule)}}class _u extends fh{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=function dm(e){return Object.keys(e).map(n=>{const[i,s,c]=e[n],g={propName:i,templateName:n,isSignal:0!==(s&Kt.SignalBased)};return c&&(g.transform=c),g})}(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=function um(e){return Object.keys(e).map(n=>({propName:e[n],templateName:n}))}(this.componentDef.outputs),this.cachedOutputs}constructor(n,i){super(),this.componentDef=n,this.ngModule=i,this.componentType=n.type,this.selector=function ba(e){return e.map(Wc).join(",")}(n.selectors),this.ngContentSelectors=n.ngContentSelectors??[],this.isBoundToModule=!!i}create(n,i,s,c,g,y){Be(22);const F=(0,u.Ht)(null);try{const j=this.componentDef,Oe=function fm(e,n,i,s){const c=e?["ng-version","20.1.6"]:function Gu(e){const n=[],i=[];let s=1,c=2;for(;s<e.length;){let g=e[s];if("string"==typeof g)2===c?""!==g&&n.push(g,e[++s]):8===c&&i.push(g);else{if(!Yr(c))break;c=g}s++}return i.length&&n.push(1,...i),n}(n.selectors[0]);let g=null,y=null,F=0;if(i)for(const Fe of i)F+=Fe[al].requiredVars,Fe.create&&(Fe.targetIdx=0,(g??=[]).push(Fe)),Fe.update&&(Fe.targetIdx=0,(y??=[]).push(Fe));if(s)for(let Fe=0;Fe<s.length;Fe++){const dt=s[Fe];if("function"!=typeof dt)for(const Pt of dt.bindings){F+=Pt[al].requiredVars;const Rt=Fe+1;Pt.create&&(Pt.targetIdx=Rt,(g??=[]).push(Pt)),Pt.update&&(Pt.targetIdx=Rt,(y??=[]).push(Pt))}}const j=[n];if(s)for(const Fe of s){const Pt=(0,t.HaV)("function"==typeof Fe?Fe:Fe.type);j.push(Pt)}return gs(0,null,function hm(e,n){return e||n?i=>{if(1&i&&e)for(const s of e)s.create();if(2&i&&n)for(const s of n)s.update()}:null}(g,y),1,F,j,null,null,null,[c],null)}(s,j,y,g),Fe=function bh(e,n,i){let s=n instanceof t.uvJ?n:n?.injector;return s&&null!==e.getStandaloneInjector&&(s=e.getStandaloneInjector(s)||s),s?new Oc(i,s):i}(j,c||this.ngModule,n),dt=function yh(e){const n=e.get(ha,null);if(null===n)throw new t.buA(407,!1);return{rendererFactory:n,sanitizer:e.get(xr,null),changeDetectionScheduler:e.get(t.hk6,null),ngReflect:!1}}(Fe),Pt=dt.rendererFactory.createRenderer(null,j),Rt=s?function cr(e,n,i,s){const g=s.get(Dt,!1)||i===qo.ShadowDom,y=e.selectRootElement(n,g);return function Pl(e){Il(e)}(y),y}(Pt,s,j.encapsulation,Fe):function _m(e,n){const i=(e.selectors[0][0]||"div").toLowerCase();return ac(n,i,"svg"===i?t.jNX:"math"===i?t.rJ1:null)}(j,Pt),en=y?.some(kl)||g?.some($n=>"function"!=typeof $n&&$n.bindings.some(kl)),pn=m(null,Oe,null,512|B(j),null,null,dt,Pt,Fe,null,Br(Rt,Fe,!0));pn[t.Yw1]=Rt,(0,t.ID8)(pn);let jn=null;try{const $n=au(t.Yw1,pn,2,"#host",()=>Oe.directiveRegistry,!0,0);Rt&&(ko(Pt,Rt,$n),Lt(Rt,pn)),Sr(Oe,pn,$n),Us(Oe,$n,pn),lu(Oe,$n),void 0!==i&&function mm(e,n,i){const s=e.projection=[];for(let c=0;c<n.length;c++){const g=i[c];s.push(null!=g&&g.length?Array.from(g):null)}}($n,this.ngContentSelectors,i),jn=(0,t.KdJ)($n.index,pn),pn[t.SKP]=jn[t.SKP],dc(Oe,pn,null)}catch($n){throw null!==jn&&Jr(jn),Jr(pn),$n}finally{Be(23),(0,t.bll)()}return new pm(this.componentType,pn,!!en)}finally{(0,u.Ht)(F)}}}function kl(e){const n=e[al].kind;return"input"===n||"twoWay"===n}class pm extends zp{_rootLView;_hasInputBindings;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(n,i,s){super(),this._rootLView=i,this._hasInputBindings=s,this._tNode=(0,t.XRZ)(i[t.eDl],t.Yw1),this.location=Kn(this._tNode,i),this.instance=(0,t.KdJ)(this._tNode.index,i)[t.SKP],this.hostView=this.changeDetectorRef=new fc(i,void 0),this.componentType=n}setInput(n,i){const s=this._tNode;if(this.previousInputValues??=new Map,this.previousInputValues.has(n)&&Object.is(this.previousInputValues.get(n),i))return;const c=this._rootLView;Hc(s,c[t.eDl],c,n,i),this.previousInputValues.set(n,i),Nl((0,t.KdJ)(s.index,c),1)}get injector(){return new _e(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(n){this.hostView.onDestroy(n)}}let fu=(()=>class e{static __NG_ELEMENT_ID__=gm})();function gm(){return Dh((0,t.Mx4)(),(0,t.OAn)())}
3const Em=fu,T_=class extends Em{_lContainer;_hostTNode;_hostLView;constructor(n,i,s){super(),this._lContainer=n,this._hostTNode=i,this._hostLView=s}get element(){return Kn(this._hostTNode,this._hostLView)}get injector(){return new _e(this._hostTNode,this._hostLView)}get parentInjector(){const n=Mt(this._hostTNode,this._hostLView);if(Dn(n)){const i=ui(n,this._hostLView),s=Gn(n);return new _e(i[t.eDl].data[s+8],i)}return new _e(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(n){const i=P_(this._lContainer);return null!==i&&i[n]||null}get length(){return this._lContainer.length-t.Y20}createEmbeddedView(n,i,s){let c,g;"number"==typeof s?c=s:null!=s&&(c=s.index,g=s.injector);const y=yr(this._lContainer,n.ssrId),F=n.createEmbeddedViewImpl(i||{},g,y);return this.insertImpl(F,c,ka(this._hostTNode,y)),F}createComponent(n,i,s,c,g,y,F){const j=n&&!w(n);let Oe;if(j)Oe=i;else{const jn=i||{};Oe=jn.index,s=jn.injector,c=jn.projectableNodes,g=jn.environmentInjector||jn.ngModuleRef,y=jn.directives,F=jn.bindings}const Fe=j?n:new _u((0,t.xUg)(n)),dt=s||this.parentInjector;if(!g&&null==Fe.ngModule){const $n=(j?dt:this.parentInjector).get(t.uvJ,null);$n&&(g=$n)}const Pt=(0,t.xUg)(Fe.componentType??{}),Rt=yr(this._lContainer,Pt?.id??null),pn=Fe.create(dt,c,Rt?.firstChild??null,g,y,F);return this.insertImpl(pn.hostView,Oe,ka(this._hostTNode,Rt)),pn}insert(n,i){return this.insertImpl(n,i,!0)}insertImpl(n,i,s){const c=n._lView;if((0,t.ITl)(c)){const F=this.indexOf(n);if(-1!==F)this.detach(F);else{const j=c[t.f7T],Oe=new T_(j,j[t.qlT],j[t.f7T]);Oe.detach(Oe.indexOf(n))}}const g=this._adjustIndex(i),y=this._lContainer;return Ll(y,c,g,s),n.attachToViewContainerRef(),(0,t.EYC)(I_(y),g,n),n}move(n,i){return this.insert(n,i)}indexOf(n){const i=P_(this._lContainer);return null!==i?i.indexOf(n):-1}remove(n){const i=this._adjustIndex(n,-1),s=_c(this._lContainer,i);s&&((0,t.E6O)(I_(this._lContainer),i),Es(s[t.eDl],s))}detach(n){const i=this._adjustIndex(n,-1),s=_c(this._lContainer,i);return s&&null!=(0,t.E6O)(I_(this._lContainer),i)?new fc(s):null}_adjustIndex(n,i=0){return n??this.length+i}};function P_(e){return e[t.bm_]}function I_(e){return e[t.bm_]||(e[t.bm_]=[])}function Dh(e,n){let i;const s=n[e.index];return(0,t.A0l)(s)?i=s:(i=e_(s,n,null,e),n[e.index]=i,lt(n,i)),Ah(i,n,e,s),new T_(i,e,n)}let Ah=function Th(e,n,i,s){if(e[t.s6P])return;let c;c=8&i.type?(0,t.IvY)(s):function Om(e,n){const i=e[t.GpT],s=i.createComment(""),c=(0,t.d31)(n,e),g=i.parentNode(c);return xa(i,g,s,i.nextSibling(c),!1),s}(n,i),e[t.s6P]=c},R_=()=>!1;function Sh(e,n,i){return R_(e,n,i)}class N_{queryList;matches=null;constructor(n){this.queryList=n}clone(){return new N_(this.queryList)}setDirty(){this.queryList.setDirty()}}class L_{queries;constructor(n=[]){this.queries=n}createEmbeddedView(n){const i=n.queries;if(null!==i){const s=null!==n.contentQueries?n.contentQueries[0]:i.length,c=[];for(let g=0;g<s;g++){const y=i.getByIndex(g);c.push(this.queries[y.indexInDeclarationView].clone())}return new L_(c)}return null}insertView(n){this.dirtyQueriesWithMatches(n)}detachView(n){this.dirtyQueriesWithMatches(n)}finishViewCreation(n){this.dirtyQueriesWithMatches(n)}dirtyQueriesWithMatches(n){for(let i=0;i<this.queries.length;i++)null!==U_(n,i).matches&&this.queries[i].setDirty()}}class Ph{flags;read;predicate;constructor(n,i,s=null){this.flags=i,this.read=s,this.predicate="string"==typeof n?function B_(e){return e.split(",").map(n=>n.trim())}(n):n}}class w_{queries;constructor(n=[]){this.queries=n}elementStart(n,i){for(let s=0;s<this.queries.length;s++)this.queries[s].elementStart(n,i)}elementEnd(n){for(let i=0;i<this.queries.length;i++)this.queries[i].elementEnd(n)}embeddedTView(n){let i=null;for(let s=0;s<this.length;s++){const c=null!==i?i.length:0,g=this.getByIndex(s).embeddedTView(n,c);g&&(g.indexInDeclarationView=s,null!==i?i.push(g):i=[g])}return null!==i?new w_(i):null}template(n,i){for(let s=0;s<this.queries.length;s++)this.queries[s].template(n,i)}getByIndex(n){return this.queries[n]}get length(){return this.queries.length}track(n){this.queries.push(n)}}class x_{metadata;matches=null;indexInDeclarationView=-1;crossesNgTemplate=!1;_declarationNodeIndex;_appliesToNextNode=!0;constructor(n,i=-1){this.metadata=n,this._declarationNodeIndex=i}elementStart(n,i){this.isApplyingToNode(i)&&this.matchTNode(n,i)}elementEnd(n){this._declarationNodeIndex===n.index&&(this._appliesToNextNode=!1)}template(n,i){this.elementStart(n,i)}embeddedTView(n,i){return this.isApplyingToNode(n)?(this.crossesNgTemplate=!0,this.addMatch(-n.index,i),new x_(this.metadata)):null}isApplyingToNode(n){if(this._appliesToNextNode&&1&~this.metadata.flags){const i=this._declarationNodeIndex;let s=n.parent;for(;null!==s&&8&s.type&&s.index!==i;)s=s.parent;return i===(null!==s?s.index:-1)}return this._appliesToNextNode}
3matchTNode(n,i){const s=this.metadata.predicate;if(Array.isArray(s))for(let c=0;c<s.length;c++){const g=s[c];this.matchTNodeWithReadOption(n,i,Cm(i,g)),this.matchTNodeWithReadOption(n,i,vi(i,n,g,!1,!1))}else s===hc?4&i.type&&this.matchTNodeWithReadOption(n,i,-1):this.matchTNodeWithReadOption(n,i,vi(i,n,s,!1,!1))}matchTNodeWithReadOption(n,i,s){if(null!==s){const c=this.metadata.read;if(null!==c)if(c===Bn||c===fu||c===hc&&4&i.type)this.addMatch(i.index,-2);else{const g=vi(i,n,c,!1,!1);null!==g&&this.addMatch(i.index,g)}else this.addMatch(i.index,s)}}addMatch(n,i){null===this.matches?this.matches=[n,i]:this.matches.push(n,i)}}function Cm(e,n){const i=e.localNames;if(null!==i)for(let s=0;s<i.length;s+=2)if(i[s]===n)return i[s+1];return null}function ym(e,n,i,s){return-1===i?function bm(e,n){return 11&e.type?Kn(e,n):4&e.type?wl(e,n):null}(n,e):-2===i?function Dm(e,n,i){return i===Bn?Kn(n,e):i===hc?wl(n,e):i===fu?Dh(n,e):void 0}(e,n,s):Hi(e,e[t.eDl],i,n)}function Ih(e,n,i,s){const c=n[t.Ds7].queries[s];if(null===c.matches){const g=e.data,y=i.matches,F=[];for(let j=0;null!==y&&j<y.length;j+=2){const Oe=y[j];F.push(Oe<0?null:ym(n,g[Oe],y[j+1],i.metadata.read))}c.matches=F}return c.matches}function F_(e,n,i,s){const c=e.queries.getByIndex(i),g=c.matches;if(null!==g){const y=Ih(e,n,c,i);for(let F=0;F<g.length;F+=2){const j=g[F];if(j>0)s.push(y[F/2]);else{const Oe=g[F+1],Fe=n[-j];for(let dt=t.Y20;dt<Fe.length;dt++){const Pt=Fe[dt];Pt[t.rQE]===Pt[t.f7T]&&F_(Pt[t.eDl],Pt,Oe,s)}if(null!==Fe[t.nfM]){const dt=Fe[t.nfM];for(let Pt=0;Pt<dt.length;Pt++){const Rt=dt[Pt];F_(Rt[t.eDl],Rt,Oe,s)}}}}}return s}function k_(e,n){return e[t.Ds7].queries[n].queryList}function Rh(e,n,i){const s=new zn(!(4&~i));return(0,t.B22)(e,n,s,s.destroy),(n[t.Ds7]??=new L_).queries.push(new N_(s))-1}function Nh(e,n,i){const s=(0,t.klJ)();return s.firstCreatePass&&($_(s,new Ph(e,n,i),-1),!(2&~n)&&(s.staticViewQueries=!0)),Rh(s,(0,t.OAn)(),n)}function Lh(e,n,i,s){const c=(0,t.klJ)();if(c.firstCreatePass){const g=(0,t.Mx4)();$_(c,new Ph(n,i,s),g.index),function wh(e,n){const i=e.contentQueries||(e.contentQueries=[]);n!==(i.length?i[i.length-1]:-1)&&i.push(e.queries.length-1,n)}(c,e),!(2&~i)&&(c.staticContentQueries=!0)}return Rh(c,(0,t.OAn)(),i)}function $_(e,n,i){null===e.queries&&(e.queries=new w_),e.queries.track(new x_(n,i))}function U_(e,n){return e.queries.getByIndex(n)}function xh(e,n){const i=e[t.eDl],s=U_(i,n);return s.crossesNgTemplate?F_(i,e,n,[]):Ih(i,e,s,n)}function G_(e,n,i){let s;const c=(0,u.KZ)(()=>{s._dirtyCounter();const g=function vs(e,n){const i=e._lView,s=e._queryIndex;if(void 0===i||void 0===s||4&i[t.Wg1])return n?void 0:t.Mlv;const c=k_(i,s),g=xh(i,s);return c.reset(g,Pi),n?c.first:c._changesDetected||void 0===e._flatValue?e._flatValue=c.toArray():e._flatValue}(s,e);if(n&&void 0===g)throw new t.buA(-951,!1);return g});return s=c[u.bh],s._dirtyCounter=(0,t.vPA)(0),s._flatValue=void 0,c}function j_(e){return G_(!0,!1)}function Am(e){return G_(!0,!0)}function Sm(e){return G_(!1,!1)}function Fh(e,n){const i=e[u.bh];i._lView=(0,t.OAn)(),i._queryIndex=n,i._queryList=k_(i._lView,n),i._queryList.onDirty(()=>i._dirtyCounter.update(s=>s+1))}function W_(e){const n=[],i=new Map;function s(c){let g=i.get(c);if(!g){const y=e(c);i.set(c,g=y.then(F=>function Rm(e,n){return"string"==typeof n?n:void 0!==n.status&&200!==n.status?Promise.reject(new t.buA(918,!1)):n.text()}(0,F)))}return g}return Mc.forEach((c,g)=>{const y=[];c.templateUrl&&y.push(s(c.templateUrl).then(Oe=>{c.template=Oe}));const F="string"==typeof c.styles?[c.styles]:c.styles||[];if(c.styles=F,c.styleUrl&&c.styleUrls?.length)throw new Error("@Component cannot define both `styleUrl` and `styleUrls`. Use `styleUrl` if the component has one stylesheet, or `styleUrls` if it has multiple");if(c.styleUrls?.length){const Oe=c.styles.length,Fe=c.styleUrls;c.styleUrls.forEach((dt,Pt)=>{F.push(""),y.push(s(dt).then(Rt=>{F[Oe+Pt]=Rt,Fe.splice(Fe.indexOf(dt),1),0==Fe.length&&(c.styleUrls=void 0)}))})}else c.styleUrl&&y.push(s(c.styleUrl).then(Oe=>{F.push(Oe),c.styleUrl=void 0}));const j=Promise.all(y).then(()=>function Nm(e){dd.delete(e)}(g));n.push(j)}),function Pm(){const e=Mc;Mc=new Map}(),Promise.all(n).then(()=>{})}let Mc=new Map;const dd=new Set;function Im(){return 0===Mc.size}const K_=new Map;function Bh(e,n){(function Lm(e,n,i){if(n&&n!==i)throw new Error(`Duplicate module registered for ${e} - ${(0,t.AsM)(n)} vs ${(0,t.AsM)(n.name)}`)})(n,K_.get(n)||null,e),K_.set(n,e)}const Uh=new Set;function Ns(e){Uh.has(e)||(Uh.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}let Bl=class{},Gh=class{};function wm(e,n){return new X_(e,n??null,[])}class X_ extends Bl{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];componentFactoryResolver=new S_(this);constructor(n,i,s,c=!0){super(),this.ngModuleType=n,this._parent=i;const g=(0,t.phH)(n);this._bootstrapComponents=ms(g.bootstrap),this._r3Injector=(0,t.Pz9)(n,i,[{provide:Bl,useValue:this},{provide:ru,useValue:this.componentFactoryResolver},...s],(0,t.AsM)(n),new Set(["environment"])),c&&this.resolveInjectorInitializer
3s()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}get injector(){return this._r3Injector}destroy(){const n=this._r3Injector;!n.destroyed&&n.destroy(),this.destroyCbs.forEach(i=>i()),this.destroyCbs=null}onDestroy(n){this.destroyCbs.push(n)}}class jh extends Gh{moduleType;constructor(n){super(),this.moduleType=n}create(n){return new X_(this.moduleType,n,[])}}function xm(e,n,i){return new X_(e,n,i,!1)}class Fm extends Bl{injector;componentFactoryResolver=new S_(this);instance=null;constructor(n){super();const i=new t.e5P([...n.providers,{provide:Bl,useValue:this},{provide:ru,useValue:this.componentFactoryResolver}],n.parent||(0,t.WB9)(),n.debugName,new Set(["environment"]));this.injector=i,n.runEnvironmentInitializers&&i.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(n){this.injector.onDestroy(n)}}function H_(e,n,i=null){return new Fm({providers:e,parent:n,debugName:i,runEnvironmentInitializers:!0}).injector}let km=(()=>{class e{_injector;cachedInjectors=new Map;constructor(i){this._injector=i}getOrCreateStandaloneInjector(i){if(!i.standalone)return null;if(!this.cachedInjectors.has(i)){const s=(0,t.jXY)(!1,i.type),c=s.length>0?H_([s],this._injector,`Standalone[${i.type.name}]`):null;this.cachedInjectors.set(i,c)}return this.cachedInjectors.get(i)}ngOnDestroy(){try{for(const i of this.cachedInjectors.values())null!==i&&i.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=(0,t.jDH)({token:e,providedIn:"environment",factory:()=>new e((0,t.KVO)(t.uvJ))})}return e})();function Wh(e){return _(()=>{const n=Hh(e),i={...n,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===gi.OnPush,directiveDefs:null,pipeDefs:null,dependencies:n.standalone&&e.dependencies||null,getStandaloneInjector:n.standalone?c=>c.get(km).getOrCreateStandaloneInjector(i):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||qo.Emulated,styles:e.styles||t.Mlv,_:null,schemas:e.schemas||null,tView:null,id:""};n.standalone&&Ns("NgStandalone"),Yh(i);const s=e.dependencies;return i.directiveDefs=l(s,Kh),i.pipeDefs=l(s,t.oyA),i.id=function P(e){let n=0;const s=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,"function"==typeof e.consts?"":e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery];for(const g of s.join("|"))n=Math.imul(31,n)+g.charCodeAt(0)|0;return n+=2147483648,"c"+n}(i),i})}function Kh(e){return(0,t.xUg)(e)||(0,t.HaV)(e)}function Vh(e){return _(()=>({type:e.type,bootstrap:e.bootstrap||t.Mlv,declarations:e.declarations||t.Mlv,imports:e.imports||t.Mlv,exports:e.exports||t.Mlv,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function Bm(e,n){if(null==e)return t.MZA;const i={};for(const s in e)if(e.hasOwnProperty(s)){const c=e[s];let g,y,F,j;Array.isArray(c)?(F=c[0],g=c[1],y=c[2]??g,j=c[3]||null):(g=c,y=c,F=Kt.None,j=null),i[g]=[s,F,j],n[g]=y}return i}function $m(e){if(null==e)return t.MZA;const n={};for(const i in e)e.hasOwnProperty(i)&&(n[e[i]]=i);return n}function zh(e){return _(()=>{const n=Hh(e);return Yh(n),n})}function Xh(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,standalone:e.standalone??!0,onDestroy:e.type.prototype.ngOnDestroy||null}}function Hh(e){const n={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:n,inputConfig:e.inputs||t.MZA,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:!0===e.signals,selectors:e.selectors||t.Mlv,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,resolveHostDirectives:null,hostDirectives:null,inputs:Bm(e.inputs,n),outputs:$m(e.outputs),debugInfo:null}}function Yh(e){e.features?.forEach(n=>n(e))}function l(e,n){return e?()=>{const i="function"==typeof e?e():e,s=[];for(const c of i){const g=n(c);null!==g&&s.push(g)}return s}:null}function re(e){return Object.getPrototypeOf(e.prototype).constructor}function Le(e){let n=re(e.type),i=!0;const s=[e];for(;n;){let c;if((0,t.JlV)(e))c=n.\u0275cmp||n.\u0275dir;else{if(n.\u0275cmp)throw new t.buA(903,!1);c=n.\u0275dir}if(c){if(i){s.push(c);const y=e;
3y.inputs=kt(e.inputs),y.declaredInputs=kt(e.declaredInputs),y.outputs=kt(e.outputs);const F=c.hostBindings;F&&dn(e,F);const j=c.viewQuery,Oe=c.contentQueries;if(j&&Yt(e,j),Oe&&cn(e,Oe),ct(e,c),(0,t.dwj)(e.outputs,c.outputs),(0,t.JlV)(c)&&c.data.animation){const Fe=e.data;Fe.animation=(Fe.animation||[]).concat(c.data.animation)}}const g=c.features;if(g)for(let y=0;y<g.length;y++){const F=g[y];F&&F.ngInherit&&F(e),F===Le&&(i=!1)}}n=Object.getPrototypeOf(n)}!function St(e){let n=0,i=null;for(let s=e.length-1;s>=0;s--){const c=e[s];c.hostVars=n+=c.hostVars,c.hostAttrs=ln(c.hostAttrs,i=ln(i,c.hostAttrs))}}(s)}function ct(e,n){for(const i in n.inputs){if(!n.inputs.hasOwnProperty(i)||e.inputs.hasOwnProperty(i))continue;const s=n.inputs[i];void 0!==s&&(e.inputs[i]=s,e.declaredInputs[i]=n.declaredInputs[i])}}function kt(e){return e===t.MZA?{}:e===t.Mlv?[]:e}function Yt(e,n){const i=e.viewQuery;e.viewQuery=i?(s,c)=>{n(s,c),i(s,c)}:n}function cn(e,n){const i=e.contentQueries;e.contentQueries=i?(s,c,g)=>{n(s,c,g),i(s,c,g)}:n}function dn(e,n){const i=e.hostBindings;e.hostBindings=i?(s,c)=>{n(s,c),i(s,c)}:n}const mn=["providersResolver"],wn=["template","decls","consts","vars","onPush","ngContentSelectors","styles","encapsulation","schemas"];function si(e){const n=i=>{const s=Array.isArray(e);null===i.hostDirectives?(i.resolveHostDirectives=Li,i.hostDirectives=s?e.map(Ui):[e]):s?i.hostDirectives.unshift(...e.map(Ui)):i.hostDirectives.unshift(e)};return n.ngInherit=!0,n}function Li(e){const n=[];let i=!1,s=null,c=null;for(let g=0;g<e.length;g++){const y=e[g];if(null!==y.hostDirectives){const F=n.length;s??=new Map,c??=new Map,ii(y,n,s),c.set(y,[F,n.length-1])}0===g&&(0,t.JlV)(y)&&(i=!0,n.push(y))}for(let g=i?1:0;g<e.length;g++)n.push(e[g]);return[n,s,c]}function ii(e,n,i){if(null!==e.hostDirectives)for(const s of e.hostDirectives)if("function"==typeof s){const c=s();for(const g of c)Bi(Ui(g),n,i)}else Bi(s,n,i)}function Bi(e,n,i){const s=(0,t.HaV)(e.directive);(function os(e,n){for(const i in n)n.hasOwnProperty(i)&&(e[n[i]]=e[i])})(s.declaredInputs,e.inputs),ii(s,n,i),i.set(s,e),n.push(s)}function Ui(e){return"function"==typeof e?{directive:(0,t.nl4)(e),inputs:t.MZA,outputs:t.MZA}:{directive:(0,t.nl4)(e.directive),inputs:Cs(e.inputs),outputs:Cs(e.outputs)}}function Cs(e){if(void 0===e||0===e.length)return t.MZA;const n={};for(let i=0;i<e.length;i+=2)n[e[i]]=e[i+1];return n}function Hs(e,n,i,s,c,g,y,F){if(i.firstCreatePass){e.mergedAttrs=ln(e.mergedAttrs,e.attrs);const Fe=e.tView=gs(2,e,c,g,y,i.directiveRegistry,i.pipeRegistry,null,i.schemas,i.consts,null);null!==i.queries&&(i.queries.template(i,e),Fe.queries=i.queries.embeddedTView(e))}F&&(e.flags|=F),(0,t.iMd)(e,!1);const j=cE(i,n,e,s);(0,t.SX7)()&&Ln(i,n,j,e),Lt(j,n);const Oe=e_(j,n,j,e);n[s+t.Yw1]=Oe,lt(n,Oe),Sh(Oe,e,n)}function ll(e,n,i,s,c,g,y,F,j,Oe,Fe){const dt=i+t.Yw1;let Pt;if(n.firstCreatePass){if(Pt=rl(n,dt,4,y||null,F||null),null!=Oe){const Rt=(0,t.db4)(n.consts,Oe);Pt.localNames=[];for(let en=0;en<Rt.length;en+=2)Pt.localNames.push(Rt[en],-1)}}else Pt=n.data[dt];return Hs(Pt,e,n,i,s,c,g,j),null!=Oe&&Yo(e,Pt,Fe),Pt}function Um(e,n,i,s,c,g,y,F){const j=(0,t.OAn)(),Oe=(0,t.klJ)();return function Va(e,n,i,s,c,g,y,F,j,Oe,Fe){const dt=i+t.Yw1;let Pt;n.firstCreatePass?(Pt=rl(n,dt,4,y||null,F||null),(0,t.ckz)()&&xl(n,e,Pt,(0,t.db4)(n.consts,Oe),$d),Se(n,Pt)):Pt=n.data[dt],Hs(Pt,e,n,i,s,c,g,j),(0,t.yoD)(Pt)&&Sr(n,e,Pt),null!=Oe&&Yo(e,Pt,Fe)}(j,Oe,e,n,i,s,c,(0,t.db4)(Oe.consts,g),void 0,y,F),Um}function Gm(e,n,i,s,c,g,y,F){const j=(0,t.OAn)(),Oe=(0,t.klJ)();return ll(j,Oe,e,n,i,s,c,(0,t.db4)(Oe.consts,g),void 0,y,F),Gm}let cE=function dE(e,n,i,s){return(0,t.m7n)(!0),n[t.GpT].createComment("")};var go=function(e){return e[e.NOT_STARTED=0]="NOT_STARTED",e[e.IN_PROGRESS=1]="IN_PROGRESS",e[e.COMPLETE=2]="COMPLETE",e[e.FAILED=3]="FAILED",e}(go||{}),Er=function(e){return e[e.Placeholder=0]="Placeholder",e[e.Loading=1]="Loading",e[e.Complete=2]="Complete",e[e.Error=3]="Error",e}(Er||{}),pu=function(e){return e[e.Initial=-1]="Initial",e}(pu||{}),_E=function(e){return e[e.Manual=0]="Manual",e[e.Playthrough=1]="Playthrough",e}(_E||{});function Q_(e,n,i){const s=hE(e);null===n[s]&&(n[s]=[]),n[s].push(i)}function Jh(e,n){const i=hE(e),s=n[i];if(null!==s){for(const c of s)c();n[i]=null}}function fE(e){Jh(1,e),Jh(0,e),Jh(2,e)}function hE(e){let n=4;return 1===e?n=5:2===e&&(n=9),n}var jm=function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e}(jm||{});const Z_=new t.nKC(""),pE=!1,$l=class Uv extends M.B{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(n=!1){super(),this.__isAsync=n,(0,t.M6u)()&&(this.destroyRef=(0,t.WQX)(t.abz,{optional:!0})??void 0,this.pendingTasks=(0,t.WQX)(t.rev,{optional:!0})??void 0)}emit(n){const i=(0,u.Ht)(null);try{super.next(n)}finally{(0,u.Ht)(i)}}subscribe(n,i,s){let c=n,g=i||(()=>null),y=s;
3if(n&&"object"==typeof n){const j=n;c=j.next?.bind(j),g=j.error?.bind(j),y=j.complete?.bind(j)}this.__isAsync&&(g=this.wrapInTimeout(g),c&&(c=this.wrapInTimeout(c)),y&&(y=this.wrapInTimeout(y)));const F=super.subscribe({next:c,error:g,complete:y});return n instanceof v.yU&&n.add(F),F}wrapInTimeout(n){return i=>{const s=this.pendingTasks?.add();setTimeout(()=>{try{n(i)}finally{void 0!==s&&this.pendingTasks?.remove(s)}})}}};function mE(e){let n,i;function s(){e=t.lQ1;try{void 0!==i&&"function"==typeof cancelAnimationFrame&&cancelAnimationFrame(i),void 0!==n&&clearTimeout(n)}catch{}}return n=setTimeout(()=>{e(),s()}),"function"==typeof requestAnimationFrame&&(i=requestAnimationFrame(()=>{e(),s()})),()=>s()}function gE(e){return queueMicrotask(()=>e()),()=>{e=t.lQ1}}const Wm="isAngularZone",qh=Wm+"_ID";let Gv=0;class Wr{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new $l(!1);onMicrotaskEmpty=new $l(!1);onStable=new $l(!1);onError=new $l(!1);constructor(n){const{enableLongStackTrace:i=!1,shouldCoalesceEventChangeDetection:s=!1,shouldCoalesceRunChangeDetection:c=!1,scheduleInRootZone:g=pE}=n;if(typeof Zone>"u")throw new t.buA(908,!1);Zone.assertZonePatched();const y=this;y._nesting=0,y._outer=y._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(y._inner=y._inner.fork(new Zone.TaskTrackingZoneSpec)),i&&Zone.longStackTraceZoneSpec&&(y._inner=y._inner.fork(Zone.longStackTraceZoneSpec)),y.shouldCoalesceEventChangeDetection=!c&&s,y.shouldCoalesceRunChangeDetection=c,y.callbackScheduled=!1,y.scheduleInRootZone=g,function Kv(e){const n=()=>{!function Wv(e){function n(){mE(()=>{e.callbackScheduled=!1,Vm(e),e.isCheckStableRunning=!0,Km(e),e.isCheckStableRunning=!1})}e.isCheckStableRunning||e.callbackScheduled||(e.callbackScheduled=!0,e.scheduleInRootZone?Zone.root.run(()=>{n()}):e._outer.run(()=>{n()}),Vm(e))}(e)},i=Gv++;e._inner=e._inner.fork({name:"angular",properties:{[Wm]:!0,[qh]:i,[qh+i]:!0},onInvokeTask:(s,c,g,y,F,j)=>{if(function Vv(e){return ME(e,"__ignore_ng_zone__")}(j))return s.invokeTask(g,y,F,j);try{return EE(e),s.invokeTask(g,y,F,j)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===y.type||e.shouldCoalesceRunChangeDetection)&&n(),OE(e)}},onInvoke:(s,c,g,y,F,j,Oe)=>{try{return EE(e),s.invoke(g,y,F,j,Oe)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!function zv(e){return ME(e,"__scheduler_tick__")}(j)&&n(),OE(e)}},onHasTask:(s,c,g,y)=>{s.hasTask(g,y),c===g&&("microTask"==y.change?(e._hasPendingMicrotasks=y.microTask,Vm(e),Km(e)):"macroTask"==y.change&&(e.hasPendingMacrotasks=y.macroTask))},onHandleError:(s,c,g,y)=>(s.handleError(g,y),e.runOutsideAngular(()=>e.onError.emit(y)),!1)})}(y)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get(Wm)}static assertInAngularZone(){if(!Wr.isInAngularZone())throw new t.buA(909,!1)}static assertNotInAngularZone(){if(Wr.isInAngularZone())throw new t.buA(909,!1)}run(n,i,s){return this._inner.run(n,i,s)}runTask(n,i,s,c){const g=this._inner,y=g.scheduleEventTask("NgZoneEvent: "+c,n,jv,t.lQ1,t.lQ1);try{return g.runTask(y,i,s)}finally{g.cancelTask(y)}}runGuarded(n,i,s){return this._inner.runGuarded(n,i,s)}runOutsideAngular(n){return this._outer.run(n)}}const jv={};function Km(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function Vm(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&!0===e.callbackScheduled)}function EE(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function OE(e){e._nesting--,Km(e)}class zm{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new $l;onMicrotaskEmpty=new $l;onStable=new $l;onError=new $l;run(n,i,s){return n.apply(i,s)}runGuarded(n,i,s){return n.apply(i,s)}runOutsideAngular(n){return n()}runTask(n,i,s,c){return n.apply(i,s)}}function ME(e,n){return!(!Array.isArray(e)||1!==e.length)&&!0===e[0]?.data?.[n]}function Xv(e="zone.js",n){return"noop"===e?new zm:"zone.js"===e?new Wr(n):e}let Xm=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=(0,t.jDH)({token:e,providedIn:"root",factory:()=>new e})}return e})();const vE=[0,1,2,3];let CE=(()=>{class e{ngZone=(0,t.WQX)(Wr);
3scheduler=(0,t.WQX)(t.hk6);errorHandler=(0,t.WQX)(t.zcH,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){(0,t.WQX)(Z_,{optional:!0})}execute(){const i=this.sequences.size>0;i&&Be(16),this.executing=!0;for(const s of vE)for(const c of this.sequences)if(!c.erroredOrDestroyed&&c.hooks[s])try{c.pipelinedValue=this.ngZone.runOutsideAngular(()=>this.maybeTrace(()=>(0,c.hooks[s])(c.pipelinedValue),c.snapshot))}catch(g){c.erroredOrDestroyed=!0,this.errorHandler?.handleError(g)}this.executing=!1;for(const s of this.sequences)s.afterRun(),s.once&&(this.sequences.delete(s),s.destroy());for(const s of this.deferredRegistrations)this.sequences.add(s);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear(),i&&Be(17)}register(i){const{view:s}=i;void 0!==s?((s[t.JEi]??=[]).push(i),(0,t.blu)(s),s[t.Wg1]|=8192):this.executing?this.deferredRegistrations.add(i):this.addSequence(i)}addSequence(i){this.sequences.add(i),this.scheduler.notify(7)}unregister(i){this.executing&&this.sequences.has(i)?(i.erroredOrDestroyed=!0,i.pipelinedValue=void 0,i.once=!0):(this.sequences.delete(i),this.deferredRegistrations.delete(i))}maybeTrace(i,s){return s?s.run(jm.AFTER_NEXT_RENDER,i):i()}static \u0275prov=(0,t.jDH)({token:e,providedIn:"root",factory:()=>new e})}return e})();class bE{impl;hooks;view;once;snapshot;erroredOrDestroyed=!1;pipelinedValue=void 0;unregisterOnDestroy;constructor(n,i,s,c,g,y=null){this.impl=n,this.hooks=i,this.view=s,this.once=c,this.snapshot=y,this.unregisterOnDestroy=g?.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,this.snapshot?.dispose(),this.snapshot=null}destroy(){this.impl.unregister(this),this.unregisterOnDestroy?.();const n=this.view?.[t.JEi];n&&(this.view[t.JEi]=n.filter(i=>i!==this))}}function yE(e,n){const i=n?.injector??(0,t.WQX)(t.zZn);return Ns("NgAfterNextRender"),DE(e,i,n,!0)}function DE(e,n,i,s){const c=n.get(Xm);c.impl??=n.get(CE);const g=n.get(Z_,null,{optional:!0}),y=!0!==i?.manualCleanup?n.get(t.abz):null,F=n.get(t.r4V,null,{optional:!0}),j=new bE(c.impl,function Yv(e){return e instanceof Function?[void 0,void 0,e,void 0]:[e.earlyRead,e.write,e.mixedReadWrite,e.read]}(e),F?.view,s,y,g?.snapshot(null));return c.impl.register(j),j}const Qv={destroy(){}};function J_(e){return e+1}function Ys(e,n){return e[J_(n.index)]}function ss(e,n){const i=J_(n.index);return e.data[i]}function Hm(e,n){return n===Er.Placeholder?e.placeholderBlockConfig?.[0]??null:n===Er.Loading?e.loadingBlockConfig?.[0]??null:null}function AE(e){return e.loadingBlockConfig?.[1]??null}function SE(e,n){if(!e||0===e.length)return n;const i=new Set(e);for(const s of n)i.add(s);return e.length===i.size?e:Array.from(i)}function Ym(e,n,i){const s=i.get(Wr);return function Ds(e,n,i){let s=Wo.get(e);return Ko=Ko||i(),s||(s=new ao,Ko.observe(e),Wo.set(e,s),ds++),s.callbacks.add(n),()=>{Wo.has(e)&&(s.callbacks.delete(n),0===s.callbacks.size&&(Ko?.unobserve(e),Wo.delete(e),ds--),0===ds&&(Ko?.disconnect(),Ko=null))}}(e,()=>s.run(n),()=>s.runOutsideAngular(()=>function Xa(){return new IntersectionObserver(e=>{for(const n of e)n.isIntersecting&&Wo.has(n.target)&&Wo.get(n.target).listener()})}()))}function Eu(e,n,i,s,c,g,y){const F=e[t.YEL],j=F.get(Wr);let Oe;Oe=function Hv(e,n){const i=n?.injector??(0,t.WQX)(t.zZn);return Ns("NgAfterRender"),DE(e,i,n,!1)}({read:function Fe(){if((0,t.EPY)(e))return void Oe.destroy();const dt=Ys(e,n),Pt=dt[1];if(Pt!==pu.Initial&&Pt!==Er.Placeholder)return void Oe.destroy();const Rt=function tC(e,n,i){return null==i?e:i>=0?(0,t.jRZ)(i,e):e[n.index][t.Y20]??null}(e,n,s);if(!Rt||(Oe.destroy(),(0,t.EPY)(Rt)))return;const en=function nC(e,n){return(0,t.vaC)(t.Yw1+n,e)}(Rt,i),pn=c(en,()=>{j.run(()=>{e!==Rt&&(0,t.DyX)(Rt,pn),g()})},F);e!==Rt&&(0,t.ik5)(Rt,pn),Q_(y,dt,pn)}},{injector:F})}function ep(e,n){const i=n.get(oC);return i.add(e),()=>i.remove(e)}let oC=(()=>{class e{executingCallbacks=!1;idleId=null;current=new Set;deferred=new Set;ngZone=(0,t.WQX)(Wr);requestIdleCallbackFn=(()=>typeof requestIdleCallback<"u"?requestIdleCallback:setTimeout)().bind(globalThis);cancelIdleCallbackFn=(()=>typeof requestIdleCallback<"u"?cancelIdleCallback:clearTimeout)().bind(globalThis);add(i){(this.executingCallbacks?this.deferred:this.current).add(i),null===this.idleId&&this.scheduleIdleCallback()}remove(i){const{current:s,deferred:c}=this;s.delete(i),c.delete(i),0===s.size&&0===c.size&&this.cancelIdleCallback()}scheduleIdleCallback(){const i=()=>{this.cancelIdleCallback(),this.executingCallbacks=!0;for(const s of this.current)s();if(this.current.clear(),this.executingCallbacks=!1,this.deferred.size>0){for(const s of this.deferred)this.current.add(s);this.deferred.clear(),this.scheduleIdleCallback()}};this.idleId=this.requestIdleCallbackFn(()=>this.ngZone.run(i))}cancelIdleCallback(){null!==this.idleId&&(this.cancelIdleCallbackFn(this.idleId),this.idleId=null)}ngOnDestroy(){this.cancelIdleCallback(),this.current.clear(),this.deferred.clear()}static \u0275prov=(0,t.jDH)({token:e,providedIn:"root",factory:()=>new e})}return e})();function tp(e){return(n,i)=>PE(e,n,i)}function PE(e,n,i){const s=i.get(sC),c=i.get(Wr);return s.add(e,n,c),()=>s.remove(n)}let sC=(()=>{class e{executingCallbacks=!1;timeoutId=null;invokeTimerAt=null;current=[];deferred=[];add(i,s,c){this.addToQueue(this.executingCallbacks?this.deferred:this.current,Date.now()+i,s),this.scheduleTimer(c)}remove(i){const{current:s,deferred:c}=this;-1===this.removeFromQueue(s,i)&&this.removeFromQueue(c,i),0===s.length&&0===c.length&&this.clearTimeout()}addToQueue(i,s,c){let g=i.length;for(let y=0;y<i.length;y+=2)if(i[y]>s){g=y;break}(0,t.llW)(i,g,s,c)}removeFromQueue(i,s){let c=-1;for(let g=0;g<i.length;g+=2)if(i[g+1]===s){c=g;break}return c>-1&&(0,t.gsJ)(i,c,2),c}scheduleTimer(i){const s=()=>{this.clearTimeout(),this.executingCallbacks=!0;const g=[...this.current],y=Date.now();for(let j=0;j<g.length;j+=2){const Fe=g[j+1];if(!(g[j]<=y))break;Fe()}let F=-1;for(let j=0;j<this.current.length&&this.current[j]<=y;j+=2)F=j+1;if(F>=0&&(0,t.gsJ)(this.current,0,F+1),this.executingCallbacks=!1,this.deferred.length>0){for(let j=0;j<this.deferred.length;j+=2)this.addToQueue(this.current,this.deferred[j],this.deferred[j+1]);this.deferred.length=0}this.scheduleTimer(i)};if(this.current.length>0){const g=Date.now(),y=this.current[0];if(null===this.timeoutId||this.invokeTimerAt&&this.invokeTimerAt-y>16){this.clearTimeout();const F=Math.max(y-g,16);this.invokeTimerAt=y,this.timeoutId=i.runOutsideAngular(()=>setTimeout(()=>i.run(s),F))}}}clearTimeout(){null!==this.timeoutId&&(clearTimeout(this.timeoutId),this.timeoutId=null)}ngOnDestroy(){this.clearTimeout(),this.current.length=0,this.deferred.length=0}static \u0275prov=(0,t.jDH)({token:e,providedIn:"root",factory:()=>new e})}return e})(),aC=(()=>{class e{cachedInjectors=new Map;getOrCreateInjector(i,s,c,g){if(!this.cachedInjectors.has(i)){const y=c.length>0?H_(c,s,g):null;this.cachedInjectors.set(i,y)}return this.cachedInjectors.get(i)}ngOnDestroy(){try{for(const i of this.cachedInjectors.values())null!==i&&i.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=(0,t.jDH)({token:e,providedIn:"environment",factory:()=>new e})}return e})();const lC=new t.nKC("");function Qm(e,n,i){return e.get(aC).getOrCreateInjector(n,e,i,"")}function vc(e,n,i,s=!1){const c=i[t.f7T],g=c[t.eDl];if((0,t.EPY)(c))return;const y=Ys(c,n),j=y[7];if(!(null!==j&&e<j)&&NE(y[1],e)&&NE(y[0]??-1,e)){const Oe=ss(g,n),dt=s||null===AE(Oe)&&null===Hm(Oe,Er.Loading)&&!Hm(Oe,Er.Placeholder)?IE:Zm;try{dt(e,y,i,n,c)}catch(Pt){Ud(c,Pt)}}}function IE(e,n,i,s,c){Be(20);const g=function qv(e,n,i){const c=ss(n[t.eDl],i);switch(e){case Er.Complete:return c.primaryTmplIndex;case Er.Loading:return c.loadingTmplIndex;case Er.Error:return c.errorTmplIndex;case Er.Placeholder:return c.placeholderTmplIndex;default:return null}}(e,c,s);if(null!==g){n[1]=e;const y=c[t.eDl],j=(0,t.XRZ)(y,g+t.Yw1),Oe=0;let Fe;if(rs(i,Oe),e===Er.Complete){const en=ss(y,s),pn=en.providers;pn&&pn.length>0&&(Fe=function cC(e,n,i){if(e instanceof Oc){const c=e.injector,y=Qm(e.parentInjector,n,i);return new Oc(c,y)}const s=e.get(t.uvJ);if(s!==e){const c=Qm(s,n,i);return new Oc(e,c)}return Qm(e,n,i)}(c[t.YEL],en,pn))}const{dehydratedView:dt,dehydratedViewIx:Pt}=function dC(e,n){const i=e[t.qFA]?.findIndex(c=>c.data.s===n[1])??-1;return{dehydratedView:i>-1?e[t.qFA][i]:null,dehydratedViewIx:i}}(i,n),Rt=Fa(c,j,null,{injector:Fe,dehydratedView:dt});if(Ll(i,Rt,Oe,ka(j,dt)),Nl(Rt,2),Pt>-1&&i[t.qFA]?.splice(Pt,1),(e===Er.Complete||e===Er.Error)&&Array.isArray(n[8])){for(const en of n[8])en();n[8]=null}}Be(21)}function uC(e,n,i,s,c){const g=Date.now(),F=ss(c[t.eDl],s);if(null===n[2]||n[2]<=g){n[2]=null;const j=AE(F),Oe=null!==n[3];
3if(e!==Er.Loading||null===j||Oe){e>Er.Loading&&Oe&&(n[3](),n[3]=null,n[0]=null),IE(e,n,i,s,c);const Fe=Hm(F,e);null!==Fe&&(n[2]=g+Fe,RE(Fe,n,s,i,c))}else{n[0]=e;const Fe=RE(j,n,s,i,c);n[3]=Fe}}else n[0]=e}function RE(e,n,i,s,c){return PE(e,()=>{const y=n[0];n[2]=null,n[0]=null,null!==y&&vc(y,i,s)},c[t.YEL])}function NE(e,n){return e<n}function Ou(e,n){vc(Er.Placeholder,n,e[n.index])}function LE(e,n,i){e.loadingPromise.then(()=>{e.loadingState===go.COMPLETE?vc(Er.Complete,n,i):e.loadingState===go.FAILED&&vc(Er.Error,n,i)})}let Zm=null;function fC(e,n,i,s){return _(()=>{const c=e;null!==n&&(c.hasOwnProperty("decorators")&&void 0!==c.decorators?c.decorators.push(...n):c.decorators=n),null!==i&&(c.ctorParameters=i),null!==s&&(c.propDecorators=c.hasOwnProperty("propDecorators")&&void 0!==c.propDecorators?{...c.propDecorators,...s}:s)})}let wE=(()=>{class e{log(i){console.log(i)}warn(i){console.warn(i)}static \u0275fac=function(s){return new(s||e)};static \u0275prov=(0,t.jDH)({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();const YE=new t.nKC(""),QE=new t.nKC("");let eg,qC=(()=>{class e{_ngZone;registry;_isZoneStable=!0;_callbacks=[];_taskTrackingZone=null;_destroyRef;constructor(i,s,c){this._ngZone=i,this.registry=s,(0,t.M6u)()&&(this._destroyRef=(0,t.WQX)(t.abz,{optional:!0})??void 0),eg||(function eb(e){eg=e}(c),c.addToWindow(s)),this._watchAngularEvents(),i.run(()=>{this._taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){const i=this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),s=this._ngZone.runOutsideAngular(()=>this._ngZone.onStable.subscribe({next:()=>{Wr.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}}));this._destroyRef?.onDestroy(()=>{i.unsubscribe(),s.unsubscribe()})}isStable(){return this._isZoneStable&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let i=this._callbacks.pop();clearTimeout(i.timeoutId),i.doneCb()}});else{let i=this.getPendingTasks();this._callbacks=this._callbacks.filter(s=>!s.updateCb||!s.updateCb(i)||(clearTimeout(s.timeoutId),!1))}}getPendingTasks(){return this._taskTrackingZone?this._taskTrackingZone.macroTasks.map(i=>({source:i.source,creationLocation:i.creationLocation,data:i.data})):[]}addCallback(i,s,c){let g=-1;s&&s>0&&(g=setTimeout(()=>{this._callbacks=this._callbacks.filter(y=>y.timeoutId!==g),i()},s)),this._callbacks.push({doneCb:i,timeoutId:g,updateCb:c})}whenStable(i,s,c){if(c&&!this._taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(i,s,c),this._runCallbacksIfReady()}registerApplication(i){this.registry.registerApplication(i,this)}unregisterApplication(i){this.registry.unregisterApplication(i)}findProviders(i,s,c){return[]}static \u0275fac=function(s){return new(s||e)((0,t.KVO)(Wr),(0,t.KVO)(ZE),(0,t.KVO)(QE))};static \u0275prov=(0,t.jDH)({token:e,factory:e.\u0275fac})}return e})(),ZE=(()=>{class e{_applications=new Map;registerApplication(i,s){this._applications.set(i,s)}unregisterApplication(i){this._applications.delete(i)}unregisterAllApplications(){this._applications.clear()}getTestability(i){return this._applications.get(i)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(i,s=!0){return eg?.findTestabilityInTree(this,i,s)??null}static \u0275fac=function(s){return new(s||e)};static \u0275prov=(0,t.jDH)({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();function JE(e){return!!e&&"function"==typeof e.then}function qE(e){return!!e&&"function"==typeof e.subscribe}const eO=new t.nKC("");function tb(e){return(0,t.EmA)([{provide:eO,multi:!0,useValue:e}])}let tO=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((i,s)=>{this.resolve=i,this.reject=s});appInits=(0,t.WQX)(eO,{optional:!0})??[];injector=(0,t.WQX)(t.zZn);constructor(){}
3runInitializers(){if(this.initialized)return;const i=[];for(const c of this.appInits){const g=(0,t.N4e)(this.injector,c);if(JE(g))i.push(g);else if(qE(g)){const y=new Promise((F,j)=>{g.subscribe({complete:F,error:j})});i.push(y)}}const s=()=>{this.done=!0,this.resolve()};Promise.all(i).then(()=>{s()}).catch(c=>{this.reject(c)}),0===i.length&&s(),this.initialized=!0}static \u0275fac=function(s){return new(s||e)};static \u0275prov=(0,t.jDH)({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const nO=new t.nKC("");function nb(){}function ib(){(0,u.KO)(()=>{throw new t.buA(600,"")})}function iO(e,n){return Array.isArray(n)?n.reduce(iO,e):{...e,...n}}let rp=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=(0,t.WQX)(t.ZTf);afterRenderManager=(0,t.WQX)(Xm);zonelessEnabled=(0,t.WQX)(t.Evm);rootEffectScheduler=(0,t.WQX)(t.VML);dirtyFlags=0;tracingSnapshot=null;allTestViews=new Set;autoDetectTestViews=new Set;includeAllTestViews=!1;afterTick=new M.B;get allViews(){return[...(this.includeAllTestViews?this.allTestViews:this.autoDetectTestViews).keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];internalPendingTask=(0,t.WQX)(t.rev);get isStable(){return this.internalPendingTask.hasPendingTasksObservable.pipe((0,r.T)(i=>!i))}constructor(){(0,t.WQX)(Z_,{optional:!0})}whenStable(){let i;return new Promise(s=>{i=this.isStable.subscribe({next:c=>{c&&s()}})}).finally(()=>{i.unsubscribe()})}_injector=(0,t.WQX)(t.uvJ);_rendererFactory=null;get injector(){return this._injector}bootstrap(i,s){return this.bootstrapImpl(i,s)}bootstrapImpl(i,s,c=t.zZn.NULL){return this._injector.get(Wr).run(()=>{Be(10);const y=i instanceof fh;if(!this._injector.get(tO).done)throw new t.buA(405,"");let j;j=y?i:this._injector.get(ru).resolveComponentFactory(i),this.componentTypes.push(j.componentType);const Oe=function rb(e){return e.isBoundToModule}(j)?void 0:this._injector.get(Bl),dt=j.create(c,[],s||j.selector,Oe),Pt=dt.location.nativeElement,Rt=dt.injector.get(YE,null);return Rt?.registerApplication(Pt),dt.onDestroy(()=>{this.detachView(dt.hostView),op(this.components,dt),Rt?.unregisterApplication(Pt)}),this._loadComponent(dt),Be(11,dt),dt})}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){Be(12),null!==this.tracingSnapshot?this.tracingSnapshot.run(jm.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw new t.buA(101,!1);const i=(0,u.Ht)(null);try{this._runningTick=!0,this.synchronize()}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,(0,u.Ht)(i),this.afterTick.next(),Be(13)}};synchronize(){null===this._rendererFactory&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(ha,null,{optional:!0}));let i=0;for(;0!==this.dirtyFlags&&i++<10;)Be(14),this.synchronizeOnce(),Be(15)}synchronizeOnce(){16&this.dirtyFlags&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush());let i=!1;if(7&this.dirtyFlags){const s=!!(1&this.dirtyFlags);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:c}of this.allViews)(s||(0,t.dMS)(c))&&(Qc(c,s&&!this.zonelessEnabled?0:1),i=!0);if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),23&this.dirtyFlags)return}i||(this._rendererFactory?.begin?.(),this._rendererFactory?.end?.()),8&this.dirtyFlags&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){this.allViews.some(({_lView:i})=>(0,t.dMS)(i))?this.dirtyFlags|=2:this.dirtyFlags&=-8}attachView(i){const s=i;this._views.push(s),s.attachToAppRef(this)}detachView(i){const s=i;op(this._views,s),s.detachFromAppRef()}_loadComponent(i){this.attachView(i.hostView);try{this.tick()}catch(c){this.internalErrorHandler(c)}this.components.push(i),this._injector.get(nO,[]).forEach(c=>c(i))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(i=>i()),this._views.slice().forEach(i=>i.destroy())}finally{this._destroyed=!0,this._views=[],this._destroyListeners=[]}}onDestroy(i){return this._destroyListeners.push(i),()=>op(this._destroyListeners,i)}
3destroy(){if(this._destroyed)throw new t.buA(406,!1);const i=this._injector;i.destroy&&!i.destroyed&&i.destroy()}get viewCount(){return this._views.length}static \u0275fac=function(s){return new(s||e)};static \u0275prov=(0,t.jDH)({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function op(e,n){const i=e.indexOf(n);i>-1&&e.splice(i,1)}function rO(e){const n=(0,t.OAn)(),i=(0,t.Mx4)();if(Ou(n,i),!aO(0,n))return;const s=n[t.YEL];Q_(0,Ys(n,i),e(()=>fd(0,n,i),s))}function oO(e,n){const i=(0,t.OAn)(),s=i[t.YEL],c=(0,t.Mx4)(),y=ss(i[t.eDl],c);y.loadingState===go.NOT_STARTED&&Q_(1,Ys(i,c),e(()=>ef(y,i,c),s))}function sO(e,n,i){const s=n[t.YEL],c=Ys(n,i),g=c[6];Q_(2,c,e(()=>hd(s,g),s))}function ef(e,n,i){tg(e,n,i)}function tg(e,n,i){const s=n[t.YEL],c=n[t.eDl];if(e.loadingState!==go.NOT_STARTED)return e.loadingPromise??Promise.resolve();const g=Ys(n,i),y=function eC(e,n){return(0,t.XRZ)(e,n.primaryTmplIndex+t.Yw1)}(c,e);e.loadingState=go.IN_PROGRESS,Jh(1,g);let F=e.dependencyResolverFn;const j=s.get(t.u5s).add();return F?(e.loadingPromise=Promise.allSettled(F()).then(Oe=>{let Fe=!1;const dt=[],Pt=[];for(const Rt of Oe){if("fulfilled"!==Rt.status){Fe=!0;break}{const en=Rt.value,pn=(0,t.xUg)(en)||(0,t.HaV)(en);if(pn)dt.push(pn);else{const jn=(0,t.oyA)(en);jn&&Pt.push(jn)}}}if(Fe){if(e.loadingState=go.FAILED,null===e.errorTmplIndex){const en=new t.buA(-750,!1);Ud(n,en)}}else{e.loadingState=go.COMPLETE;const Rt=y.tView;if(dt.length>0){Rt.directiveRegistry=SE(Rt.directiveRegistry,dt);const en=dt.map(jn=>jn.type),pn=(0,t.jXY)(!1,...en);e.providers=pn}Pt.length>0&&(Rt.pipeRegistry=SE(Rt.pipeRegistry,Pt))}}),e.loadingPromise.finally(()=>{e.loadingPromise=null,j()})):(e.loadingPromise=Promise.resolve().then(()=>{e.loadingPromise=null,e.loadingState=go.COMPLETE,j()}),e.loadingPromise)}function aO(e,n){return n[t.YEL].get(lC,null,{optional:!0})?.behavior!==_E.Manual}function fd(e,n,i){const s=n[t.eDl],c=n[i.index];if(!aO(0,n))return;const g=Ys(n,i),y=ss(s,i);switch(fE(g),y.loadingState){case go.NOT_STARTED:vc(Er.Loading,i,c),tg(y,n,i),y.loadingState===go.IN_PROGRESS&&LE(y,i,c);break;
3case go.IN_PROGRESS:vc(Er.Loading,i,c),LE(y,i,c);break;case go.COMPLETE:vc(Er.Complete,i,c);break;case go.FAILED:vc(Er.Error,i,c)}}function hd(e,n,i){return ng.apply(this,arguments)}function ng(){return(ng=(0,a.A)(function*(e,n,i){const s=e.get(lo);if(s.hydrating.has(n))return;const{parentBlockPromise:g,hydrationQueue:y}=function uo(e,n){const i=n.get(lo),c=n.get(rr).get("__nghDeferData__",{});let g=!1,y=e,F=null;const j=[];for(;!g&&y;){g=i.has(y);const Oe=i.hydrating.get(y);if(null===F&&null!=Oe){F=Oe.promise;break}j.unshift(y),y=c[y].p}return{parentBlockPromise:F,hydrationQueue:j}}(n,e);if(0===y.length)return;null!==g&&y.shift(),function lb(e,n){for(let i of n)e.hydrating.set(i,Promise.withResolvers())}(s,y),null!==g&&(yield g);const F=y[0];s.has(F)?yield lO(e,y,i):s.awaitParentBlock(F,(0,a.A)(function*(){return yield lO(e,y,i)}))})).apply(this,arguments)}function lO(e,n,i){return ig.apply(this,arguments)}function ig(){return(ig=(0,a.A)(function*(e,n,i){const s=e.get(lo),c=s.hydrating,g=e.get(t.rev),y=g.add();for(let j=0;j<n.length;j++){const Oe=n[j],Fe=s.get(Oe);if(null==Fe){ab(j,n,s),cO(n.slice(j),s);break}if(yield db(Fe),yield cb(e),sb(Fe)){Gp(Fe),cO(n.slice(j),s);break}c.get(Oe).resolve()}const F=n[n.length-1];yield c.get(F)?.promise,g.remove(y),i&&i(n),function jp(e,n,i,s){null!==e&&(i.cleanup(n),nu(e.lContainer),function fa(e){const n=e._views;for(const i of n){const s=Lo(i);null!==s&&null!==s[t.jgP]&&((0,t.q$2)(s)?iu(s):nu(s))}}(s))}(s.get(F),n,s,e.get(rp))})).apply(this,arguments)}function sb(e){return Ys(e.lView,e.tNode)[1]===Er.Error}function ab(e,n,i){const s=e-1,c=s>-1?i.get(n[s]):null;c&&nu(c.lContainer)}function cO(e,n){const i=n.hydrating;for(const s in e)i.get(s)?.reject();n.cleanup(e)}function cb(e){return new Promise(n=>yE(n,{injector:e}))}function db(e){return rg.apply(this,arguments)}function rg(){return(rg=(0,a.A)(function*(e){const{tNode:n,lView:i}=e,s=Ys(i,n);return new Promise(c=>{(function ub(e,n){Array.isArray(e[8])||(e[8]=[]),e[8].push(n)})(s,c),fd(0,i,n)})})).apply(this,arguments)}function ro(e,n,i){return 0===e?dO(n,i):2!==e||!dO(n,i)}function dO(e,n){const i=e[t.YEL],s=ss(e[t.eDl],n),c=function G(e){return e.get(Ls,!1,{optional:!0})}(i),g=function _b(e){return null!=e&&!(1&~e)}(s.flags),F=null!==Ys(e,n)[6];return!(g&&F&&c)}function Cc(e,n){const i=ss(e,n);return i.hydrateTriggers??=new Map}function og(e,n,i,s){const c=(0,t.OAn)();return Pr(c,(0,t.xbp)(),n)&&((0,t.klJ)(),function Of(e,n,i,s,c,g){const y=(0,t.d31)(e,n);nl(n[t.GpT],y,g,e.value,i,s,c)}((0,t.CpD)(),c,e,n,i,s)),og}class Gb{destroy(n){}updateValue(n,i){}swap(n,i){const s=Math.min(n,i),c=Math.max(n,i),g=this.detach(c);if(c-s>1){const y=this.detach(s);this.attach(s,g),this.attach(c,y)}else this.attach(s,g)}move(n,i){this.attach(i,this.detach(n))}}function sg(e,n,i,s,c){return e===i&&Object.is(n,s)?1:Object.is(c(e,n),c(i,s))?-1:0}function ag(e,n,i,s){return!(void 0===n||!n.has(s)||(e.attach(i,n.get(s)),n.delete(s),0))}function _O(e,n,i,s,c){if(ag(e,n,s,i(s,c)))e.updateValue(s,c);else{const g=e.create(s,c);e.attach(s,g)}}function fO(e,n,i,s){const c=new Set;for(let g=n;g<=i;g++)c.add(s(g,e.at(g)));return c}class hO{kvMap=new Map;_vMap=void 0;has(n){return this.kvMap.has(n)}delete(n){if(!this.has(n))return!1;const i=this.kvMap.get(n);return void 0!==this._vMap&&this._vMap.has(i)?(this.kvMap.set(n,this._vMap.get(i)),this._vMap.delete(i)):this.kvMap.delete(n),!0}get(n){return this.kvMap.get(n)}set(n,i){if(this.kvMap.has(n)){let s=this.kvMap.get(n);void 0===this._vMap&&(this._vMap=new Map);const c=this._vMap;for(;c.has(s);)s=c.get(s);c.set(s,i)}else this.kvMap.set(n,i)}forEach(n){for(let[i,s]of this.kvMap)if(n(s,i),void 0!==this._vMap){const c=this._vMap;for(;c.has(s);)s=c.get(s),n(s,i)}}}function pO(e,n,i,s,c,g,y,F){Ns("NgControlFlow");const j=(0,t.OAn)(),Oe=(0,t.klJ)();return ll(j,Oe,e,n,i,s,c,(0,t.db4)(Oe.consts,g),256,y,F),lg}function lg(e,n,i,s,c,g,y,F){Ns("NgControlFlow");const j=(0,t.OAn)(),Oe=(0,t.klJ)();return ll(j,Oe,e,n,i,s,c,(0,t.db4)(Oe.consts,g),512,y,F),lg}function mO(e,n){Ns("NgControlFlow");const i=(0,t.OAn)(),s=(0,t.xbp)(),c=i[s]!==mi?i[s]:-1,g=-1!==c?sp(i,t.Yw1+c):void 0;if(Pr(i,s,e)){const F=(0,u.Ht)(null);try{if(void 0!==g&&rs(g,0),-1!==e){const j=t.Yw1+e,Oe=sp(i,j),Fe=cg(i[t.eDl],j),dt=Ga(Oe,Fe,i);Ll(Oe,Fa(i,Fe,n,{dehydratedView:dt}),0,ka(Fe,dt))}}finally{(0,u.Ht)(F)}}else if(void 0!==g){const F=t_(g,0);void 0!==F&&(F[t.SKP]=n)}}class Wb{lContainer;$implicit;$index;constructor(n,i,s){this.lContainer=n,this.$implicit=i,this.$index=s}get $count(){return this.lContainer.length-t.Y20}}function gO(e,n){return n}class Vb{hasEmptyBlock;trackByFn;liveCollection;constructor(n,i,s){this.hasEmptyBlock=n,this.trackByFn=i,this.liveCollection=s}}function EO(e,n,i,s,c,g,y,F,j,Oe,Fe,dt,Pt){Ns("NgControlFlow");const Rt=(0,t.OAn)(),en=(0,t.klJ)(),pn=void 0!==j,jn=(0,t.OAn)(),$n=F?y.bind(jn[t.b5C][t.SKP]):y,On=new Vb(pn,$n);jn[t.Yw1+e]=On,ll(Rt,en,e+1,n,i,s,c,(0,t.db4)(en.consts,g),256),pn&&ll(Rt,en,e+2,j,Oe,Fe,dt,(0,t.db4)(en.consts,Pt),512)}class zb extends Gb{lContainer;hostLView;templateTNode;operationsCounter=void 0;needsIndexUpdate=!1;constructor(n,i,s){super(),this.lContainer=n,this.hostLView=i,this.templateTNode=s}get length(){return this.lContainer.length-t.Y20}at(n){return this.getLView(n)[t.SKP].$implicit}attach(n,i){const s=i[t.tcA];this.needsIndexUpdate||=n!==this.length,Ll(this.lContainer,i,n,ka(this.templateTNode,s))}detach(n){return this.needsIndexUpdate||=n!==this.length-1,function Xb(e,n){return _c(e,n)}(this.lContainer,n)}create(n,i){const s=yr(this.lContainer,this.templateTNode.tView.ssrId),c=Fa(this.hostLView,this.templateTNode,new Wb(this.lContainer,i,n),{dehydratedView:s});return this.operationsCounter?.recordCreate(),c}destroy(n){Es(n[t.eDl],n),this.operationsCounter?.recordDestroy()}updateValue(n,i){this.getLView(n)[t.SKP].$implicit=i}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}
3updateIndexes(){if(this.needsIndexUpdate)for(let n=0;n<this.length;n++)this.getLView(n)[t.SKP].$index=n}getLView(n){return function Hb(e,n){return t_(e,n)}(this.lContainer,n)}}function OO(e){const n=(0,u.Ht)(null),i=(0,t._px)();try{const s=(0,t.OAn)(),c=s[t.eDl],g=s[i],y=i+1,F=sp(s,y);if(void 0===g.liveCollection){const Oe=cg(c,y);g.liveCollection=new zb(F,s,Oe)}else g.liveCollection.reset();const j=g.liveCollection;if(function jb(e,n,i){let s,c,g=0,y=e.length-1;if(Array.isArray(n)){let j=n.length-1;for(;g<=y&&g<=j;){const Oe=e.at(g),Fe=n[g],dt=sg(g,Oe,g,Fe,i);if(0!==dt){dt<0&&e.updateValue(g,Fe),g++;continue}const Pt=e.at(y),Rt=n[j],en=sg(y,Pt,j,Rt,i);if(0!==en){en<0&&e.updateValue(y,Rt),y--,j--;continue}const pn=i(g,Oe),jn=i(y,Pt),$n=i(g,Fe);if(Object.is($n,jn)){const On=i(j,Rt);Object.is(On,pn)?(e.swap(g,y),e.updateValue(y,Rt),j--,y--):e.move(y,g),e.updateValue(g,Fe),g++;continue}if(s??=new hO,c??=fO(e,g,y,i),ag(e,s,g,$n))e.updateValue(g,Fe),g++,y++;else if(c.has($n))s.set(pn,e.detach(g)),y--;else{const On=e.create(g,n[g]);e.attach(g,On),g++,y++}}for(;g<=j;)_O(e,s,i,g,n[g]),g++}else if(null!=n){const j=n[Symbol.iterator]();let Oe=j.next();for(;!Oe.done&&g<=y;){const Fe=e.at(g),dt=Oe.value,Pt=sg(g,Fe,g,dt,i);if(0!==Pt)Pt<0&&e.updateValue(g,dt),g++,Oe=j.next();else{s??=new hO,c??=fO(e,g,y,i);const Rt=i(g,dt);if(ag(e,s,g,Rt))e.updateValue(g,dt),g++,y++,Oe=j.next();else if(c.has(Rt)){const en=i(g,Fe);s.set(en,e.detach(g)),y--}else e.attach(g,e.create(g,dt)),g++,y++,Oe=j.next()}}for(;!Oe.done;)_O(e,s,i,e.length,Oe.value),Oe=j.next()}for(;g<=y;)e.destroy(e.detach(y--));s?.forEach(j=>{e.destroy(j)})}(j,e,g.trackByFn),j.updateIndexes(),g.hasEmptyBlock){const Oe=(0,t.xbp)(),Fe=0===j.length;if(Pr(s,Oe,Fe)){const dt=i+2,Pt=sp(s,dt);if(Fe){const Rt=cg(c,dt),en=Ga(Pt,Rt,s);Ll(Pt,Fa(s,Rt,void 0,{dehydratedView:en}),0,ka(Rt,en))}else c.firstUpdatePass&&tu(Pt),rs(Pt,0)}}}finally{(0,u.Ht)(n)}}function sp(e,n){return e[n]}function cg(e,n){return(0,t.XRZ)(e,n)}function dg(e,n,i){const s=(0,t.OAn)();return Pr(s,(0,t.xbp)(),n)&&((0,t.klJ)(),xd((0,t.CpD)(),s,e,n,s[t.GpT],i)),dg}function ug(e,n,i,s,c){Hc(n,e,i,c?"class":"style",s)}function ap(e,n,i,s){const c=(0,t.OAn)(),g=c[t.eDl],y=e+t.Yw1,F=g.firstCreatePass?au(y,c,2,n,$d,(0,t.ckz)(),i,s):g.data[y];if(cc(F,c,e,n,hg),(0,t.yoD)(F)){const j=c[t.eDl];Sr(j,c,F),Us(j,F,c)}return null!=s&&Yo(c,F),ap}function lp(){const e=(0,t.klJ)(),i=Xc((0,t.Mx4)());return e.firstCreatePass&&lu(e,i),(0,t.UhH)(i)&&(0,t.krE)(),(0,t.N79)(),null!=i.classesWithoutHost&&function Qe(e){return!!(8&e.flags)}(i)&&ug(e,i,(0,t.OAn)(),i.classesWithoutHost,!0),null!=i.stylesWithoutHost&&function At(e){return!!(16&e.flags)}(i)&&ug(e,i,(0,t.OAn)(),i.stylesWithoutHost,!1),lp}function _g(e,n,i,s){return ap(e,n,i,s),lp(),_g}function cp(e,n,i,s){const c=(0,t.OAn)(),g=c[t.eDl],y=e+t.Yw1,F=g.firstCreatePass?cu(y,g,2,n,i,s):g.data[y];return cc(F,c,e,n,hg),null!=s&&Yo(c,F),cp}function dp(){const n=Xc((0,t.Mx4)());return(0,t.UhH)(n)&&(0,t.krE)(),(0,t.N79)(),dp}function fg(e,n,i,s){return cp(e,n,i,s),dp(),fg}let hg=(e,n,i,s,c)=>((0,t.m7n)(!0),ac(n[t.GpT],s,(0,t.UaU)()));function up(e,n,i){const s=(0,t.OAn)(),c=s[t.eDl],g=e+t.Yw1,y=c.firstCreatePass?au(g,s,8,"ng-container",$d,(0,t.ckz)(),n,i):c.data[g];if(cc(y,s,e,"ng-container",gg),(0,t.yoD)(y)){const F=s[t.eDl];Sr(F,s,y),Us(F,y,s)}return null!=i&&Yo(s,y),up}function tf(){const e=(0,t.klJ)(),i=Xc((0,t.Mx4)());return e.firstCreatePass&&lu(e,i),tf}function pg(e,n,i){return up(e,n,i),tf(),pg}function mg(e,n,i){const s=(0,t.OAn)(),c=s[t.eDl],g=e+t.Yw1,y=c.firstCreatePass?cu(g,c,8,"ng-container",n,i):c.data[g];return cc(y,s,e,"ng-container",gg),null!=i&&Yo(s,y),mg}function MO(){return Xc((0,t.Mx4)()),tf}let gg=(e,n,i,s,c)=>((0,t.m7n)(!0),Al(n[t.GpT],""));function CO(){return(0,t.OAn)()}function Eg(e,n,i){const s=(0,t.OAn)();return Pr(s,(0,t.xbp)(),n)&&((0,t.klJ)(),Fd((0,t.CpD)(),s,e,n,s[t.GpT],i)),Eg}const pd=void 0;var Jb=["en",[["a","p"],["AM","PM"],pd],[["AM","PM"],pd,pd],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Frid
3ay","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],pd,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],pd,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",pd,"{1} 'at' {0}",pd],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function Zb(e){const n=Math.floor(Math.abs(e)),i=e.toString().replace(/^[^.]*\.?/,"").length;return 1===n&&0===i?1:5}];let vu={};function Og(e){const n=function qb(e){return e.toLowerCase().replace(/_/g,"-")}(e);let i=DO(n);if(i)return i;const s=n.split("-")[0];if(i=DO(s),i)return i;if("en"===s)return Jb;throw new t.buA(701,!1)}function yO(e){return Og(e)[Cu.PluralCase]}function DO(e){return e in vu||(vu[e]=t.laP.ng&&t.laP.ng.common&&t.laP.ng.common.locales&&t.laP.ng.common.locales[e]),vu[e]}var Cu=function(e){return e[e.LocaleId=0]="LocaleId",e[e.DayPeriodsFormat=1]="DayPeriodsFormat",e[e.DayPeriodsStandalone=2]="DayPeriodsStandalone",e[e.DaysFormat=3]="DaysFormat",e[e.DaysStandalone=4]="DaysStandalone",e[e.MonthsFormat=5]="MonthsFormat",e[e.MonthsStandalone=6]="MonthsStandalone",e[e.Eras=7]="Eras",e[e.FirstDayOfWeek=8]="FirstDayOfWeek",e[e.WeekendRange=9]="WeekendRange",e[e.DateFormat=10]="DateFormat",e[e.TimeFormat=11]="TimeFormat",e[e.DateTimeFormat=12]="DateTimeFormat",e[e.NumberSymbols=13]="NumberSymbols",e[e.NumberFormats=14]="NumberFormats",e[e.CurrencyCode=15]="CurrencyCode",e[e.CurrencySymbol=16]="CurrencySymbol",e[e.CurrencyName=17]="CurrencyName",e[e.Currencies=18]="Currencies",e[e.Directionality=19]="Directionality",e[e.PluralCase=20]="PluralCase",e[e.ExtraData=21]="ExtraData",e}(Cu||{});const e0=["zero","one","two","few","many"],Mg="en-US",_p={marker:"element"},fp={marker:"ICU"};var Zs=function(e){return e[e.SHIFT=2]="SHIFT",e[e.APPEND_EAGERLY=1]="APPEND_EAGERLY",e[e.COMMENT=2]="COMMENT",e}(Zs||{});let AO=Mg;function r0(e){"string"==typeof e&&(AO=e.toLowerCase().replace(/_/g,"-"))}let nf=0,rf=0;let sf=(e,n,i,s)=>((0,t.m7n)(!0),function SO(e,n,i){const s=e[t.GpT];switch(i){case Node.COMMENT_NODE:return Al(s,n);case Node.TEXT_NODE:return sc(s,n);case Node.ELEMENT_NODE:return ac(s,n,null)}}(e,i,s));function TO(e,n,i,s){const c=i[t.GpT];let y,g=null;for(let F=0;F<n.length;F++){const j=n[F];if("string"==typeof j){const Oe=n[++F];null===i[Oe]&&(i[Oe]=sf(i,Oe,j,Node.TEXT_NODE))}else if("number"==typeof j)switch(1&j){case 0:const Oe=c_(j);let Fe,dt;if(null===g&&(g=Oe,y=c.parentNode(s)),Oe===g?(Fe=s,dt=y):(Fe=null,dt=(0,t.IvY)(i[Oe])),null!==dt){const pn=d_(j);xa(c,dt,i[pn],Fe,!1);const $n=$a(e,pn);if(null!==$n&&"object"==typeof $n){const On=qc($n,i);null!==On&&TO(e,$n.create[On],i,i[$n.anchorIdx])}}break;case 1:const Rt=n[++F],en=n[++F];nl(c,(0,t.vaC)(j>>>1,i),null,null,Rt,en,null)}else switch(j){case fp:const Oe=n[++F],Fe=n[++F];null===i[Fe]&&Lt(i[Fe]=sf(i,Fe,Oe,Node.COMMENT_NODE),i);break;case _p:const dt=n[++F],Pt=n[++F];null===i[Pt]&&Lt(i[Pt]=sf(i,Pt,dt,Node.ELEMENT_NODE),i)}}}function PO(e,n,i,s,c){for(let g=0;g<i.length;g++){const y=i[g],F=i[++g];if(y&c){let j="";for(let Oe=g+1;Oe<=g+F;Oe++){const Fe=i[Oe];if("string"==typeof Fe)j+=Fe;else if("number"==typeof Fe)if(Fe<0)j+=(0,t.eFE)(n[s-Fe]);else{const dt=Fe>>>2;switch(3&Fe){case 1:const Pt=i[++Oe],Rt=i[++Oe],en=e.data[dt];"string"==typeof en?nl(n[t.GpT],n[dt],null,en,Pt,j,Rt):xd(en,n,Pt,j,n[t.GpT],Rt);break;case 0:const pn=n[dt];null!==pn&&Kc(n[t.GpT],pn,j);break;case 2:d0(e,$a(e,dt),n,j);break;case 3:IO(e,$a(e,dt),s,n)}}}}else{const j=i[g+1];if(j>0&&!(3&~j)){const Fe=$a(e,j>>>2);n[Fe.currentCaseLViewIndex]<0&&IO(e,Fe,s,n)}}g+=F}}function IO(e,n,i,s){let c=s[n.currentCaseLViewIndex];if(null!==c){let g=nf;c<0&&(c=s[n.currentCaseLViewIndex]=~c,g=-1),PO(e,s,n.update[c],i,g)}}function d0(e,n,i,s){const c=function u0(e,n){let i=e.cases.indexOf(n);if(-1===i)switch(e.type){case 1:{const s=function t0(e,n){const i=yO(n)(parseInt(e,10)),s=e0[i];return void 0!==s?s:"other"}(n,function o0(){return AO}());i=e.cases.indexOf(s),-1===i&&"other"!==s&&(i=e.cases.indexOf("other"));break}case 0:i=e.cases.indexOf("other")}return-1===i?null:i}(n,s);if(qc(n,i)!==c&&(RO(e,n,i),i[n.currentCaseLViewIndex]=null===c?null:~c,null!==c)){const y=i[n.anchorIdx];y&&TO(e,n.create[c],i,y),function kp(e,n,i){ch(e,n,i)}(i,n.anchorIdx,c)}}function RO(e,n,i){let s=qc(n,i);if(null!==s){const c=n.remove[s];for(let g=0;g<c.length;g++){const y=c[g];if(y>0){const F=(0,t.vaC)(y,i);null!==F&&el(i[t.GpT],F)}else RO(e,$a(e,~y),i)}}}const hp=/\ufffd(\d+):?\d*\ufffd/gi,_0=/({\s*\ufffd\d+:?\d*\ufffd\s*,\s*\S{6}\s*,[\s\S]*})/gi,f0=/\ufffd(\d+)\ufffd/,LO=/^\s*(\ufffd\d+:?\d*\ufffd)\s*,\s*(select|plural)\s*,/,af="\ufffd",h0=/\ufffd\/?\*(\d+:\d+)\ufffd/gi,p0=/\ufffd(\/?[#*]\d+):?\d*\ufffd/gi,m0=/\uE500/g;function wO(e,n,i,s,c,g,y){const F=ve(e,s,1,null);let j=F<<Zs.SHIFT,Oe=(0,t.Ab)();n===Oe&&(Oe=null),null===Oe&&(j|=Zs.APPEND_EAGERLY),y&&(j|=Zs.COMMENT,function Hn(e){void 0===Un&&(Un=e())}(Hf)),c.push(j,null===g?"":g);const Fe=Yd(e,F,y?32:1,null===g?"":g,null);s_(i,Fe);const dt=Fe.index;return(0,t.iMd)(Fe,!1),null!==Oe&&n!==Oe&&function Vf(e,n){let i=e.insertBeforeIndex;null===i?(lc(Hd,o_),i=e.insertBeforeIndex=[null,n]):((0,t.Xln)(Array.isArray(i),!0,"Expecting array here"),i.push(n))}(Oe,dt),Fe}function O0(e,n,i,s,c,g,y,F){const j=F.match(hp),Fe=wO(n,i,s,y,c,j?null:F,!1).index;
3j&&lf(g,F,Fe,null,0,null),e.push({kind:0,index:Fe})}function lf(e,n,i,s,c,g){const y=e.length,F=y+1;e.push(null,null);const j=y+2,Oe=n.split(hp);let Fe=0;for(let dt=0;dt<Oe.length;dt++){const Pt=Oe[dt];if(1&dt){const Rt=c+parseInt(Pt,10);e.push(-1-Rt),Fe|=xO(Rt)}else""!==Pt&&e.push(Pt)}return e.push(i<<2|(s?1:0)),s&&e.push(s,g),e[y]=Fe,e[F]=e.length-j,Fe}function v0(e){let n=0;for(let i=0;i<e.length;i++){const s=e[i];"number"==typeof s&&s<0&&n++}return n}function xO(e){return 1<<Math.min(e,31)}function FO(e){let n,g,i="",s=0,c=!1;for(;null!==(n=h0.exec(e));)c?n[0]===`${af}/*${g}${af}`&&(s=n.index,c=!1):(i+=e.substring(s,n.index+n[0].length),g=n[1],c=!0);return i+=e.slice(s),i}function kO(e,n,i,s,c,g,y){let F=0;const j={type:g.type,currentCaseLViewIndex:ve(n,i,1,null),anchorIdx:y,cases:[],create:[],remove:[],update:[]};(function A0(e,n,i){e.push(xO(n.mainBinding),2,-1-n.mainBinding,i<<2|2)})(s,g,y),function Kf(e,n,i){const s=e.data[n];null===s?e.data[n]=i:s.value=i}(n,y,j);const Oe=g.values,Fe=[];for(let dt=0;dt<Oe.length;dt++){const Pt=Oe[dt],Rt=[];for(let pn=0;pn<Pt.length;pn++){const jn=Pt[pn];if("string"!=typeof jn){const $n=Rt.push(jn)-1;Pt[pn]=`\x3c!--\ufffd${$n}\ufffd--\x3e`}}const en=[];Fe.push(en),F=y0(en,n,j,i,s,c,g.cases[dt],Pt.join(""),Rt)|F}F&&function S0(e,n,i){e.push(n,1,i<<2|3)}(s,F,y),e.push({kind:3,index:y,cases:Fe,currentCaseLViewIndex:j.currentCaseLViewIndex})}function b0(e){const n=[],i=[];let s=1,c=0;const g=vg(e=e.replace(LO,function(y,F,j){return s="select"===j?0:1,c=parseInt(F.slice(1),10),""}));for(let y=0;y<g.length;){let F=g[y++].trim();1===s&&(F=F.replace(/\s*(?:=)?(\w+)\s*/,"$1")),F.length&&n.push(F);const j=vg(g[y++]);n.length>i.length&&i.push(j)}return{type:s,mainBinding:c,cases:n,values:i}}function vg(e){if(!e)return[];let n=0;const i=[],s=[],c=/[{}]/g;let g;for(c.lastIndex=0;g=c.exec(e);){const F=g.index;if("}"==g[0]){if(i.pop(),0==i.length){const j=e.substring(n,F);LO.test(j)?s.push(b0(j)):s.push(j),n=F+1}}else{if(0==i.length){const j=e.substring(n,F);s.push(j),n=F+1}i.push("{")}}const y=e.substring(n);return s.push(y),s}function y0(e,n,i,s,c,g,y,F,j){const Oe=[],Fe=[],dt=[];i.cases.push(y),i.create.push(Oe),i.remove.push(Fe),i.update.push(dt);const Rt=hs(Vt()).getInertBodyElement(F),en=Qt(Rt)||Rt;return en?BO(e,n,i,s,c,Oe,Fe,dt,en,g,j,0):0}function BO(e,n,i,s,c,g,y,F,j,Oe,Fe,dt){let Pt=0,Rt=j.firstChild;for(;Rt;){const en=ve(n,s,1,null);switch(Rt.nodeType){case Node.ELEMENT_NODE:const pn=Rt,jn=pn.tagName.toLowerCase();if(aa.hasOwnProperty(jn)){Cg(g,_p,jn,Oe,en),n.data[en]=jn;const bs=pn.attributes;for(let qg=0;qg<bs.length;qg++){const Ed=bs.item(qg),wv=Ed.name.toLowerCase();Ed.value.match(hp)?Hl.hasOwnProperty(wv)&&lf(F,Ed.value,en,Ed.name,0,la[wv]?Ca:null):T0(g,en,Ed)}const Dr={kind:1,index:en,children:[]};e.push(Dr),Pt=BO(Dr.children,n,i,s,c,g,y,F,Rt,en,Fe,dt+1)|Pt,$O(y,en,dt)}break;case Node.TEXT_NODE:const $n=Rt.textContent||"",On=$n.match(hp);Cg(g,null,On?"":$n,Oe,en),$O(y,en,dt),On&&(Pt=lf(F,$n,en,null,0,null)|Pt),e.push({kind:0,index:en});break;case Node.COMMENT_NODE:const pr=f0.exec(Rt.textContent||"");if(pr){const Dr=Fe[parseInt(pr[1],10)];Cg(g,fp,"",Oe,en),kO(e,n,s,c,Oe,Dr,en),D0(y,en,dt)}}Rt=Rt.nextSibling}return Pt}function $O(e,n,i){0===i&&e.push(n)}function D0(e,n,i){0===i&&(e.push(~n),e.push(n))}function Cg(e,n,i,s,c){null!==n&&e.push(n),e.push(i,c,function Xf(e,n,i){return e|n<<17|i<<1}(0,s,c))}function T0(e,n,i){e.push(n<<1|1,i.name,i.value)}const UO=0,P0=/\[(\ufffd.+?\ufffd?)\]/,I0=/\[(\ufffd.+?\ufffd?)\]|(\ufffd\/?\*\d+:\d+\ufffd)/g,R0=/({\s*)(VAR_(PLURAL|SELECT)(_\d+)?)(\s*,)/g,N0=/{([A-Z0-9_]+)}/g,L0=/\ufffdI18N_EXP_(ICU(_\d+)?)\ufffd/g,w0=/\/\*/,x0=/\d+\:(\d+)/;function bg(e,n,i=-1){const s=(0,t.klJ)(),c=(0,t.OAn)(),g=t.Yw1+e,y=(0,t.db4)(s.consts,n),F=(0,t.Ab)();s.firstCreatePass&&function E0(e,n,i,s,c,g){const y=(0,t.Ab)(),F=[],j=[],Oe=[[]],Fe=[[]];c=function C0(e,n){if(function __(e){return-1===e}(n))return FO(e);{const i=e.indexOf(`:${n}${af}`)+2+n.toString().length,s=e.search(new RegExp(`${af}\\/\\*\\d+:${n}${af}`));return FO(e.substring(i,s))}}(c,g);const dt=function g0(e){return e.replace(m0," ")}(c).split(p0);for(let Pt=0;Pt<dt.length;Pt++){let Rt=dt[Pt];if(1&Pt){const en=47===Rt.charCodeAt(0),pn=Rt.charCodeAt(en?1:0),jn=t.Yw1+Number.parseInt(Rt.substring(en?2:1));if(en)Oe.shift(),Fe.shift(),(0,t.iMd)((0,t.Ab)(),!1);else{const $n=zf(e,Oe[0],jn);Oe.unshift([]),(0,t.iMd)($n,!0);const On={kind:2,index:jn,children:[],type:35===pn?0:1};Fe[0].push(On),Fe.unshift(On.children)}}else{const en=vg(Rt);for(let pn=0;pn<en.length;pn++){let jn=en[pn];if(1&pn){const $n=jn;if("object"!=typeof $n)throw new Error(`Unable to parse ICU expression in "${c}" message.`);
3const pr=wO(e,y,Oe[0],i,F,"",!0).index;kO(Fe[0],e,i,j,n,$n,pr)}else""!==jn&&O0(Fe[0],e,y,Oe[0],F,j,i,jn)}}}e.data[s]={create:F,update:j,ast:Fe[0],parentTNodeIndex:n}}(s,null===F?0:F.index,c,g,y,i),2===s.type?c[t.b5C][t.Wg1]|=32:c[t.Wg1]|=32;const j=s.data[g],Fe=ca(s,F===c[t.qlT]?null:F,c),dt=F&&8&F.type?c[F.index]:null;(function O_(e,n,i,s){gc(e,n,i,s)})(c,g,F,i),function c0(e,n,i,s){const c=e[t.GpT];for(let g=0;g<n.length;g++){const y=n[g++],Oe=(y&Zs.APPEND_EAGERLY)===Zs.APPEND_EAGERLY,Fe=y>>>Zs.SHIFT;let dt=e[Fe],Pt=!1;null===dt&&(dt=e[Fe]=sf(e,Fe,n[g],(y&Zs.COMMENT)===Zs.COMMENT?Node.COMMENT_NODE:Node.TEXT_NODE),Pt=(0,t.SX7)()),Oe&&null!==i&&Pt&&xa(c,i,dt,s,!1)}}(c,j.create,Fe,dt),(0,t.xyx)(!0)}function yg(){(0,t.xyx)(!1)}function GO(e,n,i){bg(e,n,i),yg()}function Dg(e){return function s0(e){e&&(nf|=1<<Math.min(rf,31)),rf++}(Pr((0,t.OAn)(),(0,t.xbp)(),e)),Dg}function jO(e){!function a0(e,n,i){if(rf>0){const s=e.data[i];PO(e,n,Array.isArray(s)?s:s.update,(0,t.c$7)()-rf-1,nf)}nf=0,rf=0}((0,t.klJ)(),(0,t.OAn)(),e+t.Yw1)}function WO(e,n={}){return function F0(e,n={}){let i=e;if(P0.test(e)){const s={},c=[UO];i=i.replace(I0,(g,y,F)=>{const j=y||F,Oe=s[j]||[];if(Oe.length||(j.split("|").forEach(pn=>{const jn=pn.match(x0),$n=jn?parseInt(jn[1],10):UO,On=w0.test(pn);Oe.push([$n,On,pn])}),s[j]=Oe),!Oe.length)throw new Error(`i18n postprocess: unmatched placeholder - ${j}`);const Fe=c[c.length-1];let dt=0;for(let pn=0;pn<Oe.length;pn++)if(Oe[pn][0]===Fe){dt=pn;break}const[Pt,Rt,en]=Oe[dt];return Rt?c.pop():Fe!==Pt&&c.push(Pt),Oe.splice(dt,1),en})}return Object.keys(n).length&&(i=i.replace(R0,(s,c,g,y,F,j)=>n.hasOwnProperty(g)?`${c}${n[g]}${j}`:s),i=i.replace(N0,(s,c)=>n.hasOwnProperty(c)?n[c]:s),i=i.replace(L0,(s,c)=>{if(n.hasOwnProperty(c)){const g=n[c];if(!g.length)throw new Error(`i18n postprocess: unmatched ICU - ${s} with key: ${c}`);return g.shift()}return s})),i}(e,n)}function Ag(e,n,i){const s=(0,t.OAn)(),c=(0,t.klJ)(),g=(0,t.Mx4)();return Tg(c,s,s[t.GpT],g,e,n,i),Ag}function Sg(e,n,i){const s=(0,t.OAn)(),c=(0,t.klJ)(),g=(0,t.Mx4)();return(3&g.type||i)&&Mh(g,c,s,i,s[t.GpT],e,n,cd(g,s,n)),Sg}function Tg(e,n,i,s,c,g,y){let F=!0,j=null;if((3&s.type||y)&&(j??=cd(s,n,g),Mh(s,e,n,y,i,c,g,j)&&(F=!1)),F){const Oe=s.outputs?.[c],Fe=s.hostDirectiveOutputs?.[c];if(Fe&&Fe.length)for(let dt=0;dt<Fe.length;dt+=2){const Pt=Fe[dt],Rt=Fe[dt+1];j??=cd(s,n,g),Zr(s,n,Pt,Rt,c,j)}if(Oe&&Oe.length)for(const dt of Oe)j??=cd(s,n,g),Zr(s,n,dt,c,c,j)}}function VO(e=1){return(0,t.jvu)(e)}function B0(e,n){let i=null;const s=function rc(e){const n=e.attrs;if(null!=n){const i=n.indexOf(5);if(!(1&i))return n[i+1]}return null}(e);for(let c=0;c<n.length;c++){const g=n[c];if("*"!==g){if(null===s?ic(e,g,!0):Id(s,g))return c}else i=c}return i}function zO(e){const n=(0,t.OAn)()[t.b5C][t.qlT];if(!n.projection){const s=n.projection=(0,t.WfI)(e?e.length:1,null),c=s.slice();let g=n.child;for(;null!==g;){if(128!==g.type){const y=e?B0(g,e):0;null!==y&&(c[y]?c[y].projectionNext=g:s[y]=g,c[y]=g)}g=g.next}}}function XO(e,n=0,i,s,c,g){const y=(0,t.OAn)(),F=(0,t.klJ)(),j=s?e+1:null;null!==j&&ll(y,F,j,s,c,g,null,i);const Oe=rl(F,t.Yw1+e,16,null,i||null);null===Oe.projection&&(Oe.projection=n),(0,t.Pfq)();const dt=!y[t.tcA]||(0,t.KtD)();null===y[t.b5C][t.qlT].projection[Oe.projection]&&null!==j?function $0(e,n,i){const s=t.Yw1+i,c=n.data[s],g=e[s],y=yr(g,c.tView.ssrId);Ll(g,Fa(e,c,void 0,{dehydratedView:y}),0,ka(c,y))}(y,F,j):dt&&!No(Oe)&&function Wn(e,n,i){ns(n[t.GpT],0,n,i,io(e,i,n),Sl(i.parent||n[t.qlT],i,n))}(F,y,Oe)}function HO(e,n,i,s){Lh(e,n,i,s)}function YO(e,n,i){Nh(e,n,i)}function QO(e){const n=(0,t.OAn)(),i=(0,t.klJ)(),s=(0,t.w7Z)();(0,t.GA0)(s+1);const c=U_(i,s);if(e.dirty&&(0,t.vOT)(n)===!(2&~c.metadata.flags)){if(null===c.matches)e.reset([]);else{const g=xh(n,s);e.reset(g,Pi),e.notifyOnChanges()}return!0}return!1}function ZO(){return k_((0,t.OAn)(),(0,t.w7Z)())}function JO(e,n,i,s,c){Fh(n,Lh(e,i,s,c))}function qO(e,n,i,s){Fh(e,Nh(n,i,s))}function eM(e=1){(0,t.GA0)((0,t.w7Z)()+e)}function tM(e){const n=(0,t.VPL)();return(0,t.Hh6)(n,t.Yw1+e)}function pp(e,n){return e<<17|n<<2}function md(e){return e>>17&32767}function Pg(e){return 2|e}function bu(e){return(131068&e)>>2}function Ig(e,n){return-131069&e|n<<2}function Rg(e){return 1|e}function nM(e,n,i,s){const c=e[i+1],g=null===n;let y=s?md(c):bu(c),F=!1;for(;0!==y&&(!1===F||g);){const Oe=e[y+1];V0(e[y],n)&&(F=!0,e[y+1]=s?Rg(Oe):Pg(Oe)),y=s?md(Oe):bu(Oe)}F&&(e[i+1]=s?Pg(c):Rg(c))}function V0(e,n){return null===e||null==n||(Array.isArray(e)?e[1]:e)===n||!(!Array.isArray(e)||"string"!=typeof n)&&(0,t.FRF)(e,n)>=0}const $o={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0}
3;function iM(e){return e.substring($o.key,$o.keyEnd)}function z0(e){return e.substring($o.value,$o.valueEnd)}function rM(e,n){const i=$o.textEnd;return i===n?-1:(n=$o.keyEnd=function Y0(e,n,i){for(;n<i&&e.charCodeAt(n)>32;)n++;return n}(e,$o.key=n,i),yu(e,n,i))}function oM(e,n){const i=$o.textEnd;let s=$o.key=yu(e,n,i);return i===s?-1:(s=$o.keyEnd=function Q0(e,n,i){let s;for(;n<i&&(45===(s=e.charCodeAt(n))||95===s||(-33&s)>=65&&(-33&s)<=90||s>=48&&s<=57);)n++;return n}(e,s,i),s=aM(e,s,i),s=$o.value=yu(e,s,i),s=$o.valueEnd=function Z0(e,n,i){let s=-1,c=-1,g=-1,y=n,F=y;for(;y<i;){const j=e.charCodeAt(y++);if(59===j)return F;34===j||39===j?F=y=lM(e,j,y,i):n===y-4&&85===g&&82===c&&76===s&&40===j?F=y=lM(e,41,y,i):j>32&&(F=y),g=c,c=s,s=-33&j}return F}(e,s,i),aM(e,s,i))}function sM(e){$o.key=0,$o.keyEnd=0,$o.value=0,$o.valueEnd=0,$o.textEnd=e.length}function yu(e,n,i){for(;n<i&&e.charCodeAt(n)<=32;)n++;return n}function aM(e,n,i,s){return(n=yu(e,n,i))<i&&n++,n}function lM(e,n,i,s){let c=-1,g=i;for(;g<s;){const y=e.charCodeAt(g++);if(y==n&&92!==c)return g;c=92==y&&92===c?0:y}throw new Error}function Ng(e,n,i){return dM(e,n,i,!1),Ng}function Lg(e,n){return dM(e,n,null,!0),Lg}function q0(e,n){for(let i=function H0(e){return sM(e),oM(e,yu(e,0,$o.textEnd))}(n);i>=0;i=oM(n,i))hM(e,iM(n),z0(n))}function cM(e){uM(sy,ey,e,!0)}function ey(e,n){for(let i=function X0(e){return sM(e),rM(e,yu(e,0,$o.textEnd))}(n);i>=0;i=rM(n,i))(0,t.ezK)(e,iM(n),!0)}function dM(e,n,i,s){const c=(0,t.OAn)(),g=(0,t.klJ)(),y=(0,t.b$O)(2);g.firstUpdatePass&&fM(g,e,y,s),n!==mi&&Pr(c,y,n)&&pM(g,g.data[(0,t._px)()],c,c[t.GpT],e,c[y+1]=function ly(e,n){return null==e||""===e||("string"==typeof n?e+=n:"object"==typeof e&&(e=(0,t.AsM)(fo(e)))),e}(n,i),s,y)}function uM(e,n,i,s){const c=(0,t.klJ)(),g=(0,t.b$O)(2);c.firstUpdatePass&&fM(c,null,g,s);const y=(0,t.OAn)();if(i!==mi&&Pr(y,g,i)){const F=c.data[(0,t._px)()];if(gM(F,s)&&!_M(c,g)){let j=s?F.classesWithoutHost:F.stylesWithoutHost;null!==j&&(i=(0,t.n$e)(j,i||"")),ug(c,F,y,i,s)}else!function ay(e,n,i,s,c,g,y,F){c===mi&&(c=t.Mlv);let j=0,Oe=0,Fe=0<c.length?c[0]:null,dt=0<g.length?g[0]:null;for(;null!==Fe||null!==dt;){const Pt=j<c.length?c[j+1]:void 0,Rt=Oe<g.length?g[Oe+1]:void 0;let pn,en=null;Fe===dt?(j+=2,Oe+=2,Pt!==Rt&&(en=dt,pn=Rt)):null===dt||null!==Fe&&Fe<dt?(j+=2,en=Fe):(Oe+=2,en=dt,pn=Rt),null!==en&&pM(e,n,i,s,en,pn,y,F),Fe=j<c.length?c[j]:null,dt=Oe<g.length?g[Oe]:null}}(c,F,y,y[t.GpT],y[g+1],y[g+1]=function oy(e,n,i){if(null==i||""===i)return t.Mlv;const s=[],c=fo(i);if(Array.isArray(c))for(let g=0;g<c.length;g++)e(s,c[g],!0);else if("object"==typeof c)for(const g in c)c.hasOwnProperty(g)&&e(s,g,c[g]);else"string"==typeof c&&n(s,c);return s}(e,n,i),s,g)}}function _M(e,n){return n>=e.expandoStartIndex}function fM(e,n,i,s){const c=e.data;if(null===c[i+1]){const g=c[(0,t._px)()],y=_M(e,i);gM(g,s)&&null===n&&!y&&(n=!1),n=function ty(e,n,i,s){const c=(0,t.MT)(e);let g=s?n.residualClasses:n.residualStyles;if(null===c)0===(s?n.classBindings:n.styleBindings)&&(i=cf(i=wg(null,e,n,i,s),n.attrs,s),g=null);else{const y=n.directiveStylingLast;if(-1===y||e[y]!==c)if(i=wg(c,e,n,i,s),null===g){let j=function ny(e,n,i){const s=i?n.classBindings:n.styleBindings;if(0!==bu(s))return e[md(s)]}(e,n,s);void 0!==j&&Array.isArray(j)&&(j=wg(null,e,n,j[1],s),j=cf(j,n.attrs,s),function iy(e,n,i,s){e[md(i?n.classBindings:n.styleBindings)]=s}(e,n,s,j))}else g=function ry(e,n,i){let s;const c=n.directiveEnd;for(let g=1+n.directiveStylingLast;g<c;g++)s=cf(s,e[g].hostAttrs,i);return cf(s,n.attrs,i)}(e,n,s)}return void 0!==g&&(s?n.residualClasses=g:n.residualStyles=g),i}(c,g,n,s),function W0(e,n,i,s,c,g){let y=g?n.classBindings:n.styleBindings,F=md(y),j=bu(y);e[s]=i;let Fe,Oe=!1;if(Array.isArray(i)?(Fe=i[1],(null===Fe||(0,t.FRF)(i,Fe)>0)&&(Oe=!0)):Fe=i,c)if(0!==j){const Pt=md(e[F+1]);e[s+1]=pp(Pt,F),0!==Pt&&(e[Pt+1]=Ig(e[Pt+1],s)),e[F+1]=function G0(e,n){return 131071&e|n<<17}(e[F+1],s)}else e[s+1]=pp(F,0),0!==F&&(e[F+1]=Ig(e[F+1],s)),F=s;else e[s+1]=pp(j,0),0===F?F=s:e[j+1]=Ig(e[j+1],s),j=s;Oe&&(e[s+1]=Pg(e[s+1])),nM(e,Fe,s,!0),nM(e,Fe,s,!1),function K0(e,n,i,s,c){const g=c?e.residualClasses:e.residualStyles;null!=g&&"string"==typeof n&&(0,t.FRF)(g,n)>=0&&(i[s+1]=Rg(i[s+1]))}(n,Fe,e,s,g),y=pp(F,j),g?n.classBindings=y:n.styleBindings=y}(c,g,n,i,y,s)}}function wg(e,n,i,s,c){let g=null;const y=i.directiveEnd;let F=i.directiveStylingLast;
3for(-1===F?F=i.directiveStart:F++;F<y&&(g=n[F],s=cf(s,g.hostAttrs,c),g!==e);)F++;return null!==e&&(i.directiveStylingLast=F),s}function cf(e,n,i){const s=i?1:2;let c=-1;if(null!==n)for(let g=0;g<n.length;g++){const y=n[g];"number"==typeof y?c=y:c===s&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),(0,t.ezK)(e,y,!!i||n[++g]))}return void 0===e?null:e}function hM(e,n,i){(0,t.ezK)(e,n,fo(i))}function sy(e,n,i){const s=String(n);""!==s&&!s.includes(" ")&&(0,t.ezK)(e,s,i)}function pM(e,n,i,s,c,g,y,F){if(!(3&n.type))return;const j=e.data,Oe=j[F+1],Fe=function j0(e){return!(1&~e)}(Oe)?mM(j,n,i,c,bu(Oe),y):void 0;mp(Fe)||(mp(g)||function U0(e){return!(2&~e)}(Oe)&&(g=mM(j,null,i,c,F,y)),function ua(e,n,i,s,c){if(n)c?e.addClass(i,s):e.removeClass(i,s);else{let g=-1===s.indexOf("-")?void 0:un.DashCase;null==c?e.removeStyle(i,s,g):("string"==typeof c&&c.endsWith("!important")&&(c=c.slice(0,-10),g|=un.Important),e.setStyle(i,s,c,g))}}(s,y,(0,t.vaC)((0,t._px)(),i),c,g))}function mM(e,n,i,s,c,g){const y=null===n;let F;for(;c>0;){const j=e[c],Oe=Array.isArray(j),Fe=Oe?j[1]:j,dt=null===Fe;let Pt=i[c+1];Pt===mi&&(Pt=dt?t.Mlv:void 0);let Rt=dt?(0,t.K7h)(Pt,s):Fe===s?Pt:void 0;if(Oe&&!mp(Rt)&&(Rt=(0,t.K7h)(j,s)),mp(Rt)&&(F=Rt,y))return F;const en=e[c+1];c=y?md(en):bu(en)}if(null!==n){let j=g?n.residualClasses:n.residualStyles;null!=j&&(F=(0,t.K7h)(j,s))}return F}function mp(e){return void 0!==e}function gM(e,n){return!!(e.flags&(n?8:16))}function EM(e,n=""){const i=(0,t.OAn)(),s=(0,t.klJ)(),c=e+t.Yw1,g=s.firstCreatePass?rl(s,c,1,n,null):s.data[c],y=OM(s,i,g,n,e);i[c]=y,(0,t.SX7)()&&Ln(s,i,y,g),(0,t.iMd)(g,!1)}let OM=(e,n,i,s,c)=>((0,t.m7n)(!0),sc(n[t.GpT],s));function MM(e,n){let i=!1,s=(0,t.c$7)();for(let g=1;g<n.length;g+=2)i=Pr(e,s++,n[g])||i;if((0,t.Kw3)(s),!i)return mi;let c=n[0];for(let g=1;g<n.length;g+=2)c+=(0,t.eFE)(n[g])+(g+1!==n.length?n[g+1]:"");return c}function vM(e,n,i,s=""){return Pr(e,(0,t.xbp)(),i)?n+(0,t.eFE)(i)+s:mi}function CM(e,n,i,s,c,g=""){const F=Fl(e,(0,t.c$7)(),i,c);return(0,t.b$O)(2),F?n+(0,t.eFE)(i)+s+(0,t.eFE)(c)+g:mi}function bM(e,n,i,s,c,g,y,F=""){const Oe=du(e,(0,t.c$7)(),i,c,y);return(0,t.b$O)(3),Oe?n+(0,t.eFE)(i)+s+(0,t.eFE)(c)+g+(0,t.eFE)(y)+F:mi}function yM(e,n,i,s,c,g,y,F,j,Oe=""){const dt=zs(e,(0,t.c$7)(),i,c,y,j);return(0,t.b$O)(4),dt?n+(0,t.eFE)(i)+s+(0,t.eFE)(c)+g+(0,t.eFE)(y)+F+(0,t.eFE)(j)+Oe:mi}function DM(e,n,i,s,c,g,y,F,j,Oe,Fe,dt=""){const Pt=(0,t.c$7)();let Rt=zs(e,Pt,i,c,y,j);return Rt=Pr(e,Pt+4,Fe)||Rt,(0,t.b$O)(5),Rt?n+(0,t.eFE)(i)+s+(0,t.eFE)(c)+g+(0,t.eFE)(y)+F+(0,t.eFE)(j)+Oe+(0,t.eFE)(Fe)+dt:mi}function AM(e,n,i,s,c,g,y,F,j,Oe,Fe,dt,Pt,Rt=""){const en=(0,t.c$7)();let pn=zs(e,en,i,c,y,j);return pn=Fl(e,en+4,Fe,Pt)||pn,(0,t.b$O)(6),pn?n+(0,t.eFE)(i)+s+(0,t.eFE)(c)+g+(0,t.eFE)(y)+F+(0,t.eFE)(j)+Oe+(0,t.eFE)(Fe)+dt+(0,t.eFE)(Pt)+Rt:mi}function SM(e,n,i,s,c,g,y,F,j,Oe,Fe,dt,Pt,Rt,en,pn=""){const jn=(0,t.c$7)();let $n=zs(e,jn,i,c,y,j);return $n=du(e,jn+4,Fe,Pt,en)||$n,(0,t.b$O)(7),$n?n+(0,t.eFE)(i)+s+(0,t.eFE)(c)+g+(0,t.eFE)(y)+F+(0,t.eFE)(j)+Oe+(0,t.eFE)(Fe)+dt+(0,t.eFE)(Pt)+Rt+(0,t.eFE)(en)+pn:mi}function TM(e,n,i,s,c,g,y,F,j,Oe,Fe,dt,Pt,Rt,en,pn,jn,$n=""){const On=(0,t.c$7)();let pr=zs(e,On,i,c,y,j);return pr=zs(e,On+4,Fe,Pt,en,jn)||pr,(0,t.b$O)(8),pr?n+(0,t.eFE)(i)+s+(0,t.eFE)(c)+g+(0,t.eFE)(y)+F+(0,t.eFE)(j)+Oe+(0,t.eFE)(Fe)+dt+(0,t.eFE)(Pt)+Rt+(0,t.eFE)(en)+pn+(0,t.eFE)(jn)+$n:mi}function xg(e){return gp("",e),xg}function gp(e,n,i){const s=(0,t.OAn)(),c=vM(s,e,n,i);return c!==mi&&Ul(s,(0,t._px)(),c),gp}function Fg(e,n,i,s,c){const g=(0,t.OAn)(),y=CM(g,e,n,i,s,c);return y!==mi&&Ul(g,(0,t._px)(),y),Fg}function kg(e,n,i,s,c,g,y){const F=(0,t.OAn)(),j=bM(F,e,n,i,s,c,g,y);return j!==mi&&Ul(F,(0,t._px)(),j),kg}function Ul(e,n,i){const s=(0,t.vaC)(n,e);Kc(e[t.GpT],s,i)}function Bg(e,n,i){(0,t.n$r)(n)&&(n=n());const s=(0,t.OAn)();return Pr(s,(0,t.xbp)(),n)&&((0,t.klJ)(),xd((0,t.CpD)(),s,e,n,s[t.GpT],i)),Bg}function xM(e,n){const i=(0,t.n$r)(e);return i&&e.set(n),i}function $g(e,n){const i=(0,t.OAn)(),s=(0,t.klJ)(),c=(0,t.Mx4)();return Tg(s,i,i[t.GpT],c,e,n),$g}const FM={};function BM(e){return Pr((0,t.OAn)(),(0,t.xbp)(),e)?(0,t.eFE)(e):mi}function $M(e,n,i=""){return vM((0,t.OAn)(),e,n,i)}function UM(e,n,i,s,c=""){return CM((0,t.OAn)(),e,n,i,s,c)}function Ug(e,n,i,s,c){if(e=(0,t.nl4)(e),Array.isArray(e))for(let g=0;g<e.length;g++)Ug(e[g],n,i,s,c);else{const g=(0,t.klJ)(),y=(0,t.OAn)(),F=(0,t.Mx4)();let j=(0,t.Y3W)(e)?e:(0,t.nl4)(e.provide);const Oe=(0,t.Rc9)(e),Fe=1048575&F.providerIndexes,dt=F.directiveStart,Pt=F.providerIndexes>>20;if((0,t.Y3W)(e)||!e.multi){const Rt=new ce(Oe,c,Ka,null),en=jg(j,n,c?Fe:Fe+Pt,dt);-1===en?(on(ht(F,y),g,j),Gg(g,e,n.length),n.push(j),F.directiveStart++,F.directiveEnd++,c&&(F.providerIndexes+=1048576),i.push(Rt),y.push(Rt)):(i[en]=Rt,y[en]=Rt)}else{const Rt=jg(j,n,Fe+Pt,dt),en=jg(j,n,Fe,Fe+Pt),jn=en>=0&&i[en];if(c&&!jn||!c&&!(Rt>=0&&i[Rt])){on(ht(F,y),g,j);const $n=function by(e,n,i,s,c){const y=new ce(e,i,Ka,null);return y.multi=[],y.index=n,y.componentProviders=0,GM(y,c,s&&!i),y}(c?Cy:vy,i.length,c,s,Oe);!c&&jn&&(i[en].providerFactory=$n),Gg(g,e,n.length,0),n.push(j),F.directiveStart++,F.directiveEnd++,c&&(F.providerIndexes+=1048576),i.push($n),y.push($n)}else Gg(g,e,Rt>-1?Rt:en,GM(i[c?en:Rt],Oe,!c&&s));!c&&s&&jn&&i[en].componentProviders++}}}function Gg(e,n,i,s){const c=(0,t.Y3W)(n),g=(0,t.MME)(n);if(c||g){const j=(g?(0,t.nl4)(n.useClass):n).prototype.ngOnDestroy;if(j){const Oe=e.destroyHooks||(e.destroyHooks=[]);if(!c&&n.multi){const Fe=Oe.indexOf(i);-1===Fe?Oe.push(i,[s,j]):Oe[Fe+1].push(s,j)}else Oe.push(i,j)}}}function GM(e,n,i){return i&&e.componentProviders++,e.multi.push(n)-1}function jg(e,n,i,s){for(let c=i;c<s;c++)if(n[c]===e)return c;return-1}function vy(e,n,i,s,c){return Wg(this.multi,[])}function Cy(e,n,i,s,c){const g=this.multi;let y;if(this.providerFactory){const F=this.providerFactory.componentProviders,j=Hi(s,s[t.eDl],this.providerFactory.index,c);y=j.slice(0,F),Wg(g,y);for(let Oe=F;Oe<j.length;Oe++)y.push(j[Oe])}else y=[],Wg(g,y);return y}function Wg(e,n){for(let i=0;i<e.length;i++)n.push((0,e[i])());return n}function jM(e,n=[]){return i=>{i.providersResolver=(s,c)=>function My(e,n,i){const s=(0,t.klJ)();if(s.firstCreatePass){const c=(0,t.JlV)(e);Ug(i,s.data,s.blueprint,c,!0),Ug(n,s.data,s.blueprint,c,!1)}}(s,c?c(e):e,n)}}function WM(e,n,i){const s=e.\u0275cmp;s.directiveDefs=l(n,Kh),s.pipeDefs=l(i,t.oyA)}function Ep(e){if("function"==typeof e)return e;const n=(0,t.Bqz)(e);return n.some(t.Jzi)?()=>n.map(t.nl4).map(KM):n.map(KM)}
3function KM(e){return Tr(e)?e.ngModule:e}function VM(e,n,i){const s=(0,t.gxQ)()+e,c=(0,t.OAn)();return c[s]===mi?Aa(c,s,i?n.call(i):n()):ld(c,s)}function zM(e,n,i,s){return JM((0,t.OAn)(),(0,t.gxQ)(),e,n,i,s)}function XM(e,n,i,s,c){return qM((0,t.OAn)(),(0,t.gxQ)(),e,n,i,s,c)}function HM(e,n,i,s,c,g){return ev((0,t.OAn)(),(0,t.gxQ)(),e,n,i,s,c,g)}function YM(e,n,i,s,c,g,y){return tv((0,t.OAn)(),(0,t.gxQ)(),e,n,i,s,c,g,y)}function QM(e,n,i,s,c,g,y,F){const j=(0,t.gxQ)()+e,Oe=(0,t.OAn)(),Fe=zs(Oe,j,i,s,c,g);return Pr(Oe,j+4,y)||Fe?Aa(Oe,j+5,F?n.call(F,i,s,c,g,y):n(i,s,c,g,y)):ld(Oe,j+5)}function ZM(e,n,i,s,c,g,y,F,j){const Oe=(0,t.gxQ)()+e,Fe=(0,t.OAn)(),dt=zs(Fe,Oe,i,s,c,g);return Fl(Fe,Oe+4,y,F)||dt?Aa(Fe,Oe+6,j?n.call(j,i,s,c,g,y,F):n(i,s,c,g,y,F)):ld(Fe,Oe+6)}function df(e,n){const i=e[n];return i===mi?void 0:i}function JM(e,n,i,s,c,g){const y=n+i;return Pr(e,y,c)?Aa(e,y+1,g?s.call(g,c):s(c)):df(e,y+1)}function qM(e,n,i,s,c,g,y){const F=n+i;return Fl(e,F,c,g)?Aa(e,F+2,y?s.call(y,c,g):s(c,g)):df(e,F+2)}function ev(e,n,i,s,c,g,y,F){const j=n+i;return du(e,j,c,g,y)?Aa(e,j+3,F?s.call(F,c,g,y):s(c,g,y)):df(e,j+3)}function tv(e,n,i,s,c,g,y,F,j){const Oe=n+i;return zs(e,Oe,c,g,y,F)?Aa(e,Oe+4,j?s.call(j,c,g,y,F):s(c,g,y,F)):df(e,Oe+4)}function nv(e,n,i,s,c,g){let y=n+i,F=!1;for(let j=0;j<c.length;j++)Pr(e,y++,c[j])&&(F=!0);return F?Aa(e,y,s.apply(g,c)):df(e,y)}function iv(e,n){const i=(0,t.klJ)();let s;const c=e+t.Yw1;i.firstCreatePass?(s=function Py(e,n){if(n)for(let i=n.length-1;i>=0;i--){const s=n[i];if(e===s.name)return s}}(n,i.pipeRegistry),i.data[c]=s,s.onDestroy&&(i.destroyHooks??=[]).push(c,s.onDestroy)):s=i.data[c];const g=s.factory||(s.factory=(0,t.wGu)(s.type,!0)),F=(0,t.a2B)(Ka);try{const j=$t(!1),Oe=g();return $t(j),(0,t.M_e)(i,(0,t.OAn)(),c,Oe),Oe}finally{(0,t.a2B)(F)}}function rv(e,n,i){const s=e+t.Yw1,c=(0,t.OAn)(),g=(0,t.Hh6)(c,s);return uf(c,s)?JM(c,(0,t.gxQ)(),n,g.transform,i,g):g.transform(i)}function ov(e,n,i,s){const c=e+t.Yw1,g=(0,t.OAn)(),y=(0,t.Hh6)(g,c);return uf(g,c)?qM(g,(0,t.gxQ)(),n,y.transform,i,s,y):y.transform(i,s)}function sv(e,n,i,s,c){const g=e+t.Yw1,y=(0,t.OAn)(),F=(0,t.Hh6)(y,g);return uf(y,g)?ev(y,(0,t.gxQ)(),n,F.transform,i,s,c,F):F.transform(i,s,c)}function uf(e,n){return e[t.eDl].data[n].pure}function av(e,n){return wl(e,n)}function Op(e,n,i,s,c){const g=c[t.eDl];if(g!==s.tView)for(let y=t.Yw1;y<g.bindingStartIndex;y++){const F=c[y];if((0,t.A0l)(F)){(0,t.q$2)(F[t.jgP])&&Op(e,n,i,s,F[t.jgP]);for(let j=t.Y20;j<F.length;j++)Op(e,n,i,s,F[j])}else(0,t.q$2)(F)&&Op(e,n,i,s,F)}else!function By(e,n,i,s,c){const g=c[t.SKP];let y=c[t.jgP];const F=c[t.f7T],j=c[t.qlT],Oe=c[t.YEL].get(Wr,null),Fe=()=>{if(s.encapsulation===qo.ShadowDom){const en=y.cloneNode(!1);y.replaceWith(en),y=en}const dt=A(i),Pt=m(F,dt,g,B(i),y,j,null,null,null,null,null);(function $y(e,n,i,s){for(let c=t.Yw1;c<e[t.eDl].bindingStartIndex;c++){const g=e[c];if(((0,t.q$2)(g)||(0,t.A0l)(g))&&g[t.K29]===n){g[t.K29]=i;break}}e[t.EJG]===n&&(e[t.EJG]=i),e[t.Yrj]===n&&(e[t.Yrj]=i),i[t.K29]=n[t.K29],n[t.K29]=null,e[s]=i})(F,c,Pt,j.index),Es(c[t.eDl],c);const Rt=c[t.M0L].rendererFactory;(function ky(e,n){e.componentReplaced?.(n.id)})(Rt,s),Pt[t.GpT]=Rt.createRenderer(y,i),lr(c[t.eDl],c),function Uy(e){if(null!==e.projection){for(const n of e.projection)pe(n)&&(n.projectionNext=null,n.flags&=-3);e.projection=null}}(j),dc(dt,Pt,g),Wd(dt,Pt,dt.template,g)};null===Oe?lv(e,n,Fe):Oe.run(()=>lv(e,n,Fe))}(e,n,i,s,c)}function lv(e,n,i){try{i()}catch(s){if(null!==n&&s.message){const g=s.message+(s.stack?"\n"+s.stack:"");e?.hot?.send?.("angular:invalidate",{id:n,message:g,error:!0})}throw s}}const bc={\u0275\u0275attribute:og,\u0275\u0275defineComponent:Wh,\u0275\u0275defineDirective:zh,\u0275\u0275defineInjectable:t.jDH,\u0275\u0275defineInjector:t.G2t,\u0275\u0275defineNgModule:Vh,\u0275\u0275definePipe:Xh,\u0275\u0275directiveInject:Ka,\u0275\u0275getInheritedFactory:_t,\u0275\u0275inject:t.KVO,\u0275\u0275injectAttribute:le,\u0275\u0275invalidFactory:Ms,\u0275\u0275invalidFactoryDep:t.dmw,\u0275\u0275templateRefExtractor:av,\u0275\u0275resetView:t.Njj,\u0275\u0275HostDirectivesFeature:si,\u0275\u0275NgOnChangesFeature:Xe,\u0275\u0275ProvidersFeature:jM,\u0275\u0275CopyDefinitionFeature:function Qn(e){let i,n=re(e.type);i=(0,t.JlV)(e)?n.\u0275cmp:n.\u0275dir;const s=e;for(const c of mn)s[c]=i[c];if((0,t.JlV)(i))for(const c of wn)s[c]=i[c]},\u0275\u0275InheritDefinitionFeature:Le,\u0275\u0275ExternalStylesFeature:function yy(e){return n=>{e.length<1||(n.getExternalStyles=i=>e.map(c=>c+"?ngcomp"+(i?"="+encodeURIComponent(i):"")+"&e="+n.encapsulation))}}
3,\u0275\u0275nextContext:VO,\u0275\u0275namespaceHTML:t.joV,\u0275\u0275namespaceMathML:t.By9,\u0275\u0275namespaceSVG:t.qSk,\u0275\u0275enableBindings:t.cSN,\u0275\u0275disableBindings:t.fuf,\u0275\u0275elementStart:ap,\u0275\u0275elementEnd:lp,\u0275\u0275element:_g,\u0275\u0275elementContainerStart:up,\u0275\u0275elementContainerEnd:tf,\u0275\u0275domElement:fg,\u0275\u0275domElementStart:cp,\u0275\u0275domElementEnd:dp,\u0275\u0275domElementContainer:function vO(e,n,i){return mg(e,n,i),MO(),vO},\u0275\u0275domElementContainerStart:mg,\u0275\u0275domElementContainerEnd:MO,\u0275\u0275domTemplate:Gm,\u0275\u0275domListener:Sg,\u0275\u0275elementContainer:pg,\u0275\u0275pureFunction0:VM,\u0275\u0275pureFunction1:zM,\u0275\u0275pureFunction2:XM,\u0275\u0275pureFunction3:HM,\u0275\u0275pureFunction4:YM,\u0275\u0275pureFunction5:QM,\u0275\u0275pureFunction6:ZM,\u0275\u0275pureFunction7:function Ay(e,n,i,s,c,g,y,F,j,Oe){const Fe=(0,t.gxQ)()+e,dt=(0,t.OAn)();let Pt=zs(dt,Fe,i,s,c,g);return du(dt,Fe+4,y,F,j)||Pt?Aa(dt,Fe+7,Oe?n.call(Oe,i,s,c,g,y,F,j):n(i,s,c,g,y,F,j)):ld(dt,Fe+7)},\u0275\u0275pureFunction8:function Sy(e,n,i,s,c,g,y,F,j,Oe,Fe){const dt=(0,t.gxQ)()+e,Pt=(0,t.OAn)(),Rt=zs(Pt,dt,i,s,c,g);return zs(Pt,dt+4,y,F,j,Oe)||Rt?Aa(Pt,dt+8,Fe?n.call(Fe,i,s,c,g,y,F,j,Oe):n(i,s,c,g,y,F,j,Oe)):ld(Pt,dt+8)},\u0275\u0275pureFunctionV:function Ty(e,n,i,s){return nv((0,t.OAn)(),(0,t.gxQ)(),e,n,i,s)},\u0275\u0275getCurrentView:CO,\u0275\u0275restoreView:t.eBV,\u0275\u0275listener:Ag,\u0275\u0275projection:XO,\u0275\u0275syntheticHostProperty:function bO(e,n,i){const s=(0,t.OAn)();if(Pr(s,(0,t.xbp)(),n)){const g=(0,t.klJ)(),y=(0,t.CpD)();Fd(y,s,e,n,Vu((0,t.MT)(g.data),y,s),i)}return bO},\u0275\u0275syntheticHostListener:function KO(e,n){const i=(0,t.Mx4)(),s=(0,t.OAn)(),c=(0,t.klJ)();return Tg(c,s,Vu((0,t.MT)(c.data),i,s),i,e,n),KO},\u0275\u0275pipeBind1:rv,\u0275\u0275pipeBind2:ov,\u0275\u0275pipeBind3:sv,\u0275\u0275pipeBind4:function Iy(e,n,i,s,c,g){const y=e+t.Yw1,F=(0,t.OAn)(),j=(0,t.Hh6)(F,y);return uf(F,y)?tv(F,(0,t.gxQ)(),n,j.transform,i,s,c,g,j):j.transform(i,s,c,g)},\u0275\u0275pipeBindV:function Ry(e,n,i){const s=e+t.Yw1,c=(0,t.OAn)(),g=(0,t.Hh6)(c,s);return uf(c,s)?nv(c,(0,t.gxQ)(),n,g.transform,i,g):g.transform.apply(g,i)},\u0275\u0275projectionDef:zO,\u0275\u0275domProperty:Eg,\u0275\u0275property:dg,\u0275\u0275pipe:iv,\u0275\u0275queryRefresh:QO,\u0275\u0275queryAdvance:eM,\u0275\u0275viewQuery:YO,\u0275\u0275viewQuerySignal:qO,\u0275\u0275loadQuery:ZO,\u0275\u0275contentQuery:HO,\u0275\u0275contentQuerySignal:JO,\u0275\u0275reference:tM,\u0275\u0275classMap:cM,\u0275\u0275styleMap:function J0(e){uM(hM,q0,e,!1)},\u0275\u0275styleProp:Ng,\u0275\u0275classProp:Lg,\u0275\u0275advance:Ot,\u0275\u0275template:Um,\u0275\u0275conditional:mO,\u0275\u0275conditionalCreate:pO,\u0275\u0275conditionalBranchCreate:lg,\u0275\u0275defer:function gb(e,n,i,s,c,g,y,F,j,Oe){const Fe=(0,t.OAn)(),dt=(0,t.klJ)(),Pt=e+t.Yw1,Rt=ll(Fe,dt,e,null,0,0),en=Fe[t.YEL];if(dt.firstCreatePass){Ns("NgDefer");const Dr={primaryTmplIndex:n,loadingTmplIndex:s??null,placeholderTmplIndex:c??null,errorTmplIndex:g??null,placeholderBlockConfig:null,loadingBlockConfig:null,dependencyResolverFn:i??null,loadingState:go.NOT_STARTED,loadingPromise:null,providers:null,hydrateTriggers:null,debug:null,flags:Oe??0};j?.(dt,Dr,F,y),function Jv(e,n,i){const s=J_(n);e.data[s]=i}(dt,Pt,Dr)}const pn=Fe[Pt];Sh(pn,Rt,Fe);let jn=null,$n=null;if(pn[t.qFA]?.length>0){const Dr=pn[t.qFA][0].data;
3$n=Dr[Zo]??null,jn=Dr.s}const On=[null,pu.Initial,null,null,null,null,$n,jn,null,null];!function Zv(e,n,i){e[J_(n)]=i}(Fe,Pt,On);let pr=null;null!==$n&&(pr=en.get(lo),pr.add($n,{lView:Fe,tNode:Rt,lContainer:pn}));const bs=()=>{fE(On),null!==$n&&pr?.cleanup([$n])};Q_(0,On,()=>(0,t.DyX)(Fe,bs)),(0,t.ik5)(Fe,bs)},\u0275\u0275deferWhen:function Eb(e){const n=(0,t.OAn)(),i=(0,t.CpD)();if(ro(0,n,i)&&Pr(n,(0,t.xbp)(),e)){const c=(0,u.Ht)(null);try{const g=!!e,F=Ys(n,i)[1];!1===g&&F===pu.Initial?Ou(n,i):!0===g&&(F===pu.Initial||F===Er.Placeholder)&&fd(0,n,i)}finally{(0,u.Ht)(c)}}},\u0275\u0275deferOnIdle:function Cb(){ro(0,(0,t.OAn)(),(0,t.Mx4)())&&rO(ep)},\u0275\u0275deferOnImmediate:function Db(){const e=(0,t.OAn)(),n=(0,t.Mx4)();ro(0,e,n)&&(null===ss(e[t.eDl],n).loadingTmplIndex&&Ou(e,n),fd(0,e,n))},\u0275\u0275deferOnTimer:function Tb(e){ro(0,(0,t.OAn)(),(0,t.Mx4)())&&rO(tp(e))},\u0275\u0275deferOnHover:function Rb(e,n){const i=(0,t.OAn)(),s=(0,t.Mx4)();ro(0,i,s)&&(Ou(i,s),Eu(i,s,e,n,za,()=>fd(0,i,s),0))},\u0275\u0275deferOnInteraction:function wb(e,n){const i=(0,t.OAn)(),s=(0,t.Mx4)();ro(0,i,s)&&(Ou(i,s),Eu(i,s,e,n,ys,()=>fd(0,i,s),0))},\u0275\u0275deferOnViewport:function kb(e,n){const i=(0,t.OAn)(),s=(0,t.Mx4)();ro(0,i,s)&&(Ou(i,s),Eu(i,s,e,n,Ym,()=>fd(0,i,s),0))},\u0275\u0275deferPrefetchWhen:function Ob(e){const n=(0,t.OAn)();if(ro(1,n,(0,t.CpD)())&&Pr(n,(0,t.xbp)(),e)){const c=(0,u.Ht)(null);try{const g=!!e,y=n[t.eDl],F=(0,t.CpD)(),j=ss(y,F);!0===g&&j.loadingState===go.NOT_STARTED&&ef(j,n,F)}finally{(0,u.Ht)(c)}}},\u0275\u0275deferPrefetchOnIdle:function bb(){ro(1,(0,t.OAn)(),(0,t.Mx4)())&&oO(ep)},\u0275\u0275deferPrefetchOnImmediate:function Ab(){const e=(0,t.OAn)(),n=(0,t.Mx4)();if(!ro(1,e,n))return;const s=ss(e[t.eDl],n);s.loadingState===go.NOT_STARTED&&tg(s,e,n)},\u0275\u0275deferPrefetchOnTimer:function Pb(e){ro(1,(0,t.OAn)(),(0,t.Mx4)())&&oO(tp(e))},\u0275\u0275deferPrefetchOnHover:function Nb(e,n){const i=(0,t.OAn)(),s=(0,t.Mx4)();if(!ro(1,i,s))return;const g=ss(i[t.eDl],s);g.loadingState===go.NOT_STARTED&&Eu(i,s,e,n,za,()=>ef(g,i,s),1)},\u0275\u0275deferPrefetchOnInteraction:function xb(e,n){const i=(0,t.OAn)(),s=(0,t.Mx4)();if(!ro(1,i,s))return;const g=ss(i[t.eDl],s);g.loadingState===go.NOT_STARTED&&Eu(i,s,e,n,ys,()=>ef(g,i,s),1)},\u0275\u0275deferPrefetchOnViewport:function Bb(e,n){const i=(0,t.OAn)(),s=(0,t.Mx4)();if(!ro(1,i,s))return;const g=ss(i[t.eDl],s);g.loadingState===go.NOT_STARTED&&Eu(i,s,e,n,Ym,()=>ef(g,i,s),1)},\u0275\u0275deferHydrateWhen:function Mb(e){const n=(0,t.OAn)(),i=(0,t.CpD)();if(!ro(2,n,i))return;const s=(0,t.xbp)();if(Cc((0,t.klJ)(),i).set(6,null),Pr(n,s,e)){const y=n[t.YEL],F=(0,u.Ht)(null);try{1==!!e&&hd(y,Ys(n,i)[6])}finally{(0,u.Ht)(F)}}},\u0275\u0275deferHydrateNever:function vb(){const e=(0,t.OAn)(),n=(0,t.Mx4)();ro(2,e,n)&&Cc((0,t.klJ)(),n).set(7,null)},\u0275\u0275deferHydrateOnIdle:function yb(){const e=(0,t.OAn)(),n=(0,t.Mx4)();ro(2,e,n)&&(Cc((0,t.klJ)(),n).set(0,null),sO(ep,e,n))},\u0275\u0275deferHydrateOnImmediate:function Sb(){const e=(0,t.OAn)(),n=(0,t.Mx4)();ro(2,e,n)&&(Cc((0,t.klJ)(),n).set(1,null),hd(e[t.YEL],Ys(e,n)[6]))},\u0275\u0275deferHydrateOnTimer:function Ib(e){const n=(0,t.OAn)(),i=(0,t.Mx4)();ro(2,n,i)&&(Cc((0,t.klJ)(),i).set(5,{delay:e}),sO(tp(e),n,i))},\u0275\u0275deferHydrateOnHover:function Lb(){const e=(0,t.OAn)(),n=(0,t.Mx4)();ro(2,e,n)&&Cc((0,t.klJ)(),n).set(4,null)},\u0275\u0275deferHydrateOnInteraction:function Fb(){const e=(0,t.OAn)(),n=(0,t.Mx4)();ro(2,e,n)&&Cc((0,t.klJ)(),n).set(3,null)},\u0275\u0275deferHydrateOnViewport:function $b(){const e=(0,t.OAn)(),n=(0,t.Mx4)();ro(2,e,n)&&Cc((0,t.klJ)(),n).set(2,null)},\u0275\u0275deferEnableTimerScheduling:function _C(e,n,i,s){const c=e.consts;null!=i&&(n.placeholderBlockConfig=(0,t.db4)(c,i)),null!=s&&(n.loadingBlockConfig=(0,t.db4)(c,s)),null===Zm&&(Zm=uC)},\u0275\u0275repeater:OO,\u0275\u0275repeaterCreate:EO,\u0275\u0275repeaterTrackByIndex:function Kb(e){return e},\u0275\u0275repeaterTrackByIdentity:gO,\u0275\u0275componentInstance:function Ub(){return(0,t.OAn)()[t.b5C][t.SKP]},\u0275\u0275text:EM,\u0275\u0275textInterpolate:xg,\u0275\u0275textInterpolate1:gp,\u0275\u0275textInterpolate2:Fg,\u0275\u0275textInterpolate3:kg,\u0275\u0275textInterpolate4:function PM(e,n,i,s,c,g,y,F,j){const Oe=(0,t.OAn)(),Fe=yM(Oe,e,n,i,s,c,g,y,F,j);return Fe!==mi&&Ul(Oe,(0,t._px)(),Fe),PM},\u0275\u0275textInterpolate5:function IM(e,n,i,s,c,g,y,F,j,Oe,Fe){const dt=(0,t.OAn)(),Pt=DM(dt,e,n,i,s,c,g,y,F,j,Oe,Fe);return Pt!==mi&&Ul(dt,(0,t._px)(),Pt),IM},\u0275\u0275textInterpolate6:function RM(e,n,i,s,c,g,y,F,j,Oe,Fe,dt,Pt){const Rt=(0,t.OAn)(),en=AM(Rt,e,n,i,s,c,g,y,F,j,Oe,Fe,dt,Pt);return en!==mi&&Ul(Rt,(0,t._px)(),en),RM},\u0275\u0275textInterpolate7:function NM(e,n,i,s,c,g,y,F,j,Oe,Fe,dt,Pt,Rt,en){const pn=(0,t.OAn)(),jn=SM(pn,e,n,i,s,c,g,y,F,j,Oe,Fe,dt,Pt,Rt,en);return jn!==mi&&Ul(pn,(0,t._px)(),jn),NM},\u0275\u0275textInterpolate8:function LM(e,n,i,s,c,g,y,F,j,Oe,Fe,dt,Pt,Rt,en,pn,jn){const $n=(0,t.OAn)(),O
3n=TM($n,e,n,i,s,c,g,y,F,j,Oe,Fe,dt,Pt,Rt,en,pn,jn);return On!==mi&&Ul($n,(0,t._px)(),On),LM},\u0275\u0275textInterpolateV:function wM(e){const n=(0,t.OAn)(),i=MM(n,e);return i!==mi&&Ul(n,(0,t._px)(),i),wM},\u0275\u0275i18n:GO,\u0275\u0275i18nAttributes:function k0(e,n){const i=(0,t.klJ)(),s=(0,t.db4)(i.consts,n);!function M0(e,n,i){const c=(0,t.Mx4)().index,g=[];if(e.firstCreatePass&&null===e.data[n]){for(let y=0;y<i.length;y+=2){const F=i[y],j=i[y+1];if(""!==j){if(_0.test(j))throw new Error(`ICU expressions are not supported in attributes. Message: "${j}".`);lf(g,j,c,F,v0(g),null)}}e.data[n]=g}}(i,e+t.Yw1,s)},\u0275\u0275i18nExp:Dg,\u0275\u0275i18nStart:bg,\u0275\u0275i18nEnd:yg,\u0275\u0275i18nApply:jO,\u0275\u0275i18nPostprocess:WO,\u0275\u0275resolveWindow:ec,\u0275\u0275resolveDocument:Uc,\u0275\u0275resolveBody:function Cl(e){return e.ownerDocument.body},\u0275\u0275setComponentScope:WM,\u0275\u0275setNgModuleScope:function Dy(e,n){return _(()=>{const i=(0,t.WbQ)(e);i.declarations=Ep(n.declarations||t.Mlv),i.imports=Ep(n.imports||t.Mlv),i.exports=Ep(n.exports||t.Mlv),n.bootstrap&&(i.bootstrap=Ep(n.bootstrap)),Wa.registerNgModule(e,n)})},\u0275\u0275registerNgModuleType:Bh,\u0275\u0275getComponentDepsFactory:function Ny(e,n){return()=>{try{return Wa.getComponentDependencies(e,n).dependencies}catch(i){throw console.error(`Computing dependencies in local compilation mode for the component "${e.name}" failed with the exception:`,i),i}}},\u0275setClassDebugInfo:function Ly(e,n){const i=(0,t.xUg)(e);null!==i&&(i.debugInfo=n)},\u0275\u0275declareLet:function kM(e){const n=(0,t.klJ)(),i=(0,t.OAn)(),s=e+t.Yw1,c=rl(n,s,128,null,null);return(0,t.iMd)(c,!1),(0,t.M_e)(n,i,s,FM),kM},\u0275\u0275storeLet:function dy(e){Ns("NgLet");const n=(0,t.klJ)(),i=(0,t.OAn)(),s=(0,t._px)();return(0,t.M_e)(n,i,s,e),e},\u0275\u0275readContextLet:function uy(e){const n=(0,t.VPL)(),i=(0,t.Hh6)(n,t.Yw1+e);if(i===FM)throw new t.buA(314,!1);return i},\u0275\u0275attachSourceLocations:function _y(e,n){const i=(0,t.klJ)(),s=(0,t.OAn)(),c=s[t.GpT],g="data-ng-source-location";for(const[y,F,j,Oe]of n){(0,t.XRZ)(i,y+t.Yw1);const dt=(0,t.vaC)(y+t.Yw1,s);dt.hasAttribute(g)||c.setAttribute(dt,g,`${e}@o:${F},l:${j},c:${Oe}`)}},\u0275\u0275interpolate:BM,\u0275\u0275interpolate1:$M,\u0275\u0275interpolate2:UM,\u0275\u0275interpolate3:function fy(e,n,i,s,c,g,y=""){return bM((0,t.OAn)(),e,n,i,s,c,g,y)},\u0275\u0275interpolate4:function hy(e,n,i,s,c,g,y,F,j=""){return yM((0,t.OAn)(),e,n,i,s,c,g,y,F,j)},\u0275\u0275interpolate5:function py(e,n,i,s,c,g,y,F,j,Oe,Fe=""){return DM((0,t.OAn)(),e,n,i,s,c,g,y,F,j,Oe,Fe)},\u0275\u0275interpolate6:function my(e,n,i,s,c,g,y,F,j,Oe,Fe,dt,Pt=""){return AM((0,t.OAn)(),e,n,i,s,c,g,y,F,j,Oe,Fe,dt,Pt)},\u0275\u0275interpolate7:function gy(e,n,i,s,c,g,y,F,j,Oe,Fe,dt,Pt,Rt,en=""){return SM((0,t.OAn)(),e,n,i,s,c,g,y,F,j,Oe,Fe,dt,Pt,Rt,en)},\u0275\u0275interpolate8:function Ey(e,n,i,s,c,g,y,F,j,Oe,Fe,dt,Pt,Rt,en,pn,jn=""){return TM((0,t.OAn)(),e,n,i,s,c,g,y,F,j,Oe,Fe,dt,Pt,Rt,en,pn,jn)},\u0275\u0275interpolateV:function Oy(e){return MM((0,t.OAn)(),e)},\u0275\u0275sanitizeHtml:Xi,\u0275\u0275sanitizeStyle:function ho(e){const n=El();return n?n.sanitize(vn.STYLE,e)||"":va(e,"Style")?fo(e):(0,t.eFE)(e)},\u0275\u0275sanitizeResourceUrl:ar,\u0275\u0275sanitizeScript:function ps(e){const n=El();if(n)return jl(n.sanitize(vn.SCRIPT,e)||"");if(va(e,"Script"))return jl(fo(e));throw new t.buA(905,!1)},\u0275\u0275sanitizeUrl:Wi,\u0275\u0275sanitizeUrlOrResourceUrl:Zl,\u0275\u0275trustConstantHtml:function wa(e){return ra(e[0])},\u0275\u0275trustConstantResourceUrl:function Cd(e){return function Dc(e){return Ti()?.createScriptURL(e)||e}(e[0])},\u0275\u0275validateIframeAttribute:function z_(e,n,i){const s=(0,t.OAn)(),c=(0,t.CpD)(),g=(0,t.d31)(c,s);if(2===c.type&&"iframe"===n.toLowerCase()){const y=g;throw y.src="",y.srcdoc=ra(""),el(s[t.GpT],y),new t.buA(-910,!1)}return e},forwardRef:t.Rfq,resolveForwardRef:t.nl4,\u0275\u0275twoWayProperty:Bg,\u0275\u0275twoWayBindingSet:xM,\u0275\u0275twoWayListener:$g,\u0275\u0275replaceMetadata:function xy(e,n,i,s,c=null,g=null){const y=(0,t.xUg)(e);n.apply(null,[e,i,...s]);const{newDef:F,oldDef:j}=function Fy(e,n){const i={...e};return{newDef:Object.assign(e,n,{directiveDefs:i.directiveDefs,pipeDefs:i.pi
3peDefs,setInput:i.setInput,type:i.type}),oldDef:i}}(y,(0,t.xUg)(e));if(e[t.CQl]=F,j.tView){const Oe=function Do(){return Zi}().values();for(const Fe of Oe)(0,t.EFk)(Fe)&&null===Fe[t.f7T]&&Op(c,g,F,j,Fe)}},\u0275\u0275getReplaceMetadataURL:function wy(e,n,i){const s=`./@ng/component?c=${e}&t=${encodeURIComponent(n)}`;return new URL(s,i).href}};let Du=null;function Gy(e){null!==Du&&(e.defaultEncapsulation!==Du.defaultEncapsulation||e.preserveWhitespaces!==Du.preserveWhitespaces)||(Du=e)}const _f=[];function hv(e){return Tr(e)?e.ngModule:e}const o1=D("NgModule",e=>e,void 0,0,(e,n)=>function Vy(e,n={}){(function zy(e,n){const s=(0,t.Bqz)(n.declarations||t.Mlv);let c=null;Object.defineProperty(e,t.hmW,{configurable:!0,get:()=>(null===c&&(c=U().compileNgModule(bc,`ng:///${e.name}/\u0275mod.js`,{type:e,bootstrap:(0,t.Bqz)(n.bootstrap||t.Mlv).map(t.nl4),declarations:s.map(t.nl4),imports:(0,t.Bqz)(n.imports||t.Mlv).map(t.nl4).map(hv),exports:(0,t.Bqz)(n.exports||t.Mlv).map(t.nl4).map(hv),schemas:n.schemas?(0,t.Bqz)(n.schemas):null,id:n.id||null}),c.schemas||(c.schemas=[])),c)});let g=null;Object.defineProperty(e,t.zSs,{get:()=>{if(null===g){const F=U();g=F.compileFactory(bc,`ng:///${e.name}/\u0275fac.js`,{name:e.name,type:e,deps:Jt(e),target:F.FactoryTarget.NgModule,typeArgumentCount:0})}return g},configurable:!1});let y=null;Object.defineProperty(e,t.ONQ,{get:()=>{if(null===y){const F={name:e.name,type:e,providers:n.providers||t.Mlv,imports:[(n.imports||t.Mlv).map(t.nl4),(n.exports||t.Mlv).map(t.nl4)]};y=U().compileInjector(bc,`ng:///${e.name}/\u0275inj.js`,F)}return y},configurable:!1})})(e,n),void 0!==n.id&&Bh(e,n.id),function Wy(e,n){_f.push({moduleType:e,ngModule:n})}(e,n)}(e,n));class s1{ngModuleFactory;componentFactories;constructor(n,i){this.ngModuleFactory=n,this.componentFactories=i}}let a1=(()=>{class e{compileModuleSync(i){return new jh(i)}compileModuleAsync(i){return Promise.resolve(this.compileModuleSync(i))}compileModuleAndAllComponentsSync(i){const s=this.compileModuleSync(i),g=ms((0,t.phH)(i).declarations).reduce((y,F)=>{const j=(0,t.xUg)(F);return j&&y.push(new _u(j)),y},[]);return new s1(s,g)}compileModuleAndAllComponentsAsync(i){return Promise.resolve(this.compileModuleAndAllComponentsSync(i))}clearCache(){}clearCacheFor(i){}getModuleId(i){}static \u0275fac=function(s){return new(s||e)};static \u0275prov=(0,t.jDH)({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const l1=new t.nKC("");let c1=(()=>{class e{zone=(0,t.WQX)(Wr);changeDetectionScheduler=(0,t.WQX)(t.hk6);applicationRef=(0,t.WQX)(rp);applicationErrorHandler=(0,t.WQX)(t.ZTf);_onMicrotaskEmptySubscription;initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{try{this.applicationRef.dirtyFlags|=1,this.applicationRef._tick()}catch(i){this.applicationErrorHandler(i)}})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static \u0275fac=function(s){return new(s||e)};static \u0275prov=(0,t.jDH)({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const Dv=new t.nKC("",{factory:()=>!1});function Av({ngZoneFactory:e,ignoreChangesOutsideZone:n,scheduleInRootZone:i}){return e??=()=>new Wr({...Hg(),scheduleInRootZone:i}),[{provide:Wr,useFactory:e},{provide:t.Z63,multi:!0,useFactory:()=>{const s=(0,t.WQX)(c1,{optional:!0});return()=>s.initialize()}},{provide:t.Z63,multi:!0,useFactory:()=>{const s=(0,t.WQX)(d1);return()=>{s.initialize()}}},!0===n?{provide:t.Jy$,useValue:!0}:[],{provide:t.AQb,useValue:i??pE},{provide:t.ZTf,useFactory:()=>{const s=(0,t.WQX)(Wr),c=(0,t.WQX)(t.uvJ);let g;return y=>{s.runOutsideAngular(()=>{c.destroyed&&!g?setTimeout(()=>{throw y}):(g??=c.get(t.zcH),g.handleError(y))})}}}]}function Hg(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}let d1=(()=>{class e{subscription=new v.yU;initialized=!1;zone=(0,t.WQX)(Wr);pendingTasks=(0,t.WQX)(t.rev);initialize(){if(this.initialized)return;this.initialized=!0;let i=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(i=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{Wr.assertNotInAngularZone(),queueMicrotask(()=>{null!==i&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(i),i=null)})}
3))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{Wr.assertInAngularZone(),i??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(s){return new(s||e)};static \u0275prov=(0,t.jDH)({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Pv=(()=>{class e{applicationErrorHandler=(0,t.WQX)(t.ZTf);appRef=(0,t.WQX)(rp);taskService=(0,t.WQX)(t.rev);ngZone=(0,t.WQX)(Wr);zonelessEnabled=(0,t.WQX)(t.Evm);tracing=(0,t.WQX)(Z_,{optional:!0});disableScheduling=(0,t.WQX)(t.Jy$,{optional:!0})??!1;zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new v.yU;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(qh):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&((0,t.WQX)(t.AQb,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||=!this.zonelessEnabled&&(this.ngZone instanceof zm||!this.zoneIsDefined)}notify(i){if(!this.zonelessEnabled&&5===i)return;let s=!1;switch(i){case 0:this.appRef.dirtyFlags|=2;break;case 3:case 2:case 4:case 5:case 1:this.appRef.dirtyFlags|=4;break;case 6:case 13:this.appRef.dirtyFlags|=2,s=!0;break;case 12:this.appRef.dirtyFlags|=16,s=!0;break;case 11:s=!0;break;default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick(s))return;const c=this.useMicrotaskScheduler?gE:mE;this.pendingRenderTaskId=this.taskService.add(),this.cancelScheduledCallback=this.scheduleInRootZone?Zone.root.run(()=>c(()=>this.tick())):this.ngZone.runOutsideAngular(()=>c(()=>this.tick()))}shouldScheduleTick(i){return!(this.disableScheduling&&!i||this.appRef.destroyed||null!==this.pendingRenderTaskId||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(qh+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;if(0===this.appRef.dirtyFlags)return void this.cleanup();!this.zonelessEnabled&&7&this.appRef.dirtyFlags&&(this.appRef.dirtyFlags|=1);const i=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(s){this.taskService.remove(i),this.applicationErrorHandler(s)}finally{this.cleanup()}this.useMicrotaskScheduler=!0,gE(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(i)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,null!==this.pendingRenderTaskId){const i=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(i)}}static \u0275fac=function(s){return new(s||e)};static \u0275prov=(0,t.jDH)({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const Iv=new t.nKC("",{providedIn:"root",factory:()=>(0,t.WQX)(Iv,{optional:!0,skipSelf:!0})||function u1(){return typeof $localize<"u"&&$localize.locale||Mg}()}),_1=new t.nKC("",{providedIn:"root",factory:()=>"USD"})},73703:(qe,ee,o)=>{"use strict";o.d(ee,{u:()=>t});var a=o(96354);function t(u){return(0,a.T)(()=>u)}},74402:(qe,ee,o)=>{"use strict";o.d(ee,{A:()=>u});var a=o(71985),t=o(98071);function u(M){return!!M&&(M instanceof a.c||(0,t.T)(M.lift)&&(0,t.T)(M.subscribe))}},75272:(qe,ee,o)=>{"use strict";o.d(ee,{uv:()=>De,Gj:()=>Ge,R:()=>xe,E9:()=>bt,Xj:()=>z});var a=o(2615),t=o(73664),u=o(21413),M=o(7673),v=o(71985),_=(o(30536),o(96780));let C,h=1;const b={};function D(me){return me in b&&(delete b[me],!0)}const f={setImmediate(me){const J=h++;return b[J]=!0,C||(C=Promise.resolve()),C.then(()=>D(J)&&me()),J},clearImmediate(me){D(me)}},{setImmediate:d,clearImmediate:L}=f,E={setImmediate(...me){const{delegate:J}=E;return(J?.setImmediate||d)(...me)},clearImmediate(me){const{delegate:J}=E;return(J?.clearImmediate||L)(me)},delegate:void 0};var Y=o(39687);
3new class ne extends Y.q{flush(J){this._active=!0;const R=this._scheduled;this._scheduled=void 0;const{actions:x}=this;let ce;J=J||x.shift();do{if(ce=J.execute(J.state,J.delay))break}while((J=x[0])&&J.id===R&&x.shift());if(this._active=!1,ce){for(;(J=x[0])&&J.id===R&&x.shift();)J.unsubscribe();throw ce}}}(class se extends _.R{constructor(J,R){super(J,R),this.scheduler=J,this.work=R}requestAsyncId(J,R,x=0){return null!==x&&x>0?super.requestAsyncId(J,R,x):(J.actions.push(this),J._scheduled||(J._scheduled=E.setImmediate(J.flush.bind(J,void 0))))}recycleAsyncId(J,R,x=0){var ce;if(null!=x?x>0:this.delay>0)return super.recycleAsyncId(J,R,x);const{actions:Pe}=J;null!=R&&(null===(ce=Pe[Pe.length-1])||void 0===ce?void 0:ce.id)!==R&&(E.clearImmediate(R),J._scheduled===R&&(J._scheduled=void 0))}});var I=o(13798),w=o(5964),Z=o(79355),N=o(84466),oe=o(40372),H=o(89273),ie=o(28203);let xe=(()=>{class me{_ngZone=(0,a.WQX)(t.SKi);_platform=(0,a.WQX)(N.P);_renderer=(0,a.WQX)(t._9s).createRenderer(null,null);_cleanupGlobalListener;constructor(){}_scrolled=new u.B;_scrolledCount=0;scrollContainers=new Map;register(R){this.scrollContainers.has(R)||this.scrollContainers.set(R,R.elementScrolled().subscribe(()=>this._scrolled.next(R)))}deregister(R){const x=this.scrollContainers.get(R);x&&(x.unsubscribe(),this.scrollContainers.delete(R))}scrolled(R=20){return this._platform.isBrowser?new v.c(x=>{this._cleanupGlobalListener||(this._cleanupGlobalListener=this._ngZone.runOutsideAngular(()=>this._renderer.listen("document","scroll",()=>this._scrolled.next())));const ce=R>0?this._scrolled.pipe((0,I.Z)(R)).subscribe(x):this._scrolled.subscribe(x);return this._scrolledCount++,()=>{ce.unsubscribe(),this._scrolledCount--,this._scrolledCount||(this._cleanupGlobalListener?.(),this._cleanupGlobalListener=void 0)}}):(0,M.of)()}ngOnDestroy(){this._cleanupGlobalListener?.(),this._cleanupGlobalListener=void 0,this.scrollContainers.forEach((R,x)=>this.deregister(x)),this._scrolled.complete()}ancestorScrolled(R,x){const ce=this.getAncestorScrollContainers(R);return this.scrolled(x).pipe((0,w.p)(Pe=>!Pe||ce.indexOf(Pe)>-1))}getAncestorScrollContainers(R){const x=[];return this.scrollContainers.forEach((ce,Pe)=>{this._scrollableContainsElement(Pe,R)&&x.push(Pe)}),x}_scrollableContainsElement(R,x){let ce=(0,Z.a)(x),Pe=R.getElementRef().nativeElement;do{if(ce==Pe)return!0}while(ce=ce.parentElement);return!1}static \u0275fac=function(x){return new(x||me)};static \u0275prov=a.jDH({token:me,factory:me.\u0275fac,providedIn:"root"})}return me})(),De=(()=>{class me{elementRef=(0,a.WQX)(t.aKT);scrollDispatcher=(0,a.WQX)(xe);ngZone=(0,a.WQX)(t.SKi);dir=(0,a.WQX)(oe.D,{optional:!0});_scrollElement=this.elementRef.nativeElement;_destroyed=new u.B;_renderer=(0,a.WQX)(t.sFG);_cleanupScroll;_elementScrolled=new u.B;constructor(){}ngOnInit(){this._cleanupScroll=this.ngZone.runOutsideAngular(()=>this._renderer.listen(this._scrollElement,"scroll",R=>this._elementScrolled.next(R))),this.scrollDispatcher.register(this)}ngOnDestroy(){this._cleanupScroll?.(),this._elementScrolled.complete(),this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(R){const x=this.elementRef.nativeElement,ce=this.dir&&"rtl"==this.dir.value;null==R.left&&(R.left=ce?R.end:R.start),null==R.right&&(R.right=ce?R.start:R.end),null!=R.bottom&&(R.top=x.scrollHeight-x.clientHeight-R.bottom),ce&&(0,H.g)()!=H.R.NORMAL?(null!=R.left&&(R.right=x.scrollWidth-x.clientWidth-R.left),(0,H.g)()==H.R.INVERTED?R.left=R.right:(0,H.g)()==H.R.NEGATED&&(R.left=R.right?-R.right:R.right)):null!=R.right&&(R.left=x.scrollWidth-x.clientWidth-R.right),this._applyScrollToOptions(R)}_applyScrollToOptions(R){const x=this.elementRef.nativeElement;(0,H.s)()?x.scrollTo(R):(null!=R.top&&(x.scrollTop=R.top),null!=R.left&&(x.scrollLeft=R.left))}measureScrollOffset(R){const x="left",Pe=this.elementRef.nativeElement;if("top"==R)return Pe.scrollTop;if("bottom"==R)return Pe.scrollHeight-Pe.clientHeight-Pe.scrollTop;const pe=this.dir&&"rtl"==this.dir.value;return"start"==R?R=pe?"right":x:"end"==R&&(R=pe?x:"right"),pe&&(0,H.g)()==H.R.INVERTED?R==x?Pe.scrollWidth-Pe.clientWidth-Pe.scrollLeft:Pe.scrollLeft:pe&&(0,H.g)()==H.R.NEGATED?R==x?Pe.scrollLeft+Pe.scrollWidth-Pe.clientWidth:-Pe.scrollLeft:R==x?Pe.scrollLeft:Pe.scrollWidth-Pe.clientWidth-Pe.scrollLeft}static \u0275fac=function(x){return new(x||me)};static \u0275dir=t.FsC({type:me,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]})}return me})(),z=(()=>{class me{_platform=(0,a.WQX)(N.P);_listeners;_viewportSize;_change=new u.B;_document=(0,a.WQX)(a.qQL);constructor(){const R=(0,a.WQX)(t.SKi),x=(0,a.WQX)(t._9s).createRenderer(null,null);R.runOutsideAngular(()=>{if(this._platform.isBrowser){const ce=Pe=>this._change.next(Pe);this._listeners=[x.listen("window","resize",ce),x.listen("window","orientationchange",ce)]}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){this._listeners?.forEach(R=>R()),this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const R={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),R}getViewportRect(){const R=this.getViewportScrollPosition(),{width:x,height:ce}=this.getViewportSize();
3return{top:R.top,left:R.left,bottom:R.top+ce,right:R.left+x,height:ce,width:x}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const R=this._document,x=this._getWindow(),ce=R.documentElement,Pe=ce.getBoundingClientRect();return{top:-Pe.top||R.body.scrollTop||x.scrollY||ce.scrollTop||0,left:-Pe.left||R.body.scrollLeft||x.scrollX||ce.scrollLeft||0}}change(R=20){return R>0?this._change.pipe((0,I.Z)(R)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const R=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:R.innerWidth,height:R.innerHeight}:{width:0,height:0}}static \u0275fac=function(x){return new(x||me)};static \u0275prov=a.jDH({token:me,factory:me.\u0275fac,providedIn:"root"})}return me})(),Ge=(()=>{class me{static \u0275fac=function(x){return new(x||me)};static \u0275mod=t.$C({type:me});static \u0275inj=a.G2t({})}return me})(),bt=(()=>{class me{static \u0275fac=function(x){return new(x||me)};static \u0275mod=t.$C({type:me});static \u0275inj=a.G2t({imports:[ie.jI,Ge,ie.jI,Ge]})}return me})()},75483:(qe,ee,o)=>{"use strict";o.d(ee,{_:()=>a});class a{_defaultMatcher;ngControl;_parentFormGroup;_parentForm;_stateChanges;errorState=!1;matcher;constructor(u,M,v,r,_){this._defaultMatcher=u,this.ngControl=M,this._parentFormGroup=v,this._parentForm=r,this._stateChanges=_}updateErrorState(){const u=this.errorState,M=this._parentFormGroup||this._parentForm,v=this.matcher||this._defaultMatcher,r=this.ngControl?this.ngControl.control:null,_=v?.isErrorState(r,M)??!1;_!==u&&(this.errorState=_,this._stateChanges.next())}}},75620:(qe,ee,o)=>{"use strict";o.d(ee,{$:()=>u});var a=o(7201),t=o(2615);let u=(()=>{class M{transform(r,_,h=null){return this.sort(r,_?.sortAsc,_?.sort,h,_?.publicRecordId||_?.privateRecordId)}sort(r,_=!1,h="end",C=null,b){if("PROFESSIONAL_ACTIVITIES"===C&&"type"===h){const D=r.filter(se=>"PROFESSIONAL_ACTIVITIES"!==se.type),f=r.filter(se=>"PROFESSIONAL_ACTIVITIES"===se.type)[0],O=this.sortByEndDateAndType(f.affiliationGroup,a.pw.distinction),d=this.sortByEndDateAndType(f.affiliationGroup,a.pw["invited-position"]),L=this.sortByEndDateAndType(f.affiliationGroup,a.pw.membership),E=this.sortByEndDateAndType(f.affiliationGroup,a.pw.service);return D.push({type:"PROFESSIONAL_ACTIVITIES",affiliationGroup:_?[...O,...d,...L,...E]:[...E,...L,...d,...O]}),D}return r.forEach(D=>{let f=D.affiliationGroup;if((!C||C===D.type)&&(("start"===h||"end"===h)&&(f=f.sort((O,d)=>this.sortByDate(O,d,_,h))),"title"===h&&(f.sort((O,d)=>(""+O.defaultAffiliation.affiliationName.value).localeCompare(""+d.defaultAffiliation.affiliationName.value)),_||f.reverse()),"source"===h)){const O=this.getSelfAssertedOrValidatedAffiliations(f,_,b,"self-asserted"),d=this.getSelfAssertedOrValidatedAffiliations(f,_,b,"validated");D.affiliationGroup=_?[...d,...O]:[...O,...d]}}),r}yearMonthDaytoDate(r){const _=new Date(864e13);return r.year&&_.setFullYear(Number.parseInt(r.year,10)),_.setMonth(r.month?Number.parseInt(r.month,10):1),_.setDate(r.day?Number.parseInt(r.day,10):1),_}sortByDate(r,_,h,C){let b=this.yearMonthDaytoDate(r.defaultAffiliation.startDate),D=this.yearMonthDaytoDate(_.defaultAffiliation.startDate),f=this.yearMonthDaytoDate(r.defaultAffiliation.endDate),O=this.yearMonthDaytoDate(_.defaultAffiliation.endDate);return r.defaultAffiliation.affiliationType.value===a.pw.distinction&&"end"===C&&(b=this.yearMonthDaytoDate(r.defaultAffiliation.endDate),f=this.yearMonthDaytoDate(r.defaultAffiliation.startDate)),_.defaultAffiliation.affiliationType.value===a.pw.distinction&&"end"===C&&(D=this.yearMonthDaytoDate(_.defaultAffiliation.endDate),O=this.yearMonthDaytoDate(_.defaultAffiliation.startDate)),"end"===C?f.getTime()!==O.getTime()?(O.getTime()-f.getTime())*(h?-1:1):D.getTime()!==b.getTime()?(D.getTime()-b.getTime())*(h?-1:1):(""+r.defaultAffiliation.affiliationName.value).localeCompare(""+_.defaultAffiliation.affiliationName.value)*(h?1:-1):"start"===C?D.getTime()!==b.getTime()?(D.getTime()-b.getTime())*(h?-1:1):O.getTime()!==f.getTime()?(O.getTime()-f.getTime())*(h?-1:1):(""+r.defaultAffiliation.affiliationName.value).localeCompare(""+_.defaultAffiliation.affiliationName.value)*(h?1:-1):void 0}sortByEndDateAndType(r,_){return r.filter(h=>h.defaultAffiliation.affiliationType.value===_).sort((h,C)=>this.sortByDate(h,C,!1,"end"))}getSelfAssertedOrValidatedAffiliations(r,_,h,C){return r.filter(b=>{const D=this.isSelfAsserted(b,h);return"self-asserted"===C?D:!D}).sort((b,D)=>(""+b.defaultAffiliation.affiliationName.value).localeCompare(""+D.defaultAffiliation.affiliationName.value))}isSelfAsserted(r,_){return r.defaultAffiliation.assertionOriginOrcid===_||r.defaultAffiliation.source===_}static{this.\u0275fac=function(_){return new(_||M)}}static{this.\u0275prov=t.jDH({token:M,factory:M.\u0275fac,providedIn:"root"})}}return M})()},75775:function(qe){(function(){qe.exports=function(){function o(){}return o.prototype.handleError=function(a){throw new Error(a)},o}()}).call(this)},75932:qe=>{function ee(a){if(a)return function o(a){for(var t in ee.prototype)a[t]=ee.prototype[t];return a}(a)}qe.exports=ee,ee.prototype.on=ee.prototype.addEventListener=function(a,t){return this._callbacks=this._callbacks||{},(this._callbacks[a]=this._callbacks[a]||[]).push(t),this},ee.prototype.once=function(a,t){var u=this;function M(){u.off(a,M),t.apply(this,arguments)}return this._callbacks=this._callbacks||{},M.fn=t,this.on(a,M),this},ee.prototype.off=ee.prototype.removeListener=ee.prototype.removeAllListeners=ee.prototype.removeEventListener=function(a,t){if(this._callbacks=this._callbacks||{},0==arguments.length)return this._callbacks={},this;var u=this._callbacks[a];if(!u)return this;if(1==arguments.length)return delete this._callbacks[a],this;for(var M,v=0;v<u.length;v++)if((M=u[v])===t||M.fn===t){u.splice(v,1);break}return this},ee.prototype.emit=function(a){this._callbacks=this._callbacks||{};
3var t=[].slice.call(arguments,1),u=this._callbacks[a];if(u)for(var M=0,v=(u=u.slice(0)).length;M<v;++M)u[M].apply(this,t);return this},ee.prototype.listeners=function(a){return this._callbacks=this._callbacks||{},this._callbacks[a]||[]},ee.prototype.hasListeners=function(a){return!!this.listeners(a).length}},76274:(qe,ee,o)=>{"use strict";o.d(ee,{k:()=>r});var a=o(7673),t=o(99437),u=o(2615),M=o(29330),v=o(56846);let r=(()=>{class _{constructor(C,b){this._http=C,this._errorHandler=b}getOrgDisambiguated(C,b){return C&&b?this._http.get(runtimeEnvironment.API_WEB+`orgs/disambiguated/${C}?value=${encodeURIComponent(b)}`).pipe((0,t.W)(D=>this._errorHandler.handleError(D))):(0,a.of)(null)}static{this.\u0275fac=function(b){return new(b||_)(u.KVO(M.Qq),u.KVO(v.c))}}static{this.\u0275prov=u.jDH({token:_,factory:_.\u0275fac,providedIn:"root"})}}return _})()},76939:(qe,ee,o)=>{"use strict";o.d(ee,{A8:()=>D,I3:()=>Y,VA:()=>f,aI:()=>L,jc:()=>U,lb:()=>d});var a=o(73664),t=o(2615),u=o(17705);class b{_attachedHost;attach(I){return this._attachedHost=I,I.attach(this)}detach(){let I=this._attachedHost;null!=I&&(this._attachedHost=null,I.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(I){this._attachedHost=I}}class D extends b{component;viewContainerRef;injector;projectableNodes;constructor(I,w,Z,N){super(),this.component=I,this.viewContainerRef=w,this.injector=Z,this.projectableNodes=N}}class f extends b{templateRef;viewContainerRef;context;injector;constructor(I,w,Z,N){super(),this.templateRef=I,this.viewContainerRef=w,this.context=Z,this.injector=N}get origin(){return this.templateRef.elementRef}attach(I,w=this.context){return this.context=w,super.attach(I)}detach(){return this.context=void 0,super.detach()}}class O extends b{element;constructor(I){super(),this.element=I instanceof a.aKT?I.nativeElement:I}}class d{_attachedPortal;_disposeFn;_isDisposed=!1;hasAttached(){return!!this._attachedPortal}attach(I){return I instanceof D?(this._attachedPortal=I,this.attachComponentPortal(I)):I instanceof f?(this._attachedPortal=I,this.attachTemplatePortal(I)):this.attachDomPortal&&I instanceof O?
3(this._attachedPortal=I,this.attachDomPortal(I)):void 0}attachDomPortal=null;detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(I){this._disposeFn=I}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class L extends d{outletElement;_appRef;_defaultInjector;constructor(I,w,Z){super(),this.outletElement=I,this._appRef=w,this._defaultInjector=Z}attachComponentPortal(I){let w;if(I.viewContainerRef){const Z=I.injector||I.viewContainerRef.injector,N=Z.get(a.Ab1,null,{optional:!0})||void 0;w=I.viewContainerRef.createComponent(I.component,{index:I.viewContainerRef.length,injector:Z,ngModuleRef:N,projectableNodes:I.projectableNodes||void 0}),this.setDisposeFn(()=>w.destroy())}else{const Z=this._appRef,N=I.injector||this._defaultInjector||t.zZn.NULL,oe=N.get(t.uvJ,Z.injector);w=(0,u.a0P)(I.component,{elementInjector:N,environmentInjector:oe,projectableNodes:I.projectableNodes||void 0}),Z.attachView(w.hostView),this.setDisposeFn(()=>{Z.viewCount>0&&Z.detachView(w.hostView),w.destroy()})}return this.outletElement.appendChild(this._getComponentRootNode(w)),this._attachedPortal=I,w}attachTemplatePortal(I){let w=I.viewContainerRef,Z=w.createEmbeddedView(I.templateRef,I.context,{injector:I.injector});return Z.rootNodes.forEach(N=>this.outletElement.appendChild(N)),Z.detectChanges(),this.setDisposeFn(()=>{let N=w.indexOf(Z);-1!==N&&w.remove(N)}),this._attachedPortal=I,Z}attachDomPortal=I=>{const w=I.element,Z=this.outletElement.ownerDocument.createComment("dom-portal");w.parentNode.insertBefore(Z,w),this.outletElement.appendChild(w),this._attachedPortal=I,super.setDisposeFn(()=>{Z.parentNode&&Z.parentNode.replaceChild(w,Z)})};dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(I){return I.hostView.rootNodes[0]}}let Y=(()=>{class T extends d{_moduleRef=(0,t.WQX)(a.Ab1,{optional:!0});_document=(0,t.WQX)(t.qQL);_viewContainerRef=(0,t.WQX)(a.c1b);_isInitialized=!1;_attachedRef;constructor(){super()}get portal(){return this._attachedPortal}set portal(w){this.hasAttached()&&!w&&!this._isInitialized||(this.hasAttached()&&super.detach(),w&&super.attach(w),this._attachedPortal=w||null)}attached=new a.bkB;get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(w){w.setAttachedHost(this);const Z=null!=w.viewContainerRef?w.viewContainerRef:this._viewContainerRef,N=Z.createComponent(w.component,{index:Z.length,injector:w.injector||Z.injector,projectableNodes:w.projectableNodes||void 0,ngModuleRef:this._moduleRef||void 0});return Z!==this._viewContainerRef&&this._getRootNode().appendChild(N.hostView.rootNodes[0]),super.setDisposeFn(()=>N.destroy()),this._attachedPortal=w,this._attachedRef=N,this.attached.emit(N),N}attachTemplatePortal(w){w.setAttachedHost(this);const Z=this._viewContainerRef.createEmbeddedView(w.templateRef,w.context,{injector:w.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=w,this._attachedRef=Z,this.attached.emit(Z),Z}attachDomPortal=w=>{const Z=w.element,N=this._document.createComment("dom-portal");w.setAttachedHost(this),Z.parentNode.insertBefore(N,Z),this._getRootNode().appendChild(Z),this._attachedPortal=w,super.setDisposeFn(()=>{N.parentNode&&N.parentNode.replaceChild(Z,N)})};_getRootNode(){const w=this._viewContainerRef.element.nativeElement;return w.nodeType===w.ELEMENT_NODE?w:w.parentNode}static \u0275fac=function(Z){return new(Z||T)};static \u0275dir=a.FsC({type:T,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:[0,"cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[a.Vt3]})}return T})(),U=(()=>{class T{static \u0275fac=function(Z){return new(Z||T)};static \u0275mod=a.$C({type:T});static \u0275inj=t.G2t({})}return T})()},77048:(qe,ee,o)=>{"use strict";o.d(ee,{v:()=>u});var a=o(39974),t=o(54360);function u(M,v=!1){return(0,a.N)((r,_)=>{let h=0;r.subscribe((0,t._)(_,C=>{const b=M(C,h++);(b||v)&&_.next(C),!b&&_.complete()}
3))})}},77519:function(qe,ee,o){(function(){var a,u,v={}.hasOwnProperty;u=o(79213),a=o(68886),qe.exports=function(r){function _(h,C,b){if(_.__super__.constructor.call(this,h),null==C)throw new Error("Missing DTD notation name. "+this.debugInfo(C));if(!b.pubID&&!b.sysID)throw new Error("Public or system identifiers are required for an external entity. "+this.debugInfo(C));this.name=this.stringify.name(C),this.type=a.NotationDeclaration,null!=b.pubID&&(this.pubID=this.stringify.dtdPubID(b.pubID)),null!=b.sysID&&(this.sysID=this.stringify.dtdSysID(b.sysID))}return function(r,_){for(var h in _)v.call(_,h)&&(r[h]=_[h]);function C(){this.constructor=r}C.prototype=_.prototype,r.prototype=new C,r.__super__=_.prototype}(_,r),Object.defineProperty(_.prototype,"publicId",{get:function(){return this.pubID}}),Object.defineProperty(_.prototype,"systemId",{get:function(){return this.sysID}}),_.prototype.toString=function(h){return this.options.writer.dtdNotation(this,this.options.writer.filterOptions(h))},_}(u)}).call(this)},78139:function(qe){(function(){var o=function(t,u){return function(){return t.apply(u,arguments)}},a={}.hasOwnProperty;qe.exports=function(){function t(u){var M,v;for(M in this.assertLegalName=o(this.assertLegalName,this),this.assertLegalChar=o(this.assertLegalChar,this),u||(u={}),this.options=u,this.options.version||(this.options.version="1.0"),v=u.stringify||{})a.call(v,M)&&(this[M]=v[M])}return t.prototype.name=function(u){return this.options.noValidation?u:this.assertLegalName(""+u||"")},t.prototype.text=function(u){return this.options.noValidation?u:this.assertLegalChar(this.textEscape(""+u||""))},t.prototype.cdata=function(u){return this.options.noValidation?u:(u=(u=""+u||"").replace("]]>","]]]]><![CDATA[>"),this.assertLegalChar(u))},t.prototype.comment=function(u){if(this.options.noValidation)return u;if((u=""+u||"").match(/--/))throw new Error("Comment text cannot contain double-hypen: "+u);return this.assertLegalChar(u)},t.prototype.raw=function(u){return this.options.noValidation?u:""+u||""},t.prototype.attValue=function(u){return this.options.noValidation?u:this.assertLegalChar(this.attEscape(u=""+u||""))},t.prototype.insTarget=function(u){return this.options.noValidation?u:this.assertLegalChar(""+u||"")},t.prototype.insValue=function(u){if(this.options.noValidation)return u;if((u=""+u||"").match(/\?>/))throw new Error("Invalid processing instruction value: "+u);return this.assertLegalChar(u)},t.prototype.xmlVersion=function(u){if(this.options.noValidation)return u;if(!(u=""+u||"").match(/1\.[0-9]+/))throw new Error("Invalid version number: "+u);return u},t.prototype.xmlEncoding=function(u){if(this.options.noValidation)return u;if(!(u=""+u||"").match(/^[A-Za-z](?:[A-Za-z0-9._-])*$/))throw new Error("Invalid encoding: "+u);return this.assertLegalChar(u)},t.prototype.xmlStandalone=function(u){return this.options.noValidation?u:u?"yes":"no"},t.prototype.dtdPubID=function(u){return this.options.noValidation?u:this.assertLegalChar(""+u||"")},t.prototype.dtdSysID=function(u){return this.options.noValidation?u:this.assertLegalChar(""+u||"")},t.prototype.dtdElementValue=function(u){return this.options.noValidation?u:this.assertLegalChar(""+u||"")},t.prototype.dtdAttType=function(u){return this.options.noValidation?u:this.assertLegalChar(""+u||"")},t.prototype.dtdAttDefault=function(u){return this.options.noValidation?u:this.assertLegalChar(""+u||"")},t.prototype.dtdEntityValue=function(u){return this.options.noValidation?u:this.assertLegalChar(""+u||"")},t.prototype.dtdNData=function(u){return this.options.noValidation?u:this.assertLegalChar(""+u||"")},t.prototype.convertAttKey="@",t.prototype.convertPIKey="?",t.prototype.convertTextKey="#text",t.prototype.convertCDataKey="#cdata",t.prototype.convertCommentKey="#comment",t.prototype.convertRawKey="#raw",t.prototype.assertLegalChar=function(u){var v;if(this.options.noValidation)return u;if("1.0"===this.options.version){if(v=u.match(/[\0-\x08\x0B\f\x0E-\x1F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/))throw new Error("Invalid character in string: "+u+" at index "+v.index)}else if("1.1"===this.options.version&&(v=u.match(/[\0\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/)))throw new Error("Invalid character in string: "+u+" at index "+v.index);return u},t.prototype.assertLegalName=function(u){if(this.options.noValidation)return u;if(this.assertLegalChar(u),!u.match(/^([:A-Z_a-z\xC0-\xD6\xD8-\xF6\xF8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]|[\uD800-\uDB7F][\uDC00-\uDFFF])([\x2D\.0-:A-Z_a-z\xB7\xC0-\xD6\xD8-\xF6\xF8-\u037D\u037F-\u1FFF\u200C\u200D\u203F\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]|[\uD800-\uDB7F][\uDC00-\uDFFF])*$/))throw new Error("Invalid character in name");return u},t.prototype.textEscape=function(u){return this.options.noValidation?u:u.replace(this.options.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/\r/g,"
")},t.prototype.attEscape=function(u){return this.options.noValidation?u:u.replace(this.options.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,"&").replace(/</g,"<").replace(/"/g,""").replace(/\t/g,"	").replace(/\n/g,"
").replace(/\r/g,"
")},t}()}).call(this)},78454:(qe,ee,o)=>{"use strict";var a=o(27054).Buffer,t=a.isEncoding||function(Y){switch((Y=""+Y)&&Y.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function v(Y){var ne;switch(this.encoding=function M(Y){var ne=function u(Y){if(!Y)return"utf8";for(var ne;;)switch(Y){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";
3case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return Y;default:if(ne)return;Y=(""+Y).toLowerCase(),ne=!0}}(Y);if("string"!=typeof ne&&(a.isEncoding===t||!t(Y)))throw new Error("Unknown encoding: "+Y);return ne||Y}(Y),this.encoding){case"utf16le":this.text=f,this.end=O,ne=4;break;case"utf8":this.fillLast=C,ne=4;break;case"base64":this.text=d,this.end=L,ne=3;break;default:return this.write=E,void(this.end=se)}this.lastNeed=0,this.lastTotal=0,this.lastChar=a.allocUnsafe(ne)}function r(Y){return Y<=127?0:Y>>5==6?2:Y>>4==14?3:Y>>3==30?4:Y>>6==2?-1:-2}function C(Y){var ne=this.lastTotal-this.lastNeed,U=function h(Y,ne){if(128!=(192&ne[0]))return Y.lastNeed=0,"\ufffd";if(Y.lastNeed>1&&ne.length>1){if(128!=(192&ne[1]))return Y.lastNeed=1,"\ufffd";if(Y.lastNeed>2&&ne.length>2&&128!=(192&ne[2]))return Y.lastNeed=2,"\ufffd"}}(this,Y);return void 0!==U?U:this.lastNeed<=Y.length?(Y.copy(this.lastChar,ne,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(Y.copy(this.lastChar,ne,0,Y.length),void(this.lastNeed-=Y.length))}function f(Y,ne){if((Y.length-ne)%2==0){var U=Y.toString("utf16le",ne);if(U){var T=U.charCodeAt(U.length-1);if(T>=55296&&T<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=Y[Y.length-2],this.lastChar[1]=Y[Y.length-1],U.slice(0,-1)}return U}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=Y[Y.length-1],Y.toString("utf16le",ne,Y.length-1)}function O(Y){var ne=Y&&Y.length?this.write(Y):"";return this.lastNeed?ne+this.lastChar.toString("utf16le",0,this.lastTotal-this.lastNeed):ne}function d(Y,ne){var U=(Y.length-ne)%3;return 0===U?Y.toString("base64",ne):(this.lastNeed=3-U,this.lastTotal=3,1===U?this.lastChar[0]=Y[Y.length-1]:(this.lastChar[0]=Y[Y.length-2],this.lastChar[1]=Y[Y.length-1]),Y.toString("base64",ne,Y.length-U))}function L(Y){var ne=Y&&Y.length?this.write(Y):"";return this.lastNeed?ne+this.lastChar.toString("base64",0,3-this.lastNeed):ne}function E(Y){return Y.toString(this.encoding)}function se(Y){return Y&&Y.length?this.write(Y):""}ee.I=v,v.prototype.write=function(Y){if(0===Y.length)return"";var ne,U;if(this.lastNeed){if(void 0===(ne=this.fillLast(Y)))return"";U=this.lastNeed,this.lastNeed=0}else U=0;return U<Y.length?ne?ne+this.text(Y,U):this.text(Y,U):ne||""},v.prototype.end=function D(Y){var ne=Y&&Y.length?this.write(Y):"";return this.lastNeed?ne+"\ufffd":ne},v.prototype.text=function b(Y,ne){var U=function _(Y,ne,U){var T=ne.length-1;if(T<U)return 0;var I=r(ne[T]);return I>=0?(I>0&&(Y.lastNeed=I-1),I):--T<U||-2===I?0:(I=r(ne[T]))>=0?(I>0&&(Y.lastNeed=I-2),I):--T<U||-2===I?0:(I=r(ne[T]))>=0?(I>0&&(2===I?I=0:Y.lastNeed=I-3),I):0}(this,Y,ne);if(!this.lastNeed)return Y.toString("utf8",ne);this.lastTotal=U;var T=Y.length-(U-this.lastNeed);return Y.copy(this.lastChar,0,T),Y.toString("utf8",ne,T)},v.prototype.fillLast=function(Y){if(this.lastNeed<=Y.length)return Y.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);Y.copy(this.lastChar,this.lastTotal-this.lastNeed,0,Y.length),this.lastNeed-=Y.length}},79213:function(qe,ee,o){(function(){var a,t,u,M,v,r,_,h,D,f,O,d,L,E,se,Y,ne,U={}.hasOwnProperty;ne=o(89700),Y=ne.isObject,se=ne.isFunction,E=ne.isEmpty,L=ne.getValue,h=null,u=null,M=null,v=null,r=null,O=null,d=null,f=null,_=null,t=null,D=null,a=null,qe.exports=function(){function T(I){this.parent=I,this.parent&&(this.options=this.parent.options,this.stringify=this.parent.stringify),this.value=null,this.children=[],this.baseURI=null,h||(h=o(89377),u=o(13476),M=o(42224),v=o(91801),r=o(54431),O=o(39447),d=o(65814),f=o(31124),_=o(43657),t=o(68886),D=o(25169),o(43592),a=o(36348))}return Object.defineProperty(T.prototype,"nodeName",{get:function(){return this.name}}),Object.defineProperty(T.prototype,"nodeType",{get:function(){return this.type}}),Object.defineProperty(T.prototype,"nodeValue",{get:function(){return this.value}}),Object.defineProperty(T.prototype,"parentNode",{get:function(){return this.parent}}),Object.defineProperty(T.prototype,"childNodes",{get:function(){return(!this.childNodeList||!this.childNodeList.nodes)&&(this.childNodeList=new D(this.children)),this.childNodeList}}),Object.defineProperty(T.prototype,"firstChild",{get:function(){return this.children[0]||null}}),Object.defineProperty(T.prototype,"lastChild",{get:function(){return this.children[this.children.length-1]||null}}),Object.defineProperty(T.prototype,"previousSibling",{get:function(){var I;return I=this.parent.children.indexOf(this),this.parent.children[I-1]||null}}),Object.defineProperty(T.prototype,"nextSibling",{get:function(){var I;return I=this.parent.children.indexOf(this),this.parent.children[I+1]||null}}),Object.defineProperty(T.prototype,"ownerDocument",{get:function(){return this.document()||null}}),Object.defineProperty(T.prototype,"textContent",{get:function(){var I,w,Z,N,oe;if(this.nodeType===t.Element||this.nodeType===t.DocumentFragment){for(oe="",w=0,Z=(N=this.children).length;w<Z;w++)(I=N[w]).textContent&&(oe+=I.textContent);return oe}return null},set:function(I){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),T.prototype.setParent=function(I){var Z,N,oe,H;for(this.parent=I,I&&(this.options=I.options,this.stringify=I.stringify),H=[],Z=0,N=(oe=this.children).length;Z<N;Z++)H.push(oe[Z].setParent(this));return H},T.prototype.element=function(I,w,Z){var N,H,ie,Ce,Ue,nt,we,at,Xe,et;if(Ue=null,null===w&&null==Z&&(w=(at=[{},null])[0],Z=at[1]),null==w&&(w={}),w=L(w),Y(w)||(Z=(Xe=[w,Z])[0],w=Xe[1]),null!=I&&(I=L(I)),Array.isArray(I))for(H=0,nt=I.length;H<nt;
3H++)Ue=this.element(I[H]);else if(se(I))Ue=this.element(I.apply());else if(Y(I)){for(Ce in I)if(U.call(I,Ce))if(se(et=I[Ce])&&(et=et.apply()),!this.options.ignoreDecorators&&this.stringify.convertAttKey&&0===Ce.indexOf(this.stringify.convertAttKey))Ue=this.attribute(Ce.substr(this.stringify.convertAttKey.length),et);else if(!this.options.separateArrayItems&&Array.isArray(et)&&E(et))Ue=this.dummy();else if(Y(et)&&E(et))Ue=this.element(Ce);else if(this.options.keepNullNodes||null!=et)if(!this.options.separateArrayItems&&Array.isArray(et))for(ie=0,we=et.length;ie<we;ie++)(N={})[Ce]=et[ie],Ue=this.element(N);else Y(et)?!this.options.ignoreDecorators&&this.stringify.convertTextKey&&0===Ce.indexOf(this.stringify.convertTextKey)?Ue=this.element(et):(Ue=this.element(Ce)).element(et):Ue=this.element(Ce,et);else Ue=this.dummy()}else Ue=this.options.keepNullNodes||null!==Z?!this.options.ignoreDecorators&&this.stringify.convertTextKey&&0===I.indexOf(this.stringify.convertTextKey)?this.text(Z):!this.options.ignoreDecorators&&this.stringify.convertCDataKey&&0===I.indexOf(this.stringify.convertCDataKey)?this.cdata(Z):!this.options.ignoreDecorators&&this.stringify.convertCommentKey&&0===I.indexOf(this.stringify.convertCommentKey)?this.comment(Z):!this.options.ignoreDecorators&&this.stringify.convertRawKey&&0===I.indexOf(this.stringify.convertRawKey)?this.raw(Z):!this.options.ignoreDecorators&&this.stringify.convertPIKey&&0===I.indexOf(this.stringify.convertPIKey)?this.instruction(I.substr(this.stringify.convertPIKey.length),Z):this.node(I,w,Z):this.dummy();if(null==Ue)throw new Error("Could not create any elements with: "+I+". "+this.debugInfo());return Ue},T.prototype.insertBefore=function(I,w,Z){var N,oe,H,ie,Ce;if(I?.type)return ie=w,(H=I).setParent(this),ie?(oe=children.indexOf(ie),Ce=children.splice(oe),children.push(H),Array.prototype.push.apply(children,Ce)):children.push(H),H;if(this.isRoot)throw new Error("Cannot insert elements at root level. "+this.debugInfo(I));return oe=this.parent.children.indexOf(this),Ce=this.parent.children.splice(oe),N=this.parent.element(I,w,Z),Array.prototype.push.apply(this.parent.children,Ce),N},T.prototype.insertAfter=function(I,w,Z){var N,oe,H;if(this.isRoot)throw new Error("Cannot insert elements at root level. "+this.debugInfo(I));return oe=this.parent.children.indexOf(this),H=this.parent.children.splice(oe+1),N=this.parent.element(I,w,Z),Array.prototype.push.apply(this.parent.children,H),N},T.prototype.remove=function(){var I;if(this.isRoot)throw new Error("Cannot remove the root element. "+this.debugInfo());return I=this.parent.children.indexOf(this),[].splice.apply(this.parent.children,[I,I-I+1].concat([])),this.parent},T.prototype.node=function(I,w,Z){var N,oe;return null!=I&&(I=L(I)),w||(w={}),w=L(w),Y(w)||(Z=(oe=[w,Z])[0],w=oe[1]),N=new h(this,I,w),null!=Z&&N.text(Z),this.children.push(N),N},T.prototype.text=function(I){var w;return Y(I)&&this.element(I),w=new d(this,I),this.children.push(w),this},T.prototype.cdata=function(I){var w;return w=new u(this,I),this.children.push(w),this},T.prototype.comment=function(I){var w;return w=new M(this,I),this.children.push(w),this},T.prototype.commentBefore=function(I){var Z,N;return Z=this.parent.children.indexOf(this),N=this.parent.children.splice(Z),this.parent.comment(I),Array.prototype.push.apply(this.parent.children,N),this},T.prototype.commentAfter=function(I){var Z,N;return Z=this.parent.children.indexOf(this),N=this.parent.children.splice(Z+1),this.parent.comment(I),Array.prototype.push.apply(this.parent.children,N),this},T.prototype.raw=function(I){var w;return w=new O(this,I),this.children.push(w),this},T.prototype.dummy=function(){return new _(this)},T.prototype.instruction=function(I,w){var Z,oe,H,ie;if(null!=I&&(I=L(I)),null!=w&&(w=L(w)),Array.isArray(I))for(H=0,ie=I.length;H<ie;H++)this.instruction(Z=I[H]);else if(Y(I))for(Z in I)U.call(I,Z)&&this.instruction(Z,I[Z]);else se(w)&&(w=w.apply()),oe=new f(this,I,w),this.children.push(oe);return this},T.prototype.instructionBefore=function(I,w){var N,oe;return N=this.parent.children.indexOf(this),oe=this.parent.children.splice(N),this.parent.instruction(I,w),Array.prototype.push.apply(this.parent.children,oe),this},T.prototype.instructionAfter=function(I,w){var N,oe;return N=this.parent.children.indexOf(this),oe=this.parent.children.splice(N+1),this.parent.instruction(I,w),Array.prototype.push.apply(this.parent.children,oe),this},T.prototype.declaration=function(I,w,Z){var N,oe;return N=this.document(),oe=new v(N,I,w,Z),0===N.children.length?N.children.unshift(oe):N.children[0].type===t.Declaration?N.children[0]=oe:N.children.unshift(oe),N.root()||N},T.prototype.dtd=function(I,w){var N,oe,H,ie,Ce,Ue,nt,we,at;for(N=this.document(),oe=new r(N,I,w),H=ie=0,Ue=(we=N.children).length;ie<Ue;H=++ie)if(we[H].type===t.DocType)return N.children[H]=oe,oe;for(H=Ce=0,nt=(at=N.children).length;Ce<nt;H=++Ce)if(at[H].isRoot)return N.children.splice(H,0,oe),oe;return N.children.push(oe),oe},T.prototype.up=function(){if(this.isRoot)throw new Error("The root node has no parent. Use doc() if you need to get the document object.");return this.parent},T.prototype.root=function(){var I;for(I=this;I;){if(I.type===t.Document)return I.rootObject;if(I.isRoot)return I;I=I.parent}},T.prototype.document=function(){var I;for(I=this;I;){if(I.type===t.Document)return I;I=I.parent}},T.prototype.end=function(I){return this.document().end(I)},T.prototype.prev=function(){var I;if((I=this.parent.children.indexOf(this))<1)throw new Error("Already at the first node. "+this.debugInfo());return this.parent.children[I-1]},T.prototype.next=function(){var I;if(-1===(I=this.parent.children.indexOf(this))||I===this.parent.children.length-1)throw new Error("Already at the last node. "+this.debugInfo());return this.parent.children[I+1]},T.prototype.importDocument=function(I){var w;return(w=I.root().clone()).parent=this,w.isRoot=!1,this.children.push(w),this},T.prototype.debugInfo=function(I){var w,Z;return null!=(I=I||this.name)||null!=(w=this.parent)&&w.name?null==I?"parent: <"+this.parent.name+">":null!=(Z=this.parent)&&Z.name?"node: <"+I+">, parent: <"+this.parent.name+">":"node: <"+I+">":""}
3,T.prototype.ele=function(I,w,Z){return this.element(I,w,Z)},T.prototype.nod=function(I,w,Z){return this.node(I,w,Z)},T.prototype.txt=function(I){return this.text(I)},T.prototype.dat=function(I){return this.cdata(I)},T.prototype.com=function(I){return this.comment(I)},T.prototype.ins=function(I,w){return this.instruction(I,w)},T.prototype.doc=function(){return this.document()},T.prototype.dec=function(I,w,Z){return this.declaration(I,w,Z)},T.prototype.e=function(I,w,Z){return this.element(I,w,Z)},T.prototype.n=function(I,w,Z){return this.node(I,w,Z)},T.prototype.t=function(I){return this.text(I)},T.prototype.d=function(I){return this.cdata(I)},T.prototype.c=function(I){return this.comment(I)},T.prototype.r=function(I){return this.raw(I)},T.prototype.i=function(I,w){return this.instruction(I,w)},T.prototype.u=function(){return this.up()},T.prototype.importXMLBuilder=function(I){return this.importDocument(I)},T.prototype.replaceChild=function(I,w){throw new Error("This DOM method is not implemented."+this.debugInfo())},T.prototype.removeChild=function(I){throw new Error("This DOM method is not implemented."+this.debugInfo())},T.prototype.appendChild=function(I){throw new Error("This DOM method is not implemented."+this.debugInfo())},T.prototype.hasChildNodes=function(){return 0!==this.children.length},T.prototype.cloneNode=function(I){throw new Error("This DOM method is not implemented."+this.debugInfo())},T.prototype.normalize=function(){throw new Error("This DOM method is not implemented."+this.debugInfo())},T.prototype.isSupported=function(I,w){return!0},T.prototype.hasAttributes=function(){return 0!==this.attribs.length},T.prototype.compareDocumentPosition=function(I){var w,Z;return(w=this)===I?0:this.document()!==I.document()?(Z=a.Disconnected|a.ImplementationSpecific,Math.random()<.5?Z|=a.Preceding:Z|=a.Following,Z):w.isAncestor(I)?a.Contains|a.Preceding:w.isDescendant(I)?a.Contains|a.Following:w.isPreceding(I)?a.Preceding:a.Following},T.prototype.isSameNode=function(I){throw new Error("This DOM method is not implemented."+this.debugInfo())},T.prototype.lookupPrefix=function(I){throw new Error("This DOM method is not implemented."+this.debugInfo())},T.prototype.isDefaultNamespace=function(I){throw new Error("This DOM method is not implemented."+this.debugInfo())},T.prototype.lookupNamespaceURI=function(I){throw new Error("This DOM method is not implemented."+this.debugInfo())},T.prototype.isEqualNode=function(I){var w,Z,N;if(I.nodeType!==this.nodeType||I.children.length!==this.children.length)return!1;for(w=Z=0,N=this.children.length-1;0<=N?Z<=N:Z>=N;w=0<=N?++Z:--Z)if(!this.children[w].isEqualNode(I.children[w]))return!1;return!0},T.prototype.getFeature=function(I,w){throw new Error("This DOM method is not implemented."+this.debugInfo())},T.prototype.setUserData=function(I,w,Z){throw new Error("This DOM method is not implemented."+this.debugInfo())},T.prototype.getUserData=function(I){throw new Error("This DOM method is not implemented."+this.debugInfo())},T.prototype.contains=function(I){return!!I&&(I===this||this.isDescendant(I))},T.prototype.isDescendant=function(I){var w,N,oe,H;for(N=0,oe=(H=this.children).length;N<oe;N++)if(I===(w=H[N])||w.isDescendant(I))return!0;return!1},T.prototype.isAncestor=function(I){return I.isDescendant(this)},T.prototype.isPreceding=function(I){var w,Z;return w=this.treePosition(I),Z=this.treePosition(this),-1!==w&&-1!==Z&&w<Z},T.prototype.isFollowing=function(I){var w,Z;return w=this.treePosition(I),Z=this.treePosition(this),-1!==w&&-1!==Z&&w>Z},T.prototype.treePosition=function(I){var w,Z;return Z=0,w=!1,this.foreachTreeNode(this.document(),function(N){if(Z++,!w&&N===I)return w=!0}),w?Z:-1},T.prototype.foreachTreeNode=function(I,w){var Z,N,oe,H,ie;for(I||(I=this.document()),N=0,oe=(H=I.children).length;N<oe;N++){if(ie=w(Z=H[N]))return ie;if(ie=this.foreachTreeNode(Z,w))return ie}},T}()}).call(this)},79355:(qe,ee,o)=>{"use strict";o.d(ee,{_:()=>u,a:()=>M,c:()=>t});var a=o(73664);function t(v,r=0){return u(v)?Number(v):2===arguments.length?r:0}function u(v){return!isNaN(parseFloat(v))&&!isNaN(Number(v))}function M(v){return v instanceof a.aKT?v.nativeElement:v}},79470:(qe,ee,o)=>{"use strict";o.d(ee,{m:()=>t});var a=o(98071);function t(u){return u&&(0,a.T)(u.schedule)}},79629:(qe,ee,o)=>{"use strict";let a;function u(r){if(function t(){if(null==a){const r=typeof document<"u"?document.head:null;a=!(!r||!r.createShadowRoot&&!r.attachShadow)}return a}()){const _=r.getRootNode?r.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&_ instanceof ShadowRoot)return _}return null}function M(){let r=typeof document<"u"&&document?document.activeElement:null;for(;r&&r.shadowRoot;){const _=r.shadowRoot.activeElement;if(_===r)break;r=_}return r}function v(r){return r.composedPath?r.composedPath()[0]:r.target}o.d(ee,{_:()=>v,a:()=>u,c:()=>M})},79835:(qe,ee,o)=>{"use strict";o.d(ee,{yL:()=>Ue});
3var a=o(21413),t=o(61594),u=o(89417),M=o(10273),v=o.n(M),r=o(60525),_=o.n(r),h=o(1734),C=o(73664),b=o(2615),D=o(88021),f=o(32130),O=o(5040),d=o(90645);function L(at,Xe){if(1&at){const et=C.RV6();C.j41(0,"app-modal-footer")(1,"button",20),C.bIt("click",function(){b.eBV(et);const De=C.XpG();return b.Njj(De.saveEvent())}),C.qex(2),C.pXf(3,4),C.bVm(),C.k0s(),C.j41(4,"button",21),C.bIt("click",function(){b.eBV(et);const De=C.XpG();return b.Njj(De.closeEvent())}),C.pXf(5,5),C.k0s()()}}function E(at,Xe){if(1&at){const et=C.RV6();C.j41(0,"div",22)(1,"input",23,0),C.bIt("change",function(De){b.eBV(et);const ue=C.XpG();return b.Njj(ue.bibTexInputChange(De))}),C.k0s(),C.j41(3,"button",24),C.bIt("click",function(){b.eBV(et);const De=C.sdS(2);return b.Njj(De.click())}),C.pXf(4,6),C.k0s()()}2&at&&(C.R7$(),C.Y8G("hidden",!0))}function se(at,Xe){1&at&&(C.qex(0),C.pXf(1,7),C.bVm())}function Y(at,Xe){1&at&&(C.qex(0),C.pXf(1,8),C.bVm())}function ne(at,Xe){if(1&at&&(C.j41(0,"div",25)(1,"mat-error",26),C.DNE(2,se,2,0,"ng-container",14)(3,Y,2,0,"ng-container",14),C.k0s()()),2&at){const et=C.XpG();C.R7$(2),C.Y8G("ngIf",et.bibtexErrorParsing),C.R7$(),C.Y8G("ngIf",et.bibtexErrorNoEntries)}}function U(at,Xe){if(1&at&&(C.j41(0,"div",25)(1,"code"),C.EFF(2),C.k0s()()),2&at){const et=C.XpG();C.R7$(2),C.JRh(et.bibtexErrorParsingText)}}function T(at,Xe){1&at&&(C.qex(0),C.pXf(1,10),C.bVm())}function I(at,Xe){if(1&at&&(C.qex(0),C.EFF(1),C.qex(2),C.pXf(3,11),C.bVm()()),2&at){const et=C.XpG(2);C.R7$(),C.SpI(" (",et.selectedWorks.length,") ")}}function w(at,Xe){if(1&at&&(C.j41(0,"h2",39),C.EFF(1),C.k0s()),2&at){const et=C.XpG().$implicit;C.R7$(),C.SpI(" ",null==et||null==et.title?null:et.title.value," ")}}function Z(at,Xe){1&at&&(C.j41(0,"span"),C.EFF(1," | "),C.k0s())}function N(at,Xe){if(1&at&&(C.j41(0,"p",35)(1,"span",40),C.pXf(2,12),C.k0s(),C.j41(3,"a",41),C.EFF(4),C.k0s()()),2&at){const et=C.XpG().$implicit;C.R7$(3),C.Y8G("href",C.mNQ(null==et||null==et.url?null:et.url.value),C.B4B),C.R7$(),C.SpI(" ",null==et||null==et.url?null:et.url.value)}}function oe(at,Xe){if(1&at&&(C.j41(0,"mat-error",42),C.EFF(1),C.k0s()),2&at){const et=C.XpG().$implicit;C.R7$(),C.SpI(" ",et.errors," ")}}function H(at,Xe){if(1&at){const et=C.RV6();C.qex(0),C.j41(1,"div",32)(2,"div",15)(3,"mat-checkbox",33),C.bIt("change",function(){const De=b.eBV(et).$implicit,ue=C.XpG(3);return b.Njj(ue.updateCheck(De))}),C.DNE(4,w,2,1,"h2",34),C.j41(5,"p",35),C.EFF(6),C.k0s(),C.j41(7,"p",35),C.EFF(8),C.nI1(9,"monthDayYearDateToString"),C.DNE(10,Z,2,0,"span",14),C.EFF(11),C.k0s(),C.nrm(12,"app-display-external-ids",36),C.DNE(13,N,5,3,"p",37),C.k0s()(),C.DNE(14,oe,2,1,"mat-error",38),C.k0s(),C.nrm(15,"mat-divider",15),C.bVm()}if(2&at){const et=Xe.$implicit;C.R7$(),C.Y8G("formGroupName",et.putCode.value),C.R7$(2),C.BMQ("disabled",(null==et||null==et.errors?null:et.errors.length)>0),C.R7$(),C.Y8G("ngIf",null==et||null==et.title?null:et.title.value),C.R7$(2),C.SpI(" ",null==et||null==et.journalTitle?null:et.journalTitle.value," "),C.R7$(2),C.SpI(" ",C.bMT(9,10,null==et?null:et.publicationDate)," "),C.R7$(2),C.Y8G("ngIf",et.publicationDate),C.R7$(),C.SpI(" ",null==et||null==et.workType?null:et.workType.value," "),C.R7$(),C.Y8G("externalIdentifiers",null==et?null:et.workExternalIdentifiers),C.R7$(),C.Y8G("ngIf",null==et?null:et.url),C.R7$(),C.Y8G("ngIf",null==et?null:et.errors)}}function ie(at,Xe){if(1&at&&(C.j41(0,"div",30),C.DNE(1,H,16,12,"ng-container",31),C.k0s()),2&at){const et=C.XpG(2);C.Y8G("formGroup",et.importForm),C.R7$(),C.Y8G("ngForOf",et.worksFromBibtex)}}function Ce(at,Xe){if(1&at){const et=C.RV6();C.qex(0),C.j41(1,"div",15)(2,"h3"),C.qex(3),C.pXf(4,9),C.bVm(),C.EFF(5),C.k0s(),C.nrm(6,"mat-divider",27),C.j41(7,"div",15)(8,"div",15)(9,"p")(10,"mat-checkbox",28),C.bIt("change",function(){b.eBV(et);const De=C.XpG();return b.Njj(De.updateCheckAll())}),C.mxI("ngModelChange",function(De){b.eBV(et);const ue=C.XpG();return C.DH7(ue.selectAll,De)||(ue.selectAll=De),b.Njj(De)}),C.DNE(11,T,2,0,"ng-container",14)(12,I,4,1,"ng-container",14),C.k0s()()()(),C.nrm(13,"mat-divider",15),C.DNE(14,ie,2,2,"div",29),C.k0s(),C.bVm()}if(2&at){const et=C.XpG();
3C.R7$(5),C.SpI(" (",et.worksFromBibtex.length,") "),C.R7$(5),C.R50("ngModel",et.selectAll),C.BMQ("disabled",et.isAnInvalidWork),C.R7$(),C.Y8G("ngIf",0===et.selectedWorks.length),C.R7$(),C.Y8G("ngIf",et.selectedWorks.length>0),C.R7$(2),C.Y8G("ngIf",et.worksFromBibtex.length>0&&!et.loadingWorks)}}let Ue=(()=>{class at{constructor(et,xe,De,ue,z){this.dialogRef=et,this._snackBar=xe,this._recordWorksService=De,this._window=ue,this._togglz=z,this.$destroy=new a.B,this.loadingWorks=!1,this.bibtexErrorParsingText="",this.bibtexErrorParsing=!1,this.bibtexErrorNoEntries=!1,this.worksFromBibtex=[],this.selectedWorks=[],this.group={},this.addedWorkCount=0,this.isAnInvalidWork=!1}ngOnInit(){}bibTexInputChange(et){this.bibtexErrorParsingText=void 0,this.bibtexErrorParsing=!1,this.loadingWorks=!0;const xe=et.target.files;for(const De of xe){const ue=new FileReader;ue.readAsText(De);const z=this;ue.onloadend=function(de){let ae=null;try{if(ae=v().toJSON(ue.result),"string"==typeof ae&&ae.substring(0,5).toLowerCase().indexOf("error")>-1)z.bibtexErrorParsingText=ae,z.bibtexErrorParsing=!0,z.loadingWorks=!1;else if(ae){const X=[];for(0===ae.length&&(z.bibtexErrorNoEntries=!0,z.loadingWorks=!1);ae.length>0;){const $=ae.shift(),K=$.entryType.toLowerCase();"preamble"!==K&&"comment"!==K&&X.push(z.populateWork($))}X.length>0&&z._recordWorksService.worksValidate(X).pipe((0,t.$)()).subscribe($=>{z.worksFromBibtex=[],$.forEach(K=>{z.worksFromBibtex.push(K),K.errors.length>0&&!z.isAnInvalidWork&&(z.isAnInvalidWork=!0,z._snackBar.showValidationError())}),z.worksFromBibtex.forEach(K=>{const Be="new-"+z.addedWorkCount++;K.putCode={value:Be},z.group[Be]=new u.J3({checked:new u.hs(!1)})}),z.importForm=new u.J3(z.group),z.loadingWorks=!1})}}catch(X){z.bibtexErrorParsingText=X,z.bibtexErrorParsing=!0,z.loadingWorks=!1}}}}populateWork(et){const xe={},De=v().toBibtex([et]);if(xe.citation={citation:{value:De},citationType:{value:"bibtex"}},et.entryType){const ue=et.entryType.toLowerCase();we.hasOwnProperty(ue)&&(xe.workCategory={value:_().decodeLatex(we[ue][0])},xe.workType={value:we[ue][1]})}if(et.entryTags){const ue=et.entryTags,z={};for(const de in ue)ue.hasOwnProperty(de)&&(z[de.toLowerCase()]=ue[de]);if(z.hasOwnProperty("booktitle")&&(z.hasOwnProperty("title")?z.hasOwnProperty("journal")||(xe.journalTitle={value:_().decodeLatex(z.booktitle)}):xe.title={value:_().decodeLatex(z.booktitle)}),z.hasOwnProperty("doi")&&this.externalIdentifierId(xe,"doi",z.doi),z.hasOwnProperty("pmid")&&this.externalIdentifierId(xe,"pmid",z.pmid),z.hasOwnProperty("eprint")&&z.hasOwnProperty("eprinttype")&&"arxiv"===z.eprinttype&&this.externalIdentifierId(xe,"arxiv",ue.eprint),z.hasOwnProperty("isbn")&&this.externalIdentifierId(xe,"isbn",z.isbn),z.hasOwnProperty("issn")&&this.externalIdentifierId(xe,"issn",z.issn),z.hasOwnProperty("pissn")&&this.externalIdentifierId(xe,"issn",z.pissn),z.hasOwnProperty("eissn")&&this.externalIdentifierId(xe,"issn",z.eissn),z.hasOwnProperty("lissn")&&this.externalIdentifierId(xe,"issn",z.lissn),z.hasOwnProperty("url")&&this.externalIdentifierId(xe,"uri",z.url),z.hasOwnProperty("journal")&&(xe.journalTitle={value:_().decodeLatex(z.journal)}),z.hasOwnProperty("title")&&(xe.title={value:_().decodeLatex(z.title)}),z.hasOwnProperty("year")&&(isNaN(z.year)||(xe.publicationDate={year:z.year.trim()})),z.hasOwnProperty("month")&&z.hasOwnProperty("year")&&!isNaN(z.year)&&""!==z.year.trim()){let de=z.month.trim();nt.indexOf(de.trim().substring(0,3))>=0&&(de=nt.indexOf(de.trim().substring(0,3))+1),!isNaN(de)&&de>0&&de<=12&&(xe.publicationDate={year:z.year.trim(),month:this.pad(de,2)})}if(z.hasOwnProperty("url")&&(xe.url={value:z.url}),xe.contributorsGroupedByOrcid=[],z.hasOwnProperty("author")){const de=this.removeEndingAnd(z.author);this.addContributors(de.split(" and "),"author",xe)}if(z.hasOwnProperty("editor")){const de=this.removeEndingAnd(z.editor);this.addContributors(de.split(" and "),"editor",xe)}}return xe}addContributors(et,xe,De){et.forEach(ue=>{(ue=_().decodeLatex(ue).trim())&&De.contributorsGroupedByOrcid.push({creditName:{content:ue},rolesAndSequences:[{contributorRole:xe,contributorSequence:null}]})})}externalIdentifierId(et,xe,De){if(!De)return void console.warn("Empty value for ext id: "+xe);let ue="self";"issn"===xe?"book"!==et.workType.value&&(ue="part-of"):"isbn"===xe&&["book","manual","report","other_output"].indexOf(et.workType.value)<0&&(ue="part-of");const z={externalIdentifierId:{value:De},externalIdentifierType:{value:xe},relationship:{value:ue}};void 0===et.workExternalIdentifiers?(et.workExternalIdentifiers=[],et.workExternalIdentifiers[0]=z):null==et.workExternalIdentifiers[0]?.externalIdentifierId?.value?et.workExternalIdentifiers[0]=z:"uri"!==xe&&et.workExternalIdentifiers.push(z)}pad(et,xe){let De=et+"";for(;De.length<xe;)De="0"+De;return De}updateCheckAll(){this.selectedWorks=[],this.worksFromBibtex.forEach(et=>{this.selectAll&&this.selectedWorks.push(et),this.importForm.patchValue({[et.putCode.value]:{checked:!!this.selectAll}})})}updateCheck(et){this.selectedWorks.some(xe=>xe.putCode.value===et.putCode.value)?this.selectedWorks=this.selectedWorks.filter(xe=>xe.putCode.value!==et.putCode.value):this.selectedWorks.push(et)}saveEvent(){this.selectedWorks.length>0?(this.loadingWorks=!0,this.selectedWorks.forEach((et,xe)=>{et.putCode=null,this._recordWorksService.save(et,!1,xe===this.selectedWorks.length-1).subscribe(()=>{xe===this.selectedWorks.length-1&&(this.loadingWorks=!1,this.worksFromBibtex=[],this.closeEvent())})})):this._snackBar.showValidationError("You haven\u2019t selected any items to import.","Please review and fix the issue")}
3displayBackendError(et){this._snackBar.showValidationError(et,"Please review and fix the issue")}getCreditNameFromUserRecord(){const et=this.userRecord?.names?.creditName?.value,xe=this.userRecord?.names?.givenNames?.value,De=this.userRecord?.names?.familyName?.value;return et||(De?`${xe} ${De}`:xe)}removeEndingAnd(et){return et.endsWith(" and")&&(et=et.substring(0,et.length-4)),et}closeEvent(){this.dialogRef.close()}ngOnDestroy(){this.$destroy.next(!0),this.$destroy.unsubscribe()}static{this.\u0275fac=function(xe){return new(xe||at)(C.rXU(D.k),C.rXU(f.z),C.rXU(O.j),C.rXU(h.jf),C.rXU(d.v))}}static{this.\u0275cmp=C.VBU({type:at,selectors:[["app-work-doi-bibtex-modal"]],inputs:{userRecord:"userRecord"},standalone:!1,decls:15,vars:7,consts:()=>{let et,xe,De,ue,z,de,ae,X,$,K,Be,Ye;return et=" Works - Import BibTeX",xe=" Import citations from BibTex (.bib) files, including files exported from Google Scholar. ",De=" More information on importing BibTeX files into ORCID ",ue=" Import works to your record ",z=" Cancel ",de=" Choose BibTeX file to import ",ae=" This file cannot be read. Please check the BibTeX formatting and try again. ",X=" Error parsing Bibtex. No Bibtex entries found in file ",$=" Works found in BibTeX ",K=" Select all ",Be="Selected",Ye="URL:",[["bibTexInput",""],et,xe,De,ue,z,de,ae,X,$,K,Be,Ye,[3,"loading","noSidebar"],[4,"ngIf"],[1,"row"],[1,"orc-font-small-print"],["href","https://support.orcid.org/hc/en-us/articles/360006894794-Importing-works-from-a-BibTeX-file","rel","noopener noreferrer","target","_blank",1,"underline"],["class","col l6 choose-bibtex",4,"ngIf"],["class","row bibtex-error",4,"ngIf"],["mat-raised-button","","color","primary","id","cy-import-works",3,"click"],["mat-stroked-button","","color","primary","id","cancel-button",3,"click"],[1,"col","l6","choose-bibtex"],["type","file","onclick","this.value=null","accept",".bib",3,"change","hidden"],["mat-raised-button","","color","primary",3,"click"],[1,"row","bibtex-error"],[1,"mat-caption"],[1,"row","orcid-divider"],[3,"change","ngModelChange","ngModel"],["class","row",3,"formGroup",4,"ngIf"],[1,"row",3,"formGroup"],[4,"ngFor","ngForOf"],[1,"row","work-info",3,"formGroupName"],["formControlName","checked",3,"change"],["class","orc-font-body",4,"ngIf"],[1,"orc-font-body-small"],[3,"externalIdentifiers"],["class","orc-font-body-small",4,"ngIf"],["class","bibtex-error mat-caption",4,"ngIf"],[1,"orc-font-body"],[1,"prefixTitle"],["target","_blank",3,"href"],[1,"bibtex-error","mat-caption"]]},template:function(xe,De){1&xe&&(C.j41(0,"app-modal",13)(1,"app-modal-header"),C.qex(2),C.pXf(3,1),C.bVm(),C.k0s(),C.DNE(4,L,6,0,"app-modal-footer",14),C.j41(5,"div",15)(6,"div",16)(7,"p"),C.pXf(8,2),C.k0s(),C.j41(9,"a",17),C.pXf(10,3),C.k0s()()(),C.DNE(11,E,5,1,"div",18)(12,ne,4,2,"div",19)(13,U,3,1,"div",19)(14,Ce,15,6,"ng-container",14),C.k0s()),2&xe&&(C.Y8G("loading",De.loadingWorks)("noSidebar",!0),C.R7$(4),C.Y8G("ngIf",De.worksFromBibtex.length>0&&!De.loadingWorks),C.R7$(7),C.Y8G("ngIf",0===De.worksFromBibtex.length),C.R7$(),C.Y8G("ngIf",De.bibtexErrorParsing||De.bibtexErrorNoEntries),C.R7$(),C.Y8G("ngIf",De.bibtexErrorParsing),C.R7$(),C.Y8G("ngIf",De.worksFromBibtex.length>0&&!De.loadingWorks))},styles:[".choose-bibtex[_ngcontent-%COMP%]{padding:0;margin-top:16px;margin-bottom:6px}.choose-bibtex[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{min-width:237px}.work-info[_ngcontent-%COMP%]{margin-bottom:16px;width:100%;word-break:break-word}.work-info[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{word-break:break-word}.work-info[_ngcontent-%COMP%] div[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{width:48em;overflow:hidden;text-overflow:ellipsis;margin-bottom:0}.work-info[_ngcontent-%COMP%] div[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0}.work-info[_ngcontent-%COMP%] div[_ngcontent-%COMP%] .details[_ngcontent-%COMP%]{margin-left:24px}.work-info[_ngcontent-%COMP%] div[_ngcontent-%COMP%] .added[_ngcontent-%COMP%]{margin-left:16px}.no-info[_ngcontent-%COMP%]{display:flex;margin-top:20px;align-items:center}.no-info[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{margin-inline-end:4px}.bibtex-error[_ngcontent-%COMP%]{margin:6px 2px}.bibtex-error[_ngcontent-%COMP%] code[_ngcontent-%COMP%]{border-radius:3px;padding:6px}","code[_ngcontent-%COMP%]{background-color:#eee}"]})}}return at})();const nt=["jan","feb","mar","apr","may","jun","jul","aug","sep","oct","nov","dec"],we={article:["publication","journal-article"],book:["publication","book"],booklet:["other_output","other"],conference:["conference","conference-paper"],inbook:["publication","book-chapter"],incollection:["publication","book-chapter"],inproceedings:["conference","conference-paper"],manual:["publication","manual"],mastersthesis:["publication","supervised-student-publication"],misc:["other_output","other"],phdthesis:["publication","dissertation-thesis"],proceedings:["conference","conference-paper"],techreport:["publication","report"],unpublished:["other_output","other"]}},80313:function(qe,ee,o){(function(){var a,t,u,M,v,r,_,h,C,b,D,f,d,L,E,se,Y,ne,U,T,I,w,Z,N={}.hasOwnProperty;Z=o(89700),I=Z.isObject,T=Z.isFunction,w=Z.isPlainObject,U=Z.getValue,a=o(68886),f=o(91152),d=o(89377),M=o(13476),v=o(42224),E=o(39447),ne=o(65814),L=o(31124),b=o(91801),D=o(54431),r=o(24554),h=o(4542),_=o(48305),C=o(77519),u=o(26813),Y=o(78139),se=o(47471),t=o(21892),qe.exports=function(){function oe(H,ie,Ce){var Ue;this.name="?xml",this.type=a.Document,H||(H={}),Ue={},H.writer?w(H.writer)&&(Ue=H.writer,H.writer=new se):H.writer=new se,this.options=H,this.writer=H.writer,this.writerOptions=this.writer.filterOptions(Ue),this.stringify=new Y(H),this.onDataCallback=ie||function(){},this.onEndCallback=Ce||function(){},this.currentNode=null,this.currentLevel=-1,this.openTags={},this.documentStarted=!1,this.documentCompleted=!1,this.root=null}return oe.prototype.createChildNode=function(H){var Ce,Ue,nt,we,at,Xe,et;
3switch(H.type){case a.CData:this.cdata(H.value);break;case a.Comment:this.comment(H.value);break;case a.Element:for(Ce in Ue={},Xe=H.attribs)N.call(Xe,Ce)&&(Ue[Ce]=Xe[Ce].value);this.node(H.name,Ue);break;case a.Dummy:this.dummy();break;case a.Raw:this.raw(H.value);break;case a.Text:this.text(H.value);break;case a.ProcessingInstruction:this.instruction(H.target,H.value);break;default:throw new Error("This XML node type is not supported in a JS object: "+H.constructor.name)}for(we=0,at=(et=H.children).length;we<at;we++)this.createChildNode(nt=et[we]),nt.type===a.Element&&this.up();return this},oe.prototype.dummy=function(){return this},oe.prototype.node=function(H,ie,Ce){var Ue;if(null==H)throw new Error("Missing node name.");if(this.root&&-1===this.currentLevel)throw new Error("Document can only have one root node. "+this.debugInfo(H));return this.openCurrent(),H=U(H),null==ie&&(ie={}),ie=U(ie),I(ie)||(Ce=(Ue=[ie,Ce])[0],ie=Ue[1]),this.currentNode=new d(this,H,ie),this.currentNode.children=!1,this.currentLevel++,this.openTags[this.currentLevel]=this.currentNode,null!=Ce&&this.text(Ce),this},oe.prototype.element=function(H,ie,Ce){var Ue,nt,we,at,Xe,et;if(this.currentNode&&this.currentNode.type===a.DocType)this.dtdElement.apply(this,arguments);else if(Array.isArray(H)||I(H)||T(H))for(at=this.options.noValidation,this.options.noValidation=!0,(et=new f(this.options).element("TEMP_ROOT")).element(H),this.options.noValidation=at,nt=0,we=(Xe=et.children).length;nt<we;nt++)this.createChildNode(Ue=Xe[nt]),Ue.type===a.Element&&this.up();else this.node(H,ie,Ce);return this},oe.prototype.attribute=function(H,ie){var Ce;if(!this.currentNode||this.currentNode.children)throw new Error("att() can only be used immediately after an ele() call in callback mode. "+this.debugInfo(H));if(null!=H&&(H=U(H)),I(H))for(Ce in H)N.call(H,Ce)&&this.attribute(Ce,H[Ce]);else T(ie)&&(ie=ie.apply()),this.options.keepNullAttributes&&null==ie?this.currentNode.attribs[H]=new u(this,H,""):null!=ie&&(this.currentNode.attribs[H]=new u(this,H,ie));return this},oe.prototype.text=function(H){var ie;return this.openCurrent(),ie=new ne(this,H),this.onData(this.writer.text(ie,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},oe.prototype.cdata=function(H){var ie;return this.openCurrent(),ie=new M(this,H),this.onData(this.writer.cd
3ata(ie,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},oe.prototype.comment=function(H){var ie;return this.openCurrent(),ie=new v(this,H),this.onData(this.writer.comment(ie,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},oe.prototype.raw=function(H){var ie;return this.openCurrent(),ie=new E(this,H),this.onData(this.writer.raw(ie,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},oe.prototype.instruction=function(H,ie){var Ce,Ue,we,at;if(this.openCurrent(),null!=H&&(H=U(H)),null!=ie&&(ie=U(ie)),Array.isArray(H))for(Ce=0,we=H.length;Ce<we;Ce++)this.instruction(Ue=H[Ce]);else if(I(H))for(Ue in H)N.call(H,Ue)&&this.instruction(Ue,H[Ue]);else T(ie)&&(ie=ie.apply()),at=new L(this,H,ie),this.onData(this.writer.processingInstruction(at,this.writerOptions,this.currentLevel+1),this.currentLevel+1);return this},oe.prototype.declaration=function(H,ie,Ce){var Ue;if(this.openCurrent(),this.documentStarted)throw new Error("declaration() must be the first node.");return Ue=new b(this,H,ie,Ce),this.onData(this.writer.declaration(Ue,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},oe.prototype.doctype=function(H,ie,Ce){if(this.openCurrent(),null==H)throw new Error("Missing root node name.");if(this.root)throw new Error("dtd() must come before the root node.");return this.currentNode=new D(this,ie,Ce),this.currentNode.rootNodeName=H,this.currentNode.children=!1,this.currentLevel++,this.openTags[this.currentLevel]=this.currentNode,this},oe.prototype.dtdElement=function(H,ie){var Ce;return this.openCurrent(),Ce=new _(this,H,ie),this.onData(this.writer.dtdElement(Ce,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},oe.prototype.attList=function(H,ie,Ce,Ue,nt){var we;return this.openCurrent(),we=new r(this,H,ie,Ce,Ue,nt),this.onData(this.writer.dtdAttList(we,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},oe.prototype.entity=function(H,ie){var Ce;return this.openCurrent(),Ce=new h(this,!1,H,ie),this.onData(this.writer.dtdEntity(Ce,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},oe.prototype.pEntity=function(H,ie){var Ce;return this.openCurrent(),Ce=new h(this,!0,H,ie),this.onData(this.writer.dtdEntity(Ce,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},oe.prototype.notation=function(H,ie){var Ce;return this.openCurrent(),Ce=new C(this,H,ie),this.onData(this.writer.dtdNotation(Ce,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},oe.prototype.up=function(){if(this.currentLevel<0)throw new Error("The document node has no parent.");return this.currentNode?(this.currentNode.children?this.closeNode(this.currentNode):this.openNode(this.currentNode),this.currentNode=null):this.closeNode(this.openTags[this.currentLevel]),delete this.openTags[this.currentLevel],this.currentLevel--,this},oe.prototype.end=function(){for(;this.currentLevel>=0;)this.up();return this.onEnd()},oe.prototype.openCurrent=function(){if(this.currentNode)return this.currentNode.children=!0,this.openNode(this.currentNode)},oe.prototype.openNode=function(H){var Ce,Ue,nt;if(!H.isOpen){if(!this.root&&0===this.currentLevel&&H.type===a.Element&&(this.root=H),Ce="",H.type===a.Element){for(Ue in this.writerOptions.state=t.OpenTag,Ce=this.writer.indent(H,this.writerOptions,this.currentLevel)+"<"+H.name,nt=H.attribs)N.call(nt,Ue)&&(Ce+=this.writer.attribute(nt[Ue],this.writerOptions,this.currentLevel));Ce+=(H.children?">":"/>")+this.writer.endline(H,this.writerOptions,this.currentLevel),this.writerOptions.state=t.InsideTag}else this.writerOptions.state=t.OpenTag,Ce=this.writer.indent(H,this.writerOptions,this.currentLevel)+"<!DOCTYPE "+H.rootNodeName,H.pubID&&H.sysID?Ce+=' PUBLIC "'+H.pubID+'" "'+H.sysID+'"':H.sysID&&(Ce+=' SYSTEM "'+H.sysID+'"'),H.children?(Ce+=" [",this.writerOptions.state=t.InsideTag):(this.writerOptions.state=t.CloseTag,Ce+=">"),Ce+=this.writer.endline(H,this.writerOptions,this.currentLevel);return this.onData(Ce,this.currentLevel),H.isOpen=!0}},oe.prototype.closeNode=function(H){var ie;if(!H.isClosed)return"",this.writerOptions.state=t.CloseTag,ie=H.type===a.Element?this.writer.indent(H,this.writerOptions,this.currentLevel)+"</"+H.name+">"+this.writer.endline(H,this.writerOptions,this.currentLevel):this.writer.indent(H,this.writerOptions,this.currentLevel)+"]>"+this.writer.endline(H,this.writerOptions,this.currentLevel),this.writerOptions.state=t.None,this.onData(ie,this.currentLevel),H.isClosed=!0},oe.prototype.onData=function(H,ie){return this.documentStarted=!0,this.onDataCallback(H,ie+1)},oe.prototype.onEnd=function(){return this.documentCompleted=!0,this.onEndCallback()},oe.prototype.debugInfo=function(H){return null==H?"":"node: <"+H+">"},oe.prototype.ele=function(){return this.element.apply(this,arguments)},oe.prototype.nod=function(H,ie,Ce){return this.node(H,ie,Ce)},oe.prototype.txt=function(H){return this.text(H)},oe.prototype.dat=function(H){return this.cdata(H)},oe.prototype.com=function(H){return this.comment(H)},oe.prototype.ins=function(H,ie){return this.instruction(H,ie)},oe.prototype.dec=function(H,ie,Ce){return this.declaration(H,ie,Ce)},oe.prototype.dtd=function(H,ie,Ce){return this.doctype(H,ie,Ce)}
3,oe.prototype.e=function(H,ie,Ce){return this.element(H,ie,Ce)},oe.prototype.n=function(H,ie,Ce){return this.node(H,ie,Ce)},oe.prototype.t=function(H){return this.text(H)},oe.prototype.d=function(H){return this.cdata(H)},oe.prototype.c=function(H){return this.comment(H)},oe.prototype.r=function(H){return this.raw(H)},oe.prototype.i=function(H,ie){return this.instruction(H,ie)},oe.prototype.att=function(){return this.currentNode&&this.currentNode.type===a.DocType?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},oe.prototype.a=function(){return this.currentNode&&this.currentNode.type===a.DocType?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},oe.prototype.ent=function(H,ie){return this.entity(H,ie)},oe.prototype.pent=function(H,ie){return this.pEntity(H,ie)},oe.prototype.not=function(H,ie){return this.notation(H,ie)},oe}()}).call(this)},81074:(qe,ee,o)=>{"use strict";o.d(ee,{An:()=>ue,m_:()=>z});var a=o(73664),t=o(2615),u=o(17705),M=o(18359),v=o(96697),r=o(29330),_=o(345),h=o(7673),C=o(18810),b=o(27468),D=o(88141),f=o(96354),O=o(99437),d=o(70980),L=o(97647);let E;function Y(de){return function se(){if(void 0===E&&(E=null,typeof window<"u")){const de=window;void 0!==de.trustedTypes&&(E=de.trustedTypes.createPolicy("angular#components",{createHTML:ae=>ae}))}return E}()?.createHTML(de)||de}function ne(de){return Error(`Unable to find icon with the name "${de}"`)}function T(de){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${de}".`)}function I(de){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${de}".`)}class w{url;svgText;options;svgElement;constructor(ae,X,$){this.url=ae,this.svgText=X,this.options=$}}let Z=(()=>{class de{_httpClient;_sanitizer;_errorHandler;_document;_svgIconConfigs=new Map;_iconSetConfigs=new Map;_cachedIconsByUrl=new Map;_inProgressUrlFetches=new Map;_fontCssClassesByAlias=new Map;_resolvers=[];_defaultFontSetClass=["material-icons","mat-ligature-font"];constructor(X,$,K,Be){this._httpClient=X,this._sanitizer=$,this._errorHandler=Be,this._document=K}addSvgIcon(X,$,K){return this.addSvgIconInNamespace("",X,$,K)}addSvgIconLiteral(X,$,K){return this.addSvgIconLiteralInNamespace("",X,$,K)}addSvgIconInNamespace(X,$,K,Be){return this._addSvgIconConfig(X,$,new w(K,null,Be))}addSvgIconResolver(X){return this._resolvers.push(X),this}addSvgIconLiteralInNamespace(X,$,K,Be){const Ye=this._sanitizer.sanitize(a.WPN.HTML,K);if(!Ye)throw I(K);const Se=Y(Ye);return this._addSvgIconConfig(X,$,new w("",Se,Be))}addSvgIconSet(X,$){return this.addSvgIconSetInNamespace("",X,$)}addSvgIconSetLiteral(X,$){return this.addSvgIconSetLiteralInNamespace("",X,$)}addSvgIconSetInNamespace(X,$,K){return this._addSvgIconSetConfig(X,new w($,null,K))}addSvgIconSetLiteralInNamespace(X,$,K){const Be=this._sanitizer.sanitize(a.WPN.HTML,$);if(!Be)throw I($);const Ye=Y(Be);return this._addSvgIconSetConfig(X,new w("",Ye,K))}registerFontClassAlias(X,$=X){return this._fontCssClassesByAlias.set(X,$),this}classNameForFontAlias(X){return this._fontCssClassesByAlias.get(X)||X}setDefaultFontSetClass(...X){return this._defaultFontSetClass=X,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(X){const $=this._sanitizer.sanitize(a.WPN.RESOURCE_URL,X);if(!$)throw T(X);const K=this._cachedIconsByUrl.get($);return K?(0,h.of)(H(K)):this._loadSvgIconFromConfig(new w(X,null)).pipe((0,D.M)(Be=>this._cachedIconsByUrl.set($,Be)),(0,f.T)(Be=>H(Be)))}getNamedSvgIcon(X,$=""){const K=ie($,X);let Be=this._svgIconConfigs.get(K);if(Be)return this._getSvgFromConfig(Be);if(Be=this._getIconConfigFromResolvers($,X),Be)return this._svgIconConfigs.set(K,Be),this._getSvgFromConfig(Be);const Ye=this._iconSetConfigs.get($);return Ye?this._getSvgFromIconSetConfigs(X,Ye):(0,C.$)(ne(K))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(X){return X.svgText?(0,h.of)(H(this._svgElementFromConfig(X))):this._loadSvgIconFromConfig(X).pipe((0,f.T)($=>H($)))}_getSvgFromIconSetConfigs(X,$){const K=this._extractIconWithNameFromAnySet(X,$);if(K)return(0,h.of)(K);const Be=$.filter(Ye=>!Ye.svgText).map(Ye=>this._loadSvgIconSetFromConfig(Ye).pipe((0,O.W)(Se=>
3{const Ge=`Loading icon set URL: ${this._sanitizer.sanitize(a.WPN.RESOURCE_URL,Ye.url)} failed: ${Se.message}`;return this._errorHandler.handleError(new Error(Ge)),(0,h.of)(null)})));return(0,b.p)(Be).pipe((0,f.T)(()=>{const Ye=this._extractIconWithNameFromAnySet(X,$);if(!Ye)throw ne(X);return Ye}))}_extractIconWithNameFromAnySet(X,$){for(let K=$.length-1;K>=0;K--){const Be=$[K];if(Be.svgText&&Be.svgText.toString().indexOf(X)>-1){const Ye=this._svgElementFromConfig(Be),Se=this._extractSvgIconFromSet(Ye,X,Be.options);if(Se)return Se}}return null}_loadSvgIconFromConfig(X){return this._fetchIcon(X).pipe((0,D.M)($=>X.svgText=$),(0,f.T)(()=>this._svgElementFromConfig(X)))}_loadSvgIconSetFromConfig(X){return X.svgText?(0,h.of)(null):this._fetchIcon(X).pipe((0,D.M)($=>X.svgText=$))}_extractSvgIconFromSet(X,$,K){const Be=X.querySelector(`[id="${$}"]`);if(!Be)return null;const Ye=Be.cloneNode(!0);if(Ye.removeAttribute("id"),"svg"===Ye.nodeName.toLowerCase())return this._setSvgAttributes(Ye,K);if("symbol"===Ye.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(Ye),K);const Se=this._svgElementFromString(Y("<svg></svg>"));return Se.appendChild(Ye),this._setSvgAttributes(Se,K)}_svgElementFromString(X){const $=this._document.createElement("DIV");$.innerHTML=X;const K=$.querySelector("svg");if(!K)throw Error("<svg> tag not found");return K}_toSvgElement(X){const $=this._svgElementFromString(Y("<svg></svg>")),K=X.attributes;for(let Be=0;Be<K.length;Be++){const{name:Ye,value:Se}=K[Be];"id"!==Ye&&$.setAttribute(Ye,Se)}for(let Be=0;Be<X.childNodes.length;Be++)X.childNodes[Be].nodeType===this._document.ELEMENT_NODE&&$.appendChild(X.childNodes[Be].cloneNode(!0));return $}_setSvgAttributes(X,$){return X.setAttribute("fit",""),X.setAttribute("height","100%"),X.setAttribute("width","100%"),X.setAttribute("preserveAspectRatio","xMidYMid meet"),X.setAttribute("focusable","false"),$&&$.viewBox&&X.setAttribute("viewBox",$.viewBox),X}_fetchIcon(X){const{url:$,options:K}=X,Be=K?.withCredentials??!1;if(!this._httpClient)throw function U(){return Error("Could not find HttpClient for use with Angular Material icons. Please add provideHttpClient() to your providers.")}();if(null==$)throw Error(`Cannot fetch icon from URL "${$}".`);const Ye=this._sanitizer.sanitize(a.WPN.RESOURCE_URL,$);if(!Ye)throw T($);const Se=this._inProgressUrlFetches.get(Ye);if(Se)return Se;const pt=this._httpClient.get(Ye,{responseType:"text",withCredentials:Be}).pipe((0,f.T)(Ge=>Y(Ge)),(0,d.j)(()=>this._inProgressUrlFetches.delete(Ye)),(0,L.u)());return this._inProgressUrlFetches.set(Ye,pt),pt}_addSvgIconConfig(X,$,K){return this._svgIconConfigs.set(ie(X,$),K),this}_addSvgIconSetConfig(X,$){const K=this._iconSetConfigs.get(X);return K?K.push($):this._iconSetConfigs.set(X,[$]),this}_svgElementFromConfig(X){if(!X.svgElement){const $=this._svgElementFromString(X.svgText);this._setSvgAttributes($,X.options),X.svgElement=$}return X.svgElement}_getIconConfigFromResolvers(X,$){for(let K=0;K<this._resolvers.length;K++){const Be=this._resolvers[K]($,X);if(Be)return Ce(Be)?new w(Be.url,null,Be.options):new w(Be,null)}}static \u0275fac=function($){return new($||de)(t.KVO(r.Qq,8),t.KVO(_.up),t.KVO(t.qQL,8),t.KVO(t.zcH))};static \u0275prov=t.jDH({token:de,factory:de.\u0275fac,providedIn:"root"})}return de})();function H(de){return de.cloneNode(!0)}function ie(de,ae){return de+":"+ae}function Ce(de){return!(!de.url||!de.options)}var Ue=o(21715);const nt=["*"],we=new t.nKC("MAT_ICON_DEFAULT_OPTIONS"),at=new t.nKC("mat-icon-location",{providedIn:"root",factory:function Xe(){const de=(0,t.WQX)(t.qQL),ae=de?de.location:null;return{getPathname:()=>ae?ae.pathname+ae.search:""}}}),et=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],xe=et.map(de=>`[${de}]`).join(", "),De=/^url\(['"]?#(.*?)['"]?\)$/;let ue=(()=>{class de{_elementRef=(0,t.WQX)(a.aKT);_iconRegistry=(0,t.WQX)(Z);_location=(0,t.WQX)(at);_errorHandler=(0,t.WQX)(t.zcH);_defaultColor;get color(){return this._color||this._defaultColor}set color(X){this._color=X}_color;inline=!1;get svgIcon(){return this._svgIcon}set svgIcon(X){X!==this._svgIcon&&(X?this._updateSvgIcon(X):this._svgIcon&&this._clearSvgElement(),this._svgIcon=X)}_svgIcon;get fontSet(){return this._fontSet}set fontSet(X){const $=this._cleanupFontValue(X);$!==this._fontSet&&(this._fontSet=$,this._updateFontIconClasses())}_fontSet;get fontIcon(){return this._fontIcon}set fontIcon(X){const $=this._cleanupFontValue(X);$!==this._fontIcon&&(this._fontIcon=$,this._updateFontIconClasses())}_fontIcon;_previousFontSetClass=[];_previousFontIconClass;_svgName;_svgNamespace;_previousPath;_elementsWithExternalReferences;_currentIconFetch=M.yU.EMPTY;constructor(){const X=(0,t.WQX)(new u.ES_("aria-hidden"),{optional:!0}),$=(0,t.WQX)(we,{optional:!0});$&&($.color&&(this.color=this._defaultColor=$.color),$.fontSet&&(this.fontSet=$.fontSet)),X||this._elementRef.nativeElement.setAttribute("aria-hidden","true")}_splitIconName(X){if(!X)return["",""];const $=X.split(":");switch($.length){case 1:return["",$[0]];case 2:return $;default:throw Error(`Invalid icon name: "${X}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){const X=this._elementsWithExternalReferences;if(X&&X.size){const $=this._location.getPathname();$!==this._previousPath&&(this._previousPath=$,this._prependPathToReferences($))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(X){this._clearSvgElement();const $=this._location.getPathname();this._previousPath=$,this._cacheChildrenWithExternalReferences(X),this._prependPathToReferences($),this._elementRef.nativeElement.appendChild(X)}_clearSvgElement(){const X=this._elementRef.nativeElement;let $=X.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();$--;){const K=X.childNodes[$];(1!==K.nodeType||"svg"===K.nodeName.toLowerCase())&&K.remove()}}
3_updateFontIconClasses(){if(!this._usingFontIcon())return;const X=this._elementRef.nativeElement,$=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(K=>K.length>0);this._previousFontSetClass.forEach(K=>X.classList.remove(K)),$.forEach(K=>X.classList.add(K)),this._previousFontSetClass=$,this.fontIcon!==this._previousFontIconClass&&!$.includes("mat-ligature-font")&&(this._previousFontIconClass&&X.classList.remove(this._previousFontIconClass),this.fontIcon&&X.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(X){return"string"==typeof X?X.trim().split(" ")[0]:X}_prependPathToReferences(X){const $=this._elementsWithExternalReferences;$&&$.forEach((K,Be)=>{K.forEach(Ye=>{Be.setAttribute(Ye.name,`url('${X}#${Ye.value}')`)})})}_cacheChildrenWithExternalReferences(X){const $=X.querySelectorAll(xe),K=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let Be=0;Be<$.length;Be++)et.forEach(Ye=>{const Se=$[Be],pt=Se.getAttribute(Ye),Ge=pt?pt.match(De):null;if(Ge){let bt=K.get(Se);bt||(bt=[],K.set(Se,bt)),bt.push({name:Ye,value:Ge[1]})}})}_updateSvgIcon(X){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),X){const[$,K]=this._splitIconName(X);$&&(this._svgNamespace=$),K&&(this._svgName=K),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(K,$).pipe((0,v.s)(1)).subscribe(Be=>this._setSvgElement(Be),Be=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${$}:${K}! ${Be.message}`))})}}static \u0275fac=function($){return new($||de)};static \u0275cmp=a.VBU({type:de,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:10,hostBindings:function($,K){2&$&&(a.BMQ("data-mat-icon-type",K._usingFontIcon()?"font":"svg")("data-mat-icon-name",K._svgName||K.fontIcon)("data-mat-icon-namespace",K._svgNamespace||K.fontSet)("fontIcon",K._usingFontIcon()?K.fontIcon:null),a.HbH(K.color?"mat-"+K.color:""),a.AVh("mat-icon-inline",K.inline)("mat-icon-no-color","primary"!==K.color&&"accent"!==K.color&&"warn"!==K.color))},inputs:{color:"color",inline:[2,"inline","inline",u.L39],svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],ngContentSelectors:nt,decls:1,vars:0,template:function($,K){1&$&&(a.NAR(),a.SdG(0))},styles:["mat-icon,mat-icon.mat-primary,mat-icon.mat-accent,mat-icon.mat-warn{color:var(--mat-icon-color, inherit)}.mat-icon{-webkit-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px;overflow:hidden}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}.mat-icon.mat-ligature-font[fontIcon]::before{content:attr(fontIcon)}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}\n"],encapsulation:2,changeDetection:0})}return de})(),z=(()=>{class de{static \u0275fac=function($){return new($||de)};static \u0275mod=a.$C({type:de});static \u0275inj=t.G2t({imports:[Ue.M,Ue.M]})}return de})()},81853:(qe,ee,o)=>{"use strict";function a(t){const M=t(v=>{Error.call(v),v.stack=(new Error).stack});return M.prototype=Object.create(Error.prototype),M.prototype.constructor=M,M}o.d(ee,{L:()=>a})},82649:function(qe,ee){(function(){"use strict";var o;o=new RegExp(/(?!xmlns)^.*:/),ee.normalize=function(a){return a.toLowerCase()},ee.firstCharLowerCase=function(a){return a.charAt(0).toLowerCase()+a.slice(1)},ee.stripPrefix=function(a){return a.replace(o,"")},ee.parseNumbers=function(a){return isNaN(a)||(a=a%1==0?parseInt(a,10):parseFloat(a)),a},ee.parseBooleans=function(a){return/^(?:true|false)$/i.test(a)&&(a="true"===a.toLowerCase()),a}}).call(this)},83053:(qe,ee,o)=>{"use strict";o.d(ee,{u:()=>C});var a=o(88021),t=o(1734),u=o(73664),M=o(2615),v=o(5040);const r=["workFormComponent"];function _(b,D){if(1&b){const f=u.RV6();u.j41(0,"button",22),u.bIt("click",function(){M.eBV(f);const d=u.XpG();return M.Njj(d.workFormComponent.saveEvent())}),u.pXf(1,9),u.k0s()}if(2&b){const f=u.XpG();u.BMQ("aria-label",f.saveAndClose)}}function h(b,D){if(1&b&&u.nrm(0,"app-work-form",23,0),2&b){const f=u.XpG();u.Y8G("work",f.work)("userRecord",f.userRecord)}}let C=(()=>{class b{constructor(f,O,d,L){this._workService=f,this._dialogRef=O,this._window=d,this.data=L,this.closeLabel="Close Works",this.cancelAndClose="Cancel changes and close Works",this.saveAndClose="Save changes to Works",this.loading=!0,this.showTranslationTitle=!1}ngOnInit(){let f;f=this.work?.putCode?this._workService.getWorkInfo(this.work.putCode.value):this._workService.getWork(),f.subscribe(O=>{this.options?.createACopy&&(O.putCode=null),this.work=O,this.loading=!1})}closeEvent(){this._dialogRef.close()}toWorkDetails(){this._window.document.getElementById("work-detail").scrollIntoView()}toIdentifiers(){this._window.document.getElementById("work-identifiers").scrollIntoView()}toContributors(){this._window.document.getElementById("work-contributors").scrollIntoView()}toCitation(){this._window.document.getElementById("work-citation").scrollIntoView()}toOtherInformation(){this._window.document.getElementById("work-other-info").scrollIntoView()}toVisibility(){this._window.document.getElementById("work-visibility").scrollIntoView()}static{this.\u0275fac=function(O){return new(O||b)(u.rXU(v.j),u.rXU(a.k),u.rXU(t.jf),u.rXU(a.e))}}static{this.\u0275cmp=u.VBU({type:b,selectors:[["app-work-modal"]],viewQuery:function(O,d){if(1&O&&u.GBs(r,5),2&O){let L;u.mGM(L=u.lsd())&&(d.workFormComponent=L.first)}},inputs:{options:"options",userRecord:"userRecord"},standalone:!1,decls:28,vars:5,consts:()=>{let f,O,d,L,E,se,Y,ne,U;return f=" Works ",O=" Work Details ",d=" Citation ",L=" Identifiers ",E=" Contributors ",se=" Other information ",Y=" Visibility ",ne=" Cancel ",U=" Save changes ",[["workFormComponent",""],f,O,d,L,E,se,Y,ne,U,[3,"loading"],[3,"closeLabel"],["id","side-bar-title"],[1,"side-bar",3,"click"],["id","side-bar-url-1"],["id","side-bar-url-2"],["id","side-bar-url-3"],["id","side-bar-url-4"],["id","side-bar-url-5"],["mat-raised-button","","color","primary","id","save-work-button",3,"click",4,"ngIf"],["mat-stroked-button","","color","primary","id","cancel-work-button",3,"click"],[3,"work","userRecord",4,"ngIf"],["mat-raised-button","","color","primary","id","save-work-button",3,"click"],[3,"work","userRecord"]]},template:function(O,d){1&O&&(u.j41(0,"app-modal",10)(1,"app-modal-header",11),u.qex(2),u.pXf(3,1),u.bVm(),u.k0s(),u.j41(4,"app-modal-side-bar"),u.qex(5,12),u.j41(6,"a",13),u.bIt("click",function(){return d.toWorkDetails()}),u.pXf(7,2),u.k0s(),u.bVm(),u.qex(8,14),u.j41(9,"a",13),u.bIt("click",function(){return d.toCitation()}),u.pXf(10,3),u.k0s(),u.bVm(),u.qex(11,15),u.j41(12,"a",13),u.bIt("click",function(){return d.toIdentifiers()}),u.pXf(13,4),u.k0s(),u.bVm(),u.qex(14,16),u.j41(15,"a",13),u.bIt("click",function(){return d.toContributors()}),u.pXf(16,5),u.k0s(),u.bVm(),u.qex(17,17),u.j41(18,"a",13),u.bIt("click",function(){return d.toOtherInformation()}),u.pXf(19,6),u.k0s(),u.bVm(),u.qex(20,18),u.j41(21,"a",13),u.bIt("click",function(){return d.toVisibility()}),u.pXf(22,7),u.k0s(),u.bVm(),u.k0s(),u.j41(23,"app-modal-footer"),u.DNE(24,_,2,1,"button",19),u.j41(25,"button",20),u.bIt("click",function(){return d.closeEvent()}),u.pXf(26,8),u.k0s()(),u.DNE(27,h,2,2,"app-work-form",21),u.k0s()),2&O&&(u.Y8G("loading",d.loading),u.R7$(),u.Y8G("closeLabel",d.closeLabel),u.R7$(23),u.Y8G("ngIf",d.work),u.R7$(),u.BMQ("aria-label",d.cancelAndClose),u.R7$(2),u.Y8G("ngIf",d.work&&!d.loading))},styles:["label.mat-caption[_ngcontent-%COMP%]{margin-bottom:8px}.side-bar[_ngcontent-%COMP%]{text-decoration:underline}"]})}}return b})()},83838:(qe,ee,o)=>{"use strict";var a=o(13981),t=o(22020),u="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;ee.Buffer=_,ee.SlowBuffer=function Y(J){return+J!=J&&(J=0),_.alloc(+J)},ee.INSPECT_MAX_BYTES=50;var M=2147483647;function r(J){if(J>
vendor: 4,856 bytes, line 3
3M)throw new RangeError('The value "'+J+'" is invalid for option "size"');var R=new Uint8Array(J);return Object.setPrototypeOf(R,_.prototype),R}function _(J,R,x){if("number"==typeof J){if("string"==typeof R)throw new TypeError('The "string" argument must be of type string. Received type number');return D(J)}return h(J,R,x)}function h(J,R,x){if("string"==typeof J)return function f(J,R){if(("string"!=typeof R||""===R)&&(R="utf8"),!_.isEncoding(R))throw new TypeError("Unknown encoding: "+R);var x=0|ne(J,R),ce=r(x),Pe=ce.write(J,R);return Pe!==x&&(ce=ce.slice(0,Pe)),ce}(J,R);if(ArrayBuffer.isView(J))return function d(J){if(Ge(J,Uint8Array)){var R=new Uint8Array(J);return L(R.buffer,R.byteOffset,R.byteLength)}return O(J)}(J);if(null==J)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof J);if(Ge(J,ArrayBuffer)||J&&Ge(J.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(Ge(J,SharedArrayBuffer)||J&&Ge(J.buffer,SharedArrayBuffer)))return L(J,R,x);if("number"==typeof J)throw new TypeError('The "value" argument must not be of type number. Received type number');var ce=J.valueOf&&J.valueOf();if(null!=ce&&ce!==J)return _.from(ce,R,x);var Pe=function E(J){if(_.isBuffer(J)){var R=0|se(J.length),x=r(R);return 0===x.length||J.copy(x,0,0,R),x}return void 0!==J.length?"number"!=typeof J.length||bt(J.length)?r(0):O(J):"Buffer"===J.type&&Array.isArray(J.data)?O(J.data):void 0}(J);if(Pe)return Pe;if(typeof Symbol<"u"&&null!=Symbol.toPrimitive&&"function"==typeof J[Symbol.toPrimitive])return _.from(J[Symbol.toPrimitive]("string"),R,x);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof J)}function C(J){if("number"!=typeof J)throw new TypeError('"size" argument must be of type number');if(J<0)throw new RangeError('The value "'+J+'" is invalid for option "size"')}function D(J){return C(J),r(J<0?0:0|se(J))}function O(J){for(var R=J.length<0?0:0|se(J.length),x=r(R),ce=0;ce<R;ce+=1)x[ce]=255&J[ce];return x}function L(J,R,x){if(R<0||J.byteLength<R)throw new RangeError('"offset" is outside of buffer bounds');if(J.byteLength<R+(x||0))throw new RangeError('"length" is outside of buffer bounds');var ce;return ce=void 0===R&&void 0===x?new Uint8Array(J):void 0===x?new Uint8Array(J,R):new Uint8Array(J,R,x),Object.setPrototypeOf(ce,_.prototype),ce}function se(J){if(J>=M)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+M.toString(16)+" bytes");return 0|J}function ne(J,R){if(_.isBuffer(J))return J.length;if(ArrayBuffer.isView(J)||Ge(J,ArrayBuffer))return J.byteLength;if("string"!=typeof J)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof J);var x=J.length,ce=arguments.length>2&&!0===arguments[2];if(!ce&&0===x)return 0;for(var Pe=!1;;)switch(R){case"ascii":case"latin1":case"binary":return x;case"utf8":case"utf-8":return K(J).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*x;case"hex":return x>>>1;case"base64":return Se(J).length;default:if(Pe)return ce?-1:K(J).length;R=(""+R).toLowerCase(),Pe=!0}}function U(J,R,x){var ce=!1;if((void 0===R||R<0)&&(R=0),R>this.length||((void 0===x||x>this.length)&&(x=this.length),x<=0)||(x>>>=0)<=(R>>>=0))return"";for(J||(J="utf8");;)switch(J){case"hex":return et(this,R,x);case"utf8":case"utf-8":return Ue(this,R,x);case"ascii":return at(this,R,x);case"latin1":case"binary":return Xe(this,R,x);case"base64":return Ce(this,R,x);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return xe(this,R,x);default:if(ce)throw new TypeError("Unknown encoding: "+J);J=(J+"").toLowerCase(),ce=!0}}function T(J,R,x){var ce=J[R];J[R]=J[x],J[x]=ce}function I(J,R,x,ce,Pe){if(0===J.length)return-1;if("string"==typeof x?(ce=x,x=0):x>2147483647?x=2147483647:x<-2147483648&&(x=-2147483648),bt(x=+x)&&(x=Pe?0:J.length-1),x<0&&(x=J.length+x),x>=J.length){if(Pe)return-1;x=J.length-1}else if(x<0){if(!Pe)return-1;x=0}if("string"==typeof R&&(R=_.from(R,ce)),_.isBuffer(R))return 0===R.length?-1:w(J,R,x,ce,Pe);if("number"==typeof R)return R&=255,"function"==typeof Uint8Array.prototype.indexOf?Pe?Uint8Array.prototype.indexOf.call(J,R,x):Uint8Array.prototype.lastIndexOf.call(J,R,x):w(J,[R],x,ce,Pe);throw new TypeError("val must be string, number or Buffer")}function w(J,R,x,ce,Pe){var Ne,pe=1,st=J.length,Qe=R.length;if(void 0!==ce&&("ucs2"===(ce=String(ce).toLowerCase())||"ucs-2"===ce||"utf16le"===ce||"utf-16le"===ce)){if(J.length<2||R.length<2)return-1;pe=2,st/=2,Qe/=2,x/=2}function At(Wt,ln){return 1===pe?Wt[ln]:Wt.readUInt16BE(ln*pe)}if(Pe){var ze=-1;for(Ne=x;Ne<st;Ne++)if(At(J,Ne)===At(R,-1===ze?0:Ne-ze)){if(-1===ze&&(ze=Ne),Ne-ze+1===Qe)return ze*pe}else-1!==ze&&(Ne-=Ne-ze),ze=-1}else for(x+Qe>st&&(x=st-Qe),Ne=x;
3Ne>=0;Ne--){for(var Ke=!0,Ct=0;Ct<Qe;Ct++)if(At(J,Ne+Ct)!==At(R,Ct)){Ke=!1;break}if(Ke)return Ne}return-1}function Z(J,R,x,ce){x=Number(x)||0;var Pe=J.length-x;ce?(ce=Number(ce))>Pe&&(ce=Pe):ce=Pe;var pe=R.length;ce>pe/2&&(ce=pe/2);for(var st=0;st<ce;++st){var Qe=parseInt(R.substr(2*st,2),16);if(bt(Qe))return st;J[x+st]=Qe}return st}function N(J,R,x,ce){return pt(K(R,J.length-x),J,x,ce)}function oe(J,R,x,ce){return pt(function Be(J){for(var R=[],x=0;x<J.length;++x)R.push(255&J.charCodeAt(x));return R}(R),J,x,ce)}function H(J,R,x,ce){return pt(Se(R),J,x,ce)}function ie(J,R,x,ce){return pt(function Ye(J,R){for(var x,ce,pe=[],st=0;st<J.length&&!((R-=2)<0);++st)ce=(x=J.charCodeAt(st))>>8,pe.push(x%256),pe.push(ce);return pe}(R,J.length-x),J,x,ce)}function Ce(J,R,x){return a.fromByteArray(0===R&&x===J.length?J:J.slice(R,x))}function Ue(J,R,x){x=Math.min(J.length,x);for(var ce=[],Pe=R;Pe<x;){var At,Ne,ze,Ke,pe=J[Pe],st=null,Qe=pe>239?4:pe>223?3:pe>191?2:1;if(Pe+Qe<=x)switch(Qe){case 1:pe<128&&(st=pe);break;case 2:128==(192&(At=J[Pe+1]))&&(Ke=(31&pe)<<6|63&At)>127&&(st=Ke);break;case 3:Ne=J[Pe+2],128==(192&(At=J[Pe+1]))&&128==(192&Ne)&&(Ke=(15&pe)<<12|(63&At)<<6|63&Ne)>2047&&(Ke<55296||Ke>57343)&&(st=Ke);break;case 4:Ne=J[Pe+2],ze=J[Pe+3],128==(192&(At=J[Pe+1]))&&128==(192&Ne)&&128==(192&ze)&&(Ke=(15&pe)<<18|(63&At)<<12|(63&Ne)<<6|63&ze)>65535&&Ke<1114112&&(st=Ke)}null===st?(st=65533,Qe=1):st>65535&&(ce.push((st-=65536)>>>10&1023|55296),st=56320|1023&st),ce.push(st),Pe+=Qe}return function we(J){var R=J.length;if(R<=nt)return String.fromCharCode.apply(String,J);for(var x="",ce=0;ce<R;)x+=String.fromCharCode.apply(String,J.slice(ce,ce+=nt));return x}(ce)}ee.kMaxLength=M,!(_.TYPED_ARRAY_SUPPORT=function v(){try{var J=new Uint8Array(1),R={foo:function(){return 42}};return Object.setPrototypeOf(R,Uint8Array.prototype),Object.setPrototypeOf(J,R),42===J.foo()}catch{return!1}}())&&typeof console<"u"&&"function"==typeof console.error&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(_.prototype,"parent",{enumerable:!0,get:function(){if(_.isBuffer(this))return this.buffer}}),Object.defineProperty(_.prototype,"offset",{enumerable:!0,get:function(){if(_.isBuffer(this))return this.byteOffset}}),_.poolSize=8192,_.from=function(J,R,x){return h(J,R,x)},Object.setPrototypeOf(_.prototype,Uint8Array.prototype),Object.setPrototypeOf(_,Uint8Array),_.alloc=function(J,R,x){return function b(J,R,x){return C(J),J<=0?r(J):void 0!==R?"string"==typeof x?r(J).fill(R,x):r(J).fill(R):r(J)}(J,R,x)},_.allocUnsafe=function(J){return D(J)},_.allocUnsafeSlow=function(J){return D(J)},_.isBuffer=function(R){return null!=R&&!0===R._isBuffer&&R!==_.prototype},_.compare=function(R,x){if(Ge(R,Uint8Array)&&(R=_.from(R,R.offset,R.byteLength)),Ge(x,Uint8Array)&&(x=_.from(x,x.offset,x.byteLength)),!_.isBuffer(R)||!_.isBuffer(x))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(R===x)return 0;for(var ce=R.length,Pe=x.length,pe=0,st=Math.min(ce,Pe);pe<st;++pe)if(R[pe]!==x[pe]){ce=R[pe],Pe=x[pe];break}return ce<Pe?-1:Pe<ce?1:0},_.isEncoding=function(R){switch(String(R).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},_.concat=function(R,x){if(!Array.isArray(R))throw new TypeError('"list" argument must be an Array of Buffers');if(0===R.length)return _.alloc(0);var ce;if(void 0===x)for(x=0,ce=0;ce<R.length;++ce)x+=R[ce].length;var Pe=_.allocUnsafe(x),pe=0;for(ce=0;ce<R.length;++ce){var st=R[ce];if(Ge(st,Uint8Array))pe+st.length>Pe.length?_.from(st).copy(Pe,pe):Uint8Array.prototype.set.call(Pe,st,pe);else{if(!_.isBuffer(st))throw new TypeError('"list" argument must be an Array of Buffers');st.copy(Pe,pe)}pe+=st.length}return Pe},_.byteLength=ne,_.prototype._isBuffer=!0,_.prototype.swap16=function(){var R=this.length;if(R%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var x=0;x<R;x+=2)T(this,x,x+1);return this},_.prototype.swap32=function(){var R=this.length;if(R%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var x=0;x<R;x+=4)T(this,x,x+3),T(this,x+1,x+2);return this},_.prototype.swap64=function(){var R=this.length;if(R%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var x=0;x<R;x+=8)T(this,x,x+7),T(this,x+1,x+6),T(this,x+2,x+5),T(this,x+3,x+4);return this}
vendor: 11,065 bytes, line 3
3,_.prototype.toLocaleString=_.prototype.toString=function(){var R=this.length;return 0===R?"":0===arguments.length?Ue(this,0,R):U.apply(this,arguments)},_.prototype.equals=function(R){if(!_.isBuffer(R))throw new TypeError("Argument must be a Buffer");return this===R||0===_.compare(this,R)},_.prototype.inspect=function(){var R="",x=ee.INSPECT_MAX_BYTES;return R=this.toString("hex",0,x).replace(/(.{2})/g,"$1 ").trim(),this.length>x&&(R+=" ... "),"<Buffer "+R+">"},u&&(_.prototype[u]=_.prototype.inspect),_.prototype.compare=function(R,x,ce,Pe,pe){if(Ge(R,Uint8Array)&&(R=_.from(R,R.offset,R.byteLength)),!_.isBuffer(R))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof R);if(void 0===x&&(x=0),void 0===ce&&(ce=R?R.length:0),void 0===Pe&&(Pe=0),void 0===pe&&(pe=this.length),x<0||ce>R.length||Pe<0||pe>this.length)throw new RangeError("out of range index");if(Pe>=pe&&x>=ce)return 0;if(Pe>=pe)return-1;if(x>=ce)return 1;if(this===R)return 0;for(var st=(pe>>>=0)-(Pe>>>=0),Qe=(ce>>>=0)-(x>>>=0),At=Math.min(st,Qe),Ne=this.slice(Pe,pe),ze=R.slice(x,ce),Ke=0;Ke<At;++Ke)if(Ne[Ke]!==ze[Ke]){st=Ne[Ke],Qe=ze[Ke];break}return st<Qe?-1:Qe<st?1:0},_.prototype.includes=function(R,x,ce){return-1!==this.indexOf(R,x,ce)},_.prototype.indexOf=function(R,x,ce){return I(this,R,x,ce,!0)},_.prototype.lastIndexOf=function(R,x,ce){return I(this,R,x,ce,!1)},_.prototype.write=function(R,x,ce,Pe){if(void 0===x)Pe="utf8",ce=this.length,x=0;else if(void 0===ce&&"string"==typeof x)Pe=x,ce=this.length,x=0;else{if(!isFinite(x))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");x>>>=0,isFinite(ce)?(ce>>>=0,void 0===Pe&&(Pe="utf8")):(Pe=ce,ce=void 0)}var pe=this.length-x;if((void 0===ce||ce>pe)&&(ce=pe),R.length>0&&(ce<0||x<0)||x>this.length)throw new RangeError("Attempt to write outside buffer bounds");Pe||(Pe="utf8");for(var st=!1;;)switch(Pe){case"hex":return Z(this,R,x,ce);case"utf8":case"utf-8":return N(this,R,x,ce);case"ascii":case"latin1":case"binary":return oe(this,R,x,ce);case"base64":return H(this,R,x,ce);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ie(this,R,x,ce);default:if(st)throw new TypeError("Unknown encoding: "+Pe);Pe=(""+Pe).toLowerCase(),st=!0}},_.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var nt=4096;function at(J,R,x){var ce="";x=Math.min(J.length,x);for(var Pe=R;Pe<x;++Pe)ce+=String.fromCharCode(127&J[Pe]);return ce}function Xe(J,R,x){var ce="";x=Math.min(J.length,x);for(var Pe=R;Pe<x;++Pe)ce+=String.fromCharCode(J[Pe]);return ce}function et(J,R,x){var ce=J.length;(!R||R<0)&&(R=0),(!x||x<0||x>ce)&&(x=ce);for(var Pe="",pe=R;pe<x;++pe)Pe+=me[J[pe]];return Pe}function xe(J,R,x){for(var ce=J.slice(R,x),Pe="",pe=0;pe<ce.length-1;pe+=2)Pe+=String.fromCharCode(ce[pe]+256*ce[pe+1]);return Pe}function De(J,R,x){if(J%1!=0||J<0)throw new RangeError("offset is not uint");if(J+R>x)throw new RangeError("Trying to access beyond buffer length")}function ue(J,R,x,ce,Pe,pe){if(!_.isBuffer(J))throw new TypeError('"buffer" argument must be a Buffer instance');if(R>Pe||R<pe)throw new RangeError('"value" argument is out of bounds');if(x+ce>J.length)throw new RangeError("Index out of range")}function z(J,R,x,ce,Pe,pe){if(x+ce>J.length)throw new RangeError("Index out of range");if(x<0)throw new RangeError("Index out of range")}function de(J,R,x,ce,Pe){return R=+R,x>>>=0,Pe||z(J,0,x,4),t.write(J,R,x,ce,23,4),x+4}function ae(J,R,x,ce,Pe){return R=+R,x>>>=0,Pe||z(J,0,x,8),t.write(J,R,x,ce,52,8),x+8}_.prototype.slice=function(R,x){var ce=this.length;(R=~~R)<0?(R+=ce)<0&&(R=0):R>ce&&(R=ce),(x=void 0===x?ce:~~x)<0?(x+=ce)<0&&(x=0):x>ce&&(x=ce),x<R&&(x=R);var Pe=this.subarray(R,x);return Object.setPrototypeOf(Pe,_.prototype),Pe},_.prototype.readUintLE=_.prototype.readUIntLE=function(R,x,ce){R>>>=0,x>>>=0,ce||De(R,x,this.length);for(var Pe=this[R],pe=1,st=0;++st<x&&(pe*=256);)Pe+=this[R+st]*pe;return Pe},_.prototype.readUintBE=_.prototype.readUIntBE=function(R,x,ce){R>>>=0,x>>>=0,ce||De(R,x,this.length);for(var Pe=this[R+--x],pe=1;x>0&&(pe*=256);)Pe+=this[R+--x]*pe;return Pe},_.prototype.readUint8=_.prototype.readUInt8=function(R,x){return R>>>=0,x||De(R,1,this.length),this[R]},_.prototype.readUint16LE=_.prototype.readUInt16LE=function(R,x){return R>>>=0,x||De(R,2,this.length),this[R]|this[R+1]<<8},_.prototype.readUint16BE=_.prototype.readUInt16BE=function(R,x){return R>>>=0,x||De(R,2,this.length),this[R]<<8|this[R+1]},_.prototype.readUint32LE=_.prototype.readUInt32LE=function(R,x){return R>>>=0,x||De(R,4,this.length),(this[R]|this[R+1]<<8|this[R+2]<<16)+16777216*this[R+3]},_.prototype.readUint32BE=_.prototype.readUInt32BE=function(R,x){return R>>>=0,x||De(R,4,this.length),16777216*this[R]+(this[R+1]<<16|this[R+2]<<8|this[R+3])},_.prototype.readIntLE=function(R,x,ce){R>>>=0,x>>>=0,ce||De(R,x,this.length);for(var Pe=this[R],pe=1,st=0;++st<x&&(pe*=256);)Pe+=this[R+st]*pe;return Pe>=(pe*=128)&&(Pe-=Math.pow(2,8*x)),Pe},_.prototype.readIntBE=function(R,x,ce){R>>>=0,x>>>=0,ce||De(R,x,this.length);for(var Pe=x,pe=1,st=this[R+--Pe];Pe>0&&(pe*=256);)st+=this[R+--Pe]*pe;return st>=(pe*=128)&&(st-=Math.pow(2,8*x)),st},_.prototype.readInt8=function(R,x){return R>>>=0,x||De(R,1,this.length),128&this[R]?-1*(255-this[R]+1):this[R]},_.prototype.readInt16LE=function(R,x){R>>>=0,x||De(R,2,this.length);var ce=this[R]|this[R+1]<<8;return 32768&ce?4294901760|ce:ce},_.prototype.readInt16BE=function(R,x){R>>>=0,x||De(R,2,this.length);var ce=this[R+1]|this[R]<<8;return 32768&ce?4294901760|ce:ce},_.prototype.readInt32LE=function(R,x){return R>>>=0,x||De(R,4,this.length),this[R]|this[R+1]<<8|this[R+2]<<16|this[R+3]<<24},_.prototype.readInt32BE=function(R,x){return R>>>=0,x||De(R,4,this.length),this[R]<<24|this[R+1]<<16|this[R+2]<<8|this[R+3]},_.prototype.readFloatLE=function(R,x){return R>>>=0,x||De(R,4,this.length),t.read(this,R,!0,23,4)},_.prototype.readFloatBE=function(R,x){return R>>>=0,x||De(R,4,this.length),t.read(this,R,!1,23,4)},_.prototype.readDoubleLE=function(R,x){return R>>>=0,x||De(R,8,this.length),t.read(this,R,!0,52,8)},_.prototype.readDoubleBE=function(R,x){return R>>>=0,x||De(R,8,this.length),t.read(this,R,!1,52,8)},_.prototype.writeUintLE=_.prototype.writeUIntLE=function(R,x,ce,Pe){R=+R,x>>>=0,ce>>>=0,Pe||ue(this,R,x,ce,Math.pow(2,8*ce)-1,0);var st=1,Qe=0;for(this[x]=255&R;++Qe<ce&&(st*=256);)this[x+Qe]=R/st&255;return x+ce},_.prototype.writeUintBE=_.prototype.writeUIntBE=function(R,x,ce,Pe){R=+R,x>>>=0,ce>>>=0,Pe||ue(this,R,x,ce,Math.pow(2,8*ce)-1,0);var st=ce-1,Qe=1;for(this[x+st]=255&R;--st>=0&&(Qe*=256);)this[x+st]=R/Qe&255;return x+ce},_.prototype.writeUint8=_.prototype.writeUInt8=function(R,x,ce){return R=+R,x>>>=0,ce||ue(this,R,x,1,255,0),this[x]=255&R,x+1},_.prototype.writeUint16LE=_.prototype.writeUInt16LE=function(R,x,ce){return R=+R,x>>>=0,ce||ue(this,R,x,2,65535,0),this[x]=255&R,this[x+1]=R>>>8,x+2},_.prototype.writeUint16BE=_.prototype.writeUInt16BE=function(R,x,ce){return R=+R,x>>>=0,ce||ue(this,R,x,2,65535,0),this[x]=R>>>8,this[x+1]=255&R,x+2},_.prototype.writeUint32LE=_.prototype.writeUInt32LE=function(R,x,ce){return R=+R,x>>>=0,ce||ue(this,R,x,4,4294967295,0),this[x+3]=R>>>24,this[x+2]=R>>>16,this[x+1]=R>>>8,this[x]=255&R,x+4},_.prototype.writeUint32BE=_.prototype.writeUInt32BE=function(R,x,ce){return R=+R,x>>>=0,ce||ue(this,R,x,4,4294967295,0),this[x]=R>>>24,this[x+1]=R>>>16,this[x+2]=R>>>8,this[x+3]=255&R,x+4},_.prototype.writeIntLE=function(R,x,ce,Pe){if(R=+R,x>>>=0,!Pe){var pe=Math.pow(2,8*ce-1);ue(this,R,x,ce,pe-1,-pe)}var st=0,Qe=1,At=0;for(this[x]=255&R;++st<ce&&(Qe*=256);)R<0&&0===At&&0!==this[x+st-1]&&(At=1),this[x+st]=(R/Qe|0)-At&255;return x+ce},_.prototype.writeIntBE=function(R,x,ce,Pe){if(R=+R,x>>>=0,!Pe){var pe=Math.pow(2,8*ce-1);ue(this,R,x,ce,pe-1,-pe)}var st=ce-1,Qe=1,At=0;for(this[x+st]=255&R;--st>=0&&(Qe*=256);)R<0&&0===At&&0!==this[x+st+1]&&(At=1),this[x+st]=(R/Qe|0)-At&255;return x+ce},_.prototype.writeInt8=function(R,x,ce){return R=+R,x>>>=0,ce||ue(this,R,x,1,127,-128),R<0&&(R=255+R+1),this[x]=255&R,x+1},_.prototype.writeInt16LE=function(R,x,ce){return R=+R,x>>>=0,ce||ue(this,R,x,2,32767,-32768),this[x]=255&R,this[x+1]=R>>>8,x+2},_.prototype.writeInt16BE=function(R,x,ce){return R=+R,x>>>=0,ce||ue(this,R,x,2,32767,-32768),this[x]=R>>>8,this[x+1]=255&R,x+2},_.prototype.writeInt32LE=function(R,x,ce){return R=+R,x>>>=0,ce||ue(this,R,x,4,2147483647,-2147483648),this[x]=255&R,this[x+1]=R>>>8,this[x+2]=R>>>16,this[x+3]=R>>>24,x+4},_.prototype.writeInt32BE=function(R,x,ce){return R=+R,x>>>=0,ce||ue(this,R,x,4,2147483647,-2147483648),R<0&&(R=4294967295+R+1),this[x]=R>>>24,this[x+1]=R>>>16,this[x+2]=R>>>8,this[x+3]=255&R,x+4},_.prototype.writeFloatLE=function(R,x,ce){return de(this,R,x,!0,ce)},_.prototype.writeFloatBE=function(R,x,ce){return de(this,R,x,!1,ce)},_.prototype.writeDoubleLE=function(R,x,ce){return ae(this,R,x,!0,ce)},_.prototype.writeDoubleBE=function(R,x,ce){return ae(this,R,x,!1,ce)},_.prototype.copy=function(R,x,ce,Pe){if(!_.isBuffer(R))throw new TypeError("argument should be a Buffer");if(ce||(ce=0),!Pe&&0!==Pe&&(Pe=this.length),x>=R.length&&(x=R.length),x||(x=0),Pe>0&&Pe<ce&&(Pe=ce),Pe===ce||0===R.length||0===this.length)return 0;if(x<0)throw new RangeError("targetStart out of bounds");if(ce<0||ce>=this.length)throw new RangeError("Index out of range");if(Pe<0)throw new RangeError("sourceEnd out of bounds");Pe>this.length&&(Pe=this.length),R.length-x<Pe-ce&&(Pe=R.length-x+ce);var pe=Pe-ce;return this===R&&"function"==typeof Uint8Array.prototype.copyWithin?this.copyWithin(x,ce,Pe):Uint8Array.prototype.set.call(R,this.subarray(ce,Pe),x),pe},_.prototype.fill=function(R,x,ce,Pe){if("string"==typeof R){if("string"==typeof x?(Pe=x,x=0,ce=this.length):"string"==typeof ce&&(Pe=ce,ce=this.length),void 0!==Pe&&"string"!=typeof Pe)throw new TypeError("encoding must be a string");if("string"==typeof Pe&&!_.isEncoding(Pe))throw new TypeError("Unknown encoding: "+Pe);if(1===R.length){var pe=R.charCodeAt(0);("utf8"===Pe&&pe<128||"latin1"===Pe)&&(R=pe)}}else"number"==typeof R?R&=255:"boolean"==typeof R&&(R=Number(R));if(x<0||this.length<x||this.length<ce)throw new RangeError("Out of range index");if(ce<=x)return this;var st;if(x>>>=0,ce=void 0===ce?this.length:ce>>>0,R||(R=0),"number"==typeof R)for(st=x;st<ce;++st)this[st]=R;else{var Qe=_.isBuffer(R)?R:_.from(R,Pe),At=Qe.length;if(0===At)throw new TypeError('The value "'+R+'" is invalid for argument "value"');for(st=0;st<ce-x;++st)this[st+x]=Qe[st%At]}return this};var X=/[^+/0-9A-Za-z-_]/g;function K(J,R){R=R||1/0;for(var x,ce=J.length,Pe=null,pe=[],st=0;st<ce;++st){if((x=J.charCodeAt(st))>55295&&x<57344){if(!Pe){if(x>56319){(R-=3)>-1&&pe.push(239,191,189);continue}if(st+1===ce){(R-=3)>-1&&pe.push(239,191,189);continue}Pe=x;continue}if(x<56320){(R-=3)>-1&&pe.push(239,191,189),Pe=x;continue}x=65536+(Pe-55296<<10|x-56320)}else Pe&&(R-=3)>-1&&pe.push(239,191,189);if(Pe=null,x<128){if((R-=1)<0)break;pe.push(x)}else if(x<2048){if((R-=2)<0)break;pe.push(x>>6|192,63&x|128)}
3else if(x<65536){if((R-=3)<0)break;pe.push(x>>12|224,x>>6&63|128,63&x|128)}else{if(!(x<1114112))throw new Error("Invalid code point");if((R-=4)<0)break;pe.push(x>>18|240,x>>12&63|128,x>>6&63|128,63&x|128)}}return pe}function Se(J){return a.toByteArray(function $(J){if((J=(J=J.split("=")[0]).trim().replace(X,"")).length<2)return"";for(;J.length%4!=0;)J+="=";return J}(J))}function pt(J,R,x,ce){for(var Pe=0;Pe<ce&&!(Pe+x>=R.length||Pe>=J.length);++Pe)R[Pe+x]=J[Pe];return Pe}function Ge(J,R){return J instanceof R||null!=J&&null!=J.constructor&&null!=J.constructor.name&&J.constructor.name===R.name}function bt(J){return J!=J}var me=function(){for(var J="0123456789abcdef",R=new Array(256),x=0;x<16;++x)for(var ce=16*x,Pe=0;Pe<16;++Pe)R[ce+Pe]=J[x]+J[Pe];return R}()},84412:(qe,ee,o)=>{"use strict";o.d(ee,{t:()=>t});var a=o(21413);class t extends a.B{constructor(M){super(),this._value=M}get value(){return this.getValue()}_subscribe(M){const v=super._subscribe(M);return!v.closed&&M.next(this._value),v}getValue(){const{hasError:M,thrownError:v,_value:r}=this;if(M)throw v;return this._throwIfClosed(),r}next(M){super.next(this._value=M)}}},84466:(qe,ee,o)=>{"use strict";o.d(ee,{P:()=>v});var a=o(2615),t=o(73664),u=o(60177);let M;try{M=typeof Intl<"u"&&Intl.v8BreakIterator}catch{M=!1}let v=(()=>{class r{_platformId=(0,a.WQX)(t.Agw);isBrowser=this._platformId?(0,u.UE)(this._platformId):"object"==typeof document&&!!document;EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent);TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent);BLINK=this.isBrowser&&!(!window.chrome&&!M)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT;WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT;IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window);FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent);ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT;SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT;constructor(){}static \u0275fac=function(C){return new(C||r)};static \u0275prov=a.jDH({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})()},84572:(qe,ee,o)=>{"use strict";o.d(ee,{z:()=>b});var a=o(71985),t=o(93073),u=o(86648),M=o(33669),v=o(6450),r=o(9326),_=o(58496),h=o(54360),C=o(45225);function b(...O){const d=(0,r.lI)(O),L=(0,r.ms)(O),{args:E,keys:se}=(0,t.D)(O);if(0===E.length)return(0,u.H)([],d);const Y=new a.c(function D(O,d,L=M.D){return E=>{f(d,()=>{const{length:se}=O,Y=new Array(se);let ne=se,U=se;for(let T=0;T<se;T++)f(d,()=>{const I=(0,u.H)(O[T],d);let w=!1;I.subscribe((0,h._)(E,Z=>{Y[T]=Z,w||(w=!0,U--),U||E.next(L(Y.slice()))},()=>{--ne||E.complete()}))},E)},E)}}(E,d,se?ne=>(0,_.e)(se,ne):M.D));return L?Y.pipe((0,v.I)(L)):Y}function f(O,d,L){O?(0,C.N)(L,O,d):d()}},85281:(qe,ee,o)=>{"use strict";o.d(ee,{U:()=>C});var a=o(56977),t=o(61594),u=o(21413),M=o(73664),v=o(88021),r=o(51060),_=o(16030);const h=(b,D)=>({"orc-font-body-small":b,"orc-font-small-print":D});let C=(()=>{class b{constructor(f,O,d){this.dialogRef=f,this._platform=O,this._recordEmailsService=d,this.ariaLabelKnowledgeBase="ORCID knowledge base (Opens in a new tab)",this.ariaLabelKnowledgeSupport="ORCID support page (Opens in a new tab)",this.$destroy=new u.B,this._platform.get().pipe((0,a.Q)(this.$destroy)).subscribe(L=>{this.isMobile=L.columns4||L.columns8})}verifyEmail(){this._recordEmailsService.verifyEmail(this.primaryEmail).pipe((0,t.$)()).subscribe(()=>{this.dialogRef.close()})}ngOnDestroy(){this.$destroy.next(!0),this.$destroy.unsubscribe()}ngOnInit(){}static{this.\u0275fac=function(O){return new(O||b)(M.rXU(v.k),M.rXU(r.Z),M.rXU(_.E))}}static{this.\u0275cmp=M.VBU({type:b,selectors:[["app-top-bar-verification-email-modal"]],standalone:!1,decls:64,vars:7,consts:()=>{let f,O,d,L,E,se,Y,ne,U;return f="\n Please verify your email addresses\n ",O="You need to verify at least one email address in order to access all\n of ORCID\u2019s editing features.",d="\n To verify your email address, click the link in the email sent to:\n ",L="\n Don\u2019t have a verification email?\n ",E="\n Click the button below and we will send you a new one.\n ",se="\n Resend verification email\n ",Y=" Need help?",ne=" Visit the",U="ORCID help centre",[f,O,d,L,E,se,Y,ne,U,[3,"noSidebar"],[1,"material-icons-outlined","info"],[3,"ngClass"],[1,"text-content"],[1,"row","resend-verification"],["mat-raised-button","","color","primary",3,"click"],[1,"need-help"],["href","https://support.orcid.org/hc/articles/360006973793","rel","noopener noreferrer","target","_blank",1,"underline"]]},template:function(O,d){1&O&&(M.j41(0,"app-modal",9),M.EFF(1,"\n "),M.j41(2,"app-modal-header"),M.EFF(3,"\n "),M.j41(4,"mat-icon",10),M.EFF(5,"info"),M.k0s(),M.EFF(6,"\n "),M.qex(7),M.pXf(8,0),M.bVm(),M.EFF(9,"\n "),M.k0s(),M.EFF(10,"\n "),M.j41(11,"div",11),M.EFF(12,"\n "),M.j41(13,"div",12),M.EFF(14,"\n "),M.j41(15,"p"),M.EFF(16,"\n "),M.qex(17),M.pXf(18,1),M.bVm(),M.EFF(19,"\n "),M.qex(20),M.pXf(21,2),M.bVm(),M.EFF(22,"\n "),M.k0s(),M.EFF(23,"\n "),M.j41(24,"p"),M.EFF(25),M.k0s(),M.EFF(26,"\n "),M.j41(27,"p"),M.EFF(28,"\n "),M.j41(29,"strong"),M.pXf(30,3),M.k0s(),M.EFF(31,"\n "),M.nrm(32,"br"),M.EFF(33,"\n "),M.qex(34),M.pXf(35,4),M.bVm(),M.EFF(36,"\n "),M.k0s(),M.EFF(37,"\n "),M.k0s(),M.EFF(38,"\n "),M.j41(39,"div",13),M.EFF(40,"\n "),M.j41(41,"button",14),M.bIt("click",function(){return d.verifyEmail()}),M.pXf(42,5),M.k0s(),M.EFF(43,"\n "),M.k0s(),M.EFF(44,"\n "),M.j41(45,"div",15),M.EFF(46,"\n "),M.j41(47,"p"),M.EFF(48,"\n "),M.j41(49,"strong"),M.pXf(50,6),M.k0s(),M.EFF(51,"\n "),M.nrm(52,"br"),M.EFF(53,"\n "),M.qex(54),M.pXf(55,7),M.bVm(),M.EFF(56,"\n "),M.j41(57,"a",16),M.pXf(58,8),M.k0s(),M.EFF(59,"\n "),M.k0s(),M.EFF(60,"\n "),M.k0s(),M.EFF(61,"\n "),M.k0s(),M.EFF(62,"\n"),M.k0s(),M.EFF(63,"\n")),2&O&&(M.Y8G("noSidebar",!0),M.R7$(11),M.Y8G("ngClass",M.l_i(4,h,!d.isMobile,d.isMobile)),M.R7$(14),M.SpI("\n ",d.primaryEmail,"\n "),M.R7$(32),M.BMQ("aria-label",d.ariaLabelKnowledgeBase))},styles:["app-modal[_ngcontent-%COMP%] .content-wrapper{padding-bottom:20px!important}.info[_ngcontent-%COMP%]{margin-inline-end:10px}.resend-verification[_ngcontent-%COMP%]{margin:20px 0 30px}.need-help[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{display:block;margin-top:4px;margin-inline-end:0}.text-content[_ngcontent-%COMP%]{flex-direction:column}",".info[_ngcontent-%COMP%]{color:#ff9c00!important}[_nghost-%COMP%] button[_ngcontent-%COMP%]{background:#085c77}"]})}}return b})()},85343:(qe,ee,o)=>{"use strict";function a(){}o.d(ee,{l:()=>a})},85397:(qe,ee,o)=>{"use strict";o.d(ee,{x:()=>u});var a=o(4761),t=o(98071);function u(M){return(0,t.T)(M?.[a.l])}},85850:(qe,ee,o)=>{"use strict";o.d(ee,{M:()=>t});var a=o(2615);let t=(()=>{class u{decideForSignIn(v,r,_){const h=[],C=!!v?.oauthSession;return h.push(`hasOauthSession=${C}`,`loggedIn=${!!v?.oauthSessionIsLoggedIn}`),C?r?(h.push("OAuth2 flow"),this.decideSignInOAuth2(v,_,h)):(h.push("Legacy OAuth flow"),this.decideSignInLegacy(v,_,h)):(h.push("No oauthSession \u2192 allow to show login"),{action:"allow",trace:h,reason:"no_oauth_session"})}decideSignInLegacy(v,r,_){const h=!(!r?.email&&!r?.orcid),C="false"===r?.show_login;if(!v?.oauthSessionIsLoggedIn){if(_.push(`Legacy: not logged in; hasIdentifier=${h}; show_login is false?=${C}`),h||C){const D=!!v?.oauthSession?.userId;return _.push("Legacy: has identifier or show_login=false \u2192 "+(D?"allow (existing user)":"redirectToRegister (user does not exist)")),D?{action:"allow",trace:_,reason:"identifier_user_exists"}:{action:"redirectToRegister",trace:_,payload:{queryParams:r},reason:"identifier_user_missing"}}return _.push("Legacy: allow (no identifier)"),{action:"allow",trace:_,reason:"not_logged_no_identifier"}}return v.oauthSession?.forceLogin?(_.push("Legacy: Backend responds with forceLogin=true \u2192 allow to show login"),{action:"allow",trace:_,reason:"force_login_required"}):(_.push("Legacy: logged in and backend responds with forceLogin=false \u2192 redirectToAuthorize"),{action:"redirectToAuthorize",trace:_,payload:{queryParams:r},reason:"logged_in_not_force_login"})}decideSignInOAuth2(v,r,_){const h="false"===r?.show_login,C=!!v?.oauthSessionIsLoggedIn,b=r?.scope?.includes("openid");return C?"login"===r?.prompt&&b?(_.push("OAuth2: prompt=login with openid \u2192 allow (show login)"),{action:"allow",trace:_,reason:"prompt_login_with_openid"}):(_.push("OAuth2: logged in and not prompt=login on openid \u2192 redirectToAuthorize"),{action:"redirectToAuthorize",trace:_,payload:{queryParams:r},reason:"logged_in_not_forced_prompt_login"}):(_.push("OAuth2: not logged in"),h?(_.push("OAuth2: show_login === 'false' \u2192 redirectToRegister"),{action:"redirectToRegister",trace:_,payload:{queryParams:r},reason:"show_login_false"}):(_.push("OAuth2: allow (go to login)"),{action:"allow",trace:_,reason:"not_logged"}))}decideForAuthorize(v,r,_){const h=[];if("true"===v?.userInfo?.LOCKED)return h.push("Account locked \u2192 redirectToMyOrcid"),{action:"redirectToMyOrcid",trace:h,reason:"account_locked"};const C=!!v?.oauthSession;return h.push(`hasOauthSession=${C}`),C&&!r?(h.push("Legacy OAuth flow"),this.decideAuthorizeLegacy(v,h)):C&&r?(h.push("OAuth2 flow"),this.decideAuthorizeOAuth2(v,_,h)):(h.push("No oauthSession \u2192 redirectToLogin"),{action:"redirectToLogin",trace:h,reason:"no_oauth_session"})}decideAuthorizeLegacy(v,r){const{error:_,forceLogin:h}=v.oauthSession||{};return _?(r.push("Legacy: error present \u2192 allow (show error)"),{action:"allow",trace:r,reason:"legacy_session_error"}):h||!v.oauthSessionIsLoggedIn?(r.push("Legacy: forceLogin or not logged \u2192 redirectToLogin"),{action:"redirectToLogin",trace:r,reason:h?"legacy_force_login":"legacy_not_logged"}):(r.push("Legacy: allow"),{action:"allow",trace:r,reason:"legacy_allow"})}decideAuthorizeOAuth2(v,r,_){const h=r?.scope?.includes("openid"),C="login"===r?.prompt&&h;if(!v.oauthSessionIsLoggedIn&&"none"===r?.prompt)return _.push("OAuth2: prompt='none' and not logged \u2192 validateRedirectUri"),{action:"validateRedirectUri",trace:_,payload:{clientId:r.client_id,redirectUri:r.redirect_uri},reason:"prompt_none_not_logged"};if(v.oauthSessionIsLoggedIn&&"none"===r?.prompt){const b=v.oauthSession?.redirectUrl;return h&&b?(_.push("OAuth2: prompt='none' (openid) and logged with and backend responds with redirectUrl \u2192 outOfRouterNavigation"),{action:"outOfRouterNavigation",trace:_,payload:{target:b},reason:"prompt_none_logged_openid_with_target"}):(_.push("OAuth2: prompt='none' but not openid or missing redirectUrl \u2192 allow"),{action:"allow",trace:_,reason:h?"prompt_none_logged_openid_missing_target":"prompt_none_logged_non_openid"})}
3return!v.oauthSessionIsLoggedIn||C?(_.push("OAuth2: not logged or forced by prompt+openid \u2192 redirectToLogin"),{action:"redirectToLogin",trace:_,reason:v.oauthSessionIsLoggedIn?"prompt_login_with_openid":"oauth2_not_logged"}):(_.push("OAuth2: allow"),{action:"allow",trace:_,reason:"oauth2_allow"})}static{this.\u0275fac=function(r){return new(r||u)}}static{this.\u0275prov=a.jDH({token:u,factory:u.\u0275fac,providedIn:"root"})}}return u})()},85908:function(qe,ee){(function(){"use strict";ee.stripBOM=function(o){return"\ufeff"===o[0]?o.substring(1):o}}).call(this)},86129:(qe,ee,o)=>{"use strict";o.d(ee,{U:()=>a});const a={now:()=>(a.delegate||Date).now(),delegate:void 0}},86223:(qe,ee,o)=>{"use strict";o.d(ee,{X:()=>u});var a=o(89417),t=o(21495);let u=(()=>{class M{static{this.email=r=>{const h=a.k0.pattern(t.TB)(r);return r.value&&h?.pattern?{email:!0}:null}}static{this.emailGeneric=r=>{const h=a.k0.pattern(t.dh)(r);return r.value&&h?.pattern?{email:!0}:null}}static{this.illegalName=r=>{const h=a.k0.pattern(t.ud)(r);return!r.value||!r.value.startsWith("http")&&h?.pattern?null:{illegalName:!0}}}static notPattern(r){return _=>{const C=a.k0.pattern(r)(_);return C&&C.pattern||""===_.value?null:{notPattern:"the pattern is valid"}}}static patternAfterTrimming(r){return _=>""===_.value.trim()||r.test(_.value.trim())?null:{pattern:"the pattern is valid"}}static matchValues(r,_,h=!0){return C=>{const b=C.controls[r],D=C.controls[_];if(!b||!D||D.errors&&!D.errors.mismatch)return null;(h?b.value:b.value.toLowerCase())!==(h?D.value:D.value.toLowerCase())?D.setErrors({mismatch:!0}):D.hasError("mismatch")&&(delete D.errors.mismatch,D.updateValueAndValidity())}}}return M})()},86365:(qe,ee,o)=>{"use strict";o.d(ee,{G:()=>r});var a=o(21413),t=o(61594),u=o(73664),M=o(88021),v=o(99054);let r=(()=>{class _{constructor(C,b){this.dialogRef=C,this._recordPeerReviewService=b,this.$destroy=new a.B,this.loadingPeerReviews=!0,this.total=0}ngOnInit(){this._recordPeerReviewService.getPeerReviewImportWizardList().pipe((0,t.$)()).subscribe(C=>{this.recordImportWizards=C,this.loadingPeerReviews=!1,this.total=C.length})}openImportWizardUrlFilter(C){return"RETIRED"===C.status?C.clientWebsite:runtimeEnvironment.BASE_URL+"oauth/authorize?client_id="+C.id+"&response_type=code&scope="+C.scopes+"&redirect_uri="+C.redirectUri}toggle(C){C.show=!C.show}ngOnDestroy(){this.$destroy.next(!0),this.$destroy.unsubscribe()}static{this.\u0275fac=function(b){return new(b||_)(u.rXU(M.k),u.rXU(v.v))}}static{this.\u0275cmp=u.VBU({type:_,selectors:[["app-modal-peer-reviews"]],standalone:!1,decls:17,vars:4,consts:()=>{let C,b,D,f;return C=" Link peer reviews ",b=" Search and Link wizards are our recommended way to populate your record. They make adding works, funding and peer reviews simple and save you time over updating your record manually. Select a platform from the list below to start linking items to your record. ",D=" More information about linking peer reviews to your ORCID record ",f="Available Search & Link wizards",[C,b,D,f,[3,"loading","noSidebar"],[1,"row"],[1,"orc-font-small-print"],["rel","noopener noreferrer","target","_blank","href","https://support.orcid.org/hc/articles/360006971333",1,"underline"],[3,"recordImportWizards"]]},template:function(b,D){1&b&&(u.j41(0,"app-modal",4)(1,"app-modal-header"),u.qex(2),u.pXf(3,0),u.bVm(),u.k0s(),u.j41(4,"div",5)(5,"div",6)(6,"p"),u.pXf(7,1),u.k0s(),u.j41(8,"a",7),u.pXf(9,2),u.k0s()()(),u.j41(10,"div",5)(11,"h3"),u.qex(12),u.pXf(13,3),u.bVm(),u.EFF(14),u.k0s(),u.nrm(15,"hr"),u.k0s(),u.nrm(16,"app-search-link-wizard",8),u.k0s()),2&b&&(u.Y8G("loading",D.loadingPeerReviews)("noSidebar",!0),u.R7$(14),u.SpI(" (",D.total,") "),u.R7$(2),u.Y8G("recordImportWizards",D.recordImportWizards))},styles:["h3[_ngcontent-%COMP%]{margin:32px 0 8px}label.mat-caption[_ngcontent-%COMP%]{margin-bottom:8px}"]})}}return _})()},86648:(qe,ee,o)=>{"use strict";o.d(ee,{H:()=>Z});var a=o(58750),t=o(45225),u=o(39974),M=o(54360);function v(N,oe=0){return(0,u.N)((H,ie)=>{H.subscribe((0,M._)(ie,Ce=>(0,t.N)(ie,N,()=>ie.next(Ce),oe),()=>(0,t.N)(ie,N,()=>ie.complete(),oe),Ce=>(0,t.N)(ie,N,()=>ie.error(Ce),oe)))})}function r(N,oe=0){return(0,u.N)((H,ie)=>{ie.add(N.schedule(()=>H.subscribe(ie),oe))})}
3var C=o(71985),D=o(4761),f=o(98071);function d(N,oe){if(!N)throw new Error("Iterable cannot be null");return new C.c(H=>{(0,t.N)(H,oe,()=>{const ie=N[Symbol.asyncIterator]();(0,t.N)(H,oe,()=>{ie.next().then(Ce=>{Ce.done?H.complete():H.next(Ce.value)})},0,!0)})})}var L=o(55055),E=o(59858),se=o(47441),Y=o(85397),ne=o(37953),U=o(50591),T=o(15196);function Z(N,oe){return oe?function w(N,oe){if(null!=N){if((0,L.l)(N))return function _(N,oe){return(0,a.Tg)(N).pipe(r(oe),v(oe))}(N,oe);if((0,se.X)(N))return function b(N,oe){return new C.c(H=>{let ie=0;return oe.schedule(function(){ie===N.length?H.complete():(H.next(N[ie++]),H.closed||this.schedule())})})}(N,oe);if((0,E.y)(N))return function h(N,oe){return(0,a.Tg)(N).pipe(r(oe),v(oe))}(N,oe);if((0,ne.T)(N))return d(N,oe);if((0,Y.x)(N))return function O(N,oe){return new C.c(H=>{let ie;return(0,t.N)(H,oe,()=>{ie=N[D.l](),(0,t.N)(H,oe,()=>{let Ce,Ue;try{({value:Ce,done:Ue}=ie.next())}catch(nt){return void H.error(nt)}Ue?H.complete():H.next(Ce)},0,!0)}),()=>(0,f.T)(ie?.return)&&ie.return()})}(N,oe);if((0,T.U)(N))return function I(N,oe){return d((0,T.C)(N),oe)}(N,oe)}throw(0,U.L)(N)}(N,oe):(0,a.Tg)(N)}},87068:(qe,ee,o)=>{"use strict";o.d(ee,{A:()=>C});var a=o(84412),t=o(71985),u=o(10678),M=o(99437),v=o(62415),r=o(1734),_=o(2615),h=o(56846);let C=(()=>{class b{constructor(f,O){this._errorHandler=f,this._window=O,this._loading=new a.t(!1),this.loading$=this._loading.asObservable(),this.isLoaded=!1}pushTag(f){return new t.c(O=>{this.isLoaded?((0,u.Dd)(f),this.isGtmRunning()?(O.next(),O.complete()):O.error({name:"GTM - Error",message:"Gtm is not adding uniqueEventId attributes"})):this.addGtmToDom().pipe((0,M.W)(d=>this._errorHandler.handleError(d,v.Q.STANDARD_NO_VERBOSE_NO_GA))).subscribe(d=>{d&&((0,u.Dd)(f),this.isGtmRunning()?(O.next(),O.complete()):O.error({name:"GTM - Error",message:"Gtm is not adding uniqueEventId attributes"}))},()=>{O.error({name:"GTM - Error",message:"Unable to add GTM"})})})}isGtmRunning(){return(this._window.dataLayer||[]).some(O=>O["gtm.uniqueEventId"])}addGtmToDom(){return new t.c(f=>{this.isLoaded&&(f.next(!0),f.complete());const O=u.Hv.documentRef();(0,u.Dd)({"gtm.start":(new Date).getTime(),event:"gtm.js"});const d=O.createElement("script");d.id="GTM",d.async=!0,d.src="https://www.googletagmanager.com/gtm.js?id="+runtimeEnvironment.GOOGLE_TAG_MANAGER,d.setAttributeNode(O.createAttribute("data-ot-ignore")),d.addEventListener("load",()=>{this.isLoaded=!0,f.next(!0),f.complete()}),d.addEventListener("error",()=>{f.error({name:"GTM - Error",message:"Unable to add GTM"})}),O.head.insertBefore(d,O.head.firstChild)})}reportPageView(f){runtimeEnvironment.debugger&&console.debug(`GTM Navigation ${f}`),this.pushTag({event:"page",pageName:f}).subscribe()}reportNavigationEnd(f,O){if(O)return runtimeEnvironment.debugger&&console.debug(`GTM - Took ${O} to load ${f}`),this.pushTag({event:"timing_complete",orcid:(0,u.gQ)(f),duration:Math.round(O),pageName:f})}static{this.\u0275fac=function(O){return new(O||b)(_.KVO(h.c),_.KVO(r.jf))}}static{this.\u0275prov=_.jDH({token:b,factory:b.\u0275fac,providedIn:"root"})}}return b})()},87870:(qe,ee,o)=>{"use strict";o.d(ee,{B:()=>U,M:()=>se});var a=o(2615),t=o(73664),u=o(21413),M=o(84572),v=o(28793),r=o(71985),_=o(96697),h=o(65245),C=o(70152),b=o(96354),D=o(99172),f=o(56977),O=o(84466),d=o(41959);const L=new Set;let E,se=(()=>{class I{_platform=(0,a.WQX)(O.P);_nonce=(0,a.WQX)(t.BIS,{optional:!0});_matchMedia;constructor(){this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):ne}matchMedia(Z){return(this._platform.WEBKIT||this._platform.BLINK)&&function Y(I,w){if(!L.has(I))try{E||(E=document.createElement("style"),w&&E.setAttribute("nonce",w),E.setAttribute("type","text/css"),document.head.appendChild(E)),E.sheet&&(E.sheet.insertRule(`@media ${I} {body{ }}`,0),L.add(I))}catch(Z){console.error(Z)}}(Z,this._nonce),this._matchMedia(Z)}static \u0275fac=function(N){return new(N||I)};static \u0275prov=a.jDH({token:I,factory:I.\u0275fac,providedIn:"root"})}return I})();function ne(I){return{matches:"all"===I||""===I,media:I,addListener:()=>{},removeListener:()=>{}}}let U=(()=>{class I{_mediaMatcher=(0,a.WQX)(se);_zone=(0,a.WQX)(t.SKi);_queries=new Map;
3_destroySubject=new u.B;constructor(){}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(Z){return T((0,d.c)(Z)).some(oe=>this._registerQuery(oe).mql.matches)}observe(Z){const oe=T((0,d.c)(Z)).map(ie=>this._registerQuery(ie).observable);let H=(0,M.z)(oe);return H=(0,v.x)(H.pipe((0,_.s)(1)),H.pipe((0,h.i)(1),(0,C.B)(0))),H.pipe((0,b.T)(ie=>{const Ce={matches:!1,breakpoints:{}};return ie.forEach(({matches:Ue,query:nt})=>{Ce.matches=Ce.matches||Ue,Ce.breakpoints[nt]=Ue}),Ce}))}_registerQuery(Z){if(this._queries.has(Z))return this._queries.get(Z);const N=this._mediaMatcher.matchMedia(Z),H={observable:new r.c(ie=>{const Ce=Ue=>this._zone.run(()=>ie.next(Ue));return N.addListener(Ce),()=>{N.removeListener(Ce)}}).pipe((0,D.Z)(N),(0,b.T)(({matches:ie})=>({query:Z,matches:ie})),(0,f.Q)(this._destroySubject)),mql:N};return this._queries.set(Z,H),H}static \u0275fac=function(N){return new(N||I)};static \u0275prov=a.jDH({token:I,factory:I.\u0275fac,providedIn:"root"})}return I})();function T(I){return I.map(w=>w.split(",")).reduce((w,Z)=>w.concat(Z)).map(w=>w.trim())}},88021:(qe,ee,o)=>{"use strict";o.d(ee,{e:()=>Ge,h:()=>J,k:()=>Se,l:()=>At});var a=o(73664),t=o(2615),u=o(17705),M=o(21413),v=o(59030),r=o(76939),_=o(34991),h=o(55042),C=o(84466),b=o(79629),D=o(17035),f=o(67336),O=o(99172),d=o(96697),L=o(30282),E=o(88511),se=o(40372);function Y(Ne,ze){}class ne{viewContainerRef;injector;id;role="dialog";panelClass="";hasBackdrop=!0;backdropClass="";disableClose=!1;closePredicate;width="";height="";minWidth;minHeight;maxWidth;maxHeight;positionStrategy;data=null;direction;ariaDescribedBy=null;ariaLabelledBy=null;ariaLabel=null;ariaModal=!1;autoFocus="first-tabbable";restoreFocus=!0;scrollStrategy;closeOnNavigation=!0;closeOnDestroy=!0;closeOnOverlayDetachments=!0;disableAnimations=!1;providers;container;templateContext}let T=(()=>{class Ne extends r.lb{_elementRef=(0,t.WQX)(a.aKT);_focusTrapFactory=(0,t.WQX)(_.F);_config;_interactivityChecker=(0,t.WQX)(_.I);_ngZone=(0,t.WQX)(a.SKi);_focusMonitor=(0,t.WQX)(h.F);_renderer=(0,t.WQX)(a.sFG);_changeDetectorRef=(0,t.WQX)(u.gRc);_injector=(0,t.WQX)(t.zZn);_platform=(0,t.WQX)(C.P);_document=(0,t.WQX)(t.qQL);_portalOutlet;_focusTrapped=new M.B;_focusTrap=null;_elementFocusedBeforeDialogWasOpened=null;_closeInteractionType=null;_ariaLabelledByQueue=[];_isDestroyed=!1;constructor(){super(),this._config=(0,t.WQX)(ne,{optional:!0})||new ne,this._config.ariaLabelledBy&&this._ariaLabelledByQueue.push(this._config.ariaLabelledBy)}_addAriaLabelledBy(Ke){this._ariaLabelledByQueue.push(Ke),this._changeDetectorRef.markForCheck()}_removeAriaLabelledBy(Ke){const Ct=this._ariaLabelledByQueue.indexOf(Ke);Ct>-1&&(this._ariaLabelledByQueue.splice(Ct,1),this._changeDetectorRef.markForCheck())}_contentAttached(){this._initializeFocusTrap(),this._captureInitialFocus()}_captureInitialFocus(){this._trapFocus()}ngOnDestroy(){this._focusTrapped.complete(),this._isDestroyed=!0,this._restoreFocus()}attachComponentPortal(Ke){this._portalOutlet.hasAttached();const Ct=this._portalOutlet.attachComponentPortal(Ke);return this._contentAttached(),Ct}attachTemplatePortal(Ke){this._portalOutlet.hasAttached();const Ct=this._portalOutlet.attachTemplatePortal(Ke);return this._contentAttached(),Ct}attachDomPortal=Ke=>{this._portalOutlet.hasAttached();const Ct=this._portalOutlet.attachDomPortal(Ke);return this._contentAttached(),Ct};_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(Ke,Ct){this._interactivityChecker.isFocusable(Ke)||(Ke.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{const Wt=()=>{ln(),Rn(),Ke.removeAttribute("tabindex")},ln=this._renderer.listen(Ke,"blur",Wt),Rn=this._renderer.listen(Ke,"mousedown",Wt)})),Ke.focus(Ct)}_focusByCssSelector(Ke,Ct){let Wt=this._elementRef.nativeElement.querySelector(Ke);Wt&&this._forceFocus(Wt,Ct)}_trapFocus(Ke){this._isDestroyed||(0,a.mal)(()=>{const Ct=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||Ct.focus(Ke);break;case!0:case"first-tabbable":this._focusTrap?.focusInitialElement(Ke)||this._focusDialogContainer(Ke);break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]',Ke);break;default:this._focusByCssSelector(this._config.autoFocus,Ke)}this._focusTrapped.next()},{injector:this._injector})}_restoreFocus(){const Ke=this._config.restoreFocus;let Ct=null;if("string"==typeof Ke?Ct=this._document.querySelector(Ke):"boolean"==typeof Ke?Ct=Ke?this._elementFocusedBeforeDialogWasOpened:null:Ke&&(Ct=Ke),this._config.restoreFocus&&Ct&&"function"==typeof Ct.focus){const Wt=(0,b.c)(),ln=this._elementRef.nativeElement;
3(!Wt||Wt===this._document.body||Wt===ln||ln.contains(Wt))&&(this._focusMonitor?(this._focusMonitor.focusVia(Ct,this._closeInteractionType),this._closeInteractionType=null):Ct.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(Ke){this._elementRef.nativeElement.focus?.(Ke)}_containsFocus(){const Ke=this._elementRef.nativeElement,Ct=(0,b.c)();return Ke===Ct||Ke.contains(Ct)}_initializeFocusTrap(){this._platform.isBrowser&&(this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=(0,b.c)()))}static \u0275fac=function(Ct){return new(Ct||Ne)};static \u0275cmp=a.VBU({type:Ne,selectors:[["cdk-dialog-container"]],viewQuery:function(Ct,Wt){if(1&Ct&&a.GBs(r.I3,7),2&Ct){let ln;a.mGM(ln=a.lsd())&&(Wt._portalOutlet=ln.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(Ct,Wt){2&Ct&&a.BMQ("id",Wt._config.id||null)("role",Wt._config.role)("aria-modal",Wt._config.ariaModal)("aria-labelledby",Wt._config.ariaLabel?null:Wt._ariaLabelledByQueue[0])("aria-label",Wt._config.ariaLabel)("aria-describedby",Wt._config.ariaDescribedBy||null)},features:[a.Vt3],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(Ct,Wt){1&Ct&&a.DNE(0,Y,0,0,"ng-template",0)},dependencies:[r.I3],styles:[".cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}\n"],encapsulation:2})}return Ne})();class I{overlayRef;config;componentInstance;componentRef;containerInstance;disableClose;closed=new M.B;backdropClick;keydownEvents;outsidePointerEvents;id;_detachSubscription;constructor(ze,Ke){this.overlayRef=ze,this.config=Ke,this.disableClose=Ke.disableClose,this.backdropClick=ze.backdropClick(),this.keydownEvents=ze.keydownEvents(),this.outsidePointerEvents=ze.outsidePointerEvents(),this.id=Ke.id,this.keydownEvents.subscribe(Ct=>{Ct.keyCode===D.g&&!this.disableClose&&!(0,f.rp)(Ct)&&(Ct.preventDefault(),this.close(void 0,{focusOrigin:"keyboard"}))}),this.backdropClick.subscribe(()=>{!this.disableClose&&this._canClose()?this.close(void 0,{focusOrigin:"mouse"}):this.containerInstance._recaptureFocus?.()}),this._detachSubscription=ze.detachments().subscribe(()=>{!1!==Ke.closeOnOverlayDetachments&&this.close()})}close(ze,Ke){if(this._canClose(ze)){const Ct=this.closed;this.containerInstance._closeInteractionType=Ke?.focusOrigin||"program",this._detachSubscription.unsubscribe(),this.overlayRef.dispose(),Ct.next(ze),Ct.complete(),this.componentInstance=this.containerInstance=null}}updatePosition(){return this.overlayRef.updatePosition(),this}updateSize(ze="",Ke=""){return this.overlayRef.updateSize({width:ze,height:Ke}),this}addPanelClass(ze){return this.overlayRef.addPanelClass(ze),this}removePanelClass(ze){return this.overlayRef.removePanelClass(ze),this}_canClose(ze){const Ke=this.config;return!!this.containerInstance&&(!Ke.closePredicate||Ke.closePredicate(ze,Ke,this.componentInstance))}}const w=new t.nKC("DialogScrollStrategy",{providedIn:"root",factory:()=>{const Ne=(0,t.WQX)(t.zZn);return()=>(0,L.s)(Ne)}}),Z=new t.nKC("DialogData"),N=new t.nKC("DefaultDialogConfig");function oe(Ne){const ze=(0,t.vPA)(Ne),Ke=new a.bkB;return{valueSignal:ze,get value(){return ze()},change:Ke,ngOnDestroy(){Ke.complete()}}}let H=(()=>{class Ne{_injector=(0,t.WQX)(t.zZn);_defaultOptions=(0,t.WQX)(N,{optional:!0});_parentDialog=(0,t.WQX)(Ne,{optional:!0,skipSelf:!0});_overlayContainer=(0,t.WQX)(L.O);_idGenerator=(0,t.WQX)(E._);_openDialogsAtThisLevel=[];_afterAllClosedAtThisLevel=new M.B;_afterOpenedAtThisLevel=new M.B;_ariaHiddenElements=new Map;_scrollStrategy=(0,t.WQX)(w);get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}afterAllClosed=(0,v.v)(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe((0,O.Z)(void 0)));constructor(){}open(Ke,Ct){(Ct={...this._defaultOptions||new ne,...Ct}).id=Ct.id||this._idGenerator.getId("cdk-dialog-"),Ct.id&&this.getDialogById(Ct.id);const ln=this._getOverlayConfig(Ct),Rn=(0,L.c)(this._injector,ln),Dn=new I(Rn,Ct),Gn=this._attachContainer(Rn,Dn,Ct);if(Dn.containerInstance=Gn,!this.openDialogs.length){const Yn=this._overlayContainer.getContainerElement();Gn._focusTrapped?Gn._focusTrapped.pipe((0,d.s)(1)).subscribe(()=>{this._hideNonDialogContentFromAssistiveTechnology(Yn)}):this._hideNonDialogContentFromAssistiveTechnology(Yn)}return this._attachDialogContent(Ke,Dn,Gn,Ct),this.openDialogs.push(Dn),Dn.closed.subscribe(()=>this._removeOpenDialog(Dn,!0)),this.afterOpened.next(Dn),Dn}closeAll(){ie(this.openDialogs,Ke=>Ke.close())}getDialogById(Ke){return this.openDialogs.find(Ct=>Ct.id===Ke)}ngOnDestroy(){ie(this._openDialogsAtThisLevel,Ke=>{!1===Ke.config.closeOnDestroy&&this._removeOpenDialog(Ke,!1)}),ie(this._openDialogsAtThisLevel,Ke=>Ke.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig(Ke){const Ct=new L.i({positionStrategy:Ke.positionStrategy||(0,L.f)().centerHorizontally().centerVertically(),scrollStrategy:Ke.scrollStrategy||this._scrollStrategy(),panelClass:Ke.panelClass,hasBackdrop:Ke.hasBackdrop,direction:Ke.direction,minWidth:Ke.minWidth,minHeight:Ke.minHeight,maxWidth:Ke.maxWidth,maxHeight:Ke.maxHeight,width:Ke.width,height:Ke.height,disposeOnNavigation:Ke.closeOnNavigation,disableAnimations:Ke.disableAnimations});return Ke.backdropClass&&(Ct.backdropClass=Ke.backdropClass),Ct}_attachContainer(Ke,Ct,Wt){const ln=Wt.injector||Wt.viewContainerRef?.injector,Rn=[{provide:ne,useValue:Wt},{provide:I,useValue:Ct},{provide:L.d,useValue:Ke}];let Dn;Wt.container?"function"==typeof Wt.container?Dn=Wt.container:(Dn=Wt.container.type,Rn.push(...Wt.container.providers(Wt))):Dn=T;const Gn=new r.A8(Dn,Wt.viewContainerRef,t.zZn.create({parent:ln||this._injector,providers:Rn}));return Ke.attach(Gn).instance}
3_attachDialogContent(Ke,Ct,Wt,ln){if(Ke instanceof a.C4Q){const Rn=this._createInjector(ln,Ct,Wt,void 0);let Dn={$implicit:ln.data,dialogRef:Ct};ln.templateContext&&(Dn={...Dn,..."function"==typeof ln.templateContext?ln.templateContext():ln.templateContext}),Wt.attachTemplatePortal(new r.VA(Ke,null,Dn,Rn))}else{const Rn=this._createInjector(ln,Ct,Wt,this._injector),Dn=Wt.attachComponentPortal(new r.A8(Ke,ln.viewContainerRef,Rn));Ct.componentRef=Dn,Ct.componentInstance=Dn.instance}}_createInjector(Ke,Ct,Wt,ln){const Rn=Ke.injector||Ke.viewContainerRef?.injector,Dn=[{provide:Z,useValue:Ke.data},{provide:I,useValue:Ct}];return Ke.providers&&("function"==typeof Ke.providers?Dn.push(...Ke.providers(Ct,Ke,Wt)):Dn.push(...Ke.providers)),Ke.direction&&(!Rn||!Rn.get(se.D,null,{optional:!0}))&&Dn.push({provide:se.D,useValue:oe(Ke.direction)}),t.zZn.create({parent:Rn||ln,providers:Dn})}_removeOpenDialog(Ke,Ct){const Wt=this.openDialogs.indexOf(Ke);Wt>-1&&(this.openDialogs.splice(Wt,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((ln,Rn)=>{ln?Rn.setAttribute("aria-hidden",ln):Rn.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),Ct&&this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(Ke){if(Ke.parentElement){const Ct=Ke.parentElement.children;for(let Wt=Ct.length-1;Wt>-1;Wt--){const ln=Ct[Wt];ln!==Ke&&"SCRIPT"!==ln.nodeName&&"STYLE"!==ln.nodeName&&!ln.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(ln,ln.getAttribute("aria-hidden")),ln.setAttribute("aria-hidden","true"))}}}_getAfterAllClosed(){const Ke=this._parentDialog;return Ke?Ke._getAfterAllClosed():this._afterAllClosedAtThisLevel}static \u0275fac=function(Ct){return new(Ct||Ne)};static \u0275prov=t.jDH({token:Ne,factory:Ne.\u0275fac,providedIn:"root"})}return Ne})();function ie(Ne,ze){let Ke=Ne.length;for(;Ke--;)ze(Ne[Ke])}let Ce=(()=>{class Ne{static \u0275fac=function(Ct){return new(Ct||Ne)};static \u0275mod=a.$C({type:Ne});static \u0275inj=t.G2t({providers:[H],imports:[L.t,r.jc,_.A,r.jc]})}return Ne})();var Ue=o(79355),nt=o(18107),we=o(57786),at=o(5964),et=(o(75272),o(21715));function xe(Ne,ze){}class De{viewContainerRef;injector;id;role="dialog";panelClass="";hasBackdrop=!0;backdropClass="";disableClose=!1;closePredicate;width="";height="";minWidth;minHeight;maxWidth;maxHeight;position;data=null;direction;ariaDescribedBy=null;ariaLabelledBy=null;ariaLabel=null;ariaModal=!1;autoFocus="first-tabbable";restoreFocus=!0;delayFocusTrap=!0;scrollStrategy;closeOnNavigation=!0;enterAnimationDuration;exitAnimationDuration}const ue="mdc-dialog--open",z="mdc-dialog--opening",de="mdc-dialog--closing";let $=(()=>{class Ne extends T{_animationStateChanged=new a.bkB;_animationsEnabled=!(0,nt._)();_actionSectionCount=0;_hostElement=this._elementRef.nativeElement;_enterAnimationDuration=this._animationsEnabled?Be(this._config.enterAnimationDuration)??150:0;_exitAnimationDuration=this._animationsEnabled?Be(this._config.exitAnimationDuration)??75:0;_animationTimer=null;_contentAttached(){super._contentAttached(),this._startOpenAnimation()}_startOpenAnimation(){this._animationStateChanged.emit({state:"opening",totalTime:this._enterAnimationDuration}),this._animationsEnabled?(this._hostElement.style.setProperty(K,`${this._enterAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(z,ue)),this._waitForAnimationToComplete(this._enterAnimationDuration,this._finishDialogOpen)):(this._hostElement.classList.add(ue),Promise.resolve().then(()=>this._finishDialogOpen()))}_startExitAnimation(){this._animationStateChanged.emit({state:"closing",totalTime:this._exitAnimationDuration}),this._hostElement.classList.remove(ue),this._animationsEnabled?(this._hostElement.style.setProperty(K,`${this._exitAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(de)),this._waitForAnimationToComplete(this._exitAnimationDuration,this._finishDialogClose)):Promise.resolve().then(()=>this._finishDialogClose())}_updateActionSectionCount(Ke){this._actionSectionCount+=Ke,this._changeDetectorRef.markForCheck()}_finishDialogOpen=()=>{this._clearAnimationClasses(),this._openAnimationDone(this._enterAnimationDuration)};_finishDialogClose=()=>{this._clearAnimationClasses(),this._animationStateChanged.emit({state:"closed",totalTime:this._exitAnimationDuration})};_clearAnimationClasses(){this._hostElement.classList.remove(z,de)}_waitForAnimationToComplete(Ke,Ct){null!==this._animationTimer&&clearTimeout(this._animationTimer),this._animationTimer=setTimeout(Ct,Ke)}_requestAnimationFrame(Ke){this._ngZone.runOutsideAngular(()=>{"function"==typeof requestAnimationFrame?requestAnimationFrame(Ke):Ke()})}_captureInitialFocus(){this._config.delayFocusTrap||this._trapFocus()}_openAnimationDone(Ke){this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:Ke})}ngOnDestroy(){super.ngOnDestroy(),null!==this._animationTimer&&clearTimeout(this._animationTimer)}attachComponentPortal(Ke){const Ct=super.attachComponentPortal(Ke);return Ct.location.nativeElement.classList.add("mat-mdc-dialog-component-host"),Ct}static \u0275fac=(()=>{let Ke;return function(Wt){return(Ke||(Ke=a.xGo(Ne)))(Wt||Ne)}})();static \u0275cmp=a.VBU({type:Ne,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-mdc-dialog-container","mdc-dialog"],hostVars:10,hostBindings:function(Ct,Wt){2&Ct&&(a.Avn("id",Wt._config.id),a.BMQ("aria-modal",Wt._config.ariaModal)("role",Wt._config.role)("aria-labelledby",Wt._config.ariaLabel?null:Wt._ariaLabelledByQueue[0])("aria-label",Wt._config.ariaLabel)("aria-describedby",Wt._config.ariaDescribedBy||null),a.AVh("_mat-animation-noopable",!Wt._animationsEnabled)("mat-mdc-dialog-container-with-actions",Wt._actionSectionCount>0))},features:[a.Vt3],decls:3,vars:0,consts:[[1,"mat-mdc-dialog-inner-container","mdc-dialog__container"],[1,"mat-mdc-dialog-surface","mdc-dialog__surface"],["cdkPortalOutlet",""]],template:function(Ct,Wt){1&Ct&&(a.j41(0,"div",0)(1,"div",1),a.DNE(2,xe,0,0,"ng-template",2),a.k0s()())},dependencies:[r.I3],styles:['.mat-mdc-dialog-container{width:100%;height:100%;display:block;box-sizing:border-box;max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit;outline:0}.cdk-overlay-pane.mat-mdc-dialog-panel{max-width:var(--mat-dialog-container-max-width, 560px);min-width:var(--mat-dialog-container-min-width, 280px)}@media(max-width: 599px){.cdk-overlay-pane.mat-mdc-dialog-panel{max-width:var(--mat-dialog-container-small-max-width, calc(100vw - 32px))}}.mat-mdc-dialog-inner-container{display:flex;flex-direction:row;align-items:center;justify-content:space-around;box-sizing:border-box;height:100%;opacity:0;transition:opacity linear var(--mat-dialog-transition-duration, 0ms);max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit}.mdc-dialog--closing .mat-mdc-dialog-inner-container{transition:opacity 75ms linear;transform:none}.mdc-dialog--open .mat-mdc-dialog-inner-container{opacity:1}._mat-animation-noopable .mat-mdc-dialog-inner-container{transition:none}.mat-mdc-dialog-surface{display:flex;flex-direction:column;flex-grow:0;flex-shrink:0;box-sizing:border-box;width:100%;height:100%;position:relative;overflow-y:auto;outline:0;transform:scale(0.8);transition:transform var(--mat-dialog-transition-duration, 0ms) cubic-bezier(0, 0, 0.2, 1);max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit;box-shadow:var(--mat-dialog-container-elevation-shadow, none);border-radius:var(--mat-dialog-container-shape, var(--mat-sys-corner-extra-large, 4px));background-color:var(--mat-dialog-container-color, var(--mat-sys-surface, white))}[dir=rtl] .mat-mdc-dialog-surface{text-align:right}.mdc-dialog--open .mat-mdc-dialog-surface,.mdc-dialog--closing .mat-mdc-dialog-surface{transform:none}._mat-animation-noopable .mat-mdc-dialog-surface{transition:none}.mat-mdc-dialog-surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:2px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}.mat-mdc-dialog-title{display:block;position:relative;flex-shrink:0;box-sizing:border-box;margin:0 0 1px;padding:var(--mat-dialog-headline-padding, 6px 24px 13px)}.mat-mdc-dialog-title::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}[dir=rtl] .mat-mdc-dialog-title{text-align:right}.mat-mdc-dialog-container .mat-mdc-dialog-title{color:var(--mat-dialog-subhead-color, var(--mat-sys-on-surface, rgba(0, 0, 0, 0.87)));font-family:var(--mat-dialog-subhead-font, var(--mat-sys-headline-small-font, inherit));line-height:var(--mat-dialog-subhead-line-height, var(--mat-sys-headline-small-line-height, 1.5rem));font-size:var(--mat-dialog-subhead-size, var(--mat-sys-headline-small-size, 1rem));font-weight:var(--mat-dialog-subhead-weight, var(--mat-sys-headline-small-weight, 400));letter-spacing:var(--mat-dialog-subhead-tracking, var(--mat-sys-headline-small-tracking, 0.03125em))}.mat-mdc-dialog-content{display:block;flex-grow:1;box-sizing:border-box;margin:0;overflow:auto;max-height:65vh}.mat-mdc-dialog-content>:first-child{margin-top:0}.mat-mdc-dialog-content>:last-child{margin-bottom:0}.mat-mdc-dialog-container .mat-mdc-dialog-content{color:var(--mat-dialog-supporting-text-color, var(--mat-sys-on-surface-variant, rgba(0, 0, 0, 0.6)));font-family:var(--mat-dialog-supporting-text-font, var(--mat-sys-body-medium-font, inherit));line-height:var(--mat-dialog-supporting-text-line-height, var(--mat-sys-body-medium-line-height, 1.5rem));font-size:var(--mat-dialog-supporting-text-size, var(--mat-sys-body-medium-size, 1rem));font-weight:var(--mat-dialog-supporting-text-weight, var(--mat-sys-body-medium-weight, 400));letter-spacing:var(--mat-dialog-supporting-text-tracking, var(--mat-sys-body-medium-tracking, 0.03125em))}.mat-mdc-dialog-container .mat-mdc-dialog-content{padding:var(--mat-dialog-content-padding, 20px 24px)}.mat-mdc-dialog-container-with-actions .mat-mdc-dialog-content{padding:var(--mat-dialog-with-actions-content-padding, 20px 24px 0)}.mat-mdc-dialog-container .mat-mdc-dialog-title+.mat-mdc-dialog-content{padding-top:0}.mat-mdc-dialog-actions{display:flex;position:relative;flex-shrink:0;flex-wrap:wrap;align-items:center;box-sizing:border-box;min-height:52px;margin:0;border-top:1px solid rgba(0,0,0,0);padding:var(--mat-dialog-actions-padding, 16px 24px);justify-content:var(--mat-dialog-actions-alignment, flex-end)}@media(forced-colors: active){.mat-mdc-dialog-actions{border-top-color:CanvasText}}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-start,.mat-mdc-dialog-actions[align=start]{justify-content:start}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-center,.mat-mdc-dialog-actions[align=center]{justify-content:center}
3.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-end,.mat-mdc-dialog-actions[align=end]{justify-content:flex-end}.mat-mdc-dialog-actions .mat-button-base+.mat-button-base,.mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-mdc-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}.mat-mdc-dialog-component-host{display:contents}\n'],encapsulation:2})}return Ne})();const K="--mat-dialog-transition-duration";function Be(Ne){return null==Ne?null:"number"==typeof Ne?Ne:Ne.endsWith("ms")?(0,Ue.c)(Ne.substring(0,Ne.length-2)):Ne.endsWith("s")?1e3*(0,Ue.c)(Ne.substring(0,Ne.length-1)):"0"===Ne?0:null}var Ye=function(Ne){return Ne[Ne.OPEN=0]="OPEN",Ne[Ne.CLOSING=1]="CLOSING",Ne[Ne.CLOSED=2]="CLOSED",Ne}(Ye||{});class Se{_ref;_config;_containerInstance;componentInstance;componentRef;disableClose;id;_afterOpened=new M.B;_beforeClosed=new M.B;_result;_closeFallbackTimeout;_state=Ye.OPEN;_closeInteractionType;constructor(ze,Ke,Ct){this._ref=ze,this._config=Ke,this._containerInstance=Ct,this.disableClose=Ke.disableClose,this.id=ze.id,ze.addPanelClass("mat-mdc-dialog-panel"),Ct._animationStateChanged.pipe((0,at.p)(Wt=>"opened"===Wt.state),(0,d.s)(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),Ct._animationStateChanged.pipe((0,at.p)(Wt=>"closed"===Wt.state),(0,d.s)(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),ze.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose()}),(0,we.h)(this.backdropClick(),this.keydownEvents().pipe((0,at.p)(Wt=>Wt.keyCode===D.g&&!this.disableClose&&!(0,f.rp)(Wt)))).subscribe(Wt=>{this.disableClose||(Wt.preventDefault(),function pt(Ne,ze,Ke){return Ne._closeInteractionType=ze,Ne.close(Ke)}(this,"keydown"===Wt.type?"keyboard":"mouse"))})}close(ze){const Ke=this._config.closePredicate;Ke&&!Ke(ze,this._config,this.componentInstance)||(this._result=ze,this._containerInstance._animationStateChanged.pipe((0,at.p)(Ct=>"closing"===Ct.state),(0,d.s)(1)).subscribe(Ct=>{this._beforeClosed.next(ze),this._beforeClosed.complete(),this._ref.overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),Ct.totalTime+100)}),this._state=Ye.CLOSING,this._containerInstance._startExitAnimation())}afterOpened(){return this._afterOpened}afterClosed(){return this._ref.closed}beforeClosed(){return this._beforeClosed}backdropClick(){return this._ref.backdropClick}keydownEvents(){return this._ref.keydownEvents}updatePosition(ze){let Ke=this._ref.config.positionStrategy;return ze&&(ze.left||ze.right)?ze.left?Ke.left(ze.left):Ke.right(ze.right):Ke.centerHorizontally(),ze&&(ze.top||ze.bottom)?ze.top?Ke.top(ze.top):Ke.bottom(ze.bottom):Ke.centerVertically(),this._ref.updatePosition(),this}updateSize(ze="",Ke=""){return this._ref.updateSize(ze,Ke),this}addPanelClass(ze){return this._ref.addPanelClass(ze),this}removePanelClass(ze){return this._ref.removePanelClass(ze),this}getState(){return this._state}_finishDialogClose(){this._state=Ye.CLOSED,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null}}const Ge=new t.nKC("MatMdcDialogData"),bt=new t.nKC("mat-mdc-dialog-default-options"),me=new t.nKC("mat-mdc-dialog-scroll-strategy",{providedIn:"root",factory:()=>{const Ne=(0,t.WQX)(t.zZn);return()=>(0,L.s)(Ne)}});let J=(()=>{class Ne{_defaultOptions=(0,t.WQX)(bt,{optional:!0});_scrollStrategy=(0,t.WQX)(me);_parentDialog=(0,t.WQX)(Ne,{optional:!0,skipSelf:!0});_idGenerator=(0,t.WQX)(E._);_injector=(0,t.WQX)(t.zZn);_dialog=(0,t.WQX)(H);_animationsDisabled=(0,nt._)();_openDialogsAtThisLevel=[];_afterAllClosedAtThisLevel=new M.B;_afterOpenedAtThisLevel=new M.B;dialogConfigClass=De;_dialogRefConstructor;_dialogContainerType;_dialogDataToken;get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){const Ke=this._parentDialog;return Ke?Ke._getAfterAllClosed():this._afterAllClosedAtThisLevel}afterAllClosed=(0,v.v)(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe((0,O.Z)(void 0)));constructor(){this._dialogRefConstructor=Se,this._dialogContainerType=$,this._dialogDataToken=Ge}open(Ke,Ct){let Wt;(Ct={...this._defaultOptions||new De,...Ct}).id=Ct.id||this._idGenerator.getId("mat-mdc-dialog-"),Ct.scrollStrategy=Ct.scrollStrategy||this._scrollStrategy();const ln=this._dialog.open(Ke,{...Ct,positionStrategy:(0,L.f)(this._injector).centerHorizontally().centerVertically(),disableClose:!0,closePredicate:void 0,closeOnDestroy:!1,closeOnOverlayDetachments:!1,disableAnimations:this._animationsDisabled||"0"===Ct.enterAnimationDuration?.toLocaleStr
3ing()||"0"===Ct.exitAnimationDuration?.toString(),container:{type:this._dialogContainerType,providers:()=>[{provide:this.dialogConfigClass,useValue:Ct},{provide:ne,useValue:Ct}]},templateContext:()=>({dialogRef:Wt}),providers:(Rn,Dn,Gn)=>(Wt=new this._dialogRefConstructor(Rn,Ct,Gn),Wt.updatePosition(Ct?.position),[{provide:this._dialogContainerType,useValue:Gn},{provide:this._dialogDataToken,useValue:Dn.data},{provide:this._dialogRefConstructor,useValue:Wt}])});return Wt.componentRef=ln.componentRef,Wt.componentInstance=ln.componentInstance,this.openDialogs.push(Wt),this.afterOpened.next(Wt),Wt.afterClosed().subscribe(()=>{const Rn=this.openDialogs.indexOf(Wt);Rn>-1&&(this.openDialogs.splice(Rn,1),this.openDialogs.length||this._getAfterAllClosed().next())}),Wt}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(Ke){return this.openDialogs.find(Ct=>Ct.id===Ke)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_closeDialogs(Ke){let Ct=Ke.length;for(;Ct--;)Ke[Ct].close()}static \u0275fac=function(Ct){return new(Ct||Ne)};static \u0275prov=t.jDH({token:Ne,factory:Ne.\u0275fac,providedIn:"root"})}return Ne})(),At=(()=>{class Ne{static \u0275fac=function(Ct){return new(Ct||Ne)};static \u0275mod=a.$C({type:Ne});static \u0275inj=t.G2t({providers:[J],imports:[Ce,L.t,r.jc,et.M,et.M]})}return Ne})()},88141:(qe,ee,o)=>{"use strict";o.d(ee,{M:()=>v});var a=o(98071),t=o(39974),u=o(54360),M=o(33669);function v(r,_,h){const C=(0,a.T)(r)||_||h?{next:r,error:_,complete:h}:r;return C?(0,t.N)((b,D)=>{var f;null===(f=C.subscribe)||void 0===f||f.call(C);let O=!0;b.subscribe((0,u._)(D,d=>{var L;null===(L=C.next)||void 0===L||L.call(C,d),D.next(d)},()=>{var d;O=!1,null===(d=C.complete)||void 0===d||d.call(C),D.complete()},d=>{var L;O=!1,null===(L=C.error)||void 0===L||L.call(C,d),D.error(d)},()=>{var d,L;O&&(null===(d=C.unsubscribe)||void 0===d||d.call(C)),null===(L=C.finalize)||void 0===L||L.call(C)}))}):M.D}},88511:(qe,ee,o)=>{"use strict";o.d(ee,{_:()=>M});var a=o(2615),t=o(73664);const u={};let M=(()=>{class v{_appId=(0,a.WQX)(t.sZ2);getId(_){return"ng"!==this._appId&&(_+=this._appId),u.hasOwnProperty(_)||(u[_]=0),`${_}${u[_]++}`}static \u0275fac=function(h){return new(h||v)};static \u0275prov=a.jDH({token:v,factory:v.\u0275fac,providedIn:"root"})}return v})()},88834:(qe,ee,o)=>{"use strict";o.d(ee,{$z:()=>O,Hl:()=>w});var a=o(23768),t=o(73664),u=o(2615),M=o(6229),v=o(21715);const r=["matButton",""],_=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],h=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"],f=new Map([["text",["mat-mdc-button"]],["filled",["mdc-button--unelevated","mat-mdc-unelevated-button"]],["elevated",["mdc-button--raised","mat-mdc-raised-button"]],["outlined",["mdc-button--outlined","mat-mdc-outlined-button"]],["tonal",["mat-tonal-button"]]]);let O=(()=>{class Z extends a.a{get appearance(){return this._appearance}set appearance(oe){this.setAppearance(oe||this._config?.defaultAppearance||"text")}_appearance=null;constructor(){super();const oe=function d(Z){return Z.hasAttribute("mat-raised-button")?"elevated":Z.hasAttribute("mat-stroked-button")?"outlined":Z.hasAttribute("mat-flat-button")?"filled":Z.hasAttribute("mat-button")?"text":null}(this._elementRef.nativeElement);oe&&this.setAppearance(oe)}setAppearance(oe){if(oe===this._appearance)return;const H=this._elementRef.nativeElement.classList,ie=this._appearance?f.get(this._appearance):null,Ce=f.get(oe);ie&&H.remove(...ie),H.add(...Ce),this._appearance=oe}static \u0275fac=function(H){return new(H||Z)};static \u0275cmp=t.VBU({type:Z,selectors:[["button","matButton",""],["a","matButton",""],["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""],["a","mat-button",""],["a","mat-raised-button",""],["a","mat-flat-button",""],["a","mat-stroked-button",""]],hostAttrs:[1,"mdc-button"],inputs:{appearance:[0,"matButton","appearance"]},exportAs:["matButton","matAnchor"],features:[t.Vt3],attrs:r,ngContentSelectors:h,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(H,ie){1&H&&(t.NAR(_),t.Hgh(0,"span",0),t.SdG(1),t.rj2(2,"span",1),t.SdG(3,1),t.eux(),t.SdG(4,2),t.Hgh(5,"span",2)(6,"span",3)),2&H&&t.AVh("mdc-button__ripple",!ie._isFab)("mdc-fab__ripple",ie._isFab)},styles:['.mat-mdc-button-base{text-decoration:none}.mat-mdc-button-base .mat-icon{min-height:fit-content;flex-shrink:0}.mdc-button{-webkit-user-select:none;user-select:none;position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0);padding:0 8px}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__label{position:relative}.mat-mdc-button{padding:0 var(--mat-button-text-horizontal-padding, 12px);height:var(--mat-button-text-container-height, 40px);font-family:var(--mat-button-text-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mat-button-text-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mat-button-text-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mat-button-text-label-text-transform);font-weight:var(--mat-button-text-label-text-weight, var(--mat-sys-label-large-weight))}.mat-mdc-button,.mat-mdc-button .mdc-button__ripple{border-radius:var(--mat-button-text-container-shape, var(--mat-sys-corner-full))}.mat-mdc-button:not(:disabled){color:var(--mat-button-text-label-text-color, var(--mat-sys-primary))}.mat-mdc-button[disabled],.mat-mdc-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-button-text-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-button:has(.material-icons,mat-icon,[matButtonIcon]){padding:0 var(--mat-button-text-with-icon-horizontal-padding, 16px)}.mat-mdc-button>.mat-icon{margin-right:var(--mat-button-text-icon-spacing, 8px);margin-left:var(--mat-button-text-icon-offset, -4px)}[dir=rtl] .mat-mdc-button>.mat-icon{margin-right:var(--mat-button-text-icon-offset, -4px);margin-left:var(--mat-button-text-icon-spacing, 8px)}.mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-text-icon-offset, -4px);margin-left:var(--mat-button-text-icon-spacing, 8px)}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-text-icon-spacing, 8px);margin-left:var(--mat-button-text-icon-offset, -4px)}.mat-mdc-button .mat-ripple-element{background-color:var(--mat-button-text-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-text-state-layer-color, var(--mat-sys-primary))}.mat-mdc-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-text-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-text-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-text-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-text-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;display:var(--mat-button-text-touch-target-display, block);left:0;right:0;transform:translateY(-50%)}
3.mat-mdc-unelevated-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);height:var(--mat-button-filled-container-height, 40px);font-family:var(--mat-button-filled-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mat-button-filled-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mat-button-filled-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mat-button-filled-label-text-transform);font-weight:var(--mat-button-filled-label-text-weight, var(--mat-sys-label-large-weight));padding:0 var(--mat-button-filled-horizontal-padding, 24px)}.mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-button-filled-icon-spacing, 8px);margin-left:var(--mat-button-filled-icon-offset, -8px)}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-button-filled-icon-offset, -8px);margin-left:var(--mat-button-filled-icon-spacing, 8px)}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-filled-icon-offset, -8px);margin-left:var(--mat-button-filled-icon-spacing, 8px)}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-filled-icon-spacing, 8px);margin-left:var(--mat-button-filled-icon-offset, -8px)}.mat-mdc-unelevated-button .mat-ripple-element{background-color:var(--mat-button-filled-ripple-color, color-mix(in srgb, var(--mat-sys-on-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-filled-state-layer-color, var(--mat-sys-on-primary))}.mat-mdc-unelevated-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-filled-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-unelevated-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-filled-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-unelevated-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-filled-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-unelevated-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-filled-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-unelevated-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;display:var(--mat-button-filled-touch-target-display, block);left:0;right:0;transform:translateY(-50%)}.mat-mdc-unelevated-button:not(:disabled){color:var(--mat-button-filled-label-text-color, var(--mat-sys-on-primary));background-color:var(--mat-button-filled-container-color, var(--mat-sys-primary))}.mat-mdc-unelevated-button,.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mat-button-filled-container-shape, var(--mat-sys-corner-full))}.mat-mdc-unelevated-button[disabled],.mat-mdc-unelevated-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-button-filled-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mat-button-filled-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-raised-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);box-shadow:var(--mat-button-protected-container-elevation-shadow, var(--mat-sys-level1));height:var(--mat-button-protected-container-height, 40px);font-family:var(--mat-button-protected-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mat-button-protected-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mat-button-protected-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mat-button-protected-label-text-transform);font-weight:var(--mat-button-protected-label-text-weight, var(--mat-sys-label-large-weight));padding:0 var(--mat-button-protected-horizontal-padding, 24px)}.mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-button-protected-icon-spacing, 8px);margin-left:var(--mat-button-protected-icon-offset, -8px)}[dir=rtl] .mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-button-protected-icon-offset, -8px);margin-left:var(--mat-button-protected-icon-spacing, 8px)}.mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-protected-icon-offset, -8px);margin-left:var(--mat-button-protected-icon-spacing, 8px)}[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-protected-icon-spacing, 8px);margin-left:var(--mat-button-protected-icon-offset, -8px)}.mat-mdc-raised-button .mat-ripple-element{background-color:var(--mat-button-protected-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-protected-state-layer-color, var(--mat-sys-primary))}.mat-mdc-raised-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-protected-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-raised-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-protected-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-raised-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-protected-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-raised-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-protected-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-raised-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;display:var(--mat-button-protected-touch-target-display, block);left:0;right:0;transform:translateY(-50%)}.mat-mdc-raised-button:not(:disabled){color:var(--mat-button-protected-label-text-color, var(--mat-sys-primary));background-color:var(--mat-button-protected-container-color, var(--mat-sys-surface))}.mat-mdc-raised-button,.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mat-button-protected-container-shape, var(--mat-sys-corner-full))}.mat-mdc-raised-button:hover{box-shadow:var(--mat-button-protected-hover-container-elevation-shadow, var(--mat-sys-level2))}.mat-mdc-raised-button:focus{box-shadow:var(--mat-button-protected-focus-container-elevation-shadow, var(--mat-sys-level1))}.mat-mdc-raised-button:active,.mat-mdc-raised-button:focus:active{box-shadow:var(--mat-button-protected-pressed-container-elevation-shadow, var(--mat-sys-level1))}.mat-mdc-raised-button[disabled],.mat-mdc-raised-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-button-protected-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mat-button-protected-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-raised-button[disabled].mat-mdc-button-disabled,.mat-mdc-raised-button.mat-mdc-button-disabled.mat-mdc-button-disabled{box-shadow:var(--mat-button-protected-disabled-container-elevation-shadow, var(--mat-sys-level0))}.mat-mdc-raised-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-outlined-button{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1);height:var(--mat-button-outlined-container-height, 40px);font-family:var(--mat-button-outlined-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mat-button-outlined-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mat-button-outlined-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mat-button-outlined-label-text-transform);font-weight:var(--mat-button-outlined-label-text-weight, var(--mat-sys-label-large-weight));border-radius:var(--mat-button-outlined-container-shape, var(--mat-sys-corner-full));border-width:var(--mat-button-outlined-outline-width, 1px);padding:0 var(--mat-button-outlined-horizontal-padding, 24px)}.mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-button-outlined-icon-spacing, 8px);margin-left:var(--mat-button-outlined-icon-offset, -8px)}[dir=rtl] .mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-button-outlined-icon-offset, -8px);margin-left:var(--mat-button-outlined-icon-spacing, 8px)}.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-outlined-icon-offset, -8px);margin-left:var(--mat-button-outlined-icon-spacing, 8px)}[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-outlined-icon-spacing, 8px);margin-left:var(--mat-button-outlined-icon-offset, -8px)}.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-button-outlined-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-outlined-state-layer-color, var(--mat-sys-primary))}.mat-mdc-outlined-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-outlined-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-outlined-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-outlined-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-outlined-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-outlined-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-outlined-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-outlined-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;display:var(--mat-button-outlined-touch-target-display, block);left:0;right:0;transform:translateY(-50%)}.mat-mdc-outlined-button:not(:disabled){color:var(--mat-button-outlined-label-text-color, var(--mat-sys-primary));border-color:var(--mat-button-outlined-outline-color, var(--mat-sys-outline))}.mat-mdc-outlined-button[disabled],.mat-mdc-outlined-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-button-outlined-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));border-color:var(--mat-button-outlined-disabled-outline-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive{pointer-events:auto}
3.mat-tonal-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);height:var(--mat-button-tonal-container-height, 40px);font-family:var(--mat-button-tonal-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mat-button-tonal-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mat-button-tonal-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mat-button-tonal-label-text-transform);font-weight:var(--mat-button-tonal-label-text-weight, var(--mat-sys-label-large-weight));padding:0 var(--mat-button-tonal-horizontal-padding, 24px)}.mat-tonal-button:not(:disabled){color:var(--mat-button-tonal-label-text-color, var(--mat-sys-on-secondary-container));background-color:var(--mat-button-tonal-container-color, var(--mat-sys-secondary-container))}.mat-tonal-button,.mat-tonal-button .mdc-button__ripple{border-radius:var(--mat-button-tonal-container-shape, var(--mat-sys-corner-full))}.mat-tonal-button[disabled],.mat-tonal-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-button-tonal-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mat-button-tonal-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-tonal-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-tonal-button>.mat-icon{margin-right:var(--mat-button-tonal-icon-spacing, 8px);margin-left:var(--mat-button-tonal-icon-offset, -8px)}[dir=rtl] .mat-tonal-button>.mat-icon{margin-right:var(--mat-button-tonal-icon-offset, -8px);margin-left:var(--mat-button-tonal-icon-spacing, 8px)}.mat-tonal-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-tonal-icon-offset, -8px);margin-left:var(--mat-button-tonal-icon-spacing, 8px)}[dir=rtl] .mat-tonal-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-tonal-icon-spacing, 8px);margin-left:var(--mat-button-tonal-icon-offset, -8px)}.mat-tonal-button .mat-ripple-element{background-color:var(--mat-button-tonal-ripple-color, color-mix(in srgb, var(--mat-sys-on-secondary-container) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-tonal-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-tonal-state-layer-color, var(--mat-sys-on-secondary-container))}.mat-tonal-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-tonal-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-tonal-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-tonal-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-tonal-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-tonal-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-tonal-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-tonal-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-tonal-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-tonal-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-tonal-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;display:var(--mat-button-tonal-touch-target-display, block);left:0;right:0;transform:translateY(-50%)}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button,.mat-tonal-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before,.mat-tonal-button .mat-mdc-button-ripple,.mat-tonal-button .mat-mdc-button-persistent-ripple,.mat-tonal-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-tonal-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before,.mat-tonal-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}
3.mat-mdc-button .mdc-button__label,.mat-mdc-button .mat-icon,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-unelevated-button .mat-icon,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-raised-button .mat-icon,.mat-mdc-outlined-button .mdc-button__label,.mat-mdc-outlined-button .mat-icon,.mat-tonal-button .mdc-button__label,.mat-tonal-button .mat-icon{z-index:1;position:relative}.mat-mdc-button .mat-focus-indicator,.mat-mdc-unelevated-button .mat-focus-indicator,.mat-mdc-raised-button .mat-focus-indicator,.mat-mdc-outlined-button .mat-focus-indicator,.mat-tonal-button .mat-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:inherit}.mat-mdc-button:focus>.mat-focus-indicator::before,.mat-mdc-unelevated-button:focus>.mat-focus-indicator::before,.mat-mdc-raised-button:focus>.mat-focus-indicator::before,.mat-mdc-outlined-button:focus>.mat-focus-indicator::before,.mat-tonal-button:focus>.mat-focus-indicator::before{content:"";border-radius:inherit}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable,.mat-tonal-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon,.mat-tonal-button>.mat-icon{display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px}.mat-mdc-unelevated-button .mat-focus-indicator::before,.mat-tonal-button .mat-focus-indicator::before,.mat-mdc-raised-button .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-outlined-button .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px)*-1)}\n',"@media(forced-colors: active){.mat-mdc-button:not(.mdc-button--outlined),.mat-mdc-unelevated-button:not(.mdc-button--outlined),.mat-mdc-raised-button:not(.mdc-button--outlined),.mat-mdc-outlined-button:not(.mdc-button--outlined),.mat-mdc-button-base.mat-tonal-button,.mat-mdc-icon-button.mat-mdc-icon-button,.mat-mdc-outlined-button .mdc-button__ripple{outline:solid 1px}}\n"],encapsulation:2,changeDetection:0})}return Z})(),w=(()=>{class Z{static \u0275fac=function(H){return new(H||Z)};static \u0275mod=t.$C({type:Z});static \u0275inj=u.G2t({imports:[v.M,M.M,v.M]})}return Z})()},89273:(qe,ee,o)=>{"use strict";o.d(ee,{R:()=>a,g:()=>v,s:()=>M});var a=function(r){return r[r.NORMAL=0]="NORMAL",r[r.NEGATED=1]="NEGATED",r[r.INVERTED=2]="INVERTED",r}(a||{});let t,u;function M(){if(null==u){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return u=!1,u;if("scrollBehavior"in document.documentElement.style)u=!0;else{const r=Element.prototype.scrollTo;u=!!r&&!/\{\s*\[native code\]\s*\}/.test(r.toString())}}return u}function v(){if("object"!=typeof document||!document)return a.NORMAL;if(null==t){const r=document.createElement("div"),_=r.style;r.dir="rtl",_.width="1px",_.overflow="auto",_.visibility="hidden",_.pointerEvents="none",_.position="absolute";const h=document.createElement("div"),C=h.style;C.width="2px",C.height="1px",r.appendChild(h),document.body.appendChild(r),t=a.NORMAL,0===r.scrollLeft&&(r.scrollLeft=1,t=0===r.scrollLeft?a.NEGATED:a.INVERTED),r.remove()}return t}},89295:(qe,ee,o)=>{"use strict";o.d(ee,{W:()=>ie});var a=o(91029),t=o(84572),u=o(58750),M=o(71985),v=o(31397),r=o(47441),_=o(98071),h=o(6450);const C=["addListener","removeListener"],b=["addEventListener","removeEventListener"],D=["on","off"];function f(Ce,Ue,nt,we){if((0,_.T)(nt)&&(we=nt,nt=void 0),we)return f(Ce,Ue,nt).pipe((0,h.I)(we));const[at,Xe]=function E(Ce){return(0,_.T)(Ce.addEventListener)&&(0,_.T)(Ce.removeEventListener)}(Ce)?b.map(et=>xe=>Ce[et](Ue,xe,nt)):function d(Ce){return(0,_.T)(Ce.addListener)&&(0,_.T)(Ce.removeListener)}(Ce)?C.map(O(Ce,Ue)):function L(Ce){return(0,_.T)(Ce.on)&&(0,_.T)(Ce.off)}(Ce)?D.map(O(Ce,Ue)):[];if(!at&&(0,r.X)(Ce))return(0,v.Z)(et=>f(et,Ue,nt))((0,u.Tg)(Ce));if(!at)throw new TypeError("Invalid event target");return new M.c(et=>{const xe=(...De)=>et.next(1<De.length?De:De[0]);return at(xe),()=>Xe(xe)})}function O(Ce,Ue){return nt=>we=>Ce[nt](Ue,we)}
3var se=o(99172),Y=o(23294),ne=o(5964),U=o(96354),T=o(22816),I=o(44668),w=o(22193),Z=o(21495),N=o(1734),oe=o(2615),H=o(90645);let ie=(()=>{class Ce{constructor(nt,we,at){this.router=nt,this.togglz=we,this.window=at,this.scrollThreshold=-175,this.hysteresis=5,this.mainTopOffset=null;const Xe=(0,t.z)([this.togglz.getStateOf(w.i.HEADER_COMPACT).pipe((0,se.Z)(!1),(0,Y.F)()),this.router.events.pipe((0,ne.p)(xe=>xe instanceof a.wF),(0,se.Z)(null),(0,U.T)(()=>this.router.url),(0,Y.F)())]).pipe((0,U.T)(([xe,De])=>{const z=(De||"/").split("?")[0].split("#")[0].split("/")[1]||"";return xe&&(0,Z.PA)(z)}),(0,Y.F)()),et=f(this.window,"scroll").pipe((0,U.T)(()=>this.getScrollY()),(0,se.Z)(this.scrollThreshold-1),(0,Y.F)());this.compactActive$=(0,t.z)([Xe,et]).pipe((0,T.S)((xe,[De,ue])=>!!De&&(xe?ue>=this.scrollThreshold-this.hysteresis:ue>=this.scrollThreshold+this.hysteresis),!1),(0,Y.F)(),(0,I.t)(1))}getScrollY(){if(!this.window)return 0;const we=this.window.document?.querySelector(".main-content"),at=this.window.scrollY||this.window.pageYOffset||0;if(!we)return at;const Xe=we.getBoundingClientRect(),et=this.isFirefox();return et?null===this.mainTopOffset&&(this.mainTopOffset=Xe.top+at):this.mainTopOffset=null,at-(et&&null!==this.mainTopOffset?this.mainTopOffset:Xe.top+at)}isFirefox(){try{return/firefox/i.test(this.window?.navigator?.userAgent||"")}catch{return!1}}static{this.\u0275fac=function(we){return new(we||Ce)(oe.KVO(a.Ix),oe.KVO(H.v),oe.KVO(N.jf))}}static{this.\u0275prov=oe.jDH({token:Ce,factory:Ce.\u0275fac,providedIn:"root"})}}return Ce})()},89377:function(qe,ee,o){(function(){var a,t,M,v,r,_,h,C,D={}.hasOwnProperty;C=o(89700),h=C.isObject,_=C.isFunction,r=C.getValue,v=o(79213),a=o(68886),t=o(26813),M=o(43592),qe.exports=function(f){function O(d,L,E){var se,Y,ne,U;if(O.__super__.constructor.call(this,d),null==L)throw new Error("Missing element name. "+this.debugInfo());if(this.name=this.stringify.name(L),this.type=a.Element,this.attribs={},this.schemaTypeInfo=null,null!=E&&this.attribute(E),d.type===a.Document&&(this.isRoot=!0,this.documentObject=d,d.rootObject=this,d.children))for(Y=0,ne=(U=d.children).length;Y<ne;Y++)if((se=U[Y]).type===a.DocType){se.name=this.name;break}}return function(f,O){for(var d in O)D.call(O,d)&&(f[d]=O[d]);function L(){this.constructor=f}L.prototype=O.prototype,f.prototype=new L,f.__super__=O.prototype}(O,f),Object.defineProperty(O.prototype,"tagName",{get:function(){return this.name}}),Object.defineProperty(O.prototype,"namespaceURI",{get:function(){return""}}),Object.defineProperty(O.prototype,"prefix",{get:function(){return""}}),Object.defineProperty(O.prototype,"localName",{get:function(){return this.name}}),Object.defineProperty(O.prototype,"id",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),Object.defineProperty(O.prototype,"className",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),Object.defineProperty(O.prototype,"classList",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),Object.defineProperty(O.prototype,"attributes",{get:function(){return(!this.attributeMap||!this.attributeMap.nodes)&&(this.attributeMap=new M(this.attribs)),this.attributeMap}}),O.prototype.clone=function(){var L,E,se;for(L in(E=Object.create(this)).isRoot&&(E.documentObject=null),E.attribs={},se=this.attribs)D.call(se,L)&&(E.attribs[L]=se[L].clone());return E.children=[],this.children.forEach(function(Y){var ne;return(ne=Y.clone()).parent=E,E.children.push(ne)}),E},O.prototype.attribute=function(d,L){var E;if(null!=d&&(d=r(d)),h(d))for(E in d)D.call(d,E)&&this.attribute(E,d[E]);else _(L)&&(L=L.apply()),this.options.keepNullAttributes&&null==L?this.attribs[d]=new t(this,d,""):null!=L&&(this.attribs[d]=new t(this,d,L));return this},O.prototype.removeAttribute=function(d){var E,se;if(null==d)throw new Error("Missing attribute name. "+this.debugInfo());if(d=r(d),Array.isArray(d))for(E=0,se=d.length;E<se;E++)delete this.attribs[d[E]];else delete this.attribs[d];return this},O.prototype.toString=function(d){return this.options.writer.element(this,this.options.writer.filterOptions(d))},O.prototype.att=function(d,L){return this.attribute(d,L)},O.prototype.a=function(d,L){return this.attribute(d,L)},O.prototype.getAttribute=function(d){return this.attribs.hasOwnProperty(d)?this.attribs[d].value:null},O.prototype.setAttribute=function(d,L){throw new Error("This DOM method is not implemented."+this.debugInfo())},O.prototype.getAttributeNode=function(d){return this.attribs.hasOwnProperty(d)?this.attribs[d]:null},O.prototype.setAttributeNode=function(d){throw new Error("This DOM method is not implemented."+this.debugInfo())},O.prototype.removeAttributeNode=function(d){throw new Error("This DOM method is not implemented."+this.debugInfo())},O.prototype.getElementsByTagName=function(d){throw new Error("This DOM method is not implemented."+this.debugInfo())},O.prototype.getAttributeNS=function(d,L){throw new Error("This DOM method is not implemented."+this.debugInfo())},O.prototype.setAttributeNS=function(d,L,E){throw new Error("This DOM method is not implemented."+this.debugInfo())},O.prototype.removeAttributeNS=function(d,L){throw new Error("This DOM method is not implemented."+this.debugInfo())},O.prototype.getAttributeNodeNS=function(d,L){throw new Error("This DOM method is not implemented."+this.debugInfo())},O.prototype.setAttributeNodeNS=function(d){throw new Error("This DOM method is not implemented."+this.debugInfo())},O.prototype.getElementsByTagNameNS=function(d,L){throw new Error("This DOM method is not implemented."+this.debugInfo())},O.prototype.hasAttribute=function(d){return this.attribs.hasOwnProperty(d)},O.prototype.hasAttributeNS=function(d,L){throw new Error("This DOM method is not implemented."+this.debugInfo())},O.prototype.setIdAttribute=function(d,L){return this.attribs.hasOwnProperty(d)?this.attribs[d].isId:L},O.prototype.setIdAttributeNS=function(d,L,E){throw new Error("This DOM method is not implemented."+this.debugInfo())},O.prototype.setIdAttributeNode=function(d,L){throw new Error("This DOM method is not implemented."+this.debugInfo())},O.prototype.getElementsByTagName=function(d){throw new Error("This DOM method is not implemented."+this.debugInfo())},O.prototype.getElementsByTagNameNS=function(d,L){throw new Error("This DOM method is not implemented."+this.debugInfo())},O.prototype.getElementsByClassName=function(d){throw new Error("This DOM method is not implemented."+this.debugInfo())},O.prototype.isEqualNode=function(d){var L,E,se;if(!O.__super__.isEqualNode.apply(this,arguments).isEqualNode(d)||d.namespaceURI!==this.namespaceURI||d.prefix!==this.prefix||d.localName!==this.localName||d.attribs.length!==this.attribs.length)return!1;for(L=E=0,se=this.attribs.length-1;0<=se?E<=se:E>=se;L=0<=se?++E:--E)if(!this.attribs[L].isEqualNode(d.attribs[L]))return!1;return!0},O}(v)}).call(this)},89402:(qe,ee,o)=>{"use strict";o.d(ee,{I:()=>C});
3var a=o(29330),t=o(92771),u=o(7673),M=o(99437),v=o(88141),r=o(27997),_=o(2615),h=o(56846);let C=(()=>{class b{constructor(f,O){this._http=f,this._errorHandler=O,this.headers=new a.Lr({"Access-Control-Allow-Origin":"*"})}getPublicRecordSideBar(f){if(f.publicRecordId)return!this.$SideBarPublicUserRecordSubject||f.forceReload&&!this.sleepForceReloads?(this.sleepForceReloads=!0,this.$SideBarPublicUserRecordSubject=new t.m(1),setTimeout(()=>{this.sleepForceReloads=!1},100),this._http.get(runtimeEnvironment.API_WEB+f.publicRecordId+"/public-record.json",{headers:this.headers}).pipe((0,M.W)(O=>this._errorHandler.handleError(O)),(0,M.W)(()=>(0,u.of)({})),(0,v.M)(O=>{O.emails=(0,r.f)(O.emails),this.$SideBarPublicUserRecordSubject.next(O)}))):this.$SideBarPublicUserRecordSubject.asObservable();(0,u.of)({})}static{this.\u0275fac=function(O){return new(O||b)(_.KVO(a.Qq),_.KVO(h.c))}}static{this.\u0275prov=_.jDH({token:b,factory:b.\u0275fac,providedIn:"root"})}}return b})()},89417:(qe,ee,o)=>{"use strict";o.d(ee,{$R:()=>ir,BC:()=>pe,Bm:()=>ls,J3:()=>Me,JD:()=>Ri,MJ:()=>gi,X1:()=>Jo,YN:()=>Zo,ZU:()=>J,cV:()=>Ci,cb:()=>st,cz:()=>T,gE:()=>Qi,hs:()=>Zi,j4:()=>fr,k0:()=>Z,kq:()=>f,l_:()=>li,me:()=>Y,ok:()=>cs,pg:()=>I,qT:()=>nn,tU:()=>rr,v8:()=>oo,vO:()=>R,vS:()=>tt,ze:()=>Js});var a=o(73664),t=o(2615),u=o(23597),M=o(17705),v=o(57303),r=o(86648),_=o(27468),h=o(21413),C=o(96354);let b=(()=>{class fe{_renderer;_elementRef;onChange=Q=>{};onTouched=()=>{};constructor(Q,We){this._renderer=Q,this._elementRef=We}setProperty(Q,We){this._renderer.setProperty(this._elementRef.nativeElement,Q,We)}registerOnTouched(Q){this.onTouched=Q}registerOnChange(Q){this.onChange=Q}setDisabledState(Q){this.setProperty("disabled",Q)}static \u0275fac=function(We){return new(We||fe)(a.rXU(a.sFG),a.rXU(a.aKT))};static \u0275dir=a.FsC({type:fe})}return fe})(),D=(()=>{class fe extends b{static \u0275fac=(()=>{let Q;return function(Dt){return(Q||(Q=a.xGo(fe)))(Dt||fe)}})();static \u0275dir=a.FsC({type:fe,features:[a.Vt3]})}return fe})();const f=new t.nKC(""),L={provide:f,useExisting:(0,t.Rfq)(()=>Y),multi:!0},se=new t.nKC("");let Y=(()=>{class fe extends b{_compositionMode;_composing=!1;constructor(Q,We,Dt){super(Q,We),this._compositionMode=Dt,null==this._compositionMode&&(this._compositionMode=!function E(){const fe=(0,v.rb)()?(0,v.rb)().getUserAgent():"";return/android (\d+)/.test(fe.toLowerCase())}())}writeValue(Q){this.setProperty("value",Q??"")}_handleInput(Q){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(Q)}_compositionStart(){this._composing=!0}_compositionEnd(Q){this._composing=!1,this._compositionMode&&this.onChange(Q)}static \u0275fac=function(We){return new(We||fe)(a.rXU(a.sFG),a.rXU(a.aKT),a.rXU(se,8))};static \u0275dir=a.FsC({type:fe,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(We,Dt){1&We&&a.bIt("input",function(fi){return Dt._handleInput(fi.target.value)})("blur",function(){return Dt.onTouched()})("compositionstart",function(){return Dt._compositionStart()})("compositionend",function(fi){return Dt._compositionEnd(fi.target.value)})},standalone:!1,features:[a.Jv_([L]),a.Vt3]})}return fe})();function ne(fe){return null==fe||0===U(fe)}function U(fe){return null==fe?null:Array.isArray(fe)||"string"==typeof fe?fe.length:fe instanceof Set?fe.size:null}const T=new t.nKC(""),I=new t.nKC(""),w=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class Z{static min(Ee){return function N(fe){return Ee=>{if(null==Ee.value||null==fe)return null;const Q=parseFloat(Ee.value);return!isNaN(Q)&&Q<fe?{min:{min:fe,actual:Ee.value}}:null}}(Ee)}static max(Ee){return function oe(fe){return Ee=>{if(null==Ee.value||null==fe)return null;const Q=parseFloat(Ee.value);return!isNaN(Q)&&Q>fe?{max:{max:fe,actual:Ee.value}}:null}}(Ee)}static required(Ee){return function H(fe){return ne(fe.value)?{required:!0}:null}(Ee)}static requiredTrue(Ee){return function ie(fe){return!0===fe.value?null:{required:!0}}(Ee)}static email(Ee){return function Ce(fe){return ne(fe.value)||w.test(fe.value)?null:{email:!0}}(Ee)}static minLength(Ee){return function Ue(fe){return Ee=>{const Q=Ee.value?.length??U(Ee.value);return null===Q||0===Q?null:Q<fe?{minlength:{requiredLength:fe,actualLength:Q}}:null}}(Ee)}static maxLength(Ee){return nt(Ee)}static pattern(Ee){return function we(fe){if(!fe)return at;let Ee,Q;return"string"==typeof fe?(Q="","^"!==fe.charAt(0)&&(Q+="^"),Q+=fe,"$"!==fe.charAt(fe.length-1)&&(Q+="$"),Ee=new RegExp(Q)):(Q=fe.toString(),Ee=fe),We=>{if(ne(We.value))return null;const Dt=We.value;return Ee.test(Dt)?null:{pattern:{requiredPattern:Q,actualValue:Dt}}}}(Ee)}static nullValidator(Ee){return null}static compose(Ee){return de(Ee)}static composeAsync(Ee){return X(Ee)}}function nt(fe){return Ee=>{const Q=Ee.value?.length??U(Ee.value);return null!==Q&&Q>fe?{maxlength:{requiredLength:fe,actualLength:Q}}:null}}function at(fe){return null}function Xe(fe){return null!=fe}function et(fe){return(0,a.yLl)(fe)?(0,r.H)(fe):fe}function xe(fe){let Ee={};return fe.forEach(Q=>
3{Ee=null!=Q?{...Ee,...Q}:Ee}),0===Object.keys(Ee).length?null:Ee}function De(fe,Ee){return Ee.map(Q=>Q(fe))}function z(fe){return fe.map(Ee=>function ue(fe){return!fe.validate}(Ee)?Ee:Q=>Ee.validate(Q))}function de(fe){if(!fe)return null;const Ee=fe.filter(Xe);return 0==Ee.length?null:function(Q){return xe(De(Q,Ee))}}function ae(fe){return null!=fe?de(z(fe)):null}function X(fe){if(!fe)return null;const Ee=fe.filter(Xe);return 0==Ee.length?null:function(Q){const We=De(Q,Ee).map(et);return(0,_.p)(We).pipe((0,C.T)(xe))}}function $(fe){return null!=fe?X(z(fe)):null}function K(fe,Ee){return null===fe?[Ee]:Array.isArray(fe)?[...fe,Ee]:[fe,Ee]}function Be(fe){return fe._rawValidators}function Ye(fe){return fe._rawAsyncValidators}function Se(fe){return fe?Array.isArray(fe)?fe:[fe]:[]}function pt(fe,Ee){return Array.isArray(fe)?fe.includes(Ee):fe===Ee}function Ge(fe,Ee){const Q=Se(Ee);return Se(fe).forEach(Dt=>{pt(Q,Dt)||Q.push(Dt)}),Q}function bt(fe,Ee){return Se(Ee).filter(Q=>!pt(fe,Q))}class me{get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators=[];_rawAsyncValidators=[];_setValidators(Ee){this._rawValidators=Ee||[],this._composedValidatorFn=ae(this._rawValidators)}_setAsyncValidators(Ee){this._rawAsyncValidators=Ee||[],this._composedAsyncValidatorFn=$(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_onDestroyCallbacks=[];_registerOnDestroy(Ee){this._onDestroyCallbacks.push(Ee)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(Ee=>Ee()),this._onDestroyCallbacks=[]}reset(Ee=void 0){this.control&&this.control.reset(Ee)}hasError(Ee,Q){return!!this.control&&this.control.hasError(Ee,Q)}getError(Ee,Q){return this.control?this.control.getError(Ee,Q):null}}class J extends me{name;get formDirective(){return null}get path(){return null}}class R extends me{_parent=null;name=null;valueAccessor=null}class x{_cd;constructor(Ee){this._cd=Ee}get isTouched(){return this._cd?.control?._touched?.(),!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return this._cd?.control?._pristine?.(),!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return this._cd?.control?._status?.(),!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return this._cd?._submitted?.(),!!this._cd?.submitted}}let pe=(()=>{class fe extends x{constructor(Q){super(Q)}static \u0275fac=function(We){return new(We||fe)(a.rXU(R,2))};static \u0275dir=a.FsC({type:fe,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(We,Dt){2&We&&a.AVh("ng-untouched",Dt.isUntouched)("ng-touched",Dt.isTouched)("ng-pristine",Dt.isPristine)("ng-dirty",Dt.isDirty)("ng-valid",Dt.isValid)("ng-invalid",Dt.isInvalid)("ng-pending",Dt.isPending)},standalone:!1,features:[a.Vt3]})}return fe})(),st=(()=>{class fe extends x{constructor(Q){super(Q)}static \u0275fac=function(We){return new(We||fe)(a.rXU(J,10))};static \u0275dir=a.FsC({type:fe,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(We,Dt){2&We&&a.AVh("ng-untouched",Dt.isUntouched)("ng-touched",Dt.isTouched)("ng-pristine",Dt.isPristine)("ng-dirty",Dt.isDirty)("ng-valid",Dt.isValid)("ng-invalid",Dt.isInvalid)("ng-pending",Dt.isPending)("ng-submitted",Dt.isSubmitted)},standalone:!1,features:[a.Vt3]})}return fe})();const Nt="VALID",vt="INVALID",$e="PENDING",ht="DISABLED";class Ae{}class It extends Ae{value;source;constructor(Ee,Q){super(),this.value=Ee,this.source=Q}}class Mt extends Ae{pristine;source;constructor(Ee,Q){super(),this.pristine=Ee,this.source=Q}}class on extends Ae{touched;source;constructor(Ee,Q){super(),this.touched=Ee,this.source=Q}}class Gt extends Ae{status;source;constructor(Ee,Q){super(),this.status=Ee,this.source=Q}}class hn extends Ae{source;constructor(Ee){super(),this.source=Ee}}class Cn extends Ae{source;constructor(Ee){super(),this.source=Ee}}function Sn(fe){return(Ai(fe)?fe.validators:fe)||null}function wi(fe,Ee){return(Ai(Ee)?Ee.asyncValidators:fe)||null}function Ai(fe){return null!=fe&&!Array.isArray(fe)&&"object"==typeof fe}function Hi(fe,Ee,Q){const We=fe.controls;if(!(Ee?Object.keys(We):We).length)throw new t.buA(1e3,"");if(!We[Q])throw new t.buA(1001,"")}function tr(fe,Ee,Q){fe._forEachChild((We,Dt)=>{if(void 0===Q[Dt])throw new t.buA(1002,"")})}class Yi{_pendingDirty=!1;_hasOwnPendingAsyncValidator=null;_pendingTouched=!1;_onCollectionChange=()=>{};_updateOn;_parent=null;_asyncValidationSubscription;_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators;_rawAsyncValidators;value;constructor(Ee,Q){this._assignValidators(Ee),this._assignAsyncValidators(Q)}get validator(){return this._composedValidatorFn}set validator(Ee){this._rawValidators=this._composedValidatorFn=Ee}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(Ee){this._rawAsyncValidators=this._composedAsyncValidatorFn=Ee}get parent(){return this._parent}get status(){return(0,u.O8)(this.statusReactive)}set status(Ee){(0,u.O8)(()=>this.statusReactive.set(Ee))}_status=(0,u.EW)(()=>this.statusReactive());statusReactive=(0,t.vPA)(void 0);get valid(){return this.status===Nt}get invalid(){return this.status===vt}get pending(){return this.status==$e}get disabled(){return this.status===ht}
3get enabled(){return this.status!==ht}errors;get pristine(){return(0,u.O8)(this.pristineReactive)}set pristine(Ee){(0,u.O8)(()=>this.pristineReactive.set(Ee))}_pristine=(0,u.EW)(()=>this.pristineReactive());pristineReactive=(0,t.vPA)(!0);get dirty(){return!this.pristine}get touched(){return(0,u.O8)(this.touchedReactive)}set touched(Ee){(0,u.O8)(()=>this.touchedReactive.set(Ee))}_touched=(0,u.EW)(()=>this.touchedReactive());touchedReactive=(0,t.vPA)(!1);get untouched(){return!this.touched}_events=new h.B;events=this._events.asObservable();valueChanges;statusChanges;get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(Ee){this._assignValidators(Ee)}setAsyncValidators(Ee){this._assignAsyncValidators(Ee)}addValidators(Ee){this.setValidators(Ge(Ee,this._rawValidators))}addAsyncValidators(Ee){this.setAsyncValidators(Ge(Ee,this._rawAsyncValidators))}removeValidators(Ee){this.setValidators(bt(Ee,this._rawValidators))}removeAsyncValidators(Ee){this.setAsyncValidators(bt(Ee,this._rawAsyncValidators))}hasValidator(Ee){return pt(this._rawValidators,Ee)}hasAsyncValidator(Ee){return pt(this._rawAsyncValidators,Ee)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(Ee={}){const Q=!1===this.touched;this.touched=!0;const We=Ee.sourceControl??this;this._parent&&!Ee.onlySelf&&this._parent.markAsTouched({...Ee,sourceControl:We}),Q&&!1!==Ee.emitEvent&&this._events.next(new on(!0,We))}markAllAsDirty(Ee={}){this.markAsDirty({onlySelf:!0,emitEvent:Ee.emitEvent,sourceControl:this}),this._forEachChild(Q=>Q.markAllAsDirty(Ee))}markAllAsTouched(Ee={}){this.markAsTouched({onlySelf:!0,emitEvent:Ee.emitEvent,sourceControl:this}),this._forEachChild(Q=>Q.markAllAsTouched(Ee))}markAsUntouched(Ee={}){const Q=!0===this.touched;this.touched=!1,this._pendingTouched=!1;const We=Ee.sourceControl??this;this._forEachChild(Dt=>{Dt.markAsUntouched({onlySelf:!0,emitEvent:Ee.emitEvent,sourceControl:We})}),this._parent&&!Ee.onlySelf&&this._parent._updateTouched(Ee,We),Q&&!1!==Ee.emitEvent&&this._events.next(new on(!1,We))}markAsDirty(Ee={}){const Q=!0===this.pristine;this.pristine=!1;const We=Ee.sourceControl??this;this._parent&&!Ee.onlySelf&&this._parent.markAsDirty({...Ee,sourceControl:We}),Q&&!1!==Ee.emitEvent&&this._events.next(new Mt(!1,We))}markAsPristine(Ee={}){const Q=!1===this.pristine;this.pristine=!0,this._pendingDirty=!1;const We=Ee.sourceControl??this;this._forEachChild(Dt=>{Dt.markAsPristine({onlySelf:!0,emitEvent:Ee.emitEvent})}),this._parent&&!Ee.onlySelf&&this._parent._updatePristine(Ee,We),Q&&!1!==Ee.emitEvent&&this._events.next(new Mt(!0,We))}markAsPending(Ee={}){this.status=$e;const Q=Ee.sourceControl??this;!1!==Ee.emitEvent&&(this._events.next(new Gt(this.status,Q)),this.statusChanges.emit(this.status)),this._parent&&!Ee.onlySelf&&this._parent.markAsPending({...Ee,sourceControl:Q})}disable(Ee={}){const Q=this._parentMarkedDirty(Ee.onlySelf);this.status=ht,this.errors=null,this._forEachChild(Dt=>{Dt.disable({...Ee,onlySelf:!0})}),this._updateValue();const We=Ee.sourceControl??this;!1!==Ee.emitEvent&&(this._events.next(new It(this.value,We)),this._events.next(new Gt(this.status,We)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...Ee,skipPristineCheck:Q},this),this._onDisabledChange.forEach(Dt=>Dt(!0))}enable(Ee={}){const Q=this._parentMarkedDirty(Ee.onlySelf);this.status=Nt,this._forEachChild(We=>{We.enable({...Ee,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:Ee.emitEvent}),this._updateAncestors({...Ee,skipPristineCheck:Q},this),this._onDisabledChange.forEach(We=>We(!1))}_updateAncestors(Ee,Q){this._parent&&!Ee.onlySelf&&(this._parent.updateValueAndValidity(Ee),Ee.skipPristineCheck||this._parent._updatePristine({},Q),this._parent._updateTouched({},Q))}setParent(Ee){this._parent=Ee}getRawValue(){return this.value}updateValueAndValidity(Ee={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){const We=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Nt||this.status===$e)&&this._runAsyncValidator(We,Ee.emitEvent)}const Q=Ee.sourceControl??this;!1!==Ee.emitEvent&&(this._events.next(new It(this.value,Q)),this._events.next(new Gt(this.status,Q)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!Ee.onlySelf&&this._parent.updateValueAndValidity({...Ee,sourceControl:Q})}
3_updateTreeValidity(Ee={emitEvent:!0}){this._forEachChild(Q=>Q._updateTreeValidity(Ee)),this.updateValueAndValidity({onlySelf:!0,emitEvent:Ee.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?ht:Nt}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(Ee,Q){if(this.asyncValidator){this.status=$e,this._hasOwnPendingAsyncValidator={emitEvent:!1!==Q,shouldHaveEmitted:!1!==Ee};const We=et(this.asyncValidator(this));this._asyncValidationSubscription=We.subscribe(Dt=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(Dt,{emitEvent:Q,shouldHaveEmitted:Ee})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();const Ee=(this._hasOwnPendingAsyncValidator?.emitEvent||this._hasOwnPendingAsyncValidator?.shouldHaveEmitted)??!1;return this._hasOwnPendingAsyncValidator=null,Ee}return!1}setErrors(Ee,Q={}){this.errors=Ee,this._updateControlsErrors(!1!==Q.emitEvent,this,Q.shouldHaveEmitted)}get(Ee){let Q=Ee;return null==Q||(Array.isArray(Q)||(Q=Q.split(".")),0===Q.length)?null:Q.reduce((We,Dt)=>We&&We._find(Dt),this)}getError(Ee,Q){const We=Q?this.get(Q):this;return We&&We.errors?We.errors[Ee]:null}hasError(Ee,Q){return!!this.getError(Ee,Q)}get root(){let Ee=this;for(;Ee._parent;)Ee=Ee._parent;return Ee}_updateControlsErrors(Ee,Q,We){this.status=this._calculateStatus(),Ee&&this.statusChanges.emit(this.status),(Ee||We)&&this._events.next(new Gt(this.status,Q)),this._parent&&this._parent._updateControlsErrors(Ee,Q,We)}_initObservables(){this.valueChanges=new a.bkB,this.statusChanges=new a.bkB}_calculateStatus(){return this._allControlsDisabled()?ht:this.errors?vt:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus($e)?$e:this._anyControlsHaveStatus(vt)?vt:Nt}_anyControlsHaveStatus(Ee){return this._anyControls(Q=>Q.status===Ee)}_anyControlsDirty(){return this._anyControls(Ee=>Ee.dirty)}_anyControlsTouched(){return this._anyControls(Ee=>Ee.touched)}_updatePristine(Ee,Q){const We=!this._anyControlsDirty(),Dt=this.pristine!==We;this.pristine=We,this._parent&&!Ee.onlySelf&&this._parent._updatePristine(Ee,Q),Dt&&this._events.next(new Mt(this.pristine,Q))}_updateTouched(Ee={},Q){this.touched=this._anyControlsTouched(),this._events.next(new on(this.touched,Q)),this._parent&&!Ee.onlySelf&&this._parent._updateTouched(Ee,Q)}_onDisabledChange=[];_registerOnCollectionChange(Ee){this._onCollectionChange=Ee}_setUpdateStrategy(Ee){Ai(Ee)&&null!=Ee.updateOn&&(this._updateOn=Ee.updateOn)}_parentMarkedDirty(Ee){return!Ee&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(Ee){return null}_assignValidators(Ee){this._rawValidators=Array.isArray(Ee)?Ee.slice():Ee,this._composedValidatorFn=function ni(fe){return Array.isArray(fe)?ae(fe):fe||null}(this._rawValidators)}_assignAsyncValidators(Ee){this._rawAsyncValidators=Array.isArray(Ee)?Ee.slice():Ee,this._composedAsyncValidatorFn=function vi(fe){return Array.isArray(fe)?$(fe):fe||null}(this._rawAsyncValidators)}}class Qi extends Yi{constructor(Ee,Q,We){super(Sn(Q),wi(We,Q)),this.controls=Ee,this._initObservables(),this._setUpdateStrategy(Q),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}controls;registerControl(Ee,Q){return this.controls[Ee]?this.controls[Ee]:(this.controls[Ee]=Q,Q.setParent(this),Q._registerOnCollectionChange(this._onCollectionChange),Q)}addControl(Ee,Q,We={}){this.registerControl(Ee,Q),this.updateValueAndValidity({emitEvent:We.emitEvent}),this._onCollectionChange()}removeControl(Ee,Q={}){this.controls[Ee]&&this.controls[Ee]._registerOnCollectionChange(()=>{}),delete this.controls[Ee],this.updateValueAndValidity({emitEvent:Q.emitEvent}),this._onCollectionChange()}setControl(Ee,Q,We={}){this.controls[Ee]&&this.controls[Ee]._registerOnCollectionChange(()=>{}),delete this.controls[Ee],Q&&this.registerControl(Ee,Q),this.updateValueAndValidity({emitEvent:We.emitEvent}),this._onCollectionChange()}contains(Ee){return this.controls.hasOwnProperty(Ee)&&this.controls[Ee].enabled}setValue(Ee,Q={}){tr(this,0,Ee),Object.keys(Ee).forEach(We=>{Hi(this,!0,We),this.controls[We].setValue(Ee[We],{onlySelf:!0,emitEvent:Q.emitEvent})}
3),this.updateValueAndValidity(Q)}patchValue(Ee,Q={}){null!=Ee&&(Object.keys(Ee).forEach(We=>{const Dt=this.controls[We];Dt&&Dt.patchValue(Ee[We],{onlySelf:!0,emitEvent:Q.emitEvent})}),this.updateValueAndValidity(Q))}reset(Ee={},Q={}){this._forEachChild((We,Dt)=>{We.reset(Ee?Ee[Dt]:null,{onlySelf:!0,emitEvent:Q.emitEvent})}),this._updatePristine(Q,this),this._updateTouched(Q,this),this.updateValueAndValidity(Q)}getRawValue(){return this._reduceChildren({},(Ee,Q,We)=>(Ee[We]=Q.getRawValue(),Ee))}_syncPendingControls(){let Ee=this._reduceChildren(!1,(Q,We)=>!!We._syncPendingControls()||Q);return Ee&&this.updateValueAndValidity({onlySelf:!0}),Ee}_forEachChild(Ee){Object.keys(this.controls).forEach(Q=>{const We=this.controls[Q];We&&Ee(We,Q)})}_setUpControls(){this._forEachChild(Ee=>{Ee.setParent(this),Ee._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(Ee){for(const[Q,We]of Object.entries(this.controls))if(this.contains(Q)&&Ee(We))return!0;return!1}_reduceValue(){return this._reduceChildren({},(Q,We,Dt)=>((We.enabled||this.disabled)&&(Q[Dt]=We.value),Q))}_reduceChildren(Ee,Q){let We=Ee;return this._forEachChild((Dt,In)=>{We=Q(We,Dt,In)}),We}_allControlsDisabled(){for(const Ee of Object.keys(this.controls))if(this.controls[Ee].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(Ee){return this.controls.hasOwnProperty(Ee)?this.controls[Ee]:null}}const Me=Qi;class ke extends Qi{}const wt=new t.nKC("",{providedIn:"root",factory:()=>Je}),Je="always";function Tt(fe,Ee){return[...Ee.path,fe]}function le(fe,Ee,Q=Je){Jt(fe,Ee),Ee.valueAccessor.writeValue(fe.value),(fe.disabled||"always"===Q)&&Ee.valueAccessor.setDisabledState?.(fe.disabled),function yt(fe,Ee){Ee.valueAccessor.registerOnChange(Q=>{fe._pendingValue=Q,fe._pendingChange=!0,fe._pendingDirty=!0,"change"===fe.updateOn&&Xt(fe,Ee)})}(fe,Ee),function gn(fe,Ee){const Q=(We,Dt)=>{Ee.valueAccessor.writeValue(We),Dt&&Ee.viewToModelUpdate(We)};fe.registerOnChange(Q),Ee._registerOnDestroy(()=>{fe._unregisterOnChange(Q)})}(fe,Ee),function Ut(fe,Ee){Ee.valueAccessor.registerOnTouched(()=>{fe._pendingTouched=!0,"blur"===fe.updateOn&&fe._pendingChange&&Xt(fe,Ee),"submit"!==fe.updateOn&&fe.markAsTouched()})}(fe,Ee),function Ht(fe,Ee){if(Ee.valueAccessor.setDisabledState){const Q=We=>{Ee.valueAccessor.setDisabledState(We)};fe.registerOnDisabledChange(Q),Ee._registerOnDestroy(()=>{fe._unregisterOnDisabledChange(Q)})}}(fe,Ee)}function Ve(fe,Ee,Q=!0){const We=()=>{};Ee.valueAccessor&&(Ee.valueAccessor.registerOnChange(We),Ee.valueAccessor.registerOnTouched(We)),ot(fe,Ee),fe&&(Ee._invokeOnDestroyCallbacks(),fe._registerOnCollectionChange(()=>{}))}function Te(fe,Ee){fe.forEach(Q=>{Q.registerOnValidatorChange&&Q.registerOnValidatorChange(Ee)})}function Jt(fe,Ee){const Q=Be(fe);null!==Ee.validator?fe.setValidators(K(Q,Ee.validator)):"function"==typeof Q&&fe.setValidators([Q]);const We=Ye(fe);null!==Ee.asyncValidator?fe.setAsyncValidators(K(We,Ee.asyncValidator)):"function"==typeof We&&fe.setAsyncValidators([We]);const Dt=()=>fe.updateValueAndValidity();Te(Ee._rawValidators,Dt),Te(Ee._rawAsyncValidators,Dt)}function ot(fe,Ee){let Q=!1;if(null!==fe){if(null!==Ee.validator){const Dt=Be(fe);if(Array.isArray(Dt)&&Dt.length>0){const In=Dt.filter(fi=>fi!==Ee.validator);In.length!==Dt.length&&(Q=!0,fe.setValidators(In))}}if(null!==Ee.asyncValidator){const Dt=Ye(fe);if(Array.isArray(Dt)&&Dt.length>0){const In=Dt.filter(fi=>fi!==Ee.asyncValidator);In.length!==Dt.length&&(Q=!0,fe.setAsyncValidators(In))}}}const We=()=>{};return Te(Ee._rawValidators,We),Te(Ee._rawAsyncValidators,We),Q}function Xt(fe,Ee){fe._pendingDirty&&fe.markAsDirty(),fe.setValue(fe._pendingValue,{emitModelToViewChange:!1}),Ee.viewToModelUpdate(fe._pendingValue),fe._pendingChange=!1}function kn(fe,Ee){Jt(fe,Ee)}function Bn(fe,Ee){if(!fe.hasOwnProperty("model"))return!1;const Q=fe.model;return!!Q.isFirstChange()||!Object.is(Ee,Q.currentValue)}function Ii(fe,Ee){fe._syncPendingControls(),Ee.forEach(Q=>{const We=Q.control;"submit"===We.updateOn&&We._pendingChange&&(Q.viewToModelUpdate(We._pendingValue),We._pendingChange=!1)})}function zn(fe,Ee){if(!Ee)return null;let Q,We,Dt;return Array.isArray(Ee),Ee.forEach(In=>{In.constructor===Y?Q=In:function Pi(fe){return Object.getPrototypeOf(fe.constructor)===D}(In)?We=In:Dt=In}),Dt||We||Q||null}const er={provide:J,useExisting:(0,t.Rfq)(()=>Ci)},nr=Promise.resolve();let Ci=(()=>{class fe extends J{callSetDisabledState;get submitted(){return(0,u.O8)(this.submittedReactive)}_submitted=(0,u.EW)(()=>this.submittedReactive());submittedReactive=(0,t.vPA)(!1);_directives=new Set;form;ngSubmit=new a.bkB;options;constructor(Q,We,Dt){super(),this.callSetDisabledState=Dt,this.form=new Qi({},ae(Q),$(We))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(Q){nr.then(()=>{const We=this._findContainer(Q.path);Q.control=We.registerControl(Q.name,Q.control),le(Q.control,Q,this.callSetDisabledState),Q.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(Q)})}getControl(Q){return this.form.get(Q.path)}
3removeControl(Q){nr.then(()=>{const We=this._findContainer(Q.path);We&&We.removeControl(Q.name),this._directives.delete(Q)})}addFormGroup(Q){nr.then(()=>{const We=this._findContainer(Q.path),Dt=new Qi({});kn(Dt,Q),We.registerControl(Q.name,Dt),Dt.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(Q){nr.then(()=>{const We=this._findContainer(Q.path);We&&We.removeControl(Q.name)})}getFormGroup(Q){return this.form.get(Q.path)}updateModel(Q,We){nr.then(()=>{this.form.get(Q.path).setValue(We)})}setValue(Q){this.control.setValue(Q)}onSubmit(Q){return this.submittedReactive.set(!0),Ii(this.form,this._directives),this.ngSubmit.emit(Q),this.form._events.next(new hn(this.control)),"dialog"===Q?.target?.method}onReset(){this.resetForm()}resetForm(Q=void 0){this.form.reset(Q),this.submittedReactive.set(!1),this.form._events.next(new Cn(this.form))}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(Q){return Q.pop(),Q.length?this.form.get(Q):this.form}static \u0275fac=function(We){return new(We||fe)(a.rXU(T,10),a.rXU(I,10),a.rXU(wt,8))};static \u0275dir=a.FsC({type:fe,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(We,Dt){1&We&&a.bIt("submit",function(fi){return Dt.onSubmit(fi)})("reset",function(){return Dt.onReset()})},inputs:{options:[0,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:!1,features:[a.Jv_([er]),a.Vt3]})}return fe})();function sr(fe,Ee){const Q=fe.indexOf(Ee);Q>-1&&fe.splice(Q,1)}function ki(fe){return"object"==typeof fe&&null!==fe&&2===Object.keys(fe).length&&"value"in fe&&"disabled"in fe}const gi=class extends Yi{defaultValue=null;_onChange=[];_pendingValue;_pendingChange=!1;constructor(Ee=null,Q,We){super(Sn(Q),wi(We,Q)),this._applyFormState(Ee),this._setUpdateStrategy(Q),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Ai(Q)&&(Q.nonNullable||Q.initialValueIsDefault)&&(this.defaultValue=ki(Ee)?Ee.value:Ee)}setValue(Ee,Q={}){this.value=this._pendingValue=Ee,this._onChange.length&&!1!==Q.emitModelToViewChange&&this._onChange.forEach(We=>We(this.value,!1!==Q.emitViewToModelChange)),this.updateValueAndValidity(Q)}patchValue(Ee,Q={}){this.setValue(Ee,Q)}reset(Ee=this.defaultValue,Q={}){this._applyFormState(Ee),this.markAsPristine(Q),this.markAsUntouched(Q),this.setValue(this.value,Q),this._pendingChange=!1}_updateValue(){}_anyControls(Ee){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(Ee){this._onChange.push(Ee)}_unregisterOnChange(Ee){sr(this._onChange,Ee)}registerOnDisabledChange(Ee){this._onDisabledChange.push(Ee)}_unregisterOnDisabledChange(Ee){sr(this._onDisabledChange,Ee)}_forEachChild(Ee){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(Ee){ki(Ee)?(this.value=this._pendingValue=Ee.value,Ee.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=Ee}},Zi=gi;let Or=(()=>{class fe extends J{_parent;ngOnInit(){this._checkParentType(),this.formDirective.addFormGroup(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormGroup(this)}get control(){return this.formDirective.getFormGroup(this)}get path(){return Tt(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}static \u0275fac=(()=>{let Q;return function(Dt){return(Q||(Q=a.xGo(fe)))(Dt||fe)}})();static \u0275dir=a.FsC({type:fe,standalone:!1,features:[a.Vt3]})}return fe})();const Et={provide:R,useExisting:(0,t.Rfq)(()=>tt)},Re=Promise.resolve();let tt=(()=>{class fe extends R{_changeDetectorRef;callSetDisabledState;control=new gi;static ngAcceptInputType_isDisabled;_registered=!1;viewModel;name="";isDisabled;model;options;update=new a.bkB;constructor(Q,We,Dt,In,fi,wr){super(),this._changeDetectorRef=fi,this.callSetDisabledState=wr,this._parent=Q,this._setValidators(We),this._setAsyncValidators(Dt),this.valueAccessor=zn(0,In)}ngOnChanges(Q){if(this._checkForErrors(),!this._registered||"name"in Q){if(this._registered&&(this._checkName(),this.formDirective)){const We=Q.name.previousValue;this.formDirective.removeControl({name:We,path:this._getPath(We)})}this._setUpControl()}"isDisabled"in Q&&this._updateDisabled(Q),Bn(Q,this.viewModel)&&(this._updateV
3alue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(Q){this.viewModel=Q,this.update.emit(Q)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){le(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._checkName()}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(Q){Re.then(()=>{this.control.setValue(Q,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(Q){const We=Q.isDisabled.currentValue,Dt=0!==We&&(0,M.L39)(We);Re.then(()=>{Dt&&!this.control.disabled?this.control.disable():!Dt&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(Q){return this._parent?Tt(Q,this._parent):[Q]}static \u0275fac=function(We){return new(We||fe)(a.rXU(J,9),a.rXU(T,10),a.rXU(I,10),a.rXU(f,10),a.rXU(M.gRc,8),a.rXU(wt,8))};static \u0275dir=a.FsC({type:fe,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"],options:[0,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],standalone:!1,features:[a.Jv_([Et]),a.Vt3,a.OA$]})}return fe})(),nn=(()=>{class fe{static \u0275fac=function(We){return new(We||fe)};static \u0275dir=a.FsC({type:fe,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""],standalone:!1})}return fe})();const Vi=new t.nKC(""),ri={provide:R,useExisting:(0,t.Rfq)(()=>li)};let li=(()=>{class fe extends R{_ngModelWarningConfig;callSetDisabledState;viewModel;form;set isDisabled(Q){}model;update=new a.bkB;static _ngModelWarningSentOnce=!1;_ngModelWarningSent=!1;constructor(Q,We,Dt,In,fi){super(),this._ngModelWarningConfig=In,this.callSetDisabledState=fi,this._setValidators(Q),this._setAsyncValidators(We),this.valueAccessor=zn(0,Dt)}ngOnChanges(Q){if(this._isControlChanged(Q)){const We=Q.form.previousValue;We&&Ve(We,this,!1),le(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}Bn(Q,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&Ve(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(Q){this.viewModel=Q,this.update.emit(Q)}_isControlChanged(Q){return Q.hasOwnProperty("form")}static \u0275fac=function(We){return new(We||fe)(a.rXU(T,10),a.rXU(I,10),a.rXU(f,10),a.rXU(Vi,8),a.rXU(wt,8))};static \u0275dir=a.FsC({type:fe,selectors:[["","formControl",""]],inputs:{form:[0,"formControl","form"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],standalone:!1,features:[a.Jv_([ri]),a.Vt3,a.OA$]})}return fe})();const Fr={provide:J,useExisting:(0,t.Rfq)(()=>fr)};let fr=(()=>{class fe extends J{callSetDisabledState;get submitted(){return(0,u.O8)(this._submittedReactive)}set submitted(Q){this._submittedReactive.set(Q)}_submitted=(0,u.EW)(()=>this._submittedReactive());_submittedReactive=(0,t.vPA)(!1);_oldForm;_onCollectionChange=()=>this._updateDomValue();directives=[];form=null;ngSubmit=new a.bkB;constructor(Q,We,Dt){super(),this.callSetDisabledState=Dt,this._setValidators(Q),this._setAsyncValidators(We)}ngOnChanges(Q){Q.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(ot(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(Q){const We=this.form.get(Q.path);return le(We,Q,this.callSetDisabledState),We.updateValueAndValidity({emitEvent:!1}
3),this.directives.push(Q),We}getControl(Q){return this.form.get(Q.path)}removeControl(Q){Ve(Q.control||null,Q,!1),function Ki(fe,Ee){const Q=fe.indexOf(Ee);Q>-1&&fe.splice(Q,1)}(this.directives,Q)}addFormGroup(Q){this._setUpFormContainer(Q)}removeFormGroup(Q){this._cleanUpFormContainer(Q)}getFormGroup(Q){return this.form.get(Q.path)}addFormArray(Q){this._setUpFormContainer(Q)}removeFormArray(Q){this._cleanUpFormContainer(Q)}getFormArray(Q){return this.form.get(Q.path)}updateModel(Q,We){this.form.get(Q.path).setValue(We)}onSubmit(Q){return this._submittedReactive.set(!0),Ii(this.form,this.directives),this.ngSubmit.emit(Q),this.form._events.next(new hn(this.control)),"dialog"===Q?.target?.method}onReset(){this.resetForm()}resetForm(Q=void 0,We={}){this.form.reset(Q,We),this._submittedReactive.set(!1),!1!==We?.emitEvent&&this.form._events.next(new Cn(this.form))}_updateDomValue(){this.directives.forEach(Q=>{const We=Q.control,Dt=this.form.get(Q.path);We!==Dt&&(Ve(We||null,Q),(fe=>fe instanceof gi)(Dt)&&(le(Dt,Q,this.callSetDisabledState),Q.control=Dt))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(Q){const We=this.form.get(Q.path);kn(We,Q),We.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(Q){if(this.form){const We=this.form.get(Q.path);We&&function bn(fe,Ee){return ot(fe,Ee)}(We,Q)&&We.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Jt(this.form,this),this._oldForm&&ot(this._oldForm,this)}static \u0275fac=function(We){return new(We||fe)(a.rXU(T,10),a.rXU(I,10),a.rXU(wt,8))};static \u0275dir=a.FsC({type:fe,selectors:[["","formGroup",""]],hostBindings:function(We,Dt){1&We&&a.bIt("submit",function(fi){return Dt.onSubmit(fi)})("reset",function(){return Dt.onReset()})},inputs:{form:[0,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:!1,features:[a.Jv_([Fr]),a.Vt3,a.OA$]})}return fe})();const Mr={provide:J,useExisting:(0,t.Rfq)(()=>ir)};let ir=(()=>{class fe extends Or{name=null;constructor(Q,We,Dt){super(),this._parent=Q,this._setValidators(We),this._setAsyncValidators(Dt)}_checkParentType(){Ao(this._parent)}static \u0275fac=function(We){return new(We||fe)(a.rXU(J,13),a.rXU(T,10),a.rXU(I,10))};static \u0275dir=a.FsC({type:fe,selectors:[["","formGroupName",""]],inputs:{name:[0,"formGroupName","name"]},standalone:!1,features:[a.Jv_([Mr]),a.Vt3]})}return fe})();const Rr={provide:J,useExisting:(0,t.Rfq)(()=>oo)};let oo=(()=>{class fe extends J{_parent;name=null;constructor(Q,We,Dt){super(),this._parent=Q,this._setValidators(We),this._setAsyncValidators(Dt)}ngOnInit(){Ao(this._parent),this.formDirective.addFormArray(this)}ngOnDestroy(){this.formDirective?.removeFormArray(this)}get control(){return this.formDirective.getFormArray(this)}get formDirective(){return this._parent?this._parent.formDirective:null}get path(){return Tt(null==this.name?this.name:this.name.toString(),this._parent)}static \u0275fac=function(We){return new(We||fe)(a.rXU(J,13),a.rXU(T,10),a.rXU(I,10))};static \u0275dir=a.FsC({type:fe,selectors:[["","formArrayName",""]],inputs:{name:[0,"formArrayName","name"]},standalone:!1,features:[a.Jv_([Rr]),a.Vt3]})}return fe})();function Ao(fe){return!(fe instanceof ir||fe instanceof fr||fe instanceof oo)}const So={provide:R,useExisting:(0,t.Rfq)(()=>Ri)};let Ri=(()=>{class fe extends R{_ngModelWarningConfig;_added=!1;viewModel;control;name=null;set isDisabled(Q){}model;update=new a.bkB;static _ngModelWarningSentOnce=!1;_ngModelWarningSent=!1;constructor(Q,We,Dt,In,fi){super(),this._ngModelWarningConfig=fi,this._parent=Q,this._setValidators(We),this._setAsyncValidators(Dt),this.valueAccessor=zn(0,In)}ngOnChanges(Q){this._added||this._setUpControl(),Bn(Q,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(Q){this.viewModel=Q,this.update.emit(Q)}get path(){return Tt(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_setUpControl(){this.control=this.formDirective.addControl(this),this._added=!0}static \u0275fac=function(We){return new(We||fe)(a.rXU(J,13),a.rXU(T,10),a.rXU(I,10),a.rXU(f,10),a.rXU(Vi,8))};static \u0275dir=a.FsC({type:fe,selectors:[["","formControlName",""]],inputs:{name:[0,"formControlName","name"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},standalone:!1,features:[a.Jv_([So]),a.Vt3,a.OA$]})}return fe})();let Ie=(()=>{class fe{_validator=at;_onChange;_enabled;ngOnChanges(Q){if(this.inputName in Q){const We=this.normalizeInput(Q[this.inputName].
3currentValue);this._enabled=this.enabled(We),this._validator=this._enabled?this.createValidator(We):at,this._onChange&&this._onChange()}}validate(Q){return this._validator(Q)}registerOnValidatorChange(Q){this._onChange=Q}enabled(Q){return null!=Q}static \u0275fac=function(We){return new(We||fe)};static \u0275dir=a.FsC({type:fe,features:[a.OA$]})}return fe})();const eo={provide:T,useExisting:(0,t.Rfq)(()=>rr),multi:!0};let rr=(()=>{class fe extends Ie{maxlength;inputName="maxlength";normalizeInput=Q=>function je(fe){return"number"==typeof fe?fe:parseInt(fe,10)}(Q);createValidator=Q=>nt(Q);static \u0275fac=(()=>{let Q;return function(Dt){return(Q||(Q=a.xGo(fe)))(Dt||fe)}})();static \u0275dir=a.FsC({type:fe,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(We,Dt){2&We&&a.BMQ("maxlength",Dt._enabled?Dt.maxlength:null)},inputs:{maxlength:"maxlength"},standalone:!1,features:[a.Jv_([eo]),a.Vt3]})}return fe})(),Po=(()=>{class fe{static \u0275fac=function(We){return new(We||fe)};static \u0275mod=a.$C({type:fe});static \u0275inj=t.G2t({})}return fe})();class Vr extends Yi{constructor(Ee,Q,We){super(Sn(Q),wi(We,Q)),this.controls=Ee,this._initObservables(),this._setUpdateStrategy(Q),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}controls;at(Ee){return this.controls[this._adjustIndex(Ee)]}push(Ee,Q={}){this.controls.push(Ee),this._registerControl(Ee),this.updateValueAndValidity({emitEvent:Q.emitEvent}),this._onCollectionChange()}insert(Ee,Q,We={}){this.controls.splice(Ee,0,Q),this._registerControl(Q),this.updateValueAndValidity({emitEvent:We.emitEvent})}removeAt(Ee,Q={}){let We=this._adjustIndex(Ee);We<0&&(We=0),this.controls[We]&&this.controls[We]._registerOnCollectionChange(()=>{}),this.controls.splice(We,1),this.updateValueAndValidity({emitEvent:Q.emitEvent})}setControl(Ee,Q,We={}){let Dt=this._adjustIndex(Ee);Dt<0&&(Dt=0),this.controls[Dt]&&this.controls[Dt]._registerOnCollectionChange(()=>{}),this.controls.splice(Dt,1),Q&&(this.controls.splice(Dt,0,Q),this._registerControl(Q)),this.updateValueAndValidity({emitEvent:We.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(Ee,Q={}){tr(this,0,Ee),Ee.forEach((We,Dt)=>{Hi(this,!1,Dt),this.at(Dt).setValue(We,{onlySelf:!0,emitEvent:Q.emitEvent})}),this.updateValueAndValidity(Q)}patchValue(Ee,Q={}){null!=Ee&&(Ee.forEach((We,Dt)=>{this.at(Dt)&&this.at(Dt).patchValue(We,{onlySelf:!0,emitEvent:Q.emitEvent})}),this.updateValueAndValidity(Q))}reset(Ee=[],Q={}){this._forEachChild((We,Dt)=>{We.reset(Ee[Dt],{onlySelf:!0,emitEvent:Q.emitEvent})}),this._updatePristine(Q,this),this._updateTouched(Q,this),this.updateValueAndValidity(Q)}getRawValue(){return this.controls.map(Ee=>Ee.getRawValue())}clear(Ee={}){this.controls.length<1||(this._forEachChild(Q=>Q._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:Ee.emitEvent}))}_adjustIndex(Ee){return Ee<0?Ee+this.length:Ee}_syncPendingControls(){let Ee=this.controls.reduce((Q,We)=>!!We._syncPendingControls()||Q,!1);return Ee&&this.updateValueAndValidity({onlySelf:!0}),Ee}_forEachChild(Ee){this.controls.forEach((Q,We)=>{Ee(Q,We)})}_updateValue(){this.value=this.controls.filter(Ee=>Ee.enabled||this.disabled).map(Ee=>Ee.value)}_anyControls(Ee){return this.controls.some(Q=>Q.enabled&&Ee(Q))}_setUpControls(){this._forEachChild(Ee=>this._registerControl(Ee))}_allControlsDisabled(){for(const Ee of this.controls)if(Ee.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(Ee){Ee.setParent(this),Ee._registerOnCollectionChange(this._onCollectionChange)}_find(Ee){return this.at(Ee)??null}}const ls=Vr;function Io(fe){return!!fe&&(void 0!==fe.asyncValidators||void 0!==fe.validators||void 0!==fe.updateOn)}let cs=(()=>{class fe{useNonNullable=!1;get nonNullable(){const Q=new fe;return Q.useNonNullable=!0,Q}group(Q,We=null){const Dt=this._reduceControls(Q);let In={};return Io(We)?In=We:null!==We&&(In.validators=We.validator,In.asyncValidators=We.asyncValidator),new Qi(Dt,In)}record(Q,We=null){const Dt=this._reduceControls(Q);return new ke(Dt,We)}control(Q,We,Dt){let In={};return this.useNonNullable?(Io(We)?In=We:(In.validators=We,In.asyncValidators=Dt),new gi(Q,{...In,nonNullable:!0})):new gi(Q,We,Dt)}array(Q,We,Dt){const In=Q.map(fi=>this._createControl(fi));return new Vr(In,We,Dt)}_reduceControls(Q){const We={};
3return Object.keys(Q).forEach(Dt=>{We[Dt]=this._createControl(Q[Dt])}),We}_createControl(Q){return Q instanceof gi||Q instanceof Yi?Q:Array.isArray(Q)?this.control(Q[0],Q.length>1?Q[1]:null,Q.length>2?Q[2]:null):this.control(Q)}static \u0275fac=function(We){return new(We||fe)};static \u0275prov=t.jDH({token:fe,factory:fe.\u0275fac,providedIn:"root"})}return fe})(),Js=(()=>{class fe extends cs{group(Q,We=null){return super.group(Q,We)}control(Q,We,Dt){return super.control(Q,We,Dt)}array(Q,We,Dt){return super.array(Q,We,Dt)}static \u0275fac=(()=>{let Q;return function(Dt){return(Q||(Q=a.xGo(fe)))(Dt||fe)}})();static \u0275prov=t.jDH({token:fe,factory:fe.\u0275fac,providedIn:"root"})}return fe})(),Zo=(()=>{class fe{static withConfig(Q){return{ngModule:fe,providers:[{provide:wt,useValue:Q.callSetDisabledState??Je}]}}static \u0275fac=function(We){return new(We||fe)};static \u0275mod=a.$C({type:fe});static \u0275inj=t.G2t({imports:[Po]})}return fe})(),Jo=(()=>{class fe{static withConfig(Q){return{ngModule:fe,providers:[{provide:Vi,useValue:Q.warnOnNgModelWithFormControl??"always"},{provide:wt,useValue:Q.callSetDisabledState??Je}]}}static \u0275fac=function(We){return new(We||fe)};static \u0275mod=a.$C({type:fe});static \u0275inj=t.G2t({imports:[Po]})}return fe})()},89700:function(qe){(function(){var ee,o,a,t,u,M,v,r=[].slice,_={}.hasOwnProperty;ee=function(){var h,C,b,D,f,O;if(O=arguments[0],f=2<=arguments.length?r.call(arguments,1):[],u(Object.assign))Object.assign.apply(null,arguments);else for(h=0,b=f.length;h<b;h++)if(null!=(D=f[h]))for(C in D)_.call(D,C)&&(O[C]=D[C]);return O},u=function(h){return!!h&&"[object Function]"===Object.prototype.toString.call(h)},M=function(h){var C;return!!h&&("function"==(C=typeof h)||"object"===C)},a=function(h){return u(Array.isArray)?Array.isArray(h):"[object Array]"===Object.prototype.toString.call(h)},t=function(h){var C;if(a(h))return!h.length;for(C in h)if(_.call(h,C))return!1;return!0},v=function(h){var C,b;return M(h)&&(b=Object.getPrototypeOf(h))&&(C=b.constructor)&&"function"==typeof C&&C instanceof C&&Function.prototype.toString.call(C)===Function.prototype.toString.call(Object)},o=function(h){return u(h.valueOf)?h.valueOf():h},qe.exports.assign=ee,qe.exports.isFunction=u,qe.exports.isObject=M,qe.exports.isArray=a,qe.exports.isEmpty=t,qe.exports.isPlainObject=v,qe.exports.getValue=o}).call(this)},90006:(qe,ee,o)=>{"use strict";o.d(ee,{M:()=>x,g:()=>J});var a=o(30282),t=o(73664),u=o(2615),M=o(17705),v=o(75272),r=o(88511),_=o(34991),h=o(95178),C=o(25881),b=o(40372),D=o(21413);class f{_multiple;_emitChanges;compareWith;_selection=new Set;_deselectedToEmit=[];_selectedToEmit=[];_selected;get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}changed=new D.B;constructor(Pe=!1,pe,st=!0,Qe){this._multiple=Pe,this._emitChanges=st,this.compareWith=Qe,pe&&pe.length&&(Pe?pe.forEach(At=>this._markSelected(At)):this._markSelected(pe[0]),this._selectedToEmit.length=0)}select(...Pe){this._verifyValueAssignment(Pe),Pe.forEach(st=>this._markSelected(st));const pe=this._hasQueuedChanges();return this._emitChangeEvent(),pe}deselect(...Pe){this._verifyValueAssignment(Pe),Pe.forEach(st=>this._unmarkSelected(st));const pe=this._hasQueuedChanges();return this._emitChangeEvent(),pe}setSelection(...Pe){this._verifyValueAssignment(Pe);const pe=this.selected,st=new Set(Pe.map(At=>this._getConcreteValue(At)));Pe.forEach(At=>this._markSelected(At)),pe.filter(At=>!st.has(this._getConcreteValue(At,st))).forEach(At=>this._unmarkSelected(At));const Qe=this._hasQueuedChanges();return this._emitChangeEvent(),Qe}toggle(Pe){return this.isSelected(Pe)?this.deselect(Pe):this.select(Pe)}clear(Pe=!0){this._unmarkAll();const pe=this._hasQueuedChanges();return Pe&&this._emitChangeEvent(),pe}isSelected(Pe){return this._selection.has(this._getConcreteValue(Pe))}isEmpty(){return 0===this._selection.size}hasValue(){return!this.isEmpty()}sort(Pe){this._multiple&&this.selected&&this._selected.sort(Pe)}isMultipleSelection(){return this._multiple}_emitChangeEvent(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])}_markSelected(Pe){Pe=this._getConcreteValue(Pe),this.isSelected(Pe)||(this._multiple||this._unmarkAll(),this.isSelected(Pe)||this._selection.add(Pe),this._emitChanges&&this._selectedToEmit.push(Pe))}_unmarkSelected(Pe){Pe=this._getConcreteValue(Pe),this.isSelected(Pe)&&(this._selection.delete(Pe),this._emitChanges&&this._deselectedToEmit.push(Pe))}_unmarkAll(){this.isEmpty()||this._selection.forEach(Pe=>this._unmarkSelected(Pe))}_verifyValueAssignment(Pe){}_hasQueuedChanges(){return!(!this._deselectedToEmit.length&&!this._selectedToEmit.length)}_getConcreteValue(Pe,pe){if(this.compareWith){pe=pe??this._selection;for(let st of pe)if(this.compareWith(Pe,st))return st;return Pe}return Pe}}var d=o(17035),L=o(67336),E=o(89417),se=o(59030),Y=o(57786),ne=o(99172),U=o(25558),T=o(5964),I=o(96354),w=o(56977),Z=o(96697),N=o(72200),oe=o(55549),H=o(18107),ie=o(11449),Ce=o(1798),Ue=o(75483),nt=o(96305),we=o(21715),at=o(13360);const Xe=["trigger"],et=["panel"],xe=[[["mat-select-trigger"]],"*"],De=["mat-select-trigger","*"];function ue(ce,Pe){if(1&ce&&(t.j41(0,"span",4),t.EFF(1),t.k0s()),2&ce){const pe=t.XpG();t.R7$(),t.JRh(pe.placeholder)}}function z(ce,Pe){1&ce&&t.SdG(0)}function de(ce,Pe){if(1&ce&&(t.j41(0,"span",11),t.EFF(1),t.k0s()),2&ce){const pe=t.XpG(2);t.R7$(),t.JRh(pe.triggerValue)}}function ae(ce,Pe){if(1&ce&&(t.j41(0,"span",5),t.nVh(1,z,1,0)(2,de,2,1,"span",11),t.k0s()),2&ce){const pe=t.XpG();t.R7$(),t.vxM(pe.customTrigger?1:2)}}function X(ce,Pe){if(1&ce){const pe=t.RV6();t.j41(0,"div",12,1),t.bIt("keydown",function(Qe){u.eBV(pe);
3const At=t.XpG();return u.Njj(At._handleKeydown(Qe))}),t.SdG(2,1),t.k0s()}if(2&ce){const pe=t.XpG();t.HbH(t.VkB("mat-mdc-select-panel mdc-menu-surface mdc-menu-surface--open ",pe._getPanelTheme())),t.AVh("mat-select-panel-animations-enabled",!pe._animationsDisabled),t.Y8G("ngClass",pe.panelClass),t.BMQ("id",pe.id+"-panel")("aria-multiselectable",pe.multiple)("aria-label",pe.ariaLabel||null)("aria-labelledby",pe._getPanelAriaLabelledby())}}const Ye=new u.nKC("mat-select-scroll-strategy",{providedIn:"root",factory:()=>{const ce=(0,u.WQX)(u.zZn);return()=>(0,a.o)(ce)}}),pt=new u.nKC("MAT_SELECT_CONFIG"),Ge={provide:Ye,deps:[],useFactory:function Se(ce){const Pe=(0,u.WQX)(u.zZn);return()=>(0,a.o)(Pe)}},bt=new u.nKC("MatSelectTrigger");class me{source;value;constructor(Pe,pe){this.source=Pe,this.value=pe}}let J=(()=>{class ce{_viewportRuler=(0,u.WQX)(v.Xj);_changeDetectorRef=(0,u.WQX)(M.gRc);_elementRef=(0,u.WQX)(t.aKT);_dir=(0,u.WQX)(b.D,{optional:!0});_idGenerator=(0,u.WQX)(r._);_renderer=(0,u.WQX)(t.sFG);_parentFormField=(0,u.WQX)(oe.h,{optional:!0});ngControl=(0,u.WQX)(E.vO,{self:!0,optional:!0});_liveAnnouncer=(0,u.WQX)(_.L);_defaultOptions=(0,u.WQX)(pt,{optional:!0});_animationsDisabled=(0,H._)();_initialized=new D.B;_cleanupDetach;options;optionGroups;customTrigger;_positions=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"}];_scrollOptionIntoView(pe){const st=this.options.toArray()[pe];if(st){const Qe=this.panel.nativeElement,At=(0,ie._)(pe,this.options,this.optionGroups),Ne=st._getHostElement();Qe.scrollTop=0===pe&&1===At?0:(0,ie.b)(Ne.offsetTop,Ne.offsetHeight,Qe.scrollTop,Qe.offsetHeight)}}_positioningSettled(){this._scrollOptionIntoView(this._keyManager.activeItemIndex||0)}_getChangeEvent(pe){return new me(this,pe)}_scrollStrategyFactory=(0,u.WQX)(Ye);_panelOpen=!1;_compareWith=(pe,st)=>pe===st;_uid=this._idGenerator.getId("mat-select-");_triggerAriaLabelledBy=null;_previousControl;_destroy=new D.B;_errorStateTracker;stateChanges=new D.B;disableAutomaticLabeling=!0;userAriaDescribedBy;_selectionModel;_keyManager;_preferredOverlayOrigin;_overlayWidth;_onChange=()=>{};_onTouched=()=>{};_valueId=this._idGenerator.getId("mat-select-value-");_scrollStrategy;_overlayPanelClass=this._defaultOptions?.overlayPanelClass||"";get focused(){return this._focused||this._panelOpen}_focused=!1;controlType="mat-select";trigger;panel;_overlayDir;panelClass;disabled=!1;get disableRipple(){return this._disableRipple()}set disableRipple(pe){this._disableRipple.set(pe)}_disableRipple=(0,u.vPA)(!1);tabIndex=0;get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(pe){this._hideSingleSelectionIndicator=pe,this._syncParentProperties()}_hideSingleSelectionIndicator=this._defaultOptions?.hideSingleSelectionIndicator??!1;get placeholder(){return this._placeholder}set placeholder(pe){this._placeholder=pe,this.stateChanges.next()}_placeholder;get required(){return this._required??this.ngControl?.control?.hasValidator(E.k0.required)??!1}set required(pe){this._required=pe,this.stateChanges.next()}_required;get multiple(){return this._multiple}set multiple(pe){this._multiple=pe}_multiple=!1;disableOptionCentering=this._defaultOptions?.disableOptionCentering??!1;get compareWith(){return this._compareWith}set compareWith(pe){this._compareWith=pe,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(pe){this._assignValue(pe)&&this._onChange(pe)}_value;ariaLabel="";ariaLabelledby;get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(pe){this._errorStateTracker.matcher=pe}typeaheadDebounceInterval;sortComparator;get id(){return this._id}set id(pe){this._id=pe||this._uid,this.stateChanges.next()}_id;get errorState(){return this._errorStateTracker.errorState}set errorState(pe){this._errorStateTracker.errorState=pe}panelWidth=this._defaultOptions&&typeof this._defaultOptions.panelWidth<"u"?this._defaultOptions.panelWidth:"auto";canSelectNullableOptions=this._defaultOptions?.canSelectNullableOptions??!1;optionSelectionChanges=(0,se.v)(()=>{const pe=this.options;return pe?pe.changes.pipe((0,ne.Z)(pe),(0,U.n)(()=>(0,Y.h)(...pe.map(st=>st.onSelectionChange)))):this._initialized.pipe((0,U.n)(()=>this.optionSelectionChanges))});openedChange=new t.bkB;
3_openedStream=this.openedChange.pipe((0,T.p)(pe=>pe),(0,I.T)(()=>{}));_closedStream=this.openedChange.pipe((0,T.p)(pe=>!pe),(0,I.T)(()=>{}));selectionChange=new t.bkB;valueChange=new t.bkB;constructor(){const pe=(0,u.WQX)(Ce.E),st=(0,u.WQX)(E.cV,{optional:!0}),Qe=(0,u.WQX)(E.j4,{optional:!0}),At=(0,u.WQX)(new M.ES_("tabindex"),{optional:!0});this.ngControl&&(this.ngControl.valueAccessor=this),null!=this._defaultOptions?.typeaheadDebounceInterval&&(this.typeaheadDebounceInterval=this._defaultOptions.typeaheadDebounceInterval),this._errorStateTracker=new Ue._(pe,this.ngControl,Qe,st,this.stateChanges),this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=null==At?0:parseInt(At)||0,this.id=this.id}ngOnInit(){this._selectionModel=new f(this.multiple),this.stateChanges.next(),this._viewportRuler.change().pipe((0,w.Q)(this._destroy)).subscribe(()=>{this.panelOpen&&(this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._changeDetectorRef.detectChanges())})}ngAfterContentInit(){this._initialized.next(),this._initialized.complete(),this._initKeyManager(),this._selectionModel.changed.pipe((0,w.Q)(this._destroy)).subscribe(pe=>{pe.added.forEach(st=>st.select()),pe.removed.forEach(st=>st.deselect())}),this.options.changes.pipe((0,ne.Z)(null),(0,w.Q)(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){const pe=this._getTriggerAriaLabelledby(),st=this.ngControl;if(pe!==this._triggerAriaLabelledBy){const Qe=this._elementRef.nativeElement;this._triggerAriaLabelledBy=pe,pe?Qe.setAttribute("aria-labelledby",pe):Qe.removeAttribute("aria-labelledby")}st&&(this._previousControl!==st.control&&(void 0!==this._previousControl&&null!==st.disabled&&st.disabled!==this.disabled&&(this.disabled=st.disabled),this._previousControl=st.control),this.updateErrorState())}ngOnChanges(pe){(pe.disabled||pe.userAriaDescribedBy)&&this.stateChanges.next(),pe.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this.typeaheadDebounceInterval)}ngOnDestroy(){this._cleanupDetach?.(),this._keyManager?.destroy(),this._destroy.next(),this._destroy.complete(),this.stateChanges.complete(),this._clearFromModal()}toggle(){this.panelOpen?this.close():this.open()}open(){this._canOpen()&&(this._parentFormField&&(this._preferredOverlayOrigin=this._parentFormField.getConnectedOverlayOrigin()),this._cleanupDetach?.(),this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._applyModalPanelOwnership(),this._panelOpen=!0,this._overlayDir.positionChange.pipe((0,Z.s)(1)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this._positioningSettled()}),this._overlayDir.attachOverlay(),this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck(),this.stateChanges.next(),Promise.resolve().then(()=>this.openedChange.emit(!0)))}_trackedModal=null;_applyModalPanelOwnership(){const pe=this._elementRef.nativeElement.closest('body > .cdk-overlay-container [aria-modal="true"]');if(!pe)return;const st=`${this.id}-panel`;this._trackedModal&&(0,h.Ae)(this._trackedModal,"aria-owns",st),(0,h.px)(pe,"aria-owns",st),this._trackedModal=pe}_clearFromModal(){this._trackedModal&&((0,h.Ae)(this._trackedModal,"aria-owns",`${this.id}-panel`),this._trackedModal=null)}close(){this._panelOpen&&(this._panelOpen=!1,this._exitAndDetach(),this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched(),this.stateChanges.next(),Promise.resolve().then(()=>this.openedChange.emit(!1)))}_exitAndDetach(){if(this._animationsDisabled||!this.panel)return void this._detachOverlay();this._cleanupDetach?.(),this._cleanupDetach=()=>{st(),clearTimeout(Qe),this._cleanupDetach=void 0};const pe=this.panel.nativeElement,st=this._renderer.listen(pe,"animationend",At=>{"_mat-select-exit"===At.animationName&&(this._cleanupDetach?.(),this._detachOverlay())}),Qe=setTimeout(()=>{this._cleanupDetach?.(),this._detachOverlay()},200);pe.classList.add("mat-select-panel-exit")}_detachOverlay(){this._overlayDir.detachOverlay(),this._changeDetectorRef.markForCheck()}writeValue(pe){this._assignValue(pe)}registerOnChange(pe){this._onChange=pe}registerOnTouched(pe){this._onTouched=pe}setDisabledState(pe){this.disabled=pe,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}get panelOpen(){return this._panelOpen}get selected(){return this.multiple?this._selectionModel?.selected||[]:this._selectionModel?.selected[0]}get triggerValue(){if(this.empty)return"";if(this._multiple){const pe=this._selectionModel.selected.map(st=>st.viewValue);return this._isRtl()&&pe.reverse(),pe.join(", ")}return this._selectionModel.selected[0].viewValue}updateErrorState(){this._errorStateTracker.updateErrorState()}_isRtl(){return!!this._dir&&"rtl"===this._dir.value}_handleKeydown(pe){this.disabled||(this.panelOpen?this._handleOpenKeydown(pe):this._handleClosedKeydown(pe))}_handleClosedKeydown(pe){const st=pe.keyCode,Qe=st===d.D||st===d.U||st===d.L||st===d.R,At=st===d.c||st===d.S,Ne=this._keyManager;if(!Ne.isTyping()&&At&&!(0,L.rp)(pe)||(this.multiple||pe.altKey)&&Qe)pe.preventDefault(),this.open();else if(!this.multiple){const ze=this.selected;Ne.onKeydown(pe);const Ke=this.selected;Ke&&ze!==Ke&&this._liveAnnouncer.announce(Ke.viewValue,1e4)}}_handleOpenKeydown(pe){const st=this._keyManager,Qe=pe.keyCode,At=Qe===d.D||Qe===d.U,Ne=st.isTyping();if(At&&pe.altKey)pe.preventDefault(),this.close();else if(Ne||Qe!==d.c&&Qe!==d.S||!st.activeItem||(0,L.rp)(pe))if(!Ne&&this._multiple&&Qe===d.A&&pe.ctrlKey){pe.preventDefault();const ze=this.options.some(Ke=>!Ke.disabled&&!Ke.selected);this.options.forEach(Ke=>{Ke.disabled||(ze?Ke.select():Ke.deselect())})}else{const ze=st.activeItemIndex;st.onKeydown(pe),this._multiple&&At&&pe.shiftKey&&st.activeItem&&st.activeItemIndex!==ze&&st.activeItem._selectViaInteraction()}else pe.preventDefault(),st.activeItem._selectViaInteraction()}_handleOverlayKeydown(pe){pe.keyCode===d.g&&!(0,L.rp)(pe)&&(pe.preventDefault(),this.close())}_onFocus(){this.disabled||(this._focused=!0,this.stateChanges.next())}_onBlur(){this._focused=!1,this._keyManager?.cancelTypeahead(),!this.disabled&&!this.panelOpen&&(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}
3_getPanelTheme(){return this._parentFormField?`mat-${this._parentFormField.color}`:""}get empty(){return!this._selectionModel||this._selectionModel.isEmpty()}_initializeSelection(){Promise.resolve().then(()=>{this.ngControl&&(this._value=this.ngControl.value),this._setSelectionByValue(this._value),this.stateChanges.next()})}_setSelectionByValue(pe){if(this.options.forEach(st=>st.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&pe)Array.isArray(pe),pe.forEach(st=>this._selectOptionByValue(st)),this._sortValues();else{const st=this._selectOptionByValue(pe);st?this._keyManager.updateActiveItem(st):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectOptionByValue(pe){const st=this.options.find(Qe=>{if(this._selectionModel.isSelected(Qe))return!1;try{return(null!=Qe.value||this.canSelectNullableOptions)&&this._compareWith(Qe.value,pe)}catch{return!1}});return st&&this._selectionModel.select(st),st}_assignValue(pe){return!!(pe!==this._value||this._multiple&&Array.isArray(pe))&&(this.options&&this._setSelectionByValue(pe),this._value=pe,!0)}_skipPredicate=pe=>!this.panelOpen&&pe.disabled;_getOverlayWidth(pe){return"auto"===this.panelWidth?(pe instanceof a.C?pe.elementRef:pe||this._elementRef).nativeElement.getBoundingClientRect().width:null===this.panelWidth?"":this.panelWidth}_syncParentProperties(){if(this.options)for(const pe of this.options)pe._changeDetectorRef.markForCheck()}_initKeyManager(){this._keyManager=new C.A(this.options).withTypeAhead(this.typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withPageUpDown().withAllowedModifierKeys(["shiftKey"]).skipPredicate(this._skipPredicate),this._keyManager.tabOut.subscribe(()=>{this.panelOpen&&(!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close())}),this._keyManager.change.subscribe(()=>{this._panelOpen&&this.panel?this._scrollOptionIntoView(this._keyManager.activeItemIndex||0):!this._panelOpen&&!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction()})}_resetOptions(){const pe=(0,Y.h)(this.options.changes,this._destroy);this.optionSelectionChanges.pipe((0,w.Q)(pe)).subscribe(st=>{this._onSelect(st.source,st.isUserInput),st.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),(0,Y.h)(...this.options.map(st=>st._stateChanges)).pipe((0,w.Q)(pe)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this.stateChanges.next()})}_onSelect(pe,st){const Qe=this._selectionModel.isSelected(pe);this.canSelectNullableOptions||null!=pe.value||this._multiple?(Qe!==pe.selected&&(pe.selected?this._selectionModel.select(pe):this._selectionModel.deselect(pe)),st&&this._keyManager.setActiveItem(pe),this.multiple&&(this._sortValues(),st&&this.focus())):(pe.deselect(),this._selectionModel.clear(),null!=this.value&&this._propagateChanges(pe.value)),Qe!==this._selectionModel.isSelected(pe)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){const pe=this.options.toArray();this._selectionModel.sort((st,Qe)=>this.sortComparator?this.sortComparator(st,Qe,pe):pe.indexOf(st)-pe.indexOf(Qe)),this.stateChanges.next()}}_propagateChanges(pe){let st;st=this.multiple?this.selected.map(Qe=>Qe.value):this.selected?this.selected.value:pe,this._value=st,this.valueChange.emit(st),this._onChange(st),this.selectionChange.emit(this._getChangeEvent(st)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){if(this._keyManager)if(this.empty){let pe=-1;for(let st=0;st<this.options.length;st++)if(!this.options.get(st).disabled){pe=st;break}this._keyManager.setActiveItem(pe)}else this._keyManager.setActiveItem(this._selectionModel.selected[0])}_canOpen(){return!this._panelOpen&&!this.disabled&&this.options?.length>0&&!!this._overlayDir}focus(pe){this._elementRef.nativeElement.focus(pe)}_getPanelAriaLabelledby(){if(this.ariaLabel)return null;const pe=this._parentFormField?.getLabelId()||null;return this.ariaLabelledby?(pe?pe+" ":"")+this.ariaLabelledby:pe}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){if(this.ariaLabel)return null;let pe=this._parentFormField?.getLabelId()||"";return this.ariaLabelledby&&(pe+=" "+this.ariaLabelledby),pe||(pe=this._valueId),pe}get describedByIds(){return this._elementRef.nativeElement.getAttribute("aria-describedby")?.split(" ")||[]}setDescribedByIds(pe){pe.length?this._elementRef.nativeElement.setAttribute("aria-describedby",pe.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this.panelOpen||!this.empty||this.focused&&!!this.placeholder}static \u0275fac=function(st){return new(st||ce)};static \u0275cmp=t.VBU({type:ce,selectors:[["mat-select"]],contentQueries:function(st,Qe,At){if(1&st&&(t.wni(At,bt,5),t.wni(At,ie.M,5),t.wni(At,ie.d,5)),2&st){let Ne;t.mGM(Ne=t.lsd())&&(Qe.customTrigger=Ne.first),t.mGM(Ne=t.lsd())&&(Qe.options=Ne),t.mGM(Ne=t.lsd())&&(Qe.optionGroups=Ne)}},viewQuery:function(st,Qe){if(1&st&&(t.GBs(Xe,5),t.GBs(et,5),t.GBs(a.b,5)),2&st){let At;t.mGM(At=t.lsd())&&(Qe.trigger=At.first),t.mGM(At=t.lsd())&&(Qe.panel=At.first),t.mGM(At=t.lsd())&&(Qe._overlayDir=At.first)}},hostAttrs:["role","combobox","aria-haspopup","listbox",1,"mat-mdc-select"],hostVars:19,hostBindings:function(st,Qe){1&st&&t.bIt("keydown",function(Ne){return Qe._handleKeydown(Ne)})("focus",function(){return Qe._onFocus()})("blur",function(){return Qe._onBlur()}),2&st&&(t.BMQ("id",Qe.id)("tabindex",Qe.disabled?-1:Qe.tabIndex)("aria-controls",Qe.panelOpen?Qe.id+"-panel":null)("aria-expanded",Qe.panelOpen)("aria-label",Qe.ariaLabel||null)("aria-required",Qe.required.toString())("aria-disabled",Qe.disabled.toString())("aria-invalid",Qe.errorState)("aria-activedescendant",Qe._getAriaActiveDescendant()),t.AVh("mat-mdc-select-disabled",Qe.disabled)("mat-mdc-select-invalid",Qe.errorState)("mat-mdc-select-required",Qe.required)("mat-mdc-select-empty",Qe.empty)("mat-mdc-select-multiple",Qe.multiple))},inputs:{userAriaDescribedBy:[0,"aria-describedby","userAriaDescribedBy"],panelClass:"panelClass",disabled:[2,"disabled","disabled",M.L39],disableRipple:[2,"disableRipple","disableRipple",M.L39],tabIndex:[2,"tabIndex","tabIndex",pe=>null==pe?0:(0,M.Udg)(pe)],hideSingleSelectionIndicator:[2,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",M.L39],placeholder:"placeholder",required:[2,"required","required",M.L39],multiple:[2,"multiple","multiple",M.L39],disableOptionCentering:[2,"disableOptionCentering","disableOptionCentering",M.L39],compareWith:"compareWith",value:"value",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:[2,"typeaheadDebounceInterval","typeaheadDebounceInterval",M.Udg],sortComparator:"sortComparator",id:"id",panelWidth:"panelWidth",canSelectNullableOptions:[2,"canSelectNullableOptions","canSelectNullableOptions",M.L39]},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},exportAs:["matSelect"],features:[t.Jv_([{provide:oe.k,useExisting:ce},{provide:ie.c,useExisting:ce}]),t.OA$],ngContentSelectors:De,decls:11,vars:9,consts:[["fallbackOverlayOrigin","cdkOverlayOrigin","trigger",""],["panel",""],["cdk-overlay-origin","",1,"mat-mdc-select-trigger",3,"click"],[1,"mat-mdc-select-value"],[1,"mat-mdc-select-placeholder","mat-mdc-select-min-line"],[1,"mat-mdc-select-value-text"],[1,"mat-mdc-select-arrow-wrapper"],[1,"mat-mdc-select-arrow"],["viewBox","0 0 24 24","width","24px","height","24px","focusable","false","aria-hidden","true"],["d","M7 10l5 5 5-5z"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"detach","backdropClick","overlayKeydown","cdkConnectedOverlayDisableClose","cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayPositions","cdkConnectedOverlayWidth","cdkConnectedOverlayFlexibleDimensions"],[1,"mat-mdc-select-min-line"],["role","listbox","tabindex","-1",3,"keydown","ngClass"]],template:function(st,Qe){if(1&st){const At=t.RV6();t.NAR(xe),t.j41(0,"div",2,0),t.bIt("click",function(){return u.eBV(At),u.Njj(Qe.open())}),t.j41(3,"div",3),t.nVh(4,ue,2,1,"span",4)(5,ae,3,1,"span",5),t.k0s(),t.j41(6,"div",6)(7,"div",7),u.qSk(),t.j41(8,"svg",8),t.nrm(9,"path",9),t.k0s()()()(),t.DNE(10,X,3,10,"ng-template",10),t.bIt("detach",function(){return u.eBV(At),u.Njj(Qe.close())})("backdropClick",function(){return u.eBV(At),u.Njj(Qe.close())})("overlayKeydown",function(ze){return u.eBV(At),u.Njj(Qe._handleOverlayKeydown(ze))})}if(2&st){const At=t.sdS(1);t.R7$(3),t.BMQ("id",Qe._valueId),t.R7$(),t.vxM(Qe.empty?4:5),t.R7$(6),t.Y8G("cdkConnectedOverlayDisableClose",!0)("cdkConnectedOverlayPanelClass",Qe._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",Qe._scrollStrategy)("cdkConnectedOverlayOrigin",Qe._preferredOverlayOrigin||At)("cdkConnectedOverlayPositions",Qe._positions)("cdkConnectedOverlayWidth",Qe._overlayWidth)("cdkConnectedOverlayFlexibleDimensions",!0)}},dependencies:[a.C,a.b,N.YU],styles:['@keyframes _mat-select-enter{from{opacity:0;transform:scaleY(0.8)}to{opacity:1;transform:none}}@keyframes _mat-select-exit{from{opacity:1}to{opacity:0}
3}.mat-mdc-select{display:inline-block;width:100%;outline:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;color:var(--mat-select-enabled-trigger-text-color, var(--mat-sys-on-surface));font-family:var(--mat-select-trigger-text-font, var(--mat-sys-body-large-font));line-height:var(--mat-select-trigger-text-line-height, var(--mat-sys-body-large-line-height));font-size:var(--mat-select-trigger-text-size, var(--mat-sys-body-large-size));font-weight:var(--mat-select-trigger-text-weight, var(--mat-sys-body-large-weight));letter-spacing:var(--mat-select-trigger-text-tracking, var(--mat-sys-body-large-tracking))}div.mat-mdc-select-panel{box-shadow:var(--mat-select-container-elevation-shadow, 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-select-disabled{color:var(--mat-select-disabled-trigger-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-select-disabled .mat-mdc-select-placeholder{color:var(--mat-select-disabled-trigger-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-select-trigger{display:inline-flex;align-items:center;cursor:pointer;position:relative;box-sizing:border-box;width:100%}.mat-mdc-select-disabled .mat-mdc-select-trigger{-webkit-user-select:none;user-select:none;cursor:default}.mat-mdc-select-value{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-mdc-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-mdc-select-arrow-wrapper{height:24px;flex-shrink:0;display:inline-flex;align-items:center}.mat-form-field-appearance-fill .mdc-text-field--no-label .mat-mdc-select-arrow-wrapper{transform:none}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-invalid .mat-mdc-select-arrow,.mat-form-field-invalid:not(.mat-form-field-disabled) .mat-mdc-form-field-infix::after{color:var(--mat-select-invalid-arrow-color, var(--mat-sys-error))}.mat-mdc-select-arrow{width:10px;height:5px;position:relative;color:var(--mat-select-enabled-arrow-color, var(--mat-sys-on-surface-variant))}.mat-mdc-form-field.mat-focused .mat-mdc-select-arrow{color:var(--mat-select-focused-arrow-color, var(--mat-sys-primary))}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-disabled .mat-mdc-select-arrow{color:var(--mat-select-disabled-arrow-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-select-arrow svg{fill:currentColor;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}@media(forced-colors: active){.mat-mdc-select-arrow svg{fill:CanvasText}.mat-mdc-select-disabled .mat-mdc-select-arrow svg{fill:GrayText}}div.mat-mdc-select-panel{width:100%;max-height:275px;outline:0;overflow:auto;padding:8px 0;border-radius:4px;box-sizing:border-box;position:relative;background-color:var(--mat-select-panel-background-color, var(--mat-sys-surface-container))}@media(forced-colors: active){div.mat-mdc-select-panel{outline:solid 1px}}.cdk-overlay-pane:not(.mat-mdc-select-panel-above) div.mat-mdc-select-panel{border-top-left-radius:0;border-top-right-radius:0;transform-origin:top center}.mat-mdc-select-panel-above div.mat-mdc-select-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:bottom center}.mat-select-panel-animations-enabled{animation:_mat-select-enter 120ms cubic-bezier(0, 0, 0.2, 1)}.mat-select-panel-animations-enabled.mat-select-panel-exit{animation:_mat-select-exit 100ms linear}.mat-mdc-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1);color:var(--mat-select-placeholder-text-color, var(--mat-sys-on-surface-variant))}.mat-mdc-form-field:not(.mat-form-field-animations-enabled) .mat-mdc-select-placeholder,._mat-animation-noopable .mat-mdc-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-mdc-select-placeholder{color:rgba(0,0,0,0);-webkit-text-fill-color:rgba(0,0,0,0);transition:none;display:block}.mat-mdc-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper{cursor:pointer}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mat-mdc-floating-label{max-width:calc(100% - 18px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 24px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-text-field--label-floating .mdc-notched-outline__notch{max-width:calc(100% - 24px)}.mat-mdc-select-min-line:empty::before{content:" ";white-space:pre;width:1px;display:inline-block;visibility:hidden}.mat-form-field-appearance-fill .mat-mdc-select-arrow-wrapper{transform:var(--mat-select-arrow-transform, translateY(-8px))}\n'],encapsulation:2,changeDetection:0})}return ce})(),x=(()=>{class ce{static \u0275fac=function(st){return new(st||ce)};static \u0275mod=t.$C({type:ce});static \u0275inj=u.G2t({providers:[Ge],imports:[a.t,nt.M,we.M,v.Gj,at.M,nt.M,we.M]})}return ce})()},90645:(qe,ee,o)=>{"use strict";o.d(ee,{v:()=>C});var a=o(92771),t=o(25558),u=o(98071),v=o(96354),r=o(22193),_=o(2615),h=o(29330
3);let C=(()=>{class b{constructor(f){this._http=f,this.$userStatusChecked=new a.m}getConfig(){return this._http.get(runtimeEnvironment.API_WEB+"config.json",{withCredentials:!0})}reportUserStatusChecked(f){this.$userStatusChecked.next(f)}getTogglz(){return this.togglzSubject||(this.togglzSubject=new a.m(1),this.$userStatusChecked.asObservable().pipe(function M(b,D){return(0,u.T)(D)?(0,t.n)(()=>b,D):(0,t.n)(()=>b)}(this.getConfig())).subscribe(f=>{this.togglzSubject.next(f)})),this.togglzSubject.asObservable()}getStateOf(f){return this.getTogglz().pipe((0,v.T)(O=>{const d=O.messages[f];if("false"===d||"0"===d)return!1;if("true"===d||"100"===d)return!0;const L=Math.max(0,Math.min(100,parseInt(d??"0",10)||0));if(L<=0)return!1;if(L>=100)return!0;const E=`togglz-sample-${f}`,se=sessionStorage.getItem(E);if(null!==se)return"true"===se;const Y=100*Math.random()<L;return sessionStorage.setItem(E,String(Y)),Y}))}getMessageOf(f){return this.getTogglz().pipe((0,v.T)(O=>O.messages[f]))}getConfigurationOf(f){return this.getTogglz().pipe((0,v.T)(O=>O.messages[f]))}getMaintenanceMessages(){return this.getMessageOf(r.i.MAINTENANCE_MESSAGE).pipe((0,v.T)(f=>{const O=f,L=(new DOMParser).parseFromString(O,"text/html");return{plainHtml:O,closableElements:this.nodelistToArray(L.querySelectorAll("div.closable")),nonClosableElements:this.nodelistToArray(L.querySelectorAll("div.regular"))}}))}nodelistToArray(f){const O=[];return f.forEach(d=>{O.push(d)}),O}static{this.\u0275fac=function(O){return new(O||b)(_.KVO(h.Qq))}}static{this.\u0275prov=_.jDH({token:b,factory:b.\u0275fac,providedIn:"root"})}}return b})()},91029:(qe,ee,o)=>{"use strict";o.d(ee,{D$:()=>xi,Ix:()=>to,J2:()=>Oa,J_:()=>As,Lg:()=>Br,OY:()=>ki,Pu:()=>ks,Sd:()=>Ct,Us:()=>Or,XR:()=>Ea,Z:()=>gn,Zp:()=>Lt,bK:()=>Xr,bw:()=>Ss,c1:()=>Ri,gk:()=>ta,lW:()=>oi,mo:()=>pi,n3:()=>Ao,nU:()=>Wt,nX:()=>Si,tD:()=>Kr,wF:()=>kn,wO:()=>wi,wU:()=>yt,we:()=>qr});var a=o(2615),t=o(57303),u=o(73664),M=o(17705),v=o(74402),r=o(86648),_=o(7673),h=o(84412),C=o(84572),b=o(9350),D=o(28793),f=o(59030),O=o(71203),d=o(18810),L=o(983),E=o(30017),se=o(21413),Y=o(71985),ne=o(18359),U=o(96354),T=o(25558),I=o(96697),w=o(99172),Z=o(5964),N=o(31397),oe=o(61594),H=o(70274),ie=o(88141),Ce=o(99437),Ue=o(22816),nt=o(39901),we=o(67018),at=o(55109),Xe=o(70980),et=o(99898),xe=o(56977),De=o(345);const ue="primary",z=Symbol("RouteTitle");class de{params;constructor(q){this.params=q||{}}has(q){return Object.prototype.hasOwnProperty.call(this.params,q)}get(q){if(this.has(q)){const V=this.params[q];return Array.isArray(V)?V[0]:V}return null}getAll(q){if(this.has(q)){const V=this.params[q];return Array.isArray(V)?V:[V]}return[]}get keys(){return Object.keys(this.params)}}function ae(G){return new de(G)}function X(G,q,V){const te=V.path.split("/");if(te.length>G.length||"full"===V.pathMatch&&(q.hasChildren()||te.length<G.length))return null;const ye={};for(let He=0;He<te.length;He++){const ut=te[He],Bt=G[He];if(":"===ut[0])ye[ut.substring(1)]=Bt;else if(ut!==Bt.path)return null}return{consumed:G.slice(0,te.length),posParams:ye}}function K(G,q){const V=G?Be(G):void 0,te=q?Be(q):void 0;if(!V||!te||V.length!=te.length)return!1;let ye;for(let He=0;He<V.length;He++)if(ye=V[He],!Ye(G[ye],q[ye]))return!1;return!0}function Be(G){return[...Object.keys(G),...Object.getOwnPropertySymbols(G)]}function Ye(G,q){if(Array.isArray(G)&&Array.isArray(q)){if(G.length!==q.length)return!1;const V=[...G].sort(),te=[...q].sort();return V.every((ye,He)=>te[He]===ye)}return G===q}function Se(G){return G.length>0?G[G.length-1]:null}function pt(G){return(0,v.A)(G)?G:(0,u.yLl)(G)?(0,r.H)(Promise.resolve(G)):(0,_.of)(G)}const Ge={exact:function R(G,q,V){if(!ze(G.segments,q.segments)||!pe(G.segments,q.segments,V)||G.numberOfChildren!==q.numberOfChildren)return!1;for(const te in q.children)if(!G.children[te]||!R(G.children[te],q.children[te],V))return!1;return!0},subset:ce},bt={exact:function J(G,q){return K(G,q)},subset:function x(G,q){return Object.keys(q).length<=Object.keys(G).length&&Object.keys(q).every(V=>Ye(G[V],q[V]))},ignored:()=>!0};function me(G,q,V){return Ge[V.paths](G.root,q.root,V.matrixParams)&&bt[V.queryParams](G.queryParams,q.queryParams)&&!("exact"===V.fragment&&G.fragment!==q.fragment)}function ce(G,q,V){return Pe(G,q,q.segments,V)}function Pe(G,q,V,te){if(G.segments.length>V.length){const ye=G.segments.slice(0,V.length);
3return!(!ze(ye,V)||q.hasChildren()||!pe(ye,V,te))}if(G.segments.length===V.length){if(!ze(G.segments,V)||!pe(G.segments,V,te))return!1;for(const ye in q.children)if(!G.children[ye]||!ce(G.children[ye],q.children[ye],te))return!1;return!0}{const ye=V.slice(0,G.segments.length),He=V.slice(G.segments.length);return!!(ze(G.segments,ye)&&pe(G.segments,ye,te)&&G.children[ue])&&Pe(G.children[ue],q,He,te)}}function pe(G,q,V){return q.every((te,ye)=>bt[V](G[ye].parameters,te.parameters))}class st{root;queryParams;fragment;_queryParamMap;constructor(q=new Qe([],{}),V={},te=null){this.root=q,this.queryParams=V,this.fragment=te}get queryParamMap(){return this._queryParamMap??=ae(this.queryParams),this._queryParamMap}toString(){return ln.serialize(this)}}class Qe{segments;children;parent=null;constructor(q,V){this.segments=q,this.children=V,Object.values(V).forEach(te=>te.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Rn(this)}}class At{path;parameters;_parameterMap;constructor(q,V){this.path=q,this.parameters=V}get parameterMap(){return this._parameterMap??=ae(this.parameters),this._parameterMap}toString(){return mt(this)}}function ze(G,q){return G.length===q.length&&G.every((V,te)=>V.path===q[te].path)}let Ct=(()=>{class G{static \u0275fac=function(te){return new(te||G)};static \u0275prov=a.jDH({token:G,factory:()=>new Wt,providedIn:"root"})}return G})();class Wt{parse(q){const V=new hn(q);return new st(V.parseRootSegment(),V.parseQueryParams(),V.parseFragment())}serialize(q){const V=`/${Dn(q.root,!0)}`,te=function Nt(G){const q=Object.entries(G).map(([V,te])=>Array.isArray(te)?te.map(ye=>`${Yn(V)}=${Yn(ye)}`).join("&"):`${Yn(V)}=${Yn(te)}`).filter(V=>V);return q.length?`?${q.join("&")}`:""}(q.queryParams);return`${V}${te}${"string"==typeof q.fragment?`#${function ui(G){return encodeURI(G)}(q.fragment)}`:""}`}}const ln=new Wt;function Rn(G){return G.segments.map(q=>mt(q)).join("/")}function Dn(G,q){if(!G.hasChildren())return Rn(G);if(q){const V=G.children[ue]?Dn(G.children[ue],!1):"",te=[];return Object.entries(G.children).forEach(([ye,He])=>{ye!==ue&&te.push(`${ye}:${Dn(He,!1)}`)}),te.length>0?`${V}(${te.join("//")})`:V}{const V=function Ke(G,q){let V=[];return Object.entries(G.children).forEach(([te,ye])=>{te===ue&&(V=V.concat(q(ye,te)))}),Object.entries(G.children).forEach(([te,ye])=>{te!==ue&&(V=V.concat(q(ye,te)))}),V}(G,(te,ye)=>ye===ue?[Dn(G.children[ue],!1)]:[`${ye}:${Dn(te,!1)}`]);return 1===Object.keys(G.children).length&&null!=G.children[ue]?`${Rn(G)}/${V[0]}`:`${Rn(G)}/(${V.join("//")})`}}function Gn(G){return encodeURIComponent(G).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Yn(G){return Gn(G).replace(/%3B/gi,";")}function ti(G){return Gn(G).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function $t(G){return decodeURIComponent(G)}function it(G){return $t(G.replace(/\+/g,"%20"))}function mt(G){return`${ti(G.path)}${function Ze(G){return Object.entries(G).map(([q,V])=>`;${ti(q)}=${ti(V)}`).join("")}(G.parameters)}`}const vt=/^[^\/()?;#]+/;function $e(G){const q=G.match(vt);return q?q[0]:""}const ht=/^[^\/()?;=#]+/,It=/^[^=?&#]+/,on=/^[^&#]+/;class hn{url;remaining;constructor(q){this.url=q,this.remaining=q}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Qe([],{}):new Qe([],this.parseChildren())}parseQueryParams(){const q={};if(this.consumeOptional("?"))do{this.parseQueryParam(q)}while(this.consumeOptional("&"));return q}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const q=[];for(this.peekStartsWith("(")||q.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),q.push(this.parseSegment());let V={};this.peekStartsWith("/(")&&(this.capture("/"),V=this.parseParens(!0));let te={};return this.peekStartsWith("(")&&(te=this.parseParens(!1)),(q.length>0||Object.keys(V).length>0)&&(te[ue]=new Qe(q,V)),te}parseSegment(){const q=$e(this.remaining);if(""===q&&this.peekStartsWith(";"))throw new a.buA(4009,!1);return this.capture(q),new At($t(q),this.parseMatrixParams())}parseMatrixParams(){const q={};for(;this.consumeOptional(";");)this.parseParam(q);return q}parseParam(q){const V=function Ae(G){const q=G.match(ht);return q?q[0]:""}(this.remaining);if(!V)return;this.capture(V);let te="";if(this.consumeOptional("=")){const ye=$e(this.remaining);ye&&(te=ye,this.capture(te))}q[$t(V)]=$t(te)}parseQueryParam(q){const V=function Mt(G){const q=G.match(It);return q?q[0]:""}(this.remaining);if(!V)return;this.capture(V);let te="";if(this.consumeOptional("=")){const ut=function Gt(G){const q=G.match(on);return q?q[0]:""}(this.remaining);ut&&(te=ut,this.capture(te))}const ye=it(V),He=it(te);if(q.hasOwnProperty(ye)){let ut=q[ye];Array.isArray(ut)||(ut=[ut],q[ye]=ut),ut.push(He)}else q[ye]=He}parseParens(q){const V={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const te=$e(this.remaining),ye=this.remaining[te.length];if("/"!==ye&&")"!==ye&&";"!==ye)throw new a.buA(4010,!1);let He;te.indexOf(":")>-1?(He=te.slice(0,te.indexOf(":")),this.capture(He),this.capture(":")):q&&(He=ue);const ut=this.parseChildren();V[He]=1===Object.keys(ut).length?ut[ue]:new Qe([],ut),this.consumeOptional("//")}return V}peekStartsWith(q){return this.remaining.startsWith(q)}consumeOptional(q){return!!this.peekStartsWith(q)&&(this.remaining=this.remaining.substring(q.length),!0)}capture(q){if(!this.consumeOptional(q))throw new a.buA(4011,!1)}}function Cn(G){return G.segments.length>0?new Qe([],{[ue]:G}):G}function Sn(G){const q={};for(const[te,ye]of Object.entries(G.children)){const He=Sn(ye);if(te===ue&&0===He.segments.length&&He.hasChildren())for(const[ut,Bt]of Object.entries(He.children))q[ut]=Bt;else(He.segments.length>0||He.hasChildren())&&(q[te]=He)}return function ni(G){if(1===G.numberOfChildren&&G.children[ue]){const q=G.children[ue];return new Qe(G.segments.concat(q.segments),q.children)}return G}(new Qe(G.segments,q))}function wi(G){return G instanceof st}function Ai(G){let q;
3const ye=Cn(function V(He){const ut={};for(const tn of He.children){const Pn=V(tn);ut[tn.outlet]=Pn}const Bt=new Qe(He.url,ut);return He===G&&(q=Bt),Bt}(G.root));return q??ye}function Hi(G,q,V,te){let ye=G;for(;ye.parent;)ye=ye.parent;if(0===q.length)return Qi(ye,ye,ye,V,te);const He=function _e(G){if("string"==typeof G[0]&&1===G.length&&"/"===G[0])return new Me(!0,0,G);let q=0,V=!1;const te=G.reduce((ye,He,ut)=>{if("object"==typeof He&&null!=He){if(He.outlets){const Bt={};return Object.entries(He.outlets).forEach(([tn,Pn])=>{Bt[tn]="string"==typeof Pn?Pn.split("/"):Pn}),[...ye,{outlets:Bt}]}if(He.segmentPath)return[...ye,He.segmentPath]}return"string"!=typeof He?[...ye,He]:0===ut?(He.split("/").forEach((Bt,tn)=>{0==tn&&"."===Bt||(0==tn&&""===Bt?V=!0:".."===Bt?q++:""!=Bt&&ye.push(Bt))}),ye):[...ye,He]},[]);return new Me(V,q,te)}(q);if(He.toRoot())return Qi(ye,ye,new Qe([],{}),V,te);const ut=function _t(G,q,V){if(G.isAbsolute)return new ke(q,!0,0);if(!V)return new ke(q,!1,NaN);if(null===V.parent)return new ke(V,!0,0);const te=tr(G.commands[0])?0:1;return function wt(G,q,V){let te=G,ye=q,He=V;for(;He>ye;){if(He-=ye,te=te.parent,!te)throw new a.buA(4005,!1);ye=te.segments.length}return new ke(te,!1,ye-He)}(V,V.segments.length-1+te,G.numberOfDoubleDots)}(He,ye,G),Bt=ut.processChildren?le(ut.segmentGroup,ut.index,He.commands):Tt(ut.segmentGroup,ut.index,He.commands);return Qi(ye,ut.segmentGroup,Bt,V,te)}function tr(G){return"object"==typeof G&&null!=G&&!G.outlets&&!G.segmentPath}function Yi(G){return"object"==typeof G&&null!=G&&G.outlets}function Qi(G,q,V,te,ye){let ut,He={};te&&Object.entries(te).forEach(([tn,Pn])=>{He[tn]=Array.isArray(Pn)?Pn.map($i=>`${$i}`):`${Pn}`}),ut=G===q?V:xt(G,q,V);const Bt=Cn(Sn(ut));return new st(Bt,He,ye)}function xt(G,q,V){const te={};return Object.entries(G.children).forEach(([ye,He])=>{te[ye]=He===q?V:xt(He,q,V)}),new Qe(G.segments,te)}class Me{isAbsolute;numberOfDoubleDots;commands;constructor(q,V,te){if(this.isAbsolute=q,this.numberOfDoubleDots=V,this.commands=te,q&&te.length>0&&tr(te[0]))throw new a.buA(4003,!1);const ye=te.find(Yi);if(ye&&ye!==Se(te))throw new a.buA(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class ke{segmentGroup;processChildren;index;constructor(q,V,te){this.segmentGroup=q,this.processChildren=V,this.index=te}}function Tt(G,q,V){if(G??=new Qe([],{}),0===G.segments.length&&G.hasChildren())return le(G,q,V);const te=function Ve(G,q,V){let te=0,ye=q;const He={match:!1,pathIndex:0,commandIndex:0};for(;ye<G.segments.length;){if(te>=V.length)return He;const ut=G.segments[ye],Bt=V[te];if(Yi(Bt))break;const tn=`${Bt}`,Pn=te<V.length-1?V[te+1]:null;if(ye>0&&void 0===tn)break;if(tn&&Pn&&"object"==typeof Pn&&void 0===Pn.outlets){if(!ot(tn,Pn,ut))return He;te+=2}else{if(!ot(tn,{},ut))return He;te++}ye++}return{match:!0,pathIndex:ye,commandIndex:te}}(G,q,V),ye=V.slice(te.commandIndex);if(te.match&&te.pathIndex<G.segments.length){const He=new Qe(G.segments.slice(0,te.pathIndex),{});return He.children[ue]=new Qe(G.segments.slice(te.pathIndex),G.children),le(He,0,ye)}return te.match&&0===ye.length?new Qe(G.segments,{}):te.match&&!G.hasChildren()?Te(G,q,V):te.match?le(G,0,ye):Te(G,q,V)}function le(G,q,V){if(0===V.length)return new Qe(G.segments,{});{const te=function Je(G){return Yi(G[0])?G[0].outlets:{[ue]:G}}(V),ye={};if(Object.keys(te).some(He=>He!==ue)&&G.children[ue]&&1===G.numberOfChildren&&0===G.children[ue].segments.length){const He=le(G.children[ue],q,V);return new Qe(G.segments,He.children)}return Object.entries(te).forEach(([He,ut])=>{"string"==typeof ut&&(ut=[ut]),null!==ut&&(ye[He]=Tt(G.children[He],q,ut))}),Object.entries(G.children).forEach(([He,ut])=>{void 0===te[He]&&(ye[He]=ut)}),new Qe(G.segments,ye)}}function Te(G,q,V){const te=G.segments.slice(0,q);let ye=0;for(;ye<V.length;){const He=V[ye];if(Yi(He)){const tn=Ht(He.outlets);return new Qe(te,tn)}if(0===ye&&tr(V[0])){te.push(new At(G.segments[q].path,Jt(V[0]))),ye++;continue}const ut=Yi(He)?He.outlets[ue]:`${He}`,Bt=ye<V.length-1?V[ye+1]:null;ut&&Bt&&tr(Bt)?(te.push(new At(ut,Jt(Bt))),ye+=2):(te.push(new At(ut,{})),ye++)}return new Qe(te,{})}function Ht(G){const q={};return Object.entries(G).forEach(([V,te])=>{"string"==typeof te&&(te=[te]),null!==te&&(q[V]=Te(new Qe([],{}),0,te))}),q}function Jt(G){const q={};return Object.entries(G).forEach(([V,te])=>q[V]=`${te}`),q}function ot(G,q,V){return G==V.path&&K(q,V.parameters)}const yt="imperative";var Ut=function(G){return G[G.NavigationStart=0]="NavigationStart",G[G.NavigationEnd=1]="NavigationEnd",G[G.NavigationCancel=2]="NavigationCancel",G[G.NavigationError=3]="NavigationError",G[G.RoutesRecognized=4]="RoutesRecognized",G[G.ResolveStart=5]="ResolveStart",G[G.ResolveEnd=6]="ResolveEnd",G[G.GuardsCheckStart=7]="GuardsCheckStart",G[G.GuardsCheckEnd=8]="GuardsCheckEnd",G[G.RouteConfigLoadStart=9]="RouteConfigLoadStart",G[G.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",G[G.ChildActivationStart=11]="ChildActivationStart",G[G.ChildActivationEnd=12]="ChildActivationEnd",G[G.ActivationStart=13]="ActivationStart",G[G.ActivationEnd=14]="ActivationEnd",G[G.Scroll=15]="Scroll",G[G.NavigationSkipped=16]="NavigationSkipped",G}(Ut||{});class Xt{id;url;constructor(q,V){this.id=q,this.url=V}}class gn extends Xt{type=Ut.NavigationStart;navigationTrigger;restoredState;constructor(q,V,te="imperative",ye=null){super(q,V),this.navigationTrigger=te,this.restoredState=ye}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class kn extends Xt{urlAfterRedirects;type=Ut.NavigationEnd;constructor(q,V,te){super(q,V),this.urlAfterRedirects=te}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}var bn=function(G){return G[G.Redirect=0]="Redirect",G[G.SupersededByNewNavigation=1]="SupersededByNewNavigation",G[G.NoDataFromRe
3solver=2]="NoDataFromResolver",G[G.GuardRejected=3]="GuardRejected",G[G.Aborted=4]="Aborted",G}(bn||{}),pi=function(G){return G[G.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",G[G.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",G}(pi||{});class Mi extends Xt{reason;code;type=Ut.NavigationCancel;constructor(q,V,te,ye){super(q,V),this.reason=te,this.code=ye}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class oi extends Xt{reason;code;type=Ut.NavigationSkipped;constructor(q,V,te,ye){super(q,V),this.reason=te,this.code=ye}}class Fi extends Xt{error;target;type=Ut.NavigationError;constructor(q,V,te,ye){super(q,V),this.error=te,this.target=ye}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class Kn extends Xt{urlAfterRedirects;state;type=Ut.RoutesRecognized;constructor(q,V,te,ye){super(q,V),this.urlAfterRedirects=te,this.state=ye}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Bn extends Xt{urlAfterRedirects;state;type=Ut.GuardsCheckStart;constructor(q,V,te,ye){super(q,V),this.urlAfterRedirects=te,this.state=ye}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Pi extends Xt{urlAfterRedirects;state;shouldActivate;type=Ut.GuardsCheckEnd;constructor(q,V,te,ye,He){super(q,V),this.urlAfterRedirects=te,this.state=ye,this.shouldActivate=He}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class Ii extends Xt{urlAfterRedirects;state;type=Ut.ResolveStart;constructor(q,V,te,ye){super(q,V),this.urlAfterRedirects=te,this.state=ye}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class zn extends Xt{urlAfterRedirects;state;type=Ut.ResolveEnd;constructor(q,V,te,ye){super(q,V),this.urlAfterRedirects=te,this.state=ye}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Ki{route;type=Ut.RouteConfigLoadStart;constructor(q){this.route=q}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class or{route;type=Ut.RouteConfigLoadEnd;constructor(q){this.route=q}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class er{snapshot;type=Ut.ChildActivationStart;constructor(q){this.snapshot=q}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class nr{snapshot;type=Ut.ChildActivationEnd;constructor(q){this.snapshot=q}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Ci{snapshot;type=Ut.ActivationStart;constructor(q){this.snapshot=q}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class sr{snapshot;type=Ut.ActivationEnd;constructor(q){this.snapshot=q}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ki{routerEvent;position;anchor;type=Ut.Scroll;constructor(q,V,te){this.routerEvent=q,this.position=V,this.anchor=te}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class gi{}class Zi{url;navigationBehaviorOptions;constructor(q,V){this.url=q,this.navigationBehaviorOptions=V}}function Or(G){switch(G.type){case Ut.ActivationEnd:return`ActivationEnd(path: '${G.snapshot.routeConfig?.path||""}')`;case Ut.ActivationStart:return`ActivationStart(path: '${G.snapshot.routeConfig?.path||""}')`;case Ut.ChildActivationEnd:return`ChildActivationEnd(path: '${G.snapshot.routeConfig?.path||""}')`;case Ut.ChildActivationStart:return`ChildActivationStart(path: '${G.snapshot.routeConfig?.path||""}')`;case Ut.GuardsCheckEnd:return`GuardsCheckEnd(id: ${G.id}, url: '${G.url}', urlAfterRedirects: '${G.urlAfterRedirects}', state: ${G.state}, shouldActivate: ${G.shouldActivate})`;case Ut.GuardsCheckStart:return`GuardsCheckStart(id: ${G.id}, url: '${G.url}', urlAfterRedirects: '${G.urlAfterRedirects}', state: ${G.state})`;case Ut.NavigationCancel:return`NavigationCancel(id: ${G.id}, url: '${G.url}')`;case Ut.NavigationSkipped:return`NavigationSkipped(id: ${G.id}, url: '${G.url}')`;case Ut.NavigationEnd:return`NavigationEnd(id: ${G.id}, url: '${G.url}', urlAfterRedirects: '${G.urlAfterRedirects}')`;case Ut.NavigationError:return`NavigationError(id: ${G.id}, url: '${G.url}', error: ${G.error})`;case Ut.NavigationStart:return`NavigationStart(id: ${G.id}, url: '${G.url}')`;case Ut.ResolveEnd:return`ResolveEnd(id: ${G.id}, url: '${G.url}', urlAfterRedirects: '${G.urlAfterRedirects}', state: ${G.state})`;case Ut.ResolveStart:return`ResolveStart(id: ${G.id}, url: '${G.url}', urlAfterRedirects: '${G.urlAfterRedirects}', state: ${G.state})`;case Ut.RouteConfigLoadEnd:return`RouteConfigLoadEnd(path: ${G.route.path})`;case Ut.RouteConfigLoadStart:return`RouteConfigLoadStart(path: ${G.route.path})`;case Ut.RoutesRecognized:return`RoutesRecognized(id: ${G.id}, url: '${G.url}', urlAfterRedirects: '${G.urlAfterRedirects}', state: ${G.state})`;case Ut.Scroll:return`Scroll(anchor: '${G.anchor}', position: '${G.position?`${G.position[0]}, ${G.position[1]}`:null}')`}}function he(G){return G.outlet||ue}function Re(G){if(!G)return null;if(G.routeConfig?._injector)return G.routeConfig._injector;for(let q=G.parent;q;q=q.parent){const V=q.routeConfig;if(V?._loadedInjector)return V._loadedInjector;if(V?._injector)return V._injector}return null}class tt{rootInjector;outlet=null;route=null;children;attachRef=null;get injector(){return Re(this.route?.snapshot)??this.rootInjector}constructor(q){this.rootInjector=q,this.children=new Lt(this.rootInjector)}}let Lt=(()=>{class G{rootInjector;contexts=new Map;constructor(V){this.rootInjector=V}onChildOutletCreated(V,te){const ye=this.getOrCreateContext(V);ye.outlet=te,this.contexts.set(V,ye)}onChildOutletDestroyed(V){const te=this.getContext(V);te&&(te.outlet=null,te.attachRef=null)}onOutletDeactivated(){const V=this.contexts;return this.contexts=new Map,V}onOutletReAttached(V){this.contexts=V}getOrCreateContext(V){let te=this.getContext(V);return te||(te=new tt(this.rootInjector),this.contexts.set(V,te)),te}getContext(V){return this.contexts.get(V)||null}static \u0275fac=function(te){return new(te||G)(a.KVO(a.uvJ))};static \u0275prov=a.jDH({token:G,factory:G.\u0275fac,providedIn:"root"})}return G})();
3class nn{_root;constructor(q){this._root=q}get root(){return this._root.value}parent(q){const V=this.pathFromRoot(q);return V.length>1?V[V.length-2]:null}children(q){const V=_n(q,this._root);return V?V.children.map(te=>te.value):[]}firstChild(q){const V=_n(q,this._root);return V&&V.children.length>0?V.children[0].value:null}siblings(q){const V=Tn(q,this._root);return V.length<2?[]:V[V.length-2].children.map(ye=>ye.value).filter(ye=>ye!==q)}pathFromRoot(q){return Tn(q,this._root).map(V=>V.value)}}function _n(G,q){if(G===q.value)return q;for(const V of q.children){const te=_n(G,V);if(te)return te}return null}function Tn(G,q){if(G===q.value)return[q];for(const V of q.children){const te=Tn(G,V);if(te.length)return te.unshift(q),te}return[]}class hi{value;children;constructor(q,V){this.value=q,this.children=V}toString(){return`TreeNode(${this.value})`}}function ai(G){const q={};return G&&G.children.forEach(V=>q[V.value.outlet]=V),q}class Ei extends nn{snapshot;constructor(q,V){super(q),this.snapshot=V,Fr(this,q)}toString(){return this.snapshot.toString()}}function _i(G){const q=function Ji(G){const He=new ri([],{},{},"",{},ue,G,null,{});return new li("",new hi(He,[]))}(G),V=new h.t([new At("",{})]),te=new h.t({}),ye=new h.t({}),He=new h.t({}),ut=new h.t(""),Bt=new Si(V,te,He,ut,ye,ue,G,q.root);return Bt.snapshot=q.root,new Ei(new hi(Bt,[]),q)}class Si{urlSubject;paramsSubject;queryParamsSubject;fragmentSubject;dataSubject;outlet;component;snapshot;_futureSnapshot;_routerState;_paramMap;_queryParamMap;title;url;params;queryParams;fragment;data;constructor(q,V,te,ye,He,ut,Bt,tn){this.urlSubject=q,this.paramsSubject=V,this.queryParamsSubject=te,this.fragmentSubject=ye,this.dataSubject=He,this.outlet=ut,this.component=Bt,this._futureSnapshot=tn,this.title=this.dataSubject?.pipe((0,U.T)(Pn=>Pn[z]))??(0,_.of)(void 0),this.url=q,this.params=V,this.queryParams=te,this.fragment=ye,this.data=He}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe((0,U.T)(q=>ae(q))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe((0,U.T)(q=>ae(q))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function Vi(G,q,V="emptyOnly"){let te;const{routeConfig:ye}=G;return te=null===q||"always"!==V&&""!==ye?.path&&(q.component||q.routeConfig?.loadComponent)?{params:{...G.params},data:{...G.data},resolve:{...G.data,...G._resolvedData??{}}}:{params:{...q.params,...G.params},data:{...q.data,...G.data},resolve:{...G.data,...q.data,...ye?.data,...G._resolvedData}},ye&&Rr(ye)&&(te.resolve[z]=ye.title),te}class ri{url;params;queryParams;fragment;data;outlet;component;routeConfig;_resolve;_resolvedData;_routerState;_paramMap;_queryParamMap;get title(){return this.data?.[z]}constructor(q,V,te,ye,He,ut,Bt,tn,Pn){this.url=q,this.params=V,this.queryParams=te,this.fragment=ye,this.data=He,this.outlet=ut,this.component=Bt,this.routeConfig=tn,this._resolve=Pn}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=ae(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=ae(this.queryParams),this._queryParamMap}toString(){return`Route(url:'${this.url.map(te=>te.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class li extends nn{url;constructor(q,V){super(V),this.url=q,Fr(this,V)}toString(){return fr(this._root)}}function Fr(G,q){q.value._routerState=G,q.children.forEach(V=>Fr(G,V))}function fr(G){const q=G.children.length>0?` { ${G.children.map(fr).join(", ")} } `:"";return`${G.value}${q}`}function Mr(G){if(G.snapshot){const q=G.snapshot,V=G._futureSnapshot;G.snapshot=V,K(q.queryParams,V.queryParams)||G.queryParamsSubject.next(V.queryParams),q.fragment!==V.fragment&&G.fragmentSubject.next(V.fragment),K(q.params,V.params)||G.paramsSubject.next(V.params),function $(G,q){if(G.length!==q.length)return!1;for(let V=0;V<G.length;++V)if(!K(G[V],q[V]))return!1;return!0}(q.url,V.url)||G.urlSubject.next(V.url),K(q.data,V.data)||G.dataSubject.next(V.data)}else G.snapshot=G._futureSnapshot,G.dataSubject.next(G._futureSnapshot.data)}function ir(G,q){const V=K(G.params,q.params)&&function Ne(G,q){return ze(G,q)&&G.every((V,te)=>K(V.parameters,q[te].parameters))}(G.url,q.url);return V&&!(!G.parent!=!q.parent)&&(!G.parent||ir(G.parent,q.parent))}function Rr(G){return"string"==typeof G.title||null===G.title}const oo=new a.nKC("");let Ao=(()=>{class G{activated=null;get activatedComponentRef(){return this.activated}_activatedRoute=null;name=ue;activateEvents=new u.bkB;deactivateEvents=new u.bkB;attachEvents=new u.bkB;detachEvents=new u.bkB;routerOutletData=(0,M.hFB)(void 0);parentContexts=(0,a.WQX)(Lt);location=(0,a.WQX)(u.c1b);changeDetector=(0,a.WQX)(M.gRc);inputBinder=(0,a.WQX)(Ri,{optional:!0});supportsBindingToComponentInputs=!0;ngOnChanges(V){if(V.name){const{firstChange:te,previousValue:ye}=V.name;if(te)return;this.isTrackedInParentContexts(ye)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(ye)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(V){return this.parentContexts.getContext(V)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const V=this.parentContexts.getContext(this.name);V?.route&&(V.attachRef?this.attach(V.attachRef,V.route):this.activateWith(V.route,V.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new a.buA(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new a.buA(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new a.buA(4012,!1);this.location.detach();const V=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(V.instance),V}attach(V,te){this.activated=V,this._activatedRoute=te,this.location.insert(V.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(V.instance)}deactivate(){if(this.activated){const V=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(V)}}activateWith(V,te){if(this.isActivated)throw new a.buA(4013,!1);this._activatedRoute=V;const ye=this.location,ut=V.snapshot.component,Bt=this.parentContexts.getOrCreateContext(this.name).children,tn=new So(V,Bt,ye.injector,this.routerOutletData);this.activated=ye.createComponent(ut,{index:ye.length,injector:tn,environmentInjector:te}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static \u0275fac=function(te){return new(te||G)};static \u0275dir=u.FsC({type:G,selectors:[["router-outlet"]],inputs:{name:"name",routerOutletData:[1,"routerOutletData"]},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],features:[u.OA$]})}return G})();class So{route;childContexts;parent;outletData;constructor(q,V,te,ye){this.route=q,this.childContexts=V,this.parent=te,this.outletData=ye}get(q,V){return q===Si?this.route:q===Lt?this.childContexts:q===oo?this.outletData:this.parent.get(q,V)}}const Ri=new a.nKC("");let Kr=(()=>{class G{outletDataSubscriptions=new Map;bindActivatedRouteToOutletComponent(V){this.unsubscribeFromRouteData(V),this.subscribeToRouteData(V)}unsubscribeFromRouteData(V){this.outletDataSubscriptions.get(V)?.unsubscribe(),this.outletDataSubscriptions.delete(V)}subscribeToRouteData(V){const{activatedRoute:te}=V,ye=(0,C.z)([te.queryParams,te.params,te.data]).pipe((0,T.n)(([He,ut,Bt],tn)=>(Bt={...He,...ut,...Bt}
3,0===tn?(0,_.of)(Bt):Promise.resolve(Bt)))).subscribe(He=>{if(!V.isActivated||!V.activatedComponentRef||V.activatedRoute!==te||null===te.component)return void this.unsubscribeFromRouteData(V);const ut=(0,M.HJs)(te.component);if(ut)for(const{templateName:Bt}of ut.inputs)V.activatedComponentRef.setInput(Bt,He[Bt]);else this.unsubscribeFromRouteData(V)});this.outletDataSubscriptions.set(V,ye)}static \u0275fac=function(te){return new(te||G)};static \u0275prov=a.jDH({token:G,factory:G.\u0275fac})}return G})(),qr=(()=>{class G{static \u0275fac=function(te){return new(te||G)};static \u0275cmp=u.VBU({type:G,selectors:[["ng-component"]],exportAs:["emptyRouterOutlet"],decls:1,vars:0,template:function(te,ye){1&te&&u.nrm(0,"router-outlet")},dependencies:[Ao],encapsulation:2})}return G})();function Eo(G){const q=G.children&&G.children.map(Eo),V=q?{...G,children:q}:{...G};return!V.component&&!V.loadComponent&&(q||V.loadChildren)&&V.outlet&&V.outlet!==ue&&(V.component=qr),V}function qi(G,q,V){if(V&&G.shouldReuseRoute(q.value,V.value.snapshot)){const te=V.value;te._futureSnapshot=q.value;const ye=function An(G,q,V){return q.children.map(te=>{for(const ye of V.children)if(G.shouldReuseRoute(te.value,ye.value.snapshot))return qi(G,te,ye);return qi(G,te)})}(G,q,V);return new hi(te,ye)}{if(G.shouldAttach(q.value)){const He=G.retrieve(q.value);if(null!==He){const ut=He.route;return ut.value._futureSnapshot=q.value,ut.children=q.children.map(Bt=>qi(G,Bt)),ut}}const te=function so(G){return new Si(new h.t(G.url),new h.t(G.params),new h.t(G.queryParams),new h.t(G.fragment),new h.t(G.data),G.outlet,G.component,G)}(q.value),ye=q.children.map(He=>qi(G,He));return new hi(te,ye)}}class Go{redirectTo;navigationBehaviorOptions;constructor(q,V){this.redirectTo=q,this.navigationBehaviorOptions=V}}const Oo="ngNavigationCancelingError";function Nr(G,q){const{redirectTo:V,navigationBehaviorOptions:te}=wi(q)?{redirectTo:q,navigationBehaviorOptions:void 0}:q,ye=Ar(!1,bn.Redirect);return ye.url=V,ye.navigationBehaviorOptions=te,ye}function Ar(G,q){const V=new Error(`NavigationCancelingError: ${G||""}`);return V[Oo]=!0,V.cancellationCode=q,V}function ge(G){return!!G&&G[Oo]}class Vt{routeReuseStrategy;futureState;currState;forwardEvent;inputBindingEnabled;constructor(q,V,te,ye,He){this.routeReuseStrategy=q,this.futureState=V,this.currState=te,this.forwardEvent=ye,this.inputBindingEnabled=He}activate(q){const V=this.futureState._root,te=this.currState?this.currState._root:null;this.deactivateChildRoutes(V,te,q),Mr(this.futureState.root),this.activateChildRoutes(V,te,q)}deactivateChildRoutes(q,V,te){const ye=ai(V);q.children.forEach(He=>{const ut=He.value.outlet;this.deactivateRoutes(He,ye[ut],te),delete ye[ut]}),Object.values(ye).forEach(He=>{this.deactivateRouteAndItsChildren(He,te)})}deactivateRoutes(q,V,te){const ye=q.value,He=V?V.value:null;if(ye===He)if(ye.component){const ut=te.getContext(ye.outlet);ut&&this.deactivateChildRoutes(q,V,ut.children)}else this.deactivateChildRoutes(q,V,te);else He&&this.deactivateRouteAndItsChildren(V,te)}deactivateRouteAndItsChildren(q,V){q.value.component&&this.routeReuseStrategy.shouldDetach(q.value.snapshot)?this.detachAndStoreRouteSubtree(q,V):this.deactivateRouteAndOutlet(q,V)}detachAndStoreRouteSubtree(q,V){const te=V.getContext(q.value.outlet),ye=te&&q.value.component?te.children:V,He=ai(q);for(const ut of Object.values(He))this.deactivateRouteAndItsChildren(ut,ye);if(te&&te.outlet){const ut=te.outlet.detach(),Bt=te.children.onOutletDeactivated();this.routeReuseStrategy.store(q.value.snapshot,{componentRef:ut,route:q,contexts:Bt})}}deactivateRouteAndOutlet(q,V){const te=V.getContext(q.value.outlet),ye=te&&q.value.component?te.children:V,He=ai(q);for(const ut of Object.values(He))this.deactivateRouteAndItsChildren(ut,ye);te&&(te.outlet&&(te.outlet.deactivate(),te.children.onOutletDeactivated()),te.attachRef=null,te.route=null)}activateChildRoutes(q,V,te){const ye=ai(V);q.children.forEach(He=>{this.activateRoutes(He,ye[He.value.outlet],te),this.forwardEvent(new sr(He.value.snapshot))}),q.children.length&&this.forwardEvent(new nr(q.value.snapshot))}activateRoutes(q,V,te){const ye=q.value,He=V?V.value:null;if(Mr(ye),ye===He)if(ye.component){const ut=te.getOrCreateContext(ye.outlet);this.activateChildRoutes(q,V,ut.children)}else this.activateChildRoutes(q,V,te);else if(ye.component){const ut=te.getOrCreateContext(ye.outlet);if(this.routeReuseStrategy.shouldAttach(ye.snapshot)){const Bt=this.routeReuseStrategy.retrieve(ye.snapshot);this.routeReuseStrategy.store(ye.snapshot,null),ut.children.onOutletReAttached(Bt.contexts),ut.attachRef=Bt.componentRef,ut.route=Bt.route.value,ut.outlet&&ut.outlet.attach(Bt.componentRef,Bt.route.value),Mr(Bt.route.value),this.activateChildRoutes(q,null,ut.children)}else ut.attachRef=null,ut.route=ye,ut.outlet&&ut.outlet.activateWith(ye,ut.injector),this.activateChildRoutes(q,null,ut.children)}else this.activateChildRoutes(q,null,te)}}class Zt{path;route;constructor(q){this.path=q,this.route=this.path[this.path.length-1]}}class an{component;route;constructor(q,V){this.component=q,this.route=V}}function En(G,q,V){const te=G._root;return ci(te,q?q._root:null,V,[te.value])}function xn(G,q){const V=Symbol(),te=q.get(G,V);return te===V?"function"!=typeof G||(0,a.muV)(G)?q.get(G):G:te}function ci(G,q,V,te,ye={canDeactivateChecks:[],canActivateChecks:[]}){const He=ai(q);
3return G.children.forEach(ut=>{(function Xn(G,q,V,te,ye={canDeactivateChecks:[],canActivateChecks:[]}){const He=G.value,ut=q?q.value:null,Bt=V?V.getContext(G.value.outlet):null;if(ut&&He.routeConfig===ut.routeConfig){const tn=function Gi(G,q,V){if("function"==typeof V)return V(G,q);switch(V){case"pathParamsChange":return!ze(G.url,q.url);case"pathParamsOrQueryParamsChange":return!ze(G.url,q.url)||!K(G.queryParams,q.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!ir(G,q)||!K(G.queryParams,q.queryParams);default:return!ir(G,q)}}(ut,He,He.routeConfig.runGuardsAndResolvers);tn?ye.canActivateChecks.push(new Zt(te)):(He.data=ut.data,He._resolvedData=ut._resolvedData),ci(G,q,He.component?Bt?Bt.children:null:V,te,ye),tn&&Bt&&Bt.outlet&&Bt.outlet.isActivated&&ye.canDeactivateChecks.push(new an(Bt.outlet.component,ut))}else ut&&zi(q,Bt,ye),ye.canActivateChecks.push(new Zt(te)),ci(G,null,He.component?Bt?Bt.children:null:V,te,ye)})(ut,He[ut.value.outlet],V,te.concat([ut.value]),ye),delete He[ut.value.outlet]}),Object.entries(He).forEach(([ut,Bt])=>zi(Bt,V.getContext(ut),ye)),ye}function zi(G,q,V){const te=ai(G),ye=G.value;Object.entries(te).forEach(([He,ut])=>{zi(ut,ye.component?q?q.children.getContext(He):null:q,V)}),V.canDeactivateChecks.push(new an(ye.component&&q&&q.outlet&&q.outlet.isActivated?q.outlet.component:null,ye))}function ur(G){return"function"==typeof G}function To(G){return G instanceof b.G||"EmptyError"===G?.name}const Po=Symbol("INITIAL_VALUE");function Vr(){return(0,T.n)(G=>(0,C.z)(G.map(q=>q.pipe((0,I.s)(1),(0,w.Z)(Po)))).pipe((0,U.T)(q=>{for(const V of q)if(!0!==V){if(V===Po)return Po;if(!1===V||ls(V))return V}return!0}),(0,Z.p)(q=>q!==Po),(0,I.s)(1)))}function ls(G){return wi(G)||G instanceof Go}function Ee(G){return(0,O.F)((0,ie.M)(q=>{if("boolean"!=typeof q)throw Nr(0,q)}),(0,U.T)(q=>!0===q))}class We{segmentGroup;constructor(q){this.segmentGroup=q||null}}class Dt extends Error{urlTree;constructor(q){super(),this.urlTree=q}}function In(G){return(0,d.$)(new We(G))}function fi(G){return(0,d.$)(new a.buA(4e3,!1))}class Ls{urlSerializer;urlTree;constructor(q,V){this.urlSerializer=q,this.urlTree=V}lineralizeSegments(q,V){let te=[],ye=V.root;for(;;){if(te=te.concat(ye.segments),0===ye.numberOfChildren)return(0,_.of)(te);if(ye.numberOfChildren>1||!ye.children[ue])return fi();ye=ye.children[ue]}}applyRedirectCommands(q,V,te,ye,He){return function ws(G,q,V){if("string"==typeof G)return(0,_.of)(G);const te=G,{queryParams:ye,fragment:He,routeConfig:ut,url:Bt,outlet:tn,params:Pn,data:$i,title:$r}=q;return pt((0,a.N4e)(V,()=>te({params:Pn,data:$i,queryParams:ye,fragment:He,routeConfig:ut,url:Bt,outlet:tn,title:$r})))}(V,ye,He).pipe((0,U.T)(ut=>{if(ut instanceof st)throw new Dt(ut);const Bt=this.applyRedirectCreateUrlTree(ut,this.urlSerializer.parse(ut),q,te);if("/"===ut[0])throw new Dt(Bt);return Bt}))}applyRedirectCreateUrlTree(q,V,te,ye){const He=this.createSegmentGroup(q,V.root,te,ye);return new st(He,this.createQueryParams(V.queryParams,this.urlTree.queryParams),V.fragment)}createQueryParams(q,V){const te={};return Object.entries(q).forEach(([ye,He])=>{if("string"==typeof He&&":"===He[0]){const Bt=He.substring(1);te[ye]=V[Bt]}else te[ye]=He}),te}createSegmentGroup(q,V,te,ye){const He=this.createSegments(q,V.segments,te,ye);let ut={};return Object.entries(V.children).forEach(([Bt,tn])=>{ut[Bt]=this.createSegmentGroup(q,tn,te,ye)}),new Qe(He,ut)}createSegments(q,V,te,ye){return V.map(He=>":"===He.path[0]?this.findPosParam(q,He,ye):this.findOrReturn(He,te))}findPosParam(q,V,te){const ye=te[V.path.substring(1)];if(!ye)throw new a.buA(4001,!1);return ye}findOrReturn(q,V){let te=0;for(const ye of V){if(ye.path===q.path)return V.splice(te),ye;te++}return q}}const Mo={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function ma(G,q,V,te,ye){const He=vo(G,q,V);return He.matched?(te=function yn(G,q){return G.providers&&!G._injector&&(G._injector=(0,u.Ol2)(G.providers,q,`Route: ${G.path}`)),G._injector??q}(q,te),function Q(G,q,V,te){const ye=q.canMatch;if(!ye||0===ye.length)return(0,_.of)(!0);const He=ye.map(ut=>{const Bt=xn(ut,G);return pt(function as(G){return G&&ur(G.canMatch)}(Bt)?Bt.canMatch(q,V):(0,a.N4e)(G,()=>Bt(q,V)))});
3return(0,_.of)(He).pipe(Vr(),Ee())}(te,q,V).pipe((0,U.T)(ut=>!0===ut?He:{...Mo}))):(0,_.of)(He)}function vo(G,q,V){if("**"===q.path)return function Wo(G){return{matched:!0,parameters:G.length>0?Se(G).parameters:{},consumedSegments:G,remainingSegments:[],positionalParamSegments:{}}}(V);if(""===q.path)return"full"===q.pathMatch&&(G.hasChildren()||V.length>0)?{...Mo}:{matched:!0,consumedSegments:[],remainingSegments:V,parameters:{},positionalParamSegments:{}};const ye=(q.matcher||X)(V,G,q);if(!ye)return{...Mo};const He={};Object.entries(ye.posParams??{}).forEach(([Bt,tn])=>{He[Bt]=tn.path});const ut=ye.consumed.length>0?{...He,...ye.consumed[ye.consumed.length-1].parameters}:He;return{matched:!0,consumedSegments:ye.consumed,remainingSegments:V.slice(ye.consumed.length),parameters:ut,positionalParamSegments:ye.posParams??{}}}function xs(G,q,V,te){return V.length>0&&function ds(G,q,V){return V.some(te=>ys(G,q,te)&&he(te)!==ue)}(G,V,te)?{segmentGroup:new Qe(q,Ko(te,new Qe(V,G.children))),slicedSegments:[]}:0===V.length&&function ao(G,q,V){return V.some(te=>ys(G,q,te))}(G,V,te)?{segmentGroup:new Qe(G.segments,zr(G,V,te,G.children)),slicedSegments:V}:{segmentGroup:new Qe(G.segments,G.children),slicedSegments:V}}function zr(G,q,V,te){const ye={};for(const He of V)if(ys(G,q,He)&&!te[he(He)]){const ut=new Qe([],{});ye[he(He)]=ut}return{...te,...ye}}function Ko(G,q){const V={};V[ue]=q;for(const te of G)if(""===te.path&&he(te)!==ue){const ye=new Qe([],{});V[he(te)]=ye}return V}function ys(G,q,V){return(!(G.hasChildren()||q.length>0)||"full"!==V.pathMatch)&&""===V.path}class Xa{}class Gl{injector;configLoader;rootComponentType;config;urlTree;paramsInheritanceStrategy;urlSerializer;applyRedirects;absoluteRedirectCount=0;allowRedirects=!0;constructor(q,V,te,ye,He,ut,Bt){this.injector=q,this.configLoader=V,this.rootComponentType=te,this.config=ye,this.urlTree=He,this.paramsInheritanceStrategy=ut,this.urlSerializer=Bt,this.applyRedirects=new Ls(this.urlSerializer,this.urlTree)}noMatchError(q){return new a.buA(4002,`'${q.segmentGroup}'`)}recognize(){const q=xs(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(q).pipe((0,U.T)(({children:V,rootSnapshot:te})=>{const ye=new hi(te,V),He=new li("",ye),ut=function vi(G,q,V=null,te=null){return Hi(Ai(G),q,V,te)}(te,[],this.urlTree.queryParams,this.urlTree.fragment);return ut.queryParams=this.urlTree.queryParams,He.url=this.urlSerializer.serialize(ut),{state:He,tree:ut}}))}match(q){const V=new ri([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Object.freeze({}),ue,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,q,ue,V).pipe((0,U.T)(te=>({children:te,rootSnapshot:V})),(0,Ce.W)(te=>{if(te instanceof Dt)return this.urlTree=te.urlTree,this.match(te.urlTree.root);throw te instanceof We?this.noMatchError(te):te}))}processSegmentGroup(q,V,te,ye,He){return 0===te.segments.length&&te.hasChildren()?this.processChildren(q,V,te,He):this.processSegment(q,V,te,te.segments,ye,!0,He).pipe((0,U.T)(ut=>ut instanceof hi?[ut]:[]))}processChildren(q,V,te,ye){const He=[];for(const ut of Object.keys(te.children))"primary"===ut?He.unshift(ut):He.push(ut);return(0,r.H)(He).pipe((0,H.H)(ut=>{const Bt=te.children[ut],tn=function Et(G,q){const V=G.filter(te=>he(te)===q);return V.push(...G.filter(te=>he(te)!==q)),V}(V,ut);return this.processSegmentGroup(q,tn,Bt,ut,ye)}),(0,Ue.S)((ut,Bt)=>(ut.push(...Bt),ut)),(0,nt.U)(null),(0,we.H)(),(0,N.Z)(ut=>{if(null===ut)return In(te);const Bt=rn(ut);return function qs(G){G.sort((q,V)=>q.value.outlet===ue?-1:V.value.outlet===ue?1:q.value.outlet.localeCompare(V.value.outlet))}(Bt),(0,_.of)(Bt)}))}processSegment(q,V,te,ye,He,ut,Bt){return(0,r.H)(V).pipe((0,H.H)(tn=>this.processSegmentAgainstRoute(tn._injector??q,V,tn,te,ye,He,ut,Bt).pipe((0,Ce.W)(Pn=>{if(Pn instanceof We)return(0,_.of)(null);throw Pn}))),(0,oe.$)(tn=>!!tn),(0,Ce.W)(tn=>{if(To(tn))return function za(G,q,V){return 0===q.length&&!G.children[V]}(te,ye,He)?(0,_.of)(new Xa):In(te);throw tn}))}processSegmentAgainstRoute(q,V,te,ye,He,ut,Bt,tn){return he(te)===ut||ut!==ue&&ys(ye,He,te)?void 0===te.redirectTo?this.matchSegmentAgainstRoute(q,ye,te,He,ut,tn):this.allowRedirects&&Bt?this.expandSegmentAgainstRouteUsingRedirect(q,ye,V,te,He,ut,tn):In(ye):In(ye)}expandSegmentAgainstRouteUsingRedirect(q,V,te,ye,He,ut,Bt){const{matched:tn,parameters:Pn,consumedSegments:$i,positionalParamSegments:$r,remainingSegments:uo}=vo(V,ye,He);if(!tn)return In(V);"string"==typeof ye.redirectTo&&"/"===ye.redirectTo[0]&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>31&&(this.allowRedirects=!1));const Ur=new ri(He,Pn,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Nn(ye),he(ye),ye.component??ye._loadedComponent??null,ye,di(ye)),no=Vi(Ur,Bt,this.paramsInheritanceStrategy);return Ur.params=Object.freeze(no.params),Ur.data=Object.freeze(no.data),this.applyRedirects.applyRedirectCommands($i,ye.redirectTo,$r,Ur,q).pipe((0,T.n)(Co=>this.applyRedirects.lineralizeSegments(ye,Co)),(0,N.Z)(Co=>this.processSegment(q,te,V,Co.concat(uo),ut,!1,Bt)))}matchSegmentAgainstRoute(q,V,te,ye,He,ut){const Bt=ma(V,te,ye,q);return"**"===te.path&&(V.children={}),Bt.pipe((0,T.n)(tn=>
3tn.matched?this.getChildConfig(q=te._injector??q,te,ye).pipe((0,T.n)(({routes:Pn})=>{const $i=te._loadedInjector??q,{parameters:$r,consumedSegments:uo,remainingSegments:Ur}=tn,no=new ri(uo,$r,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Nn(te),he(te),te.component??te._loadedComponent??null,te,di(te)),Vo=Vi(no,ut,this.paramsInheritanceStrategy);no.params=Object.freeze(Vo.params),no.data=Object.freeze(Vo.data);const{segmentGroup:Co,slicedSegments:_s}=xs(V,uo,Ur,Pn);if(0===_s.length&&Co.hasChildren())return this.processChildren($i,Pn,Co,no).pipe((0,U.T)(zo=>new hi(no,zo)));if(0===Pn.length&&0===_s.length)return(0,_.of)(new hi(no,[]));const na=he(te)===He;return this.processSegment($i,Pn,Co,_s,na?ue:He,!0,no).pipe((0,U.T)(zo=>new hi(no,zo instanceof hi?[zo]:[])))})):In(V)))}getChildConfig(q,V,te){return V.children?(0,_.of)({routes:V.children,injector:q}):V.loadChildren?void 0!==V._loadedRoutes?(0,_.of)({routes:V._loadedRoutes,injector:V._loadedInjector}):function fe(G,q,V,te){const ye=q.canLoad;if(void 0===ye||0===ye.length)return(0,_.of)(!0);const He=ye.map(ut=>{const Bt=xn(ut,G);return pt(function rr(G){return G&&ur(G.canLoad)}(Bt)?Bt.canLoad(q,V):(0,a.N4e)(G,()=>Bt(q,V)))});return(0,_.of)(He).pipe(Vr(),Ee())}(q,V,te).pipe((0,N.Z)(ye=>ye?this.configLoader.loadChildren(q,V).pipe((0,ie.M)(He=>{V._loadedRoutes=He.routes,V._loadedInjector=He.injector})):function wr(){return(0,d.$)(Ar(!1,bn.GuardRejected))}())):(0,_.of)({routes:[],injector:q})}}function zt(G){const q=G.value.routeConfig;return q&&""===q.path}function rn(G){const q=[],V=new Set;for(const te of G){if(!zt(te)){q.push(te);continue}const ye=q.find(He=>te.value.routeConfig===He.value.routeConfig);void 0!==ye?(ye.children.push(...te.children),V.add(ye)):q.push(te)}for(const te of V){const ye=rn(te.children);q.push(new hi(te.value,ye))}return q.filter(te=>!V.has(te))}function Nn(G){return G.data||{}}function di(G){return G.resolve||{}}function ji(G){const q=G.children.map(V=>ji(V)).flat();return[G,...q]}function lo(G){return(0,T.n)(q=>{const V=G(q);return V?(0,r.H)(V).pipe((0,U.T)(()=>q)):(0,_.of)(q)})}let dl=(()=>{class G{buildTitle(V){let te,ye=V.root;for(;void 0!==ye;)te=this.getResolvedTitleForRoute(ye)??te,ye=ye.children.find(He=>He.outlet===ue);return te}getResolvedTitleForRoute(V){return V.data[z]}static \u0275fac=function(te){return new(te||G)};static \u0275prov=a.jDH({token:G,factory:()=>(0,a.WQX)(No),providedIn:"root"})}return G})(),No=(()=>{class G extends dl{title;constructor(V){super(),this.title=V}updateTitle(V){const te=this.buildTitle(V);void 0!==te&&this.title.setTitle(te)}static \u0275fac=function(te){return new(te||G)(a.KVO(De.hE))};static \u0275prov=a.jDH({token:G,factory:G.\u0275fac,providedIn:"root"})}return G})();const As=new a.nKC("",{providedIn:"root",factory:()=>({})}),Ss=new a.nKC("");let xi=(()=>{class G{componentLoaders=new WeakMap;childrenLoaders=new WeakMap;onLoadStartListener;onLoadEndListener;compiler=(0,a.WQX)(u.Ql9);loadComponent(V,te){if(this.componentLoaders.get(te))return this.componentLoaders.get(te);if(te._loadedComponent)return(0,_.of)(te._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(te);const ye=pt((0,a.N4e)(V,()=>te.loadComponent())).pipe((0,U.T)(Ts),(0,ie.M)(ut=>{this.onLoadEndListener&&this.onLoadEndListener(te),te._loadedComponent=ut}),(0,Xe.j)(()=>{this.componentLoaders.delete(te)})),He=new E.G(ye,()=>new se.B).pipe((0,et.B)());return this.componentLoaders.set(te,He),He}loadChildren(V,te){if(this.childrenLoaders.get(te))return this.childrenLoaders.get(te);if(te._loadedRoutes)return(0,_.of)({routes:te._loadedRoutes,injector:te._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(te);const He=function Fs(G,q,V,te){return pt((0,a.N4e)(V,()=>G.loadChildren())).pipe((0,U.T)(Ts),(0,N.Z)(ye=>ye instanceof u.PYt||Array.isArray(ye)?(0,_.of)(ye):(0,r.H)(q.compileModuleAsync(ye))),(0,U.T)(ye=>{te&&te(G);let He,ut,Bt=!1;return Array.isArray(ye)?(ut=ye,!0):(He=ye.create(V).injector,ut=He.get(Ss,[],{optional:!0,self:!0}).flat()),{routes:ut.map(Eo),injector:He}}))}(te,this.compiler,V,this.onLoadEndListener).pipe((0,Xe.j)(()=>{this.childrenLoaders.delete(te)})),ut=new E.G(He,()=>new se.B).pipe((0,et.B)());return this.childrenLoaders.set(te,ut),ut}static \u0275fac=function(te){return new(te||G)};static \u0275prov=a.jDH({token:G,factory:G.\u0275fac,providedIn:"root"})}return G})();function Ts(G){return function Ha(G){return G&&"object"==typeof G&&"default"in G}(G)?G.default:G}let Ya=(()=>{class G{static \u0275fac=function(te){return new(te||G)};static \u0275prov=a.jDH({token:G,factory:()=>(0,a.WQX)(Ta),providedIn:"root"})}return G})(),Ta=(()=>{class G{shouldProcessUrl(V){return!0}extract(V){return V}merge(V,te){return V}static \u0275fac=function(te){return new(te||G)};static \u0275prov=a.jDH({token:G,factory:G.\u0275fac,providedIn:"root"})}return G})();const ks=new a.nKC(""),Xr=new a.nKC("");function Br(G,q,V){const te=G.get(Xr),ye=G.get(a.qQL);if(!ye.startViewTransition||te.skipNextTransition)return te.skipNextTransition=!1,new Promise(Pn=>setTimeout(Pn));let He;const ut=new Promise(Pn=>{He=Pn}),Bt=ye.startViewTransition(()=>(He(),function Lo(G){return new Promise(q=>{(0,u.mal)({read:()=>setTimeout(q)},{injector:G})})}(G)));Bt.ready.catch(Pn=>{});const{onViewTransitionCreated:tn}=te;return tn&&(0,a.N4e)(G,()=>tn({transition:Bt,from:q,to:V})),ut}const Ea=new a.nKC("");let Oa=(()=>{class G{currentNavigation=null;currentTransition=null;lastSuccessfulNavigation=null;events=new se.B;
3transitionAbortWithErrorSubject=new se.B;configLoader=(0,a.WQX)(xi);environmentInjector=(0,a.WQX)(a.uvJ);destroyRef=(0,a.WQX)(a.abz);urlSerializer=(0,a.WQX)(Ct);rootContexts=(0,a.WQX)(Lt);location=(0,a.WQX)(t.aZ);inputBindingEnabled=null!==(0,a.WQX)(Ri,{optional:!0});titleStrategy=(0,a.WQX)(dl);options=(0,a.WQX)(As,{optional:!0})||{};paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly";urlHandlingStrategy=(0,a.WQX)(Ya);createViewTransition=(0,a.WQX)(ks,{optional:!0});navigationErrorHandler=(0,a.WQX)(Ea,{optional:!0});navigationId=0;get hasRequestedNavigation(){return 0!==this.navigationId}transitions;afterPreactivation=()=>(0,_.of)(void 0);rootComponentType=null;destroyed=!1;constructor(){this.configLoader.onLoadEndListener=ye=>this.events.next(new or(ye)),this.configLoader.onLoadStartListener=ye=>this.events.next(new Ki(ye)),this.destroyRef.onDestroy(()=>{this.destroyed=!0})}complete(){this.transitions?.complete()}handleNavigationRequest(V){const te=++this.navigationId;this.transitions?.next({...V,extractedUrl:this.urlHandlingStrategy.extract(V.rawUrl),targetSnapshot:null,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null,abortController:new AbortController,id:te})}setupNavigations(V){return this.transitions=new h.t(null),this.transitions.pipe((0,Z.p)(te=>null!==te),(0,T.n)(te=>{let ye=!1;return(0,_.of)(te).pipe((0,T.n)(He=>{if(this.navigationId>te.id)return this.cancelNavigationTransition(te,"",bn.SupersededByNewNavigation),L.w;this.currentTransition=te,this.currentNavigation={id:He.id,initialUrl:He.rawUrl,extractedUrl:He.extractedUrl,targetBrowserUrl:"string"==typeof He.extras.browserUrl?this.urlSerializer.parse(He.extras.browserUrl):He.extras.browserUrl,trigger:He.source,extras:He.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null,abort:()=>He.abortController.abort()};const ut=!V.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl();if(!ut&&"reload"!==(He.extras.onSameUrlNavigation??V.onSameUrlNavigation)){const tn="";return this.events.next(new oi(He.id,this.urlSerializer.serialize(He.rawUrl),tn,pi.IgnoredSameUrlNavigation)),He.resolve(!1),L.w}if(this.urlHandlingStrategy.shouldProcessUrl(He.rawUrl))return(0,_.of)(He).pipe((0,T.n)(tn=>(this.events.next(new gn(tn.id,this.urlSerializer.serialize(tn.extractedUrl),tn.source,tn.restoredState)),tn.id!==this.navigationId?L.w:Promise.resolve(tn))),function bi(G,q,V,te,ye,He){return(0,N.Z)(ut=>function Ds(G,q,V,te,ye,He,ut="emptyOnly"){return new Gl(G,q,V,te,ye,ut,He).recognize()}(G,q,V,te,ut.extractedUrl,ye,He).pipe((0,U.T)(({state:Bt,tree:tn})=>({...ut,targetSnapshot:Bt,urlAfterRedirects:tn}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,V.config,this.urlSerializer,this.paramsInheritanceStrategy),(0,ie.M)(tn=>{te.targetSnapshot=tn.targetSnapshot,te.urlAfterRedirects=tn.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:tn.urlAfterRedirects};const Pn=new Kn(tn.id,this.urlSerializer.serialize(tn.extractedUrl),this.urlSerializer.serialize(tn.urlAfterRedirects),tn.targetSnapshot);this.events.next(Pn)}));if(ut&&this.urlHandlingStrategy.shouldProcessUrl(He.currentRawUrl)){const{id:tn,extractedUrl:Pn,source:$i,restoredState:$r,extras:uo}=He,Ur=new gn(tn,this.urlSerializer.serialize(Pn),$i,$r);this.events.next(Ur);const no=_i(this.rootComponentType).snapshot;return this.currentTransition=te={...He,targetSnapshot:no,urlAfterRedirects:Pn,extras:{...uo,skipLocationChange:!1,replaceUrl:!1}},this.currentNavigation.finalUrl=Pn,(0,_.of)(te)}{const tn="";return this.events.next(new oi(He.id,this.urlSerializer.serialize(He.extractedUrl),tn,pi.IgnoredByUrlHandlingStrategy)),He.resolve(!1),L.w}}),(0,ie.M)(He=>{const ut=new Bn(He.id,this.urlSerializer.serialize(He.extractedUrl),this.urlSerializer.serialize(He.urlAfterRedirects),He.targetSnapshot);this.events.next(ut)}),(0,U.T)(He=>(this.currentTransition=te={...He,guards:En(He.targetSnapshot,He.currentSnapshot,this.rootContexts)},te)),function pa(G,q){return(0,N.Z)(V=>{const{targetSnapshot:te,currentSnapshot:ye,guards:{canActivateChecks:He,canDeactivateChecks:ut}}=V;return 0===ut.length&&0===He.length?(0,_.of)({...V,guardsResult:!0}):function Io(G,q,V,te){return(0,r.H)(G).pipe((0,N.Z)(ye=>function Jo(G,q,V,te,ye){const He=q&&q.routeConfig?q.routeConfig.canDeactivate:null;if(!He||0===He.length)return(0,_.of)(!0);const ut=He.map(Bt=>{const tn=Re(q)??ye,Pn=xn(Bt,tn);return pt(function jo(G){return G&&ur(G.canDeactivate)}(Pn)?Pn.canDeactivate(G,q,V,te):(0,a.N4e)(tn,()=>Pn(G,q,V,te))).pipe((0,oe.$)())});return(0,_.of)(ut).pipe(Vr())}(ye.component,ye.route,V,q,te)),(0,oe.$)(ye=>!0!==ye,!0))}(ut,te,ye,G).pipe((0,N.Z)(Bt=>Bt&&function eo(G){return"boolean"==typeof G}(Bt)?function cs(G,q,V,te){return(0,r.H)(q).pipe((0,H.H)(ye=>(0,D.x)(function Js(G,q){return null!==G&&q&&q(new er(G)),(0,_.of)(!0)}(ye.route.parent,te),function Sa(G,q){return null!==G&&q&&q(new Ci(G)),(0,_.of)(!0)}(ye.route,te),function Zo(G,q,V){const te=q[q.length-1],He=q.slice(0,q.length-1).reverse().map(ut=>function Mn(G){const q=G.routeConfig?G.routeConfig.canActivateChild:null;return q&&0!==q.length?{node:G,guards:q}:null}(ut)).filter(ut=>null!==ut).map(ut=>(0,f.v)(()=>{const Bt=ut.guards.map(tn=>{const Pn=Re(ut.node)??V,$i=xn(tn,Pn);return pt(function _r(G){return G&&ur(G.canActivateChild)}($i)?$i.canActivateChild(te,G):(0,a.N4e)(Pn,()=>$i(te,G))).pipe((0,oe.$)())});return(0,_.of)(Bt).pipe(Vr())}
3));return(0,_.of)(He).pipe(Vr())}(G,ye.path,V),function Lr(G,q,V){const te=q.routeConfig?q.routeConfig.canActivate:null;if(!te||0===te.length)return(0,_.of)(!0);const ye=te.map(He=>(0,f.v)(()=>{const ut=Re(q)??V,Bt=xn(He,ut);return pt(function kr(G){return G&&ur(G.canActivate)}(Bt)?Bt.canActivate(q,G):(0,a.N4e)(ut,()=>Bt(q,G))).pipe((0,oe.$)())}));return(0,_.of)(ye).pipe(Vr())}(G,ye.route,V))),(0,oe.$)(ye=>!0!==ye,!0))}(te,He,G,q):(0,_.of)(Bt)),(0,U.T)(Bt=>({...V,guardsResult:Bt})))})}(this.environmentInjector,He=>this.events.next(He)),(0,ie.M)(He=>{if(te.guardsResult=He.guardsResult,He.guardsResult&&"boolean"!=typeof He.guardsResult)throw Nr(0,He.guardsResult);const ut=new Pi(He.id,this.urlSerializer.serialize(He.extractedUrl),this.urlSerializer.serialize(He.urlAfterRedirects),He.targetSnapshot,!!He.guardsResult);this.events.next(ut)}),(0,Z.p)(He=>!!He.guardsResult||(this.cancelNavigationTransition(He,"",bn.GuardRejected),!1)),lo(He=>{if(0!==He.guards.canActivateChecks.length)return(0,_.of)(He).pipe((0,ie.M)(ut=>{const Bt=new Ii(ut.id,this.urlSerializer.serialize(ut.extractedUrl),this.urlSerializer.serialize(ut.urlAfterRedirects),ut.targetSnapshot);this.events.next(Bt)}),(0,T.n)(ut=>{let Bt=!1;return(0,_.of)(ut).pipe(function vr(G,q){return(0,N.Z)(V=>{const{targetSnapshot:te,guards:{canActivateChecks:ye}}=V;if(!ye.length)return(0,_.of)(V);const He=new Set(ye.map(tn=>tn.route)),ut=new Set;for(const tn of He)if(!ut.has(tn))for(const Pn of ji(tn))ut.add(Pn);let Bt=0;return(0,r.H)(ut).pipe((0,H.H)(tn=>He.has(tn)?function ea(G,q,V,te){const ye=G.routeConfig,He=G._resolve;return void 0!==ye?.title&&!Rr(ye)&&(He[z]=ye.title),(0,f.v)(()=>(G.data=Vi(G,G.parent,V).resolve,function cl(G,q,V,te){const ye=Be(G);if(0===ye.length)return(0,_.of)({});const He={};return(0,r.H)(ye).pipe((0,N.Z)(ut=>function Ro(G,q,V,te){const ye=Re(q)??te,He=xn(G,ye);return pt(He.resolve?He.resolve(q,V):(0,a.N4e)(ye,()=>He(q,V)))}(G[ut],q,V,te).pipe((0,oe.$)(),(0,ie.M)(Bt=>{if(Bt instanceof Go)throw Nr(new Wt,Bt);He[ut]=Bt}))),(0,at.o)(1),(0,U.T)(()=>He),(0,Ce.W)(ut=>To(ut)?L.w:(0,d.$)(ut)))}(He,G,q,te).pipe((0,U.T)(ut=>(G._resolvedData=ut,G.data={...G.data,...ut},null)))))}(tn,te,G,q):(tn.data=Vi(tn,tn.parent,G).resolve,(0,_.of)(void 0))),(0,ie.M)(()=>Bt++),(0,at.o)(1),(0,N.Z)(tn=>Bt===ut.size?(0,_.of)(V):L.w))})}(this.paramsInheritanceStrategy,this.environmentInjector),(0,ie.M)({next:()=>Bt=!0,complete:()=>{Bt||this.cancelNavigationTransition(ut,"",bn.NoDataFromResolver)}}))}),(0,ie.M)(ut=>{const Bt=new zn(ut.id,this.urlSerializer.serialize(ut.extractedUrl),this.urlSerializer.serialize(ut.urlAfterRedirects),ut.targetSnapshot);this.events.next(Bt)}))}),lo(He=>{const ut=Bt=>{const tn=[];if(Bt.routeConfig?.loadComponent&&!Bt.routeConfig._loadedComponent){const Pn=Re(Bt)??this.environmentInjector;tn.push(this.configLoader.loadComponent(Pn,Bt.routeConfig).pipe((0,ie.M)($i=>{Bt.component=$i}),(0,U.T)(()=>{})))}for(const Pn of Bt.children)tn.push(...ut(Pn));return tn};return(0,C.z)(ut(He.targetSnapshot.root)).pipe((0,nt.U)(null),(0,I.s)(1))}),lo(()=>this.afterPreactivation()),(0,T.n)(()=>{const{currentSnapshot:He,targetSnapshot:ut}=te,Bt=this.createViewTransition?.(this.environmentInjector,He.root,ut.root);return Bt?(0,r.H)(Bt).pipe((0,U.T)(()=>te)):(0,_.of)(te)}),(0,U.T)(He=>{const ut=function Uo(G,q,V){const te=qi(G,q._root,V?V._root:void 0);return new Ei(te,q)}(V.routeReuseStrategy,He.targetSnapshot,He.currentRouterState);return this.currentTransition=te={...He,targetRouterState:ut},this.currentNavigation.targetRouterState=ut,te}),(0,ie.M)(()=>{this.events.next(new gi)}),((G,q,V,te)=>(0,U.T)(ye=>(new Vt(q,ye.targetRouterState,ye.currentRouterState,V,te).activate(G),ye)))(this.rootContexts,V.routeReuseStrategy,He=>this.events.next(He),this.inputBindingEnabled),(0,I.s)(1),(0,xe.Q)(new Y.c(He=>{const ut=te.abortController.signal,Bt=()=>He.next();return ut.addEventListener("abort",Bt),()=>ut.removeEventListener("abort",Bt)}).pipe((0,Z.p)(()=>!ye&&!te.targetRouterState),(0,ie.M)(()=>{this.cancelNavigationTransition(te,te.abortController.signal.reason+"",bn.Aborted)}))),(0,ie.M)({next:He=>{ye=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new kn(He.id,this.urlSerializer.serialize(He.extractedUrl),this.urlSerializer.serialize(He.urlAfterRedirects))),this.titleStrategy?.updateTitle(He.targetRouterState.snapshot),He.resolve(!0)},complete:()=>{ye=!0}}),(0,xe.Q)(this.transitionAbortWithErrorSubject.pipe((0,ie.M)(He=>{throw He}))),(0,Xe.j)(()=>{ye||this.cancelNavigationTransition(te,"",bn.SupersededByNewNavigation),this.currentTransition?.id===te.id&&(this.currentNavigation=null,this.currentTransition=null)}),(0,Ce.W)(He=>{if(this.destroyed)return te.resolve(!1),L.w;if(ye=!0,ge(He))this.events.next(new Mi(te.id,this.urlSerializer.serialize(te.extractedUrl),He.message,He.cancellationCode)),function je(G){return ge(G)&&wi(G.url)}(He)?this.events.next(new Zi(He.url,He.navigationBehaviorOptions)):te.resolve(!1);else{const ut=new Fi(te.id,this.urlSerializer.serialize(te.extractedUrl),He,te.targetSnapshot??void 0);try{const Bt=(0,a.N4e)(this.environmentInjector,()=>this.navigationErrorHandler?.(ut));if(!(Bt instanceof Go))throw this.events.next(ut),He;{const{message:tn,cancellationCode:Pn}=Nr(0,Bt);this.events.next(new Mi(te.id,this.urlSerializer.serialize(te.extractedUrl),tn,Pn)),this.events.next(new Zi(Bt.redirectTo,Bt.navigationBehaviorOptions))}}catch(Bt){this.options.resolveNavigationPromiseOnError?te.resolve(!1):te.reject(Bt)}}return L.w}))}))}cancelNavigationTransition(V,te,ye){const He=new Mi(V.id,this.urlSerializer.serialize(V.extractedUrl),te,ye);this.events.next(He),V.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){const V=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),te=this.currentNavigation?.targetBrowserUrl??this.currentNavigation?.extractedUrl;return V.toString()!==te?.toString()&&!this.currentNavigation?.extras.skipLocationChange}static \u0275fac=function(te){return new(te||G)};static \u0275prov=a.jDH({token:G,factory:G.\u0275fac,providedIn:"root"})}return G})();function Zn(G){return G!==yt}let Bs=(()=>{class G{static \u0275fac=function(te){return new(te||G)};static \u0275prov=a.jDH({token:G,factory:()=>(0,a.WQX)(Jn),providedIn:"root"})}return G})();class us{shouldDetach(q){return!1}store(q,V){}shouldAttach(q){return!1}retrieve(q){return null}shouldReuseRoute(q,V){return q.routeConfig===V.routeConfig}}let Jn=(()=>{class G extends us{static \u0275fac=(()=>{let V;return function(ye){return(V||(V=u.xGo(G)))(ye||G)}})();static \u0275prov=a.jDH({token:G,factory:G.\u0275fac,providedIn:"root"})}return G})(),wo=(()=>
3{class G{urlSerializer=(0,a.WQX)(Ct);options=(0,a.WQX)(As,{optional:!0})||{};canceledNavigationResolution=this.options.canceledNavigationResolution||"replace";location=(0,a.WQX)(t.aZ);urlHandlingStrategy=(0,a.WQX)(Ya);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";currentUrlTree=new st;getCurrentUrlTree(){return this.currentUrlTree}rawUrlTree=this.currentUrlTree;getRawUrlTree(){return this.rawUrlTree}createBrowserPath({finalUrl:V,initialUrl:te,targetBrowserUrl:ye}){const He=void 0!==V?this.urlHandlingStrategy.merge(V,te):te,ut=ye??He;return ut instanceof st?this.urlSerializer.serialize(ut):ut}commitTransition({targetRouterState:V,finalUrl:te,initialUrl:ye}){te&&V?(this.currentUrlTree=te,this.rawUrlTree=this.urlHandlingStrategy.merge(te,ye),this.routerState=V):this.rawUrlTree=ye}routerState=_i(null);getRouterState(){return this.routerState}stateMemento=this.createStateMemento();updateStateMemento(){this.stateMemento=this.createStateMemento()}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}resetInternalState({finalUrl:V}){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,V??this.rawUrlTree)}static \u0275fac=function(te){return new(te||G)};static \u0275prov=a.jDH({token:G,factory:()=>(0,a.WQX)($s),providedIn:"root"})}return G})(),$s=(()=>{class G extends wo{currentPageId=0;lastSuccessfulId=-1;restoredState(){return this.location.getState()}get browserPageId(){return"computed"!==this.canceledNavigationResolution?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}registerNonRouterCurrentEntryChangeListener(V){return this.location.subscribe(te=>{"popstate"===te.type&&setTimeout(()=>{V(te.url,te.state,"popstate")})})}handleRouterEvent(V,te){V instanceof gn?this.updateStateMemento():V instanceof oi?this.commitTransition(te):V instanceof Kn?"eager"===this.urlUpdateStrategy&&(te.extras.skipLocationChange||this.setBrowserUrl(this.createBrowserPath(te),te)):V instanceof gi?(this.commitTransition(te),"deferred"===this.urlUpdateStrategy&&!te.extras.skipLocationChange&&this.setBrowserUrl(this.createBrowserPath(te),te)):V instanceof Mi&&V.code!==bn.SupersededByNewNavigation&&V.code!==bn.Redirect?this.restoreHistory(te):V instanceof Fi?this.restoreHistory(te,!0):V instanceof kn&&(this.lastSuccessfulId=V.id,this.currentPageId=this.browserPageId)}setBrowserUrl(V,{extras:te,id:ye}){const{replaceUrl:He,state:ut}=te;if(this.location.isCurrentPathEqualTo(V)||He){const Bt=this.browserPageId,tn={...ut,...this.generateNgRouterState(ye,Bt)};this.location.replaceState(V,"",tn)}else{const Bt={...ut,...this.generateNgRouterState(ye,this.browserPageId+1)};this.location.go(V,"",Bt)}}restoreHistory(V,te=!1){if("computed"===this.canceledNavigationResolution){const He=this.currentPageId-this.browserPageId;0!==He?this.location.historyGo(He):this.getCurrentUrlTree()===V.finalUrl&&0===He&&(this.resetInternalState(V),this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(te&&this.resetInternalState(V),this.resetUrlToCurrentUrlTree())}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.getRawUrlTree()),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(V,te){return"computed"===this.canceledNavigationResolution?{navigationId:V,\u0275routerPageId:te}:{navigationId:V}}static \u0275fac=(()=>{let V;return function(ye){return(V||(V=u.xGo(G)))(ye||G)}})();static \u0275prov=a.jDH({token:G,factory:G.\u0275fac,providedIn:"root"})}return G})();function ta(G,q){G.events.pipe((0,Z.p)(V=>V instanceof kn||V instanceof Mi||V instanceof Fi||V instanceof oi),(0,U.T)(V=>V instanceof kn||V instanceof oi?0:V instanceof Mi&&(V.code===bn.Redirect||V.code===bn.SupersededByNewNavigation)?2:1),(0,Z.p)(V=>2!==V),(0,I.s)(1)).subscribe(()=>{q()})}const Hr={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Pa={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let to=(()=>{class G{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}disposed=!1;nonRouterCurrentEntryChangeSubscription;console=(0,a.WQX)(u.C7A);stateManager=(0,a.WQX)(wo);options=(0,a.WQX)(As,{optional:!0})||{};pendingTasks=(0,a.WQX)(a.rev);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";navigationTransitions=(0,a.WQX)(Oa);
3urlSerializer=(0,a.WQX)(Ct);location=(0,a.WQX)(t.aZ);urlHandlingStrategy=(0,a.WQX)(Ya);injector=(0,a.WQX)(a.uvJ);_events=new se.B;get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}navigated=!1;routeReuseStrategy=(0,a.WQX)(Bs);onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore";config=(0,a.WQX)(Ss,{optional:!0})?.flat()??[];componentInputBindingEnabled=!!(0,a.WQX)(Ri,{optional:!0});constructor(){this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this).subscribe({error:V=>{this.console.warn(V)}}),this.subscribeToNavigationEvents()}eventsSubscription=new ne.yU;subscribeToNavigationEvents(){const V=this.navigationTransitions.events.subscribe(te=>{try{const ye=this.navigationTransitions.currentTransition,He=this.navigationTransitions.currentNavigation;if(null!==ye&&null!==He)if(this.stateManager.handleRouterEvent(te,He),te instanceof Mi&&te.code!==bn.Redirect&&te.code!==bn.SupersededByNewNavigation)this.navigated=!0;else if(te instanceof kn)this.navigated=!0;else if(te instanceof Zi){const ut=te.navigationBehaviorOptions,Bt=this.urlHandlingStrategy.merge(te.url,ye.currentRawUrl),tn={browserUrl:ye.extras.browserUrl,info:ye.extras.info,skipLocationChange:ye.extras.skipLocationChange,replaceUrl:ye.extras.replaceUrl||"eager"===this.urlUpdateStrategy||Zn(ye.source),...ut};this.scheduleNavigation(Bt,yt,null,tn,{resolve:ye.resolve,reject:ye.reject,promise:ye.promise})}(function mr(G){return!(G instanceof gi||G instanceof Zi)})(te)&&this._events.next(te)}catch(ye){this.navigationTransitions.transitionAbortWithErrorSubject.next(ye)}});this.eventsSubscription.add(V)}resetRootComponentType(V){this.routerState.root.component=V,this.navigationTransitions.rootComponentType=V}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),yt,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((V,te,ye)=>{this.navigateToSyncWithBrowser(V,ye,te)})}navigateToSyncWithBrowser(V,te,ye){const He={replaceUrl:!0},ut=ye?.navigationId?ye:null;if(ye){const tn={...ye};delete tn.navigationId,delete tn.\u0275routerPageId,0!==Object.keys(tn).length&&(He.state=tn)}const Bt=this.parseUrl(V);this.scheduleNavigation(Bt,te,ut,He).catch(tn=>{this.disposed||this.injector.get(a.ZTf)(tn)})}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(V){this.config=V.map(Eo),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this._events.unsubscribe(),this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(V,te={}){const{relativeTo:ye,queryParams:He,fragment:ut,queryParamsHandling:Bt,preserveFragment:tn}=te,Pn=tn?this.currentUrlTree.fragment:ut;let $r,$i=null;switch(Bt??this.options.defaultQueryParamsHandling){case"merge":$i={...this.currentUrlTree.queryParams,...He};break;case"preserve":$i=this.currentUrlTree.queryParams;break;default:$i=He||null}null!==$i&&($i=this.removeEmptyProps($i));try{$r=Ai(ye?ye.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof V[0]||"/"!==V[0][0])&&(V=[]),$r=this.currentUrlTree.root}return Hi($r,V,$i,Pn??null)}navigateByUrl(V,te={skipLocationChange:!1}){const ye=wi(V)?V:this.parseUrl(V),He=this.urlHandlingStrategy.merge(ye,this.rawUrlTree);return this.scheduleNavigation(He,yt,null,te)}navigate(V,te={skipLocationChange:!1}){return function co(G){for(let q=0;q<G.length;q++)if(null==G[q])throw new a.buA(4008,!1)}(V),this.navigateByUrl(this.createUrlTree(V,te),te)}serializeUrl(V){return this.urlSerializer.serialize(V)}parseUrl(V){try{return this.urlSerializer.parse(V)}catch{return this.urlSerializer.parse("/")}}isActive(V,te){let ye;if(ye=!0===te?{...Hr}:!1===te?{...Pa}:te,wi(V))return me(this.currentUrlTree,V,ye);const He=this.parseUrl(V);return me(this.currentUrlTree,He,ye)}removeEmptyProps(V){return Object.entries(V).reduce((te,[ye,He])=>(null!=He&&(te[ye]=He),te),{})}scheduleNavigation(V,te,ye,He,ut){if(this.disposed)return Promise.resolve(!1);let Bt,tn,Pn;ut?(Bt=ut.resolve,tn=ut.reject,Pn=ut.promise):Pn=new Promise(($r,uo)=>{Bt=$r,tn=uo});const $i=this.pendingTasks.add();return ta(this,()=>{queueMicrotask(()=>this.pendingTasks.remove($i))}),this.navigationTransitions.handleNavigationRequest({source:te,restoredState:ye,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:V,extras:He,resolve:Bt,reject:tn,promise:Pn,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),Pn.catch($r=>Promise.reject($r))}static \u0275fac=function(te){return new(te||G)};static \u0275prov=a.jDH({token:G,factory:G.\u0275fac,providedIn:"root"})}return G})()},91152:function(qe,ee,o){(function(){var a,t,u,v,r,_,h,b={}.hasOwnProperty;h=o(89700).isPlainObject,u=o(37391),t=o(1599),v=o(79213),a=o(68886),_=o(78139),r=o(47471),qe.exports=function(D){function f(O){f.__super__.constructor.call(this,null),this.name="#document",this.type=a.Document,this.documentURI=null,this.domConfig=new t,O||(O={}),O.writer||(O.writer=new r),this.options=O,this.stringify=new _(O)}return function(D,f){for(var O in f)b.call(f,O)&&(D[O]=f[O]);function d(){this.constructor=D}d.prototype=f.prototype,D.prototype=new d,D.__super__=f.prototype}(f,D),Object.defineProperty(f.prototype,"implementation",{value:new u}
3),Object.defineProperty(f.prototype,"doctype",{get:function(){var O,d,L,E;for(d=0,L=(E=this.children).length;d<L;d++)if((O=E[d]).type===a.DocType)return O;return null}}),Object.defineProperty(f.prototype,"documentElement",{get:function(){return this.rootObject||null}}),Object.defineProperty(f.prototype,"inputEncoding",{get:function(){return null}}),Object.defineProperty(f.prototype,"strictErrorChecking",{get:function(){return!1}}),Object.defineProperty(f.prototype,"xmlEncoding",{get:function(){return 0!==this.children.length&&this.children[0].type===a.Declaration?this.children[0].encoding:null}}),Object.defineProperty(f.prototype,"xmlStandalone",{get:function(){return 0!==this.children.length&&this.children[0].type===a.Declaration&&"yes"===this.children[0].standalone}}),Object.defineProperty(f.prototype,"xmlVersion",{get:function(){return 0!==this.children.length&&this.children[0].type===a.Declaration?this.children[0].version:"1.0"}}),Object.defineProperty(f.prototype,"URL",{get:function(){return this.documentURI}}),Object.defineProperty(f.prototype,"origin",{get:function(){return null}}),Object.defineProperty(f.prototype,"compatMode",{get:function(){return null}}),Object.defineProperty(f.prototype,"characterSet",{get:function(){return null}}),Object.defineProperty(f.prototype,"contentType",{get:function(){return null}}),f.prototype.end=function(O){var d;return d={},O?h(O)&&(d=O,O=this.options.writer):O=this.options.writer,O.document(this,O.f
3ilterOptions(d))},f.prototype.toString=function(O){return this.options.writer.document(this,this.options.writer.filterOptions(O))},f.prototype.createElement=function(O){throw new Error("This DOM method is not implemented."+this.debugInfo())},f.prototype.createDocumentFragment=function(){throw new Error("This DOM method is not implemented."+this.debugInfo())},f.prototype.createTextNode=function(O){throw new Error("This DOM method is not implemented."+this.debugInfo())},f.prototype.createComment=function(O){throw new Error("This DOM method is not implemented."+this.debugInfo())},f.prototype.createCDATASection=function(O){throw new Error("This DOM method is not implemented."+this.debugInfo())},f.prototype.createProcessingInstruction=function(O,d){throw new Error("This DOM method is not implemented."+this.debugInfo())},f.prototype.createAttribute=function(O){throw new Error("This DOM method is not implemented."+this.debugInfo())},f.prototype.createEntityReference=function(O){throw new Error("This DOM method is not implemented."+this.debugInfo())},f.prototype.getElementsByTagName=function(O){throw new Error("This DOM method is not implemented."+this.debugInfo())},f.prototype.importNode=function(O,d){throw new Error("This DOM method is not implemented."+this.debugInfo())},f.prototype.createElementNS=function(O,d){throw new Error("This DOM method is not implemented."+this.debugInfo())},f.prototype.createAttributeNS=function(O,d){throw new Error("This DOM method is not implemented."+this.debugInfo())},f.prototype.getElementsByTagNameNS=function(O,d){throw new Error("This DOM method is not implemented."+this.debugInfo())},f.prototype.getElementById=function(O){throw new Error("This DOM method is not implemented."+this.debugInfo())},f.prototype.adoptNode=function(O){throw new Error("This DOM method is not implemented."+this.debugInfo())},f.prototype.normalizeDocument=function(){throw new Error("This DOM method is not implemented."+this.debugInfo())},f.prototype.renameNode=function(O,d,L){throw new Error("This DOM method is not implemented."+this.debugInfo())},f.prototype.getElementsByClassName=function(O){throw new Error("This DOM method is not implemented."+this.debugInfo())},f.prototype.createEvent=function(O){throw new Error("This DOM method is not implemented."+this.debugInfo())},f.prototype.createRange=function(){throw new Error("This DOM method is not implemented."+this.debugInfo())},f.prototype.createNodeIterator=function(O,d,L){throw new Error("This DOM method is not implemented."+this.debugInfo())},f.prototype.createTreeWalker=function(O,d,L){throw new Error("This DOM method is not implemented."+this.debugInfo())},f}(v)}).call(this)},91438:(qe,ee,o)=>{"use strict";o.d(ee,{d:()=>Ce,e:()=>De,h:()=>z});var a=o(73664),t=o(2615),u=o(17705),M=o(95178),v=o(55042),r=o(34991),_=o(30282),h=o(75272),C=o(56977),b=o(14085),D=o(79355),f=o(17035),O=o(67336),d=o(72200),L=o(45955),E=o(84466),se=o(40372),Y=o(76939),ne=o(21413),U=o(18107),T=o(21715);const I=["tooltip"],N=new t.nKC("mat-tooltip-scroll-strategy",{providedIn:"root",factory:()=>{const de=(0,t.WQX)(t.zZn);return()=>(0,_.o)(de,{scrollThrottle:20})}}),H={provide:N,deps:[],useFactory:function oe(de){const ae=(0,t.WQX)(t.zZn);return()=>(0,_.o)(ae,{scrollThrottle:20})}},Ce=new t.nKC("mat-tooltip-default-options",{providedIn:"root",factory:function ie(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}}),nt="tooltip-panel",we=(0,L.n)({passive:!0});let De=(()=>{class de{_elementRef=(0,t.WQX)(a.aKT);_ngZone=(0,t.WQX)(a.SKi);_platform=(0,t.WQX)(E.P);_ariaDescriber=(0,t.WQX)(M.vr);_focusMonitor=(0,t.WQX)(v.F);_dir=(0,t.WQX)(se.D);_injector=(0,t.WQX)(t.zZn);_viewContainerRef=(0,t.WQX)(a.c1b);_animationsDisabled=(0,U._)();_defaultOptions=(0,t.WQX)(Ce,{optional:!0});_overlayRef;_tooltipInstance;_overlayPanelClass;_portal;_position="below";_positionAtOrigin=!1;_disabled=!1;_tooltipClass;_viewInitialized=!1;_pointerExitEventsInitialized=!1;_tooltipComponent=ue;_viewportMargin=8;_currentPosition;_cssClassPrefix="mat-mdc";_ariaDescriptionPending;_dirSubscribed=!1;get position(){return this._position}set position(X){X!==this._position&&(this._position=X,this._overlayRef&&(this._updatePosition(this._overlayRef),this._tooltipInstance?.
3show(0),this._overlayRef.updatePosition()))}get positionAtOrigin(){return this._positionAtOrigin}set positionAtOrigin(X){this._positionAtOrigin=(0,b.he)(X),this._detach(),this._overlayRef=null}get disabled(){return this._disabled}set disabled(X){const $=(0,b.he)(X);this._disabled!==$&&(this._disabled=$,$?this.hide(0):this._setupPointerEnterEventsIfNeeded(),this._syncAriaDescription(this.message))}get showDelay(){return this._showDelay}set showDelay(X){this._showDelay=(0,D.c)(X)}_showDelay;get hideDelay(){return this._hideDelay}set hideDelay(X){this._hideDelay=(0,D.c)(X),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}_hideDelay;touchGestures="auto";get message(){return this._message}set message(X){const $=this._message;this._message=null!=X?String(X).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage()),this._syncAriaDescription($)}_message="";get tooltipClass(){return this._tooltipClass}set tooltipClass(X){this._tooltipClass=X,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}_passiveListeners=[];_touchstartTimeout=null;_destroyed=new ne.B;_isDestroyed=!1;constructor(){const X=this._defaultOptions;X&&(this._showDelay=X.showDelay,this._hideDelay=X.hideDelay,X.position&&(this.position=X.position),X.positionAtOrigin&&(this.positionAtOrigin=X.positionAtOrigin),X.touchGestures&&(this.touchGestures=X.touchGestures),X.tooltipClass&&(this.tooltipClass=X.tooltipClass)),this._viewportMargin=8}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe((0,C.Q)(this._destroyed)).subscribe(X=>{X?"keyboard"===X&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){const X=this._elementRef.nativeElement;this._touchstartTimeout&&clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([$,K])=>{X.removeEventListener($,K,we)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._isDestroyed=!0,this._ariaDescriber.removeDescription(X,this.message,"tooltip"),this._focusMonitor.stopMonitoring(X)}show(X=this.showDelay,$){if(this.disabled||!this.message||this._isTooltipVisible())return void this._tooltipInstance?._cancelPendingAnimations();const K=this._createOverlay($);this._detach(),this._portal=this._portal||new Y.A8(this._tooltipComponent,this._viewContainerRef);const Be=this._tooltipInstance=K.attach(this._portal).instance;Be._triggerElement=this._elementRef.nativeElement,Be._mouseLeaveHideDelay=this._hideDelay,Be.afterHidden().pipe((0,C.Q)(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),Be.show(X)}hide(X=this.hideDelay){const $=this._tooltipInstance;$&&($.isVisible()?$.hide(X):($._cancelPendingAnimations(),this._detach()))}toggle(X){this._isTooltipVisible()?this.hide():this.show(void 0,X)}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(X){if(this._overlayRef){const Ye=this._overlayRef.getConfig().positionStrategy;if((!this.positionAtOrigin||!X)&&Ye._origin instanceof a.aKT)return this._overlayRef;this._detach()}const $=this._injector.get(h.R).getAncestorScrollContainers(this._elementRef),K=`${this._cssClassPrefix}-${nt}`,Be=(0,_.h)(this._injector,this.positionAtOrigin&&X||this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers($);return Be.positionChanges.pipe((0,C.Q)(this._destroyed)).subscribe(Ye=>{this._updateCurrentPositionClass(Ye.connectionPair),this._tooltipInstance&&Ye.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=(0,_.c)(this._injector,{direction:this._dir,positionStrategy:Be,panelClass:this._overlayPanelClass?[...this._overlayPanelClass,K]:K,scrollStrategy:this._injector.get(N)(),disableAnimations:this._animationsDisabled}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe((0,C.Q)(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe((0,C.Q)(this._destroyed)).subscribe(()=>this._tooltipInstance?._handleBodyInteraction()),this._overlayRef.keydownEvents().pipe((0,C.Q)(this._destroyed)).subscribe(Ye=>{this._isTooltipVisible()&&Ye.keyCode===f.g&&!(0,O.rp)(Ye)&&(Ye.preventDefault(),Ye.stopPropagation(),this._ngZone.run(()=>this.hide(0)))}),this._defaultOptions?.disableTooltipInteractivity&&this._overlayRef.addPanelClass(`${this._cssClassPrefix}-tooltip-panel-non-interactive`),this._dirSubscribed||(this._dirSubscribed=!0,this._dir.change.pipe((0,C.Q)(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)})),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(X){const $=X.getConfig().positionStrategy,K=this._getOrigin(),Be=this._getOverlayPosition();$.withPositions([this._addOffset({...K.main,...Be.main}),this._addOffset({...K.fallback,...Be.fallback})])}_addOffset(X){const K=!this._dir||"ltr"==this._dir.value;return"top"===X.originY?X.offsetY=-8:"bottom"===X.originY?X.offsetY=8:"start"===X.originX?X.offsetX=K?-8:8:"end"===X.originX&&(X.offsetX=K?8:-8),X}_getOrigin(){const X=!this._dir||"ltr"==this._dir.value,$=this.position;let K;"above"==$||"below"==$?K={originX:"center",originY:"above"==$?"top":"bottom"}:"before"==$||"left"==$&&X||"right"==$&&!X?K={originX:"start",originY:"center"}:("after"==$||"right"==$&&X||"left"==$&&!X)&&(K={originX:"end",originY:"center"});const{x:Be,y:Ye}=this._invertPosition(K.originX,K.originY);return{main:K,fallback:{originX:Be,originY:Ye}}}_getOverlayPosition(){const X=!this._dir||"ltr"==this._dir.value,$=this.position;let K;"above"==$?K={overlayX:"center",overlayY:"bottom"}:"below"==$?K={overlayX:"center",overlayY:"top"}:"before"==$||"left"==$&&X||"right"==$&&!X?K={overlayX:"end",overlayY:"center"}:("after"==$||"right"==$&&X||"left"==$&&!X)&&(K={overlayX:"start",overlayY:"center"});const{x:Be,y:Ye}=this._invertPosition(K.overlayX,K.overlayY);return{main:K,fallback:{overlayX:Be,overlayY:Ye}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),(0,a.mal)(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()},{injector:this._injector}))}_setTooltipClass(X){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=X,this._tooltipInstance._markForCheck())}_invertPosition(X,$){return"above"===this.position||"below"===this.position?"top"===$?$="bottom":"bottom"===$&&($="top"):"end"===X?X="start":"start"===X&&(X="end"),{x:X,y:$}}_updateCurrentPositionClass(X){const{overlayY:$,originX:K,originY:Be}=X;let Ye;if(Ye="center"===$?this._dir&&"rtl"===this._dir.value?"end"===K?"left":"right":"start"===K?"left":"right":"bottom"===$&&"top"===Be?"above":"below",Ye!==this._currentPosition){const Se=this._overlayRef;if(Se){const pt=`${this._cssClassPrefix}-${nt}-`;Se.removePanelClass(pt+this._currentPosition),Se.addPanelClass(pt+Ye)}this._currentPosition=Ye}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsM
3ouseEvents()?this._passiveListeners.push(["mouseenter",X=>{let $;this._setupPointerExitEventsIfNeeded(),void 0!==X.x&&void 0!==X.y&&($=X),this.show(void 0,$)}]):"off"!==this.touchGestures&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",X=>{const $=X.targetTouches?.[0],K=$?{x:$.clientX,y:$.clientY}:void 0;this._setupPointerExitEventsIfNeeded(),this._touchstartTimeout&&clearTimeout(this._touchstartTimeout),this._touchstartTimeout=setTimeout(()=>{this._touchstartTimeout=null,this.show(void 0,K)},this._defaultOptions?.touchLongPressShowDelay??500)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;const X=[];if(this._platformSupportsMouseEvents())X.push(["mouseleave",$=>{const K=$.relatedTarget;(!K||!this._overlayRef?.overlayElement.contains(K))&&this.hide()}],["wheel",$=>this._wheelListener($)]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();const $=()=>{this._touchstartTimeout&&clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions?.touchendHideDelay)};X.push(["touchend",$],["touchcancel",$])}this._addListeners(X),this._passiveListeners.push(...X)}
3_addListeners(X){X.forEach(([$,K])=>{this._elementRef.nativeElement.addEventListener($,K,we)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(X){if(this._isTooltipVisible()){const $=this._injector.get(t.qQL).elementFromPoint(X.clientX,X.clientY),K=this._elementRef.nativeElement;$!==K&&!K.contains($)&&this.hide()}}_disableNativeGesturesIfNecessary(){const X=this.touchGestures;if("off"!==X){const $=this._elementRef.nativeElement,K=$.style;("on"===X||"INPUT"!==$.nodeName&&"TEXTAREA"!==$.nodeName)&&(K.userSelect=K.msUserSelect=K.webkitUserSelect=K.MozUserSelect="none"),("on"===X||!$.draggable)&&(K.webkitUserDrag="none"),K.touchAction="none",K.webkitTapHighlightColor="transparent"}}_syncAriaDescription(X){this._ariaDescriptionPending||(this._ariaDescriptionPending=!0,this._ariaDescriber.removeDescription(this._elementRef.nativeElement,X,"tooltip"),this._isDestroyed||(0,a.mal)({write:()=>{this._ariaDescriptionPending=!1,this.message&&!this.disabled&&this._ariaDescriber.describe(this._elementRef.nativeElement,this.message,"tooltip")}},{injector:this._injector}))}static \u0275fac=function($){return new($||de)};static \u0275dir=a.FsC({type:de,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-mdc-tooltip-trigger"],hostVars:2,hostBindings:function($,K){2&$&&a.AVh("mat-mdc-tooltip-disabled",K.disabled)},inputs:{position:[0,"matTooltipPosition","position"],positionAtOrigin:[0,"matTooltipPositionAtOrigin","positionAtOrigin"],disabled:[0,"matTooltipDisabled","disabled"],showDelay:[0,"matTooltipShowDelay","showDelay"],hideDelay:[0,"matTooltipHideDelay","hideDelay"],touchGestures:[0,"matTooltipTouchGestures","touchGestures"],message:[0,"matTooltip","message"],tooltipClass:[0,"matTooltipClass","tooltipClass"]},exportAs:["matTooltip"]})}return de})(),ue=(()=>{class de{_changeDetectorRef=(0,t.WQX)(u.gRc);_elementRef=(0,t.WQX)(a.aKT);_isMultiline=!1;message;tooltipClass;_showTimeoutId;_hideTimeoutId;_triggerElement;_mouseLeaveHideDelay;_animationsDisabled=(0,U._)();_tooltip;_closeOnInteraction=!1;_isVisible=!1;_onHide=new ne.B;_showAnimation="mat-mdc-tooltip-show";_hideAnimation="mat-mdc-tooltip-hide";constructor(){}show(X){null!=this._hideTimeoutId&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},X)}hide(X){null!=this._showTimeoutId&&clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},X)}afterHidden(){return this._onHide}isVisible(){return this._isVisible}ngOnDestroy(){this._cancelPendingAnimations(),this._onHide.complete(),this._triggerElement=null}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}_handleMouseLeave({relatedTarget:X}){(!X||!this._triggerElement.contains(X))&&(this.isVisible()?this.hide(this._mouseLeaveHideDelay):this._finalizeAnimation(!1))}_onShow(){this._isMultiline=this._isTooltipMultiline(),this._markForCheck()}_isTooltipMultiline(){const X=this._elementRef.nativeElement.getBoundingClientRect();return X.height>24&&X.width>=200}_handleAnimationEnd({animationName:X}){(X===this._showAnimation||X===this._hideAnimation)&&this._finalizeAnimation(X===this._showAnimation)}_cancelPendingAnimations(){null!=this._showTimeoutId&&clearTimeout(this._showTimeoutId),null!=this._hideTimeoutId&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=this._hideTimeoutId=void 0}_finalizeAnimation(X){X?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(X){const $=this._tooltip.nativeElement,K=this._showAnimation,Be=this._hideAnimation;if($.classList.remove(X?Be:K),$.classList.add(X?K:Be),this._isVisible!==X&&(this._isVisible=X,this._changeDetectorRef.markForCheck()),X&&!this._animationsDisabled&&"function"==typeof getComputedStyle){const Ye=getComputedStyle($);("0s"===Ye.getPropertyValue("animation-duration")||"none"===Ye.getPropertyValue("animation-name"))&&(this._animationsDisabled=!0)}X&&this._onShow(),this._animationsDisabled&&($.classList.add("_mat-animation-noopable"),this._finalizeAnimation(X))}static \u0275fac=function($){return new($||de)};static \u0275cmp=a.VBU({type:de,selectors:[["mat-tooltip-component"]],viewQuery:function($,K){if(1&$&&a.GBs(I,7),2&$){let Be;a.mGM(Be=a.lsd())&&(K._tooltip=Be.first)}},hostAttrs:["aria-hidden","true"],hostBindings:function($,K){1&$&&a.bIt("mouseleave",function(Ye){return K._handleMouseLeave(Ye)})},decls:4,vars:4,consts:[["tooltip",""],[1,"mdc-tooltip","mat-mdc-tooltip",3,"animationend","ngClass"],[1,"mat-mdc-tooltip-surface","mdc-tooltip__surface"]],template:function($,K){if(1&$){const Be=a.RV6();a.j41(0,"div",1,0),a.bIt("animationend",function(Se){return t.eBV(Be),t.Njj(K._handleAnimationEnd(Se))}),a.j41(2,"div",2),a.EFF(3),a.k0s()()}2&$&&(a.AVh("mdc-tooltip--multiline",K._isMultiline),a.Y8G("ngClass",K.tooltipClass),a.R7$(3),a.JRh(K.message))},dependencies:[d.YU],styles:['.mat-mdc-tooltip{position:relative;transform:scale(0);display:inline-flex}.mat-mdc-tooltip::before{content:"";top:0;right:0;bottom:0;left:0;z-index:-1;position:absolute}.mat-mdc-tooltip-panel-below .mat-mdc-tooltip::before{top:-8px}.mat-mdc-tooltip-panel-above .mat-mdc-tooltip::before{bottom:-8px}.mat-mdc-tooltip-panel-right .mat-mdc-tooltip::before{left:-8px}.mat-mdc-tooltip-panel-left .mat-mdc-tooltip::before{right:-8px}.mat-mdc-tooltip._mat-animation-noopable{animation:none;transform:scale(1)}.mat-mdc-tooltip-surface{word-break:normal;overflow-wrap:anywhere;padding:4px 8px;min-width:40px;
3max-width:200px;min-height:24px;max-height:40vh;box-sizing:border-box;overflow:hidden;text-align:center;will-change:transform,opacity;background-color:var(--mat-tooltip-container-color, var(--mat-sys-inverse-surface));color:var(--mat-tooltip-supporting-text-color, var(--mat-sys-inverse-on-surface));border-radius:var(--mat-tooltip-container-shape, var(--mat-sys-corner-extra-small));font-family:var(--mat-tooltip-supporting-text-font, var(--mat-sys-body-small-font));font-size:var(--mat-tooltip-supporting-text-size, var(--mat-sys-body-small-size));font-weight:var(--mat-tooltip-supporting-text-weight, var(--mat-sys-body-small-weight));line-height:var(--mat-tooltip-supporting-text-line-height, var(--mat-sys-body-small-line-height));letter-spacing:var(--mat-tooltip-supporting-text-tracking, var(--mat-sys-body-small-tracking))}.mat-mdc-tooltip-surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}.mdc-tooltip--multiline .mat-mdc-tooltip-surface{text-align:left}[dir=rtl] .mdc-tooltip--multiline .mat-mdc-tooltip-surface{text-align:right}.mat-mdc-tooltip-panel{line-height:normal}.mat-mdc-tooltip-panel.mat-mdc-tooltip-panel-non-interactive{pointer-events:none}@keyframes mat-mdc-tooltip-show{0%{opacity:0;transform:scale(0.8)}100%{opacity:1;transform:scale(1)}}@keyframes mat-mdc-tooltip-hide{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(0.8)}}.mat-mdc-tooltip-show{animation:mat-mdc-tooltip-show 150ms cubic-bezier(0, 0, 0.2, 1) forwards}.mat-mdc-tooltip-hide{animation:mat-mdc-tooltip-hide 75ms cubic-bezier(0.4, 0, 1, 1) forwards}\n'],encapsulation:2,changeDetection:0})}return de})(),z=(()=>{class de{static \u0275fac=function($){return new($||de)};static \u0275mod=a.$C({type:de});static \u0275inj=t.G2t({providers:[H],imports:[r.A,_.t,T.M,T.M,h.Gj]})}return de})()},91560:function(qe){(function(){qe.exports=function(){function o(a){this.arr=a||[]}return Object.defineProperty(o.prototype,"length",{get:function(){return this.arr.length}}),o.prototype.item=function(a){return this.arr[a]||null},o.prototype.contains=function(a){return-1!==this.arr.indexOf(a)},o}()}).call(this)},91714:(qe,ee,o)=>{"use strict";o.d(ee,{p:()=>r});var a=o(96697),t=o(1734),u=o(22193),M=o(2615),v=o(90645);let r=(()=>{class _{constructor(C,b){this.window=C,this.togglzService=b,this.rumTogglz=!1}init(){this.window.orcidForceRumHarvest=()=>this.forceHarvestNow(),this.togglzService.getStateOf(u.i.RUM).pipe((0,a.s)(1)).subscribe(C=>{this.rumTogglz=C,this.window?.newrelic?.start&&"function"==typeof this.window.newrelic.start&&this.rumTogglz&&this.window.newrelic.start()})}forceHarvestNow(){const C=this.window?.NREUM?.initializedAgents??{},D=Object.values(C)[0]?.runtime?.harvester;(D?.initializedAggregates??[]).forEach(O=>{if("function"==typeof O?.makeHarvestPayload)try{D?.triggerHarvestFor?.(O)}catch{}})}static{this.\u0275fac=function(b){return new(b||_)(M.KVO(t.jf),M.KVO(v.v))}}static{this.\u0275prov=M.jDH({token:_,factory:_.\u0275fac,providedIn:"root"})}}return _})()},91801:function(qe,ee,o){(function(){var a,u,M,r={}.hasOwnProperty;M=o(89700).isObject,u=o(79213),a=o(68886),qe.exports=function(_){function h(C,b,D,f){var O;h.__super__.constructor.call(this,C),M(b)&&(b=(O=b).version,D=O.encoding,f=O.standalone),b||(b="1.0"),this.type=a.Declaration,this.version=this.stringify.xmlVersion(b),null!=D&&(this.encoding=this.stringify.xmlEncoding(D)),null!=f&&(this.standalone=this.stringify.xmlStandalone(f))}return function(_,h){for(var C in h)r.call(h,C)&&(_[C]=h[C]);function b(){this.constructor=_}b.prototype=h.prototype,_.prototype=new b,_.__super__=h.prototype}(h,_),h.prototype.toString=function(C){return this.options.writer.declaration(this,this.options.writer.filterOptions(C))},h}(u)}).call(this)},91986:(qe,ee,o)=>{"use strict";o.d(ee,{c:()=>O});var a=o(43236),t=o(28793),u=o(96697),M=o(39974),v=o(54360),r=o(85343),h=o(73703),C=o(31397),b=o(58750);function D(d,L){return L?E=>(0,t.x)(L.pipe((0,u.s)(1),function _(){return(0,M.N)((d,L)=>{d.subscribe((0,v._)(L,r.l))})}
3()),E.pipe(D(d))):(0,C.Z)((E,se)=>(0,b.Tg)(d(E,se)).pipe((0,u.s)(1),(0,h.u)(E)))}var f=o(41584);function O(d,L=a.E){const E=(0,f.O)(d,L);return D(()=>E)}},92771:(qe,ee,o)=>{"use strict";o.d(ee,{m:()=>u});var a=o(21413),t=o(86129);class u extends a.B{constructor(v=1/0,r=1/0,_=t.U){super(),this._bufferSize=v,this._windowTime=r,this._timestampProvider=_,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=r===1/0,this._bufferSize=Math.max(1,v),this._windowTime=Math.max(1,r)}next(v){const{isStopped:r,_buffer:_,_infiniteTimeWindow:h,_timestampProvider:C,_windowTime:b}=this;r||(_.push(v),!h&&_.push(C.now()+b)),this._trimBuffer(),super.next(v)}_subscribe(v){this._throwIfClosed(),this._trimBuffer();const r=this._innerSubscribe(v),{_infiniteTimeWindow:_,_buffer:h}=this,C=h.slice();for(let b=0;b<C.length&&!v.closed;b+=_?1:2)v.next(C[b]);return this._checkFinalizedStatuses(v),r}_trimBuffer(){const{_bufferSize:v,_timestampProvider:r,_buffer:_,_infiniteTimeWindow:h}=this,C=(h?1:2)*v;if(v<1/0&&C<_.length&&_.splice(0,_.length-C),!h){const b=r.now();let D=0;for(let f=1;f<_.length&&_[f]<=b;f+=2)D=f;D&&_.splice(0,D+1)}}}},93073:(qe,ee,o)=>{"use strict";o.d(ee,{D:()=>v});const{isArray:a}=Array,{getPrototypeOf:t,prototype:u,keys:M}=Object;function v(_){if(1===_.length){const h=_[0];if(a(h))return{args:h,keys:null};if(function r(_){return _&&"object"==typeof _&&t(_)===u}(h)){const C=M(h);return{args:C.map(b=>h[b]),keys:C}}}return{args:_,keys:null}}},93774:(qe,ee,o)=>{"use strict";o.d(ee,{v:()=>M});var a=o(9350),t=o(39974),u=o(54360);function M(r=v){return(0,t.N)((_,h)=>{let C=!1;_.subscribe((0,u._)(h,b=>{C=!0,h.next(b)},()=>C?h.complete():h.error(r())))})}function v(){return new a.G}},94868:(qe,ee,o)=>{"use strict";o.d(ee,{P:()=>Ye});var a=o(1875),t=o(89417),u=o(67376),v=o(21413),r=o(56977),_=o(61594),h=o(70980),C=o(21495),b=o(1734),D=o(86223),f=o(73664),O=o(2615),d=o(17705),L=o(88021),E=o(51060),se=o(8435),Y=o(28178),ne=o(32130);const U=["descriptionInput"],T=Se=>({direction:Se}),I=Se=>({"no-wrap":Se}),w=Se=>({privacy:Se}),Z=Se=>({selector:Se}),N=Se=>({"read-only":Se}),oe=Se=>({"website-input":Se});function H(Se,pt){1&Se&&f.nrm(0,"div",44)}function ie(Se,pt){1&Se&&(f.j41(0,"mat-error"),f.pXf(1,6),f.k0s())}function Ce(Se,pt){1&Se&&(f.j41(0,"mat-error"),f.pXf(1,7),f.k0s())}function Ue(Se,pt){1&Se&&(f.j41(0,"mat-error"),f.pXf(1,8),f.k0s())}function nt(Se,pt){1&Se&&(f.j41(0,"mat-error"),f.pXf(1,9),f.k0s())}function we(Se,pt){1&Se&&(f.j41(0,"mat-error"),f.pXf(1,10),f.k0s())}function at(Se,pt){if(1&Se&&(f.j41(0,"mat-hint",50),f.nrm(1,"app-source-hit",51),f.k0s()),2&Se){const Ge=f.XpG(2).$implicit;f.R7$(),f.Y8G("createdDate",Ge.createdDate)("source",Ge.sourceName||Ge.source)("assertion",Ge.assertionOriginName||Ge.assertionOriginOrcid)}}function Xe(Se,pt){if(1&Se&&(f.qex(0),f.j41(1,"mat-form-field",45),f.nrm(2,"input",46,0),f.DNE(4,ie,2,0,"mat-error",24),f.k0s(),f.j41(5,"mat-form-field",47),f.nrm(6,"input",48),f.DNE(7,Ce,2,0,"mat-error",24)(8,Ue,2,0,"mat-error",24)(9,nt,2,0,"mat-error",24)(10,we,2,0,"mat-error",24)(11,at,2,3,"mat-hint",49),f.k0s(),f.bVm()),2&Se){let Ge;const bt=f.XpG().$implicit,me=f.XpG(2);f.R7$(),f.Y8G("ngClass",f.eq3(18,N,bt.source&&bt.source!==me.id)),f.R7$(),f.Y8G("placeholder",f.VkB(" ",me.ngOrcidDescription))("readonly",bt.source&&bt.source!==me.id)("ngClass",f.eq3(20,oe,"rtl"===me.screenDirection)),f.BMQ("aria-label",me.ariaLabelTitle),f.R7$(2),f.Y8G("ngIf",null==(Ge=me.websitesForm.get(bt.putCode))||null==(Ge=Ge.get("description"))||null==Ge.errors?null:Ge.errors.maxlength),f.R7$(),f.Y8G("ngClass",f.eq3(22,N,bt.source&&bt.source!==me.id)),f.R7$(),f.Y8G("placeholder",f.mNQ(me.ngOrcidUrl))("readonly",bt.source&&bt.source!==me.id)("ngClass",f.eq3(24,oe,"rtl"===me.screenDirection)),f.BMQ("aria-label",me.ariaLabelURL),f.R7$(),f.Y8G("ngIf",me.websitesForm.get(bt.putCode).hasError("required","url")),f.R7$(),f.Y8G("ngIf",me.websitesForm.get(bt.putCode).hasError("maxlength","url")),f.R7$(),f.Y8G("ngIf",me.websitesForm.get(bt.putCode).hasError("pattern","url")),f.R7$(),f.Y8G("ngIf",me.websitesForm.get(bt.putCode).hasError("duplicated","url")),f.R7$(),f.Y8G("ngIf",bt.putCode.indexOf("new")<0)}}function et(Se,pt){1&Se&&(f.j41(0,"mat-error"),f.pXf(1,11),f.k0s())}function xe(Se,pt){1&Se&&(f.j41(0,"mat-error"),f.pXf(1,12),f.k0s())}function De(Se,pt){1&Se&&(f.j41(0,"mat-error"),f.pXf(1,13),f.k0s())}function ue(Se,pt){1&Se&&(f.j41(0,"mat-error"),f.pXf(1,14),f.k0s())}function z(Se,pt){1&Se&&(f.j41(0,"mat-error"),f.pXf(1,15),f.k0s())}function de(Se,pt){if(1&Se&&(f.j41(0,"mat-hint",50),f.nrm(1,"app-source-hit",51),f.k0s()),2&Se){const Ge=f.XpG(2).$implicit;f.R7$(),f.Y8G("createdDate",Ge.createdDate)("source",Ge.sourceName||Ge.source)("assertion",Ge.assertionOriginName||Ge.assertionOriginOrcid)}}function ae(Se,pt){if(1&Se&&(f.qex(0),f.j41(1,"mat-form-field",45),f.nrm(2,"input",46,0),f.DNE(4,et,2,0,"mat-error",24),f.k0s(),f.j41(5,"mat-form-field",47),f.nrm(6,"input",48),f.DNE(7,xe,2,0,"mat-error",24)(8,De,2,0,"mat-error",24)(9,ue,2,0,"mat-error",24)(10,z,2,0,"mat-error",24)(11,de,2,3,"mat-hint",49),f.k0s(),f.bVm()),2&Se){let Ge;
3const bt=f.XpG().$implicit,me=f.XpG(2);f.R7$(),f.Y8G("ngClass",f.eq3(18,N,bt.source&&bt.source!==me.id)),f.R7$(),f.Y8G("placeholder",f.VkB(" ",me.ngOrcidDescription))("readonly",bt.source&&bt.source!==me.id)("ngClass",f.eq3(20,oe,"rtl"===me.screenDirection)),f.BMQ("aria-label",me.ariaLabelTitle),f.R7$(2),f.Y8G("ngIf",null==(Ge=me.websitesForm.get(bt.putCode))||null==(Ge=Ge.get("description"))||null==Ge.errors?null:Ge.errors.maxlength),f.R7$(),f.Y8G("ngClass",f.eq3(22,N,bt.source&&bt.source!==me.id)),f.R7$(),f.Y8G("placeholder",f.mNQ(me.ngOrcidUrl))("readonly",bt.source&&bt.source!==me.id)("ngClass",f.eq3(24,oe,"rtl"===me.screenDirection)),f.BMQ("aria-label",me.ariaLabelURL),f.R7$(),f.Y8G("ngIf",me.websitesForm.get(bt.putCode).hasError("required","url")),f.R7$(),f.Y8G("ngIf",me.websitesForm.get(bt.putCode).hasError("maxlength","url")),f.R7$(),f.Y8G("ngIf",me.websitesForm.get(bt.putCode).hasError("pattern","url")),f.R7$(),f.Y8G("ngIf",me.websitesForm.get(bt.putCode).hasError("duplicated","url")),f.R7$(),f.Y8G("ngIf",bt.putCode.indexOf("new")<0)}}function X(Se,pt){if(1&Se){const Ge=f.RV6();f.j41(0,"div",33),f.DNE(1,H,1,0,"div",34),f.j41(2,"div",35)(3,"div",36)(4,"div",37),f.nrm(5,"img",38),f.k0s(),f.j41(6,"div",39),f.DNE(7,Xe,12,26,"ng-container",24)(8,ae,12,26,"ng-container",24),f.k0s()(),f.j41(9,"div",40),f.nrm(10,"app-visibility-selector",41),f.j41(11,"button",42),f.bIt("click",function(){const me=O.eBV(Ge).$implicit,J=f.XpG(2);return O.Njj(J.deleteWebsite(me.putCode))}),f.j41(12,"mat-icon",43),f.EFF(13,"delete "),f.k0s()()()(),f.nrm(14,"hr",30),f.k0s()}if(2&Se){let Ge,bt;const me=pt.$implicit,J=pt.index,R=f.XpG(2);f.Y8G("ngStyle",f.eq3(10,T,R.screenDirection))("formGroupName",me.putCode),f.BMQ("id","draggable-"+J),f.R7$(2),f.Y8G("ngClass",f.eq3(12,I,!R.isMobile)),f.R7$(5),f.Y8G("ngIf",!(me.source&&me.source!==R.id)),f.R7$(),f.Y8G("ngIf",me.source&&me.source!==R.id),f.R7$(),f.Y8G("ngClass",f.eq3(14,w,!R.platform.columns12)),f.R7$(),f.Y8G("ngClass",f.eq3(16,Z,!R.platform.columns12))("itemTitle",(null==(Ge=R.websitesForm.get(me.putCode))?null:Ge.get("description").value)||""),f.R7$(),f.BMQ("aria-label",R.ariaLabelDelete+" "+((null==(bt=R.websitesForm.get(me.putCode))?null:bt.get("description").value)||""))}}function $(Se,pt){if(1&Se){const Ge=f.RV6();f.qex(0),f.j41(1,"div",25)(2,"h2",29),f.pXf(3,5),f.k0s()(),f.nrm(4,"hr",30),f.j41(5,"div",31),f.bIt("cdkDropListDropped",function(me){O.eBV(Ge);const J=f.XpG();return O.Njj(J.drop(me))}),f.DNE(6,X,15,18,"div",32),f.k0s(),f.bVm()}if(2&Se){const Ge=f.XpG();f.R7$(6),f.Y8G("ngForOf",Ge.websites)}}function K(Se,pt){1&Se&&(f.qex(0),f.pXf(1,16),f.bVm())}function Be(Se,pt){1&Se&&(f.qex(0),f.pXf(1,17),f.bVm())}let Ye=(()=>{class Se{constructor(Ge,bt,me,J,R,x,ce){this.window=Ge,this.dialogRef=bt,this._changeDetectorRef=me,this._platform=J,this._userService=R,this._recordWebsitesService=x,this._snackBar=ce,this.ariaLabelSave="Save changes to Websites & social links",this.ariaLabelCancel="Cancel changes to Websites & social links",this.ariaLabelDelete="Delete Websites or social link",this.ariaLabelClose="Close Websites and social links",this.ariaLabelTitle="Websites or social link Title",this.ariaLabelURL="Link URL",this.$destroy=new v.B,this.screenDirection="ltr",this.addedWebsiteCount=0,this.loadingWebsites=!0,this.isSavingWebsites=!1,this.urlMaxLength=1999,this.urlTitleMaxLength=354,this.ngOrcidDescription="Link Title",this.ngOrcidUrl="Link URL",this._platform.get().pipe((0,r.Q)(this.$destroy)).subscribe(Pe=>{this.platform=Pe,this.isMobile=Pe.columns4||Pe.columns8,this.screenDirection=Pe.screenDirection}),this._userService.getUserSession().pipe((0,r.Q)(this.$destroy)).subscribe(Pe=>{this.userSession=Pe})}ngOnInit(){this._recordWebsitesService.getWebsites().pipe((0,_.$)()).subscribe(Ge=>{this.defaultVisibility=Ge.visibility.visibility,this.originalBackendWebsites=(0,u.cloneDeep)(Ge),this.websites=this.originalBackendWebsites.websites;const bt={};this.originalBackendWebsites.websites.map(me=>bt[me.putCode]=me),this.backendJsonToForm(this.originalBackendWebsites),this.loadingWebsites=!1})}onSubmit(){}
3backendJsonToForm(Ge){const me={};Ge.websites.forEach(J=>{me[J.putCode]=new t.J3({description:new t.hs(null==J.urlName?"":J.urlName.trim(),{validators:[t.k0.maxLength(this.urlTitleMaxLength)],updateOn:"change"}),url:new t.hs(J.url.value.trim(),{validators:[t.k0.required,D.X.patternAfterTrimming(C.i$),this.allUrlsAreUnique(J.putCode),t.k0.maxLength(this.urlMaxLength)],updateOn:"change"}),visibility:new t.hs(J.visibility.visibility,{})})}),this.websitesForm=new t.J3(me)}formToBackend(Ge){const bt={errors:[],websites:[],visibility:this.originalBackendWebsites.visibility};return this.websites.reverse(),this.websites.map(me=>me.putCode).filter(me=>Ge.getRawValue()[me].url).forEach((me,J)=>{const R=Ge.getRawValue()[me].description.trim(),x=Ge.getRawValue()[me].url.trim(),ce=Ge.getRawValue()[me].visibility;Ge.getRawValue()[me]&&bt.websites.push({putCode:0===me.indexOf("new-")?null:me,url:x,urlName:R,displayIndex:J+1,source:this.userSession.userInfo.EFFECTIVE_USER_ORCID,visibility:{visibility:ce}})}),bt}saveEvent(){this.loadingWebsites||this.isSavingWebsites||(this.isSavingWebsites=!0,this.websitesForm.markAllAsTouched(),this.websitesForm.updateValueAndValidity(),this.websitesForm.valid?this._recordWebsitesService.postWebsites(this.formToBackend(this.websitesForm)).pipe((0,h.j)(()=>{this.isSavingWebsites=!1})).subscribe(()=>{this.closeEvent()},()=>{}):(this.isSavingWebsites=!1,this._snackBar.showValidationError()))}closeEvent(){this.dialogRef.close()}drop(Ge){(0,a.HD)(this.websites,Ge.previousIndex,Ge.currentIndex)}addWebsite(){const Ge="new-"+this.addedWebsiteCount;this.websitesForm.addControl(Ge,new t.J3({description:new t.hs("",{val
3idators:[t.k0.maxLength(this.urlTitleMaxLength)],updateOn:"change"}),url:new t.hs("",{validators:[t.k0.required,D.X.patternAfterTrimming(C.i$),this.allUrlsAreUnique(Ge),t.k0.maxLength(this.urlMaxLength)],updateOn:"change"}),visibility:new t.hs(this.defaultVisibility,{})})),this.websites.push({putCode:"new-"+this.addedWebsiteCount,visibility:{visibility:this.defaultVisibility}}),this.addedWebsiteCount++,this._changeDetectorRef.detectChanges(),this.inputs.last.nativeElement.focus()}deleteWebsite(Ge){const bt=this.websites.findIndex(me=>me.putCode===Ge);this.websites.splice(bt,1),this.websitesForm.removeControl(Ge)}toMyLinks(){this.window.document.getElementById("my-links").scrollIntoView()}allUrlsAreUnique(Ge){return bt=>{if(!u.isUndefined(bt.value)&&!u.isEmpty(bt.value)&&this.websitesForm){const me=this.websitesForm,J=this.listDuplicateInputKeys(me);if(this.removeDuplicateErrorFromOtherControls(J,me),J.indexOf(Ge)>=0)return{duplicated:!0}}return{}}}listDuplicateInputKeys(Ge){const bt=[];return Object.keys(Ge.controls).forEach(me=>{let J=Ge.controls[me].controls.url.value;J=J.toLowerCase().trim(),J=this.removeProtocol(J),Object.keys(Ge.controls).forEach(R=>{let x=Ge.controls[R].controls.url.value;x=x.toLowerCase().trim(),x=this.removeProtocol(x),J&&x&&J===x&&me!==R&&bt.push(R)})}),bt}removeDuplicateErrorFromOtherControls(Ge,bt=new t.J3({})){Object.keys(bt.controls).forEach(me=>{const J=bt.controls[me].controls.url;-1===Ge.indexOf(me)&&J.errors&&J.errors.duplicated&&(delete J.errors.duplicated,J.updateValueAndValidity({onlySelf:!0}))})}ngOnDestroy(){this.$destroy.next(!0),this.$destroy.unsubscribe()}removeProtocol(Ge){let bt=Ge;return 0===Ge.indexOf("http://")&&(bt=bt.replace("http://","")),0===Ge.indexOf("https://")&&(bt=bt.replace("https://","")),bt}static{this.\u0275fac=function(bt){return new(bt||Se)(f.rXU(b.jf),f.rXU(L.k),f.rXU(d.gRc),f.rXU(E.Z),f.rXU(se.DL),f.rXU(Y.F),f.rXU(ne.z))}}static{this.\u0275cmp=f.VBU({type:Se,selectors:[["app-modal-websites"]],viewQuery:function(bt,me){if(1&bt&&f.GBs(U,5),2&bt){let J;f.mGM(J=f.lsd())&&(me.inputs=J)}},standalone:!1,decls:20,vars:10,consts:()=>{let Ge,bt,me,J,R,x,ce,Pe,pe,st,Qe,At,Ne,ze,Ke,Ct,Wt;return Ge=" Websites & social links",bt=" Save changes ",me=" Cancel ",J=" Add links to personal websites, department profiles, Wikipedia pages or social media accounts. ",R=" My links ",x=" Must be less than 355 characters ",ce=" An URL is required ",Pe=" Must be less than 2000 characters ",pe=" Invalid URL ",st=" URL can not be duplicated ",Qe=" Must be less than 355 characters ",At=" An URL is required ",Ne=" Must be less than 2000 characters ",ze=" Invalid URL ",Ke=" URL can not be duplicated ",Ct=" Add a link ",Wt=" Add another link ",[["descriptionInput",""],Ge,bt,me,J,R,x,ce,Pe,pe,st,Qe,At,Ne,ze,Ke,Ct,Wt,[3,"loading","noSidebar"],[3,"closeLabel"],["mat-raised-button","","color","primary","id","save-websites-button",3,"click","disabled"],["mat-stroked-button","","color","primary","id","cancel-websites-button",3,"click"],[1,"container","no-padding",3,"ngSubmit","formGroup"],["id","my-links",1,"orc-font-body-small"],[4,"ngIf"],[1,"row"],["
3id","add-link",1,"col","add-more","no-gutters",3,"click"],[1,"large-material-icon"],[1,"mat-subtitle-2"],[1,"col","no-gutters","orc-font-body"],[1,"dashed-line"],["id","website-dropList","cdkDropList","",1,"row","websites-list",3,"cdkDropListDropped"],["cdkDrag","","class","row websites-box",3,"ngStyle","formGroupName",4,"ngFor","ngForOf"],["cdkDrag","",1,"row","websites-box",3,"ngStyle","formGroupName"],["class","row drag-placeholder",4,"cdkDragPlaceholder"],[1,"row","websites-input-line",3,"ngClass"],[1,"col","l12","m8","s4","top","no-wrap","no-gutters","input-container"],[1,"image-container"],["cdkDragHandle","","src","./assets/vectors/draggable.svg","aria-label","drag handle",1,"icon-drag"],[1,"row","web-site-input-container"],[1,"col","no-wrap","actions-wrapper",3,"ngClass"],["formControlName","visibility",3,"ngClass","itemTitle"],["mat-icon-button","",1,"delete-button",3,"click"],[1,"material-icons-outlined","extra-large-material-icon"],[1,"row","drag-placeholder"],["appearance","outline",1,"mat-form-field-min","description",3,"ngClass"],["matInput","","formControlName","description",1,"cy-description-input",3,"readonly","placeholder","ngClass"],["appearance","outline",1,"mat-form-field-min",3,"ngClass"],["matInput","","formControlName","url",1,"cy-url-input",3,"readonly","placeholder","ngClass"],["class","mat-caption",4,"ngIf"],[1,"mat-caption"],[3,"createdDate","source","assertion"]]},template:function(bt,me){1&bt&&(f.j41(0,"app-modal",18)(1,"app-modal-header",19),f.qex(2),f.pXf(3,1),f.bVm(),f.k0s(),f.j41(4,"app-modal-footer")(5,"button",20),f.bIt("click",function(){return me.saveEvent()}),f.pXf(6,2),f.k0s(),f.j41(7,"button",21),f.bIt("click",function(){return me.closeEvent()}),f.pXf(8,3),f.k0s()(),f.j41(9,"div",22),f.bIt("ngSubmit",function(){return me.onSubmit()}),f.j41(10,"p",23),f.pXf(11,4),f.k0s(),f.DNE(12,$,7,1,"ng-container",24),f.j41(13,"div",25)(14,"a",26),f.bIt("click",function(){return me.addWebsite()}),f.j41(15,"mat-icon",27),f.EFF(16,"add_circle_outline"),f.k0s(),f.j41(17,"span",28),f.DNE(18,K,2,0,"ng-container",24)(19,Be,2,0,"ng-container",24),f.k0s()()()()()),2&bt&&(f.Y8G("loading",me.loadingWebsites)("noSidebar",!0),f.R7$(),f.Y8G("closeLabel",me.ariaLabelClose),f.R7$(4),f.Y8G("disabled",me.loadingWebsites||me.isSavingWebsites||(null==me.websitesForm?null:me.websitesForm.invalid)),f.BMQ("aria-label",me.ariaLabelSave),f.R7$(2),f.BMQ("aria-label",me.ariaLabelCancel),f.R7$(2),f.Y8G("formGroup",me.websitesForm),f.R7$(3),f.Y8G("ngIf",(null==me.websites?null:me.websites.length)>0),f.R7$(6),f.Y8G("ngIf",0===(null==me.websites?null:me.websites.length)),f.R7$(),f.Y8G("ngIf",0!==(null==me.websites?null:me.websites.length)))},styles:["[_nghost-%COMP%]{width:100%} .columns-4-or-8 .mat-mdc-form-field{width:100%;margin-inline-end:auto}.websites-list.cdk-drop-list-dragging[_ngcontent-%COMP%] .websites-box[_ngcontent-%COMP%]:not(.cdk-drag-placeholder){transition:transform .25s cubic-bezier(0,0,.2,1)}.websites-input-line[_ngcontent-%COMP%] .image-container[_ngcontent-%COMP%]{height:80%;display:flex;align-items:center;justify-content:space-around}.websites-input-line[_ngcontent-%COMP%] .image-container[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{cursor:move;margin-inline-start:6px;margin-inline-end:10px}.websites-input-line[_ngcontent-%COMP%] .input-container[_ngcontent-%COMP%]{margin-top:10px;margin-bottom:4px}.websites-input-line[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{margin:auto 0}.websites-input-line[_ngcontent-%COMP%] .privacy[_ngcontent-%COMP%]{width:100%;max-height:60px;margin:0}.websites-input-line[_ngcontent-%COMP%] .privacy[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{margin:0 0 0 auto!important}.websites-input-line[_ngcontent-%COMP%] .selector[_ngcontent-%COMP%]{margin:0!important} .columns-4-or-8 .websites-input-line .input-container{padding-bottom:30px}.icon-drag[_ngcontent-%COMP%]{height:32px;margin:4px}.actions-wrapper[_ngcontent-%COMP%]{flex-wrap:nowrap;display:flex;align-items:center;height:80%} .columns-4-or-8 .websites-input-line .actions-wrapper{padding-bottom:10px}.mat-mdc-form-field[_ngcontent-%COMP%]{width:100%;margin-inline-end:16px} .columns-4-or-8 .mat-mdc-form-field{margin-inline-end:0}.website-input[_ngcontent-%COMP%]{text-align:right!important}.add-more[_ngcontent-%COMP%]{margin-top:16px}.add-more[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{margin:auto;padding-left:6px}.drag-placeholder[_ngcontent-%COMP%]{min-height:120px}.actions-wrapper[_ngcontent-%COMP%]{padding:0 32px 0 0}.web-site-input-container[_ngcontent-%COMP%]{display:flex;flex-direction:column}.web-site-input-container[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0;padding-bottom:6px}.web-site-input-container[_ngcontent-%COMP%] .not-editable-url[_ngcontent-%COMP%]{position:relative;display:flex;flex-direction:column;padding-bottom:15px}.web-site-input-container[_ngcontent-%COMP%] .not-editable-url[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{word-break:break-all}.web-site-input-container[_ngcontent-%COMP%] .not-editable-description[_ngcontent-%COMP%]{padding-top:15px} .columns-4-or-8 .actions-wrapper{padding:0}.delete-button[_ngcontent-%COMP%], app-visibility-selector[_ngcontent-%COMP%]{margin-inline-start:16px}.delete-button[_ngcontent-%COMP%]{margin-top:-3px}button.mat-focus-indicator.delete-button.mat-mdc-icon-button[_ngcontent-%COMP%]{margin-inline-start:16px}"]})}}return Se})()},94918:(qe,ee,o)=>{"use strict";var a=o(57303),t=o(52512),u=o(2615),M=o(60177),v=o(72200),r=o(73664),_=o(17705);const h=new u.nKC("");let C=(()=>{class k{_zone;_plugins;_eventNameToPlugin=new Map;constructor(m,S){this._zone=S,m.forEach(B=>{B.manager=this}),this._plugins=m.slice().reverse()}addEventListener(m,S,B,ve){return this._findPluginFor(S).addEventListener(m,S,B,ve)}getZone(){return this._zone}_findPluginFor(m){let S=this._eventNameToPlugin.get(m);
3if(S)return S;if(S=this._plugins.find(ve=>ve.supports(m)),!S)throw new u.buA(5101,!1);return this._eventNameToPlugin.set(m,S),S}static \u0275fac=function(S){return new(S||k)(u.KVO(h),u.KVO(r.SKi))};static \u0275prov=u.jDH({token:k,factory:k.\u0275fac})}return k})();class b{_doc;constructor(A){this._doc=A}manager}const D="ng-app-id";function f(k){for(const A of k)A.remove()}function O(k,A){const m=A.createElement("style");return m.textContent=k,m}function L(k,A){const m=A.createElement("link");return m.setAttribute("rel","stylesheet"),m.setAttribute("href",k),m}let E=(()=>{class k{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;constructor(m,S,B,ve={}){this.doc=m,this.appId=S,this.nonce=B,function d(k,A,m,S){const B=k.head?.querySelectorAll(`style[${D}="${A}"],link[${D}="${A}"]`);if(B)for(const ve of B)ve.removeAttribute(D),ve instanceof HTMLLinkElement?S.set(ve.href.slice(ve.href.lastIndexOf("/")+1),{usage:0,elements:[ve]}):ve.textContent&&m.set(ve.textContent,{usage:0,elements:[ve]})}(m,S,this.inline,this.external),this.hosts.add(m.head)}addStyles(m,S){for(const B of m)this.addUsage(B,this.inline,O);S?.forEach(B=>this.addUsage(B,this.external,L))}removeStyles(m,S){for(const B of m)this.removeUsage(B,this.inline);S?.forEach(B=>this.removeUsage(B,this.external))}addUsage(m,S,B){const ve=S.get(m);ve?ve.usage++:S.set(m,{usage:1,elements:[...this.hosts].map(lt=>this.addElement(lt,B(m,this.doc)))})}removeUsage(m,S){const B=S.get(m);B&&(B.usage--,B.usage<=0&&(f(B.elements),S.delete(m)))}ngOnDestroy(){for(const[,{elements:m}]of[...this.inline,...this.external])f(m);this.hosts.clear()}addHost(m){this.hosts.add(m);for(const[S,{elements:B}]of this.inline)B.push(this.addElement(m,O(S,this.doc)));for(const[S,{elements:B}]of this.external)B.push(this.addElement(m,L(S,this.doc)))}removeHost(m){this.hosts.delete(m)}addElement(m,S){return this.nonce&&S.setAttribute("nonce",this.nonce),m.appendChild(S)}static \u0275fac=function(S){return new(S||k)(u.KVO(u.qQL),u.KVO(r.sZ2),u.KVO(r.BIS,8),u.KVO(r.Agw))};static \u0275prov=u.jDH({token:k,factory:k.\u0275fac})}return k})();const se={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/Math/MathML"},Y=/%COMP%/g,T="%COMP%",I=`_nghost-${T}`,w=`_ngcontent-${T}`,N=new u.nKC("",{providedIn:"root",factory:()=>!0});function ie(k,A){return A.map(m=>m.replace(Y,k))}let Ue=(()=>{class k{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;platformId;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;platformIsServer;constructor(m,S,B,ve,lt,Ot,Ft,Kt=null,fn=null){this.eventManager=m,this.sharedStylesHost=S,this.appId=B,this.removeStylesOnCompDestroy=ve,this.doc=lt,this.platformId=Ot,this.ngZone=Ft,this.nonce=Kt,this.tracingService=fn,this.platformIsServer=!1,this.defaultRenderer=new nt(m,lt,Ft,this.platformIsServer,this.tracingService)}createRenderer(m,S){if(!m||!S)return this.defaultRenderer;const B=this.getOrCreateRenderer(m,S);return B instanceof De?B.applyToHost(m):B instanceof xe&&B.applyStyles(),B}getOrCreateRenderer(m,S){const B=this.rendererByCompId;let ve=B.get(S.id);if(!ve){const lt=this.doc,Ot=this.ngZone,Ft=this.eventManager,Kt=this.sharedStylesHost,fn=this.removeStylesOnCompDestroy,un=this.platformIsServer,Un=this.tracingService;switch(S.encapsulation){case r.gXe.Emulated:ve=new De(Ft,Kt,S,this.appId,fn,lt,Ot,un,Un);break;case r.gXe.ShadowDom:return new et(Ft,Kt,m,S,lt,Ot,this.nonce,un,Un);default:ve=new xe(Ft,Kt,S,fn,lt,Ot,un,Un)}B.set(S.id,ve)}return ve}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(m){this.rendererByCompId.delete(m)}static \u0275fac=function(S){return new(S||k)(u.KVO(C),u.KVO(E),u.KVO(r.sZ2),u.KVO(N),u.KVO(u.qQL),u.KVO(r.Agw),u.KVO(r.SKi),u.KVO(r.BIS),u.KVO(r.a8H,8))};static \u0275prov=u.jDH({token:k,factory:k.\u0275fac})}return k})();class nt{eventManager;doc;ngZone;platformIsServer;tracingService;data=Object.create(null);throwOnSyntheticProps=!0;constructor(A,m,S,B,ve){this.eventManager=A,this.doc=m,this.ngZone=S,this.platformIsServer=B,this.tracingService=ve}destroy(){}destroyNode=null;createElement(A,m){return m?this.doc.createElementNS(se[m]||m,A):this.doc.createElement(A)}createComment(A){return this.doc.createComment(A)}createText(A){return this.doc.createTextNode(A)}appendChild(A,m){(Xe(A)?A.content:A).appendChild(m)}insertBefore(A,m,S){A&&(Xe(A)?A.content:A).insertBefore(m,S)}removeChild(A,m){m.remove()}selectRootElement(A,m){let S="string"==typeof A?this.doc.querySelector(A):A;if(!S)throw new u.buA(-5104,!1);return m||(S.textContent=""),S}parentNode(A){return A.parentNode}nextSibling(A){return A.nextSibling}setAttribute(A,m,S,B){if(B){m=B+":"+m;const ve=se[B];ve?A.setAttributeNS(ve,m,S):A.setAttribute(m,S)}else A.setAttribute(m,S)}removeAttribute(A,m,S){if(S){const B=se[S];B?A.removeAttributeNS(B,m):A.removeAttribute(`${S}:${m}`)}else A.removeAttribute(m)}addClass(A,m){A.classList.add(m)}removeClass(A,m){A.classList.remove(m)}setStyle(A,m,S,B){B&(r.czy.DashCase|r.czy.Important)?A.style.setProperty(m,S,B&r.czy.Important?"important":""):A.style[m]=S}removeStyle(A,m,S){S&r.czy.DashCase?A.style.removeProperty(m):A.style[m]=""}setProperty(A,m,S){null!=A&&(A[m]=S)}setValue(A,m){A.nodeValue=m}listen(A,m,S,B){if("string"==typeof A&&!(A=(0,a.rb)().getGlobalEventTarget(this.doc,A)))throw new u.buA(5102,!1);let ve=this.decoratePreventDefault(S);return this.tracingService?.wrapEventListener&&(ve=this.tracingService.wrapEventListener(A,m,ve)),this.eventManager.addEventListener(A,m,ve,B)}decoratePreventDefault(A){return m=>{if("__ngUnwrap__"===m)return A;!1===A(m)&&m.preventDefault()}}}function Xe(k){return"TEMPLATE"===k.tagName&&void 0!==k.content}class et extends nt{sharedStylesHost;hostEl;shadowRoot;constructor(A,m,S,B,ve,lt,Ot,Ft,Kt){super(A,ve,lt,Ft,Kt),this.sharedStylesHost=m,this.hostEl=S,this.shadowRoot=S.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let fn=B.styles;fn=ie(B.id,fn);for(const Un of fn){const Fn=document.createElement("style");Ot&&Fn.setAttribute("nonce",Ot),Fn.textContent=Un,this.shadowRoot.appendChild(Fn)}const un=B.getExternalStyles?.();if(un)for(const Un of un){const Fn=L(Un,ve);Ot&&Fn.setAttribute("nonce",Ot),this.shadowRoot.appendChild(Fn)}}nodeOrShadowRoot(A){return A===this.hostEl?this.shadowRoot:A}appendChild(A,m){return super.appendChild(this.nodeOrShadowRoot(A),m)}insertBefore(A,m,S){return super.insertBefore(this.nodeOrShadowRoot(A),m,S)}removeChild(A,m){return super.removeChild(null,m)}parentNode(A){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(A)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class xe extends nt{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(A,m,S,B,ve,lt,Ot,Ft,Kt){super(A,ve,lt,Ot,Ft),this.sharedStylesHost=m,this.removeStylesOnCompDestroy=B;let fn=S.styles;this.styles=Kt?ie(Kt,fn):fn,this.styleUrls=S.getExternalStyles?.(Kt)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}}class De extends xe{contentAttr;hostAttr;constructor(A,m,S,B,ve,lt,Ot,Ft,Kt){const fn=B+"-"+S.id;super(A,m,S,ve,lt,Ot,Ft,Kt,fn),this.contentAttr=function oe(k){return w.replace(Y,k)}(fn),this.hostAttr=function H(k){return I.replace(Y,k)}(fn)}applyToHost(A){this.applyStyles(),this.setAttribute(A,this.hostAttr,"")}createElement(A,m){const S=super.createElement(A,m);return super.setAttribute(S,this.contentAttr,""),S}}class ue extends a.qj{supportsDOMEvents=!0;static makeCurrent(){(0,a.ig)(new ue)}onAndCancel(A,m,S,B){return A.addEventListener(m,S,B),()=>{A.removeEventListener(m,S,B)}}dispatchEvent(A,m){A.dispatchEvent(m)}remove(A){A.remove()}createElement(A,m){return(m=m||this.getDefaultDocument()).createElement(A)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(A){return A.nodeType===Node.ELEMENT_NODE}isShadowRoot(A){return A instanceof DocumentFragment}getGlobalEventTarget(A,m){return"window"===m?window:"document"===m?A:"body"===m?A.body:null}getBaseHref(A){const m=function de(){return z=z||document.head.querySelector("base"),z?z.getAttribute("href"):null}();return null==m?null:function ae(k){return new URL(k,document.baseURI).pathname}(m)}resetBaseElement(){z=null}getUserAgent(){return window.navigator.userAgent}getCookie(A){return(0,t.b)(document.cookie,A)}}let z=null,$=(()=>{class k{build(){return new XMLHttpRequest}static \u0275fac=function(S){return new(S||k)};static \u0275prov=u.jDH({token:k,factory:k.\u0275fac})}return k})(),K=(()=>{class k extends b{constructor(m){super(m)}supports(m){return!0}addEventListener(m,S,B,ve){return m.addEventListener(S,B,ve),()=>this.removeEventListener(m,S,B,ve)}removeEventListener(m,S,B,ve){return m.removeEventListener(S,B,ve)}static \u0275fac=function(S){return new(S||k)(u.KVO(u.qQL))};static \u0275prov=u.jDH({token:k,factory:k.\u0275fac})}return k})();const Be=["alt","control","meta","shift"],Ye={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},Se={alt:k=>k.altKey,control:k=>k.ctrlKey,meta:k=>k.metaKey,shift:k=>k.shiftKey};let pt=(()=>{class k extends b{constructor(m){super(m)}supports(m){return null!=k.parseEventName(m)}addEventListener(m,S,B,ve){const lt=k.parseEventName(S),Ot=k.eventCallback(lt.fullKey,B,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,a.rb)().onAndCancel(m,lt.domEventName,Ot,ve))}static parseEventName(m){const S=m.toLowerCase().split("."),B=S.shift();if(0===S.length||"keydown"!==B&&"keyup"!==B)return null;const ve=k._normalizeKey(S.pop());let lt="",Ot=S.indexOf("code");if(Ot>-1&&(S.splice(Ot,1),lt="code."),Be.forEach(Kt=>{const fn=S.indexOf(Kt);fn>-1&&(S.splice(fn,1),lt+=Kt+".")}),lt+=ve,0!=S.length||0===ve.length)return null;const Ft={};return Ft.domEventName=B,Ft.fullKey=lt,Ft}static matchEventFullKeyCode(m,S){let B=Ye[m.key]||m.key,ve="";return S.indexOf("code.")>
3-1&&(B=m.code,ve="code."),!(null==B||!B)&&(B=B.toLowerCase()," "===B?B="space":"."===B&&(B="dot"),Be.forEach(lt=>{lt!==B&&(0,Se[lt])(m)&&(ve+=lt+".")}),ve+=B,ve===S)}static eventCallback(m,S,B){return ve=>{k.matchEventFullKeyCode(ve,m)&&B.runGuarded(()=>S(ve))}}static _normalizeKey(m){return"esc"===m?"escape":m}static \u0275fac=function(S){return new(S||k)(u.KVO(u.qQL))};static \u0275prov=u.jDH({token:k,factory:k.\u0275fac})}return k})();const pe=(0,_.oH4)(_.fpN,"browser",[{provide:r.Agw,useValue:M.AJ},{provide:r.PLl,useValue:function R(){ue.makeCurrent()},multi:!0},{provide:u.qQL,useFactory:function ce(){return(0,r._9u)(document),document}}]),Qe=[{provide:r.$Ln,useClass:class X{addToWindow(A){u.laP.getAngularTestability=(S,B=!0)=>{const ve=A.findTestabilityInTree(S,B);if(null==ve)throw new u.buA(5103,!1);return ve},u.laP.getAllAngularTestabilities=()=>A.getAllTestabilities(),u.laP.getAllAngularRootElements=()=>A.getAllRootElements(),u.laP.frameworkStabilizers||(u.laP.frameworkStabilizers=[]),u.laP.frameworkStabilizers.push(S=>{const B=u.laP.getAllAngularTestabilities();let ve=B.length;const lt=function(){ve--,0==ve&&S()};B.forEach(Ot=>{Ot.whenStable(lt)})})}findTestabilityInTree(A,m,S){return null==m?null:A.getTestability(m)??(S?(0,a.rb)().isShadowRoot(m)?this.findTestabilityInTree(A,m.host,!0):this.findTestabilityInTree(A,m.parentElement,!0):null)}}},{provide:r.dOL,useClass:r.NYb,deps:[r.SKi,r.giA,r.$Ln]},{provide:r.NYb,useClass:r.NYb,deps:[r.SKi,r.giA,r.$Ln]}],At=[{provide:u.GBX,useValue:"root"},{provide:u.zcH,useFactory:function x(){return new u.zcH}},{provide:h,useClass:K,multi:!0,deps:[u.qQL]},{provide:h,useClass:pt,multi:!0,deps:[u.qQL]},Ue,E,C,{provide:r._9s,useExisting:Ue},{provide:t.N,useClass:$},[]];let Ne=(()=>{class k{constructor(){}static \u0275fac=function(S){return new(S||k)};static \u0275mod=r.$C({type:k});static \u0275inj=u.G2t({providers:[...At,...Qe],imports:[v.MD,_.Hbi]})}return k})();var ze=o(11514);function Ct(k){return new u.buA(3e3,!1)}function it(k){return new u.buA(3002,!1)}function _e(k){switch(k.length){case 0:return new ze.sf;case 1:return k[0];default:return new ze.PZ(k)}}function ke(k,A,m=new Map,S=new Map){const B=[],ve=[];let lt=-1,Ot=null;if(A.forEach(Ft=>{const Kt=Ft.get("offset"),fn=Kt==lt,un=fn&&Ot||new Map;Ft.forEach((Un,Fn)=>{let Hn=Fn,qn=Un;if("offset"!==Fn)switch(Hn=k.normalizePropertyName(Hn,B),qn){case ze.FX:qn=m.get(Fn);break;case ze.kp:qn=S.get(Fn);break;default:qn=k.normalizeStyleValue(Fn,Hn,qn,B)}un.set(Hn,qn)}),fn||ve.push(un),Ot=un,lt=Kt}),B.length)throw function Cn(){return new u.buA(3502,!1)}();return ve}function _t(k,A,m,S){switch(A){case"start":k.onStart(()=>S(m&&wt(m,"start",k)));break;case"done":k.onDone(()=>S(m&&wt(m,"done",k)));break;case"destroy":k.onDestroy(()=>S(m&&wt(m,"destroy",k)))}}function wt(k,A,m){const ve=Je(k.element,k.triggerName,k.fromState,k.toState,A||k.phaseName,m.totalTime??k.totalTime,!!m.disabled),lt=k._data;return null!=lt&&(ve._data=lt),ve}function Je(k,A,m,S,B="",ve=0,lt){return{element:k,triggerName:A,fromState:m,toState:S,phaseName:B,totalTime:ve,disabled:!!lt}}function Tt(k,A,m){let S=k.get(A);return S||k.set(A,S=m),S}function le(k){const A=k.indexOf(":");return[k.substring(1,A),k.slice(A+1)]}const Ve=typeof document>"u"?null:document.documentElement;function Te(k){const A=k.parentNode||k.host||null;return A===Ve?null:A}let Jt=null,ot=!1;function gn(k,A){for(;A;){if(A===k)return!0;A=Te(A)}return!1}function kn(k,A,m){if(m)return Array.from(k.querySelectorAll(A));const S=k.querySelector(A);return S?[S]:[]}const oi="ng-enter",Fi="ng-leave",Kn="ng-trigger",Bn=".ng-trigger",Pi="ng-animating",Ii=".ng-animating";function zn(k){if("number"==typeof k)return k;const A=k.match(/^(-?[\.\d]+)(m?s)/);return!A||A.length<2?0:Ki(parseFloat(A[1]),A[2])}function Ki(k,A){return"s"===A?1e3*k:k}function or(k,A,m){return k.hasOwnProperty("duration")?k:function nr(k,A,m){let S,B=0,ve="";if("string"==typeof k){const lt=k.match(er);if(null===lt)return A.push(Ct()),{duration:0,delay:0,easing:""};S=Ki(parseFloat(lt[1]),lt[2]);const Ot=lt[3];null!=Ot&&(B=Ki(parseFloat(Ot),lt[4]));const Ft=lt[5];Ft&&(ve=Ft)}else S=k;if(!m){let lt=!1,Ot=A.length;
3S<0&&(A.push(function Wt(){return new u.buA(3100,!1)}()),lt=!0),B<0&&(A.push(function ln(){return new u.buA(3101,!1)}()),lt=!0),lt&&A.splice(Ot,0,Ct())}return{duration:S,delay:B,easing:ve}}(k,A,m)}const er=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i;function ki(k,A,m){A.forEach((S,B)=>{const ve=Do(B);m&&!m.has(B)&&m.set(B,k.style[ve]),k.style[ve]=S})}function gi(k,A){A.forEach((m,S)=>{const B=Do(S);k.style[B]=""})}function Zi(k){return Array.isArray(k)?1==k.length?k[0]:(0,ze.K2)(k):k}const Or=new RegExp("{{\\s*(.+?)\\s*}}","g");function yn(k){let A=[];if("string"==typeof k){let m;for(;m=Or.exec(k);)A.push(m[1]);Or.lastIndex=0}return A}function Ir(k,A,m){const S=`${k}`,B=S.replace(Or,(ve,lt)=>{let Ot=A[lt];return null==Ot&&(m.push(function Dn(){return new u.buA(3003,!1)}()),Ot=""),Ot.toString()});return B==S?k:B}const Jr=/-+([a-z0-9])/g;function Do(k){return k.replace(Jr,(...A)=>A[1].toUpperCase())}function Re(k,A,m){switch(A.type){case ze.If.Trigger:return k.visitTrigger(A,m);case ze.If.State:return k.visitState(A,m);case ze.If.Transition:return k.visitTransition(A,m);case ze.If.Sequence:return k.visitSequence(A,m);case ze.If.Group:return k.visitGroup(A,m);case ze.If.Animate:return k.visitAnimate(A,m);case ze.If.Keyframes:return k.visitKeyframes(A,m);case ze.If.Style:return k.visitStyle(A,m);case ze.If.Reference:return k.visitReference(A,m);case ze.If.AnimateChild:return k.visitAnimateChild(A,m);case ze.If.AnimateRef:return k.visitAnimateRef(A,m);case ze.If.Query:return k.visitQuery(A,m);case ze.If.Stagger:return k.visitStagger(A,m);default:throw function Gn(){return new u.buA(3004,!1)}()}}function tt(k,A){return window.getComputedStyle(k)[A]}let Lt=(()=>{class k{validateStyleProperty(m){return function yt(k){Jt||(Jt=function Xt(){return typeof document<"u"?document.body:null}()||{},ot=!!Jt.style&&"WebkitAppearance"in Jt.style);let A=!0;return Jt.style&&!function Ht(k){return"ebkit"==k.substring(1,6)}(k)&&(A=k in Jt.style,!A&&ot&&(A="Webkit"+k.charAt(0).toUpperCase()+k.slice(1)in Jt.style)),A}(m)}containsElement(m,S){return gn(m,S)}getParentElement(m){return Te(m)}query(m,S,B){return kn(m,S,B)}computeStyle(m,S,B){return B||""}animate(m,S,B,ve,lt,Ot=[],Ft){return new ze.sf(B,ve)}static \u0275fac=function(S){return new(S||k)};static \u0275prov=u.jDH({token:k,factory:k.\u0275fac})}return k})();class nn{static NOOP=new Lt}class _n{}const hi=new Set(["width","height","minWidth","minHeight","maxWidth","maxHeight","left","top","bottom","right","fontSize","outlineWidth","outlineOffset","paddingTop","paddingLeft","paddingBottom","paddingRight","marginTop","marginLeft","marginBottom","marginRight","borderRadius","borderWidth","borderTopWidth","borderLeftWidth","borderRightWidth","borderBottomWidth","textIndent","perspective"]);class ai extends _n{normalizePropertyName(A,m){return Do(A)}normalizeStyleValue(A,m,S,B){let ve="";const lt=S.toString().trim();if(hi.has(m)&&0!==S&&"0"!==S)if("number"==typeof S)ve="px";else{const Ot=S.match(/^[+-]?[\d\.]+([a-z]*)$/);Ot&&0==Ot[1].length&&B.push(function Yn(){return new u.buA(3005,!1)}())}return lt+ve}}const Mr=new Set(["true","1"]),ir=new Set(["false","0"]);function Rr(k,A){const m=Mr.has(k)||ir.has(k),S=Mr.has(A)||ir.has(A);return(B,ve)=>{let lt="*"==k||k==B,Ot="*"==A||A==ve;return!lt&&m&&"boolean"==typeof B&&(lt=B?Mr.has(k):ir.has(k)),!Ot&&S&&"boolean"==typeof ve&&(Ot=ve?Mr.has(A):ir.has(A)),lt&&Ot}}const Ao=new RegExp("s*:selfs*,?","g");function So(k,A,m,S){return new Kr(k).build(A,m,S)}class Kr{_driver;constructor(A){this._driver=A}build(A,m,S){const B=new Uo(m);return this._resetContextStyleTimingState(B),Re(this,Zi(A),B)}_resetContextStyleTimingState(A){A.currentQuerySelector="",A.collectedStyles=new Map,A.collectedStyles.set("",new Map),A.currentTime=0}visitTrigger(A,m){let S=m.queryCount=0,B=m.depCount=0;const ve=[],lt=[];return"@"==A.name.charAt(0)&&m.errors.push(function ui(){return new u.buA(3006,!1)}()),A.definitions.forEach(Ot=>{if(this._resetContextStyleTimingState(m),Ot.type==ze.If.State){const Ft=Ot,Kt=Ft.name;
3Kt.toString().split(/\s*,\s*/).forEach(fn=>{Ft.name=fn,ve.push(this.visitState(Ft,m))}),Ft.name=Kt}else if(Ot.type==ze.If.Transition){const Ft=this.visitTransition(Ot,m);S+=Ft.queryCount,B+=Ft.depCount,lt.push(Ft)}else m.errors.push(function ti(){return new u.buA(3007,!1)}())}),{type:ze.If.Trigger,name:A.name,states:ve,transitions:lt,queryCount:S,depCount:B,options:null}}visitState(A,m){const S=this.visitStyle(A.styles,m),B=A.options&&A.options.params||null;if(S.containsDynamicStyles){const ve=new Set,lt=B||{};S.styles.forEach(Ot=>{Ot instanceof Map&&Ot.forEach(Ft=>{yn(Ft).forEach(Kt=>{lt.hasOwnProperty(Kt)||ve.add(Kt)})})}),ve.size&&m.errors.push(function $t(){return new u.buA(3008,!1)}(0,ve.values()))}return{type:ze.If.State,name:A.name,style:S,options:B?{params:B}:null}}visitTransition(A,m){m.queryCount=0,m.depCount=0;const S=Re(this,Zi(A.animation),m),B=function li(k,A){const m=[];return"string"==typeof k?k.split(/\s*,\s*/).forEach(S=>function Fr(k,A,m){if(":"==k[0]){const Ft=function fr(k,A){switch(k){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(m,S)=>parseFloat(S)>parseFloat(m);case":decrement":return(m,S)=>parseFloat(S)<parseFloat(m);default:return A.push(function Mt(){return new u.buA(3016,!1)}()),"* => *"}}(k,m);if("function"==typeof Ft)return void A.push(Ft);k=Ft}const S=k.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==S||S.length<4)return m.push(function It(){return new u.buA(3015,!1)}()),A;const B=S[1],ve=S[2],lt=S[3];A.push(Rr(B,lt)),"<"==ve[0]&&("*"!=B||"*"!=lt)&&A.push(Rr(lt,B))}(S,m,A)):m.push(k),m}(A.expr,m.errors);return{type:ze.If.Transition,matchers:B,animation:S,queryCount:m.queryCount,depCount:m.depCount,options:so(A.options)}}visitSequence(A,m){return{type:ze.If.Sequence,steps:A.steps.map(S=>Re(this,S,m)),options:so(A.options)}}visitGroup(A,m){const S=m.currentTime;let B=0;const ve=A.steps.map(lt=>{m.currentTime=S;const Ot=Re(this,lt,m);return B=Math.max(B,m.currentTime),Ot});return m.currentTime=B,{type:ze.If.Group,steps:ve,options:so(A.options)}}visitAnimate(A,m){const S=function An(k,A){if(k.hasOwnProperty("duration"))return k;if("number"==typeof k)return Go(or(k,A).duration,0,"");const m=k;if(m.split(/\s+/).some(ve=>"{"==ve.charAt(0)&&"{"==ve.charAt(1))){const ve=Go(0,0,"");return ve.dynamic=!0,ve.strValue=m,ve}const B=or(m,A);return Go(B.duration,B.delay,B.easing)}(A.timings,m.errors);m.currentAnimateTimings=S;let B,ve=A.styles?A.styles:(0,ze.iF)({});if(ve.type==ze.If.Keyframes)B=this.visitKeyframes(ve,m);else{let lt=A.styles,Ot=!1;if(!lt){Ot=!0;const Kt={};S.easing&&(Kt.easing=S.easing),lt=(0,ze.iF)(Kt)}m.currentTime+=S.duration+S.delay;const Ft=this.visitStyle(lt,m);Ft.isEmptyStep=Ot,B=Ft}return m.currentAnimateTimings=null,{type:ze.If.Animate,timings:S,style:B,options:null}}visitStyle(A,m){const S=this._makeStyleAst(A,m);return this._validateStyleAst(S,m),S}_makeStyleAst(A,m){const S=[],B=Array.isArray(A.styles)?A.styles:[A.styles];for(let Ot of B)"string"==typeof Ot?Ot===ze.kp?S.push(Ot):m.errors.push(it()):S.push(new Map(Object.entries(Ot)));let ve=!1,lt=null;return S.forEach(Ot=>{if(Ot instanceof Map&&(Ot.has("easing")&&(lt=Ot.get("easing"),Ot.delete("easing")),!ve))for(let Ft of Ot.values())if(Ft.toString().indexOf("{{")>=0){ve=!0;break}}),{type:ze.If.Style,styles:S,easing:lt,offset:A.offset,containsDynamicStyles:ve,options:null}}_validateStyleAst(A,m){const S=m.currentAnimateTimings;let B=m.currentTime,ve=m.currentTime;S&&ve>0&&(ve-=S.duration+S.delay),A.styles.forEach(lt=>{"string"!=typeof lt&<.forEach((Ot,Ft)=>{const Kt=m.collectedStyles.get(m.currentQuerySelector),fn=Kt.get(Ft);let un=!0;fn&&(ve!=B&&ve>=fn.startTime&&B<=fn.endTime&&(m.errors.push(function mt(){return new u.buA(3010,!1)}()),un=!1),ve=fn.startTime),un&&Kt.set(Ft,{startTime:ve,endTime:B}),m.options&&function mr(k,A,m){const S=A.params||{},B=yn(k);B.length&&B.forEach(ve=>{S.hasOwnProperty(ve)||m.push(function Rn(){return new u.buA(3001,!1)}())})}(Ot,m.options,m.errors)})})}visitKeyframes(A,m){const S={type:ze.If.Keyframes,styles:[],options:null};if(!m.currentAnimateTimings)return m.errors.push(function Ze(){return new u.buA(3011,!1)}()),S;let ve=0;const lt=[];let Ot=!1,Ft=!1,Kt=0;const fn=A.steps.map(Cr=>{const Gr=this._makeStyleAst(Cr,m);let mo=null!=Gr.offset?Gr.offset:function qi(k){if("string"==typeof k)return null;let A=null;if(Array.isArray(k))k.forEach(m=>{if(m instanceof Map&&m.has("offset")){const S=m;A=parseFloat(S.get("offset")),S.delete("offset")}});else if(k instanceof Map&&k.has("offset")){const m=k;A=parseFloat(m.get("offset")),m.delete("offset")}return A}(Gr.styles),br=0;return null!=mo&&(ve++,br=Gr.offset=mo),Ft=Ft||br<0||br>1,Ot=Ot||br<Kt,Kt=br,lt.push(br),Gr});Ft&&m.errors.push(function Nt(){return new u.buA(3012,!1)}()),Ot&&m.errors.push(function vt(){return new u.buA(3200,!1)}());const un=A.steps.length;let Un=0;ve>0&&ve<un?m.errors.push(function $e(){return new u.buA(3202,!1)}()):0==ve&&(Un=1/(un-1));const Fn=un-1,Hn=m.currentTime,qn=m.currentAnimateTimings,lr=qn.duration;
3return fn.forEach((Cr,Gr)=>{const mo=Un>0?Gr==Fn?1:Un*Gr:lt[Gr],br=mo*lr;m.currentTime=Hn+qn.delay+br,qn.duration=br,this._validateStyleAst(Cr,m),Cr.offset=mo,S.styles.push(Cr)}),S}visitReference(A,m){return{type:ze.If.Reference,animation:Re(this,Zi(A.animation),m),options:so(A.options)}}visitAnimateChild(A,m){return m.depCount++,{type:ze.If.AnimateChild,options:so(A.options)}}visitAnimateRef(A,m){return{type:ze.If.AnimateRef,animation:this.visitReference(A.animation,m),options:so(A.options)}}visitQuery(A,m){const S=m.currentQuerySelector,B=A.options||{};m.queryCount++,m.currentQuery=A;const[ve,lt]=function qr(k){const A=!!k.split(/\s*,\s*/).find(m=>":self"==m);return A&&(k=k.replace(Ao,"")),k=k.replace(/@\*/g,Bn).replace(/@\w+/g,m=>Bn+"-"+m.slice(1)).replace(/:animating/g,Ii),[k,A]}(A.selector);m.currentQuerySelector=S.length?S+" "+ve:ve,Tt(m.collectedStyles,m.currentQuerySelector,new Map);const Ot=Re(this,Zi(A.animation),m);return m.currentQuery=null,m.currentQuerySelector=S,{type:ze.If.Query,selector:ve,limit:B.limit||0,optional:!!B.optional,includeSelf:lt,animation:Ot,originalSelector:A.selector,options:so(A.options)}}visitStagger(A,m){m.currentQuery||m.errors.push(function ht(){return new u.buA(3013,!1)}());const S="full"===A.timings?{duration:0,delay:0,easing:"full"}:or(A.timings,m.errors,!0);return{type:ze.If.Stagger,animation:Re(this,Zi(A.animation),m),timings:S,options:null}}}class Uo{errors;queryCount=0;depCount=0;currentTransition=null;currentQuery=null;currentQuerySelector=null;currentAnimateTimings=null;currentTime=0;collectedStyles=new Map;options=null;unsupportedCSSPropertiesFound=new Set;constructor(A){this.errors=A}}function so(k){return k?(k={...k}).params&&(k.params=function Eo(k){return k?{...k}:null}(k.params)):k={},k}function Go(k,A,m){return{duration:k,delay:A,easing:m}}function Oo(k,A,m,S,B,ve,lt=null,Ot=!1){return{type:1,element:k,keyframes:A,preStyleProps:m,postStyleProps:S,duration:B,delay:ve,totalTime:B+ve,easing:lt,subTimeline:Ot}}class Nr{_map=new Map;get(A){return this._map.get(A)||[]}append(A,m){let S=this._map.get(A);S||this._map.set(A,S=[]),S.push(...m)}has(A){return this._map.has(A)}clear(){this._map.clear()}}const ge=new RegExp(":enter","g"),gt=new RegExp(":leave","g");function Vt(k,A,m,S,B,ve=new Map,lt=new Map,Ot,Ft,Kt=[]){return(new Zt).buildKeyframes(k,A,m,S,B,ve,lt,Ot,Ft,Kt)}class Zt{buildKeyframes(A,m,S,B,ve,lt,Ot,Ft,Kt,fn=[]){Kt=Kt||new Nr;const un=new En(A,m,Kt,B,ve,fn,[]);un.options=Ft;const Un=Ft.delay?zn(Ft.delay):0;un.currentTimeline.delayNextStep(Un),un.currentTimeline.setStyles([lt],null,un.errors,Ft),Re(this,S,un);const Fn=un.timelines.filter(Hn=>Hn.containsAnimation());if(Fn.length&&Ot.size){let Hn;for(let qn=Fn.length-1;qn>=0;qn--){const lr=Fn[qn];if(lr.element===m){Hn=lr;break}}Hn&&!Hn.allowOnlyTimelineStyles()&&Hn.setStyles([Ot],null,un.errors,Ft)}return Fn.length?Fn.map(Hn=>Hn.buildKeyframes()):[Oo(m,[],[],[],0,Un,"",!1)]}visitTrigger(A,m){}visitState(A,m){}visitTransition(A,m){}visitAnimateChild(A,m){const S=m.subInstructions.get(m.element);if(S){const B=m.createSubContext(A.options),ve=m.currentTimeline.currentTime,lt=this._visitSubInstructions(S,B,B.options);ve!=lt&&m.transformIntoNewTimeline(lt)}m.previousNode=A}visitAnimateRef(A,m){const S=m.createSubContext(A.options);S.transformIntoNewTimeline(),this._applyAnimationRefDelays([A.options,A.animation.options],m,S),this.visitReference(A.animation,S),m.transformIntoNewTimeline(S.currentTimeline.currentTime),m.previousNode=A}_applyAnimationRefDelays(A,m,S){for(const B of A){const ve=B?.delay;if(ve){const lt="number"==typeof ve?ve:zn(Ir(ve,B?.params??{},m.errors));S.delayNextStep(lt)}}}_visitSubInstructions(A,m,S){let ve=m.currentTimeline.currentTime;const lt=null!=S.duration?zn(S.duration):null,Ot=null!=S.delay?zn(S.delay):null;return 0!==lt&&A.forEach(Ft=>{const Kt=m.appendInstructionToTimeline(Ft,lt,Ot);ve=Math.max(ve,Kt.duration+Kt.delay)}),ve}visitReference(A,m){m.updateOptions(A.options,!0),Re(this,A.animation,m),m.previousNode=A}visitSequence(A,m){const S=m.subContextCount;let B=m;const ve=A.options;if(ve&&(ve.params||ve.delay)&&(B=m.createSubContext(ve),B.transformIntoNewTimeline(),null!=ve.delay)){B.previousNode.type==ze.If.Style&&(B.currentTimeline.snapshotCurrentStyles(),B.previousNode=an);const lt=zn(ve.delay);B.delayNextStep(lt)}A.steps.length&&(A.steps.forEach(lt=>Re(this,lt,B)),B.currentTimeline.applyStylesToKeyframe(),B.subContextCount>S&&B.transformIntoNewTimeline()),m.previousNode=A}visitGroup(A,m){const S=[];let B=m.currentTimeline.currentTime;const ve=A.options&&A.options.delay?zn(A.options.delay):0;A.steps.forEach(lt=>{const Ot=m.createSubContext(A.options);ve&&Ot.delayNextStep(ve),Re(this,lt,Ot),B=Math.max(B,Ot.currentTimeline.currentTime),S.push(Ot.currentTimeline)}
3),S.forEach(lt=>m.currentTimeline.mergeTimelineCollectedStyles(lt)),m.transformIntoNewTimeline(B),m.previousNode=A}_visitTiming(A,m){if(A.dynamic){const S=A.strValue;return or(m.params?Ir(S,m.params,m.errors):S,m.errors)}return{duration:A.duration,delay:A.delay,easing:A.easing}}visitAnimate(A,m){const S=m.currentAnimateTimings=this._visitTiming(A.timings,m),B=m.currentTimeline;S.delay&&(m.incrementTime(S.delay),B.snapshotCurrentStyles());const ve=A.style;ve.type==ze.If.Keyframes?this.visitKeyframes(ve,m):(m.incrementTime(S.duration),this.visitStyle(ve,m),B.applyStylesToKeyframe()),m.currentAnimateTimings=null,m.previousNode=A}visitStyle(A,m){const S=m.currentTimeline,B=m.currentAnimateTimings;!B&&S.hasCurrentStyleProperties()&&S.forwardFrame();const ve=B&&B.easing||A.easing;A.isEmptyStep?S.applyEmptyStep(ve):S.setStyles(A.styles,ve,m.errors,m.options),m.previousNode=A}visitKeyframes(A,m){const S=m.currentAnimateTimings,B=m.currentTimeline.duration,ve=S.duration,Ot=m.createSubContext().currentTimeline;Ot.easing=S.easing,A.styles.forEach(Ft=>{Ot.forwardTime((Ft.offset||0)*ve),Ot.setStyles(Ft.styles,Ft.easing,m.errors,m.options),Ot.applyStylesToKeyframe()}),m.currentTimeline.mergeTimelineCollectedStyles(Ot),m.transformIntoNewTimeline(
3B+ve),m.previousNode=A}visitQuery(A,m){const S=m.currentTimeline.currentTime,B=A.options||{},ve=B.delay?zn(B.delay):0;ve&&(m.previousNode.type===ze.If.Style||0==S&&m.currentTimeline.hasCurrentStyleProperties())&&(m.currentTimeline.snapshotCurrentStyles(),m.previousNode=an);let lt=S;const Ot=m.invokeQuery(A.selector,A.originalSelector,A.limit,A.includeSelf,!!B.optional,m.errors);m.currentQueryTotal=Ot.length;let Ft=null;Ot.forEach((Kt,fn)=>{m.currentQueryIndex=fn;const un=m.createSubContext(A.options,Kt);ve&&un.delayNextStep(ve),Kt===m.element&&(Ft=un.currentTimeline),Re(this,A.animation,un),un.currentTimeline.applyStylesToKeyframe(),lt=Math.max(lt,un.currentTimeline.currentTime)}),m.currentQueryIndex=0,m.currentQueryTotal=0,m.transformIntoNewTimeline(lt),Ft&&(m.currentTimeline.mergeTimelineCollectedStyles(Ft),m.currentTimeline.snapshotCurrentStyles()),m.previousNode=A}visitStagger(A,m){const S=m.parentContext,B=m.currentTimeline,ve=A.timings,lt=Math.abs(ve.duration),Ot=lt*(m.currentQueryTotal-1);let Ft=lt*m.currentQueryIndex;switch(ve.duration<0?"reverse":ve.easing){case"reverse":Ft=Ot-Ft;break;case"full":Ft=S.currentStaggerTime}const fn=m.currentTimeline;Ft&&fn.delayNextStep(Ft);const un=fn.currentTime;Re(this,A.animation,m),m.previousNode=A,S.currentStaggerTime=B.currentTime-un+(B.startTime-S.currentTimeline.startTime)}}const an={};class En{_driver;element;subInstructions;_enterClassName;_leaveClassName;errors;timelines;parentContext=null;currentTimeline;currentAnimateTimings=null;previousNode=an;subContextCount=0;options={};currentQueryIndex=0;currentQueryTotal=0;currentStaggerTime=0;constructor(A,m,S,B,ve,lt,Ot,Ft){this._driver=A,this.element=m,this.subInstructions=S,this._enterClassName=B,this._leaveClassName=ve,this.errors=lt,this.timelines=Ot,this.currentTimeline=Ft||new Mn(this._driver,m,0),Ot.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(A,m){if(!A)return;const S=A;let B=this.options;null!=S.duration&&(B.duration=zn(S.duration)),null!=S.delay&&(B.delay=zn(S.delay));const ve=S.params;if(ve){let lt=B.params;lt||(lt=this.options.params={}),Object.keys(ve).forEach(Ot=>{(!m||!lt.hasOwnProperty(Ot))&&(lt[Ot]=Ir(ve[Ot],lt,this.errors))})}}_copyOptions(){const A={};if(this.options){const m=this.options.params;if(m){const S=A.params={};Object.keys(m).forEach(B=>{S[B]=m[B]})}}return A}createSubContext(A=null,m,S){const B=m||this.element,ve=new En(this._driver,B,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(B,S||0));return ve.previousNode=this.previousNode,ve.currentAnimateTimings=this.currentAnimateTimings,ve.options=this._copyOptions(),ve.updateOptions(A),ve.currentQueryIndex=this.currentQueryIndex,ve.currentQueryTotal=this.currentQueryTotal,ve.parentContext=this,this.subContextCount++,ve}transformIntoNewTimeline(A){return this.previousNode=an,this.currentTimeline=this.currentTimeline.fork(this.element,A),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(A,m,S){const B={duration:m??A.duration,delay:this.currentTimeline.currentTime+(S??0)+A.delay,easing:""},ve=new xn(this._driver,A.element,A.keyframes,A.preStyleProps,A.postStyleProps,B,A.stretchStartingKeyframe);return this.timelines.push(ve),B}incrementTime(A){this.currentTimeline.forwardTime(this.currentTimeline.duration+A)}delayNextStep(A){A>0&&this.currentTimeline.delayNextStep(A)}invokeQuery(A,m,S,B,ve,lt){let Ot=[];if(B&&Ot.push(this.element),A.length>0){A=(A=A.replace(ge,"."+this._enterClassName)).replace(gt,"."+this._leaveClassName);let Kt=this._driver.query(this.element,A,1!=S);0!==S&&(Kt=S<0?Kt.slice(Kt.length+S,Kt.length):Kt.slice(0,S)),Ot.push(...Kt)}return!ve&&0==Ot.length&<.push(function Ae(){return new u.buA(3014,!1)}()),Ot}}class Mn{_driver;element;startTime;_elementTimelineStylesLookup;duration=0;easing=null;_previousKeyframe=new Map;_currentKeyframe=new Map;_keyframes=new Map;_styleSummary=new Map;_localTimelineStyles=new Map;_globalTimelineStyles;_pendingStyles=new Map;_backFill=new Map;_currentEmptyStepKeyframe=null;constructor(A,m,S,B){this._driver=A,this.element=m,this.startTime=S,this._elementTimelineStylesLookup=B,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(m),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(m,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}
3hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(A){const m=1===this._keyframes.size&&this._pendingStyles.size;this.duration||m?(this.forwardTime(this.currentTime+A),m&&this.snapshotCurrentStyles()):this.startTime+=A}fork(A,m){return this.applyStylesToKeyframe(),new Mn(this._driver,A,m||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(A){this.applyStylesToKeyframe(),this.duration=A,this._loadKeyframe()}_updateStyle(A,m){this._localTimelineStyles.set(A,m),this._globalTimelineStyles.set(A,m),this._styleSummary.set(A,{time:this.currentTime,value:m})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(A){A&&this._previousKeyframe.set("easing",A);for(let[m,S]of this._globalTimelineStyles)this._backFill.set(m,S||ze.kp),this._currentKeyframe.set(m,ze.kp);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(A,m,S,B){m&&this._previousKeyframe.set("easing",m);const ve=B&&B.params||{},lt=function Xn(k,A){const m=new Map;let S;return k.forEach(B=>{if("*"===B){S??=A.keys();for(let ve of S)m.set(ve,ze.kp)}else for(let[ve,lt]of B)m.set(ve,lt)}),m}(A,this._globalTimelineStyles);for(let[Ot,Ft]of lt){const Kt=Ir(Ft,ve,S);this._pendingStyles.set(Ot,Kt),this._localTimelineStyles.has(Ot)||this._backFill.set(Ot,this._globalTimelineStyles.get(Ot)??ze.kp),this._updateStyle(Ot,Kt)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((A,m)=>{this._currentKeyframe.set(m,A)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((A,m)=>{this._currentKeyframe.has(m)||this._currentKeyframe.set(m,A)}))}snapshotCurrentStyles(){for(let[A,m]of this._localTimelineStyles)this._pendingStyles.set(A,m),this._updateStyle(A,m)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const A=[];for(let m in this._currentKeyframe)A.push(m);return A}
3mergeTimelineCollectedStyles(A){A._styleSummary.forEach((m,S)=>{const B=this._styleSummary.get(S);(!B||m.time>B.time)&&this._updateStyle(S,m.value)})}buildKeyframes(){this.applyStylesToKeyframe();const A=new Set,m=new Set,S=1===this._keyframes.size&&0===this.duration;let B=[];this._keyframes.forEach((Ot,Ft)=>{const Kt=new Map([...this._backFill,...Ot]);Kt.forEach((fn,un)=>{fn===ze.FX?A.add(un):fn===ze.kp&&m.add(un)}),S||Kt.set("offset",Ft/this.duration),B.push(Kt)});const ve=[...A.values()],lt=[...m.values()];if(S){const Ot=B[0],Ft=new Map(Ot);Ot.set("offset",0),Ft.set("offset",1),B=[Ot,Ft]}return Oo(this.element,B,ve,lt,this.duration,this.startTime,this.easing,!1)}}class xn extends Mn{keyframes;preStyleProps;postStyleProps;_stretchStartingKeyframe;timings;constructor(A,m,S,B,ve,lt,Ot=!1){super(A,m,lt.delay),this.keyframes=S,this.preStyleProps=B,this.postStyleProps=ve,this._stretchStartingKeyframe=Ot,this.timings={duration:lt.duration,delay:lt.delay,easing:lt.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let A=this.keyframes,{delay:m,duration:S,easing:B}=this.timings;if(this._stretchStartingKeyframe&&m){const ve=[],lt=S+m,Ot=m/lt,Ft=new Map(A[0]);Ft.set("offset",0),ve.push(Ft);const Kt=new Map(A[0]);Kt.set("offset",ci(Ot)),ve.push(Kt);const fn=A.length-1;for(let un=1;un<=fn;un++){let Un=new Map(A[un]);const Fn=Un.get("offset");Un.set("offset",ci((m+Fn*S)/lt)),ve.push(Un)}S=lt,m=0,B="",A=ve}return Oo(this.element,A,this.preStyleProps,this.postStyleProps,S,m,B,!0)}}function ci(k,A=3){const m=Math.pow(10,A-1);return Math.round(k*m)/m}function Gi(k,A,m,S,B,ve,lt,Ot,Ft,Kt,fn,un,Un){return{type:0,element:k,triggerName:A,isRemovalTransition:B,fromState:m,fromStyles:ve,toState:S,toStyles:lt,timelines:Ot,queriedElements:Ft,preStyleProps:Kt,postStyleProps:fn,totalTime:un,errors:Un}}const zi={};class ur{_triggerName;ast;_stateStyles;constructor(A,m,S){this._triggerName=A,this.ast=m,this._stateStyles=S}match(A,m,S,B){return function rr(k,A,m,S,B){return k.some(ve=>ve(A,m,S,B))}(this.ast.matchers,A,m,S,B)}buildStyles(A,m,S){let B=this._stateStyles.get("*");return void 0!==A&&(B=this._stateStyles.get(A?.toString())||B),B?B.buildStyles(m,S):new Map}build(A,m,S,B,ve,lt,Ot,Ft,Kt,fn){const un=[],Un=this.ast.options&&this.ast.options.params||zi,Hn=this.buildStyles(S,Ot&&Ot.params||zi,un),qn=Ft&&Ft.params||zi,lr=this.buildStyles(B,qn,un),Cr=new Set,Gr=new Map,mo=new Map,br="void"===B,Es={params:kr(qn,Un),delay:this.ast.options?.delay},Bo=fn?[]:Vt(A,m,this.ast.animation,ve,lt,Hn,lr,Es,Kt,un);let bo=0;return Bo.forEach(yo=>{bo=Math.max(yo.duration+yo.delay,bo)}),un.length?Gi(m,this._triggerName,S,B,br,Hn,lr,[],[],Gr,mo,bo,un):(Bo.forEach(yo=>{const io=yo.element,ca=Tt(Gr,io,new Set);yo.preStyleProps.forEach(da=>ca.add(da));const Sl=Tt(mo,io,new Set);yo.postStyleProps.forEach(da=>Sl.add(da)),io!==m&&Cr.add(io)}),Gi(m,this._triggerName,S,B,br,Hn,lr,Bo,[...Cr.values()],Gr,mo,bo))}}function kr(k,A){const m={...A};return Object.entries(k).forEach(([S,B])=>{null!=B&&(m[S]=B)}),m}class _r{styles;defaultParams;normalizer;constructor(A,m,S){this.styles=A,this.defaultParams=m,this.normalizer=S}buildStyles(A,m){const S=new Map,B=kr(A,this.defaultParams);return this.styles.styles.forEach(ve=>{"string"!=typeof ve&&ve.forEach((lt,Ot)=>{lt&&(lt=Ir(lt,B,m));const Ft=this.normalizer.normalizePropertyName(Ot,m);lt=this.normalizer.normalizeStyleValue(Ot,Ft,lt,m),S.set(Ot,lt)})}),S}}class as{name;ast;_normalizer;transitionFactories=[];fallbackTransition;states=new Map;constructor(A,m,S){this.name=A,this.ast=m,this._normalizer=S,m.states.forEach(B=>{this.states.set(B.name,new _r(B.style,B.options&&B.options.params||{},S))}),Po(this.states,"true","1"),Po(this.states,"false","0"),m.transitions.forEach(B=>{this.transitionFactories.push(new ur(A,B,this.states))}),this.fallbackTransition=function To(k,A){return new ur(k,{type:ze.If.Transition,animation:{type:ze.If.Sequence,steps:[],options:null},matchers:[(lt,Ot)=>!0],options:null,queryCount:0,depCount:0},A)}(A,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(A,m,S,B){return this.transitionFactories.find(lt=>lt.match(A,m,S,B))||null}matchStyles(A,m,S){return this.fallbackTransition.buildStyles(A,m,S)}}function Po(k,A,m){k.has(A)?k.has(m)||k.set(m,k.get(A)):k.has(m)&&k.set(A,k.get(m))}const Vr=new Nr;class ls{bodyNode;_driver;_normalizer;_animations=new Map;_playersById=new Map;players=[];constructor(A,m,S){this.bodyNode=A,this._driver=m,this._normalizer=S}register(A,m){const S=[],ve=So(this._driver,m,S,[]);if(S.length)throw function Sn(){return new u.buA(3503,!1)}();this._animations.set(A,ve)}_buildPlayer(A,m,S){const B=A.element,ve=ke(this._normalizer,A.keyframes,m,S);return this._driver.animate(B,ve,A.duration,A.delay,A.easing,[],!0)}create(A,m,S={}){const B=[],ve=this._animations.get(A);let lt;const Ot=new Map;if(ve?(lt=Vt(this._driver,m,ve,oi,Fi,new Map,new Map,S,Vr,B),lt.forEach(fn=>{const un=Tt(Ot,fn.element,new Map);fn.postStyleProps.forEach(Un=>un.set(Un,null))})):(B.push(function ni(){return new u.buA(3300,!1)}()),lt=[]),B.length)throw function wi(){return new u.buA(3504,!1)}();Ot.forEach((fn,un)=>
3{fn.forEach((Un,Fn)=>{fn.set(Fn,this._driver.computeStyle(un,Fn,ze.kp))})});const Kt=_e(lt.map(fn=>{const un=Ot.get(fn.element);return this._buildPlayer(fn,new Map,un)}));return this._playersById.set(A,Kt),Kt.onDestroy(()=>this.destroy(A)),this.players.push(Kt),Kt}destroy(A){const m=this._getPlayer(A);m.destroy(),this._playersById.delete(A);const S=this.players.indexOf(m);S>=0&&this.players.splice(S,1)}_getPlayer(A){const m=this._playersById.get(A);if(!m)throw function vi(){return new u.buA(3301,!1)}();return m}listen(A,m,S,B){const ve=Je(m,"","","");return _t(this._getPlayer(A),S,ve,B),()=>{}}command(A,m,S,B){if("register"==S)return void this.register(A,B[0]);if("create"==S)return void this.create(A,m,B[0]||{});const ve=this._getPlayer(A);switch(S){case"play":ve.play();break;case"pause":ve.pause();break;case"reset":ve.reset();break;case"restart":ve.restart();break;case"finish":ve.finish();break;case"init":ve.init();break;case"setPosition":ve.setPosition(parseFloat(B[0]));break;case"destroy":this.destroy(A)}}}const pa="ng-animate-queued",cs="ng-animate-disabled",Zo=[],Jo={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},fe={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Ee="__ng_removed";class Q{namespaceId;value;options;get params(){return this.options.params}constructor(A,m=""){this.namespaceId=m;const S=A&&A.hasOwnProperty("value");if(this.value=function ws(k){return k??null}(S?A.value:A),S){const{value:ve,...lt}=A;this.options=lt}else this.options={};this.options.params||(this.options.params={})}absorbOptions(A){const m=A.params;if(m){const S=this.options.params;Object.keys(m).forEach(B=>{null==S[B]&&(S[B]=m[B])})}}}const We="void",Dt=new Q(We);class In{id;hostElement;_engine;players=[];_triggers=new Map;_queue=[];_elementListeners=new Map;_hostClassName;constructor(A,m,S){this.id=A,this.hostElement=m,this._engine=S,this._hostClassName="ng-tns-"
3+A,zr(m,this._hostClassName)}listen(A,m,S,B){if(!this._triggers.has(m))throw function Ai(){return new u.buA(3302,!1)}();if(null==S||0==S.length)throw function Hi(){return new u.buA(3303,!1)}();if(!function ma(k){return"start"==k||"done"==k}(S))throw function tr(){return new u.buA(3400,!1)}();const ve=Tt(this._elementListeners,A,[]),lt={name:m,phase:S,callback:B};ve.push(lt);const Ot=Tt(this._engine.statesByElement,A,new Map);return Ot.has(m)||(zr(A,Kn),zr(A,Kn+"-"+m),Ot.set(m,Dt)),()=>{this._engine.afterFlush(()=>{const Ft=ve.indexOf(lt);Ft>=0&&ve.splice(Ft,1),this._triggers.has(m)||Ot.delete(m)})}}register(A,m){return!this._triggers.has(A)&&(this._triggers.set(A,m),!0)}_getTrigger(A){const m=this._triggers.get(A);if(!m)throw function Yi(){return new u.buA(3401,!1)}();return m}trigger(A,m,S,B=!0){const ve=this._getTrigger(m),lt=new wr(this.id,m,A);let Ot=this._engine.statesByElement.get(A);Ot||(zr(A,Kn),zr(A,Kn+"-"+m),this._engine.statesByElement.set(A,Ot=new Map));let Ft=Ot.get(m);const Kt=new Q(S,this.id);if(!(S&&S.hasOwnProperty("value"))&&Ft&&Kt.absorbOptions(Ft.options),Ot.set(m,Kt),Ft||(Ft=Dt),Kt.value!==We&&Ft.value===Kt.value){if(!function za(k,A){const m=Object.keys(k),S=Object.keys(A);if(m.length!=S.length)return!1;for(let B=0;B<m.length;B++){const ve=m[B];if(!A.hasOwnProperty(ve)||k[ve]!==A[ve])return!1}return!0}(Ft.params,Kt.params)){const qn=[],lr=ve.matchStyles(Ft.value,Ft.params,qn),Cr=ve.matchStyles(Kt.value,Kt.params,qn);qn.length?this._engine.reportError(qn):this._engine.afterFlush(()=>{gi(A,lr),ki(A,Cr)})}return}const Un=Tt(this._engine.playersByElement,A,[]);Un.forEach(qn=>{qn.namespaceId==this.id&&qn.triggerName==m&&qn.queued&&qn.destroy()});let Fn=ve.matchTransition(Ft.value,Kt.value,A,Kt.params),Hn=!1;if(!Fn){if(!B)return;Fn=ve.fallbackTransition,Hn=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:A,triggerName:m,transition:Fn,fromState:Ft,toState:Kt,player:lt,isFallbackTransition:Hn}),Hn||(zr(A,pa),lt.onStart(()=>{Ko(A,pa)})),lt.onDone(()=>{let qn=this.players.indexOf(lt);qn>=0&&this.players.splice(qn,1);const lr=this._engine.playersByElement.get(A);if(lr){let Cr=lr.indexOf(lt);Cr>=0&&lr.splice(Cr,1)}}),this.players.push(lt),Un.push(lt),lt}deregister(A){this._triggers.delete(A),this._engine.statesByElement.forEach(m=>m.delete(A)),this._elementListeners.forEach((m,S)=>{this._elementListeners.set(S,m.filter(B=>B.name!=A))})}clearElementCache(A){this._engine.statesByElement.delete(A),this._elementListeners.delete(A);const m=this._engine.playersByElement.get(A);m&&(m.forEach(S=>S.destroy()),this._engine.playersByElement.delete(A))}_signalRemovalForInnerTriggers(A,m){const S=this._engine.driver.query(A,Bn,!0);S.forEach(B=>{if(B[Ee])return;const ve=this._engine.fetchNamespacesByElement(B);ve.size?ve.forEach(lt=>lt.triggerLeaveAnimation(B,m,!1,!0)):this.clearElementCache(B)}),this._engine.afterFlushAnimationsDone(()=>S.forEach(B=>this.clearElementCache(B)))}triggerLeaveAnimation(A,m,S,B){const ve=this._engine.statesByElement.get(A),lt=new Map;if(ve){const Ot=[];if(ve.forEach((Ft,Kt)=>{if(lt.set(Kt,Ft.value),this._triggers.has(Kt)){const fn=this.trigger(A,Kt,We,B);fn&&Ot.push(fn)}}),Ot.length)return this._engine.markElementAsRemoved(this.id,A,!0,m,lt),S&&_e(Ot).onDone(()=>this._engine.processLeaveNode(A)),!0}return!1}prepareLeaveAnimationListeners(A){const m=this._elementListeners.get(A),S=this._engine.statesByElement.get(A);if(m&&S){const B=new Set;m.forEach(ve=>{const lt=ve.name;if(B.has(lt))return;B.add(lt);const Ft=this._triggers.get(lt).fallbackTransition,Kt=S.get(lt)||Dt,fn=new Q(We),un=new wr(this.id,lt,A);this._engine.totalQueuedPlayers++,this._queue.push({element:A,triggerName:lt,transition:Ft,fromState:Kt,toState:fn,player:un,isFallbackTransition:!0})})}}removeNode(A,m){const S=this._engine;if(A.childElementCount&&this._signalRemovalForInnerTriggers(A,m),this.triggerLeaveAnimation(A,m,!0))return;let B=!1;if(S.totalAnimations){const ve=S.players.length?S.playersByQueriedElement.get(A):[];if(ve&&ve.length)B=!0;else{let lt=A;for(;lt=lt.parentNode;)if(S.statesByElement.get(lt)){B=!0;break}}}if(this.prepareLeaveAnimationListeners(A),B)S.markElementAsRemoved(this.id,A,!1,m);else{const ve=A[Ee];(!ve||ve===Jo)&&(S.afterFlush(()=>this.clearElementCache(A)),S.destroyInnerAnimations(A),S._onRemovalComplete(A,m))}}insertNode(A,m){zr(A,this._hostClassName)}drainQueuedTransitions(A){const m=[];return this._queue.forEach(S=>{const B=S.player;if(B.destroyed)return;const ve=S.element,lt=this._elementListeners.get(ve);lt&<.forEach(Ot=>{if(Ot.name==S.triggerName){const Ft=Je(ve,S.triggerName,S.fromState.value,S.toState.value);Ft._data=A,_t(S.player,Ot.phase,Ft,Ot.callback)}}),B.markedForDestroy?this._engine.afterFlush(()=>{B.destroy()}):m.push(S)}),this._queue=[],m.sort((S,B)=>{const ve=S.transition.ast.depCount,lt=B.transition.ast.depCount;return 0==ve||0==lt?ve-lt:this._engine.driver.containsElement(S.element,B.element)?1:-1})}
3destroy(A){this.players.forEach(m=>m.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,A)}}class fi{bodyNode;driver;_normalizer;players=[];newHostElements=new Map;playersByElement=new Map;playersByQueriedElement=new Map;statesByElement=new Map;disabledNodes=new Set;totalAnimations=0;totalQueuedPlayers=0;_namespaceLookup={};_namespaceList=[];_flushFns=[];_whenQuietFns=[];namespacesByHostElement=new Map;collectedEnterElements=[];collectedLeaveElements=[];onRemovalComplete=(A,m)=>{};_onRemovalComplete(A,m){this.onRemovalComplete(A,m)}constructor(A,m,S){this.bodyNode=A,this.driver=m,this._normalizer=S}get queuedPlayers(){const A=[];return this._namespaceList.forEach(m=>{m.players.forEach(S=>{S.queued&&A.push(S)})}),A}createNamespace(A,m){const S=new In(A,m,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,m)?this._balanceNamespaceList(S,m):(this.newHostElements.set(m,S),this.collectEnterElement(m)),this._namespaceLookup[A]=S}_balanceNamespaceList(A,m){const S=this._namespaceList,B=this.namespacesByHostElement;if(S.length-1>=0){let lt=!1,Ot=this.driver.getParentElement(m);for(;Ot;){const Ft=B.get(Ot);if(Ft){const Kt=S.indexOf(Ft);S.splice(Kt+1,0,A),lt=!0;break}Ot=this.driver.getParentElement(Ot)}lt||S.unshift(A)}else S.push(A);return B.set(m,A),A}register(A,m){let S=this._namespaceLookup[A];return S||(S=this.createNamespace(A,m)),S}registerTrigger(A,m,S){let B=this._namespaceLookup[A];B&&B.register(m,S)&&this.totalAnimations++}destroy(A,m){A&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{const S=this._fetchNamespace(A);this.namespacesByHostElement.delete(S.hostElement);const B=this._namespaceList.indexOf(S);B>=0&&this._namespaceList.splice(B,1),S.destroy(m),delete this._namespaceLookup[A]}))}_fetchNamespace(A){return this._namespaceLookup[A]}fetchNamespacesByElement(A){const m=new Set,S=this.statesByElement.get(A);if(S)for(let B of S.values())if(B.namespaceId){const ve=this._fetchNamespace(B.namespaceId);ve&&m.add(ve)}return m}trigger(A,m,S,B){if(Mo(m)){const ve=this._fetchNamespace(A);if(ve)return ve.trigger(m,S,B),!0}return!1}insertNode(A,m,S,B){if(!Mo(m))return;const ve=m[Ee];if(ve&&ve.setForRemoval){ve.setForRemoval=!1,ve.setForMove=!0;const lt=this.collectedLeaveElements.indexOf(m);lt>=0&&this.collectedLeaveElements.splice(lt,1)}if(A){const lt=this._fetchNamespace(A);
3lt&<.insertNode(m,S)}B&&this.collectEnterElement(m)}collectEnterElement(A){this.collectedEnterElements.push(A)}markElementAsDisabled(A,m){m?this.disabledNodes.has(A)||(this.disabledNodes.add(A),zr(A,cs)):this.disabledNodes.has(A)&&(this.disabledNodes.delete(A),Ko(A,cs))}removeNode(A,m,S){if(Mo(m)){const B=A?this._fetchNamespace(A):null;B?B.removeNode(m,S):this.markElementAsRemoved(A,m,!1,S);const ve=this.namespacesByHostElement.get(m);ve&&ve.id!==A&&ve.removeNode(m,S)}else this._onRemovalComplete(m,S)}markElementAsRemoved(A,m,S,B,ve){this.collectedLeaveElements.push(m),m[Ee]={namespaceId:A,setForRemoval:B,hasAnimation:S,removedBeforeQueried:!1,previousTriggersValues:ve}}listen(A,m,S,B,ve){return Mo(m)?this._fetchNamespace(A).listen(m,S,B,ve):()=>{}}_buildInstruction(A,m,S,B,ve){return A.transition.build(this.driver,A.element,A.fromState.value,A.toState.value,S,B,A.fromState.options,A.toState.options,m,ve)}destroyInnerAnimations(A){let m=this.driver.query(A,Bn,!0);m.forEach(S=>this.destroyActiveAnimationsForElement(S)),0!=this.playersByQueriedElement.size&&(m=this.driver.query(A,Ii,!0),m.forEach(S=>this.finishActiveQueriedAnimationOnElement(S)))}destroyActiveAnimationsForElement(A){const m=this.playersByElement.get(A);m&&m.forEach(S=>{S.queued?S.markedForDestroy=!0:S.destroy()})}finishActiveQueriedAnimationOnElement(A){const m=this.playersByQueriedElement.get(A);m&&m.forEach(S=>S.finish())}whenRenderingDone(){return new Promise(A=>{if(this.players.length)return _e(this.players).onDone(()=>A());A()})}processLeaveNode(A){const m=A[Ee];if(m&&m.setForRemoval){if(A[Ee]=Jo,m.namespaceId){this.destroyInnerAnimations(A);const S=this._fetchNamespace(m.namespaceId);S&&S.clearElementCache(A)}this._onRemovalComplete(A,m.setForRemoval)}A.classList?.contains(cs)&&this.markElementAsDisabled(A,!1),this.driver.query(A,".ng-animate-disabled",!0).forEach(S=>{this.markElementAsDisabled(S,!1)})}flush(A=-1){let m=[];if(this.newHostElements.size&&(this.newHostElements.forEach((S,B)=>this._balanceNamespaceList(S,B)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let S=0;S<this.collectedEnterElements.length;S++)zr(this.collectedEnterElements[S],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const S=[];try{m=this._flushAnimations(S,A)}finally{for(let B=0;B<S.length;B++)S[B]()}}else for(let S=0;S<this.collectedLeaveElements.length;S++)this.processLeaveNode(this.collectedLeaveElements[S]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(S=>S()),this._flushFns=[],this._whenQuietFns.length){const S=this._whenQuietFns;this._whenQuietFns=[],m.length?_e(m).onDone(()=>{S.forEach(B=>B())}):S.forEach(B=>B())}}reportError(A){throw function Qi(){return new u.buA(3402,!1)}()}_flushAnimations(A,m){const S=new Nr,B=[],ve=new Map,lt=[],Ot=new Map,Ft=new Map,Kt=new Map,fn=new Set;this.disabledNodes.forEach(Ln=>{fn.add(Ln);const Vn=this.driver.query(Ln,".ng-animate-queued",!0);for(let ei=0;ei<Vn.length;ei++)fn.add(Vn[ei])});const un=this.bodyNode,Un=Array.from(this.statesByElement.keys()),Fn=xs(Un,this.collectedEnterElements),Hn=new Map;let qn=0;Fn.forEach((Ln,Vn)=>{const ei=oi+qn++;Hn.set(Vn,ei),Ln.forEach(Ni=>zr(Ni,ei))});const lr=[],Cr=new Set,Gr=new Set;for(let Ln=0;Ln<this.collectedLeaveElements.length;Ln++){const Vn=this.collectedLeaveElements[Ln],ei=Vn[Ee];ei&&ei.setForRemoval&&(lr.push(Vn),Cr.add(Vn),ei.hasAnimation?this.driver.query(Vn,".ng-star-inserted",!0).forEach(Ni=>Cr.add(Ni)):Gr.add(Vn))}const mo=new Map,br=xs(Un,Array.from(Cr));br.forEach((Ln,Vn)=>{const ei=Fi+qn++;mo.set(Vn,ei),Ln.forEach(Ni=>zr(Ni,ei))}),A.push(()=>{Fn.forEach((Ln,Vn)=>{const ei=Hn.get(Vn);Ln.forEach(Ni=>Ko(Ni,ei))}),br.forEach((Ln,Vn)=>{const ei=mo.get(Vn);Ln.forEach(Ni=>Ko(Ni,ei))}),lr.forEach(Ln=>{this.processLeaveNode(Ln)})});const Es=[],Bo=[];for(let Ln=this._namespaceList.length-1;Ln>=0;Ln--)this._namespaceList[Ln].drainQueuedTransitions(m).forEach(ei=>{const Ni=ei.player,gr=ei.element;
3if(Es.push(Ni),this.collectedEnterElements.length){const Sr=gr[Ee];if(Sr&&Sr.setForMove){if(Sr.previousTriggersValues&&Sr.previousTriggersValues.has(ei.triggerName)){const Yo=Sr.previousTriggersValues.get(ei.triggerName),cr=this.statesByElement.get(ei.element);if(cr&&cr.has(ei.triggerName)){const Pl=cr.get(ei.triggerName);Pl.value=Yo,cr.set(ei.triggerName,Pl)}}return void Ni.destroy()}}const Qr=!un||!this.driver.containsElement(un,gr),Wn=mo.get(gr),ns=Hn.get(gr),hr=this._buildInstruction(ei,S,ns,Wn,Qr);if(hr.errors&&hr.errors.length)return void Bo.push(hr);if(Qr)return Ni.onStart(()=>gi(gr,hr.fromStyles)),Ni.onDestroy(()=>ki(gr,hr.toStyles)),void B.push(Ni);if(ei.isFallbackTransition)return Ni.onStart(()=>gi(gr,hr.fromStyles)),Ni.onDestroy(()=>ki(gr,hr.toStyles)),void B.push(Ni);const ua=[];hr.timelines.forEach(Sr=>{Sr.stretchStartingKeyframe=!0,this.disabledNodes.has(Sr.element)||ua.push(Sr)}),hr.timelines=ua,S.append(gr,hr.timelines),lt.push({instruction:hr,player:Ni,element:gr}),hr.queriedElements.forEach(Sr=>Tt(Ot,Sr,[]).push(Ni)),hr.preStyleProps.forEach((Sr,Yo)=>{if(Sr.size){let cr=Ft.get(Yo);cr||Ft.set(Yo,cr=new Set),Sr.forEach((Pl,Il)=>cr.add(Il))}}),hr.postStyleProps.forEach((Sr,Yo)=>{let cr=Kt.get(Yo);cr||Kt.set(Yo,cr=new Set),Sr.forEach((Pl,Il)=>cr.add(Il))})});if(Bo.length){const Ln=[];
3Bo.forEach(Vn=>{Ln.push(function xt(){return new u.buA(3505,!1)}())}),Es.forEach(Vn=>Vn.destroy()),this.reportError(Ln)}const bo=new Map,yo=new Map;lt.forEach(Ln=>{const Vn=Ln.element;S.has(Vn)&&(yo.set(Vn,Vn),this._beforeAnimationBuild(Ln.player.namespaceId,Ln.instruction,bo))}),B.forEach(Ln=>{const Vn=Ln.element;this._getPreviousPlayers(Vn,!1,Ln.namespaceId,Ln.triggerName,null).forEach(Ni=>{Tt(bo,Vn,[]).push(Ni),Ni.destroy()})});const io=lr.filter(Ln=>Xa(Ln,Ft,Kt)),ca=new Map;Wo(ca,this.driver,Gr,Kt,ze.kp).forEach(Ln=>{Xa(Ln,Ft,Kt)&&io.push(Ln)});const da=new Map;Fn.forEach((Ln,Vn)=>{Wo(da,this.driver,new Set(Ln),Ft,ze.FX)}),io.forEach(Ln=>{const Vn=ca.get(Ln),ei=da.get(Ln);ca.set(Ln,new Map([...Vn?.entries()??[],...ei?.entries()??[]]))});const tl=[],Tl=[],lc={};lt.forEach(Ln=>{const{element:Vn,player:ei,instruction:Ni}=Ln;if(S.has(Vn)){if(fn.has(Vn))return ei.onDestroy(()=>ki(Vn,Ni.toStyles)),ei.disabled=!0,ei.overrideTotalTime(Ni.totalTime),void B.push(ei);let gr=lc;if(yo.size>1){let Wn=Vn;const ns=[];for(;Wn=Wn.parentNode;){const hr=yo.get(Wn);if(hr){gr=hr;break}ns.push(Wn)}ns.forEach(hr=>yo.set(hr,gr))}const Qr=this._buildAnimation(ei.namespaceId,Ni,bo,ve,da,ca);if(ei.setRealPlayer(Qr),gr===lc)tl.push(ei);else{const Wn=this.playersByElement.get(gr);Wn&&Wn.length&&(ei.parentPlayer=_e(Wn)),B.push(ei)}}else gi(Vn,Ni.fromStyles),ei.onDestroy(()=>ki(Vn,Ni.toStyles)),Tl.push(ei),fn.has(Vn)&&B.push(ei)}),Tl.forEach(Ln=>{const Vn=ve.get(Ln.element);if(Vn&&Vn.length){const ei=_e(Vn);Ln.setRealPlayer(ei)}}),B.forEach(Ln=>{Ln.parentPlayer?Ln.syncPlayerEvents(Ln.parentPlayer):Ln.destroy()});for(let Ln=0;Ln<lr.length;Ln++){const Vn=lr[Ln],ei=Vn[Ee];
3if(Ko(Vn,Fi),ei&&ei.hasAnimation)continue;let Ni=[];if(Ot.size){let Qr=Ot.get(Vn);Qr&&Qr.length&&Ni.push(...Qr);let Wn=this.driver.query(Vn,Ii,!0);for(let ns=0;ns<Wn.length;ns++){let hr=Ot.get(Wn[ns]);hr&&hr.length&&Ni.push(...hr)}}const gr=Ni.filter(Qr=>!Qr.destroyed);gr.length?ds(this,Vn,gr):this.processLeaveNode(Vn)}return lr.length=0,tl.forEach(Ln=>{this.players.push(Ln),Ln.onDone(()=>{Ln.destroy();const Vn=this.players.indexOf(Ln);this.players.splice(Vn,1)}),Ln.play()}),tl}afterFlush(A){this._flushFns.push(A)}afterFlushAnimationsDone(A){this._whenQuietFns.push(A)}_getPreviousPlayers(A,m,S,B,ve){let lt=[];if(m){const Ot=this.playersByQueriedElement.get(A);Ot&&(lt=Ot)}else{const Ot=this.playersByElement.get(A);if(Ot){const Ft=!ve||ve==We;Ot.forEach(Kt=>{Kt.queued||!Ft&&Kt.triggerName!=B||lt.push(Kt)})}}return(S||B)&&(lt=lt.filter(Ot=>!(S&&S!=Ot.namespaceId||B&&B!=Ot.triggerName))),lt}_beforeAnimationBuild(A,m,S){const ve=m.element,lt=m.isRemovalTransition?void 0:A,Ot=m.isRemovalTransition?void 0:m.triggerName;for(const Ft of m.timelines){const Kt=Ft.element,fn=Kt!==ve,un=Tt(S,Kt,[]);this._getPreviousPlayers(Kt,fn,lt,Ot,m.toState).forEach(Fn=>{const Hn=Fn.getRealPlayer();Hn.beforeDestroy&&Hn.beforeDestroy(),Fn.destroy(),un.push(Fn)})}gi(ve,m.fromStyles)}_buildAnimation(A,m,S,B,ve,lt){const Ot=m.triggerName,Ft=m.element,Kt=[],fn=new Set,un=new Set,Un=m.timelines.map(Hn=>{const qn=Hn.element;fn.add(qn);const lr=qn[Ee];if(lr&&lr.removedBeforeQueried)return new ze.sf(Hn.duration,Hn.delay);const Cr=qn!==Ft,Gr=function ao(k){const A=[];return ys(k,A),A}((S.get(qn)||Zo).map(bo=>bo.getRealPlayer())).filter(bo=>!!bo.element&&bo.element===qn),mo=ve.get(qn),br=lt.get(qn),Es=ke(this._normalizer,Hn.keyframes,mo,br),Bo=this._buildPlayer(Hn,Es,Gr);if(Hn.subTimeline&&B&&un.add(qn),Cr){const bo=new wr(A,Ot,qn);bo.setRealPlayer(Bo),Kt.push(bo)}return Bo});Kt.forEach(Hn=>{Tt(this.playersByQueriedElement,Hn.element,[]).push(Hn),Hn.onDone(()=>function Ls(k,A,m){let S=k.get(A);if(S){if(S.length){const B=S.indexOf(m);S.splice(B,1)}0==S.length&&k.delete(A)}return S}(this.playersByQueriedElement,Hn.element,Hn))}),fn.forEach(Hn=>zr(Hn,Pi));const Fn=_e(Un);return Fn.onDestroy(()=>{fn.forEach(Hn=>Ko(Hn,Pi)),ki(Ft,m.toStyles)}),un.forEach(Hn=>{Tt(B,Hn,[]).push(Fn)}),Fn}_buildPlayer(A,m,S){return m.length>0?this.driver.animate(A.element,m,A.duration,A.delay,A.easing,S):new ze.sf(A.duration,A.delay)}}class wr{namespaceId;triggerName;element;_player=new ze.sf;_containsRealPlayer=!1;_queuedCallbacks=new Map;destroyed=!1;parentPlayer=null;markedForDestroy=!1;disabled=!1;queued=!0;totalTime=0;constructor(A,m,S){this.namespaceId=A,this.triggerName=m,this.element=S}setRealPlayer(A){this._containsRealPlayer||(this._player=A,this._queuedCallbacks.forEach((m,S)=>{m.forEach(B=>_t(A,S,void 0,B))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(A.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(A){this.totalTime=A}syncPlayerEvents(A){const m=this._player;m.triggerCallback&&A.onStart(()=>m.triggerCallback("start")),A.onDone(()=>this.finish()),A.onDestroy(()=>this.destroy())}_queueEvent(A,m){Tt(this._queuedCallbacks,A,[]).push(m)}onDone(A){this.queued&&this._queueEvent("done",A),this._player.onDone(A)}onStart(A){this.queued&&this._queueEvent("start",A),this._player.onStart(A)}onDestroy(A){this.queued&&this._queueEvent("destroy",A),this._player.onDestroy(A)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(A){this.queued||this._player.setPosition(A)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(A){const m=this._player;m.triggerCallback&&m.triggerCallback(A)}}function Mo(k){return k&&1===k.nodeType}function vo(k,A){const m=k.style.display;return k.style.display=A??"none",m}function Wo(k,A,m,S,B){const ve=[];m.forEach(Ft=>ve.push(vo(Ft)));const lt=[];
3S.forEach((Ft,Kt)=>{const fn=new Map;Ft.forEach(un=>{const Un=A.computeStyle(Kt,un,B);fn.set(un,Un),(!Un||0==Un.length)&&(Kt[Ee]=fe,lt.push(Kt))}),k.set(Kt,fn)});let Ot=0;return m.forEach(Ft=>vo(Ft,ve[Ot++])),lt}function xs(k,A){const m=new Map;if(k.forEach(Ot=>m.set(Ot,[])),0==A.length)return m;const B=new Set(A),ve=new Map;function lt(Ot){if(!Ot)return 1;let Ft=ve.get(Ot);if(Ft)return Ft;const Kt=Ot.parentNode;return Ft=m.has(Kt)?Kt:B.has(Kt)?1:lt(Kt),ve.set(Ot,Ft),Ft}return A.forEach(Ot=>{const Ft=lt(Ot);1!==Ft&&m.get(Ft).push(Ot)}),m}function zr(k,A){k.classList?.add(A)}function Ko(k,A){k.classList?.remove(A)}function ds(k,A,m){_e(m).onDone(()=>k.processLeaveNode(A))}function ys(k,A){for(let m=0;m<k.length;m++){const S=k[m];S instanceof ze.PZ?ys(S.players,A):A.push(S)}}function Xa(k,A,m){const S=m.get(k);if(!S)return!1;let B=A.get(k);return B?S.forEach(ve=>B.add(ve)):A.set(k,S),m.delete(k),!0}class Ds{_driver;_normalizer;_transitionEngine;_timelineEngine;_triggerCache={};onRemovalComplete=(A,m)=>{};constructor(A,m,S){this._driver=m,this._normalizer=S,this._transitionEngine=new fi(A.body,m,S),this._timelineEngine=new ls(A.body,m,S),this._transitionEngine.onRemovalComplete=(B,ve)=>this.onRemovalComplete(B,ve)}registerTrigger(A,m,S,B,ve){const lt=A+"-"+B;let Ot=this._triggerCache[lt];if(!Ot){const Ft=[],fn=So(this._driver,ve,Ft,[]);if(Ft.length)throw function hn(){return new u.buA(3404,!1)}();Ot=function jo(k,A,m){return new as(k,A,m)}(B,fn,this._normalizer),this._triggerCache[lt]=Ot}this._transitionEngine.registerTrigger(m,B,Ot)}register(A,m){this._transitionEngine.register(A,m)}destroy(A,m){this._transitionEngine.destroy(A,m)}onInsert(A,m,S,B){this._transitionEngine.insertNode(A,m,S,B)}onRemove(A,m,S){this._transitionEngine.removeNode(A,m,S)}disableAnimations(A,m){this._transitionEngine.markElementAsDisabled(A,m)}process(A,m,S,B){if("@"==S.charAt(0)){const[ve,lt]=le(S);this._timelineEngine.command(ve,m,lt,B)}else this._transitionEngine.trigger(A,m,S,B)}listen(A,m,S,B,ve){if("@"==S.charAt(0)){const[lt,Ot]=le(S);return this._timelineEngine.listen(lt,m,Ot,ve)}return this._transitionEngine.listen(A,m,S,B,ve)}flush(A=-1){this._transitionEngine.flush(A)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(A){this._transitionEngine.afterFlushAnimationsDone(A)}}let Gl=(()=>{class k{_element;_startStyles;_endStyles;static initialStylesByElement=new WeakMap;_state=0;_initialStyles;constructor(m,S,B){this._element=m,this._startStyles=S,this._endStyles=B;let ve=k.initialStylesByElement.get(m);ve||k.initialStylesByElement.set(m,ve=new Map),this._initialStyles=ve}start(){this._state<1&&(this._startStyles&&ki(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(ki(this._element,this._initialStyles),this._endStyles&&(ki(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(k.initialStylesByElement.delete(this._element),this._startStyles&&(gi(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(gi(this._element,this._endStyles),this._endStyles=null),ki(this._element,this._initialStyles),this._state=3)}}return k})();function qs(k){let A=null;return k.forEach((m,S)=>{(function zt(k){return"display"===k||"position"===k})(S)&&(A=A||new Map,A.set(S,m))}),A}class rn{element;keyframes;options;_specialStyles;_onDoneFns=[];_onStartFns=[];_onDestroyFns=[];_duration;_delay;_initialized=!1;_finished=!1;_started=!1;_destroyed=!1;_finalKeyframe;_originalOnDoneFns=[];_originalOnStartFns=[];domPlayer;time=0;parentPlayer=null;currentSnapshot=new Map;constructor(A,m,S,B){this.element=A,this.keyframes=m,this.options=S,this._specialStyles=B,this._duration=S.duration,this._delay=S.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(A=>A()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const A=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,A,this.options),this._finalKeyframe=A.length?A[A.length-1]:new Map;const m=()=>this._onFinish();this.domPlayer.addEventListener("finish",m),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",m)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(A){const m=[];return A.forEach(S=>{m.push(Object.fromEntries(S))}),m}_triggerWebAnimation(A,m,S){return A.animate(this._convertKeyframesToObject(m),S)}onStart(A){this._originalOnStartFns.push(A),this._onStartFns.push(A)}onDone(A){this._originalOnDoneFns.push(A),this._onDoneFns.push(A)}onDestroy(A){this._onDestroyFns.push(A)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(A=>A()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(A=>A()),this._onDestroyFns=[])}setPosition(A){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=A*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const A=new Map;this.hasStarted()&&this._finalKeyframe.forEach((S,B)=>{"offset"!==B&&A.set(B,this._finished?S:tt(this.element,B))}),this.currentSnapshot=A}triggerCallback(A){const m="start"===A?this._onStartFns:this._onDoneFns;m.forEach(S=>S()),m.length=0}}class qt{validateStyleProperty(A){return!0}validateAnimatableStyleProperty(A){return!0}containsElement(A,m){return gn(A,m)}getParentElement(A){return Te(A)}query(A,m,S){return kn(A,m,S)}computeStyle(A,m,S){return tt(A,m)}animate(A,m,S,B,ve,lt=[]){const Ft={duration:S,delay:B,fill:0==B?"both":"forwards"};ve&&(Ft.easing=ve);
3const Kt=new Map,fn=lt.filter(Fn=>Fn instanceof rn);(function he(k,A){return 0===k||0===A})(S,B)&&fn.forEach(Fn=>{Fn.currentSnapshot.forEach((Hn,qn)=>Kt.set(qn,Hn))});let un=function Ci(k){return k.length?k[0]instanceof Map?k:k.map(A=>new Map(Object.entries(A))):[]}(m).map(Fn=>new Map(Fn));un=function Et(k,A,m){if(m.size&&A.length){let S=A[0],B=[];if(m.forEach((ve,lt)=>{S.has(lt)||B.push(lt),S.set(lt,ve)}),B.length)for(let ve=1;ve<A.length;ve++){let lt=A[ve];B.forEach(Ot=>lt.set(Ot,tt(k,Ot)))}}return A}(A,un,Kt);const Un=function ga(k,A){let m=null,S=null;return Array.isArray(A)&&A.length?(m=qs(A[0]),A.length>1&&(S=qs(A[A.length-1]))):A instanceof Map&&(m=qs(A)),m||S?new Gl(k,m,S):null}(A,un);return new rn(A,un,Ft,Un)}}const vr="@.disabled";class ji{namespaceId;delegate;engine;_onDestroy;\u0275type=0;constructor(A,m,S,B){this.namespaceId=A,this.delegate=m,this.engine=S,this._onDestroy=B}get data(){return this.delegate.data}destroyNode(A){this.delegate.destroyNode?.(A)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(A,m){return this.delegate.createElement(A,m)}createComment(A){return this.delegate.createComment(A)}createText(A){return this.delegate.createText(A)}appendChild(A,m){this.delegate.appendChild(A,m),this.engine.onInsert(this.namespaceId,m,A,!1)}insertBefore(A,m,S,B=!0){this.delegate.insertBefore(A,m,S),this.engine.onInsert(this.namespaceId,m,A,B)}removeChild(A,m,S){this.parentNode(m)&&this.engine.onRemove(this.namespaceId,m,this.delegate)}selectRootElement(A,m){return this.delegate.selectRootElement(A,m)}parentNode(A){return this.delegate.parentNode(A)}nextSibling(A){return this.delegate.nextSibling(A)}setAttribute(A,m,S,B){this.delegate.setAttribute(A,m,S,B)}removeAttribute(A,m,S){this.delegate.removeAttribute(A,m,S)}addClass(A,m){this.delegate.addClass(A,m)}removeClass(A,m){this.delegate.removeClass(A,m)}setStyle(A,m,S,B){this.delegate.setStyle(A,m,S,B)}removeStyle(A,m,S){this.delegate.removeStyle(A,m,S)}setProperty(A,m,S){"@"==m.charAt(0)&&m==vr?this.disableAnimations(A,!!S):this.delegate.setProperty(A,m,S)}setValue(A,m){this.delegate.setValue(A,m)}listen(A,m,S,B){return this.delegate.listen(A,m,S,B)}disableAnimations(A,m){this.engine.disableAnimations(A,m)}}class ea extends ji{factory;constructor(A,m,S,B,ve){super(m,S,B,ve),this.factory=A,this.namespaceId=m}setProperty(A,m,S){"@"==m.charAt(0)?"."==m.charAt(1)&&m==vr?this.disableAnimations(A,S=void 0===S||!!S):this.engine.process(this.namespaceId,A,m.slice(1),S):this.delegate.setProperty(A,m,S)}listen(A,m,S,B){if("@"==m.charAt(0)){const ve=function cl(k){switch(k){case"body":return document.body;case"document":return document;case"window":return window;default:return k}}(A);let lt=m.slice(1),Ot="";return"@"!=lt.charAt(0)&&([lt,Ot]=function Ro(k){const A=k.indexOf(".");return[k.substring(0,A),k.slice(A+1)]}(lt)),this.engine.listen(this.namespaceId,ve,lt,Ot,Ft=>{this.factory.scheduleListenerCallback(Ft._data||-1,S,Ft)})}return this.delegate.listen(A,m,S,B)}}class lo{delegate;engine;_zone;_currentId=0;_microtaskId=1;_animationCallbacksBuffer=[];_rendererCache=new Map;_cdRecurDepth=0;constructor(A,m,S){this.delegate=A,this.engine=m,this._zone=S,m.onRemovalComplete=(B,ve)=>{ve?.removeChild(null,B)}}createRenderer(A,m){const B=this.delegate.createRenderer(A,m);if(!A||!m?.data?.animation){const Kt=this._rendererCache;let fn=Kt.get(B);return fn||(fn=new ji("",B,this.engine,()=>Kt.delete(B)),Kt.set(B,fn)),fn}const ve=m.id,lt=m.id+"-"+this._currentId;this._currentId++,this.engine.register(lt,A);const Ot=Kt=>{Array.isArray(Kt)?Kt.forEach(Ot):this.engine.registerTrigger(ve,lt,A,Kt.name,Kt)};return m.data.animation.forEach(Ot),new ea(this,lt,B,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(A,m,S){if(A>=0&&A<this._microtaskId)return void this._zone.run(()=>m(S));const B=this._animationCallbacksBuffer;0==B.length&&queueMicrotask(()=>{this._zone.run(()=>{B.forEach(ve=>{const[lt,Ot]=ve;lt(Ot)}),this._animationCallbacksBuffer=[]})}),B.push([m,S])}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}componentReplaced(A){this.engine.flush(),this.delegate.componentReplaced?.(A)}}const Ss=[{provide:_n,useFactory:function No(){return new ai}},{provide:Ds,useClass:(()=>{class k extends Ds{constructor(m,S,B){super(m,S,B)}ngOnDestroy(){this.flush()}static \u0275fac=function(S){return new(S||k)(u.KVO(u.qQL),u.KVO(nn),u.KVO(_n))};static \u0275prov=u.jDH({token:k,factory:k.\u0275fac})}return k})()},{provide:r._9s,useFactory:function As(k,A,m){return new lo(k,A,m)},deps:[Ue,Ds,r.SKi]}],xi=[{provide:nn,useClass:Lt},{provide:r.bc$,useValue:"NoopAnimations"},...Ss],Fs=[{provide:nn,useFactory:()=>new qt},{provide:r.bc$,useFactory:()=>"BrowserAnimations"},...Ss];let Ha=(()=>{class k{static withConfig(m){return{ngModule:k,providers:m.disableAnimations?xi:Fs}}static \u0275fac=function(S){return new(S||k)};static \u0275mod=r.$C({type:k});static \u0275inj=u.G2t({providers:Fs,imports:[Ne]})}return k})();var ks=o(38132),Xr=o(1734),Br=o(2490),Lo=o(88834);function Ea(k,A){if(1&k){const m=r.RV6();r.j41(0,"button",12),r.bIt("click",function(){u.eBV(m);const B=r.XpG();return u.Njj(B.onDismiss())}),r.pXf(1,6),r.k0s()}}const Zn=[{path:"",component:(()=>{class k{constructor(m,S){this.window=m,this._cookieService=S,this.canDismiss=runtimeEnvironment.CAN_DISABLE_TEST_WARNING_BANNER,this.display="none",this.labelWarning="Warning, testing website",this.notInsideIframe=m.self===m.top,this.hostUrl=m.location.host,(!this._cookieService.get("testWarningCookie")||!this.canDismiss)&&this.notInsideIframe&&runtimeEnvironment.SHOW_TEST_WARNING_BANNER&&(this.display="auto")}onDismiss(){this.display="none",this._cookieService.set("testWarningCookie","dont show message",365)}ngOnInit(){}static{this.\u0275fac=function(S){return new(S||k)(r.rXU(Xr.jf),r.rXU(Br.O))}}static{this.\u0275cmp=r.VBU({type:k,selectors:[["app-environment-banner"]],hostVars:2,hostBindings:function(S,B){2&S&&r.xc7("display",B.display)},standalone:!1,decls:32,vars:3,consts:()=>{let m,S,B,ve,lt,Ot,Ft;return m="Warning!",S="is a test website.\n ",B="\n is the official website. Sandbox only sends email messages\n to",ve="mailinator.com",lt="email addresses, see Sandbox FAQ for",Ot="\n more information",Ft="\n Dismiss\n ",[m,S,B,ve,lt,Ot,Ft,[1,"alert","alert-banner","mat-subtitle-2"],["href","https://orcid.org","target","orcid.org",1,"mat-button-font","black-url"],["href","https://mailinator.com",1,"mat-button-font","black-url"],["href","https://support.orcid.org/hc/articles/360006972573","target","common.js.domain.warn.more_information",1,"mat-button-font","black-url"],["mat-flat-button","","color","primary",3,"click",4,"ngIf"],["mat-flat-button","","color","primary",3,"click"]]},template:function(S,B){1&S&&(r.j41(0,"section",7),r.EFF(1,"\n "),r.j41(2,"p"),r.EFF(3,"\n "),r.qex(4),r.pXf(5,0),r.bVm(),r.EFF(6,"\n "),r.qex(7),r.EFF(8),r.bVm(),r.EFF(9,"\n "),r.qex(10),r.pXf(11,1),r.bVm(),r.EFF(12,"\n "),r.j41(13,"a",8),r.EFF(14,"orcid.org"),r.k0s(),r.EFF(15,"\n "),r.qex(16),r.pXf(17,2),r.bVm(),r.EFF(18,"\n "),r.j41(19,"a",9),r.pXf(20,3),r.k0s(),r.EFF(21,"\n "),r.qex(22),r.pXf(23,4),r.bVm(),r.EFF(24,"\n "),r.j41(25,"a",10),r.pXf(26,5),r.k0s(),r.EFF(27,"\n "),r.k0s(),r.EFF(28,"\n "),r.DNE(29,Ea,2,0,"button",11),r.EFF(30,"\n"),r.k0s(),r.EFF(31,"\n")),2&S&&(r.BMQ("aria-label",B.labelWarning),r.R7$(8),r.JRh(B.hostUrl),r.R7$(21),r.Y8G("ngIf",B.canDismiss))},dependencies:[v.bT,Lo.$z],styles:["[_nghost-%COMP%]{background-color:#f5c120;display:flex;padding:15px}.alert-banner[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center;width:100%;justify-content:space-between}button[_ngcontent-%COMP%]{flex-shrink:0}.mat-subtitle-2[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0}.columns-12 [_nghost-%COMP%] .alert-banner[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{padding-right:15px}.columns-8 [_nghost-%COMP%] .alert-banner[_ngcontent-%COMP%], .columns-4 [_nghost-%COMP%] .alert-banner[_ngcontent-%COMP%]{flex-direction:column;align-items:flex-end}"]})}}return k})(),outlet:"banner"}];let Bs=(()=>{class k{static{this.\u0275fac=function(S){return new(S||k)}}static{this.\u0275mod=r.$C({type:k})}static{this.\u0275inj=u.G2t({imports:[ks.iI.forChild(Zn)]})}}return k})(),us=(()=>{class k{static{this.\u0275fac=function(S){return new(S||k)}}static{this.\u0275mod=r.$C({type:k})}static{this.\u0275inj=u.G2t({imports:[v.MD,Bs,Lo.Hl]})}}return k})();var Jn=o(21495),wo=o(55973),$s=o(16837),ta=o(27468),Hr=o(7673),Pa=o(35060),to=o(96697),co=o(25558),G=o(96354),q=o(99437),V=o(22193),te=o(19490),ye=o(36131),He=o(8435),ut=o(91029),Bt=o(51060),tn=o(10998),Pn=o(90645),$i=o(178),$r=o(12616),uo=o(85850),Ur=o(8858);let no=(()=>{class k{constructor(m,S,B,ve,lt,Ot,Ft,Kt,fn,un){this._user=m,this.router=S,this.platform=B,this.oauthUrlSessionManger=ve,this.window=lt,this._togglzService=Ot,this.oauthService=Ft,this.featureLogger=Kt,this.authDecision=fn,this._observability=un}canActivateChild(m,S){const B=m.queryParams;return(0,ta.p)({session:this._user.getUserSession().pipe((0,to.s)(1)),isOauthAuthorizationTogglzEnable:this._togglzService.getStateOf(V.i.OAUTH_AUTHORIZATION).pipe((0,to.s)(1))}
3).pipe((0,to.s)(1),(0,co.n)(({session:ve,isOauthAuthorizationTogglzEnable:lt})=>{const Ot=this.authDecision.decideForAuthorize(ve,lt,B);switch(this.featureLogger.debug("Authorize Guard",...Ot.trace),Ot.action){case"redirectToMyOrcid":return this._observability.recordSimpleEvent(te.f0.OauthAuthorizeGuardRedirectToMyOrcid,this.buildDecisionAttrs(B,Ot)),(0,Hr.of)(this.router.createUrlTree(["/my-orcid"]));case"redirectToLogin":return this.redirectToLoginPage(B,Ot);case"validateRedirectUri":{const{clientId:Ft,redirectUri:Kt}=Ot.payload||{};return this.validateRedirectUriAndRedirect({...B,client_id:Ft,redirect_uri:Kt},Ot)}case"outOfRouterNavigation":{const{target:Ft}=Ot.payload||{};return this._observability.recordSimpleEvent(te.f0.OauthAuthorizeGuardOutOfRouterNavigation,{target:Ft,...this.buildDecisionAttrs(B,Ot)}),Ft?(this.navigateOutOfRouter(Ft),Pa.t):(this.featureLogger.error("Authorize Guard","Missing outOfRouterNavigation target \u2192 /404"),(0,Hr.of)(this.router.createUrlTree(["/404"])))}default:return(0,Hr.of)(!0)}}))}validateRedirectUriAndRedirect(m,S){return this.oauthService.validateRedirectUri(m.client_id,m.redirect_uri).pipe((0,to.s)(1),(0,G.T)(B=>{if(B.valid){const ve=`${m.redirect_uri}#login_required`;return this._observability.recordSimpleEvent(te.f0.OauthAuthorizeGuardLoginRequiredRedirect,{...this.buildDecisionAttrs(m,S)}),this.featureLogger.debug("Authorize Guard","Redirecting out of router to",ve),this.navigateOutOfRouter(ve),!1}return this._observability.recordSimpleEvent(te.f0.OauthAuthorizeGuardInvalidRedirectUri,{...this.buildDecisionAttrs(m,S)}),this.featureLogger.warn("Authorize Guard","Invalid redirect_uri \u2192 /404"),this.router.createUrlTree(["/404"])}),(0,q.W)(()=>(this._observability.recordSimpleEvent(te.f0.OauthAuthorizeGuardValidateRedirectUriError,{...this.buildDecisionAttrs(m,S)}),this.featureLogger.error("Authorize Guard","Error validating redirect_uri \u2192 /404"),(0,Hr.of)(this.router.createUrlTree(["/404"])))))}redirectToLoginPage(m,S){return this.oauthUrlSessionManger.set(this.window.location.href),this._observability.recordSimpleEvent(te.f0.OauthAuthorizeGuardRedirectToLogin,this.buildDecisionAttrs(m,S)),this.platform.get().pipe((0,G.T)(({queryParameters:B})=>(this.featureLogger.debug("Authorize Guard","Building /signin UrlTree with current query params"),this.router.createUrlTree(["/signin"],{queryParams:{...B}}))))}buildDecisionAttrs(m,S){return{decision_action:S.action,decision_reason:S.reason,client_id:m?.client_id,redirect_uri:m?.redirect_uri,prompt:m?.prompt,scope:m?.scope,oauth_query_string:(0,ye.W)(m)}}navigateOutOfRouter(m){m&&this.window.outOfRouterNavigation(m)}static{this.\u0275fac=function(S){return new(S||k)(u.KVO(He.DL),u.KVO(ut.Ix),u.KVO(Bt.Z),u.KVO(tn.P),u.KVO(Xr.jf),u.KVO(Pn.v),u.KVO($i.z),u.KVO($r.u),u.KVO(uo.M),u.KVO(Ur.s))}}static{this.\u0275prov=u.jDH({token:k,factory:k.\u0275fac,providedIn:"root"})}}return k})(),Vo=(()=>{class k{constructor(m,S,B){this._user=m,this._router=S,this._observability=B}canActivateChild(m,S){return this._user.getUserSession().pipe((0,G.T)(B=>!(B.oauthSession&&!B.oauthSession.forceLogin&&B.oauthSessionIsLoggedIn)||(this._observability.recordSimpleEvent(te.f0.RegisterGuardRedirectToAuthorize,{client_id:m.queryParams?.client_id,redirect_uri:m.queryParams?.redirect_uri,prompt:m.queryParams?.prompt,scope:m.queryParams?.scope,oauth_query_string:(0,ye.W)(m.queryParams)}),this._router.createUrlTree(["/oauth/authorize"],{queryParams:m.queryParams}))))}static{this.\u0275fac=function(S){return new(S||k)(u.KVO(He.DL),u.KVO(ut.Ix),u.KVO(Ur.s))}}static{this.\u0275prov=u.jDH({token:k,factory:k.\u0275fac,providedIn:"root"})}}return k})(),Co=(()=>{class k{constructor(m,S,B,ve){this._userInfo=m,this._router=S,this._platformInfo=B,this._oauthService=ve}canActivateChild(m,S){return this._userInfo.getUserSession().pipe((0,to.s)(1),(0,G.T)(B=>!!B.thirdPartyAuthData?.signinData?.providerId||this._router.createUrlTree(["/signin"])),(0,q.W)(()=>(0,Hr.of)(this._router.createUrlTree(["/signin"]))))}static{this.\u0275fac=function(S){return new(S||k)(u.KVO(He.DL),u.KVO(ut.Ix),u.KVO(Bt.Z),u.KVO($i.z))}}static{this.\u0275prov=u.jDH({token:k,factory:k.\u0275fac,providedIn:"root"})}}return k})();var _s=o(88141),na=o(56846),zo=o(37748);const Qa="lang_refresh";let ia=(()=>{class k{constructor(m,S,B,ve,lt,Ot){this.locale=m,this._user=S,this.window=B,this._errorHandler=ve,this._languageService=lt,this._cookie=Ot}canActivateChild(m,S){let B;return this._user.getUserSession().pipe((0,_s.M)(()=>{B=this.getLanguageContext(m.queryParams),runtimeEnvironment.debugger&&console.debug("language context",B)}),(0,co.n)(()=>this.currentAppLanguageMatchTheParamLanguage(B)?(this._cookie.delete(Qa),(0,Hr.of)(!0)):this._languageService.changeLanguage(B.param).pipe((0,co.n)(()=>(0,Hr.of)(this.window.location.href=S?.url||"/").pipe((0,co.n)(()=>Pa.t))))),(0,co.n)(()=>this.currentAppLanguageMatchCookieLanguage(B)?(this._cookie.delete(Qa),(0,Hr.of)(!0)):this._cookie.get(Qa)!==B.cookie?(this._cookie.set(Qa,B.cookie),(0,Hr.of)(this.window.location.href=S?.url||"/").pipe((0,co.n)(()=>Pa.t))):this._errorHandler.handleError(new Error("cacheIssueDetected/"))),(0,q.W)(()=>(0,Hr.of)(!0)))}getLanguageContext(m){return{param:this.normalizeLanguageCode(m.lang||m.LANG),app:this.normalizeLanguageCode(this.locale),cookie
3:this.normalizeLanguageCode(this._cookie.get("locale_v3"))}}normalizeLanguageCode(m){return m&&m.toLocaleLowerCase().replace("_","-")}currentAppLanguageMatchTheParamLanguage(m){return!(m.param&&m.app&&-1===m.app.indexOf(m.param))}currentAppLanguageMatchCookieLanguage(m){return!(m.app&&-1===m.app.indexOf(m.cookie||"en"))}static{this.\u0275fac=function(S){return new(S||k)(u.KVO(r.xe9),u.KVO(He.DL),u.KVO(Xr.jf),u.KVO(na.c),u.KVO(zo.g),u.KVO(Br.O))}}static{this.\u0275prov=u.jDH({token:k,factory:k.\u0275fac,providedIn:"root"})}}return k})(),yc=(()=>{class k{constructor(m,S,B,ve,lt){this._userInfo=m,this._router=S,this._platformInfo=B,this._oauthService=ve,this._observability=lt}canActivateChild(m,S){return this._userInfo.getUserSession().pipe((0,to.s)(1),(0,G.T)(B=>!B.loggedIn||(this._observability.recordSimpleEvent(te.f0.TwoFactorSignInGuardRedirectToMyOrcid),this._router.createUrlTree(["/my-orcid"]))))}static{this.\u0275fac=function(S){return new(S||k)(u.KVO(He.DL),u.KVO(ut.Ix),u.KVO(Bt.Z),u.KVO($i.z),u.KVO(Ur.s))}}static{this.\u0275prov=u.jDH({token:k,factory:k.\u0275fac,providedIn:"root"})}}return k})();var Od=o(61594),ul=o(23137);const Za=[{path:Jn.Tu.home,loadChildren:()=>Promise.all([o.e(76),o.e(920)]).then(o.bind(o,14539)).then(k=>k.HomeModule)},{matcher:Jn.gV,loadChildren:()=>Promise.all([o.e(632),o.e(785),o.e(200)]).then(o.bind(o,96819)).then(k=>k.TrustedSummaryPageModule)},{matcher:Jn.zk,loadChildren:()=>Promise.all([o.e(596),o.e(765),o.e(632),o.e(535),o.e(296),o.e(506),o.e(952),o.e(785),o.e(76),o.e(790)]).then(o.bind(o,57790)).then(k=>k.RecordModule)},{path:Jn.Tu.inbox,canActivateChild:[wo.X],loadChildren:()=>Promise.all([o.e(765),o.e(632),o.e(296),o.e(76),o.e(431)]).then(o.bind(o,91335)).then(k=>k.InboxModule)},{path:Jn.Tu.authorize,canActivateChild:[ia,no],loadChildren:()=>Promise.all([o.e(596),o.e(765),o.e(632),o.e(952),o.e(76),o.e(105)]).then(o.bind(o,57105)).then(k=>k.AuthorizeModule)},{path:Jn.Tu.institutional,loadChildren:()=>Promise.all([o.e(596),o.e(550)]).then(o.bind(o,9550)).then(k=>k.InstitutionalModule)},{path:Jn.Tu.social,canActivateChild:[Co],loadChildren:()=>Promise.all([o.e(596),o.e(789),o.e(539),o.e(546)]).then(o.bind(o,86546)).then(k=>k.LinkAccountModule)},{path:Jn.Tu.institutionalLinking,canActivateChild:[Co],loadChildren:()=>Promise.all([o.e(596),o.e(789),o.e(539),o.e(546)]).then(o.bind(o,86546)).then(k=>k.LinkAccountModule)},{path:Jn.Tu.login,redirectTo:Jn.Tu.signin},{path:Jn.Tu.signin,canActivateChild:[ia,$s.u],loadChildren:()=>Promise.all([o.e(596),o.e(789),o.e(539)]).then(o.bind(o,94539)).then(k=>k.SignInModule)},{path:Jn.Tu.resetPassword,loadChildren:()=>Promise.all([o.e(596),o.e(535),o.e(76),o.e(409)]).then(o.bind(o,66795)).then(k=>k.PasswordRecoveryModule)},{path:Jn.Tu.register,canActivateChild:[ia,Vo],loadChildren:()=>Promise.all([o.e(596),o.e(765),o.e(632),o.e(535),o.e(819),o.e(76),o.e(979)]).then(o.bind(o,6979)).then(k=>k.RegisterModule)},{path:Jn.Tu.search,loadChildren:()=>Promise.all([o.e(765),o.e(632),o.e(76),o.e(178)]).then(o.bind(o,11178)).then(k=>k.SearchModule)},{path:Jn.Tu.myOrcid,canActivateChild:[ia,wo.X],loadChildren:()=>Promise.all([o.e(596),o.e(765),o.e(632),o.e(535),o.e(296),o.e(506),o.e(952),o.e(785),o.e(76),o.e(790)]).then(o.bind(o,57790)).then(k=>k.RecordModule)},{path:Jn.Tu.account,loadChildren:()=>Promise.all([o.e(765),o.e(632),o.e(535),o.e(296),o.e(506),o.e(367),o.e(203),o.e(76),o.e(466)]).then(o.bind(o,90466)).then(k=>k.AccountSettingsModule)},{path:Jn.Tu.trustedParties,canActivateChild:[wo.X],loadChildren:()=>Promise.all([o.e(765),o.e(632),o.e(535),o.e(296),o.e(506),o.e(367),o.e(76),o.e(941)]).then(o.bind(o,58941)).then(k=>k.AccountTrustedPartiesModule)},{path:Jn.Tu.twoFactor,canActivateChild:[yc],loadChildren:()=>Promise.all([o.e(596),o.e(789),o.e(76),o.e(934)]).then(o.bind(o,6934)).then(k=>k.TwoFactorModule)},{path:Jn.Tu.twoFactorSetup,canActivateChild:[wo.X],loadChildren:()=>Promise.all([o.e(596),o.e(765),o.e(76),o.e(898)]).then(o.bind(o,51898)).then(k=>k.TwoFactorSetupModule)},{path:Jn.Tu.resetPasswordEmail+"/:key",loadChildren:()=>Promise.all([o.e(596),o.e(819),o.e(203),o.e(76),o.e(315)]).then(o.bind(o,81315)).then(k=>k.ResetPasswordModule)},{matcher:Jn.Us,canActivateChild:[(()=>{class k{constructor(m,S,B,ve,lt){this._router=m,this._user=S,this._oauthRedirect=B,this._window=ve,this._togglzService=lt}canActivateChild(m,S){return(0,ta.p)({session:this._user.getUserSession().pipe((0,to.s)(1)),isOauthAuthorizationTogglzEnable:this._togglzService.getStateOf(V.i.OAUTH_AUTHORIZATION).pipe((0,to.s)(1))}).pipe((0,Od.$)(),(0,G.T)(({isOauthAuthorizationTogglzEnable:B})=>{if(B){const ve=this._oauthRedirect.get();if(ve)return this._oauthRedirect.clear(),this._window.outOfRouterNavigation(ve),!1}return this._router.parseUrl(S.url.replace(/\/third-party-signin-completed/,""))}))}static{this.\u0275fac=function(S){return new(S||k)(u.KVO(ut.Ix),u.KVO(He.DL),u.KVO(tn.P),u.KVO(ul.jf),u.KVO(Pn.v))}}static{this.\u0275prov=u.jDH({token:k,factory:k.\u0275fac,providedIn:"root"})}}return k})()],loadChildren:()=>Promise.all([o.e(596),o.e(765),o.e(632),o.e(535),o.e(296),o.e(506),o.e(952),o.e(785),o.e(76),o.e(790)]).then(o.bind(o,57790)).then(k=>k.RecordModule)},{matcher:Jn.hy,canActivateChild:[ia,Vo],loadChildren:()=>Promise.all([o.e(596),o.e(765),o.e(632),o.e(535),o.e(819),o.e(76),o.e(979)]).then(o.bind(o,6979)).then(k=>k.RegisterModule)},{path:Jn.Tu.selfService,canActivateChild:[wo.X],loadChildren:()=>o.e(928).then(o.bind(o,62928)).then(k=>k.SelfServiceModule)},{path:Jn.Tu.developerTools,canActivateChild:[wo.X],loadChildren:()=>Promise.all([o.e(765),o.e(632),o.e(296),o.e(506),o.e(76),o.e(268)]).then(o.bind(o,65268)).then(k=>k.DeveloperToolsModule)},{path:Jn.Tu.smsPoc,canActivateChild:[wo.X],loadChildren:()=>Promise.all([o.e(596),o.e(765),o.e(535),o.e(884)]).then(o.bind(o,53884)).then(k=>k.SmsPocModule)},{path:Jn.Tu.recordCorrectionsLegacy,redirectTo:"/"+Jn.Tu.recordCorrections,pathMatch:"full"},{path:Jn.Tu.recordCorrections,loadChildren:()=>o.e(421).then(o.bind(o,85421)).then(k=>k.RecordCorrectionsModule)},{path:"404",loadChildren:()=>Promise.all([o.e(76),o.e(874)]).then(o.bind(o,40995)).then(k=>k.PageNotFound404Module)},{path:"**",loadChildren:()=>Promise.all([o.e(76),o.e(874)]).then(o.bind(o,40995)).then(k=>k.PageNotFound404Module)}];let _l=(()=>{class k{static{this.\u0275fac=function(S){return new(S||k)}}static{this.\u0275mod=r.$C({type:k})}static{this.\u0275inj=u.G2t({imports:[ks.iI.forRoot(Za,{}),ks.iI]})}}return k})();var rt=o(10678),Us=o(62415),qo=o(68954),_o=o(87068),Ti=o(30190),ra=o(27428),Dc=o(91714),Ra=o(22458);let fs=(()=>{class k{constructor(){this._document=(0,u.WQX)(u.qQL),this._announcerService=(0,u.WQX)(Ra.x),this._ngZone=(0,u.WQX)(r.SKi),this._activeDialog=null,this._previouslyFocusedElement=null,this._policyLinkElement=null,this._policyLinkOriginalTabIndex=void 0,this._expectedFocusAfterWrap=null,this._expectedFocusExpiresAt=0}init(){!this._document?.body||this._observer||this._ngZone.runOutsideAngular(()=>{this._observer=new MutationObserver(()=>this._syncDialogState()),this._observer.observe(this._document.body,{subtree:!0,childList:!0,attributes:!0,attributeFilter:["class","style","aria-hidden","hidden"]}),this._syncDialogState()})}ngOnDestroy(){this._observer?.disconnect(),this._observer=void 0,this._removeFocusTrap()}_syncDialogState(){const m=this._findVisibleOneTrustDialog();if(m)return this._ensurePolicyLinkTabbable(m),void(this._activeDialog!==m&&(this._activeDialog=m,this._focusDialogOnOpen(m),this._installFocusTrap()));this._activeDialog&&(this._removeFocusTrap(),this._restorePolicyLinkTabIndex(),this._restorePreviousFocus(),this._activeDialog=null)}_findVisibleOneTrustDialog(){const m=['#onetrust-pc-sdk [role="dialog"]','#onetrust-banner-sdk .ot-sdk-container[role="dialog"]'];for(const S of m){const B=this._document.querySelector(S);if(B instanceof HTMLElement&&this._isVisible(B))return B}return null}_focusDialogOnOpen(m){const S=this._document.activeElement;S instanceof HTMLElement&&!m.contains(S)&&(this._previouslyFocusedElement=S);const ve=this._getTabbableElements(m)[0]??m;ve.hasAttribute("tabindex")||ve.setAttribute("tabindex","-1"),ve.focus(),this._announcerService.liveAnnounce(this._announcerService.oneTrustFocusAnnouncement)}_installFocusTrap(){this._removeFocusTrap(),this._keyDownListener=m=>{if("Tab"!==m.key||!this._activeDialog)return;this._expectedFocusAfterWrap=null,this._expectedFocusExpiresAt=0;const S=this._activeDialog;if(!this._isVisible(S))return;const B=this._getTabbableElements(S);if(!B.length)return S.focus(),void this._preventEvent(m);const ve=B[0],lt=B[B.length-1],Ot=this._document.activeElement,Ft=!Ot||!S.contains(Ot);m.shiftKey?(Ft||Ot===ve)&&(this._setExpectedFocusAfterWrap(lt),lt.focus(),this._preventEvent(m)):(Ft||Ot===lt)&&(this._setExpectedFocusAfterWrap(ve),ve.focus(),this._preventEvent(m))},this._focusInListener=m=>{if(!this._activeDialog)return;const S=this._activeDialog;if(!this._isVisible(S))return;const B=m.target;
3if(B instanceof HTMLElement&&S.contains(B))return this._expectedFocusAfterWrap&&Date.now()<=this._expectedFocusExpiresAt&&B!==this._expectedFocusAfterWrap?void this._expectedFocusAfterWrap.focus():void 0;(this._getTabbableElements(S)[0]??S).focus()},this._document.addEventListener("keydown",this._keyDownListener,!0),this._document.addEventListener("focusin",this._focusInListener,!0)}_removeFocusTrap(){this._keyDownListener&&(this._document.removeEventListener("keydown",this._keyDownListener,!0),this._keyDownListener=void 0),this._focusInListener&&(this._document.removeEventListener("focusin",this._focusInListener,!0),this._focusInListener=void 0)}_restorePreviousFocus(){this._previouslyFocusedElement&&this._document.contains(this._previouslyFocusedElement)&&this._previouslyFocusedElement.focus(),this._previouslyFocusedElement=null}_ensurePolicyLinkTabbable(m){const S=m.querySelector(".ot-cookie-policy-link");!(S instanceof HTMLElement)||!this._isVisible(S)||(this._policyLinkElement!==S&&(this._policyLinkElement=S,this._policyLinkOriginalTabIndex=S.getAttribute("tabindex")),"-1"===S.getAttribute("tabindex")&&S.setAttribute("tabindex","0"))}_restorePolicyLinkTabIndex(){if(!this._policyLinkElement||!this._document.contains(this._policyLinkElement))return this._policyLinkElement=null,void(this._policyLinkOriginalTabIndex=void 0);null===this._policyLinkOriginalTabIndex?this._policyLinkElement.removeAttribute("tabindex"):void 0!==this._policyLinkOriginalTabIndex&&this._policyLinkElement.setAttribute("tabindex",this._policyLinkOriginalTabIndex),this._policyLinkElement=null,this._policyLinkOriginalTabIndex=void 0}_getTabbableElements(m){const S=["a[href]","button:not([disabled])","input:not([disabled])","select:not([disabled])","textarea:not([disabled])",'[tabindex]:not([tabindex="-1"])'].join(", ");return Array.from(m.querySelectorAll(S)).filter(B=>B instanceof HTMLElement&&this._isVisible(B)&&B.tabIndex>=0&&!B.hasAttribute("disabled")&&"true"!==B.getAttribute("aria-hidden"))}_isVisible(m){if(!m.isConnected)return!1;let S=m;for(;S;){const B=this._document.defaultView?.getComputedStyle(S);if("none"===B?.display||"hidden"===B?.visibility||"true"===S.getAttribute("aria-hidden")||S.hasAttribute("hidden"))return!1;S=S.parentElement}return m.getClientRects().length>0}_preventEvent(m){if(m.cancelable)try{m.preventDefault()}catch{}m.stopPropagation()}_setExpectedFocusAfterWrap(m){this._expectedFocusAfterWrap=m,this._expectedFocusExpiresAt=Date.now()+250}static{this.\u0275fac=function(S){return new(S||k)}}static{this.\u0275prov=u.jDH({token:k,factory:k.\u0275fac,providedIn:"root"})}}return k})();var Ma=o(5964);const jl=[{id:"public-layout.about",label:"About",route:"what-is-orcid"},{id:"public-layout.for_researchers",label:"For Researchers",route:"benefits-for-researchers"},{id:"public-layout.membership",label:"Membership",route:"about-membership"},{id:"public-layout.documentation",label:"Documentation",route:"documentation"},{id:"public-layout.resources",label:"Resources",route:"resources"},{id:"public-layout.newsEvents",label:"News & Events",route:""}];var Wl=o(89295),oa=o(26194),Ac=o(34991),xo=o(81074),Sc=o(71997),Tc=o(30691),Pc=o(52584),fo=o(89417),va=o(55549),Ps=o(95967),sa=o(59115);const Ic=k=>({"orcid-language-menu-item-selected":k});function Rc(k,A){if(1&k&&(r.qex(0),r.j41(1,"button",5)(2,"div",6)(3,"p",7),r.EFF(4),r.k0s(),r.j41(5,"mat-icon"),r.EFF(6,"expand_more"),r.k0s()()(),r.bVm()),2&k){const m=r.XpG(),S=r.sdS(5);r.R7$(),r.Y8G("matMenuTriggerFor",S),r.BMQ("aria-label",m.labelLanguage),r.R7$(3),r.JRh(m.languageMenuOptions[m.locale])}}function Kl(k,A){if(1&k&&(r.j41(0,"button",8)(1,"mat-icon",9),r.EFF(2,"language"),r.k0s()()),2&k){const m=r.XpG(),S=r.sdS(5);r.Y8G("matMenuTriggerFor",S),r.BMQ("aria-label",m.labelLanguage)}}function Vl(k,A){1&k&&(r.j41(0,"mat-icon"),r.EFF(1,"check"),r.k0s())}function hs(k,A){if(1&k){const m=r.RV6();r.j41(0,"button",10),r.bIt("click",function(){const B=u.eBV(m).$implicit,ve=r.XpG();return u.Njj(ve.changeLanguage(B.key))}),r.j41(1,"div",11),r.EFF(2),r.DNE(3,Vl,2,0,"mat-icon",12),r.k0s()()}
3if(2&k){const m=A.$implicit,S=r.XpG();r.Y8G("ngClass",r.eq3(4,Ic,m.key===S.locale)),r.BMQ("aria-label",m.value),r.R7$(2),r.SpI(" ",m.value," "),r.R7$(),r.Y8G("ngIf",m.key===S.locale)}}let fl=(()=>{class k{constructor(m,S,B,ve){this.locale=m,this.window=S,this._language=B,this.labelLanguage="Select your preferred language. Current language is",this.platform$=ve.get(),this.languageMenuOptions=runtimeEnvironment.LANGUAGE_MENU_OPTIONS,this.locale="en-US"===this.locale?"en":this.locale,this.labelLanguage+=` ${runtimeEnvironment.LANGUAGE_MENU_OPTIONS[this.locale]}`}changeLanguage(m){this._language.changeLanguage(m).subscribe(()=>{this.window.location.reload()})}static{this.\u0275fac=function(S){return new(S||k)(r.rXU(r.xe9),r.rXU(Xr.jf),r.rXU(zo.g),r.rXU(Bt.Z))}}static{this.\u0275cmp=r.VBU({type:k,selectors:[["app-language"]],standalone:!1,decls:8,vars:8,consts:[["languageIconButton",""],["languageMenu","matMenu"],[4,"ngIf","ngIfElse"],["id","cy-language-menu",1,"orcid-language-menu-panel"],["mat-menu-item","","class","orcid-language-menu-item",3,"ngClass","click",4,"ngFor","ngForOf"],["mat-button","",1,"orcid-button-light-grey",3,"matMenuTriggerFor"],[1,"row","middle","space-between","button-box","no-wrap"],[1,"col","no-gutters"],["mat-stroked-button","",1,"header-action-button",3,"matMenuTriggerFor"],[1,"material-symbols-outlined"],["mat-menu-item","",1,"orcid-language-menu-item",3,"click","ngClass"],[1,"row","middle","space-between"],[4,"ngIf"]],template:function(S,B){if(1&S&&(r.DNE(0,Rc,7,3,"ng-container",2),r.nI1(1,"async"),r.DNE(2,Kl,3,2,"ng-template",null,0,r.C5r),r.j41(4,"mat-menu",3,1),r.DNE(6,hs,4,6,"button",4),r.nI1(7,"keyvalue"),r.k0s()),2&S){let ve;const lt=r.sdS(3);r.Y8G("ngIf",null==(ve=r.bMT(1,4,B.platform$))?null:ve.columns12)("ngIfElse",lt),r.R7$(4),r.BMQ("aria-label",B.labelLanguage),r.R7$(2),r.Y8G("ngForOf",r.bMT(7,6,B.languageMenuOptions))}},dependencies:[v.YU,v.Sq,v.bT,sa.kk,sa.fb,sa.Cp,Lo.$z,xo.An,v.Jj,v.lG],styles:['[_nghost-%COMP%] > button.orcid-button-light-grey[_ngcontent-%COMP%]{padding:0 7px 0 12px}[_nghost-%COMP%] > button.orcid-button-light-grey[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0 7px 0 0}[_nghost-%COMP%] > button.orcid-button-light-grey[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{height:auto;width:auto}[_nghost-%COMP%] > button.header-action-button[_ngcontent-%COMP%]{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;width:40px;min-width:40px;padding:0;margin:0;height:40px;line-height:40px}[_nghost-%COMP%] > button.header-action-button[_ngcontent-%COMP%]:focus-visible{box-shadow:inset 0 0 0 2px var(--orcid-color-ui-focus, #1098ff);outline:none}[_nghost-%COMP%] > button.header-action-button[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{width:24px;height:24px;font-size:24px;line-height:24px;overflow:visible;margin:0;color:var(--orcid-color-ui-background-darkest, #212121)}[_nghost-%COMP%] > button.header-action-button[_ngcontent-%COMP%] .filled[_ngcontent-%COMP%]{font-variation-settings:"FILL" 1}'],changeDetection:0})}}return k})();var hl=o(21105),Xo=o(91438);function Nc(k,A){if(1&k){const m=r.RV6();r.j41(0,"button",31),r.bIt("menuOpened",function(){u.eBV(m);const B=r.XpG();return u.Njj(B.state=!0)})("menuClosed",function(){u.eBV(m);const B=r.XpG();return u.Njj(B.state=!1)}),r.EFF(1,"\n "),r.j41(2,"div",32),r.EFF(3,"\n "),r.nrm(4,"img",19),r.EFF(5,"\n "),r.j41(6,"span",33),r.EFF(7),r.k0s(),r.EFF(8,"\n\n "),r.j41(9,"mat-icon"),r.EFF(10,"expand_more"),r.k0s(),r.EFF(11,"\n "),r.k0s(),r.EFF(12,"\n "),r.k0s()}if(2&k){const m=r.XpG(),S=r.sdS(14);r.Y8G("matMenuTriggerFor",S),r.BMQ("aria-label",m.labelUserMenu+" "+m.displayName),r.R7$(7),r.JRh(m.displayName)}}function Ca(k,A){if(1&k){const m=r.RV6();r.j41(0,"button",34),r.bIt("menuOpened",function(){u.eBV(m);const B=r.XpG();return u.Njj(B.state=!0)})("menuClosed",function(){u.eBV(m);const B=r.XpG();return u.Njj(B.state=!1)}),r.EFF(1,"\n "),r.j41(2,"mat-icon",35),r.EFF(3,"account_circle"),r.k0s(),r.EFF(4,"\n "),r.k0s()}if(2&k){const m=r.XpG(),S=r.sdS(14);r.Y8G("matMenuTriggerFor",S),r.BMQ("aria-label",m.labelUserMenu+" "+m.dis
3playName)}}function es(k,A){if(1&k){const m=r.RV6();r.j41(0,"button",36),r.bIt("click",function(){u.eBV(m);const B=r.XpG();return u.Njj(B.goto("signin"))}),r.EFF(1,"\n "),r.j41(2,"mat-icon",37),r.EFF(3,"account_circle"),r.k0s(),r.EFF(4,"\n "),r.k0s()}if(2&k){const m=r.XpG();r.BMQ("aria-label",m.labelSigninRegister)}}function Na(k,A){if(1&k){const m=r.RV6();r.j41(0,"button",38),r.bIt("click",function(){u.eBV(m);const B=r.XpG();return u.Njj(B.goto("signin"))}),r.EFF(1,"\n "),r.qex(2),r.pXf(3,5),r.bVm(),r.EFF(4,"\xa0/\xa0"),r.qex(5),r.pXf(6,6),r.bVm(),r.EFF(7,"\n "),r.k0s()}if(2&k){const m=r.XpG();r.BMQ("aria-label",m.labelSigninRegister)}}function zl(k,A){1&k&&r.nrm(0,"img",45)}function Xl(k,A){1&k&&r.nrm(0,"img",46)}function Ja(k,A){if(1&k&&(r.j41(0,"mat-icon",42),r.DNE(1,zl,1,0,"img",43),r.EFF(2,"\n "),r.DNE(3,Xl,1,0,"img",44),r.EFF(4,"\n "),r.k0s()),2&k){const m=r.XpG(2);r.R7$(),r.Y8G("ngIf",0===m.inboxUnread),r.R7$(2),r.Y8G("ngIf",m.inboxUnread>0)}}function Au(k,A){if(1&k&&(r.j41(0,"mat-icon",47),r.EFF(1),r.k0s()),2&k){const m=r.XpG(2);r.AVh("unread",m.inboxUnread>0),r.R7$(),r.JRh(m.inboxUnread>0?"notifications_unread":"notifications")}}function Md(k,A){if(1&k){const m=r.RV6();r.j41(0,"button",39),r.bIt("click",function(){u.eBV(m);const B=r.XpG();return u.Njj(B.goto("inbox","fromHeaderButton"))}),r.EFF(1,"\n "),r.DNE(2,Ja,5,2,"mat-icon",40),r.EFF(3,"\n "),r.DNE(4,Au,2,3,"mat-icon",41),r.EFF(5,"\n "),r.k0s()}if(2&k){const m=r.XpG();r.Y8G("matTooltip",m.inboxUnread>0?m.notificationTooltipActive:m.notificationTooltip),r.BMQ("aria-label",m.inboxUnread>0?m.notificationi18nActive:m.notificationi18n),r.R7$(2),r.Y8G("ngIf",m.platform.columns12),r.R7$(2),r.Y8G("ngIf",!m.platform.columns12)}}function pl(k,A){1&k&&r.nrm(0,"img",49)}function aa(k,A){if(1&k&&(r.j41(0,"mat-icon"),r.DNE(1,pl,1,0,"img",48),r.k0s()),2&k){const m=r.XpG();r.R7$(),r.Y8G("ngIf",0===m.inboxUnread)}}function la(k,A){1&k&&(r.j41(0,"mat-icon"),r.nrm(1,"img",50),r.k0s())}function vd(k,A){if(1&k){const m=r.RV6();r.j41(0,"button",51),r.bIt("click",function(){u.eBV(m);const B=r.XpG();return u.Njj(B.goto("account"))}),r.EFF(1,"\n "),r.j41(2,"mat-icon"),r.EFF(3,"settings"),r.k0s(),r.EFF(4,"\n "),r.j41(5,"span"),r.pXf(6,7),r.k0s(),r.EFF(7,"\n "),r.k0s()}}function Lc(k,A){if(1&k){const m=r.RV6();r.j41(0,"button",52),r.bIt("click",function(){u.eBV(m);const B=r.XpG();return u.Njj(B.goto("developer-tools"))}),r.EFF(1,"\n "),r.j41(2,"mat-icon"),r.EFF(3,"code"),r.k0s(),r.EFF(4,"\n "),r.j41(5,"span"),r.pXf(6,8),r.k0s(),r.EFF(7,"\n "),r.k0s()}}function Hl(k,A){if(1&k){const m=r.RV6();r.j41(0,"button",53),r.bIt("click",function(){u.eBV(m);const B=r.XpG();return u.Njj(B.goto("self-service"))}),r.EFF(1,"\n "),r.j41(2,"mat-icon"),r.EFF(3,"build"),r.k0s(),r.EFF(4,"\n "),r.j41(5,"span"),r.pXf(6,9),r.k0s(),r.EFF(7,"\n "),r.k0s()}}let ts=(()=>{class k{constructor(m,S,B,ve,lt,Ot,Ft){this._router=m,this._userInfo=S,this.window=B,this._inboxService=lt,this._togglz=Ot,this.observabilityEventService=Ft,this.hideSignedOutAccount=!1,this.state=!1,this.labelSigninRegister="Sign in to ORCID or register for your ORCID iD",this.labelUserMenu="User menu",this.notificationTooltipActive="You have unread notifications",this.notificationTooltip="Notifications inbox",this.notificationi18n="Open notification inbox",this.notificationi18nActive="You have unread notifications. Open notification inbox",this.inboxUnread=0,S.getUserSession().subscribe(Kt=>{Kt.loggedIn?(this.userInfo=Kt.userInfo,this.displayName=Kt.displayName,this.isAccountDelegate=Kt.userInfo.REAL_USER_ORCID===Kt.userInfo.EFFECTIVE_USER_ORCID):(this.userInfo=null,this.displayName=null)}),ve.get().subscribe(Kt=>{this.platform=Kt})}ngOnInit(){this._inboxService.retrieveUnreadCount().pipe((0,Ma.p)(m=>null!==m)).subscribe(m=>{this.userJourney="orcid_notifications",this.observabilityEventService.startJourney(this.userJourney,{inboxUnread:m,notificationsEnabled:m>0}),this.inboxUnread=m})}goto(m,S){"my-orcid"===m?this._router.navigate([Jn.Tu.myOrcid]):"signin"===m?this._router.navigate([Jn.Tu.signin]):"inbox"===m?(this.observabilityEventService.recordEvent(this.userJourney,S),this._router.navigate([Jn.Tu.inbox])):"account"===m?this._router.navigate([Jn.Tu.account]):"trusted-parties"===m||"trusted-parties"===m?this._router.navigate([Jn.Tu.trustedParties]):"developer-tools"===m?this._router.navigate([Jn.Tu.developerTools]):this.window.location.href=runtimeEnvironment.BASE_URL+m}
3navigateTo(m){"/signout"===m&&runtimeEnvironment.proxyMode?this._userInfo.noRedirectLogout().subscribe():this.window.location.href=m}static{this.\u0275fac=function(S){return new(S||k)(r.rXU(ut.Ix),r.rXU(He.DL),r.rXU(Xr.jf),r.rXU(Bt.Z),r.rXU(hl.U),r.rXU(Pn.v),r.rXU(Ur.s))}}static{this.\u0275cmp=r.VBU({type:k,selectors:[["app-user-menu"]],inputs:{hideSignedOutAccount:"hideSignedOutAccount"},standalone:!1,decls:71,vars:12,consts:()=>{let m,S,B,ve,lt,Ot,Ft,Kt,fn;return m="\n View my ORCID record\n ",S="Notifications inbox",B="Trusted parties",ve="Logout",lt="Sign in",Ot="Register",Ft="Account settings ",Kt="Developer tools ",fn="Member tools ",[["menu","matMenu"],m,S,B,ve,lt,Ot,Ft,Kt,fn,["role","navigation"],["class","user-menu-button","mat-button","","color","primary","id","cy-user-info",3,"matMenuTriggerFor","menuOpened","menuClosed",4,"ngIf"],["mat-stroked-button","","class","header-action-button","id","cy-user-info-mobile",3,"matMenuTriggerFor","menuOpened","menuClosed",4,"ngIf"],["mat-stroked-button","","class","header-action-button","id","cy-mobile-signin-button",3,"click",4,"ngIf"],["mat-button","","color","primary","class","user-menu-button","id","menu-signin-button",3,"click",4,"ngIf"],["mat-stroked-button","","class","user-menu-button-icon","id","cy-inbox-button",3,"matTooltip","click",4,"ngIf"],["id","cy-user-menu",1,"user-menu"],["mat-menu-item","","id","cy-my-orcid",1,"main-button",3,"click"],[1,"row","main-button-container"],["src","./assets/vectors/profile-icon.svg","alt",""],[1,"col","name-container"],[1,"mat-headline-6"],[1,"mat-caption"],["mat-menu-item","","id","cy-inbox",3,"click"],[4,"ngIf"],[1,"notifcation-number"],["mat-menu-item","","id","cy-account-settings",3,"click",4,"ngIf"],["mat-menu-item","","id","cy-trusted-parties-panel",3,"click"],["mat-menu-item","","id","cy-developer-tools",3,"click",4,"ngIf"],["mat-menu-item","","id","cy-self-service",3,"click",4,"ngIf"],["mat-menu-item","","id","cy-signout",3,"click"],["mat-button","","color","primary","id","cy-user-info",1,"user-menu-button",3,"menuOpened","menuClosed","matMenuTriggerFor"],[1,"user-menu-container"],[1,"name-text-container"],["mat-stroked-button","","id","cy-user-info-mobile",1,"header-action-button",3,"menuOpened","menuClosed","matMenuTriggerFor"],[1,"material-symbols-outlined","filled","signed-in"],["mat-stroked-button","","id","cy-mobile-signin-button",1,"header-action-button",3,"click"],[1,"material-symbols-outlined","filled"],["mat-button","","color","primary","id","menu-signin-button",1,"user-menu-button",3,"click"],["mat-stroked-button","","id","cy-inbox-button",1,"user-menu-button-icon",3,"click","matTooltip"],["matBadgeSize","small","matBadgeColor","warn","class","material-icons-outlined",4,"ngIf"],["class","material-symbols-outlined",3,"unread",4,"ngIf"],["matBadgeSize","small","matBadgeColor","warn",1,"material-icons-outlined"],["src","./assets/vectors/notification-button.svg","alt","",4,"ngIf"],["src","./assets/vectors/notification-button-active.svg","alt","",4,"ngIf"],["src","./assets/vectors/notification-button.svg","alt",""],["src","./assets/vectors/notification-button-active.svg","alt",""],[1,"material-symbols-outlined"],["class","bell-icon","src","./assets/vectors/notification-button.svg","alt","",4,"ngIf"],["src","./assets/vectors/notification-button.svg","alt","",1,"bell-icon"],["src","./assets/vectors/notification-button-active.svg"],["mat-menu-item","","id","cy-account-settings",3,"click"],["mat-menu-item","","id","cy-developer-tools",3,"click"],["mat-menu-item","","id","cy-self-service",3,"click"]]},template:function(S,B){if(1&S){const ve=r.RV6();r.j41(0,"section",10),r.EFF(1,"\n "),r.DNE(2,Nc,13,3,"button",11),r.EFF(3,"\n "),r.DNE(4,Ca,5,2,"button",12),r.EFF(5,"\n "),r.DNE(6,es,5,1,"button",13),r.EFF(7,"\n "),r.DNE(8,Na,8,1,"button",14),r.EFF(9,"\n "),r.DNE(10,Md,6,4,"button",15),r.EFF(11,"\n"),r.k0s(),r.EFF(12,"\n"),r.j41(13,"mat-menu",16,0),r.EFF(15,"\n "),r.j41(16,"button",17),r.bIt("click",function(){return u.eBV(ve),u.Njj(B.goto("my-orcid"))}),r.EFF(17,"\n "),r.j41(18,"div",18),r.EFF(19,"\n "),r.nrm(20,"img",19),r.EFF(21,"\n "),r.j41(22,"div",20),r.EFF(23,"\n "),r.j41(24,"div",21),r.EFF(25),r.k0s(),r.EFF(26,"\n "),r.j41(27,"div",22),r.pXf(28,1),r.k0s(),r.EFF(29,"\n "),r.k0s(),r.EFF(30,"\n "),r.k0s(),r.EFF(31,"\n "),r.k0s(),r.EFF(32,"\n "),r.j41(33,"button",23),r.bIt("click",function(){return u.eBV(ve),u.Njj(B.goto("inbox","fromMenuButton"))}),r.EFF(34,"\n "),r.DNE(35,aa,2,1,"mat-icon",24),r.EFF(36,"\n "),r.DNE(37,la,2,0,"mat-icon",24),r.EFF(38,"\n "),r.j41(39,"span"),r.pXf(40,2),r.k0s(),r.j41(41,"span",25),r.EFF(42),r.k0s(),r.EFF(43,"\n "),r.k0s(),r.EFF(44,"\n "),r.DNE(45,vd,8,0,"button",26),r.EFF(46,"\n "),r.j41(47,"button",27),r.bIt("click",function(){return u.eBV(ve),u.Njj(B.goto("trusted-parties"))}),r.EFF(48,"\n "),r.j41(49,"mat-icon"),r.EFF(50,"key"),r.k0s(),r.EFF(51,"\n "),r.j41(52,"span"),r.pXf(53,3),r.k0s(),r.EFF(54,"\n "),r.k0s(),r.EFF(55,"\n "),r.DNE(56,Lc,8,0,"button",28),r.EFF(57,"\n "),r.DNE(58,Hl,8,0,"button",29),r.EFF(59,"\n "),r.j41(60,"button",30),r.bIt("click",function(){return u.eBV(ve),u.Njj(B.navigateTo("/signout"))}),r.EFF(61,"\n "),r.j41(62,"mat-icon"),r.EFF(63,"exit_to_app"),r.k0s(),r.EFF(64,"\n "),r.j41(6
35,"span"),r.pXf(66,4),r.k0s(),r.EFF(67,"\n "),r.k0s(),r.EFF(68,"\n"),r.k0s(),r.EFF(69,"\n"),r.EFF(70,"\n")}2&S&&(r.R7$(2),r.Y8G("ngIf",B.userInfo&&B.platform.columns12),r.R7$(2),r.Y8G("ngIf",B.userInfo&&!B.platform.columns12),r.R7$(2),r.Y8G("ngIf",!B.userInfo&&!B.platform.columns12&&!B.hideSignedOutAccount),r.R7$(2),r.Y8G("ngIf",!B.userInfo&&B.platform.columns12),r.R7$(2),r.Y8G("ngIf",B.userInfo),r.R7$(15),r.JRh(B.displayName),r.R7$(10),r.Y8G("ngIf",0===B.inboxUnread),r.R7$(2),r.Y8G("ngIf",B.inboxUnread>0),r.R7$(5),r.SpI(" (",B.inboxUnread,")"),r.R7$(3),r.Y8G("ngIf",B.userInfo&&("false"===B.userInfo.IN_DELEGATION_MODE||"true"===B.userInfo.DELEGATED_BY_ADMIN)),r.R7$(11),r.Y8G("ngIf",B.userInfo&&("false"===B.userInfo.IN_DELEGATION_MODE||"true"===B.userInfo.DELEGATED_BY_ADMIN)&&"true"!=B.userInfo.MEMBER_MENU),r.R7$(2),r.Y8G("ngIf",B.userInfo&&B.userInfo.SELF_SERVICE_MENU))},dependencies:[v.bT,sa.kk,sa.fb,sa.Cp,Lo.$z,xo.An,Xo.e],styles:[".main-button[_ngcontent-%COMP%]{border-bottom:1px rgba(0,0,0,.12) solid}.mat-icon[_ngcontent-%COMP%]{color:#212121}",'section[_ngcontent-%COMP%]{display:flex;flex-wrap:nowrap}.columns-4 [_nghost-%COMP%] section[_ngcontent-%COMP%], .columns-8 [_nghost-%COMP%] section[_ngcontent-%COMP%]{gap:16px}.columns-4 [_nghost-%COMP%] [mat-stroked-button][_ngcontent-%COMP%], .columns-8 [_nghost-%COMP%] [mat-stroked-button][_ngcontent-%COMP%]{margin:0}[_nghost-%COMP%] .header-action-button[_ngcontent-%COMP%]{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;min-width:40px;padding:0;margin:0}[_nghost-%COMP%] .header-action-button[_ngcontent-%COMP%]:focus-visible{box-shadow:inset 0 0 0 2px var(--orcid-color-ui-focus, #1098ff);outline:none}[_nghost-%COMP%] .header-action-button[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{width:24px;height:24px;font-size:24px;line-height:24px;overflow:visible;margin:0;color:var(--orcid-color-ui-background-darkest, #212121)}[_nghost-%COMP%] .header-action-button[_ngcontent-%COMP%] .filled[_ngcontent-%COMP%]{font-variation-settings:"FILL" 1}[_nghost-%COMP%] .header-action-button.mat-mdc-outlined-button[_ngcontent-%COMP%]{height:40px;line-height:40px}[_nghost-%COMP%] .header-action-button[_ngcontent-%COMP%] .signed-in[_ngcontent-%COMP%]{color:var(--orcid-color-brand-secondary-dark, #085c77)}.main-button[_ngcontent-%COMP%]{height:auto}.main-button[_ngcontent-%COMP%] .main-button-container[_ngcontent-%COMP%]{cursor:pointer;padding-bottom:8px;padding-top:4px;align-items:start;width:auto;flex-wrap:nowrap;max-width:248px;overflow:hidden;text-overflow:ellipsis}.main-button[_ngcontent-%COMP%] .main-button-container[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{height:36px;width:36px}.main-button[_ngcontent-%COMP%] .main-button-container[_ngcontent-%COMP%] .name-container[_ngcontent-%COMP%]{flex-direction:column;align-items:start;overflow:hidden}.main-button[_ngcontent-%COMP%] .main-button-container[_ngcontent-%COMP%] .name-container[_ngcontent-%COMP%] .mat-caption[_ngcontent-%COMP%]{text-align:left}.main-button[_ngcontent-%COMP%] .main-button-container[_ngcontent-%COMP%] .name-container[_ngcontent-%COMP%] .mat-headline-6[_ngcontent-%COMP%]{margin:0;width:199px;overflow:hidden;text-overflow:ellipsis;white-space:initial;word-break:break-word}[_nghost-%COMP%] .user-menu-button[_ngcontent-%COMP%]{max-width:100%}.columns-4 [_nghost-%COMP%] .user-menu-button[_ngcontent-%COMP%]{padding:0}[_nghost-%COMP%] .user-menu-button[_ngcontent-%COMP%] .user-menu-button-container[_ngcontent-%COMP%]{flex-direction:row}[_nghost-%COMP%] .user-menu-button[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{height:24px;width:24px;margin-right:10px}.columns-4 [_nghost-%COMP%] .user-menu-button[_ngcontent-%COMP%] img[_ngcontent-%COMP%], .columns-8 [_nghost-%COMP%] .user-menu-button[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{height:24px;width:24px;margin:0}.columns-4 [_nghost-%COMP%] .name-container[_ngcontent-%COMP%]{padding:0}[_nghost-%COMP%] .small-login-icon[_ngcontent-%COMP%]{margin-right:12px}span.name-text-container[_ngcontent-%COMP%]{overflow:hidden;max-width:102%;display:inline-block;text-overflow:ellipsis;width:fit-content}[mat-stroked-button][_ngcontent-%COMP%]{min-width:40px;padding:0;margin:0 16px}.bell-icon[_ngcontent-%COMP%]{margin-inline-start:3px;margin-inline-end:14px}.user-menu-container[_ngcontent-%COMP%]{display:flex;overflow:hidden;white-space:nowrap}[_nghost-%COMP%] .mdc-button__label{max-width:100%}[_nghost-%COMP%] .user-menu-button-icon[_ngcontent-%COMP%] mat-icon{height:unset;margin-left:7px;overflow:visible}.columns-4 [_nghost-%COMP%] .user-menu-button-icon[_ngcontent-%COMP%], .columns-8 [_nghost-%COMP%] .user-menu-button-icon[_ngcontent-%COMP%]{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;width:40px;min-width:40px;padding:0;margin:0;height:40px;line-height:40px}.columns-4 [_nghost-%COMP%] .user-menu-button-icon[_ngcontent-%COMP%]:focus-visible, .columns-8 [_nghost-%COMP%] .user-menu-button-icon[_ngcontent-%COMP%]:focus-visible{box-shadow:inset 0 0 0 2px var(--orcid-color-ui-focus, #1098ff);outline:none}.columns-4 [_nghost-%COMP%] .user-menu-button-icon[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%], .columns-8 [_nghost-%COMP%] .user-menu-button-icon[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{width:24px;height:24px;font-size:24px;line-height:24px;overflow:visible;margin:0;color:var(--orcid-color-ui-background-darkest, #212121)}.columns-4 [_nghost-%COMP%] .user-menu-button-icon[_ngcontent-%COMP%] .filled[_ngcontent-%COMP%], .columns-8 [_nghost-%COMP%] .user-menu-button-icon[_ngcontent-%COMP%] .filled[_ngcontent-%COMP%]{font-variation-settings:"FILL" 1}.columns-4 [_nghost-%COMP%] .user-menu-button-icon[_ngcontent-%COMP%] mat-icon, .columns-8 [_nghost-%COMP%] .user-menu-button-icon[_ngcontent-%COMP%] mat-icon{height:24px;margin-left:0}.columns-4 [_nghost-%COMP%] .user-menu-button-icon[_ngcontent-%COMP%] .unread[_ngcontent-%COMP%], .columns-8 [_nghost-%COMP%] .user-menu-button-icon[_ngcontent-%COMP%] .unread[_ngcontent-%COMP%]{color:var(--orcid-color-state-warning-dark, #d32f2f)}.notifcation-number[_ngcontent-%COMP%]{margin-inline-start:4px}']})}}return k})();function Gs(k,A){1&k&&r.nrm(0,"app-user-menu")}function Ho(k,A){if(1&k&&(r.j41(0,"div",3),r.DNE(1,Gs,1,0,"app-user-menu",4),r.nrm(2,"app-language",5),r.k0s()),2&k){const m=r.XpG();r.R7$(),r.Y8G("ngIf",m.signinRegisterButton),r.R7$(),r.BMQ("aria-label",m.labelSearch)}}function Ql(k,A){if(1&k){const m=r.RV6();r.j41(0,"form",6),r.bIt("submit",function(){u.eBV(m);const B=r.XpG();return u.Njj(B.search(B.whereToSearchSelected,B.whatToSearch))}),r.j41(1,"label",7),r.pXf(2,0),r.k0s(),r.j41(3,"div",8),r.EFF(4,"Search on"),r.k0s(),r.j41(5,"div",9)(6,"input",10),r.mxI("ngModelChange",function(B){u.eBV(m);const ve=r.XpG();return r.DH7(ve.whatToSearch,B)||(ve.whatToSearch=B),u.Njj(B)}),r.k0s()(),r.j41(7,"button",11)(8,"mat-icon",12),r.EFF(9,"search"),r.k0s()()()}if(2&k){const m=r.XpG();r.R7$(6),r.R50("ngModel",m.whatToSearch),r.R7$(),r.BMQ("aria-label",m.labelSearch)}}let ml=(()=>{class k{constructor(m,S,B,ve,lt,Ot,Ft,Kt){this.window=m,this._search=S,this._platform=B,this._togglz=ve,this.router=lt,this.route=Ot,this._changeDetection=Ft,this.location=Kt,this.labelSearch="Search the ORCID registry",this.signinRegisterButton=!0,this.whereToSearch=[this.firstLetterUppercase("registry"),this.firstLetterUppercase("website")],this.whereToSearchSelected=this.firstLetterUppercase("registry"),this.hideForm=!1}changeWhereToSearch(m){this.whereToSearchSelected=m}setWhatToSearch(m){this.whatToSearch=Object.keys(m).length&&m.searchQuery?m.searchQuery:""}
3ngOnInit(){this._platform.platformSubject.subscribe(m=>{this.platform=m}),this.router.events.subscribe(()=>this.signinRegisterButton=this.location.path()!==`/${Jn.Tu.signin}`&&this.location.path()!==`/${Jn.Tu.register}`)}search(m,S){m===this.firstLetterUppercase("registry")?this.router.navigate(["/orcid-search/search"],{queryParams:{searchQuery:S.trim()}}):this.window.location.href="/search/node/"+S}goTo(m){this.window.location.href=m}firstLetterUppercase(m){return m.charAt(0).toUpperCase()+m.slice(1)}static{this.\u0275fac=function(S){return new(S||k)(r.rXU(Xr.jf),r.rXU(Pc.S),r.rXU(Bt.Z),r.rXU(Pn.v),r.rXU(ut.Ix),r.rXU(ut.nX),r.rXU(_.gRc),r.rXU(a.aZ))}}static{this.\u0275cmp=r.VBU({type:k,selectors:[["app-search"]],inputs:{hideForm:"hideForm"},standalone:!1,decls:2,vars:2,consts:()=>{let m;return m="Search the ORCID registry",[m,["class","row h-end language-menu no-wrap",4,"ngIf"],["role","search","class","row h-end search-box middle",3,"submit",4,"ngIf"],[1,"row","h-end","language-menu","no-wrap"],[4,"ngIf"],["role","navigation","id","cy-language-comp"],["role","search",1,"row","h-end","search-box","middle",3,"submit"],["id","searchLabel",1,"orc-ui-font-small-print","text-right","mr-4","w-25"],["id","ariaLabelWhere","hidden",""],[1,"input-box-new-info"],["autocomplete","off","name","whatToSearch","type","text","aria-labelledby","searchLabel","id","cy-search",1,"orc-font-body",3,"ngModelChange","ngModel"],["type","submit","matRipple","","id","cy-search-btn",1,"col","middle","search-icon"],["matSuffix",""]]},template:function(S,B){1&S&&r.DNE(0,Ho,3,2,"div",1)(1,Ql,10,2,"form",2),2&S&&(r.Y8G("ngIf",B.platform.columns12),r.R7$(),r.Y8G("ngIf",!B.hideForm))},dependencies:[v.bT,xo.An,fo.qT,fo.me,fo.BC,fo.cb,fo.vS,fo.cV,va.g,Ps.M,fl,ts],styles:[".search-where[_ngcontent-%COMP%]{background-color:#616161;color:#fff}.input-box[_ngcontent-%COMP%] input[_ngcontent-%COMP%]::placeholder{color:#707070}.input-box[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{border-color:#616161}.input-box-new-info[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{border:solid 1px #616161}.input-box-new-info[_ngcontent-%COMP%] [_ngcontent-%COMP%]::placeholder{color:#707070}.input-box-new-info[_ngcontent-%COMP%] [_ngcontent-%COMP%]:-ms-input-placeholder{color:#707070}.search-icon[_ngcontent-%COMP%]{background-color:#616161;color:#fff}.search-box[_ngcontent-%COMP%] .columns-4[_ngcontent-%COMP%], .search-box[_ngcontent-%COMP%] .columns-8[_ngcontent-%COMP%]{background-color:#f5f5f5}","[_nghost-%COMP%]{width:100%}.language-menu[_ngcontent-%COMP%]{margin-bottom:16px}.language-menu[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{height:34px}.language-menu[_ngcontent-%COMP%] button[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{height:34px;width:auto;padding:0 12px}.language-menu[_ngcontent-%COMP%] button[_ngcontent-%COMP%] div[_ngcontent-%COMP%] .col[_ngcontent-%COMP%]{margin:0;padding:0}.advance-search-box[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{padding:0}.search-box[_ngcontent-%COMP%]{flex:1px}.search-box[_ngcontent-%COMP%] > div[_ngcontent-%COMP%], .search-box[_ngcontent-%COMP%] > button[_ngcontent-%COMP%]{height:42px}.search-box[_ngcontent-%COMP%] .search-where[_ngcontent-%COMP%]{width:auto;box-sizing:border-box;border-radius:4px 0 0 4px;padding:0 12px;margin:0}.search-box[_ngcontent-%COMP%] .search-where[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{padding:0 8px;width:auto}.search-box[_ngcontent-%COMP%] .input-box[_ngcontent-%COMP%]{flex-grow:1;max-width:214px}.search-box[_ngcontent-%COMP%] .input-box[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{border-width:1px;border-style:solid;width:100%}.search-box[_ngcontent-%COMP%] .input-box-new-info[_ngcontent-%COMP%]{flex-grow:1;max-width:334px}.search-box[_ngcontent-%COMP%] .input-box-new-info[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{border-radius:3px;margin-left:2px;width:100%}.search-box[_ngcontent-%COMP%] .search-icon[_ngcontent-%COMP%]{width:45px;height:42px;border-radius:0 4px 4px 0;padding-left:9px}.search-box[_ngcontent-%COMP%] .search-icon[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{font-size:24px;height:24px;width:24px}[dir=rtl] [_nghost-%COMP%] .search-box[_ngcontent-%COMP%] .search-icon[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{padding-right:2px}.search-box[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{height:42px;box-sizing:border-box;padding-left:12px;padding-right:12px}.search-box[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{width:12px;height:20px}.columns-8 [_nghost-%COMP%] form[_ngcontent-%COMP%], .columns-4 [_nghost-%COMP%] form[_ngcontent-%COMP%]{flex-wrap:wrap!important}.columns-8 [_nghost-%COMP%] label[_ngcontent-%COMP%], .columns-4 [_nghost-%COMP%] label[_ngcontent-%COMP%]{width:100%;text-align:left;margin-bottom:8px}.columns-8 [_nghost-%COMP%] .search-box[_ngcontent-%COMP%], .columns-4 [_nghost-%COMP%] .search-box[_ngcontent-%COMP%]{padding:12px 0;justify-content:center;max-width:calc(100% - 28px);flex-wrap:initial}.columns-8 [_nghost-%COMP%] .search-box[_ngcontent-%COMP%] .search-where[_ngcontent-%COMP%], .columns-8 [_nghost-%COMP%] .search-box[_ngcontent-%COMP%] .search-icon[_ngcontent-%COMP%], .columns-4 [_nghost-%COMP%] .search-box[_ngcontent-%COMP%] .search-where[_ngcontent-%COMP%], .columns-4 [_nghost-%COMP%] .search-box[_ngcontent-%COMP%] .search-icon[_ngcontent-%COMP%]{flex-shrink:0;border-radius:0}.columns-8 [_nghost-%COMP%] .search-box[_ngcontent-%COMP%] .input-box[_ngcontent-%COMP%], .columns-8 [_nghost-%COMP%] .search-box[_ngcontent-%COMP%] .input-box-new-info[_ngcontent-%COMP%], .columns-4 [_nghost-%COMP%] .search-box[_ngcontent-%COMP%] .input-box[_ngcontent-%COMP%], .columns-4 [_nghost-%COMP%] .search-box[_ngcontent-%COMP%] .input-box-new-info[_ngcontent-%COMP%]{flex-grow:1;max-width:none}.columns-8 [_nghost-%COMP%] .search-box[_ngcontent-%COMP%] .input-box[_ngcontent-%COMP%] input[_ngcontent-%COMP%], .columns-8 [_nghost-%COMP%] .search-box[_ngcontent-%COMP%] .input-box-new-info[_ngcontent-%COMP%] input[_ngcontent-%COMP%], .columns-4 [_nghost-%COMP%] .search-box[_ngcontent-%COMP%] .input-box[_ngcontent-%COMP%] input[_ngcontent-%COMP%], .columns-4 [_nghost-%COMP%] .search-box[_ngcontent-%COMP%] .input-box-new-info[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{width:100%}[dir=rtl] [_nghost-%COMP%] .search-where[_ngcontent-%COMP%]{border-radius:0 4px 4px 0}[dir=rtl] [_nghost-%COMP%] .search-icon[_ngcontent-%COMP%]{border-radius:4px 0 0 4px}button[_ngcontent-%COMP%]{border:none}app-user-menu[_ngcontent-%COMP%]{overflow:hidden}"]})}}return k})(),gl=(()=>{class k{get isOpen(){return this.isOpenValue}set isOpen(m){this.isOpenValue=m}constructor(){this.isOpenValue=!1,this.labelMenu="main menu",this.isOpenChange=new r.bkB}ngOnInit(){}static{this.\u0275fac=function(S){return new(S||k)}}static{this.\u0275cmp=r.VBU({type:k,selectors:[["app-menu-icon"]],inputs:{isOpen:"isOpen"},outputs:{isOpenChange:"isOpenChange"},standalone:!1,decls:3,vars:3,consts:[["mat-stroked-button","","aria-haspopup","true",1,"header-action-button"],[1,"material-symbols-outlined"]],template:function(S,B){1&S&&(r.j41(0,"button",0)(1,"mat-icon",1),r.EFF(2),r.k0s()()),2&S&&(r.BMQ("aria-label",B.labelMenu)("aria-expanded",B.isOpen),r.R7$(2),r.JRh(B.isOpen?"close"
3:"menu"))},dependencies:[Lo.$z,xo.An],styles:['.header-action-button[_ngcontent-%COMP%]{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;width:40px;min-width:40px;padding:0;margin:0;height:40px;line-height:40px}.header-action-button[_ngcontent-%COMP%]:focus-visible{box-shadow:inset 0 0 0 2px var(--orcid-color-ui-focus, #1098ff);outline:none}.header-action-button[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{width:24px;height:24px;font-size:24px;line-height:24px;overflow:visible;margin:0;color:var(--orcid-color-ui-background-darkest, #212121)}.header-action-button[_ngcontent-%COMP%] .filled[_ngcontent-%COMP%]{font-variation-settings:"FILL" 1}']})}}return k})();function La(k,A){if(1&k&&(r.j41(0,"div",4)(1,"div"),r.nrm(2,"p",5),r.k0s()()),2&k){const m=A.$implicit;r.R7$(2),r.Y8G("innerHtml",m.innerHTML,r.npT)}}function js(k,A){if(1&k&&(r.j41(0,"div",4),r.nrm(1,"p",5),r.k0s()),2&k){const m=r.XpG(2);r.R7$(),r.Y8G("innerHtml",m.maintenanceMessage.plainHtml,r.npT)}}function W(k,A){if(1&k&&(r.j41(0,"section",1),r.DNE(1,La,3,1,"div",2)(2,js,2,1,"div",3),r.k0s()),2&k){const m=r.XpG();r.BMQ("aria-label",m.labelMaintenance),r.R7$(),r.Y8G("ngForOf",m.maintenanceMessage.nonClosableElements),r.R7$(),r.Y8G("ngIf",0===m.maintenanceMessage.closableElements.length&&0===m.maintenanceMessage.nonClosableElements.length)}}let be=(()=>{class k{constructor(m,S){this.cdr=S,this.labelMaintenance="Maintenance message",m.getMaintenanceMessages().pipe((0,to.s)(1)).subscribe(B=>{this.maintenanceMessage=B,this.cdr.markForCheck()})}static{this.\u0275fac=function(S){return new(S||k)(r.rXU(Pn.v),r.rXU(_.gRc))}}static{this.\u0275cmp=r.VBU({type:k,selectors:[["app-maintenance-message"]],standalone:!1,decls:1,vars:1,consts:[["class","container",4,"ngIf"],[1,"container"],["class","col l12 m8 s4 middle text-container",4,"ngFor","ngForOf"],["class","col l12 m8 s4 middle text-container",4,"ngIf"],[1,"col","l12","m8","s4","middle","text-container"],[3,"innerHtml"]],template:function(S,B){1&S&&r.DNE(0,W,3,3,"section",0),2&S&&r.Y8G("ngIf",B.maintenanceMessage&&B.maintenanceMessage.plainHtml)},dependencies:[v.Sq,v.bT],styles:[".closable, .text-container[_ngcontent-%COMP%]{border-top:#979797 1px solid}",".text-container[_ngcontent-%COMP%]{text-align:center}"],changeDetection:0})}}return k})();
3const ft=["mobileMenuContainer"],Qt=(k,A)=>({"not-wordpress-display":k,"mobile-nav-overlay":A}),sn=k=>({container:k}),vn=()=>({desktop:!1}),Xi=()=>[],ho=(k,A)=>({$implicit:k,parents:A}),Wi=()=>({logging:!1}),ar=k=>({active:k});function ps(k,A){1&k&&(r.j41(0,"div",19),r.pXf(1,3),r.k0s())}function wa(k,A){if(1&k){const m=r.RV6();r.j41(0,"app-menu-icon",24),r.bIt("click",function(){u.eBV(m);const B=r.XpG(2);return u.Njj(B.toggleMobileMenu())}),r.k0s()}if(2&k){const m=r.XpG(2);r.Y8G("isOpen",m.mobileMenuState)}}function Cd(k,A){if(1&k&&(r.j41(0,"div",20),r.nrm(1,"app-user-menu",21)(2,"app-language",22),r.DNE(3,wa,1,1,"app-menu-icon",23),r.k0s()),2&k){const m=r.XpG();r.R7$(),r.Y8G("hideSignedOutAccount",m.isAuthPatternPage),r.R7$(2),r.Y8G("ngIf",!m.hideMainMenu)}}function Fo(k,A){if(1&k&&(r.j41(0,"div",25),r.nrm(1,"app-search",26),r.k0s()),2&k){const m=r.XpG();r.R7$(),r.Y8G("hideForm",m.isCompactActive)}}function Zl(k,A){1&k&&(r.j41(0,"div",27),r.nrm(1,"app-record-header"),r.k0s())}function ff(k,A){1&k&&r.nrm(0,"div",28)}function hf(k,A){1&k&&(r.j41(0,"div",29),r.nrm(1,"app-search"),r.k0s())}function El(k,A){if(1&k){const m=r.RV6();r.j41(0,"li",38)(1,"button",39),r.bIt("click",function(){u.eBV(m);const B=r.XpG(3);return u.Njj(B.onNavClick("signin","header-signin"))}),r.qex(2),r.pXf(3,4),r.bVm(),r.EFF(4,"\xa0/\xa0"),r.qex(5),r.pXf(6,5),r.bVm(),r.k0s()()}if(2&k){const m=r.XpG(3);r.R7$(),r.Y8G("ngClass",r.eq3(1,ar,"header-signin"===m.activeMenuItemId))}}function wc(k,A){if(1&k&&(r.j41(0,"ul",36),r.DNE(1,El,7,3,"li",37),r.k0s()),2&k){const m=r.XpG(2);r.R7$(),r.Y8G("ngIf",m.checkMenuItemRequirements(r.lJ4(1,Wi)))}}function Su(k,A){if(1&k&&(r.j41(0,"mat-icon"),r.EFF(1),r.k0s()),2&k){const m=r.XpG(2).$implicit;r.R7$(),r.JRh(m.hover?"arrow_drop_up":"arrow_drop_down")}}function Ol(k,A){1&k&&r.eu8(0)}function xc(k,A){if(1&k&&(r.qex(0),r.DNE(1,Ol,1,0,"ng-container",34),r.bVm()),2&k){const m=r.XpG(2).$implicit,S=r.XpG(2).parents;r.XpG();const B=r.sdS(6);r.R7$(),r.Y8G("ngTemplateOutlet",B)("ngTemplateOutletContext",r.l_i(2,ho,m.buttons,S.concat(m.id)))}}function Tu(k,A){if(1&k){const m=r.RV6();r.j41(0,"li",38)(1,"button",42),r.bIt("focus",function(){u.eBV(m);const B=r.XpG().$implicit,ve=r.XpG(2).parents,lt=r.XpG(2);return u.Njj(lt.mouseEnter(ve.concat(B.id)))})("click",function(){u.eBV(m);const B=r.XpG().$implicit,ve=r.XpG(2).parents,lt=r.XpG(2);return u.Njj(lt.click(ve.concat(B.id),B))})("mouseenter",function(){u.eBV(m);const B=r.XpG().$implicit,ve=r.XpG(2).parents,lt=r.XpG(2);return u.Njj(lt.mouseEnter(ve.concat(B.id)))}),r.j41(2,"div",43)(3,"div"),r.EFF(4),r.nI1(5,"uppercase"),r.k0s(),r.DNE(6,Su,2,1,"mat-icon",44),r.k0s()(),r.DNE(7,xc,2,5,"ng-container",44),r.k0s()}if(2&k){const m=r.XpG().$implicit,S=r.XpG(2).parents,B=r.XpG(2);r.R7$(),r.Y8G("ngClass",r.eq3(8,ar,B.isMenuItemActive(m)))("color",B.menuButtonColor(S))("id",m.id),r.R7$(3),r.JRh(r.bMT(5,6,m.label)),r.R7$(2),r.Y8G("ngIf",!B.platform.columns12&&m.buttons.length),r.R7$(),r.Y8G("ngIf",m.hover&&m.buttons.length)}}function pf(k,A){if(1&k&&(r.qex(0),r.DNE(1,Tu,8,10,"li",37),r.bVm()),2&k){const m=A.$implicit,S=r.XpG(4);r.R7$(),r.Y8G("ngIf",!0===S.checkMenuItemRequirements(m.requirements))}}function Jl(k,A){if(1&k&&(r.j41(0,"ul",35),r.DNE(1,pf,2,1,"ng-container",41),r.k0s()),2&k){const m=r.XpG().$implicit;r.R7$(),r.Y8G("ngForOf",m)}}function Pu(k,A){if(1&k&&r.DNE(0,Jl,2,1,"ul",40),2&k){const m=A.parents,S=r.XpG(2);r.Y8G("ngIf",!S.isDesktopThirdLevelMenu(m))}}function Iu(k,A){1&k&&r.eu8(0)}function Fc(k,A){if(1&k){const m=r.RV6();r.j41(0,"nav",30),r.bIt("mouseleave",function(){u.eBV(m);const B=r.XpG();return u.Njj(B.mouseLeave())}),r.j41(1,"div",31)(2,"div",32,1),r.DNE(4,wc,2,2,"ul",33)(5,Pu,1,1,"ng-template",null,2,r.C5r)(7,Iu,1,0,"ng-container",34),r.k0s(),r.nrm(8,"mat-divider",35),r.k0s()()}if(2&k){const m=r.sdS(6),S=r.XpG();r.Y8G("ngClass",r.l_i(10,Qt,S.notWordpressDisplay,!S.platform.columns12&&S.mobileMenuState))("cdkTrapFocus",!S.platform.columns12&&S.mobileMenuState)("cdkTrapFocusAutoCapture",!1),r.BMQ("aria-label",S.labelMenu)("aria-modal",!(S.platform.columns12||!S.mobileMenuState)||null)("aria-hidden",!S.platform.columns12&&!S.mobileMenuState||null),r.R7$(2),r.Y8G("ngClass",r.eq3(13,sn,S.platform.columns12)),r.R7$(2),r.Y8G("ngIf",S.checkMenuItemRequirements(r.lJ4(15,vn))),r.R7$(3),r.Y8G("ngTemplateOutlet",m)("ngTemplateOutletContext",r.l_i(17,ho,S.menu,r.lJ4(16,Xi)))}}const bd=[Jn.Tu.signin,Jn.Tu.register,Jn.Tu.resetPassword,Jn.Tu.myOrcid,"members","orcid-search"];let Ru=(()=>{class k{set currentRoute(m){this._currentRoute=m,this.setChildOfCurrentRouteAsSecondaryMenu()}get currentRoute(){return this._currentRoute}constructor(m,S,B,ve,lt,Ot,Ft,Kt,fn){this._router=m,this.window=B,this._user=Ft,this._compactService=Kt,this._recordHeaderState=fn,this.hideMainMenu=!1,this.isAuthPatternPage=!1,this.activeMenuItemId=null,this._bodyOverflowBeforeLock=null,this.mobileMenuState=!1,this.menu=this.createMenuList(jl),this.labelLogo="Connecting research and researchers",this.labelMenu="main menu",this.isCompactActive=!1,this.loadingUserRecord$=this._recordHeaderState.loadingUserRecord$,this.isPublicRecord$=this._recordHeaderState.isPublicRecord$,this.affiliations$=this._recordHeaderState.affiliations$,this.displaySideBar$=this._recordHeaderState.displaySideBar$,this.displayBiography$=this._recordHeaderState.displayBiography$,this.recordSummaryOpen$=this._recordHeaderState.recordSummaryOpen$,this.hasCreditOrOtherNames$=this._recordHeaderState.hasCreditOrOtherNames$,m.events.pipe((0,Ma.p)(un=>un instanceof ut.Z)).subscribe(un=>{this.currentRoute=m.url,this.activeMenuItemId=null,this.setChildOfCurrentRouteAsSecondaryMenu()}),S.get().subscribe(un=>this.platform=un),ve.getUserSession().subscribe(un=>{this.user=un.userInfo}),lt.getTogglz().subscribe(un=>{this.togglz=un}),lt.getStateOf(V.i.WORDPRESS_HOME_PAGE).pipe((0,_s.M)(un=>{this.notWordpressDisplay=!un})).subscribe(),this._compactService.compactActive$.subscribe(un=>this.isCompactActive=un),m.events.subscribe(()=>this.updateRouteFlags(Ot.path())),this.updateRouteFlags(Ot.path())}updateRouteFlags(m){const S=m.split("?")[0].split("#")[0];this.hideMainMenu=!(""===S||"/"===S);const B=S.split("/")[1]||"";this.isAuthPatternPage=bd.includes(B)}ngOnInit(){}ngAfterViewInit(){}ngOnDestroy(){this.unlockBodyScroll()}onEscapeKey(){this.platform&&!this.platform.columns12&&this.mobileMenuState&&this.setMobileMenuOpen(!1)}toggleMobileMenu(){this.setMobileMenuOpen(!this.mobileMenuState)}setMobileMenuOpen(m){this.mobileMenuState=m,m?(this.lockBodyScroll(),this.platform&&!this.platform.columns12&&setTimeout(()=>this.mobileMenuContainer?.nativeElement.focus())):(this.unlockBodyScroll(),this.activeMenuItemId=null)}isMenuItemActive(m){return!(!m.activeRoute&&!m.route)&&"/"+(m.activeRoute||m.route)===this.currentRoute||this.activeMenuItemId===m.id}lockBodyScroll(){null===this._bodyOverflowBeforeLock&&(this._bodyOverflowBeforeLock=this.window.document.body.style.overflow,this.window.document.body.style.overflow="hidden")}unlockBodyScroll(){null!==this._bodyOverflowBeforeLock&&(this.window.document.body.style.overflow=this._bodyOverflowBeforeLock,this._bodyOverflowBeforeLock=null)}mouseLeave(){this.platform.columns12&&this.setChildOfCurrentRouteAsSecondaryMenu()}setChildOfCurrentRouteAsSecondaryMenu(){this.menu.forEach(m=>{m.hover=null!=m.activeRoute&&"/"!==this.currentRoute?"/"+m.activeRoute===this.currentRoute:"/"+m.route===this.currentRoute})}click(m,S){this.platform.columns12?void 0!==S.route&&(this.activeMenuItemId=S.id,this.goto(S.route)):void 0===S.route||S.buttons&&S.buttons.length?this.updateMenu(this.menu,m,!0):(this.activeMenuItemId=S.id,this.goto(S.route))}onRecordSummaryOpenChange(m){this._recordHeaderState.setRecordSummaryOpen(m)}mouseEnter(m){this.platform.columns12&&this.updateMenu(this.menu,m)}updateMenu(m,S,B){if(S.length){const ve=S.shift();m?.forEach(lt=>{lt.id===ve?S.length>0?(lt.hover=!0,this.updateMenu(lt.buttons,S,B)):lt.hover=!B||!lt.hover:lt.hover=!1})}}createMenuList(m){const S=[];return m&&m.length?(m.forEach(B=>{const ve={...B,hover:!1,active:!1,buttons:this.createMenuList(B.buttons)};S.push(ve)}),S):[]}checkMenuItemRequirements(m){if(!m)return!0;
3if(typeof m.desktop<"u"&&m.desktop&&!this.platform.columns12)return!1;if(typeof m.desktop<"u"&&!m.desktop&&this.platform.columns12)return!1;if(typeof m.logging<"u"&&m.logging&&!this.user)return!1;if(typeof m.logging<"u"&&!m.logging&&this.user)return!1;if(m.requiresAll)for(const S of m.requiresAll){const B=Object.keys(S)[0],ve=S[B];if(!this.user||!(this.user[B]===ve||typeof this.user[B]>"u"&&"false"===ve))return!1}else{if(m.requiresAny){for(const S of m.requiresAny){const B=Object.keys(S)[0],ve=S[B];if(this.user&&(this.user[B]===ve||typeof this.user[B]>"u"&&"false"===ve))return!0}return!1}if(typeof m.togglz<"u"){if(!this.togglz||!this.togglz.messages)return!1;let S=!1;if(Object.keys(m.togglz).forEach(B=>{Object.keys(this.togglz.messages).indexOf(B)?this.togglz.messages[B]!==m.togglz[B]&&(S=!0):S=!0}),S)return!1}}return!0}isDesktopThirdLevelMenu(m){return m.length>1&&this.platform.columns12}isDesktopSecondLevelMenu(m){return 1===m.length&&this.platform.columns12}isMobileThirdLevelMenu(m){return m.length>1&&!this.platform.columns12}menuButtonColor(m){return this.isDesktopSecondLevelMenu(m)||this.isMobileThirdLevelMenu(m)?"primary":"null"}onNavClick(m,S){this.activeMenuItemId=S,this.goto(m)}goto(m){"signin"===m?(this._router.navigate([Jn.Tu.signin]),this.setMobileMenuOpen(!1)):"signout"===m?(runtimeEnvironment.proxyMode&&this._user.noRedirectLogout().subscribe(),this.window.location.href=m):this.window.outOfRouterNavigation(runtimeEnvironment.INFO_SITE+m)}static{this.\u0275fac=function(S){return new(S||k)(r.rXU(ut.Ix),r.rXU(Bt.Z),r.rXU(Xr.jf),r.rXU(He.DL),r.rXU(Pn.v),r.rXU(a.aZ),r.rXU(He.DL),r.rXU(Wl.W),r.rXU(oa.p))}}static{this.\u0275cmp=r.VBU({type:k,selectors:[["app-header"]],viewQuery:function(S,B){if(1&S&&r.GBs(ft,5),2&S){let ve;r.mGM(ve=r.lsd())&&(B.mobileMenuContainer=ve.first)}},hostBindings:function(S,B){1&S&&r.bIt("keydown.escape",function(){return B.onEscapeKey()},r.EBC)},inputs:{currentRoute:"currentRoute"},standalone:!1,decls:18,vars:14,consts:()=>{let m,S,B;return m=" Connecting research and researchers ",S="Sign in",B="Register",[["headerEl",""],["mobileMenuContainer",""],["recursiveList",""],m,S,B,["role","presentation",1,"container"],[1,"row","end"],["role","banner",1,"col","l5","m8","s4","middle","logo-menu-container","no-gutters"],["routerLink","/",1,"logo-container"],["src","./assets/vectors/orcid.logo.svg","alt","orcid logo","id","home-logo"],["role","link","class","orc-font-body-small",4,"ngIf"],["role","navigation",1,"col","no-gutters"],["class","row middle no-gutters header-actions",4,"ngIf"],["class","col l6 offset-l1 m8 s4 middle no-gutters",4,"ngIf"],["class","compact-record-header",4,"ngIf"],["class","compact-record-header-spacer",4,"ngIf"],["class","col l5 offset-l3 m8 s4 middle",4,"ngIf"],[3,"ngClass","cdkTrapFocus","cdkTrapFocusAutoCapture","mouseleave",4,"ngIf"],["role","link",1,"orc-font-body-small"],[1,"row","middle","no-gutters","header-actions"],[3,"hideSignedOutAccount"],["id","cy-language-mob"],[3,"isOpen","click",4,"ngIf"],[3,"click","isOpen"],[1,"col","l6","offset-l1","m8","s4","middle","no-gutters"],[3,"hideForm"],[1,"compact-record-header"],[1,"compact-record-header-spacer"],[1,"col","l5","offset-l3","m8","s4","middle"],[3,"mouseleave","ngClass","cdkTrapFocus","cdkTrapFocusAutoCapture"],[1,"top-bar-new-info"],["tabindex","-1",1,"menu-container",3,"ngClass"],["class","row mobile-auth-menu",4,"ngIf"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"row"],[1,"row","mobile-auth-menu"],["class","col no-gutters button-wrapper",4,"ngIf"],[1,"col","no-gutters","button-wrapper"],["mat-button","","id","header-signin",1,"top-menu-button","sign-in-button",3,"click","ngClass"],["class","row",4,"ngIf"],[4,"ngFor","ngForOf"],["mat-button","",1,"top-menu-button",3,"focus","click","mouseenter","ngClass","color","id"],[1,"button-box"],[4,"ngIf"]]},template:function(S,B){1&S&&(r.j41(0,"header",6,0)(2,"div",7)(3,"div",8)(4,"a",9),r.nrm(5,"img",10),r.DNE(6,ps,2,0,"div",11),r.k0s(),r.j41(7,"div",12),r.DNE(8,Cd,4,2,"div",13),r.k0s()(),r.DNE(9,Fo,2,1,"div",14),r.k0s()(),r.DNE(10,Zl,2,0,"div",15),r.nI1(11,"async"),r.DNE(12,ff,1,0,"div",16),r.nI1(13,"async"),r.nrm(14,"mat-divider"),r.DNE(15,hf,2,0,"div",17)(16,Fc,9,20,"nav",18),r.nrm(17,"app-maintenance-message")),2&S&&(r.AVh("compact",B.isCompactActive),r.R7$(4),r.BMQ("aria-label","Orcid home"+B.labelLogo),r.R7$(2),r.Y8G("ngIf",B.platform.columns12&&!B.isCompactActive),r.R7$(2),r.Y8G("ngIf",!B.platform.columns12),r.R7$(),r.Y8G("ngIf",B.platform.columns12),r.R7$(),r.Y8G("ngIf",B.isCompactActive&&r.bMT(11,10,B.isPublicRecord$)),r.R7$(2),r.Y8G("ngIf",!B.platform.columns12&&B.isCompactActive&&r.bMT(13,12,B.isPublicRecord$)),r.R7$(3),r.Y8G("ngIf",!B.platform.columns12&&!B.isCompactActive&&!B.mobileMenuState),r.R7$(),r.Y8G("ngIf",(B.mobileMenuState||B.platform.columns12)&&!B.hideMainMenu))},dependencies:[Ac.C,v.YU,v.Sq,v.bT,v.T3,Lo.$z,ks.Wk,xo.An,Sc.q,Tc.U,ml,gl,fl,ts,be,v.Jj,v.Pc],styles:[".container[_ngcontent-%COMP%] .logo-container[_ngcontent-%COMP%]{color:#707070!important}
3.top-bar[_ngcontent-%COMP%]{color:#fff;background-color:#2e7f9f}.top-bar[_ngcontent-%COMP%] .menu-container[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] button.active[_ngcontent-%COMP%]{background-color:#e3e3e3;color:#000000de}.top-bar[_ngcontent-%COMP%] .menu-container[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] button.sign-in-button[_ngcontent-%COMP%]{border-color:#fafafa;color:#fff}.top-bar[_ngcontent-%COMP%] .menu-container[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .row[_ngcontent-%COMP%]{color:#2e7f9f}.columns-8 [_nghost-%COMP%] header.container.fixed-header-mode[_ngcontent-%COMP%] > .row[_ngcontent-%COMP%], .columns-4 [_nghost-%COMP%] header.container.fixed-header-mode[_ngcontent-%COMP%] > .row[_ngcontent-%COMP%]{background-color:#fff}.columns-8 [_nghost-%COMP%] .top-bar[_ngcontent-%COMP%], .columns-4 [_nghost-%COMP%] .top-bar[_ngcontent-%COMP%]{background-color:#085c77}.columns-8 [_nghost-%COMP%] .top-bar[_ngcontent-%COMP%] .menu-container[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .row[_ngcontent-%COMP%], .columns-4 [_nghost-%COMP%] .top-bar[_ngcontent-%COMP%] .menu-container[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .row[_ngcontent-%COMP%]{background-color:#1e708d}.columns-8 [_nghost-%COMP%] .top-bar[_ngcontent-%COMP%] .menu-container[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] button[_ngcontent-%COMP%], .columns-4 [_nghost-%COMP%] .top-bar[_ngcontent-%COMP%] .menu-container[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{color:#fff}.columns-8 [_nghost-%COMP%] .top-bar[_ngcontent-%COMP%] .menu-container[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .row[_ngcontent-%COMP%], .columns-4 [_nghost-%COMP%] .top-bar[_ngcontent-%COMP%] .menu-container[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .row[_ngcontent-%COMP%]{background-color:#f5f5f5}.columns-8 [_nghost-%COMP%] .top-bar[_ngcontent-%COMP%] .menu-container[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] button[_ngcontent-%COMP%], .columns-4 [_nghost-%COMP%] .top-bar[_ngcontent-%COMP%] .menu-container[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{color:#2e7f9f}.columns-8 [_nghost-%COMP%] .top-bar[_ngcontent-%COMP%] .menu-container[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .row[_ngcontent-%COMP%], .columns-4 [_nghost-%COMP%] .top-bar[_ngcontent-%COMP%] .menu-container[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .row[_ngcontent-%COMP%]{background-color:#fff}.top-bar[_ngcontent-%COMP%] .menu-container[_ngcontent-%COMP%] > .row[_ngcontent-%COMP%] > .col[_ngcontent-%COMP%] > button[_ngcontent-%COMP%]{font-size:18px;font-weight:600;line-height:normal;letter-spacing:1.3px}.top-bar[_ngcontent-%COMP%] .menu-container[_ngcontent-%COMP%] > .row[_ngcontent-%COMP%] > .col[_ngcontent-%COMP%] > button.sign-in-button[_ngcontent-%COMP%]{font-size:14px;font-weight:700;line-height:normal;font-family:Noto Sans,sans-serif;letter-spacing:0px}",'header.container[_ngcontent-%COMP%]{padding:24px 16px;margin:auto}header.container.compact[_ngcontent-%COMP%]{position:sticky;top:0;z-index:500;height:72px;padding:8px 16px;margin-bottom:12px}header.container.compact[_ngcontent-%COMP%]:before{content:"";position:fixed;left:0;right:0;top:0;height:72px;background:#fff;pointer-events:none;z-index:0;box-shadow:0 2px 8px #00000026}header.container[_ngcontent-%COMP%] .logo-menu-container[_ngcontent-%COMP%] .logo-container[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{margin-bottom:16px}header.container[_ngcontent-%COMP%] .logo-menu-container[_ngcontent-%COMP%] .logo-container[_ngcontent-%COMP%] .mat-subtitle-2[_ngcontent-%COMP%]{line-height:16px}header.container[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{height:50px}header.container[_ngcontent-%COMP%] .row[_ngcontent-%COMP%]{height:100%}header.container[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{height:60px;
3width:200px}header.container.compact[_ngcontent-%COMP%] .logo-container[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{max-height:30px;height:40px;width:auto;position:relative;z-index:1}header.container.compact[_ngcontent-%COMP%] app-search[_ngcontent-%COMP%]{padding-top:10px}.compact-record-header[_ngcontent-%COMP%]{position:fixed;left:0;right:0;top:72px;width:100vw;background:#fff;z-index:499;box-shadow:0 2px 8px #0000001f}.compact-record-header-spacer[_ngcontent-%COMP%]{height:136px}.columns-8[_ngcontent-%COMP%] .compact-record-header[_ngcontent-%COMP%], .columns-4[_ngcontent-%COMP%] .compact-record-header[_ngcontent-%COMP%]{top:72px}.columns-8[_ngcontent-%COMP%] .compact-record-header-spacer[_ngcontent-%COMP%], .columns-4[_ngcontent-%COMP%] .compact-record-header-spacer[_ngcontent-%COMP%]{height:160px}nav.not-wordpress-display[_ngcontent-%COMP%] > .top-bar[_ngcontent-%COMP%], nav.not-wordpress-display[_ngcontent-%COMP%] > .top-bar-new-info[_ngcontent-%COMP%]{margin-bottom:60px}nav[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{list-style:none;margin:0;padding:0}nav[_ngcontent-%COMP%] .top-bar[_ngcontent-%COMP%], nav[_ngcontent-%COMP%] .top-bar-new-info[_ngcontent-%COMP%]{height:60px;margin-bottom:1px}nav[_ngcontent-%COMP%] .top-bar[_ngcontent-%COMP%] .menu-container[_ngcontent-%COMP%], nav[_ngcontent-%COMP%] .top-bar-new-info[_ngcontent-%COMP%] .menu-container[_ngcontent-%COMP%]{height:100%;display:flex}nav[_ngcontent-%COMP%] .top-bar[_ngcontent-%COMP%] .menu-container[_ngcontent-%COMP%] .row[_ngcontent-%COMP%], nav[_ngcontent-%COMP%] .top-bar-new-info[_ngcontent-%COMP%] .menu-container[_ngcontent-%COMP%] .row[_ngcontent-%COMP%]{position:relative}nav[_ngcontent-%COMP%] .top-bar[_ngcontent-%COMP%] .menu-container[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .col[_ngcontent-%COMP%] button.active[_ngcontent-%COMP%], nav[_ngcontent-%COMP%] .top-bar-new-info[_ngcontent-%COMP%] .menu-container[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .col[_ngcontent-%COMP%] button.active[_ngcontent-%COMP%]{border-radius:0}nav[_ngcontent-%COMP%] .top-bar[_ngcontent-%COMP%] .menu-container[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .col[_ngcontent-%COMP%] .row[_ngcontent-%COMP%], nav[_ngcontent-%COMP%] .top-bar-new-info[_ngcontent-%COMP%] .menu-container[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .col[_ngcontent-%COMP%] .row[_ngcontent-%COMP%]{position:absolute;top:100%;left:0}nav[_ngcontent-%COMP%] .top-bar-new-info[_ngcontent-%COMP%]{height:54px;background-color:var(--orcid-surface, #ffffff);border-bottom:1px solid var(--orcid-color-ui-background-light, #eeeeee)}nav[_ngcontent-%COMP%] .top-bar-new-info[_ngcontent-%COMP%] .menu-container[_ngcontent-%COMP%]{align-items:center;gap:30px}nav[_ngcontent-%COMP%] .top-bar-new-info[_ngcontent-%COMP%] .menu-container[_ngcontent-%COMP%] > .row[_ngcontent-%COMP%]{align-items:center;flex-wrap:nowrap;gap:30px;width:auto}nav[_ngcontent-%COMP%] .top-bar-new-info[_ngcontent-%COMP%] .menu-container[_ngcontent-%COMP%] .button-wrapper[_ngcontent-%COMP%], nav[_ngcontent-%COMP%] .top-bar-new-info[_ngcontent-%COMP%] .menu-container[_ngcontent-%COMP%] .col[_ngcontent-%COMP%]{flex:0 0 auto;max-width:none}nav[_ngcontent-%COMP%] .top-bar-new-info[_ngcontent-%COMP%] > mat-divider[_ngcontent-%COMP%]{display:none}@media only screen and (min-width: 839.99px) and (max-width: 1000px){nav[_ngcontent-%COMP%] .top-bar-new-info[_ngcontent-%COMP%] .menu-container[_ngcontent-%COMP%]{gap:12px}nav[_ngcontent-%COMP%] .top-bar-new-info[_ngcontent-%COMP%] .menu-container[_ngcontent-%COMP%] > .row[_ngcontent-%COMP%]{gap:12px}nav[_ngcontent-%COMP%] .top-bar-new-info[_ngcontent-%COMP%] .menu-container[_ngcontent-%COMP%] .button-wrapper[_ngcontent-%COMP%], nav[_ngcontent-%COMP%] .top-bar-new-info[_ngcontent-%COMP%] .menu-container[_ngcontent-%COMP%] .col[_ngcontent-%COMP%]{flex-shrink:0}nav[_ngcontent-%COMP%] .top-bar-new-info[_ngcontent-%COMP%] .menu-container[_ngcontent-%COMP%] .top-menu-button[_ngcontent-%COMP%]{padding:15px 6px;font-size:var(--orcid-font-size-body-small, 14px);letter-spacing:var(--orcid-letter-spacing-body-small, .25px);line-height:var(--orcid-line-height-body-small, 24px)}}
3.columns-8[_ngcontent-%COMP%] nav[_ngcontent-%COMP%] .top-bar-new-info[_ngcontent-%COMP%], .columns-4[_ngcontent-%COMP%] nav[_ngcontent-%COMP%] .top-bar-new-info[_ngcontent-%COMP%]{background-color:var(--orcid-color-brand-secondary-darkest, #003449);border:0}.columns-8 [_nghost-%COMP%] header.container[_ngcontent-%COMP%], .columns-4 [_nghost-%COMP%] header.container[_ngcontent-%COMP%]{padding:16px}.columns-8 [_nghost-%COMP%] header.container[_ngcontent-%COMP%] .logo-menu-container[_ngcontent-%COMP%], .columns-4 [_nghost-%COMP%] header.container[_ngcontent-%COMP%] .logo-menu-container[_ngcontent-%COMP%]{display:flex;justify-content:space-between}.columns-8 [_nghost-%COMP%] header.container[_ngcontent-%COMP%] .logo-menu-container[_ngcontent-%COMP%] .logo-container[_ngcontent-%COMP%] .mat-subtitle-2[_ngcontent-%COMP%], .columns-4 [_nghost-%COMP%] header.container[_ngcontent-%COMP%] .logo-menu-container[_ngcontent-%COMP%] .logo-container[_ngcontent-%COMP%] .mat-subtitle-2[_ngcontent-%COMP%]{line-height:16px}.columns-8 [_nghost-%COMP%] header.container[_ngcontent-%COMP%] .logo-menu-container[_ngcontent-%COMP%] .logo-container[_ngcontent-%COMP%] img[_ngcontent-%COMP%], .columns-4 [_nghost-%COMP%] header.container[_ngcontent-%COMP%] .logo-menu-container[_ngcontent-%COMP%] .logo-container[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{height:35px;margin-bottom:0;width:auto}.columns-8 [_nghost-%COMP%] header.container[_ngcontent-%COMP%] .logo-menu-container[_ngcontent-%COMP%] .header-actions[_ngcontent-%COMP%], .columns-4 [_nghost-%COMP%] header.container[_ngcontent-%COMP%] .logo-menu-container[_ngcontent-%COMP%] .header-actions[_ngcontent-%COMP%]{flex-wrap:nowrap;gap:16px}.columns-8 [_nghost-%COMP%] header.container[_ngcontent-%COMP%] nav[_ngcontent-%COMP%] .top-bar[_ngcontent-%COMP%] .menu-container[_ngcontent-%COMP%] nav[_ngcontent-%COMP%] .top-bar[_ngcontent-%COMP%] .menu-container[_ngcontent-%COMP%], .columns-8 [_nghost-%COMP%] header.container[_ngcontent-%COMP%] nav[_ngcontent-%COMP%] .top-bar[_ngcontent-%COMP%] .menu-container[_ngcontent-%COMP%] nav[_ngcontent-%COMP%] .top-bar-new-info[_ngcontent-%COMP%] .menu-container[_ngcontent-%COMP%], .columns-8 [_nghost-%COMP%] header.container[_ngcontent-%COMP%] nav[_ngcontent-%COMP%] .top-bar-new-info[_ngcontent-%COMP%] .menu-container[_ngcontent-%COMP%] nav[_ngcontent-%COMP%] .top-bar[_ngcontent-%COMP%] .menu-container[_ngcontent-%COMP%], .columns-8 [_nghost-%COMP%] header.container[_ngcontent-%COMP%] nav[_ngcontent-%COMP%] .top-bar-new-info[_ngcontent-%COMP%] .menu-container[_ngcontent-%COMP%] nav[_ngcontent-%COMP%] .top-bar-new-info[_ngcontent-%COMP%] .menu-container[_ngcontent-%COMP%], .columns-4 [_nghost-%COMP%] header.container[_ngcontent-%COMP%] nav[_ngcontent-%COMP%] .top-bar[_ngcontent-%COMP%] .menu-container[_ngcontent-%COMP%] nav[_ngcontent-%COMP%] .top-bar[_ngcontent-%COMP%] .menu-container[_ngcontent-%COMP%], .columns-4 [_nghost-%COMP%] header.container[_ngcontent-%COMP%] nav[_ngcontent-%COMP%] .top-bar[_ngcontent-%COMP%] .menu-container[_ngcontent-%COMP%] nav[_ngcontent-%COMP%] .top-bar-new-info[_ngcontent-%COMP%] .menu-container[_ngcontent-%COMP%], .columns-4 [_nghost-%COMP%] header.container[_ngcontent-%COMP%] nav[_ngcontent-%COMP%] .top-bar-new-info[_ngcontent-%COMP%] .menu-container[_ngcontent-%COMP%] nav[_ngcontent-%COMP%] .top-bar[_ngcontent-%COMP%] .menu-container[_ngcontent-%COMP%], .columns-4 [_nghost-%COMP%] header.container[_ngcontent-%COMP%] nav[_ngcontent-%COMP%] .top-bar-new-info[_ngcontent-%COMP%] .menu-container[_ngcontent-%COMP%] nav[_ngcontent-%COMP%] .top-bar-new-info[_ngcontent-%COMP%] .menu-container[_ngcontent-%COMP%]{padding-top:60px}.columns-8 [_nghost-%COMP%] nav[_ngcontent-%COMP%], .columns-4 [_nghost-%COMP%] nav[_ngcontent-%COMP%]{position:absolute;width:100%;z-index:1000;min-height:calc(100vh - 72px);margin-top:-1px}.columns-8 [_nghost-%COMP%] nav.mobile-nav-overlay[_ngcontent-%COMP%], .columns-4 [_nghost-%COMP%] nav.mobile-nav-overlay[_ngcontent-%COMP%]{position:fixed;inset:72px 0 0;width:100%;min-height:0;margin-top:0;overflow:hidden}
3.columns-8 [_nghost-%COMP%] nav[_ngcontent-%COMP%] .top-bar[_ngcontent-%COMP%], .columns-8 [_nghost-%COMP%] nav[_ngcontent-%COMP%] .top-bar-new-info[_ngcontent-%COMP%], .columns-4 [_nghost-%COMP%] nav[_ngcontent-%COMP%] .top-bar[_ngcontent-%COMP%], .columns-4 [_nghost-%COMP%] nav[_ngcontent-%COMP%] .top-bar-new-info[_ngcontent-%COMP%]{height:auto;min-height:calc(100vh - 72px);border:0}.columns-8 [_nghost-%COMP%] nav[_ngcontent-%COMP%] .top-bar[_ngcontent-%COMP%] .menu-container[_ngcontent-%COMP%], .columns-8 [_nghost-%COMP%] nav[_ngcontent-%COMP%] .top-bar-new-info[_ngcontent-%COMP%] .menu-container[_ngcontent-%COMP%], .columns-4 [_nghost-%COMP%] nav[_ngcontent-%COMP%] .top-bar[_ngcontent-%COMP%] .menu-container[_ngcontent-%COMP%], .columns-4 [_nghost-%COMP%] nav[_ngcontent-%COMP%] .top-bar-new-info[_ngcontent-%COMP%] .menu-container[_ngcontent-%COMP%]{flex-direction:column;align-items:stretch;gap:0;padding:0;background-color:var(--orcid-color-brand-secondary-darkest, #003449)}.columns-8 [_nghost-%COMP%] nav[_ngcontent-%COMP%] .top-bar[_ngcontent-%COMP%] .menu-container[_ngcontent-%COMP%] .row[_ngcontent-%COMP%], .columns-8 [_nghost-%COMP%] nav[_ngcontent-%COMP%] .top-bar-new-info[_ngcontent-%COMP%] .menu-container[_ngcontent-%COMP%] .row[_ngcontent-%COMP%], .columns-4 [_nghost-%COMP%] nav[_ngcontent-%COMP%] .top-bar[_ngcontent-%COMP%] .menu-container[_ngcontent-%COMP%] .row[_ngcontent-%COMP%], .columns-4 [_nghost-%COMP%] nav[_ngcontent-%COMP%] .top-bar-new-info[_ngcontent-%COMP%] .menu-container[_ngcontent-%COMP%] .row[_ngcontent-%COMP%]{flex-direction:column;gap:0;width:100%}.columns-8 [_nghost-%COMP%] nav[_ngcontent-%COMP%] .top-bar[_ngcontent-%COMP%] .menu-container[_ngcontent-%COMP%] .row.mobile-auth-menu[_ngcontent-%COMP%] button.top-menu-button[_ngcontent-%COMP%], .columns-8 [_nghost-%COMP%] nav[_ngcontent-%COMP%] .top-bar-new-info[_ngcontent-%COMP%] .menu-container[_ngcontent-%COMP%] .row.mobile-auth-menu[_ngcontent-%COMP%] button.top-menu-button[_ngcontent-%COMP%], .columns-4 [_nghost-%COMP%] nav[_ngcontent-%COMP%] .top-bar[_ngcontent-%COMP%] .menu-container[_ngcontent-%COMP%] .row.mobile-auth-menu[_ngcontent-%COMP%] button.top-menu-button[_ngcontent-%COMP%], .columns-4 [_nghost-%COMP%] nav[_ngcontent-%COMP%] .top-bar-new-info[_ngcontent-%COMP%] .menu-container[_ngcontent-%COMP%] .row.mobile-auth-menu[_ngcontent-%COMP%] button.top-menu-button[_ngcontent-%COMP%]{font-weight:var(--orcid-font-weight-bold, 700)}.columns-8 [_nghost-%COMP%] nav[_ngcontent-%COMP%] .top-bar[_ngcontent-%COMP%] .menu-container[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .col[_ngcontent-%COMP%], .columns-8 [_nghost-%COMP%] nav[_ngcontent-%COMP%] .top-bar-new-info[_ngcontent-%COMP%] .menu-container[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .col[_ngcontent-%COMP%], .columns-4 [_nghost-%COMP%] nav[_ngcontent-%COMP%] .top-bar[_ngcontent-%COMP%] .menu-container[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .col[_ngcontent-%COMP%], .columns-4 [_nghost-%COMP%] nav[_ngcontent-%COMP%] .top-bar-new-info[_ngcontent-%COMP%] .menu-container[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .col[_ngcontent-%COMP%]{flex:0 0 auto;max-width:100%;text-overflow:ellipsis;overflow:hidden;width:100%}.columns-8 [_nghost-%COMP%] nav[_ngcontent-%COMP%] .top-bar[_ngcontent-%COMP%] .menu-container[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .col[_ngcontent-%COMP%] button.top-menu-button[_ngcontent-%COMP%], .columns-8 [_nghost-%COMP%] nav[_ngcontent-%COMP%] .top-bar-new-info[_ngcontent-%COMP%] .menu-container[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .col[_ngcontent-%COMP%] button.top-menu-button[_ngcontent-%COMP%], .columns-4 [_nghost-%COMP%] nav[_ngcontent-%COMP%] .top-bar[_ngcontent-%COMP%] .menu-container[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .col[_ngcontent-%COMP%] button.top-menu-button[_ngcontent-%COMP%], .columns-4 [_nghost-%COMP%] nav[_ngcontent-%COMP%] .to
3p-bar-new-info[_ngcontent-%COMP%] .menu-container[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .col[_ngcontent-%COMP%] button.top-menu-button[_ngcontent-%COMP%]{width:100%;min-height:53px;text-align:left;padding:var(--orcid-space-base, 16px);justify-content:flex-start;font-family:var(--orcid-font-family-sans);font-size:var(--orcid-font-size-body-small, 14px);font-weight:var(--orcid-font-weight-normal, 400);letter-spacing:var(--orcid-letter-spacing-body-small, .25px);line-height:var(--orcid-line-height-body-small, 24px);color:var(--orcid-color-brand-white, #ffffff);background-color:transparent;border-bottom-color:transparent}.columns-8 [_nghost-%COMP%] nav[_ngcontent-%COMP%] .top-bar[_ngcontent-%COMP%] .menu-container[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .col[_ngcontent-%COMP%] button.top-menu-button[_ngcontent-%COMP%]:hover:not(.active), .columns-8 [_nghost-%COMP%] nav[_ngcontent-%COMP%] .top-bar-new-info[_ngcontent-%COMP%] .menu-container[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .col[_ngcontent-%COMP%] button.top-menu-button[_ngcontent-%COMP%]:hover:not(.active), .columns-4 [_nghost-%COMP%] nav[_ngcontent-%COMP%] .top-bar[_ngcontent-%COMP%] .menu-container[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .col[_ngcontent-%COMP%] button.top-menu-button[_ngcontent-%COMP%]:hover:not(.active), .columns-4 [_nghost-%COMP%] nav[_ngcontent-%COMP%] .top-bar-new-info[_ngcontent-%COMP%] .menu-container[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .col[_ngcontent-%COMP%] button.top-menu-button[_ngcontent-%COMP%]:hover:not(.active){color:var(--orcid-color-brand-secondary-darkest, #003449);background-color:var(--orcid-color-brand-secondary-lightest, #d0f3ff)}.columns-8 [_nghost-%COMP%] nav[_ngcontent-%COMP%] .top-bar[_ngcontent-%COMP%] .menu-container[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .col[_ngcontent-%COMP%] button.top-menu-button.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.active):not(:hover), .columns-8 [_nghost-%COMP%] nav[_ngcontent-%COMP%] .top-bar[_ngcontent-%COMP%] .menu-container[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .col[_ngcontent-%COMP%] button.top-menu-button.cdk-program-focused[_ngcontent-%COMP%]:not(.active):not(:hover), .columns-8 [_nghost-%COMP%] nav[_ngcontent-%COMP%] .top-bar-new-info[_ngcontent-%COMP%] .menu-container[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .col[_ngcontent-%COMP%] button.top-menu-button.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.active):not(:hover), .columns-8 [_nghost-%COMP%] nav[_ngcontent-%COMP%] .top-bar-new-info[_ngcontent-%COMP%] .menu-container[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .col[_ngcontent-%COMP%] button.top-menu-button.cdk-program-focused[_ngcontent-%COMP%]:not(.active):not(:hover), .columns-4 [_nghost-%COMP%] nav[_ngcontent-%COMP%] .top-bar[_ngcontent-%COMP%] .menu-container[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .col[_ngcontent-%COMP%] button.top-menu-button.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.active):not(:hover), .columns-4 [_nghost-%COMP%] nav[_ngcontent-%COMP%] .top-bar[_ngcontent-%COMP%] .menu-container[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .col[_ngcontent-%COMP%] button.top-menu-button.cdk-program-focused[_ngcontent-%COMP%]:not(.active):not(:hover), .columns-4 [_nghost-%COMP%] nav[_ngcontent-%COMP%] .top-bar-new-info[_ngcontent-%COMP%] .menu-container[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .col[_ngcontent-%COMP%] button.top-menu-button.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.active):not(:hover), .columns-4 [_nghost-%COMP%] nav[_ngcontent-%COMP%] .top-bar-new-info[_ngcontent-%COMP%] .menu-container[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .col[_ngcontent-%COMP%] button.top-menu-button.cdk-program-focused[_ngcontent-%COMP%]:not(.active):not(:hover){color:var(--orcid-color-brand-white, #ffffff);background-color:transparent}.columns-8 [_nghost-%COMP%] nav[_ngcontent-%COMP%] .top-bar[_ngcontent-%COMP%] .menu-container[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .col[_ngcontent-%COMP%] button.top-menu-button.active[_ngcontent-%COMP%], .columns-8 [_nghost-%COMP%] nav[_ngcontent-%COMP%] .to
3p-bar[_ngcontent-%COMP%] .menu-container[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .col[_ngcontent-%COMP%] button.top-menu-button.active[_ngcontent-%COMP%]:hover, .columns-8 [_nghost-%COMP%] nav[_ngcontent-%COMP%] .top-bar-new-info[_ngcontent-%COMP%] .menu-container[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .col[_ngcontent-%COMP%] button.top-menu-button.active[_ngcontent-%COMP%], .columns-8 [_nghost-%COMP%] nav[_ngcontent-%COMP%] .top-bar-new-info[_ngcontent-%COMP%] .menu-container[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .col[_ngcontent-%COMP%] button.top-menu-button.active[_ngcontent-%COMP%]:hover, .columns-4 [_nghost-%COMP%] nav[_ngcontent-%COMP%] .top-bar[_ngcontent-%COMP%] .menu-container[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .col[_ngcontent-%COMP%] button.top-menu-button.active[_ngcontent-%COMP%], .columns-4 [_nghost-%COMP%] nav[_ngcontent-%COMP%] .top-bar[_ngcontent-%COMP%] .menu-container[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .col[_ngcontent-%COMP%] button.top-menu-button.active[_ngcontent-%COMP%]:hover, .columns-4 [_nghost-%COMP%] nav[_ngcontent-%COMP%] .top-bar-new-info[_ngcontent-%COMP%] .menu-container[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .col[_ngcontent-%COMP%] button.top-menu-button.active[_ngcontent-%COMP%], .columns-4 [_nghost-%COMP%] nav[_ngcontent-%COMP%] .top-bar-new-info[_ngcontent-%COMP%] .menu-container[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .col[_ngcontent-%COMP%] button.top-menu-button.active[_ngcontent-%COMP%]:hover{color:var(--orcid-color-brand-secondary-darkest, #003449);background-color:var(--orcid-color-brand-primary-lightest, #f5f9e8)}.columns-8 [_nghost-%COMP%] nav[_ngcontent-%COMP%] .top-bar[_ngcontent-%COMP%] .menu-container[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .col[_ngcontent-%COMP%] button.top-menu-button[_ngcontent-%COMP%]:focus-visible, .columns-8 [_nghost-%COMP%] nav[_ngcontent-%COMP%] .top-bar-new-info[_ngcontent-%COMP%] .menu-container[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .col[_ngcontent-%COMP%] button.top-menu-button[_ngcontent-%COMP%]:focus-visible, .columns-4 [_nghost-%COMP%] nav[_ngcontent-%COMP%] .top-bar[_ngcontent-%COMP%] .menu-container[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .col[_ngcontent-%COMP%] button.top-menu-button[_ngcontent-%COMP%]:focus-visible, .columns-4 [_nghost-%COMP%] nav[_ngcontent-%COMP%] .top-bar-new-info[_ngcontent-%COMP%] .menu-container[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .col[_ngcontent-%COMP%] button.top-menu-button[_ngcontent-%COMP%]:focus-visible{color:var(--orcid-color-brand-white, #ffffff);background-color:transparent;box-shadow:inset 0 0 0 2px var(--orcid-color-ui-focus, #1098ff);outline:none}.columns-8 [_nghost-%COMP%] nav[_ngcontent-%COMP%] .top-bar[_ngcontent-%COMP%] .menu-container[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .col[_ngcontent-%COMP%] button.top-menu-button.mat-mdc-button[_ngcontent-%COMP%]:not(:disabled), .columns-8 [_nghost-%COMP%] nav[_ngcontent-%COMP%] .top-bar[_ngcontent-%COMP%] .menu-container[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .col[_ngcontent-%COMP%] button.top-menu-button.mat-button[_ngcontent-%COMP%]:not(:disabled), .columns-8 [_nghost-%COMP%] nav[_ngcontent-%COMP%] .top-bar-new-info[_ngcontent-%COMP%] .menu-container[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .col[_ngcontent-%COMP%] button.top-menu-button.mat-mdc-button[_ngcontent-%COMP%]:not(:disabled), .columns-8 [_nghost-%COMP%] nav[_ngcontent-%COMP%] .top-bar-new-info[_ngcontent-%COMP%] .menu-container[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .col[_ngcontent-%COMP%] button.top-menu-button.mat-button[_ngcontent-%COMP%]:not(:disabled), .columns-4 [_nghost-%COMP%] nav[_ngcontent-%COMP%] .top-bar[_ngcontent-%COMP%] .menu-container[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .col[_ngcontent-%COMP%] button.top-menu-button.mat-mdc-button[_ngcontent-%COMP%]:not(:disabled), .columns-4 [_nghost-%COMP%] nav[_ngcontent-%COMP%] .to
3p-bar[_ngcontent-%COMP%] .menu-container[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .col[_ngcontent-%COMP%] button.top-menu-button.mat-button[_ngcontent-%COMP%]:not(:disabled), .columns-4 [_nghost-%COMP%] nav[_ngcontent-%COMP%] .top-bar-new-info[_ngcontent-%COMP%] .menu-container[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .col[_ngcontent-%COMP%] button.top-menu-button.mat-mdc-button[_ngcontent-%COMP%]:not(:disabled), .columns-4 [_nghost-%COMP%] nav[_ngcontent-%COMP%] .top-bar-new-info[_ngcontent-%COMP%] .menu-container[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .col[_ngcontent-%COMP%] button.top-menu-button.mat-button[_ngcontent-%COMP%]:not(:disabled){--mat-button-text-label-text-color: var( --orcid-color-brand-white, #ffffff );color:var(--orcid-color-brand-white, #ffffff)}.columns-8 [_nghost-%COMP%] nav[_ngcontent-%COMP%] .top-bar[_ngcontent-%COMP%] .menu-container[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .col[_ngcontent-%COMP%] button.top-menu-button.mat-mdc-button[_ngcontent-%COMP%]:not(:disabled) .mdc-button__label[_ngcontent-%COMP%], .columns-8 [_nghost-%COMP%] nav[_ngcontent-%COMP%] .top-bar[_ngcontent-%COMP%] .menu-container[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .col[_ngcontent-%COMP%] button.top-menu-button.mat-button[_ngcontent-%COMP%]:not(:disabled) .mdc-button__label[_ngcontent-%COMP%], .columns-8 [_nghost-%COMP%] nav[_ngcontent-%COMP%] .top-bar-new-info[_ngcontent-%COMP%] .menu-container[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .col[_ngcontent-%COMP%] button.top-menu-button.mat-mdc-button[_ngcontent-%COMP%]:not(:disabled) .mdc-button__label[_ngcontent-%COMP%], .columns-8 [_nghost-%COMP%] nav[_ngcontent-%COMP%] .top-bar-new-info[_ngcontent-%COMP%] .menu-container[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .col[_ngcontent-%COMP%] button.top-menu-button.mat-button[_ngcontent-%COMP%]:not(:disabled) .mdc-button__label[_ngcontent-%COMP%], .columns-4 [_nghost-%COMP%] nav[_ngcontent-%COMP%] .top-bar[_ngcontent-%COMP%] .menu-container[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .col[_ngcontent-%COMP%] button.top-menu-button.mat-mdc-button[_ngcontent-%COMP%]:not(:disabled) .mdc-button__label[_ngcontent-%COMP%], .columns-4 [_nghost-%COMP%] nav[_ngcontent-%COMP%] .top-bar[_ngcontent-%COMP%] .menu-container[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .col[_ngcontent-%COMP%] button.top-menu-button.mat-button[_ngcontent-%COMP%]:not(:disabled) .mdc-button__label[_ngcontent-%COMP%], .columns-4 [_nghost-%COMP%] nav[_ngcontent-%COMP%] .top-bar-new-info[_ngcontent-%COMP%] .menu-container[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .col[_ngcontent-%COMP%] button.top-menu-button.mat-mdc-button[_ngcontent-%COMP%]:not(:disabled) .mdc-button__label[_ngcontent-%COMP%], .columns-4 [_nghost-%COMP%] nav[_ngcontent-%COMP%] .top-bar-new-info[_ngcontent-%COMP%] .menu-container[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .col[_ngcontent-%COMP%] button.top-menu-button.mat-button[_ngcontent-%COMP%]:not(:disabled) .mdc-button__label[_ngcontent-%COMP%]{color:inherit}.columns-8 [_nghost-%COMP%] nav[_ngcontent-%COMP%] .top-bar[_ngcontent-%COMP%] .menu-container[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .col[_ngcontent-%COMP%] button.top-menu-button.mat-mdc-button[_ngcontent-%COMP%]:not(:disabled):hover:not(.active), .columns-8 [_nghost-%COMP%] nav[_ngcontent-%COMP%] .top-bar[_ngcontent-%COMP%] .menu-container[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .col[_ngcontent-%COMP%] button.top-menu-button.mat-button[_ngcontent-%COMP%]:not(:disabled):hover:not(.active), .columns-8 [_nghost-%COMP%] nav[_ngcontent-%COMP%] .top-bar-new-info[_ngcontent-%COMP%] .menu-container[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .col[_ngcontent-%COMP%] button.top-menu-button.mat-mdc-button[_ngcontent-%COMP%]:not(:disabled):hover:not(.active), .columns-8 [_nghost-%COMP%] nav[_ngcontent-%COMP%] .top-bar-new-info[_ngcontent-%COMP%] .menu-container[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .col[_ngcontent-%COMP%] button.top-menu-button.mat-button[_ngcontent-%COMP%]:not(:disabled):hover:not(.active), .columns-4 [_nghost-%COMP%] nav[_ngcontent-%COMP%] .to
3p-bar[_ngcontent-%COMP%] .menu-container[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .col[_ngcontent-%COMP%] button.top-menu-button.mat-mdc-button[_ngcontent-%COMP%]:not(:disabled):hover:not(.active), .columns-4 [_nghost-%COMP%] nav[_ngcontent-%COMP%] .top-bar[_ngcontent-%COMP%] .menu-container[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .col[_ngcontent-%COMP%] button.top-menu-button.mat-button[_ngcontent-%COMP%]:not(:disabled):hover:not(.active), .columns-4 [_nghost-%COMP%] nav[_ngcontent-%COMP%] .top-bar-new-info[_ngcontent-%COMP%] .menu-container[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .col[_ngcontent-%COMP%] button.top-menu-button.mat-mdc-button[_ngcontent-%COMP%]:not(:disabled):hover:not(.active), .columns-4 [_nghost-%COMP%] nav[_ngcontent-%COMP%] .top-bar-new-info[_ngcontent-%COMP%] .menu-container[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .col[_ngcontent-%COMP%] button.top-menu-button.mat-button[_ngcontent-%COMP%]:not(:disabled):hover:not(.active){--mat-button-text-label-text-color: var( --orcid-color-brand-secondary-darkest, #003449 );color:var(--orcid-color-brand-secondary-darkest, #003449)}.columns-8 [_nghost-%COMP%] nav[_ngcontent-%COMP%] .top-bar[_ngcontent-%COMP%] .menu-container[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .col[_ngcontent-%COMP%] button.top-menu-button.mat-mdc-button[_ngcontent-%COMP%]:not(:disabled).active, .columns-8 [_nghost-%COMP%] nav[_ngcontent-%COMP%] .top-bar[_ngcontent-%COMP%] .menu-container[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .col[_ngcontent-%COMP%] button.top-menu-button.mat-mdc-button[_ngcontent-%COMP%]:not(:disabled).active:hover, .columns-8 [_nghost-%COMP%] nav[_ngcontent-%COMP%] .top-bar[_ngcontent-%COMP%] .menu-container[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .col[_ngcontent-%COMP%] button.top-menu-button.mat-button[_ngcontent-%COMP%]:not(:disabled).active, .columns-8 [_nghost-%COMP%] nav[_ngcontent-%COMP%] .top-bar[_ngcontent-%COMP%] .menu-container[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .col[_ngcontent-%COMP%] button.top-menu-button.mat-button[_ngcontent-%COMP%]:not(:disabled).active:hover, .columns-8 [_nghost-%COMP%] nav[_ngcontent-%COMP%] .top-bar-new-info[_ngcontent-%COMP%] .menu-container[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .col[_ngcontent-%COMP%] button.top-menu-button.mat-mdc-button[_ngcontent-%COMP%]:not(:disabled).active, .columns-8 [_nghost-%COMP%] nav[_ngcontent-%COMP%] .top-bar-new-info[_ngcontent-%COMP%] .menu-container[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .col[_ngcontent-%COMP%] button.top-menu-button.mat-mdc-button[_ngcontent-%COMP%]:not(:disabled).active:hover, .columns-8 [_nghost-%COMP%] nav[_ngcontent-%COMP%] .top-bar-new-info[_ngcontent-%COMP%] .menu-container[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .col[_ngcontent-%COMP%] button.top-menu-button.mat-button[_ngcontent-%COMP%]:not(:disabled).active, .columns-8 [_nghost-%COMP%] nav[_ngcontent-%COMP%] .top-bar-new-info[_ngcontent-%COMP%] .menu-container[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .col[_ngcontent-%COMP%] button.top-menu-button.mat-button[_ngcontent-%COMP%]:not(:disabled).active:hover, .columns-4 [_nghost-%COMP%] nav[_ngcontent-%COMP%] .top-bar[_ngcontent-%COMP%] .menu-container[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .col[_ngcontent-%COMP%] button.top-menu-button.mat-mdc-button[_ngcontent-%COMP%]:not(:disabled).active, .columns-4 [_nghost-%COMP%] nav[_ngcontent-%COMP%] .top-bar[_ngcontent-%COMP%] .menu-container[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .col[_ngcontent-%COMP%] button.top-menu-button.mat-mdc-button[_ngcontent-%COMP%]:not(:disabled).active:hover, .columns-4 [_nghost-%COMP%] nav[_ngcontent-%COMP%] .top-bar[_ngcontent-%COMP%] .menu-container[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .col[_ngcontent-%COMP%] button.top-menu-button.mat-button[_ngcontent-%COMP%]:not(:disabled).active, .columns-4 [_nghost-%COMP%] nav[_ngcontent-%COMP%] .top-bar[_ng
3content-%COMP%] .menu-container[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .col[_ngcontent-%COMP%] button.top-menu-button.mat-button[_ngcontent-%COMP%]:not(:disabled).active:hover, .columns-4 [_nghost-%COMP%] nav[_ngcontent-%COMP%] .top-bar-new-info[_ngcontent-%COMP%] .menu-container[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .col[_ngcontent-%COMP%] button.top-menu-button.mat-mdc-button[_ngcontent-%COMP%]:not(:disabled).active, .columns-4 [_nghost-%COMP%] nav[_ngcontent-%COMP%] .top-bar-new-info[_ngcontent-%COMP%] .menu-container[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .col[_ngcontent-%COMP%] button.top-menu-button.mat-mdc-button[_ngcontent-%COMP%]:not(:disabled).active:hover, .columns-4 [_nghost-%COMP%] nav[_ngcontent-%COMP%] .top-bar-new-info[_ngcontent-%COMP%] .menu-container[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .col[_ngcontent-%COMP%] button.top-menu-button.mat-button[_ngcontent-%COMP%]:not(:disabled).active, .columns-4 [_nghost-%COMP%] nav[_ngcontent-%COMP%] .top-bar-new-info[_ngcontent-%COMP%] .menu-container[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .col[_ngcontent-%COMP%] button.top-menu-button.mat-button[_ngcontent-%COMP%]:not(:disabled).active:hover{--mat-button-text-label-text-color: var( --orcid-color-brand-secondary-darkest, #003449 );color:var(--orcid-color-brand-secondary-darkest, #003449)}.columns-8 [_nghost-%COMP%] nav[_ngcontent-%COMP%] .top-bar[_ngcontent-%COMP%] .menu-container[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .col[_ngcontent-%COMP%] button.top-menu-button[_ngcontent-%COMP%] .button-box[_ngcontent-%COMP%], .columns-8 [_nghost-%COMP%] nav[_ngcontent-%COMP%] .top-bar-new-info[_ngcontent-%COMP%] .menu-container[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .col[_ngcontent-%COMP%] button.top-menu-button[_ngcontent-%COMP%] .button-box[_ngcontent-%COMP%], .columns-4 [_nghost-%COMP%] nav[_ngcontent-%COMP%] .top-bar[_ngcontent-%COMP%] .menu-container[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .col[_ngcontent-%COMP%] button.top-menu-button[_ngcontent-%COMP%] .button-box[_ngcontent-%COMP%], .columns-4 [_nghost-%COMP%] nav[_ngcontent-%COMP%] .top-bar-new-info[_ngcontent-%COMP%] .menu-container[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .col[_ngcontent-%COMP%] button.top-menu-button[_ngcontent-%COMP%] .button-box[_ngcontent-%COMP%]{display:flex;justify-content:space-between;width:100%}.columns-8 [_nghost-%COMP%] nav[_ngcontent-%COMP%] .top-bar[_ngcontent-%COMP%] .menu-container[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .col[_ngcontent-%COMP%] .row[_ngcontent-%COMP%], .columns-8 [_nghost-%COMP%] nav[_ngcontent-%COMP%] .top-bar-new-info[_ngcontent-%COMP%] .menu-container[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .col[_ngcontent-%COMP%] .row[_ngcontent-%COMP%], .columns-4 [_nghost-%COMP%] nav[_ngcontent-%COMP%] .top-bar[_ngcontent-%COMP%] .menu-container[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .col[_ngcontent-%COMP%] .row[_ngcontent-%COMP%], .columns-4 [_nghost-%COMP%] nav[_ngcontent-%COMP%] .top-bar-new-info[_ngcontent-%COMP%] .menu-container[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .col[_ngcontent-%COMP%] .row[_ngcontent-%COMP%]{top:0;flex-direction:column;position:relative}.columns-8 [_nghost-%COMP%] nav[_ngcontent-%COMP%] .top-bar[_ngcontent-%COMP%] .menu-container[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .col[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] button[_ngcontent-%COMP%], .columns-8 [_nghost-%COMP%] nav[_ngcontent-%COMP%] .top-bar-new-info[_ngcontent-%COMP%] .menu-container[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .col[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] button[_ngcontent-%COMP%], .columns-4 [_nghost-%COMP%] nav[_ngcontent-%COMP%] .top-bar[_ngcontent-%COMP%] .menu-container[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .col[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] button[_ngcontent-%COMP%], .columns-4 [_nghost-%COMP%] nav[_ngcontent-%COMP%] .to
3p-bar-new-info[_ngcontent-%COMP%] .menu-container[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .col[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{padding-left:32px;width:100%;text-align:left;padding-top:8px;padding-bottom:8px}[dir=rtl] .columns-8 [_nghost-%COMP%] nav[_ngcontent-%COMP%] .top-bar[_ngcontent-%COMP%] .menu-container[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .col[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] button[_ngcontent-%COMP%], [dir=rtl] .columns-8 [_nghost-%COMP%] nav[_ngcontent-%COMP%] .top-bar-new-info[_ngcontent-%COMP%] .menu-container[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .col[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] button[_ngcontent-%COMP%], [dir=rtl] .columns-4 [_nghost-%COMP%] nav[_ngcontent-%COMP%] .top-bar[_ngcontent-%COMP%] .menu-container[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .col[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] button[_ngcontent-%COMP%], [dir=rtl] .columns-4 [_nghost-%COMP%] nav[_ngcontent-%COMP%] .top-bar-new-info[_ngcontent-%COMP%] .menu-container[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .col[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{margin-left:auto;margin-right:16px}.columns-8 [_nghost-%COMP%] nav[_ngcontent-%COMP%] .top-bar[_ngcontent-%COMP%] .menu-container[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .col[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] button[_ngcontent-%COMP%], .columns-8 [_nghost-%COMP%] nav[_ngcontent-%COMP%] .top-bar-new-info[_ngcontent-%COMP%] .menu-container[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .col[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] button[_ngcontent-%COMP%], .columns-4 [_nghost-%COMP%] nav[_ngcontent-%COMP%] .top-bar[_ngcontent-%COMP%] .menu-container[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .col[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] button[_ngcontent-%COMP%], .columns-4 [_nghost-%COMP%] nav[_ngcontent-%COMP%] .top-bar-new-info[_ngcontent-%COMP%] .menu-container[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .col[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{padding-left:48px}[dir=rtl] .columns-8 [_nghost-%COMP%] nav[_ngcontent-%COMP%] .top-bar[_ngcontent-%COMP%] .menu-container[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .col[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] button[_ngcontent-%COMP%], [dir=rtl] .columns-8 [_nghost-%COMP%] nav[_ngcontent-%COMP%] .top-bar-new-info[_ngcontent-%COMP%] .menu-container[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .col[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] button[_ngcontent-%COMP%], [dir=rtl] .columns-4 [_nghost-%COMP%] nav[_ngcontent-%COMP%] .top-bar[_ngcontent-%COMP%] .menu-container[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .col[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] button[_ngcontent-%COMP%], [dir=rtl] .columns-4 [_nghost-%COMP%] nav[_ngcontent-%COMP%] .top-bar-new-info[_ngcontent-%COMP%] .menu-container[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .col[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{margin-left:auto;margin-right:32px}.columns-8 [_nghost-%COMP%] nav[_ngcontent-%COMP%] .top-bar[_ngcontent-%COMP%] .menu-container[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .col[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] button[_ngcontent-%COMP%], .columns-8 [_nghost-%COMP%] nav[_ngcontent-%COMP%] .top-bar-new-info[_ngcontent-%COMP%] .menu-container[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .col[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] button[_ngcontent-%COMP%], .columns-4 [_nghost-%COMP%] nav[_ngcontent-%COMP%] .top-bar[_ngcontent-%COMP%] .menu-container[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .col[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] button[_ngcontent-%COMP%], .columns-4 [_nghost-%COMP%] nav[_ngcontent-%COMP%] .to
3p-bar-new-info[_ngcontent-%COMP%] .menu-container[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .col[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{padding-left:80px}[dir=rtl] .columns-8 [_nghost-%COMP%] nav[_ngcontent-%COMP%] .top-bar[_ngcontent-%COMP%] .menu-container[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .col[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] button[_ngcontent-%COMP%], [dir=rtl] .columns-8 [_nghost-%COMP%] nav[_ngcontent-%COMP%] .top-bar-new-info[_ngcontent-%COMP%] .menu-container[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .col[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] button[_ngcontent-%COMP%], [dir=rtl] .columns-4 [_nghost-%COMP%] nav[_ngcontent-%COMP%] .top-bar[_ngcontent-%COMP%] .menu-container[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .col[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] button[_ngcontent-%COMP%], [dir=rtl] .columns-4 [_nghost-%COMP%] nav[_ngcontent-%COMP%] .top-bar-new-info[_ngcontent-%COMP%] .menu-container[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .col[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{margin-left:auto;margin-right:64px}.columns-8 [_nghost-%COMP%] nav.mobile-nav-overlay[_ngcontent-%COMP%] .top-bar[_ngcontent-%COMP%], .columns-8 [_nghost-%COMP%] nav.mobile-nav-overlay[_ngcontent-%COMP%] .top-bar-new-info[_ngcontent-%COMP%], .columns-4 [_nghost-%COMP%] nav.mobile-nav-overlay[_ngcontent-%COMP%] .top-bar[_ngcontent-%COMP%], .columns-4 [_nghost-%COMP%] nav.mobile-nav-overlay[_ngcontent-%COMP%] .top-bar-new-info[_ngcontent-%COMP%]{height:100%;min-height:100%;display:flex;flex-direction:column}.columns-8 [_nghost-%COMP%] nav.mobile-nav-overlay[_ngcontent-%COMP%] .top-bar[_ngcontent-%COMP%] .menu-container[_ngcontent-%COMP%], .columns-8 [_nghost-%COMP%] nav.mobile-nav-overlay[_ngcontent-%COMP%] .top-bar-new-info[_ngcontent-%COMP%] .menu-container[_ngcontent-%COMP%], .columns-4 [_nghost-%COMP%] nav.mobile-nav-overlay[_ngcontent-%COMP%] .top-bar[_ngcontent-%COMP%] .menu-container[_ngcontent-%COMP%], .columns-4 [_nghost-%COMP%] nav.mobile-nav-overlay[_ngcontent-%COMP%] .top-bar-new-info[_ngcontent-%COMP%] .menu-container[_ngcontent-%COMP%]{flex:1 1 auto;min-height:0;height:100%;overflow-y:auto;overflow-x:hidden;-webkit-overflow-scrolling:touch;background-color:var(--orcid-color-brand-secondary-darkest, #003449)}app-search[_ngcontent-%COMP%]{overflow:hidden}app-user-menu[_ngcontent-%COMP%]{display:flex}.top-menu-button[_ngcontent-%COMP%]{height:54px;padding:15px 10px;border-bottom:2px solid transparent;border-radius:0;font-family:var(--orcid-font-family-sans);font-size:var(--orcid-font-size-body, 16px);font-weight:var(--orcid-font-weight-normal, 400);letter-spacing:var(--orcid-letter-spacing-body, normal);line-height:var(--orcid-line-height-body, 20px);text-align:center;color:var(--orcid-color-brand-secondary-dark, #085c77);background-color:var(--orcid-surface, #ffffff);border-bottom-color:transparent}.top-menu-button[_ngcontent-%COMP%]:hover:not(.active){color:var(--orcid-color-brand-secondary-darkest, #003449);border-bottom-color:var(--orcid-color-brand-secondary-darkest, #003449)}.top-menu-button.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.active):not(:hover), .top-menu-button.cdk-program-focused[_ngcontent-%COMP%]:not(.active):not(:hover){color:var(--orcid-color-brand-secondary-dark, #085c77);border-bottom-color:transparent}.top-menu-button.active[_ngcontent-%COMP%], .top-menu-button.active[_ngcontent-%COMP%]:hover{color:var(--orcid-color-brand-secondary-darkest, #003449);border-bottom-color:var(--orcid-color-brand-primary, #a6ce39)}.top-menu-button[_ngcontent-%COMP%]:focus-visible{color:var(--orcid-color-brand-secondary-dark, #085c77);border-bottom-color:transparent;box-shadow:inset 0 0 0 2px var(--orcid-color-ui-focus, #1098ff);outline:none}.top-menu-button.mat-mdc-button[_ngcontent-%COMP%]:not(:disabled), .top-menu-button.mat-button[_ngcontent-%COMP%]:not(:disabled){border-radius:0;--mat-button-text-label-text-color: var( --orcid-color-brand-secondary-dark, #085c77 );color:var(--orcid-color-brand-secondary-dark, #085c77)}.top-menu-button.mat-mdc-button[_ngcontent-%COMP%]:not(:disabled) .mdc-button__label[_ngcontent-%COMP%], .top-menu-button.mat-button[_ngcontent-%COMP%]:not(:disabled) .mdc-button__label[_ngcontent-%COMP%]{color:inherit}.top-menu-button.mat-mdc-button[_ngcontent-%COMP%]:not(:disabled):hover:not(.active), .to
3p-menu-button.mat-button[_ngcontent-%COMP%]:not(:disabled):hover:not(.active){--mat-button-text-label-text-color: var( --orcid-color-brand-secondary-darkest, #003449 );color:var(--orcid-color-brand-secondary-darkest, #003449)}.top-menu-button.mat-mdc-button[_ngcontent-%COMP%]:not(:disabled).active, .top-menu-button.mat-mdc-button[_ngcontent-%COMP%]:not(:disabled).active:hover, .top-menu-button.mat-button[_ngcontent-%COMP%]:not(:disabled).active, .top-menu-button.mat-button[_ngcontent-%COMP%]:not(:disabled).active:hover{--mat-button-text-label-text-color: var( --orcid-color-brand-secondary-darkest, #003449 );color:var(--orcid-color-brand-secondary-darkest, #003449)}.top-menu-button.mat-mdc-button[_ngcontent-%COMP%]:not(:disabled).cdk-keyboard-focused:not(.active):not(:hover), .top-menu-button.mat-mdc-button[_ngcontent-%COMP%]:not(:disabled).cdk-program-focused:not(.active):not(:hover), .top-menu-button.mat-button[_ngcontent-%COMP%]:not(:disabled).cdk-keyboard-focused:not(.active):not(:hover), .top-menu-button.mat-button[_ngcontent-%COMP%]:not(:disabled).cdk-program-focused:not(.active):not(:hover){--mat-button-text-label-text-color: var( --orcid-color-brand-secondary-dark, #085c77 );color:var(--orcid-color-brand-secondary-dark, #085c77)}.top-menu-button.mat-mdc-button[_ngcontent-%COMP%]:not(:disabled):focus-visible, .top-menu-button.mat-button[_ngcontent-%COMP%]:not(:disabled):focus-visible{--mat-button-text-label-text-color: var( --orcid-color-brand-secondary-dark, #085c77 );color:var(--orcid-color-brand-secondary-dark, #085c77)}']})}}return k})();var Ws=o(15349);const ql=k=>({mobile:k}),Nu=k=>({"row orcid-logo-mobile":k}),yd=k=>({"col desktop":k}),kc=(k,A)=>({tablet:k,mobile:A}),Dd=k=>({"space-around":k});function Lu(k,A){1&k&&(r.j41(0,"div",47),r.EFF(1,"\n "),r.nrm(2,"img",48),r.EFF(3,"\n "),r.k0s())}function wu(k,A){1&k&&r.nrm(0,"img",48)}let xu=(()=>{class k{constructor(m,S){this.window=S,this.labelFooter="footer",this.infoSiteBaseUrl=runtimeEnvironment.INFO_SITE,this.isDesktop=!1,this.isTablet=!1,this.isMobile=!1,this.license=Ws.O.appendOpensInNewTab("license"),this.linkedin=Ws.O.appendOpensInNewTab("Linkedin"),this.bluesky=Ws.O.appendOpensInNewTab("Bluesky"),this.facebook=Ws.O.appendOpensInNewTab("Facebook"),this.mastodon=Ws.O.appendOpensInNewTab("Mastodon"),this.vimeo=Ws.O.appendOpensInNewTab("Vimeo"),this.youtube=Ws.O.appendOpensInNewTab("Youtube"),this.rss=Ws.O.appendOpensInNewTab("RSS"),this.github=Ws.O.appendOpensInNewTab("Github"),this.twitter=Ws.O.appendOpensInNewTab("Twitter"),m.get().subscribe(B=>{this.platform=B,this.isDesktop=B.columns12,this.isTablet=B.columns8,this.isMobile=B.columns4})}ngOnInit(){setTimeout(()=>{const m=this.window.document.getElementById("ot-sdk-btn");m&&(m.innerText="Cookie Settings")},200)}goTo(m){this.window.location.href=m}static{this.\u0275fac=function(S){return new(S||k)(r.rXU(Bt.Z),r.rXU(Xr.jf))}}static{this.\u0275cmp=r.VBU({type:k,selectors:[["app-footer"]],standalone:!1,decls:109,vars:41,consts:()=>{let m,S,B,ve,lt,Ot,Ft,Kt,fn,un,Un;return m="The text of this website is published under a",S="CC0 license.",B="the ORCID logo, and the iD logo are trademarks of ORCID, Inc. ORCID\n is registered in the US and other jurisdictions.",ve="\n About ORCID\n ",lt="\n Privacy Policy\n ",Ot="\n Terms of Use\n ",Ft="\n Accessibility Statement\n ",Kt="\n ORCID Help Center\n ",fn="\n Dispute procedures\n ",un="\n Brand Guidelines\n ",Un="\n Cookie Settings\n ",[m,S,B,ve,lt,Ot,Ft,Kt,fn,un,Un,[3,"ngClass"],[1,"row","container"],[1,"row","logo","space-around"],[1,"col","baseline","no-gutters",3,"ngClass"],["src","./assets/vectors/orcid.logo.svg","alt","Orcid"],["href","https://www.linkedin.com/company/orcid","target","_blank","rel","noopener noreferrer"],["src","./assets/vectors/social/Linkedin.svg",1,"social",3,"alt"],["href","https://bsky.app/profile/orcid.org","target","_blank","rel","noopener noreferrer"],["src","./assets/vectors/social/Bluesky.svg",1,"social",3,"alt"],["href","https://www.facebook.com/ORCID.org","target","_blank","rel","noopener noreferrer"],["src","./assets/vectors/social/Facebook.svg",1,"social",3,"alt"],["href","https://scicomm.xyz/@ORCID_Org","target","_blank","rel","noopener noreferrer"],["src","./assets/vectors/social/Mastodon.svg",1,"social",3,"alt"],["href","https://www.youtube.com/@orcid_org","target","_blank","rel","noopener noreferrer"],["src","./assets/vectors/social/Youtube.svg",1,"social",3,"alt"],["href","https://vimeo.com/orcidvideos","target","_blank","rel","noopener noreferrer"],["src","./assets/vectors/social/Vimeo.svg",1,"social",3,"alt"],["href","https://github.com/ORCID","target","_blank","rel","noopener noreferrer"],["src","./assets/vectors/social/Github.svg",1,"social",3,"alt"],["target","_blank","rel","noopener noreferrer",3,"href"],["src","./assets/vectors/social/RSS.svg",1,"social",3,"alt"],[1,"row","public-domain","space-around"],[1,"CC0","orc-font-body-small",3,"ngClass"],["class","row mobile",4,"ngIf"],["src","./assets/vectors/cc-zero.svg","alt","public domain",4,"ngIf"],["href","http://creativecommons.org/publicdomain/zero/1.0/","rel","license noreferrer","target","footer.copyright_cc0",1,"mat-button-font","underline"],[1,"row","links","space-around",3,"ngClass"],[1,"col","mat-button-font","url-lists",3,"ngClass"],["href","/about",1,"underline"],["href","/privacy-policy",1,"underline"],["href","/content/orcid-terms-use",1,"underline"],["href","/content/orcid-accessibility-statement",1,"underline"],["href","https://support.orcid.org/",1,"underline"],["href","/orcid-dispute-procedures",1,"underline"],["href","/trademark-and-id-display-guidelines/",1,"underline"],["id","ot-sdk-btn","tabindex","0",1,"ot-sdk-show-settings","underline"],[1,"row","mobile"],["src","./assets/vectors/cc-zero.svg","alt","public domain"]]},template:function(S,B){1&S&&(r.j41(0,"footer",11),r.EFF(1,"\n "),r.j41(2,"div",12),r.EFF(3,"\n "),r.j41(4,"div",13),r.EFF(5,"\n "),r.j41(6,"div",14),r.EFF(7,"\n "),r.j41(8,"a",11),r.EFF(9,"\n "),r.nrm(10,"img",15),r.EFF(11,"\n "),r.k0s(),r.EFF(12,"\n "),r.j41(13,"a",16),r.EFF(14,"\n "),r.nrm(15,"img",17),r.EFF(16,"\n "),r.k0s(),r.EFF(17,"\n "),r.j41(18,"a",18),r.EFF(19,"\n "),r.nrm(20,"img",19),r.EFF(21,"\n "),r.k0s(),r.EFF(22,"\n "),r.j41(23,"a",20),r.EFF(24,"\n "),r.nrm(25,"img",21),r.EFF(26,"\n "),r.k0s(),r.EFF(27,"\n "),r.j41(28,"a",22),r.EFF(29,"\n "),r.nrm(30,"img",23),r.EFF(31,"\n "),r.k0s(),r.EFF(32,"\n "),r.j41(33,"a",24),r.EFF(34,"\n "),r.nrm(35,"img",25),r.EFF(36,"\n "),r.k0s(),r.EFF(37,"\n "),r.j41(38,"a",26),r.EFF(39,"\n "),r.nrm(40,"img",27),r.EFF(41,"\n "),r.k0s(),r.EFF(42,"\n "),r.j41(43,"a",28),r.EFF(44,"\n "),r.nrm(45,"img",29),r.EFF(46,"\n "),r.k0s(),r.EFF(47,"\n "),r.j41(48,"a",30),r.EFF(49,"\n "),r.nrm(50,"img",31),r.EFF(51,"\n "),r.k0s(),r.EFF(52,"\n "),r.k0s(),r.EFF(53,"\n "),r.k0s(),r.EFF(54,"\n\n "),r.j41(55,"div",32),r.EFF(56,"\n "),r.j41(57,"div",33),r.EFF(58,"\n "),r.DNE(59,Lu,4,0,"div",34),r.EFF(60,"\n "),r.j41(61,"p"),r.EFF(62,"\n "),r.DNE(63,wu,1,0,"img",35),r.EFF(64,"\n\n "),r.qex(65),r.pXf(66,0),r.bVm(),r.EFF(67,"\xa0"),r.j41(68,"a",36),r.pXf(69,1),r.k0s(),r.EFF(70,"\xa0ORCID\u2122,\xa0"),r.qex(71),r.pXf(72,2),r.bVm(),r.EFF(73,"\n "),r.k0s(),r.EFF(74,"\n "),r.k0s(),r.EFF(75,"\n "),r.k0s(),r.EFF(76,"\n "),r.j41(77,"div",37),r.EFF(78,"\n "),r.j41(79,"div",38),r.EFF(80,"\n "),r.j41(81,"a",39),r.pXf(82,3),r.k0s(),r.EFF(83,"\n\n "),r.j41(84,"a",40),r.pXf(85,4),r.k0s(),r.EFF(86,"\n "),r.j41(87,"a",41),r.pXf(88,5),r.k0s(),r.EFF(89,"\n "),r.j41(90,"a",42),r.pXf(91,6),r.k0s(),r.EFF(92,"\n "),r.j41(93,"a",43),r.pXf(94,7),r.k0s(),r.EFF(95,"\n "),r.j41(96,"a",44),r.pXf(97,8),r.k0s(),r.EFF(98,"\n "),r.j41(99,"a",45),r.pXf(100,9),r.k0s(),r.EFF(101,"\n "),r.j41(102,"a",46),r.pXf(103,10),r.k0s(),r.EFF(104,"\n "),r.k0s(),r.EFF(105,"\n "),r.k0s(),r.EFF(106,"\n "),r.k0s(),r.EFF(107,"\n"),r.k0s(),r.EFF(108,"\n")),2&S&&(r.Y8G("ngClass",r.eq3(28,ql,!B.isDesktop)),r.BMQ("aria-label",B.labelFooter),r.R7$(6),r.Y8G("ngClass",r.eq3(30,ql,!B.isDesktop)),r.R7$(2),r.Y8G("ngClass",r.eq3(32,Nu,B.isMobile)),r.R7$(7),r.Y8G("alt",r.mNQ(B.linkedin)),r.R7$(5),r.Y8G("alt",r.mNQ(B.bluesky)),r.R7$(5),r.Y8G("alt",r.mNQ(B.facebook)),r.R7$(5),r.Y8G("alt",r.mNQ(B.mastodon)),r.R7$(5),r.Y8G("alt",r.mNQ(B.youtube)),r.R7$(5),r.Y8G("alt",r.mNQ(B.vimeo)),r.R7$(5),r.Y8G("alt",r.mNQ(B.github)),r.R7$(3),r.Y8G("href",r.VkB("",B.infoSiteBaseUrl,"blog/feed"),r.B4B),r.R7$(2),r.Y8G("alt",r.mNQ(B.rss)),r.R7$(7),r.Y8G("ngClass",r.eq3(34,yd,B.isDesktop)),r.R7$(2),r.Y8G("ngIf",!B.isDesktop),r.R7$(4),r.Y8G("ngIf",B.isDesktop),r.R7$(5),r.BMQ("aria-label","CC0"+B.license),r.R7$(9),r.Y8G("ngClass",r.l_i(36,kc,B.isTablet,B.isMobile)),r.R7$(2),r.Y8G("ngClass",r.eq3(39,Dd,!B.isDesktop)))},dependencies:[v.YU,v.bT],styles:["footer[_ngcontent-%COMP%]{background-color:#f5f5f5}footer[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#085c77!important;font-weight:400!important}footer[_ngcontent-%COMP%] .social[_ngcontent-%COMP%]{filter:invert(9%) sepia(9%) saturate(8%) hue-rotate(323deg) brightness(96%) contrast(89%)}","footer[_ngcontent-%COMP%]{padding:64px 32px}footer.mobile[_ngcontent-%COMP%]{padding:64px 16px!important}.container[_ngcontent-%COMP%]{gap:32px}.columns-8 [_nghost-%COMP%] footer[_ngcontent-%COMP%], .columns-4 [_nghost-%COMP%] footer[_ngcontent-%COMP%]{padding-bottom:75px}.url-lists[_ngcontent-%COMP%]{margin:0;padding:0;list-style:none}.logo.row[_ngcontent-%COMP%]{height:auto}.logo.row[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{margin-left:16px}[dir] [_nghost-%COMP%] .logo.row[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{margin-left:auto;margin-right:16px}.logo.row[_ngcontent-%COMP%] a[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{height:40px;width:auto;object-fit:cover}.logo.row[_ngcontent-%COMP%] a[_ngcontent-%COMP%] img.social[_ngcontent-%COMP%]{height:32px}.logo.row[_ngcontent-%COMP%] .mobile[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{margin-right:8px!important}.logo.row[_ngcontent-%COMP%] .orcid-logo-mobile[_ngcontent-%COMP%]{justify-content:center;padding-bottom:32px}.public-domain[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0}.public-domain[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{object-fit:cover;height:32px;margin-right:8px;vertical-align:middle}.public-domain[_ngcontent-%COMP%] .CC0[_ngcontent-%COMP%]{text-align:center}.public-domain[_ngcontent-%COMP%] .desktop[_ngcontent-%COMP%]{display:flex;align-items:center}.public-domain[_ngcontent-%COMP%] .mobile[_ngcontent-%COMP%]{justify-content:center;padding-bottom:8px}.links[_ngcontent-%COMP%] > .url-lists[_ngcontent-%COMP%]{justify-content:center}.columns-4 [_nghost-%COMP%] .links[_ngcontent-%COMP%] > .url-lists[_ngcontent-%COMP%] a[_ngcontent-%COMP%], .columns-8 [_nghost-%COMP%] .links[_ngcontent-%COMP%] > .url-lists[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{justify-content:space-around}.links[_ngcontent-%COMP%] > .url-lists[_ngcontent-%COMP%] a[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{padding:0 12px}a[_ngcontent-%COMP%]:hover, a[_ngcontent-%COMP%]:focus{text-decoration:underline}.links[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{cursor:pointer;padding:0!important;margin:8px 16px!important}.links.mobile[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{margin:7px 10px!important}.links.tablet[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{margin:7px 15px!important}.CC0[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:hover{text-decoration:underline}.ot-sdk-show-settings[_ngcontent-%COMP%]{color:inherit!important;line-height:inherit!important;border-width:initial!important;border-style:none!important;border-color:initial!important;border-image:initial!important;margin:0 auto!important;padding:7px 20px!important;transition:inherit!important;font-size:inherit!important;font-weight:inherit!important}.ot-sdk-show-settings[_ngcontent-%COMP%]:hover{color:inherit!important;background-color:inherit!important}
3@media (max-width: 399px){.logo[_ngcontent-%COMP%]{width:200px;justify-content:center}}"]})}}return k})();function Bc(k,A){if(1&k&&(r.j41(0,"div",1)(1,"a",2),r.EFF(2,"Skip to main content"),r.k0s()()),2&k){const m=r.XpG();r.R7$(),r.Y8G("href",m.currentUrl+"#main",r.B4B)}}let Fu=(()=>{class k{constructor(m,S,B){this.router=m,this.route=S,this.window=B,m.events.pipe((0,Ma.p)(ve=>ve instanceof ut.wF)).subscribe(ve=>{this.currentUrl=ve.urlAfterRedirects.replace("#main","")})}ngOnInit(){}skipMainMenu(){this.router.navigateByUrl(this.currentUrl+"#main")}static{this.\u0275fac=function(S){return new(S||k)(r.rXU(ut.Ix),r.rXU(ut.nX),r.rXU(Xr.jf))}}static{this.\u0275cmp=r.VBU({type:k,selectors:[["app-skip-main-nav"]],standalone:!1,decls:1,vars:1,consts:[["id","skip-link",4,"ngIf"],["id","skip-link"],[1,"a11yLinks",3,"href"]],template:function(S,B){1&S&&r.DNE(0,Bc,3,1,"div",0),2&S&&r.Y8G("ngIf",B.currentUrl)},dependencies:[v.bT],styles:[".a11yLinks[_ngcontent-%COMP%]{position:absolute!important}.a11yLinks[_ngcontent-%COMP%]:not(:focus){clip:rect(1px 1px 1px 1px);clip:rect(1px,1px,1px,1px);overflow:hidden;height:1px}"]})}}return k})();const Ml=["*",[["label",8,"closebutton"]]],vl=["*","label.closeButton"];function Ad(k,A){if(1&k){const m=r.RV6();r.j41(0,"button",2),r.bIt("click",function(){u.eBV(m);const B=r.XpG();return u.Njj(B.onDismiss())}),r.SdG(1,1),r.k0s()}}let $c=(()=>{class k{constructor(m){this._cookie=m,this.dismissCookie="cookieName",this.canDismiss=!1,this.dismissCookieTime=365,this.dismiss=new r.bkB}ngOnInit(){}onDismiss(){this._cookie.set(this.dismissCookie,"dont show message",this.dismissCookieTime),this.dismiss.emit()}static{this.\u0275fac=function(S){return new(S||k)(r.rXU(Br.O))}}static{this.\u0275cmp=r.VBU({type:k,selectors:[["app-banner"]],inputs:{dismissCookie:"dismissCookie",canDismiss:"canDismiss",dismissCookieTime:"dismissCookieTime",ariaLabel:"ariaLabel"}
3,outputs:{dismiss:"dismiss"},standalone:!1,ngContentSelectors:vl,decls:4,vars:2,consts:[[1,"alert","alert-banner","mat-subtitle-2"],["mat-flat-button","","color","primary",3,"click",4,"ngIf"],["mat-flat-button","","color","primary",3,"click"]],template:function(S,B){1&S&&(r.NAR(Ml),r.j41(0,"section",0)(1,"p"),r.SdG(2),r.k0s(),r.DNE(3,Ad,2,0,"button",1),r.k0s()),2&S&&(r.BMQ("aria-label",B.ariaLabel),r.R7$(3),r.Y8G("ngIf",B.canDismiss))},dependencies:[v.bT,Lo.$z],styles:["[_nghost-%COMP%]{background-color:#f5c120;display:flex;padding:15px}.alert-banner[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center;width:100%;justify-content:space-between}button[_ngcontent-%COMP%]{flex-shrink:0}.mat-subtitle-2[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0}.columns-12 [_nghost-%COMP%] .alert-banner[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{padding-right:15px}.columns-8 [_nghost-%COMP%] .alert-banner[_ngcontent-%COMP%], .columns-4 [_nghost-%COMP%] .alert-banner[_ngcontent-%COMP%]{flex-direction:column;align-items:flex-end}.columns-8 [_nghost-%COMP%] .alert-banner[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .columns-4 [_nghost-%COMP%] .alert-banner[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{align-self:flex-start}"]})}}return k})();function Sd(k,A){1&k&&(r.j41(0,"app-banner",7),r.qex(1),r.pXf(2,0),r.bVm(),r.EFF(3,"\n\n "),r.qex(4),r.pXf(5,1),r.bVm(),r.EFF(6,"\n\n "),r.j41(7,"a",8),r.pXf(8,2),r.k0s(),r.EFF(9,".\n\n "),r.j41(10,"label",9),r.pXf(11,3),r.k0s(),r.EFF(12,"\n"),r.k0s()),2&k&&r.Y8G("canDismiss",!1)}function ec(k,A){if(1&k){const m=r.RV6();r.j41(0,"app-banner",10),r.bIt("dismiss",function(){u.eBV(m);const B=r.XpG();return u.Njj(B.understoodClosableMessage(B.closableElementAtDisplay))}),r.EFF(1,"\n "),r.nrm(2,"span",11),r.EFF(3,"\n "),r.j41(4,"label",9),r.pXf(5,4),r.k0s(),r.EFF(6,"\n"),r.k0s()}if(2&k){const m=r.XpG();r.Y8G("canDismiss",!0)("dismissCookieTime",365)("canDismiss",!0)("ariaLabel",m.closableElementAtDisplay.getAttribute("aria-label")),r.R7$(2),r.Y8G("innerHtml",m.closableElementAtDisplay.innerHTML,r.npT)}}let Uc=(()=>{class k{constructor(m,S,B){this._cookie=B,this.environment=runtimeEnvironment,this.ariaLabelCookiesPolicy="Cookies Policy",S.getMaintenanceMessages().subscribe(ve=>{this.maintenanceMessages=ve,this.updateClosableMessage()}),m.get().pipe((0,Ma.p)(ve=>ve.unsupportedBrowser),(0,to.s)(1)).subscribe(ve=>this.showUnsupportedBrowserBanner=ve.unsupportedBrowser)}updateClosableMessage(){this.maintenanceMessages&&this.maintenanceMessages.closableElements&&this.maintenanceMessages.closableElements.forEach(m=>{m&&m.id&&!this._cookie.check(m.id)&&!this.closableElementAtDisplay&&(this.closableElementAtDisplay=m)})}understoodClosableMessage(m){this.closableElementAtDisplay=null,this._cookie.set(m.id,"understood",365),this.updateClosableMessage()}ngOnInit(){}static{this.\u0275fac=function(S){return new(S||k)(r.rXU(Bt.Z),r.rXU(Pn.v),r.rXU(Br.O))}}static{this.\u0275cmp=r.VBU({type:k,selectors:[["app-banners"]],standalone:!1,decls:4,vars:2,consts:()=>{let m,S,B,ve,lt;return m="\n We notice you are using a browser that our site does not support. Some\n features on this site may not work correctly.",S="\n We recommend that you upgrade to a\n ",B="supported browser",ve="Dismiss",lt="Understood",[m,S,B,ve,lt,["ariaLabel","Unsupported browser",3,"canDismiss",4,"ngIf"],[3,"canDismiss","dismissCookie","dismissCookieTime","ariaLabel","dismiss",4,"ngIf"],["ariaLabel","Unsupported browser",3,"canDismiss"],["target","common.old_browser_3","href","https://support.orcid.org/hc/en-us/articles/360006895074-Technical-requirements-for-using-the-ORCID-site",1,"mat-button-font","black-url"],[1,"closeButton"],[3,"dismiss","canDismiss","dismissCookie","dismissCookieTime","ariaLabel"],[3,"innerHtml"]]},template:function(S,B){1&S&&(r.DNE(0,Sd,13,1,"app-banner",5),r.EFF(1,"\n\n"),r.DNE(2,ec,7,5,"app-banner",6),r.EFF(3,"\n")),2&S&&(r.Y8G("ngIf",B.showUnsupportedBrowserBanner),r.R7$(2),r.Y8G("ngIf",B.closableElementAtDisplay))},dependencies:[v.bT,$c],encapsulation:2})}}return k})();var Cl=o(28203);const qa=k=>({spacing:k});function ms(k,A){1&k&&r.nrm(0,"app-banners")}function yi(k,A){1&k&&r.nrm(0,"app-header",5)}function mf(k,A){1&k&&r.nrm(0,"app-footer")}let Td=(()=>{class k{constructor(m,S,B,ve,lt,Ot,Ft,Kt,fn,un){this._zendesk=ve,this._userService=lt,this._errorHandler=Ot,this._window=Ft,this.zendeskDisplayRequested=!0,this.headlessMode=!1,this.footerlessMode=!1,this.currentRouteIsHeadlessOnOauthPage=!0,Kt.init(),m.get().pipe((0,_s.M)(Un=>{this.platformInfo=Un,this.currentRouteIsHeadlessOnOauthPage=this.showHeadlessOnOauthPage(Un.currentRoute),this.setPlatformClasses(Un),this.screenDirection=Un.screenDirection,this.updateZendeskVisibility(Un)})).subscribe(),fn.init(),un.init(),S.events.subscribe(Un=>{if(Un instanceof ut.Z&&((0,rt.f4)(Un.url),this.currentRoute=Un.url),Un instanceof ut.wF){const Fn=(0,rt.Gi)(Un.url);B.addGtmToDom().pipe((0,q.W)(Hn=>this._errorHandler.handleError(Hn,Us.Q.STANDARD_NO_VERBOSE_NO_GA))).subscribe(Hn=>{Hn&&B.reportNavigationEnd(Un.url,Fn).subscribe(()=>{B.reportPageView(Un.urlAfterRedirects)})}),this.addSpacing()}})}isZendeskFreeRoute(m){const S=(m||"").split("?")[0].split("#")[0];return!(S&&"/"!==S&&!S.endsWith("/summary"))}updateZendeskVisibility(m){const S=!m.hasOauthParameters&&!this.isZendeskFreeRoute(m.currentRoute);S!==this.zendeskDisplayRequested&&(this.zendeskDisplayRequested=S,S?(this._zendesk.show(),this._zendesk.adaptPluginToPlatform(m)):this._zendesk.hide())}showHeadlessOnOauthPage(m){return!m||!!Jn.Ub.filter(B=>0===m.indexOf("/"+B)).length}setPlatformClasses(m,S){this.headlessMode=(m.hasOauthParameters||S)&&this.currentRouteIsHeadlessOnOauthPage||m.summaryScreen,this.footerlessMode=m.summaryScreen,this.ie=m.ie,this.edge=m.edge,this.tabletOrHandset=m.tabletOrHandset,this.handset=m.handset,this.tablet=m.tablet,this.desktop=m.desktop,this.columns8=m.columns8,this.columns12=m.columns12,this.columns4=m.columns4}onVisibilityChange(m){this._userService.setTimerAsHiddenState(this._window.document.hidden)}addSpacing(){let m=this.currentRoute.split("?")[0];switch(m=m.substring(1),m){case Jn.Tu.signin:case Jn.Tu.register:case Jn.Tu.authorize:case Jn.Tu.search:case Jn.Tu.institutionalLinking:this.spacing=!0;break;default:this.spacing=!1}}static{this.\u0275fac=function(S){return new(S||k)(r.rXU(qo.Z),r.rXU(ut.Ix),r.rXU(_o.A),r.rXU(Ti.c),r.rXU(He.DL),r.rXU(na.c),r.rXU(Xr.jf),r.rXU(ra.E),r.rXU(Dc.p),r.rXU(fs))}}static{this.\u0275cmp=r.VBU({type:k,selectors:[["app-root"]],hostVars:18,hostBindings:function(S,B){1&S&&r.bIt("visibilitychange",function(){return B.onVisibilityChange()},r.tSv),2&S&&r.AVh("edge",B.edge)("ie",B.ie)("tabletOrHandset",B.tabletOrHandset)("handset",B.handset)("tablet",B.tablet)("desktop",B.desktop)("columns-8",B.columns8)("columns-12",B.columns12)("columns-4",B.columns4)},standalone:!1,decls:8,vars:7,consts:[[3,"dir"],["name","banner"],[4,"ngIf"],["currentRoute","",4,"ngIf"],[1,"router-container",3,"ngClass"],["currentRoute",""]],template:function(S,B){1&S&&(r.nrm(0,"app-skip-main-nav"),r.j41(1,"div",0),r.nrm(2,"router-outlet",1),r.DNE(3,ms,1,0,"app-banners",2)(4,yi,1,0,"app-header",3),r.j41(5,"div",4),r.nrm(6,"router-outlet"),r.k0s(),r.DNE(7,mf,1,0,"app-footer",2),r.k0s()),2&S&&(r.R7$(),r.Y8G("dir",B.screenDirection),r.R7$(2),r.Y8G("ngIf",!B.headlessMode),r.R7$(),r.Y8G("ngIf",!B.headlessMode),r.R7$(),r.Y8G("ngClass",r.eq3(5,qa,B.spacing)),r.R7$(2),r.Y8G("ngIf",!B.footerlessMode))},dependencies:[v.YU,v.bT,ut.n3,Ru,xu,Fu,Uc,Cl.ig],styles:[".router-container[_ngcontent-%COMP%]{min-height:100vh;flex:1 0 auto;display:flex;width:100%}.spacing[_ngcontent-%COMP%]{padding:32px 0}"]})}}return k})();var tc=o(46221),ku=o(56538);let Is=(()=>{class k{static{this.\u0275fac=function(S){return new(S||k)}}static{this.\u0275mod=r.$C({type:k})}static{this.\u0275inj=u.G2t({})}}return k})(),Uu=(()=>
3{class k{constructor(){this.formUrlEcondedUrls=["/sendReactivation.json","/social/signin/auth.json","/shibboleth/signin/auth.json","/signin/auth.json",runtimeEnvironment.AUTH_SERVER+"login",runtimeEnvironment.AUTH_SERVER+"oauth2/authorize"]}construct(){}intercept(m,S){var lt,B=m.method??"",ve=m.urlWithParams??m.url??"";return B&&["POST","PUT"].includes(B)?(lt=this.formUrlEcondedUrls.find(Ot=>ve.includes(Ot))?m.clone({headers:m.headers.set("Content-Type","application/x-www-form-urlencoded;charset=utf-8")}):m.clone({headers:m.headers.set("Content-Type","application/json;charset=utf-8")}),S.handle(lt)):S.handle(m)}static{this.\u0275fac=function(S){return new(S||k)}}static{this.\u0275prov=u.jDH({token:k,factory:k.\u0275fac})}}return k})();var bl=o(86648);const nc="XSRF-TOKEN",yl="AUTH-XSRF-TOKEN",Pd=["POST","PUT","PATCH","DELETE"];function po(k){try{return k?k.startsWith("//")?new URL(`${window.location.protocol}${k}`):new URL(k,window.location.origin):null}catch{return null}}function Yr(k,A){const m=po(k),S=po(A);return!(!m||!S)&&m.host===S.host}function Dl(k){const A=po(runtimeEnvironment.AUTH_SERVER),m=po(k);return!(!A||!m||A.host!==m.host)&&m.pathname.startsWith(A.pathname)}function ic(k){return Gc(k)||Yr(k,runtimeEnvironment.API_WEB)||Yr(k,runtimeEnvironment.BASE_URL)}function Gc(k){return!!k&&k.startsWith("/")}let oc=(()=>{class k{constructor(m){this._cookie=m}attachXsrf(m,S){return m.clone({withCredentials:!0,headers:m.headers.set("x-xsrf-token",S)})}readToken(m){const[S,B]=function Id(k){return Dl(k)?[yl,nc]:[nc,yl]}(m);return this._cookie.get(S)||this._cookie.get(B)}intercept(m,S){const B=(m.method??"").toUpperCase();if(!B||!Pd.includes(B)||m.headers.get("x-xsrf-token")?.trim()||!function rc(k){return ic(k)||Dl(k)}(m.url))return S.handle(m);const lt=this.readToken(m.url);if(lt)return S.handle(this.attachXsrf(m,lt));if(!Dl(m.url)&&function jc(k){return Gc(k)||po(k)?.host===window.location.host}(m.url)){const Ot=`${runtimeEnvironment.API_WEB}csrf.json`;return(0,bl.H)(fetch(Ot,{credentials:"include"})).pipe((0,q.W)(()=>(0,Hr.of)(null)),(0,co.n)(()=>{const Ft=this.readToken(m.url);return S.handle(Ft?this.attachXsrf(m,Ft):m)}))}return S.handle(m)}static{this.\u0275fac=function(S){return new(S||k)(u.KVO(Br.O))}}static{this.\u0275prov=u.jDH({token:k,factory:k.\u0275fac})}}return k})();var Wc=o(21413),ba=o(84466);let Gu=(()=>{class k{static{this.RELOAD_GUARD_KEY="xsrf-preload-reloaded"}constructor(m,S,B,ve){this._cookie=m,this._observability=S,this.window=B,this.platform=ve,this.isLoading=!1,this.loaded=!1,this.gate$=new Wc.B}intercept(m,S){const B=runtimeEnvironment.API_WEB,ve=m.url.includes("cors.json"),lt=m.url.includes("csrf.json"),Ft=(m.url.includes(".json")||ic(m.url))&&!ve&&!lt;return!this.loaded&&this.hasXsrfCookie()&&(this.loaded=!0),!Ft||this.loaded?S.handle(m):(this.isLoading||(this.isLoading=!0,fetch(`${B}csrf.json`,{credentials:"include"}).catch(()=>{}).finally(()=>{this.loaded=!0,this.isLoading=!1,this.hasXsrfCookie()||this.reportAndReloadOnce(),this.gate$.next(),this.gate$.complete()})),this.gate$.pipe((0,to.s)(1),(0,co.n)(()=>S.handle(m))))}reportAndReloadOnce(){let m=!1;try{m="true"===this.window.sessionStorage.getItem(k.RELOAD_GUARD_KEY)}catch{}try{this._observability.recordSimpleEvent(te.f0.XsrfMissingAfterPreload,{error:"xsrf_missing",errorDescription:"XSRF-TOKEN missing after csrf.json preload",browser:this.browserName(),reloaded:!m})}catch{}if(!m){try{this.window.sessionStorage.setItem(k.RELOAD_GUARD_KEY,"true")}catch{}try{this.window.location.reload()}catch{}}}browserName(){return this.platform.FIREFOX?"firefox":this.platform.SAFARI?"safari":this.platform.EDGE?"edge":this.platform.BLINK?"blink":"unknown"}hasXsrfCookie(){return!!this._cookie.get("XSRF-TOKEN")}static{this.\u0275fac=function(S){return new(S||k)(u.KVO(Br.O),u.KVO(Ur.s),u.KVO(Xr.jf),u.KVO(ba.P))}}static{this.\u0275prov=u.jDH({token:k,factory:k.\u0275fac})}}return k})();var mi=o(29330),sc=o(41584),Kc=o(12498),Al=o(13256);const ac=new Set([0,408,502,503,504]);let Rd=(()=>{class k{intercept(m,S){return m.context.get(Al.Mg)?S.handle(m):S.handle(m).pipe((0,Kc.L)({count:2,delay:(B,ve)=>{if(!(B instanceof mi.yz&&ac.has(B.status)))throw B;return(0,sc.O)(0*ve)}}))}static{this.\u0275fac=function(S){return new(S||k)}}static{this.\u0275prov=u.jDH({token:k,factory:k.\u0275fac})}}return k})();var Vc=o(88021),el=o(60850),Nd=o(90006),Ld=o(73530);let wd=(()=>{class k{static{this.\u0275fac=function(S){return new(S||k)}}static{this.\u0275mod=r.$C({type:k,bootstrap:[Td]})}static{this.\u0275inj=u.G2t({providers:[ra.E,{provide:mi.a7,useClass:Gu,multi:!0},{provide:mi.a7,useClass:Rd,multi:!0},{provide:mi.a7,useClass:Uu,multi:!0},{provide:mi.a7,useClass:oc,multi:!0},(0,mi.$R)((0,mi.Sx)(),(0,mi.c2)({cookieName:"XSRF-TOKEN",headerName:"x-xsrf-token"}))],imports:[Ne,_l,tc.U,Ha,ku.R,Cl.jI,Vc.l,el.jL,Nd.M,Ld.fS,Is,us,fo.YN]})}}return k})();var ko=o(31771);runtimeEnvironment.production&&(0,_.SmG)(),function gs(){const k=Object.values(ko.b);window.setQAflag=(A,m)=>{if(k.includes(A))try{m?(localStorage.setItem(A,"true"),console.info(`[QAFlag] "${A}" set to "${m}".`)):(localStorage.removeItem(A),console.info(`[QAFlag] "${A}" removed from localStorage.`))}catch(S){console.error("[QAFlag] Error setting flag in localStorage:",S)}else console.warn(`[QAFlag] Unknown flag "${A}". Known flags: ${k.join(", ")}`)}}(),pe().bootstrapModule(wd).catch(k=>console.error(k))},95178:(qe,ee,o)=>{"use strict";o.d(ee,{vr:()=>oe,px:()=>ne,Ae:()=>U}),o(34991);var t=o(2615),u=o(73664),M=o(84466),v=o(41560),r=o(49046);o(21413),o(18359),o(74402),o(7673),o(96697),o(42774);const Y=" ";function ne(De,ue,z){const de=T(De,ue);z=z.trim(),!de.some(ae=>ae.trim()===z)&&(de.push(z),De.setAttribute(ue,de.join(Y)))}function U(De,ue,z){const de=T(De,ue);z=z.trim();const ae=de.filter(X=>X!==z);ae.length?De.setAttribute(ue,ae.join(Y)):De.removeAttribute(ue)}function T(De,ue){return De.getAttribute(ue)?.match(/\S+/g)??[]}const w="cdk-describedby-message",Z="cdk-describedby-host";let N=0,oe=(()=>{class De{_platform=(0,t.WQX)(M.P);_document=(0,t.WQX)(t.qQL);_messageRegistry=new Map;_messagesContainer=null;_id=""+N++;constructor(){(0,t.WQX)(v._).load(r.Y),this._id=(0,t.WQX)(u.sZ2)+"-"+N++}describe(z,de,ae){if(!this._canBeDescribed(z,de))return;const X=H(de,ae);"string"!=typeof de?(ie(de,this._id),this._messageRegistry.set(X,{messageElement:de,referenceCount:0})):this._messageRegistry.has(X)||this._createMessageElement(de,ae),this._isElementDescribedByMessage(z,X)||this._addMessageReference(z,X)}removeDescription(z,de,ae){if(!de||!this._isElementNode(z))return;const X=H(de,ae);if(this._isElementDescribedByMessage(z,X)&&this._removeMessageReference(z,X),"string"==typeof de){const $=this._messageRegistry.get(X);$&&0===$.referenceCount&&this._deleteMessageElement(X)}0===this._messagesContainer?.childNodes.length&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){const z=this._document.querySelectorAll(`[${Z}="${this._id}"]`);for(let de=0;de<z.length;de++)this._removeCdkDescribedByReferenceIds(z[de]),z[de].removeAttribute(Z);this._messagesContainer?.remove(),this._messagesContainer=null,this._messageRegistry.clear()}_createMessageElement(z,de){const ae=this._document.createElement("div");ie(ae,this._id),ae.textContent=z,de&&ae.setAttribute("role",de),this._createMessagesContainer(),this._messagesContainer.appendChild(ae),this._messageRegistry.set(H(z,de),{messageElement:ae,referenceCount:0})}_deleteMessageElement(z){this._messageRegistry.get(z)?.messageElement?.remove(),this._messageRegistry.delete(z)}_createMessagesContainer(){if(this._messagesContainer)return;const z="cdk-describedby-message-container",de=this._document.querySelectorAll(`.${z}[platform="server"]`);for(let X=0;X<de.length;X++)de[X].remove();const ae=this._document.createElement("div");ae.style.visibility="hidden",ae.classList.add(z),ae.classList.add("cdk-visually-hidden"),this._platform.isBrowser||ae.setAttribute("platform","server"),this._document.body.appendChild(ae),this._messagesContainer=ae}_removeCdkDescribedByReferenceIds(z){const de=T(z,"aria-describedby").filter(ae=>0!=ae.indexOf(w));z.setAttribute("aria-describedby",de.join(" "))}_addMessageReference(z,de){const ae=this._messageRegistry.get(de);ne(z,"aria-describedby",ae.messageElement.id),z.setAttribute(Z,this._id),ae.referenceCount++}_removeMessageReference(z,de){const ae=this._messageRegistry.get(de);ae.referenceCount--,U(z,"aria-describedby",ae.messageElement.id),z.removeAttribute(Z)}_isElementDescribedByMessage(z,de){const ae=T(z,"aria-describedby"),X=this._messageRegistry.get(de),$=X&&X.messageElement.id;return!!$&&-1!=ae.indexOf($)}_canBeDescribed(z,de){if(!this._isElementNode(z))return!1;if(de&&"object"==typeof de)return!0;const ae=null==de?"":`${de}`.trim(),X=z.getAttribute("aria-label");return!(!ae||X&&X.trim()===ae)}_isElementNode(z){return z.nodeType===this._document.ELEMENT_NODE}static \u0275fac=function(de){return new(de||De)};static \u0275prov=t.jDH({token:De,factory:De.\u0275fac,providedIn:"root"})}return De})();function H(De,ue){return"string"==typeof De?`${ue||""}/${De}`:De}function ie(De,ue){De.id||(De.id=`${w}-${ue}-${N++}`)}},95416:(qe,ee,o)=>{"use strict";o.d(ee,{TQ:()=>T,UG:()=>at,_T:()=>et,ht:()=>I});var a=o(73664),t=o(2615),u=o(17705),M=o(21413),v=o(7673),r=o(88834),_=o(88511),h=o(34991),
3C=o(84466),b=o(76939),D=o(18107),f=o(87870),O=o(99327),d=o(30282),L=o(56977),E=o(21715);function se(De,ue){if(1&De){const z=a.RV6();a.j41(0,"div",1)(1,"button",2),a.bIt("click",function(){t.eBV(z);const ae=a.XpG();return t.Njj(ae.action())}),a.EFF(2),a.k0s()()}if(2&De){const z=a.XpG();a.R7$(2),a.SpI(" ",z.data.action," ")}}const Y=["label"];function ne(De,ue){}const U=Math.pow(2,31)-1;class T{_overlayRef;instance;containerInstance;_afterDismissed=new M.B;_afterOpened=new M.B;_onAction=new M.B;_durationTimeoutId;_dismissedByAction=!1;constructor(ue,z){this._overlayRef=z,this.containerInstance=ue,ue._onExit.subscribe(()=>this._finishDismiss())}dismiss(){this._afterDismissed.closed||this.containerInstance.exit(),clearTimeout(this._durationTimeoutId)}dismissWithAction(){this._onAction.closed||(this._dismissedByAction=!0,this._onAction.next(),this._onAction.complete(),this.dismiss()),clearTimeout(this._durationTimeoutId)}closeWithAction(){this.dismissWithAction()}_dismissAfter(ue){this._durationTimeoutId=setTimeout(()=>this.dismiss(),Math.min(ue,U))}_open(){this._afterOpened.closed||(this._afterOpened.next(),this._afterOpened.complete())}_finishDismiss(){this._overlayRef.dispose(),this._onAction.closed||this._onAction.complete(),this._afterDismissed.next({dismissedByAction:this._dismissedByAction}),this._afterDismissed.complete(),this._dismissedByAction=!1}afterDismissed(){return this._afterDismissed}afterOpened(){return this.containerInstance._onEnter}onAction(){return this._onAction}}const I=new t.nKC("MatSnackBarData");class w{politeness="polite";announcementMessage="";viewContainerRef;duration=0;panelClass;direction;data=null;horizontalPosition="center";verticalPosition="bottom"}let Z=(()=>{class De{static \u0275fac=function(de){return new(de||De)};static \u0275dir=a.FsC({type:De,selectors:[["","matSnackBarLabel",""]],hostAttrs:[1,"mat-mdc-snack-bar-label","mdc-snackbar__label"]})}return De})(),N=(()=>{class De{static \u0275fac=function(de){return new(de||De)};static \u0275dir=a.FsC({type:De,selectors:[["","matSnackBarActions",""]],hostAttrs:[1,"mat-mdc-snack-bar-actions","mdc-snackbar__actions"]})}return De})(),oe=(()=>{class De{static \u0275fac=function(de){return new(de||De)};static \u0275dir=a.FsC({type:De,selectors:[["","matSnackBarAction",""]],hostAttrs:[1,"mat-mdc-snack-bar-action","mdc-snackbar__action"]})}return De})(),H=(()=>{class De{snackBarRef=(0,t.WQX)(T);data=(0,t.WQX)(I);constructor(){}action(){this.snackBarRef.dismissWithAction()}get hasAction(){return!!this.data.action}static \u0275fac=function(de){return new(de||De)};static \u0275cmp=a.VBU({type:De,selectors:[["simple-snack-bar"]],hostAttrs:[1,"mat-mdc-simple-snack-bar"],exportAs:["matSnackBar"],decls:3,vars:2,consts:[["matSnackBarLabel",""],["matSnackBarActions",""],["matButton","","matSnackBarAction","",3,"click"]],template:function(de,ae){1&de&&(a.j41(0,"div",0),a.EFF(1),a.k0s(),a.nVh(2,se,3,1,"div",1)),2&de&&(a.R7$(),a.SpI(" ",ae.data.message,"\n"),a.R7$(),a.vxM(ae.hasAction?2:-1))},dependencies:[r.$z,Z,N,oe],styles:[".mat-mdc-simple-snack-bar{display:flex}\n"],encapsulation:2,changeDetection:0})}return De})();const ie="_mat-snack-bar-enter",Ce="_mat-snack-bar-exit";let Ue=(()=>{class De extends b.lb{_ngZone=(0,t.WQX)(a.SKi);_elementRef=(0,t.WQX)(a.aKT);_changeDetectorRef=(0,t.WQX)(u.gRc);_platform=(0,t.WQX)(C.P);_animationsDisabled=(0,D._)();snackBarConfig=(0,t.WQX)(w);_document=(0,t.WQX)(t.qQL);_trackedModals=new Set;_enterFallback;_exitFallback;_injector=(0,t.WQX)(t.zZn);_announceDelay=150;_announceTimeoutId;_destroyed=!1;_portalOutlet;_onAnnounce=new M.B;_onExit=new M.B;_onEnter=new M.B;_animationState="void";_live;_label;_role;_liveElementId=(0,t.WQX)(_._).getId("mat-snack-bar-container-live-");constructor(){super();const z=this.snackBarConfig;this._live="assertive"!==z.politeness||z.announcementMessage?"off"===z.politeness?"off":"polite":"assertive",this._platform.FIREFOX&&("polite"===this._live&&(this._role="status"),"assertive"===this._live&&(this._role="alert"))}attachComponentPortal(z){this._assertNotAttached();const de=this._portalOutlet.attachComponentPortal(z);return this._afterPortalAttached(),de}attachTemplatePortal(z){this._assertNotAttached();const de=this._portalOutlet.attachTemplatePortal(z);return this._afterPortalAttached(),de}attachDomPortal=z=>{this._assertNotAttached();const de=this._portalOutlet.attachDomPortal(z);return this._afterPortalAttached(),de};onAnimationEnd(z){z===Ce?this._completeExit():z===ie&&(clearTimeout(this._enterFallback),this._ngZone.run(()=>{this._onEnter.next(),this._onEnter.complete()}
3))}enter(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.markForCheck(),this._changeDetectorRef.detectChanges(),this._screenReaderAnnounce(),this._animationsDisabled?(0,a.mal)(()=>{this._ngZone.run(()=>queueMicrotask(()=>this.onAnimationEnd(ie)))},{injector:this._injector}):(clearTimeout(this._enterFallback),this._enterFallback=setTimeout(()=>{this._elementRef.nativeElement.classList.add("mat-snack-bar-fallback-visible"),this.onAnimationEnd(ie)},200)))}exit(){return this._destroyed?(0,v.of)(void 0):(this._ngZone.run(()=>{this._animationState="hidden",this._changeDetectorRef.markForCheck(),this._elementRef.nativeElement.setAttribute("mat-exit",""),clearTimeout(this._announceTimeoutId),this._animationsDisabled?(0,a.mal)(()=>{this._ngZone.run(()=>queueMicrotask(()=>this.onAnimationEnd(Ce)))},{injector:this._injector}):(clearTimeout(this._exitFallback),this._exitFallback=setTimeout(()=>this.onAnimationEnd(Ce),200))}),this._onExit)}ngOnDestroy(){this._destroyed=!0,this._clearFromModals(),this._completeExit()}_completeExit(){clearTimeout(this._exitFallback),queueMicrotask(()=>{this._onExit.next(),this._onExit.complete()})}_afterPortalAttached(){const z=this._elementRef.nativeElement,de=this.snackBarConfig.panelClass;de&&(Array.isArray(de)?de.forEach($=>z.classList.add($)):z.classList.add(de)),this._exposeToModals();const ae=this._label.nativeElement,X="mdc-snackbar__label";ae.classList.toggle(X,!ae.querySelector(`.${X}`))}_exposeToModals(){const z=this._liveElementId,de=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let ae=0;ae<de.length;ae++){const X=de[ae],$=X.getAttribute("aria-owns");this._trackedModals.add(X),$?-1===$.indexOf(z)&&X.setAttribute("aria-owns",$+" "+z):X.setAttribute("aria-owns",z)}}_clearFromModals(){this._trackedModals.forEach(z=>{const de=z.getAttribute("aria-owns");if(de){const ae=de.replace(this._liveElementId,"").trim();ae.length>0?z.setAttribute("aria-owns",ae):z.removeAttribute("aria-owns")}}),this._trackedModals.clear()}_assertNotAttached(){this._portalOutlet.hasAttached()}_screenReaderAnnounce(){this._announceTimeoutId||this._ngZone.runOutsideAngular(()=>{this._announceTimeoutId=setTimeout(()=>{if(this._destroyed)return;const z=this._elementRef.nativeElement,de=z.querySelector("[aria-hidden]"),ae=z.querySelector("[aria-live]");if(de&&ae){let X=null;this._platform.isBrowser&&document.activeElement instanceof HTMLElement&&de.contains(document.activeElement)&&(X=document.activeElement),de.removeAttribute("aria-hidden"),ae.appendChild(de),X?.focus(),this._onAnnounce.next(),this._onAnnounce.complete()}},this._announceDelay)})}static \u0275fac=function(de){return new(de||De)};static \u0275cmp=a.VBU({type:De,selectors:[["mat-snack-bar-container"]],viewQuery:function(de,ae){if(1&de&&(a.GBs(b.I3,7),a.GBs(Y,7)),2&de){let X;a.mGM(X=a.lsd())&&(ae._portalOutlet=X.first),a.mGM(X=a.lsd())&&(ae._label=X.first)}},hostAttrs:[1,"mdc-snackbar","mat-mdc-snack-bar-container"],hostVars:6,hostBindings:function(de,ae){1&de&&a.bIt("animationend",function($){return ae.onAnimationEnd($.animationName)})("animationcancel",function($){return ae.onAnimationEnd($.animationName)}),2&de&&a.AVh("mat-snack-bar-container-enter","visible"===ae._animationState)("mat-snack-bar-container-exit","hidden"===ae._animationState)("mat-snack-bar-container-animations-enabled",!ae._animationsDisabled)},features:[a.Vt3],decls:6,vars:3,consts:[["label",""],[1,"mdc-snackbar__surface","mat-mdc-snackbar-surface"],[1,"mat-mdc-snack-bar-label"],["aria-hidden","true"],["cdkPortalOutlet",""]],template:function(de,ae){1&de&&(a.j41(0,"div",1)(1,"div",2,0)(3,"div",3),a.DNE(4,ne,0,0,"ng-template",4),a.k0s(),a.nrm(5,"div"),a.k0s()()),2&de&&(a.R7$(5),a.BMQ("aria-live",ae._live)("role",ae._role)("id",ae._liveElementId))},dependencies:[b.I3],styles:["@keyframes _mat-snack-bar-enter{from{transform:scale(0.8);opacity:0}to{transform:scale(1);opacity:1}}@keyframes _mat-snack-bar-exit{from{opacity:1}to{opacity:0}}.mat-mdc-snack-bar-container{display:flex;align-items:center;justify-content:center;box-sizing:border-box;-webkit-tap-highlight-color:rgba(0,0,0,0);margin:8px}.mat-mdc-snack-bar-handset .mat-mdc-snack-bar-container{width:100vw}.mat-snack-bar-container-animations-enabled{opacity:0}
3.mat-snack-bar-container-animations-enabled.mat-snack-bar-fallback-visible{opacity:1}.mat-snack-bar-container-animations-enabled.mat-snack-bar-container-enter{animation:_mat-snack-bar-enter 150ms cubic-bezier(0, 0, 0.2, 1) forwards}.mat-snack-bar-container-animations-enabled.mat-snack-bar-container-exit{animation:_mat-snack-bar-exit 75ms cubic-bezier(0.4, 0, 1, 1) forwards}.mat-mdc-snackbar-surface{box-shadow:0px 3px 5px -1px rgba(0, 0, 0, 0.2), 0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12);display:flex;align-items:center;justify-content:flex-start;box-sizing:border-box;padding-left:0;padding-right:8px}[dir=rtl] .mat-mdc-snackbar-surface{padding-right:0;padding-left:8px}.mat-mdc-snack-bar-container .mat-mdc-snackbar-surface{min-width:344px;max-width:672px}.mat-mdc-snack-bar-handset .mat-mdc-snackbar-surface{width:100%;min-width:0}@media(forced-colors: active){.mat-mdc-snackbar-surface{outline:solid 1px}}.mat-mdc-snack-bar-container .mat-mdc-snackbar-surface{color:var(--mat-snack-bar-supporting-text-color, var(--mat-sys-inverse-on-surface));border-radius:var(--mat-snack-bar-container-shape, var(--mat-sys-corner-extra-small));background-color:var(--mat-snack-bar-container-color, var(--mat-sys-inverse-surface))}.mdc-snackbar__label{width:100%;flex-grow:1;box-sizing:border-box;margin:0;padding:14px 8px 14px 16px}[dir=rtl] .mdc-snackbar__label{padding-left:8px;padding-right:16px}.mat-mdc-snack-bar-container .mdc-snackbar__label{font-family:var(--mat-snack-bar-supporting-text-font, var(--mat-sys-body-medium-font));font-size:var(--mat-snack-bar-supporting-text-size, var(--mat-sys-body-medium-size));font-weight:var(--mat-snack-bar-supporting-text-weight, var(--mat-sys-body-medium-weight));line-height:var(--mat-snack-bar-supporting-text-line-height, var(--mat-sys-body-medium-line-height))}.mat-mdc-snack-bar-actions{display:flex;flex-shrink:0;align-items:center;box-sizing:border-box}.mat-mdc-snack-bar-handset,.mat-mdc-snack-bar-container,.mat-mdc-snack-bar-label{flex:1 1 auto}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled){--mat-button-text-state-layer-color: currentColor;--mat-button-text-ripple-color: currentColor}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled).mat-unthemed{color:var(--mat-snack-bar-button-color, var(--mat-sys-inverse-primary))}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled) .mat-ripple-element{opacity:.1}\n"],encapsulation:2})}return De})();const we=new t.nKC("mat-snack-bar-default-options",{providedIn:"root",factory:function nt(){return new w}});let at=(()=>{class De{_live=(0,t.WQX)(h.L);_injector=(0,t.WQX)(t.zZn);_breakpointObserver=(0,t.WQX)(f.B);_parentSnackBar=(0,t.WQX)(De,{optional:!0,skipSelf:!0});_defaultConfig=(0,t.WQX)(we);_animationsDisabled=(0,D._)();_snackBarRefAtThisLevel=null;simpleSnackBarComponent=H;snackBarContainerComponent=Ue;handsetCssClass="mat-mdc-snack-bar-handset";get _openedSnackBarRef(){const z=this._parentSnackBar;return z?z._openedSnackBarRef:this._snackBarRefAtThisLevel}set _openedSnackBarRef(z){this._parentSnackBar?this._parentSnackBar._openedSnackBarRef=z:this._snackBarRefAtThisLevel=z}constructor(){}openFromComponent(z,de){return this._attach(z,de)}openFromTemplate(z,de){return this._attach(z,de)}open(z,de="",ae){const X={...this._defaultConfig,...ae};return X.data={message:z,action:de},X.announcementMessage===z&&(X.announcementMessage=void 0),this.openFromComponent(this.simpleSnackBarComponent,X)}dismiss(){this._openedSnackBarRef&&this._openedSnackBarRef.dismiss()}ngOnDestroy(){this._snackBarRefAtThisLevel&&this._snackBarRefAtThisLevel.dismiss()}_attachSnackBarContainer(z,de){const X=t.zZn.create({parent:de&&de.viewContainerRef&&de.viewContainerRef.injector||this._injector,providers:[{provide:w,useValue:de}]}),$=new b.A8(this.snackBarContainerComponent,de.viewContainerRef,X),K=z.attach($);return K.instance.snackBarConfig=de,K.instance}_attach(z,de){const ae={...new w,...this._defaultConfig,...de},X=this._createOverlay(ae),$=this._attachSnackBarContainer(X,ae),K=new T($,X);if(z instanceof a.C4Q){const Be=new b.VA(z,null,{$implicit:ae.data,snackBarRef:K});K.instance=$.attachTemplatePortal(Be)}else{const Be=this._createInjector(ae,K),Ye=new b.A8(z,void 0,Be),Se=$.attachComponentPortal(Ye);K.instance=Se.instance}return this._breakpointObserver.observe(O.Rp.HandsetPortrait).pipe((0,L.Q)(X.detachments())).subscribe(Be=>{X.overlayElement.classList.toggle(this.handsetCssClass,Be.matches)}),ae.announcementMessage&&$._onAnnounce.subscribe(()=>{this._live.announce(ae.announcementMessage,ae.politeness)}),this._animateSnackBar(K,ae),this._openedSnackBarRef=K,this._openedSnackBarRef}_animateSnackBar(z,de){z.afterDismissed().subscribe(()=>{this._openedSnackBarRef==z&&(this._openedSnackBarRef=null),de.announcementMessage&&this._live.clear()}),de.duration&&de.duration>0&&z.afterOpened().subscribe(()=>z._dismissAfter(de.duration)),this._openedSnackBarRef?(this._openedSnackBarRef.afterDismissed().subscribe(()=>{z.containerInstance.enter()}),this._openedSnackBarRef.dismiss()):z.containerInstance.enter()}_createOverlay(z){const de=new d.i;de.direction=z.direction;const ae=(0,d.f)(this._injector),X="rtl"===z.direction,$="left"===z.horizontalPosition||"start"===z.horizontalPosition&&!X||"end"===z.horizontalPosition&&X,K=!$&&"center"!==z.horizontalPosition;return $?ae.left("0"):K?ae.right("0"):ae.centerHorizontally(),"top"===z.verticalPosition?ae.top("0"):ae.bottom("0"),de.positionStrategy=ae,de.disableAnimations=this._animationsDisabled,(0,d.c)(this._injector,de)}_createInjector(z,de){return t.zZn.create({parent:z&&z.viewContainerRef&&z.viewContainerRef.injector||this._injector,providers:[{provide:T,useValue:de},{provide:I,useValue:z.data}]})}static \u0275fac=function(de){return new(de||De)};static \u0275prov=t.jDH({token:De,factory:De.\u0275fac,providedIn:"root"})}return De})(),et=(()=>{class De{static \u0275fac=function(de){return new(de||De)};static \u0275mod=a.$C({type:De});static \u0275inj=t.G2t({providers:[at],imports:[d.t,b.jc,r.Hl,E.M,H,E.M]})}return De})()},95967:(qe,ee,o)=>{"use strict";o.d(ee,{M:()=>w,R:()=>U,a:()=>I,d:()=>d});var a=o(45955),t=o(79629),u=o(84466),M=o(73664),v=o(2615),r=o(3700),_=o(79355),h=o(41560),C=o(18107),b=function(Z){return Z[Z.FADING_IN=0]="FADING_IN",Z[Z.VISIBLE=1]="VISIBLE",Z[Z.FADING_OUT=2]="FADING_OUT",Z[Z.HIDDEN=3]="HIDDEN",Z}(b||{});class D{_renderer;element;config;_animationForciblyDisabledThroughCss;state=b.HIDDEN;constructor(N,oe,H,ie=!1){this._renderer=N,this.element=oe,this.config=H,this._animationForciblyDisabledThroughCss=ie}fadeOut(){this._renderer.fadeOutRipple(this)}}const f=(0,a.n)({passive:!0,capture:!0});class O{_events=new Map;addHandler(N,oe,H,ie){const Ce=this._events.get(oe);if(Ce){const Ue=Ce.get(H);Ue?Ue.add(ie):Ce.set(H,new Set([ie]))}else this._events.set(oe,new Map([[H,new Set([ie])]])),N.runOutsideAngular(()=>{document.addEventListener(oe,this._delegateEventHandler,f)})}removeHandler(N,oe,H){const ie=this._events.get(N);if(!ie)return;const Ce=ie.get(oe);Ce&&(Ce.delete(H),0===Ce.size&&ie.delete(oe),0===ie.size&&(this._events.delete(N),document.removeEventListener(N,this._delegateEventHandler,f)))}_delegateEventHandler=N=>{const oe=(0,t._)(N);oe&&this._events.get(N.type)?.forEach((H,ie)=>{(ie===oe||ie.contains(oe))&&H.forEach(Ce=>Ce.handleEvent(N))})}}const d={enterDuration:225,exitDuration:150},E=(0,a.n)({passive:!0,capture:!0}),se=["mousedown","touchstart"],Y=["mouseup","mouseleave","touchend","touchcancel"];let ne=(()=>{class Z{static \u0275fac=function(H){return new(H||Z)};static \u0275cmp=M.VBU({type:Z,selectors:[["ng-component"]],hostAttrs:["mat-ripple-style-loader",""],decls:0,vars:0,template:function(H,ie){},styles:[".mat-ripple{overflow:hidden;position:relative}.mat-ripple:not(:empty){transform:translateZ(0)}.mat-ripple.mat-ripple-unbounded{overflow:visible}.mat-ripple-element{position:absolute;border-radius:50%;pointer-events:none;transition:opacity,transform 0ms cubic-bezier(0, 0, 0.2, 1);transform:scale3d(0, 0, 0);background-color:var(--mat-ripple-color, color-mix(in srgb, var(--mat-sys-on-surface) 10%, transparent))}@media(forced-colors: active){.mat-ripple-element{display:none}}.cdk-drag-preview .mat-ripple-element,.cdk-drag-placeholder .mat-ripple-element{display:none}\n"],encapsulation:2,changeDetection:0})}return Z})();class U{_target;_ngZone;_platform;_containerElement;_triggerElement;_isPointerDown=!1;_activeRipples=new Map;_mostRecentTransientRipple;_lastTouchStartEvent;_pointerUpEventsRegistered=!1;_containerRect;static _eventManager=new O;constructor(N,oe,H,ie,Ce){this._target=N,this._ngZone=oe,this._platform=ie,ie.isBrowser&&(this._containerElement=(0,_.a)(H)),
3Ce&&Ce.get(h._).load(ne)}fadeInRipple(N,oe,H={}){const ie=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),Ce={...d,...H.animation};H.centered&&(N=ie.left+ie.width/2,oe=ie.top+ie.height/2);const Ue=H.radius||function T(Z,N,oe){const H=Math.max(Math.abs(Z-oe.left),Math.abs(Z-oe.right)),ie=Math.max(Math.abs(N-oe.top),Math.abs(N-oe.bottom));return Math.sqrt(H*H+ie*ie)}(N,oe,ie),nt=N-ie.left,we=oe-ie.top,at=Ce.enterDuration,Xe=document.createElement("div");Xe.classList.add("mat-ripple-element"),Xe.style.left=nt-Ue+"px",Xe.style.top=we-Ue+"px",Xe.style.height=2*Ue+"px",Xe.style.width=2*Ue+"px",null!=H.color&&(Xe.style.backgroundColor=H.color),Xe.style.transitionDuration=`${at}ms`,this._containerElement.appendChild(Xe);const et=window.getComputedStyle(Xe),De=et.transitionDuration,ue="none"===et.transitionProperty||"0s"===De||"0s, 0s"===De||0===ie.width&&0===ie.height,z=new D(this,Xe,H,ue);Xe.style.transform="scale3d(1, 1, 1)",z.state=b.FADING_IN,H.persistent||(this._mostRecentTransientRipple=z);let de=null;return!ue&&(at||Ce.exitDuration)&&this._ngZone.runOutsideAngular(()=>{const ae=()=>{de&&(de.fallbackTimer=null),clearTimeout($),this._finishRippleTransition(z)},X=()=>this._destroyRipple(z),$=setTimeout(X,at+100);Xe.addEventListener("transitionend",ae),Xe.addEventListener("transitioncancel",X),de={onTransitionEnd:ae,onTransitionCancel:X,fallbackTimer:$}}),this._activeRipples.set(z,de),(ue||!at)&&this._finishRippleTransition(z),z}fadeOutRipple(N){if(N.state===b.FADING_OUT||N.state===b.HIDDEN)return;const oe=N.element,H={...d,...N.config.animation};oe.style.transitionDuration=`${H.exitDuration}ms`,oe.style.opacity="0",N.state=b.FADING_OUT,(N._animationForciblyDisabledThroughCss||!H.exitDuration)&&this._finishRippleTransition(N)}fadeOutAll(){this._getActiveRipples().forEach(N=>N.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(N=>{N.config.persistent||N.fadeOut()})}setupTriggerEvents(N){const oe=(0,_.a)(N);!this._platform.isBrowser||!oe||oe===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=oe,se.forEach(H=>{U._eventManager.addHandler(this._ngZone,H,oe,this)}))}handleEvent(N){"mousedown"===N.type?this._onMousedown(N):"touchstart"===N.type?this._onTouchStart(N):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{Y.forEach(oe=>{this._triggerElement.addEventListener(oe,this,E)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(N){N.state===b.FADING_IN?this._startFadeOutTransition(N):N.state===b.FADING_OUT&&this._destroyRipple(N)}_startFadeOutTransition(N){const oe=N===this._mostRecentTransientRipple,{persistent:H}=N.config;N.state=b.VISIBLE,!H&&(!oe||!this._isPointerDown)&&N.fadeOut()}_destroyRipple(N){const oe=this._activeRipples.get(N)??null;this._activeRipples.delete(N),this._activeRipples.size||(this._containerRect=null),N===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),N.state=b.HIDDEN,null!==oe&&(N.element.removeEventListener("transitionend",oe.onTransitionEnd),N.element.removeEventListener("transitioncancel",oe.onTransitionCancel),null!==oe.fallbackTimer&&clearTimeout(oe.fallbackTimer)),N.element.remove()}_onMousedown(N){const oe=(0,r.i)(N),H=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+800;!this._target.rippleDisabled&&!oe&&!H&&(this._isPointerDown=!0,this.fadeInRipple(N.clientX,N.clientY,this._target.rippleConfig))}_onTouchStart(N){if(!this._target.rippleDisabled&&!(0,r.a)(N)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;const oe=N.changedTouches;if(oe)for(let H=0;H<oe.length;H++)this.fadeInRipple(oe[H].clientX,oe[H].clientY,this._target.rippleConfig)}}_onPointerUp(){this._isPointerDown&&(this._isPointerDown=!1,this._getActiveRipples().forEach(N=>{!N.config.persistent&&(N.state===b.VISIBLE||N.config.terminateOnPointerUp&&N.state===b.FADING_IN)&&N.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){const N=this._triggerElement;N&&(se.forEach(oe=>U._eventManager.removeHandler(oe,N,this)),this._pointerUpEventsRegistered&&(Y.forEach(oe=>N.removeEventListener(oe,this,E)),this._pointerUpEventsRegistered=!1))}}const I=new v.nKC("mat-ripple-global-options");let w=(()=>{class Z{_elementRef=(0,v.WQX)(M.aKT);_animationsDisabled=(0,C._)();color;unbounded;centered;radius=0;animation;get disabled(){return this._disabled}
3set disabled(oe){oe&&this.fadeOutAllNonPersistent(),this._disabled=oe,this._setupTriggerEventsIfEnabled()}_disabled=!1;get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(oe){this._trigger=oe,this._setupTriggerEventsIfEnabled()}_trigger;_rippleRenderer;_globalOptions;_isInitialized=!1;constructor(){const oe=(0,v.WQX)(M.SKi),H=(0,v.WQX)(u.P),ie=(0,v.WQX)(I,{optional:!0}),Ce=(0,v.WQX)(v.zZn);this._globalOptions=ie||{},this._rippleRenderer=new U(this,oe,this._elementRef,H,Ce)}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:{...this._globalOptions.animation,...this._animationsDisabled?{enterDuration:0,exitDuration:0}:{},...this.animation},terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(oe,H=0,ie){return"number"==typeof oe?this._rippleRenderer.fadeInRipple(oe,H,{...this.rippleConfig,...ie}):this._rippleRenderer.fadeInRipple(0,0,{...this.rippleConfig,...oe})}static \u0275fac=function(H){return new(H||Z)};static \u0275dir=M.FsC({type:Z,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(H,ie){2&H&&M.AVh("mat-ripple-unbounded",ie.unbounded)},inputs:{color:[0,"matRippleColor","color"],unbounded:[0,"matRippleUnbounded","unbounded"],centered:[0,"matRippleCentered","centered"],radius:[0,"matRippleRadius","radius"],animation:[0,"matRippleAnimation","animation"],disabled:[0,"matRippleDisabled","disabled"],trigger:[0,"matRippleTrigger","trigger"]},exportAs:["matRipple"]})}return Z})()},96236:(qe,ee,o)=>{"use strict";o.d(ee,{P:()=>b});var a=o(21413),t=o(56977),u=o(67376),v=o(73664),r=o(88021),_=o(5040);function h(D,f){if(1&D&&(v.j41(0,"mat-option",22),v.EFF(1),v.k0s()),2&D){const O=f.$implicit;v.Y8G("value",O),v.R7$(),v.SpI(" ",O," ")}}function C(D,f){if(1&D&&(v.j41(0,"mat-option",22),v.EFF(1),v.k0s()),2&D){const O=f.$implicit;v.Y8G("value",O),v.R7$(),v.SpI(" ",O," ")}}let b=(()=>{class D{constructor(O,d){this.dialogRef=O,this._recordWorksService=d,this.$destroy=new a.B,this.loadingWorks=!0,this.workTypes=[],this.geographicalAreas=[],this.workTypeSelected="All",this.geographicalAreaSelected="All",this.total=0}ngOnInit(){this.loadWorkImportWizardList()}loadWorkImportWizardList(){this._recordWorksService.loadWorkImportWizardList().pipe((0,t.Q)(this.$destroy)).subscribe(O=>{O.forEach(d=>d.show=d.show??!1),this.recordImportWizardsOriginal=(0,u.sortBy)(O,"name"),this.recordImportWizards=[...this.recordImportWizardsOriginal],O.forEach(d=>{d.actTypes?.forEach(L=>{this.workTypes.includes(L)||this.workTypes.push(L)}),d.geoAreas?.forEach(L=>{this.geographicalAreas.includes(L)||this.geographicalAreas.push(L)})}),this.loadingWorks=!1,this.total=this.recordImportWizardsOriginal.length})}searchAndLink(){this.recordImportWizards="All"===this.workTypeSelected&&"All"===this.geographicalAreaSelected?[...this.recordImportWizardsOriginal]:this.recordImportWizardsOriginal.filter(O=>{const d="All"===this.workTypeSelected||!O.actTypes?.length||O.actTypes.includes(this.workTypeSelected),L="All"===this.geographicalAreaSelected||!O.geoAreas?.length||O.geoAreas.includes(this.geographicalAreaSelected);return d&&L}),this.total=this.recordImportWizards.length}ngOnDestroy(){this.$destroy.next(!0),this.$destroy.unsubscribe()}static{this.\u0275fac=function(d){return new(d||D)(v.rXU(r.k),v.rXU(_.j))}}static{this.\u0275cmp=v.VBU({type:D,selectors:[["app-modal-works-search-link"]],standalone:!1,decls:40,vars:8,consts:()=>{let O,d,L,E,se,Y,ne,U;return O=" Link works ",d=" Search and Link wizards are our recommended way to populate your record. They make adding works, funding and peer reviews simple and save you time over updating your record manually. Select a platform from the list below to start linking items to your record. ",L=" More information about linking works to your ORCID record ",E="Available Search & Link wizards",se="Work type",Y="All",ne="Geographical area",U="All",[O,d,L,E,se,Y,ne,U,[3,"loading","noSidebar"],[1,"row"],[1,"orc-font-small-print"],["rel","noopener noreferrer","target","_blank","href","https://support.orcid.org/hc/en-us/articles/360006973653-Add-works-by-direct-import-from-other
3-systems","target","_blank","rel","noopener noreferrer",1,"underline"],[1,"row","search-link-options"],[1,"select"],[1,"title"],[1,"mat-caption"],["appearance","outline",1,"mat-form-field-min","search-link-select"],[3,"valueChange","selectionChange","value"],["value","All"],[3,"value",4,"ngFor","ngForOf"],["id","geographical-area-input","appearance","outline",1,"mat-form-field-min","search-link-select"],[3,"recordImportWizards"],[3,"value"]]},template:function(d,L){1&d&&(v.j41(0,"app-modal",8)(1,"app-modal-header"),v.qex(2),v.pXf(3,0),v.bVm(),v.k0s(),v.j41(4,"div",9)(5,"div",10)(6,"p"),v.pXf(7,1),v.k0s(),v.j41(8,"a",11),v.pXf(9,2),v.k0s()()(),v.j41(10,"div",9)(11,"h3"),v.qex(12),v.pXf(13,3),v.bVm(),v.EFF(14),v.k0s(),v.nrm(15,"hr"),v.k0s(),v.j41(16,"div",12)(17,"div",13)(18,"div",14)(19,"label",15)(20,"strong"),v.pXf(21,4),v.k0s()()(),v.j41(22,"mat-form-field",16)(23,"mat-select",17),v.mxI("valueChange",function(se){return v.DH7(L.workTypeSelected,se)||(L.workTypeSelected=se),se}),v.bIt("selectionChange",function(){return L.searchAndLink()}),v.j41(24,"mat-option",18),v.qex(25),v.pXf(26,5),v.bVm(),v.k0s(),v.DNE(27,h,2,2,"mat-option",19),v.k0s()()(),v.j41(28,"div",13)(29,"div",14)(30,"label",15)(31,"strong"),v.pXf(32,6),v.k0s()()(),v.j41(33,"mat-form-field",20)(34,"mat-select",17),v.mxI("valueChange",function(se){return v.DH7(L.geographicalAreaSelected,se)||(L.geographicalAreaSelected=se),se}),v.bIt("selectionChange",function(){return L.searchAndLink()}),v.j41(35,"mat-option",18),v.qex(36),v.pXf(37,7),v.bVm(),v.k0s(),v.DNE(38,C,2,2,"mat-option",19),v.k0s()()()(),v.nrm(39,"app-search-link-wizard",21),v.k0s()),2&d&&(v.Y8G("loading",L.loadingWorks)("noSidebar",!0),v.R7$(14),v.SpI(" (",L.total,") "),v.R7$(9),v.R50("value",L.workTypeSelected),v.R7$(4),v.Y8G("ngForOf",L.workTypes),v.R7$(7),v.R50("value",L.geographicalAreaSelected),v.R7$(4),v.Y8G("ngForOf",L.geographicalAreas),v.R7$(),v.Y8G("recordImportWizards",L.recordImportWizards))},styles:["h3[_ngcontent-%COMP%]{margin:32px 0 8px}.search-link-options[_ngcontent-%COMP%]{justify-content:space-between}.search-link-options[_ngcontent-%COMP%] .select[_ngcontent-%COMP%]{width:calc(50% - 40px)}.search-link-options[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{margin:5px 0}.search-link-options[_ngcontent-%COMP%] mat-form-field[_ngcontent-%COMP%]{width:100%}"]})}}return D})()},96305:(qe,ee,o)=>{"use strict";o.d(ee,{M:()=>_});var a=o(73664),t=o(2615),u=o(6229),M=o(21715),v=o(11449);let r=(()=>{class h{static \u0275fac=function(D){return new(D||h)};static \u0275mod=a.$C({type:h});static \u0275inj=t.G2t({imports:[M.M]})}return h})(),_=(()=>{class h{static \u0275fac=function(D){return new(D||h)};static \u0275mod=a.$C({type:h});static \u0275inj=t.G2t({imports:[u.M,M.M,r,v.M]})}return h})()},96354:(qe,ee,o)=>{"use strict";o.d(ee,{T:()=>u});var a=o(39974),t=o(54360);function u(M,v){return(0,a.N)((r,_)=>{let h=0;r.subscribe((0,t._)(_,C=>{_.next(M.call(v,C,h++))}))})}},96695:(qe,ee,o)=>{"use strict";o.d(ee,{Ou:()=>oe,iy:()=>N,xX:()=>ne});var a=o(73664),t=o(2615),u=o(17705),M=o(21413),v=o(92771),r=o(88511),_=o(55549),h=o(90006),C=o(91438),b=o(11449),D=o(23768),f=o(88834);function O(H,ie){if(1&H&&(a.j41(0,"mat-option",17),a.EFF(1),a.k0s()),2&H){const Ce=ie.$implicit;a.Y8G("value",Ce),a.R7$(),a.SpI(" ",Ce," ")}}function d(H,ie){if(1&H){const Ce=a.RV6();a.j41(0,"mat-form-field",14)(1,"mat-select",16,0),a.bIt("selectionChange",function(nt){t.eBV(Ce);const we=a.XpG(2);return t.Njj(we._changePageSize(nt.value))}),a.Z7z(3,O,2,2,"mat-option",17,a.fX1),a.k0s(),a.j41(5,"div",18),a.bIt("click",function(){t.eBV(Ce);const nt=a.sdS(2);return t.Njj(nt.open())}),a.k0s()()}if(2&H){const Ce=a.XpG(2);a.Y8G("appearance",Ce._formFieldAppearance)("color",Ce.color),a.R7$(),a.Y8G("value",Ce.pageSize)("disabled",Ce.disabled)("aria-labelledby",Ce._pageSizeLabelId)("panelClass",Ce.selectConfig.panelClass||"")("disableOptionCentering",Ce.selectConfig.disableOptionCentering),a.R7$(2),a.Dyx(Ce._displayedPageSizeOptions)}}function L(H,ie){if(1&H&&(a.j41(0,"div",15),a.EFF(1),a.k0s()),2&H){const Ce=a.XpG(2);a.R7$(),a.JRh(Ce.pageSize)}}function E(H,ie){if(1&H&&(a.j41(0,"div",3)(1,"div",13),a.EFF(2),a.k0s(),a.nVh(3,d,6,7,"mat-form-field",14),a.nVh(4,L,2,1,"div",15),a.k0s()),2&H){const Ce=a.XpG();a.R7$(),a.BMQ("id",Ce._pageSizeLabelId),a.R7$(),a.SpI(" ",Ce._intl.itemsPerPageLabel," "),a.R7$(),a.vxM(Ce._displayedPageSizeOptions.length>1?3:-1),a.R7$(),a.vxM(Ce._displayedPageSizeOptions.length<=1?4:-1)}}function se(H,ie){if(1&H){const Ce=a.RV6();a.j41(0,"button",19),a.bIt("click",function(){t.eBV(Ce);const nt=a.XpG();return t.Njj(nt._buttonClicked(0,nt._previousButtonsDisabled()))}),t.qSk(),a.j41(1,"svg",8),a.nrm(2,"path",20),a.k0s()()}if(2&H){const Ce=a.XpG();a.Y8G("matTooltip",Ce._intl.firstPageLabel)("matTooltipDisabled",Ce._previousButtonsDisabled())("disabled",Ce._previousButtonsDisabled())("tabindex",Ce._previousButtonsDisabled()?-1:null),a.BMQ("aria-label",Ce._intl.firstPageLabel)}}function Y(H,ie){if(1&H){const Ce=a.RV6();a.j41(0,"button",21),a.bIt("click",function(){t.eBV(Ce);const nt=a.XpG();return t.Njj(nt._buttonClicked(nt.getNumberOfPages()-1,nt._nextButtonsDisabled()))}),t.qSk(),a.j41(1,"svg",8),a.nrm(2,"path",22),a.k0s()()}if(2&H){const Ce=a.XpG();a.Y8G("matTooltip",Ce._intl.lastPageLabel)("matTooltipDisabled",Ce._nextButtonsDisabled())("disabled",Ce._nextButtonsDisabled())("tabindex",Ce._nextButtonsDisabled()?-1:null),a.BMQ("aria-label",Ce._intl.lastPageLabel)}}let ne=(()=>{class H{changes=new M.B;itemsPerPageLabel="Items per page:";nextPageLabel="Next page";previousPageLabel="Previous page";firstPageLabel="First page";lastPageLabel="Last page";getRangeLabel=(Ce,Ue,nt)=>{if(0==nt||0==Ue)return`0 of ${nt}`;const we=Ce*Ue;return`${we+1}
3 \u2013 ${we<(nt=Math.max(nt,0))?Math.min(we+Ue,nt):we+Ue} of ${nt}`};static \u0275fac=function(Ue){return new(Ue||H)};static \u0275prov=t.jDH({token:H,factory:H.\u0275fac,providedIn:"root"})}return H})();const T={provide:ne,deps:[[new a.Xx1,new a.kdw,ne]],useFactory:function U(H){return H||new ne}},Z=new t.nKC("MAT_PAGINATOR_DEFAULT_OPTIONS");let N=(()=>{class H{_intl=(0,t.WQX)(ne);_changeDetectorRef=(0,t.WQX)(u.gRc);_formFieldAppearance;_pageSizeLabelId=(0,t.WQX)(r._).getId("mat-paginator-page-size-label-");_intlChanges;_isInitialized=!1;_initializedStream=new v.m(1);color;get pageIndex(){return this._pageIndex}set pageIndex(Ce){this._pageIndex=Math.max(Ce||0,0),this._changeDetectorRef.markForCheck()}_pageIndex=0;get length(){return this._length}set length(Ce){this._length=Ce||0,this._changeDetectorRef.markForCheck()}_length=0;get pageSize(){return this._pageSize}set pageSize(Ce){this._pageSize=Math.max(Ce||0,0),this._updateDisplayedPageSizeOptions()}_pageSize;get pageSizeOptions(){return this._pageSizeOptions}set pageSizeOptions(Ce){this._pageSizeOptions=(Ce||[]).map(Ue=>(0,u.Udg)(Ue,0)),this._updateDisplayedPageSizeOptions()}_pageSizeOptions=[];hidePageSize=!1;showFirstLastButtons=!1;selectConfig={};disabled=!1;page=new a.bkB;_displayedPageSizeOptions;initialized=this._initializedStream;constructor(){const Ce=this._intl,Ue=(0,t.WQX)(Z,{optional:!0});if(this._intlChanges=Ce.changes.subscribe(()=>this._changeDetectorRef.markForCheck()),Ue){const{pageSize:nt,pageSizeOptions:we,hidePageSize:at,showFirstLastButtons:Xe}=Ue;null!=nt&&(this._pageSize=nt),null!=we&&(this._pageSizeOptions=we),null!=at&&(this.hidePageSize=at),null!=Xe&&(this.show
3FirstLastButtons=Xe)}this._formFieldAppearance=Ue?.formFieldAppearance||"outline"}ngOnInit(){this._isInitialized=!0,this._updateDisplayedPageSizeOptions(),this._initializedStream.next()}ngOnDestroy(){this._initializedStream.complete(),this._intlChanges.unsubscribe()}nextPage(){this.hasNextPage()&&this._navigate(this.pageIndex+1)}previousPage(){this.hasPreviousPage()&&this._navigate(this.pageIndex-1)}firstPage(){this.hasPreviousPage()&&this._navigate(0)}lastPage(){this.hasNextPage()&&this._navigate(this.getNumberOfPages()-1)}hasPreviousPage(){return this.pageIndex>=1&&0!=this.pageSize}hasNextPage(){const Ce=this.getNumberOfPages()-1;return this.pageIndex<Ce&&0!=this.pageSize}getNumberOfPages(){return this.pageSize?Math.ceil(this.length/this.pageSize):0}_changePageSize(Ce){const nt=this.pageIndex;this.pageIndex=Math.floor(this.pageIndex*this.pageSize/Ce)||0,this.pageSize=Ce,this._emitPageEvent(nt)}_nextButtonsDisabled(){return this.disabled||!this.hasNextPage()}_previousButtonsDisabled(){return this.disabled||!this.hasPreviousPage()}_updateDisplayedPageSizeOptions(){this._isInitialized&&(this.pageSize||(this._pageSize=0!=this.pageSizeOptions.length?this.pageSizeOptions[0]:50),this._displayedPageSizeOptions=this.pageSizeOptions.slice(),-1===this._displayedPageSizeOptions.indexOf(this.pageSize)&&this._displayedPageSizeOptions.push(this.pageSize),this._displayedPageSizeOptions.sort((Ce,Ue)=>Ce-Ue),this._changeDetectorRef.markForCheck())}_emitPageEvent(Ce){this.page.emit({previousPageIndex:Ce,pageIndex:this.pageIndex,pageSize:this.pageSize,length:this.length})}_navigate(Ce){const Ue=this.pageIndex;Ce!==Ue&&(this.pageIndex=Ce,this._emitPageEvent(Ue))}_buttonClicked(Ce,Ue){Ue||this._navigate(Ce)}static \u0275fac=function(Ue){return new(Ue||H)};static \u0275cmp=a.VBU({type:H,selectors:[["mat-paginator"]],hostAttrs:["role","group",1,"mat-mdc-paginator"],inputs:{color:"color",pageIndex:[2,"pageIndex","pageIndex",u.Udg],length:[2,"length","length",u.Udg],pageSize:[2,"pageSize","pageSize",u.Udg],pageSizeOptions:"pageSizeOptions",hidePageSize:[2,"hidePageSize","hidePageSize",u.L39],showFirstLastButtons:[2,"showFirstLastButtons","showFirstLastButtons",u.L39],selectConfig:"selectConfig",disabled:[2,"disabled","disabled",u.L39]},outputs:{page:"page"},exportAs:["matPaginator"],decls:14,vars:14,consts:[["selectRef",""],[1,"mat-mdc-paginator-outer-container"],[1,"mat-mdc-paginator-container"],[1,"mat-mdc-paginator-page-size"],[1,"mat-mdc-paginator-range-actions"],["aria-live","polite",1,"mat-mdc-paginator-range-label"],["matIconButton","","type","button","matTooltipPosition","above","disabledInteractive","",1,"mat-mdc-paginator-navigation-first",3,"matTooltip","matTooltipDisabled","disabled","tabindex"],["matIconButton","","type","button","matTooltipPosition","above","disabledInteractive","",1,"mat-mdc-paginator-navigation-previous",3,"click","matTooltip","matTooltipDisabled","disabled","tabindex"],["viewBox","0 0 24 24","focusable","false","aria-hidden","true",1,"mat-mdc-paginator-icon"],["d","M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"],["matIconButton","","type","button","matTooltipPosition","above","disabledInteractive","",1,"mat-mdc-paginator-navigation-next",3,"click","matTooltip","matTooltipDisabled","disabled","tabindex"],["d","M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"],["matIconButton","","type","button","matTooltipPosition","above","disabledInteractive","",1,"mat-mdc-paginator-navigation-last",3,"matTooltip","matTooltipDisabled","disabled","tabindex"],[1,"mat-mdc-paginator-page-size-label"],[1,"mat-mdc-paginator-page-size-select",3,"appearance","color"],[1,"mat-mdc-paginator-page-size-value"],["hideSingleSelectionIndicator","",3,"selectionChange","value","disabled","aria-labelledby","panelClass","disableOptionCentering"],[3,"value"],[1,"mat-mdc-paginator-touch-target",3,"click"],["matIconButton","","type","button","matTooltipPosition","above","disabledInteractive","",1,"mat-mdc-paginator-navigation-first",3,"click","matTooltip","matTooltipDisabled","disabled","tabindex"],["d","M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"],["matIconButton","","type","button","matTooltipPosition","above","disabledInteractive","",1,"mat-mdc-paginator-navigation-last",3,"click","matTooltip","matTooltipDisabled","disabled","tabindex"],["d","M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"]],template:function(Ue,nt){1&Ue&&(a.j41(0,"div",1)(1,"div",2),a.nVh(2,E,5,4,"div",3),a.j41(3,"div",4)(4,"div",5),a.EFF(5),a.k0s(),a.nVh(6,se,3,5,"button",6),a.j41(7,"button",7),a.bIt("click",function(){return nt._buttonClicked(nt.pageIndex-1,nt._previousButtonsDisabled())}),t.qSk(),a.j41(8,"svg",8),a.nrm(9,"path",9),a.k0s()(),t.joV(),a.j41(10,"button",10),a.bIt("click",function(){return nt._buttonClicked(nt.pageIndex+1,nt._nextButtonsDisabled())}),t.qSk(),a.j41(11,"svg",8),a.nrm(12,"path",11),a.k0s()(),a.nVh(13,Y,3,5,"button",12),a.k0s()()()),2&Ue&&(a.R7$(2),a.vxM(nt.hidePageSize?-1:2),a.R7$(3),a.SpI(" ",nt._intl.getRangeLabel(nt.pageIndex,nt.pageSize,nt.length)," "),a.R7$(),a.vxM(nt.showFirstLastButtons?6:-1),a.R7$(),a.Y8G("matTooltip",nt._intl.previousPageLabel)("matTooltipDisabled",nt._previousButtonsDisabled())("disabled",nt._previousButtonsDisabled())("tabindex",nt._previousButtonsDisabled()?-1:null),a.BMQ("aria-label",nt._intl.previousPageLabel),a.R7$(3),a.Y8G("matTooltip",nt._intl.nextPageLabel)("matTooltipDisabled",nt._nextButtonsDisabled())("disabled",nt._nextButtonsDisabled())("tabindex",nt._nextButtonsDisabled()?-1:null),a.BMQ("aria-label",nt._intl.nextPageLabel),a.R7$(3),a.vxM(nt.showFirstLastButtons?13:-1))},dependencies:[_.j,h.g,b.M,D.M,C.e],styles:[".mat-mdc-paginator{display:block;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;color:var(--mat-paginator-container-text-color, var(--mat-sys-on-surface));background-color:var(--mat-paginator-container-background-color, var(--mat-sys-surface));font-family:var(--mat-paginator-container-text-font, var(--mat-sys-body-small-font));line-height:var(--mat-paginator-container-text-line-height, var(--mat-sys-body-small-line-height));font-size:var(--mat-paginator-container-text-size, var(--mat-sys-body-small-size));font-weight:var(--mat-paginator-container-text-weight, var(--mat-sys-body-small-weight));letter-spacing:var(--mat-paginator-container-text-tracking, var(--mat-sys-body-small-tracking));--mat-form-field-container-height: var(--mat-paginator-form-field-container-height, 40px);--mat-form-field-container-vertical-padding: var(--mat-paginator-form-field-container-vertical-padding, 8px)}.mat-mdc-paginator .mat-mdc-select-value{font-size:var(--mat-paginator-select-trigger-text-size, var(--mat-sys-body-small-size))}.mat-mdc-paginator .mat-mdc-form-field-subscript-wrapper{display:none}.mat-mdc-paginator .mat-mdc-select{line-height:1.5}.mat-mdc-paginator-outer-container{display:flex}.mat-mdc-paginator-container{display:flex;align-items:center;justify-content:flex-end;padding:0 8px;flex-wrap:wrap;width:100%;min-height:var(--mat-paginator-container-size, 56px)}.mat-mdc-paginator-page-size{display:flex;align-items:baseline;margin-right:8px}[dir=rtl] .mat-mdc-paginator-page-size{margin-right:0;margin-left:8px}.mat-mdc-paginator-page-size-label{margin:0 4px}.mat-mdc-paginator-page-size-select{margin:0 4px;width:84px}.mat-mdc-paginator-range-label{margin:0 32px 0 24px}.mat-mdc-paginator-range-actions{display:flex;align-items:center}.mat-mdc-paginator-icon{display:inline-block;width:28px;
3fill:var(--mat-paginator-enabled-icon-color, var(--mat-sys-on-surface-variant))}.mat-mdc-icon-button[aria-disabled] .mat-mdc-paginator-icon{fill:var(--mat-paginator-disabled-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}[dir=rtl] .mat-mdc-paginator-icon{transform:rotate(180deg)}@media(forced-colors: active){.mat-mdc-icon-button[aria-disabled] .mat-mdc-paginator-icon,.mat-mdc-paginator-icon{fill:currentColor}.mat-mdc-paginator-range-actions .mat-mdc-icon-button{outline:solid 1px}.mat-mdc-paginator-range-actions .mat-mdc-icon-button[aria-disabled]{color:GrayText}}.mat-mdc-paginator-touch-target{display:var(--mat-paginator-touch-target-display, block);position:absolute;top:50%;left:50%;width:84px;height:48px;background-color:rgba(0,0,0,0);transform:translate(-50%, -50%);cursor:pointer}\n"],encapsulation:2,changeDetection:0})}return H})(),oe=(()=>{class H{static \u0275fac=function(Ue){return new(Ue||H)};static \u0275mod=a.$C({type:H});static \u0275inj=t.G2t({providers:[T],imports:[f.Hl,h.M,C.h,N]})}return H})()},96697:(qe,ee,o)=>{"use strict";o.d(ee,{s:()=>M});var a=o(983),t=o(39974),u=o(54360);function M(v){return v<=0?()=>a.w:(0,t.N)((r,_)=>{let h=0;r.subscribe((0,u._)(_,C=>{++h<=v&&(_.next(C),v<=h&&_.complete())}))})}},96780:(qe,ee,o)=>{"use strict";o.d(ee,{R:()=>v});var a=o(18359);class t extends a.yU{constructor(_,h){super()}schedule(_,h=0){return this}}const u={setInterval(r,_,...h){const{delegate:C}=u;return C?.setInterval?C.setInterval(r,_,...h):setInterval(r,_,...h)},clearInterval(r){const{delegate:_}=u;return(_?.clearInterval||clearInterval)(r)},delegate:void 0};var M=o(57908);class v extends t{constructor(_,h){super(_,h),this.scheduler=_,this.work=h,this.pending=!1}schedule(_,h=0){var C;if(this.closed)return this;this.state=_;const b=this.id,D=this.scheduler;return null!=b&&(this.id=this.recycleAsyncId(D,b,h)),this.pending=!0,this.delay=h,this.id=null!==(C=this.id)&&void 0!==C?C:this.requestAsyncId(D,this.id,h),this}requestAsyncId(_,h,C=0){return u.setInterval(_.flush.bind(_,this),C)}recycleAsyncId(_,h,C=0){if(null!=C&&this.delay===C&&!1===this.pending)return h;null!=h&&u.clearInterval(h)}execute(_,h){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const C=this._execute(_,h);if(C)return C;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(_,h){let b,C=!1;try{this.work(_)}catch(D){C=!0,b=D||new Error("Scheduled action threw falsy error")}if(C)return this.unsubscribe(),b}unsubscribe(){if(!this.closed){const{id:_,scheduler:h}=this,{actions:C}=h;this.work=this.state=this.scheduler=null,this.pending=!1,(0,M.o)(C,this),null!=_&&(this.id=this.recycleAsyncId(h,_,null)),this.delay=null,super.unsubscribe()}}}},97059:function(qe,ee,o){(function(){var a,t,se,Y={}.hasOwnProperty;se=o(89700).assign,a=o(68886),o(91801),o(54431),o(13476),o(42224),o(89377),o(39447),o(65814),o(31124),o(43657),o(24554),o(48305),o(4542),o(77519),t=o(21892),qe.exports=function(){function ne(U){var T,I,w;for(T in U||(U={}),this.options=U,I=U.writer||{})Y.call(I,T)&&(w=I[T],this["_"+T]=this[T],this[T]=w)}return ne.prototype.filterOptions=function(U){var T,I,w,Z,N,oe,H,ie;return U||(U={}),U=se({},this.options,U),(T={writer:this}).pretty=U.pretty||!1,T.allowEmpty=U.allowEmpty||!1,T.indent=null!=(I=U.indent)?I:" ",T.newline=null!=(w=U.newline)?w:"\n",T.offset=null!=(Z=U.offset)?Z:0,T.dontPrettyTextNodes=null!=(N=null!=(oe=U.dontPrettyTextNodes)?oe:U.dontprettytextnodes)?N:0,T.spaceBeforeSlash=null!=(H=null!=(ie=U.spaceBeforeSlash)?ie:U.spacebeforeslash)?H:"",!0===T.spaceBeforeSlash&&(T.spaceBeforeSlash=" "),T.suppressPrettyCount=0,T.user={},T.state=t.None,T},ne.prototype.indent=function(U,T,I){var w;return!T.pretty||T.suppressPrettyCount?"":T.pretty&&(w=(I||0)+T.offset+1)>0?new Array(w).join(T.indent):""},ne.prototype.endline=function(U,T,I){return!T.pretty||T.suppressPrettyCount?"":T.newline},ne.prototype.attribute=function(U,T,I){var w;return this.openAttribute(U,T,I),w=" "+U.name+'="'+U.value+'"',this.closeAttribute(U,T,I),w},ne.prototype.cdata=function(U,T,I){var w;return this.openNode(U,T,I),T.state=t.OpenTag,w=this.indent(U,T,I)+"<![CDATA[",T.state=t.InsideTag,w+=U.value,T.state=t.CloseTag,w+="]]>"+this.endline(U,T,I),T.state=t.None,this.closeNode(U,T,I),w},ne.prototype.comment=function(U,T,I){var w;return this.openNode(U,T,I),T.state=t.OpenTag,w=this.indent(U,T,I)+"\x3c!-- ",T.state=t.InsideTag,w+=U.value,T.state=t.CloseTag,w+=" --\x3e"+this.endline(U,T,I),T.state=t.None,this.closeNode(U,T,I),w},ne.prototype.declaration=function(U,T,I){var w;return this.openNode(U,T,I),T.state=t.OpenTag,w=this.indent(U,T,I)+"<?xml",T.state=t.InsideTag,w+=' version="'+U.version+'"',null!=U.encoding&&(w+=' encoding="'+U.encoding+'"'),null!=U.standalone&&(w+=' standalone="'+U.standalone+'"'),T.state=t.CloseTag,w+=T.spaceBeforeSlash+"?>",w+=this.endline(U,T,I),T.state=t.None,this.closeNode(U,T,I),w},ne.prototype.docType=function(U,T,I){var Z,N,oe,H;if(I||(I=0),this.openNode(U,T,I),T.state=t.OpenTag,oe=this.indent(U,T,I),oe+="<!DOCTYPE "+U.root().name,U.pubID&&U.sysID?oe+=' PUBLIC "'+U.pubID+'" "'+U.sysID+'"':U.sysID&&(oe+=' SYSTEM "'+U.sysID+'"'),U.children.length>0){for(oe+=" [",oe+=this.endline(U,T,I),T.state=t.InsideTag,Z=0,N=(H=U.children).length;Z<N;Z++)oe+=this.writeChildNode(H[Z],T,I+1);T.state=t.CloseTag,oe+="]"}
3return T.state=t.CloseTag,oe+=T.spaceBeforeSlash+">",oe+=this.endline(U,T,I),T.state=t.None,this.closeNode(U,T,I),oe},ne.prototype.element=function(U,T,I){var Z,N,oe,H,ie,Ce,Ue,nt,we,at,Xe,et,xe;for(nt in I||(I=0),we=!1,at="",this.openNode(U,T,I),T.state=t.OpenTag,at+=this.indent(U,T,I)+"<"+U.name,Xe=U.attribs)Y.call(Xe,nt)&&(at+=this.attribute(Xe[nt],T,I));if(oe=0===(N=U.children.length)?null:U.children[0],0===N||U.children.every(function(De){return(De.type===a.Text||De.type===a.Raw)&&""===De.value}))T.allowEmpty?(at+=">",T.state=t.CloseTag,at+="</"+U.name+">"+this.endline(U,T,I)):(T.state=t.CloseTag,at+=T.spaceBeforeSlash+"/>"+this.endline(U,T,I));else if(!T.pretty||1!==N||oe.type!==a.Text&&oe.type!==a.Raw||null==oe.value){if(T.dontPrettyTextNodes)for(H=0,Ce=(et=U.children).length;H<Ce;H++)if(((Z=et[H]).type===a.Text||Z.type===a.Raw)&&null!=Z.value){T.suppressPrettyCount++,we=!0;break}for(at+=">"+this.endline(U,T,I),T.state=t.InsideTag,ie=0,Ue=(xe=U.children).length;ie<Ue;ie++)at+=this.writeChildNode(Z=xe[ie],T,I+1);T.state=t.CloseTag,at+=this.indent(U,T,I)+"</"+U.name+">",we&&T.suppressPrettyCount--,at+=this.endline(U,T,I),T.state=t.None}else at+=">",T.state=t.InsideTag,T.suppressPrettyCount++,we=!0,at+=this.writeChildNode(oe,T,I+1),T.suppressPrettyCount--,we=!1,T.state=t.CloseTag,at+="</"+U.name+">"+this.endline(U,T,I);return this.closeNode(U,T,I),at},ne.prototype.writeChildNode=function(U,T,I){switch(U.type){case a.CData:return this.cdata(U,T,I);case a.Comment:return this.comment(U,T,I);case a.Element:return this.element(U,T,I);case a.Raw:return this.raw(U,T,I);case a.Text:return this.text(U,T,I);case a.ProcessingInstruction:return this.processingInstruction(U,T,I);case a.Dummy:return"";case a.Declaration:return this.declaration(U,T,I);case a.DocType:return this.docType(U,T,I);case a.AttributeDeclaration:return this.dtdAttList(U,T,I);case a.ElementDeclaration:return this.dtdElement(U,T,I);case a.EntityDeclaration:return this.dtdEntity(U,T,I);case a.NotationDeclaration:return this.dtdNotation(U,T,I);default:throw new Error("Unknown XML node type: "+U.constructor.name)}},ne.prototype.processingInstruction=function(U,T,I){var w;return this.openNode(U,T,I),T.state=t.OpenTag,w=this.indent(U,T,I)+"<?",T.state=t.InsideTag,w+=U.target,U.value&&(w+=" "+U.value),T.state=t.CloseTag,w+=T.spaceBeforeSlash+"?>",w+=this.endline(U,T,I),T.state=t.None,this.closeNode(U,T,I),w},ne.prototype.raw=function(U,T,I){var w;return this.openNode(U,T,I),T.state=t.OpenTag,w=this.indent(U,T,I),T.state=t.InsideTag,w+=U.value,T.state=t.CloseTag,w+=this.endline(U,T,I),T.state=t.None,this.closeNode(U,T,I),w},ne.prototype.text=function(U,T,I){var w;return this.openNode(U,T,I),T.state=t.OpenTag,w=this.indent(U,T,I),T.state=t.InsideTag,w+=U.value,T.state=t.CloseTag,w+=this.endline(U,T,I),T.state=t.None,this.closeNode(U,T,I),w},ne.prototype.dtdAttList=function(U,T,I){var w;return this.openNode(U,T,I),T.state=t.OpenTag,w=this.indent(U,T,I)+"<!ATTLIST",T.state=t.InsideTag,w+=" "+U.elementName+" "+U.attributeName+" "+U.attributeType,"#DEFAULT"!==U.defaultValueType&&(w+=" "+U.defaultValueType),U.defaultValue&&(w+=' "'+U.defaultValue+'"'),T.state=t.CloseTag,w+=T.spaceBeforeSlash+">"+this.endline(U,T,I),T.state=t.None,this.closeNode(U,T,I),w},ne.prototype.dtdElement=function(U,T,I){var w;return this.openNode(U,T,I),T.state=t.OpenTag,w=this.indent(U,T,I)+"<!ELEMENT",T.state=t.InsideTag,w+=" "+U.name+" "+U.value,T.state=t.CloseTag,w+=T.spaceBeforeSlash+">"+this.endline(U,T,I),T.state=t.None,this.closeNode(U,T,I),w},ne.prototype.dtdEntity=function(U,T,I){var w;return this.openNode(U,T,I),T.state=t.OpenTag,w=this.indent(U,T,I)+"<!ENTITY",T.state=t.InsideTag,U.pe&&(w+=" %"),w+=" "+U.name,U.value?w+=' "'+U.value+'"':(U.pubID&&U.sysID?w+=' PUBLIC "'+U.pubID+'" "'+U.sysID+'"':U.sysID&&(w+=' SYSTEM "'+U.sysID+'"'),U.nData&&(w+=" NDATA "+U.nData)),T.state=t.CloseTag,w+=T.spaceBeforeSlash+">"+this.endline(U,T,I),T.state=t.None,this.closeNode(U,T,I),w},ne.prototype.dtdNotation=function(U,T,I){var w;return this.openNode(U,T,I),T.state=t.OpenTag,w=this.indent(U,T,I)+"<!NOTATION",T.state=t.InsideTag,w+=" "+U.name,U.pubID&&U.sysID?w+=' PUBLIC "'+U.pubID+'" "'+U.sysID+'"':U.pubID?w+=' PUBLIC "'+U.pubID+'"':U.sysID&&(w+=' SYSTEM "'+U.sysID+'"'),T.state=t.CloseTag,w+=T.spaceBeforeSlash+">"+this.endline(U,T,I),T.state=t.None,this.closeNode(U,T,I),w},ne.prototype.openNode=function(U,T,I){},ne.prototype.closeNode=function(U,T,I){},ne.prototype.openAttribute=function(U,T,I){},ne.prototype.closeAttribute=function(U,T,I){},ne}()}).call(this)},97210:(qe,ee)=>{var a={millisecond:1,second:1e3,minute:6e4,hour:36e5,day:864e5};for(var t in a)"millisecond"===t?a.ms=a[t]:a[t.charAt(0)]=a[t],a[t+"s"]=a[t];function u(r){this.count=0;var _=function v(r){var _=r.match(M);return _&&a[_[2]]?_.slice(1):null}(r);
3_&&(this.time=Number(_[0])*a[_[1]],this.type=_[1])}u.prototype.do=function(r){this.time&&(this.interval=setInterval(function h(){_.count++,r.call(_)},this.time));var _=this;return this},u.prototype.stop=function(){return this.interval&&(clearInterval(this.interval),delete this.interval),this};var M=/^\s*(\d+(?:\.\d+)?)\s*([a-z]+)\s*$/},97647:(qe,ee,o)=>{"use strict";o.d(ee,{u:()=>v});var a=o(58750),t=o(21413),u=o(47707),M=o(39974);function v(_={}){const{connector:h=()=>new t.B,resetOnError:C=!0,resetOnComplete:b=!0,resetOnRefCountZero:D=!0}=_;return f=>{let O,d,L,E=0,se=!1,Y=!1;const ne=()=>{d?.unsubscribe(),d=void 0},U=()=>{ne(),O=L=void 0,se=Y=!1},T=()=>{const I=O;U(),I?.unsubscribe()};return(0,M.N)((I,w)=>{E++,!Y&&!se&&ne();const Z=L=L??h();w.add(()=>{E--,0===E&&!Y&&!se&&(d=r(T,D))}),Z.subscribe(w),!O&&E>0&&(O=new u.Ms({next:N=>Z.next(N),error:N=>{Y=!0,ne(),d=r(U,C,N),Z.error(N)},complete:()=>{se=!0,ne(),d=r(U,b),Z.complete()}}),(0,a.Tg)(I).subscribe(O))})(f)}}function r(_,h,...C){if(!0===h)return void _();if(!1===h)return;const b=new u.Ms({next:()=>{b.unsubscribe(),_()}});return(0,a.Tg)(h(...C)).subscribe(b)}},98071:(qe,ee,o)=>{"use strict";function a(t){return"function"==typeof t}o.d(ee,{T:()=>a})},99054:(qe,ee,o)=>{"use strict";o.d(ee,{v:()=>C});var a=o(92771),t=o(7673),u=o(29330),M=o(99437),v=o(88141),r=o(2615),_=o(56846),h=o(90645);let C=(()=>{class b{constructor(f,O,d){this._http=f,this._errorHandler=O,this._togglz=d,this.$peer=new a.m,this.headers=new u.Lr({"Access-Control-Allow-Origin":"*"})}getPeerReviewGroups(f){let O;return f?.cleanCacheIfExist&&this.$peer&&this.$peer.next(void 0),O=f.publicRecordId?f.publicRecordId+"/peer-reviews-minimized.json?sortAsc=":"peer-reviews/peer-reviews-minimized.json?sortAsc=",this._http.get(runtimeEnvironment.API_WEB+O+(null==f.sortAsc||f.sortAsc)).pipe((0,M.W)(d=>this._errorHandler.handleError(d)),(0,M.W)(()=>(0,t.of)([])),(0,v.M)(d=>{this.lastEmittedValue=d,this.$peer.next(d)})).subscribe(),this.$peer.asObservable()}getPeerReviewsByGroupId(f,O){return f?.publicRecordId?this._http.get(runtimeEnvironment.API_WEB+f.publicRecordId+"/peer-reviews-by-group-id.json?sortAsc="+(null==f.sortAsc||f.sortAsc)+"&groupId="+encodeURIComponent(O)).pipe((0,M.W)(d=>this._errorHandler.handleError(d)),(0,M.W)(()=>(0,t.of)([]))):this._http.get(runtimeEnvironment.API_WEB+"peer-reviews/peer-reviews-by-group-id.json?sortAsc="+(null==f.sortAsc||f.sortAsc)+"&groupId="+encodeURIComponent(O)).pipe((0,M.W)(d=>this._errorHandler.handleError(d)),(0,M.W)(()=>(0,t.of)([])))}changeUserRecordContext(f){this.getPeerReviewGroups(f).subscribe()}getPeerReviewById(f){return this._http.get(runtimeEnvironment.API_WEB+"peer-reviews/peer-review.json?putCode="+f)}getPeerReviewImportWizardList(){return this._http.get(runtimeEnvironment.API_WEB+"workspace/retrieve-peer-review-import-wizards.json")}getPublicPeerReviewById(f,O){return this._http.get(runtimeEnvironment.API_WEB+f+"/peer-review.json?putCode="+O)}updateVisibility(f,O){return this._http.post(runtimeEnvironment.API_WEB+"peer-reviews/"+f+"/visibility/"+O,null).pipe((0,M.W)(d=>this._errorHandler.handleError(d)),(0,v.M)(()=>{f?this.getPeerReviewsByGroupId({forceReload:!0},f):this.getPeerReviewGroups({forceReload:!0})}))}delete(f){return this._http.delete(runtimeEnvironment.API_WEB+"peer-reviews/"+f,{headers:this.headers}).pipe((0,M.W)(O=>this._errorHandler.handleError(O)),(0,v.M)(()=>this.getPeerReviewGroups({forceReload:!0})))}updatePreferredSource(f){return this._http.get(runtimeEnvironment.API_WEB+"peer-reviews/updateToMaxDisplay.json?putCode="+f).pipe((0,M.W)(O=>this._errorHandler.handleError(O)),(0,v.M)(()=>this.getPeerReviewGroups({forceReload:!0})))}static{this.\u0275fac=function(O){return new(O||b)(r.KVO(u.Qq),r.KVO(_.c),r.KVO(h.v))}}static{this.\u0275prov=r.jDH({token:b,factory:b.\u0275fac,providedIn:"root"})}}return b})()},99172:(qe,ee,o)=>{"use strict";o.d(ee,{Z:()=>M});var a=o(28793),t=o(9326),u=o(39974);function M(...v){const r=(0,t.lI)(v);return(0,u.N)((_,h)=>{(r?(0,a.x)(v,_,r):(0,a.x)(v,_)).subscribe(h)})}},99327:(qe,ee,o)=>{"use strict";o.d(ee,{RH:()=>u,Rp:()=>M});var a=o(73664),t=o(2615);let u=(()=>{class v{static \u0275fac=function(h){return new(h||v)};static \u0275mod=a.$C({type:v});static \u0275inj=t.G2t({})}return v})();const M={XSmall:"(max-width: 599.98px)",Small:"(min-width: 600px) and (max-width: 959.98px)",Medium:"(min-width: 960px) and (max-width: 1279.98px)",Large:"(min-width: 1280px) and (max-width: 1919.98px)",XLarge:"(min-width: 1920px)",Handset:"(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)",Tablet:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait), (min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",Web:"(min-width: 840px) and (orientation: portrait), (min-width: 1280px) and (orientation: landscape)",HandsetPortrait:"(max-width: 599.98px) and (orientation: portrait)",TabletPortrait:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait)",WebPortrait:"(min-width: 840px) and (orientation: portrait)",HandsetLandscape:"(max-width: 959.98px) and (orientation: landscape)",TabletLandscape:"(min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",WebLandscape:"(min-width: 1280px) and (orientation: landscape)"}},99437:(qe,ee,o)=>{"use strict";o.d(ee,{W:()=>M});var a=o(58750),t=o(54360),u=o(39974);function M(v){return(0,u.N)((r,_)=>{let b,h=null,C=!1;h=r.subscribe((0,t._)(_,void 0,void 0,D=>{b=(0,a.Tg)(v(D,M(v)(r))),h?(h.unsubscribe(),h=null,b.subscribe(_)):C=!0})),C&&(h.unsubscribe(),h=null,b.subscribe(_))})}},99898:(qe,ee,o)=>{"use strict";o.d(ee,{B:()=>u});var a=o(39974),t=o(54360);function u(){return(0,a.N)((M,v)=>{let r=null;M._refCount++;const _=(0,t._)(v,void 0,void 0,void 0,()=>{if(!M||M._refCount<=0||0<--M._refCount)return void(r=null);const h=M._connection,C=r;r=null,h&&(!C||h===C)&&h.unsubscribe(),v.unsubscribe()});M.subscribe(_),_.closed||(r=M.connect())})}}},qe=>{qe(qe.s=94918)}]);
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.