@ui5/webcomponents-base 0.0.0-d9933bd82 → 0.0.0-da0d3eb88

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 (713) hide show
  1. package/.npsrc.json +3 -0
  2. package/CHANGELOG.md +1813 -0
  3. package/README.md +50 -7
  4. package/config/wdio.conf.cjs +392 -0
  5. package/dist/.tsbuildinfo +1 -0
  6. package/dist/AssetRegistry.d.ts +5 -0
  7. package/dist/AssetRegistry.js +6 -9
  8. package/dist/AssetRegistry.js.map +1 -0
  9. package/dist/Boot.d.ts +10 -0
  10. package/dist/Boot.js +73 -0
  11. package/dist/Boot.js.map +1 -0
  12. package/dist/CustomElementsRegistry.d.ts +5 -0
  13. package/dist/CustomElementsRegistry.js +73 -18
  14. package/dist/CustomElementsRegistry.js.map +1 -0
  15. package/dist/CustomElementsScope.d.ts +7 -0
  16. package/dist/CustomElementsScope.js +11 -0
  17. package/dist/CustomElementsScope.js.map +1 -0
  18. package/dist/CustomElementsScopeUtils.d.ts +62 -0
  19. package/dist/CustomElementsScopeUtils.js +102 -0
  20. package/dist/CustomElementsScopeUtils.js.map +1 -0
  21. package/dist/DOMObserver.d.ts +11 -0
  22. package/dist/DOMObserver.js +23 -0
  23. package/dist/DOMObserver.js.map +1 -0
  24. package/dist/Device.d.ts +12 -0
  25. package/dist/Device.js +160 -815
  26. package/dist/Device.js.map +1 -0
  27. package/dist/EventProvider.d.ts +25 -0
  28. package/dist/EventProvider.js +67 -70
  29. package/dist/EventProvider.js.map +1 -0
  30. package/dist/FeaturesRegistry.d.ts +3 -0
  31. package/dist/FeaturesRegistry.js +5 -7
  32. package/dist/FeaturesRegistry.js.map +1 -0
  33. package/dist/FontFace.d.ts +2 -0
  34. package/dist/FontFace.js +21 -69
  35. package/dist/FontFace.js.map +1 -0
  36. package/dist/IgnoreCustomElements.d.ts +25 -0
  37. package/dist/IgnoreCustomElements.js +37 -0
  38. package/dist/IgnoreCustomElements.js.map +1 -0
  39. package/dist/InitialConfiguration.d.ts +27 -0
  40. package/dist/InitialConfiguration.js +130 -104
  41. package/dist/InitialConfiguration.js.map +1 -0
  42. package/dist/Keys.d.ts +63 -0
  43. package/dist/Keys.js +181 -157
  44. package/dist/Keys.js.map +1 -0
  45. package/dist/ManagedStyles.d.ts +9 -0
  46. package/dist/ManagedStyles.js +79 -0
  47. package/dist/ManagedStyles.js.map +1 -0
  48. package/dist/MarkedEvents.d.ts +9 -0
  49. package/dist/MarkedEvents.js +15 -0
  50. package/dist/MarkedEvents.js.map +1 -0
  51. package/dist/MediaRange.d.ts +31 -0
  52. package/dist/MediaRange.js +88 -0
  53. package/dist/MediaRange.js.map +1 -0
  54. package/dist/PropertiesFileFormat.d.ts +8 -0
  55. package/dist/PropertiesFileFormat.js +85 -0
  56. package/dist/PropertiesFileFormat.js.map +1 -0
  57. package/dist/Render.d.ts +47 -0
  58. package/dist/Render.js +143 -0
  59. package/dist/Render.js.map +1 -0
  60. package/dist/RenderQueue.d.ts +19 -0
  61. package/dist/RenderQueue.js +53 -39
  62. package/dist/RenderQueue.js.map +1 -0
  63. package/dist/Runtimes.d.ts +27 -0
  64. package/dist/Runtimes.js +86 -0
  65. package/dist/Runtimes.js.map +1 -0
  66. package/dist/StaticArea.d.ts +3 -0
  67. package/dist/SystemCSSVars.d.ts +2 -0
  68. package/dist/SystemCSSVars.js +9 -0
  69. package/dist/SystemCSSVars.js.map +1 -0
  70. package/dist/Theming.d.ts +3 -0
  71. package/dist/Theming.js +3 -2
  72. package/dist/Theming.js.map +1 -0
  73. package/dist/UI5Element.d.ts +376 -0
  74. package/dist/UI5Element.js +1019 -910
  75. package/dist/UI5Element.js.map +1 -0
  76. package/dist/UI5ElementMetadata.d.ts +150 -0
  77. package/dist/UI5ElementMetadata.js +290 -159
  78. package/dist/UI5ElementMetadata.js.map +1 -0
  79. package/dist/animations/AnimationQueue.d.ts +8 -0
  80. package/dist/animations/AnimationQueue.js +31 -38
  81. package/dist/animations/AnimationQueue.js.map +1 -0
  82. package/dist/animations/animate.d.ts +14 -0
  83. package/dist/animations/animate.js +46 -51
  84. package/dist/animations/animate.js.map +1 -0
  85. package/dist/animations/scroll.d.ts +5 -0
  86. package/dist/animations/scroll.js +18 -27
  87. package/dist/animations/scroll.js.map +1 -0
  88. package/dist/animations/slideDown.d.ts +5 -0
  89. package/dist/animations/slideDown.js +53 -78
  90. package/dist/animations/slideDown.js.map +1 -0
  91. package/dist/animations/slideUp.d.ts +5 -0
  92. package/dist/animations/slideUp.js +49 -70
  93. package/dist/animations/slideUp.js.map +1 -0
  94. package/dist/asset-registries/Icons.d.ts +39 -0
  95. package/dist/asset-registries/Icons.js +136 -24
  96. package/dist/asset-registries/Icons.js.map +1 -0
  97. package/dist/asset-registries/Illustrations.d.ts +19 -0
  98. package/dist/asset-registries/Illustrations.js +77 -0
  99. package/dist/asset-registries/Illustrations.js.map +1 -0
  100. package/dist/asset-registries/LocaleData.d.ts +7 -0
  101. package/dist/asset-registries/LocaleData.js +125 -114
  102. package/dist/asset-registries/LocaleData.js.map +1 -0
  103. package/dist/asset-registries/Themes.d.ts +12 -0
  104. package/dist/asset-registries/Themes.js +58 -77
  105. package/dist/asset-registries/Themes.js.map +1 -0
  106. package/dist/asset-registries/i18n.d.ts +23 -0
  107. package/dist/asset-registries/i18n.js +83 -60
  108. package/dist/asset-registries/i18n.js.map +1 -0
  109. package/dist/asset-registries/util/IconCollectionsAlias.d.ts +30 -0
  110. package/dist/asset-registries/util/IconCollectionsAlias.js +37 -0
  111. package/dist/asset-registries/util/IconCollectionsAlias.js.map +1 -0
  112. package/dist/asset-registries/util/IconCollectionsByTheme.d.ts +20 -0
  113. package/dist/asset-registries/util/IconCollectionsByTheme.js +42 -0
  114. package/dist/asset-registries/util/IconCollectionsByTheme.js.map +1 -0
  115. package/dist/asset-registries/util/getIconCollectionByTheme.d.ts +13 -0
  116. package/dist/asset-registries/util/getIconCollectionByTheme.js +29 -0
  117. package/dist/asset-registries/util/getIconCollectionByTheme.js.map +1 -0
  118. package/dist/config/AnimationMode.d.ts +14 -0
  119. package/dist/config/AnimationMode.js +24 -10
  120. package/dist/config/AnimationMode.js.map +1 -0
  121. package/dist/config/CalendarType.d.ts +15 -0
  122. package/dist/config/CalendarType.js +31 -14
  123. package/dist/config/CalendarType.js.map +1 -0
  124. package/dist/config/FormatSettings.d.ts +15 -0
  125. package/dist/config/FormatSettings.js +15 -9
  126. package/dist/config/FormatSettings.js.map +1 -0
  127. package/dist/config/Icons.d.ts +40 -0
  128. package/dist/config/Icons.js +44 -0
  129. package/dist/config/Icons.js.map +1 -0
  130. package/dist/config/Language.d.ts +40 -0
  131. package/dist/config/Language.js +69 -10
  132. package/dist/config/Language.js.map +1 -0
  133. package/dist/config/NoConflict.d.ts +20 -0
  134. package/dist/config/NoConflict.js +41 -41
  135. package/dist/config/NoConflict.js.map +1 -0
  136. package/dist/config/Theme.d.ts +39 -0
  137. package/dist/config/Theme.js +71 -22
  138. package/dist/config/Theme.js.map +1 -0
  139. package/dist/config/ThemeRoot.d.ts +27 -0
  140. package/dist/config/ThemeRoot.js +57 -0
  141. package/dist/config/ThemeRoot.js.map +1 -0
  142. package/dist/config/Timezone.d.ts +17 -0
  143. package/dist/config/Timezone.js +30 -0
  144. package/dist/config/Timezone.js.map +1 -0
  145. package/dist/connectToComponent.d.ts +9 -0
  146. package/dist/connectToComponent.js +59 -0
  147. package/dist/connectToComponent.js.map +1 -0
  148. package/dist/css/BusyIndicator.css +80 -0
  149. package/dist/css/FontFace.css +96 -0
  150. package/dist/css/OverrideFontFace.css +32 -0
  151. package/dist/css/SystemCSSVars.css +9 -0
  152. package/dist/decorators/customElement.d.ts +23 -0
  153. package/dist/decorators/customElement.js +42 -0
  154. package/dist/decorators/customElement.js.map +1 -0
  155. package/dist/decorators/event.d.ts +13 -0
  156. package/dist/decorators/event.js +24 -0
  157. package/dist/decorators/event.js.map +1 -0
  158. package/dist/decorators/property.d.ts +9 -0
  159. package/dist/decorators/property.js +24 -0
  160. package/dist/decorators/property.js.map +1 -0
  161. package/dist/decorators/slot.d.ts +9 -0
  162. package/dist/decorators/slot.js +37 -0
  163. package/dist/decorators/slot.js.map +1 -0
  164. package/dist/decorators.d.ts +5 -0
  165. package/dist/decorators.js +6 -0
  166. package/dist/decorators.js.map +1 -0
  167. package/dist/delegate/ItemNavigation.d.ts +114 -0
  168. package/dist/delegate/ItemNavigation.js +311 -274
  169. package/dist/delegate/ItemNavigation.js.map +1 -0
  170. package/dist/delegate/ResizeHandler.d.ts +23 -0
  171. package/dist/delegate/ResizeHandler.js +82 -63
  172. package/dist/delegate/ResizeHandler.js.map +1 -0
  173. package/dist/delegate/ScrollEnablement.d.ts +49 -0
  174. package/dist/delegate/ScrollEnablement.js +159 -153
  175. package/dist/delegate/ScrollEnablement.js.map +1 -0
  176. package/dist/features/F6Navigation.d.ts +19 -0
  177. package/dist/features/F6Navigation.js +151 -0
  178. package/dist/features/F6Navigation.js.map +1 -0
  179. package/dist/features/InputElementsFormSupport.d.ts +18 -0
  180. package/dist/features/InputElementsFormSupport.js +40 -0
  181. package/dist/features/InputElementsFormSupport.js.map +1 -0
  182. package/dist/features/LegacyDateFormats.d.ts +18 -0
  183. package/dist/features/LegacyDateFormats.js +20 -0
  184. package/dist/features/LegacyDateFormats.js.map +1 -0
  185. package/dist/features/OpenUI5Element.d.ts +9 -0
  186. package/dist/features/OpenUI5Element.js +5 -0
  187. package/dist/features/OpenUI5Element.js.map +1 -0
  188. package/dist/features/OpenUI5Enablement.d.ts +11 -0
  189. package/dist/features/OpenUI5Enablement.js +96 -0
  190. package/dist/features/OpenUI5Enablement.js.map +1 -0
  191. package/dist/features/OpenUI5Support.d.ts +34 -0
  192. package/dist/features/OpenUI5Support.js +137 -87
  193. package/dist/features/OpenUI5Support.js.map +1 -0
  194. package/dist/features/patchPatcher.d.ts +11 -0
  195. package/dist/features/patchPatcher.js +11 -0
  196. package/dist/features/patchPatcher.js.map +1 -0
  197. package/dist/features/patchPopup.d.ts +14 -0
  198. package/dist/features/patchPopup.js +50 -0
  199. package/dist/features/patchPopup.js.map +1 -0
  200. package/dist/generated/AssetParameters.d.ts +6 -0
  201. package/dist/generated/AssetParameters.js +4 -9
  202. package/dist/generated/AssetParameters.js.map +1 -0
  203. package/dist/generated/VersionInfo.d.ts +10 -0
  204. package/dist/generated/VersionInfo.js +11 -0
  205. package/dist/generated/VersionInfo.js.map +1 -0
  206. package/dist/generated/css/BusyIndicator.css.d.ts +3 -0
  207. package/dist/generated/css/BusyIndicator.css.js +7 -0
  208. package/dist/generated/css/BusyIndicator.css.js.map +1 -0
  209. package/dist/generated/css/FontFace.css.d.ts +3 -0
  210. package/dist/generated/css/FontFace.css.js +7 -0
  211. package/dist/generated/css/FontFace.css.js.map +1 -0
  212. package/dist/generated/css/OverrideFontFace.css.d.ts +3 -0
  213. package/dist/generated/css/OverrideFontFace.css.js +7 -0
  214. package/dist/generated/css/OverrideFontFace.css.js.map +1 -0
  215. package/dist/generated/css/SystemCSSVars.css.d.ts +3 -0
  216. package/dist/generated/css/SystemCSSVars.css.js +7 -0
  217. package/dist/generated/css/SystemCSSVars.css.js.map +1 -0
  218. package/dist/generated/templates/elements/WithComplexTemplateTemplate.lit.d.ts +4 -0
  219. package/dist/generated/templates/elements/WithComplexTemplateTemplate.lit.js +9 -0
  220. package/dist/generated/templates/elements/WithComplexTemplateTemplate.lit.js.map +1 -0
  221. package/dist/getSharedResource.d.ts +11 -0
  222. package/dist/getSharedResource.js +40 -0
  223. package/dist/getSharedResource.js.map +1 -0
  224. package/dist/global.d.ts +40 -0
  225. package/dist/i18nBundle.d.ts +41 -0
  226. package/dist/i18nBundle.js +71 -28
  227. package/dist/i18nBundle.js.map +1 -0
  228. package/dist/locale/Locale.d.ts +22 -0
  229. package/dist/locale/Locale.js +75 -87
  230. package/dist/locale/Locale.js.map +1 -0
  231. package/dist/locale/RTLAwareRegistry.d.ts +4 -0
  232. package/dist/locale/RTLAwareRegistry.js +9 -0
  233. package/dist/locale/RTLAwareRegistry.js.map +1 -0
  234. package/dist/locale/applyDirection.d.ts +11 -0
  235. package/dist/locale/applyDirection.js +18 -0
  236. package/dist/locale/applyDirection.js.map +1 -0
  237. package/dist/locale/directionChange.d.ts +15 -0
  238. package/dist/locale/directionChange.js +24 -0
  239. package/dist/locale/directionChange.js.map +1 -0
  240. package/dist/locale/getEffectiveDir.d.ts +2 -0
  241. package/dist/locale/getEffectiveDir.js +8 -0
  242. package/dist/locale/getEffectiveDir.js.map +1 -0
  243. package/dist/locale/getLocale.d.ts +7 -0
  244. package/dist/locale/getLocale.js +28 -21
  245. package/dist/locale/getLocale.js.map +1 -0
  246. package/dist/locale/languageChange.d.ts +5 -0
  247. package/dist/locale/languageChange.js +14 -0
  248. package/dist/locale/languageChange.js.map +1 -0
  249. package/dist/locale/nextFallbackLocale.d.ts +8 -0
  250. package/dist/locale/nextFallbackLocale.js +15 -19
  251. package/dist/locale/nextFallbackLocale.js.map +1 -0
  252. package/dist/locale/normalizeLocale.d.ts +7 -0
  253. package/dist/locale/normalizeLocale.js +34 -41
  254. package/dist/locale/normalizeLocale.js.map +1 -0
  255. package/dist/renderer/LitRenderer.d.ts +14 -0
  256. package/dist/renderer/LitRenderer.js +32 -12
  257. package/dist/renderer/LitRenderer.js.map +1 -0
  258. package/dist/renderer/directives/style-map.d.ts +13 -0
  259. package/dist/renderer/directives/style-map.js +72 -0
  260. package/dist/renderer/directives/style-map.js.map +1 -0
  261. package/dist/renderer/executeTemplate.d.ts +21 -0
  262. package/dist/renderer/executeTemplate.js +31 -0
  263. package/dist/renderer/executeTemplate.js.map +1 -0
  264. package/dist/sap/base/Log.js +750 -0
  265. package/dist/sap/base/assert.js +34 -0
  266. package/dist/sap/base/config/MemoryConfigurationProvider.js +20 -0
  267. package/dist/sap/base/security/URLListValidator.js +406 -0
  268. package/dist/sap/base/security/encodeCSS.js +40 -0
  269. package/dist/sap/base/security/encodeXML.js +53 -0
  270. package/dist/sap/base/security/sanitizeHTML.js +38 -0
  271. package/dist/sap/base/strings/toHex.js +33 -0
  272. package/dist/sap/base/util/now.js +28 -0
  273. package/dist/sap/base/util/uid.js +27 -0
  274. package/dist/sap/ui/thirdparty/caja-html-sanitizer.js +3600 -0
  275. package/dist/ssr-dom-shim.d.ts +1 -0
  276. package/dist/ssr-dom-shim.js +12 -0
  277. package/dist/ssr-dom-shim.js.map +1 -0
  278. package/dist/ssr-dom.d.ts +0 -0
  279. package/dist/ssr-dom.js +0 -0
  280. package/dist/theming/CustomStyle.d.ts +6 -0
  281. package/dist/theming/CustomStyle.js +46 -17
  282. package/dist/theming/CustomStyle.js.map +1 -0
  283. package/dist/theming/ThemeLoaded.d.ts +5 -0
  284. package/dist/theming/ThemeLoaded.js +14 -0
  285. package/dist/theming/ThemeLoaded.js.map +1 -0
  286. package/dist/theming/ThemeRegistered.d.ts +4 -0
  287. package/dist/theming/ThemeRegistered.js +11 -0
  288. package/dist/theming/ThemeRegistered.js.map +1 -0
  289. package/dist/theming/applyTheme.d.ts +2 -0
  290. package/dist/theming/applyTheme.js +64 -69
  291. package/dist/theming/applyTheme.js.map +1 -0
  292. package/dist/theming/getConstructableStyle.d.ts +9 -0
  293. package/dist/theming/getConstructableStyle.js +15 -15
  294. package/dist/theming/getConstructableStyle.js.map +1 -0
  295. package/dist/theming/getEffectiveStyle.d.ts +3 -0
  296. package/dist/theming/getEffectiveStyle.js +23 -13
  297. package/dist/theming/getEffectiveStyle.js.map +1 -0
  298. package/dist/theming/getStylesString.d.ts +3 -0
  299. package/dist/theming/getStylesString.js +11 -0
  300. package/dist/theming/getStylesString.js.map +1 -0
  301. package/dist/theming/getThemeDesignerTheme.d.ts +7 -0
  302. package/dist/theming/getThemeDesignerTheme.js +73 -60
  303. package/dist/theming/getThemeDesignerTheme.js.map +1 -0
  304. package/dist/thirdparty/_merge.d.ts +2 -0
  305. package/dist/thirdparty/_merge.js +7 -4
  306. package/dist/thirdparty/_merge.js.map +1 -0
  307. package/dist/thirdparty/isPlainObject.d.ts +2 -0
  308. package/dist/thirdparty/isPlainObject.js +11 -10
  309. package/dist/thirdparty/isPlainObject.js.map +1 -0
  310. package/dist/thirdparty/merge.d.ts +2 -0
  311. package/dist/thirdparty/merge.js +4 -8
  312. package/dist/thirdparty/merge.js.map +1 -0
  313. package/dist/types/AnimationMode.d.ts +24 -0
  314. package/dist/types/AnimationMode.js +25 -6
  315. package/dist/types/AnimationMode.js.map +1 -0
  316. package/dist/types/AriaHasPopup.d.ts +32 -0
  317. package/dist/types/AriaHasPopup.js +34 -0
  318. package/dist/types/AriaHasPopup.js.map +1 -0
  319. package/dist/types/AriaLandmarkRole.d.ts +79 -0
  320. package/dist/types/AriaLandmarkRole.js +81 -0
  321. package/dist/types/AriaLandmarkRole.js.map +1 -0
  322. package/dist/types/AriaRole.d.ts +27 -0
  323. package/dist/types/AriaRole.js +29 -0
  324. package/dist/types/AriaRole.js.map +1 -0
  325. package/dist/types/CSSColor.d.ts +11 -0
  326. package/dist/types/CSSColor.js +14 -0
  327. package/dist/types/CSSColor.js.map +1 -0
  328. package/dist/types/CSSSize.d.ts +11 -0
  329. package/dist/types/CSSSize.js +10 -5
  330. package/dist/types/CSSSize.js.map +1 -0
  331. package/dist/types/CalendarType.d.ts +28 -0
  332. package/dist/types/CalendarType.js +26 -18
  333. package/dist/types/CalendarType.js.map +1 -0
  334. package/dist/types/DOMReference.d.ts +13 -0
  335. package/dist/types/DOMReference.js +21 -0
  336. package/dist/types/DOMReference.js.map +1 -0
  337. package/dist/types/DataType.d.ts +20 -0
  338. package/dist/types/DataType.js +31 -17
  339. package/dist/types/DataType.js.map +1 -0
  340. package/dist/types/Float.d.ts +14 -0
  341. package/dist/types/Float.js +18 -0
  342. package/dist/types/Float.js.map +1 -0
  343. package/dist/types/Integer.d.ts +14 -0
  344. package/dist/types/Integer.js +14 -5
  345. package/dist/types/Integer.js.map +1 -0
  346. package/dist/types/InvisibleMessageMode.d.ts +20 -0
  347. package/dist/types/InvisibleMessageMode.js +20 -0
  348. package/dist/types/InvisibleMessageMode.js.map +1 -0
  349. package/dist/types/ItemNavigationBehavior.d.ts +18 -0
  350. package/dist/types/ItemNavigationBehavior.js +16 -17
  351. package/dist/types/ItemNavigationBehavior.js.map +1 -0
  352. package/dist/types/MovePlacement.d.ts +20 -0
  353. package/dist/types/MovePlacement.js +22 -0
  354. package/dist/types/MovePlacement.js.map +1 -0
  355. package/dist/types/NavigationMode.d.ts +24 -0
  356. package/dist/types/NavigationMode.js +25 -5
  357. package/dist/types/NavigationMode.js.map +1 -0
  358. package/dist/types/Orientation.d.ts +16 -0
  359. package/dist/types/Orientation.js +18 -0
  360. package/dist/types/Orientation.js.map +1 -0
  361. package/dist/types/ValueState.d.ts +28 -0
  362. package/dist/types/ValueState.js +27 -19
  363. package/dist/types/ValueState.js.map +1 -0
  364. package/dist/types.d.ts +41 -0
  365. package/dist/types.js +2 -0
  366. package/dist/types.js.map +1 -0
  367. package/dist/updateShadowRoot.d.ts +7 -0
  368. package/dist/updateShadowRoot.js +18 -0
  369. package/dist/updateShadowRoot.js.map +1 -0
  370. package/dist/util/AriaLabelHelper.d.ts +15 -0
  371. package/dist/util/AriaLabelHelper.js +171 -0
  372. package/dist/util/AriaLabelHelper.js.map +1 -0
  373. package/dist/util/Caret.d.ts +7 -0
  374. package/dist/util/Caret.js +23 -0
  375. package/dist/util/Caret.js.map +1 -0
  376. package/dist/util/ColorConversion.d.ts +30 -0
  377. package/dist/util/ColorConversion.js +342 -0
  378. package/dist/util/ColorConversion.js.map +1 -0
  379. package/dist/util/FetchHelper.d.ts +3 -0
  380. package/dist/util/FetchHelper.js +19 -25
  381. package/dist/util/FetchHelper.js.map +1 -0
  382. package/dist/util/FocusableElements.d.ts +4 -0
  383. package/dist/util/FocusableElements.js +68 -56
  384. package/dist/util/FocusableElements.js.map +1 -0
  385. package/dist/util/HTMLSanitizer.d.ts +3 -0
  386. package/dist/util/HTMLSanitizer.js +6 -0
  387. package/dist/util/HTMLSanitizer.js.map +1 -0
  388. package/dist/util/InvisibleMessage.d.ts +10 -0
  389. package/dist/util/InvisibleMessage.js +56 -0
  390. package/dist/util/InvisibleMessage.js.map +1 -0
  391. package/dist/util/PopupUtils.d.ts +5 -0
  392. package/dist/util/PopupUtils.js +60 -0
  393. package/dist/util/PopupUtils.js.map +1 -0
  394. package/dist/util/SlotsHelper.d.ts +9 -0
  395. package/dist/util/SlotsHelper.js +30 -0
  396. package/dist/util/SlotsHelper.js.map +1 -0
  397. package/dist/util/StringHelper.d.ts +3 -0
  398. package/dist/util/StringHelper.js +17 -20
  399. package/dist/util/StringHelper.js.map +1 -0
  400. package/dist/util/TabbableElements.d.ts +17 -0
  401. package/dist/util/TabbableElements.js +53 -43
  402. package/dist/util/TabbableElements.js.map +1 -0
  403. package/dist/util/arraysAreEqual.d.ts +2 -0
  404. package/dist/util/arraysAreEqual.js +13 -0
  405. package/dist/util/arraysAreEqual.js.map +1 -0
  406. package/dist/util/clamp.d.ts +9 -0
  407. package/dist/util/clamp.js +13 -0
  408. package/dist/util/clamp.js.map +1 -0
  409. package/dist/util/createLinkInHead.d.ts +7 -0
  410. package/dist/util/createLinkInHead.js +21 -0
  411. package/dist/util/createLinkInHead.js.map +1 -0
  412. package/dist/util/debounce.d.ts +2 -0
  413. package/dist/util/debounce.js +15 -0
  414. package/dist/util/debounce.js.map +1 -0
  415. package/dist/util/detectNavigatorLanguage.d.ts +2 -0
  416. package/dist/util/detectNavigatorLanguage.js +13 -11
  417. package/dist/util/detectNavigatorLanguage.js.map +1 -0
  418. package/dist/util/dragAndDrop/DragRegistry.d.ts +12 -0
  419. package/dist/util/dragAndDrop/DragRegistry.js +68 -0
  420. package/dist/util/dragAndDrop/DragRegistry.js.map +1 -0
  421. package/dist/util/dragAndDrop/findClosestPosition.d.ts +7 -0
  422. package/dist/util/dragAndDrop/findClosestPosition.js +59 -0
  423. package/dist/util/dragAndDrop/findClosestPosition.js.map +1 -0
  424. package/dist/util/dragAndDrop/longDragOverHandler.d.ts +2 -0
  425. package/dist/util/dragAndDrop/longDragOverHandler.js +25 -0
  426. package/dist/util/dragAndDrop/longDragOverHandler.js.map +1 -0
  427. package/dist/util/escapeRegex.d.ts +8 -0
  428. package/dist/util/escapeRegex.js +11 -0
  429. package/dist/util/escapeRegex.js.map +1 -0
  430. package/dist/util/formatMessage.d.ts +2 -0
  431. package/dist/util/formatMessage.js +15 -19
  432. package/dist/util/formatMessage.js.map +1 -0
  433. package/dist/util/generateHighlightedMarkup.d.ts +9 -0
  434. package/dist/util/generateHighlightedMarkup.js +41 -0
  435. package/dist/util/generateHighlightedMarkup.js.map +1 -0
  436. package/dist/util/getActiveElement.d.ts +2 -0
  437. package/dist/util/getActiveElement.js +9 -0
  438. package/dist/util/getActiveElement.js.map +1 -0
  439. package/dist/util/getClassCopy.d.ts +421 -0
  440. package/dist/util/getClassCopy.js +10 -0
  441. package/dist/util/getClassCopy.js.map +1 -0
  442. package/dist/util/getDesigntimePropertyAsArray.d.ts +2 -0
  443. package/dist/util/getDesigntimePropertyAsArray.js +5 -3
  444. package/dist/util/getDesigntimePropertyAsArray.js.map +1 -0
  445. package/dist/util/getEffectiveContentDensity.d.ts +2 -0
  446. package/dist/util/getEffectiveContentDensity.js +4 -0
  447. package/dist/util/getEffectiveContentDensity.js.map +1 -0
  448. package/dist/util/getEffectiveScrollbarStyle.d.ts +2 -0
  449. package/dist/util/getEffectiveScrollbarStyle.js +4 -0
  450. package/dist/util/getEffectiveScrollbarStyle.js.map +1 -0
  451. package/dist/util/getFastNavigationGroups.d.ts +2 -0
  452. package/dist/util/getFastNavigationGroups.js +51 -0
  453. package/dist/util/getFastNavigationGroups.js.map +1 -0
  454. package/{src/util/getFileExtension.js → dist/util/getFileExtension.d.ts} +3 -12
  455. package/dist/util/getFileExtension.js +9 -11
  456. package/dist/util/getFileExtension.js.map +1 -0
  457. package/dist/util/getNormalizedTarget.d.ts +7 -0
  458. package/dist/util/getNormalizedTarget.js +14 -0
  459. package/dist/util/getNormalizedTarget.js.map +1 -0
  460. package/dist/util/getParentElement.d.ts +2 -0
  461. package/dist/util/getParentElement.js +5 -0
  462. package/dist/util/getParentElement.js.map +1 -0
  463. package/dist/util/getSingletonElementInstance.d.ts +11 -0
  464. package/dist/util/getSingletonElementInstance.js +19 -0
  465. package/dist/util/getSingletonElementInstance.js.map +1 -0
  466. package/dist/util/isElementClickable.d.ts +2 -0
  467. package/dist/util/isElementClickable.js +16 -0
  468. package/dist/util/isElementClickable.js.map +1 -0
  469. package/dist/util/isElementContainingBlock.d.ts +2 -0
  470. package/dist/util/isElementContainingBlock.js +11 -0
  471. package/dist/util/isElementContainingBlock.js.map +1 -0
  472. package/dist/util/isElementHidden.d.ts +2 -0
  473. package/dist/util/isElementHidden.js +8 -0
  474. package/dist/util/isElementHidden.js.map +1 -0
  475. package/dist/util/isElementInView.d.ts +6 -0
  476. package/dist/util/isElementInView.js +12 -0
  477. package/dist/util/isElementInView.js.map +1 -0
  478. package/dist/util/isElementTabbable.d.ts +9 -0
  479. package/dist/util/isElementTabbable.js +30 -0
  480. package/dist/util/isElementTabbable.js.map +1 -0
  481. package/dist/util/isValidPropertyName.d.ts +8 -0
  482. package/dist/util/isValidPropertyName.js +19 -14
  483. package/dist/util/isValidPropertyName.js.map +1 -0
  484. package/dist/util/whenDOMReady.d.ts +2 -0
  485. package/dist/util/whenDOMReady.js +11 -10
  486. package/dist/util/whenDOMReady.js.map +1 -0
  487. package/dist/util/willShowContent.d.ts +2 -0
  488. package/dist/util/willShowContent.js +7 -0
  489. package/dist/util/willShowContent.js.map +1 -0
  490. package/dist/validateThemeRoot.d.ts +2 -0
  491. package/dist/validateThemeRoot.js +48 -0
  492. package/dist/validateThemeRoot.js.map +1 -0
  493. package/index.js +212 -2
  494. package/package-scripts.cjs +74 -0
  495. package/package.json +37 -13
  496. package/src/css/BusyIndicator.css +80 -0
  497. package/src/css/FontFace.css +96 -0
  498. package/src/css/OverrideFontFace.css +32 -0
  499. package/src/css/SystemCSSVars.css +9 -0
  500. package/tsconfig.json +20 -0
  501. package/.eslintignore +0 -11
  502. package/bundle.es5.js +0 -28
  503. package/bundle.esm.js +0 -49
  504. package/config/.eslintrc.js +0 -3
  505. package/config/rollup.config.js +0 -1
  506. package/config/wdio.conf.js +0 -1
  507. package/dist/RenderScheduler.js +0 -146
  508. package/dist/SVGIconRegistry.js +0 -60
  509. package/dist/StaticArea.js +0 -41
  510. package/dist/StaticAreaItem.js +0 -105
  511. package/dist/animations/config.js +0 -5
  512. package/dist/boot.js +0 -32
  513. package/dist/compatibility/DOMObserver.js +0 -62
  514. package/dist/compatibility/patchNodeValue.js +0 -24
  515. package/dist/compatibility/whenPolyfillLoaded.js +0 -26
  516. package/dist/config/RTL.js +0 -31
  517. package/dist/delegate/CustomResize.js +0 -78
  518. package/dist/delegate/NativeResize.js +0 -44
  519. package/dist/features/browsersupport/Edge.js +0 -6
  520. package/dist/features/browsersupport/IE11.js +0 -41
  521. package/dist/features/browsersupport/IE11WithWebComponentsPolyfill.js +0 -5
  522. package/dist/renderer/ifDefined.js +0 -21
  523. package/dist/resources/bundle.es5.js +0 -212
  524. package/dist/resources/bundle.es5.js.map +0 -1
  525. package/dist/resources/bundle.esm.js +0 -129
  526. package/dist/resources/bundle.esm.js.map +0 -1
  527. package/dist/test-resources/assets/Themes.js +0 -13
  528. package/dist/test-resources/elements/Child.js +0 -35
  529. package/dist/test-resources/elements/Generic.js +0 -84
  530. package/dist/test-resources/elements/GenericExt.js +0 -26
  531. package/dist/test-resources/elements/NoShadowDOM.js +0 -13
  532. package/dist/test-resources/elements/Parent.js +0 -37
  533. package/dist/test-resources/elements/WithStaticArea.js +0 -76
  534. package/dist/test-resources/pages/AllTestElements.html +0 -42
  535. package/dist/test-resources/pages/Configuration.html +0 -20
  536. package/dist/test-resources/pages/ConfigurationScript.html +0 -36
  537. package/dist/test-resources/specs/ConfigurationChange.spec.js +0 -25
  538. package/dist/test-resources/specs/ConfigurationScript.spec.js +0 -61
  539. package/dist/test-resources/specs/ConfigurationURL.spec.js +0 -45
  540. package/dist/test-resources/specs/CustomTheme.spec.js +0 -25
  541. package/dist/test-resources/specs/StaticArea.spec.js +0 -34
  542. package/dist/test-resources/specs/Theming.spec.js +0 -31
  543. package/dist/test-resources/specs/UI5ElementInvalidation.js +0 -258
  544. package/dist/test-resources/specs/UI5ElementLifecycle.js +0 -93
  545. package/dist/test-resources/specs/UI5ElementListenForChildPropChanges.spec.js +0 -101
  546. package/dist/test-resources/specs/UI5ElementMetadataExt.js +0 -40
  547. package/dist/test-resources/specs/UI5ElementPropertyValidation.js +0 -12
  548. package/dist/test-resources/specs/UI5ElementPropsAndAttrs.spec.js +0 -65
  549. package/dist/test-resources/specs/UI5ElementShadowDOM.js +0 -22
  550. package/dist/test-resources/specs/UI5ElementSlots.js +0 -34
  551. package/dist/theming/CSSVarsPonyfill.js +0 -24
  552. package/dist/theming/adaptCSSForIE.js +0 -90
  553. package/dist/theming/createComponentStyleTag.js +0 -49
  554. package/dist/theming/createThemePropertiesStyleTag.js +0 -20
  555. package/dist/thirdparty/Array.from.js +0 -16
  556. package/dist/thirdparty/Array.prototype.fill.js +0 -44
  557. package/dist/thirdparty/Array.prototype.find.js +0 -46
  558. package/dist/thirdparty/Array.prototype.includes.js +0 -51
  559. package/dist/thirdparty/Element.prototype.closest.js +0 -11
  560. package/dist/thirdparty/Element.prototype.matches.js +0 -6
  561. package/dist/thirdparty/Map.prototype.keys.js +0 -9
  562. package/dist/thirdparty/Number.isInteger.js +0 -5
  563. package/dist/thirdparty/Number.isNaN.js +0 -1
  564. package/dist/thirdparty/Number.parseInt.js +0 -1
  565. package/dist/thirdparty/Object.assign.js +0 -31
  566. package/dist/thirdparty/Object.entries.js +0 -11
  567. package/dist/thirdparty/Symbol.js +0 -2
  568. package/dist/thirdparty/WeakSet.js +0 -27
  569. package/dist/thirdparty/es6-string-methods.js +0 -182
  570. package/dist/thirdparty/events-polyfills.js +0 -89
  571. package/dist/thirdparty/fetch.js +0 -1
  572. package/dist/thirdparty/template.js +0 -600
  573. package/dist/thirdparty/webcomponents-sd-ce-pf.js +0 -318
  574. package/dist/types/PopupState.js +0 -37
  575. package/dist/util/createStyleInHead.js +0 -18
  576. package/dist/util/findNodeOwner.js +0 -35
  577. package/dist/util/isDescendantOf.js +0 -15
  578. package/dist/util/isNodeClickable.js +0 -19
  579. package/dist/util/isNodeHidden.js +0 -13
  580. package/dist/util/isNodeTabbable.js +0 -28
  581. package/dist/util/isSlot.js +0 -3
  582. package/dist/webcomponentsjs/LICENSE.md +0 -19
  583. package/dist/webcomponentsjs/README.md +0 -229
  584. package/dist/webcomponentsjs/bundles/webcomponents-ce.js +0 -63
  585. package/dist/webcomponentsjs/bundles/webcomponents-ce.js.map +0 -1
  586. package/dist/webcomponentsjs/bundles/webcomponents-sd-ce-pf.js +0 -297
  587. package/dist/webcomponentsjs/bundles/webcomponents-sd-ce-pf.js.map +0 -1
  588. package/dist/webcomponentsjs/bundles/webcomponents-sd-ce.js +0 -208
  589. package/dist/webcomponentsjs/bundles/webcomponents-sd-ce.js.map +0 -1
  590. package/dist/webcomponentsjs/bundles/webcomponents-sd.js +0 -166
  591. package/dist/webcomponentsjs/bundles/webcomponents-sd.js.map +0 -1
  592. package/dist/webcomponentsjs/custom-elements-es5-adapter.js +0 -15
  593. package/dist/webcomponentsjs/package.json +0 -46
  594. package/dist/webcomponentsjs/src/entrypoints/custom-elements-es5-adapter-index.js +0 -16
  595. package/dist/webcomponentsjs/src/entrypoints/webcomponents-bundle-index.js +0 -53
  596. package/dist/webcomponentsjs/src/entrypoints/webcomponents-ce-index.js +0 -17
  597. package/dist/webcomponentsjs/src/entrypoints/webcomponents-sd-ce-index.js +0 -19
  598. package/dist/webcomponentsjs/src/entrypoints/webcomponents-sd-ce-pf-index.js +0 -28
  599. package/dist/webcomponentsjs/src/entrypoints/webcomponents-sd-index.js +0 -18
  600. package/dist/webcomponentsjs/webcomponents-bundle.js +0 -298
  601. package/dist/webcomponentsjs/webcomponents-bundle.js.map +0 -1
  602. package/dist/webcomponentsjs/webcomponents-loader.js +0 -185
  603. package/lib/generate-asset-parameters/index.js +0 -22
  604. package/package-scripts.js +0 -47
  605. package/src/AssetRegistry.js +0 -9
  606. package/src/CustomElementsRegistry.js +0 -23
  607. package/src/Device.js +0 -823
  608. package/src/EventProvider.js +0 -73
  609. package/src/FeaturesRegistry.js +0 -11
  610. package/src/FontFace.js +0 -73
  611. package/src/InitialConfiguration.js +0 -131
  612. package/src/Keys.js +0 -161
  613. package/src/RenderQueue.js +0 -42
  614. package/src/RenderScheduler.js +0 -146
  615. package/src/SVGIconRegistry.js +0 -60
  616. package/src/StaticArea.js +0 -41
  617. package/src/StaticAreaItem.js +0 -105
  618. package/src/Theming.js +0 -3
  619. package/src/UI5Element.js +0 -926
  620. package/src/UI5ElementMetadata.js +0 -171
  621. package/src/animations/AnimationQueue.js +0 -42
  622. package/src/animations/animate.js +0 -53
  623. package/src/animations/config.js +0 -5
  624. package/src/animations/scroll.js +0 -28
  625. package/src/animations/slideDown.js +0 -79
  626. package/src/animations/slideUp.js +0 -71
  627. package/src/asset-registries/Icons.js +0 -24
  628. package/src/asset-registries/LocaleData.js +0 -125
  629. package/src/asset-registries/Themes.js +0 -87
  630. package/src/asset-registries/i18n.js +0 -79
  631. package/src/boot.js +0 -32
  632. package/src/compatibility/DOMObserver.js +0 -62
  633. package/src/compatibility/patchNodeValue.js +0 -24
  634. package/src/compatibility/whenPolyfillLoaded.js +0 -26
  635. package/src/config/AnimationMode.js +0 -13
  636. package/src/config/CalendarType.js +0 -18
  637. package/src/config/FormatSettings.js +0 -13
  638. package/src/config/Language.js +0 -12
  639. package/src/config/NoConflict.js +0 -51
  640. package/src/config/RTL.js +0 -31
  641. package/src/config/Theme.js +0 -28
  642. package/src/delegate/CustomResize.js +0 -78
  643. package/src/delegate/ItemNavigation.js +0 -278
  644. package/src/delegate/NativeResize.js +0 -44
  645. package/src/delegate/ResizeHandler.js +0 -66
  646. package/src/delegate/ScrollEnablement.js +0 -159
  647. package/src/features/OpenUI5Support.js +0 -90
  648. package/src/features/browsersupport/Edge.js +0 -6
  649. package/src/features/browsersupport/IE11.js +0 -41
  650. package/src/features/browsersupport/IE11WithWebComponentsPolyfill.js +0 -5
  651. package/src/i18nBundle.js +0 -33
  652. package/src/locale/Locale.js +0 -91
  653. package/src/locale/getLocale.js +0 -31
  654. package/src/locale/nextFallbackLocale.js +0 -28
  655. package/src/locale/normalizeLocale.js +0 -54
  656. package/src/renderer/LitRenderer.js +0 -15
  657. package/src/renderer/ifDefined.js +0 -21
  658. package/src/theming/CSSVarsPonyfill.js +0 -24
  659. package/src/theming/CustomStyle.js +0 -19
  660. package/src/theming/adaptCSSForIE.js +0 -90
  661. package/src/theming/applyTheme.js +0 -81
  662. package/src/theming/createComponentStyleTag.js +0 -49
  663. package/src/theming/createThemePropertiesStyleTag.js +0 -20
  664. package/src/theming/getConstructableStyle.js +0 -25
  665. package/src/theming/getEffectiveStyle.js +0 -15
  666. package/src/theming/getThemeDesignerTheme.js +0 -67
  667. package/src/thirdparty/Array.from.js +0 -16
  668. package/src/thirdparty/Array.prototype.fill.js +0 -44
  669. package/src/thirdparty/Array.prototype.find.js +0 -46
  670. package/src/thirdparty/Array.prototype.includes.js +0 -51
  671. package/src/thirdparty/Element.prototype.closest.js +0 -11
  672. package/src/thirdparty/Element.prototype.matches.js +0 -6
  673. package/src/thirdparty/Map.prototype.keys.js +0 -9
  674. package/src/thirdparty/Number.isInteger.js +0 -5
  675. package/src/thirdparty/Number.isNaN.js +0 -1
  676. package/src/thirdparty/Number.parseInt.js +0 -1
  677. package/src/thirdparty/Object.assign.js +0 -31
  678. package/src/thirdparty/Object.entries.js +0 -11
  679. package/src/thirdparty/Symbol.js +0 -2
  680. package/src/thirdparty/WeakSet.js +0 -27
  681. package/src/thirdparty/_merge.js +0 -32
  682. package/src/thirdparty/es6-string-methods.js +0 -182
  683. package/src/thirdparty/events-polyfills.js +0 -89
  684. package/src/thirdparty/fetch.js +0 -1
  685. package/src/thirdparty/isPlainObject.js +0 -18
  686. package/src/thirdparty/merge.js +0 -10
  687. package/src/thirdparty/template.js +0 -600
  688. package/src/thirdparty/webcomponents-sd-ce-pf.js +0 -318
  689. package/src/types/AnimationMode.js +0 -7
  690. package/src/types/CSSSize.js +0 -9
  691. package/src/types/CalendarType.js +0 -22
  692. package/src/types/DataType.js +0 -25
  693. package/src/types/Integer.js +0 -9
  694. package/src/types/ItemNavigationBehavior.js +0 -21
  695. package/src/types/NavigationMode.js +0 -6
  696. package/src/types/PopupState.js +0 -37
  697. package/src/types/ValueState.js +0 -22
  698. package/src/util/FetchHelper.js +0 -31
  699. package/src/util/FocusableElements.js +0 -60
  700. package/src/util/StringHelper.js +0 -26
  701. package/src/util/TabbableElements.js +0 -47
  702. package/src/util/createStyleInHead.js +0 -18
  703. package/src/util/detectNavigatorLanguage.js +0 -13
  704. package/src/util/findNodeOwner.js +0 -35
  705. package/src/util/formatMessage.js +0 -23
  706. package/src/util/getDesigntimePropertyAsArray.js +0 -4
  707. package/src/util/isDescendantOf.js +0 -15
  708. package/src/util/isNodeClickable.js +0 -19
  709. package/src/util/isNodeHidden.js +0 -13
  710. package/src/util/isNodeTabbable.js +0 -28
  711. package/src/util/isSlot.js +0 -3
  712. package/src/util/isValidPropertyName.js +0 -23
  713. package/src/util/whenDOMReady.js +0 -13
@@ -1,212 +0,0 @@
1
- !function(t){"use strict";
2
- /*!
3
- * css-vars-ponyfill
4
- * v2.1.2
5
- * https://jhildenbiddle.github.io/css-vars-ponyfill/
6
- * (c) 2018-2019 John Hildenbiddle <http://hildenbiddle.com>
7
- * MIT license
8
- */function e(){return(e=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function n(t){return function(t){if(Array.isArray(t)){for(var e=0,n=new Array(t.length);e<t.length;e++)n[e]=t[e];return n}}(t)||function(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}
9
- /*!
10
- * get-css-data
11
- * v1.6.3
12
- * https://github.com/jhildenbiddle/get-css-data
13
- * (c) 2018-2019 John Hildenbiddle <http://hildenbiddle.com>
14
- * MIT license
15
- */()}function r(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n={mimeType:e.mimeType||null,onBeforeSend:e.onBeforeSend||Function.prototype,onSuccess:e.onSuccess||Function.prototype,onError:e.onError||Function.prototype,onComplete:e.onComplete||Function.prototype},r=Array.isArray(t)?t:[t],o=Array.apply(null,Array(r.length)).map((function(t){return null}));function i(){return!("<"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").trim().charAt(0))}function a(t,e){n.onError(t,r[e],e)}function s(t,e){var i=n.onSuccess(t,r[e],e);t=!1===i?"":i||t,o[e]=t,-1===o.indexOf(null)&&n.onComplete(o)}var u=document.createElement("a");r.forEach((function(t,e){if(u.setAttribute("href",t),u.href=String(u.href),Boolean(document.all&&!window.atob)&&u.host.split(":")[0]!==location.host.split(":")[0]){if(u.protocol===location.protocol){var r=new XDomainRequest;r.open("GET",t),r.timeout=0,r.onprogress=Function.prototype,r.ontimeout=Function.prototype,r.onload=function(){i(r.responseText)?s(r.responseText,e):a(r,e)},r.onerror=function(t){a(r,e)},setTimeout((function(){r.send()}),0)}else console.warn("Internet Explorer 9 Cross-Origin (CORS) requests must use the same protocol (".concat(t,")")),a(null,e)}else{var o=new XMLHttpRequest;o.open("GET",t),n.mimeType&&o.overrideMimeType&&o.overrideMimeType(n.mimeType),n.onBeforeSend(o,t,e),o.onreadystatechange=function(){4===o.readyState&&(200===o.status&&i(o.responseText)?s(o.responseText,e):a(o,e))},o.send()}}))}
16
- /**
17
- * Gets CSS data from <style> and <link> nodes (including @imports), then
18
- * returns data in order processed by DOM. Allows specifying nodes to
19
- * include/exclude and filtering CSS data using RegEx.
20
- *
21
- * @preserve
22
- * @param {object} [options] The options object
23
- * @param {object} [options.rootElement=document] Root element to traverse for
24
- * <link> and <style> nodes.
25
- * @param {string} [options.include] CSS selector matching <link> and <style>
26
- * nodes to include
27
- * @param {string} [options.exclude] CSS selector matching <link> and <style>
28
- * nodes to exclude
29
- * @param {object} [options.filter] Regular expression used to filter node CSS
30
- * data. Each block of CSS data is tested against the filter,
31
- * and only matching data is included.
32
- * @param {object} [options.useCSSOM=false] Determines if CSS data will be
33
- * collected from a stylesheet's runtime values instead of its
34
- * text content. This is required to get accurate CSS data
35
- * when a stylesheet has been modified using the deleteRule()
36
- * or insertRule() methods because these modifications will
37
- * not be reflected in the stylesheet's text content.
38
- * @param {function} [options.onBeforeSend] Callback before XHR is sent. Passes
39
- * 1) the XHR object, 2) source node reference, and 3) the
40
- * source URL as arguments.
41
- * @param {function} [options.onSuccess] Callback on each CSS node read. Passes
42
- * 1) CSS text, 2) source node reference, and 3) the source
43
- * URL as arguments.
44
- * @param {function} [options.onError] Callback on each error. Passes 1) the XHR
45
- * object for inspection, 2) soure node reference, and 3) the
46
- * source URL that failed (either a <link> href or an @import)
47
- * as arguments
48
- * @param {function} [options.onComplete] Callback after all nodes have been
49
- * processed. Passes 1) concatenated CSS text, 2) an array of
50
- * CSS text in DOM order, and 3) an array of nodes in DOM
51
- * order as arguments.
52
- *
53
- * @example
54
- *
55
- * getCssData({
56
- * rootElement: document,
57
- * include : 'style,link[rel="stylesheet"]',
58
- * exclude : '[href="skip.css"]',
59
- * filter : /red/,
60
- * useCSSOM : false,
61
- * onBeforeSend(xhr, node, url) {
62
- * // ...
63
- * }
64
- * onSuccess(cssText, node, url) {
65
- * // ...
66
- * }
67
- * onError(xhr, node, url) {
68
- * // ...
69
- * },
70
- * onComplete(cssText, cssArray, nodeArray) {
71
- * // ...
72
- * }
73
- * });
74
- */function o(t){var e={cssComments:/\/\*[\s\S]+?\*\//g,cssImports:/(?:@import\s*)(?:url\(\s*)?(?:['"])([^'"]*)(?:['"])(?:\s*\))?(?:[^;]*;)/g},n={rootElement:t.rootElement||document,include:t.include||'style,link[rel="stylesheet"]',exclude:t.exclude||null,filter:t.filter||null,useCSSOM:t.useCSSOM||!1,onBeforeSend:t.onBeforeSend||Function.prototype,onSuccess:t.onSuccess||Function.prototype,onError:t.onError||Function.prototype,onComplete:t.onComplete||Function.prototype},o=Array.apply(null,n.rootElement.querySelectorAll(n.include)).filter((function(t){return e=t,r=n.exclude,!(e.matches||e.matchesSelector||e.webkitMatchesSelector||e.mozMatchesSelector||e.msMatchesSelector||e.oMatchesSelector).call(e,r);var e,r})),a=Array.apply(null,Array(o.length)).map((function(t){return null}));function s(){if(-1===a.indexOf(null)){var t=a.join("");n.onComplete(t,a,o)}}function u(t,e,o,i){var u=n.onSuccess(t,o,i);(function t(e,o,i,a){var s=arguments.length>4&&void 0!==arguments[4]?arguments[4]:[],u=arguments.length>5&&void 0!==arguments[5]?arguments[5]:[],l=c(e,i,u);l.rules.length?r(l.absoluteUrls,{onBeforeSend:function(t,e,r){n.onBeforeSend(t,o,e)},onSuccess:function(t,e,r){var i=n.onSuccess(t,o,e),a=c(t=!1===i?"":i||t,e,u);return a.rules.forEach((function(e,n){t=t.replace(e,a.absoluteRules[n])})),t},onError:function(n,r,c){s.push({xhr:n,url:r}),u.push(l.rules[c]),t(e,o,i,a,s,u)},onComplete:function(n){n.forEach((function(t,n){e=e.replace(l.rules[n],t)})),t(e,o,i,a,s,u)}}):a(e,s)})(t=void 0!==u&&!1===Boolean(u)?"":u||t,o,i,(function(t,r){null===a[e]&&(r.forEach((function(t){return n.onError(t.xhr,o,t.url)})),!n.filter||n.filter.test(t)?a[e]=t:a[e]="",s())}))}function c(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],o={};return o.rules=(t.replace(e.cssComments,"").match(e.cssImports)||[]).filter((function(t){return-1===r.indexOf(t)})),o.urls=o.rules.map((function(t){return t.replace(e.cssImports,"$1")})),o.absoluteUrls=o.urls.map((function(t){return i(t,n)})),o.absoluteRules=o.rules.map((function(t,e){var r=o.urls[e],a=i(o.absoluteUrls[e],n);return t.replace(r,a)})),o}o.length?o.forEach((function(t,e){var o=t.getAttribute("href"),c=t.getAttribute("rel"),l="LINK"===t.nodeName&&o&&c&&"stylesheet"===c.toLowerCase(),f="STYLE"===t.nodeName;if(l)r(o,{mimeType:"text/css",onBeforeSend:function(e,r,o){n.onBeforeSend(e,t,r)},onSuccess:function(n,r,a){var s=i(o,location.href);u(n,e,t,s)},onError:function(r,o,i){a[e]="",n.onError(r,t,o),s()}});else if(f){var h=t.textContent;n.useCSSOM&&(h=Array.apply(null,t.sheet.cssRules).map((function(t){return t.cssText})).join("")),u(h,e,t,location.href)}else a[e]="",s()})):n.onComplete("",[])}function i(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:location.href,n=document.implementation.createHTMLDocument(""),r=n.createElement("base"),o=n.createElement("a");return n.head.appendChild(r),n.body.appendChild(o),r.href=e,o.href=t,o.href}var a=s;function s(t,e,n){t instanceof RegExp&&(t=u(t,n)),e instanceof RegExp&&(e=u(e,n));var r=c(t,e,n);return r&&{start:r[0],end:r[1],pre:n.slice(0,r[0]),body:n.slice(r[0]+t.length,r[1]),post:n.slice(r[1]+e.length)}}function u(t,e){var n=e.match(t);return n?n[0]:null}function c(t,e,n){var r,o,i,a,s,u=n.indexOf(t),c=n.indexOf(e,u+1),l=u;if(u>=0&&c>0){for(r=[],i=n.length;l>=0&&!s;)l==u?(r.push(l),u=n.indexOf(t,l+1)):1==r.length?s=[r.pop(),c]:((o=r.pop())<i&&(i=o,a=c),c=n.indexOf(e,l+1)),l=u<c&&u>=0?u:c;r.length&&(s=[i,a])}return s}function l(t){var n=e({},{preserveStatic:!0,removeComments:!1},arguments.length>1&&void 0!==arguments[1]?arguments[1]:{});function r(t){throw new Error("CSS parse error: ".concat(t))}function o(e){var n=e.exec(t);if(n)return t=t.slice(n[0].length),n}function i(){return o(/^{\s*/)}function s(){return o(/^}/)}function u(){o(/^\s*/)}function c(){if(u(),"/"===t[0]&&"*"===t[1]){for(var e=2;t[e]&&("*"!==t[e]||"/"!==t[e+1]);)e++;if(!t[e])return r("end of comment is missing");var n=t.slice(2,e);return t=t.slice(e+2),{type:"comment",comment:n}}}function l(){for(var t,e=[];t=c();)e.push(t);return n.removeComments?[]:e}function f(){for(u();"}"===t[0];)r("extra closing bracket");var e=o(/^(("(?:\\"|[^"])*"|'(?:\\'|[^'])*'|[^{])+)/);if(e)return e[0].trim().replace(/\/\*([^*]|[\r\n]|(\*+([^*\/]|[\r\n])))*\*\/+/g,"").replace(/"(?:\\"|[^"])*"|'(?:\\'|[^'])*'/g,(function(t){return t.replace(/,/g,"‌")})).split(/\s*(?![^(]*\)),\s*/).map((function(t){return t.replace(/\u200C/g,",")}))}function h(){o(/^([;\s]*)+/);var t=/\/\*[^*]*\*+([^\/*][^*]*\*+)*\//g,e=o(/^(\*?[-#\/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/);if(e){if(e=e[0].trim(),!o(/^:\s*/))return r("property missing ':'");var n=o(/^((?:\/\*.*?\*\/|'(?:\\'|.)*?'|"(?:\\"|.)*?"|\((\s*'(?:\\'|.)*?'|"(?:\\"|.)*?"|[^)]*?)\s*\)|[^};])+)/),i={type:"declaration",property:e.replace(t,""),value:n?n[0].replace(t,"").trim():""};return o(/^[;\s]*/),i}}function d(){if(!i())return r("missing '{'");for(var t,e=l();t=h();)e.push(t),e=e.concat(l());return s()?e:r("missing '}'")}function p(){u();for(var t,e=[];t=o(/^((\d+\.\d+|\.\d+|\d+)%?|[a-z]+)\s*/);)e.push(t[1]),o(/^,\s*/);if(e.length)return{type:"keyframe",values:e,declarations:d()}}function m(){if(u(),"@"===t[0]){var e=function(){var t=o(/^@([-\w]+)?keyframes\s*/);if(t){var e=t[1];if(!(t=o(/^([-\w]+)\s*/)))return r("@keyframes missing name");var n,a=t[1];if(!i())return r("@keyframes missing '{'");for(var u=l();n=p();)u.push(n),u=u.concat(l());return s()?{type:"keyframes",name:a,vendor:e,keyframes:u}:r("@keyframes missing '}'")}}()||function(){var t=o(/^@supports *([^{]+)/);if(t)return{type:"supports",supports:t[1].trim(),rules:y()}}()||function(){if(o(/^@host\s*/))return{type:"host",rules:y()}}()||function(){var t=o(/^@media([^{]+)*/);if(t)return{type:"media",media:(t[1]||"").trim(),rules:y()}}()||function(){var t=o(/^@custom-media\s+(--[^\s]+)\s*([^{;]+);/);if(t)return{type:"custom-media",name:t[1].trim(),media:t[2].trim()}}()||function(){if(o(/^@page */))return{type:"page",selectors:f()||[],declarations:d()}}()||function(){var t=o(/^@([-\w]+)?document *([^{]+)/);if(t)return{type:"document",document:t[2].trim(),vendor:t[1]?t[1].trim():null,rules:y()}}()||function(){if(o(/^@font-face\s*/))return{type:"font-face",declarations:d()}}()||function(){var t=o(/^@(import|charset|namespace)\s*([^;]+);/);if(t)return{type:t[1],name:t[2].trim()}}();if(e&&!n.preserveStatic){var a=!1;if(e.declarations)a=e.declarations.some((function(t){return/var\(/.test(t.value)}));else a=(e.keyframes||e.rules||[]).some((function(t){return(t.declarations||[]).some((function(t){return/var\(/.test(t.value)}))}));return a?e:{}}return e}}function v(){if(!n.preserveStatic){var e=a("{","}",t);if(e){var o=/:(?:root|host)(?![.:#(])/.test(e.pre)&&/--\S*\s*:/.test(e.body),i=/var\(/.test(e.body);if(!o&&!i)return t=t.slice(e.end+1),{}}}var s=f()||[],u=n.preserveStatic?d():d().filter((function(t){var e=s.some((function(t){return/:(?:root|host)(?![.:#(])/.test(t)}))&&/^--\S/.test(t.property),n=/var\(/.test(t.value);return e||n}));return s.length||r("selector missing"),{type:"rule",selectors:s,declarations:u}}function y(e){if(!e&&!i())return r("missing '{'");for(var n,o=l();t.length&&(e||"}"!==t[0])&&(n=m()||v());)n.type&&o.push(n),o=o.concat(l());return e||s()?o:r("missing '}'")}return{type:"stylesheet",stylesheet:{rules:y(!0),errors:[]}}}function f(t){var n=e({},{parseHost:!1,store:{},onWarning:function(){}},arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}),r=new RegExp(":".concat(n.parseHost?"host":"root","(?![.:#(])"));return"string"==typeof t&&(t=l(t,n)),t.stylesheet.rules.forEach((function(t){"rule"===t.type&&t.selectors.some((function(t){return r.test(t)}))&&t.declarations.forEach((function(t,e){var r=t.property,o=t.value;r&&0===r.indexOf("--")&&(n.store[r]=o)}))})),n.store}function h(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2?arguments[2]:void 0,r={charset:function(t){return"@charset "+t.name+";"},comment:function(t){return 0===t.comment.indexOf("__CSSVARSPONYFILL")?"/*"+t.comment+"*/":""},"custom-media":function(t){return"@custom-media "+t.name+" "+t.media+";"},declaration:function(t){return t.property+":"+t.value+";"},document:function(t){return"@"+(t.vendor||"")+"document "+t.document+"{"+o(t.rules)+"}"},"font-face":function(t){return"@font-face{"+o(t.declarations)+"}"},host:function(t){return"@host{"+o(t.rules)+"}"},import:function(t){return"@import "+t.name+";"},keyframe:function(t){return t.values.join(",")+"{"+o(t.declarations)+"}"},keyframes:function(t){return"@"+(t.vendor||"")+"keyframes "+t.name+"{"+o(t.keyframes)+"}"},media:function(t){return"@media "+t.media+"{"+o(t.rules)+"}"},namespace:function(t){return"@namespace "+t.name+";"},page:function(t){return"@page "+(t.selectors.length?t.selectors.join(", "):"")+"{"+o(t.declarations)+"}"},rule:function(t){var e=t.declarations;if(e.length)return t.selectors.join(",")+"{"+o(e)+"}"},supports:function(t){return"@supports "+t.supports+"{"+o(t.rules)+"}"}};function o(t){for(var o="",i=0;i<t.length;i++){var a=t[i];n&&n(a);var s=r[a.type](a);s&&(o+=s,s.length&&a.selectors&&(o+=e))}return o}return o(t.stylesheet.rules)}s.range=c;var d="--",p="var";function m(t){var n=e({},{preserveStatic:!0,preserveVars:!1,variables:{},onWarning:function(){}},arguments.length>1&&void 0!==arguments[1]?arguments[1]:{});return"string"==typeof t&&(t=l(t,n)),function t(e,n){e.rules.forEach((function(r){r.rules?t(r,n):r.keyframes?r.keyframes.forEach((function(t){"keyframe"===t.type&&n(t.declarations,r)})):r.declarations&&n(r.declarations,e)}))}(t.stylesheet,(function(t,e){for(var r=0;r<t.length;r++){var o=t[r],i=o.type,a=o.property,s=o.value;if("declaration"===i)if(n.preserveVars||!a||0!==a.indexOf(d)){if(-1!==s.indexOf(p+"(")){var u=y(s,n);u!==o.value&&(u=v(u),n.preserveVars?(t.splice(r,0,{type:i,property:a,value:u}),r++):o.value=u)}}else t.splice(r,1),r--}})),h(t)}function v(t){return(t.match(/calc\(([^)]+)\)/g)||[]).forEach((function(e){var n="calc".concat(e.split("calc").join(""));t=t.replace(e,n)})),t}function y(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0;if(-1===t.indexOf("var("))return t;var r=a("(",")",t);return r?"var"===r.pre.slice(-3)?0===r.body.trim().length?(e.onWarning("var() must contain a non-whitespace string"),t):r.pre.slice(0,-3)+function(t){var r=t.split(",")[0].replace(/[\s\n\t]/g,""),o=(t.match(/(?:\s*,\s*){1}(.*)?/)||[])[1],i=Object.prototype.hasOwnProperty.call(e.variables,r)?String(e.variables[r]):void 0,a=i||(o?String(o):void 0),s=n||t;return i||e.onWarning('variable "'.concat(r,'" is undefined')),a&&"undefined"!==a&&a.length>0?y(a,e,s):"var(".concat(s,")")}(r.body)+y(r.post,e):r.pre+"(".concat(y(r.body,e),")")+y(r.post,e):(-1!==t.indexOf("var(")&&e.onWarning('missing closing ")" in the value "'.concat(t,'"')),t)}var g="undefined"!=typeof window,w=g&&window.CSS&&window.CSS.supports&&window.CSS.supports("(--a: 0)"),b={group:0,job:0},S={rootElement:g?document:null,shadowDOM:!1,include:"style,link[rel=stylesheet]",exclude:"",variables:{},onlyLegacy:!0,preserveStatic:!0,preserveVars:!1,silent:!1,updateDOM:!0,updateURLs:!0,watch:null,onBeforeSend:function(){},onWarning:function(){},onError:function(){},onSuccess:function(){},onComplete:function(){}},_={cssComments:/\/\*[\s\S]+?\*\//g,cssKeyframes:/@(?:-\w*-)?keyframes/,cssMediaQueries:/@media[^{]+\{([\s\S]+?})\s*}/g,cssUrls:/url\((?!['"]?(?:data|http|\/\/):)['"]?([^'")]*)['"]?\)/g,cssVarDeclRules:/(?::(?:root|host)(?![.:#(])[\s,]*[^{]*{\s*[^}]*})/g,cssVarDecls:/(?:[\s;]*)(-{2}\w[\w-]*)(?:\s*:\s*)([^;]*);/g,cssVarFunc:/var\(\s*--[\w-]/,cssVars:/(?:(?::(?:root|host)(?![.:#(])[\s,]*[^{]*{\s*[^;]*;*\s*)|(?:var\(\s*))(--[^:)]+)(?:\s*[:)])/},k={dom:{},job:{},user:{}},x=!1,E=null,O=0,A=null,C=!1;
75
- /**
76
- * Fetches, parses, and transforms CSS custom properties from specified
77
- * <style> and <link> elements into static values, then appends a new <style>
78
- * element with static values to the DOM to provide CSS custom property
79
- * compatibility for legacy browsers. Also provides a single interface for
80
- * live updates of runtime values in both modern and legacy browsers.
81
- *
82
- * @preserve
83
- * @param {object} [options] Options object
84
- * @param {object} [options.rootElement=document] Root element to traverse for
85
- * <link> and <style> nodes
86
- * @param {boolean} [options.shadowDOM=false] Determines if shadow DOM <link>
87
- * and <style> nodes will be processed.
88
- * @param {string} [options.include="style,link[rel=stylesheet]"] CSS selector
89
- * matching <link re="stylesheet"> and <style> nodes to
90
- * process
91
- * @param {string} [options.exclude] CSS selector matching <link
92
- * rel="stylehseet"> and <style> nodes to exclude from those
93
- * matches by options.include
94
- * @param {object} [options.variables] A map of custom property name/value
95
- * pairs. Property names can omit or include the leading
96
- * double-hyphen (—), and values specified will override
97
- * previous values
98
- * @param {boolean} [options.onlyLegacy=true] Determines if the ponyfill will
99
- * only generate legacy-compatible CSS in browsers that lack
100
- * native support (i.e., legacy browsers)
101
- * @param {boolean} [options.preserveStatic=true] Determines if CSS
102
- * declarations that do not reference a custom property will
103
- * be preserved in the transformed CSS
104
- * @param {boolean} [options.preserveVars=false] Determines if CSS custom
105
- * property declarations will be preserved in the transformed
106
- * CSS
107
- * @param {boolean} [options.silent=false] Determines if warning and error
108
- * messages will be displayed on the console
109
- * @param {boolean} [options.updateDOM=true] Determines if the ponyfill will
110
- * update the DOM after processing CSS custom properties
111
- * @param {boolean} [options.updateURLs=true] Determines if the ponyfill will
112
- * convert relative url() paths to absolute urls
113
- * @param {boolean} [options.watch=false] Determines if a MutationObserver will
114
- * be created that will execute the ponyfill when a <link> or
115
- * <style> DOM mutation is observed
116
- * @param {function} [options.onBeforeSend] Callback before XHR is sent. Passes
117
- * 1) the XHR object, 2) source node reference, and 3) the
118
- * source URL as arguments
119
- * @param {function} [options.onWarning] Callback after each CSS parsing warning
120
- * has occurred. Passes 1) a warning message as an argument.
121
- * @param {function} [options.onError] Callback after a CSS parsing error has
122
- * occurred or an XHR request has failed. Passes 1) an error
123
- * message, and 2) source node reference, 3) xhr, and 4 url as
124
- * arguments.
125
- * @param {function} [options.onSuccess] Callback after CSS data has been
126
- * collected from each node and before CSS custom properties
127
- * have been transformed. Allows modifying the CSS data before
128
- * it is transformed by returning any string value (or false
129
- * to skip). Passes 1) CSS text, 2) source node reference, and
130
- * 3) the source URL as arguments.
131
- * @param {function} [options.onComplete] Callback after all CSS has been
132
- * processed, legacy-compatible CSS has been generated, and
133
- * (optionally) the DOM has been updated. Passes 1) a CSS
134
- * string with CSS variable values resolved, 2) an array of
135
- * output <style> node references that have been appended to
136
- * the DOM, 3) an object containing all custom properies names
137
- * and values, and 4) the ponyfill execution time in
138
- * milliseconds.
139
- *
140
- * @example
141
- *
142
- * cssVars({
143
- * rootElement : document,
144
- * shadowDOM : false,
145
- * include : 'style,link[rel="stylesheet"]',
146
- * exclude : '',
147
- * variables : {},
148
- * onlyLegacy : true,
149
- * preserveStatic: true,
150
- * preserveVars : false,
151
- * silent : false,
152
- * updateDOM : true,
153
- * updateURLs : true,
154
- * watch : false,
155
- * onBeforeSend(xhr, node, url) {},
156
- * onWarning(message) {},
157
- * onError(message, node, xhr, url) {},
158
- * onSuccess(cssText, node, url) {},
159
- * onComplete(cssText, styleNode, cssVariables, benchmark) {}
160
- * });
161
- */
162
- function R(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r="cssVars(): ",i=e({},S,t);function a(t,e,n,o){!i.silent&&window.console&&console.error("".concat(r).concat(t,"\n"),e),i.onError(t,e,n,o)}function s(t){!i.silent&&window.console&&console.warn("".concat(r).concat(t)),i.onWarning(t)}if(g){if(i.watch)return i.watch=S.watch,function(t){function e(t){return"LINK"===t.tagName&&-1!==(t.getAttribute("rel")||"").indexOf("stylesheet")&&!t.disabled}if(!window.MutationObserver)return;E&&(E.disconnect(),E=null);(E=new MutationObserver((function(n){n.some((function(n){var r,o=!1;return"attributes"===n.type?o=e(n.target):"childList"===n.type&&(r=n.addedNodes,o=Array.apply(null,r).some((function(t){var n=1===t.nodeType&&t.hasAttribute("data-cssvars"),r=function(t){return"STYLE"===t.tagName&&!t.disabled}(t)&&_.cssVars.test(t.textContent);return!n&&(e(t)||r)}))||function(e){return Array.apply(null,e).some((function(e){var n=1===e.nodeType,r=n&&"out"===e.getAttribute("data-cssvars"),o=n&&"src"===e.getAttribute("data-cssvars"),i=o;if(o||r){var a=e.getAttribute("data-cssvars-group"),s=t.rootElement.querySelector('[data-cssvars-group="'.concat(a,'"]'));o&&(T(t.rootElement),k.dom={}),s&&s.parentNode.removeChild(s)}return i}))}(n.removedNodes)),o}))&&R(t)}))).observe(document.documentElement,{attributes:!0,attributeFilter:["disabled","href"],childList:!0,subtree:!0})}(i),void R(i);if(!1===i.watch&&E&&(E.disconnect(),E=null),!i.__benchmark){if(x===i.rootElement)return void function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:100;clearTimeout(A),A=setTimeout((function(){t.__benchmark=null,R(t)}),e)}(t);if(i.__benchmark=N(),i.exclude=[E?'[data-cssvars]:not([data-cssvars=""])':'[data-cssvars="out"]',i.exclude].filter((function(t){return t})).join(","),i.variables=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=/^-{2}/;return Object.keys(t).reduce((function(n,r){return n[e.test(r)?r:"--".concat(r.replace(/^-+/,""))]=t[r],n}),{})}(i.variables),!E)if(Array.apply(null,i.rootElement.querySelectorAll('[data-cssvars="out"]')).forEach((function(t){var e=t.getAttribute("data-cssvars-group");(e?i.rootElement.querySelector('[data-cssvars="src"][data-cssvars-group="'.concat(e,'"]')):null)||t.parentNode.removeChild(t)})),O){var u=i.rootElement.querySelectorAll('[data-cssvars]:not([data-cssvars="out"])');u.length<O&&(O=u.length,k.dom={})}}if("loading"!==document.readyState)if(w&&i.onlyLegacy){if(i.updateDOM){var c=i.rootElement.host||(i.rootElement===document?document.documentElement:i.rootElement);Object.keys(i.variables).forEach((function(t){c.style.setProperty(t,i.variables[t])}))}}else!C&&(i.shadowDOM||i.rootElement.shadowRoot||i.rootElement.host)?o({rootElement:S.rootElement,include:S.include,exclude:i.exclude,onSuccess:function(t,e,n){return(t=((t=t.replace(_.cssComments,"").replace(_.cssMediaQueries,"")).match(_.cssVarDeclRules)||[]).join(""))||!1},onComplete:function(t,e,n){f(t,{store:k.dom,onWarning:s}),C=!0,R(i)}}):(x=i.rootElement,o({rootElement:i.rootElement,include:i.include,exclude:i.exclude,onBeforeSend:i.onBeforeSend,onError:function(t,e,n){var r=t.responseURL||P(n,location.href),o=t.statusText?"(".concat(t.statusText,")"):"Unspecified Error"+(0===t.status?" (possibly CORS related)":"");a("CSS XHR Error: ".concat(r," ").concat(t.status," ").concat(o),e,t,r)},onSuccess:function(t,e,n){var r=i.onSuccess(t,e,n);return t=void 0!==r&&!1===Boolean(r)?"":r||t,i.updateURLs&&(t=function(t,e){return(t.replace(_.cssComments,"").match(_.cssUrls)||[]).forEach((function(n){var r=n.replace(_.cssUrls,"$1"),o=P(r,e);t=t.replace(n,n.replace(r,o))})),t}(t,n)),t},onComplete:function(t,r){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],u={},c=i.updateDOM?k.dom:Object.keys(k.job).length?k.job:k.job=JSON.parse(JSON.stringify(k.dom)),d=!1;if(o.forEach((function(t,e){if(_.cssVars.test(r[e]))try{var n=l(r[e],{preserveStatic:i.preserveStatic,removeComments:!0});f(n,{parseHost:Boolean(i.rootElement.host),store:u,onWarning:s}),t.__cssVars={tree:n}}catch(e){a(e.message,t)}})),i.updateDOM&&e(k.user,i.variables),e(u,i.variables),d=Boolean((document.querySelector("[data-cssvars]")||Object.keys(k.dom).length)&&Object.keys(u).some((function(t){return u[t]!==c[t]}))),e(c,k.user,u),d)T(i.rootElement),R(i);else{var p=[],v=[],y=!1;if(k.job={},i.updateDOM&&b.job++,o.forEach((function(t){var n=!t.__cssVars;if(t.__cssVars)try{m(t.__cssVars.tree,e({},i,{variables:c,onWarning:s}));var r=h(t.__cssVars.tree);if(i.updateDOM){if(t.getAttribute("data-cssvars")||t.setAttribute("data-cssvars","src"),r.length){var o=t.getAttribute("data-cssvars-group")||++b.group,u=r.replace(/\s/g,""),l=i.rootElement.querySelector('[data-cssvars="out"][data-cssvars-group="'.concat(o,'"]'))||document.createElement("style");y=y||_.cssKeyframes.test(r),l.hasAttribute("data-cssvars")||l.setAttribute("data-cssvars","out"),u===t.textContent.replace(/\s/g,"")?(n=!0,l&&l.parentNode&&(t.removeAttribute("data-cssvars-group"),l.parentNode.removeChild(l))):u!==l.textContent.replace(/\s/g,"")&&([t,l].forEach((function(t){t.setAttribute("data-cssvars-job",b.job),t.setAttribute("data-cssvars-group",o)})),l.textContent=r,p.push(r),v.push(l),l.parentNode||t.parentNode.insertBefore(l,t.nextSibling))}}else t.textContent.replace(/\s/g,"")!==r&&p.push(r)}catch(e){a(e.message,t)}n&&t.setAttribute("data-cssvars","skip"),t.hasAttribute("data-cssvars-job")||t.setAttribute("data-cssvars-job",b.job)})),O=i.rootElement.querySelectorAll('[data-cssvars]:not([data-cssvars="out"])').length,i.shadowDOM)for(var g,w=[i.rootElement].concat(n(i.rootElement.querySelectorAll("*"))),S=0;g=w[S];++S)if(g.shadowRoot&&g.shadowRoot.querySelector("style")){var E=e({},i,{rootElement:g.shadowRoot});R(E)}i.updateDOM&&y&&M(i.rootElement),x=!1,i.onComplete(p.join(""),v,JSON.parse(JSON.stringify(c)),N()-i.__benchmark)}}}));else document.addEventListener("DOMContentLoaded",(function e(n){R(t),document.removeEventListener("DOMContentLoaded",e)}))}}function M(t){var e=["animation-name","-moz-animation-name","-webkit-animation-name"].filter((function(t){return getComputedStyle(document.body)[t]}))[0];if(e){for(var n=t.getElementsByTagName("*"),r=[],o=0,i=n.length;o<i;o++){var a=n[o];"none"!==getComputedStyle(a)[e]&&(a.style[e]+="__CSSVARSPONYFILL-KEYFRAMES__",r.push(a))}document.body.offsetHeight;for(var s=0,u=r.length;s<u;s++){var c=r[s].style;c[e]=c[e].replace("__CSSVARSPONYFILL-KEYFRAMES__","")}}}function P(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:location.href,n=document.implementation.createHTMLDocument(""),r=n.createElement("base"),o=n.createElement("a");return n.head.appendChild(r),n.body.appendChild(o),r.href=e,o.href=t,o.href}function N(){return g&&(window.performance||{}).now?window.performance.now():(new Date).getTime()}function T(t){Array.apply(null,t.querySelectorAll('[data-cssvars="skip"],[data-cssvars="src"]')).forEach((function(t){return t.setAttribute("data-cssvars","")}))}if(R.reset=function(){for(var t in x=!1,E&&(E.disconnect(),E=null),O=0,A=null,C=!1,k)k[t]={}},String.prototype.startsWith||function(){var t={}.toString;Object.defineProperty(String.prototype,"startsWith",{value:function(e){if(null==this)throw TypeError();var n=String(this);if(e&&"[object RegExp]"==t.call(e))throw TypeError();var r=n.length,o=String(e),i=o.length,a=arguments.length>1?arguments[1]:void 0,s=a?Number(a):0;s!=s&&(s=0);var u=Math.min(Math.max(s,0),r);if(i+u>r)return!1;for(var c=-1;++c<i;)if(n.charCodeAt(u+c)!=o.charCodeAt(c))return!1;return!0},configurable:!0,writable:!0})}(),String.prototype.endsWith||function(){var t={}.toString;Object.defineProperty(String.prototype,"endsWith",{value:function(e){if(null==this)throw TypeError();var n=String(this);if(e&&"[object RegExp]"==t.call(e))throw TypeError();var r=n.length,o=String(e),i=o.length,a=r;if(arguments.length>1){var s=arguments[1];void 0!==s&&(a=s?Number(s):0)!=a&&(a=0)}var u=Math.min(Math.max(a,0),r),c=u-i;if(c<0)return!1;for(var l=-1;++l<i;)if(n.charCodeAt(c+l)!=o.charCodeAt(l))return!1;return!0},configurable:!0,writable:!0})}(),String.prototype.includes||function(){var t={}.toString,e="".indexOf;Object.defineProperty(String.prototype,"includes",{value:function(n){if(null==this)throw TypeError();var r=String(this);if(n&&"[object RegExp]"==t.call(n))throw TypeError();var o=r.length,i=String(n),a=i.length,s=arguments.length>1?arguments[1]:void 0,u=s?Number(s):0;u!=u&&(u=0);var c=Math.min(Math.max(u,0),o);return!(a+c>o)&&-1!=e.call(r,i,u)},configurable:!0,writable:!0})}(),String.prototype.repeat||Object.defineProperty(String.prototype,"repeat",{value:function(t){if(null==this)throw TypeError();var e=String(this),n=t?Number(t):0;if(n!=n&&(n=0),n<0||n==1/0)throw RangeError();for(var r="";n;)n%2==1&&(r+=e),n>1&&(e+=e),n>>=1;return r},configurable:!0,writable:!0}),String.prototype.padStart||(String.prototype.padStart=function(t,e){return t>>=0,e=String(void 0!==e?e:" "),this.length>t?String(this):((t-=this.length)>e.length&&(e+=e.repeat(t/e.length)),e.slice(0,t)+String(this))}),String.prototype.padEnd||(String.prototype.padEnd=function(t,e){return t>>=0,e=String(void 0!==e?e:" "),this.length>t?String(this):((t-=this.length)>e.length&&(e+=e.repeat(t/e.length)),String(this)+e.slice(0,t))}),Object.entries||(Object.entries=function(t){for(var e=Object.keys(t),n=e.length,r=new Array(n);n--;)r[n]=[e[n],t[e[n]]];return r}),Array.prototype.fill||Object.defineProperty(Array.prototype,"fill",{value:function(t){if(null==this)throw new TypeError("this is null or not defined");for(var e=Object(this),n=e.length>>>0,r=arguments[1],o=r>>0,i=o<0?Math.max(n+o,0):Math.min(o,n),a=arguments[2],s=void 0===a?n:a>>0,u=s<0?Math.max(n+s,0):Math.min(s,n);i<u;)e[i]=t,i++;return e}}),Array.prototype.find||Object.defineProperty(Array.prototype,"find",{value:function(t){if(null==this)throw TypeError('"this" is null or not defined');var e=Object(this),n=e.length>>>0;if("function"!=typeof t)throw TypeError("predicate must be a function");for(var r=arguments[1],o=0;o<n;){var i=e[o];if(t.call(r,i,o,e))return i;o++}},configurable:!0,writable:!0}),Array.prototype.includes||Object.defineProperty(Array.prototype,"includes",{value:function(t,e){if(null==this)throw new TypeError('"this" is null or not defined');var n=Object(this),r=n.length>>>0;if(0===r)return!1;var o,i,a=0|e,s=Math.max(a>=0?a:r-Math.abs(a),0);for(;s<r;){if((o=n[s])===(i=t)||"number"==typeof o&&"number"==typeof i&&isNaN(o)&&isNaN(i))return!0;s++}return!1}}),Map.prototype.keys||(Map.prototype.keys=function(){var t=[];return this.forEach((function(e,n){t.push(n)})),t}),Number.isInteger=Number.isInteger||function(t){return"number"==typeof t&&isFinite(t)&&Math.floor(t)===t},Number.isNaN=Number.isNaN||window.isNaN,Number.parseInt=Number.parseInt||window.parseInt,Element&&!Element.prototype.matches){var L=Element.prototype;L.matches=L.matchesSelector||L.mozMatchesSelector||L.msMatchesSelector||L.oMatchesSelector||L.webkitMatchesSelector}if(Element.prototype.closest||(Element.prototype.closest=function(t){var e=this;if(!document.documentElement.contains(e))return null;do{if(e.matches(t))return e;e=e.parentElement||e.parentNode}while(null!==e&&1===e.nodeType);return null}),!window.WeakSet){var j=function(t){this.name="__st"+(1e9*Math.random()>>>0)+D+++"__",t&&t.forEach&&t.forEach(this.add,this)},D=Date.now()%1e9,I=j.prototype;I.add=function(t){var e=this.name;return t[e]||Object.defineProperty(t,e,{value:!0,writable:!0}),this},I.delete=function(t){return!!t[this.name]&&(t[this.name]=void 0,!0)},I.has=function(t){return!!t[this.name]},window.WeakSet=j}function V(t){return(V="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function F(t,e,n,r,o,i,a){try{var s=t[i](a),u=s.value}catch(t){return void n(t)}s.done?e(u):Promise.resolve(u).then(r,o)}function U(t){return function(){var e=this,n=arguments;return new Promise((function(r,o){var i=t.apply(e,n);function a(t){F(i,r,o,a,s,"next",t)}function s(t){F(i,r,o,a,s,"throw",t)}a(void 0)}))}}function B(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function W(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function H(t,e,n){return e&&W(t.prototype,e),n&&W(t,n),t}function q(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&$(t,e)}function z(t){return(z=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function $(t,e){return($=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function G(t,e,n){return(G=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}()?Reflect.construct:function(t,e,n){var r=[null];r.push.apply(r,e);var o=new(Function.bind.apply(t,r));return n&&$(o,n.prototype),o}).apply(null,arguments)}function J(t){var e="function"==typeof Map?new Map:void 0;return(J=function(t){if(null===t||(n=t,-1===Function.toString.call(n).indexOf("[native code]")))return t;var n;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==e){if(e.has(t))return e.get(t);e.set(t,r)}function r(){return G(t,arguments,z(this).constructor)}return r.prototype=Object.create(t.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),$(r,t)})(t)}function Y(t,e){return!e||"object"!=typeof e&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function X(t,e,n){return(X="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,n){var r=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=z(t)););return t}(t,e);if(r){var o=Object.getOwnPropertyDescriptor(r,e);return o.get?o.get.call(n):o.value}})(t,e,n||t)}function K(t,e){return e||(e=t.slice(0)),Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}function Z(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if(!(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t)))return;var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=t[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(t){o=!0,i=t}finally{try{r||null==s.return||s.return()}finally{if(o)throw i}}return n}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function Q(t){return function(t){if(Array.isArray(t)){for(var e=0,n=new Array(t.length);e<t.length;e++)n[e]=t[e];return n}}(t)||function(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}window.fetch||(window.fetch=function(t,e){return e=e||{},new Promise((function(n,r){var o=new XMLHttpRequest;for(var i in o.open(e.method||"get",t,!0),e.headers)o.setRequestHeader(i,e.headers[i]);function a(){var t,e=[],n=[],r={};return o.getAllResponseHeaders().replace(/^(.*?):[^\S\n]*([\s\S]*?)$/gm,(function(o,i,a){e.push(i=i.toLowerCase()),n.push([i,a]),r[i]=(t=r[i])?t+","+a:a})),{ok:2==(o.status/100|0),status:o.status,statusText:o.statusText,url:o.responseURL,clone:a,text:function(){return Promise.resolve(o.responseText)},json:function(){return Promise.resolve(o.responseText).then(JSON.parse)},blob:function(){return Promise.resolve(new Blob([o.response]))},headers:{keys:function(){return e},entries:function(){return n},get:function(t){return r[t.toLowerCase()]},has:function(t){return t.toLowerCase()in r}}}}o.withCredentials="include"==e.credentials,o.onload=function(){n(a())},o.onerror=r,o.send(e.body||null)}))}),function(t){var e,n=Object.prototype,r=n.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",s=o.toStringTag||"@@toStringTag",u="object"===("undefined"==typeof module?"undefined":V(module)),c=t.regeneratorRuntime;if(c)u&&(module.exports=c);else{(c=t.regeneratorRuntime=u?module.exports:{}).wrap=w;var l="suspendedStart",f="suspendedYield",h="executing",d="completed",p={},m={};m[i]=function(){return this};var v=Object.getPrototypeOf,y=v&&v(v(M([])));y&&y!==n&&r.call(y,i)&&(m=y);var g=k.prototype=S.prototype=Object.create(m);_.prototype=g.constructor=k,k.constructor=_,k[s]=_.displayName="GeneratorFunction",c.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===_||"GeneratorFunction"===(e.displayName||e.name))},c.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,k):(t.__proto__=k,s in t||(t[s]="GeneratorFunction")),t.prototype=Object.create(g),t},c.awrap=function(t){return{__await:t}},x(E.prototype),E.prototype[a]=function(){return this},c.AsyncIterator=E,c.async=function(t,e,n,r){var o=new E(w(t,e,n,r));return c.isGeneratorFunction(e)?o:o.next().then((function(t){return t.done?t.value:o.next()}))},x(g),g[s]="Generator",g[i]=function(){return this},g.toString=function(){return"[object Generator]"},c.keys=function(t){var e=[];for(var n in t)e.push(n);return e.reverse(),function n(){for(;e.length;){var r=e.pop();if(r in t)return n.value=r,n.done=!1,n}return n.done=!0,n}},c.values=M,R.prototype={constructor:R,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(C),!t)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=e)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function o(r,o){return s.type="throw",s.arg=t,n.next=r,o&&(n.method="next",n.arg=e),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=r.call(a,"catchLoc"),c=r.call(a,"finallyLoc");if(u&&c){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(u){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,p):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),p},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),C(n),p}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;C(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:M(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),p}}}function w(t,e,n,r){var o=e&&e.prototype instanceof S?e:S,i=Object.create(o.prototype),a=new R(r||[]);return i._invoke=function(t,e,n){var r=l;return function(o,i){if(r===h)throw new Error("Generator is already running");if(r===d){if("throw"===o)throw i;return P()}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var s=O(a,n);if(s){if(s===p)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===l)throw r=d,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=h;var u=b(t,e,n);if("normal"===u.type){if(r=n.done?d:f,u.arg===p)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(r=d,n.method="throw",n.arg=u.arg)}}}(t,n,a),i}function b(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}function S(){}function _(){}function k(){}function x(t){["next","throw","return"].forEach((function(e){t[e]=function(t){return this._invoke(e,t)}}))}function E(t){var e;this._invoke=function(n,o){function i(){return new Promise((function(e,i){!function e(n,o,i,a){var s=b(t[n],t,o);if("throw"!==s.type){var u=s.arg,c=u.value;return c&&"object"===V(c)&&r.call(c,"__await")?Promise.resolve(c.__await).then((function(t){e("next",t,i,a)}),(function(t){e("throw",t,i,a)})):Promise.resolve(c).then((function(t){u.value=t,i(u)}),(function(t){return e("throw",t,i,a)}))}a(s.arg)}(n,o,e,i)}))}return e=e?e.then(i,i):i()}}function O(t,n){var r=t.iterator[n.method];if(r===e){if(n.delegate=null,"throw"===n.method){if(t.iterator.return&&(n.method="return",n.arg=e,O(t,n),"throw"===n.method))return p;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return p}var o=b(r,t.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,p;var i=o.arg;return i?i.done?(n[t.resultName]=i.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,p):i:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,p)}function A(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function C(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function R(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(A,this),this.reset(!0)}function M(t){if(t){var n=t[i];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,a=function n(){for(;++o<t.length;)if(r.call(t,o))return n.value=t[o],n.done=!1,n;return n.value=e,n.done=!0,n};return a.next=a}}return{next:P}}function P(){return{value:e,done:!0}}}(function(){return this||"object"===("undefined"==typeof self?"undefined":V(self))&&self}()||Function("return this")()),
163
- /**
164
- *
165
- *
166
- * @author Jerry Bendy <jerry@icewingcc.com>
167
- * @licence MIT
168
- *
169
- */
170
- function(t){var e,n=t.URLSearchParams&&t.URLSearchParams.prototype.get?t.URLSearchParams:null,r=n&&"a=1"===new n({a:1}).toString(),o=n&&"+"===new n("s=%2B").get("s"),i="__URLSearchParams__",a=!n||((e=new n).append("s"," &"),"s=+%26"===e.toString()),s=f.prototype,u=!(!t.Symbol||!t.Symbol.iterator);if(!(n&&r&&o&&a)){s.append=function(t,e){v(this[i],t,e)},s.delete=function(t){delete this[i][t]},s.get=function(t){var e=this[i];return t in e?e[t][0]:null},s.getAll=function(t){var e=this[i];return t in e?e[t].slice(0):[]},s.has=function(t){return t in this[i]},s.set=function(t,e){this[i][t]=[""+e]},s.toString=function(){var t,e,n,r,o=this[i],a=[];for(e in o)for(n=h(e),t=0,r=o[e];t<r.length;t++)a.push(n+"="+h(r[t]));return a.join("&")};var c=!!o&&n&&!r&&t.Proxy;Object.defineProperty(t,"URLSearchParams",{value:c?new Proxy(n,{construct:function(t,e){return new t(new f(e[0]).toString())}}):f});var l=t.URLSearchParams.prototype;l.polyfill=!0,l.forEach=l.forEach||function(t,e){var n=m(this.toString());Object.getOwnPropertyNames(n).forEach((function(r){n[r].forEach((function(n){t.call(e,n,r,this)}),this)}),this)},l.sort=l.sort||function(){var t,e,n,r=m(this.toString()),o=[];for(t in r)o.push(t);for(o.sort(),e=0;e<o.length;e++)this.delete(o[e]);for(e=0;e<o.length;e++){var i=o[e],a=r[i];for(n=0;n<a.length;n++)this.append(i,a[n])}},l.keys=l.keys||function(){var t=[];return this.forEach((function(e,n){t.push(n)})),p(t)},l.values=l.values||function(){var t=[];return this.forEach((function(e){t.push(e)})),p(t)},l.entries=l.entries||function(){var t=[];return this.forEach((function(e,n){t.push([n,e])})),p(t)},u&&(l[t.Symbol.iterator]=l[t.Symbol.iterator]||l.entries)}function f(t){((t=t||"")instanceof URLSearchParams||t instanceof f)&&(t=t.toString()),this[i]=m(t)}function h(t){var e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(t).replace(/[!'\(\)~]|%20|%00/g,(function(t){return e[t]}))}function d(t){return decodeURIComponent(t.replace(/\+/g," "))}function p(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 m(t){var e={};if("object"===V(t))for(var n in t)t.hasOwnProperty(n)&&v(e,n,t[n]);else{0===t.indexOf("?")&&(t=t.slice(1));for(var r=t.split("&"),o=0;o<r.length;o++){var i=r[o],a=i.indexOf("=");-1<a?v(e,d(i.slice(0,a)),d(i.slice(a+1))):i&&v(e,d(i),"")}}return e}function v(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);!function(){if(window.ShadyDOM){var t=Object.getOwnPropertyDescriptor(Node.prototype,"nodeValue");Object.defineProperty(Node.prototype,"nodeValue",{get:function(){return t.get.apply(this)},set:function(e){t.set.apply(this,arguments);var n=this.parentNode;n instanceof HTMLElement&&n.isUI5Element&&n._processChildren()}})}}(),window.CSSVarsPonyfill={cssVars:R};var tt={default:"sap_fiori_3",all:["sap_fiori_3","sap_fiori_3_dark","sap_belize","sap_belize_hcb","sap_belize_hcw"]}.default,et={default:"en",all:["ar","bg","ca","cs","da","de","el","en","es","et","fi","fr","hi","hr","hu","it","iw","ja","kk","ko","lt","lv","ms","nl","no","pl","pt","ro","ru","sh","sk","sl","sv","th","tr","uk","vi","zh_CN","zh_TW"]}.default,nt={},rt=nt.hasOwnProperty,ot=nt.toString,it=rt.toString,at=it.call(Object),st=function(t){var e,n;return!(!t||"[object Object]"!==ot.call(t))&&(!(e=Object.getPrototypeOf(t))||"function"==typeof(n=rt.call(e,"constructor")&&e.constructor)&&it.call(n)===at)},ut=Object.create(null),ct=function t(){var e,n,r,o,i,a,s=arguments[2]||{},u=3,c=arguments.length,l=arguments[0]||!1,f=arguments[1]?void 0:ut;for("object"!==V(s)&&"function"!=typeof s&&(s={});u<c;u++)if(null!=(i=arguments[u]))for(o in i)e=s[o],r=i[o],"__proto__"!==o&&s!==r&&(l&&r&&(st(r)||(n=Array.isArray(r)))?(n?(n=!1,a=e&&Array.isArray(e)?e:[]):a=e&&st(e)?e:{},s[o]=t(l,arguments[1],a,r)):r!==f&&(s[o]=r));return s},lt=function(){var t=[!0,!1];return t.push.apply(t,arguments),ct.apply(null,t)},ft=new Map,ht=function(t){return ft.get(t)},dt=!1,pt={animationMode:"full",theme:tt,rtl:null,language:null,calendarType:null,noConflict:!1,formatSettings:{}},mt=new Map;mt.set("true",!0),mt.set("false",!1);var vt,yt,gt,wt,bt,St=function(){dt||(!function(){var t,e=document.querySelector("[data-ui5-config]")||document.querySelector("[data-id='sap-ui-config']");if(e){try{t=JSON.parse(e.innerHTML)}catch(t){console.warn("Incorrect data-sap-ui-config format. Please use JSON")}t&&(pt=lt(pt,t))}}(),new URLSearchParams(window.location.search).forEach((function(t,e){if(e.startsWith("sap-ui")){var n=t.toLowerCase(),r=e.split("sap-ui-")[1];mt.has(t)&&(t=mt.get(n)),pt[r]=t}})),function(){var t=ht("OpenUI5Support");if(t&&t.isLoaded()){var e=t.getConfigurationSettingsObject();pt=lt(pt,e)}}(),dt=!0)},_t=function(){return void 0===vt&&(St(),vt=pt.language),vt},kt=new Map,xt=new Map,Et=new Map,Ot=function(){var t=U(regeneratorRuntime.mark((function t(e){var n;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return kt.get(e)||kt.set(e,fetch(e)),t.next=3,kt.get(e);case 3:return n=t.sent,Et.get(e)||Et.set(e,n.text()),t.abrupt("return",Et.get(e));case 6:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),At=function(){var t=U(regeneratorRuntime.mark((function t(e){var n;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return kt.get(e)||kt.set(e,fetch(e)),t.next=3,kt.get(e);case 3:return n=t.sent,xt.get(e)||xt.set(e,n.json()),t.abrupt("return",xt.get(e));case 6:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),Ct=new Map,Rt=new Map,Mt=new Set,Pt=new Set,Nt=function(t,e,n){n._?Rt.set("".concat(t,"_").concat(e),n._):n.includes(":root")||""===n?Rt.set("".concat(t,"_").concat(e),n):Ct.set("".concat(t,"_").concat(e),n),Mt.add(t),Pt.add(e)},Tt=function(){var t=U(regeneratorRuntime.mark((function t(e,n){var r,o,i,a;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(void 0===(r=Rt.get("".concat(e,"_").concat(n)))){t.next=3;break}return t.abrupt("return",r);case 3:if(Pt.has(n)){t.next=7;break}return o=Q(Pt.values()).join(", "),console.warn("You have requested a non-registered theme - falling back to ".concat(tt,". Registered themes are: ").concat(o)),t.abrupt("return",Rt.get("".concat(e,"_").concat(tt)));case 7:return t.next=9,Lt(e,n);case 9:return i=t.sent,a=i._||i,Rt.set("".concat(e,"_").concat(n),a),t.abrupt("return",a);case 13:case"end":return t.stop()}}),t)})));return function(e,n){return t.apply(this,arguments)}}(),Lt=function(){var t=U(regeneratorRuntime.mark((function t(e,n){var r;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=Ct.get("".concat(e,"_").concat(n))){t.next=3;break}throw new Error("You have to import the ".concat(e,"/dist/Assets.js module to switch to additional themes"));case 3:return t.abrupt("return",".css"===(i=void 0,(i=(o=r).lastIndexOf("."))<1?"":o.slice(i))?Ot(r):At(r));case 4:case"end":return t.stop()}var o,i}),t)})));return function(e,n){return t.apply(this,arguments)}}(),jt=function(){return Mt},Dt=function(t){return Pt.has(t)},It=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=document.createElement("style");return n.type="text/css",Object.entries(e).forEach((function(t){return n.setAttribute.apply(n,Q(t))})),n.textContent=t,document.head.appendChild(n),n},Vt=function(t,e){var n=document.head.querySelector('style[data-ui5-theme-properties="'.concat(e,'"]'));n?n.textContent=t||"":It(t,{"data-ui5-theme-properties":e})},Ft=function(){var t=function(){var t=document.querySelector(".sapThemeMetaData-Base-baseLib");if(t)return getComputedStyle(t).backgroundImage;(t=document.createElement("span")).style.display="none",t.classList.add("sapThemeMetaData-Base-baseLib"),document.body.appendChild(t);var e=getComputedStyle(t).backgroundImage;return document.body.removeChild(t),e}();if(t&&"none"!==t)return function(t){var e,n;try{e=t.Path.match(/\.([^.]+)\.css_variables$/)[1],n=t.Extends[0]}catch(e){return void console.warn("Malformed theme metadata Object",t)}return{themeName:e,baseThemeName:n}}(function(t){var e=/\(["']?data:text\/plain;utf-8,(.*?)['"]?\)$/i.exec(t);if(e&&e.length>=2){var n=e[1];if("{"!==(n=n.replace(/\\"/g,'"')).charAt(0)&&"}"!==n.charAt(n.length-1))try{n=decodeURIComponent(n)}catch(t){return void console.warn("Malformed theme metadata string, unable to decodeURIComponent")}try{return JSON.parse(n)}catch(t){console.warn("Malformed theme metadata string, unable to parse JSON")}}}(t))},Ut=function(){return!!window.CSSVarsPonyfill},Bt=function(){yt=void 0,window.CSSVarsPonyfill.cssVars({rootElement:document.head,silent:!0})},Wt="@ui5/webcomponents-theme-base",Ht=function(){var t=U(regeneratorRuntime.mark((function t(e){var n;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(jt().has(Wt)){t.next=2;break}return t.abrupt("return");case 2:return t.next=4,Tt(Wt,e);case 4:n=t.sent,Vt(n,Wt);case 6:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),qt=function(){var t=U(regeneratorRuntime.mark((function t(e){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:jt().forEach(function(){var t=U(regeneratorRuntime.mark((function t(n){var r;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n!==Wt){t.next=2;break}return t.abrupt("return");case 2:return t.next=4,Tt(n,e);case 4:r=t.sent,Vt(r,n);case 6:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}());case 2:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),zt=function(){var t=Ft();if(t)return t;var e=ht("OpenUI5Support");if(e&&e.cssVariablesLoaded())return{themeName:e.getConfigurationSettingsObject().theme}},$t=function(){var t=U(regeneratorRuntime.mark((function t(e){var n,r;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if((n=zt())&&e===n.themeName){t.next=6;break}return t.next=4,Ht(e);case 4:t.next=7;break;case 6:o=void 0,(o=document.head.querySelector('style[data-ui5-theme-properties="'.concat(Wt,'"]')))&&o.parentElement.removeChild(o);case 7:return r=Dt(e)?e:n&&n.baseThemeName,t.next=10,qt(r);case 10:Ut()&&Bt();case 11:case"end":return t.stop()}var o}),t)})));return function(e){return t.apply(this,arguments)}}(),Gt=function(){return void 0===gt&&(St(),gt=pt.theme),gt},Jt=function(){var t=U(regeneratorRuntime.mark((function t(e){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(gt!==e){t.next=2;break}return t.abrupt("return");case 2:return gt=e,t.next=5,$t(gt);case 5:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),Yt=window.sap,Xt=Yt&&Yt.ui&&"function"==typeof Yt.ui.getCore&&Yt.ui.getCore();wt="OpenUI5Support",bt={isLoaded:function(){return!!Xt},init:function(){return Xt?new Promise((function(t){Xt.attachInit((function(){Yt.ui.require(["sap/ui/core/LocaleData"],t)}))})):Promise.resolve()},getConfigurationSettingsObject:function(){if(Xt){var t=Xt.getConfiguration(),e=Yt.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?e.getInstance(t.getLocale()).getFirstDayOfWeek():void 0}}}},getLocaleDataObject:function(){if(Xt){var t=Xt.getConfiguration();return Yt.ui.require("sap/ui/core/LocaleData").getInstance(t.getLocale())._get()}},attachListeners:function(){var t;Xt&&(t=Xt.getConfiguration(),Xt.attachThemeChanged(U(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Jt(t.getTheme());case 2:case"end":return e.stop()}}),e)})))))},cssVariablesLoaded:function(){if(Xt){var t=Q(document.head.children).find((function(t){return"sap-ui-theme-sap.ui.core"===t.id}));if(t)return!!t.href.match(/\/css-variables\.css/)}}},ft.set(wt,bt);var Kt,Zt,Qt='\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('.concat("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(').concat("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(').concat("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(').concat("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(').concat("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(').concat("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(').concat("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(').concat("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'),te=function(){if(!document.querySelector("head>style[data-ui5-font-face]")){var t=ht("OpenUI5Support");t&&t.isLoaded()||It(Qt,{"data-ui5-font-face":""})}},ee=function(){function t(){B(this,t)}return H(t,null,[{key:"isValid",value:function(t){}},{key:"generataTypeAcessors",value:function(t){var e=this;Object.keys(t).forEach((function(n){Object.defineProperty(e,n,{get:function(){return t[n]}})}))}}]),t}(),ne=new Map,re=new Map,oe=function(t){if(!re.has(t)){var e=t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();re.set(t,e)}return re.get(t)},ie=function(t){return t.map((function(t,e){return 0===e?t.toLowerCase():t.charAt(0).toUpperCase()+t.slice(1).toLowerCase()})).join("")},ae=function(t){return t&&t instanceof HTMLElement&&"slot"===t.localName},se=function(){function t(e){B(this,t),this.metadata=e}return H(t,[{key:"getTag",value:function(){return this.metadata.tag}},{key:"hasAttribute",value:function(t){var e=this.getProperties()[t];return e.type!==Object&&!e.noAttribute}},{key:"getPropertiesList",value:function(){return Object.keys(this.getProperties())}},{key:"getAttributesList",value:function(){return this.getPropertiesList().filter(this.hasAttribute,this).map(oe)}},{key:"getSlots",value:function(){return this.metadata.slots||{}}},{key:"canSlotText",value:function(){var t=this.getSlots().default;return t&&t.type===Node}},{key:"hasSlots",value:function(){return!!Object.entries(this.getSlots()).length}},{key:"hasIndividualSlots",value:function(){return this.slotsAreManaged()&&Object.entries(this.getSlots()).some((function(t){var e=Z(t,2);e[0];return e[1].individualSlots}))}},{key:"slotsAreManaged",value:function(){return!!this.metadata.managedSlots}},{key:"getProperties",value:function(){return this.metadata.properties||{}}},{key:"getEvents",value:function(){return this.metadata.events||{}}}],[{key:"validatePropertyValue",value:function(t,e){return e.multiple?t.map((function(t){return ue(t,e)})):ue(t,e)}},{key:"validateSlotValue",value:function(t,e){return ce(t,e)}}]),t}(),ue=function(t,e){var n=e.type;return n===Boolean?"boolean"==typeof t&&t:n===String?"string"==typeof t||null==t?t:t.toString():n===Object?"object"===V(t)?t:e.defaultValue:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if("function"!=typeof t||"function"!=typeof e)return!1;if(n&&t===e)return!0;var r=t;do{r=Object.getPrototypeOf(r)}while(null!==r&&r!==e);return r===e}(n,ee)?n.isValid(t)?t:e.defaultValue:void 0},ce=function(t,e){if(null===t)return t;var n;return(ae(n=t)?n.assignedNodes({flatten:!0}).filter((function(t){return t instanceof HTMLElement})):[n]).forEach((function(t){if(!(t instanceof e.type))throw new Error("".concat(t," is not of type ").concat(e.type))})),t},le=function(){var t=document.querySelector("ui5-static-area");if(t)return t;var e=document.body;return t=document.createElement("ui5-static-area"),e.insertBefore(t,e.firstChild)},fe=function(t){function e(){return B(this,e),Y(this,z(e).call(this))}return q(e,t),H(e,[{key:"destroy",value:function(){var t=document.querySelector(this.tagName.toLowerCase());t.parentElement.removeChild(t)}},{key:"isUI5Element",get:function(){return!0}}]),e}(J(HTMLElement));customElements.get("ui5-static-area")||customElements.define("ui5-static-area",fe);var he,de,pe,me,ve=function(){function t(){B(this,t),this.list=[],this.promises=new Map}return H(t,[{key:"add",value:function(t){if(this.promises.has(t))return this.promises.get(t);var e,n=new Promise((function(t){e=t}));return n._deferredResolve=e,this.list.push(t),this.promises.set(t,n),n}},{key:"shift",value:function(){var t=this.list.shift();if(t){var e=this.promises.get(t);return this.promises.delete(t),{webComponent:t,promise:e}}}},{key:"getList",value:function(){return this.list}},{key:"isAdded",value:function(t){return this.promises.has(t)}}]),t}(),ye=new Set,ge=function(t){ye.add(t)},we=function(t){return ye.has(t)},be=new ve,Se=function(){function t(){throw B(this,t),new Error("Static class")}var e;return H(t,null,[{key:"renderDeferred",value:function(e){var n=be.add(e);return t.scheduleRenderTask(),n}},{key:"renderImmediately",value:function(e){var n=be.add(e);return t.runRenderTask(),n}},{key:"scheduleRenderTask",value:function(){he||(he=window.requestAnimationFrame(t.renderWebComponents))}},{key:"runRenderTask",value:function(){he||(he=1,t.renderWebComponents())}},{key:"renderWebComponents",value:function(){for(var e,n,r,o=new Map;e=be.shift();){n=e.webComponent,r=e.promise;var i=o.get(n)||0;if(i>10)throw new Error("Web component re-rendered too many times this task, max allowed is: ".concat(10));n._render(),r._deferredResolve(),o.set(n,i+1)}me||(me=setTimeout((function(){me=void 0,0===be.getList().length&&t._resolveTaskPromise()}),200)),he=void 0}},{key:"whenDOMUpdated",value:function(){return de||(de=new Promise((function(t){pe=t,window.requestAnimationFrame((function(){0===be.getList().length&&(de=void 0,t())}))})))}},{key:"whenAllCustomElementsAreDefined",value:function(){var t,e=(t=[],ye.forEach((function(e){t.push(e)})),t).map((function(t){return customElements.whenDefined(t)}));return Promise.all(e)}},{key:"whenFinished",value:(e=U(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.whenAllCustomElementsAreDefined();case 2:return e.next=4,t.whenDOMUpdated();case 4:case"end":return e.stop()}}),e)}))),function(){return e.apply(this,arguments)})},{key:"_resolveTaskPromise",value:function(){be.getList().length>0||pe&&(pe.call(this,void 0),pe=void 0,de=void 0)}}]),t}(),_e=function(){function t(e){B(this,t),this.ui5ElementContext=e,this._rendered=!1}var e;return H(t,[{key:"isRendered",value:function(){return this._rendered}},{key:"_updateFragment",value:function(){var t=this.ui5ElementContext.constructor.staticAreaTemplate(this.ui5ElementContext),e=!window.ShadyDOM&&this.ui5ElementContext.constructor.staticAreaStyles;this.staticAreaItemDomRef||(this.staticAreaItemDomRef=document.createElement("ui5-static-area-item"),this.staticAreaItemDomRef.attachShadow({mode:"open"}),this.staticAreaItemDomRef.classList.add(this.ui5ElementContext._id),le().appendChild(this.staticAreaItemDomRef),this._rendered=!0),this.ui5ElementContext.constructor.render(t,this.staticAreaItemDomRef.shadowRoot,e,{eventContext:this.ui5ElementContext})}},{key:"_removeFragmentFromStaticArea",value:function(){if(this.staticAreaItemDomRef){var t=le();t.removeChild(this.staticAreaItemDomRef),this.staticAreaItemDomRef=null,t.childElementCount<1&&le().destroy()}}},{key:"_updateContentDensity",value:function(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")))}},{key:"getDomRef",value:(e=U(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return this._rendered&&this.staticAreaItemDomRef||this._updateFragment(),t.next=3,Se.whenDOMUpdated();case 3:return t.abrupt("return",this.staticAreaItemDomRef.shadowRoot);case 4:case"end":return t.stop()}}),t,this)}))),function(){return e.apply(this,arguments)})}]),t}(),ke=function(t){function e(){return B(this,e),Y(this,z(e).call(this))}return q(e,t),H(e,[{key:"isUI5Element",get:function(){return!0}}]),e}(J(HTMLElement));customElements.get("ui5-static-area-item")||customElements.define("ui5-static-area-item",ke);var xe,Ee=window,Oe=new WeakMap,Ae=function(){function t(){throw B(this,t),new Error("Static class")}return H(t,null,[{key:"observeDOMNode",value:function(t,e,n){var r=Oe.get(t);if(r)throw new Error("A mutation/ShadyDOM observer is already assigned to this node.");Ee.ShadyDOM?r=Ee.ShadyDOM.observeChildren(t,e):(r=new MutationObserver(e)).observe(t,n),Oe.set(t,r)}},{key:"unobserveDOMNode",value:function(t){var e=Oe.get(t);e&&(e instanceof MutationObserver?e.disconnect():Ee.ShadyDOM.unobserveChildren(e),Oe.delete(t))}}]),t}(),Ce=["value-changed"],Re=function(){return void 0===xe&&(St(),xe=pt.noConflict),xe},Me=function(t){var e=Re();return!function(t){return Ce.includes(t)}(t)&&(!0===e||!function(t){var e=Re();return!(e.events&&e.events.includes&&e.events.includes(t))}(t))},Pe=function(t){xe=t},Ne={},Te=function(t){var e=function(t){return Ne[t]?Ne[t].join(""):""}(t.getMetadata().getTag())||"",n=t.styles;return Array.isArray(n)&&(n=n.join(" ")),"".concat(n," ").concat(e)},Le=new Map,je=function(t,e,n,r){var o=n+e.length,i=t.charAt(o),a=t.substring(0,n)+r;if("("===i){var s=function(t,e){for(var n=1,r=e+1;r<t.length;r++){var o=t.charAt(r);if("("===o?n++:")"===o&&n--,0===n)return r}}(t,o);return a+t.substring(o+1,s)+t.substring(s+1)}return a+t.substring(o)},De=function(t,e){return(t=function(t,e,n){for(var r=t.indexOf(e);-1!==r;)r=(t=je(t,e,r,n)).indexOf(e);return t}(t=t.trim(),"::slotted","")).startsWith(":host")?je(t,":host",0,e):t.match(/^[@0-9]/)||"to"===t||"to{"===t?t:t.match(new RegExp("^".concat(e,"[^a-zA-Z0-9-]")))?t:"".concat(e," ").concat(t)},Ie=function(t,e){t=(t=t.replace(/\n/g," ")).replace(/([{}])/g,"$1\n");var n="";return t.split("\n").forEach((function(t){if(t.match(/{$/)){var r=t.split(",");t=r.map((function(t){return De(t,e)})).join(",")}n="".concat(n).concat(t)})),n},Ve=new Set,Fe=function(t){var e=t.getMetadata().getTag();if(!Ve.has(e)){var n=Te(t);n=Ie(n,e);var r=function(t){var e=t.staticAreaStyles;return Array.isArray(e)&&(e=e.join(" ")),e}(t);r&&(r=Ie(r,"ui5-static-area-item"),n="".concat(n," ").concat(r)),It(n,{"data-ui5-element-styles":e,disabled:"disabled"}),Ut()&&(yt||(yt=window.setTimeout(Bt,0))),Ve.add(e)}},Ue=function(t){function e(){return B(this,e),Y(this,z(e).apply(this,arguments))}return q(e,t),H(e,null,[{key:"isValid",value:function(t){return Number.isInteger(t)}}]),e}(ee),Be=["disabled","ariaLabel"],We=function(t){return!!Be.includes(t)||![HTMLElement,Element,Node].some((function(e){return e.prototype.hasOwnProperty(t)}))},He={events:{_propertyChange:{}}},qe=0,ze=new Map,$e=function(t){function e(){var t,n;return B(this,e),(t=Y(this,z(e).call(this)))._generateId(),t._initializeState(),t._upgradeAllProperties(),t._initializeContainers(),t._upToDate=!1,t._domRefReadyPromise=new Promise((function(t){n=t})),t._domRefReadyPromise._deferredResolve=n,t._monitoredChildProps=new Map,t._firePropertyChange=!1,t}var n,r,o,i,a;return q(e,t),H(e,[{key:"_generateId",value:function(){this._id="ui5wc_".concat(++qe)}},{key:"_initializeContainers",value:function(){var t=this.constructor._needsShadowDOM(),e=this.constructor._needsStaticArea();if(t&&(this.attachShadow({mode:"open"}),window.ShadyDOM&&Fe(this.constructor),document.adoptedStyleSheets)){var n=function(t){var e=t.getMetadata().getTag(),n=Te(t);if(Le.has(e))return Le.get(e);var r=new CSSStyleSheet;return r.replaceSync(n),Le.set(e,r),r}(this.constructor);this.shadowRoot.adoptedStyleSheets=[n]}e&&(this.staticAreaItem=new _e(this))}},{key:"connectedCallback",value:(a=U(regeneratorRuntime.mark((function t(){var e,n;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e=this.constructor._needsShadowDOM(),n=this.constructor.getMetadata().slotsAreManaged(),!e){t.next=14;break}if(!n){t.next=7;break}return this._startObservingDOMChildren(),t.next=7,this._processChildren();case 7:if(this.shadowRoot){t.next=10;break}return t.next=10,Promise.resolve();case 10:return t.next=12,Se.renderImmediately(this);case 12:this._domRefReadyPromise._deferredResolve(),"function"==typeof this.onEnterDOM&&this.onEnterDOM();case 14:case"end":return t.stop()}}),t,this)}))),function(){return a.apply(this,arguments)})},{key:"disconnectedCallback",value:function(){var t=this.constructor._needsShadowDOM(),e=this.constructor._needsStaticArea(),n=this.constructor.getMetadata().slotsAreManaged();t&&(n&&this._stopObservingDOMChildren(),"function"==typeof this.onExitDOM&&this.onExitDOM()),e&&this.staticAreaItem._removeFragmentFromStaticArea()}},{key:"_startObservingDOMChildren",value:function(){if(this.constructor.getMetadata().hasSlots()){var t={childList:!0,subtree:this.constructor.getMetadata().canSlotText(),characterData:!0};Ae.observeDOMNode(this,this._processChildren.bind(this),t)}}},{key:"_stopObservingDOMChildren",value:function(){Ae.unobserveDOMNode(this)}},{key:"_processChildren",value:(i=U(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!this.constructor.getMetadata().hasSlots()){t.next=4;break}return t.next=4,this._updateSlots();case 4:case"end":return t.stop()}}),t,this)}))),function(){return i.apply(this,arguments)})},{key:"_updateSlots",value:(o=U(regeneratorRuntime.mark((function t(){var e,n,r,o,i,a,s,u,c,l,f,h=this;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:for(e=this.constructor.getMetadata().getSlots(),n=this.constructor.getMetadata().canSlotText(),r=Array.from(n?this.childNodes:this.children),o=0,i=Object.entries(e);o<i.length;o++)a=Z(i[o],2),s=a[0],u=a[1],this._clearSlot(s,u);return c=new Map,l=new Map,f=r.map(function(){var t=U(regeneratorRuntime.mark((function t(n,r){var o,i,a,s,u,f,d,p;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(o=h.constructor._getSlotName(n),void 0!==(i=e[o])){t.next=6;break}return a=Object.keys(e).join(", "),console.warn("Unknown slotName: ".concat(o,", ignoring"),n,"Valid values are: ".concat(a)),t.abrupt("return");case 6:if(i.individualSlots&&(s=(c.get(o)||0)+1,c.set(o,s),n._individualSlot="".concat(o,"-").concat(s)),!(n instanceof HTMLElement)){t.next=19;break}if(!(u=n.localName).includes("-")){t.next=19;break}if(window.customElements.get(u)){t.next=18;break}return f=window.customElements.whenDefined(u),(d=ze.get(u))||(d=new Promise((function(t){return setTimeout(t,1e3)})),ze.set(u,d)),t.next=18,Promise.race([f,d]);case 18:window.customElements.upgrade(n);case 19:(n=h.constructor.getMetadata().constructor.validateSlotValue(n,i)).isUI5Element&&i.listenFor&&h._attachChildPropertyUpdated(n,i.listenFor),ae(n)&&h._attachSlotChange(n),p=i.propertyName||o,l.has(p)?l.get(p).push({child:n,idx:r}):l.set(p,[{child:n,idx:r}]);case 24:case"end":return t.stop()}}),t)})));return function(e,n){return t.apply(this,arguments)}}()),t.next=9,Promise.all(f);case 9:l.forEach((function(t,e){h._state[e]=t.sort((function(t,e){return t.idx-e.idx})).map((function(t){return t.child}))})),this._invalidate("slots");case 11:case"end":return t.stop()}}),t,this)}))),function(){return o.apply(this,arguments)})},{key:"_clearSlot",value:function(t,e){var n=this,r=e.propertyName||t,o=this._state[r];Array.isArray(o)||(o=[o]),o.forEach((function(t){t&&t.isUI5Element&&n._detachChildPropertyUpdated(t),ae(t)&&n._detachSlotChange(t)})),this._state[r]=[],this._invalidate(r,[])}},{key:"attributeChangedCallback",value:function(t,e,n){var r=this.constructor.getMetadata().getProperties(),o=function(t){if(!ne.has(t)){var e=ie(t.split("-"));ne.set(t,e)}return ne.get(t)}(t.replace(/^ui5-/,""));if(r.hasOwnProperty(o)){var i=r[o].type;i===Boolean&&(n=null!==n),i===Ue&&(n=parseInt(n)),this[o]=n}}},{key:"_updateAttribute",value:function(t,e){if(this.constructor.getMetadata().hasAttribute(t)&&"object"!==V(e)){var n=oe(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)}}},{key:"_upgradeProperty",value:function(t){if(this.hasOwnProperty(t)){var e=this[t];delete this[t],this[t]=e}}},{key:"_upgradeAllProperties",value:function(){this.constructor.getMetadata().getPropertiesList().forEach(this._upgradeProperty,this)}},{key:"_initializeState",value:function(){var t=this.constructor._getDefaultState();this._state=Object.assign({},t)}},{key:"_attachChildPropertyUpdated",value:function(t,e){var n=t.constructor.getMetadata(),r=this.constructor._getSlotName(t),o=n.getProperties(),i=[],a=[];Array.isArray(e)?i=e:(i=Array.isArray(e.props)?e.props:Object.keys(o),a=Array.isArray(e.exclude)?e.exclude:[]),this._monitoredChildProps.has(r)||this._monitoredChildProps.set(r,{observedProps:i,notObservedProps:a}),t.addEventListener("_propertyChange",this._invalidateParentOnPropertyUpdate),t._firePropertyChange=!0}},{key:"_detachChildPropertyUpdated",value:function(t){t.removeEventListener("_propertyChange",this._invalidateParentOnPropertyUpdate),t._firePropertyChange=!1}},{key:"_propertyChange",value:function(t,e){this._updateAttribute(t,e),this._firePropertyChange&&this.dispatchEvent(new CustomEvent("_propertyChange",{detail:{name:t,newValue:e},composed:!1,bubbles:!0}))}},{key:"_invalidateParentOnPropertyUpdate",value:function(t){var e=this.parentNode;if(e){var n=e.constructor._getSlotName(this),r=e._monitoredChildProps.get(n);if(r){var o=r.observedProps,i=r.notObservedProps;o.includes(t.detail.name)&&!i.includes(t.detail.name)&&e._invalidate("_parent_",this)}}}},{key:"_attachSlotChange",value:function(t){var e=this;this._invalidateOnSlotChange||(this._invalidateOnSlotChange=function(){e._invalidate("slotchange")}),t.addEventListener("slotchange",this._invalidateOnSlotChange)}},{key:"_detachSlotChange",value:function(t){t.removeEventListener("slotchange",this._invalidateOnSlotChange)}},{key:"_invalidate",value:function(){this._upToDate&&this.getDomRef()&&!this._suppressInvalidation&&(this._upToDate=!1,Se.renderDeferred(this))}},{key:"_render",value:function(){var t=this.constructor.getMetadata().hasIndividualSlots();this._suppressInvalidation=!0,"function"==typeof this.onBeforeRendering&&this.onBeforeRendering(),this._onComponentStateFinalized&&this._onComponentStateFinalized(),delete this._suppressInvalidation,this._upToDate=!0,this._updateShadowRoot(),this._shouldUpdateFragment()&&this.staticAreaItem._updateFragment(this),t&&this._assignIndividualSlotsToChildren(),"function"==typeof this.onAfterRendering&&this.onAfterRendering()}},{key:"_updateShadowRoot",value:function(){if(this.constructor._needsShadowDOM()){var t,e=this.constructor.template(this);document.adoptedStyleSheets||window.ShadyDOM||(t=Te(this.constructor)),this.constructor.render(e,this.shadowRoot,t,{eventContext:this})}}},{key:"_assignIndividualSlotsToChildren",value:function(){Array.from(this.children).forEach((function(t){t._individualSlot&&t.setAttribute("slot",t._individualSlot)}))}},{key:"_waitForDomRef",value:function(){return this._domRefReadyPromise}},{key:"getDomRef",value:function(){if(this.shadowRoot&&0!==this.shadowRoot.children.length)return 1===this.shadowRoot.children.length?this.shadowRoot.children[0]:this.shadowRoot.children[1]}},{key:"getFocusDomRef",value:function(){var t=this.getDomRef();if(t)return t.querySelector("[data-sap-focus-ref]")||t}},{key:"focus",value:(r=U(regeneratorRuntime.mark((function t(){var e;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this._waitForDomRef();case 2:(e=this.getFocusDomRef())&&"function"==typeof e.focus&&e.focus();case 4:case"end":return t.stop()}}),t,this)}))),function(){return r.apply(this,arguments)})},{key:"fireEvent",value:function(t,e,n){var r,o=new CustomEvent("ui5-".concat(t),{detail:e,composed:!1,bubbles:!0,cancelable:n});if(r=this.dispatchEvent(o),Me(t))return r;var i=new CustomEvent(t,{detail:e,composed:!1,bubbles:!0,cancelable:n});return this.dispatchEvent(i)&&r}},{key:"getSlottedNodes",value:function(t){return this[t].reduce((function(t,e){return ae(e)?t.concat(e.assignedNodes({flatten:!0}).filter((function(t){return t instanceof HTMLElement}))):t.concat([e])}),[])}},{key:"updateStaticAreaItemContentDensity",value:function(){this.staticAreaItem&&this.staticAreaItem._updateContentDensity(this.isCompact)}},{key:"_shouldUpdateFragment",value:function(){return this.constructor._needsStaticArea()&&this.staticAreaItem.isRendered()}},{key:"getStaticAreaItemDomRef",value:function(){return this.staticAreaItem.getDomRef()}},{key:"isCompact",get:function(){return"compact"===getComputedStyle(this).getPropertyValue("--_ui5_content_density")}},{key:"isUI5Element",get:function(){return!0}}],[{key:"_getSlotName",value:function(t){if(!(t instanceof HTMLElement))return"default";var e=t.getAttribute("slot");if(e){var n=e.match(/^(.+?)-\d+$/);return n?n[1]:e}return"default"}},{key:"_needsShadowDOM",value:function(){return!!this.template}},{key:"_needsStaticArea",value:function(){return"function"==typeof this.staticAreaTemplate}},{key:"_getDefaultState",value:function(){if(this._defaultState)return this._defaultState;var t=this.getMetadata(),e={},n=t.slotsAreManaged(),r=t.getProperties();for(var o in r){var i=r[o].type,a=r[o].defaultValue;i===Boolean?(e[o]=!1,void 0!==a&&console.warn("The 'defaultValue' metadata key is ignored for all booleans properties, they would be initialized with 'false' by default")):r[o].multiple?e[o]=[]:e[o]=i===Object?"defaultValue"in r[o]?r[o].defaultValue:{}:i===String?"defaultValue"in r[o]?r[o].defaultValue:"":a}if(n)for(var s=t.getSlots(),u=0,c=Object.entries(s);u<c.length;u++){var l=Z(c[u],2),f=l[0];e[l[1].propertyName||f]=[]}return this._defaultState=e,e}},{key:"_generateAccessors",value:function(){for(var t=this.prototype,e=this.getMetadata().slotsAreManaged(),n=this.getMetadata().getProperties(),r=function(){var e=Z(i[o],2),n=e[0],r=e[1];if(!We(n))throw new Error('"'.concat(n,'" is not a valid property name. Use a name that does not collide with DOM APIs'));if(r.type===Boolean&&r.defaultValue)throw new Error('Cannot set a default value for property "'.concat(n,'". All booleans are false by default.'));if(r.type===Array)throw new Error('Wrong type for property "'.concat(n,'". Properties cannot be of type Array - use "multiple: true" and set "type" to the single value type, such as "String", "Object", etc...'));if(r.type===Object&&r.defaultValue)throw new Error('Cannot set a default value for property "'.concat(n,'". All properties of type "Object" are empty objects by default.'));if(r.multiple&&r.defaultValue)throw new Error('Cannot set a default value for property "'.concat(n,'". All multiple properties are empty arrays by default.'));Object.defineProperty(t,n,{get:function(){if(void 0!==this._state[n])return this._state[n];var t=r.defaultValue;return r.type!==Boolean&&(r.type===String?t:r.multiple?[]:t)},set:function(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))}})},o=0,i=Object.entries(n);o<i.length;o++)r();if(e)for(var a=this.getMetadata().getSlots(),s=function(){var e=Z(c[u],2),n=e[0],r=e[1];if(!We(n))throw new Error('"'.concat(n,'" is not a valid property name. Use a name that does not collide with DOM APIs'));var o=r.propertyName||n;Object.defineProperty(t,o,{get:function(){return void 0!==this._state[o]?this._state[o]:[]},set:function(){throw new Error("Cannot set slots directly, use the DOM APIs")}})},u=0,c=Object.entries(a);u<c.length;u++)s()}},{key:"define",value:(n=U(regeneratorRuntime.mark((function t(){var e,n,r;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Zt||(Zt=new Promise(function(){var t=U(regeneratorRuntime.mark((function t(e){var n;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!(n=ht("OpenUI5Support"))){t.next=4;break}return t.next=4,n.init();case 4:return t.next=6,new Promise((function(t){document.body?t():document.addEventListener("DOMContentLoaded",(function(){t()}))}));case 6:return t.next=8,$t(Gt());case 8:return n&&n.attachListeners(),te(),t.next=12,Kt||(Kt=new Promise((function(t){window.WebComponents&&!window.WebComponents.ready&&window.WebComponents.waitFor?window.WebComponents.waitFor((function(){t()})):t()})));case 12:e();case 13:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()));case 2:if(!this.onDefine){t.next=5;break}return t.next=5,this.onDefine();case 5:return e=this.getMetadata().getTag(),n=we(e),(r=customElements.get(e))&&!n?console.warn("Skipping definition of tag ".concat(e,", because it was already defined by another instance of ui5-webcomponents.")):r||(this._generateAccessors(),ge(e),window.customElements.define(e,this)),t.abrupt("return",this);case 10:case"end":return t.stop()}}),t,this)}))),function(){return n.apply(this,arguments)})},{key:"getMetadata",value:function(){if(this.hasOwnProperty("_metadata"))return this._metadata;for(var t=[this.metadata],n=this;n!==e;)n=Object.getPrototypeOf(n),t.unshift(n.metadata);var r=lt.apply(void 0,[{}].concat(t));return this._metadata=new se(r),this._metadata}},{key:"observedAttributes",get:function(){return this.getMetadata().getAttributesList()}},{key:"metadata",get:function(){return He}},{key:"styles",get:function(){return""}},{key:"staticAreaStyles",get:function(){return""}}]),e}(J(HTMLElement)),Ge=new WeakMap,Je=function(t){return"function"==typeof t&&Ge.has(t)},Ye=void 0!==window.customElements&&void 0!==window.customElements.polyfillWrapFlushCallback,Xe=function(t,e){for(var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;e!==n;){var r=e.nextSibling;t.removeChild(e),e=r}},Ke={},Ze={},Qe="{{lit-".concat(String(Math.random()).slice(2),"}}"),tn="\x3c!--".concat(Qe,"--\x3e"),en=new RegExp("".concat(Qe,"|").concat(tn)),nn=function t(e,n){B(this,t),this.parts=[],this.element=n;for(var r=[],o=[],i=document.createTreeWalker(n.content,133,null,!1),a=0,s=-1,u=0,c=e.strings,l=e.values.length;u<l;){var f=i.nextNode();if(null!==f){if(s++,1===f.nodeType){if(f.hasAttributes()){for(var h=f.attributes,d=h.length,p=0,m=0;m<d;m++)rn(h[m].name,"$lit$")&&p++;for(;p-- >0;){var v=c[u],y=sn.exec(v)[2],g=y.toLowerCase()+"$lit$",w=f.getAttribute(g);f.removeAttribute(g);var b=w.split(en);this.parts.push({type:"attribute",index:s,name:y,strings:b}),u+=b.length-1}}"TEMPLATE"===f.tagName&&(o.push(f),i.currentNode=f.content)}else if(3===f.nodeType){var S=f.data;if(S.indexOf(Qe)>=0){for(var _=f.parentNode,k=S.split(en),x=k.length-1,E=0;E<x;E++){var O=void 0,A=k[E];if(""===A)O=an();else{var C=sn.exec(A);null!==C&&rn(C[2],"$lit$")&&(A=A.slice(0,C.index)+C[1]+C[2].slice(0,-"$lit$".length)+C[3]),O=document.createTextNode(A)}_.insertBefore(O,f),this.parts.push({type:"node",index:++s})}""===k[x]?(_.insertBefore(an(),f),r.push(f)):f.data=k[x],u+=x}}else if(8===f.nodeType)if(f.data===Qe){var R=f.parentNode;null!==f.previousSibling&&s!==a||(s++,R.insertBefore(an(),f)),a=s,this.parts.push({type:"node",index:s}),null===f.nextSibling?f.data="":(r.push(f),s--),u++}else for(var M=-1;-1!==(M=f.data.indexOf(Qe,M+1));)this.parts.push({type:"node",index:-1}),u++}else i.currentNode=o.pop()}for(var P=0,N=r;P<N.length;P++){var T=N[P];T.parentNode.removeChild(T)}},rn=function(t,e){var n=t.length-e.length;return n>=0&&t.slice(n)===e},on=function(t){return-1!==t.index},an=function(){return document.createComment("")},sn=/([ \x09\x0a\x0c\x0d])([^\0-\x1F\x7F-\x9F "'>=/]+)([ \x09\x0a\x0c\x0d]*=[ \x09\x0a\x0c\x0d]*(?:[^ \x09\x0a\x0c\x0d"'`<>=]*|"[^"]*|'[^']*))$/,un=function(){function t(e,n,r){B(this,t),this.__parts=[],this.template=e,this.processor=n,this.options=r}return H(t,[{key:"update",value:function(t){var e=0,n=!0,r=!1,o=void 0;try{for(var i,a=this.__parts[Symbol.iterator]();!(n=(i=a.next()).done);n=!0){var s=i.value;void 0!==s&&s.setValue(t[e]),e++}}catch(t){r=!0,o=t}finally{try{n||null==a.return||a.return()}finally{if(r)throw o}}var u=!0,c=!1,l=void 0;try{for(var f,h=this.__parts[Symbol.iterator]();!(u=(f=h.next()).done);u=!0){var d=f.value;void 0!==d&&d.commit()}}catch(t){c=!0,l=t}finally{try{u||null==h.return||h.return()}finally{if(c)throw l}}}},{key:"_clone",value:function(){for(var t,e=Ye?this.template.element.content.cloneNode(!0):document.importNode(this.template.element.content,!0),n=[],r=this.template.parts,o=document.createTreeWalker(e,133,null,!1),i=0,a=0,s=o.nextNode();i<r.length;)if(t=r[i],on(t)){for(;a<t.index;)a++,"TEMPLATE"===s.nodeName&&(n.push(s),o.currentNode=s.content),null===(s=o.nextNode())&&(o.currentNode=n.pop(),s=o.nextNode());if("node"===t.type){var u=this.processor.handleTextExpression(this.options);u.insertAfterNode(s.previousSibling),this.__parts.push(u)}else{var c;(c=this.__parts).push.apply(c,Q(this.processor.handleAttributeExpressions(s,t.name,t.strings,this.options)))}i++}else this.__parts.push(void 0),i++;return Ye&&(document.adoptNode(e),customElements.upgrade(e)),e}}]),t}(),cn=" ".concat(Qe," "),ln=function(){function t(e,n,r,o){B(this,t),this.strings=e,this.values=n,this.type=r,this.processor=o}return H(t,[{key:"getHTML",value:function(){for(var t=this.strings.length-1,e="",n=!1,r=0;r<t;r++){var o=this.strings[r],i=o.lastIndexOf("\x3c!--");n=(i>-1||n)&&-1===o.indexOf("--\x3e",i+1);var a=sn.exec(o);e+=null===a?o+(n?cn:tn):o.substr(0,a.index)+a[1]+a[2]+"$lit$"+a[3]+Qe}return e+=this.strings[t]}},{key:"getTemplateElement",value:function(){var t=document.createElement("template");return t.innerHTML=this.getHTML(),t}}]),t}(),fn=function(t){return null===t||!("object"===V(t)||"function"==typeof t)},hn=function(t){return Array.isArray(t)||!(!t||!t[Symbol.iterator])},dn=function(){function t(e,n,r){B(this,t),this.dirty=!0,this.element=e,this.name=n,this.strings=r,this.parts=[];for(var o=0;o<r.length-1;o++)this.parts[o]=this._createPart()}return H(t,[{key:"_createPart",value:function(){return new pn(this)}},{key:"_getValue",value:function(){for(var t=this.strings,e=t.length-1,n="",r=0;r<e;r++){n+=t[r];var o=this.parts[r];if(void 0!==o){var i=o.value;if(fn(i)||!hn(i))n+="string"==typeof i?i:String(i);else{var a=!0,s=!1,u=void 0;try{for(var c,l=i[Symbol.iterator]();!(a=(c=l.next()).done);a=!0){var f=c.value;n+="string"==typeof f?f:String(f)}}catch(t){s=!0,u=t}finally{try{a||null==l.return||l.return()}finally{if(s)throw u}}}}}return n+=t[e]}},{key:"commit",value:function(){this.dirty&&(this.dirty=!1,this.element.setAttribute(this.name,this._getValue()))}}]),t}(),pn=function(){function t(e){B(this,t),this.value=void 0,this.committer=e}return H(t,[{key:"setValue",value:function(t){t===Ke||fn(t)&&t===this.value||(this.value=t,Je(t)||(this.committer.dirty=!0))}},{key:"commit",value:function(){for(;Je(this.value);){var t=this.value;this.value=Ke,t(this)}this.value!==Ke&&this.committer.commit()}}]),t}(),mn=function(){function t(e){B(this,t),this.value=void 0,this.__pendingValue=void 0,this.options=e}return H(t,[{key:"appendInto",value:function(t){this.startNode=t.appendChild(an()),this.endNode=t.appendChild(an())}},{key:"insertAfterNode",value:function(t){this.startNode=t,this.endNode=t.nextSibling}},{key:"appendIntoPart",value:function(t){t.__insert(this.startNode=an()),t.__insert(this.endNode=an())}},{key:"insertAfterPart",value:function(t){t.__insert(this.startNode=an()),this.endNode=t.endNode,t.endNode=this.startNode}},{key:"setValue",value:function(t){this.__pendingValue=t}},{key:"commit",value:function(){for(;Je(this.__pendingValue);){var t=this.__pendingValue;this.__pendingValue=Ke,t(this)}var e=this.__pendingValue;e!==Ke&&(fn(e)?e!==this.value&&this.__commitText(e):e instanceof ln?this.__commitTemplateResult(e):e instanceof Node?this.__commitNode(e):hn(e)?this.__commitIterable(e):e===Ze?(this.value=Ze,this.clear()):this.__commitText(e))}},{key:"__insert",value:function(t){this.endNode.parentNode.insertBefore(t,this.endNode)}},{key:"__commitNode",value:function(t){this.value!==t&&(this.clear(),this.__insert(t),this.value=t)}},{key:"__commitText",value:function(t){var 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}},{key:"__commitTemplateResult",value:function(t){var e=this.options.templateFactory(t);if(this.value instanceof un&&this.value.template===e)this.value.update(t.values);else{var n=new un(e,t.processor,this.options),r=n._clone();n.update(t.values),this.__commitNode(r),this.value=n}}},{key:"__commitIterable",value:function(e){Array.isArray(this.value)||(this.value=[],this.clear());var n,r=this.value,o=0,i=!0,a=!1,s=void 0;try{for(var u,c=e[Symbol.iterator]();!(i=(u=c.next()).done);i=!0){var l=u.value;void 0===(n=r[o])&&(n=new t(this.options),r.push(n),0===o?n.appendIntoPart(this):n.insertAfterPart(r[o-1])),n.setValue(l),n.commit(),o++}}catch(t){a=!0,s=t}finally{try{i||null==c.return||c.return()}finally{if(a)throw s}}o<r.length&&(r.length=o,this.clear(n&&n.endNode))}},{key:"clear",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.startNode;Xe(this.startNode.parentNode,t.nextSibling,this.endNode)}}]),t}(),vn=function(){function t(e,n,r){if(B(this,t),this.value=void 0,this.__pendingValue=void 0,2!==r.length||""!==r[0]||""!==r[1])throw new Error("Boolean attributes can only contain a single expression");this.element=e,this.name=n,this.strings=r}return H(t,[{key:"setValue",value:function(t){this.__pendingValue=t}},{key:"commit",value:function(){for(;Je(this.__pendingValue);){var t=this.__pendingValue;this.__pendingValue=Ke,t(this)}if(this.__pendingValue!==Ke){var e=!!this.__pendingValue;this.value!==e&&(e?this.element.setAttribute(this.name,""):this.element.removeAttribute(this.name),this.value=e),this.__pendingValue=Ke}}}]),t}(),yn=function(t){function e(t,n,r){var o;return B(this,e),(o=Y(this,z(e).call(this,t,n,r))).single=2===r.length&&""===r[0]&&""===r[1],o}return q(e,t),H(e,[{key:"_createPart",value:function(){return new gn(this)}},{key:"_getValue",value:function(){return this.single?this.parts[0].value:X(z(e.prototype),"_getValue",this).call(this)}},{key:"commit",value:function(){this.dirty&&(this.dirty=!1,this.element[this.name]=this._getValue())}}]),e}(dn),gn=function(t){function e(){return B(this,e),Y(this,z(e).apply(this,arguments))}return q(e,t),e}(pn),wn=!1;try{var bn={get capture(){return wn=!0,!1}};window.addEventListener("test",bn,bn),window.removeEventListener("test",bn,bn)}catch(t){}var Sn=function(){function t(e,n,r){var o=this;B(this,t),this.value=void 0,this.__pendingValue=void 0,this.element=e,this.eventName=n,this.eventContext=r,this.__boundHandleEvent=function(t){return o.handleEvent(t)}}return H(t,[{key:"setValue",value:function(t){this.__pendingValue=t}},{key:"commit",value:function(){for(;Je(this.__pendingValue);){var t=this.__pendingValue;this.__pendingValue=Ke,t(this)}if(this.__pendingValue!==Ke){var e=this.__pendingValue,n=this.value,r=null==e||null!=n&&(e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive),o=null!=e&&(null==n||r);r&&this.element.removeEventListener(this.eventName,this.__boundHandleEvent,this.__options),o&&(this.__options=_n(e),this.element.addEventListener(this.eventName,this.__boundHandleEvent,this.__options)),this.value=e,this.__pendingValue=Ke}}},{key:"handleEvent",value:function(t){"function"==typeof this.value?this.value.call(this.eventContext||this.element,t):this.value.handleEvent(t)}}]),t}(),_n=function(t){return t&&(wn?{capture:t.capture,passive:t.passive,once:t.once}:t.capture)},kn=new(function(){function t(){B(this,t)}return H(t,[{key:"handleAttributeExpressions",value:function(t,e,n,r){var o=e[0];return"."===o?new yn(t,e.slice(1),n).parts:"@"===o?[new Sn(t,e.slice(1),r.eventContext)]:"?"===o?[new vn(t,e.slice(1),n)]:new dn(t,e,n).parts}},{key:"handleTextExpression",value:function(t){return new mn(t)}}]),t}());
171
- /**
172
- * @license
173
- * Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
174
- * This code may only be used under the BSD style license found at
175
- * http://polymer.github.io/LICENSE.txt
176
- * The complete set of authors may be found at
177
- * http://polymer.github.io/AUTHORS.txt
178
- * The complete set of contributors may be found at
179
- * http://polymer.github.io/CONTRIBUTORS.txt
180
- * Code distributed by Google as part of the polymer project is also
181
- * subject to an additional IP rights grant found at
182
- * http://polymer.github.io/PATENTS.txt
183
- */
184
- function xn(t){var e=En.get(t.type);void 0===e&&(e={stringsArray:new WeakMap,keyString:new Map},En.set(t.type,e));var n=e.stringsArray.get(t.strings);if(void 0!==n)return n;var r=t.strings.join(Qe);return void 0===(n=e.keyString.get(r))&&(n=new nn(t,t.getTemplateElement()),e.keyString.set(r,n)),e.stringsArray.set(t.strings,n),n}var En=new Map,On=new WeakMap,An=function(t,e,n){var r=On.get(e);void 0===r&&(Xe(e,e.firstChild),On.set(e,r=new mn(Object.assign({templateFactory:xn},n))),r.appendInto(e)),r.setValue(t),r.commit()};
185
- /**
186
- * @license
187
- * Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
188
- * This code may only be used under the BSD style license found at
189
- * http://polymer.github.io/LICENSE.txt
190
- * The complete set of authors may be found at
191
- * http://polymer.github.io/AUTHORS.txt
192
- * The complete set of contributors may be found at
193
- * http://polymer.github.io/CONTRIBUTORS.txt
194
- * Code distributed by Google as part of the polymer project is also
195
- * subject to an additional IP rights grant found at
196
- * http://polymer.github.io/PATENTS.txt
197
- */
198
- /**
199
- * @license
200
- * Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
201
- * This code may only be used under the BSD style license found at
202
- * http://polymer.github.io/LICENSE.txt
203
- * The complete set of authors may be found at
204
- * http://polymer.github.io/AUTHORS.txt
205
- * The complete set of contributors may be found at
206
- * http://polymer.github.io/CONTRIBUTORS.txt
207
- * Code distributed by Google as part of the polymer project is also
208
- * subject to an additional IP rights grant found at
209
- * http://polymer.github.io/PATENTS.txt
210
- */
211
- (window.litHtmlVersions||(window.litHtmlVersions=[])).push("1.1.2");var Cn=function(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];return new ln(t,n,"html",kn)};function Rn(){var t=K(["<style>","</style>",""]);return Rn=function(){return t},t}var Mn=function(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=r.eventContext;n&&(t=Cn(Rn(),n,t)),An(t,e,{eventContext:o})};function Pn(){var t=K(['<div><p>\n\t\t\t\t<slot></slot>\n\t\t\t\t<slot name="other"></slot>\n\t\t\t\t<slot name="individual-1"></slot>\n\t\t\t\t<slot name="individual-2"></slot>\n\t\t\t</p></div>']);return Pn=function(){return t},t}var Nn={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"}}},Tn=function(t){function e(){return B(this,e),Y(this,z(e).apply(this,arguments))}return q(e,t),H(e,[{key:"onBeforeRendering",value:function(){}},{key:"onAfterRendering",value:function(){}},{key:"onEnterDOM",value:function(){}},{key:"onExitDOM",value:function(){}}],[{key:"metadata",get:function(){return Nn}},{key:"render",get:function(){return Mn}},{key:"template",get:function(){return function(t){return Cn(Pn())}}},{key:"styles",get:function(){return":host {\n display: inline-block;\n border: 1px solid black;\n color: var(--var1);\n }"}}]),e}($e);Tn.define();var Ln={tag:"ui5-test-no-shadow"};function jn(){var t=K(["<div>\n\t\t\t\t<slot></slot>\n\t\t\t</div>"]);return jn=function(){return t},t}(function(t){function e(){return B(this,e),Y(this,z(e).apply(this,arguments))}return q(e,t),H(e,null,[{key:"metadata",get:function(){return Ln}}]),e})($e).define();var Dn={tag:"ui5-test-parent",managedSlots:!0,slots:{default:{type:Node,listenFor:["prop1"]},items:{type:HTMLElement,listenFor:{include:["*"],exclude:["prop3"]}}}};function In(){var t=K(["<div></div>"]);return In=function(){return t},t}(function(t){function e(){return B(this,e),Y(this,z(e).apply(this,arguments))}return q(e,t),H(e,null,[{key:"metadata",get:function(){return Dn}},{key:"render",get:function(){return Mn}},{key:"template",get:function(){return function(t){return Cn(jn())}}}]),e})($e).define();var Vn={tag:"ui5-test-child",properties:{prop1:{type:String},prop2:{type:String},prop3:{type:String}}};function Fn(){var t=K(['\n\t\t\t\t<div class="ui5-with-static-area-content">\n\t\t\t\t\tStatic area content.\n\t\t\t\t</div>']);return Fn=function(){return t},t}function Un(){var t=K(["\n\t\t\t\t<div>\n\t\t\t\t\tWithStaticArea works!\n\t\t\t\t</div>"]);return Un=function(){return t},t}(function(t){function e(){return B(this,e),Y(this,z(e).apply(this,arguments))}return q(e,t),H(e,null,[{key:"metadata",get:function(){return Vn}},{key:"render",get:function(){return Mn}},{key:"template",get:function(){return function(t){return Cn(In())}}}]),e})($e).define();var Bn={tag:"ui5-with-static-area",properties:{staticContent:{type:Boolean}},slots:{}};(function(t){function e(){return B(this,e),Y(this,z(e).apply(this,arguments))}var n;return q(e,t),H(e,[{key:"addStaticArea",value:(n=U(regeneratorRuntime.mark((function t(){var e;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(this.staticContent){t.next=2;break}return t.abrupt("return");case 2:return t.next=4,this.getStaticAreaItemDomRef();case 4:return e=t.sent,this.responsivePopover=e.querySelector(".ui5-with-static-area-content"),t.abrupt("return",this.responsivePopover);case 7:case"end":return t.stop()}}),t,this)}))),function(){return n.apply(this,arguments)})},{key:"onBeforeRendering",value:function(){this.addStaticArea()}},{key:"onAfterRendering",value:function(){}},{key:"onEnterDOM",value:function(){}},{key:"onExitDOM",value:function(){}}],[{key:"metadata",get:function(){return Bn}},{key:"render",get:function(){return Mn}},{key:"template",get:function(){return function(t){return Cn(Un())}}},{key:"staticAreaTemplate",get:function(){return function(t){return Cn(Fn())}}},{key:"styles",get:function(){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}"}}]),e})($e).define();var Wn={tag:"ui5-test-generic-ext",properties:{extProp:{type:String},strProp:{defaultValue:"Ext"}},slots:{extSlot:{type:HTMLElement}}};(function(t){function e(){return B(this,e),Y(this,z(e).apply(this,arguments))}return q(e,t),H(e,null,[{key:"metadata",get:function(){return Wn}}]),e})(Tn).define();Nt("@ui5/webcomponents-base-test","sap_fiori_3",":root{ --var1: red; }"),Nt("@ui5/webcomponents-base-test","sap_fiori_3_dark",":root{ --var1: green; }"),Nt("@ui5/webcomponents-base-test","sap_belize",":root{ --var1: blue; }"),Nt("@ui5/webcomponents-base-test","sap_belize_hcb",":root{ --var1: orange; }"),Nt("@ui5/webcomponents-base-test","sap_belize_hcw",":root{ --var1: orange; }");var Hn,qn,zn={},$n={INTERNET_EXPLORER:"ie",EDGE:"ed",FIREFOX:"ff",CHROME:"cr",SAFARI:"sf",ANDROID:"an"},Gn=function(){var t,e,n,r=function(){var 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}(),o=navigator.userAgent,i=window.navigator;if(r.mozilla)t=/Mobile/,o.match(/Firefox\/(\d+\.\d+)/)?(n=parseFloat(RegExp.$1),e={name:$n.FIREFOX,versionStr:"".concat(n),version:n,mozilla:!0,mobile:t.test(o)}):e={mobile:t.test(o),mozilla:!0,version:-1};else if(r.webkit){var a,s=o.toLowerCase().match(/webkit[/]([\d.]+)/);s&&(a=s[1]),t=/Mobile/;var u=o.match(/(Chrome|CriOS)\/(\d+\.\d+).\d+/),c=o.match(/FxiOS\/(\d+\.\d+)/),l=o.match(/Android .+ Version\/(\d+\.\d+)/);if(u||c||l){var f,h,d;u?(f=$n.CHROME,d=t.test(o),h=parseFloat(u[2])):c?(f=$n.FIREFOX,d=!0,h=parseFloat(c[1])):l&&(f=$n.ANDROID,d=t.test(o),h=parseFloat(l[1])),e={name:f,mobile:d,versionStr:"".concat(h),version:h,webkit:!0,webkitVersion:a}}else{var p=/(Version|PhantomJS)\/(\d+\.\d+).*Safari/,m=i.standalone;if(p.test(o)){var v=p.exec(o);n=parseFloat(v[2]),e={name:$n.SAFARI,versionStr:"".concat(n),fullscreen:!1,webview:!1,version:n,mobile:t.test(o),webkit:!0,webkitVersion:a,phantomJS:"PhantomJS"===v[1]}}else e=!/iPhone|iPad|iPod/.test(o)||/CriOS/.test(o)||/FxiOS/.test(o)||!0!==m&&!1!==m?{mobile:t.test(o),webkit:!0,webkitVersion:a,version:-1}:{name:$n.SAFARI,version:-1,fullscreen:m,webview:!m,mobile:t.test(o),webkit:!0,webkitVersion:a}}}else r.msie||r.trident?(n=parseFloat(r.version),e={name:$n.INTERNET_EXPLORER,versionStr:"".concat(n),version:n,msie:!0,mobile:!1}):r.edge?(n=parseFloat(r.version),e={name:$n.EDGE,versionStr:"".concat(n),version:n,edge:!0}):e={name:"",versionStr:"",version:-1,mobile:!1};return e},Jn=function(){return void 0===Hn&&(St(),Hn=pt.animationMode),Hn},Yn={Gregorian:"Gregorian",Islamic:"Islamic",Japanese:"Japanese",Buddhist:"Buddhist",Persian:"Persian"},Xn=function(t){function e(){return B(this,e),Y(this,z(e).apply(this,arguments))}return q(e,t),H(e,null,[{key:"isValid",value:function(t){return!!Yn[t]}}]),e}(ee);Xn.generataTypeAcessors(Yn);var Kn,Zn,Qn=function(){return void 0===qn&&(St(),qn=pt.calendarType),Xn.isValid(qn)?qn:Xn.Gregorian},tr={iw:"he",ji:"yi",in:"id",sh:"sr"},er=((Kn=/\$([-a-z0-9A-Z._]+)(?::([^$]*))?\$/.exec("$cldr-rtl-locales:ar,fa,he$"))&&Kn[2]?Kn[2].split(/,/):null)||[],nr=function(){var t,e=(St(),pt.rtl);return null!==e?!!e:function(t){return t=t&&tr[t]||t,er.indexOf(t)>=0}(_t()||((t=navigator.languages)&&t[0]||navigator.language||navigator.userLanguage||navigator.browserLanguage||et))},rr=function(){return void 0===Zn&&(St(),Zn=pt.formatSettings),Zn.firstDayOfWeek},or=new Map,ir=new Map,ar=function(){var t=U(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!ir.has("SAP-icons")){t.next=3;break}return t.next=3,ir.get("SAP-icons");case 3:return t.abrupt("return",Array.from(or.keys()).map((function(t){return t.split(":")[1]})));case 4:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}();window.RenderScheduler=Se,window.isIE=function(){return zn.browser||(zn.browser=Gn(),zn.browser.BROWSER=$n,zn.browser.name&&Object.keys($n).forEach((function(t){$n[t]===zn.browser.name&&(zn.browser[t.toLowerCase()]=!0)}))),!!zn.browser.msie},window.registerThemeProperties=Nt,window["sap-ui-webcomponents-bundle"]={configuration:{getAnimationMode:Jn,getLanguage:_t,getTheme:Gt,setTheme:Jt,getNoConflict:Re,setNoConflict:Pe,getCalendarType:Qn,getRTL:nr,getFirstDayOfWeek:rr},getIconNames:ar};var sr={getAnimationMode:Jn,getLanguage:_t,getTheme:Gt,setTheme:Jt,getNoConflict:Re,setNoConflict:Pe,getCalendarType:Qn,getRTL:nr,getFirstDayOfWeek:rr};t.configuration=sr,t.getIconNames=ar}(this["sap-ui-webcomponents-bundle"]=this["sap-ui-webcomponents-bundle"]||{});
212
- //# sourceMappingURL=bundle.es5.js.map