@microsoft/sp-component-base 1.23.1 → 1.24.0-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/467dc675-7cc5-4709-8aac-78e3b71bd2f6.manifest.json +136 -141
- package/dist/{chunk.legacy-third-party-fabric-core-localfont_none_9e84ea19c68fdc8b9094.js → chunk.legacy-third-party-fabric-core-localfont_none_b7f7978a3e90166c361b.js} +1 -1
- package/dist/chunk.teams-apps-client_none_27d3c7c1d01080e4f131.js +2 -0
- package/dist/index-internal-beta.d.ts +30 -8
- package/dist/index-internal-public.d.ts +30 -8
- package/dist/index-internal.d.ts +30 -8
- package/dist/sp-component-base_default_8d535b51fa18aa47002b.js +22 -0
- package/dist/sp-component-base_en-us_8ce25dfb69a7786caece.js +22 -0
- package/dist/sp-component-base_qps-ploc_4fec831895d90df8aa7a.js +22 -0
- package/dist/sp-component-base_qps-ploca_b80610c8dff04dcec755.js +22 -0
- package/dist/tsdoc-metadata.json +1 -1
- package/lib-commonjs/BaseComponent.js +110 -145
- package/lib-commonjs/BaseComponentContext.js +126 -183
- package/lib-commonjs/DynamicDataProvider.js +251 -268
- package/lib-commonjs/DynamicDataSourceManager.js +218 -241
- package/lib-commonjs/DynamicProperty.js +232 -280
- package/lib-commonjs/EnsureIsolatedDomainUrl.js +14 -14
- package/lib-commonjs/IComponentPosition.js +8 -3
- package/lib-commonjs/IComponentPropertyMetadata.js +10 -3
- package/lib-commonjs/ISerializedServerProcessedData.js +24 -21
- package/lib-commonjs/LegacyThirdPartyFabricCoreLoader.js +53 -87
- package/lib-commonjs/PropertyMetadataProcessor.js +117 -150
- package/lib-commonjs/RenderableComponentContext.js +37 -0
- package/lib-commonjs/ShimmerFactory.js +66 -51
- package/lib-commonjs/chunks/legacy-third-party-fabric-core/FabricLocalFont.js +6 -4
- package/lib-commonjs/common/Flights.js +22 -10
- package/lib-commonjs/common/KillSwitches.js +13 -6
- package/lib-commonjs/dataCollector/IWebPartLoadData.js +35 -30
- package/lib-commonjs/dataCollector/WebPartLoadDataCollector.js +82 -91
- package/lib-commonjs/index.js +78 -38
- package/lib-commonjs/teams/DeferredTeamsAppsClient.js +30 -52
- package/lib-commonjs/teams/ITeamsAppCatalog.js +10 -3
- package/lib-commonjs/teams/TeamsAppsClient.js +189 -231
- package/lib-commonjs/test-api/MockComponent.js +38 -23
- package/lib-commonjs/test-api/MockComponentContext.js +21 -14
- package/lib-commonjs/test-api/index.js +21 -7
- package/lib-commonjs/themeProvider/ThemeProvider.js +68 -82
- package/lib-commonjs/themeProvider/themeInterfaces/IFontStyles.js +5 -2
- package/lib-commonjs/themeProvider/themeInterfaces/IPalette.js +10 -3
- package/lib-commonjs/themeProvider/themeInterfaces/ISemanticColors.js +59 -3
- package/lib-commonjs/themeProvider/themeInterfaces/ISemanticTextColors.js +10 -3
- package/lib-commonjs/themeProvider/themeInterfaces/ITheme.js +5 -2
- package/{lib → lib-dts}/BaseComponent.d.ts +8 -8
- package/{lib → lib-dts}/BaseComponentContext.d.ts +5 -5
- package/lib-dts/RenderableComponentContext.d.ts +35 -0
- package/{lib → lib-dts}/index.d.ts +1 -0
- package/lib-esm/BaseComponent.js +123 -0
- package/lib-esm/BaseComponentContext.js +157 -0
- package/lib-esm/DynamicDataProvider.js +401 -0
- package/lib-esm/DynamicDataSourceManager.js +358 -0
- package/lib-esm/DynamicProperty.js +344 -0
- package/{lib → lib-esm}/EnsureIsolatedDomainUrl.js +6 -6
- package/lib-esm/IComponentPosition.js +5 -0
- package/lib-esm/IComponentPropertyMetadata.js +7 -0
- package/lib-esm/ISerializedServerProcessedData.js +24 -0
- package/lib-esm/LegacyThirdPartyFabricCoreLoader.js +76 -0
- package/{lib → lib-esm}/PropertyMetadataProcessor.js +92 -127
- package/lib-esm/RenderableComponentContext.js +26 -0
- package/lib-esm/ShimmerFactory.js +74 -0
- package/{lib → lib-esm}/chunks/legacy-third-party-fabric-core/FabricLocalFont.js +3 -3
- package/{lib → lib-esm}/common/Flights.js +4 -3
- package/{lib → lib-esm}/common/KillSwitches.js +3 -2
- package/lib-esm/dataCollector/IWebPartLoadData.js +33 -0
- package/lib-esm/dataCollector/WebPartLoadDataCollector.js +125 -0
- package/{lib → lib-esm}/index.js +4 -3
- package/lib-esm/teams/DeferredTeamsAppsClient.js +32 -0
- package/lib-esm/teams/ITeamsAppCatalog.js +9 -0
- package/lib-esm/teams/TeamsAppsClient.js +395 -0
- package/lib-esm/test-api/MockComponent.js +38 -0
- package/{lib → lib-esm}/test-api/MockComponentContext.js +10 -11
- package/{lib → lib-esm}/test-api/index.js +2 -1
- package/lib-esm/themeProvider/ThemeProvider.js +79 -0
- package/lib-esm/themeProvider/themeInterfaces/IFontStyles.js +7 -0
- package/lib-esm/themeProvider/themeInterfaces/IPalette.js +7 -0
- package/lib-esm/themeProvider/themeInterfaces/ISemanticColors.js +56 -0
- package/lib-esm/themeProvider/themeInterfaces/ISemanticTextColors.js +7 -0
- package/lib-esm/themeProvider/themeInterfaces/ITheme.js +7 -0
- package/package.json +41 -14
- package/dist/chunk.teams-apps-client_none_f9872389cb6ea9ad28e2.js +0 -2
- package/dist/sp-component-base_default_5ba07be39b0dc8968f7b.js +0 -2
- package/dist/sp-component-base_en-us_eb9bebb3acce0ae83f1c.js +0 -2
- package/dist/sp-component-base_qps-ploc_45f37623d87c3d848f2a.js +0 -2
- package/dist/sp-component-base_qps-ploca_b3f3b7bf97c4185b0fd6.js +0 -2
- package/lib/BaseComponent.d.ts.map +0 -1
- package/lib/BaseComponent.js +0 -161
- package/lib/BaseComponentContext.d.ts.map +0 -1
- package/lib/BaseComponentContext.js +0 -222
- package/lib/DynamicDataProvider.d.ts.map +0 -1
- package/lib/DynamicDataProvider.js +0 -420
- package/lib/DynamicDataSourceManager.d.ts.map +0 -1
- package/lib/DynamicDataSourceManager.js +0 -382
- package/lib/DynamicProperty.d.ts.map +0 -1
- package/lib/DynamicProperty.js +0 -390
- package/lib/EnsureIsolatedDomainUrl.d.ts.map +0 -1
- package/lib/IComponentPosition.d.ts.map +0 -1
- package/lib/IComponentPosition.js +0 -2
- package/lib/IComponentPropertyMetadata.d.ts.map +0 -1
- package/lib/IComponentPropertyMetadata.js +0 -2
- package/lib/ISerializedServerProcessedData.d.ts.map +0 -1
- package/lib/ISerializedServerProcessedData.js +0 -28
- package/lib/LegacyThirdPartyFabricCoreLoader.d.ts.map +0 -1
- package/lib/LegacyThirdPartyFabricCoreLoader.js +0 -90
- package/lib/PropertyMetadataProcessor.d.ts.map +0 -1
- package/lib/ShimmerFactory.d.ts.map +0 -1
- package/lib/ShimmerFactory.js +0 -62
- package/lib/chunks/legacy-third-party-fabric-core/FabricLocalFont.d.ts.map +0 -1
- package/lib/common/Flights.d.ts.map +0 -1
- package/lib/common/KillSwitches.d.ts.map +0 -1
- package/lib/dataCollector/IWebPartLoadData.d.ts.map +0 -1
- package/lib/dataCollector/IWebPartLoadData.js +0 -40
- package/lib/dataCollector/WebPartLoadDataCollector.d.ts.map +0 -1
- package/lib/dataCollector/WebPartLoadDataCollector.js +0 -137
- package/lib/index.d.ts.map +0 -1
- package/lib/teams/DeferredTeamsAppsClient.d.ts.map +0 -1
- package/lib/teams/DeferredTeamsAppsClient.js +0 -39
- package/lib/teams/ITeamsAppCatalog.d.ts.map +0 -1
- package/lib/teams/ITeamsAppCatalog.js +0 -2
- package/lib/teams/TeamsAppsClient.d.ts.map +0 -1
- package/lib/teams/TeamsAppsClient.js +0 -440
- package/lib/test-api/MockComponent.d.ts.map +0 -1
- package/lib/test-api/MockComponent.js +0 -31
- package/lib/test-api/MockComponentContext.d.ts.map +0 -1
- package/lib/test-api/index.d.ts.map +0 -1
- package/lib/themeProvider/ThemeProvider.d.ts.map +0 -1
- package/lib/themeProvider/ThemeProvider.js +0 -99
- package/lib/themeProvider/themeInterfaces/IFontStyles.d.ts.map +0 -1
- package/lib/themeProvider/themeInterfaces/IFontStyles.js +0 -2
- package/lib/themeProvider/themeInterfaces/IPalette.d.ts.map +0 -1
- package/lib/themeProvider/themeInterfaces/IPalette.js +0 -2
- package/lib/themeProvider/themeInterfaces/ISemanticColors.d.ts.map +0 -1
- package/lib/themeProvider/themeInterfaces/ISemanticColors.js +0 -2
- package/lib/themeProvider/themeInterfaces/ISemanticTextColors.d.ts.map +0 -1
- package/lib/themeProvider/themeInterfaces/ISemanticTextColors.js +0 -2
- package/lib/themeProvider/themeInterfaces/ITheme.d.ts.map +0 -1
- package/lib/themeProvider/themeInterfaces/ITheme.js +0 -2
- /package/{lib → lib-dts}/DynamicDataProvider.d.ts +0 -0
- /package/{lib → lib-dts}/DynamicDataSourceManager.d.ts +0 -0
- /package/{lib → lib-dts}/DynamicProperty.d.ts +0 -0
- /package/{lib → lib-dts}/EnsureIsolatedDomainUrl.d.ts +0 -0
- /package/{lib → lib-dts}/IComponentPosition.d.ts +0 -0
- /package/{lib → lib-dts}/IComponentPropertyMetadata.d.ts +0 -0
- /package/{lib → lib-dts}/ISerializedServerProcessedData.d.ts +0 -0
- /package/{lib → lib-dts}/LegacyThirdPartyFabricCoreLoader.d.ts +0 -0
- /package/{lib → lib-dts}/PropertyMetadataProcessor.d.ts +0 -0
- /package/{lib → lib-dts}/ShimmerFactory.d.ts +0 -0
- /package/{lib → lib-dts}/chunks/legacy-third-party-fabric-core/FabricLocalFont.d.ts +0 -0
- /package/{lib → lib-dts}/common/Flights.d.ts +0 -0
- /package/{lib → lib-dts}/common/KillSwitches.d.ts +0 -0
- /package/{lib → lib-dts}/dataCollector/IWebPartLoadData.d.ts +0 -0
- /package/{lib → lib-dts}/dataCollector/WebPartLoadDataCollector.d.ts +0 -0
- /package/{lib → lib-dts}/loc/Strings.resx.d.ts +0 -0
- /package/{lib → lib-dts}/teams/DeferredTeamsAppsClient.d.ts +0 -0
- /package/{lib → lib-dts}/teams/ITeamsAppCatalog.d.ts +0 -0
- /package/{lib → lib-dts}/teams/TeamsAppsClient.d.ts +0 -0
- /package/{lib → lib-dts}/test-api/MockComponent.d.ts +0 -0
- /package/{lib → lib-dts}/test-api/MockComponentContext.d.ts +0 -0
- /package/{lib → lib-dts}/test-api/index.d.ts +0 -0
- /package/{lib → lib-dts}/themeProvider/ThemeProvider.d.ts +0 -0
- /package/{lib → lib-dts}/themeProvider/themeInterfaces/IFontStyles.d.ts +0 -0
- /package/{lib → lib-dts}/themeProvider/themeInterfaces/IPalette.d.ts +0 -0
- /package/{lib → lib-dts}/themeProvider/themeInterfaces/ISemanticColors.d.ts +0 -0
- /package/{lib → lib-dts}/themeProvider/themeInterfaces/ISemanticTextColors.d.ts +0 -0
- /package/{lib → lib-dts}/themeProvider/themeInterfaces/ITheme.d.ts +0 -0
- /package/{lib → lib-esm}/chunks/legacy-third-party-fabric-core/fabric-core-sass/Fabric.LocalFont.global.scss.css +0 -0
- /package/{lib → lib-esm}/chunks/legacy-third-party-fabric-core/fabric-core-sass/Fabric.LocalFontKillSwitchActivated.scss.css +0 -0
- /package/{lib → lib-esm}/chunks/legacy-third-party-fabric-core/fabric-core-shim.global.scss.css +0 -0
- /package/{lib → lib-esm}/chunks/legacy-third-party-fabric-core/fabric-core-shimKillSwitchActivated.scss.css +0 -0
- /package/{lib → lib-esm}/chunks/legacy-third-party-fabric-core/iconDefinitions.css +0 -0
- /package/{lib → lib-esm}/loc/Strings.resx.json +0 -0
- /package/{lib → lib-esm}/sp-component-base.manifest.json +0 -0
- /package/{lib → lib-esm}/styles/shimmer.module.scss.css +0 -0
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import { ServiceKey, SPEvent, SPEventArgs, _SPEventManager, Validate } from '@microsoft/sp-core-library';
|
|
2
|
+
/**
|
|
3
|
+
* The object passed when the IThemeProvider.themeChangedEvent is raised.
|
|
4
|
+
*
|
|
5
|
+
* @public
|
|
6
|
+
*/ export class ThemeChangedEventArgs extends SPEventArgs {
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* The ThemeProvider class provides the capability to get different themes from the Framework. Themes can be provided
|
|
10
|
+
* in different contexts, e.g. Canvas sections may provide a variant of the global theme in some contexts.
|
|
11
|
+
*
|
|
12
|
+
* @public
|
|
13
|
+
*/ export class ThemeProvider {
|
|
14
|
+
get _themeChangedEventName() {
|
|
15
|
+
return ThemeProvider._themeChangedEventNameLiteral + this._id;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* Clear the currently set theme and raise the themeChangedEvent.
|
|
19
|
+
*
|
|
20
|
+
* @internal
|
|
21
|
+
*/ _clearTheme() {
|
|
22
|
+
this._theme = undefined;
|
|
23
|
+
this._themeV2 = undefined;
|
|
24
|
+
this._raiseEvent();
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Change the theme and raise the themeChangedEvent.
|
|
28
|
+
*
|
|
29
|
+
* @param theme - The new theme.
|
|
30
|
+
*
|
|
31
|
+
* @internal
|
|
32
|
+
*/ _setTheme(theme, themeV2) {
|
|
33
|
+
Validate.isNotNullOrUndefined(theme, 'theme');
|
|
34
|
+
this._theme = Object.freeze(theme);
|
|
35
|
+
if (themeV2) {
|
|
36
|
+
this._themeV2 = Object.freeze(themeV2);
|
|
37
|
+
}
|
|
38
|
+
this._raiseEvent();
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* If set, get the current scoped theme.
|
|
42
|
+
*/ tryGetTheme() {
|
|
43
|
+
return this._theme;
|
|
44
|
+
}
|
|
45
|
+
tryGetThemeV2() {
|
|
46
|
+
return this._themeV2;
|
|
47
|
+
}
|
|
48
|
+
_raiseEvent() {
|
|
49
|
+
_SPEventManager.instance.raiseEvent(this._themeChangedEventName, {
|
|
50
|
+
theme: this._theme,
|
|
51
|
+
themeV2: this._themeV2
|
|
52
|
+
});
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
* Construct a new instance of the ThemeProvider class.
|
|
56
|
+
*
|
|
57
|
+
* @param serviceScope - The current service scope.
|
|
58
|
+
* @param theme - Theme to provide.
|
|
59
|
+
*/ constructor(serviceScope, theme, themeV2){
|
|
60
|
+
this._id = ThemeProvider._instanceCount++;
|
|
61
|
+
this.themeChangedEvent = new SPEvent(this._themeChangedEventName);
|
|
62
|
+
if (theme) {
|
|
63
|
+
this._theme = Object.freeze(theme);
|
|
64
|
+
}
|
|
65
|
+
if (themeV2) {
|
|
66
|
+
this._themeV2 = Object.freeze(themeV2);
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
/**
|
|
71
|
+
* The service key for ThemeProvider.
|
|
72
|
+
*/ ThemeProvider.serviceKey = ServiceKey.create('sp-component-base.ThemeProvider', ThemeProvider);
|
|
73
|
+
ThemeProvider._themeChangedEventNameLiteral = 'ThemeProvider.themeChangedEvent';
|
|
74
|
+
/**
|
|
75
|
+
* Used to register a unique event for each ThemeProvider instance by appending
|
|
76
|
+
* the instance count to themeChangedEventNameLiteral.
|
|
77
|
+
*/ ThemeProvider._instanceCount = 0;
|
|
78
|
+
|
|
79
|
+
//# sourceMappingURL=./ThemeProvider.js.map
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The collection of all semantic slots for colors used in themes.
|
|
3
|
+
*
|
|
4
|
+
* Note: text colors are defined in ISemanticTextColors.ts.
|
|
5
|
+
*
|
|
6
|
+
* ## Naming Convention
|
|
7
|
+
*
|
|
8
|
+
* The name of a semantic slot can quickly tell you how it's meant to be used. It generally follows this format:
|
|
9
|
+
*
|
|
10
|
+
* [category name][element name][checked state][hovered/pressed/disabled state]
|
|
11
|
+
* [category name] - The “family” that this slot belongs to.
|
|
12
|
+
* [element name] - The name of the thing being targeted, such as the background or border.
|
|
13
|
+
* [checked state] - Whether the thing is checked. We assume things are unchecked by default, so no need to
|
|
14
|
+
* specify the unchecked state.
|
|
15
|
+
* (We used “checked” to refer to anything that is on, selected, toggled, highlighted, emphasized, etc.)
|
|
16
|
+
* [hovered/pressed/disabled state] - One of these states, if applicable. Each of these states are mutually exclusive.
|
|
17
|
+
* Pressed styles overwrite hovered styles, and disabled elements cannot be hovered or pressed.
|
|
18
|
+
*
|
|
19
|
+
* ## Base Slots
|
|
20
|
+
*
|
|
21
|
+
* A basic set of slots that provide many default body styles, such as text, subtext, disabled colors, and so on.
|
|
22
|
+
* If a category doesn't provide the slot you're looking for, use one from this category.
|
|
23
|
+
* For example, the placeholder text on a text input field has no corresponding slot in its category,
|
|
24
|
+
* so you'd use the bodySubtextColor from this category.
|
|
25
|
+
*
|
|
26
|
+
* ## Invariants
|
|
27
|
+
*
|
|
28
|
+
* When color has meaning, we do not want to change the color much theme to theme. For example, we
|
|
29
|
+
* will always want errors to be some shade of red, but we will need to tweak the exact shade so it's
|
|
30
|
+
* legible depending on whether it's an inverted theme or not.
|
|
31
|
+
* Invariant colors should almost never be changed by the theme, the defaults should suffice.
|
|
32
|
+
*
|
|
33
|
+
* ## Input Controls
|
|
34
|
+
*
|
|
35
|
+
* This category contains input components commonly used to denote state, including radio buttons,
|
|
36
|
+
* check boxes, toggle switches, sliders, progress bars, and more.
|
|
37
|
+
*
|
|
38
|
+
* ## Buttons
|
|
39
|
+
*
|
|
40
|
+
* Buttons! And all the flavors thereof.
|
|
41
|
+
*
|
|
42
|
+
* ## Menus
|
|
43
|
+
*
|
|
44
|
+
* Any kind of popup menus uses this category.
|
|
45
|
+
*
|
|
46
|
+
* ## Lists
|
|
47
|
+
*
|
|
48
|
+
* Lists differ from menus in that they are designed to show infinite amounts of items, often scroll,
|
|
49
|
+
* and have a large and complex interaction surface.
|
|
50
|
+
* This category covers all kinds of lists, whether they're typical one-item-per-row lists (like DetailsList)
|
|
51
|
+
* or ones with a tiled layout.
|
|
52
|
+
*
|
|
53
|
+
* @public
|
|
54
|
+
*/ export { };
|
|
55
|
+
|
|
56
|
+
//# sourceMappingURL=./ISemanticColors.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@microsoft/sp-component-base",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.24.0-beta.2",
|
|
4
4
|
"description": "SharePoint Framework support for building client-side components",
|
|
5
5
|
"homepage": "http://aka.ms/spfx",
|
|
6
6
|
"license": "https://aka.ms/spfx/license",
|
|
@@ -11,21 +11,48 @@
|
|
|
11
11
|
"node": ">=18.17.1 <19.0.0 || >=22.14.0 < 23.0.0"
|
|
12
12
|
},
|
|
13
13
|
"main": "lib-commonjs/index.js",
|
|
14
|
-
"module": "lib/index.js",
|
|
14
|
+
"module": "lib-esm/index.js",
|
|
15
15
|
"typings": "dist/index-internal.d.ts",
|
|
16
|
+
"exports": {
|
|
17
|
+
".": {
|
|
18
|
+
"types": "./dist/index-internal.d.ts",
|
|
19
|
+
"import": "./lib-esm/index.js",
|
|
20
|
+
"require": "./lib-commonjs/index.js"
|
|
21
|
+
},
|
|
22
|
+
"./lib/*.resx": "./lib-esm/*.resx.json",
|
|
23
|
+
"./lib/*": {
|
|
24
|
+
"types": "./lib-dts/*.d.ts",
|
|
25
|
+
"import": "./lib-esm/*.js",
|
|
26
|
+
"require": "./lib-commonjs/*.js"
|
|
27
|
+
},
|
|
28
|
+
"./lib-commonjs/*.resx": "./lib-esm/*.resx.json",
|
|
29
|
+
"./lib-commonjs/*": {
|
|
30
|
+
"types": "./lib-dts/*.d.ts",
|
|
31
|
+
"import": "./lib-esm/*.js",
|
|
32
|
+
"require": "./lib-commonjs/*.js"
|
|
33
|
+
},
|
|
34
|
+
"./package.json": "./package.json"
|
|
35
|
+
},
|
|
36
|
+
"typesVersions": {
|
|
37
|
+
"*": {
|
|
38
|
+
"lib/*": [
|
|
39
|
+
"lib-dts/*"
|
|
40
|
+
]
|
|
41
|
+
}
|
|
42
|
+
},
|
|
16
43
|
"dependencies": {
|
|
17
44
|
"@fluentui/react": "^8.125.0",
|
|
18
45
|
"@fluentui/react-components": "^9.70.0",
|
|
19
46
|
"@swc/helpers": "^0.5.12",
|
|
20
47
|
"scheduler": "0.20.2",
|
|
21
48
|
"tslib": "2.3.1",
|
|
22
|
-
"@microsoft/sp-
|
|
23
|
-
"@microsoft/sp-
|
|
24
|
-
"@microsoft/sp-
|
|
25
|
-
"@microsoft/sp-
|
|
26
|
-
"@microsoft/sp-
|
|
27
|
-
"@microsoft/sp-
|
|
28
|
-
"@microsoft/sp-page-context": "1.
|
|
49
|
+
"@microsoft/sp-diagnostics": "1.24.0-beta.2",
|
|
50
|
+
"@microsoft/sp-dynamic-data": "1.24.0-beta.2",
|
|
51
|
+
"@microsoft/sp-core-library": "1.24.0-beta.2",
|
|
52
|
+
"@microsoft/sp-lodash-subset": "1.24.0-beta.2",
|
|
53
|
+
"@microsoft/sp-http": "1.24.0-beta.2",
|
|
54
|
+
"@microsoft/sp-module-interfaces": "1.24.0-beta.2",
|
|
55
|
+
"@microsoft/sp-page-context": "1.24.0-beta.2"
|
|
29
56
|
},
|
|
30
57
|
"devDependencies": {
|
|
31
58
|
"@rushstack/heft": "1.2.17",
|
|
@@ -34,14 +61,14 @@
|
|
|
34
61
|
"eslint": "9.37.0",
|
|
35
62
|
"react": "17.0.1",
|
|
36
63
|
"react-dom": "17.0.1",
|
|
37
|
-
"@ms/office-ui-fabric-react-bundle": "1.19.60",
|
|
38
|
-
"@msinternal/ms-graph-v3-bundle": "3.0.2",
|
|
39
64
|
"@msinternal/react-dom-17-profiling-bundle": "17.0.1",
|
|
40
|
-
"@msinternal/
|
|
65
|
+
"@msinternal/react-17-bundle": "17.0.1",
|
|
41
66
|
"@msinternal/spfx-internal-web-build-rig": "0.1.0",
|
|
67
|
+
"@msinternal/sp-safehtml": "0.6.0",
|
|
68
|
+
"@msinternal/sp-telemetry": "1.0.73",
|
|
69
|
+
"@msinternal/ms-graph-v3-bundle": "3.0.2",
|
|
42
70
|
"@msinternal/react-dom-17-bundle": "17.0.1",
|
|
43
|
-
"@
|
|
44
|
-
"@msinternal/sp-telemetry": "0.35.145"
|
|
71
|
+
"@ms/office-ui-fabric-react-bundle": "1.19.63"
|
|
45
72
|
},
|
|
46
73
|
"scripts": {
|
|
47
74
|
"build": "heft test --clean",
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";(self["webpackJsonp_467dc675-7cc5-4709-8aac-78e3b71bd2f6_1.23.1"]=self["webpackJsonp_467dc675-7cc5-4709-8aac-78e3b71bd2f6_1.23.1"]||[]).push([[216],{165(e,t,n){n.d(t,{TeamsAppsClient:()=>l});var a=n(207),i=n(909),r=n(408),o=n(620),s=n(529),c="/appCatalogs/teamsApps",d="beta",l=function(){function e(e){this._appComponentsPermissionsPromises=new Map,this._serviceScope=e}return e.prototype.getTeamsAppComponentManifests=function(){var t=this;if(!e._getTeamsAppComponentManifestsPromise)if((0,o.T)()){var n=new a._QosMonitor("TeamsAppsClient.FetchTeamsApp");e._getTeamsAppComponentManifestsPromise=this._msGraphClient.then(function(e){return e.api("".concat(c,"?").concat("$expand=appDefinitions($expand=outlineIcon,colorIcon,dashboardCards)&$filter=appDefinitions/any(a:a/dashboardCards/$count ne 0)")).version(d).get()}).then(function(e){var a=e.value.map(function(e){return t._teamsAppCatalogItemToAceManifests(e)});return Promise.all(a).then(function(e){var t=[];return e.forEach(function(e){t.push.apply(t,e)}),n.writeSuccess(),t})}).catch(function(t){return n.writeUnexpectedFailure(void 0,t),e._getTeamsAppComponentManifestsPromise=void 0,[]})}else e._getTeamsAppComponentManifestsPromise=Promise.resolve([]);return e._getTeamsAppComponentManifestsPromise},e.prototype.syncComponent=function(t){var n,s=this,c=t;if(!(0,o.T)()||!c.isPendingTeamsAppSync)return Promise.resolve(t);var d=new a._QosMonitor("TeamsAppsClient.SyncComponent");if(!(null===(n=t.properties)||void 0===n?void 0:n.teamsAppComponent))return d.writeExpectedFailure("TeamsAppComponentMissing"),new Promise(function(){throw new Error("Teams App component manifest is missing teamsAppComponent property")});var l=this._serviceScope.consume(i.SPHttpClient.serviceKey),u=this._serviceScope.consume(r.PageContext.serviceKey).web.absoluteUrl,f=void 0,p=e._ensureAppCatalogPromise;if(!e._ensureAppCatalogPromise){var m="".concat(u,"/_api/web/EnsureTenantAppCatalog(callerId='TeamsAppsClient')");p=e._ensureAppCatalogPromise=l.post(m,i.SPHttpClient.configurations.v1,{}).then(function(e){return e.json()}).then(function(e){if(e.error)throw new Error(e.error.message)}).catch(function(t){throw f="EnsureAppCatalogFailed",e._ensureAppCatalogPromise=void 0,t})}return p.then(function(){var e="".concat(u,"/_api/web/SyncTeamsComponent"),n=t.properties.teamsAppComponent;return l.post(e,i.SPHttpClient.configurations.v1,{body:JSON.stringify({teamsComponent:n})}).catch(function(e){throw f="SyncComponentFailed",e})}).then(function(e){return e.json()}).then(function(e){if(e.error)throw f="SyncComponentFailed",new Error(e.error.message);var n=e,a=JSON.parse(n.Manifest);n.ManifestActivatedTime&&(a.manifestActivatedTime=n.ManifestActivatedTime),d.writeSuccess();var i=t.properties.teamsAppComponent.appId;return s._appComponentsPermissionsPromises.set(i,Promise.resolve(new Set([i]))),a}).catch(function(e){throw d.writeUnexpectedFailure(f,e),e})},e.prototype.requestPermissions=function(e){return(0,o.T)()&&e.length?this._requestAppsPermissions(e).then(function(){}):Promise.resolve()},e.prototype.isComponentEnabled=function(e){return(0,o.T)()?this._appComponentsPermissionsPromises.has(e)?this._appComponentsPermissionsPromises.get(e).then(function(t){return t.has(e)||!1}):this._requestAppsPermissions([{appId:e,componentId:""}]).then(function(t){return t.has(e)||!1}):Promise.resolve(!0)},e.prototype._requestAppsPermissions=function(e){var t,n=this,i=(0,s.uniq)(e.map(function(e){return e.appId})).filter(function(e){return!n._appComponentsPermissionsPromises.has(e)});if(i.length>30&&(t=this._requestAppsPermissionsBatched(i)),!t){var r=new a._QosMonitor("TeamsAppsClient.RequestAppsPermissions");t=this._msGraphClient.then(function(e){return e.api(n._getCheckPermissionsUrl(i)).version(d).get()}).then(function(e){if(e.error)return r.writeUnexpectedFailure("RequestFailed",new Error(e.error.message)),new Set;var t=new Set;return e.value.map(function(e){t.add(e.id)}),r.writeSuccess(),t}).catch(function(e){return r.writeUnexpectedFailure(void 0,e),new Set})}return i.forEach(function(e){n._appComponentsPermissionsPromises.set(e,t)}),t},e.prototype._requestAppsPermissionsBatched=function(e){var t=new a._QosMonitor("TeamsAppsClient.RequestAppsPermissionsBatched"),n=new Set,i=Math.ceil(e.length/300),r=0,o=[];try{for(;r<i;){for(var s={requests:[]},c=300*r,l=Math.min(c+300,e.length),u=c;u<l;){var f=u+30,p=e.slice(u,f);s.requests.push({id:u.toString(),method:"GET",url:this._getCheckPermissionsUrl(p)}),u=f}o.push(s),r++}}catch(e){return t.writeUnexpectedFailure("BatchSplitLogicError",e),Promise.resolve(n)}var m=[];return this._msGraphClient.then(function(e){var t=o.map(function(t){return e.api("$batch").version(d).post(t).then(function(e){e.responses.forEach(function(e){200===e.status?e.body.value.map(function(e){n.add(e.id)}):m.push(new Error(e.body.error.message))})}).catch(function(e){m.push(e)})});return Promise.all(t)}).then(function(){return m.length&&t.writeUnexpectedFailure("SomeBatchRequestsError",void 0,{errors:m}),n}).catch(function(e){return t.writeUnexpectedFailure("BatchRequestError",e),new Set})},e.prototype._getCheckPermissionsUrl=function(e){return"".concat(c,"?").concat("$expand=appDefinitions($expand=dashboardCards)&$filter=appDefinitions/any(a:a/dashboardCards/$count ne 0) and id in ('{appIds}')".replace("{appIds}",e.join("','")))},Object.defineProperty(e.prototype,"_msGraphClient",{get:function(){return this._msGraphClientFactory||(this._msGraphClientFactory=this._serviceScope.consume(i.MSGraphClientFactory.serviceKey)),this._msGraphClientDeferred||(this._msGraphClientDeferred=this._msGraphClientFactory.getClientInternal("3")),this._msGraphClientDeferred},enumerable:!1,configurable:!0}),e.prototype._teamsAppCatalogItemToAceManifests=function(e){var t,n,a=this,i=null===(t=e.appDefinitions[0].colorIcon)||void 0===t?void 0:t.webUrl,r=[],o=e.appDefinitions[0].dashboardCards||[],s=[];o.forEach(function(t){var o,c,d={appId:e.id,externalAppId:e.externalId||void 0,componentId:t.id,groupId:"5c03119e-3074-46fd-976b-c60198311f70",iconUrl:null===(o=t.icon)||void 0===o?void 0:o.iconUrl,officeUIFabricIconName:null===(c=t.icon)||void 0===c?void 0:c.officeUIFabricIconName,description:t.description,name:t.displayName,botId:t.contentSource.botConfiguration.botId,appName:e.displayName,appDescription:e.appDefinitions[0].description,version:e.appDefinitions[0].version,defaultSize:"".concat(t.defaultSize.charAt(0).toUpperCase()).concat(t.defaultSize.slice(1))},l=a._teamsAppComponentToAceManifest(d);s.push(l),d.iconUrl||d.officeUIFabricIconName||(r.push(l),!n&&i&&(n=a._msGraphClient.then(function(e){return e.api(i).responseType("blob").get()})))});var c=Promise.resolve(s);return r.length&&n&&(c=n.then(function(e){return a._convertBlobToBase64(e)}).then(function(e){return r.forEach(function(t){t.preconfiguredEntries[0].iconImageUrl=e,t.properties.teamsAppComponent.iconUrl=e}),s})),c},e.prototype._convertBlobToBase64=function(e){return new Promise(function(t,n){var a=new FileReader;a.onerror=n,a.onload=function(){var e=a.result;e||n(""),t(e.substr(e.indexOf(", ")+1))},a.readAsDataURL(e)})},e.prototype._teamsAppComponentToAceManifest=function(e){return{id:e.componentId,manifestVersion:2,version:e.version,componentType:"AdaptiveCardExtension",alias:e.componentId,properties:{teamsAppComponent:e},loaderConfig:{entryModuleId:e.componentId,internalModuleBaseUrls:["HTTPS://CLIENTSIDEASSETSLIBRARY/"],scriptResources:{}},preconfiguredEntries:[{cardSize:e.defaultSize,title:{default:e.name},description:{default:e.description},iconImageUrl:e.iconUrl,officeFabricIconFontName:e.officeUIFabricIconName,groupId:e.groupId,properties:{}}],connectedTeamsAppId:e.appId,isPendingTeamsAppSync:!0}},e}()}
|
|
2
|
-
}]);
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
(()=>{var e=document.currentScript;define("467dc675-7cc5-4709-8aac-78e3b71bd2f6_1.23.1",["@microsoft/sp-core-library","@microsoft/sp-diagnostics","@microsoft/sp-page-context","@microsoft/sp-http","@microsoft/sp-dynamic-data","@microsoft/sp-lodash-subset","tslib","@msinternal/sp-safehtml","@microsoft/load-themed-styles","@msinternal/sp-telemetry"],(t,n,a,i,r,o,s,c,d,l)=>(()=>{"use strict";var u={620(e,t,n){n.d(t,{T:()=>i,X:()=>r});var a=n(676);function i(){return a._SPFlight.isEnabled(60693)}function r(){return a._SPFlight.isEnabled(61389)}}
|
|
2
|
-
,424(e){e.exports=d},676(e){e.exports=t},207(e){e.exports=n},745(e){e.exports=r},909(e){e.exports=i},529(e){e.exports=o},408(e){e.exports=a},356(e){e.exports=c},519(e){e.exports=l},280(e){e.exports=s}},f={};function p(e){var t=f[e];if(void 0!==t)return t.exports;var n=f[e]={exports:{}};return u[e](n,n.exports,p),n.exports}p.m=u;var m,_,h,b={"216":"Tc2PKPdCtQzQ/mEWe3vUk+wG4axnSUsp7BXkSZd7//U=","386":"545UX94B5yaEn4vvm23UycJBry7WOc3/IoXP/Y/9/4o="};p.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return p.d(t,{a:t}),t},p.d=(e,t)=>{for(var n in t)p.o(t,n)&&!p.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},p.f={},p.e=e=>Promise.all(Object.keys(p.f).reduce((t,n)=>(p.f[n](e,t),t),[])),p.u=e=>"chunk."+{216:"teams-apps-client",386:"legacy-third-party-fabric-core-localfont"}[e]+"_none_"+{216:"f9872389cb6ea9ad28e2",386:"9e84ea19c68fdc8b9094"}[e]+".js",p.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),m={},_="467dc675-7cc5-4709-8aac-78e3b71bd2f6_1.23.1:",p.l=(e,t,n,a)=>{if(m[e])m[e].push(t);else{var i,r;if(void 0!==n)for(var o=document.getElementsByTagName("script"),s=0;s<o.length;s++){var c=o[s];if(c.getAttribute("src")==e||c.getAttribute("data-webpack")==_+n){i=c;break}}if(!i){r=!0,(i=document.createElement("script")).charset="utf-8",p.nc&&i.setAttribute("nonce",p.nc),i.setAttribute("data-webpack",_+n),i.src=e,0!==i.src.indexOf(window.location.origin+"/")&&(i.crossOrigin="anonymous");var d=function(e){return"sha256-"+(b[e]||"Missing+Integrity+Hash+For+Script+Aborting=")}(a);d&&(i.integrity=d)}m[e]=[t];var l=(t,n)=>{i.onerror=i.onload=null,clearTimeout(u);var a=m[e];if(delete m[e],i.parentNode&&i.parentNode.removeChild(i),a&&a.forEach(e=>e(n)),t)return t(n)},u=setTimeout(l.bind(null,void 0,{type:"timeout",target:i}),12e4);i.onerror=l.bind(null,i.onerror),i.onload=l.bind(null,i.onload),r&&document.head.appendChild(i)}},p.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},h=e?e.src:"",p.p=h.slice(0,h.lastIndexOf("/")+1),(()=>{var e={826:0};p.f.j=(t,n)=>{var a=p.o(e,t)?e[t]:void 0;if(0!==a)if(a)n.push(a[2]);else{var i=new Promise((n,i)=>a=e[t]=[n,i]);n.push(a[2]=i);var r=p.p+p.u(t),o=new Error;p.l(r,n=>{if(p.o(e,t)&&(0!==(a=e[t])&&(e[t]=void 0),a)){var i=n&&("load"===n.type?"missing":n.type),r=n&&n.target&&n.target.src;o.message="Loading chunk "+t+" failed.\n("+i+": "+r+")",o.name="ChunkLoadError",o.type=i,o.request=r,a[1](o)}},"chunk-"+t,t)}};var t=(t,n)=>{var a,i,[r,o,s]=n,c=0;if(r.some(t=>0!==e[t])){for(a in o)p.o(o,a)&&(p.m[a]=o[a]);s&&s(p)}for(t&&t(n);c<r.length;c++)i=r[c],p.o(e,i)&&e[i]&&e[i][0](),e[i]=0},n=self["webpackJsonp_467dc675-7cc5-4709-8aac-78e3b71bd2f6_1.23.1"]=self["webpackJsonp_467dc675-7cc5-4709-8aac-78e3b71bd2f6_1.23.1"]||[];n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))})();var g={};return(()=>{p.r(g),p.d(g,{BaseComponent:()=>n,BaseComponentContext:()=>m,DynamicDataProvider:()=>c,DynamicDataSourceManager:()=>u,DynamicProperty:()=>_,ThemeChangedEventArgs:()=>D,ThemeProvider:()=>I,_CacheMissReason:()=>E,_DeferredTeamsAppsClient:()=>k,_LegacyThirdPartyFabricCoreLoader:()=>h,_PropertyMetadataProcessor:()=>y,_ServerProcessedDataType:()=>S,_ShimmerFactory:()=>x,_WebPartLoadDataCollector:()=>L,_ensureIsolatedDomainUrl:()=>O});var e=p(676),t=function(){function e(){this._isWebPartAndContainsDynamicDataSource=!1,this._isDisposed=!1}return Object.defineProperty(e.prototype,"_dynamicDataSourceId",{get:function(){return"".concat(this.manifest.componentType,".").concat(this.manifest.id,".").concat(this.instanceId)},enumerable:!1,configurable:!0}),e.prototype.dispose=function(){this._isDisposed||(this.onDispose(),this.context.dispose(),delete this.context,this._isDisposed=!0)},Object.defineProperty(e.prototype,"_containsDynamicDataSource",{get:function(){return this._isWebPartAndContainsDynamicDataSource},set:function(e){this._isWebPartAndContainsDynamicDataSource="WebPart"===this.manifest.componentType&&e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isDisposed",{get:function(){return this._isDisposed},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"manifest",{get:function(){return this.context.manifest},enumerable:!1,configurable:!0}),e.prototype.onDispose=function(){},Object.defineProperty(e.prototype,"instanceId",{get:function(){return this.context.instanceId},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"componentId",{get:function(){return this.context.manifest.id},enumerable:!1,configurable:!0}),e.prototype._initializeContext=function(e){this.context=e,this.onProvideServices(e.serviceScope),e.serviceScope._isFinished||e.serviceScope.finish(),this.context._initializeDynamicData(this,e.serviceScope)},e.prototype.onProvideServices=function(e){},e}();const n=t;(0,e._ES5CompatibleClass)(t);var a=p(207),i=p(408),r=p(909),o=p(745),s=p(529);const c=function(){function t(){this._isDisposed=!1,this._isInitialized=!1,this._isSourcesChangedEventListenerAdded=!1}return t.prototype._initialize=function(t,n){e.Validate.isNotNullOrUndefined(t,"component"),e.Validate.isNotNullOrUndefined(n,"serviceScope"),this._component=t,this._pendingRegistrations=new Map,this._dynamicDataManager=n.consume(o._DynamicDataUtilities.IDynamicDataManagerServiceKey),this._isInitialized=!0,this._onSourcesChanged=this._onSourcesChanged.bind(this)},t.prototype.dispose=function(){this._isDisposed||(delete this._pendingRegistrations,this._dynamicDataManager.sourcesChangedEvent.remove(this._component,this._onSourcesChanged),delete this._dynamicDataManager,delete this._component,this._isInitialized=!1,this._isDisposed=!0)},Object.defineProperty(t.prototype,"isDisposed",{get:function(){return this._isDisposed},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"_isProviderInitialized",{get:function(){return this._isInitialized},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"_dynamicDataSourceId",{get:function(){return this._component._dynamicDataSourceId},enumerable:!1,configurable:!0}),t.prototype.registerSourceChanged=function(t,n){this._assertNotDisposed(),this._assertInitialized(),e.Validate.isNonemptyString(t,"sourceId"),e.Validate.isNotNullOrUndefined(n,"callback"),-1!==this.getAvailableSources().map(function(e){return e.id}).indexOf(t)?(this._dynamicDataManager.registerSourceChanged(t,this._component,n),this._logFeatureEntry("RegisterSourceChanged",{sourceId:t})):this._addPendingRegistration({id:t,callback:n})},t.prototype.unregisterSourceChanged=function(t,n){this._assertNotDisposed(),this._assertInitialized(),e.Validate.isNonemptyString(t,"sourceId"),e.Validate.isNotNullOrUndefined(n,"callback");var a={id:t,callback:n};this._isRegistrationPending(a)?this._removePendingRegistration(a):(this._dynamicDataManager.unregisterSourceChanged(t,this._component,n),this._logFeatureEntry("UnregisterSourceChanged",{sourceId:t}))},t.prototype.registerPropertyChanged=function(t,n,a){this._assertNotDisposed(),this._assertInitialized(),e.Validate.isNonemptyString(t,"sourceId"),e.Validate.isNonemptyString(n,"propertyId"),e.Validate.isNotNullOrUndefined(a,"callback"),-1!==this.getAvailableSources().map(function(e){return e.id}).indexOf(t)?(this._dynamicDataManager.registerPropertyChanged(t,n,this._component,a),this._logFeatureEntry("RegisterPropertyChanged",{sourceId:t,propertyId:n})):this._addPendingRegistration({id:t,propertyId:n,callback:a})},t.prototype.unregisterPropertyChanged=function(t,n,a){this._assertNotDisposed(),this._assertInitialized(),e.Validate.isNonemptyString(t,"sourceId"),e.Validate.isNonemptyString(n,"propertyId"),e.Validate.isNotNullOrUndefined(a,"callback");var i={id:t,callback:a,propertyId:n};this._isRegistrationPending(i)?this._removePendingRegistration(i):(this._dynamicDataManager.unregisterPropertyChanged(t,n,this._component,a),this._logFeatureEntry("UnregisterPropertyChanged",{sourceId:t,propertyId:n}))},t.prototype.registerAvailableSourcesChanged=function(t){e.Validate.isNotNullOrUndefined(t,"callback"),this._assertNotDisposed(),this._assertInitialized(),this._dynamicDataManager.sourcesChangedEvent.add(this._component,t)},t.prototype.unregisterAvailableSourcesChanged=function(t){e.Validate.isNotNullOrUndefined(t,"callback"),this._assertNotDisposed(),this._assertInitialized(),this._dynamicDataManager.sourcesChangedEvent.remove(this._component,t)},t.prototype.getAvailableSources=function(){return this._assertNotDisposed(),this._assertInitialized(),this._dynamicDataManager.getSources()},t.prototype.getAvailableSourcesByComponentId=function(t){this._assertNotDisposed(),this._assertInitialized();var n=[];return this._dynamicDataManager.getSources().forEach(function(a){t.equals(e.Guid.tryParse(a.metadata.componentId)||e.Guid.empty)&&n.push(a)}),n},t.prototype.tryGetSource=function(t){return this._assertNotDisposed(),this._assertInitialized(),e.Validate.isNotNullOrUndefined(t,"id"),this._dynamicDataManager.tryGetSource(t)},t.prototype._getData=function(n){this._assertNotDisposed(),this._assertInitialized(),e.Validate.isNotNullOrUndefined(n,"dataReference");var a=this._dynamicDataManager.tryGetSource(n.sourceId);if(a){var i=a.getPropertyValue(n.property);return i&&n.propertyPath&&n.propertyPath.split(".").forEach(function(e){var n=e.split(t._jsonPathArrayRegex),a=n[0];if(i)if(Array.isArray(i)){var r=[];i.forEach(function(e){e.hasOwnProperty(a)&&r.push(e[a])});var o=n[1];if(n.length>1){var s=[];r.forEach(function(e){e.forEach(function(e){return s.push(e)})}),r=s}i=isNaN(parseInt(o,10))?r:r[o]}else i=i.hasOwnProperty(a)?i[a]:void 0}),i}},t.prototype._onSourcesChanged=function(){var e=this,t=this.getAvailableSources().map(function(e){return e.id});this._pendingRegistrations.forEach(function(n){-1!==t.indexOf(n.id)&&(n.propertyId?(e._dynamicDataManager.registerPropertyChanged(n.id,n.propertyId,e._component,n.callback),e._logFeatureEntry("RegisterPropertyChanged",{sourceId:n.id,propertyId:n.propertyId})):(e._dynamicDataManager.registerSourceChanged(n.id,e._component,n.callback),e._logFeatureEntry("RegisterSourceChanged",{sourceId:n.id})),e._removePendingRegistration(n))})},t.prototype._assertNotDisposed=function(){if(this.isDisposed)throw new Error("Dynamic Data Provider has been disposed")},t.prototype._assertInitialized=function(){if(!this._isInitialized)throw new Error("Dynamic Data Provider has not been initialized.")},t.prototype._addPendingRegistration=function(e){this._isRegistrationPending(e)||this._pendingRegistrations.set(e.id+(e.propertyId||""),{id:e.id,propertyId:e.propertyId,callback:e.callback}),this._isSourcesChangedEventListenerAdded||(this._dynamicDataManager.sourcesChangedEvent.add(this._component,this._onSourcesChanged),this._isSourcesChangedEventListenerAdded=!0)},t.prototype._removePendingRegistration=function(e){this._pendingRegistrations.delete(e.id+(e.propertyId||"")),0===this._pendingRegistrations.size&&(this._dynamicDataManager.sourcesChangedEvent.remove(this._component,this._onSourcesChanged),this._isSourcesChangedEventListenerAdded=!1)},t.prototype._isRegistrationPending=function(e){return this._pendingRegistrations.has(e.id+(e.propertyId||""))},t.prototype._logFeatureEntry=function(e,t){var n=this._component.manifest.isInternal||!1,i={alias:this._component.manifest.alias,isInternal:n.toString()},r=new a._LogEntry("DynamicDataProvider",e,a._LogType.Event,s.merge(i,t));a._EngagementLogger.logEventWithLogEntry(r)},t._jsonPathArrayRegex=new RegExp(/\[|\]/),t}();var d=p(280);const l=JSON.parse('{"lw":"SourceAlreadyInitialized","Yt":"NoSendEventWhenAllowedEventsIsNonEmpty","C3":"DynamicDataSourceManagerIsDisposed","ad":"DynamicDataSourceManagerIsNotInitialized","fT":"DynamicDataSourceIsNotInitialized","Qm":"InvalidEvent"}'),u=function(){function t(){this._src=void 0,this._isDisposed=!1,this._isInitialized=!1,this._logSource=a._LogSource.create("DynamicDataSourceManager")}return t.prototype._initialize=function(t,n){e.Validate.isNotNullOrUndefined(t,"component"),e.Validate.isNotNullOrUndefined(n,"serviceScope"),this._component=t,this._dynamicDataManager=n.consume(o._DynamicDataUtilities.IDynamicDataManagerServiceKey),this._isInitialized=!0},t.prototype.dispose=function(){this._isDisposed||(this._src&&(this._dynamicDataManager.removeSource(this._src.id),delete this._src),delete this._dynamicDataManager,delete this._component,this._isInitialized=!1,this._isDisposed=!0)},Object.defineProperty(t.prototype,"isDisposed",{get:function(){return this._isDisposed},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"_source",{get:function(){return this._src},enumerable:!1,configurable:!0}),t.prototype.initializeSource=function(t){if(this._assertNotDisposed(),this._assertInitialized(),this._src)throw new Error(l.lw);this._callableFunctions=t,this._src=this._buildSource(this._component),this._dynamicDataManager.addSource(this._src),e._SPKillSwitch.isActivated("bbd78e03-ff18-40ed-9a94-973fc659366c")||(this._component._containsDynamicDataSource=!0),this._logFeatureEntry("DynamicDataSourceInitialized",{sourceId:this._src.id})},t.prototype.notifySourceChanged=function(){this._assertNotDisposed(),this._assertInitialized(),this._assertSourceExists(),this._dynamicDataManager.notifySourceChanged(this._src.id)},t.prototype.notifyPropertyChanged=function(t){e.Validate.isNonemptyString(t,"propertyId"),this._assertNotDisposed(),this._assertInitialized(),this._assertSourceExists(),this._dynamicDataManager.notifyPropertyChanged(this._src.id,t)},t.prototype.updateMetadata=function(t){this._assertNotDisposed(),this._assertInitialized(),this._assertSourceExists(),e.Validate.isNotNullOrUndefined(t,"metadata"),t.alias=void 0,t.componentId=void 0,t.instanceId=void 0,(0,s.merge)(this._src.metadata,t)},Object.defineProperty(t.prototype,"sourceId",{get:function(){return this._src?this._src.id:""},enumerable:!1,configurable:!0}),t.prototype._buildSource=function(e){if(this._callableFunctions.allowedEvents&&this._callableFunctions.allowedEvents.length>0&&!this._callableFunctions.sendEvent)throw new Error(l.Yt);return{id:this._component._dynamicDataSourceId,metadata:this._buildMetadata(e),getPropertyDefinitions:this._getPropertyDefinitions.bind(this),getPropertyValue:this._getPropertyValue.bind(this),getAnnotatedPropertyValue:this._getAnnotatedPropertyValue.bind(this),getPropertyDefinitionsAsync:this._getPropertyDefinitionsAsync.bind(this),getPropertyValueAsync:this._getPropertyValueAsync.bind(this),getAnnotatedPropertyValueAsync:this._getAnnotatedPropertyValueAsync.bind(this),allowedEventsAsync:this._allowedEventsAsync.bind(this),sendEvent:this._sendEvent.bind(this)}},t.prototype._allowedEvents=function(){return this._callableFunctions.allowedEvents?(0,s.cloneDeep)(this._callableFunctions.allowedEvents()):void 0},t.prototype._sendEvent=function(e,t){this._assertValidEvent(e),this._callableFunctions.sendEvent(e,t)},t.prototype._getPropertyDefinitions=function(){return(0,s.cloneDeep)(this._callableFunctions.getPropertyDefinitions())},t.prototype._getPropertyValue=function(t){e.Validate.isNotNullOrUndefined(t,"propertyId");var n=new a._QosMonitor("DynamicDataSourceManager._getPropertyValue"),i=t.split(c._jsonPathArrayRegex);try{var r=this._callableFunctions.getPropertyValue(i.shift());if(i.length>0&&!isNaN(parseInt(i[0],10))&&Array.isArray(r)&&(r=r[i[0]]),void 0===r&&0===this._callableFunctions.getPropertyDefinitions().filter(function(e){return e.id===t}).length&&this._src)throw new Error('Property "'.concat(t,'" doesn\'t exist in source "').concat(this._src.metadata.title,'"'));return n.writeSuccess((0,d.__assign)((0,d.__assign)({},this._src&&this._src.metadata||{}),{sourceId:this._src&&this._src.id,propertyId:t})),(0,s.cloneDeep)(r)}catch(e){return n.writeUnexpectedFailure("NoPropertyId",e,{propertyId:t}),void a._TraceLogger.logErrorData({source:this._logSource,error:e})}},t.prototype._getPropertyDefinitionsAsync=function(){return Promise.resolve(this._getPropertyDefinitions())},t.prototype._getPropertyValueAsync=function(e){return Promise.resolve(this._getPropertyValue(e))},t.prototype._allowedEventsAsync=function(){return Promise.resolve(this._allowedEvents())},t.prototype._getAnnotatedPropertyValue=function(t){e.Validate.isNotNullOrUndefined(t,"propertyId");var n,i=new a._QosMonitor("DynamicDataSourceManager._getAnnotatedPropertyValue");if(this._callableFunctions.getAnnotatedPropertyValue){var r=t.split(c._jsonPathArrayRegex);try{n=this._callableFunctions.getAnnotatedPropertyValue(r.shift()),r.length>0&&!isNaN(parseInt(r[0],10))&&Array.isArray(n)&&(n=n[r[0]]),i.writeSuccess((0,d.__assign)((0,d.__assign)({},this._src&&this._src.metadata||{}),{sourceId:this._src&&this._src.id,annotatedPropertyValue:n,propertyId:t}))}catch(e){i.writeExpectedFailure("NoAnnotatedPropertyValue",e,{annotatedPropertyValue:n}),a._TraceLogger.logErrorData({source:this._logSource,error:e}),n=void 0}}return n||(n={sampleValue:this._getPropertyValue(t),metadata:void 0}),n},t.prototype._getAnnotatedPropertyValueAsync=function(e){return Promise.resolve(this._getAnnotatedPropertyValue(e))},t.prototype._buildMetadata=function(e){var t={title:e.manifest.alias,alias:e.manifest.alias,componentId:e.componentId,instanceId:e.instanceId},n=e;return n.title&&(t.title=n.title),n.description&&(t.description=n.description),t},t.prototype._assertValidEvent=function(t){if(!this._allowedEvents()||-1===(0,s.findIndex)(this._allowedEvents(),{name:t}))throw new Error(e.Text.format(l.Qm,t,this._src.metadata.title))},t.prototype._assertNotDisposed=function(){if(this.isDisposed)throw new Error(l.C3)},t.prototype._assertInitialized=function(){if(!this._isInitialized)throw new Error(l.ad)},t.prototype._assertSourceExists=function(){if(!this._src)throw new Error(l.fT)},t.prototype._logFeatureEntry=function(e,t){var n=this._component.manifest.isInternal||!1,i={alias:this._component.manifest.alias,isInternal:n.toString()},r=new a._LogEntry("DynamicDataSourceManager",e,a._LogType.Event,s.merge(i,t));a._EngagementLogger.logEventWithLogEntry(r)},t}();var f=function(){function t(t){var n=this;this._isDisposed=!1,this._isServedFromLocalhost=!1,e.Validate.isNotNullOrUndefined(t,"parameters"),e.Validate.isNotNullOrUndefined(t.manifest,"manifest"),this.manifest=t.manifest;var o=this.manifest.loaderConfig;o&&o.internalModuleBaseUrls&&o.internalModuleBaseUrls.length&&(this._isServedFromLocalhost=/^http(s)?\:\/\/(localhost|127.0.0.1)/gim.test(o.internalModuleBaseUrls[0])),e.Validate.isNotNullOrUndefined(t.parentServiceScope,"parentServiceScope"),this._serviceScope=t.parentServiceScope.startNewChild(),e.Validate.isNotNullOrUndefined(t.loggingTag,"loggingTag"),this.serviceScope.provide(a._logSourceServiceKey,a._LogSource.create(t.loggingTag)),e.Validate.isNonemptyString(t.instanceId,"instanceId"),this._instanceId=t.instanceId,this._httpClient=this.serviceScope.createDefaultAndProvide(r.HttpClient.serviceKey),this._spHttpClient=this.serviceScope.createDefaultAndProvide(r.SPHttpClient.serviceKey),this._msGraphClientFactory=this.serviceScope.createDefaultAndProvide(r.MSGraphClientFactory.serviceKey),this._aadClientFactory=this.serviceScope.createDefaultAndProvide(r.AadHttpClientFactory.serviceKey),this._aadTokenFactory=this.serviceScope.createDefaultAndProvide(r.AadTokenProviderFactory.serviceKey),this.serviceScope.provide(e._ClientManifestData.serviceKey,new e._ClientManifestData(this.serviceScope,this.manifest)),this.serviceScope.whenFinished(function(){n._pageContext=n.serviceScope.consume(i.PageContext.serviceKey)}),this._dynamicDataProvider=new c,this._dynamicDataSourceManager=new u}return Object.defineProperty(t.prototype,"isDisposed",{get:function(){return this._isDisposed},enumerable:!1,configurable:!0}),t.prototype.dispose=function(){this._isDisposed||(this._dynamicDataProvider&&this._dynamicDataProvider.dispose(),this._dynamicDataSourceManager&&this._dynamicDataSourceManager.dispose(),delete this._serviceScope,delete this._pageContext,delete this._dynamicDataProvider,delete this._dynamicDataSourceManager,this._isDisposed=!0)},Object.defineProperty(t.prototype,"serviceScope",{get:function(){return this._serviceScope},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"instanceId",{get:function(){return this._instanceId},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"pageContext",{get:function(){return this._pageContext},enumerable:!1,configurable:!0}),t.prototype._initializeDynamicData=function(e,t){this._dynamicDataProvider._initialize(e,t),this._dynamicDataSourceManager._initialize(e,t)},Object.defineProperty(t.prototype,"dynamicDataProvider",{get:function(){return this._dynamicDataProvider},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"dynamicDataSourceManager",{get:function(){return this._dynamicDataSourceManager},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"aadHttpClientFactory",{get:function(){return this._aadClientFactory},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"aadTokenProviderFactory",{get:function(){return this._aadTokenFactory},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"msGraphClientFactory",{get:function(){return this._msGraphClientFactory},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"httpClient",{get:function(){return this._httpClient},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"spHttpClient",{get:function(){return this._spHttpClient},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isServedFromLocalhost",{get:function(){return this._isServedFromLocalhost},enumerable:!1,configurable:!0}),t}();(0,e._ES5CompatibleClass)(f);const m=f,_=function(){function t(n,a){this._hasValue=!1,this._isDisposed=!1,e.Validate.isNotNullOrUndefined(n,"provider"),this.__type=t._TYPE_NAME,this._provider=n,this._callbacks=new Set,this._pendingCallbacks=new Set,a?(this._pendingCallbacks.add(a),this._defaultCallback=a):this._defaultCallback=void 0,this._onSourcesChanged=this._onSourcesChangedCallback.bind(this),this._cloneDeep=this._cloneDeep.bind(this),this._provider.registerAvailableSourcesChanged(this._onSourcesChanged)}return t.prototype.setReference=function(t){var n=this;e.Validate.isNonemptyString(t,"id"),this._value=void 0,this._hasValue=!1;var a=new Set;this._callbacks.forEach(function(e){return a.add(e)}),this._callbacks.forEach(function(e){return n.unregister(e)}),this._reference=new o.DynamicDataReference(t),this._sourceId=this._getSourceId(),a.forEach(function(e){return n.register(e)}),this._onSourcesChangedCallback()},t.prototype.setValue=function(e){var t=this,n=this._callbacks;n.forEach(function(e){return t.unregister(e)}),this._value=e,this._reference=void 0,this._sourceId=void 0,this._hasValue=!0,n.forEach(function(e){return t.register(e)})},Object.defineProperty(t.prototype,"isDisposed",{get:function(){return this._isDisposed},enumerable:!1,configurable:!0}),t.prototype.dispose=function(){var e=this;this._isDisposed||(this._provider.unregisterAvailableSourcesChanged(this._onSourcesChanged),this._defaultCallback&&(this.unregister(this._defaultCallback),delete this._defaultCallback),this._callbacks.forEach(function(t){return e.unregister(t)}),delete this._callbacks,delete this._onSourcesChanged,delete this._pendingCallbacks,delete this._provider,delete this._reference,delete this._sourceId,this._isDisposed=!0)},t.prototype.toJSON=function(){return this._hasValue?{__type:t._TYPE_NAME,value:this._value}:{__type:t._TYPE_NAME,reference:this._reference}},Object.defineProperty(t.prototype,"reference",{get:function(){return this._hasValue?void 0:this._reference.reference},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"value",{get:function(){return this._value},enumerable:!1,configurable:!0}),t.prototype.tryGetValue=function(){if(!this.isDisposed||e._SPKillSwitch.isActivated("413769dc-5e0c-4609-9c86-bdf099fe84e3")){e.Validate.isNotDisposed(this,"DynamicData");var t=this._getData();return Array.isArray(t)&&(t=t[0]),t}},t.prototype.tryGetValues=function(){var e=this._getData();return e?Array.isArray(e)||(e=[e]):e=[],e},t.prototype.tryGetSource=function(){if(!this.isDisposed||e._SPKillSwitch.isActivated("413769dc-5e0c-4609-9c86-bdf099fe84e3"))return e.Validate.isNotDisposed(this,"DynamicData"),this._hasValue?void 0:this._provider.tryGetSource(this._sourceId)},t.prototype.register=function(t){e.Validate.isNotDisposed(this,"DynamicData"),!this._hasValue&&this._sourceId&&this._provider.tryGetSource(this._sourceId)?(this._provider.registerPropertyChanged(this._sourceId,this._getPropertyToRegister(),t),this._callbacks.add(t)):this._pendingCallbacks.add(t)},t.prototype.unregister=function(t){e.Validate.isNotDisposed(this,"DynamicData"),!this._hasValue&&this._sourceId&&this._provider.tryGetSource(this._sourceId)&&this._provider.unregisterPropertyChanged(this._sourceId,this._getPropertyToRegister(),t),this._pendingCallbacks.delete(t),this._callbacks.delete(t)},t.prototype.hasDefaultCallback=function(){return!!this._defaultCallback},t.prototype.removeDefaultCallback=function(){this._defaultCallback&&(this.unregister(this._defaultCallback),this._defaultCallback=void 0)},t.prototype._getSourceId=function(){return e.Validate.isNotDisposed(this,"DynamicData"),this._hasValue?"":this._reference.sourceId},t.prototype._getProperty=function(){return e.Validate.isNotDisposed(this,"DynamicData"),this._hasValue?"":this._reference.property},t.prototype._getPropertyPath=function(){return e.Validate.isNotDisposed(this,"DynamicData"),this._hasValue?"":this._reference.propertyPath||""},t.prototype._cloneDeep=function(e){return s.cloneDeepWith(e,function(e){if(e instanceof c)return e})},t.prototype._getPropertyToRegister=function(){return e.Validate.isNotDisposed(this,"DynamicData"),this._getProperty().split(t._arrayRegex)[0]},t.prototype._onSourcesChangedCallback=function(){var e=this;if(!this._hasValue&&this._sourceId&&this._provider.tryGetSource(this._sourceId)){var t=this._pendingCallbacks;this._pendingCallbacks=new Set,t.forEach(function(t){e.register(t),t()})}},t.prototype._getData=function(){if(!this.isDisposed||e._SPKillSwitch.isActivated("413769dc-5e0c-4609-9c86-bdf099fe84e3")){var t;e.Validate.isNotDisposed(this,"DynamicData");try{t=this._hasValue?this._value:this._provider._getData(this._reference)}catch(e){throw a._EngagementLogger.logEventWithLogEntry(e),e}return a._EngagementLogger.logEventWithLogEntry(new a._LogEntry("DynamicData","getData",a._LogType.Event,{value:JSON.stringify(this.value)})),t}},t._TYPE_NAME="DynamicProperty",t._arrayRegex=new RegExp(/\[\*\]$/),t}(),h=function(){function t(){}return t.load=function(e){return e||t._isLoaded?Promise.resolve():p.e(386).then(p.bind(p,521)).then(function(){t._isLoaded=!0})},t.forceLoad=function(e){try{return t._shouldLoad(e)?p.e(386).then(p.bind(p,521)).then(function(){t._isLoaded=!0}):Promise.resolve()}catch(e){return Promise.reject(e)}},t.needLegacyFabricCss=function(t){if(t.isInternal)return!1;if(void 0===t.loadLegacyFabricCss){var n=e.Version._tryParseSPFxVersion(t);return!n||n.lessThan(e.Version.parse("1.8.2"))}return t.loadLegacyFabricCss},t._shouldLoad=function(e){return!t._isLoaded&&t.needLegacyFabricCss(e)},t._isLoaded=!1,t}();var b=p(620),v=p(356),y=function(){function t(){}return t.serializeServerProcessedData=function(t,n,a){var i=this;this._forEachPropertyWithMetaData(t,n,function(t,r,o){r.shouldNotPersist&&s.set(n,t,void 0);var c=t,d=s.get(n,t);if(a&&"string"==typeof d&&d){if(a.htmlStrings&&r.isHtmlString?a.htmlStrings[c]=d:a.searchablePlainTexts&&r.isSearchablePlainText?a.searchablePlainTexts[c]=d:a.links&&r.isLink?a.links[c]=d:a.imageSources&&r.isImageSource?a.imageSources[c]=d:r.isComponentDependency&&(a.componentDependencies||(a.componentDependencies={}),a.componentDependencies[c]=d),r.customMetadata){var l={};if(r&&r.customMetadata)for(var u=function(t,c){var d=c;void 0!==o&&-1!==d.indexOf("*")&&(d=d.replace("*",o.toString())),i._validateAndIteratePath(d,n,function(i,o){if(void 0===o&&r.customMetadata){var c=s.get(n,i);a&&void 0!==c&&(e._SPKillSwitch.isActivated("bf085c27-422d-4b62-a93a-43efa89e77ee")?l[i]=c:l[t]=c)}})},f=0,p=Object.entries(r.customMetadata);f<p.length;f++){var m=p[f];u(m[0],m[1])}a.customMetadata||(a.customMetadata={}),a.customMetadata[c]=l}s.set(n,t,void 0)}})},t.reInstateServerProcessedData=function(t,n,i,r){var o=this,c=new Set;if(r&&this._forEachPropertyWithMetaData(t,n,function(t,i){if((0,b.X)()){if("b7dd04e1-19ce-4b24-9132-b60a1c2b910d"===r.id&&e._SPKillSwitch.isActivated("71b68bd4-eb7a-4330-93bd-dc6d382123c1"))return;var d=s.get(n,t);if(void 0!==d){var l=new a._QosMonitor("PropertyMetadataProcessor.clearMetadataValue");if(i.isLink&&(c.add(t),o._isSafeLink(d)||(l.writeUnexpectedFailure("ClearingLinkProperty",new Error(t)),s.set(n,t,void 0))),i.isHtmlString){c.add(t);var u=o._getSafeHtml(d);u!==d&&(l.writeUnexpectedFailure("SettingSafeHtml",new Error(t)),s.set(n,t,u))}l.hasEnded||l.writeSuccess()}}else"b7dd04e1-19ce-4b24-9132-b60a1c2b910d"!==r.id&&i.isHtmlString&&s.set(n,t,void 0)}),i)for(var d=0,l=[i.htmlStrings,i.searchablePlainTexts,i.imageSources,i.links,i.componentDependencies];d<l.length;d++){var u=l[d];if(u)for(var f=0,p=Object.entries(u);f<p.length;f++){var m=p[f],_=m[0],h=m[1];"string"==typeof h&&(s.set(n,_,h),(0,b.X)()&&c.delete(_))}}(0,b.X)()&&r&&c.size>0&&new a._QosMonitor("PropertyMetadataProcessor.serverProcessedContentMissing").writeUnexpectedFailure("Missing Content",void 0,{manifest:r.id,properties:Array.from(c).join(",")})},t._isSafeLink=function(e){try{var t=new URL(e);return v.SafeHtml.isSafeLinkProtocol(t.protocol)}catch(n){try{return t=new URL(e,window.location.origin),v.SafeHtml.isSafeLinkProtocol(t.protocol)}catch(e){return!1}}},t._getSafeHtml=function(e){return v.SafeHtml.clean(e)},t._forEachPropertyWithMetaData=function(e,t,n){if(e)for(var a=function(e,a){i._validateAndIteratePath(e,t,function(e,t){n(e,a,t)})},i=this,r=0,o=Object.entries(e);r<o.length;r++){var s=o[r];a(s[0],s[1])}},t._validateAndIteratePath=function(e,t,n){var a=(e.match(/\*/g)||[]).length;if(a>1)console.warn("Invalid property path: Multiple wildcards are not supported in property paths.\nEntry with path '".concat(e,"' got ignored in the properties metadata."));else if(1===a){var i=e.indexOf("[*]");if(i<-1)return void console.warn("Invalid property path: Wildcards are only supported inside brackets to select array\nindices as in 'foo[*].bar'. Entry with path '".concat(e,"' got ignored in the properties metadata."));var r=e.substr(0,i),o=s.get(t,r);if(!o)return void console.warn("Invalid property path: Could not find an array named '".concat(r,"' in the properties.\nEntry with path '").concat(e,"' got ignored in the properties metadata."));for(var c=0;c<o.length;c++)n(e.replace("*","".concat(c)),c)}else n(e)},t}(),S={htmlString:1,link:2,imageSource:3,searchablePlainText:4},D=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,d.__extends)(t,e),t}(e.SPEventArgs),I=function(){function t(n,a,i){this._id=t._instanceCount++,this.themeChangedEvent=new e.SPEvent(this._themeChangedEventName),a&&(this._theme=Object.freeze(a)),i&&(this._themeV2=Object.freeze(i))}return Object.defineProperty(t.prototype,"_themeChangedEventName",{get:function(){return t._themeChangedEventNameLiteral+this._id},enumerable:!1,configurable:!0}),t.prototype._clearTheme=function(){this._theme=void 0,this._themeV2=void 0,this._raiseEvent()},t.prototype._setTheme=function(t,n){e.Validate.isNotNullOrUndefined(t,"theme"),this._theme=Object.freeze(t),n&&(this._themeV2=Object.freeze(n)),this._raiseEvent()},t.prototype.tryGetTheme=function(){return this._theme},t.prototype.tryGetThemeV2=function(){return this._themeV2},t.prototype._raiseEvent=function(){e._SPEventManager.instance.raiseEvent(this._themeChangedEventName,{theme:this._theme,themeV2:this._themeV2})},t.serviceKey=e.ServiceKey.create("sp-component-base.ThemeProvider",t),t._themeChangedEventNameLiteral="ThemeProvider.themeChangedEvent",t._instanceCount=0,t}();p(424).loadStyles(".s_mwxHE_o5ljQ{background-color:transparent;height:100%;margin:5px;position:relative;width:100%}.s_bzcYC_o5ljQ{fill:#f4f4f4}",!0);const x=function(){function e(){}return e.createShimmer=function(t,n,a,i,r){void 0===r&&(r=void 0),t=t||100,n=n||100;var o=document.createElement("div");o.className="s_mwxHE_o5ljQ";var s=document.createElement("div"),c=.9*n/9,d=2*(c=Math.min(16,c)),l=c,u=l+d,f=u+d,p=f+d,m="s_bzcYC_o5ljQ";s.innerHTML="<svg width=".concat(t," height=").concat(n,' viewBox="0 0 ').concat(t," ").concat(n,'" version="1.1"\n xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n <title>').concat(i,"</title>\n <g id=").concat(a,'_Shimmer stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">\n <rect x="0" y="0" width=').concat(t," height=").concat(n,"></rect>\n ").concat(e._shimmerRect(a+"_1",m,8,l,20,c),"\n ").concat(e._shimmerRect(a+"_2",m,8,u,40,c),"\n ").concat(e._shimmerRect(a+"_3",m,8,f,90,c),"\n ").concat(e._shimmerRect(a+"_4",m,8,p,80,c),"\n </g>\n </svg>"),void 0!==r&&(o.style.margin=r+""),o.appendChild(s);var _=document.createElement("div");return _.setAttribute("role","status"),_.setAttribute("aria-live","polite"),o.appendChild(_),o},e._shimmerRect=function(e,t,n,a,i,r){return"<rect id=".concat(e," class=").concat(t," x=").concat(n," y=").concat(a,' width="').concat(i,'%" height=').concat(r,'>\n <animate\n attributeName="opacity"\n dur="1s"\n values="0.2;0.5;0.9"\n repeatCount="indefinite"\n begin="0"/>\n </rect>')},e}();var C=new RegExp("^https://[^/]*/");function O(e,t){if(!e)return t;var n=!1;return"/"!==t.charAt(t.length-1)&&(t+="/",n=!0),t=t.replace(C,"https://".concat(e,"/")),n&&(t=t.substr(0,t.length-1)),t}var w=p(519),E={CacheConfigMissmatch:"CacheConfigMissmatch",LateFlush:"LateFlush",CachedItemNotFound:"CachedItemNotFound",CacheExpired:"CacheExpired",NotSpecified:"NotSpecified",NotApplicable:"N/A"},A="N/A",L=function(){function t(){}return t.collect=function(n,a,i){var r=function(e){return w._PerformanceLogger.readComponentBreakdown(a,e)||w._PerformanceLogger.readTempData("".concat(a,".").concat(e))},o=r("start"),s=r("modulesLoaded"),c=r("init"),d=r("end"),l=!!r("displaySpinner"),u=Boolean(i&&i.legacyPageContext&&i.legacyPageContext.isMultiGeoTenant),f=A,p=A,m="N/A",_=E.NotApplicable;if(n.isInternal){var h=r("CacheHit"),b=r("CacheMiss"),g=r("prefetchedData");m=Boolean(h||b)?h?"true":"false":"N/A",_=t._getCacheMissReason(h,r);var v=w._PerformanceLogger.now(),y=w._PerformanceDataDimensions.Layout,S=w._PerformanceDataDimensions.DataProvider,D=w._PerformanceLogger.readFullEUPLBreakDown();Object.keys(D).forEach(function(e){e.indexOf(a)>-1&&(p===A&&e.indexOf(y)>-1?p=e.split(y)[1]:e.indexOf(S)>-1&&(f===A||D[e]<v)&&(f=e.split(S)[1],v=D[e]))}),f=g?"Prefetch":f}var I=w._PerformanceLogger.getWebpartFlightsAndExperiments(a),x=this._getSyncRenderTime(p,r),C={alias:n.alias,isMultiGeo:u,isInternal:n.isInternal,isSpinnyShown:l,manifestId:n.id,moduleLoadTime:Math.floor(s-o),initTime:Math.floor(c-s),renderTime:Math.floor(d-c),syncRenderTime:x,scenarioId:w._PerformanceLogger.getScenarioId(),isFullPage:w._PerformanceLogger.fullPageLoad,dataProvider:f,layout:p,mySiteCacheHit:m,cacheMissReason:_,flights:I,storeAppId:n.storeAppId,mpnId:n.mpnId,componentDeveloperName:n.componentDeveloperName};return C.teamsHosted=e._BrowserUtilities.isTeamsHosted(),C},t._getSyncRenderTime=function(e,t){var n=void 0;n=Math.floor(t("syncRender")-t("getDataComplete"));var a=t("postRenderComplete"),i=t("loadLayoutEnd"),r=t("syncLayoutRenderComplete");return i&&r&&(n=Math.floor(n+(r-i))),a&&(n=Math.floor(n+(a-t(w._PerformanceDataDimensions.Layout+e)))),n},t._getCacheMissReason=function(e,t){if(e)return E.NotApplicable;var n=!!t("CacheMissConfigMismatch"),a=!!t("LateFlush"),i=!!t("CachedWebPartNotFound"),r=!!t("CacheExpired"),o=E.NotSpecified;return n?o=E.CacheConfigMissmatch:a?o=E.LateFlush:i?o=E.CachedItemNotFound:r&&(o=E.CacheExpired),o},t}(),k=function(){function t(e){this._serviceScope=e}return t.prototype.getClient=function(){var e=this;if(this._teamsAppsClient)return Promise.resolve(this._teamsAppsClient);if(!this._teamsAppsClientPromise){var t=new a._QosMonitor("DeferredTeamsAppsClient.LoadTeamsAppClient");this._teamsAppsClientPromise=p.e(216).then(p.bind(p,165)).then(function(n){var a=n.TeamsAppsClient;return e._teamsAppsClient=new a(e._serviceScope),t.writeSuccess(),e._teamsAppsClient}).catch(function(e){throw t.writeUnexpectedFailure(void 0,e),e})}return this._teamsAppsClientPromise},t.serviceKey=e.ServiceKey.create("sp-teams-apps-client",t),t}()})(),g})())})();
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
(()=>{var e=document.currentScript;define("467dc675-7cc5-4709-8aac-78e3b71bd2f6_1.23.1",["@microsoft/sp-core-library","@microsoft/sp-diagnostics","@microsoft/sp-page-context","@microsoft/sp-http","@microsoft/sp-dynamic-data","@microsoft/sp-lodash-subset","tslib","@msinternal/sp-safehtml","@microsoft/load-themed-styles","@msinternal/sp-telemetry"],(t,n,a,i,r,o,s,c,d,l)=>(()=>{"use strict";var u={620(e,t,n){n.d(t,{T:()=>i,X:()=>r});var a=n(676);function i(){return a._SPFlight.isEnabled(60693)}function r(){return a._SPFlight.isEnabled(61389)}}
|
|
2
|
-
,424(e){e.exports=d},676(e){e.exports=t},207(e){e.exports=n},745(e){e.exports=r},909(e){e.exports=i},529(e){e.exports=o},408(e){e.exports=a},356(e){e.exports=c},519(e){e.exports=l},280(e){e.exports=s}},f={};function p(e){var t=f[e];if(void 0!==t)return t.exports;var n=f[e]={exports:{}};return u[e](n,n.exports,p),n.exports}p.m=u;var m,_,h,b={"216":"Tc2PKPdCtQzQ/mEWe3vUk+wG4axnSUsp7BXkSZd7//U=","386":"545UX94B5yaEn4vvm23UycJBry7WOc3/IoXP/Y/9/4o="};p.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return p.d(t,{a:t}),t},p.d=(e,t)=>{for(var n in t)p.o(t,n)&&!p.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},p.f={},p.e=e=>Promise.all(Object.keys(p.f).reduce((t,n)=>(p.f[n](e,t),t),[])),p.u=e=>"chunk."+{216:"teams-apps-client",386:"legacy-third-party-fabric-core-localfont"}[e]+"_none_"+{216:"f9872389cb6ea9ad28e2",386:"9e84ea19c68fdc8b9094"}[e]+".js",p.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),m={},_="467dc675-7cc5-4709-8aac-78e3b71bd2f6_1.23.1:",p.l=(e,t,n,a)=>{if(m[e])m[e].push(t);else{var i,r;if(void 0!==n)for(var o=document.getElementsByTagName("script"),s=0;s<o.length;s++){var c=o[s];if(c.getAttribute("src")==e||c.getAttribute("data-webpack")==_+n){i=c;break}}if(!i){r=!0,(i=document.createElement("script")).charset="utf-8",p.nc&&i.setAttribute("nonce",p.nc),i.setAttribute("data-webpack",_+n),i.src=e,0!==i.src.indexOf(window.location.origin+"/")&&(i.crossOrigin="anonymous");var d=function(e){return"sha256-"+(b[e]||"Missing+Integrity+Hash+For+Script+Aborting=")}(a);d&&(i.integrity=d)}m[e]=[t];var l=(t,n)=>{i.onerror=i.onload=null,clearTimeout(u);var a=m[e];if(delete m[e],i.parentNode&&i.parentNode.removeChild(i),a&&a.forEach(e=>e(n)),t)return t(n)},u=setTimeout(l.bind(null,void 0,{type:"timeout",target:i}),12e4);i.onerror=l.bind(null,i.onerror),i.onload=l.bind(null,i.onload),r&&document.head.appendChild(i)}},p.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},h=e?e.src:"",p.p=h.slice(0,h.lastIndexOf("/")+1),(()=>{var e={826:0};p.f.j=(t,n)=>{var a=p.o(e,t)?e[t]:void 0;if(0!==a)if(a)n.push(a[2]);else{var i=new Promise((n,i)=>a=e[t]=[n,i]);n.push(a[2]=i);var r=p.p+p.u(t),o=new Error;p.l(r,n=>{if(p.o(e,t)&&(0!==(a=e[t])&&(e[t]=void 0),a)){var i=n&&("load"===n.type?"missing":n.type),r=n&&n.target&&n.target.src;o.message="Loading chunk "+t+" failed.\n("+i+": "+r+")",o.name="ChunkLoadError",o.type=i,o.request=r,a[1](o)}},"chunk-"+t,t)}};var t=(t,n)=>{var a,i,[r,o,s]=n,c=0;if(r.some(t=>0!==e[t])){for(a in o)p.o(o,a)&&(p.m[a]=o[a]);s&&s(p)}for(t&&t(n);c<r.length;c++)i=r[c],p.o(e,i)&&e[i]&&e[i][0](),e[i]=0},n=self["webpackJsonp_467dc675-7cc5-4709-8aac-78e3b71bd2f6_1.23.1"]=self["webpackJsonp_467dc675-7cc5-4709-8aac-78e3b71bd2f6_1.23.1"]||[];n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))})();var g={};return(()=>{p.r(g),p.d(g,{BaseComponent:()=>n,BaseComponentContext:()=>m,DynamicDataProvider:()=>c,DynamicDataSourceManager:()=>u,DynamicProperty:()=>_,ThemeChangedEventArgs:()=>D,ThemeProvider:()=>I,_CacheMissReason:()=>E,_DeferredTeamsAppsClient:()=>k,_LegacyThirdPartyFabricCoreLoader:()=>h,_PropertyMetadataProcessor:()=>y,_ServerProcessedDataType:()=>S,_ShimmerFactory:()=>x,_WebPartLoadDataCollector:()=>L,_ensureIsolatedDomainUrl:()=>O});var e=p(676),t=function(){function e(){this._isWebPartAndContainsDynamicDataSource=!1,this._isDisposed=!1}return Object.defineProperty(e.prototype,"_dynamicDataSourceId",{get:function(){return"".concat(this.manifest.componentType,".").concat(this.manifest.id,".").concat(this.instanceId)},enumerable:!1,configurable:!0}),e.prototype.dispose=function(){this._isDisposed||(this.onDispose(),this.context.dispose(),delete this.context,this._isDisposed=!0)},Object.defineProperty(e.prototype,"_containsDynamicDataSource",{get:function(){return this._isWebPartAndContainsDynamicDataSource},set:function(e){this._isWebPartAndContainsDynamicDataSource="WebPart"===this.manifest.componentType&&e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isDisposed",{get:function(){return this._isDisposed},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"manifest",{get:function(){return this.context.manifest},enumerable:!1,configurable:!0}),e.prototype.onDispose=function(){},Object.defineProperty(e.prototype,"instanceId",{get:function(){return this.context.instanceId},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"componentId",{get:function(){return this.context.manifest.id},enumerable:!1,configurable:!0}),e.prototype._initializeContext=function(e){this.context=e,this.onProvideServices(e.serviceScope),e.serviceScope._isFinished||e.serviceScope.finish(),this.context._initializeDynamicData(this,e.serviceScope)},e.prototype.onProvideServices=function(e){},e}();const n=t;(0,e._ES5CompatibleClass)(t);var a=p(207),i=p(408),r=p(909),o=p(745),s=p(529);const c=function(){function t(){this._isDisposed=!1,this._isInitialized=!1,this._isSourcesChangedEventListenerAdded=!1}return t.prototype._initialize=function(t,n){e.Validate.isNotNullOrUndefined(t,"component"),e.Validate.isNotNullOrUndefined(n,"serviceScope"),this._component=t,this._pendingRegistrations=new Map,this._dynamicDataManager=n.consume(o._DynamicDataUtilities.IDynamicDataManagerServiceKey),this._isInitialized=!0,this._onSourcesChanged=this._onSourcesChanged.bind(this)},t.prototype.dispose=function(){this._isDisposed||(delete this._pendingRegistrations,this._dynamicDataManager.sourcesChangedEvent.remove(this._component,this._onSourcesChanged),delete this._dynamicDataManager,delete this._component,this._isInitialized=!1,this._isDisposed=!0)},Object.defineProperty(t.prototype,"isDisposed",{get:function(){return this._isDisposed},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"_isProviderInitialized",{get:function(){return this._isInitialized},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"_dynamicDataSourceId",{get:function(){return this._component._dynamicDataSourceId},enumerable:!1,configurable:!0}),t.prototype.registerSourceChanged=function(t,n){this._assertNotDisposed(),this._assertInitialized(),e.Validate.isNonemptyString(t,"sourceId"),e.Validate.isNotNullOrUndefined(n,"callback"),-1!==this.getAvailableSources().map(function(e){return e.id}).indexOf(t)?(this._dynamicDataManager.registerSourceChanged(t,this._component,n),this._logFeatureEntry("RegisterSourceChanged",{sourceId:t})):this._addPendingRegistration({id:t,callback:n})},t.prototype.unregisterSourceChanged=function(t,n){this._assertNotDisposed(),this._assertInitialized(),e.Validate.isNonemptyString(t,"sourceId"),e.Validate.isNotNullOrUndefined(n,"callback");var a={id:t,callback:n};this._isRegistrationPending(a)?this._removePendingRegistration(a):(this._dynamicDataManager.unregisterSourceChanged(t,this._component,n),this._logFeatureEntry("UnregisterSourceChanged",{sourceId:t}))},t.prototype.registerPropertyChanged=function(t,n,a){this._assertNotDisposed(),this._assertInitialized(),e.Validate.isNonemptyString(t,"sourceId"),e.Validate.isNonemptyString(n,"propertyId"),e.Validate.isNotNullOrUndefined(a,"callback"),-1!==this.getAvailableSources().map(function(e){return e.id}).indexOf(t)?(this._dynamicDataManager.registerPropertyChanged(t,n,this._component,a),this._logFeatureEntry("RegisterPropertyChanged",{sourceId:t,propertyId:n})):this._addPendingRegistration({id:t,propertyId:n,callback:a})},t.prototype.unregisterPropertyChanged=function(t,n,a){this._assertNotDisposed(),this._assertInitialized(),e.Validate.isNonemptyString(t,"sourceId"),e.Validate.isNonemptyString(n,"propertyId"),e.Validate.isNotNullOrUndefined(a,"callback");var i={id:t,callback:a,propertyId:n};this._isRegistrationPending(i)?this._removePendingRegistration(i):(this._dynamicDataManager.unregisterPropertyChanged(t,n,this._component,a),this._logFeatureEntry("UnregisterPropertyChanged",{sourceId:t,propertyId:n}))},t.prototype.registerAvailableSourcesChanged=function(t){e.Validate.isNotNullOrUndefined(t,"callback"),this._assertNotDisposed(),this._assertInitialized(),this._dynamicDataManager.sourcesChangedEvent.add(this._component,t)},t.prototype.unregisterAvailableSourcesChanged=function(t){e.Validate.isNotNullOrUndefined(t,"callback"),this._assertNotDisposed(),this._assertInitialized(),this._dynamicDataManager.sourcesChangedEvent.remove(this._component,t)},t.prototype.getAvailableSources=function(){return this._assertNotDisposed(),this._assertInitialized(),this._dynamicDataManager.getSources()},t.prototype.getAvailableSourcesByComponentId=function(t){this._assertNotDisposed(),this._assertInitialized();var n=[];return this._dynamicDataManager.getSources().forEach(function(a){t.equals(e.Guid.tryParse(a.metadata.componentId)||e.Guid.empty)&&n.push(a)}),n},t.prototype.tryGetSource=function(t){return this._assertNotDisposed(),this._assertInitialized(),e.Validate.isNotNullOrUndefined(t,"id"),this._dynamicDataManager.tryGetSource(t)},t.prototype._getData=function(n){this._assertNotDisposed(),this._assertInitialized(),e.Validate.isNotNullOrUndefined(n,"dataReference");var a=this._dynamicDataManager.tryGetSource(n.sourceId);if(a){var i=a.getPropertyValue(n.property);return i&&n.propertyPath&&n.propertyPath.split(".").forEach(function(e){var n=e.split(t._jsonPathArrayRegex),a=n[0];if(i)if(Array.isArray(i)){var r=[];i.forEach(function(e){e.hasOwnProperty(a)&&r.push(e[a])});var o=n[1];if(n.length>1){var s=[];r.forEach(function(e){e.forEach(function(e){return s.push(e)})}),r=s}i=isNaN(parseInt(o,10))?r:r[o]}else i=i.hasOwnProperty(a)?i[a]:void 0}),i}},t.prototype._onSourcesChanged=function(){var e=this,t=this.getAvailableSources().map(function(e){return e.id});this._pendingRegistrations.forEach(function(n){-1!==t.indexOf(n.id)&&(n.propertyId?(e._dynamicDataManager.registerPropertyChanged(n.id,n.propertyId,e._component,n.callback),e._logFeatureEntry("RegisterPropertyChanged",{sourceId:n.id,propertyId:n.propertyId})):(e._dynamicDataManager.registerSourceChanged(n.id,e._component,n.callback),e._logFeatureEntry("RegisterSourceChanged",{sourceId:n.id})),e._removePendingRegistration(n))})},t.prototype._assertNotDisposed=function(){if(this.isDisposed)throw new Error("Dynamic Data Provider has been disposed")},t.prototype._assertInitialized=function(){if(!this._isInitialized)throw new Error("Dynamic Data Provider has not been initialized.")},t.prototype._addPendingRegistration=function(e){this._isRegistrationPending(e)||this._pendingRegistrations.set(e.id+(e.propertyId||""),{id:e.id,propertyId:e.propertyId,callback:e.callback}),this._isSourcesChangedEventListenerAdded||(this._dynamicDataManager.sourcesChangedEvent.add(this._component,this._onSourcesChanged),this._isSourcesChangedEventListenerAdded=!0)},t.prototype._removePendingRegistration=function(e){this._pendingRegistrations.delete(e.id+(e.propertyId||"")),0===this._pendingRegistrations.size&&(this._dynamicDataManager.sourcesChangedEvent.remove(this._component,this._onSourcesChanged),this._isSourcesChangedEventListenerAdded=!1)},t.prototype._isRegistrationPending=function(e){return this._pendingRegistrations.has(e.id+(e.propertyId||""))},t.prototype._logFeatureEntry=function(e,t){var n=this._component.manifest.isInternal||!1,i={alias:this._component.manifest.alias,isInternal:n.toString()},r=new a._LogEntry("DynamicDataProvider",e,a._LogType.Event,s.merge(i,t));a._EngagementLogger.logEventWithLogEntry(r)},t._jsonPathArrayRegex=new RegExp(/\[|\]/),t}();var d=p(280);const l=JSON.parse('{"lw":"Source has already been initialized.","Yt":"\\u0022sendEvent()\\u0022 must be defined, when the \\u0022allowedEvents()\\u0022 returns a non-empty value.","C3":"Dynamic Data Source Manager has been disposed.","ad":"Dynamic Data Source Manager has not been initialized.","fT":"Dynamic Data Source has not been initialized.","Qm":"\\u0022{0}\\u0022 event is not allowed on the source \\u0022{1}\\u0022"}'),u=function(){function t(){this._src=void 0,this._isDisposed=!1,this._isInitialized=!1,this._logSource=a._LogSource.create("DynamicDataSourceManager")}return t.prototype._initialize=function(t,n){e.Validate.isNotNullOrUndefined(t,"component"),e.Validate.isNotNullOrUndefined(n,"serviceScope"),this._component=t,this._dynamicDataManager=n.consume(o._DynamicDataUtilities.IDynamicDataManagerServiceKey),this._isInitialized=!0},t.prototype.dispose=function(){this._isDisposed||(this._src&&(this._dynamicDataManager.removeSource(this._src.id),delete this._src),delete this._dynamicDataManager,delete this._component,this._isInitialized=!1,this._isDisposed=!0)},Object.defineProperty(t.prototype,"isDisposed",{get:function(){return this._isDisposed},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"_source",{get:function(){return this._src},enumerable:!1,configurable:!0}),t.prototype.initializeSource=function(t){if(this._assertNotDisposed(),this._assertInitialized(),this._src)throw new Error(l.lw);this._callableFunctions=t,this._src=this._buildSource(this._component),this._dynamicDataManager.addSource(this._src),e._SPKillSwitch.isActivated("bbd78e03-ff18-40ed-9a94-973fc659366c")||(this._component._containsDynamicDataSource=!0),this._logFeatureEntry("DynamicDataSourceInitialized",{sourceId:this._src.id})},t.prototype.notifySourceChanged=function(){this._assertNotDisposed(),this._assertInitialized(),this._assertSourceExists(),this._dynamicDataManager.notifySourceChanged(this._src.id)},t.prototype.notifyPropertyChanged=function(t){e.Validate.isNonemptyString(t,"propertyId"),this._assertNotDisposed(),this._assertInitialized(),this._assertSourceExists(),this._dynamicDataManager.notifyPropertyChanged(this._src.id,t)},t.prototype.updateMetadata=function(t){this._assertNotDisposed(),this._assertInitialized(),this._assertSourceExists(),e.Validate.isNotNullOrUndefined(t,"metadata"),t.alias=void 0,t.componentId=void 0,t.instanceId=void 0,(0,s.merge)(this._src.metadata,t)},Object.defineProperty(t.prototype,"sourceId",{get:function(){return this._src?this._src.id:""},enumerable:!1,configurable:!0}),t.prototype._buildSource=function(e){if(this._callableFunctions.allowedEvents&&this._callableFunctions.allowedEvents.length>0&&!this._callableFunctions.sendEvent)throw new Error(l.Yt);return{id:this._component._dynamicDataSourceId,metadata:this._buildMetadata(e),getPropertyDefinitions:this._getPropertyDefinitions.bind(this),getPropertyValue:this._getPropertyValue.bind(this),getAnnotatedPropertyValue:this._getAnnotatedPropertyValue.bind(this),getPropertyDefinitionsAsync:this._getPropertyDefinitionsAsync.bind(this),getPropertyValueAsync:this._getPropertyValueAsync.bind(this),getAnnotatedPropertyValueAsync:this._getAnnotatedPropertyValueAsync.bind(this),allowedEventsAsync:this._allowedEventsAsync.bind(this),sendEvent:this._sendEvent.bind(this)}},t.prototype._allowedEvents=function(){return this._callableFunctions.allowedEvents?(0,s.cloneDeep)(this._callableFunctions.allowedEvents()):void 0},t.prototype._sendEvent=function(e,t){this._assertValidEvent(e),this._callableFunctions.sendEvent(e,t)},t.prototype._getPropertyDefinitions=function(){return(0,s.cloneDeep)(this._callableFunctions.getPropertyDefinitions())},t.prototype._getPropertyValue=function(t){e.Validate.isNotNullOrUndefined(t,"propertyId");var n=new a._QosMonitor("DynamicDataSourceManager._getPropertyValue"),i=t.split(c._jsonPathArrayRegex);try{var r=this._callableFunctions.getPropertyValue(i.shift());if(i.length>0&&!isNaN(parseInt(i[0],10))&&Array.isArray(r)&&(r=r[i[0]]),void 0===r&&0===this._callableFunctions.getPropertyDefinitions().filter(function(e){return e.id===t}).length&&this._src)throw new Error('Property "'.concat(t,'" doesn\'t exist in source "').concat(this._src.metadata.title,'"'));return n.writeSuccess((0,d.__assign)((0,d.__assign)({},this._src&&this._src.metadata||{}),{sourceId:this._src&&this._src.id,propertyId:t})),(0,s.cloneDeep)(r)}catch(e){return n.writeUnexpectedFailure("NoPropertyId",e,{propertyId:t}),void a._TraceLogger.logErrorData({source:this._logSource,error:e})}},t.prototype._getPropertyDefinitionsAsync=function(){return Promise.resolve(this._getPropertyDefinitions())},t.prototype._getPropertyValueAsync=function(e){return Promise.resolve(this._getPropertyValue(e))},t.prototype._allowedEventsAsync=function(){return Promise.resolve(this._allowedEvents())},t.prototype._getAnnotatedPropertyValue=function(t){e.Validate.isNotNullOrUndefined(t,"propertyId");var n,i=new a._QosMonitor("DynamicDataSourceManager._getAnnotatedPropertyValue");if(this._callableFunctions.getAnnotatedPropertyValue){var r=t.split(c._jsonPathArrayRegex);try{n=this._callableFunctions.getAnnotatedPropertyValue(r.shift()),r.length>0&&!isNaN(parseInt(r[0],10))&&Array.isArray(n)&&(n=n[r[0]]),i.writeSuccess((0,d.__assign)((0,d.__assign)({},this._src&&this._src.metadata||{}),{sourceId:this._src&&this._src.id,annotatedPropertyValue:n,propertyId:t}))}catch(e){i.writeExpectedFailure("NoAnnotatedPropertyValue",e,{annotatedPropertyValue:n}),a._TraceLogger.logErrorData({source:this._logSource,error:e}),n=void 0}}return n||(n={sampleValue:this._getPropertyValue(t),metadata:void 0}),n},t.prototype._getAnnotatedPropertyValueAsync=function(e){return Promise.resolve(this._getAnnotatedPropertyValue(e))},t.prototype._buildMetadata=function(e){var t={title:e.manifest.alias,alias:e.manifest.alias,componentId:e.componentId,instanceId:e.instanceId},n=e;return n.title&&(t.title=n.title),n.description&&(t.description=n.description),t},t.prototype._assertValidEvent=function(t){if(!this._allowedEvents()||-1===(0,s.findIndex)(this._allowedEvents(),{name:t}))throw new Error(e.Text.format(l.Qm,t,this._src.metadata.title))},t.prototype._assertNotDisposed=function(){if(this.isDisposed)throw new Error(l.C3)},t.prototype._assertInitialized=function(){if(!this._isInitialized)throw new Error(l.ad)},t.prototype._assertSourceExists=function(){if(!this._src)throw new Error(l.fT)},t.prototype._logFeatureEntry=function(e,t){var n=this._component.manifest.isInternal||!1,i={alias:this._component.manifest.alias,isInternal:n.toString()},r=new a._LogEntry("DynamicDataSourceManager",e,a._LogType.Event,s.merge(i,t));a._EngagementLogger.logEventWithLogEntry(r)},t}();var f=function(){function t(t){var n=this;this._isDisposed=!1,this._isServedFromLocalhost=!1,e.Validate.isNotNullOrUndefined(t,"parameters"),e.Validate.isNotNullOrUndefined(t.manifest,"manifest"),this.manifest=t.manifest;var o=this.manifest.loaderConfig;o&&o.internalModuleBaseUrls&&o.internalModuleBaseUrls.length&&(this._isServedFromLocalhost=/^http(s)?\:\/\/(localhost|127.0.0.1)/gim.test(o.internalModuleBaseUrls[0])),e.Validate.isNotNullOrUndefined(t.parentServiceScope,"parentServiceScope"),this._serviceScope=t.parentServiceScope.startNewChild(),e.Validate.isNotNullOrUndefined(t.loggingTag,"loggingTag"),this.serviceScope.provide(a._logSourceServiceKey,a._LogSource.create(t.loggingTag)),e.Validate.isNonemptyString(t.instanceId,"instanceId"),this._instanceId=t.instanceId,this._httpClient=this.serviceScope.createDefaultAndProvide(r.HttpClient.serviceKey),this._spHttpClient=this.serviceScope.createDefaultAndProvide(r.SPHttpClient.serviceKey),this._msGraphClientFactory=this.serviceScope.createDefaultAndProvide(r.MSGraphClientFactory.serviceKey),this._aadClientFactory=this.serviceScope.createDefaultAndProvide(r.AadHttpClientFactory.serviceKey),this._aadTokenFactory=this.serviceScope.createDefaultAndProvide(r.AadTokenProviderFactory.serviceKey),this.serviceScope.provide(e._ClientManifestData.serviceKey,new e._ClientManifestData(this.serviceScope,this.manifest)),this.serviceScope.whenFinished(function(){n._pageContext=n.serviceScope.consume(i.PageContext.serviceKey)}),this._dynamicDataProvider=new c,this._dynamicDataSourceManager=new u}return Object.defineProperty(t.prototype,"isDisposed",{get:function(){return this._isDisposed},enumerable:!1,configurable:!0}),t.prototype.dispose=function(){this._isDisposed||(this._dynamicDataProvider&&this._dynamicDataProvider.dispose(),this._dynamicDataSourceManager&&this._dynamicDataSourceManager.dispose(),delete this._serviceScope,delete this._pageContext,delete this._dynamicDataProvider,delete this._dynamicDataSourceManager,this._isDisposed=!0)},Object.defineProperty(t.prototype,"serviceScope",{get:function(){return this._serviceScope},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"instanceId",{get:function(){return this._instanceId},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"pageContext",{get:function(){return this._pageContext},enumerable:!1,configurable:!0}),t.prototype._initializeDynamicData=function(e,t){this._dynamicDataProvider._initialize(e,t),this._dynamicDataSourceManager._initialize(e,t)},Object.defineProperty(t.prototype,"dynamicDataProvider",{get:function(){return this._dynamicDataProvider},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"dynamicDataSourceManager",{get:function(){return this._dynamicDataSourceManager},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"aadHttpClientFactory",{get:function(){return this._aadClientFactory},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"aadTokenProviderFactory",{get:function(){return this._aadTokenFactory},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"msGraphClientFactory",{get:function(){return this._msGraphClientFactory},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"httpClient",{get:function(){return this._httpClient},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"spHttpClient",{get:function(){return this._spHttpClient},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isServedFromLocalhost",{get:function(){return this._isServedFromLocalhost},enumerable:!1,configurable:!0}),t}();(0,e._ES5CompatibleClass)(f);const m=f,_=function(){function t(n,a){this._hasValue=!1,this._isDisposed=!1,e.Validate.isNotNullOrUndefined(n,"provider"),this.__type=t._TYPE_NAME,this._provider=n,this._callbacks=new Set,this._pendingCallbacks=new Set,a?(this._pendingCallbacks.add(a),this._defaultCallback=a):this._defaultCallback=void 0,this._onSourcesChanged=this._onSourcesChangedCallback.bind(this),this._cloneDeep=this._cloneDeep.bind(this),this._provider.registerAvailableSourcesChanged(this._onSourcesChanged)}return t.prototype.setReference=function(t){var n=this;e.Validate.isNonemptyString(t,"id"),this._value=void 0,this._hasValue=!1;var a=new Set;this._callbacks.forEach(function(e){return a.add(e)}),this._callbacks.forEach(function(e){return n.unregister(e)}),this._reference=new o.DynamicDataReference(t),this._sourceId=this._getSourceId(),a.forEach(function(e){return n.register(e)}),this._onSourcesChangedCallback()},t.prototype.setValue=function(e){var t=this,n=this._callbacks;n.forEach(function(e){return t.unregister(e)}),this._value=e,this._reference=void 0,this._sourceId=void 0,this._hasValue=!0,n.forEach(function(e){return t.register(e)})},Object.defineProperty(t.prototype,"isDisposed",{get:function(){return this._isDisposed},enumerable:!1,configurable:!0}),t.prototype.dispose=function(){var e=this;this._isDisposed||(this._provider.unregisterAvailableSourcesChanged(this._onSourcesChanged),this._defaultCallback&&(this.unregister(this._defaultCallback),delete this._defaultCallback),this._callbacks.forEach(function(t){return e.unregister(t)}),delete this._callbacks,delete this._onSourcesChanged,delete this._pendingCallbacks,delete this._provider,delete this._reference,delete this._sourceId,this._isDisposed=!0)},t.prototype.toJSON=function(){return this._hasValue?{__type:t._TYPE_NAME,value:this._value}:{__type:t._TYPE_NAME,reference:this._reference}},Object.defineProperty(t.prototype,"reference",{get:function(){return this._hasValue?void 0:this._reference.reference},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"value",{get:function(){return this._value},enumerable:!1,configurable:!0}),t.prototype.tryGetValue=function(){if(!this.isDisposed||e._SPKillSwitch.isActivated("413769dc-5e0c-4609-9c86-bdf099fe84e3")){e.Validate.isNotDisposed(this,"DynamicData");var t=this._getData();return Array.isArray(t)&&(t=t[0]),t}},t.prototype.tryGetValues=function(){var e=this._getData();return e?Array.isArray(e)||(e=[e]):e=[],e},t.prototype.tryGetSource=function(){if(!this.isDisposed||e._SPKillSwitch.isActivated("413769dc-5e0c-4609-9c86-bdf099fe84e3"))return e.Validate.isNotDisposed(this,"DynamicData"),this._hasValue?void 0:this._provider.tryGetSource(this._sourceId)},t.prototype.register=function(t){e.Validate.isNotDisposed(this,"DynamicData"),!this._hasValue&&this._sourceId&&this._provider.tryGetSource(this._sourceId)?(this._provider.registerPropertyChanged(this._sourceId,this._getPropertyToRegister(),t),this._callbacks.add(t)):this._pendingCallbacks.add(t)},t.prototype.unregister=function(t){e.Validate.isNotDisposed(this,"DynamicData"),!this._hasValue&&this._sourceId&&this._provider.tryGetSource(this._sourceId)&&this._provider.unregisterPropertyChanged(this._sourceId,this._getPropertyToRegister(),t),this._pendingCallbacks.delete(t),this._callbacks.delete(t)},t.prototype.hasDefaultCallback=function(){return!!this._defaultCallback},t.prototype.removeDefaultCallback=function(){this._defaultCallback&&(this.unregister(this._defaultCallback),this._defaultCallback=void 0)},t.prototype._getSourceId=function(){return e.Validate.isNotDisposed(this,"DynamicData"),this._hasValue?"":this._reference.sourceId},t.prototype._getProperty=function(){return e.Validate.isNotDisposed(this,"DynamicData"),this._hasValue?"":this._reference.property},t.prototype._getPropertyPath=function(){return e.Validate.isNotDisposed(this,"DynamicData"),this._hasValue?"":this._reference.propertyPath||""},t.prototype._cloneDeep=function(e){return s.cloneDeepWith(e,function(e){if(e instanceof c)return e})},t.prototype._getPropertyToRegister=function(){return e.Validate.isNotDisposed(this,"DynamicData"),this._getProperty().split(t._arrayRegex)[0]},t.prototype._onSourcesChangedCallback=function(){var e=this;if(!this._hasValue&&this._sourceId&&this._provider.tryGetSource(this._sourceId)){var t=this._pendingCallbacks;this._pendingCallbacks=new Set,t.forEach(function(t){e.register(t),t()})}},t.prototype._getData=function(){if(!this.isDisposed||e._SPKillSwitch.isActivated("413769dc-5e0c-4609-9c86-bdf099fe84e3")){var t;e.Validate.isNotDisposed(this,"DynamicData");try{t=this._hasValue?this._value:this._provider._getData(this._reference)}catch(e){throw a._EngagementLogger.logEventWithLogEntry(e),e}return a._EngagementLogger.logEventWithLogEntry(new a._LogEntry("DynamicData","getData",a._LogType.Event,{value:JSON.stringify(this.value)})),t}},t._TYPE_NAME="DynamicProperty",t._arrayRegex=new RegExp(/\[\*\]$/),t}(),h=function(){function t(){}return t.load=function(e){return e||t._isLoaded?Promise.resolve():p.e(386).then(p.bind(p,521)).then(function(){t._isLoaded=!0})},t.forceLoad=function(e){try{return t._shouldLoad(e)?p.e(386).then(p.bind(p,521)).then(function(){t._isLoaded=!0}):Promise.resolve()}catch(e){return Promise.reject(e)}},t.needLegacyFabricCss=function(t){if(t.isInternal)return!1;if(void 0===t.loadLegacyFabricCss){var n=e.Version._tryParseSPFxVersion(t);return!n||n.lessThan(e.Version.parse("1.8.2"))}return t.loadLegacyFabricCss},t._shouldLoad=function(e){return!t._isLoaded&&t.needLegacyFabricCss(e)},t._isLoaded=!1,t}();var b=p(620),v=p(356),y=function(){function t(){}return t.serializeServerProcessedData=function(t,n,a){var i=this;this._forEachPropertyWithMetaData(t,n,function(t,r,o){r.shouldNotPersist&&s.set(n,t,void 0);var c=t,d=s.get(n,t);if(a&&"string"==typeof d&&d){if(a.htmlStrings&&r.isHtmlString?a.htmlStrings[c]=d:a.searchablePlainTexts&&r.isSearchablePlainText?a.searchablePlainTexts[c]=d:a.links&&r.isLink?a.links[c]=d:a.imageSources&&r.isImageSource?a.imageSources[c]=d:r.isComponentDependency&&(a.componentDependencies||(a.componentDependencies={}),a.componentDependencies[c]=d),r.customMetadata){var l={};if(r&&r.customMetadata)for(var u=function(t,c){var d=c;void 0!==o&&-1!==d.indexOf("*")&&(d=d.replace("*",o.toString())),i._validateAndIteratePath(d,n,function(i,o){if(void 0===o&&r.customMetadata){var c=s.get(n,i);a&&void 0!==c&&(e._SPKillSwitch.isActivated("bf085c27-422d-4b62-a93a-43efa89e77ee")?l[i]=c:l[t]=c)}})},f=0,p=Object.entries(r.customMetadata);f<p.length;f++){var m=p[f];u(m[0],m[1])}a.customMetadata||(a.customMetadata={}),a.customMetadata[c]=l}s.set(n,t,void 0)}})},t.reInstateServerProcessedData=function(t,n,i,r){var o=this,c=new Set;if(r&&this._forEachPropertyWithMetaData(t,n,function(t,i){if((0,b.X)()){if("b7dd04e1-19ce-4b24-9132-b60a1c2b910d"===r.id&&e._SPKillSwitch.isActivated("71b68bd4-eb7a-4330-93bd-dc6d382123c1"))return;var d=s.get(n,t);if(void 0!==d){var l=new a._QosMonitor("PropertyMetadataProcessor.clearMetadataValue");if(i.isLink&&(c.add(t),o._isSafeLink(d)||(l.writeUnexpectedFailure("ClearingLinkProperty",new Error(t)),s.set(n,t,void 0))),i.isHtmlString){c.add(t);var u=o._getSafeHtml(d);u!==d&&(l.writeUnexpectedFailure("SettingSafeHtml",new Error(t)),s.set(n,t,u))}l.hasEnded||l.writeSuccess()}}else"b7dd04e1-19ce-4b24-9132-b60a1c2b910d"!==r.id&&i.isHtmlString&&s.set(n,t,void 0)}),i)for(var d=0,l=[i.htmlStrings,i.searchablePlainTexts,i.imageSources,i.links,i.componentDependencies];d<l.length;d++){var u=l[d];if(u)for(var f=0,p=Object.entries(u);f<p.length;f++){var m=p[f],_=m[0],h=m[1];"string"==typeof h&&(s.set(n,_,h),(0,b.X)()&&c.delete(_))}}(0,b.X)()&&r&&c.size>0&&new a._QosMonitor("PropertyMetadataProcessor.serverProcessedContentMissing").writeUnexpectedFailure("Missing Content",void 0,{manifest:r.id,properties:Array.from(c).join(",")})},t._isSafeLink=function(e){try{var t=new URL(e);return v.SafeHtml.isSafeLinkProtocol(t.protocol)}catch(n){try{return t=new URL(e,window.location.origin),v.SafeHtml.isSafeLinkProtocol(t.protocol)}catch(e){return!1}}},t._getSafeHtml=function(e){return v.SafeHtml.clean(e)},t._forEachPropertyWithMetaData=function(e,t,n){if(e)for(var a=function(e,a){i._validateAndIteratePath(e,t,function(e,t){n(e,a,t)})},i=this,r=0,o=Object.entries(e);r<o.length;r++){var s=o[r];a(s[0],s[1])}},t._validateAndIteratePath=function(e,t,n){var a=(e.match(/\*/g)||[]).length;if(a>1)console.warn("Invalid property path: Multiple wildcards are not supported in property paths.\nEntry with path '".concat(e,"' got ignored in the properties metadata."));else if(1===a){var i=e.indexOf("[*]");if(i<-1)return void console.warn("Invalid property path: Wildcards are only supported inside brackets to select array\nindices as in 'foo[*].bar'. Entry with path '".concat(e,"' got ignored in the properties metadata."));var r=e.substr(0,i),o=s.get(t,r);if(!o)return void console.warn("Invalid property path: Could not find an array named '".concat(r,"' in the properties.\nEntry with path '").concat(e,"' got ignored in the properties metadata."));for(var c=0;c<o.length;c++)n(e.replace("*","".concat(c)),c)}else n(e)},t}(),S={htmlString:1,link:2,imageSource:3,searchablePlainText:4},D=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,d.__extends)(t,e),t}(e.SPEventArgs),I=function(){function t(n,a,i){this._id=t._instanceCount++,this.themeChangedEvent=new e.SPEvent(this._themeChangedEventName),a&&(this._theme=Object.freeze(a)),i&&(this._themeV2=Object.freeze(i))}return Object.defineProperty(t.prototype,"_themeChangedEventName",{get:function(){return t._themeChangedEventNameLiteral+this._id},enumerable:!1,configurable:!0}),t.prototype._clearTheme=function(){this._theme=void 0,this._themeV2=void 0,this._raiseEvent()},t.prototype._setTheme=function(t,n){e.Validate.isNotNullOrUndefined(t,"theme"),this._theme=Object.freeze(t),n&&(this._themeV2=Object.freeze(n)),this._raiseEvent()},t.prototype.tryGetTheme=function(){return this._theme},t.prototype.tryGetThemeV2=function(){return this._themeV2},t.prototype._raiseEvent=function(){e._SPEventManager.instance.raiseEvent(this._themeChangedEventName,{theme:this._theme,themeV2:this._themeV2})},t.serviceKey=e.ServiceKey.create("sp-component-base.ThemeProvider",t),t._themeChangedEventNameLiteral="ThemeProvider.themeChangedEvent",t._instanceCount=0,t}();p(424).loadStyles(".s_mwxHE_o5ljQ{background-color:transparent;height:100%;margin:5px;position:relative;width:100%}.s_bzcYC_o5ljQ{fill:#f4f4f4}",!0);const x=function(){function e(){}return e.createShimmer=function(t,n,a,i,r){void 0===r&&(r=void 0),t=t||100,n=n||100;var o=document.createElement("div");o.className="s_mwxHE_o5ljQ";var s=document.createElement("div"),c=.9*n/9,d=2*(c=Math.min(16,c)),l=c,u=l+d,f=u+d,p=f+d,m="s_bzcYC_o5ljQ";s.innerHTML="<svg width=".concat(t," height=").concat(n,' viewBox="0 0 ').concat(t," ").concat(n,'" version="1.1"\n xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n <title>').concat(i,"</title>\n <g id=").concat(a,'_Shimmer stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">\n <rect x="0" y="0" width=').concat(t," height=").concat(n,"></rect>\n ").concat(e._shimmerRect(a+"_1",m,8,l,20,c),"\n ").concat(e._shimmerRect(a+"_2",m,8,u,40,c),"\n ").concat(e._shimmerRect(a+"_3",m,8,f,90,c),"\n ").concat(e._shimmerRect(a+"_4",m,8,p,80,c),"\n </g>\n </svg>"),void 0!==r&&(o.style.margin=r+""),o.appendChild(s);var _=document.createElement("div");return _.setAttribute("role","status"),_.setAttribute("aria-live","polite"),o.appendChild(_),o},e._shimmerRect=function(e,t,n,a,i,r){return"<rect id=".concat(e," class=").concat(t," x=").concat(n," y=").concat(a,' width="').concat(i,'%" height=').concat(r,'>\n <animate\n attributeName="opacity"\n dur="1s"\n values="0.2;0.5;0.9"\n repeatCount="indefinite"\n begin="0"/>\n </rect>')},e}();var C=new RegExp("^https://[^/]*/");function O(e,t){if(!e)return t;var n=!1;return"/"!==t.charAt(t.length-1)&&(t+="/",n=!0),t=t.replace(C,"https://".concat(e,"/")),n&&(t=t.substr(0,t.length-1)),t}var w=p(519),E={CacheConfigMissmatch:"CacheConfigMissmatch",LateFlush:"LateFlush",CachedItemNotFound:"CachedItemNotFound",CacheExpired:"CacheExpired",NotSpecified:"NotSpecified",NotApplicable:"N/A"},A="N/A",L=function(){function t(){}return t.collect=function(n,a,i){var r=function(e){return w._PerformanceLogger.readComponentBreakdown(a,e)||w._PerformanceLogger.readTempData("".concat(a,".").concat(e))},o=r("start"),s=r("modulesLoaded"),c=r("init"),d=r("end"),l=!!r("displaySpinner"),u=Boolean(i&&i.legacyPageContext&&i.legacyPageContext.isMultiGeoTenant),f=A,p=A,m="N/A",_=E.NotApplicable;if(n.isInternal){var h=r("CacheHit"),b=r("CacheMiss"),g=r("prefetchedData");m=Boolean(h||b)?h?"true":"false":"N/A",_=t._getCacheMissReason(h,r);var v=w._PerformanceLogger.now(),y=w._PerformanceDataDimensions.Layout,S=w._PerformanceDataDimensions.DataProvider,D=w._PerformanceLogger.readFullEUPLBreakDown();Object.keys(D).forEach(function(e){e.indexOf(a)>-1&&(p===A&&e.indexOf(y)>-1?p=e.split(y)[1]:e.indexOf(S)>-1&&(f===A||D[e]<v)&&(f=e.split(S)[1],v=D[e]))}),f=g?"Prefetch":f}var I=w._PerformanceLogger.getWebpartFlightsAndExperiments(a),x=this._getSyncRenderTime(p,r),C={alias:n.alias,isMultiGeo:u,isInternal:n.isInternal,isSpinnyShown:l,manifestId:n.id,moduleLoadTime:Math.floor(s-o),initTime:Math.floor(c-s),renderTime:Math.floor(d-c),syncRenderTime:x,scenarioId:w._PerformanceLogger.getScenarioId(),isFullPage:w._PerformanceLogger.fullPageLoad,dataProvider:f,layout:p,mySiteCacheHit:m,cacheMissReason:_,flights:I,storeAppId:n.storeAppId,mpnId:n.mpnId,componentDeveloperName:n.componentDeveloperName};return C.teamsHosted=e._BrowserUtilities.isTeamsHosted(),C},t._getSyncRenderTime=function(e,t){var n=void 0;n=Math.floor(t("syncRender")-t("getDataComplete"));var a=t("postRenderComplete"),i=t("loadLayoutEnd"),r=t("syncLayoutRenderComplete");return i&&r&&(n=Math.floor(n+(r-i))),a&&(n=Math.floor(n+(a-t(w._PerformanceDataDimensions.Layout+e)))),n},t._getCacheMissReason=function(e,t){if(e)return E.NotApplicable;var n=!!t("CacheMissConfigMismatch"),a=!!t("LateFlush"),i=!!t("CachedWebPartNotFound"),r=!!t("CacheExpired"),o=E.NotSpecified;return n?o=E.CacheConfigMissmatch:a?o=E.LateFlush:i?o=E.CachedItemNotFound:r&&(o=E.CacheExpired),o},t}(),k=function(){function t(e){this._serviceScope=e}return t.prototype.getClient=function(){var e=this;if(this._teamsAppsClient)return Promise.resolve(this._teamsAppsClient);if(!this._teamsAppsClientPromise){var t=new a._QosMonitor("DeferredTeamsAppsClient.LoadTeamsAppClient");this._teamsAppsClientPromise=p.e(216).then(p.bind(p,165)).then(function(n){var a=n.TeamsAppsClient;return e._teamsAppsClient=new a(e._serviceScope),t.writeSuccess(),e._teamsAppsClient}).catch(function(e){throw t.writeUnexpectedFailure(void 0,e),e})}return this._teamsAppsClientPromise},t.serviceKey=e.ServiceKey.create("sp-teams-apps-client",t),t}()})(),g})())})();
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
(()=>{var e=document.currentScript;define("467dc675-7cc5-4709-8aac-78e3b71bd2f6_1.23.1",["@microsoft/sp-core-library","@microsoft/sp-diagnostics","@microsoft/sp-page-context","@microsoft/sp-http","@microsoft/sp-dynamic-data","@microsoft/sp-lodash-subset","tslib","@msinternal/sp-safehtml","@microsoft/load-themed-styles","@msinternal/sp-telemetry"],(t,n,a,i,r,o,s,c,d,l)=>(()=>{"use strict";var u={620(e,t,n){n.d(t,{T:()=>i,X:()=>r});var a=n(676);function i(){return a._SPFlight.isEnabled(60693)}function r(){return a._SPFlight.isEnabled(61389)}}
|
|
2
|
-
,424(e){e.exports=d},676(e){e.exports=t},207(e){e.exports=n},745(e){e.exports=r},909(e){e.exports=i},529(e){e.exports=o},408(e){e.exports=a},356(e){e.exports=c},519(e){e.exports=l},280(e){e.exports=s}},f={};function p(e){var t=f[e];if(void 0!==t)return t.exports;var n=f[e]={exports:{}};return u[e](n,n.exports,p),n.exports}p.m=u;var m,_,h,b={"216":"Tc2PKPdCtQzQ/mEWe3vUk+wG4axnSUsp7BXkSZd7//U=","386":"545UX94B5yaEn4vvm23UycJBry7WOc3/IoXP/Y/9/4o="};p.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return p.d(t,{a:t}),t},p.d=(e,t)=>{for(var n in t)p.o(t,n)&&!p.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},p.f={},p.e=e=>Promise.all(Object.keys(p.f).reduce((t,n)=>(p.f[n](e,t),t),[])),p.u=e=>"chunk."+{216:"teams-apps-client",386:"legacy-third-party-fabric-core-localfont"}[e]+"_none_"+{216:"f9872389cb6ea9ad28e2",386:"9e84ea19c68fdc8b9094"}[e]+".js",p.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),m={},_="467dc675-7cc5-4709-8aac-78e3b71bd2f6_1.23.1:",p.l=(e,t,n,a)=>{if(m[e])m[e].push(t);else{var i,r;if(void 0!==n)for(var o=document.getElementsByTagName("script"),s=0;s<o.length;s++){var c=o[s];if(c.getAttribute("src")==e||c.getAttribute("data-webpack")==_+n){i=c;break}}if(!i){r=!0,(i=document.createElement("script")).charset="utf-8",p.nc&&i.setAttribute("nonce",p.nc),i.setAttribute("data-webpack",_+n),i.src=e,0!==i.src.indexOf(window.location.origin+"/")&&(i.crossOrigin="anonymous");var d=function(e){return"sha256-"+(b[e]||"Missing+Integrity+Hash+For+Script+Aborting=")}(a);d&&(i.integrity=d)}m[e]=[t];var l=(t,n)=>{i.onerror=i.onload=null,clearTimeout(u);var a=m[e];if(delete m[e],i.parentNode&&i.parentNode.removeChild(i),a&&a.forEach(e=>e(n)),t)return t(n)},u=setTimeout(l.bind(null,void 0,{type:"timeout",target:i}),12e4);i.onerror=l.bind(null,i.onerror),i.onload=l.bind(null,i.onload),r&&document.head.appendChild(i)}},p.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},h=e?e.src:"",p.p=h.slice(0,h.lastIndexOf("/")+1),(()=>{var e={826:0};p.f.j=(t,n)=>{var a=p.o(e,t)?e[t]:void 0;if(0!==a)if(a)n.push(a[2]);else{var i=new Promise((n,i)=>a=e[t]=[n,i]);n.push(a[2]=i);var r=p.p+p.u(t),o=new Error;p.l(r,n=>{if(p.o(e,t)&&(0!==(a=e[t])&&(e[t]=void 0),a)){var i=n&&("load"===n.type?"missing":n.type),r=n&&n.target&&n.target.src;o.message="Loading chunk "+t+" failed.\n("+i+": "+r+")",o.name="ChunkLoadError",o.type=i,o.request=r,a[1](o)}},"chunk-"+t,t)}};var t=(t,n)=>{var a,i,[r,o,s]=n,c=0;if(r.some(t=>0!==e[t])){for(a in o)p.o(o,a)&&(p.m[a]=o[a]);s&&s(p)}for(t&&t(n);c<r.length;c++)i=r[c],p.o(e,i)&&e[i]&&e[i][0](),e[i]=0},n=self["webpackJsonp_467dc675-7cc5-4709-8aac-78e3b71bd2f6_1.23.1"]=self["webpackJsonp_467dc675-7cc5-4709-8aac-78e3b71bd2f6_1.23.1"]||[];n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))})();var g={};return(()=>{p.r(g),p.d(g,{BaseComponent:()=>n,BaseComponentContext:()=>m,DynamicDataProvider:()=>c,DynamicDataSourceManager:()=>u,DynamicProperty:()=>_,ThemeChangedEventArgs:()=>D,ThemeProvider:()=>I,_CacheMissReason:()=>E,_DeferredTeamsAppsClient:()=>k,_LegacyThirdPartyFabricCoreLoader:()=>h,_PropertyMetadataProcessor:()=>y,_ServerProcessedDataType:()=>S,_ShimmerFactory:()=>x,_WebPartLoadDataCollector:()=>L,_ensureIsolatedDomainUrl:()=>O});var e=p(676),t=function(){function e(){this._isWebPartAndContainsDynamicDataSource=!1,this._isDisposed=!1}return Object.defineProperty(e.prototype,"_dynamicDataSourceId",{get:function(){return"".concat(this.manifest.componentType,".").concat(this.manifest.id,".").concat(this.instanceId)},enumerable:!1,configurable:!0}),e.prototype.dispose=function(){this._isDisposed||(this.onDispose(),this.context.dispose(),delete this.context,this._isDisposed=!0)},Object.defineProperty(e.prototype,"_containsDynamicDataSource",{get:function(){return this._isWebPartAndContainsDynamicDataSource},set:function(e){this._isWebPartAndContainsDynamicDataSource="WebPart"===this.manifest.componentType&&e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isDisposed",{get:function(){return this._isDisposed},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"manifest",{get:function(){return this.context.manifest},enumerable:!1,configurable:!0}),e.prototype.onDispose=function(){},Object.defineProperty(e.prototype,"instanceId",{get:function(){return this.context.instanceId},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"componentId",{get:function(){return this.context.manifest.id},enumerable:!1,configurable:!0}),e.prototype._initializeContext=function(e){this.context=e,this.onProvideServices(e.serviceScope),e.serviceScope._isFinished||e.serviceScope.finish(),this.context._initializeDynamicData(this,e.serviceScope)},e.prototype.onProvideServices=function(e){},e}();const n=t;(0,e._ES5CompatibleClass)(t);var a=p(207),i=p(408),r=p(909),o=p(745),s=p(529);const c=function(){function t(){this._isDisposed=!1,this._isInitialized=!1,this._isSourcesChangedEventListenerAdded=!1}return t.prototype._initialize=function(t,n){e.Validate.isNotNullOrUndefined(t,"component"),e.Validate.isNotNullOrUndefined(n,"serviceScope"),this._component=t,this._pendingRegistrations=new Map,this._dynamicDataManager=n.consume(o._DynamicDataUtilities.IDynamicDataManagerServiceKey),this._isInitialized=!0,this._onSourcesChanged=this._onSourcesChanged.bind(this)},t.prototype.dispose=function(){this._isDisposed||(delete this._pendingRegistrations,this._dynamicDataManager.sourcesChangedEvent.remove(this._component,this._onSourcesChanged),delete this._dynamicDataManager,delete this._component,this._isInitialized=!1,this._isDisposed=!0)},Object.defineProperty(t.prototype,"isDisposed",{get:function(){return this._isDisposed},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"_isProviderInitialized",{get:function(){return this._isInitialized},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"_dynamicDataSourceId",{get:function(){return this._component._dynamicDataSourceId},enumerable:!1,configurable:!0}),t.prototype.registerSourceChanged=function(t,n){this._assertNotDisposed(),this._assertInitialized(),e.Validate.isNonemptyString(t,"sourceId"),e.Validate.isNotNullOrUndefined(n,"callback"),-1!==this.getAvailableSources().map(function(e){return e.id}).indexOf(t)?(this._dynamicDataManager.registerSourceChanged(t,this._component,n),this._logFeatureEntry("RegisterSourceChanged",{sourceId:t})):this._addPendingRegistration({id:t,callback:n})},t.prototype.unregisterSourceChanged=function(t,n){this._assertNotDisposed(),this._assertInitialized(),e.Validate.isNonemptyString(t,"sourceId"),e.Validate.isNotNullOrUndefined(n,"callback");var a={id:t,callback:n};this._isRegistrationPending(a)?this._removePendingRegistration(a):(this._dynamicDataManager.unregisterSourceChanged(t,this._component,n),this._logFeatureEntry("UnregisterSourceChanged",{sourceId:t}))},t.prototype.registerPropertyChanged=function(t,n,a){this._assertNotDisposed(),this._assertInitialized(),e.Validate.isNonemptyString(t,"sourceId"),e.Validate.isNonemptyString(n,"propertyId"),e.Validate.isNotNullOrUndefined(a,"callback"),-1!==this.getAvailableSources().map(function(e){return e.id}).indexOf(t)?(this._dynamicDataManager.registerPropertyChanged(t,n,this._component,a),this._logFeatureEntry("RegisterPropertyChanged",{sourceId:t,propertyId:n})):this._addPendingRegistration({id:t,propertyId:n,callback:a})},t.prototype.unregisterPropertyChanged=function(t,n,a){this._assertNotDisposed(),this._assertInitialized(),e.Validate.isNonemptyString(t,"sourceId"),e.Validate.isNonemptyString(n,"propertyId"),e.Validate.isNotNullOrUndefined(a,"callback");var i={id:t,callback:a,propertyId:n};this._isRegistrationPending(i)?this._removePendingRegistration(i):(this._dynamicDataManager.unregisterPropertyChanged(t,n,this._component,a),this._logFeatureEntry("UnregisterPropertyChanged",{sourceId:t,propertyId:n}))},t.prototype.registerAvailableSourcesChanged=function(t){e.Validate.isNotNullOrUndefined(t,"callback"),this._assertNotDisposed(),this._assertInitialized(),this._dynamicDataManager.sourcesChangedEvent.add(this._component,t)},t.prototype.unregisterAvailableSourcesChanged=function(t){e.Validate.isNotNullOrUndefined(t,"callback"),this._assertNotDisposed(),this._assertInitialized(),this._dynamicDataManager.sourcesChangedEvent.remove(this._component,t)},t.prototype.getAvailableSources=function(){return this._assertNotDisposed(),this._assertInitialized(),this._dynamicDataManager.getSources()},t.prototype.getAvailableSourcesByComponentId=function(t){this._assertNotDisposed(),this._assertInitialized();var n=[];return this._dynamicDataManager.getSources().forEach(function(a){t.equals(e.Guid.tryParse(a.metadata.componentId)||e.Guid.empty)&&n.push(a)}),n},t.prototype.tryGetSource=function(t){return this._assertNotDisposed(),this._assertInitialized(),e.Validate.isNotNullOrUndefined(t,"id"),this._dynamicDataManager.tryGetSource(t)},t.prototype._getData=function(n){this._assertNotDisposed(),this._assertInitialized(),e.Validate.isNotNullOrUndefined(n,"dataReference");var a=this._dynamicDataManager.tryGetSource(n.sourceId);if(a){var i=a.getPropertyValue(n.property);return i&&n.propertyPath&&n.propertyPath.split(".").forEach(function(e){var n=e.split(t._jsonPathArrayRegex),a=n[0];if(i)if(Array.isArray(i)){var r=[];i.forEach(function(e){e.hasOwnProperty(a)&&r.push(e[a])});var o=n[1];if(n.length>1){var s=[];r.forEach(function(e){e.forEach(function(e){return s.push(e)})}),r=s}i=isNaN(parseInt(o,10))?r:r[o]}else i=i.hasOwnProperty(a)?i[a]:void 0}),i}},t.prototype._onSourcesChanged=function(){var e=this,t=this.getAvailableSources().map(function(e){return e.id});this._pendingRegistrations.forEach(function(n){-1!==t.indexOf(n.id)&&(n.propertyId?(e._dynamicDataManager.registerPropertyChanged(n.id,n.propertyId,e._component,n.callback),e._logFeatureEntry("RegisterPropertyChanged",{sourceId:n.id,propertyId:n.propertyId})):(e._dynamicDataManager.registerSourceChanged(n.id,e._component,n.callback),e._logFeatureEntry("RegisterSourceChanged",{sourceId:n.id})),e._removePendingRegistration(n))})},t.prototype._assertNotDisposed=function(){if(this.isDisposed)throw new Error("Dynamic Data Provider has been disposed")},t.prototype._assertInitialized=function(){if(!this._isInitialized)throw new Error("Dynamic Data Provider has not been initialized.")},t.prototype._addPendingRegistration=function(e){this._isRegistrationPending(e)||this._pendingRegistrations.set(e.id+(e.propertyId||""),{id:e.id,propertyId:e.propertyId,callback:e.callback}),this._isSourcesChangedEventListenerAdded||(this._dynamicDataManager.sourcesChangedEvent.add(this._component,this._onSourcesChanged),this._isSourcesChangedEventListenerAdded=!0)},t.prototype._removePendingRegistration=function(e){this._pendingRegistrations.delete(e.id+(e.propertyId||"")),0===this._pendingRegistrations.size&&(this._dynamicDataManager.sourcesChangedEvent.remove(this._component,this._onSourcesChanged),this._isSourcesChangedEventListenerAdded=!1)},t.prototype._isRegistrationPending=function(e){return this._pendingRegistrations.has(e.id+(e.propertyId||""))},t.prototype._logFeatureEntry=function(e,t){var n=this._component.manifest.isInternal||!1,i={alias:this._component.manifest.alias,isInternal:n.toString()},r=new a._LogEntry("DynamicDataProvider",e,a._LogType.Event,s.merge(i,t));a._EngagementLogger.logEventWithLogEntry(r)},t._jsonPathArrayRegex=new RegExp(/\[|\]/),t}();var d=p(280);const l=JSON.parse('{"lw":"[!!--##Śōũŕćē ĥàś àĺŕēàďŷ ƀēēń ĩńĩţĩàĺĩźēď.##--!!]","Yt":"[!!--##\\u0022śēńďĒvēńţ()\\u0022 mũśţ ƀē ďēƒĩńēď, ŵĥēń ţĥē \\u0022àĺĺōŵēďĒvēńţś()\\u0022 ŕēţũŕńś à ńōń-ēmƥţŷ vàĺũē.##--!!]","C3":"[!!--##Ďŷńàmĩć Ďàţà Śōũŕćē Màńàĝēŕ ĥàś ƀēēń ďĩśƥōśēď.##--!!]","ad":"[!!--##Ďŷńàmĩć Ďàţà Śōũŕćē Màńàĝēŕ ĥàś ńōţ ƀēēń ĩńĩţĩàĺĩźēď.##--!!]","fT":"[!!--##Ďŷńàmĩć Ďàţà Śōũŕćē ĥàś ńōţ ƀēēń ĩńĩţĩàĺĩźēď.##--!!]","Qm":"[!!--##\\u0022{0}\\u0022 ēvēńţ ĩś ńōţ àĺĺōŵēď ōń ţĥē śōũŕćē \\u0022{1}\\u0022##--!!]"}'),u=function(){function t(){this._src=void 0,this._isDisposed=!1,this._isInitialized=!1,this._logSource=a._LogSource.create("DynamicDataSourceManager")}return t.prototype._initialize=function(t,n){e.Validate.isNotNullOrUndefined(t,"component"),e.Validate.isNotNullOrUndefined(n,"serviceScope"),this._component=t,this._dynamicDataManager=n.consume(o._DynamicDataUtilities.IDynamicDataManagerServiceKey),this._isInitialized=!0},t.prototype.dispose=function(){this._isDisposed||(this._src&&(this._dynamicDataManager.removeSource(this._src.id),delete this._src),delete this._dynamicDataManager,delete this._component,this._isInitialized=!1,this._isDisposed=!0)},Object.defineProperty(t.prototype,"isDisposed",{get:function(){return this._isDisposed},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"_source",{get:function(){return this._src},enumerable:!1,configurable:!0}),t.prototype.initializeSource=function(t){if(this._assertNotDisposed(),this._assertInitialized(),this._src)throw new Error(l.lw);this._callableFunctions=t,this._src=this._buildSource(this._component),this._dynamicDataManager.addSource(this._src),e._SPKillSwitch.isActivated("bbd78e03-ff18-40ed-9a94-973fc659366c")||(this._component._containsDynamicDataSource=!0),this._logFeatureEntry("DynamicDataSourceInitialized",{sourceId:this._src.id})},t.prototype.notifySourceChanged=function(){this._assertNotDisposed(),this._assertInitialized(),this._assertSourceExists(),this._dynamicDataManager.notifySourceChanged(this._src.id)},t.prototype.notifyPropertyChanged=function(t){e.Validate.isNonemptyString(t,"propertyId"),this._assertNotDisposed(),this._assertInitialized(),this._assertSourceExists(),this._dynamicDataManager.notifyPropertyChanged(this._src.id,t)},t.prototype.updateMetadata=function(t){this._assertNotDisposed(),this._assertInitialized(),this._assertSourceExists(),e.Validate.isNotNullOrUndefined(t,"metadata"),t.alias=void 0,t.componentId=void 0,t.instanceId=void 0,(0,s.merge)(this._src.metadata,t)},Object.defineProperty(t.prototype,"sourceId",{get:function(){return this._src?this._src.id:""},enumerable:!1,configurable:!0}),t.prototype._buildSource=function(e){if(this._callableFunctions.allowedEvents&&this._callableFunctions.allowedEvents.length>0&&!this._callableFunctions.sendEvent)throw new Error(l.Yt);return{id:this._component._dynamicDataSourceId,metadata:this._buildMetadata(e),getPropertyDefinitions:this._getPropertyDefinitions.bind(this),getPropertyValue:this._getPropertyValue.bind(this),getAnnotatedPropertyValue:this._getAnnotatedPropertyValue.bind(this),getPropertyDefinitionsAsync:this._getPropertyDefinitionsAsync.bind(this),getPropertyValueAsync:this._getPropertyValueAsync.bind(this),getAnnotatedPropertyValueAsync:this._getAnnotatedPropertyValueAsync.bind(this),allowedEventsAsync:this._allowedEventsAsync.bind(this),sendEvent:this._sendEvent.bind(this)}},t.prototype._allowedEvents=function(){return this._callableFunctions.allowedEvents?(0,s.cloneDeep)(this._callableFunctions.allowedEvents()):void 0},t.prototype._sendEvent=function(e,t){this._assertValidEvent(e),this._callableFunctions.sendEvent(e,t)},t.prototype._getPropertyDefinitions=function(){return(0,s.cloneDeep)(this._callableFunctions.getPropertyDefinitions())},t.prototype._getPropertyValue=function(t){e.Validate.isNotNullOrUndefined(t,"propertyId");var n=new a._QosMonitor("DynamicDataSourceManager._getPropertyValue"),i=t.split(c._jsonPathArrayRegex);try{var r=this._callableFunctions.getPropertyValue(i.shift());if(i.length>0&&!isNaN(parseInt(i[0],10))&&Array.isArray(r)&&(r=r[i[0]]),void 0===r&&0===this._callableFunctions.getPropertyDefinitions().filter(function(e){return e.id===t}).length&&this._src)throw new Error('Property "'.concat(t,'" doesn\'t exist in source "').concat(this._src.metadata.title,'"'));return n.writeSuccess((0,d.__assign)((0,d.__assign)({},this._src&&this._src.metadata||{}),{sourceId:this._src&&this._src.id,propertyId:t})),(0,s.cloneDeep)(r)}catch(e){return n.writeUnexpectedFailure("NoPropertyId",e,{propertyId:t}),void a._TraceLogger.logErrorData({source:this._logSource,error:e})}},t.prototype._getPropertyDefinitionsAsync=function(){return Promise.resolve(this._getPropertyDefinitions())},t.prototype._getPropertyValueAsync=function(e){return Promise.resolve(this._getPropertyValue(e))},t.prototype._allowedEventsAsync=function(){return Promise.resolve(this._allowedEvents())},t.prototype._getAnnotatedPropertyValue=function(t){e.Validate.isNotNullOrUndefined(t,"propertyId");var n,i=new a._QosMonitor("DynamicDataSourceManager._getAnnotatedPropertyValue");if(this._callableFunctions.getAnnotatedPropertyValue){var r=t.split(c._jsonPathArrayRegex);try{n=this._callableFunctions.getAnnotatedPropertyValue(r.shift()),r.length>0&&!isNaN(parseInt(r[0],10))&&Array.isArray(n)&&(n=n[r[0]]),i.writeSuccess((0,d.__assign)((0,d.__assign)({},this._src&&this._src.metadata||{}),{sourceId:this._src&&this._src.id,annotatedPropertyValue:n,propertyId:t}))}catch(e){i.writeExpectedFailure("NoAnnotatedPropertyValue",e,{annotatedPropertyValue:n}),a._TraceLogger.logErrorData({source:this._logSource,error:e}),n=void 0}}return n||(n={sampleValue:this._getPropertyValue(t),metadata:void 0}),n},t.prototype._getAnnotatedPropertyValueAsync=function(e){return Promise.resolve(this._getAnnotatedPropertyValue(e))},t.prototype._buildMetadata=function(e){var t={title:e.manifest.alias,alias:e.manifest.alias,componentId:e.componentId,instanceId:e.instanceId},n=e;return n.title&&(t.title=n.title),n.description&&(t.description=n.description),t},t.prototype._assertValidEvent=function(t){if(!this._allowedEvents()||-1===(0,s.findIndex)(this._allowedEvents(),{name:t}))throw new Error(e.Text.format(l.Qm,t,this._src.metadata.title))},t.prototype._assertNotDisposed=function(){if(this.isDisposed)throw new Error(l.C3)},t.prototype._assertInitialized=function(){if(!this._isInitialized)throw new Error(l.ad)},t.prototype._assertSourceExists=function(){if(!this._src)throw new Error(l.fT)},t.prototype._logFeatureEntry=function(e,t){var n=this._component.manifest.isInternal||!1,i={alias:this._component.manifest.alias,isInternal:n.toString()},r=new a._LogEntry("DynamicDataSourceManager",e,a._LogType.Event,s.merge(i,t));a._EngagementLogger.logEventWithLogEntry(r)},t}();var f=function(){function t(t){var n=this;this._isDisposed=!1,this._isServedFromLocalhost=!1,e.Validate.isNotNullOrUndefined(t,"parameters"),e.Validate.isNotNullOrUndefined(t.manifest,"manifest"),this.manifest=t.manifest;var o=this.manifest.loaderConfig;o&&o.internalModuleBaseUrls&&o.internalModuleBaseUrls.length&&(this._isServedFromLocalhost=/^http(s)?\:\/\/(localhost|127.0.0.1)/gim.test(o.internalModuleBaseUrls[0])),e.Validate.isNotNullOrUndefined(t.parentServiceScope,"parentServiceScope"),this._serviceScope=t.parentServiceScope.startNewChild(),e.Validate.isNotNullOrUndefined(t.loggingTag,"loggingTag"),this.serviceScope.provide(a._logSourceServiceKey,a._LogSource.create(t.loggingTag)),e.Validate.isNonemptyString(t.instanceId,"instanceId"),this._instanceId=t.instanceId,this._httpClient=this.serviceScope.createDefaultAndProvide(r.HttpClient.serviceKey),this._spHttpClient=this.serviceScope.createDefaultAndProvide(r.SPHttpClient.serviceKey),this._msGraphClientFactory=this.serviceScope.createDefaultAndProvide(r.MSGraphClientFactory.serviceKey),this._aadClientFactory=this.serviceScope.createDefaultAndProvide(r.AadHttpClientFactory.serviceKey),this._aadTokenFactory=this.serviceScope.createDefaultAndProvide(r.AadTokenProviderFactory.serviceKey),this.serviceScope.provide(e._ClientManifestData.serviceKey,new e._ClientManifestData(this.serviceScope,this.manifest)),this.serviceScope.whenFinished(function(){n._pageContext=n.serviceScope.consume(i.PageContext.serviceKey)}),this._dynamicDataProvider=new c,this._dynamicDataSourceManager=new u}return Object.defineProperty(t.prototype,"isDisposed",{get:function(){return this._isDisposed},enumerable:!1,configurable:!0}),t.prototype.dispose=function(){this._isDisposed||(this._dynamicDataProvider&&this._dynamicDataProvider.dispose(),this._dynamicDataSourceManager&&this._dynamicDataSourceManager.dispose(),delete this._serviceScope,delete this._pageContext,delete this._dynamicDataProvider,delete this._dynamicDataSourceManager,this._isDisposed=!0)},Object.defineProperty(t.prototype,"serviceScope",{get:function(){return this._serviceScope},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"instanceId",{get:function(){return this._instanceId},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"pageContext",{get:function(){return this._pageContext},enumerable:!1,configurable:!0}),t.prototype._initializeDynamicData=function(e,t){this._dynamicDataProvider._initialize(e,t),this._dynamicDataSourceManager._initialize(e,t)},Object.defineProperty(t.prototype,"dynamicDataProvider",{get:function(){return this._dynamicDataProvider},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"dynamicDataSourceManager",{get:function(){return this._dynamicDataSourceManager},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"aadHttpClientFactory",{get:function(){return this._aadClientFactory},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"aadTokenProviderFactory",{get:function(){return this._aadTokenFactory},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"msGraphClientFactory",{get:function(){return this._msGraphClientFactory},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"httpClient",{get:function(){return this._httpClient},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"spHttpClient",{get:function(){return this._spHttpClient},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isServedFromLocalhost",{get:function(){return this._isServedFromLocalhost},enumerable:!1,configurable:!0}),t}();(0,e._ES5CompatibleClass)(f);const m=f,_=function(){function t(n,a){this._hasValue=!1,this._isDisposed=!1,e.Validate.isNotNullOrUndefined(n,"provider"),this.__type=t._TYPE_NAME,this._provider=n,this._callbacks=new Set,this._pendingCallbacks=new Set,a?(this._pendingCallbacks.add(a),this._defaultCallback=a):this._defaultCallback=void 0,this._onSourcesChanged=this._onSourcesChangedCallback.bind(this),this._cloneDeep=this._cloneDeep.bind(this),this._provider.registerAvailableSourcesChanged(this._onSourcesChanged)}return t.prototype.setReference=function(t){var n=this;e.Validate.isNonemptyString(t,"id"),this._value=void 0,this._hasValue=!1;var a=new Set;this._callbacks.forEach(function(e){return a.add(e)}),this._callbacks.forEach(function(e){return n.unregister(e)}),this._reference=new o.DynamicDataReference(t),this._sourceId=this._getSourceId(),a.forEach(function(e){return n.register(e)}),this._onSourcesChangedCallback()},t.prototype.setValue=function(e){var t=this,n=this._callbacks;n.forEach(function(e){return t.unregister(e)}),this._value=e,this._reference=void 0,this._sourceId=void 0,this._hasValue=!0,n.forEach(function(e){return t.register(e)})},Object.defineProperty(t.prototype,"isDisposed",{get:function(){return this._isDisposed},enumerable:!1,configurable:!0}),t.prototype.dispose=function(){var e=this;this._isDisposed||(this._provider.unregisterAvailableSourcesChanged(this._onSourcesChanged),this._defaultCallback&&(this.unregister(this._defaultCallback),delete this._defaultCallback),this._callbacks.forEach(function(t){return e.unregister(t)}),delete this._callbacks,delete this._onSourcesChanged,delete this._pendingCallbacks,delete this._provider,delete this._reference,delete this._sourceId,this._isDisposed=!0)},t.prototype.toJSON=function(){return this._hasValue?{__type:t._TYPE_NAME,value:this._value}:{__type:t._TYPE_NAME,reference:this._reference}},Object.defineProperty(t.prototype,"reference",{get:function(){return this._hasValue?void 0:this._reference.reference},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"value",{get:function(){return this._value},enumerable:!1,configurable:!0}),t.prototype.tryGetValue=function(){if(!this.isDisposed||e._SPKillSwitch.isActivated("413769dc-5e0c-4609-9c86-bdf099fe84e3")){e.Validate.isNotDisposed(this,"DynamicData");var t=this._getData();return Array.isArray(t)&&(t=t[0]),t}},t.prototype.tryGetValues=function(){var e=this._getData();return e?Array.isArray(e)||(e=[e]):e=[],e},t.prototype.tryGetSource=function(){if(!this.isDisposed||e._SPKillSwitch.isActivated("413769dc-5e0c-4609-9c86-bdf099fe84e3"))return e.Validate.isNotDisposed(this,"DynamicData"),this._hasValue?void 0:this._provider.tryGetSource(this._sourceId)},t.prototype.register=function(t){e.Validate.isNotDisposed(this,"DynamicData"),!this._hasValue&&this._sourceId&&this._provider.tryGetSource(this._sourceId)?(this._provider.registerPropertyChanged(this._sourceId,this._getPropertyToRegister(),t),this._callbacks.add(t)):this._pendingCallbacks.add(t)},t.prototype.unregister=function(t){e.Validate.isNotDisposed(this,"DynamicData"),!this._hasValue&&this._sourceId&&this._provider.tryGetSource(this._sourceId)&&this._provider.unregisterPropertyChanged(this._sourceId,this._getPropertyToRegister(),t),this._pendingCallbacks.delete(t),this._callbacks.delete(t)},t.prototype.hasDefaultCallback=function(){return!!this._defaultCallback},t.prototype.removeDefaultCallback=function(){this._defaultCallback&&(this.unregister(this._defaultCallback),this._defaultCallback=void 0)},t.prototype._getSourceId=function(){return e.Validate.isNotDisposed(this,"DynamicData"),this._hasValue?"":this._reference.sourceId},t.prototype._getProperty=function(){return e.Validate.isNotDisposed(this,"DynamicData"),this._hasValue?"":this._reference.property},t.prototype._getPropertyPath=function(){return e.Validate.isNotDisposed(this,"DynamicData"),this._hasValue?"":this._reference.propertyPath||""},t.prototype._cloneDeep=function(e){return s.cloneDeepWith(e,function(e){if(e instanceof c)return e})},t.prototype._getPropertyToRegister=function(){return e.Validate.isNotDisposed(this,"DynamicData"),this._getProperty().split(t._arrayRegex)[0]},t.prototype._onSourcesChangedCallback=function(){var e=this;if(!this._hasValue&&this._sourceId&&this._provider.tryGetSource(this._sourceId)){var t=this._pendingCallbacks;this._pendingCallbacks=new Set,t.forEach(function(t){e.register(t),t()})}},t.prototype._getData=function(){if(!this.isDisposed||e._SPKillSwitch.isActivated("413769dc-5e0c-4609-9c86-bdf099fe84e3")){var t;e.Validate.isNotDisposed(this,"DynamicData");try{t=this._hasValue?this._value:this._provider._getData(this._reference)}catch(e){throw a._EngagementLogger.logEventWithLogEntry(e),e}return a._EngagementLogger.logEventWithLogEntry(new a._LogEntry("DynamicData","getData",a._LogType.Event,{value:JSON.stringify(this.value)})),t}},t._TYPE_NAME="DynamicProperty",t._arrayRegex=new RegExp(/\[\*\]$/),t}(),h=function(){function t(){}return t.load=function(e){return e||t._isLoaded?Promise.resolve():p.e(386).then(p.bind(p,521)).then(function(){t._isLoaded=!0})},t.forceLoad=function(e){try{return t._shouldLoad(e)?p.e(386).then(p.bind(p,521)).then(function(){t._isLoaded=!0}):Promise.resolve()}catch(e){return Promise.reject(e)}},t.needLegacyFabricCss=function(t){if(t.isInternal)return!1;if(void 0===t.loadLegacyFabricCss){var n=e.Version._tryParseSPFxVersion(t);return!n||n.lessThan(e.Version.parse("1.8.2"))}return t.loadLegacyFabricCss},t._shouldLoad=function(e){return!t._isLoaded&&t.needLegacyFabricCss(e)},t._isLoaded=!1,t}();var b=p(620),v=p(356),y=function(){function t(){}return t.serializeServerProcessedData=function(t,n,a){var i=this;this._forEachPropertyWithMetaData(t,n,function(t,r,o){r.shouldNotPersist&&s.set(n,t,void 0);var c=t,d=s.get(n,t);if(a&&"string"==typeof d&&d){if(a.htmlStrings&&r.isHtmlString?a.htmlStrings[c]=d:a.searchablePlainTexts&&r.isSearchablePlainText?a.searchablePlainTexts[c]=d:a.links&&r.isLink?a.links[c]=d:a.imageSources&&r.isImageSource?a.imageSources[c]=d:r.isComponentDependency&&(a.componentDependencies||(a.componentDependencies={}),a.componentDependencies[c]=d),r.customMetadata){var l={};if(r&&r.customMetadata)for(var u=function(t,c){var d=c;void 0!==o&&-1!==d.indexOf("*")&&(d=d.replace("*",o.toString())),i._validateAndIteratePath(d,n,function(i,o){if(void 0===o&&r.customMetadata){var c=s.get(n,i);a&&void 0!==c&&(e._SPKillSwitch.isActivated("bf085c27-422d-4b62-a93a-43efa89e77ee")?l[i]=c:l[t]=c)}})},f=0,p=Object.entries(r.customMetadata);f<p.length;f++){var m=p[f];u(m[0],m[1])}a.customMetadata||(a.customMetadata={}),a.customMetadata[c]=l}s.set(n,t,void 0)}})},t.reInstateServerProcessedData=function(t,n,i,r){var o=this,c=new Set;if(r&&this._forEachPropertyWithMetaData(t,n,function(t,i){if((0,b.X)()){if("b7dd04e1-19ce-4b24-9132-b60a1c2b910d"===r.id&&e._SPKillSwitch.isActivated("71b68bd4-eb7a-4330-93bd-dc6d382123c1"))return;var d=s.get(n,t);if(void 0!==d){var l=new a._QosMonitor("PropertyMetadataProcessor.clearMetadataValue");if(i.isLink&&(c.add(t),o._isSafeLink(d)||(l.writeUnexpectedFailure("ClearingLinkProperty",new Error(t)),s.set(n,t,void 0))),i.isHtmlString){c.add(t);var u=o._getSafeHtml(d);u!==d&&(l.writeUnexpectedFailure("SettingSafeHtml",new Error(t)),s.set(n,t,u))}l.hasEnded||l.writeSuccess()}}else"b7dd04e1-19ce-4b24-9132-b60a1c2b910d"!==r.id&&i.isHtmlString&&s.set(n,t,void 0)}),i)for(var d=0,l=[i.htmlStrings,i.searchablePlainTexts,i.imageSources,i.links,i.componentDependencies];d<l.length;d++){var u=l[d];if(u)for(var f=0,p=Object.entries(u);f<p.length;f++){var m=p[f],_=m[0],h=m[1];"string"==typeof h&&(s.set(n,_,h),(0,b.X)()&&c.delete(_))}}(0,b.X)()&&r&&c.size>0&&new a._QosMonitor("PropertyMetadataProcessor.serverProcessedContentMissing").writeUnexpectedFailure("Missing Content",void 0,{manifest:r.id,properties:Array.from(c).join(",")})},t._isSafeLink=function(e){try{var t=new URL(e);return v.SafeHtml.isSafeLinkProtocol(t.protocol)}catch(n){try{return t=new URL(e,window.location.origin),v.SafeHtml.isSafeLinkProtocol(t.protocol)}catch(e){return!1}}},t._getSafeHtml=function(e){return v.SafeHtml.clean(e)},t._forEachPropertyWithMetaData=function(e,t,n){if(e)for(var a=function(e,a){i._validateAndIteratePath(e,t,function(e,t){n(e,a,t)})},i=this,r=0,o=Object.entries(e);r<o.length;r++){var s=o[r];a(s[0],s[1])}},t._validateAndIteratePath=function(e,t,n){var a=(e.match(/\*/g)||[]).length;if(a>1)console.warn("Invalid property path: Multiple wildcards are not supported in property paths.\nEntry with path '".concat(e,"' got ignored in the properties metadata."));else if(1===a){var i=e.indexOf("[*]");if(i<-1)return void console.warn("Invalid property path: Wildcards are only supported inside brackets to select array\nindices as in 'foo[*].bar'. Entry with path '".concat(e,"' got ignored in the properties metadata."));var r=e.substr(0,i),o=s.get(t,r);if(!o)return void console.warn("Invalid property path: Could not find an array named '".concat(r,"' in the properties.\nEntry with path '").concat(e,"' got ignored in the properties metadata."));for(var c=0;c<o.length;c++)n(e.replace("*","".concat(c)),c)}else n(e)},t}(),S={htmlString:1,link:2,imageSource:3,searchablePlainText:4},D=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,d.__extends)(t,e),t}(e.SPEventArgs),I=function(){function t(n,a,i){this._id=t._instanceCount++,this.themeChangedEvent=new e.SPEvent(this._themeChangedEventName),a&&(this._theme=Object.freeze(a)),i&&(this._themeV2=Object.freeze(i))}return Object.defineProperty(t.prototype,"_themeChangedEventName",{get:function(){return t._themeChangedEventNameLiteral+this._id},enumerable:!1,configurable:!0}),t.prototype._clearTheme=function(){this._theme=void 0,this._themeV2=void 0,this._raiseEvent()},t.prototype._setTheme=function(t,n){e.Validate.isNotNullOrUndefined(t,"theme"),this._theme=Object.freeze(t),n&&(this._themeV2=Object.freeze(n)),this._raiseEvent()},t.prototype.tryGetTheme=function(){return this._theme},t.prototype.tryGetThemeV2=function(){return this._themeV2},t.prototype._raiseEvent=function(){e._SPEventManager.instance.raiseEvent(this._themeChangedEventName,{theme:this._theme,themeV2:this._themeV2})},t.serviceKey=e.ServiceKey.create("sp-component-base.ThemeProvider",t),t._themeChangedEventNameLiteral="ThemeProvider.themeChangedEvent",t._instanceCount=0,t}();p(424).loadStyles(".s_mwxHE_o5ljQ{background-color:transparent;height:100%;margin:5px;position:relative;width:100%}.s_bzcYC_o5ljQ{fill:#f4f4f4}",!0);const x=function(){function e(){}return e.createShimmer=function(t,n,a,i,r){void 0===r&&(r=void 0),t=t||100,n=n||100;var o=document.createElement("div");o.className="s_mwxHE_o5ljQ";var s=document.createElement("div"),c=.9*n/9,d=2*(c=Math.min(16,c)),l=c,u=l+d,f=u+d,p=f+d,m="s_bzcYC_o5ljQ";s.innerHTML="<svg width=".concat(t," height=").concat(n,' viewBox="0 0 ').concat(t," ").concat(n,'" version="1.1"\n xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n <title>').concat(i,"</title>\n <g id=").concat(a,'_Shimmer stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">\n <rect x="0" y="0" width=').concat(t," height=").concat(n,"></rect>\n ").concat(e._shimmerRect(a+"_1",m,8,l,20,c),"\n ").concat(e._shimmerRect(a+"_2",m,8,u,40,c),"\n ").concat(e._shimmerRect(a+"_3",m,8,f,90,c),"\n ").concat(e._shimmerRect(a+"_4",m,8,p,80,c),"\n </g>\n </svg>"),void 0!==r&&(o.style.margin=r+""),o.appendChild(s);var _=document.createElement("div");return _.setAttribute("role","status"),_.setAttribute("aria-live","polite"),o.appendChild(_),o},e._shimmerRect=function(e,t,n,a,i,r){return"<rect id=".concat(e," class=").concat(t," x=").concat(n," y=").concat(a,' width="').concat(i,'%" height=').concat(r,'>\n <animate\n attributeName="opacity"\n dur="1s"\n values="0.2;0.5;0.9"\n repeatCount="indefinite"\n begin="0"/>\n </rect>')},e}();var C=new RegExp("^https://[^/]*/");function O(e,t){if(!e)return t;var n=!1;return"/"!==t.charAt(t.length-1)&&(t+="/",n=!0),t=t.replace(C,"https://".concat(e,"/")),n&&(t=t.substr(0,t.length-1)),t}var w=p(519),E={CacheConfigMissmatch:"CacheConfigMissmatch",LateFlush:"LateFlush",CachedItemNotFound:"CachedItemNotFound",CacheExpired:"CacheExpired",NotSpecified:"NotSpecified",NotApplicable:"N/A"},A="N/A",L=function(){function t(){}return t.collect=function(n,a,i){var r=function(e){return w._PerformanceLogger.readComponentBreakdown(a,e)||w._PerformanceLogger.readTempData("".concat(a,".").concat(e))},o=r("start"),s=r("modulesLoaded"),c=r("init"),d=r("end"),l=!!r("displaySpinner"),u=Boolean(i&&i.legacyPageContext&&i.legacyPageContext.isMultiGeoTenant),f=A,p=A,m="N/A",_=E.NotApplicable;if(n.isInternal){var h=r("CacheHit"),b=r("CacheMiss"),g=r("prefetchedData");m=Boolean(h||b)?h?"true":"false":"N/A",_=t._getCacheMissReason(h,r);var v=w._PerformanceLogger.now(),y=w._PerformanceDataDimensions.Layout,S=w._PerformanceDataDimensions.DataProvider,D=w._PerformanceLogger.readFullEUPLBreakDown();Object.keys(D).forEach(function(e){e.indexOf(a)>-1&&(p===A&&e.indexOf(y)>-1?p=e.split(y)[1]:e.indexOf(S)>-1&&(f===A||D[e]<v)&&(f=e.split(S)[1],v=D[e]))}),f=g?"Prefetch":f}var I=w._PerformanceLogger.getWebpartFlightsAndExperiments(a),x=this._getSyncRenderTime(p,r),C={alias:n.alias,isMultiGeo:u,isInternal:n.isInternal,isSpinnyShown:l,manifestId:n.id,moduleLoadTime:Math.floor(s-o),initTime:Math.floor(c-s),renderTime:Math.floor(d-c),syncRenderTime:x,scenarioId:w._PerformanceLogger.getScenarioId(),isFullPage:w._PerformanceLogger.fullPageLoad,dataProvider:f,layout:p,mySiteCacheHit:m,cacheMissReason:_,flights:I,storeAppId:n.storeAppId,mpnId:n.mpnId,componentDeveloperName:n.componentDeveloperName};return C.teamsHosted=e._BrowserUtilities.isTeamsHosted(),C},t._getSyncRenderTime=function(e,t){var n=void 0;n=Math.floor(t("syncRender")-t("getDataComplete"));var a=t("postRenderComplete"),i=t("loadLayoutEnd"),r=t("syncLayoutRenderComplete");return i&&r&&(n=Math.floor(n+(r-i))),a&&(n=Math.floor(n+(a-t(w._PerformanceDataDimensions.Layout+e)))),n},t._getCacheMissReason=function(e,t){if(e)return E.NotApplicable;var n=!!t("CacheMissConfigMismatch"),a=!!t("LateFlush"),i=!!t("CachedWebPartNotFound"),r=!!t("CacheExpired"),o=E.NotSpecified;return n?o=E.CacheConfigMissmatch:a?o=E.LateFlush:i?o=E.CachedItemNotFound:r&&(o=E.CacheExpired),o},t}(),k=function(){function t(e){this._serviceScope=e}return t.prototype.getClient=function(){var e=this;if(this._teamsAppsClient)return Promise.resolve(this._teamsAppsClient);if(!this._teamsAppsClientPromise){var t=new a._QosMonitor("DeferredTeamsAppsClient.LoadTeamsAppClient");this._teamsAppsClientPromise=p.e(216).then(p.bind(p,165)).then(function(n){var a=n.TeamsAppsClient;return e._teamsAppsClient=new a(e._serviceScope),t.writeSuccess(),e._teamsAppsClient}).catch(function(e){throw t.writeUnexpectedFailure(void 0,e),e})}return this._teamsAppsClientPromise},t.serviceKey=e.ServiceKey.create("sp-teams-apps-client",t),t}()})(),g})())})();
|