text: sap.ui.define(["exports","../generated/AssetParameters"],function(e,t){"use strict";const r=new Map;const s=new Map;const n=new Set;const o=new Set;const a=(e,t,r)=>{throw new Error("`registerThemeProperties` has been depracated. Use `registerThemePropertiesLoader` instead.")};const i=(e,t,r)=>{s.set(`${e}/${t}`,r);n.add(e);o.add(t)};const c=async(e,n)=>{const a=r.get(`${e}_${n}`);if(a!==undefined){return a}if(!o.has(n)){const s=[...o.values()].join(", ");console.warn(`You have requested a non-registered theme - falling back to ${t.DEFAULT_THEME}. Registered themes are: ${s}`);return r.get(`${e}_${t.DEFAULT_THEME}`)}const i=s.get(`${e}/${n}`);if(!i){console.error(`Theme [${n}] not registered for package [${e}]`);return}let c;try{c=await i(n)}catch(t){console.error(e,t.message);return}const d=c._||c;r.set(`${e}_${n}`,d);return d};const d=()=>n;const g=e=>o.has(e);e.getRegisteredPackages=d;e.getThemeProperties=c;e.isThemeRegistered=g;e.registerThemeProperties=a;e.registerThemePropertiesLoader=i;Object.defineProperty(e,"__esModule",{value:true})});