@ui5/webcomponents-base 0.0.0-5f8ce9393 → 0.0.0-6cb3eb0db

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.
Files changed (424) hide show
  1. package/.eslintignore +3 -0
  2. package/CHANGELOG.md +196 -0
  3. package/README.md +26 -1
  4. package/bundle.esm.js +18 -12
  5. package/dist/AssetRegistry.js +8 -6
  6. package/dist/Boot.js +43 -0
  7. package/dist/CustomElementsRegistry.js +39 -0
  8. package/dist/CustomElementsScope.js +108 -0
  9. package/dist/DOMObserver.js +65 -0
  10. package/dist/Device.js +58 -779
  11. package/dist/EventProvider.js +38 -26
  12. package/dist/FontFace.js +52 -7
  13. package/dist/InitialConfiguration.js +35 -10
  14. package/dist/Keys.js +248 -0
  15. package/dist/MediaRange.js +109 -0
  16. package/dist/PropertiesFileFormat.js +95 -0
  17. package/dist/Render.js +173 -0
  18. package/dist/RenderQueue.js +41 -17
  19. package/dist/RenderScheduler.js +24 -145
  20. package/dist/StaticArea.js +1 -39
  21. package/dist/StaticAreaItem.js +67 -50
  22. package/dist/SystemCSSVars.js +31 -0
  23. package/dist/Theming.js +3 -54
  24. package/dist/UI5Element.js +486 -318
  25. package/dist/UI5ElementMetadata.js +182 -19
  26. package/dist/asset-registries/Icons.js +118 -14
  27. package/dist/asset-registries/Illustrations.js +30 -0
  28. package/dist/asset-registries/LocaleData.js +97 -55
  29. package/dist/asset-registries/Themes.js +35 -32
  30. package/dist/asset-registries/i18n.js +80 -34
  31. package/dist/config/AnimationMode.js +11 -1
  32. package/dist/config/CalendarType.js +3 -7
  33. package/dist/config/Language.js +58 -2
  34. package/dist/config/Theme.js +2 -2
  35. package/dist/delegate/ItemNavigation.js +245 -172
  36. package/dist/delegate/ResizeHandler.js +78 -38
  37. package/dist/delegate/ScrollEnablement.js +101 -19
  38. package/dist/features/OpenUI5Support.js +57 -8
  39. package/dist/generated/AssetParameters.js +13 -0
  40. package/dist/getSharedResource.js +30 -0
  41. package/dist/i18nBundle.js +31 -10
  42. package/dist/isLegacyBrowser.js +3 -0
  43. package/dist/{Locale.js → locale/Locale.js} +0 -10
  44. package/dist/locale/RTLAwareRegistry.js +14 -0
  45. package/dist/locale/applyDirection.js +17 -0
  46. package/dist/locale/directionChange.js +32 -0
  47. package/dist/locale/getEffectiveDir.js +28 -0
  48. package/dist/locale/getLocale.js +41 -0
  49. package/dist/locale/languageChange.js +22 -0
  50. package/dist/locale/nextFallbackLocale.js +28 -0
  51. package/{src/util → dist/locale}/normalizeLocale.js +8 -31
  52. package/dist/renderer/LitRenderer.js +21 -4
  53. package/dist/renderer/executeTemplate.js +17 -0
  54. package/dist/resources/bundle.esm.js +20 -106
  55. package/dist/resources/bundle.esm.js.map +1 -1
  56. package/dist/sap/base/Log.js +241 -0
  57. package/dist/sap/base/assert.js +8 -0
  58. package/dist/sap/base/security/URLListValidator.js +148 -0
  59. package/dist/sap/base/security/sanitizeHTML.js +16 -0
  60. package/dist/sap/base/util/now.js +7 -0
  61. package/dist/sap/ui/thirdparty/caja-html-sanitizer.js +3585 -0
  62. package/dist/test-resources/assets/Themes.js +11 -5
  63. package/dist/test-resources/elements/Generic.js +1 -0
  64. package/dist/test-resources/elements/Parent.js +7 -2
  65. package/dist/test-resources/elements/WithStaticArea.js +77 -0
  66. package/dist/test-resources/pages/AllTestElements.html +5 -5
  67. package/dist/test-resources/pages/Configuration.html +0 -2
  68. package/dist/test-resources/pages/ConfigurationScript.html +1 -3
  69. package/dist/test-resources/pages/assets/messagebundle_de.properties +1 -0
  70. package/dist/test-resources/pages/assets/messagebundle_en.properties +1 -0
  71. package/dist/test-resources/pages/assets/messagebundle_es.properties +1 -0
  72. package/dist/test-resources/pages/assets/messagebundle_fr.properties +1 -0
  73. package/dist/test-resources/pages/i18n.html +35 -0
  74. package/dist/test-resources/specs/ConfigurationChange.spec.js +11 -9
  75. package/dist/test-resources/specs/ConfigurationScript.spec.js +25 -23
  76. package/dist/test-resources/specs/ConfigurationURL.spec.js +65 -17
  77. package/dist/test-resources/specs/CustomTheme.spec.js +7 -5
  78. package/dist/test-resources/specs/EventProvider.spec.js +63 -0
  79. package/dist/test-resources/specs/StaticArea.spec.js +78 -0
  80. package/dist/test-resources/specs/Theming.spec.js +9 -7
  81. package/dist/test-resources/specs/UI5ElementInvalidation.js +54 -70
  82. package/dist/test-resources/specs/UI5ElementLifecycle.js +19 -14
  83. package/dist/test-resources/specs/UI5ElementListenForChildPropChanges.spec.js +25 -51
  84. package/dist/test-resources/specs/UI5ElementMetadataExt.js +9 -7
  85. package/dist/test-resources/specs/UI5ElementPropertyValidation.js +7 -5
  86. package/dist/test-resources/specs/UI5ElementPropsAndAttrs.spec.js +37 -35
  87. package/dist/test-resources/specs/UI5ElementShadowDOM.js +10 -8
  88. package/dist/test-resources/specs/UI5ElementSlots.js +10 -8
  89. package/dist/theming/CustomStyle.js +28 -7
  90. package/dist/theming/ThemeLoaded.js +22 -0
  91. package/dist/theming/applyTheme.js +78 -0
  92. package/dist/theming/createThemePropertiesStyleTag.js +20 -0
  93. package/dist/theming/getConstructableStyle.js +30 -0
  94. package/dist/theming/getEffectiveStyle.js +30 -0
  95. package/dist/theming/getStylesString.js +13 -0
  96. package/dist/theming/getThemeDesignerTheme.js +67 -0
  97. package/dist/thirdparty/_merge.js +32 -0
  98. package/dist/thirdparty/isPlainObject.js +18 -0
  99. package/dist/thirdparty/merge.js +10 -0
  100. package/dist/types/CSSColor.js +9 -0
  101. package/{src/dates → dist/types}/CalendarType.js +2 -2
  102. package/dist/types/DataType.js +13 -1
  103. package/dist/types/Float.js +14 -0
  104. package/dist/types/Integer.js +4 -0
  105. package/dist/types/InvisibleMessageMode.js +30 -0
  106. package/dist/types/ItemNavigationBehavior.js +2 -7
  107. package/dist/types/NavigationMode.js +1 -0
  108. package/dist/types/PopupState.js +1 -1
  109. package/dist/types/ValueState.js +2 -1
  110. package/dist/updateShadowRoot.js +26 -0
  111. package/dist/util/AriaLabelHelper.js +41 -0
  112. package/dist/util/Caret.js +45 -0
  113. package/dist/util/ColorConversion.js +370 -0
  114. package/dist/util/FocusableElements.js +25 -8
  115. package/dist/util/HTMLSanitizer.js +7 -0
  116. package/dist/util/InvisibleMessage.js +58 -0
  117. package/dist/util/PopupUtils.js +93 -0
  118. package/dist/util/SlotsHelper.js +43 -0
  119. package/dist/util/StringHelper.js +17 -2
  120. package/dist/util/TabbableElements.js +5 -2
  121. package/dist/util/arraysAreEqual.js +15 -0
  122. package/dist/util/clamp.js +12 -0
  123. package/dist/util/debounce.js +17 -0
  124. package/dist/util/detectNavigatorLanguage.js +3 -1
  125. package/dist/util/encodeCSS.js +24 -0
  126. package/dist/util/findNodeOwner.js +35 -0
  127. package/dist/util/getActiveElement.js +11 -0
  128. package/dist/util/getClassCopy.js +10 -0
  129. package/dist/util/getEffectiveContentDensity.js +5 -0
  130. package/dist/util/getFileExtension.js +21 -0
  131. package/dist/util/getSingletonElementInstance.js +13 -0
  132. package/dist/util/isElementInView.js +15 -0
  133. package/dist/util/isNodeHidden.js +1 -5
  134. package/dist/util/isNodeTabbable.js +4 -4
  135. package/dist/util/isValidPropertyName.js +11 -2
  136. package/dist/util/setToArray.js +10 -0
  137. package/hash.txt +1 -0
  138. package/index.js +1 -1
  139. package/lib/generate-asset-parameters/index.js +22 -0
  140. package/package-scripts.js +37 -17
  141. package/package.json +20 -12
  142. package/src/AssetRegistry.js +8 -6
  143. package/src/Boot.js +43 -0
  144. package/src/CustomElementsRegistry.js +39 -0
  145. package/src/CustomElementsScope.js +108 -0
  146. package/src/DOMObserver.js +65 -0
  147. package/src/Device.js +58 -779
  148. package/src/EventProvider.js +38 -26
  149. package/src/FontFace.js +52 -7
  150. package/src/InitialConfiguration.js +35 -10
  151. package/src/Keys.js +248 -0
  152. package/src/MediaRange.js +109 -0
  153. package/src/PropertiesFileFormat.js +95 -0
  154. package/src/Render.js +173 -0
  155. package/src/RenderQueue.js +41 -17
  156. package/src/RenderScheduler.js +24 -145
  157. package/src/StaticArea.js +1 -39
  158. package/src/StaticAreaItem.js +67 -50
  159. package/src/SystemCSSVars.js +31 -0
  160. package/src/Theming.js +3 -54
  161. package/src/UI5Element.js +486 -318
  162. package/src/UI5ElementMetadata.js +182 -19
  163. package/src/asset-registries/Icons.js +118 -14
  164. package/src/asset-registries/Illustrations.js +30 -0
  165. package/src/asset-registries/LocaleData.js +97 -55
  166. package/src/asset-registries/Themes.js +35 -32
  167. package/src/asset-registries/i18n.js +80 -34
  168. package/src/config/AnimationMode.js +11 -1
  169. package/src/config/CalendarType.js +3 -7
  170. package/src/config/Language.js +58 -2
  171. package/src/config/Theme.js +2 -2
  172. package/src/delegate/ItemNavigation.js +245 -172
  173. package/src/delegate/ResizeHandler.js +78 -38
  174. package/src/delegate/ScrollEnablement.js +101 -19
  175. package/src/features/OpenUI5Support.js +57 -8
  176. package/src/getSharedResource.js +30 -0
  177. package/src/i18nBundle.js +31 -10
  178. package/src/isLegacyBrowser.js +3 -0
  179. package/src/{Locale.js → locale/Locale.js} +0 -10
  180. package/src/locale/RTLAwareRegistry.js +14 -0
  181. package/src/locale/applyDirection.js +17 -0
  182. package/src/locale/directionChange.js +32 -0
  183. package/src/locale/getEffectiveDir.js +28 -0
  184. package/src/locale/getLocale.js +41 -0
  185. package/src/locale/languageChange.js +22 -0
  186. package/src/locale/nextFallbackLocale.js +28 -0
  187. package/{dist/util → src/locale}/normalizeLocale.js +8 -31
  188. package/src/renderer/LitRenderer.js +21 -4
  189. package/src/renderer/executeTemplate.js +17 -0
  190. package/src/theming/CustomStyle.js +28 -7
  191. package/src/theming/ThemeLoaded.js +22 -0
  192. package/src/theming/applyTheme.js +78 -0
  193. package/src/theming/createThemePropertiesStyleTag.js +20 -0
  194. package/src/theming/getConstructableStyle.js +30 -0
  195. package/src/theming/getEffectiveStyle.js +30 -0
  196. package/src/theming/getStylesString.js +13 -0
  197. package/src/theming/getThemeDesignerTheme.js +67 -0
  198. package/src/thirdparty/_merge.js +32 -0
  199. package/src/thirdparty/isPlainObject.js +18 -0
  200. package/src/thirdparty/merge.js +10 -0
  201. package/src/types/CSSColor.js +9 -0
  202. package/{dist/dates → src/types}/CalendarType.js +2 -2
  203. package/src/types/DataType.js +13 -1
  204. package/src/types/Float.js +14 -0
  205. package/src/types/Integer.js +4 -0
  206. package/src/types/InvisibleMessageMode.js +30 -0
  207. package/src/types/ItemNavigationBehavior.js +2 -7
  208. package/src/types/NavigationMode.js +1 -0
  209. package/src/types/PopupState.js +1 -1
  210. package/src/types/ValueState.js +2 -1
  211. package/src/updateShadowRoot.js +26 -0
  212. package/src/util/AriaLabelHelper.js +41 -0
  213. package/src/util/Caret.js +45 -0
  214. package/src/util/ColorConversion.js +370 -0
  215. package/src/util/FocusableElements.js +25 -8
  216. package/src/util/HTMLSanitizer.js +7 -0
  217. package/src/util/InvisibleMessage.js +58 -0
  218. package/src/util/PopupUtils.js +93 -0
  219. package/src/util/SlotsHelper.js +43 -0
  220. package/src/util/StringHelper.js +17 -2
  221. package/src/util/TabbableElements.js +5 -2
  222. package/src/util/arraysAreEqual.js +15 -0
  223. package/src/util/clamp.js +12 -0
  224. package/src/util/debounce.js +17 -0
  225. package/src/util/detectNavigatorLanguage.js +3 -1
  226. package/src/util/encodeCSS.js +24 -0
  227. package/src/util/findNodeOwner.js +35 -0
  228. package/src/util/getActiveElement.js +11 -0
  229. package/src/util/getClassCopy.js +10 -0
  230. package/src/util/getEffectiveContentDensity.js +5 -0
  231. package/src/util/getFileExtension.js +21 -0
  232. package/src/util/getSingletonElementInstance.js +13 -0
  233. package/src/util/isElementInView.js +15 -0
  234. package/src/util/isNodeHidden.js +1 -5
  235. package/src/util/isNodeTabbable.js +4 -4
  236. package/src/util/isValidPropertyName.js +11 -2
  237. package/src/util/setToArray.js +10 -0
  238. package/used-modules.txt +7 -0
  239. package/bundle.es5.js +0 -28
  240. package/dist/Assets.js +0 -2
  241. package/dist/CSS.js +0 -48
  242. package/dist/FormatSettings.js +0 -31
  243. package/dist/LocaleProvider.js +0 -34
  244. package/dist/ResourceLoaderOverrides.js +0 -38
  245. package/dist/SVGIconRegistry.js +0 -54
  246. package/dist/boot.js +0 -32
  247. package/dist/compatibility/DOMObserver.js +0 -62
  248. package/dist/compatibility/patchNodeValue.js +0 -24
  249. package/dist/compatibility/whenPolyfillLoaded.js +0 -26
  250. package/dist/dates/CalendarDate.js +0 -203
  251. package/dist/dates/CalendarUtils.js +0 -99
  252. package/dist/delegate/CustomResize.js +0 -78
  253. package/dist/delegate/NativeResize.js +0 -44
  254. package/dist/events/PseudoEvents.js +0 -58
  255. package/dist/features/browsersupport/Edge.js +0 -6
  256. package/dist/features/browsersupport/IE11.js +0 -41
  257. package/dist/features/calendar/Buddhist.js +0 -1
  258. package/dist/features/calendar/Islamic.js +0 -1
  259. package/dist/features/calendar/Japanese.js +0 -1
  260. package/dist/features/calendar/Persian.js +0 -1
  261. package/dist/generated/assets/cldr/sap/ui/core/cldr/ar.json +0 -5598
  262. package/dist/generated/assets/cldr/sap/ui/core/cldr/ar_EG.json +0 -5598
  263. package/dist/generated/assets/cldr/sap/ui/core/cldr/ar_SA.json +0 -5598
  264. package/dist/generated/assets/cldr/sap/ui/core/cldr/bg.json +0 -4789
  265. package/dist/generated/assets/cldr/sap/ui/core/cldr/ca.json +0 -4801
  266. package/dist/generated/assets/cldr/sap/ui/core/cldr/cs.json +0 -5245
  267. package/dist/generated/assets/cldr/sap/ui/core/cldr/da.json +0 -4696
  268. package/dist/generated/assets/cldr/sap/ui/core/cldr/de.json +0 -4797
  269. package/dist/generated/assets/cldr/sap/ui/core/cldr/de_AT.json +0 -4798
  270. package/dist/generated/assets/cldr/sap/ui/core/cldr/de_CH.json +0 -4796
  271. package/dist/generated/assets/cldr/sap/ui/core/cldr/el.json +0 -4694
  272. package/dist/generated/assets/cldr/sap/ui/core/cldr/el_CY.json +0 -4694
  273. package/dist/generated/assets/cldr/sap/ui/core/cldr/en.json +0 -4777
  274. package/dist/generated/assets/cldr/sap/ui/core/cldr/en_AU.json +0 -4769
  275. package/dist/generated/assets/cldr/sap/ui/core/cldr/en_GB.json +0 -4778
  276. package/dist/generated/assets/cldr/sap/ui/core/cldr/en_HK.json +0 -4784
  277. package/dist/generated/assets/cldr/sap/ui/core/cldr/en_IE.json +0 -4778
  278. package/dist/generated/assets/cldr/sap/ui/core/cldr/en_IN.json +0 -4779
  279. package/dist/generated/assets/cldr/sap/ui/core/cldr/en_NZ.json +0 -4778
  280. package/dist/generated/assets/cldr/sap/ui/core/cldr/en_PG.json +0 -4779
  281. package/dist/generated/assets/cldr/sap/ui/core/cldr/en_SG.json +0 -4780
  282. package/dist/generated/assets/cldr/sap/ui/core/cldr/en_ZA.json +0 -4779
  283. package/dist/generated/assets/cldr/sap/ui/core/cldr/es.json +0 -4719
  284. package/dist/generated/assets/cldr/sap/ui/core/cldr/es_AR.json +0 -4721
  285. package/dist/generated/assets/cldr/sap/ui/core/cldr/es_BO.json +0 -4720
  286. package/dist/generated/assets/cldr/sap/ui/core/cldr/es_CL.json +0 -4721
  287. package/dist/generated/assets/cldr/sap/ui/core/cldr/es_CO.json +0 -4721
  288. package/dist/generated/assets/cldr/sap/ui/core/cldr/es_MX.json +0 -4722
  289. package/dist/generated/assets/cldr/sap/ui/core/cldr/es_PE.json +0 -4720
  290. package/dist/generated/assets/cldr/sap/ui/core/cldr/es_UY.json +0 -4722
  291. package/dist/generated/assets/cldr/sap/ui/core/cldr/es_VE.json +0 -4721
  292. package/dist/generated/assets/cldr/sap/ui/core/cldr/et.json +0 -4776
  293. package/dist/generated/assets/cldr/sap/ui/core/cldr/fa.json +0 -4704
  294. package/dist/generated/assets/cldr/sap/ui/core/cldr/fi.json +0 -4816
  295. package/dist/generated/assets/cldr/sap/ui/core/cldr/fr.json +0 -4788
  296. package/dist/generated/assets/cldr/sap/ui/core/cldr/fr_BE.json +0 -4788
  297. package/dist/generated/assets/cldr/sap/ui/core/cldr/fr_CA.json +0 -4782
  298. package/dist/generated/assets/cldr/sap/ui/core/cldr/fr_CH.json +0 -4806
  299. package/dist/generated/assets/cldr/sap/ui/core/cldr/fr_LU.json +0 -4788
  300. package/dist/generated/assets/cldr/sap/ui/core/cldr/he.json +0 -5133
  301. package/dist/generated/assets/cldr/sap/ui/core/cldr/hi.json +0 -4680
  302. package/dist/generated/assets/cldr/sap/ui/core/cldr/hr.json +0 -4910
  303. package/dist/generated/assets/cldr/sap/ui/core/cldr/hu.json +0 -4664
  304. package/dist/generated/assets/cldr/sap/ui/core/cldr/id.json +0 -4500
  305. package/dist/generated/assets/cldr/sap/ui/core/cldr/it.json +0 -4757
  306. package/dist/generated/assets/cldr/sap/ui/core/cldr/it_CH.json +0 -4757
  307. package/dist/generated/assets/cldr/sap/ui/core/cldr/ja.json +0 -4599
  308. package/dist/generated/assets/cldr/sap/ui/core/cldr/kk.json +0 -4537
  309. package/dist/generated/assets/cldr/sap/ui/core/cldr/ko.json +0 -4574
  310. package/dist/generated/assets/cldr/sap/ui/core/cldr/lt.json +0 -5234
  311. package/dist/generated/assets/cldr/sap/ui/core/cldr/lv.json +0 -4902
  312. package/dist/generated/assets/cldr/sap/ui/core/cldr/ms.json +0 -4352
  313. package/dist/generated/assets/cldr/sap/ui/core/cldr/nb.json +0 -4784
  314. package/dist/generated/assets/cldr/sap/ui/core/cldr/nl.json +0 -4790
  315. package/dist/generated/assets/cldr/sap/ui/core/cldr/nl_BE.json +0 -4790
  316. package/dist/generated/assets/cldr/sap/ui/core/cldr/pl.json +0 -5223
  317. package/dist/generated/assets/cldr/sap/ui/core/cldr/pt.json +0 -4703
  318. package/dist/generated/assets/cldr/sap/ui/core/cldr/pt_PT.json +0 -4753
  319. package/dist/generated/assets/cldr/sap/ui/core/cldr/ro.json +0 -4881
  320. package/dist/generated/assets/cldr/sap/ui/core/cldr/ru.json +0 -5157
  321. package/dist/generated/assets/cldr/sap/ui/core/cldr/ru_UA.json +0 -5157
  322. package/dist/generated/assets/cldr/sap/ui/core/cldr/sk.json +0 -5125
  323. package/dist/generated/assets/cldr/sap/ui/core/cldr/sl.json +0 -5105
  324. package/dist/generated/assets/cldr/sap/ui/core/cldr/sr.json +0 -4908
  325. package/dist/generated/assets/cldr/sap/ui/core/cldr/sv.json +0 -4818
  326. package/dist/generated/assets/cldr/sap/ui/core/cldr/th.json +0 -4633
  327. package/dist/generated/assets/cldr/sap/ui/core/cldr/tr.json +0 -4791
  328. package/dist/generated/assets/cldr/sap/ui/core/cldr/uk.json +0 -5126
  329. package/dist/generated/assets/cldr/sap/ui/core/cldr/vi.json +0 -4510
  330. package/dist/generated/assets/cldr/sap/ui/core/cldr/zh_CN.json +0 -4469
  331. package/dist/generated/assets/cldr/sap/ui/core/cldr/zh_HK.json +0 -4479
  332. package/dist/generated/assets/cldr/sap/ui/core/cldr/zh_SG.json +0 -4479
  333. package/dist/generated/assets/cldr/sap/ui/core/cldr/zh_TW.json +0 -4565
  334. package/dist/json-imports/LocaleData.js +0 -171
  335. package/dist/renderer/ifDefined.js +0 -21
  336. package/dist/resources/bundle.es5.js +0 -212
  337. package/dist/resources/bundle.es5.js.map +0 -1
  338. package/dist/shims/Core-shim.js +0 -52
  339. package/dist/shims/jquery-shim.js +0 -89
  340. package/dist/test-resources/dev-helpers/ExternalThemePresent.js +0 -3
  341. package/dist/theming/StyleInjection.js +0 -67
  342. package/dist/thirdparty/Array.from.js +0 -16
  343. package/dist/thirdparty/Array.prototype.fill.js +0 -44
  344. package/dist/thirdparty/Array.prototype.find.js +0 -46
  345. package/dist/thirdparty/Array.prototype.includes.js +0 -51
  346. package/dist/thirdparty/Element.prototype.closest.js +0 -11
  347. package/dist/thirdparty/Element.prototype.matches.js +0 -6
  348. package/dist/thirdparty/Map.prototype.keys.js +0 -9
  349. package/dist/thirdparty/Number.isInteger.js +0 -5
  350. package/dist/thirdparty/Number.isNaN.js +0 -1
  351. package/dist/thirdparty/Number.parseInt.js +0 -1
  352. package/dist/thirdparty/Object.assign.js +0 -31
  353. package/dist/thirdparty/Object.entries.js +0 -11
  354. package/dist/thirdparty/Symbol.js +0 -2
  355. package/dist/thirdparty/WeakSet.js +0 -27
  356. package/dist/thirdparty/events-polyfills.js +0 -89
  357. package/dist/thirdparty/fetch.js +0 -1
  358. package/dist/thirdparty/template.js +0 -600
  359. package/dist/util/CSSTransformUtils.js +0 -90
  360. package/dist/webcomponentsjs/LICENSE.md +0 -19
  361. package/dist/webcomponentsjs/README.md +0 -229
  362. package/dist/webcomponentsjs/bundles/webcomponents-ce.js +0 -63
  363. package/dist/webcomponentsjs/bundles/webcomponents-ce.js.map +0 -1
  364. package/dist/webcomponentsjs/bundles/webcomponents-sd-ce-pf.js +0 -297
  365. package/dist/webcomponentsjs/bundles/webcomponents-sd-ce-pf.js.map +0 -1
  366. package/dist/webcomponentsjs/bundles/webcomponents-sd-ce.js +0 -208
  367. package/dist/webcomponentsjs/bundles/webcomponents-sd-ce.js.map +0 -1
  368. package/dist/webcomponentsjs/bundles/webcomponents-sd.js +0 -166
  369. package/dist/webcomponentsjs/bundles/webcomponents-sd.js.map +0 -1
  370. package/dist/webcomponentsjs/custom-elements-es5-adapter.js +0 -15
  371. package/dist/webcomponentsjs/package.json +0 -46
  372. package/dist/webcomponentsjs/src/entrypoints/custom-elements-es5-adapter-index.js +0 -16
  373. package/dist/webcomponentsjs/src/entrypoints/webcomponents-bundle-index.js +0 -53
  374. package/dist/webcomponentsjs/src/entrypoints/webcomponents-ce-index.js +0 -17
  375. package/dist/webcomponentsjs/src/entrypoints/webcomponents-sd-ce-index.js +0 -19
  376. package/dist/webcomponentsjs/src/entrypoints/webcomponents-sd-ce-pf-index.js +0 -28
  377. package/dist/webcomponentsjs/src/entrypoints/webcomponents-sd-index.js +0 -18
  378. package/dist/webcomponentsjs/webcomponents-bundle.js +0 -298
  379. package/dist/webcomponentsjs/webcomponents-bundle.js.map +0 -1
  380. package/dist/webcomponentsjs/webcomponents-loader.js +0 -185
  381. package/src/Assets.js +0 -2
  382. package/src/CSS.js +0 -48
  383. package/src/FormatSettings.js +0 -31
  384. package/src/LocaleProvider.js +0 -34
  385. package/src/ResourceLoaderOverrides.js +0 -38
  386. package/src/SVGIconRegistry.js +0 -54
  387. package/src/boot.js +0 -32
  388. package/src/compatibility/DOMObserver.js +0 -62
  389. package/src/compatibility/patchNodeValue.js +0 -24
  390. package/src/compatibility/whenPolyfillLoaded.js +0 -26
  391. package/src/dates/CalendarDate.js +0 -203
  392. package/src/dates/CalendarUtils.js +0 -99
  393. package/src/delegate/CustomResize.js +0 -78
  394. package/src/delegate/NativeResize.js +0 -44
  395. package/src/events/PseudoEvents.js +0 -58
  396. package/src/features/browsersupport/Edge.js +0 -6
  397. package/src/features/browsersupport/IE11.js +0 -41
  398. package/src/features/calendar/Buddhist.js +0 -1
  399. package/src/features/calendar/Islamic.js +0 -1
  400. package/src/features/calendar/Japanese.js +0 -1
  401. package/src/features/calendar/Persian.js +0 -1
  402. package/src/json-imports/LocaleData.js +0 -171
  403. package/src/renderer/ifDefined.js +0 -21
  404. package/src/shims/Core-shim.js +0 -52
  405. package/src/shims/jquery-shim.js +0 -89
  406. package/src/theming/StyleInjection.js +0 -67
  407. package/src/thirdparty/Array.from.js +0 -16
  408. package/src/thirdparty/Array.prototype.fill.js +0 -44
  409. package/src/thirdparty/Array.prototype.find.js +0 -46
  410. package/src/thirdparty/Array.prototype.includes.js +0 -51
  411. package/src/thirdparty/Element.prototype.closest.js +0 -11
  412. package/src/thirdparty/Element.prototype.matches.js +0 -6
  413. package/src/thirdparty/Map.prototype.keys.js +0 -9
  414. package/src/thirdparty/Number.isInteger.js +0 -5
  415. package/src/thirdparty/Number.isNaN.js +0 -1
  416. package/src/thirdparty/Number.parseInt.js +0 -1
  417. package/src/thirdparty/Object.assign.js +0 -31
  418. package/src/thirdparty/Object.entries.js +0 -11
  419. package/src/thirdparty/Symbol.js +0 -2
  420. package/src/thirdparty/WeakSet.js +0 -27
  421. package/src/thirdparty/events-polyfills.js +0 -89
  422. package/src/thirdparty/fetch.js +0 -1
  423. package/src/thirdparty/template.js +0 -600
  424. package/src/util/CSSTransformUtils.js +0 -90
@@ -1,123 +1,37 @@
1
- let t={};var e={},n=e.hasOwnProperty,r=e.toString,i=n.toString,a=i.call(Object),o=function(t){var e,o;return!(!t||"[object Object]"!==r.call(t))&&(!(e=Object.getPrototypeOf(t))||"function"==typeof(o=n.call(e,"constructor")&&e.constructor)&&i.call(o)===a)},s={extend:function(){var t,e,n,r,i,a,s=arguments[0]||{},u=1,l=arguments.length,c=!1;for("boolean"==typeof s&&(c=s,s=arguments[u]||{},u++),"object"!=typeof s&&"function"!=typeof s&&(s={}),u===l&&(s=this,u--);u<l;u++)if(null!=(t=arguments[u]))for(e in t)n=s[e],s!==(r=t[e])&&(c&&r&&(o(r)||(i=Array.isArray(r)))?(i?(i=!1,a=n&&Array.isArray(n)?n:[]):a=n&&o(n)?n:{},s[e]=extend(c,a,r)):void 0!==r&&(s[e]=r));return s},ajaxSettings:{converters:{"text json":t=>JSON.parse(t+"")}},trim:function(t){return t.trim()}};window.jQuery=window.jQuery||s,t=s;var u=t=>{const e=/\$([-a-z0-9A-Z._]+)(?::([^$]*))?\$/.exec(t);return e&&e[2]?e[2].split(/,/):null};const l=/^((?:[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 c{constructor(t){const e=l.exec(t.replace(/_/g,"-"));if(null===e)throw new Error(`The given language ${t} does not adhere to BCP-47.`);this.sLocaleId=t,this.sLanguage=e[1]||null,this.sScript=e[2]||null,this.sRegion=e[3]||null,this.sVariant=e[4]&&e[4].slice(1)||null,this.sExtension=e[5]&&e[5].slice(1)||null,this.sPrivateUse=e[6]||null,this.sLanguage&&(this.sLanguage=this.sLanguage.toLowerCase()),this.sScript&&(this.sScript=this.sScript.toLowerCase().replace(/^[a-z]/,t=>t.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(t){return this.getPrivateUseSubtags().indexOf(t)>=0}toString(){const t=[this.sLanguage];return this.sScript&&t.push(this.sScript),this.sRegion&&t.push(this.sRegion),this.sVariant&&t.push(this.sVariant),this.sExtension&&t.push(this.sExtension),this.sPrivateUse&&t.push(this.sPrivateUse),t.join("-")}static get _cldrLocales(){return u("$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$")}static get _coreI18nLocales(){return u("$core-i18n-locales:,ar,bg,ca,cs,da,de,el,en,es,et,fi,fr,hi,hr,hu,it,iw,ja,ko,lt,lv,nl,no,pl,pt,ro,ru,sh,sk,sl,sv,th,tr,uk,vi,zh_CN,zh_TW$")}}var h=()=>{const t=navigator.languages;return t&&t[0]||(()=>navigator.language)()||navigator.userLanguage||navigator.browserLanguage||"en"},d=function(){var t,e,n,r,i,a,s=arguments[0]||{},u=1,l=arguments.length;for("object"!=typeof s&&"function"!=typeof s&&(s={});u<l;u++)for(r in i=arguments[u])t=s[r],s!==(n=i[r])&&(n&&(o(n)||(e=Array.isArray(n)))?(e?(e=!1,a=Array.isArray(t)?t:[]):a=t&&o(t)?t:{},s[r]=d(a,n)):s[r]=n);return s};const p=new Map,g=t=>p.get(t);let f=!1,m={animationMode:"full",theme:"sap_fiori_3",rtl:null,language:null,calendarType:null,noConflict:!1,formatSettings:{}};const y=new Map;y.set("true",!0),y.set("false",!1);const v=()=>{f||((()=>{const t=document.querySelector("[data-ui5-config]")||document.querySelector("[data-id='sap-ui-config']");let e;if(t){try{e=JSON.parse(t.innerHTML)}catch(t){console.warn("Incorrect data-sap-ui-config format. Please use JSON")}e&&(m=d(m,e))}})(),new URLSearchParams(window.location.search).forEach((t,e)=>{if(!e.startsWith("sap-ui"))return;const n=t.toLowerCase(),r=e.split("sap-ui-")[1];y.has(t)&&(t=y.get(n)),m[r]=t}),(()=>{const t=g("OpenUI5Support");if(!t||!t.isLoaded())return;const e=t.getConfigurationSettingsObject();m=d(m,e)})(),f=!0)};let _;const w=()=>(void 0===_&&(_=(()=>(v(),m.language))()),_),C=()=>w()?new c(w()):(t=>{try{if(t&&"string"==typeof t)return new c(t)}catch(t){}})(h()),b={};var D=Object.freeze({__proto__:null,setConfiguration:t=>{},getFormatLocale:()=>C(),getLegacyDateFormat:()=>{},getLegacyDateCalendarCustomizing:()=>{},getCustomLocaleData:()=>b}),T={Gregorian:"Gregorian",Islamic:"Islamic",Japanese:"Japanese",Persian:"Persian",Buddhist:"Buddhist"};let S;const P=()=>{if(void 0===S&&(S=(()=>(v(),m.calendarType))()),S){const t=Object.keys(T).find(t=>t===S);if(t)return t}return T.Gregorian};let M;const E=()=>(void 0===M&&(M=(()=>(v(),m.formatSettings))()),M.firstDayOfWeek),A={getLanguage:w,getCalendarType:P,getFirstDayOfWeek:E,getSupportedLanguages:()=>u("$core-i18n-locales:,ar,bg,ca,cs,da,de,el,en,es,et,fi,fr,hi,hr,hu,it,iw,ja,ko,lt,lv,nl,no,pl,pt,ro,ru,sh,sk,sl,sv,th,tr,uk,vi,zh_CN,zh_TW$"),getOriginInfo:()=>{}},U={getConfiguration:()=>A,getLibraryResourceBundle(){},getFormatSettings:()=>D};window.sap=window.sap||{},window.sap.ui=window.sap.ui||{},window.sap.ui.getWCCore=function(){return U};const x=new Map,O=new Map,L=new Map;window.sap=window.sap||{},window.sap.ui=window.sap.ui||{},sap.ui.loader=sap.ui.loader||{},sap.ui.loader._=sap.ui.loader._||{};const F=sap.ui.loader._.getModuleContent;sap.ui.loader._.getModuleContent=(t,e)=>{const n=L.get(t)||L.get(e);if(n)return n;if(F)return F(t,e);const r=t.match(/sap\/ui\/core\/cldr\/(\w+)\.json/);if(r)throw new Error(`CLDR data for locale ${r[1]} is not loaded!`);return""};g("OpenUI5Support");const I=new Map,k=new Map,R=new Set,N=new Set,j=(t,e,n)=>{n._?k.set(`${t}_${e}`,n._):n.includes(":root")?k.set(`${t}_${e}`,n):I.set(`${t}_${e}`,n),R.add(t),N.add(e)},W=async(t,e)=>{const n=I.get(`${t}_${e}`);if(!n)throw new Error(`You have to import the ${t}/dist/Assets.js module to switch to additional themes`);return(async t=>{x.get(t)||x.set(t,fetch(t));const e=await x.get(t);return O.get(t)||O.set(t,e.json()),O.get(t)})(n)},V=()=>R;var $,Y=function(t,e,n){if(!t)return t;function r(t,e){return function(){var r=t[e].apply(t,arguments);return n?this:r instanceof $?r.getInterface():r}}if($=$||sap.ui.requireSync("sap/ui/base/Object"),!e)return{};for(var i,a=0,o=e.length;a<o;a++)t[i=e[a]]&&"function"!=typeof t[i]||(this[i]=r(t,i))},B={},z=window;function H(t){return Array.isArray(t)?t:t.split(".")}B.create=function(t,e){for(var n=e||z,r=H(t),i=0;i<r.length;i++){var a=r[i];if(null===n[a]||void 0!==n[a]&&"object"!=typeof n[a]&&"function"!=typeof n[a])throw new Error("Could not set object-path for '"+r.join(".")+"', path segment '"+a+"' already exists.");n[a]=n[a]||{},n=n[a]}return n},B.get=function(t,e){for(var n=e||z,r=H(t),i=r.pop(),a=0;a<r.length&&n;a++)n=n[r[a]];return n?n[i]:void 0},B.set=function(t,e,n){n=n||z;var r=H(t),i=r.pop();B.create(r,n)[i]=e};var J,Z,q="undefined"!=typeof window&&window.performance&&performance.now&&performance.timing?(J=performance.timing.navigationStart,function(){return J+performance.now()}):Date.now,G={Level:{NONE:-1,FATAL:0,ERROR:1,WARNING:2,INFO:3,DEBUG:4,TRACE:5,ALL:6}},Q=[],X={"":G.Level.ERROR},K=null,tt=!1;function et(t,e){return("000"+String(t)).slice(-e)}function nt(t){return!t||isNaN(X[t])?X[""]:X[t]}function rt(){return K||(K={listeners:[],onLogEntry:function(t){for(var e=0;e<K.listeners.length;e++)K.listeners[e].onLogEntry&&K.listeners[e].onLogEntry(t)},attach:function(t,e){e&&(K.listeners.push(e),e.onAttachToLog&&e.onAttachToLog(t))},detach:function(t,e){for(var n=0;n<K.listeners.length;n++)if(K.listeners[n]===e)return e.onDetachFromLog&&e.onDetachFromLog(t),void K.listeners.splice(n,1)}}),K}function it(t,e,n,r,i){if(tt&&(i||r||"function"!=typeof n||(i=n,n=""),i||"function"!=typeof r||(i=r,r="")),t<=nt(r=r||Z)){var a=q(),o=new Date(a),s=Math.floor(1e3*(a-Math.floor(a))),u={time:et(o.getHours(),2)+":"+et(o.getMinutes(),2)+":"+et(o.getSeconds(),2)+"."+et(o.getMilliseconds(),3)+et(s,3),date:et(o.getFullYear(),4)+"-"+et(o.getMonth()+1,2)+"-"+et(o.getDate(),2),timestamp:a,level:t,message:String(e||""),details:String(n||""),component:String(r||"")};if(tt&&"function"==typeof i&&(u.supportInfo=i()),Q.push(u),K&&K.onLogEntry(u),console){var l=u.date+" "+u.time+" "+u.message+" - "+u.details+" "+u.component;switch(t){case G.Level.FATAL:case G.Level.ERROR:console.error(l);break;case G.Level.WARNING:console.warn(l);break;case G.Level.INFO:console.info?console.info(l):console.log(l);break;case G.Level.DEBUG:console.debug?console.debug(l):console.log(l);break;case G.Level.TRACE:console.trace?console.trace(l):console.log(l)}console.info&&u.supportInfo&&console.info(u.supportInfo)}return u}}function at(t){this.fatal=function(e,n,r,i){return G.fatal(e,n,r||t,i),this},this.error=function(e,n,r,i){return G.error(e,n,r||t,i),this},this.warning=function(e,n,r,i){return G.warning(e,n,r||t,i),this},this.info=function(e,n,r,i){return G.info(e,n,r||t,i),this},this.debug=function(e,n,r,i){return G.debug(e,n,r||t,i),this},this.trace=function(e,n,r,i){return G.trace(e,n,r||t,i),this},this.setLevel=function(e,n){return G.setLevel(e,n||t),this},this.getLevel=function(e){return G.getLevel(e||t)},this.isLoggable=function(e,n){return G.isLoggable(e,n||t)}}G.fatal=function(t,e,n,r){it(G.Level.FATAL,t,e,n,r)},G.error=function(t,e,n,r){it(G.Level.ERROR,t,e,n,r)},G.warning=function(t,e,n,r){it(G.Level.WARNING,t,e,n,r)},G.info=function(t,e,n,r){it(G.Level.INFO,t,e,n,r)},G.debug=function(t,e,n,r){it(G.Level.DEBUG,t,e,n,r)},G.trace=function(t,e,n,r){it(G.Level.TRACE,t,e,n,r)},G.setLevel=function(t,e,n){var r;(e=e||Z||"",n&&null!=X[e])||(X[e]=t,Object.keys(G.Level).forEach((function(e){G.Level[e]===t&&(r=e)})),it(G.Level.INFO,"Changing log level "+(e?"for '"+e+"' ":"")+"to "+r,"","sap.base.log"))},G.getLevel=function(t){return nt(t||Z)},G.isLoggable=function(t,e){return(null==t?G.Level.DEBUG:t)<=nt(e||Z)},G.logSupportInfo=function(t){tt=t},G.getLogEntries=function(){return Q.slice()},G.addLogListener=function(t){rt().attach(this,t)},G.removeLogListener=function(t){rt().detach(this,t)},G.getLogger=function(t,e){return isNaN(e)||null!=X[t]||(X[t]=e),new at(t)};var ot=function(t,e){if(!t){var n="function"==typeof e?e():e;console&&console.assert?console.assert(t,n):G.debug("[Assertions] "+n)}},st=function(t){ot(t instanceof Array,"uniqueSort: input parameter must be an Array");var e=t.length;if(e>1){t.sort();for(var n=0,r=1;r<e;r++)t[r]!==t[n]&&(t[++n]=t[r]);++n<e&&t.splice(n,e-n)}return t},ut=function(t,e){if(ot("string"==typeof t&&t,"Metadata: sClassName must be a non-empty string"),ot("object"==typeof e,"Metadata: oClassInfo must be empty or an object"),e&&"object"==typeof e.metadata||((e={metadata:e||{},constructor:B.get(t)}).metadata.__version=1),e.metadata.__version=e.metadata.__version||2,"function"!=typeof e.constructor)throw Error("constructor for class "+t+" must have been declared before creating metadata for it");this._sClassName=t,this._oClass=e.constructor,this.extend(e)};ut.prototype.extend=function(t){this.applySettings(t),this.afterApplySettings()},ut.prototype.applySettings=function(t){var e,n=t.metadata;if(n.baseType){var r=B.get(n.baseType);"function"!=typeof r&&G.fatal("base class '"+n.baseType+"' does not exist"),r.getMetadata?(this._oParent=r.getMetadata(),ot(r===r.getMetadata().getClass(),"Metadata: oParentClass must match the class in the parent metadata")):this._oParent=new ut(n.baseType,{})}else this._oParent=void 0;for(var i in this._bAbstract=!!n.abstract,this._bFinal=!!n.final,this._sStereotype=n.stereotype||(this._oParent?this._oParent._sStereotype:"object"),this._bDeprecated=!!n.deprecated,this._aInterfaces=n.interfaces||[],this._aPublicMethods=n.publicMethods||[],this._bInterfacesUnique=!1,e=this._oClass.prototype,t)"metadata"!==i&&"constructor"!==i&&(e[i]=t[i],i.match(/^_|^on|^init$|^exit$/)||this._aPublicMethods.push(i))},ut.prototype.afterApplySettings=function(){this._oParent?(this._aAllPublicMethods=this._oParent._aAllPublicMethods.concat(this._aPublicMethods),this._bInterfacesUnique=!1):this._aAllPublicMethods=this._aPublicMethods},ut.prototype.getStereotype=function(){return this._sStereotype},ut.prototype.getName=function(){return this._sClassName},ut.prototype.getClass=function(){return this._oClass},ut.prototype.getParent=function(){return this._oParent},ut.prototype._dedupInterfaces=function(){this._bInterfacesUnique||(st(this._aInterfaces),st(this._aPublicMethods),st(this._aAllPublicMethods),this._bInterfacesUnique=!0)},ut.prototype.getPublicMethods=function(){return this._dedupInterfaces(),this._aPublicMethods},ut.prototype.getAllPublicMethods=function(){return this._dedupInterfaces(),this._aAllPublicMethods},ut.prototype.getInterfaces=function(){return this._dedupInterfaces(),this._aInterfaces},ut.prototype.isInstanceOf=function(t){if(this._oParent&&this._oParent.isInstanceOf(t))return!0;for(var e=this._aInterfaces,n=0,r=e.length;n<r;n++)if(e[n]===t)return!0;return!1};Object.defineProperty(ut.prototype,"_mImplementedTypes",{get:function(){if(this===ut.prototype)throw new Error("sap.ui.base.Metadata: The '_mImplementedTypes' property must not be accessed on the prototype");var t=Object.create(this._oParent?this._oParent._mImplementedTypes:null);t[this._sClassName]=!0;for(var e=this._aInterfaces,n=e.length;n-- >0;)t[e[n]]||(t[e[n]]=!0);return Object.defineProperty(this,"_mImplementedTypes",{value:Object.freeze(t),writable:!1,configurable:!1}),t},configurable:!0}),ut.prototype.isA=function(t){var e=this._mImplementedTypes;if(Array.isArray(t)){for(var n=0;n<t.length;n++)if(t[n]in e)return!0;return!1}return t in e},ut.prototype.isAbstract=function(){return this._bAbstract},ut.prototype.isFinal=function(){return this._bFinal},ut.prototype.isDeprecated=function(){return this._bDeprecated},ut.prototype.addPublicMethods=function(t){var e=t instanceof Array?t:arguments;Array.prototype.push.apply(this._aPublicMethods,e),Array.prototype.push.apply(this._aAllPublicMethods,e),this._bInterfacesUnique=!1},ut.createClass=function(t,e,n,r){"string"==typeof t&&(r=n,n=e,e=t,t=null),ot(!t||"function"==typeof t),ot("string"==typeof e&&!!e),ot(!n||"object"==typeof n),ot(!r||"function"==typeof r),"function"==typeof(r=r||ut).preprocessClassInfo&&(n=r.preprocessClassInfo(n)),(n=n||{}).metadata=n.metadata||{},n.hasOwnProperty("constructor")||(n.constructor=void 0);var i=n.constructor;ot(!i||"function"==typeof i),t?(i||(i=n.metadata.deprecated?function(){G.warning("Usage of deprecated class: "+e),t.apply(this,arguments)}:function(){t.apply(this,arguments)}),i.prototype=Object.create(t.prototype),i.prototype.constructor=i,n.metadata.baseType=t.getMetadata().getName()):(i=i||function(){},delete n.metadata.baseType),n.constructor=i,B.set(e,i);var a=new r(e,n);return i.getMetadata=i.prototype.getMetadata=function(){return a},i.getMetadata().isFinal()||(i.extend=function(t,e,n){return ut.createClass(i,t,e,n||r)}),i};var lt=ut.createClass("sap.ui.base.Object",{constructor:function(){if(!(this instanceof lt))throw Error('Cannot instantiate object: "new" is missing!')}});lt.prototype.destroy=function(){},lt.prototype.getInterface=function(){var t=new Y(this,this.getMetadata().getAllPublicMethods());return this.getInterface=function(){return t},t},lt.defineClass=function(t,e,n){var r=new(n||ut)(t,e),i=r.getClass();return i.getMetadata=i.prototype.getMetadata=function(){return r},r.isFinal()||(i.extend=function(t,e,r){return ut.createClass(i,t,e,r||n)}),G.debug("defined class '"+t+"'"+(r.getParent()?" as subclass of "+r.getParent().getName():"")),r},lt.prototype.isA=function(t){return this.getMetadata().isA(t)},lt.isA=function(t,e){return t instanceof lt&&t.isA(e)};var ct=/^((?:[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,ht=lt.extend("sap.ui.core.Locale",{constructor:function(t){lt.apply(this);var e=ct.exec(t.replace(/_/g,"-"));if(null===e)throw"The given language '"+t+"' does not adhere to BCP-47.";this.sLocaleId=t,this.sLanguage=e[1]||null,this.sScript=e[2]||null,this.sRegion=e[3]||null,this.sVariant=e[4]&&e[4].slice(1)||null,this.sExtension=e[5]&&e[5].slice(1)||null,this.sPrivateUse=e[6]||null,this.sLanguage&&(this.sLanguage=this.sLanguage.toLowerCase()),this.sScript&&(this.sScript=this.sScript.toLowerCase().replace(/^[a-z]/,(function(t){return t.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(t){return ot(t&&t.match(/^[0-9A-Z]{1,8}$/i),"subtag must be a valid BCP47 private use tag"),this.getPrivateUseSubtags().indexOf(t)>=0},toString:function(){var t=[this.sLanguage];return this.sScript&&t.push(this.sScript),this.sRegion&&t.push(this.sRegion),this.sVariant&&t.push(this.sVariant),this.sExtension&&t.push(this.sExtension),this.sPrivateUse&&t.push(this.sPrivateUse),t.join("-")},getSAPLogonLanguage:function(){var t,e=this.sLanguage||"";return e.indexOf("-")>=0&&(e=e.slice(0,e.indexOf("-"))),"zh"===(e=dt[e]||e)&&("Hant"===this.sScript||!this.sScript&&"TW"===this.sRegion)&&(e="zf"),this.sPrivateUse&&(t=/-(saptrc|sappsd)(?:-|$)/i.exec(this.sPrivateUse))&&(e="saptrc"===t[1].toLowerCase()?"1Q":"2Q"),e.toUpperCase()}}),dt={iw:"he",ji:"yi",in:"id",sh:"sr"};function pt(t){var e=/\$([-a-z0-9A-Z._]+)(?::([^$]*))?\$/.exec(t);return e&&e[2]?e[2].split(/,/):null}var gt=pt("$cldr-rtl-locales:ar,fa,he$")||[];ht._cldrLocales=pt("$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$"),ht._coreI18nLocales=pt("$core-i18n-locales:,ar,bg,ca,cs,da,de,el,en,es,et,fi,fr,hi,hr,hu,it,iw,ja,ko,lt,lv,nl,no,pl,pt,ro,ru,sh,sk,sl,sv,th,tr,uk,vi,zh_CN,zh_TW$"),ht._impliesRTL=function(t){var e=t instanceof ht?t:new ht(t),n=e.getLanguage()||"";n=n&&dt[n]||n;var r=e.getRegion()||"";return!!(r&&gt.indexOf(n+"_"+r)>=0)||gt.indexOf(n)>=0};var ft={loadResource:function(t){return sap.ui.loader._.getModuleContent(t)}},mt=lt.extend("sap.ui.core.LocaleData",{constructor:function(t){this.oLocale=t,lt.apply(this),this.mData=function(t){var e,n=t.getLanguage()||"",r=t.getScript()||"",i=t.getRegion()||"";function a(t){if(!(bt[t]||Ct&&!0!==Ct[t])){var e=bt[t]=ft.loadResource("sap/ui/core/cldr/"+t+".json",{dataType:"json",failOnError:!1});e&&e.__fallbackLocale&&(!function t(e,n){var r,i,a;if(n)for(r in n)n.hasOwnProperty(r)&&(i=e[r],a=n[r],void 0===i?e[r]=a:null===i?delete e[r]:"object"==typeof i&&"object"==typeof a&&t(i,a))}(e,a(e.__fallbackLocale)),delete e.__fallbackLocale)}return bt[t]}"no"===(n=n&&wt[n]||n)&&(n="nb");"zh"!==n||i||("Hans"===r?i="CN":"Hant"===r&&(i="TW"));var o=n+"_"+i;n&&i&&(e=a(o));!e&&n&&(e=a(n));return bt[o]=e||_t,bt[o]}(t)},_get:function(){return this._getDeep(this.mData,arguments)},_getMerged:function(){return this._get.apply(this,arguments)},_getDeep:function(t,e){for(var n=t,r=0;r<e.length&&void 0!==(n=n[e[r]]);r++);return n},getOrientation:function(){return this._get("orientation")},getLanguages:function(){return this._get("languages")},getScripts:function(){return this._get("scripts")},getTerritories:function(){return this._get("territories")},getMonths:function(t,e){return ot("narrow"==t||"abbreviated"==t||"wide"==t,"sWidth must be narrow, abbreviated or wide"),this._get(Dt(e),"months","format",t)},getMonthsStandAlone:function(t,e){return ot("narrow"==t||"abbreviated"==t||"wide"==t,"sWidth must be narrow, abbreviated or wide"),this._get(Dt(e),"months","stand-alone",t)},getDays:function(t,e){return ot("narrow"==t||"abbreviated"==t||"wide"==t||"short"==t,"sWidth must be narrow, abbreviate, wide or short"),this._get(Dt(e),"days","format",t)},getDaysStandAlone:function(t,e){return ot("narrow"==t||"abbreviated"==t||"wide"==t||"short"==t,"sWidth must be narrow, abbreviated, wide or short"),this._get(Dt(e),"days","stand-alone",t)},getQuarters:function(t,e){return ot("narrow"==t||"abbreviated"==t||"wide"==t,"sWidth must be narrow, abbreviated or wide"),this._get(Dt(e),"quarters","format",t)},getQuartersStandAlone:function(t,e){return ot("narrow"==t||"abbreviated"==t||"wide"==t,"sWidth must be narrow, abbreviated or wide"),this._get(Dt(e),"quarters","stand-alone",t)},getDayPeriods:function(t,e){return ot("narrow"==t||"abbreviated"==t||"wide"==t,"sWidth must be narrow, abbreviated or wide"),this._get(Dt(e),"dayPeriods","format",t)},getDayPeriodsStandAlone:function(t,e){return ot("narrow"==t||"abbreviated"==t||"wide"==t,"sWidth must be narrow, abbreviated or wide"),this._get(Dt(e),"dayPeriods","stand-alone",t)},getDatePattern:function(t,e){return ot("short"==t||"medium"==t||"long"==t||"full"==t,"sStyle must be short, medium, long or full"),this._get(Dt(e),"dateFormats",t)},getTimePattern:function(t,e){return ot("short"==t||"medium"==t||"long"==t||"full"==t,"sStyle must be short, medium, long or full"),this._get(Dt(e),"timeFormats",t)},getDateTimePattern:function(t,e){return ot("short"==t||"medium"==t||"long"==t||"full"==t,"sStyle must be short, medium, long or full"),this._get(Dt(e),"dateTimeFormats",t)},getCombinedDateTimePattern:function(t,e,n){ot("short"==t||"medium"==t||"long"==t||"full"==t,"sStyle must be short, medium, long or full"),ot("short"==e||"medium"==e||"long"==e||"full"==e,"sStyle must be short, medium, long or full");var r=this.getDateTimePattern(t,n),i=this.getDatePattern(t,n),a=this.getTimePattern(e,n);return r.replace("{0}",a).replace("{1}",i)},getCustomDateTimePattern:function(t,e){var n=this._get(Dt(e),"dateTimeFormats","availableFormats");return this._getFormatPattern(t,n,e)},getIntervalPattern:function(t,e){var n,r,i,a,o,s=this._get(Dt(e),"dateTimeFormats","intervalFormats");return t&&(r=(n=t.split("-"))[0],i=n[1],(a=s[r])&&(o=a[i]))?o:s.intervalFormatFallback},getCombinedIntervalPattern:function(t,e){return this._get(Dt(e),"dateTimeFormats","intervalFormats").intervalFormatFallback.replace(/\{(0|1)\}/g,t)},getCustomIntervalPattern:function(t,e,n){var r=this._get(Dt(n),"dateTimeFormats","intervalFormats");return this._getFormatPattern(t,r,n,e)},_getFormatPattern:function(t,e,n,r){var i,a,o;if(r?"string"==typeof r&&("j"!=r&&"J"!=r||(r=this.getPreferredHourSymbol()),o=e[t],i=o&&o[r]):i=e[t],i){if("object"!=typeof i)return i;a=Object.keys(i).map((function(t){return i[t]}))}return a||(a=this._createFormatPattern(t,e,n,r)),a&&1===a.length?a[0]:a},_createFormatPattern:function(t,e,n,r){var i,a,o,s,u,l,c,h,d,p=this._parseSkeletonFormat(t),g=this._findBestMatch(p,t,e),f=/^([GyYqQMLwWEecdD]+)([hHkKjJmszZvVOXx]+)$/;if(r){if("string"==typeof r)(c=vt[r]?vt[r].group:"")&&(h=yt[c].index>p[p.length-1].index),l=r;else{for(h=!0,d=p.length-1;d>=0;d--)if(r[(a=p[d]).group]){h=!1;break}for(d=0;d<p.length;d++)if(r[(a=p[d]).group]){l=a.symbol;break}"h"!=l&&"K"!=l||!r.DayPeriod||(l="a")}if(h)return[this.getCustomDateTimePattern(t,n)];g&&0===g.missingTokens.length&&(s=g.pattern[l])&&g.distance>0&&(s=this._expandFields(s,g.patternTokens,p)),s||(o=this._get(Dt(n),"dateTimeFormats","availableFormats"),f.test(t)&&"ahHkKjJms".indexOf(l)>=0?s=this._getMixedFormatPattern(t,o,n,r):(u=this._getFormatPattern(t,o,n),s=this.getCombinedIntervalPattern(u,n))),i=[s]}else if(g){if("string"==typeof g.pattern)i=[g.pattern];else if("object"==typeof g.pattern)for(var m in i=[],g.pattern)s=g.pattern[m],i.push(s);g.distance>0&&(g.missingTokens.length>0?f.test(t)?i=[this._getMixedFormatPattern(t,e,n)]:(i=this._expandFields(i,g.patternTokens,p),i=this._appendItems(i,g.missingTokens,n)):i=this._expandFields(i,g.patternTokens,p))}else i=[s=t];return t.indexOf("J")>=0&&i.forEach((function(t,e){i[e]=t.replace(/ ?[abB](?=([^']*'[^']*')*[^']*)$/g,"")})),i},_parseSkeletonFormat:function(t){for(var e,n,r,i=[],a={index:-1},o=0;o<t.length;o++)if("j"!=(e=t.charAt(o))&&"J"!=e||(e=this.getPreferredHourSymbol()),e!=a.symbol){if(n=vt[e],r=yt[n.group],"Other"==n.group||r.diffOnly)throw new Error("Symbol '"+e+"' is not allowed in skeleton format '"+t+"'");if(r.index<=a.index)throw new Error("Symbol '"+e+"' at wrong position or duplicate in skeleton format '"+t+"'");a={symbol:e,group:n.group,match:n.match,index:r.index,field:r.field,length:1},i.push(a)}else a.length++;return i},_findBestMatch:function(t,e,n){var r,i,a,o,s,u,l,c,h,d,p={distance:1e4,firstDiffPos:-1};for(var g in n)if(!("intervalFormatFallback"===g||g.indexOf("B")>-1||(r=this._parseSkeletonFormat(g),u=0,i=[],l=!0,t.length<r.length))){s=0,c=t.length;for(var f=0;f<t.length;f++){if(a=t[f],o=r[s],c===t.length&&(c=f),o){if(h=vt[a.symbol],d=vt[o.symbol],a.symbol===o.symbol){a.length===o.length?c===f&&(c=t.length):(a.length<h.numericCeiling?o.length<d.numericCeiling:o.length>=d.numericCeiling)?u+=Math.abs(a.length-o.length):u+=5,s++;continue}if(a.match==o.match){u+=Math.abs(a.length-o.length)+10,s++;continue}}i.push(a),u+=50-f}s<r.length&&(l=!1),l&&(u<p.distance||u===p.distance&&c>p.firstDiffPos)&&(p.distance=u,p.firstDiffPos=c,p.missingTokens=i,p.pattern=n[g],p.patternTokens=r)}if(p.pattern)return p},_expandFields:function(t,e,n){var r="string"==typeof t,i=(r?[t]:t).map((function(t){var r,i,a,o,s,u,l,c,h,d,p={},g={},f="",m=!1,y=0;for(n.forEach((function(t){p[t.group]=t})),e.forEach((function(t){g[t.group]=t}));y<t.length;){if(d=t.charAt(y),m)f+=d,"'"==d&&(m=!1);else if((l=vt[d])&&p[l.group]&&g[l.group]){for(s=p[l.group],u=g[l.group],c=vt[s.symbol],h=vt[u.symbol],r=s.length,i=u.length,a=1;t.charAt(y+1)==d;)y++,a++;o=r===i||(r<c.numericCeiling?i>=h.numericCeiling:i<h.numericCeiling)?a:Math.max(a,r);for(var v=0;v<o;v++)f+=d}else f+=d,"'"==d&&(m=!0);y++}return f}));return r?i[0]:i},_appendItems:function(t,e,n){var r=this._get(Dt(n),"dateTimeFormats","appendItems");return t.forEach(function(n,i){var a,o,s;e.forEach(function(e){o=r[e.group],a="'"+this.getDisplayName(e.field)+"'",s="";for(var u=0;u<e.length;u++)s+=e.symbol;t[i]=o.replace(/\{0\}/,n).replace(/\{1\}/,s).replace(/\{2\}/,a)}.bind(this))}.bind(this)),t},_getMixedFormatPattern:function(t,e,n,r){var i,a,o,s,u,l;return a=(i=/^([GyYqQMLwWEecdD]+)([hHkKjJmszZvVOXx]+)$/.exec(t))[1],o=i[2],u=this._getFormatPattern(a,e,n),l=r?this.getCustomIntervalPattern(o,r,n):this._getFormatPattern(o,e,n),s=/MMMM|LLLL/.test(a)?/E|e|c/.test(a)?"full":"long":/MMM|LLL/.test(a)?"medium":"short",this.getDateTimePattern(s,n).replace(/\{1\}/,u).replace(/\{0\}/,l)},getNumberSymbol:function(t){return ot("decimal"==t||"group"==t||"plusSign"==t||"minusSign"==t||"percentSign"==t,"sType must be decimal, group, plusSign, minusSign or percentSign"),this._get("symbols-latn-"+t)},getDecimalPattern:function(){return this._get("decimalFormat").standard},getCurrencyPattern:function(t){return this._get("currencyFormat")[t]||this._get("currencyFormat").standard},getCurrencySpacing:function(t){return this._get("currencyFormat","currencySpacing","after"===t?"afterCurrency":"beforeCurrency")},getPercentPattern:function(){return this._get("percentFormat").standard},getMinimalDaysInFirstWeek:function(){return this._get("weekData-minDays")},getFirstDayOfWeek:function(){return this._get("weekData-firstDay")},getWeekendStart:function(){return this._get("weekData-weekendStart")},getWeekendEnd:function(){return this._get("weekData-weekendEnd")},getCurrencyDigits:function(t){var e=this._get("currency");if(e){if(e[t]&&e[t].hasOwnProperty("digits"))return e[t].digits;if(e.DEFAULT&&e.DEFAULT.hasOwnProperty("digits"))return e.DEFAULT.digits}var n=this._get("currencyDigits",t);return null==n&&null==(n=this._get("currencyDigits","DEFAULT"))&&(n=2),n},getCurrencySymbol:function(t){var e=this._get("currencySymbols");return e&&e[t]||t},getCurrencyCodeBySymbol:function(t){var e,n=this._get("currencySymbols");for(e in n)if(n[e]===t)return e;return t},getUnitDisplayName:function(t){var e=this.getUnitFormat(t);return e&&e.displayName||""},getRelativePatterns:function(t,e){void 0===e&&(e="wide"),ot("wide"===e||"short"===e||"narrow"===e,"sStyle is only allowed to be set with 'wide', 'short' or 'narrow'");var n,r,i,a,o=[],s=this.getPluralCategories();return t||(t=["year","month","week","day","hour","minute","second"]),t.forEach(function(t){for(var u in n=this._get("dateFields",t+"-"+e))0===u.indexOf("relative-type-")?(i=parseInt(u.substr(14)),o.push({scale:t,value:i,pattern:n[u]})):0==u.indexOf("relativeTime-type-")&&(r=n[u],a="past"===u.substr(18)?-1:1,s.forEach((function(e){o.push({scale:t,sign:a,pattern:r["relativeTimePattern-count-"+e]})})))}.bind(this)),o},getRelativePattern:function(t,e,n,r){var i,a;return"string"==typeof n&&(r=n,n=void 0),void 0===n&&(n=e>0),void 0===r&&(r="wide"),ot("wide"===r||"short"===r||"narrow"===r,"sStyle is only allowed to be set with 'wide', 'short' or 'narrow'"),a=t+"-"+r,0!==e&&-2!==e&&2!==e||(i=this._get("dateFields",a,"relative-type-"+e)),i||(i=this._get("dateFields",a,"relativeTime-type-"+(n?"future":"past"))["relativeTimePattern-count-"+this.getPluralCategory(Math.abs(e).toString())]),i},getRelativeSecond:function(t,e){return this.getRelativePattern("second",t,e)},getRelativeMinute:function(t,e){return 0==t?null:this.getRelativePattern("minute",t,e)},getRelativeHour:function(t,e){return 0==t?null:this.getRelativePattern("hour",t,e)},getRelativeDay:function(t,e){return this.getRelativePattern("day",t,e)},getRelativeWeek:function(t,e){return this.getRelativePattern("week",t,e)},getRelativeMonth:function(t,e){return this.getRelativePattern("month",t,e)},getDisplayName:function(t,e){ot("second"==t||"minute"==t||"hour"==t||"zone"==t||"day"==t||"weekday"==t||"week"==t||"month"==t||"quarter"==t||"year"==t||"era"==t,"sType must be second, minute, hour, zone, day, weekday, week, month, quarter, year, era"),void 0===e&&(e="wide"),ot("wide"===e||"short"===e||"narrow"===e,"sStyle is only allowed to be set with 'wide', 'short' or 'narrow'");var n=-1===["era","weekday","zone"].indexOf(t)?t+"-"+e:t;return this._get("dateFields",n,"displayName")},getRelativeYear:function(t,e){return this.getRelativePattern("year",t,e)},getDecimalFormat:function(t,e,n){var r,i;switch(t){case"long":i=this._get("decimalFormat-long");break;default:i=this._get("decimalFormat-short")}if(i){var a=e+"-"+n;(r=i[a])||(r=i[a=e+"-other"])}return r},getCurrencyFormat:function(t,e,n){var r,i;if(i=this._get("currencyFormat-short")){var a=e+"-"+n;(r=i[a])||(r=i[a=e+"-other"])}return r},getListFormat:function(t,e){var n=this._get("listPattern-"+(t||"standard")+"-"+(e||"wide"));return n||{}},getResolvedUnitFormat:function(t){return t=this.getUnitFromMapping(t)||t,this.getUnitFormat(t)},getUnitFormat:function(t){return this._get("units","short",t)},getUnitFormats:function(){return this._getMerged("units","short")},getUnitFromMapping:function(t){return this._get("unitMappings",t)},getEras:function(t,e){ot("wide"==t||"abbreviated"==t||"narrow"==t,"sWidth must be wide, abbreviate or narrow");var n=this._get(Dt(e),"era-"+t),r=[];for(var i in n)r[parseInt(i)]=n[i];return r},getEraDates:function(t){var e=this._get("eras-"+t.toLowerCase()),n=[];for(var r in e)n[parseInt(r)]=e[r];return n},getCalendarWeek:function(t,e){ot("wide"==t||"narrow"==t,"sStyle must be wide or narrow");var n="date.week.calendarweek."+t;return sap.ui.getWCCore().getLibraryResourceBundle("sap.ui.core",this.oLocale.toString()).getText(n,e)},getPreferredCalendarType:function(){var t,e,n,r=this._get("calendarPreference"),i=r?r.split(" "):[];for(n=0;n<i.length;n++)for(e in t=i[n].split("-")[0],T)if(t===e.toLowerCase())return e;return T.Gregorian},getPreferredHourSymbol:function(){return this._get("timeData","_preferred")},getPluralCategories:function(){var t=this._get("plurals"),e=Object.keys(t);return e.push("other"),e},getPluralCategory:function(t){var e=this._get("plurals");for(var n in"number"==typeof t&&(t=t.toString()),this._pluralTest||(this._pluralTest={}),e){var r=this._pluralTest[n];if(r||(r=this._parsePluralRule(e[n]),this._pluralTest[n]=r),r(t))return n}return"other"},_parsePluralRule:function(t){var e,n="or",r="and",i="%",a="=",o="!=",s="n",u="i",l="f",c="t",h="v",d="w",p="..",g=",",f=0;function m(t){return e[f]===t&&(f++,!0)}function y(){var t=e[f];return f++,t}e=t.split(" ");var v=function t(){var e,f;return e=function t(){var e,n;if(e=function(){var t,e,n;if(t=function(){var t;if(t=function(){if(m(s))return function(t){return t.n};if(m(u))return function(t){return t.i};if(m(l))return function(t){return t.f};if(m(c))return function(t){return t.t};if(m(h))return function(t){return t.v};if(m(d))return function(t){return t.w};throw new Error("Unknown operand: "+y())}(),m(i)){var e=parseInt(y());return function(n){return t(n)%e}}return t}(),m(a))n=!0;else{if(!m(o))throw new Error("Expected '=' or '!='");n=!1}return e=function(){var t,e,n,r=[];return y().split(g).forEach((function(i){if(1===(t=i.split(p)).length)r.push(parseInt(i));else{e=parseInt(t[0]),n=parseInt(t[1]);for(var a=e;a<=n;a++)r.push(a)}})),function(t){return r}}(),n?function(n){return e(n).indexOf(t(n))>=0}:function(n){return-1===e(n).indexOf(t(n))}}(),m(r))return n=t(),function(t){return e(t)&&n(t)};return e}(),m(n)?(f=t(),function(t){return e(t)||f(t)}):e}();if(f!=e.length)throw new Error("Not completely parsed");return function(t){var e,n,r,i,a=t.indexOf(".");return-1===a?(e=t,n="",r=""):(e=t.substr(0,a),r=(n=t.substr(a+1)).replace(/0+$/,"")),i={n:parseFloat(t),i:parseInt(e),v:n.length,w:r.length,f:parseInt(n),t:parseInt(r)},v(i)}}}),yt={Era:{field:"era",index:0},Year:{field:"year",index:1},Quarter:{field:"quarter",index:2},Month:{field:"month",index:3},Week:{field:"week",index:4},"Day-Of-Week":{field:"weekday",index:5},Day:{field:"day",index:6},DayPeriod:{field:"hour",index:7,diffOnly:!0},Hour:{field:"hour",index:8},Minute:{field:"minute",index:9},Second:{field:"second",index:10},Timezone:{field:"zone",index:11}},vt={G:{group:"Era",match:"Era",numericCeiling:1},y:{group:"Year",match:"Year",numericCeiling:100},Y:{group:"Year",match:"Year",numericCeiling:100},Q:{group:"Quarter",match:"Quarter",numericCeiling:3},q:{group:"Quarter",match:"Quarter",numericCeiling:3},M:{group:"Month",match:"Month",numericCeiling:3},L:{group:"Month",match:"Month",numericCeiling:3},w:{group:"Week",match:"Week",numericCeiling:100},W:{group:"Week",match:"Week",numericCeiling:100},d:{group:"Day",match:"Day",numericCeiling:100},D:{group:"Day",match:"Day",numericCeiling:100},E:{group:"Day-Of-Week",match:"Day-Of-Week",numericCeiling:1},e:{group:"Day-Of-Week",match:"Day-Of-Week",numericCeiling:3},c:{group:"Day-Of-Week",match:"Day-Of-Week",numericCeiling:2},h:{group:"Hour",match:"Hour12",numericCeiling:100},H:{group:"Hour",match:"Hour24",numericCeiling:100},k:{group:"Hour",match:"Hour24",numericCeiling:100},K:{group:"Hour",match:"Hour12",numericCeiling:100},m:{group:"Minute",match:"Minute",numericCeiling:100},s:{group:"Second",match:"Second",numericCeiling:100},z:{group:"Timezone",match:"Timezone",numericCeiling:1},Z:{group:"Timezone",match:"Timezone",numericCeiling:1},O:{group:"Timezone",match:"Timezone",numericCeiling:1},v:{group:"Timezone",match:"Timezone",numericCeiling:1},V:{group:"Timezone",match:"Timezone",numericCeiling:1},X:{group:"Timezone",match:"Timezone",numericCeiling:1},x:{group:"Timezone",match:"Timezone",numericCeiling:1},S:{group:"Other",numericCeiling:100},u:{group:"Other",numericCeiling:100},U:{group:"Other",numericCeiling:1},r:{group:"Other",numericCeiling:100},F:{group:"Other",numericCeiling:100},g:{group:"Other",numericCeiling:100},a:{group:"DayPeriod",numericCeiling:1},b:{group:"Other",numericCeiling:1},B:{group:"Other",numericCeiling:1},A:{group:"Other",numericCeiling:100}},_t={},wt={iw:"he",ji:"yi",in:"id",sh:"sr"},Ct=function(){var t,e=ht._cldrLocales,n={};if(e)for(t=0;t<e.length;t++)n[e[t]]=!0;return n}(),bt={};function Dt(t){return t||(t=sap.ui.getWCCore().getConfiguration().getCalendarType()),"ca-"+t.toLowerCase()}var Tt=mt.extend("sap.ui.core.CustomLocaleData",{constructor:function(t){mt.apply(this,arguments),this.mCustomData=sap.ui.getWCCore().getFormatSettings().getCustomLocaleData()},_get:function(){var t,e=Array.prototype.slice.call(arguments);0==e[0].indexOf("ca-")&&e[0]==Dt()&&(e=e.slice(1)),t=e.join("-");var n=this.mCustomData[t];return null==n&&null==(n=this._getDeep(this.mCustomData,arguments))&&(n=this._getDeep(this.mData,arguments)),n},_getMerged:function(){var e=this._getDeep(this.mData,arguments),n=this._getDeep(this.mCustomData,arguments);return t.extend({},e,n)}});mt.getInstance=function(t){return t.hasPrivateUseSubtag("sapufmt")?new Tt(t):new mt(t)};var St=new Map,Pt=function(t){return St.get(t)},Mt=function(t,e){St.set(t,e)},Et=lt.extend("sap.ui.core.date.UniversalDate",{constructor:function(){var t=Et.getClass();return this.createDate(t,arguments)}});Et.UTC=function(){var t=Et.getClass();return t.UTC.apply(t,arguments)},Et.now=function(){return Date.now()},Et.prototype.createDate=function(t,e){switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3]);case 5:return new t(e[0],e[1],e[2],e[3],e[4]);case 6:return new t(e[0],e[1],e[2],e[3],e[4],e[5]);case 7:return new t(e[0],e[1],e[2],e[3],e[4],e[5],e[6])}},Et.getInstance=function(t,e){var n,r;return t instanceof Et&&(t=t.getJSDate()),e||(e=sap.ui.getWCCore().getConfiguration().getCalendarType()),n=Et.getClass(e),(r=Object.create(n.prototype)).oDate=t,r.sCalendarType=e,r},Et.getClass=function(t){t||(t=sap.ui.getWCCore().getConfiguration().getCalendarType());var e=Pt(t);if(!e){if(!sap||!sap.ui||!sap.ui.requireSync)throw new Error("Calendar type ["+t+"] is not imported");e=sap.ui.requireSync("sap/ui/core/date/"+t)}return e},["getDate","getMonth","getFullYear","getYear","getDay","getHours","getMinutes","getSeconds","getMilliseconds","getUTCDate","getUTCMonth","getUTCFullYear","getUTCDay","getUTCHours","getUTCMinutes","getUTCSeconds","getUTCMilliseconds","getTime","valueOf","getTimezoneOffset","toString","toDateString","setDate","setFullYear","setYear","setMonth","setHours","setMinutes","setSeconds","setMilliseconds","setUTCDate","setUTCFullYear","setUTCMonth","setUTCHours","setUTCMinutes","setUTCSeconds","setUTCMilliseconds"].forEach((function(t){Et.prototype[t]=function(){return this.oDate[t].apply(this.oDate,arguments)}})),Et.prototype.getJSDate=function(){return this.oDate},Et.prototype.getCalendarType=function(){return this.sCalendarType},Et.prototype.getEra=function(){return Et.getEraByDate(this.sCalendarType,this.oDate.getFullYear(),this.oDate.getMonth(),this.oDate.getDate())},Et.prototype.setEra=function(t){},Et.prototype.getUTCEra=function(){return Et.getEraByDate(this.sCalendarType,this.oDate.getUTCFullYear(),this.oDate.getUTCMonth(),this.oDate.getUTCDate())},Et.prototype.setUTCEra=function(t){},Et.prototype.getWeek=function(){return Et.getWeekByDate(this.sCalendarType,this.getFullYear(),this.getMonth(),this.getDate())},Et.prototype.setWeek=function(t){var e=Et.getFirstDateOfWeek(this.sCalendarType,t.year||this.getFullYear(),t.week);this.setFullYear(e.year,e.month,e.day)},Et.prototype.getUTCWeek=function(){return Et.getWeekByDate(this.sCalendarType,this.getUTCFullYear(),this.getUTCMonth(),this.getUTCDate())},Et.prototype.setUTCWeek=function(t){var e=Et.getFirstDateOfWeek(this.sCalendarType,t.year||this.getFullYear(),t.week);this.setUTCFullYear(e.year,e.month,e.day)},Et.prototype.getQuarter=function(){return Math.floor(this.getMonth()/3)},Et.prototype.getUTCQuarter=function(){return Math.floor(this.getUTCMonth()/3)},Et.prototype.getDayPeriod=function(){return this.getHours()<12?0:1},Et.prototype.getUTCDayPeriod=function(){return this.getUTCHours()<12?0:1},Et.prototype.getTimezoneShort=function(){if(this.oDate.getTimezoneShort)return this.oDate.getTimezoneShort()},Et.prototype.getTimezoneLong=function(){if(this.oDate.getTimezoneLong)return this.oDate.getTimezoneLong()};var At=6048e5;function Ut(t,e){for(var n=sap.ui.getWCCore().getFormatSettings().getFormatLocale(),r=mt.getInstance(n),i=r.getMinimalDaysInFirstWeek(),a=sap.ui.getConfiguration().getFirstDateOfWeek()||r.getFirstDayOfWeek(),o=new t(t.UTC(e,0,1)),s=7;o.getUTCDay()!==a;)o.setUTCDate(o.getUTCDate()-1),s--;return s<i&&o.setUTCDate(o.getUTCDate()+7),o}function xt(t,e){return Math.floor((e.valueOf()-t.valueOf())/At)}Et.getWeekByDate=function(t,e,n,r){var i,a,o,s,u=sap.ui.getWCCore().getFormatSettings().getFormatLocale(),l=this.getClass(t),c=Ut(l,e),h=new l(l.UTC(e,n,r));return"US"===u.getRegion()?i=xt(c,h):(o=e+1,s=Ut(l,a=e-1),h>=Ut(l,o)?(e=o,i=0):h<c?(e=a,i=xt(s,h)):i=xt(c,h)),{year:e,week:i}},Et.getFirstDateOfWeek=function(t,e,n){var r=sap.ui.getWCCore().getFormatSettings().getFormatLocale(),i=this.getClass(t),a=Ut(i,e),o=new i(a.valueOf()+n*At);return"US"===r.getRegion()&&0===n&&a.getUTCFullYear()<e?{year:e,month:0,day:1}:{year:o.getUTCFullYear(),month:o.getUTCMonth(),day:o.getUTCDate()}};var Ot={};function Lt(t){var e=sap.ui.getWCCore().getFormatSettings().getFormatLocale(),n=mt.getInstance(e);if(!(r=Ot[t])){var r;(r=n.getEraDates(t))[0]||(r[0]={_start:"1-1-1"});for(var i=0;i<r.length;i++){var a=r[i];a&&(a._start&&(a._startInfo=Ft(a._start)),a._end&&(a._endInfo=Ft(a._end)))}Ot[t]=r}return r}function Ft(t){var e,n,r,i=t.split("-");return""==i[0]?(e=-parseInt(i[1]),n=parseInt(i[2])-1,r=parseInt(i[3])):(e=parseInt(i[0]),n=parseInt(i[1])-1,r=parseInt(i[2])),{timestamp:new Date(0).setUTCFullYear(e,n,r),year:e,month:n,day:r}}Et.getEraByDate=function(t,e,n,r){for(var i,a=Lt(t),o=new Date(0).setUTCFullYear(e,n,r),s=a.length-1;s>=0;s--)if(i=a[s]){if(i._start&&o>=i._startInfo.timestamp)return s;if(i._end&&o<i._endInfo.timestamp)return s}},Et.getCurrentEra=function(t){var e=new Date;return this.getEraByDate(t,e.getFullYear(),e.getMonth(),e.getDate())},Et.getEraStartDate=function(t,e){var n=Lt(t),r=n[e]||n[0];if(r._start)return r._startInfo};var It=Et.extend("sap.ui.core.date.Buddhist",{constructor:function(){var t=arguments;t.length>1&&(t=Nt(t)),this.oDate=this.createDate(Date,t),this.sCalendarType=T.Buddhist}});function kt(t){var e=Et.getEraStartDate(T.Buddhist,0).year,n=t.year-e+1;return t.year<1941&&t.month<3&&(n-=1),null===t.year&&(n=void 0),{year:n,month:t.month,day:t.day}}function Rt(t){var e=Et.getEraStartDate(T.Buddhist,0).year,n=t.year+e-1;return n<1941&&t.month<3&&(n+=1),null===t.year&&(n=void 0),{year:n,month:t.month,day:t.day}}function Nt(t){var e;return e=Rt({year:t[0],month:t[1],day:void 0!==t[2]?t[2]:1}),t[0]=e.year,t}It.UTC=function(){var t=Nt(arguments);return Date.UTC.apply(Date,t)},It.now=function(){return Date.now()},It.prototype._getBuddhist=function(){return kt({year:this.oDate.getFullYear(),month:this.oDate.getMonth(),day:this.oDate.getDate()})},It.prototype._setBuddhist=function(t){var e=Rt(t);return this.oDate.setFullYear(e.year,e.month,e.day)},It.prototype._getUTCBuddhist=function(){return kt({year:this.oDate.getUTCFullYear(),month:this.oDate.getUTCMonth(),day:this.oDate.getUTCDate()})},It.prototype._setUTCBuddhist=function(t){var e=Rt(t);return this.oDate.setUTCFullYear(e.year,e.month,e.day)},It.prototype.getYear=function(){return this._getBuddhist().year},It.prototype.getFullYear=function(){return this._getBuddhist().year},It.prototype.getUTCFullYear=function(){return this._getUTCBuddhist().year},It.prototype.setYear=function(t){var e=this._getBuddhist();return e.year=t,this._setBuddhist(e)},It.prototype.setFullYear=function(t,e,n){var r=this._getBuddhist();return r.year=t,void 0!==e&&(r.month=e),void 0!==n&&(r.day=n),this._setBuddhist(r)},It.prototype.setUTCFullYear=function(t,e,n){var r=this._getUTCBuddhist();return r.year=t,void 0!==e&&(r.month=e),void 0!==n&&(r.day=n),this._setUTCBuddhist(r)},It.prototype.getWeek=function(){return Et.getWeekByDate(this.sCalendarType,this.oDate.getFullYear(),this.getMonth(),this.getDate())},It.prototype.getUTCWeek=function(){return Et.getWeekByDate(this.sCalendarType,this.oDate.getUTCFullYear(),this.getUTCMonth(),this.getUTCDate())},Mt(T.Buddhist,It);var jt=Et.extend("sap.ui.core.date.Islamic",{constructor:function(){var t=arguments;t.length>1&&(t=Jt(t)),this.oDate=this.createDate(Date,t),this.sCalendarType=T.Islamic}});jt.UTC=function(){var t=Jt(arguments);return Date.UTC.apply(Date,t)},jt.now=function(){return Date.now()};var Wt=1721425.5,Vt=1948439.5,$t=-425215872e5,Yt=864e5,Bt=null;function zt(t){var e,n,r,i,a,o,s,u=t.year,l=t.month,c=t.day;if(o=0,l+1>2&&(o=Xt(u)?-1:-2),s=Wt-1+365*(u-1)+Math.floor((u-1)/4)+-Math.floor((u-1)/100)+Math.floor((u-1)/400)+Math.floor((367*(l+1)-362)/12+o+c),a=(s=Math.floor(s)+.5)-Vt,(i=Math.floor(a/29.530588853))<0)(n=i%12)<0&&(n+=12),r=a-Gt(e=Math.floor(i/12)+1,n)+1;else{for(i++;qt(i)>a;)i--;r=a-qt(12*((e=Math.floor(i/12)+1)-1)+(n=i%12))+1}return{day:r,month:n,year:e}}function Ht(t){var e,n,r,i,a,o=t.year,s=t.month,u=t.day+(o<1?Gt(o,s):qt(12*(o-1)+s))+Vt-1,l=Math.floor(u-.5)+.5,c=l-Wt,h=Math.floor(c/146097),d=Qt(c,146097),p=Math.floor(d/36524),g=Qt(d,36524),f=Math.floor(g/1461),m=Qt(g,1461),y=Math.floor(m/365),v=400*h+100*p+4*f+y;return 4!=p&&4!=y&&v++,n=l-(Wt+365*(v-1)+Math.floor((v-1)/4)-Math.floor((v-1)/100)+Math.floor((v-1)/400)),i=0,i=l<Wt-1+365*(v-1)+Math.floor((v-1)/4)-Math.floor((v-1)/100)+Math.floor((v-1)/400)+Math.floor(739/12+(Xt(v)?-1:-2)+1)?0:Xt(v)?1:2,e=Math.floor((12*(n+i)+373)/367),r=Wt-1+365*(v-1)+Math.floor((v-1)/4)-Math.floor((v-1)/100)+Math.floor((v-1)/400),a=0,e>2&&(a=Xt(v)?-1:-2),{day:l-(r+=Math.floor((367*e-362)/12+a+1))+1,month:e-1,year:v}}function Jt(t){var e,n=Array.prototype.slice.call(t);return e=Ht({year:t[0],month:t[1],day:void 0!==t[2]?t[2]:1}),n[0]=e.year,n[1]=e.month,n[2]=e.day,n}function Zt(t){return{year:parseInt(t.substr(0,4)),month:parseInt(t.substr(4,2)),day:parseInt(t.substr(6,2))}}function qt(t){var e,n;Bt||(Bt={},e=sap.ui.getWCCore().getFormatSettings().getLegacyDateFormat(),n=(n=sap.ui.getWCCore().getFormatSettings().getLegacyDateCalendarCustomizing())||[],e||n.length?e&&!n.length||!e&&n.length?G.warning("There is an inconsistency between customization data ["+JSON.stringify(n)+"] and the date format ["+e+"]. Calendar customization won't be used."):(n.forEach((function(t){if(t.dateFormat===e){var n=Zt(t.gregDate),r=(new Date(Date.UTC(n.year,n.month-1,n.day)).getTime()-$t)/Yt,i=12*((n=Zt(t.islamicMonthStart)).year-1)+n.month-1;Bt[i]=r}})),G.info("Working with date format: ["+e+"] and customization: "+JSON.stringify(n))):G.info("No calendar customizations."));var r=Bt[t];r||(r=Gt(Math.floor(t/12)+1,t%12));return r}function Gt(t,e){return Math.ceil(29.5*e)+354*(t-1)+Math.floor((3+11*t)/30)}function Qt(t,e){return t-e*Math.floor(t/e)}function Xt(t){return!(t%400&&(t%4||!(t%100)))}jt.prototype._getIslamic=function(){return zt({day:this.oDate.getDate(),month:this.oDate.getMonth(),year:this.oDate.getFullYear()})},jt.prototype._setIslamic=function(t){var e=Ht(t);return this.oDate.setFullYear(e.year,e.month,e.day)},jt.prototype._getUTCIslamic=function(){return zt({day:this.oDate.getUTCDate(),month:this.oDate.getUTCMonth(),year:this.oDate.getUTCFullYear()})},jt.prototype._setUTCIslamic=function(t){var e=Ht(t);return this.oDate.setUTCFullYear(e.year,e.month,e.day)},jt.prototype.getDate=function(t){return this._getIslamic().day},jt.prototype.getMonth=function(){return this._getIslamic().month},jt.prototype.getYear=function(){return this._getIslamic().year-1400},jt.prototype.getFullYear=function(){return this._getIslamic().year},jt.prototype.setDate=function(t){var e=this._getIslamic();return e.day=t,this._setIslamic(e)},jt.prototype.setMonth=function(t,e){var n=this._getIslamic();return n.month=t,void 0!==e&&(n.day=e),this._setIslamic(n)},jt.prototype.setYear=function(t){var e=this._getIslamic();return e.year=t+1400,this._setIslamic(e)},jt.prototype.setFullYear=function(t,e,n){var r=this._getIslamic();return r.year=t,void 0!==e&&(r.month=e),void 0!==n&&(r.day=n),this._setIslamic(r)},jt.prototype.getUTCDate=function(t){return this._getUTCIslamic().day},jt.prototype.getUTCMonth=function(){return this._getUTCIslamic().month},jt.prototype.getUTCFullYear=function(){return this._getUTCIslamic().year},jt.prototype.setUTCDate=function(t){var e=this._getUTCIslamic();return e.day=t,this._setUTCIslamic(e)},jt.prototype.setUTCMonth=function(t,e){var n=this._getUTCIslamic();return n.month=t,void 0!==e&&(n.day=e),this._setUTCIslamic(n)},jt.prototype.setUTCFullYear=function(t,e,n){var r=this._getUTCIslamic();return r.year=t,void 0!==e&&(r.month=e),void 0!==n&&(r.day=n),this._setUTCIslamic(r)},Mt(T.Islamic,jt);var Kt=Et.extend("sap.ui.core.date.Japanese",{constructor:function(){var t=arguments;t.length>1&&(t=ne(t)),this.oDate=this.createDate(Date,t),this.sCalendarType=T.Japanese}});function te(t){var e=Et.getEraByDate(T.Japanese,t.year,t.month,t.day),n=Et.getEraStartDate(T.Japanese,e).year;return{era:e,year:t.year-n+1,month:t.month,day:t.day}}function ee(t){return{year:Et.getEraStartDate(T.Japanese,t.era).year+t.year-1,month:t.month,day:t.day}}function ne(t){var e,n=t[0];if("number"==typeof n){if(n>=100)return t;n=[Et.getCurrentEra(T.Japanese),n]}else Array.isArray(n)||(n=[]);return e=ee({era:n[0],year:n[1],month:t[1],day:void 0!==t[2]?t[2]:1}),t[0]=e.year,t}Kt.UTC=function(){var t=ne(arguments);return Date.UTC.apply(Date,t)},Kt.now=function(){return Date.now()},Kt.prototype._getJapanese=function(){return te({year:this.oDate.getFullYear(),month:this.oDate.getMonth(),day:this.oDate.getDate()})},Kt.prototype._setJapanese=function(t){var e=ee(t);return this.oDate.setFullYear(e.year,e.month,e.day)},Kt.prototype._getUTCJapanese=function(){return te({year:this.oDate.getUTCFullYear(),month:this.oDate.getUTCMonth(),day:this.oDate.getUTCDate()})},Kt.prototype._setUTCJapanese=function(t){var e=ee(t);return this.oDate.setUTCFullYear(e.year,e.month,e.day)},Kt.prototype.getYear=function(){return this._getJapanese().year},Kt.prototype.getFullYear=function(){return this._getJapanese().year},Kt.prototype.getEra=function(){return this._getJapanese().era},Kt.prototype.getUTCFullYear=function(){return this._getUTCJapanese().year},Kt.prototype.getUTCEra=function(){return this._getUTCJapanese().era},Kt.prototype.setYear=function(t){var e=this._getJapanese();return e.year=t,this._setJapanese(e)},Kt.prototype.setFullYear=function(t,e,n){var r=this._getJapanese();return r.year=t,void 0!==e&&(r.month=e),void 0!==n&&(r.day=n),this._setJapanese(r)},Kt.prototype.setEra=function(t,e,n,r){var i=te(Et.getEraStartDate(T.Japanese,t));return void 0!==e&&(i.year=e),void 0!==n&&(i.month=n),void 0!==r&&(i.day=r),this._setJapanese(i)},Kt.prototype.setUTCFullYear=function(t,e,n){var r=this._getUTCJapanese();return r.year=t,void 0!==e&&(r.month=e),void 0!==n&&(r.day=n),this._setUTCJapanese(r)},Kt.prototype.setUTCEra=function(t,e,n,r){var i=te(Et.getEraStartDate(T.Japanese,t));return void 0!==e&&(i.year=e),void 0!==n&&(i.month=n),void 0!==r&&(i.day=r),this._setUTCJapanese(i)},Kt.prototype.getWeek=function(){return Et.getWeekByDate(this.sCalendarType,this.oDate.getFullYear(),this.getMonth(),this.getDate())},Kt.prototype.getUTCWeek=function(){return Et.getWeekByDate(this.sCalendarType,this.oDate.getUTCFullYear(),this.getUTCMonth(),this.getUTCDate())},Mt(T.Japanese,Kt);var re=Et.extend("sap.ui.core.date.Persian",{constructor:function(){var t=arguments;t.length>1&&(t=oe(t)),this.oDate=this.createDate(Date,t),this.sCalendarType=T.Persian}});re.UTC=function(){var t=oe(arguments);return Date.UTC.apply(Date,t)},re.now=function(){return Date.now()};function ie(t){return function(t){var e,n,r,i=le(t).year,a=i-621,o=se(a),s=ue(i,3,o.march);if((r=t-s)>=0){if(r<=185)return n=1+ce(r,31),e=he(r,31)+1,{year:a,month:n-1,day:e};r-=186}else a-=1,r+=179,1===o.leap&&(r+=1);return n=7+ce(r,30),e=he(r,30)+1,{year:a,month:n-1,day:e}}(ue(t.year,t.month+1,t.day))}function ae(t){return le(function(t,e,n){for(;e<1;)e+=12,t--;for(;e>12;)e-=12,t++;var r=se(t);return ue(r.gy,3,r.march)+31*(e-1)-ce(e,7)*(e-7)+n-1}(t.year,t.month+1,t.day))}function oe(t){var e,n=Array.prototype.slice.call(t);return"number"!=typeof t[0]||"number"!=typeof t[1]||void 0!==t[2]&&"number"!=typeof t[2]?(n[0]=NaN,n[1]=NaN,n[2]=NaN,n):(e=ae({year:t[0],month:t[1],day:void 0!==t[2]?t[2]:1}),n[0]=e.year,n[1]=e.month,n[2]=e.day,n)}function se(t){var e,n,r,i,a,o,s=[-61,9,38,199,426,686,756,818,1111,1181,1210,1635,2060,2097,2192,2262,2324,2394,2456,3178],u=s.length,l=t+621,c=-14,h=s[0];for(o=1;o<u&&(n=(e=s[o])-h,!(t<e));o+=1)c=c+8*ce(n,33)+ce(he(n,33),4),h=e;return c=c+8*ce(a=t-h,33)+ce(he(a,33)+3,4),4===he(n,33)&&n-a==4&&(c+=1),i=20+c-(ce(l,4)-ce(3*(ce(l,100)+1),4)-150),n-a<6&&(a=a-n+33*ce(n+4,33)),-1===(r=he(he(a+1,33)-1,4))&&(r=4),{leap:r,gy:l,march:i}}function ue(t,e,n){var r=ce(1461*(t+ce(e-8,6)+100100),4)+ce(153*he(e+9,12)+2,5)+n-34840408;return r=r-ce(3*ce(t+100100+ce(e-8,6),100),4)+752}function le(t){var e,n,r,i;return e=(e=4*t+139361631)+4*ce(3*ce(4*t+183187720,146097),4)-3908,n=5*ce(he(e,1461),4)+308,r=ce(he(n,153),5)+1,i=he(ce(n,153),12)+1,{year:ce(e,1461)-100100+ce(8-i,6),month:i-1,day:r}}function ce(t,e){return~~(t/e)}function he(t,e){return t-~~(t/e)*e}re.prototype._getPersian=function(){return ie({day:this.oDate.getDate(),month:this.oDate.getMonth(),year:this.oDate.getFullYear()})},re.prototype._setPersian=function(t){var e=ae(t);return this.oDate.setFullYear(e.year,e.month,e.day)},re.prototype._getUTCPersian=function(){return ie({day:this.oDate.getUTCDate(),month:this.oDate.getUTCMonth(),year:this.oDate.getUTCFullYear()})},re.prototype._setUTCPersian=function(t){var e=ae(t);return this.oDate.setUTCFullYear(e.year,e.month,e.day)},re.prototype.getDate=function(t){return this._getPersian().day},re.prototype.getMonth=function(){return this._getPersian().month},re.prototype.getYear=function(){return this._getPersian().year-1300},re.prototype.getFullYear=function(){return this._getPersian().year},re.prototype.setDate=function(t){var e=this._getPersian();return e.day=t,this._setPersian(e)},re.prototype.setMonth=function(t,e){var n=this._getPersian();return n.month=t,void 0!==e&&(n.day=e),this._setPersian(n)},re.prototype.setYear=function(t){var e=this._getPersian();return e.year=t+1300,this._setPersian(e)},re.prototype.setFullYear=function(t,e,n){var r=this._getPersian();return r.year=t,void 0!==e&&(r.month=e),void 0!==n&&(r.day=n),this._setPersian(r)},re.prototype.getUTCDate=function(t){return this._getUTCPersian().day},re.prototype.getUTCMonth=function(){return this._getUTCPersian().month},re.prototype.getUTCFullYear=function(){return this._getUTCPersian().year},re.prototype.setUTCDate=function(t){var e=this._getUTCPersian();return e.day=t,this._setUTCPersian(e)},re.prototype.setUTCMonth=function(t,e){var n=this._getUTCPersian();return n.month=t,void 0!==e&&(n.day=e),this._setUTCPersian(n)},re.prototype.setUTCFullYear=function(t,e,n){var r=this._getUTCPersian();return r.year=t,void 0!==e&&(r.month=e),void 0!==n&&(r.day=n),this._setUTCPersian(r)},Mt(T.Persian,re),
2
- /**
3
- *
4
- *
5
- * @author Jerry Bendy <jerry@icewingcc.com>
6
- * @licence MIT
7
- *
8
- */
9
- function(t){var e,n=t.URLSearchParams&&t.URLSearchParams.prototype.get?t.URLSearchParams:null,r=n&&"a=1"===new n({a:1}).toString(),i=n&&"+"===new n("s=%2B").get("s"),a="__URLSearchParams__",o=!n||((e=new n).append("s"," &"),"s=+%26"===e.toString()),s=h.prototype,u=!(!t.Symbol||!t.Symbol.iterator);if(!(n&&r&&i&&o)){s.append=function(t,e){m(this[a],t,e)},s.delete=function(t){delete this[a][t]},s.get=function(t){var e=this[a];return t in e?e[t][0]:null},s.getAll=function(t){var e=this[a];return t in e?e[t].slice(0):[]},s.has=function(t){return t in this[a]},s.set=function(t,e){this[a][t]=[""+e]},s.toString=function(){var t,e,n,r,i=this[a],o=[];for(e in i)for(n=d(e),t=0,r=i[e];t<r.length;t++)o.push(n+"="+d(r[t]));return o.join("&")};var l=!!i&&n&&!r&&t.Proxy;Object.defineProperty(t,"URLSearchParams",{value:l?new Proxy(n,{construct:function(t,e){return new t(new h(e[0]).toString())}}):h});var c=t.URLSearchParams.prototype;c.polyfill=!0,c.forEach=c.forEach||function(t,e){var n=f(this.toString());Object.getOwnPropertyNames(n).forEach((function(r){n[r].forEach((function(n){t.call(e,n,r,this)}),this)}),this)},c.sort=c.sort||function(){var t,e,n,r=f(this.toString()),i=[];for(t in r)i.push(t);for(i.sort(),e=0;e<i.length;e++)this.delete(i[e]);for(e=0;e<i.length;e++){var a=i[e],o=r[a];for(n=0;n<o.length;n++)this.append(a,o[n])}},c.keys=c.keys||function(){var t=[];return this.forEach((function(e,n){t.push(n)})),g(t)},c.values=c.values||function(){var t=[];return this.forEach((function(e){t.push(e)})),g(t)},c.entries=c.entries||function(){var t=[];return this.forEach((function(e,n){t.push([n,e])})),g(t)},u&&(c[t.Symbol.iterator]=c[t.Symbol.iterator]||c.entries)}function h(t){((t=t||"")instanceof URLSearchParams||t instanceof h)&&(t=t.toString()),this[a]=f(t)}function d(t){var e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(t).replace(/[!'\(\)~]|%20|%00/g,(function(t){return e[t]}))}function p(t){return decodeURIComponent(t.replace(/\+/g," "))}function g(e){var n={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return u&&(n[t.Symbol.iterator]=function(){return n}),n}function f(t){var e={};if("object"==typeof t)for(var n in t)t.hasOwnProperty(n)&&m(e,n,t[n]);else{0===t.indexOf("?")&&(t=t.slice(1));for(var r=t.split("&"),i=0;i<r.length;i++){var a=r[i],o=a.indexOf("=");-1<o?m(e,p(a.slice(0,o)),p(a.slice(o+1))):a&&m(e,p(a),"")}}return e}function m(t,e,n){var r="string"==typeof n?n:null!=n&&"function"==typeof n.toString?n.toString():JSON.stringify(n);e in t?t[e].push(r):t[e]=[r]}}("undefined"!=typeof global?global:window);(()=>{if(!window.ShadyDOM)return;const t=Object.getOwnPropertyDescriptor(Node.prototype,"nodeValue");Object.defineProperty(Node.prototype,"nodeValue",{get(){return t.get.apply(this)},set(e){t.set.apply(this,arguments);const n=this.parentNode;n instanceof HTMLElement&&n.isUI5Element&&n._processChildren()}})})();const de={},pe=(t,e={})=>{const n=document.createElement("style");return n.type="text/css",Object.entries(e).forEach(t=>n.setAttribute(...t)),n.textContent=t,document.head.appendChild(n),n};let ge;const fe=()=>!!window.CSSVarsPonyfill,me=()=>{ge=void 0,window.CSSVarsPonyfill.cssVars({rootElement:document.head,include:"style[data-ui5-theme-properties],style[data-ui5-element-styles]",silent:!0})},ye=(t,e)=>{pe(e,{"data-ui5-element-styles":t,disabled:"disabled"}),fe()&&(ge||(ge=window.setTimeout(me,0)))},ve=[];const _e=async t=>{let e="";const n=V();n.forEach(async n=>{e=await(async(t,e)=>{const n=k.get(`${t}_${e}`);if(n)return n;if(!N.has(e)){const e=[...N.values()].join(", ");return console.warn(`You have requested a non-registered theme - falling back to sap_fiori_3. Registered themes are: ${e}`),k.get(`${t}_sap_fiori_3`)}const r=await W(t,e);return k.set(`${t}_${e}`,r._),r._})(n,t),((t,e)=>{const n=document.head.querySelector(`style[data-ui5-theme-properties="${e}"]`);if(n)n.textContent=t||"";else{pe(t,{"data-ui5-theme-properties":e})}fe()&&me()})(e,n)}),we(t)},we=t=>{ve.forEach(e=>e(t))},Ce=t=>{const e=(t=>de[t]?de[t].join(""):"")(t.getMetadata().getTag())||"";let n=t.styles;return Array.isArray(n)&&(n=n.join(" ")),`${n} ${e}`};let be;const De=()=>(void 0===be&&(be=(()=>(v(),m.theme))()),be),Te=async t=>{be!==t&&(be=t,await _e(be))},Se=window.sap,Pe=Se&&Se.ui&&"function"==typeof Se.ui.getCore&&Se.ui.getCore();var Me,Ee;Me="OpenUI5Support",Ee={isLoaded:()=>!!Pe,init:()=>Pe?new Promise(t=>{Pe.attachInit(()=>{Se.ui.require(["sap/ui/core/LocaleData"],t)})}):Promise.resolve(),getConfigurationSettingsObject:()=>{if(!Pe)return;const t=Pe.getConfiguration(),e=Se.ui.require("sap/ui/core/LocaleData");return{animationMode:t.getAnimationMode(),language:t.getLanguage(),theme:t.getTheme(),rtl:t.getRTL(),calendarType:t.getCalendarType(),formatSettings:{firstDayOfWeek:e.getInstance(t.getLocale()).getFirstDayOfWeek()}}},getLocaleDataObject:()=>{if(!Pe)return;const t=Pe.getConfiguration();return Se.ui.require("sap/ui/core/LocaleData").getInstance(t.getLocale()).mData},attachListeners:()=>{Pe&&(()=>{const t=Pe.getConfiguration();Pe.attachThemeChanged(async()=>{await Te(t.getTheme())})})()}},p.set(Me,Ee);let Ae;let Ue;const xe=g("OpenUI5Support"),Oe=()=>Ue||(Ue=new Promise(async t=>{xe&&await xe.init(),await(()=>new Promise(t=>{document.body?t():document.addEventListener("DOMContentLoaded",()=>{t()})}))(),await _e(De()),xe&&xe.attachListeners(),(()=>{if(document.querySelector("head>style[data-ui5-font-face]"))return;const t=g("OpenUI5Support");t&&t.isLoaded()||pe('\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":""})})(),await(()=>Ae||(Ae=new Promise(t=>{window.WebComponents&&!window.WebComponents.ready&&window.WebComponents.waitFor?window.WebComponents.waitFor(()=>{t()}):t()}),Ae))(),t()}),Ue),Le=["value-changed"];let Fe;const Ie=()=>(void 0===Fe&&(Fe=(()=>(v(),m.noConflict))()),Fe),ke=t=>{const e=Ie();return!(t=>Le.includes(t))(t)&&(!0===e||!(t=>{const e=Ie();return!(e.events&&e.events.includes&&e.events.includes(t))})(t))},Re=window,Ne=new WeakMap;class je{constructor(){throw new Error("Static class")}static observeDOMNode(t,e,n){let r=Ne.get(t);if(r)throw new Error("A mutation/ShadyDOM observer is already assigned to this node.");Re.ShadyDOM?r=Re.ShadyDOM.observeChildren(t,e):(r=new MutationObserver(e),r.observe(t,n)),Ne.set(t,r)}static unobserveDOMNode(t){const e=Ne.get(t);e&&(e instanceof MutationObserver?e.disconnect():Re.ShadyDOM.unobserveChildren(e),Ne.delete(t))}}class We{static isValid(t){}static generataTypeAcessors(t){Object.keys(t).forEach(e=>{Object.defineProperty(this,e,{get:()=>t[e]})})}}const Ve=t=>Ye(t.split("-")),$e=t=>t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),Ye=t=>t.map((t,e)=>0===e?t.toLowerCase():t.charAt(0).toUpperCase()+t.slice(1).toLowerCase()).join("");class Be{constructor(t){this.metadata=t}static validatePropertyValue(t,e){return e.multiple?t.map(t=>ze(t,e)):ze(t,e)}static validateSlotValue(t,e){return He(t,e)}getTag(){return this.metadata.tag}hasAttribute(t){const e=this.getProperties()[t];return e.type!==Object&&!e.noAttribute}getPropertiesList(){return Object.keys(this.getProperties())}getAttributesList(){return this.getPropertiesList().filter(this.hasAttribute,this).map($e)}getSlots(){return this.metadata.slots||{}}hasSlots(){return!!Object.entries(this.getSlots()).length}getProperties(){return this.metadata.properties||{}}getEvents(){return this.metadata.events||{}}}const ze=(t,e)=>{const n=e.type;return n===Boolean?"boolean"==typeof t&&t:n===String?"string"==typeof t||null==t?t:t.toString():n===Object?"object"==typeof t?t:e.defaultValue:((t,e,n=!1)=>{if("function"!=typeof t||"function"!=typeof e)return!1;if(n&&t===e)return!0;let r=t;do{r=Object.getPrototypeOf(r)}while(null!==r&&r!==e);return r===e})(n,We)?n.isValid(t)?t:e.defaultValue:void 0},He=(t,e)=>{if(null===t)return t;return(t=>{return t instanceof HTMLElement&&"slot"===t.localName?t.assignedNodes({flatten:!0}).filter(t=>t instanceof HTMLElement):[t]})(t).forEach(t=>{if(!(t instanceof e.type))throw new Error(`${t} is not of type ${e.type}`)}),t},Je=()=>{let t=document.querySelector("ui5-static-area");if(t)return t;const e=document.body;return t=document.createElement("ui5-static-area"),e.insertBefore(t,e.firstChild)},Ze=()=>{Je().destroy()};class qe extends HTMLElement{constructor(){super()}get isUI5Element(){return!0}destroy(){const t=document.querySelector(this.tagName.toLowerCase());t.parentElement.removeChild(t)}}customElements.get("ui5-static-area")||customElements.define("ui5-static-area",qe);class Ge{constructor(t){this.ui5ElementContext=t}_updateFragment(){const t=this.ui5ElementContext.constructor.staticAreaTemplate(this.ui5ElementContext),e=this.ui5ElementContext.constructor.staticAreaStyles||!1;this.staticAreaItemDomRef||(this.staticAreaItemDomRef=document.createElement("ui5-static-area-item"),this.staticAreaItemDomRef.attachShadow({mode:"open"}),this.staticAreaItemDomRef.classList.add(this.ui5ElementContext._id),Je().appendChild(this.staticAreaItemDomRef)),this.ui5ElementContext.constructor.render(t,this.staticAreaItemDomRef.shadowRoot,e,{eventContext:this.ui5ElementContext})}_removeFragmentFromStaticArea(){const t=Je();t.removeChild(this.staticAreaItemDomRef),this.staticAreaItemDomRef=null,t.childElementCount<1&&Ze()}_updateContentDensity(t){this.staticAreaItemDomRef&&(t?(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")))}getDomRef(){return this.staticAreaItemDomRef.shadowRoot}}class Qe extends HTMLElement{constructor(){super()}get isUI5Element(){return!0}}customElements.get("ui5-static-area-item")||customElements.define("ui5-static-area-item",Qe);class Xe extends We{static isValid(t){return Number.isInteger(t)}}const Ke=10;let tn;const en=new class{constructor(){this.list=[],this.promises=new Map}add(t){if(this.promises.has(t))return this.promises.get(t);let e;const n=new Promise(t=>{e=t});return n._deferredResolve=e,this.list.push(t),this.promises.set(t,n),n}shift(){const t=this.list.shift();if(t){const e=this.promises.get(t);return this.promises.delete(t),{webComponent:t,promise:e}}}getList(){return this.list}isAdded(t){return this.promises.has(t)}};let nn,rn,an,on;class sn{constructor(){throw new Error("Static class")}static renderDeferred(t){const e=en.add(t);return sn.scheduleRenderTask(),e}static renderImmediately(t){const e=en.add(t);return sn.runRenderTask(),e}static scheduleRenderTask(){tn||(tn=window.requestAnimationFrame(sn.renderWebComponents))}static runRenderTask(){tn||(tn=1,sn.renderWebComponents())}static renderWebComponents(){let t,e,n;const r=new Map;for(;t=en.shift();){e=t.webComponent,n=t.promise;const i=r.get(e)||0;if(i>Ke)throw new Error(`Web component re-rendered too many times this task, max allowed is: ${Ke}`);e._render(),n._deferredResolve(),r.set(e,i+1)}on||(on=setTimeout(()=>{on=void 0,0===en.getList().length&&sn._resolveTaskPromise()},200)),tn=void 0}static whenDOMUpdated(){return nn||(nn=new Promise(t=>{rn=t,window.requestAnimationFrame(()=>{0===en.getList().length&&(nn=void 0,t())})}),nn)}static getNotDefinedComponents(){return Array.from(document.querySelectorAll("*")).filter(t=>t.localName.startsWith("ui5-")&&!t.isUI5Element)}static async whenShadowDOMReady(){const t=this.getNotDefinedComponents().map(t=>customElements.whenDefined(t.localName)),e=new Promise(t=>setTimeout(t,5e3));await Promise.race([Promise.all(t),e]);const n=this.getNotDefinedComponents();return n.length&&console.warn("undefined elements after 5 seconds are: "+[...n].map(t=>t.localName).join(" ; ")),Promise.resolve()}static async whenFinished(){await sn.whenShadowDOMReady(),await sn.whenDOMUpdated()}static _resolveTaskPromise(){en.getList().length>0||rn&&(rn.call(this,an),rn=void 0,nn=void 0)}}const un=(t,e,n,r)=>{const i=n+e.length,a=t.charAt(i),o=t.substring(0,n)+r;if("("===a){const e=((t,e)=>{let n=1;for(let r=e+1;r<t.length;r++){const e=t.charAt(r);if("("===e?n++:")"===e&&n--,0===n)return r}})(t,i);return o+t.substring(i+1,e)+t.substring(e+1)}return o+t.substring(i)},ln=(t,e)=>(t=((t,e,n)=>{let r=t.indexOf(e);for(;-1!==r;)r=(t=un(t,e,r,n)).indexOf(e);return t})(t=t.trim(),"::slotted","")).startsWith(":host")?un(t,":host",0,e):t.match(/^[@0-9]/)||"to"===t||"to{"===t?t:t.match(new RegExp(`^${e}[^a-zA-Z0-9-]`))?t:`${e} ${t}`,cn=new Map,hn=new Set,dn=t=>{const e=t.getMetadata().getTag();if(hn.has(e))return;let n=Ce(t);n=((t,e)=>{t=(t=t.replace(/\n/g," ")).replace(/([{}])/g,"$1\n");let n="";return t.split("\n").forEach(t=>{if(t.match(/{$/)){const n=t.split(",");t=n.map(t=>ln(t,e)).join(",")}n=`${n}${t}`}),n})(n,e),ye(e,n),hn.add(e)},pn=t=>{const e=t.getMetadata().getTag(),n=Ce(t);if(cn.has(e))return cn.get(e);const r=new CSSStyleSheet;return r.replaceSync(n),cn.set(e,r),r},gn=t=>{if("disabled"===t)return!0;return![HTMLElement,Element,Node].some(e=>e.prototype.hasOwnProperty(t))},fn={events:{_propertyChange:{}}},mn=new Set,yn=new Map,vn=new Map,_n="--_ui5_content_density";class wn extends HTMLElement{constructor(){let t;super(),this._generateId(),this._initializeState(),this._upgradeAllProperties(),this._initializeContainers(),this._domRefReadyPromise=new Promise(e=>{t=e}),this._domRefReadyPromise._deferredResolve=t,this._monitoredChildProps=new Map}_generateId(){this._id=this.constructor._nextID()}_initializeContainers(){if(this.constructor._needsShadowDOM()&&(this.attachShadow({mode:"open"}),window.ShadyDOM&&dn(this.constructor),document.adoptedStyleSheets)){const t=pn(this.constructor);this.shadowRoot.adoptedStyleSheets=[t]}this.constructor._needsStaticArea()&&(this.staticAreaItem=new Ge(this))}async connectedCallback(){this.constructor._needsShadowDOM()&&(this._startObservingDOMChildren(),await this._processChildren(),await sn.renderImmediately(this),this._domRefReadyPromise._deferredResolve(),"function"==typeof this.onEnterDOM&&this.onEnterDOM()),this.constructor._needsStaticArea()&&this.staticAreaItem._updateFragment(this)}disconnectedCallback(){this.constructor._needsShadowDOM()&&(this._stopObservingDOMChildren(),"function"==typeof this.onExitDOM&&this.onExitDOM()),this.constructor._needsStaticArea()&&this.staticAreaItem._removeFragmentFromStaticArea()}_startObservingDOMChildren(){if(!this.constructor.getMetadata().hasSlots())return;je.observeDOMNode(this,this._processChildren.bind(this),{childList:!0,subtree:!0,characterData:!0})}_stopObservingDOMChildren(){je.unobserveDOMNode(this)}async _processChildren(){this.constructor.getMetadata().hasSlots()&&await this._updateSlots()}async _updateSlots(){const t=this.constructor.getMetadata().getSlots(),e=t.default&&t.default.type===Node,n=Array.from(e?this.childNodes:this.children);for(const[e,n]of Object.entries(t))this._clearSlot(e);const r=new Map,i=new Map,a=n.map(async(e,n)=>{const a=this.constructor._getSlotName(e),o=t[a];if(void 0===o){const n=Object.keys(t).join(", ");return void console.warn(`Unknown slotName: ${a}, ignoring`,e,`Valid values are: ${n}`)}if(o.individualSlots){const t=(r.get(a)||0)+1;r.set(a,t),e._individualSlot=`${a}-${t}`}if(e instanceof HTMLElement){const t=e.localName;if(t.includes("-")){if(!window.customElements.get(t)){const e=window.customElements.whenDefined(t);let n=vn.get(t);n||(n=new Promise(t=>setTimeout(t,1e3)),vn.set(t,n)),await Promise.race([e,n])}window.customElements.upgrade(e)}}(e=this.constructor.getMetadata().constructor.validateSlotValue(e,o)).isUI5Element&&this._attachChildPropertyUpdated(e,o);const s=o.propertyName||a;i.has(s)?i.get(s).push({child:e,idx:n}):i.set(s,[{child:e,idx:n}])});await Promise.all(a),i.forEach((t,e)=>{this._state[e]=t.sort((t,e)=>t.idx-e.idx).map(t=>t.child)}),this._invalidate()}_clearSlot(t){const e=this.constructor.getMetadata().getSlots()[t].propertyName||t;let n=this._state[e];Array.isArray(n)||(n=[n]),n.forEach(t=>{t&&t.isUI5Element&&this._detachChildPropertyUpdated(t)}),this._state[e]=[],this._invalidate(e,[])}attributeChangedCallback(t,e,n){const r=this.constructor.getMetadata().getProperties(),i=t.replace(/^ui5-/,""),a=Ve(i);if(r.hasOwnProperty(a)){const t=r[a].type;t===Boolean&&(n=null!==n),t===Xe&&(n=parseInt(n)),this[a]=n}}_updateAttribute(t,e){if(!this.constructor.getMetadata().hasAttribute(t))return;if("object"==typeof e)return;const n=$e(t),r=this.getAttribute(n);"boolean"==typeof e?!0===e&&null===r?this.setAttribute(n,""):!1===e&&null!==r&&this.removeAttribute(n):r!==e&&this.setAttribute(n,e)}_upgradeProperty(t){if(this.hasOwnProperty(t)){const e=this[t];delete this[t],this[t]=e}}_upgradeAllProperties(){this.constructor.getMetadata().getPropertiesList().forEach(this._upgradeProperty,this)}_initializeState(){const t=this.constructor._getDefaultState();this._state=Object.assign({},t)}_attachChildPropertyUpdated(t,e){const n=e.listenFor,r=t.constructor.getMetadata(),i=this.constructor._getSlotName(t),a=r.getProperties();let o=[],s=[];n&&(Array.isArray(n)?o=n:(o=Array.isArray(n.props)?n.props:Object.keys(a),s=Array.isArray(n.exclude)?n.exclude:[]),this._monitoredChildProps.has(i)||this._monitoredChildProps.set(i,{observedProps:o,notObservedProps:s}),t.addEventListener("_propertyChange",this._invalidateParentOnPropertyUpdate))}_detachChildPropertyUpdated(t){t.removeEventListener("_propertyChange",this._invalidateParentOnPropertyUpdate)}_propertyChange(t,e){this._updateAttribute(t,e);const n=new CustomEvent("_propertyChange",{detail:{name:t,newValue:e},composed:!1,bubbles:!0});this.dispatchEvent(n)}_invalidateParentOnPropertyUpdate(t){const e=this.parentNode;if(!e)return;const n=e.constructor._getSlotName(this),r=e._monitoredChildProps.get(n);if(!r)return;const{observedProps:i,notObservedProps:a}=r;i.includes(t.detail.name)&&!a.includes(t.detail.name)&&e._invalidate("_parent_",this)}_invalidate(){this._invalidated||this.getDomRef()&&!this._suppressInvalidation&&(this._invalidated=!0,sn.renderDeferred(this))}_render(){this._suppressInvalidation=!0,"function"==typeof this.onBeforeRendering&&this.onBeforeRendering(),this._onComponentStateFinalized&&this._onComponentStateFinalized(),delete this._suppressInvalidation,delete this._invalidated,this._updateShadowRoot(),this.constructor._needsStaticArea()&&this.staticAreaItem._updateFragment(this),this._assignIndividualSlotsToChildren(),"function"==typeof this.onAfterRendering&&this.onAfterRendering()}_updateShadowRoot(){let t;const e=this.constructor.template(this);document.adoptedStyleSheets||window.ShadyDOM||(t=Ce(this.constructor)),this.constructor.render(e,this.shadowRoot,t,{eventContext:this})}_assignIndividualSlotsToChildren(){Array.from(this.children).forEach(t=>{t._individualSlot&&t.setAttribute("slot",t._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 t=this.getDomRef();if(t){return t.querySelector("[data-sap-focus-ref]")||t}}async focus(){await this._waitForDomRef();const t=this.getFocusDomRef();t&&"function"==typeof t.focus&&t.focus()}fireEvent(t,e,n){let r=!0;const i=new CustomEvent(`ui5-${t}`,{detail:e,composed:!1,bubbles:!0,cancelable:n});if(r=this.dispatchEvent(i),ke(t))return r;const a=new CustomEvent(t,{detail:e,composed:!1,bubbles:!0,cancelable:n});return this.dispatchEvent(a)&&r}getSlottedNodes(t){return this[t].reduce((t,e)=>"slot"!==e.localName?t.concat([e]):t.concat(e.assignedNodes({flatten:!0}).filter(t=>t instanceof HTMLElement)),[])}get isCompact(){return"compact"===getComputedStyle(this).getPropertyValue(_n)}updateStaticAreaItemContentDensity(){this.staticAreaItem&&this.staticAreaItem._updateContentDensity(this.isCompact)}get isUI5Element(){return!0}static get observedAttributes(){return this.getMetadata().getAttributesList()}static _nextID(){const t=Ve(this.getMetadata().getTag()),e=yn.get(t),n=void 0!==e?e+1:1;return yn.set(t,n),`__${t}${n}`}static _getSlotName(t){if(!(t instanceof HTMLElement))return"default";const e=t.getAttribute("slot");if(e){const t=e.match(/^(.+?)-\d+$/);return t?t[1]:e}return"default"}static _needsShadowDOM(){return!!this.template}static _needsStaticArea(){return"function"==typeof this.staticAreaTemplate}getStaticAreaItemDomRef(){return this.staticAreaItem.getDomRef()}static _getDefaultState(){if(this._defaultState)return this._defaultState;const t=this.getMetadata(),e={},n=t.getProperties();for(const t in n){const r=n[t].type,i=n[t].defaultValue;r===Boolean?(e[t]=!1,void 0!==i&&console.warn("The 'defaultValue' metadata key is ignored for all booleans properties, they would be initialized with 'false' by default")):n[t].multiple?e[t]=[]:e[t]=r===Object?"defaultValue"in n[t]?n[t].defaultValue:{}:r===String?"defaultValue"in n[t]?n[t].defaultValue:"":i}const r=t.getSlots();for(const[t,n]of Object.entries(r)){e[n.propertyName||t]=[]}return this._defaultState=e,e}static _generateAccessors(){const t=this.prototype,e=this.getMetadata().getProperties();for(const[n,r]of Object.entries(e)){if(!gn(n))throw new Error(`"${n}" is not a valid property name. Use a name that does not collide with DOM APIs`);if("boolean"===r.type&&r.defaultValue)throw new Error(`Cannot set a default value for property "${n}". All booleans are false by default.`);Object.defineProperty(t,n,{get(){if(void 0!==this._state[n])return this._state[n];const t=r.defaultValue;return r.type!==Boolean&&(r.type===String?t:r.multiple?[]:t)},set(t){t=this.constructor.getMetadata().constructor.validatePropertyValue(t,r),this._state[n]!==t&&(this._state[n]=t,this._invalidate(n,t),this._propertyChange(n,t))}})}const n=this.getMetadata().getSlots();for(const[e,r]of Object.entries(n)){if(!gn(e))throw new Error(`"${e}" is not a valid property name. Use a name that does not collide with DOM APIs`);const n=r.propertyName||e;Object.defineProperty(t,n,{get(){return void 0!==this._state[n]?this._state[n]:[]},set(){throw new Error("Cannot set slots directly, use the DOM APIs")}})}}static get metadata(){return fn}static get styles(){return""}static async define(){await Oe(),this.onDefine&&await this.onDefine();const t=this.getMetadata().getTag(),e=mn.has(t),n=customElements.get(t);return n&&!e?console.warn(`Skipping definition of tag ${t}, because it was already defined by another instance of ui5-webcomponents.`):n||(this._generateAccessors(),mn.add(t),window.customElements.define(t,this)),this}static getMetadata(){if(this.hasOwnProperty("_metadata"))return this._metadata;const t=[this.metadata];let e=this;for(;e!==wn;)e=Object.getPrototypeOf(e),t.unshift(e.metadata);const n=d({},...t);return this._metadata=new Be(n),this._metadata}}
1
+ const t={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"]},e={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","sap_horizon"]}.default,s={default:"en",all:["ar","bg","ca","cs","cy","da","de","el","en","en_GB","en_US_sappsd","en_US_saprigi","en_US_saptrc","es","es_MX","et","fi","fr","fr_CA","hi","hr","hu","in","it","iw","ja","kk","ko","lt","lv","ms","nl","no","pl","pt_PT","pt","ro","ru","sh","sk","sl","sv","th","tr","uk","vi","zh_CN","zh_TW"]}.default,n=t.default,i=t.all;var r=()=>{const t=navigator.languages;return t&&t[0]||navigator.language||navigator.userLanguage||navigator.browserLanguage||s},a={},o=a.hasOwnProperty,l=a.toString,c=o.toString,h=c.call(Object),d=function(t){var e,s;return!(!t||"[object Object]"!==l.call(t))&&(!(e=Object.getPrototypeOf(t))||"function"==typeof(s=o.call(e,"constructor")&&e.constructor)&&c.call(s)===h)},u=Object.create(null),p=function(){var t,e,s,n,i,r,a=arguments[2]||{},o=3,l=arguments.length,c=arguments[0]||!1,h=arguments[1]?void 0:u;for("object"!=typeof a&&"function"!=typeof a&&(a={});o<l;o++)if(null!=(i=arguments[o]))for(n in i)t=a[n],s=i[n],"__proto__"!==n&&a!==s&&(c&&s&&(d(s)||(e=Array.isArray(s)))?(e?(e=!1,r=t&&Array.isArray(t)?t:[]):r=t&&d(t)?t:{},a[n]=p(c,arguments[1],r,s)):s!==h&&(a[n]=s));return a},g=function(){var t=[!0,!1];return t.push.apply(t,arguments),p.apply(null,t)};const f=new Map,m=t=>f.get(t);let _=!1,y={animationMode:"full",theme:e,rtl:null,language:null,calendarType:null,noConflict:!1,formatSettings:{},fetchDefaultLanguage:!1};const v=new Map;v.set("true",!0),v.set("false",!1);const w=(t,e,s)=>{const n=e.toLowerCase(),i=t.split(`${s}-`)[1];v.has(e)&&(e=v.get(n)),y[i]=e},A=()=>{_||((()=>{const t=document.querySelector("[data-ui5-config]")||document.querySelector("[data-id='sap-ui-config']");let e;if(t){try{e=JSON.parse(t.innerHTML)}catch(t){console.warn("Incorrect data-sap-ui-config format. Please use JSON")}e&&(y=g(y,e))}})(),(()=>{const t=new URLSearchParams(window.location.search);t.forEach(((t,e)=>{const s=e.split("sap-").length;0!==s&&s!==e.split("sap-ui-").length&&w(e,t,"sap")})),t.forEach(((t,e)=>{e.startsWith("sap-ui")&&w(e,t,"sap-ui")}))})(),(()=>{const t=m("OpenUI5Support");if(!t||!t.isLoaded())return;const e=t.getConfigurationSettingsObject();y=g(y,e)})(),_=!0)};class b{constructor(){this._eventRegistry=new Map}attachEvent(t,e){const s=this._eventRegistry,n=s.get(t);Array.isArray(n)?n.includes(e)||n.push(e):s.set(t,[e])}detachEvent(t,e){const s=this._eventRegistry,n=s.get(t);if(!n)return;const i=n.indexOf(e);-1!==i&&n.splice(i,1),0===n.length&&s.delete(t)}fireEvent(t,e){const s=this._eventRegistry.get(t);return s?s.map((t=>t.call(this,e))):[]}fireEventAsync(t,e){return Promise.all(this.fireEvent(t,e))}isHandlerAttached(t,e){const s=this._eventRegistry.get(t);return!!s&&s.includes(e)}hasListeners(t){return!!this._eventRegistry.get(t)}}const $=new b,S=t=>{$.attachEvent("languageChange",t)};const C=t=>{const e=[];return t.forEach((t=>{e.push(t)})),e},E=new Set,M=new Set;let O;const T=t=>{E.add(t)},P=()=>{console.warn(`The following tags have already been defined by a different UI5 Web Components version: ${C(M).join(", ")}`),M.clear()},x=new Set,L=new Set,I=new b,D=new class{constructor(){this.list=[],this.lookup=new Set}add(t){this.lookup.has(t)||(this.list.push(t),this.lookup.add(t))}remove(t){this.lookup.has(t)&&(this.list=this.list.filter((e=>e!==t)),this.lookup.delete(t))}shift(){const t=this.list.shift();if(t)return this.lookup.delete(t),t}isEmpty(){return 0===this.list.length}isAdded(t){return this.lookup.has(t)}process(t){let e;const s=new Map;for(e=this.shift();e;){const n=s.get(e)||0;if(n>10)throw new Error("Web component processed too many times this task, max allowed is: 10");t(e),s.set(e,n+1),e=this.shift()}}};let R,N,k,U;const j=async t=>{D.add(t),await B()},H=t=>{I.fireEvent("beforeComponentRender",t),L.add(t),t._render()},B=async()=>{U||(U=new Promise((t=>{window.requestAnimationFrame((()=>{D.process(H),U=null,t(),k||(k=setTimeout((()=>{k=void 0,D.isEmpty()&&z()}),200))}))}))),await U},V=()=>{const t=C(E).map((t=>customElements.whenDefined(t)));return Promise.all(t)},Z=async()=>{await V(),await(R||(R=new Promise((t=>{N=t,window.requestAnimationFrame((()=>{D.isEmpty()&&(R=void 0,t())}))})),R))},z=()=>{D.isEmpty()&&N&&(N(),N=void 0,R=void 0)},W=async t=>{L.forEach((e=>{const s=e.constructor.getMetadata().getTag(),n=(i=e.constructor,x.has(i));var i;const r=e.constructor.getMetadata().isLanguageAware();(!t||t.tag===s||t.rtlAware&&n||t.languageAware&&r)&&j(e)})),await Z()};let q,F;const G=()=>(void 0===q&&(A(),q=y.language),q),J=()=>{var t;return void 0===F&&(A(),t=y.fetchDefaultLanguage,F=t),F},K=/^((?:[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 Y{constructor(t){const e=K.exec(t.replace(/_/g,"-"));if(null===e)throw new Error(`The given language ${t} does not adhere to BCP-47.`);this.sLocaleId=t,this.sLanguage=e[1]||null,this.sScript=e[2]||null,this.sRegion=e[3]||null,this.sVariant=e[4]&&e[4].slice(1)||null,this.sExtension=e[5]&&e[5].slice(1)||null,this.sPrivateUse=e[6]||null,this.sLanguage&&(this.sLanguage=this.sLanguage.toLowerCase()),this.sScript&&(this.sScript=this.sScript.toLowerCase().replace(/^[a-z]/,(t=>t.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(t){return this.getPrivateUseSubtags().indexOf(t)>=0}toString(){const t=[this.sLanguage];return this.sScript&&t.push(this.sScript),this.sRegion&&t.push(this.sRegion),this.sVariant&&t.push(this.sVariant),this.sExtension&&t.push(this.sExtension),this.sPrivateUse&&t.push(this.sPrivateUse),t.join("-")}}const X=new Map,Q=t=>(X.has(t)||X.set(t,new Y(t)),X.get(t)),tt=t=>{try{if(t&&"string"==typeof t)return Q(t)}catch(t){}},et=t=>t?tt(t):G()?Q(G()):tt(r()),st=/^((?:[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,nt=/(?:^|-)(saptrc|sappsd)(?:-|$)/i,it={he:"iw",yi:"ji",id:"in",sr:"sh"},rt=t=>{if(!t)return n;if("zh_HK"===t)return"zh_TW";const e=t.lastIndexOf("_");return e>=0?t.slice(0,e):t!==n?n:""},at=new Set,ot=new Set,lt=new Map,ct=new Map,ht=new Map,dt=(t,e)=>{lt.set(t,e)},ut=(t,e)=>{const s=`${t}/${e}`;return ht.has(s)},pt=async t=>{const e=et().getLanguage(),i=et().getRegion();let r=(t=>{let e;if(!t)return n;if("string"==typeof t&&(e=st.exec(t.replace(/_/g,"-")))){let t=e[1].toLowerCase(),s=e[3]?e[3].toUpperCase():void 0;const n=e[2]?e[2].toLowerCase():void 0,i=e[4]?e[4].slice(1):void 0,r=e[6];return t=it[t]||t,r&&(e=nt.exec(r))||i&&(e=nt.exec(i))?`en_US_${e[1].toLowerCase()}`:("zh"!==t||s||("hans"===n?s="CN":"hant"===n&&(s="TW")),t+(s?"_"+s+(i?"_"+i.replace("-","_"):""):""))}})(e+(i?`-${i}`:""));for(;r!==s&&!ut(t,r);)r=rt(r);const a=J();if(r!==s||a)if(ut(t,r))try{const e=await((t,e)=>{const s=`${t}/${e}`,n=ht.get(s);return ct.get(s)||ct.set(s,n(e)),ct.get(s)})(t,r);dt(t,e)}catch(t){ot.has(t.message)||(ot.add(t.message),console.error(t.message))}else(t=>{at.has(t)||(console.warn(`[${t}]: Message bundle assets are not configured. Falling back to English texts.`,` Add \`import "${t}/dist/Assets.js"\` in your bundle and make sure your build tool supports dynamic imports and JSON imports. See section "Assets" in the documentation for more information.`),at.add(t))})(t);else dt(t,null)};S((()=>{const t=[...lt.keys()];return Promise.all(t.map(pt))}));const gt=new Map,ft=new Map,mt=new Map,_t=new Set;let yt=!1;const vt={iw:"he",ji:"yi",in:"id",sh:"sr"},wt=t=>{yt||(console.warn(`[LocaleData] Supported locale "${t}" not configured, import the "Assets.js" module from the webcomponents package you are using.`),yt=!0)},At=(t,e)=>{gt.set(t,e)},bt=async(t,e,s)=>{const r=((t,e,s)=>{"no"===(t=t&&vt[t]||t)&&(t="nb"),"zh"!==t||e||("Hans"===s?e="CN":"Hant"===s&&(e="TW"));let r=`${t}_${e}`;return i.includes(r)?ft.has(r)?r:(wt(r),n):(r=t,i.includes(r)?ft.has(r)?r:(wt(r),n):n)})(t,e,s),a=m("OpenUI5Support");if(a){const t=a.getLocaleDataObject();if(t)return void At(r,t)}try{const t=await(t=>{const e=ft.get(t);return mt.get(t)||mt.set(t,e(t)),mt.get(t)})(r);At(r,t)}catch(t){_t.has(t.message)||(_t.add(t.message),console.error(t.message))}};var $t,St;$t="en",St=async t=>(await fetch("https://ui5.sap.com/1.60.2/resources/sap/ui/core/cldr/en.json")).json(),ft.set($t,St),S((()=>{const t=et();return bt(t.getLanguage(),t.getRegion(),t.getScript())}));const Ct=new Map,Et=new Map,Mt=new Set,Ot=new Set,Tt=(t,e,s)=>{Et.set(`${t}/${e}`,s),Mt.add(t),Ot.add(e)},Pt=async(t,s)=>{const n=Ct.get(`${t}_${s}`);if(void 0!==n)return n;if(!Ot.has(s)){const s=[...Ot.values()].join(", ");return console.warn(`You have requested a non-registered theme - falling back to ${e}. Registered themes are: ${s}`),Ct.get(`${t}_${e}`)}const i=Et.get(`${t}/${s}`);if(!i)return void console.error(`Theme [${s}] not registered for package [${t}]`);let r;try{r=await i(s)}catch(e){return void console.error(t,e.message)}const a=r._||r;return Ct.set(`${t}_${s}`,a),a},xt=()=>Mt,Lt=(t,e=document.body)=>{let s=document.querySelector(t);return s||(s=document.createElement(t),e.insertBefore(s,e.firstChild))},It=(t,e)=>{const s=t.split(".");let n=Lt("ui5-shared-resources",document.head);for(let t=0;t<s.length;t++){const i=s[t],r=t===s.length-1;Object.prototype.hasOwnProperty.call(n,i)||(n[i]=r?e:{}),n=n[i]}return n},Dt=new Map,Rt=It("SVGIcons.registry",new Map),Nt=It("SVGIcons.promises",new Map),kt=(t,{pathData:e,ltr:s,accData:n,collection:i,packageName:r}={})=>{i||(i="SAP-icons");const a=`${i}/${t}`;Rt.set(a,{pathData:e,ltr:s,accData:n,packageName:r})},Ut=async t=>{const{collection:e,registryKey:s}=(t=>{let e;return t.startsWith("sap-icon://")&&(t=t.replace("sap-icon://","")),[t,e]=t.split("/").reverse(),e=e||"SAP-icons","SAP-icons-TNT"===e&&(e="tnt"),"BusinessSuiteInAppSymbols"===e&&(e="business-suite",t=t.replace("icon-","")),{name:t,collection:e,registryKey:`${e}/${t}`}})(t);let n="ICON_NOT_FOUND";try{n=await(async t=>{if(!Nt.has(t)){if(!Dt.has(t))throw new Error(`No loader registered for the ${t} icons collection. Probably you forgot to import the "AllIcons.js" module for the respective package.`);const e=Dt.get(t);Nt.set(t,e(t))}return Nt.get(t)})(e)}catch(t){console.error(t.message)}return"ICON_NOT_FOUND"===n?n:(Rt.has(s)||(t=>{Object.keys(t.data).forEach((e=>{const s=t.data[e];kt(e,{pathData:s.path,ltr:s.ltr,accData:s.acc,collection:t.collection,packageName:t.packageName})}))})(n),Rt.get(s))},jt=(t,e={})=>{const s=document.createElement("style");return s.type="text/css",Object.entries(e).forEach((t=>s.setAttribute(...t))),s.textContent=t,document.head.appendChild(s),s},Ht=(t,e)=>{const s=document.head.querySelector(`style[data-ui5-theme-properties="${e}"]`);if(s)s.textContent=t||"";else{jt(t,{"data-ui5-theme-properties":e})}},Bt=()=>{const t=(()=>{let t=document.querySelector(".sapThemeMetaData-Base-baseLib");if(t)return getComputedStyle(t).backgroundImage;t=document.createElement("span"),t.style.display="none",t.classList.add("sapThemeMetaData-Base-baseLib"),document.body.appendChild(t);const e=getComputedStyle(t).backgroundImage;return document.body.removeChild(t),e})();if(!t||"none"===t)return;const e=(t=>{const e=/\(["']?data:text\/plain;utf-8,(.*?)['"]?\)$/i.exec(t);if(e&&e.length>=2){let t=e[1];if(t=t.replace(/\\"/g,'"'),"{"!==t.charAt(0)&&"}"!==t.charAt(t.length-1))try{t=decodeURIComponent(t)}catch(t){return void console.warn("Malformed theme metadata string, unable to decodeURIComponent")}try{return JSON.parse(t)}catch(t){console.warn("Malformed theme metadata string, unable to parse JSON")}}})(t);return(t=>{let e,s;try{e=t.Path.match(/\.([^.]+)\.css_variables$/)[1],s=t.Extends[0]}catch(e){return void console.warn("Malformed theme metadata Object",t)}return{themeName:e,baseThemeName:s}})(e)},Vt=new b,Zt="@ui5/webcomponents-theme-base",zt=async t=>{if(!xt().has(Zt))return;const e=await Pt(Zt,t);Ht(e,Zt)},Wt=async t=>{const e=(()=>{const t=Bt();if(t)return t;const e=m("OpenUI5Support");if(e&&e.cssVariablesLoaded())return{themeName:e.getConfigurationSettingsObject().theme}})();e&&t===e.themeName?(()=>{const t=document.head.querySelector(`style[data-ui5-theme-properties="${Zt}"]`);t&&t.parentElement.removeChild(t)})():await zt(t);const s=(t=>Ot.has(t))(t)?t:e&&e.baseThemeName;await(async t=>{xt().forEach((async e=>{if(e===Zt)return;const s=await Pt(e,t);Ht(s,e)}))})(s),(t=>{Vt.fireEvent("themeLoaded",t)})(t)};let qt;const Ft=()=>(void 0===qt&&(A(),qt=y.theme),qt),Gt=async t=>{qt!==t&&(qt=t,await Wt(qt))},Jt=It("PopupUtilsData",{});Jt.currentZIndex=Jt.currentZIndex||100;const Kt=()=>Jt.currentZIndex,Yt=()=>{const t=window.sap;return t&&t.ui&&"function"==typeof t.ui.getCore&&t.ui.getCore()};var Xt,Qt;Xt="OpenUI5Support",Qt={isLoaded:()=>!!Yt(),init:()=>{const t=Yt();return t?new Promise((e=>{t.attachInit((()=>{window.sap.ui.require(["sap/ui/core/LocaleData","sap/ui/core/Popup"],((t,s)=>{s.setInitialZIndex(Kt()),e()}))}))})):Promise.resolve()},getConfigurationSettingsObject:()=>{const t=Yt();if(!t)return;const e=t.getConfiguration(),s=window.sap.ui.require("sap/ui/core/LocaleData");return{animationMode:e.getAnimationMode(),language:e.getLanguage(),theme:e.getTheme(),rtl:e.getRTL(),calendarType:e.getCalendarType(),formatSettings:{firstDayOfWeek:s?s.getInstance(e.getLocale()).getFirstDayOfWeek():void 0}}},getLocaleDataObject:()=>{const t=Yt();if(!t)return;const e=t.getConfiguration();return window.sap.ui.require("sap/ui/core/LocaleData").getInstance(e.getLocale())._get()},attachListeners:()=>{Yt()&&(()=>{const t=Yt(),e=t.getConfiguration();t.attachThemeChanged((async()=>{await Gt(e.getTheme())}))})()},cssVariablesLoaded:()=>{if(!Yt())return;const t=[...document.head.children].find((t=>"sap-ui-theme-sap.ui.core"===t.id));return t?!!t.href.match(/\/css(-|_)variables\.css/):void 0},getNextZIndex:()=>{if(!Yt())return;return window.sap.ui.require("sap/ui/core/Popup").getNextZIndex()},setInitialZIndex:()=>{if(!Yt())return;window.sap.ui.require("sap/ui/core/Popup").setInitialZIndex(Kt())}},f.set(Xt,Qt);const te=()=>{document.querySelector("head>style[data-ui5-font-face]")||jt('\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":""})},ee=()=>{document.querySelector("head>style[data-ui5-font-face-override]")||jt("\n\t@font-face {\n\t\tfont-family: '72override';\n\t\tunicode-range: U+0102-0103, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EB7, U+1EB8-1EC7, U+1EC8-1ECB, U+1ECC-1EE3, U+1EE4-1EF1, U+1EF4-1EF7;\n\t\tsrc: local('Arial'), local('Helvetica'), local('sans-serif');\n\t}\n",{"data-ui5-font-face-override":""})};let se=!1;const ne=new b,ie=async()=>{if(se)return;const t=m("OpenUI5Support");t&&await t.init(),await new Promise((t=>{document.body?t():document.addEventListener("DOMContentLoaded",(()=>{t()}))})),await Wt(Ft()),t&&t.attachListeners(),(()=>{const t=m("OpenUI5Support");t&&t.isLoaded()||te(),ee()})(),document.querySelector("head>style[data-ui5-system-css-vars]")||jt('\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 ne.fireEventAsync("boot"),se=!0};class re{static isValid(t){}static attributeToProperty(t){return t}static propertyToAttribute(t){return`${t}`}static valuesAreEqual(t,e){return t===e}static generateTypeAccessors(t){Object.keys(t).forEach((e=>{Object.defineProperty(this,e,{get:()=>t[e]})}))}}const ae=(t,e,s=!1)=>{if("function"!=typeof t||"function"!=typeof e)return!1;if(s&&t===e)return!0;let n=t;do{n=Object.getPrototypeOf(n)}while(null!==n&&n!==e);return n===e},oe=new Map,le=new Map,ce=t=>{if(!oe.has(t)){const e=de(t.split("-"));oe.set(t,e)}return oe.get(t)},he=t=>{if(!le.has(t)){const e=t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();le.set(t,e)}return le.get(t)},de=t=>t.map(((t,e)=>0===e?t.toLowerCase():t.charAt(0).toUpperCase()+t.slice(1).toLowerCase())).join(""),ue=t=>t&&t instanceof HTMLElement&&"slot"===t.localName,pe=t=>ue(t)?t.assignedNodes({flatten:!0}).filter((t=>t instanceof HTMLElement)):[t];let ge={include:[/^ui5-/],exclude:[]};const fe=new Map,me=t=>{if(!fe.has(t)){const e=ge.include.some((e=>t.match(e)))&&!ge.exclude.some((e=>t.match(e)));fe.set(t,e)}return fe.get(t)},_e=t=>{me(t)};class ye{constructor(t){this.metadata=t}getInitialState(){if(Object.prototype.hasOwnProperty.call(this,"_initialState"))return this._initialState;const t={},e=this.slotsAreManaged(),s=this.getProperties();for(const e in s){const n=s[e].type,i=s[e].defaultValue;n===Boolean?(t[e]=!1,void 0!==i&&console.warn("The 'defaultValue' metadata key is ignored for all booleans properties, they would be initialized with 'false' by default")):s[e].multiple?t[e]=[]:t[e]=n===Object?"defaultValue"in s[e]?s[e].defaultValue:{}:n===String?"defaultValue"in s[e]?s[e].defaultValue:"":i}if(e){const e=this.getSlots();for(const[s,n]of Object.entries(e)){t[n.propertyName||s]=[]}}return this._initialState=t,t}static validatePropertyValue(t,e){return e.multiple?t.map((t=>ve(t,e))):ve(t,e)}static validateSlotValue(t,e){return we(t,e)}getPureTag(){return this.metadata.tag}getTag(){const t=this.metadata.tag,e=_e(t);return e?`${t}-${e}`:t}getAltTag(){const t=this.metadata.altTag;if(!t)return;const e=_e(t);return e?`${t}-${e}`:t}hasAttribute(t){const e=this.getProperties()[t];return e.type!==Object&&!e.noAttribute&&!e.multiple}getPropertiesList(){return Object.keys(this.getProperties())}getAttributesList(){return this.getPropertiesList().filter(this.hasAttribute,this).map(he)}getSlots(){return this.metadata.slots||{}}canSlotText(){const t=this.getSlots().default;return t&&t.type===Node}hasSlots(){return!!Object.entries(this.getSlots()).length}hasIndividualSlots(){return this.slotsAreManaged()&&Object.entries(this.getSlots()).some((([t,e])=>e.individualSlots))}slotsAreManaged(){return!!this.metadata.managedSlots}getProperties(){return this.metadata.properties||{}}getEvents(){return this.metadata.events||{}}isLanguageAware(){return!!this.metadata.languageAware}shouldInvalidateOnChildChange(t,e,s){const n=this.getSlots()[t].invalidateOnChildChange;if(void 0===n)return!1;if("boolean"==typeof n)return n;if("object"==typeof n){if("property"===e){if(void 0===n.properties)return!1;if("boolean"==typeof n.properties)return n.properties;if(Array.isArray(n.properties))return n.properties.includes(s);throw new Error("Wrong format for invalidateOnChildChange.properties: boolean or array is expected")}if("slot"===e){if(void 0===n.slots)return!1;if("boolean"==typeof n.slots)return n.slots;if(Array.isArray(n.slots))return n.slots.includes(s);throw new Error("Wrong format for invalidateOnChildChange.slots: boolean or array is expected")}}throw new Error("Wrong format for invalidateOnChildChange: boolean or object is expected")}}const ve=(t,e)=>{const s=e.type;return s===Boolean?"boolean"==typeof t&&t:s===String?"string"==typeof t||null==t?t:t.toString():s===Object?"object"==typeof t?t:e.defaultValue:ae(s,re)?s.isValid(t)?t:e.defaultValue:void 0},we=(t,e)=>(t&&pe(t).forEach((t=>{if(!(t instanceof e.type))throw new Error(`${t} is not of type ${e.type}`)})),t);customElements.get("ui5-static-area")||customElements.define("ui5-static-area",class extends HTMLElement{});const Ae=new b,be=t=>{Ae.attachEvent("CustomCSSChange",t)},$e={},Se=t=>Array.isArray(t)?Ce(t.filter((t=>!!t))).join(" "):t,Ce=t=>t.reduce(((t,e)=>t.concat(Array.isArray(e)?Ce(e):e)),[]),Ee=new Map;be((t=>{Ee.delete(`${t}_normal`)}));const Me=(t,e=!1)=>{const s=t.getMetadata().getTag(),n=`${s}_${e?"static":"normal"}`;if(!Ee.has(n)){let i;if(e)i=Se(t.staticAreaStyles);else{const e=(t=>$e[t]?$e[t].join(""):"")(s)||"";i=`${Se(t.styles)} ${e}`}Ee.set(n,i)}return Ee.get(n)},Oe=new Map;be((t=>{Oe.delete(`${t}_normal`)}));const Te=()=>!!window.ShadyDOM,Pe=(t,e=!1)=>{let s;const n=e?"staticAreaTemplate":"template",i=e?t.staticAreaItem.shadowRoot:t.shadowRoot,r=((t,e)=>{const s=e.constructor.getUniqueDependencies().map((t=>t.getMetadata().getPureTag())).filter(me);return t(e,s,void 0)})(t.constructor[n],t);document.adoptedStyleSheets?i.adoptedStyleSheets=((t,e=!1)=>{const s=`${t.getMetadata().getTag()}_${e?"static":"normal"}`;if(!Oe.has(s)){const n=Me(t,e),i=new CSSStyleSheet;i.replaceSync(n),Oe.set(s,[i])}return Oe.get(s)})(t.constructor,e):Te()||(s=Me(t.constructor,e)),t.constructor.render(r,i,s,{host:t})};const xe={iw:"he",ji:"yi",in:"id",sh:"sr"},Le=(t=>{const e=/\$([-a-z0-9A-Z._]+)(?::([^$]*))?\$/.exec(t);return e&&e[2]?e[2].split(/,/):null})("$cldr-rtl-locales:ar,fa,he$")||[],Ie=()=>{const t=(A(),y.rtl);return null!==t?!!t:(t=>(t=t&&xe[t]||t,Le.indexOf(t)>=0))(G()||r())},De=t=>{const e=window.document,s=["ltr","rtl"],n=getComputedStyle(t).getPropertyValue("--_ui5_dir");return s.includes(n)?n:s.includes(t.dir)?t.dir:s.includes(e.documentElement.dir)?e.documentElement.dir:s.includes(e.body.dir)?e.body.dir:Ie()?"rtl":void 0};class Re extends HTMLElement{constructor(){super(),this._rendered=!1,this.attachShadow({mode:"open"})}setOwnerElement(t){this.ownerElement=t,this.classList.add(this.ownerElement._id)}update(){this._rendered&&(this._updateContentDensity(),this._updateDirection(),Pe(this.ownerElement,!0))}_updateContentDensity(){var t;"compact"===(t=this.ownerElement,getComputedStyle(t).getPropertyValue("--_ui5_content_density"))?(this.classList.add("sapUiSizeCompact"),this.classList.add("ui5-content-density-compact")):(this.classList.remove("sapUiSizeCompact"),this.classList.remove("ui5-content-density-compact"))}_updateDirection(){const t=De(this.ownerElement);t?this.setAttribute("dir",t):this.removeAttribute("dir")}async getDomRef(){return this._updateContentDensity(),this._rendered||(this._rendered=!0,Pe(this.ownerElement,!0)),await Z(),this.shadowRoot}getStableDomRef(t){return this.shadowRoot.querySelector(`[data-ui5-stable=${t}]`)}static getTag(){const t="ui5-static-area-item",e=_e(t);return e?`${t}-${e}`:t}static createInstance(){return customElements.get(Re.getTag())||customElements.define(Re.getTag(),Re),document.createElement(this.getTag())}}const Ne=new WeakMap;const ke=(t,e,s)=>{const n=((t,e,s)=>{const n=new MutationObserver(e);return n.observe(t,s),n})(t,e,s);Ne.set(t,n)},Ue=["value-changed"];let je;const He=()=>(void 0===je&&(A(),je=y.noConflict),je),Be=t=>{const e=He();return!(t=>Ue.includes(t))(t)&&(!0===e||!(t=>{const e=He();return!(e.events&&e.events.includes&&e.events.includes(t))})(t))},Ve=["disabled","title","hidden","role","draggable"],Ze=t=>{if(Ve.includes(t)||t.startsWith("aria"))return!0;return![HTMLElement,Element,Node].some((e=>e.prototype.hasOwnProperty(t)))},ze=(t,e)=>{if(t.length!==e.length)return!1;for(let s=0;s<t.length;s++)if(t[s]!==e[s])return!1;return!0},We=(t,e)=>class extends t{constructor(){super(),e&&e()}};let qe=0;const Fe=new Map,Ge=new Map;function Je(t){this._suppressInvalidation||(this.onInvalidation(t),this._changedState.push(t),j(this),this._eventProvider.fireEvent("invalidate",{...t,target:this}))}class Ke extends HTMLElement{constructor(){let t;super(),this._changedState=[],this._suppressInvalidation=!0,this._inDOM=!1,this._fullyConnected=!1,this._childChangeListeners=new Map,this._slotChangeListeners=new Map,this._eventProvider=new b,this._domRefReadyPromise=new Promise((e=>{t=e})),this._domRefReadyPromise._deferredResolve=t,this._initializeState(),this._upgradeAllProperties(),this.constructor._needsShadowDOM()&&this.attachShadow({mode:"open"})}get _id(){return this.__id||(this.__id="ui5wc_"+ ++qe),this.__id}async connectedCallback(){this.setAttribute(this.constructor.getMetadata().getPureTag(),"");const t=this.constructor.getMetadata().slotsAreManaged();this._inDOM=!0,t&&(this._startObservingDOMChildren(),await this._processChildren()),this._inDOM&&(H(this),this._domRefReadyPromise._deferredResolve(),this._fullyConnected=!0,"function"==typeof this.onEnterDOM&&this.onEnterDOM())}disconnectedCallback(){const t=this.constructor.getMetadata().slotsAreManaged();var e;this._inDOM=!1,t&&this._stopObservingDOMChildren(),this._fullyConnected&&("function"==typeof this.onExitDOM&&this.onExitDOM(),this._fullyConnected=!1),this.staticAreaItem&&this.staticAreaItem.parentElement&&this.staticAreaItem.parentElement.removeChild(this.staticAreaItem),e=this,D.remove(e),L.delete(e)}_startObservingDOMChildren(){if(!this.constructor.getMetadata().hasSlots())return;const t=this.constructor.getMetadata().canSlotText(),e={childList:!0,subtree:t,characterData:t};ke(this,this._processChildren.bind(this),e)}_stopObservingDOMChildren(){(t=>{const e=Ne.get(t);e&&((t=>{t.disconnect()})(e),Ne.delete(t))})(this)}async _processChildren(){this.constructor.getMetadata().hasSlots()&&await this._updateSlots()}async _updateSlots(){const t=this.constructor.getMetadata().getSlots(),e=this.constructor.getMetadata().canSlotText(),s=Array.from(e?this.childNodes:this.children),n=new Map,i=new Map;for(const[e,s]of Object.entries(t)){const t=s.propertyName||e;i.set(t,e),n.set(t,[...this._state[t]]),this._clearSlot(e,s)}const r=new Map,a=new Map,o=s.map((async(e,s)=>{const n=(t=>{if(!(t instanceof HTMLElement))return"default";const e=t.getAttribute("slot");if(e){const t=e.match(/^(.+?)-\d+$/);return t?t[1]:e}return"default"})(e),i=t[n];if(void 0===i){const s=Object.keys(t).join(", ");return void console.warn(`Unknown slotName: ${n}, ignoring`,e,`Valid values are: ${s}`)}if(i.individualSlots){const t=(r.get(n)||0)+1;r.set(n,t),e._individualSlot=`${n}-${t}`}if(e instanceof HTMLElement){const t=e.localName;if(t.includes("-")){if(!window.customElements.get(t)){const e=window.customElements.whenDefined(t);let s=Fe.get(t);s||(s=new Promise((t=>setTimeout(t,1e3))),Fe.set(t,s)),await Promise.race([e,s])}window.customElements.upgrade(e)}}(e=this.constructor.getMetadata().constructor.validateSlotValue(e,i)).isUI5Element&&i.invalidateOnChildChange&&e.attachInvalidate(this._getChildChangeListener(n)),ue(e)&&this._attachSlotChange(e,n);const o=i.propertyName||n;a.has(o)?a.get(o).push({child:e,idx:s}):a.set(o,[{child:e,idx:s}])}));await Promise.all(o),a.forEach(((t,e)=>{this._state[e]=t.sort(((t,e)=>t.idx-e.idx)).map((t=>t.child))}));let l=!1;for(const[e,s]of Object.entries(t)){const t=s.propertyName||e;ze(n.get(t),this._state[t])||(Je.call(this,{type:"slot",name:i.get(t),reason:"children"}),l=!0)}l||Je.call(this,{type:"slot",name:"default",reason:"textcontent"})}_clearSlot(t,e){const s=e.propertyName||t;this._state[s].forEach((e=>{e&&e.isUI5Element&&e.detachInvalidate(this._getChildChangeListener(t)),ue(e)&&this._detachSlotChange(e,t)})),this._state[s]=[]}attachInvalidate(t){this._eventProvider.attachEvent("invalidate",t)}detachInvalidate(t){this._eventProvider.detachEvent("invalidate",t)}_onChildChange(t,e){this.constructor.getMetadata().shouldInvalidateOnChildChange(t,e.type,e.name)&&Je.call(this,{type:"slot",name:t,reason:"childchange",child:e.target})}attributeChangedCallback(t,e,s){const n=this.constructor.getMetadata().getProperties(),i=t.replace(/^ui5-/,""),r=ce(i);if(n.hasOwnProperty(r)){const t=n[r].type;t===Boolean?s=null!==s:ae(t,re)&&(s=t.attributeToProperty(s)),this[r]=s}}_updateAttribute(t,e){if(!this.constructor.getMetadata().hasAttribute(t))return;const s=this.constructor.getMetadata().getProperties()[t].type,n=he(t),i=this.getAttribute(n);s===Boolean?!0===e&&null===i?this.setAttribute(n,""):!1===e&&null!==i&&this.removeAttribute(n):ae(s,re)?this.setAttribute(n,s.propertyToAttribute(e)):"object"!=typeof e&&i!==e&&this.setAttribute(n,e)}_upgradeProperty(t){if(this.hasOwnProperty(t)){const e=this[t];delete this[t],this[t]=e}}_upgradeAllProperties(){this.constructor.getMetadata().getPropertiesList().forEach(this._upgradeProperty,this)}_initializeState(){this._state={...this.constructor.getMetadata().getInitialState()}}_getChildChangeListener(t){return this._childChangeListeners.has(t)||this._childChangeListeners.set(t,this._onChildChange.bind(this,t)),this._childChangeListeners.get(t)}_getSlotChangeListener(t){return this._slotChangeListeners.has(t)||this._slotChangeListeners.set(t,this._onSlotChange.bind(this,t)),this._slotChangeListeners.get(t)}_attachSlotChange(t,e){t.addEventListener("slotchange",this._getSlotChangeListener(e))}_detachSlotChange(t,e){t.removeEventListener("slotchange",this._getSlotChangeListener(e))}_onSlotChange(t){Je.call(this,{type:"slot",name:t,reason:"slotchange"})}onInvalidation(t){}_render(){const t=this.constructor.getMetadata().hasIndividualSlots();this._suppressInvalidation=!0,"function"==typeof this.onBeforeRendering&&this.onBeforeRendering(),this._onComponentStateFinalized&&this._onComponentStateFinalized(),this._suppressInvalidation=!1,this._changedState=[],this.constructor._needsShadowDOM()&&Pe(this),this.staticAreaItem&&this.staticAreaItem.update(),t&&this._assignIndividualSlotsToChildren(),"function"==typeof this.onAfterRendering&&this.onAfterRendering()}_assignIndividualSlotsToChildren(){Array.from(this.children).forEach((t=>{t._individualSlot&&t.setAttribute("slot",t._individualSlot)}))}_waitForDomRef(){return this._domRefReadyPromise}getDomRef(){if(this.shadowRoot&&0!==this.shadowRoot.children.length)return this._assertShadowRootStructure(),1===this.shadowRoot.children.length?this.shadowRoot.children[0]:this.shadowRoot.children[1]}_assertShadowRootStructure(){const t=document.adoptedStyleSheets||Te()?1:2;this.shadowRoot.children.length!==t&&console.warn(`The shadow DOM for ${this.constructor.getMetadata().getTag()} does not have a top level element, the getDomRef() method might not work as expected`)}getFocusDomRef(){const t=this.getDomRef();if(t){return t.querySelector("[data-sap-focus-ref]")||t}}async getFocusDomRefAsync(){return await this._waitForDomRef(),this.getFocusDomRef()}getStableDomRef(t){return this.staticAreaItem&&this.staticAreaItem.getStableDomRef(t)||this.getDomRef().querySelector(`[data-ui5-stable=${t}]`)}async focus(){await this._waitForDomRef();const t=this.getFocusDomRef();t&&"function"==typeof t.focus&&t.focus()}fireEvent(t,e,s=!1,n=!0){const i=this._fireEvent(t,e,s,n),r=ce(t);return r!==t?i&&this._fireEvent(r,e,s):i}_fireEvent(t,e,s=!1,n=!0){const i=new CustomEvent(`ui5-${t}`,{detail:e,composed:!1,bubbles:n,cancelable:s}),r=this.dispatchEvent(i);if(Be(t))return r;const a=new CustomEvent(t,{detail:e,composed:!1,bubbles:n,cancelable:s});return this.dispatchEvent(a)&&r}getSlottedNodes(t){return this[t].reduce(((t,e)=>t.concat(pe(e))),[])}get effectiveDir(){var t;return t=this.constructor,x.add(t),De(this)}get isUI5Element(){return!0}static get observedAttributes(){return this.getMetadata().getAttributesList()}static _needsShadowDOM(){return!!this.template}static _needsStaticArea(){return!!this.staticAreaTemplate}getStaticAreaItemDomRef(){if(!this.constructor._needsStaticArea())throw new Error("This component does not use the static area");return this.staticAreaItem||(this.staticAreaItem=Re.createInstance(),this.staticAreaItem.setOwnerElement(this)),this.staticAreaItem.parentElement||Lt("ui5-static-area").appendChild(this.staticAreaItem),this.staticAreaItem.getDomRef()}static _generateAccessors(){const t=this.prototype,e=this.getMetadata().slotsAreManaged(),s=this.getMetadata().getProperties();for(const[e,n]of Object.entries(s)){if(Ze(e)||console.warn(`"${e}" is not a valid property name. Use a name that does not collide with DOM APIs`),n.type===Boolean&&n.defaultValue)throw new Error(`Cannot set a default value for property "${e}". All booleans are false by default.`);if(n.type===Array)throw new Error(`Wrong type for property "${e}". Properties cannot be of type Array - use "multiple: true" and set "type" to the single value type, such as "String", "Object", etc...`);if(n.type===Object&&n.defaultValue)throw new Error(`Cannot set a default value for property "${e}". All properties of type "Object" are empty objects by default.`);if(n.multiple&&n.defaultValue)throw new Error(`Cannot set a default value for property "${e}". All multiple properties are empty arrays by default.`);Object.defineProperty(t,e,{get(){if(void 0!==this._state[e])return this._state[e];const t=n.defaultValue;return n.type!==Boolean&&(n.type===String?t:n.multiple?[]:t)},set(t){let s;t=this.constructor.getMetadata().constructor.validatePropertyValue(t,n);const i=this._state[e];s=n.multiple&&n.compareValues?!ze(i,t):ae(n.type,re)?!n.type.valuesAreEqual(i,t):i!==t,s&&(this._state[e]=t,Je.call(this,{type:"property",name:e,newValue:t,oldValue:i}),this._updateAttribute(e,t))}})}if(e){const e=this.getMetadata().getSlots();for(const[s,n]of Object.entries(e)){Ze(s)||console.warn(`"${s}" is not a valid property name. Use a name that does not collide with DOM APIs`);const e=n.propertyName||s;Object.defineProperty(t,e,{get(){return void 0!==this._state[e]?this._state[e]:[]},set(){throw new Error("Cannot set slot content directly, use the DOM APIs (appendChild, removeChild, etc...)")}})}}}static get metadata(){return{}}static get styles(){return""}static get staticAreaStyles(){return""}static get dependencies(){return[]}static getUniqueDependencies(){if(!Ge.has(this)){const t=this.dependencies.filter(((t,e,s)=>s.indexOf(t)===e));Ge.set(this,t)}return Ge.get(this)}static whenDependenciesDefined(){return Promise.all(this.getUniqueDependencies().map((t=>t.define())))}static async onDefine(){return Promise.resolve()}static async define(){await ie(),await Promise.all([this.whenDependenciesDefined(),this.onDefine()]);const t=this.getMetadata().getTag(),e=this.getMetadata().getAltTag(),s=(t=>E.has(t))(t),n=customElements.get(t);return n&&!s?(t=>{M.add(t),O||(O=setTimeout((()=>{P(),O=void 0}),1e3))})(t):n||(this._generateAccessors(),T(t),window.customElements.define(t,this),e&&!customElements.get(e)&&(T(e),window.customElements.define(e,We(this,(()=>{console.log(`The ${e} tag is deprecated and will be removed in the next release, please use ${t} instead.`)}))))),this}static getMetadata(){if(this.hasOwnProperty("_metadata"))return this._metadata;const t=[this.metadata];let e=this;for(;e!==Ke;)e=Object.getPrototypeOf(e),t.unshift(e.metadata);const s=g({},...t);return this._metadata=new ye(s),this._metadata}}
10
2
  /**
11
3
  * @license
12
- * Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
13
- * This code may only be used under the BSD style license found at
14
- * http://polymer.github.io/LICENSE.txt
15
- * The complete set of authors may be found at
16
- * http://polymer.github.io/AUTHORS.txt
17
- * The complete set of contributors may be found at
18
- * http://polymer.github.io/CONTRIBUTORS.txt
19
- * Code distributed by Google as part of the polymer project is also
20
- * subject to an additional IP rights grant found at
21
- * http://polymer.github.io/PATENTS.txt
22
- */const Cn=new WeakMap,bn=t=>"function"==typeof t&&Cn.has(t),Dn=void 0!==window.customElements&&void 0!==window.customElements.polyfillWrapFlushCallback,Tn=(t,e,n=null)=>{for(;e!==n;){const n=e.nextSibling;t.removeChild(e),e=n}},Sn={},Pn={},Mn=`{{lit-${String(Math.random()).slice(2)}}}`,En=`\x3c!--${Mn}--\x3e`,An=new RegExp(`${Mn}|${En}`),Un="$lit$";class xn{constructor(t,e){this.parts=[],this.element=e;const n=[],r=[],i=document.createTreeWalker(e.content,133,null,!1);let a=0,o=-1,s=0;const{strings:u,values:{length:l}}=t;for(;s<l;){const t=i.nextNode();if(null!==t){if(o++,1===t.nodeType){if(t.hasAttributes()){const e=t.attributes,{length:n}=e;let r=0;for(let t=0;t<n;t++)On(e[t].name,Un)&&r++;for(;r-- >0;){const e=u[s],n=In.exec(e)[2],r=n.toLowerCase()+Un,i=t.getAttribute(r);t.removeAttribute(r);const a=i.split(An);this.parts.push({type:"attribute",index:o,name:n,strings:a}),s+=a.length-1}}"TEMPLATE"===t.tagName&&(r.push(t),i.currentNode=t.content)}else if(3===t.nodeType){const e=t.data;if(e.indexOf(Mn)>=0){const r=t.parentNode,i=e.split(An),a=i.length-1;for(let e=0;e<a;e++){let n,a=i[e];if(""===a)n=Fn();else{const t=In.exec(a);null!==t&&On(t[2],Un)&&(a=a.slice(0,t.index)+t[1]+t[2].slice(0,-Un.length)+t[3]),n=document.createTextNode(a)}r.insertBefore(n,t),this.parts.push({type:"node",index:++o})}""===i[a]?(r.insertBefore(Fn(),t),n.push(t)):t.data=i[a],s+=a}}else if(8===t.nodeType)if(t.data===Mn){const e=t.parentNode;null!==t.previousSibling&&o!==a||(o++,e.insertBefore(Fn(),t)),a=o,this.parts.push({type:"node",index:o}),null===t.nextSibling?t.data="":(n.push(t),o--),s++}else{let e=-1;for(;-1!==(e=t.data.indexOf(Mn,e+1));)this.parts.push({type:"node",index:-1}),s++}}else i.currentNode=r.pop()}for(const t of n)t.parentNode.removeChild(t)}}const On=(t,e)=>{const n=t.length-e.length;return n>=0&&t.slice(n)===e},Ln=t=>-1!==t.index,Fn=()=>document.createComment(""),In=/([ \x09\x0a\x0c\x0d])([^\0-\x1F\x7F-\x9F "'>=/]+)([ \x09\x0a\x0c\x0d]*=[ \x09\x0a\x0c\x0d]*(?:[^ \x09\x0a\x0c\x0d"'`<>=]*|"[^"]*|'[^']*))$/;
4
+ * Copyright 2017 Google LLC
5
+ * SPDX-License-Identifier: BSD-3-Clause
6
+ */var Ye,Xe;const Qe=globalThis.trustedTypes,ts=Qe?Qe.createPolicy("lit-html",{createHTML:t=>t}):void 0,es=`lit$${(Math.random()+"").slice(9)}$`,ss="?"+es,ns=`<${ss}>`,is=document,rs=(t="")=>is.createComment(t),as=t=>null===t||"object"!=typeof t&&"function"!=typeof t,os=Array.isArray,ls=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,cs=/-->/g,hs=/>/g,ds=/>|[ \n \r](?:([^\s"'>=/]+)([ \n \r]*=[ \n \r]*(?:[^ \n \r"'`<>=]|("|')|))|$)/g,us=/'/g,ps=/"/g,gs=/^(?:script|style|textarea)$/i,fs=(t=>(e,...s)=>({_$litType$:t,strings:e,values:s}))(1),ms=Symbol.for("lit-noChange"),_s=Symbol.for("lit-nothing"),ys=new WeakMap,vs=is.createTreeWalker(is,129,null,!1),ws=(t,e)=>{const s=t.length-1,n=[];let i,r=2===e?"<svg>":"",a=ls;for(let e=0;e<s;e++){const s=t[e];let o,l,c=-1,h=0;for(;h<s.length&&(a.lastIndex=h,l=a.exec(s),null!==l);)h=a.lastIndex,a===ls?"!--"===l[1]?a=cs:void 0!==l[1]?a=hs:void 0!==l[2]?(gs.test(l[2])&&(i=RegExp("</"+l[2],"g")),a=ds):void 0!==l[3]&&(a=ds):a===ds?">"===l[0]?(a=null!=i?i:ls,c=-1):void 0===l[1]?c=-2:(c=a.lastIndex-l[2].length,o=l[1],a=void 0===l[3]?ds:'"'===l[3]?ps:us):a===ps||a===us?a=ds:a===cs||a===hs?a=ls:(a=ds,i=void 0);const d=a===ds&&t[e+1].startsWith("/>")?" ":"";r+=a===ls?s+ns:c>=0?(n.push(o),s.slice(0,c)+"$lit$"+s.slice(c)+es+d):s+es+(-2===c?(n.push(void 0),e):d)}const o=r+(t[s]||"<?>")+(2===e?"</svg>":"");return[void 0!==ts?ts.createHTML(o):o,n]};class As{constructor({strings:t,_$litType$:e},s){let n;this.parts=[];let i=0,r=0;const a=t.length-1,o=this.parts,[l,c]=ws(t,e);if(this.el=As.createElement(l,s),vs.currentNode=this.el.content,2===e){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(n=vs.nextNode())&&o.length<a;){if(1===n.nodeType){if(n.hasAttributes()){const t=[];for(const e of n.getAttributeNames())if(e.endsWith("$lit$")||e.startsWith(es)){const s=c[r++];if(t.push(e),void 0!==s){const t=n.getAttribute(s.toLowerCase()+"$lit$").split(es),e=/([.?@])?(.*)/.exec(s);o.push({type:1,index:i,name:e[2],strings:t,ctor:"."===e[1]?Es:"?"===e[1]?Ms:"@"===e[1]?Os:Cs})}else o.push({type:6,index:i})}for(const e of t)n.removeAttribute(e)}if(gs.test(n.tagName)){const t=n.textContent.split(es),e=t.length-1;if(e>0){n.textContent=Qe?Qe.emptyScript:"";for(let s=0;s<e;s++)n.append(t[s],rs()),vs.nextNode(),o.push({type:2,index:++i});n.append(t[e],rs())}}}else if(8===n.nodeType)if(n.data===ss)o.push({type:2,index:i});else{let t=-1;for(;-1!==(t=n.data.indexOf(es,t+1));)o.push({type:7,index:i}),t+=es.length-1}i++}}static createElement(t,e){const s=is.createElement("template");return s.innerHTML=t,s}}function bs(t,e,s=t,n){var i,r,a,o;if(e===ms)return e;let l=void 0!==n?null===(i=s._$Cl)||void 0===i?void 0:i[n]:s._$Cu;const c=as(e)?void 0:e._$litDirective$;return(null==l?void 0:l.constructor)!==c&&(null===(r=null==l?void 0:l._$AO)||void 0===r||r.call(l,!1),void 0===c?l=void 0:(l=new c(t),l._$AT(t,s,n)),void 0!==n?(null!==(a=(o=s)._$Cl)&&void 0!==a?a:o._$Cl=[])[n]=l:s._$Cu=l),void 0!==l&&(e=bs(t,l._$AS(t,e.values),l,n)),e}class $s{constructor(t,e){this.v=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}p(t){var e;const{el:{content:s},parts:n}=this._$AD,i=(null!==(e=null==t?void 0:t.creationScope)&&void 0!==e?e:is).importNode(s,!0);vs.currentNode=i;let r=vs.nextNode(),a=0,o=0,l=n[0];for(;void 0!==l;){if(a===l.index){let e;2===l.type?e=new Ss(r,r.nextSibling,this,t):1===l.type?e=new l.ctor(r,l.name,l.strings,this,t):6===l.type&&(e=new Ts(r,this,t)),this.v.push(e),l=n[++o]}a!==(null==l?void 0:l.index)&&(r=vs.nextNode(),a++)}return i}m(t){let e=0;for(const s of this.v)void 0!==s&&(void 0!==s.strings?(s._$AI(t,s,e),e+=s.strings.length-2):s._$AI(t[e])),e++}}class Ss{constructor(t,e,s,n){var i;this.type=2,this._$AH=_s,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=s,this.options=n,this._$Cg=null===(i=null==n?void 0:n.isConnected)||void 0===i||i}get _$AU(){var t,e;return null!==(e=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==e?e:this._$Cg}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===t.nodeType&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=bs(this,t,e),as(t)?t===_s||null==t||""===t?(this._$AH!==_s&&this._$AR(),this._$AH=_s):t!==this._$AH&&t!==ms&&this.$(t):void 0!==t._$litType$?this.T(t):void 0!==t.nodeType?this.S(t):(t=>{var e;return os(t)||"function"==typeof(null===(e=t)||void 0===e?void 0:e[Symbol.iterator])})(t)?this.M(t):this.$(t)}A(t,e=this._$AB){return this._$AA.parentNode.insertBefore(t,e)}S(t){this._$AH!==t&&(this._$AR(),this._$AH=this.A(t))}$(t){this._$AH!==_s&&as(this._$AH)?this._$AA.nextSibling.data=t:this.S(is.createTextNode(t)),this._$AH=t}T(t){var e;const{values:s,_$litType$:n}=t,i="number"==typeof n?this._$AC(t):(void 0===n.el&&(n.el=As.createElement(n.h,this.options)),n);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===i)this._$AH.m(s);else{const t=new $s(i,this),e=t.p(this.options);t.m(s),this.S(e),this._$AH=t}}_$AC(t){let e=ys.get(t.strings);return void 0===e&&ys.set(t.strings,e=new As(t)),e}M(t){os(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let s,n=0;for(const i of t)n===e.length?e.push(s=new Ss(this.A(rs()),this.A(rs()),this,this.options)):s=e[n],s._$AI(i),n++;n<e.length&&(this._$AR(s&&s._$AB.nextSibling,n),e.length=n)}_$AR(t=this._$AA.nextSibling,e){var s;for(null===(s=this._$AP)||void 0===s||s.call(this,!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){var e;void 0===this._$AM&&(this._$Cg=t,null===(e=this._$AP)||void 0===e||e.call(this,t))}}class Cs{constructor(t,e,s,n,i){this.type=1,this._$AH=_s,this._$AN=void 0,this.element=t,this.name=e,this._$AM=n,this.options=i,s.length>2||""!==s[0]||""!==s[1]?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=_s}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,s,n){const i=this.strings;let r=!1;if(void 0===i)t=bs(this,t,e,0),r=!as(t)||t!==this._$AH&&t!==ms,r&&(this._$AH=t);else{const n=t;let a,o;for(t=i[0],a=0;a<i.length-1;a++)o=bs(this,n[s+a],e,a),o===ms&&(o=this._$AH[a]),r||(r=!as(o)||o!==this._$AH[a]),o===_s?t=_s:t!==_s&&(t+=(null!=o?o:"")+i[a+1]),this._$AH[a]=o}r&&!n&&this.k(t)}k(t){t===_s?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class Es extends Cs{constructor(){super(...arguments),this.type=3}k(t){this.element[this.name]=t===_s?void 0:t}}class Ms extends Cs{constructor(){super(...arguments),this.type=4}k(t){t&&t!==_s?this.element.setAttribute(this.name,""):this.element.removeAttribute(this.name)}}class Os extends Cs{constructor(t,e,s,n,i){super(t,e,s,n,i),this.type=5}_$AI(t,e=this){var s;if((t=null!==(s=bs(this,t,e,0))&&void 0!==s?s:_s)===ms)return;const n=this._$AH,i=t===_s&&n!==_s||t.capture!==n.capture||t.once!==n.once||t.passive!==n.passive,r=t!==_s&&(n===_s||i);i&&this.element.removeEventListener(this.name,this,n),r&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e,s;"function"==typeof this._$AH?this._$AH.call(null!==(s=null===(e=this.options)||void 0===e?void 0:e.host)&&void 0!==s?s:this.element,t):this._$AH.handleEvent(t)}}class Ts{constructor(t,e,s){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=s}get _$AU(){return this._$AM._$AU}_$AI(t){bs(this,t)}}null===(Ye=globalThis.litHtmlPolyfillSupport)||void 0===Ye||Ye.call(globalThis,As,Ss),(null!==(Xe=globalThis.litHtmlVersions)&&void 0!==Xe?Xe:globalThis.litHtmlVersions=[]).push("2.0.0");
23
7
  /**
24
8
  * @license
25
- * Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
26
- * This code may only be used under the BSD style license found at
27
- * http://polymer.github.io/LICENSE.txt
28
- * The complete set of authors may be found at
29
- * http://polymer.github.io/AUTHORS.txt
30
- * The complete set of contributors may be found at
31
- * http://polymer.github.io/CONTRIBUTORS.txt
32
- * Code distributed by Google as part of the polymer project is also
33
- * subject to an additional IP rights grant found at
34
- * http://polymer.github.io/PATENTS.txt
9
+ * Copyright 2020 Google LLC
10
+ * SPDX-License-Identifier: BSD-3-Clause
35
11
  */
36
- class kn{constructor(t,e,n){this.__parts=[],this.template=t,this.processor=e,this.options=n}update(t){let e=0;for(const n of this.__parts)void 0!==n&&n.setValue(t[e]),e++;for(const t of this.__parts)void 0!==t&&t.commit()}_clone(){const t=Dn?this.template.element.content.cloneNode(!0):document.importNode(this.template.element.content,!0),e=[],n=this.template.parts,r=document.createTreeWalker(t,133,null,!1);let i,a=0,o=0,s=r.nextNode();for(;a<n.length;)if(i=n[a],Ln(i)){for(;o<i.index;)o++,"TEMPLATE"===s.nodeName&&(e.push(s),r.currentNode=s.content),null===(s=r.nextNode())&&(r.currentNode=e.pop(),s=r.nextNode());if("node"===i.type){const t=this.processor.handleTextExpression(this.options);t.insertAfterNode(s.previousSibling),this.__parts.push(t)}else this.__parts.push(...this.processor.handleAttributeExpressions(s,i.name,i.strings,this.options));a++}else this.__parts.push(void 0),a++;return Dn&&(document.adoptNode(t),customElements.upgrade(t)),t}}
37
- /**
38
- * @license
39
- * Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
40
- * This code may only be used under the BSD style license found at
41
- * http://polymer.github.io/LICENSE.txt
42
- * The complete set of authors may be found at
43
- * http://polymer.github.io/AUTHORS.txt
44
- * The complete set of contributors may be found at
45
- * http://polymer.github.io/CONTRIBUTORS.txt
46
- * Code distributed by Google as part of the polymer project is also
47
- * subject to an additional IP rights grant found at
48
- * http://polymer.github.io/PATENTS.txt
49
- */const Rn=` ${Mn} `;class Nn{constructor(t,e,n,r){this.strings=t,this.values=e,this.type=n,this.processor=r}getHTML(){const t=this.strings.length-1;let e="",n=!1;for(let r=0;r<t;r++){const t=this.strings[r],i=t.lastIndexOf("\x3c!--");n=(i>-1||n)&&-1===t.indexOf("--\x3e",i+1);const a=In.exec(t);e+=null===a?t+(n?Rn:En):t.substr(0,a.index)+a[1]+a[2]+Un+a[3]+Mn}return e+=this.strings[t],e}getTemplateElement(){const t=document.createElement("template");return t.innerHTML=this.getHTML(),t}}
50
- /**
51
- * @license
52
- * Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
53
- * This code may only be used under the BSD style license found at
54
- * http://polymer.github.io/LICENSE.txt
55
- * The complete set of authors may be found at
56
- * http://polymer.github.io/AUTHORS.txt
57
- * The complete set of contributors may be found at
58
- * http://polymer.github.io/CONTRIBUTORS.txt
59
- * Code distributed by Google as part of the polymer project is also
60
- * subject to an additional IP rights grant found at
61
- * http://polymer.github.io/PATENTS.txt
62
- */const jn=t=>null===t||!("object"==typeof t||"function"==typeof t),Wn=t=>Array.isArray(t)||!(!t||!t[Symbol.iterator]);class Vn{constructor(t,e,n){this.dirty=!0,this.element=t,this.name=e,this.strings=n,this.parts=[];for(let t=0;t<n.length-1;t++)this.parts[t]=this._createPart()}_createPart(){return new $n(this)}_getValue(){const t=this.strings,e=t.length-1;let n="";for(let r=0;r<e;r++){n+=t[r];const e=this.parts[r];if(void 0!==e){const t=e.value;if(jn(t)||!Wn(t))n+="string"==typeof t?t:String(t);else for(const e of t)n+="string"==typeof e?e:String(e)}}return n+=t[e],n}commit(){this.dirty&&(this.dirty=!1,this.element.setAttribute(this.name,this._getValue()))}}class $n{constructor(t){this.value=void 0,this.committer=t}setValue(t){t===Sn||jn(t)&&t===this.value||(this.value=t,bn(t)||(this.committer.dirty=!0))}commit(){for(;bn(this.value);){const t=this.value;this.value=Sn,t(this)}this.value!==Sn&&this.committer.commit()}}class Yn{constructor(t){this.value=void 0,this.__pendingValue=void 0,this.options=t}appendInto(t){this.startNode=t.appendChild(Fn()),this.endNode=t.appendChild(Fn())}insertAfterNode(t){this.startNode=t,this.endNode=t.nextSibling}appendIntoPart(t){t.__insert(this.startNode=Fn()),t.__insert(this.endNode=Fn())}insertAfterPart(t){t.__insert(this.startNode=Fn()),this.endNode=t.endNode,t.endNode=this.startNode}setValue(t){this.__pendingValue=t}commit(){for(;bn(this.__pendingValue);){const t=this.__pendingValue;this.__pendingValue=Sn,t(this)}const t=this.__pendingValue;t!==Sn&&(jn(t)?t!==this.value&&this.__commitText(t):t instanceof Nn?this.__commitTemplateResult(t):t instanceof Node?this.__commitNode(t):Wn(t)?this.__commitIterable(t):t===Pn?(this.value=Pn,this.clear()):this.__commitText(t))}__insert(t){this.endNode.parentNode.insertBefore(t,this.endNode)}__commitNode(t){this.value!==t&&(this.clear(),this.__insert(t),this.value=t)}__commitText(t){const e=this.startNode.nextSibling,n="string"==typeof(t=null==t?"":t)?t:String(t);e===this.endNode.previousSibling&&3===e.nodeType?e.data=n:this.__commitNode(document.createTextNode(n)),this.value=t}__commitTemplateResult(t){const e=this.options.templateFactory(t);if(this.value instanceof kn&&this.value.template===e)this.value.update(t.values);else{const n=new kn(e,t.processor,this.options),r=n._clone();n.update(t.values),this.__commitNode(r),this.value=n}}__commitIterable(t){Array.isArray(this.value)||(this.value=[],this.clear());const e=this.value;let n,r=0;for(const i of t)n=e[r],void 0===n&&(n=new Yn(this.options),e.push(n),0===r?n.appendIntoPart(this):n.insertAfterPart(e[r-1])),n.setValue(i),n.commit(),r++;r<e.length&&(e.length=r,this.clear(n&&n.endNode))}clear(t=this.startNode){Tn(this.startNode.parentNode,t.nextSibling,this.endNode)}}class Bn{constructor(t,e,n){if(this.value=void 0,this.__pendingValue=void 0,2!==n.length||""!==n[0]||""!==n[1])throw new Error("Boolean attributes can only contain a single expression");this.element=t,this.name=e,this.strings=n}setValue(t){this.__pendingValue=t}commit(){for(;bn(this.__pendingValue);){const t=this.__pendingValue;this.__pendingValue=Sn,t(this)}if(this.__pendingValue===Sn)return;const t=!!this.__pendingValue;this.value!==t&&(t?this.element.setAttribute(this.name,""):this.element.removeAttribute(this.name),this.value=t),this.__pendingValue=Sn}}class zn extends Vn{constructor(t,e,n){super(t,e,n),this.single=2===n.length&&""===n[0]&&""===n[1]}_createPart(){return new Hn(this)}_getValue(){return this.single?this.parts[0].value:super._getValue()}commit(){this.dirty&&(this.dirty=!1,this.element[this.name]=this._getValue())}}class Hn extends $n{}let Jn=!1;try{const t={get capture(){return Jn=!0,!1}};window.addEventListener("test",t,t),window.removeEventListener("test",t,t)}catch(t){}class Zn{constructor(t,e,n){this.value=void 0,this.__pendingValue=void 0,this.element=t,this.eventName=e,this.eventContext=n,this.__boundHandleEvent=t=>this.handleEvent(t)}setValue(t){this.__pendingValue=t}commit(){for(;bn(this.__pendingValue);){const t=this.__pendingValue;this.__pendingValue=Sn,t(this)}if(this.__pendingValue===Sn)return;const t=this.__pendingValue,e=this.value,n=null==t||null!=e&&(t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive),r=null!=t&&(null==e||n);n&&this.element.removeEventListener(this.eventName,this.__boundHandleEvent,this.__options),r&&(this.__options=qn(t),this.element.addEventListener(this.eventName,this.__boundHandleEvent,this.__options)),this.value=t,this.__pendingValue=Sn}handleEvent(t){"function"==typeof this.value?this.value.call(this.eventContext||this.element,t):this.value.handleEvent(t)}}const qn=t=>t&&(Jn?{capture:t.capture,passive:t.passive,once:t.once}:t.capture);
63
- /**
64
- * @license
65
- * Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
66
- * This code may only be used under the BSD style license found at
67
- * http://polymer.github.io/LICENSE.txt
68
- * The complete set of authors may be found at
69
- * http://polymer.github.io/AUTHORS.txt
70
- * The complete set of contributors may be found at
71
- * http://polymer.github.io/CONTRIBUTORS.txt
72
- * Code distributed by Google as part of the polymer project is also
73
- * subject to an additional IP rights grant found at
74
- * http://polymer.github.io/PATENTS.txt
75
- */const Gn=new class{handleAttributeExpressions(t,e,n,r){const i=e[0];if("."===i){return new zn(t,e.slice(1),n).parts}return"@"===i?[new Zn(t,e.slice(1),r.eventContext)]:"?"===i?[new Bn(t,e.slice(1),n)]:new Vn(t,e,n).parts}handleTextExpression(t){return new Yn(t)}};
76
- /**
77
- * @license
78
- * Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
79
- * This code may only be used under the BSD style license found at
80
- * http://polymer.github.io/LICENSE.txt
81
- * The complete set of authors may be found at
82
- * http://polymer.github.io/AUTHORS.txt
83
- * The complete set of contributors may be found at
84
- * http://polymer.github.io/CONTRIBUTORS.txt
85
- * Code distributed by Google as part of the polymer project is also
86
- * subject to an additional IP rights grant found at
87
- * http://polymer.github.io/PATENTS.txt
88
- */function Qn(t){let e=Xn.get(t.type);void 0===e&&(e={stringsArray:new WeakMap,keyString:new Map},Xn.set(t.type,e));let n=e.stringsArray.get(t.strings);if(void 0!==n)return n;const r=t.strings.join(Mn);return n=e.keyString.get(r),void 0===n&&(n=new xn(t,t.getTemplateElement()),e.keyString.set(r,n)),e.stringsArray.set(t.strings,n),n}const Xn=new Map,Kn=new WeakMap;
12
+ const Ps=new Map,xs=(t=>(e,...s)=>{var n;const i=s.length;let r,a;const o=[],l=[];let c,h=0,d=!1;for(;h<i;){for(c=e[h];h<i&&void 0!==(a=s[h],r=null===(n=a)||void 0===n?void 0:n._$litStatic$);)c+=r+e[++h],d=!0;l.push(a),o.push(c),h++}if(h===i&&o.push(e[i]),d){const t=o.join("$$lit$$");void 0===(e=Ps.get(t))&&Ps.set(t,e=o),s=l}return t(e,...s)})(fs),Ls=2;
89
13
  /**
90
14
  * @license
91
- * Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
92
- * This code may only be used under the BSD style license found at
93
- * http://polymer.github.io/LICENSE.txt
94
- * The complete set of authors may be found at
95
- * http://polymer.github.io/AUTHORS.txt
96
- * The complete set of contributors may be found at
97
- * http://polymer.github.io/CONTRIBUTORS.txt
98
- * Code distributed by Google as part of the polymer project is also
99
- * subject to an additional IP rights grant found at
100
- * http://polymer.github.io/PATENTS.txt
15
+ * Copyright 2017 Google LLC
16
+ * SPDX-License-Identifier: BSD-3-Clause
101
17
  */
102
18
  /**
103
19
  * @license
104
- * Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
105
- * This code may only be used under the BSD style license found at
106
- * http://polymer.github.io/LICENSE.txt
107
- * The complete set of authors may be found at
108
- * http://polymer.github.io/AUTHORS.txt
109
- * The complete set of contributors may be found at
110
- * http://polymer.github.io/CONTRIBUTORS.txt
111
- * Code distributed by Google as part of the polymer project is also
112
- * subject to an additional IP rights grant found at
113
- * http://polymer.github.io/PATENTS.txt
20
+ * Copyright 2017 Google LLC
21
+ * SPDX-License-Identifier: BSD-3-Clause
114
22
  */
115
- (window.litHtmlVersions||(window.litHtmlVersions=[])).push("1.1.2");const tr=(t,...e)=>new Nn(t,e,"html",Gn),er=(t,e,n,{eventContext:r}={})=>{n&&(t=tr`<style>${n}</style>${t}`),((t,e,n)=>{let r=Kn.get(e);void 0===r&&(Tn(e,e.firstChild),Kn.set(e,r=new Yn(Object.assign({templateFactory:Qn},n))),r.appendInto(e)),r.setValue(t),r.commit()})(t,e,{eventContext:r})},nr={tag:"ui5-test-generic",properties:{strProp:{type:String},boolProp:{type:Boolean},objectProp:{type:Object},noAttributeProp:{type:String,noAttribute:!0},multiProp:{type:String,multiple:!0},defaultValueProp:{type:String,defaultValue:"Hello"}},slots:{default:{type:Node},other:{type:HTMLElement},individual:{type:HTMLElement,individualSlots:!0},named:{type:HTMLElement,propertyName:"items"}}};class rr extends wn{static get metadata(){return nr}static get render(){return er}static get template(){return t=>tr`<div><p>
23
+ class Is extends class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,s){this._$Ct=t,this._$AM=e,this._$Ci=s}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}}{constructor(t){if(super(t),this.it=_s,t.type!==Ls)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===_s||null==t)return this.vt=void 0,this.it=t;if(t===ms)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.it)return this.vt;this.it=t;const e=[t];return e.raw=e,this.vt={_$litType$:this.constructor.resultType,strings:e,values:[]}}}Is.directiveName="unsafeHTML",Is.resultType=1;const Ds=(t,e,s,{host:n}={})=>{s&&(t=xs`<style>${s}</style>${t}`),((t,e,s)=>{var n,i;const r=null!==(n=null==s?void 0:s.renderBefore)&&void 0!==n?n:e;let a=r._$litPart$;if(void 0===a){const t=null!==(i=null==s?void 0:s.renderBefore)&&void 0!==i?i:null;r._$litPart$=a=new Ss(e.insertBefore(rs(),t),t,void 0,null!=s?s:{})}a._$AI(t)})(t,e,{host:n})},Rs={tag:"ui5-test-generic",properties:{strProp:{type:String},boolProp:{type:Boolean},objectProp:{type:Object},noAttributeProp:{type:String,noAttribute:!0},multiProp:{type:String,multiple:!0},defaultValueProp:{type:String,defaultValue:"Hello"}},managedSlots:!0,slots:{default:{type:Node},other:{type:HTMLElement},individual:{type:HTMLElement,individualSlots:!0},named:{type:HTMLElement,propertyName:"items"}}};class Ns extends Ke{static get metadata(){return Rs}static get render(){return Ds}static get template(){return t=>xs`<div><p>
116
24
  <slot></slot>
117
25
  <slot name="other"></slot>
118
26
  <slot name="individual-1"></slot>
119
27
  <slot name="individual-2"></slot>
120
- </p></div>`}static get styles(){return":host {\n display: inline-block;\n border: 1px solid black;\n color: var(--var1);\n }"}onBeforeRendering(){}onAfterRendering(){}onEnterDOM(){}onExitDOM(){}}rr.define();const ir={tag:"ui5-test-no-shadow"};(class extends wn{static get metadata(){return ir}}).define();const ar={tag:"ui5-test-parent",slots:{default:{type:Node,listenFor:["prop1"]},items:{type:HTMLElement,listenFor:{include:["*"],exclude:["prop3"]}}}};(class extends wn{static get metadata(){return ar}static get render(){return er}static get template(){return t=>tr`<div>
28
+ </p></div>`}static get styles(){return":host {\n display: inline-block;\n border: 1px solid black;\n color: var(--var1);\n }"}onBeforeRendering(){}onAfterRendering(){}onEnterDOM(){}onExitDOM(){}}Ns.define();const ks={tag:"ui5-test-no-shadow"};(class extends Ke{static get metadata(){return ks}}).define();const Us={tag:"ui5-test-parent",managedSlots:!0,slots:{default:{type:Node,invalidateOnChildChange:{properties:["prop1"]}},items:{type:HTMLElement,invalidateOnChildChange:{properties:!0}}}};(class extends Ke{static get metadata(){return Us}static get render(){return Ds}static get template(){return t=>xs`<div>
121
29
  <slot></slot>
122
- </div>`}}).define();const or={tag:"ui5-test-child",properties:{prop1:{type:String},prop2:{type:String},prop3:{type:String}}};(class extends wn{static get metadata(){return or}static get render(){return er}static get template(){return t=>tr`<div></div>`}}).define();const sr={tag:"ui5-test-generic-ext",properties:{extProp:{type:String},strProp:{defaultValue:"Ext"}},slots:{extSlot:{type:HTMLElement}}};(class extends rr{static get metadata(){return sr}}).define();j("@ui5/webcomponents-base-test","sap_fiori_3",":root{ --var1: red; }"),j("@ui5/webcomponents-base-test","sap_fiori_3_dark",":root{ --var1: green; }"),j("@ui5/webcomponents-base-test","sap_belize",":root{ --var1: blue; }"),j("@ui5/webcomponents-base-test","sap_belize_hcb",":root{ --var1: orange; }");const ur={},lr={INTERNET_EXPLORER:"ie",EDGE:"ed",FIREFOX:"ff",CHROME:"cr",SAFARI:"sf",ANDROID:"an"},cr=()=>{const t=(()=>{const t=navigator.userAgent.toLowerCase(),e=/(edge)[ /]([\w.]+)/.exec(t)||/(trident)\/[\w.]+;.*rv:([\w.]+)/.exec(t)||/(webkit)[ /]([\w.]+)/.exec(t)||/(msie) ([\w.]+)/.exec(t)||t.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+))?/.exec(t)||[],n={browser:e[1]||"",version:e[2]||"0"};return n[n.browser]=!0,n})(),e=navigator.userAgent,n=window.navigator;let r,i,a;if(t.mozilla)r=/Mobile/,e.match(/Firefox\/(\d+\.\d+)/)?(a=parseFloat(RegExp.$1),i={name:lr.FIREFOX,versionStr:`${a}`,version:a,mozilla:!0,mobile:r.test(e)}):i={mobile:r.test(e),mozilla:!0,version:-1};else if(t.webkit){const t=e.toLowerCase().match(/webkit[/]([\d.]+)/);let o;t&&(o=t[1]),r=/Mobile/;const s=e.match(/(Chrome|CriOS)\/(\d+\.\d+).\d+/),u=e.match(/FxiOS\/(\d+\.\d+)/),l=e.match(/Android .+ Version\/(\d+\.\d+)/);if(s||u||l){let t,n,a;s?(t=lr.CHROME,a=r.test(e),n=parseFloat(s[2])):u?(t=lr.FIREFOX,a=!0,n=parseFloat(u[1])):l&&(t=lr.ANDROID,a=r.test(e),n=parseFloat(l[1])),i={name:t,mobile:a,versionStr:`${n}`,version:n,webkit:!0,webkitVersion:o}}else{const t=/(Version|PhantomJS)\/(\d+\.\d+).*Safari/,s=n.standalone;if(t.test(e)){const n=t.exec(e);a=parseFloat(n[2]),i={name:lr.SAFARI,versionStr:`${a}`,fullscreen:!1,webview:!1,version:a,mobile:r.test(e),webkit:!0,webkitVersion:o,phantomJS:"PhantomJS"===n[1]}}else i=!/iPhone|iPad|iPod/.test(e)||/CriOS/.test(e)||/FxiOS/.test(e)||!0!==s&&!1!==s?{mobile:r.test(e),webkit:!0,webkitVersion:o,version:-1}:{name:lr.SAFARI,version:-1,fullscreen:s,webview:!s,mobile:r.test(e),webkit:!0,webkitVersion:o}}}else t.msie||t.trident?(a=parseFloat(t.version),i={name:lr.INTERNET_EXPLORER,versionStr:`${a}`,version:a,msie:!0,mobile:!1}):t.edge?(a=parseFloat(t.version),i={name:lr.EDGE,versionStr:`${a}`,version:a,edge:!0}):i={name:"",versionStr:"",version:-1,mobile:!1};return i};let hr;const dr={iw:"he",ji:"yi",in:"id",sh:"sr"},pr=u("$cldr-rtl-locales:ar,fa,he$")||[],gr=new Map,fr=new Map;window.RenderScheduler=sn,window.isIE=()=>(ur.browser||(ur.browser=cr(),ur.browser.BROWSER=lr,ur.browser.name&&Object.keys(lr).forEach(t=>{lr[t]===ur.browser.name&&(ur.browser[t.toLowerCase()]=!0)})),!!ur.browser.msie),window.registerThemeProperties=j,window["sap-ui-webcomponents-bundle"]={configuration:{getAnimationMode:()=>(void 0===hr&&(hr=(()=>(v(),m.animationMode))()),hr),getLanguage:w,getTheme:De,setTheme:Te,getNoConflict:Ie,setNoConflict:t=>{Fe=t},getCalendarType:P,getRTL:()=>{const t=(()=>(v(),m.rtl))();return null!==t?!!t:(t=>(t=t&&dr[t]||t,pr.indexOf(t)>=0))(w()||h())},getFirstDayOfWeek:E},getIconNames:async()=>(fr.has("SAP-icons")&&await fr.get("SAP-icons"),Array.from(gr.keys()).map(t=>t.split(":")[1]))};
30
+ </div>`}}).define();const js={tag:"ui5-test-child",properties:{prop1:{type:String},prop2:{type:String},prop3:{type:String}}};(class extends Ke{static get metadata(){return js}static get render(){return Ds}static get template(){return t=>xs`<div></div>`}}).define();const Hs={tag:"ui5-with-static-area",properties:{staticContent:{type:Boolean}},slots:{}};(class extends Ke{static get metadata(){return Hs}static get render(){return Ds}static get template(){return t=>xs`
31
+ <div dir=${t.effectiveDir}>
32
+ WithStaticArea works!
33
+ </div>`}static get staticAreaTemplate(){return t=>xs`
34
+ <div class="ui5-with-static-area-content">
35
+ Static area content.
36
+ </div>`}static get styles(){return"\n\t\t\t:host {\n\t\t\t\tdisplay: inline-block;\n\t\t\t\tborder: 1px solid black;\n\t\t\t\tcolor: red;\n\t\t\t}"}async addStaticArea(){if(!this.staticContent)return;const t=await this.getStaticAreaItemDomRef();return this.responsivePopover=t.querySelector(".ui5-with-static-area-content"),this.responsivePopover}onBeforeRendering(){this.addStaticArea()}onAfterRendering(){}onEnterDOM(){}onExitDOM(){}}).define();const Bs={tag:"ui5-test-generic-ext",properties:{extProp:{type:String},strProp:{defaultValue:"Ext"}},slots:{extSlot:{type:HTMLElement}}};(class extends Ns{static get metadata(){return Bs}}).define();Tt("@ui5/webcomponents-base-test","sap_fiori_3",(()=>":root{ --var1: red; }")),Tt("@ui5/webcomponents-base-test","sap_fiori_3_dark",(()=>":root{ --var1: green; }")),Tt("@ui5/webcomponents-base-test","sap_belize",(()=>":root{ --var1: blue; }")),Tt("@ui5/webcomponents-base-test","sap_belize_hcb",(()=>":root{ --var1: orange; }")),Tt("@ui5/webcomponents-base-test","sap_belize_hcw",(()=>":root{ --var1: orange; }")),Tt("@ui5/webcomponents-base-test","sap_fiori_3_hcb",(()=>":root{ --var1: yellow; }")),Tt("@ui5/webcomponents-base-test","sap_fiori_3_hcw",(()=>":root{ --var1: yellow; }"));const Vs=navigator.userAgent,Zs=/(msie|trident)/i.test(Vs),zs=!Zs&&/(Chrome|CriOS)/.test(Vs);!Zs&&!zs&&/(Version|PhantomJS)\/(\d+\.\d+).*Safari/.test(Vs),!Zs&&/webkit/.test(Vs);!(-1!==navigator.platform.indexOf("Win"))&&/Android/.test(Vs)&&/(?=android)(?=.*mobile)/i.test(Vs),/ipad/i.test(Vs);const Ws=/('')|'([^']+(?:''[^']*)*)(?:'|$)|\{([0-9]+(?:\s*,[^{}]*)?)\}|[{}]/g,qs=new Map;class Fs{constructor(t){this.packageName=t}getText(t,...e){if("string"==typeof t&&(t={key:t,defaultText:t}),!t||!t.key)return"";const s=(n=this.packageName,lt.get(n));var n;s&&!s[t.key]&&console.warn(`Key ${t.key} not found in the i18n bundle, the default text will be used`);const i=s&&s[t.key]?s[t.key]:t.defaultText||t.key;return r=(r=e)||[],i.replace(Ws,((t,e,s,n,i)=>{if(e)return"'";if(s)return s.replace(/''/g,"'");if(n)return String(r[parseInt(n)]);throw new Error(`[i18n]: pattern syntax error at pos ${i}`)}));var r}}let Gs;const Js={Gregorian:"Gregorian",Islamic:"Islamic",Japanese:"Japanese",Buddhist:"Buddhist",Persian:"Persian"};class Ks extends re{static isValid(t){return!!Js[t]}}let Ys;Ks.generateTypeAccessors(Js);let Xs;const Qs=new b;window.isIE=()=>Zs,window.registerThemePropertiesLoader=Tt,window["sap-ui-webcomponents-bundle"]={configuration:{getAnimationMode:()=>(void 0===Gs&&(A(),Gs=y.animationMode),Gs),getLanguage:G,getTheme:Ft,setTheme:Gt,getNoConflict:He,setNoConflict:t=>{je=t},getCalendarType:()=>(void 0===Ys&&(A(),Ys=y.calendarType),Ks.isValid(Ys)?Ys:Ks.Gregorian),getRTL:Ie,getFirstDayOfWeek:()=>(void 0===Xs&&(A(),Xs=y.formatSettings),Xs.firstDayOfWeek)},getIconNames:async()=>(await Ut("edit"),await Ut("tnt/arrow"),await Ut("business-suite/3d"),Array.from(Rt.keys())),registerI18nLoader:(t,e,s)=>{const n=`${t}/${e}`;ht.set(n,s)},fetchI18nBundle:pt,getI18nBundle:t=>{if(qs.has(t))return qs.get(t);const e=new Fs(t);return qs.set(t,e),e},renderFinished:Z,applyDirection:async()=>{const t=Qs.fireEvent("directionChange");await Promise.all(t),await W({rtlAware:!0})},EventProvider:b};
123
37
  //# sourceMappingURL=bundle.esm.js.map