statics.teams.cdn.office.net Open in urlscan Pro
2a02:26f0:6c00::210:ba78  Public Scan

URL: http://statics.teams.cdn.office.net/hashed/precompiled-default~bridges-services-files-prefetch~channel-files~external-files~personal...
Submission Tags: falconsandbox
Submission: On February 04 via api from US — Scanned from DE

Form analysis 0 forms found in the DOM

Text Content

(window.webPackBridgeJsonp=window.webPackBridgeJsonp||[]).push([[11],{"0447af78a21f7c7312e2":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r("98bae3dbabd51089d613"),i=r("dd7710060b79460ec18c");function o(e,t){return new this(e,i.ClonedEventType.Single,t)}function a(e){return new this(null,i.ClonedEventType.Single,e)}t.createSingleEvent=function(e,t,r){var s=function(e){function r(){return null!==e&&e.apply(this,arguments)||this}return n.__extends(r,e),r.logData=t?o:a,r}(i.EventBase);return i.addEventProps(s.prototype,e,t||{},r),s}},"052cdcf43c3b8e9a238f":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r("dd7710060b79460ec18c"),i=r("d6e6a1e726db94fe6759"),o=r("22e720316fb8bade1b0e");function a(e){var t={CorrelationVector:e.vector.toString(),ValidationErrors:e.validationErrors,WebLog_FullName:e.eventName,WebLog_EventType:n.ClonedEventType[e.eventType]};e.eventType===n.ClonedEventType.End&&(t.Duration=e.endTime-e.startTime);for(var r=e.eventName.split(","),o=0,a=r;o<a.length;o++){var s=a[o];s&&(t["WebLog_Type_"+s]=1)}var u=e.data,c=e.context;if(c)for(var l in c)if(Object.prototype.hasOwnProperty.call(c,l)){if(null==(p=c[l]))continue;t[h=i.capitalize(l)]=p}if(u)for(var d in u)if(Object.prototype.hasOwnProperty.call(u,d)){var p;if(null==(p=u[d]))continue;var f=e.metadata[d];if(f){var h=f.isPrefixingDisabled?i.capitalize(d):i.capitalize(f.definedInName)+"_"+d,g=f.type;if(4===g){for(var _ in p)if(Object.prototype.hasOwnProperty.call(p,_)){var m=p[_];if(null!=m&&""!==m){var v=void 0;if("object"==typeof m)try{v=JSON.stringify(m)}catch(e){v=m}else v=m;t[h+"_"+_.replace(".","_")]=v}}}else t[h]=6===g?f.typeRef[p]:p}}return{name:e.isEventTypePrefixingDisabled?r[r.length-2]:"ev_"+r[r.length-2],values:t}}t.getAriaEventInfo=a,t.buildAriaEvent=function(e,t){var r=a(t),n=r.name,i=r.values,s=new e.EventProperties;return s.name=n,function(e,t,r){var n;try{for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n=i,t.setProperty(i,r[i]))}catch(t){var a=void 0,s=void 0;throw t instanceof e.Exception&&(a=t.ErrorCode(),s=new Error("Aria error: "+t.toString())),s&&(t.handled=!0,o.logError(s,{errorCode:a,propertyKey:n})),t}}(e,s,i),s}},"0b8514f932f40951d460":function(e,t,r){"use strict";r.r(t),r.d(t,"SignalPromise",(function(){return B})),r.d(t,"CancelablePromise",(function(){return W}));var n=r("98bae3dbabd51089d613"),i=r("e1c8dc4e514231c05155");function o(e){window.setTimeout((function(){i.c(V,_,{error:e})}),0)}var a,s,u,c,l,d,p,f,h,g,_="error",m=1;function v(){}function y(e,t){e._value=t,e._setState(V.isPromise(t)?u:p)}function b(e,t,r,n,i,o){return{exception:e,error:t,promise:r,handler:o,id:n,parent:i}}function T(e,t,r,n){var i=r._isException;return b(i?t:null,i?null:t,e,r._errorId,r,n)}function E(e,t,r){var n=r._isException,i=r._errorId;return x(e,i,n),b(n?t:null,n?null:t,e,i,r)}function w(e,t){var r=++m;return x(e,r),b(null,t,e,r)}function D(e,t){var r=++m;return x(e,r,!0),b(t,null,e,r)}function S(e,t,r){O(e,{c:t,e:r})}function C(e,t,r,n){e._value=t,I(e,t,r,n),e._setState(h)}function P(e,t){var r,n,i=e._value,o=e._listeners;if(o)for(e._listeners=null,r=0,n=o.length;r<n;r++){var a=o[r],s=a.c,c=a.promise;if(c){try{c._setCompleteValue(s?s(i):i)}catch(e){c._setExceptionValue(e)}c._state!==u&&c._listeners&&t.push(c)}else F.prototype.done.call(e,s)}}function R(e,t){var r,n,i=e._value,o=e._listeners;if(o)for(e._listeners=null,r=0,n=o.length;r<n;r++){var a=o[r],s=a.e,c=a.promise;if(c){try{s?(s.handlesOnError||I(c,i,T,e,s),c._setCompleteValue(s(i))):c._setChainedErrorValue(i,e)}catch(e){c._setExceptionValue(e)}c._state!==u&&c._listeners&&t.push(c)}else q.prototype.done.call(e,null,s)}}function I(e,t,r,n,o){t instanceof Error&&"Canceled"===t.message||i.c(V,_,r(e,t,n,o))}function O(e,t){var r=e._listeners;r?r.push(t):r=[t],e._listeners=r}function x(e,t,r){e._isException=r||!1,e._errorId=t}function U(e,t,r,n){e._value=t,I(e,t,r,n),e._setState(g)}function k(e,t){var r;r=V.isPromise(t)?u:f,e._value=t,e._setState(r)}function M(e,t,r){var n=new H(e);return O(e,{promise:n,c:t,e:r}),n}a={name:"created",enter:function(e){e._setState(s)},cancel:v,done:v,then:v,_completed:v,_error:v,_notify:v,_setCompleteValue:v,_setErrorValue:v},s={name:"working",enter:v,cancel:function(e){e._setState(l)},done:S,then:M,_completed:y,_error:C,_notify:v,_setCompleteValue:k,_setErrorValue:U},u={name:"waiting",enter:function(e){var t=e._value;if(t instanceof H&&t._state!==g&&t._state!==f)O(t,{promise:e});else{var r=function(n){t._errorId?e._chainedError(n,t):(I(e,n,T,t,r),e._error(n))};r.handlesOnError=!0,t.then(e._completed.bind(e),r)}},cancel:function(e){e._setState(c)},done:S,then:M,_completed:y,_error:C,_notify:v,_setCompleteValue:k,_setErrorValue:U},c={name:"waiting_canceled",enter:function(e){e._setState(d);var t=e._value;V.is(t)&&t.cancel()},cancel:v,done:S,then:M,_completed:y,_error:C,_notify:v,_setCompleteValue:k,_setErrorValue:U},l={name:"canceled",enter:function(e){e._setState(d),e._cancelAction()},cancel:v,done:S,then:M,_completed:y,_error:C,_notify:v,_setCompleteValue:k,_setErrorValue:U},d={name:"canceling",enter:function(e){var t=new Error("Canceled");t.name=t.message,t._handled=!0,e._value=t,e._setState(h)},cancel:v,done:v,then:v,_completed:v,_error:v,_notify:v,_setCompleteValue:v,_setErrorValue:v},p={name:"complete_notify",enter:function(e){if(e._listeners)for(var t=[e],r=void 0;t.length;)(r=t.shift())._state._notify(r,t);e._setState(f)},cancel:v,done:function(e,t,r){return F.prototype.done.call(e,t,r)},then:function(e,t,r){return F.prototype.then.call(e,t,r)},_completed:v,_error:v,_notify:P,_setCompleteValue:v,_setErrorValue:v},f={name:"success",enter:function(e){e._cleanupAction()},cancel:v,done:function(e,t,r){return F.prototype.done.call(e,t,r)},then:function(e,t,r){return F.prototype.then.call(e,t,r)},_completed:v,_error:v,_notify:P,_setCompleteValue:v,_setErrorValue:v},h={name:"error_notify",enter:function(e){if(e._listeners)for(var t=[e],r=void 0;t.length;)(r=t.shift())._state._notify(r,t);e._setState(g)},cancel:v,done:function(e,t,r){return q.prototype.done.call(e,t,r)},then:function(e,t,r){return q.prototype.then.call(e,t,r)},_completed:v,_error:v,_notify:R,_setCompleteValue:v,_setErrorValue:v},g={name:"error",enter:function(e){e._cleanupAction()},cancel:v,done:function(e,t,r){return q.prototype.done.call(e,t,r)},then:function(e,t,r){return q.prototype.then.call(e,t,r)},_completed:v,_error:v,_notify:R,_setCompleteValue:v,_setErrorValue:v};var A,q=function(){function e(e,t){void 0===t&&(t=w),this._value=e,I(this,e,t)}return e.prototype.cancel=function(){},e.prototype.done=function(e,t){var r=this._value;if(t)try{t.handlesOnError||I(null,r,T,this,t);var n=t(r);return void(V.is(n)&&n.done())}catch(e){r=e}r instanceof Error&&"Canceled"===r.message||o(r)},e.prototype.then=function(e,t){if(!t)return this;var r,n=this._value;try{t.handlesOnError||I(null,n,T,this,t),r=new F(t(n))}catch(e){r=e===n?this:new L(e)}return r},e.prototype.catch=function(e){return this.then(void 0,e)},e}(),L=function(e){function t(t){return e.call(this,t,D)||this}return n.__extends(t,e),t}(q),F=function(){function e(e){if(V.isPromise(e)){var t=new H(void 0);return t._setCompleteValue(e),t}this._value=e}return e.prototype.cancel=function(){},e.prototype.done=function(e){if(e)try{var t=e(this._value);V.is(t)&&t.done()}catch(e){o(e)}},e.prototype.then=function(t){var r;try{var n=t?t(this._value):this._value;r=this._isSameValue(n)?this:new e(n)}catch(e){r=new L(e)}return r},e.prototype.catch=function(e){return this.then(void 0)},e.prototype._isSameValue=function(e){return e===this._value},e}();function N(e){var t;return new V((function(r){t=window.setTimeout(r,e)}),(function(){t&&window.clearTimeout(t)}))}function j(e){return function(){for(var t=0,r=Object.keys(e);t<r.length;t++){var n=r[t];V.as(e[n]).cancel()}}}var V=function(){function e(e,t){this._init(e,t)}return Object.defineProperty(e,"cancel",{get:function(){return A||(A=new q(new Error("Canceled")))},enumerable:!0,configurable:!0}),e.any=function(t){return new e((function(r,n){var i=Object.keys(t),o=i.length;0===o&&r();for(var a=function(i){e.as(t[i]).then((function(){r({key:i,value:t[i]})}),(function(a){a instanceof Error&&"Canceled"===a.name?0==--o&&r(e.cancel):n({key:i,value:t[i]})}))},s=0,u=i;s<u.length;s++){a(u[s])}}),j(t))},e.race=function(t){return new e((function(r,n){var i=Object.keys(t),o=i.length;0===o&&r();for(var a=0,s=i;a<s.length;a++){var u=s[a];e.as(t[u]).then(r,(function(t){t instanceof Error&&"Canceled"===t.name?0==--o&&r(e.cancel):n(t)}))}}),j(t))},e.as=function(t){return e.is(t)?t:new F(t)},e.is=function(t){return e.isPromise(t)&&"function"==typeof t.cancel},e.isPromise=function(e){return e&&"object"==typeof e&&"function"==typeof e.then},e.isCanceled=function(e){return e instanceof Error&&"Canceled"===e.name},e.all=function(t){return new e((function(r,n){for(var i=Object.keys(t),o=Array.isArray(t)?[]:{},a=Array.isArray(t)?[]:{},s=i.length,u=function(){if(0==--s){var t=Object.keys(o);0===t.length?r(a):t.every((function(t){return e.isCanceled(o[t])}))?r(e.cancel):n(o)}},c=function(r){var n=t[r];void 0===n?s--:e.then(n,(function(e){a[r]=e,u()}),(function(e){o[r]=e,u()}))},l=0,d=i;l<d.length;l++){c(d[l])}0===s&&r(a)}),j(t))},e.then=function(t,r,n){return e.as(t).then(r,n)},e.thenEach=function(t,r,n){for(var i=Array.isArray(t)?[]:{},o=0,a=Object.keys(t);o<a.length;o++){var s=a[o];i[s]=e.then(t[s],r,n)}return e.all(i)},e.serial=function(t){return t.reduce((function(e,t){return e.then(t)}),e.wrap())},e.timeout=function(e,t){var r=N(e);return t?function(e,t){var r=function(){e.cancel()};return e.then((function(){t.cancel()})),t.then(r,r),t}(r,t):r},e.wrap=function(e){return new F(e)},e.resolve=function(t){return e.wrap(t)},e.wrapError=function(e){return new q(e)},e.reject=function(t){return e.wrapError(t)},e.prototype.cancel=function(){this._state.cancel(this),this._run()},e.prototype.done=function(e,t){this._state.done(this,e,t)},e.prototype.then=function(e,t){return this._state.then(this,e,t)},e.prototype.catch=function(e){return this.then(void 0,e)},e.prototype._init=function(e,t){this._oncancel=t,this._setState(a),this._run();try{e(this._completed.bind(this),this._error.bind(this))}catch(e){this._setExceptionValue(e)}},e.prototype._cancelAction=function(){if(this._oncancel)try{this._oncancel()}catch(e){}},e.prototype._cleanupAction=function(){this._oncancel=null},e.prototype._chainedError=function(e,t){var r=this._state._error(this,e,E,t);return this._run(),r},e.prototype._completed=function(e){var t=this._state._completed(this,e);return this._run(),t},e.prototype._error=function(e){var t=this._state._error(this,e,w);return this._run(),t},e.prototype._setState=function(e){this._nextState=e},e.prototype._setCompleteValue=function(e){this._state._setCompleteValue(this,e),this._run()},e.prototype._setChainedErrorValue=function(e,t){var r=this._state._setErrorValue(this,e,E,t);return this._run(),r},e.prototype._setExceptionValue=function(e){var t=this._state._setErrorValue(this,e,D);return this._run(),t},e.prototype._run=function(){for(;this._nextState;)this._state=this._nextState,this._nextState=null,this._state.enter(this)},e.prototype._isSameValue=function(e){return e===this._value},e}();i.a(V,_);var H=function(e){function t(t){var r=e.call(this)||this;return r._creator=t,r._initThen(),r}return n.__extends(t,e),t.prototype._init=function(){},t.prototype._cancelAction=function(){this._creator&&this._creator.cancel()},t.prototype._cleanupAction=function(){this._creator=null},t.prototype._initThen=function(){this._setState(a),this._run()},t}(V),B=function(e){function t(t){var r=e.call(this)||this;return r._oncancel=t,r._initSignal(),r}return n.__extends(t,e),t.prototype._init=function(){},t.prototype._cancelAction=function(){this._oncancel&&this._oncancel()},t.prototype._cleanupAction=function(){this._oncancel=null},t.prototype._initSignal=function(){this._setState(a),this._run()},t}(V),W=V;t.default=W},"11822ca032e86a04398f":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r("d68e89db2f5df7104c07"),i=function(){function e(e,t){e?(this.root=e.root,this.parent=e.current):this.root=this.parent=n.Empty,this.current=t||n.generate()}return e._getCorrelationVector=function(){var t;return"undefined"!=typeof window?t=window.rootVector:"undefined"!=typeof self&&(t=self.rootVector),t||new e},e.prototype.toString=function(){return this.root+"#"+this.parent+"#"+this.current},e.RootVector=e._getCorrelationVector(),e}();t.CorrelationVector=i},"16f7a8beee83cf78aabb":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r("98bae3dbabd51089d613"),i=r("8f87efd00acf85bf14b3");var o=function(){function e(){this._handlers=[],this._buffer=[],this._validationLoggers=[],this._featureEnablers=[]}return Object.defineProperty(e.prototype,"startDate",{get:function(){return window.performance&&window.performance.timing&&window.performance.timing.navigationStart?new Date(window.performance.timing.navigationStart):new Date},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"startTime",{get:function(){return this.startDate.getTime()},enumerable:!0,configurable:!0}),e.prototype.getTime=function(){return(new Date).getTime()},e.prototype.cleanString=function(e){return e},e.prototype.addLogHandler=function(e){var t=this._handlers,r=this._buffer;return t.push(e),r.slice()},e.prototype.removeLogHandler=function(e){for(var t=this._handlers,r=0;r<t.length;r++)if(t[r]===e){t.splice(r,1);break}},e.prototype.logEvent=function(e,t){var r=this._buffer,o=this._handlers,a=Object.freeze({data:i.deepCopy(e.data),context:n.__assign({},e.context),id:e.id,enabled:e.enabled,critical:e.critical,endTime:e.endTime,eventName:e.eventName,shortEventName:e.shortEventName,parentId:e.parentId,startTime:e.startTime,eventType:t,metadata:e.metadata,vector:e.vector,validationErrors:e.validationErrors,isEventTypePrefixingDisabled:e.isEventTypePrefixingDisabled});r.push(a),r.length>100&&(r.splice(1,1/0),0===o.length&&new Error("Logging buffer overflow hit before any logging handler was registered"));for(var s=0;s<o.length;s++)try{o[s](a)}catch(e){}},e.prototype.addValidationErrorLogger=function(e){this._validationLoggers.push(e)},e.prototype.removeValidationErrorLogger=function(e){var t=this._validationLoggers,r=t.indexOf(e);r>-1&&t.splice(r,1)},e.prototype.logValidationError=function(e,t){for(var r=0,n=this._validationLoggers;r<n.length;r++){var i=n[r];try{i(e,t)}catch(e){}}},e.prototype.isFeatureEnabled=function(e){for(var t=0,r=this._featureEnablers;t<r.length;t++){if((0,r[t])(e))return!0}return!1},e.prototype.addFeatureEnabler=function(e){this._featureEnablers.push(e)},e.prototype.removeFeatureEnabler=function(e){var t=this._featureEnablers,r=t.indexOf(e);r>-1&&t.splice(r,1)},e.prototype.getStack=function(){var e;try{var t=window;t.______ExpectedError______&&t.______ExpectedError______()}catch(t){e=t}return e&&e.stack||void 0},e}();function a(){return new o}t.createManager=a,t.Manager="undefined"!=typeof window?window.ODSP_TELEMETRY_MANAGER=window.ODSP_TELEMETRY_MANAGER||a():"undefined"!=typeof self?self.ODSP_TELEMETRY_MANAGER=self.ODSP_TELEMETRY_MANAGER||a():a()},"173e9cfb7855b90005c4":function(e,t,r){"use strict";r.r(t),r.d(t,"APICallPerformanceData",(function(){return f})),r.d(t,"ControlPerformanceData",(function(){return _})),r.d(t,"RUMOneLogger",(function(){return y}));var n=r("98bae3dbabd51089d613"),i=r("6631b0451e9f577f414d"),o=r("edc85ca7e3cf7e290237"),a=["PageTransitionType","Browser","ScenarioId","AppCache","BrowserIsMobile"],s=r("4c52f8420fbae462d091"),u=r("a918e6b023e78a8f38a9"),c=r("f30b55e34961feeae484"),l=r("cc08c169973ba8efeefa");var d,p=r("8bcc52c340fdae8e02d4");!function(e){e[e.Incomplete=1]="Incomplete",e[e.EUPLReadyToUpload=2]="EUPLReadyToUpload",e[e.TTIReadyToUpload=3]="TTIReadyToUpload",e[e.EUPLUploaded=4]="EUPLUploaded",e[e.TTIUploaded=5]="TTIUploaded",e[e.TimeOut=6]="TimeOut",e[e.Skipped=7]="Skipped"}(d||(d={}));var f=function(e,t,r,n,i,o,a){this.url=e,this.duration=t,this.correlationId=r,this.status=n,this.startTime=i,this.endTime=o,this.name=a,this.clientDurationInMilliseconds=new Date(o).getTime()-new Date(i).getTime()},h=["EUPL","ScenarioId"],g=/^[a-zA-Z0-9](([a-zA-Z0-9|_|\.]){0,98}[a-zA-Z0-9])?$/,_=function(e,t,r,n,i,o,a){this.controlId=e,this.startTime=t,this.endTime=r,this.renderTimeCalculator=n,this.renderTimeRequiredDataChecker=i,this.ignoreForEUPL=void 0===o||o,this.needFlatten=void 0!==a&&a};function m(e){return null==e}var v={checkInterval:100,eupl_timeout:3e4,tti_timeout:6e4,max_markers:100},y=function(){function e(e,t,r){void 0===r&&(r=v),this._keyMetrics=h.slice(0),this.async=new i.default(this),this.dataStartTime=Number((new Date).getTime()),this._ttiMeasurementStartTime=void 0,this._rumoneData={},this.dataState=d.Incomplete,this.controls=[],this.apis=[],this._loggingFunctions=[],this.euplBreakDown={},this.serverMetrics={},this.isW3cTimingCollected=!1,this.isW3cResourceTimingCollected=!1,this.tempData={},this._settings={},this._emergencyUpdateFunc=this._emergencyUpload.bind(this),this._name=e,this.registerLoggingFunc(t),this._config=r,this.setPerfDataTimer(),this._platformDetection=new u.PlatformDetection,this._hookUnloadEvent()}return e.getRUMOneLogger=function(t,r,n){void 0===t&&(t="__default_rumone__"),void 0===n&&(n=v);var i=r||function(e,t){s.RUMOneDataUpload.logData({streamName:e,dictionary:t})};if(!e.Loggers[t])try{var o=new e(t,i,n);"__default_rumone__"===t&&(e.rumOneLogger=o),e.Loggers[t]=o}catch(e){}return e.Loggers[t]},e.prototype.registerLoggingFunc=function(e){var t=this,r=this._loggingFunctions.indexOf(e);return r<0&&this._loggingFunctions.push(e),function(){r>=0&&t._loggingFunctions.splice(r,1)}},Object.defineProperty(e.prototype,"KeyMetrics",{get:function(){return this._keyMetrics},enumerable:!0,configurable:!0}),e.prototype.getPerformanceData=function(){return this._rumoneData},e.prototype.resetLogger=function(){this._emergencyUpload(),this.dataStartTime=(new Date).getTime(),this.dataState=d.Incomplete,this.isW3cTimingCollected=!1,this.isW3cResourceTimingCollected=!1,this.controls=[],this.apis=[],this.tempData={},this._rumoneData={},this._settings={},this._keyMetrics=h.slice(0),this.clearPerfDataTimer(),this.setPerfDataTimer(),this.euplBreakDown={},this.serverMetrics={},this.clearResourceTimings(),Object(c.c)(this._getOwnMakers().map((function(e){return e.name}))),e._markers[this._name]=[],this._unhookUnloadEvent(),this._hookUnloadEvent(),this._ttiMeasurementStartTime=void 0,this._ttiPromise=void 0,this.logMessageInConsole("Reset performance Logger Done")},e.prototype.setSettings=function(e){this._settings=n.__assign({},this._settings,e)},e.prototype.excludePageForPerfData=function(){this.setSettings({excludePageData:!0})},e.prototype.getPerformanceDataPropertyValue=function(e){return e&&this._rumoneData[e]},e.prototype.setPerformanceDataPropertyValue=function(e,t){return e&&g.test(e)?(this._rumoneData[e]=t,!0):(console.error("key "+e+" does not confrim to the Regex "+g),!1)},e.prototype.addExpectedControl=function(e){var t=this._normalizeControl(e);this.expectingControl(e)?this.controls.filter((function(e){return e.controlId===t.controlId}))[0].ignoreForEUPL=t.ignoreForEUPL:this.controls.push(t)},e.prototype.expectingControl=function(e){var t=this._normalizeControl(e);return this.controls.filter((function(e){return e.controlId===t.controlId})).length>0},e.prototype.writeServerCorrelationId=function(e){this._rumoneData.ServerCorrelationId=this._rumoneData.ServerCorrelationId||e},e.prototype.writeServerUrl=function(){this._rumoneData.ServerUrl=this._processEUIIUrl(location.href)},e.prototype.writeServerSideLatency=function(e,t){this.isCollected("ServerRequestDuration")||(this._rumoneData.ServerRequestDuration=e,this._rumoneData.IISLatency=t)},e.prototype.writeControlPerformanceData=function(e){if(e){var t=this.controls.filter((function(t){return t.controlId===e.controlId}))[0];if(t)t.data||(t.data=e);else{var r={controlId:e.controlId,data:e,ignoreForEUPL:e.ignoreForEUPL};this.controls.push(r)}}},e.prototype.writeAPICallPerformanceData=function(e){e&&this.apis.push(e)},e.prototype.readAPICallPerformanceData=function(){return this.apis},e.prototype.writeAppCache=function(e){this.isCollected("AppCache")||(this._rumoneData.AppCache=e)},e.prototype.writePageTransitionType=function(e,t){this.isCollected("PageTransitionType")&&!t||e!==o.default.fullPageLoad&&e!==o.default.none&&e!==o.default.onePageAppNavigation||(this._rumoneData.PageTransitionType=e)},e.prototype.writeScenarioId=function(e,t){this.isCollected("ScenarioId")&&!t||(this._rumoneData.ScenarioId=e)},e.prototype.collectW3CPerfTimings=function(){if(!this.isW3cTimingCollected){var e=["navigationStart","unloadEventStart","unloadEventEnd","fetchStart","redirectStart","redirectEnd","domainLookupStart","domainLookupEnd","connectStart","secureConnectionStart","connectEnd","requestStart","responseStart","responseEnd","domLoading","domComplete","loadEventStart","loadEventEnd"],t=performance&&performance.timing;if(t){for(var r=0;r<e.length;r++){var n=t[e[r]];n&&this._logRUMOneData(this.getW3cTimingName(e[r]),Number(n))}this.isW3cTimingCollected=!0}}},e.prototype.collectW3cResourceTimings=function(){if(window.document&&!this.isW3cResourceTimingCollected&&performance&&performance.getEntriesByType){for(var e=performance.getEntriesByType("resource"),t=document.getElementsByTagName("iframe"),r=0;r<t.length;r++){var i=null;try{i=t[r].contentWindow.performance}catch(e){}i&&i.getEntriesByType&&e.concat(i.getEntriesByType("resource"))}var o={SharePoint:function(e){return l.Killswitch.isActivated("7FED230C-E6D5-45CE-95AA-52F21A8C16C9","11/21/2019")?/\.sharepoint\.com|\.spoppe\.com/i.test(e.name):0===e.name.search(window.location.protocol+"//"+window.location.host)},CDN:function(e){if(l.Killswitch.isActivated("7FED230C-E6D5-45CE-95AA-52F21A8C16C9","11/21/2019"))return/(cdn(ppe)?|static(ppe)?)\.sharepointonline\.com|\.akamaihd\.net/i.test(e.name);var t=window._spPageContextInfo,r=e.name;return!(!t||!t.cdnPrefix||0!==r.search(window.location.protocol+"//"+t.cdnPrefix))||(!(!t||!t.cdnBaseUrl||0!==r.search(t.cdnBaseUrl))||/(cdn(ppe)?|static(ppe)?)\.sharepointonline\.com|\.akamaihd\.net/i.test(r))},ThirdParty:function(e){return!o.SharePoint(e)&&!o.CDN(e)}},a={ASPX:function(e){return/\.aspx/i.test(e.name)},JS:function(e){return/script/i.test(e.initiatorType)},CSS:function(e){return/link|css/i.test(e.initiatorType)},IMG:function(e){return/img/i.test(e.initiatorType)}},s=Object.keys(o);for(r=0;r<s.length;r++){var u=s[r],c=this.categorizeResourceRequests(e,{from:o[u],requestType:null});this._logRUMOneData(u+"RequestCountTotal",c.length);for(var d=Object.keys(a),p=0;p<d.length;p++){var f=d[p];this._logRUMOneData(u+"RequestCount"+f,this.categorizeResourceRequests(c,{from:null,requestType:a[f]}).length)}if(c.length>0&&(this._logRUMOneData(u+"RequestDownloadTime",Math.round(c.reduce((function(e,t){return e+t.duration}),0)/c.length)),"CDN"===u)){var h=JSON.stringify(c.map((function(e){return n.__assign({name:e.name.split("/").map((function(e){return e.split("?")[0]})).filter((function(e){return e&&e.length>0})).slice(-1)[0].replace(/\(.*?\)/g,"()"),startTime:Math.round(e.startTime),duration:Math.round(e.duration),transferSize:e.transferSize||0},"workerStart"in e?{workerStart:Math.round(e.workerStart)}:{},{fetchStart:Math.round(e.fetchStart),requestStart:Math.round(e.requestStart)})})));this._logRUMOneData(u+"RequestNames",h)}}this.isW3cResourceTimingCollected=!0}},e.prototype.saveTempData=function(e,t){this.tempData[e]=t},e.prototype.readTempData=function(e){return this.tempData[e]},e.prototype.writeRenderTime=function(e,t){this.isCollected("RenderTime")&&!t||(this._rumoneData.RenderTime=e)},e.prototype.writePreRenderTime=function(e){this.isCollected("PreRender")||(this._rumoneData.PreRender=e)},e.prototype.writePostRenderTime=function(e){this.isCollected("PostRender")||(this._rumoneData.PostRender=e)},e.prototype.writeDataFetchTime=function(e,t){this.isCollected("DataFetch")&&!t||(this._rumoneData.DataFetch=e)},e.prototype.writeAppInfo=function(e,t){this.isCollected("AppInfo")&&!t||(this._rumoneData.AppInfo=e)},e.prototype.isRunning=function(){return!((this._TTIMeasurementEnabled()?this.dataState===d.TTIUploaded:this.dataState===d.EUPLUploaded)||this.dataState===d.TimeOut||this.dataState===d.Skipped)},e.prototype.writeEUPLBreakdown=function(e,t){if(e)try{var r=JSON.parse(e);for(var n in r)r.hasOwnProperty(n)&&this.addEUPLBreakdown(n,r[n],t)}catch(e){this.logMessageInConsole("Failed to write EUPL breakdown data:"+e.toString())}},e.prototype.addEUPLBreakdown=function(e,t,r){if(e&&!m(t)){if(m(this.euplBreakDown[e])||r){var n=this._isBreakdownValue(t)?t.data:t;this.euplBreakDown[e]=n}this._isBreakdownValue(t)&&t.needFlatten&&this._logRUMOneData(e,t.data)}},e.prototype.readEUPLBreakdown=function(e){return e?this.euplBreakDown[e]:this.euplBreakDown},e.prototype.addFlights=function(e){if(e&&e.length>0){for(var t=JSON.parse(this.getPerformanceDataPropertyValue("Flights")||"[]"),r=0;r<e.length;r++){var n=e[r];n&&-1===t.indexOf(n)&&t.push(n)}this._rumoneData.Flights=JSON.stringify(t)}},e.prototype.collectSPClientFlights=function(e){for(var t="",r=0,n=e.ExpFeatures;r<n.length;r++){var i=n[r];t+=this._numberToBinString(i).split("").reverse().join("")}this._rumoneData.Flights=t},e.prototype.addServerMetrics=function(e,t){if(e)for(var r in e)r&&!m(e[r])&&(m(this.serverMetrics[r])||t)&&(this.serverMetrics[r]=e[r])},e.prototype.writeServerVersion=function(e){this._rumoneData.SharePointServerVersion=e},e.prototype.readControlPerformanceData=function(){return this.controls.filter((function(e){return!!e.data})).map((function(e){return e.data}))},e.prototype.mark=function(t){(e._markers[this._name]=e._markers[this._name]||[]).push(t),Object(c.f)(t)},e.prototype.now=function(){return performance&&performance.now?Math.round(performance.now()):NaN},e.prototype.registerEUPLComputedHandler=function(e){this._EUPLComputedHandler=e},e.prototype.registerErrorHandler=function(e){},e.prototype.getMarkerTime=function(e){return Object(c.e)(e)},e.prototype.addExpectedKeyMetric=function(e){this._keyMetrics&&this._keyMetrics.indexOf(e)<=-1&&this._keyMetrics.push(e)},Object.defineProperty(e.prototype,"waitOnAddingExpectedControl",{set:function(e){this.setSettings({waitOnAddingExpectedControl:e})},enumerable:!0,configurable:!0}),e.prototype.reportTTI2=function(e){!this._TTI2Enabled()||this.isCollected("TTI2")||m(e)||(this._rumoneData.TTI2=e)},e.prototype._measureTTI=function(){var e=this;this._TTIPolyfillEnabled()&&!this._ttiPromise&&(this._ttiPromise=function(e){return n.__awaiter(this,void 0,void 0,(function(){var t;return n.__generator(this,(function(i){switch(i.label){case 0:return t=n.__assign({minValue:window.performance&&performance.now?Math.round(performance.now()):Date.now(),useMutationObserver:!1,trackNetworkRequests:!0},e),[4,r.e(68).then(r.t.bind(null,"664641cf72713051d63e",7))];case 1:return[2,i.sent().getFirstConsistentlyInteractive(t)]}}))}))}(this._settings.TTISettings.TTIPolyfillSettings.options),this._ttiPromise.then((function(t){var r=t;if(m(r))r=NaN;else{var n=e._settings.TTISettings.TTIPolyfillSettings.calculateTTI;n&&(r=n(Math.round(t),e._rumoneData))}e._rumoneData.TTI=r})))},e.prototype._numberToBinString=function(e){var t=(e>>>0).toString(2);return""+Array(32-t.length+1).join("0")+t},e.prototype._logRUMOneData=function(e,t){e&&(this._rumoneData[e]=t)},e.prototype.clearResourceTimings=function(){performance&&performance.clearResourceTimings&&performance.clearResourceTimings()},e.prototype._isBreakdownValue=function(e){return void 0!==e.needFlatten},e.prototype.collectMarks=function(){var e=this,t={},r=0;this._getOwnMakers().forEach((function(n){if(r<e._config.max_markers){var i=n.name.substr(c.b.length)+".mark"+r++;t[i]=Math.round(n.startTime)}})),this.writeEUPLBreakdown(JSON.stringify(t))},e.prototype._getOwnMakers=function(){var t=this,r=e._markers,n=[].concat.apply([],Object.keys(r).filter((function(e){return r.hasOwnProperty(e)&&e!==t._name})).map((function(e){return r[e]})));return Object(c.d)().filter((function(e){return-1===n.indexOf(e.name)}))},e.prototype.logMessageInConsole=function(e){this.isRUMOneDebuggingEnabled&&console.log(e)},Object.defineProperty(e.prototype,"isRUMOneDebuggingEnabled",{get:function(){try{if("sessionStorage"in window&&window.sessionStorage){var e=window.sessionStorage.enableRUMOneDebugging;return e&&"true"===e.toLowerCase()&&"undefined"!=typeof console&&!!console}}catch(e){}return!1},enumerable:!0,configurable:!0}),e.prototype.logObjectForDebugging=function(e,t){if(this.isRUMOneDebuggingEnabled){var r=this._name+" "+e+" : "+JSON.stringify(t);console.log(r)}},e.prototype.isCollected=function(e){return!m(this.getPerformanceDataPropertyValue(e))},e.prototype._normalizeControl=function(e){return"string"==typeof e?{controlId:e,ignoreForEUPL:!1}:e},e.prototype.setPerfDataTimer=function(){this.perfDataTimer=this.async.setTimeout(this.loopForDataCompleteness,this._config.checkInterval)},e.prototype.clearPerfDataTimer=function(){m(this.perfDataTimer)||(this.async.clearTimeout(this.perfDataTimer),this.perfDataTimer=null)},e.prototype._hookUnloadEvent=function(){window.addEventListener&&window.addEventListener("beforeunload",this._emergencyUpdateFunc)},e.prototype._unhookUnloadEvent=function(){window.removeEventListener&&window.removeEventListener("beforeunload",this._emergencyUpdateFunc)},e.prototype.categorizeResourceRequests=function(e,t){for(var r=[],n=0;n<e.length;n++){var i=e[n];t.from&&!t.from(i)||t.requestType&&!t.requestType(i)||r.push(i)}return r},e.prototype._processEUIIUrl=function(e){var t=new p.default(e||"");return t.authority+"/{ length: "+t.path.length+", segments: "+t.segments.length+" }"},e.prototype._setFCP=function(){var e=NaN,t=performance.getEntriesByType("paint");if(t&&t.length>0){var r=t.filter((function(e){return"first-contentful-paint"===e.name}));if(r&&1===r.length)e=r[0].startTime;else{var n=t.filter((function(e){return"first-paint"===e.name}));n&&1===n.length&&(e=n[0].startTime)}}isNaN(e)||(this._rumoneData.FCP=e)},e.prototype.collectSupplementaryData=function(){this._setFCP(),this.setAPIDataToRUMOne(),this.collectMarks(),this.writeServerUrl(),this.setBrowseInfo(),this.setReferrer(),this._collectMemoryData(),this._setAppInfo(),this._rumoneData.ServerMetrics=JSON.stringify(this.serverMetrics),this._rumoneData.EUPLBreakdown=JSON.stringify(this.euplBreakDown)},e.prototype.loopForDataCompleteness=function(){if(this.clearPerfDataTimer(),!this._settings.waitOnAddingExpectedControl){if(this.isRUMOneDebuggingEnabled&&(this.logMessageInConsole("===================================================================="),this.logObjectForDebugging("RUMONE: ",this._rumoneData),this.logObjectForDebugging("RUMOne DataState: ",String(this.getReadableDataState(this.dataState))),this.logObjectForDebugging("Controls: ",this.controls),this.logObjectForDebugging("API Performance Data: ",this.apis),this.logObjectForDebugging("Temp Data: ",this.tempData),this.logObjectForDebugging("EUPLBreakdown: ",this.euplBreakDown),this.logObjectForDebugging("ServerMetrics: ",this.serverMetrics),this.logMessageInConsole("====================================================================\n\n")),!this.isRunning())return;this._updateState()}this._checkTimeout(),this.isRunning()&&this.setPerfDataTimer()},e.prototype._updateState=function(){switch(this.dataState){case d.Incomplete:this.processControlRenderTime(),this.readyToComputeEUPL()&&this.setEUPL(),0===this._getMissedKeyMetrics().length&&0===this._getMissedControls().length&&(this.dataState=d.EUPLReadyToUpload,this._uploadPerfData({emergency:!1,isTTI:!1}));break;case d.EUPLReadyToUpload:console.log("this EUPLReadyToUpload state should be rare to happen unless the previous data upload failed in some reason, so we retry here."),this._uploadPerfData({emergency:!1,isTTI:!1});break;case d.EUPLUploaded:this._TTIMeasurementEnabled()&&(void 0===this._ttiMeasurementStartTime&&(this._ttiMeasurementStartTime=Number((new Date).getTime())),this._TTIPolyfillEnabled()&&this._measureTTI(),this._TTIIsCollected()&&(this.dataState=d.TTIReadyToUpload,this._uploadPerfData({emergency:!1,isTTI:!0})));break;case d.TTIReadyToUpload:console.log("this TTIReadyToUpload state should be rare to happen unless the previous data upload failed in some reason, so we retry here."),this._uploadPerfData({emergency:!1,isTTI:!0})}},e.prototype._checkTimeout=function(){if(this.isRunning()&&this.dataState!==d.EUPLReadyToUpload&&this.dataState!==d.TTIReadyToUpload){var e=Number((new Date).getTime());if(!(this.dataState===d.Incomplete&&e-this.dataStartTime<=this._config.eupl_timeout)){if(this._TTIMeasurementEnabled())if(this.dataState!==d.EUPLUploaded)console.error("rumone assert, this.dataState "+this.dataState+" should be PerformanceDataState.EUPLUploaded");else if(!this._ttiMeasurementStartTime||e-this._ttiMeasurementStartTime<=this._config.tti_timeout)return;var t={reason:"TimeOut",details:{MissingMetrics:this._getMissedKeyMetrics(),MissingControls:this._getMissedControls(),MissingTTI:m(this._rumoneData.TTI),MissingTTI2:m(this._rumoneData.TTI2)}};this._rumoneData.RUMOneError=JSON.stringify(t),this.dataState=d.TimeOut,this._uploadPerfData({emergency:!1,isTTI:void 0})}}},e.prototype._getMissedKeyMetrics=function(){for(var e=[],t=0;t<this._keyMetrics.length;t++){m(this.getPerformanceDataPropertyValue(this._keyMetrics[t]))&&e.push(this._keyMetrics[t])}return e},e.prototype._getMissedControls=function(){return this.controls.filter((function(e){return!e.data||!e.data.renderTime}))},e.prototype._emergencyUpload=function(){this.dataState!==d.Incomplete&&this.dataState!==d.EUPLReadyToUpload||0!==this._getMissedKeyMetrics().length?this.isRunning()&&this._TTIIsCollected()&&this._uploadPerfData({emergency:!0,isTTI:!0}):this._uploadPerfData({emergency:!0,isTTI:!1})},e.prototype._uploadPerfData=function(e){this.writeControlDataToRUMOne(),this.collectSupplementaryData();var t,r=e.emergency,n=e.isTTI;try{var i=this._TTIIsCollected();if(m(n)||n===i||console.error("rumone assert, isTTI !== ttiCollected"),this._settings.excludePageData)this.dataState=d.Skipped,this.logMessageInConsole("Uploading perf data skipped as requested by the consumer");else if(r||this.dataState===d.EUPLReadyToUpload||this.dataState===d.TTIReadyToUpload||this.dataState===d.TimeOut)if(this._loggingFunctions&&this._loggingFunctions.length>0)if(this._rumoneData){var o=this._getPerformanceDataToBeUploaded(i);this._loggingFunctions.forEach((function(e){e("RUMOne",o)})),this.dataState!==d.TimeOut&&(this.dataState=i?d.TTIUploaded:d.EUPLUploaded),this.isRUMOneDebuggingEnabled&&(this.logMessageInConsole("Final Data uploaded"),this.logObjectForDebugging("RUMONE: ",o),this.logObjectForDebugging("RUMOne DataState: ",this.getReadableDataState(this.dataState)))}else console.error("Error: Uploading perf data called but perf data is not available");else console.error("Uploading perf data skipped as loggingFunc is not defined");else console.error("Error: Uploading perf data called with wrong data state "+this.dataState)}catch(e){t="PerformanceLogger error writing RUMOne data: "+e,"undefined"!=typeof console&&Boolean(console)&&console.error(t)}finally{this.isRunning()||this._unhookUnloadEvent()}},e.prototype._getPerformanceDataToBeUploaded=function(e){var t=this.getPerformanceData(),r=t;return e&&(r={TTI:t.TTI,TTI2:t.TTI2,AllData:JSON.stringify(t)},a.forEach((function(e){return r[e]=t[e]}))),r},e.prototype._TTIPolyfillEnabled=function(){return!!(this._settings.TTISettings&&this._settings.TTISettings.TTIPolyfillSettings&&this._settings.TTISettings.TTIPolyfillSettings.enabled)},e.prototype._TTI2Enabled=function(){return!(!this._settings.TTISettings||!this._settings.TTISettings.enableTTI2)},e.prototype._TTIMeasurementEnabled=function(){return this._TTIPolyfillEnabled()||this._TTI2Enabled()},e.prototype._TTIIsCollected=function(){var e=this._TTIMeasurementEnabled();return this._TTIPolyfillEnabled()&&(e=e&&this.isCollected("TTI")),this._TTI2Enabled()&&(e=e&&this.isCollected("TTI2")),e},e.prototype.getReadableDataState=function(e){for(var t in d)if(e===Number(d[t]))return t;return"NaN"},e.prototype.writeControlDataToRUMOne=function(){if(this.controls&&this.controls.length){var e=this.controls.slice(0).filter((function(e){return!!e.data&&!!e.data.renderTime&&!e.ignoreForEUPL}));e.sort((function(e,t){return t.data.renderTime-e.data.renderTime}));for(var t=0;t<10&&t<e.length;t++)this._logRUMOneData("Control"+(t+1)+"Id",e[t].controlId),this._logRUMOneData("Control"+(t+1)+"RenderTime",e[t].data.renderTime);var r={};this.controls.slice(0).filter((function(e){return!!e.data&&!!e.data.renderTime&&!!e.ignoreForEUPL})).forEach((function(e){r[e.controlId]={data:e.data.renderTime,needFlatten:e.data.needFlatten}})),Object.keys(r).length>0&&this.writeEUPLBreakdown(JSON.stringify(r),!0)}},e.prototype.processControlRenderTime=function(){for(var e=0,t=this.controls;e<t.length;e++){var r=t[e];r.data&&!r.data.renderTime&&r.data.renderTimeRequiredDataChecker(this,r.data)&&(r.data.renderTime=r.data.renderTimeCalculator(this,r.data))}},e.prototype.readyToComputeEUPL=function(){for(var e=this.controls.filter((function(e){return!e.ignoreForEUPL})),t=e.length>0,r=0,n=e;r<n.length;r++){var i=n[r];if(!i.data||!i.data.renderTime){t=!1;break}}return t},e.prototype.setEUPL=function(){if(!this.isCollected("EUPL")){for(var e=0,t=0,r=this.controls;t<r.length;t++){var n=r[t];!n.ignoreForEUPL&&n.data&&n.data.renderTime&&e<n.data.renderTime&&(e=n.data.renderTime)}this._rumoneData.EUPL=e,"function"==typeof this._EUPLComputedHandler&&this._EUPLComputedHandler(e)}},e.prototype.setBrowseInfo=function(){this._rumoneData.Browser=this._platformDetection.browserName+this._platformDetection.browserMajor,this._rumoneData.BrowserIsMobile=this._platformDetection.isMobile},e.prototype._collectMemoryData=function(){this.isCollected("UsedJSHeapSize")||"undefined"==typeof performance||void 0===performance.memory||(this._rumoneData.UsedJSHeapSize=performance.memory.usedJSHeapSize,this._rumoneData.TotalJSHeapSize=performance.memory.totalJSHeapSize)},e.prototype.setAPIDataToRUMOne=function(){for(var e=0,t=0,r=0;r<this.apis.length;r++){var n=this.apis[r];n&&(e++,t+=n.duration,n.url=n.url.split("/").map((function(e){return e.split("?")[0]})).slice(-1)[0].replace(/\(.*?\)/g,"()"))}this._rumoneData.APICallCount=e,this._rumoneData.APICallDurationSum=t,this._rumoneData.APICalls=JSON.stringify(this.apis)},e.prototype.setReferrer=function(){this._rumoneData.Referrer=this._processEUIIUrl(document.referrer)},e.prototype._setAppInfo=function(){if(!this._rumoneData.AppInfo){var e=window._spModuleLink;if(e){var t=e.buildNumber,r=e.manifestName,n=e.scenarioName,i=JSON.stringify({buildNumber:t,manifestName:r,scenarioName:n});this._rumoneData.AppInfo=i}}},e.prototype.getW3cTimingName=function(e){return"secureConnectionStart"!==e?"W3c"+e.charAt(0).toUpperCase()+e.slice(1):"W3cSecureConnectStart"},e.rumOneLogger=void 0,e.Loggers={},e._markers={},e}();t.default=y},"1c8f7532950b71f6d754":function(e,t,r){"use strict";r.r(t),r.d(t,"UriPartial",(function(){return n}));var n,i=r("774b0ab3c2d70fcabb2d"),o=r("d6e6a1e726db94fe6759");!function(e){e[e.scheme=0]="scheme",e[e.authority=1]="authority",e[e.path=2]="path",e[e.query=3]="query"}(n||(n={}));var a=/[;\/?:@&=$,]/,s=/[\/?]/;function u(e){var t={};for(var r in e)e.hasOwnProperty(r)&&(t[r.toLowerCase()]=e[r].toLowerCase());return t}var c=function(){function e(e,t){this._scheme="",this._user="",this._host="",this._port="",this._path="",this._pathSegments=[],this._pathEncoded="",this._query={},this._fragment="",t&&(this._queryCaseInsensitive=!!t.queryCaseInsensitive,this._pathCaseInsensitive=!!t.pathCaseInsensitive),this._parseURI(e)}return e.concatenate=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];for(var n="",i=0;i<t.length;i++){var o=t[i];i>0&&(o=e.ensureNoPrecedingSlash(o)),i<t.length-1&&(o=e.ensureTrailingSlash(o)),n+=o}return n},e.ensureNoPrecedingSlash=function(e){return"/"===e[0]?e.substr(1):e},e.ensureTrailingSlash=function(e){return"/"!==e[e.length-1]?e+"/":e},e.prototype.getScheme=function(){return this._scheme},e.prototype.setScheme=function(e){this._scheme=e},e.prototype.getAuthority=function(){return this._getAuthority(!1)},e.prototype.setAuthority=function(e){this._parseAuthority(e)},e.prototype.getUser=function(){return this._user},e.prototype.getHost=function(){return this._host},e.prototype.getPort=function(){return this._port},e.prototype.getPath=function(e){var t=this._path;return Boolean(e)&&null!==t&&t.lastIndexOf("/")===t.length-1&&(t=t.slice(0,-1)),t},e.prototype.getLeftPart=function(e){var t=this._scheme+"://";return e===n.authority&&(t+=this.getAuthority()),e===n.path&&(t+=this.getPath()),e===n.query&&(t+=this.getQuery()),t},e.prototype.setPath=function(e){e&&"/"!==e[0]&&(e="/"+e),this._parsePath(e)},e.prototype.getPathSegments=function(){return this._pathSegments},e.prototype.getLastPathSegment=function(){var e=this._pathSegments;return e[e.length-1]||""},e.prototype.getQuery=function(e){return this._serializeQuery(e)},e.prototype.setQuery=function(e){this.setQueryFromObject(this._deserializeQuery(e))},e.prototype.getQueryAsObject=function(){return this._query},e.prototype.setQueryFromObject=function(e){for(var t in this._query={},e)e.hasOwnProperty(t)&&this.setQueryParameter(t,e[t])},e.prototype.getQueryParameter=function(e){var t=null,r=this._query;if(this._queryCaseInsensitive)for(var n in e=e.toLowerCase(),r)r.hasOwnProperty(n)&&n.toLowerCase()===e&&(t=r[n]);else t=r[e];return t||null},e.prototype.setQueryParameter=function(e,t,r){void 0===r&&(r=!0);var n=this._decodeQueryString(t);(n||r)&&(this._query[this._decodeQueryString(e)]=n)},e.prototype.removeQueryParameter=function(e){delete this._query[this._decodeQueryString(e)]},e.prototype.getFragment=function(){return this._fragment},e.prototype.setFragment=function(e){"#"===e[0]&&(e=e.substring(1)),this._fragment=this._decodeQueryString(e)},e.prototype.equals=function(e){return Object(o.equalsCaseInsensitive)(this._scheme,e.getScheme())&&this._user===e.getUser()&&Object(o.equalsCaseInsensitive)(this._host,e.getHost())&&this._port===e.getPort()&&this._fragment===e.getFragment()&&this._equalsCaseAppropriate(this.getPath(!0),e.getPath(!0),this._pathCaseInsensitive)&&this._equalsCaseAppropriate(this.getQuery(),e.getQuery(),this._queryCaseInsensitive)},e.prototype.equivalent=function(e){return Object(o.equalsCaseInsensitive)(this._scheme,e.getScheme())&&Object(o.equalsCaseInsensitive)(this._user,e.getUser())&&Object(o.equalsCaseInsensitive)(this._host,e.getHost())&&Object(o.equalsCaseInsensitive)(this._port,e.getPort())&&Object(o.equalsCaseInsensitive)(this.getPath(!0),e.getPath(!0))&&Object(i.deepCompare)(u(this.getQueryAsObject()),u(e.getQueryAsObject()))&&Object(o.equalsCaseInsensitive)(this._fragment,e.getFragment())},e.prototype.toString=function(e){return this._getStringInternal(!0,e)},e.prototype.getDecodedStringForDisplay=function(){return this._getStringInternal(!1)},e.prototype.getStringWithoutQueryAndFragment=function(){return this._getStringWithoutQueryAndFragmentInternal(!0)},e.prototype._equalsCaseAppropriate=function(e,t,r){return r?Object(o.equalsCaseInsensitive)(e,t):e===t},e.prototype._getStringInternal=function(e,t){var r=this._getStringWithoutQueryAndFragmentInternal(e,t),n=this.getQuery(e);return n&&(r+="?"+n),this._fragment&&(r+="#"+(e?encodeURIComponent(this._fragment):this._fragment)),r},e.prototype._getStringWithoutQueryAndFragmentInternal=function(e,t){var r="";this._scheme&&(r+=(e?encodeURIComponent(this._scheme):this._scheme)+":");var n=this._getAuthority(e,t);return n&&(r+="//"+n),this._pathEncoded&&(r+=e?this._pathEncoded:this._path),r},e.prototype._deserializeQuery=function(e){var t={};0===e.indexOf("?")&&(e=e.substring(1));for(var r=0,n=e.split(/[;&]+/);r<n.length;r++){var i=n[r],o=i.indexOf("=");o<0&&(o=i.length),o>0&&(t[i.substr(0,o)]=i.substr(o+1))}return t},e.prototype._serializeQuery=function(e){var t="";for(var r in this._query)if(this._query.hasOwnProperty(r)){var n=r,i=this._query[r];e&&(n=encodeURIComponent(n),i=encodeURIComponent(i)),t+=null===i||""===i?n+"=&":n+"="+i+"&"}return""!==t&&(t=t.slice(0,-1)),t},e.prototype._parseURI=function(e){var t=e,r=t.indexOf("#");if(r>=0){var n=t.substring(r+1);this.setFragment(n),t=t.substring(0,r)}var i=t.search(a);if(i>=0){":"===t[i]&&(this.setScheme(t.substring(0,i)),t=t.substring(i+1));var o="";if(0===t.indexOf("//")){var u=(t=t.substring(2)).search(s);if(u>=0?(o=t.substring(0,u),t=t.substring(u)):(o=t,t=""),this.setAuthority(o),!t)return void this.setPath("")}var c=t.indexOf("?");c>=0&&(this.setQuery(t.substring(c+1)),t=t.substring(0,c)),this.setPath(t)}else this.setPath(t)},e.prototype._parseAuthority=function(e){this._host=e;var t=e.lastIndexOf("@");t>=0&&(this._host=this._host.substring(t+1));var r=this._host.indexOf(":");if(!(t<0&&r<0)){var n=e;t<0?this._host=n:(this._user=n.substring(0,t),this._host=n.substring(t+1)),r>=0&&(this._port=this._host.substring(r+1),this._host=this._host.substring(0,r)),this._user=decodeURIComponent(this._user),this._host=decodeURIComponent(this._host)}},e.prototype._parsePath=function(e){this._path=decodeURIComponent(e);var t=this._pathSegments=[];this._pathEncoded=e;for(var r=e.split("/"),n=0;n<r.length;++n)t[n]=decodeURIComponent(r[n]);""===t[0]&&t.shift(),""===t[t.length-1]&&t.pop()},e.prototype._getAuthority=function(e,t){void 0===t&&(t={});var r,n,i,o=t&&t.doNotPercentEncodeHost,a="";return e?(r=encodeURIComponent(this._user).replace("%3A",":"),n=o?this._host:encodeURIComponent(this._host),i=encodeURIComponent(this._port)):(r=this._user,n=this._host,i=this._port),""!==r&&(a=r+"@"),""!==this._host&&(a+=n),""!==this._port&&(a+=":"+i),a},e.prototype._decodeQueryString=function(e){var t=e;try{t=decodeURIComponent(e.replace(/\+/g," "))}catch(e){}return t},e}();t.default=c},"2231d4b2f5084c1aefe5":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),r("98bae3dbabd51089d613").__exportStar(r("d68e89db2f5df7104c07"),t)},"22e720316fb8bade1b0e":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r("617dcfa84bb3a8c48ca3"),i=r("8ee2449079216aae4676"),o=r("534e76aea4c1da2e9f7d"),a=r("fb198614f77f87ac4d1b"),s=r("347053043e453fed139f"),u=new a.CircularBuffer(50);function c(e,t,r){if(e&&!function(e){return"Canceled"===e||!!e&&"object"==typeof e&&"name"in e&&"Canceled"===e.name||!!e&&"object"==typeof e&&"message"in e&&"Canceled"===e.message}(e)){for(var a,s=l(e),c=(e&&"object"==typeof e&&"stack"in e&&e.stack?e.stack:"");a=u.popOldest();)o.Verbose.logData(a);r&&r.eventName?i.QosError.logData({name:r.eventName,resultCode:r.resultCode,resultType:r.resultType,extraData:t||{},message:s,stack:c}):n.CaughtError.logData({extraData:t||{},message:s,stack:c})}}function l(e){var t="";return e&&("object"==typeof e&&"message"in e?t=e.message:"object"==typeof e&&"description"in e?t=e.description:"object"==typeof e?t=s.safeSerialize(e):e.toString&&(t=e.toString())),t}t.verbose=function(e,t){u.push({name:t,message:e})},t.logError=c,t.log=function(e,t,r,n){c(e,void 0,{eventName:t,resultCode:r,resultType:n})},t.getErrorMessage=l,t.isExpectedError=function(e,t){if(!0===e.isExpected)return!0;void 0===e.message&&void 0===e.code&&console.error('Error message and code are both undefined. "error" must specify at least message or code');for(var r=function(e,t){return!(!e||!t)&&(0===e.localeCompare(t,void 0,{sensitivity:"base"})||e===t)},n=!1,i=0,o=t;i<o.length;i++){var a=o[i],s=r(a.code,e.code),u=r(a.message,e.message);if(a.code&&e.code&&a.message&&e.message?n=s&&u:a.code&&e.code?n=s:a.message&&e.message&&(n=u),n)return n}return n}},"256c2b1df06b9b785912":function(e,t,r){"use strict";r.r(t);var n=r("98bae3dbabd51089d613"),i=r("48108e18b6091099b4b4"),o=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n.__extends(t,e),t.prototype.attached=function(e){var t=this,r=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return t.attach(e.apply(this,r)||this)};if("undefined"!=typeof DEBUG&&DEBUG){var n=r;r=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return n.apply(Object.create(e.prototype),t)}}return r.prototype=e.prototype,r},t}(i.Scope);t.default=o},"31c1cddf44fcb4b5ef81":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){e[e.Success=0]="Success",e[e.Failure=1]="Failure",e[e.ExpectedFailure=2]="ExpectedFailure"}(t.ResultTypeEnum||(t.ResultTypeEnum={}))},"347053043e453fed139f":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.safeSerialize=function(e){var t;try{var r=[];t=JSON.stringify(e,(function(e,t){return t===window?"[window]":t instanceof HTMLElement?"[HTMLElement]":"function"==typeof t?"[function]":"object"==typeof t?null===t?t:-1===r.indexOf(t)?(r.push(t),t):"[circular]":t}))}catch(e){t=JSON.stringify("[object]")}return t}},"3807b29c38f48ccb67b1":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r("0447af78a21f7c7312e2");t.Engagement=n.createSingleEvent({eventName:"Engagement,",shortEventName:"Engagement"},{name:{isKey:!0,isPrefixingDisabled:!0,type:1},isIntentional:{isPrefixingDisabled:!0,type:3},scenario:{isPrefixingDisabled:!0,type:1},location:{isPrefixingDisabled:!0,type:1},usageType:{isPrefixingDisabled:!0,type:1},currentPage:{isPrefixingDisabled:!0,type:1},previousPage:{isPrefixingDisabled:!0,type:1},experiment:{isPrefixingDisabled:!0,type:4},siteId:{isPrefixingDisabled:!0,type:1},webId:{isPrefixingDisabled:!0,type:1},listId:{isPrefixingDisabled:!0,type:1},groupId:{isPrefixingDisabled:!0,type:1},docId:{isPrefixingDisabled:!0,type:1},webTemplateId:{isPrefixingDisabled:!0,type:1},listTemplateId:{isPrefixingDisabled:!0,type:1},siteType:{isPrefixingDisabled:!0,type:1},feature:{isPrefixingDisabled:!0,type:1},component:{isPrefixingDisabled:!0,type:1},extraData:4,objectType:{isPrefixingDisabled:!0,type:1},datasource:{isPrefixingDisabled:!0,type:1},action:{isPrefixingDisabled:!0,type:1},privacyClassification:{isPrefixingDisabled:!0,type:1}}).withData({privacyClassification:"optionalDiagnostic"})},"48108e18b6091099b4b4":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r("ba94a528135ec8215398"),i=function(){function e(){this._disposables={},this._lastDisposableId=0,this.isDisposed=!1}return e.prototype.attach=function(e){var t=this,r=""+ ++this._lastDisposableId,i=n.hook(e,(function(){delete t._disposables[r]}));return this._disposables[r]=i,i},e.prototype.dispose=function(){this.isDisposed||(this.isDisposed=!0);for(var e=this._disposables,t=0,r=Object.keys(e);t<r.length;t++){var i=r[t],o=e[i];o&&n.isDisposable(o)&&o.dispose(),delete e[i]}},e}();t.Scope=i},"4c52f8420fbae462d091":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r("0447af78a21f7c7312e2");t.RUMOneDataUpload=n.createSingleEvent({eventName:"RUMOneDataUpload,",shortEventName:"RUMOneDataUpload"},{streamName:1,dictionary:4,privacyClassification:{isPrefixingDisabled:!0,type:1}}).withData({privacyClassification:"requiredService"})},"534e76aea4c1da2e9f7d":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r("0447af78a21f7c7312e2"),i=r("806b880959f0be21dbf7");t.Verbose=n.createSingleEvent({eventName:"Verbose,Trace,",shortEventName:"Verbose",requiresParent:!1},{name:{isKey:!0,type:1},privacyClassification:{isPrefixingDisabled:!0,type:1}},i.Trace).withData({privacyClassification:"requiredService"})},"617dcfa84bb3a8c48ca3":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r("0447af78a21f7c7312e2"),i=r("806b880959f0be21dbf7");t.CaughtError=n.createSingleEvent({eventName:"CaughtError,Trace,",shortEventName:"CaughtError",critical:!0,requiresParent:!1},{stack:1,extraData:4,privacyClassification:{isPrefixingDisabled:!0,type:1}},i.Trace).withData({privacyClassification:"requiredService"})},"62a856fb51e24a703bd6":function(e,t,r){"use strict";function n(e){var t=i(e);return{name:t?e.substring(0,e.length-t.length):e,extension:t}}function i(e,t){void 0===t&&(t=!1);var r="";if(e){var n=e.lastIndexOf(".");n>=0&&(r=t?e.substr(n+1):e.substr(n))}return r}function o(e,t){return void 0===t&&(t=!0),e=encodeURI(e),t&&e&&(e=e.replace(/#/g,"%23")),e}r.d(t,"c",(function(){return n})),r.d(t,"b",(function(){return i})),r.d(t,"a",(function(){return o}))},"6631b0451e9f577f414d":function(e,t,r){"use strict";r.r(t);var n=r("87e95cd1ff4b249d307f");function i(){}function o(e){n.default.log(e)}var a=function(){function e(e,t){void 0===t&&(t=o),this._isDisposed=!1,this._parent=e||null,this._onErrorHandler=t,this._timeoutIds=null,this._immediateIds=null,this._animationFrameIds=null,this._intervalIds=null}return e.prototype.dispose=function(){if(!this._isDisposed){if(this._isDisposed=!0,this._parent=null,this._timeoutIds){for(var e=0,t=Object.keys(this._timeoutIds);e<t.length;e++){var r=t[e];this.clearTimeout(Number(r))}this._timeoutIds=null}if(this._immediateIds){for(var n=0,i=Object.keys(this._immediateIds);n<i.length;n++){r=i[n];this.clearImmediate(Number(r))}this._immediateIds=null}if(this._intervalIds){for(var o=0,a=Object.keys(this._intervalIds);o<a.length;o++){r=a[o];this.clearInterval(Number(r))}this._intervalIds=null}if(this._animationFrameIds){for(var s=0,u=Object.keys(this._animationFrameIds);s<u.length;s++){r=u[s];this.cancelAnimationFrame(Number(r))}this._animationFrameIds=null}}},e.prototype.setTimeout=function(e,t){var r=this,n=0;if(!this._isDisposed){var i=this._timeoutIds||(this._timeoutIds={}),o=this._parent;n=setTimeout((function(){try{delete i[n],e.apply(o)}catch(e){r._logError(e)}}),t),i[n]=!0}return n},e.prototype.clearTimeout=function(e){var t=this._timeoutIds;t&&t[e]&&(clearTimeout(e),delete t[e])},e.prototype.setImmediate=function(e){var t=this,r=0;if(!this._isDisposed){var n=this._immediateIds||(this._immediateIds={}),i=this._parent,o=function(){try{delete n[r],e.apply(i)}catch(e){t._logError(e)}};r=window.setImmediate?window.setImmediate(o):window.setTimeout(o,0),n[r]=!0}return r},e.prototype.clearImmediate=function(e){var t=this._immediateIds;t&&t[e]&&(window.clearImmediate?window.clearImmediate(e):window.clearTimeout(e),delete t[e])},e.prototype.setInterval=function(e,t){var r=this,n=0;if(!this._isDisposed){this._intervalIds||(this._intervalIds={});var i=this._parent;n=setInterval((function(){try{e.apply(i)}catch(e){r._logError(e)}}),t),this._intervalIds[n]=!0}return n},e.prototype.clearInterval=function(e){this._intervalIds&&this._intervalIds[e]&&(clearInterval(e),delete this._intervalIds[e])},e.prototype.throttle=function(e,t,r){var n=this;if(void 0===r&&(r={}),this._isDisposed)return i;var o,a,s=t||0,u=r.leading,c=void 0===u||u,l=r.trailing,d=void 0===l||l,p=0,f=null,h=this._parent,g=function(t){var r=(new Date).getTime(),i=r-p,u=c?s-i:s;return i>=s&&(!t||c)?(p=r,f&&(n.clearTimeout(f),f=null),o=e.apply(h,a)):null===f&&d&&(f=n.setTimeout(g,u)),o};return function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return a=e,g(!0)}},e.prototype.debounce=function(e,t,r){var n=this;if(void 0===r&&(r={}),this._isDisposed)return i;var o,a,s=t||0,u=r.leading,c=void 0!==u&&u,l=r.trailing,d=void 0===l||l,p=r.maxWait,f=void 0===p?NaN:p,h=0,g=(new Date).getTime(),_=null,m=this._parent,v=function(t){var r=(new Date).getTime(),i=!1;t&&(c&&r-h>=s&&(i=!0),h=r);var u=r-h,l=s-u,p=r-g,y=!1;return isNaN(f)||(p>=f&&_?y=!0:l=Math.min(l,f-p)),u>=s||y||i?(_&&(n.clearTimeout(_),_=null),g=r,o=e.apply(m,a)):null!==_&&t||!d||(_=n.setTimeout(v,l)),o};return function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return a=e,v(!0)}},e.prototype.requestAnimationFrame=function(e){var t=this,r=0;if(!this._isDisposed){var n=this._animationFrameIds||(this._animationFrameIds={}),i=this._parent,o=function(){try{delete n[r],e.apply(i)}catch(e){t._logError(e)}};r=window.requestAnimationFrame?window.requestAnimationFrame(o):window.setTimeout(o,0),n[r]=!0}return r},e.prototype.cancelAnimationFrame=function(e){var t=this._animationFrameIds;t&&t[e]&&(window.cancelAnimationFrame?window.cancelAnimationFrame(e):window.clearTimeout(e),delete t[e])},e.prototype._logError=function(e){this._onErrorHandler&&this._onErrorHandler(e)},e}();t.default=a},"6e62786e04351f279fc3":function(e,t,r){"use strict";r.r(t),r.d(t,"getFolderNameFromPath",(function(){return i})),r.d(t,"getSharePointPath",(function(){return o})),r.d(t,"canonicalizeUrl",(function(){return a})),r.d(t,"canonicalizeDecodedUrl",(function(){return s})),r.d(t,"getDecodedUrl",(function(){return u}));var n=r("62a856fb51e24a703bd6");function i(e){var t=e.lastIndexOf("/");return t>=0?e.substring(t+1):e}function o(e){return decodeURI(e)}function a(e){var t;try{t=decodeURI(e)}catch(r){t=e}return e=t===e?Object(n.a)(e,!0):e.replace("#","%23")}function s(e){return e&&e.indexOf("?")<0&&(e=(e=encodeURI(e)).replace(/#/g,"%23")),e}function u(e){var t=e.split("/");if(t.length>3){for(var r=3;r<t.length;r++)t[r]=decodeURIComponent(t[r]);return t.join("/")}return e}r.d(t,"splitFileName",(function(){return n.c})),r.d(t,"getFileExtension",(function(){return n.b})),r.d(t,"encodePath",(function(){return n.a}))},"6f8ae5b6dc470397fb69":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r("9de296873c83e5923274"),i=r("31c1cddf44fcb4b5ef81");t.ResultTypeEnum=i.ResultTypeEnum,t.Qos=n.createPairedEvent({eventName:"Qos,",shortEventName:"Qos"},{name:{isKey:!0,isPrefixingDisabled:!0,type:1},startTimeOverride:{isPrefixingDisabled:!0,type:2},resultCode:{isPrefixingDisabled:!0,type:1},resultType:{typeRef:i.ResultTypeEnum,isPrefixingDisabled:!0,type:6},error:{isPrefixingDisabled:!0,type:1},extraData:4,extraMetrics:{isPrefixingDisabled:!0,type:4},privacyClassification:{isPrefixingDisabled:!0,type:1}}).withData({privacyClassification:"requiredService"})},"774b0ab3c2d70fcabb2d":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.deepCompare=function(e,t,r){var n=[],i=[],o=r||function(e,t){return e===t};return function e(t,r){if(t===r)return!0;if(null===t||null===r)return!1;if("object"!=typeof t||"object"!=typeof r)return!1;var a=Object.keys(t).sort(),s=Object.keys(r).sort();return a.length===s.length&&!!a.every((function(a,u){if(a!==s[u])return!1;if("function"==typeof t[a]||"function"==typeof r[a])return!0;if(o(t[a],r[a]))return!0;if("object"==typeof t[a]){if(-1!==n.indexOf(t[a]))throw new Error("Cannot perform DeepCompare() because a circular reference was encountered, object: "+t+", property: "+a);if(n.push(t[a]),-1!==i.indexOf(r[a]))throw new Error("Cannot perform DeepCompare() because a circular reference was encountered, object: "+r+", property: "+a);return i.push(r[a]),e(t[a],r[a])?(n.pop(),i.pop(),!0):!1}return!1}))}(e,t)}},"79622c2bf8773ee06408":function(e,t,r){"use strict";r.r(t),r.d(t,"getRequestEntryDurationMetrics",(function(){return i}));var n=r("37b99d1e7f0c88452ea0");function i(e,t){if(!(window&&window.performance&&e&&t))return{duration:-1};try{var r=performance.getEntriesByType("resource");if(!new n.a(e).authority)e=(window.location&&new n.a(window.location.href).authority)+e;for(var i=void 0,o=r.length-1;o>=0;o--){var a=r[o];if(a.startTime<t)break;decodeURIComponent(a.name)===decodeURIComponent(e)&&(i=a)}return i?(u=(s=i).connectEnd,c=s.connectStart,l=s.decodedBodySize,d=s.domainLookupend,p=s.domainLookupStart,f=s.duration,{connectEnd:u,connectStart:c,decodedBodySize:l,domainLookupend:d,domainLookupStart:p,duration:void 0===f?-1:f,encodedBodySize:s.encodedBodySize,fetchStart:s.fetchStart,nextHopProtocol:s.nextHopProtocol,redirectEnd:s.redirectEnd,redirectStart:s.redirectStart,requestStart:s.requestStart,responseEnd:s.responseEnd,responseStart:s.responseStart,secureConnectionStart:s.secureConnectionStart,startTime:s.startTime,transferSize:s.transferSize,workerStart:s.workerStart}):{duration:-1}}catch(e){return{duration:-1}}var s,u,c,l,d,p,f}},"806b880959f0be21dbf7":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r("0447af78a21f7c7312e2");t.Trace=n.createSingleEvent({eventName:"Trace,",shortEventName:"Trace",requiresParent:!1},{message:1,privacyClassification:{isPrefixingDisabled:!0,type:1}}).withData({privacyClassification:"requiredService"})},"8605abf9448f5c554409":function(e,t,r){"use strict";r.r(t),r.d(t,"Api",(function(){return a}));var n=r("9de296873c83e5923274"),i=r("6f8ae5b6dc470397fb69"),o=r("31c1cddf44fcb4b5ef81");r.d(t,"ResultTypeEnum",(function(){return o.ResultTypeEnum}));var a=Object(n.createPairedEvent)({eventName:"Api,Qos,",shortEventName:"Api"},{url:1,privacyClassification:{isPrefixingDisabled:!0,type:1}},i.Qos).withData({privacyClassification:"requiredService"});t.default=a},"87e95cd1ff4b249d307f":function(e,t,r){"use strict";r.r(t);var n=r("22e720316fb8bade1b0e");t.default=n},"8e315e7d1c81f1fe46e0":function(e,t,r){"use strict";r.r(t),r.d(t,"EventGroup",(function(){return a}));var n=r("87e95cd1ff4b249d307f"),i=r("e1c8dc4e514231c05155");function o(e){n.default.log(e)}var a=function(){function e(t,r){void 0===r&&(r=o),this._id=e._uniqueId++,this._parent=t,this._onError=r,this._eventRecords=[]}return e.raise=function(e,t,r,n){return i.c(e,t,r,n)},e.isObserved=function(e,t){var r=e&&e.__events__;return!!r&&!!r[t]},e.isDeclared=function(e,t){var r=e&&e.__declaredEvents;return!!r&&!!r[t]},e.stopPropagation=function(e){e.stopPropagation&&e.stopPropagation()},e.prototype.dispose=function(){this._isDisposed||(this._isDisposed=!0,this.off(),this._parent=null)},e.prototype.onAll=function(e,t,r){for(var n in t)this.on(e,n,t[n],r)},e.prototype.on=function(t,r,n,o){var a=this;if(r.indexOf(",")>-1)for(var s=r.split(/[ ,]+/),u=0;u<s.length;u++)this.on(t,s[u],n,o);else{var c=this._parent,l={target:t,eventName:r,parent:c,callback:n,objectCallback:null,elementCallback:null,useCapture:o},d=t.__events__=t.__events__||{};if(d[r]=d[r]||{count:0},d[r][this._id]=d[r][this._id]||[],d[r][this._id].push(l),d[r].count++,i.b(t)){var p=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];if(!a._isDisposed){try{var i=n.apply(c,t);if(!1===i&&t[0]&&t[0].preventDefault){var o=t[0];o.preventDefault(),e.stopPropagation(o)}}catch(o){a._onError(o)}return i}};l.elementCallback=p,t.addEventListener(r,p,o)}else{l.objectCallback=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(!a._isDisposed)return n.apply(c,e)}}this._eventRecords.push(l)}},e.prototype.off=function(e,t,r,n){for(var i=0;i<this._eventRecords.length;i++){var o=this._eventRecords[i];if(!(e&&e!==o.target||t&&t!==o.eventName||r&&r!==o.callback||"boolean"==typeof n&&n!==o.useCapture)){var a=o.target.__events__,s=a[o.eventName],u=s?s[this._id]:null;u&&(1!==u.length&&r?(s.count--,u.splice(u.indexOf(o),1)):(s.count-=u.length,delete a[o.eventName][this._id]),s.count||delete a[o.eventName]),o.elementCallback&&o.target.removeEventListener&&o.target.removeEventListener(o.eventName,o.elementCallback,o.useCapture),this._eventRecords.splice(i--,1)}}},e.prototype.raise=function(t,r,n){return e.raise(this._parent,t,r,n)},e.prototype.declare=function(e){var t=this._parent.__declaredEvents=this._parent.__declaredEvents||{};if("string"==typeof e)t[e]=!0;else for(var r=0;r<e.length;r++)t[e[r]]=!0},e._uniqueId=0,e}();t.default=a},"8ee2449079216aae4676":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r("0447af78a21f7c7312e2"),i=r("617dcfa84bb3a8c48ca3"),o=r("31c1cddf44fcb4b5ef81");t.ResultTypeEnum=o.ResultTypeEnum,t.QosError=n.createSingleEvent({eventName:"QosError,CaughtError,Trace,",shortEventName:"QosError",critical:!0},{name:{isKey:!0,type:1},resultCode:1,resultType:{typeRef:o.ResultTypeEnum,type:6}},i.CaughtError).withData({privacyClassification:"requiredDiagnostic"})},"8f87efd00acf85bf14b3":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.deepCopy=function(e){var t=[];return function e(r){var n=null;return r&&(n=Array.isArray(r)?[]:Object.create(Object.getPrototypeOf(r)),Object.keys(r).forEach((function(i){var o=r[i];if("object"==typeof o){if(-1!==t.indexOf(o))throw new Error("Cannot perform DeepCopy() because a circular reference was encountered, object: "+r+", property: "+i);t.push(o),n[i]=e(o),t.pop()}else n[i]=o}))),n}(e)}},"969a82330cafca70aa6d":function(e,t,r){"use strict";var n;r.d(t,"a",(function(){return n})),function(e){e[e.invalid=-1]="invalid",e[e.teamSite=1]="teamSite",e[e.meetings=2]="meetings",e[e.centralAdmin=3]="centralAdmin",e[e.wiki=4]="wiki",e[e.documentCenter=7]="documentCenter",e[e.blog=9]="blog",e[e.tenantAdmin=16]="tenantAdmin",e[e.app=17]="app",e[e.appCatalog=18]="appCatalog",e[e.mySite=21]="mySite",e[e.subgroup=39]="subgroup",e[e.publishingPortal=52]="publishingPortal",e[e.mySiteHost=54]="mySiteHost",e[e.enterpriseWiki=56]="enterpriseWiki",e[e.group=64]="group",e[e.pointPublishingPersonal=66]="pointPublishingPersonal",e[e.sitePagePublishing=68]="sitePagePublishing",e[e.teamChannel=69]="teamChannel",e[e.projectWebAppSite=6221]="projectWebAppSite",e[e.contentCenter=6001]="contentCenter"}(n||(n={})),t.b=n},"9de296873c83e5923274":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r("98bae3dbabd51089d613"),i=r("dd7710060b79460ec18c"),o=r("16f7a8beee83cf78aabb"),a=r("31c1cddf44fcb4b5ef81"),s=r("22e720316fb8bade1b0e"),u=r("347053043e453fed139f");function c(e,t,r){var n={resultType:e};return t&&(n.resultCode=t),r&&(n.error=r),n}var l=function(e){function t(t,r){return e.call(this,t,i.ClonedEventType.Start,r)||this}return n.__extends(t,e),t.instrumentPromise=function(e,t,r,n,i,o,s){var l,d=new this(e,s);i&&d.setTimeout(i,o);try{l=t()}catch(e){throw d.end(c(a.ResultTypeEnum.Failure,"PromiseCreationFailed",e.toString())),e}return l.then((function(e){var t;if(r)try{t=r(e)}catch(e){t=c(a.ResultTypeEnum.Failure,"GetSchemaException",e.toString())}else t=c(a.ResultTypeEnum.Success);d.end(t)}),(function(e){var t;if(n)try{t=n(e)}catch(e){t=c(a.ResultTypeEnum.Failure,"GetSchemaException",e.toString())}else if(e){t=c(e instanceof Error&&"Canceled"===e.name?a.ResultTypeEnum.ExpectedFailure:a.ResultTypeEnum.Failure,void 0,u.safeSerialize(e))}else t=c(a.ResultTypeEnum.Failure);d.end(t)})),l},t.prototype.setTimeout=function(e,t){this._clearTimeout(),t||(t=c(a.ResultTypeEnum.Failure,"Timeout")),this.timeoutId=window.setTimeout(this.end.bind(this,t),e)},t.prototype.verbose=function(e){if(!this.endTime&&this._isQosEvent()){var t=this.data;s.verbose(e,t.name)}},t.prototype.end=function(e){if(!this.endTime){if(e&&this._setData(e),this.endTime=o.Manager.getTime(),this._logEvent(i.ClonedEventType.End),this._isQosEvent()){var t=this.data;t.error&&s.log(t.error,t.name,t.resultCode,t.resultType)}this._clearTimeout()}},t.prototype._clearTimeout=function(){this.timeoutId&&(window.clearTimeout(this.timeoutId),this.timeoutId=void 0)},t.prototype._isQosEvent=function(){return this.eventName.indexOf("Qos,")>=0},t}(i.EventBase);t.createPairedEvent=function(e,t,r){var o=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n.__extends(t,e),t}(l);return i.addEventProps(o.prototype,e,t,r),o}},"9e0d2f5e68dc84431948":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(e){void 0===e&&(e={});var t=new Error(e.message||e.innerError&&e.innerError.message);for(var r in this.message=t.message,this.innerError=e.innerError,this.stack=t.stack,this.name=t.name,this)Object.prototype.hasOwnProperty.call(this,r)&&(t[r]=this[r]);var n=Object.getPrototypeOf(this);if(Error.captureStackTrace&&Error.captureStackTrace(t,n),Object.setPrototypeOf)return Object.setPrototypeOf(t,n),t};t.CustomError=n,Object.setPrototypeOf&&(n.prototype=Object.create(Error.prototype,{constructor:{value:Error,enumerable:!1,writable:!0,configurable:!0}}),Object.setPrototypeOf(n,Error))},a918e6b023e78a8f38a9:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r("98bae3dbabd51089d613");function i(e){var t;function r(r){return t=RegExp(r+"(\\d+)([\\d.]*)").exec(e)}e=e.toLowerCase();var n=r("msie ")||r("trident.*rv:"),i=t&&"9"===t[1],o=!t&&r("edge/"),a=!t&&r("edg/"),s=!t&&r("fxios|firefox/"),u=!t&&r("(?:chrome|crios)/"),c=!t&&/safari\/(\d+)/.test(e);return c&&r("version/"),{browserName:n?"IE":o?"Edge":a?"EdgeChromium":s?"Firefox":u?"Chrome":c?"Safari":"NA",isChrome:!!u,isEdge:!!o,isEdgeChromium:!!a,isFirefox:!!s,isIE:!!n,isIE9:!!i,isSafari:!!c,matchedBrowser:t}}function o(e){var t=e.matchedBrowser;return{browserMajor:t&&parseInt(t[1],10)||0,browserMinor:t&&t[2]&&t[2].slice(1)||"0"}}function a(e){e=e.toLowerCase();var t=/windows phone|wpdesktop/.test(e),r=t||/ipad|iphone|ipod|android/.exec(e),n=r&&r[0],i="android"===n,o="ipad"===n,a=!!n&&!i,s=!r&&e.indexOf("macintosh")>-1,u=!r&&e.indexOf("windows nt")>-1;return{isAndroid:i,isIOS:a,isIPad:o,isMac:s,isWindows:u,isWinPhone:!!t,isMobile:!!r,osName:u?"Windows":t?"Windows Phone":s?"OSX":a?"IOS":i?"Android":"NA"}}t.getBrowser=i,t.getBrowserVersion=o,t.getOS=a;var s=function(e){var t="undefined"!=typeof window?window:"undefined"!=typeof self?self:void 0;e||(e=t&&t.navigator&&navigator.userAgent||"");var r=e,s=e.toLowerCase(),u=i(s),c=o(u),l=a(s),d=l.isMobile,p=/electron\/\\d+[\\d.]*/.test(s),f=s.indexOf("winappwipenabled")>-1,h=/[\s\(](os|os x|windows (?:phone|nt)|android) ([\d._]+)/.exec(s),g=!1,_=!1,m=!1,v=!1;if(t&&t.document){var y=document.createElement("style");y.type="text/css",g=!y.styleSheet,_="addBehavior"in HTMLDivElement.prototype;var b=document.createElement("input");b.type="file";var T=t.File,E=T&&T.prototype;v=!(!E||!(E.slice||E.mozSlice||E.webkitSlice)),m="webkitdirectory"in b&&!p}return n.__assign({},u,c,l,{isElectron:p,osVersion:h?h[2]:"NA",isWindows81:!d&&/windows (?:8\.1|nt 6\.3)/.test(s),isWindows10:!d&&s.indexOf("windows nt 10")>-1,isWindows7:!d&&s.indexOf("windows nt 6.1")>-1,isWinAppWipEnabled:f,areCSS3TransitionsSupported:!u.isIE||c.browserMajor>9,areTouchEventsSupported:!!t&&"ontouchstart"in t,isFolderUploadSupported:m,isHtml5FileUploadSupported:v,isRetinaSupported:!!t&&t.devicePixelRatio>1,isUnlimitedStyleSheetsSupported:g,isWebDavSupported:_,userAgent:r})};t.PlatformDetection=s},abb5ebf715fcba560443:function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));var n=r("98bae3dbabd51089d613"),i=r("c0864826ef536ba1020d"),o=function(e){function t(r){var i=this,o=r.errorData,a=void 0===o?r.innerError instanceof t&&r.innerError.errorData||{status:0}:o,s=a.message,u=void 0===s?void 0:s,c=a.correlationId,l=void 0===c?void 0:c,d=a.code,p=void 0===d?void 0:d,f=n.__rest(a,["message","correlationId","code"]),h="object"==typeof u?u?"string"==typeof u.value?u.value:JSON.stringify(u):""+u:u,g=n.__assign({},"string"==typeof l?{correlationId:l}:{},"string"==typeof p?{code:p}:{},"string"==typeof h?{message:h}:{},r,{extraData:n.__assign({},r.extraData||{},{hasAuthChallenge:!!f.authenticate,status:f.status,infected:f.infected,groupThrottle:f.groupThrottle,statusText:f.statusText})});(i=e.call(this,g)||this).name="GetDataError",i.errorData=a;for(var _=0,m=Object.keys(f);_<m.length;_++){var v=m[_];i[v]=f[v]}return i}return n.__extends(t,e),t}(i.ApiError)},b2115b5c9c165e0e8a79:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r("98bae3dbabd51089d613");t.assign=function(e,t){return n.__assign(e,t)}},ba94a528135ec8215398:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(e){this._callbacks=[],this._owner=e}return e.prototype.addCallback=function(e){this._callbacks.push(e)},e.prototype.dispose=function(){for(var e;e=this._callbacks.pop();)e.call(this._owner)},e}();t.isDisposable=function(e){return"function"==typeof e.dispose},t.hook=function(e,t){var r=e,i=r.dispose;return("function"==typeof i&&i.disposalChain||function(e){var t=new n(e),r=e.dispose,i=function(){t.dispose(),r&&(e.dispose=r,e.dispose())};return e.dispose=i,i.disposalChain=t,t}(r)).addCallback(t),r}},c0864826ef536ba1020d:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r("98bae3dbabd51089d613"),i=function(e){function t(t){var r=e.call(this,t)||this;r.name="ApiError";var i=t.innerError,o=i||void 0,a=o?n.__assign({},"string"==typeof o.correlationId?{correlationId:o.correlationId}:{},"boolean"==typeof o.isExpected?{isExpected:o.isExpected}:{},"string"==typeof o.name?{code:o.name}:{},"string"==typeof o.code?{code:o.code}:{},"object"==typeof o.extraData?{extraData:o.extraData}:{}):{},s=t.correlationId,u=void 0===s?a.correlationId:s,c=t.isExpected,l=void 0===c?a.isExpected:c,d=t.extraData;return r.correlationId=u,r.isExpected=!!l,r.code=t.code||a.code||"",r.extraData=n.__assign({},a.extraData||{},d||{}),r}return n.__extends(t,e),t}(r("9e0d2f5e68dc84431948").CustomError);t.ApiError=i},c1a09d7dd35e11297e15:function(e,t,r){"use strict";r.r(t);var n=r("0b8514f932f40951d460"),i=function(){function e(e){this._promise=new n.SignalPromise(e)}return e.prototype.getPromise=function(){return this._promise},e.prototype.cancel=function(){this._promise.cancel()},e.prototype.complete=function(e){this._promise._completed(e)},e.prototype.error=function(e){this._promise._error(e)},e}();t.default=i},c1d76209a7f2fe28e159:function(e,t,r){"use strict";r.r(t),r.d(t,"isQosEndSchemaOverride",(function(){return m})),r.d(t,"DataRequestor",(function(){return v}));var n=r("98bae3dbabd51089d613"),i=r("0b8514f932f40951d460"),o=r("c1a09d7dd35e11297e15");var a=r("8605abf9448f5c554409"),s=r("3807b29c38f48ccb67b1"),u=r("6f8ae5b6dc470397fb69"),c=r("173e9cfb7855b90005c4"),l=r("c0864826ef536ba1020d"),d=r("37b99d1e7f0c88452ea0"),p=r("79622c2bf8773ee06408"),f=r("d8376f4535401b5bd67a"),h=r("abb5ebf715fcba560443"),g="undefined"!=typeof window?window:void 0,_=g&&g.performance;function m(e){return"object"==typeof e}var v=function(){function e(e,t){this._pageContext=t?t.pageContext:e.pageContext,this._tokenProvider=t&&t.tokenProvider,this._qosName=e.qosName,this._apiEvent=t&&t.apiEvent||a.default,this._engagement=t&&t.engagement||s.Engagement,this._normalizeErrors=!!e.normalizeErrors,this._getDataWithTokenProvider=t&&t.getDataWithTokenProvider}return e.parseJSON=function(e){return e&&JSON.parse(e)||void 0},e.prototype.getData=function(t){var r=this,a=t.url,s=t.parseResponse,v=void 0===s?e.parseJSON:s,y=t.qosExtraData,b=t.qosHandler,T=t.successQosHandler,E=t.customQosLogger,w=t.additionalPostData,D=void 0===w?"":w,S=t.contentType,C=t.method,P=void 0===C?"POST":C,R=t.maxRetries,I=void 0===R?0:R,O=t.responseType,x=t.onUploadProgress,U=t.timeout,k=t.authToken,M=t.noTimeoutInLastRetry,A=void 0!==M&&M,q=!0,L=this._pageContext,F=this._tokenProvider,N=this._getDataWithTokenProvider,j=new d.a(a),V=j.authority+"/{ length: "+j.path.length+", segments: "+j.segments.length+" }",H=[];this._qosName&&H.push(this._qosName),t.qosName&&H.push(t.qosName);var B=H.join("."),W=function(e){var s=e.authToken,w=e.expiresOn,C=e.correlationId,R=t.crossSiteCollectionCall,k=void 0!==R&&R,M=t.noRedirect,F=void 0!==M&&M,N=t.needsRequestDigest,j=void 0===N||N,H=t.additionalHeaders?n.__assign({},t.additionalHeaders):void 0;if(s){var W="Bearer "+s;if(H){var Q=!1;for(var z in H)z&&"authorization"===z.toLowerCase()&&(Q=!0);Q||(H.Authorization=W)}else H={Authorization:W};k=!0,j=!1,F=!0}var J,G,K,X=new f.ServerConnection(n.__assign({},L?{webServerRelativeUrl:L.webServerRelativeUrl,webAbsoluteUrl:k?L.webAbsoluteUrl:void 0,formDigest:{serverTime:L.serverTime,updateFormDigestPageLoaded:L.updateFormDigestPageLoaded,formDigestValue:L.formDigestValue,formDigestTimeoutSeconds:L.formDigestTimeoutSeconds}}:{},{needsRequestDigest:j,engagement:r._engagement,operationName:r._qosName})),Y=function(e){E&&E(e)},Z=g&&g.location&&new d.a(g.location.href).authority,$=new d.a(a).authority,ee=c.RUMOneLogger.getRUMOneLogger(),te=Date.now();return ee&&(Boolean(ee.readTempData("appDataFetchStart"))||ee.saveTempData("appDataFetchStart",te)),function(e){var t,r=e.onExecute,n=e.onCancel,a=e.timeout,s=e.canRetry,u=e.noTimeoutInLastRetry,c=0,l=Math.max(e.maxRetries,0),d=function(){var e=new i.default(r,(function(){n(c>=l||!s())}));return a&&(!u||c<l)?i.default.timeout(a,e):e};t=c<l?function(e){var t,r=e.adjustRetries,n=e.async,i=e.beforeRetry,a=e.callback,s=e.canRetry,u=void 0===s?function(){return!0}:s,c=e.delay,l=e.resetAttemptsOnRestart,d=e.retries,p=e.shouldRestart,f=0,h=new o.default((function(){t.cancel()}));function g(e){p&&p()?(l&&(f=0),m()):h.complete(e)}function _(e){r&&(d=r(e)),f<d&&u(e)?(f++,i&&i(),"number"==typeof c&&n?n.setTimeout(m,c):m()):h.error(e)}function m(){(t=a()).then(g,_)}return m(),h.getPromise()}({canRetry:s,retries:l,callback:d,beforeRetry:function(){c++}}):d();return t}({timeout:U,onExecute:function(e,t){var i=function(i,o){return function(c){var l,d=c.getResponseText();K=c.getServiceWorkerDataSourceHeader();var f,g=Object(p.getRequestEntryDurationMetrics)(a,o),_=n.__assign({},y||{},{needsRequestDigest:j,hasAuthToken:!!s,isCrossOrigin:!!Z&&Z!==$,CorrelationId:c.getCorrelationId(),AuthCorrelationId:C,AuthExpiration:w,HttpStatus:c.getStatus(),serviceWorkerDataSource:K||void 0,rawRequestDuration:g.duration,performanceEntry:JSON.stringify(g),serviceWorkerFetchInfo:c.getServiceWorkerFetchInfoFromHeader()||void 0}),m=!1;try{var b=void 0;if(function(e,t){return"blob"===e&&t&&"object"==typeof t}(O,d))l=d;else if(l=v(d,c),T){var E=T(l);b="string"==typeof E?{resultCode:E}:E}m=!0;var D=n.__assign({resultType:u.ResultTypeEnum.Success,extraData:_},b||{});i.end(D),Y(D)}catch(e){f=e;D={resultType:u.ResultTypeEnum.Failure,resultCode:"InvalidJSON",error:"object"==typeof e?JSON.stringify(e):e,extraData:_};i.end(D),Y(D),t(r._normalizeErrors?new h.a({code:"-1,parse_response",innerError:f,errorData:{status:c.getStatus()}}):void 0)}if(m)try{e(l)}catch(e){}X=void 0}},o=function(e,i){return function(o,c){var d=Object(p.getRequestEntryDurationMetrics)(a,i),f=n.__assign({},y||{},{needsRequestDigest:j,hasAuthToken:!!s,isCrossOrigin:!!Z&&Z!==$,rawRequestDuration:d.duration,performanceEntry:JSON.stringify(d)});if(!o){var g=void 0;if(J)g={resultType:u.ResultTypeEnum.ExpectedFailure,resultCode:"RequestAborted",extraData:f};else{var _="Unknown",v=!0,T=0;c&&c instanceof l.ApiError&&(_=c.code,v=c.isExpected,T=-1);var E={status:T,code:_};g={resultType:v?u.ResultTypeEnum.ExpectedFailure:u.ResultTypeEnum.Failure,resultCode:_,extraData:f},t(r._normalizeErrors?new h.a({errorData:E,innerError:c}):E)}return e.end(g),void Y(g)}var w=o.getCorrelationId(),D=o.getGroupThrottle(),S=o.getMSCorrelationVector(),C=o.getStatus(),P=o.getAuthErrorType();f=n.__assign({},f,{CorrelationId:w,HttpStatus:C,GroupThrottle:D,MSCorrelationVector:S,AuthErrorType:P});var R=u.ResultTypeEnum.Failure,I="undefined"!=typeof navigator&&!1===navigator.onLine;(403===C||404===C||429===C||503===C||-1===C||0===C&&I)&&(q=!1,R=u.ResultTypeEnum.ExpectedFailure);var O=function(i){var a,s=void 0;if("object"==typeof i&&"number"==typeof i.status)s=i;else if("string"==typeof i){var c=void 0;try{c=JSON.parse(i)}catch(e){}a=function(e){if(e)try{var t=/(\d+)(?:;reason="([^"]+?)")?(?:;category="([^"]+?)")?/.exec(e),r=t[1],n=void 0===r?"-1":r,i=t[2],o=void 0===i?"":i,a=t[3],s=void 0===a?"unknown":a,u=void 0;switch(Number(n)){case 3e6:case 3000003:case 3000006:case 3001003:case 3001004:case 3001005:case 3002e3:case 3004009:case 3004010:case 3003e3:u=!0;break;default:u=!1}return new l.ApiError({code:n+","+s,message:o,isExpected:u})}catch(e){return new l.ApiError({code:"-1,Unknown",innerError:e})}}(P),c&&(s=c.error_description?{code:"-1,"+(c.error||"Unknown"),message:c.error_description}:"string"==typeof c.error?{message:c.error}:c.error||c["odata.error"]||{responseData:c})}(s=s||{}).status=C;var d=s["@error.redirectUrl"],p=o.getRedirectUrl()||d;p&&(R=u.ResultTypeEnum.ExpectedFailure),s.redirectUrl=p,s.authenticate=o.getAuthenticateHeader(),w&&(s.correlationId=w),D&&(s.groupThrottle=D),"-1,policy_enforced"===s.code&&(R=u.ResultTypeEnum.ExpectedFailure),a&&a.isExpected&&(R=u.ResultTypeEnum.ExpectedFailure),s.code=a&&a.code||s.code;var g,_="["+C.toString()+"] "+(s.code||"Unknown");if(b){var v=b(s);m(v)?g=v:_=v,500!==C||"DefaultDoclibNotFound"!==_&&"PrefetchWebMismatch"!==_||(q=!1,R=u.ResultTypeEnum.ExpectedFailure)}var y=JSON.stringify(s),T=n.__assign({resultType:R,error:y,resultCode:_,extraData:f},g||{});e.end(T),Y(T),t(r._normalizeErrors?new h.a(n.__assign({errorData:s,innerError:a},R===u.ResultTypeEnum.ExpectedFailure?{isExpected:!0}:{})):s)},x=o.getResponseType();x&&"text"!==x?o.parseError().then(O):O(o.getResponseText())}};(function(){var e=G=new r._apiEvent({url:V,name:B}),t=_&&_.now();X.getServerDataFromUrl({url:a,successCallback:i(e,t),failureCallback:o(e,t),uploadProgressCallback:x,additionalPostData:D,method:P,additionalHeaders:H,contentType:S,withCredentials:!s&&void 0,noRedirect:F,responseType:O,needsRequestDigest:j})})()},maxRetries:I,noTimeoutInLastRetry:A,canRetry:function(){return q},onCancel:function(e){J=!0,X&&(X.abort(),e&&X.dispose())}}).then((function(e){return X&&X.dispose(),e}),(function(e){return X&&X.dispose(),!G.endTime&&i.default.isCanceled(e)&&G.end({resultCode:"PromiseCanceled",resultType:u.ResultTypeEnum.ExpectedFailure}),i.default.reject(e)}))};if(k)return i.default.resolve(k).then((function(e){return W({authToken:e})}));if(F&&F.getAuthToken)return N?N({apiEvent:this._apiEvent,getData:W,options:{url:a,webAbsoluteUrl:L&&L.webAbsoluteUrl},qosName:B,tokenProvider:F}):i.default.resolve(F.getAuthToken({url:a,webAbsoluteUrl:L&&L.webAbsoluteUrl})).then((function(e){return W(e&&"string"!=typeof e?e:{authToken:e})}));if(L){if(L.getAuthToken)return i.default.resolve(L.getAuthToken().then((function(e){return W({authToken:e})})));if(L.authToken)return i.default.resolve(L.authToken).then((function(e){return W({authToken:e})}))}return W({})},e}();t.default=v},d8376f4535401b5bd67a:function(e,t,r){"use strict";r.r(t),r.d(t,"ServerConnection",(function(){return f}));var n=r("1c8f7532950b71f6d754"),i=r("256c2b1df06b9b785912"),o=r("173e9cfb7855b90005c4"),a=o.APICallPerformanceData,s=r("8e315e7d1c81f1fe46e0"),u=r("0b8514f932f40951d460"),c=r("c0864826ef536ba1020d"),l=r("c1a09d7dd35e11297e15"),d=r("e9d155a6651c0bf6c9b0");var p=function(){function e(e,t,r){this._request=e,this._url=t,this._webAbsoluteUrl=r&&r.webAbsoluteUrl,this._isCanaryRequest=r&&r.isCanaryRequest}return e.prototype.getSourceUrl=function(){return this._url},e.prototype.getAllResponseHeaders=function(){return this._request.getAllResponseHeaders()},e.prototype.getCorrelationId=function(){return this.getResponseHeader("SPRequestGuid")},e.prototype.getGroupThrottle=function(){return this.getResponseHeader("SPGroupThrottle")},e.prototype.getMSCorrelationVector=function(){return this.getResponseHeader("MS-CV")},e.prototype.getAuthErrorType=function(){return this.getResponseHeader("x-ms-diagnostics")},e.prototype.getServiceWorkerDataSourceHeader=function(){return this.getResponseHeader("X-SERVICEWORKER-DATA-SOURCE")},e.prototype.getServiceWorkerFetchInfoFromHeader=function(){return this.getResponseHeader("X-ServiceWorkerFetchInfo")},e.prototype.getStatus=function(){try{return this._request.status}catch(e){}},e.prototype.getAuthenticationRedirect=function(){return this.getResponseHeader("X-Forms_Based_Auth_Required")},e.prototype.getAuthenticateHeader=function(){return this.getResponseHeader("WWW-Authenticate")},e.prototype.getResponseType=function(){return this._request.responseType},e.prototype.getResponseText=function(){return this._request.responseType&&"text"!==this._request.responseType?this._request.response:this._request.responseText},e.prototype.getErrorResponseText=function(){return"blob"===this._request.responseType?{status:this._request.status,statusText:this._request.statusText,infected:!!this.getResponseHeader("x-virus-infected"),authenticate:this.getResponseHeader("WWW-Authenticate")}:this.getResponseText()},e.prototype.parseError=function(){var e=this,t=new l.default;return this._request.responseType&&"text"!==this._request.responseType?"blob"===this._request.responseType?function(e){var t,r=new l.default,n=function(){if(t.result){var e=void 0;try{e=JSON.parse(t.result),r.complete(e)}catch(e){r.complete({message:"Unable to parse blob result."})}}},i=function(){r.complete({message:"Unable to read blob error response."})};try{(t=new FileReader).addEventListener("load",n),t.addEventListener("error",i),t.readAsText(e)}catch(e){i()}return r.getPromise().then((function(e){return t&&(t.removeEventListener("load",n),t.removeEventListener("error",i)),e}))}(this._request.response).then((function(r){var n={data:r,status:e.getStatus(),statusText:e._request.statusText,infected:!!e.getResponseHeader("x-virus-infected"),authenticate:e.getResponseHeader("WWW-Authenticate")};t.complete(n)})):t.complete(this._request.response):t.complete(this._request.responseText),t.getPromise()},e.prototype.getValue=function(t){var r;switch(t){case e.DataValueKeys.SourceURL:r=this.getSourceUrl();break;case e.DataValueKeys.CorrelationId:r=this.getCorrelationId();break;case e.DataValueKeys.Status:r=this.getStatus();break;case e.DataValueKeys.AuthenticationRedirect:r=this.getAuthenticationRedirect();break;case e.DataValueKeys.ResponseText:r=this.getResponseText();break;case e.DataValueKeys.ErrorResponseText:r=this.getErrorResponseText()}return r},e.prototype.getRedirectUrl=function(){if(this._isCanaryRequest)return 403===this.getStatus()?this.shouldRedirectToErrorCustomPromptLocation()?this.getRedirectToErrorCustomPromptLocation():this.getRedirectLoginPageUrl():this.getAccessDeniedRedirectUrl();if(403===this.getStatus()){if(this.shouldRedirectToErrorCustomPromptLocation())return this.getRedirectToErrorCustomPromptLocation()}else if(401===this.getStatus()&&this.shouldRedirectToErrorCustomPromptLocation())return this.getRedirectToErrorCustomPromptLocation()},e.prototype.getRedirectLoginPageUrl=function(){var e,t=this.getAuthenticationRedirect();if(t){var r=new n.default(t);r.setQueryParameter("ReturnUrl",d.default.encodeURIComponent(window.location.href)),e=r.toString()}return e},e.prototype.getAccessDeniedRedirectUrl=function(){var e;if(this._webAbsoluteUrl){var t=this._webAbsoluteUrl+"/_layouts/15/AccessDenied.aspx";if(t){var r=new n.default(t);r.setQueryParameter("Source",d.default.encodeURIComponent(window.location.href)),r.setQueryParameter("Type","list"),r.setQueryParameter("correlation",d.default.encodeURIComponent(this.getCorrelationId())),e=r.toString()}}return e},e.prototype.getRedirectToErrorCustomPromptLocation=function(){var e=this.getResponseHeader("X-SPO-ErrorCustomPromptLocation"),t=new n.default(e);return t.setQueryParameter("ReturnUrl",window.location.href),t.toString()},e.prototype.shouldRedirectToErrorCustomPromptLocation=function(){var e=this.getResponseHeader("X-SPO-ErrorCode"),t=this.getResponseHeader("sharepointerror");return"9.3"===e||"-2130575129"===t},e.prototype.getResponseHeadersDictionary=function(){var e={},t=this.getAllResponseHeaders();if(t){var r=t.trim().split(/[\r\n]+/);r&&r.length>0&&r.forEach((function(t){var r=t.split(": "),n=r.shift(),i=r.join(": ");e[n]=i}))}return this.getResponseHeadersDictionary=function(){return e},e},e.prototype.getResponseHeader=function(e){var t=this.getResponseHeadersDictionary();return t[e.toLowerCase()]||t[e]},e.DataValueKeys={SourceURL:"SourceUrl",CorrelationId:"CorrelationId",Status:"Status",AuthenticationRedirect:"AuthenticationRedirect",ResponseText:"ResponseText",ErrorResponseText:"ErrorResponseText",GroupThrottle:"GroupThrottle"},e}();var f=function(){function e(e){void 0===e&&(e={}),this._scope=new i.default,this._events=this._scope.attach(new s.default(this));var t=e.webAbsoluteUrl||e.webUrl;this._webServerRelativeUrl=e.webServerRelativeUrl||t&&new n.default(t).getPath(),"/"===this._webServerRelativeUrl&&(this._webServerRelativeUrl=""),t?(this._webAbsoluteUrl=t,this._alwaysGetDigest=!0):this._alwaysGetDigest=!1,this._needsRequestDigest=!1!==e.needsRequestDigest,this._needsRequestDigest&&this._tryLoadDigest(e.formDigest),this._requestCanaryForAuth=!1,this._engagement=e.engagement,this._operationName=e.operationName}return e._isValidFormDigest=function(e){return e&&e.serverTime&&Date.now()-new Date(e.serverTime).getTime()<1e3*(e.formDigestTimeoutSeconds-60)},e.prototype.dispose=function(){this._scope.dispose()},e.prototype.abort=function(){if(this._currentRequest){var e=this._currentRequest;e.isCancelled=!0,e.abort(),this._currentRequest=void 0}},e.prototype.isRequestActive=function(){return!!this._currentRequest},e.prototype.getServerDataFromUrl=function(e){var t=this,r=e.url,n=e.successCallback,i=e.failureCallback,o=e.uploadProgressCallback,a=e.additionalPostData,s=e.isRest,u=void 0===s||s,c=e.method,l=void 0===c?"POST":c,d=e.withCredentials,p=e.additionalHeaders,f=e.contentType,h=e.noRedirect,g=e.responseType,_=e.needsRequestDigest,m=void 0===_?this._needsRequestDigest:_,v=(new Date).toISOString(),y=new XMLHttpRequest;y.open(l,r,!0),"boolean"==typeof d&&(y.withCredentials=d),g&&(y.responseType=g),f?y.setRequestHeader("Content-Type",f):u?y.setRequestHeader("Content-Type","application/json;odata=verbose"):y.setRequestHeader("Content-Type","application/x-www-form-urlencoded");var b=!1;if(p)for(var T in p)T&&(y.setRequestHeader(T,p[T]),"accept"===T.toLowerCase()&&(b=!0));b||y.setRequestHeader("accept","application/json;odata=verbose"),this._currentRequest=y;var E=function(e){m&&e&&y.setRequestHeader("x-requestdigest",e),t._events.on(y,"readystatechange",(function(){t._onReadyStateChange(y,r,n,i,h,v)})),o&&y.upload&&t._events.on(y.upload,"progress",(function(e){o(e)})),y.send(a)};m?this._ensureRequestDigest(E,i):E()},e.prototype.ensureRequestDigest=function(e,t){this._ensureRequestDigest(e,t)},e.prototype._ensureRequestDigest=function(t,r){var n=e._formDigests[this._webServerRelativeUrl];!this._alwaysGetDigest&&e._isValidFormDigest(n)?t(n.formDigestValue):this._ensureRequestDigestWorker(t,r)},e.prototype._ensureRequestDigestWorker=function(t,r){var i=this,o=new Date,a=new e({needsRequestDigest:!1,webServerRelativeUrl:this._webServerRelativeUrl,webUrl:void 0});t||(a._requestCanaryForAuth=!0);var s=this._webAbsoluteUrl||this._webServerRelativeUrl;"string"==typeof s?(e._requestDigestPromise||(e._requestDigestPromise=new u.default((function(u,c){a.getServerDataFromUrl({url:n.default.concatenate(s,"/_api/contextinfo"),successCallback:function(t){var r=t.getResponseText(),n=JSON.parse(r).d.GetContextWebInformation;e._formDigests[i._webServerRelativeUrl]={serverTime:o.toISOString(),formDigestValue:n.FormDigestValue,formDigestTimeoutSeconds:n.FormDigestTimeoutSeconds-60,updateFormDigestPageLoaded:new Date},u(e._formDigests[i._webServerRelativeUrl].formDigestValue),e._requestDigestPromise=void 0},failureCallback:function(n){t?t(void 0):r&&r(n),c(void 0),e._requestDigestPromise=void 0},method:"POST",noRedirect:!!r})}))),e._requestDigestPromise.then((function(e){return t&&t(e),e}))):r&&r(void 0,new c.ApiError({code:"MissingWebForDigestAuth",isExpected:!1}))},e.prototype._onReadyStateChange=function(t,r,n,i,s,u){var l;if(4===t.readyState)if(this._currentRequest=void 0,this._events.off(t),t.upload&&this._events.off(t.upload),function(e){try{if(4===e.readyState&&(void 0===e.status||0===e.status))return!1}catch(e){return!1}return!0}(t))if((l=t)&&l.isCancelled)i(void 0,new c.ApiError({code:"RequestAborted",isExpected:!0}));else{var d=new p(t,r,{webAbsoluteUrl:this._webAbsoluteUrl||this._webServerRelativeUrl,isCanaryRequest:this._requestCanaryForAuth}),f=d.getStatus(),h=o.RUMOneLogger.getRUMOneLogger(),g=Date.now();if(h){var _=new a(r,Number(t.getResponseHeader("SPClientServiceRequestDuration")),t.getResponseHeader("SPRequestGuid"),f,u,(new Date).toISOString());h.writeAPICallPerformanceData(_),h.saveTempData("appDataFetchEnd",g)}var m=!s&&d.shouldRedirectToErrorCustomPromptLocation();if(this._requestCanaryForAuth){if(this._requestCanaryForAuth=!1,403===f){var v=d.getRedirectLoginPageUrl();try{m?window.location.href=d.getRedirectToErrorCustomPromptLocation():i(d)}catch(e){}v&&!s&&(window.location.href=v)}else{v=d.getAccessDeniedRedirectUrl();try{i(d)}catch(e){}v&&!s&&(this._engagement&&this._engagement.logData({name:"AccessDeniedRedirect",isIntentional:!1,extraData:{originalOperation:this._operationName||""}}),window.location.href=v)}return}if(200===f||201===f||204===f)return void n(d);if(403===f)return e._requestDigestPromise=void 0,void(s?this._ensureRequestDigestWorker(void 0,(function(){return i(d)})):m?window.location.href=d.getRedirectToErrorCustomPromptLocation():this._ensureRequestDigestWorker(void 0));401===f&&m&&(window.location.href=d.getRedirectToErrorCustomPromptLocation()),i(d)}else i(void 0,new c.ApiError({code:"NoConnection",isExpected:!0}))},e.prototype._tryLoadDigest=function(t){if(e._isValidFormDigest(t))e._formDigests[this._webServerRelativeUrl]=t;else{var r=e._formDigests[this._webServerRelativeUrl];e._isValidFormDigest(t)&&(!e._isValidFormDigest(r)||r&&new Date(r.serverTime).getTime()<new Date(t.serverTime).getTime())&&(e._formDigests[this._webServerRelativeUrl]=t)}},e._formDigests={},e._requestDigestPromise=void 0,e}();t.default=f},dd7710060b79460ec18c:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,i=r("98bae3dbabd51089d613"),o=r("16f7a8beee83cf78aabb"),a=r("11822ca032e86a04398f"),s=r("b2115b5c9c165e0e8a79"),u=0;!function(e){e[e.Single=0]="Single",e[e.Start=1]="Start",e[e.End=2]="End"}(t.ClonedEventType||(t.ClonedEventType={})),function(e){e[e.NoParent=1]="NoParent"}(n=t.ValidationErrorType||(t.ValidationErrorType={})),function(e){e[e.Consumer=0]="Consumer",e[e.ConsumerAnonymous=1]="ConsumerAnonymous",e[e.Business=2]="Business",e[e.BusinessAnonymous=3]="BusinessAnonymous",e[e.Unknown=4]="Unknown"}(t.AccountType||(t.AccountType={})),t.addEventProps=function(e,t,r,n){s.assign(e,t);var o={};for(var a in r)if(Object.prototype.hasOwnProperty.call(r,a)){var u=r[a],c=o[a]="number"==typeof u?{type:u}:u;c.definedInName=t.shortEventName,2===c.type&&(c.isMetric=!0)}e.metadata=n?i.__assign({},n.prototype.metadata,o):o};var c=new WeakMap,l=function(){function e(e,t,r){this.context={},this.validationErrors=0,this.data={},this.context=i.__assign({},this.addContext({})),this.id=u++,this.enabled=this._isEnabled(),r?this.parentId=r.id:this.requiresParent&&this._addValidationError(n.NoParent),this.startTime=e&&e.startTimeOverride||o.Manager.getTime(),this.vector=new a.CorrelationVector(r?r.vector:a.CorrelationVector.RootVector),e&&this._setData(e),this._logEvent(t)}return e.enabled=function(){return this.prototype._isEnabled()},e.isTypeOf=function(e){return e.eventName.indexOf(this.prototype.shortEventName+",")>=0},e.withManager=function(e){if(!e||e===o.Manager)return this;var t=c.get(e);t||(t=new WeakMap,c.set(e,t));var r=t.get(this);if(r)return r;var n=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i.__extends(t,e),t}(this);return n.prototype.manager=e,r=n,t.set(this,r),r},e.withData=function(e){if(!e)return this;var t="function"!=typeof e?function(t){return i.__assign({},e,t)}:e;return function(e){function r(){return null!==e&&e.apply(this,arguments)||this}return i.__extends(r,e),r.prototype.addData=function(r){var n=i.__assign({},r,t(r));return i.__assign({},n,e.prototype.addData.call(this,n))},r}(this)},e.withContext=function(e){if(!e)return this;var t="function"!=typeof e?function(t){return i.__assign({},e,t)}:e;return function(e){function r(){return null!==e&&e.apply(this,arguments)||this}return i.__extends(r,e),r.prototype.addContext=function(r){var n=i.__assign({},r,t(r));return i.__assign({},n,e.prototype.addContext.call(this,n))},r}(this)},e.from=function(e){return e?this.withManager(e.prototype.manager).withContext((function(t){return e.prototype.addContext(t)})).withData((function(t){return e.prototype.addData(t)})):this},e.prototype.addContext=function(e){return p(this.manager,e,{})},e.prototype.addData=function(e){return e},e.prototype._isEnabled=function(){return!this.samplingFeature||o.Manager.isFeatureEnabled(this.samplingFeature)},e.prototype._setData=function(e){for(var t=this.data,r=0,n=Object.keys(e);r<n.length;r++){var i=n[r];i in this.metadata&&d(this.manager,e,t,i)}s.assign(this.data,this.addData(this.data))},e.prototype._logEvent=function(e){this.manager.logEvent(this,e)},e.prototype._addValidationError=function(e){this.validationErrors=this.validationErrors|e,this.manager.logValidationError(this,e)},e}();function d(e,t,r,n){var i=t[n];switch(typeof i){case"string":var o=e.cleanString(i,n);return void(void 0!==o&&(r[n]=o));case"undefined":return;case"object":return void(i&&Object.getPrototypeOf(i)===Object.prototype?r[n]=p(e,i,{}):r[n]=i);default:return void(r[n]=i)}}function p(e,t,r){for(var n=0,i=Object.keys(t);n<i.length;n++){d(e,t,r,i[n])}return r}t.EventBase=l;var f=l.prototype;f.eventName="EventBase,",f.shortEventName="EventBase",f.critical=!1,f.requiresParent=!0,f.manager=o.Manager},e1c8dc4e514231c05155:function(e,t,r){"use strict";function n(e){return!!e&&"function"==typeof e.addEventListener}function i(e){return!!e&&!!e.__events__}function o(e,t){var r=e,n=r.__declaredEvents=r.__declaredEvents||{};if("string"==typeof t)n[t]=!0;else for(var i=0;i<t.length;i++)n[t[i]]=!0}function a(e,t,r,o){var a;if(n(e)){if(document.createEvent){var s=document.createEvent("HTMLEvents");s.initEvent(t,o,!0),s.args=r,a=e.dispatchEvent(s)}}else for(;e&&!1!==a;)if(i(e)){var u=e.__events__[t];for(var c in u)for(var l=u[c],d=0;!1!==a&&d<l.length;d++){var p=l[d];p.objectCallback&&(a=p.objectCallback.call(p.parent,r))}e=o?e.parent:null}else e=null;return a}r.d(t,"b",(function(){return n})),r.d(t,"a",(function(){return o})),r.d(t,"c",(function(){return a}))},edc85ca7e3cf7e290237:function(e,t,r){"use strict";var n;r.r(t),function(e){e[e.none=0]="none",e[e.fullPageLoad=4]="fullPageLoad",e[e.onePageAppNavigation=5]="onePageAppNavigation"}(n||(n={})),t.default=n},f30b55e34961feeae484:function(e,t,r){"use strict";r.d(t,"a",(function(){return i})),r.d(t,"b",(function(){return o})),r.d(t,"f",(function(){return u})),r.d(t,"g",(function(){return c})),r.d(t,"e",(function(){return l})),r.d(t,"c",(function(){return d})),r.d(t,"d",(function(){return p}));var n=window.performance,i=!!n&&"function"==typeof n.mark&&"function"==typeof n.clearMarks&&"function"==typeof n.now,o="EUPL.",a=0,s=window._perfMarks=window._perfMarks||[];function u(e,t){var r=f(e);(null==t||a<t)&&(i?n.mark(r):s.push({name:r,startTime:Date.now()}),a++)}function c(e,t,r){if(i&&l(t)>0&&l(r)>0)try{n.measure(f(e),f(t),f(r))}catch(e){}}function l(e){var t=f(e);if(i){var r=n.getEntriesByName(t);return r&&r.length>0?Math.round(r[0].startTime):NaN}var o=s.filter((function(e){return e.name===t}))[0];return o&&o.startTime}function d(e){var t=[];e&&(t=e.map(f)),i?n.getEntriesByType("mark").filter((function(e){return t.length>0?t.indexOf(e.name)>=0:0===e.name.lastIndexOf(o,0)})).forEach((function(e){n.clearMarks(e.name)})):s=[]}function p(){return i?n.getEntriesByType("mark").filter((function(e){return 0===e.name.lastIndexOf(o,0)})):s}function f(e){return 0===e.lastIndexOf(o,0)?e:o+e}},f842b3fb581d0a13ab27:function(e,t,r){"use strict";var n,i=r("6631b0451e9f577f414d"),o=r("87e95cd1ff4b249d307f"),a=r("347053043e453fed139f");!function(e){e[e.blocked=0]="blocked",e[e.exception=-1]="exception",e[e.timeout=-2]="timeout",e[e.abort=-3]="abort"}(n||(n={}));var s=function(){function e(t){this._async=new i.default(this);var r=t.url,n=t.requestTimeoutInMS,o=void 0===n?e.DEFAULT_TIMEOUT_MS:n,a=t.json,s=t.responseType,u=void 0===s?"":s,c=t.headers,l=void 0===c?{}:c,d=t.withCredentials,p=void 0!==d&&d,f=t.needsCors,h=void 0!==f&&f,g=t.onProgress,_=t.onUploadProgress,m=t.method,v=void 0===m?a?"POST":"GET":m;this._url=r,this._requestTimeoutInMS=o,this._postData=a,this._headers=l,this._method=v,this._withCredentials=p,this._needsCors=h,this._responseType=u,this._progressCallback=g,this._uploadProgressCallback=_}return e.prototype.abort=function(e){this._abortRequest()&&!e&&this._callFailureCallback(this._request,-3,!1)},e.prototype.start=function(e,t){var r=this;this._successCallback=e,this._failureCallback=t;var n=this._method,i=this._headers;try{this._request=this._getRequest();var s=this._progressCallback,u=this._uploadProgressCallback,c=this._request,l=this._responseType;for(var d in s&&(c.onprogress=function(e){try{s(e)}catch(e){o.default.logError(e)}}),u&&(c.upload.onprogress=function(e){try{u(e)}catch(e){o.default.logError(e)}}),this._async.setTimeout((function(){r._completed||r._timeoutCallback()}),this._requestTimeoutInMS),c.onreadystatechange=function(){if(!r._completed){var e=4;try{e=c.DONE||4}catch(e){}c.readyState===e&&r._requestEndCallback()}},c.open(n,this._url,!0),"withCredentials"in c&&(c.withCredentials=this._withCredentials),c.responseType=l,i)c.setRequestHeader(d,i[d]);c.send(this._postData)}catch(e){o.default.logError(e,{origin:location?location.origin:"unknown",withCredentials:this._withCredentials,requestUrl:this._url,headers:Object(a.safeSerialize)(i),method:n}),this._abortRequest(),this._callFailureCallback(this._request,-1,!1)}},e.prototype._getRequest=function(){var e=this;if(!this._needsCors||!window.XDomainRequest)return new XMLHttpRequest;var t=new XDomainRequest;return t.setRequestHeader=function(){},t.onprogress=function(){},t.ontimeout=function(){},t.onload=function(){e._requestEndCallback()},t},e.prototype._abortRequest=function(){var e=!1;if(!this._completed){this._completed=!0,this._async.dispose();try{this._request&&this._request.abort()}catch(e){}e=!0}return e},e.prototype._timeoutCallback=function(){this._completed||(this._abortRequest(),this._callFailureCallback(this._request,-2,!0))},e.prototype._callSuccessCallback=function(e,t){try{this._successCallback&&this._successCallback(e,t)}catch(e){o.default.log(e)}},e.prototype._callFailureCallback=function(e,t,r){try{this._failureCallback&&this._failureCallback(e,t,r)}catch(e){o.default.log(e)}},e.prototype._requestEndCallback=function(){if(!this._completed){this._completed=!0;var e=-1;try{this._async.dispose();try{e=this._request.status}catch(e){}}catch(t){e=-1,o.default.log(t)}e<400&&e>0?this._callSuccessCallback(this._request,e):this._callFailureCallback(this._request,e,!1)}},e.DEFAULT_TIMEOUT_MS=3e4,e}();t.a=s},f89d5af06abf23eb5d7d:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r("98bae3dbabd51089d613"),i=r("dd7710060b79460ec18c"),o=r("052cdcf43c3b8e9a238f"),a=r("22e720316fb8bade1b0e"),s=r("d6e6a1e726db94fe6759"),u=function(){function e(e){var t=this;this.logEvent=function(e){var r=t._onLogEvent?t._onLogEvent(e):e;t._createLogHandler().then((function(e){return e(r)}))},this._getAria=l((function(){return e.ariaLoader().then((function(t){return function(e,t){e.LogManager.isInitialized()||(e.LogManager.initialize(t.tenantToken,n.__assign({disableCookies:t.disableCookies},t.offlineCache?{browserOverrides:{onGetData:t.offlineCache.getData,onSaveData:t.offlineCache.saveData}}:{},t.ariaLogConfiguration||{})),"undefined"!=typeof window&&"function"==typeof window.addEventListener&&window.addEventListener("beforeunload",(function(){e.LogManager.flush()})));e.LogManager.addCallbackListener((function(e,r,n,i){n===t.tenantToken&&t.ariaQos&&t.ariaQos.reportQos({result:e,statusCode:r,events:i})}))}(t,e),t}))})),this._getLogger=l((function(){return t._getAria().then((function(t){return[function(e,t,r){void 0===r&&(r={});var n=new e.Logger(t);return c(n,r),n}(t,e.tenantToken,e.context),t]}))})),this._createLogHandler=l((function(){return t._getLogger().then((function(t){var r=t[0];return function(e,t,r,n){void 0===r&&(r=!0);void 0===n&&(n=void 0);return function(s){try{if(s.enabled&&(s.eventType!==i.ClonedEventType.Start||r)&&(!n||!n.isQosEvent(s))){var u=o.buildAriaEvent(e,s);t.logEvent(u)}}catch(t){var c=void 0;t instanceof e.Exception&&(c=new Error("Aria error: "+t.toString())),t&&t.handled||a.log(c||t)}}}(t[1],r,e.logStartEvents,e.ariaQos)}))})),this._onLogEvent=e.onLogEvent}return e.prototype.attach=function(e){this._createLogHandler();var t=this.logEvent;return e.addLogHandler(t).forEach(t),function(){return e.removeLogHandler(t)}},e.prototype.updateContext=function(e){this._getLogger().then((function(t){return c(t[0],e)}))},e}();function c(e,t){var r=t.Session,i=t.Version,o=t.OSName,a=t.OSVersion,u=t.Market,c=t.UserId,l=t.Manifest,d=n.__rest(t,["Session","Version","OSName","OSVersion","Market","UserId","Manifest"]),p=e.getSemanticContext();for(var f in r&&e.setContext("AppInfo.Session",r),l&&e.setContext("AppInfo.Manifest",l),i&&p.setAppVersion(i),p.setUserLanguage(u||""),c&&p.setUserId(c),o&&p.setDeviceOsName(o),a&&p.setDeviceOsVersion(a),d)if(Object.prototype.hasOwnProperty.call(d,f)){var h=d[f];if(null==h)continue;var g=s.capitalize(f);e.setContext(g,d[f])}}function l(e){var t=void 0;return function(){return t||(t=e()),t}}t.AriaTelemetryHandler=u},fb198614f77f87ac4d1b:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(e){if(e<=0)throw new Error("Size must be positive");this._size=e,this._buffer=new Array(e),this._length=0,this._head=-1}return e.prototype.push=function(e){this._length<this._size&&this._length++,this._head++,this._head===this._size&&(this._head=0),this._buffer[this._head]=e},e.prototype.popOldest=function(){if(0===this._length)return null;var e=(this._head-this._length+1+this._size)%this._size;return this._length--,this._buffer[e]},e}();t.CircularBuffer=n}}]);