@microsoft/sp-http-msgraph 1.22.0-beta.1 → 1.22.0-beta.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (31) hide show
  1. package/dist/aec2bbfd-a968-4d5b-a279-12e570f378e6.manifest.json +128 -128
  2. package/dist/sp-http-msgraph_default_fd5e59edceff825885a9.js +1 -0
  3. package/dist/sp-http-msgraph_en-us_a2c332cf36198dbffbd9.js +1 -0
  4. package/dist/sp-http-msgraph_qps-ploc_7ba20fbebf39d1ceb228.js +1 -0
  5. package/dist/sp-http-msgraph_qps-ploca_d610f6e5163f549c5d3f.js +1 -0
  6. package/lib/MSGraphAuthenticationProvider.d.ts +12 -0
  7. package/lib/MSGraphAuthenticationProvider.d.ts.map +1 -0
  8. package/lib/MSGraphAuthenticationProvider.js +50 -0
  9. package/lib/MSGraphClient.d.ts +124 -0
  10. package/lib/MSGraphClient.d.ts.map +1 -0
  11. package/lib/MSGraphClient.js +104 -0
  12. package/lib/MSGraphClientFactory.d.ts +55 -0
  13. package/lib/MSGraphClientFactory.d.ts.map +1 -0
  14. package/lib/MSGraphClientFactory.js +106 -0
  15. package/lib/MSGraphClientV3.d.ts +54 -0
  16. package/lib/MSGraphClientV3.d.ts.map +1 -0
  17. package/lib/MSGraphClientV3.js +194 -0
  18. package/lib/SPHttpMsGraphStrings.resx.d.ts +19 -0
  19. package/lib/SPHttpMsGraphStrings.resx.json +1 -0
  20. package/lib/common/Killswitches.d.ts +3 -0
  21. package/lib/common/Killswitches.d.ts.map +1 -0
  22. package/lib/common/Killswitches.js +12 -0
  23. package/lib/index.d.ts +13 -0
  24. package/lib/index.d.ts.map +1 -0
  25. package/lib/index.js +12 -0
  26. package/lib/sp-http-msgraph.manifest.json +14 -0
  27. package/package.json +9 -9
  28. package/dist/sp-http-msgraph_default_4df746036332a4387437.js +0 -1
  29. package/dist/sp-http-msgraph_en-us_ac1fb9f51f76bafaf211.js +0 -1
  30. package/dist/sp-http-msgraph_qps-ploc_33b301b92c5a0e988c49.js +0 -1
  31. package/dist/sp-http-msgraph_qps-ploca_94a48b31e48512284936.js +0 -1
@@ -0,0 +1 @@
1
+ {"graphClientInitializationError":"Sorry, we couldn't make a connection to Microsoft Graph."}
@@ -0,0 +1,3 @@
1
+ export declare function isPassSdkVersionKSActivated(): boolean;
2
+ export declare function isCustomHostsKSActivated(): boolean;
3
+ //# sourceMappingURL=Killswitches.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Killswitches.d.ts","sourceRoot":"","sources":["../../src/common/Killswitches.ts"],"names":[],"mappings":"AAEA,wBAAgB,2BAA2B,IAAI,OAAO,CAKrD;AAED,wBAAgB,wBAAwB,IAAI,OAAO,CAKlD"}
@@ -0,0 +1,12 @@
1
+ import { _SPKillSwitch } from '@microsoft/sp-core-library';
2
+ export function isPassSdkVersionKSActivated() {
3
+ return _SPKillSwitch.isActivated('cf20bd1c-8f94-466b-b394-382640c75c23'
4
+ /* '04/10/2023', 'aterentiev - Pass SdkVersion header to MS Graph requests'*/
5
+ );
6
+ }
7
+ export function isCustomHostsKSActivated() {
8
+ return _SPKillSwitch.isActivated('249a915b-2c26-4fe0-a2da-19f8a7b2b56e'
9
+ /* '09/06/2024', 'grahamc - Add currrent graph endpoint to custom hosts'*/
10
+ );
11
+ }
12
+ //# sourceMappingURL=Killswitches.js.map
package/lib/index.d.ts ADDED
@@ -0,0 +1,13 @@
1
+ /**
2
+ * Microsoft Graph communication layer for the SharePoint Framework
3
+ *
4
+ * @remarks
5
+ * This package defines the base communication layer between Microsoft Graph and
6
+ * the SharePoint Framework.
7
+ *
8
+ * @packagedocumentation
9
+ */
10
+ export { default as MSGraphClient, type IGraphRequest as GraphRequest } from './MSGraphClient';
11
+ export type { default as MSGraphClientV3 } from './MSGraphClientV3';
12
+ export { default as MSGraphClientFactory } from './MSGraphClientFactory';
13
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,KAAK,aAAa,IAAI,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/F,YAAY,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpE,OAAO,EAAE,OAAO,IAAI,oBAAoB,EAAE,MAAM,wBAAwB,CAAC"}
package/lib/index.js ADDED
@@ -0,0 +1,12 @@
1
+ /**
2
+ * Microsoft Graph communication layer for the SharePoint Framework
3
+ *
4
+ * @remarks
5
+ * This package defines the base communication layer between Microsoft Graph and
6
+ * the SharePoint Framework.
7
+ *
8
+ * @packagedocumentation
9
+ */
10
+ export { default as MSGraphClient } from './MSGraphClient';
11
+ export { default as MSGraphClientFactory } from './MSGraphClientFactory';
12
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1,14 @@
1
+ {
2
+ "$schema": "https://developer.microsoft.com/json-schemas/spfx/client-side-component-manifest.schema.json",
3
+
4
+ "manifestVersion": 2,
5
+
6
+ "id": "aec2bbfd-a968-4d5b-a279-12e570f378e6",
7
+ "alias": "@microsoft/sp-http-msgraph",
8
+ "componentType": "Library",
9
+
10
+ // The "*" instructs the tools take the version from package.json when generating the output manifest.
11
+ // For a first party web part that is deployed with sp-client, this version is not very meaningful.
12
+ // We recommend to put "1.0.0" in your package.json and not worry about incrementing it.
13
+ "version": "*"
14
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@microsoft/sp-http-msgraph",
3
- "version": "1.22.0-beta.1",
3
+ "version": "1.22.0-beta.3",
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",
@@ -14,18 +14,18 @@
14
14
  "@microsoft/microsoft-graph-clientv1": "npm:@microsoft/microsoft-graph-client@1.7.2-spfx",
15
15
  "@swc/helpers": "0.5.12",
16
16
  "tslib": "2.3.1",
17
- "@microsoft/sp-core-library": "1.22.0-beta.1",
18
- "@microsoft/sp-diagnostics": "1.22.0-beta.1",
19
- "@microsoft/sp-http-base": "1.22.0-beta.1",
20
- "@microsoft/sp-loader": "1.22.0-beta.1"
17
+ "@microsoft/sp-core-library": "1.22.0-beta.3",
18
+ "@microsoft/sp-diagnostics": "1.22.0-beta.3",
19
+ "@microsoft/sp-loader": "1.22.0-beta.3",
20
+ "@microsoft/sp-http-base": "1.22.0-beta.3"
21
21
  },
22
22
  "devDependencies": {
23
23
  "@microsoft/microsoft-graph-client": "3.0.2",
24
- "@rushstack/heft": "0.73.6",
24
+ "@rushstack/heft": "0.74.3",
25
25
  "eslint": "8.57.1",
26
- "@microsoft/sp-module-interfaces": "1.22.0-beta.1",
27
- "@msinternal/spfx-internal-web-build-rig": "0.1.0",
28
- "@msinternal/ms-graph-v3-bundle": "3.0.2"
26
+ "@microsoft/sp-module-interfaces": "1.22.0-beta.3",
27
+ "@msinternal/ms-graph-v3-bundle": "3.0.2",
28
+ "@msinternal/spfx-internal-web-build-rig": "0.1.0"
29
29
  },
30
30
  "peerDependencies": {
31
31
  "@microsoft/microsoft-graph-client": "3.0.2"
@@ -1 +0,0 @@
1
- (()=>{var e=document.currentScript;define("aec2bbfd-a968-4d5b-a279-12e570f378e6_1.22.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:"254051770ee2c0d5d03f",308:"2c5499c1d9140b6b043a"}[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.22.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:888}]}[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.22.0"]=self["webpackJsonp_aec2bbfd-a968-4d5b-a279-12e570f378e6_1.22.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":"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.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}()})(),_})())})();
@@ -1 +0,0 @@
1
- (()=>{var e=document.currentScript;define("aec2bbfd-a968-4d5b-a279-12e570f378e6_1.22.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:"254051770ee2c0d5d03f",308:"2c5499c1d9140b6b043a"}[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.22.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:888}]}[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.22.0"]=self["webpackJsonp_aec2bbfd-a968-4d5b-a279-12e570f378e6_1.22.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":"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.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}()})(),_})())})();
@@ -1 +0,0 @@
1
- (()=>{var e=document.currentScript;define("aec2bbfd-a968-4d5b-a279-12e570f378e6_1.22.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:"254051770ee2c0d5d03f",308:"2c5499c1d9140b6b043a"}[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.22.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:888}]}[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.22.0"]=self["webpackJsonp_aec2bbfd-a968-4d5b-a279-12e570f378e6_1.22.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}()})(),_})())})();
@@ -1 +0,0 @@
1
- (()=>{var e=document.currentScript;define("aec2bbfd-a968-4d5b-a279-12e570f378e6_1.22.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:"254051770ee2c0d5d03f",308:"2c5499c1d9140b6b043a"}[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.22.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:888}]}[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.22.0"]=self["webpackJsonp_aec2bbfd-a968-4d5b-a279-12e570f378e6_1.22.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}()})(),_})())})();