@openui5/sap.ui.integration 1.92.0 → 1.93.3
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.
- package/.reuse/dep5 +5 -0
- package/THIRDPARTY.txt +10 -1
- package/package.json +3 -3
- package/src/sap/ui/integration/.library +1 -1
- package/src/sap/ui/integration/ActionDefinition.js +1 -1
- package/src/sap/ui/integration/Designtime.js +1 -1
- package/src/sap/ui/integration/Extension.js +1 -1
- package/src/sap/ui/integration/Host.js +16 -18
- package/src/sap/ui/integration/cards/AdaptiveContent.js +1 -1
- package/src/sap/ui/integration/cards/AnalyticalContent.js +1 -1
- package/src/sap/ui/integration/cards/AnalyticsCloudContent.js +1 -1
- package/src/sap/ui/integration/cards/BaseContent.js +2 -2
- package/src/sap/ui/integration/cards/BaseListContent.js +1 -1
- package/src/sap/ui/integration/cards/CalendarContent.js +1 -1
- package/src/sap/ui/integration/cards/ComponentContent.js +21 -10
- package/src/sap/ui/integration/cards/Filter.js +1 -1
- package/src/sap/ui/integration/cards/Footer.js +126 -0
- package/src/sap/ui/integration/cards/Header.js +1 -1
- package/src/sap/ui/integration/cards/ListContent.js +19 -8
- package/src/sap/ui/integration/cards/ListContentRenderer.js +19 -9
- package/src/sap/ui/integration/cards/NumericHeader.js +1 -1
- package/src/sap/ui/integration/cards/ObjectContent.js +1 -1
- package/src/sap/ui/integration/cards/TableContent.js +1 -1
- package/src/sap/ui/integration/cards/TimelineContent.js +1 -1
- package/src/sap/ui/integration/cards/WebPageContent.js +1 -1
- package/src/sap/ui/integration/cards/adaptivecards/elements/UI5InputChoiceSet.js +1 -1
- package/src/sap/ui/integration/cards/adaptivecards/elements/UI5InputDate.js +1 -1
- package/src/sap/ui/integration/cards/adaptivecards/elements/UI5InputNumber.js +1 -1
- package/src/sap/ui/integration/cards/adaptivecards/elements/UI5InputText.js +1 -1
- package/src/sap/ui/integration/cards/adaptivecards/elements/UI5InputToggle.js +1 -1
- package/src/sap/ui/integration/controls/ActionsStrip.js +184 -0
- package/src/sap/ui/integration/controls/ActionsToolbar.js +1 -1
- package/src/sap/ui/integration/controls/ListContentItem.js +3 -1
- package/src/sap/ui/integration/controls/ListContentItemRenderer.js +93 -3
- package/src/sap/ui/integration/controls/Microchart.js +1 -1
- package/src/sap/ui/integration/controls/MicrochartLegend.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/BaseEditor.js +2 -2
- package/src/sap/ui/integration/designtime/baseEditor/PropertyEditor.js +5 -1
- package/src/sap/ui/integration/designtime/baseEditor/PropertyEditors.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/BasePropertyEditor.js +8 -2
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/PropertyEditorFactory.js +5 -3
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/arrayEditor/ArrayEditor.js +2 -2
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/booleanEditor/BooleanEditor.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/dateEditor/DateEditor.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/dateTimeEditor/DateTimeEditor.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/enumStringEditor/EnumStringEditor.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/groupEditor/GroupEditor.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/iconEditor/IconEditor.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/iconEditor/IsInIconPool.validator.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/integerEditor/IntegerEditor.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/jsonEditor/JsonEditor.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/listEditor/ListEditor.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/mapEditor/MapEditor.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/numberEditor/NumberEditor.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/selectEditor/SelectEditor.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/separatorEditor/SeparatorEditor.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/stringEditor/StringEditor.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/textAreaEditor/TextAreaEditor.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/util/binding/ObjectBinding.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/util/unset.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/validator/IsBoolean.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/validator/IsDate.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/validator/IsInteger.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/validator/IsNumber.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/validator/IsSelectedKey.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/validator/IsStringList.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/validator/IsUniqueKey.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/validator/IsUniqueList.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/validator/IsValidBinding.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/validator/MaxLength.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/validator/NotABinding.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/validator/ValidatorRegistry.js +1 -1
- package/src/sap/ui/integration/designtime/cardEditor/config/AppConfig.js +0 -69
- package/src/sap/ui/integration/designtime/cardEditor/propertyEditor/complexMapEditor/ComplexMapEditor.js +1 -1
- package/src/sap/ui/integration/designtime/cardEditor/propertyEditor/destinationsEditor/DestinationsEditor.js +1 -1
- package/src/sap/ui/integration/designtime/cardEditor/propertyEditor/iconEditor/IconEditor.js +1 -1
- package/src/sap/ui/integration/designtime/cardEditor/propertyEditor/parametersEditor/ParametersEditor.js +1 -1
- package/src/sap/ui/integration/designtime/editor/CardEditor.js +36 -14
- package/src/sap/ui/integration/designtime/editor/CardPreview.js +1 -1
- package/src/sap/ui/integration/designtime/editor/CardResourceBundles.js +1 -1
- package/src/sap/ui/integration/designtime/editor/fields/BaseField.js +27 -15
- package/src/sap/ui/integration/designtime/editor/fields/BooleanField.js +1 -1
- package/src/sap/ui/integration/designtime/editor/fields/DateField.js +1 -1
- package/src/sap/ui/integration/designtime/editor/fields/DateTimeField.js +1 -1
- package/src/sap/ui/integration/designtime/editor/fields/DestinationField.js +1 -1
- package/src/sap/ui/integration/designtime/editor/fields/IntegerField.js +3 -2
- package/src/sap/ui/integration/designtime/editor/fields/ListField.js +60 -60
- package/src/sap/ui/integration/designtime/editor/fields/NumberField.js +3 -2
- package/src/sap/ui/integration/designtime/editor/fields/Settings.js +1 -1
- package/src/sap/ui/integration/designtime/editor/fields/StringField.js +3 -4
- package/src/sap/ui/integration/designtime/editor/fields/viz/ColorSelect.js +2 -1
- package/src/sap/ui/integration/designtime/editor/fields/viz/IconSelect.js +1 -1
- package/src/sap/ui/integration/designtime/editor/fields/viz/ShapeSelect.js +1 -1
- package/src/sap/ui/integration/library.js +4 -4
- package/src/sap/ui/integration/messagebundle_ar.properties +69 -55
- package/src/sap/ui/integration/messagebundle_bg.properties +69 -55
- package/src/sap/ui/integration/messagebundle_ca.properties +69 -55
- package/src/sap/ui/integration/messagebundle_cs.properties +69 -55
- package/src/sap/ui/integration/messagebundle_cy.properties +69 -55
- package/src/sap/ui/integration/messagebundle_da.properties +69 -55
- package/src/sap/ui/integration/messagebundle_de.properties +69 -55
- package/src/sap/ui/integration/messagebundle_el.properties +69 -55
- package/src/sap/ui/integration/messagebundle_en.properties +69 -55
- package/src/sap/ui/integration/messagebundle_en_GB.properties +69 -55
- package/src/sap/ui/integration/messagebundle_en_US_sappsd.properties +69 -55
- package/src/sap/ui/integration/messagebundle_en_US_saptrc.properties +69 -55
- package/src/sap/ui/integration/messagebundle_es.properties +69 -55
- package/src/sap/ui/integration/messagebundle_es_MX.properties +69 -55
- package/src/sap/ui/integration/messagebundle_et.properties +69 -55
- package/src/sap/ui/integration/messagebundle_fi.properties +69 -55
- package/src/sap/ui/integration/messagebundle_fr.properties +69 -55
- package/src/sap/ui/integration/messagebundle_fr_CA.properties +69 -55
- package/src/sap/ui/integration/messagebundle_hi.properties +69 -55
- package/src/sap/ui/integration/messagebundle_hr.properties +69 -55
- package/src/sap/ui/integration/messagebundle_hu.properties +69 -55
- package/src/sap/ui/integration/messagebundle_id.properties +69 -55
- package/src/sap/ui/integration/messagebundle_it.properties +69 -55
- package/src/sap/ui/integration/messagebundle_iw.properties +69 -55
- package/src/sap/ui/integration/messagebundle_ja.properties +69 -55
- package/src/sap/ui/integration/messagebundle_kk.properties +69 -55
- package/src/sap/ui/integration/messagebundle_ko.properties +69 -55
- package/src/sap/ui/integration/messagebundle_lt.properties +69 -55
- package/src/sap/ui/integration/messagebundle_lv.properties +69 -55
- package/src/sap/ui/integration/messagebundle_ms.properties +69 -55
- package/src/sap/ui/integration/messagebundle_nl.properties +69 -55
- package/src/sap/ui/integration/messagebundle_no.properties +69 -55
- package/src/sap/ui/integration/messagebundle_pl.properties +69 -55
- package/src/sap/ui/integration/messagebundle_pt.properties +69 -55
- package/src/sap/ui/integration/messagebundle_pt_PT.properties +69 -55
- package/src/sap/ui/integration/messagebundle_ro.properties +69 -55
- package/src/sap/ui/integration/messagebundle_ru.properties +69 -55
- package/src/sap/ui/integration/messagebundle_sh.properties +69 -55
- package/src/sap/ui/integration/messagebundle_sk.properties +69 -55
- package/src/sap/ui/integration/messagebundle_sl.properties +69 -55
- package/src/sap/ui/integration/messagebundle_sv.properties +69 -55
- package/src/sap/ui/integration/messagebundle_th.properties +69 -55
- package/src/sap/ui/integration/messagebundle_tr.properties +69 -55
- package/src/sap/ui/integration/messagebundle_uk.properties +69 -55
- package/src/sap/ui/integration/messagebundle_vi.properties +69 -55
- package/src/sap/ui/integration/messagebundle_zh_CN.properties +69 -55
- package/src/sap/ui/integration/messagebundle_zh_TW.properties +69 -55
- package/src/sap/ui/integration/model/ContextModel.js +1 -1
- package/src/sap/ui/integration/model/ObservableModel.js +1 -1
- package/src/sap/ui/integration/schemas/sap-card.json +248 -155
- package/src/sap/ui/integration/themes/base/CalendarContent.less +4 -2
- package/src/sap/ui/integration/themes/base/ListContentItem.less +92 -19
- package/src/sap/ui/integration/themes/base/Microchart.less +1 -1
- package/src/sap/ui/integration/thirdparty/webcomponents/bundle.es5.js +1 -1
- package/src/sap/ui/integration/thirdparty/webcomponents/bundle.esm.js +1 -1
- package/src/sap/ui/integration/util/BaseFactory.js +1 -1
- package/src/sap/ui/integration/util/BindingHelper.js +1 -1
- package/src/sap/ui/integration/util/BindingResolver.js +2 -2
- package/src/sap/ui/integration/util/CacheAndRequestDataProvider.js +12 -7
- package/src/sap/ui/integration/util/CardActions.js +5 -2
- package/src/sap/ui/integration/util/CardObserver.js +1 -1
- package/src/sap/ui/integration/util/ContentFactory.js +1 -1
- package/src/sap/ui/integration/util/DataProvider.js +1 -1
- package/src/sap/ui/integration/util/DataProviderFactory.js +1 -1
- package/src/sap/ui/integration/util/Destinations.js +1 -1
- package/src/sap/ui/integration/util/ExtensionDataProvider.js +1 -1
- package/src/sap/ui/integration/util/FilterBarFactory.js +1 -1
- package/src/sap/ui/integration/util/HeaderFactory.js +1 -1
- package/src/sap/ui/integration/util/JSONBindingHelper.js +1 -1
- package/src/sap/ui/integration/util/LoadingProvider.js +6 -4
- package/src/sap/ui/integration/util/Manifest.js +1 -1
- package/src/sap/ui/integration/util/RequestDataProvider.js +1 -1
- package/src/sap/ui/integration/util/ServiceDataProvider.js +1 -1
- package/src/sap/ui/integration/util/ServiceManager.js +1 -1
- package/src/sap/ui/integration/util/Utils.js +1 -1
- package/src/sap/ui/integration/widgets/Card.js +20 -15
- package/src/sap/ui/integration/widgets/CardRenderer.js +12 -8
- package/src/sap/ui/integration/util/FooterFactory.js +0 -114
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const e={};var t={},i=t.hasOwnProperty,r=t.toString,a=i.toString,o=a.call(Object),n=function(e){var t,n;return!(!e||"[object Object]"!==r.call(e))&&(!(t=Object.getPrototypeOf(e))||"function"==typeof(n=i.call(t,"constructor")&&t.constructor)&&a.call(n)===o)},s=Object.create(null),l=function(){var e,t,i,r,a,o,u=arguments[2]||{},d=3,c=arguments.length,h=arguments[0]||!1,p=arguments[1]?void 0:s;for("object"!=typeof u&&"function"!=typeof u&&(u={});d<c;d++)if(null!=(a=arguments[d]))for(r in a)e=u[r],i=a[r],"__proto__"!==r&&u!==i&&(h&&i&&(n(i)||(t=Array.isArray(i)))?(t?(t=!1,o=e&&Array.isArray(e)?e:[]):o=e&&n(e)?e:{},u[r]=l(h,arguments[1],o,i)):i!==p&&(u[r]=i));return u},u=function(){var e=[!0,!1];return e.push.apply(e,arguments),l.apply(null,e)};const d=new Map,c=e=>d.get(e),h={default:"en",all:["ar","ar_EG","ar_SA","bg","ca","cs","da","de","de_AT","de_CH","el","el_CY","en","en_AU","en_GB","en_HK","en_IE","en_IN","en_NZ","en_PG","en_SG","en_ZA","es","es_AR","es_BO","es_CL","es_CO","es_MX","es_PE","es_UY","es_VE","et","fa","fi","fr","fr_BE","fr_CA","fr_CH","fr_LU","he","hi","hr","hu","id","it","it_CH","ja","kk","ko","lt","lv","ms","nb","nl","nl_BE","pl","pt","pt_PT","ro","ru","ru_UA","sk","sl","sr","sv","th","tr","uk","vi","zh_CN","zh_HK","zh_SG","zh_TW"]},p={default:"sap_fiori_3",all:["sap_fiori_3","sap_fiori_3_dark","sap_belize","sap_belize_hcb","sap_belize_hcw","sap_fiori_3_hcb","sap_fiori_3_hcw"]}.default,_={default:"en",all:["ar","bg","ca","cs","da","de","el","en","es","et","fi","fr","hi","hr","hu","it","iw","ja","kk","ko","lt","lv","ms","nl","no","pl","pt","ro","ru","sh","sk","sl","sv","th","tr","uk","vi","zh_CN","zh_TW"]}.default,m=h.default,g=h.all;let f=!1,v={animationMode:"full",theme:p,rtl:null,language:null,calendarType:null,noConflict:!1,formatSettings:{}};const y=new Map;y.set("true",!0),y.set("false",!1);const b=()=>{f||((()=>{const e=document.querySelector("[data-ui5-config]")||document.querySelector("[data-id='sap-ui-config']");let t;if(e){try{t=JSON.parse(e.innerHTML)}catch(e){console.warn("Incorrect data-sap-ui-config format. Please use JSON")}t&&(v=u(v,t))}})(),new URLSearchParams(window.location.search).forEach((e,t)=>{if(!t.startsWith("sap-ui"))return;const i=e.toLowerCase(),r=t.split("sap-ui-")[1];y.has(e)&&(e=y.get(i)),v[r]=e}),(()=>{const e=c("OpenUI5Support");if(!e||!e.isLoaded())return;const t=e.getConfigurationSettingsObject();v=u(v,t)})(),f=!0)},w=new Map,k=new Map,x=new Map,C=async e=>{w.get(e)||w.set(e,fetch(e));const t=await w.get(e);return x.get(e)||x.set(e,t.text()),x.get(e)},S=async e=>{w.get(e)||w.set(e,fetch(e));const t=await w.get(e);return k.get(e)||k.set(e,t.json()),k.get(e)},T=new Map,D=new Map,P=new Set,I=new Set,M=(e,t,i)=>{i._?D.set(`${e}_${t}`,i._):i.includes(":root")||""===i?D.set(`${e}_${t}`,i):T.set(`${e}_${t}`,i),P.add(e),I.add(t)},B=async(e,t)=>{const i=D.get(`${e}_${t}`);if(void 0!==i)return i;if(!I.has(t)){const t=[...I.values()].join(", ");return console.warn(`You have requested a non-registered theme - falling back to ${p}. Registered themes are: ${t}`),D.get(`${e}_${p}`)}const r=await E(e,t),a=r._||r;return D.set(`${e}_${t}`,a),a},E=async(e,t)=>{let i=T.get(`${e}_${t}`);if(!i)throw new Error(`You have to import the ${e}/dist/Assets.js module to switch to additional themes`);return!i.startsWith("/")&&window.sap&&window.sap.ui&&(i=`${window.sap.ui.require.toUrl("")}/${i}`),".css"===(e=>{const t=e.lastIndexOf(".");return t<1?"":e.slice(t)})(i)?C(i):S(i)},F=()=>P,A=(e,t={})=>{const i=document.createElement("style");return i.type="text/css",Object.entries(t).forEach(e=>i.setAttribute(...e)),i.textContent=e,document.head.appendChild(i),i},N=(e,t)=>{const i=document.head.querySelector(`style[data-ui5-theme-properties="${t}"]`);if(i)i.textContent=e||"";else{A(e,{"data-ui5-theme-properties":t})}},O=()=>{const e=(()=>{let e=document.querySelector(".sapThemeMetaData-Base-baseLib");if(e)return getComputedStyle(e).backgroundImage;e=document.createElement("span"),e.style.display="none",e.classList.add("sapThemeMetaData-Base-baseLib"),document.body.appendChild(e);const t=getComputedStyle(e).backgroundImage;return document.body.removeChild(e),t})();if(!e||"none"===e)return;return(e=>{let t,i;try{t=e.Path.match(/\.([^.]+)\.css_variables$/)[1],i=e.Extends[0]}catch(t){return void console.warn("Malformed theme metadata Object",e)}return{themeName:t,baseThemeName:i}})((e=>{const t=/\(["']?data:text\/plain;utf-8,(.*?)['"]?\)$/i.exec(e);if(t&&t.length>=2){let e=t[1];if(e=e.replace(/\\"/g,'"'),"{"!==e.charAt(0)&&"}"!==e.charAt(e.length-1))try{e=decodeURIComponent(e)}catch(e){return void console.warn("Malformed theme metadata string, unable to decodeURIComponent")}try{return JSON.parse(e)}catch(e){console.warn("Malformed theme metadata string, unable to parse JSON")}}})(e))};let $;const L=()=>!!window.CSSVarsPonyfill,R=()=>{$=void 0,window.CSSVarsPonyfill.cssVars({rootElement:document.head,silent:!0})},z="@ui5/webcomponents-theme-base",H=async e=>{if(!F().has(z))return;const t=await B(z,e);N(t,z)},U=async e=>{const t=(()=>{const e=O();if(e)return e;const t=c("OpenUI5Support");if(t){if(t.cssVariablesLoaded())return{themeName:t.getConfigurationSettingsObject().theme}}})();t&&e===t.themeName?(()=>{const e=document.head.querySelector(`style[data-ui5-theme-properties="${z}"]`);e&&e.parentElement.removeChild(e)})():await H(e);const i=(e=>I.has(e))(e)?e:t&&t.baseThemeName;await(async e=>{F().forEach(async t=>{if(t===z)return;const i=await B(t,e);N(i,t)})})(i),L()&&R()};let j;const V=()=>(void 0===j&&(b(),j=v.theme),j),W=async e=>{j!==e&&(j=e,await U(j))};((t,i,...r)=>{if(r.length)throw new Error("addCustomCSS no longer accepts theme specific CSS. new signature is `addCustomCSS(tag, css)`");e[t]||(e[t]=[]),e[t].push(i)})("ui5-select","\n\t.ui5-select-root ui5-li:first-child {\n\t\tdisplay: none;\n\t}\n");const Y=getComputedStyle(document.documentElement);if(sap&&sap.ui&&sap.ui.getCore&&(!!Y.getPropertyValue("--sapFontFamily")||!!Y.getPropertyValue("--sapBrandColor")||!!Y.getPropertyValue("--sapBaseColor"))){const e=sap.ui.getCore().getConfiguration().getTheme();W(e)}const q=window.sap,G=q&&q.ui&&"function"==typeof q.ui.getCore&&q.ui.getCore();((e,t)=>{d.set(e,t)})("OpenUI5Support",{isLoaded:()=>!!G,init:()=>G?new Promise(e=>{G.attachInit(()=>{q.ui.require(["sap/ui/core/LocaleData"],e)})}):Promise.resolve(),getConfigurationSettingsObject:()=>{if(!G)return;const e=G.getConfiguration(),t=q.ui.require("sap/ui/core/LocaleData");return{animationMode:e.getAnimationMode(),language:e.getLanguage(),theme:e.getTheme(),rtl:e.getRTL(),calendarType:e.getCalendarType(),formatSettings:{firstDayOfWeek:t?t.getInstance(e.getLocale()).getFirstDayOfWeek():void 0}}},getLocaleDataObject:()=>{if(!G)return;const e=G.getConfiguration();return q.ui.require("sap/ui/core/LocaleData").getInstance(e.getLocale())._get()},attachListeners:()=>{G&&(()=>{const e=G.getConfiguration();G.attachThemeChanged(async()=>{await W(e.getTheme())})})()},cssVariablesLoaded:()=>{if(!G)return;const e=[...document.head.children].find(e=>"sap-ui-theme-sap.ui.core"===e.id);return e?!!e.href.match(/\/css(-|_)variables\.css/):void 0}});var J=()=>{const e=navigator.languages;return e&&e[0]||navigator.language||navigator.userLanguage||navigator.browserLanguage||_};class X{constructor(){this._eventRegistry={}}attachEvent(e,t){const i=this._eventRegistry;let r=i[e];Array.isArray(r)||(i[e]=[],r=i[e]),r.push({function:t})}detachEvent(e,t){const i=this._eventRegistry;let r=i[e];r&&(r=r.filter(e=>e.function!==t),0===r.length&&delete i[e])}fireEvent(e,t){const i=this._eventRegistry[e];return i?i.map(e=>e.function.call(this,t)):[]}isHandlerAttached(e,t){const i=this._eventRegistry[e];if(!i)return!1;for(let e=0;e<i.length;e++){if(i[e].function===t)return!0}return!1}hasListeners(e){return!!this._eventRegistry[e]}}const Q=new X;const Z=e=>{const t=[];return e.forEach(e=>{t.push(e)}),t},K=new Set,ee=new Set;let te;const ie=e=>{K.add(e)},re=()=>{console.warn("The following tags have already been defined by a different UI5 Web Components version: "+Z(ee).join(", ")),ee.clear()},ae=new Set,oe=new Set,ne=new class{constructor(){this.list=[],this.lookup=new Set}add(e){this.lookup.has(e)||(this.list.push(e),this.lookup.add(e))}remove(e){this.lookup.has(e)&&(this.list=this.list.filter(t=>t!==e),this.lookup.delete(e))}shift(){const e=this.list.shift();if(e)return this.lookup.delete(e),e}isEmpty(){return 0===this.list.length}isAdded(e){return this.lookup.has(e)}process(e){let t;const i=new Map;for(t=this.shift();t;){const r=i.get(t)||0;if(r>10)throw new Error("Web component processed too many times this task, max allowed is: 10");e(t),i.set(t,r+1),t=this.shift()}}};let se,le,ue,de,ce;class he{constructor(){throw new Error("Static class")}static async renderDeferred(e){ne.add(e),await he.scheduleRenderTask()}static renderImmediately(e){e._render()}static cancelRender(e){ne.remove(e)}static async scheduleRenderTask(){de||(de=new Promise(e=>{window.requestAnimationFrame(()=>{ne.process(e=>e._render()),de=null,e(),ue||(ue=setTimeout(()=>{ue=void 0,ne.isEmpty()&&he._resolveTaskPromise()},200))})})),await de}static whenDOMUpdated(){return se||(se=new Promise(e=>{le=e,window.requestAnimationFrame(()=>{ne.isEmpty()&&(se=void 0,e())})}),se)}static whenAllCustomElementsAreDefined(){const e=Z(K).map(e=>customElements.whenDefined(e));return Promise.all(e)}static async whenFinished(){await he.whenAllCustomElementsAreDefined(),await he.whenDOMUpdated()}static _resolveTaskPromise(){ne.isEmpty()&&le&&(le.call(this),le=void 0,se=void 0)}static register(e){oe.add(e)}static deregister(e){oe.delete(e)}static reRenderAllUI5Elements(e){oe.forEach(t=>{const i=(r=t.constructor,ae.has(r));var r;const a=t.constructor.getMetadata().isLanguageAware();(!e||e.rtlAware&&i||e.languageAware&&a)&&he.renderDeferred(t)})}}const pe=()=>(void 0===ce&&(b(),ce=v.language),ce),_e=/^((?:[A-Z]{2,3}(?:-[A-Z]{3}){0,3})|[A-Z]{4}|[A-Z]{5,8})(?:-([A-Z]{4}))?(?:-([A-Z]{2}|[0-9]{3}))?((?:-[0-9A-Z]{5,8}|-[0-9][0-9A-Z]{3})*)((?:-[0-9A-WYZ](?:-[0-9A-Z]{2,8})+)*)(?:-(X(?:-[0-9A-Z]{1,8})+))?$/i;class me{constructor(e){const t=_e.exec(e.replace(/_/g,"-"));if(null===t)throw new Error(`The given language ${e} does not adhere to BCP-47.`);this.sLocaleId=e,this.sLanguage=t[1]||null,this.sScript=t[2]||null,this.sRegion=t[3]||null,this.sVariant=t[4]&&t[4].slice(1)||null,this.sExtension=t[5]&&t[5].slice(1)||null,this.sPrivateUse=t[6]||null,this.sLanguage&&(this.sLanguage=this.sLanguage.toLowerCase()),this.sScript&&(this.sScript=this.sScript.toLowerCase().replace(/^[a-z]/,e=>e.toUpperCase())),this.sRegion&&(this.sRegion=this.sRegion.toUpperCase())}getLanguage(){return this.sLanguage}getScript(){return this.sScript}getRegion(){return this.sRegion}getVariant(){return this.sVariant}getVariantSubtags(){return this.sVariant?this.sVariant.split("-"):[]}getExtension(){return this.sExtension}getExtensionSubtags(){return this.sExtension?this.sExtension.slice(2).split("-"):[]}getPrivateUse(){return this.sPrivateUse}getPrivateUseSubtags(){return this.sPrivateUse?this.sPrivateUse.slice(2).split("-"):[]}hasPrivateUseSubtag(e){return this.getPrivateUseSubtags().indexOf(e)>=0}toString(){const e=[this.sLanguage];return this.sScript&&e.push(this.sScript),this.sRegion&&e.push(this.sRegion),this.sVariant&&e.push(this.sVariant),this.sExtension&&e.push(this.sExtension),this.sPrivateUse&&e.push(this.sPrivateUse),e.join("-")}}const ge=e=>{try{if(e&&"string"==typeof e)return new me(e)}catch(e){}},fe=e=>e?ge(e):pe()?new me(pe()):ge(J()),ve=/^((?:[A-Z]{2,3}(?:-[A-Z]{3}){0,3})|[A-Z]{4}|[A-Z]{5,8})(?:-([A-Z]{4}))?(?:-([A-Z]{2}|[0-9]{3}))?((?:-[0-9A-Z]{5,8}|-[0-9][0-9A-Z]{3})*)((?:-[0-9A-WYZ](?:-[0-9A-Z]{2,8})+)*)(?:-(X(?:-[0-9A-Z]{1,8})+))?$/i,ye=/(?:^|-)(saptrc|sappsd)(?:-|$)/i,be={he:"iw",yi:"ji",id:"in",sr:"sh"},we=e=>{if(!e)return m;if("zh_HK"===e)return"zh_TW";const t=e.lastIndexOf("_");return t>=0?e.slice(0,t):e!==m?m:""},ke=new Map,xe=new Map,Ce=(e,t)=>{ke.set(e,t)},Se=(e,t)=>{const i=xe.get(e)||{};xe.set(e,Object.assign({},i,t))},Te=async e=>{const t=xe.get(e);if(!t)return void console.warn("Message bundle assets are not configured. Falling back to English texts.",` You need to import ${e}/dist/Assets.js with a build tool that supports JSON imports.`);const i=fe().getLanguage(),r=fe().getRegion();let a=(e=>{let t;if(!e)return m;if("string"==typeof e&&(t=ve.exec(e.replace(/_/g,"-")))){let e=t[1].toLowerCase(),i=t[3]?t[3].toUpperCase():void 0;const r=t[2]?t[2].toLowerCase():void 0,a=t[4]?t[4].slice(1):void 0,o=t[6];return e=be[e]||e,o&&(t=ye.exec(o))||a&&(t=ye.exec(a))?"en_US_"+t[1].toLowerCase():("zh"!==e||i||("hans"===r?i="CN":"hant"===r&&(i="TW")),e+(i?"_"+i+(a?"_"+a.replace("-","_"):""):""))}})(i+(r?"-"+r:""));for(;a!==_&&!t[a];)a=we(a);if(!t[a])return void Ce(e,null);let o=t[a];if("object"==typeof o)return void Ce(e,o);!o.startsWith("/")&&window.sap&&window.sap.ui&&(o=`${window.sap.ui.require.toUrl("")}/${o}`);const n=await C(o);let s;if(n.startsWith("{"))s=JSON.parse;else{const e=c("PropertiesFormatSupport");if(!e)throw new Error('In order to support .properties files, please: import "@ui5/webcomponents-base/dist/features/PropertiesFormatSupport.js";');s=e.parser}const l=s(n);Ce(e,l)};var De,Pe;De=()=>{const e=[...ke.keys()];return Promise.all(e.map(Te))},Q.attachEvent("languageChange",De);var Ie=function(e,t,i){if(!e)return e;function r(e,t){return function(){var r=e[t].apply(e,arguments);return i?this:r instanceof Pe?r.getInterface():r}}if(Pe=Pe||sap.ui.requireSync("sap/ui/base/Object"),!t)return{};for(var a,o=0,n=t.length;o<n;o++)e[a=t[o]]&&"function"!=typeof e[a]||(this[a]=r(e,a))},Me={},Be=window;function Ee(e){return Array.isArray(e)?e.slice():e.split(".")}Me.create=function(e,t){for(var i=t||Be,r=Ee(e),a=0;a<r.length;a++){var o=r[a];if(null===i[o]||void 0!==i[o]&&"object"!=typeof i[o]&&"function"!=typeof i[o])throw new Error("Could not set object-path for '"+r.join(".")+"', path segment '"+o+"' already exists.");i[o]=i[o]||{},i=i[o]}return i},Me.get=function(e,t){for(var i=t||Be,r=Ee(e),a=r.pop(),o=0;o<r.length&&i;o++)i=i[r[o]];return i?i[a]:void 0},Me.set=function(e,t,i){i=i||Be;var r=Ee(e),a=r.pop();Me.create(r,i)[a]=t};var Fe,Ae="undefined"!=typeof window&&window.performance&&performance.now&&performance.timing?(Fe=performance.timing.navigationStart,function(){return Fe+performance.now()}):Date.now,Ne={Level:{NONE:-1,FATAL:0,ERROR:1,WARNING:2,INFO:3,DEBUG:4,TRACE:5,ALL:6}},Oe=[],$e={"":Ne.Level.ERROR},Le=3e3,Re=null,ze=!1;function He(e,t){return("000"+String(e)).slice(-t)}function Ue(e){return!e||isNaN($e[e])?$e[""]:$e[e]}function je(){var e=Oe.length;if(e){var t=Math.min(e,Math.floor(.7*Le));Re&&Re.onDiscardLogEntries(Oe.slice(0,e-t)),Oe=t?Oe.slice(-t,e):[]}}function Ve(){return Re||(Re={listeners:[],onLogEntry:function(e){for(var t=0;t<Re.listeners.length;t++)Re.listeners[t].onLogEntry&&Re.listeners[t].onLogEntry(e)},onDiscardLogEntries:function(e){for(var t=0;t<Re.listeners.length;t++)Re.listeners[t].onDiscardLogEntries&&Re.listeners[t].onDiscardLogEntries(e)},attach:function(e,t){t&&(Re.listeners.push(t),t.onAttachToLog&&t.onAttachToLog(e))},detach:function(e,t){for(var i=0;i<Re.listeners.length;i++)if(Re.listeners[i]===t)return t.onDetachFromLog&&t.onDetachFromLog(e),void Re.listeners.splice(i,1)}}),Re}function We(e,t,i,r,a){if(a||r||"function"!=typeof i||(a=i,i=""),a||"function"!=typeof r||(a=r,r=""),e<=Ue(r=r||void 0)){var o=Ae(),n=new Date(o),s=Math.floor(1e3*(o-Math.floor(o))),l={time:He(n.getHours(),2)+":"+He(n.getMinutes(),2)+":"+He(n.getSeconds(),2)+"."+He(n.getMilliseconds(),3)+He(s,3),date:He(n.getFullYear(),4)+"-"+He(n.getMonth()+1,2)+"-"+He(n.getDate(),2),timestamp:o,level:e,message:String(t||""),details:String(i||""),component:String(r||"")};if(ze&&"function"==typeof a&&(l.supportInfo=a()),Le&&(Oe.length>=Le&&je(),Oe.push(l)),Re&&Re.onLogEntry(l),console){var u=i instanceof Error,d=l.date+" "+l.time+" "+l.message+" - "+l.details+" "+l.component;switch(e){case Ne.Level.FATAL:case Ne.Level.ERROR:u?console.error(d,"\n",i):console.error(d);break;case Ne.Level.WARNING:u?console.warn(d,"\n",i):console.warn(d);break;case Ne.Level.INFO:console.info?u?console.info(d,"\n",i):console.info(d):u?console.log(d,"\n",i):console.log(d);break;case Ne.Level.DEBUG:console.debug?u?console.debug(d,"\n",i):console.debug(d):u?console.log(d,"\n",i):console.log(d);break;case Ne.Level.TRACE:console.trace?u?console.trace(d,"\n",i):console.trace(d):u?console.log(d,"\n",i):console.log(d)}console.info&&l.supportInfo&&console.info(l.supportInfo)}return l}}function Ye(e){this.fatal=function(t,i,r,a){return Ne.fatal(t,i,r||e,a),this},this.error=function(t,i,r,a){return Ne.error(t,i,r||e,a),this},this.warning=function(t,i,r,a){return Ne.warning(t,i,r||e,a),this},this.info=function(t,i,r,a){return Ne.info(t,i,r||e,a),this},this.debug=function(t,i,r,a){return Ne.debug(t,i,r||e,a),this},this.trace=function(t,i,r,a){return Ne.trace(t,i,r||e,a),this},this.setLevel=function(t,i){return Ne.setLevel(t,i||e),this},this.getLevel=function(t){return Ne.getLevel(t||e)},this.isLoggable=function(t,i){return Ne.isLoggable(t,i||e)}}Ne.fatal=function(e,t,i,r){We(Ne.Level.FATAL,e,t,i,r)},Ne.error=function(e,t,i,r){We(Ne.Level.ERROR,e,t,i,r)},Ne.warning=function(e,t,i,r){We(Ne.Level.WARNING,e,t,i,r)},Ne.info=function(e,t,i,r){We(Ne.Level.INFO,e,t,i,r)},Ne.debug=function(e,t,i,r){We(Ne.Level.DEBUG,e,t,i,r)},Ne.trace=function(e,t,i,r){We(Ne.Level.TRACE,e,t,i,r)},Ne.setLevel=function(e,t,i){var r;(t=t||"",i&&null!=$e[t])||($e[t]=e,Object.keys(Ne.Level).forEach((function(t){Ne.Level[t]===e&&(r=t)})),We(Ne.Level.INFO,"Changing log level "+(t?"for '"+t+"' ":"")+"to "+r,"","sap.base.log"))},Ne.getLevel=function(e){return Ue(e||void 0)},Ne.isLoggable=function(e,t){return(null==e?Ne.Level.DEBUG:e)<=Ue(t||void 0)},Ne.logSupportInfo=function(e){ze=e},Ne.getLogEntries=function(){return Oe.slice()},Ne.getLogEntriesLimit=function(){return Le},Ne.setLogEntriesLimit=function(e){if(e<0)throw new Error("The log entries limit needs to be greater than or equal to 0!");Le=e,Oe.length>=Le&&je()},Ne.addLogListener=function(e){Ve().attach(this,e)},Ne.removeLogListener=function(e){Ve().detach(this,e)},Ne.getLogger=function(e,t){return isNaN(t)||null!=$e[e]||($e[e]=t),new Ye(e)};var qe=function(e,t){if(!e){var i="function"==typeof t?t():t;console&&console.assert?console.assert(e,i):Ne.debug("[Assertions] "+i)}},Ge=function(e){qe(e instanceof Array,"uniqueSort: input parameter must be an Array");var t=e.length;if(t>1){e.sort();for(var i=0,r=1;r<t;r++)e[r]!==e[i]&&(e[++i]=e[r]);++i<t&&e.splice(i,t-i)}return e},Je=function(e,t){if(qe("string"==typeof e&&e,"Metadata: sClassName must be a non-empty string"),qe("object"==typeof t,"Metadata: oClassInfo must be empty or an object"),t&&"object"==typeof t.metadata||((t={metadata:t||{},constructor:Me.get(e)}).metadata.__version=1),t.metadata.__version=t.metadata.__version||2,"function"!=typeof t.constructor)throw Error("constructor for class "+e+" must have been declared before creating metadata for it");this._sClassName=e,this._oClass=t.constructor,this.extend(t)};Je.prototype.extend=function(e){this.applySettings(e),this.afterApplySettings()},Je.prototype.applySettings=function(e){var t,i=e.metadata;if(i.baseType){var r=Me.get(i.baseType);"function"!=typeof r&&Ne.fatal("base class '"+i.baseType+"' does not exist"),r.getMetadata?(this._oParent=r.getMetadata(),qe(r===r.getMetadata().getClass(),"Metadata: oParentClass must match the class in the parent metadata")):this._oParent=new Je(i.baseType,{})}else this._oParent=void 0;for(var a in this._bAbstract=!!i.abstract,this._bFinal=!!i.final,this._sStereotype=i.stereotype||(this._oParent?this._oParent._sStereotype:"object"),this._bDeprecated=!!i.deprecated,this._aInterfaces=i.interfaces||[],this._aPublicMethods=i.publicMethods||[],this._bInterfacesUnique=!1,t=this._oClass.prototype,e)"metadata"!==a&&"constructor"!==a&&(t[a]=e[a],a.match(/^_|^on|^init$|^exit$/)||this._aPublicMethods.push(a))},Je.prototype.afterApplySettings=function(){this._oParent?(this._aAllPublicMethods=this._oParent._aAllPublicMethods.concat(this._aPublicMethods),this._bInterfacesUnique=!1):this._aAllPublicMethods=this._aPublicMethods},Je.prototype.getStereotype=function(){return this._sStereotype},Je.prototype.getName=function(){return this._sClassName},Je.prototype.getClass=function(){return this._oClass},Je.prototype.getParent=function(){return this._oParent},Je.prototype._dedupInterfaces=function(){this._bInterfacesUnique||(Ge(this._aInterfaces),Ge(this._aPublicMethods),Ge(this._aAllPublicMethods),this._bInterfacesUnique=!0)},Je.prototype.getPublicMethods=function(){return this._dedupInterfaces(),this._aPublicMethods},Je.prototype.getAllPublicMethods=function(){return this._dedupInterfaces(),this._aAllPublicMethods},Je.prototype.getInterfaces=function(){return this._dedupInterfaces(),this._aInterfaces},Je.prototype.isInstanceOf=function(e){if(this._oParent&&this._oParent.isInstanceOf(e))return!0;for(var t=this._aInterfaces,i=0,r=t.length;i<r;i++)if(t[i]===e)return!0;return!1};Object.defineProperty(Je.prototype,"_mImplementedTypes",{get:function(){if(this===Je.prototype)throw new Error("sap.ui.base.Metadata: The '_mImplementedTypes' property must not be accessed on the prototype");var e=Object.create(this._oParent?this._oParent._mImplementedTypes:null);e[this._sClassName]=!0;for(var t=this._aInterfaces,i=t.length;i-- >0;)e[t[i]]||(e[t[i]]=!0);return Object.defineProperty(this,"_mImplementedTypes",{value:Object.freeze(e),writable:!1,configurable:!1}),e},configurable:!0}),Je.prototype.isA=function(e){var t=this._mImplementedTypes;if(Array.isArray(e)){for(var i=0;i<e.length;i++)if(e[i]in t)return!0;return!1}return e in t},Je.prototype.isAbstract=function(){return this._bAbstract},Je.prototype.isFinal=function(){return this._bFinal},Je.prototype.isDeprecated=function(){return this._bDeprecated},Je.prototype.addPublicMethods=function(e){var t=e instanceof Array?e:arguments;Array.prototype.push.apply(this._aPublicMethods,t),Array.prototype.push.apply(this._aAllPublicMethods,t),this._bInterfacesUnique=!1},Je.createClass=function(e,t,i,r){"string"==typeof e&&(r=i,i=t,t=e,e=null),qe(!e||"function"==typeof e),qe("string"==typeof t&&!!t),qe(!i||"object"==typeof i),qe(!r||"function"==typeof r),"function"==typeof(r=r||Je).preprocessClassInfo&&(i=r.preprocessClassInfo(i)),(i=i||{}).metadata=i.metadata||{},i.hasOwnProperty("constructor")||(i.constructor=void 0);var a=i.constructor;qe(!a||"function"==typeof a),e?(a||(a=i.metadata.deprecated?function(){Ne.warning("Usage of deprecated class: "+t),e.apply(this,arguments)}:function(){e.apply(this,arguments)}),a.prototype=Object.create(e.prototype),a.prototype.constructor=a,i.metadata.baseType=e.getMetadata().getName()):(a=a||function(){},delete i.metadata.baseType),i.constructor=a,Me.set(t,a);var o=new r(t,i);return a.getMetadata=a.prototype.getMetadata=function(){return o},a.getMetadata().isFinal()||(a.extend=function(e,t,i){return Je.createClass(a,e,t,i||r)}),a};var Xe=Je.createClass("sap.ui.base.Object",{constructor:function(){if(!(this instanceof Xe))throw Error('Cannot instantiate object: "new" is missing!')}});Xe.prototype.destroy=function(){},Xe.prototype.getInterface=function(){var e=new Ie(this,this.getMetadata().getAllPublicMethods());return this.getInterface=function(){return e},e},Xe.defineClass=function(e,t,i){var r=new(i||Je)(e,t),a=r.getClass();return a.getMetadata=a.prototype.getMetadata=function(){return r},r.isFinal()||(a.extend=function(e,t,r){return Je.createClass(a,e,t,r||i)}),Ne.debug("defined class '"+e+"'"+(r.getParent()?" as subclass of "+r.getParent().getName():"")),r},Xe.prototype.isA=function(e){return this.getMetadata().isA(e)},Xe.isA=function(e,t){return e instanceof Xe&&e.isA(t)};var Qe=/^((?:[A-Z]{2,3}(?:-[A-Z]{3}){0,3})|[A-Z]{4}|[A-Z]{5,8})(?:-([A-Z]{4}))?(?:-([A-Z]{2}|[0-9]{3}))?((?:-[0-9A-Z]{5,8}|-[0-9][0-9A-Z]{3})*)((?:-[0-9A-WYZ](?:-[0-9A-Z]{2,8})+)*)(?:-(X(?:-[0-9A-Z]{1,8})+))?$/i,Ze=Xe.extend("sap.ui.core.Locale",{constructor:function(e){Xe.apply(this);var t=Qe.exec(e.replace(/_/g,"-"));if(null===t)throw"The given language '"+e+"' does not adhere to BCP-47.";this.sLocaleId=e,this.sLanguage=t[1]||null,this.sScript=t[2]||null,this.sRegion=t[3]||null,this.sVariant=t[4]&&t[4].slice(1)||null,this.sExtension=t[5]&&t[5].slice(1)||null,this.sPrivateUse=t[6]||null,this.sLanguage&&(this.sLanguage=this.sLanguage.toLowerCase()),this.sScript&&(this.sScript=this.sScript.toLowerCase().replace(/^[a-z]/,(function(e){return e.toUpperCase()}))),this.sRegion&&(this.sRegion=this.sRegion.toUpperCase())},getLanguage:function(){return this.sLanguage},getScript:function(){return this.sScript},getRegion:function(){return this.sRegion},getVariant:function(){return this.sVariant},getVariantSubtags:function(){return this.sVariant?this.sVariant.split("-"):[]},getExtension:function(){return this.sExtension},getExtensionSubtags:function(){return this.sExtension?this.sExtension.slice(2).split("-"):[]},getPrivateUse:function(){return this.sPrivateUse},getPrivateUseSubtags:function(){return this.sPrivateUse?this.sPrivateUse.slice(2).split("-"):[]},hasPrivateUseSubtag:function(e){return qe(e&&e.match(/^[0-9A-Z]{1,8}$/i),"subtag must be a valid BCP47 private use tag"),this.getPrivateUseSubtags().indexOf(e)>=0},toString:function(){var e=[this.sLanguage];return this.sScript&&e.push(this.sScript),this.sRegion&&e.push(this.sRegion),this.sVariant&&e.push(this.sVariant),this.sExtension&&e.push(this.sExtension),this.sPrivateUse&&e.push(this.sPrivateUse),e.join("-")},getSAPLogonLanguage:function(){var e,t=this.sLanguage||"";return t.indexOf("-")>=0&&(t=t.slice(0,t.indexOf("-"))),"zh"===(t=Ke[t]||t)&&("Hant"===this.sScript||!this.sScript&&"TW"===this.sRegion)&&(t="zf"),this.sPrivateUse&&(e=/-(saptrc|sappsd)(?:-|$)/i.exec(this.sPrivateUse))&&(t="saptrc"===e[1].toLowerCase()?"1Q":"2Q"),t.toUpperCase()}}),Ke={iw:"he",ji:"yi",in:"id",sh:"sr"};function et(e){var t=/\$([-a-z0-9A-Z._]+)(?::([^$]*))?\$/.exec(e);return t&&t[2]?t[2].split(/,/):null}var tt=et("$cldr-rtl-locales:ar,fa,he$")||[];Ze._cldrLocales=et("$cldr-locales:ar,ar_EG,ar_SA,bg,br,ca,cs,da,de,de_AT,de_CH,el,el_CY,en,en_AU,en_GB,en_HK,en_IE,en_IN,en_NZ,en_PG,en_SG,en_ZA,es,es_AR,es_BO,es_CL,es_CO,es_MX,es_PE,es_UY,es_VE,et,fa,fi,fr,fr_BE,fr_CA,fr_CH,fr_LU,he,hi,hr,hu,id,it,it_CH,ja,kk,ko,lt,lv,ms,nb,nl,nl_BE,nn,pl,pt,pt_PT,ro,ru,ru_UA,sk,sl,sr,sv,th,tr,uk,vi,zh_CN,zh_HK,zh_SG,zh_TW$"),Ze._coreI18nLocales=et("$core-i18n-locales:,ar,bg,ca,cs,da,de,el,en,es,et,fi,fr,hi,hr,hu,it,iw,ja,kk,ko,lt,lv,ms,nl,no,pl,pt,ro,ru,sh,sk,sl,sv,th,tr,uk,vi,zh_CN,zh_TW$"),Ze._impliesRTL=function(e){var t=e instanceof Ze?e:new Ze(e),i=t.getLanguage()||"";i=i&&Ke[i]||i;var r=t.getRegion()||"";return!!(r&&tt.indexOf(i+"_"+r)>=0)||tt.indexOf(i)>=0};const it={in:"sap/ui/integration/thirdparty/webcomponents/messagebundle_in.e3c5681fc8917143.json",cy:"sap/ui/integration/thirdparty/webcomponents/messagebundle_cy.facf33e921a1a902.json",es_MX:"sap/ui/integration/thirdparty/webcomponents/messagebundle_es_MX.ebf2828c83c4821a.json",fr_CA:"sap/ui/integration/thirdparty/webcomponents/messagebundle_fr_CA.fb1250c736f2ac8c.json",pt_PT:"sap/ui/integration/thirdparty/webcomponents/messagebundle_pt_PT.dcaa871d6b8eec75.json"};Ze._cldrLocales.push("cy"),g.push("cy"),Se("@ui5/webcomponents",it);let rt;let at;const ot=()=>at||(at=new Promise(async e=>{const t=c("OpenUI5Support");t&&await t.init(),await new Promise(e=>{document.body?e():document.addEventListener("DOMContentLoaded",()=>{e()})}),await U(V()),t&&t.attachListeners(),(()=>{if(document.querySelector("head>style[data-ui5-font-face]"))return;const e=c("OpenUI5Support");e&&e.isLoaded()||A('\n\t@font-face {\n\t\tfont-family: "72";\n\t\tfont-style: normal;\n\t\tfont-weight: 400;\n\t\tsrc: local("72"),\n\t\t\turl(https://ui5.sap.com/sdk/resources/sap/ui/core/themes/sap_fiori_3/fonts/72-Regular.woff2?ui5-webcomponents) format("woff2"),\n\t\t\turl(https://ui5.sap.com/sdk/resources/sap/ui/core/themes/sap_fiori_3/fonts/72-Regular.woff?ui5-webcomponents) format("woff");\n\t}\n\t\n\t@font-face {\n\t\tfont-family: "72full";\n\t\tfont-style: normal;\n\t\tfont-weight: 400;\n\t\tsrc: local(\'72-full\'),\n\t\t\turl(https://ui5.sap.com/sdk/resources/sap/ui/core/themes/sap_fiori_3/fonts/72-Regular-full.woff2?ui5-webcomponents) format("woff2"),\n\t\t\turl(https://ui5.sap.com/sdk/resources/sap/ui/core/themes/sap_fiori_3/fonts/72-Regular-full.woff?ui5-webcomponents) format("woff");\n\t\t\n\t}\n\t\n\t@font-face {\n\t\tfont-family: "72";\n\t\tfont-style: normal;\n\t\tfont-weight: 700;\n\t\tsrc: local(\'72-Bold\'),\n\t\t\turl(https://ui5.sap.com/sdk/resources/sap/ui/core/themes/sap_fiori_3/fonts/72-Bold.woff2?ui5-webcomponents) format("woff2"),\n\t\t\turl(https://ui5.sap.com/sdk/resources/sap/ui/core/themes/sap_fiori_3/fonts/72-Bold.woff?ui5-webcomponents) format("woff");\n\t}\n\t\n\t@font-face {\n\t\tfont-family: "72full";\n\t\tfont-style: normal;\n\t\tfont-weight: 700;\n\t\tsrc: local(\'72-Bold-full\'),\n\t\t\turl(https://ui5.sap.com/sdk/resources/sap/ui/core/themes/sap_fiori_3/fonts/72-Bold-full.woff2?ui5-webcomponents) format("woff2"),\n\t\t\turl(https://ui5.sap.com/sdk/resources/sap/ui/core/themes/sap_fiori_3/fonts/72-Bold-full.woff?ui5-webcomponents) format("woff");\n\t}\n',{"data-ui5-font-face":""})})(),document.querySelector("head>style[data-ui5-system-css-vars]")||A('\n\t:root {\n\t\t--_ui5_content_density:cozy;\n\t}\n\t\n\t[data-ui5-compact-size],\n\t.ui5-content-density-compact,\n\t.sapUiSizeCompact {\n\t\t--_ui5_content_density:compact;\n\t}\n\t\n\t[dir="rtl"] {\n\t\t--_ui5_dir:rtl;\n\t}\n\t\n\t[dir="ltr"] {\n\t\t--_ui5_dir:ltr;\n\t}\n',{"data-ui5-system-css-vars":""}),await(rt||(rt=new Promise(e=>{window.WebComponents&&!window.WebComponents.ready&&window.WebComponents.waitFor?window.WebComponents.waitFor(()=>{e()}):e()}),rt)),e()}),at);class nt{static isValid(e){}static generataTypeAcessors(e){Object.keys(e).forEach(t=>{Object.defineProperty(this,t,{get:()=>e[t]})})}}const st=new Map,lt=new Map,ut=e=>{if(!st.has(e)){const t=ct(e.split("-"));st.set(e,t)}return st.get(e)},dt=e=>{if(!lt.has(e)){const t=e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();lt.set(e,t)}return lt.get(e)},ct=e=>e.map((e,t)=>0===t?e.toLowerCase():e.charAt(0).toUpperCase()+e.slice(1).toLowerCase()).join(""),ht=e=>e&&e instanceof HTMLElement&&"slot"===e.localName;class pt{constructor(e){this.metadata=e}static validatePropertyValue(e,t){return t.multiple?e.map(e=>_t(e,t)):_t(e,t)}static validateSlotValue(e,t){return mt(e,t)}getTag(){return this.metadata.tag}getAltTag(){return this.metadata.altTag}hasAttribute(e){const t=this.getProperties()[e];return t.type!==Object&&!t.noAttribute}getPropertiesList(){return Object.keys(this.getProperties())}getAttributesList(){return this.getPropertiesList().filter(this.hasAttribute,this).map(dt)}getSlots(){return this.metadata.slots||{}}canSlotText(){const e=this.getSlots().default;return e&&e.type===Node}hasSlots(){return!!Object.entries(this.getSlots()).length}hasIndividualSlots(){return this.slotsAreManaged()&&Object.entries(this.getSlots()).some(([e,t])=>t.individualSlots)}slotsAreManaged(){return!!this.metadata.managedSlots}getProperties(){return this.metadata.properties||{}}getEvents(){return this.metadata.events||{}}isLanguageAware(){return!!this.metadata.languageAware}}const _t=(e,t)=>{const i=t.type;return i===Boolean?"boolean"==typeof e&&e:i===String?"string"==typeof e||null==e?e:e.toString():i===Object?"object"==typeof e?e:t.defaultValue:((e,t,i=!1)=>{if("function"!=typeof e||"function"!=typeof t)return!1;if(i&&e===t)return!0;let r=e;do{r=Object.getPrototypeOf(r)}while(null!==r&&r!==t);return r===t})(i,nt)?i.isValid(e)?e:t.defaultValue:void 0},mt=(e,t)=>{if(null===e)return e;return(e=>ht(e)?e.assignedNodes({flatten:!0}).filter(e=>e instanceof HTMLElement):[e])(e).forEach(e=>{if(!(e instanceof t.type))throw new Error(`${e} is not of type ${t.type}`)}),e},gt=(e,t=document.body)=>{let i=document.querySelector(e);return i||(i=document.createElement(e),t.insertBefore(i,t.firstChild))},ft=()=>gt("ui5-static-area");class vt extends HTMLElement{constructor(){super()}get isUI5Element(){return!0}destroy(){const e=document.querySelector(this.tagName.toLowerCase());e.parentElement.removeChild(e)}}customElements.get("ui5-static-area")||customElements.define("ui5-static-area",vt);class yt{constructor(e){this.ui5ElementContext=e,this._rendered=!1}isRendered(){return this._rendered}_updateFragment(){const e=this.ui5ElementContext.constructor.staticAreaTemplate(this.ui5ElementContext),t=!window.ShadyDOM&&this.ui5ElementContext.constructor.staticAreaStyles;this.staticAreaItemDomRef||(this.staticAreaItemDomRef=document.createElement("ui5-static-area-item"),this.staticAreaItemDomRef.attachShadow({mode:"open"}),this.staticAreaItemDomRef.classList.add(this.ui5ElementContext._id),ft().appendChild(this.staticAreaItemDomRef),this._rendered=!0),this.ui5ElementContext.constructor.render(e,this.staticAreaItemDomRef.shadowRoot,t,{eventContext:this.ui5ElementContext})}_removeFragmentFromStaticArea(){if(!this.staticAreaItemDomRef)return;const e=ft();e.removeChild(this.staticAreaItemDomRef),this.staticAreaItemDomRef=null,e.childElementCount<1&&ft().destroy()}_updateContentDensity(e){this.staticAreaItemDomRef&&(e?(this.staticAreaItemDomRef.classList.add("sapUiSizeCompact"),this.staticAreaItemDomRef.classList.add("ui5-content-density-compact")):(this.staticAreaItemDomRef.classList.remove("sapUiSizeCompact"),this.staticAreaItemDomRef.classList.remove("ui5-content-density-compact")))}async getDomRef(){return this._rendered&&this.staticAreaItemDomRef||this._updateFragment(),await he.whenDOMUpdated(),this.staticAreaItemDomRef.shadowRoot}}class bt extends HTMLElement{constructor(){super()}get isUI5Element(){return!0}}customElements.get("ui5-static-area-item")||customElements.define("ui5-static-area-item",bt);const wt=window,kt=new WeakMap;class xt{constructor(){throw new Error("Static class")}static observeDOMNode(e,t,i){let r=kt.get(e);if(r)throw new Error("A mutation/ShadyDOM observer is already assigned to this node.");wt.ShadyDOM?r=wt.ShadyDOM.observeChildren(e,t):(r=new MutationObserver(t),r.observe(e,i)),kt.set(e,r)}static unobserveDOMNode(e){const t=kt.get(e);t&&(t instanceof MutationObserver?t.disconnect():wt.ShadyDOM.unobserveChildren(t),kt.delete(e))}}const Ct=["value-changed"];let St;const Tt=()=>(void 0===St&&(b(),St=v.noConflict),St),Dt=e=>{const t=Tt();return!(e=>Ct.includes(e))(e)&&(!0===t||!(e=>{const t=Tt();return!(t.events&&t.events.includes&&t.events.includes(e))})(e))};var Pt=e=>{const t=/\$([-a-z0-9A-Z._]+)(?::([^$]*))?\$/.exec(e);return t&&t[2]?t[2].split(/,/):null};const It={iw:"he",ji:"yi",in:"id",sh:"sr"},Mt=Pt("$cldr-rtl-locales:ar,fa,he$")||[],Bt=()=>{const e=(b(),v.rtl);return null!==e?!!e:(e=>(e=e&&It[e]||e,Mt.indexOf(e)>=0))(pe()||J())},Et=t=>{const i=(t=>e[t]?e[t].join(""):"")(t.getMetadata().getTag())||"";let r=t.styles;return Array.isArray(r)&&(r=r.join(" ")),`${r} ${i}`},Ft=new Map,At=(e,t,i,r)=>{const a=i+t.length,o=e.charAt(a),n=e.substring(0,i)+r;if("("===o){const t=((e,t)=>{let i=1;for(let r=t+1;r<e.length;r++){const t=e.charAt(r);if("("===t?i++:")"===t&&i--,0===i)return r}})(e,a);return n+e.substring(a+1,t)+e.substring(t+1)}return n+e.substring(a)},Nt=(e,t)=>(e=((e,t,i)=>{let r=e.indexOf(t);for(;-1!==r;)r=(e=At(e,t,r,i)).indexOf(t);return e})(e=e.trim(),"::slotted","")).startsWith(":host")?At(e,":host",0,t):e.match(/^[@0-9]/)||"to"===e||"to{"===e||e.match(new RegExp(`^${t}[^a-zA-Z0-9-]`))?e:`${t} ${e}`,Ot=(e,t)=>{e=(e=e.replace(/\n/g," ")).replace(/([{}])/g,"$1\n");let i="";return e.split("\n").forEach(e=>{if(e.match(/{$/)){const i=e.split(",");e=i.map(e=>Nt(e,t)).join(",")}i=`${i}${e}`}),i},$t=new Set,Lt=e=>{const t=e.getMetadata().getTag();if($t.has(t))return;let i=Et(e);i=Ot(i,t);let r=(e=>{let t=e.staticAreaStyles;return Array.isArray(t)&&(t=t.join(" ")),t})(e);r&&(r=Ot(r,"ui5-static-area-item"),i=`${i} ${r}`),A(i,{"data-ui5-element-styles":t,disabled:"disabled"}),L()&&($||($=window.setTimeout(R,0))),$t.add(t)};class Rt extends nt{static isValid(e){return Number.isInteger(e)}}class zt extends nt{static isValid(e){return Number(e)===e}}const Ht=["disabled","title","hidden"],Ut=e=>{if(Ht.includes(e)||e.startsWith("aria"))return!0;return![HTMLElement,Element,Node].some(t=>t.prototype.hasOwnProperty(e))},jt={events:{"_property-change":{}}};let Vt=0;const Wt=new Map;class Yt extends HTMLElement{constructor(){let e;super(),this._initializeState(),this._upgradeAllProperties(),this._initializeContainers(),this._upToDate=!1,this._inDOM=!1,this._fullyConnected=!1,this._domRefReadyPromise=new Promise(t=>{e=t}),this._domRefReadyPromise._deferredResolve=e,this._monitoredChildProps=new Map,this._firePropertyChange=!1,this._shouldInvalidateParent=!1}get _id(){return this.__id||(this.__id="ui5wc_"+ ++Vt),this.__id}_initializeContainers(){const e=this.constructor._needsShadowDOM(),t=this.constructor._needsStaticArea();if(e&&(this.attachShadow({mode:"open"}),window.ShadyDOM&&Lt(this.constructor),document.adoptedStyleSheets)){const e=(e=>{const t=e.getMetadata().getTag(),i=Et(e);if(Ft.has(t))return Ft.get(t);const r=new CSSStyleSheet;return r.replaceSync(i),Ft.set(t,r),r})(this.constructor);this.shadowRoot.adoptedStyleSheets=[e]}t&&(this.staticAreaItem=new yt(this))}async connectedCallback(){const e=this.constructor._needsShadowDOM(),t=this.constructor.getMetadata().slotsAreManaged();if(this._inDOM=!0,t&&(this._startObservingDOMChildren(),await this._processChildren()),e){if(this.shadowRoot||await Promise.resolve(),!this._inDOM)return;he.register(this),he.renderImmediately(this),this._domRefReadyPromise._deferredResolve(),this._fullyConnected=!0,"function"==typeof this.onEnterDOM&&this.onEnterDOM()}}disconnectedCallback(){const e=this.constructor._needsShadowDOM(),t=this.constructor._needsStaticArea(),i=this.constructor.getMetadata().slotsAreManaged();this._inDOM=!1,i&&this._stopObservingDOMChildren(),e&&(he.deregister(this),this._fullyConnected&&("function"==typeof this.onExitDOM&&this.onExitDOM(),this._fullyConnected=!1)),t&&this.staticAreaItem._removeFragmentFromStaticArea(),he.cancelRender(this)}_startObservingDOMChildren(){if(!this.constructor.getMetadata().hasSlots())return;const e={childList:!0,subtree:this.constructor.getMetadata().canSlotText(),characterData:!0};xt.observeDOMNode(this,this._processChildren.bind(this),e)}_stopObservingDOMChildren(){xt.unobserveDOMNode(this)}async _processChildren(){this.constructor.getMetadata().hasSlots()&&await this._updateSlots()}async _updateSlots(){const e=this.constructor.getMetadata().getSlots(),t=this.constructor.getMetadata().canSlotText(),i=Array.from(t?this.childNodes:this.children);for(const[t,i]of Object.entries(e))this._clearSlot(t,i);const r=new Map,a=new Map,o=i.map(async(t,i)=>{const o=this.constructor._getSlotName(t),n=e[o];if(void 0===n){const i=Object.keys(e).join(", ");return void console.warn(`Unknown slotName: ${o}, ignoring`,t,"Valid values are: "+i)}if(n.individualSlots){const e=(r.get(o)||0)+1;r.set(o,e),t._individualSlot=`${o}-${e}`}if(t instanceof HTMLElement){const e=t.localName;if(e.includes("-")){if(!window.customElements.get(e)){const t=window.customElements.whenDefined(e);let i=Wt.get(e);i||(i=new Promise(e=>setTimeout(e,1e3)),Wt.set(e,i)),await Promise.race([t,i])}window.customElements.upgrade(t)}}(t=this.constructor.getMetadata().constructor.validateSlotValue(t,n)).isUI5Element&&n.listenFor&&this._attachChildPropertyUpdated(t,n.listenFor),t.isUI5Element&&n.invalidateParent&&(t._shouldInvalidateParent=!0),ht(t)&&this._attachSlotChange(t);const s=n.propertyName||o;a.has(s)?a.get(s).push({child:t,idx:i}):a.set(s,[{child:t,idx:i}])});await Promise.all(o),a.forEach((e,t)=>{this._state[t]=e.sort((e,t)=>e.idx-t.idx).map(e=>e.child)}),this._invalidate("slots")}_clearSlot(e,t){const i=t.propertyName||e;let r=this._state[i];Array.isArray(r)||(r=[r]),r.forEach(e=>{e&&e.isUI5Element&&(this._detachChildPropertyUpdated(e),e._shouldInvalidateParent=!1),ht(e)&&this._detachSlotChange(e)}),this._state[i]=[],this._invalidate(i,[])}attributeChangedCallback(e,t,i){const r=this.constructor.getMetadata().getProperties(),a=e.replace(/^ui5-/,""),o=ut(a);if(r.hasOwnProperty(o)){const e=r[o].type;e===Boolean&&(i=null!==i),e===Rt&&(i=parseInt(i)),e===zt&&(i=parseFloat(i)),this[o]=i}}_updateAttribute(e,t){if(!this.constructor.getMetadata().hasAttribute(e))return;if("object"==typeof t)return;const i=dt(e),r=this.getAttribute(i);"boolean"==typeof t?!0===t&&null===r?this.setAttribute(i,""):!1===t&&null!==r&&this.removeAttribute(i):r!==t&&this.setAttribute(i,t)}_upgradeProperty(e){if(this.hasOwnProperty(e)){const t=this[e];delete this[e],this[e]=t}}_upgradeAllProperties(){this.constructor.getMetadata().getPropertiesList().forEach(this._upgradeProperty,this)}_initializeState(){const e=this.constructor._getDefaultState();this._state=Object.assign({},e)}_attachChildPropertyUpdated(e,t){const i=e.constructor.getMetadata(),r=this.constructor._getSlotName(e),a=i.getProperties();let o=[],n=[];Array.isArray(t)?o=t:(o=Array.isArray(t.props)?t.props:Object.keys(a),n=Array.isArray(t.exclude)?t.exclude:[]),this._monitoredChildProps.has(r)||this._monitoredChildProps.set(r,{observedProps:o,notObservedProps:n}),e.addEventListener("_property-change",this._invalidateParentOnPropertyUpdate),e._firePropertyChange=!0}_detachChildPropertyUpdated(e){e.removeEventListener("_property-change",this._invalidateParentOnPropertyUpdate),e._firePropertyChange=!1}_propertyChange(e,t){this._updateAttribute(e,t),this._firePropertyChange&&this.dispatchEvent(new CustomEvent("_property-change",{detail:{name:e,newValue:t},composed:!1,bubbles:!0}))}_invalidateParentOnPropertyUpdate(e){const t=this.parentNode;if(!t)return;const i=t.constructor._getSlotName(this),r=t._monitoredChildProps.get(i);if(!r)return;const{observedProps:a,notObservedProps:o}=r;a.includes(e.detail.name)&&!o.includes(e.detail.name)&&t._invalidate("_parent_",this)}_attachSlotChange(e){this._invalidateOnSlotChange||(this._invalidateOnSlotChange=()=>{this._invalidate("slotchange")}),e.addEventListener("slotchange",this._invalidateOnSlotChange)}_detachSlotChange(e){e.removeEventListener("slotchange",this._invalidateOnSlotChange)}_invalidate(){this._shouldInvalidateParent&&this.parentNode._invalidate(),this._upToDate&&this.getDomRef()&&!this._suppressInvalidation&&(this._upToDate=!1,he.renderDeferred(this))}_render(){const e=this.constructor.getMetadata().hasIndividualSlots();this._suppressInvalidation=!0,"function"==typeof this.onBeforeRendering&&this.onBeforeRendering(),this._onComponentStateFinalized&&this._onComponentStateFinalized(),delete this._suppressInvalidation,this._upToDate=!0,this._updateShadowRoot(),this._shouldUpdateFragment()&&this.staticAreaItem._updateFragment(this),e&&this._assignIndividualSlotsToChildren(),"function"==typeof this.onAfterRendering&&this.onAfterRendering()}_updateShadowRoot(){if(!this.constructor._needsShadowDOM())return;let e;const t=this.constructor.template(this);document.adoptedStyleSheets||window.ShadyDOM||(e=Et(this.constructor)),this.constructor.render(t,this.shadowRoot,e,{eventContext:this})}_assignIndividualSlotsToChildren(){Array.from(this.children).forEach(e=>{e._individualSlot&&e.setAttribute("slot",e._individualSlot)})}_waitForDomRef(){return this._domRefReadyPromise}getDomRef(){if(this.shadowRoot&&0!==this.shadowRoot.children.length)return 1===this.shadowRoot.children.length?this.shadowRoot.children[0]:this.shadowRoot.children[1]}getFocusDomRef(){const e=this.getDomRef();if(e){return e.querySelector("[data-sap-focus-ref]")||e}}getStableDomRef(e){return this.getDomRef().querySelector(`[data-ui5-stable=${e}]`)}async focus(){await this._waitForDomRef();const e=this.getFocusDomRef();e&&"function"==typeof e.focus&&e.focus()}fireEvent(e,t,i=!1,r=!0){const a=this._fireEvent(e,t,i,r),o=ut(e);return o!==e?a&&this._fireEvent(o,t,i):a}_fireEvent(e,t,i=!1,r=!0){let a=!0;const o=new CustomEvent("ui5-"+e,{detail:t,composed:!1,bubbles:r,cancelable:i});if(a=this.dispatchEvent(o),Dt(e))return a;const n=new CustomEvent(e,{detail:t,composed:!1,bubbles:r,cancelable:i});return this.dispatchEvent(n)&&a}getSlottedNodes(e){return this[e].reduce((e,t)=>ht(t)?e.concat(t.assignedNodes({flatten:!0}).filter(e=>e instanceof HTMLElement)):e.concat([t]),[])}get isCompact(){return"compact"===getComputedStyle(this).getPropertyValue("--_ui5_content_density")}get effectiveDir(){var e;e=this.constructor,ae.add(e);const t=window.document,i=["ltr","rtl"],r=getComputedStyle(this).getPropertyValue("--_ui5_dir");return i.includes(r)?r:i.includes(this.dir)?this.dir:i.includes(t.documentElement.dir)?t.documentElement.dir:i.includes(t.body.dir)?t.body.dir:Bt()?"rtl":void 0}updateStaticAreaItemContentDensity(){this.staticAreaItem&&this.staticAreaItem._updateContentDensity(this.isCompact)}get isUI5Element(){return!0}static get observedAttributes(){return this.getMetadata().getAttributesList()}static _getSlotName(e){if(!(e instanceof HTMLElement))return"default";const t=e.getAttribute("slot");if(t){const e=t.match(/^(.+?)-\d+$/);return e?e[1]:t}return"default"}static _needsShadowDOM(){return!!this.template}_shouldUpdateFragment(){return this.constructor._needsStaticArea()&&this.staticAreaItem.isRendered()}static _needsStaticArea(){return"function"==typeof this.staticAreaTemplate}getStaticAreaItemDomRef(){return this.staticAreaItem.getDomRef()}static _getDefaultState(){if(this._defaultState)return this._defaultState;const e=this.getMetadata(),t={},i=e.slotsAreManaged(),r=e.getProperties();for(const e in r){const i=r[e].type,a=r[e].defaultValue;i===Boolean?(t[e]=!1,void 0!==a&&console.warn("The 'defaultValue' metadata key is ignored for all booleans properties, they would be initialized with 'false' by default")):r[e].multiple?t[e]=[]:t[e]=i===Object?"defaultValue"in r[e]?r[e].defaultValue:{}:i===String?"defaultValue"in r[e]?r[e].defaultValue:"":a}if(i){const i=e.getSlots();for(const[e,r]of Object.entries(i)){t[r.propertyName||e]=[]}}return this._defaultState=t,t}static _generateAccessors(){const e=this.prototype,t=this.getMetadata().slotsAreManaged(),i=this.getMetadata().getProperties();for(const[t,r]of Object.entries(i)){if(!Ut(t))throw new Error(`"${t}" is not a valid property name. Use a name that does not collide with DOM APIs`);if(r.type===Boolean&&r.defaultValue)throw new Error(`Cannot set a default value for property "${t}". All booleans are false by default.`);if(r.type===Array)throw new Error(`Wrong type for property "${t}". Properties cannot be of type Array - use "multiple: true" and set "type" to the single value type, such as "String", "Object", etc...`);if(r.type===Object&&r.defaultValue)throw new Error(`Cannot set a default value for property "${t}". All properties of type "Object" are empty objects by default.`);if(r.multiple&&r.defaultValue)throw new Error(`Cannot set a default value for property "${t}". All multiple properties are empty arrays by default.`);Object.defineProperty(e,t,{get(){if(void 0!==this._state[t])return this._state[t];const e=r.defaultValue;return r.type!==Boolean&&(r.type===String?e:r.multiple?[]:e)},set(e){e=this.constructor.getMetadata().constructor.validatePropertyValue(e,r);this._state[t]!==e&&(this._state[t]=e,this._invalidate(t,e),this._propertyChange(t,e))}})}if(t){const t=this.getMetadata().getSlots();for(const[i,r]of Object.entries(t)){if(!Ut(i))throw new Error(`"${i}" is not a valid property name. Use a name that does not collide with DOM APIs`);const t=r.propertyName||i;Object.defineProperty(e,t,{get(){return void 0!==this._state[t]?this._state[t]:[]},set(){throw new Error("Cannot set slots directly, use the DOM APIs")}})}}}static get metadata(){return jt}static get styles(){return""}static get staticAreaStyles(){return""}static async define(){await ot(),this.onDefine&&await this.onDefine();const e=this.getMetadata().getTag(),t=this.getMetadata().getAltTag(),i=(e=>K.has(e))(e),r=customElements.get(e);if(r&&!i)(e=>{ee.add(e),te||(te=setTimeout(()=>{re(),te=void 0},1e3))})(e);else if(!r&&(this._generateAccessors(),ie(e),window.customElements.define(e,this),t&&!customElements.get(t))){class e extends(this){}ie(t),window.customElements.define(t,e)}return this}static getMetadata(){if(this.hasOwnProperty("_metadata"))return this._metadata;const e=[this.metadata];let t=this;for(;t!==Yt;)t=Object.getPrototypeOf(t),e.unshift(t.metadata);const i=u({},...e);return this._metadata=new pt(i),this._metadata}}
|
|
1
|
+
const e={};var t={},i=t.hasOwnProperty,r=t.toString,a=i.toString,o=a.call(Object),n=function(e){var t,n;return!(!e||"[object Object]"!==r.call(e))&&(!(t=Object.getPrototypeOf(e))||"function"==typeof(n=i.call(t,"constructor")&&t.constructor)&&a.call(n)===o)},s=Object.create(null),l=function(){var e,t,i,r,a,o,u=arguments[2]||{},d=3,c=arguments.length,h=arguments[0]||!1,p=arguments[1]?void 0:s;for("object"!=typeof u&&"function"!=typeof u&&(u={});d<c;d++)if(null!=(a=arguments[d]))for(r in a)e=u[r],i=a[r],"__proto__"!==r&&u!==i&&(h&&i&&(n(i)||(t=Array.isArray(i)))?(t?(t=!1,o=e&&Array.isArray(e)?e:[]):o=e&&n(e)?e:{},u[r]=l(h,arguments[1],o,i)):i!==p&&(u[r]=i));return u},u=function(){var e=[!0,!1];return e.push.apply(e,arguments),l.apply(null,e)};const d=new Map,c=e=>d.get(e),h={default:"en",all:["ar","ar_EG","ar_SA","bg","ca","cs","da","de","de_AT","de_CH","el","el_CY","en","en_AU","en_GB","en_HK","en_IE","en_IN","en_NZ","en_PG","en_SG","en_ZA","es","es_AR","es_BO","es_CL","es_CO","es_MX","es_PE","es_UY","es_VE","et","fa","fi","fr","fr_BE","fr_CA","fr_CH","fr_LU","he","hi","hr","hu","id","it","it_CH","ja","kk","ko","lt","lv","ms","nb","nl","nl_BE","pl","pt","pt_PT","ro","ru","ru_UA","sk","sl","sr","sv","th","tr","uk","vi","zh_CN","zh_HK","zh_SG","zh_TW"]},p={default:"sap_fiori_3",all:["sap_fiori_3","sap_fiori_3_dark","sap_belize","sap_belize_hcb","sap_belize_hcw","sap_fiori_3_hcb","sap_fiori_3_hcw"]}.default,_={default:"en",all:["ar","bg","ca","cs","da","de","el","en","es","et","fi","fr","hi","hr","hu","it","iw","ja","kk","ko","lt","lv","ms","nl","no","pl","pt","ro","ru","sh","sk","sl","sv","th","tr","uk","vi","zh_CN","zh_TW"]}.default,m=h.default,g=h.all;let f=!1,v={animationMode:"full",theme:p,rtl:null,language:null,calendarType:null,noConflict:!1,formatSettings:{}};const y=new Map;y.set("true",!0),y.set("false",!1);const b=()=>{f||((()=>{const e=document.querySelector("[data-ui5-config]")||document.querySelector("[data-id='sap-ui-config']");let t;if(e){try{t=JSON.parse(e.innerHTML)}catch(e){console.warn("Incorrect data-sap-ui-config format. Please use JSON")}t&&(v=u(v,t))}})(),new URLSearchParams(window.location.search).forEach((e,t)=>{if(!t.startsWith("sap-ui"))return;const i=e.toLowerCase(),r=t.split("sap-ui-")[1];y.has(e)&&(e=y.get(i)),v[r]=e}),(()=>{const e=c("OpenUI5Support");if(!e||!e.isLoaded())return;const t=e.getConfigurationSettingsObject();v=u(v,t)})(),f=!0)},w=new Map,k=new Map,x=new Map,C=async e=>{w.get(e)||w.set(e,fetch(e));const t=await w.get(e);return x.get(e)||x.set(e,t.text()),x.get(e)},S=async e=>{w.get(e)||w.set(e,fetch(e));const t=await w.get(e);return k.get(e)||k.set(e,t.json()),k.get(e)},T=new Map,D=new Map,P=new Set,I=new Set,M=(e,t,i)=>{i._?D.set(`${e}_${t}`,i._):i.includes(":root")||""===i?D.set(`${e}_${t}`,i):T.set(`${e}_${t}`,i),P.add(e),I.add(t)},B=async(e,t)=>{const i=D.get(`${e}_${t}`);if(void 0!==i)return i;if(!I.has(t)){const t=[...I.values()].join(", ");return console.warn(`You have requested a non-registered theme - falling back to ${p}. Registered themes are: ${t}`),D.get(`${e}_${p}`)}const r=await E(e,t),a=r._||r;return D.set(`${e}_${t}`,a),a},E=async(e,t)=>{let i=T.get(`${e}_${t}`);if(!i)throw new Error(`You have to import the ${e}/dist/Assets.js module to switch to additional themes`);return!i.startsWith("/")&&window.sap&&window.sap.ui&&(i=`${window.sap.ui.require.toUrl("")}/${i}`),".css"===(e=>{const t=e.lastIndexOf(".");return t<1?"":e.slice(t)})(i)?C(i):S(i)},F=()=>P,A=(e,t={})=>{const i=document.createElement("style");return i.type="text/css",Object.entries(t).forEach(e=>i.setAttribute(...e)),i.textContent=e,document.head.appendChild(i),i},N=(e,t)=>{const i=document.head.querySelector(`style[data-ui5-theme-properties="${t}"]`);if(i)i.textContent=e||"";else{A(e,{"data-ui5-theme-properties":t})}},O=()=>{const e=(()=>{let e=document.querySelector(".sapThemeMetaData-Base-baseLib");if(e)return getComputedStyle(e).backgroundImage;e=document.createElement("span"),e.style.display="none",e.classList.add("sapThemeMetaData-Base-baseLib"),document.body.appendChild(e);const t=getComputedStyle(e).backgroundImage;return document.body.removeChild(e),t})();if(!e||"none"===e)return;return(e=>{let t,i;try{t=e.Path.match(/\.([^.]+)\.css_variables$/)[1],i=e.Extends[0]}catch(t){return void console.warn("Malformed theme metadata Object",e)}return{themeName:t,baseThemeName:i}})((e=>{const t=/\(["']?data:text\/plain;utf-8,(.*?)['"]?\)$/i.exec(e);if(t&&t.length>=2){let e=t[1];if(e=e.replace(/\\"/g,'"'),"{"!==e.charAt(0)&&"}"!==e.charAt(e.length-1))try{e=decodeURIComponent(e)}catch(e){return void console.warn("Malformed theme metadata string, unable to decodeURIComponent")}try{return JSON.parse(e)}catch(e){console.warn("Malformed theme metadata string, unable to parse JSON")}}})(e))};let $;const L=()=>!!window.CSSVarsPonyfill,R=()=>{$=void 0,window.CSSVarsPonyfill.cssVars({rootElement:document.head,silent:!0})},z="@ui5/webcomponents-theme-base",H=async e=>{if(!F().has(z))return;const t=await B(z,e);N(t,z)},U=async e=>{const t=(()=>{const e=O();if(e)return e;const t=c("OpenUI5Support");if(t){if(t.cssVariablesLoaded())return{themeName:t.getConfigurationSettingsObject().theme}}})();t&&e===t.themeName?(()=>{const e=document.head.querySelector(`style[data-ui5-theme-properties="${z}"]`);e&&e.parentElement.removeChild(e)})():await H(e);const i=(e=>I.has(e))(e)?e:t&&t.baseThemeName;await(async e=>{F().forEach(async t=>{if(t===z)return;const i=await B(t,e);N(i,t)})})(i),L()&&R()};let j;const V=()=>(void 0===j&&(b(),j=v.theme),j),W=async e=>{j!==e&&(j=e,await U(j))};((t,i,...r)=>{if(r.length)throw new Error("addCustomCSS no longer accepts theme specific CSS. new signature is `addCustomCSS(tag, css)`");e[t]||(e[t]=[]),e[t].push(i)})("ui5-select","\n\t.ui5-select-root ui5-li:first-child {\n\t\tdisplay: none;\n\t}\n");const Y=getComputedStyle(document.documentElement);if(sap&&sap.ui&&sap.ui.getCore&&(!!Y.getPropertyValue("--sapFontFamily")||!!Y.getPropertyValue("--sapBrandColor")||!!Y.getPropertyValue("--sapBaseColor"))){const e=sap.ui.getCore().getConfiguration().getTheme();W(e)}const q=window.sap,G=q&&q.ui&&"function"==typeof q.ui.getCore&&q.ui.getCore();((e,t)=>{d.set(e,t)})("OpenUI5Support",{isLoaded:()=>!!G,init:()=>G?new Promise(e=>{G.attachInit(()=>{q.ui.require(["sap/ui/core/LocaleData"],e)})}):Promise.resolve(),getConfigurationSettingsObject:()=>{if(!G)return;const e=G.getConfiguration(),t=q.ui.require("sap/ui/core/LocaleData");return{animationMode:e.getAnimationMode(),language:e.getLanguage(),theme:e.getTheme(),rtl:e.getRTL(),calendarType:e.getCalendarType(),formatSettings:{firstDayOfWeek:t?t.getInstance(e.getLocale()).getFirstDayOfWeek():void 0}}},getLocaleDataObject:()=>{if(!G)return;const e=G.getConfiguration();return q.ui.require("sap/ui/core/LocaleData").getInstance(e.getLocale())._get()},attachListeners:()=>{G&&(()=>{const e=G.getConfiguration();G.attachThemeChanged(async()=>{await W(e.getTheme())})})()},cssVariablesLoaded:()=>{if(!G)return;const e=[...document.head.children].find(e=>"sap-ui-theme-sap.ui.core"===e.id);return e?!!e.href.match(/\/css(-|_)variables\.css/):void 0}});var J=()=>{const e=navigator.languages;return e&&e[0]||navigator.language||navigator.userLanguage||navigator.browserLanguage||_};class X{constructor(){this._eventRegistry={}}attachEvent(e,t){const i=this._eventRegistry;let r=i[e];Array.isArray(r)||(i[e]=[],r=i[e]),r.push({function:t})}detachEvent(e,t){const i=this._eventRegistry;let r=i[e];r&&(r=r.filter(e=>e.function!==t),0===r.length&&delete i[e])}fireEvent(e,t){const i=this._eventRegistry[e];return i?i.map(e=>e.function.call(this,t)):[]}isHandlerAttached(e,t){const i=this._eventRegistry[e];if(!i)return!1;for(let e=0;e<i.length;e++){if(i[e].function===t)return!0}return!1}hasListeners(e){return!!this._eventRegistry[e]}}const Q=new X;const Z=e=>{const t=[];return e.forEach(e=>{t.push(e)}),t},K=new Set,ee=new Set;let te;const ie=e=>{K.add(e)},re=()=>{console.warn("The following tags have already been defined by a different UI5 Web Components version: "+Z(ee).join(", ")),ee.clear()},ae=new Set,oe=new Set,ne=new class{constructor(){this.list=[],this.lookup=new Set}add(e){this.lookup.has(e)||(this.list.push(e),this.lookup.add(e))}remove(e){this.lookup.has(e)&&(this.list=this.list.filter(t=>t!==e),this.lookup.delete(e))}shift(){const e=this.list.shift();if(e)return this.lookup.delete(e),e}isEmpty(){return 0===this.list.length}isAdded(e){return this.lookup.has(e)}process(e){let t;const i=new Map;for(t=this.shift();t;){const r=i.get(t)||0;if(r>10)throw new Error("Web component processed too many times this task, max allowed is: 10");e(t),i.set(t,r+1),t=this.shift()}}};let se,le,ue,de,ce;class he{constructor(){throw new Error("Static class")}static async renderDeferred(e){ne.add(e),await he.scheduleRenderTask()}static renderImmediately(e){e._render()}static cancelRender(e){ne.remove(e)}static async scheduleRenderTask(){de||(de=new Promise(e=>{window.requestAnimationFrame(()=>{ne.process(e=>e._render()),de=null,e(),ue||(ue=setTimeout(()=>{ue=void 0,ne.isEmpty()&&he._resolveTaskPromise()},200))})})),await de}static whenDOMUpdated(){return se||(se=new Promise(e=>{le=e,window.requestAnimationFrame(()=>{ne.isEmpty()&&(se=void 0,e())})}),se)}static whenAllCustomElementsAreDefined(){const e=Z(K).map(e=>customElements.whenDefined(e));return Promise.all(e)}static async whenFinished(){await he.whenAllCustomElementsAreDefined(),await he.whenDOMUpdated()}static _resolveTaskPromise(){ne.isEmpty()&&le&&(le.call(this),le=void 0,se=void 0)}static register(e){oe.add(e)}static deregister(e){oe.delete(e)}static reRenderAllUI5Elements(e){oe.forEach(t=>{const i=(r=t.constructor,ae.has(r));var r;const a=t.constructor.getMetadata().isLanguageAware();(!e||e.rtlAware&&i||e.languageAware&&a)&&he.renderDeferred(t)})}}const pe=()=>(void 0===ce&&(b(),ce=v.language),ce),_e=/^((?:[A-Z]{2,3}(?:-[A-Z]{3}){0,3})|[A-Z]{4}|[A-Z]{5,8})(?:-([A-Z]{4}))?(?:-([A-Z]{2}|[0-9]{3}))?((?:-[0-9A-Z]{5,8}|-[0-9][0-9A-Z]{3})*)((?:-[0-9A-WYZ](?:-[0-9A-Z]{2,8})+)*)(?:-(X(?:-[0-9A-Z]{1,8})+))?$/i;class me{constructor(e){const t=_e.exec(e.replace(/_/g,"-"));if(null===t)throw new Error(`The given language ${e} does not adhere to BCP-47.`);this.sLocaleId=e,this.sLanguage=t[1]||null,this.sScript=t[2]||null,this.sRegion=t[3]||null,this.sVariant=t[4]&&t[4].slice(1)||null,this.sExtension=t[5]&&t[5].slice(1)||null,this.sPrivateUse=t[6]||null,this.sLanguage&&(this.sLanguage=this.sLanguage.toLowerCase()),this.sScript&&(this.sScript=this.sScript.toLowerCase().replace(/^[a-z]/,e=>e.toUpperCase())),this.sRegion&&(this.sRegion=this.sRegion.toUpperCase())}getLanguage(){return this.sLanguage}getScript(){return this.sScript}getRegion(){return this.sRegion}getVariant(){return this.sVariant}getVariantSubtags(){return this.sVariant?this.sVariant.split("-"):[]}getExtension(){return this.sExtension}getExtensionSubtags(){return this.sExtension?this.sExtension.slice(2).split("-"):[]}getPrivateUse(){return this.sPrivateUse}getPrivateUseSubtags(){return this.sPrivateUse?this.sPrivateUse.slice(2).split("-"):[]}hasPrivateUseSubtag(e){return this.getPrivateUseSubtags().indexOf(e)>=0}toString(){const e=[this.sLanguage];return this.sScript&&e.push(this.sScript),this.sRegion&&e.push(this.sRegion),this.sVariant&&e.push(this.sVariant),this.sExtension&&e.push(this.sExtension),this.sPrivateUse&&e.push(this.sPrivateUse),e.join("-")}}const ge=e=>{try{if(e&&"string"==typeof e)return new me(e)}catch(e){}},fe=e=>e?ge(e):pe()?new me(pe()):ge(J()),ve=/^((?:[A-Z]{2,3}(?:-[A-Z]{3}){0,3})|[A-Z]{4}|[A-Z]{5,8})(?:-([A-Z]{4}))?(?:-([A-Z]{2}|[0-9]{3}))?((?:-[0-9A-Z]{5,8}|-[0-9][0-9A-Z]{3})*)((?:-[0-9A-WYZ](?:-[0-9A-Z]{2,8})+)*)(?:-(X(?:-[0-9A-Z]{1,8})+))?$/i,ye=/(?:^|-)(saptrc|sappsd)(?:-|$)/i,be={he:"iw",yi:"ji",id:"in",sr:"sh"},we=e=>{if(!e)return m;if("zh_HK"===e)return"zh_TW";const t=e.lastIndexOf("_");return t>=0?e.slice(0,t):e!==m?m:""},ke=new Map,xe=new Map,Ce=(e,t)=>{ke.set(e,t)},Se=(e,t)=>{const i=xe.get(e)||{};xe.set(e,Object.assign({},i,t))},Te=async e=>{const t=xe.get(e);if(!t)return void console.warn("Message bundle assets are not configured. Falling back to English texts.",` You need to import ${e}/dist/Assets.js with a build tool that supports JSON imports.`);const i=fe().getLanguage(),r=fe().getRegion();let a=(e=>{let t;if(!e)return m;if("string"==typeof e&&(t=ve.exec(e.replace(/_/g,"-")))){let e=t[1].toLowerCase(),i=t[3]?t[3].toUpperCase():void 0;const r=t[2]?t[2].toLowerCase():void 0,a=t[4]?t[4].slice(1):void 0,o=t[6];return e=be[e]||e,o&&(t=ye.exec(o))||a&&(t=ye.exec(a))?"en_US_"+t[1].toLowerCase():("zh"!==e||i||("hans"===r?i="CN":"hant"===r&&(i="TW")),e+(i?"_"+i+(a?"_"+a.replace("-","_"):""):""))}})(i+(r?"-"+r:""));for(;a!==_&&!t[a];)a=we(a);if(!t[a])return void Ce(e,null);let o=t[a];if("object"==typeof o)return void Ce(e,o);!o.startsWith("/")&&window.sap&&window.sap.ui&&(o=`${window.sap.ui.require.toUrl("")}/${o}`);const n=await C(o);let s;if(n.startsWith("{"))s=JSON.parse;else{const e=c("PropertiesFormatSupport");if(!e)throw new Error('In order to support .properties files, please: import "@ui5/webcomponents-base/dist/features/PropertiesFormatSupport.js";');s=e.parser}const l=s(n);Ce(e,l)};var De,Pe;De=()=>{const e=[...ke.keys()];return Promise.all(e.map(Te))},Q.attachEvent("languageChange",De);var Ie=function(e,t,i){if(!e)return e;function r(e,t){return function(){var r=e[t].apply(e,arguments);return i?this:(typeof r.getInterface === "function")?r.getInterface():r}}if(Pe=Pe,!t)return{};for(var a,o=0,n=t.length;o<n;o++)e[a=t[o]]&&"function"!=typeof e[a]||(this[a]=r(e,a))},Me={},Be=window;function Ee(e){return Array.isArray(e)?e.slice():e.split(".")}Me.create=function(e,t){for(var i=t||Be,r=Ee(e),a=0;a<r.length;a++){var o=r[a];if(null===i[o]||void 0!==i[o]&&"object"!=typeof i[o]&&"function"!=typeof i[o])throw new Error("Could not set object-path for '"+r.join(".")+"', path segment '"+o+"' already exists.");i[o]=i[o]||{},i=i[o]}return i},Me.get=function(e,t){for(var i=t||Be,r=Ee(e),a=r.pop(),o=0;o<r.length&&i;o++)i=i[r[o]];return i?i[a]:void 0},Me.set=function(e,t,i){i=i||Be;var r=Ee(e),a=r.pop();Me.create(r,i)[a]=t};var Fe,Ae="undefined"!=typeof window&&window.performance&&performance.now&&performance.timing?(Fe=performance.timing.navigationStart,function(){return Fe+performance.now()}):Date.now,Ne={Level:{NONE:-1,FATAL:0,ERROR:1,WARNING:2,INFO:3,DEBUG:4,TRACE:5,ALL:6}},Oe=[],$e={"":Ne.Level.ERROR},Le=3e3,Re=null,ze=!1;function He(e,t){return("000"+String(e)).slice(-t)}function Ue(e){return!e||isNaN($e[e])?$e[""]:$e[e]}function je(){var e=Oe.length;if(e){var t=Math.min(e,Math.floor(.7*Le));Re&&Re.onDiscardLogEntries(Oe.slice(0,e-t)),Oe=t?Oe.slice(-t,e):[]}}function Ve(){return Re||(Re={listeners:[],onLogEntry:function(e){for(var t=0;t<Re.listeners.length;t++)Re.listeners[t].onLogEntry&&Re.listeners[t].onLogEntry(e)},onDiscardLogEntries:function(e){for(var t=0;t<Re.listeners.length;t++)Re.listeners[t].onDiscardLogEntries&&Re.listeners[t].onDiscardLogEntries(e)},attach:function(e,t){t&&(Re.listeners.push(t),t.onAttachToLog&&t.onAttachToLog(e))},detach:function(e,t){for(var i=0;i<Re.listeners.length;i++)if(Re.listeners[i]===t)return t.onDetachFromLog&&t.onDetachFromLog(e),void Re.listeners.splice(i,1)}}),Re}function We(e,t,i,r,a){if(a||r||"function"!=typeof i||(a=i,i=""),a||"function"!=typeof r||(a=r,r=""),e<=Ue(r=r||void 0)){var o=Ae(),n=new Date(o),s=Math.floor(1e3*(o-Math.floor(o))),l={time:He(n.getHours(),2)+":"+He(n.getMinutes(),2)+":"+He(n.getSeconds(),2)+"."+He(n.getMilliseconds(),3)+He(s,3),date:He(n.getFullYear(),4)+"-"+He(n.getMonth()+1,2)+"-"+He(n.getDate(),2),timestamp:o,level:e,message:String(t||""),details:String(i||""),component:String(r||"")};if(ze&&"function"==typeof a&&(l.supportInfo=a()),Le&&(Oe.length>=Le&&je(),Oe.push(l)),Re&&Re.onLogEntry(l),console){var u=i instanceof Error,d=l.date+" "+l.time+" "+l.message+" - "+l.details+" "+l.component;switch(e){case Ne.Level.FATAL:case Ne.Level.ERROR:u?console.error(d,"\n",i):console.error(d);break;case Ne.Level.WARNING:u?console.warn(d,"\n",i):console.warn(d);break;case Ne.Level.INFO:console.info?u?console.info(d,"\n",i):console.info(d):u?console.log(d,"\n",i):console.log(d);break;case Ne.Level.DEBUG:console.debug?u?console.debug(d,"\n",i):console.debug(d):u?console.log(d,"\n",i):console.log(d);break;case Ne.Level.TRACE:console.trace?u?console.trace(d,"\n",i):console.trace(d):u?console.log(d,"\n",i):console.log(d)}console.info&&l.supportInfo&&console.info(l.supportInfo)}return l}}function Ye(e){this.fatal=function(t,i,r,a){return Ne.fatal(t,i,r||e,a),this},this.error=function(t,i,r,a){return Ne.error(t,i,r||e,a),this},this.warning=function(t,i,r,a){return Ne.warning(t,i,r||e,a),this},this.info=function(t,i,r,a){return Ne.info(t,i,r||e,a),this},this.debug=function(t,i,r,a){return Ne.debug(t,i,r||e,a),this},this.trace=function(t,i,r,a){return Ne.trace(t,i,r||e,a),this},this.setLevel=function(t,i){return Ne.setLevel(t,i||e),this},this.getLevel=function(t){return Ne.getLevel(t||e)},this.isLoggable=function(t,i){return Ne.isLoggable(t,i||e)}}Ne.fatal=function(e,t,i,r){We(Ne.Level.FATAL,e,t,i,r)},Ne.error=function(e,t,i,r){We(Ne.Level.ERROR,e,t,i,r)},Ne.warning=function(e,t,i,r){We(Ne.Level.WARNING,e,t,i,r)},Ne.info=function(e,t,i,r){We(Ne.Level.INFO,e,t,i,r)},Ne.debug=function(e,t,i,r){We(Ne.Level.DEBUG,e,t,i,r)},Ne.trace=function(e,t,i,r){We(Ne.Level.TRACE,e,t,i,r)},Ne.setLevel=function(e,t,i){var r;(t=t||"",i&&null!=$e[t])||($e[t]=e,Object.keys(Ne.Level).forEach((function(t){Ne.Level[t]===e&&(r=t)})),We(Ne.Level.INFO,"Changing log level "+(t?"for '"+t+"' ":"")+"to "+r,"","sap.base.log"))},Ne.getLevel=function(e){return Ue(e||void 0)},Ne.isLoggable=function(e,t){return(null==e?Ne.Level.DEBUG:e)<=Ue(t||void 0)},Ne.logSupportInfo=function(e){ze=e},Ne.getLogEntries=function(){return Oe.slice()},Ne.getLogEntriesLimit=function(){return Le},Ne.setLogEntriesLimit=function(e){if(e<0)throw new Error("The log entries limit needs to be greater than or equal to 0!");Le=e,Oe.length>=Le&&je()},Ne.addLogListener=function(e){Ve().attach(this,e)},Ne.removeLogListener=function(e){Ve().detach(this,e)},Ne.getLogger=function(e,t){return isNaN(t)||null!=$e[e]||($e[e]=t),new Ye(e)};var qe=function(e,t){if(!e){var i="function"==typeof t?t():t;console&&console.assert?console.assert(e,i):Ne.debug("[Assertions] "+i)}},Ge=function(e){qe(e instanceof Array,"uniqueSort: input parameter must be an Array");var t=e.length;if(t>1){e.sort();for(var i=0,r=1;r<t;r++)e[r]!==e[i]&&(e[++i]=e[r]);++i<t&&e.splice(i,t-i)}return e},Je=function(e,t){if(qe("string"==typeof e&&e,"Metadata: sClassName must be a non-empty string"),qe("object"==typeof t,"Metadata: oClassInfo must be empty or an object"),t&&"object"==typeof t.metadata||((t={metadata:t||{},constructor:Me.get(e)}).metadata.__version=1),t.metadata.__version=t.metadata.__version||2,"function"!=typeof t.constructor)throw Error("constructor for class "+e+" must have been declared before creating metadata for it");this._sClassName=e,this._oClass=t.constructor,this.extend(t)};Je.prototype.extend=function(e){this.applySettings(e),this.afterApplySettings()},Je.prototype.applySettings=function(e){var t,i=e.metadata;if(i.baseType){var r=Me.get(i.baseType);"function"!=typeof r&&Ne.fatal("base class '"+i.baseType+"' does not exist"),r.getMetadata?(this._oParent=r.getMetadata(),qe(r===r.getMetadata().getClass(),"Metadata: oParentClass must match the class in the parent metadata")):this._oParent=new Je(i.baseType,{})}else this._oParent=void 0;for(var a in this._bAbstract=!!i.abstract,this._bFinal=!!i.final,this._sStereotype=i.stereotype||(this._oParent?this._oParent._sStereotype:"object"),this._bDeprecated=!!i.deprecated,this._aInterfaces=i.interfaces||[],this._aPublicMethods=i.publicMethods||[],this._bInterfacesUnique=!1,t=this._oClass.prototype,e)"metadata"!==a&&"constructor"!==a&&(t[a]=e[a],a.match(/^_|^on|^init$|^exit$/)||this._aPublicMethods.push(a))},Je.prototype.afterApplySettings=function(){this._oParent?(this._aAllPublicMethods=this._oParent._aAllPublicMethods.concat(this._aPublicMethods),this._bInterfacesUnique=!1):this._aAllPublicMethods=this._aPublicMethods},Je.prototype.getStereotype=function(){return this._sStereotype},Je.prototype.getName=function(){return this._sClassName},Je.prototype.getClass=function(){return this._oClass},Je.prototype.getParent=function(){return this._oParent},Je.prototype._dedupInterfaces=function(){this._bInterfacesUnique||(Ge(this._aInterfaces),Ge(this._aPublicMethods),Ge(this._aAllPublicMethods),this._bInterfacesUnique=!0)},Je.prototype.getPublicMethods=function(){return this._dedupInterfaces(),this._aPublicMethods},Je.prototype.getAllPublicMethods=function(){return this._dedupInterfaces(),this._aAllPublicMethods},Je.prototype.getInterfaces=function(){return this._dedupInterfaces(),this._aInterfaces},Je.prototype.isInstanceOf=function(e){if(this._oParent&&this._oParent.isInstanceOf(e))return!0;for(var t=this._aInterfaces,i=0,r=t.length;i<r;i++)if(t[i]===e)return!0;return!1};Object.defineProperty(Je.prototype,"_mImplementedTypes",{get:function(){if(this===Je.prototype)throw new Error("sap.ui.base.Metadata: The '_mImplementedTypes' property must not be accessed on the prototype");var e=Object.create(this._oParent?this._oParent._mImplementedTypes:null);e[this._sClassName]=!0;for(var t=this._aInterfaces,i=t.length;i-- >0;)e[t[i]]||(e[t[i]]=!0);return Object.defineProperty(this,"_mImplementedTypes",{value:Object.freeze(e),writable:!1,configurable:!1}),e},configurable:!0}),Je.prototype.isA=function(e){var t=this._mImplementedTypes;if(Array.isArray(e)){for(var i=0;i<e.length;i++)if(e[i]in t)return!0;return!1}return e in t},Je.prototype.isAbstract=function(){return this._bAbstract},Je.prototype.isFinal=function(){return this._bFinal},Je.prototype.isDeprecated=function(){return this._bDeprecated},Je.prototype.addPublicMethods=function(e){var t=e instanceof Array?e:arguments;Array.prototype.push.apply(this._aPublicMethods,t),Array.prototype.push.apply(this._aAllPublicMethods,t),this._bInterfacesUnique=!1},Je.createClass=function(e,t,i,r){"string"==typeof e&&(r=i,i=t,t=e,e=null),qe(!e||"function"==typeof e),qe("string"==typeof t&&!!t),qe(!i||"object"==typeof i),qe(!r||"function"==typeof r),"function"==typeof(r=r||Je).preprocessClassInfo&&(i=r.preprocessClassInfo(i)),(i=i||{}).metadata=i.metadata||{},i.hasOwnProperty("constructor")||(i.constructor=void 0);var a=i.constructor;qe(!a||"function"==typeof a),e?(a||(a=i.metadata.deprecated?function(){Ne.warning("Usage of deprecated class: "+t),e.apply(this,arguments)}:function(){e.apply(this,arguments)}),a.prototype=Object.create(e.prototype),a.prototype.constructor=a,i.metadata.baseType=e.getMetadata().getName()):(a=a||function(){},delete i.metadata.baseType),i.constructor=a,Me.set(t,a);var o=new r(t,i);return a.getMetadata=a.prototype.getMetadata=function(){return o},a.getMetadata().isFinal()||(a.extend=function(e,t,i){return Je.createClass(a,e,t,i||r)}),a};var Xe=Je.createClass("sap.ui.base.Object",{constructor:function(){if(!(this instanceof Xe))throw Error('Cannot instantiate object: "new" is missing!')}});Xe.prototype.destroy=function(){},Xe.prototype.getInterface=function(){var e=new Ie(this,this.getMetadata().getAllPublicMethods());return this.getInterface=function(){return e},e},Xe.defineClass=function(e,t,i){var r=new(i||Je)(e,t),a=r.getClass();return a.getMetadata=a.prototype.getMetadata=function(){return r},r.isFinal()||(a.extend=function(e,t,r){return Je.createClass(a,e,t,r||i)}),Ne.debug("defined class '"+e+"'"+(r.getParent()?" as subclass of "+r.getParent().getName():"")),r},Xe.prototype.isA=function(e){return this.getMetadata().isA(e)},Xe.isA=function(e,t){return e instanceof Xe&&e.isA(t)};var Qe=/^((?:[A-Z]{2,3}(?:-[A-Z]{3}){0,3})|[A-Z]{4}|[A-Z]{5,8})(?:-([A-Z]{4}))?(?:-([A-Z]{2}|[0-9]{3}))?((?:-[0-9A-Z]{5,8}|-[0-9][0-9A-Z]{3})*)((?:-[0-9A-WYZ](?:-[0-9A-Z]{2,8})+)*)(?:-(X(?:-[0-9A-Z]{1,8})+))?$/i,Ze=Xe.extend("sap.ui.core.Locale",{constructor:function(e){Xe.apply(this);var t=Qe.exec(e.replace(/_/g,"-"));if(null===t)throw"The given language '"+e+"' does not adhere to BCP-47.";this.sLocaleId=e,this.sLanguage=t[1]||null,this.sScript=t[2]||null,this.sRegion=t[3]||null,this.sVariant=t[4]&&t[4].slice(1)||null,this.sExtension=t[5]&&t[5].slice(1)||null,this.sPrivateUse=t[6]||null,this.sLanguage&&(this.sLanguage=this.sLanguage.toLowerCase()),this.sScript&&(this.sScript=this.sScript.toLowerCase().replace(/^[a-z]/,(function(e){return e.toUpperCase()}))),this.sRegion&&(this.sRegion=this.sRegion.toUpperCase())},getLanguage:function(){return this.sLanguage},getScript:function(){return this.sScript},getRegion:function(){return this.sRegion},getVariant:function(){return this.sVariant},getVariantSubtags:function(){return this.sVariant?this.sVariant.split("-"):[]},getExtension:function(){return this.sExtension},getExtensionSubtags:function(){return this.sExtension?this.sExtension.slice(2).split("-"):[]},getPrivateUse:function(){return this.sPrivateUse},getPrivateUseSubtags:function(){return this.sPrivateUse?this.sPrivateUse.slice(2).split("-"):[]},hasPrivateUseSubtag:function(e){return qe(e&&e.match(/^[0-9A-Z]{1,8}$/i),"subtag must be a valid BCP47 private use tag"),this.getPrivateUseSubtags().indexOf(e)>=0},toString:function(){var e=[this.sLanguage];return this.sScript&&e.push(this.sScript),this.sRegion&&e.push(this.sRegion),this.sVariant&&e.push(this.sVariant),this.sExtension&&e.push(this.sExtension),this.sPrivateUse&&e.push(this.sPrivateUse),e.join("-")},getSAPLogonLanguage:function(){var e,t=this.sLanguage||"";return t.indexOf("-")>=0&&(t=t.slice(0,t.indexOf("-"))),"zh"===(t=Ke[t]||t)&&("Hant"===this.sScript||!this.sScript&&"TW"===this.sRegion)&&(t="zf"),this.sPrivateUse&&(e=/-(saptrc|sappsd)(?:-|$)/i.exec(this.sPrivateUse))&&(t="saptrc"===e[1].toLowerCase()?"1Q":"2Q"),t.toUpperCase()}}),Ke={iw:"he",ji:"yi",in:"id",sh:"sr"};function et(e){var t=/\$([-a-z0-9A-Z._]+)(?::([^$]*))?\$/.exec(e);return t&&t[2]?t[2].split(/,/):null}var tt=et("$cldr-rtl-locales:ar,fa,he$")||[];Ze._cldrLocales=et("$cldr-locales:ar,ar_EG,ar_SA,bg,br,ca,cs,da,de,de_AT,de_CH,el,el_CY,en,en_AU,en_GB,en_HK,en_IE,en_IN,en_NZ,en_PG,en_SG,en_ZA,es,es_AR,es_BO,es_CL,es_CO,es_MX,es_PE,es_UY,es_VE,et,fa,fi,fr,fr_BE,fr_CA,fr_CH,fr_LU,he,hi,hr,hu,id,it,it_CH,ja,kk,ko,lt,lv,ms,nb,nl,nl_BE,nn,pl,pt,pt_PT,ro,ru,ru_UA,sk,sl,sr,sv,th,tr,uk,vi,zh_CN,zh_HK,zh_SG,zh_TW$"),Ze._coreI18nLocales=et("$core-i18n-locales:,ar,bg,ca,cs,da,de,el,en,es,et,fi,fr,hi,hr,hu,it,iw,ja,kk,ko,lt,lv,ms,nl,no,pl,pt,ro,ru,sh,sk,sl,sv,th,tr,uk,vi,zh_CN,zh_TW$"),Ze._impliesRTL=function(e){var t=e instanceof Ze?e:new Ze(e),i=t.getLanguage()||"";i=i&&Ke[i]||i;var r=t.getRegion()||"";return!!(r&&tt.indexOf(i+"_"+r)>=0)||tt.indexOf(i)>=0};const it={in:"sap/ui/integration/thirdparty/webcomponents/messagebundle_in.e3c5681fc8917143.json",cy:"sap/ui/integration/thirdparty/webcomponents/messagebundle_cy.facf33e921a1a902.json",es_MX:"sap/ui/integration/thirdparty/webcomponents/messagebundle_es_MX.ebf2828c83c4821a.json",fr_CA:"sap/ui/integration/thirdparty/webcomponents/messagebundle_fr_CA.fb1250c736f2ac8c.json",pt_PT:"sap/ui/integration/thirdparty/webcomponents/messagebundle_pt_PT.dcaa871d6b8eec75.json"};Ze._cldrLocales.push("cy"),g.push("cy"),Se("@ui5/webcomponents",it);let rt;let at;const ot=()=>at||(at=new Promise(async e=>{const t=c("OpenUI5Support");t&&await t.init(),await new Promise(e=>{document.body?e():document.addEventListener("DOMContentLoaded",()=>{e()})}),await U(V()),t&&t.attachListeners(),(()=>{if(document.querySelector("head>style[data-ui5-font-face]"))return;const e=c("OpenUI5Support");e&&e.isLoaded()||A('\n\t@font-face {\n\t\tfont-family: "72";\n\t\tfont-style: normal;\n\t\tfont-weight: 400;\n\t\tsrc: local("72"),\n\t\t\turl(https://ui5.sap.com/sdk/resources/sap/ui/core/themes/sap_fiori_3/fonts/72-Regular.woff2?ui5-webcomponents) format("woff2"),\n\t\t\turl(https://ui5.sap.com/sdk/resources/sap/ui/core/themes/sap_fiori_3/fonts/72-Regular.woff?ui5-webcomponents) format("woff");\n\t}\n\t\n\t@font-face {\n\t\tfont-family: "72full";\n\t\tfont-style: normal;\n\t\tfont-weight: 400;\n\t\tsrc: local(\'72-full\'),\n\t\t\turl(https://ui5.sap.com/sdk/resources/sap/ui/core/themes/sap_fiori_3/fonts/72-Regular-full.woff2?ui5-webcomponents) format("woff2"),\n\t\t\turl(https://ui5.sap.com/sdk/resources/sap/ui/core/themes/sap_fiori_3/fonts/72-Regular-full.woff?ui5-webcomponents) format("woff");\n\t\t\n\t}\n\t\n\t@font-face {\n\t\tfont-family: "72";\n\t\tfont-style: normal;\n\t\tfont-weight: 700;\n\t\tsrc: local(\'72-Bold\'),\n\t\t\turl(https://ui5.sap.com/sdk/resources/sap/ui/core/themes/sap_fiori_3/fonts/72-Bold.woff2?ui5-webcomponents) format("woff2"),\n\t\t\turl(https://ui5.sap.com/sdk/resources/sap/ui/core/themes/sap_fiori_3/fonts/72-Bold.woff?ui5-webcomponents) format("woff");\n\t}\n\t\n\t@font-face {\n\t\tfont-family: "72full";\n\t\tfont-style: normal;\n\t\tfont-weight: 700;\n\t\tsrc: local(\'72-Bold-full\'),\n\t\t\turl(https://ui5.sap.com/sdk/resources/sap/ui/core/themes/sap_fiori_3/fonts/72-Bold-full.woff2?ui5-webcomponents) format("woff2"),\n\t\t\turl(https://ui5.sap.com/sdk/resources/sap/ui/core/themes/sap_fiori_3/fonts/72-Bold-full.woff?ui5-webcomponents) format("woff");\n\t}\n',{"data-ui5-font-face":""})})(),document.querySelector("head>style[data-ui5-system-css-vars]")||A('\n\t:root {\n\t\t--_ui5_content_density:cozy;\n\t}\n\t\n\t[data-ui5-compact-size],\n\t.ui5-content-density-compact,\n\t.sapUiSizeCompact {\n\t\t--_ui5_content_density:compact;\n\t}\n\t\n\t[dir="rtl"] {\n\t\t--_ui5_dir:rtl;\n\t}\n\t\n\t[dir="ltr"] {\n\t\t--_ui5_dir:ltr;\n\t}\n',{"data-ui5-system-css-vars":""}),await(rt||(rt=new Promise(e=>{window.WebComponents&&!window.WebComponents.ready&&window.WebComponents.waitFor?window.WebComponents.waitFor(()=>{e()}):e()}),rt)),e()}),at);class nt{static isValid(e){}static generataTypeAcessors(e){Object.keys(e).forEach(t=>{Object.defineProperty(this,t,{get:()=>e[t]})})}}const st=new Map,lt=new Map,ut=e=>{if(!st.has(e)){const t=ct(e.split("-"));st.set(e,t)}return st.get(e)},dt=e=>{if(!lt.has(e)){const t=e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();lt.set(e,t)}return lt.get(e)},ct=e=>e.map((e,t)=>0===t?e.toLowerCase():e.charAt(0).toUpperCase()+e.slice(1).toLowerCase()).join(""),ht=e=>e&&e instanceof HTMLElement&&"slot"===e.localName;class pt{constructor(e){this.metadata=e}static validatePropertyValue(e,t){return t.multiple?e.map(e=>_t(e,t)):_t(e,t)}static validateSlotValue(e,t){return mt(e,t)}getTag(){return this.metadata.tag}getAltTag(){return this.metadata.altTag}hasAttribute(e){const t=this.getProperties()[e];return t.type!==Object&&!t.noAttribute}getPropertiesList(){return Object.keys(this.getProperties())}getAttributesList(){return this.getPropertiesList().filter(this.hasAttribute,this).map(dt)}getSlots(){return this.metadata.slots||{}}canSlotText(){const e=this.getSlots().default;return e&&e.type===Node}hasSlots(){return!!Object.entries(this.getSlots()).length}hasIndividualSlots(){return this.slotsAreManaged()&&Object.entries(this.getSlots()).some(([e,t])=>t.individualSlots)}slotsAreManaged(){return!!this.metadata.managedSlots}getProperties(){return this.metadata.properties||{}}getEvents(){return this.metadata.events||{}}isLanguageAware(){return!!this.metadata.languageAware}}const _t=(e,t)=>{const i=t.type;return i===Boolean?"boolean"==typeof e&&e:i===String?"string"==typeof e||null==e?e:e.toString():i===Object?"object"==typeof e?e:t.defaultValue:((e,t,i=!1)=>{if("function"!=typeof e||"function"!=typeof t)return!1;if(i&&e===t)return!0;let r=e;do{r=Object.getPrototypeOf(r)}while(null!==r&&r!==t);return r===t})(i,nt)?i.isValid(e)?e:t.defaultValue:void 0},mt=(e,t)=>{if(null===e)return e;return(e=>ht(e)?e.assignedNodes({flatten:!0}).filter(e=>e instanceof HTMLElement):[e])(e).forEach(e=>{if(!(e instanceof t.type))throw new Error(`${e} is not of type ${t.type}`)}),e},gt=(e,t=document.body)=>{let i=document.querySelector(e);return i||(i=document.createElement(e),t.insertBefore(i,t.firstChild))},ft=()=>gt("ui5-static-area");class vt extends HTMLElement{constructor(){super()}get isUI5Element(){return!0}destroy(){const e=document.querySelector(this.tagName.toLowerCase());e.parentElement.removeChild(e)}}customElements.get("ui5-static-area")||customElements.define("ui5-static-area",vt);class yt{constructor(e){this.ui5ElementContext=e,this._rendered=!1}isRendered(){return this._rendered}_updateFragment(){const e=this.ui5ElementContext.constructor.staticAreaTemplate(this.ui5ElementContext),t=!window.ShadyDOM&&this.ui5ElementContext.constructor.staticAreaStyles;this.staticAreaItemDomRef||(this.staticAreaItemDomRef=document.createElement("ui5-static-area-item"),this.staticAreaItemDomRef.attachShadow({mode:"open"}),this.staticAreaItemDomRef.classList.add(this.ui5ElementContext._id),ft().appendChild(this.staticAreaItemDomRef),this._rendered=!0),this.ui5ElementContext.constructor.render(e,this.staticAreaItemDomRef.shadowRoot,t,{eventContext:this.ui5ElementContext})}_removeFragmentFromStaticArea(){if(!this.staticAreaItemDomRef)return;const e=ft();e.removeChild(this.staticAreaItemDomRef),this.staticAreaItemDomRef=null,e.childElementCount<1&&ft().destroy()}_updateContentDensity(e){this.staticAreaItemDomRef&&(e?(this.staticAreaItemDomRef.classList.add("sapUiSizeCompact"),this.staticAreaItemDomRef.classList.add("ui5-content-density-compact")):(this.staticAreaItemDomRef.classList.remove("sapUiSizeCompact"),this.staticAreaItemDomRef.classList.remove("ui5-content-density-compact")))}async getDomRef(){return this._rendered&&this.staticAreaItemDomRef||this._updateFragment(),await he.whenDOMUpdated(),this.staticAreaItemDomRef.shadowRoot}}class bt extends HTMLElement{constructor(){super()}get isUI5Element(){return!0}}customElements.get("ui5-static-area-item")||customElements.define("ui5-static-area-item",bt);const wt=window,kt=new WeakMap;class xt{constructor(){throw new Error("Static class")}static observeDOMNode(e,t,i){let r=kt.get(e);if(r)throw new Error("A mutation/ShadyDOM observer is already assigned to this node.");wt.ShadyDOM?r=wt.ShadyDOM.observeChildren(e,t):(r=new MutationObserver(t),r.observe(e,i)),kt.set(e,r)}static unobserveDOMNode(e){const t=kt.get(e);t&&(t instanceof MutationObserver?t.disconnect():wt.ShadyDOM.unobserveChildren(t),kt.delete(e))}}const Ct=["value-changed"];let St;const Tt=()=>(void 0===St&&(b(),St=v.noConflict),St),Dt=e=>{const t=Tt();return!(e=>Ct.includes(e))(e)&&(!0===t||!(e=>{const t=Tt();return!(t.events&&t.events.includes&&t.events.includes(e))})(e))};var Pt=e=>{const t=/\$([-a-z0-9A-Z._]+)(?::([^$]*))?\$/.exec(e);return t&&t[2]?t[2].split(/,/):null};const It={iw:"he",ji:"yi",in:"id",sh:"sr"},Mt=Pt("$cldr-rtl-locales:ar,fa,he$")||[],Bt=()=>{const e=(b(),v.rtl);return null!==e?!!e:(e=>(e=e&&It[e]||e,Mt.indexOf(e)>=0))(pe()||J())},Et=t=>{const i=(t=>e[t]?e[t].join(""):"")(t.getMetadata().getTag())||"";let r=t.styles;return Array.isArray(r)&&(r=r.join(" ")),`${r} ${i}`},Ft=new Map,At=(e,t,i,r)=>{const a=i+t.length,o=e.charAt(a),n=e.substring(0,i)+r;if("("===o){const t=((e,t)=>{let i=1;for(let r=t+1;r<e.length;r++){const t=e.charAt(r);if("("===t?i++:")"===t&&i--,0===i)return r}})(e,a);return n+e.substring(a+1,t)+e.substring(t+1)}return n+e.substring(a)},Nt=(e,t)=>(e=((e,t,i)=>{let r=e.indexOf(t);for(;-1!==r;)r=(e=At(e,t,r,i)).indexOf(t);return e})(e=e.trim(),"::slotted","")).startsWith(":host")?At(e,":host",0,t):e.match(/^[@0-9]/)||"to"===e||"to{"===e||e.match(new RegExp(`^${t}[^a-zA-Z0-9-]`))?e:`${t} ${e}`,Ot=(e,t)=>{e=(e=e.replace(/\n/g," ")).replace(/([{}])/g,"$1\n");let i="";return e.split("\n").forEach(e=>{if(e.match(/{$/)){const i=e.split(",");e=i.map(e=>Nt(e,t)).join(",")}i=`${i}${e}`}),i},$t=new Set,Lt=e=>{const t=e.getMetadata().getTag();if($t.has(t))return;let i=Et(e);i=Ot(i,t);let r=(e=>{let t=e.staticAreaStyles;return Array.isArray(t)&&(t=t.join(" ")),t})(e);r&&(r=Ot(r,"ui5-static-area-item"),i=`${i} ${r}`),A(i,{"data-ui5-element-styles":t,disabled:"disabled"}),L()&&($||($=window.setTimeout(R,0))),$t.add(t)};class Rt extends nt{static isValid(e){return Number.isInteger(e)}}class zt extends nt{static isValid(e){return Number(e)===e}}const Ht=["disabled","title","hidden"],Ut=e=>{if(Ht.includes(e)||e.startsWith("aria"))return!0;return![HTMLElement,Element,Node].some(t=>t.prototype.hasOwnProperty(e))},jt={events:{"_property-change":{}}};let Vt=0;const Wt=new Map;class Yt extends HTMLElement{constructor(){let e;super(),this._initializeState(),this._upgradeAllProperties(),this._initializeContainers(),this._upToDate=!1,this._inDOM=!1,this._fullyConnected=!1,this._domRefReadyPromise=new Promise(t=>{e=t}),this._domRefReadyPromise._deferredResolve=e,this._monitoredChildProps=new Map,this._firePropertyChange=!1,this._shouldInvalidateParent=!1}get _id(){return this.__id||(this.__id="ui5wc_"+ ++Vt),this.__id}_initializeContainers(){const e=this.constructor._needsShadowDOM(),t=this.constructor._needsStaticArea();if(e&&(this.attachShadow({mode:"open"}),window.ShadyDOM&&Lt(this.constructor),document.adoptedStyleSheets)){const e=(e=>{const t=e.getMetadata().getTag(),i=Et(e);if(Ft.has(t))return Ft.get(t);const r=new CSSStyleSheet;return r.replaceSync(i),Ft.set(t,r),r})(this.constructor);this.shadowRoot.adoptedStyleSheets=[e]}t&&(this.staticAreaItem=new yt(this))}async connectedCallback(){const e=this.constructor._needsShadowDOM(),t=this.constructor.getMetadata().slotsAreManaged();if(this._inDOM=!0,t&&(this._startObservingDOMChildren(),await this._processChildren()),e){if(this.shadowRoot||await Promise.resolve(),!this._inDOM)return;he.register(this),he.renderImmediately(this),this._domRefReadyPromise._deferredResolve(),this._fullyConnected=!0,"function"==typeof this.onEnterDOM&&this.onEnterDOM()}}disconnectedCallback(){const e=this.constructor._needsShadowDOM(),t=this.constructor._needsStaticArea(),i=this.constructor.getMetadata().slotsAreManaged();this._inDOM=!1,i&&this._stopObservingDOMChildren(),e&&(he.deregister(this),this._fullyConnected&&("function"==typeof this.onExitDOM&&this.onExitDOM(),this._fullyConnected=!1)),t&&this.staticAreaItem._removeFragmentFromStaticArea(),he.cancelRender(this)}_startObservingDOMChildren(){if(!this.constructor.getMetadata().hasSlots())return;const e={childList:!0,subtree:this.constructor.getMetadata().canSlotText(),characterData:!0};xt.observeDOMNode(this,this._processChildren.bind(this),e)}_stopObservingDOMChildren(){xt.unobserveDOMNode(this)}async _processChildren(){this.constructor.getMetadata().hasSlots()&&await this._updateSlots()}async _updateSlots(){const e=this.constructor.getMetadata().getSlots(),t=this.constructor.getMetadata().canSlotText(),i=Array.from(t?this.childNodes:this.children);for(const[t,i]of Object.entries(e))this._clearSlot(t,i);const r=new Map,a=new Map,o=i.map(async(t,i)=>{const o=this.constructor._getSlotName(t),n=e[o];if(void 0===n){const i=Object.keys(e).join(", ");return void console.warn(`Unknown slotName: ${o}, ignoring`,t,"Valid values are: "+i)}if(n.individualSlots){const e=(r.get(o)||0)+1;r.set(o,e),t._individualSlot=`${o}-${e}`}if(t instanceof HTMLElement){const e=t.localName;if(e.includes("-")){if(!window.customElements.get(e)){const t=window.customElements.whenDefined(e);let i=Wt.get(e);i||(i=new Promise(e=>setTimeout(e,1e3)),Wt.set(e,i)),await Promise.race([t,i])}window.customElements.upgrade(t)}}(t=this.constructor.getMetadata().constructor.validateSlotValue(t,n)).isUI5Element&&n.listenFor&&this._attachChildPropertyUpdated(t,n.listenFor),t.isUI5Element&&n.invalidateParent&&(t._shouldInvalidateParent=!0),ht(t)&&this._attachSlotChange(t);const s=n.propertyName||o;a.has(s)?a.get(s).push({child:t,idx:i}):a.set(s,[{child:t,idx:i}])});await Promise.all(o),a.forEach((e,t)=>{this._state[t]=e.sort((e,t)=>e.idx-t.idx).map(e=>e.child)}),this._invalidate("slots")}_clearSlot(e,t){const i=t.propertyName||e;let r=this._state[i];Array.isArray(r)||(r=[r]),r.forEach(e=>{e&&e.isUI5Element&&(this._detachChildPropertyUpdated(e),e._shouldInvalidateParent=!1),ht(e)&&this._detachSlotChange(e)}),this._state[i]=[],this._invalidate(i,[])}attributeChangedCallback(e,t,i){const r=this.constructor.getMetadata().getProperties(),a=e.replace(/^ui5-/,""),o=ut(a);if(r.hasOwnProperty(o)){const e=r[o].type;e===Boolean&&(i=null!==i),e===Rt&&(i=parseInt(i)),e===zt&&(i=parseFloat(i)),this[o]=i}}_updateAttribute(e,t){if(!this.constructor.getMetadata().hasAttribute(e))return;if("object"==typeof t)return;const i=dt(e),r=this.getAttribute(i);"boolean"==typeof t?!0===t&&null===r?this.setAttribute(i,""):!1===t&&null!==r&&this.removeAttribute(i):r!==t&&this.setAttribute(i,t)}_upgradeProperty(e){if(this.hasOwnProperty(e)){const t=this[e];delete this[e],this[e]=t}}_upgradeAllProperties(){this.constructor.getMetadata().getPropertiesList().forEach(this._upgradeProperty,this)}_initializeState(){const e=this.constructor._getDefaultState();this._state=Object.assign({},e)}_attachChildPropertyUpdated(e,t){const i=e.constructor.getMetadata(),r=this.constructor._getSlotName(e),a=i.getProperties();let o=[],n=[];Array.isArray(t)?o=t:(o=Array.isArray(t.props)?t.props:Object.keys(a),n=Array.isArray(t.exclude)?t.exclude:[]),this._monitoredChildProps.has(r)||this._monitoredChildProps.set(r,{observedProps:o,notObservedProps:n}),e.addEventListener("_property-change",this._invalidateParentOnPropertyUpdate),e._firePropertyChange=!0}_detachChildPropertyUpdated(e){e.removeEventListener("_property-change",this._invalidateParentOnPropertyUpdate),e._firePropertyChange=!1}_propertyChange(e,t){this._updateAttribute(e,t),this._firePropertyChange&&this.dispatchEvent(new CustomEvent("_property-change",{detail:{name:e,newValue:t},composed:!1,bubbles:!0}))}_invalidateParentOnPropertyUpdate(e){const t=this.parentNode;if(!t)return;const i=t.constructor._getSlotName(this),r=t._monitoredChildProps.get(i);if(!r)return;const{observedProps:a,notObservedProps:o}=r;a.includes(e.detail.name)&&!o.includes(e.detail.name)&&t._invalidate("_parent_",this)}_attachSlotChange(e){this._invalidateOnSlotChange||(this._invalidateOnSlotChange=()=>{this._invalidate("slotchange")}),e.addEventListener("slotchange",this._invalidateOnSlotChange)}_detachSlotChange(e){e.removeEventListener("slotchange",this._invalidateOnSlotChange)}_invalidate(){this._shouldInvalidateParent&&this.parentNode._invalidate(),this._upToDate&&this.getDomRef()&&!this._suppressInvalidation&&(this._upToDate=!1,he.renderDeferred(this))}_render(){const e=this.constructor.getMetadata().hasIndividualSlots();this._suppressInvalidation=!0,"function"==typeof this.onBeforeRendering&&this.onBeforeRendering(),this._onComponentStateFinalized&&this._onComponentStateFinalized(),delete this._suppressInvalidation,this._upToDate=!0,this._updateShadowRoot(),this._shouldUpdateFragment()&&this.staticAreaItem._updateFragment(this),e&&this._assignIndividualSlotsToChildren(),"function"==typeof this.onAfterRendering&&this.onAfterRendering()}_updateShadowRoot(){if(!this.constructor._needsShadowDOM())return;let e;const t=this.constructor.template(this);document.adoptedStyleSheets||window.ShadyDOM||(e=Et(this.constructor)),this.constructor.render(t,this.shadowRoot,e,{eventContext:this})}_assignIndividualSlotsToChildren(){Array.from(this.children).forEach(e=>{e._individualSlot&&e.setAttribute("slot",e._individualSlot)})}_waitForDomRef(){return this._domRefReadyPromise}getDomRef(){if(this.shadowRoot&&0!==this.shadowRoot.children.length)return 1===this.shadowRoot.children.length?this.shadowRoot.children[0]:this.shadowRoot.children[1]}getFocusDomRef(){const e=this.getDomRef();if(e){return e.querySelector("[data-sap-focus-ref]")||e}}getStableDomRef(e){return this.getDomRef().querySelector(`[data-ui5-stable=${e}]`)}async focus(){await this._waitForDomRef();const e=this.getFocusDomRef();e&&"function"==typeof e.focus&&e.focus()}fireEvent(e,t,i=!1,r=!0){const a=this._fireEvent(e,t,i,r),o=ut(e);return o!==e?a&&this._fireEvent(o,t,i):a}_fireEvent(e,t,i=!1,r=!0){let a=!0;const o=new CustomEvent("ui5-"+e,{detail:t,composed:!1,bubbles:r,cancelable:i});if(a=this.dispatchEvent(o),Dt(e))return a;const n=new CustomEvent(e,{detail:t,composed:!1,bubbles:r,cancelable:i});return this.dispatchEvent(n)&&a}getSlottedNodes(e){return this[e].reduce((e,t)=>ht(t)?e.concat(t.assignedNodes({flatten:!0}).filter(e=>e instanceof HTMLElement)):e.concat([t]),[])}get isCompact(){return"compact"===getComputedStyle(this).getPropertyValue("--_ui5_content_density")}get effectiveDir(){var e;e=this.constructor,ae.add(e);const t=window.document,i=["ltr","rtl"],r=getComputedStyle(this).getPropertyValue("--_ui5_dir");return i.includes(r)?r:i.includes(this.dir)?this.dir:i.includes(t.documentElement.dir)?t.documentElement.dir:i.includes(t.body.dir)?t.body.dir:Bt()?"rtl":void 0}updateStaticAreaItemContentDensity(){this.staticAreaItem&&this.staticAreaItem._updateContentDensity(this.isCompact)}get isUI5Element(){return!0}static get observedAttributes(){return this.getMetadata().getAttributesList()}static _getSlotName(e){if(!(e instanceof HTMLElement))return"default";const t=e.getAttribute("slot");if(t){const e=t.match(/^(.+?)-\d+$/);return e?e[1]:t}return"default"}static _needsShadowDOM(){return!!this.template}_shouldUpdateFragment(){return this.constructor._needsStaticArea()&&this.staticAreaItem.isRendered()}static _needsStaticArea(){return"function"==typeof this.staticAreaTemplate}getStaticAreaItemDomRef(){return this.staticAreaItem.getDomRef()}static _getDefaultState(){if(this._defaultState)return this._defaultState;const e=this.getMetadata(),t={},i=e.slotsAreManaged(),r=e.getProperties();for(const e in r){const i=r[e].type,a=r[e].defaultValue;i===Boolean?(t[e]=!1,void 0!==a&&console.warn("The 'defaultValue' metadata key is ignored for all booleans properties, they would be initialized with 'false' by default")):r[e].multiple?t[e]=[]:t[e]=i===Object?"defaultValue"in r[e]?r[e].defaultValue:{}:i===String?"defaultValue"in r[e]?r[e].defaultValue:"":a}if(i){const i=e.getSlots();for(const[e,r]of Object.entries(i)){t[r.propertyName||e]=[]}}return this._defaultState=t,t}static _generateAccessors(){const e=this.prototype,t=this.getMetadata().slotsAreManaged(),i=this.getMetadata().getProperties();for(const[t,r]of Object.entries(i)){if(!Ut(t))throw new Error(`"${t}" is not a valid property name. Use a name that does not collide with DOM APIs`);if(r.type===Boolean&&r.defaultValue)throw new Error(`Cannot set a default value for property "${t}". All booleans are false by default.`);if(r.type===Array)throw new Error(`Wrong type for property "${t}". Properties cannot be of type Array - use "multiple: true" and set "type" to the single value type, such as "String", "Object", etc...`);if(r.type===Object&&r.defaultValue)throw new Error(`Cannot set a default value for property "${t}". All properties of type "Object" are empty objects by default.`);if(r.multiple&&r.defaultValue)throw new Error(`Cannot set a default value for property "${t}". All multiple properties are empty arrays by default.`);Object.defineProperty(e,t,{get(){if(void 0!==this._state[t])return this._state[t];const e=r.defaultValue;return r.type!==Boolean&&(r.type===String?e:r.multiple?[]:e)},set(e){e=this.constructor.getMetadata().constructor.validatePropertyValue(e,r);this._state[t]!==e&&(this._state[t]=e,this._invalidate(t,e),this._propertyChange(t,e))}})}if(t){const t=this.getMetadata().getSlots();for(const[i,r]of Object.entries(t)){if(!Ut(i))throw new Error(`"${i}" is not a valid property name. Use a name that does not collide with DOM APIs`);const t=r.propertyName||i;Object.defineProperty(e,t,{get(){return void 0!==this._state[t]?this._state[t]:[]},set(){throw new Error("Cannot set slots directly, use the DOM APIs")}})}}}static get metadata(){return jt}static get styles(){return""}static get staticAreaStyles(){return""}static async define(){await ot(),this.onDefine&&await this.onDefine();const e=this.getMetadata().getTag(),t=this.getMetadata().getAltTag(),i=(e=>K.has(e))(e),r=customElements.get(e);if(r&&!i)(e=>{ee.add(e),te||(te=setTimeout(()=>{re(),te=void 0},1e3))})(e);else if(!r&&(this._generateAccessors(),ie(e),window.customElements.define(e,this),t&&!customElements.get(t))){class e extends(this){}ie(t),window.customElements.define(t,e)}return this}static getMetadata(){if(this.hasOwnProperty("_metadata"))return this._metadata;const e=[this.metadata];let t=this;for(;t!==Yt;)t=Object.getPrototypeOf(t),e.unshift(t.metadata);const i=u({},...e);return this._metadata=new pt(i),this._metadata}}
|
|
2
2
|
/**
|
|
3
3
|
* @license
|
|
4
4
|
* Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
@@ -32,7 +32,7 @@ sap.ui.define([
|
|
|
32
32
|
* Resolves a binding syntax based on a provided model and path.
|
|
33
33
|
*
|
|
34
34
|
* @author SAP SE
|
|
35
|
-
* @version 1.
|
|
35
|
+
* @version 1.93.3
|
|
36
36
|
*
|
|
37
37
|
* @private
|
|
38
38
|
* @alias sap.ui.integration.util.BindingResolver
|
|
@@ -158,7 +158,7 @@ sap.ui.define([
|
|
|
158
158
|
return false;
|
|
159
159
|
}
|
|
160
160
|
|
|
161
|
-
return oObj.hasOwnProperty("path") || (oObj.hasOwnProperty("parts") && oObj.hasOwnProperty("formatter"));
|
|
161
|
+
return oObj.hasOwnProperty("path") || (oObj.hasOwnProperty("parts") && (oObj.hasOwnProperty("formatter") || oObj.hasOwnProperty("binding")));
|
|
162
162
|
};
|
|
163
163
|
|
|
164
164
|
return BindingResolver;
|
|
@@ -10,6 +10,11 @@ sap.ui.define([
|
|
|
10
10
|
"use strict";
|
|
11
11
|
/*global URL*/
|
|
12
12
|
|
|
13
|
+
/**
|
|
14
|
+
* @const The amount of seconds in a common calendar year.
|
|
15
|
+
*/
|
|
16
|
+
var SECONDS_IN_YEAR = 31536000;
|
|
17
|
+
|
|
13
18
|
function getFullUrl(oRequest) {
|
|
14
19
|
var sUrl = oRequest.url,
|
|
15
20
|
vData = oRequest.data,
|
|
@@ -141,26 +146,26 @@ sap.ui.define([
|
|
|
141
146
|
var oCard = this.getCardInstance(),
|
|
142
147
|
oHost = oCard.getHostInstance(),
|
|
143
148
|
oNewSettings = Object.assign({}, oSettings),
|
|
144
|
-
oCache = oNewSettings.cache;
|
|
149
|
+
oCache = oNewSettings.request.cache;
|
|
145
150
|
|
|
146
151
|
if (!oCache) {
|
|
147
152
|
oCache = {
|
|
148
|
-
|
|
149
|
-
|
|
153
|
+
maxAge: 0,
|
|
154
|
+
staleWhileRevalidate: true
|
|
150
155
|
};
|
|
151
156
|
}
|
|
152
157
|
|
|
153
158
|
if (!oCache.noStore) {
|
|
154
159
|
if (this._bCacheOnly) {
|
|
155
|
-
oCache.maxAge =
|
|
156
|
-
oCache.staleWhileRevalidate =
|
|
160
|
+
oCache.maxAge = SECONDS_IN_YEAR;
|
|
161
|
+
oCache.staleWhileRevalidate = false;
|
|
157
162
|
} else if (this._bNoCache) {
|
|
158
163
|
oCache.maxAge = 0;
|
|
159
|
-
oCache.staleWhileRevalidate =
|
|
164
|
+
oCache.staleWhileRevalidate = false;
|
|
160
165
|
}
|
|
161
166
|
}
|
|
162
167
|
|
|
163
|
-
oNewSettings.cache = oCache;
|
|
168
|
+
oNewSettings.request.cache = oCache;
|
|
164
169
|
|
|
165
170
|
if (oHost && oHost.modifyRequestHeaders) {
|
|
166
171
|
return oHost.modifyRequestHeaders(Object.assign({}, mHeaders), oNewSettings, oCard);
|
|
@@ -43,7 +43,7 @@ sap.ui.define([
|
|
|
43
43
|
* @extends sap.ui.base.ManagedObject
|
|
44
44
|
*
|
|
45
45
|
* @author SAP SE
|
|
46
|
-
* @version 1.
|
|
46
|
+
* @version 1.93.3
|
|
47
47
|
*
|
|
48
48
|
* @constructor
|
|
49
49
|
* @private
|
|
@@ -541,7 +541,10 @@ sap.ui.define([
|
|
|
541
541
|
* @returns {boolean} If the action is configured for the header, content, or a detail of an item in the content of the card
|
|
542
542
|
*/
|
|
543
543
|
CardActions.prototype._isSingleAction = function (sActionArea) {
|
|
544
|
-
return [ActionArea.Header,
|
|
544
|
+
return [ActionArea.Header,
|
|
545
|
+
ActionArea.Content,
|
|
546
|
+
ActionArea.ContentItemDetail,
|
|
547
|
+
ActionArea.ActionsStrip].indexOf(sActionArea) > -1;
|
|
545
548
|
};
|
|
546
549
|
|
|
547
550
|
return CardActions;
|
|
@@ -22,7 +22,7 @@ function (BaseObject, ServiceDataProvider, RequestDataProvider, CacheAndRequestD
|
|
|
22
22
|
* When destroyed, all data providers created by this class are also destroyed.
|
|
23
23
|
*
|
|
24
24
|
* @author SAP SE
|
|
25
|
-
* @version 1.
|
|
25
|
+
* @version 1.93.3
|
|
26
26
|
*
|
|
27
27
|
* @private
|
|
28
28
|
* @since 1.65
|
|
@@ -4,11 +4,12 @@
|
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
sap.ui.define([
|
|
7
|
+
"../cards/ListContentRenderer",
|
|
7
8
|
"sap/ui/integration/library",
|
|
8
9
|
"sap/ui/core/Element",
|
|
9
10
|
"sap/f/cards/loading/GenericPlaceholder",
|
|
10
11
|
"sap/f/cards/loading/ListPlaceholder"
|
|
11
|
-
], function (library, Element, GenericPlaceholder, ListPlaceholder) {
|
|
12
|
+
], function (ListContentRenderer, library, Element, GenericPlaceholder, ListPlaceholder) {
|
|
12
13
|
"use strict";
|
|
13
14
|
|
|
14
15
|
/**
|
|
@@ -22,7 +23,7 @@ sap.ui.define([
|
|
|
22
23
|
* @extends sap.ui.core.Element
|
|
23
24
|
*
|
|
24
25
|
* @author SAP SE
|
|
25
|
-
* @version 1.
|
|
26
|
+
* @version 1.93.3
|
|
26
27
|
*
|
|
27
28
|
* @constructor
|
|
28
29
|
* @private
|
|
@@ -68,12 +69,13 @@ sap.ui.define([
|
|
|
68
69
|
Element.prototype.destroy.apply(this, arguments);
|
|
69
70
|
};
|
|
70
71
|
|
|
71
|
-
LoadingProvider.prototype.createContentPlaceholder = function (oConfiguration, sType) {
|
|
72
|
+
LoadingProvider.prototype.createContentPlaceholder = function (oConfiguration, sType, oCard) {
|
|
72
73
|
switch (sType) {
|
|
73
74
|
case "List":
|
|
74
75
|
this._oContentPlaceholder = new ListPlaceholder({
|
|
75
76
|
maxItems: oConfiguration.maxItems ? parseInt(oConfiguration.maxItems) : 2,
|
|
76
|
-
item: oConfiguration.item
|
|
77
|
+
item: oConfiguration.item,
|
|
78
|
+
itemHeight: ListContentRenderer.getItemMinHeight(oConfiguration, oCard || this) + "rem"
|
|
77
79
|
});
|
|
78
80
|
break;
|
|
79
81
|
|