@openmfp/portal-ui-lib 0.198.13 → 0.199.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -4,7 +4,7 @@ var fx=Object.defineProperty;var Ma=(e,t,r)=>()=>{if(r)throw r[0];try{return e&&
|
|
|
4
4
|
`,al=function(e,t,r,i){var o=arguments.length,n=o<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(e,t,r,i);else for(var s=e.length-1;s>=0;s--)(a=e[s])&&(n=(o<3?a(n):o>3?a(t,r,n):a(t,r))||n);return o>3&&n&&Object.defineProperty(t,r,n),n},kn=class extends Eo{constructor(){super(...arguments),this.markupText=""}onEnterDOM(){Ht()&&this.setAttribute("desktop","")}get _effectiveTabIndex(){return-1}};al([v()],kn.prototype,"text",void 0);al([v()],kn.prototype,"additionalText",void 0);al([v()],kn.prototype,"markupText",void 0);kn=al([ye({tag:"ui5-suggestion-item",template:Dx,styles:[Eo.styles,Rx]})],kn);kn.define();rg=function(e,t,r,i){var o=arguments.length,n=o<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(e,t,r,i);else for(var s=e.length-1;s>=0;s--)(a=e[s])&&(n=(o<3?a(n):o>3?a(t,r,n):a(t,r))||n);return o>3&&n&&Object.defineProperty(t,r,n),n},nl=class extends sg{};rg([$e({default:!0,invalidateOnChildChange:!0,type:HTMLElement})],nl.prototype,"items",void 0);nl=rg([ye({tag:"ui5-suggestion-item-group",template:Ox})],nl);nl.define();y_=class ol{get template(){return Nx}constructor(t,r,i,o){this.component=t,this.slotName=r,this.handleFocus=o,this.highlight=i,this.selectedItemIndex=-1}onUp(t,r){t.preventDefault();let i=!this.isOpened&&this._hasValueState&&r===-1?0:r;return this._handleItemNavigation(!1,i),!0}onDown(t,r){t.preventDefault();let i=!this.isOpened&&this._hasValueState&&r===-1?0:r;return this._handleItemNavigation(!0,i),!0}onSpace(t){return this._isItemOnTarget()?(t.preventDefault(),this.onItemSelected(this._selectedItem,!0),!0):!1}onEnter(t){return this._isGroupItem?(t.preventDefault(),!1):this._isItemOnTarget()?(this.onItemSelected(this._selectedItem,!0),!0):!1}onPageUp(t){t.preventDefault();let r=this.selectedItemIndex-10>-1;return this._moveItemSelection(this.selectedItemIndex,r?this.selectedItemIndex-=10:this.selectedItemIndex=0),!0}onPageDown(t){t.preventDefault();let r=this.visibleItems;if(!r)return!0;let i=r.length-1,o=this.selectedItemIndex+10<=i;return this._moveItemSelection(this.selectedItemIndex,o?this.selectedItemIndex+=10:this.selectedItemIndex=i),!0}onHome(t){return t.preventDefault(),this._moveItemSelection(this.selectedItemIndex,this.selectedItemIndex=0),!0}onEnd(t){t.preventDefault();let r=this._getItems().length-1;return r&&this._moveItemSelection(this.selectedItemIndex,this.selectedItemIndex=r),!0}onTab(){return this._isItemOnTarget()?(this.onItemSelected(this._selectedItem,!0),!0):!1}toggle(t,r){(t!==void 0?t:!this.isOpened())?this._getComponent().open=!0:this.close(r.preventFocusRestore)}get _selectedItem(){return this._getNonGroupItems().find(t=>t.selected)}_isScrollable(){let t=this._getScrollContainer();return t.offsetHeight<t.scrollHeight}close(t=!1){let r=this._getItems()&&this._getItems()[this.selectedItemIndex];this._getComponent().open=!1;let i=this._getPicker();i.preventFocusRestore=t,i.open=!1,r&&r.focused&&(r.focused=!1)}updateSelectedItemPosition(t){this.selectedItemIndex=t}onItemSelected(t,r){let i=t,o=this._getNonGroupItems();i&&(this.accInfo={isGroup:i.hasAttribute("ui5-suggestion-item-group"),currentPos:o.indexOf(i)+1,listSize:o.length,itemText:i.text||"",additionalText:i.additionalText},this._getComponent().onItemSelected(i,r),this._getComponent().open=!1)}onItemSelect(t){this._getComponent().onItemSelect(t)}onItemPress(t){let r,i=t.type==="ui5-item-click";i&&!t.detail.item.selected||this._handledPress&&!i||(i&&t.detail.item.selected?(r=t.detail.item,this._handledPress=!0):r=t.detail.selectedItems[0],this.onItemSelected(r,!1))}_onClose(){this._handledPress=!1}_isItemOnTarget(){return this.isOpened()&&this.selectedItemIndex!==null&&this.selectedItemIndex!==-1&&!this._isGroupItem}get _isGroupItem(){let t=this._getItems();return!t||!t[this.selectedItemIndex]?!1:t[this.selectedItemIndex].hasAttribute("ui5-suggestion-item-group")}isOpened(){return!!this._getPicker()?.open}_handleItemNavigation(t,r){this.selectedItemIndex=r,this._getItems().length&&(t?this._selectNextItem():this._selectPreviousItem())}_selectNextItem(){let t=this._getItems().length,r=this.selectedItemIndex;r!==-1&&r+1>t-1||this._moveItemSelection(r,++this.selectedItemIndex)}_selectPreviousItem(){let t=this.visibleItems,r=this.selectedItemIndex;if(!(r===-1||r===null)){if(r-1<0){(t[r].hasAttribute("ui5-suggestion-item")||t[r].hasAttribute("ui5-suggestion-item-custom"))&&(t[r].selected=!1),t[r].focused=!1,this.component.focused=!0,this.component.hasSuggestionItemSelected=!1,this.component.value=this.component.typedInValue,this.selectedItemIndex-=1;return}this._moveItemSelection(r,--this.selectedItemIndex)}}get visibleItems(){return this._getItems().filter(t=>!t.hidden)}_moveItemSelection(t,r){let i=this.visibleItems,o=i[r],n=i[t],a=this._getNonGroupItems(),s=o?.hasAttribute("ui5-suggestion-item-group");if(!o)return;this.component.focused=!1;let l=this.visibleItems[this.selectedItemIndex];if(this.accInfo={isGroup:s,currentPos:i.indexOf(o)+1,itemText:(s?l.headerText:l.text)||""},(o.hasAttribute("ui5-suggestion-item")||o.hasAttribute("ui5-suggestion-item-custom"))&&(this.accInfo.additionalText=o.additionalText||"",this.accInfo.currentPos=a.indexOf(o)+1,this.accInfo.listSize=a.length),n&&(n.focused=!1),(n?.hasAttribute("ui5-suggestion-item")||n?.hasAttribute("ui5-suggestion-item-custom"))&&(n.selected=!1),o&&(o.focused=!0,s||(o.selected=!0),this.handleFocus&&o.focus()),this.component.hasSuggestionItemSelected=!0,this.onItemSelect(o),!this._isItemIntoView(o)){let u=this._isGroupItem?o.shadowRoot.querySelector("[ui5-li-group-header]"):o;this._scrollItemIntoView(u)}}_deselectItems(){this._getItems().forEach(t=>{(t.hasAttribute("ui5-suggestion-item")||t.hasAttribute("ui5-suggestion-item-custom"))&&(t.selected=!1),t.focused=!1})}_clearItemFocus(){let t=this._getItems().find(r=>r.focused);t&&(t.focused=!1)}_isItemIntoView(t){let r=t.getDomRef().getBoundingClientRect(),i=this._getComponent().getDomRef().getBoundingClientRect(),o=window.innerHeight||document.documentElement.clientHeight,n=0;return this._hasValueState&&(n=this._getPicker().querySelector("[slot=header]").getBoundingClientRect().height),r.top+ol.SCROLL_STEP<=o&&r.top>=i.top+n}_scrollItemIntoView(t){t.scrollIntoView({behavior:"auto",block:"nearest",inline:"nearest"})}_getScrollContainer(){return this._scrollContainer||(this._scrollContainer=this._getPicker().shadowRoot.querySelector(".ui5-popup-content")),this._scrollContainer}_getItems(){return this._getComponent().getSlottedNodes("suggestionItems").flatMap(t=>t.hasAttribute("ui5-suggestion-item-group")?[t,...t.items]:[t])}_getNonGroupItems(){return this._getItems().filter(t=>!t.hasAttribute("ui5-suggestion-item-group"))}_getComponent(){return this.component}_getList(){return this._getPicker().querySelector("[ui5-list]")}_getListWidth(){return this._getList()?.offsetWidth}_getPicker(){return this._getComponent().shadowRoot.querySelector("[ui5-responsive-popover]")}get itemSelectionAnnounce(){if(!this.accInfo)return"";if(this.accInfo.isGroup)return`${ol.i18nBundle.getText(ag)} ${this.accInfo.itemText}`;let t=ol.i18nBundle.getText(ng,this.accInfo.currentPos||0,this.accInfo.listSize||0);return`${this.accInfo.additionalText} ${t}`.trim()}hightlightInput(t,r){return Ax(t,r)}get _hasValueState(){return this.component.hasValueStateMessage}_clearSelectedSuggestionAndaccInfo(){this.accInfo=void 0,this.selectedItemIndex=0}};y_.SCROLL_STEP=60;C_.SuggestionsClass=y_;Lx=y_});var ug={};u_(ug,{default:()=>Fx});var Fx,cg=Ma(()=>{Fx=class{constructor(e){this._onComposition=()=>{this._component.updateCompositionState(!0)},this._onCompositionEnd=()=>{this._component.updateCompositionState(!1)},this._component=e}addEventListeners(){let e=this._component.getInputEl();e&&(e.addEventListener("compositionstart",this._onComposition),e.addEventListener("compositionupdate",this._onComposition),e.addEventListener("compositionend",this._onCompositionEnd))}removeEventListeners(){let e=this._component.getInputEl();e&&(e.removeEventListener("compositionstart",this._onComposition),e.removeEventListener("compositionupdate",this._onComposition),e.removeEventListener("compositionend",this._onCompositionEnd))}}});var dg={};u_(dg,{default:()=>Wx});function Ux(){return g(ke,{children:g("span",{children:this._renderEmptyIndicator?R(ke,{children:[g("span",{className:"empty-indicator","aria-hidden":"true",children:this._emptyIndicatorSymbol}),g("span",{className:"empty-indicator-aria-label",children:this._emptyIndicatorAriaLabel})]}):g("slot",{})})})}function jx(){return R("div",{children:[g(_g,{class:"ui5-exp-text-text",emptyIndicatorMode:this.emptyIndicatorMode,children:this._displayedText}),this._maxCharactersExceeded&&R(ke,{children:[g("span",{class:"ui5-exp-text-ellipsis",children:this._ellipsisText}),g(wg,{id:"toggle",class:"ui5-exp-text-toggle",accessibleRole:"Button",accessibleName:this._accessibleNameForToggle,accessibilityAttributes:this._accessibilityAttributesForToggle,onClick:this._handleToggleClick,children:this._textForToggle}),this._usePopover&&R(el,{open:this._expanded,opener:"toggle",accessibleNameRef:"popover-text",contentOnlyOnDesktop:!0,_hideHeader:!0,class:"ui5-exp-text-popover",onClose:this._handlePopoverClose,children:[g(_g,{class:"ui5-exp-text-popover-text",id:"popover-text",children:this.text}),g("div",{slot:"footer",class:"ui5-exp-text-footer",children:g(qr,{design:"Transparent",onClick:this._handleCloseButtonClick,children:this._closeButtonText})})]})]})]})}function Wx(e){let{className:t,text:r,maxCharacters:i,part:o}=e;return g(Gx,{part:o,class:t,text:r,maxCharacters:i})}var S_,$x,k_,Hx,Vx,Ua,ll,Vi,_g,qx,zo,Do,Gr,Gx,hg=Ma(()=>{il();f_();(function(e){e.InPlace="InPlace",e.Popover="Popover"})(S_||(S_={}));$x=S_;(function(e){e.Off="Off",e.On="On"})(k_||(k_={}));Hx=k_;B("@ui5/webcomponents-theming","sap_horizon",async()=>J);B("@ui5/webcomponents","sap_horizon",async()=>ee,"host");Vx=`:host{max-width:100%;font-size:var(--sapFontSize);font-family:var(--sapFontFamily);color:var(--sapTextColor);line-height:normal;cursor:text;overflow:hidden;display:-webkit-inline-box;-webkit-line-clamp:var(--_ui5_text_max_lines);line-clamp:var(--_ui5_text_max_lines);-webkit-box-orient:vertical;white-space:normal;word-wrap:break-word}:host([max-lines="1"]){word-break:break-all}.empty-indicator-aria-label{position:absolute!important;clip:rect(1px,1px,1px,1px);user-select:none;left:0;top:0;font-size:0}
|
|
5
5
|
`,Ua=function(e,t,r,i){var o=arguments.length,n=o<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(e,t,r,i);else for(var s=e.length-1;s>=0;s--)(a=e[s])&&(n=(o<3?a(n):o>3?a(t,r,n):a(t,r))||n);return o>3&&n&&Object.defineProperty(t,r,n),n},Vi=ll=class extends mt{constructor(){super(...arguments),this.maxLines=1/0,this.emptyIndicatorMode="Off"}onBeforeRendering(){this.style.setProperty("--_ui5_text_max_lines",`${this.maxLines}`)}get hasText(){return ul(this.text)}get _renderEmptyIndicator(){return!this.hasText&&this.emptyIndicatorMode===Hx.On}get _emptyIndicatorAriaLabel(){return ll.i18nBundle.getText(fg)}get _emptyIndicatorSymbol(){return ll.i18nBundle.getText(pg)}};Ua([v({type:Number})],Vi.prototype,"maxLines",void 0);Ua([v()],Vi.prototype,"emptyIndicatorMode",void 0);Ua([$e({type:Node,default:!0})],Vi.prototype,"text",void 0);Ua([lt("@ui5/webcomponents")],Vi,"i18nBundle",void 0);Vi=ll=Ua([ye({tag:"ui5-text",renderer:rt,template:Ux,styles:Vx})],Vi);Vi.define();_g=Vi;B("@ui5/webcomponents-theming","sap_horizon",async()=>J);B("@ui5/webcomponents","sap_horizon",async()=>ee,"host");qx=`:host{display:inline-block;font-family:var(--sapFontFamily);font-size:var(--sapFontSize);color:var(--sapTextColor)}:host([hidden]){display:none}.ui5-exp-text-text{display:inline;white-space:inherit}.ui5-exp-text-text,.ui5-exp-text-toggle{font-family:inherit;font-size:inherit}.ui5-exp-text-text,.ui5-exp-text-ellipsis{color:inherit}.ui5-exp-text-popover,.ui5-exp-text-popover-text{white-space:inherit;font-family:inherit;font-size:inherit}.ui5-exp-text-popover::part(content){padding-inline:1rem}.ui5-exp-text-footer{width:100%;display:flex;align-items:center;justify-content:flex-end}
|
|
6
6
|
`,zo=function(e,t,r,i){var o=arguments.length,n=o<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(e,t,r,i);else for(var s=e.length-1;s>=0;s--)(a=e[s])&&(n=(o<3?a(n):o>3?a(t,r,n):a(t,r))||n);return o>3&&n&&Object.defineProperty(t,r,n),n},Gr=Do=class extends mt{constructor(){super(...arguments),this.maxCharacters=100,this.overflowMode="InPlace",this.emptyIndicatorMode="Off",this._expanded=!1,this._shouldScrollToToggle=!1}getFocusDomRef(){return this._usePopover?this.shadowRoot?.querySelector("[ui5-responsive-popover]"):this.shadowRoot?.querySelector("[ui5-link]")}get _displayedText(){return this._expanded&&!this._usePopover?this.text:this.text?.substring(0,this.maxCharacters)}get _maxCharactersExceeded(){return(this.text?.length||0)>this.maxCharacters}get _usePopover(){return this.overflowMode===$x.Popover}get _ellipsisText(){return this._expanded&&!this._usePopover?" ":"... "}get _textForToggle(){return this._expanded?Do.i18nBundle.getText(gg):Do.i18nBundle.getText(vg)}get _closeButtonText(){return Do.i18nBundle.getText(mg)}get _accessibilityAttributesForToggle(){return this._usePopover?{expanded:this._expanded,hasPopup:"dialog"}:{expanded:this._expanded}}get _accessibleNameForToggle(){if(this._usePopover)return this._expanded?Do.i18nBundle.getText(yg):Do.i18nBundle.getText(bg)}_handlePopoverClose(){et()||(this._expanded=!1)}onAfterRendering(){this._shouldScrollToToggle&&(this._shouldScrollToToggle=!1,this.shadowRoot?.querySelector("#toggle")?.scrollIntoView?.({block:"nearest"}))}_handleToggleClick(){this._expanded=!this._expanded,this._expanded&&!this._usePopover&&(this._shouldScrollToToggle=!0)}_handleCloseButtonClick(e){this._expanded=!1,e.stopPropagation()}};zo([v()],Gr.prototype,"text",void 0);zo([v({type:Number})],Gr.prototype,"maxCharacters",void 0);zo([v()],Gr.prototype,"overflowMode",void 0);zo([v()],Gr.prototype,"emptyIndicatorMode",void 0);zo([v({type:Boolean})],Gr.prototype,"_expanded",void 0);zo([lt("@ui5/webcomponents")],Gr,"i18nBundle",void 0);Gr=Do=zo([ye({tag:"ui5-expandable-text",renderer:rt,styles:qx,template:jx})],Gr);Gr.define();Gx=Gr});function Ji(e,t){for(var r in t)e[r]=t[r];return e}function Dp(e){e&&e.parentNode&&e.parentNode.removeChild(e)}function T_(e,t,r,i,o){var n={type:e,props:t,key:r,ref:i,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:o??++pb,__i:-1,__u:0};return o==null&&Te.vnode!=null&&Te.vnode(n),n}function ws(e){return e.children}function Sl(e,t){this.props=e,this.context=t}function Xn(e,t){if(t==null)return e.__?Xn(e.__,e.__i+1):null;for(var r;t<e.__k.length;t++)if((r=e.__k[t])!=null&&r.__e!=null)return r.__e;return typeof e.type=="function"?Xn(e):null}function mb(e){var t,r;if((e=e.__)!=null&&e.__c!=null){for(e.__e=e.__c.base=null,t=0;t<e.__k.length;t++)if((r=e.__k[t])!=null&&r.__e!=null){e.__e=e.__c.base=r.__e;break}return mb(e)}}function kg(e){(!e.__d&&(e.__d=!0)&&Mo.push(e)&&!Ql.__r++||Sg!==Te.debounceRendering)&&((Sg=Te.debounceRendering)||fb)(Ql)}function Ql(){var e,t,r,i,o,n,a,s;for(Mo.sort(Id);e=Mo.shift();)e.__d&&(t=Mo.length,i=void 0,n=(o=(r=e).__v).__e,a=[],s=[],r.__P&&((i=Ji({},o)).__v=o.__v+1,Te.vnode&&Te.vnode(i),wb(r.__P,i,o,r.__n,r.__P.namespaceURI,32&o.__u?[n]:null,a,n??Xn(o),!!(32&o.__u),s),i.__v=o.__v,i.__.__k[i.__i]=i,aS(a,i,s),i.__e!=n&&mb(i)),Mo.length>t&&Mo.sort(Id));Ql.__r=0}function bb(e,t,r,i,o,n,a,s,l,u,_){var c,h,d,b,w,I,C=i&&i.__k||gb,A=t.length;for(l=oS(r,t,C,l),c=0;c<A;c++)(d=r.__k[c])!=null&&(h=d.__i===-1?Ed:C[d.__i]||Ed,d.__i=c,I=wb(e,d,h,o,n,a,s,l,u,_),b=d.__e,d.ref&&h.ref!=d.ref&&(h.ref&&zp(h.ref,null,d),_.push(d.ref,d.__c||b,d)),w==null&&b!=null&&(w=b),4&d.__u||h.__k===d.__k?l=yb(d,l,e):typeof d.type=="function"&&I!==void 0?l=I:b&&(l=b.nextSibling),d.__u&=-7);return r.__e=w,l}function oS(e,t,r,i){var o,n,a,s,l,u=t.length,_=r.length,c=_,h=0;for(e.__k=[],o=0;o<u;o++)(n=t[o])!=null&&typeof n!="boolean"&&typeof n!="function"?(s=o+h,(n=e.__k[o]=typeof n=="string"||typeof n=="number"||typeof n=="bigint"||n.constructor==String?T_(null,n,null,null,null):Ep(n)?T_(ws,{children:n},null,null,null):n.constructor===void 0&&n.__b>0?T_(n.type,n.props,n.key,n.ref?n.ref:null,n.__v):n).__=e,n.__b=e.__b+1,a=null,(l=n.__i=nS(n,r,s,c))!==-1&&(c--,(a=r[l])&&(a.__u|=2)),a==null||a.__v===null?(l==-1&&h--,typeof n.type!="function"&&(n.__u|=4)):l!==s&&(l==s-1?h--:l==s+1?h++:(l>s?h--:h++,n.__u|=4))):n=e.__k[o]=null;if(c)for(o=0;o<_;o++)(a=r[o])!=null&&!(2&a.__u)&&(a.__e==i&&(i=Xn(a)),Cb(a,a));return i}function yb(e,t,r){var i,o;if(typeof e.type=="function"){for(i=e.__k,o=0;i&&o<i.length;o++)i[o]&&(i[o].__=e,t=yb(i[o],t,r));return t}e.__e!=t&&(t&&e.type&&!r.contains(t)&&(t=Xn(e)),r.insertBefore(e.__e,t||null),t=e.__e);do t=t&&t.nextSibling;while(t!=null&&t.nodeType===8);return t}function nS(e,t,r,i){var o=e.key,n=e.type,a=r-1,s=r+1,l=t[r];if(l===null||l&&o==l.key&&n===l.type&&(2&l.__u)==0)return r;if((typeof n!="function"||n===ws||o)&&i>(l!=null&&(2&l.__u)==0?1:0))for(;a>=0||s<t.length;){if(a>=0){if((l=t[a])&&(2&l.__u)==0&&o==l.key&&n===l.type)return a;a--}if(s<t.length){if((l=t[s])&&(2&l.__u)==0&&o==l.key&&n===l.type)return s;s++}}return-1}function Tg(e,t,r){t[0]==="-"?e.setProperty(t,r??""):e[t]=r==null?"":typeof r!="number"||iS.test(t)?r:r+"px"}function cl(e,t,r,i,o){var n,a;e:if(t==="style")if(typeof r=="string")e.style.cssText=r;else{if(typeof i=="string"&&(e.style.cssText=i=""),i)for(t in i)r&&t in r||Tg(e.style,t,"");if(r)for(t in r)i&&r[t]===i[t]||Tg(e.style,t,r[t])}else if(t[0]==="o"&&t[1]==="n")n=t!==(t=t.replace(vb,"$1")),t=t.toLowerCase()in e||t==="onFocusOut"||t==="onFocusIn"?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+n]=r,r?i?r.t=i.t:(r.t=Bp,e.addEventListener(t,n?Bd:Ad,n)):e.removeEventListener(t,n?Bd:Ad,n);else{if(o=="http://www.w3.org/2000/svg")t=t.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if(t!="width"&&t!="height"&&t!="href"&&t!="list"&&t!="form"&&t!="tabIndex"&&t!="download"&&t!="rowSpan"&&t!="colSpan"&&t!="role"&&t!="popover"&&t in e)try{a=e.tagName&&e.tagName.includes("-"),e[t]=r!=null||a?r:"";break e}catch{}typeof r=="function"||(r==null||r===!1&&t[4]!=="-"?e.removeAttribute(t):e.setAttribute(t,t=="popover"&&r==1?"":r))}}function Ig(e){return function(t){if(this.l){var r=this.l[t.type+e];if(t.u==null)t.u=Bp++;else if(t.u<r.t)return;return r(Te.event?Te.event(t):t)}}}function wb(e,t,r,i,o,n,a,s,l,u){var _,c,h,d,b,w,I,C,A,O,de,se,Be,pt,Ye,Me,Wt,le=t.type;if(t.constructor!==void 0)return null;128&r.__u&&(l=!!(32&r.__u),n=[s=t.__e=r.__e]),(_=Te.__b)&&_(t);e:if(typeof le=="function")try{if(C=t.props,A="prototype"in le&&le.prototype.render,O=(_=le.contextType)&&i[_.__c],de=_?O?O.props.value:_.__:i,r.__c?I=(c=t.__c=r.__c).__=c.__E:(A?t.__c=c=new le(C,de):(t.__c=c=new Sl(C,de),c.constructor=le,c.render=lS),O&&O.sub(c),c.props=C,c.state||(c.state={}),c.context=de,c.__n=i,h=c.__d=!0,c.__h=[],c._sb=[]),A&&c.__s==null&&(c.__s=c.state),A&&le.getDerivedStateFromProps!=null&&(c.__s==c.state&&(c.__s=Ji({},c.__s)),Ji(c.__s,le.getDerivedStateFromProps(C,c.__s))),d=c.props,b=c.state,c.__v=t,h)A&&le.getDerivedStateFromProps==null&&c.componentWillMount!=null&&c.componentWillMount(),A&&c.componentDidMount!=null&&c.__h.push(c.componentDidMount);else{if(A&&le.getDerivedStateFromProps==null&&C!==d&&c.componentWillReceiveProps!=null&&c.componentWillReceiveProps(C,de),!c.__e&&(c.shouldComponentUpdate!=null&&c.shouldComponentUpdate(C,c.__s,de)===!1||t.__v===r.__v)){for(t.__v!==r.__v&&(c.props=C,c.state=c.__s,c.__d=!1),t.__e=r.__e,t.__k=r.__k,t.__k.some(function(st){st&&(st.__=t)}),se=0;se<c._sb.length;se++)c.__h.push(c._sb[se]);c._sb=[],c.__h.length&&a.push(c);break e}c.componentWillUpdate!=null&&c.componentWillUpdate(C,c.__s,de),A&&c.componentDidUpdate!=null&&c.__h.push(function(){c.componentDidUpdate(d,b,w)})}if(c.context=de,c.props=C,c.__P=e,c.__e=!1,Be=Te.__r,pt=0,A){for(c.state=c.__s,c.__d=!1,Be&&Be(t),_=c.render(c.props,c.state,c.context),Ye=0;Ye<c._sb.length;Ye++)c.__h.push(c._sb[Ye]);c._sb=[]}else do c.__d=!1,Be&&Be(t),_=c.render(c.props,c.state,c.context),c.state=c.__s;while(c.__d&&++pt<25);c.state=c.__s,c.getChildContext!=null&&(i=Ji(Ji({},i),c.getChildContext())),A&&!h&&c.getSnapshotBeforeUpdate!=null&&(w=c.getSnapshotBeforeUpdate(d,b)),s=bb(e,Ep(Me=_!=null&&_.type===ws&&_.key==null?_.props.children:_)?Me:[Me],t,r,i,o,n,a,s,l,u),c.base=t.__e,t.__u&=-161,c.__h.length&&a.push(c),I&&(c.__E=c.__=null)}catch(st){if(t.__v=null,l||n!=null)if(st.then){for(t.__u|=l?160:128;s&&s.nodeType===8&&s.nextSibling;)s=s.nextSibling;n[n.indexOf(s)]=null,t.__e=s}else for(Wt=n.length;Wt--;)Dp(n[Wt]);else t.__e=r.__e,t.__k=r.__k;Te.__e(st,t,r)}else n==null&&t.__v===r.__v?(t.__k=r.__k,t.__e=r.__e):s=t.__e=sS(r.__e,t,r,i,o,n,a,l,u);return(_=Te.diffed)&&_(t),128&t.__u?void 0:s}function aS(e,t,r){for(var i=0;i<r.length;i++)zp(r[i],r[++i],r[++i]);Te.__c&&Te.__c(t,e),e.some(function(o){try{e=o.__h,o.__h=[],e.some(function(n){n.call(o)})}catch(n){Te.__e(n,o.__v)}})}function sS(e,t,r,i,o,n,a,s,l){var u,_,c,h,d,b,w,I,C=r.props,A=t.props,O=t.type;if(O==="svg"?o="http://www.w3.org/2000/svg":O==="math"?o="http://www.w3.org/1998/Math/MathML":o||(o="http://www.w3.org/1999/xhtml"),n!=null){for(u=0;u<n.length;u++)if((d=n[u])&&"setAttribute"in d==!!O&&(O?d.localName===O:d.nodeType===3)){e=d,n[u]=null;break}}if(e==null){if(O===null)return document.createTextNode(A);e=document.createElementNS(o,O,A.is&&A),s&&(Te.__m&&Te.__m(t,n),s=!1),n=null}if(O===null)C===A||s&&e.data===A||(e.data=A);else{if(n=n&&hb.call(e.childNodes),C=r.props||Ed,!s&&n!=null)for(C={},u=0;u<e.attributes.length;u++)C[(d=e.attributes[u]).name]=d.value;for(u in C)if(d=C[u],u!="children"){if(u=="dangerouslySetInnerHTML")c=d;else if(!(u in A)){if(u=="value"&&"defaultValue"in A||u=="checked"&&"defaultChecked"in A)continue;cl(e,u,null,d,o)}}for(u in A)d=A[u],u=="children"?h=d:u=="dangerouslySetInnerHTML"?_=d:u=="value"?b=d:u=="checked"?w=d:s&&typeof d!="function"||C[u]===d||((u.startsWith("on")||u==="ref"&&typeof d=="function")&&(I=i[Object.keys(i)[0]])&&(d=d.bind(I.props.value)),cl(e,u,d,C[u],o));if(_)s||c&&(_.__html===c.__html||_.__html===e.innerHTML)||(e.innerHTML=_.__html),t.__k=[];else if(c&&(e.innerHTML=""),bb(e,Ep(h)?h:[h],t,r,i,O==="foreignObject"?"http://www.w3.org/1999/xhtml":o,n,a,n?n[0]:r.__k&&Xn(r,0),s,l),n!=null)for(u=n.length;u--;)Dp(n[u]);s||(u="value",O==="progress"&&b==null?e.removeAttribute("value"):b!==void 0&&(b!==e[u]||O==="progress"&&!b||O==="option"&&b!==C[u])&&cl(e,u,b,C[u],o),u="checked",w!==void 0&&w!==e[u]&&cl(e,u,w,C[u],o))}return e}function zp(e,t,r){try{if(typeof e=="function"){var i=typeof e.__u=="function";i&&e.__u(),i&&t==null||(e.__u=e(t))}else e.current=t}catch(o){Te.__e(o,r)}}function Cb(e,t,r){var i,o;if(Te.unmount&&Te.unmount(e),(i=e.ref)&&(i.current&&i.current!==e.__e||zp(i,null,t)),(i=e.__c)!=null){if(i.componentWillUnmount)try{i.componentWillUnmount()}catch(n){Te.__e(n,t)}i.base=i.__P=null}if(i=e.__k)for(o=0;o<i.length;o++)i[o]&&Cb(i[o],t,r||typeof e.type!="function");r||Dp(e.__e),e.__c=e.__=e.__e=void 0}function lS(e,t,r){return this.constructor(e,r)}function xb(e,t,r,i,o,n){t||(t={});var a,s,l=t;"ref"in t&&(a=t.ref,delete t.ref);var u={type:e,props:l,key:r,ref:a,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:--uS,__i:-1,__u:0,__source:o,__self:n};if(typeof e=="function"&&(a=e.defaultProps))for(s in a)l[s]===void 0&&(l[s]=a[s]);return Te.vnode&&Te.vnode(u),u}function cS(e){let t="";for(let r in e)e[r]&&(t&&(t+=" "),t+=r);return t}function hS(e,t,r){let i=e.getMetadata().getEvents();Object.keys(t).forEach(o=>{if(o.startsWith("on")){let n=o.slice(2),a=dS(n),s=n.charAt(0).toLowerCase()+n.slice(1),l;a in i?l=a:s in i&&(l=s),l&&o!=="onClick"&&(t[`onui5-${l}`]=t[o],delete t[o])}})}function pS(e){return typeof e=="function"&&"getMetadata"in e}function Sb(e,t,r){let i;return pS(e)?(i=e.getMetadata().getTag(),hS(e,t,r)):i=e,typeof t.class=="object"&&(t.class=cS(t.class)),i}function ke(e,t){return ws(e,t)}function g(e,t,r){return xb(Sb(e,t,r),t,r)}function R(e,t,r){return xb(Sb(e,t,r),t,r)}function UA(e){return t=>t!=null&&e in t&&t[e]===!0}function Va(e){this._suppressInvalidation||this.constructor.getMetadata().isLanguageAware()&&s0()||(this.onInvalidation(e),this._changedState.push(e),t0(this),this._invalidationEventProvider.fireEvent("invalidate",te(E({},e),{target:this})))}function jA(e,t){do{let r=Object.getOwnPropertyDescriptor(e,t);if(r)return r;e=Object.getPrototypeOf(e)}while(e&&e!==HTMLElement.prototype)}function KA(e){return(t,r)=>{let i=t.constructor;Object.prototype.hasOwnProperty.call(i,"metadata")||(i.metadata={});let o=i.metadata;o.slots||(o.slots={});let n=o.slots;if(e&&e.default&&n.default)throw new Error("Only one slot can be the default slot.");let a=e&&e.default?"default":r;e=e||{type:HTMLElement},e.type||(e.type=HTMLElement),n[a]||(n[a]=e),e.default&&(delete n.default.default,n.default.propertyName=r),i.metadata.managedSlots=!0}}function eo(e,t){for(var r in t)e[r]=t[r];return e}function Kp(e){e&&e.parentNode&&e.parentNode.removeChild(e)}function QA(e,t,r){var i,o,n,a={};for(n in t)n=="key"?i=t[n]:n=="ref"?o=t[n]:a[n]=t[n];if(arguments.length>2&&(a.children=arguments.length>3?Zu.call(arguments,2):r),typeof e=="function"&&e.defaultProps!=null)for(n in e.defaultProps)a[n]===void 0&&(a[n]=e.defaultProps[n]);return Ml(e,a,i,o,null)}function Ml(e,t,r,i,o){var n={type:e,props:t,key:r,ref:i,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:o??++P0,__i:-1,__u:0};return o==null&&Ie.vnode!=null&&Ie.vnode(n),n}function ks(e){return e.children}function Ll(e,t){this.props=e,this.context=t}function Jn(e,t){if(t==null)return e.__?Jn(e.__,e.__i+1):null;for(var r;t<e.__k.length;t++)if((r=e.__k[t])!=null&&r.__e!=null)return r.__e;return typeof e.type=="function"?Jn(e):null}function $0(e){var t,r;if((e=e.__)!=null&&e.__c!=null){for(e.__e=e.__c.base=null,t=0;t<e.__k.length;t++)if((r=e.__k[t])!=null&&r.__e!=null){e.__e=e.__c.base=r.__e;break}return $0(e)}}function Ud(e){(!e.__d&&(e.__d=!0)&&Fo.push(e)&&!iu.__r++||nm!==Ie.debounceRendering)&&((nm=Ie.debounceRendering)||N0)(iu)}function iu(){var e,t,r,i,o,n,a,s;for(Fo.sort(Fd);e=Fo.shift();)e.__d&&(t=Fo.length,i=void 0,n=(o=(r=e).__v).__e,a=[],s=[],r.__P&&((i=eo({},o)).__v=o.__v+1,Ie.vnode&&Ie.vnode(i),Xp(r.__P,i,o,r.__n,r.__P.namespaceURI,32&o.__u?[n]:null,a,n??Jn(o),!!(32&o.__u),s),i.__v=o.__v,i.__.__k[i.__i]=i,V0(a,i,s),i.__e!=n&&$0(i)),Fo.length>t&&Fo.sort(Fd));iu.__r=0}function H0(e,t,r,i,o,n,a,s,l,u,_){var c,h,d,b,w,I,C=i&&i.__k||F0,A=t.length;for(l=JA(r,t,C,l),c=0;c<A;c++)(d=r.__k[c])!=null&&(h=d.__i===-1?us:C[d.__i]||us,d.__i=c,I=Xp(e,d,h,o,n,a,s,l,u,_),b=d.__e,d.ref&&h.ref!=d.ref&&(h.ref&&Yp(h.ref,null,d),_.push(d.ref,d.__c||b,d)),w==null&&b!=null&&(w=b),4&d.__u||h.__k===d.__k?l=U0(d,l,e):typeof d.type=="function"&&I!==void 0?l=I:b&&(l=b.nextSibling),d.__u&=-7);return r.__e=w,l}function JA(e,t,r,i){var o,n,a,s,l,u=t.length,_=r.length,c=_,h=0;for(e.__k=[],o=0;o<u;o++)(n=t[o])!=null&&typeof n!="boolean"&&typeof n!="function"?(s=o+h,(n=e.__k[o]=typeof n=="string"||typeof n=="number"||typeof n=="bigint"||n.constructor==String?Ml(null,n,null,null,null):Zp(n)?Ml(ks,{children:n},null,null,null):n.constructor===void 0&&n.__b>0?Ml(n.type,n.props,n.key,n.ref?n.ref:null,n.__v):n).__=e,n.__b=e.__b+1,a=null,(l=n.__i=eB(n,r,s,c))!==-1&&(c--,(a=r[l])&&(a.__u|=2)),a==null||a.__v===null?(l==-1&&h--,typeof n.type!="function"&&(n.__u|=4)):l!==s&&(l==s-1?h--:l==s+1?h++:(l>s?h--:h++,n.__u|=4))):n=e.__k[o]=null;if(c)for(o=0;o<_;o++)(a=r[o])!=null&&!(2&a.__u)&&(a.__e==i&&(i=Jn(a)),j0(a,a));return i}function U0(e,t,r){var i,o;if(typeof e.type=="function"){for(i=e.__k,o=0;i&&o<i.length;o++)i[o]&&(i[o].__=e,t=U0(i[o],t,r));return t}e.__e!=t&&(t&&e.type&&!r.contains(t)&&(t=Jn(e)),r.insertBefore(e.__e,t||null),t=e.__e);do t=t&&t.nextSibling;while(t!=null&&t.nodeType===8);return t}function eB(e,t,r,i){var o=e.key,n=e.type,a=r-1,s=r+1,l=t[r];if(l===null||l&&o==l.key&&n===l.type&&(2&l.__u)==0)return r;if((typeof n!="function"||n===ks||o)&&i>(l!=null&&(2&l.__u)==0?1:0))for(;a>=0||s<t.length;){if(a>=0){if((l=t[a])&&(2&l.__u)==0&&o==l.key&&n===l.type)return a;a--}if(s<t.length){if((l=t[s])&&(2&l.__u)==0&&o==l.key&&n===l.type)return s;s++}}return-1}function am(e,t,r){t[0]==="-"?e.setProperty(t,r??""):e[t]=r==null?"":typeof r!="number"||YA.test(t)?r:r+"px"}function hl(e,t,r,i,o){var n,a;e:if(t==="style")if(typeof r=="string")e.style.cssText=r;else{if(typeof i=="string"&&(e.style.cssText=i=""),i)for(t in i)r&&t in r||am(e.style,t,"");if(r)for(t in r)i&&r[t]===i[t]||am(e.style,t,r[t])}else if(t[0]==="o"&&t[1]==="n")n=t!==(t=t.replace(M0,"$1")),t=t.toLowerCase()in e||t==="onFocusOut"||t==="onFocusIn"?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+n]=r,r?i?r.t=i.t:(r.t=Wp,e.addEventListener(t,n?Hd:$d,n)):e.removeEventListener(t,n?Hd:$d,n);else{if(o=="http://www.w3.org/2000/svg")t=t.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if(t!="width"&&t!="height"&&t!="href"&&t!="list"&&t!="form"&&t!="tabIndex"&&t!="download"&&t!="rowSpan"&&t!="colSpan"&&t!="role"&&t!="popover"&&t in e)try{a=e.tagName&&e.tagName.includes("-"),e[t]=r!=null||a?r:"";break e}catch{}typeof r=="function"||(r==null||r===!1&&t[4]!=="-"?e.removeAttribute(t):e.setAttribute(t,t=="popover"&&r==1?"":r))}}function sm(e){return function(t){if(this.l){var r=this.l[t.type+e];if(t.u==null)t.u=Wp++;else if(t.u<r.t)return;return r(Ie.event?Ie.event(t):t)}}}function Xp(e,t,r,i,o,n,a,s,l,u){var _,c,h,d,b,w,I,C,A,O,de,se,Be,pt,Ye,Me,Wt,le=t.type;if(t.constructor!==void 0)return null;128&r.__u&&(l=!!(32&r.__u),n=[s=t.__e=r.__e]),(_=Ie.__b)&&_(t);e:if(typeof le=="function")try{if(C=t.props,A="prototype"in le&&le.prototype.render,O=(_=le.contextType)&&i[_.__c],de=_?O?O.props.value:_.__:i,r.__c?I=(c=t.__c=r.__c).__=c.__E:(A?t.__c=c=new le(C,de):(t.__c=c=new Ll(C,de),c.constructor=le,c.render=rB),O&&O.sub(c),c.props=C,c.state||(c.state={}),c.context=de,c.__n=i,h=c.__d=!0,c.__h=[],c._sb=[]),A&&c.__s==null&&(c.__s=c.state),A&&le.getDerivedStateFromProps!=null&&(c.__s==c.state&&(c.__s=eo({},c.__s)),eo(c.__s,le.getDerivedStateFromProps(C,c.__s))),d=c.props,b=c.state,c.__v=t,h)A&&le.getDerivedStateFromProps==null&&c.componentWillMount!=null&&c.componentWillMount(),A&&c.componentDidMount!=null&&c.__h.push(c.componentDidMount);else{if(A&&le.getDerivedStateFromProps==null&&C!==d&&c.componentWillReceiveProps!=null&&c.componentWillReceiveProps(C,de),!c.__e&&(c.shouldComponentUpdate!=null&&c.shouldComponentUpdate(C,c.__s,de)===!1||t.__v===r.__v)){for(t.__v!==r.__v&&(c.props=C,c.state=c.__s,c.__d=!1),t.__e=r.__e,t.__k=r.__k,t.__k.some(function(st){st&&(st.__=t)}),se=0;se<c._sb.length;se++)c.__h.push(c._sb[se]);c._sb=[],c.__h.length&&a.push(c);break e}c.componentWillUpdate!=null&&c.componentWillUpdate(C,c.__s,de),A&&c.componentDidUpdate!=null&&c.__h.push(function(){c.componentDidUpdate(d,b,w)})}if(c.context=de,c.props=C,c.__P=e,c.__e=!1,Be=Ie.__r,pt=0,A){for(c.state=c.__s,c.__d=!1,Be&&Be(t),_=c.render(c.props,c.state,c.context),Ye=0;Ye<c._sb.length;Ye++)c.__h.push(c._sb[Ye]);c._sb=[]}else do c.__d=!1,Be&&Be(t),_=c.render(c.props,c.state,c.context),c.state=c.__s;while(c.__d&&++pt<25);c.state=c.__s,c.getChildContext!=null&&(i=eo(eo({},i),c.getChildContext())),A&&!h&&c.getSnapshotBeforeUpdate!=null&&(w=c.getSnapshotBeforeUpdate(d,b)),s=H0(e,Zp(Me=_!=null&&_.type===ks&&_.key==null?_.props.children:_)?Me:[Me],t,r,i,o,n,a,s,l,u),c.base=t.__e,t.__u&=-161,c.__h.length&&a.push(c),I&&(c.__E=c.__=null)}catch(st){if(t.__v=null,l||n!=null)if(st.then){for(t.__u|=l?160:128;s&&s.nodeType===8&&s.nextSibling;)s=s.nextSibling;n[n.indexOf(s)]=null,t.__e=s}else for(Wt=n.length;Wt--;)Kp(n[Wt]);else t.__e=r.__e,t.__k=r.__k;Ie.__e(st,t,r)}else n==null&&t.__v===r.__v?(t.__k=r.__k,t.__e=r.__e):s=t.__e=tB(r.__e,t,r,i,o,n,a,l,u);return(_=Ie.diffed)&&_(t),128&t.__u?void 0:s}function V0(e,t,r){for(var i=0;i<r.length;i++)Yp(r[i],r[++i],r[++i]);Ie.__c&&Ie.__c(t,e),e.some(function(o){try{e=o.__h,o.__h=[],e.some(function(n){n.call(o)})}catch(n){Ie.__e(n,o.__v)}})}function tB(e,t,r,i,o,n,a,s,l){var u,_,c,h,d,b,w,I,C=r.props,A=t.props,O=t.type;if(O==="svg"?o="http://www.w3.org/2000/svg":O==="math"?o="http://www.w3.org/1998/Math/MathML":o||(o="http://www.w3.org/1999/xhtml"),n!=null){for(u=0;u<n.length;u++)if((d=n[u])&&"setAttribute"in d==!!O&&(O?d.localName===O:d.nodeType===3)){e=d,n[u]=null;break}}if(e==null){if(O===null)return document.createTextNode(A);e=document.createElementNS(o,O,A.is&&A),s&&(Ie.__m&&Ie.__m(t,n),s=!1),n=null}if(O===null)C===A||s&&e.data===A||(e.data=A);else{if(n=n&&Zu.call(e.childNodes),C=r.props||us,!s&&n!=null)for(C={},u=0;u<e.attributes.length;u++)C[(d=e.attributes[u]).name]=d.value;for(u in C)if(d=C[u],u!="children"){if(u=="dangerouslySetInnerHTML")c=d;else if(!(u in A)){if(u=="value"&&"defaultValue"in A||u=="checked"&&"defaultChecked"in A)continue;hl(e,u,null,d,o)}}for(u in A)d=A[u],u=="children"?h=d:u=="dangerouslySetInnerHTML"?_=d:u=="value"?b=d:u=="checked"?w=d:s&&typeof d!="function"||C[u]===d||((u.startsWith("on")||u==="ref"&&typeof d=="function")&&(I=i[Object.keys(i)[0]])&&(d=d.bind(I.props.value)),hl(e,u,d,C[u],o));if(_)s||c&&(_.__html===c.__html||_.__html===e.innerHTML)||(e.innerHTML=_.__html),t.__k=[];else if(c&&(e.innerHTML=""),H0(e,Zp(h)?h:[h],t,r,i,O==="foreignObject"?"http://www.w3.org/1999/xhtml":o,n,a,n?n[0]:r.__k&&Jn(r,0),s,l),n!=null)for(u=n.length;u--;)Kp(n[u]);s||(u="value",O==="progress"&&b==null?e.removeAttribute("value"):b!==void 0&&(b!==e[u]||O==="progress"&&!b||O==="option"&&b!==C[u])&&hl(e,u,b,C[u],o),u="checked",w!==void 0&&w!==e[u]&&hl(e,u,w,C[u],o))}return e}function Yp(e,t,r){try{if(typeof e=="function"){var i=typeof e.__u=="function";i&&e.__u(),i&&t==null||(e.__u=e(t))}else e.current=t}catch(o){Ie.__e(o,r)}}function j0(e,t,r){var i,o;if(Ie.unmount&&Ie.unmount(e),(i=e.ref)&&(i.current&&i.current!==e.__e||Yp(i,null,t)),(i=e.__c)!=null){if(i.componentWillUnmount)try{i.componentWillUnmount()}catch(n){Ie.__e(n,t)}i.base=i.__P=null}if(i=e.__k)for(o=0;o<i.length;o++)i[o]&&j0(i[o],t,r||typeof e.type!="function");r||Kp(e.__e),e.__c=e.__=e.__e=void 0}function rB(e,t,r){return this.constructor(e,r)}function q0(e,t,r){var i,o,n,a;t===document&&(t=document.documentElement),Ie.__&&Ie.__(e,t),o=(i=typeof r=="function")?null:r&&r.__k||t.__k,n=[],a=[],Xp(t,e=(!i&&r||t).__k=QA(ks,null,[e]),o||us,us,t.namespaceURI,!i&&r?[r]:o?null:t.firstChild?Zu.call(t.childNodes):null,n,!i&&r?r:o?o.__e:t.firstChild,i,a),V0(n,e,a)}function G0(e,t){q0(e,t,G0)}function iB(e,t){var r={__c:t="__cC"+L0++,__:e,Consumer:function(i,o){return i.children(o)},Provider:function(i){var o,n;return this.getChildContext||(o=new Set,(n={})[t]=this,this.getChildContext=function(){return n},this.componentWillUnmount=function(){o=null},this.shouldComponentUpdate=function(a){this.props.value!==a.value&&o.forEach(function(s){s.__e=!0,Ud(s)})},this.sub=function(a){o.add(a);var s=a.componentWillUnmount;a.componentWillUnmount=function(){o&&o.delete(a),s&&s.call(a)}}),i.children}};return r.Provider.__=r.Consumer.contextType=r}function nB(e,t,r,i,o,n){t||(t={});var a,s,l=t;"ref"in t&&(a=t.ref,delete t.ref);var u={type:e,props:l,key:r,ref:a,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:--oB,__i:-1,__u:0,__source:o,__self:n};if(typeof e=="function"&&(a=e.defaultProps))for(s in a)l[s]===void 0&&(l[s]=a[s]);return Ie.vnode&&Ie.vnode(u),u}function yB(){return this.hasFontIcon?g("span",{class:"ui5-icon-root",part:"root",tabindex:this._tabIndex,role:this.effectiveAccessibleRole,"aria-label":this.effectiveAccessibleName,"aria-hidden":this.effectiveAriaHidden,onKeyDown:this._onkeydown,onKeyUp:this._onkeyup,onClick:this._onclick,children:g("slot",{name:"fontIcon"})}):R("svg",{class:"ui5-icon-root",part:"root",tabindex:this._tabIndex,dir:this._dir,viewBox:this.viewBox,role:this.effectiveAccessibleRole,focusable:"false",preserveAspectRatio:"xMidYMid meet","aria-label":this.effectiveAccessibleName,"aria-hidden":this.effectiveAriaHidden,xmlns:"http://www.w3.org/2000/svg",onKeyDown:this._onkeydown,onKeyUp:this._onkeyup,onClick:this._onclick,children:[this.hasIconTooltip&&R("title",{id:`${this._id}-tooltip`,children:[" ",this.effectiveAccessibleName," "]}),g("g",{role:"presentation",children:wB.call(this)})]})}function wB(){return this.customTemplate?this.customTemplate:this.customTemplateAsString?g("g",{dangerouslySetInnerHTML:{__html:this.customTemplateAsString}}):this.pathData.map(e=>g("path",{d:e}))}function Ui(e){return e.toLowerCase()}function kB(){return R("label",{class:"ui5-label-root",onClick:this._onclick,children:[g("span",{class:"ui5-label-text-wrapper",children:g("slot",{})}),g("span",{"aria-hidden":"true",class:"ui5-label-required-colon","data-ui5-colon":this._colonSymbol})]})}function IB(){return R("div",{class:"ui5-busy-indicator-root",children:[this._isBusy&&R("div",{class:{"ui5-busy-indicator-busy-area":!0,"ui5-busy-indicator-busy-area-over-content":this.hasContent},title:this.ariaTitle,tabindex:0,role:"progressbar","aria-valuemin":0,"aria-valuemax":100,"aria-valuetext":"Busy","aria-labelledby":this.labelId,"data-sap-focus-ref":!0,children:[this.textPosition.top&&vm.call(this),R("div",{class:"ui5-busy-indicator-circles-wrapper",children:[g("div",{class:"ui5-busy-indicator-circle circle-animation-0"}),g("div",{class:"ui5-busy-indicator-circle circle-animation-1"}),g("div",{class:"ui5-busy-indicator-circle circle-animation-2"})]}),this.textPosition.bottom&&vm.call(this)]}),g("slot",{}),this._isBusy&&g("span",{"data-ui5-focus-redirect":!0,tabindex:0,role:"none",onFocusIn:this._redirectFocus})]})}function vm(){return g(ke,{children:this.text&&g(nf,{id:`${this._id}-label`,class:"ui5-busy-indicator-text",children:this.text})})}function BB(e){return R(ke,{children:[R("button",{type:"button",class:{"ui5-button-root":!0,"ui5-button-badge-placement-end":this.badge[0]?.design==="InlineText","ui5-button-badge-placement-end-top":this.badge[0]?.design==="OverlayText","ui5-button-badge-dot":this.badge[0]?.design==="AttentionDot"},disabled:this.disabled,"data-sap-focus-ref":!0,"aria-pressed":e?.ariaPressed,"aria-valuemin":e?.ariaValueMin,"aria-valuemax":e?.ariaValueMax,"aria-valuenow":e?.ariaValueNow,"aria-valuetext":e?.ariaValueText,onFocusOut:this._onfocusout,onClick:this._onclick,onMouseDown:this._onmousedown,onKeyDown:this._onkeydown,onKeyUp:this._onkeyup,onTouchStart:this._ontouchstart,onTouchEnd:this._ontouchend,tabindex:this.tabIndexValue,"aria-expanded":this._computedAccessibilityAttributes?.expanded,"aria-controls":this._computedAccessibilityAttributes?.controls,"aria-haspopup":this._computedAccessibilityAttributes?.hasPopup,"aria-label":this._computedAccessibilityAttributes?.ariaLabel,"aria-keyshortcuts":this._computedAccessibilityAttributes?.ariaKeyShortcuts,"aria-description":this.ariaDescriptionText,"aria-busy":this.loading?"true":void 0,title:this.buttonTitle,part:"button",role:this.effectiveAccRole,children:[this.icon&&g(tt,{class:"ui5-button-icon",name:this.icon,mode:"Decorative",part:"icon"}),g("span",{id:`${this._id}-content`,class:"ui5-button-text",children:g("bdi",{children:g("slot",{})})}),this.endIcon&&g(tt,{class:"ui5-button-end-icon",name:this.endIcon,mode:"Decorative",part:"endIcon"}),this.shouldRenderBadge&&g("slot",{name:"badge"})]}),this.loading&&g(af,{id:`${this._id}-button-busy-indicator`,class:"ui5-button-busy-indicator",size:this.iconOnly?gm.S:gm.M,active:!0,delay:this.loadingDelay,inert:this.loading})]})}function PB(){return g(ke,{children:NB.call(this,this.level)})}function NB(e){switch(e){case"H1":return g("h1",{class:"ui5-title-root",children:Oo.call(this)});case"H2":return g("h2",{class:"ui5-title-root",children:Oo.call(this)});case"H3":return g("h3",{class:"ui5-title-root",children:Oo.call(this)});case"H4":return g("h4",{class:"ui5-title-root",children:Oo.call(this)});case"H5":return g("h5",{class:"ui5-title-root",children:Oo.call(this)});case"H6":return g("h6",{id:`${this._id}-inner`,class:"ui5-title-root",children:Oo.call(this)});default:return g("h2",{class:"ui5-title-root",children:Oo.call(this)})}}function Oo(){return g("span",{id:`${this._id}-inner`,children:g("slot",{})})}function VB(e){return"isUI5Element"in e&&"_show"in e}function rE(){return g("div",{class:"ui5-block-layer",onKeyDown:this._preventBlockLayerFocus,onMouseDown:this._preventBlockLayerFocus})}function tl(e){return R(ke,{children:[rE.call(this),R("section",{"root-element":!0,style:this.styles.root,class:this.classes.root,role:this._role,"aria-describedby":this.ariaDescribedByIds,"aria-modal":this._ariaModal,"aria-label":this._ariaLabel,"aria-labelledby":this._ariaLabelledBy,onKeyDown:this._onkeydown,onFocusOut:this._onfocusout,onMouseUp:this._onmouseup,onMouseDown:this._onmousedown,children:[g("span",{class:"first-fe","data-ui5-focus-trap":!0,role:"none",tabIndex:0,onFocusIn:this.forwardToLast}),(e?.beforeContent||iE).call(this),g("div",{style:this.styles.content,class:this.classes.content,role:this._contentRole,"aria-label":this._contentAriaLabel,onScroll:this._scroll,part:"content",children:g("slot",{})}),this.ariaDescriptionText&&g("span",{id:"accessibleDescription",class:"ui5-hidden-text",children:this.ariaDescriptionText}),(e?.afterContent||oE).call(this),g("span",{class:"last-fe","data-ui5-focus-trap":!0,role:"none",tabIndex:0,onFocusIn:this.forwardToFirst})]})]})}function iE(){}function oE(){}function lE(e){su?.addOpenedPopup(e)}function uE(e){su?.removeOpenedPopup(e)}function m_(){return tl.call(this,{beforeContent:PE,afterContent:NE})}function PE(){return R(ke,{children:[g("span",{class:"ui5-popover-arrow",style:this.styles.arrow}),this._displayHeader&&g("header",{class:"ui5-popup-header-root",id:"ui5-popup-header",part:"header",children:this.header.length?g("slot",{name:"header"}):g(Sn,{level:"H1",class:"ui5-popup-header-text",children:this.headerText})})]})}function NE(){return R(ke,{children:[this._displayFooter&&!!this.footer.length&&g("footer",{class:"ui5-popup-footer-root",part:"footer",children:g("slot",{name:"footer"})}),this._showResizeHandle&&g("div",{class:"ui5-popover-resize-handle",onMouseDown:this._onResizeMouseDown,children:g(tt,{name:"resize-corner"})})]})}function VE(){return R("a",{part:"root",class:"ui5-link-root",role:this.effectiveAccRole,href:this.parsedRef,target:this.target,rel:this._rel,tabindex:this.effectiveTabIndex,title:this.tooltip,"aria-disabled":this.disabled,"aria-label":this.ariaLabelText,"aria-haspopup":this._hasPopup,"aria-expanded":this.accessibilityAttributes.expanded,"aria-current":this.accessibilityAttributes.current,"aria-description":this.ariaDescriptionText,onClick:this._onclick,onKeyDown:this._onkeydown,onKeyUp:this._onkeyup,children:[this.icon&&g(tt,{class:"ui5-link-icon",name:this.icon,mode:"Decorative",part:"icon"}),g("span",{class:"ui5-link-text",children:g("slot",{})}),this.hasLinkType&&g("span",{class:"ui5-hidden-text",children:this.linkTypeText}),this.endIcon&&g(tt,{class:"ui5-link-end-icon",name:this.endIcon,mode:"Decorative",part:"endIcon"})]})}function t3(e){let t=e?.suggestionsList,r=e?.mobileHeader;return R(ke,{children:[this._effectiveShowSuggestions&&this.Suggestions?.template.call(this,{suggestionsList:t,mobileHeader:r,valueStateMessage:wm,valueStateMessageInputIcon:Cm}),this.hasValueStateMessage&&g(rl,{preventInitialFocus:!0,preventFocusRestore:!0,hideArrow:!0,class:"ui5-valuestatemessage-popover",placement:"Bottom",tabindex:-1,horizontalAlign:Po.Start,opener:this,open:this.valueStateOpen,onClose:this._handleValueStatePopoverAfterClose,children:R("div",{slot:"header",class:this.classes.popoverValueState,children:[g(tt,{class:"ui5-input-value-state-message-icon",name:Cm.call(this)}),this.valueStateOpen&&wm.call(this)]})})]})}function wm(){return g(ke,{children:this.shouldDisplayDefaultValueStateMessage?this.valueStateText:g("slot",{name:"valueStateMessage"})})}function Cm(){let e={Negative:LE,Critical:FE,Positive:$E,Information:HE};return this.valueState!==be.None?e[this.valueState]:""}function r3(e){let t=e?.suggestionsList,r=e?.mobileHeader,i=e?.preContent||i3,o=e?.postContent||o3;return R(ke,{children:[g("div",{class:"ui5-input-root ui5-input-focusable-element",part:"root",onFocusIn:this._onfocusin,onFocusOut:this._onfocusout,children:R("div",{class:"ui5-input-content",children:[i.call(this),g("input",{id:"inner",part:"input",class:"ui5-input-inner",style:this.styles.innerInput,type:this.inputNativeType,"inner-input":!0,"inner-input-with-icon":this.iconsCount>0,disabled:this.disabled,readonly:this._readonly,value:this.value,required:this.required,placeholder:this._placeholder,maxlength:this.maxlength,role:this.accInfo.role,enterkeyhint:this.hint,"aria-controls":this.accInfo.ariaControls,"aria-invalid":this.accInfo.ariaInvalid,"aria-haspopup":this.accInfo.ariaHasPopup,"aria-describedby":this.accInfo.ariaDescribedBy,"aria-roledescription":this.accInfo.ariaRoledescription,"aria-autocomplete":this.accInfo.ariaAutoComplete,"aria-expanded":this.accInfo.ariaExpanded,"aria-label":this.accInfo.ariaLabel,"aria-required":this.required,autocomplete:"off","data-sap-focus-ref":!0,step:this.nativeInputAttributes.step,min:this.nativeInputAttributes.min,max:this.nativeInputAttributes.max,onInput:this._handleNativeInput,onChange:this._handleChange,onSelect:this._handleSelect,onKeyDown:this._onkeydown,onKeyUp:this._onkeyup,onClick:this._click,onFocusIn:this.innerFocusIn}),this._effectiveShowClearIcon&&g("div",{tabindex:-1,class:"ui5-input-clear-icon-wrapper inputIcon",part:"clear-icon-wrapper",onClick:this._clear,onMouseDown:this._iconMouseDown,children:g(tt,{part:"clear-icon",class:"ui5-input-clear-icon",name:"decline",tabindex:-1,accessibleName:this.clearIconAccessibleName})}),this.icon.length>0&&g("div",{class:"ui5-input-icon-root",tabindex:-1,children:g("slot",{name:"icon"})}),g("div",{class:"ui5-input-value-state-icon",children:this._valueStateInputIcon}),o.call(this),this._effectiveShowSuggestions&&R(ke,{children:[g("span",{id:"suggestionsText",class:"ui5-hidden-text",children:this.suggestionsText}),g("span",{id:"selectionText",class:"ui5-hidden-text","aria-live":"polite",role:"status"}),g("span",{id:"suggestionsCount",class:"ui5-hidden-text","aria-live":"polite",children:this.availableSuggestionsCount})]}),this.accInfo.ariaDescription&&g("span",{id:"descr",class:"ui5-hidden-text",children:this.accInfo.ariaDescription}),this.accInfo.accessibleDescription&&g("span",{id:"accessibleDescription",class:"ui5-hidden-text",children:this.accInfo.accessibleDescription}),this.linksInAriaValueStateHiddenText.length>0&&g("span",{id:"hiddenText-value-state-link-shortcut",class:"ui5-hidden-text",children:this.valueStateLinksShortcutsTextAcc}),this.hasValueState&&g("span",{id:"valueStateDesc",class:"ui5-hidden-text",children:this.ariaValueStateHiddenText})]})}),t3.call(this,{suggestionsList:t,mobileHeader:r})]})}function i3(){}function o3(){}function k3(e,t,r,i,o={}){let n=ia.getDraggedElement(),a={targetReference:null,placement:null};if(!n&&!o?.crossDnD)return a;let s=r.placements;return a.targetReference=e.target,s.some(l=>{let u=o.originalEvent?{originalEvent:e}:{};return t.fireDecoratorEvent("move-over",te(E({},u),{source:{element:n},destination:{element:i,placement:l}}))?!1:(e.preventDefault(),a.targetReference=r.element,a.placement=l,!0)})||(a.targetReference=null),a}function I3(e,t,r,i,o={}){e.preventDefault();let n=ia.getDraggedElement();if(!n&&o?.crossDnD)return;let a=o.originalEvent?{originalEvent:e}:{};t.fireDecoratorEvent("move",te(E({},a),{source:{element:n},destination:{element:r,placement:i}})),n?.focus()}function R3(){return R("div",{part:"native-li",role:this.effectiveAccRole,tabindex:this.forcedTabIndex?parseInt(this.forcedTabIndex):void 0,class:E({"ui5-ghli-root":!0},this.classes.main),"aria-label":this.ariaLabelText,"aria-roledescription":this.groupHeaderText,onFocusIn:this._onfocusin,onKeyDown:this._onkeydown,children:[g("div",{id:`${this._id}-content`,class:"ui5-li-content",children:O3.call(this)}),this.hasSubItems&&g("slot",{name:"subItems"})]})}function O3(){return this.wrappingType===T1.Normal?this.expandableTextTemplate?.call(this,{className:"ui5-ghli-title",text:this._textContent,maxCharacters:this._maxCharacters,part:"title"}):g("span",{part:"title",class:"ui5-ghli-title",children:g("slot",{})})}function L3(){return g("div",{class:{"ui5-di-rect":this.placement===yt.On,"ui5-di-needle":this.placement!==yt.On}})}function $3(){return R(ke,{children:[this.hasHeader&&R(x_,{wrappingType:this.wrappingType,focused:this.focused,part:"header",exportparts:"title",accessibleRole:I1.ListItem,children:[this.hasFormattedHeader?g("slot",{name:"header"}):this.headerText,g("div",{role:"list",slot:"subItems","aria-owns":`${this._id}-content`,"aria-label":this.headerText})]}),R("div",{class:"ui5-group-li-root",onDragEnter:this._ondragenter,onDragOver:this._ondragover,onDrop:this._ondrop,onDragLeave:this._ondragleave,id:`${this._id}-content`,children:[g("slot",{}),g(sl,{orientation:"Horizontal",ownerReference:this})]})]})}function Q3(){return g("div",{class:"ui5-list-root",onFocusIn:this._onfocusin,onKeyDown:this._onkeydown,onDragEnter:this._ondragenter,onDragOver:this._ondragover,onDrop:this._ondrop,onDragLeave:this._ondragleave,"onui5-_close":this.onItemClose,"onui5-toggle":this.onItemToggle,"onui5-request-tabindex-change":this.onItemTabIndexChange,"onui5-_focused":this.onItemFocused,"onui5-forward-after":this.onForwardAfter,"onui5-forward-before":this.onForwardBefore,"onui5-selection-requested":this.onSelectionRequested,"onui5-focus-requested":this.onFocusRequested,"onui5-_press":this.onItemPress,children:R(af,{id:`${this._id}-busyIndicator`,delay:this.loadingDelay,active:this.showBusyIndicatorOverlay,class:"ui5-list-busy-indicator",children:[R("div",{class:"ui5-list-container",children:[this.header.length>0&&g("slot",{name:"header"}),this.shouldRenderH1&&g("header",{id:this.headerID,class:"ui5-list-header",children:this.headerText}),R("div",{class:"ui5-list-scroll-container",children:[g("span",{tabindex:-1,"aria-hidden":"true",class:"ui5-list-start-marker"}),this.hasData&&g("div",{id:`${this._id}-before`,tabindex:0,role:"none",class:"ui5-list-focusarea"}),g("span",{id:`${this._id}-modeLabel`,class:"ui5-hidden-text",children:this.ariaLabelModeText}),R("ul",{id:`${this._id}-listUl`,class:"ui5-list-ul",role:this.listAccessibleRole,"aria-label":this.ariaLabelTxt,"aria-labelledby":this.ariaLabelledBy,"aria-description":this.ariaDescriptionText||void 0,children:[g("slot",{}),this.showNoDataText&&g("li",{tabindex:0,id:`${this._id}-nodata`,class:"ui5-list-nodata",role:"listitem",children:g("div",{id:`${this._id}-nodata-text`,class:"ui5-list-nodata-text",children:this.noDataText})})]}),this.growsWithButton&&J3.call(this),this.footerText&&g("footer",{id:`${this._id}-footer`,class:"ui5-list-footer",children:this.footerText}),this.hasData&&g("div",{id:`${this._id}-after`,tabindex:0,role:"none",class:"ui5-list-focusarea"}),g("span",{tabindex:-1,"aria-hidden":"true",class:"ui5-list-end-marker"})]})]}),g(sl,{orientation:"Horizontal",ownerReference:this})]})})}function J3(){return R("div",{class:"ui5-growing-button",part:"growing-button",children:[R("div",{id:`${this._id}-growing-btn`,role:"button",tabindex:0,part:"growing-button-inner",class:{"ui5-growing-button-inner":!0,"ui5-growing-button-inner-active":this._loadMoreActive},"aria-label":this.growingButtonAriaLabel,"aria-labelledby":this.growingButtonAriaLabelledBy,"aria-describedby":this.growingButtonAriaDescribedBy,onClick:this._onLoadMoreClick,onKeyDown:this._onLoadMoreKeydown,onKeyUp:this._onLoadMoreKeyup,onMouseDown:this._onLoadMoreMousedown,onMouseUp:this._onLoadMoreMouseup,children:[this.loading&&g(af,{delay:this.loadingDelay,part:"growing-button-busy-indicator",class:"ui5-list-growing-button-busy-indicator",active:!0}),g("span",{id:`${this._id}-growingButton-text`,class:"ui5-growing-button-text","growing-button-text":!0,children:this._growingButtonText})]}),this.accessibilityAttributes.growingButton?.description&&g("span",{id:`${this._id}-growingButton-description`,class:"ui5-hidden-text",children:this.accessibilityAttributes.growingButton.description})]})}function s7(){return R("div",{role:"radio",class:"ui5-radio-root",part:"root","aria-checked":this.checked,"aria-disabled":this.effectiveAriaDisabled,"aria-describedby":this.effectiveAriaDescribedBy,"aria-label":this.ariaLabelText,"aria-labelledby":this.ariaLabelledBy,tabindex:this.effectiveTabIndex,onClick:this._onclick,onKeyDown:this._onkeydown,onKeyUp:this._onkeyup,onMouseDown:this._onmousedown,onMouseUp:this._onmouseup,onFocusOut:this._onfocusout,children:[R("div",{class:{"ui5-radio-inner":!0,"ui5-radio-inner--hoverable":!this.disabled&&!this.readonly&&Ht()},children:[R("svg",{class:"ui5-radio-svg",focusable:"false","aria-hidden":"true",children:[g("circle",{part:"outer-ring",class:"ui5-radio-svg-outer",cx:"50%",cy:"50%",r:"50%"}),g("circle",{part:"inner-ring",class:"ui5-radio-svg-inner",cx:"50%",cy:"50%"})]}),g("input",{type:"radio",required:this.required,checked:this.checked,readonly:this.readonly,disabled:this.disabled,name:this.name,"data-sap-no-tab-ref":!0})]}),this.text&&g(nf,{id:`${this._id}-label`,class:"ui5-radio-label",for:this._id,wrappingType:this.wrappingType,children:this.text}),this.hasValueState&&g("span",{id:`${this._id}-descr`,class:"ui5-hidden-text",children:this.valueStateText})]})}function f7(){return R("div",{class:{"ui5-checkbox-root":!0,"ui5-checkbox--hoverable":!this.disabled&&!this.readonly&&Ht()},role:this.accInfo.role,part:"root","aria-checked":this.accInfo.ariaChecked,"aria-readonly":this.accInfo.ariaReadonly,"aria-disabled":this.accInfo.ariaDisabled,"aria-label":this.ariaLabelText,"aria-labelledby":this.ariaLabelledBy,"aria-describedby":this.ariaDescribedBy,"aria-required":this.accInfo.ariaRequired,tabindex:this.accInfo.tabindex,onMouseDown:this._onmousedown,onMouseUp:this._onmouseup,onKeyDown:this._onkeydown,onKeyUp:this._onkeyup,onClick:this._onclick,onFocusOut:this._onfocusout,children:[this.isDisplayOnly?g("div",{class:"ui5-checkbox-display-only-icon-inner",children:g(tt,{"aria-hidden":"true",name:v7.call(this),class:"ui5-checkbox-display-only-icon",part:"icon"})}):g("div",{id:`${this._id}-CbBg`,class:"ui5-checkbox-inner",children:this.isCompletelyChecked&&g(tt,{"aria-hidden":"true",name:"accept",class:"ui5-checkbox-icon",part:"icon"})}),this.accInfo.role==="checkbox"&&g("input",{id:`${this._id}-CB`,type:"checkbox",checked:this.checked,value:this.value,readonly:this.readonly,disabled:this.disabled,tabindex:-1,"aria-hidden":"true","data-sap-no-tab-ref":!0}),this.text&&g(nf,{id:`${this._id}-label`,part:"label",class:"ui5-checkbox-label",wrappingType:this.wrappingType,required:this.required,children:this.text}),this.hasValueState&&g("span",{id:`${this._id}-descr`,class:"ui5-hidden-text",children:this.valueStateText})]})}function v7(){return this.isCompletelyChecked?d7:this.checked&&this.indeterminate?p7:h7}function b7(e){let t=E(E({},m7),e);return R("li",{part:"native-li","data-sap-focus-ref":!0,tabindex:this._effectiveTabIndex,class:this.classes.main,onFocusIn:this._onfocusin,onFocusOut:this._onfocusout,onKeyUp:this._onkeyup,onKeyDown:this._onkeydown,onMouseUp:this._onmouseup,onMouseDown:this._onmousedown,onTouchStart:this._onmousedown,onTouchEnd:this._ontouchend,onClick:this._onclick,draggable:this.movable,onDragStart:this._ondragstart,onDragEnd:this._ondragend,role:this._accInfo.role,title:this._accInfo.tooltip,"aria-expanded":this._accInfo.ariaExpanded,"aria-level":this._accInfo.ariaLevel,"aria-haspopup":this._accInfo.ariaHaspopup,"aria-posinset":this._accInfo.posinset,"aria-setsize":this._accInfo.setsize,"aria-describedby":this._accInfo.ariaDescribedBy,"aria-labelledby":this._accessibleNameRef,"aria-disabled":this._ariaDisabled,"aria-selected":this._accInfo.ariaSelected,"aria-checked":this._accInfo.ariaChecked,"aria-owns":this._accInfo.ariaOwns,"aria-keyshortcuts":this._accInfo.ariaKeyShortcuts,children:[t.listItemPreContent.call(this),this.placeSelectionElementBefore&&D1.call(this),this._hasHighlightColor&&g("div",{class:"ui5-li-highlight"}),R("div",{part:"content",id:`${this._id}-content`,class:"ui5-li-content",children:[t.imageBegin.call(this),t.iconBegin.call(this),t.listItemContent.call(this)]}),t.iconEnd.call(this),this.typeDetail&&g("div",{class:"ui5-li-detailbtn",children:g(qr,{part:"detail-button",design:"Transparent",onClick:this.onDetailClick,icon:t7})}),this.typeNavigation&&g(tt,{name:n7}),this.navigated&&g("div",{class:"ui5-li-navigated"}),this.placeSelectionElementAfter&&t.selectionElement.call(this),g("span",{id:`${this._id}-invisibleText`,class:"ui5-hidden-text",children:this.ariaLabelledByText}),g("span",{id:`${this._id}-invisibleText-describedby`,class:"ui5-hidden-text",children:this._accInfo.ariaSelectedText})]})}function y7(){}function w7(){}function C7(){}function x7(){}function S7(){}function D1(){switch(!0){case this.modeSingleSelect:return g(u7,{part:"radio",disabled:this.isInactive,accessibleName:this._accInfo.ariaLabelRadioButton,tabindex:-1,id:`${this._id}-singleSelectionElement`,class:"ui5-li-singlesel-radiobtn",checked:this.selected,onChange:this.onSingleSelectionComponentPress});case this.modeMultiple:return g(g7,{part:"checkbox",disabled:this.isInactive,indeterminate:this.indeterminate,tabindex:-1,id:`${this._id}-multiSelectionElement`,class:"ui5-li-multisel-cb",checked:this.selected,accessibleName:this._accInfo.ariaLabel,onChange:this.onMultiSelectionComponentPress});case this.modeDelete:return g("div",{class:"ui5-li-deletebtn",children:this.hasDeleteButtonSlot?g("slot",{name:"deleteButton"}):g(qr,{part:"delete-button",id:`${this._id}-deleteSelectionElement`,design:"Transparent",icon:c1,onClick:this.onDelete,tooltip:this.deleteText})})}}function T7(e){let t=E(E({},k7),e);return b7.call(this,t)}function I7(){return g("slot",{})}function M(e){let t=Ut;return Ut=e,t}function F7(){return Ut}function tc(e){if(Hl)throw new Error("");if(Ut===null)return;Ut.consumerOnSignalRead(e);let t=Ut.producersTail;if(t!==void 0&&t.producer===e)return;let r,i=Ut.recomputing;if(i&&(r=t!==void 0?t.nextProducer:Ut.producers,r!==void 0&&r.producer===e)){Ut.producersTail=r,r.lastReadVersion=e.version,r.knownValidAtEpoch=jo;return}let o=e.consumersTail;if(o!==void 0&&o.consumer===Ut&&(!i||o.knownValidAtEpoch===jo))return;let n=ba(Ut),a={producer:e,consumer:Ut,nextProducer:r,prevConsumer:void 0,knownValidAtEpoch:jo,lastReadVersion:e.version,nextConsumer:void 0};Ut.producersTail=a,t!==void 0?t.nextProducer=a:Ut.producers=a,n&&P1(e,a)}function $7(){jo++}function As(e){if(!(ba(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===jo)){if(!e.producerMustRecompute(e)&&!cf(e)){lu(e);return}e.producerRecomputeValue(e),lu(e)}}function R1(e){if(e.consumers===void 0)return;let t=Hl;Hl=!0;try{for(let r=e.consumers;r!==void 0;r=r.nextConsumer){let i=r.consumer;i.dirty||H7(i)}}finally{Hl=t}}function O1(){return Ut?.consumerAllowSignalWrites!==!1}function H7(e){e.dirty=!0,R1(e),e.consumerMarkedDirty?.(e)}function lu(e){e.dirty=!1,e.lastCleanEpoch=jo}function _s(e){return e&&U7(e),M(e)}function U7(e){if(e.producersTail?.knownValidAtEpoch===jo){let t=e.producers;for(;t!==void 0;)t.knownValidAtEpoch=null,t=t.nextProducer}e.producersTail=void 0,e.recomputing=!0}function rc(e,t){M(t),e&&V7(e)}function V7(e){e.recomputing=!1;let t=e.producersTail,r=t!==void 0?t.nextProducer:e.producers;if(r!==void 0){if(ba(e))do r=_f(r);while(r!==void 0);t!==void 0?t.nextProducer=void 0:e.producers=void 0}}function cf(e){for(let t=e.producers;t!==void 0;t=t.nextProducer){let r=t.producer,i=t.lastReadVersion;if(i!==r.version||(As(r),i!==r.version))return!0}return!1}function ic(e){if(ba(e)){let t=e.producers;for(;t!==void 0;)t=_f(t)}e.producers=void 0,e.producersTail=void 0,e.consumers=void 0,e.consumersTail=void 0}function P1(e,t){let r=e.consumersTail,i=ba(e);if(r!==void 0?(t.nextConsumer=r.nextConsumer,r.nextConsumer=t):(t.nextConsumer=void 0,e.consumers=t),t.prevConsumer=r,e.consumersTail=t,!i)for(let o=e.producers;o!==void 0;o=o.nextProducer)P1(o.producer,o)}function _f(e){let t=e.producer,r=e.nextProducer,i=e.nextConsumer,o=e.prevConsumer;if(e.nextConsumer=void 0,e.prevConsumer=void 0,i!==void 0?i.prevConsumer=o:t.consumersTail=o,o!==void 0)o.nextConsumer=i;else if(t.consumers=i,!ba(t)){let n=t.producers;for(;n!==void 0;)n=_f(n)}return r}function ba(e){return e.consumerIsAlwaysLive||e.consumers!==void 0}function df(e){L7?.(e)}function hf(e,t){return Object.is(e,t)}function j7(e,t){let r=Object.create(q7);r.computation=e,t!==void 0&&(r.equal=t);let i=()=>{if(As(r),tc(r),r.value===Ci)throw r.error;return r.value};return i[Qt]=r,df(r),i}function G7(){throw new Error}function M1(e){N1(e)}function W7(e){N1=e}function K7(e,t){let r=Object.create(F1);r.value=e,t!==void 0&&(r.equal=t);let i=()=>X7(r);return i[Qt]=r,df(r),[i,o=>oc(r,o),o=>L1(r,o)]}function X7(e){return tc(e),e.value}function oc(e,t){O1()||M1(e),e.equal(e.value,t)||(e.value=t,Y7(e))}function L1(e,t){O1()||M1(e),oc(e,t(e.value))}function Y7(e){e.version++,$7(),R1(e),Z7?.(e)}function J7(e){if(e.dirty=!1,e.version>0&&!cf(e))return;e.version++;let t=_s(e);try{e.cleanup(),e.fn()}finally{rc(e,t)}}function $1(){return Th}function Qi(e){let t=Th;return Th=e,t}function pf(e){return e===eD||e?.name==="\u0275NotFound"}function Pm(e,t,r){let i=Object.create(rD);i.source=e,i.computation=t,r!=null&&(i.equal=r);let o=()=>{if(As(i),tc(i),i.value===Ci)throw i.error;return i.value};return o[Qt]=i,df(i),o}function Nm(e,t){As(e),oc(e,t),lu(e)}function tD(e,t){if(As(e),e.value===Ci)throw e.error;L1(e,t),lu(e)}function iD(e){let t=M(null);try{return e()}finally{M(t)}}function Ve(e){return typeof e=="function"}function ff(e){let t=e(r=>{Error.call(r),r.stack=new Error().stack});return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}function Ih(e,t){if(e){let r=e.indexOf(t);0<=r&&e.splice(r,1)}}function U1(e){return e instanceof Ti||e&&"closed"in e&&Ve(e.remove)&&Ve(e.add)&&Ve(e.unsubscribe)}function Mm(e){Ve(e)?e():e.unsubscribe()}function V1(e){uu.setTimeout(()=>{let{onUnhandledError:t}=an;if(t)t(e);else throw e})}function Bh(){}function nD(e){return vf("E",void 0,e)}function aD(e){return vf("N",e,void 0)}function vf(e,t,r){return{kind:e,value:t,error:r}}function Ul(e){if(an.useDeprecatedSynchronousErrorHandling){let t=!Ho;if(t&&(Ho={errorThrown:!1,error:null}),e(),t){let{errorThrown:r,error:i}=Ho;if(Ho=null,r)throw i}}else e()}function sD(e){an.useDeprecatedSynchronousErrorHandling&&Ho&&(Ho.errorThrown=!0,Ho.error=e)}function rd(e,t){return lD.call(e,t)}function gl(e){an.useDeprecatedSynchronousErrorHandling?sD(e):V1(e)}function cD(e){throw e}function id(e,t){let{onStoppedNotification:r}=an;r&&uu.setTimeout(()=>r(e,t))}function bf(e){return e}function dD(e){return e.length===0?bf:e.length===1?e[0]:function(t){return e.reduce((r,i)=>i(r),t)}}function Lm(e){var t;return(t=e??an.Promise)!==null&&t!==void 0?t:Promise}function hD(e){return e&&Ve(e.next)&&Ve(e.error)&&Ve(e.complete)}function pD(e){return e&&e instanceof gf||hD(e)&&U1(e)}function fD(e){return Ve(e?.lift)}function Ei(e){return t=>{if(fD(t))return t.lift(function(r){try{return e(r,this)}catch(i){this.error(i)}});throw new TypeError("Unable to lift unknown Observable type")}}function ti(e,t,r,i,o){return new vD(e,t,r,i,o)}function yD(e){return e&&Ve(e.schedule)}function yf(e){return e[e.length-1]}function wD(e){return Ve(yf(e))?e.pop():void 0}function Z1(e){return yD(yf(e))?e.pop():void 0}function CD(e,t){return typeof yf(e)=="number"?e.pop():t}function xD(e,t,r,i){function o(n){return n instanceof r?n:new r(function(a){a(n)})}return new(r||(r=Promise))(function(n,a){function s(_){try{u(i.next(_))}catch(c){a(c)}}function l(_){try{u(i.throw(_))}catch(c){a(c)}}function u(_){_.done?n(_.value):o(_.value).then(s,l)}u((i=i.apply(e,t||[])).next())})}function Fm(e){var t=typeof Symbol=="function"&&Symbol.iterator,r=t&&e[t],i=0;if(r)return r.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&i>=e.length&&(e=void 0),{value:e&&e[i++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function Vn(e){return this instanceof Vn?(this.v=e,this):new Vn(e)}function SD(e,t,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var i=r.apply(e,t||[]),o,n=[];return o=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),s("next"),s("throw"),s("return",a),o[Symbol.asyncIterator]=function(){return this},o;function a(d){return function(b){return Promise.resolve(b).then(d,c)}}function s(d,b){i[d]&&(o[d]=function(w){return new Promise(function(I,C){n.push([d,w,I,C])>1||l(d,w)})},b&&(o[d]=b(o[d])))}function l(d,b){try{u(i[d](b))}catch(w){h(n[0][3],w)}}function u(d){d.value instanceof Vn?Promise.resolve(d.value.v).then(_,c):h(n[0][2],d)}function _(d){l("next",d)}function c(d){l("throw",d)}function h(d,b){d(b),n.shift(),n.length&&l(n[0][0],n[0][1])}}function kD(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],r;return t?t.call(e):(e=typeof Fm=="function"?Fm(e):e[Symbol.iterator](),r={},i("next"),i("throw"),i("return"),r[Symbol.asyncIterator]=function(){return this},r);function i(n){r[n]=e[n]&&function(a){return new Promise(function(s,l){a=e[n](a),o(s,l,a.done,a.value)})}}function o(n,a,s,l){Promise.resolve(l).then(function(u){n({value:u,done:s})},a)}}function X1(e){return Ve(e?.then)}function Y1(e){return Ve(e[mf])}function Q1(e){return Symbol.asyncIterator&&Ve(e?.[Symbol.asyncIterator])}function J1(e){return new TypeError(`You provided ${e!==null&&typeof e=="object"?"an invalid object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}function TD(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}function ty(e){return Ve(e?.[ey])}function ry(e){return SD(this,arguments,function*(){let t=e.getReader();try{for(;;){let{value:r,done:i}=yield Vn(t.read());if(i)return yield Vn(void 0);yield yield Vn(r)}}finally{t.releaseLock()}})}function iy(e){return Ve(e?.getReader)}function Di(e){if(e instanceof _t)return e;if(e!=null){if(Y1(e))return ID(e);if(K1(e))return AD(e);if(X1(e))return BD(e);if(Q1(e))return oy(e);if(ty(e))return ED(e);if(iy(e))return DD(e)}throw J1(e)}function ID(e){return new _t(t=>{let r=e[mf]();if(Ve(r.subscribe))return r.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function AD(e){return new _t(t=>{for(let r=0;r<e.length&&!t.closed;r++)t.next(e[r]);t.complete()})}function BD(e){return new _t(t=>{e.then(r=>{t.closed||(t.next(r),t.complete())},r=>t.error(r)).then(null,V1)})}function ED(e){return new _t(t=>{for(let r of e)if(t.next(r),t.closed)return;t.complete()})}function oy(e){return new _t(t=>{zD(e,t).catch(r=>t.error(r))})}function DD(e){return oy(ry(e))}function zD(e,t){var r,i,o,n;return xD(this,void 0,void 0,function*(){try{for(r=kD(e);i=yield r.next(),!i.done;){let a=i.value;if(t.next(a),t.closed)return}}catch(a){o={error:a}}finally{try{i&&!i.done&&(n=r.return)&&(yield n.call(r))}finally{if(o)throw o.error}}t.complete()})}function io(e,t,r,i=0,o=!1){let n=t.schedule(function(){r(),o?e.add(this.schedule(null,i)):this.unsubscribe()},i);if(e.add(n),!o)return n}function ny(e,t=0){return Ei((r,i)=>{r.subscribe(ti(i,o=>io(i,e,()=>i.next(o),t),()=>io(i,e,()=>i.complete(),t),o=>io(i,e,()=>i.error(o),t)))})}function ay(e,t=0){return Ei((r,i)=>{i.add(e.schedule(()=>r.subscribe(i),t))})}function RD(e,t){return Di(e).pipe(ay(t),ny(t))}function OD(e,t){return Di(e).pipe(ay(t),ny(t))}function PD(e,t){return new _t(r=>{let i=0;return t.schedule(function(){i===e.length?r.complete():(r.next(e[i++]),r.closed||this.schedule())})})}function ND(e,t){return new _t(r=>{let i;return io(r,t,()=>{i=e[ey](),io(r,t,()=>{let o,n;try{({value:o,done:n}=i.next())}catch(a){r.error(a);return}n?r.complete():r.next(o)},0,!0)}),()=>Ve(i?.return)&&i.return()})}function sy(e,t){if(!e)throw new Error("Iterable cannot be null");return new _t(r=>{io(r,t,()=>{let i=e[Symbol.asyncIterator]();io(r,t,()=>{i.next().then(o=>{o.done?r.complete():r.next(o.value)})},0,!0)})})}function MD(e,t){return sy(ry(e),t)}function LD(e,t){if(e!=null){if(Y1(e))return RD(e,t);if(K1(e))return PD(e,t);if(X1(e))return OD(e,t);if(Q1(e))return sy(e,t);if(ty(e))return ND(e,t);if(iy(e))return MD(e,t)}throw J1(e)}function wf(e,t){return t?LD(e,t):Di(e)}function FD(...e){return wf(e,Z1(e))}function HD(e,t){let r=typeof t=="object";return new Promise((i,o)=>{let n=!1,a;e.subscribe({next:s=>{a=s,n=!0},error:o,complete:()=>{n?i(a):r?i(t.defaultValue):o(new $D)}})})}function to(e,t){return Ei((r,i)=>{let o=0;r.subscribe(ti(i,n=>{i.next(e.call(t,n,o++))}))})}function VD(e,t){return UD(t)?e(...t):e(t)}function jD(e){return to(t=>VD(e,t))}function KD(e){if(e.length===1){let t=e[0];if(qD(t))return{args:t,keys:null};if(XD(t)){let r=ZD(t);return{args:r.map(i=>t[i]),keys:r}}}return{args:e,keys:null}}function XD(e){return e&&typeof e=="object"&&GD(e)===WD}function YD(e,t){return e.reduce((r,i,o)=>(r[i]=t[o],r),{})}function QD(e,t,r,i,o,n,a,s){let l=[],u=0,_=0,c=!1,h=()=>{c&&!l.length&&!u&&t.complete()},d=w=>u<i?b(w):l.push(w),b=w=>{n&&t.next(w),u++;let I=!1;Di(r(w,_++)).subscribe(ti(t,C=>{o?.(C),n?d(C):t.next(C)},()=>{I=!0},void 0,()=>{if(I)try{for(u--;l.length&&u<i;){let C=l.shift();a?io(t,a,()=>b(C)):b(C)}h()}catch(C){t.error(C)}}))};return e.subscribe(ti(t,d,()=>{c=!0,h()})),()=>{s?.()}}function cu(e,t,r=1/0){return Ve(t)?cu((i,o)=>to((n,a)=>t(i,n,o,a))(Di(e(i,o))),r):(typeof t=="number"&&(r=t),Ei((i,o)=>QD(i,o,e,r)))}function JD(e=1/0){return cu(bf,e)}function ez(...e){let t=wD(e),{args:r,keys:i}=KD(e),o=new _t(n=>{let{length:a}=r;if(!a){n.complete();return}let s=new Array(a),l=a,u=a;for(let _=0;_<a;_++){let c=!1;Di(r[_]).subscribe(ti(n,h=>{c||(c=!0,u--),s[_]=h},()=>l--,void 0,()=>{(!l||!c)&&(u||n.next(i?YD(i,s):s),n.complete())}))}});return t?o.pipe(jD(t)):o}function tz(...e){let t=Z1(e),r=CD(e,1/0),i=e;return i.length?i.length===1?Di(i[0]):JD(r)(wf(i,t)):bD}function rz(e,t){return Ei((r,i)=>{let o=0;r.subscribe(ti(i,n=>e.call(t,n,o++)&&i.next(n)))})}function iz(e,t){return Ve(t)?cu(e,t,1):cu(e,1)}function oz(e){return Ei((t,r)=>{try{t.subscribe(r)}finally{r.add(e)}})}function nz(e,t){return Ei((r,i)=>{let o=null,n=0,a=!1,s=()=>a&&!o&&i.complete();r.subscribe(ti(i,l=>{o?.unsubscribe();let u=0,_=n++;Di(e(l,_)).subscribe(o=ti(i,c=>i.next(t?t(l,c,_,u++):c),()=>{o=null,s()}))},()=>{a=!0,s()}))})}function az(e){return Ei((t,r)=>{Di(e).subscribe(ti(r,()=>r.complete(),Bh)),!r.closed&&t.subscribe(r)})}function sz(e,t,r){let i=Ve(e)||t||r?{next:e,error:t,complete:r}:e;return i?Ei((o,n)=>{var a;(a=i.subscribe)===null||a===void 0||a.call(i);let s=!0;o.subscribe(ti(n,l=>{var u;(u=i.next)===null||u===void 0||u.call(i,l),n.next(l)},()=>{var l;s=!1,(l=i.complete)===null||l===void 0||l.call(i),n.complete()},l=>{var u;s=!1,(u=i.error)===null||u===void 0||u.call(i,l),n.error(l)},()=>{var l,u;s&&((l=i.unsubscribe)===null||l===void 0||l.call(i)),(u=i.finalize)===null||u===void 0||u.call(i)}))}):bf}function lz(e){return`NG0${Math.abs(e)}`}function uy(e,t){return`${lz(e)}${t?": "+t:""}`}function Ce(e){for(let t in e)if(e[t]===Ce)return t;throw Error("")}function uz(e,t){for(let r in t)Object.hasOwn(t,r)&&!Object.hasOwn(e,r)&&(e[r]=t[r])}function cy(e){if(typeof e=="string")return e;if(Array.isArray(e))return`[${e.map(cy).join(", ")}]`;if(e==null)return""+e;let t=e.overriddenName||e.name;if(t)return`${t}`;let r=e.toString();if(r==null)return""+r;let i=r.indexOf(`
|
|
7
|
-
`);return i>=0?r.slice(0,i):r}function $m(e,t){return e?t?`${e} ${t}`:e:t||""}function ln(e){return e.__forward_ref__=ln,e}function At(e){return _y(e)?e():e}function _y(e){return typeof e=="function"&&Object.hasOwn(e,cz)&&e.__forward_ref__===ln}function xe(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function dy(e){return{providers:e.providers||[],imports:e.imports||[]}}function Cf(e){return _z(e,hy)}function _z(e,t){return Object.hasOwn(e,t)&&e[t]||null}function dz(e){return(e?.[hy]??null)||null}function Hm(e){return e&&Object.hasOwn(e,Um)?e[Um]:null}function py(e){return e&&!!e.\u0275providers}function Bs(e){return Sf(e,"@Component"),e[Dh]||null}function xf(e){return Sf(e,"@Directive"),e[zh]||null}function pz(e){return Sf(e,"@Pipe"),e[hz]||null}function Sf(e,t){if(e==null)throw new L(-919,!1)}function na(e){return typeof e=="string"?e:e==null?"":String(e)}function vy(e,t){return gy("",-200,t)}function kf(e,t){throw new L(-201,!1)}function gy(e,t,r){let i=new L(t,e);return i[fy]=t,i[fz]=e,r&&(i[vz]=r),i}function gz(e){return e[fy]}function my(){return Rh}function Xt(e){let t=Rh;return Rh=e,t}function by(e,t,r){let i=Cf(e);if(i&&i.providedIn=="root")return i.value===void 0?i.value=i.factory():i.value;if(r&8)return null;if(t!==void 0)return t;kf(e,"")}function yz(e,t=0){let r=$1();if(r===void 0)throw new L(-203,!1);if(r===null)return by(e,void 0,t);{let i=wz(t),o=r.retrieve(e,i);if(pf(o)){if(i.optional)return null;throw o}return o}}function ae(e,t=0){return(my()||yz)(At(e),t)}function S(e,t){return ae(e,ds(t))}function ds(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function wz(e){return{optional:!!(e&8),host:!!(e&1),self:!!(e&2),skipSelf:!!(e&4)}}function Oh(e){let t=[];for(let r=0;r<e.length;r++){let i=At(e[r]);if(Array.isArray(i)){if(i.length===0)throw new L(900,!1);let o,n=0;for(let a=0;a<i.length;a++){let s=i[a],l=Cz(s);typeof l=="number"?l===-1?o=s.token:n|=l:o=s}t.push(ae(o,n))}else t.push(ae(i))}return t}function Cz(e){return e[mz]}function Ko(e,t){return Object.hasOwn(e,_u)?e[_u]:null}function Tf(e,t){e.forEach(r=>Array.isArray(r)?Tf(r,t):t(r))}function xz(e,t,r){t>=e.length?e.push(r):e.splice(t,0,r)}function yy(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Sz(e,t){let r=[];for(let i=0;i<e;i++)r.push(t);return r}function kz(e,t,r,i){let o=e.length;if(o==t)e.push(r,i);else if(o===1)e.push(i,e[0]),e[0]=r;else{for(o--,e.push(e[o-1],e[o]);o>t;){let n=o-2;e[o]=e[n],o--}e[t]=r,e[t+1]=i}}function Tz(e,t,r){let i=Es(e,t);return i>=0?e[i|1]=r:(i=~i,kz(e,i,t,r)),i}function od(e,t){let r=Es(e,t);if(r>=0)return e[r|1]}function Es(e,t){return Iz(e,t,1)}function Iz(e,t,r){let i=0,o=e.length>>r;for(;o!==i;){let n=i+(o-i>>1),a=e[n<<r];if(t===a)return n<<r;a>t?o=n:i=n+1}return~(o<<r)}function Bf(e){return{\u0275providers:e}}function Az(...e){return{\u0275providers:xy(!0,e),\u0275fromNgModule:!0}}function xy(e,...t){let r=[],i=new Set,o,n=a=>{r.push(a)};return Tf(t,a=>{let s=a;Ph(s,n,[],i)&&(o||=[],o.push(s))}),o!==void 0&&Sy(o,n),r}function Sy(e,t){for(let r=0;r<e.length;r++){let{ngModule:i,providers:o}=e[r];Ef(o,n=>{t(n,i)})}}function Ph(e,t,r,i){if(e=At(e),!e)return!1;let o=null,n=Hm(e),a=!n&&Bs(e);if(!n&&!a){let l=e.ngModule;if(n=Hm(l),n)o=l;else return!1}else{if(a&&!a.standalone)return!1;o=e}let s=i.has(o);if(a){if(s)return!1;if(i.add(o),a.dependencies){let l=typeof a.dependencies=="function"?a.dependencies():a.dependencies;for(let u of l)Ph(u,t,r,i)}}else if(n){if(n.imports!=null&&!s){i.add(o);let u;Tf(n.imports,_=>{Ph(_,t,r,i)&&(u||=[],u.push(_))}),u!==void 0&&Sy(u,t)}if(!s){let u=Ko(o)||(()=>new o);t({provide:o,useFactory:u,deps:hr},o),t({provide:wy,useValue:o,multi:!0},o),t({provide:If,useValue:()=>ae(o),multi:!0},o)}let l=n.providers;if(l!=null&&!s){let u=e;Ef(l,_=>{t(_,u)})}}else return!1;return o!==e&&e.providers!==void 0}function Ef(e,t){for(let r of e)py(r)&&(r=r.\u0275providers),Array.isArray(r)?Ef(r,t):t(r)}function ky(e){return e!==null&&typeof e=="object"&&Bz in e}function Ez(e){return!!(e&&e.useExisting)}function Dz(e){return!!(e&&e.useFactory)}function aa(e){return typeof e=="function"}function zz(e){return!!e.useClass}function nc(){return nd===void 0&&(nd=new Cy),nd}function Nh(e){let t=Cf(e),r=t!==null?t.factory:Ko(e);if(r!==null)return r;if(e instanceof q)throw new L(-204,!1);if(e instanceof Function)return Rz(e);throw new L(-204,!1)}function Rz(e){if(e.length>0)throw new L(-204,!1);let t=dz(e);return t!==null?()=>t.factory(e):()=>new e}function Oz(e){return ky(e)?Pn(void 0,e.useValue):Pn(Ty(e),Vl)}function Ty(e,t,r){let i;if(aa(e)){let o=At(e);return Ko(o)||Nh(o)}else if(ky(e))i=()=>At(e.useValue);else if(Dz(e))i=()=>e.useFactory(...Oh(e.deps||[]));else if(Ez(e))i=(o,n)=>ae(At(e.useExisting),n!==void 0&&n&8?8:void 0);else{let o=At(e&&(e.useClass||e.provide));if(Pz(e))i=()=>new o(...Oh(e.deps));else return Ko(o)||Nh(o)}return i}function es(e){if(e.destroyed)throw new L(-205,!1)}function Pn(e,t,r=!1){return{factory:e,value:t,multi:r?[]:void 0}}function Pz(e){return!!e.deps}function Nz(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function Mz(e){return typeof e=="function"||typeof e=="object"&&e.ngMetadataName==="InjectionToken"}function Mh(e,t){for(let r of e)Array.isArray(r)?Mh(r,t):r&&py(r)?Mh(r.\u0275providers,t):t(r)}function Fr(e,t){let r;e instanceof zf?(es(e),r=e):r=new bz(e);let i=Qi(r),o=Xt(void 0);try{return t()}finally{Qi(i),Xt(o)}}function Lz(){return my()!==void 0||$1()!=null}function ao(e){return Array.isArray(e)&&typeof e[By]=="object"}function vo(e){return Array.isArray(e)&&e[By]===!0}function Ey(e){return(e.flags&4)!==0}function cn(e){return e.componentOffset>-1}function Rf(e){return(e.flags&1)===1}function ii(e){return!!e.template}function pu(e){return(e[F]&512)!==0}function ya(e){return(e[F]&256)===256}function Yt(e){for(;Array.isArray(e);)e=e[zi];return e}function Ry(e,t){return Yt(t[e])}function ni(e,t){return Yt(t[e.index])}function Of(e,t){return e.data[t]}function Oy(e,t){return e[t]}function Pf(e,t,r,i){r>=e.data.length&&(e.data[r]=null,e.blueprint[r]=null),t[r]=i}function oi(e,t){let r=t[e];return ao(r)?r:r[zi]}function Nf(e){return(e[F]&128)===128}function Ii(e,t){return t==null?null:e[t]}function Py(e){e[Nn]=0}function Mf(e){e[F]&1024||(e[F]|=1024,Nf(e)&&wa(e))}function Uz(e,t){for(;e>0;)t=t[un],e--;return t}function ps(e){return!!(e[F]&9216||e[vr]?.dirty)}function Lh(e){e[ri].changeDetectionScheduler?.notify(8),e[F]&64&&(e[F]|=1024),ps(e)&&wa(e)}function wa(e){e[ri].changeDetectionScheduler?.notify(0);let t=Jo(e);for(;t!==null&&!(t[F]&8192||(t[F]|=8192,!Nf(t)));)t=Jo(t)}function Lf(e,t){if(ya(e))throw new L(911,!1);e[oo]===null&&(e[oo]=[]),e[oo].push(t)}function Vz(e,t){if(e[oo]===null)return;let r=e[oo].indexOf(t);r!==-1&&e[oo].splice(r,1)}function Jo(e){let t=e[qt];return vo(t)?t[qt]:t}function jz(e){return e[du]??=[]}function qz(e){return e.cleanup??=[]}function Gz(){return Z.lFrame.elementDepthCount}function Wz(){Z.lFrame.elementDepthCount++}function Ny(){Z.lFrame.elementDepthCount--}function Zz(){return Z.bindingsEnabled}function My(){return Z.skipHydrationRootTNode!==null}function Ly(e){return Z.skipHydrationRootTNode===e}function Fy(){Z.skipHydrationRootTNode=null}function Y(){return Z.lFrame.lView}function dt(){return Z.lFrame.tView}function fs(e){return Z.lFrame.contextLView=e,e[ot]}function vs(e){return Z.lFrame.contextLView=null,e}function $r(){let e=$y();for(;e!==null&&e.type===64;)e=e.parent;return e}function $y(){return Z.lFrame.currentTNode}function Kz(){let e=Z.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function Ca(e,t){let r=Z.lFrame;r.currentTNode=e,r.isParent=t}function Hy(){return Z.lFrame.isParent}function Uy(){Z.lFrame.isParent=!1}function Xz(){return Z.lFrame.contextLView}function Vy(){return Fh}function fu(e){let t=Fh;return Fh=e,t}function Yz(){let e=Z.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Qz(){return Z.lFrame.bindingIndex}function Jz(e){return Z.lFrame.bindingIndex=e}function _n(){return Z.lFrame.bindingIndex++}function jy(e){let t=Z.lFrame,r=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,r}function eR(){return Z.lFrame.inI18n}function tR(e,t){let r=Z.lFrame;r.bindingIndex=r.bindingRootIndex=e,$h(t)}function rR(){return Z.lFrame.currentDirectiveIndex}function $h(e){Z.lFrame.currentDirectiveIndex=e}function iR(e){let t=Z.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function qy(e){Z.lFrame.currentQueryIndex=e}function oR(e){let t=e[H];return t.type===2?t.declTNode:t.type===1?e[nr]:null}function Gy(e,t,r){if(r&4){let o=t,n=e;for(;(o=o.parent,o===null&&!(r&1))&&(o=oR(n),!(o===null||(n=n[un],o.type&10))););if(o===null)return!1;t=o,e=n}let i=Z.lFrame=Wy();return i.currentTNode=t,i.lView=e,!0}function Ff(e){let t=Wy(),r=e[H];Z.lFrame=t,t.currentTNode=r.firstChild,t.lView=e,t.tView=r,t.contextLView=e,t.bindingIndex=r.bindingStartIndex,t.inI18n=!1}function Wy(){let e=Z.lFrame,t=e===null?null:e.child;return t===null?Zy(e):t}function Zy(e){let t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return e!==null&&(e.child=t),t}function Ky(){let e=Z.lFrame;return Z.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}function $f(){let e=Ky();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function nR(e){return(Z.lFrame.contextLView=Uz(e,Z.lFrame.contextLView))[ot]}function Ri(){return Z.lFrame.selectedIndex}function en(e){Z.lFrame.selectedIndex=e}function lc(){let e=Z.lFrame;return Of(e.tView,e.selectedIndex)}function aR(){Z.lFrame.currentNamespace=zy}function Yy(){return Z.lFrame.currentNamespace}function Hf(){return Qy}function Uf(e){Qy=e}function Wm(e,t=null,r=null,i){let o=sR(e,t,r,i);return o.resolveInjectorInitializers(),o}function sR(e,t=null,r=null,i,o=new Set){return new zf([r||hr,Az(e)],t||nc(),null,o)}function lR(){return new ew(Y())}function vu(...e){}function tw(e){let t,r;function i(){e=vu;try{r!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(r),t!==void 0&&clearTimeout(t)}catch{}}return t=setTimeout(()=>{e(),i()}),typeof requestAnimationFrame=="function"&&(r=requestAnimationFrame(()=>{e(),i()})),()=>i()}function dR(e){return queueMicrotask(()=>e()),()=>{e=vu}}function jf(e){if(e._nesting==0&&!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 fR(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function t(){tw(()=>{e.callbackScheduled=!1,Uh(e),e.isCheckStableRunning=!0,jf(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),Uh(e)}function vR(e){let t=()=>{fR(e)},r=hR++;e._inner=e._inner.fork({name:"angular",properties:{[Vf]:!0,[gu]:r,[gu+r]:!0},onInvokeTask:(i,o,n,a,s,l)=>{if(mR(l))return i.invokeTask(n,a,s,l);try{return Zm(e),i.invokeTask(n,a,s,l)}finally{(e.shouldCoalesceEventChangeDetection&&a.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),Km(e)}},onInvoke:(i,o,n,a,s,l,u)=>{try{return Zm(e),i.invoke(n,a,s,l,u)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!bR(l)&&t(),Km(e)}},onHasTask:(i,o,n,a)=>{i.hasTask(n,a),o===n&&(a.change=="microTask"?(e._hasPendingMicrotasks=a.microTask,Uh(e),jf(e)):a.change=="macroTask"&&(e.hasPendingMacrotasks=a.macroTask))},onHandleError:(i,o,n,a)=>(i.handleError(n,a),e.runOutsideAngular(()=>e.onError.emit(a)),!1)})}function Uh(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function Zm(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Km(e){e._nesting--,jf(e)}function mR(e){return rw(e,"__ignore_ng_zone__")}function bR(e){return rw(e,"__scheduler_tick__")}function rw(e,t){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[t]===!0}function yR(e){return wR(e)?e:new CR(e)}function wR(e){return e instanceof Error||typeof e=="object"&&e!==null&&typeof e.name=="string"&&typeof e.message=="string"}function Kr(e,t){let[r,i,o]=K7(e,t?.equal),n=r;return n[Qt],n.set=i,n.update=o,n.asReadonly=iw.bind(n),n}function iw(){let e=this[Qt];if(e.readonlyFn===void 0){let t=()=>this();t[Qt]=e,e.readonlyFn=t}return e.readonlyFn}function kR(){return new qf(Y(),$r())}function br(e,t){let r=t?.injector??S(ht),i=t?.manualCleanup!==!0?r.get(si):null,o,n=r.get(qf,null,{optional:!0}),a=r.get(Sa);return n!==null?(o=DR(n.view,a,e),i instanceof ew&&i._lView===n.view&&(i=null)):o=zR(e,r.get(lw),a),o.injector=r,i!==null&&(o.onDestroyFns=[i.onDestroy(()=>o.destroy())]),new AR(o)}function DR(e,t,r){let i=Object.create(ER);return i.view=e,i.zone=typeof Zone<"u"?Zone.current:null,i.notifier=t,i.userFn=r,i.fn=cw(i,r),e[no]??=new Set,e[no].add(i),i.consumerMarkedDirty(i),i}function zR(e,t,r){let i=Object.create(BR);return i.userFn=e,i.fn=cw(i,e),i.scheduler=t,i.notifier=r,i.zone=typeof Zone<"u"?Zone.current:null,i.scheduler.add(i),i.notifier.notify(12),i}function cw(e,t){return()=>{t(r=>(e.cleanupFns??=[]).push(r))}}function RR(e){return typeof e=="function"&&e[Qt]!==void 0}function uc(e){return{toString:e}.toString()}function _w(e,t,r,i){t!==null?t.applyValueToInputSignal(t,i):e[r]=i}function MR(){return dw}function Xm(e){return e.type.prototype.ngOnChanges&&(e.setInput=FR),LR}function LR(){let e=hw(this),t=e?.current;if(t){let r=e.previous;if(r===Xo)e.previous=t;else for(let i in t)r[i]=t[i];e.current=null,this.ngOnChanges(t)}}function FR(e,t,r,i,o){let n=this.declaredInputs[i],a=hw(e)||$R(e,{previous:Xo,current:null}),s=a.current||(a.current={}),l=a.previous,u=l[n];s[n]=new NR(u&&u.currentValue,r,l===Xo),_w(e,t,o,r)}function hw(e){return Object.hasOwn(e,Vh)&&e[Vh]||null}function $R(e,t){return e[Vh]=t}function HR(e,t,r){let{ngOnChanges:i,ngOnInit:o,ngDoCheck:n}=t.type.prototype;if(i){let a=MR()(t);(r.preOrderHooks??=[]).push(e,a),(r.preOrderCheckHooks??=[]).push(e,a)}o&&(r.preOrderHooks??=[]).push(0-e,o),n&&((r.preOrderHooks??=[]).push(e,n),(r.preOrderCheckHooks??=[]).push(e,n))}function UR(e,t){for(let r=t.directiveStart,i=t.directiveEnd;r<i;r++){let{ngAfterContentInit:o,ngAfterContentChecked:n,ngAfterViewInit:a,ngAfterViewChecked:s,ngOnDestroy:l}=e.data[r].type.prototype;o&&(e.contentHooks??=[]).push(-r,o),n&&((e.contentHooks??=[]).push(r,n),(e.contentCheckHooks??=[]).push(r,n)),a&&(e.viewHooks??=[]).push(-r,a),s&&((e.viewHooks??=[]).push(r,s),(e.viewCheckHooks??=[]).push(r,s)),l!=null&&(e.destroyHooks??=[]).push(r,l)}}function jl(e,t,r){pw(e,t,3,r)}function ql(e,t,r,i){(e[F]&3)===r&&pw(e,t,r,i)}function sd(e,t){let r=e[F];(r&3)===t&&(r&=16383,r+=1,e[F]=r)}function pw(e,t,r,i){let o=i!==void 0?e[Nn]&65535:0,n=i??-1,a=t.length-1,s=0;for(let l=o;l<a;l++)if(typeof t[l+1]=="number"){if(s=t[l],i!=null&&s>=i)break}else t[l]<0&&(e[Nn]+=65536),(s<n||n==-1)&&(VR(e,r,t,l),e[Nn]=(e[Nn]&4294901760)+l+2),l++}function Qm(e,t){ve(ce.LifecycleHookStart,e,t);let r=M(null);try{t.call(e)}finally{M(r),ve(ce.LifecycleHookEnd,e,t)}}function VR(e,t,r,i){let o=r[i]<0,n=r[i+1],a=e[o?-r[i]:r[i]];o?e[F]>>14<e[Nn]>>16&&(e[F]&3)===t&&(e[F]+=16384,Qm(a,n)):Qm(a,n)}function jR(e){return(e.flags&8)!==0}function qR(e){return(e.flags&16)!==0}function GR(e,t,r){let i=0;for(;i<r.length;){let o=r[i];if(typeof o=="number"){if(o!==0)break;i++;let n=r[i++],a=r[i++],s=r[i++];e.setAttribute(t,a,s,n)}else{let n=o,a=r[++i];ZR(n)?e.setProperty(t,n,a):e.setAttribute(t,n,a),i++}}return i}function WR(e){return e===3||e===4||e===6}function ZR(e){return e.charCodeAt(0)===64}function ca(e,t){if(!(t===null||t.length===0))if(e===null||e.length===0)e=t.slice();else{let r=-1;for(let i=0;i<t.length;i++){let o=t[i];typeof o=="number"?r=o:r===0||(r===-1||r===2?Jm(e,r,o,null,t[++i]):Jm(e,r,o,null,null))}}return e}function Jm(e,t,r,i,o){let n=0,a=e.length;if(t===-1)a=-1;else for(;n<e.length;){let s=e[n++];if(typeof s=="number"){if(s===t){a=-1;break}else if(s>t){a=n-1;break}}}for(;n<e.length;){let s=e[n];if(typeof s=="number")break;if(s===r){o!==null&&(e[n+1]=o);return}n++,o!==null&&n++}a!==-1&&(e.splice(a,0,t),n=a+1),e.splice(n++,0,r),o!==null&&e.splice(n++,0,o)}function KR(e){return e!==qn}function jh(e){return e&32767}function XR(e){return e>>16}function qh(e,t){let r=XR(e),i=t;for(;r>0;)i=i[un],r--;return i}function mu(e){let t=Gh;return Gh=e,t}function QR(e,t,r){let i;typeof r=="string"?i=r.charCodeAt(0)||0:Object.hasOwn(r,ns)&&(i=r[ns]),i??=r[ns]=YR++;let o=i&fw,n=1<<o;t.data[e+(o>>vw)]|=n}function bu(e,t){let r=gw(e,t);if(r!==-1)return r;let i=t[H];i.firstCreatePass&&(e.injectorIndex=t.length,ld(i.data,e),ld(t,null),ld(i.blueprint,null));let o=mw(e,t),n=e.injectorIndex;if(KR(o)){let a=jh(o),s=qh(o,t),l=s[H].data;for(let u=0;u<8;u++)t[n+u]=s[a+u]|l[a+u]}return t[n+8]=o,n}function ld(e,t){e.push(0,0,0,0,0,0,0,0,t)}function gw(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function mw(e,t){if(e.parent&&e.parent.injectorIndex!==-1)return e.parent.injectorIndex;let r=0,i=null,o=t;for(;o!==null;){if(i=Sw(o),i===null)return qn;if(r++,o=o[un],i.injectorIndex!==-1)return i.injectorIndex|r<<16}return qn}function Wh(e,t,r){QR(e,t,r)}function bw(e,t,r){if(r&8||e!==void 0)return e;kf(t,"NodeInjector")}function yw(e,t,r,i){if(r&8&&i===void 0&&(i=null),(r&3)===0){let o=e[Qo],n=Xt(void 0);try{return o?o.get(t,i,r&8):by(t,i,r&8)}finally{Xt(n)}}return bw(i,t,r)}function ww(e,t,r,i=0,o){if(e!==null){if(t[F]&2048&&!(i&2)){let a=i6(e,t,r,i,Xr);if(a!==Xr)return a}let n=Cw(e,t,r,i,Xr);if(n!==Xr)return n}return yw(t,r,i,o)}function Cw(e,t,r,i,o){let n=t6(r);if(typeof n=="function"){if(!Gy(t,e,i))return i&1?bw(o,r,i):yw(t,r,i,o);try{let a;if(a=n(i),a==null&&!(i&8))kf(r);else return a}finally{Xy()}}else if(typeof n=="number"){let a=null,s=gw(e,t),l=qn,u=i&1?t[Jt][nr]:null;for((s===-1||i&4)&&(l=s===-1?mw(e,t):t[s+8],l===qn||!t5(i,!1)?s=-1:(a=t[H],s=jh(l),t=qh(l,t)));s!==-1;){let _=t[H];if(e5(n,s,_.data)){let c=JR(s,t,r,a,i,u);if(c!==Xr)return c}l=t[s+8],l!==qn&&t5(i,t[H].data[s+8]===u)&&e5(n,s,t)?(a=_,s=jh(l),t=qh(l,t)):s=-1}}return o}function JR(e,t,r,i,o,n){let a=t[H],s=a.data[e+8],l=e6(s,a,r,i==null?cn(s)&&Gh:i!=a&&(s.type&3)!==0,o&1&&n===s);return l!==null?yu(t,a,l,s,o):Xr}function e6(e,t,r,i,o){let n=e.providerIndexes,a=t.data,s=n&1048575,l=e.directiveStart,u=e.directiveEnd,_=n>>20,c=i?s:s+_,h=o?s+_:u;for(let d=c;d<h;d++){let b=a[d];if(d<l&&r===b||d>=l&&b.type===r)return d}if(o){let d=a[l];if(d&&ii(d)&&d.type===r)return l}return null}function yu(e,t,r,i,o){let n=e[r],a=t.data;if(n instanceof Rs){let s=n;if(s.resolving)throw vy("");let l=mu(s.canSeeViewProviders);s.resolving=!0,a[r].type||a[r];let u=s.injectImpl?Xt(s.injectImpl):null;Gy(e,i,0);try{n=e[r]=s.factory(void 0,o,a,e,i),t.firstCreatePass&&r>=i.directiveStart&&HR(r,a[r],t)}finally{u!==null&&Xt(u),mu(l),s.resolving=!1,Xy()}}return n}function t6(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=Object.hasOwn(e,ns)?e[ns]:void 0;return typeof t=="number"?t>=0?t&fw:r6:t}function e5(e,t,r){let i=1<<e;return!!(r[t+(e>>vw)]&i)}function t5(e,t){return!(e&2)&&!(e&1&&t)}function r6(){return new xw($r(),Y())}function Kf(e){return uc(()=>{let t=e.prototype.constructor,r=t[_u]||Zh(t),i=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==i;){let n=o[_u]||Zh(o);if(n&&n!==r)return n;o=Object.getPrototypeOf(o)}return n=>new n})}function Zh(e){return _y(e)?()=>{let t=Zh(At(e));return t&&t()}:Ko(e)}function i6(e,t,r,i,o){let n=e,a=t;for(;n!==null&&a!==null&&a[F]&2048&&!pu(a);){let s=Cw(n,a,r,i|2,Xr);if(s!==Xr)return s;i&=-5;let l=n.parent;if(!l){let u=a[Iy];if(u){let _=u.get(r,Xr,i);if(_!==Xr)return _}l=Sw(a),a=a[un]}n=l}return o}function Sw(e){let t=e[H],r=t.type;return r===2?t.declTNode:r===1?e[nr]:null}function Os(e){return{token:e.token,providedIn:e.autoProvided===!1?null:"root",factory:e.factory,value:void 0}}function o6(){return kw($r(),Y())}function kw(e,t){return new er(ni(e,t))}function Tw(e){return(e.flags&128)===128}function a6(){return n6++}function s6(e){Aw.set(e[ac],e)}function Kh(e){Aw.delete(e[ac])}function _a(e,t){ao(t)?(e[r5]=t[ac],s6(t)):e[r5]=t}function Bw(e){return Dw(e[hs])}function Ew(e){return Dw(e[Or])}function Dw(e){for(;e!==null&&!vo(e);)e=e[Or];return e}function l6(e){Xh=e}function u6(){if(Xh!==void 0)return Xh;if(typeof document<"u")return document;throw new L(210,!1)}function h6(e,t){if(e==null||typeof e!="object")return;let r=i5.get(e);r||(r=new WeakSet,i5.set(e,r)),r.add(t)}function Xf(e){return(e.flags&32)===32}function Rw(e,t,r=!1){return p6(e,t,r)}function Ow(e,t){let r=e.contentQueries;if(r!==null){let i=M(null);try{for(let o=0;o<r.length;o+=2){let n=r[o],a=r[o+1];if(a!==-1){let s=e.data[a];qy(n),s.contentQueries(2,t[a],a)}}}finally{M(i)}}}function Yh(e,t,r){qy(0);let i=M(null);try{t(e,r)}finally{M(i)}}function Pw(e,t,r){if(Ey(t)){let i=M(null);try{let o=t.directiveStart,n=t.directiveEnd;for(let a=o;a<n;a++){let s=e.data[a];if(s.contentQueries){let l=r[a];s.contentQueries(1,l,a)}}}finally{M(i)}}}function Qh(e){return e instanceof Nw?e.changingThisBreaksApplicationSecurity:e}function f6(e,t){let r=v6(e);if(r!=null&&r!==t){if(r==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${r} (see ${ly})`)}return r===t}function v6(e){return e instanceof Nw&&e.getTypeName()||null}function m6(e){return e=String(e),e.match(g6)?e:"unsafe:"+e}function b6(e,t){return e.createText(t)}function y6(e,t,r){e.setValue(t,r)}function Mw(e,t,r){return e.createElement(t,r)}function Gn(e,t,r,i,o){e.insertBefore(t,r,i,o)}function Lw(e,t,r){e.appendChild(t,r)}function o5(e,t,r,i,o){i!==null?Gn(e,t,r,i,o):Lw(e,t,r)}function Fw(e,t,r,i){e.removeChild(null,t,r,i)}function w6(e,t,r){e.setAttribute(t,"style",r)}function C6(e,t,r){r===""?e.removeAttribute(t,"class"):e.setAttribute(t,"class",r)}function $w(e,t,r){let{mergedAttrs:i,classes:o,styles:n}=r;i!==null&&GR(e,t,i),o!==null&&C6(e,t,o),n!==null&&w6(e,t,n)}function Hw(e){let t=x6();return t?t.sanitize(Dy.URL,e)||"":f6(e,"URL")?Qh(e):m6(na(e))}function x6(){let e=Y();return e&&e[ri].sanitizer}function S6(e,t,r){let i=e.length;for(;;){let o=e.indexOf(t,r);if(o===-1)return o;if(o===0||e.charCodeAt(o-1)<=32){let n=t.length;if(o+n===i||e.charCodeAt(o+n)<=32)return o}r=o+1}}function k6(e,t,r,i){let o=0;if(i){for(;o<t.length&&typeof t[o]=="string";o+=2)if(t[o]==="class"&&S6(t[o+1].toLowerCase(),r,0)!==-1)return!0}else if(Yf(e))return!1;if(o=t.indexOf(1,o),o>-1){let n;for(;++o<t.length&&typeof(n=t[o])=="string";)if(n.toLowerCase()===r)return!0}return!1}function Yf(e){return e.type===4&&e.value!==Uw}function T6(e,t,r){return t===(e.type===4&&!r?Uw:e.value)}function I6(e,t,r){let i=4,o=e.attrs,n=o!==null?E6(o):0,a=!1;for(let s=0;s<t.length;s++){let l=t[s];if(typeof l=="number"){if(!a&&!zr(i)&&!zr(l))return!1;if(a&&zr(l))continue;a=!1,i=l|i&1;continue}if(!a)if(i&4){if(i=2|i&1,l!==""&&!T6(e,l,r)||l===""&&t.length===1){if(zr(i))return!1;a=!0}}else if(i&8){if(o===null||!k6(e,o,l,r)){if(zr(i))return!1;a=!0}}else{let u=t[++s],_=A6(l,o,Yf(e),r);if(_===-1){if(zr(i))return!1;a=!0;continue}if(u!==""){let c;if(_>n?c="":c=o[_+1].toLowerCase(),i&2&&u!==c){if(zr(i))return!1;a=!0}}}}return zr(i)||a}function zr(e){return(e&1)===0}function A6(e,t,r,i){if(t===null)return-1;let o=0;if(i||!r){let n=!1;for(;o<t.length;){let a=t[o];if(a===e)return o;if(a===3||a===6)n=!0;else if(a===1||a===2){let s=t[++o];for(;typeof s=="string";)s=t[++o];continue}else{if(a===4)break;if(a===0){o+=4;continue}}o+=n?1:2}return-1}else return D6(t,e)}function Vw(e,t,r=!1){for(let i=0;i<t.length;i++)if(I6(e,t[i],r))return!0;return!1}function B6(e){let t=e.attrs;if(t!=null){let r=t.indexOf(5);if((r&1)===0)return t[r+1]}return null}function E6(e){for(let t=0;t<e.length;t++){let r=e[t];if(WR(r))return t}return e.length}function D6(e,t){let r=e.indexOf(4);if(r>-1)for(r++;r<e.length;){let i=e[r];if(typeof i=="number")return-1;if(i===t)return r;r++}return-1}function z6(e,t){e:for(let r=0;r<t.length;r++){let i=t[r];if(e.length===i.length){for(let o=0;o<e.length;o++)if(e[o]!==i[o])continue e;return!0}}return!1}function n5(e,t){return e?":not("+t.trim()+")":t}function R6(e){let t=e[0],r=1,i=2,o="",n=!1;for(;r<e.length;){let a=e[r];if(typeof a=="string")if(i&2){let s=e[++r];o+="["+a+(s.length>0?'="'+s+'"':"")+"]"}else i&8?o+="."+a:i&4&&(o+=" "+a);else o!==""&&!zr(a)&&(t+=n5(n,o),o=""),i=a,n=n||!zr(i);r++}return o!==""&&(t+=n5(n,o)),t}function O6(e){return e.map(R6).join(",")}function P6(e){let t=[],r=[],i=1,o=2;for(;i<e.length;){let n=e[i];if(typeof n=="string")o===2?n!==""&&t.push(n,e[++i]):o===8&&r.push(n);else{if(!zr(o))break;o=n}i++}return r.length&&t.push(1,...r),t}function Qf(e,t){return N6(e,t)}function jw(e){return e?e[un]??e:null}function L6(e,t,r){let i=Jh.get(e);if(!i||i.length===0)return;let o=t.parentNode,n=t.previousSibling,a=jw(r);for(let s=i.length-1;s>=0;s--){let{el:l,declarationView:u}=i[s],_=l.parentNode;l===t?(i.splice(s,1),zn.add(l),l.dispatchEvent(new CustomEvent("animationend",{detail:{cancel:!0}}))):n&&l===n?(i.splice(s,1),l.dispatchEvent(new CustomEvent("animationend",{detail:{cancel:!0}})),l.parentNode?.removeChild(l)):_&&o&&_!==o&&(a===null||u===null||a===u)&&(i.splice(s,1),l.dispatchEvent(new CustomEvent("animationend",{detail:{cancel:!0}})),l.parentNode?.removeChild(l))}}function F6(e,t,r){let i=jw(r),o=Jh.get(e);o?o.some(n=>n.el===t)||o.push({el:t,declarationView:i}):Jh.set(e,[{el:t,declarationView:i}])}function Oi(e){a5.has(e)||(a5.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}function V6(e,t){let r=t?.injector??S(ht);return Oi("NgAfterNextRender"),q6(e,r,t,!0)}function j6(e){return e instanceof Function?[void 0,void 0,e,void 0]:[e.earlyRead,e.write,e.mixedReadWrite,e.read]}function q6(e,t,r,i){let o=t.get(qw);o.impl??=t.get(H6);let n=t.get(ka,null,{optional:!0}),a=r?.manualCleanup!==!0?t.get(si):null,s=t.get(qf,null,{optional:!0}),l=new U6(o.impl,j6(e),s?.view,i,a,n?.snapshot(null));return o.impl.register(l),l}function s5(e,t,r,i){ep?.maybeQueueEnterAnimation(e,t,r,i)}function l5(e,t,r,i){ep===null?i(!1):ep.runLeaveAnimationsWithCallback(e,t,r,i)}function G6(e){Gw?.initViewDetachAnimations(e)}function W6(e){Gw?.clearViewDetachAnimations(e)}function Mn(e,t,r,i,o,n,a,s){if(o!=null){let l,u=!1;vo(o)?l=o:ao(o)&&(u=!0,o=o[zi]);let _=Yt(o);e===0&&i!==null?(s5(s,i,n,r),a==null?Lw(t,i,_):Gn(t,i,_,a||null,!0)):e===1&&i!==null?(Gn(t,i,_,a||null,!0),L6(n,_,s),zn.has(_)||s5(s,i,n,r)):e===2?(s?.[Fz]?.leave?.has(n.index)&&F6(n,_,s),zn.delete(_),l5(s,n,r,c=>{if(zn.has(_)){zn.delete(_);return}Fw(t,_,u,c)})):e===3&&(zn.delete(_),l5(s,n,r,()=>{t.destroyNode(_)})),l!=null&&o8(t,e,r,l,n,i,a)}}function Z6(e,t){Ww(e,t),t[zi]=null,t[nr]=null}function K6(e,t,r,i,o,n){i[zi]=o,i[nr]=t,cc(e,i,r,1,o,n)}function Ww(e,t){t[ri].changeDetectionScheduler?.notify(9),cc(e,t,t[Ke],2,null,null)}function X6(e){let t=e[hs];if(!t)return ud(e[H],e);for(;t;){let r=null;if(ao(t))r=t[hs];else{let i=t[wt];i&&(r=i)}if(!r){for(;t&&!t[Or]&&t!==e;)ao(t)&&ud(t[H],t),t=t[qt];t===null&&(t=e),ao(t)&&ud(t[H],t),r=t&&t[Or]}t=r}}function ev(e,t){let r=e[hu],i=r.indexOf(t);r.splice(i,1)}function tv(e,t){if(ya(t))return;let r=t[Ke];r.destroyNode&&cc(e,t,r,3,null,null),X6(t)}function ud(e,t){if(ya(t))return;let r=M(null);try{t[F]&=-129,t[F]|=256,t[vr]&&ic(t[vr]),Q6(e,t),Y6(e,t),t[H].type===1&&t[Ke].destroy();let i=t[la];if(i!==null&&vo(t[qt])){i!==t[qt]&&ev(i,t);let o=t[ua];o!==null&&o.detachView(e)}Kh(t)}finally{M(r)}}function Y6(e,t){let r=e.cleanup,i=t[du];if(r!==null)for(let a=0;a<r.length-1;a+=2)if(typeof r[a]=="string"){let s=r[a+3];s>=0?i[s]():i[-s].unsubscribe(),a+=2}else{let s=i[r[a+1]];r[a].call(s)}i!==null&&(t[du]=null);let o=t[oo];if(o!==null){t[oo]=null;for(let a=0;a<o.length;a++){let s=o[a];s()}}let n=t[no];if(n!==null){t[no]=null;for(let a of n)a.destroy()}}function Q6(e,t){let r;if(e!=null&&(r=e.destroyHooks)!=null)for(let i=0;i<r.length;i+=2){let o=t[r[i]];if(!(o instanceof Rs)){let n=r[i+1];if(Array.isArray(n))for(let a=0;a<n.length;a+=2){let s=o[n[a]],l=n[a+1];ve(ce.LifecycleHookStart,s,l);try{l.call(s)}finally{ve(ce.LifecycleHookEnd,s,l)}}else{ve(ce.LifecycleHookStart,o,n);try{n.call(o)}finally{ve(ce.LifecycleHookEnd,o,n)}}}}}function Zw(e,t,r){if(t===null)throw new L(510,!1);return J6(e,t.parent,r)}function J6(e,t,r){let i=t;for(;i!==null&&i.type&168;)t=i,i=t.parent;if(i===null)return r[zi];if(cn(i)){let{encapsulation:o}=e.data[i.directiveStart+i.componentOffset];if(o===xi.None||o===xi.Emulated)return null}return ni(i,r)}function Kw(e,t,r){return t8(e,t,r)}function e8(e,t,r){return e.type&40?ni(e,r):null}function rv(e,t,r,i){let o=Zw(e,i,t),n=t[Ke],a=Kw(i.parent||t[nr],i,t);if(o!=null)if(Array.isArray(r))for(let s=0;s<r.length;s++)o5(n,o,r[s],a,!1);else o5(n,o,r,a,!1)}function ts(e,t){if(t!==null){let r=t.type;if(r&3)return ni(t,e);if(r&4)return tp(-1,e[t.index]);if(r&8){let i=t.child;if(i!==null)return ts(e,i);{let o=e[t.index];return vo(o)?tp(-1,o):Yt(o)}}else{if(r&128)return ts(e,t.next);if(r&32)return Qf(t,e)()||Yt(e[t.index]);{let i=Xw(e,t);return i!==null?Array.isArray(i)?i[0]:ts(Jo(e[Jt]),i):ts(e,t.next)}}}return null}function Xw(e,t){if(t!==null){let r=e[Jt][nr],i=t.projection;return r.projection[i]}return null}function tp(e,t){let r=wt+e+1;if(r<t.length){let i=t[r],o=i[H].firstChild;if(o!==null)return ts(i,o)}return t[sc]}function iv(e,t,r,i,o,n,a){for(;r!=null;){let s=i[Qo];if(r.type===128){r=r.next;continue}let l=i[r.index],u=r.type;if(a&&t===0&&(l&&_a(Yt(l),i),r.flags|=2),!Xf(r))if(u&8)iv(e,t,r.child,i,o,n,!1),Mn(t,e,s,o,l,r,n,i);else if(u&32){let _=Qf(r,i),c;for(;c=_();)Mn(t,e,s,o,c,r,n,i);Mn(t,e,s,o,l,r,n,i)}else u&16?Yw(e,t,i,r,o,n):Mn(t,e,s,o,l,r,n,i);r=a?r.projectionNext:r.next}}function cc(e,t,r,i,o,n){e.type===3?r8(r,i,t,o,n):iv(r,i,e.firstChild,t,o,n,!1)}function r8(e,t,r,i,o){let n=r[H].firstChild,a=n.next,s=Yt(r[n.index]),l=Yt(r[a.index]),u=a.index+1,_=r[u];if(t===1||t===0)i!==null&&(_&&_.hasChildNodes()?Gn(e,i,_,o,!0):(Gn(e,i,s,o,!0),Gn(e,i,l,o,!0)));else if(t===2){if(_||(_=document.createDocumentFragment(),r[u]=_),s&&s.parentNode===_)return;let c=s;for(;c!==null;){let h=c.nextSibling;if(_.appendChild(c),c===l)break;c=h}}}function i8(e,t,r){let i=t[Ke];Yw(i,0,t,r,Zw(e,r,t),Kw(r.parent||t[nr],r,t))}function Yw(e,t,r,i,o,n){let a=r[Jt],s=a[nr].projection[i.projection];if(Array.isArray(s))for(let l=0;l<s.length;l++){let u=s[l];Mn(t,e,r[Qo],o,u,i,n,r)}else{let l=s,u=a[qt];Tw(i)&&(l.flags|=128),iv(e,t,l,u,o,n,!0)}}function o8(e,t,r,i,o,n,a){let s=i[sc];if(s!==Yt(i)&&Mn(t,e,r,n,s,o,a),(i[F]&4)===0)for(let l=wt;l<i.length;l++){let u=i[l];cc(u[H],u,e,t,n,s)}}function n8(e,t,r,i,o){if(t)o?e.addClass(r,i):e.removeClass(r,i);else{let n=i.indexOf("-")===-1?void 0:Uo.DashCase;o==null?e.removeStyle(r,i,n):(typeof o=="string"&&o.endsWith("!important")&&(o=o.slice(0,-10),n|=Uo.Important),e.setStyle(r,i,o,n))}}function ov(e,t,r,i,o,n,a,s,l,u,_){let c=Xe+i,h=c+o,d=a8(c,h),b=typeof u=="function"?u():u;return d[H]={type:e,blueprint:d,template:r,queries:null,viewQuery:s,declTNode:t,data:d.slice().fill(null,c),bindingStartIndex:c,expandoStartIndex:h,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:typeof n=="function"?n():n,pipeRegistry:typeof a=="function"?a():a,firstChild:null,schemas:l,consts:b,incompleteFirstPass:!1,ssrId:_}}function a8(e,t){let r=[];for(let i=0;i<t;i++)r.push(i<e?null:yr);return r}function s8(e){let t=e.tView;return t===null||t.incompleteFirstPass?e.tView=ov(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function nv(e,t,r,i,o,n,a,s,l,u,_){let c=t.blueprint.slice();return c[zi]=o,c[F]=i|1228,(u!==null||e&&e[F]&2048)&&(c[F]|=2048),Py(c),c[qt]=c[un]=e,c[ot]=r,c[ri]=a||e&&e[ri],c[Ke]=s||e&&e[Ke],c[Qo]=l||e&&e[Qo]||null,c[nr]=n,c[ac]=a6(),c[sa]=_,c[Iy]=u,c[Jt]=t.type==2?e[Jt]:c,c}function l8(e,t,r){let i=ni(t,e),o=s8(r),n=e[ri].rendererFactory,a=eC(e,nv(e,o,null,Qw(r),i,t,null,n.createRenderer(i,r),null,null,null));return e[t.index]=a}function Qw(e){let t=16;return e.signals?t=4096:e.onPush&&(t=64),t}function Jw(e,t,r,i){if(r===0)return-1;let o=t.length;for(let n=0;n<r;n++)t.push(i),e.blueprint.push(i),e.data.push(null);return o}function eC(e,t){return e[hs]?e[qm][Or]=t:e[hs]=t,e[qm]=t,t}function P(e=1){tC(dt(),Y(),Ri()+e,!1)}function tC(e,t,r,i){if(!i)if((t[F]&3)===3){let o=e.preOrderCheckHooks;o!==null&&jl(t,o,r)}else{let o=e.preOrderHooks;o!==null&&ql(t,o,0,r)}en(r)}function tn(e,t,r,i){let o=M(null);try{let[n,a,s]=e.inputs[r],l=null;(a&Ps.SignalBased)!==0&&(l=t[n][Qt]),l!==null&&l.transformFn!==void 0?i=l.transformFn(i):s!==null&&(i=s.call(t,i)),e.setInput!==null?e.setInput(t,l,i,r,n):_w(t,l,n,i)}finally{M(o)}}function rC(e,t,r,i,o){let n=Ri(),a=i&2;try{en(-1),a&&t.length>Xe&&tC(e,t,Xe,!1),ve(a?ce.TemplateUpdateStart:ce.TemplateCreateStart,o,r),r(i,o)}finally{en(n),ve(a?ce.TemplateUpdateEnd:ce.TemplateCreateEnd,o,r)}}function iC(e,t,r){h8(e,t,r),(r.flags&64)===64&&p8(e,t,r)}function av(e,t,r=ni){let i=t.localNames;if(i!==null){let o=t.index+1;for(let n=0;n<i.length;n+=2){let a=i[n+1],s=a===-1?r(t,e):e[a];e[o++]=s}}}function u8(e,t,r,i){let o=i.get(d6,zw)||r===xi.ShadowDom||r===xi.ExperimentalIsolatedShadowDom;return e.selectRootElement(t,o)}function c8(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function _8(e,t,r,i,o,n){let a=t[H];if(sv(e,a,t,r,i)){cn(e)&&d8(t,e.index);return}e.type&3&&(r=c8(r)),oC(e,t,r,i,o,n)}function oC(e,t,r,i,o,n){if(e.type&3){let a=ni(e,t);i=n!=null?n(i,e.value||"",r):i,o.setProperty(a,r,i)}else e.type&12}function d8(e,t){let r=oi(t,e);r[F]&16||(r[F]|=64)}function h8(e,t,r){let i=r.directiveStart,o=r.directiveEnd;cn(r)&&l8(t,r,e.data[i+r.componentOffset]),e.firstCreatePass||bu(r,t);let n=r.initialInputs;for(let a=i;a<o;a++){let s=e.data[a],l=yu(t,e,a,r);if(_a(l,t),n!==null&&b8(t,a-i,l,s,r,n),ii(s)){let u=oi(r.index,t);u[ot]=yu(t,e,a,r)}}}function p8(e,t,r){let i=r.directiveStart,o=r.directiveEnd,n=r.index,a=rR();try{en(n);for(let s=i;s<o;s++){let l=e.data[s],u=t[s];$h(s),(l.hostBindings!==null||l.hostVars!==0||l.hostAttrs!==null)&&f8(l,u)}}finally{en(-1),$h(a)}}function f8(e,t){e.hostBindings!==null&&e.hostBindings(1,t)}function v8(e,t){let r=e.directiveRegistry,i=null;if(r)for(let o=0;o<r.length;o++){let n=r[o];Vw(t,n.selectors,!1)&&(i??=[],ii(n)?i.unshift(n):i.push(n))}return i}function g8(e,t,r,i,o,n){let a=ni(e,t);m8(t[Ke],a,n,e.value,r,i,o)}function m8(e,t,r,i,o,n,a){if(n==null)a?.(n,i||"",o),e.removeAttribute(t,o,r);else{let s=a==null?na(n):a(n,i||"",o);e.setAttribute(t,o,s,r)}}function b8(e,t,r,i,o,n){let a=n[t];if(a!==null)for(let s=0;s<a.length;s+=2){let l=a[s],u=a[s+1];tn(i,r,l,u)}}function nC(e,t,r,i,o){let n=Xe+r,a=t[H],s=o(a,t,e,i,r);t[n]=s,Ca(e,!0);let l=e.type===2;return l?($w(t[Ke],s,e),(Gz()===0||Rf(e))&&_a(s,t),Wz()):_a(s,t),Hf()&&(!l||!Xf(e))&&rv(a,t,s,e),e}function aC(e){let t=e;return Hy()?Uy():(t=t.parent,Ca(t,!1)),t}function y8(e,t){let r=e[Qo];if(!r)return;let i;try{i=r.get(zs,null)}catch{i=null}i?.(t)}function sv(e,t,r,i,o){let n=e.inputs?.[i],a=e.hostDirectiveInputs?.[i],s=!1;if(a)for(let l=0;l<a.length;l+=2){let u=a[l],_=a[l+1],c=t.data[u];tn(c,r[u],_,o),s=!0}if(n)for(let l of n){let u=r[l],_=t.data[l];tn(_,u,i,o),s=!0}return s}function w8(e,t,r,i,o,n){let a=null,s=null,l=null,u=!1,_=e.directiveToIndex.get(i.type);if(typeof _=="number"?a=_:[a,s,l]=_,s!==null&&l!==null&&e.hostDirectiveInputs&&Object.hasOwn(e.hostDirectiveInputs,o)){let c=e.hostDirectiveInputs[o];for(let h=0;h<c.length;h+=2){let d=c[h];if(d>=s&&d<=l){let b=t.data[d],w=c[h+1];tn(b,r[d],w,n),u=!0}else if(d>l)break}}return a!==null&&Object.hasOwn(i.inputs,o)&&(tn(i,r[a],o,n),u=!0),u}function C8(e,t){let r=oi(t,e),i=r[H];x8(i,r);let o=r[zi];o!==null&&r[sa]===null&&(r[sa]=Rw(o,r[Qo])),ve(ce.ComponentStart);try{lv(i,r,r[ot])}finally{ve(ce.ComponentEnd,r[ot])}}function x8(e,t){for(let r=t.length;r<e.blueprint.length;r++)t.push(e.blueprint[r])}function lv(e,t,r){Ff(t);try{let i=e.viewQuery;i!==null&&Yh(1,i,r);let o=e.template;o!==null&&rC(e,t,o,1,r),e.firstCreatePass&&(e.firstCreatePass=!1),t[ua]?.finishViewCreation(e),e.staticContentQueries&&Ow(e,t),e.staticViewQueries&&Yh(2,e.viewQuery,r);let n=e.components;n!==null&&S8(t,n)}catch(i){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),i}finally{t[F]&=-5,$f()}}function S8(e,t){for(let r=0;r<t.length;r++)C8(e,t[r])}function _c(e,t,r,i){let o=M(null);try{let n=t.tView,a=nv(e,n,r,e[F]&4096?4096:16,null,t,null,null,i?.injector??null,i?.embeddedViewInjector??null,i?.dehydratedView??null);a[la]=e[t.index];let s=e[ua];return s!==null&&(a[ua]=s.createEmbeddedView(n)),lv(n,a,r),a}finally{M(o)}}function dc(e,t){return!t||t.firstChild===null||Tw(e)}function wu(e,t,r,i,o=!1){if(e.type===3){let n=e.firstChild,a=n.next,s=Yt(t[n.index]),l=Yt(t[a.index]),u=s;for(;u!==null&&(i.push(u),u!==l);)u=u.nextSibling;return i}for(;r!==null;){if(r.type===128){r=o?r.projectionNext:r.next;continue}let n=t[r.index];if(n!==null)if(vo(n)){let s=n[sc];s!==n[zi]&&i.push(Yt(n)),n[F]&4||k8(n,i),i.push(s)}else i.push(Yt(n));let a=r.type;if(a&8)wu(e,t,r.child,i);else if(a&32){let s=Qf(r,t),l;for(;l=s();)i.push(l)}else if(a&16){let s=Xw(t,r);if(Array.isArray(s))i.push(...s);else{let l=Jo(t[Jt]);wu(l[H],l,s,i,!0)}}r=o?r.projectionNext:r.next}return i}function k8(e,t){for(let r=wt;r<e.length;r++){let i=e[r],o=i[H].firstChild;o!==null&&wu(i[H],i,o,t)}}function sC(e){if(e[jn]!==null){for(let t of e[jn])t.impl.addSequence(t);e[jn].length=0}}function T8(e){return e[vr]??I8(e)}function I8(e){let t=lC.pop()??Object.create(B8);return t.lView=e,t}function A8(e){e.lView[vr]!==e&&(e.lView=null,lC.push(e))}function E8(e){let t=e[vr]??Object.create(D8);return t.lView=e,t}function uC(e){return e.type!==2}function cC(e){if(e[no]===null)return;let t=!0;for(;t;){let r=!1;for(let i of e[no])if(i.dirty&&(r=!0,i.zone===null||Zone.current===i.zone?i.run():i.zone.run(()=>i.run()),e[no]===null))return;t=r&&!!(e[F]&8192)}}function _C(e,t=0){let r=e[ri].rendererFactory;r.begin?.();try{R8(e,t)}finally{r.end?.()}}function R8(e,t){let r=Vy();try{fu(!0),rp(e,t);let i=0;for(;ps(e);){if(i===z8)throw new L(103,!1);i++,rp(e,1)}}finally{fu(r)}}function O8(e,t,r,i){if(ya(t))return;let o=t[F];Ff(t);let n=!0,a=null,s=null;uC(e)?(s=T8(t),a=_s(s)):F7()===null?(n=!1,s=E8(t),a=_s(s)):t[vr]&&(ic(t[vr]),t[vr]=null);try{Py(t),Jz(e.bindingStartIndex),r!==null&&rC(e,t,r,2,i);let l=(o&3)===3;if(l){let c=e.preOrderCheckHooks;c!==null&&jl(t,c,null)}else{let c=e.preOrderHooks;c!==null&&ql(t,c,0,null),sd(t,0)}if(P8(t),cC(t),dC(t,0),e.contentQueries!==null&&Ow(e,t),l){let c=e.contentCheckHooks;c!==null&&jl(t,c)}else{let c=e.contentHooks;c!==null&&ql(t,c,1),sd(t,1)}M8(e,t);let u=e.components;u!==null&&pC(t,u,0);let _=e.viewQuery;if(_!==null&&Yh(2,_,i),l){let c=e.viewCheckHooks;c!==null&&jl(t,c)}else{let c=e.viewHooks;c!==null&&ql(t,c,2),sd(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[ad]){for(let c of t[ad])c();t[ad]=null}sC(t),t[F]&=-73}catch(l){let u=!1,_=l,c=t;for(;c!==null;){if(vo(c)){c=c[qt];continue}let h=c[Ay];if(h)try{let d=t[Jt][ot],b={declarationInstance:d,declarationType:d?.constructor,caughtBy:h};h(yR(_),b),u=!0;break}catch(d){_=d}c=c[qt]}if(!u)throw wa(t),_}finally{s!==null&&(rc(s,a),n&&A8(s)),$f()}}function dC(e,t){for(let r=Bw(e);r!==null;r=Ew(r))for(let i=wt;i<r.length;i++){let o=r[i];hC(o,t)}}function P8(e){for(let t=Bw(e);t!==null;t=Ew(t)){if(!(t[F]&2))continue;let r=t[hu];for(let i=0;i<r.length;i++){let o=r[i];Mf(o)}}}function N8(e,t,r){ve(ce.ComponentStart);let i=oi(t,e);try{hC(i,r)}finally{ve(ce.ComponentEnd,i[ot])}}function hC(e,t){Nf(e)&&rp(e,t)}function rp(e,t){let r=e[H],i=e[F],o=e[vr],n=!!(t===0&&i&16);if(n||=!!(i&64&&t===0),n||=!!(i&1024),n||=!!(o?.dirty&&cf(o)),n||=!1,o&&(o.dirty=!1),e[F]&=-9217,n)O8(r,e,r.template,e[ot]);else if(i&8192){let a=M(null);try{cC(e),dC(e,1);let s=r.components;s!==null&&pC(e,s,1),sC(e)}finally{M(a)}}}function pC(e,t,r){for(let i=0;i<t.length;i++)N8(e,t[i],r)}function M8(e,t){let r=e.hostBindingOpCodes;if(r!==null)try{for(let i=0;i<r.length;i++){let o=r[i];if(o<0)en(~o);else{let n=o,a=r[++i],s=r[++i];tR(a,n);let l=t[n];ve(ce.HostBindingsUpdateStart,l);try{s(2,l)}finally{ve(ce.HostBindingsUpdateEnd,l)}}}}finally{en(-1)}}function uv(e,t){let r=Vy()?64:1088;for(e[ri].changeDetectionScheduler?.notify(t);e;){e[F]|=r;let i=Jo(e);if(pu(e)&&!i)return e;e=i}return null}function L8(e,t,r,i){return[e,!0,0,t,null,i,null,r,null,null]}function fC(e,t){let r=wt+t;if(r<e.length)return e[r]}function hc(e,t,r,i=!0){let o=t[H];if(F8(o,t,e,r),i){let a=tp(r,e),s=t[Ke],l=s.parentNode(e[sc]);l!==null&&K6(o,e[nr],s,t,l,a)}let n=t[sa];n!==null&&n.firstChild!==null&&(n.firstChild=null)}function vC(e,t){let r=cv(e,t);return r!==void 0&&tv(r[H],r),r}function cv(e,t){if(e.length<=wt)return;let r=wt+t,i=e[r];if(i){let o=i[la];o!==null&&o!==e&&ev(o,i),t>0&&(e[r-1][Or]=i[Or]);let n=yy(e,wt+t);Z6(i[H],i);let a=n[ua];a!==null&&a.detachView(n[H]),i[qt]=null,i[Or]=null,i[F]&=-129}return i}function F8(e,t,r,i){let o=wt+i,n=r.length;i>0&&(r[o-1][Or]=t),i<n-wt?(t[Or]=r[o],xz(r,wt+i,t)):(r.push(t),t[Or]=null),t[qt]=r;let a=t[la];a!==null&&r!==a&&gC(a,t);let s=t[ua];s!==null&&s.insertView(e),Lh(t),t[F]|=128}function gC(e,t){let r=e[hu],i=t[qt];if(ao(i))e[F]|=2;else{let o=i[qt][Jt];t[Jt]!==o&&(e[F]|=2)}r===null?e[hu]=[t]:r.push(t)}function $8(e){return ps(e._lView)||!!(e._lView[F]&64)}function H8(e){Mf(e._lView)}function Ta(e,t,r,i,o){let n=e.data[t];if(n===null)n=U8(e,t,r,i,o),eR()&&(n.flags|=32);else if(n.type&64){n.type=r,n.value=i,n.attrs=o;let a=Kz();n.injectorIndex=a===null?-1:a.injectorIndex}return Ca(n,!0),n}function U8(e,t,r,i,o){let n=$y(),a=Hy(),s=a?n:n&&n.parent,l=e.data[t]=j8(e,s,r,t,i,o);return V8(e,l,n,a),l}function V8(e,t,r,i){e.firstChild===null&&(e.firstChild=t),r!==null&&(i?r.child==null&&t.parent!==null&&(r.child=t):r.next===null&&(r.next=t,t.prev=r))}function j8(e,t,r,i,o,n){let a=t?t.injectorIndex:-1,s=0;return My()&&(s|=128),{type:r,index:i,insertBeforeIndex:null,injectorIndex:a,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,controlDirectiveIndex:-1,customControlIndex:-1,propertyBindings:null,flags:s,providerIndexes:0,value:o,namespace:Yy(),attrs:n,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:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function q8(e){let t=e[Gm]??[],r=e[qt][Ke],i=[];for(let o of t)o.data[_6]!==void 0?i.push(o):G8(o,r);e[Gm]=i}function G8(e,t){let r=0,i=e.firstChild;if(i){let o=e.data[c6];for(;r<o;){let n=i.nextSibling;Fw(t,i,!1),i=n,r++}}}function mC(e,t){return W8(e,t)}function bC(e,t,r){return Z8(e,t,r)}function X8(){let e=Y(),t=oi($r().index,e);return(ao(t)?t:e)[Ke]}function yC(e){return e.debugInfo?.className||e.type.name||null}function wC(e){return e!==null&&(typeof e=="function"||typeof e=="object")}function J8(e,t,r){return e[t]=r}function Lr(e,t,r){if(r===yr)return!1;let i=e[t];return Object.is(i,r)?!1:(e[t]=r,!0)}function e4(e,t,r,i){let o=Lr(e,t,r);return Lr(e,t+1,i)||o}function Wn(e,t,r){return function i(o){let n=i.__ngNativeEl__;n!==void 0&&h6(o,n),uv(cn(e)?oi(e.index,t):t,5);let a=t[ot],s=u5(t,a,r,o),l=i.__ngNextListenerFn__;for(;l;)s=u5(t,a,l,o)&&s,l=l.__ngNextListenerFn__;return s}}function u5(e,t,r,i){let o=M(null);try{return ve(ce.OutputStart,t,r),r(i)!==!1}catch(n){return y8(e,n),!1}finally{ve(ce.OutputEnd,t,r),M(o)}}function CC(e,t,r,i,o,n,a,s){let l=Rf(e),u=!1,_=null;if(!i&&l&&(_=r4(t,r,n,e.index)),_!==null){let c=_.__ngLastListenerFn__||_;c.__ngNextListenerFn__=a,_.__ngLastListenerFn__=a,u=!0}else{let c=ni(e,r),h=i?i(c):c;i||(s.__ngNativeEl__=c);let d=o.listen(h,n,s);t4(n)||xC(i?b=>i(Yt(b[e.index])):e.index,t,r,n,s,d,!1)}return u}function t4(e){return e.startsWith("animation")||e.startsWith("transition")}function r4(e,t,r,i){let o=e.cleanup;if(o!=null)for(let n=0;n<o.length-1;n+=2){let a=o[n];if(a===r&&o[n+1]===i){let s=t[du],l=o[n+2];return s&&s.length>l?s[l]:null}typeof a=="string"&&(n+=2)}return null}function xC(e,t,r,i,o,n,a){let s=t.firstCreatePass?qz(t):null,l=jz(r),u=l.length;l.push(o,n),s&&s.push(i,e,u,(u+1)*(a?-1:1))}function c5(e,t,r,i,o){let n=null,a=null,s=null,l=!1,u=e.directiveToIndex.get(r.type);if(typeof u=="number"?n=u:[n,a,s]=u,a!==null&&s!==null&&e.hostDirectiveOutputs&&Object.hasOwn(e.hostDirectiveOutputs,i)){let _=e.hostDirectiveOutputs[i];for(let c=0;c<_.length;c+=2){let h=_[c];if(h>=a&&h<=s)l=!0,Cu(e,t,h,_[c+1],i,o);else if(h>s)break}}return Object.hasOwn(r.outputs,i)&&(l=!0,Cu(e,t,n,i,i,o)),l}function Cu(e,t,r,i,o,n){let a=t[r],s=t[H],l=a[s.data[r].outputs[i]].subscribe(n);xC(e.index,s,t,o,n,l,!0)}function Gl(){i4()}function i4(){let e=Y(),t=dt(),r=$r();if(t.firstCreatePass&&n4(t,r),r.controlDirectiveIndex===-1)return;Oi("NgSignalForms");let i=e[r.controlDirectiveIndex];t.data[r.controlDirectiveIndex].controlDef.create(i,new SC(e,t,r))}function Wl(){o4()}function o4(){let e=Y(),t=dt(),r=lc();if(r.controlDirectiveIndex===-1)return;let i=t.data[r.controlDirectiveIndex].controlDef,o=e[r.controlDirectiveIndex];i.update(o,new SC(e,t,r))}function _5(e){return typeof e=="function"&&"\u0275dir"in e?e.\u0275dir.hostDirectives??null:null}function d5(e,t,r){if(!t.inputs||!Object.hasOwn(t.inputs,r))return;let[i,o]=t.inputs[r];if((o&Ps.SignalBased)!==0){let n=e[i][Qt];return n.value===Wf?void 0:n.value}return e[i]}function n4(e,t,r){for(let o=t.directiveStart;o<t.directiveEnd;o++)if(e.data[o].controlDef){t.controlDirectiveIndex=o;break}if(t.controlDirectiveIndex===-1)return;let i=e.data[t.controlDirectiveIndex].controlDef;if(i.passThroughInput&&(t.inputs?.[i.passThroughInput]?.length??0)>1){t.flags|=4096;return}a4(e,t)}function a4(e,t){for(let r=t.directiveStart;r<t.directiveEnd;r++){let i=e.data[r];if(!(t.directiveToIndex&&!t.directiveToIndex.has(i.type))){if(h5(i,"value")){t.flags|=1024,t.customControlIndex=r;return}if(h5(i,"checked")){t.flags|=2048,t.customControlIndex=r;return}}}if(t.hostDirectiveInputs!==null&&t.hostDirectiveOutputs!==null&&t.directiveToIndex!==null){let r=(i,o)=>{let n=t.hostDirectiveInputs[i],a=t.hostDirectiveOutputs[i+"Change"];if(!n||!a)return!1;for(let s=0;s<n.length;s+=2){let l=n[s];for(let u=0;u<a.length;u+=2)if(l===a[u])for(let _ of t.directiveToIndex.values()){if(!Array.isArray(_))continue;let[c,h,d]=_;if(l>=h&&l<=d)return t.flags|=o,t.customControlIndex=c,!0}}return!1};if(r("value",1024)||r("checked",2048))return}}function h5(e,t){return s4(e,t)&&l4(e,t+"Change")}function s4(e,t){return t in e.inputs}function l4(e,t){return t in e.outputs}function Su(e,t,r){let i=r?e.styles:null,o=r?e.classes:null,n=0;if(t!==null)for(let a=0;a<t.length;a++){let s=t[a];if(typeof s=="number")n=s;else if(n==1)o=$m(o,s);else if(n==2){let l=s,u=t[++a];i=$m(i,l+": "+u+";")}}r?e.styles=i:e.stylesWithoutHost=i,r?e.classes=o:e.classesWithoutHost=o}function He(e,t=0){let r=Y();return r===null?ae(e,t):ww($r(),r,At(e),t)}function u4(e,t,r,i,o){let n=i===null?null:{"":-1},a=o(e,r);if(a!==null){let s=a,l=null,u=null;for(let _ of a)if(_.resolveHostDirectives!==null){[s,l,u]=_.resolveHostDirectives(a);break}d4(e,t,r,s,n,l,u)}n!==null&&i!==null&&c4(r,i,n)}function c4(e,t,r){let i=e.localNames=[];for(let o=0;o<t.length;o+=2){let n=r[t[o+1]];if(n==null)throw new L(-301,!1);i.push(t[o],n)}}function _4(e,t,r){t.componentOffset=r,(e.components??=[]).push(t.index)}function d4(e,t,r,i,o,n,a){let s=i.length,l=null;for(let h=0;h<s;h++){let d=i[h];l===null&&ii(d)&&(l=d,_4(e,r,h)),Wh(bu(r,t),e,d.type)}m4(r,e.data.length,s),l?.viewProvidersResolver&&l.viewProvidersResolver(l);for(let h=0;h<s;h++){let d=i[h];d.providersResolver&&d.providersResolver(d)}let u=!1,_=!1,c=Jw(e,t,s,null);s>0&&(r.directiveToIndex=new Map);for(let h=0;h<s;h++){let d=i[h];if(r.mergedAttrs=ca(r.mergedAttrs,d.hostAttrs),p4(e,r,t,c,d),g4(c,d,o),a!==null&&a.has(d)){let[w,I]=a.get(d);r.directiveToIndex.set(d.type,[c,w+r.directiveStart,I+r.directiveStart])}else(n===null||!n.has(d))&&r.directiveToIndex.set(d.type,c);d.contentQueries!==null&&(r.flags|=4),(d.hostBindings!==null||d.hostAttrs!==null||d.hostVars!==0)&&(r.flags|=64);let b=d.type.prototype;!u&&(b.ngOnChanges||b.ngOnInit||b.ngDoCheck)&&((e.preOrderHooks??=[]).push(r.index),u=!0),!_&&(b.ngOnChanges||b.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(r.index),_=!0),c++}h4(e,r,n)}function h4(e,t,r){for(let i=t.directiveStart;i<t.directiveEnd;i++){let o=e.data[i];if(r===null||!r.has(o))p5(0,t,o,i),p5(1,t,o,i),v5(t,i,!1);else{let n=r.get(o);f5(0,t,n,i),f5(1,t,n,i),v5(t,i,!0)}}}function p5(e,t,r,i){let o=e===0?r.inputs:r.outputs;for(let n in o)if(Object.hasOwn(o,n)){let a;e===0?a=t.inputs??={}:a=t.outputs??={},a[n]??=[],a[n].push(i),kC(t,n)}}function f5(e,t,r,i){let o=e===0?r.inputs:r.outputs;for(let n in o)if(Object.hasOwn(o,n)){let a=o[n],s;e===0?s=t.hostDirectiveInputs??={}:s=t.hostDirectiveOutputs??={},s[a]??=[],s[a].push(i,n),kC(t,a)}}function kC(e,t){t==="class"?e.flags|=8:t==="style"&&(e.flags|=16)}function v5(e,t,r){let{attrs:i,inputs:o,hostDirectiveInputs:n}=e;if(i===null||!r&&o===null||r&&n===null||Yf(e)){e.initialInputs??=[],e.initialInputs.push(null);return}let a=null,s=0;for(;s<i.length;){let l=i[s];if(l===0){s+=4;continue}else if(l===5){s+=2;continue}else if(typeof l=="number")break;if(!r&&Object.hasOwn(o,l)){let u=o[l];for(let _ of u)if(_===t){a??=[],a.push(l,i[s+1]);break}}else if(r&&Object.hasOwn(n,l)){let u=n[l];for(let _=0;_<u.length;_+=2)if(u[_]===t){a??=[],a.push(u[_+1],i[s+1]);break}}s+=2}e.initialInputs??=[],e.initialInputs.push(a)}function p4(e,t,r,i,o){e.data[i]=o;let n=new Rs(o.factory||(o.factory=Ko(o.type,!0)),ii(o),He,null);e.blueprint[i]=n,r[i]=n,f4(e,t,i,Jw(e,r,o.hostVars,yr),o)}function f4(e,t,r,i,o){let n=o.hostBindings;if(n){let a=e.hostBindingOpCodes;a===null&&(a=e.hostBindingOpCodes=[]);let s=~t.index;v4(a)!=s&&a.push(s),a.push(r,i,n)}}function v4(e){let t=e.length;for(;t>0;){let r=e[--t];if(typeof r=="number"&&r<0)return r}return 0}function g4(e,t,r){if(r){if(t.exportAs)for(let i=0;i<t.exportAs.length;i++)r[t.exportAs[i]]=e;ii(t)&&(r[""]=e)}}function m4(e,t,r){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+r,e.providerIndexes=t}function TC(e,t,r,i,o,n,a,s){let l=t[H],u=l.consts,_=Ta(l,e,r,i,Ii(u,a));return n&&u4(l,t,_,Ii(u,s),o),_.mergedAttrs=ca(_.mergedAttrs,_.attrs),_.attrs!==null&&Su(_,_.attrs,!1),_.mergedAttrs!==null&&Su(_,_.mergedAttrs,!0),l.queries!==null&&l.queries.elementStart(l,_),_}function IC(e,t){UR(e,t),Ey(t)&&e.queries.elementEnd(t)}function b4(e,t,r,i,o,n){let a=t.consts,s=Ta(t,e,r,i,Ii(a,o));if(s.mergedAttrs=ca(s.mergedAttrs,s.attrs),n!=null){let l=Ii(a,n);s.localNames=[];for(let u=0;u<l.length;u+=2)s.localNames.push(l[u],-1)}return s.attrs!==null&&Su(s,s.attrs,!1),s.mergedAttrs!==null&&Su(s,s.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,s),s}function w4(e){return Object.keys(e).map(t=>{let[r,i,o]=e[t],n={propName:r,templateName:t,isSignal:(i&Ps.SignalBased)!==0};return o&&(n.transform=o),n})}function C4(e){return Object.keys(e).map(t=>({propName:e[t],templateName:t}))}function x4(e,t,r){let i=t instanceof Yo?t:t?.injector;return i&&e.getStandaloneInjector!==null&&(i=e.getStandaloneInjector(i)||i),i?new Q8(r,i):r}function S4(e){let t=e.get(_v,null);if(t===null)throw new L(407,!1);return{rendererFactory:t,sanitizer:e.get(Y8,null),changeDetectionScheduler:e.get(Sa,null),ngReflect:!1,tracingService:e.get(ka,null,{optional:!0})}}function k4(e,t,r){let i=I4(e);return Mw(t,i,i==="svg"?zy:i==="math"?Hz:r)}function T4(e){if((e&&"localName"in e&&typeof e.localName=="string"?e.localName:e?.tagName)?.toLowerCase()==="script")throw new L(905,!1)}function I4(e){return(e.selectors[0][0]||"div").toLowerCase()}function A4(e,t,r,i,o){let n=e?["ng-version","22.2.1"]:P6(t.selectors[0]),a=null,s=null,l=0;if(r)for(let _ of r)l+=_[op].requiredVars,_.create&&(_.targetIdx=0,(a??=[]).push(_)),_.update&&(_.targetIdx=0,(s??=[]).push(_));if(i)for(let _=0;_<i.length;_++){let c=i[_];if(typeof c!="function")for(let h of c.bindings){l+=h[op].requiredVars;let d=_+1;h.create&&(h.targetIdx=d,(a??=[]).push(h)),h.update&&(h.targetIdx=d,(s??=[]).push(h))}}let u=[t];if(i)for(let _ of i){let c=xf(typeof _=="function"?_:_.type);u.push(c)}return ov(0,null,E4(a,s),1,l,u,null,null,null,[n],null)}function B4(e,t){let r=e.getRootNode?.();return y4&&r instanceof Document?r.head:r&&AC&&r instanceof ShadowRoot?r:t().head}function E4(e,t){return!e&&!t?null:r=>{if(r&1&&e)for(let i of e)i.create();if(r&2&&t)for(let i of t)i.update()}}function g5(e){let t=e[op].kind;return t==="input"||t==="twoWay"}function z4(e,t,r){let i=e.projection=[];for(let o=0;o<t.length;o++){let n=r[o];i.push(n!=null&&n.length?Array.from(n):null)}}function O4(e,t,r){return R4(e,t,r)}function hv(e){return!!e&&typeof e.then=="function"}function P4(e){return!!e&&typeof e.subscribe=="function"}function N4(e,t,r=null){return new BC({providers:e,parent:t,debugName:r,runEnvironmentInitializers:!0}).injector}function wr(e){return uc(()=>{let t=DC(e),r=te(E({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection!==Iw.Eager,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?o=>o.get(M4).getOrCreateStandaloneInjector(r):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||xi.Emulated,styles:e.styles||hr,_:null,schemas:e.schemas||null,tView:null,id:""});t.standalone&&Oi("NgStandalone"),zC(r);let i=e.dependencies;return r.directiveDefs=m5(i,L4),r.pipeDefs=m5(i,pz),r.id=U4(r),r})}function L4(e){return Bs(e)||xf(e)}function EC(e){return uc(()=>({type:e.type,bootstrap:e.bootstrap||hr,declarations:e.declarations||hr,imports:e.imports||hr,exports:e.exports||hr,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function F4(e,t){if(e==null)return Xo;let r={};for(let i in e)if(Object.hasOwn(e,i)){let o=e[i],n,a,s,l;Array.isArray(o)?(s=o[0],n=o[1],a=o[2]??n,l=o[3]||null):(n=o,a=o,s=Ps.None,l=null),r[n]=[i,s,l],t[n]=a}return r}function $4(e){if(e==null)return Xo;let t={};for(let r in e)Object.hasOwn(e,r)&&(t[e[r]]=r);return t}function Hr(e){return uc(()=>{let t=DC(e);return zC(t),t})}function H4(e){return{type:e.type,name:e.name,factory:null,pure:e.pure!==!1,standalone:e.standalone??!0,onDestroy:e.type.prototype.ngOnDestroy||null}}function DC(e){let t={};return{type:e.type,providersResolver:null,viewProvidersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputConfig:e.inputs||Xo,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||hr,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,resolveHostDirectives:null,hostDirectives:null,controlDef:null,signalFormsInputPresence:null,inputs:F4(e.inputs,t),outputs:$4(e.outputs),debugInfo:null}}function zC(e){e.features?.forEach(t=>t(e))}function m5(e,t){return e?()=>{let r=typeof e=="function"?e():e,i=[];for(let o of r){let n=t(o);n!==null&&i.push(n)}return i}:null}function U4(e){let t=0,r=typeof e.consts=="function"?"":e.consts,i=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,r,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(let o of i.join("|"))t=Math.imul(31,t)+o.charCodeAt(0)<<0;return t+=2147483648,"c"+t}function V4(e){return Bf([{provide:RC,multi:!0,useValue:e}])}function j4(e){return t=>{t.controlDef={create:(r,i)=>{r?.\u0275ngControlCreate(i)},update:(r,i)=>{r?.\u0275ngControlUpdate?.(i)},passThroughInput:e}}}function PC(e){let t=r=>{let i=Array.isArray(e);r.hostDirectives===null?(r.resolveHostDirectives=q4,r.hostDirectives=i?e.map(ap):[e]):i?r.hostDirectives.unshift(...e.map(ap)):r.hostDirectives.unshift(e)};return t.ngInherit=!0,t}function q4(e){let t=[],r=!1,i=null,o=null;for(let n=0;n<e.length;n++){let a=e[n];if(a.hostDirectives!==null){let s=t.length;i??=new Map,o??=new Map,NC(a,t,i,e),o.set(a,[s,t.length-1])}n===0&&ii(a)&&(r=!0,t.push(a))}for(let n=r?1:0;n<e.length;n++)t.push(e[n]);return i!==null&&i.forEach((n,a)=>{G4(a.declaredInputs,n.inputs)}),[t,i,o]}function NC(e,t,r,i){if(e.hostDirectives!==null)for(let o of e.hostDirectives)if(typeof o=="function"){let n=o();for(let a of n)b5(ap(a),t,r,i)}else b5(o,t,r,i)}function b5(e,t,r,i){let o=xf(e.directive);if(NC(o,t,r,i),r.has(o)){let n=r.get(o);y5(n,e.inputs,"input"),y5(n,e.outputs,"output")}else i.includes(o)||(r.set(o,e),t.push(o))}function y5(e,t,r){let i=r==="input"?e.inputs:e.outputs;Object.keys(t).forEach(o=>{let n=t[o];(!Object.hasOwn(i,o)||i[o]===n)&&(i[o]=n)})}function ap(e){return typeof e=="function"?{directive:At(e),inputs:{},outputs:{}}:{directive:At(e.directive),inputs:w5(e.inputs),outputs:w5(e.outputs)}}function w5(e){let t={};if(e!==void 0&&e.length>0)for(let r=0;r<e.length;r+=2)t[e[r]]=e[r+1];return t}function G4(e,t){for(let r in t)if(Object.hasOwn(t,r)){let i=t[r];e[i]=e[r]}}function W4(e){return Object.getPrototypeOf(e.prototype).constructor}function Pi(e){let t=W4(e.type),r=!0,i=[e];for(;t&&t!==Function.prototype&&t!==Object.prototype;){let o,n=Object.hasOwn(t,Dh)?t[Dh]:void 0,a=Object.hasOwn(t,zh)?t[zh]:void 0;if(ii(e))o=n??a;else{if(n)throw new L(903,!1);o=a}if(o){if(r){i.push(o);let l=e;l.inputs=_d(e.inputs),l.declaredInputs=_d(e.declaredInputs),l.outputs=_d(e.outputs);let u=o.hostBindings;u&&Q4(e,u);let _=o.viewQuery,c=o.contentQueries;if(_&&X4(e,_),c&&Y4(e,c),Z4(e,o),uz(e.outputs,o.outputs),ii(o)&&o.data.animation){let h=e.data;h.animation=(h.animation||[]).concat(o.data.animation)}}let s=o.features;if(s)for(let l=0;l<s.length;l++){let u=s[l];u&&u.ngInherit&&u(e),u===Pi&&(r=!1)}}t=Object.getPrototypeOf(t)}K4(i)}function Z4(e,t){for(let r in t.inputs){if(!Object.hasOwn(t.inputs,r)||Object.hasOwn(e.inputs,r))continue;let i=t.inputs[r];i!==void 0&&(e.inputs[r]=i,e.declaredInputs[r]=t.declaredInputs[r])}}function K4(e){let t=0,r=null;for(let i=e.length-1;i>=0;i--){let o=e[i];o.hostVars=t+=o.hostVars,o.hostAttrs=ca(o.hostAttrs,r=ca(r,o.hostAttrs))}}function _d(e){return e===Xo?{}:e===hr?[]:e}function X4(e,t){let r=e.viewQuery;r?e.viewQuery=(i,o)=>{t(i,o),r(i,o)}:e.viewQuery=t}function Y4(e,t){let r=e.contentQueries;r?e.contentQueries=(i,o,n)=>{t(i,o,n),r(i,o,n)}:e.contentQueries=t}function Q4(e,t){let r=e.hostBindings;r?e.hostBindings=(i,o)=>{t(i,o),r(i,o)}:e.hostBindings=t}function J4(e,t,r,i,o,n,a,s){if(r.firstCreatePass){e.mergedAttrs=ca(e.mergedAttrs,e.attrs);let _=e.tView=ov(2,e,o,n,a,r.directiveRegistry,r.pipeRegistry,null,r.schemas,r.consts,null);r.queries!==null&&(r.queries.template(r,e),_.queries=r.queries.embeddedTView(e))}s&&(e.flags|=s),Ca(e,!1);let l=eO(r,t,e,i);Hf()&&rv(r,t,l,e),_a(l,t);let u=L8(l,t,l,e);t[i+Xe]=u,eC(t,u),O4(u,e,t)}function gs(e,t,r,i,o,n,a,s,l,u,_){let c=r+Xe,h;if(t.firstCreatePass){if(h=Ta(t,c,4,a||null,s||null),u!=null){let d=Ii(t.consts,u);h.localNames=[];for(let b=0;b<d.length;b+=2)h.localNames.push(d[b],-1)}}else h=t.data[c];return J4(h,e,t,r,i,o,n,l),u!=null&&av(e,h,_),h}function tO(e,t,r,i){return Uf(!0),t[Ke].createComment("")}function oO(){W7(e=>{throw new L(-600,"")})}function aO(e){return e===void 0||typeof e=="string"||e instanceof Element?{hostElement:e}:e}function Zl(e,t){let r=e.indexOf(t);r>-1&&e.splice(r,1)}function MC(e,t,r,i){let o=Y();return Lr(o,_n(),t)&&(dt(),g8(lc(),o,e,t,r,i)),MC}function dd(e,t,r,i,o){return e===r&&Object.is(t,i)?1:Object.is(o(e,t),o(r,i))?-1:0}function lO(e,t,r,i){let o,n,a=0,s=e.length-1;if(Array.isArray(t)){M(i);let l=t.length-1;for(M(null);a<=s&&a<=l;){let u=e.at(a),_=t[a],c=dd(a,u,a,_,r);if(c!==0){c<0&&e.updateValue(a,_),a++;continue}let h=e.at(s),d=t[l],b=dd(s,h,l,d,r);if(b!==0){b<0&&e.updateValue(s,d),s--,l--;continue}let w=r(a,u),I=r(s,h),C=r(a,_);if(Object.is(C,I)){let A=r(l,d);Object.is(A,w)?(e.swap(a,s),e.updateValue(s,d),l--,s--):e.move(s,a),e.updateValue(a,_),a++;continue}if(o??=new S5,n??=x5(e,a,s,r),sp(e,o,a,C))e.updateValue(a,_),a++,s++;else if(n.has(C))o.set(w,e.detach(a)),s--;else{let A=e.create(a,t[a]);e.attach(a,A),a++,s++}}for(;a<=l;)C5(e,o,r,a,t[a]),a++}else if(t!=null){M(i);let l=t[Symbol.iterator]();M(null);let u=l.next();for(;!u.done&&a<=s;){let _=e.at(a),c=u.value,h=dd(a,_,a,c,r);if(h!==0)h<0&&e.updateValue(a,c),a++,u=l.next();else{o??=new S5,n??=x5(e,a,s,r);let d=r(a,c);if(sp(e,o,a,d))e.updateValue(a,c),a++,s++,u=l.next();else if(!n.has(d))e.attach(a,e.create(a,c)),a++,s++,u=l.next();else{let b=r(a,_);o.set(b,e.detach(a)),s--}}}for(;!u.done;)C5(e,o,r,e.length,u.value),u=l.next()}for(;a<=s;)e.destroy(e.detach(s--));o?.forEach(l=>{e.destroy(l)})}function sp(e,t,r,i){return t!==void 0&&t.has(i)?(e.attach(r,t.get(i)),t.delete(i),!0):!1}function C5(e,t,r,i,o){if(sp(e,t,i,r(i,o)))e.updateValue(i,o);else{let n=e.create(i,o);e.attach(i,n)}}function x5(e,t,r,i){let o=new Set;for(let n=t;n<=r;n++)o.add(i(n,e.at(n)));return o}function LC(e,t,r,i,o,n,a,s){Oi("NgControlFlow");let l=Y(),u=dt();return gs(l,u,e,t,r,i,o,Ii(u.consts,n),256,a,s),FC}function FC(e,t,r,i,o,n,a,s){return Oi("NgControlFlow"),uO(e,t,r,i,o,n,a,s),FC}function uO(e,t,r,i,o,n,a,s){let l=Y(),u=dt();gs(l,u,e,t,r,i,o,Ii(u.consts,n),512,a,s)}function $C(e,t){Oi("NgControlFlow");let r=Y(),i=_n(),o=r[i]!==yr?r[i]:-1,n=o!==-1?Au(r,Xe+o):void 0,a=0;if(Lr(r,i,e)){let s=M(null);try{if(n!==void 0&&vC(n,a),e!==-1){let l=Xe+e,u=Au(r,l),_=lp(r[H],l),c=bC(u,_,r);hc(u,_c(r,_,t,{dehydratedView:c}),a,dc(_,c))}}finally{M(s)}}else if(n!==void 0){let s=fC(n,a);s!==void 0&&(s[ot]=t)}}function Tu(e,t,r,i,o,n,a,s,l,u,_,c,h){Oi("NgControlFlow");let d=Y(),b=dt(),w=l!==void 0,I=Y(),C=new _O(w,s?a.bind(I[Jt][ot]):a);I[Xe+e]=C,gs(d,b,e+1,t,r,i,o,Ii(b.consts,n),256),w&&gs(d,b,e+2,l,u,_,c,Ii(b.consts,h),512)}function Iu(e){let t=M(null),r=Ri();try{let i=Y(),o=i[H],n=i[r],a=r+1,s=Au(i,a);n.liveCollection===void 0?n.liveCollection=new dO(s,i,lp(o,a)):n.liveCollection.reset();let l=n.liveCollection;if(lO(l,e,n.trackByFn,t),l.updateIndexes(),n.hasEmptyBlock){let u=_n(),_=l.length===0;if(Lr(i,u,_)){let c=r+2,h=Au(i,c);if(_){let d=lp(o,c),b=bC(h,d,i);hc(h,_c(i,d,void 0,{dehydratedView:b}),0,dc(d,b))}else o.firstUpdatePass&&q8(h),vC(h,0)}}}finally{M(t)}}function Au(e,t){return e[t]}function hO(e,t){if(e.length<=wt)return;let r=e[wt+t];r&&W6(r)}function pO(e,t){if(e.length<=wt)return;let r=e[wt+t];r&&G6(r)}function fO(e,t){return cv(e,t)}function vO(e,t){return fC(e,t)}function lp(e,t){return Of(e,t)}function Ot(e,t,r){let i=Y();return Lr(i,_n(),t)&&(dt(),_8(lc(),i,e,t,i[Ke],r)),Ot}function k5(e,t,r,i,o){sv(t,e,r,o?"class":"style",i)}function U(e,t,r,i){let o=Y(),n=o[H],a=e+Xe,s=n.firstCreatePass?TC(a,o,2,t,v8,Zz(),r,i):n.data[a];if(cn(s)){let l=o[ri].tracingService;if(l&&l.componentCreate){let u=n.data[s.directiveStart+s.componentOffset];return l.componentCreate(yC(u),()=>(T5(e,t,o,s,i),U))}}return T5(e,t,o,s,i),U}function T5(e,t,r,i,o){if(nC(i,r,e,t,HC),Rf(i)){let n=r[H];iC(n,r,i),Pw(n,i,r)}o!=null&&av(r,i)}function W(){let e=dt(),t=aC($r());return e.firstCreatePass&&IC(e,t),Ly(t)&&Fy(),Ny(),t.classesWithoutHost!=null&&jR(t)&&k5(e,t,Y(),t.classesWithoutHost,!0),t.stylesWithoutHost!=null&&qR(t)&&k5(e,t,Y(),t.stylesWithoutHost,!1),W}function ms(e,t,r,i){return U(e,t,r,i),W(),ms}function bi(e,t,r,i){let o=Y(),n=o[H],a=e+Xe,s=n.firstCreatePass?b4(a,n,2,t,r,i):n.data[a];return nC(s,o,e,t,HC),i!=null&&av(o,s),bi}function ro(){return Ly(aC($r()))&&Fy(),Ny(),ro}function Bu(e,t,r,i){return bi(e,t,r,i),ro(),Bu}function pv(){return Y()}function fv(e,t,r){let i=Y();return Lr(i,_n(),t)&&(dt(),oC(lc(),i,e,t,i[Ke],r)),fv}function gO(e){typeof e=="string"&&e.toLowerCase().replace(/_/g,"-")}function Pt(e,t,r){let i=Y(),o=dt(),n=$r();return mO(o,i,i[Ke],n,e,t,r),Pt}function mO(e,t,r,i,o,n,a){let s=!0,l=null;if((i.type&3||a)&&(l??=Wn(i,t,n),CC(i,e,t,a,r,o,n,l)&&(s=!1)),s){let u=i.outputs?.[o],_=i.hostDirectiveOutputs?.[o];if(_&&_.length)for(let c=0;c<_.length;c+=2){let h=_[c],d=_[c+1];l??=Wn(i,t,n),Cu(i,t,h,d,o,l)}if(u&&u.length)for(let c of u)l??=Wn(i,t,n),Cu(i,t,c,o,o,l)}}function Si(e=1){return nR(e)}function bO(e,t){let r=null,i=B6(e);for(let o=0;o<t.length;o++){let n=t[o];if(n==="*"){r=o;continue}if(i===null?Vw(e,n,!0):z6(i,n))return o}return r}function go(e){let t=Y()[Jt][nr];if(!t.projection){let r=t.projection=Sz(e?e.length:1,null),i=r.slice(),o=t.child;for(;o!==null;){if(o.type!==128){let n=e?bO(o,e):0;n!==null&&(i[n]?i[n].projectionNext=o:r[n]=o,i[n]=o)}o=o.next}}}function mo(e,t=0,r,i,o,n){let a=Y(),s=dt(),l=i?e+1:null;l!==null&&gs(a,s,l,i,o,n,null,r);let u=Ta(s,Xe+e,16,null,r||null);u.projection===null&&(u.projection=t),Uy();let _=!a[sa]||My();a[Jt][nr].projection[u.projection]===null&&l!==null?yO(a,s,l):_&&!Xf(u)&&i8(s,a,u)}function yO(e,t,r){let i=Xe+r,o=t.data[i],n=e[i],a=mC(n,o.tView.ssrId);hc(n,_c(e,o,void 0,{dehydratedView:a}),0,dc(o,a))}function ml(e,t){return e<<17|t<<2}function rn(e){return e>>17&32767}function wO(e){return(e&2)==2}function CO(e,t){return e&131071|t<<17}function cp(e){return e|2}function da(e){return(e&131068)>>2}function hd(e,t){return e&-131069|t<<2}function xO(e){return(e&1)===1}function _p(e){return e|1}function SO(e,t,r,i,o,n){let a=n?t.classBindings:t.styleBindings,s=rn(a),l=da(a);e[i]=r;let u=!1,_;if(Array.isArray(r)){let c=r;_=c[1],(_===null||Es(c,_)>0)&&(u=!0)}else _=r;if(o)if(l!==0){let c=rn(e[s+1]);e[i+1]=ml(c,s),c!==0&&(e[c+1]=hd(e[c+1],i)),e[s+1]=CO(e[s+1],i)}else e[i+1]=ml(s,0),s!==0&&(e[s+1]=hd(e[s+1],i)),s=i;else e[i+1]=ml(l,0),s===0?s=i:e[l+1]=hd(e[l+1],i),l=i;u&&(e[i+1]=cp(e[i+1])),I5(e,_,i,!0),I5(e,_,i,!1),kO(t,_,e,i,n),a=ml(s,l),n?t.classBindings=a:t.styleBindings=a}function kO(e,t,r,i,o){let n=o?e.residualClasses:e.residualStyles;n!=null&&typeof t=="string"&&Es(n,t)>=0&&(r[i+1]=_p(r[i+1]))}function I5(e,t,r,i){let o=e[r+1],n=t===null,a=i?rn(o):da(o),s=!1;for(;a!==0&&(s===!1||n);){let l=e[a],u=e[a+1];TO(l,t)&&(s=!0,e[a+1]=i?_p(u):cp(u)),a=i?rn(u):da(u)}s&&(e[r+1]=i?cp(o):_p(o))}function TO(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?Es(e,t)>=0:!1}function fc(e,t){return IO(e,t,null,!0),fc}function IO(e,t,r,i){let o=Y(),n=dt(),a=jy(2);if(n.firstUpdatePass&&BO(n,e,a,i),t!==yr&&Lr(o,a,t)){let s=n.data[Ri()];OO(n,s,o,o[Ke],e,o[a+1]=PO(t,r),i,a)}}function AO(e,t){return t>=e.expandoStartIndex}function BO(e,t,r,i){let o=e.data;if(o[r+1]===null){let n=o[Ri()],a=AO(e,r);NO(n,i)&&t===null&&!a&&(t=!1),t=EO(o,n,t,i),SO(o,n,t,r,a,i)}}function EO(e,t,r,i){let o=iR(e),n=i?t.residualClasses:t.residualStyles;if(o===null)(i?t.classBindings:t.styleBindings)===0&&(r=pd(null,e,t,r,i),r=bs(r,t.attrs,i),n=null);else{let a=t.directiveStylingLast;if(a===-1||e[a]!==o)if(r=pd(o,e,t,r,i),n===null){let s=DO(e,t,i);s!==void 0&&Array.isArray(s)&&(s=pd(null,e,t,s[1],i),s=bs(s,t.attrs,i),zO(e,t,i,s))}else n=RO(e,t,i)}return n!==void 0&&(i?t.residualClasses=n:t.residualStyles=n),r}function DO(e,t,r){let i=r?t.classBindings:t.styleBindings;if(da(i)!==0)return e[rn(i)]}function zO(e,t,r,i){let o=r?t.classBindings:t.styleBindings;e[rn(o)]=i}function RO(e,t,r){let i,o=t.directiveEnd;for(let n=1+t.directiveStylingLast;n<o;n++){let a=e[n].hostAttrs;i=bs(i,a,r)}return bs(i,t.attrs,r)}function pd(e,t,r,i,o){let n=null,a=r.directiveEnd,s=r.directiveStylingLast;for(s===-1?s=r.directiveStart:s++;s<a&&(n=t[s],i=bs(i,n.hostAttrs,o),n!==e);)s++;return e!==null&&(r.directiveStylingLast=s),i}function bs(e,t,r){let i=r?1:2,o=-1;if(t!==null)for(let n=0;n<t.length;n++){let a=t[n];typeof a=="number"?o=a:o===i&&(Array.isArray(e)||(e=e===void 0?[]:["",e]),Tz(e,a,r?!0:t[++n]))}return e===void 0?null:e}function OO(e,t,r,i,o,n,a,s){if(!(t.type&3))return;let l=e.data,u=l[s+1];Eu(xO(u)?A5(l,t,r,o,da(u),a):void 0)||(Eu(n)||wO(u)&&(n=A5(l,null,r,o,s,a)),n8(i,a,Ry(Ri(),r),o,n))}function A5(e,t,r,i,o,n){let a=t===null,s;for(;o>0;){let l=e[o],u=Array.isArray(l),_=u?l[1]:l,c=_===null,h=r[o+1];h===yr&&(h=c?hr:void 0);let d=c?od(h,i):_===i?h:void 0;if(u&&!Eu(d)&&(d=od(l,i)),Eu(d)&&(s=d,a))return s;let b=e[o+1];o=a?rn(b):da(b)}if(t!==null){let l=n?t.residualClasses:t.residualStyles;l!=null&&(s=od(l,i))}return s}function Eu(e){return e!==void 0}function PO(e,t){return e==null||e===""||(typeof t=="string"?e=Qh(e)+t:typeof e=="object"&&(e=cy(Qh(e)))),e}function NO(e,t){return(e.flags&(t?8:16))!==0}function fe(e,t=""){let r=Y(),i=dt(),o=e+Xe,n=i.firstCreatePass?Ta(i,o,1,t,null):i.data[o],a=MO(i,r,n,t);r[o]=a,Hf()&&rv(i,r,a,n),Ca(n,!1)}function LO(e,t,r,i=""){return Lr(e,_n(),r)?t+na(r)+i:yr}function FO(e,t,r,i,o,n=""){let a=e4(e,Qz(),r,o);return jy(2),a?t+na(r)+i+na(o)+n:yr}function Pr(e){return bt("",e),Pr}function bt(e,t,r){let i=Y(),o=LO(i,e,t,r);return o!==yr&&VC(i,Ri(),o),bt}function UC(e,t,r,i,o){let n=Y(),a=FO(n,e,t,r,i,o);return a!==yr&&VC(n,Ri(),a),UC}function VC(e,t,r){let i=Ry(t,e);y6(e[Ke],i,r)}function qC(e){Oi("NgLet");let t=dt(),r=Y(),i=e+Xe;return Ca(Ta(t,i,128,null,null),!1),Pf(t,r,i,jC),qC}function $O(e){return Pf(dt(),Y(),Ri(),e),e}function vv(e){let t=Oy(Xz(),Xe+e);if(t===jC)throw new L(314,!1);return t}function ys(e){return Lr(Y(),_n(),e)?na(e):yr}function B5(e,t,r){let i=dt();i.firstCreatePass&&GC(t,i.data,i.blueprint,ii(e),r)}function GC(e,t,r,i,o){if(e=At(e),Array.isArray(e))for(let n=0;n<e.length;n++)GC(e[n],t,r,i,o);else{let n=dt(),a=Y(),s=$r(),l=aa(e)?e:At(e.provide),u=Ty(e),_=s.providerIndexes&1048575,c=s.directiveStart,h=s.providerIndexes>>20;if(aa(e)||!e.multi){let d=new Rs(u,o,He,null),b=vd(l,t,o?_:_+h,c);b===-1?(Wh(bu(s,a),n,l),fd(n,e,t.length),t.push(l),s.directiveStart++,s.directiveEnd++,o&&(s.providerIndexes+=1048576),r.push(d),a.push(d)):(r[b]=d,a[b]=d)}else{let d=vd(l,t,_+h,c),b=vd(l,t,_,_+h),w=d>=0&&r[d],I=b>=0&&r[b];if(o&&!I||!o&&!w){Wh(bu(s,a),n,l);let C=VO(o?UO:HO,r.length,o,i,u,e);!o&&I&&(r[b].providerFactory=C),fd(n,e,t.length,0),t.push(l),s.directiveStart++,s.directiveEnd++,o&&(s.providerIndexes+=1048576),r.push(C),a.push(C)}else{let C=WC(r[o?b:d],u,!o&&i);fd(n,e,d>-1?d:b,C)}!o&&i&&I&&r[b].componentProviders++}}}function fd(e,t,r,i){let o=aa(t),n=zz(t);if(o||n){let a=(n?At(t.useClass):t).prototype.ngOnDestroy;if(a){let s=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){let l=s.indexOf(r);l===-1?s.push(r,[i,a]):s[l+1].push(i,a)}else s.push(r,a)}}}function WC(e,t,r){return r&&e.componentProviders++,e.multi.push(t)-1}function vd(e,t,r,i){for(let o=r;o<i;o++)if(t[o]===e)return o;return-1}function HO(e,t,r,i,o){return dp(this.multi,[])}function UO(e,t,r,i,o){let n=this.multi,a;if(this.providerFactory){let s=this.providerFactory.componentProviders,l=yu(i,i[H],this.providerFactory.index,o);a=l.slice(0,s),dp(n,a);for(let u=s;u<l.length;u++)a.push(l[u])}else a=[],dp(n,a);return a}function dp(e,t){for(let r=0;r<e.length;r++){let i=e[r];t.push(i())}return t}function VO(e,t,r,i,o,n){let a=new Rs(e,r,He,null);return a.multi=[],a.index=t,a.componentProviders=0,WC(a,o,i&&!r),a}function ar(e,t){return r=>{r.providersResolver=(i,o)=>B5(i,o?o(e):e,!1),t&&(r.viewProvidersResolver=(i,o)=>B5(i,o?o(t):t,!0))}}function jO(e,t){let r=e[t];return r===yr?void 0:r}function qO(e,t,r,i,o,n){let a=t+r;return Lr(e,a,o)?J8(e,a+1,n?i.call(n,o):i(o)):jO(e,a+1)}function GO(e,t){let r=dt(),i,o=e+Xe;r.firstCreatePass?(i=WO(t,r.pipeRegistry),r.data[o]=i,i.onDestroy&&(r.destroyHooks??=[]).push(o,i.onDestroy)):i=r.data[o];let n=i.factory||(i.factory=Ko(i.type,!0)),a=Xt(He);try{let s=mu(!1),l=n();return mu(s),Pf(r,Y(),o,l),l}finally{Xt(a)}}function WO(e,t){if(t)for(let r=t.length-1;r>=0;r--){let i=t[r];if(e===i.name)return i}}function ZO(e,t,r){let i=e+Xe,o=Y(),n=Oy(o,i);return KO(o,i)?qO(o,Yz(),t,n.transform,r,n):n.transform(r)}function KO(e,t){return e[H].data[t].pure}function YO(){return Oi("NgZoneless"),Bf([...ZC(),[]])}function ZC(){return[{provide:Sa,useExisting:XO},{provide:li,useClass:gR},{provide:Gf,useValue:!0}]}function QO(){return typeof $localize<"u"&&$localize.locale||up}function eP(e){let t=e.length-1;for(;t>-1;)e[t]===null&&e.splice(t,1),t--}function ir(e,t){return j7(e,t?.equal)}function Vt(e){return iD(e)}function rP(e,t){return typeof e=="function"?E5(Pm(e,tP,t?.equal),t?.debugName,t?.set):E5(Pm(e.source,e.computation,e.equal),e.debugName,e.set)}function E5(e,t,r){let i=e[Qt],o=e;if(r!==void 0){let n=a=>Nm(i,a);o.set=a=>r(a,n),o.update=a=>r(a(Vt(e)),n)}else o.set=n=>Nm(i,n),o.update=n=>tD(i,n);return o.asReadonly=iw.bind(e),o}function XC(e,t){let r=Object.create(PR);r.value=e,r.transformFn=t?.transform;function i(){if(tc(r),r.value===Wf)throw new L(-950,null);return r.value}return i[Qt]=r,i}function it(e){return new JO}function D5(e,t){return XC(e,t)}function iP(e){return XC(Wf,e)}function z5(){return new YC([new oP])}function sP(e){return lP($r(),Y(),(e&16)===16)}function lP(e,t,r){if(cn(e)&&!r){let i=oi(e.index,t);return new ip(i,i)}else if(e.type&175){let i=t[Jt];return new ip(i,t)}return null}function Ga(e){return!e.moduleRef}function cP(e){let t=Ga(e)?e.r3Injector:e.moduleRef.injector,r=t.get(li);return r.run(()=>{Ga(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let i=t.get(zs),o;if(r.runOutsideAngular(()=>{o=r.onError.subscribe({next:i})}),Ga(e)){let n=()=>t.destroy(),a=e.platformInjector.get(pp);a.add(n),t.onDestroy(()=>{o.unsubscribe(),a.delete(n)})}else{let n=()=>e.moduleRef.destroy(),a=e.platformInjector.get(pp);a.add(n),e.moduleRef.onDestroy(()=>{Zl(e.allPlatformModules,e.moduleRef),o.unsubscribe(),a.delete(n)})}return dP(i,r,()=>{let n=t.get(Ds),a=n.add(),s=t.get(OC);return s.runInitializers(),s.donePromise.then(()=>{if(gO(t.get(KC,up)||up),!t.get(uP,!0))return Ga(e)?t.get(ku):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(Ga(e)){let l=t.get(ku);return e.rootComponent!==void 0&&l.bootstrap(e.rootComponent),l}else return _P?.(e.moduleRef,e.allPlatformModules),e.moduleRef}).finally(()=>{n.remove(a)})})})}function dP(e,t,r){try{let i=r();return hv(i)?i.catch(o=>{throw t.runOutsideAngular(()=>e(o)),o}):i}catch(i){throw t.runOutsideAngular(()=>e(i)),i}}function hP(e=[],t){return ht.create({name:t,providers:[{provide:Df,useValue:"platform"},{provide:pp,useValue:new Set([()=>Kl=null])},...e]})}function pP(e=[]){if(Kl)return Kl;let t=hP(e);return Kl=t,oO(),fP(t),t}function fP(e){let t=e.get(nw,null);Fr(e,()=>{t?.forEach(r=>r())})}function vP(e){let{rootComponent:t,appProviders:r,platformProviders:i,platformRef:o}=e;ve(ce.BootstrapApplicationStart);try{let n=o?.injector??pP(i);return cP({r3Injector:new BC({providers:[ZC(),xR,...r||[]],parent:n,debugName:"",runEnvironmentInitializers:!1}).injector,platformInjector:n,rootComponent:t})}catch(n){return Promise.reject(n)}finally{ve(ce.BootstrapApplicationEnd)}}function Re(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function gP(e,t){let r=Bs(e),i=t.elementInjector||nc(),o=new dv(r).create(i,t.projectableNodes,t.hostElement,t.environmentInjector,t.directives,t.bindings);return t.onError&&(o.hostView._lView[Ay]=t.onError),o}function Du(e){let t=Bs(e);if(!t)return null;let r=new dv(t);return{get selector(){return r.selector},get type(){return r.componentType},get inputs(){return r.inputs},get outputs(){return r.outputs},get ngContentSelectors(){return r.ngContentSelectors},get isStandalone(){return t.standalone},get isSignal(){return t.signals}}}function Go(){return JC}function mP(e){JC??=e}function wP(e,t){return{key:e,value:t}}function R5(e,t){let r=e.key,i=t.key;if(r===i)return 0;if(r==null)return 1;if(i==null)return-1;if(typeof r=="string"&&typeof i=="string")return r<i?-1:1;if(typeof r=="number"&&typeof i=="number")return r-i;if(typeof r=="boolean"&&typeof i=="boolean")return r<i?-1:1;let o=String(r),n=String(i);return o==n?0:o<n?-1:1}function t2(e,t){t=encodeURIComponent(t);for(let r of e.split(";")){let i=r.indexOf("="),[o,n]=i==-1?[r,""]:[r.slice(0,i),r.slice(i+1)];if(o.trim()!==t)continue;let a=n;try{a=decodeURIComponent(n)}catch{}return a.length>1&&a[0]==='"'&&a[a.length-1]==='"'&&(a=a.slice(1,-1)),a}return null}function TP(){let e=Go()?Go().getUserAgent():"";return/android (\d+)/.test(e.toLowerCase())}function mv(e){return e==null||bv(e)===0}function bv(e){return e==null?null:Array.isArray(e)||typeof e=="string"?e.length:e instanceof Set?e.size:null}function BP(e){return t=>{if(t.value==null||e==null)return null;let r=parseFloat(t.value);return!isNaN(r)&&r<e?{min:{min:e,actual:t.value}}:null}}function EP(e){return t=>{if(t.value==null||e==null)return null;let r=parseFloat(t.value);return!isNaN(r)&&r>e?{max:{max:e,actual:t.value}}:null}}function a2(e){return mv(e.value)?{required:!0}:null}function DP(e){return e.value===!0?null:{required:!0}}function zP(e){return mv(e.value)||AP.test(e.value)?null:{email:!0}}function RP(e){return t=>{let r=t.value?.length??bv(t.value);return r===null||r===0?null:r<e?{minlength:{requiredLength:e,actualLength:r}}:null}}function OP(e){return t=>{let r=t.value?.length??bv(t.value);return r!==null&&r>e?{maxlength:{requiredLength:e,actualLength:r}}:null}}function PP(e){if(!e)return zu;let t,r;return typeof e=="string"?(r="",e.charAt(0)!=="^"&&(r+="^"),r+=e,e.charAt(e.length-1)!=="$"&&(r+="$"),t=new RegExp(r)):(r=e.toString(),t=e),i=>{if(mv(i.value))return null;let o=i.value;return t.test(o)?null:{pattern:{requiredPattern:r,actualValue:o}}}}function zu(e){return null}function s2(e){return e!=null}function l2(e){return hv(e)?wf(e):e}function u2(e){let t={};return e.forEach(r=>{t=r!=null?E(E({},t),r):t}),Object.keys(t).length===0?null:t}function c2(e,t){return t.map(r=>r(e))}function NP(e){return!e.validate}function _2(e){return e.map(t=>NP(t)?t:r=>t.validate(r))}function d2(e){if(!e)return null;let t=e.filter(s2);return t.length==0?null:function(r){return u2(c2(r,t))}}function h2(e){return e!=null?d2(_2(e)):null}function p2(e){if(!e)return null;let t=e.filter(s2);return t.length==0?null:function(r){return ez(c2(r,t).map(l2)).pipe(to(u2))}}function f2(e){return e!=null?p2(_2(e)):null}function O5(e,t){return e===null?[t]:Array.isArray(e)?[...e,t]:[e,t]}function v2(e){return e._rawValidators}function g2(e){return e._rawAsyncValidators}function fp(e){return e?Array.isArray(e)?e:[e]:[]}function Ru(e,t){return Array.isArray(e)?e.includes(t):e===t}function P5(e,t){let r=fp(t);return fp(e).forEach(i=>{Ru(r,i)||r.push(i)}),r}function N5(e,t){return fp(t).filter(r=>!Ru(e,r))}function b2(e){return(vc(e)?e.validators:e)||null}function LP(e){return Array.isArray(e)?h2(e):e||null}function y2(e,t){return(vc(t)?t.asyncValidators:e)||null}function FP(e){return Array.isArray(e)?f2(e):e||null}function vc(e){return e!=null&&!Array.isArray(e)&&typeof e=="object"}function $P(e,t,r){let i=e.controls;if(!(t?Object.keys(i):i).length)throw new L(1e3,"");if(!C2(i,r))throw new L(1001,"")}function HP(e,t,r){e._forEachChild((i,o)=>{if(r[o]===void 0)throw new L(-1002,"")})}function C2(e,t){return Object.hasOwn(e,t)}function UP(e){return e.tagName==="INPUT"||e.tagName==="SELECT"||e.tagName==="TEXTAREA"}function VP(e,t,r,i){switch(r){case"name":e.setAttribute(t,r,i);break;case"disabled":case"readonly":case"required":i?e.setAttribute(t,r,""):e.removeAttribute(t,r);break;case"max":case"min":case"minLength":case"maxLength":i!==void 0?e.setAttribute(t,r,i.toString()):e.removeAttribute(t,r)}}function ZP(e,t,r=xv){Sv(e,t),t.valueAccessor.writeValue(e.value),(e.disabled||r==="always")&&t.valueAccessor.setDisabledState?.(e.disabled),XP(e,t),QP(e,t),YP(e,t),KP(e,t)}function Pu(e,t,r=!0){let i=()=>{};t?.valueAccessor?.registerOnChange(i),t?.valueAccessor?.registerOnTouched(i),Mu(e,t),e&&(t._invokeOnDestroyCallbacks(),e._registerOnCollectionChange(()=>{}))}function Nu(e,t){e.forEach(r=>{r.registerOnValidatorChange&&r.registerOnValidatorChange(t)})}function KP(e,t){if(t.valueAccessor.setDisabledState){let r=i=>{t.valueAccessor.setDisabledState(i)};e.registerOnDisabledChange(r),t._registerOnDestroy(()=>{e._unregisterOnDisabledChange(r)})}}function Sv(e,t){let r=v2(e);t.validator!==null?e.setValidators(O5(r,t.validator)):typeof r=="function"&&e.setValidators([r]);let i=g2(e);t.asyncValidator!==null?e.setAsyncValidators(O5(i,t.asyncValidator)):typeof i=="function"&&e.setAsyncValidators([i]);let o=()=>e.updateValueAndValidity();Nu(t._rawValidators,o),Nu(t._rawAsyncValidators,o)}function Mu(e,t){let r=!1;if(e!==null){if(t.validator!==null){let o=v2(e);if(Array.isArray(o)&&o.length>0){let n=o.filter(a=>a!==t.validator);n.length!==o.length&&(r=!0,e.setValidators(n))}}if(t.asyncValidator!==null){let o=g2(e);if(Array.isArray(o)&&o.length>0){let n=o.filter(a=>a!==t.asyncValidator);n.length!==o.length&&(r=!0,e.setAsyncValidators(n))}}}let i=()=>{};return Nu(t._rawValidators,i),Nu(t._rawAsyncValidators,i),r}function XP(e,t){t.valueAccessor.registerOnChange(r=>{e._pendingValue=r,e._pendingChange=!0,e._pendingDirty=!0,e.updateOn==="change"&&S2(e,t)})}function YP(e,t){t.valueAccessor.registerOnTouched(()=>{e._pendingTouched=!0,e.updateOn==="blur"&&e._pendingChange&&S2(e,t),e.updateOn!=="submit"&&e.markAsTouched()})}function S2(e,t){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function QP(e,t){let r=(i,o)=>{t.valueAccessor.writeValue(i),o&&t.viewToModelUpdate(i)};e.registerOnChange(r),t._registerOnDestroy(()=>{e._unregisterOnChange(r)})}function JP(e,t){Sv(e,t)}function eN(e,t){return Mu(e,t)}function tN(e,t){if(!Object.hasOwn(e,"model"))return!1;let r=e.model;return r.isFirstChange()?!0:!Object.is(t,r.currentValue)}function rN(e){return Object.getPrototypeOf(e.constructor)===SP}function iN(e,t){e._syncPendingControls(),t.forEach(r=>{let i=r.control;i.updateOn==="submit"&&i._pendingChange&&(r.viewToModelUpdate(i._pendingValue),i._pendingChange=!1)})}function oN(e,t){if(!t)return null;let r,i,o;return t.forEach(n=>{n.constructor===i2?r=n:rN(n)?i=n:o=n}),o||i||r||null}function nN(e,t){let r=e.indexOf(t);r>-1&&e.splice(r,1)}function L5(e,t){let r=e.indexOf(t);r>-1&&e.splice(r,1)}function F5(e){return typeof e=="object"&&e!==null&&Object.keys(e).length===2&&"value"in e&&"disabled"in e}function $5(e){for(let t of e)t.remove()}function H5(e,t){let r=t.createElement("style");return r.textContent=e,r}function dN(e,t,r,i){let o=e.head?.querySelectorAll(`style[${bd}="${t}"],link[${bd}="${t}"]`);if(!o||o.length===0)return!1;for(let n of o)n.removeAttribute(bd),n instanceof HTMLLinkElement?i.set(n.href.slice(n.href.lastIndexOf("/")+1),{usage:0,elements:[n]}):n.textContent&&r.set(n.textContent,{usage:0,elements:[n]});return!0}function mp(e,t){let r=t.createElement("link");return r.setAttribute("rel","stylesheet"),r.setAttribute("href",e),r}function mN(e){return pN.replace(Iv,e)}function bN(e){return hN.replace(Iv,e)}function O2(e,t){return t.map(r=>r.replace(Iv,e))}function j5(e){return e.tagName==="TEMPLATE"&&e.content!==void 0}function wN(){return rs=rs||document.head.querySelector("base"),rs?rs.getAttribute("href"):null}function CN(e){return new URL(e,document.baseURI).pathname}async function TN(e,t){return vP(IN(e,t))}function IN(e,t){return{platformRef:t?.platformRef,appProviders:[...zN,...e?.providers??[]],platformProviders:DN}}function AN(){yN.makeCurrent()}function BN(){return new xa}function EN(){return l6(document),document}function PN(e,t){let r=new Map;return e.length>0&&e.replace(/^\?/,"").split("&").forEach(i=>{let o=i.indexOf("="),[n,a]=o==-1?[t.decodeKey(i),""]:[t.decodeKey(i.slice(0,o)),t.decodeValue(i.slice(o+1))],s=r.get(n)||[];s.push(a),r.set(n,s)}),r}function Z5(e){return encodeURIComponent(e).replace(NN,(t,r)=>MN[r]??t)}function wl(e){return`${e}`}function LN(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function K5(e){return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer}function X5(e){return typeof Blob<"u"&&e instanceof Blob}function Y5(e){return typeof FormData<"u"&&e instanceof FormData}function FN(e){return typeof URLSearchParams<"u"&&e instanceof URLSearchParams}function wp(){}function GN(e){e.then(wp,wp)}function J5(e){throw new L(-2825,!1)}function eb(e){let t=e.match(WN);if(t!==null)try{return new TextDecoder(t[1])}catch{}return new TextDecoder}function V2(e,t){if(!S(ZN)||e.method==="GET"||e.method==="HEAD")return t(e);try{let o=S(e2).href,{origin:n}=new URL(o),{origin:a}=new URL(e.url,n);if(n!==a)return t(e)}catch{return t(e)}let r=S(eM).getToken(),i=S(QN);return r!=null&&!e.headers.has(i)&&(e=e.clone({headers:e.headers.set(i,r)})),t(e)}function tM(e,t){return t(e)}function rM(e,t,r){return(i,o)=>Fr(r,()=>t(i,n=>e(n,o)))}function xd(e,t){return E({body:t},e)}function nM(...e){let t=[G2,yp,Cp,{provide:Ev,useExisting:Cp},{provide:q2,useFactory:()=>S(yp)},{provide:j2,useValue:V2,multi:!0}];for(let r of e)t.push(...r.\u0275providers);return Bf(t)}function aM(e){e||(e=S(si));let t=new _t(r=>{if(e.destroyed){r.next();return}return e.onDestroy(r.next.bind(r))});return r=>r.pipe(az(t))}function is(e,t){let r=t?.injector??S(ht),i=new W1(1),o=br(()=>{let n;try{n=e()}catch(a){Vt(()=>i.error(a));return}Vt(()=>i.next(n))},{injector:r,manualCleanup:!0});return r.get(si).onDestroy(()=>{o.destroy(),i.complete()}),i.asObservable()}function sM(e,t){return{provide:e,useFactory:r=>new e(r,t),deps:[Af]}}function bo(e){return[sM(Ni,e)]}function xM(){return R("div",{class:{"ui5-switch-root":!0,"ui5-switch--desktop":Ht(),"ui5-switch--disabled":this.disabled,"ui5-switch--checked":this.checked,"ui5-switch--semantic":this.graphical,"ui5-switch--no-label":!(this.graphical||this.textOn||this.textOff),"ui5-switch--safari":Vu()},role:"switch","aria-label":this.ariaLabelText,"aria-checked":this.checked,"aria-disabled":this.effectiveAriaDisabled,"aria-readonly":this.effectiveAriaReadonly,"aria-required":this.required,"aria-describedby":this.ariaDescribedBy,onClick:this._onclick,onKeyUp:this._onkeyup,onKeyDown:this._onkeydown,onFocusIn:this._onfocusin,tabindex:this.effectiveTabIndex,title:this.tooltip,children:[g("div",{class:"ui5-switch-inner",children:g("div",{class:"ui5-switch-track",part:"slider",children:R("div",{class:"ui5-switch-slider",children:[this.graphical?R(ke,{children:[g("span",{class:"ui5-switch-text ui5-switch-text--on",children:g(tt,{name:_7,class:"ui5-switch-icon-on"})}),g("span",{class:"ui5-switch-text ui5-switch-text--off",children:g(tt,{name:c1,class:"ui5-switch-icon-off"})})]}):g(ke,{children:this.hasNoLabel?R(ke,{children:[g("span",{class:"ui5-switch-text ui5-switch-text--on ui5-switch-no-label-icon",part:"text-on",children:g(tt,{name:this.sapNextIcon,class:"ui5-switch-no-label-icon-on"})}),g("span",{class:"ui5-switch-text ui5-switch-text--off ui5-switch-no-label-icon",part:"text-off",children:g(tt,{name:this.sapNextIcon,class:"ui5-switch-no-label-icon-off"})})]}):R(ke,{children:[g("span",{class:"ui5-switch-text ui5-switch-text--on",part:"text-on","aria-hidden":this._textAriaHidden,children:this._textOn}),g("span",{class:"ui5-switch-text ui5-switch-text--off",part:"text-off","aria-hidden":this._textAriaHidden,children:this._textOff})]})}),this.readonly&&g("span",{class:"ui5-switch-text ui5-switch-text--readonly",id:this.ariaDescribedBy,"aria-hidden":this._textAriaHidden,children:this.ariaDescribedByText}),g("span",{class:"ui5-switch-handle",part:"handle"})]})})}),g("input",{type:"checkbox",checked:this.checked,class:"ui5-switch-input","data-sap-no-tab-ref":!0})]})}function XM(e,t){for(let r=1,i=1;r<e.length;r++,i++)if(t[i]==="\\")i++;else if(e[r]===":")return r;throw new Error(`Unterminated $localize metadata block in "${t}".`)}function _b(e,t){return t.charAt(0)===YM?e.substring(XM(e,t)+1):e}function eL(e,t){if(e&1&&(U(0,"div",4),fe(1),W()),e&2){Si();let r=vv(1);P(),Pr(r.urlsInput.error)}}function tL(e,t){if(e&1){let r=pv();U(0,"ui5-li-custom",14)(1,"div",21)(2,"span",22),fe(3),W(),U(4,"ui5-switch",23),Pt("change",function(){let i=fs(r).$index;return vs(Si().toggleUrl(i))}),W(),U(5,"ui5-button",24),Pt("click",function(){let i=fs(r).$index;return vs(Si().removeUrl(i))}),W()()()}if(e&2){let r=t.$implicit;Si();let i=vv(1);P(2),fc("list-item-text--inactive",r.active===!1),Ot("title",ys(r.url)),P(),Pr(r.url),P(),Ot("checked",r.active!==!1),P(),Ot("tooltip",ys(i.removeButton))}}function rL(e,t){if(e&1){let r=pv();U(0,"ui5-li-custom",14)(1,"div",21)(2,"span",25),fe(3),W(),U(4,"ui5-button",24),Pt("click",function(){let i=fs(r).$implicit;return vs(Si().removeServiceProviderConfig(i[0]))}),W()()()}if(e&2){let r=t.$implicit;Si();let i=vv(1);P(3),UC(" Key: ",r[0],", Value: ",r[1]," "),P(),Ot("tooltip",ys(i.removeButton))}}function nL(e,t){if(e&1){let r=pv();U(0,"ui5-li-custom")(1,"div",10)(2,"span"),fe(3),W(),U(4,"div",11)(5,"ui5-switch",12),Pt("ui5Change",function(){let i=fs(r).$implicit;return vs(Si().onToggleChange(i.key))}),W(),U(6,"ui5-button",13),Pt("ui5Click",function(){let i=fs(r).$implicit;return vs(Si().onItemDelete(i.key))}),W()()()()}if(e&2){let r=t.$implicit,i=Si();P(3),bt(" ",r.key," ");let o=i.queryParamsFeatures.includes(r.key);P(2),Ot("tooltip",o?i.texts.tooltipQueryParam:"")("disabled",o)("checked",i.togglesForm.get(r.key).value),P(),Ot("tooltip",o?i.texts.tooltipQueryParam:"")("disabled",o)}}function lL(e,t){if(e&1&&(bi(0,"a",11)(1,"span"),fe(2),ro(),aR(),bi(3,"svg",12),Bu(4,"path",13),ro()()),e&2){let r=t.$implicit;fv("href",r.link,Hw),P(2),Pr(r.title)}}function _L(e,t){e&1&&ms(0,"div",2)}function dL(e,t){e&1&&ms(0,"ui5-icon",3)}function fL(e){return e.replace(/[A-Z]/g,t=>`-${t.toLowerCase()}`)}function vL(e){return!!e&&e.nodeType===Node.ELEMENT_NODE}function gL(e,t){if(!Td){let r=Element.prototype;Td=r.matches||r.matchesSelector||r.mozMatchesSelector||r.msMatchesSelector||r.oMatchesSelector||r.webkitMatchesSelector}return e.nodeType===Node.ELEMENT_NODE?Td.call(e,t):!1}function mL(e){let t={};return e.forEach(({propName:r,templateName:i,transform:o})=>{t[fL(i)]=[r,o]}),t}function bL(e,t){return Du(e).inputs}function yL(e,t){let r=e.childNodes,i=t.map(()=>[]),o=-1;t.some((n,a)=>n==="*"?(o=a,!0):!1);for(let n=0,a=r.length;n<a;++n){let s=r[n],l=wL(s,t,o);l!==-1&&i[l].push(s)}return i}function wL(e,t,r){let i=r;return vL(e)&&t.some((o,n)=>o!=="*"&&gL(e,o)?(i=n,!0):!1),i}function TL(e,t){let r=bL(e),i=t.strategyFactory||new xL(e),o=mL(r);class n extends kL{injector;static observedAttributes=Object.keys(o);get ngElementStrategy(){if(!this._ngElementStrategy){let s=this._ngElementStrategy=i.create(this.injector||t.injector);r.forEach(({propName:l,transform:u})=>{if(!Object.hasOwn(this,l))return;let _=this[l];delete this[l],s.setInputValue(l,_,u)})}return this._ngElementStrategy}_ngElementStrategy;constructor(s){super(),this.injector=s}attributeChangedCallback(s,l,u,_){let[c,h]=o[s];this.ngElementStrategy.setInputValue(c,u,h)}connectedCallback(){let s=!1;this.ngElementStrategy.events&&(this.subscribeToEvents(),s=!0),this.ngElementStrategy.connect(this),s||this.subscribeToEvents()}disconnectedCallback(){this._ngElementStrategy&&this._ngElementStrategy.disconnect(),this.ngElementEventsSubscription&&(this.ngElementEventsSubscription.unsubscribe(),this.ngElementEventsSubscription=null)}subscribeToEvents(){this.ngElementEventsSubscription=this.ngElementStrategy.events.subscribe(s=>{let l=new CustomEvent(s.name,{detail:s.value});this.dispatchEvent(l)})}}return r.forEach(({propName:a,transform:s,isSignal:l})=>{Object.defineProperty(n.prototype,a,{get(){let u=this.ngElementStrategy.getInputValue(a);return l&&RR(u)?u():u},set(u){this.ngElementStrategy.setInputValue(a,u,s)},configurable:!0,enumerable:!0})}),n}function EL(){let e=S(ht);BL({"development-settings":iL,"getting-started":uL,"feature-toggle":aL,"no-vpn":hL},e)}var Zx,Uu,Kx,Xx,Yx,Qx,Cg,Jx,db,eS,xg,E,te,Ip,tS,rS,Ap,hb,Te,pb,Mo,Sg,fb,Id,vb,Bp,Ad,Bd,Ed,gb,iS,Ep,uS,I_,_S,dS,Ag,fS,vS,kb,Bg,gS,mS,bS,yS,wS,CS,xS,SS,kS,TS,IS,AS,pg,fg,vg,gg,mg,bg,yg,BS,ES,DS,zS,RS,OS,PS,Eg,NS,MS,LS,FS,$S,HS,US,ng,Tb,Ib,ag,VS,jS,qS,GS,WS,ZS,KS,XS,Lv,YS,QS,JS,ek,tk,rk,Rp,Op,Ab,Pp,ik,ok,nk,ak,Fv,$v,Hv,Uv,Vv,jv,qv,Gv,Wv,Zv,Kv,Xv,Yv,Qv,Jv,eg,sk,Bb,lk,uk,ck,_k,dk,hk,pk,fk,zt,oe,A_,B_,Xi,Np,vk,Eb,Vu,gk,mk,et,Ht,Db,bk,yk,wk,zb,Rb,Ck,Dd,Ob,zd,xk,Pb,Nb,Mb,Sk,Lb,kk,Tk,Dg,Ik,Fb,Ak,Bk,Mp,Ek,Dk,zk,Yr,Rk,Rd,Ok,Pk,Nk,Ai,$b,Lp,$o,E_,Hb,Mk,Lk,Ub,Fk,$k,Hk,Uk,Od,D_,Vb,Vk,Pd,jk,Fp,qk,gr,Gk,Cs,Jl,Wk,as,wi,zg,jb,Zk,qb,Gb,Bi,Kk,xs,Xk,Yk,Qk,Jk,z_,eT,Rg,Ge,tT,rT,iT,oT,nT,aT,sT,lT,uT,cT,_T,dT,Wb,eu,hT,pT,fT,vT,Og,gT,or,mT,kl,bT,Zb,Nd,Bn,En,yT,wT,Tl,Kb,R_,Xb,CT,Il,xT,ST,Yb,Qb,Jb,kT,TT,IT,e0,AT,BT,$p,ET,Yn,Xa,Al,O_,_l,t0,r0,i0,o0,DT,zT,RT,OT,Qn,PT,Hp,NT,MT,LT,FT,n0,a0,os,Bl,El,$T,s0,l0,u0,HT,Dl,UT,VT,Up,jT,c0,_0,qT,GT,Pg,d0,WT,h0,tu,B,p0,P_,f0,ZT,On,KT,XT,YT,QT,Md,JT,eI,tI,rI,iI,Ng,oI,nI,aI,zl,Vp,sI,lI,Mg,N_,v0,uI,ss,cI,_I,dI,hI,pI,fI,jp,Ln,g0,Ss,vI,gI,m0,mI,Rl,bI,M_,b0,L_,yI,Ol,F_,$_,ls,wI,pa,CI,y0,xI,w0,ju,SI,kI,TI,II,AI,fa,BI,EI,DI,zI,RI,OI,PI,NI,MI,LI,FI,Lg,$I,HI,qu,dl,Fg,C0,x0,UI,VI,jI,qI,GI,H_,U_,$g,Lo,S0,WI,Hg,Ug,k0,Vg,ZI,KI,XI,YI,QI,qp,JI,eA,tA,jg,Pl,rA,iA,Nl,oA,nA,aA,sA,lA,uA,Ld,cA,_A,dA,hA,pA,fA,qg,vA,T0,gA,mA,bA,yA,wA,I0,V_,A0,Gg,CA,Vo,xA,Wg,SA,kA,TA,Zg,IA,AA,Kg,Xg,Gp,j_,B0,Yg,BA,E0,EA,DA,Qg,D0,zA,RA,OA,q_,z0,PA,Gu,NA,MA,ru,G_,Jg,em,LA,tm,FA,rm,$A,R0,HA,Wu,VA,im,W_,om,qA,Rr,mt,GA,ye,WA,v,ZA,V,$e,XA,lt,Zu,Ie,P0,Fo,nm,N0,Fd,M0,Wp,$d,Hd,L0,us,F0,YA,Zp,oB,lm,aB,rt,Ne,Nt,sB,Ue,W0,Ao,Bo,dr,Br,__,d_,h_,p_,Qp,Jp,so,lo,ea,lB,Vd,Z0,K0,jd,qd,uB,ou,Mt,X0,_o,nu,cs,cB,va,Ku,Y0,Q0,ef,tf,_B,Xu,J0,rf,Yu,of,Qu,Gd,e1,dB,yi,hB,um,pB,fB,vB,t1,gB,cm,r1,Z_,Wd,mB,_m,re,i1,o1,n1,Zd,bB,Kd,Wr,J,ee,CB,mr,Fl,xB,jt,tt,SB,ul,Xd,dm,Yd,hm,Qd,K_,Jd,pm,eh,fm,TB,ga,th,ki,nf,AB,ho,rh,Nr,af,ih,gm,EB,_e,qi,mm,Ro,ne,qr,X_,Fn,a1,DB,zB,RB,ta,s1,be,OB,Qr,oh,Tn,MB,Ju,Zo,Sn,l1,u1,v_,g_,c1,nh,Ya,_1,LB,FB,ah,au,d1,$B,h1,HB,UB,p1,jB,gt,qB,GB,ra,WB,ZB,KB,XB,YB,QB,Io,JB,eE,tE,sf,sh,La,nE,aE,sE,fr,su,f1,v1,cE,g1,_E,dE,m1,hE,pE,fE,Lt,Qa,vE,pl,Ct,$a,lh,In,uh,Yi,ch,Po,gE,mE,b1,bE,Rt,Ts,yE,wE,CE,xE,SE,kE,TE,IE,AE,y1,BE,EE,DE,zE,ie,RE,OE,KL,b_,ME,St,je,fl,ct,pe,We,rl,bm,LE,FE,$E,HE,_h,UE,jE,kt,$l,Ze,wg,qE,GE,WE,ZE,ym,KE,XE,w_,YE,QE,JE,dh,e3,hh,n3,a3,s3,w1,l3,u3,c3,_3,d3,h3,ph,xm,X,ue,Gi,fh,j,C_,p3,f3,lf,vh,v3,g3,po,Jr,Eo,m3,b3,Sm,uf,y3,w3,C3,x3,S3,ia,T3,A3,C1,yt,x1,$n,km,B3,Tm,Im,S1,E3,D3,z3,k1,gh,T1,P3,mh,I1,fo,Ja,N3,M3,Mr,x_,F3,Is,uo,sl,H3,nn,ei,sg,U3,bh,Ha,A1,Dn,B1,ja,V3,j3,q3,Am,Y_,Wi,Zi,Bm,G3,W3,vl,Z3,K3,X3,Y3,yh,qe,wh,Q_,Ch,Em,e7,t7,xh,r7,Sh,Zr,i7,o7,n7,Gt,Ki,Bt,E1,a7,ji,l7,Et,No,Dm,J_,nt,u7,c7,_7,d7,h7,p7,Dt,mi,zm,ed,at,g7,m7,k7,Rm,gi,qa,A7,Om,z1,B7,ec,kh,oa,E7,Ae,Dr,D7,z7,R7,ge,O7,lg,P7,N7,M7,Ut,Hl,jo,L7,Qt,ma,Hn,Un,Ci,q7,N1,Z7,F1,Q7,Th,eD,rD,td,Ti,H1,an,uu,oD,Ho,gf,lD,uD,Eh,_D,mf,_t,vD,gD,sn,q1,mD,G1,W1,bD,K1,ey,$D,UD,qD,GD,WD,ZD,ly,L,cz,hy,Um,q,Dh,zh,hz,_u,ns,Vm,fy,fz,vz,Rh,qo,mz,bz,Xo,hr,If,Af,wy,Cy,Bz,Df,Vl,jm,nd,Yo,zf,zi,H,F,qt,Or,nr,sa,du,ot,Qo,ri,Ke,hs,qm,un,Jt,la,Nn,ua,ac,Iy,oo,ad,no,vr,jn,Fz,Ay,Xe,By,Gm,sc,$z,hu,wt,Dy,zy,Hz,Z,Fh,Xy,Qy,ht,ai,si,ew,uR,cR,Ds,_R,pr,Vf,gu,hR,li,pR,gR,xa,CR,zs,xR,ow,SR,nw,aw,sw,qf,Sa,Gf,TR,lw,IR,AR,uw,BR,ER,OR,Wf,PR,ce,NR,dw,Zf,Vh,Ym,ve,qn,Rs,Gh,fw,vw,YR,Xr,xw,er,Iw,Aw,n6,r5,Xh,c6,_6,zw,d6,i5,p6,xi,Nw,g6,Uw,yr,Uo,N6,M6,Jh,zn,Jf,ka,a5,qw,$6,H6,U6,ep,Gw,t8,Ps,lC,B8,D8,z8,ip,W8,Z8,K8,_v,pc,Y8,cd,Q8,SC,op,xu,AC,y4,dv,D4,R4,np,BC,M4,RC,OC,eO,rO,iO,nO,ku,sO,S5,cO,_O,dO,HC,up,MO,jC,XO,KC,JO,tP,k,oP,nP,aP,YC,QC,pp,uP,_P,Kl,JC,bP,e2,yP,CP,xP,r2,SP,gv,kP,IP,i2,yv,o2,AP,n2,m2,wv,Wa,bl,An,Za,Ia,M5,gd,md,yl,MP,Ou,w2,jP,qP,GP,x2,WP,Cv,xv,aN,gc,k2,T2,I2,A2,Wo,sN,lN,uN,kv,B2,cN,Tv,_N,E2,D2,vp,gp,z2,bd,U5,yd,Iv,R2,hN,pN,fN,vN,gN,V5,Av,q5,bp,G5,yN,rs,W5,xN,SN,kN,DN,zN,ha,RN,ON,NN,MN,Zn,wd,Q5,M2,L2,$N,Cd,Kn,Bv,HN,H2,Cl,UN,VN,jN,yp,qN,WN,ZN,KN,XN,YN,QN,JN,eM,j2,iM,oM,q2,Cp,Ev,G2,W2,Z2,Dv,lM,uM,zv,cM,_M,K2,Lu,Fu,XL,YL,QL,JL,dM,hM,K,pM,fM,X2,vM,gM,Y2,mM,bM,yM,wM,Ni,Rv,Ov,Q2,J2,ex,tx,rx,ix,xp,CM,SM,Ft,Rn,xt,ox,he,Pv,tb,rb,ib,kM,TM,Nv,on,ob,nb,IM,AM,N,ab,$u,Ka,sb,Sd,BM,Hu,Mv,co,nx,EM,DM,zM,RM,OM,PM,NM,MM,LM,ax,FM,$M,Sp,HM,UM,sx,lx,ux,VM,lb,jM,qM,GM,WM,ut,xl,kd,ub,cb,ZM,cx,KM,Tp,YM,QM,JM,iL,oL,aL,sL,uL,cL,hL,pL,Td,CL,xL,SL,kL,hx,IL,AL,BL,px,DL,zL,il=Ma(()=>{Zx=Object.create,Uu=Object.defineProperty,Kx=Object.defineProperties,Xx=Object.getOwnPropertyDescriptor,Yx=Object.getOwnPropertyDescriptors,Qx=Object.getOwnPropertyNames,Cg=Object.getOwnPropertySymbols,Jx=Object.getPrototypeOf,db=Object.prototype.hasOwnProperty,eS=Object.prototype.propertyIsEnumerable,xg=(e,t,r)=>t in e?Uu(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,E=(e,t)=>{for(var r in t||={})db.call(t,r)&&xg(e,r,t[r]);if(Cg)for(var r of Cg(t))eS.call(t,r)&&xg(e,r,t[r]);return e},te=(e,t)=>Kx(e,Yx(t)),Ip=(e,t)=>()=>{try{return t||e((t={exports:{}}).exports,t),t.exports}catch(r){throw t=0,r}},tS=(e,t)=>{for(var r in t)Uu(e,r,{get:t[r],enumerable:!0})},rS=(e,t,r,i)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of Qx(t))!db.call(e,o)&&o!==r&&Uu(e,o,{get:()=>t[o],enumerable:!(i=Xx(t,o))||i.enumerable});return e},Ap=(e,t,r)=>(r=e!=null?Zx(Jx(e)):{},rS(t||!e||!e.__esModule?Uu(r,"default",{value:e,enumerable:!0}):r,e)),Ed={},gb=[],iS=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,Ep=Array.isArray;hb=gb.slice,Te={__e:function(e,t,r,i){for(var o,n,a;t=t.__;)if((o=t.__c)&&!o.__)try{if((n=o.constructor)&&n.getDerivedStateFromError!=null&&(o.setState(n.getDerivedStateFromError(e)),a=o.__d),o.componentDidCatch!=null&&(o.componentDidCatch(e,i||{}),a=o.__d),a)return o.__E=o}catch(s){e=s}throw e}},pb=0,Sl.prototype.setState=function(e,t){var r=this.__s!=null&&this.__s!==this.state?this.__s:this.__s=Ji({},this.state);typeof e=="function"&&(e=e(Ji({},r),this.props)),e&&Ji(r,e),e!=null&&this.__v&&(t&&this._sb.push(t),kg(this))},Sl.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),kg(this))},Sl.prototype.render=ws,Mo=[],fb=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,Id=function(e,t){return e.__v.__b-t.__v.__b},Ql.__r=0,vb=/(PointerCapture)$|Capture$/i,Bp=0,Ad=Ig(!1),Bd=Ig(!0);uS=0;I_=new Map,_S=e=>{if(!I_.has(e)){let t=e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();I_.set(e,t)}return I_.get(e)},dS=e=>_S(e);Ag=Te.vnode;Te.vnode=e=>{let t=e.props;t!==null&&typeof t=="object"&&t.class&&t.class,Ag&&Ag(e)};fS={key:"ACC_STATE_REQUIRED",defaultText:"Required"},vS={key:"ACC_STATE_DISABLED",defaultText:"Disabled"},kb={key:"ACC_STATE_READONLY",defaultText:"Read Only"},Bg={key:"ACC_STATE_EMPTY",defaultText:"Empty"},gS={key:"ACC_STATE_SINGLE_CONTROL",defaultText:"Includes element"},mS={key:"ACC_STATE_MULTIPLE_CONTROLS",defaultText:"Includes elements"},bS={key:"BUSY_INDICATOR_TITLE",defaultText:"Please wait"},yS={key:"BUTTON_ARIA_TYPE_ACCEPT",defaultText:"Positive Action"},wS={key:"BUTTON_ARIA_TYPE_REJECT",defaultText:"Negative Action"},CS={key:"BUTTON_ARIA_TYPE_EMPHASIZED",defaultText:"Default Action"},xS={key:"BUTTON_ARIA_TYPE_ATTENTION",defaultText:"Warning"},SS={key:"BUTTON_BADGE_ONE_ITEM",defaultText:"{0} item"},kS={key:"BUTTON_BADGE_MANY_ITEMS",defaultText:"{0} items"},TS={key:"BUTTON_ROLE_DESCRIPTION",defaultText:"Button"},IS={key:"LINK_ROLE_DESCRIPTION",defaultText:"Link"},AS={key:"DELETE",defaultText:"Delete"},pg={key:"EMPTY_INDICATOR_SYMBOL",defaultText:"\u2013"},fg={key:"EMPTY_INDICATOR_ACCESSIBLE_TEXT",defaultText:"Empty Value"},vg={key:"EXPANDABLE_TEXT_SHOW_MORE",defaultText:"Show More"},gg={key:"EXPANDABLE_TEXT_SHOW_LESS",defaultText:"Show Less"},mg={key:"EXPANDABLE_TEXT_CLOSE",defaultText:"Close"},bg={key:"EXPANDABLE_TEXT_SHOW_MORE_POPOVER_ARIA_LABEL",defaultText:"Show the full text"},yg={key:"EXPANDABLE_TEXT_SHOW_LESS_POPOVER_ARIA_LABEL",defaultText:"Close the popover"},BS={key:"GROUP_HEADER_TEXT",defaultText:"Group Header"},ES={key:"INPUT_SUGGESTIONS",defaultText:"Suggestions Available"},DS={key:"INPUT_SUGGESTIONS_TITLE",defaultText:"All Items"},zS={key:"INPUT_SUGGESTIONS_ONE_HIT",defaultText:"1 result available"},RS={key:"INPUT_SUGGESTIONS_MORE_HITS",defaultText:"{0} results are available"},OS={key:"INPUT_SUGGESTIONS_NO_HIT",defaultText:"No results"},PS={key:"INPUT_SUGGESTIONS_EXPANDED",defaultText:"Expanded"},Eg={key:"INPUT_SUGGESTIONS_COLLAPSED",defaultText:"Collapsed"},NS={key:"INPUT_CLEAR_ICON_ACC_NAME",defaultText:"Clear"},MS={key:"INPUT_SUGGESTIONS_OK_BUTTON",defaultText:"OK"},LS={key:"INPUT_SUGGESTIONS_CANCEL_BUTTON",defaultText:"Cancel"},FS={key:"LINK_SUBTLE",defaultText:"Subtle"},$S={key:"LINK_EMPHASIZED",defaultText:"Emphasized"},HS={key:"LIST_ROLE_DESCRIPTION",defaultText:"List with interactive items. To move to the content, press F2."},US={key:"LIST_ITEM_ACTIVE",defaultText:"Is Active"},ng={key:"LIST_ITEM_POSITION",defaultText:"List item {0} of {1}"},Tb={key:"LIST_ITEM_SELECTED",defaultText:"Selected"},Ib={key:"LIST_ITEM_NOT_SELECTED",defaultText:"Not Selected"},ag={key:"LIST_ITEM_GROUP_HEADER",defaultText:"Group Header"},VS={key:"LIST_ROLE_LIST_GROUP_DESCRIPTION",defaultText:"contains {0} sub groups with {1} items"},jS={key:"LIST_ROLE_LISTBOX_GROUP_DESCRIPTION",defaultText:"contains {0} sub groups"},qS={key:"ARIA_LABEL_LIST_ITEM_CHECKBOX",defaultText:"Multiple Selection Mode"},GS={key:"ARIA_LABEL_LIST_ITEM_RADIO_BUTTON",defaultText:"Item Selection."},WS={key:"ARIA_LABEL_LIST_SELECTABLE",defaultText:"Contains Selectable Items"},ZS={key:"ARIA_LABEL_LIST_MULTISELECTABLE",defaultText:"Contains Multi-Selectable Items"},KS={key:"ARIA_LABEL_LIST_DELETABLE",defaultText:"Contains Deletable Items"},XS={key:"INPUT_AVALIABLE_VALUES",defaultText:"Available Values"},Lv={key:"RESPONSIVE_POPOVER_CLOSE_DIALOG_BUTTON",defaultText:"Decline"},YS={key:"LOAD_MORE_TEXT",defaultText:"More"},QS={key:"LISTITEMCUSTOM_TYPE_TEXT",defaultText:"List Item"},JS={key:"VALUE_STATE_TYPE_ERROR",defaultText:"Value State Error"},ek={key:"VALUE_STATE_TYPE_WARNING",defaultText:"Value State Warning"},tk={key:"VALUE_STATE_TYPE_SUCCESS",defaultText:"Value State Success"},rk={key:"VALUE_STATE_TYPE_INFORMATION",defaultText:"Value State Information"},Rp={key:"VALUE_STATE_ERROR",defaultText:"Invalid entry"},Op={key:"VALUE_STATE_WARNING",defaultText:"Warning issued"},Ab={key:"VALUE_STATE_INFORMATION",defaultText:"Informative entry"},Pp={key:"VALUE_STATE_SUCCESS",defaultText:"Entry successfully validated"},ik={key:"VALUE_STATE_LINK",defaultText:"To move the focus to the link, press Ctrl+Alt+F8"},ok={key:"VALUE_STATE_LINK_MAC",defaultText:"To move the focus to the link, press Cmd+Option+F8"},nk={key:"VALUE_STATE_LINKS",defaultText:"To go to the first link, press Ctrl+Alt+F8. To move to the next link, use Tab"},ak={key:"VALUE_STATE_LINKS_MAC",defaultText:"To go to the first link, press Cmd+Option+F8. To move to the next link, use Tab"},Fv={key:"DIALOG_ARIA_DESCRIBEDBY_RESIZABLE",defaultText:"Use shift+arrow keys to resize"},$v={key:"DIALOG_ARIA_DESCRIBEDBY_DRAGGABLE",defaultText:"Use arrow keys to move"},Hv={key:"DIALOG_ARIA_DESCRIBEDBY_DRAGGABLE_RESIZABLE",defaultText:"Use arrow keys to move, Shift+arrow keys to resize"},Uv={key:"DIALOG_ARIA_DESCRIBEDBY_REACH_DRAGGABLE_RESIZABLE",defaultText:"Tab to the end of dialog to reach drag and resize handle."},Vv={key:"DIALOG_ARIA_DESCRIBEDBY_REACH_DRAGGABLE",defaultText:"Tab to the end of dialog to reach drag handle."},jv={key:"DIALOG_ARIA_DESCRIBEDBY_REACH_RESIZABLE",defaultText:"Tab to the end of dialog to reach resize handle."},qv={key:"DIALOG_RESIZE_HANDLE_TOOLTIP",defaultText:"Drag handle to resize (shift+arrow)"},Gv={key:"DIALOG_DRAG_AND_RESIZE_HANDLE_ARIA_LABEL",defaultText:"Drag and Resize Dialog"},Wv={key:"DIALOG_DRAG_HANDLE_ARIA_LABEL",defaultText:"Drag Dialog"},Zv={key:"DIALOG_RESIZE_HANDLE_ARIA_LABEL",defaultText:"Resize Dialog"},Kv={key:"DIALOG_HANDLE_ARIA_ROLEDESCRIPTION",defaultText:"Handle"},Xv={key:"DIALOG_HEADER_ARIA_LABEL",defaultText:"Header"},Yv={key:"DIALOG_CONTENT_ARIA_LABEL",defaultText:"Content"},Qv={key:"DIALOG_FOOTER_ARIA_LABEL",defaultText:"Footer"},Jv={key:"DIALOG_FULLSCREEN_MAXIMIZE",defaultText:"Maximize (Shift+Ctrl+F)"},eg={key:"DIALOG_FULLSCREEN_RESTORE",defaultText:"Restore (Shift+Ctrl+F)"},sk={key:"LABEL_COLON",defaultText:":"},Bb={key:"FORM_CHECKABLE_REQUIRED",defaultText:"Please tick this box if you want to proceed."},lk={key:"FORM_SELECTABLE_REQUIRED2",defaultText:"Please select one of these options."},uk={key:"CHECKBOX_CHECKED",defaultText:"Checked"},ck={key:"CHECKBOX_NOT_CHECKED",defaultText:"Not checked"},_k={key:"CHECKBOX_ARIA_TYPE",defaultText:"Checkbox"},dk={key:"SWITCH_ON",defaultText:"On"},hk={key:"SWITCH_OFF",defaultText:"Off"},pk={key:"ICON_ARIA_TYPE_IMAGE",defaultText:"Image"},fk={key:"ICON_ARIA_TYPE_INTERACTIVE",defaultText:"Button"},zt=typeof document>"u",oe={get userAgent(){return zt?"":navigator.userAgent},get touch(){return zt?!1:"ontouchstart"in window||navigator.maxTouchPoints>0},get chrome(){return zt?!1:/(Chrome|CriOS)/.test(oe.userAgent)},get firefox(){return zt?!1:/Firefox/.test(oe.userAgent)},get safari(){return zt?!1:!oe.chrome&&/(Version|PhantomJS)\/(\d+\.\d+).*Safari/.test(oe.userAgent)},get webkit(){return zt?!1:/webkit/.test(oe.userAgent)},get windows(){return zt?!1:navigator.platform.indexOf("Win")!==-1},get macOS(){return zt?!1:!!navigator.userAgent.match(/Macintosh|Mac OS X/i)},get iOS(){return zt?!1:!!navigator.platform.match(/iPhone|iPad|iPod/)||!!(oe.userAgent.match(/Mac/)&&"ontouchend"in document)},get android(){return zt?!1:!oe.windows&&/Android/.test(oe.userAgent)},get androidPhone(){return zt?!1:oe.android&&/(?=android)(?=.*mobile)/i.test(oe.userAgent)},get ipad(){return zt?!1:/ipad/i.test(oe.userAgent)||/Macintosh/i.test(oe.userAgent)&&"ontouchend"in document},_isPhone(){return Eb(),oe.touch&&!Xi}},Np=()=>{if(zt||!oe.windows)return!1;if(A_===void 0){let e=oe.userAgent.match(/Windows NT (\d+).(\d)/);A_=e?parseFloat(e[1]):0}return A_>=8},vk=()=>{if(zt||!oe.webkit)return!1;if(B_===void 0){let e=oe.userAgent.match(/(webkit)[ /]([\w.]+)/);B_=e?parseFloat(e[1]):0}return B_>=537.1},Eb=()=>{if(zt)return!1;if(Xi===void 0){if(oe.ipad){Xi=!0;return}if(oe.touch){if(Np()){Xi=!0;return}if(oe.chrome&&oe.android){Xi=!/Mobile Safari\/[.0-9]+/.test(oe.userAgent);return}let e=window.devicePixelRatio?window.devicePixelRatio:1;oe.android&&vk()&&(e=1),Xi=Math.min(window.screen.width/e,window.screen.height/e)>=600;return}Xi=oe.userAgent.indexOf("Touch")!==-1||oe.android&&!oe.androidPhone}},Vu=()=>oe.safari,gk=()=>oe.chrome,mk=()=>(Eb(),(oe.touch||Np())&&Xi),et=()=>oe._isPhone(),Ht=()=>zt?!1:!mk()&&!et()||Np(),Db=()=>oe.iOS,bk=()=>oe.macOS,yk=()=>oe.android||oe.androidPhone,wk=(e,t)=>{if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++)if(e[r]!==t[r])return!1;return!0},zb=wk,Rb=e=>{let t=e.getAttribute("form");if(t){let r=document.getElementById(t);return r instanceof HTMLFormElement?r:null}return e._internals?.form??null},Ck=e=>{Pb(e)&&Dd(e)},Dd=e=>{if(e._internals?.form){if(Ob(e),!e.name){e._internals?.setFormValue(null);return}e._internals.setFormValue(e.formFormattedValue)}},Ob=async e=>{if(!(!e.isUI5Element||!e._internals?.form))if(e._internals.setValidity({customError:!0}," "),await e.definePromise,e.formValidity&&Object.keys(e.formValidity).some(t=>t)){let t=await e.formElementAnchor?.();e._internals.setValidity(e.formValidity,e.formValidityMessage,t)}else e._internals.setValidity({})},zd=async e=>{let t=Rb(e);if(!t)return;let r=[...t.elements];await Promise.all(r.map(i=>Pb(i)?Ob(i):Promise.resolve())),t.requestSubmit()},xk=e=>{Rb(e)?.reset()},Pb=e=>"formFormattedValue"in e&&"name"in e,Nb={},Mb=Nb.hasOwnProperty,Sk=Nb.toString,Lb=Mb.toString,kk=Lb.call(Object),Tk=function(e){var t,r;return!e||Sk.call(e)!=="[object Object]"?!1:(t=Object.getPrototypeOf(e),t?(r=Mb.call(t,"constructor")&&t.constructor,typeof r=="function"&&Lb.call(r)===kk):!0)},Dg=Tk,Ik=Object.create(null),Fb=function(e,t,r,i){var o,n,a,s,l,u,_=arguments[2]||{},c=3,h=arguments.length,d=arguments[0]||!1,b=arguments[1]?void 0:Ik;for(typeof _!="object"&&typeof _!="function"&&(_={});c<h;c++)if((l=arguments[c])!=null)for(s in l)o=_[s],a=l[s],s!=="__proto__"&&_!==a&&(d&&a&&(Dg(a)||(n=Array.isArray(a)))?(n?(n=!1,u=o&&Array.isArray(o)?o:[]):u=o&&Dg(o)?o:{},_[s]=Fb(d,arguments[1],u,a)):a!==b&&(_[s]=a));return _},Ak=Fb,Bk=function(e,t){return Ak(!0,!1,...arguments)},Mp=Bk,Ek=()=>new Promise(e=>{document.body?e():document.addEventListener("DOMContentLoaded",()=>{e()})}),Dk=Ek,zk=class{constructor(){this._eventRegistry=new Map}attachEvent(e,t){let r=this._eventRegistry,i=r.get(e);if(!Array.isArray(i)){r.set(e,[t]);return}i.includes(t)||i.push(t)}detachEvent(e,t){let r=this._eventRegistry,i=r.get(e);if(!i)return;let o=i.indexOf(t);o!==-1&&i.splice(o,1),i.length===0&&r.delete(e)}fireEvent(e,t){let r=this._eventRegistry.get(e);return r?r.map(i=>i.call(this,t)):[]}fireEventAsync(e,t){return Promise.all(this.fireEvent(e,t))}isHandlerAttached(e,t){let r=this._eventRegistry.get(e);return r?r.includes(t):!1}hasListeners(e){return!!this._eventRegistry.get(e)}},Yr=zk,Rk=(e,t=document.body,r)=>{let i=document.querySelector(e);return i||(i=r?r():document.createElement(e),t.insertBefore(i,t.firstChild))},Rd=Rk,Ok=()=>{let e=document.createElement("meta");return e.setAttribute("name","ui5-shared-resources"),e.setAttribute("content",""),e},Pk=()=>typeof document>"u"?null:Rd('meta[name="ui5-shared-resources"]',document.head,Ok),Nk=(e,t)=>{let r=e.split("."),i=Pk();if(!i)return t;for(let o=0;o<r.length;o++){let n=r[o],a=o===r.length-1;Object.prototype.hasOwnProperty.call(i,n)||(i[n]=a?t:{}),i=i[n]}return i},Ai=Nk,$b=Ai("Tags",new Map),Lp=new Set,$o=new Map,Hb=-1,Mk=e=>{Lp.add(e),$b.set(e,pa())},Lk=e=>Lp.has(e),Ub=()=>[...Lp.values()],Fk=e=>{let t=$b.get(e);t===void 0&&(t=Hb),$o.has(t)||$o.set(t,new Set),$o.get(t).add(e),E_||(E_=setTimeout(()=>{$k(),$o=new Map,E_=void 0},1e3))},$k=()=>{let e=xI(),t=pa(),r=e[t],i="Multiple UI5 Web Components instances detected.";e.length>1&&(i=`${i}
|
|
7
|
+
`);return i>=0?r.slice(0,i):r}function $m(e,t){return e?t?`${e} ${t}`:e:t||""}function ln(e){return e.__forward_ref__=ln,e}function At(e){return _y(e)?e():e}function _y(e){return typeof e=="function"&&Object.hasOwn(e,cz)&&e.__forward_ref__===ln}function xe(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function dy(e){return{providers:e.providers||[],imports:e.imports||[]}}function Cf(e){return _z(e,hy)}function _z(e,t){return Object.hasOwn(e,t)&&e[t]||null}function dz(e){return(e?.[hy]??null)||null}function Hm(e){return e&&Object.hasOwn(e,Um)?e[Um]:null}function py(e){return e&&!!e.\u0275providers}function Bs(e){return Sf(e,"@Component"),e[Dh]||null}function xf(e){return Sf(e,"@Directive"),e[zh]||null}function pz(e){return Sf(e,"@Pipe"),e[hz]||null}function Sf(e,t){if(e==null)throw new L(-919,!1)}function na(e){return typeof e=="string"?e:e==null?"":String(e)}function vy(e,t){return gy("",-200,t)}function kf(e,t){throw new L(-201,!1)}function gy(e,t,r){let i=new L(t,e);return i[fy]=t,i[fz]=e,r&&(i[vz]=r),i}function gz(e){return e[fy]}function my(){return Rh}function Xt(e){let t=Rh;return Rh=e,t}function by(e,t,r){let i=Cf(e);if(i&&i.providedIn=="root")return i.value===void 0?i.value=i.factory():i.value;if(r&8)return null;if(t!==void 0)return t;kf(e,"")}function yz(e,t=0){let r=$1();if(r===void 0)throw new L(-203,!1);if(r===null)return by(e,void 0,t);{let i=wz(t),o=r.retrieve(e,i);if(pf(o)){if(i.optional)return null;throw o}return o}}function ae(e,t=0){return(my()||yz)(At(e),t)}function S(e,t){return ae(e,ds(t))}function ds(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function wz(e){return{optional:!!(e&8),host:!!(e&1),self:!!(e&2),skipSelf:!!(e&4)}}function Oh(e){let t=[];for(let r=0;r<e.length;r++){let i=At(e[r]);if(Array.isArray(i)){if(i.length===0)throw new L(900,!1);let o,n=0;for(let a=0;a<i.length;a++){let s=i[a],l=Cz(s);typeof l=="number"?l===-1?o=s.token:n|=l:o=s}t.push(ae(o,n))}else t.push(ae(i))}return t}function Cz(e){return e[mz]}function Ko(e,t){return Object.hasOwn(e,_u)?e[_u]:null}function Tf(e,t){e.forEach(r=>Array.isArray(r)?Tf(r,t):t(r))}function xz(e,t,r){t>=e.length?e.push(r):e.splice(t,0,r)}function yy(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Sz(e,t){let r=[];for(let i=0;i<e;i++)r.push(t);return r}function kz(e,t,r,i){let o=e.length;if(o==t)e.push(r,i);else if(o===1)e.push(i,e[0]),e[0]=r;else{for(o--,e.push(e[o-1],e[o]);o>t;){let n=o-2;e[o]=e[n],o--}e[t]=r,e[t+1]=i}}function Tz(e,t,r){let i=Es(e,t);return i>=0?e[i|1]=r:(i=~i,kz(e,i,t,r)),i}function od(e,t){let r=Es(e,t);if(r>=0)return e[r|1]}function Es(e,t){return Iz(e,t,1)}function Iz(e,t,r){let i=0,o=e.length>>r;for(;o!==i;){let n=i+(o-i>>1),a=e[n<<r];if(t===a)return n<<r;a>t?o=n:i=n+1}return~(o<<r)}function Bf(e){return{\u0275providers:e}}function Az(...e){return{\u0275providers:xy(!0,e),\u0275fromNgModule:!0}}function xy(e,...t){let r=[],i=new Set,o,n=a=>{r.push(a)};return Tf(t,a=>{let s=a;Ph(s,n,[],i)&&(o||=[],o.push(s))}),o!==void 0&&Sy(o,n),r}function Sy(e,t){for(let r=0;r<e.length;r++){let{ngModule:i,providers:o}=e[r];Ef(o,n=>{t(n,i)})}}function Ph(e,t,r,i){if(e=At(e),!e)return!1;let o=null,n=Hm(e),a=!n&&Bs(e);if(!n&&!a){let l=e.ngModule;if(n=Hm(l),n)o=l;else return!1}else{if(a&&!a.standalone)return!1;o=e}let s=i.has(o);if(a){if(s)return!1;if(i.add(o),a.dependencies){let l=typeof a.dependencies=="function"?a.dependencies():a.dependencies;for(let u of l)Ph(u,t,r,i)}}else if(n){if(n.imports!=null&&!s){i.add(o);let u;Tf(n.imports,_=>{Ph(_,t,r,i)&&(u||=[],u.push(_))}),u!==void 0&&Sy(u,t)}if(!s){let u=Ko(o)||(()=>new o);t({provide:o,useFactory:u,deps:hr},o),t({provide:wy,useValue:o,multi:!0},o),t({provide:If,useValue:()=>ae(o),multi:!0},o)}let l=n.providers;if(l!=null&&!s){let u=e;Ef(l,_=>{t(_,u)})}}else return!1;return o!==e&&e.providers!==void 0}function Ef(e,t){for(let r of e)py(r)&&(r=r.\u0275providers),Array.isArray(r)?Ef(r,t):t(r)}function ky(e){return e!==null&&typeof e=="object"&&Bz in e}function Ez(e){return!!(e&&e.useExisting)}function Dz(e){return!!(e&&e.useFactory)}function aa(e){return typeof e=="function"}function zz(e){return!!e.useClass}function nc(){return nd===void 0&&(nd=new Cy),nd}function Nh(e){let t=Cf(e),r=t!==null?t.factory:Ko(e);if(r!==null)return r;if(e instanceof q)throw new L(-204,!1);if(e instanceof Function)return Rz(e);throw new L(-204,!1)}function Rz(e){if(e.length>0)throw new L(-204,!1);let t=dz(e);return t!==null?()=>t.factory(e):()=>new e}function Oz(e){return ky(e)?Pn(void 0,e.useValue):Pn(Ty(e),Vl)}function Ty(e,t,r){let i;if(aa(e)){let o=At(e);return Ko(o)||Nh(o)}else if(ky(e))i=()=>At(e.useValue);else if(Dz(e))i=()=>e.useFactory(...Oh(e.deps||[]));else if(Ez(e))i=(o,n)=>ae(At(e.useExisting),n!==void 0&&n&8?8:void 0);else{let o=At(e&&(e.useClass||e.provide));if(Pz(e))i=()=>new o(...Oh(e.deps));else return Ko(o)||Nh(o)}return i}function es(e){if(e.destroyed)throw new L(-205,!1)}function Pn(e,t,r=!1){return{factory:e,value:t,multi:r?[]:void 0}}function Pz(e){return!!e.deps}function Nz(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function Mz(e){return typeof e=="function"||typeof e=="object"&&e.ngMetadataName==="InjectionToken"}function Mh(e,t){for(let r of e)Array.isArray(r)?Mh(r,t):r&&py(r)?Mh(r.\u0275providers,t):t(r)}function Fr(e,t){let r;e instanceof zf?(es(e),r=e):r=new bz(e);let i=Qi(r),o=Xt(void 0);try{return t()}finally{Qi(i),Xt(o)}}function Lz(){return my()!==void 0||$1()!=null}function ao(e){return Array.isArray(e)&&typeof e[By]=="object"}function vo(e){return Array.isArray(e)&&e[By]===!0}function Ey(e){return(e.flags&4)!==0}function cn(e){return e.componentOffset>-1}function Rf(e){return(e.flags&1)===1}function ii(e){return!!e.template}function pu(e){return(e[F]&512)!==0}function ya(e){return(e[F]&256)===256}function Yt(e){for(;Array.isArray(e);)e=e[zi];return e}function Ry(e,t){return Yt(t[e])}function ni(e,t){return Yt(t[e.index])}function Of(e,t){return e.data[t]}function Oy(e,t){return e[t]}function Pf(e,t,r,i){r>=e.data.length&&(e.data[r]=null,e.blueprint[r]=null),t[r]=i}function oi(e,t){let r=t[e];return ao(r)?r:r[zi]}function Nf(e){return(e[F]&128)===128}function Ii(e,t){return t==null?null:e[t]}function Py(e){e[Nn]=0}function Mf(e){e[F]&1024||(e[F]|=1024,Nf(e)&&wa(e))}function Uz(e,t){for(;e>0;)t=t[un],e--;return t}function ps(e){return!!(e[F]&9216||e[vr]?.dirty)}function Lh(e){e[ri].changeDetectionScheduler?.notify(8),e[F]&64&&(e[F]|=1024),ps(e)&&wa(e)}function wa(e){e[ri].changeDetectionScheduler?.notify(0);let t=Jo(e);for(;t!==null&&!(t[F]&8192||(t[F]|=8192,!Nf(t)));)t=Jo(t)}function Lf(e,t){if(ya(e))throw new L(911,!1);e[oo]===null&&(e[oo]=[]),e[oo].push(t)}function Vz(e,t){if(e[oo]===null)return;let r=e[oo].indexOf(t);r!==-1&&e[oo].splice(r,1)}function Jo(e){let t=e[qt];return vo(t)?t[qt]:t}function jz(e){return e[du]??=[]}function qz(e){return e.cleanup??=[]}function Gz(){return Z.lFrame.elementDepthCount}function Wz(){Z.lFrame.elementDepthCount++}function Ny(){Z.lFrame.elementDepthCount--}function Zz(){return Z.bindingsEnabled}function My(){return Z.skipHydrationRootTNode!==null}function Ly(e){return Z.skipHydrationRootTNode===e}function Fy(){Z.skipHydrationRootTNode=null}function Y(){return Z.lFrame.lView}function dt(){return Z.lFrame.tView}function fs(e){return Z.lFrame.contextLView=e,e[ot]}function vs(e){return Z.lFrame.contextLView=null,e}function $r(){let e=$y();for(;e!==null&&e.type===64;)e=e.parent;return e}function $y(){return Z.lFrame.currentTNode}function Kz(){let e=Z.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function Ca(e,t){let r=Z.lFrame;r.currentTNode=e,r.isParent=t}function Hy(){return Z.lFrame.isParent}function Uy(){Z.lFrame.isParent=!1}function Xz(){return Z.lFrame.contextLView}function Vy(){return Fh}function fu(e){let t=Fh;return Fh=e,t}function Yz(){let e=Z.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Qz(){return Z.lFrame.bindingIndex}function Jz(e){return Z.lFrame.bindingIndex=e}function _n(){return Z.lFrame.bindingIndex++}function jy(e){let t=Z.lFrame,r=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,r}function eR(){return Z.lFrame.inI18n}function tR(e,t){let r=Z.lFrame;r.bindingIndex=r.bindingRootIndex=e,$h(t)}function rR(){return Z.lFrame.currentDirectiveIndex}function $h(e){Z.lFrame.currentDirectiveIndex=e}function iR(e){let t=Z.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function qy(e){Z.lFrame.currentQueryIndex=e}function oR(e){let t=e[H];return t.type===2?t.declTNode:t.type===1?e[nr]:null}function Gy(e,t,r){if(r&4){let o=t,n=e;for(;(o=o.parent,o===null&&!(r&1))&&(o=oR(n),!(o===null||(n=n[un],o.type&10))););if(o===null)return!1;t=o,e=n}let i=Z.lFrame=Wy();return i.currentTNode=t,i.lView=e,!0}function Ff(e){let t=Wy(),r=e[H];Z.lFrame=t,t.currentTNode=r.firstChild,t.lView=e,t.tView=r,t.contextLView=e,t.bindingIndex=r.bindingStartIndex,t.inI18n=!1}function Wy(){let e=Z.lFrame,t=e===null?null:e.child;return t===null?Zy(e):t}function Zy(e){let t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return e!==null&&(e.child=t),t}function Ky(){let e=Z.lFrame;return Z.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}function $f(){let e=Ky();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function nR(e){return(Z.lFrame.contextLView=Uz(e,Z.lFrame.contextLView))[ot]}function Ri(){return Z.lFrame.selectedIndex}function en(e){Z.lFrame.selectedIndex=e}function lc(){let e=Z.lFrame;return Of(e.tView,e.selectedIndex)}function aR(){Z.lFrame.currentNamespace=zy}function Yy(){return Z.lFrame.currentNamespace}function Hf(){return Qy}function Uf(e){Qy=e}function Wm(e,t=null,r=null,i){let o=sR(e,t,r,i);return o.resolveInjectorInitializers(),o}function sR(e,t=null,r=null,i,o=new Set){return new zf([r||hr,Az(e)],t||nc(),null,o)}function lR(){return new ew(Y())}function vu(...e){}function tw(e){let t,r;function i(){e=vu;try{r!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(r),t!==void 0&&clearTimeout(t)}catch{}}return t=setTimeout(()=>{e(),i()}),typeof requestAnimationFrame=="function"&&(r=requestAnimationFrame(()=>{e(),i()})),()=>i()}function dR(e){return queueMicrotask(()=>e()),()=>{e=vu}}function jf(e){if(e._nesting==0&&!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 fR(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function t(){tw(()=>{e.callbackScheduled=!1,Uh(e),e.isCheckStableRunning=!0,jf(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),Uh(e)}function vR(e){let t=()=>{fR(e)},r=hR++;e._inner=e._inner.fork({name:"angular",properties:{[Vf]:!0,[gu]:r,[gu+r]:!0},onInvokeTask:(i,o,n,a,s,l)=>{if(mR(l))return i.invokeTask(n,a,s,l);try{return Zm(e),i.invokeTask(n,a,s,l)}finally{(e.shouldCoalesceEventChangeDetection&&a.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),Km(e)}},onInvoke:(i,o,n,a,s,l,u)=>{try{return Zm(e),i.invoke(n,a,s,l,u)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!bR(l)&&t(),Km(e)}},onHasTask:(i,o,n,a)=>{i.hasTask(n,a),o===n&&(a.change=="microTask"?(e._hasPendingMicrotasks=a.microTask,Uh(e),jf(e)):a.change=="macroTask"&&(e.hasPendingMacrotasks=a.macroTask))},onHandleError:(i,o,n,a)=>(i.handleError(n,a),e.runOutsideAngular(()=>e.onError.emit(a)),!1)})}function Uh(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function Zm(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Km(e){e._nesting--,jf(e)}function mR(e){return rw(e,"__ignore_ng_zone__")}function bR(e){return rw(e,"__scheduler_tick__")}function rw(e,t){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[t]===!0}function yR(e){return wR(e)?e:new CR(e)}function wR(e){return e instanceof Error||typeof e=="object"&&e!==null&&typeof e.name=="string"&&typeof e.message=="string"}function Kr(e,t){let[r,i,o]=K7(e,t?.equal),n=r;return n[Qt],n.set=i,n.update=o,n.asReadonly=iw.bind(n),n}function iw(){let e=this[Qt];if(e.readonlyFn===void 0){let t=()=>this();t[Qt]=e,e.readonlyFn=t}return e.readonlyFn}function kR(){return new qf(Y(),$r())}function br(e,t){let r=t?.injector??S(ht),i=t?.manualCleanup!==!0?r.get(si):null,o,n=r.get(qf,null,{optional:!0}),a=r.get(Sa);return n!==null?(o=DR(n.view,a,e),i instanceof ew&&i._lView===n.view&&(i=null)):o=zR(e,r.get(lw),a),o.injector=r,i!==null&&(o.onDestroyFns=[i.onDestroy(()=>o.destroy())]),new AR(o)}function DR(e,t,r){let i=Object.create(ER);return i.view=e,i.zone=typeof Zone<"u"?Zone.current:null,i.notifier=t,i.userFn=r,i.fn=cw(i,r),e[no]??=new Set,e[no].add(i),i.consumerMarkedDirty(i),i}function zR(e,t,r){let i=Object.create(BR);return i.userFn=e,i.fn=cw(i,e),i.scheduler=t,i.notifier=r,i.zone=typeof Zone<"u"?Zone.current:null,i.scheduler.add(i),i.notifier.notify(12),i}function cw(e,t){return()=>{t(r=>(e.cleanupFns??=[]).push(r))}}function RR(e){return typeof e=="function"&&e[Qt]!==void 0}function uc(e){return{toString:e}.toString()}function _w(e,t,r,i){t!==null?t.applyValueToInputSignal(t,i):e[r]=i}function MR(){return dw}function Xm(e){return e.type.prototype.ngOnChanges&&(e.setInput=FR),LR}function LR(){let e=hw(this),t=e?.current;if(t){let r=e.previous;if(r===Xo)e.previous=t;else for(let i in t)r[i]=t[i];e.current=null,this.ngOnChanges(t)}}function FR(e,t,r,i,o){let n=this.declaredInputs[i],a=hw(e)||$R(e,{previous:Xo,current:null}),s=a.current||(a.current={}),l=a.previous,u=l[n];s[n]=new NR(u&&u.currentValue,r,l===Xo),_w(e,t,o,r)}function hw(e){return Object.hasOwn(e,Vh)&&e[Vh]||null}function $R(e,t){return e[Vh]=t}function HR(e,t,r){let{ngOnChanges:i,ngOnInit:o,ngDoCheck:n}=t.type.prototype;if(i){let a=MR()(t);(r.preOrderHooks??=[]).push(e,a),(r.preOrderCheckHooks??=[]).push(e,a)}o&&(r.preOrderHooks??=[]).push(0-e,o),n&&((r.preOrderHooks??=[]).push(e,n),(r.preOrderCheckHooks??=[]).push(e,n))}function UR(e,t){for(let r=t.directiveStart,i=t.directiveEnd;r<i;r++){let{ngAfterContentInit:o,ngAfterContentChecked:n,ngAfterViewInit:a,ngAfterViewChecked:s,ngOnDestroy:l}=e.data[r].type.prototype;o&&(e.contentHooks??=[]).push(-r,o),n&&((e.contentHooks??=[]).push(r,n),(e.contentCheckHooks??=[]).push(r,n)),a&&(e.viewHooks??=[]).push(-r,a),s&&((e.viewHooks??=[]).push(r,s),(e.viewCheckHooks??=[]).push(r,s)),l!=null&&(e.destroyHooks??=[]).push(r,l)}}function jl(e,t,r){pw(e,t,3,r)}function ql(e,t,r,i){(e[F]&3)===r&&pw(e,t,r,i)}function sd(e,t){let r=e[F];(r&3)===t&&(r&=16383,r+=1,e[F]=r)}function pw(e,t,r,i){let o=i!==void 0?e[Nn]&65535:0,n=i??-1,a=t.length-1,s=0;for(let l=o;l<a;l++)if(typeof t[l+1]=="number"){if(s=t[l],i!=null&&s>=i)break}else t[l]<0&&(e[Nn]+=65536),(s<n||n==-1)&&(VR(e,r,t,l),e[Nn]=(e[Nn]&4294901760)+l+2),l++}function Qm(e,t){ve(ce.LifecycleHookStart,e,t);let r=M(null);try{t.call(e)}finally{M(r),ve(ce.LifecycleHookEnd,e,t)}}function VR(e,t,r,i){let o=r[i]<0,n=r[i+1],a=e[o?-r[i]:r[i]];o?e[F]>>14<e[Nn]>>16&&(e[F]&3)===t&&(e[F]+=16384,Qm(a,n)):Qm(a,n)}function jR(e){return(e.flags&8)!==0}function qR(e){return(e.flags&16)!==0}function GR(e,t,r){let i=0;for(;i<r.length;){let o=r[i];if(typeof o=="number"){if(o!==0)break;i++;let n=r[i++],a=r[i++],s=r[i++];e.setAttribute(t,a,s,n)}else{let n=o,a=r[++i];ZR(n)?e.setProperty(t,n,a):e.setAttribute(t,n,a),i++}}return i}function WR(e){return e===3||e===4||e===6}function ZR(e){return e.charCodeAt(0)===64}function ca(e,t){if(!(t===null||t.length===0))if(e===null||e.length===0)e=t.slice();else{let r=-1;for(let i=0;i<t.length;i++){let o=t[i];typeof o=="number"?r=o:r===0||(r===-1||r===2?Jm(e,r,o,null,t[++i]):Jm(e,r,o,null,null))}}return e}function Jm(e,t,r,i,o){let n=0,a=e.length;if(t===-1)a=-1;else for(;n<e.length;){let s=e[n++];if(typeof s=="number"){if(s===t){a=-1;break}else if(s>t){a=n-1;break}}}for(;n<e.length;){let s=e[n];if(typeof s=="number")break;if(s===r){o!==null&&(e[n+1]=o);return}n++,o!==null&&n++}a!==-1&&(e.splice(a,0,t),n=a+1),e.splice(n++,0,r),o!==null&&e.splice(n++,0,o)}function KR(e){return e!==qn}function jh(e){return e&32767}function XR(e){return e>>16}function qh(e,t){let r=XR(e),i=t;for(;r>0;)i=i[un],r--;return i}function mu(e){let t=Gh;return Gh=e,t}function QR(e,t,r){let i;typeof r=="string"?i=r.charCodeAt(0)||0:Object.hasOwn(r,ns)&&(i=r[ns]),i??=r[ns]=YR++;let o=i&fw,n=1<<o;t.data[e+(o>>vw)]|=n}function bu(e,t){let r=gw(e,t);if(r!==-1)return r;let i=t[H];i.firstCreatePass&&(e.injectorIndex=t.length,ld(i.data,e),ld(t,null),ld(i.blueprint,null));let o=mw(e,t),n=e.injectorIndex;if(KR(o)){let a=jh(o),s=qh(o,t),l=s[H].data;for(let u=0;u<8;u++)t[n+u]=s[a+u]|l[a+u]}return t[n+8]=o,n}function ld(e,t){e.push(0,0,0,0,0,0,0,0,t)}function gw(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function mw(e,t){if(e.parent&&e.parent.injectorIndex!==-1)return e.parent.injectorIndex;let r=0,i=null,o=t;for(;o!==null;){if(i=Sw(o),i===null)return qn;if(r++,o=o[un],i.injectorIndex!==-1)return i.injectorIndex|r<<16}return qn}function Wh(e,t,r){QR(e,t,r)}function bw(e,t,r){if(r&8||e!==void 0)return e;kf(t,"NodeInjector")}function yw(e,t,r,i){if(r&8&&i===void 0&&(i=null),(r&3)===0){let o=e[Qo],n=Xt(void 0);try{return o?o.get(t,i,r&8):by(t,i,r&8)}finally{Xt(n)}}return bw(i,t,r)}function ww(e,t,r,i=0,o){if(e!==null){if(t[F]&2048&&!(i&2)){let a=i6(e,t,r,i,Xr);if(a!==Xr)return a}let n=Cw(e,t,r,i,Xr);if(n!==Xr)return n}return yw(t,r,i,o)}function Cw(e,t,r,i,o){let n=t6(r);if(typeof n=="function"){if(!Gy(t,e,i))return i&1?bw(o,r,i):yw(t,r,i,o);try{let a;if(a=n(i),a==null&&!(i&8))kf(r);else return a}finally{Xy()}}else if(typeof n=="number"){let a=null,s=gw(e,t),l=qn,u=i&1?t[Jt][nr]:null;for((s===-1||i&4)&&(l=s===-1?mw(e,t):t[s+8],l===qn||!t5(i,!1)?s=-1:(a=t[H],s=jh(l),t=qh(l,t)));s!==-1;){let _=t[H];if(e5(n,s,_.data)){let c=JR(s,t,r,a,i,u);if(c!==Xr)return c}l=t[s+8],l!==qn&&t5(i,t[H].data[s+8]===u)&&e5(n,s,t)?(a=_,s=jh(l),t=qh(l,t)):s=-1}}return o}function JR(e,t,r,i,o,n){let a=t[H],s=a.data[e+8],l=e6(s,a,r,i==null?cn(s)&&Gh:i!=a&&(s.type&3)!==0,o&1&&n===s);return l!==null?yu(t,a,l,s,o):Xr}function e6(e,t,r,i,o){let n=e.providerIndexes,a=t.data,s=n&1048575,l=e.directiveStart,u=e.directiveEnd,_=n>>20,c=i?s:s+_,h=o?s+_:u;for(let d=c;d<h;d++){let b=a[d];if(d<l&&r===b||d>=l&&b.type===r)return d}if(o){let d=a[l];if(d&&ii(d)&&d.type===r)return l}return null}function yu(e,t,r,i,o){let n=e[r],a=t.data;if(n instanceof Rs){let s=n;if(s.resolving)throw vy("");let l=mu(s.canSeeViewProviders);s.resolving=!0,a[r].type||a[r];let u=s.injectImpl?Xt(s.injectImpl):null;Gy(e,i,0);try{n=e[r]=s.factory(void 0,o,a,e,i),t.firstCreatePass&&r>=i.directiveStart&&HR(r,a[r],t)}finally{u!==null&&Xt(u),mu(l),s.resolving=!1,Xy()}}return n}function t6(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=Object.hasOwn(e,ns)?e[ns]:void 0;return typeof t=="number"?t>=0?t&fw:r6:t}function e5(e,t,r){let i=1<<e;return!!(r[t+(e>>vw)]&i)}function t5(e,t){return!(e&2)&&!(e&1&&t)}function r6(){return new xw($r(),Y())}function Kf(e){return uc(()=>{let t=e.prototype.constructor,r=t[_u]||Zh(t),i=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==i;){let n=o[_u]||Zh(o);if(n&&n!==r)return n;o=Object.getPrototypeOf(o)}return n=>new n})}function Zh(e){return _y(e)?()=>{let t=Zh(At(e));return t&&t()}:Ko(e)}function i6(e,t,r,i,o){let n=e,a=t;for(;n!==null&&a!==null&&a[F]&2048&&!pu(a);){let s=Cw(n,a,r,i|2,Xr);if(s!==Xr)return s;i&=-5;let l=n.parent;if(!l){let u=a[Iy];if(u){let _=u.get(r,Xr,i);if(_!==Xr)return _}l=Sw(a),a=a[un]}n=l}return o}function Sw(e){let t=e[H],r=t.type;return r===2?t.declTNode:r===1?e[nr]:null}function Os(e){return{token:e.token,providedIn:e.autoProvided===!1?null:"root",factory:e.factory,value:void 0}}function o6(){return kw($r(),Y())}function kw(e,t){return new er(ni(e,t))}function Tw(e){return(e.flags&128)===128}function a6(){return n6++}function s6(e){Aw.set(e[ac],e)}function Kh(e){Aw.delete(e[ac])}function _a(e,t){ao(t)?(e[r5]=t[ac],s6(t)):e[r5]=t}function Bw(e){return Dw(e[hs])}function Ew(e){return Dw(e[Or])}function Dw(e){for(;e!==null&&!vo(e);)e=e[Or];return e}function l6(e){Xh=e}function u6(){if(Xh!==void 0)return Xh;if(typeof document<"u")return document;throw new L(210,!1)}function h6(e,t){if(e==null||typeof e!="object")return;let r=i5.get(e);r||(r=new WeakSet,i5.set(e,r)),r.add(t)}function Xf(e){return(e.flags&32)===32}function Rw(e,t,r=!1){return p6(e,t,r)}function Ow(e,t){let r=e.contentQueries;if(r!==null){let i=M(null);try{for(let o=0;o<r.length;o+=2){let n=r[o],a=r[o+1];if(a!==-1){let s=e.data[a];qy(n),s.contentQueries(2,t[a],a)}}}finally{M(i)}}}function Yh(e,t,r){qy(0);let i=M(null);try{t(e,r)}finally{M(i)}}function Pw(e,t,r){if(Ey(t)){let i=M(null);try{let o=t.directiveStart,n=t.directiveEnd;for(let a=o;a<n;a++){let s=e.data[a];if(s.contentQueries){let l=r[a];s.contentQueries(1,l,a)}}}finally{M(i)}}}function Qh(e){return e instanceof Nw?e.changingThisBreaksApplicationSecurity:e}function f6(e,t){let r=v6(e);if(r!=null&&r!==t){if(r==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${r} (see ${ly})`)}return r===t}function v6(e){return e instanceof Nw&&e.getTypeName()||null}function m6(e){return e=String(e),e.match(g6)?e:"unsafe:"+e}function b6(e,t){return e.createText(t)}function y6(e,t,r){e.setValue(t,r)}function Mw(e,t,r){return e.createElement(t,r)}function Gn(e,t,r,i,o){e.insertBefore(t,r,i,o)}function Lw(e,t,r){e.appendChild(t,r)}function o5(e,t,r,i,o){i!==null?Gn(e,t,r,i,o):Lw(e,t,r)}function Fw(e,t,r,i){e.removeChild(null,t,r,i)}function w6(e,t,r){e.setAttribute(t,"style",r)}function C6(e,t,r){r===""?e.removeAttribute(t,"class"):e.setAttribute(t,"class",r)}function $w(e,t,r){let{mergedAttrs:i,classes:o,styles:n}=r;i!==null&&GR(e,t,i),o!==null&&C6(e,t,o),n!==null&&w6(e,t,n)}function Hw(e){let t=x6();return t?t.sanitize(Dy.URL,e)||"":f6(e,"URL")?Qh(e):m6(na(e))}function x6(){let e=Y();return e&&e[ri].sanitizer}function S6(e,t,r){let i=e.length;for(;;){let o=e.indexOf(t,r);if(o===-1)return o;if(o===0||e.charCodeAt(o-1)<=32){let n=t.length;if(o+n===i||e.charCodeAt(o+n)<=32)return o}r=o+1}}function k6(e,t,r,i){let o=0;if(i){for(;o<t.length&&typeof t[o]=="string";o+=2)if(t[o]==="class"&&S6(t[o+1].toLowerCase(),r,0)!==-1)return!0}else if(Yf(e))return!1;if(o=t.indexOf(1,o),o>-1){let n;for(;++o<t.length&&typeof(n=t[o])=="string";)if(n.toLowerCase()===r)return!0}return!1}function Yf(e){return e.type===4&&e.value!==Uw}function T6(e,t,r){return t===(e.type===4&&!r?Uw:e.value)}function I6(e,t,r){let i=4,o=e.attrs,n=o!==null?E6(o):0,a=!1;for(let s=0;s<t.length;s++){let l=t[s];if(typeof l=="number"){if(!a&&!zr(i)&&!zr(l))return!1;if(a&&zr(l))continue;a=!1,i=l|i&1;continue}if(!a)if(i&4){if(i=2|i&1,l!==""&&!T6(e,l,r)||l===""&&t.length===1){if(zr(i))return!1;a=!0}}else if(i&8){if(o===null||!k6(e,o,l,r)){if(zr(i))return!1;a=!0}}else{let u=t[++s],_=A6(l,o,Yf(e),r);if(_===-1){if(zr(i))return!1;a=!0;continue}if(u!==""){let c;if(_>n?c="":c=o[_+1].toLowerCase(),i&2&&u!==c){if(zr(i))return!1;a=!0}}}}return zr(i)||a}function zr(e){return(e&1)===0}function A6(e,t,r,i){if(t===null)return-1;let o=0;if(i||!r){let n=!1;for(;o<t.length;){let a=t[o];if(a===e)return o;if(a===3||a===6)n=!0;else if(a===1||a===2){let s=t[++o];for(;typeof s=="string";)s=t[++o];continue}else{if(a===4)break;if(a===0){o+=4;continue}}o+=n?1:2}return-1}else return D6(t,e)}function Vw(e,t,r=!1){for(let i=0;i<t.length;i++)if(I6(e,t[i],r))return!0;return!1}function B6(e){let t=e.attrs;if(t!=null){let r=t.indexOf(5);if((r&1)===0)return t[r+1]}return null}function E6(e){for(let t=0;t<e.length;t++){let r=e[t];if(WR(r))return t}return e.length}function D6(e,t){let r=e.indexOf(4);if(r>-1)for(r++;r<e.length;){let i=e[r];if(typeof i=="number")return-1;if(i===t)return r;r++}return-1}function z6(e,t){e:for(let r=0;r<t.length;r++){let i=t[r];if(e.length===i.length){for(let o=0;o<e.length;o++)if(e[o]!==i[o])continue e;return!0}}return!1}function n5(e,t){return e?":not("+t.trim()+")":t}function R6(e){let t=e[0],r=1,i=2,o="",n=!1;for(;r<e.length;){let a=e[r];if(typeof a=="string")if(i&2){let s=e[++r];o+="["+a+(s.length>0?'="'+s+'"':"")+"]"}else i&8?o+="."+a:i&4&&(o+=" "+a);else o!==""&&!zr(a)&&(t+=n5(n,o),o=""),i=a,n=n||!zr(i);r++}return o!==""&&(t+=n5(n,o)),t}function O6(e){return e.map(R6).join(",")}function P6(e){let t=[],r=[],i=1,o=2;for(;i<e.length;){let n=e[i];if(typeof n=="string")o===2?n!==""&&t.push(n,e[++i]):o===8&&r.push(n);else{if(!zr(o))break;o=n}i++}return r.length&&t.push(1,...r),t}function Qf(e,t){return N6(e,t)}function jw(e){return e?e[un]??e:null}function L6(e,t,r){let i=Jh.get(e);if(!i||i.length===0)return;let o=t.parentNode,n=t.previousSibling,a=jw(r);for(let s=i.length-1;s>=0;s--){let{el:l,declarationView:u}=i[s],_=l.parentNode;l===t?(i.splice(s,1),zn.add(l),l.dispatchEvent(new CustomEvent("animationend",{detail:{cancel:!0}}))):n&&l===n?(i.splice(s,1),l.dispatchEvent(new CustomEvent("animationend",{detail:{cancel:!0}})),l.parentNode?.removeChild(l)):_&&o&&_!==o&&(a===null||u===null||a===u)&&(i.splice(s,1),l.dispatchEvent(new CustomEvent("animationend",{detail:{cancel:!0}})),l.parentNode?.removeChild(l))}}function F6(e,t,r){let i=jw(r),o=Jh.get(e);o?o.some(n=>n.el===t)||o.push({el:t,declarationView:i}):Jh.set(e,[{el:t,declarationView:i}])}function Oi(e){a5.has(e)||(a5.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}function V6(e,t){let r=t?.injector??S(ht);return Oi("NgAfterNextRender"),q6(e,r,t,!0)}function j6(e){return e instanceof Function?[void 0,void 0,e,void 0]:[e.earlyRead,e.write,e.mixedReadWrite,e.read]}function q6(e,t,r,i){let o=t.get(qw);o.impl??=t.get(H6);let n=t.get(ka,null,{optional:!0}),a=r?.manualCleanup!==!0?t.get(si):null,s=t.get(qf,null,{optional:!0}),l=new U6(o.impl,j6(e),s?.view,i,a,n?.snapshot(null));return o.impl.register(l),l}function s5(e,t,r,i){ep?.maybeQueueEnterAnimation(e,t,r,i)}function l5(e,t,r,i){ep===null?i(!1):ep.runLeaveAnimationsWithCallback(e,t,r,i)}function G6(e){Gw?.initViewDetachAnimations(e)}function W6(e){Gw?.clearViewDetachAnimations(e)}function Mn(e,t,r,i,o,n,a,s){if(o!=null){let l,u=!1;vo(o)?l=o:ao(o)&&(u=!0,o=o[zi]);let _=Yt(o);e===0&&i!==null?(s5(s,i,n,r),a==null?Lw(t,i,_):Gn(t,i,_,a||null,!0)):e===1&&i!==null?(Gn(t,i,_,a||null,!0),L6(n,_,s),zn.has(_)||s5(s,i,n,r)):e===2?(s?.[Fz]?.leave?.has(n.index)&&F6(n,_,s),zn.delete(_),l5(s,n,r,c=>{if(zn.has(_)){zn.delete(_);return}Fw(t,_,u,c)})):e===3&&(zn.delete(_),l5(s,n,r,()=>{t.destroyNode(_)})),l!=null&&o8(t,e,r,l,n,i,a)}}function Z6(e,t){Ww(e,t),t[zi]=null,t[nr]=null}function K6(e,t,r,i,o,n){i[zi]=o,i[nr]=t,cc(e,i,r,1,o,n)}function Ww(e,t){t[ri].changeDetectionScheduler?.notify(9),cc(e,t,t[Ke],2,null,null)}function X6(e){let t=e[hs];if(!t)return ud(e[H],e);for(;t;){let r=null;if(ao(t))r=t[hs];else{let i=t[wt];i&&(r=i)}if(!r){for(;t&&!t[Or]&&t!==e;)ao(t)&&ud(t[H],t),t=t[qt];t===null&&(t=e),ao(t)&&ud(t[H],t),r=t&&t[Or]}t=r}}function ev(e,t){let r=e[hu],i=r.indexOf(t);r.splice(i,1)}function tv(e,t){if(ya(t))return;let r=t[Ke];r.destroyNode&&cc(e,t,r,3,null,null),X6(t)}function ud(e,t){if(ya(t))return;let r=M(null);try{t[F]&=-129,t[F]|=256,t[vr]&&ic(t[vr]),Q6(e,t),Y6(e,t),t[H].type===1&&t[Ke].destroy();let i=t[la];if(i!==null&&vo(t[qt])){i!==t[qt]&&ev(i,t);let o=t[ua];o!==null&&o.detachView(e)}Kh(t)}finally{M(r)}}function Y6(e,t){let r=e.cleanup,i=t[du];if(r!==null)for(let a=0;a<r.length-1;a+=2)if(typeof r[a]=="string"){let s=r[a+3];s>=0?i[s]():i[-s].unsubscribe(),a+=2}else{let s=i[r[a+1]];r[a].call(s)}i!==null&&(t[du]=null);let o=t[oo];if(o!==null){t[oo]=null;for(let a=0;a<o.length;a++){let s=o[a];s()}}let n=t[no];if(n!==null){t[no]=null;for(let a of n)a.destroy()}}function Q6(e,t){let r;if(e!=null&&(r=e.destroyHooks)!=null)for(let i=0;i<r.length;i+=2){let o=t[r[i]];if(!(o instanceof Rs)){let n=r[i+1];if(Array.isArray(n))for(let a=0;a<n.length;a+=2){let s=o[n[a]],l=n[a+1];ve(ce.LifecycleHookStart,s,l);try{l.call(s)}finally{ve(ce.LifecycleHookEnd,s,l)}}else{ve(ce.LifecycleHookStart,o,n);try{n.call(o)}finally{ve(ce.LifecycleHookEnd,o,n)}}}}}function Zw(e,t,r){if(t===null)throw new L(510,!1);return J6(e,t.parent,r)}function J6(e,t,r){let i=t;for(;i!==null&&i.type&168;)t=i,i=t.parent;if(i===null)return r[zi];if(cn(i)){let{encapsulation:o}=e.data[i.directiveStart+i.componentOffset];if(o===xi.None||o===xi.Emulated)return null}return ni(i,r)}function Kw(e,t,r){return t8(e,t,r)}function e8(e,t,r){return e.type&40?ni(e,r):null}function rv(e,t,r,i){let o=Zw(e,i,t),n=t[Ke],a=Kw(i.parent||t[nr],i,t);if(o!=null)if(Array.isArray(r))for(let s=0;s<r.length;s++)o5(n,o,r[s],a,!1);else o5(n,o,r,a,!1)}function ts(e,t){if(t!==null){let r=t.type;if(r&3)return ni(t,e);if(r&4)return tp(-1,e[t.index]);if(r&8){let i=t.child;if(i!==null)return ts(e,i);{let o=e[t.index];return vo(o)?tp(-1,o):Yt(o)}}else{if(r&128)return ts(e,t.next);if(r&32)return Qf(t,e)()||Yt(e[t.index]);{let i=Xw(e,t);return i!==null?Array.isArray(i)?i[0]:ts(Jo(e[Jt]),i):ts(e,t.next)}}}return null}function Xw(e,t){if(t!==null){let r=e[Jt][nr],i=t.projection;return r.projection[i]}return null}function tp(e,t){let r=wt+e+1;if(r<t.length){let i=t[r],o=i[H].firstChild;if(o!==null)return ts(i,o)}return t[sc]}function iv(e,t,r,i,o,n,a){for(;r!=null;){let s=i[Qo];if(r.type===128){r=r.next;continue}let l=i[r.index],u=r.type;if(a&&t===0&&(l&&_a(Yt(l),i),r.flags|=2),!Xf(r))if(u&8)iv(e,t,r.child,i,o,n,!1),Mn(t,e,s,o,l,r,n,i);else if(u&32){let _=Qf(r,i),c;for(;c=_();)Mn(t,e,s,o,c,r,n,i);Mn(t,e,s,o,l,r,n,i)}else u&16?Yw(e,t,i,r,o,n):Mn(t,e,s,o,l,r,n,i);r=a?r.projectionNext:r.next}}function cc(e,t,r,i,o,n){e.type===3?r8(r,i,t,o,n):iv(r,i,e.firstChild,t,o,n,!1)}function r8(e,t,r,i,o){let n=r[H].firstChild,a=n.next,s=Yt(r[n.index]),l=Yt(r[a.index]),u=a.index+1,_=r[u];if(t===1||t===0)i!==null&&(_&&_.hasChildNodes()?Gn(e,i,_,o,!0):(Gn(e,i,s,o,!0),Gn(e,i,l,o,!0)));else if(t===2){if(_||(_=document.createDocumentFragment(),r[u]=_),s&&s.parentNode===_)return;let c=s;for(;c!==null;){let h=c.nextSibling;if(_.appendChild(c),c===l)break;c=h}}}function i8(e,t,r){let i=t[Ke];Yw(i,0,t,r,Zw(e,r,t),Kw(r.parent||t[nr],r,t))}function Yw(e,t,r,i,o,n){let a=r[Jt],s=a[nr].projection[i.projection];if(Array.isArray(s))for(let l=0;l<s.length;l++){let u=s[l];Mn(t,e,r[Qo],o,u,i,n,r)}else{let l=s,u=a[qt];Tw(i)&&(l.flags|=128),iv(e,t,l,u,o,n,!0)}}function o8(e,t,r,i,o,n,a){let s=i[sc];if(s!==Yt(i)&&Mn(t,e,r,n,s,o,a),(i[F]&4)===0)for(let l=wt;l<i.length;l++){let u=i[l];cc(u[H],u,e,t,n,s)}}function n8(e,t,r,i,o){if(t)o?e.addClass(r,i):e.removeClass(r,i);else{let n=i.indexOf("-")===-1?void 0:Uo.DashCase;o==null?e.removeStyle(r,i,n):(typeof o=="string"&&o.endsWith("!important")&&(o=o.slice(0,-10),n|=Uo.Important),e.setStyle(r,i,o,n))}}function ov(e,t,r,i,o,n,a,s,l,u,_){let c=Xe+i,h=c+o,d=a8(c,h),b=typeof u=="function"?u():u;return d[H]={type:e,blueprint:d,template:r,queries:null,viewQuery:s,declTNode:t,data:d.slice().fill(null,c),bindingStartIndex:c,expandoStartIndex:h,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:typeof n=="function"?n():n,pipeRegistry:typeof a=="function"?a():a,firstChild:null,schemas:l,consts:b,incompleteFirstPass:!1,ssrId:_}}function a8(e,t){let r=[];for(let i=0;i<t;i++)r.push(i<e?null:yr);return r}function s8(e){let t=e.tView;return t===null||t.incompleteFirstPass?e.tView=ov(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function nv(e,t,r,i,o,n,a,s,l,u,_){let c=t.blueprint.slice();return c[zi]=o,c[F]=i|1228,(u!==null||e&&e[F]&2048)&&(c[F]|=2048),Py(c),c[qt]=c[un]=e,c[ot]=r,c[ri]=a||e&&e[ri],c[Ke]=s||e&&e[Ke],c[Qo]=l||e&&e[Qo]||null,c[nr]=n,c[ac]=a6(),c[sa]=_,c[Iy]=u,c[Jt]=t.type==2?e[Jt]:c,c}function l8(e,t,r){let i=ni(t,e),o=s8(r),n=e[ri].rendererFactory,a=eC(e,nv(e,o,null,Qw(r),i,t,null,n.createRenderer(i,r),null,null,null));return e[t.index]=a}function Qw(e){let t=16;return e.signals?t=4096:e.onPush&&(t=64),t}function Jw(e,t,r,i){if(r===0)return-1;let o=t.length;for(let n=0;n<r;n++)t.push(i),e.blueprint.push(i),e.data.push(null);return o}function eC(e,t){return e[hs]?e[qm][Or]=t:e[hs]=t,e[qm]=t,t}function P(e=1){tC(dt(),Y(),Ri()+e,!1)}function tC(e,t,r,i){if(!i)if((t[F]&3)===3){let o=e.preOrderCheckHooks;o!==null&&jl(t,o,r)}else{let o=e.preOrderHooks;o!==null&&ql(t,o,0,r)}en(r)}function tn(e,t,r,i){let o=M(null);try{let[n,a,s]=e.inputs[r],l=null;(a&Ps.SignalBased)!==0&&(l=t[n][Qt]),l!==null&&l.transformFn!==void 0?i=l.transformFn(i):s!==null&&(i=s.call(t,i)),e.setInput!==null?e.setInput(t,l,i,r,n):_w(t,l,n,i)}finally{M(o)}}function rC(e,t,r,i,o){let n=Ri(),a=i&2;try{en(-1),a&&t.length>Xe&&tC(e,t,Xe,!1),ve(a?ce.TemplateUpdateStart:ce.TemplateCreateStart,o,r),r(i,o)}finally{en(n),ve(a?ce.TemplateUpdateEnd:ce.TemplateCreateEnd,o,r)}}function iC(e,t,r){h8(e,t,r),(r.flags&64)===64&&p8(e,t,r)}function av(e,t,r=ni){let i=t.localNames;if(i!==null){let o=t.index+1;for(let n=0;n<i.length;n+=2){let a=i[n+1],s=a===-1?r(t,e):e[a];e[o++]=s}}}function u8(e,t,r,i){let o=i.get(d6,zw)||r===xi.ShadowDom||r===xi.ExperimentalIsolatedShadowDom;return e.selectRootElement(t,o)}function c8(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function _8(e,t,r,i,o,n){let a=t[H];if(sv(e,a,t,r,i)){cn(e)&&d8(t,e.index);return}e.type&3&&(r=c8(r)),oC(e,t,r,i,o,n)}function oC(e,t,r,i,o,n){if(e.type&3){let a=ni(e,t);i=n!=null?n(i,e.value||"",r):i,o.setProperty(a,r,i)}else e.type&12}function d8(e,t){let r=oi(t,e);r[F]&16||(r[F]|=64)}function h8(e,t,r){let i=r.directiveStart,o=r.directiveEnd;cn(r)&&l8(t,r,e.data[i+r.componentOffset]),e.firstCreatePass||bu(r,t);let n=r.initialInputs;for(let a=i;a<o;a++){let s=e.data[a],l=yu(t,e,a,r);if(_a(l,t),n!==null&&b8(t,a-i,l,s,r,n),ii(s)){let u=oi(r.index,t);u[ot]=yu(t,e,a,r)}}}function p8(e,t,r){let i=r.directiveStart,o=r.directiveEnd,n=r.index,a=rR();try{en(n);for(let s=i;s<o;s++){let l=e.data[s],u=t[s];$h(s),(l.hostBindings!==null||l.hostVars!==0||l.hostAttrs!==null)&&f8(l,u)}}finally{en(-1),$h(a)}}function f8(e,t){e.hostBindings!==null&&e.hostBindings(1,t)}function v8(e,t){let r=e.directiveRegistry,i=null;if(r)for(let o=0;o<r.length;o++){let n=r[o];Vw(t,n.selectors,!1)&&(i??=[],ii(n)?i.unshift(n):i.push(n))}return i}function g8(e,t,r,i,o,n){let a=ni(e,t);m8(t[Ke],a,n,e.value,r,i,o)}function m8(e,t,r,i,o,n,a){if(n==null)a?.(n,i||"",o),e.removeAttribute(t,o,r);else{let s=a==null?na(n):a(n,i||"",o);e.setAttribute(t,o,s,r)}}function b8(e,t,r,i,o,n){let a=n[t];if(a!==null)for(let s=0;s<a.length;s+=2){let l=a[s],u=a[s+1];tn(i,r,l,u)}}function nC(e,t,r,i,o){let n=Xe+r,a=t[H],s=o(a,t,e,i,r);t[n]=s,Ca(e,!0);let l=e.type===2;return l?($w(t[Ke],s,e),(Gz()===0||Rf(e))&&_a(s,t),Wz()):_a(s,t),Hf()&&(!l||!Xf(e))&&rv(a,t,s,e),e}function aC(e){let t=e;return Hy()?Uy():(t=t.parent,Ca(t,!1)),t}function y8(e,t){let r=e[Qo];if(!r)return;let i;try{i=r.get(zs,null)}catch{i=null}i?.(t)}function sv(e,t,r,i,o){let n=e.inputs?.[i],a=e.hostDirectiveInputs?.[i],s=!1;if(a)for(let l=0;l<a.length;l+=2){let u=a[l],_=a[l+1],c=t.data[u];tn(c,r[u],_,o),s=!0}if(n)for(let l of n){let u=r[l],_=t.data[l];tn(_,u,i,o),s=!0}return s}function w8(e,t,r,i,o,n){let a=null,s=null,l=null,u=!1,_=e.directiveToIndex.get(i.type);if(typeof _=="number"?a=_:[a,s,l]=_,s!==null&&l!==null&&e.hostDirectiveInputs&&Object.hasOwn(e.hostDirectiveInputs,o)){let c=e.hostDirectiveInputs[o];for(let h=0;h<c.length;h+=2){let d=c[h];if(d>=s&&d<=l){let b=t.data[d],w=c[h+1];tn(b,r[d],w,n),u=!0}else if(d>l)break}}return a!==null&&Object.hasOwn(i.inputs,o)&&(tn(i,r[a],o,n),u=!0),u}function C8(e,t){let r=oi(t,e),i=r[H];x8(i,r);let o=r[zi];o!==null&&r[sa]===null&&(r[sa]=Rw(o,r[Qo])),ve(ce.ComponentStart);try{lv(i,r,r[ot])}finally{ve(ce.ComponentEnd,r[ot])}}function x8(e,t){for(let r=t.length;r<e.blueprint.length;r++)t.push(e.blueprint[r])}function lv(e,t,r){Ff(t);try{let i=e.viewQuery;i!==null&&Yh(1,i,r);let o=e.template;o!==null&&rC(e,t,o,1,r),e.firstCreatePass&&(e.firstCreatePass=!1),t[ua]?.finishViewCreation(e),e.staticContentQueries&&Ow(e,t),e.staticViewQueries&&Yh(2,e.viewQuery,r);let n=e.components;n!==null&&S8(t,n)}catch(i){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),i}finally{t[F]&=-5,$f()}}function S8(e,t){for(let r=0;r<t.length;r++)C8(e,t[r])}function _c(e,t,r,i){let o=M(null);try{let n=t.tView,a=nv(e,n,r,e[F]&4096?4096:16,null,t,null,null,i?.injector??null,i?.embeddedViewInjector??null,i?.dehydratedView??null);a[la]=e[t.index];let s=e[ua];return s!==null&&(a[ua]=s.createEmbeddedView(n)),lv(n,a,r),a}finally{M(o)}}function dc(e,t){return!t||t.firstChild===null||Tw(e)}function wu(e,t,r,i,o=!1){if(e.type===3){let n=e.firstChild,a=n.next,s=Yt(t[n.index]),l=Yt(t[a.index]),u=s;for(;u!==null&&(i.push(u),u!==l);)u=u.nextSibling;return i}for(;r!==null;){if(r.type===128){r=o?r.projectionNext:r.next;continue}let n=t[r.index];if(n!==null)if(vo(n)){let s=n[sc];s!==n[zi]&&i.push(Yt(n)),n[F]&4||k8(n,i),i.push(s)}else i.push(Yt(n));let a=r.type;if(a&8)wu(e,t,r.child,i);else if(a&32){let s=Qf(r,t),l;for(;l=s();)i.push(l)}else if(a&16){let s=Xw(t,r);if(Array.isArray(s))i.push(...s);else{let l=Jo(t[Jt]);wu(l[H],l,s,i,!0)}}r=o?r.projectionNext:r.next}return i}function k8(e,t){for(let r=wt;r<e.length;r++){let i=e[r],o=i[H].firstChild;o!==null&&wu(i[H],i,o,t)}}function sC(e){if(e[jn]!==null){for(let t of e[jn])t.impl.addSequence(t);e[jn].length=0}}function T8(e){return e[vr]??I8(e)}function I8(e){let t=lC.pop()??Object.create(B8);return t.lView=e,t}function A8(e){e.lView[vr]!==e&&(e.lView=null,lC.push(e))}function E8(e){let t=e[vr]??Object.create(D8);return t.lView=e,t}function uC(e){return e.type!==2}function cC(e){if(e[no]===null)return;let t=!0;for(;t;){let r=!1;for(let i of e[no])if(i.dirty&&(r=!0,i.zone===null||Zone.current===i.zone?i.run():i.zone.run(()=>i.run()),e[no]===null))return;t=r&&!!(e[F]&8192)}}function _C(e,t=0){let r=e[ri].rendererFactory;r.begin?.();try{R8(e,t)}finally{r.end?.()}}function R8(e,t){let r=Vy();try{fu(!0),rp(e,t);let i=0;for(;ps(e);){if(i===z8)throw new L(103,!1);i++,rp(e,1)}}finally{fu(r)}}function O8(e,t,r,i){if(ya(t))return;let o=t[F];Ff(t);let n=!0,a=null,s=null;uC(e)?(s=T8(t),a=_s(s)):F7()===null?(n=!1,s=E8(t),a=_s(s)):t[vr]&&(ic(t[vr]),t[vr]=null);try{Py(t),Jz(e.bindingStartIndex),r!==null&&rC(e,t,r,2,i);let l=(o&3)===3;if(l){let c=e.preOrderCheckHooks;c!==null&&jl(t,c,null)}else{let c=e.preOrderHooks;c!==null&&ql(t,c,0,null),sd(t,0)}if(P8(t),cC(t),dC(t,0),e.contentQueries!==null&&Ow(e,t),l){let c=e.contentCheckHooks;c!==null&&jl(t,c)}else{let c=e.contentHooks;c!==null&&ql(t,c,1),sd(t,1)}M8(e,t);let u=e.components;u!==null&&pC(t,u,0);let _=e.viewQuery;if(_!==null&&Yh(2,_,i),l){let c=e.viewCheckHooks;c!==null&&jl(t,c)}else{let c=e.viewHooks;c!==null&&ql(t,c,2),sd(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[ad]){for(let c of t[ad])c();t[ad]=null}sC(t),t[F]&=-73}catch(l){let u=!1,_=l,c=t;for(;c!==null;){if(vo(c)){c=c[qt];continue}let h=c[Ay];if(h)try{let d=t[Jt][ot],b={declarationInstance:d,declarationType:d?.constructor,caughtBy:h};h(yR(_),b),u=!0;break}catch(d){_=d}c=c[qt]}if(!u)throw wa(t),_}finally{s!==null&&(rc(s,a),n&&A8(s)),$f()}}function dC(e,t){for(let r=Bw(e);r!==null;r=Ew(r))for(let i=wt;i<r.length;i++){let o=r[i];hC(o,t)}}function P8(e){for(let t=Bw(e);t!==null;t=Ew(t)){if(!(t[F]&2))continue;let r=t[hu];for(let i=0;i<r.length;i++){let o=r[i];Mf(o)}}}function N8(e,t,r){ve(ce.ComponentStart);let i=oi(t,e);try{hC(i,r)}finally{ve(ce.ComponentEnd,i[ot])}}function hC(e,t){Nf(e)&&rp(e,t)}function rp(e,t){let r=e[H],i=e[F],o=e[vr],n=!!(t===0&&i&16);if(n||=!!(i&64&&t===0),n||=!!(i&1024),n||=!!(o?.dirty&&cf(o)),n||=!1,o&&(o.dirty=!1),e[F]&=-9217,n)O8(r,e,r.template,e[ot]);else if(i&8192){let a=M(null);try{cC(e),dC(e,1);let s=r.components;s!==null&&pC(e,s,1),sC(e)}finally{M(a)}}}function pC(e,t,r){for(let i=0;i<t.length;i++)N8(e,t[i],r)}function M8(e,t){let r=e.hostBindingOpCodes;if(r!==null)try{for(let i=0;i<r.length;i++){let o=r[i];if(o<0)en(~o);else{let n=o,a=r[++i],s=r[++i];tR(a,n);let l=t[n];ve(ce.HostBindingsUpdateStart,l);try{s(2,l)}finally{ve(ce.HostBindingsUpdateEnd,l)}}}}finally{en(-1)}}function uv(e,t){let r=Vy()?64:1088;for(e[ri].changeDetectionScheduler?.notify(t);e;){e[F]|=r;let i=Jo(e);if(pu(e)&&!i)return e;e=i}return null}function L8(e,t,r,i){return[e,!0,0,t,null,i,null,r,null,null]}function fC(e,t){let r=wt+t;if(r<e.length)return e[r]}function hc(e,t,r,i=!0){let o=t[H];if(F8(o,t,e,r),i){let a=tp(r,e),s=t[Ke],l=s.parentNode(e[sc]);l!==null&&K6(o,e[nr],s,t,l,a)}let n=t[sa];n!==null&&n.firstChild!==null&&(n.firstChild=null)}function vC(e,t){let r=cv(e,t);return r!==void 0&&tv(r[H],r),r}function cv(e,t){if(e.length<=wt)return;let r=wt+t,i=e[r];if(i){let o=i[la];o!==null&&o!==e&&ev(o,i),t>0&&(e[r-1][Or]=i[Or]);let n=yy(e,wt+t);Z6(i[H],i);let a=n[ua];a!==null&&a.detachView(n[H]),i[qt]=null,i[Or]=null,i[F]&=-129}return i}function F8(e,t,r,i){let o=wt+i,n=r.length;i>0&&(r[o-1][Or]=t),i<n-wt?(t[Or]=r[o],xz(r,wt+i,t)):(r.push(t),t[Or]=null),t[qt]=r;let a=t[la];a!==null&&r!==a&&gC(a,t);let s=t[ua];s!==null&&s.insertView(e),Lh(t),t[F]|=128}function gC(e,t){let r=e[hu],i=t[qt];if(ao(i))e[F]|=2;else{let o=i[qt][Jt];t[Jt]!==o&&(e[F]|=2)}r===null?e[hu]=[t]:r.push(t)}function $8(e){return ps(e._lView)||!!(e._lView[F]&64)}function H8(e){Mf(e._lView)}function Ta(e,t,r,i,o){let n=e.data[t];if(n===null)n=U8(e,t,r,i,o),eR()&&(n.flags|=32);else if(n.type&64){n.type=r,n.value=i,n.attrs=o;let a=Kz();n.injectorIndex=a===null?-1:a.injectorIndex}return Ca(n,!0),n}function U8(e,t,r,i,o){let n=$y(),a=Hy(),s=a?n:n&&n.parent,l=e.data[t]=j8(e,s,r,t,i,o);return V8(e,l,n,a),l}function V8(e,t,r,i){e.firstChild===null&&(e.firstChild=t),r!==null&&(i?r.child==null&&t.parent!==null&&(r.child=t):r.next===null&&(r.next=t,t.prev=r))}function j8(e,t,r,i,o,n){let a=t?t.injectorIndex:-1,s=0;return My()&&(s|=128),{type:r,index:i,insertBeforeIndex:null,injectorIndex:a,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,controlDirectiveIndex:-1,customControlIndex:-1,propertyBindings:null,flags:s,providerIndexes:0,value:o,namespace:Yy(),attrs:n,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:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function q8(e){let t=e[Gm]??[],r=e[qt][Ke],i=[];for(let o of t)o.data[_6]!==void 0?i.push(o):G8(o,r);e[Gm]=i}function G8(e,t){let r=0,i=e.firstChild;if(i){let o=e.data[c6];for(;r<o;){let n=i.nextSibling;Fw(t,i,!1),i=n,r++}}}function mC(e,t){return W8(e,t)}function bC(e,t,r){return Z8(e,t,r)}function X8(){let e=Y(),t=oi($r().index,e);return(ao(t)?t:e)[Ke]}function yC(e){return e.debugInfo?.className||e.type.name||null}function wC(e){return e!==null&&(typeof e=="function"||typeof e=="object")}function J8(e,t,r){return e[t]=r}function Lr(e,t,r){if(r===yr)return!1;let i=e[t];return Object.is(i,r)?!1:(e[t]=r,!0)}function eO(e,t,r,i){let o=Lr(e,t,r);return Lr(e,t+1,i)||o}function Wn(e,t,r){return function i(o){let n=i.__ngNativeEl__;n!==void 0&&h6(o,n),uv(cn(e)?oi(e.index,t):t,5);let a=t[ot],s=u5(t,a,r,o),l=i.__ngNextListenerFn__;for(;l;)s=u5(t,a,l,o)&&s,l=l.__ngNextListenerFn__;return s}}function u5(e,t,r,i){let o=M(null);try{return ve(ce.OutputStart,t,r),r(i)!==!1}catch(n){return y8(e,n),!1}finally{ve(ce.OutputEnd,t,r),M(o)}}function CC(e,t,r,i,o,n,a,s){let l=Rf(e),u=!1,_=null;if(!i&&l&&(_=rO(t,r,n,e.index)),_!==null){let c=_.__ngLastListenerFn__||_;c.__ngNextListenerFn__=a,_.__ngLastListenerFn__=a,u=!0}else{let c=ni(e,r),h=i?i(c):c;i||(s.__ngNativeEl__=c);let d=o.listen(h,n,s);tO(n)||xC(i?b=>i(Yt(b[e.index])):e.index,t,r,n,s,d,!1)}return u}function tO(e){return e.startsWith("animation")||e.startsWith("transition")}function rO(e,t,r,i){let o=e.cleanup;if(o!=null)for(let n=0;n<o.length-1;n+=2){let a=o[n];if(a===r&&o[n+1]===i){let s=t[du],l=o[n+2];return s&&s.length>l?s[l]:null}typeof a=="string"&&(n+=2)}return null}function xC(e,t,r,i,o,n,a){let s=t.firstCreatePass?qz(t):null,l=jz(r),u=l.length;l.push(o,n),s&&s.push(i,e,u,(u+1)*(a?-1:1))}function c5(e,t,r,i,o){let n=null,a=null,s=null,l=!1,u=e.directiveToIndex.get(r.type);if(typeof u=="number"?n=u:[n,a,s]=u,a!==null&&s!==null&&e.hostDirectiveOutputs&&Object.hasOwn(e.hostDirectiveOutputs,i)){let _=e.hostDirectiveOutputs[i];for(let c=0;c<_.length;c+=2){let h=_[c];if(h>=a&&h<=s)l=!0,Cu(e,t,h,_[c+1],i,o);else if(h>s)break}}return Object.hasOwn(r.outputs,i)&&(l=!0,Cu(e,t,n,i,i,o)),l}function Cu(e,t,r,i,o,n){let a=t[r],s=t[H],l=a[s.data[r].outputs[i]].subscribe(n);xC(e.index,s,t,o,n,l,!0)}function Gl(){iO()}function iO(){let e=Y(),t=dt(),r=$r();if(t.firstCreatePass&&nO(t,r),r.controlDirectiveIndex===-1)return;Oi("NgSignalForms");let i=e[r.controlDirectiveIndex];t.data[r.controlDirectiveIndex].controlDef.create(i,new SC(e,t,r))}function Wl(){oO()}function oO(){let e=Y(),t=dt(),r=lc();if(r.controlDirectiveIndex===-1)return;let i=t.data[r.controlDirectiveIndex].controlDef,o=e[r.controlDirectiveIndex];i.update(o,new SC(e,t,r))}function _5(e){return typeof e=="function"&&"\u0275dir"in e?e.\u0275dir.hostDirectives??null:null}function d5(e,t,r){if(!t.inputs||!Object.hasOwn(t.inputs,r))return;let[i,o]=t.inputs[r];if((o&Ps.SignalBased)!==0){let n=e[i][Qt];return n.value===Wf?void 0:n.value}return e[i]}function nO(e,t,r){for(let o=t.directiveStart;o<t.directiveEnd;o++)if(e.data[o].controlDef){t.controlDirectiveIndex=o;break}if(t.controlDirectiveIndex===-1)return;let i=e.data[t.controlDirectiveIndex].controlDef;if(i.passThroughInput&&(t.inputs?.[i.passThroughInput]?.length??0)>1){t.flags|=4096;return}aO(e,t)}function aO(e,t){for(let r=t.directiveStart;r<t.directiveEnd;r++){let i=e.data[r];if(!(t.directiveToIndex&&!t.directiveToIndex.has(i.type))){if(h5(i,"value")){t.flags|=1024,t.customControlIndex=r;return}if(h5(i,"checked")){t.flags|=2048,t.customControlIndex=r;return}}}if(t.hostDirectiveInputs!==null&&t.hostDirectiveOutputs!==null&&t.directiveToIndex!==null){let r=(i,o)=>{let n=t.hostDirectiveInputs[i],a=t.hostDirectiveOutputs[i+"Change"];if(!n||!a)return!1;for(let s=0;s<n.length;s+=2){let l=n[s];for(let u=0;u<a.length;u+=2)if(l===a[u])for(let _ of t.directiveToIndex.values()){if(!Array.isArray(_))continue;let[c,h,d]=_;if(l>=h&&l<=d)return t.flags|=o,t.customControlIndex=c,!0}}return!1};if(r("value",1024)||r("checked",2048))return}}function h5(e,t){return sO(e,t)&&lO(e,t+"Change")}function sO(e,t){return t in e.inputs}function lO(e,t){return t in e.outputs}function Su(e,t,r){let i=r?e.styles:null,o=r?e.classes:null,n=0;if(t!==null)for(let a=0;a<t.length;a++){let s=t[a];if(typeof s=="number")n=s;else if(n==1)o=$m(o,s);else if(n==2){let l=s,u=t[++a];i=$m(i,l+": "+u+";")}}r?e.styles=i:e.stylesWithoutHost=i,r?e.classes=o:e.classesWithoutHost=o}function He(e,t=0){let r=Y();return r===null?ae(e,t):ww($r(),r,At(e),t)}function uO(e,t,r,i,o){let n=i===null?null:{"":-1},a=o(e,r);if(a!==null){let s=a,l=null,u=null;for(let _ of a)if(_.resolveHostDirectives!==null){[s,l,u]=_.resolveHostDirectives(a);break}dO(e,t,r,s,n,l,u)}n!==null&&i!==null&&cO(r,i,n)}function cO(e,t,r){let i=e.localNames=[];for(let o=0;o<t.length;o+=2){let n=r[t[o+1]];if(n==null)throw new L(-301,!1);i.push(t[o],n)}}function _O(e,t,r){t.componentOffset=r,(e.components??=[]).push(t.index)}function dO(e,t,r,i,o,n,a){let s=i.length,l=null;for(let h=0;h<s;h++){let d=i[h];l===null&&ii(d)&&(l=d,_O(e,r,h)),Wh(bu(r,t),e,d.type)}mO(r,e.data.length,s),l?.viewProvidersResolver&&l.viewProvidersResolver(l);for(let h=0;h<s;h++){let d=i[h];d.providersResolver&&d.providersResolver(d)}let u=!1,_=!1,c=Jw(e,t,s,null);s>0&&(r.directiveToIndex=new Map);for(let h=0;h<s;h++){let d=i[h];if(r.mergedAttrs=ca(r.mergedAttrs,d.hostAttrs),pO(e,r,t,c,d),gO(c,d,o),a!==null&&a.has(d)){let[w,I]=a.get(d);r.directiveToIndex.set(d.type,[c,w+r.directiveStart,I+r.directiveStart])}else(n===null||!n.has(d))&&r.directiveToIndex.set(d.type,c);d.contentQueries!==null&&(r.flags|=4),(d.hostBindings!==null||d.hostAttrs!==null||d.hostVars!==0)&&(r.flags|=64);let b=d.type.prototype;!u&&(b.ngOnChanges||b.ngOnInit||b.ngDoCheck)&&((e.preOrderHooks??=[]).push(r.index),u=!0),!_&&(b.ngOnChanges||b.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(r.index),_=!0),c++}hO(e,r,n)}function hO(e,t,r){for(let i=t.directiveStart;i<t.directiveEnd;i++){let o=e.data[i];if(r===null||!r.has(o))p5(0,t,o,i),p5(1,t,o,i),v5(t,i,!1);else{let n=r.get(o);f5(0,t,n,i),f5(1,t,n,i),v5(t,i,!0)}}}function p5(e,t,r,i){let o=e===0?r.inputs:r.outputs;for(let n in o)if(Object.hasOwn(o,n)){let a;e===0?a=t.inputs??={}:a=t.outputs??={},a[n]??=[],a[n].push(i),kC(t,n)}}function f5(e,t,r,i){let o=e===0?r.inputs:r.outputs;for(let n in o)if(Object.hasOwn(o,n)){let a=o[n],s;e===0?s=t.hostDirectiveInputs??={}:s=t.hostDirectiveOutputs??={},s[a]??=[],s[a].push(i,n),kC(t,a)}}function kC(e,t){t==="class"?e.flags|=8:t==="style"&&(e.flags|=16)}function v5(e,t,r){let{attrs:i,inputs:o,hostDirectiveInputs:n}=e;if(i===null||!r&&o===null||r&&n===null||Yf(e)){e.initialInputs??=[],e.initialInputs.push(null);return}let a=null,s=0;for(;s<i.length;){let l=i[s];if(l===0){s+=4;continue}else if(l===5){s+=2;continue}else if(typeof l=="number")break;if(!r&&Object.hasOwn(o,l)){let u=o[l];for(let _ of u)if(_===t){a??=[],a.push(l,i[s+1]);break}}else if(r&&Object.hasOwn(n,l)){let u=n[l];for(let _=0;_<u.length;_+=2)if(u[_]===t){a??=[],a.push(u[_+1],i[s+1]);break}}s+=2}e.initialInputs??=[],e.initialInputs.push(a)}function pO(e,t,r,i,o){e.data[i]=o;let n=new Rs(o.factory||(o.factory=Ko(o.type,!0)),ii(o),He,null);e.blueprint[i]=n,r[i]=n,fO(e,t,i,Jw(e,r,o.hostVars,yr),o)}function fO(e,t,r,i,o){let n=o.hostBindings;if(n){let a=e.hostBindingOpCodes;a===null&&(a=e.hostBindingOpCodes=[]);let s=~t.index;vO(a)!=s&&a.push(s),a.push(r,i,n)}}function vO(e){let t=e.length;for(;t>0;){let r=e[--t];if(typeof r=="number"&&r<0)return r}return 0}function gO(e,t,r){if(r){if(t.exportAs)for(let i=0;i<t.exportAs.length;i++)r[t.exportAs[i]]=e;ii(t)&&(r[""]=e)}}function mO(e,t,r){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+r,e.providerIndexes=t}function TC(e,t,r,i,o,n,a,s){let l=t[H],u=l.consts,_=Ta(l,e,r,i,Ii(u,a));return n&&uO(l,t,_,Ii(u,s),o),_.mergedAttrs=ca(_.mergedAttrs,_.attrs),_.attrs!==null&&Su(_,_.attrs,!1),_.mergedAttrs!==null&&Su(_,_.mergedAttrs,!0),l.queries!==null&&l.queries.elementStart(l,_),_}function IC(e,t){UR(e,t),Ey(t)&&e.queries.elementEnd(t)}function bO(e,t,r,i,o,n){let a=t.consts,s=Ta(t,e,r,i,Ii(a,o));if(s.mergedAttrs=ca(s.mergedAttrs,s.attrs),n!=null){let l=Ii(a,n);s.localNames=[];for(let u=0;u<l.length;u+=2)s.localNames.push(l[u],-1)}return s.attrs!==null&&Su(s,s.attrs,!1),s.mergedAttrs!==null&&Su(s,s.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,s),s}function wO(e){return Object.keys(e).map(t=>{let[r,i,o]=e[t],n={propName:r,templateName:t,isSignal:(i&Ps.SignalBased)!==0};return o&&(n.transform=o),n})}function CO(e){return Object.keys(e).map(t=>({propName:e[t],templateName:t}))}function xO(e,t,r){let i=t instanceof Yo?t:t?.injector;return i&&e.getStandaloneInjector!==null&&(i=e.getStandaloneInjector(i)||i),i?new Q8(r,i):r}function SO(e){let t=e.get(_v,null);if(t===null)throw new L(407,!1);return{rendererFactory:t,sanitizer:e.get(Y8,null),changeDetectionScheduler:e.get(Sa,null),ngReflect:!1,tracingService:e.get(ka,null,{optional:!0})}}function kO(e,t,r){let i=IO(e);return Mw(t,i,i==="svg"?zy:i==="math"?Hz:r)}function TO(e){if((e&&"localName"in e&&typeof e.localName=="string"?e.localName:e?.tagName)?.toLowerCase()==="script")throw new L(905,!1)}function IO(e){return(e.selectors[0][0]||"div").toLowerCase()}function AO(e,t,r,i,o){let n=e?["ng-version","22.2.1"]:P6(t.selectors[0]),a=null,s=null,l=0;if(r)for(let _ of r)l+=_[op].requiredVars,_.create&&(_.targetIdx=0,(a??=[]).push(_)),_.update&&(_.targetIdx=0,(s??=[]).push(_));if(i)for(let _=0;_<i.length;_++){let c=i[_];if(typeof c!="function")for(let h of c.bindings){l+=h[op].requiredVars;let d=_+1;h.create&&(h.targetIdx=d,(a??=[]).push(h)),h.update&&(h.targetIdx=d,(s??=[]).push(h))}}let u=[t];if(i)for(let _ of i){let c=xf(typeof _=="function"?_:_.type);u.push(c)}return ov(0,null,EO(a,s),1,l,u,null,null,null,[n],null)}function BO(e,t){let r=e.getRootNode?.();return yO&&r instanceof Document?r.head:r&&AC&&r instanceof ShadowRoot?r:t().head}function EO(e,t){return!e&&!t?null:r=>{if(r&1&&e)for(let i of e)i.create();if(r&2&&t)for(let i of t)i.update()}}function g5(e){let t=e[op].kind;return t==="input"||t==="twoWay"}function zO(e,t,r){let i=e.projection=[];for(let o=0;o<t.length;o++){let n=r[o];i.push(n!=null&&n.length?Array.from(n):null)}}function OO(e,t,r){return RO(e,t,r)}function hv(e){return!!e&&typeof e.then=="function"}function PO(e){return!!e&&typeof e.subscribe=="function"}function NO(e,t,r=null){return new BC({providers:e,parent:t,debugName:r,runEnvironmentInitializers:!0}).injector}function wr(e){return uc(()=>{let t=DC(e),r=te(E({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection!==Iw.Eager,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?o=>o.get(MO).getOrCreateStandaloneInjector(r):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||xi.Emulated,styles:e.styles||hr,_:null,schemas:e.schemas||null,tView:null,id:""});t.standalone&&Oi("NgStandalone"),zC(r);let i=e.dependencies;return r.directiveDefs=m5(i,LO),r.pipeDefs=m5(i,pz),r.id=UO(r),r})}function LO(e){return Bs(e)||xf(e)}function EC(e){return uc(()=>({type:e.type,bootstrap:e.bootstrap||hr,declarations:e.declarations||hr,imports:e.imports||hr,exports:e.exports||hr,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function FO(e,t){if(e==null)return Xo;let r={};for(let i in e)if(Object.hasOwn(e,i)){let o=e[i],n,a,s,l;Array.isArray(o)?(s=o[0],n=o[1],a=o[2]??n,l=o[3]||null):(n=o,a=o,s=Ps.None,l=null),r[n]=[i,s,l],t[n]=a}return r}function $O(e){if(e==null)return Xo;let t={};for(let r in e)Object.hasOwn(e,r)&&(t[e[r]]=r);return t}function Hr(e){return uc(()=>{let t=DC(e);return zC(t),t})}function HO(e){return{type:e.type,name:e.name,factory:null,pure:e.pure!==!1,standalone:e.standalone??!0,onDestroy:e.type.prototype.ngOnDestroy||null}}function DC(e){let t={};return{type:e.type,providersResolver:null,viewProvidersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputConfig:e.inputs||Xo,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||hr,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,resolveHostDirectives:null,hostDirectives:null,controlDef:null,signalFormsInputPresence:null,inputs:FO(e.inputs,t),outputs:$O(e.outputs),debugInfo:null}}function zC(e){e.features?.forEach(t=>t(e))}function m5(e,t){return e?()=>{let r=typeof e=="function"?e():e,i=[];for(let o of r){let n=t(o);n!==null&&i.push(n)}return i}:null}function UO(e){let t=0,r=typeof e.consts=="function"?"":e.consts,i=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,r,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(let o of i.join("|"))t=Math.imul(31,t)+o.charCodeAt(0)<<0;return t+=2147483648,"c"+t}function VO(e){return Bf([{provide:RC,multi:!0,useValue:e}])}function jO(e){return t=>{t.controlDef={create:(r,i)=>{r?.\u0275ngControlCreate(i)},update:(r,i)=>{r?.\u0275ngControlUpdate?.(i)},passThroughInput:e}}}function PC(e){let t=r=>{let i=Array.isArray(e);r.hostDirectives===null?(r.resolveHostDirectives=qO,r.hostDirectives=i?e.map(ap):[e]):i?r.hostDirectives.unshift(...e.map(ap)):r.hostDirectives.unshift(e)};return t.ngInherit=!0,t}function qO(e){let t=[],r=!1,i=null,o=null;for(let n=0;n<e.length;n++){let a=e[n];if(a.hostDirectives!==null){let s=t.length;i??=new Map,o??=new Map,NC(a,t,i,e),o.set(a,[s,t.length-1])}n===0&&ii(a)&&(r=!0,t.push(a))}for(let n=r?1:0;n<e.length;n++)t.push(e[n]);return i!==null&&i.forEach((n,a)=>{GO(a.declaredInputs,n.inputs)}),[t,i,o]}function NC(e,t,r,i){if(e.hostDirectives!==null)for(let o of e.hostDirectives)if(typeof o=="function"){let n=o();for(let a of n)b5(ap(a),t,r,i)}else b5(o,t,r,i)}function b5(e,t,r,i){let o=xf(e.directive);if(NC(o,t,r,i),r.has(o)){let n=r.get(o);y5(n,e.inputs,"input"),y5(n,e.outputs,"output")}else i.includes(o)||(r.set(o,e),t.push(o))}function y5(e,t,r){let i=r==="input"?e.inputs:e.outputs;Object.keys(t).forEach(o=>{let n=t[o];(!Object.hasOwn(i,o)||i[o]===n)&&(i[o]=n)})}function ap(e){return typeof e=="function"?{directive:At(e),inputs:{},outputs:{}}:{directive:At(e.directive),inputs:w5(e.inputs),outputs:w5(e.outputs)}}function w5(e){let t={};if(e!==void 0&&e.length>0)for(let r=0;r<e.length;r+=2)t[e[r]]=e[r+1];return t}function GO(e,t){for(let r in t)if(Object.hasOwn(t,r)){let i=t[r];e[i]=e[r]}}function WO(e){return Object.getPrototypeOf(e.prototype).constructor}function Pi(e){let t=WO(e.type),r=!0,i=[e];for(;t&&t!==Function.prototype&&t!==Object.prototype;){let o,n=Object.hasOwn(t,Dh)?t[Dh]:void 0,a=Object.hasOwn(t,zh)?t[zh]:void 0;if(ii(e))o=n??a;else{if(n)throw new L(903,!1);o=a}if(o){if(r){i.push(o);let l=e;l.inputs=_d(e.inputs),l.declaredInputs=_d(e.declaredInputs),l.outputs=_d(e.outputs);let u=o.hostBindings;u&&QO(e,u);let _=o.viewQuery,c=o.contentQueries;if(_&&XO(e,_),c&&YO(e,c),ZO(e,o),uz(e.outputs,o.outputs),ii(o)&&o.data.animation){let h=e.data;h.animation=(h.animation||[]).concat(o.data.animation)}}let s=o.features;if(s)for(let l=0;l<s.length;l++){let u=s[l];u&&u.ngInherit&&u(e),u===Pi&&(r=!1)}}t=Object.getPrototypeOf(t)}KO(i)}function ZO(e,t){for(let r in t.inputs){if(!Object.hasOwn(t.inputs,r)||Object.hasOwn(e.inputs,r))continue;let i=t.inputs[r];i!==void 0&&(e.inputs[r]=i,e.declaredInputs[r]=t.declaredInputs[r])}}function KO(e){let t=0,r=null;for(let i=e.length-1;i>=0;i--){let o=e[i];o.hostVars=t+=o.hostVars,o.hostAttrs=ca(o.hostAttrs,r=ca(r,o.hostAttrs))}}function _d(e){return e===Xo?{}:e===hr?[]:e}function XO(e,t){let r=e.viewQuery;r?e.viewQuery=(i,o)=>{t(i,o),r(i,o)}:e.viewQuery=t}function YO(e,t){let r=e.contentQueries;r?e.contentQueries=(i,o,n)=>{t(i,o,n),r(i,o,n)}:e.contentQueries=t}function QO(e,t){let r=e.hostBindings;r?e.hostBindings=(i,o)=>{t(i,o),r(i,o)}:e.hostBindings=t}function JO(e,t,r,i,o,n,a,s){if(r.firstCreatePass){e.mergedAttrs=ca(e.mergedAttrs,e.attrs);let _=e.tView=ov(2,e,o,n,a,r.directiveRegistry,r.pipeRegistry,null,r.schemas,r.consts,null);r.queries!==null&&(r.queries.template(r,e),_.queries=r.queries.embeddedTView(e))}s&&(e.flags|=s),Ca(e,!1);let l=e4(r,t,e,i);Hf()&&rv(r,t,l,e),_a(l,t);let u=L8(l,t,l,e);t[i+Xe]=u,eC(t,u),OO(u,e,t)}function gs(e,t,r,i,o,n,a,s,l,u,_){let c=r+Xe,h;if(t.firstCreatePass){if(h=Ta(t,c,4,a||null,s||null),u!=null){let d=Ii(t.consts,u);h.localNames=[];for(let b=0;b<d.length;b+=2)h.localNames.push(d[b],-1)}}else h=t.data[c];return JO(h,e,t,r,i,o,n,l),u!=null&&av(e,h,_),h}function t4(e,t,r,i){return Uf(!0),t[Ke].createComment("")}function o4(){W7(e=>{throw new L(-600,"")})}function a4(e){return e===void 0||typeof e=="string"||e instanceof Element?{hostElement:e}:e}function Zl(e,t){let r=e.indexOf(t);r>-1&&e.splice(r,1)}function MC(e,t,r,i){let o=Y();return Lr(o,_n(),t)&&(dt(),g8(lc(),o,e,t,r,i)),MC}function dd(e,t,r,i,o){return e===r&&Object.is(t,i)?1:Object.is(o(e,t),o(r,i))?-1:0}function l4(e,t,r,i){let o,n,a=0,s=e.length-1;if(Array.isArray(t)){M(i);let l=t.length-1;for(M(null);a<=s&&a<=l;){let u=e.at(a),_=t[a],c=dd(a,u,a,_,r);if(c!==0){c<0&&e.updateValue(a,_),a++;continue}let h=e.at(s),d=t[l],b=dd(s,h,l,d,r);if(b!==0){b<0&&e.updateValue(s,d),s--,l--;continue}let w=r(a,u),I=r(s,h),C=r(a,_);if(Object.is(C,I)){let A=r(l,d);Object.is(A,w)?(e.swap(a,s),e.updateValue(s,d),l--,s--):e.move(s,a),e.updateValue(a,_),a++;continue}if(o??=new S5,n??=x5(e,a,s,r),sp(e,o,a,C))e.updateValue(a,_),a++,s++;else if(n.has(C))o.set(w,e.detach(a)),s--;else{let A=e.create(a,t[a]);e.attach(a,A),a++,s++}}for(;a<=l;)C5(e,o,r,a,t[a]),a++}else if(t!=null){M(i);let l=t[Symbol.iterator]();M(null);let u=l.next();for(;!u.done&&a<=s;){let _=e.at(a),c=u.value,h=dd(a,_,a,c,r);if(h!==0)h<0&&e.updateValue(a,c),a++,u=l.next();else{o??=new S5,n??=x5(e,a,s,r);let d=r(a,c);if(sp(e,o,a,d))e.updateValue(a,c),a++,s++,u=l.next();else if(!n.has(d))e.attach(a,e.create(a,c)),a++,s++,u=l.next();else{let b=r(a,_);o.set(b,e.detach(a)),s--}}}for(;!u.done;)C5(e,o,r,e.length,u.value),u=l.next()}for(;a<=s;)e.destroy(e.detach(s--));o?.forEach(l=>{e.destroy(l)})}function sp(e,t,r,i){return t!==void 0&&t.has(i)?(e.attach(r,t.get(i)),t.delete(i),!0):!1}function C5(e,t,r,i,o){if(sp(e,t,i,r(i,o)))e.updateValue(i,o);else{let n=e.create(i,o);e.attach(i,n)}}function x5(e,t,r,i){let o=new Set;for(let n=t;n<=r;n++)o.add(i(n,e.at(n)));return o}function LC(e,t,r,i,o,n,a,s){Oi("NgControlFlow");let l=Y(),u=dt();return gs(l,u,e,t,r,i,o,Ii(u.consts,n),256,a,s),FC}function FC(e,t,r,i,o,n,a,s){return Oi("NgControlFlow"),u4(e,t,r,i,o,n,a,s),FC}function u4(e,t,r,i,o,n,a,s){let l=Y(),u=dt();gs(l,u,e,t,r,i,o,Ii(u.consts,n),512,a,s)}function $C(e,t){Oi("NgControlFlow");let r=Y(),i=_n(),o=r[i]!==yr?r[i]:-1,n=o!==-1?Au(r,Xe+o):void 0,a=0;if(Lr(r,i,e)){let s=M(null);try{if(n!==void 0&&vC(n,a),e!==-1){let l=Xe+e,u=Au(r,l),_=lp(r[H],l),c=bC(u,_,r);hc(u,_c(r,_,t,{dehydratedView:c}),a,dc(_,c))}}finally{M(s)}}else if(n!==void 0){let s=fC(n,a);s!==void 0&&(s[ot]=t)}}function Tu(e,t,r,i,o,n,a,s,l,u,_,c,h){Oi("NgControlFlow");let d=Y(),b=dt(),w=l!==void 0,I=Y(),C=new _4(w,s?a.bind(I[Jt][ot]):a);I[Xe+e]=C,gs(d,b,e+1,t,r,i,o,Ii(b.consts,n),256),w&&gs(d,b,e+2,l,u,_,c,Ii(b.consts,h),512)}function Iu(e){let t=M(null),r=Ri();try{let i=Y(),o=i[H],n=i[r],a=r+1,s=Au(i,a);n.liveCollection===void 0?n.liveCollection=new d4(s,i,lp(o,a)):n.liveCollection.reset();let l=n.liveCollection;if(l4(l,e,n.trackByFn,t),l.updateIndexes(),n.hasEmptyBlock){let u=_n(),_=l.length===0;if(Lr(i,u,_)){let c=r+2,h=Au(i,c);if(_){let d=lp(o,c),b=bC(h,d,i);hc(h,_c(i,d,void 0,{dehydratedView:b}),0,dc(d,b))}else o.firstUpdatePass&&q8(h),vC(h,0)}}}finally{M(t)}}function Au(e,t){return e[t]}function h4(e,t){if(e.length<=wt)return;let r=e[wt+t];r&&W6(r)}function p4(e,t){if(e.length<=wt)return;let r=e[wt+t];r&&G6(r)}function f4(e,t){return cv(e,t)}function v4(e,t){return fC(e,t)}function lp(e,t){return Of(e,t)}function Ot(e,t,r){let i=Y();return Lr(i,_n(),t)&&(dt(),_8(lc(),i,e,t,i[Ke],r)),Ot}function k5(e,t,r,i,o){sv(t,e,r,o?"class":"style",i)}function U(e,t,r,i){let o=Y(),n=o[H],a=e+Xe,s=n.firstCreatePass?TC(a,o,2,t,v8,Zz(),r,i):n.data[a];if(cn(s)){let l=o[ri].tracingService;if(l&&l.componentCreate){let u=n.data[s.directiveStart+s.componentOffset];return l.componentCreate(yC(u),()=>(T5(e,t,o,s,i),U))}}return T5(e,t,o,s,i),U}function T5(e,t,r,i,o){if(nC(i,r,e,t,HC),Rf(i)){let n=r[H];iC(n,r,i),Pw(n,i,r)}o!=null&&av(r,i)}function W(){let e=dt(),t=aC($r());return e.firstCreatePass&&IC(e,t),Ly(t)&&Fy(),Ny(),t.classesWithoutHost!=null&&jR(t)&&k5(e,t,Y(),t.classesWithoutHost,!0),t.stylesWithoutHost!=null&&qR(t)&&k5(e,t,Y(),t.stylesWithoutHost,!1),W}function ms(e,t,r,i){return U(e,t,r,i),W(),ms}function bi(e,t,r,i){let o=Y(),n=o[H],a=e+Xe,s=n.firstCreatePass?bO(a,n,2,t,r,i):n.data[a];return nC(s,o,e,t,HC),i!=null&&av(o,s),bi}function ro(){return Ly(aC($r()))&&Fy(),Ny(),ro}function Bu(e,t,r,i){return bi(e,t,r,i),ro(),Bu}function pv(){return Y()}function fv(e,t,r){let i=Y();return Lr(i,_n(),t)&&(dt(),oC(lc(),i,e,t,i[Ke],r)),fv}function g4(e){typeof e=="string"&&e.toLowerCase().replace(/_/g,"-")}function Pt(e,t,r){let i=Y(),o=dt(),n=$r();return m4(o,i,i[Ke],n,e,t,r),Pt}function m4(e,t,r,i,o,n,a){let s=!0,l=null;if((i.type&3||a)&&(l??=Wn(i,t,n),CC(i,e,t,a,r,o,n,l)&&(s=!1)),s){let u=i.outputs?.[o],_=i.hostDirectiveOutputs?.[o];if(_&&_.length)for(let c=0;c<_.length;c+=2){let h=_[c],d=_[c+1];l??=Wn(i,t,n),Cu(i,t,h,d,o,l)}if(u&&u.length)for(let c of u)l??=Wn(i,t,n),Cu(i,t,c,o,o,l)}}function Si(e=1){return nR(e)}function b4(e,t){let r=null,i=B6(e);for(let o=0;o<t.length;o++){let n=t[o];if(n==="*"){r=o;continue}if(i===null?Vw(e,n,!0):z6(i,n))return o}return r}function go(e){let t=Y()[Jt][nr];if(!t.projection){let r=t.projection=Sz(e?e.length:1,null),i=r.slice(),o=t.child;for(;o!==null;){if(o.type!==128){let n=e?b4(o,e):0;n!==null&&(i[n]?i[n].projectionNext=o:r[n]=o,i[n]=o)}o=o.next}}}function mo(e,t=0,r,i,o,n){let a=Y(),s=dt(),l=i?e+1:null;l!==null&&gs(a,s,l,i,o,n,null,r);let u=Ta(s,Xe+e,16,null,r||null);u.projection===null&&(u.projection=t),Uy();let _=!a[sa]||My();a[Jt][nr].projection[u.projection]===null&&l!==null?y4(a,s,l):_&&!Xf(u)&&i8(s,a,u)}function y4(e,t,r){let i=Xe+r,o=t.data[i],n=e[i],a=mC(n,o.tView.ssrId);hc(n,_c(e,o,void 0,{dehydratedView:a}),0,dc(o,a))}function ml(e,t){return e<<17|t<<2}function rn(e){return e>>17&32767}function w4(e){return(e&2)==2}function C4(e,t){return e&131071|t<<17}function cp(e){return e|2}function da(e){return(e&131068)>>2}function hd(e,t){return e&-131069|t<<2}function x4(e){return(e&1)===1}function _p(e){return e|1}function S4(e,t,r,i,o,n){let a=n?t.classBindings:t.styleBindings,s=rn(a),l=da(a);e[i]=r;let u=!1,_;if(Array.isArray(r)){let c=r;_=c[1],(_===null||Es(c,_)>0)&&(u=!0)}else _=r;if(o)if(l!==0){let c=rn(e[s+1]);e[i+1]=ml(c,s),c!==0&&(e[c+1]=hd(e[c+1],i)),e[s+1]=C4(e[s+1],i)}else e[i+1]=ml(s,0),s!==0&&(e[s+1]=hd(e[s+1],i)),s=i;else e[i+1]=ml(l,0),s===0?s=i:e[l+1]=hd(e[l+1],i),l=i;u&&(e[i+1]=cp(e[i+1])),I5(e,_,i,!0),I5(e,_,i,!1),k4(t,_,e,i,n),a=ml(s,l),n?t.classBindings=a:t.styleBindings=a}function k4(e,t,r,i,o){let n=o?e.residualClasses:e.residualStyles;n!=null&&typeof t=="string"&&Es(n,t)>=0&&(r[i+1]=_p(r[i+1]))}function I5(e,t,r,i){let o=e[r+1],n=t===null,a=i?rn(o):da(o),s=!1;for(;a!==0&&(s===!1||n);){let l=e[a],u=e[a+1];T4(l,t)&&(s=!0,e[a+1]=i?_p(u):cp(u)),a=i?rn(u):da(u)}s&&(e[r+1]=i?cp(o):_p(o))}function T4(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?Es(e,t)>=0:!1}function fc(e,t){return I4(e,t,null,!0),fc}function I4(e,t,r,i){let o=Y(),n=dt(),a=jy(2);if(n.firstUpdatePass&&B4(n,e,a,i),t!==yr&&Lr(o,a,t)){let s=n.data[Ri()];O4(n,s,o,o[Ke],e,o[a+1]=P4(t,r),i,a)}}function A4(e,t){return t>=e.expandoStartIndex}function B4(e,t,r,i){let o=e.data;if(o[r+1]===null){let n=o[Ri()],a=A4(e,r);N4(n,i)&&t===null&&!a&&(t=!1),t=E4(o,n,t,i),S4(o,n,t,r,a,i)}}function E4(e,t,r,i){let o=iR(e),n=i?t.residualClasses:t.residualStyles;if(o===null)(i?t.classBindings:t.styleBindings)===0&&(r=pd(null,e,t,r,i),r=bs(r,t.attrs,i),n=null);else{let a=t.directiveStylingLast;if(a===-1||e[a]!==o)if(r=pd(o,e,t,r,i),n===null){let s=D4(e,t,i);s!==void 0&&Array.isArray(s)&&(s=pd(null,e,t,s[1],i),s=bs(s,t.attrs,i),z4(e,t,i,s))}else n=R4(e,t,i)}return n!==void 0&&(i?t.residualClasses=n:t.residualStyles=n),r}function D4(e,t,r){let i=r?t.classBindings:t.styleBindings;if(da(i)!==0)return e[rn(i)]}function z4(e,t,r,i){let o=r?t.classBindings:t.styleBindings;e[rn(o)]=i}function R4(e,t,r){let i,o=t.directiveEnd;for(let n=1+t.directiveStylingLast;n<o;n++){let a=e[n].hostAttrs;i=bs(i,a,r)}return bs(i,t.attrs,r)}function pd(e,t,r,i,o){let n=null,a=r.directiveEnd,s=r.directiveStylingLast;for(s===-1?s=r.directiveStart:s++;s<a&&(n=t[s],i=bs(i,n.hostAttrs,o),n!==e);)s++;return e!==null&&(r.directiveStylingLast=s),i}function bs(e,t,r){let i=r?1:2,o=-1;if(t!==null)for(let n=0;n<t.length;n++){let a=t[n];typeof a=="number"?o=a:o===i&&(Array.isArray(e)||(e=e===void 0?[]:["",e]),Tz(e,a,r?!0:t[++n]))}return e===void 0?null:e}function O4(e,t,r,i,o,n,a,s){if(!(t.type&3))return;let l=e.data,u=l[s+1];Eu(x4(u)?A5(l,t,r,o,da(u),a):void 0)||(Eu(n)||w4(u)&&(n=A5(l,null,r,o,s,a)),n8(i,a,Ry(Ri(),r),o,n))}function A5(e,t,r,i,o,n){let a=t===null,s;for(;o>0;){let l=e[o],u=Array.isArray(l),_=u?l[1]:l,c=_===null,h=r[o+1];h===yr&&(h=c?hr:void 0);let d=c?od(h,i):_===i?h:void 0;if(u&&!Eu(d)&&(d=od(l,i)),Eu(d)&&(s=d,a))return s;let b=e[o+1];o=a?rn(b):da(b)}if(t!==null){let l=n?t.residualClasses:t.residualStyles;l!=null&&(s=od(l,i))}return s}function Eu(e){return e!==void 0}function P4(e,t){return e==null||e===""||(typeof t=="string"?e=Qh(e)+t:typeof e=="object"&&(e=cy(Qh(e)))),e}function N4(e,t){return(e.flags&(t?8:16))!==0}function fe(e,t=""){let r=Y(),i=dt(),o=e+Xe,n=i.firstCreatePass?Ta(i,o,1,t,null):i.data[o],a=M4(i,r,n,t);r[o]=a,Hf()&&rv(i,r,a,n),Ca(n,!1)}function L4(e,t,r,i=""){return Lr(e,_n(),r)?t+na(r)+i:yr}function F4(e,t,r,i,o,n=""){let a=eO(e,Qz(),r,o);return jy(2),a?t+na(r)+i+na(o)+n:yr}function Pr(e){return bt("",e),Pr}function bt(e,t,r){let i=Y(),o=L4(i,e,t,r);return o!==yr&&VC(i,Ri(),o),bt}function UC(e,t,r,i,o){let n=Y(),a=F4(n,e,t,r,i,o);return a!==yr&&VC(n,Ri(),a),UC}function VC(e,t,r){let i=Ry(t,e);y6(e[Ke],i,r)}function qC(e){Oi("NgLet");let t=dt(),r=Y(),i=e+Xe;return Ca(Ta(t,i,128,null,null),!1),Pf(t,r,i,jC),qC}function $4(e){return Pf(dt(),Y(),Ri(),e),e}function vv(e){let t=Oy(Xz(),Xe+e);if(t===jC)throw new L(314,!1);return t}function ys(e){return Lr(Y(),_n(),e)?na(e):yr}function B5(e,t,r){let i=dt();i.firstCreatePass&&GC(t,i.data,i.blueprint,ii(e),r)}function GC(e,t,r,i,o){if(e=At(e),Array.isArray(e))for(let n=0;n<e.length;n++)GC(e[n],t,r,i,o);else{let n=dt(),a=Y(),s=$r(),l=aa(e)?e:At(e.provide),u=Ty(e),_=s.providerIndexes&1048575,c=s.directiveStart,h=s.providerIndexes>>20;if(aa(e)||!e.multi){let d=new Rs(u,o,He,null),b=vd(l,t,o?_:_+h,c);b===-1?(Wh(bu(s,a),n,l),fd(n,e,t.length),t.push(l),s.directiveStart++,s.directiveEnd++,o&&(s.providerIndexes+=1048576),r.push(d),a.push(d)):(r[b]=d,a[b]=d)}else{let d=vd(l,t,_+h,c),b=vd(l,t,_,_+h),w=d>=0&&r[d],I=b>=0&&r[b];if(o&&!I||!o&&!w){Wh(bu(s,a),n,l);let C=V4(o?U4:H4,r.length,o,i,u,e);!o&&I&&(r[b].providerFactory=C),fd(n,e,t.length,0),t.push(l),s.directiveStart++,s.directiveEnd++,o&&(s.providerIndexes+=1048576),r.push(C),a.push(C)}else{let C=WC(r[o?b:d],u,!o&&i);fd(n,e,d>-1?d:b,C)}!o&&i&&I&&r[b].componentProviders++}}}function fd(e,t,r,i){let o=aa(t),n=zz(t);if(o||n){let a=(n?At(t.useClass):t).prototype.ngOnDestroy;if(a){let s=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){let l=s.indexOf(r);l===-1?s.push(r,[i,a]):s[l+1].push(i,a)}else s.push(r,a)}}}function WC(e,t,r){return r&&e.componentProviders++,e.multi.push(t)-1}function vd(e,t,r,i){for(let o=r;o<i;o++)if(t[o]===e)return o;return-1}function H4(e,t,r,i,o){return dp(this.multi,[])}function U4(e,t,r,i,o){let n=this.multi,a;if(this.providerFactory){let s=this.providerFactory.componentProviders,l=yu(i,i[H],this.providerFactory.index,o);a=l.slice(0,s),dp(n,a);for(let u=s;u<l.length;u++)a.push(l[u])}else a=[],dp(n,a);return a}function dp(e,t){for(let r=0;r<e.length;r++){let i=e[r];t.push(i())}return t}function V4(e,t,r,i,o,n){let a=new Rs(e,r,He,null);return a.multi=[],a.index=t,a.componentProviders=0,WC(a,o,i&&!r),a}function ar(e,t){return r=>{r.providersResolver=(i,o)=>B5(i,o?o(e):e,!1),t&&(r.viewProvidersResolver=(i,o)=>B5(i,o?o(t):t,!0))}}function j4(e,t){let r=e[t];return r===yr?void 0:r}function q4(e,t,r,i,o,n){let a=t+r;return Lr(e,a,o)?J8(e,a+1,n?i.call(n,o):i(o)):j4(e,a+1)}function G4(e,t){let r=dt(),i,o=e+Xe;r.firstCreatePass?(i=W4(t,r.pipeRegistry),r.data[o]=i,i.onDestroy&&(r.destroyHooks??=[]).push(o,i.onDestroy)):i=r.data[o];let n=i.factory||(i.factory=Ko(i.type,!0)),a=Xt(He);try{let s=mu(!1),l=n();return mu(s),Pf(r,Y(),o,l),l}finally{Xt(a)}}function W4(e,t){if(t)for(let r=t.length-1;r>=0;r--){let i=t[r];if(e===i.name)return i}}function Z4(e,t,r){let i=e+Xe,o=Y(),n=Oy(o,i);return K4(o,i)?q4(o,Yz(),t,n.transform,r,n):n.transform(r)}function K4(e,t){return e[H].data[t].pure}function Y4(){return Oi("NgZoneless"),Bf([...ZC(),[]])}function ZC(){return[{provide:Sa,useExisting:X4},{provide:li,useClass:gR},{provide:Gf,useValue:!0}]}function Q4(){return typeof $localize<"u"&&$localize.locale||up}function eP(e){let t=e.length-1;for(;t>-1;)e[t]===null&&e.splice(t,1),t--}function ir(e,t){return j7(e,t?.equal)}function Vt(e){return iD(e)}function rP(e,t){return typeof e=="function"?E5(Pm(e,tP,t?.equal),t?.debugName,t?.set):E5(Pm(e.source,e.computation,e.equal),e.debugName,e.set)}function E5(e,t,r){let i=e[Qt],o=e;if(r!==void 0){let n=a=>Nm(i,a);o.set=a=>r(a,n),o.update=a=>r(a(Vt(e)),n)}else o.set=n=>Nm(i,n),o.update=n=>tD(i,n);return o.asReadonly=iw.bind(e),o}function XC(e,t){let r=Object.create(PR);r.value=e,r.transformFn=t?.transform;function i(){if(tc(r),r.value===Wf)throw new L(-950,null);return r.value}return i[Qt]=r,i}function it(e){return new J4}function D5(e,t){return XC(e,t)}function iP(e){return XC(Wf,e)}function z5(){return new YC([new oP])}function sP(e){return lP($r(),Y(),(e&16)===16)}function lP(e,t,r){if(cn(e)&&!r){let i=oi(e.index,t);return new ip(i,i)}else if(e.type&175){let i=t[Jt];return new ip(i,t)}return null}function Ga(e){return!e.moduleRef}function cP(e){let t=Ga(e)?e.r3Injector:e.moduleRef.injector,r=t.get(li);return r.run(()=>{Ga(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let i=t.get(zs),o;if(r.runOutsideAngular(()=>{o=r.onError.subscribe({next:i})}),Ga(e)){let n=()=>t.destroy(),a=e.platformInjector.get(pp);a.add(n),t.onDestroy(()=>{o.unsubscribe(),a.delete(n)})}else{let n=()=>e.moduleRef.destroy(),a=e.platformInjector.get(pp);a.add(n),e.moduleRef.onDestroy(()=>{Zl(e.allPlatformModules,e.moduleRef),o.unsubscribe(),a.delete(n)})}return dP(i,r,()=>{let n=t.get(Ds),a=n.add(),s=t.get(OC);return s.runInitializers(),s.donePromise.then(()=>{if(g4(t.get(KC,up)||up),!t.get(uP,!0))return Ga(e)?t.get(ku):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(Ga(e)){let l=t.get(ku);return e.rootComponent!==void 0&&l.bootstrap(e.rootComponent),l}else return _P?.(e.moduleRef,e.allPlatformModules),e.moduleRef}).finally(()=>{n.remove(a)})})})}function dP(e,t,r){try{let i=r();return hv(i)?i.catch(o=>{throw t.runOutsideAngular(()=>e(o)),o}):i}catch(i){throw t.runOutsideAngular(()=>e(i)),i}}function hP(e=[],t){return ht.create({name:t,providers:[{provide:Df,useValue:"platform"},{provide:pp,useValue:new Set([()=>Kl=null])},...e]})}function pP(e=[]){if(Kl)return Kl;let t=hP(e);return Kl=t,o4(),fP(t),t}function fP(e){let t=e.get(nw,null);Fr(e,()=>{t?.forEach(r=>r())})}function vP(e){let{rootComponent:t,appProviders:r,platformProviders:i,platformRef:o}=e;ve(ce.BootstrapApplicationStart);try{let n=o?.injector??pP(i);return cP({r3Injector:new BC({providers:[ZC(),xR,...r||[]],parent:n,debugName:"",runEnvironmentInitializers:!1}).injector,platformInjector:n,rootComponent:t})}catch(n){return Promise.reject(n)}finally{ve(ce.BootstrapApplicationEnd)}}function Re(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function gP(e,t){let r=Bs(e),i=t.elementInjector||nc(),o=new dv(r).create(i,t.projectableNodes,t.hostElement,t.environmentInjector,t.directives,t.bindings);return t.onError&&(o.hostView._lView[Ay]=t.onError),o}function Du(e){let t=Bs(e);if(!t)return null;let r=new dv(t);return{get selector(){return r.selector},get type(){return r.componentType},get inputs(){return r.inputs},get outputs(){return r.outputs},get ngContentSelectors(){return r.ngContentSelectors},get isStandalone(){return t.standalone},get isSignal(){return t.signals}}}function Go(){return JC}function mP(e){JC??=e}function wP(e,t){return{key:e,value:t}}function R5(e,t){let r=e.key,i=t.key;if(r===i)return 0;if(r==null)return 1;if(i==null)return-1;if(typeof r=="string"&&typeof i=="string")return r<i?-1:1;if(typeof r=="number"&&typeof i=="number")return r-i;if(typeof r=="boolean"&&typeof i=="boolean")return r<i?-1:1;let o=String(r),n=String(i);return o==n?0:o<n?-1:1}function t2(e,t){t=encodeURIComponent(t);for(let r of e.split(";")){let i=r.indexOf("="),[o,n]=i==-1?[r,""]:[r.slice(0,i),r.slice(i+1)];if(o.trim()!==t)continue;let a=n;try{a=decodeURIComponent(n)}catch{}return a.length>1&&a[0]==='"'&&a[a.length-1]==='"'&&(a=a.slice(1,-1)),a}return null}function TP(){let e=Go()?Go().getUserAgent():"";return/android (\d+)/.test(e.toLowerCase())}function mv(e){return e==null||bv(e)===0}function bv(e){return e==null?null:Array.isArray(e)||typeof e=="string"?e.length:e instanceof Set?e.size:null}function BP(e){return t=>{if(t.value==null||e==null)return null;let r=parseFloat(t.value);return!isNaN(r)&&r<e?{min:{min:e,actual:t.value}}:null}}function EP(e){return t=>{if(t.value==null||e==null)return null;let r=parseFloat(t.value);return!isNaN(r)&&r>e?{max:{max:e,actual:t.value}}:null}}function a2(e){return mv(e.value)?{required:!0}:null}function DP(e){return e.value===!0?null:{required:!0}}function zP(e){return mv(e.value)||AP.test(e.value)?null:{email:!0}}function RP(e){return t=>{let r=t.value?.length??bv(t.value);return r===null||r===0?null:r<e?{minlength:{requiredLength:e,actualLength:r}}:null}}function OP(e){return t=>{let r=t.value?.length??bv(t.value);return r!==null&&r>e?{maxlength:{requiredLength:e,actualLength:r}}:null}}function PP(e){if(!e)return zu;let t,r;return typeof e=="string"?(r="",e.charAt(0)!=="^"&&(r+="^"),r+=e,e.charAt(e.length-1)!=="$"&&(r+="$"),t=new RegExp(r)):(r=e.toString(),t=e),i=>{if(mv(i.value))return null;let o=i.value;return t.test(o)?null:{pattern:{requiredPattern:r,actualValue:o}}}}function zu(e){return null}function s2(e){return e!=null}function l2(e){return hv(e)?wf(e):e}function u2(e){let t={};return e.forEach(r=>{t=r!=null?E(E({},t),r):t}),Object.keys(t).length===0?null:t}function c2(e,t){return t.map(r=>r(e))}function NP(e){return!e.validate}function _2(e){return e.map(t=>NP(t)?t:r=>t.validate(r))}function d2(e){if(!e)return null;let t=e.filter(s2);return t.length==0?null:function(r){return u2(c2(r,t))}}function h2(e){return e!=null?d2(_2(e)):null}function p2(e){if(!e)return null;let t=e.filter(s2);return t.length==0?null:function(r){return ez(c2(r,t).map(l2)).pipe(to(u2))}}function f2(e){return e!=null?p2(_2(e)):null}function O5(e,t){return e===null?[t]:Array.isArray(e)?[...e,t]:[e,t]}function v2(e){return e._rawValidators}function g2(e){return e._rawAsyncValidators}function fp(e){return e?Array.isArray(e)?e:[e]:[]}function Ru(e,t){return Array.isArray(e)?e.includes(t):e===t}function P5(e,t){let r=fp(t);return fp(e).forEach(i=>{Ru(r,i)||r.push(i)}),r}function N5(e,t){return fp(t).filter(r=>!Ru(e,r))}function b2(e){return(vc(e)?e.validators:e)||null}function LP(e){return Array.isArray(e)?h2(e):e||null}function y2(e,t){return(vc(t)?t.asyncValidators:e)||null}function FP(e){return Array.isArray(e)?f2(e):e||null}function vc(e){return e!=null&&!Array.isArray(e)&&typeof e=="object"}function $P(e,t,r){let i=e.controls;if(!(t?Object.keys(i):i).length)throw new L(1e3,"");if(!C2(i,r))throw new L(1001,"")}function HP(e,t,r){e._forEachChild((i,o)=>{if(r[o]===void 0)throw new L(-1002,"")})}function C2(e,t){return Object.hasOwn(e,t)}function UP(e){return e.tagName==="INPUT"||e.tagName==="SELECT"||e.tagName==="TEXTAREA"}function VP(e,t,r,i){switch(r){case"name":e.setAttribute(t,r,i);break;case"disabled":case"readonly":case"required":i?e.setAttribute(t,r,""):e.removeAttribute(t,r);break;case"max":case"min":case"minLength":case"maxLength":i!==void 0?e.setAttribute(t,r,i.toString()):e.removeAttribute(t,r)}}function ZP(e,t,r=xv){Sv(e,t),t.valueAccessor.writeValue(e.value),(e.disabled||r==="always")&&t.valueAccessor.setDisabledState?.(e.disabled),XP(e,t),QP(e,t),YP(e,t),KP(e,t)}function Pu(e,t,r=!0){let i=()=>{};t?.valueAccessor?.registerOnChange(i),t?.valueAccessor?.registerOnTouched(i),Mu(e,t),e&&(t._invokeOnDestroyCallbacks(),e._registerOnCollectionChange(()=>{}))}function Nu(e,t){e.forEach(r=>{r.registerOnValidatorChange&&r.registerOnValidatorChange(t)})}function KP(e,t){if(t.valueAccessor.setDisabledState){let r=i=>{t.valueAccessor.setDisabledState(i)};e.registerOnDisabledChange(r),t._registerOnDestroy(()=>{e._unregisterOnDisabledChange(r)})}}function Sv(e,t){let r=v2(e);t.validator!==null?e.setValidators(O5(r,t.validator)):typeof r=="function"&&e.setValidators([r]);let i=g2(e);t.asyncValidator!==null?e.setAsyncValidators(O5(i,t.asyncValidator)):typeof i=="function"&&e.setAsyncValidators([i]);let o=()=>e.updateValueAndValidity();Nu(t._rawValidators,o),Nu(t._rawAsyncValidators,o)}function Mu(e,t){let r=!1;if(e!==null){if(t.validator!==null){let o=v2(e);if(Array.isArray(o)&&o.length>0){let n=o.filter(a=>a!==t.validator);n.length!==o.length&&(r=!0,e.setValidators(n))}}if(t.asyncValidator!==null){let o=g2(e);if(Array.isArray(o)&&o.length>0){let n=o.filter(a=>a!==t.asyncValidator);n.length!==o.length&&(r=!0,e.setAsyncValidators(n))}}}let i=()=>{};return Nu(t._rawValidators,i),Nu(t._rawAsyncValidators,i),r}function XP(e,t){t.valueAccessor.registerOnChange(r=>{e._pendingValue=r,e._pendingChange=!0,e._pendingDirty=!0,e.updateOn==="change"&&S2(e,t)})}function YP(e,t){t.valueAccessor.registerOnTouched(()=>{e._pendingTouched=!0,e.updateOn==="blur"&&e._pendingChange&&S2(e,t),e.updateOn!=="submit"&&e.markAsTouched()})}function S2(e,t){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function QP(e,t){let r=(i,o)=>{t.valueAccessor.writeValue(i),o&&t.viewToModelUpdate(i)};e.registerOnChange(r),t._registerOnDestroy(()=>{e._unregisterOnChange(r)})}function JP(e,t){Sv(e,t)}function eN(e,t){return Mu(e,t)}function tN(e,t){if(!Object.hasOwn(e,"model"))return!1;let r=e.model;return r.isFirstChange()?!0:!Object.is(t,r.currentValue)}function rN(e){return Object.getPrototypeOf(e.constructor)===SP}function iN(e,t){e._syncPendingControls(),t.forEach(r=>{let i=r.control;i.updateOn==="submit"&&i._pendingChange&&(r.viewToModelUpdate(i._pendingValue),i._pendingChange=!1)})}function oN(e,t){if(!t)return null;let r,i,o;return t.forEach(n=>{n.constructor===i2?r=n:rN(n)?i=n:o=n}),o||i||r||null}function nN(e,t){let r=e.indexOf(t);r>-1&&e.splice(r,1)}function L5(e,t){let r=e.indexOf(t);r>-1&&e.splice(r,1)}function F5(e){return typeof e=="object"&&e!==null&&Object.keys(e).length===2&&"value"in e&&"disabled"in e}function $5(e){for(let t of e)t.remove()}function H5(e,t){let r=t.createElement("style");return r.textContent=e,r}function dN(e,t,r,i){let o=e.head?.querySelectorAll(`style[${bd}="${t}"],link[${bd}="${t}"]`);if(!o||o.length===0)return!1;for(let n of o)n.removeAttribute(bd),n instanceof HTMLLinkElement?i.set(n.href.slice(n.href.lastIndexOf("/")+1),{usage:0,elements:[n]}):n.textContent&&r.set(n.textContent,{usage:0,elements:[n]});return!0}function mp(e,t){let r=t.createElement("link");return r.setAttribute("rel","stylesheet"),r.setAttribute("href",e),r}function mN(e){return pN.replace(Iv,e)}function bN(e){return hN.replace(Iv,e)}function O2(e,t){return t.map(r=>r.replace(Iv,e))}function j5(e){return e.tagName==="TEMPLATE"&&e.content!==void 0}function wN(){return rs=rs||document.head.querySelector("base"),rs?rs.getAttribute("href"):null}function CN(e){return new URL(e,document.baseURI).pathname}async function TN(e,t){return vP(IN(e,t))}function IN(e,t){return{platformRef:t?.platformRef,appProviders:[...zN,...e?.providers??[]],platformProviders:DN}}function AN(){yN.makeCurrent()}function BN(){return new xa}function EN(){return l6(document),document}function PN(e,t){let r=new Map;return e.length>0&&e.replace(/^\?/,"").split("&").forEach(i=>{let o=i.indexOf("="),[n,a]=o==-1?[t.decodeKey(i),""]:[t.decodeKey(i.slice(0,o)),t.decodeValue(i.slice(o+1))],s=r.get(n)||[];s.push(a),r.set(n,s)}),r}function Z5(e){return encodeURIComponent(e).replace(NN,(t,r)=>MN[r]??t)}function wl(e){return`${e}`}function LN(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function K5(e){return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer}function X5(e){return typeof Blob<"u"&&e instanceof Blob}function Y5(e){return typeof FormData<"u"&&e instanceof FormData}function FN(e){return typeof URLSearchParams<"u"&&e instanceof URLSearchParams}function wp(){}function GN(e){e.then(wp,wp)}function J5(e){throw new L(-2825,!1)}function eb(e){let t=e.match(WN);if(t!==null)try{return new TextDecoder(t[1])}catch{}return new TextDecoder}function V2(e,t){if(!S(ZN)||e.method==="GET"||e.method==="HEAD")return t(e);try{let o=S(e2).href,{origin:n}=new URL(o),{origin:a}=new URL(e.url,n);if(n!==a)return t(e)}catch{return t(e)}let r=S(eM).getToken(),i=S(QN);return r!=null&&!e.headers.has(i)&&(e=e.clone({headers:e.headers.set(i,r)})),t(e)}function tM(e,t){return t(e)}function rM(e,t,r){return(i,o)=>Fr(r,()=>t(i,n=>e(n,o)))}function xd(e,t){return E({body:t},e)}function nM(...e){let t=[G2,yp,Cp,{provide:Ev,useExisting:Cp},{provide:q2,useFactory:()=>S(yp)},{provide:j2,useValue:V2,multi:!0}];for(let r of e)t.push(...r.\u0275providers);return Bf(t)}function aM(e){e||(e=S(si));let t=new _t(r=>{if(e.destroyed){r.next();return}return e.onDestroy(r.next.bind(r))});return r=>r.pipe(az(t))}function is(e,t){let r=t?.injector??S(ht),i=new W1(1),o=br(()=>{let n;try{n=e()}catch(a){Vt(()=>i.error(a));return}Vt(()=>i.next(n))},{injector:r,manualCleanup:!0});return r.get(si).onDestroy(()=>{o.destroy(),i.complete()}),i.asObservable()}function sM(e,t){return{provide:e,useFactory:r=>new e(r,t),deps:[Af]}}function bo(e){return[sM(Ni,e)]}function xM(){return R("div",{class:{"ui5-switch-root":!0,"ui5-switch--desktop":Ht(),"ui5-switch--disabled":this.disabled,"ui5-switch--checked":this.checked,"ui5-switch--semantic":this.graphical,"ui5-switch--no-label":!(this.graphical||this.textOn||this.textOff),"ui5-switch--safari":Vu()},role:"switch","aria-label":this.ariaLabelText,"aria-checked":this.checked,"aria-disabled":this.effectiveAriaDisabled,"aria-readonly":this.effectiveAriaReadonly,"aria-required":this.required,"aria-describedby":this.ariaDescribedBy,onClick:this._onclick,onKeyUp:this._onkeyup,onKeyDown:this._onkeydown,onFocusIn:this._onfocusin,tabindex:this.effectiveTabIndex,title:this.tooltip,children:[g("div",{class:"ui5-switch-inner",children:g("div",{class:"ui5-switch-track",part:"slider",children:R("div",{class:"ui5-switch-slider",children:[this.graphical?R(ke,{children:[g("span",{class:"ui5-switch-text ui5-switch-text--on",children:g(tt,{name:_7,class:"ui5-switch-icon-on"})}),g("span",{class:"ui5-switch-text ui5-switch-text--off",children:g(tt,{name:c1,class:"ui5-switch-icon-off"})})]}):g(ke,{children:this.hasNoLabel?R(ke,{children:[g("span",{class:"ui5-switch-text ui5-switch-text--on ui5-switch-no-label-icon",part:"text-on",children:g(tt,{name:this.sapNextIcon,class:"ui5-switch-no-label-icon-on"})}),g("span",{class:"ui5-switch-text ui5-switch-text--off ui5-switch-no-label-icon",part:"text-off",children:g(tt,{name:this.sapNextIcon,class:"ui5-switch-no-label-icon-off"})})]}):R(ke,{children:[g("span",{class:"ui5-switch-text ui5-switch-text--on",part:"text-on","aria-hidden":this._textAriaHidden,children:this._textOn}),g("span",{class:"ui5-switch-text ui5-switch-text--off",part:"text-off","aria-hidden":this._textAriaHidden,children:this._textOff})]})}),this.readonly&&g("span",{class:"ui5-switch-text ui5-switch-text--readonly",id:this.ariaDescribedBy,"aria-hidden":this._textAriaHidden,children:this.ariaDescribedByText}),g("span",{class:"ui5-switch-handle",part:"handle"})]})})}),g("input",{type:"checkbox",checked:this.checked,class:"ui5-switch-input","data-sap-no-tab-ref":!0})]})}function XM(e,t){for(let r=1,i=1;r<e.length;r++,i++)if(t[i]==="\\")i++;else if(e[r]===":")return r;throw new Error(`Unterminated $localize metadata block in "${t}".`)}function _b(e,t){return t.charAt(0)===YM?e.substring(XM(e,t)+1):e}function eL(e,t){if(e&1&&(U(0,"div",4),fe(1),W()),e&2){Si();let r=vv(1);P(),Pr(r.urlsInput.error)}}function tL(e,t){if(e&1){let r=pv();U(0,"ui5-li-custom",14)(1,"div",21)(2,"span",22),fe(3),W(),U(4,"ui5-switch",23),Pt("change",function(){let i=fs(r).$index;return vs(Si().toggleUrl(i))}),W(),U(5,"ui5-button",24),Pt("click",function(){let i=fs(r).$index;return vs(Si().removeUrl(i))}),W()()()}if(e&2){let r=t.$implicit;Si();let i=vv(1);P(2),fc("list-item-text--inactive",r.active===!1),Ot("title",ys(r.url)),P(),Pr(r.url),P(),Ot("checked",r.active!==!1),P(),Ot("tooltip",ys(i.removeButton))}}function rL(e,t){if(e&1){let r=pv();U(0,"ui5-li-custom",14)(1,"div",21)(2,"span",25),fe(3),W(),U(4,"ui5-button",24),Pt("click",function(){let i=fs(r).$implicit;return vs(Si().removeServiceProviderConfig(i[0]))}),W()()()}if(e&2){let r=t.$implicit;Si();let i=vv(1);P(3),UC(" Key: ",r[0],", Value: ",r[1]," "),P(),Ot("tooltip",ys(i.removeButton))}}function nL(e,t){if(e&1){let r=pv();U(0,"ui5-li-custom")(1,"div",10)(2,"span"),fe(3),W(),U(4,"div",11)(5,"ui5-switch",12),Pt("ui5Change",function(){let i=fs(r).$implicit;return vs(Si().onToggleChange(i.key))}),W(),U(6,"ui5-button",13),Pt("ui5Click",function(){let i=fs(r).$implicit;return vs(Si().onItemDelete(i.key))}),W()()()()}if(e&2){let r=t.$implicit,i=Si();P(3),bt(" ",r.key," ");let o=i.queryParamsFeatures.includes(r.key);P(2),Ot("tooltip",o?i.texts.tooltipQueryParam:"")("disabled",o)("checked",i.togglesForm.get(r.key).value),P(),Ot("tooltip",o?i.texts.tooltipQueryParam:"")("disabled",o)}}function lL(e,t){if(e&1&&(bi(0,"a",11)(1,"span"),fe(2),ro(),aR(),bi(3,"svg",12),Bu(4,"path",13),ro()()),e&2){let r=t.$implicit;fv("href",r.link,Hw),P(2),Pr(r.title)}}function _L(e,t){e&1&&ms(0,"div",2)}function dL(e,t){e&1&&ms(0,"ui5-icon",3)}function fL(e){return e.replace(/[A-Z]/g,t=>`-${t.toLowerCase()}`)}function vL(e){return!!e&&e.nodeType===Node.ELEMENT_NODE}function gL(e,t){if(!Td){let r=Element.prototype;Td=r.matches||r.matchesSelector||r.mozMatchesSelector||r.msMatchesSelector||r.oMatchesSelector||r.webkitMatchesSelector}return e.nodeType===Node.ELEMENT_NODE?Td.call(e,t):!1}function mL(e){let t={};return e.forEach(({propName:r,templateName:i,transform:o})=>{t[fL(i)]=[r,o]}),t}function bL(e,t){return Du(e).inputs}function yL(e,t){let r=e.childNodes,i=t.map(()=>[]),o=-1;t.some((n,a)=>n==="*"?(o=a,!0):!1);for(let n=0,a=r.length;n<a;++n){let s=r[n],l=wL(s,t,o);l!==-1&&i[l].push(s)}return i}function wL(e,t,r){let i=r;return vL(e)&&t.some((o,n)=>o!=="*"&&gL(e,o)?(i=n,!0):!1),i}function TL(e,t){let r=bL(e),i=t.strategyFactory||new xL(e),o=mL(r);class n extends kL{injector;static observedAttributes=Object.keys(o);get ngElementStrategy(){if(!this._ngElementStrategy){let s=this._ngElementStrategy=i.create(this.injector||t.injector);r.forEach(({propName:l,transform:u})=>{if(!Object.hasOwn(this,l))return;let _=this[l];delete this[l],s.setInputValue(l,_,u)})}return this._ngElementStrategy}_ngElementStrategy;constructor(s){super(),this.injector=s}attributeChangedCallback(s,l,u,_){let[c,h]=o[s];this.ngElementStrategy.setInputValue(c,u,h)}connectedCallback(){let s=!1;this.ngElementStrategy.events&&(this.subscribeToEvents(),s=!0),this.ngElementStrategy.connect(this),s||this.subscribeToEvents()}disconnectedCallback(){this._ngElementStrategy&&this._ngElementStrategy.disconnect(),this.ngElementEventsSubscription&&(this.ngElementEventsSubscription.unsubscribe(),this.ngElementEventsSubscription=null)}subscribeToEvents(){this.ngElementEventsSubscription=this.ngElementStrategy.events.subscribe(s=>{let l=new CustomEvent(s.name,{detail:s.value});this.dispatchEvent(l)})}}return r.forEach(({propName:a,transform:s,isSignal:l})=>{Object.defineProperty(n.prototype,a,{get(){let u=this.ngElementStrategy.getInputValue(a);return l&&RR(u)?u():u},set(u){this.ngElementStrategy.setInputValue(a,u,s)},configurable:!0,enumerable:!0})}),n}function EL(){let e=S(ht);BL({"development-settings":iL,"getting-started":uL,"feature-toggle":aL,"no-vpn":hL},e)}var Zx,Uu,Kx,Xx,Yx,Qx,Cg,Jx,db,eS,xg,E,te,Ip,tS,rS,Ap,hb,Te,pb,Mo,Sg,fb,Id,vb,Bp,Ad,Bd,Ed,gb,iS,Ep,uS,I_,_S,dS,Ag,fS,vS,kb,Bg,gS,mS,bS,yS,wS,CS,xS,SS,kS,TS,IS,AS,pg,fg,vg,gg,mg,bg,yg,BS,ES,DS,zS,RS,OS,PS,Eg,NS,MS,LS,FS,$S,HS,US,ng,Tb,Ib,ag,VS,jS,qS,GS,WS,ZS,KS,XS,Lv,YS,QS,JS,ek,tk,rk,Rp,Op,Ab,Pp,ik,ok,nk,ak,Fv,$v,Hv,Uv,Vv,jv,qv,Gv,Wv,Zv,Kv,Xv,Yv,Qv,Jv,eg,sk,Bb,lk,uk,ck,_k,dk,hk,pk,fk,zt,oe,A_,B_,Xi,Np,vk,Eb,Vu,gk,mk,et,Ht,Db,bk,yk,wk,zb,Rb,Ck,Dd,Ob,zd,xk,Pb,Nb,Mb,Sk,Lb,kk,Tk,Dg,Ik,Fb,Ak,Bk,Mp,Ek,Dk,zk,Yr,Rk,Rd,Ok,Pk,Nk,Ai,$b,Lp,$o,E_,Hb,Mk,Lk,Ub,Fk,$k,Hk,Uk,Od,D_,Vb,Vk,Pd,jk,Fp,qk,gr,Gk,Cs,Jl,Wk,as,wi,zg,jb,Zk,qb,Gb,Bi,Kk,xs,Xk,Yk,Qk,Jk,z_,eT,Rg,Ge,tT,rT,iT,oT,nT,aT,sT,lT,uT,cT,_T,dT,Wb,eu,hT,pT,fT,vT,Og,gT,or,mT,kl,bT,Zb,Nd,Bn,En,yT,wT,Tl,Kb,R_,Xb,CT,Il,xT,ST,Yb,Qb,Jb,kT,TT,IT,e0,AT,BT,$p,ET,Yn,Xa,Al,O_,_l,t0,r0,i0,o0,DT,zT,RT,OT,Qn,PT,Hp,NT,MT,LT,FT,n0,a0,os,Bl,El,$T,s0,l0,u0,HT,Dl,UT,VT,Up,jT,c0,_0,qT,GT,Pg,d0,WT,h0,tu,B,p0,P_,f0,ZT,On,KT,XT,YT,QT,Md,JT,eI,tI,rI,iI,Ng,oI,nI,aI,zl,Vp,sI,lI,Mg,N_,v0,uI,ss,cI,_I,dI,hI,pI,fI,jp,Ln,g0,Ss,vI,gI,m0,mI,Rl,bI,M_,b0,L_,yI,Ol,F_,$_,ls,wI,pa,CI,y0,xI,w0,ju,SI,kI,TI,II,AI,fa,BI,EI,DI,zI,RI,OI,PI,NI,MI,LI,FI,Lg,$I,HI,qu,dl,Fg,C0,x0,UI,VI,jI,qI,GI,H_,U_,$g,Lo,S0,WI,Hg,Ug,k0,Vg,ZI,KI,XI,YI,QI,qp,JI,eA,tA,jg,Pl,rA,iA,Nl,oA,nA,aA,sA,lA,uA,Ld,cA,_A,dA,hA,pA,fA,qg,vA,T0,gA,mA,bA,yA,wA,I0,V_,A0,Gg,CA,Vo,xA,Wg,SA,kA,TA,Zg,IA,AA,Kg,Xg,Gp,j_,B0,Yg,BA,E0,EA,DA,Qg,D0,zA,RA,OA,q_,z0,PA,Gu,NA,MA,ru,G_,Jg,em,LA,tm,FA,rm,$A,R0,HA,Wu,VA,im,W_,om,qA,Rr,mt,GA,ye,WA,v,ZA,V,$e,XA,lt,Zu,Ie,P0,Fo,nm,N0,Fd,M0,Wp,$d,Hd,L0,us,F0,YA,Zp,oB,lm,aB,rt,Ne,Nt,sB,Ue,W0,Ao,Bo,dr,Br,__,d_,h_,p_,Qp,Jp,so,lo,ea,lB,Vd,Z0,K0,jd,qd,uB,ou,Mt,X0,_o,nu,cs,cB,va,Ku,Y0,Q0,ef,tf,_B,Xu,J0,rf,Yu,of,Qu,Gd,e1,dB,yi,hB,um,pB,fB,vB,t1,gB,cm,r1,Z_,Wd,mB,_m,re,i1,o1,n1,Zd,bB,Kd,Wr,J,ee,CB,mr,Fl,xB,jt,tt,SB,ul,Xd,dm,Yd,hm,Qd,K_,Jd,pm,eh,fm,TB,ga,th,ki,nf,AB,ho,rh,Nr,af,ih,gm,EB,_e,qi,mm,Ro,ne,qr,X_,Fn,a1,DB,zB,RB,ta,s1,be,OB,Qr,oh,Tn,MB,Ju,Zo,Sn,l1,u1,v_,g_,c1,nh,Ya,_1,LB,FB,ah,au,d1,$B,h1,HB,UB,p1,jB,gt,qB,GB,ra,WB,ZB,KB,XB,YB,QB,Io,JB,eE,tE,sf,sh,La,nE,aE,sE,fr,su,f1,v1,cE,g1,_E,dE,m1,hE,pE,fE,Lt,Qa,vE,pl,Ct,$a,lh,In,uh,Yi,ch,Po,gE,mE,b1,bE,Rt,Ts,yE,wE,CE,xE,SE,kE,TE,IE,AE,y1,BE,EE,DE,zE,ie,RE,OE,KL,b_,ME,St,je,fl,ct,pe,We,rl,bm,LE,FE,$E,HE,_h,UE,jE,kt,$l,Ze,wg,qE,GE,WE,ZE,ym,KE,XE,w_,YE,QE,JE,dh,e3,hh,n3,a3,s3,w1,l3,u3,c3,_3,d3,h3,ph,xm,X,ue,Gi,fh,j,C_,p3,f3,lf,vh,v3,g3,po,Jr,Eo,m3,b3,Sm,uf,y3,w3,C3,x3,S3,ia,T3,A3,C1,yt,x1,$n,km,B3,Tm,Im,S1,E3,D3,z3,k1,gh,T1,P3,mh,I1,fo,Ja,N3,M3,Mr,x_,F3,Is,uo,sl,H3,nn,ei,sg,U3,bh,Ha,A1,Dn,B1,ja,V3,j3,q3,Am,Y_,Wi,Zi,Bm,G3,W3,vl,Z3,K3,X3,Y3,yh,qe,wh,Q_,Ch,Em,e7,t7,xh,r7,Sh,Zr,i7,o7,n7,Gt,Ki,Bt,E1,a7,ji,l7,Et,No,Dm,J_,nt,u7,c7,_7,d7,h7,p7,Dt,mi,zm,ed,at,g7,m7,k7,Rm,gi,qa,A7,Om,z1,B7,ec,kh,oa,E7,Ae,Dr,D7,z7,R7,ge,O7,lg,P7,N7,M7,Ut,Hl,jo,L7,Qt,ma,Hn,Un,Ci,q7,N1,Z7,F1,Q7,Th,eD,rD,td,Ti,H1,an,uu,oD,Ho,gf,lD,uD,Eh,_D,mf,_t,vD,gD,sn,q1,mD,G1,W1,bD,K1,ey,$D,UD,qD,GD,WD,ZD,ly,L,cz,hy,Um,q,Dh,zh,hz,_u,ns,Vm,fy,fz,vz,Rh,qo,mz,bz,Xo,hr,If,Af,wy,Cy,Bz,Df,Vl,jm,nd,Yo,zf,zi,H,F,qt,Or,nr,sa,du,ot,Qo,ri,Ke,hs,qm,un,Jt,la,Nn,ua,ac,Iy,oo,ad,no,vr,jn,Fz,Ay,Xe,By,Gm,sc,$z,hu,wt,Dy,zy,Hz,Z,Fh,Xy,Qy,ht,ai,si,ew,uR,cR,Ds,_R,pr,Vf,gu,hR,li,pR,gR,xa,CR,zs,xR,ow,SR,nw,aw,sw,qf,Sa,Gf,TR,lw,IR,AR,uw,BR,ER,OR,Wf,PR,ce,NR,dw,Zf,Vh,Ym,ve,qn,Rs,Gh,fw,vw,YR,Xr,xw,er,Iw,Aw,n6,r5,Xh,c6,_6,zw,d6,i5,p6,xi,Nw,g6,Uw,yr,Uo,N6,M6,Jh,zn,Jf,ka,a5,qw,$6,H6,U6,ep,Gw,t8,Ps,lC,B8,D8,z8,ip,W8,Z8,K8,_v,pc,Y8,cd,Q8,SC,op,xu,AC,yO,dv,DO,RO,np,BC,MO,RC,OC,e4,r4,i4,n4,ku,s4,S5,c4,_4,d4,HC,up,M4,jC,X4,KC,J4,tP,k,oP,nP,aP,YC,QC,pp,uP,_P,Kl,JC,bP,e2,yP,CP,xP,r2,SP,gv,kP,IP,i2,yv,o2,AP,n2,m2,wv,Wa,bl,An,Za,Ia,M5,gd,md,yl,MP,Ou,w2,jP,qP,GP,x2,WP,Cv,xv,aN,gc,k2,T2,I2,A2,Wo,sN,lN,uN,kv,B2,cN,Tv,_N,E2,D2,vp,gp,z2,bd,U5,yd,Iv,R2,hN,pN,fN,vN,gN,V5,Av,q5,bp,G5,yN,rs,W5,xN,SN,kN,DN,zN,ha,RN,ON,NN,MN,Zn,wd,Q5,M2,L2,$N,Cd,Kn,Bv,HN,H2,Cl,UN,VN,jN,yp,qN,WN,ZN,KN,XN,YN,QN,JN,eM,j2,iM,oM,q2,Cp,Ev,G2,W2,Z2,Dv,lM,uM,zv,cM,_M,K2,Lu,Fu,XL,YL,QL,JL,dM,hM,K,pM,fM,X2,vM,gM,Y2,mM,bM,yM,wM,Ni,Rv,Ov,Q2,J2,ex,tx,rx,ix,xp,CM,SM,Ft,Rn,xt,ox,he,Pv,tb,rb,ib,kM,TM,Nv,on,ob,nb,IM,AM,N,ab,$u,Ka,sb,Sd,BM,Hu,Mv,co,nx,EM,DM,zM,RM,OM,PM,NM,MM,LM,ax,FM,$M,Sp,HM,UM,sx,lx,ux,VM,lb,jM,qM,GM,WM,ut,xl,kd,ub,cb,ZM,cx,KM,Tp,YM,QM,JM,iL,oL,aL,sL,uL,cL,hL,pL,Td,CL,xL,SL,kL,hx,IL,AL,BL,px,DL,zL,il=Ma(()=>{Zx=Object.create,Uu=Object.defineProperty,Kx=Object.defineProperties,Xx=Object.getOwnPropertyDescriptor,Yx=Object.getOwnPropertyDescriptors,Qx=Object.getOwnPropertyNames,Cg=Object.getOwnPropertySymbols,Jx=Object.getPrototypeOf,db=Object.prototype.hasOwnProperty,eS=Object.prototype.propertyIsEnumerable,xg=(e,t,r)=>t in e?Uu(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,E=(e,t)=>{for(var r in t||={})db.call(t,r)&&xg(e,r,t[r]);if(Cg)for(var r of Cg(t))eS.call(t,r)&&xg(e,r,t[r]);return e},te=(e,t)=>Kx(e,Yx(t)),Ip=(e,t)=>()=>{try{return t||e((t={exports:{}}).exports,t),t.exports}catch(r){throw t=0,r}},tS=(e,t)=>{for(var r in t)Uu(e,r,{get:t[r],enumerable:!0})},rS=(e,t,r,i)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of Qx(t))!db.call(e,o)&&o!==r&&Uu(e,o,{get:()=>t[o],enumerable:!(i=Xx(t,o))||i.enumerable});return e},Ap=(e,t,r)=>(r=e!=null?Zx(Jx(e)):{},rS(t||!e||!e.__esModule?Uu(r,"default",{value:e,enumerable:!0}):r,e)),Ed={},gb=[],iS=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,Ep=Array.isArray;hb=gb.slice,Te={__e:function(e,t,r,i){for(var o,n,a;t=t.__;)if((o=t.__c)&&!o.__)try{if((n=o.constructor)&&n.getDerivedStateFromError!=null&&(o.setState(n.getDerivedStateFromError(e)),a=o.__d),o.componentDidCatch!=null&&(o.componentDidCatch(e,i||{}),a=o.__d),a)return o.__E=o}catch(s){e=s}throw e}},pb=0,Sl.prototype.setState=function(e,t){var r=this.__s!=null&&this.__s!==this.state?this.__s:this.__s=Ji({},this.state);typeof e=="function"&&(e=e(Ji({},r),this.props)),e&&Ji(r,e),e!=null&&this.__v&&(t&&this._sb.push(t),kg(this))},Sl.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),kg(this))},Sl.prototype.render=ws,Mo=[],fb=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,Id=function(e,t){return e.__v.__b-t.__v.__b},Ql.__r=0,vb=/(PointerCapture)$|Capture$/i,Bp=0,Ad=Ig(!1),Bd=Ig(!0);uS=0;I_=new Map,_S=e=>{if(!I_.has(e)){let t=e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();I_.set(e,t)}return I_.get(e)},dS=e=>_S(e);Ag=Te.vnode;Te.vnode=e=>{let t=e.props;t!==null&&typeof t=="object"&&t.class&&t.class,Ag&&Ag(e)};fS={key:"ACC_STATE_REQUIRED",defaultText:"Required"},vS={key:"ACC_STATE_DISABLED",defaultText:"Disabled"},kb={key:"ACC_STATE_READONLY",defaultText:"Read Only"},Bg={key:"ACC_STATE_EMPTY",defaultText:"Empty"},gS={key:"ACC_STATE_SINGLE_CONTROL",defaultText:"Includes element"},mS={key:"ACC_STATE_MULTIPLE_CONTROLS",defaultText:"Includes elements"},bS={key:"BUSY_INDICATOR_TITLE",defaultText:"Please wait"},yS={key:"BUTTON_ARIA_TYPE_ACCEPT",defaultText:"Positive Action"},wS={key:"BUTTON_ARIA_TYPE_REJECT",defaultText:"Negative Action"},CS={key:"BUTTON_ARIA_TYPE_EMPHASIZED",defaultText:"Default Action"},xS={key:"BUTTON_ARIA_TYPE_ATTENTION",defaultText:"Warning"},SS={key:"BUTTON_BADGE_ONE_ITEM",defaultText:"{0} item"},kS={key:"BUTTON_BADGE_MANY_ITEMS",defaultText:"{0} items"},TS={key:"BUTTON_ROLE_DESCRIPTION",defaultText:"Button"},IS={key:"LINK_ROLE_DESCRIPTION",defaultText:"Link"},AS={key:"DELETE",defaultText:"Delete"},pg={key:"EMPTY_INDICATOR_SYMBOL",defaultText:"\u2013"},fg={key:"EMPTY_INDICATOR_ACCESSIBLE_TEXT",defaultText:"Empty Value"},vg={key:"EXPANDABLE_TEXT_SHOW_MORE",defaultText:"Show More"},gg={key:"EXPANDABLE_TEXT_SHOW_LESS",defaultText:"Show Less"},mg={key:"EXPANDABLE_TEXT_CLOSE",defaultText:"Close"},bg={key:"EXPANDABLE_TEXT_SHOW_MORE_POPOVER_ARIA_LABEL",defaultText:"Show the full text"},yg={key:"EXPANDABLE_TEXT_SHOW_LESS_POPOVER_ARIA_LABEL",defaultText:"Close the popover"},BS={key:"GROUP_HEADER_TEXT",defaultText:"Group Header"},ES={key:"INPUT_SUGGESTIONS",defaultText:"Suggestions Available"},DS={key:"INPUT_SUGGESTIONS_TITLE",defaultText:"All Items"},zS={key:"INPUT_SUGGESTIONS_ONE_HIT",defaultText:"1 result available"},RS={key:"INPUT_SUGGESTIONS_MORE_HITS",defaultText:"{0} results are available"},OS={key:"INPUT_SUGGESTIONS_NO_HIT",defaultText:"No results"},PS={key:"INPUT_SUGGESTIONS_EXPANDED",defaultText:"Expanded"},Eg={key:"INPUT_SUGGESTIONS_COLLAPSED",defaultText:"Collapsed"},NS={key:"INPUT_CLEAR_ICON_ACC_NAME",defaultText:"Clear"},MS={key:"INPUT_SUGGESTIONS_OK_BUTTON",defaultText:"OK"},LS={key:"INPUT_SUGGESTIONS_CANCEL_BUTTON",defaultText:"Cancel"},FS={key:"LINK_SUBTLE",defaultText:"Subtle"},$S={key:"LINK_EMPHASIZED",defaultText:"Emphasized"},HS={key:"LIST_ROLE_DESCRIPTION",defaultText:"List with interactive items. To move to the content, press F2."},US={key:"LIST_ITEM_ACTIVE",defaultText:"Is Active"},ng={key:"LIST_ITEM_POSITION",defaultText:"List item {0} of {1}"},Tb={key:"LIST_ITEM_SELECTED",defaultText:"Selected"},Ib={key:"LIST_ITEM_NOT_SELECTED",defaultText:"Not Selected"},ag={key:"LIST_ITEM_GROUP_HEADER",defaultText:"Group Header"},VS={key:"LIST_ROLE_LIST_GROUP_DESCRIPTION",defaultText:"contains {0} sub groups with {1} items"},jS={key:"LIST_ROLE_LISTBOX_GROUP_DESCRIPTION",defaultText:"contains {0} sub groups"},qS={key:"ARIA_LABEL_LIST_ITEM_CHECKBOX",defaultText:"Multiple Selection Mode"},GS={key:"ARIA_LABEL_LIST_ITEM_RADIO_BUTTON",defaultText:"Item Selection."},WS={key:"ARIA_LABEL_LIST_SELECTABLE",defaultText:"Contains Selectable Items"},ZS={key:"ARIA_LABEL_LIST_MULTISELECTABLE",defaultText:"Contains Multi-Selectable Items"},KS={key:"ARIA_LABEL_LIST_DELETABLE",defaultText:"Contains Deletable Items"},XS={key:"INPUT_AVALIABLE_VALUES",defaultText:"Available Values"},Lv={key:"RESPONSIVE_POPOVER_CLOSE_DIALOG_BUTTON",defaultText:"Decline"},YS={key:"LOAD_MORE_TEXT",defaultText:"More"},QS={key:"LISTITEMCUSTOM_TYPE_TEXT",defaultText:"List Item"},JS={key:"VALUE_STATE_TYPE_ERROR",defaultText:"Value State Error"},ek={key:"VALUE_STATE_TYPE_WARNING",defaultText:"Value State Warning"},tk={key:"VALUE_STATE_TYPE_SUCCESS",defaultText:"Value State Success"},rk={key:"VALUE_STATE_TYPE_INFORMATION",defaultText:"Value State Information"},Rp={key:"VALUE_STATE_ERROR",defaultText:"Invalid entry"},Op={key:"VALUE_STATE_WARNING",defaultText:"Warning issued"},Ab={key:"VALUE_STATE_INFORMATION",defaultText:"Informative entry"},Pp={key:"VALUE_STATE_SUCCESS",defaultText:"Entry successfully validated"},ik={key:"VALUE_STATE_LINK",defaultText:"To move the focus to the link, press Ctrl+Alt+F8"},ok={key:"VALUE_STATE_LINK_MAC",defaultText:"To move the focus to the link, press Cmd+Option+F8"},nk={key:"VALUE_STATE_LINKS",defaultText:"To go to the first link, press Ctrl+Alt+F8. To move to the next link, use Tab"},ak={key:"VALUE_STATE_LINKS_MAC",defaultText:"To go to the first link, press Cmd+Option+F8. To move to the next link, use Tab"},Fv={key:"DIALOG_ARIA_DESCRIBEDBY_RESIZABLE",defaultText:"Use shift+arrow keys to resize"},$v={key:"DIALOG_ARIA_DESCRIBEDBY_DRAGGABLE",defaultText:"Use arrow keys to move"},Hv={key:"DIALOG_ARIA_DESCRIBEDBY_DRAGGABLE_RESIZABLE",defaultText:"Use arrow keys to move, Shift+arrow keys to resize"},Uv={key:"DIALOG_ARIA_DESCRIBEDBY_REACH_DRAGGABLE_RESIZABLE",defaultText:"Tab to the end of dialog to reach drag and resize handle."},Vv={key:"DIALOG_ARIA_DESCRIBEDBY_REACH_DRAGGABLE",defaultText:"Tab to the end of dialog to reach drag handle."},jv={key:"DIALOG_ARIA_DESCRIBEDBY_REACH_RESIZABLE",defaultText:"Tab to the end of dialog to reach resize handle."},qv={key:"DIALOG_RESIZE_HANDLE_TOOLTIP",defaultText:"Drag handle to resize (shift+arrow)"},Gv={key:"DIALOG_DRAG_AND_RESIZE_HANDLE_ARIA_LABEL",defaultText:"Drag and Resize Dialog"},Wv={key:"DIALOG_DRAG_HANDLE_ARIA_LABEL",defaultText:"Drag Dialog"},Zv={key:"DIALOG_RESIZE_HANDLE_ARIA_LABEL",defaultText:"Resize Dialog"},Kv={key:"DIALOG_HANDLE_ARIA_ROLEDESCRIPTION",defaultText:"Handle"},Xv={key:"DIALOG_HEADER_ARIA_LABEL",defaultText:"Header"},Yv={key:"DIALOG_CONTENT_ARIA_LABEL",defaultText:"Content"},Qv={key:"DIALOG_FOOTER_ARIA_LABEL",defaultText:"Footer"},Jv={key:"DIALOG_FULLSCREEN_MAXIMIZE",defaultText:"Maximize (Shift+Ctrl+F)"},eg={key:"DIALOG_FULLSCREEN_RESTORE",defaultText:"Restore (Shift+Ctrl+F)"},sk={key:"LABEL_COLON",defaultText:":"},Bb={key:"FORM_CHECKABLE_REQUIRED",defaultText:"Please tick this box if you want to proceed."},lk={key:"FORM_SELECTABLE_REQUIRED2",defaultText:"Please select one of these options."},uk={key:"CHECKBOX_CHECKED",defaultText:"Checked"},ck={key:"CHECKBOX_NOT_CHECKED",defaultText:"Not checked"},_k={key:"CHECKBOX_ARIA_TYPE",defaultText:"Checkbox"},dk={key:"SWITCH_ON",defaultText:"On"},hk={key:"SWITCH_OFF",defaultText:"Off"},pk={key:"ICON_ARIA_TYPE_IMAGE",defaultText:"Image"},fk={key:"ICON_ARIA_TYPE_INTERACTIVE",defaultText:"Button"},zt=typeof document>"u",oe={get userAgent(){return zt?"":navigator.userAgent},get touch(){return zt?!1:"ontouchstart"in window||navigator.maxTouchPoints>0},get chrome(){return zt?!1:/(Chrome|CriOS)/.test(oe.userAgent)},get firefox(){return zt?!1:/Firefox/.test(oe.userAgent)},get safari(){return zt?!1:!oe.chrome&&/(Version|PhantomJS)\/(\d+\.\d+).*Safari/.test(oe.userAgent)},get webkit(){return zt?!1:/webkit/.test(oe.userAgent)},get windows(){return zt?!1:navigator.platform.indexOf("Win")!==-1},get macOS(){return zt?!1:!!navigator.userAgent.match(/Macintosh|Mac OS X/i)},get iOS(){return zt?!1:!!navigator.platform.match(/iPhone|iPad|iPod/)||!!(oe.userAgent.match(/Mac/)&&"ontouchend"in document)},get android(){return zt?!1:!oe.windows&&/Android/.test(oe.userAgent)},get androidPhone(){return zt?!1:oe.android&&/(?=android)(?=.*mobile)/i.test(oe.userAgent)},get ipad(){return zt?!1:/ipad/i.test(oe.userAgent)||/Macintosh/i.test(oe.userAgent)&&"ontouchend"in document},_isPhone(){return Eb(),oe.touch&&!Xi}},Np=()=>{if(zt||!oe.windows)return!1;if(A_===void 0){let e=oe.userAgent.match(/Windows NT (\d+).(\d)/);A_=e?parseFloat(e[1]):0}return A_>=8},vk=()=>{if(zt||!oe.webkit)return!1;if(B_===void 0){let e=oe.userAgent.match(/(webkit)[ /]([\w.]+)/);B_=e?parseFloat(e[1]):0}return B_>=537.1},Eb=()=>{if(zt)return!1;if(Xi===void 0){if(oe.ipad){Xi=!0;return}if(oe.touch){if(Np()){Xi=!0;return}if(oe.chrome&&oe.android){Xi=!/Mobile Safari\/[.0-9]+/.test(oe.userAgent);return}let e=window.devicePixelRatio?window.devicePixelRatio:1;oe.android&&vk()&&(e=1),Xi=Math.min(window.screen.width/e,window.screen.height/e)>=600;return}Xi=oe.userAgent.indexOf("Touch")!==-1||oe.android&&!oe.androidPhone}},Vu=()=>oe.safari,gk=()=>oe.chrome,mk=()=>(Eb(),(oe.touch||Np())&&Xi),et=()=>oe._isPhone(),Ht=()=>zt?!1:!mk()&&!et()||Np(),Db=()=>oe.iOS,bk=()=>oe.macOS,yk=()=>oe.android||oe.androidPhone,wk=(e,t)=>{if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++)if(e[r]!==t[r])return!1;return!0},zb=wk,Rb=e=>{let t=e.getAttribute("form");if(t){let r=document.getElementById(t);return r instanceof HTMLFormElement?r:null}return e._internals?.form??null},Ck=e=>{Pb(e)&&Dd(e)},Dd=e=>{if(e._internals?.form){if(Ob(e),!e.name){e._internals?.setFormValue(null);return}e._internals.setFormValue(e.formFormattedValue)}},Ob=async e=>{if(!(!e.isUI5Element||!e._internals?.form))if(e._internals.setValidity({customError:!0}," "),await e.definePromise,e.formValidity&&Object.keys(e.formValidity).some(t=>t)){let t=await e.formElementAnchor?.();e._internals.setValidity(e.formValidity,e.formValidityMessage,t)}else e._internals.setValidity({})},zd=async e=>{let t=Rb(e);if(!t)return;let r=[...t.elements];await Promise.all(r.map(i=>Pb(i)?Ob(i):Promise.resolve())),t.requestSubmit()},xk=e=>{Rb(e)?.reset()},Pb=e=>"formFormattedValue"in e&&"name"in e,Nb={},Mb=Nb.hasOwnProperty,Sk=Nb.toString,Lb=Mb.toString,kk=Lb.call(Object),Tk=function(e){var t,r;return!e||Sk.call(e)!=="[object Object]"?!1:(t=Object.getPrototypeOf(e),t?(r=Mb.call(t,"constructor")&&t.constructor,typeof r=="function"&&Lb.call(r)===kk):!0)},Dg=Tk,Ik=Object.create(null),Fb=function(e,t,r,i){var o,n,a,s,l,u,_=arguments[2]||{},c=3,h=arguments.length,d=arguments[0]||!1,b=arguments[1]?void 0:Ik;for(typeof _!="object"&&typeof _!="function"&&(_={});c<h;c++)if((l=arguments[c])!=null)for(s in l)o=_[s],a=l[s],s!=="__proto__"&&_!==a&&(d&&a&&(Dg(a)||(n=Array.isArray(a)))?(n?(n=!1,u=o&&Array.isArray(o)?o:[]):u=o&&Dg(o)?o:{},_[s]=Fb(d,arguments[1],u,a)):a!==b&&(_[s]=a));return _},Ak=Fb,Bk=function(e,t){return Ak(!0,!1,...arguments)},Mp=Bk,Ek=()=>new Promise(e=>{document.body?e():document.addEventListener("DOMContentLoaded",()=>{e()})}),Dk=Ek,zk=class{constructor(){this._eventRegistry=new Map}attachEvent(e,t){let r=this._eventRegistry,i=r.get(e);if(!Array.isArray(i)){r.set(e,[t]);return}i.includes(t)||i.push(t)}detachEvent(e,t){let r=this._eventRegistry,i=r.get(e);if(!i)return;let o=i.indexOf(t);o!==-1&&i.splice(o,1),i.length===0&&r.delete(e)}fireEvent(e,t){let r=this._eventRegistry.get(e);return r?r.map(i=>i.call(this,t)):[]}fireEventAsync(e,t){return Promise.all(this.fireEvent(e,t))}isHandlerAttached(e,t){let r=this._eventRegistry.get(e);return r?r.includes(t):!1}hasListeners(e){return!!this._eventRegistry.get(e)}},Yr=zk,Rk=(e,t=document.body,r)=>{let i=document.querySelector(e);return i||(i=r?r():document.createElement(e),t.insertBefore(i,t.firstChild))},Rd=Rk,Ok=()=>{let e=document.createElement("meta");return e.setAttribute("name","ui5-shared-resources"),e.setAttribute("content",""),e},Pk=()=>typeof document>"u"?null:Rd('meta[name="ui5-shared-resources"]',document.head,Ok),Nk=(e,t)=>{let r=e.split("."),i=Pk();if(!i)return t;for(let o=0;o<r.length;o++){let n=r[o],a=o===r.length-1;Object.prototype.hasOwnProperty.call(i,n)||(i[n]=a?t:{}),i=i[n]}return i},Ai=Nk,$b=Ai("Tags",new Map),Lp=new Set,$o=new Map,Hb=-1,Mk=e=>{Lp.add(e),$b.set(e,pa())},Lk=e=>Lp.has(e),Ub=()=>[...Lp.values()],Fk=e=>{let t=$b.get(e);t===void 0&&(t=Hb),$o.has(t)||$o.set(t,new Set),$o.get(t).add(e),E_||(E_=setTimeout(()=>{$k(),$o=new Map,E_=void 0},1e3))},$k=()=>{let e=xI(),t=pa(),r=e[t],i="Multiple UI5 Web Components instances detected.";e.length>1&&(i=`${i}
|
|
8
8
|
Loading order (versions before 1.1.0 not listed): ${e.map(o=>`
|
|
9
9
|
${o.description}`).join("")}`),[...$o.keys()].forEach(o=>{let n,a;o===Hb?(n=1,a={description:"Older unknown runtime"}):(n=y0(t,o),a=e[o]);let s;n>0?s="an older":n<0?s="a newer":s="the same",i=`${i}
|
|
10
10
|
|
|
@@ -82,7 +82,7 @@ To prevent other runtimes from defining tags that you use, consider using scopin
|
|
|
82
82
|
`;re("accept",{pathData:"M14.827 2.942c.192.187.224.385.096.593l-7.11 10.18a.48.48 0 0 1-.383.28.524.524 0 0 1-.449-.156L2.146 8.625C2.039 8.52 1.99 8.406 2 8.28a.54.54 0 0 1 .177-.343l.8-.78c.256-.25.502-.25.737 0l3.074 2.997c.107.104.246.15.416.14.171-.01.3-.098.385-.265l5.604-7.775a.482.482 0 0 1 .368-.25.55.55 0 0 1 .432.125l.833.812Z",ltr:!0,viewBox:"0 0 16 16",collection:"SAP-icons-v4",packageName:"@ui5/webcomponents-icons"});re("accept",{pathData:"M12.688 3.254a.75.75 0 0 1 1.124.992l-7.5 8.5A.75.75 0 0 1 5.15 12.7l-3-4a.75.75 0 0 1 1.2-.9l2.447 3.263 6.89-7.81Z",ltr:!0,viewBox:"0 0 16 16",collection:"SAP-icons-v5",packageName:"@ui5/webcomponents-icons"});_7="accept";re("complete",{pathData:"M12.998 10.002h1V14a.946.946 0 0 1-.297.719.987.987 0 0 1-.703.281H1a.973.973 0 0 1-.719-.281A.973.973 0 0 1 0 14V2.005c0-.271.094-.506.281-.703A.947.947 0 0 1 1 1.005h4v1H1V14h11.998v-3.998ZM14.872.786c.146.146.167.313.063.5l-5.78 8.497a.39.39 0 0 1-.313.219.42.42 0 0 1-.375-.125L4.562 5.535c-.188-.188-.188-.375 0-.563l.656-.656c.208-.208.406-.208.593 0l2.5 2.5a.4.4 0 0 0 .36.124c.135-.02.234-.104.296-.25L13.53.224a.38.38 0 0 1 .297-.219.4.4 0 0 1 .359.125l.687.656Z",ltr:!0,viewBox:"0 0 16 16",collection:"SAP-icons-v4",packageName:"@ui5/webcomponents-icons"});re("complete",{pathData:"M10.25 1a.75.75 0 0 1 0 1.5h-6.5c-.69 0-1.25.56-1.25 1.25v8.5c0 .69.56 1.25 1.25 1.25h8.5c.69 0 1.25-.56 1.25-1.25V6.754a.75.75 0 0 1 1.5 0v5.496A2.75 2.75 0 0 1 12.25 15h-8.5A2.75 2.75 0 0 1 1 12.25v-8.5A2.75 2.75 0 0 1 3.75 1h6.5Zm4.435-.741a.75.75 0 0 1 1.127.99L8.704 9.335a.95.95 0 0 1-1.385.045L4.97 7.03a.75.75 0 1 1 1.06-1.06l1.934 1.933L14.684.26Z",ltr:!0,viewBox:"0 0 16 16",collection:"SAP-icons-v5",packageName:"@ui5/webcomponents-icons"});d7="complete";re("border",{pathData:"M14 1c.27 0 .505.094.703.281A.947.947 0 0 1 15 2v12a.947.947 0 0 1-.297.719A.988.988 0 0 1 14 15H2a.973.973 0 0 1-.719-.281A.974.974 0 0 1 1 14V2c0-.292.094-.531.281-.719A.973.973 0 0 1 2 1h12Zm0 1H2v12h12V2Z",ltr:!1,viewBox:"0 0 16 16",collection:"SAP-icons-v4",packageName:"@ui5/webcomponents-icons"});re("border",{pathData:"M12.25 1A2.75 2.75 0 0 1 15 3.75v8.5A2.75 2.75 0 0 1 12.25 15h-8.5A2.75 2.75 0 0 1 1 12.25v-8.5A2.75 2.75 0 0 1 3.75 1h8.5Zm-8.5 1.5c-.69 0-1.25.56-1.25 1.25v8.5c0 .69.56 1.25 1.25 1.25h8.5c.69 0 1.25-.56 1.25-1.25v-8.5c0-.69-.56-1.25-1.25-1.25h-8.5Z",ltr:!1,viewBox:"0 0 16 16",collection:"SAP-icons-v5",packageName:"@ui5/webcomponents-icons"});h7="border";re("tri-state",{pathData:"M14 1c.27 0 .505.099.703.297A.961.961 0 0 1 15 2v12a.947.947 0 0 1-.297.719A.988.988 0 0 1 14 15H2a.973.973 0 0 1-.719-.281A.974.974 0 0 1 1 14V2c0-.27.094-.505.281-.703A.947.947 0 0 1 2 1h12Zm0 1H2v12h12V2Zm-9 8.781v-5.5c0-.166.083-.25.25-.25h5.5c.167 0 .25.084.25.25v5.5c0 .167-.083.25-.25.25h-5.5c-.167 0-.25-.083-.25-.25Z",ltr:!1,viewBox:"0 0 16 16",collection:"SAP-icons-v4",packageName:"@ui5/webcomponents-icons"});re("tri-state",{pathData:"M12.25 1A2.75 2.75 0 0 1 15 3.75v8.5A2.75 2.75 0 0 1 12.25 15h-8.5A2.75 2.75 0 0 1 1 12.25v-8.5A2.75 2.75 0 0 1 3.75 1h8.5Zm-8.5 1.5c-.69 0-1.25.56-1.25 1.25v8.5c0 .69.56 1.25 1.25 1.25h8.5c.69 0 1.25-.56 1.25-1.25v-8.5c0-.69-.56-1.25-1.25-1.25h-8.5ZM9.25 5c.966 0 1.75.784 1.75 1.75v2.5A1.75 1.75 0 0 1 9.25 11h-2.5A1.75 1.75 0 0 1 5 9.25v-2.5C5 5.784 5.784 5 6.75 5h2.5Z",ltr:!1,viewBox:"0 0 16 16",collection:"SAP-icons-v5",packageName:"@ui5/webcomponents-icons"});p7="tri-state";Dt=function(e,t,r,i){var o=arguments.length,n=o<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(e,t,r,i);else for(var s=e.length-1;s>=0;s--)(a=e[s])&&(n=(o<3?a(n):o>3?a(t,r,n):a(t,r))||n);return o>3&&n&&Object.defineProperty(t,r,n),n},zm=!1,at=mi=class extends mt{get formValidityMessage(){return mi.i18nBundle.getText(Bb)}get formValidity(){return{valueMissing:this.required&&!this.checked}}async formElementAnchor(){return this.getFocusDomRefAsync()}get formFormattedValue(){return this.checked?this.value:null}constructor(){super(),this.disabled=!1,this.readonly=!1,this.displayOnly=!1,this.required=!1,this.indeterminate=!1,this.checked=!1,this.valueState="None",this.wrappingType="Normal",this.value="on",this.active=!1,this._deactivate=()=>{ed&&(ed.active=!1)},zm||(document.addEventListener("mouseup",this._deactivate),zm=!0)}onEnterDOM(){Ht()&&this.setAttribute("desktop","")}_onclick(){this.toggle()}_onmousedown(){this.readonly||this.disabled||(this.active=!0,ed=this)}_onmouseup(){this.active=!1}_onfocusout(){this.active=!1}_onkeydown(e){Ue(e)&&e.preventDefault(),!(this.readonly||this.disabled)&&(Nt(e)&&this.toggle(),this.active=!0)}_onkeyup(e){Ue(e)&&this.toggle(),this.active=!1}toggle(){if(this.canToggle()){let e={checked:this.checked,indeterminate:this.indeterminate};this.indeterminate?(this.indeterminate=!1,this.checked=!0):this.checked=!this.checked;let t=!this.fireDecoratorEvent("change"),r=!this.fireDecoratorEvent("value-changed");(t||r)&&(this.checked=e.checked,this.indeterminate=e.indeterminate)}return this}canToggle(){return!(this.disabled||this.readonly||this.displayOnly)}valueStateTextMappings(){return{Negative:mi.i18nBundle.getText(Rp),Critical:mi.i18nBundle.getText(Op),Positive:mi.i18nBundle.getText(Pp)}}get ariaLabelText(){return va(this)||tf(this)}get classes(){return{main:{"ui5-checkbox--hoverable":!this.disabled&&!this.readonly&&Ht()}}}get ariaReadonly(){return this.readonly||this.displayOnly?"true":void 0}get effectiveAriaDisabled(){return this.disabled?"true":void 0}get effectiveAriaChecked(){return this.indeterminate&&this.checked?"mixed":this.checked}get ariaLabelledBy(){if(!this.ariaLabelText)return this.text?`${this._id}-label`:void 0}get ariaDescribedBy(){return this.hasValueState?`${this._id}-descr`:void 0}get hasValueState(){return this.valueState!==be.None}get valueStateText(){if(this.valueState!==be.None&&this.valueState!==be.Information)return this.valueStateTextMappings()[this.valueState]}get effectiveTabIndex(){let e=this.getAttribute("tabindex");if(this.tabbable)return e?parseInt(e):0}get tabbable(){return!this.disabled&&!this.displayOnly}get isCompletelyChecked(){return this.checked&&!this.indeterminate}get isDisplayOnly(){return this.displayOnly&&!this.disabled}get accessibilityInfo(){let e=this.checked?mi.i18nBundle.getText(uk):mi.i18nBundle.getText(ck),t=[this.text||"",e].filter(Boolean).join(" ");return{role:this.accInfo.role,type:mi.i18nBundle.getText(_k),description:t,label:this.ariaLabelText,disabled:!!this.accInfo.ariaDisabled,readonly:!!this.accInfo.ariaReadonly,required:this.accInfo.ariaRequired}}get accInfo(){return{role:this._accInfo?this._accInfo.role:"checkbox",ariaChecked:this._accInfo?this._accInfo.ariaChecked:this.effectiveAriaChecked,ariaReadonly:this._accInfo?this._accInfo.ariaReadonly:this.ariaReadonly,ariaDisabled:this._accInfo?this._accInfo.ariaDisabled:this.effectiveAriaDisabled,ariaRequired:this._accInfo?this._accInfo.ariaRequired:this.required,tabindex:this._accInfo?this._accInfo.tabindex:this.effectiveTabIndex}}};Dt([v()],at.prototype,"accessibleNameRef",void 0);Dt([v()],at.prototype,"accessibleName",void 0);Dt([v({type:Boolean})],at.prototype,"disabled",void 0);Dt([v({type:Boolean})],at.prototype,"readonly",void 0);Dt([v({type:Boolean})],at.prototype,"displayOnly",void 0);Dt([v({type:Boolean})],at.prototype,"required",void 0);Dt([v({type:Boolean})],at.prototype,"indeterminate",void 0);Dt([v({type:Boolean})],at.prototype,"checked",void 0);Dt([v()],at.prototype,"text",void 0);Dt([v()],at.prototype,"valueState",void 0);Dt([v()],at.prototype,"wrappingType",void 0);Dt([v()],at.prototype,"name",void 0);Dt([v()],at.prototype,"value",void 0);Dt([v({type:Boolean})],at.prototype,"active",void 0);Dt([v({type:Object})],at.prototype,"_accInfo",void 0);Dt([lt("@ui5/webcomponents")],at,"i18nBundle",void 0);at=mi=Dt([ye({tag:"ui5-checkbox",languageAware:!0,formAssociated:!0,renderer:rt,template:f7,styles:c7}),V("change",{bubbles:!0,cancelable:!0}),V("value-changed",{bubbles:!0,cancelable:!0})],at);at.define();g7=at,m7={listItemPreContent:y7,listItemContent:w7,imageBegin:C7,iconBegin:x7,iconEnd:S7,selectionElement:D1};k7={listItemContent:I7};qa=()=>(Rm??=new NA("@ui5/webcomponents-base"),Rm),A7=e=>e.checkVisibility()||getComputedStyle(e).display==="contents",Om=(e,t=[])=>{(!gi||!gi.isConnected)&&(gi=document.createElement("span"),gi.id="ui5-invisible-text",gi.hidden=!0,document.body.appendChild(gi));let r=[...e.ariaLabelledByElements||[]],i=r.indexOf(gi);t=Array.isArray(t)?t.filter(Boolean).join(" . ").trim():t.trim(),gi.textContent=t,t&&i===-1?(r.unshift(gi),e.ariaLabelledByElements=r):!t&&i>-1&&(r.splice(i,1),e.ariaLabelledByElements=r.length?r:null)},z1=(e,t={},r=!0)=>{if(!e)return"";if(e.nodeType===Node.TEXT_NODE)return e.data.trim();if(!(e instanceof HTMLElement))return"";if(e.hasAttribute("data-ui5-acc-text"))return e.getAttribute("data-ui5-acc-text")||"";if(e.ariaHidden==="true"||!A7(e))return r?qa().getText(Bg):"";let i=[],o=[],n=e.accessibilityInfo,{lessDetails:a}=t;if(n){let{type:s,description:l,required:u,disabled:_,readonly:c,children:h}=n;i=h||[],s&&o.push(s),l&&o.push(l),a||(u&&o.push(qa().getText(fS)),_&&o.push(qa().getText(vS)),c&&o.push(qa().getText(kb)))}else e.localName==="slot"?i=e.assignedNodes({flatten:!0}):i=e.shadowRoot?[...e.shadowRoot.childNodes]:[...e.childNodes];if(i.forEach(s=>{let l=z1(s,t,!1);l&&o.push(l)}),r){let s=o.length>0;if(!s||!a){let l=lf(e),u=[s?"":Bg,gS,mS][Math.min(l.length,2)];u&&(s&&o.push("."),o.push(qa().getText(u)))}}return o.join(" ").trim()};B("@ui5/webcomponents-theming","sap_horizon",async()=>J);B("@ui5/webcomponents","sap_horizon",async()=>ee,"host");B7=`:host(:not([hidden])){display:block}:host{min-height:var(--_ui5_list_item_base_height);height:auto;box-sizing:border-box}.ui5-li-root.ui5-custom-li-root{pointer-events:inherit;min-height:inherit}.ui5-li-root.ui5-custom-li-root .ui5-li-content{pointer-events:inherit}[ui5-checkbox].ui5-li-singlesel-radiobtn,[ui5-radio-button].ui5-li-singlesel-radiobtn{display:flex;align-items:center}.ui5-li-root.ui5-custom-li-root,[ui5-checkbox].ui5-li-singlesel-radiobtn,[ui5-radio-button].ui5-li-singlesel-radiobtn{min-width:var(--_ui5_custom_list_item_rb_min_width)}:host([_selection-mode="SingleStart"]) .ui5-li-root.ui5-custom-li-root{padding-inline:0 1rem}:host([_selection-mode="Multiple"]) .ui5-li-root.ui5-custom-li-root{padding-inline:0 1rem}:host([_selection-mode="SingleEnd"]) .ui5-li-root.ui5-custom-li-root{padding-inline:1rem 0}
|
|
83
83
|
`,ec=function(e,t,r,i){var o=arguments.length,n=o<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(e,t,r,i);else for(var s=e.length-1;s>=0;s--)(a=e[s])&&(n=(o<3?a(n):o>3?a(t,r,n):a(t,r))||n);return o>3&&n&&Object.defineProperty(t,r,n),n},oa=kh=class extends E1{constructor(){super(...arguments),this.movable=!1}get isCustomListItem(){return!0}_onkeydown(e){(this.matches(":focus")||lo(e)||ea(e)||jd(e)||qd(e)||dr(e)||Br(e))&&super._onkeydown(e)}_onkeyup(e){(this.matches(":focus")||lo(e)||ea(e)||jd(e)||qd(e)||dr(e)||Br(e))&&super._onkeyup(e)}get _accessibleNameRef(){return`${this._id}-invisibleText`}_onfocusin(e){super._onfocusin(e),!this._isDragging()&&!this.accessibleName&&this._updateInvisibleTextContent()}_onfocusout(e){super._onfocusout(e),!this._isDragging()&&!this.accessibleName&&this._clearInvisibleTextContent()}_isDragging(){return this.hasAttribute("data-moving")}_updateInvisibleTextContent(){let e=this._listItem;e&&Om(e,z1(this))}_clearInvisibleTextContent(){let e=this._listItem;e&&Om(e,"")}_getDeleteButtonNodes(){if(!this.modeDelete)return[];if(this.hasDeleteButtonSlot)return this.deleteButton;let e=this.shadowRoot?.querySelector(`#${this._id}-deleteSelectionElement`);return e?[e]:[]}get classes(){let e=super.classes;return e.main["ui5-custom-li-root"]=!0,e}get accessibilityInfo(){let e=[],t=this.shadowRoot?.querySelector("slot:not([name])");if(t){let i=t.assignedNodes({flatten:!0});e.push(...i)}let r=this._getDeleteButtonNodes();return e.push(...r),{type:kh.i18nBundle.getText(QS),children:e}}};ec([v({type:Boolean})],oa.prototype,"movable",void 0);ec([v()],oa.prototype,"accessibleName",void 0);ec([lt("@ui5/webcomponents")],oa,"i18nBundle",void 0);oa=kh=ec([ye({tag:"ui5-li-custom",template:T7,renderer:rt,styles:[E1.styles,B7]})],oa);oa.define();E7=Wu("isCustomListItem"),Ae=function(e,t,r,i){var o=arguments.length,n=o<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(e,t,r,i);else for(var s=e.length-1;s>=0;s--)(a=e[s])&&(n=(o<3?a(n):o>3?a(t,r,n):a(t,r))||n);return o>3&&n&&Object.defineProperty(t,r,n),n},D7=250,z7=10,R7={Menu:"menuitem",Tree:"treeitem",ListBox:"option"},ge=Dr=class extends mt{constructor(){super(),this.indent=!1,this.selectionMode="None",this.separators="All",this.growing="None",this.loading=!1,this.loadingDelay=1e3,this.stickyHeader=!1,this.accessibilityAttributes={},this.accessibleRole="List",this._inViewport=!1,this._loadMoreActive=!1,this.mediaRange="S",this._startMarkerOutOfView=!1,this._previouslyFocusedItem=null,this._forwardingFocus=!1,this._itemNavigation=new j3(this,{skipItemsSize:z7,navigationMode:Dn.Vertical,getItemsCallback:()=>this.getEnabledItems()}),this.handleResizeCallback=this._handleResize.bind(this),this._groupCount=0,this._groupItemCount=0,this.onItemFocusedBound=this.onItemFocused.bind(this),this.onForwardAfterBound=this.onForwardAfter.bind(this),this.onForwardBeforeBound=this.onForwardBefore.bind(this),this.onItemTabIndexChangeBound=this.onItemTabIndexChange.bind(this),this._dragAndDropHandler=new k1(this,{getItems:()=>this.items,getDropIndicator:()=>this.dropIndicatorDOM,useOriginalEvent:!0})}get listItems(){return this.getItems()}_updateAssociatedLabelsTexts(){this._associatedDescriptionRefTexts=Qu(this),this._associatedLabelsRefTexts=Ku(this)}onEnterDOM(){Xu(this,this._updateAssociatedLabelsTexts.bind(this)),ta.register(this.getDomRef(),this.handleResizeCallback)}onExitDOM(){Yu(this),this.unobserveListEnd(),this.unobserveListStart(),ta.deregister(this.getDomRef(),this.handleResizeCallback)}onBeforeRendering(){this.detachGroupHeaderEvents(),this.prepareListItems()}onAfterRendering(){this.attachGroupHeaderEvents(),this.growsOnScroll?(this.observeListEnd(),this.observeListStart()):(this.unobserveListEnd(),this.unobserveListStart()),this.grows&&this.checkListInViewport()}attachGroupHeaderEvents(){this.getItems().forEach(e=>{e.hasAttribute("ui5-li-group-header")&&(e.addEventListener("ui5-_focused",this.onItemFocusedBound),e.addEventListener("ui5-forward-after",this.onForwardAfterBound),e.addEventListener("ui5-forward-before",this.onForwardBeforeBound))})}detachGroupHeaderEvents(){this.getItems().forEach(e=>{e.hasAttribute("ui5-li-group-header")&&(e.removeEventListener("ui5-_focused",this.onItemFocusedBound),e.removeEventListener("ui5-forward-after",this.onForwardAfterBound),e.removeEventListener("ui5-forward-before",this.onForwardBeforeBound))})}getFocusDomRef(){return this._itemNavigation._getCurrentItem()}get shouldRenderH1(){return!this.header.length&&this.headerText}get headerID(){return`${this._id}-header`}get modeLabelID(){return`${this._id}-modeLabel`}get listEndDOM(){return this.shadowRoot.querySelector(".ui5-list-end-marker")}get listStartDOM(){return this.shadowRoot.querySelector(".ui5-list-start-marker")}get dropIndicatorDOM(){return this.shadowRoot.querySelector("[ui5-drop-indicator]")}get hasData(){return this.getItems().length!==0}get showBusyIndicatorOverlay(){return!this.growsWithButton&&this.loading}get showNoDataText(){return!this.hasData&&this.noDataText}get isDelete(){return this.selectionMode===qe.Delete}get isSingleSelect(){return[qe.Single,qe.SingleStart,qe.SingleEnd,qe.SingleAuto].includes(this.selectionMode)}get isMultiple(){return this.selectionMode===qe.Multiple}get ariaLabelledBy(){if(this.accessibleNameRef||this.accessibleName)return;let e=[];return(this.isMultiple||this.isSingleSelect||this.isDelete)&&e.push(this.modeLabelID),this.shouldRenderH1&&e.push(this.headerID),e.length?e.join(" "):void 0}get ariaLabelTxt(){return this._associatedLabelsRefTexts||va(this)}get ariaDescriptionText(){let e=[];this.accessibleRole===Ha.List&&this._hasInteractiveItems&&e.push(this.defaultAriaDescriptionText);let t=this._associatedDescriptionRefTexts||of(this);t&&e.push(t);let r=this._getDescriptionForGroups();return r&&e.push(r),e.join(" ")}get defaultAriaDescriptionText(){return Dr.i18nBundle.getText(HS)}get _hasInteractiveItems(){return this.selectionMode===qe.Delete?!0:this.getItems().some(e=>e.getAttribute("type")==="Detail"||E7(e))}get growingButtonAriaLabel(){return this.accessibilityAttributes.growingButton?.name}get growingButtonAriaLabelledBy(){return this.accessibilityAttributes.growingButton?.name?void 0:`${this._id}-growingButton-text`}get growingButtonAriaDescribedBy(){return this.accessibilityAttributes.growingButton?.description?`${this._id}-growingButton-description`:void 0}hasGrowingComponent(){return this.growsOnScroll?this._startMarkerOutOfView:this.growsWithButton}_getDescriptionForGroups(){let e="";return this._groupCount>0&&(this.accessibleRole===Ha.List?e=Dr.i18nBundle.getText(VS,this._groupCount,this._groupItemCount):this.accessibleRole===Ha.ListBox&&(e=Dr.i18nBundle.getText(jS,this._groupCount))),e}get ariaLabelModeText(){if(this.hasData){if(this.isMultiple)return Dr.i18nBundle.getText(ZS);if(this.isSingleSelect)return Dr.i18nBundle.getText(WS);if(this.isDelete)return Dr.i18nBundle.getText(KS)}return""}get grows(){return this.growing!==Q_.None}get growsOnScroll(){return this.growing===Q_.Scroll}get growsWithButton(){return this.growing===Q_.Button}get _growingButtonText(){return this.growingButtonText||Dr.i18nBundle.getText(YS)}get listAccessibleRole(){return Ui(this.accessibleRole)}get classes(){return{root:{"ui5-list-root":!0}}}prepareListItems(){let e=this.getItemsForProcessing(),t=R7[this.accessibleRole];e.forEach((r,i)=>{let o=i===e.length-1,n=this.separators===Em.All||this.separators===Em.Inner&&!o;r.hasConfigurableMode&&(r._selectionMode=this.selectionMode,r._inheritedAccessibleRole=t),r.hasBorder=n,r.mediaRange=this.mediaRange})}async observeListEnd(){await Qn(),this.getEndIntersectionObserver().observe(this.listEndDOM)}unobserveListEnd(){this._endIntersectionObserver&&(this._endIntersectionObserver.disconnect(),this._endIntersectionObserver=null)}async observeListStart(){await Qn(),this.getStartIntersectionObserver().observe(this.listStartDOM)}unobserveListStart(){this._startIntersectionObserver&&(this._startIntersectionObserver.disconnect(),this._startIntersectionObserver=null)}onEndIntersection(e){e.forEach(t=>{t.isIntersecting&&K3(this.loadMore.bind(this),D7)})}onStartIntersection(e){e.forEach(t=>{this._startMarkerOutOfView=!t.isIntersecting})}onSelectionRequested(e){let t=this.getSelectedItems(),r=!1;this.selectionMode!==qe.None&&this[`handle${this.selectionMode}`]&&(r=this[`handle${this.selectionMode}`](e.detail.item,!!e.detail.selected)),r&&(this.fireDecoratorEvent("selection-change",{selectedItems:this.getSelectedItems(),previouslySelectedItems:t,selectionComponentPressed:e.detail.selectionComponentPressed,targetItem:e.detail.item,key:e.detail.key})?this.selectionMode!==qe.Delete&&W3(e.detail.item.selected?Dr.i18nBundle.getText(Tb):Dr.i18nBundle.getText(Ib),"Polite"):this._revertSelection(t))}handleSingle(e){return e.selected?!1:(this.deselectSelectedItems(),e.selected=!0,!0)}handleSingleStart(e){return this.handleSingle(e)}handleSingleEnd(e){return this.handleSingle(e)}handleSingleAuto(e){return this.handleSingle(e)}handleMultiple(e,t){return e.selected=t,!0}handleDelete(e){return this.fireDecoratorEvent("item-delete",{item:e}),!0}deselectSelectedItems(){this.getSelectedItems().forEach(e=>{e.selected=!1})}getSelectedItems(){return this.getItems().filter(e=>e.selected)}getEnabledItems(){return this.getItems().filter(e=>e._focusable)}getItems(){let e=[],t=this.getSlottedNodes("items"),r=0,i=0;return t.forEach(o=>{if(U3(o)){let n=[o.groupHeaderItem,...o.items.filter(a=>a.assignedSlot)].filter(Boolean);e.push(...n),r++,i+=n.length-1}else O7(o)?o.assignedSlot&&e.push(...o.listItems):o.assignedSlot&&e.push(o)}),this._groupCount=r,this._groupItemCount=i,e}getItemsForProcessing(){return this.getItems()}_revertSelection(e){this.getItems().forEach(t=>{let r=e.indexOf(t)!==-1,i=t.shadowRoot.querySelector(".ui5-li-multisel-cb"),o=t.shadowRoot.querySelector(".ui5-li-singlesel-radiobtn");t.selected=r,i?i.checked=r:o&&(o.checked=r)})}_onkeydown(e){if(Jp(e)){this._handleEnd(),e.preventDefault();return}if(Qp(e)){this._handleHome();return}let t=dr(e)||Br(e),r=this._getClosestListItem(e.target);if(r?._isFocusOnInternalElement()&&t){let i=dr(e)?-1:1;if(this._navigateToAdjacentItem(r,i)){e.preventDefault();return}}if(Br(e)){this._handleDown(e);return}if(sB(e)){this._moveItem(e.target,e);return}lo(e)&&this._handleTabNext(e),qd(e)&&this._handleF7(e)}_handleF7(e){let t=this._getClosestListItem(e.target);if(!t||!t._hasFocusableElements())return;let r=t.getFocusDomRef(),i=Qr();e.preventDefault(),e.stopPropagation(),i===r?(t._editMode=!0,t._focusInternalElement(this._lastFocusedElementIndex??0),this._lastFocusedElementIndex=t._getFocusedElementIndex()):(this._lastFocusedElementIndex=t._getFocusedElementIndex(),t._editMode=!1,r.focus())}_getClosestListItem(e){return e.closest("[ui5-li], [ui5-li-custom]")}_moveItem(e,t){if(!e||!e.movable)return;let r=E3(this.items,e,t);if(!r.length)return;t.preventDefault();let i=r.find(({element:o,placement:n})=>!this.fireDecoratorEvent("move-over",{originalEvent:t,source:{element:e},destination:{element:o,placement:n}}));i&&(this.fireDecoratorEvent("move",{originalEvent:t,source:{element:e},destination:{element:i.element,placement:i.placement}}),e.focus())}_onLoadMoreKeydown(e){if(Ue(e)&&(e.preventDefault(),this._loadMoreActive=!0),Nt(e)&&(this._onLoadMoreClick(),this._loadMoreActive=!0),lo(e)&&this.focusAfterElement(),dr(e)){this._handleLodeMoreUp(e);return}ea(e)&&(this.getPreviouslyFocusedItem()?this.focusPreviouslyFocusedItem():this.focusFirstItem(),e.preventDefault())}_onLoadMoreKeyup(e){Ue(e)&&this._onLoadMoreClick(),this._loadMoreActive=!1}_onLoadMoreMousedown(){this._loadMoreActive=!0}_onLoadMoreMouseup(){this._loadMoreActive=!1}_onLoadMoreClick(){this.loadMore()}_handleLodeMoreUp(e){if(this.getGrowingButton()===e.target){let t=this.getItems(),r=t[t.length-1];this.focusItem(r),e.preventDefault(),e.stopImmediatePropagation()}}checkListInViewport(){this._inViewport=Y3(this.getDomRef())}loadMore(){this.hasGrowingComponent()&&this.fireDecoratorEvent("load-more")}_handleResize(){this.checkListInViewport();let e=this.getBoundingClientRect().width;this.mediaRange=au.getCurrentRange(au.RANGESETS.RANGE_4STEPS,e)}_handleTabNext(e){Am(e.target)}_handleHome(){this.growsWithButton&&this.focusFirstItem()}_handleEnd(){this.growsWithButton&&this._shouldFocusGrowingButton()&&this.focusGrowingButton()}_handleDown(e){this._shouldFocusGrowingButton()&&(this.focusGrowingButton(),e.preventDefault())}_navigateToAdjacentItem(e,t){let r=e?._getFocusedElementIndex();if(r===void 0||r===-1)return!1;let i=this.getItems().filter(a=>"hasConfigurableMode"in a&&a.hasConfigurableMode&&a._hasFocusableElements()),o=i[i.indexOf(e)+t];if(!o)return!1;o._editMode=e._editMode;let n=o._focusInternalElement(r);return n!==void 0&&(this._lastFocusedElementIndex=n),!0}_onfocusin(e){let t=Am(e.target);if(this.isForwardElement(t)){if(!this.getPreviouslyFocusedItem()){this.growsWithButton&&this.isForwardAfterElement(t)?this.focusGrowingButton():this.focusFirstItem(),e.stopImmediatePropagation();return}if(!this.getForwardingFocus()){if(this.growsWithButton&&this.isForwardAfterElement(t)){this.focusGrowingButton(),e.stopImmediatePropagation();return}this.focusPreviouslyFocusedItem()}e.stopImmediatePropagation(),this.setForwardingFocus(!1)}}_ondragenter(e){this._dragAndDropHandler.ondragenter(e)}_ondragleave(e){this._dragAndDropHandler.ondragleave(e)}_ondragover(e){this._dragAndDropHandler.ondragover(e)}_ondrop(e){this._dragAndDropHandler.ondrop(e)}isForwardElement(e){let t=e.id,r=this.getBeforeElement();return this._id===t||r&&r.id===t?!0:this.isForwardAfterElement(e)}isForwardAfterElement(e){let t=e.id,r=this.getAfterElement();return r&&r.id===t}onItemTabIndexChange(e){e.stopPropagation();let t=e.target;this._itemNavigation.setCurrentItem(t)}onItemFocused(e){let t=e.target;if(e.stopPropagation(),this._itemNavigation.setCurrentItem(t),this.fireDecoratorEvent("item-focused",{item:t}),this.selectionMode===qe.SingleAuto){let r={item:t,selectionComponentPressed:!1,selected:!0,key:e.detail.key};this.onSelectionRequested({detail:r})}}onItemPress(e){let t=e.detail.item;if(this.fireDecoratorEvent("item-click",{item:t})&&this.selectionMode!==qe.Delete){let r={item:t,selectionComponentPressed:!1,selected:!t.selected,key:e.detail.key};this.onSelectionRequested({detail:r})}}onItemClose(e){let t=e.target;(t?.hasAttribute("ui5-li-notification")||t?.hasAttribute("ui5-li-notification-group"))&&this.fireDecoratorEvent("item-close",{item:e.detail?.item})}onItemToggle(e){if(!e.target?.isListItemBase)return;let t=e.detail?.item;t&&this.fireDecoratorEvent("item-toggle",{item:t})}onForwardBefore(e){let t=e.target;if(t.hasConfigurableMode&&t._editMode){let r=this.getItems().filter(n=>"hasConfigurableMode"in n&&n.hasConfigurableMode&&n._hasFocusableElements()),i=r.indexOf(t),o=i>0?r[i-1]:void 0;if(o){o._editMode=!0;let n=o._getFocusableElements();o._focusInternalElement(n.length-1),this._lastFocusedElementIndex=n.length-1,this.setPreviouslyFocusedItem(o),e.preventDefault(),e.stopPropagation();return}t._editMode=!1}this.setPreviouslyFocusedItem(t),this.focusBeforeElement(),e.stopPropagation()}onForwardAfter(e){let t=e.target;if(t.hasConfigurableMode&&t._editMode){let r=this.getItems().filter(n=>"hasConfigurableMode"in n&&n.hasConfigurableMode&&n._hasFocusableElements()),i=r.indexOf(t),o=i>=0&&i<r.length-1?r[i+1]:void 0;if(o){o._editMode=!0,o._focusInternalElement(0),this._lastFocusedElementIndex=0,this.setPreviouslyFocusedItem(o),e.preventDefault(),e.stopPropagation();return}t._editMode=!1}this.setPreviouslyFocusedItem(t),this.growsWithButton?(this.focusGrowingButton(),e.preventDefault()):this.focusAfterElement(),e.stopPropagation()}focusBeforeElement(){this.setForwardingFocus(!0),this.getBeforeElement().focus()}focusAfterElement(){this.setForwardingFocus(!0),this.getAfterElement().focus()}focusGrowingButton(){let e=this.getGrowingButton();e&&e.focus()}_shouldFocusGrowingButton(){if(!this.growsWithButton)return!1;let e=this.getItems().length-1,t=this._itemNavigation._currentIndex;return t!==-1&&t===e}getGrowingButton(){return this.shadowRoot.querySelector(`[id="${this._id}-growing-btn"]`)}focusFirstItem(){let e=this.getFirstItem(t=>t._focusable);e&&e.focus()}focusPreviouslyFocusedItem(){let e=this.getPreviouslyFocusedItem();e&&e.focus()}focusFirstSelectedItem(){let e=this.getFirstItem(t=>t.selected&&t._focusable);e&&e.focus()}focusItem(e){this._itemNavigation.setCurrentItem(e),e.focus()}onFocusRequested(e){setTimeout(()=>{this.setPreviouslyFocusedItem(e.target),this.focusPreviouslyFocusedItem()},0)}setForwardingFocus(e){this._forwardingFocus=e}getForwardingFocus(){return this._forwardingFocus}setPreviouslyFocusedItem(e){this._previouslyFocusedItem=e}getPreviouslyFocusedItem(){return this._previouslyFocusedItem}getFirstItem(e){let t=this.getItems(),r=null;if(!e)return t.length?t[0]:null;for(let i=0;i<t.length;i++)if(e(t[i])){r=t[i];break}return r}getAfterElement(){return this._afterElement||(this._afterElement=this.shadowRoot.querySelector(`[id="${this._id}-after"]`)),this._afterElement}getBeforeElement(){return this._beforeElement||(this._beforeElement=this.shadowRoot.querySelector(`[id="${this._id}-before"]`)),this._beforeElement}getEndIntersectionObserver(){return this._endIntersectionObserver||(this._endIntersectionObserver=new IntersectionObserver(this.onEndIntersection.bind(this),{root:null,rootMargin:"0px",threshold:1})),this._endIntersectionObserver}getStartIntersectionObserver(){return this._startIntersectionObserver||(this._startIntersectionObserver=new IntersectionObserver(this.onStartIntersection.bind(this),{root:null,rootMargin:"0px",threshold:1})),this._startIntersectionObserver}};Ae([v()],ge.prototype,"headerText",void 0);Ae([v()],ge.prototype,"footerText",void 0);Ae([v({type:Boolean})],ge.prototype,"indent",void 0);Ae([v()],ge.prototype,"selectionMode",void 0);Ae([v()],ge.prototype,"noDataText",void 0);Ae([v()],ge.prototype,"separators",void 0);Ae([v()],ge.prototype,"growing",void 0);Ae([v()],ge.prototype,"growingButtonText",void 0);Ae([v({type:Boolean})],ge.prototype,"loading",void 0);Ae([v({type:Number})],ge.prototype,"loadingDelay",void 0);Ae([v({type:Boolean})],ge.prototype,"stickyHeader",void 0);Ae([v()],ge.prototype,"accessibleName",void 0);Ae([v({type:Object})],ge.prototype,"accessibilityAttributes",void 0);Ae([v()],ge.prototype,"accessibleNameRef",void 0);Ae([v()],ge.prototype,"accessibleDescription",void 0);Ae([v()],ge.prototype,"accessibleDescriptionRef",void 0);Ae([v({noAttribute:!0})],ge.prototype,"_associatedDescriptionRefTexts",void 0);Ae([v({noAttribute:!0})],ge.prototype,"_associatedLabelsRefTexts",void 0);Ae([v()],ge.prototype,"accessibleRole",void 0);Ae([v({type:Boolean})],ge.prototype,"_inViewport",void 0);Ae([v({type:Boolean})],ge.prototype,"_loadMoreActive",void 0);Ae([v()],ge.prototype,"mediaRange",void 0);Ae([$e({type:HTMLElement,default:!0,invalidateOnChildChange:!0})],ge.prototype,"items",void 0);Ae([$e()],ge.prototype,"header",void 0);Ae([lt("@ui5/webcomponents")],ge,"i18nBundle",void 0);ge=Dr=Ae([ye({tag:"ui5-list",fastNavigation:!0,renderer:rt,template:Q3,styles:[e7]}),V("item-click",{bubbles:!0,cancelable:!0}),V("item-close",{bubbles:!0}),V("item-toggle",{bubbles:!0}),V("item-delete",{bubbles:!0}),V("selection-change",{bubbles:!0,cancelable:!0}),V("load-more",{bubbles:!0}),V("item-focused",{bubbles:!0}),V("move-over",{bubbles:!0,cancelable:!0}),V("move",{bubbles:!0})],ge);ge.define();O7=e=>"hasListItems"in e&&e.hasListItems,lg=ge;P7=Ip((e,t)=>{var r="__lodash_hash_undefined__",i=1,o=2,n=9007199254740991,a="[object Arguments]",s="[object Array]",l="[object AsyncFunction]",u="[object Boolean]",_="[object Date]",c="[object Error]",h="[object Function]",d="[object GeneratorFunction]",b="[object Map]",w="[object Number]",I="[object Null]",C="[object Object]",A="[object Promise]",O="[object Proxy]",de="[object RegExp]",se="[object Set]",Be="[object String]",pt="[object Symbol]",Ye="[object Undefined]",Me="[object WeakMap]",Wt="[object ArrayBuffer]",le="[object DataView]",st="[object Float32Array]",dn="[object Float64Array]",mc="[object Int8Array]",bc="[object Int16Array]",yc="[object Int32Array]",wc="[object Uint8Array]",Cc="[object Uint8ClampedArray]",xc="[object Uint16Array]",we="[object Uint32Array]",Ns=/[\\^$.*+?()[\]{}|]/g,Sc=/^\[object .+?Constructor\]$/,Ur=/^(?:0|[1-9]\d*)$/,me={};me[st]=me[dn]=me[mc]=me[bc]=me[yc]=me[wc]=me[Cc]=me[xc]=me[we]=!0,me[a]=me[s]=me[Wt]=me[u]=me[le]=me[_]=me[c]=me[h]=me[b]=me[w]=me[C]=me[de]=me[se]=me[Be]=me[Me]=!1;var Aa=typeof global=="object"&&global&&global.Object===Object&&global,Ms=typeof self=="object"&&self&&self.Object===Object&&self,sr=Aa||Ms||Function("return this")(),Ba=typeof e=="object"&&e&&!e.nodeType&&e,Ls=Ba&&typeof t=="object"&&t&&!t.nodeType&&t,Fs=Ls&&Ls.exports===Ba,Ea=Fs&&Aa.process,$s=(function(){try{return Ea&&Ea.binding&&Ea.binding("util")}catch{}})(),hn=$s&&$s.isTypedArray;function kc(p,m){for(var x=-1,D=p==null?0:p.length,ze=0,G=[];++x<D;){var Fe=p[x];m(Fe,x,p)&&(G[ze++]=Fe)}return G}function Tc(p,m){for(var x=-1,D=m.length,ze=p.length;++x<D;)p[ze+x]=m[x];return p}function Ic(p,m){for(var x=-1,D=p==null?0:p.length;++x<D;)if(m(p[x],x,p))return!0;return!1}function Ac(p,m){for(var x=-1,D=Array(p);++x<p;)D[x]=m(x);return D}function Bc(p){return function(m){return p(m)}}function pn(p,m){return p.has(m)}function Da(p,m){return p?.[m]}function Hs(p){var m=-1,x=Array(p.size);return p.forEach(function(D,ze){x[++m]=[ze,D]}),x}function Us(p,m){return function(x){return p(m(x))}}function Cr(p){var m=-1,x=Array(p.size);return p.forEach(function(D){x[++m]=D}),x}var yo=Array.prototype,Ec=Function.prototype,wo=Object.prototype,fn=sr["__core-js_shared__"],Vs=Ec.toString,lr=wo.hasOwnProperty,js=(function(){var p=/[^.]+$/.exec(fn&&fn.keys&&fn.keys.IE_PROTO||"");return p?"Symbol(src)_1."+p:""})(),vn=wo.toString,Co=RegExp("^"+Vs.call(lr).replace(Ns,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),gn=Fs?sr.Buffer:void 0,Mi=sr.Symbol,mn=sr.Uint8Array,Li=wo.propertyIsEnumerable,Dc=yo.splice,ui=Mi?Mi.toStringTag:void 0,qs=Object.getOwnPropertySymbols,zc=gn?gn.isBuffer:void 0,Rc=Us(Object.keys,Object),bn=Fi(sr,"DataView"),ci=Fi(sr,"Map"),xr=Fi(sr,"Promise"),za=Fi(sr,"Set"),Ra=Fi(sr,"WeakMap"),xo=Fi(Object,"create"),Oc=y(bn),Pc=y(ci),Sr=y(xr),Nc=y(za),Mc=y(Ra),Gs=Mi?Mi.prototype:void 0,Oa=Gs?Gs.valueOf:void 0;function _i(p){var m=-1,x=p==null?0:p.length;for(this.clear();++m<x;){var D=p[m];this.set(D[0],D[1])}}function di(){this.__data__=xo?xo(null):{},this.size=0}function Lc(p){var m=this.has(p)&&delete this.__data__[p];return this.size-=m?1:0,m}function Fc(p){var m=this.__data__;if(xo){var x=m[p];return x===r?void 0:x}return lr.call(m,p)?m[p]:void 0}function $c(p){var m=this.__data__;return xo?m[p]!==void 0:lr.call(m,p)}function Hc(p,m){var x=this.__data__;return this.size+=this.has(p)?0:1,x[p]=xo&&m===void 0?r:m,this}_i.prototype.clear=di,_i.prototype.delete=Lc,_i.prototype.get=Fc,_i.prototype.has=$c,_i.prototype.set=Hc;function kr(p){var m=-1,x=p==null?0:p.length;for(this.clear();++m<x;){var D=p[m];this.set(D[0],D[1])}}function yn(){this.__data__=[],this.size=0}function Uc(p){var m=this.__data__,x=pi(m,p);return x<0?!1:(x==m.length-1?m.pop():Dc.call(m,x,1),--this.size,!0)}function Vc(p){var m=this.__data__,x=pi(m,p);return x<0?void 0:m[x][1]}function Tr(p){return pi(this.__data__,p)>-1}function jc(p,m){var x=this.__data__,D=pi(x,p);return D<0?(++this.size,x.push([p,m])):x[D][1]=m,this}kr.prototype.clear=yn,kr.prototype.delete=Uc,kr.prototype.get=Vc,kr.prototype.has=Tr,kr.prototype.set=jc;function hi(p){var m=-1,x=p==null?0:p.length;for(this.clear();++m<x;){var D=p[m];this.set(D[0],D[1])}}function qc(){this.size=0,this.__data__={hash:new _i,map:new(ci||kr),string:new _i}}function Gc(p){var m=So(this,p).delete(p);return this.size-=m?1:0,m}function Wc(p){return So(this,p).get(p)}function Zc(p){return So(this,p).has(p)}function wn(p,m){var x=So(this,p),D=x.size;return x.set(p,m),this.size+=x.size==D?0:1,this}hi.prototype.clear=qc,hi.prototype.delete=Gc,hi.prototype.get=Wc,hi.prototype.has=Zc,hi.prototype.set=wn;function Cn(p){var m=-1,x=p==null?0:p.length;for(this.__data__=new hi;++m<x;)this.add(p[m])}function Ws(p){return this.__data__.set(p,r),this}function Kc(p){return this.__data__.has(p)}Cn.prototype.add=Cn.prototype.push=Ws,Cn.prototype.has=Kc;function Vr(p){var m=this.__data__=new kr(p);this.size=m.size}function Xc(){this.__data__=new kr,this.size=0}function Yc(p){var m=this.__data__,x=m.delete(p);return this.size=m.size,x}function Qc(p){return this.__data__.get(p)}function Zs(p){return this.__data__.has(p)}function Jc(p,m){var x=this.__data__;if(x instanceof kr){var D=x.__data__;if(!ci||D.length<199)return D.push([p,m]),this.size=++x.size,this;x=this.__data__=new hi(D)}return x.set(p,m),this.size=x.size,this}Vr.prototype.clear=Xc,Vr.prototype.delete=Yc,Vr.prototype.get=Qc,Vr.prototype.has=Zs,Vr.prototype.set=Jc;function e_(p,m){var x=Q(p),D=!x&&z(p),ze=!x&&!D&&Le(p),G=!x&&!D&&!ze&&Tt(p),Fe=x||D||ze||G,vt=Fe?Ac(p.length,String):[],It=vt.length;for(var Se in p)(m||lr.call(p,Se))&&!(Fe&&(Se=="length"||ze&&(Se=="offset"||Se=="parent")||G&&(Se=="buffer"||Se=="byteLength"||Se=="byteOffset")||Pa(Se,It)))&&vt.push(Se);return vt}function pi(p,m){for(var x=p.length;x--;)if(T(p[x][0],m))return x;return-1}function t_(p,m,x){var D=m(p);return Q(p)?D:Tc(D,x(p))}function ur(p){return p==null?p===void 0?Ye:I:ui&&ui in Object(p)?Ys(p):f(p)}function Ir(p){return ft(p)&&ur(p)==a}function Ks(p,m,x,D,ze){return p===m?!0:p==null||m==null||!ft(p)&&!ft(m)?p!==p&&m!==m:r_(p,m,x,D,Ks,ze)}function r_(p,m,x,D,ze,G){var Fe=Q(p),vt=Q(m),It=Fe?s:tr(p),Se=vt?s:tr(m);It=It==a?C:It,Se=Se==a?C:Se;var Qe=It==C,fi=Se==C,cr=It==Se;if(cr&&Le(p)){if(!Le(m))return!1;Fe=!0,Qe=!1}if(cr&&!Qe)return G||(G=new Vr),Fe||Tt(p)?jr(p,m,x,D,ze,G):Xs(p,m,It,x,D,ze,G);if(!(x&i)){var rr=Qe&&lr.call(p,"__wrapped__"),_r=fi&&lr.call(m,"__wrapped__");if(rr||_r){var vi=rr?p.value():p,ko=_r?m.value():m;return G||(G=new Vr),ze(vi,ko,x,D,G)}}return cr?(G||(G=new Vr),a_(p,m,x,D,ze,G)):!1}function i_(p){return!De(p)||l_(p)?!1:(Pe(p)?Co:Sc).test(y(p))}function o_(p){return ft(p)&&Oe(p.length)&&!!me[ur(p)]}function n_(p){if(!Na(p))return Rc(p);var m=[];for(var x in Object(p))lr.call(p,x)&&x!="constructor"&&m.push(x);return m}function jr(p,m,x,D,ze,G){var Fe=x&i,vt=p.length,It=m.length;if(vt!=It&&!(Fe&&It>vt))return!1;var Se=G.get(p);if(Se&&G.get(m))return Se==m;var Qe=-1,fi=!0,cr=x&o?new Cn:void 0;for(G.set(p,m),G.set(m,p);++Qe<vt;){var rr=p[Qe],_r=m[Qe];if(D)var vi=Fe?D(_r,rr,Qe,m,p,G):D(rr,_r,Qe,p,m,G);if(vi!==void 0){if(vi)continue;fi=!1;break}if(cr){if(!Ic(m,function(ko,To){if(!pn(cr,To)&&(rr===ko||ze(rr,ko,x,D,G)))return cr.push(To)})){fi=!1;break}}else if(!(rr===_r||ze(rr,_r,x,D,G))){fi=!1;break}}return G.delete(p),G.delete(m),fi}function Xs(p,m,x,D,ze,G,Fe){switch(x){case le:if(p.byteLength!=m.byteLength||p.byteOffset!=m.byteOffset)return!1;p=p.buffer,m=m.buffer;case Wt:return!(p.byteLength!=m.byteLength||!G(new mn(p),new mn(m)));case u:case _:case w:return T(+p,+m);case c:return p.name==m.name&&p.message==m.message;case de:case Be:return p==m+"";case b:var vt=Hs;case se:var It=D&i;if(vt||(vt=Cr),p.size!=m.size&&!It)return!1;var Se=Fe.get(p);if(Se)return Se==m;D|=o,Fe.set(p,m);var Qe=jr(vt(p),vt(m),D,ze,G,Fe);return Fe.delete(p),Qe;case pt:if(Oa)return Oa.call(p)==Oa.call(m)}return!1}function a_(p,m,x,D,ze,G){var Fe=x&i,vt=xn(p),It=vt.length;if(It!=xn(m).length&&!Fe)return!1;for(var Se=It;Se--;){var Qe=vt[Se];if(!(Fe?Qe in m:lr.call(m,Qe)))return!1}var fi=G.get(p);if(fi&&G.get(m))return fi==m;var cr=!0;G.set(p,m),G.set(m,p);for(var rr=Fe;++Se<It;){Qe=vt[Se];var _r=p[Qe],vi=m[Qe];if(D)var ko=Fe?D(vi,_r,Qe,m,p,G):D(_r,vi,Qe,p,m,G);if(!(ko===void 0?_r===vi||ze(_r,vi,x,D,G):ko)){cr=!1;break}rr||(rr=Qe=="constructor")}if(cr&&!rr){var To=p.constructor,Js=m.constructor;To!=Js&&"constructor"in p&&"constructor"in m&&!(typeof To=="function"&&To instanceof To&&typeof Js=="function"&&Js instanceof Js)&&(cr=!1)}return G.delete(p),G.delete(m),cr}function xn(p){return t_(p,$t,Qs)}function So(p,m){var x=p.__data__;return s_(m)?x[typeof m=="string"?"string":"hash"]:x.map}function Fi(p,m){var x=Da(p,m);return i_(x)?x:void 0}function Ys(p){var m=lr.call(p,ui),x=p[ui];try{p[ui]=void 0;var D=!0}catch{}var ze=vn.call(p);return D&&(m?p[ui]=x:delete p[ui]),ze}var Qs=qs?function(p){return p==null?[]:(p=Object(p),kc(qs(p),function(m){return Li.call(p,m)}))}:Zt,tr=ur;(bn&&tr(new bn(new ArrayBuffer(1)))!=le||ci&&tr(new ci)!=b||xr&&tr(xr.resolve())!=A||za&&tr(new za)!=se||Ra&&tr(new Ra)!=Me)&&(tr=function(p){var m=ur(p),x=m==C?p.constructor:void 0,D=x?y(x):"";if(D)switch(D){case Oc:return le;case Pc:return b;case Sr:return A;case Nc:return se;case Mc:return Me}return m});function Pa(p,m){return m=m??n,!!m&&(typeof p=="number"||Ur.test(p))&&p>-1&&p%1==0&&p<m}function s_(p){var m=typeof p;return m=="string"||m=="number"||m=="symbol"||m=="boolean"?p!=="__proto__":p===null}function l_(p){return!!js&&js in p}function Na(p){var m=p&&p.constructor;return p===(typeof m=="function"&&m.prototype||wo)}function f(p){return vn.call(p)}function y(p){if(p!=null){try{return Vs.call(p)}catch{}try{return p+""}catch{}}return""}function T(p,m){return p===m||p!==p&&m!==m}var z=Ir((function(){return arguments})())?Ir:function(p){return ft(p)&&lr.call(p,"callee")&&!Li.call(p,"callee")},Q=Array.isArray;function $(p){return p!=null&&Oe(p.length)&&!Pe(p)}var Le=zc||Ar;function Ee(p,m){return Ks(p,m)}function Pe(p){if(!De(p))return!1;var m=ur(p);return m==h||m==d||m==l||m==O}function Oe(p){return typeof p=="number"&&p>-1&&p%1==0&&p<=n}function De(p){var m=typeof p;return p!=null&&(m=="object"||m=="function")}function ft(p){return p!=null&&typeof p=="object"}var Tt=hn?Bc(hn):o_;function $t(p){return $(p)?e_(p):n_(p)}function Zt(){return[]}function Ar(){return!1}t.exports=Ee}),N7=Ip((e,t)=>{(function(r,i){typeof e=="object"&&typeof t=="object"?t.exports=i():typeof define=="function"&&define.amd?define([],i):typeof e=="object"?e["LuigiPlugin-auth-oauth2"]=i():r["LuigiPlugin-auth-oauth2"]=i()})(self,()=>(()=>{"use strict";var r={d:(h,d)=>{for(var b in d)r.o(d,b)&&!r.o(h,b)&&Object.defineProperty(h,b,{enumerable:!0,get:d[b]})},o:(h,d)=>Object.prototype.hasOwnProperty.call(h,d)},i={};function o(h,d){if(!(h instanceof d))throw new TypeError("Cannot call a class as a function")}function n(h){return n=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(d){return typeof d}:function(d){return d&&typeof Symbol=="function"&&d.constructor===Symbol&&d!==Symbol.prototype?"symbol":typeof d},n(h)}function a(h){var d=(function(b){if(n(b)!="object"||!b)return b;var w=b[Symbol.toPrimitive];if(w!==void 0){var I=w.call(b,"string");if(n(I)!="object")return I;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(b)})(h);return n(d)=="symbol"?d:d+""}function s(h,d){for(var b=0;b<d.length;b++){var w=d[b];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(h,a(w.key),w)}}function l(h,d,b){return d&&s(h.prototype,d),b&&s(h,b),Object.defineProperty(h,"prototype",{writable:!1}),h}function u(h,d,b){return(d=a(d))in h?Object.defineProperty(h,d,{value:b,enumerable:!0,configurable:!0,writable:!0}):h[d]=b,h}r.d(i,{default:()=>c});var _=new((function(){return l(function h(){o(this,h)},[{key:"getRandomId",value:function(){return window.crypto.getRandomValues(new Uint32Array(1))[0]}},{key:"isFunction",value:function(h){return h&&{}.toString.call(h)==="[object Function]"}},{key:"isPromise",value:function(h){return h&&this.isFunction(h.then)}},{key:"isObject",value:function(h){return h&&n(h)==="object"&&!Array.isArray(h)}},{key:"deepMerge",value:function(h){for(var d=arguments.length,b=new Array(d>1?d-1:0),w=1;w<d;w++)b[w-1]=arguments[w];if(!b.length)return h;var I=b.shift();if(this.isObject(h)&&this.isObject(I))for(var C in I)this.isObject(I[C])?(h[C]||Object.assign(h,u({},C,{})),this.deepMerge(h[C],I[C])):Object.assign(h,u({},C,I[C]));return this.deepMerge.apply(this,[h].concat(b))}},{key:"prependOrigin",value:function(h){if(h.startsWith("http"))return h;var d=h.startsWith("/");return h.length?window.location.origin+(d?"":"/")+h:window.location.origin}}])})()),c=(function(){return l(function h(){var d=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};o(this,h);var b={oAuthData:{redirect_uri:window.location.origin+"/assets/auth-oauth2/callback.html",response_type:"id_token token",scope:""},authorizeMethod:"GET",logoutUrl:"",post_logout_redirect_uri:window.location.origin+"/logout.html",accessTokenExpiringNotificationTime:60,expirationCheckInterval:5},w=_.deepMerge(b,d);this.settings=w},[{key:"getAuthData",value:function(){return Luigi.auth().store.getAuthData()}},{key:"parseIdToken",value:function(h){var d=h.split(".")[1].replace(/-/g,"+").replace(/_/g,"/");return JSON.parse(window.atob(d))}},{key:"userInfo",value:function(){var h=this;return new Promise(function(d,b){var w=h.getAuthData(),I=h.parseIdToken(w.idToken);d({email:I.email?I.email:"",name:I.name?I.name:""})})}},{key:"login",value:function(){var h=this;return new Promise(function(d,b){var w=h.settings,I=w.nonceFn&&w.nonceFn()||h.generateNonce();sessionStorage.setItem("luigi.nonceValue",I),w.oAuthData.nonce||(w.oAuthData.nonce=I);var C=function(se,Be){return Object.assign(document.createElement("input"),{name:se,id:se,value:Be,type:"hidden"})},A=Object.assign(document.createElement("form"),{name:"signIn",id:"signIn",action:w.authorizeUrl,method:w.authorizeMethod,target:"_self"});for(var O in w.oAuthData.redirect_uri="".concat(_.prependOrigin(w.oAuthData.redirect_uri),"?storageType=").concat(Luigi.auth().store.getStorageType()),w.oAuthData.state=btoa(encodeURI(window.location.href)+"_luigiNonce="+I),w.oAuthData){var de=C(O,w.oAuthData[O]);A.appendChild(de.cloneNode())}document.getElementsByTagName("body")[0].appendChild(A),setTimeout(function(){document.querySelector("form#signIn").submit()}),document.querySelector("form#signIn").addEventListener("load",function(se){console.info("load, e",se,h)})})}},{key:"logout",value:function(h,d){var b=this.settings,w="".concat(b.logoutUrl,"?id_token_hint=").concat(h.idToken,"&client_id=").concat(b.oAuthData.client_id,"&post_logout_redirect_uri=").concat(_.prependOrigin(b.post_logout_redirect_uri));d&&d(),setTimeout(function(){window.location.href=w})}},{key:"setTokenExpirationAction",value:function(){var h=this;this.expirationCheckIntervalInstance=setInterval(function(){var d=h.getAuthData();if(!d)return clearInterval(h.expirationCheckIntervalInstance);if((d&&d.accessTokenExpirationDate||0)-new Date<5e3){clearInterval(h.expirationCheckIntervalInstance),Luigi.auth().store.removeAuthData();var b="".concat(h.settings.logoutUrl,"?error=tokenExpired&post_logout_redirect_uri=").concat(_.prependOrigin(h.settings.post_logout_redirect_uri));Luigi.auth().handleAuthEvent("onAuthExpired",h.settings,void 0,b)}},5e3)}},{key:"setTokenExpireSoonAction",value:function(){var h=this,d=1e3*this.settings.accessTokenExpiringNotificationTime,b=1e3*this.settings.expirationCheckInterval,w=this.getAuthData();w&&(this.expirationSoonCheckIntervalInstance=setInterval(function(){(w&&w.accessTokenExpirationDate||0)-new Date().getTime()<d&&(Luigi.auth().handleAuthEvent("onAuthExpireSoon",h.settings),clearInterval(h.expirationSoonCheckIntervalInstance))},b))}},{key:"generateNonce",value:function(){var h=window.crypto;return Array.from(h.getRandomValues(new Uint8Array(20))).map(function(d){for(;d>=61*Math.floor(256/61);)d=h.getRandomValues(new Uint8Array(1))[0];return"0123456789ABCDEFGHIJKLMNOPQRSTUVXYZabcdefghijklmnopqrstuvwxyz"[d%61]}).join("")}},{key:"resetExpirationChecks",value:function(){this.unload(),this.setTokenExpirationAction(),this.setTokenExpireSoonAction()}},{key:"unload",value:function(){clearInterval(this.expirationCheckIntervalInstance),clearInterval(this.expirationSoonCheckIntervalInstance)}}])})();return i.default})())}),M7=Ip((e,t)=>{var r="__lodash_hash_undefined__",i=1,o=2,n=9007199254740991,a="[object Arguments]",s="[object Array]",l="[object Boolean]",u="[object Date]",_="[object Error]",c="[object Function]",h="[object GeneratorFunction]",d="[object Map]",b="[object Number]",w="[object Object]",I="[object Promise]",C="[object RegExp]",A="[object Set]",O="[object String]",de="[object Symbol]",se="[object WeakMap]",Be="[object ArrayBuffer]",pt="[object DataView]",Ye="[object Float32Array]",Me="[object Float64Array]",Wt="[object Int8Array]",le="[object Int16Array]",st="[object Int32Array]",dn="[object Uint8Array]",mc="[object Uint8ClampedArray]",bc="[object Uint16Array]",yc="[object Uint32Array]",wc=/[\\^$.*+?()[\]{}|]/g,Cc=/^\[object .+?Constructor\]$/,xc=/^(?:0|[1-9]\d*)$/,we={};we[Ye]=we[Me]=we[Wt]=we[le]=we[st]=we[dn]=we[mc]=we[bc]=we[yc]=!0,we[a]=we[s]=we[Be]=we[l]=we[pt]=we[u]=we[_]=we[c]=we[d]=we[b]=we[w]=we[C]=we[A]=we[O]=we[se]=!1;var Ns=typeof global=="object"&&global&&global.Object===Object&&global,Sc=typeof self=="object"&&self&&self.Object===Object&&self,Ur=Ns||Sc||Function("return this")(),me=typeof e=="object"&&e&&!e.nodeType&&e,Aa=me&&typeof t=="object"&&t&&!t.nodeType&&t,Ms=Aa&&Aa.exports===me&&Ns.process,sr=(function(){try{return Ms&&Ms.binding("util")}catch{}})(),Ba=sr&&sr.isTypedArray;function Ls(f,y){for(var T=-1,z=f?f.length:0;++T<z;)if(y(f[T],T,f))return!0;return!1}function Fs(f,y){for(var T=-1,z=Array(f);++T<f;)z[T]=y(T);return z}function Ea(f){return function(y){return f(y)}}function $s(f,y){return f?.[y]}function hn(f){var y=!1;if(f!=null&&typeof f.toString!="function")try{y=!!(f+"")}catch{}return y}function kc(f){var y=-1,T=Array(f.size);return f.forEach(function(z,Q){T[++y]=[Q,z]}),T}function Tc(f,y){return function(T){return f(y(T))}}function Ic(f){var y=-1,T=Array(f.size);return f.forEach(function(z){T[++y]=z}),T}var Ac=Array.prototype,Bc=Function.prototype,pn=Object.prototype,Da=Ur["__core-js_shared__"],Hs=(function(){var f=/[^.]+$/.exec(Da&&Da.keys&&Da.keys.IE_PROTO||"");return f?"Symbol(src)_1."+f:""})(),Us=Bc.toString,Cr=pn.hasOwnProperty,yo=pn.toString,Ec=RegExp("^"+Us.call(Cr).replace(wc,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),wo=Ur.Symbol,fn=Ur.Uint8Array,Vs=pn.propertyIsEnumerable,lr=Ac.splice,js=Tc(Object.keys,Object),vn=ur(Ur,"DataView"),Co=ur(Ur,"Map"),gn=ur(Ur,"Promise"),Mi=ur(Ur,"Set"),mn=ur(Ur,"WeakMap"),Li=ur(Object,"create"),Dc=jr(vn),ui=jr(Co),qs=jr(gn),zc=jr(Mi),Rc=jr(mn),bn=wo?wo.prototype:void 0,ci=bn?bn.valueOf:void 0;function xr(f){var y=-1,T=f?f.length:0;for(this.clear();++y<T;){var z=f[y];this.set(z[0],z[1])}}function za(){this.__data__=Li?Li(null):{}}function Ra(f){return this.has(f)&&delete this.__data__[f]}function xo(f){var y=this.__data__;if(Li){var T=y[f];return T===r?void 0:T}return Cr.call(y,f)?y[f]:void 0}function Oc(f){var y=this.__data__;return Li?y[f]!==void 0:Cr.call(y,f)}function Pc(f,y){var T=this.__data__;return T[f]=Li&&y===void 0?r:y,this}xr.prototype.clear=za,xr.prototype.delete=Ra,xr.prototype.get=xo,xr.prototype.has=Oc,xr.prototype.set=Pc;function Sr(f){var y=-1,T=f?f.length:0;for(this.clear();++y<T;){var z=f[y];this.set(z[0],z[1])}}function Nc(){this.__data__=[]}function Mc(f){var y=this.__data__,T=wn(y,f);return T<0?!1:(T==y.length-1?y.pop():lr.call(y,T,1),!0)}function Gs(f){var y=this.__data__,T=wn(y,f);return T<0?void 0:y[T][1]}function Oa(f){return wn(this.__data__,f)>-1}function _i(f,y){var T=this.__data__,z=wn(T,f);return z<0?T.push([f,y]):T[z][1]=y,this}Sr.prototype.clear=Nc,Sr.prototype.delete=Mc,Sr.prototype.get=Gs,Sr.prototype.has=Oa,Sr.prototype.set=_i;function di(f){var y=-1,T=f?f.length:0;for(this.clear();++y<T;){var z=f[y];this.set(z[0],z[1])}}function Lc(){this.__data__={hash:new xr,map:new(Co||Sr),string:new xr}}function Fc(f){return pi(this,f).delete(f)}function $c(f){return pi(this,f).get(f)}function Hc(f){return pi(this,f).has(f)}function kr(f,y){return pi(this,f).set(f,y),this}di.prototype.clear=Lc,di.prototype.delete=Fc,di.prototype.get=$c,di.prototype.has=Hc,di.prototype.set=kr;function yn(f){var y=-1,T=f?f.length:0;for(this.__data__=new di;++y<T;)this.add(f[y])}function Uc(f){return this.__data__.set(f,r),this}function Vc(f){return this.__data__.has(f)}yn.prototype.add=yn.prototype.push=Uc,yn.prototype.has=Vc;function Tr(f){this.__data__=new Sr(f)}function jc(){this.__data__=new Sr}function hi(f){return this.__data__.delete(f)}function qc(f){return this.__data__.get(f)}function Gc(f){return this.__data__.has(f)}function Wc(f,y){var T=this.__data__;if(T instanceof Sr){var z=T.__data__;if(!Co||z.length<199)return z.push([f,y]),this;T=this.__data__=new di(z)}return T.set(f,y),this}Tr.prototype.clear=jc,Tr.prototype.delete=hi,Tr.prototype.get=qc,Tr.prototype.has=Gc,Tr.prototype.set=Wc;function Zc(f,y){var T=xn(f)||a_(f)?Fs(f.length,String):[],z=T.length,Q=!!z;for(var $ in f)(y||Cr.call(f,$))&&(!Q||$!="length"&&!Ks($,z))&&T.push($);return T}function wn(f,y){for(var T=f.length;T--;)if(Xs(f[T][0],y))return T;return-1}function Cn(f){return yo.call(f)}function Ws(f,y,T,z,Q){return f===y?!0:f==null||y==null||!tr(f)&&!Pa(y)?f!==f&&y!==y:Kc(f,y,Ws,T,z,Q)}function Kc(f,y,T,z,Q,$){var Le=xn(f),Ee=xn(y),Pe=s,Oe=s;Le||(Pe=Ir(f),Pe=Pe==a?w:Pe),Ee||(Oe=Ir(y),Oe=Oe==a?w:Oe);var De=Pe==w&&!hn(f),ft=Oe==w&&!hn(y),Tt=Pe==Oe;if(Tt&&!De)return $||($=new Tr),Le||l_(f)?Zs(f,y,T,z,Q,$):Jc(f,y,Pe,T,z,Q,$);if(!(Q&o)){var $t=De&&Cr.call(f,"__wrapped__"),Zt=ft&&Cr.call(y,"__wrapped__");if($t||Zt){var Ar=$t?f.value():f,p=Zt?y.value():y;return $||($=new Tr),T(Ar,p,z,Q,$)}}return Tt?($||($=new Tr),e_(f,y,T,z,Q,$)):!1}function Vr(f,y,T,z){var Q=T.length,$=Q,Le=!z;if(f==null)return!$;for(f=Object(f);Q--;){var Ee=T[Q];if(Le&&Ee[2]?Ee[1]!==f[Ee[0]]:!(Ee[0]in f))return!1}for(;++Q<$;){Ee=T[Q];var Pe=Ee[0],Oe=f[Pe],De=Ee[1];if(Le&&Ee[2]){if(Oe===void 0&&!(Pe in f))return!1}else{var ft=new Tr;if(z)var Tt=z(Oe,De,Pe,f,y,ft);if(!(Tt===void 0?Ws(De,Oe,z,3,ft):Tt))return!1}}return!0}function Xc(f){return!tr(f)||i_(f)?!1:(Ys(f)||hn(f)?Ec:Cc).test(jr(f))}function Yc(f){return Pa(f)&&Qs(f.length)&&!!we[yo.call(f)]}function Qc(f){if(!o_(f))return js(f);var y=[];for(var T in Object(f))Cr.call(f,T)&&T!="constructor"&&y.push(T);return y}function Zs(f,y,T,z,Q,$){var Le=Q&o,Ee=f.length,Pe=y.length;if(Ee!=Pe&&!(Le&&Pe>Ee))return!1;var Oe=$.get(f);if(Oe&&$.get(y))return Oe==y;var De=-1,ft=!0,Tt=Q&i?new yn:void 0;for($.set(f,y),$.set(y,f);++De<Ee;){var $t=f[De],Zt=y[De];if(z)var Ar=Le?z(Zt,$t,De,y,f,$):z($t,Zt,De,f,y,$);if(Ar!==void 0){if(Ar)continue;ft=!1;break}if(Tt){if(!Ls(y,function(p,m){if(!Tt.has(m)&&($t===p||T($t,p,z,Q,$)))return Tt.add(m)})){ft=!1;break}}else if(!($t===Zt||T($t,Zt,z,Q,$))){ft=!1;break}}return $.delete(f),$.delete(y),ft}function Jc(f,y,T,z,Q,$,Le){switch(T){case pt:if(f.byteLength!=y.byteLength||f.byteOffset!=y.byteOffset)return!1;f=f.buffer,y=y.buffer;case Be:return!(f.byteLength!=y.byteLength||!z(new fn(f),new fn(y)));case l:case u:case b:return Xs(+f,+y);case _:return f.name==y.name&&f.message==y.message;case C:case O:return f==y+"";case d:var Ee=kc;case A:var Pe=$&o;if(Ee||(Ee=Ic),f.size!=y.size&&!Pe)return!1;var Oe=Le.get(f);if(Oe)return Oe==y;$|=i,Le.set(f,y);var De=Zs(Ee(f),Ee(y),z,Q,$,Le);return Le.delete(f),De;case de:if(ci)return ci.call(f)==ci.call(y)}return!1}function e_(f,y,T,z,Q,$){var Le=Q&o,Ee=Na(f),Pe=Ee.length;if(Pe!=Na(y).length&&!Le)return!1;for(var Oe=Pe;Oe--;){var De=Ee[Oe];if(!(Le?De in y:Cr.call(y,De)))return!1}var ft=$.get(f);if(ft&&$.get(y))return ft==y;var Tt=!0;$.set(f,y),$.set(y,f);for(var $t=Le;++Oe<Pe;){De=Ee[Oe];var Zt=f[De],Ar=y[De];if(z)var p=Le?z(Ar,Zt,De,y,f,$):z(Zt,Ar,De,f,y,$);if(!(p===void 0?Zt===Ar||T(Zt,Ar,z,Q,$):p)){Tt=!1;break}$t||($t=De=="constructor")}if(Tt&&!$t){var m=f.constructor,x=y.constructor;m!=x&&"constructor"in f&&"constructor"in y&&!(typeof m=="function"&&m instanceof m&&typeof x=="function"&&x instanceof x)&&(Tt=!1)}return $.delete(f),$.delete(y),Tt}function pi(f,y){var T=f.__data__;return r_(y)?T[typeof y=="string"?"string":"hash"]:T.map}function t_(f){for(var y=Na(f),T=y.length;T--;){var z=y[T],Q=f[z];y[T]=[z,Q,n_(Q)]}return y}function ur(f,y){var T=$s(f,y);return Xc(T)?T:void 0}var Ir=Cn;(vn&&Ir(new vn(new ArrayBuffer(1)))!=pt||Co&&Ir(new Co)!=d||gn&&Ir(gn.resolve())!=I||Mi&&Ir(new Mi)!=A||mn&&Ir(new mn)!=se)&&(Ir=function(f){var y=yo.call(f),T=y==w?f.constructor:void 0,z=T?jr(T):void 0;if(z)switch(z){case Dc:return pt;case ui:return d;case qs:return I;case zc:return A;case Rc:return se}return y});function Ks(f,y){return y=y??n,!!y&&(typeof f=="number"||xc.test(f))&&f>-1&&f%1==0&&f<y}function r_(f){var y=typeof f;return y=="string"||y=="number"||y=="symbol"||y=="boolean"?f!=="__proto__":f===null}function i_(f){return!!Hs&&Hs in f}function o_(f){var y=f&&f.constructor;return f===(typeof y=="function"&&y.prototype||pn)}function n_(f){return f===f&&!tr(f)}function jr(f){if(f!=null){try{return Us.call(f)}catch{}try{return f+""}catch{}}return""}function Xs(f,y){return f===y||f!==f&&y!==y}function a_(f){return Fi(f)&&Cr.call(f,"callee")&&(!Vs.call(f,"callee")||yo.call(f)==a)}var xn=Array.isArray;function So(f){return f!=null&&Qs(f.length)&&!Ys(f)}function Fi(f){return Pa(f)&&So(f)}function Ys(f){var y=tr(f)?yo.call(f):"";return y==c||y==h}function Qs(f){return typeof f=="number"&&f>-1&&f%1==0&&f<=n}function tr(f){var y=typeof f;return!!f&&(y=="object"||y=="function")}function Pa(f){return!!f&&typeof f=="object"}function s_(f,y){return f===y||Vr(f,y,t_(y))}var l_=Ba?Ea(Ba):Yc;function Na(f){return So(f)?Zc(f):Qc(f)}t.exports=s_}),Ut=null,Hl=!1,jo=1,L7=null,Qt=Symbol("SIGNAL");ma={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:()=>{}};Hn=Symbol("UNSET"),Un=Symbol("COMPUTING"),Ci=Symbol("ERRORED"),q7=te(E({},ma),{value:Hn,dirty:!0,error:null,equal:hf,kind:"computed",producerMustRecompute(e){return e.value===Hn||e.value===Un},producerRecomputeValue(e){if(e.value===Un)throw new Error("");let t=e.value;e.value=Un;let r=_s(e),i,o=!1;try{i=e.computation(),M(null),o=t!==Hn&&t!==Ci&&i!==Ci&&e.equal(t,i)}catch(n){i=Ci,e.error=n}finally{rc(e,r)}if(o){e.value=t;return}e.value=i,e.version++}});N1=G7;Z7=null;F1=te(E({},ma),{equal:hf,value:void 0,kind:"signal"});Q7=te(E({},ma),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,kind:"effect"});eD=Symbol("NotFound");rD=te(E({},ma),{value:Hn,dirty:!0,error:null,equal:hf,kind:"linkedSignal",producerMustRecompute(e){return e.value===Hn||e.value===Un},producerRecomputeValue(e){if(e.value===Un)throw new Error("");let t=e.value;e.value=Un;let r=_s(e),i,o=!1;try{let n=e.source(),a=t!==Hn&&t!==Ci,s=a?{source:e.sourceValue,value:t}:void 0;i=e.computation(n,s),e.sourceValue=n,M(null),o=a&&i!==Ci&&e.equal(t,i)}catch(n){i=Ci,e.error=n}finally{rc(e,r)}if(o){e.value=t;return}e.value=i,e.version++}});td=ff(e=>function(t){e(this),this.message=t?`${t.length} errors occurred during unsubscription:
|
|
84
84
|
${t.map((r,i)=>`${i+1}) ${r.toString()}`).join(`
|
|
85
|
-
`)}`:"",this.name="UnsubscriptionError",this.errors=t});Ti=class Ah{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;let{_parentage:r}=this;if(r)if(this._parentage=null,Array.isArray(r))for(let n of r)n.remove(this);else r.remove(this);let{initialTeardown:i}=this;if(Ve(i))try{i()}catch(n){t=n instanceof td?n.errors:[n]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let n of o)try{Mm(n)}catch(a){t=t??[],a instanceof td?t=[...t,...a.errors]:t.push(a)}}if(t)throw new td(t)}}add(t){var r;if(t&&t!==this)if(this.closed)Mm(t);else{if(t instanceof Ah){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(r=this._finalizers)!==null&&r!==void 0?r:[]).push(t)}}_hasParent(t){let{_parentage:r}=this;return r===t||Array.isArray(r)&&r.includes(t)}_addParent(t){let{_parentage:r}=this;this._parentage=Array.isArray(r)?(r.push(t),r):r?[r,t]:t}_removeParent(t){let{_parentage:r}=this;r===t?this._parentage=null:Array.isArray(r)&&Ih(r,t)}remove(t){let{_finalizers:r}=this;r&&Ih(r,t),t instanceof Ah&&t._removeParent(this)}};Ti.EMPTY=(()=>{let e=new Ti;return e.closed=!0,e})();H1=Ti.EMPTY;an={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},uu={setTimeout(e,t,...r){let{delegate:i}=uu;return i?.setTimeout?i.setTimeout(e,t,...r):setTimeout(e,t,...r)},clearTimeout(e){let{delegate:t}=uu;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};oD=vf("C",void 0,void 0);Ho=null;gf=class extends Ti{constructor(e){super(),this.isStopped=!1,e?(this.destination=e,U1(e)&&e.add(this)):this.destination=_D}static create(e,t,r){return new Eh(e,t,r)}next(e){this.isStopped?id(aD(e),this):this._next(e)}error(e){this.isStopped?id(nD(e),this):(this.isStopped=!0,this._error(e))}complete(){this.isStopped?id(oD,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(e){this.destination.next(e)}_error(e){try{this.destination.error(e)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},lD=Function.prototype.bind;uD=class{constructor(e){this.partialObserver=e}next(e){let{partialObserver:t}=this;if(t.next)try{t.next(e)}catch(r){gl(r)}}error(e){let{partialObserver:t}=this;if(t.error)try{t.error(e)}catch(r){gl(r)}else gl(e)}complete(){let{partialObserver:e}=this;if(e.complete)try{e.complete()}catch(t){gl(t)}}},Eh=class extends gf{constructor(e,t,r){super();let i;if(Ve(e)||!e)i={next:e??void 0,error:t??void 0,complete:r??void 0};else{let o;this&&an.useDeprecatedNextContext?(o=Object.create(e),o.unsubscribe=()=>this.unsubscribe(),i={next:e.next&&rd(e.next,o),error:e.error&&rd(e.error,o),complete:e.complete&&rd(e.complete,o)}):i=e}this.destination=new uD(i)}};_D={closed:!0,next:Bh,error:cD,complete:Bh},mf=typeof Symbol=="function"&&Symbol.observable||"@@observable";_t=class j1{constructor(t){t&&(this._subscribe=t)}lift(t){let r=new j1;return r.source=this,r.operator=t,r}subscribe(t,r,i){let o=pD(t)?t:new Eh(t,r,i);return Ul(()=>{let{operator:n,source:a}=this;o.add(n?n.call(o,a):a?this._subscribe(o):this._trySubscribe(o))}),o}_trySubscribe(t){try{return this._subscribe(t)}catch(r){t.error(r)}}forEach(t,r){return r=Lm(r),new r((i,o)=>{let n=new Eh({next:a=>{try{t(a)}catch(s){o(s),n.unsubscribe()}},error:o,complete:i});this.subscribe(n)})}_subscribe(t){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(t)}[mf](){return this}pipe(...t){return dD(t)(this)}toPromise(t){return t=Lm(t),new t((r,i)=>{let o;this.subscribe(n=>o=n,n=>i(n),()=>r(o))})}};_t.create=e=>new _t(e);vD=class extends gf{constructor(e,t,r,i,o,n){super(e),this.onFinalize=o,this.shouldUnsubscribe=n,this._next=t?function(a){try{t(a)}catch(s){e.error(s)}}:super._next,this._error=i?function(a){try{i(a)}catch(s){e.error(s)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){e.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var e;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:t}=this;super.unsubscribe(),!t&&((e=this.onFinalize)===null||e===void 0||e.call(this))}}},gD=ff(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}),sn=class extends _t{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(e){let t=new q1(this,this);return t.operator=e,t}_throwIfClosed(){if(this.closed)throw new gD}next(e){Ul(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let t of this.currentObservers)t.next(e)}})}error(e){Ul(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=e;let{observers:t}=this;for(;t.length;)t.shift().error(e)}})}complete(){Ul(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:e}=this;for(;e.length;)e.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var e;return((e=this.observers)===null||e===void 0?void 0:e.length)>0}_trySubscribe(e){return this._throwIfClosed(),super._trySubscribe(e)}_subscribe(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)}_innerSubscribe(e){let{hasError:t,isStopped:r,observers:i}=this;return t||r?H1:(this.currentObservers=null,i.push(e),new Ti(()=>{this.currentObservers=null,Ih(i,e)}))}_checkFinalizedStatuses(e){let{hasError:t,thrownError:r,isStopped:i}=this;t?e.error(r):i&&e.complete()}asObservable(){let e=new _t;return e.source=this,e}};sn.create=(e,t)=>new q1(e,t);q1=class extends sn{constructor(e,t){super(),this.destination=e,this.source=t}next(e){var t,r;(r=(t=this.destination)===null||t===void 0?void 0:t.next)===null||r===void 0||r.call(t,e)}error(e){var t,r;(r=(t=this.destination)===null||t===void 0?void 0:t.error)===null||r===void 0||r.call(t,e)}complete(){var e,t;(t=(e=this.destination)===null||e===void 0?void 0:e.complete)===null||t===void 0||t.call(e)}_subscribe(e){var t,r;return(r=(t=this.source)===null||t===void 0?void 0:t.subscribe(e))!==null&&r!==void 0?r:H1}},mD=class extends sn{constructor(e){super(),this._value=e}get value(){return this.getValue()}_subscribe(e){let t=super._subscribe(e);return!t.closed&&e.next(this._value),t}getValue(){let{hasError:e,thrownError:t,_value:r}=this;if(e)throw t;return this._throwIfClosed(),r}next(e){super.next(this._value=e)}},G1={now(){return(G1.delegate||Date).now()},delegate:void 0},W1=class extends sn{constructor(e=1/0,t=1/0,r=G1){super(),this._bufferSize=e,this._windowTime=t,this._timestampProvider=r,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=t===1/0,this._bufferSize=Math.max(1,e),this._windowTime=Math.max(1,t)}next(e){let{isStopped:t,_buffer:r,_infiniteTimeWindow:i,_timestampProvider:o,_windowTime:n}=this;t||(r.push(e),!i&&r.push(o.now()+n)),this._trimBuffer(),super.next(e)}_subscribe(e){this._throwIfClosed(),this._trimBuffer();let t=this._innerSubscribe(e),{_infiniteTimeWindow:r,_buffer:i}=this,o=i.slice();for(let n=0;n<o.length&&!e.closed;n+=r?1:2)e.next(o[n]);return this._checkFinalizedStatuses(e),t}_trimBuffer(){let{_bufferSize:e,_timestampProvider:t,_buffer:r,_infiniteTimeWindow:i}=this,o=(i?1:2)*e;if(e<1/0&&o<r.length&&r.splice(0,r.length-o),!i){let n=t.now(),a=0;for(let s=1;s<r.length&&r[s]<=n;s+=2)a=s;a&&r.splice(0,a+1)}}},bD=new _t(e=>e.complete());K1=(e=>e&&typeof e.length=="number"&&typeof e!="function");ey=TD();$D=ff(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});({isArray:UD}=Array);({isArray:qD}=Array),{getPrototypeOf:GD,prototype:WD,keys:ZD}=Object;ly="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",L=class extends Error{code;constructor(e,t){super(uy(e,t)),this.code=e}};cz=Ce({__forward_ref__:Ce});hy=Ce({\u0275prov:Ce}),Um=Ce({\u0275inj:Ce}),q=class{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(e,t){this._desc=e,this.\u0275prov=void 0,typeof t=="number"?this.__NG_ELEMENT_ID__=t:t!==void 0&&(this.\u0275prov=xe({token:this,providedIn:t.providedIn||"root",factory:t.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};Dh=Ce({\u0275cmp:Ce}),zh=Ce({\u0275dir:Ce}),hz=Ce({\u0275pipe:Ce}),_u=Ce({\u0275fac:Ce}),ns=Ce({__NG_ELEMENT_ID__:Ce}),Vm=Ce({__NG_ENV_ID__:Ce});fy=Ce({ngErrorCode:Ce}),fz=Ce({ngErrorMessage:Ce}),vz=Ce({ngTokenPath:Ce});qo={},mz="__NG_DI_FLAG__",bz=class{injector;constructor(e){this.injector=e}retrieve(e,t){let r=ds(t)||0;try{return this.injector.get(e,r&8?null:qo,r)}catch(i){if(pf(i))return i;throw i}}};Xo={},hr=[],If=new q(""),Af=new q("",-1),wy=new q(""),Cy=class{get(e,t=qo){if(t===qo){let r=gy("",-201);throw r.name="\u0275NotFound",r}return t}};Bz=Ce({provide:String,useValue:Ce});Df=new q(""),Vl={},jm={};Yo=class{},zf=class extends Yo{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(e,t,r,i){super(),this.parent=t,this.source=r,this.scopes=i,Mh(e,n=>this.processProvider(n)),this.records.set(Af,Pn(void 0,this)),i.has("environment")&&this.records.set(Yo,Pn(void 0,this));let o=this.records.get(Df);o!=null&&typeof o.value=="string"&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(wy,hr,{self:!0}))}retrieve(e,t){let r=ds(t)||0;try{return this.get(e,qo,r)}catch(i){if(pf(i))return i;throw i}}destroy(){es(this),this._destroyed=!0;let e=M(null);try{for(let r of this._ngOnDestroyHooks)r.ngOnDestroy();let t=this._onDestroyHooks;this._onDestroyHooks=[];for(let r of t)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),M(e)}}onDestroy(e){return es(this),this._onDestroyHooks.push(e),()=>this.removeOnDestroy(e)}runInContext(e){es(this);let t=Qi(this),r=Xt(void 0);try{return e()}finally{Qi(t),Xt(r)}}get(e,t=qo,r){if(es(this),Object.hasOwn(e,Vm))return e[Vm](this);let i=ds(r),o=Qi(this),n=Xt(void 0);try{if(!(i&4)){let s=this.records.get(e);if(s===void 0){let l=Mz(e)&&Cf(e);l&&this.injectableDefInScope(l)?s=Pn(Nh(e),Vl):s=null,this.records.set(e,s)}if(s!=null)return this.hydrate(e,s,i)}let a=i&2?nc():this.parent;return t=i&8&&t===qo?null:t,a.get(e,t)}catch(a){let s=gz(a);throw s===-200||s===-201?new L(s,null):a}finally{Xt(n),Qi(o)}}resolveInjectorInitializers(){let e=M(null),t=Qi(this),r=Xt(void 0);try{let i=this.get(If,hr,{self:!0});for(let o of i)o()}finally{Qi(t),Xt(r),M(e)}}toString(){return"R3Injector[...]"}processProvider(e){e=At(e);let t=aa(e)?e:At(e&&e.provide),r=Oz(e);if(!aa(e)&&e.multi===!0){let i=this.records.get(t);i||(i=Pn(void 0,Vl,!0),i.factory=()=>Oh(i.multi),this.records.set(t,i)),t=e,i.multi.push(e)}this.records.set(t,r)}hydrate(e,t,r){let i=M(null);try{if(t.value===jm)throw vy("");return t.value===Vl&&(t.value=jm,t.value=t.factory(void 0,r)),typeof t.value=="object"&&t.value&&Nz(t.value)&&this._ngOnDestroyHooks.add(t.value),t.value}finally{M(i)}}injectableDefInScope(e){if(!e.providedIn)return!1;let t=At(e.providedIn);return typeof t=="string"?t==="any"||this.scopes.has(t):this.injectorDefTypes.has(t)}removeOnDestroy(e){let t=this._onDestroyHooks.indexOf(e);t!==-1&&this._onDestroyHooks.splice(t,1)}};zi=0,H=1,F=2,qt=3,Or=4,nr=5,sa=6,du=7,ot=8,Qo=9,ri=10,Ke=11,hs=12,qm=13,un=14,Jt=15,la=16,Nn=17,ua=18,ac=19,Iy=20,oo=21,ad=22,no=23,vr=24,jn=25,Fz=26,Ay=27,Xe=28,By=1,Gm=6,sc=7,$z=8,hu=9,wt=10;Dy=(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[e.ATTRIBUTE_NO_BINDING=6]="ATTRIBUTE_NO_BINDING",e})(Dy||{}),zy="svg",Hz="math";Z={lFrame:Zy(null),bindingsEnabled:!0,skipHydrationRootTNode:null},Fh=!1;Xy=Ky;Qy=!0;ht=class Jy{static THROW_IF_NOT_FOUND=qo;static NULL=new Cy;static create(t,r){if(Array.isArray(t))return Wm({name:""},r,t,"");{let i=t.name??"";return Wm({name:i},t.parent,t.providers,i)}}static \u0275prov=xe({token:Jy,providedIn:"any",factory:()=>ae(Af)});static __NG_ELEMENT_ID__=-1},ai=new q(""),si=class{static __NG_ELEMENT_ID__=lR;static __NG_ENV_ID__=e=>e},ew=class extends si{_lView;constructor(e){super(),this._lView=e}get destroyed(){return ya(this._lView)}onDestroy(e){let t=this._lView;return Lf(t,e),()=>Vz(t,e)}};uR=!1,cR=new q(""),Ds=(()=>{class e{taskId=0;pendingTasks=new Set;destroyed=!1;pendingTask=new mD(!1);debugTaskTracker=S(cR,{optional:!0});get hasPendingTasks(){return this.destroyed?!1:this.pendingTask.value}get hasPendingTasksObservable(){return this.destroyed?new _t(r=>{r.next(!1),r.complete()}):this.pendingTask}add(){!this.hasPendingTasks&&!this.destroyed&&this.pendingTask.next(!0);let r=this.taskId++;return this.pendingTasks.add(r),this.debugTaskTracker?.add(r),r}has(r){return this.pendingTasks.has(r)}remove(r){this.pendingTasks.delete(r),this.debugTaskTracker?.remove(r),this.pendingTasks.size===0&&this.hasPendingTasks&&this.pendingTask.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks&&this.pendingTask.next(!1),this.destroyed=!0,this.pendingTask.unsubscribe()}static \u0275prov=xe({token:e,providedIn:"root",factory:()=>new e})}return e})(),_R=class extends sn{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(e=!1){super(),this.__isAsync=e,Lz()&&(this.destroyRef=S(si,{optional:!0})??void 0,this.pendingTasks=S(Ds,{optional:!0})??void 0)}emit(e){let t=M(null);try{super.next(e)}finally{M(t)}}subscribe(e,t,r){let i=e,o=t||(()=>null),n=r;if(e&&typeof e=="object"){let s=e;i=s.next?.bind(s),o=s.error?.bind(s),n=s.complete?.bind(s)}this.__isAsync&&(o=this.wrapInTimeout(o),i&&(i=this.wrapInTimeout(i)),n&&(n=this.wrapInTimeout(n)));let a=super.subscribe({next:i,error:o,complete:n});return e instanceof Ti&&e.add(a),a}wrapInTimeout(e){return t=>{let r=this.pendingTasks?.add();setTimeout(()=>{try{e(t)}finally{r!==void 0&&this.pendingTasks?.remove(r)}})}}},pr=_R;Vf="isAngularZone",gu=Vf+"_ID",hR=0,li=class Hh{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new pr(!1);onMicrotaskEmpty=new pr(!1);onStable=new pr(!1);onError=new pr(!1);constructor(t){let{enableLongStackTrace:r=!1,shouldCoalesceEventChangeDetection:i=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:n=uR}=t;if(typeof Zone>"u")throw new L(908,!1);Zone.assertZonePatched();let a=this;a._nesting=0,a._outer=a._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(a._inner=a._inner.fork(new Zone.TaskTrackingZoneSpec)),r&&Zone.longStackTraceZoneSpec&&(a._inner=a._inner.fork(Zone.longStackTraceZoneSpec)),a.shouldCoalesceEventChangeDetection=!o&&i,a.shouldCoalesceRunChangeDetection=o,a.callbackScheduled=!1,a.scheduleInRootZone=n,vR(a)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(Vf)===!0}static assertInAngularZone(){if(!Hh.isInAngularZone())throw new L(909,!1)}static assertNotInAngularZone(){if(Hh.isInAngularZone())throw new L(909,!1)}run(t,r,i){return this._inner.run(t,r,i)}runTask(t,r,i,o){let n=this._inner,a=n.scheduleEventTask("NgZoneEvent: "+o,t,pR,vu,vu);try{return n.runTask(a,r,i)}finally{n.cancelTask(a)}}runGuarded(t,r,i){return this._inner.runGuarded(t,r,i)}runOutsideAngular(t){return this._outer.run(t)}},pR={};gR=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new pr;onMicrotaskEmpty=new pr;onStable=new pr;onError=new pr;run(e,t,r){return e.apply(t,r)}runGuarded(e,t,r){return e.apply(t,r)}runOutsideAngular(e){return e()}runTask(e,t,r,i){return e.apply(t,r)}};xa=class{_console=console;handleError(e){this._console.error("ERROR",e)}};CR=class extends Error{constructor(e){super(String(e),{cause:e}),this.name="ErrorBoundaryWrappedError"}},zs=new q("",{factory:()=>{let e=S(li),t=S(Yo),r;return i=>{e.runOutsideAngular(()=>{t.destroyed&&!r?setTimeout(()=>{throw i}):(r??=t.get(xa),r.handleError(i))})}}}),xR={provide:If,useValue:()=>{S(xa,{optional:!0})},multi:!0};ow=new q("",{factory:()=>SR}),SR="ng",nw=new q(""),aw=new q("",{providedIn:"platform",factory:()=>"unknown"}),sw=new q("",{factory:()=>S(ai).body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null}),qf=(()=>{class e{view;node;constructor(r,i){this.view=r,this.node=i}static __NG_ELEMENT_ID__=kR}return e})();Sa=class{},Gf=new q("",{factory:()=>!0}),TR=new q(""),lw=(()=>{class e{static \u0275prov=xe({token:e,providedIn:"root",factory:()=>new IR})}return e})(),IR=class{dirtyEffectCount=0;queues=new Map;add(e){this.enqueue(e),this.schedule(e)}schedule(e){e.dirty&&this.dirtyEffectCount++}remove(e){let t=e.zone,r=this.queues.get(t);r.has(e)&&(r.delete(e),e.dirty&&this.dirtyEffectCount--)}enqueue(e){let t=e.zone;this.queues.has(t)||this.queues.set(t,new Set);let r=this.queues.get(t);r.has(e)||r.add(e)}flush(){for(;this.dirtyEffectCount>0;){let e=!1;for(let[t,r]of this.queues)t===null?e||=this.flushQueue(r):e||=t.run(()=>this.flushQueue(r));e||(this.dirtyEffectCount=0)}}flushQueue(e){let t=!1;for(let r of e)r.dirty&&(this.dirtyEffectCount--,t=!0,r.run());return t}},AR=class{[Qt];constructor(e){this[Qt]=e}destroy(){this[Qt].destroy()}};uw=te(E({},Q7),{cleanupFns:void 0,zone:null,onDestroyFns:null,run(){let e=fu(!1);try{J7(this)}finally{fu(e)}},cleanup(){if(!this.cleanupFns?.length)return;let e=M(null);try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[],M(e)}}}),BR=te(E({},uw),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){if(ic(this),this.onDestroyFns!==null)for(let e of this.onDestroyFns)e();this.cleanup(),this.scheduler.remove(this)}}),ER=te(E({},uw),{consumerMarkedDirty(){this.view[F]|=8192,wa(this.view),this.notifier.notify(13)},destroy(){if(ic(this),this.onDestroyFns!==null)for(let e of this.onDestroyFns)e();this.cleanup(),this.view[no]?.delete(this)}});OR=(()=>{class e{internalPendingTasks=S(Ds);scheduler=S(Sa);errorHandler=S(zs);add(){let r=this.internalPendingTasks.add();return()=>{this.internalPendingTasks.has(r)&&(this.scheduler.notify(11),this.internalPendingTasks.remove(r))}}run(r){let i=this.add();try{r().catch(this.errorHandler).finally(i)}catch(o){this.errorHandler(o),i()}}static \u0275prov=xe({token:e,providedIn:"root",factory:()=>new e})}return e})(),Wf=Symbol("InputSignalNode#UNSET"),PR=te(E({},F1),{transformFn:void 0,applyValueToInputSignal(e,t){oc(e,t)}});ce=(function(e){return e[e.TemplateCreateStart=0]="TemplateCreateStart",e[e.TemplateCreateEnd=1]="TemplateCreateEnd",e[e.TemplateUpdateStart=2]="TemplateUpdateStart",e[e.TemplateUpdateEnd=3]="TemplateUpdateEnd",e[e.LifecycleHookStart=4]="LifecycleHookStart",e[e.LifecycleHookEnd=5]="LifecycleHookEnd",e[e.OutputStart=6]="OutputStart",e[e.OutputEnd=7]="OutputEnd",e[e.BootstrapApplicationStart=8]="BootstrapApplicationStart",e[e.BootstrapApplicationEnd=9]="BootstrapApplicationEnd",e[e.BootstrapComponentStart=10]="BootstrapComponentStart",e[e.BootstrapComponentEnd=11]="BootstrapComponentEnd",e[e.ChangeDetectionStart=12]="ChangeDetectionStart",e[e.ChangeDetectionEnd=13]="ChangeDetectionEnd",e[e.ChangeDetectionSyncStart=14]="ChangeDetectionSyncStart",e[e.ChangeDetectionSyncEnd=15]="ChangeDetectionSyncEnd",e[e.AfterRenderHooksStart=16]="AfterRenderHooksStart",e[e.AfterRenderHooksEnd=17]="AfterRenderHooksEnd",e[e.ComponentStart=18]="ComponentStart",e[e.ComponentEnd=19]="ComponentEnd",e[e.DeferBlockStateStart=20]="DeferBlockStateStart",e[e.DeferBlockStateEnd=21]="DeferBlockStateEnd",e[e.DynamicComponentStart=22]="DynamicComponentStart",e[e.DynamicComponentEnd=23]="DynamicComponentEnd",e[e.HostBindingsUpdateStart=24]="HostBindingsUpdateStart",e[e.HostBindingsUpdateEnd=25]="HostBindingsUpdateEnd",e})(ce||{}),NR=class{previousValue;currentValue;firstChange;constructor(e,t,r){this.previousValue=e,this.currentValue=t,this.firstChange=r}isFirstChange(){return this.firstChange}};dw=null,Zf=(()=>{dw=Xm;let e=()=>Xm;return e.ngInherit=!0,e})();Vh="__ngSimpleChanges__";Ym=[],ve=function(e,t=null,r){for(let i=0;i<Ym.length;i++){let o=Ym[i];o(e,t,r)}};qn=-1,Rs=class{factory;name;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(e,t,r,i){this.factory=e,this.name=i,this.canSeeViewProviders=t,this.injectImpl=r}};Gh=!0;fw=255,vw=5,YR=0,Xr={};xw=class{_tNode;_lView;constructor(e,t){this._tNode=e,this._lView=t}get(e,t,r){return ww(this._tNode,this._lView,e,ds(r),t)}};er=(()=>{class e{nativeElement;constructor(r){this.nativeElement=r}static __NG_ELEMENT_ID__=o6}return e})();Iw=(function(e){return e[e.OnPush=0]="OnPush",e[e.Eager=1]="Eager",e[e.Default=1]="Default",e})(Iw||{}),Aw=new Map,n6=0;r5="__ngContext__";c6="r",_6="di",zw=!1,d6=new q("",{factory:()=>zw}),i5=new WeakMap;p6=()=>null;xi=(function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e[e.ExperimentalIsolatedShadowDom=4]="ExperimentalIsolatedShadowDom",e})(xi||{}),Nw=class{changingThisBreaksApplicationSecurity;constructor(e){this.changingThisBreaksApplicationSecurity=e}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${ly})`}};g6=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;Uw="ng-template";yr={},Uo=(function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e})(Uo||{});M6=new Set;typeof document<"u"&&document?.documentElement?.getAnimations;Jh=new WeakMap;zn=new WeakSet;Jf=(function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e})(Jf||{}),ka=new q(""),a5=new Set;qw=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=xe({token:e,providedIn:"root",factory:()=>new e})}return e})(),$6=[0,1,2,3],H6=(()=>{class e{ngZone=S(li);scheduler=S(Sa);errorHandler=S(xa,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){S(ka,{optional:!0})}execute(){let r=this.sequences.size>0;r&&ve(ce.AfterRenderHooksStart),this.executing=!0;for(let i of $6)for(let o of this.sequences)if(!(o.erroredOrDestroyed||!o.hooks[i]))try{o.pipelinedValue=this.ngZone.runOutsideAngular(()=>this.maybeTrace(()=>{let n=o.hooks[i];return n(o.pipelinedValue)},o.snapshot))}catch(n){o.erroredOrDestroyed=!0,this.errorHandler?.handleError(n)}this.executing=!1;for(let i of this.sequences)i.afterRun(),i.once&&(this.sequences.delete(i),i.destroy());for(let i of this.deferredRegistrations)this.sequences.add(i);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear(),r&&ve(ce.AfterRenderHooksEnd)}register(r){let{view:i}=r;i!==void 0?((i[jn]??=[]).push(r),wa(i),i[F]|=8192):this.executing?this.deferredRegistrations.add(r):this.addSequence(r)}addSequence(r){this.sequences.add(r),this.scheduler.notify(7)}unregister(r){this.executing&&this.sequences.has(r)?(r.erroredOrDestroyed=!0,r.pipelinedValue=void 0,r.once=!0):(this.sequences.delete(r),this.deferredRegistrations.delete(r))}maybeTrace(r,i){return i?i.run(Jf.AFTER_NEXT_RENDER,r):r()}static \u0275prov=xe({token:e,providedIn:"root",factory:()=>new e})}return e})(),U6=class{impl;hooks;view;once;snapshot;erroredOrDestroyed=!1;pipelinedValue=void 0;unregisterOnDestroy;constructor(e,t,r,i,o,n=null){this.impl=e,this.hooks=t,this.view=r,this.once=i,this.snapshot=n,this.unregisterOnDestroy=o?.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,this.snapshot?.dispose(),this.snapshot=null}destroy(){this.impl.unregister(this),this.unregisterOnDestroy?.();let e=this.view?.[jn];e&&(this.view[jn]=e.filter(t=>t!==this))}};ep=null,Gw=null;t8=e8;Ps=(function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e})(Ps||{});lC=[];B8=te(E({},ma),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{wa(e.lView)},consumerOnSignalRead(){this.lView[vr]=this}});D8=te(E({},ma),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let t=Jo(e.lView);for(;t&&!uC(t[H]);)t=Jo(t);t&&Mf(t)},consumerOnSignalRead(){this.lView[vr]=this}});z8=100;ip=class{_lView;_cdRefInjectingView;_appRef=null;_attachedToViewContainer=!1;exhaustive;get rootNodes(){let e=this._lView,t=e[H];return wu(t,e,t.firstChild,[])}constructor(e,t){this._lView=e,this._cdRefInjectingView=t}get context(){return this._lView[ot]}set context(e){this._lView[ot]=e}get destroyed(){return ya(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let e=this._lView[qt];if(vo(e)){let t=e[$z],r=t?t.indexOf(this):-1;r>-1&&(cv(e,r),yy(t,r))}this._attachedToViewContainer=!1}tv(this._lView[H],this._lView)}onDestroy(e){Lf(this._lView,e)}markForCheck(){uv(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[F]&=-129}reattach(){Lh(this._lView),this._lView[F]|=128}detectChanges(){this._lView[F]|=1024,_C(this._lView)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new L(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let e=pu(this._lView),t=this._lView[la];t!==null&&!e&&ev(t,this._lView),Ww(this._lView[H],this._lView)}attachToAppRef(e){if(this._attachedToViewContainer)throw new L(902,!1);this._appRef=e;let t=pu(this._lView),r=this._lView[la];r!==null&&!t&&gC(r,this._lView),Lh(this._lView)}};W8=()=>null,Z8=()=>null;K8=class{},_v=class{},pc=class{destroyNode=null;static __NG_ELEMENT_ID__=()=>X8()};Y8=(()=>{class e{static \u0275prov=xe({token:e,providedIn:"root",factory:()=>null})}return e})();cd={},Q8=class{injector;parentInjector;constructor(e,t){this.injector=e,this.parentInjector=t}get(e,t,r){let i=this.injector.get(e,cd,r);return i!==cd||t===cd?i:this.parentInjector.get(e,t,r)}};SC=class{lView;tView;tNode;hasPassThrough;constructor(e,t,r){this.lView=e,this.tView=t,this.tNode=r,this.hasPassThrough=!!(r.flags&4096)}get customControl(){return this.tNode.customControlIndex!==-1?this.lView[this.tNode.customControlIndex]:void 0}get nativeElement(){return ni(this.tNode,this.lView)}get descriptor(){return`<${this.tNode.value}>`}listenToCustomControlOutput(e,t){let r=this.tView.data[this.tNode.customControlIndex];c5(this.tNode,this.lView,r,e,Wn(this.tNode,this.lView,t))}listenToCustomControlModel(e){let t=this.tNode.flags&1024?"valueChange":"checkedChange",r=this.tView.data[this.tNode.customControlIndex];c5(this.tNode,this.lView,r,t,Wn(this.tNode,this.lView,e))}listenToDom(e,t){CC(this.tNode,this.tView,this.lView,void 0,this.lView[Ke],e,t,Wn(this.tNode,this.lView,t))}setInputOnDirectives(e,t,r){let i=this.tNode.inputs?.[e],o=this.tNode.hostDirectiveInputs?.[e];if(!i&&!o)return!1;let n=!1;if(i)for(let a of i){if(a===this.tNode.controlDirectiveIndex)continue;let s=this.lView[a],l=this.tView.data[a];(!r||r(d5(s,l,e)))&&(tn(l,s,e,t),n=!0)}if(o)for(let a=0;a<o.length;a+=2){let s=o[a];if(s===this.tNode.controlDirectiveIndex)continue;let l=this.lView[s],u=o[a+1],_=this.tView.data[s];(!r||r(d5(l,_,e)))&&(tn(_,l,u,t),n=!0)}return n}setCustomControlModelInput(e){let t=this.tView.data[this.tNode.customControlIndex],r=this.tNode.flags&1024?"value":"checked";w8(this.tNode,this.tView,this.lView,t,r,e)}customControlHasInput(e){if(this.tNode.customControlIndex===-1)return!1;let t=this.tView.data[this.tNode.customControlIndex];return(t.signalFormsInputPresence??=this._buildCustomControlInputCache(t))[e]===!0}_buildCustomControlInputCache(e){let t={};for(let r in e.inputs)t[r]=!0;if(e.hostDirectives!==null){let r=[...e.hostDirectives];for(;r.length>0;){let i=r.shift();if(typeof i!="function"){for(let n in i.inputs)t[i.inputs[n]]=!0;let o=_5(i.directive);o!==null&&r.push(...o);continue}for(let o of i()){if(typeof o=="function")continue;if(o.inputs)for(let a=0;a<o.inputs.length;a+=2){let s=o.inputs[a+1]||o.inputs[a];t[s]=!0}let n=_5(o.directive);n!==null&&r.push(...n)}}}return t}};op=Symbol("BINDING"),xu=new q("");AC=typeof ShadowRoot<"u",y4=typeof Document<"u";dv=class{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=w4(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=C4(this.componentDef.outputs),this.cachedOutputs}constructor(e,t){this.componentDef=e,this.ngModule=t,this.componentType=e.type,this.selector=O6(e.selectors),this.ngContentSelectors=e.ngContentSelectors??[],this.isBoundToModule=!!t}create(e,t,r,i,o,n,a,s){ve(ce.DynamicComponentStart);let l=M(null);try{let u=this.componentDef,_=x4(u,i||this.ngModule,e),c=S4(_),h=c.tracingService;return h&&h.componentCreate?h.componentCreate(yC(u),()=>this.createComponentRef(c,_,t,r,o,n,a,s)):this.createComponentRef(c,_,t,r,o,n,a,s)}finally{M(l)}}createComponentRef(e,t,r,i,o,n,a,s){let l=this.componentDef,u=A4(i,l,n,o,s),_=e.rendererFactory.createRenderer(null,l),c=i?u8(_,i,l.encapsulation,t):k4(l,_,a??null);T4(c);let h=t.get(xu,null),d=B4(c,()=>t.get(ai,null)??u6());h&&h.addHost(d);let b=n?.some(g5)||o?.some(C=>typeof C!="function"&&C.bindings.some(g5)),w=nv(null,u,null,512|Qw(l),null,null,e,_,t,null,Rw(c,t,!0));h&&AC&&d instanceof ShadowRoot&&Lf(w,()=>{h.removeHost(d)}),w[Xe]=c,Ff(w);let I=null;try{let C=TC(Xe,w,2,"#host",()=>u.directiveRegistry,!0,0);$w(_,c,C),_a(c,w),iC(u,w,C),Pw(u,C,w),IC(u,C),r!==void 0&&z4(C,this.ngContentSelectors,r),I=oi(C.index,w),w[ot]=I[ot],lv(u,w,null)}catch(C){throw I!==null&&Kh(I),Kh(w),C}finally{ve(ce.DynamicComponentEnd),$f()}return new D4(this.componentType,w,!!b)}};D4=class extends K8{_rootLView;_hasInputBindings;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(e,t,r){super(),this._rootLView=t,this._hasInputBindings=r,this._tNode=Of(t[H],Xe),this.location=kw(this._tNode,t),this.instance=oi(this._tNode.index,t)[ot],this.hostView=this.changeDetectorRef=new ip(t,void 0),this.componentType=e}setInput(e,t){this._hasInputBindings;let r=this._tNode;if(this.previousInputValues??=new Map,this.previousInputValues.has(e)&&Object.is(this.previousInputValues.get(e),t))return;let i=this._rootLView;sv(r,i[H],i,e,t),this.previousInputValues.set(e,t),uv(oi(r.index,i),1)}get injector(){return new xw(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(e){this.hostView.onDestroy(e)}};R4=()=>!1;np=class{},BC=class extends np{injector;instance=null;constructor(e){super();let t=new zf([...e.providers,{provide:np,useValue:this}],e.parent||nc(),e.debugName,new Set(["environment"]));this.injector=t,e.runEnvironmentInitializers&&t.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(e){this.injector.onDestroy(e)}};M4=(()=>{class e{_injector;cachedInjectors=new Map;constructor(r){this._injector=r}getOrCreateStandaloneInjector(r){if(!r.standalone)return null;if(!this.cachedInjectors.has(r)){let i=xy(!1,r.type),o=i.length>0?N4([i],this._injector,""):null;this.cachedInjectors.set(r,o)}return this.cachedInjectors.get(r)}ngOnDestroy(){try{for(let r of this.cachedInjectors.values())r!==null&&r.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=xe({token:e,providedIn:"environment",factory:()=>new e(ae(Yo))})}return e})();RC=new q("");OC=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((r,i)=>{this.resolve=r,this.reject=i});appInits=S(RC,{optional:!0})??[];injector=S(ht);constructor(){}runInitializers(){if(this.initialized)return;let r=[];for(let o of this.appInits){let n=Fr(this.injector,o);if(hv(n))r.push(n);else if(P4(n)){let a=new Promise((s,l)=>{n.subscribe({complete:s,error:l})});r.push(a)}}let i=()=>{this.done=!0,this.resolve()};Promise.all(r).then(()=>{i()}).catch(o=>{this.reject(o)}),r.length===0&&i(),this.initialized=!0}static \u0275fac=function(r){return new(r||e)};static \u0275prov=Os({token:e,factory:e.\u0275fac})}return e})();eO=tO;rO=new q(""),iO=new q("");nO=10,ku=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=S(zs);afterRenderManager=S(qw);zonelessEnabled=S(Gf);rootEffectScheduler=S(lw);dirtyFlags=0;tracingSnapshot=null;allTestViews=new Set;autoDetectTestViews=new Set;includeAllTestViews=!1;afterTick=new sn;get allViews(){return[...(this.includeAllTestViews?this.allTestViews:this.autoDetectTestViews).keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];internalPendingTask=S(Ds);get isStable(){return this.internalPendingTask.hasPendingTasksObservable.pipe(to(r=>!r))}constructor(){S(ka,{optional:!0})}whenStable(){let r;return new Promise(i=>{r=this.isStable.subscribe({next:o=>{o&&i()}})}).finally(()=>{r.unsubscribe()})}_injector=S(Yo);_rendererFactory=null;get injector(){return this._injector}bootstrap(r,i){return this.bootstrapImpl(r,i)}bootstrapImpl(r,i,o=ht.NULL){return this._injector.get(li).run(()=>{if(ve(ce.BootstrapComponentStart),!this._injector.get(OC).done)throw new L(405,"");let n=Bs(r),a=this._injector.get(np),s=new dv(n,a);this.componentTypes.push(r);let{hostElement:l,directives:u,bindings:_}=aO(i),c=l||s.selector,h=s.create(o,[],c,a.injector,u,_),d=h.location.nativeElement,b=h.injector.get(rO,null);return b?.registerApplication(d),h.onDestroy(()=>{this.detachView(h.hostView),Zl(this.components,h),b?.unregisterApplication(d)}),this._loadComponent(h),ve(ce.BootstrapComponentEnd,h),h})}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){ve(ce.ChangeDetectionStart),this.tracingSnapshot!==null?this.tracingSnapshot.run(Jf.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw ve(ce.ChangeDetectionEnd),new L(101,!1);let r=M(null);try{this._runningTick=!0,this.synchronize()}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,M(r),this.afterTick.next(),ve(ce.ChangeDetectionEnd)}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(_v,null,{optional:!0}));let r=0;for(;this.dirtyFlags!==0&&r++<nO;){ve(ce.ChangeDetectionSyncStart);try{this.synchronizeOnce()}finally{ve(ce.ChangeDetectionSyncEnd)}}}synchronizeOnce(){this.dirtyFlags&16&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush());let r=!1;if(this.dirtyFlags&7){let i=!!(this.dirtyFlags&1);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:o}of this.allViews)!i&&!ps(o)||(_C(o,i&&!this.zonelessEnabled?0:1),r=!0);if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),this.dirtyFlags&23)return}r||(this._rendererFactory?.begin?.(),this._rendererFactory?.end?.()),this.dirtyFlags&8&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){if(this.allViews.some(({_lView:r})=>ps(r))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(r){let i=r;this._views.push(i),i.attachToAppRef(this)}detachView(r){let i=r;Zl(this._views,i),i.detachFromAppRef()}_loadComponent(r){this.attachView(r.hostView);try{this.tick()}catch(i){this.internalErrorHandler(i)}this.components.push(r),this._injector.get(iO,[]).forEach(i=>i(r))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(r=>r()),this._views.slice().forEach(r=>r.destroy())}finally{this._destroyed=!0,this._views=[],this._destroyListeners=[]}}onDestroy(r){return this._destroyListeners.push(r),()=>Zl(this._destroyListeners,r)}destroy(){if(this._destroyed)throw new L(406,!1);let r=this._injector;r.destroy&&!r.destroyed&&r.destroy()}get viewCount(){return this._views.length}static \u0275fac=function(r){return new(r||e)};static \u0275prov=Os({token:e,factory:e.\u0275fac})}return e})();sO=class{destroy(e){}updateValue(e,t){}swap(e,t){let r=Math.min(e,t),i=Math.max(e,t),o=this.detach(i);if(i-r>1){let n=this.detach(r);this.attach(r,o),this.attach(i,n)}else this.attach(r,o)}move(e,t){this.attach(t,this.detach(e))}};S5=class{kvMap=new Map;_vMap=void 0;has(e){return this.kvMap.has(e)}delete(e){if(!this.has(e))return!1;let t=this.kvMap.get(e);return this._vMap!==void 0&&this._vMap.has(t)?(this.kvMap.set(e,this._vMap.get(t)),this._vMap.delete(t)):this.kvMap.delete(e),!0}get(e){return this.kvMap.get(e)}set(e,t){if(this.kvMap.has(e)){let r=this.kvMap.get(e);this._vMap===void 0&&(this._vMap=new Map);let i=this._vMap;for(;i.has(r);)r=i.get(r);i.set(r,t)}else this.kvMap.set(e,t)}forEach(e){for(let[t,r]of this.kvMap)if(e(r,t),this._vMap!==void 0){let i=this._vMap;for(;i.has(r);)r=i.get(r),e(r,t)}}};cO=class{lContainer;$implicit;$index;constructor(e,t,r){this.lContainer=e,this.$implicit=t,this.$index=r}get $count(){return this.lContainer.length-wt}},_O=class{hasEmptyBlock;trackByFn;liveCollection;constructor(e,t,r){this.hasEmptyBlock=e,this.trackByFn=t,this.liveCollection=r}};dO=class extends sO{lContainer;hostLView;templateTNode;operationsCounter=void 0;needsIndexUpdate=!1;constructor(e,t,r){super(),this.lContainer=e,this.hostLView=t,this.templateTNode=r}get length(){return this.lContainer.length-wt}at(e){return this.getLView(e)[ot].$implicit}attach(e,t){let r=t[sa];this.needsIndexUpdate||=e!==this.length,hc(this.lContainer,t,e,dc(this.templateTNode,r)),hO(this.lContainer,e)}detach(e){return this.needsIndexUpdate||=e!==this.length-1,pO(this.lContainer,e),fO(this.lContainer,e)}create(e,t){let r=mC(this.lContainer,this.templateTNode.tView.ssrId);return _c(this.hostLView,this.templateTNode,new cO(this.lContainer,t,e),{dehydratedView:r})}destroy(e){tv(e[H],e)}updateValue(e,t){this.getLView(e)[ot].$implicit=t}reset(){this.needsIndexUpdate=!1}updateIndexes(){if(this.needsIndexUpdate)for(let e=0;e<this.length;e++)this.getLView(e)[ot].$index=e}getLView(e){return vO(this.lContainer,e)}};HC=(e,t,r,i,o)=>(Uf(!0),Mw(t[Ke],i,Yy()));up="en-US";MO=(e,t,r,i)=>(Uf(!0),b6(t[Ke],i));jC={};XO=(()=>{class e{applicationErrorHandler=S(zs);appRef=S(ku);taskService=S(Ds);ngZone=S(li);zonelessEnabled=S(Gf);tracing=S(ka,{optional:!0});zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new Ti;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(gu):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(S(TR,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{let r=this.taskService.add();if(!this.runningTick&&(this.cleanup(),!this.zonelessEnabled||this.appRef.includeAllTestViews)){this.taskService.remove(r);return}this.switchToMicrotaskScheduler(),this.taskService.remove(r)})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()}))}switchToMicrotaskScheduler(){this.ngZone.runOutsideAngular(()=>{let r=this.taskService.add();this.useMicrotaskScheduler=!0,queueMicrotask(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(r)})})}notify(r){if(!this.zonelessEnabled&&r===5)return;switch(r){case 0:case 2:this.appRef.dirtyFlags|=2;break;case 3:case 4:case 5:case 1:this.appRef.dirtyFlags|=4;break;case 6:this.appRef.dirtyFlags|=2;break;case 12:this.appRef.dirtyFlags|=16;break;case 13:this.appRef.dirtyFlags|=2;break;case 11:break;default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick())return;let i=this.useMicrotaskScheduler?dR:tw;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>i(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>i(()=>this.tick()))}shouldScheduleTick(){return!(this.appRef.destroyed||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(gu+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;if(this.appRef.dirtyFlags===0){this.cleanup();return}!this.zonelessEnabled&&this.appRef.dirtyFlags&7&&(this.appRef.dirtyFlags|=1);let r=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(i){this.applicationErrorHandler(i)}finally{this.taskService.remove(r),this.cleanup()}}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let r=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(r)}}static \u0275fac=function(r){return new(r||e)};static \u0275prov=Os({token:e,factory:e.\u0275fac})}return e})();KC=new q("",{factory:()=>S(KC,{optional:!0,skipSelf:!0})||QO()}),JO=class{destroyed=!1;listeners=null;errorHandler=S(xa,{optional:!0});isEmitting=!1;hasNullListeners=!1;destroyRef=S(si);constructor(){this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(e){if(this.destroyed)throw new L(953,!1);return(this.listeners??=[]).push(e),{unsubscribe:()=>{let t=this.listeners?this.listeners.indexOf(e):-1;t>-1&&(this.isEmitting?(this.hasNullListeners=!0,this.listeners[t]=null):this.listeners.splice(t,1))}}}emit(e){if(this.destroyed){console.warn(uy(953,!1));return}if(this.listeners===null)return;this.isEmitting=!0;let t=M(null);try{for(let r of this.listeners)try{r!==null&&r(e)}catch(i){this.errorHandler?.handleError(i)}}finally{this.hasNullListeners&&(this.hasNullListeners=!1,this.listeners&&eP(this.listeners)),M(t),this.isEmitting=!1}}};(class hp extends Error{_brand;constructor(t){super(t)}static IDLE=new hp("IDLE");static LOADING=new hp("LOADING")});tP=e=>e;k=(D5.required=iP,D5),oP=class{supports(e){return e instanceof Map||wC(e)}create(){return new nP}},nP=class{_records=new Map;_mapHead=null;_appendAfter=null;_previousMapHead=null;_changesHead=null;_changesTail=null;_additionsHead=null;_additionsTail=null;_removalsHead=null;get isDirty(){return this._additionsHead!==null||this._changesHead!==null||this._removalsHead!==null}forEachItem(e){let t;for(t=this._mapHead;t!==null;t=t._next)e(t)}forEachPreviousItem(e){let t;for(t=this._previousMapHead;t!==null;t=t._nextPrevious)e(t)}forEachChangedItem(e){let t;for(t=this._changesHead;t!==null;t=t._nextChanged)e(t)}forEachAddedItem(e){let t;for(t=this._additionsHead;t!==null;t=t._nextAdded)e(t)}forEachRemovedItem(e){let t;for(t=this._removalsHead;t!==null;t=t._nextRemoved)e(t)}diff(e){if(!e)e=new Map;else if(!(e instanceof Map||wC(e)))throw new L(900,!1);return this.check(e)?this:null}check(e){this._reset();let t=this._mapHead;if(this._appendAfter=null,this._forEach(e,(r,i)=>{if(t&&t.key===i)this._maybeAddToChanges(t,r),this._appendAfter=t,t=t._next;else{let o=this._getOrCreateRecordForKey(i,r);t=this._insertBeforeOrAppend(t,o)}}),t){t._prev&&(t._prev._next=null),this._removalsHead=t;for(let r=t;r!==null;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(e,t){if(e){let r=e._prev;return t._next=e,t._prev=r,e._prev=t,r&&(r._next=t),e===this._mapHead&&(this._mapHead=t),this._appendAfter=e,e}return this._appendAfter?(this._appendAfter._next=t,t._prev=this._appendAfter):this._mapHead=t,this._appendAfter=t,null}_getOrCreateRecordForKey(e,t){if(this._records.has(e)){let i=this._records.get(e);this._maybeAddToChanges(i,t);let o=i._prev,n=i._next;return o&&(o._next=n),n&&(n._prev=o),i._next=null,i._prev=null,i}let r=new aP(e);return this._records.set(e,r),r.currentValue=t,this._addToAdditions(r),r}_reset(){if(this.isDirty){let e;for(this._previousMapHead=this._mapHead,e=this._previousMapHead;e!==null;e=e._next)e._nextPrevious=e._next;for(e=this._changesHead;e!==null;e=e._nextChanged)e.previousValue=e.currentValue;for(e=this._additionsHead;e!=null;e=e._nextAdded)e.previousValue=e.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(e,t){Object.is(t,e.currentValue)||(e.previousValue=e.currentValue,e.currentValue=t,this._addToChanges(e))}_addToAdditions(e){this._additionsHead===null?this._additionsHead=this._additionsTail=e:(this._additionsTail._nextAdded=e,this._additionsTail=e)}_addToChanges(e){this._changesHead===null?this._changesHead=this._changesTail=e:(this._changesTail._nextChanged=e,this._changesTail=e)}_forEach(e,t){e instanceof Map?e.forEach(t):Object.keys(e).forEach(r=>t(e[r],r))}},aP=class{key;previousValue=null;currentValue=null;_nextPrevious=null;_next=null;_prev=null;_nextAdded=null;_nextRemoved=null;_nextChanged=null;constructor(e){this.key=e}};YC=(()=>{class e{static \u0275prov=xe({token:e,providedIn:"root",factory:z5});factories;constructor(r){this.factories=r}static create(r,i){if(i){let o=i.factories.slice();r=r.concat(o)}return new e(r)}static extend(r){return{provide:e,useFactory:()=>{let i=S(e,{optional:!0,skipSelf:!0});return e.create(r,i||z5())}}}find(r){let i=this.factories.find(o=>o.supports(r));if(i)return i;throw new L(901,!1)}}return e})(),QC=(()=>{class e{static __NG_ELEMENT_ID__=sP}return e})();pp=new q(""),uP=new q("");Kl=null;JC=null;bP=class{},e2=(()=>{class e{historyGo(r){throw new Error("")}static \u0275fac=function(r){return new(r||e)};static \u0275prov=xe({token:e,factory:()=>S(yP),providedIn:"platform"})}return e})(),yP=(()=>{class e extends e2{_location;_history;_doc=S(ai);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Go().getBaseHref(this._doc)}onPopState(r){let i=Go().getGlobalEventTarget(this._doc,"window");return i.addEventListener("popstate",r,!1),()=>i.removeEventListener("popstate",r)}onHashChange(r){let i=Go().getGlobalEventTarget(this._doc,"window");return i.addEventListener("hashchange",r,!1),()=>i.removeEventListener("hashchange",r)}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(r){this._location.pathname=r}pushState(r,i,o){this._history.pushState(r,i,o)}replaceState(r,i,o){this._history.replaceState(r,i,o)}forward(){this._history.forward()}back(){this._history.back()}historyGo(r=0){this._history.go(r)}getState(){return this._history.state}static \u0275fac=function(r){return new(r||e)};static \u0275prov=xe({token:e,factory:()=>new e,providedIn:"platform"})}return e})();CP=(()=>{class e{differs;constructor(r){this.differs=r}differ;keyValues=[];compareFn=R5;transform(r,i=R5){if(!r||!(r instanceof Map)&&typeof r!="object")return null;this.differ??=this.differs.find(r).create();let o=this.differ.diff(r),n=i!==this.compareFn;return o&&(this.keyValues=[],o.forEachItem(a=>{this.keyValues.push(wP(a.key,a.currentValue))})),(o||n)&&(i&&this.keyValues.sort(i),this.compareFn=i),this.keyValues}static \u0275fac=function(r){return new(r||e)(He(YC,16))};static \u0275pipe=H4({name:"keyvalue",type:e,pure:!1})}return e})();xP="browser",r2=(()=>{class e{_renderer;_elementRef;onChange=r=>{};onTouched=()=>{};constructor(r,i){this._renderer=r,this._elementRef=i}setProperty(r,i){this._renderer.setProperty(this._elementRef.nativeElement,r,i)}registerOnTouched(r){this.onTouched=r}registerOnChange(r){this.onChange=r}setDisabledState(r){this.setProperty("disabled",r)}static \u0275fac=function(r){return new(r||e)(He(pc),He(er))};static \u0275dir=Hr({type:e})}return e})(),SP=(()=>{class e extends r2{static \u0275fac=(()=>{let r;return function(i){return(r||(r=Kf(e)))(i||e)}})();static \u0275dir=Hr({type:e,features:[Pi]})}return e})(),gv=new q(""),kP={provide:gv,useExisting:ln(()=>i2),multi:!0};IP=new q(""),i2=(()=>{class e extends r2{_compositionMode;_composing=!1;constructor(r,i,o){super(r,i),this._compositionMode=o,this._compositionMode??=!TP()}writeValue(r){let i=r??"";this.setProperty("value",i)}_handleInput(r){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(r)}_compositionStart(){this._composing=!0}_compositionEnd(r){this._composing=!1,this._compositionMode&&this.onChange(r)}static \u0275fac=function(r){return new(r||e)(He(pc),He(er),He(IP,8))};static \u0275dir=Hr({type:e,selectors:[["input","formControlName","",3,"type","checkbox",3,"ngNoCva",""],["textarea","formControlName","",3,"ngNoCva",""],["input","formControl","",3,"type","checkbox",3,"ngNoCva",""],["textarea","formControl","",3,"ngNoCva",""],["input","ngModel","",3,"type","checkbox",3,"ngNoCva",""],["textarea","ngModel","",3,"ngNoCva",""],["","ngDefaultControl",""]],hostBindings:function(r,i){r&1&&Pt("input",function(o){return i._handleInput(o.target.value)})("blur",function(){return i.onTouched()})("compositionstart",function(){return i._compositionStart()})("compositionend",function(o){return i._compositionEnd(o.target.value)})},standalone:!1,features:[ar([kP]),Pi]})}return e})();yv=new q(""),o2=new q(""),AP=/^(?=.{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])?)*$/,n2=class{static min(e){return BP(e)}static max(e){return EP(e)}static required(e){return a2(e)}static requiredTrue(e){return DP(e)}static email(e){return zP(e)}static minLength(e){return RP(e)}static maxLength(e){return OP(e)}static pattern(e){return PP(e)}static nullValidator(e){return zu()}static compose(e){return d2(e)}static composeAsync(e){return p2(e)}};m2=class{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(e){this._rawValidators=e||[],this._composedValidatorFn=h2(this._rawValidators)}_setAsyncValidators(e){this._rawAsyncValidators=e||[],this._composedAsyncValidatorFn=f2(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_onDestroyCallbacks=[];_registerOnDestroy(e){this._onDestroyCallbacks.push(e)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(e=>e()),this._onDestroyCallbacks=[]}reset(e=void 0){this.control?.reset(e)}hasError(e,t){return this.control?this.control.hasError(e,t):!1}getError(e,t){return this.control?this.control.getError(e,t):null}},wv=class extends m2{name;get formDirective(){return null}get path(){return null}},Wa="VALID",bl="INVALID",An="PENDING",Za="DISABLED",Ia=class{},M5=class extends Ia{value;source;constructor(e,t){super(),this.value=e,this.source=t}},gd=class extends Ia{pristine;source;constructor(e,t){super(),this.pristine=e,this.source=t}},md=class extends Ia{touched;source;constructor(e,t){super(),this.touched=e,this.source=t}},yl=class extends Ia{status;source;constructor(e,t){super(),this.status=e,this.source=t}},MP=class extends Ia{source;constructor(e){super(),this.source=e}},Ou=class extends Ia{source;constructor(e){super(),this.source=e}};w2=class{_pendingDirty=!1;_hasOwnPendingAsyncValidator=null;_pendingTouched=!1;_onCollectionChange=()=>{};_updateOn;_hasRequired=Kr(!1);_parent=null;_asyncValidationSubscription;_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators;_rawAsyncValidators;value;constructor(e,t){this._assignValidators(e),this._assignAsyncValidators(t)}get validator(){return this._composedValidatorFn}set validator(e){this._rawValidators=this._composedValidatorFn=e,this._updateHasRequiredValidator()}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(e){this._rawAsyncValidators=this._composedAsyncValidatorFn=e}get parent(){return this._parent}get status(){return Vt(this.statusReactive)}set status(e){Vt(()=>this.statusReactive.set(e))}_status=ir(()=>this.statusReactive());statusReactive=Kr(void 0);get valid(){return this.status===Wa}get invalid(){return this.status===bl}get pending(){return this.status===An}get disabled(){return this.status===Za}get enabled(){return this.status!==Za}errors;get pristine(){return Vt(this.pristineReactive)}set pristine(e){Vt(()=>this.pristineReactive.set(e))}_pristine=ir(()=>this.pristineReactive());pristineReactive=Kr(!0);get dirty(){return!this.pristine}get touched(){return Vt(this.touchedReactive)}set touched(e){Vt(()=>this.touchedReactive.set(e))}_touched=ir(()=>this.touchedReactive());touchedReactive=Kr(!1);get untouched(){return!this.touched}_events=new sn;events=this._events.asObservable();valueChanges;statusChanges;get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(e){this._assignValidators(e)}setAsyncValidators(e){this._assignAsyncValidators(e)}addValidators(e){this.setValidators(P5(e,this._rawValidators))}addAsyncValidators(e){this.setAsyncValidators(P5(e,this._rawAsyncValidators))}removeValidators(e){this.setValidators(N5(e,this._rawValidators))}removeAsyncValidators(e){this.setAsyncValidators(N5(e,this._rawAsyncValidators))}hasValidator(e){return Ru(this._rawValidators,e)}hasAsyncValidator(e){return Ru(this._rawAsyncValidators,e)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(e={}){let t=this.touched===!1;this.touched=!0;let r=e.sourceControl??this;e.onlySelf||this._parent?.markAsTouched(te(E({},e),{sourceControl:r})),t&&e.emitEvent!==!1&&this._events.next(new md(!0,r))}markAllAsDirty(e={}){this.markAsDirty({onlySelf:!0,emitEvent:e.emitEvent,sourceControl:this}),this._forEachChild(t=>t.markAllAsDirty(e))}markAllAsTouched(e={}){this.markAsTouched({onlySelf:!0,emitEvent:e.emitEvent,sourceControl:this}),this._forEachChild(t=>t.markAllAsTouched(e))}markAsUntouched(e={}){let t=this.touched===!0;this.touched=!1,this._pendingTouched=!1;let r=e.sourceControl??this;this._forEachChild(i=>{i.markAsUntouched({onlySelf:!0,emitEvent:e.emitEvent,sourceControl:r})}),e.onlySelf||this._parent?._updateTouched(e,r),t&&e.emitEvent!==!1&&this._events.next(new md(!1,r))}markAsDirty(e={}){let t=this.pristine===!0;this.pristine=!1;let r=e.sourceControl??this;e.onlySelf||this._parent?.markAsDirty(te(E({},e),{sourceControl:r})),t&&e.emitEvent!==!1&&this._events.next(new gd(!1,r))}markAsPristine(e={}){let t=this.pristine===!1;this.pristine=!0,this._pendingDirty=!1;let r=e.sourceControl??this;this._forEachChild(i=>{i.markAsPristine({onlySelf:!0,emitEvent:e.emitEvent})}),e.onlySelf||this._parent?._updatePristine(e,r),t&&e.emitEvent!==!1&&this._events.next(new gd(!0,r))}markAsPending(e={}){this.status=An;let t=e.sourceControl??this;e.emitEvent!==!1&&(this._events.next(new yl(this.status,t)),this.statusChanges.emit(this.status)),e.onlySelf||this._parent?.markAsPending(te(E({},e),{sourceControl:t}))}disable(e={}){let t=this._parentMarkedDirty(e.onlySelf);this.status=Za,this.errors=null,this._forEachChild(i=>{i.disable(te(E({},e),{onlySelf:!0}))}),this._updateValue();let r=e.sourceControl??this;e.emitEvent!==!1&&(this._events.next(new M5(this.value,r)),this._events.next(new yl(this.status,r)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(te(E({},e),{skipPristineCheck:t}),this),this._onDisabledChange.forEach(i=>i(!0))}enable(e={}){let t=this._parentMarkedDirty(e.onlySelf);this.status=Wa,this._forEachChild(r=>{r.enable(te(E({},e),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent}),this._updateAncestors(te(E({},e),{skipPristineCheck:t}),this),this._onDisabledChange.forEach(r=>r(!1))}_updateAncestors(e,t){e.onlySelf||(this._parent?.updateValueAndValidity(e),e.skipPristineCheck||this._parent?._updatePristine({},t),this._parent?._updateTouched({},t))}setParent(e){this._parent=e}getRawValue(){return this.value}updateValueAndValidity(e={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){let r=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Wa||this.status===An)&&this._runAsyncValidator(r,e.emitEvent)}let t=e.sourceControl??this;e.emitEvent!==!1&&(this._events.next(new M5(this.value,t)),this._events.next(new yl(this.status,t)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),e.onlySelf||this._parent?.updateValueAndValidity(te(E({},e),{sourceControl:t}))}_updateTreeValidity(e={emitEvent:!0}){this._forEachChild(t=>t._updateTreeValidity(e)),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Za:Wa}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(e,t){if(this.asyncValidator){this.status=An,this._hasOwnPendingAsyncValidator={emitEvent:t!==!1,shouldHaveEmitted:e!==!1};let r=l2(this.asyncValidator(this));this._asyncValidationSubscription=r.subscribe(i=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(i,{emitEvent:t,shouldHaveEmitted:e})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();let e=(this._hasOwnPendingAsyncValidator?.emitEvent||this._hasOwnPendingAsyncValidator?.shouldHaveEmitted)??!1;return this._hasOwnPendingAsyncValidator=null,e}return!1}setErrors(e,t={}){this.errors=e,this._updateControlsErrors(t.emitEvent!==!1,this,t.shouldHaveEmitted)}get(e){let t=e;return t==null||(Array.isArray(t)||(t=t.split(".")),t.length===0)?null:t.reduce((r,i)=>r&&r._find(i),this)}getError(e,t){let r=t?this.get(t):this;return r?.errors?r.errors[e]:null}hasError(e,t){return!!this.getError(e,t)}get root(){let e=this;for(;e._parent;)e=e._parent;return e}_updateControlsErrors(e,t,r){this.status=this._calculateStatus(),e&&this.statusChanges.emit(this.status),(e||r)&&this._events.next(new yl(this.status,t)),this._parent&&this._parent._updateControlsErrors(e,t,r)}_initObservables(){this.valueChanges=new pr,this.statusChanges=new pr}_calculateStatus(){return this._allControlsDisabled()?Za:this.errors?bl:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(An)?An:this._anyControlsHaveStatus(bl)?bl:Wa}_anyControlsHaveStatus(e){return this._anyControls(t=>t.status===e)}_anyControlsDirty(){return this._anyControls(e=>e.dirty)}_anyControlsTouched(){return this._anyControls(e=>e.touched)}_updatePristine(e,t){let r=!this._anyControlsDirty(),i=this.pristine!==r;this.pristine=r,e.onlySelf||this._parent?._updatePristine(e,t),i&&this._events.next(new gd(this.pristine,t))}_updateTouched(e={},t){this.touched=this._anyControlsTouched(),this._events.next(new md(this.touched,t)),e.onlySelf||this._parent?._updateTouched(e,t)}_onDisabledChange=[];_registerOnCollectionChange(e){this._onCollectionChange=e}_setUpdateStrategy(e){vc(e)&&e.updateOn!=null&&(this._updateOn=e.updateOn)}_parentMarkedDirty(e){return!e&&!!this._parent?.dirty&&!this._parent._anyControlsDirty()}_find(e){return null}_assignValidators(e){this._rawValidators=Array.isArray(e)?e.slice():e,this._composedValidatorFn=LP(this._rawValidators),this._updateHasRequiredValidator()}_assignAsyncValidators(e){this._rawAsyncValidators=Array.isArray(e)?e.slice():e,this._composedAsyncValidatorFn=FP(this._rawAsyncValidators)}_updateHasRequiredValidator(){Vt(()=>this._hasRequired.set(this.hasValidator(n2.required)))}};jP=class{kind;context;control;message;constructor({kind:e,context:t,control:r}){this.kind=e,this.context=t,this.control=r}},qP=(()=>{class e{_validator=zu;_onChange;_enabled;ngOnChanges(r){if(this.inputName in r){let i=this.normalizeInput(r[this.inputName].currentValue);this._enabled=this.enabled(i),this._validator=this._enabled?this.createValidator(i):zu,this._onChange?.()}}validate(r){return this._validator(r)}registerOnValidatorChange(r){this._onChange=r}enabled(r){return r!=null}static \u0275fac=function(r){return new(r||e)};static \u0275dir=Hr({type:e,features:[Zf]})}return e})(),GP={provide:yv,useExisting:ln(()=>x2),multi:!0},x2=(()=>{class e extends qP{required;inputName="required";normalizeInput=Re;createValidator=r=>a2;enabled(r){return r}static \u0275fac=(()=>{let r;return function(i){return(r||(r=Kf(e)))(i||e)}})();static \u0275dir=Hr({type:e,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(r,i){r&2&&MC("required",i._enabled?"":null)},inputs:{required:"required"},standalone:!1,features:[ar([GP]),Pi]})}return e})(),WP=new q(""),Cv=new q("",{factory:()=>xv}),xv="always";aN={provide:WP,useFactory:()=>{let e=S(gc,{self:!0});return{setParseErrors:t=>{e.setParseErrorSource(t)},set onReset(t){e.onReset=t}}}},gc=class extends m2{_parent=null;name=null;valueAccessor=null;isCustomControlBased=!1;userOnReset;resetSubscription;set onReset(e){this.userOnReset=e,this.resetSubscription?.unsubscribe(),this.resetSubscription=void 0,this.control&&(this.resetSubscription=this.control.events.subscribe(t=>{t instanceof Ou&&this.control&&this.userOnReset?.(this.control.value)}),this.subscription?.add(this.resetSubscription))}isNativeFormElement=!1;rawValueAccessors;_selectedValueAccessor=null;get selectedValueAccessor(){return this._selectedValueAccessor??=oN(this,this.rawValueAccessors)}parseErrorsValidator=null;renderer;injector;requiredValidatorViaDi;subscription;customControlBindings=null;constructor(e,t,r){super(),this.injector=e,this.renderer=t,this.rawValueAccessors=r,this.injector?.get(si)?.onDestroy(()=>{this.removeParseErrorsValidator(this.control),this.subscription?.unsubscribe()})}setupCustomControl(){this.subscription?.unsubscribe();let e=this.injector?.get(QC);if(!this.control||!e)return;let t=e.markForCheck.bind(e);this.subscription=new Ti,this.subscription.add(this.control.valueChanges.subscribe(t)),this.subscription.add(this.control.statusChanges.subscribe(t)),this.resetSubscription?.unsubscribe(),this.resetSubscription=void 0,this.userOnReset&&(this.resetSubscription=this.control.events.subscribe(r=>{r instanceof Ou&&this.control&&this.userOnReset?.(this.control.value)}),this.subscription.add(this.resetSubscription)),this.parseErrorsValidator&&this.control.addValidators(this.parseErrorsValidator)}ngControlCreate(e){!e.nativeElement.hasAttribute?.("ngNoCva")&&(this.rawValueAccessors&&this.rawValueAccessors.length>0||this.valueAccessor!==null)||!e.customControl||(this.isCustomControlBased=!0,e.listenToCustomControlModel(t=>{this.control?.markAsDirty(),this.control?.setValue(t,{emitModelToViewChange:!1}),this.viewToModelUpdate(t)}),e.listenToCustomControlOutput("touch",()=>{this.control?.markAsTouched()}),this.customControlBindings={},this.isNativeFormElement=UP(e.nativeElement),this.requiredValidatorViaDi=this._rawValidators.find(t=>t instanceof x2))}ngControlUpdate(e,t){if(!this.isCustomControlBased)return;let r=this.control,i=this.customControlBindings;Object.is(i.value,r.value)||(i.value=r.value,e.setCustomControlModelInput(r.value)),this.bindControlProperty(e,i,"touched",r.touched),this.bindControlProperty(e,i,"dirty",r.dirty),this.bindControlProperty(e,i,"valid",r.valid),this.bindControlProperty(e,i,"invalid",r.invalid),this.bindControlProperty(e,i,"pending",r.pending),this.bindControlProperty(e,i,"disabled",r.disabled),this.shouldBindRequired&&this.bindControlProperty(e,i,"required",this.isRequired);let o=r.errors;if(i.errors!==o){i.errors=o;let n=this._convertErrors(o);e.setInputOnDirectives("errors",n)}}get isRequired(){return(this.requiredValidatorViaDi?._enabled||this.control?._hasRequired())??!1}get shouldBindRequired(){return!0}bindControlProperty(e,t,r,i){if(t[r]===i)return;t[r]=i;let o=e.setInputOnDirectives(r,i);this.isNativeFormElement&&!o&&(r==="disabled"||r==="required")&&this.renderer&&VP(this.renderer,e.nativeElement,r,i)}_convertErrors(e){if(e===null)return[];let t=this.control;return Object.entries(e).map(([r,i])=>new jP({context:i,kind:r,control:t}))}setParseErrorSource(e){if(e===void 0)return;let t=null,r=ir(()=>{let i=e();return i.length===0?null:i.reduce((o,n)=>(o[n.kind]=n,o),{})});this.parseErrorsValidator=(()=>t).bind(this),br(()=>{t=r(),this.control?.updateValueAndValidity({emitEvent:!1})},{injector:this.injector})}removeParseErrorsValidator(e){this.parseErrorsValidator&&(e?.removeValidators(this.parseErrorsValidator),e?.updateValueAndValidity({emitEvent:!1}))}},k2=class{_cd;constructor(e){this._cd=e}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}},T2=(()=>{class e extends k2{constructor(r){super(r)}static \u0275fac=function(r){return new(r||e)(He(gc,2))};static \u0275dir=Hr({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(r,i){r&2&&fc("ng-untouched",i.isUntouched)("ng-touched",i.isTouched)("ng-pristine",i.isPristine)("ng-dirty",i.isDirty)("ng-valid",i.isValid)("ng-invalid",i.isInvalid)("ng-pending",i.isPending)},standalone:!1,features:[Pi]})}return e})(),I2=(()=>{class e extends k2{constructor(r){super(r)}static \u0275fac=function(r){return new(r||e)(He(wv,10))};static \u0275dir=Hr({type:e,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["","formArray",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(r,i){r&2&&fc("ng-untouched",i.isUntouched)("ng-touched",i.isTouched)("ng-pristine",i.isPristine)("ng-dirty",i.isDirty)("ng-valid",i.isValid)("ng-invalid",i.isInvalid)("ng-pending",i.isPending)("ng-submitted",i.isSubmitted)},standalone:!1,features:[Pi]})}return e})(),A2=class extends w2{constructor(e,t,r){super(b2(t),y2(r,t)),this.controls=e,this._initObservables(),this._setUpdateStrategy(t),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}controls;registerControl(e,t){return this._find(e)||(this.controls[e]=t,t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange),t)}addControl(e,t,r={}){this.registerControl(e,t),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}removeControl(e,t={}){let r=this._find(e);r&&r._registerOnCollectionChange(()=>{}),delete this.controls[e],this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}setControl(e,t,r={}){let i=this._find(e);i&&i._registerOnCollectionChange(()=>{}),delete this.controls[e],t&&this.registerControl(e,t),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}contains(e){return this._find(e)?.enabled===!0}setValue(e,t={}){Vt(()=>{HP(this,!0,e),Object.keys(e).forEach(r=>{$P(this,!0,r),this.controls[r].setValue(e[r],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)})}patchValue(e,t={}){e!=null&&(Object.keys(e).forEach(r=>{let i=this._find(r);i&&i.patchValue(e[r],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t))}reset(e={},t={}){this._forEachChild((r,i)=>{r.reset(e?e[i]:null,te(E({},t),{onlySelf:!0}))}),this._updatePristine(t,this),this._updateTouched(t,this),this.updateValueAndValidity(t),t?.emitEvent!==!1&&this._events.next(new Ou(this))}getRawValue(){return this._reduceChildren({},(e,t,r)=>(e[r]=t.getRawValue(),e))}_syncPendingControls(){let e=this._reduceChildren(!1,(t,r)=>r._syncPendingControls()?!0:t);return e&&this.updateValueAndValidity({onlySelf:!0}),e}_forEachChild(e){Object.keys(this.controls).forEach(t=>{let r=this.controls[t];r&&e(r,t)})}_setUpControls(){this._forEachChild(e=>{e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(e){for(let[t,r]of Object.entries(this.controls))if(this.contains(t)&&e(r))return!0;return!1}_reduceValue(){return this._reduceChildren({},(e,t,r)=>((t.enabled||this.disabled)&&(e[r]=t.value),e))}_reduceChildren(e,t){let r=e;return this._forEachChild((i,o)=>{r=t(r,i,o)}),r}_allControlsDisabled(){for(let e of Object.keys(this.controls))if(this.controls[e].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(e){return C2(this.controls,e)?this.controls[e]:null}};Wo=class extends w2{defaultValue=null;_onChange=[];_pendingValue;_pendingChange=!1;constructor(e=null,t,r){super(b2(t),y2(r,t)),this._applyFormState(e),this._setUpdateStrategy(t),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),vc(t)&&(t.nonNullable||t.initialValueIsDefault)&&(F5(e)?this.defaultValue=e.value:this.defaultValue=e)}setValue(e,t={}){Vt(()=>{this.value=this._pendingValue=e,this._onChange.length&&t.emitModelToViewChange!==!1&&this._onChange.forEach(r=>r(this.value,t.emitViewToModelChange!==!1)),this.updateValueAndValidity(t)})}patchValue(e,t={}){this.setValue(e,t)}reset(e=this.defaultValue,t={}){this._applyFormState(e),this.markAsPristine(t),this.markAsUntouched(t),this.setValue(this.value,t),t.overwriteDefaultValue&&(this.defaultValue=this.value),this._pendingChange=!1,t?.emitEvent!==!1&&this._events.next(new Ou(this))}_updateValue(){}_anyControls(e){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(e){this._onChange.push(e)}_unregisterOnChange(e){L5(this._onChange,e)}registerOnDisabledChange(e){this._onDisabledChange.push(e)}_unregisterOnDisabledChange(e){L5(this._onDisabledChange,e)}_forEachChild(e){}_syncPendingControls(){return this.updateOn==="submit"&&(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),this._pendingChange)?(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),!0):!1}_applyFormState(e){F5(e)?(this.value=this._pendingValue=e.value,e.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=e}},sN=e=>e instanceof Wo,lN=(()=>{class e extends wv{callSetDisabledState;get submitted(){return Vt(this._submittedReactive)}set submitted(r){this._submittedReactive.set(r)}_submitted=ir(()=>this._submittedReactive());_submittedReactive=Kr(!1);_oldForm;_onCollectionChange=()=>this._updateDomValue();directives=[];constructor(r,i,o){super(),this.callSetDisabledState=o,this._setValidators(r),this._setAsyncValidators(i)}ngOnChanges(r){this.onChanges(r)}ngOnDestroy(){this.onDestroy()}onChanges(r){this._checkFormPresent(),Object.hasOwn(r,"form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}onDestroy(){this.form&&(Mu(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get path(){return[]}addControl(r){let i=this.form.get(r.path);return r._setupWithForm(i,this.callSetDisabledState),i.updateValueAndValidity({emitEvent:!1}),this.directives.push(r),i}getControl(r){return this.form.get(r.path)}removeControl(r){Pu(r.control||null,r,!1),nN(this.directives,r)}addFormGroup(r){this._setUpFormContainer(r)}removeFormGroup(r){this._cleanUpFormContainer(r)}getFormGroup(r){return this.form.get(r.path)}getFormArray(r){return this.form.get(r.path)}addFormArray(r){this._setUpFormContainer(r)}removeFormArray(r){this._cleanUpFormContainer(r)}updateModel(r,i){this.form.get(r.path).setValue(i)}onReset(){this.resetForm()}resetForm(r=void 0,i={}){this.form.reset(r,i),this._submittedReactive.set(!1)}onSubmit(r){return this.submitted=!0,iN(this.form,this.directives),this.ngSubmit.emit(r),this.form._events.next(new MP(this.control)),r?.target?.method==="dialog"}_updateDomValue(){this.directives.forEach(r=>{let i=r.control,o=this.form.get(r.path);i!==o&&(Pu(i||null,r),sN(o)&&r._setupWithForm(o,this.callSetDisabledState))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(r){let i=this.form.get(r.path);JP(i,r),i.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(r){let i=this.form?.get(r.path);i&&eN(i,r)&&i.updateValueAndValidity({emitEvent:!1})}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm?._registerOnCollectionChange(()=>{})}_updateValidators(){Sv(this.form,this),this._oldForm&&Mu(this._oldForm,this)}_checkFormPresent(){this.form}static \u0275fac=function(r){return new(r||e)(He(yv,10),He(o2,10),He(Cv,8))};static \u0275dir=Hr({type:e,features:[Pi,Zf]})}return e})(),uN={provide:wv,useExisting:ln(()=>kv)},kv=(()=>{class e extends lN{form=null;ngSubmit=new pr;get control(){return this.form}static \u0275fac=(()=>{let r;return function(i){return(r||(r=Kf(e)))(i||e)}})();static \u0275dir=Hr({type:e,selectors:[["","formGroup",""]],hostBindings:function(r,i){r&1&&Pt("submit",function(o){return i.onSubmit(o)})("reset",function(){return i.onReset()})},inputs:{form:[0,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:!1,features:[ar([uN]),Pi]})}return e})(),B2=new q(""),cN={provide:gc,useExisting:ln(()=>Tv)},Tv=(()=>{class e extends gc{_ngModelWarningConfig;callSetDisabledState;viewModel;form;set isDisabled(r){}model;update=new pr;static _ngModelWarningSentOnce=!1;_ngModelWarningSent=!1;constructor(r,i,o,n,a,s,l){super(l,s,o),this._ngModelWarningConfig=n,this.callSetDisabledState=a,this._setValidators(r),this._setAsyncValidators(i)}ngOnChanges(r){if(this._isControlChanged(r)){let i=r.form.previousValue;i&&(Pu(i,this,!1),this.removeParseErrorsValidator(i)),this.isCustomControlBased?this.setupCustomControl():(this.valueAccessor??=this.selectedValueAccessor,ZP(this.form,this,this.callSetDisabledState)),this.form.updateValueAndValidity({emitEvent:!1})}tN(r,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&Pu(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(r){this.viewModel=r,this.update.emit(r)}_isControlChanged(r){return Object.hasOwn(r,"form")}\u0275ngControlCreate(r){super.ngControlCreate(r)}\u0275ngControlUpdate(r){super.ngControlUpdate(r,!0)}static \u0275fac=function(r){return new(r||e)(He(yv,10),He(o2,10),He(gv,10),He(B2,8),He(Cv,8),He(pc,8),He(ht,8))};static \u0275dir=Hr({type:e,selectors:[["","formControl",""]],inputs:{form:[0,"formControl","form"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],standalone:!1,features:[ar([cN,aN]),Pi,Zf,j4(null)]})}return e})(),_N=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=EC({type:e});static \u0275inj=dy({})}return e})(),E2=(()=>{class e{static withConfig(r){return{ngModule:e,providers:[{provide:B2,useValue:r.warnOnNgModelWithFormControl??"always"},{provide:Cv,useValue:r.callSetDisabledState??xv}]}}static \u0275fac=function(r){return new(r||e)};static \u0275mod=EC({type:e});static \u0275inj=dy({imports:[_N]})}return e})(),D2=class{_doc;constructor(e){this._doc=e}manager},vp=(()=>{class e extends D2{constructor(r){super(r)}supports(r){return!0}addEventListener(r,i,o,n){return r.addEventListener(i,o,n),()=>this.removeEventListener(r,i,o,n)}removeEventListener(r,i,o,n){return r.removeEventListener(i,o,n)}static \u0275fac=function(r){return new(r||e)(ae(ai))};static \u0275prov=xe({token:e,factory:e.\u0275fac})}return e})(),gp=new q(""),z2=(()=>{class e{_zone;_plugins;_eventNameToPlugin=new Map;constructor(r,i){this._zone=i,r.forEach(a=>{a.manager=this});let o=r.filter(a=>!(a instanceof vp));this._plugins=o.slice().reverse();let n=r.find(a=>a instanceof vp);n&&this._plugins.push(n)}addEventListener(r,i,o,n){return this._findPluginFor(i).addEventListener(r,i,o,n)}getZone(){return this._zone}_findPluginFor(r){let i=this._eventNameToPlugin.get(r);if(i)return i;if(i=this._plugins.find(o=>o.supports(r)),!i)throw new L(-5101,!1);return this._eventNameToPlugin.set(r,i),i}static \u0275fac=function(r){return new(r||e)(ae(gp),ae(li))};static \u0275prov=xe({token:e,factory:e.\u0275fac})}return e})(),bd="ng-app-id";U5=(()=>{class e{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;constructor(r,i,o,n={}){this.doc=r,this.appId=i,this.nonce=o,dN(r,i,this.inline,this.external)&&this.hosts.add(r.head)}addStyles(r,i){for(let o of r)this.addUsage(o,this.inline,H5);i?.forEach(o=>this.addUsage(o,this.external,mp))}removeStyles(r,i){for(let o of r)this.removeUsage(o,this.inline);i?.forEach(o=>this.removeUsage(o,this.external))}addUsage(r,i,o){let n=i.get(r);n?n.usage++:i.set(r,{usage:1,elements:[...this.hosts].map(a=>this.addElement(a,o(r,this.doc)))})}removeUsage(r,i){let o=i.get(r);o&&(o.usage--,o.usage<=0&&($5(o.elements),i.delete(r)))}ngOnDestroy(){for(let[,{elements:r}]of[...this.inline,...this.external])$5(r);this.hosts.clear()}addHost(r){if(!this.hosts.has(r)){this.hosts.add(r);for(let[i,{elements:o}]of this.inline)o.push(this.addElement(r,H5(i,this.doc)));for(let[i,{elements:o}]of this.external)o.push(this.addElement(r,mp(i,this.doc)))}}removeHost(r){this.hosts.delete(r);for(let i of[...this.inline.values(),...this.external.values()]){let o=[];for(let n of i.elements)n.parentNode===r?n.remove():o.push(n);i.elements=o}}addElement(r,i){return this.nonce&&i.setAttribute("nonce",this.nonce),r.appendChild(i)}static \u0275fac=function(r){return new(r||e)(ae(ai),ae(ow),ae(sw,8),ae(aw))};static \u0275prov=xe({token:e,factory:e.\u0275fac})}return e})(),yd={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"},Iv=/%COMP%/g,R2="%COMP%",hN=`_nghost-${R2}`,pN=`_ngcontent-${R2}`,fN=!0,vN=new q("",{factory:()=>fN}),gN=new q("");V5=(()=>{class e{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;cssVarNamespace;constructor(r,i,o,n,a,s,l=null,u=null,_=null){this.eventManager=r,this.sharedStylesHost=i,this.appId=o,this.removeStylesOnCompDestroy=n,this.doc=a,this.ngZone=s,this.nonce=l,this.tracingService=u,this.cssVarNamespace=_??"",this.defaultRenderer=new Av(r,a,s,this.tracingService,this.cssVarNamespace)}createRenderer(r,i){if(!r||!i)return this.defaultRenderer;let o=this.getOrCreateRenderer(r,i);return o instanceof G5?o.applyToHost(r):o instanceof bp&&o.applyStyles(),o}getOrCreateRenderer(r,i){let o=this.rendererByCompId,n=o.get(i.id);if(!n){let a=this.doc,s=this.ngZone,l=this.eventManager,u=this.sharedStylesHost,_=this.removeStylesOnCompDestroy,c=this.tracingService;switch(i.encapsulation){case xi.Emulated:n=new G5(l,u,i,this.appId,_,a,s,c,this.cssVarNamespace);break;case xi.ShadowDom:return new q5(l,r,i,a,s,this.nonce,c,this.cssVarNamespace,u);case xi.ExperimentalIsolatedShadowDom:return new q5(l,r,i,a,s,this.nonce,c,this.cssVarNamespace);default:n=new bp(l,u,i,_,a,s,c,this.cssVarNamespace)}o.set(i.id,n)}return n}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(r){this.rendererByCompId.delete(r)}static \u0275fac=function(r){return new(r||e)(ae(z2),ae(xu),ae(ow),ae(vN),ae(ai),ae(li),ae(sw),ae(ka,8),ae(gN,8))};static \u0275prov=xe({token:e,factory:e.\u0275fac})}return e})(),Av=class{eventManager;doc;ngZone;tracingService;cssVarNamespace;data=Object.create(null);throwOnSyntheticProps=!0;constructor(e,t,r,i,o=""){this.eventManager=e,this.doc=t,this.ngZone=r,this.tracingService=i,this.cssVarNamespace=o}destroy(){}destroyNode=null;createElement(e,t){return t?this.doc.createElementNS(yd[t]||t,e):this.doc.createElement(e)}createComment(e){return this.doc.createComment(e)}createText(e){return this.doc.createTextNode(e)}appendChild(e,t){(j5(e)?e.content:e).appendChild(t)}insertBefore(e,t,r){if(e){let i=j5(e)?e.content:e;if(r!=null&&r.parentNode!==i)throw new L(-5106,!1);i.insertBefore(t,r)}}removeChild(e,t){t.remove()}selectRootElement(e,t){let r=typeof e=="string"?this.doc.querySelector(e):e;if(!r)throw new L(-5104,!1);return t||(r.textContent=""),r}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,t,r,i){if(i){t=i+":"+t;let o=yd[i];o?e.setAttributeNS(o,t,r):e.setAttribute(t,r)}else e.setAttribute(t,r)}removeAttribute(e,t,r){if(r){let i=yd[r];i?e.removeAttributeNS(i,t):e.removeAttribute(`${r}:${t}`)}else e.removeAttribute(t)}addClass(e,t){e.classList.add(t)}removeClass(e,t){e.classList.remove(t)}setStyle(e,t,r,i){let o=t.startsWith("--");o&&(t=t.replace("%NS%",this.cssVarNamespace)),o||i&(Uo.DashCase|Uo.Important)?e.style.setProperty(t,r,i&Uo.Important?"important":""):e.style[t]=r}removeStyle(e,t,r){let i=t.startsWith("--");i&&(t=t.replace("%NS%",this.cssVarNamespace)),i||r&Uo.DashCase?e.style.removeProperty(t):e.style[t]=""}setProperty(e,t,r){e!=null&&(e[t]=r)}setValue(e,t){e.nodeValue=t}listen(e,t,r,i){if(typeof e=="string"&&(e=Go().getGlobalEventTarget(this.doc,e),!e))throw new L(-5102,!1);let o=this.decoratePreventDefault(r);return this.tracingService?.wrapEventListener&&(o=this.tracingService.wrapEventListener(e,t,o)),this.eventManager.addEventListener(e,t,o,i)}decoratePreventDefault(e){return t=>{if(t==="__ngUnwrap__")return e;e(t)===!1&&t.preventDefault()}}};q5=class extends Av{hostEl;sharedStylesHost;shadowRoot;constructor(e,t,r,i,o,n,a,s,l){super(e,i,o,a,s),this.hostEl=t,this.sharedStylesHost=l,this.shadowRoot=t.attachShadow({mode:"open"}),this.sharedStylesHost&&this.sharedStylesHost.addHost(this.shadowRoot);let u=r.styles;u=O2(r.id,u).map(c=>c.replace(/%NS%/g,s));for(let c of u){let h=document.createElement("style");n&&h.setAttribute("nonce",n),h.textContent=c,this.shadowRoot.appendChild(h)}let _=r.getExternalStyles?.();if(_)for(let c of _){let h=mp(c,i);n&&h.setAttribute("nonce",n),this.shadowRoot.appendChild(h)}}nodeOrShadowRoot(e){return e===this.hostEl?this.shadowRoot:e}appendChild(e,t){return super.appendChild(this.nodeOrShadowRoot(e),t)}insertBefore(e,t,r){return super.insertBefore(this.nodeOrShadowRoot(e),t,r)}removeChild(e,t){return super.removeChild(null,t)}parentNode(e){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(e)))}destroy(){this.sharedStylesHost&&this.sharedStylesHost.removeHost(this.shadowRoot)}},bp=class extends Av{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(e,t,r,i,o,n,a,s,l){super(e,o,n,a,s),this.sharedStylesHost=t,this.removeStylesOnCompDestroy=i;let u=r.styles,_=l?O2(l,u):u;this.styles=_.map(c=>c.replace(/%NS%/g,s)),this.styleUrls=r.getExternalStyles?.(l)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&M6.size===0&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},G5=class extends bp{contentAttr;hostAttr;constructor(e,t,r,i,o,n,a,s,l){let u=i+"-"+r.id;super(e,t,r,o,n,a,s,l,u),this.contentAttr=mN(u),this.hostAttr=bN(u)}applyToHost(e){this.applyStyles(),this.setAttribute(e,this.hostAttr,"")}createElement(e,t){let r=super.createElement(e,t);return super.setAttribute(r,this.contentAttr,""),r}},yN=class P2 extends bP{supportsDOMEvents=!0;static makeCurrent(){mP(new P2)}onAndCancel(t,r,i,o){return t.addEventListener(r,i,o),()=>{t.removeEventListener(r,i,o)}}dispatchEvent(t,r){t.dispatchEvent(r)}remove(t){t.remove()}createElement(t,r){return r=r||this.getDefaultDocument(),r.createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,r){return r==="window"?window:r==="document"?t:r==="body"?t.body:null}getBaseHref(t){let r=wN();return r==null?null:CN(r)}resetBaseElement(){rs=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return t2(document.cookie,t)}},rs=null;W5=["alt","control","meta","shift"],xN={"\b":"Backspace"," ":"Tab","\x7F":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},SN={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey},kN=(()=>{class e extends D2{constructor(r){super(r)}supports(r){return e.parseEventName(r)!=null}addEventListener(r,i,o,n){let a=e.parseEventName(i),s=e.eventCallback(a.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Go().onAndCancel(r,a.domEventName,s,n))}static parseEventName(r){let i=r.toLowerCase().split("."),o=i.shift();if(i.length===0||!(o==="keydown"||o==="keyup"))return null;let n=e._normalizeKey(i.pop()),a="",s=i.indexOf("code");if(s>-1&&(i.splice(s,1),a="code."),W5.forEach(u=>{let _=i.indexOf(u);_>-1&&(i.splice(_,1),a+=u+".")}),a+=n,i.length!=0||n.length===0)return null;let l={};return l.domEventName=o,l.fullKey=a,l}static matchEventFullKeyCode(r,i){let o=xN[r.key]||r.key,n="";return i.indexOf("code.")>-1&&(o=r.code,n="code."),o==null||!o?!1:(o=o.toLowerCase(),o===" "?o="space":o==="."&&(o="dot"),W5.forEach(a=>{if(a!==o){let s=SN[a];s(r)&&(n+=a+".")}}),n+=o,n===i)}static eventCallback(r,i,o){return n=>{e.matchEventFullKeyCode(n,r)&&o.runGuarded(()=>i(n))}}static _normalizeKey(r){return r==="esc"?"escape":r}static \u0275fac=function(r){return new(r||e)(ae(ai))};static \u0275prov=xe({token:e,factory:e.\u0275fac})}return e})();DN=[{provide:aw,useValue:xP},{provide:nw,useValue:AN,multi:!0},{provide:ai,useFactory:EN}],zN=[{provide:Df,useValue:"root"},{provide:xa,useFactory:BN},{provide:gp,useClass:vp,multi:!0},{provide:gp,useClass:kN,multi:!0},V5,{provide:xu,useClass:U5},{provide:U5,useExisting:xu},z2,{provide:_v,useExisting:V5},[]],ha=class Xl{headers;normalizedNames=new Map;lazyInit;lazyUpdate=null;constructor(t){t?typeof t=="string"?this.lazyInit=()=>{this.headers=new Map,t.split(`
|
|
85
|
+
`)}`:"",this.name="UnsubscriptionError",this.errors=t});Ti=class Ah{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;let{_parentage:r}=this;if(r)if(this._parentage=null,Array.isArray(r))for(let n of r)n.remove(this);else r.remove(this);let{initialTeardown:i}=this;if(Ve(i))try{i()}catch(n){t=n instanceof td?n.errors:[n]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let n of o)try{Mm(n)}catch(a){t=t??[],a instanceof td?t=[...t,...a.errors]:t.push(a)}}if(t)throw new td(t)}}add(t){var r;if(t&&t!==this)if(this.closed)Mm(t);else{if(t instanceof Ah){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(r=this._finalizers)!==null&&r!==void 0?r:[]).push(t)}}_hasParent(t){let{_parentage:r}=this;return r===t||Array.isArray(r)&&r.includes(t)}_addParent(t){let{_parentage:r}=this;this._parentage=Array.isArray(r)?(r.push(t),r):r?[r,t]:t}_removeParent(t){let{_parentage:r}=this;r===t?this._parentage=null:Array.isArray(r)&&Ih(r,t)}remove(t){let{_finalizers:r}=this;r&&Ih(r,t),t instanceof Ah&&t._removeParent(this)}};Ti.EMPTY=(()=>{let e=new Ti;return e.closed=!0,e})();H1=Ti.EMPTY;an={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},uu={setTimeout(e,t,...r){let{delegate:i}=uu;return i?.setTimeout?i.setTimeout(e,t,...r):setTimeout(e,t,...r)},clearTimeout(e){let{delegate:t}=uu;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};oD=vf("C",void 0,void 0);Ho=null;gf=class extends Ti{constructor(e){super(),this.isStopped=!1,e?(this.destination=e,U1(e)&&e.add(this)):this.destination=_D}static create(e,t,r){return new Eh(e,t,r)}next(e){this.isStopped?id(aD(e),this):this._next(e)}error(e){this.isStopped?id(nD(e),this):(this.isStopped=!0,this._error(e))}complete(){this.isStopped?id(oD,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(e){this.destination.next(e)}_error(e){try{this.destination.error(e)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},lD=Function.prototype.bind;uD=class{constructor(e){this.partialObserver=e}next(e){let{partialObserver:t}=this;if(t.next)try{t.next(e)}catch(r){gl(r)}}error(e){let{partialObserver:t}=this;if(t.error)try{t.error(e)}catch(r){gl(r)}else gl(e)}complete(){let{partialObserver:e}=this;if(e.complete)try{e.complete()}catch(t){gl(t)}}},Eh=class extends gf{constructor(e,t,r){super();let i;if(Ve(e)||!e)i={next:e??void 0,error:t??void 0,complete:r??void 0};else{let o;this&&an.useDeprecatedNextContext?(o=Object.create(e),o.unsubscribe=()=>this.unsubscribe(),i={next:e.next&&rd(e.next,o),error:e.error&&rd(e.error,o),complete:e.complete&&rd(e.complete,o)}):i=e}this.destination=new uD(i)}};_D={closed:!0,next:Bh,error:cD,complete:Bh},mf=typeof Symbol=="function"&&Symbol.observable||"@@observable";_t=class j1{constructor(t){t&&(this._subscribe=t)}lift(t){let r=new j1;return r.source=this,r.operator=t,r}subscribe(t,r,i){let o=pD(t)?t:new Eh(t,r,i);return Ul(()=>{let{operator:n,source:a}=this;o.add(n?n.call(o,a):a?this._subscribe(o):this._trySubscribe(o))}),o}_trySubscribe(t){try{return this._subscribe(t)}catch(r){t.error(r)}}forEach(t,r){return r=Lm(r),new r((i,o)=>{let n=new Eh({next:a=>{try{t(a)}catch(s){o(s),n.unsubscribe()}},error:o,complete:i});this.subscribe(n)})}_subscribe(t){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(t)}[mf](){return this}pipe(...t){return dD(t)(this)}toPromise(t){return t=Lm(t),new t((r,i)=>{let o;this.subscribe(n=>o=n,n=>i(n),()=>r(o))})}};_t.create=e=>new _t(e);vD=class extends gf{constructor(e,t,r,i,o,n){super(e),this.onFinalize=o,this.shouldUnsubscribe=n,this._next=t?function(a){try{t(a)}catch(s){e.error(s)}}:super._next,this._error=i?function(a){try{i(a)}catch(s){e.error(s)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){e.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var e;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:t}=this;super.unsubscribe(),!t&&((e=this.onFinalize)===null||e===void 0||e.call(this))}}},gD=ff(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}),sn=class extends _t{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(e){let t=new q1(this,this);return t.operator=e,t}_throwIfClosed(){if(this.closed)throw new gD}next(e){Ul(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let t of this.currentObservers)t.next(e)}})}error(e){Ul(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=e;let{observers:t}=this;for(;t.length;)t.shift().error(e)}})}complete(){Ul(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:e}=this;for(;e.length;)e.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var e;return((e=this.observers)===null||e===void 0?void 0:e.length)>0}_trySubscribe(e){return this._throwIfClosed(),super._trySubscribe(e)}_subscribe(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)}_innerSubscribe(e){let{hasError:t,isStopped:r,observers:i}=this;return t||r?H1:(this.currentObservers=null,i.push(e),new Ti(()=>{this.currentObservers=null,Ih(i,e)}))}_checkFinalizedStatuses(e){let{hasError:t,thrownError:r,isStopped:i}=this;t?e.error(r):i&&e.complete()}asObservable(){let e=new _t;return e.source=this,e}};sn.create=(e,t)=>new q1(e,t);q1=class extends sn{constructor(e,t){super(),this.destination=e,this.source=t}next(e){var t,r;(r=(t=this.destination)===null||t===void 0?void 0:t.next)===null||r===void 0||r.call(t,e)}error(e){var t,r;(r=(t=this.destination)===null||t===void 0?void 0:t.error)===null||r===void 0||r.call(t,e)}complete(){var e,t;(t=(e=this.destination)===null||e===void 0?void 0:e.complete)===null||t===void 0||t.call(e)}_subscribe(e){var t,r;return(r=(t=this.source)===null||t===void 0?void 0:t.subscribe(e))!==null&&r!==void 0?r:H1}},mD=class extends sn{constructor(e){super(),this._value=e}get value(){return this.getValue()}_subscribe(e){let t=super._subscribe(e);return!t.closed&&e.next(this._value),t}getValue(){let{hasError:e,thrownError:t,_value:r}=this;if(e)throw t;return this._throwIfClosed(),r}next(e){super.next(this._value=e)}},G1={now(){return(G1.delegate||Date).now()},delegate:void 0},W1=class extends sn{constructor(e=1/0,t=1/0,r=G1){super(),this._bufferSize=e,this._windowTime=t,this._timestampProvider=r,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=t===1/0,this._bufferSize=Math.max(1,e),this._windowTime=Math.max(1,t)}next(e){let{isStopped:t,_buffer:r,_infiniteTimeWindow:i,_timestampProvider:o,_windowTime:n}=this;t||(r.push(e),!i&&r.push(o.now()+n)),this._trimBuffer(),super.next(e)}_subscribe(e){this._throwIfClosed(),this._trimBuffer();let t=this._innerSubscribe(e),{_infiniteTimeWindow:r,_buffer:i}=this,o=i.slice();for(let n=0;n<o.length&&!e.closed;n+=r?1:2)e.next(o[n]);return this._checkFinalizedStatuses(e),t}_trimBuffer(){let{_bufferSize:e,_timestampProvider:t,_buffer:r,_infiniteTimeWindow:i}=this,o=(i?1:2)*e;if(e<1/0&&o<r.length&&r.splice(0,r.length-o),!i){let n=t.now(),a=0;for(let s=1;s<r.length&&r[s]<=n;s+=2)a=s;a&&r.splice(0,a+1)}}},bD=new _t(e=>e.complete());K1=(e=>e&&typeof e.length=="number"&&typeof e!="function");ey=TD();$D=ff(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});({isArray:UD}=Array);({isArray:qD}=Array),{getPrototypeOf:GD,prototype:WD,keys:ZD}=Object;ly="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",L=class extends Error{code;constructor(e,t){super(uy(e,t)),this.code=e}};cz=Ce({__forward_ref__:Ce});hy=Ce({\u0275prov:Ce}),Um=Ce({\u0275inj:Ce}),q=class{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(e,t){this._desc=e,this.\u0275prov=void 0,typeof t=="number"?this.__NG_ELEMENT_ID__=t:t!==void 0&&(this.\u0275prov=xe({token:this,providedIn:t.providedIn||"root",factory:t.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};Dh=Ce({\u0275cmp:Ce}),zh=Ce({\u0275dir:Ce}),hz=Ce({\u0275pipe:Ce}),_u=Ce({\u0275fac:Ce}),ns=Ce({__NG_ELEMENT_ID__:Ce}),Vm=Ce({__NG_ENV_ID__:Ce});fy=Ce({ngErrorCode:Ce}),fz=Ce({ngErrorMessage:Ce}),vz=Ce({ngTokenPath:Ce});qo={},mz="__NG_DI_FLAG__",bz=class{injector;constructor(e){this.injector=e}retrieve(e,t){let r=ds(t)||0;try{return this.injector.get(e,r&8?null:qo,r)}catch(i){if(pf(i))return i;throw i}}};Xo={},hr=[],If=new q(""),Af=new q("",-1),wy=new q(""),Cy=class{get(e,t=qo){if(t===qo){let r=gy("",-201);throw r.name="\u0275NotFound",r}return t}};Bz=Ce({provide:String,useValue:Ce});Df=new q(""),Vl={},jm={};Yo=class{},zf=class extends Yo{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(e,t,r,i){super(),this.parent=t,this.source=r,this.scopes=i,Mh(e,n=>this.processProvider(n)),this.records.set(Af,Pn(void 0,this)),i.has("environment")&&this.records.set(Yo,Pn(void 0,this));let o=this.records.get(Df);o!=null&&typeof o.value=="string"&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(wy,hr,{self:!0}))}retrieve(e,t){let r=ds(t)||0;try{return this.get(e,qo,r)}catch(i){if(pf(i))return i;throw i}}destroy(){es(this),this._destroyed=!0;let e=M(null);try{for(let r of this._ngOnDestroyHooks)r.ngOnDestroy();let t=this._onDestroyHooks;this._onDestroyHooks=[];for(let r of t)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),M(e)}}onDestroy(e){return es(this),this._onDestroyHooks.push(e),()=>this.removeOnDestroy(e)}runInContext(e){es(this);let t=Qi(this),r=Xt(void 0);try{return e()}finally{Qi(t),Xt(r)}}get(e,t=qo,r){if(es(this),Object.hasOwn(e,Vm))return e[Vm](this);let i=ds(r),o=Qi(this),n=Xt(void 0);try{if(!(i&4)){let s=this.records.get(e);if(s===void 0){let l=Mz(e)&&Cf(e);l&&this.injectableDefInScope(l)?s=Pn(Nh(e),Vl):s=null,this.records.set(e,s)}if(s!=null)return this.hydrate(e,s,i)}let a=i&2?nc():this.parent;return t=i&8&&t===qo?null:t,a.get(e,t)}catch(a){let s=gz(a);throw s===-200||s===-201?new L(s,null):a}finally{Xt(n),Qi(o)}}resolveInjectorInitializers(){let e=M(null),t=Qi(this),r=Xt(void 0);try{let i=this.get(If,hr,{self:!0});for(let o of i)o()}finally{Qi(t),Xt(r),M(e)}}toString(){return"R3Injector[...]"}processProvider(e){e=At(e);let t=aa(e)?e:At(e&&e.provide),r=Oz(e);if(!aa(e)&&e.multi===!0){let i=this.records.get(t);i||(i=Pn(void 0,Vl,!0),i.factory=()=>Oh(i.multi),this.records.set(t,i)),t=e,i.multi.push(e)}this.records.set(t,r)}hydrate(e,t,r){let i=M(null);try{if(t.value===jm)throw vy("");return t.value===Vl&&(t.value=jm,t.value=t.factory(void 0,r)),typeof t.value=="object"&&t.value&&Nz(t.value)&&this._ngOnDestroyHooks.add(t.value),t.value}finally{M(i)}}injectableDefInScope(e){if(!e.providedIn)return!1;let t=At(e.providedIn);return typeof t=="string"?t==="any"||this.scopes.has(t):this.injectorDefTypes.has(t)}removeOnDestroy(e){let t=this._onDestroyHooks.indexOf(e);t!==-1&&this._onDestroyHooks.splice(t,1)}};zi=0,H=1,F=2,qt=3,Or=4,nr=5,sa=6,du=7,ot=8,Qo=9,ri=10,Ke=11,hs=12,qm=13,un=14,Jt=15,la=16,Nn=17,ua=18,ac=19,Iy=20,oo=21,ad=22,no=23,vr=24,jn=25,Fz=26,Ay=27,Xe=28,By=1,Gm=6,sc=7,$z=8,hu=9,wt=10;Dy=(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[e.ATTRIBUTE_NO_BINDING=6]="ATTRIBUTE_NO_BINDING",e})(Dy||{}),zy="svg",Hz="math";Z={lFrame:Zy(null),bindingsEnabled:!0,skipHydrationRootTNode:null},Fh=!1;Xy=Ky;Qy=!0;ht=class Jy{static THROW_IF_NOT_FOUND=qo;static NULL=new Cy;static create(t,r){if(Array.isArray(t))return Wm({name:""},r,t,"");{let i=t.name??"";return Wm({name:i},t.parent,t.providers,i)}}static \u0275prov=xe({token:Jy,providedIn:"any",factory:()=>ae(Af)});static __NG_ELEMENT_ID__=-1},ai=new q(""),si=class{static __NG_ELEMENT_ID__=lR;static __NG_ENV_ID__=e=>e},ew=class extends si{_lView;constructor(e){super(),this._lView=e}get destroyed(){return ya(this._lView)}onDestroy(e){let t=this._lView;return Lf(t,e),()=>Vz(t,e)}};uR=!1,cR=new q(""),Ds=(()=>{class e{taskId=0;pendingTasks=new Set;destroyed=!1;pendingTask=new mD(!1);debugTaskTracker=S(cR,{optional:!0});get hasPendingTasks(){return this.destroyed?!1:this.pendingTask.value}get hasPendingTasksObservable(){return this.destroyed?new _t(r=>{r.next(!1),r.complete()}):this.pendingTask}add(){!this.hasPendingTasks&&!this.destroyed&&this.pendingTask.next(!0);let r=this.taskId++;return this.pendingTasks.add(r),this.debugTaskTracker?.add(r),r}has(r){return this.pendingTasks.has(r)}remove(r){this.pendingTasks.delete(r),this.debugTaskTracker?.remove(r),this.pendingTasks.size===0&&this.hasPendingTasks&&this.pendingTask.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks&&this.pendingTask.next(!1),this.destroyed=!0,this.pendingTask.unsubscribe()}static \u0275prov=xe({token:e,providedIn:"root",factory:()=>new e})}return e})(),_R=class extends sn{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(e=!1){super(),this.__isAsync=e,Lz()&&(this.destroyRef=S(si,{optional:!0})??void 0,this.pendingTasks=S(Ds,{optional:!0})??void 0)}emit(e){let t=M(null);try{super.next(e)}finally{M(t)}}subscribe(e,t,r){let i=e,o=t||(()=>null),n=r;if(e&&typeof e=="object"){let s=e;i=s.next?.bind(s),o=s.error?.bind(s),n=s.complete?.bind(s)}this.__isAsync&&(o=this.wrapInTimeout(o),i&&(i=this.wrapInTimeout(i)),n&&(n=this.wrapInTimeout(n)));let a=super.subscribe({next:i,error:o,complete:n});return e instanceof Ti&&e.add(a),a}wrapInTimeout(e){return t=>{let r=this.pendingTasks?.add();setTimeout(()=>{try{e(t)}finally{r!==void 0&&this.pendingTasks?.remove(r)}})}}},pr=_R;Vf="isAngularZone",gu=Vf+"_ID",hR=0,li=class Hh{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new pr(!1);onMicrotaskEmpty=new pr(!1);onStable=new pr(!1);onError=new pr(!1);constructor(t){let{enableLongStackTrace:r=!1,shouldCoalesceEventChangeDetection:i=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:n=uR}=t;if(typeof Zone>"u")throw new L(908,!1);Zone.assertZonePatched();let a=this;a._nesting=0,a._outer=a._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(a._inner=a._inner.fork(new Zone.TaskTrackingZoneSpec)),r&&Zone.longStackTraceZoneSpec&&(a._inner=a._inner.fork(Zone.longStackTraceZoneSpec)),a.shouldCoalesceEventChangeDetection=!o&&i,a.shouldCoalesceRunChangeDetection=o,a.callbackScheduled=!1,a.scheduleInRootZone=n,vR(a)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(Vf)===!0}static assertInAngularZone(){if(!Hh.isInAngularZone())throw new L(909,!1)}static assertNotInAngularZone(){if(Hh.isInAngularZone())throw new L(909,!1)}run(t,r,i){return this._inner.run(t,r,i)}runTask(t,r,i,o){let n=this._inner,a=n.scheduleEventTask("NgZoneEvent: "+o,t,pR,vu,vu);try{return n.runTask(a,r,i)}finally{n.cancelTask(a)}}runGuarded(t,r,i){return this._inner.runGuarded(t,r,i)}runOutsideAngular(t){return this._outer.run(t)}},pR={};gR=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new pr;onMicrotaskEmpty=new pr;onStable=new pr;onError=new pr;run(e,t,r){return e.apply(t,r)}runGuarded(e,t,r){return e.apply(t,r)}runOutsideAngular(e){return e()}runTask(e,t,r,i){return e.apply(t,r)}};xa=class{_console=console;handleError(e){this._console.error("ERROR",e)}};CR=class extends Error{constructor(e){super(String(e),{cause:e}),this.name="ErrorBoundaryWrappedError"}},zs=new q("",{factory:()=>{let e=S(li),t=S(Yo),r;return i=>{e.runOutsideAngular(()=>{t.destroyed&&!r?setTimeout(()=>{throw i}):(r??=t.get(xa),r.handleError(i))})}}}),xR={provide:If,useValue:()=>{S(xa,{optional:!0})},multi:!0};ow=new q("",{factory:()=>SR}),SR="ng",nw=new q(""),aw=new q("",{providedIn:"platform",factory:()=>"unknown"}),sw=new q("",{factory:()=>S(ai).body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null}),qf=(()=>{class e{view;node;constructor(r,i){this.view=r,this.node=i}static __NG_ELEMENT_ID__=kR}return e})();Sa=class{},Gf=new q("",{factory:()=>!0}),TR=new q(""),lw=(()=>{class e{static \u0275prov=xe({token:e,providedIn:"root",factory:()=>new IR})}return e})(),IR=class{dirtyEffectCount=0;queues=new Map;add(e){this.enqueue(e),this.schedule(e)}schedule(e){e.dirty&&this.dirtyEffectCount++}remove(e){let t=e.zone,r=this.queues.get(t);r.has(e)&&(r.delete(e),e.dirty&&this.dirtyEffectCount--)}enqueue(e){let t=e.zone;this.queues.has(t)||this.queues.set(t,new Set);let r=this.queues.get(t);r.has(e)||r.add(e)}flush(){for(;this.dirtyEffectCount>0;){let e=!1;for(let[t,r]of this.queues)t===null?e||=this.flushQueue(r):e||=t.run(()=>this.flushQueue(r));e||(this.dirtyEffectCount=0)}}flushQueue(e){let t=!1;for(let r of e)r.dirty&&(this.dirtyEffectCount--,t=!0,r.run());return t}},AR=class{[Qt];constructor(e){this[Qt]=e}destroy(){this[Qt].destroy()}};uw=te(E({},Q7),{cleanupFns:void 0,zone:null,onDestroyFns:null,run(){let e=fu(!1);try{J7(this)}finally{fu(e)}},cleanup(){if(!this.cleanupFns?.length)return;let e=M(null);try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[],M(e)}}}),BR=te(E({},uw),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){if(ic(this),this.onDestroyFns!==null)for(let e of this.onDestroyFns)e();this.cleanup(),this.scheduler.remove(this)}}),ER=te(E({},uw),{consumerMarkedDirty(){this.view[F]|=8192,wa(this.view),this.notifier.notify(13)},destroy(){if(ic(this),this.onDestroyFns!==null)for(let e of this.onDestroyFns)e();this.cleanup(),this.view[no]?.delete(this)}});OR=(()=>{class e{internalPendingTasks=S(Ds);scheduler=S(Sa);errorHandler=S(zs);add(){let r=this.internalPendingTasks.add();return()=>{this.internalPendingTasks.has(r)&&(this.scheduler.notify(11),this.internalPendingTasks.remove(r))}}run(r){let i=this.add();try{r().catch(this.errorHandler).finally(i)}catch(o){this.errorHandler(o),i()}}static \u0275prov=xe({token:e,providedIn:"root",factory:()=>new e})}return e})(),Wf=Symbol("InputSignalNode#UNSET"),PR=te(E({},F1),{transformFn:void 0,applyValueToInputSignal(e,t){oc(e,t)}});ce=(function(e){return e[e.TemplateCreateStart=0]="TemplateCreateStart",e[e.TemplateCreateEnd=1]="TemplateCreateEnd",e[e.TemplateUpdateStart=2]="TemplateUpdateStart",e[e.TemplateUpdateEnd=3]="TemplateUpdateEnd",e[e.LifecycleHookStart=4]="LifecycleHookStart",e[e.LifecycleHookEnd=5]="LifecycleHookEnd",e[e.OutputStart=6]="OutputStart",e[e.OutputEnd=7]="OutputEnd",e[e.BootstrapApplicationStart=8]="BootstrapApplicationStart",e[e.BootstrapApplicationEnd=9]="BootstrapApplicationEnd",e[e.BootstrapComponentStart=10]="BootstrapComponentStart",e[e.BootstrapComponentEnd=11]="BootstrapComponentEnd",e[e.ChangeDetectionStart=12]="ChangeDetectionStart",e[e.ChangeDetectionEnd=13]="ChangeDetectionEnd",e[e.ChangeDetectionSyncStart=14]="ChangeDetectionSyncStart",e[e.ChangeDetectionSyncEnd=15]="ChangeDetectionSyncEnd",e[e.AfterRenderHooksStart=16]="AfterRenderHooksStart",e[e.AfterRenderHooksEnd=17]="AfterRenderHooksEnd",e[e.ComponentStart=18]="ComponentStart",e[e.ComponentEnd=19]="ComponentEnd",e[e.DeferBlockStateStart=20]="DeferBlockStateStart",e[e.DeferBlockStateEnd=21]="DeferBlockStateEnd",e[e.DynamicComponentStart=22]="DynamicComponentStart",e[e.DynamicComponentEnd=23]="DynamicComponentEnd",e[e.HostBindingsUpdateStart=24]="HostBindingsUpdateStart",e[e.HostBindingsUpdateEnd=25]="HostBindingsUpdateEnd",e})(ce||{}),NR=class{previousValue;currentValue;firstChange;constructor(e,t,r){this.previousValue=e,this.currentValue=t,this.firstChange=r}isFirstChange(){return this.firstChange}};dw=null,Zf=(()=>{dw=Xm;let e=()=>Xm;return e.ngInherit=!0,e})();Vh="__ngSimpleChanges__";Ym=[],ve=function(e,t=null,r){for(let i=0;i<Ym.length;i++){let o=Ym[i];o(e,t,r)}};qn=-1,Rs=class{factory;name;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(e,t,r,i){this.factory=e,this.name=i,this.canSeeViewProviders=t,this.injectImpl=r}};Gh=!0;fw=255,vw=5,YR=0,Xr={};xw=class{_tNode;_lView;constructor(e,t){this._tNode=e,this._lView=t}get(e,t,r){return ww(this._tNode,this._lView,e,ds(r),t)}};er=(()=>{class e{nativeElement;constructor(r){this.nativeElement=r}static __NG_ELEMENT_ID__=o6}return e})();Iw=(function(e){return e[e.OnPush=0]="OnPush",e[e.Eager=1]="Eager",e[e.Default=1]="Default",e})(Iw||{}),Aw=new Map,n6=0;r5="__ngContext__";c6="r",_6="di",zw=!1,d6=new q("",{factory:()=>zw}),i5=new WeakMap;p6=()=>null;xi=(function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e[e.ExperimentalIsolatedShadowDom=4]="ExperimentalIsolatedShadowDom",e})(xi||{}),Nw=class{changingThisBreaksApplicationSecurity;constructor(e){this.changingThisBreaksApplicationSecurity=e}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${ly})`}};g6=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;Uw="ng-template";yr={},Uo=(function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e})(Uo||{});M6=new Set;typeof document<"u"&&document?.documentElement?.getAnimations;Jh=new WeakMap;zn=new WeakSet;Jf=(function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e})(Jf||{}),ka=new q(""),a5=new Set;qw=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=xe({token:e,providedIn:"root",factory:()=>new e})}return e})(),$6=[0,1,2,3],H6=(()=>{class e{ngZone=S(li);scheduler=S(Sa);errorHandler=S(xa,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){S(ka,{optional:!0})}execute(){let r=this.sequences.size>0;r&&ve(ce.AfterRenderHooksStart),this.executing=!0;for(let i of $6)for(let o of this.sequences)if(!(o.erroredOrDestroyed||!o.hooks[i]))try{o.pipelinedValue=this.ngZone.runOutsideAngular(()=>this.maybeTrace(()=>{let n=o.hooks[i];return n(o.pipelinedValue)},o.snapshot))}catch(n){o.erroredOrDestroyed=!0,this.errorHandler?.handleError(n)}this.executing=!1;for(let i of this.sequences)i.afterRun(),i.once&&(this.sequences.delete(i),i.destroy());for(let i of this.deferredRegistrations)this.sequences.add(i);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear(),r&&ve(ce.AfterRenderHooksEnd)}register(r){let{view:i}=r;i!==void 0?((i[jn]??=[]).push(r),wa(i),i[F]|=8192):this.executing?this.deferredRegistrations.add(r):this.addSequence(r)}addSequence(r){this.sequences.add(r),this.scheduler.notify(7)}unregister(r){this.executing&&this.sequences.has(r)?(r.erroredOrDestroyed=!0,r.pipelinedValue=void 0,r.once=!0):(this.sequences.delete(r),this.deferredRegistrations.delete(r))}maybeTrace(r,i){return i?i.run(Jf.AFTER_NEXT_RENDER,r):r()}static \u0275prov=xe({token:e,providedIn:"root",factory:()=>new e})}return e})(),U6=class{impl;hooks;view;once;snapshot;erroredOrDestroyed=!1;pipelinedValue=void 0;unregisterOnDestroy;constructor(e,t,r,i,o,n=null){this.impl=e,this.hooks=t,this.view=r,this.once=i,this.snapshot=n,this.unregisterOnDestroy=o?.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,this.snapshot?.dispose(),this.snapshot=null}destroy(){this.impl.unregister(this),this.unregisterOnDestroy?.();let e=this.view?.[jn];e&&(this.view[jn]=e.filter(t=>t!==this))}};ep=null,Gw=null;t8=e8;Ps=(function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e})(Ps||{});lC=[];B8=te(E({},ma),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{wa(e.lView)},consumerOnSignalRead(){this.lView[vr]=this}});D8=te(E({},ma),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let t=Jo(e.lView);for(;t&&!uC(t[H]);)t=Jo(t);t&&Mf(t)},consumerOnSignalRead(){this.lView[vr]=this}});z8=100;ip=class{_lView;_cdRefInjectingView;_appRef=null;_attachedToViewContainer=!1;exhaustive;get rootNodes(){let e=this._lView,t=e[H];return wu(t,e,t.firstChild,[])}constructor(e,t){this._lView=e,this._cdRefInjectingView=t}get context(){return this._lView[ot]}set context(e){this._lView[ot]=e}get destroyed(){return ya(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let e=this._lView[qt];if(vo(e)){let t=e[$z],r=t?t.indexOf(this):-1;r>-1&&(cv(e,r),yy(t,r))}this._attachedToViewContainer=!1}tv(this._lView[H],this._lView)}onDestroy(e){Lf(this._lView,e)}markForCheck(){uv(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[F]&=-129}reattach(){Lh(this._lView),this._lView[F]|=128}detectChanges(){this._lView[F]|=1024,_C(this._lView)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new L(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let e=pu(this._lView),t=this._lView[la];t!==null&&!e&&ev(t,this._lView),Ww(this._lView[H],this._lView)}attachToAppRef(e){if(this._attachedToViewContainer)throw new L(902,!1);this._appRef=e;let t=pu(this._lView),r=this._lView[la];r!==null&&!t&&gC(r,this._lView),Lh(this._lView)}};W8=()=>null,Z8=()=>null;K8=class{},_v=class{},pc=class{destroyNode=null;static __NG_ELEMENT_ID__=()=>X8()};Y8=(()=>{class e{static \u0275prov=xe({token:e,providedIn:"root",factory:()=>null})}return e})();cd={},Q8=class{injector;parentInjector;constructor(e,t){this.injector=e,this.parentInjector=t}get(e,t,r){let i=this.injector.get(e,cd,r);return i!==cd||t===cd?i:this.parentInjector.get(e,t,r)}};SC=class{lView;tView;tNode;hasPassThrough;constructor(e,t,r){this.lView=e,this.tView=t,this.tNode=r,this.hasPassThrough=!!(r.flags&4096)}get customControl(){return this.tNode.customControlIndex!==-1?this.lView[this.tNode.customControlIndex]:void 0}get nativeElement(){return ni(this.tNode,this.lView)}get descriptor(){return`<${this.tNode.value}>`}listenToCustomControlOutput(e,t){let r=this.tView.data[this.tNode.customControlIndex];c5(this.tNode,this.lView,r,e,Wn(this.tNode,this.lView,t))}listenToCustomControlModel(e){let t=this.tNode.flags&1024?"valueChange":"checkedChange",r=this.tView.data[this.tNode.customControlIndex];c5(this.tNode,this.lView,r,t,Wn(this.tNode,this.lView,e))}listenToDom(e,t){CC(this.tNode,this.tView,this.lView,void 0,this.lView[Ke],e,t,Wn(this.tNode,this.lView,t))}setInputOnDirectives(e,t,r){let i=this.tNode.inputs?.[e],o=this.tNode.hostDirectiveInputs?.[e];if(!i&&!o)return!1;let n=!1;if(i)for(let a of i){if(a===this.tNode.controlDirectiveIndex)continue;let s=this.lView[a],l=this.tView.data[a];(!r||r(d5(s,l,e)))&&(tn(l,s,e,t),n=!0)}if(o)for(let a=0;a<o.length;a+=2){let s=o[a];if(s===this.tNode.controlDirectiveIndex)continue;let l=this.lView[s],u=o[a+1],_=this.tView.data[s];(!r||r(d5(l,_,e)))&&(tn(_,l,u,t),n=!0)}return n}setCustomControlModelInput(e){let t=this.tView.data[this.tNode.customControlIndex],r=this.tNode.flags&1024?"value":"checked";w8(this.tNode,this.tView,this.lView,t,r,e)}customControlHasInput(e){if(this.tNode.customControlIndex===-1)return!1;let t=this.tView.data[this.tNode.customControlIndex];return(t.signalFormsInputPresence??=this._buildCustomControlInputCache(t))[e]===!0}_buildCustomControlInputCache(e){let t={};for(let r in e.inputs)t[r]=!0;if(e.hostDirectives!==null){let r=[...e.hostDirectives];for(;r.length>0;){let i=r.shift();if(typeof i!="function"){for(let n in i.inputs)t[i.inputs[n]]=!0;let o=_5(i.directive);o!==null&&r.push(...o);continue}for(let o of i()){if(typeof o=="function")continue;if(o.inputs)for(let a=0;a<o.inputs.length;a+=2){let s=o.inputs[a+1]||o.inputs[a];t[s]=!0}let n=_5(o.directive);n!==null&&r.push(...n)}}}return t}};op=Symbol("BINDING"),xu=new q("");AC=typeof ShadowRoot<"u",yO=typeof Document<"u";dv=class{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=wO(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=CO(this.componentDef.outputs),this.cachedOutputs}constructor(e,t){this.componentDef=e,this.ngModule=t,this.componentType=e.type,this.selector=O6(e.selectors),this.ngContentSelectors=e.ngContentSelectors??[],this.isBoundToModule=!!t}create(e,t,r,i,o,n,a,s){ve(ce.DynamicComponentStart);let l=M(null);try{let u=this.componentDef,_=xO(u,i||this.ngModule,e),c=SO(_),h=c.tracingService;return h&&h.componentCreate?h.componentCreate(yC(u),()=>this.createComponentRef(c,_,t,r,o,n,a,s)):this.createComponentRef(c,_,t,r,o,n,a,s)}finally{M(l)}}createComponentRef(e,t,r,i,o,n,a,s){let l=this.componentDef,u=AO(i,l,n,o,s),_=e.rendererFactory.createRenderer(null,l),c=i?u8(_,i,l.encapsulation,t):kO(l,_,a??null);TO(c);let h=t.get(xu,null),d=BO(c,()=>t.get(ai,null)??u6());h&&h.addHost(d);let b=n?.some(g5)||o?.some(C=>typeof C!="function"&&C.bindings.some(g5)),w=nv(null,u,null,512|Qw(l),null,null,e,_,t,null,Rw(c,t,!0));h&&AC&&d instanceof ShadowRoot&&Lf(w,()=>{h.removeHost(d)}),w[Xe]=c,Ff(w);let I=null;try{let C=TC(Xe,w,2,"#host",()=>u.directiveRegistry,!0,0);$w(_,c,C),_a(c,w),iC(u,w,C),Pw(u,C,w),IC(u,C),r!==void 0&&zO(C,this.ngContentSelectors,r),I=oi(C.index,w),w[ot]=I[ot],lv(u,w,null)}catch(C){throw I!==null&&Kh(I),Kh(w),C}finally{ve(ce.DynamicComponentEnd),$f()}return new DO(this.componentType,w,!!b)}};DO=class extends K8{_rootLView;_hasInputBindings;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(e,t,r){super(),this._rootLView=t,this._hasInputBindings=r,this._tNode=Of(t[H],Xe),this.location=kw(this._tNode,t),this.instance=oi(this._tNode.index,t)[ot],this.hostView=this.changeDetectorRef=new ip(t,void 0),this.componentType=e}setInput(e,t){this._hasInputBindings;let r=this._tNode;if(this.previousInputValues??=new Map,this.previousInputValues.has(e)&&Object.is(this.previousInputValues.get(e),t))return;let i=this._rootLView;sv(r,i[H],i,e,t),this.previousInputValues.set(e,t),uv(oi(r.index,i),1)}get injector(){return new xw(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(e){this.hostView.onDestroy(e)}};RO=()=>!1;np=class{},BC=class extends np{injector;instance=null;constructor(e){super();let t=new zf([...e.providers,{provide:np,useValue:this}],e.parent||nc(),e.debugName,new Set(["environment"]));this.injector=t,e.runEnvironmentInitializers&&t.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(e){this.injector.onDestroy(e)}};MO=(()=>{class e{_injector;cachedInjectors=new Map;constructor(r){this._injector=r}getOrCreateStandaloneInjector(r){if(!r.standalone)return null;if(!this.cachedInjectors.has(r)){let i=xy(!1,r.type),o=i.length>0?NO([i],this._injector,""):null;this.cachedInjectors.set(r,o)}return this.cachedInjectors.get(r)}ngOnDestroy(){try{for(let r of this.cachedInjectors.values())r!==null&&r.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=xe({token:e,providedIn:"environment",factory:()=>new e(ae(Yo))})}return e})();RC=new q("");OC=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((r,i)=>{this.resolve=r,this.reject=i});appInits=S(RC,{optional:!0})??[];injector=S(ht);constructor(){}runInitializers(){if(this.initialized)return;let r=[];for(let o of this.appInits){let n=Fr(this.injector,o);if(hv(n))r.push(n);else if(PO(n)){let a=new Promise((s,l)=>{n.subscribe({complete:s,error:l})});r.push(a)}}let i=()=>{this.done=!0,this.resolve()};Promise.all(r).then(()=>{i()}).catch(o=>{this.reject(o)}),r.length===0&&i(),this.initialized=!0}static \u0275fac=function(r){return new(r||e)};static \u0275prov=Os({token:e,factory:e.\u0275fac})}return e})();e4=t4;r4=new q(""),i4=new q("");n4=10,ku=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=S(zs);afterRenderManager=S(qw);zonelessEnabled=S(Gf);rootEffectScheduler=S(lw);dirtyFlags=0;tracingSnapshot=null;allTestViews=new Set;autoDetectTestViews=new Set;includeAllTestViews=!1;afterTick=new sn;get allViews(){return[...(this.includeAllTestViews?this.allTestViews:this.autoDetectTestViews).keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];internalPendingTask=S(Ds);get isStable(){return this.internalPendingTask.hasPendingTasksObservable.pipe(to(r=>!r))}constructor(){S(ka,{optional:!0})}whenStable(){let r;return new Promise(i=>{r=this.isStable.subscribe({next:o=>{o&&i()}})}).finally(()=>{r.unsubscribe()})}_injector=S(Yo);_rendererFactory=null;get injector(){return this._injector}bootstrap(r,i){return this.bootstrapImpl(r,i)}bootstrapImpl(r,i,o=ht.NULL){return this._injector.get(li).run(()=>{if(ve(ce.BootstrapComponentStart),!this._injector.get(OC).done)throw new L(405,"");let n=Bs(r),a=this._injector.get(np),s=new dv(n,a);this.componentTypes.push(r);let{hostElement:l,directives:u,bindings:_}=a4(i),c=l||s.selector,h=s.create(o,[],c,a.injector,u,_),d=h.location.nativeElement,b=h.injector.get(r4,null);return b?.registerApplication(d),h.onDestroy(()=>{this.detachView(h.hostView),Zl(this.components,h),b?.unregisterApplication(d)}),this._loadComponent(h),ve(ce.BootstrapComponentEnd,h),h})}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){ve(ce.ChangeDetectionStart),this.tracingSnapshot!==null?this.tracingSnapshot.run(Jf.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw ve(ce.ChangeDetectionEnd),new L(101,!1);let r=M(null);try{this._runningTick=!0,this.synchronize()}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,M(r),this.afterTick.next(),ve(ce.ChangeDetectionEnd)}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(_v,null,{optional:!0}));let r=0;for(;this.dirtyFlags!==0&&r++<n4;){ve(ce.ChangeDetectionSyncStart);try{this.synchronizeOnce()}finally{ve(ce.ChangeDetectionSyncEnd)}}}synchronizeOnce(){this.dirtyFlags&16&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush());let r=!1;if(this.dirtyFlags&7){let i=!!(this.dirtyFlags&1);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:o}of this.allViews)!i&&!ps(o)||(_C(o,i&&!this.zonelessEnabled?0:1),r=!0);if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),this.dirtyFlags&23)return}r||(this._rendererFactory?.begin?.(),this._rendererFactory?.end?.()),this.dirtyFlags&8&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){if(this.allViews.some(({_lView:r})=>ps(r))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(r){let i=r;this._views.push(i),i.attachToAppRef(this)}detachView(r){let i=r;Zl(this._views,i),i.detachFromAppRef()}_loadComponent(r){this.attachView(r.hostView);try{this.tick()}catch(i){this.internalErrorHandler(i)}this.components.push(r),this._injector.get(i4,[]).forEach(i=>i(r))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(r=>r()),this._views.slice().forEach(r=>r.destroy())}finally{this._destroyed=!0,this._views=[],this._destroyListeners=[]}}onDestroy(r){return this._destroyListeners.push(r),()=>Zl(this._destroyListeners,r)}destroy(){if(this._destroyed)throw new L(406,!1);let r=this._injector;r.destroy&&!r.destroyed&&r.destroy()}get viewCount(){return this._views.length}static \u0275fac=function(r){return new(r||e)};static \u0275prov=Os({token:e,factory:e.\u0275fac})}return e})();s4=class{destroy(e){}updateValue(e,t){}swap(e,t){let r=Math.min(e,t),i=Math.max(e,t),o=this.detach(i);if(i-r>1){let n=this.detach(r);this.attach(r,o),this.attach(i,n)}else this.attach(r,o)}move(e,t){this.attach(t,this.detach(e))}};S5=class{kvMap=new Map;_vMap=void 0;has(e){return this.kvMap.has(e)}delete(e){if(!this.has(e))return!1;let t=this.kvMap.get(e);return this._vMap!==void 0&&this._vMap.has(t)?(this.kvMap.set(e,this._vMap.get(t)),this._vMap.delete(t)):this.kvMap.delete(e),!0}get(e){return this.kvMap.get(e)}set(e,t){if(this.kvMap.has(e)){let r=this.kvMap.get(e);this._vMap===void 0&&(this._vMap=new Map);let i=this._vMap;for(;i.has(r);)r=i.get(r);i.set(r,t)}else this.kvMap.set(e,t)}forEach(e){for(let[t,r]of this.kvMap)if(e(r,t),this._vMap!==void 0){let i=this._vMap;for(;i.has(r);)r=i.get(r),e(r,t)}}};c4=class{lContainer;$implicit;$index;constructor(e,t,r){this.lContainer=e,this.$implicit=t,this.$index=r}get $count(){return this.lContainer.length-wt}},_4=class{hasEmptyBlock;trackByFn;liveCollection;constructor(e,t,r){this.hasEmptyBlock=e,this.trackByFn=t,this.liveCollection=r}};d4=class extends s4{lContainer;hostLView;templateTNode;operationsCounter=void 0;needsIndexUpdate=!1;constructor(e,t,r){super(),this.lContainer=e,this.hostLView=t,this.templateTNode=r}get length(){return this.lContainer.length-wt}at(e){return this.getLView(e)[ot].$implicit}attach(e,t){let r=t[sa];this.needsIndexUpdate||=e!==this.length,hc(this.lContainer,t,e,dc(this.templateTNode,r)),h4(this.lContainer,e)}detach(e){return this.needsIndexUpdate||=e!==this.length-1,p4(this.lContainer,e),f4(this.lContainer,e)}create(e,t){let r=mC(this.lContainer,this.templateTNode.tView.ssrId);return _c(this.hostLView,this.templateTNode,new c4(this.lContainer,t,e),{dehydratedView:r})}destroy(e){tv(e[H],e)}updateValue(e,t){this.getLView(e)[ot].$implicit=t}reset(){this.needsIndexUpdate=!1}updateIndexes(){if(this.needsIndexUpdate)for(let e=0;e<this.length;e++)this.getLView(e)[ot].$index=e}getLView(e){return v4(this.lContainer,e)}};HC=(e,t,r,i,o)=>(Uf(!0),Mw(t[Ke],i,Yy()));up="en-US";M4=(e,t,r,i)=>(Uf(!0),b6(t[Ke],i));jC={};X4=(()=>{class e{applicationErrorHandler=S(zs);appRef=S(ku);taskService=S(Ds);ngZone=S(li);zonelessEnabled=S(Gf);tracing=S(ka,{optional:!0});zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new Ti;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(gu):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(S(TR,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{let r=this.taskService.add();if(!this.runningTick&&(this.cleanup(),!this.zonelessEnabled||this.appRef.includeAllTestViews)){this.taskService.remove(r);return}this.switchToMicrotaskScheduler(),this.taskService.remove(r)})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()}))}switchToMicrotaskScheduler(){this.ngZone.runOutsideAngular(()=>{let r=this.taskService.add();this.useMicrotaskScheduler=!0,queueMicrotask(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(r)})})}notify(r){if(!this.zonelessEnabled&&r===5)return;switch(r){case 0:case 2:this.appRef.dirtyFlags|=2;break;case 3:case 4:case 5:case 1:this.appRef.dirtyFlags|=4;break;case 6:this.appRef.dirtyFlags|=2;break;case 12:this.appRef.dirtyFlags|=16;break;case 13:this.appRef.dirtyFlags|=2;break;case 11:break;default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick())return;let i=this.useMicrotaskScheduler?dR:tw;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>i(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>i(()=>this.tick()))}shouldScheduleTick(){return!(this.appRef.destroyed||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(gu+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;if(this.appRef.dirtyFlags===0){this.cleanup();return}!this.zonelessEnabled&&this.appRef.dirtyFlags&7&&(this.appRef.dirtyFlags|=1);let r=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(i){this.applicationErrorHandler(i)}finally{this.taskService.remove(r),this.cleanup()}}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let r=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(r)}}static \u0275fac=function(r){return new(r||e)};static \u0275prov=Os({token:e,factory:e.\u0275fac})}return e})();KC=new q("",{factory:()=>S(KC,{optional:!0,skipSelf:!0})||Q4()}),J4=class{destroyed=!1;listeners=null;errorHandler=S(xa,{optional:!0});isEmitting=!1;hasNullListeners=!1;destroyRef=S(si);constructor(){this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(e){if(this.destroyed)throw new L(953,!1);return(this.listeners??=[]).push(e),{unsubscribe:()=>{let t=this.listeners?this.listeners.indexOf(e):-1;t>-1&&(this.isEmitting?(this.hasNullListeners=!0,this.listeners[t]=null):this.listeners.splice(t,1))}}}emit(e){if(this.destroyed){console.warn(uy(953,!1));return}if(this.listeners===null)return;this.isEmitting=!0;let t=M(null);try{for(let r of this.listeners)try{r!==null&&r(e)}catch(i){this.errorHandler?.handleError(i)}}finally{this.hasNullListeners&&(this.hasNullListeners=!1,this.listeners&&eP(this.listeners)),M(t),this.isEmitting=!1}}};(class hp extends Error{_brand;constructor(t){super(t)}static IDLE=new hp("IDLE");static LOADING=new hp("LOADING")});tP=e=>e;k=(D5.required=iP,D5),oP=class{supports(e){return e instanceof Map||wC(e)}create(){return new nP}},nP=class{_records=new Map;_mapHead=null;_appendAfter=null;_previousMapHead=null;_changesHead=null;_changesTail=null;_additionsHead=null;_additionsTail=null;_removalsHead=null;get isDirty(){return this._additionsHead!==null||this._changesHead!==null||this._removalsHead!==null}forEachItem(e){let t;for(t=this._mapHead;t!==null;t=t._next)e(t)}forEachPreviousItem(e){let t;for(t=this._previousMapHead;t!==null;t=t._nextPrevious)e(t)}forEachChangedItem(e){let t;for(t=this._changesHead;t!==null;t=t._nextChanged)e(t)}forEachAddedItem(e){let t;for(t=this._additionsHead;t!==null;t=t._nextAdded)e(t)}forEachRemovedItem(e){let t;for(t=this._removalsHead;t!==null;t=t._nextRemoved)e(t)}diff(e){if(!e)e=new Map;else if(!(e instanceof Map||wC(e)))throw new L(900,!1);return this.check(e)?this:null}check(e){this._reset();let t=this._mapHead;if(this._appendAfter=null,this._forEach(e,(r,i)=>{if(t&&t.key===i)this._maybeAddToChanges(t,r),this._appendAfter=t,t=t._next;else{let o=this._getOrCreateRecordForKey(i,r);t=this._insertBeforeOrAppend(t,o)}}),t){t._prev&&(t._prev._next=null),this._removalsHead=t;for(let r=t;r!==null;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(e,t){if(e){let r=e._prev;return t._next=e,t._prev=r,e._prev=t,r&&(r._next=t),e===this._mapHead&&(this._mapHead=t),this._appendAfter=e,e}return this._appendAfter?(this._appendAfter._next=t,t._prev=this._appendAfter):this._mapHead=t,this._appendAfter=t,null}_getOrCreateRecordForKey(e,t){if(this._records.has(e)){let i=this._records.get(e);this._maybeAddToChanges(i,t);let o=i._prev,n=i._next;return o&&(o._next=n),n&&(n._prev=o),i._next=null,i._prev=null,i}let r=new aP(e);return this._records.set(e,r),r.currentValue=t,this._addToAdditions(r),r}_reset(){if(this.isDirty){let e;for(this._previousMapHead=this._mapHead,e=this._previousMapHead;e!==null;e=e._next)e._nextPrevious=e._next;for(e=this._changesHead;e!==null;e=e._nextChanged)e.previousValue=e.currentValue;for(e=this._additionsHead;e!=null;e=e._nextAdded)e.previousValue=e.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(e,t){Object.is(t,e.currentValue)||(e.previousValue=e.currentValue,e.currentValue=t,this._addToChanges(e))}_addToAdditions(e){this._additionsHead===null?this._additionsHead=this._additionsTail=e:(this._additionsTail._nextAdded=e,this._additionsTail=e)}_addToChanges(e){this._changesHead===null?this._changesHead=this._changesTail=e:(this._changesTail._nextChanged=e,this._changesTail=e)}_forEach(e,t){e instanceof Map?e.forEach(t):Object.keys(e).forEach(r=>t(e[r],r))}},aP=class{key;previousValue=null;currentValue=null;_nextPrevious=null;_next=null;_prev=null;_nextAdded=null;_nextRemoved=null;_nextChanged=null;constructor(e){this.key=e}};YC=(()=>{class e{static \u0275prov=xe({token:e,providedIn:"root",factory:z5});factories;constructor(r){this.factories=r}static create(r,i){if(i){let o=i.factories.slice();r=r.concat(o)}return new e(r)}static extend(r){return{provide:e,useFactory:()=>{let i=S(e,{optional:!0,skipSelf:!0});return e.create(r,i||z5())}}}find(r){let i=this.factories.find(o=>o.supports(r));if(i)return i;throw new L(901,!1)}}return e})(),QC=(()=>{class e{static __NG_ELEMENT_ID__=sP}return e})();pp=new q(""),uP=new q("");Kl=null;JC=null;bP=class{},e2=(()=>{class e{historyGo(r){throw new Error("")}static \u0275fac=function(r){return new(r||e)};static \u0275prov=xe({token:e,factory:()=>S(yP),providedIn:"platform"})}return e})(),yP=(()=>{class e extends e2{_location;_history;_doc=S(ai);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Go().getBaseHref(this._doc)}onPopState(r){let i=Go().getGlobalEventTarget(this._doc,"window");return i.addEventListener("popstate",r,!1),()=>i.removeEventListener("popstate",r)}onHashChange(r){let i=Go().getGlobalEventTarget(this._doc,"window");return i.addEventListener("hashchange",r,!1),()=>i.removeEventListener("hashchange",r)}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(r){this._location.pathname=r}pushState(r,i,o){this._history.pushState(r,i,o)}replaceState(r,i,o){this._history.replaceState(r,i,o)}forward(){this._history.forward()}back(){this._history.back()}historyGo(r=0){this._history.go(r)}getState(){return this._history.state}static \u0275fac=function(r){return new(r||e)};static \u0275prov=xe({token:e,factory:()=>new e,providedIn:"platform"})}return e})();CP=(()=>{class e{differs;constructor(r){this.differs=r}differ;keyValues=[];compareFn=R5;transform(r,i=R5){if(!r||!(r instanceof Map)&&typeof r!="object")return null;this.differ??=this.differs.find(r).create();let o=this.differ.diff(r),n=i!==this.compareFn;return o&&(this.keyValues=[],o.forEachItem(a=>{this.keyValues.push(wP(a.key,a.currentValue))})),(o||n)&&(i&&this.keyValues.sort(i),this.compareFn=i),this.keyValues}static \u0275fac=function(r){return new(r||e)(He(YC,16))};static \u0275pipe=HO({name:"keyvalue",type:e,pure:!1})}return e})();xP="browser",r2=(()=>{class e{_renderer;_elementRef;onChange=r=>{};onTouched=()=>{};constructor(r,i){this._renderer=r,this._elementRef=i}setProperty(r,i){this._renderer.setProperty(this._elementRef.nativeElement,r,i)}registerOnTouched(r){this.onTouched=r}registerOnChange(r){this.onChange=r}setDisabledState(r){this.setProperty("disabled",r)}static \u0275fac=function(r){return new(r||e)(He(pc),He(er))};static \u0275dir=Hr({type:e})}return e})(),SP=(()=>{class e extends r2{static \u0275fac=(()=>{let r;return function(i){return(r||(r=Kf(e)))(i||e)}})();static \u0275dir=Hr({type:e,features:[Pi]})}return e})(),gv=new q(""),kP={provide:gv,useExisting:ln(()=>i2),multi:!0};IP=new q(""),i2=(()=>{class e extends r2{_compositionMode;_composing=!1;constructor(r,i,o){super(r,i),this._compositionMode=o,this._compositionMode??=!TP()}writeValue(r){let i=r??"";this.setProperty("value",i)}_handleInput(r){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(r)}_compositionStart(){this._composing=!0}_compositionEnd(r){this._composing=!1,this._compositionMode&&this.onChange(r)}static \u0275fac=function(r){return new(r||e)(He(pc),He(er),He(IP,8))};static \u0275dir=Hr({type:e,selectors:[["input","formControlName","",3,"type","checkbox",3,"ngNoCva",""],["textarea","formControlName","",3,"ngNoCva",""],["input","formControl","",3,"type","checkbox",3,"ngNoCva",""],["textarea","formControl","",3,"ngNoCva",""],["input","ngModel","",3,"type","checkbox",3,"ngNoCva",""],["textarea","ngModel","",3,"ngNoCva",""],["","ngDefaultControl",""]],hostBindings:function(r,i){r&1&&Pt("input",function(o){return i._handleInput(o.target.value)})("blur",function(){return i.onTouched()})("compositionstart",function(){return i._compositionStart()})("compositionend",function(o){return i._compositionEnd(o.target.value)})},standalone:!1,features:[ar([kP]),Pi]})}return e})();yv=new q(""),o2=new q(""),AP=/^(?=.{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])?)*$/,n2=class{static min(e){return BP(e)}static max(e){return EP(e)}static required(e){return a2(e)}static requiredTrue(e){return DP(e)}static email(e){return zP(e)}static minLength(e){return RP(e)}static maxLength(e){return OP(e)}static pattern(e){return PP(e)}static nullValidator(e){return zu()}static compose(e){return d2(e)}static composeAsync(e){return p2(e)}};m2=class{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(e){this._rawValidators=e||[],this._composedValidatorFn=h2(this._rawValidators)}_setAsyncValidators(e){this._rawAsyncValidators=e||[],this._composedAsyncValidatorFn=f2(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_onDestroyCallbacks=[];_registerOnDestroy(e){this._onDestroyCallbacks.push(e)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(e=>e()),this._onDestroyCallbacks=[]}reset(e=void 0){this.control?.reset(e)}hasError(e,t){return this.control?this.control.hasError(e,t):!1}getError(e,t){return this.control?this.control.getError(e,t):null}},wv=class extends m2{name;get formDirective(){return null}get path(){return null}},Wa="VALID",bl="INVALID",An="PENDING",Za="DISABLED",Ia=class{},M5=class extends Ia{value;source;constructor(e,t){super(),this.value=e,this.source=t}},gd=class extends Ia{pristine;source;constructor(e,t){super(),this.pristine=e,this.source=t}},md=class extends Ia{touched;source;constructor(e,t){super(),this.touched=e,this.source=t}},yl=class extends Ia{status;source;constructor(e,t){super(),this.status=e,this.source=t}},MP=class extends Ia{source;constructor(e){super(),this.source=e}},Ou=class extends Ia{source;constructor(e){super(),this.source=e}};w2=class{_pendingDirty=!1;_hasOwnPendingAsyncValidator=null;_pendingTouched=!1;_onCollectionChange=()=>{};_updateOn;_hasRequired=Kr(!1);_parent=null;_asyncValidationSubscription;_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators;_rawAsyncValidators;value;constructor(e,t){this._assignValidators(e),this._assignAsyncValidators(t)}get validator(){return this._composedValidatorFn}set validator(e){this._rawValidators=this._composedValidatorFn=e,this._updateHasRequiredValidator()}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(e){this._rawAsyncValidators=this._composedAsyncValidatorFn=e}get parent(){return this._parent}get status(){return Vt(this.statusReactive)}set status(e){Vt(()=>this.statusReactive.set(e))}_status=ir(()=>this.statusReactive());statusReactive=Kr(void 0);get valid(){return this.status===Wa}get invalid(){return this.status===bl}get pending(){return this.status===An}get disabled(){return this.status===Za}get enabled(){return this.status!==Za}errors;get pristine(){return Vt(this.pristineReactive)}set pristine(e){Vt(()=>this.pristineReactive.set(e))}_pristine=ir(()=>this.pristineReactive());pristineReactive=Kr(!0);get dirty(){return!this.pristine}get touched(){return Vt(this.touchedReactive)}set touched(e){Vt(()=>this.touchedReactive.set(e))}_touched=ir(()=>this.touchedReactive());touchedReactive=Kr(!1);get untouched(){return!this.touched}_events=new sn;events=this._events.asObservable();valueChanges;statusChanges;get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(e){this._assignValidators(e)}setAsyncValidators(e){this._assignAsyncValidators(e)}addValidators(e){this.setValidators(P5(e,this._rawValidators))}addAsyncValidators(e){this.setAsyncValidators(P5(e,this._rawAsyncValidators))}removeValidators(e){this.setValidators(N5(e,this._rawValidators))}removeAsyncValidators(e){this.setAsyncValidators(N5(e,this._rawAsyncValidators))}hasValidator(e){return Ru(this._rawValidators,e)}hasAsyncValidator(e){return Ru(this._rawAsyncValidators,e)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(e={}){let t=this.touched===!1;this.touched=!0;let r=e.sourceControl??this;e.onlySelf||this._parent?.markAsTouched(te(E({},e),{sourceControl:r})),t&&e.emitEvent!==!1&&this._events.next(new md(!0,r))}markAllAsDirty(e={}){this.markAsDirty({onlySelf:!0,emitEvent:e.emitEvent,sourceControl:this}),this._forEachChild(t=>t.markAllAsDirty(e))}markAllAsTouched(e={}){this.markAsTouched({onlySelf:!0,emitEvent:e.emitEvent,sourceControl:this}),this._forEachChild(t=>t.markAllAsTouched(e))}markAsUntouched(e={}){let t=this.touched===!0;this.touched=!1,this._pendingTouched=!1;let r=e.sourceControl??this;this._forEachChild(i=>{i.markAsUntouched({onlySelf:!0,emitEvent:e.emitEvent,sourceControl:r})}),e.onlySelf||this._parent?._updateTouched(e,r),t&&e.emitEvent!==!1&&this._events.next(new md(!1,r))}markAsDirty(e={}){let t=this.pristine===!0;this.pristine=!1;let r=e.sourceControl??this;e.onlySelf||this._parent?.markAsDirty(te(E({},e),{sourceControl:r})),t&&e.emitEvent!==!1&&this._events.next(new gd(!1,r))}markAsPristine(e={}){let t=this.pristine===!1;this.pristine=!0,this._pendingDirty=!1;let r=e.sourceControl??this;this._forEachChild(i=>{i.markAsPristine({onlySelf:!0,emitEvent:e.emitEvent})}),e.onlySelf||this._parent?._updatePristine(e,r),t&&e.emitEvent!==!1&&this._events.next(new gd(!0,r))}markAsPending(e={}){this.status=An;let t=e.sourceControl??this;e.emitEvent!==!1&&(this._events.next(new yl(this.status,t)),this.statusChanges.emit(this.status)),e.onlySelf||this._parent?.markAsPending(te(E({},e),{sourceControl:t}))}disable(e={}){let t=this._parentMarkedDirty(e.onlySelf);this.status=Za,this.errors=null,this._forEachChild(i=>{i.disable(te(E({},e),{onlySelf:!0}))}),this._updateValue();let r=e.sourceControl??this;e.emitEvent!==!1&&(this._events.next(new M5(this.value,r)),this._events.next(new yl(this.status,r)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(te(E({},e),{skipPristineCheck:t}),this),this._onDisabledChange.forEach(i=>i(!0))}enable(e={}){let t=this._parentMarkedDirty(e.onlySelf);this.status=Wa,this._forEachChild(r=>{r.enable(te(E({},e),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent}),this._updateAncestors(te(E({},e),{skipPristineCheck:t}),this),this._onDisabledChange.forEach(r=>r(!1))}_updateAncestors(e,t){e.onlySelf||(this._parent?.updateValueAndValidity(e),e.skipPristineCheck||this._parent?._updatePristine({},t),this._parent?._updateTouched({},t))}setParent(e){this._parent=e}getRawValue(){return this.value}updateValueAndValidity(e={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){let r=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Wa||this.status===An)&&this._runAsyncValidator(r,e.emitEvent)}let t=e.sourceControl??this;e.emitEvent!==!1&&(this._events.next(new M5(this.value,t)),this._events.next(new yl(this.status,t)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),e.onlySelf||this._parent?.updateValueAndValidity(te(E({},e),{sourceControl:t}))}_updateTreeValidity(e={emitEvent:!0}){this._forEachChild(t=>t._updateTreeValidity(e)),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Za:Wa}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(e,t){if(this.asyncValidator){this.status=An,this._hasOwnPendingAsyncValidator={emitEvent:t!==!1,shouldHaveEmitted:e!==!1};let r=l2(this.asyncValidator(this));this._asyncValidationSubscription=r.subscribe(i=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(i,{emitEvent:t,shouldHaveEmitted:e})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();let e=(this._hasOwnPendingAsyncValidator?.emitEvent||this._hasOwnPendingAsyncValidator?.shouldHaveEmitted)??!1;return this._hasOwnPendingAsyncValidator=null,e}return!1}setErrors(e,t={}){this.errors=e,this._updateControlsErrors(t.emitEvent!==!1,this,t.shouldHaveEmitted)}get(e){let t=e;return t==null||(Array.isArray(t)||(t=t.split(".")),t.length===0)?null:t.reduce((r,i)=>r&&r._find(i),this)}getError(e,t){let r=t?this.get(t):this;return r?.errors?r.errors[e]:null}hasError(e,t){return!!this.getError(e,t)}get root(){let e=this;for(;e._parent;)e=e._parent;return e}_updateControlsErrors(e,t,r){this.status=this._calculateStatus(),e&&this.statusChanges.emit(this.status),(e||r)&&this._events.next(new yl(this.status,t)),this._parent&&this._parent._updateControlsErrors(e,t,r)}_initObservables(){this.valueChanges=new pr,this.statusChanges=new pr}_calculateStatus(){return this._allControlsDisabled()?Za:this.errors?bl:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(An)?An:this._anyControlsHaveStatus(bl)?bl:Wa}_anyControlsHaveStatus(e){return this._anyControls(t=>t.status===e)}_anyControlsDirty(){return this._anyControls(e=>e.dirty)}_anyControlsTouched(){return this._anyControls(e=>e.touched)}_updatePristine(e,t){let r=!this._anyControlsDirty(),i=this.pristine!==r;this.pristine=r,e.onlySelf||this._parent?._updatePristine(e,t),i&&this._events.next(new gd(this.pristine,t))}_updateTouched(e={},t){this.touched=this._anyControlsTouched(),this._events.next(new md(this.touched,t)),e.onlySelf||this._parent?._updateTouched(e,t)}_onDisabledChange=[];_registerOnCollectionChange(e){this._onCollectionChange=e}_setUpdateStrategy(e){vc(e)&&e.updateOn!=null&&(this._updateOn=e.updateOn)}_parentMarkedDirty(e){return!e&&!!this._parent?.dirty&&!this._parent._anyControlsDirty()}_find(e){return null}_assignValidators(e){this._rawValidators=Array.isArray(e)?e.slice():e,this._composedValidatorFn=LP(this._rawValidators),this._updateHasRequiredValidator()}_assignAsyncValidators(e){this._rawAsyncValidators=Array.isArray(e)?e.slice():e,this._composedAsyncValidatorFn=FP(this._rawAsyncValidators)}_updateHasRequiredValidator(){Vt(()=>this._hasRequired.set(this.hasValidator(n2.required)))}};jP=class{kind;context;control;message;constructor({kind:e,context:t,control:r}){this.kind=e,this.context=t,this.control=r}},qP=(()=>{class e{_validator=zu;_onChange;_enabled;ngOnChanges(r){if(this.inputName in r){let i=this.normalizeInput(r[this.inputName].currentValue);this._enabled=this.enabled(i),this._validator=this._enabled?this.createValidator(i):zu,this._onChange?.()}}validate(r){return this._validator(r)}registerOnValidatorChange(r){this._onChange=r}enabled(r){return r!=null}static \u0275fac=function(r){return new(r||e)};static \u0275dir=Hr({type:e,features:[Zf]})}return e})(),GP={provide:yv,useExisting:ln(()=>x2),multi:!0},x2=(()=>{class e extends qP{required;inputName="required";normalizeInput=Re;createValidator=r=>a2;enabled(r){return r}static \u0275fac=(()=>{let r;return function(i){return(r||(r=Kf(e)))(i||e)}})();static \u0275dir=Hr({type:e,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(r,i){r&2&&MC("required",i._enabled?"":null)},inputs:{required:"required"},standalone:!1,features:[ar([GP]),Pi]})}return e})(),WP=new q(""),Cv=new q("",{factory:()=>xv}),xv="always";aN={provide:WP,useFactory:()=>{let e=S(gc,{self:!0});return{setParseErrors:t=>{e.setParseErrorSource(t)},set onReset(t){e.onReset=t}}}},gc=class extends m2{_parent=null;name=null;valueAccessor=null;isCustomControlBased=!1;userOnReset;resetSubscription;set onReset(e){this.userOnReset=e,this.resetSubscription?.unsubscribe(),this.resetSubscription=void 0,this.control&&(this.resetSubscription=this.control.events.subscribe(t=>{t instanceof Ou&&this.control&&this.userOnReset?.(this.control.value)}),this.subscription?.add(this.resetSubscription))}isNativeFormElement=!1;rawValueAccessors;_selectedValueAccessor=null;get selectedValueAccessor(){return this._selectedValueAccessor??=oN(this,this.rawValueAccessors)}parseErrorsValidator=null;renderer;injector;requiredValidatorViaDi;subscription;customControlBindings=null;constructor(e,t,r){super(),this.injector=e,this.renderer=t,this.rawValueAccessors=r,this.injector?.get(si)?.onDestroy(()=>{this.removeParseErrorsValidator(this.control),this.subscription?.unsubscribe()})}setupCustomControl(){this.subscription?.unsubscribe();let e=this.injector?.get(QC);if(!this.control||!e)return;let t=e.markForCheck.bind(e);this.subscription=new Ti,this.subscription.add(this.control.valueChanges.subscribe(t)),this.subscription.add(this.control.statusChanges.subscribe(t)),this.resetSubscription?.unsubscribe(),this.resetSubscription=void 0,this.userOnReset&&(this.resetSubscription=this.control.events.subscribe(r=>{r instanceof Ou&&this.control&&this.userOnReset?.(this.control.value)}),this.subscription.add(this.resetSubscription)),this.parseErrorsValidator&&this.control.addValidators(this.parseErrorsValidator)}ngControlCreate(e){!e.nativeElement.hasAttribute?.("ngNoCva")&&(this.rawValueAccessors&&this.rawValueAccessors.length>0||this.valueAccessor!==null)||!e.customControl||(this.isCustomControlBased=!0,e.listenToCustomControlModel(t=>{this.control?.markAsDirty(),this.control?.setValue(t,{emitModelToViewChange:!1}),this.viewToModelUpdate(t)}),e.listenToCustomControlOutput("touch",()=>{this.control?.markAsTouched()}),this.customControlBindings={},this.isNativeFormElement=UP(e.nativeElement),this.requiredValidatorViaDi=this._rawValidators.find(t=>t instanceof x2))}ngControlUpdate(e,t){if(!this.isCustomControlBased)return;let r=this.control,i=this.customControlBindings;Object.is(i.value,r.value)||(i.value=r.value,e.setCustomControlModelInput(r.value)),this.bindControlProperty(e,i,"touched",r.touched),this.bindControlProperty(e,i,"dirty",r.dirty),this.bindControlProperty(e,i,"valid",r.valid),this.bindControlProperty(e,i,"invalid",r.invalid),this.bindControlProperty(e,i,"pending",r.pending),this.bindControlProperty(e,i,"disabled",r.disabled),this.shouldBindRequired&&this.bindControlProperty(e,i,"required",this.isRequired);let o=r.errors;if(i.errors!==o){i.errors=o;let n=this._convertErrors(o);e.setInputOnDirectives("errors",n)}}get isRequired(){return(this.requiredValidatorViaDi?._enabled||this.control?._hasRequired())??!1}get shouldBindRequired(){return!0}bindControlProperty(e,t,r,i){if(t[r]===i)return;t[r]=i;let o=e.setInputOnDirectives(r,i);this.isNativeFormElement&&!o&&(r==="disabled"||r==="required")&&this.renderer&&VP(this.renderer,e.nativeElement,r,i)}_convertErrors(e){if(e===null)return[];let t=this.control;return Object.entries(e).map(([r,i])=>new jP({context:i,kind:r,control:t}))}setParseErrorSource(e){if(e===void 0)return;let t=null,r=ir(()=>{let i=e();return i.length===0?null:i.reduce((o,n)=>(o[n.kind]=n,o),{})});this.parseErrorsValidator=(()=>t).bind(this),br(()=>{t=r(),this.control?.updateValueAndValidity({emitEvent:!1})},{injector:this.injector})}removeParseErrorsValidator(e){this.parseErrorsValidator&&(e?.removeValidators(this.parseErrorsValidator),e?.updateValueAndValidity({emitEvent:!1}))}},k2=class{_cd;constructor(e){this._cd=e}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}},T2=(()=>{class e extends k2{constructor(r){super(r)}static \u0275fac=function(r){return new(r||e)(He(gc,2))};static \u0275dir=Hr({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(r,i){r&2&&fc("ng-untouched",i.isUntouched)("ng-touched",i.isTouched)("ng-pristine",i.isPristine)("ng-dirty",i.isDirty)("ng-valid",i.isValid)("ng-invalid",i.isInvalid)("ng-pending",i.isPending)},standalone:!1,features:[Pi]})}return e})(),I2=(()=>{class e extends k2{constructor(r){super(r)}static \u0275fac=function(r){return new(r||e)(He(wv,10))};static \u0275dir=Hr({type:e,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["","formArray",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(r,i){r&2&&fc("ng-untouched",i.isUntouched)("ng-touched",i.isTouched)("ng-pristine",i.isPristine)("ng-dirty",i.isDirty)("ng-valid",i.isValid)("ng-invalid",i.isInvalid)("ng-pending",i.isPending)("ng-submitted",i.isSubmitted)},standalone:!1,features:[Pi]})}return e})(),A2=class extends w2{constructor(e,t,r){super(b2(t),y2(r,t)),this.controls=e,this._initObservables(),this._setUpdateStrategy(t),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}controls;registerControl(e,t){return this._find(e)||(this.controls[e]=t,t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange),t)}addControl(e,t,r={}){this.registerControl(e,t),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}removeControl(e,t={}){let r=this._find(e);r&&r._registerOnCollectionChange(()=>{}),delete this.controls[e],this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}setControl(e,t,r={}){let i=this._find(e);i&&i._registerOnCollectionChange(()=>{}),delete this.controls[e],t&&this.registerControl(e,t),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}contains(e){return this._find(e)?.enabled===!0}setValue(e,t={}){Vt(()=>{HP(this,!0,e),Object.keys(e).forEach(r=>{$P(this,!0,r),this.controls[r].setValue(e[r],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)})}patchValue(e,t={}){e!=null&&(Object.keys(e).forEach(r=>{let i=this._find(r);i&&i.patchValue(e[r],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t))}reset(e={},t={}){this._forEachChild((r,i)=>{r.reset(e?e[i]:null,te(E({},t),{onlySelf:!0}))}),this._updatePristine(t,this),this._updateTouched(t,this),this.updateValueAndValidity(t),t?.emitEvent!==!1&&this._events.next(new Ou(this))}getRawValue(){return this._reduceChildren({},(e,t,r)=>(e[r]=t.getRawValue(),e))}_syncPendingControls(){let e=this._reduceChildren(!1,(t,r)=>r._syncPendingControls()?!0:t);return e&&this.updateValueAndValidity({onlySelf:!0}),e}_forEachChild(e){Object.keys(this.controls).forEach(t=>{let r=this.controls[t];r&&e(r,t)})}_setUpControls(){this._forEachChild(e=>{e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(e){for(let[t,r]of Object.entries(this.controls))if(this.contains(t)&&e(r))return!0;return!1}_reduceValue(){return this._reduceChildren({},(e,t,r)=>((t.enabled||this.disabled)&&(e[r]=t.value),e))}_reduceChildren(e,t){let r=e;return this._forEachChild((i,o)=>{r=t(r,i,o)}),r}_allControlsDisabled(){for(let e of Object.keys(this.controls))if(this.controls[e].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(e){return C2(this.controls,e)?this.controls[e]:null}};Wo=class extends w2{defaultValue=null;_onChange=[];_pendingValue;_pendingChange=!1;constructor(e=null,t,r){super(b2(t),y2(r,t)),this._applyFormState(e),this._setUpdateStrategy(t),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),vc(t)&&(t.nonNullable||t.initialValueIsDefault)&&(F5(e)?this.defaultValue=e.value:this.defaultValue=e)}setValue(e,t={}){Vt(()=>{this.value=this._pendingValue=e,this._onChange.length&&t.emitModelToViewChange!==!1&&this._onChange.forEach(r=>r(this.value,t.emitViewToModelChange!==!1)),this.updateValueAndValidity(t)})}patchValue(e,t={}){this.setValue(e,t)}reset(e=this.defaultValue,t={}){this._applyFormState(e),this.markAsPristine(t),this.markAsUntouched(t),this.setValue(this.value,t),t.overwriteDefaultValue&&(this.defaultValue=this.value),this._pendingChange=!1,t?.emitEvent!==!1&&this._events.next(new Ou(this))}_updateValue(){}_anyControls(e){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(e){this._onChange.push(e)}_unregisterOnChange(e){L5(this._onChange,e)}registerOnDisabledChange(e){this._onDisabledChange.push(e)}_unregisterOnDisabledChange(e){L5(this._onDisabledChange,e)}_forEachChild(e){}_syncPendingControls(){return this.updateOn==="submit"&&(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),this._pendingChange)?(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),!0):!1}_applyFormState(e){F5(e)?(this.value=this._pendingValue=e.value,e.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=e}},sN=e=>e instanceof Wo,lN=(()=>{class e extends wv{callSetDisabledState;get submitted(){return Vt(this._submittedReactive)}set submitted(r){this._submittedReactive.set(r)}_submitted=ir(()=>this._submittedReactive());_submittedReactive=Kr(!1);_oldForm;_onCollectionChange=()=>this._updateDomValue();directives=[];constructor(r,i,o){super(),this.callSetDisabledState=o,this._setValidators(r),this._setAsyncValidators(i)}ngOnChanges(r){this.onChanges(r)}ngOnDestroy(){this.onDestroy()}onChanges(r){this._checkFormPresent(),Object.hasOwn(r,"form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}onDestroy(){this.form&&(Mu(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get path(){return[]}addControl(r){let i=this.form.get(r.path);return r._setupWithForm(i,this.callSetDisabledState),i.updateValueAndValidity({emitEvent:!1}),this.directives.push(r),i}getControl(r){return this.form.get(r.path)}removeControl(r){Pu(r.control||null,r,!1),nN(this.directives,r)}addFormGroup(r){this._setUpFormContainer(r)}removeFormGroup(r){this._cleanUpFormContainer(r)}getFormGroup(r){return this.form.get(r.path)}getFormArray(r){return this.form.get(r.path)}addFormArray(r){this._setUpFormContainer(r)}removeFormArray(r){this._cleanUpFormContainer(r)}updateModel(r,i){this.form.get(r.path).setValue(i)}onReset(){this.resetForm()}resetForm(r=void 0,i={}){this.form.reset(r,i),this._submittedReactive.set(!1)}onSubmit(r){return this.submitted=!0,iN(this.form,this.directives),this.ngSubmit.emit(r),this.form._events.next(new MP(this.control)),r?.target?.method==="dialog"}_updateDomValue(){this.directives.forEach(r=>{let i=r.control,o=this.form.get(r.path);i!==o&&(Pu(i||null,r),sN(o)&&r._setupWithForm(o,this.callSetDisabledState))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(r){let i=this.form.get(r.path);JP(i,r),i.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(r){let i=this.form?.get(r.path);i&&eN(i,r)&&i.updateValueAndValidity({emitEvent:!1})}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm?._registerOnCollectionChange(()=>{})}_updateValidators(){Sv(this.form,this),this._oldForm&&Mu(this._oldForm,this)}_checkFormPresent(){this.form}static \u0275fac=function(r){return new(r||e)(He(yv,10),He(o2,10),He(Cv,8))};static \u0275dir=Hr({type:e,features:[Pi,Zf]})}return e})(),uN={provide:wv,useExisting:ln(()=>kv)},kv=(()=>{class e extends lN{form=null;ngSubmit=new pr;get control(){return this.form}static \u0275fac=(()=>{let r;return function(i){return(r||(r=Kf(e)))(i||e)}})();static \u0275dir=Hr({type:e,selectors:[["","formGroup",""]],hostBindings:function(r,i){r&1&&Pt("submit",function(o){return i.onSubmit(o)})("reset",function(){return i.onReset()})},inputs:{form:[0,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:!1,features:[ar([uN]),Pi]})}return e})(),B2=new q(""),cN={provide:gc,useExisting:ln(()=>Tv)},Tv=(()=>{class e extends gc{_ngModelWarningConfig;callSetDisabledState;viewModel;form;set isDisabled(r){}model;update=new pr;static _ngModelWarningSentOnce=!1;_ngModelWarningSent=!1;constructor(r,i,o,n,a,s,l){super(l,s,o),this._ngModelWarningConfig=n,this.callSetDisabledState=a,this._setValidators(r),this._setAsyncValidators(i)}ngOnChanges(r){if(this._isControlChanged(r)){let i=r.form.previousValue;i&&(Pu(i,this,!1),this.removeParseErrorsValidator(i)),this.isCustomControlBased?this.setupCustomControl():(this.valueAccessor??=this.selectedValueAccessor,ZP(this.form,this,this.callSetDisabledState)),this.form.updateValueAndValidity({emitEvent:!1})}tN(r,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&Pu(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(r){this.viewModel=r,this.update.emit(r)}_isControlChanged(r){return Object.hasOwn(r,"form")}\u0275ngControlCreate(r){super.ngControlCreate(r)}\u0275ngControlUpdate(r){super.ngControlUpdate(r,!0)}static \u0275fac=function(r){return new(r||e)(He(yv,10),He(o2,10),He(gv,10),He(B2,8),He(Cv,8),He(pc,8),He(ht,8))};static \u0275dir=Hr({type:e,selectors:[["","formControl",""]],inputs:{form:[0,"formControl","form"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],standalone:!1,features:[ar([cN,aN]),Pi,Zf,jO(null)]})}return e})(),_N=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=EC({type:e});static \u0275inj=dy({})}return e})(),E2=(()=>{class e{static withConfig(r){return{ngModule:e,providers:[{provide:B2,useValue:r.warnOnNgModelWithFormControl??"always"},{provide:Cv,useValue:r.callSetDisabledState??xv}]}}static \u0275fac=function(r){return new(r||e)};static \u0275mod=EC({type:e});static \u0275inj=dy({imports:[_N]})}return e})(),D2=class{_doc;constructor(e){this._doc=e}manager},vp=(()=>{class e extends D2{constructor(r){super(r)}supports(r){return!0}addEventListener(r,i,o,n){return r.addEventListener(i,o,n),()=>this.removeEventListener(r,i,o,n)}removeEventListener(r,i,o,n){return r.removeEventListener(i,o,n)}static \u0275fac=function(r){return new(r||e)(ae(ai))};static \u0275prov=xe({token:e,factory:e.\u0275fac})}return e})(),gp=new q(""),z2=(()=>{class e{_zone;_plugins;_eventNameToPlugin=new Map;constructor(r,i){this._zone=i,r.forEach(a=>{a.manager=this});let o=r.filter(a=>!(a instanceof vp));this._plugins=o.slice().reverse();let n=r.find(a=>a instanceof vp);n&&this._plugins.push(n)}addEventListener(r,i,o,n){return this._findPluginFor(i).addEventListener(r,i,o,n)}getZone(){return this._zone}_findPluginFor(r){let i=this._eventNameToPlugin.get(r);if(i)return i;if(i=this._plugins.find(o=>o.supports(r)),!i)throw new L(-5101,!1);return this._eventNameToPlugin.set(r,i),i}static \u0275fac=function(r){return new(r||e)(ae(gp),ae(li))};static \u0275prov=xe({token:e,factory:e.\u0275fac})}return e})(),bd="ng-app-id";U5=(()=>{class e{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;constructor(r,i,o,n={}){this.doc=r,this.appId=i,this.nonce=o,dN(r,i,this.inline,this.external)&&this.hosts.add(r.head)}addStyles(r,i){for(let o of r)this.addUsage(o,this.inline,H5);i?.forEach(o=>this.addUsage(o,this.external,mp))}removeStyles(r,i){for(let o of r)this.removeUsage(o,this.inline);i?.forEach(o=>this.removeUsage(o,this.external))}addUsage(r,i,o){let n=i.get(r);n?n.usage++:i.set(r,{usage:1,elements:[...this.hosts].map(a=>this.addElement(a,o(r,this.doc)))})}removeUsage(r,i){let o=i.get(r);o&&(o.usage--,o.usage<=0&&($5(o.elements),i.delete(r)))}ngOnDestroy(){for(let[,{elements:r}]of[...this.inline,...this.external])$5(r);this.hosts.clear()}addHost(r){if(!this.hosts.has(r)){this.hosts.add(r);for(let[i,{elements:o}]of this.inline)o.push(this.addElement(r,H5(i,this.doc)));for(let[i,{elements:o}]of this.external)o.push(this.addElement(r,mp(i,this.doc)))}}removeHost(r){this.hosts.delete(r);for(let i of[...this.inline.values(),...this.external.values()]){let o=[];for(let n of i.elements)n.parentNode===r?n.remove():o.push(n);i.elements=o}}addElement(r,i){return this.nonce&&i.setAttribute("nonce",this.nonce),r.appendChild(i)}static \u0275fac=function(r){return new(r||e)(ae(ai),ae(ow),ae(sw,8),ae(aw))};static \u0275prov=xe({token:e,factory:e.\u0275fac})}return e})(),yd={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"},Iv=/%COMP%/g,R2="%COMP%",hN=`_nghost-${R2}`,pN=`_ngcontent-${R2}`,fN=!0,vN=new q("",{factory:()=>fN}),gN=new q("");V5=(()=>{class e{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;cssVarNamespace;constructor(r,i,o,n,a,s,l=null,u=null,_=null){this.eventManager=r,this.sharedStylesHost=i,this.appId=o,this.removeStylesOnCompDestroy=n,this.doc=a,this.ngZone=s,this.nonce=l,this.tracingService=u,this.cssVarNamespace=_??"",this.defaultRenderer=new Av(r,a,s,this.tracingService,this.cssVarNamespace)}createRenderer(r,i){if(!r||!i)return this.defaultRenderer;let o=this.getOrCreateRenderer(r,i);return o instanceof G5?o.applyToHost(r):o instanceof bp&&o.applyStyles(),o}getOrCreateRenderer(r,i){let o=this.rendererByCompId,n=o.get(i.id);if(!n){let a=this.doc,s=this.ngZone,l=this.eventManager,u=this.sharedStylesHost,_=this.removeStylesOnCompDestroy,c=this.tracingService;switch(i.encapsulation){case xi.Emulated:n=new G5(l,u,i,this.appId,_,a,s,c,this.cssVarNamespace);break;case xi.ShadowDom:return new q5(l,r,i,a,s,this.nonce,c,this.cssVarNamespace,u);case xi.ExperimentalIsolatedShadowDom:return new q5(l,r,i,a,s,this.nonce,c,this.cssVarNamespace);default:n=new bp(l,u,i,_,a,s,c,this.cssVarNamespace)}o.set(i.id,n)}return n}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(r){this.rendererByCompId.delete(r)}static \u0275fac=function(r){return new(r||e)(ae(z2),ae(xu),ae(ow),ae(vN),ae(ai),ae(li),ae(sw),ae(ka,8),ae(gN,8))};static \u0275prov=xe({token:e,factory:e.\u0275fac})}return e})(),Av=class{eventManager;doc;ngZone;tracingService;cssVarNamespace;data=Object.create(null);throwOnSyntheticProps=!0;constructor(e,t,r,i,o=""){this.eventManager=e,this.doc=t,this.ngZone=r,this.tracingService=i,this.cssVarNamespace=o}destroy(){}destroyNode=null;createElement(e,t){return t?this.doc.createElementNS(yd[t]||t,e):this.doc.createElement(e)}createComment(e){return this.doc.createComment(e)}createText(e){return this.doc.createTextNode(e)}appendChild(e,t){(j5(e)?e.content:e).appendChild(t)}insertBefore(e,t,r){if(e){let i=j5(e)?e.content:e;if(r!=null&&r.parentNode!==i)throw new L(-5106,!1);i.insertBefore(t,r)}}removeChild(e,t){t.remove()}selectRootElement(e,t){let r=typeof e=="string"?this.doc.querySelector(e):e;if(!r)throw new L(-5104,!1);return t||(r.textContent=""),r}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,t,r,i){if(i){t=i+":"+t;let o=yd[i];o?e.setAttributeNS(o,t,r):e.setAttribute(t,r)}else e.setAttribute(t,r)}removeAttribute(e,t,r){if(r){let i=yd[r];i?e.removeAttributeNS(i,t):e.removeAttribute(`${r}:${t}`)}else e.removeAttribute(t)}addClass(e,t){e.classList.add(t)}removeClass(e,t){e.classList.remove(t)}setStyle(e,t,r,i){let o=t.startsWith("--");o&&(t=t.replace("%NS%",this.cssVarNamespace)),o||i&(Uo.DashCase|Uo.Important)?e.style.setProperty(t,r,i&Uo.Important?"important":""):e.style[t]=r}removeStyle(e,t,r){let i=t.startsWith("--");i&&(t=t.replace("%NS%",this.cssVarNamespace)),i||r&Uo.DashCase?e.style.removeProperty(t):e.style[t]=""}setProperty(e,t,r){e!=null&&(e[t]=r)}setValue(e,t){e.nodeValue=t}listen(e,t,r,i){if(typeof e=="string"&&(e=Go().getGlobalEventTarget(this.doc,e),!e))throw new L(-5102,!1);let o=this.decoratePreventDefault(r);return this.tracingService?.wrapEventListener&&(o=this.tracingService.wrapEventListener(e,t,o)),this.eventManager.addEventListener(e,t,o,i)}decoratePreventDefault(e){return t=>{if(t==="__ngUnwrap__")return e;e(t)===!1&&t.preventDefault()}}};q5=class extends Av{hostEl;sharedStylesHost;shadowRoot;constructor(e,t,r,i,o,n,a,s,l){super(e,i,o,a,s),this.hostEl=t,this.sharedStylesHost=l,this.shadowRoot=t.attachShadow({mode:"open"}),this.sharedStylesHost&&this.sharedStylesHost.addHost(this.shadowRoot);let u=r.styles;u=O2(r.id,u).map(c=>c.replace(/%NS%/g,s));for(let c of u){let h=document.createElement("style");n&&h.setAttribute("nonce",n),h.textContent=c,this.shadowRoot.appendChild(h)}let _=r.getExternalStyles?.();if(_)for(let c of _){let h=mp(c,i);n&&h.setAttribute("nonce",n),this.shadowRoot.appendChild(h)}}nodeOrShadowRoot(e){return e===this.hostEl?this.shadowRoot:e}appendChild(e,t){return super.appendChild(this.nodeOrShadowRoot(e),t)}insertBefore(e,t,r){return super.insertBefore(this.nodeOrShadowRoot(e),t,r)}removeChild(e,t){return super.removeChild(null,t)}parentNode(e){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(e)))}destroy(){this.sharedStylesHost&&this.sharedStylesHost.removeHost(this.shadowRoot)}},bp=class extends Av{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(e,t,r,i,o,n,a,s,l){super(e,o,n,a,s),this.sharedStylesHost=t,this.removeStylesOnCompDestroy=i;let u=r.styles,_=l?O2(l,u):u;this.styles=_.map(c=>c.replace(/%NS%/g,s)),this.styleUrls=r.getExternalStyles?.(l)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&M6.size===0&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},G5=class extends bp{contentAttr;hostAttr;constructor(e,t,r,i,o,n,a,s,l){let u=i+"-"+r.id;super(e,t,r,o,n,a,s,l,u),this.contentAttr=mN(u),this.hostAttr=bN(u)}applyToHost(e){this.applyStyles(),this.setAttribute(e,this.hostAttr,"")}createElement(e,t){let r=super.createElement(e,t);return super.setAttribute(r,this.contentAttr,""),r}},yN=class P2 extends bP{supportsDOMEvents=!0;static makeCurrent(){mP(new P2)}onAndCancel(t,r,i,o){return t.addEventListener(r,i,o),()=>{t.removeEventListener(r,i,o)}}dispatchEvent(t,r){t.dispatchEvent(r)}remove(t){t.remove()}createElement(t,r){return r=r||this.getDefaultDocument(),r.createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,r){return r==="window"?window:r==="document"?t:r==="body"?t.body:null}getBaseHref(t){let r=wN();return r==null?null:CN(r)}resetBaseElement(){rs=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return t2(document.cookie,t)}},rs=null;W5=["alt","control","meta","shift"],xN={"\b":"Backspace"," ":"Tab","\x7F":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},SN={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey},kN=(()=>{class e extends D2{constructor(r){super(r)}supports(r){return e.parseEventName(r)!=null}addEventListener(r,i,o,n){let a=e.parseEventName(i),s=e.eventCallback(a.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Go().onAndCancel(r,a.domEventName,s,n))}static parseEventName(r){let i=r.toLowerCase().split("."),o=i.shift();if(i.length===0||!(o==="keydown"||o==="keyup"))return null;let n=e._normalizeKey(i.pop()),a="",s=i.indexOf("code");if(s>-1&&(i.splice(s,1),a="code."),W5.forEach(u=>{let _=i.indexOf(u);_>-1&&(i.splice(_,1),a+=u+".")}),a+=n,i.length!=0||n.length===0)return null;let l={};return l.domEventName=o,l.fullKey=a,l}static matchEventFullKeyCode(r,i){let o=xN[r.key]||r.key,n="";return i.indexOf("code.")>-1&&(o=r.code,n="code."),o==null||!o?!1:(o=o.toLowerCase(),o===" "?o="space":o==="."&&(o="dot"),W5.forEach(a=>{if(a!==o){let s=SN[a];s(r)&&(n+=a+".")}}),n+=o,n===i)}static eventCallback(r,i,o){return n=>{e.matchEventFullKeyCode(n,r)&&o.runGuarded(()=>i(n))}}static _normalizeKey(r){return r==="esc"?"escape":r}static \u0275fac=function(r){return new(r||e)(ae(ai))};static \u0275prov=xe({token:e,factory:e.\u0275fac})}return e})();DN=[{provide:aw,useValue:xP},{provide:nw,useValue:AN,multi:!0},{provide:ai,useFactory:EN}],zN=[{provide:Df,useValue:"root"},{provide:xa,useFactory:BN},{provide:gp,useClass:vp,multi:!0},{provide:gp,useClass:kN,multi:!0},V5,{provide:xu,useClass:U5},{provide:U5,useExisting:xu},z2,{provide:_v,useExisting:V5},[]],ha=class Xl{headers;normalizedNames=new Map;lazyInit;lazyUpdate=null;constructor(t){t?typeof t=="string"?this.lazyInit=()=>{this.headers=new Map,t.split(`
|
|
86
86
|
`).forEach(r=>{let i=r.indexOf(":");if(i>0){let o=r.slice(0,i),n=r.slice(i+1).trim();this.addHeaderEntry(o,n)}})}:typeof Headers<"u"&&t instanceof Headers?(this.headers=new Map,t.forEach((r,i)=>{this.addHeaderEntry(i,r)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(t).forEach(([r,i])=>{this.setHeaderEntries(r,i)})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();let r=this.headers.get(t.toLowerCase());return r&&r.length>0?r[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,r){return this.clone({name:t,value:r,op:"a"})}set(t,r){return this.clone({name:t,value:r,op:"s"})}delete(t,r){return this.clone({name:t,value:r,op:"d"})}maybeSetNormalizedName(t,r){this.normalizedNames.has(r)||this.normalizedNames.set(r,t)}init(){this.lazyInit&&(this.lazyInit instanceof Xl?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(t=>this.applyUpdate(t)),this.lazyUpdate=null))}copyFrom(t){t.init();for(let[r,i]of t.headers.entries())this.headers.set(r,i),this.normalizedNames.set(r,t.normalizedNames.get(r))}clone(t){let r=new Xl;return r.lazyInit=this.lazyInit&&this.lazyInit instanceof Xl?this.lazyInit:this,r.lazyUpdate=(this.lazyUpdate||[]).concat([t]),r}applyUpdate(t){let r=t.name.toLowerCase();switch(t.op){case"a":case"s":let i=t.value;if(typeof i=="string"&&(i=[i]),i.length===0)return;this.maybeSetNormalizedName(t.name,r);let o=t.op==="a"?(this.headers.get(r)||[]).slice():[];o.push(...i),this.headers.set(r,o);break;case"d":let n=t.value;if(n===void 0)this.headers.delete(r),this.normalizedNames.delete(r);else{let a=Array.isArray(n)?n:[n],s=this.headers.get(r);if(!s)return;s=s.filter(l=>a.indexOf(l)===-1),s.length===0?(this.headers.delete(r),this.normalizedNames.delete(r)):this.headers.set(r,s)}}}addHeaderEntry(t,r){let i=t.toLowerCase();this.maybeSetNormalizedName(t,i),this.headers.has(i)?this.headers.get(i).push(r):this.headers.set(i,[r])}setHeaderEntries(t,r){let i=(Array.isArray(r)?r:[r]).map(n=>n.toString()),o=t.toLowerCase();this.headers.set(o,i),this.maybeSetNormalizedName(t,o)}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(r=>t(this.normalizedNames.get(r),this.headers.get(r)))}},RN=class{map=new Map;set(e,t){return this.map.set(e,t),this}get(e){return this.map.has(e)||this.map.set(e,e.defaultValue()),this.map.get(e)}delete(e){return this.map.delete(e),this}has(e){return this.map.has(e)}keys(){return this.map.keys()}},ON=class{encodeKey(e){return Z5(e)}encodeValue(e){return Z5(e)}decodeKey(e){return decodeURIComponent(e)}decodeValue(e){return decodeURIComponent(e)}};NN=/%(\d[a-f0-9])/gi,MN={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};Zn=class N2{map;encoder;updates=null;cloneFrom=null;constructor(t={}){if(this.encoder=t.encoder||new ON,t.fromString){if(t.fromObject)throw new L(2805,!1);this.map=PN(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(r=>{let i=t.fromObject[r],o=Array.isArray(i)?i.map(wl):[wl(i)];this.map.set(r,o)})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();let r=this.map.get(t);return r?r[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,r){return this.clone({param:t,value:r,op:"a"})}appendAll(t){let r=[];return Object.keys(t).forEach(i=>{let o=t[i];Array.isArray(o)?o.forEach(n=>{r.push({param:i,value:n,op:"a"})}):r.push({param:i,value:o,op:"a"})}),this.clone(r)}set(t,r){return this.clone({param:t,value:r,op:"s"})}delete(t,r){return this.clone({param:t,value:r,op:"d"})}toString(){return this.init(),this.keys().map(t=>{let r=this.encoder.encodeKey(t);return this.map.get(t).map(i=>r+"="+this.encoder.encodeValue(i)).join("&")}).filter(t=>t!=="").join("&")}clone(t){let r=new N2({encoder:this.encoder});return r.cloneFrom=this.cloneFrom||this,r.updates=(this.updates||[]).concat(t),r}init(){if(this.map===null&&(this.map=new Map),this.cloneFrom!==null){this.cloneFrom.init();for(let[t,r]of this.cloneFrom.map.entries())this.map.set(t,r);this.updates.forEach(t=>{switch(t.op){case"a":case"s":let r=t.op==="a"?(this.map.get(t.param)||[]).slice():[];r.push(wl(t.value)),this.map.set(t.param,r);break;case"d":if(t.value!==void 0){let i=(this.map.get(t.param)||[]).slice(),o=i.indexOf(wl(t.value));o!==-1&&i.splice(o,1),i.length>0?this.map.set(t.param,i):this.map.delete(t.param)}else{this.map.delete(t.param);break}}}),this.cloneFrom=this.updates=null}}};wd="Content-Type",Q5="Accept",M2="text/plain",L2="application/json",$N=`${L2}, ${M2}, */*`,Cd=class F2{url;body=null;headers;context;reportProgress=!1;reportUploadProgress=!1;reportDownloadProgress=!1;withCredentials=!1;credentials;keepalive=!1;cache;priority;mode;redirect;referrer;integrity;referrerPolicy;responseType="json";method;params;urlWithParams;transferCache;timeout;constructor(t,r,i,o){this.url=r,this.method=t.toUpperCase();let n;if(LN(this.method)||o?(this.body=i!==void 0?i:null,n=o):n=i,n){if(this.reportProgress=!!n.reportProgress,this.reportUploadProgress=!!n.reportUploadProgress,this.reportDownloadProgress=!!n.reportDownloadProgress,this.withCredentials=!!n.withCredentials,this.keepalive=!!n.keepalive,n.responseType&&(this.responseType=n.responseType),n.headers&&(this.headers=n.headers),n.context&&(this.context=n.context),n.params&&(this.params=n.params),n.priority&&(this.priority=n.priority),n.cache&&(this.cache=n.cache),n.credentials&&(this.credentials=n.credentials),typeof n.timeout=="number"){if(n.timeout<1||!Number.isInteger(n.timeout))throw new L(2822,"");this.timeout=n.timeout}n.mode&&(this.mode=n.mode),n.redirect&&(this.redirect=n.redirect),n.integrity&&(this.integrity=n.integrity),n.referrer!==void 0&&(this.referrer=n.referrer),n.referrerPolicy&&(this.referrerPolicy=n.referrerPolicy),this.transferCache=n.transferCache}if(this.headers??=new ha,this.context??=new RN,!this.params)this.params=new Zn,this.urlWithParams=r;else{let a=this.params.toString();if(a.length===0)this.urlWithParams=r;else{let s=r,l="",u=r.indexOf("#");u!==-1&&(l=r.substring(u),s=r.substring(0,u));let _=s.indexOf("?"),c=_===-1?"?":_<s.length-1?"&":"";this.urlWithParams=s+c+a+l}}}serializeBody(){return this.body===null?null:typeof this.body=="string"||K5(this.body)||X5(this.body)||Y5(this.body)||FN(this.body)?this.body:this.body instanceof Zn?this.body.toString():typeof this.body=="object"||typeof this.body=="boolean"||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return this.body===null||Y5(this.body)?null:X5(this.body)?this.body.type||null:K5(this.body)?null:typeof this.body=="string"?M2:this.body instanceof Zn?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?L2:null}clone(t={}){let r=t.method||this.method,i=t.url||this.url,o=t.responseType||this.responseType,n=t.keepalive??this.keepalive,a=t.priority||this.priority,s=t.cache||this.cache,l=t.mode||this.mode,u=t.redirect||this.redirect,_=t.credentials||this.credentials,c=t.referrer??this.referrer,h=t.integrity||this.integrity,d=t.referrerPolicy||this.referrerPolicy,b=t.transferCache??this.transferCache,w=t.timeout??this.timeout,I=t.body!==void 0?t.body:this.body,C=t.withCredentials??this.withCredentials,A=t.reportProgress??this.reportProgress,O=t.reportUploadProgress??this.reportUploadProgress,de=t.reportDownloadProgress??this.reportDownloadProgress,se=t.headers||this.headers,Be=t.params||this.params,pt=t.context??this.context;return t.setHeaders!==void 0&&(se=Object.keys(t.setHeaders).reduce((Ye,Me)=>Ye.set(Me,t.setHeaders[Me]),se)),t.setParams&&(Be=Object.keys(t.setParams).reduce((Ye,Me)=>Ye.set(Me,t.setParams[Me]),Be)),new F2(r,i,I,{params:Be,headers:se,context:pt,reportProgress:A,reportUploadProgress:O,reportDownloadProgress:de,responseType:o,withCredentials:C,transferCache:b,keepalive:n,cache:s,priority:a,timeout:w,mode:l,redirect:u,credentials:_,referrer:c,integrity:h,referrerPolicy:d})}},Kn=(function(e){return e[e.Sent=0]="Sent",e[e.UploadProgress=1]="UploadProgress",e[e.ResponseHeader=2]="ResponseHeader",e[e.DownloadProgress=3]="DownloadProgress",e[e.Response=4]="Response",e[e.User=5]="User",e})(Kn||{}),Bv=class{headers;status;statusText;url;ok;type;redirected;responseType;constructor(e,t=200,r="OK"){this.headers=e.headers||new ha,this.status=e.status!==void 0?e.status:t,this.statusText=e.statusText||r,this.url=e.url||null,this.redirected=e.redirected,this.responseType=e.responseType,this.ok=this.status>=200&&this.status<300}},HN=class $2 extends Bv{constructor(t={}){super(t)}type=Kn.ResponseHeader;clone(t={}){return new $2({headers:t.headers||this.headers,status:t.status!==void 0?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}},H2=class U2 extends Bv{body;constructor(t={}){super(t),this.body=t.body!==void 0?t.body:null}type=Kn.Response;clone(t={}){return new U2({body:t.body!==void 0?t.body:this.body,headers:t.headers||this.headers,status:t.status!==void 0?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0,redirected:t.redirected??this.redirected,responseType:t.responseType??this.responseType})}},Cl=class extends Bv{name="HttpErrorResponse";message;error;ok=!1;constructor(e){super(e,0,"Unknown Error"),this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${e.url||"(unknown url)"}`:this.message=`Http failure response for ${e.url||"(unknown url)"}: ${e.status} ${e.statusText}`,this.error=e.error||null}},UN=200,VN=/^\)\]\}',?\n/,jN=new q("",{factory:()=>null}),yp=(()=>{class e{fetchImpl=S(qN,{optional:!0})?.fetch??((...r)=>globalThis.fetch(...r));ngZone=S(li);destroyRef=S(si);maxResponseSize=S(jN);handle(r){return new _t(i=>{let o=new AbortController,n=!1,a={next:l=>{l.type===Kn.Response&&(n=!0),i.next(l)},error:l=>{n=!0,i.error(l)},complete:()=>{n=!0,i.complete()}};this.doRequest(r,o.signal,a).then(wp,l=>a.error(new Cl({error:l})));let s;return r.timeout&&(s=this.ngZone.runOutsideAngular(()=>setTimeout(()=>{o.signal.aborted||o.abort(new DOMException("signal timed out","TimeoutError"))},r.timeout))),()=>{s!==void 0&&clearTimeout(s),!n&&!o.signal.aborted&&o.abort()}})}async doRequest(r,i,o){let n=this.createRequestInit(r),a;try{let I=this.ngZone.runOutsideAngular(()=>this.fetchImpl(r.urlWithParams,E({signal:i},n)));GN(I),o.next({type:Kn.Sent}),a=await I}catch(I){o.error(new Cl({error:I,status:I.status??0,statusText:I.statusText,url:r.urlWithParams,headers:I.headers}));return}let s=new ha(a.headers),l=a.statusText,u=a.url||r.urlWithParams,_=a.status,c=null,h=r.reportProgress||r.reportDownloadProgress;if(h&&o.next(new HN({headers:s,status:_,statusText:l,url:u})),a.body){let I=a.headers.get(wd)??"",C=a.headers.get("content-length"),A=C!==null?Number(C):NaN;this.maxResponseSize!==null&&Number.isFinite(A)&&A>this.maxResponseSize&&(await a.body.cancel(),J5(this.maxResponseSize));let O=[],de=a.body.getReader(),se=0,Be,pt,Ye=typeof Zone<"u"&&Zone.current,Me=!1;if(await this.ngZone.runOutsideAngular(async()=>{for(;;){if(this.destroyRef.destroyed){await de.cancel(),Me=!0;break}let{done:le,value:st}=await de.read();if(le)break;if(O.push(st),se+=st.length,this.maxResponseSize!==null&&se>this.maxResponseSize&&(await de.cancel(),J5(this.maxResponseSize)),h){pt=r.responseType==="text"?(pt??"")+(Be??=eb(I)).decode(st,{stream:!0}):void 0;let dn=()=>o.next({type:Kn.DownloadProgress,total:Number.isFinite(A)?A:void 0,loaded:se,partialText:pt});Ye?Ye.run(dn):dn()}}}),Me){o.complete();return}let Wt=this.concatChunks(O,se);try{c=this.parseBody(r,Wt,I,_)}catch(le){o.error(new Cl({error:le,headers:new ha(a.headers),status:a.status,statusText:a.statusText,url:a.url||r.urlWithParams}));return}}_===0&&(_=c?UN:0);let d=_>=200&&_<300,b=a.redirected,w=a.type;d?(o.next(new H2({body:c,headers:s,status:_,statusText:l,url:u,redirected:b,responseType:w})),o.complete()):o.error(new Cl({error:c,headers:s,status:_,statusText:l,url:u,redirected:b,responseType:w}))}parseBody(r,i,o,n){switch(r.responseType){case"json":let a=new TextDecoder().decode(i).replace(VN,"");if(a==="")return null;try{return JSON.parse(a)}catch(s){if(n<200||n>=300)return a;throw s}case"text":return eb(o).decode(i);case"blob":return new Blob([i],{type:o});case"arraybuffer":return i.buffer}}createRequestInit(r){if(r.reportUploadProgress)throw new L(2824,!1);let i={},o;if(o=r.credentials,r.withCredentials&&(o="include"),r.headers.forEach((n,a)=>i[n]=a.join(",")),r.headers.has(Q5)||(i[Q5]=$N),!r.headers.has(wd)){let n=r.detectContentTypeHeader();n!==null&&(i[wd]=n)}return{body:r.serializeBody(),method:r.method,headers:i,credentials:o,keepalive:r.keepalive,cache:r.cache,priority:r.priority,mode:r.mode,redirect:r.redirect,referrer:r.referrer,integrity:r.integrity,referrerPolicy:r.referrerPolicy}}concatChunks(r,i){let o=new Uint8Array(i),n=0;for(let a of r)o.set(a,n),n+=a.length;return o}static \u0275fac=function(r){return new(r||e)};static \u0275prov=Os({token:e,factory:e.\u0275fac})}return e})(),qN=class{};WN=/charset=\s*["']?([^;"'\s]+)["']?/i;ZN=new q("",{factory:()=>!0}),KN="XSRF-TOKEN",XN=new q("",{factory:()=>KN}),YN="X-XSRF-TOKEN",QN=new q("",{factory:()=>YN}),JN=(()=>{class e{cookieName=S(XN);doc=S(ai);lastCookieString="";lastToken=null;parseCount=0;getToken(){let r=this.doc.cookie||"";return r!==this.lastCookieString&&(this.parseCount++,this.lastToken=t2(r,this.cookieName),this.lastCookieString=r),this.lastToken}static \u0275fac=function(r){return new(r||e)};static \u0275prov=Os({token:e,factory:e.\u0275fac})}return e})(),eM=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=xe({token:e,factory:function(r){let i=null;return r?i=new(r||e):i=ae(JN),i},providedIn:"root"})}return e})();j2=new q("",{factory:()=>[V2]}),iM=new q(""),oM=new q("",{factory:()=>!0}),q2=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=xe({token:e,factory:function(r){let i=null;return r?i=new(r||e):i=ae(yp),i},providedIn:"root"})}return e})(),Cp=(()=>{class e{backend;injector;chain=null;pendingTasks=S(OR);contributeToStability=S(oM);constructor(r,i){this.backend=r,this.injector=i}handle(r){if(this.chain===null){let o=this.injector.get(Ev,null,{skipSelf:!0}),n=o!==null&&this.backend===o,a=this.injector.get(iM,[],n?{self:!0}:void 0),s=Array.from(new Set([...this.injector.get(j2),...a]));this.chain=s.reduceRight((l,u)=>rM(l,u,this.injector),tM)}let i=this.chain;if(this.contributeToStability){let o=this.pendingTasks.add();return Vt(()=>i(r,n=>this.backend.handle(n))).pipe(oz(o))}else return Vt(()=>i(r,o=>this.backend.handle(o)))}static \u0275fac=function(r){return new(r||e)(ae(q2),ae(Yo))};static \u0275prov=xe({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Ev=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=xe({token:e,factory:function(r){let i=null;return r?i=new(r||e):i=ae(Cp),i},providedIn:"root"})}return e})();G2=(()=>{class e{handler;constructor(r){this.handler=r}request(r,i,o={}){let n;if(r instanceof Cd)n=r;else{let l;o.headers instanceof ha?l=o.headers:l=new ha(o.headers);let u;o.params&&(o.params instanceof Zn?u=o.params:u=new Zn({fromObject:o.params})),n=new Cd(r,i,o.body!==void 0?o.body:null,{headers:l,context:o.context,params:u,reportProgress:o.reportProgress,reportUploadProgress:o.reportUploadProgress,reportDownloadProgress:o.reportDownloadProgress,responseType:o.responseType||"json",withCredentials:o.withCredentials,transferCache:o.transferCache,keepalive:o.keepalive,priority:o.priority,cache:o.cache,mode:o.mode,redirect:o.redirect,credentials:o.credentials,referrer:o.referrer,referrerPolicy:o.referrerPolicy,integrity:o.integrity,timeout:o.timeout})}let a=FD(n).pipe(iz(l=>this.handler.handle(l)));if(r instanceof Cd||o.observe==="events")return a;let s=a.pipe(rz(l=>l instanceof H2));switch(o.observe||"body"){case"body":switch(n.responseType){case"arraybuffer":return s.pipe(to(l=>{if(l.body!==null&&!(l.body instanceof ArrayBuffer))throw new L(2806,!1);return l.body}));case"blob":return s.pipe(to(l=>{if(l.body!==null&&!(l.body instanceof Blob))throw new L(2807,!1);return l.body}));case"text":return s.pipe(to(l=>{if(l.body!==null&&typeof l.body!="string")throw new L(2808,!1);return l.body}));default:return s.pipe(to(l=>l.body))}case"response":return s;default:throw new L(2809,!1)}}delete(r,i={}){return this.request("DELETE",r,i)}get(r,i={}){return this.request("GET",r,i)}head(r,i={}){return this.request("HEAD",r,i)}jsonp(r,i){return this.request("JSONP",r,{params:new Zn().append(i,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(r,i={}){return this.request("OPTIONS",r,i)}patch(r,i,o={}){return this.request("PATCH",r,xd(o,i))}post(r,i,o={}){return this.request("POST",r,xd(o,i))}put(r,i,o={}){return this.request("PUT",r,xd(o,i))}static \u0275fac=function(r){return new(r||e)(ae(Ev))};static \u0275prov=xe({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();W2="[A-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\u0561-\u0587\u05D0-\u05EA\u05F0-\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\u08A0-\u08B4\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\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\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\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-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\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-\u2C2E\u2C30-\u2C5E\u2C60-\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-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AD\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\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-\uAB65\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]";new RegExp(W2,"g");new RegExp(`(${W2})+`,"g");Z2="[0-9\u0660-\u0669\u06F0-\u06F9\u07C0-\u07C9\u0966-\u096F\u09E6-\u09EF\u0A66-\u0A6F\u0AE6-\u0AEF\u0B66-\u0B6F\u0BE6-\u0BEF\u0C66-\u0C6F\u0CE6-\u0CEF\u0D66-\u0D6F\u0DE6-\u0DEF\u0E50-\u0E59\u0ED0-\u0ED9\u0F20-\u0F29\u1040-\u1049\u1090-\u1099\u17E0-\u17E9\u1810-\u1819\u1946-\u194F\u19D0-\u19D9\u1A80-\u1A89\u1A90-\u1A99\u1B50-\u1B59\u1BB0-\u1BB9\u1C40-\u1C49\u1C50-\u1C59\uA620-\uA629\uA8D0-\uA8D9\uA900-\uA909\uA9D0-\uA9D9\uA9F0-\uA9F9\uAA50-\uAA59\uABF0-\uABF9\uFF10-\uFF19]";new RegExp(Z2,"g");new RegExp(`(${Z2})+`,"g");Dv={originX:"center",originY:"bottom",overlayX:"center",overlayY:"top",offsetY:16},lM=te(E({},Dv),{overlayX:"start",originX:"start"}),uM=te(E({},Dv),{overlayX:"end",originX:"end"}),zv={originX:"center",originY:"top",overlayX:"center",overlayY:"bottom",offsetY:-16},cM=te(E({},zv),{overlayX:"start",originX:"start"}),_M=te(E({},zv),{overlayX:"end",originX:"end"}),K2=class{},Lu=(()=>{class e extends K2{static{this.global={top:"1rem",center:!0}}static{this.connected=Dv}}return e})(),Fu=(()=>{class e extends K2{static{this.global={bottom:"1rem",center:!0}}static{this.connected=zv}}return e})(),XL=class extends Lu{static{this.global=te(E({},Lu.global),{left:"1rem",center:!1})}static{this.connected=lM}},YL=class extends Lu{static{this.global=te(E({},Lu.global),{right:"1rem",center:!1})}static{this.connected=uM}},QL=class extends Fu{static{this.global=te(E({},Fu.global),{left:"1rem",center:!1})}static{this.connected=cM}},JL=class extends Fu{static{this.global=te(E({},Fu.global),{right:"1rem",center:!1})}static{this.connected=_M}};Math.pow(2,31)-1;dM="global",hM="default",K=(function(e){return e.COZY="cozy",e.CONDENSED="condensed",e.COMPACT="compact",e})(K||{}),pM=new q("ContentDensityDirective"),fM=class{},X2=(()=>{class e{get currentContentDensity(){return this.currentDensitySignal()}constructor(){this._storage=S(fM),this._injector=S(ht),this.currentDensitySignal=this._storage.contentDensity}contentDensityListener(){return is(this._storage.contentDensity,{injector:this._injector})}updateContentDensity(r){this._storage.setContentDensity(r)}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=xe({token:e,factory:e.\u0275fac})}}return e})(),vM=class{},gM=e=>ir(()=>{let t=e.parentContentDensityObserver?e.parentContentDensityObserver():e.contentDensityDirective?e.contentDensityDirective():e.contentDensityService?.currentDensitySignal()??e.defaultContentDensity;return t===hM?e.defaultContentDensity:t===dM?e.contentDensityService?.currentDensitySignal()??e.defaultContentDensity:t}),Y2={modifiers:{[K.COMPACT]:"is-compact",[K.COZY]:"is-cozy",[K.CONDENSED]:"is-condensed"},supportedContentDensity:[K.COMPACT,K.COZY],defaultContentDensity:K.COZY,debug:!1,alwaysAddModifiers:!1,restrictChildContentDensity:!1,ui5Markers:{enabled:!0}},mM=e=>!!(e&&e.useFactory),bM=(e,t)=>(t.deps||[]).map(r=>{if(Array.isArray(r)){let i,o={};for(let n=0;n<r.length;n++){let a=r[n].__NG_DI_FLAG__;typeof a=="number"?o=te(E({},o),{flag:a}):i=r[n]}return e.get(i,void 0,o)}return e.get(r,void 0,{})}),yM=(e,t)=>{if(typeof t.defaultContentDensity=="string")return t.defaultContentDensity;if(mM(t.defaultContentDensity)){let r=bM(e,t.defaultContentDensity);return t.defaultContentDensity.useFactory(...r)}return e.get(t.defaultContentDensity,void 0,void 0)},wM=(e,t)=>e.get(X2,null,{optional:!0})?.currentContentDensity||yM(e,E(E({},Y2),t||{})),Ni=(()=>{class e{get value(){return this._contentDensity()}get isCompact(){return this.isCompactSignal()}get isCozy(){return this.isCozySignal()}get isCondensed(){return this.isCondensedSignal()}constructor(r,i){this._destroyRef=S(si),this._alternativeTo={[K.COMPACT]:()=>this._isSupported(K.CONDENSED)?K.CONDENSED:K.COZY,[K.CONDENSED]:()=>this._isSupported(K.COMPACT)?K.COMPACT:K.COZY,[K.COZY]:()=>K.COZY},this._globalContentDensityService=S(X2,{optional:!0}),this._contentDensityDirective=S(pM,{optional:!0}),this._parentContentDensityObserver=S(e,{optional:!0,skipSelf:!0}),this._renderer=S(pc),this._elementRef=S(er),this._elements=[this._elementRef],this.config=E(E(E({},Y2),this._parentContentDensityObserver?.config??{}),i||{});let o=wM(r,i);this._changesSource=gM({defaultContentDensity:o,contentDensityDirective:this._contentDensityDirective?.densityMode,contentDensityService:this._globalContentDensityService??void 0,parentContentDensityObserver:this.config.restrictChildContentDensity?this._parentContentDensityObserver?.contentDensity:void 0}),this._contentDensity=rP({source:this._changesSource,computation:n=>!n||typeof n!="string"?K.COZY:this._validateAndFallback(n)}),this.contentDensity=this._contentDensity.asReadonly(),this.isCompactSignal=ir(()=>this._contentDensity()===K.COMPACT),this.isCozySignal=ir(()=>this._contentDensity()===K.COZY),this.isCondensedSignal=ir(()=>this._contentDensity()===K.CONDENSED),this.contentDensity$=this.contentDensity,this.isCompact$=is(this.isCompactSignal,{injector:r}),this.isCozy$=is(this.isCozySignal,{injector:r}),this.isCondensed$=is(this.isCondensedSignal,{injector:r}),this.contentDensity$$=is(this._contentDensity,{injector:r}),br(()=>{let n=this._contentDensity();this._applyClass(n)}),V6(()=>{this._applyClass(this._contentDensity())}),this._destroyRef.onDestroy(()=>{this._cleanup(),this.config.debug&&console.warn("ContentDensityObserver: destroyed")})}consume(...r){this._elements.concat(...r.map(i=>i.elementRef))}complete(){this._cleanup()}asObservable(){return this.contentDensity$$}subscribe(r){return this.contentDensity$$.subscribe(r)}removeConsumer(r){this._elements.splice(this._elements.indexOf(r.elementRef),1)}_validateAndFallback(r){if(this.config.debug&&console.warn(`ContentDensityObserver: density changed to ${r}`),!this._isSupported(r))try{return this.config.debug&&console.warn(`ContentDensityObserver: ${r} is not supported. Failing back to alternative one.`),this._alternativeTo[r]()}catch{throw new Error(`ContentDensityObserver: density ${r} is not supported`)}return r}_cleanup(){this._parentContentDensityObserver=null,this._contentDensityDirective=null,this._globalContentDensityService=null,this._elementRef=null,this._renderer=null,this._elements=[]}_applyClass(r){if(!this.config?.modifiers)return;let i=this.config.modifiers,o=r??this._contentDensity(),n=this._parentContentDensityObserver?.value===o;this._elements.forEach(a=>{if(Object.values(i).forEach(l=>{this._renderer?.removeClass(a?.nativeElement,l)}),this._applyUi5Marker(a?.nativeElement,o,n),n&&!this.config.alwaysAddModifiers)return;let s=i[o];s&&this._renderer?.addClass(a?.nativeElement,s)})}_applyUi5Marker(r,i,o){if(!this.config.ui5Markers?.enabled||!r||!this._renderer||!(r instanceof HTMLElement))return;let n="data-ui5-compact-size";if(o&&!this.config.alwaysAddModifiers){this._renderer.removeAttribute(r,n);return}i===K.COMPACT||i===K.CONDENSED?this._renderer.setAttribute(r,n,""):this._renderer.removeAttribute(r,n)}_isSupported(r){return this.config.supportedContentDensity?.includes(r)??!1}static{this.\u0275fac=function(r){return new(r||e)(ae(ht),ae(vM))}}static{this.\u0275prov=xe({token:e,factory:e.\u0275fac})}}return e})();Rv=(()=>{class e{constructor(){this.accessibilityAttributes=k({}),this.accessibleDescription=k(),this.accessibleName=k(),this.accessibleNameRef=k(),this.accessibleRole=k("Button"),this.design=k("Default"),this.disabled=k(!1,{transform:Re}),this.endIcon=k(),this.form=k(),this.icon=k(),this.loading=k(!1,{transform:Re}),this.loadingDelay=k(1e3),this.submits=k(!1,{transform:Re}),this.tooltip=k(),this.type=k("Button"),this.ui5Click=it(),this.slots=[{name:"badge",description:"Adds a badge to the button.",since:"2.7.0"},{name:"default",description:`Defines the text of the component.
|
|
87
87
|
|
|
88
88
|
**Note:** Although this slot accepts HTML Elements, it is strongly recommended that you only use text in order to preserve the intended design.`}],this.elementRef=S(er),this.injector=S(ht),this._contentDensityObserver=S(Ni)}get element(){return this.elementRef.nativeElement}ngAfterViewInit(){let r=this.element;for(let i of["accessibilityAttributes","accessibleDescription","accessibleName","accessibleNameRef","accessibleRole","design","disabled","endIcon","form","icon","loading","loadingDelay","submits","tooltip","type"]){let o=i.replace(/-./g,n=>n[1].toUpperCase());this[o]&&typeof this[o]=="function"&&Fr(this.injector,()=>{br(()=>{let n=this[o]();if(r){if(n===void 0&&r[i])return;r[i]=n}})})}for(let i of["ui5Click"]){let o=i.replace("ui5","").replace(/([A-Z])/g,"-$1").toLowerCase().substring(1);this[i]&&typeof this[i].emit=="function"&&r.addEventListener&&r.addEventListener(o,n=>{this[i].emit(n)})}}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275cmp=(function(){return wr({type:e,selectors:[["ui5-button"],["","ui5-button",""]],inputs:{accessibilityAttributes:[1,"accessibilityAttributes"],accessibleDescription:[1,"accessibleDescription"],accessibleName:[1,"accessibleName"],accessibleNameRef:[1,"accessibleNameRef"],accessibleRole:[1,"accessibleRole"],design:[1,"design"],disabled:[1,"disabled"],endIcon:[1,"endIcon"],form:[1,"form"],icon:[1,"icon"],loading:[1,"loading"],loadingDelay:[1,"loadingDelay"],submits:[1,"submits"],tooltip:[1,"tooltip"],type:[1,"type"]},outputs:{ui5Click:"ui5Click"},exportAs:["ui5Button"],features:[ar([bo({supportedContentDensity:[K.COMPACT,K.COZY]})])],ngContentSelectors:["*"],decls:1,vars:0,template:function(r,i){r&1&&(go(),mo(0))},encapsulation:2})})()}}return e})(),Ov=new q("CVA_CONFIG"),Q2=(()=>{class e{constructor(){this.elementRef=S(er),this.cdr=S(QC),this.config=S(Ov,{optional:!0}),this._value=null,this._valueSet=!1,this._initialized=!1,this._disabled=!1}get effectiveConfig(){return this.config||{property:"value",events:["change","input"],transformValue:r=>r||""}}ngAfterViewInit(){requestAnimationFrame(()=>{this.initializeComponent()})}setDisabledState(r){this._disabled=r;let i=this.elementRef.nativeElement;i&&this._initialized&&(i.disabled=r,this.cdr.markForCheck())}registerOnChange(r){this.onChange=r}registerOnTouched(r){this.onTouched=r}writeValue(r){this._value=r,this._valueSet=!0,this._initialized&&this.updateElementValue(r)}initializeComponent(){let r=this.elementRef.nativeElement,i=this.effectiveConfig;if(this._initialized=!0,r&&r.addEventListener){for(let o of i.events)r.addEventListener(o,n=>{if(this.onChange){let a=this.getValueToEmit(i,n);if(a!==void 0){let s=i.transformValue?i.transformValue(a):a;this.onChange(s),this.cdr.markForCheck()}}});r.addEventListener("focusout",()=>{this.onTouched&&(this.onTouched(),this.cdr.markForCheck())})}this._valueSet&&this.updateElementValue(this._value),this._disabled&&(r.disabled=this._disabled)}getValueToEmit(r,i){return r.isRadioButton?i.target.checked?i.target.value:void 0:i.target[r.property]}updateElementValue(r){let i=this.elementRef.nativeElement,o=this.effectiveConfig;if(i&&this._initialized){if(o.isRadioButton)i.checked=i.value===r;else{let n=o.transformValue?o.transformValue(r):r;i[o.property]=n}this.cdr.markForCheck()}}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275dir=Hr({type:e,selectors:[["","noop",""]],features:[ar([{provide:gv,useExisting:ln(()=>e),multi:!0}])]})}}return e})(),J2=(()=>{class e{constructor(){this.accessibleDescription=k(),this.accessibleDescriptionRef=k(),this.accessibleName=k(),this.accessibleNameRef=k(),this.disabled=k(!1,{transform:Re}),this.filter=k("None"),this.maxlength=k(),this.name=k(),this.noTypeahead=k(!1,{transform:Re}),this.open=k(!1,{transform:Re}),this.placeholder=k(),this.readonly=k(!1,{transform:Re}),this.required=k(!1,{transform:Re}),this.showClearIcon=k(!1,{transform:Re}),this.showSuggestions=k(!1,{transform:Re}),this.type=k("Text"),this.value=k(""),this.valueState=k("None"),this.ui5Change=it(),this.ui5Close=it(),this.ui5Input=it(),this.ui5Open=it(),this.ui5Select=it(),this.ui5SelectionChange=it(),this.slots=[{name:"default",description:"Defines the suggestion items.\n\n**Note:** The suggestions would be displayed only if the `showSuggestions`\nproperty is set to `true`.\n\n**Note:** The `<ui5-suggestion-item>`, `<ui5-suggestion-item-group>` and `ui5-suggestion-item-custom` are recommended to be used as suggestion items.\n\n**Note:** Input with type `Number` does not support suggestions."},{name:"icon",description:"Defines the icon to be displayed in the component."},{name:"valueStateMessage",description:"Defines the value state message that will be displayed as pop up under the component.\nThe value state message slot should contain only one root element.\n\n**Note:** If not specified, a default text (in the respective language) will be displayed.\n\n**Note:** The `valueStateMessage` would be displayed,\nwhen the component is in `Information`, `Critical` or `Negative` value state.\n\n**Note:** If the component has `suggestionItems`,\nthe `valueStateMessage` would be displayed as part of the same popover, if used on desktop, or dialog - on phone.",since:"1.0.0-rc.6"}],this.elementRef=S(er),this.injector=S(ht),this._contentDensityObserver=S(Ni)}get element(){return this.elementRef.nativeElement}ngAfterViewInit(){let r=this.element;for(let i of["accessibleDescription","accessibleDescriptionRef","accessibleName","accessibleNameRef","disabled","filter","maxlength","name","noTypeahead","open","placeholder","readonly","required","showClearIcon","showSuggestions","type","value","valueState"]){let o=i.replace(/-./g,n=>n[1].toUpperCase());this[o]&&typeof this[o]=="function"&&Fr(this.injector,()=>{br(()=>{let n=this[o]();if(r){if(n===void 0&&r[i])return;r[i]=n}})})}for(let i of["ui5Change","ui5Close","ui5Input","ui5Open","ui5Select","ui5SelectionChange"]){let o=i.replace("ui5","").replace(/([A-Z])/g,"-$1").toLowerCase().substring(1);this[i]&&typeof this[i].emit=="function"&&r.addEventListener&&r.addEventListener(o,n=>{this[i].emit(n)})}}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275cmp=(function(){return wr({type:e,selectors:[["ui5-input"],["","ui5-input",""]],inputs:{accessibleDescription:[1,"accessibleDescription"],accessibleDescriptionRef:[1,"accessibleDescriptionRef"],accessibleName:[1,"accessibleName"],accessibleNameRef:[1,"accessibleNameRef"],disabled:[1,"disabled"],filter:[1,"filter"],maxlength:[1,"maxlength"],name:[1,"name"],noTypeahead:[1,"noTypeahead"],open:[1,"open"],placeholder:[1,"placeholder"],readonly:[1,"readonly"],required:[1,"required"],showClearIcon:[1,"showClearIcon"],showSuggestions:[1,"showSuggestions"],type:[1,"type"],value:[1,"value"],valueState:[1,"valueState"]},outputs:{ui5Change:"ui5Change",ui5Close:"ui5Close",ui5Input:"ui5Input",ui5Open:"ui5Open",ui5Select:"ui5Select",ui5SelectionChange:"ui5SelectionChange"},exportAs:["ui5Input"],features:[ar([bo({supportedContentDensity:[K.COMPACT,K.COZY]}),{provide:Ov,useValue:{property:"value",events:["change","input"],transformValue:r=>r||""}}]),PC([Q2])],ngContentSelectors:["*"],decls:1,vars:0,template:function(r,i){r&1&&(go(),mo(0))},encapsulation:2})})()}}return e})(),ex=(()=>{class e{constructor(){this.for=k(),this.required=k(!1,{transform:Re}),this.showColon=k(!1,{transform:Re}),this.wrappingType=k("Normal"),this.slots=[{name:"default",description:`Defines the text of the component.
|
|
@@ -93,10 +93,10 @@ ${t.map((r,i)=>`${i+1}) ${r.toString()}`).join(`
|
|
|
93
93
|
**Note:** While the slot allows custom buttons, to match
|
|
94
94
|
design guidelines, please use the \`ui5-button\` component.
|
|
95
95
|
**Note:** When the slot is not present, a built-in delete button will be displayed.`,since:"1.9.0"}],this.elementRef=S(er),this.injector=S(ht),this._contentDensityObserver=S(Ni)}get element(){return this.elementRef.nativeElement}ngAfterViewInit(){let r=this.element;for(let i of["accessibilityAttributes","accessibleName","accessibleRole","highlight","movable","navigated","selected","tooltip","type"]){let o=i.replace(/-./g,n=>n[1].toUpperCase());this[o]&&typeof this[o]=="function"&&Fr(this.injector,()=>{br(()=>{let n=this[o]();if(r){if(n===void 0&&r[i])return;r[i]=n}})})}for(let i of["ui5Click","ui5DetailClick"]){let o=i.replace("ui5","").replace(/([A-Z])/g,"-$1").toLowerCase().substring(1);this[i]&&typeof this[i].emit=="function"&&r.addEventListener&&r.addEventListener(o,n=>{this[i].emit(n)})}}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275cmp=(function(){return wr({type:e,selectors:[["ui5-li-custom"],["","ui5-li-custom",""]],inputs:{accessibilityAttributes:[1,"accessibilityAttributes"],accessibleName:[1,"accessibleName"],accessibleRole:[1,"accessibleRole"],highlight:[1,"highlight"],movable:[1,"movable"],navigated:[1,"navigated"],selected:[1,"selected"],tooltip:[1,"tooltip"],type:[1,"type"]},outputs:{ui5Click:"ui5Click",ui5DetailClick:"ui5DetailClick"},exportAs:["ui5ListItemCustom"],features:[ar([bo({supportedContentDensity:[K.COMPACT,K.COZY]})])],ngContentSelectors:["*"],decls:1,vars:0,template:function(r,i){r&1&&(go(),mo(0))},encapsulation:2})})()}}return e})();re("less",{pathData:"M14.5 7c.333 0 .5.167.5.5v1c0 .333-.167.5-.5.5h-13a.503.503 0 0 1-.344-.14A.462.462 0 0 1 1 8.5v-1c0-.146.052-.266.156-.36A.503.503 0 0 1 1.5 7h13Z",ltr:!1,viewBox:"0 0 16 16",collection:"SAP-icons-v4",packageName:"@ui5/webcomponents-icons"});re("less",{pathData:"M14.25 7a.75.75 0 0 1 0 1.5H1.75a.75.75 0 0 1 0-1.5h12.5Z",ltr:!1,viewBox:"0 0 16 16",collection:"SAP-icons-v5",packageName:"@ui5/webcomponents-icons"});(function(e){e.Textual="Textual",e.Graphical="Graphical"})(xp||(xp={}));CM=xp;B("@ui5/webcomponents-theming","sap_horizon",async()=>J);B("@ui5/webcomponents","sap_horizon",async()=>ee,"host");SM=`.ui5-hidden-text{position:absolute;clip:rect(1px,1px,1px,1px);user-select:none;left:-1000px;top:-1000px;pointer-events:none;font-size:0}:host{-webkit-tap-highlight-color:rgba(0,0,0,0)}:host{vertical-align:middle}:host(:not([hidden])){display:inline-block}.ui5-switch-root{position:relative;display:flex;align-items:center;width:var(--_ui5_switch_width);height:var(--_ui5_switch_height);min-width:var(--_ui5_switch_min_width);cursor:pointer;outline:none;border-radius:var(--_ui5-switch-root-border-radius)}.ui5-switch-root:not(.ui5-switch--no-label):not(.ui5-switch--semantic){width:var(--_ui5_switch_with_label_width);height:var(--_ui5_switch_height)}.ui5-switch-root.ui5-switch--no-label{min-width:var(--_ui5_switch_width)}.ui5-switch-inner{display:flex;align-items:center;justify-content:center;height:100%;width:100%;min-width:inherit;overflow:hidden;pointer-events:none;will-change:transform}:host([checked]) .ui5-switch-inner{border-radius:6.25rem;box-shadow:var(--_ui5-switch-root-box-shadow)}.ui5-switch-track{display:flex;align-items:center;height:var(--_ui5_switch_track_height);width:var(--_ui5_switch_track_width);border:var(--_ui5-switch-track-border);border-radius:var(--_ui5_switch_track_border_radius);box-sizing:border-box;transition:var(--_ui5_switch_track_transition)}.ui5-switch-root:not(.ui5-switch--no-label):not(.ui5-switch--semantic) .ui5-switch-track{height:var(--_ui5_switch_track_with_label_height);width:var(--_ui5_switch_track_with_label_width)}.ui5-switch-slider{position:relative;height:var(--_ui5_switch_height);width:100%;transition:transform .1s ease-in;transform-origin:top left}.ui5-switch-slider>*:not(.ui5-switch-handle){display:var(--_ui5-switch-slider-texts-display)}.ui5-switch-handle{position:absolute;display:flex;justify-content:center;align-items:center;width:var(--_ui5_switch_handle_width);height:var(--_ui5_switch_handle_height);border:var(--_ui5_switch_handle_border);border-radius:var(--_ui5_switch_handle_border_radius);box-sizing:border-box}.ui5-switch-root:not(.ui5-switch--no-label):not(.ui5-switch--semantic) .ui5-switch-handle{height:var(--_ui5_switch_handle_with_label_height);width:var(--_ui5_switch_handle_with_label_width)}.ui5-switch-text{display:flex;justify-content:center;position:absolute;z-index:var(--_ui5_switch_text_z_index);min-width:var(--_ui5_switch_text_min_width);font-size:var(--_ui5_switch_text_font_size);font-family:var(--_ui5-switch-text_font_family);text-transform:uppercase;text-align:center;white-space:nowrap;user-select:none;-webkit-user-select:none}.ui5-switch-handle,.ui5-switch-text{inset-inline-start:var(--_ui5_switch_handle_left);top:50%;transform:translateY(-50%)}.ui5-switch-root:focus-visible:after,.ui5-switch--desktop.ui5-switch-root:focus-within:after{content:"";position:absolute;inset-inline-start:var(--_ui5_switch_root_outline_left);inset-inline-end:var(--_ui5_switch_root_outline_right);top:var(--_ui5_switch_root_outline_top);bottom:var(--_ui5_switch_root_outline_bottom);border:var(--_ui5_switch_focus_outline);border-radius:var(--_ui5_switch_root_after_boreder_radius);pointer-events:none;transition:var(--_ui5_switch_track_transition);outline:var(--_ui5_switch_root_after_outline)}.ui5-switch-root .ui5-switch-input{position:absolute;inset-inline-start:0;width:0;height:0;margin:0;visibility:hidden;appearance:none;-webkit-appearance:none}.ui5-switch-root.ui5-switch--disabled{opacity:var(--_ui5_switch_disabled_opacity);cursor:default}.ui5-switch-root.ui5-switch--checked .ui5-switch-text--off,.ui5-switch-root.ui5-switch--checked .ui5-switch-text--readonly{visibility:var(--_ui5_switch_text_hidden)}.ui5-switch-root:not(.ui5-switch--checked) .ui5-switch-text--on,.ui5-switch-root:not(.ui5-switch--checked) .ui5-switch-text--readonly{visibility:var(--_ui5_switch_text_hidden)}.ui5-switch-root.ui5-switch--checked.ui5-switch--semantic .ui5-switch-text--on,.ui5-switch-root.ui5-switch--checked.ui5-switch--desktop.ui5-switch--no-label .ui5-switch-text--on{inset-inline-start:var(--_ui5_switch_text_active_left)}.ui5-switch-root:not(.ui5-switch--checked).ui5-switch--semantic .ui5-switch-text--off,.ui5-switch-root:not(.ui5-switch--checked).ui5-switch--desktop.ui5-switch--no-label .ui5-switch-text--off{inset-inline-start:var(--_ui5_switch_text_inactive_left);inset-inline-end:var(--_ui5_switch_text_inactive_right)}.ui5-switch-root.ui5-switch--checked .ui5-switch-handle{background:var(--_ui5_switch_handle_active_background_color);border-color:var(--_ui5_switch_handle_active_border_color)}.ui5-switch-root:not(.ui5-switch--checked) .ui5-switch-handle{background:var(--_ui5_switch_handle_inactive_background_color);border-color:var(--_ui5_switch_handle_inactive_border_color)}.ui5-switch--desktop.ui5-switch-root.ui5-switch--checked:not(.ui5-switch--disabled):hover .ui5-switch-handle{background:var(--_ui5_switch_handle_hover_active_background_color);border-color:var(--_ui5_switch_handle_hover_active_border_color)}.ui5-switch--desktop.ui5-switch-root:not(.ui5-switch--disabled):not(.ui5-switch--checked):hover .ui5-switch-handle{background:var(--_ui5_switch_handle_hover_inactive_background_color);border-color:var(--_ui5_switch_handle_hover_inactive_border_color)}.ui5-switch-root.ui5-switch--semantic.ui5-switch--checked .ui5-switch-handle{background:var(--_ui5_switch_handle_semantic_accept_background_color);border-color:var(--_ui5_switch_handle_semantic_accept_border_color)}.ui5-switch-root.ui5-switch--semantic:not(.ui5-switch--checked) .ui5-switch-handle{background:var(--_ui5_switch_handle_semantic_reject_background_color);border-color:var(--_ui5_switch_handle_semantic_reject_border_color)}.ui5-switch--desktop.ui5-switch-root.ui5-switch--semantic.ui5-switch--checked:not(.ui5-switch--disabled):hover .ui5-switch-handle{background:var(--_ui5_switch_handle_semantic_hover_accept_background_color);border-color:var(--_ui5_switch_handle_semantic_hover_accept_border_color)}.ui5-switch--desktop.ui5-switch--semantic.ui5-switch-root:not(.ui5-switch--checked):not(.ui5-switch--disabled):hover .ui5-switch-handle{background:var(--_ui5_switch_handle_semantic_hover_reject_background_color);border-color:var(--_ui5_switch_handle_semantic_hover_reject_border_color)}.ui5-switch-root.ui5-switch--checked .ui5-switch-track{background:var(--_ui5_switch_track_active_background_color);border-color:var(--_ui5_switch_track_active_border_color)}.ui5-switch-root:not(.ui5-switch--checked) .ui5-switch-track{background:var(--_ui5_switch_track_inactive_background_color);border-color:var(--_ui5_switch_track_inactive_border_color)}.ui5-switch--desktop.ui5-switch-root.ui5-switch--checked:not(.ui5-switch--disabled):hover .ui5-switch-track{background:var(--_ui5_switch_track_hover_active_background_color);border-color:var(--_ui5_switch_track_hover_active_border_color)}.ui5-switch--desktop.ui5-switch-root:not(.ui5-switch--checked):not(.ui5-switch--disabled):hover .ui5-switch-track{background:var(--_ui5_switch_track_hover_inactive_background_color);border-color:var(--_ui5_switch_track_hover_inactive_border_color)}.ui5-switch-root.ui5-switch--semantic.ui5-switch--checked .ui5-switch-track{background:var(--_ui5_switch_track_semantic_accept_background_color);border-color:var(--_ui5_switch_track_semantic_accept_border_color)}.ui5-switch-root.ui5-switch--semantic:not(.ui5-switch--checked) .ui5-switch-track{background:var(--_ui5_switch_track_semantic_reject_background_color);border-color:var(--_ui5_switch_track_semantic_reject_border_color)}.ui5-switch--desktop.ui5-switch-root.ui5-switch--semantic.ui5-switch--checked:not(.ui5-switch--disabled):hover .ui5-switch-track{background:var(--_ui5_switch_track_semantic_hover_accept_background_color);border-color:var(--_ui5_switch_track_semantic_hover_accept_border_color)}.ui5-switch--desktop.ui5-switch--semantic.ui5-switch-root:not(.ui5-switch--checked):not(.ui5-switch--disabled):hover .ui5-switch-track{background:var(--_ui5_switch_track_semantic_hover_reject_background_color);border-color:var(--_ui5_switch_track_semantic_hover_reject_border_color)}.ui5-switch-root.ui5-switch--checked:not(.ui5-switch--no-label):not(.ui5-switch--semantic) .ui5-switch-slider{transform:var(--_ui5_switch_transform_with_label)}.ui5-switch-root.ui5-switch--checked .ui5-switch-slider{transform:var(--_ui5_switch_transform)}.ui5-switch-text .ui5-switch-text--on .ui5-switch-no-label-icon,.ui5-switch-root.ui5-switch--semantic .ui5-switch-text,.ui5-switch-root.ui5-switch--no-label .ui5-switch-text{display:flex;justify-content:center}.ui5-switch--no-label .ui5-switch-no-label-icon-on,.ui5-switch--no-label .ui5-switch-no-label-icon-off{width:var(--_ui5_switch_icon_width);height:var(--_ui5_switch_icon_height);display:var(--_ui5_switch_track_icon_display)}.ui5-switch-root.ui5-switch--semantic .ui5-switch-icon-on,.ui5-switch-root.ui5-switch--semantic .ui5-switch-icon-off{width:var(--_ui5_switch_icon_width);height:var(--_ui5_switch_icon_height)}.ui5-switch-root .ui5-switch-text{font-family:var(--_ui5_switch_text_font_family);font-size:var(--_ui5_switch_text_font_size);width:var(--_ui5_switch_text_width)}.ui5-switch-root:not(.ui5-switch--no-label):not(.ui5-switch--semantic) .ui5-switch-text{font-family:var(--_ui5_switch_text_with_label_font_family);font-size:var(--_ui5_switch_text_with_label_font_size);width:var(--_ui5_switch_text_with_label_width)}:host([active]) .ui5-switch--desktop.ui5-switch-root:not(.ui5-switch--disabled) .ui5-switch-track{background:var(--_ui5-switch_track-off-active-background)}:host([active]) .ui5-switch--desktop.ui5-switch-root.ui5-switch--checked:not(.ui5-switch--disabled):hover .ui5-switch-track{background:var(--_ui5-switch_track-on-active-background)}.ui5-switch--desktop.ui5-switch-root:not(.ui5-switch--disabled):hover .ui5-switch-handle{box-shadow:var(--_ui5_switch_handle_off_hover_box_shadow)}.ui5-switch--desktop.ui5-switch-root.ui5-switch--checked:not(.ui5-switch--disabled):hover .ui5-switch-handle{box-shadow:var(--_ui5_switch_handle_on_hover_box_shadow)}.ui5-switch--desktop.ui5-switch-root.ui5-switch--semantic:not(.ui5-switch--disabled):hover .ui5-switch-handle{box-shadow:var(--_ui5_switch_handle_semantic_off_hover_box_shadow)}.ui5-switch--desktop.ui5-switch-root.ui5-switch--semantic.ui5-switch--checked:not(.ui5-switch--disabled):hover .ui5-switch-handle{box-shadow:var(--_ui5_switch_handle_semantic_on_hover_box_shadow)}.ui5-switch-root.ui5-switch--semantic .ui5-switch-icon-on,.ui5-switch-root.ui5-switch--semantic .ui5-switch-text--on{color:var(--_ui5_switch_text_semantic_accept_color)}.ui5-switch-root.ui5-switch--semantic .ui5-switch-icon-off,.ui5-switch-root.ui5-switch--semantic .ui5-switch-text--off{color:var(--_ui5_switch_text_semantic_reject_color)}.ui5-switch-root .ui5-switch-text--on{color:var(--_ui5_switch_text_active_color);overflow:var(--_ui5_switch_text_overflow);text-overflow:ellipsis;inset-inline-start:var(--_ui5_switch_text_active_left_alternate)}.ui5-switch-root .ui5-switch-text--off{color:var(--_ui5_switch_text_inactive_color);overflow:var(--_ui5_switch_text_overflow);text-overflow:ellipsis;inset-inline-start:var(--_ui5_switch_text_inactive_left_alternate);inset-inline-end:var(--_ui5_switch_text_inactive_right_alternate)}.ui5-switch-root.ui5-switch--safari .ui5-switch-text--on.ui5-switch-no-label-icon,.ui5-switch-root.ui5-switch--safari .ui5-switch-text--off.ui5-switch-no-label-icon{inset-inline-start:.1875rem}.ui5-switch-root .ui5-switch-no-label-icon-on,.ui5-switch-root .ui5-switch-icon-on{color:var(--_ui5_switch_text_active_color)}.ui5-switch-root .ui5-switch-no-label-icon-off,.ui5-switch-root .ui5-switch-icon-off{color:var(--_ui5_switch_text_inactive_color)}:dir(rtl).ui5-switch-root.ui5-switch--checked:not(.ui5-switch--no-label):not(.ui5-switch--semantic) .ui5-switch-slider{transform:var(--_ui5_switch_rtl_transform_with_label)}:dir(rtl).ui5-switch-root.ui5-switch--checked .ui5-switch-slider{transform:var(--_ui5_switch_rtl_transform)}:host([readonly]) .ui5-switch-root{cursor:default}:host([readonly]) .ui5-switch-track,:host([readonly]) .ui5-switch-root.ui5-switch--semantic .ui5-switch-track{background:var(--sapField_ReadOnly_Background);border:.0625rem var(--_ui5_switch_readonly_track_border_style) var(--sapField_ReadOnly_BorderColor)}:host([readonly]) .ui5-switch-handle,:host([readonly]) .ui5-switch-root.ui5-switch--semantic .ui5-switch-handle{background:var(--sapField_ReadOnly_Background);border:.0625rem var(--_ui5_switch_readonly_handle_border_style) var(--sapField_ReadOnly_BorderColor)}:host([readonly]) .ui5-switch-text--on,:host([readonly]) .ui5-switch-text--off,:host([readonly]) .ui5-switch-no-label-icon-on,:host([readonly]) .ui5-switch-no-label-icon-off,:host([readonly]) .ui5-switch-icon-on,:host([readonly]) .ui5-switch-icon-off,:host([readonly]) .ui5-switch-root.ui5-switch--semantic .ui5-switch-icon-on,:host([readonly]) .ui5-switch-root.ui5-switch--semantic .ui5-switch-icon-off,:host([readonly]) .ui5-switch-root.ui5-switch--semantic .ui5-switch-text--on,:host([readonly]) .ui5-switch-root.ui5-switch--semantic .ui5-switch-text--off{color:var(--sapButton_Handle_TextColor)}:host([readonly]) .ui5-switch--desktop.ui5-switch-root:hover .ui5-switch-handle,:host([readonly]) .ui5-switch--desktop.ui5-switch-root.ui5-switch--checked:hover .ui5-switch-handle,:host([readonly]) .ui5-switch--desktop.ui5-switch-root.ui5-switch--semantic:hover .ui5-switch-handle,:host([readonly]) .ui5-switch--desktop.ui5-switch-root.ui5-switch--semantic.ui5-switch--checked:hover .ui5-switch-handle{box-shadow:none}:host([readonly]) .ui5-switch--desktop.ui5-switch-root:hover .ui5-switch-track,:host([readonly]) .ui5-switch--desktop.ui5-switch-root:hover .ui5-switch-handle,:host([readonly]) .ui5-switch--desktop.ui5-switch-root.ui5-switch--semantic:hover .ui5-switch-track,:host([readonly]) .ui5-switch--desktop.ui5-switch-root.ui5-switch--semantic:hover .ui5-switch-handle{background:var(--sapField_ReadOnly_Background);border-color:var(--sapField_ReadOnly_BorderColor)}
|
|
96
|
-
`,Ft=function(e,t,r,i){var o=arguments.length,n=o<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(e,t,r,i);else for(var s=e.length-1;s>=0;s--)(a=e[s])&&(n=(o<3?a(n):o>3?a(t,r,n):a(t,r))||n);return o>3&&n&&Object.defineProperty(t,r,n),n},xt=Rn=class extends mt{constructor(){super(...arguments),this.design="Textual",this.readonly=!1,this.checked=!1,this.disabled=!1,this.required=!1,this.value="",this._cancelAction=!1,this._isSpacePressed=!1}get formValidityMessage(){return Rn.i18nBundle.getText(Bb)}get formValidity(){return{valueMissing:this.required&&!this.checked}}async formElementAnchor(){return this.getFocusDomRefAsync()}get formFormattedValue(){return this.checked?this.value||"on":null}get sapNextIcon(){return this.checked?"accept":"less"}_onfocusin(){this._cancelAction=!1,this._isSpacePressed=!1}_onclick(){this.readonly||this.toggle()}_onkeydown(e){Ue(e)&&e.preventDefault(),!this.readonly&&(Ue(e)?this._isSpacePressed=!0:(ou(e)||so(e))&&(this._cancelAction=!0),Nt(e)&&this._onclick())}_onkeyup(e){if(this.readonly)return;let t=Ue(e),r=ou(e)||so(e);if(t||W0(e)){if(this._cancelAction){this._cancelAction=!1,this._isSpacePressed=!1,e.preventDefault();return}this._isSpacePressed=!1}else r&&!this._isSpacePressed&&(this._cancelAction=!1);t&&this._onclick()}toggle(){if(!this.disabled&&!this.readonly){this.checked=!this.checked;let e=!this.fireDecoratorEvent("change"),t=!this.fireDecoratorEvent("value-changed");(e||t)&&(this.checked=!this.checked)}}get graphical(){return this.design===CM.Graphical}get hasNoLabel(){return!(this.graphical||this.textOn||this.textOff)}get _textOn(){return this.graphical?"":this.textOn}get _textOff(){return this.graphical?"":this.textOff}get _textAriaHidden(){let e=this.textOn?.toLowerCase(),t=this.textOff?.toLowerCase(),r=Rn.i18nBundle.getText(dk).toLowerCase(),i=Rn.i18nBundle.getText(hk).toLowerCase();return e===r&&t===i||void 0}get effectiveTabIndex(){return this.disabled?void 0:0}get effectiveAriaReadonly(){return this.readonly?"true":void 0}get effectiveAriaDisabled(){return this.disabled?"true":void 0}get ariaLabelText(){return va(this)||tf(this)||void 0}get ariaDescribedBy(){return this.readonly?`${this._id}-readonly-desc`:void 0}get ariaDescribedByText(){return this.readonly?Rn.i18nBundle.getText(kb):""}};Ft([v()],xt.prototype,"design",void 0);Ft([v({type:Boolean})],xt.prototype,"readonly",void 0);Ft([v({type:Boolean})],xt.prototype,"checked",void 0);Ft([v({type:Boolean})],xt.prototype,"disabled",void 0);Ft([v()],xt.prototype,"textOn",void 0);Ft([v()],xt.prototype,"textOff",void 0);Ft([v()],xt.prototype,"accessibleName",void 0);Ft([v()],xt.prototype,"accessibleNameRef",void 0);Ft([v()],xt.prototype,"tooltip",void 0);Ft([v({type:Boolean})],xt.prototype,"required",void 0);Ft([v()],xt.prototype,"name",void 0);Ft([v()],xt.prototype,"value",void 0);Ft([v({type:Boolean,noAttribute:!0})],xt.prototype,"_cancelAction",void 0);Ft([v({type:Boolean,noAttribute:!0})],xt.prototype,"_isSpacePressed",void 0);Ft([lt("@ui5/webcomponents")],xt,"i18nBundle",void 0);xt=Rn=Ft([ye({tag:"ui5-switch",formAssociated:!0,languageAware:!0,styles:SM,renderer:rt,template:xM}),V("change",{bubbles:!0,cancelable:!0}),V("value-changed",{bubbles:!0,cancelable:!0})],xt);xt.define();ox=(()=>{class e{constructor(){this.accessibleName=k(),this.accessibleNameRef=k(),this.checked=k(!1,{transform:Re}),this.design=k("Textual"),this.disabled=k(!1,{transform:Re}),this.name=k(),this.readonly=k(!1,{transform:Re}),this.required=k(!1,{transform:Re}),this.textOff=k(),this.textOn=k(),this.tooltip=k(),this.value=k(""),this.ui5Change=it(),this.elementRef=S(er),this.injector=S(ht),this._contentDensityObserver=S(Ni)}get element(){return this.elementRef.nativeElement}ngAfterViewInit(){let r=this.element;for(let i of["accessibleName","accessibleNameRef","checked","design","disabled","name","readonly","required","textOff","textOn","tooltip","value"]){let o=i.replace(/-./g,n=>n[1].toUpperCase());this[o]&&typeof this[o]=="function"&&Fr(this.injector,()=>{br(()=>{let n=this[o]();if(r){if(n===void 0&&r[i])return;r[i]=n}})})}for(let i of["ui5Change"]){let o=i.replace("ui5","").replace(/([A-Z])/g,"-$1").toLowerCase().substring(1);this[i]&&typeof this[i].emit=="function"&&r.addEventListener&&r.addEventListener(o,n=>{this[i].emit(n)})}}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275cmp=(function(){return wr({type:e,selectors:[["ui5-switch"],["","ui5-switch",""]],inputs:{accessibleName:[1,"accessibleName"],accessibleNameRef:[1,"accessibleNameRef"],checked:[1,"checked"],design:[1,"design"],disabled:[1,"disabled"],name:[1,"name"],readonly:[1,"readonly"],required:[1,"required"],textOff:[1,"textOff"],textOn:[1,"textOn"],tooltip:[1,"tooltip"],value:[1,"value"]},outputs:{ui5Change:"ui5Change"},exportAs:["ui5Switch"],features:[ar([bo({supportedContentDensity:[K.COMPACT,K.COZY]}),{provide:Ov,useValue:{property:"checked",events:["change"],transformValue:r=>!!r}}]),PC([Q2])],ngContentSelectors:["*"],decls:1,vars:0,template:function(r,i){r&1&&(go(),mo(0))},encapsulation:2})})()}}return e})(),he=globalThis.Luigi,Pv=(()=>{class e{setConfig(r){return he.setConfig(r)}get config(){return he.getConfig()}getConfigValue(r){return he.getConfigValue(r)}unloadConfig(){return he.unload()}sendCustomMessage(r){return he.sendCustomMessage(r)}configChanged(r){he.configChanged(r)}customMessages(){return he.customMessages()}navigation(){return he.navigation()}resetLuigi(){he.reset()}clearNavigationCache(){he.clearNavigationCache&&he.clearNavigationCache()}showAlert(r){return he.showAlert(r)}ux(){return he.ux()}theming(){return he.theming()}i18n(){return he.i18n()}globalSearch(){return he.globalSearch()}getGlobalContext(){return he.getGlobalContext()}getWcExtendedContext(){return document.querySelector(".wcContainer")?.querySelector("[lui_web_component]")?.extendedContext?.context}getWcModalExtendedContext(){return document.querySelector(".iframeModalCtn")?.querySelector("[lui_web_component]")?.extendedContext?.context}setGlobalContext(r,i=!1){he.setGlobalContext(r,i)}setInGlobalContext(r,i=!1){he.setGlobalContext(E(E({},this.getGlobalContext()),r),i)}routing(){return he.routing()}setFeatureToggle(r){he.featureToggles().setFeatureToggle(r)}unsetFeatureToggle(r){he.featureToggles().unsetFeatureToggle(r)}unsetAllFeatureToggles(){he.featureToggles().getActiveFeatureToggleList().forEach(r=>{this.unsetFeatureToggle(r)})}setFeatureToggles(r){if(r)for(let i of Object.keys(r))r[i]&&this.setFeatureToggle(i)}isFeatureToggleActive(r){return he.featureToggles().getActiveFeatureToggleList().includes(r)}getActiveFeatureToggleList(){return he.featureToggles().getActiveFeatureToggleList()}setAuthData(r){he.auth().store.setAuthData(r),he.auth().store.setNewlyAuthorized()}removeAuthData(){he.auth().store.removeAuthData()}getAuthData(){return he.auth().store.getAuthData()}setCurrentLocale(r){he.i18n().setCurrentLocale(r)}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=xe({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();(function(e){e.AUTH_SUCCESSFUL="AuthSuccessful",e.AUTH_ERROR="AuthError",e.AUTH_EXPIRED="AuthExpired",e.AUTH_REFRESHED="AuthRefreshed",e.AUTH_EXPIRE_SOON="AuthExpireSoon",e.AUTH_CONFIG_ERROR="AuthConfigError",e.LOGOUT="Logout"})(tb||(tb={}));(function(e){e.GLOBAL="global",e.GLOBAL_TOPNAV="global.topnav",e.ENTITY_ERROR="entity.error"})(rb||(rb={}));(function(e){e.INTERNAL="internal",e.INTERNET="internet"})(ib||(ib={}));kM=class extends Error{};kM.prototype.name="InvalidTokenError";TM=(()=>{class e{constructor(){this.http=S(G2)}async getEnvConfig(){return this.envConfigCache?this.envConfigCache:(await HD(this.http.get("/rest/envconfig").pipe(sz(r=>this.envConfigCache=r))),this.envConfigCache)}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=xe({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),Nv=(()=>{class e{constructor(){this.envConfigService=S(TM),this.luigiCoreService=S(Pv),this.fallbackLanguage="en",this.translationTable={},this.currentLanguage=""}afterInit(){this.currentLanguage=this.luigiCoreService.i18n().getCurrentLocale(),this.luigiCoreService.i18n().addCurrentLocaleChangeListener(r=>{this.currentLanguage=r})}getTranslation(r,i,o){let n=this.getInternalTranslation(r,i,o);return n||(n=this.findTranslation(r,this.translationTable,this.fallbackLanguage,i)),n||r}async getTranslationAsync(r,i,o){return new Promise(n=>{let a=this.getInternalTranslation(r,i,o);a?n(a||r):this.translationTable&&!this.translationTable[this.fallbackLanguage]?this.fetchTranslationFile(this.fallbackLanguage).then(()=>{a=this.findTranslation(r,this.translationTable,this.fallbackLanguage,i),n(a||r)}):(a=this.findTranslation(r,this.translationTable,this.fallbackLanguage,i),n(a||r))})}findTranslation(r,i,o,n){if(i[o]){let a=typeof i[o][r]=="object"?i[o][r].join("<br>"):i[o][r];return n?this.findInterpolations(a,n):a}}findInterpolations(r,i){if(r)return Object.keys(i).forEach(o=>{r=r.replace(new RegExp("{"+o+"}","gi"),i[o])}),r}addTranslationFile(r,i){i&&r&&(this.translationTable[r]=i)}async fetchTranslationFile(r){return new Promise(i=>{fetch(`/assets/translation-files/${r}.json`).then(o=>o.json()).then(o=>{this.addTranslationFile(r,o),i(!0)}).catch(o=>{console.error("Error:",o),this.addTranslationFile(r,{}),i(!1)})})}getInternalTranslation(r,i,o){return r?(this.currentLanguage=o||this.currentLanguage||this.luigiCoreService.i18n().getCurrentLocale(),this.findTranslation(r,this.translationTable,this.currentLanguage,i)):""}async getValidLanguages(){let r=[{value:"en",label:"USERSETTINGSDIALOG_LANGUAGE_EN"}];try{let{developmentInstance:i}=await this.envConfigService.getEnvConfig();i&&r.push({value:"de",label:"USERSETTINGSDIALOG_LANGUAGE_DE"})}finally{return r}}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=xe({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();(function(e){e.LAST_NAVIGATION_URL="openmfp.navigation.lastUrl",e.USER_SETTINGS="openmfp.settings.userSettings",e.LOCAL_DEVELOPMENT_SETTINGS="openmfp.settings.localDevelopmentSettings",e.FEATURE_TOGGLE_SETTINGS="openmfp.settings.featureToggleSettings",e.DEVELOPMENT_MODE_CONFIG="dev-mode-settings"})(on||(on={}));ob={read:e=>{let t;try{t=localStorage.getItem(e||on.LOCAL_DEVELOPMENT_SETTINGS),e&&localStorage.removeItem(e)}catch(r){return console.warn("localStorage is not available:",r),null}try{return t?JSON.parse(t):null}catch(r){console.error("Failed to parse the local development settings in your localstorage.",r)}return null},store:e=>{try{localStorage.setItem(on.LOCAL_DEVELOPMENT_SETTINGS,JSON.stringify(e))}catch(t){console.error("Failed to stringify the local development settings setting into your localstorage.",t)}}},nb={read:()=>{try{let e=localStorage.getItem(on.FEATURE_TOGGLE_SETTINGS);return e?JSON.parse(e):{}}catch(e){return console.error("Error reading feature toggle settings",e),{}}},store:e=>{try{localStorage.setItem(on.FEATURE_TOGGLE_SETTINGS,JSON.stringify(e))}catch(t){console.error("Error storing feature toggle settings",t)}}};Ap(P7());Ap(N7());IM=Object.defineProperty,AM=(e,t,r)=>t in e?IM(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,N=(e,t,r)=>AM(e,typeof t!="symbol"?t+"":t,r),ab=e=>e!==null&&Object.prototype.toString.call(e)==="[object Object]",$u=(e,t)=>{if(e===t)return!0;if(typeof e!=typeof t)return!1;if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r+=1)if(!$u(e[r],t[r]))return!1;return!0}if(ab(e)&&ab(t)){let r=Object.entries(e),i=new Set(Object.keys(t));if(r.length!==i.size)return!1;for(let[o,n]of r){if(!$u(n,t[o]))return!1;i.delete(o)}return i.size===0}return!1},Ka=e=>e==null||e===!1?!0:typeof e=="string"?e==="":typeof e=="object"?Array.isArray(e)?e.length===0:e===null?!0:Object.keys(e).length===0:!1,sb=e=>e>="a"&&e<="z"||e>="A"&&e<="Z"||e==="_",Sd=e=>e>="0"&&e<="9"||e==="-",BM=e=>e>="a"&&e<="z"||e>="A"&&e<="Z"||e>="0"&&e<="9"||e==="_",Hu=e=>{if(typeof e!="number"||Math.floor(e)!==e)throw new Error("invalid-value: expecting an integer.");return e},Mv=e=>{if(typeof e!="number"||e<0||Math.floor(e)!==e)throw new Error("invalid-value: expecting a non-negative integer.");return e},co=(...e)=>{for(let t=0;t<e.length;t++){if(e[t]===null||e[t]===void 0)throw new Error("not-a-number: undefined");if(typeof e[t]!="number")throw new Error("not-a-number")}},nx=e=>{if(e=+e,!e)throw new Error("not-a-number: divide by zero");return e},EM=(e,t)=>(co(e,t),e+t),DM=(e,t)=>(co(e,t),e-t),zM=(e,t)=>(co(e,t),e*t),RM=(e,t)=>(co(e,t),e/nx(t)),OM=(e,t)=>(co(e,t),Math.floor(e/nx(t))),PM=(e,t)=>(co(e,t),e%t),NM=(e,t,r,i)=>{if(!e||!t)return null;r=Math.max(Hu(r=r||0),0),i=Math.min(Hu(i=i||e.length),e.length);let o=e.slice(r,i).indexOf(t);return o===-1?null:o+r},MM=(e,t,r,i)=>{if(!e||!t)return null;r=Math.max(Hu(r=r||0),0),i=Math.min(Hu(i=i||e.length),e.length);let o=e.slice(r,i).lastIndexOf(t);return o===-1?null:o+r},LM=e=>e.toLowerCase(),ax=(e,t,r)=>{if(r=r||" ",r.length>1)throw new Error(`invalid value, ${e} expects its 'pad' parameter to be a valid string with a single codepoint`);return Mv(t),r},FM=(e,t,r)=>(r=ax("pad_left",t,r),e&&e.padStart(t,r)||""),$M=(e,t,r)=>(r=ax("pad_right",t,r),e&&e.padEnd(t,r)||""),Sp=(e,t,r,i)=>i===0?e:i?(Mv(i),[...Array(i).keys()].map(()=>e=e.replace(t,r)),e):e.split(t).join(r),HM=(e,t,r)=>{if(e.length==0&&t.length===0)return[];if(r==null)return e.split(t);if(Mv(r),r===0)return[e];let i=e.split(t);return[...i.slice(0,r),i.slice(r).join(t)]},UM=(e,t)=>sx(lx(e,t),t),sx=(e,t)=>ux(e,r=>new RegExp(`^[${r}]*(.*?)`),t),lx=(e,t)=>ux(e,r=>new RegExp(`(.*?)[${r}]*$`),t),ux=(e,t,r)=>{let i=r?r.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&"):"\\s\x85";return e.replace(t(i),"$1")},VM=e=>e.toUpperCase(),lb={"(":"Lparen",")":"Rparen","*":"Star",",":"Comma",".":"Dot",":":"Colon","@":"Current","]":"Rbracket","{":"Lbrace","}":"Rbrace","+":"Plus","%":"Modulo","?":"Question","\u2212":"Minus","\xD7":"Multiply","\xF7":"Divide"},jM={"!":!0,"<":!0,"=":!0,">":!0,"&":!0,"|":!0,"/":!0},qM={" ":!0,"\n":!0,"\r":!0," ":!0},GM=class{constructor(){N(this,"_current",0),N(this,"_enable_legacy_literals",!1)}tokenize(e,t){let r=[];this._current=0,this._enable_legacy_literals=t?.enable_legacy_literals||!1;let i,o,n;for(;this._current<e.length;)if(sb(e[this._current]))i=this._current,o=this.consumeUnquotedIdentifier(e),r.push({start:i,type:"UnquotedIdentifier",value:o});else if(lb[e[this._current]]!==void 0)r.push({start:this._current,type:lb[e[this._current]],value:e[this._current]}),this._current+=1;else if(e[this._current]==="$")i=this._current,this._current+1<e.length&&sb(e[this._current+1])?(this._current+=1,o=this.consumeUnquotedIdentifier(e),r.push({start:i,type:"Variable",value:o})):(r.push({start:i,type:"Root",value:e[this._current]}),this._current+=1);else if(e[this._current]==="-")if(this._current+1<e.length&&Sd(e[this._current+1])){let a=this.consumeNumber(e);a&&r.push(a)}else{let a={start:this._current,type:"Minus",value:"-"};r.push(a),this._current+=1}else if(Sd(e[this._current]))n=this.consumeNumber(e),r.push(n);else if(e[this._current]==="[")n=this.consumeLBracket(e),r.push(n);else if(e[this._current]==='"')i=this._current,o=this.consumeQuotedIdentifier(e),r.push({start:i,type:"QuotedIdentifier",value:o});else if(e[this._current]==="'")i=this._current,o=this.consumeRawStringLiteral(e),r.push({start:i,type:"Literal",value:o});else if(e[this._current]==="`"){i=this._current;let a=this.consumeLiteral(e);r.push({start:i,type:"Literal",value:a})}else if(jM[e[this._current]]!==void 0)n=this.consumeOperator(e),n&&r.push(n);else if(qM[e[this._current]]!==void 0)this._current+=1;else{let a=new Error(`Syntax error: unknown character: ${e[this._current]}`);throw a.name="LexerError",a}return r}consumeUnquotedIdentifier(e){let t=this._current;for(this._current+=1;this._current<e.length&&BM(e[this._current]);)this._current+=1;return e.slice(t,this._current)}consumeQuotedIdentifier(e){let t=this._current;this._current+=1;let r=e.length;for(;e[this._current]!=='"'&&this._current<r;){let n=this._current;e[n]==="\\"&&(e[n+1]==="\\"||e[n+1]==='"')?n+=2:n+=1,this._current=n}this._current+=1;let[i,o]=this.parseJSON(e.slice(t,this._current));if(!o){let n=new Error("syntax: unexpected end of JSON input");throw n.name="LexerError",n}return i}consumeRawStringLiteral(e){let t=this._current;this._current+=1;let r=e.length;for(;e[this._current]!=="'"&&this._current<r;){let i=this._current;e[i]==="\\"&&(e[i+1]==="\\"||e[i+1]==="'")?i+=2:i+=1,this._current=i}return this._current+=1,Sp(Sp(e.slice(t+1,this._current-1),"\\\\","\\"),"\\'","'")}consumeNumber(e){let t=this._current;this._current+=1;let r=e.length;for(;Sd(e[this._current])&&this._current<r;)this._current+=1;return{start:t,value:parseInt(e.slice(t,this._current),10),type:"Number"}}consumeLBracket(e){let t=this._current;return this._current+=1,e[this._current]==="?"?(this._current+=1,{start:t,type:"Filter",value:"[?"}):e[this._current]==="]"?(this._current+=1,{start:t,type:"Flatten",value:"[]"}):{start:t,type:"Lbracket",value:"["}}consumeOrElse(e,t,r,i){let o=this._current;return this._current+=1,this._current<e.length&&e[this._current]===t?(this._current+=1,{start:o,type:i,value:e.slice(o,this._current)}):{start:o,type:r,value:e[o]}}consumeOperator(e){switch(e[this._current]){case"!":return this.consumeOrElse(e,"=","Not","NE");case"<":return this.consumeOrElse(e,"=","LT","LTE");case">":return this.consumeOrElse(e,"=","GT","GTE");case"=":return this.consumeOrElse(e,"=","Assign","EQ");case"&":return this.consumeOrElse(e,"&","Expref","And");case"|":return this.consumeOrElse(e,"|","Pipe","Or");case"/":return this.consumeOrElse(e,"/","Divide","Div")}}consumeLiteral(e){this._current+=1;let t=this._current,r=e.length;for(;e[this._current]!=="`"&&this._current<r;){let a=this._current;e[a]==="\\"&&(e[a+1]==="\\"||e[a+1]==="`")?a+=2:a+=1,this._current=a}let i=e.slice(t,this._current).trimStart();i=i.replace("\\`","`");let o=null,n=!1;if(this.looksLikeJSON(i)&&([o,n]=this.parseJSON(i)),!n&&this._enable_legacy_literals&&([o,n]=this.parseJSON(`"${i}"`)),!n){let a=new Error(`Syntax error: unexpected end of JSON input or invalid format for a JSON literal: ${e[this._current]}`);throw a.name="LexerError",a}return this._current+=1,o}looksLikeJSON(e){let t=["true","false","null"],r="-0123456789";if(e==="")return!1;if('[{"'.includes(e[0])||t.includes(e))return!0;if(r.includes(e[0])){let[i,o]=this.parseJSON(e);return o}return!1}parseJSON(e){try{return[JSON.parse(e),!0]}catch{return[null,!1]}}},WM=new GM,ut={EOF:0,Variable:0,UnquotedIdentifier:0,QuotedIdentifier:0,Rbracket:0,Rparen:0,Comma:0,Rbrace:0,Number:0,Current:0,Expref:0,Root:0,Assign:1,Pipe:1,Question:2,Or:3,And:4,EQ:5,GT:5,LT:5,GTE:5,LTE:5,NE:5,Minus:6,Plus:6,Div:7,Divide:7,Modulo:7,Multiply:7,Flatten:9,Star:20,Filter:21,Dot:40,Not:45,Lbrace:50,Lbracket:55,Lparen:60};new class kp{constructor(){N(this,"index",0),N(this,"tokens",[])}parse(t,r){this.loadTokens(t,r||{enable_legacy_literals:!1}),this.index=0;let i=this.expression(0);if(this.lookahead(0)!=="EOF"){let o=this.lookaheadToken(0);this.errorToken(o,`Syntax error: unexpected token type: ${o.type}, value: ${o.value}`)}return i}loadTokens(t,r){this.tokens=WM.tokenize(t,r),this.tokens.push({type:"EOF",value:"",start:t.length})}expression(t){let r=this.lookaheadToken(0);this.advance();let i=this.nud(r),o=this.lookahead(0);for(;t<ut[o];)this.advance(),i=this.led(o,i),o=this.lookahead(0);return i}lookahead(t){return this.tokens[this.index+t].type}lookaheadToken(t){return this.tokens[this.index+t]}advance(){this.index+=1}nud(t){switch(t.type){case"Variable":return{type:"Variable",name:t.value};case"Literal":return{type:"Literal",value:t.value};case"UnquotedIdentifier":return kp.isKeyword(t,"let")&&this.lookahead(0)==="Variable"?this.parseLetExpression():{type:"Field",name:t.value};case"QuotedIdentifier":if(this.lookahead(0)==="Lparen")throw new Error("Syntax error: quoted identifier not allowed for function names.");return{type:"Field",name:t.value};case"Not":return{type:"NotExpression",child:this.expression(ut.Not)};case"Minus":{let r=this.expression(ut.Minus);return{type:"Unary",operator:t.type,operand:r}}case"Plus":{let r=this.expression(ut.Plus);return{type:"Unary",operator:t.type,operand:r}}case"Star":return{type:"ValueProjection",left:{type:"Identity"},right:this.parseProjectionRHS(ut.Star)};case"Filter":return this.led(t.type,{type:"Identity"});case"Lbrace":return this.parseMultiselectHash();case"Flatten":return{type:"Projection",left:{type:"Flatten",child:{type:"Identity"}},right:this.parseProjectionRHS(ut.Flatten)};case"Lbracket":if(this.lookahead(0)==="Number"||this.lookahead(0)==="Colon"){let r=this.parseIndexExpression();return this.projectIfSlice({type:"Identity"},r)}return this.lookahead(0)==="Star"&&this.lookahead(1)==="Rbracket"?(this.advance(),this.advance(),{left:{type:"Identity"},right:this.parseProjectionRHS(ut.Star),type:"Projection"}):this.parseMultiselectList();case"Current":return{type:"Current"};case"Root":return{type:"Root"};case"Expref":return{type:"ExpressionReference",child:this.expression(ut.Expref)};case"Lparen":{let r=this.expression(0);return this.match("Rparen"),r}default:this.errorToken(t)}}led(t,r){switch(t){case"Question":{let i=this.expression(0);return this.match("Colon"),{type:"Ternary",condition:r,trueExpr:i,falseExpr:this.expression(0)}}case"Dot":{let i=ut.Dot;return this.lookahead(0)!=="Star"?{type:"Subexpression",left:r,right:this.parseDotRHS(i)}:(this.advance(),{type:"ValueProjection",left:r,right:this.parseProjectionRHS(i)})}case"Pipe":return{type:"Pipe",left:r,right:this.expression(ut.Pipe)};case"Or":return{type:"OrExpression",left:r,right:this.expression(ut.Or)};case"And":return{type:"AndExpression",left:r,right:this.expression(ut.And)};case"Lparen":if(r.type!=="Field")throw new Error("Syntax error: expected a Field node");return{name:r.name,type:"Function",children:this.parseCommaSeparatedExpressionsUntilToken("Rparen")};case"Filter":{let i=this.expression(0);return this.match("Rbracket"),{type:"FilterProjection",left:r,right:this.lookahead(0)==="Flatten"?{type:"Identity"}:this.parseProjectionRHS(ut.Filter),condition:i}}case"Flatten":return{type:"Projection",left:{type:"Flatten",child:r},right:this.parseProjectionRHS(ut.Flatten)};case"Assign":{let i=r,o=this.expression(0);return{type:"Binding",variable:i.name,reference:o}}case"EQ":case"NE":case"GT":case"GTE":case"LT":case"LTE":return this.parseComparator(r,t);case"Plus":case"Minus":case"Multiply":case"Star":case"Divide":case"Modulo":case"Div":return this.parseArithmetic(r,t);case"Lbracket":{let i=this.lookaheadToken(0);if(i.type==="Number"||i.type==="Colon"){let o=this.parseIndexExpression();return this.projectIfSlice(r,o)}return this.match("Star"),this.match("Rbracket"),{type:"Projection",left:r,right:this.parseProjectionRHS(ut.Star)}}default:return this.errorToken(this.lookaheadToken(0))}}static isKeyword(t,r){return t.type==="UnquotedIdentifier"&&t.value===r}match(t){if(this.lookahead(0)===t){this.advance();return}else{let r=this.lookaheadToken(0);this.errorToken(r,`Syntax error: expected ${t}, got: ${r.type}`)}}errorToken(t,r=""){let i=new Error(r||`Syntax error: invalid token (${t.type}): "${t.value}"`);throw i.name="ParserError",i}parseIndexExpression(){if(this.lookahead(0)==="Colon"||this.lookahead(1)==="Colon")return this.parseSliceExpression();let t=Number(this.lookaheadToken(0).value);return this.advance(),this.match("Rbracket"),{type:"Index",value:t}}projectIfSlice(t,r){let i={type:"IndexExpression",left:t,right:r};return r.type==="Slice"?{left:i,right:this.parseProjectionRHS(ut.Star),type:"Projection"}:i}parseSliceExpression(){let t=[null,null,null],r=0,i=this.lookaheadToken(0);for(;i.type!="Rbracket"&&r<3;){if(i.type==="Colon")r++,r===3&&this.errorToken(this.lookaheadToken(0),"Syntax error, too many colons in slice expression"),this.advance();else if(i.type==="Number"){let s=this.lookaheadToken(0).value;t[r]=s,this.advance()}else{let s=this.lookaheadToken(0);this.errorToken(s,`Syntax error, unexpected token: ${s.value}(${s.type})`)}i=this.lookaheadToken(0)}this.match("Rbracket");let[o,n,a]=t;return{type:"Slice",start:o,stop:n,step:a}}parseLetExpression(){let t=this.parseCommaSeparatedExpressionsUntilKeyword("in"),r=this.expression(0);return{type:"LetExpression",bindings:t.map(i=>i),expression:r}}parseCommaSeparatedExpressionsUntilKeyword(t){return this.parseCommaSeparatedExpressionsUntil(()=>kp.isKeyword(this.lookaheadToken(0),t),()=>{this.advance()})}parseCommaSeparatedExpressionsUntilToken(t){return this.parseCommaSeparatedExpressionsUntil(()=>this.lookahead(0)===t,()=>this.match(t))}parseCommaSeparatedExpressionsUntil(t,r){let i=[],o;for(;!t();)o=this.expression(0),this.lookahead(0)==="Comma"&&this.match("Comma"),i.push(o);return r(),i}parseComparator(t,r){return{type:"Comparator",name:r,left:t,right:this.expression(ut[r])}}parseArithmetic(t,r){return{type:"Arithmetic",operator:r,left:t,right:this.expression(ut[r])}}parseDotRHS(t){let r=this.lookahead(0);if(["UnquotedIdentifier","QuotedIdentifier","Star"].includes(r))return this.expression(t);if(r==="Lbracket")return this.match("Lbracket"),this.parseMultiselectList();if(r==="Lbrace")return this.match("Lbrace"),this.parseMultiselectHash();let i=this.lookaheadToken(0);this.errorToken(i,`Syntax error, unexpected token: ${i.value}(${i.type})`)}parseProjectionRHS(t){if(ut[this.lookahead(0)]<10)return{type:"Identity"};if(this.lookahead(0)==="Lbracket")return this.expression(t);if(this.lookahead(0)==="Filter")return this.expression(t);if(this.lookahead(0)==="Dot")return this.match("Dot"),this.parseDotRHS(t);let r=this.lookaheadToken(0);this.errorToken(r,`Syntax error, unexpected token: ${r.value}(${r.type})`)}parseMultiselectList(){let t=[];for(;this.lookahead(0)!=="Rbracket";){let r=this.expression(0);if(t.push(r),this.lookahead(0)==="Comma"&&(this.match("Comma"),this.lookahead(0)==="Rbracket"))throw new Error("Syntax error: unexpected token Rbracket")}return this.match("Rbracket"),{type:"MultiSelectList",children:t}}parseMultiselectHash(){let t=[],r=["UnquotedIdentifier","QuotedIdentifier"],i,o,n;for(;;){if(i=this.lookaheadToken(0),!r.includes(i.type))throw new Error(`Syntax error: expecting an identifier token, got: ${i.type}`);if(o=i.value,this.advance(),this.match("Colon"),n=this.expression(0),t.push({value:n,type:"KeyValuePair",name:o}),this.lookahead(0)==="Comma")this.match("Comma");else if(this.lookahead(0)==="Rbrace"){this.match("Rbrace");break}}return{type:"MultiSelectHash",children:t}}};xl=class Yl{constructor(t){N(this,"_text"),this._text=t}get string(){return this._text}get length(){return this.codePoints.length}compareTo(t){return Yl.compare(this,new Yl(t))}static get comparer(){return(t,r)=>new Yl(t).compareTo(r)}static compare(t,r){let i=t.codePoints,o=r.codePoints;for(let n=0;n<Math.min(i.length,o.length);n++)if(i[n]!==o[n])return i[n]-o[n]>0?1:-1;return i.length-o.length>0?1:-1}reverse(){return String.fromCodePoint(...this.codePoints.reverse())}get codePoints(){return[...this._text].map(t=>t.codePointAt(0))}},kd=e=>([t])=>e(t),ub=e=>([t])=>e(t),cb=e=>([t])=>e(t),ZM=class{constructor(e){N(this,"_interpreter"),N(this,"_functionTable"),N(this,"_customFunctions",new Set),N(this,"TYPE_NAME_TABLE",Object.freeze({0:"number",1:"any",2:"string",3:"array",4:"object",5:"boolean",6:"expression",7:"null",8:"Array<number>",10:"Array<object>",9:"Array<string>",11:"Array<Array<any>>"})),N(this,"functionAvg",([t])=>{if(!t||t.length==0)return null;let r=0;for(let i=0;i<t.length;i+=1)r+=t[i];return r/t.length}),N(this,"functionContains",([t,r])=>{if(Array.isArray(t))return t.includes(r);if(typeof t=="string"){let i=t;if(typeof r=="string")return i.includes(r)}return null}),N(this,"functionEndsWith",t=>{let[r,i]=t;return r.includes(i,r.length-i.length)}),N(this,"functionFindFirst",this.createFindFunction(NM)),N(this,"functionFindLast",this.createFindFunction(MM)),N(this,"functionFromItems",([t])=>(t.map(r=>{if(r.length!=2||typeof r[0]!="string")throw new Error("invalid value, each array must contain two elements, a pair of string and value")}),Object.fromEntries(t))),N(this,"functionGroupBy",([t,r])=>{let i=this.createKeyFunction(r,[2]);return t.reduce((o,n)=>{let a=i(n??{});return(o[a]=o[a]||[]).push(n),o},{})}),N(this,"functionItems",([t])=>Object.entries(t)),N(this,"functionJoin",t=>{let[r,i]=t;return i.join(r)}),N(this,"functionLength",([t])=>typeof t=="string"?new xl(t).length:Array.isArray(t)?t.length:Object.keys(t).length),N(this,"functionMap",([t,r])=>{if(!this._interpreter)return[];let i=[],o=this._interpreter;for(let n=0;n<r.length;n+=1)i.push(o.visit(t,r[n]));return i}),N(this,"functionMax",([t])=>{if(!t.length)return null;if(this.getTypeName(t[0])===0)return Math.max(...t);let r=t,i=r[0];for(let o=1;o<r.length;o+=1)i.localeCompare(r[o])<0&&(i=r[o]);return i}),N(this,"functionMaxBy",t=>{let r=t[1],i=t[0],o=this.createKeyFunction(r,[0,2]),n=-1/0,a,s;for(let l=0;l<i.length;l+=1)s=o&&o(i[l]),s!==void 0&&s>n&&(n=s,a=i[l]);return a||null}),N(this,"functionMerge",t=>{let r={};for(let i=0;i<t.length;i+=1){let o=t[i];r=Object.assign(r,o)}return r}),N(this,"functionMin",([t])=>{if(!t.length)return null;if(this.getTypeName(t[0])===0)return Math.min(...t);let r=t,i=r[0];for(let o=1;o<r.length;o+=1)r[o].localeCompare(i)<0&&(i=r[o]);return i}),N(this,"functionMinBy",t=>{let r=t[1],i=t[0],o=this.createKeyFunction(r,[0,2]),n=1/0,a,s;for(let l=0;l<i.length;l+=1)s=o&&o(i[l]),s!==void 0&&s<n&&(n=s,a=i[l]);return a||null}),N(this,"functionNotNull",t=>{for(let r=0;r<t.length;r+=1)if(this.getTypeName(t[r])!==7)return t[r];return null}),N(this,"functionPadLeft",this.createPadFunction(FM)),N(this,"functionPadRight",this.createPadFunction($M)),N(this,"functionReplace",t=>{let r=t[0],i=t[1],o=t[2];return Sp(r,i,o,t.length>3?t[3]:void 0)}),N(this,"functionSplit",t=>{let r=t[0],i=t[1];return HM(r,i,t.length>2?t[2]:void 0)}),N(this,"functionReverse",([t])=>{if(this.getTypeName(t)===2)return new xl(t).reverse();let r=t.slice(0);return r.reverse(),r}),N(this,"functionSort",([t])=>t.length==0?t:typeof t[0]=="string"?[...t].sort(xl.comparer):[...t].sort()),N(this,"functionSortBy",t=>{let r=t[0].slice(0);if(r.length===0)return r;let i=this._interpreter,o=t[1],n=this.getTypeName(i.visit(o,r[0]));if(n!==void 0&&![0,2].includes(n))throw new Error(`Invalid type: unexpected type (${this.TYPE_NAME_TABLE[n]})`);function a(s,l){throw new Error(`Invalid type: expected (${s.TYPE_NAME_TABLE[n]}), received ${s.TYPE_NAME_TABLE[s.getTypeName(l)]}`)}return r.sort((s,l)=>{let u=i.visit(o,s),_=i.visit(o,l);return this.getTypeName(u)!==n?a(this,u):this.getTypeName(_)!==n&&a(this,_),n===2?xl.comparer(u,_):u-_})}),N(this,"functionStartsWith",([t,r])=>t.startsWith(r)),N(this,"functionSum",([t])=>t.reduce((r,i)=>r+i,0)),N(this,"functionToArray",([t])=>this.getTypeName(t)===3?t:[t]),N(this,"functionToNumber",([t])=>{let r=this.getTypeName(t),i;return r===0?t:r===2&&(i=+t,!isNaN(i))?i:null}),N(this,"functionToString",([t])=>this.getTypeName(t)===2?t:JSON.stringify(t)),N(this,"functionTrim",this.createTrimFunction(UM)),N(this,"functionTrimLeft",this.createTrimFunction(sx)),N(this,"functionTrimRight",this.createTrimFunction(lx)),N(this,"functionType",([t])=>{switch(this.getTypeName(t)){case 0:return"number";case 2:return"string";case 3:return"array";case 4:return"object";case 5:return"boolean";case 7:return"null";default:throw new Error("invalid-type")}}),N(this,"functionZip",t=>{let r=Math.min(...t.map(i=>i.length));return Array(r).fill(null).map((i,o)=>t.map(n=>n[o]))}),this._interpreter=e,this._functionTable=this.buildFunctionTable()}buildFunctionTable(){return{abs:{_func:kd(Math.abs),_signature:[{types:[0]}]},ceil:{_func:kd(Math.ceil),_signature:[{types:[0]}]},floor:{_func:kd(Math.floor),_signature:[{types:[0]}]},lower:{_func:ub(LM),_signature:[{types:[2]}]},upper:{_func:ub(VM),_signature:[{types:[2]}]},keys:{_func:cb(Object.keys),_signature:[{types:[4]}]},values:{_func:cb(Object.values),_signature:[{types:[4]}]},avg:{_func:this.functionAvg,_signature:[{types:[8]}]},contains:{_func:this.functionContains,_signature:[{types:[2,3]},{types:[1]}]},ends_with:{_func:this.functionEndsWith,_signature:[{types:[2]},{types:[2]}]},find_first:{_func:this.functionFindFirst,_signature:[{types:[2]},{types:[2]},{types:[0],optional:!0},{types:[0],optional:!0}]},find_last:{_func:this.functionFindLast,_signature:[{types:[2]},{types:[2]},{types:[0],optional:!0},{types:[0],optional:!0}]},from_items:{_func:this.functionFromItems,_signature:[{types:[11]}]},group_by:{_func:this.functionGroupBy,_signature:[{types:[3]},{types:[6]}]},items:{_func:this.functionItems,_signature:[{types:[4]}]},join:{_func:this.functionJoin,_signature:[{types:[2]},{types:[9]}]},length:{_func:this.functionLength,_signature:[{types:[2,3,4]}]},map:{_func:this.functionMap,_signature:[{types:[6]},{types:[3]}]},max:{_func:this.functionMax,_signature:[{types:[8,9]}]},max_by:{_func:this.functionMaxBy,_signature:[{types:[3]},{types:[6]}]},merge:{_func:this.functionMerge,_signature:[{types:[4],variadic:!0}]},min:{_func:this.functionMin,_signature:[{types:[8,9]}]},min_by:{_func:this.functionMinBy,_signature:[{types:[3]},{types:[6]}]},not_null:{_func:this.functionNotNull,_signature:[{types:[1],variadic:!0}]},pad_left:{_func:this.functionPadLeft,_signature:[{types:[2]},{types:[0]},{types:[2],optional:!0}]},pad_right:{_func:this.functionPadRight,_signature:[{types:[2]},{types:[0]},{types:[2],optional:!0}]},replace:{_func:this.functionReplace,_signature:[{types:[2]},{types:[2]},{types:[2]},{types:[0],optional:!0}]},reverse:{_func:this.functionReverse,_signature:[{types:[2,3]}]},sort:{_func:this.functionSort,_signature:[{types:[9,8]}]},sort_by:{_func:this.functionSortBy,_signature:[{types:[3]},{types:[6]}]},split:{_func:this.functionSplit,_signature:[{types:[2]},{types:[2]},{types:[0],optional:!0}]},starts_with:{_func:this.functionStartsWith,_signature:[{types:[2]},{types:[2]}]},sum:{_func:this.functionSum,_signature:[{types:[8]}]},to_array:{_func:this.functionToArray,_signature:[{types:[1]}]},to_number:{_func:this.functionToNumber,_signature:[{types:[1]}]},to_string:{_func:this.functionToString,_signature:[{types:[1]}]},trim:{_func:this.functionTrim,_signature:[{types:[2]},{types:[2],optional:!0}]},trim_left:{_func:this.functionTrimLeft,_signature:[{types:[2]},{types:[2],optional:!0}]},trim_right:{_func:this.functionTrimRight,_signature:[{types:[2]},{types:[2],optional:!0}]},type:{_func:this.functionType,_signature:[{types:[1]}]},zip:{_func:this.functionZip,_signature:[{types:[3],variadic:!0}]}}}registerFunction(e,t,r,i){let o=this._registerInternal(e,t,r,i);if(!o.success)throw new Error(o.message)}_registerInternal(e,t,r,i={}){if(!e||typeof e!="string"||e.trim()==="")return{success:!1,reason:"invalid-name",message:"Function name must be a non-empty string"};try{this.validateInputSignatures(e,r)}catch(s){return{success:!1,reason:"invalid-signature",message:s instanceof Error?s.message:"Invalid function signature"}}let{override:o=!1,warn:n=!1}=i,a=e in this._functionTable;return a&&!o?{success:!1,reason:"already-exists",message:`Function already defined: ${e}(). Use { override: true } to replace it.`}:(a&&o&&n&&console.warn(`Warning: Overriding existing function: ${e}()`),this._functionTable[e]={_func:t.bind(this),_signature:r},this._customFunctions.add(e),{success:!0,message:a?`Function ${e}() overridden successfully`:`Function ${e}() registered successfully`})}register(e,t,r,i={}){return this._registerInternal(e,t,r,i)}unregister(e){return this._customFunctions.has(e)?(delete this._functionTable[e],this._customFunctions.delete(e),!0):!1}isRegistered(e){return e in this._functionTable}getRegistered(){return Object.keys(this._functionTable)}getCustomFunctions(){return Array.from(this._customFunctions)}clearCustomFunctions(){for(let e of this._customFunctions)delete this._functionTable[e];this._customFunctions.clear()}callFunction(e,t){let r=this._functionTable[e];if(r===void 0)throw new Error(`Unknown function: ${e}()`);return this.validateArgs(e,t,r._signature),r._func.call(this,t)}validateInputSignatures(e,t){for(let r=0;r<t.length;r+=1)if("variadic"in t[r]&&r!==t.length-1)throw new Error(`Invalid arity: ${e}() 'variadic' argument ${r+1} must occur last`)}validateArgs(e,t,r){this.validateInputSignatures(e,r),this.validateArity(e,t,r),this.validateTypes(e,t,r)}validateArity(e,t,r){let i=r.filter(s=>!(s.optional??!1)).length,o=r[r.length-1]?.variadic??!1,n=t.length<i,a=t.length>r.length;if(o&&n||!o&&(n||a)){let s=n&&(!o&&i>1||o)?"at least ":"",l=r.length>1;throw new Error(`Invalid arity: ${e}() takes ${s}${i} argument${l&&"s"||""} but received ${t.length}`)}}validateTypes(e,t,r){for(let i=0;i<r.length;i+=1){let o=r[i].types,n=this.getTypeName(t[i]);if(n!==void 0&&!o.some(a=>this.typeMatches(n,a,t[i]))){let a=o.map(s=>this.TYPE_NAME_TABLE[s]).join(" | ");throw new Error(`Invalid type: ${e}() expected argument ${i+1} to be type (${a}) but received type ${this.TYPE_NAME_TABLE[n]} instead.`)}}}typeMatches(e,t,r){if(t===1)return!0;if(t===9||t===8||t===10||t===11||t===3){if(t===3)return e===3;if(e===3){let i;t===8?i=0:t===10?i=4:t===9?i=2:t===11&&(i=3);let o=r;for(let n=0;n<o.length;n+=1){let a=this.getTypeName(o[n]);if(a!==void 0&&i!==void 0&&!this.typeMatches(a,i,o[n]))return!1}return!0}}else return e===t;return!1}getTypeName(e){if(e===null)return 7;if(typeof e=="string")return 2;if(typeof e=="number")return 0;if(typeof e=="boolean")return 5;if(Array.isArray(e))return 3;if(typeof e=="object")return e.expref?6:4}createKeyFunction(e,t){let r=this._interpreter;return i=>{let o=r.visit(e,i);if(!t.includes(this.getTypeName(o))){let n=`Invalid type: expected one of (${t.map(a=>this.TYPE_NAME_TABLE[a]).join(" | ")}), received ${this.TYPE_NAME_TABLE[this.getTypeName(o)]}`;throw new Error(n)}return o}}createFindFunction(e){return t=>{let r=t[0],i=t[1];return e(r,i,t.length>2?t[2]:void 0,t.length>3?t[3]:void 0)}}createPadFunction(e){return t=>{let r=t[0],i=t[1];return e(r,i,t.length>2?t[2]:void 0)}}createTrimFunction(e){return t=>{let r=t[0];return e(r,t.length>1?t[1]:void 0)}}},cx=class _x{constructor(){N(this,"inner"),N(this,"data",{})}get currentScopeData(){return this.data}withScope(t){let r=new _x;return r.inner=this,r.data=t,r}getValue(t){return Object.prototype.hasOwnProperty.call(this.data,t)?this.data[t]:this.inner?this.inner.getValue(t):null}},KM=new cx;new class dx{constructor(){N(this,"runtime"),N(this,"_rootValue",null),N(this,"_scope"),this.runtime=new ZM(this),this._scope=new cx}withScope(t){let r=new dx;return r.runtime._functionTable=this.runtime._functionTable,r._rootValue=this._rootValue,r._scope=this._scope.withScope(t),r}search(t,r){return this._rootValue=r,this._scope=KM,this.visit(t,r)}visit(t,r){switch(t.type){case"Ternary":return Ka(this.visit(t.condition,r))?this.visit(t.falseExpr,r):this.visit(t.trueExpr,r);case"Field":let i=t.name;return r===null||typeof r!="object"||Array.isArray(r)?null:r[i]??null;case"LetExpression":{let{bindings:o,expression:n}=t,a={};return o.forEach(s=>{let l=this.visit(s,r);a=E(E({},a),l)}),this.withScope(a).visit(n,r)}case"Binding":{let{variable:o,reference:n}=t,a=this.visit(n,r);return{[o]:a}}case"Variable":{let o=t.name;if(!this._scope.getValue(o)&&!Object.prototype.hasOwnProperty.call(this._scope.currentScopeData,o))throw new Error(`Error referencing undefined variable ${o}`);return this._scope.getValue(o)}case"IndexExpression":return this.visit(t.right,this.visit(t.left,r));case"Subexpression":{let o=this.visit(t.left,r);return o!=null?this.visit(t.right,o)??null:null}case"Index":return Array.isArray(r)?r[t.value<0?r.length+t.value:t.value]??null:null;case"Slice":{if(!Array.isArray(r)&&typeof r!="string")return null;let{start:o,stop:n,step:a}=this.computeSliceParams(r.length,t);if(typeof r=="string"){let s=[...r];return this.slice(s,o,n,a).join("")}else return this.slice(r,o,n,a)}case"Projection":{let{left:o,right:n}=t,a=!1;o.type==="IndexExpression"&&o.right.type==="Slice"&&(a=!0);let s=this.visit(o,r);if(a&&typeof s=="string")return this.visit(n,s);if(!Array.isArray(s))return null;let l=[];for(let u of s){let _=this.visit(n,u);_!==null&&l.push(_)}return l}case"ValueProjection":{let{left:o,right:n}=t,a=this.visit(o,r);if(a===null||typeof a!="object"||Array.isArray(a))return null;let s=[],l=Object.values(a);for(let u of l){let _=this.visit(n,u);_!==null&&s.push(_)}return s}case"FilterProjection":{let{left:o,right:n,condition:a}=t,s=this.visit(o,r);if(!Array.isArray(s))return null;let l=[];for(let u of s){if(Ka(this.visit(a,u)))continue;let _=this.visit(n,u);_!==null&&l.push(_)}return l}case"Arithmetic":{let o=this.visit(t.left,r),n=this.visit(t.right,r);switch(t.operator){case"Plus":return EM(o,n);case"Minus":return DM(o,n);case"Multiply":case"Star":return zM(o,n);case"Divide":return RM(o,n);case"Modulo":return PM(o,n);case"Div":return OM(o,n);default:throw new Error(`Syntax error: unknown arithmetic operator: ${t.operator}`)}}case"Unary":{let o=this.visit(t.operand,r);switch(t.operator){case"Plus":return co(o),o;case"Minus":return co(o),-o;default:throw new Error(`Syntax error: unknown arithmetic operator: ${t.operator}`)}}case"Comparator":{let o=this.visit(t.left,r),n=this.visit(t.right,r);switch(t.name){case"EQ":return $u(o,n);case"NE":return!$u(o,n)}if(typeof o!="number"||typeof n!="number")return null;switch(t.name){case"GT":return o>n;case"GTE":return o>=n;case"LT":return o<n;case"LTE":return o<=n}}case"Flatten":{let o=this.visit(t.child,r);return Array.isArray(o)?o.flat():null}case"Root":return this._rootValue;case"MultiSelectList":{let o=[];for(let n of t.children)o.push(this.visit(n,r));return o}case"MultiSelectHash":{let o={};for(let n of t.children)o[n.name]=this.visit(n.value,r);return o}case"OrExpression":{let o=this.visit(t.left,r);return Ka(o)?this.visit(t.right,r):o}case"AndExpression":{let o=this.visit(t.left,r);return Ka(o)?o:this.visit(t.right,r)}case"NotExpression":return Ka(this.visit(t.child,r));case"Literal":return t.value;case"Pipe":return this.visit(t.right,this.visit(t.left,r));case"Function":{let o=[];for(let n of t.children)o.push(this.visit(n,r));return this.runtime.callFunction(t.name,o)}case"ExpressionReference":return E({expref:!0},t.child);case"Current":case"Identity":return r}}computeSliceParams(t,r){let{start:i,stop:o,step:n}=r;if(n===null)n=1;else if(n===0){let a=new Error("Invalid value: slice step cannot be 0");throw a.name="RuntimeError",a}return i=i===null?n<0?t-1:0:this.capSliceRange(t,i,n),o=o===null?n<0?-1:t:this.capSliceRange(t,o,n),{start:i,stop:o,step:n}}capSliceRange(t,r,i){let o=r;return o<0?(o+=t,o<0&&(o=i<0?-1:0)):o>=t&&(o=i<0?t-1:t),o}slice(t,r,i,o){let n=[];if(o>0)for(let a=r;a<i;a+=o)n.push(t[a]);else for(let a=r;a>i;a+=o)n.push(t[a]);return n}};Ap(M7());Tp=function(e,...t){if(Tp.translate){let i=Tp.translate(e,t);e=i[0],t=i[1]}let r=_b(e[0],e.raw[0]);for(let i=1;i<e.length;i++)r+=t[i-1]+_b(e[i],e.raw[i]);return r},YM=":";globalThis.$localize=Tp;document.body.classList.add("ui5-content-density-compact");QM=(e,t)=>t.url,JM=(e,t)=>t[0];iL=(()=>{class e{constructor(){this.i18nService=S(Nv),this.context=k.required(),this.LuigiClient=k.required(),this.texts=ir(()=>this.readTranslations()),this.errors=Kr([]),this.Object=Object,this.defaultConfig=[{url:"http://localhost:4200/content-configuration.json",active:!0},{url:"http://localhost:4200/assets/content-configuration.json",active:!0}],this.isActive=Kr(!1),this.configs=Kr(this.defaultConfig),this.serviceProviderConfig=Kr({}),this.localDevelopmentSettings=ir(()=>({isActive:this.isActive(),configs:this.configs(),serviceProviderConfig:this.serviceProviderConfig()})),this.urlInput=new Wo("",{nonNullable:!0}),this.serviceProviderForm=new A2({key:new Wo("",{nonNullable:!0}),value:new Wo("",{nonNullable:!0})})}ngOnInit(){let r=ob.read(on.DEVELOPMENT_MODE_CONFIG)||ob.read()||this.localDevelopmentSettings();this.isActive.set(r.isActive),this.configs.set(r.configs||[]),this.serviceProviderConfig.set(r.serviceProviderConfig||{})}saveDevelopmentSettings(){this.LuigiClient().publishEvent(new CustomEvent("luigi.updateUserSettings",{detail:{localDevelopmentSettings:this.localDevelopmentSettings()}}))}addUrl(r){this.isValidUrl(r)?r&&!this.configs().find(i=>i.url===r)&&(this.errors.set([]),this.configs.update(i=>[...i,{url:r,active:!0}]),this.saveDevelopmentSettings()):this.errors.set([...this.errors(),"pattern"])}removeUrl(r){this.configs.update(i=>i.filter((o,n)=>n!==r)),this.saveDevelopmentSettings()}toggleUrl(r){this.configs.update(i=>i.map((o,n)=>n===r?te(E({},o),{active:o.active===!1}):o)),this.saveDevelopmentSettings()}removeServiceProviderConfig(r){this.serviceProviderConfig.update(i=>(delete i[r],E({},i))),this.saveDevelopmentSettings()}addServiceProviderConfig(r,i){r&&i&&(this.serviceProviderConfig.update(o=>(o[r]=i,E({},o))),this.saveDevelopmentSettings())}switchIsActive(){this.isActive.update(r=>!r),this.saveDevelopmentSettings()}isValidUrl(r){try{return new URL(r),!0}catch{return!1}}readTranslations(){return this.i18nService.translationTable=this.context().translationTable,{explanation:this.i18nService.getTranslation("LOCAL_DEVELOPMENT_SETTINGS_EXPLANATION"),link:this.i18nService.getTranslation("LOCAL_DEVELOPMENT_SETTINGS_LINK"),addButton:this.i18nService.getTranslation("LOCAL_DEVELOPMENT_SETTINGS_ADD_BUTTON"),clearButton:this.i18nService.getTranslation("LOCAL_DEVELOPMENT_SETTINGS_CLEAR_BUTTON"),removeButton:this.i18nService.getTranslation("LOCAL_DEVELOPMENT_SETTINGS_REMOVE_BUTTON"),isDevelopmentModeActive:this.i18nService.getTranslation("LOCAL_DEVELOPMENT_SETTINGS_IS_ACTIVE"),urlsInput:{title:this.i18nService.getTranslation("LOCAL_DEVELOPMENT_SETTINGS_URLS_TITLE"),label:this.i18nService.getTranslation("LOCAL_DEVELOPMENT_SETTINGS_URLS_LABEL"),error:this.i18nService.getTranslation("LOCAL_DEVELOPMENT_SETTINGS_URLS_ERROR")},serviceProviderConfig:{title:this.i18nService.getTranslation("LOCAL_DEVELOPMENT_SETTINGS_SERVICE_PROVIDER_TITLE"),explanation:this.i18nService.getTranslation("LOCAL_DEVELOPMENT_SETTINGS_SERVICE_PROVIDER_EXPLANATION"),keyInput:{label:this.i18nService.getTranslation("LOCAL_DEVELOPMENT_SETTINGS_SERVICE_PROVIDER_KEY_INPUT_LABEL"),placeholder:this.i18nService.getTranslation("LOCAL_DEVELOPMENT_SETTINGS_SERVICE_PROVIDER_KEY_INPUT_PLACEHOLDER")},valueInput:{label:this.i18nService.getTranslation("LOCAL_DEVELOPMENT_SETTINGS_SERVICE_PROVIDER_VALUE_INPUT_LABEL"),placeholder:this.i18nService.getTranslation("LOCAL_DEVELOPMENT_SETTINGS_SERVICE_PROVIDER_VALUE_INPUT_PLACEHOLDER")}}}}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275cmp=wr({type:e,selectors:[["wc-development-settings"]],inputs:{context:[1,"context"],LuigiClient:[1,"LuigiClient"]},decls:51,vars:24,consts:[[1,"container"],[1,"explanation"],["target","_blank","href","https://github.com/openmfp/portal-ui-lib/blob/main/README.md#Local-Application-Development",1,"line-height-normal"],[1,"is-active-switch"],[1,"line-height-normal"],[1,"switch-active",3,"change","checked"],[1,"config-input"],["for","input-url",1,"line-height-normal","field-label"],["id","input-url","type","Text","placeholder","http://localhost:4200/assets/content-configuration.json","aria-required","true",1,"line-height-normal","field-control",3,"formControl"],[1,"config-input-buttons"],["design","Emphasized",1,"compact-button",3,"click"],["design","Transparent",1,"compact-button",3,"click"],[1,"config-list"],["separators","Inner",1,"config-list-wrapper"],[1,"config-list-item"],[1,"config-input","line-height-normal"],["for","input-key",1,"line-height-normal","field-label"],[3,"formGroup"],["id","input-key","type","Text","aria-required","true",1,"line-height-normal","field-control",3,"placeholder","formControl"],["for","input-value",1,"line-height-normal","field-label"],["id","input-value","type","Text","aria-required","true",1,"line-height-normal","field-control",3,"placeholder","formControl"],[1,"list-item-row"],[1,"list-item-text",3,"title"],[3,"change","checked"],["design","Transparent","icon","decline",1,"remove-button",3,"click","tooltip"],[1,"list-item-text"]],template:function(r,i){if(r&1&&(U(0,"div"),qC(1),U(2,"div",0)(3,"div")(4,"div",1),fe(5),W(),U(6,"ui5-link",2),fe(7),W()(),U(8,"div",3)(9,"h4",4),fe(10),W(),U(11,"ui5-switch",5),Pt("change",function(){return i.switchIsActive()}),W()(),U(12,"div",6)(13,"h4",4),fe(14),W(),U(15,"ui5-label",7),fe(16),W(),U(17,"ui5-input",8),Gl(),W(),LC(18,eL,2,1,"div",4),U(19,"div",9)(20,"ui5-button",10),Pt("click",function(){return i.addUrl(i.urlInput.value)}),fe(21),W(),U(22,"ui5-button",11),Pt("click",function(){return i.urlInput.reset()}),fe(23),W()(),U(24,"div",12)(25,"ui5-list",13),Tu(26,tL,6,8,"ui5-li-custom",14,QM),W()()(),U(28,"div",15)(29,"h4",4),fe(30),W(),U(31,"ui5-label",16),fe(32),W(),ms(33,"br"),U(34,"div",17)(35,"ui5-label",16),fe(36),W(),U(37,"ui5-input",18),Gl(),W(),ms(38,"br"),U(39,"ui5-label",19),fe(40),W(),U(41,"ui5-input",20),Gl(),W()(),U(42,"div",9)(43,"ui5-button",10),Pt("click",function(){return i.addServiceProviderConfig(i.serviceProviderForm.controls.key.value,i.serviceProviderForm.controls.value.value)}),fe(44),W(),U(45,"ui5-button",11),Pt("click",function(){return i.serviceProviderForm.reset()}),fe(46),W()(),U(47,"div",12)(48,"ui5-list",13),Tu(49,rL,5,4,"ui5-li-custom",14,JM),W()()()()()),r&2){P();let o=$O(i.texts());P(4),Pr(o.explanation),P(2),bt(" ",o.link," "),P(3),bt(" ",o.isDevelopmentModeActive," "),P(),Ot("checked",i.isActive()),P(3),Pr(o.urlsInput.title),P(2),bt(" ",o.urlsInput.label," "),P(),Ot("formControl",i.urlInput),Wl(),P(),$C(i.errors().length?18:-1),P(3),bt(" ",o.addButton," "),P(2),bt(" ",o.clearButton," "),P(3),Iu(i.configs()),P(4),bt(" ",o.serviceProviderConfig.title," "),P(2),bt(" ",o.serviceProviderConfig.explanation," "),P(2),Ot("formGroup",i.serviceProviderForm),P(2),bt(" ",o.serviceProviderConfig.keyInput.label," "),P(),Ot("placeholder",ys(o.serviceProviderConfig.keyInput.placeholder))("formControl",i.serviceProviderForm.controls.key),Wl(),P(3),bt(" ",o.serviceProviderConfig.valueInput.label," "),P(),Ot("placeholder",ys(o.serviceProviderConfig.valueInput.placeholder))("formControl",i.serviceProviderForm.controls.value),Wl(),P(3),bt(" ",o.addButton," "),P(2),bt(" ",o.clearButton," "),P(3),Iu(i.Object.entries(i.serviceProviderConfig()))}},dependencies:[ox,tx,Rv,J2,ex,rx,ix,E2,T2,I2,Tv,kv],styles:[`:host{display:block}.container{padding:16px;display:flex;flex-direction:column;justify-content:center;box-sizing:border-box;width:100%}.explanation{line-height:normal;padding-bottom:1rem}.line-height-normal{line-height:normal}.is-active-switch{display:flex;align-items:center;gap:24px;padding-top:1.5rem}.config-list{padding:16px 0}.config-input{display:flex;flex-direction:column}.config-input-buttons{display:flex;justify-content:flex-end;gap:8px;margin-top:16px}.field-label{display:inline-block;font-weight:400;margin-bottom:-.125rem;color:var(--%NS%sapContent_LabelColor, #4a4a4a);overflow-wrap:break-word;word-break:break-word}.field-control{width:100%;height:2.25rem}.config-list-wrapper::part(list){background-color:transparent;border:none;padding:0}.config-list-item{width:100%;padding:0;height:auto;--%NS%_ui5_list_item_base_height: 0px}.config-list-item::part(native-li){padding:0;background:transparent;border:none;height:auto;block-size:auto}.config-list-item::part(content){overflow:visible;height:auto;block-size:auto}.list-item-row{width:100%;display:flex;align-items:center;justify-content:space-between;padding:9px 16px}.list-item-row ui5-switch{flex-shrink:0;padding-left:10px}.list-item-row .remove-button{flex-shrink:0}.list-item-text{flex:1 1 auto;min-width:0;overflow-wrap:anywhere}.list-item-text--inactive{color:var(--%NS%sapContent_DisabledTextColor, #a9a9a9)}
|
|
97
|
-
`],encapsulation:3})}}return e})(),oL=(e,t)=>t.key;aL=(()=>{class e{constructor(){this.i18nService=S(Nv),this.context=k.required(),this.LuigiClient=k.required(),this.togglesForm=new A2({}),this.newToggleControl=new Wo("",{nonNullable:!0,validators:[n2.required]}),this.queryParamsFeatures=this.extractFeatureToggleValues(window.location.search),this.translationTable=ir(()=>this.context().translationTable),this.texts={},this.togglesForm.valueChanges.pipe(aM()).subscribe(()=>{this.saveFeatureToggleSettings()}),br(()=>{this.i18nService.translationTable=this.translationTable(),this.texts=this.readTranslations()})}ngOnInit(){let r=nb.read();this.LuigiClient().getActiveFeatureToggles().forEach(i=>{let o=i.toString();r[o]||(r[o]=!0)}),Object.entries(r).forEach(([i,o])=>{this.togglesForm.addControl(i,new Wo(o)),this.queryParamsFeatures.includes(i)&&this.togglesForm.get(i).disable({emitEvent:!1})}),nb.store(r)}addToggle(){this.togglesForm.get(this.newToggleControl.value)||(this.togglesForm.addControl(this.newToggleControl.value,new Wo(!1)),this.newToggleControl.reset())}clear(){this.newToggleControl.reset()}onItemDelete(r){this.togglesForm.removeControl(r)}onToggleChange(r){this.togglesForm.get(r).setValue(!this.togglesForm.get(r).value)}extractFeatureToggleValues(r){return r?new URLSearchParams(r).getAll("ft").flatMap(i=>i.split(",")):[]}saveFeatureToggleSettings(){this.LuigiClient().publishEvent(new CustomEvent("luigi.updateUserSettings",{detail:{featureToggleSettings:this.togglesForm.getRawValue()}}))}readTranslations(){return{explanation:this.i18nService.getTranslation("FEATURE_TOGGLE_SETTINGS_EXPLANATION"),link:this.i18nService.getTranslation("FEATURE_TOGGLE_SETTINGS_LINK"),addButton:this.i18nService.getTranslation("FEATURE_TOGGLE_SETTINGS_ADD_BUTTON"),clearButton:this.i18nService.getTranslation("FEATURE_TOGGLE_SETTINGS_CLEAR_BUTTON"),nameInputLabel:this.i18nService.getTranslation("FEATURE_TOGGLE_SETTINGS_NAME_INPUT_LABEL"),tooltipQueryParam:this.i18nService.getTranslation("FEATURE_TOGGLE_SETTINGS_TOOLTIP_QUERY_PARAM")}}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275cmp=wr({type:e,selectors:[["wc-feature-toggle"]],inputs:{context:[1,"context"],LuigiClient:[1,"LuigiClient"]},decls:19,vars:11,consts:[[1,"container"],[1,"explanation-container"],[1,"explanation"],["target","_blank","href","https://github.com/openmfp/portal-ui-lib/blob/main/docs/readme-nodes-configuration.md#feature-toggles",1,"explanation"],["for","input-new-toggle","show-colon","",1,"label"],[1,"new-toggle-input"],["id","input-new-toggle","placeholder","myToggle",1,"input",3,"formControl"],["design","Emphasized",3,"ui5Click","disabled"],[3,"ui5Click","disabled"],[1,"toggle-list",3,"formGroup"],[1,"toggle-item"],[1,"toggle-item-buttons"],[3,"ui5Change","tooltip","disabled","checked"],["design","Transparent","icon","decline",3,"ui5Click","tooltip","disabled"]],template:function(r,i){r&1&&(U(0,"div",0)(1,"div",1)(2,"div",2),fe(3),W(),U(4,"ui5-link",3),fe(5),W()(),U(6,"div")(7,"ui5-label",4),fe(8),W(),U(9,"div",5)(10,"ui5-input",6),Gl(),W(),U(11,"ui5-button",7),Pt("ui5Click",function(){return i.addToggle()}),fe(12),W(),U(13,"ui5-button",8),Pt("ui5Click",function(){return i.clear()}),fe(14),W()()(),U(15,"ui5-list",9),Tu(16,nL,7,6,"ui5-li-custom",null,oL),
|
|
96
|
+
`,Ft=function(e,t,r,i){var o=arguments.length,n=o<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(e,t,r,i);else for(var s=e.length-1;s>=0;s--)(a=e[s])&&(n=(o<3?a(n):o>3?a(t,r,n):a(t,r))||n);return o>3&&n&&Object.defineProperty(t,r,n),n},xt=Rn=class extends mt{constructor(){super(...arguments),this.design="Textual",this.readonly=!1,this.checked=!1,this.disabled=!1,this.required=!1,this.value="",this._cancelAction=!1,this._isSpacePressed=!1}get formValidityMessage(){return Rn.i18nBundle.getText(Bb)}get formValidity(){return{valueMissing:this.required&&!this.checked}}async formElementAnchor(){return this.getFocusDomRefAsync()}get formFormattedValue(){return this.checked?this.value||"on":null}get sapNextIcon(){return this.checked?"accept":"less"}_onfocusin(){this._cancelAction=!1,this._isSpacePressed=!1}_onclick(){this.readonly||this.toggle()}_onkeydown(e){Ue(e)&&e.preventDefault(),!this.readonly&&(Ue(e)?this._isSpacePressed=!0:(ou(e)||so(e))&&(this._cancelAction=!0),Nt(e)&&this._onclick())}_onkeyup(e){if(this.readonly)return;let t=Ue(e),r=ou(e)||so(e);if(t||W0(e)){if(this._cancelAction){this._cancelAction=!1,this._isSpacePressed=!1,e.preventDefault();return}this._isSpacePressed=!1}else r&&!this._isSpacePressed&&(this._cancelAction=!1);t&&this._onclick()}toggle(){if(!this.disabled&&!this.readonly){this.checked=!this.checked;let e=!this.fireDecoratorEvent("change"),t=!this.fireDecoratorEvent("value-changed");(e||t)&&(this.checked=!this.checked)}}get graphical(){return this.design===CM.Graphical}get hasNoLabel(){return!(this.graphical||this.textOn||this.textOff)}get _textOn(){return this.graphical?"":this.textOn}get _textOff(){return this.graphical?"":this.textOff}get _textAriaHidden(){let e=this.textOn?.toLowerCase(),t=this.textOff?.toLowerCase(),r=Rn.i18nBundle.getText(dk).toLowerCase(),i=Rn.i18nBundle.getText(hk).toLowerCase();return e===r&&t===i||void 0}get effectiveTabIndex(){return this.disabled?void 0:0}get effectiveAriaReadonly(){return this.readonly?"true":void 0}get effectiveAriaDisabled(){return this.disabled?"true":void 0}get ariaLabelText(){return va(this)||tf(this)||void 0}get ariaDescribedBy(){return this.readonly?`${this._id}-readonly-desc`:void 0}get ariaDescribedByText(){return this.readonly?Rn.i18nBundle.getText(kb):""}};Ft([v()],xt.prototype,"design",void 0);Ft([v({type:Boolean})],xt.prototype,"readonly",void 0);Ft([v({type:Boolean})],xt.prototype,"checked",void 0);Ft([v({type:Boolean})],xt.prototype,"disabled",void 0);Ft([v()],xt.prototype,"textOn",void 0);Ft([v()],xt.prototype,"textOff",void 0);Ft([v()],xt.prototype,"accessibleName",void 0);Ft([v()],xt.prototype,"accessibleNameRef",void 0);Ft([v()],xt.prototype,"tooltip",void 0);Ft([v({type:Boolean})],xt.prototype,"required",void 0);Ft([v()],xt.prototype,"name",void 0);Ft([v()],xt.prototype,"value",void 0);Ft([v({type:Boolean,noAttribute:!0})],xt.prototype,"_cancelAction",void 0);Ft([v({type:Boolean,noAttribute:!0})],xt.prototype,"_isSpacePressed",void 0);Ft([lt("@ui5/webcomponents")],xt,"i18nBundle",void 0);xt=Rn=Ft([ye({tag:"ui5-switch",formAssociated:!0,languageAware:!0,styles:SM,renderer:rt,template:xM}),V("change",{bubbles:!0,cancelable:!0}),V("value-changed",{bubbles:!0,cancelable:!0})],xt);xt.define();ox=(()=>{class e{constructor(){this.accessibleName=k(),this.accessibleNameRef=k(),this.checked=k(!1,{transform:Re}),this.design=k("Textual"),this.disabled=k(!1,{transform:Re}),this.name=k(),this.readonly=k(!1,{transform:Re}),this.required=k(!1,{transform:Re}),this.textOff=k(),this.textOn=k(),this.tooltip=k(),this.value=k(""),this.ui5Change=it(),this.elementRef=S(er),this.injector=S(ht),this._contentDensityObserver=S(Ni)}get element(){return this.elementRef.nativeElement}ngAfterViewInit(){let r=this.element;for(let i of["accessibleName","accessibleNameRef","checked","design","disabled","name","readonly","required","textOff","textOn","tooltip","value"]){let o=i.replace(/-./g,n=>n[1].toUpperCase());this[o]&&typeof this[o]=="function"&&Fr(this.injector,()=>{br(()=>{let n=this[o]();if(r){if(n===void 0&&r[i])return;r[i]=n}})})}for(let i of["ui5Change"]){let o=i.replace("ui5","").replace(/([A-Z])/g,"-$1").toLowerCase().substring(1);this[i]&&typeof this[i].emit=="function"&&r.addEventListener&&r.addEventListener(o,n=>{this[i].emit(n)})}}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275cmp=(function(){return wr({type:e,selectors:[["ui5-switch"],["","ui5-switch",""]],inputs:{accessibleName:[1,"accessibleName"],accessibleNameRef:[1,"accessibleNameRef"],checked:[1,"checked"],design:[1,"design"],disabled:[1,"disabled"],name:[1,"name"],readonly:[1,"readonly"],required:[1,"required"],textOff:[1,"textOff"],textOn:[1,"textOn"],tooltip:[1,"tooltip"],value:[1,"value"]},outputs:{ui5Change:"ui5Change"},exportAs:["ui5Switch"],features:[ar([bo({supportedContentDensity:[K.COMPACT,K.COZY]}),{provide:Ov,useValue:{property:"checked",events:["change"],transformValue:r=>!!r}}]),PC([Q2])],ngContentSelectors:["*"],decls:1,vars:0,template:function(r,i){r&1&&(go(),mo(0))},encapsulation:2})})()}}return e})(),he=globalThis.Luigi,Pv=(()=>{class e{setConfig(r){return he.setConfig(r)}get config(){return he.getConfig()}getConfigValue(r){return he.getConfigValue(r)}unloadConfig(){return he.unload()}sendCustomMessage(r){return he.sendCustomMessage(r)}configChanged(r){he.configChanged(r)}customMessages(){return he.customMessages()}navigation(){return he.navigation()}resetLuigi(){he.reset()}clearNavigationCache(){he.clearNavigationCache&&he.clearNavigationCache()}showAlert(r){return he.showAlert(r)}ux(){return he.ux()}theming(){return he.theming()}i18n(){return he.i18n()}globalSearch(){return he.globalSearch()}getGlobalContext(){return he.getGlobalContext()}getWcExtendedContext(){return document.querySelector(".wcContainer")?.querySelector("[lui_web_component]")?.extendedContext?.context}getWcModalExtendedContext(){return document.querySelector(".iframeModalCtn")?.querySelector("[lui_web_component]")?.extendedContext?.context}setGlobalContext(r,i=!1){he.setGlobalContext(r,i)}setInGlobalContext(r,i=!1){he.setGlobalContext(E(E({},this.getGlobalContext()),r),i)}routing(){return he.routing()}setFeatureToggle(r){he.featureToggles().setFeatureToggle(r)}unsetFeatureToggle(r){he.featureToggles().unsetFeatureToggle(r)}unsetAllFeatureToggles(){he.featureToggles().getActiveFeatureToggleList().forEach(r=>{this.unsetFeatureToggle(r)})}setFeatureToggles(r){if(r)for(let i of Object.keys(r))r[i]&&this.setFeatureToggle(i)}isFeatureToggleActive(r){return he.featureToggles().getActiveFeatureToggleList().includes(r)}getActiveFeatureToggleList(){return he.featureToggles().getActiveFeatureToggleList()}setAuthData(r){he.auth().store.setAuthData(r),he.auth().store.setNewlyAuthorized()}removeAuthData(){he.auth().store.removeAuthData()}getAuthData(){return he.auth().store.getAuthData()}setCurrentLocale(r){he.i18n().setCurrentLocale(r)}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=xe({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();(function(e){e.AUTH_SUCCESSFUL="AuthSuccessful",e.AUTH_ERROR="AuthError",e.AUTH_EXPIRED="AuthExpired",e.AUTH_REFRESHED="AuthRefreshed",e.AUTH_EXPIRE_SOON="AuthExpireSoon",e.AUTH_CONFIG_ERROR="AuthConfigError",e.LOGOUT="Logout"})(tb||(tb={}));(function(e){e.GLOBAL="global",e.GLOBAL_TOPNAV="global.topnav",e.ENTITY_ERROR="entity.error"})(rb||(rb={}));(function(e){e.INTERNAL="internal",e.INTERNET="internet"})(ib||(ib={}));kM=class extends Error{};kM.prototype.name="InvalidTokenError";TM=(()=>{class e{constructor(){this.http=S(G2)}async getEnvConfig(){return this.envConfigCache?this.envConfigCache:(await HD(this.http.get("/rest/envconfig").pipe(sz(r=>this.envConfigCache=r))),this.envConfigCache)}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=xe({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),Nv=(()=>{class e{constructor(){this.envConfigService=S(TM),this.luigiCoreService=S(Pv),this.fallbackLanguage="en",this.translationTable={},this.currentLanguage=""}afterInit(){this.currentLanguage=this.luigiCoreService.i18n().getCurrentLocale(),this.luigiCoreService.i18n().addCurrentLocaleChangeListener(r=>{this.currentLanguage=r})}getTranslation(r,i,o){let n=this.getInternalTranslation(r,i,o);return n||(n=this.findTranslation(r,this.translationTable,this.fallbackLanguage,i)),n||r}async getTranslationAsync(r,i,o){return new Promise(n=>{let a=this.getInternalTranslation(r,i,o);a?n(a||r):this.translationTable&&!this.translationTable[this.fallbackLanguage]?this.fetchTranslationFile(this.fallbackLanguage).then(()=>{a=this.findTranslation(r,this.translationTable,this.fallbackLanguage,i),n(a||r)}):(a=this.findTranslation(r,this.translationTable,this.fallbackLanguage,i),n(a||r))})}findTranslation(r,i,o,n){if(i[o]){let a=typeof i[o][r]=="object"?i[o][r].join("<br>"):i[o][r];return n?this.findInterpolations(a,n):a}}findInterpolations(r,i){if(r)return Object.keys(i).forEach(o=>{r=r.replace(new RegExp("{"+o+"}","gi"),i[o])}),r}addTranslationFile(r,i){i&&r&&(this.translationTable[r]=i)}async fetchTranslationFile(r){return new Promise(i=>{fetch(`/assets/translation-files/${r}.json`).then(o=>o.json()).then(o=>{this.addTranslationFile(r,o),i(!0)}).catch(o=>{console.error("Error:",o),this.addTranslationFile(r,{}),i(!1)})})}getInternalTranslation(r,i,o){return r?(this.currentLanguage=o||this.currentLanguage||this.luigiCoreService.i18n().getCurrentLocale(),this.findTranslation(r,this.translationTable,this.currentLanguage,i)):""}async getValidLanguages(){let r=[{value:"en",label:"USERSETTINGSDIALOG_LANGUAGE_EN"}];try{let{developmentInstance:i}=await this.envConfigService.getEnvConfig();i&&r.push({value:"de",label:"USERSETTINGSDIALOG_LANGUAGE_DE"})}finally{return r}}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=xe({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();(function(e){e.LAST_NAVIGATION_URL="openmfp.navigation.lastUrl",e.USER_SETTINGS="openmfp.settings.userSettings",e.LOCAL_DEVELOPMENT_SETTINGS="openmfp.settings.localDevelopmentSettings",e.FEATURE_TOGGLE_SETTINGS="openmfp.settings.featureToggleSettings",e.DEVELOPMENT_MODE_CONFIG="dev-mode-settings"})(on||(on={}));ob={read:e=>{let t;try{t=localStorage.getItem(e||on.LOCAL_DEVELOPMENT_SETTINGS),e&&localStorage.removeItem(e)}catch(r){return console.warn("localStorage is not available:",r),null}try{return t?JSON.parse(t):null}catch(r){console.error("Failed to parse the local development settings in your localstorage.",r)}return null},store:e=>{try{localStorage.setItem(on.LOCAL_DEVELOPMENT_SETTINGS,JSON.stringify(e))}catch(t){console.error("Failed to stringify the local development settings setting into your localstorage.",t)}}},nb={read:()=>{try{let e=localStorage.getItem(on.FEATURE_TOGGLE_SETTINGS);return e?JSON.parse(e):{}}catch(e){return console.error("Error reading feature toggle settings",e),{}}},store:e=>{try{localStorage.setItem(on.FEATURE_TOGGLE_SETTINGS,JSON.stringify(e))}catch(t){console.error("Error storing feature toggle settings",t)}}};Ap(P7());Ap(N7());IM=Object.defineProperty,AM=(e,t,r)=>t in e?IM(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,N=(e,t,r)=>AM(e,typeof t!="symbol"?t+"":t,r),ab=e=>e!==null&&Object.prototype.toString.call(e)==="[object Object]",$u=(e,t)=>{if(e===t)return!0;if(typeof e!=typeof t)return!1;if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r+=1)if(!$u(e[r],t[r]))return!1;return!0}if(ab(e)&&ab(t)){let r=Object.entries(e),i=new Set(Object.keys(t));if(r.length!==i.size)return!1;for(let[o,n]of r){if(!$u(n,t[o]))return!1;i.delete(o)}return i.size===0}return!1},Ka=e=>e==null||e===!1?!0:typeof e=="string"?e==="":typeof e=="object"?Array.isArray(e)?e.length===0:e===null?!0:Object.keys(e).length===0:!1,sb=e=>e>="a"&&e<="z"||e>="A"&&e<="Z"||e==="_",Sd=e=>e>="0"&&e<="9"||e==="-",BM=e=>e>="a"&&e<="z"||e>="A"&&e<="Z"||e>="0"&&e<="9"||e==="_",Hu=e=>{if(typeof e!="number"||Math.floor(e)!==e)throw new Error("invalid-value: expecting an integer.");return e},Mv=e=>{if(typeof e!="number"||e<0||Math.floor(e)!==e)throw new Error("invalid-value: expecting a non-negative integer.");return e},co=(...e)=>{for(let t=0;t<e.length;t++){if(e[t]===null||e[t]===void 0)throw new Error("not-a-number: undefined");if(typeof e[t]!="number")throw new Error("not-a-number")}},nx=e=>{if(e=+e,!e)throw new Error("not-a-number: divide by zero");return e},EM=(e,t)=>(co(e,t),e+t),DM=(e,t)=>(co(e,t),e-t),zM=(e,t)=>(co(e,t),e*t),RM=(e,t)=>(co(e,t),e/nx(t)),OM=(e,t)=>(co(e,t),Math.floor(e/nx(t))),PM=(e,t)=>(co(e,t),e%t),NM=(e,t,r,i)=>{if(!e||!t)return null;r=Math.max(Hu(r=r||0),0),i=Math.min(Hu(i=i||e.length),e.length);let o=e.slice(r,i).indexOf(t);return o===-1?null:o+r},MM=(e,t,r,i)=>{if(!e||!t)return null;r=Math.max(Hu(r=r||0),0),i=Math.min(Hu(i=i||e.length),e.length);let o=e.slice(r,i).lastIndexOf(t);return o===-1?null:o+r},LM=e=>e.toLowerCase(),ax=(e,t,r)=>{if(r=r||" ",r.length>1)throw new Error(`invalid value, ${e} expects its 'pad' parameter to be a valid string with a single codepoint`);return Mv(t),r},FM=(e,t,r)=>(r=ax("pad_left",t,r),e&&e.padStart(t,r)||""),$M=(e,t,r)=>(r=ax("pad_right",t,r),e&&e.padEnd(t,r)||""),Sp=(e,t,r,i)=>i===0?e:i?(Mv(i),[...Array(i).keys()].map(()=>e=e.replace(t,r)),e):e.split(t).join(r),HM=(e,t,r)=>{if(e.length==0&&t.length===0)return[];if(r==null)return e.split(t);if(Mv(r),r===0)return[e];let i=e.split(t);return[...i.slice(0,r),i.slice(r).join(t)]},UM=(e,t)=>sx(lx(e,t),t),sx=(e,t)=>ux(e,r=>new RegExp(`^[${r}]*(.*?)`),t),lx=(e,t)=>ux(e,r=>new RegExp(`(.*?)[${r}]*$`),t),ux=(e,t,r)=>{let i=r?r.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&"):"\\s\x85";return e.replace(t(i),"$1")},VM=e=>e.toUpperCase(),lb={"(":"Lparen",")":"Rparen","*":"Star",",":"Comma",".":"Dot",":":"Colon","@":"Current","]":"Rbracket","{":"Lbrace","}":"Rbrace","+":"Plus","%":"Modulo","?":"Question","\u2212":"Minus","\xD7":"Multiply","\xF7":"Divide"},jM={"!":!0,"<":!0,"=":!0,">":!0,"&":!0,"|":!0,"/":!0},qM={" ":!0,"\n":!0,"\r":!0," ":!0},GM=class{constructor(){N(this,"_current",0),N(this,"_enable_legacy_literals",!1)}tokenize(e,t){let r=[];this._current=0,this._enable_legacy_literals=t?.enable_legacy_literals||!1;let i,o,n;for(;this._current<e.length;)if(sb(e[this._current]))i=this._current,o=this.consumeUnquotedIdentifier(e),r.push({start:i,type:"UnquotedIdentifier",value:o});else if(lb[e[this._current]]!==void 0)r.push({start:this._current,type:lb[e[this._current]],value:e[this._current]}),this._current+=1;else if(e[this._current]==="$")i=this._current,this._current+1<e.length&&sb(e[this._current+1])?(this._current+=1,o=this.consumeUnquotedIdentifier(e),r.push({start:i,type:"Variable",value:o})):(r.push({start:i,type:"Root",value:e[this._current]}),this._current+=1);else if(e[this._current]==="-")if(this._current+1<e.length&&Sd(e[this._current+1])){let a=this.consumeNumber(e);a&&r.push(a)}else{let a={start:this._current,type:"Minus",value:"-"};r.push(a),this._current+=1}else if(Sd(e[this._current]))n=this.consumeNumber(e),r.push(n);else if(e[this._current]==="[")n=this.consumeLBracket(e),r.push(n);else if(e[this._current]==='"')i=this._current,o=this.consumeQuotedIdentifier(e),r.push({start:i,type:"QuotedIdentifier",value:o});else if(e[this._current]==="'")i=this._current,o=this.consumeRawStringLiteral(e),r.push({start:i,type:"Literal",value:o});else if(e[this._current]==="`"){i=this._current;let a=this.consumeLiteral(e);r.push({start:i,type:"Literal",value:a})}else if(jM[e[this._current]]!==void 0)n=this.consumeOperator(e),n&&r.push(n);else if(qM[e[this._current]]!==void 0)this._current+=1;else{let a=new Error(`Syntax error: unknown character: ${e[this._current]}`);throw a.name="LexerError",a}return r}consumeUnquotedIdentifier(e){let t=this._current;for(this._current+=1;this._current<e.length&&BM(e[this._current]);)this._current+=1;return e.slice(t,this._current)}consumeQuotedIdentifier(e){let t=this._current;this._current+=1;let r=e.length;for(;e[this._current]!=='"'&&this._current<r;){let n=this._current;e[n]==="\\"&&(e[n+1]==="\\"||e[n+1]==='"')?n+=2:n+=1,this._current=n}this._current+=1;let[i,o]=this.parseJSON(e.slice(t,this._current));if(!o){let n=new Error("syntax: unexpected end of JSON input");throw n.name="LexerError",n}return i}consumeRawStringLiteral(e){let t=this._current;this._current+=1;let r=e.length;for(;e[this._current]!=="'"&&this._current<r;){let i=this._current;e[i]==="\\"&&(e[i+1]==="\\"||e[i+1]==="'")?i+=2:i+=1,this._current=i}return this._current+=1,Sp(Sp(e.slice(t+1,this._current-1),"\\\\","\\"),"\\'","'")}consumeNumber(e){let t=this._current;this._current+=1;let r=e.length;for(;Sd(e[this._current])&&this._current<r;)this._current+=1;return{start:t,value:parseInt(e.slice(t,this._current),10),type:"Number"}}consumeLBracket(e){let t=this._current;return this._current+=1,e[this._current]==="?"?(this._current+=1,{start:t,type:"Filter",value:"[?"}):e[this._current]==="]"?(this._current+=1,{start:t,type:"Flatten",value:"[]"}):{start:t,type:"Lbracket",value:"["}}consumeOrElse(e,t,r,i){let o=this._current;return this._current+=1,this._current<e.length&&e[this._current]===t?(this._current+=1,{start:o,type:i,value:e.slice(o,this._current)}):{start:o,type:r,value:e[o]}}consumeOperator(e){switch(e[this._current]){case"!":return this.consumeOrElse(e,"=","Not","NE");case"<":return this.consumeOrElse(e,"=","LT","LTE");case">":return this.consumeOrElse(e,"=","GT","GTE");case"=":return this.consumeOrElse(e,"=","Assign","EQ");case"&":return this.consumeOrElse(e,"&","Expref","And");case"|":return this.consumeOrElse(e,"|","Pipe","Or");case"/":return this.consumeOrElse(e,"/","Divide","Div")}}consumeLiteral(e){this._current+=1;let t=this._current,r=e.length;for(;e[this._current]!=="`"&&this._current<r;){let a=this._current;e[a]==="\\"&&(e[a+1]==="\\"||e[a+1]==="`")?a+=2:a+=1,this._current=a}let i=e.slice(t,this._current).trimStart();i=i.replace("\\`","`");let o=null,n=!1;if(this.looksLikeJSON(i)&&([o,n]=this.parseJSON(i)),!n&&this._enable_legacy_literals&&([o,n]=this.parseJSON(`"${i}"`)),!n){let a=new Error(`Syntax error: unexpected end of JSON input or invalid format for a JSON literal: ${e[this._current]}`);throw a.name="LexerError",a}return this._current+=1,o}looksLikeJSON(e){let t=["true","false","null"],r="-0123456789";if(e==="")return!1;if('[{"'.includes(e[0])||t.includes(e))return!0;if(r.includes(e[0])){let[i,o]=this.parseJSON(e);return o}return!1}parseJSON(e){try{return[JSON.parse(e),!0]}catch{return[null,!1]}}},WM=new GM,ut={EOF:0,Variable:0,UnquotedIdentifier:0,QuotedIdentifier:0,Rbracket:0,Rparen:0,Comma:0,Rbrace:0,Number:0,Current:0,Expref:0,Root:0,Assign:1,Pipe:1,Question:2,Or:3,And:4,EQ:5,GT:5,LT:5,GTE:5,LTE:5,NE:5,Minus:6,Plus:6,Div:7,Divide:7,Modulo:7,Multiply:7,Flatten:9,Star:20,Filter:21,Dot:40,Not:45,Lbrace:50,Lbracket:55,Lparen:60};new class kp{constructor(){N(this,"index",0),N(this,"tokens",[])}parse(t,r){this.loadTokens(t,r||{enable_legacy_literals:!1}),this.index=0;let i=this.expression(0);if(this.lookahead(0)!=="EOF"){let o=this.lookaheadToken(0);this.errorToken(o,`Syntax error: unexpected token type: ${o.type}, value: ${o.value}`)}return i}loadTokens(t,r){this.tokens=WM.tokenize(t,r),this.tokens.push({type:"EOF",value:"",start:t.length})}expression(t){let r=this.lookaheadToken(0);this.advance();let i=this.nud(r),o=this.lookahead(0);for(;t<ut[o];)this.advance(),i=this.led(o,i),o=this.lookahead(0);return i}lookahead(t){return this.tokens[this.index+t].type}lookaheadToken(t){return this.tokens[this.index+t]}advance(){this.index+=1}nud(t){switch(t.type){case"Variable":return{type:"Variable",name:t.value};case"Literal":return{type:"Literal",value:t.value};case"UnquotedIdentifier":return kp.isKeyword(t,"let")&&this.lookahead(0)==="Variable"?this.parseLetExpression():{type:"Field",name:t.value};case"QuotedIdentifier":if(this.lookahead(0)==="Lparen")throw new Error("Syntax error: quoted identifier not allowed for function names.");return{type:"Field",name:t.value};case"Not":return{type:"NotExpression",child:this.expression(ut.Not)};case"Minus":{let r=this.expression(ut.Minus);return{type:"Unary",operator:t.type,operand:r}}case"Plus":{let r=this.expression(ut.Plus);return{type:"Unary",operator:t.type,operand:r}}case"Star":return{type:"ValueProjection",left:{type:"Identity"},right:this.parseProjectionRHS(ut.Star)};case"Filter":return this.led(t.type,{type:"Identity"});case"Lbrace":return this.parseMultiselectHash();case"Flatten":return{type:"Projection",left:{type:"Flatten",child:{type:"Identity"}},right:this.parseProjectionRHS(ut.Flatten)};case"Lbracket":if(this.lookahead(0)==="Number"||this.lookahead(0)==="Colon"){let r=this.parseIndexExpression();return this.projectIfSlice({type:"Identity"},r)}return this.lookahead(0)==="Star"&&this.lookahead(1)==="Rbracket"?(this.advance(),this.advance(),{left:{type:"Identity"},right:this.parseProjectionRHS(ut.Star),type:"Projection"}):this.parseMultiselectList();case"Current":return{type:"Current"};case"Root":return{type:"Root"};case"Expref":return{type:"ExpressionReference",child:this.expression(ut.Expref)};case"Lparen":{let r=this.expression(0);return this.match("Rparen"),r}default:this.errorToken(t)}}led(t,r){switch(t){case"Question":{let i=this.expression(0);return this.match("Colon"),{type:"Ternary",condition:r,trueExpr:i,falseExpr:this.expression(0)}}case"Dot":{let i=ut.Dot;return this.lookahead(0)!=="Star"?{type:"Subexpression",left:r,right:this.parseDotRHS(i)}:(this.advance(),{type:"ValueProjection",left:r,right:this.parseProjectionRHS(i)})}case"Pipe":return{type:"Pipe",left:r,right:this.expression(ut.Pipe)};case"Or":return{type:"OrExpression",left:r,right:this.expression(ut.Or)};case"And":return{type:"AndExpression",left:r,right:this.expression(ut.And)};case"Lparen":if(r.type!=="Field")throw new Error("Syntax error: expected a Field node");return{name:r.name,type:"Function",children:this.parseCommaSeparatedExpressionsUntilToken("Rparen")};case"Filter":{let i=this.expression(0);return this.match("Rbracket"),{type:"FilterProjection",left:r,right:this.lookahead(0)==="Flatten"?{type:"Identity"}:this.parseProjectionRHS(ut.Filter),condition:i}}case"Flatten":return{type:"Projection",left:{type:"Flatten",child:r},right:this.parseProjectionRHS(ut.Flatten)};case"Assign":{let i=r,o=this.expression(0);return{type:"Binding",variable:i.name,reference:o}}case"EQ":case"NE":case"GT":case"GTE":case"LT":case"LTE":return this.parseComparator(r,t);case"Plus":case"Minus":case"Multiply":case"Star":case"Divide":case"Modulo":case"Div":return this.parseArithmetic(r,t);case"Lbracket":{let i=this.lookaheadToken(0);if(i.type==="Number"||i.type==="Colon"){let o=this.parseIndexExpression();return this.projectIfSlice(r,o)}return this.match("Star"),this.match("Rbracket"),{type:"Projection",left:r,right:this.parseProjectionRHS(ut.Star)}}default:return this.errorToken(this.lookaheadToken(0))}}static isKeyword(t,r){return t.type==="UnquotedIdentifier"&&t.value===r}match(t){if(this.lookahead(0)===t){this.advance();return}else{let r=this.lookaheadToken(0);this.errorToken(r,`Syntax error: expected ${t}, got: ${r.type}`)}}errorToken(t,r=""){let i=new Error(r||`Syntax error: invalid token (${t.type}): "${t.value}"`);throw i.name="ParserError",i}parseIndexExpression(){if(this.lookahead(0)==="Colon"||this.lookahead(1)==="Colon")return this.parseSliceExpression();let t=Number(this.lookaheadToken(0).value);return this.advance(),this.match("Rbracket"),{type:"Index",value:t}}projectIfSlice(t,r){let i={type:"IndexExpression",left:t,right:r};return r.type==="Slice"?{left:i,right:this.parseProjectionRHS(ut.Star),type:"Projection"}:i}parseSliceExpression(){let t=[null,null,null],r=0,i=this.lookaheadToken(0);for(;i.type!="Rbracket"&&r<3;){if(i.type==="Colon")r++,r===3&&this.errorToken(this.lookaheadToken(0),"Syntax error, too many colons in slice expression"),this.advance();else if(i.type==="Number"){let s=this.lookaheadToken(0).value;t[r]=s,this.advance()}else{let s=this.lookaheadToken(0);this.errorToken(s,`Syntax error, unexpected token: ${s.value}(${s.type})`)}i=this.lookaheadToken(0)}this.match("Rbracket");let[o,n,a]=t;return{type:"Slice",start:o,stop:n,step:a}}parseLetExpression(){let t=this.parseCommaSeparatedExpressionsUntilKeyword("in"),r=this.expression(0);return{type:"LetExpression",bindings:t.map(i=>i),expression:r}}parseCommaSeparatedExpressionsUntilKeyword(t){return this.parseCommaSeparatedExpressionsUntil(()=>kp.isKeyword(this.lookaheadToken(0),t),()=>{this.advance()})}parseCommaSeparatedExpressionsUntilToken(t){return this.parseCommaSeparatedExpressionsUntil(()=>this.lookahead(0)===t,()=>this.match(t))}parseCommaSeparatedExpressionsUntil(t,r){let i=[],o;for(;!t();)o=this.expression(0),this.lookahead(0)==="Comma"&&this.match("Comma"),i.push(o);return r(),i}parseComparator(t,r){return{type:"Comparator",name:r,left:t,right:this.expression(ut[r])}}parseArithmetic(t,r){return{type:"Arithmetic",operator:r,left:t,right:this.expression(ut[r])}}parseDotRHS(t){let r=this.lookahead(0);if(["UnquotedIdentifier","QuotedIdentifier","Star"].includes(r))return this.expression(t);if(r==="Lbracket")return this.match("Lbracket"),this.parseMultiselectList();if(r==="Lbrace")return this.match("Lbrace"),this.parseMultiselectHash();let i=this.lookaheadToken(0);this.errorToken(i,`Syntax error, unexpected token: ${i.value}(${i.type})`)}parseProjectionRHS(t){if(ut[this.lookahead(0)]<10)return{type:"Identity"};if(this.lookahead(0)==="Lbracket")return this.expression(t);if(this.lookahead(0)==="Filter")return this.expression(t);if(this.lookahead(0)==="Dot")return this.match("Dot"),this.parseDotRHS(t);let r=this.lookaheadToken(0);this.errorToken(r,`Syntax error, unexpected token: ${r.value}(${r.type})`)}parseMultiselectList(){let t=[];for(;this.lookahead(0)!=="Rbracket";){let r=this.expression(0);if(t.push(r),this.lookahead(0)==="Comma"&&(this.match("Comma"),this.lookahead(0)==="Rbracket"))throw new Error("Syntax error: unexpected token Rbracket")}return this.match("Rbracket"),{type:"MultiSelectList",children:t}}parseMultiselectHash(){let t=[],r=["UnquotedIdentifier","QuotedIdentifier"],i,o,n;for(;;){if(i=this.lookaheadToken(0),!r.includes(i.type))throw new Error(`Syntax error: expecting an identifier token, got: ${i.type}`);if(o=i.value,this.advance(),this.match("Colon"),n=this.expression(0),t.push({value:n,type:"KeyValuePair",name:o}),this.lookahead(0)==="Comma")this.match("Comma");else if(this.lookahead(0)==="Rbrace"){this.match("Rbrace");break}}return{type:"MultiSelectHash",children:t}}};xl=class Yl{constructor(t){N(this,"_text"),this._text=t}get string(){return this._text}get length(){return this.codePoints.length}compareTo(t){return Yl.compare(this,new Yl(t))}static get comparer(){return(t,r)=>new Yl(t).compareTo(r)}static compare(t,r){let i=t.codePoints,o=r.codePoints;for(let n=0;n<Math.min(i.length,o.length);n++)if(i[n]!==o[n])return i[n]-o[n]>0?1:-1;return i.length-o.length>0?1:-1}reverse(){return String.fromCodePoint(...this.codePoints.reverse())}get codePoints(){return[...this._text].map(t=>t.codePointAt(0))}},kd=e=>([t])=>e(t),ub=e=>([t])=>e(t),cb=e=>([t])=>e(t),ZM=class{constructor(e){N(this,"_interpreter"),N(this,"_functionTable"),N(this,"_customFunctions",new Set),N(this,"TYPE_NAME_TABLE",Object.freeze({0:"number",1:"any",2:"string",3:"array",4:"object",5:"boolean",6:"expression",7:"null",8:"Array<number>",10:"Array<object>",9:"Array<string>",11:"Array<Array<any>>"})),N(this,"functionAvg",([t])=>{if(!t||t.length==0)return null;let r=0;for(let i=0;i<t.length;i+=1)r+=t[i];return r/t.length}),N(this,"functionContains",([t,r])=>{if(Array.isArray(t))return t.includes(r);if(typeof t=="string"){let i=t;if(typeof r=="string")return i.includes(r)}return null}),N(this,"functionEndsWith",t=>{let[r,i]=t;return r.includes(i,r.length-i.length)}),N(this,"functionFindFirst",this.createFindFunction(NM)),N(this,"functionFindLast",this.createFindFunction(MM)),N(this,"functionFromItems",([t])=>(t.map(r=>{if(r.length!=2||typeof r[0]!="string")throw new Error("invalid value, each array must contain two elements, a pair of string and value")}),Object.fromEntries(t))),N(this,"functionGroupBy",([t,r])=>{let i=this.createKeyFunction(r,[2]);return t.reduce((o,n)=>{let a=i(n??{});return(o[a]=o[a]||[]).push(n),o},{})}),N(this,"functionItems",([t])=>Object.entries(t)),N(this,"functionJoin",t=>{let[r,i]=t;return i.join(r)}),N(this,"functionLength",([t])=>typeof t=="string"?new xl(t).length:Array.isArray(t)?t.length:Object.keys(t).length),N(this,"functionMap",([t,r])=>{if(!this._interpreter)return[];let i=[],o=this._interpreter;for(let n=0;n<r.length;n+=1)i.push(o.visit(t,r[n]));return i}),N(this,"functionMax",([t])=>{if(!t.length)return null;if(this.getTypeName(t[0])===0)return Math.max(...t);let r=t,i=r[0];for(let o=1;o<r.length;o+=1)i.localeCompare(r[o])<0&&(i=r[o]);return i}),N(this,"functionMaxBy",t=>{let r=t[1],i=t[0],o=this.createKeyFunction(r,[0,2]),n=-1/0,a,s;for(let l=0;l<i.length;l+=1)s=o&&o(i[l]),s!==void 0&&s>n&&(n=s,a=i[l]);return a||null}),N(this,"functionMerge",t=>{let r={};for(let i=0;i<t.length;i+=1){let o=t[i];r=Object.assign(r,o)}return r}),N(this,"functionMin",([t])=>{if(!t.length)return null;if(this.getTypeName(t[0])===0)return Math.min(...t);let r=t,i=r[0];for(let o=1;o<r.length;o+=1)r[o].localeCompare(i)<0&&(i=r[o]);return i}),N(this,"functionMinBy",t=>{let r=t[1],i=t[0],o=this.createKeyFunction(r,[0,2]),n=1/0,a,s;for(let l=0;l<i.length;l+=1)s=o&&o(i[l]),s!==void 0&&s<n&&(n=s,a=i[l]);return a||null}),N(this,"functionNotNull",t=>{for(let r=0;r<t.length;r+=1)if(this.getTypeName(t[r])!==7)return t[r];return null}),N(this,"functionPadLeft",this.createPadFunction(FM)),N(this,"functionPadRight",this.createPadFunction($M)),N(this,"functionReplace",t=>{let r=t[0],i=t[1],o=t[2];return Sp(r,i,o,t.length>3?t[3]:void 0)}),N(this,"functionSplit",t=>{let r=t[0],i=t[1];return HM(r,i,t.length>2?t[2]:void 0)}),N(this,"functionReverse",([t])=>{if(this.getTypeName(t)===2)return new xl(t).reverse();let r=t.slice(0);return r.reverse(),r}),N(this,"functionSort",([t])=>t.length==0?t:typeof t[0]=="string"?[...t].sort(xl.comparer):[...t].sort()),N(this,"functionSortBy",t=>{let r=t[0].slice(0);if(r.length===0)return r;let i=this._interpreter,o=t[1],n=this.getTypeName(i.visit(o,r[0]));if(n!==void 0&&![0,2].includes(n))throw new Error(`Invalid type: unexpected type (${this.TYPE_NAME_TABLE[n]})`);function a(s,l){throw new Error(`Invalid type: expected (${s.TYPE_NAME_TABLE[n]}), received ${s.TYPE_NAME_TABLE[s.getTypeName(l)]}`)}return r.sort((s,l)=>{let u=i.visit(o,s),_=i.visit(o,l);return this.getTypeName(u)!==n?a(this,u):this.getTypeName(_)!==n&&a(this,_),n===2?xl.comparer(u,_):u-_})}),N(this,"functionStartsWith",([t,r])=>t.startsWith(r)),N(this,"functionSum",([t])=>t.reduce((r,i)=>r+i,0)),N(this,"functionToArray",([t])=>this.getTypeName(t)===3?t:[t]),N(this,"functionToNumber",([t])=>{let r=this.getTypeName(t),i;return r===0?t:r===2&&(i=+t,!isNaN(i))?i:null}),N(this,"functionToString",([t])=>this.getTypeName(t)===2?t:JSON.stringify(t)),N(this,"functionTrim",this.createTrimFunction(UM)),N(this,"functionTrimLeft",this.createTrimFunction(sx)),N(this,"functionTrimRight",this.createTrimFunction(lx)),N(this,"functionType",([t])=>{switch(this.getTypeName(t)){case 0:return"number";case 2:return"string";case 3:return"array";case 4:return"object";case 5:return"boolean";case 7:return"null";default:throw new Error("invalid-type")}}),N(this,"functionZip",t=>{let r=Math.min(...t.map(i=>i.length));return Array(r).fill(null).map((i,o)=>t.map(n=>n[o]))}),this._interpreter=e,this._functionTable=this.buildFunctionTable()}buildFunctionTable(){return{abs:{_func:kd(Math.abs),_signature:[{types:[0]}]},ceil:{_func:kd(Math.ceil),_signature:[{types:[0]}]},floor:{_func:kd(Math.floor),_signature:[{types:[0]}]},lower:{_func:ub(LM),_signature:[{types:[2]}]},upper:{_func:ub(VM),_signature:[{types:[2]}]},keys:{_func:cb(Object.keys),_signature:[{types:[4]}]},values:{_func:cb(Object.values),_signature:[{types:[4]}]},avg:{_func:this.functionAvg,_signature:[{types:[8]}]},contains:{_func:this.functionContains,_signature:[{types:[2,3]},{types:[1]}]},ends_with:{_func:this.functionEndsWith,_signature:[{types:[2]},{types:[2]}]},find_first:{_func:this.functionFindFirst,_signature:[{types:[2]},{types:[2]},{types:[0],optional:!0},{types:[0],optional:!0}]},find_last:{_func:this.functionFindLast,_signature:[{types:[2]},{types:[2]},{types:[0],optional:!0},{types:[0],optional:!0}]},from_items:{_func:this.functionFromItems,_signature:[{types:[11]}]},group_by:{_func:this.functionGroupBy,_signature:[{types:[3]},{types:[6]}]},items:{_func:this.functionItems,_signature:[{types:[4]}]},join:{_func:this.functionJoin,_signature:[{types:[2]},{types:[9]}]},length:{_func:this.functionLength,_signature:[{types:[2,3,4]}]},map:{_func:this.functionMap,_signature:[{types:[6]},{types:[3]}]},max:{_func:this.functionMax,_signature:[{types:[8,9]}]},max_by:{_func:this.functionMaxBy,_signature:[{types:[3]},{types:[6]}]},merge:{_func:this.functionMerge,_signature:[{types:[4],variadic:!0}]},min:{_func:this.functionMin,_signature:[{types:[8,9]}]},min_by:{_func:this.functionMinBy,_signature:[{types:[3]},{types:[6]}]},not_null:{_func:this.functionNotNull,_signature:[{types:[1],variadic:!0}]},pad_left:{_func:this.functionPadLeft,_signature:[{types:[2]},{types:[0]},{types:[2],optional:!0}]},pad_right:{_func:this.functionPadRight,_signature:[{types:[2]},{types:[0]},{types:[2],optional:!0}]},replace:{_func:this.functionReplace,_signature:[{types:[2]},{types:[2]},{types:[2]},{types:[0],optional:!0}]},reverse:{_func:this.functionReverse,_signature:[{types:[2,3]}]},sort:{_func:this.functionSort,_signature:[{types:[9,8]}]},sort_by:{_func:this.functionSortBy,_signature:[{types:[3]},{types:[6]}]},split:{_func:this.functionSplit,_signature:[{types:[2]},{types:[2]},{types:[0],optional:!0}]},starts_with:{_func:this.functionStartsWith,_signature:[{types:[2]},{types:[2]}]},sum:{_func:this.functionSum,_signature:[{types:[8]}]},to_array:{_func:this.functionToArray,_signature:[{types:[1]}]},to_number:{_func:this.functionToNumber,_signature:[{types:[1]}]},to_string:{_func:this.functionToString,_signature:[{types:[1]}]},trim:{_func:this.functionTrim,_signature:[{types:[2]},{types:[2],optional:!0}]},trim_left:{_func:this.functionTrimLeft,_signature:[{types:[2]},{types:[2],optional:!0}]},trim_right:{_func:this.functionTrimRight,_signature:[{types:[2]},{types:[2],optional:!0}]},type:{_func:this.functionType,_signature:[{types:[1]}]},zip:{_func:this.functionZip,_signature:[{types:[3],variadic:!0}]}}}registerFunction(e,t,r,i){let o=this._registerInternal(e,t,r,i);if(!o.success)throw new Error(o.message)}_registerInternal(e,t,r,i={}){if(!e||typeof e!="string"||e.trim()==="")return{success:!1,reason:"invalid-name",message:"Function name must be a non-empty string"};try{this.validateInputSignatures(e,r)}catch(s){return{success:!1,reason:"invalid-signature",message:s instanceof Error?s.message:"Invalid function signature"}}let{override:o=!1,warn:n=!1}=i,a=e in this._functionTable;return a&&!o?{success:!1,reason:"already-exists",message:`Function already defined: ${e}(). Use { override: true } to replace it.`}:(a&&o&&n&&console.warn(`Warning: Overriding existing function: ${e}()`),this._functionTable[e]={_func:t.bind(this),_signature:r},this._customFunctions.add(e),{success:!0,message:a?`Function ${e}() overridden successfully`:`Function ${e}() registered successfully`})}register(e,t,r,i={}){return this._registerInternal(e,t,r,i)}unregister(e){return this._customFunctions.has(e)?(delete this._functionTable[e],this._customFunctions.delete(e),!0):!1}isRegistered(e){return e in this._functionTable}getRegistered(){return Object.keys(this._functionTable)}getCustomFunctions(){return Array.from(this._customFunctions)}clearCustomFunctions(){for(let e of this._customFunctions)delete this._functionTable[e];this._customFunctions.clear()}callFunction(e,t){let r=this._functionTable[e];if(r===void 0)throw new Error(`Unknown function: ${e}()`);return this.validateArgs(e,t,r._signature),r._func.call(this,t)}validateInputSignatures(e,t){for(let r=0;r<t.length;r+=1)if("variadic"in t[r]&&r!==t.length-1)throw new Error(`Invalid arity: ${e}() 'variadic' argument ${r+1} must occur last`)}validateArgs(e,t,r){this.validateInputSignatures(e,r),this.validateArity(e,t,r),this.validateTypes(e,t,r)}validateArity(e,t,r){let i=r.filter(s=>!(s.optional??!1)).length,o=r[r.length-1]?.variadic??!1,n=t.length<i,a=t.length>r.length;if(o&&n||!o&&(n||a)){let s=n&&(!o&&i>1||o)?"at least ":"",l=r.length>1;throw new Error(`Invalid arity: ${e}() takes ${s}${i} argument${l&&"s"||""} but received ${t.length}`)}}validateTypes(e,t,r){for(let i=0;i<r.length;i+=1){let o=r[i].types,n=this.getTypeName(t[i]);if(n!==void 0&&!o.some(a=>this.typeMatches(n,a,t[i]))){let a=o.map(s=>this.TYPE_NAME_TABLE[s]).join(" | ");throw new Error(`Invalid type: ${e}() expected argument ${i+1} to be type (${a}) but received type ${this.TYPE_NAME_TABLE[n]} instead.`)}}}typeMatches(e,t,r){if(t===1)return!0;if(t===9||t===8||t===10||t===11||t===3){if(t===3)return e===3;if(e===3){let i;t===8?i=0:t===10?i=4:t===9?i=2:t===11&&(i=3);let o=r;for(let n=0;n<o.length;n+=1){let a=this.getTypeName(o[n]);if(a!==void 0&&i!==void 0&&!this.typeMatches(a,i,o[n]))return!1}return!0}}else return e===t;return!1}getTypeName(e){if(e===null)return 7;if(typeof e=="string")return 2;if(typeof e=="number")return 0;if(typeof e=="boolean")return 5;if(Array.isArray(e))return 3;if(typeof e=="object")return e.expref?6:4}createKeyFunction(e,t){let r=this._interpreter;return i=>{let o=r.visit(e,i);if(!t.includes(this.getTypeName(o))){let n=`Invalid type: expected one of (${t.map(a=>this.TYPE_NAME_TABLE[a]).join(" | ")}), received ${this.TYPE_NAME_TABLE[this.getTypeName(o)]}`;throw new Error(n)}return o}}createFindFunction(e){return t=>{let r=t[0],i=t[1];return e(r,i,t.length>2?t[2]:void 0,t.length>3?t[3]:void 0)}}createPadFunction(e){return t=>{let r=t[0],i=t[1];return e(r,i,t.length>2?t[2]:void 0)}}createTrimFunction(e){return t=>{let r=t[0];return e(r,t.length>1?t[1]:void 0)}}},cx=class _x{constructor(){N(this,"inner"),N(this,"data",{})}get currentScopeData(){return this.data}withScope(t){let r=new _x;return r.inner=this,r.data=t,r}getValue(t){return Object.prototype.hasOwnProperty.call(this.data,t)?this.data[t]:this.inner?this.inner.getValue(t):null}},KM=new cx;new class dx{constructor(){N(this,"runtime"),N(this,"_rootValue",null),N(this,"_scope"),this.runtime=new ZM(this),this._scope=new cx}withScope(t){let r=new dx;return r.runtime._functionTable=this.runtime._functionTable,r._rootValue=this._rootValue,r._scope=this._scope.withScope(t),r}search(t,r){return this._rootValue=r,this._scope=KM,this.visit(t,r)}visit(t,r){switch(t.type){case"Ternary":return Ka(this.visit(t.condition,r))?this.visit(t.falseExpr,r):this.visit(t.trueExpr,r);case"Field":let i=t.name;return r===null||typeof r!="object"||Array.isArray(r)?null:r[i]??null;case"LetExpression":{let{bindings:o,expression:n}=t,a={};return o.forEach(s=>{let l=this.visit(s,r);a=E(E({},a),l)}),this.withScope(a).visit(n,r)}case"Binding":{let{variable:o,reference:n}=t,a=this.visit(n,r);return{[o]:a}}case"Variable":{let o=t.name;if(!this._scope.getValue(o)&&!Object.prototype.hasOwnProperty.call(this._scope.currentScopeData,o))throw new Error(`Error referencing undefined variable ${o}`);return this._scope.getValue(o)}case"IndexExpression":return this.visit(t.right,this.visit(t.left,r));case"Subexpression":{let o=this.visit(t.left,r);return o!=null?this.visit(t.right,o)??null:null}case"Index":return Array.isArray(r)?r[t.value<0?r.length+t.value:t.value]??null:null;case"Slice":{if(!Array.isArray(r)&&typeof r!="string")return null;let{start:o,stop:n,step:a}=this.computeSliceParams(r.length,t);if(typeof r=="string"){let s=[...r];return this.slice(s,o,n,a).join("")}else return this.slice(r,o,n,a)}case"Projection":{let{left:o,right:n}=t,a=!1;o.type==="IndexExpression"&&o.right.type==="Slice"&&(a=!0);let s=this.visit(o,r);if(a&&typeof s=="string")return this.visit(n,s);if(!Array.isArray(s))return null;let l=[];for(let u of s){let _=this.visit(n,u);_!==null&&l.push(_)}return l}case"ValueProjection":{let{left:o,right:n}=t,a=this.visit(o,r);if(a===null||typeof a!="object"||Array.isArray(a))return null;let s=[],l=Object.values(a);for(let u of l){let _=this.visit(n,u);_!==null&&s.push(_)}return s}case"FilterProjection":{let{left:o,right:n,condition:a}=t,s=this.visit(o,r);if(!Array.isArray(s))return null;let l=[];for(let u of s){if(Ka(this.visit(a,u)))continue;let _=this.visit(n,u);_!==null&&l.push(_)}return l}case"Arithmetic":{let o=this.visit(t.left,r),n=this.visit(t.right,r);switch(t.operator){case"Plus":return EM(o,n);case"Minus":return DM(o,n);case"Multiply":case"Star":return zM(o,n);case"Divide":return RM(o,n);case"Modulo":return PM(o,n);case"Div":return OM(o,n);default:throw new Error(`Syntax error: unknown arithmetic operator: ${t.operator}`)}}case"Unary":{let o=this.visit(t.operand,r);switch(t.operator){case"Plus":return co(o),o;case"Minus":return co(o),-o;default:throw new Error(`Syntax error: unknown arithmetic operator: ${t.operator}`)}}case"Comparator":{let o=this.visit(t.left,r),n=this.visit(t.right,r);switch(t.name){case"EQ":return $u(o,n);case"NE":return!$u(o,n)}if(typeof o!="number"||typeof n!="number")return null;switch(t.name){case"GT":return o>n;case"GTE":return o>=n;case"LT":return o<n;case"LTE":return o<=n}}case"Flatten":{let o=this.visit(t.child,r);return Array.isArray(o)?o.flat():null}case"Root":return this._rootValue;case"MultiSelectList":{let o=[];for(let n of t.children)o.push(this.visit(n,r));return o}case"MultiSelectHash":{let o={};for(let n of t.children)o[n.name]=this.visit(n.value,r);return o}case"OrExpression":{let o=this.visit(t.left,r);return Ka(o)?this.visit(t.right,r):o}case"AndExpression":{let o=this.visit(t.left,r);return Ka(o)?o:this.visit(t.right,r)}case"NotExpression":return Ka(this.visit(t.child,r));case"Literal":return t.value;case"Pipe":return this.visit(t.right,this.visit(t.left,r));case"Function":{let o=[];for(let n of t.children)o.push(this.visit(n,r));return this.runtime.callFunction(t.name,o)}case"ExpressionReference":return E({expref:!0},t.child);case"Current":case"Identity":return r}}computeSliceParams(t,r){let{start:i,stop:o,step:n}=r;if(n===null)n=1;else if(n===0){let a=new Error("Invalid value: slice step cannot be 0");throw a.name="RuntimeError",a}return i=i===null?n<0?t-1:0:this.capSliceRange(t,i,n),o=o===null?n<0?-1:t:this.capSliceRange(t,o,n),{start:i,stop:o,step:n}}capSliceRange(t,r,i){let o=r;return o<0?(o+=t,o<0&&(o=i<0?-1:0)):o>=t&&(o=i<0?t-1:t),o}slice(t,r,i,o){let n=[];if(o>0)for(let a=r;a<i;a+=o)n.push(t[a]);else for(let a=r;a>i;a+=o)n.push(t[a]);return n}};Ap(M7());Tp=function(e,...t){if(Tp.translate){let i=Tp.translate(e,t);e=i[0],t=i[1]}let r=_b(e[0],e.raw[0]);for(let i=1;i<e.length;i++)r+=t[i-1]+_b(e[i],e.raw[i]);return r},YM=":";globalThis.$localize=Tp;document.body.classList.add("ui5-content-density-compact");QM=(e,t)=>t.url,JM=(e,t)=>t[0];iL=(()=>{class e{constructor(){this.i18nService=S(Nv),this.context=k.required(),this.LuigiClient=k.required(),this.texts=ir(()=>this.readTranslations()),this.errors=Kr([]),this.Object=Object,this.defaultConfig=[{url:"http://localhost:4200/content-configuration.json",active:!0},{url:"http://localhost:4200/assets/content-configuration.json",active:!0}],this.isActive=Kr(!1),this.configs=Kr(this.defaultConfig),this.serviceProviderConfig=Kr({}),this.localDevelopmentSettings=ir(()=>({isActive:this.isActive(),configs:this.configs(),serviceProviderConfig:this.serviceProviderConfig()})),this.urlInput=new Wo("",{nonNullable:!0}),this.serviceProviderForm=new A2({key:new Wo("",{nonNullable:!0}),value:new Wo("",{nonNullable:!0})})}ngOnInit(){let r=ob.read(on.DEVELOPMENT_MODE_CONFIG)||ob.read()||this.localDevelopmentSettings();this.isActive.set(r.isActive),this.configs.set(r.configs||[]),this.serviceProviderConfig.set(r.serviceProviderConfig||{})}saveDevelopmentSettings(){this.LuigiClient().publishEvent(new CustomEvent("luigi.updateUserSettings",{detail:{localDevelopmentSettings:this.localDevelopmentSettings()}}))}addUrl(r){this.isValidUrl(r)?r&&!this.configs().find(i=>i.url===r)&&(this.errors.set([]),this.configs.update(i=>[...i,{url:r,active:!0}]),this.saveDevelopmentSettings()):this.errors.set([...this.errors(),"pattern"])}removeUrl(r){this.configs.update(i=>i.filter((o,n)=>n!==r)),this.saveDevelopmentSettings()}toggleUrl(r){this.configs.update(i=>i.map((o,n)=>n===r?te(E({},o),{active:o.active===!1}):o)),this.saveDevelopmentSettings()}removeServiceProviderConfig(r){this.serviceProviderConfig.update(i=>(delete i[r],E({},i))),this.saveDevelopmentSettings()}addServiceProviderConfig(r,i){r&&i&&(this.serviceProviderConfig.update(o=>(o[r]=i,E({},o))),this.saveDevelopmentSettings())}switchIsActive(){this.isActive.update(r=>!r),this.saveDevelopmentSettings()}isValidUrl(r){try{return new URL(r),!0}catch{return!1}}readTranslations(){return this.i18nService.translationTable=this.context().translationTable,{explanation:this.i18nService.getTranslation("LOCAL_DEVELOPMENT_SETTINGS_EXPLANATION"),link:this.i18nService.getTranslation("LOCAL_DEVELOPMENT_SETTINGS_LINK"),addButton:this.i18nService.getTranslation("LOCAL_DEVELOPMENT_SETTINGS_ADD_BUTTON"),clearButton:this.i18nService.getTranslation("LOCAL_DEVELOPMENT_SETTINGS_CLEAR_BUTTON"),removeButton:this.i18nService.getTranslation("LOCAL_DEVELOPMENT_SETTINGS_REMOVE_BUTTON"),isDevelopmentModeActive:this.i18nService.getTranslation("LOCAL_DEVELOPMENT_SETTINGS_IS_ACTIVE"),urlsInput:{title:this.i18nService.getTranslation("LOCAL_DEVELOPMENT_SETTINGS_URLS_TITLE"),label:this.i18nService.getTranslation("LOCAL_DEVELOPMENT_SETTINGS_URLS_LABEL"),error:this.i18nService.getTranslation("LOCAL_DEVELOPMENT_SETTINGS_URLS_ERROR")},serviceProviderConfig:{title:this.i18nService.getTranslation("LOCAL_DEVELOPMENT_SETTINGS_SERVICE_PROVIDER_TITLE"),explanation:this.i18nService.getTranslation("LOCAL_DEVELOPMENT_SETTINGS_SERVICE_PROVIDER_EXPLANATION"),keyInput:{label:this.i18nService.getTranslation("LOCAL_DEVELOPMENT_SETTINGS_SERVICE_PROVIDER_KEY_INPUT_LABEL"),placeholder:this.i18nService.getTranslation("LOCAL_DEVELOPMENT_SETTINGS_SERVICE_PROVIDER_KEY_INPUT_PLACEHOLDER")},valueInput:{label:this.i18nService.getTranslation("LOCAL_DEVELOPMENT_SETTINGS_SERVICE_PROVIDER_VALUE_INPUT_LABEL"),placeholder:this.i18nService.getTranslation("LOCAL_DEVELOPMENT_SETTINGS_SERVICE_PROVIDER_VALUE_INPUT_PLACEHOLDER")}}}}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275cmp=wr({type:e,selectors:[["wc-development-settings"]],inputs:{context:[1,"context"],LuigiClient:[1,"LuigiClient"]},decls:51,vars:24,consts:[[1,"container"],[1,"explanation"],["target","_blank","href","https://github.com/openmfp/portal-ui-lib/blob/main/README.md#Local-Application-Development",1,"line-height-normal"],[1,"is-active-switch"],[1,"line-height-normal"],[1,"switch-active",3,"change","checked"],[1,"config-input"],["for","input-url",1,"line-height-normal","field-label"],["id","input-url","type","Text","placeholder","http://localhost:4200/assets/content-configuration.json","aria-required","true",1,"line-height-normal","field-control",3,"formControl"],[1,"config-input-buttons"],["design","Emphasized",1,"compact-button",3,"click"],["design","Transparent",1,"compact-button",3,"click"],[1,"config-list"],["separators","Inner",1,"config-list-wrapper"],[1,"config-list-item"],[1,"config-input","line-height-normal"],["for","input-key",1,"line-height-normal","field-label"],[3,"formGroup"],["id","input-key","type","Text","aria-required","true",1,"line-height-normal","field-control",3,"placeholder","formControl"],["for","input-value",1,"line-height-normal","field-label"],["id","input-value","type","Text","aria-required","true",1,"line-height-normal","field-control",3,"placeholder","formControl"],[1,"list-item-row"],[1,"list-item-text",3,"title"],[3,"change","checked"],["design","Transparent","icon","decline",1,"remove-button",3,"click","tooltip"],[1,"list-item-text"]],template:function(r,i){if(r&1&&(U(0,"div"),qC(1),U(2,"div",0)(3,"div")(4,"div",1),fe(5),W(),U(6,"ui5-link",2),fe(7),W()(),U(8,"div",3)(9,"h4",4),fe(10),W(),U(11,"ui5-switch",5),Pt("change",function(){return i.switchIsActive()}),W()(),U(12,"div",6)(13,"h4",4),fe(14),W(),U(15,"ui5-label",7),fe(16),W(),U(17,"ui5-input",8),Gl(),W(),LC(18,eL,2,1,"div",4),U(19,"div",9)(20,"ui5-button",10),Pt("click",function(){return i.addUrl(i.urlInput.value)}),fe(21),W(),U(22,"ui5-button",11),Pt("click",function(){return i.urlInput.reset()}),fe(23),W()(),U(24,"div",12)(25,"ui5-list",13),Tu(26,tL,6,8,"ui5-li-custom",14,QM),W()()(),U(28,"div",15)(29,"h4",4),fe(30),W(),U(31,"ui5-label",16),fe(32),W(),ms(33,"br"),U(34,"div",17)(35,"ui5-label",16),fe(36),W(),U(37,"ui5-input",18),Gl(),W(),ms(38,"br"),U(39,"ui5-label",19),fe(40),W(),U(41,"ui5-input",20),Gl(),W()(),U(42,"div",9)(43,"ui5-button",10),Pt("click",function(){return i.addServiceProviderConfig(i.serviceProviderForm.controls.key.value,i.serviceProviderForm.controls.value.value)}),fe(44),W(),U(45,"ui5-button",11),Pt("click",function(){return i.serviceProviderForm.reset()}),fe(46),W()(),U(47,"div",12)(48,"ui5-list",13),Tu(49,rL,5,4,"ui5-li-custom",14,JM),W()()()()()),r&2){P();let o=$4(i.texts());P(4),Pr(o.explanation),P(2),bt(" ",o.link," "),P(3),bt(" ",o.isDevelopmentModeActive," "),P(),Ot("checked",i.isActive()),P(3),Pr(o.urlsInput.title),P(2),bt(" ",o.urlsInput.label," "),P(),Ot("formControl",i.urlInput),Wl(),P(),$C(i.errors().length?18:-1),P(3),bt(" ",o.addButton," "),P(2),bt(" ",o.clearButton," "),P(3),Iu(i.configs()),P(4),bt(" ",o.serviceProviderConfig.title," "),P(2),bt(" ",o.serviceProviderConfig.explanation," "),P(2),Ot("formGroup",i.serviceProviderForm),P(2),bt(" ",o.serviceProviderConfig.keyInput.label," "),P(),Ot("placeholder",ys(o.serviceProviderConfig.keyInput.placeholder))("formControl",i.serviceProviderForm.controls.key),Wl(),P(3),bt(" ",o.serviceProviderConfig.valueInput.label," "),P(),Ot("placeholder",ys(o.serviceProviderConfig.valueInput.placeholder))("formControl",i.serviceProviderForm.controls.value),Wl(),P(3),bt(" ",o.addButton," "),P(2),bt(" ",o.clearButton," "),P(3),Iu(i.Object.entries(i.serviceProviderConfig()))}},dependencies:[ox,tx,Rv,J2,ex,rx,ix,E2,T2,I2,Tv,kv],styles:[`:host{display:block}.container{padding:16px;display:flex;flex-direction:column;justify-content:center;box-sizing:border-box;width:100%}.explanation{line-height:normal;padding-bottom:1rem}.line-height-normal{line-height:normal}.is-active-switch{display:flex;align-items:center;gap:24px;padding-top:1.5rem}.config-list{padding:16px 0}.config-input{display:flex;flex-direction:column}.config-input-buttons{display:flex;justify-content:flex-end;gap:8px;margin-top:16px}.field-label{display:inline-block;font-weight:400;margin-bottom:-.125rem;color:var(--%NS%sapContent_LabelColor, #4a4a4a);overflow-wrap:break-word;word-break:break-word}.field-control{width:100%;height:2.25rem}.config-list-wrapper::part(list){background-color:transparent;border:none;padding:0}.config-list-item{width:100%;padding:0;height:auto;--%NS%_ui5_list_item_base_height: 0px}.config-list-item::part(native-li){padding:0;background:transparent;border:none;height:auto;block-size:auto}.config-list-item::part(content){overflow:visible;height:auto;block-size:auto}.list-item-row{width:100%;display:flex;align-items:center;justify-content:space-between;padding:9px 16px}.list-item-row ui5-switch{flex-shrink:0;padding-left:10px}.list-item-row .remove-button{flex-shrink:0}.list-item-text{flex:1 1 auto;min-width:0;overflow-wrap:anywhere}.list-item-text--inactive{color:var(--%NS%sapContent_DisabledTextColor, #a9a9a9)}
|
|
97
|
+
`],encapsulation:3})}}return e})(),oL=(e,t)=>t.key;aL=(()=>{class e{constructor(){this.i18nService=S(Nv),this.context=k.required(),this.LuigiClient=k.required(),this.togglesForm=new A2({}),this.newToggleControl=new Wo("",{nonNullable:!0,validators:[n2.required]}),this.queryParamsFeatures=this.extractFeatureToggleValues(window.location.search),this.translationTable=ir(()=>this.context().translationTable),this.texts={},this.togglesForm.valueChanges.pipe(aM()).subscribe(()=>{this.saveFeatureToggleSettings()}),br(()=>{this.i18nService.translationTable=this.translationTable(),this.texts=this.readTranslations()})}ngOnInit(){let r=nb.read();this.LuigiClient().getActiveFeatureToggles().forEach(i=>{let o=i.toString();r[o]||(r[o]=!0)}),Object.entries(r).forEach(([i,o])=>{this.togglesForm.addControl(i,new Wo(o)),this.queryParamsFeatures.includes(i)&&this.togglesForm.get(i).disable({emitEvent:!1})}),nb.store(r)}addToggle(){this.togglesForm.get(this.newToggleControl.value)||(this.togglesForm.addControl(this.newToggleControl.value,new Wo(!1)),this.newToggleControl.reset())}clear(){this.newToggleControl.reset()}onItemDelete(r){this.togglesForm.removeControl(r)}onToggleChange(r){this.togglesForm.get(r).setValue(!this.togglesForm.get(r).value)}extractFeatureToggleValues(r){return r?new URLSearchParams(r).getAll("ft").flatMap(i=>i.split(",")):[]}saveFeatureToggleSettings(){this.LuigiClient().publishEvent(new CustomEvent("luigi.updateUserSettings",{detail:{featureToggleSettings:this.togglesForm.getRawValue()}}))}readTranslations(){return{explanation:this.i18nService.getTranslation("FEATURE_TOGGLE_SETTINGS_EXPLANATION"),link:this.i18nService.getTranslation("FEATURE_TOGGLE_SETTINGS_LINK"),addButton:this.i18nService.getTranslation("FEATURE_TOGGLE_SETTINGS_ADD_BUTTON"),clearButton:this.i18nService.getTranslation("FEATURE_TOGGLE_SETTINGS_CLEAR_BUTTON"),nameInputLabel:this.i18nService.getTranslation("FEATURE_TOGGLE_SETTINGS_NAME_INPUT_LABEL"),tooltipQueryParam:this.i18nService.getTranslation("FEATURE_TOGGLE_SETTINGS_TOOLTIP_QUERY_PARAM")}}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275cmp=wr({type:e,selectors:[["wc-feature-toggle"]],inputs:{context:[1,"context"],LuigiClient:[1,"LuigiClient"]},decls:19,vars:11,consts:[[1,"container"],[1,"explanation-container"],[1,"explanation"],["target","_blank","href","https://github.com/openmfp/portal-ui-lib/blob/main/docs/readme-nodes-configuration.md#feature-toggles",1,"explanation"],["for","input-new-toggle","show-colon","",1,"label"],[1,"new-toggle-input"],["id","input-new-toggle","placeholder","myToggle",1,"input",3,"formControl"],["design","Emphasized",3,"ui5Click","disabled"],[3,"ui5Click","disabled"],[1,"toggle-list",3,"formGroup"],[1,"toggle-item"],[1,"toggle-item-buttons"],[3,"ui5Change","tooltip","disabled","checked"],["design","Transparent","icon","decline",3,"ui5Click","tooltip","disabled"]],template:function(r,i){r&1&&(U(0,"div",0)(1,"div",1)(2,"div",2),fe(3),W(),U(4,"ui5-link",3),fe(5),W()(),U(6,"div")(7,"ui5-label",4),fe(8),W(),U(9,"div",5)(10,"ui5-input",6),Gl(),W(),U(11,"ui5-button",7),Pt("ui5Click",function(){return i.addToggle()}),fe(12),W(),U(13,"ui5-button",8),Pt("ui5Click",function(){return i.clear()}),fe(14),W()()(),U(15,"ui5-list",9),Tu(16,nL,7,6,"ui5-li-custom",null,oL),G4(18,"keyvalue"),W()()),r&2&&(P(3),bt(" ",i.texts.explanation," "),P(2),Pr(i.texts.link),P(3),bt(" ",i.texts.nameInputLabel," "),P(2),Ot("formControl",i.newToggleControl),Wl(),P(),Ot("disabled",i.newToggleControl.invalid),P(),Pr(i.texts.addButton),P(),Ot("disabled",!i.newToggleControl.value),P(),Pr(i.texts.clearButton),P(),Ot("formGroup",i.togglesForm),P(),Iu(Z4(18,9,i.togglesForm.controls)))},dependencies:[ox,E2,T2,I2,Tv,kv,Rv,J2,ex,rx,ix,tx,CP],styles:[`.new-toggle-input{display:flex;align-items:center;gap:1rem}.label{height:10px}.input{flex-grow:1}.toggle-item{display:flex;align-items:center;justify-content:space-between;gap:1rem;width:100%;height:2.75rem}.toggle-item-buttons{display:flex;align-items:center;gap:.2rem}.container{padding:16px;display:flex;flex-direction:column;justify-content:center;gap:2rem}.explanation-container{display:flex;flex-direction:column;gap:1rem}.explanation{line-height:normal}
|
|
98
98
|
`],encapsulation:3})}}return e})(),sL=(e,t)=>t.title;uL=(()=>{class e{constructor(){this.luigiCoreService=S(Pv),this.links=(this.luigiCoreService.config.settings?.links??[]).concat([{title:"OpenMFP",link:"https://openmfp.org/"},{title:"OpenMFP GitHub",link:"https://github.com/openmfp"}]),this.header=this.luigiCoreService.config.settings?.header?.title,this.logo=this.luigiCoreService.config.settings?.header?.logo}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275cmp=wr({type:e,selectors:[["wc-getting-started"]],decls:17,vars:2,consts:[[1,"main"],[1,"content"],[1,"left-side"],[1,"platform-mesh-logo"],["alt","logo",1,"logo",3,"src"],[1,"platform-mesh-text"],[1,"platform-mesh-content"],[1,"title"],["role","separator","aria-label","Divider",1,"divider"],[1,"right-side"],[1,"pill-group"],["target","_blank","rel","noopener",1,"pill",3,"href"],["xmlns","http://www.w3.org/2000/svg","height","14","viewBox","0 -960 960 960","width","14","fill","currentColor"],["d","M200-120q-33 0-56.5-23.5T120-200v-560q0-33 23.5-56.5T200-840h280v80H200v560h560v-280h80v280q0 33-23.5 56.5T760-120H200Zm188-212-56-56 372-372H560v-80h280v280h-80v-144L388-332Z"]],template:function(r,i){r&1&&(bi(0,"main",0)(1,"div",1)(2,"div",2)(3,"div",3),Bu(4,"img",4),bi(5,"span",5),fe(6),ro()(),bi(7,"div",6)(8,"h1",7),fe(9,"Welcome! Let's get started."),ro(),bi(10,"p"),fe(11,"Congratulations! Your portal is running. \u{1F389}"),ro()()(),Bu(12,"div",8),bi(13,"div",9)(14,"div",10),Tu(15,lL,5,2,"a",11,sL),ro()()()()),r&2&&(P(4),fv("src",i.logo,Hw),P(2),Pr(i.header),P(9),Iu(i.links))},styles:['[_nghost-%COMP%]{--%NS%bright-blue: oklch(51.01% .274 263.83);--%NS%electric-violet: oklch(53.18% .28 296.97);--%NS%french-violet: oklch(47.66% .246 305.88);--%NS%vivid-pink: oklch(69.02% .277 332.77);--%NS%hot-red: oklch(61.42% .238 15.34);--%NS%orange-red: oklch(63.32% .24 31.68);--%NS%gray-900: oklch(19.37% .006 300.98);--%NS%gray-700: oklch(36.98% .014 302.71);--%NS%gray-400: oklch(70.9% .015 304.04);--%NS%red-to-pink-to-purple-horizontal-gradient: linear-gradient( 90deg, var(--%NS%orange-red) 0%, var(--%NS%vivid-pink) 50%, var(--%NS%electric-violet) 100% );--%NS%pill-accent: var(--%NS%bright-blue);font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol;box-sizing:border-box;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}h1[_ngcontent-%COMP%]{font-size:3.125rem;color:var(--%NS%gray-900);font-weight:500;line-height:100%;letter-spacing:-.125rem;margin:0;font-family:Inter Tight,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol}p[_ngcontent-%COMP%]{margin:0;color:var(--%NS%gray-700)}main[_ngcontent-%COMP%]{width:100%;min-height:100%;display:flex;justify-content:center;align-items:center;padding:1rem;box-sizing:inherit;position:relative}.content[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;justify-content:space-around;width:100%;max-width:43.75rem;margin-bottom:3rem}.content[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin-top:1.5rem}.divider[_ngcontent-%COMP%]{height:1px;width:100%;background:var(--%NS%red-to-pink-to-purple-horizontal-gradient);margin-block:1.5rem}.pill-group[_ngcontent-%COMP%]{display:flex;align-items:start;justify-content:center;flex-wrap:wrap;gap:1.25rem}.pill[_ngcontent-%COMP%]{display:flex;align-items:center;--%NS%pill-accent: var(--%NS%bright-blue);background:color-mix(in srgb,var(--%NS%pill-accent) 5%,transparent);color:var(--%NS%pill-accent);padding-inline:.75rem;padding-block:.375rem;border-radius:2.75rem;border:0;transition:background .3s ease;font-family:var(--%NS%inter-font);font-size:.875rem;font-style:normal;font-weight:500;line-height:1.4rem;letter-spacing:-.00875rem;text-decoration:none}.pill[_ngcontent-%COMP%]:hover{background:color-mix(in srgb,var(--%NS%pill-accent) 15%,transparent)}.pill-group[_ngcontent-%COMP%] .pill[_ngcontent-%COMP%]:nth-child(4n+1){--%NS%pill-accent: var(--%NS%bright-blue)}.pill-group[_ngcontent-%COMP%] .pill[_ngcontent-%COMP%]:nth-child(4n+2){--%NS%pill-accent: var(--%NS%french-violet)}.pill-group[_ngcontent-%COMP%] .pill[_ngcontent-%COMP%]:nth-child(4n+3){--%NS%pill-accent: var(--%NS%vivid-pink)}.pill-group[_ngcontent-%COMP%] .pill[_ngcontent-%COMP%]:nth-child(4n+4){--%NS%pill-accent: var(--%NS%hot-red)}.pill-group[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{margin-inline-start:.25rem}.logo[_ngcontent-%COMP%]{width:6.25rem}.platform-mesh-text[_ngcontent-%COMP%]{font-size:1.5rem;font-weight:600;color:#000}.platform-mesh-logo[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1rem}.platform-mesh-content[_ngcontent-%COMP%]{display:flex;flex-direction:column;text-align:center}.left-side[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:2rem}']})}}return e})(),cL=(()=>{class e{constructor(){this.accessibleName=k(),this.design=k("Default"),this.mode=k("Decorative"),this.name=k(),this.showTooltip=k(!1,{transform:Re}),this.ui5Click=it(),this.slots=[{name:"fontIcon",description:'Defines the font icon to be used as an icon.\nIntended for font-based icon libraries where\nthe application loads the font and provides a slotted element with the unicode character.\nWhen this slot is used, the component renders a `<span>` instead of an `<svg>`.\nAccessibility is fully delegated to the application \u2014 set `accessible-name` and `mode` explicitly.\n\n**Example:**\n```html\n<ui5-icon mode="Image" accessible-name="Home">\n <i class="fa fa-home" slot="fontIcon"></i>\n</ui5-icon>\n```',since:"2.23.0"}],this.elementRef=S(er),this.injector=S(ht),this._contentDensityObserver=S(Ni)}get element(){return this.elementRef.nativeElement}ngAfterViewInit(){let r=this.element;for(let i of["accessibleName","design","mode","name","showTooltip"]){let o=i.replace(/-./g,n=>n[1].toUpperCase());this[o]&&typeof this[o]=="function"&&Fr(this.injector,()=>{br(()=>{let n=this[o]();if(r){if(n===void 0&&r[i])return;r[i]=n}})})}for(let i of["ui5Click"]){let o=i.replace("ui5","").replace(/([A-Z])/g,"-$1").toLowerCase().substring(1);this[i]&&typeof this[i].emit=="function"&&r.addEventListener&&r.addEventListener(o,n=>{this[i].emit(n)})}}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275cmp=(function(){return wr({type:e,selectors:[["ui5-icon"],["","ui5-icon",""]],inputs:{accessibleName:[1,"accessibleName"],design:[1,"design"],mode:[1,"mode"],name:[1,"name"],showTooltip:[1,"showTooltip"]},outputs:{ui5Click:"ui5Click"},exportAs:["ui5Icon"],features:[ar([bo({supportedContentDensity:[K.COMPACT,K.COZY]})])],ngContentSelectors:["*"],decls:1,vars:0,template:function(r,i){r&1&&(go(),mo(0))},encapsulation:2})})()}}return e})();re("disconnected",{pathData:"m1.717 1 2.09 2.147.373-.436c.5-.518 1.092-.778 1.778-.778.727 0 1.35.26 1.87.778l1.404 1.525-1.185 1.182L9.232 6.6a.398.398 0 0 1 .156.327c0 .134-.052.233-.156.295-.084.083-.167.125-.25.125-.083 0-.166-.042-.25-.125L7.455 6.01 5.927 7.564l1.247 1.152a.305.305 0 0 1 .156.28.305.305 0 0 1-.156.28c-.104.103-.208.155-.312.155-.104 0-.187-.052-.25-.155L5.396 8.062 4.18 9.276l-1.434-1.4c-.54-.54-.81-1.152-.81-1.836 0-.684.27-1.286.81-1.804l.468-.498L1 1.59 1.717 1Zm10.601 6.689 1.56 1.493c.52.519.779 1.11.779 1.774 0 .663-.26 1.254-.78 1.773l-.249.218L15 14.316l-.592.622-1.466-1.338-.623.591c-.541.54-1.133.809-1.778.809-.665 0-1.237-.27-1.715-.809L7.267 12.73l5.051-5.04ZM2.934 6.04c0 .415.177.799.53 1.151l.717.685 3.68-3.672-.749-.808a1.57 1.57 0 0 0-1.153-.467c-.374 0-.717.155-1.03.467L3.464 4.92c-.332.332-.509.705-.53 1.12Zm5.769 6.658.81.778v.03h.031c.27.332.603.498.998.498.374 0 .728-.165 1.06-.497l1.56-1.494c.311-.29.467-.643.467-1.057 0-.436-.145-.778-.437-1.027l-.873-.84-3.616 3.609Z",ltr:!1,viewBox:"0 0 16 16",collection:"SAP-icons-v4",packageName:"@ui5/webcomponents-icons"});re("disconnected",{pathData:"m12.308 7.248.938 1.044a2.746 2.746 0 0 1-.107 3.786l2.641 2.642a.75.75 0 1 1-1.06 1.06l-2.673-2.672c-1.258 1.17-2.825 1.174-3.946.053l-.881-.88a.75.75 0 0 1 0-1.061l4.056-4.052c.306-.266.774-.207 1.032.08ZM8.81 11.75l.35.35a1.25 1.25 0 0 0 1.738.028l1.159-1.085a1.25 1.25 0 0 0 .074-1.748l-.411-.456-2.91 2.911ZM.22.22a.75.75 0 0 1 1.06 0l2.672 2.672c1.114-1.169 2.82-1.18 3.947-.053l.881.88a.75.75 0 0 1 0 1.061l-.47.47 1.22 1.22a.75.75 0 0 1-1.06 1.06L7.25 6.31l-.94.94 1.22 1.22a.75.75 0 0 1-1.06 1.06L5.25 8.31l-.526.522a.759.759 0 0 1-1.032-.08l-.938-1.044a2.747 2.747 0 0 1 .106-3.787L.22 1.28a.75.75 0 0 1 0-1.06ZM6.839 3.9A1.25 1.25 0 0 0 5.1 3.871L3.942 4.957a1.25 1.25 0 0 0-.074 1.748l.411.456L7.19 4.25l-.35-.35Z",ltr:!1,viewBox:"0 0 16 16",collection:"SAP-icons-v5",packageName:"@ui5/webcomponents-icons"});hL=(()=>{class e{constructor(){this.luigiCoreService=S(Pv),this.i18nService=S(Nv),this.host=S(er),this.document=S(ai),this.context=k.required(),this.texts=ir(()=>this.readTranslations()),this.hasIllustration=Kr(!1)}ngOnInit(){this.luigiCoreService.ux().hideAppLoadingIndicator(),this.hasIllustration.set(this.isIllustrationProvided())}retry(){this.document.defaultView?.location.reload()}isIllustrationProvided(){let r=getComputedStyle(this.host.nativeElement).getPropertyValue("--mfp-no-vpn-illustration-scene").trim();return r!==""&&r!=="none"}readTranslations(){return this.i18nService.translationTable=this.context().translationTable,{title:this.i18nService.getTranslation("VPN_NEEDED_PAGE_TITLE"),description:this.i18nService.getTranslation("VPN_NEEDED_PAGE_DESCRIPTION"),retryButton:this.i18nService.getTranslation("VPN_NEEDED_PAGE_RETRY_BUTTON")}}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275cmp=wr({type:e,selectors:[["wc-no-vpn"]],inputs:{context:[1,"context"]},decls:10,vars:4,consts:[[1,"page"],[1,"content"],["data-e2e","no-vpn-illustration",1,"no-vpn-illustration"],["name","disconnected","data-e2e","no-vpn-icon",1,"no-vpn-icon"],["data-e2e","no-vpn-title",1,"info"],["data-e2e","no-vpn-description",1,"hint"],["design","Emphasized","data-e2e","no-vpn-retry-button",3,"click"]],template:function(r,i){r&1&&(U(0,"div",0)(1,"div",1),LC(2,_L,1,0,"div",2)(3,dL,1,0,"ui5-icon",3),U(4,"div",4),fe(5),W(),U(6,"div",5),fe(7),W(),U(8,"ui5-button",6),Pt("click",function(){return i.retry()}),fe(9),W()()()),r&2&&(P(2),$C(i.hasIllustration()?2:3),P(3),Pr(i.texts().title),P(2),bt(" ",i.texts().description," "),P(2),bt(" ",i.texts().retryButton," "))},dependencies:[Rv,cL],styles:[`:host{display:block}.page{container-type:inline-size;font-family:var(--%NS%sapFontFamily)}.content{display:flex;flex-direction:column;align-items:center;gap:1rem;padding:2rem 1rem;text-align:center}.no-vpn-illustration{width:20rem;max-width:100%;aspect-ratio:320/240;background-image:var(--%NS%mfp-no-vpn-illustration-scene);background-repeat:no-repeat;background-position:center;background-size:contain}.no-vpn-icon{width:150px;height:150px;color:var(--%NS%sapContent_NonInteractiveIconColor)}.info,.hint{margin:0}.info{font-size:2rem;color:var(--%NS%sapGroup_TitleTextColor)}.hint{font-size:var(--%NS%sapFontLargeSize);color:var(--%NS%sapContent_LabelColor)}@container (width < 22rem){.no-vpn-illustration{width:10rem;aspect-ratio:1;background-image:var(--%NS%mfp-no-vpn-illustration-dialog, var(--%NS%mfp-no-vpn-illustration-scene))}.info{font-size:1.5rem}}@container (width < 21.938rem){.no-vpn-illustration{width:8rem;aspect-ratio:1;background-image:var(--%NS%mfp-no-vpn-illustration-spot, var(--%NS%mfp-no-vpn-illustration-scene))}.info{font-size:1.25rem}}
|
|
99
|
-
`],encapsulation:3})}}return e})(),pL={schedule(e,t){let r=setTimeout(e,t);return()=>clearTimeout(r)}};CL=10,xL=class{component;componentMirror;inputMap=new Map;constructor(e){this.component=e,this.componentMirror=Du(e);for(let t of this.componentMirror.inputs)this.inputMap.set(t.propName,t.templateName)}create(e){return new SL(this.component,e,this.inputMap)}},SL=class{component;injector;inputMap;eventEmitters=new W1(1);events=this.eventEmitters.pipe(nz(e=>tz(...e)));componentRef=null;scheduledDestroyFn=null;initialInputValues=new Map;ngZone;elementZone;appRef;cdScheduler;constructor(e,t,r){this.component=e,this.injector=t,this.inputMap=r,this.ngZone=this.injector.get(li),this.appRef=this.injector.get(ku),this.cdScheduler=t.get(Sa),this.elementZone=typeof Zone>"u"?null:this.ngZone.run(()=>Zone.current)}connect(e){this.runInZone(()=>{if(this.scheduledDestroyFn!==null){this.scheduledDestroyFn(),this.scheduledDestroyFn=null;return}this.componentRef===null&&this.initializeComponent(e)})}disconnect(){this.runInZone(()=>{this.componentRef===null||this.scheduledDestroyFn!==null||(this.scheduledDestroyFn=pL.schedule(()=>{this.componentRef!==null&&(this.componentRef.destroy(),this.componentRef=null)},CL))})}getInputValue(e){return this.runInZone(()=>this.componentRef===null?this.initialInputValues.get(e):this.componentRef.instance[e])}setInputValue(e,t){if(this.componentRef===null){this.initialInputValues.set(e,t);return}this.runInZone(()=>{this.componentRef.setInput(this.inputMap.get(e)??e,t),$8(this.componentRef.hostView)&&(H8(this.componentRef.changeDetectorRef),this.cdScheduler.notify(6))})}initializeComponent(e){let t=ht.create({providers:[],parent:this.injector}),r=yL(e,Du(this.component).ngContentSelectors);this.componentRef=gP(this.component,{environmentInjector:this.injector,elementInjector:t,hostElement:e,projectableNodes:r}),this.initializeInputs(),this.initializeOutputs(this.componentRef),this.appRef.attachView(this.componentRef.hostView),this.componentRef.hostView.detectChanges()}initializeInputs(){for(let[e,t]of this.initialInputValues)this.setInputValue(e,t);this.initialInputValues.clear()}initializeOutputs(e){let t=Du(this.component).outputs.map(({propName:r,templateName:i})=>{let o=e.instance[r];return new _t(n=>{let a=o.subscribe(s=>n.next({name:i,value:s}));return()=>a.unsubscribe()})});this.eventEmitters.next(t)}runInZone(e){return this.elementZone&&Zone.current!==this.elementZone?this.ngZone.run(e):e()}},kL=class extends HTMLElement{ngElementEventsSubscription=null};IL=e=>{e&&(hx=e)},AL=(e,t,r=px())=>{let i=TL(e,{injector:t});window.Luigi._registerWebcomponent(r,i)},BL=(e,t)=>{let r=px().split("#")[0];Object.entries(e).forEach(([i,o])=>{AL(o,t,`${r}#${i}`)})},px=()=>document.currentScript?.getAttribute("src")??hx??import.meta.url;DL=()=>
|
|
99
|
+
`],encapsulation:3})}}return e})(),pL={schedule(e,t){let r=setTimeout(e,t);return()=>clearTimeout(r)}};CL=10,xL=class{component;componentMirror;inputMap=new Map;constructor(e){this.component=e,this.componentMirror=Du(e);for(let t of this.componentMirror.inputs)this.inputMap.set(t.propName,t.templateName)}create(e){return new SL(this.component,e,this.inputMap)}},SL=class{component;injector;inputMap;eventEmitters=new W1(1);events=this.eventEmitters.pipe(nz(e=>tz(...e)));componentRef=null;scheduledDestroyFn=null;initialInputValues=new Map;ngZone;elementZone;appRef;cdScheduler;constructor(e,t,r){this.component=e,this.injector=t,this.inputMap=r,this.ngZone=this.injector.get(li),this.appRef=this.injector.get(ku),this.cdScheduler=t.get(Sa),this.elementZone=typeof Zone>"u"?null:this.ngZone.run(()=>Zone.current)}connect(e){this.runInZone(()=>{if(this.scheduledDestroyFn!==null){this.scheduledDestroyFn(),this.scheduledDestroyFn=null;return}this.componentRef===null&&this.initializeComponent(e)})}disconnect(){this.runInZone(()=>{this.componentRef===null||this.scheduledDestroyFn!==null||(this.scheduledDestroyFn=pL.schedule(()=>{this.componentRef!==null&&(this.componentRef.destroy(),this.componentRef=null)},CL))})}getInputValue(e){return this.runInZone(()=>this.componentRef===null?this.initialInputValues.get(e):this.componentRef.instance[e])}setInputValue(e,t){if(this.componentRef===null){this.initialInputValues.set(e,t);return}this.runInZone(()=>{this.componentRef.setInput(this.inputMap.get(e)??e,t),$8(this.componentRef.hostView)&&(H8(this.componentRef.changeDetectorRef),this.cdScheduler.notify(6))})}initializeComponent(e){let t=ht.create({providers:[],parent:this.injector}),r=yL(e,Du(this.component).ngContentSelectors);this.componentRef=gP(this.component,{environmentInjector:this.injector,elementInjector:t,hostElement:e,projectableNodes:r}),this.initializeInputs(),this.initializeOutputs(this.componentRef),this.appRef.attachView(this.componentRef.hostView),this.componentRef.hostView.detectChanges()}initializeInputs(){for(let[e,t]of this.initialInputValues)this.setInputValue(e,t);this.initialInputValues.clear()}initializeOutputs(e){let t=Du(this.component).outputs.map(({propName:r,templateName:i})=>{let o=e.instance[r];return new _t(n=>{let a=o.subscribe(s=>n.next({name:i,value:s}));return()=>a.unsubscribe()})});this.eventEmitters.next(t)}runInZone(e){return this.elementZone&&Zone.current!==this.elementZone?this.ngZone.run(e):e()}},kL=class extends HTMLElement{ngElementEventsSubscription=null};IL=e=>{e&&(hx=e)},AL=(e,t,r=px())=>{let i=TL(e,{injector:t});window.Luigi._registerWebcomponent(r,i)},BL=(e,t)=>{let r=px().split("#")[0];Object.entries(e).forEach(([i,o])=>{AL(o,t,`${r}#${i}`)})},px=()=>document.currentScript?.getAttribute("src")??hx??import.meta.url;DL=()=>VO(EL);document.body.classList.add("ui5-content-density-compact");zL={providers:[nM(),DL(),Y4()]};IL(document.currentScript?.getAttribute("src"));TN(zL).catch(e=>{console.error(e)});});il();export{eg as $,Fv as A,Yv as B,lt as C,E as Ct,qv as D,fg as E,J as F,La as G,Io as H,pg as I,dr as J,g_ as K,jv as L,ye as M,re as N,Hv as O,rl as P,gt as Q,ul as R,KL as S,Gv as St,ee as T,ng as U,Jv as V,rt as W,v as X,d_ as Y,p_ as Z,bg as _,Ht as _t,sl as a,Ao as at,mg as b,qr as bt,x_ as c,yg as ct,tt as d,v_ as dt,$a as et,g as f,ag as ft,Wv as g,c1 as gt,gg as h,__ as ht,C_ as i,$e as it,Vv as j,b_ as k,wg as l,Xv as lt,Uv as m,Sn as mt,Eo as n,Br as nt,sg as o,h_ as ot,Lv as p,Bo as pt,et as q,w_ as r,m_ as rt,Ha as s,be as st,lg as t,ke as tt,B as u,mt as ut,Kv as v,$v as vt,tl as w,Zv as x,vg as xt,R as y,Ui as yt,Qv as z};
|
|
100
100
|
/*! Bundled license information:
|
|
101
101
|
|
|
102
102
|
@ui5/webcomponents-base/dist/prod/sap/base/strings/toHex.js:
|