@microsoft/sp-http-msgraph 1.20.0-rc.1 → 1.21.0-beta.0
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/aec2bbfd-a968-4d5b-a279-12e570f378e6.manifest.json +133 -133
- package/dist/{chunk.sp-http-msgraphclient_none_0ee8c29b65f15147d1e4.js → chunk.sp-http-msgraphclient_none_43f9733d75cb9d14225f.js} +1 -1
- package/dist/chunk.sp-http-msgraphclientv3_none_8afa037ac77a282c41ce.js +2 -0
- package/dist/sp-http-msgraph_default_183315c6038725143b04.js +1 -0
- package/dist/sp-http-msgraph_en-us_98067ee7351d640ec0a5.js +1 -0
- package/dist/sp-http-msgraph_qps-ploc_99087b2ab030c14a8d7d.js +1 -0
- package/dist/sp-http-msgraph_qps-ploca_7ce0881ba09d5e945f60.js +1 -0
- package/dist/tsdoc-metadata.json +1 -1
- package/lib-commonjs/MSGraphClientFactory.js +3 -12
- package/lib-commonjs/MSGraphClientV3.js +10 -0
- package/lib-commonjs/common/Killswitches.js +7 -1
- package/package.json +12 -11
- package/dist/chunk.sp-http-msgraphclientv3_none_df61f49dc36b3abf0e83.js +0 -2
- package/dist/sp-http-msgraph_default_4667031b3978a420e01f.js +0 -1
- package/dist/sp-http-msgraph_en-us_cfda7d677f14f5282290.js +0 -1
- package/dist/sp-http-msgraph_qps-ploc_b55db0e8ffd8c14ef4b3.js +0 -1
- package/dist/sp-http-msgraph_qps-ploca_219e13a719a5aa2f5c1f.js +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(()=>{var e=document.currentScript;define("aec2bbfd-a968-4d5b-a279-12e570f378e6_1.21.0",["tslib","@microsoft/sp-core-library","@microsoft/sp-diagnostics","@microsoft/sp-http-base","@microsoft/sp-loader"],(t,n,a,i,r)=>(()=>{"use strict";var o,s,c,d,l,u={676:e=>{e.exports=n},207:e=>{e.exports=a},737:e=>{e.exports=i},414:e=>{e.exports=r},280:e=>{e.exports=t}},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,s=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,p.t=function(e,t){if(1&t&&(e=this(e)),8&t)return e;if("object"==typeof e&&e){if(4&t&&e.__esModule)return e;if(16&t&&"function"==typeof e.then)return e}var n=Object.create(null);p.r(n);var a={};o=o||[null,s({}),s([]),s(s)];for(var i=2&t&&e;"object"==typeof i&&!~o.indexOf(i);i=s(i))Object.getOwnPropertyNames(i).forEach(t=>a[t]=()=>e[t]);return a.default=()=>e,p.d(n,a),n},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."+{265:"sp-http-msgraphclient",308:"sp-http-msgraphclientv3"}[e]+"_none_"+{265:"43f9733d75cb9d14225f",308:"8afa037ac77a282c41ce"}[e]+".js",p.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),p.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),c={},d="aec2bbfd-a968-4d5b-a279-12e570f378e6_1.21.0:",p.l=(e,t,n,a)=>{if(c[e])c[e].push(t);else{var i,r;if(void 0!==n)for(var o=document.getElementsByTagName("script"),s=0;s<o.length;s++){var l=o[s];if(l.getAttribute("src")==e||l.getAttribute("data-webpack")==d+n){i=l;break}}i||(r=!0,(i=document.createElement("script")).charset="utf-8",i.timeout=120,p.nc&&i.setAttribute("nonce",p.nc),i.setAttribute("data-webpack",d+n),i.src=e,0!==i.src.indexOf(window.location.origin+"/")&&(i.crossOrigin="anonymous")),c[e]=[t];var u=(t,n)=>{i.onerror=i.onload=null,clearTimeout(f);var a=c[e];if(delete c[e],i.parentNode&&i.parentNode.removeChild(i),a&&a.forEach(e=>e(n)),t)return t(n)},f=setTimeout(u.bind(null,void 0,{type:"timeout",target:i}),12e4);i.onerror=u.bind(null,i.onerror),i.onload=u.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})},l=e?e.src:"",p.p=l.slice(0,l.lastIndexOf("/")+1),p.f.compat=(e,t)=>{for(var n=function(e){return{308:[{i:"32b9363b-09ff-4959-929a-cab2663fb223",v:"3.0.2",m:360}]}[e]||[]}(e),a=0;a<n.length;a++)p.m[n[a].m]||(e=>{t.push(m.SPComponentLoader.loadComponentById(e.i,e.v).then(t=>{p.m[e.m]=e=>e.exports=t}))})(n[a])};var m=p(414);(()=>{var e={884: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_aec2bbfd-a968-4d5b-a279-12e570f378e6_1.21.0"]=self["webpackJsonp_aec2bbfd-a968-4d5b-a279-12e570f378e6_1.21.0"]||[];n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))})();var _={};return(()=>{p.r(_),p.d(_,{MSGraphClient:()=>r,MSGraphClientFactory:()=>o});var e=p(280),t=p(676),n=p(207),a=p(737);const i=JSON.parse('{"C":"Śōŕŕŷ, ŵē ćōũĺďń\\u0027ţ màķē à ćōńńēćţĩōń ţō Mĩćŕōśōƒţ Ĝŕàƥĥ."}'),r=function(){function r(e){var t=this;e.whenFinished(function(){r._graphBaseUrl=e.consume(a._GraphHttpClientContext.serviceKey).getGraphEndpointUrl(),r._instance||(r._instance=t._createGraphClientInstance(a._AadTokenProviders.configurable))})}return r.prototype.api=function(n,a){return t.Validate.isNonemptyString(n,"path"),r._instance.config=(0,e.__assign)((0,e.__assign)({},r._originalConfig),a||{}),r._instance.api(n)},r.prototype._createGraphClientInstance=function(e){var t,n=this;if(!r._window.MicrosoftGraph||!r._window.MicrosoftGraph.Client)throw new Error(i.C);t=r._window.MicrosoftGraph.Client,r._window.MicrosoftGraph=void 0;var a=t.init({authProvider:function(t){n._getOAuthToken(e).then(function(e){t(void 0,e)}).catch(function(e){t(e,"")})},baseUrl:r._graphBaseUrl});return r._originalConfig=a.config,a},r.prototype._getOAuthToken=function(e){var t=new n._QosMonitor("MSGraphClient.FetchGraphToken");return e.getToken(r._graphBaseUrl).then(function(e){return t.writeSuccess(),e}).catch(function(e){throw t.writeUnexpectedFailure(e.message,e),e})},r._window=window,r}(),o=function(){function e(e){this._serviceScope=e}return e.prototype.getClient=function(e,a){var i=this;if(e&&"1"!==e){if("3"!==e||t._SPKillSwitch.isActivated("24401914-15d6-4c3c-aeea-4aace46d5586"))throw Error("Not yet implemented.");var o=new n._QosMonitor("MSGraphClientFactory.GetClientV3");return p.e(308).then(p.bind(p,979)).then(function(e){return o.writeSuccess({version:3,options:!!a}),new e.default(i._serviceScope,a,void 0)}).catch(function(e){throw o.writeUnexpectedFailure("ImportMSGraphV3ChunkFailed",e),e})}return r._instance?Promise.resolve(new r(this._serviceScope)):p.e(265).then(p.t.bind(p,946,23)).then(function(){return new r(i._serviceScope)})},e.prototype.getClientWithMiddleware=function(e,t){var a=this,i=new n._QosMonitor("MSGraphClientFactory.GetClientV3WithMiddleware");return p.e(308).then(p.bind(p,979)).then(function(e){return i.writeSuccess({version:3}),new e.default(a._serviceScope,void 0,t)}).catch(function(e){throw i.writeUnexpectedFailure("ImportMSGraphV3ChunkFailed",e),e})},e.prototype.getClientInternal=function(e,t){var a=this,i=new n._QosMonitor("MSGraphClientFactory.GetInternalClientV3");return p.e(308).then(p.bind(p,979)).then(function(e){return i.writeSuccess({version:3,options:!!t}),new e.default(a._serviceScope,t,void 0,!0)}).catch(function(e){throw i.writeUnexpectedFailure("ImportMSGraphV3ChunkFailed",e),e})},e.serviceKey=t.ServiceKey.create("sp-http:MSGraphClientFactory",e),e}()})(),_})())})();
|
package/dist/tsdoc-metadata.json
CHANGED
|
@@ -4,9 +4,6 @@ var tslib_1 = require("tslib");
|
|
|
4
4
|
var sp_core_library_1 = require("@microsoft/sp-core-library");
|
|
5
5
|
var sp_diagnostics_1 = require("@microsoft/sp-diagnostics");
|
|
6
6
|
var MSGraphClient_1 = tslib_1.__importDefault(require("./MSGraphClient"));
|
|
7
|
-
function isWriteQoSUnexpectedFailureKSActivated() {
|
|
8
|
-
return sp_core_library_1._SPKillSwitch.isActivated('416713e6-ce26-48f7-9e12-28fe39f77b1e' /* '02/07/2023', 'Write QoS unexpected failure when chaunk import failed' */);
|
|
9
|
-
}
|
|
10
7
|
/**
|
|
11
8
|
* Returns a preinitialized version of the MSGraphClient.
|
|
12
9
|
* For more information: {@link https://docs.microsoft.com/en-us/sharepoint/dev/spfx/use-msgraph}
|
|
@@ -48,9 +45,7 @@ var MSGraphClientFactory = /** @class */ (function () {
|
|
|
48
45
|
return new msGraphClientV3.default(_this._serviceScope, options, undefined);
|
|
49
46
|
})
|
|
50
47
|
.catch(function (error) {
|
|
51
|
-
|
|
52
|
-
qosMonitor_1.writeUnexpectedFailure('ImportMSGraphV3ChunkFailed', error);
|
|
53
|
-
}
|
|
48
|
+
qosMonitor_1.writeUnexpectedFailure('ImportMSGraphV3ChunkFailed', error);
|
|
54
49
|
throw error;
|
|
55
50
|
});
|
|
56
51
|
}
|
|
@@ -77,9 +72,7 @@ var MSGraphClientFactory = /** @class */ (function () {
|
|
|
77
72
|
return new msGraphClientV3.default(_this._serviceScope, undefined, options);
|
|
78
73
|
})
|
|
79
74
|
.catch(function (error) {
|
|
80
|
-
|
|
81
|
-
qosMonitor.writeUnexpectedFailure('ImportMSGraphV3ChunkFailed', error);
|
|
82
|
-
}
|
|
75
|
+
qosMonitor.writeUnexpectedFailure('ImportMSGraphV3ChunkFailed', error);
|
|
83
76
|
throw error;
|
|
84
77
|
});
|
|
85
78
|
};
|
|
@@ -99,9 +92,7 @@ var MSGraphClientFactory = /** @class */ (function () {
|
|
|
99
92
|
return new msGraphClientV3.default(_this._serviceScope, options, undefined, true);
|
|
100
93
|
})
|
|
101
94
|
.catch(function (error) {
|
|
102
|
-
|
|
103
|
-
qosMonitor.writeUnexpectedFailure('ImportMSGraphV3ChunkFailed', error);
|
|
104
|
-
}
|
|
95
|
+
qosMonitor.writeUnexpectedFailure('ImportMSGraphV3ChunkFailed', error);
|
|
105
96
|
throw error;
|
|
106
97
|
});
|
|
107
98
|
};
|
|
@@ -178,6 +178,16 @@ var MSGraphClientV3 = /** @class */ (function () {
|
|
|
178
178
|
}
|
|
179
179
|
// we can add more middleware to the end of the chain here
|
|
180
180
|
clientOptions.middleware = middlewareChain;
|
|
181
|
+
if (!(0, Killswitches_1.isCustomHostsKSActivated)()) {
|
|
182
|
+
try {
|
|
183
|
+
var url = new URL(MSGraphClientV3._graphBaseUrl);
|
|
184
|
+
clientOptions.customHosts = new Set([url.host]);
|
|
185
|
+
}
|
|
186
|
+
catch (e) {
|
|
187
|
+
var qosMonitor = new sp_diagnostics_1._QosMonitor('MSGraphClientV3.CustomHostsAdditionsFailed');
|
|
188
|
+
qosMonitor.writeUnexpectedFailure(e.message, e);
|
|
189
|
+
}
|
|
190
|
+
}
|
|
181
191
|
return ms_graph_v3_bundle_1.Client.initWithMiddleware(clientOptions);
|
|
182
192
|
};
|
|
183
193
|
return MSGraphClientV3;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.isPassSdkVersionKSActivated = void 0;
|
|
3
|
+
exports.isCustomHostsKSActivated = exports.isPassSdkVersionKSActivated = void 0;
|
|
4
4
|
var sp_core_library_1 = require("@microsoft/sp-core-library");
|
|
5
5
|
function isPassSdkVersionKSActivated() {
|
|
6
6
|
return sp_core_library_1._SPKillSwitch.isActivated('cf20bd1c-8f94-466b-b394-382640c75c23'
|
|
@@ -8,4 +8,10 @@ function isPassSdkVersionKSActivated() {
|
|
|
8
8
|
);
|
|
9
9
|
}
|
|
10
10
|
exports.isPassSdkVersionKSActivated = isPassSdkVersionKSActivated;
|
|
11
|
+
function isCustomHostsKSActivated() {
|
|
12
|
+
return sp_core_library_1._SPKillSwitch.isActivated('249a915b-2c26-4fe0-a2da-19f8a7b2b56e'
|
|
13
|
+
/* '09/06/2024', 'grahamc - Add currrent graph endpoint to custom hosts'*/
|
|
14
|
+
);
|
|
15
|
+
}
|
|
16
|
+
exports.isCustomHostsKSActivated = isCustomHostsKSActivated;
|
|
11
17
|
//# sourceMappingURL=Killswitches.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@microsoft/sp-http-msgraph",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.21.0-beta.0",
|
|
4
4
|
"description": "Microsoft Graph communication layer for the SharePoint Framework",
|
|
5
5
|
"license": "https://aka.ms/spfx/license",
|
|
6
6
|
"homepage": "http://aka.ms/spfx",
|
|
@@ -12,19 +12,20 @@
|
|
|
12
12
|
},
|
|
13
13
|
"dependencies": {
|
|
14
14
|
"@microsoft/microsoft-graph-clientv1": "npm:@microsoft/microsoft-graph-client@1.7.2-spfx",
|
|
15
|
+
"@swc/helpers": "0.5.12",
|
|
15
16
|
"tslib": "2.3.1",
|
|
16
|
-
"@microsoft/sp-core-library": "1.
|
|
17
|
-
"@microsoft/sp-diagnostics": "1.
|
|
18
|
-
"@microsoft/sp-
|
|
19
|
-
"@microsoft/sp-
|
|
17
|
+
"@microsoft/sp-core-library": "1.21.0-beta.0",
|
|
18
|
+
"@microsoft/sp-diagnostics": "1.21.0-beta.0",
|
|
19
|
+
"@microsoft/sp-http-base": "1.21.0-beta.0",
|
|
20
|
+
"@microsoft/sp-loader": "1.21.0-beta.0"
|
|
20
21
|
},
|
|
21
22
|
"devDependencies": {
|
|
22
23
|
"@microsoft/microsoft-graph-client": "3.0.2",
|
|
23
|
-
"@rushstack/heft": "0.
|
|
24
|
-
"eslint": "8.57.
|
|
25
|
-
"@microsoft/sp-module-interfaces": "1.
|
|
26
|
-
"@ms/
|
|
27
|
-
"@ms/
|
|
24
|
+
"@rushstack/heft": "0.68.13",
|
|
25
|
+
"eslint": "8.57.1",
|
|
26
|
+
"@microsoft/sp-module-interfaces": "1.21.0-beta.0",
|
|
27
|
+
"@ms/spfx-internal-web-build-rig": "0.1.0",
|
|
28
|
+
"@ms/ms-graph-v3-bundle": "3.0.2"
|
|
28
29
|
},
|
|
29
30
|
"peerDependencies": {
|
|
30
31
|
"@microsoft/microsoft-graph-client": "3.0.2"
|
|
@@ -35,7 +36,7 @@
|
|
|
35
36
|
"deploy": "heft dev-deploy",
|
|
36
37
|
"start": "heft build-watch --serve",
|
|
37
38
|
"_phase:build": "heft run --only build -- --clean",
|
|
38
|
-
"_phase:build
|
|
39
|
+
"_phase:build:incremental": "heft run --only build --",
|
|
39
40
|
"_phase:depscan": "heft depscan"
|
|
40
41
|
}
|
|
41
42
|
}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";(self["webpackJsonp_aec2bbfd-a968-4d5b-a279-12e570f378e6_1.20.0"]=self["webpackJsonp_aec2bbfd-a968-4d5b-a279-12e570f378e6_1.20.0"]||[]).push([[224],{963:(e,t,n)=>{n.r(t),n.d(t,{default:()=>l});var a=n(553),i=n(878),r=n(377),o=n(17),s=n(61);function c(){return i._SPKillSwitch.isActivated("cf20bd1c-8f94-466b-b394-382640c75c23")}var d=function(){function e(e,t,n){this._tokenProvider=e,this._graphBaseUrl=t,this._isInternal=n}return e.prototype.getAccessToken=function(){return this._isInternal?this._getInternalToken(this._tokenProvider):this._getOAuthToken(this._tokenProvider)},e.prototype._getOAuthToken=function(e){var t=new r._QosMonitor("MSGraphClient.FetchGraphToken");return e.getToken(this._graphBaseUrl).then(function(e){return t.writeSuccess(),e}).catch(function(e){throw t.writeUnexpectedFailure(e.message,e),e})},e.prototype._getInternalToken=function(e){var t=new r._QosMonitor("MSGraphClient.FetchInternalGraphToken");return e._getTokenInternal(this._graphBaseUrl,s._AadTokenProviders.preAuthorizedConfiguration).then(function(e){return t.writeSuccess(),e}).catch(function(e){throw t.writeUnexpectedFailure(e.message,e),e})},e}();const l=function(){function e(t,n,a,r){var o=this;this._isInternal=!1,t.whenFinished(function(){if(e._graphBaseUrl||(e._graphBaseUrl=t.consume(s._GraphHttpClientContext.serviceKey).getGraphEndpointUrl()),!c()){var d=t.consume(i._ClientManifestData.serviceKey);o._consumerComponentManifest=d.manifest}r?(o._isInternal=!0,e._internalInstance||(e._internalInstance=o._createInternalGraphClientInstance(s._AadTokenProviders.configurable,n))):e._instance||(e._instance=void 0!==a?o._createGraphClientInstanceWithMiddleware(s._AadTokenProviders.configurable,a):o._createGraphClientInstance(s._AadTokenProviders.configurable,n))})}return e.prototype.api=function(t){return i.Validate.isNonemptyString(t,"path"),this._isInternal?e._internalInstance.api(t):e._instance.api(t)},Object.defineProperty(e.prototype,"client",{get:function(){return this._isInternal?e._internalInstance:e._instance},enumerable:!1,configurable:!0}),e.prototype._createGraphClientInstance=function(e,t){var n,i=new r._QosMonitor("MSGraphClientV3.CreateGraphClientInstance");try{n=this._createClientInstance((0,a.__assign)((0,a.__assign)({},t),{authProvider:void 0}),e,!1)}catch(e){throw i.writeUnexpectedFailure(e.message,e),e}return n},e.prototype._createGraphClientInstanceWithMiddleware=function(e,t){var n,a=new r._QosMonitor("MSGraphClientV3.CreateGraphClientInstanceWithMiddleware");try{return n=this._createClientInstance(t,e,!1),a.writeSuccess(),n}catch(e){throw a.writeUnexpectedFailure(e.message,e),e}},e.prototype._createInternalGraphClientInstance=function(e,t){var n,i=new r._QosMonitor("MSGraphClientV3.CreateInternalGraphClientInstance");try{n=this._createClientInstance((0,a.__assign)((0,a.__assign)({},t),{authProvider:void 0}),e,!0)}catch(e){throw i.writeUnexpectedFailure(e.message,e),e}return n},e.prototype._createClientInstance=function(t,n,a){var i,r=t||{};if(r.baseUrl=e._graphBaseUrl,r.middleware?(i=[new o.AuthenticationHandler(new d(n,e._graphBaseUrl,a))],Array.isArray(r.middleware)?i.push.apply(i,r.middleware):i.push(r.middleware)):i=o.MiddlewareFactory.getDefaultMiddlewareChain(new d(n,e._graphBaseUrl,a)),!c()&&this._consumerComponentManifest){r.fetchOptions||(r.fetchOptions={}),r.fetchOptions.headers||(r.fetchOptions.headers={});var s="SPFx/".concat(this._consumerComponentManifest.alias,"/").concat(this._consumerComponentManifest.id,"/Is3PRequest:").concat(this._consumerComponentManifest.isInternal?"0":"1"),l=r.fetchOptions.headers;if(Array.isArray(l)){var u=l.findIndex(function(e){return"SdkVersion"===e[0]});-1===u?l.push(["SdkVersion",s]):l[u][1]+=", ".concat(s)}else l instanceof Headers?l.has("SdkVersion")?l.set("SdkVersion","".concat(l.get("SdkVersion"),", ").concat(s)):l.set("SdkVersion",s):l.SdkVersion=l.SdkVersions?"".concat(l.SdkVersion,", ").concat(s):s}return r.middleware=i,o.Client.initWithMiddleware(r)},e}()}
|
|
2
|
-
}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(()=>{var e=document.currentScript;define("aec2bbfd-a968-4d5b-a279-12e570f378e6_1.20.0",["tslib","@microsoft/sp-core-library","@microsoft/sp-diagnostics","@microsoft/sp-http-base","@microsoft/sp-loader"],(t,n,a,i,r)=>(()=>{"use strict";var o,s,c,d,l,u={878:e=>{e.exports=n},377:e=>{e.exports=a},61:e=>{e.exports=i},37:e=>{e.exports=r},553:e=>{e.exports=t}},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,s=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,p.t=function(e,t){if(1&t&&(e=this(e)),8&t)return e;if("object"==typeof e&&e){if(4&t&&e.__esModule)return e;if(16&t&&"function"==typeof e.then)return e}var n=Object.create(null);p.r(n);var a={};o=o||[null,s({}),s([]),s(s)];for(var i=2&t&&e;"object"==typeof i&&!~o.indexOf(i);i=s(i))Object.getOwnPropertyNames(i).forEach(t=>a[t]=()=>e[t]);return a.default=()=>e,p.d(n,a),n},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."+{224:"sp-http-msgraphclientv3",302:"sp-http-msgraphclient"}[e]+"_none_"+{224:"df61f49dc36b3abf0e83",302:"0ee8c29b65f15147d1e4"}[e]+".js",p.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),p.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),c={},d="aec2bbfd-a968-4d5b-a279-12e570f378e6_1.20.0:",p.l=(e,t,n,a)=>{if(c[e])c[e].push(t);else{var i,r;if(void 0!==n)for(var o=document.getElementsByTagName("script"),s=0;s<o.length;s++){var l=o[s];if(l.getAttribute("src")==e||l.getAttribute("data-webpack")==d+n){i=l;break}}i||(r=!0,(i=document.createElement("script")).charset="utf-8",i.timeout=120,p.nc&&i.setAttribute("nonce",p.nc),i.setAttribute("data-webpack",d+n),i.src=e,0!==i.src.indexOf(window.location.origin+"/")&&(i.crossOrigin="anonymous")),c[e]=[t];var u=(t,n)=>{i.onerror=i.onload=null,clearTimeout(f);var a=c[e];if(delete c[e],i.parentNode&&i.parentNode.removeChild(i),a&&a.forEach(e=>e(n)),t)return t(n)},f=setTimeout(u.bind(null,void 0,{type:"timeout",target:i}),12e4);i.onerror=u.bind(null,i.onerror),i.onload=u.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})},l=e?e.src:"",p.p=l.slice(0,l.lastIndexOf("/")+1),p.f.compat=(e,t)=>{for(var n=function(e){return{224:[{i:"32b9363b-09ff-4959-929a-cab2663fb223",v:"3.0.2",m:17}]}[e]||[]}(e),a=0;a<n.length;a++)p.m[n[a].m]||(e=>{t.push(m.SPComponentLoader.loadComponentById(e.i,e.v).then(t=>{p.m[e.m]=e=>e.exports=t}))})(n[a])};var m=p(37);(()=>{var e={341: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_aec2bbfd-a968-4d5b-a279-12e570f378e6_1.20.0"]=self["webpackJsonp_aec2bbfd-a968-4d5b-a279-12e570f378e6_1.20.0"]||[];n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))})();var _={};return(()=>{p.r(_),p.d(_,{MSGraphClient:()=>r,MSGraphClientFactory:()=>s});var e=p(553),t=p(878),n=p(377),a=p(61);const i=JSON.parse('{"F":"graphClientInitializationError"}'),r=function(){function r(e){var t=this;e.whenFinished(function(){r._graphBaseUrl=e.consume(a._GraphHttpClientContext.serviceKey).getGraphEndpointUrl(),r._instance||(r._instance=t._createGraphClientInstance(a._AadTokenProviders.configurable))})}return r.prototype.api=function(n,a){return t.Validate.isNonemptyString(n,"path"),r._instance.config=(0,e.__assign)((0,e.__assign)({},r._originalConfig),a||{}),r._instance.api(n)},r.prototype._createGraphClientInstance=function(e){var t,n=this;if(!r._window.MicrosoftGraph||!r._window.MicrosoftGraph.Client)throw new Error(i.F);t=r._window.MicrosoftGraph.Client,r._window.MicrosoftGraph=void 0;var a=t.init({authProvider:function(t){n._getOAuthToken(e).then(function(e){t(void 0,e)}).catch(function(e){t(e,"")})},baseUrl:r._graphBaseUrl});return r._originalConfig=a.config,a},r.prototype._getOAuthToken=function(e){var t=new n._QosMonitor("MSGraphClient.FetchGraphToken");return e.getToken(r._graphBaseUrl).then(function(e){return t.writeSuccess(),e}).catch(function(e){throw t.writeUnexpectedFailure(e.message,e),e})},r._window=window,r}();function o(){return t._SPKillSwitch.isActivated("416713e6-ce26-48f7-9e12-28fe39f77b1e")}const s=function(){function e(e){this._serviceScope=e}return e.prototype.getClient=function(e,a){var i=this;if(e&&"1"!==e){if("3"!==e||t._SPKillSwitch.isActivated("24401914-15d6-4c3c-aeea-4aace46d5586"))throw Error("Not yet implemented.");var s=new n._QosMonitor("MSGraphClientFactory.GetClientV3");return p.e(224).then(p.bind(p,963)).then(function(e){return s.writeSuccess({version:3,options:!!a}),new e.default(i._serviceScope,a,void 0)}).catch(function(e){throw o()||s.writeUnexpectedFailure("ImportMSGraphV3ChunkFailed",e),e})}return r._instance?Promise.resolve(new r(this._serviceScope)):p.e(302).then(p.t.bind(p,201,23)).then(function(){return new r(i._serviceScope)})},e.prototype.getClientWithMiddleware=function(e,t){var a=this,i=new n._QosMonitor("MSGraphClientFactory.GetClientV3WithMiddleware");return p.e(224).then(p.bind(p,963)).then(function(e){return i.writeSuccess({version:3}),new e.default(a._serviceScope,void 0,t)}).catch(function(e){throw o()||i.writeUnexpectedFailure("ImportMSGraphV3ChunkFailed",e),e})},e.prototype.getClientInternal=function(e,t){var a=this,i=new n._QosMonitor("MSGraphClientFactory.GetInternalClientV3");return p.e(224).then(p.bind(p,963)).then(function(e){return i.writeSuccess({version:3,options:!!t}),new e.default(a._serviceScope,t,void 0,!0)}).catch(function(e){throw o()||i.writeUnexpectedFailure("ImportMSGraphV3ChunkFailed",e),e})},e.serviceKey=t.ServiceKey.create("sp-http:MSGraphClientFactory",e),e}()})(),_})())})();
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(()=>{var e=document.currentScript;define("aec2bbfd-a968-4d5b-a279-12e570f378e6_1.20.0",["tslib","@microsoft/sp-core-library","@microsoft/sp-diagnostics","@microsoft/sp-http-base","@microsoft/sp-loader"],(t,n,a,i,r)=>(()=>{"use strict";var o,s,c,d,l,u={878:e=>{e.exports=n},377:e=>{e.exports=a},61:e=>{e.exports=i},37:e=>{e.exports=r},553:e=>{e.exports=t}},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,s=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,p.t=function(e,t){if(1&t&&(e=this(e)),8&t)return e;if("object"==typeof e&&e){if(4&t&&e.__esModule)return e;if(16&t&&"function"==typeof e.then)return e}var n=Object.create(null);p.r(n);var a={};o=o||[null,s({}),s([]),s(s)];for(var i=2&t&&e;"object"==typeof i&&!~o.indexOf(i);i=s(i))Object.getOwnPropertyNames(i).forEach(t=>a[t]=()=>e[t]);return a.default=()=>e,p.d(n,a),n},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."+{224:"sp-http-msgraphclientv3",302:"sp-http-msgraphclient"}[e]+"_none_"+{224:"df61f49dc36b3abf0e83",302:"0ee8c29b65f15147d1e4"}[e]+".js",p.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),p.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),c={},d="aec2bbfd-a968-4d5b-a279-12e570f378e6_1.20.0:",p.l=(e,t,n,a)=>{if(c[e])c[e].push(t);else{var i,r;if(void 0!==n)for(var o=document.getElementsByTagName("script"),s=0;s<o.length;s++){var l=o[s];if(l.getAttribute("src")==e||l.getAttribute("data-webpack")==d+n){i=l;break}}i||(r=!0,(i=document.createElement("script")).charset="utf-8",i.timeout=120,p.nc&&i.setAttribute("nonce",p.nc),i.setAttribute("data-webpack",d+n),i.src=e,0!==i.src.indexOf(window.location.origin+"/")&&(i.crossOrigin="anonymous")),c[e]=[t];var u=(t,n)=>{i.onerror=i.onload=null,clearTimeout(f);var a=c[e];if(delete c[e],i.parentNode&&i.parentNode.removeChild(i),a&&a.forEach(e=>e(n)),t)return t(n)},f=setTimeout(u.bind(null,void 0,{type:"timeout",target:i}),12e4);i.onerror=u.bind(null,i.onerror),i.onload=u.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})},l=e?e.src:"",p.p=l.slice(0,l.lastIndexOf("/")+1),p.f.compat=(e,t)=>{for(var n=function(e){return{224:[{i:"32b9363b-09ff-4959-929a-cab2663fb223",v:"3.0.2",m:17}]}[e]||[]}(e),a=0;a<n.length;a++)p.m[n[a].m]||(e=>{t.push(m.SPComponentLoader.loadComponentById(e.i,e.v).then(t=>{p.m[e.m]=e=>e.exports=t}))})(n[a])};var m=p(37);(()=>{var e={341: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_aec2bbfd-a968-4d5b-a279-12e570f378e6_1.20.0"]=self["webpackJsonp_aec2bbfd-a968-4d5b-a279-12e570f378e6_1.20.0"]||[];n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))})();var _={};return(()=>{p.r(_),p.d(_,{MSGraphClient:()=>r,MSGraphClientFactory:()=>s});var e=p(553),t=p(878),n=p(377),a=p(61);const i=JSON.parse('{"F":"Sorry, we couldn\\u0027t make a connection to Microsoft Graph."}'),r=function(){function r(e){var t=this;e.whenFinished(function(){r._graphBaseUrl=e.consume(a._GraphHttpClientContext.serviceKey).getGraphEndpointUrl(),r._instance||(r._instance=t._createGraphClientInstance(a._AadTokenProviders.configurable))})}return r.prototype.api=function(n,a){return t.Validate.isNonemptyString(n,"path"),r._instance.config=(0,e.__assign)((0,e.__assign)({},r._originalConfig),a||{}),r._instance.api(n)},r.prototype._createGraphClientInstance=function(e){var t,n=this;if(!r._window.MicrosoftGraph||!r._window.MicrosoftGraph.Client)throw new Error(i.F);t=r._window.MicrosoftGraph.Client,r._window.MicrosoftGraph=void 0;var a=t.init({authProvider:function(t){n._getOAuthToken(e).then(function(e){t(void 0,e)}).catch(function(e){t(e,"")})},baseUrl:r._graphBaseUrl});return r._originalConfig=a.config,a},r.prototype._getOAuthToken=function(e){var t=new n._QosMonitor("MSGraphClient.FetchGraphToken");return e.getToken(r._graphBaseUrl).then(function(e){return t.writeSuccess(),e}).catch(function(e){throw t.writeUnexpectedFailure(e.message,e),e})},r._window=window,r}();function o(){return t._SPKillSwitch.isActivated("416713e6-ce26-48f7-9e12-28fe39f77b1e")}const s=function(){function e(e){this._serviceScope=e}return e.prototype.getClient=function(e,a){var i=this;if(e&&"1"!==e){if("3"!==e||t._SPKillSwitch.isActivated("24401914-15d6-4c3c-aeea-4aace46d5586"))throw Error("Not yet implemented.");var s=new n._QosMonitor("MSGraphClientFactory.GetClientV3");return p.e(224).then(p.bind(p,963)).then(function(e){return s.writeSuccess({version:3,options:!!a}),new e.default(i._serviceScope,a,void 0)}).catch(function(e){throw o()||s.writeUnexpectedFailure("ImportMSGraphV3ChunkFailed",e),e})}return r._instance?Promise.resolve(new r(this._serviceScope)):p.e(302).then(p.t.bind(p,201,23)).then(function(){return new r(i._serviceScope)})},e.prototype.getClientWithMiddleware=function(e,t){var a=this,i=new n._QosMonitor("MSGraphClientFactory.GetClientV3WithMiddleware");return p.e(224).then(p.bind(p,963)).then(function(e){return i.writeSuccess({version:3}),new e.default(a._serviceScope,void 0,t)}).catch(function(e){throw o()||i.writeUnexpectedFailure("ImportMSGraphV3ChunkFailed",e),e})},e.prototype.getClientInternal=function(e,t){var a=this,i=new n._QosMonitor("MSGraphClientFactory.GetInternalClientV3");return p.e(224).then(p.bind(p,963)).then(function(e){return i.writeSuccess({version:3,options:!!t}),new e.default(a._serviceScope,t,void 0,!0)}).catch(function(e){throw o()||i.writeUnexpectedFailure("ImportMSGraphV3ChunkFailed",e),e})},e.serviceKey=t.ServiceKey.create("sp-http:MSGraphClientFactory",e),e}()})(),_})())})();
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(()=>{var e=document.currentScript;define("aec2bbfd-a968-4d5b-a279-12e570f378e6_1.20.0",["tslib","@microsoft/sp-core-library","@microsoft/sp-diagnostics","@microsoft/sp-http-base","@microsoft/sp-loader"],(t,n,a,i,r)=>(()=>{"use strict";var o,s,c,d,l,u={878:e=>{e.exports=n},377:e=>{e.exports=a},61:e=>{e.exports=i},37:e=>{e.exports=r},553:e=>{e.exports=t}},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,s=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,p.t=function(e,t){if(1&t&&(e=this(e)),8&t)return e;if("object"==typeof e&&e){if(4&t&&e.__esModule)return e;if(16&t&&"function"==typeof e.then)return e}var n=Object.create(null);p.r(n);var a={};o=o||[null,s({}),s([]),s(s)];for(var i=2&t&&e;"object"==typeof i&&!~o.indexOf(i);i=s(i))Object.getOwnPropertyNames(i).forEach(t=>a[t]=()=>e[t]);return a.default=()=>e,p.d(n,a),n},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."+{224:"sp-http-msgraphclientv3",302:"sp-http-msgraphclient"}[e]+"_none_"+{224:"df61f49dc36b3abf0e83",302:"0ee8c29b65f15147d1e4"}[e]+".js",p.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),p.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),c={},d="aec2bbfd-a968-4d5b-a279-12e570f378e6_1.20.0:",p.l=(e,t,n,a)=>{if(c[e])c[e].push(t);else{var i,r;if(void 0!==n)for(var o=document.getElementsByTagName("script"),s=0;s<o.length;s++){var l=o[s];if(l.getAttribute("src")==e||l.getAttribute("data-webpack")==d+n){i=l;break}}i||(r=!0,(i=document.createElement("script")).charset="utf-8",i.timeout=120,p.nc&&i.setAttribute("nonce",p.nc),i.setAttribute("data-webpack",d+n),i.src=e,0!==i.src.indexOf(window.location.origin+"/")&&(i.crossOrigin="anonymous")),c[e]=[t];var u=(t,n)=>{i.onerror=i.onload=null,clearTimeout(f);var a=c[e];if(delete c[e],i.parentNode&&i.parentNode.removeChild(i),a&&a.forEach(e=>e(n)),t)return t(n)},f=setTimeout(u.bind(null,void 0,{type:"timeout",target:i}),12e4);i.onerror=u.bind(null,i.onerror),i.onload=u.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})},l=e?e.src:"",p.p=l.slice(0,l.lastIndexOf("/")+1),p.f.compat=(e,t)=>{for(var n=function(e){return{224:[{i:"32b9363b-09ff-4959-929a-cab2663fb223",v:"3.0.2",m:17}]}[e]||[]}(e),a=0;a<n.length;a++)p.m[n[a].m]||(e=>{t.push(m.SPComponentLoader.loadComponentById(e.i,e.v).then(t=>{p.m[e.m]=e=>e.exports=t}))})(n[a])};var m=p(37);(()=>{var e={341: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_aec2bbfd-a968-4d5b-a279-12e570f378e6_1.20.0"]=self["webpackJsonp_aec2bbfd-a968-4d5b-a279-12e570f378e6_1.20.0"]||[];n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))})();var _={};return(()=>{p.r(_),p.d(_,{MSGraphClient:()=>r,MSGraphClientFactory:()=>s});var e=p(553),t=p(878),n=p(377),a=p(61);const i=JSON.parse('{"F":"[!!--##Śōŕŕŷ, ŵē ćōũĺďń\\u0027ţ màķē à ćōńńēćţĩōń ţō Mĩćŕōśōƒţ Ĝŕàƥĥ.##--!!]"}'),r=function(){function r(e){var t=this;e.whenFinished(function(){r._graphBaseUrl=e.consume(a._GraphHttpClientContext.serviceKey).getGraphEndpointUrl(),r._instance||(r._instance=t._createGraphClientInstance(a._AadTokenProviders.configurable))})}return r.prototype.api=function(n,a){return t.Validate.isNonemptyString(n,"path"),r._instance.config=(0,e.__assign)((0,e.__assign)({},r._originalConfig),a||{}),r._instance.api(n)},r.prototype._createGraphClientInstance=function(e){var t,n=this;if(!r._window.MicrosoftGraph||!r._window.MicrosoftGraph.Client)throw new Error(i.F);t=r._window.MicrosoftGraph.Client,r._window.MicrosoftGraph=void 0;var a=t.init({authProvider:function(t){n._getOAuthToken(e).then(function(e){t(void 0,e)}).catch(function(e){t(e,"")})},baseUrl:r._graphBaseUrl});return r._originalConfig=a.config,a},r.prototype._getOAuthToken=function(e){var t=new n._QosMonitor("MSGraphClient.FetchGraphToken");return e.getToken(r._graphBaseUrl).then(function(e){return t.writeSuccess(),e}).catch(function(e){throw t.writeUnexpectedFailure(e.message,e),e})},r._window=window,r}();function o(){return t._SPKillSwitch.isActivated("416713e6-ce26-48f7-9e12-28fe39f77b1e")}const s=function(){function e(e){this._serviceScope=e}return e.prototype.getClient=function(e,a){var i=this;if(e&&"1"!==e){if("3"!==e||t._SPKillSwitch.isActivated("24401914-15d6-4c3c-aeea-4aace46d5586"))throw Error("Not yet implemented.");var s=new n._QosMonitor("MSGraphClientFactory.GetClientV3");return p.e(224).then(p.bind(p,963)).then(function(e){return s.writeSuccess({version:3,options:!!a}),new e.default(i._serviceScope,a,void 0)}).catch(function(e){throw o()||s.writeUnexpectedFailure("ImportMSGraphV3ChunkFailed",e),e})}return r._instance?Promise.resolve(new r(this._serviceScope)):p.e(302).then(p.t.bind(p,201,23)).then(function(){return new r(i._serviceScope)})},e.prototype.getClientWithMiddleware=function(e,t){var a=this,i=new n._QosMonitor("MSGraphClientFactory.GetClientV3WithMiddleware");return p.e(224).then(p.bind(p,963)).then(function(e){return i.writeSuccess({version:3}),new e.default(a._serviceScope,void 0,t)}).catch(function(e){throw o()||i.writeUnexpectedFailure("ImportMSGraphV3ChunkFailed",e),e})},e.prototype.getClientInternal=function(e,t){var a=this,i=new n._QosMonitor("MSGraphClientFactory.GetInternalClientV3");return p.e(224).then(p.bind(p,963)).then(function(e){return i.writeSuccess({version:3,options:!!t}),new e.default(a._serviceScope,t,void 0,!0)}).catch(function(e){throw o()||i.writeUnexpectedFailure("ImportMSGraphV3ChunkFailed",e),e})},e.serviceKey=t.ServiceKey.create("sp-http:MSGraphClientFactory",e),e}()})(),_})())})();
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(()=>{var e=document.currentScript;define("aec2bbfd-a968-4d5b-a279-12e570f378e6_1.20.0",["tslib","@microsoft/sp-core-library","@microsoft/sp-diagnostics","@microsoft/sp-http-base","@microsoft/sp-loader"],(t,n,a,i,r)=>(()=>{"use strict";var o,s,c,d,l,u={878:e=>{e.exports=n},377:e=>{e.exports=a},61:e=>{e.exports=i},37:e=>{e.exports=r},553:e=>{e.exports=t}},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,s=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,p.t=function(e,t){if(1&t&&(e=this(e)),8&t)return e;if("object"==typeof e&&e){if(4&t&&e.__esModule)return e;if(16&t&&"function"==typeof e.then)return e}var n=Object.create(null);p.r(n);var a={};o=o||[null,s({}),s([]),s(s)];for(var i=2&t&&e;"object"==typeof i&&!~o.indexOf(i);i=s(i))Object.getOwnPropertyNames(i).forEach(t=>a[t]=()=>e[t]);return a.default=()=>e,p.d(n,a),n},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."+{224:"sp-http-msgraphclientv3",302:"sp-http-msgraphclient"}[e]+"_none_"+{224:"df61f49dc36b3abf0e83",302:"0ee8c29b65f15147d1e4"}[e]+".js",p.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),p.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),c={},d="aec2bbfd-a968-4d5b-a279-12e570f378e6_1.20.0:",p.l=(e,t,n,a)=>{if(c[e])c[e].push(t);else{var i,r;if(void 0!==n)for(var o=document.getElementsByTagName("script"),s=0;s<o.length;s++){var l=o[s];if(l.getAttribute("src")==e||l.getAttribute("data-webpack")==d+n){i=l;break}}i||(r=!0,(i=document.createElement("script")).charset="utf-8",i.timeout=120,p.nc&&i.setAttribute("nonce",p.nc),i.setAttribute("data-webpack",d+n),i.src=e,0!==i.src.indexOf(window.location.origin+"/")&&(i.crossOrigin="anonymous")),c[e]=[t];var u=(t,n)=>{i.onerror=i.onload=null,clearTimeout(f);var a=c[e];if(delete c[e],i.parentNode&&i.parentNode.removeChild(i),a&&a.forEach(e=>e(n)),t)return t(n)},f=setTimeout(u.bind(null,void 0,{type:"timeout",target:i}),12e4);i.onerror=u.bind(null,i.onerror),i.onload=u.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})},l=e?e.src:"",p.p=l.slice(0,l.lastIndexOf("/")+1),p.f.compat=(e,t)=>{for(var n=function(e){return{224:[{i:"32b9363b-09ff-4959-929a-cab2663fb223",v:"3.0.2",m:17}]}[e]||[]}(e),a=0;a<n.length;a++)p.m[n[a].m]||(e=>{t.push(m.SPComponentLoader.loadComponentById(e.i,e.v).then(t=>{p.m[e.m]=e=>e.exports=t}))})(n[a])};var m=p(37);(()=>{var e={341: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_aec2bbfd-a968-4d5b-a279-12e570f378e6_1.20.0"]=self["webpackJsonp_aec2bbfd-a968-4d5b-a279-12e570f378e6_1.20.0"]||[];n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))})();var _={};return(()=>{p.r(_),p.d(_,{MSGraphClient:()=>r,MSGraphClientFactory:()=>s});var e=p(553),t=p(878),n=p(377),a=p(61);const i=JSON.parse('{"F":"Śōŕŕŷ, ŵē ćōũĺďń\\u0027ţ màķē à ćōńńēćţĩōń ţō Mĩćŕōśōƒţ Ĝŕàƥĥ."}'),r=function(){function r(e){var t=this;e.whenFinished(function(){r._graphBaseUrl=e.consume(a._GraphHttpClientContext.serviceKey).getGraphEndpointUrl(),r._instance||(r._instance=t._createGraphClientInstance(a._AadTokenProviders.configurable))})}return r.prototype.api=function(n,a){return t.Validate.isNonemptyString(n,"path"),r._instance.config=(0,e.__assign)((0,e.__assign)({},r._originalConfig),a||{}),r._instance.api(n)},r.prototype._createGraphClientInstance=function(e){var t,n=this;if(!r._window.MicrosoftGraph||!r._window.MicrosoftGraph.Client)throw new Error(i.F);t=r._window.MicrosoftGraph.Client,r._window.MicrosoftGraph=void 0;var a=t.init({authProvider:function(t){n._getOAuthToken(e).then(function(e){t(void 0,e)}).catch(function(e){t(e,"")})},baseUrl:r._graphBaseUrl});return r._originalConfig=a.config,a},r.prototype._getOAuthToken=function(e){var t=new n._QosMonitor("MSGraphClient.FetchGraphToken");return e.getToken(r._graphBaseUrl).then(function(e){return t.writeSuccess(),e}).catch(function(e){throw t.writeUnexpectedFailure(e.message,e),e})},r._window=window,r}();function o(){return t._SPKillSwitch.isActivated("416713e6-ce26-48f7-9e12-28fe39f77b1e")}const s=function(){function e(e){this._serviceScope=e}return e.prototype.getClient=function(e,a){var i=this;if(e&&"1"!==e){if("3"!==e||t._SPKillSwitch.isActivated("24401914-15d6-4c3c-aeea-4aace46d5586"))throw Error("Not yet implemented.");var s=new n._QosMonitor("MSGraphClientFactory.GetClientV3");return p.e(224).then(p.bind(p,963)).then(function(e){return s.writeSuccess({version:3,options:!!a}),new e.default(i._serviceScope,a,void 0)}).catch(function(e){throw o()||s.writeUnexpectedFailure("ImportMSGraphV3ChunkFailed",e),e})}return r._instance?Promise.resolve(new r(this._serviceScope)):p.e(302).then(p.t.bind(p,201,23)).then(function(){return new r(i._serviceScope)})},e.prototype.getClientWithMiddleware=function(e,t){var a=this,i=new n._QosMonitor("MSGraphClientFactory.GetClientV3WithMiddleware");return p.e(224).then(p.bind(p,963)).then(function(e){return i.writeSuccess({version:3}),new e.default(a._serviceScope,void 0,t)}).catch(function(e){throw o()||i.writeUnexpectedFailure("ImportMSGraphV3ChunkFailed",e),e})},e.prototype.getClientInternal=function(e,t){var a=this,i=new n._QosMonitor("MSGraphClientFactory.GetInternalClientV3");return p.e(224).then(p.bind(p,963)).then(function(e){return i.writeSuccess({version:3,options:!!t}),new e.default(a._serviceScope,t,void 0,!0)}).catch(function(e){throw o()||i.writeUnexpectedFailure("ImportMSGraphV3ChunkFailed",e),e})},e.serviceKey=t.ServiceKey.create("sp-http:MSGraphClientFactory",e),e}()})(),_})())})();
|