@openmfp/portal-ui-lib 0.194.29 → 0.194.30

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.
@@ -95,7 +95,7 @@ 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(gr),this.injector=S(xt),this._contentDensityObserver=S(bo)}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"&&ri(this.injector,()=>{Mr(()=>{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=ai({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:[br([hn({supportedContentDensity:[K.COMPACT,K.COZY]})])],ngContentSelectors:TL,decls:1,vars:0,template:function(r,i){r&1&&(_n(),dn(0))},encapsulation:2})}}return e})();ae("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"});ae("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"});Q2=(function(e){return e.Textual="Textual",e.Graphical="Graphical",e})(Q2||{}),IL=Q2;A("@ui5/webcomponents-theming","sap_horizon",async()=>Y);A("@ui5/webcomponents","sap_horizon",async()=>Q,"host");AL=`.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
96
  `,Mt=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},yt=Pn=class extends gt{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 Pn.i18nBundle.getText(r5)}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){Ve(e)&&e.preventDefault(),!this.readonly&&(Ve(e)?this._isSpacePressed=!0:(ru(e)||so(e))&&(this._cancelAction=!0),Pt(e)&&this._onclick())}_onkeyup(e){if(this.readonly)return;let t=Ve(e),r=ru(e)||so(e);if(t||b0(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===IL.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=Pn.i18nBundle.getText(lk).toLowerCase(),i=Pn.i18nBundle.getText(uk).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 ba(this)||Dp(this)||void 0}get ariaDescribedBy(){return this.readonly?`${this._id}-readonly-desc`:void 0}get ariaDescribedByText(){return this.readonly?Pn.i18nBundle.getText(Qb):""}};Mt([v()],yt.prototype,"design",void 0);Mt([v({type:Boolean})],yt.prototype,"readonly",void 0);Mt([v({type:Boolean})],yt.prototype,"checked",void 0);Mt([v({type:Boolean})],yt.prototype,"disabled",void 0);Mt([v()],yt.prototype,"textOn",void 0);Mt([v()],yt.prototype,"textOff",void 0);Mt([v()],yt.prototype,"accessibleName",void 0);Mt([v()],yt.prototype,"accessibleNameRef",void 0);Mt([v()],yt.prototype,"tooltip",void 0);Mt([v({type:Boolean})],yt.prototype,"required",void 0);Mt([v()],yt.prototype,"name",void 0);Mt([v()],yt.prototype,"value",void 0);Mt([v({type:Boolean,noAttribute:!0})],yt.prototype,"_cancelAction",void 0);Mt([v({type:Boolean,noAttribute:!0})],yt.prototype,"_isSpacePressed",void 0);Mt([at("@ui5/webcomponents")],yt,"i18nBundle",void 0);yt=Pn=Mt([ye({tag:"ui5-switch",formAssociated:!0,languageAware:!0,styles:AL,renderer:it,template:BL}),V("change",{bubbles:!0,cancelable:!0}),V("value-changed",{bubbles:!0,cancelable:!0})],yt);yt.define();EL=["*"],J2=(()=>{class e{constructor(){this.accessibleName=k(),this.accessibleNameRef=k(),this.checked=k(!1,{transform:Pe}),this.design=k("Textual"),this.disabled=k(!1,{transform:Pe}),this.name=k(),this.readonly=k(!1,{transform:Pe}),this.required=k(!1,{transform:Pe}),this.textOff=k(),this.textOn=k(),this.tooltip=k(),this.value=k(""),this.ui5Change=ut(),this.elementRef=S(gr),this.injector=S(xt),this._contentDensityObserver=S(bo)}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"&&ri(this.injector,()=>{Mr(()=>{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=ai({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:[br([hn({supportedContentDensity:[K.COMPACT,K.COZY]}),{provide:uv,useValue:{property:"checked",events:["change"],transformValue:r=>!!r}}]),AC([G2])],ngContentSelectors:EL,decls:1,vars:0,template:function(r,i){r&1&&(_n(),dn(0))},encapsulation:2})}}return e})(),de=globalThis.Luigi,ex=(()=>{class e{setConfig(r){return de.setConfig(r)}get config(){return de.getConfig()}getConfigValue(r){return de.getConfigValue(r)}unloadConfig(){return de.unload()}sendCustomMessage(r){return de.sendCustomMessage(r)}configChanged(r){de.configChanged(r)}customMessages(){return de.customMessages()}navigation(){return de.navigation()}resetLuigi(){de.reset()}clearNavigationCache(){de.clearNavigationCache&&de.clearNavigationCache()}showAlert(r){return de.showAlert(r)}ux(){return de.ux()}theming(){return de.theming()}i18n(){return de.i18n()}globalSearch(){return de.globalSearch()}getGlobalContext(){return de.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){de.setGlobalContext(r,i)}setInGlobalContext(r,i=!1){de.setGlobalContext(D(D({},this.getGlobalContext()),r),i)}routing(){return de.routing()}setFeatureToggle(r){de.featureToggles().setFeatureToggle(r)}unsetFeatureToggle(r){de.featureToggles().unsetFeatureToggle(r)}unsetAllFeatureToggles(){de.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 de.featureToggles().getActiveFeatureToggleList().includes(r)}getActiveFeatureToggleList(){return de.featureToggles().getActiveFeatureToggleList()}setAuthData(r){de.auth().store.setAuthData(r),de.auth().store.setNewlyAuthorized()}removeAuthData(){de.auth().store.removeAuthData()}getAuthData(){return de.auth().store.getAuthData()}setCurrentLocale(r){de.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})(),DL=class extends Error{};DL.prototype.name="InvalidTokenError";zL=(()=>{class e{constructor(){this.http=S(F2)}async getEnvConfig(){return this.envConfigCache?this.envConfigCache:(await L7(this.http.get("/rest/envconfig").pipe(oz(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})(),tx=(()=>{class e{constructor(){this.envConfigService=S(zL),this.luigiCoreService=S(ex),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})(),va=(function(e){return 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",e})(va||{}),Db={read:e=>{let t;try{t=localStorage.getItem(e||va.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(va.LOCAL_DEVELOPMENT_SETTINGS,JSON.stringify(e))}catch(t){console.error("Failed to stringify the local development settings setting into your localstorage.",t)}}},zb={read:()=>{try{let e=localStorage.getItem(va.FEATURE_TOGGLE_SETTINGS);return e?JSON.parse(e):{}}catch(e){return console.error("Error reading feature toggle settings",e),{}}},store:e=>{try{localStorage.setItem(va.FEATURE_TOGGLE_SETTINGS,JSON.stringify(e))}catch(t){console.error("Error storing feature toggle settings",t)}}};op(zD());op(RD());RL=Object.defineProperty,PL=(e,t,r)=>t in e?RL(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,O=(e,t,r)=>PL(e,typeof t!="symbol"?t+"":t,r),Rb=e=>e!==null&&Object.prototype.toString.call(e)==="[object Object]",Hu=(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(!Hu(e[r],t[r]))return!1;return!0}if(Rb(e)&&Rb(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(!Hu(n,t[o]))return!1;i.delete(o)}return i.size===0}return!1},Qa=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,Pb=e=>e>="a"&&e<="z"||e>="A"&&e<="Z"||e==="_",kd=e=>e>="0"&&e<="9"||e==="-",OL=e=>e>="a"&&e<="z"||e>="A"&&e<="Z"||e>="0"&&e<="9"||e==="_",Uu=e=>{if(typeof e!="number"||Math.floor(e)!==e)throw new Error("invalid-value: expecting an integer.");return e},cv=e=>{if(typeof e!="number"||e<0||Math.floor(e)!==e)throw new Error("invalid-value: expecting a non-negative integer.");return e},ho=(...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")}},rx=e=>{if(e=+e,!e)throw new Error("not-a-number: divide by zero");return e},NL=(e,t)=>(ho(e,t),e+t),ML=(e,t)=>(ho(e,t),e-t),LL=(e,t)=>(ho(e,t),e*t),FL=(e,t)=>(ho(e,t),e/rx(t)),$L=(e,t)=>(ho(e,t),Math.floor(e/rx(t))),HL=(e,t)=>(ho(e,t),e%t),UL=(e,t,r,i)=>{if(!e||!t)return null;r=Math.max(Uu(r=r||0),0),i=Math.min(Uu(i=i||e.length),e.length);let o=e.slice(r,i).indexOf(t);return o===-1?null:o+r},VL=(e,t,r,i)=>{if(!e||!t)return null;r=Math.max(Uu(r=r||0),0),i=Math.min(Uu(i=i||e.length),e.length);let o=e.slice(r,i).lastIndexOf(t);return o===-1?null:o+r},jL=e=>e.toLowerCase(),ix=(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 cv(t),r},qL=(e,t,r)=>(r=ix("pad_left",t,r),e&&e.padStart(t,r)||""),GL=(e,t,r)=>(r=ix("pad_right",t,r),e&&e.padEnd(t,r)||""),ep=(e,t,r,i)=>i===0?e:i?(cv(i),[...Array(i).keys()].map(()=>e=e.replace(t,r)),e):e.split(t).join(r),WL=(e,t,r)=>{if(e.length==0&&t.length===0)return[];if(r==null)return e.split(t);if(cv(r),r===0)return[e];let i=e.split(t);return[...i.slice(0,r),i.slice(r).join(t)]},ZL=(e,t)=>ox(nx(e,t),t),ox=(e,t)=>ax(e,r=>new RegExp(`^[${r}]*(.*?)`),t),nx=(e,t)=>ax(e,r=>new RegExp(`(.*?)[${r}]*$`),t),ax=(e,t,r)=>{let i=r?r.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&"):"\\s\x85";return e.replace(t(i),"$1")},KL=e=>e.toUpperCase(),Ob={"(":"Lparen",")":"Rparen","*":"Star",",":"Comma",".":"Dot",":":"Colon","@":"Current","]":"Rbracket","{":"Lbrace","}":"Rbrace","+":"Plus","%":"Modulo","?":"Question","\u2212":"Minus","\xD7":"Multiply","\xF7":"Divide"},XL={"!":!0,"<":!0,"=":!0,">":!0,"&":!0,"|":!0,"/":!0},YL={" ":!0,"\n":!0,"\r":!0," ":!0},QL=class{constructor(){O(this,"_current",0),O(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(Pb(e[this._current]))i=this._current,o=this.consumeUnquotedIdentifier(e),r.push({start:i,type:"UnquotedIdentifier",value:o});else if(Ob[e[this._current]]!==void 0)r.push({start:this._current,type:Ob[e[this._current]],value:e[this._current]}),this._current+=1;else if(e[this._current]==="$")i=this._current,this._current+1<e.length&&Pb(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&&kd(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(kd(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(XL[e[this._current]]!==void 0)n=this.consumeOperator(e),n&&r.push(n);else if(YL[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&&OL(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,ep(ep(e.slice(t+1,this._current-1),"\\\\","\\"),"\\'","'")}consumeNumber(e){let t=this._current;this._current+=1;let r=e.length;for(;kd(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]}}},JL=new QL,st={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 tp{constructor(){O(this,"index",0),O(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=JL.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<st[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 tp.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(st.Not)};case"Minus":{let r=this.expression(st.Minus);return{type:"Unary",operator:t.type,operand:r}}case"Plus":{let r=this.expression(st.Plus);return{type:"Unary",operator:t.type,operand:r}}case"Star":return{type:"ValueProjection",left:{type:"Identity"},right:this.parseProjectionRHS(st.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(st.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(st.Star),type:"Projection"}):this.parseMultiselectList();case"Current":return{type:"Current"};case"Root":return{type:"Root"};case"Expref":return{type:"ExpressionReference",child:this.expression(st.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=st.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(st.Pipe)};case"Or":return{type:"OrExpression",left:r,right:this.expression(st.Or)};case"And":return{type:"AndExpression",left:r,right:this.expression(st.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(st.Filter),condition:i}}case"Flatten":return{type:"Projection",left:{type:"Flatten",child:r},right:this.parseProjectionRHS(st.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(st.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(st.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")t[r]=this.lookaheadToken(0).value,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(()=>tp.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(st[r])}}parseArithmetic(t,r){return{type:"Arithmetic",operator:r,left:t,right:this.expression(st[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(st[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}}};wl=class Kl{constructor(t){O(this,"_text"),this._text=t}get string(){return this._text}get length(){return this.codePoints.length}compareTo(t){return Kl.compare(this,new Kl(t))}static get comparer(){return(t,r)=>new Kl(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))}},Td=e=>([t])=>e(t),Nb=e=>([t])=>e(t),Mb=e=>([t])=>e(t),e4=class{constructor(e){O(this,"_interpreter"),O(this,"_functionTable"),O(this,"_customFunctions",new Set),O(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>>"})),O(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}),O(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}),O(this,"functionEndsWith",t=>{let[r,i]=t;return r.includes(i,r.length-i.length)}),O(this,"functionFindFirst",this.createFindFunction(UL)),O(this,"functionFindLast",this.createFindFunction(VL)),O(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))),O(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},{})}),O(this,"functionItems",([t])=>Object.entries(t)),O(this,"functionJoin",t=>{let[r,i]=t;return i.join(r)}),O(this,"functionLength",([t])=>typeof t=="string"?new wl(t).length:Array.isArray(t)?t.length:Object.keys(t).length),O(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}),O(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}),O(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}),O(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}),O(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}),O(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}),O(this,"functionNotNull",t=>{for(let r=0;r<t.length;r+=1)if(this.getTypeName(t[r])!==7)return t[r];return null}),O(this,"functionPadLeft",this.createPadFunction(qL)),O(this,"functionPadRight",this.createPadFunction(GL)),O(this,"functionReplace",t=>{let r=t[0],i=t[1],o=t[2];return ep(r,i,o,t.length>3?t[3]:void 0)}),O(this,"functionSplit",t=>{let r=t[0],i=t[1];return WL(r,i,t.length>2?t[2]:void 0)}),O(this,"functionReverse",([t])=>{if(this.getTypeName(t)===2)return new wl(t).reverse();let r=t.slice(0);return r.reverse(),r}),O(this,"functionSort",([t])=>t.length==0?t:typeof t[0]=="string"?[...t].sort(wl.comparer):[...t].sort()),O(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?wl.comparer(u,_):u-_})}),O(this,"functionStartsWith",([t,r])=>t.startsWith(r)),O(this,"functionSum",([t])=>t.reduce((r,i)=>r+i,0)),O(this,"functionToArray",([t])=>this.getTypeName(t)===3?t:[t]),O(this,"functionToNumber",([t])=>{let r=this.getTypeName(t),i;return r===0?t:r===2&&(i=+t,!isNaN(i))?i:null}),O(this,"functionToString",([t])=>this.getTypeName(t)===2?t:JSON.stringify(t)),O(this,"functionTrim",this.createTrimFunction(ZL)),O(this,"functionTrimLeft",this.createTrimFunction(ox)),O(this,"functionTrimRight",this.createTrimFunction(nx)),O(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")}}),O(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:Td(Math.abs),_signature:[{types:[0]}]},ceil:{_func:Td(Math.ceil),_signature:[{types:[0]}]},floor:{_func:Td(Math.floor),_signature:[{types:[0]}]},lower:{_func:Nb(jL),_signature:[{types:[2]}]},upper:{_func:Nb(KL),_signature:[{types:[2]}]},keys:{_func:Mb(Object.keys),_signature:[{types:[4]}]},values:{_func:Mb(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)}}},sx=class lx{constructor(){O(this,"inner"),O(this,"data",{})}get currentScopeData(){return this.data}withScope(t){let r=new lx;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}},t4=new sx;new class ux{constructor(){O(this,"runtime"),O(this,"_rootValue",null),O(this,"_scope"),this.runtime=new e4(this),this._scope=new sx}withScope(t){let r=new ux;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=t4,this.visit(t,r)}visit(t,r){switch(t.type){case"Ternary":return Qa(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=D(D({},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(Qa(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 NL(o,n);case"Minus":return ML(o,n);case"Multiply":case"Star":return LL(o,n);case"Divide":return FL(o,n);case"Modulo":return HL(o,n);case"Div":return $L(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 ho(o),o;case"Minus":return ho(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 Hu(o,n);case"NE":return!Hu(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 Qa(o)?this.visit(t.right,r):o}case"AndExpression":{let o=this.visit(t.left,r);return Qa(o)?o:this.visit(t.right,r)}case"NotExpression":return Qa(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 D({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}};op(PD());rp=function(e,...t){if(rp.translate){let i=rp.translate(e,t);e=i[0],t=i[1]}let r=Lb(e[0],e.raw[0]);for(let i=1;i<e.length;i++)r+=t[i-1]+Lb(e[i],e.raw[i]);return r},i4=":";globalThis.$localize=rp;document.body.classList.add("ui5-content-density-compact");o4=(e,t)=>t[0];l4=(()=>{class e{constructor(){this.i18nService=S(tx),this.context=k.required(),this.LuigiClient=k.required(),this.texts=pr(()=>this.readTranslations()),this.errors=bi([]),this.Object=Object,this.defaultConfig=[{url:"http://localhost:4200/assets/content-configuration-global.json"},{url:"http://localhost:4200/assets/content-configuration.json"}],this.isActive=bi(!1),this.configs=bi(this.defaultConfig),this.serviceProviderConfig=bi({}),this.localDevelopmentSettings=pr(()=>({isActive:this.isActive(),configs:this.configs(),serviceProviderConfig:this.serviceProviderConfig()})),this.urlInput=new Zo("",{nonNullable:!0}),this.serviceProviderForm=new w2({key:new Zo("",{nonNullable:!0}),value:new Zo("",{nonNullable:!0})})}ngOnInit(){let r=Db.read(va.DEVELOPMENT_MODE_CONFIG)||Db.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}]),this.saveDevelopmentSettings()):this.errors.set([...this.errors(),"pattern"])}removeUrl(r){this.configs.update(i=>i.filter((o,n)=>n!==r)),this.saveDevelopmentSettings()}removeServiceProviderConfig(r){this.serviceProviderConfig.update(i=>(delete i[r],D({},i))),this.saveDevelopmentSettings()}addServiceProviderConfig(r,i){r&&i&&(this.serviceProviderConfig.update(o=>(o[r]=i,D({},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=ai({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"],["design","Transparent","icon","decline",1,"remove-button",3,"click","tooltip"]],template:function(r,i){if(r&1&&(J(0,"div"),MC(1),J(2,"div",0)(3,"div")(4,"div",1),Te(5),oe(),J(6,"ui5-link",2),Te(7),oe()(),J(8,"div",3)(9,"h4",4),Te(10),oe(),J(11,"ui5-switch",5),Kt("change",function(){return i.switchIsActive()}),oe()(),J(12,"div",6)(13,"h4",4),Te(14),oe(),J(15,"ui5-label",7),Te(16),oe(),$o(17,"ui5-input",8),jl(),nN(18,n4,2,1,"div",4),J(19,"div",9)(20,"ui5-button",10),Kt("click",function(){return i.addUrl(i.urlInput.value)}),Te(21),oe(),J(22,"ui5-button",11),Kt("click",function(){return i.urlInput.reset()}),Te(23),oe()(),J(24,"div",12)(25,"ui5-list",13),Tu(26,a4,5,3,"ui5-li-custom",14,lN),oe()()(),J(28,"div",15)(29,"h4",4),Te(30),oe(),J(31,"ui5-label",16),Te(32),oe(),$o(33,"br"),J(34,"div",17)(35,"ui5-label",16),Te(36),oe(),$o(37,"ui5-input",18),jl(),$o(38,"br"),J(39,"ui5-label",19),Te(40),oe(),$o(41,"ui5-input",20),jl(),oe(),J(42,"div",9)(43,"ui5-button",10),Kt("click",function(){return i.addServiceProviderConfig(i.serviceProviderForm.controls.key.value,i.serviceProviderForm.controls.value.value)}),Te(44),oe(),J(45,"ui5-button",11),Kt("click",function(){return i.serviceProviderForm.reset()}),Te(46),oe()(),J(47,"div",12)(48,"ui5-list",13),Tu(49,s4,5,4,"ui5-li-custom",14,o4),oe()()()()()),r&2){H();let o=LN(i.texts());H(4),Wr(o.explanation),H(2),zt(" ",o.link," "),H(3),zt(" ",o.isDevelopmentModeActive," "),H(),Zt("checked",i.isActive()),H(3),Wr(o.urlsInput.title),H(2),zt(" ",o.urlsInput.label," "),H(),Zt("formControl",i.urlInput),ql(),H(),aN(i.errors().length?18:-1),H(3),zt(" ",o.addButton," "),H(2),zt(" ",o.clearButton," "),H(3),Iu(i.configs()),H(4),zt(" ",o.serviceProviderConfig.title," "),H(2),zt(" ",o.serviceProviderConfig.explanation," "),H(2),Zt("formGroup",i.serviceProviderForm),H(2),zt(" ",o.serviceProviderConfig.keyInput.label," "),H(),Zt("placeholder",Du(o.serviceProviderConfig.keyInput.placeholder))("formControl",i.serviceProviderForm.controls.key),ql(),H(3),zt(" ",o.serviceProviderConfig.valueInput.label," "),H(),Zt("placeholder",Du(o.serviceProviderConfig.valueInput.placeholder))("formControl",i.serviceProviderForm.controls.value),ql(),H(3),zt(" ",o.addButton," "),H(2),zt(" ",o.clearButton," "),H(3),Iu(i.Object.entries(i.serviceProviderConfig()))}},dependencies:[J2,K2,q2,W2,Z2,X2,Y2,x2,b2,y2,tv,rv],styles:[`.container{padding:16px;display:flex;flex-direction:column;justify-content:center}.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);text-wrap:nowrap}.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}.config-list-item::part(native-li){padding:0;background:transparent;border:none}.list-item-row{width:100%;display:flex;align-items:center;justify-content:space-between;padding:9px 16px}.list-item-text{flex:1}
97
97
  `],encapsulation:3})}}return e})(),u4=(e,t)=>t.key;_4=(()=>{class e{constructor(){this.i18nService=S(tx),this.context=k.required(),this.LuigiClient=k.required(),this.togglesForm=new w2({}),this.newToggleControl=new Zo("",{nonNullable:!0,validators:[QC.required]}),this.queryParamsFeatures=this.extractFeatureToggleValues(window.location.search),this.translationTable=pr(()=>this.context().translationTable),this.texts={},this.togglesForm.valueChanges.pipe(nL()).subscribe(()=>{this.saveFeatureToggleSettings()}),Mr(()=>{this.i18nService.translationTable=this.translationTable(),this.texts=this.readTranslations()})}ngOnInit(){let r=zb.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 Zo(o)),this.queryParamsFeatures.includes(i)&&this.togglesForm.get(i).disable({emitEvent:!1})}),zb.store(r)}addToggle(){this.togglesForm.get(this.newToggleControl.value)||(this.togglesForm.addControl(this.newToggleControl.value,new Zo(!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=ai({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&&(J(0,"div",0)(1,"div",1)(2,"div",2),Te(3),oe(),J(4,"ui5-link",3),Te(5),oe()(),J(6,"div")(7,"ui5-label",4),Te(8),oe(),J(9,"div",5),$o(10,"ui5-input",6),jl(),J(11,"ui5-button",7),Kt("ui5Click",function(){return i.addToggle()}),Te(12),oe(),J(13,"ui5-button",8),Kt("ui5Click",function(){return i.clear()}),Te(14),oe()()(),J(15,"ui5-list",9),Tu(16,c4,7,6,"ui5-li-custom",null,u4),jN(18,"keyvalue"),oe()()),r&2&&(H(3),zt(" ",i.texts.explanation," "),H(2),Wr(i.texts.link),H(3),zt(" ",i.texts.nameInputLabel," "),H(2),Zt("formControl",i.newToggleControl),ql(),H(),Zt("disabled",i.newToggleControl.invalid),H(),Wr(i.texts.addButton),H(),Zt("disabled",!i.newToggleControl.value),H(),Wr(i.texts.clearButton),H(),Zt("formGroup",i.togglesForm),H(),Iu(GN(18,9,i.togglesForm.controls)))},dependencies:[J2,x2,b2,y2,tv,rv,q2,W2,Z2,X2,Y2,K2,wM],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
- `],encapsulation:3})}}return e})(),d4=(e,t)=>t.title;p4=(()=>{class e{constructor(){this.luigiCoreService=S(ex),this.links=(this.luigiCoreService.config.settings?.links??[]).concat([{title:"OpemMFP",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=ai({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&&(gi(0,"main",0)(1,"div",1)(2,"div",2)(3,"div",3),Au(4,"img",4),gi(5,"span",5),Te(6),ro()(),gi(7,"div",6)(8,"h1",7),Te(9,"Welcome! Let's get started."),ro(),gi(10,"p"),Te(11,"Congratulations! Your portal is running. \u{1F389}"),ro()()(),Au(12,"div",8),gi(13,"div",9)(14,"div",10),Tu(15,h4,5,2,"a",11,d4),ro()()()()),r&2&&(H(4),jf("src",i.logo,Ow),H(2),Wr(i.header),H(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})(),f4={schedule(e,t){let r=setTimeout(e,t);return()=>clearTimeout(r)}};x4=10,S4=class{component;componentMirror;inputMap=new Map;constructor(e){this.component=e,this.componentMirror=zu(e);for(let t of this.componentMirror.inputs)this.inputMap.set(t.propName,t.templateName)}create(e){return new k4(this.component,e,this.inputMap)}},k4=class{component;injector;inputMap;eventEmitters=new U1(1);events=this.eventEmitters.pipe(rz(e=>Q7(...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(ni),this.appRef=this.injector.get(ku),this.cdScheduler=t.get(Ia),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=f4.schedule(()=>{this.componentRef!==null&&(this.componentRef.destroy(),this.componentRef=null)},x4))})}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),NO(this.componentRef.hostView)&&(MO(this.componentRef.changeDetectorRef),this.cdScheduler.notify(6))})}initializeComponent(e){let t=xt.create({providers:[],parent:this.injector}),r=w4(e,zu(this.component).ngContentSelectors);this.componentRef=vM(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=zu(this.component).outputs.map(({propName:r,templateName:i})=>{let o=e.instance[r];return new dt(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()}},T4=class extends HTMLElement{ngElementEventsSubscription=null};B4=(e,t,r=cx())=>{let i=I4(e,{injector:t});window.Luigi._registerWebcomponent(r,i)},A4=(e,t)=>{let r=cx().split("#")[0];Object.entries(e).forEach(([i,o])=>{B4(o,t,`${r}#${i}`)})},cx=()=>{let e=document.currentScript?.getAttribute("src")??import.meta.url;if(!e)throw new Error("Not defined src of currentScript.");return e};D4=()=>F6(E4);document.body.classList.add("ui5-content-density-compact");k8({providers:[oL(),D4(),KN()]}).catch(e=>{console.error(e)});});rl();export{g_ as $,mv as A,gv as B,wv as C,D as Ct,el as D,at as E,ae as F,Rv as G,kv as H,tl as I,tt as J,it as K,Z4 as L,dv as M,vv as N,Q as O,ye as P,v as Q,Y as R,Zv as S,bv as St,C_ as T,Sv as U,sl as V,Tv as W,f_ as X,ur as Y,Va as Z,Wv as _,$t as _t,S_ as a,Bo as at,Cv as b,Ur as bt,ja as c,Xv as ct,Tn as d,gt as dt,vt as et,A as f,b_ as ft,fv as g,j0 as gt,_v as h,p_ as ht,x_ as i,He as it,pv as j,qv as k,Yv as l,xv as lt,g as m,Ao as mt,Eo as n,ke as nt,nl as o,v_ as ot,rt as p,Pv as pt,y_ as q,k_ as r,Ir as rt,Ov as s,be as st,Nv as t,Iv as tt,Io as u,w_ as ut,yv as v,hv as vt,Ha as w,R as x,Gv as xt,Kv as y,Ui as yt,jv as z};
98
+ `],encapsulation:3})}}return e})(),d4=(e,t)=>t.title;p4=(()=>{class e{constructor(){this.luigiCoreService=S(ex),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=ai({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&&(gi(0,"main",0)(1,"div",1)(2,"div",2)(3,"div",3),Au(4,"img",4),gi(5,"span",5),Te(6),ro()(),gi(7,"div",6)(8,"h1",7),Te(9,"Welcome! Let's get started."),ro(),gi(10,"p"),Te(11,"Congratulations! Your portal is running. \u{1F389}"),ro()()(),Au(12,"div",8),gi(13,"div",9)(14,"div",10),Tu(15,h4,5,2,"a",11,d4),ro()()()()),r&2&&(H(4),jf("src",i.logo,Ow),H(2),Wr(i.header),H(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})(),f4={schedule(e,t){let r=setTimeout(e,t);return()=>clearTimeout(r)}};x4=10,S4=class{component;componentMirror;inputMap=new Map;constructor(e){this.component=e,this.componentMirror=zu(e);for(let t of this.componentMirror.inputs)this.inputMap.set(t.propName,t.templateName)}create(e){return new k4(this.component,e,this.inputMap)}},k4=class{component;injector;inputMap;eventEmitters=new U1(1);events=this.eventEmitters.pipe(rz(e=>Q7(...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(ni),this.appRef=this.injector.get(ku),this.cdScheduler=t.get(Ia),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=f4.schedule(()=>{this.componentRef!==null&&(this.componentRef.destroy(),this.componentRef=null)},x4))})}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),NO(this.componentRef.hostView)&&(MO(this.componentRef.changeDetectorRef),this.cdScheduler.notify(6))})}initializeComponent(e){let t=xt.create({providers:[],parent:this.injector}),r=w4(e,zu(this.component).ngContentSelectors);this.componentRef=vM(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=zu(this.component).outputs.map(({propName:r,templateName:i})=>{let o=e.instance[r];return new dt(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()}},T4=class extends HTMLElement{ngElementEventsSubscription=null};B4=(e,t,r=cx())=>{let i=I4(e,{injector:t});window.Luigi._registerWebcomponent(r,i)},A4=(e,t)=>{let r=cx().split("#")[0];Object.entries(e).forEach(([i,o])=>{B4(o,t,`${r}#${i}`)})},cx=()=>{let e=document.currentScript?.getAttribute("src")??import.meta.url;if(!e)throw new Error("Not defined src of currentScript.");return e};D4=()=>F6(E4);document.body.classList.add("ui5-content-density-compact");k8({providers:[oL(),D4(),KN()]}).catch(e=>{console.error(e)});});rl();export{g_ as $,mv as A,gv as B,wv as C,D as Ct,el as D,at as E,ae as F,Rv as G,kv as H,tl as I,tt as J,it as K,Z4 as L,dv as M,vv as N,Q as O,ye as P,v as Q,Y as R,Zv as S,bv as St,C_ as T,Sv as U,sl as V,Tv as W,f_ as X,ur as Y,Va as Z,Wv as _,$t as _t,S_ as a,Bo as at,Cv as b,Ur as bt,ja as c,Xv as ct,Tn as d,gt as dt,vt as et,A as f,b_ as ft,fv as g,j0 as gt,_v as h,p_ as ht,x_ as i,He as it,pv as j,qv as k,Yv as l,xv as lt,g as m,Ao as mt,Eo as n,ke as nt,nl as o,v_ as ot,rt as p,Pv as pt,y_ as q,k_ as r,Ir as rt,Ov as s,be as st,Nv as t,Iv as tt,Io as u,w_ as ut,yv as v,hv as vt,Ha as w,R as x,Gv as xt,Kv as y,Ui as yt,jv as z};
99
99
  /*! Bundled license information:
100
100
 
101
101
  @ui5/webcomponents-base/dist/prod/sap/base/strings/toHex.js:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openmfp/portal-ui-lib",
3
- "version": "0.194.29",
3
+ "version": "0.194.30",
4
4
  "repository": {
5
5
  "url": "git+https://github.com/openmfp/portal-ui-lib.git"
6
6
  },