res-1.cdn.office.net
Open in
urlscan Pro
2a02:26f0:7100::687e:25e9
Public Scan
URL:
https://res-1.cdn.office.net/wise/owl/owl.slim.6a7c2b86e1c3aace8110.js
Submission: On July 24 via manual from GB — Scanned from GB
Submission: On July 24 via manual from GB — Scanned from GB
Form analysis
0 forms found in the DOMText Content
var Microsoft;!function(){"use strict";var t,e,n,o,i={18973:function(t,e,n){n.d(e,{h:function(){return s}});var o=n(20947),i=n(46049),r=n(38980),s=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.value=null,e.hasNext=!1,e.hasCompleted=!1,e}return o.C6(e,t),e.prototype.U=function(e){return this.hasError?(e.error(this.thrownError),r.y.EMPTY):this.hasCompleted&&this.hasNext?(e.next(this.value),e.complete(),r.y.EMPTY):t.prototype.U.call(this,e)},e.prototype.next=function(t){this.hasCompleted||(this.value=t,this.hasNext=!0)},e.prototype.error=function(e){this.hasCompleted||t.prototype.error.call(this,e)},e.prototype.complete=function(){this.hasCompleted=!0,this.hasNext&&t.prototype.next.call(this,this.value),t.prototype.complete.call(this)},e}(i.B7)},43803:function(t,e,n){n.d(e,{t:function(){return s}});var o=n(20947),i=n(46049),r=n(15368),s=function(t){function e(e){var n=t.call(this)||this;return n.N=e,n}return o.C6(e,t),Object.defineProperty(e.prototype,"value",{get:function(){return this.getValue()},enumerable:!0,configurable:!0}),e.prototype.U=function(e){var n=t.prototype.U.call(this,e);return n&&!n.closed&&e.next(this.N),n},e.prototype.getValue=function(){if(this.hasError)throw this.thrownError;if(this.closed)throw new r.P;return this.N},e.prototype.next=function(e){t.prototype.next.call(this,this.N=e)},e}(i.B7)},53672:function(t,e,n){n.d(e,{c:function(){return c}});var o=n(14638),i=n(75919),r=n(33573),s=n(10244),a=n(82291),c=function(){function t(t){this.B=!1,t&&(this.U=t)}return t.prototype.lift=function(e){var n=new t;return n.source=this,n.operator=e,n},t.prototype.subscribe=function(t,e,n){var o=this.operator,r=(0,i.u)(t,e,n);if(o?r.add(o.call(r,this.source)):r.add(this.source||a.$.useDeprecatedSynchronousErrorHandling&&!r.syncErrorThrowable?this.U(r):this._(r)),a.$.useDeprecatedSynchronousErrorHandling&&r.syncErrorThrowable&&(r.syncErrorThrowable=!1,r.syncErrorThrown))throw r.syncErrorValue;return r},t.prototype._=function(t){try{return this.U(t)}catch(e){a.$.useDeprecatedSynchronousErrorHandling&&(t.syncErrorThrown=!0,t.syncErrorValue=e),(0,o.H)(t)?t.error(e):console.warn(e)}},t.prototype.forEach=function(t,e){var n=this;return new(e=u(e))((function(e,o){var i;i=n.subscribe((function(e){try{t(e)}catch(t){o(t),i&&i.unsubscribe()}}),o,e)}))},t.prototype.U=function(t){var e=this.source;return e&&e.subscribe(t)},t.prototype[r.s]=function(){return this},t.prototype.pipe=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return 0===t.length?this:(0,s.m)(t)(this)},t.prototype.toPromise=function(t){var e=this;return new(t=u(t))((function(t,n){var o;e.subscribe((function(t){return o=t}),(function(t){return n(t)}),(function(){return t(o)}))}))},t.create=function(e){return new t(e)},t}();function u(t){if(t||(t=a.$.Promise||Promise),!t)throw new Error("no Promise impl found");return t}},84667:function(t,e,n){n.d(e,{I:function(){return r}});var o=n(82291),i=n(21680),r={closed:!0,next:function(t){},error:function(t){if(o.$.useDeprecatedSynchronousErrorHandling)throw t;(0,i.T)(t)},complete:function(){}}},46049:function(t,e,n){n.d(e,{B7:function(){return l}});var o=n(20947),i=n(53672),r=n(69579),s=n(38980),a=n(15368),c=n(60400),u=n(51104),f=function(t){function e(e){var n=t.call(this,e)||this;return n.destination=e,n}return o.C6(e,t),e}(r.v),l=function(t){function e(){var e=t.call(this)||this;return e.observers=[],e.closed=!1,e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}return o.C6(e,t),e.prototype[u.D]=function(){return new f(this)},e.prototype.lift=function(t){var e=new d(this,this);return e.operator=t,e},e.prototype.next=function(t){if(this.closed)throw new a.P;if(!this.isStopped)for(var e=this.observers,n=e.length,o=e.slice(),i=0;i<n;i++)o[i].next(t)},e.prototype.error=function(t){if(this.closed)throw new a.P;this.hasError=!0,this.thrownError=t,this.isStopped=!0;for(var e=this.observers,n=e.length,o=e.slice(),i=0;i<n;i++)o[i].error(t);this.observers.length=0},e.prototype.complete=function(){if(this.closed)throw new a.P;this.isStopped=!0;for(var t=this.observers,e=t.length,n=t.slice(),o=0;o<e;o++)n[o].complete();this.observers.length=0},e.prototype.unsubscribe=function(){this.isStopped=!0,this.closed=!0,this.observers=null},e.prototype._=function(e){if(this.closed)throw new a.P;return t.prototype._.call(this,e)},e.prototype.U=function(t){if(this.closed)throw new a.P;return this.hasError?(t.error(this.thrownError),s.y.EMPTY):this.isStopped?(t.complete(),s.y.EMPTY):(this.observers.push(t),new c.Y(this,t))},e.prototype.asObservable=function(){var t=new i.c;return t.source=this,t},e.create=function(t,e){return new d(t,e)},e}(i.c),d=function(t){function e(e,n){var o=t.call(this)||this;return o.destination=e,o.source=n,o}return o.C6(e,t),e.prototype.next=function(t){var e=this.destination;e&&e.next&&e.next(t)},e.prototype.error=function(t){var e=this.destination;e&&e.error&&this.destination.error(t)},e.prototype.complete=function(){var t=this.destination;t&&t.complete&&this.destination.complete()},e.prototype.U=function(t){return this.source?this.source.subscribe(t):s.y.EMPTY},e}(l)},60400:function(t,e,n){n.d(e,{Y:function(){return i}});var o=n(20947),i=function(t){function e(e,n){var o=t.call(this)||this;return o.subject=e,o.subscriber=n,o.closed=!1,o}return o.C6(e,t),e.prototype.unsubscribe=function(){if(!this.closed){this.closed=!0;var t=this.subject,e=t.observers;if(this.subject=null,e&&0!==e.length&&!t.isStopped&&!t.closed){var n=e.indexOf(this.subscriber);-1!==n&&e.splice(n,1)}}},e}(n(38980).y)},69579:function(t,e,n){n.d(e,{v:function(){return f}});var o=n(20947),i=n(24052),r=n(84667),s=n(38980),a=n(51104),c=n(82291),u=n(21680),f=function(t){function e(n,o,i){var s=t.call(this)||this;switch(s.syncErrorValue=null,s.syncErrorThrown=!1,s.syncErrorThrowable=!1,s.isStopped=!1,arguments.length){case 0:s.destination=r.I;break;case 1:if(!n){s.destination=r.I;break}if("object"==typeof n){n instanceof e?(s.syncErrorThrowable=n.syncErrorThrowable,s.destination=n,n.add(s)):(s.syncErrorThrowable=!0,s.destination=new l(s,n));break}default:s.syncErrorThrowable=!0,s.destination=new l(s,n,o,i)}return s}return o.C6(e,t),e.prototype[a.D]=function(){return this},e.create=function(t,n,o){var i=new e(t,n,o);return i.syncErrorThrowable=!1,i},e.prototype.next=function(t){this.isStopped||this.tt(t)},e.prototype.error=function(t){this.isStopped||(this.isStopped=!0,this.et(t))},e.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this.nt())},e.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,t.prototype.unsubscribe.call(this))},e.prototype.tt=function(t){this.destination.next(t)},e.prototype.et=function(t){this.destination.error(t),this.unsubscribe()},e.prototype.nt=function(){this.destination.complete(),this.unsubscribe()},e.prototype.ot=function(){var t=this.it;return this.it=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this.it=t,this},e}(s.y),l=function(t){function e(e,n,o,s){var a,c=t.call(this)||this;c.rt=e;var u=c;return(0,i.T)(n)?a=n:n&&(a=n.next,o=n.error,s=n.complete,n!==r.I&&(u=Object.create(n),(0,i.T)(u.unsubscribe)&&c.add(u.unsubscribe.bind(u)),u.unsubscribe=c.unsubscribe.bind(c))),c.st=u,c.tt=a,c.et=o,c.nt=s,c}return o.C6(e,t),e.prototype.next=function(t){if(!this.isStopped&&this.tt){var e=this.rt;c.$.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?this.__tryOrSetError(e,this.tt,t)&&this.unsubscribe():this.__tryOrUnsub(this.tt,t)}},e.prototype.error=function(t){if(!this.isStopped){var e=this.rt,n=c.$.useDeprecatedSynchronousErrorHandling;if(this.et)n&&e.syncErrorThrowable?(this.__tryOrSetError(e,this.et,t),this.unsubscribe()):(this.__tryOrUnsub(this.et,t),this.unsubscribe());else if(e.syncErrorThrowable)n?(e.syncErrorValue=t,e.syncErrorThrown=!0):(0,u.T)(t),this.unsubscribe();else{if(this.unsubscribe(),n)throw t;(0,u.T)(t)}}},e.prototype.complete=function(){var t=this;if(!this.isStopped){var e=this.rt;if(this.nt){var n=function(){return t.nt.call(t.st)};c.$.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?(this.__tryOrSetError(e,n),this.unsubscribe()):(this.__tryOrUnsub(n),this.unsubscribe())}else this.unsubscribe()}},e.prototype.__tryOrUnsub=function(t,e){try{t.call(this.st,e)}catch(t){if(this.unsubscribe(),c.$.useDeprecatedSynchronousErrorHandling)throw t;(0,u.T)(t)}},e.prototype.__tryOrSetError=function(t,e,n){if(!c.$.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{e.call(this.st,n)}catch(e){return c.$.useDeprecatedSynchronousErrorHandling?(t.syncErrorValue=e,t.syncErrorThrown=!0,!0):((0,u.T)(e),!0)}return!1},e.prototype.ct=function(){var t=this.rt;this.st=null,this.rt=null,t.unsubscribe()},e}(f)},38980:function(t,e,n){n.d(e,{y:function(){return a}});var o=n(42595),i=n(11459),r=n(24052),s=n(82010),a=function(){function t(t){this.closed=!1,this.it=null,this.ut=null,t&&(this.ft=!0,this.ct=t)}var e;return t.prototype.unsubscribe=function(){var e;if(!this.closed){var n=this,a=n.it,u=n.ft,f=n.ct,l=n.ut;if(this.closed=!0,this.it=null,this.ut=null,a instanceof t)a.remove(this);else if(null!==a)for(var d=0;d<a.length;++d)a[d].remove(this);if((0,r.T)(f)){u&&(this.ct=void 0);try{f.call(this)}catch(t){e=t instanceof s.Z?c(t.errors):[t]}}if((0,o.c)(l)){d=-1;for(var h=l.length;++d<h;){var p=l[d];if((0,i.G)(p))try{p.unsubscribe()}catch(t){e=e||[],t instanceof s.Z?e=e.concat(c(t.errors)):e.push(t)}}}if(e)throw new s.Z(e)}},t.prototype.add=function(e){var n=e;if(!e)return t.EMPTY;switch(typeof e){case"function":n=new t(e);case"object":if(n===this||n.closed||"function"!=typeof n.unsubscribe)return n;if(this.closed)return n.unsubscribe(),n;if(!(n instanceof t)){var o=n;(n=new t).ut=[o]}break;default:throw new Error("unrecognized teardown "+e+" added to Subscription.")}var i=n.it;if(null===i)n.it=this;else if(i instanceof t){if(i===this)return n;n.it=[i,this]}else{if(-1!==i.indexOf(this))return n;i.push(this)}var r=this.ut;return null===r?this.ut=[n]:r.push(n),n},t.prototype.remove=function(t){var e=this.ut;if(e){var n=e.indexOf(t);-1!==n&&e.splice(n,1)}},t.EMPTY=((e=new t).closed=!0,e),t}();function c(t){return t.reduce((function(t,e){return t.concat(e instanceof s.Z?e.errors:e)}),[])}},82291:function(t,e,n){n.d(e,{$:function(){return i}});var o=!1,i={Promise:void 0,set useDeprecatedSynchronousErrorHandling(t){t&&(new Error).stack,o=t},get useDeprecatedSynchronousErrorHandling(){return o}}},65:function(t,e,n){n.d(e,{gn:function(){return c},tS:function(){return u},zA:function(){return a}});var o=n(20947),i=n(69579),r=n(53672),s=n(14091),a=function(t){function e(e){var n=t.call(this)||this;return n.parent=e,n}return o.C6(e,t),e.prototype.tt=function(t){this.parent.notifyNext(t)},e.prototype.et=function(t){this.parent.notifyError(t),this.unsubscribe()},e.prototype.nt=function(){this.parent.notifyComplete(),this.unsubscribe()},e}(i.v),c=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o.C6(e,t),e.prototype.notifyNext=function(t){this.destination.next(t)},e.prototype.notifyError=function(t){this.destination.error(t)},e.prototype.notifyComplete=function(){this.destination.complete()},e}(i.v);function u(t,e){if(!e.closed){if(t instanceof r.c)return t.subscribe(e);var n;try{n=(0,s.i)(t)(e)}catch(t){e.error(t)}return n}}},70534:function(t,e,n){n.d(e,{I:function(){return r}});var o=n(53672),i=new o.c((function(t){return t.complete()}));function r(t){return t?function(t){return new o.c((function(e){return t.schedule((function(){return e.complete()}))}))}(t):i}},14395:function(t,e,n){n.d(e,{H:function(){return s}});var o=n(53672),i=n(14091),r=n(35106);function s(t,e){return e?(0,r.c)(t,e):t instanceof o.c?t:new o.c((0,i.i)(t))}},34883:function(t,e,n){n.d(e,{R:function(){return a}});var o=n(53672),i=n(42595),r=n(24052),s=n(24853);function a(t,e,n,u){return(0,r.T)(n)&&(u=n,n=void 0),u?a(t,e,n).pipe((0,s.T)((function(t){return(0,i.c)(t)?u.apply(void 0,t):u(t)}))):new o.c((function(o){c(t,e,(function(t){arguments.length>1?o.next(Array.prototype.slice.call(arguments)):o.next(t)}),o,n)}))}function c(t,e,n,o,i){var r;if(function(t){return t&&"function"==typeof t.addEventListener&&"function"==typeof t.removeEventListener}(t)){var s=t;t.addEventListener(e,n,i),r=function(){return s.removeEventListener(e,n,i)}}else if(function(t){return t&&"function"==typeof t.on&&"function"==typeof t.off}(t)){var a=t;t.on(e,n),r=function(){return a.off(e,n)}}else if(function(t){return t&&"function"==typeof t.addListener&&"function"==typeof t.removeListener}(t)){var u=t;t.addListener(e,n),r=function(){return u.removeListener(e,n)}}else{if(!t||!t.length)throw new TypeError("Invalid event target");for(var f=0,l=t.length;f<l;f++)c(t[f],e,n,o,i)}o.add(r)}},37285:function(t,e,n){n.d(e,{$:function(){return i}});var o=n(53672);function i(t,e){return e?new o.c((function(n){return e.schedule(r,0,{error:t,subscriber:n})})):new o.c((function(e){return e.error(t)}))}function r(t){var e=t.error;t.subscriber.error(e)}},54141:function(t,e,n){n.d(e,{H:function(){return i}});var o=n(17913);function i(t,e){return(0,o.ZZ)(t,e,1)}},99145:function(t,e,n){n.d(e,{p:function(){return r}});var o=n(20947),i=n(69579);function r(t,e){return function(n){return n.lift(new s(t,e))}}var s=function(){function t(t,e){this.predicate=t,this.thisArg=e}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.predicate,this.thisArg))},t}(),a=function(t){function e(e,n,o){var i=t.call(this,e)||this;return i.predicate=n,i.thisArg=o,i.count=0,i}return o.C6(e,t),e.prototype.tt=function(t){var e;try{e=this.predicate.call(this.thisArg,t,this.count++)}catch(t){return void this.destination.error(t)}e&&this.destination.next(t)},e}(i.v)},24853:function(t,e,n){n.d(e,{T:function(){return r}});var o=n(20947),i=n(69579);function r(t,e){return function(n){if("function"!=typeof t)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return n.lift(new s(t,e))}}var s=function(){function t(t,e){this.project=t,this.thisArg=e}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.project,this.thisArg))},t}(),a=function(t){function e(e,n,o){var i=t.call(this,e)||this;return i.project=n,i.count=0,i.thisArg=o||i,i}return o.C6(e,t),e.prototype.tt=function(t){var e;try{e=this.project.call(this.thisArg,t,this.count++)}catch(t){return void this.destination.error(t)}this.destination.next(e)},e}(i.v)},17913:function(t,e,n){n.d(e,{ZZ:function(){return a}});var o=n(20947),i=n(24853),r=n(14395),s=n(65);function a(t,e,n){return void 0===n&&(n=Number.POSITIVE_INFINITY),"function"==typeof e?function(o){return o.pipe(a((function(n,o){return(0,r.H)(t(n,o)).pipe((0,i.T)((function(t,i){return e(n,t,o,i)})))}),n))}:("number"==typeof e&&(n=e),function(e){return e.lift(new c(t,n))})}var c=function(){function t(t,e){void 0===e&&(e=Number.POSITIVE_INFINITY),this.project=t,this.concurrent=e}return t.prototype.call=function(t,e){return e.subscribe(new u(t,this.project,this.concurrent))},t}(),u=function(t){function e(e,n,o){void 0===o&&(o=Number.POSITIVE_INFINITY);var i=t.call(this,e)||this;return i.project=n,i.concurrent=o,i.hasCompleted=!1,i.buffer=[],i.active=0,i.index=0,i}return o.C6(e,t),e.prototype.tt=function(t){this.active<this.concurrent?this.dt(t):this.buffer.push(t)},e.prototype.dt=function(t){var e,n=this.index++;try{e=this.project(t,n)}catch(t){return void this.destination.error(t)}this.active++,this.ht(e)},e.prototype.ht=function(t){var e=new s.zA(this),n=this.destination;n.add(e);var o=(0,s.tS)(t,e);o!==e&&n.add(o)},e.prototype.nt=function(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()},e.prototype.notifyNext=function(t){this.destination.next(t)},e.prototype.notifyComplete=function(){var t=this.buffer;this.active--,t.length>0?this.tt(t.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()},e}(s.gn)},21740:function(t,e,n){n.d(e,{s:function(){return a}});var o=n(20947),i=n(69579),r=n(28611),s=n(70534);function a(t){return function(e){return 0===t?(0,s.I)():e.lift(new c(t))}}var c=function(){function t(t){if(this.total=t,this.total<0)throw new r.k}return t.prototype.call=function(t,e){return e.subscribe(new u(t,this.total))},t}(),u=function(t){function e(e,n){var o=t.call(this,e)||this;return o.total=n,o.count=0,o}return o.C6(e,t),e.prototype.tt=function(t){var e=this.total,n=++this.count;n<=e&&(this.destination.next(t),n===e&&(this.destination.complete(),this.unsubscribe()))},e}(i.v)},75555:function(t,e,n){n.d(e,{V:function(){return r}});var o=n(53672),i=n(38980);function r(t,e){return new o.c((function(n){var o=new i.y,r=0;return o.add(e.schedule((function(){r!==t.length?(n.next(t[r++]),n.closed||o.add(this.schedule())):n.complete()}))),o}))}},85966:function(t,e,n){n.d(e,{S:function(){return s}});var o=n(53672),i=n(38980),r=n(92006);function s(t,e){if(!t)throw new Error("Iterable cannot be null");return new o.c((function(n){var o,s=new i.y;return s.add((function(){o&&"function"==typeof o.return&&o.return()})),s.add(e.schedule((function(){o=t[r.lJ](),s.add(e.schedule((function(){if(!n.closed){var t,e;try{var i=o.next();t=i.value,e=i.done}catch(t){return void n.error(t)}e?n.complete():(n.next(t),this.schedule())}})))}))),s}))}},18733:function(t,e,n){n.d(e,{x:function(){return s}});var o=n(53672),i=n(38980),r=n(33573);function s(t,e){return new o.c((function(n){var o=new i.y;return o.add(e.schedule((function(){var i=t[r.s]();o.add(i.subscribe({next:function(t){o.add(e.schedule((function(){return n.next(t)})))},error:function(t){o.add(e.schedule((function(){return n.error(t)})))},complete:function(){o.add(e.schedule((function(){return n.complete()})))}}))}))),o}))}},88443:function(t,e,n){n.d(e,{P:function(){return r}});var o=n(53672),i=n(38980);function r(t,e){return new o.c((function(n){var o=new i.y;return o.add(e.schedule((function(){return t.then((function(t){o.add(e.schedule((function(){n.next(t),o.add(e.schedule((function(){return n.complete()})))})))}),(function(t){o.add(e.schedule((function(){return n.error(t)})))}))}))),o}))}},35106:function(t,e,n){n.d(e,{c:function(){return l}});var o=n(18733),i=n(88443),r=n(75555),s=n(85966),a=n(84666),c=n(12251),u=n(95356),f=n(57902);function l(t,e){if(null!=t){if((0,a.l)(t))return(0,o.x)(t,e);if((0,c.y)(t))return(0,i.P)(t,e);if((0,u.X)(t))return(0,r.V)(t,e);if((0,f.x)(t)||"string"==typeof t)return(0,s.S)(t,e)}throw new TypeError((null!==t&&typeof t||t)+" is not observable")}},92006:function(t,e,n){function o(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}n.d(e,{lJ:function(){return i}});var i=o()},33573:function(t,e,n){n.d(e,{s:function(){return o}});var o=function(){return"function"==typeof Symbol&&Symbol.observable||"@@observable"}()},51104:function(t,e,n){n.d(e,{D:function(){return o}});var o=function(){return"function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random()}()},28611:function(t,e,n){n.d(e,{k:function(){return o}});var o=function(){function t(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return t.prototype=Object.create(Error.prototype),t}()},15368:function(t,e,n){n.d(e,{P:function(){return o}});var o=function(){function t(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return t.prototype=Object.create(Error.prototype),t}()},82010:function(t,e,n){n.d(e,{Z:function(){return o}});var o=function(){function t(t){return Error.call(this),this.message=t?t.length+" errors occurred during unsubscription:\n"+t.map((function(t,e){return e+1+") "+t.toString()})).join("\n "):"",this.name="UnsubscriptionError",this.errors=t,this}return t.prototype=Object.create(Error.prototype),t}()},14638:function(t,e,n){n.d(e,{H:function(){return i}});var o=n(69579);function i(t){for(;t;){var e=t,n=e.closed,i=e.destination,r=e.isStopped;if(n||r)return!1;t=i&&i instanceof o.v?i:null}return!0}},21680:function(t,e,n){function o(t){setTimeout((function(){throw t}),0)}n.d(e,{T:function(){return o}})},38758:function(t,e,n){function o(t){return t}n.d(e,{D:function(){return o}})},42595:function(t,e,n){n.d(e,{c:function(){return o}});var o=function(){return Array.isArray||function(t){return t&&"number"==typeof t.length}}()},95356:function(t,e,n){n.d(e,{X:function(){return o}});var o=function(t){return t&&"number"==typeof t.length&&"function"!=typeof t}},24052:function(t,e,n){function o(t){return"function"==typeof t}n.d(e,{T:function(){return o}})},84666:function(t,e,n){n.d(e,{l:function(){return i}});var o=n(33573);function i(t){return t&&"function"==typeof t[o.s]}},57902:function(t,e,n){n.d(e,{x:function(){return i}});var o=n(92006);function i(t){return t&&"function"==typeof t[o.lJ]}},11459:function(t,e,n){function o(t){return null!==t&&"object"==typeof t}n.d(e,{G:function(){return o}})},12251:function(t,e,n){function o(t){return!!t&&"function"!=typeof t.subscribe&&"function"==typeof t.then}n.d(e,{y:function(){return o}})},10244:function(t,e,n){n.d(e,{m:function(){return i}});var o=n(38758);function i(t){return 0===t.length?o.D:1===t.length?t[0]:function(e){return t.reduce((function(t,e){return e(t)}),e)}}},14091:function(t,e,n){n.d(e,{i:function(){return d}});var o=n(65082),i=n(19134),r=n(98801),s=n(12598),a=n(95356),c=n(12251),u=n(11459),f=n(92006),l=n(33573),d=function(t){if(t&&"function"==typeof t[l.s])return(0,s.X)(t);if((0,a.X)(t))return(0,o.v)(t);if((0,c.y)(t))return(0,i.F)(t);if(t&&"function"==typeof t[f.lJ])return(0,r.S)(t);var e=(0,u.G)(t)?"an invalid object":"'"+t+"'";throw new TypeError("You provided "+e+" where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.")}},65082:function(t,e,n){n.d(e,{v:function(){return o}});var o=function(t){return function(e){for(var n=0,o=t.length;n<o&&!e.closed;n++)e.next(t[n]);e.complete()}}},98801:function(t,e,n){n.d(e,{S:function(){return i}});var o=n(92006),i=function(t){return function(e){for(var n=t[o.lJ]();;){var i=void 0;try{i=n.next()}catch(t){return e.error(t),e}if(i.done){e.complete();break}if(e.next(i.value),e.closed)break}return"function"==typeof n.return&&e.add((function(){n.return&&n.return()})),e}}},12598:function(t,e,n){n.d(e,{X:function(){return i}});var o=n(33573),i=function(t){return function(e){var n=t[o.s]();if("function"!=typeof n.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return n.subscribe(e)}}},19134:function(t,e,n){n.d(e,{F:function(){return i}});var o=n(21680),i=function(t){return function(e){return t.then((function(t){e.closed||(e.next(t),e.complete())}),(function(t){return e.error(t)})).then(null,o.T),e}}},75919:function(t,e,n){n.d(e,{u:function(){return s}});var o=n(69579),i=n(51104),r=n(84667);function s(t,e,n){if(t){if(t instanceof o.v)return t;if(t[i.D])return t[i.D]()}return t||e||n?new o.v(t,e,n):new o.v(r.I)}},20947:function(t,e,n){n.d(e,{C6:function(){return i}});var o=function(t,e){return o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},o(t,e)};function i(t,e){function n(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}},3091:function(t,e,n){n.d(e,{f:function(){return i}});class o{get isCancelled(){return this.wt}get timeoutInMs(){return this.gt}get reason(){return this.bt}cancel(){this.St(!1)}subscribe(t){this.wt?t():this.vt.push(t)}constructor(t){this.wt=!1,this.bt="",this.vt=[],this.St=t=>{this.wt||(this.wt=!0,this.bt=t?"timeout":"cancelled",this.vt.map((t=>t())),this.vt=[])},this.gt=t,window.setTimeout((()=>this.St(!0)),t)}}function i(t){return new o(t)}},24776:function(t,e,n){var o;n.d(e,{Y:function(){return o}}),function(t){t.blurFocus="blurFocus",t.boot="boot",t.completeCreateNew="completeCreateNew",t.continueAccessibilityLoop="continueAccessibilityLoop",t.createNew="createNew",t.dispose="dispose",t.grabFocus="grabFocus",t.moveToFolder="moveToFolder",t.popState="popState",t.sendChannelId="sendChannelId",t.sendConvId="sendConvId",t.teamsUsersReply="teamsUsersReply",t.teamsUserMentionReply="teamsUserMentionReply",t.backButtonPressed="backButtonPressed",t.getClientUrl="getClientUrl",t.getWebUrl="getWebUrl",t.rename="rename",t.completeSharedFilePicker="completeSharedFilePicker",t.sendAccessToken="sendAccessToken",t.sendAuthToken="sendAuthToken",t.sendCustomAuthConfig="sendCustomAuthConfig",t.sendEmbeddedViewUrl="sendEmbeddedViewUrl",t.sendFrameTrustResult="sendFrameTrustResult",t.sendHWRTelemetry="sendHWRTelemetry",t.sendSessionInfo="sendSessionInfo",t.sendUserAccessAndPermissions="sendUserAccessAndPermissions",t.sendWopiInfo="sendWopiInfo",t.sendDavUrl="sendDavUrl",t.switchMode="switchMode",t.signalShared="signalShared",t.postWacToken="postWacToken"}(o||(o={}))},85276:function(t,e,n){var o;n.d(e,{V:function(){return o}}),function(t){t.AccessibilityLoopCompleted="AccessibilityLoopCompleted",t.ActionCompleted="ActionCompleted",t.BrowserEvent="BrowserEvent",t.CAAEMessage="CAAEMessage",t.Close="Close",t.InitEnd="InitEnd",t.Conversation="Conversation",t.CopyAndEdit="CopyAndEdit",t.CreateNewDocument="CreateNewDocument",t.Download="Download",t.Edit="Edit",t.Error="Error",t.FileEmbed="FileEmbed",t.FileProperties="FileProperties",t.FileRenamed="FileRenamed",t.FileVersions="FileVersions",t.FrameStateChanged="FrameStateChanged",t.FrameTrust="FrameTrust",t.GetAccessToken="GetAccessToken",t.GetAuthToken="GetAuthToken",t.GetCustomAuthConfig="GetCustomAuthConfig",t.GetWopiInfoFromUrl="GetWopiInfoFromUrl",t.GetDavUrlFromIds="GetDavUrlFromIds",t.ModeSwitched="ModeSwitched",t.MoveToFolder="MoveToFolder",t.OpenInMobileApp="OpenInMobileApp",t.OpenInBrowser="OpenInBrowser",t.OpenInClient="OpenInClient",t.PageChanged="PageChanged",t.PushState="PushState",t.Reboot="Reboot",t.RedeemForCommenting="RedeemForCommenting",t.RefreshSessionInfo="RefreshSessionInfo",t.ReplyWithChanges="ReplyWithChanges",t.ReportAbuse="ReportAbuse",t.SharedFilePicker="SharedFilePicker",t.SaveStatus="SaveStatus",t.Share="Share",t.ShareForm="ShareForm",t.SignIn="SignIn",t.SplashScreenShown="SplashScreenShown",t.UserAccessAndPermissions="UserAccessAndPermissions",t.UserActivity="UserActivity",t.UserEditActivity="UserEditActivity",t.Workflow="Workflow",t.ZoomChanged="ZoomChanged",t.AcquireOAuthTokenTeams="AcquireOAuthTokenTeams",t.LoadingStatus="LoadingStatus",t.SwitchNotebook="SwitchNotebook",t.FailedBootCheckFileInfo="FailedBootCheckFileInfo",t.GetTeamsUsers="GetTeamsUsers",t.SendTeamsUserMention="SendTeamsUserMention",t.NavigateBackToHost="NavigateBackToHost",t.GetClientUrlComplete="GetClientUrlComplete",t.GetWebUrlComplete="GetWebUrlComplete",t.CopyLinkComplete="CopyLinkComplete",t.SendConversationId="SendConversationId",t.CloseTeamsConversation="CloseTeamsConversation",t.PageLoaded="PageLoaded",t.FrameChanged="FrameChanged",t.PrintRedirect="PrintRedirect"}(o||(o={}))},19864:function(t,e,n){n.d(e,{Jf:function(){return f}});var o=n(97866),i=n(80899),r=n(3614),s=n(92661),a=n(27237),c=n(25795);const u=6e4;function f(t){const e=new r.x(t);function n(t,n,i,r){const a=(0,c.Wv)();if((0,s.D)(t))return;const u={timestamp:(0,c.u_)(),category:n,tag:t,level:i,type:o.F.Trace,message:r,correlationId:""};e.addLoggingTime((0,c.Wv)()-a),e.handleTrace(u)}return{ULS:{sendTraceTag:(t,e,o,i)=>{n(t,e,o,i)},shipAssertTag:(t,e,o,r)=>{o&&n(t,e,i.k.Error,r)},debugAssertTag:(t,e,n,o)=>{throw new Error("Debug Asserts not Implemented in the TypeScript bULS module")},flush:e.flush,flushOnClose:e.flushOnClose,setCorrelationId:()=>{}},configure:t=>{e.configure(t)},settingsChangeHandler:t=>{(0,s.S)(t.Ht.getValue(a.b.Ct,""),t.Ht.getValue(a.b.It,"")),e.configure({uploadCadenceInMs:t.Ht.getValue(a.b.At,u)});const n=t.Ht.getValue(a.b.yt,"").toString();""!==n&&e.flushAndSetNewEndpoint(n)},getTimeSpentLogging:()=>e.getTimeSpentLogging(),getUserSessionId:()=>e.getUserSessionId(),flushAndSetNewEndpoint:(t,n)=>{e.flushAndSetNewEndpoint(t,n)},updateEndpointAndFlush:t=>{e.updateEndpointAndFlush(t)}}}},3614:function(t,e,n){n.d(e,{x:function(){return c}});var o=n(62470),i=n(93360),r=n(80899),s=n(25795),a=n(84779);class c{getTimeSpentLogging(){return this.Ut}addLoggingTime(t){this.Ut+=t}configure(t){const e=(0,s.Wv)();if(t.uploadCadenceInMs&&(this.Tt=t.uploadCadenceInMs),t.uploadTriggerSize&&(this.Pt=t.uploadTriggerSize),t.sessionId&&(this.kt=t.sessionId),t.remoteUlsEndpoint){if(!t.sessionId&&this.Et)throw new Error("Remote ULS endpoint is already set");this.Et=this.Nt(t.remoteUlsEndpoint),this.Ft=(0,s.u_)(),this.Wt()}this.Ut+=(0,s.Wv)()-e}handleTrace(t){const e=(0,s.Wv)();t.message.length>3072&&(t.message=t.message.substring(0,3059)+"... [Trimmed]"),this.Dt.push(t),(this.Dt.length>this.Pt||t.level===r.k.Error)&&this.Wt(),this.Ut+=(0,s.Wv)()-e}getUserSessionId(){return this.kt}constructor(t){this.Tt=3e4,this.Pt=30,this.Ot=0,this.Dt=[],this.Ft=(0,s.u_)(),this.jt=[],this.kt="",this.Ut=0,this.flushOnClose=()=>{this.Bt(!1,!1)},this.flush=()=>{this.Wt()},this.flushAndSetNewEndpoint=(t,e)=>{const n=this.Nt(t);n.localeCompare(this.Et??"",void 0,{sensitivity:"accent"})&&(this.jt.push((()=>{this.Et=n,e&&e()})),this.Bt(!0,!0))},this.updateEndpointAndFlush=t=>{this.Et=this.Nt(t),this.Bt(!0,!0)},this.Nt=t=>t+"?usid="+this.kt+"&officeserverversion="+(0,a.qS)(),this.Wt=()=>{window.setTimeout((()=>this.Bt(!0,!0)),0)},this.Bt=(t,e)=>{const n=(0,s.Wv)();if(window.clearTimeout(this._t),this.Et){if(this.Dt.length>0){this.Ot+=1;const n=this.Dt.splice(0,t?this.Pt:this.Dt.length),r=(0,o.I)(n,this.kt,this.Ot,this.Ft);(0,i.X)(r,this.Et,e),this.Ft=(0,s.u_)()}0===this.Dt.length&&this.jt.length>0&&(this.jt.forEach((t=>{"requestIdleCallback"in window?window.requestIdleCallback(t):window.setTimeout(t,0)})),this.jt=[]),t&&(this._t=window.setTimeout((()=>{this.Wt()}),this.Dt.length>this.Pt||this.jt.length>0?1e3:this.Tt)),this.Ut+=(0,s.Wv)()-n}},t&&this.configure(t)}}},92661:function(t,e,n){n.d(e,{D:function(){return r},S:function(){return s}});let o,i=[];function r(t){return 1===i[t]}function s(t,e){o&&e===o||(i=[],o=e,t&&t.split(",").forEach((t=>{const e=parseInt(t,10);e&&(i[e]=1)})))}},27237:function(t,e,n){var o;n.d(e,{b:function(){return o}}),function(t){t.xt="BootstrapperMaxUlsHeartbeatTime",t.Kt="BootstrapperNoCompleteWarning1Time",t.Lt="BootstrapperNoCompleteWarning2Time",t.It="RemoteUlsETag",t.Ct="RemoteUlsSuppressions",t.$t="BootstrapperSettingsFetchPeriod",t.Vt="timestamp",t.qt="BootstrapperUlsHeartbeatIntervalMs",t.Gt="BootstrapperUlsHeartBeatIsEnabled",t.At="BootstrapperUlsUploadCadenceMs",t.Jt="WordConsumptionViewToEditRedirectIsEnabled",t.zt="RequestedCallThrottlingDefaultToViewMinimumValue",t.yt="BulsEndpointUrl",t.Zt="EnableCommonHostDiagnosticsParams",t.Qt="EnableICNForWord",t.Xt="EnableModernEmbedViewForPowerPoint",t.Yt="EnableModernEmbedViewInOneUpForPowerPoint",t.te="EnableModernEmbedViewForPowerPointGlobalAppUrl",t.ee="EnableModernReadingViewForPowerPoint",t.ne="EnableDefaultToModernForPowerPoint",t.oe="ShouldLogJsApiKpisForWord",t.ie="WordSwitchToViewInTeamsJsapiV1Enabled",t.re="EnableWordSessionRefreshTelemetry",t.se="PowerPointUseEssDCHint",t.ae="ModernEmbedViewBootstrapperFeatureGatesForPowerPoint",t.ce="ModernReadingViewBootstrapperFeatureGatesForPowerPoint",t.ue="ModernEmbedViewForPowerPointEnabledPercentage",t.fe="PowerPointESSCookieLookbackThresholdHour",t.le="PowerPointSetESSCookieLookbackExpEnabled",t.de="ExcelForceViewOnlyInTeamsJsapiV1",t.he="EnableWordSessionRefreshLoggingCleanup",t.pe="WordRefreshTelemetryExpirationInDays"}(o||(o={}))},84779:function(t,e,n){n.d(e,{qS:function(){return i}});const o={BUILD_NUMBER:"###VERSION###",BUILD_NUMBER_MINOR:-1};function i(){try{return o.BUILD_NUMBER}catch(t){return o.BUILD_NUMBER}}},83456:function(t,e,n){n.d(e,{O:function(){return i}});var o=n(62600);function i(){const t=new Uint8Array(31),e=function(t){const e={crypto:!1,perfNow:!1,exceptions:[]},n=window.crypto||window.msCrypto;if(n){e.crypto=!0;try{return n.getRandomValues(t),e}catch(t){e.exceptions.push(`crypto: ${(0,o.M5)(t)}`)}}e.perfNow=!0;for(let n=0;n<t.length;n+=1){try{let t=Math.floor(100*window.performance.now())%10;(t<0||t>9)&&(t=0);for(let e=0;e<t;e+=1)Math.random()}catch(t){e.exceptions.push(`Math.random: ${(0,o.M5)(t)}`)}t[n]=Math.floor(16*Math.random())}return e}(t);let n=0;return["xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(e=>{const o=15&t[n];return n+=1,("x"===e?o:3&o|8).toString(16)})),e]}},25795:function(t,e,n){function o(){return window.performance.now()}function i(){return Math.round(window.performance.now()+window.performance.timeOrigin)}function r(t){Array.isArray(t)?t.forEach((t=>{window.performance.mark(t)})):window.performance.mark(t)}n.d(e,{Wv:function(){return o},l8:function(){return r},u_:function(){return i}})},62600:function(t,e,n){function o(t){if(!t)return"";const e=Object.getOwnPropertyNames(t),n=Object.getOwnPropertyNames(Object.getPrototypeOf(t));return JSON.stringify(t,[...e,...n])}n.d(e,{M5:function(){return o}})},87432:function(t,e,n){function o(t){const e=t.match(/^https:\/\/((?!word)\w+)(-\w+)+\..*$/i);return e&&e[1]?e[1]:"public"}n.d(e,{dH:function(){return o}})},4154:function(t,e,n){n.d(e,{z:function(){return r}});var o=n(91592),i=n(65704);class r{logKpiUsage(t,e,n,o){const s=this.getKpiKey(t+r.USAGE_KPI,n?.extendedProperties);if(this.kpiUsageEventBlocker.isEventBlocked(s))return!1;if(this.ensureFeatureDenominatorLoggedAndVetoPillarRegistered(n),this.recordKpiUsage(t,e,n,s),0!==o){const t=o??5*i.NF;this.kpiUsageEventBlocker.blockEvent(s,t)}return!0}logKpiFailure(t,e,n,o,s){const a=this.getKpiKey(t+r.FAILURE_KPI+e,n?.additionalValues?.extendedProperties);if("number"==typeof n?.additionalValues?.durationMs&&this.kpiFailureEventBlocker.aggregateEventDuration(a,n.additionalValues.durationMs),this.kpiFailureEventBlocker.isEventBlocked(a))return!1;if(this.ensureFeatureDenominatorLoggedAndVetoPillarRegistered(),this.recordKpiFailure(t,e,n,a),o&&this.recordQosError(o.errorNameOverride??e,o.name,o),0!==s){const t=s??5*i.NF;this.kpiFailureEventBlocker.blockEvent(a,t)}return!0}logKpiSuccess(t,e,n){const o=this.getKpiKey(t+r.SUCCESS_KPI,e?.additionalValues?.extendedProperties);if("number"==typeof e?.additionalValues?.durationMs&&this.kpiSuccessEventBlocker.aggregateEventDuration(o,e.additionalValues.durationMs),this.kpiSuccessEventBlocker.isEventBlocked(o))return!1;if(this.ensureFeatureDenominatorLoggedAndVetoPillarRegistered(),this.recordKpiSuccess(t,e,o),0!==n){const t=n??5*i.NF;this.kpiSuccessEventBlocker.blockEvent(o,t)}return!0}ensureFeatureDenominatorLoggedAndVetoPillarRegistered(t){const e=this.featureConfig.topLevelKpiName,n=this.getKpiKey(this.featureConfig.topLevelKpiName,t?.extendedProperties);if(this.kpiUsageEventBlocker.isEventBlocked(n??""))return;this.recordKpiUsage(e,o.v.FailureBased,t);const s=this.featureConfig.vetoPillar??this.featureConfig.areaName;s&&r.QOS_PILLARS_LIST.includes(s)&&this.healthLogger.addQosPillar(s),this.kpiUsageEventBlocker.blockEvent(n??"",i.x8)}recordKpiUsage(t,e,n={},o){const{extendedProperties:i,isForAlertableKpi:r}=n||{},s=this.createExtendedPropertiesWithMoreFields(i,o);r?this.healthLogger.recordKpiUsageForAlertableKpi(t,this.featureConfig.crewAlias,s):this.healthLogger.recordKpiUsage(t,e,this.featureConfig.crewAlias,s)}getKpiKey(t,e){const n=this.getKpiAreaName(e),o=this.getKpiFeatureName(e),i=this.getKpiPivot(e);return`${n}.${o}.${t??""}${i&&0===i.length?"."+i:""}`}getKpiAreaName(t){return t?.get(r.AREA_NAME_COLUMN_KEY)??this.featureConfig.areaName??this.featureConfig.vetoPillar??""}getKpiFeatureName(t){return t?.get(r.FEATURE_NAME_COLUMN_KEY)??this.featureConfig.featureName??""}getKpiPivot(t){const e=t?.get(r.PIVOT_TYPE_COLUMN_KEY),n=t?.get(r.PIVOT_VALUE_COLUMN_KEY);return e&&0!==e.length&&n&&0!==n.length?`${e}=${n}`:""}recordKpiFailure(t,e,n={},o){const{isIntentional:i,isInternal:r,additionalValues:s,hasImpliedUsage:a}=n||{},c=this.createAdditionalValuesWithMoreFields(s,o);!1===a?this.healthLogger.recordKpiFailure(t,e,i,r,c):this.healthLogger.recordKpiImpliedFailure(t,e,i,r,this.featureConfig.crewAlias,c)}recordKpiSuccess(t,e={},n){const{additionalValues:o,hasImpliedUsage:i}=e||{},r=this.createAdditionalValuesWithMoreFields(o,n);!1===i?this.healthLogger.recordKpiSuccess(t,r):this.healthLogger.recordKpiImpliedSuccess(t,this.featureConfig.crewAlias,r)}recordQosError(t,e,n={}){const{isIntentional:o,isInternal:i,alertOnPillar:r,isSessionEndingError:s,additionalValues:a}=n,c=this.createAdditionalValuesWithMoreFields(a);this.healthLogger.recordQosError(t,[e],o,i,r,s,c)}createExtendedPropertiesWithMoreFields(t,e){const n=new Map(t||new Map);if(n.get(r.FEATURE_NAME_COLUMN_KEY)||n.set(r.FEATURE_NAME_COLUMN_KEY,this.getKpiFeatureName(t)),n.set(r.AREA_NAME_COLUMN_KEY,this.getKpiAreaName(n)),n.has(r.SKIP_ARIA_COLUMN_KEY)||n.has("skipAria")||n.set(r.SKIP_ARIA_COLUMN_KEY,"true"),!this.featureConfig.doNotEmitAggregatedCount&&e){const t=this.getEventBlocker(e);if(t){const o=t.getEventHitCount(e);if(o){n.set(r.AGGREGATED_COUNT_COLUMN_KEY,o.toString());const i=t.getEventDurations(e);o>1&&i&&n.set(r.AGGREGATED_DURATION_COLUMN_KEY,i.map((t=>Math.round(100*t)/100)).toString())}}}return n}createAdditionalValuesWithMoreFields(t,e){let n={};return n={...t},n.extendedProperties=this.createExtendedPropertiesWithMoreFields(t?.extendedProperties,e),n}getEventBlocker(t){return t.endsWith(r.USAGE_KPI)?this.kpiUsageEventBlocker:t.includes(r.FAILURE_KPI)?this.kpiFailureEventBlocker:t.endsWith(r.SUCCESS_KPI)?this.kpiSuccessEventBlocker:void 0}constructor(t,e,n,o,i){this.healthLogger=t,this.featureConfig=e,this.kpiUsageEventBlocker=n,this.kpiFailureEventBlocker=o,this.kpiSuccessEventBlocker=i}}r.FEATURE_NAME_COLUMN_KEY="FeatureName",r.AREA_NAME_COLUMN_KEY="AreaName",r.AGGREGATED_COUNT_COLUMN_KEY="AggCount",r.AGGREGATED_DURATION_COLUMN_KEY="AggMs",r.SKIP_ARIA_COLUMN_KEY="SkipAria",r.PIVOT_TYPE_COLUMN_KEY="PivotType",r.PIVOT_VALUE_COLUMN_KEY="PivotValue",r.QOS_PILLARS_LIST=["Interruptions","Open","NotebookNavigation","Fidelity","AsyncCollab","Present","ContentConsumption","bSqmCompatibility","Boot"],r.USAGE_KPI=".Usage",r.SUCCESS_KPI=".Success",r.FAILURE_KPI=".Failure."},65704:function(t,e,n){n.d(e,{NF:function(){return i},TF:function(){return o},x8:function(){return r}});class o{isEventBlocked(t){const e=this.blockedEvents.get(t);return!!e&&(Date.now()>=e?(this.unblockEvent(t),!1):(this.aggregateEventCount(t),!0))}blockEvent(t,e){const n=Date.now()+e;this.blockedEvents.set(t,n),this.updateEventHitCount(t,0),this.eventDurations.delete(t),this.eventDurationsTotal.delete(t)}unblockEvent(t){this.blockedEvents.delete(t)}getEventHitCount(t){return this.eventHitCounts.get(t)}updateEventHitCount(t,e){this.eventHitCounts.set(t,e)}aggregateEventCount(t){let e=this.getEventHitCount(t);"number"==typeof e&&this.updateEventHitCount(t,++e)}getEventDurations(t){return this.eventDurations.get(t)}aggregateEventDuration(t,e){const n=(this.getEventHitCount(t)??0)+1,o=this.eventDurationsTotal.get(t),i=this.eventDurations.get(t);if(void 0!==i){const r=[...i];let s;i[0]>e&&(r[0]=e),i[1]<e&&(r[1]=e),void 0!==o&&o.length<10?(o.push(e),s=o.reduce(((t,e)=>t+e),0)/n):(s=i[2]+(e-i[2])/n,this.eventDurationsTotal.delete(t)),r[2]=s,this.eventDurations.set(t,r)}else this.eventDurations.set(t,[e,e,e]),this.eventDurationsTotal.set(t,[e])}constructor(){this.blockedEvents=new Map,this.eventHitCounts=new Map,this.eventDurations=new Map,this.eventDurationsTotal=new Map}}const i=6e4,r=60*i*24},91592:function(t,e,n){n.d(e,{v:function(){return o}});var o,i=n(46283);!function(t){t[t.FailureBased=0]="FailureBased",t[t.SuccessBased=1]="SuccessBased"}(o||(o={})),new i.n},45577:function(t,e,n){n.d(e,{g:function(){return s}});var o=n(91592),i=n(4154),r=n(65704);class s{static getInstance(t,e,n,o,i){return new s(t,e,n,o,i)}logKpiUsage(t){return!(!t||!t.kpiName)&&this.featureUsageAndHealthLogger.logKpiUsage(t.kpiName,t.kpiType??o.v.FailureBased,t.optionalProperties,t.blockFutureEmissionDurationInMs)}logKpiFailure(t){return!!(t&&t.kpiName&&t.errorName)&&this.featureUsageAndHealthLogger.logKpiFailure(t.kpiName,t.errorName,t.optionalProperties,t.optionalVeto,t.blockFutureEmissionDurationInMs)}logKpiSuccess(t){return!(!t||!t.kpiName)&&this.featureUsageAndHealthLogger.logKpiSuccess(t.kpiName,t.optionalProperties,t.blockFutureEmissionDurationInMs)}ensureFeatureDenominatorLoggedAndVetoPillarRegistered(t){this.featureUsageAndHealthLogger.ensureFeatureDenominatorLoggedAndVetoPillarRegistered(t)}constructor(t,e,n,r,a){this.healthLogger=t,this.featureConfig=e,this.kpiUsageEventBlocker=n,this.kpiFailureEventBlocker=r,this.kpiSuccessEventBlocker=a,this.featureUsageAndHealthLogger=new i.z(this.healthLogger,this.featureConfig,this.kpiUsageEventBlocker??s.kpiUsageBlocker,this.kpiSuccessEventBlocker??s.kpiFailureBlocker,this.kpiFailureEventBlocker??s.kpiSuccessBlocker),this.executeCallbackWithLogging=(t,e)=>{const n=t=>"VetoFailureLoggingParams".includes(t);let i,r;e?.kpiUsageLoggingParams?(i="Usage",r=e?.kpiUsageLoggingParams):e?.kpiSuccessLoggingParams?(i="UsageWithSuccess",r=e?.kpiSuccessLoggingParams):e?.kpiFailureLoggingParams?(i="UsageWithFailure",r=e?.kpiFailureLoggingParams):(i="UsageWithVetoFailure",r=e?.vetoFailureLoggingParams);const s=r?.usageName,a=r?.usageKpiType;this.logKpiUsage({kpiName:s,kpiType:a??o.v.FailureBased});try{t?.(),"UsageWithSuccess"===i&&"KpiSuccessLoggingParams".includes(r)&&this.logKpiSuccess({kpiName:s,optionalProperties:r.successOptionalProperties})}catch(t){if("UsageWithFailure"===i&&"KpiFailureLoggingParams".includes(r)||"UsageWithVetoFailure"===i&&n(r)){let t;n(r)&&(t={name:r.vetoName??"",...r.vetoOptionalProperties}),this.logKpiFailure({kpiName:r.usageName,errorName:r.failureErrorName,optionalProperties:r.failureOptionalProperties,optionalVeto:t})}throw t}}}}s.kpiUsageBlocker=new r.TF,s.kpiFailureBlocker=new r.TF,s.kpiSuccessBlocker=new r.TF},43525:function(t,e,n){n.d(e,{Xk:function(){return l}});var o,i,r,s,a,c=n(12749),u=n(58418),f=n(91592);!function(t){t[t.BSqmError=0]="BSqmError",t[t.Kpi=1]="Kpi",t[t.QosError=2]="QosError",t[t.QosPillar=3]="QosPillar",t[t.DiagnosticLog=4]="DiagnosticLog",t[t.OfflineWorkerInit=5]="OfflineWorkerInit",t[t.OfflineWorkerFlush=6]="OfflineWorkerFlush",t[t.OfflineWorkerFailedUpload=7]="OfflineWorkerFailedUpload"}(o||(o={})),function(t){t.HealthDimensions="d",t.PartCDimensions="a",t.BSqmErrors="b",t.QosErrors="e",t.Heartbeat="h",t.QosPillars="q",t.Kpis="k",t.DiagnosticLogs="l",t.ClientSendTime="t"}(i||(i={})),function(t){t[t.AttemptToUseFunctionalityBeforeIitialization=0]="AttemptToUseFunctionalityBeforeIitialization",t[t.WorkerApiIsNotAvailable=1]="WorkerApiIsNotAvailable",t[t.InvalidWorkerUrl=2]="InvalidWorkerUrl",t[t.InstallingOfflineWorker=3]="InstallingOfflineWorker",t[t.OfflineWorkerMessage=4]="OfflineWorkerMessage",t[t.FailedToProcessMessageFromOfflineWorker=5]="FailedToProcessMessageFromOfflineWorker",t[t.FailedToInstallOfflineWorker=6]="FailedToInstallOfflineWorker",t[t.InitializedHealth=7]="InitializedHealth",t[t.BatchesOfHealthEventsInIndexedDB=8]="BatchesOfHealthEventsInIndexedDB",t[t.IndexedDbTransactionFailed=9]="IndexedDbTransactionFailed",t[t.InstalledOfflineWorker=10]="InstalledOfflineWorker",t[t.IndexedDdIsNotSupported=11]="IndexedDdIsNotSupported",t[t.GetAllKeysIsNotSupported=12]="GetAllKeysIsNotSupported",t[t.FailedToProcessMessage=13]="FailedToProcessMessage",t[t.FailedToLoadWorkerScript=14]="FailedToLoadWorkerScript",t[t.FailedToSendEventToWorker=15]="FailedToSendEventToWorker",t[t.FailedToJsonStringifyEvent=16]="FailedToJsonStringifyEvent",t[t.IndexedDbEntryIsNotAnObject=17]="IndexedDbEntryIsNotAnObject"}(r||(r={})),function(t){t[t.AttemptedToAddOrUpdatePartCDimension=0]="AttemptedToAddOrUpdatePartCDimension",t[t.AttemptedToRecordBSqmQosError=1]="AttemptedToRecordBSqmQosError",t[t.AttemptedToRecordSessionEndingQosError=2]="AttemptedToRecordSessionEndingQosError",t[t.AttemptedToSetAppOnlineStatus=3]="AttemptedToSetAppOnlineStatus",t[t.AttemptedToUpdatePartADimensions=4]="AttemptedToUpdatePartADimensions"}(s||(s={})),function(t){t[t.SendSucceeded=0]="SendSucceeded",t[t.SendFailed=1]="SendFailed",t[t.DidNotAttempt=2]="DidNotAttempt"}(a||(a={}));class l{static getInstance(t=!1){return l.me&&!t||(l.me=new l),this.me}initialize(t){if(t)try{return this.we=function(t){return{ge:t.dimensions??void 0,be:t.heartbeatIntervalMs??3e5,Se:t.isHealthEnabled??!1,ve:t.isOfflineEnabled??!1,He:t.isErrorPartCEnabled??!1,Ce:t.loggerMaxIntervalMs??3e4,Ie:t.loggerMaxQueueSize??25,Ae:t.offlineWorkerUrl??"",ye:t.absoluteRemoteTelemetryUrlForOfflineWorker??"",Ue:t.recordPillarToWarmPipelineIntervalMs??864e5,Te:t.remoteTelemetryUrl??"",Pe:t.maxConcurrentRetries??3,ke:t.retryMaxAttempts??3,Ee:t.retryDelayMs??15e3,Ne:t.disabledHealthEvents??new Set}}(t),this.Fe(),this.We(),this.Re(),this.De=!0,void this.Oe(r.InitializedHealth)}catch(t){}this.De=!1}addOrUpdatePartCDimension(t,e){this.Me(s.AttemptedToAddOrUpdatePartCDimension)&&t&&(this.je.hasOwnProperty(t)&&this.je[t]===e||(this.Be(!0),this.je[t]=e,this._e+=1,this.xe(),this.Ke()))}addOrUpdateErrorPartCDimension(t,e){this.we.He&&t&&(this.Le[t]=e)}addQosPillar(t){if(t){const e=0===this.Ve.length;-1===this.Ve.indexOf(t)&&(this.Ve.push(t),this.qe(t,!1),this.Ge(e))}}recordBsqmQosError(t,e,n){if(this.Me(s.AttemptedToRecordBSqmQosError)&&(this.Je(!1),this.Ke(),t)){const i={b:t,v:e,d:n?.durationMs,p:(0,u.v6)(n?.extendedProperties),s:this.Ve,i:n?.inStaging};this.ze(o.BSqmError,i,t),this.shutdown(!0)}}recordKpiFailure(t,e,n,o,i){this.Ze(t,!0,c.z.Failure,i,e,o,n)}recordKpiImpliedFailure(t,e,n,o,i,r){this.Ze(t,!1,c.z.ImpliedUsageFailure,r,e,o,n,f.v.FailureBased,!1,i)}recordKpiImpliedSuccess(t,e,n){this.Ze(t,!1,c.z.ImpliedUsageSuccess,n,void 0,void 0,void 0,f.v.FailureBased,!1,e)}recordKpiSuccess(t,e){this.Ze(t,!0,c.z.Success,e)}recordKpiUsage(t,e,n,o){this.Ze(t,!1,c.z.Usage,{extendedProperties:o},void 0,void 0,void 0,e,!1,n)}recordKpiUsageForAlertableKpi(t,e,n){if(!t)return;let o=!0;const i=this.Qe[t];i&&(o=i.t===f.v.FailureBased),this.Ze(t,!1,c.z.Usage,{extendedProperties:n},void 0,void 0,void 0,f.v.FailureBased,!0,e),o&&this.Xe()}recordQosError(t,e,n,i,r,a,c){if((!a||this.Me(s.AttemptedToRecordSessionEndingQosError))&&t&&e){const s={n:t,x:n,z:i,l:r,v:e,e:a,d:c?.durationMs,p:(0,u.v6)(c?.extendedProperties),s:this.Ve,i:c?.inStaging};this.ze(o.QosError,s,t),a&&(this.Je(!1),this.Ke(),this.shutdown(!0))}}removeQosPillar(t){if(!t)return;const e=this.Ve.indexOf(t);e>-1&&(this.Ve.splice(e,1),this.Ge(!1)),0===this.Ve.length&&this.Ye()}resumeAllHealthTimers(){if(this.tn&&!this.en&&this.nn(),0===this.rn&&0!==this.sn){const t=Date.now()-this.sn;t>=this.we.Ue||t<=0?this.cn():this.un(this.we.Ue-t)}}setHandlerForIsAppShuttingDown(t){t&&(this.fn=t)}setIsAppOnline(t){this.Me(s.AttemptedToSetAppOnlineStatus)&&(!this.ln&&t&&this.dn?.postMessage({t:o.OfflineWorkerFlush,v:this.fn()}),this.ln=t)}shutdown(t=!1){this.we.Se&&(this.hn(),this.Je(!1),this.fn=()=>!0,this.pn(),(!t||t&&this.ln)&&this.dn?.terminate())}stopAllHealthTimers(){this.Je(!0)}Je(t){this.en=!1,this.mn=-1,0!==this.wn&&(window.clearTimeout(this.wn),this.wn=0),this.Ye(),t&&this.pn()}updatePartADimensions(t){if(!t||!this.Me(s.AttemptedToUpdatePartADimensions))return;let e=!1;Object.keys(t).forEach((n=>{void 0!==t[n]&&null!==t[n]&&""!==t[n]&&this.we.ge[n]!==t[n]&&(this.we.ge[n]=t[n],e=!0)})),e&&(this.Be(),this.Fe(),this._e+=1,this.xe(),this.Ke())}flushAndSetNewEndpoint(t,e){t.localeCompare(this.we.Te??"",void 0,{sensitivity:"accent"})&&(this.Be(!1),this.we.Te=t,e&&e())}constructor(){this.je={},this.Le={},this.Sn=[],this.ge={},this._e=0,this.we={be:3e5,Se:!1,ve:!1,He:!1,Ce:3e4,Ie:25,Ae:"",Ue:864e5,Te:"",ye:"",Pe:3,ke:3,Ee:15e3,Ne:new Set},this.tn=!1,this.mn=-1,this.en=!1,this.wn=0,this.ln=!0,this.fn=()=>!1,this.Qe={},this.vn=[],this.Hn=0,this.Cn=0,this.In=void 0,this.An=[],this.yn=[],this.Un=[],this.Tn=[],this.Pn=0,this.sn=0,this.rn=0,this.Ve=[],this.kn=!1,this.En=0,this.De=!1,this.hn=()=>{this.Pn&&(window.clearTimeout(this.Pn),this.Pn=0)},this.Nn=()=>{this.vn=[],this.An=[],this.yn=[],this.In=void 0,this.Un=[],this.Tn=[],this.Hn=0,this.Cn=0},this.pn=()=>{try{if(this.Hn<=0)return;const t=this.Fn();this.Wn(t,this._e,this.we.ke),this.Nn()}catch(t){}},this.Fn=()=>({d:this.ge,a:this.Rn(),b:this.vn,e:this.yn,h:this.In,q:this.Un,k:this.An,l:this.Tn,type:"h_v2"}),this.Rn=()=>this.we.He&&(this.vn&&this.vn.length>0||this.yn&&this.yn.length>0)&&Object.keys(this.Le).length>0?{...this.je,...this.Le}:this.je,this.ze=(t,e,n,i=!1)=>{if(e&&!this.we.Ne.has(n))if(this.ln){switch(t){case o.BSqmError:this.vn.push(e);break;case o.Kpi:this.An.push(e);break;case o.QosError:this.yn.push(e);break;case o.QosPillar:-1===this.Un.map((t=>t.n)).indexOf(e.n)&&this.Un.push(e);break;case o.DiagnosticLog:this.Tn.push(e)}if(this.Hn+=1,t!==o.DiagnosticLog&&t!==o.QosPillar&&(this.Cn+=1),this.fn()&&!i)return void this.pn();this.Hn>=this.we.Ie&&(this.hn(),this.Be())}else e.o=(new Date).toJSON(),this.dn?.postMessage({t,k:`${this.ge.w}.${this._e}`,m:this.ge,c:this.Rn(),v:e})},this.We=()=>{this.hn(),this.Pn=window.setTimeout((()=>{this.Be()}),this.we.Ce)},this.Be=(t=!1)=>{t&&this.Cn<=0||(this.pn(),this.We())},this.xe=()=>{if(!this.Ve&&!this.Qe)return;this.In&&-1!==this.mn||(this.mn=(this.mn+1)%1e3),this.In||(this.Hn+=1);const t={p:this.In?(0,u.VY)(this.In.p,this.Ve):this.Ve,k:this.In?(0,u.VY)(this.In.k,this.Sn):this.Sn,i:this.we.be,o:this.mn};this.In=t},this.Ze=(t,e,n,i,r,s,a,c,f,l)=>{if(!t||e&&!this.Qe[t])return;e||this.Dn(t,c,f,l);const d=this.Qe[t],h={n:d.k,e:n,t:d.t,a:d.a,f:d.o,d:i?.durationMs,p:(0,u.v6)(i?.extendedProperties)};if(r){const t={n:r,x:a,z:s};h.k=t}this.ze(o.Kpi,h,t)},this.Fe=()=>{const t=this.we.ge;t&&(this.ge={a:t.application??void 0,b:t.applicationLcid??void 0,c:t.applicationMode??void 0,d:t.applicationModeExtended??void 0,e:t.arrVersion??void 0,f:t.browser??void 0,g:t.browserLcid??void 0,h:t.browserMajorVersion??void 0,i:t.browserVersion??void 0,j:t.clientVersion??void 0,k:t.datacenter??void 0,l:t.dataCulture??void 0,m:t.flightsImpressionId??void 0,n:t.host??void 0,o:t.isAnonymousUser??void 0,p:t.isBusinessUser??void 0,q:t.isEduUser??void 0,r:t.isSynthetic??void 0,s:t.loggableUserId??void 0,t:t.loggableUserIdSpace??void 0,u:t.ring??void 0,v:t.serverDocId??void 0,w:t.session_id??void 0,x:t.sessionOrigin??void 0,y:t.tenantId??void 0,z:t.uiHost??void 0,aa:t.wfeVersion??void 0,ab:t.fileExtension??void 0,ac:t.uiHostIntegrationType??void 0,ad:t.osVersion??void 0,af:t.networkDownlink??void 0,ag:t.networkDownlinkMax??void 0,ah:t.networkEffectiveType??void 0,ai:t.networkRTT??void 0,aj:t.networkSaveData??void 0,ak:t.networkType??void 0,al:t.userLicenseType??void 0})},this.nn=()=>{this.xe(),this.wn=window.setTimeout((()=>{this.nn()}),this.we.be)},this.Ke=()=>{this.Ve&&this.Ve.forEach((t=>{t&&this.qe(t,!0)}))},this.qe=(t,e)=>{const n={};n.n=t,this.ze(o.QosPillar,n,t,e)},this.cn=()=>{this.Ve&&(this.sn=Date.now(),this.Ke()),this.un()},this.un=(t=this.we.Ue)=>{this.rn=window.setTimeout((()=>{this.cn()}),t)},this.Xe=()=>{this.tn||(this.tn=!0,this.en=!0,this.nn())},this.Ye=()=>{0!==this.rn&&(window.clearTimeout(this.rn),this.rn=0)},this.Re=()=>{if(this.we.Se&&this.we.ve&&this.we.ye&&""!==this.we.ye&&this.we.Ae&&""!==this.we.Ae)try{if("undefined"==typeof Worker)return void this.Oe(r.WorkerApiIsNotAvailable);if(!this.we.Ae)return void this.Oe(r.InvalidWorkerUrl);this.Oe(r.InstallingOfflineWorker);const t=new Blob([`try{importScripts('${encodeURI(this.we.Ae)}');}catch(e){self.postMessage({i:14,l:'W',r:e.toString()})}`],{type:"application/javascript"});this.dn=new Worker(URL.createObjectURL(t)),this.dn.onmessage=t=>{try{const e=t.data;this.Oe(e.i,e.r)}catch(t){this.Oe(r.FailedToProcessMessageFromOfflineWorker,t.toString())}},this.dn.postMessage({t:o.OfflineWorkerInit,v:this.we.ye}),this.dn.postMessage({t:o.OfflineWorkerFlush})}catch(t){this.Oe(r.FailedToInstallOfflineWorker,t.toString())}},this.On=(t,e)=>{if(t.b.length>0||t.e.length>0||t.q.length>0||t.k.length>0||t.l.length>0)try{return this.dn?.postMessage({t:o.OfflineWorkerFailedUpload,k:`${t.d.w}.${e}`,v:t}),a.SendSucceeded}catch(t){const e=this.jn(t);return this.Oe(r.FailedToSendEventToWorker,e),a.SendFailed}return a.DidNotAttempt},this.Dn=(t,e,n,o)=>{t&&void 0!==e&&(this.Qe[t]||(this.Qe[t]={k:t,t:e,a:!0===n,o:o??void 0},n&&(this.Sn.push(t),this.xe())))},this.Ge=t=>{this.mn=-1,t?(this.sn=Date.now(),this.un(),this.Xe()):this.xe()},this.Me=t=>!!this.De||(this.Oe(r.AttemptToUseFunctionalityBeforeIitialization,t?.toString()),!1),this.Wn=(t,e,n)=>{if(!t)return;const o=this.we.Te;if(""===o)return;if(this.kn&&(n<=0||!this.ln)&&this.On(t,e)!==a.SendFailed)return;if(n<=0)return;const i=this.Bn(t,!1);if(null===i)return;if(this.fn())try{if(void 0!==navigator.sendBeacon){if(i.length>=65536&&this.we.He){const e={...t,a:this.je},n=this.Bn(e,!0);if(null===n)return;navigator.sendBeacon(o,n)}else navigator.sendBeacon(o,i);return}}catch(t){}const r=new XMLHttpRequest;r.open("POST",o,!0),r.onreadystatechange=()=>{r.readyState===XMLHttpRequest.DONE&&(200===r.status?this.kn||(this.kn=!0):this.En<this.we.Pe?(this.En+=1,window.setTimeout((()=>{this.En-=1,this.Wn(t,e,n-1)}),this.we.Ee)):this.kn&&this.On(t,e))},r.send(i)},this.Oe=(t,e)=>{const n={i:t,r:e};this.ze(o.DiagnosticLog,n,t.toString())},this.jn=t=>{let e;return"string"==typeof t?e=t:t instanceof Error&&(e=t.name+" "+t.message,t.stack&&(e+=" "+t.stack)),e},this.Bn=(t,e)=>{try{return(0,u.sX)(t)}catch(t){let n=this.jn(t);return n="ModifiedPayload: "+e+" | "+n,this.Oe(r.FailedToJsonStringifyEvent,n),null}}}}},46283:function(t,e,n){n.d(e,{n:function(){return r}});var o=n(43525),i=n(45577);class r{getHealthInstance(t){if(t)return o.Xk.getInstance().initialize(t),o.Xk.getInstance()}getExtendedHealthInstance(t,e){if(t&&e)return i.g.getInstance(t,e)}}},12749:function(t,e,n){var o;n.d(e,{z:function(){return o}}),function(t){t[t.Failure=0]="Failure",t[t.ImpliedUsageFailure=1]="ImpliedUsageFailure",t[t.ImpliedUsageSuccess=2]="ImpliedUsageSuccess",t[t.Success=3]="Success",t[t.Usage=4]="Usage"}(o||(o={}))},58418:function(t,e,n){function o(t){if(!t)return;const e={};return t.forEach(((t,n)=>{n&&(e[n]=t)})),e}function i(t){return JSON.stringify(t)}function r(t,e){const n=[],o=new Set;return t.concat(e).forEach((t=>o.add(t))),o.forEach((t=>n.push(t))),n}n.d(e,{VY:function(){return r},sX:function(){return i},v6:function(){return o}})},63590:function(t,e,n){var o;n.d(e,{n:function(){return o}}),function(t){t[t._n=0]="msoulscat_ES_EWAJS",t[t.xn=1]="msoulscat_ES_EWAJSGrid",t[t.Kn=6]="msoulscat_ES_EWAJSChart",t[t.Ln=202]="msoulscat_MSOSP_FileMenuCommands",t[t.$n=220]="msoulscat_MSOSP_AddInCommands",t[t.Vn=225]="msoulscat_MSOSP_OTelJS",t[t.qn=227]="msoulscat_MSOSP_OTelJSInWebWoker",t[t.Gn=228]="msoulscat_MSOSP_OTelJSWebWorkerPrototype",t[t.Jn=301]="msoulscat_Wac_WordViewer",t[t.zn=306]="msoulscat_Wac_BrowserGeneral",t[t.Zn=320]="msoulscat_Wac_TaskPane",t[t.Qn=339]="msoulscat_Wac_OneNoteGeneral",t[t.Xn=340]="msoulscat_Wac_Ribbon",t[t.Yn=356]="msoulscat_Wac_WacFeedback",t[t.eo=379]="msoulscat_Wac_WopiPendingApplication",t[t.no=383]="msoulscat_Wac_Telemetry",t[t.oo=391]="msoulscat_Wac_WacCatchUpActivities",t[t.io=394]="msoulscat_Wac_Dictation",t[t.ro=395]="msoulscat_Wac_OneNoteSync",t[t.so=700]="msoulscat_Wac_VisioApp",t[t.ao=1601]="msoulscat_OneNoteOnline_EditableCache",t[t.co=800]="msoulscat_Wac_PptAnimation",t[t.uo=833]="msoulscat_Wac_PptLive",t[t.fo=834]="msoulscat_Wac_PptMWeb",t[t.lo=835]="msoulscat_Wac_PptGc2General",t[t.do=836]="msoulscat_Wac_PptGc2GraphicHost",t[t.ho=837]="msoulscat_Wac_PptGc2Operation",t[t.po=852]="msoulscat_Wac_PptGc2EditCanvas",t[t.mo=844]="msoulscat_Wac_PptDataSync",t[t.wo=848]="msoulscat_Wac_PptFluidRuntime",t[t.bo=815]="msoulscat_Wac_PptShape",t[t.So=817]="msoulscat_Wac_PptSession",t[t.vo=830]="msoulscat_Wac_PptSlideshow",t[t.Ho=822]="msoulscat_Wac_PptView",t[t.Co=846]="msoulscat_Wac_PptVideos",t[t.Io=1303]="msoulscat_Uci_Insights",t[t.Ao=2300]="msoulscat_Wac_VersionHistory",t[t.yo=302]="msoulscat_Wac_WordPresence",t[t.Uo=3e3]="msoulscat_Wac_OAuth",t[t.To=3005]="msoulscat_Wac_WordVersionHistory",t[t.Po=3006]="msoulscat_Wac_LivePersonaCard",t[t.ko=3012]="msoulscat_Wac_CatchUpFlyout",t[t.Eo=3016]="msoulscat_Wac_WordDesigner",t[t.No=3021]="msoulscat_Wac_ModernFontPicker",t[t.Fo=3027]="msoulscat_Wac_UnifiedUiHost",t[t.Wo=3033]="msoulscat_Wac_EquationTools",t[t.Ro=1401]="msoulscat_Osf_Latency",t[t.Do=1402]="msoulscat_Osf_Notification",t[t.Oo=1403]="msoulscat_Osf_Runtime",t[t.Mo=3041]="msoulscat_Wac_AiMaker",t[t.jo=3043]="msoulscat_Wac_AiRewrite",t[t.Bo=3044]="msoulscat_Wac_AiInsert",t[t._o=3047]="msoulscat_Wac_AiSummarize",t[t.xo=3048]="msoulscat_Wac_CopilotCompose",t[t.Ko=3049]="msoulscat_Wac_Skittles",t[t.Lo=3050]="msoulscat_Wac_CopilotChat",t[t.$o=3051]="msoulscat_Wac_Syntex",t[t.Vo=3052]="msoulscat_Wac_WireGraph",t[t.qo=3053]="msoulscat_Wac_CshCopilot",t[t.Go=3054]="msoulscat_Wac_CopilotComposeLaunchpad",t[t.Jo=3055]="msoulscat_Wac_CopilotProactiveSummary",t[t.zo=3056]="msoulscat_Wac_CopilotProactiveShared",t[t.Zo=3057]="msoulscat_Wac_CopilotCursor"}(o||(o={}))},97866:function(t,e,n){var o;n.d(e,{F:function(){return o}}),function(t){t[t.Trace=0]="Trace",t[t.Assert=1]="Assert"}(o||(o={}))},80899:function(t,e,n){var o;n.d(e,{k:function(){return o}}),function(t){t[t.Error=10]="Error",t[t.Warning=15]="Warning",t[t.Important=20]="Important",t[t.Info=50]="Info",t[t.Verbose=100]="Verbose",t[t.Spam=200]="Spam"}(o||(o={}))},62470:function(t,e,n){function o(t,e,n,o){const r=[],s=t.map((t=>function(t,e,n){const o={};if(o.G=t.tag,o.T=t.timestamp-e,o.M=t.message,o.C=t.category,t.correlationId){let e=n.findIndex((e=>e===t.correlationId));e<0&&(e=n.push(t.correlationId)-1),o.I=e}const r=t.type*i+t.level;return o.D=r,o}(t,o,r))),a=function(t,e,n,o,i){const r={};return r.T=t,r.L=e,r.S=n,r.I=o,i&&i.length>0&&(r.W=i),r.V=1,r}(o,s,e,n,r);return JSON.stringify(a)}n.d(e,{I:function(){return o}});const i=1e3},93360:function(t,e,n){function o(t,e,n){if(!e)return;const o=window.navigator;if(o&&o.sendBeacon)try{return void o.sendBeacon(e,t)}catch{}!function(t,e,n){const o=new XMLHttpRequest;o.readyState!==XMLHttpRequest.UNSENT&&o.readyState!==XMLHttpRequest.DONE||(o.open("POST",e,n),o.send(t))}(t,e,n)}n.d(e,{X:function(){return o}})},93191:function(t,e,n){n.d(e,{hr:function(){return S}});var o=n(63590),i=n(80899),r=n(25795),s=n(53672),a=n(43803),c=n(5306),u=n(63679),f=n(64120),l=n(96303),d=n(82715),h=n(63496),p=n(73885),m=n(21959),w=n(12874),g=n(57895),b=n(70994);function S(t,e,n,S,v,H,C,I,A){const{loadFunctionSubject:y,documentBootInfo:U,correlationId:T,wopiFetchData:P={wopiHostData:void 0,fetchDiagnostics:void 0}}=t,{fileType:k,wdOrigin:E,puid:N,uiCulture:F,dataCulture:W,clickTime:R,rebootOverrideData:D}=U,{wopiHostData:O,fetchDiagnostics:M}=P,j=n?.logger,B=n?.health;if(!(O&&O.wac&&O.wac.bootstrapperUrl&&O.wac.applicationUrl)){const t=new Map([["WopiHostDataPresent",`${!!O}`],["WopiWacDataPresent",`${!!O?.wac}`]]),e=JSON.stringify(Array.from(t.entries())),n={wacErrorName:c.R7.Qo,qosErrorName:c.by.QosError_VroomWopiFailure,errorMessage:e};return j?.ULS.sendTraceTag(554964098,o.n.Fo,i.k.Info,`${c.R7.Qo}: Failed to get wopi data for the item, ${e}`),void(S&&S(n))}const _=I||O.wac.bootstrapperUrl,x=A,K=O.wac.applicationUrl;O.wac.userId&&B?.updatePartADimensions({loggableUserId:O.wac.userId});const L=new Promise(((t,e)=>{setTimeout((()=>e("jsApi timed out after 60 seconds")),6e4)})),$=new Promise((async(t,I)=>{y.subscribe((()=>t("jsApi successfully loaded")));const A=(t,w)=>{let S;const I=(0,b.Mt)(O,K,e?.uiHostName??"UUIH",U,e?.uiEmbed),A=(0,g.Tf)(I,j),P=(0,b.PS)(k,e?.featureGates,j),x=(0,f.SI)(f.dT.FeatureGate_EnableSingleOwlJsapiLogger,e?.featureGates);n?.bootDiagnostics&&(n.bootDiagnostics.perfJsapiTiming=n.bootDiagnostics.perfJsapiTiming||(0,u.Rt)(k)),P?(B?.addOrUpdatePartCDimension("JsApiVersion","V2"),S=({container:u,flushTime:g})=>new s.c((s=>{const S=(0,l.I)(U,_,e,n,O),y=d.W.isCreateNewFlowExecuting&&d.W.application?d.W.application:t.createApplication(S),P={hostSessionId:T,logger:x?j:void 0},k=d.W.isCreateNewFlowExecuting&&d.W.session?d.W.session:y.createSession(P);H&&H(y,O,U,k),!(0,f.SI)("UseNewEuplReporting",e?.featureGates)&&v&&v();const N={appUrl:I,file:{name:O.fileName,getUrl:O.wac?.fileGetUrl||O.downloadUrl,urlNoAuth:O.wac?.fileUrlNoAuth??"",size:O.fileSize,downloadCode:O.downloadCode,eTag:O.eTag,...U.docId&&{uniqueId:U.docId,immutableReason:n?.fileImmutableReason},supportsZipIt:n?.supportsZipIt},customFontCatalogUrl:O.wac.customFontCatalogUrl,contentBundle:{majorVersion:O.bundleVersion?Number(O.bundleVersion):0,url:O.bundleUrl??"",urlNoAuth:O.bundleUrlNoAuth??"",bundleCode:O.bundleCode,staleness:O.bundleStaleness||0},newFileTemplate:U.newFileTemplate,container:u,wopi:{source:O.wac.wopiSrc,accessToken:O.wac.accessToken,expiry:parseInt(O.wac.accessTokenExpiry,10),wacToken:n?.wacToken},bootParams:{readOnly:O.readOnly,irmEnabled:O.irmEnabled,supportsDecryptedContentDownload:O.protectionEnabled,viewOnly:O.blocksDownload,disableChat:!0,openViewByDefault:"view"===U.intent,dataLanguage:W},diagnostics:n?.bootDiagnostics?.legacyPerformanceData?{...(0,b.ch)(n?.bootDiagnostics?.legacyPerformanceData.host),...(0,b.wh)(R,g,E,M,w.performance,n,U.isNewFile,e?.featureGates),legacyPerformanceData:n?.bootDiagnostics?.legacyPerformanceData}:(0,b.VS)(R,g,E,M,w.performance,n,U.isNewFile,e?.featureGates),sessionContext:A||(0,b.uU)(),preseededSession:{key:O.preSeededSessionKey,id:O.preSeededWacSessionId},wdParams:{...U.templateId&&{wdTpl:U.templateId},...D&&D.lcid&&{wdlcid:D.lcid}||U.uiCulture&&{wdlcid:U.uiCulture},...(0,b.aT)(U.wdValue),...n?.previousSession&&{wdPreviousSession:n?.previousSession},...n?.previousSessionSrc&&{wdPreviousSessionSrc:n?.previousSessionSrc}},hostGeneratedSessionId:n?.sessionId,meeting:n?.meeting,rebootOverride:D,throttling:{protection:O.wac?.clientThrottlingProtection,request:O.wac?.requestedCallThrottling}};(0,r.l8)(h.ls.OwlWacBootStart);const F=(0,f.SI)(f.dT.FeatureGate_OwlPostWacTokenForTeamsHosts,e?.featureGates);F&&((0,p.iz)(!!N.wopi.wacToken),N.wopi.wacToken&&(B?.recordKpiSuccess(c.ex.Xo,{extendedProperties:new Map([["scenario","postWacTokenBeforeBootJsapiV2"]])}),j?.ULS.sendTraceTag(507347489,o.n.Fo,i.k.Important,"WAC token has been fetched before calling jsapi boot"))),(d.W.isCreateNewFlowExecuting?d.W.completeCreateNewPromise:k.boot(N,C)).then((t=>{if("success"===t.completion)s.next({wopiHostData:O,officeApplication:y,bootedDocumentInfo:new a.t(U),officeDocumentSession:k,wacBootDiagnostics:k?.diagnostics?.appInitDiagnostics}),s.complete();else if("cancelled"===t.completion)F&&B?.recordKpiFailure(c.ex.Xo,t.completion,!0,!1,{extendedProperties:new Map([["scenario","postWacTokenBeforeBootJsapiV2"],["status","cancelled"]])}),j?.ULS.sendTraceTag(509646293,o.n.Fo,i.k.Info,"User cancelled document session boot");else{const e=t.completion;let n;if(F&&B?.recordKpiFailure(c.ex.Xo,t.completion,!1,!1,{extendedProperties:new Map([["scenario","postWacTokenBeforeBootJsapiV2"],["status","failed"]])}),"timeout"===t.completion)n=c.R7.Yo;else switch(t.errorSource&&"string"==typeof t.errorSource?t.errorSource.toLowerCase():void 0){case"app":n=c.R7.ti;break;case"jsapi":n=c.R7.ei;break;default:n=c.R7.ni}const r={wacErrorName:n,qosErrorName:c.by.QosError_EncounteredJsApiError,errorMessage:e,error:t.error,documentLoadedWithTabSwitch:!!t.documentLoadedWithTabSwitch},a=(0,m.C)(r),u=JSON.stringify(Array.from(a.entries()));j?.ULS.sendTraceTag(575419404,o.n.Fo,i.k.Error,u),s.error(r)}})).catch((t=>j?.ULS.sendTraceTag(512337547,o.n.Fo,i.k.Error,`officeDocumentSession.boot threw error: ${t}`)))}))):(B?.addOrUpdatePartCDimension("JsApiVersion","V1"),S=({container:u,flushTime:l})=>new s.c((s=>{const d=(0,b.Xl)(O?O.wac.userId:N,T,F,W,e,n,(0,b.aT)(U.wdValue),A),h=(0,b.TB)(U,O),g=(0,b.VS)(R,l,E,M,w.performance,n,U.isNewFile,e?.featureGates),S=e?.uiHostName,H=(0,b.K7)({...O.wac,wacToken:n?.wacToken}),C=(0,b.ND)(u,w,H,d,h,g,((t,e)=>{s.next({wopiHostData:O,officeApplication:t,bootedDocumentInfo:new a.t(U),wopiPendingApp:P,wacBootDiagnostics:e}),s.complete()}),(t=>{const e=t.errorObject.message,n={wacErrorName:c.R7.oi,qosErrorName:c.by.QosError_EncounteredJsApiError,errorName:t.errorType,errorMessage:e,error:t},r=(0,m.C)(n),a=JSON.stringify(Array.from(r.entries()));j?.ULS.sendTraceTag(575419405,o.n.Fo,i.k.Error,a),s.error(n)}),S,U,O,e?.showCloseButton,e?.supportsShare,e?.openInBrowserEnabled,e?.ellipsisDownloadACopyButtonEnabled,e?.copyLinkEnabled,e?.uiEmbed,e?.supportsHostUiControls,e?.conversationButtonEnabled,n?.additionalApplicationParameters),I=(0,r.u_)();j?.ULS.sendTraceTag(576578583,o.n.Fo,i.k.Info,"BootStrapFile: About to call InitializeWopiPending");const y=(0,f.SI)(f.dT.FeatureGate_OwlPostWacTokenForTeamsHosts,e?.featureGates);y&&((0,p.iz)(!!H.WacToken),H.WacToken&&(B?.recordKpiSuccess(c.ex.Xo,{extendedProperties:new Map([["scenario","postWacTokenBeforeBootJsapiV1"]])}),j?.ULS.sendTraceTag(507347488,o.n.Fo,i.k.Important,"WAC token has been fetched before calling jsapi initializeWopiPending")));const P=t.Application.InitializeWopiPending(C,void 0,n?.sessionId),k=(0,r.u_)()-I;j?.ULS.sendTraceTag(570775769,o.n.Fo,i.k.Info,`BootStrapFile: InitializeWopiPending returned. [IsValidWopiPendingApp: ${!!P}][TimeElapsed: ${k}]`);const D=(0,r.u_)();if(P){v&&v(),P.Complete(H);const t=(0,r.u_)(),e=t-D,n=t-I;j?.ULS.sendTraceTag(570775770,o.n.Fo,i.k.Info,`BootStrapFile: Complete returned.[TimeElapsedInComplete: ${e}][TimeElapsedSinceInitializeWopiPending: ${n}]`)}else{const t={wacErrorName:c.R7.ii,qosErrorName:c.by.QosError_EncounteredJsApiError,errorMessage:"WOPI pending failed"};y&&B?.recordKpiFailure(c.ex.Xo,t.errorMessage,!1,!1,{extendedProperties:new Map([["scenario","postWacTokenBeforeBootJsapiV1"],["status","failed"]])});const e=(0,m.C)(t),n=JSON.stringify(Array.from(e.entries()));s.error(t),j?.ULS.sendTraceTag(575419406,o.n.Fo,i.k.Error,n)}}))),y.next(S),y.complete()};if(d.W.isTwoStepCreateNew&&d.W.bootstrapperLoadPromise)d.W.bootstrapperLoadPromise.then((t=>{t?A(d.W.bootstrapper,d.W.bootstrapperInfo):j?.ULS.sendTraceTag(507778322,o.n.Fo,i.k.Warning,"Office bootstrapper failed to load for 2-step create new, check previous logs for more details")})).catch((t=>j?.ULS.sendTraceTag(507778321,o.n.Fo,i.k.Error,`Encountered error loading Office bootstrapper for 2-step create new: ${t}`)));else{const t=(0,f.SI)(f.dT.FeatureGate_EnableJsapiTags,e?.featureGates);(0,f.lO)(f.dT.FeatureGate_EnableJsapiTags,t,j),(0,w.k)(_,O.wac.applicationUrl,k,!0,n?.wiseEnvironment,j,x,n?.owlRollout?.includes("LOCALHOST"),t).then((t=>{const[e,n]=(0,w.K)(k);if(!n&&e)A(e,t);else{const t=n??`Error message undefined. BootStrapped not loaded: ${!e}`;j?.ULS.sendTraceTag(575419403,o.n.Fo,i.k.Error,t);const r={wacErrorName:c.R7.ri,qosErrorName:c.by.QosError_OfficeBootstrapperNotLoaded,errorMessage:t,error:n,inStaging:!1};S&&S(r)}})).catch((t=>{I(t)}))}}));Promise.race([L,$]).catch((t=>{const e=(t??"Failed to load the document")+`, bootstrapperUrl: ${_.replace(/^https?:\/\//,"")}`,n={wacErrorName:c.R7.ii,qosErrorName:c.by.QosError_FailedToLoadDocument,errorMessage:e,error:t,inStaging:!1};j?.ULS.sendTraceTag(575419407,o.n.Fo,i.k.Error,`${c.R7.ii}: ${e}`),S&&S(n)}))}},43198:function(t,e,n){n.d(e,{e:function(){return a}});var o=n(25795),i=n(63590),r=n(80899),s=n(57895);function a(t,e,n,c=!1,u=!1,f=1,l=!1,d=!1,h=!1){const p=(0,o.u_)();return(0,o.l8)("wopiDataStartTime"),e(t,c,u,n,d,h).then((e=>{if(!e){const t="Graph call failed";return n?.ULS.sendTraceTag(553726284,i.n.Fo,r.k.Error,`GetWopiData: Failed to get the driveItem. [ErrorMessage: ${t}]`),Promise.reject(t)}const a={docUrl:e.webDavUrl??t.docUrl,driveId:e?.parentReference?.driveId??t.driveId,docId:e?.id??t.docId,fileName:e.name};n?.ULS.sendTraceTag(553726285,i.n.Fo,r.k.Info,`GetWopiData: Fetched documentIdentifier. [IsValid: ${!!a}]`);const c=(0,s.Z1)(e,n);n?.ULS.sendTraceTag(553726287,i.n.Fo,r.k.Info,`GetWopiData: Getting WopiHostData from drive item. [IsValid: ${!!c}]`);const u={startTime:p,endTime:(0,o.u_)()};return(0,o.l8)("wopiDataEndTime"),{documentIdentifier:a,wopiHostData:c,fetchDiagnostics:u}})).catch((o=>(n?.ULS.sendTraceTag(520729472,i.n.Fo,r.k.Warning,`GetWopiData: General getWopiData error. [Message: ${o?.message}][FailureReason: ${o?.failure}][Status: ${o?.status}]`),f>0&&o?.retry?(n?.ULS.sendTraceTag(544306772,i.n.Fo,r.k.Error,`GetWopiData: Retrying getWopiData. [Message: ${o?.message}][FailureReason: ${o?.failure}][Status: ${o?.status}]`),new Promise((t=>{const e=function(t){if(0===t)throw new Error("Retry count should not be 0");return 1===t?window.crypto.getRandomValues(new Uint32Array(1))[0]%291+10:10}(f);setTimeout(t,e),n?.ULS.sendTraceTag(508035599,i.n.Fo,r.k.Warning,`GetWopiData: Retrying getWopiData with ${f} retries left. Delaying retry for ${e}ms.`)})).then((()=>a(t,e,n,c,u,f-1,l,d))).catch((t=>(n?.ULS.sendTraceTag(508035598,i.n.Fo,r.k.Error,`GetWopiData: Failed to delay retry getWopiData. [Error: ${t.message}]`),Promise.reject(t))))):f>0&&l&&"accessDenied"===o?.errorCode?new Promise((t=>{setTimeout(t,3e3),n?.ULS.sendTraceTag(523269073,i.n.Fo,r.k.Warning,`GetWopiData: Retrying getWopiData after retryIntervalForWopiDataRequest: 3000ms. [Error: ${JSON.stringify(o)}][FailureReason: ${o?.failure}]`)})).then((()=>a(t,e,n,c,u,0,l,d))):(n?.ULS.sendTraceTag(544306773,i.n.Fo,r.k.Error,`GetWopiData: Not retrying getWopiData. [ShouldRetry: ${f>0}][FailureReason: ${o?.failure??o?.message}]`),Promise.reject(o)))))}},12874:function(t,e,n){n.d(e,{K:function(){return f},k:function(){return u}});var o=n(25795),i=n(63590),r=n(80899),s=n(48145),a=n(43660);let c;async function u(t,e,n,l=!0,d,h,p,m,w){c||(c=new Map);const g=c.get(n);if(g)return g;const b=new Promise((async(g,b)=>{const S=(0,o.u_)(),v=document.getElementById(`${n}_bootstrapper`);if(v){const[a,c]=f(n);!c&&a||await new Promise(((t,e)=>{v.onload=()=>{t()},v.onerror=()=>{e("JSAPI script failed to load in parallel with OWL")}})).catch((()=>{h?.ULS.sendTraceTag(507531682,i.n.Fo,r.k.Error,`JSAPI failed to load ${s.p[n]} bootstrapper in parallel with OWL`),b("JSAPI script failed to load in parallel with OWL")}));const u=(0,o.u_)();return h?.ULS.sendTraceTag(507531681,i.n.Fo,r.k.Important,`JSAPI script successfully loaded for ${s.p[n]} with OWL`),g({bootstrapperUrl:t,applicationUrl:e,performance:{startTime:S,endTime:u}})}(0,a.b)(t,(()=>{const a=(0,o.u_)();h?.ULS.sendTraceTag(507834582,i.n.Fo,r.k.Important,`JSAPI fetch succeeded for ${s.p[n]} bootstrapper. OnRetry: false`),g({bootstrapperUrl:t,applicationUrl:e,performance:{startTime:S,endTime:a}})}),(async()=>{if(l)try{await function(t,e,n,o,i,r,s){if(c?.delete(n),o&&"PRODUCTION"===o){const a=new URL(t);return a.hostname="wise-backup.public.onecdn.static.microsoft",u(a.toString(),e,n,!1,o,void 0,i,r,s)}return u(t,e,n,!1,o,void 0,i,r,s)}(t,e,n,d,p,m);const a=(0,o.u_)();h?.ULS.sendTraceTag(507834581,i.n.Fo,r.k.Important,`JSAPI fetch succeeded for ${s.p[n]} bootstrapper. OnRetry: true`),g({bootstrapperUrl:t,applicationUrl:e,performance:{startTime:S,endTime:a}})}catch{h?.ULS.sendTraceTag(507834580,i.n.Fo,r.k.Error,`JSAPI fetch failed for ${s.p[n]} bootstrapper. OnRetry: true`),b("Load bootstrapper script failed")}else h?.ULS.sendTraceTag(507834579,i.n.Fo,r.k.Error,`JSAPI fetch failed for ${s.p[n]} bootstrapper. OnRetry: false`),b("Load bootstrapper script failed")}),!1,`${s.p[n]}_bootstrapper`,w,l,p,m,w)}));return c.set(n,b),b}function f(t){const e=window.Microsoft;if(void 0===e)return[void 0,"Microsoft is undefined"];const n=e.Office,o=s.p[t];return n&&n[o]?[n[o],void 0]:[void 0,`Failed to find bootstrapper for app: ${o}`]}},28838:function(t,e,n){n.d(e,{Az:function(){return m},d$:function(){return p}});var o=n(24776),i=n(18973),r=n(37285),s=n(5306),a=n(82715),c=n(46835),u=n(15412),f=n(93191),l=n(43198),d=n(57895);let h;function p(t){return h?`${t}.${h.size}`:t}function m(t,e,n,m,w,g,b=!1,S,v,H,C,I){if(h||(h=new Map),!t.isNewFile||!t.createNewInfo&&!t.isTwoStepCreateNew){const n=(0,d.x9)(t);if(!n)return{correlationId:e,bootstrapperObservable:(0,r.$)("Not enough document information was provided"),fileNamePromise:Promise.reject("No name was provided"),applicationUrlPromise:Promise.reject("No applicationUrl")};const o=h.get(n);if(o)return o}return function(t,e,n,r,h,m,w=!1,g,b,S,v,H){const C=p(e),I=h?.logger,A=new i.h,y=H??f.hr;if(!a.W.isTwoStepCreateNew||!a.W.hostSessionId||!h?.createNewParams){const e=(0,l.e)(t,n,I,w,!(!t.isNewFile&&!t.templateId),1,!!h?.meeting,!0);e.then((e=>{y({documentBootInfo:{...t,...e.documentIdentifier},correlationId:C,loadFunctionSubject:A,wopiFetchData:e},r,h,m,g,b,S,v?.get(t.fileType)?.jsApiUrl,v?.get(t.fileType)?.jsApiSri)})).catch((e=>{if(a.W.isTwoStepCreateNew&&a.W.session&&a.W.session.run(o.Y.completeCreateNew,{state:"failure",reason:"wopiFetchFailed"},S),m){const n=JSON.stringify(e),o={wacErrorName:s.R7.si,qosErrorName:s.by.QosError_VroomWopiFailure,errorMessage:n,error:e,httpErrorCode:e.status,networkError:(0,c.TX)(e)};m(o,t)}}));const i={correlationId:C,bootstrapperObservable:A.asObservable(),fileNamePromise:t.fileName?Promise.resolve(t.fileName):e.then((t=>t.wopiHostData.fileName)),applicationUrlPromise:new Promise(((t,n)=>{e.then((e=>t(e?.wopiHostData?.wac?.applicationUrl))).catch((t=>{n(t)}))}))};return h&&h.wiseEnvironment&&(0,u.t)(i.applicationUrlPromise,h.wiseEnvironment,I,h.health,h.sessionId),i}y({documentBootInfo:t,correlationId:C,loadFunctionSubject:A,wopiFetchData:(0,d.Rk)(h.createNewParams,t)},r,h,m,g,b,S,v?.get(t.fileType)?.jsApiUrl);const U={correlationId:a.W.hostSessionId,bootstrapperObservable:A.asObservable(),fileNamePromise:Promise.resolve(t.fileName),applicationUrlPromise:Promise.resolve(h?.createNewParams?.appUrl)};return h&&h.wiseEnvironment&&(0,u.t)(U.applicationUrlPromise,h.wiseEnvironment,I,h.health,h.sessionId),U}(t,e,n,m,w,g,b,S,v,H,C,I)}},57895:function(t,e,n){n.d(e,{Rk:function(){return l},Tf:function(){return d},Z1:function(){return u},lW:function(){return f},x9:function(){return c}});var o=n(63590),i=n(80899),r=n(48145),s=n(82715),a=n(70994);function c(t){return t.shareUrl?t.shareUrl:t.docId&&t.driveId?`${t.driveId}_${t.docId}`:t.docUrl?t.docUrl:t.isNewFile&&t.fileName?`${t.fileName}_${r.p[t.fileType]}`:t.baseUrl&&t.fileId?`${t.baseUrl}_${t.fileId}`:void 0}function u(t,e){const n=!!t?.openWith,r=!!t?.openWith?.wac;return e?.ULS.sendTraceTag(553916429,o.n.Fo,i.k.Info,`GetWopiHostDataFromItem: [ValidOpenWith: ${n}][ValidWac: ${r}]`),{bundleStaleness:t.officeBundle?t.officeBundle.bundleStaleness:0,bundleUrl:t.officeBundle?t.officeBundle.url:"",bundleCode:t.officeBundle?t.officeBundle.bundleCode:"",bundleUrlNoAuth:t.officeBundle?t.officeBundle.urlNoAuth:"",bundleVersion:t.officeBundle?t.officeBundle.version:"",sharepointSiteUrl:t.sharepointIds?t.sharepointIds.siteUrl:"",downloadUrl:t["@content.downloadUrl"]||t["@microsoft.graph.downloadUrl"],downloadCode:t["@content.downloadCode"],eTag:t.eTag,fileName:t.name,fileSize:t.size,irmEnabled:t.file?.contentSensitivityLabelProtected||t.file?.irmEffectivelyEnabled||t.sensitivityLabel?.protectionEnabled||t.file?.irmEnabled,protectionEnabled:t.sensitivityLabel?.protectionEnabled||t.file?.contentSensitivityLabelProtected,isNewFile:!1,readOnly:t.currentUserRole&&t.currentUserRole.readOnly,blocksDownload:t.currentUserRole&&t.currentUserRole.blocksDownload,wac:t.openWith.wac,sharePointInfo:{...t.sharepointIds},webUrl:t.webUrl,preSeededSessionKey:t?.wacSession?.preSeededSessionKey,preSeededWacSessionId:t?.wacSession?.preSeededWacSessionId,webDavUrl:t.webDavUrl,restUrl:t.openWith.wopi?.editUrl||t.openWith.wac?.applicationUrl}}function f(t,e,n,o,i){if(!t.appUrl)throw new Error("appUrl must be provided in CreateNewParams");return{appUrl:(0,a.Mt)(void 0,t.appUrl,o?.uiHostName||"OWL-2-step-create-new",e,o?.uiEmbed),file:{name:t.file?.name,getUrl:t.file?.getUrl,size:t.file?.size,eTag:t.file?.eTag,...e.docId&&{uniqueId:e.docId,immutableReason:i?.fileImmutableReason}},customFontCatalogUrl:t.customFontCatalogUrl,contentBundle:{majorVersion:t.contentBundle?.majorVersion?Number(t.contentBundle?.majorVersion):0,url:t.contentBundle?.url??"",staleness:t.contentBundle?.staleness||0},newFileTemplate:e.newFileTemplate,container:n,bootParams:{readOnly:t.bootParams?.readOnly,irmEnabled:t.bootParams?.irmEnabled,supportsDecryptedContentDownload:t.bootParams?.supportsDecryptedContentDownload,viewOnly:t.bootParams?.viewOnly,disableChat:!0,openViewByDefault:"view"===e.intent,dataLanguage:e.dataCulture,isNewFile:e.isNewFile},diagnostics:i?.bootDiagnostics?.legacyPerformanceData?{...(0,a.ch)(i?.bootDiagnostics?.legacyPerformanceData.host),...(0,a.wh)(e.clickTime,0,e.wdOrigin,void 0,s.W.bootstrapperInfo?.performance,i,e.isNewFile,o?.featureGates),legacyPerformanceData:i?.bootDiagnostics?.legacyPerformanceData}:(0,a.VS)(e.clickTime,0,e.wdOrigin,void 0,s.W.bootstrapperInfo?.performance,i,e.isNewFile,o?.featureGates),sessionContext:d(t.appUrl)||(0,a.uU)(),preseededSession:{key:t.preseededSession?.key,id:t.preseededSession?.id},wdParams:{...e.templateId&&{wdTpl:e.templateId},...e.uiCulture&&{wdlcid:e.uiCulture},...(0,a.aT)(e.wdValue)},hostGeneratedSessionId:i?.sessionId,meeting:i?.meeting,throttling:{protection:t.throttling?.protection,request:t.throttling?.request}}}function l(t,e){return{documentIdentifier:{docUrl:e.docUrl,driveId:e.driveId,docId:e.docId,fileName:t.file?.name},wopiHostData:{bundleStaleness:t.contentBundle?.staleness,bundleUrl:t.contentBundle?.url,bundleVersion:t.contentBundle?.majorVersion.toString(),downloadUrl:t.file?.getUrl,eTag:t.file?.eTag,fileName:t.file?.name,fileSize:t.file?.size,irmEnabled:t.bootParams?.irmEnabled,protectionEnabled:t.bootParams?.supportsDecryptedContentDownload,isNewFile:!!e.isNewFile,readOnly:!!t.bootParams?.readOnly,blocksDownload:!!t.bootParams?.viewOnly,sharePointInfo:{},wac:{bootstrapperUrl:s.W.bootstrapperUrl,applicationUrl:t.appUrl,userId:e.puid}},fetchDiagnostics:{}}}function d(t,e){let n;try{n=new URLSearchParams(new URL(t).search).get("sc")||void 0}catch(t){e?.ULS.sendTraceTag(520135565,o.n.Fo,i.k.Info,`Error trying to get session context from app URL: ${JSON.stringify(t)}`)}return n}},70994:function(t,e,n){n.d(e,{$e:function(){return C},Im:function(){return g},K7:function(){return w},Mt:function(){return A},ND:function(){return U},PS:function(){return I},Q9:function(){return d},TB:function(){return m},VS:function(){return b},Xl:function(){return p},aT:function(){return y},ch:function(){return v},uU:function(){return h},wh:function(){return S}});var o=n(25795),i=n(63590),r=n(80899),s=n(48145),a=n(5306),c=n(71203),u=n(31074),f=n(60059),l=n(64120);const d="officecom";function h(){return JSON.stringify({pmo:window.location.origin,pmshare:!0,surl:void 0,curl:void 0,vurl:void 0,eurl:void 0})}function p(t,e,n,o,i,r,s,a){return{HostName:"office.com",HostSessionId:e,UserId:t,OwnerId:void 0,UiLocale:n,DataLocale:o,DisableChat:!0,CookieCompliant:!0,WdParams:s,DisableFocusOnBoot:!1,SessionContext:a||h(),HighContrastMode:r?.highContrastMode,HideHeader:i?.hideHeader,HideAppLauncherInHeader:i?.hideAppLauncherInHeader,HideSearchInHeader:i?.hideSearchInHeader,HideMeInHeader:i?.hideMeInHeader,HideChatInHeader:i?.hideChatInHeader,HideWorkflowInHeader:i?.hideWorkflowInHeader,HideSettingsInHeader:i?.hideSettingsInHeader,ShowAppIconInHeader:i?.showAppIconInHeader,UseNeutralColorInHeader:i?.useNeutralColorInHeader,SupportsDocReboot:i?.supportsDocumentReboot,SupportsCreateNewDocument:i?.supportsCreateNewDocument,SupportsAuthToken:i?.supportsAuthToken,SupportsAtMentions:i?.supportsAtMentions,SupportsMoveToFolder:i?.supportsMoveToFolder,SupportsCommonFilePicker:i?.supportsCommonFilePicker,SupportsDirectPrint:i?.supportsDirectPrint,SupportsDirectDownload:i?.supportsDirectDownload,MetaUiHostVersion:r?.metaUiHostVersion,SupportsAccessibilityLoop:i?.supportsAccessibilityLoop,SupportsExcelExternalLinks:i?.supportsExcelExternalLinks,UiHostIntegrationType:i?.uiHostIntegrationType,OpenLinksInNewWindow:i?.openLinksInNewWindow,UiHostTabId:r?.uiHostTabId,Upn:r?.upn,TenantId:r?.tenantId,Meeting:r?.meeting,SupportsCustomAuthConfig:i?.supportsCustomAuthConfig,ContentAssemblyMode:i?.contentAssemblyMode,SupportsRefreshAccessToken:i?.supportsRefreshAccessToken,IsSynthetic:r?.isSynthetic,OwlVersion:r?.owlVersion,OwlRollout:r?.owlRollout,SupportsZipIt:r?.supportsZipIt,DisableOfficeAddins:i?.disableOfficeAddins}}function m({docId:t,isNewFile:e,fileName:n,intent:o},i){return i?{FileName:i.fileName,FileGetUrl:i.wac?.fileGetUrl||i.downloadUrl,CustomFontCatalogUrl:i.wac.customFontCatalogUrl,FileSize:i.fileSize,BundleInfo:{Url:i.bundleUrl,MajorVersion:i.bundleVersion,BundleStaleness:i.bundleStaleness},ReadOnly:i.readOnly,IrmEnabled:i.irmEnabled,ViewOnly:i.blocksDownload,ETag:i.eTag,ClientThrottlingProtection:i.wac?.clientThrottlingProtection,RequestedCallThrottling:i.wac?.requestedCallThrottling,IsNewFile:!!e||i.isNewFile,...t&&{DocUniqueId:t},OpenViewByDefault:"view"===o}:{FileName:n,IsNewFile:!0,...t&&{DocUniqueId:t}}}function w(t){return{WopiSrc:t.wopiSrc,AccessToken:t.accessToken,AccessTokenExpiry:new Date(parseInt(t.accessTokenExpiry,10)),WacToken:t.wacToken}}function g(t){switch((0,c.rA)(t)){case c._Q.OneDrive:return"OneDrive";case c._Q.SharePoint:return"SharePoint Online";default:return"Unknown"}}function b(t,e,n,o={startTime:0,endTime:0},i={startTime:0,endTime:0},r,s,a){const c=window.performance.timing,u=window.performance.navigation,f=u.redirectCount||0,l=c.navigationStart||0,d=c.fetchStart||0,h=c.responseEnd||0,p=c.requestStart||0,m=c.responseStart||0,w=c.responseEnd||0,g=c.domComplete||0;let b="UNKNOWN";switch(u.type){case 0:b="NAVIGATE";break;case 1:b="RELOAD";break;case 2:b="BACK_FORWARD";break;case 255:b="RESERVED"}return{...S(t,e,n,o,i,r,s,a),hostPageNavigationStartTime:l,hostPageFetchStartTime:d,hostPageFetchEndTime:h,hostPageRequestStartTime:p,hostPageResponseStartTime:m,hostPageResponseEndTime:w,hostPageDomCompleteTime:g,hostPageRedirectCount:f,hostPageNavigationType:b}}function S(t,e,n,s={startTime:0,endTime:0},c={startTime:0,endTime:0},l,d,h){const p=c.startTime||0,m=c.endTime||0,w=(0,o.u_)();(0,o.l8)("officeInitializationTime");const g=l?.logger,b=l?.bootDiagnostics||{},S=b.tabsCacheHit,v=b.packageEntryTime,H=b.isTestMode,C=b.ringId;let I,A;t&&(I=w-t),v&&(A=w-v);const y={owlVersion:l?.owlVersion,...b,...a.pP,bootStrapStartTime:c?.startTime||0,bootStrapEndTime:c?.endTime||0,wopiDataStartTime:s?.startTime||0,wopiDataEndTime:s?.endTime||0,isCookieBlocked:!u.L,isCreateNew:d,createNewEndTime:b.createNewStartTime?(0,o.u_)():void 0,owlFeatureGates:h?(0,f.c)(h):void 0};return a.pP.accessTokenStartTime=void 0,a.pP.accessTokenEndTime=void 0,a.pP.driveItemStartTime=void 0,a.pP.driveItemEndTime=void 0,a.pP.driveItemFromWacStartTime=void 0,a.pP.driveItemFromWacEndTime=void 0,a.pP.spRequestGuid=void 0,a.pP.createNewStartTime=void 0,a.pP.createNewEndTime=void 0,a.pP.loadManifestStartTime=void 0,a.pP.loadManifestEndTime=void 0,a.pP.getManifestFromRemoteTimeElapsed=void 0,a.pP.loadManifestServerTimeElapsed=void 0,a.pP.loadOwlStartTime=void 0,a.pP.loadOwlEndTime=void 0,a.pP.isVroom21=!1,g?.ULS.sendTraceTag(556613895,i.n.Fo,r.k.Info,`getDiagnostics: [SessionOrigin: ${n}][TabsCacheHit: ${S}][IsTestMode: ${H}][RingId: ${C}][TimeElapsedSinceUserClick:${I}][TimeElapsedSincePackageEntry: ${A}]`),{entryPoint:n,hostPageFirstFlushTime:e,userClickTime:t,officeBootstrapperStartTime:p,officeBootstrapperEndTime:m,officeInitializationTime:w,unifiedUiHostDiagnostics:y}}function v(t){let e="UNKNOWN";switch(t?.navigation.type){case 0:e="NAVIGATE";break;case 1:e="RELOAD";break;case 2:e="BACK_FORWARD";break;case 255:e="RESERVED"}return{hostPageNavigationStartTime:t?.timing.navigationStart||0,hostPageFetchStartTime:t?.timing.fetchStart||0,hostPageFetchEndTime:t?.timing.responseEnd||0,hostPageRequestStartTime:t?.timing.responseEnd||0,hostPageResponseStartTime:t?.timing.responseStart||0,hostPageResponseEndTime:t?.timing.responseEnd||0,hostPageDomCompleteTime:t?.timing.domComplete||0,hostPageRedirectCount:t?.navigation.redirectCount||0,hostPageNavigationType:e}}const H=t=>{const e=new URL(t);return e.searchParams.delete("wopisrc"),e.href};function C(t){return e=>{let n=e;switch(e){case"OfficeComWordJsApiV2":case"OfficeComExcelJsApiV2":case"OfficeComPptJsApiV2":return!0;case"OfficeUnifiedUiHostTeams":n="unifiedUiHostInTeams"}if(t?.experiments&&n in t?.experiments)return function(t){switch(t){case 0:return!1;case 1:return!0;default:return}}(t?.experiments[n])}}function I(t,e,n){switch(t){case s.p.Word:case s.p.PowerPoint:case s.p.Excel:case s.p.Visio:return!0;case s.p.OneNote:const t=(0,l.SI)(l.dT.FeatureGate_OneNoteJsApiV2Gate,e);return(0,l.lO)(l.dT.FeatureGate_OneNoteJsApiV2Gate,t,n),t;default:return!1}}function A(t,e,n,o,i){const r=t?t.wac?.applicationUrl||t.wac?.editUrl:H(e);return r?function(t,e,n,o,i,r){let s=`${t}&uih=${e}`;return(r??1)&&(s=`${s}&uiEmbed=1`),o&&(s=`${s}&wdTpl=${o}`),i&&(s=`${s}&wdlcid=${i}`),n&&(s=`${s}&actNavId=${n}`),s}(r,n,o.navId,o.templateId,o.rebootOverrideData?o.rebootOverrideData.lcid:o.uiCulture,i):""}function y(t){return t?{wd:encodeURIComponent(t)}:{}}function U(t,{applicationUrl:e,bootstrapperUrl:n},o,i,r,s,a,c,u="officecom",f,l,d,h,p,m,w,g,b,S,v={}){const H={HostUIControls:b?[{id:"close",visibility:d?1:0},{id:"share",visibility:h?1:0},{id:"ellipsisOpenInBrowser",visibility:p?1:0},{id:"ellipsisDownload",visibility:m?1:0},{id:"copyLink",visibility:w?1:0},{id:"conversation",visibility:S?1:0}]:void 0,additionalApplicationParameters:v};return{BootstrapperUrl:n,Container:t,SessionInformation:i,ApplicationUrl:A(l,e,u,f,g),WopiPrecheckInfo:r,ApplicationCustomSettings:H,Diagnostics:s,FnOnInitializeSuccess:a,FnOnInitializeFailure:c,FnIsFeatureEnabled:C(),RebootOverrideData:f.rebootOverrideData,...o?{WopiInfo:o}:{}}}},26485:function(t,e,n){function o({onAcquireOAuthTokenTeams:t}){return async e=>{console.log("AcquireOAuthTokenTeamsHandler"),t&&t(e.AuthUrl)}}n.d(e,{T:function(){return o}})},93120:function(t,e,n){function o(t){return async e=>{(await n.e(6720).then(n.bind(n,43154))).accessibilityLoopCompleteHandler(t,e)}}n.d(e,{m:function(){return o}})},89980:function(t,e,n){function o(t){return async e=>{(await n.e(6720).then(n.bind(n,43154))).actionCompleteHandler(t,e)}}n.d(e,{m:function(){return o}})},95636:function(t,e,n){function o(t){return async e=>{(await n.e(6720).then(n.bind(n,43154))).caaeMessageHandler(t,e)}}n.d(e,{C:function(){return o}})},6492:function(t,e,n){function o(t){return async()=>{(await n.e(6720).then(n.bind(n,43154))).closeTeamsConversationHandler(t)}}n.d(e,{s:function(){return o}})},44846:function(t,e,n){function o(t){return async e=>{const o=await n.e(6720).then(n.bind(n,43154));await o.commonPickerHandler(t,e)}}n.d(e,{m:function(){return o}})},60197:function(t,e,n){function o(t){return async e=>{const o=await n.e(6720).then(n.bind(n,43154));await o.createNewHandler(t,e)}}n.d(e,{J:function(){return o}})},25527:function(t,e,n){function o(t){return async e=>{const o=await n.e(6720).then(n.bind(n,43154));await o.documentRebootHandler(t,e)}}n.d(e,{l:function(){return o}})},54638:function(t,e,n){function o(t){return async e=>{(await n.e(6720).then(n.bind(n,43154))).frameChangedHandler(t,e)}}n.d(e,{c:function(){return o}})},33834:function(t,e,n){function o(t){return async e=>{const o=await n.e(6720).then(n.bind(n,43154));await o.getAuthTokenHandler(t,e)}}n.d(e,{W:function(){return o}})},19006:function(t,e,n){function o(t){return async e=>{const o=await n.e(6720).then(n.bind(n,43154));await o.getClientUrlCompleteHandler(t,e)}}n.d(e,{g:function(){return o}})},92086:function(t,e,n){function o(t){return async()=>{const e=await n.e(6720).then(n.bind(n,43154));await e.getCustomAuthConfigHandler(t)}}n.d(e,{u:function(){return o}})},42643:function(t,e,n){function o(t){return async e=>{const o=await n.e(6720).then(n.bind(n,43154));await o.getWebUrlCompleteHandler(t,e)}}n.d(e,{h:function(){return o}})},49545:function(t,e,n){function o(t){return async()=>{const e=await n.e(6720).then(n.bind(n,43154));await e.loadingStatusHandler(t)}}n.d(e,{t:function(){return o}})},75407:function(t,e,n){function o(t){return async e=>{const o=await n.e(6720).then(n.bind(n,43154));await o.moveToFolderFilePickerHandler(t,e)}}n.d(e,{P:function(){return o}})},40842:function(t,e,n){function o(t){return async()=>{(await n.e(6720).then(n.bind(n,43154))).navigateBackToHostHandler(t)}}n.d(e,{m:function(){return o}})},64544:function(t,e,n){function o(t){return async()=>{(await n.e(6720).then(n.bind(n,43154))).openInBrowserHandler(t)}}n.d(e,{e:function(){return o}})},14355:function(t,e,n){function o(t){return async e=>{(await n.e(6720).then(n.bind(n,43154))).openInMobileAppHandler(t,e)}}n.d(e,{P:function(){return o}})},77291:function(t,e,n){function o(t){return async e=>{(await n.e(6720).then(n.bind(n,43154))).popStateCallback(t,e)}}function i({onPopState:t,supportsPopAndPushState:e}){e&&window.addEventListener("popstate",t)}n.d(e,{S:function(){return o},h:function(){return i}})},39220:function(t,e,n){function o(t){return async e=>{(await n.e(6720).then(n.bind(n,43154))).pushStateHandler(t,e)}}n.d(e,{C:function(){return o}})},25501:function(t,e,n){function o(t){return async e=>{const o=await n.e(6720).then(n.bind(n,43154));await o.renameHandler(t,e)}}n.d(e,{X:function(){return o}})},16491:function(t,e,n){function o(t){return async e=>{(await n.e(6720).then(n.bind(n,43154))).sendConversationIdHandler(t,e)}}n.d(e,{v:function(){return o}})},39582:function(t,e,n){function o(t){const e={...t,popupMetadata:{retry:0,dialogInvoked:!1,popupOpen:!1}};return async t=>{const o=await n.e(6720).then(n.bind(n,43154));await o.sessionRefreshInfoHandler(e,t)}}n.d(e,{g:function(){return o}})},48814:function(t,e,n){function o(t){return async e=>{const o=await n.e(6720).then(n.bind(n,43154));await o.shareHandler(t,e)}}n.d(e,{A:function(){return o}})},78292:function(t,e,n){function o(t){return async e=>{(await n.e(6720).then(n.bind(n,43154))).userAccessHandler(t,e)}}n.d(e,{Q:function(){return o}})},7629:function(t,e,n){function o(t){return async()=>{(await n.e(6720).then(n.bind(n,43154))).userActivityHandler(t)}}n.d(e,{x:function(){return o}})},95724:function(t,e,n){n.d(e,{RC:function(){return s},SM:function(){return o},ci:function(){return r},bn:function(){return a},j0:function(){return i}});let o=[];var i;function r(){o=[]}function s(t){return async e=>{const o=await n.e(6720).then(n.bind(n,43154));await o.wopiInfoFromUrlHandler(t,e)}}function a(t){return async e=>{const o=await n.e(6720).then(n.bind(n,43154));await o.davUrlFromIdsHandler(t,e)}}!function(t){t[t.GetWopiInfoFromUrl=0]="GetWopiInfoFromUrl",t[t.GetDavUrlFromIds=1]="GetDavUrlFromIds"}(i||(i={}))},26754:function(t,e,n){n.d(e,{Q:function(){return a}});var o=n(63590),i=n(80899),r=n(1026),s=n(24776);function a(t,e,n,a,c){if(a){const n=function(t){switch(t){case r.Ph.PostMessage_RefreshSessionInfo:return s.Y.sendSessionInfo;case r.Ph.PostMessage_GrantPermissions:return s.Y.sendUserAccessAndPermissions;case r.Ph.PostMessage_SetAuthToken:return s.Y.sendAuthToken;case r.Ph.PostMessage_HostAccessibilityLoopComplete:return s.Y.continueAccessibilityLoop;case r.Ph.PostMessage_SetHostWopiInfoFromUrl:return s.Y.sendWopiInfo;case r.Ph.PostMessage_MoveToFolderCompleted:return s.Y.moveToFolder;case r.Ph.PostMessage_CompleteFilePicker:return s.Y.completeSharedFilePicker;case r.Ph.PostMessage_SendCustomAuthConfig:return s.Y.sendCustomAuthConfig;case r.Ph.PostMessage_SetDavUrlFromIds:return s.Y.sendDavUrl;case r.Ph.PostMessage_BlurFocus:return s.Y.blurFocus;case r.Ph.PostMessage_PopState:return s.Y.popState;case r.Ph.PostMessage_GrabFocus:return s.Y.grabFocus;case r.Ph.PostMessage_HostGetClientUrl:return s.Y.getClientUrl;case r.Ph.PostMessage_HostGetWebUrl:return s.Y.getWebUrl;case r.Ph.PostMessage_HostBackButtonPressed:return s.Y.backButtonPressed;case r.Ph.PostMessage_HostSendChannelId:return s.Y.sendChannelId;case r.Ph.PostMessage_HostSendConversationId:return s.Y.sendConvId;case r.Ph.PostMessage_PostWacToken:return s.Y.postWacToken;default:return}}(t);if(n){const t=n;a.run(t,e).catch((t=>c?.ULS.sendTraceTag(512337544,o.n.Fo,i.k.Warning,`Failed to send post message. officeDocumentSession.run returned error: ${t}`)))}}else n?n.then((n=>{n?function(t,e,n,r){let s=null;try{s=new URL(t)}catch(e){return void r?.ULS.sendTraceTag(541180047,o.n.Fo,i.k.Warning,`Failed to send post message. could not create url from ${t} with error: ${e}`)}const a=s.origin,c={MessageId:e,SendTime:(new Date).getTime(),Values:n},u=JSON.stringify(c),f=document.getElementById("WebApplicationFrame");f?f?.contentWindow?.postMessage(u,a):r?.ULS.sendTraceTag(541180048,o.n.Fo,i.k.Warning,"Failed to send post message. Could not find iframe")}(n,t,e,c):c?.ULS.sendTraceTag(541180045,o.n.Fo,i.k.Warning,"Failed to send post message. appUrl is null")})).catch((t=>c?.ULS.sendTraceTag(512337543,o.n.Fo,i.k.Warning,`Failed to send post message. appUrlPromise failed to resolve with error: ${t}`))):c?.ULS.sendTraceTag(541180046,o.n.Fo,i.k.Warning,"Failed to send post message. Both documentSession and appUrlPromise are null")}},56471:function(t,e,n){n.d(e,{R4:function(){return r}});var o=n(57895),i=n(31074);function r(t){const e=(0,o.x9)(t);return e&&i.L?i.L.getItem(e):null}},11373:function(t,e,n){n.d(e,{Q7:function(){return gt},an:function(){return wt},h1:function(){return pt},k3:function(){return bt},qO:function(){return mt}});var o,i=n(25795),r=n(63590),s=n(80899),a=n(3091),c=n(19864),u=n(24776),f=n(91592),l=n(48145),d=n(43803),h=n(46049),p=n(34883),m=n(54141),w=n(21740),g=n(99145),b=n(24853),S=n(70994),v=n(28838),H=n(95724),C=n(26754),I=n(25527),A=n(25501),y=n(39582),U=n(48814),T=n(78292),P=n(7629),k=n(60197),E=n(33834),N=n(16491),F=n(6492),W=n(40842),R=n(93120),D=n(19006),O=n(49545),M=n(42643),j=n(89980),B=n(64544),_=n(14355),x=n(75407),K=n(44846),L=n(92086),$=n(39220),V=n(95636),q=n(26485),G=n(77291),J=n(54638),z=n(1026),Z=n(5306),Q=n(85276),X=n(9595),Y=n(85087),tt=n(64120),et=n(82715),nt=n(73885),ot=n(63496),it=n(60059),rt=n(32469);!function(t){t[t.Completed=0]="Completed",t[t.Unloaded=1]="Unloaded",t[t.Timeout=2]="Timeout"}(o||(o={}));const st="officeapps.live.com",at=2e3,ct=9e3,ut=9500,ft=6e5,lt=15e4,dt=[],ht=new Y.Z;let pt={BootAttempted:!1,BootSucceeded:!1,PostWacTokenAttempted:!1},mt={};function wt(){pt={BootAttempted:!1,BootSucceeded:!1,PostWacTokenAttempted:!1}}function gt(t){const e=Promise.all([X.jW,ht]).then((t=>t[1])),n=new Promise((t=>window.addEventListener("beforeunload",(e=>t(o.Unloaded))))),a=new Promise((t=>setTimeout((()=>t(o.Timeout)),lt)));Promise.race([e,n,a]).then((e=>{const n=e===o.Unloaded;mt.PostWacTokenLoggerFlushTime=(0,i.u_)(),mt.Unloaded=n,mt.flush&&delete mt.flush,t&&(t.ULS.sendTraceTag(507540257,r.n.Fo,s.k.Important,JSON.stringify(mt)),n?t.ULS.flushOnClose():t.ULS.flush()),mt={}})).catch((()=>{t&&t.ULS.sendTraceTag(507540256,r.n.Fo,s.k.Warning,"Failed to log PostWacTokenTelemetry")}))}function bt(t){const e=t.sessionConfig.bootDiagnostics?.hostPageFirstFlushTime||(0,i.u_)(),{documentBootInfo:n,fetchItemFromNetwork:lt,fetchAccessToken:wt,sessionConfig:gt,container:bt,setTitle:St,onBootComplete:vt,onBootFailure:Ht,onReturnFocus:Ct,onConversationClose:It,onNavigateBack:At,onOpenPageLevelConversation:yt,onDocumentClose:Ut,onSuccessNotification:Tt,onDismissHostSpinner:Pt,uiHostConfig:kt,createDocument:Et,openShareControl:Nt,onOpenInMobileApp:Ft,sharingLinkTokenProvider:Wt,onUserActivity:Rt,onCAAEMessage:Dt,onAcquireOAuthTokenTeams:Ot,onUserAccess:Mt,onMoveToFolder:jt,onSharedFilePicker:Bt,onRename:_t,initPackageParams:xt,onFrameChange:Kt,invokeSessionRefreshInfoPopupBlockedDialog:Lt,onFileEmbed:$t,bootstrapFile:Vt}=t,qt=kt?.supportsExplicitUnload;gt.logger||(gt.logger=(0,c.Jf)());const{hostCorrelationId:Gt,isMsa:Jt,tenantId:zt,shareApiEndpoint:Zt,organizationName:Qt,logger:Xt,hostClientType:Yt,channelId:te,health:ee}=gt,ne=(0,S.PS)(n.fileType,kt?.featureGates,Xt);Xt?.ULS.sendTraceTag(576578584,r.n.Fo,s.k.Info,"Lean Ui Host: bootApp");const oe=(0,a.f)(ft);let ie,re=[];const se=t=>new Promise((e=>{ne&&!oe&&e("No active session to close. Return from here."),dt&&dt.forEach((t=>{clearInterval(t),clearTimeout(t)}));const o=t=>{Xt?.ULS.sendTraceTag(575411776,r.n.Fo,s.k.Info,"Dispose the WAC frame. And reboot: "+(t?"true":"false")),ve.next(t),ve.complete(),e("WAC frame disposed")},i=()=>{n.fileType===l.p.Excel&&(0,H.ci)(),we?.unsubscribe(),ge?.unsubscribe()};if(!he)return Xt?.ULS.sendTraceTag(529093076,r.n.Fo,s.k.Warning,"No active session exists, when endSession is called!! Bail out endSession"),void o(t);if(ne){he?.removeEventListener(ie),oe?.cancel();const e=function(t){if(t===l.p.OneNote)return(0,a.f)(ct)}(n.fileType);he?.dispose(e).catch((t=>{Xt?.ULS.sendTraceTag(527257879,r.n.Fo,s.k.Error,`Error waiting for Unloaded event from WAC. Force to dispose session if app is not unloaded. appUnloaded: ${He}, Error: ${t}`)})).finally((()=>{i(),o(t)})),e?.cancel()}else if(re.forEach((([t,e])=>{he.RemoveEventHandler(t,e)})),he?.Dispose(qt,function(t){if(t===l.p.OneNote)return ct}(n.fileType)),i(),qt){const e=()=>{Xt?.ULS.sendTraceTag(575411777,r.n.Fo,s.k.Info,"Receive Unloaded Event from WAC"),He=!0,clearTimeout(i),o(t)};he.RegisterEventHandler(z.O5.Event_Unloaded,e);const i=window.setTimeout((()=>{Xt?.ULS.sendTraceTag(575411778,r.n.Fo,s.k.Info,`Time out on waiting for Unloaded event from WAC. Force to dispose session if app is not unloaded. appUnloaded: ${He}`),He||o(t)}),n.fileType===l.p.OneNote?ut:at)}else Xt?.ULS.sendTraceTag(575271647,r.n.Fo,s.k.Info,"No Explicit Unload. Tear down the WAC frame to end session."),o(t)})),ae=(t,e,o)=>{const i=Promise.resolve(t?.wac?.applicationUrl),a=()=>e.asObservable().pipe((0,w.s)(1)).toPromise(),c=kt?.sessionOriginPrefix??"TEAMS.UNIFIEDUIHOST.",u=(0,I.l)({getCurrentDocumentInfo:a,health:ee,getWdOrigin:t=>`${c}${t}`,reboot:(t,e)=>{se({documentBootInfo:t,navigationRequired:!e}).catch((()=>{Xt?.ULS.sendTraceTag(512296464,r.n.Fo,s.k.Error,"endSession: endSession error in DocumentReboot")}))}}),f=(0,A.X)({bootedDocumentInfo:e,getCurrentDocumentInfo:a,hostRenameCallback:_t,health:ee}),l=(0,y.g)({hostUrl:gt?.hostUrl,supportsRefreshTokenReauthPopUp:kt?.supportsRefreshTokenReauthPopUp,getCurrentDocumentInfo:a,documentBootInfo:n,fetchItemFromNetwork:lt,officeDocumentSession:o,appUrlPromise:i,invokePopupBlockedDialog:Lt,logger:Xt,health:ee}),d=(0,U.A)({getCurrentDocumentInfo:a,sharePointInfo:t.sharePointInfo,shareApiEndPointBase:Zt,fetchAccessToken:wt,openShareControl:Nt,correlationId:ue,isMsa:Jt,tenantId:zt,organizationName:Qt,onOpen:()=>{(0,C.Q)(z.Ph.PostMessage_BlurFocus,void 0,de,pe,Xt)},onClose:()=>{(0,C.Q)(z.Ph.PostMessage_GrabFocus,void 0,de,pe,Xt)},health:ee,featureGates:kt?.featureGates,logger:Xt,uiHost:kt?.uiHostName}),h=Mt??(0,T.Q)({getCurrentDocumentInfo:a,shareHandler:d,officeDocumentSession:o,appUrlPromise:i,logger:Xt,health:ee}),p=(0,P.x)({getCurrentDocumentInfo:a,onUserActivity:Rt,health:ee}),m=(0,k.J)({getCurrentDocumentInfo:a,createDocument:Et,getWdOrigin:t=>`${c}${t}`,reboot:(t,e)=>{se({documentBootInfo:t,navigationRequired:!e}).catch((t=>{const e=(0,tt.SI)(tt.dT.FeatureGate_CommandingAshaVetoes,kt?.featureGates);(0,tt.lO)(tt.dT.FeatureGate_CommandingAshaVetoes,e,Xt),e&&ee?.recordQosError(Z.by.QosError_CreateNewHandlerEndSessionFailure,[Z.zJ.QosVeto_CreateNewExperienceDegraded],!1,!1,!1,!1,{inStaging:!0,extendedProperties:new Map([["ErrorName",Z.by.QosError_CreateNewHandlerEndSessionFailure],["CorrelationId",`${ue}`],["Reason",t]])}),Xt?.ULS.sendTraceTag(512296463,r.n.Fo,s.k.Error,"endSession: endSession error in DocumentCreate")}))},logger:Xt,health:ee,correlationId:ue}),g=(0,E.W)({getCurrentDocumentInfo:a,fetchAccessToken:wt,officeDocumentSession:o,appUrlPromise:i,logger:Xt,health:ee}),b=(0,N.v)({getCurrentDocumentInfo:a,onOpenPageLevelConversation:yt,hostSendConversationId:Ce,health:ee}),S=(0,F.s)({getCurrentDocumentInfo:a,onConversationClose:It,health:ee}),v=(0,W.m)({getCurrentDocumentInfo:a,onNavigateBack:At,health:ee}),Q=(0,R.m)({getCurrentDocumentInfo:a,onReturnFocus:Ct,health:ee}),X=(0,D.g)({getCurrentDocumentInfo:a,hostClientType:Yt,logger:Xt,openInMobileAppCallback:Ft,health:ee}),Y=(0,O.t)({getCurrentDocumentInfo:a,channelId:te,officeDocumentSession:o,appUrlPromise:i,health:ee}),et=(0,M.h)({getCurrentDocumentInfo:a,hostClientType:Yt,logger:Xt,health:ee}),nt=(0,H.RC)({getCurrentDocumentInfo:a,fetchItemFromNetwork:lt,officeDocumentSession:o,appUrlPromise:i,logger:Xt,health:ee}),ot=(0,H.bn)({getCurrentDocumentInfo:a,fetchItemFromNetwork:lt,officeDocumentSession:o,appUrlPromise:i,logger:Xt,health:ee}),it=(0,j.m)({getCurrentDocumentInfo:a,logger:Xt,webUrl:t.webUrl??"",health:ee}),rt=(0,B.e)({getCurrentDocumentInfo:a,logger:Xt,webUrl:t.webUrl??"",health:ee,correlationId:ue}),st=(0,_.P)({getCurrentDocumentInfo:a,logger:Xt,openInMobileAppCallback:Ft,health:ee,correlationId:ue}),at={appUrlPromise:i,container:bt,fetchAccessToken:wt,fetchItemFromNetwork:lt,getCurrentDocumentInfo:a,host:kt?.uiHostName,health:ee,logger:Xt,officeDocumentSession:o,wopiHostData:t,sessionConfig:gt,uiHostConfig:kt,initPackageParams:xt},ct=jt??(0,x.P)(at),ut=Bt??(0,K.m)(at),ft=(0,L.u)({customAuthConfigValue:gt?.customAuthConfigValue,getCurrentDocumentInfo:a,officeDocumentSession:o,appUrlPromise:i,logger:Xt,health:ee}),dt=(0,$.C)({getCurrentDocumentInfo:a,supportsPopAndPushState:kt?.supportsPopAndPushState,logger:Xt,sharingLinkTokenProvider:Wt,health:ee}),ht=(0,V.C)({getCurrentDocumentInfo:a,onCAAEMessage:Dt,health:ee}),pt=(0,q.T)({getCurrentDocumentInfo:a,onAcquireOAuthTokenTeams:Ot,health:ee}),mt=(0,G.S)({getCurrentDocumentInfo:a,appUrlPromise:i,logger:Xt,officeDocumentSession:o,health:ee});return(0,G.h)({getCurrentDocumentInfo:a,onPopState:mt,supportsPopAndPushState:kt?.supportsPopAndPushState,health:ee}),{documentRebootHandler:u,renameHandler:f,sessionRefreshInfoHandler:l,shareHandler:d,userAccessHandler:h,userActivityHandler:p,createNewHandler:m,getAuthTokenHandler:g,sendConversationIdHandler:b,closeTeamsConversationHandler:S,navigateBackToHostHandler:v,accessibilityLoopCompleteHandler:Q,getClientUrlCompleteHandler:X,getWebUrlCompleteHandler:et,loadingStatusHandler:Y,wopiInfoFromUrlHandler:nt,davUrlFromIdsHandler:ot,onCloseHandler:()=>{Xt?.ULS.sendTraceTag(575545427,r.n.Fo,s.k.Info,"Handle UI_Close post message from WAC. onCloseHandler exist: "+(Ut?"true":"false")),Ut&&Ut()},actionCompleteHandler:it,openInBrowserHandler:rt,openInMobileAppHandler:st,moveToFolderPickerHandler:ct,commonFilePickerHandler:ut,getCustomAuthConfigHandler:ft,pushStateHandler:dt,caaeMessageHandler:ht,frameChangedHandler:(0,J.c)({getCurrentDocumentInfo:a,onFrameChange:Kt,health:ee}),fileEmbedHandler:()=>{$t&&$t()},dismissSplashScreenHandler:()=>{const t=document.getElementById("splashscreen-container");t&&(t.style.display="none")},acquireOAuthTokenTeamsHandler:pt}},ce=xt?.jsApiUrlInfos?xt?.jsApiUrlInfos:new Map;0===ce.size&&ce.set(l.p.Word,{jsApiUrl:xt?.wordBootstrapperUrlInfo?.url,jsApiSri:xt?.wordBootstrapperUrlInfo?.sri,jsApiBackupUrl:xt?.wordBootstrapperUrlInfo?.url,PreloadedInBootStrapper:xt?.wordBootstrapperUrlInfo?.wordJsApiPreloadedInBootStrapper});const{correlationId:ue,bootstrapperObservable:fe,fileNamePromise:le,applicationUrlPromise:de}=(0,v.Az)(n,Gt,lt,kt,gt,Ht,!1,Tt,((t,e,n,o)=>{he=t;const i=new d.t(n),{documentRebootHandler:r,renameHandler:s,sessionRefreshInfoHandler:a,shareHandler:c,userAccessHandler:u,userActivityHandler:f,createNewHandler:l,getAuthTokenHandler:h,sendConversationIdHandler:p,closeTeamsConversationHandler:m,navigateBackToHostHandler:w,accessibilityLoopCompleteHandler:g,getClientUrlCompleteHandler:b,getWebUrlCompleteHandler:S,loadingStatusHandler:v,wopiInfoFromUrlHandler:H,davUrlFromIdsHandler:C,onCloseHandler:I,actionCompleteHandler:A,openInBrowserHandler:y,openInMobileAppHandler:U,moveToFolderPickerHandler:T,commonFilePickerHandler:P,getCustomAuthConfigHandler:k,pushStateHandler:E,caaeMessageHandler:N,frameChangedHandler:F,fileEmbedHandler:W,dismissSplashScreenHandler:R,acquireOAuthTokenTeamsHandler:D}=ae(e,i,o),O=(0,tt.SI)(tt.dT.FeatureGate_UseNewEuplReporting,kt?.featureGates);ie=t=>{const e=t.data;switch(t.type){case Q.V.Reboot:r(e);break;case Q.V.FileRenamed:s(e);break;case Q.V.UserAccessAndPermissions:u(e);break;case Q.V.Share:c(e);break;case Q.V.UserActivity:f(e);break;case Q.V.CreateNewDocument:l(e);break;case Q.V.RefreshSessionInfo:a(e);break;case Q.V.GetAuthToken:h(e);break;case Q.V.AccessibilityLoopCompleted:g(e);break;case Q.V.AcquireOAuthTokenTeams:D(e);break;case Q.V.GetClientUrlComplete:b(e);break;case Q.V.LoadingStatus:v(e);break;case Q.V.GetWebUrlComplete:S(e);break;case Q.V.NavigateBackToHost:w(e);break;case Q.V.SendConversationId:p(e);break;case Q.V.CloseTeamsConversation:m(e);break;case Q.V.GetWopiInfoFromUrl:H(e);break;case Q.V.Close:I();break;case Q.V.ActionCompleted:A(e);break;case Q.V.OpenInBrowser:y(e);break;case Q.V.OpenInMobileApp:U(e);break;case Q.V.MoveToFolder:T(e);break;case Q.V.SharedFilePicker:P(e);break;case Q.V.GetCustomAuthConfig:k(e);break;case Q.V.GetDavUrlFromIds:C(e);break;case Q.V.PushState:E(e);break;case Q.V.CAAEMessage:N(e);break;case Q.V.FrameChanged:F(e);break;case Q.V.FileEmbed:W();break;case Q.V.InitEnd:O&&Tt?.(O);break;case Q.V.SplashScreenShown:O&&Pt?.(),R();break;case Q.V.PrintRedirect:console.log(`PrintRedirect event received properly with redirectTime value: ${e?.redirectTime}`)}},he.addEventListener(ie)}),oe,ce,Vt);let he,pe,me,we,ge;Xt?.ULS.sendTraceTag(546182048,r.n.Fo,s.k.Info,"BootApp: Load document returned"),le.then((t=>St?.(t))).catch((()=>"obligatory catch"));const be=new Y.Z(Xt),Se=new Y.Z(Xt),ve=new h.B7;let He;const Ce=t=>{(0,C.Q)(z.Ph.PostMessage_HostSendConversationId,{conversationId:t},de,pe,Xt)},Ie=t=>{const e=(0,i.u_)(),n=(0,i.Wv)();pt.PostWacTokenStartTime=mt.PostWacTokenStartTime=e,pt.PostWacTokenAttempted=mt.PostWacTokenAttempted=!0,ee?.recordKpiUsage(Z.ex.fi,f.v.SuccessBased,Z.S2.FC_Owl,void 0),Xt?.ULS.sendTraceTag(507597022,r.n.Fo,s.k.Important,"postWacToken flow initiated"),X.gp&&Xt?.ULS.sendTraceTag(507377673,r.n.Fo,s.k.Warning,"Calling postWacToken after usage telemetry has been logged"),Promise.race([be,Se]).then((a=>{a.run?(Xt?.ULS.sendTraceTag(507597021,r.n.Fo,s.k.Info,`officeDocSession created after ${(0,i.u_)()-e} ms`),a.run(u.Y.postWacToken,{wacToken:t,postWacTokenStart:n}).then((t=>{mt.PostWacTokenResult=t.completion,mt.PostWacTokenEndTime=(0,i.u_)(),t.data&&void 0!==t.data.TokenAlreadySet&&(mt.TokenAlreadySet=t.data.TokenAlreadySet),ht.resolve(o.Completed)})).catch((t=>{mt.PostWacTokenResult="Unexpected JSAPI V2 error",mt.PostWacTokenEndTime=(0,i.u_)(),Xt?.ULS.sendTraceTag(507852515,r.n.Fo,s.k.Warning,`Caught error running postWacToken flow: ${t}`),ht.resolve(o.Completed)}))):a.PostWacToken?(Xt?.ULS.sendTraceTag(507597020,r.n.Fo,s.k.Info,`wopiPending created after ${(0,i.u_)()-e} ms`),mt.flush=()=>{ht.resolve(o.Completed)},a.PostWacToken(t,n,mt)):(mt.PostWacTokenResult="Unexpected OWL error",mt.PostWacTokenEndTime=(0,i.u_)(),Xt?.ULS.sendTraceTag(507852514,r.n.Fo,s.k.Warning,"postWacToken: WopiPending or OfficeDocumentSession is not defined. This should never happen, the catch callback should be hit instead."),ht.resolve(o.Completed))})).catch((()=>{mt.PostWacTokenResult="Error occurred instantiating JSAPI session in OWL",mt.PostWacTokenEndTime=(0,i.u_)(),Xt?.ULS.sendTraceTag(507852513,r.n.Fo,s.k.Warning,"Neither JSAPI v1 or v2 applications were created"),ht.resolve(o.Completed)}))};return we=function(t,e,n){return t.pipe((0,m.H)((t=>t({container:e,flushTime:n}))))}(fe,bt,e).subscribe((({officeApplication:t,bootedDocumentInfo:e,wopiHostData:o,wopiPendingApp:a,officeDocumentSession:c,wacBootDiagnostics:u})=>{if(he=t,pe=c,me=a,pe)be.resolve(pe);else if(me)Se.resolve(me);else{const t="No session found";be.reject(t),Se.reject(t)}const f=(0,tt.SI)(tt.dT.FeatureGate_OwlPostWacTokenForTeamsHosts,kt?.featureGates);f&&!nt.Q5&&X.Y3&&(Xt.ULS.sendTraceTag(507347490,r.n.Fo,s.k.Important,"WAC token posted after jsapi boot use postWacToken method"),ee?.recordKpiSuccess(Z.ex.Xo,{extendedProperties:new Map([["scenario","postWacTokenAfterBoot"]])}),X.Y3?.then((t=>{Ie(t)})).catch((t=>{Xt.ULS.sendTraceTag(507347290,r.n.Fo,s.k.Error,`WAC token atempted to be posted after jsapi boot using postWacToken method, but failed: ${t}`)}))),f&&(0,nt.r$)();const d=(0,p.R)(window,"message").pipe((0,g.p)((t=>!!t.data&&!!t.origin&&t.origin.endsWith(st))),(0,b.T)((t=>JSON.parse(t.data))),(0,g.p)((t=>!(!t||!t.MessageId))));if(!ne){const{documentRebootHandler:i,renameHandler:r,sessionRefreshInfoHandler:s,shareHandler:a,userAccessHandler:u,userActivityHandler:f,createNewHandler:h,getAuthTokenHandler:p,sendConversationIdHandler:m,closeTeamsConversationHandler:w,navigateBackToHostHandler:g,accessibilityLoopCompleteHandler:b,getClientUrlCompleteHandler:S,getWebUrlCompleteHandler:v,loadingStatusHandler:H,wopiInfoFromUrlHandler:C,davUrlFromIdsHandler:I,onCloseHandler:A,actionCompleteHandler:y,openInBrowserHandler:U,moveToFolderPickerHandler:T,commonFilePickerHandler:P,getCustomAuthConfigHandler:k,pushStateHandler:E,caaeMessageHandler:N,fileEmbedHandler:F,acquireOAuthTokenTeamsHandler:W}=ae(o,e,c);re=[[z.bi.PostMessage_SendConversationId,m],[z.bi.PostMessage_CloseTeamsConversation,w],[z.bi.PostMessage_NavigateBackToHost,g],[z.bi.PostMessage_AccessibilityLoopComplete,b],[z.bi.PostMessage_GetClientUrlComplete,S],[z.bi.PostMessage_GetWebUrlComplete,v],[z.bi.PostMessage_LoadingStatus,H],[z.O5.Event_DocumentReboot,i],[z.bi.PostMessage_FileRenamed,r],[z.bi.PostMessage_CheckUserAccess,u],[z.bi.PostMessage_Share,a],[z.bi.PostMessage_UserActivity,f],[z.bi.PostMessage_AppCreateNewDocument,h],[z.bi.PostMessage_OpenInBrowser,U],[z.O5.Event_MoveToFolder,T],[z.O5.Event_SharedFilePicker,P],[z.O5.Event_GetCustomAuthConfig,k],[z.bi.PostMessage_CAAEMessage,N],[z.bi.PostMessage_AcquireOAuthTokenTeams,W]],n.fileType===l.p.Excel&&(re.push([z.O5.Event_GetWopiInfoFromUrl,C]),re.push([z.O5.Event_GetDavUrlFromIds,I])),re.forEach((([e,n])=>{t.RegisterEventHandler(e,n)})),ge=d.subscribe((t=>{switch(t.MessageId){case z.bi.PostMessage_AppRefreshSessionInfo:s(t.Values);break;case z.bi.PostMessage_GetAuthToken:p(t.Values);break;case z.bi.PostMessage_Close:A();break;case z.bi.PostMessage_ActionComplete:y(t.Values);break;case z.bi.PostMessage_AppPushState:E(t.Values);break;case z.bi.PostMessage_FileEmbed:F()}}))}if(vt){Xt?.ULS.sendTraceTag(546182049,r.n.Fo,s.k.Info,"BootApp: About to execute OnBootComplete"),(0,i.l8)(ot.ls.OwlOnBootComplete);const t=(0,ot.nC)((0,ot.nu)("owl"));if(Xt?.ULS.sendTraceTag(508568928,r.n.Fo,s.k.Important,`FileType: ${n.fileType}, Environment: ${gt.wiseEnvironment}, Feature Gates: ${kt?.featureGates?(0,it.c)(kt?.featureGates):"{}"}, UiHost: ${kt?.uiHostName}, Integration Type: ${kt?.uiHostIntegrationType}, OwlTraditional Telemetry Data: ${JSON.stringify(t)}`),"PRODUCTION"===gt.wiseEnvironment){const t=(0,tt.SI)(tt.dT.FeatureGate_EnableJsapiTags,kt?.featureGates);setTimeout((async()=>{const e=document.createElement("div");document.body.appendChild(e),(0,rt.J)(e,n.fileType,Xt,t);const o=setInterval((()=>{(0,rt.J)(e,n.fileType,Xt,t)}),18e5);dt.push(o)}),3e4)}ee?.recordKpiSuccess(Z.ex.li),vt(n,u)}}),(t=>{Ht&&(Xt?.ULS.sendTraceTag(546182050,r.n.Fo,s.k.Info,"BootApp: About to execute OnBootFailure"),ee?.recordKpiFailure(Z.ex.li,t.errorName,!0,!1,{extendedProperties:new Map([["errorMessage",t.errorMessage],["wacErrorName",t.wacErrorName],["qosErrorName",t.qosErrorName]])}),Ht(t)),we?.unsubscribe(),ge?.unsubscribe()})),{endSession:se,sessionEndObservable:ve.asObservable(),hostAccessibilityLoopComplete:t=>((0,C.Q)(z.Ph.PostMessage_HostAccessibilityLoopComplete,{Direction:t?"forward":"backward"},de,pe,Xt),!0),hostGetClientUrl:()=>{(0,C.Q)(z.Ph.PostMessage_HostGetClientUrl,{},de,pe,Xt)},hostGetWebUrl:()=>{(0,C.Q)(z.Ph.PostMessage_HostGetWebUrl,{},de,pe,Xt)},hostBackButtonPressed:()=>((0,C.Q)(z.Ph.PostMessage_HostBackButtonPressed,{},de,pe,Xt),!0),hostSendConversationId:Ce,postWacToken:Ie,completeCreateNew:t=>{et.W.sessionPromise.then((e=>{e?e.run(u.Y.completeCreateNew,t).then((t=>et.W.completeCreateNew(t))).catch((t=>{Xt.ULS.sendTraceTag(507778315,r.n.Fo,s.k.Warning,`Caught error running completeCreateNew flow: ${t}`),et.W.failCreateNew(t)})):(Xt.ULS.sendTraceTag(507778314,r.n.Fo,s.k.Warning,"Attempting to run completeCreateNew flow without an OfficeDocumentSession."),et.W.failCreateNew(new Error("session is undefined")))})).catch((t=>{Xt.ULS.sendTraceTag(507331607,r.n.Fo,s.k.Error,`Encountered error in completeCreateNew: ${t}`)}))}}}},81533:function(t,e,n){var o;function i(t){const e=t.toUpperCase();return"CHC"===e||"DEC"===e||"EUC"===e||"EURPPC"===e||"FRC"===e||"SEC"===e||"NOC"===e?o.EuropeanUnion:o.RestOfWorld}n.d(e,{n:function(){return o},y:function(){return i}}),function(t){t[t.RestOfWorld=0]="RestOfWorld",t[t.EuropeanUnion=1]="EuropeanUnion"}(o||(o={}))},19909:function(t,e,n){n.d(e,{C6:function(){return s},ob:function(){return a},yc:function(){return r}});var o=n(81533);function i(t,e){switch(t){case"FASTFOOD":return"https://ffc-common.online.office.com/suite/";case"MSIT":return"https://ppc-common.online.office.com/suite/";case"PRODUCTION":default:return e===o.n.EuropeanUnion?"https://euc-common.online.office.com/suite/":"https://common.online.office.com/suite/";case"GALLATIN":return"https://common.partner.officewebapps.cn/suite/";case"USGOV":return"https://gbc-common.online.office.com/suite/";case"TRAILBLAZER":return"https://common.gov.online.office365.us/suite/";case"PATHFINDER":return"https://common.dod.online.office365.us/suite/";case"AIRGAP08":return"https://common.wac.online.office.eaglex.ic.gov/suite/";case"AIRGAP09":return"https://common.wac.online.office.microsoft.scloud/suite/"}}function r(t,e){return i(t,e)+"RemoteUls.ashx"}function s(t,e,n){let o=i(t,n)+"RemoteTelemetry.ashx";return e&&(o+="?usid="+e),o}function a(t){switch(t){case"GALLATIN":return"https://microsoftgraph.chinacloudapi.cn";case"TRAILBLAZER":return"https://graph.microsoft.us";case"PATHFINDER":return"https://dod-graph.microsoft.us";case"AIRGAP08":return"https://graph.eaglex.ic.gov";case"AIRGAP09":return"https://graph.microsoft.scloud";default:return"https://graph.microsoft.com"}}},1026:function(t,e,n){var o,i,r,s,a,c;n.d(e,{O5:function(){return o},Ph:function(){return s},bi:function(){return i},n_:function(){return a}}),function(t){t.Event_DocumentReboot="DocReboot",t.Event_SetOverlayContent="SetOverlayContent",t.Event_GetWopiInfoFromUrl="WopiInfoFromUrl",t.Event_Unloaded="Unloaded",t.Event_MoveToFolder="MoveToFolder",t.Event_SharedFilePicker="FilePicker",t.Event_GetCustomAuthConfig="GetCustomAuthConfig",t.Event_GetDavUrlFromIds="DavUrlFromIds"}(o||(o={})),function(t){t.PostMessage_FileRenamed="File_Rename",t.PostMessage_Close="UI_Close",t.PostMessage_EditModeSwitch="UI_Edit",t.PostMessage_FileVersion="UI_FileVersions",t.PostMessage_SaveStatus="UI_SaveStatus",t.PostMessage_Share="UI_Sharing",t.PostMessage_Workflow="UI_Workflow",t.PostMessage_UserActivity="User_Activity",t.PostMessage_EditNotification="Edit_Notification",t.PostMessage_CheckUserAccess="UI_CheckUserAccessAndGrantPermissions",t.PostMessage_PostMessageDocReboot="App_DocReboot",t.PostMessage_AppRefreshSessionInfo="App_RefreshSessionInfo",t.PostMessage_AppCreateNewDocument="App_CreateNewDocument",t.PostMessage_GetAuthToken="App_GetAuthToken",t.PostMessage_NavigateBackToHost="NavigateBackToHost",t.PostMessage_SendConversationId="App_SendConversationId",t.PostMessage_CloseTeamsConversation="CloseTeamsConversation",t.PostMessage_AccessibilityLoopComplete="App_AccessibilityLoopComplete",t.PostMessage_GetClientUrlComplete="App_GetClientUrlComplete",t.PostMessage_GetWebUrlComplete="App_GetWebUrlComplete",t.PostMessage_LoadingStatus="App_LoadingStatus",t.PostMessage_ActionComplete="Wac_ActionComplete",t.PostMessage_OpenInBrowser="UI_OpenInBrowser",t.PostMessage_AppGetCustomAuthConfig="App_GetCustomAuthConfig",t.PostMessage_AppPushState="App_PushState",t.PostMessage_CAAEMessage="CAAEMessage",t.PostMessage_FileEmbed="UI_FileEmbed",t.PostMessage_AcquireOAuthTokenTeams="AcquireOAuthTokenTeams"}(i||(i={})),function(t){t.Nav="actnavid"}(r||(r={})),function(t){t.PostMessage_RefreshSessionInfo="Host_RefreshSessionInfo",t.PostMessage_GrantPermissions="CheckUserAccessAndGrantPermissions_Result",t.PostMessage_SetOverlayContent="SetOverlayContent",t.PostMessage_SetAuthToken="Host_SetAuthToken",t.PostMessage_SetHostWopiInfoFromUrl="Host_WopiInfoFromUrl",t.PostMessage_HostAccessibilityLoopComplete="Host_AccessibilityLoopComplete",t.PostMessage_HostGetClientUrl="Host_GetClientUrl",t.PostMessage_HostGetWebUrl="Host_GetWebUrl",t.PostMessage_MoveToFolderCompleted="Host_MoveToFolder",t.PostMessage_CompleteFilePicker="Host_FilePicker",t.PostMessage_SendCustomAuthConfig="Host_SetCustomAuthConfig",t.PostMessage_SetDavUrlFromIds="Host_DavUrlFromIds",t.PostMessage_BlurFocus="Blur_Focus",t.PostMessage_PopState="App_PopState",t.PostMessage_GrabFocus="Grab_Focus",t.PostMessage_HostSendChannelId="Host_SendChannelId",t.PostMessage_HostBackButtonPressed="Host_BackButtonPressed",t.PostMessage_HostSendConversationId="Host_SendConversationId",t.PostMessage_PostWacToken="Host_PostWacToken"}(s||(s={})),function(t){t.SameDocument="0",t.NewDocument="1"}(a||(a={})),function(t){t.AccessToken="AccessToken",t.FileGetUrl="FileGetUrl"}(c||(c={}))},63679:function(t,e,n){n.d(e,{Ip:function(){return u},R7:function(){return c},Rt:function(){return d},hK:function(){return a},wR:function(){return l}});var o=n(19864),i=n(43525),r=n(19909),s=n(48145);class a{setUlsLogger(t){const e=(0,r.yc)(this.environment);return(0,o.Jf)({remoteUlsEndpoint:e,sessionId:t})}constructor(t,e){"string"==typeof t?this.sessionId=t:[this.sessionId]=t,this.environment=e,this.logger=this.setUlsLogger(this.sessionId)}}class c{constructor(t,e,n,o,s,a,c,u,f,l,d,h){const p=(0,r.C6)(n,t),m={application:e.toString(),applicationMode:"UnifiedUiHost",applicationModeExtended:"UNIFIEDUIHOST",session_id:t,clientVersion:o??"n/a",isSynthetic:a,applicationLcid:c,loggableUserId:u,tenantId:f,uiHost:l,uiHostIntegrationType:d,sessionOrigin:h};this.health=i.Xk.getInstance(),this.health.initialize({isHealthEnabled:!0,isOfflineEnabled:!1,remoteTelemetryUrl:p,dimensions:m}),this.health.addOrUpdatePartCDimension("UUIHTargetApp",e.toString()),this.health.addOrUpdatePartCDimension("HealthSourceComponent","UnifiedUiHost"),this.health.addOrUpdatePartCDimension("WiseEnvironment",n.toString()),this.health.addOrUpdatePartCDimension("Exposure",s?.toString()??"n/a")}}function u(){const t=performance.getEntriesByType("navigation"),e=t[0]?.toJSON();if(e)return{connectEnd:e.connectEnd,connectStart:e.connectStart,decodedBodySize:e.decodedBodySize,domainLookupEnd:e.domainLookupEnd,domainLookupStart:e.domainLookupStart,domComplete:e.domComplete,domContentLoadedEventEnd:e.domContentLoadedEventEnd,domContentLoadedEventStart:e.domContentLoadedEventStart,domInteractive:e.domInteractive,duration:e.duration,encodedBodySize:e.encodedBodySize,entryType:e.entryType,fetchStart:e.fetchStart,initiatorType:e.initiatorType,loadEventEnd:e.loadEventEnd,loadEventStart:e.loadEventStart,nextHopProtocol:e.nextHopProtocol,redirectCount:e.redirectCount,redirectEnd:e.redirectEnd,redirectStart:e.redirectStart,requestStart:e.requestStart,responseEnd:e.responseEnd,responseStart:e.responseStart,secureConnectionStart:e.secureConnectionStart,serverTiming:e.serverTiming,startTime:e.startTime,transferSize:e.transferSize,type:e.type,unloadEventEnd:e.unloadEventEnd,unloadEventStart:e.unloadEventStart,workerStart:e.workerStart}}function f(t,e){const n=window.performance.getEntriesByType("resource").filter((n=>n.name.includes(t)&&n.name.endsWith(e))),o=n[0]?.toJSON();var i;if(o)return{connectStart:o.connectStart,secureConnectionStart:o.secureConnectionStart,connectEnd:o.connectEnd,domainLookupStart:o.domainLookupStart,domainLookupEnd:o.domainLookupEnd,redirectStart:o.redirectStart,redirectEnd:o.redirectEnd,requestStart:o.requestStart,responseStart:o.responseStart,responseEnd:o.responseEnd,fetchStart:o.fetchStart,workerStart:o.workerStart,duration:o.duration,decodedBodySize:o.decodedBodySize,encodedBodySize:o.encodedBodySize,transferSize:o.transferSize,entryType:o.entryType,initiatorType:o.initiatorType,nextHopProtocol:o.nextHopProtocol,serverTiming:o.serverTiming,startTime:o.startTime,isCached:(i=o,i.transferSize>=0?0===i.transferSize:i.responseEnd-i.fetchStart<100)}}function l(){return f("owl.slim",".js")}function d(t){let e;switch(t){case s.p.Word:e="word.boot";break;case s.p.Excel:e="excel-boot";break;case s.p.PowerPoint:e="powerpoint.app.boot";break;case s.p.OneNote:e="onenote-boot";break;case s.p.Visio:e="visio.boot";break;default:return}return f(e,".js")}},5306:function(t,e,n){var o,i,r,s,a,c,u;n.d(e,{R7:function(){return c},S2:function(){return r},SQ:function(){return l},by:function(){return a},ex:function(){return i},pP:function(){return f},zJ:function(){return s}}),function(t){t.DriveId="drive",t.ItemId="item",t.DocUrl="file",t.ContentUri="contenturi",t.Nav="nav"}(o||(o={})),function(t){t.di="DavUrlFromIds",t.hi="FilePicker",t.li="OwlBoot",t.Xo="OwlPostWacTokenForTeams",t.fi="PostWacToken",t.pi="PrebootDocument",t.mi="PrebootDocumentOpen",t.wi="WopiAuthRefresh",t.gi="WopiAuthFetch",t.Si="WopiInfoFromUrl"}(i||(i={})),function(t){t.FC_Owl="owlfc"}(r||(r={})),function(t){t.QosVeto_ShareDialogExperienceDegraded="ShareDialogExperienceDegraded",t.QosVeto_CreateNewExperienceDegraded="CreateNewExperienceDegraded",t.QosVeto_ExternalLinksExperienceDegraded="ExternalLinksExperienceDegraded",t.QosVeto_WopiAuthExperienceDegraded="WopiAuthExperienceDegraded",t.QosVeto_FilePickerFailed="FilePickerFailed",t.QosVeto_OpenInExperienceFailed="OpenInExperienceFailed"}(s||(s={})),function(t){t.QosError_VroomWopiFailure="VroomWopiFailure",t.QosError_OfficeBootstrapperNotLoaded="OfficeBootstrapperNotLoaded",t.QosError_EncounteredJsApiError="EncounteredJsApiError",t.QosError_FailedToLoadDocument="FailedToLoadDocument",t.QosError_AttemptingToBootDocumentFailed="AttemptingToBootDocumentFailed",t.QosError_DavUrlFromIdsFailure="DavUrlFromIdsFailure",t.QosError_ShareDialogHandlerInitFailure="ShareDialogHandlerInitFailure",t.QosError_ShareDialogHandlerHostReportedFailure="ShareDialogHandlerHostReportedFailure",t.QosError_ShareDialogHandlerGenericFailure="ShareDialogHandlerGenericFailure",t.QosError_ShareDialogHandlerPerfFailure="ShareDialogHandlerPerfFailure",t.QosError_CreateNewHandlerRebootSessionFailure="CreateNewHandlerRebootSessionFailure",t.QosError_CreateNewHandlerCreateDocumentFailure="CreateNewHandlerCreateDocumentFailure",t.QosError_CreateNewHandlerEndSessionFailure="CreateNewHandlerEndSessionFailure",t.QosError_CreateNewHandlerGenericFailure="CreateNewHandlerGenericFailure",t.QosError_WopiRefreshAuthTokenFailure="WopiRefreshAuthTokenFailure",t.QosError_WopiFetchAuthTokenFailure="WopiFetchAuthTokenFailure",t.QosError_WopiInfoFromUrlFailure="WopiInfoFromUrlFailure",t.QosError_FilePickerBootFailed="FilePickerBootFailed",t.QosError_RetrievingWopiHostDataFailed="RetrievingWopiHostDataFailed",t.QosError_SelectedItemNotReturned="SelectedItemNotReturned",t.QosError_SelectedItemMissingProperties="SelectedItemMissingProperties",t.QosError_UrlNotProvided="UrlNotProvided",t.QosError_CallbackNotDefined="CallbackNotDefined"}(a||(a={})),function(t){t.Qo="Bootstrapfile_WacDocumentVroomError",t.si="LoadDocument_WacDocumentVroomError",t.ri="WacDocumentBootstrapperLoadError",t.ii="WacInitializeWopiPendingError",t.Hi="WacDocumentGenericBootError",t.oi="WacDocumentJsApiV1Error",t.ni="WacDocumentJsApiV2Error",t.ti="WacDocumentJsApiV2Error_App",t.ei="WacDocumentJsApiV2Error_JsApi",t.Yo="WacDocumentJsApiV2Error_Timeout"}(c||(c={})),function(t){t.PermissionError="PermissionError",t.NotFound="NotFound",t.Throttling="Throttling",t.Offline="Offline",t.Other="Other"}(u||(u={}));const f={};var l;!function(t){t.New="NEW",t.BackstageMru="BACKSTAGE-MRU",t.Reboot="REBOOT"}(l||(l={}))},9595:function(t,e,n){n.d(e,{BK:function(){return R},Y3:function(){},cv:function(){return O},gp:function(){return W},gv:function(){return M},jW:function(){return v}});var o=n(63590),i=n(80899),r=n(25795),s=n(83456),a=n(56471),c=n(11373),u=n(5306),f=n(63679),l=n(85087),d=n(63496),h=n(72785),p=n(77946),m=n(97791),w=n(46835),g=n(21959),b=n(82715);let S;const v=new l.Z;let H,C,I,A,y,U,T,P,k,E;const N="owl-container",F=new l.Z;let W=!1;function R(t){if(!t?.clientVersion?.trim())throw new Error("invalid clientVersion");if(!t.exposure||t.exposure<=0||t.exposure>100)throw new Error("invalid exposure ("+(t.exposure??"undefined")+")");t.wiseEnvironment=t.wiseEnvironment?.toLocaleUpperCase(),S=t}function D(t,e){const n=document.createElement("div");return n.id=e,t.appendChild(n)}function O(t){U?U(t):F.then((e=>e(t))).catch((t=>T?.ULS.sendTraceTag(507331606,o.n.Fo,i.k.Error,`createNewComplete encountered error: ${t}`)))}function M(t){const e=(0,r.u_)();(0,r.l8)(d.ls.OwlWithCustomFunctionsStart),(0,h.H)(),E=E??S?.wiseEnvironment??t.sessionConfig.wiseEnvironment;const l=window._spPageContextInfo?.killSwitches;let R=!1;l&&!l["39E99DD6-74F2-4B83-9300-678A5D75D96B"]&&(R=(0,p.b)("MsalV3DownloadEnabled",!1));const O=()=>({Hidden:document.hidden,VisibilityState:document.visibilityState,HasFocus:document.hasFocus(),Timestamp:(0,r.u_)()}),M=[O()];window.addEventListener("visibilitychange",(()=>M.push(O()))),window.addEventListener("focus",(()=>M.push(O()))),window.addEventListener("blur",(()=>M.push(O()))),c.h1.BootAttempted=!0,c.h1.Environment=c.qO.Environment=E,c.h1.Application=c.qO.Application=t.documentBootInfo.fileType,c.h1.BootStartTime=c.qO.BootStartTime=(0,r.u_)(),c.h1.StateEvents=c.qO.StateEvents=M,t.uiHostConfig&&(t.uiHostConfig.uiHostName&&(c.h1.UiHost=c.qO.UiHost=t.uiHostConfig.uiHostName),t.uiHostConfig.uiHostIntegrationType&&(c.h1.UiHostIntegrationType=c.qO.UiHostIntegrationType=t.uiHostConfig.uiHostIntegrationType)),t.sessionConfig&&(t.sessionConfig.hostCorrelationId&&(c.h1.HostCorrelationId=c.qO.HostCorrelationId=t.sessionConfig.hostCorrelationId),c.h1.IsAnonymous=c.qO.IsAnonymous=!!t.sessionConfig.isAnonymous,c.h1.IsSynthetic=c.qO.IsSynthetic=!!t.sessionConfig.isSynthetic),t.sessionConfig.sessionId=t.sessionConfig.sessionId??(0,s.O)()[0],t.sessionConfig.owlRollout=`${E}.${S?.exposure}`,t.sessionConfig.owlVersion=S?.clientVersion;const j="IsTwoStepCreateNewEnabled",B=!!t.documentBootInfo.isTwoStepCreateNew;t.uiHostConfig?t.uiHostConfig.featureGates?t.uiHostConfig.featureGates.set(j,B):t.uiHostConfig.featureGates=new Map([[j,B]]):t.uiHostConfig={featureGates:new Map([[j,B]])};const _=!!t.sessionConfig.health;(0,m.C$)(t,S,E,t.sessionConfig.sessionId),_||(P=t.sessionConfig.health),T||(T=t.sessionConfig.logger),function(t,e){const n=t.onBootComplete,r=t.onBootFailure,s=t=>{W?e?.ULS.sendTraceTag(507540254,o.n.Fo,i.k.Warning,`Calling success or failure callback after another callback has already been called. Calling ${t}`):(e?.ULS.sendTraceTag(507540255,o.n.Fo,i.k.Important,JSON.stringify(c.h1)),W=!0,(0,c.an)())};t.onBootComplete=(t,e)=>{c.h1.BootSucceeded=c.qO.BootSucceeded=!0,s("onBootComplete"),v.resolve(!0),n&&n(t,e)},t.onBootFailure=(t,e)=>{c.qO.BootSucceeded=!1,s("onBootFailure"),v.resolve(!1),r&&r(t,e)}}(t,T),(0,c.Q7)(T),function(t,e){t.sessionConfig.bootDiagnostics=t.sessionConfig.bootDiagnostics||{},t.sessionConfig.bootDiagnostics.packageEntryTime=t.sessionConfig.bootDiagnostics.packageEntryTime||e,t.sessionConfig.bootDiagnostics.perfNavigationTiming=t.sessionConfig.bootDiagnostics.perfNavigationTiming||(0,f.Ip)(),t.sessionConfig.bootDiagnostics.perfOwlTiming=t.sessionConfig.bootDiagnostics.perfOwlTiming||(0,f.wR)(),t.sessionConfig.bootDiagnostics.loadManifestStartTime=t.sessionConfig.bootDiagnostics.loadManifestStartTime||S?.owlBootstrapperDiagnostics?.loadManifestStartTime||0,t.sessionConfig.bootDiagnostics.loadManifestEndTime=t.sessionConfig.bootDiagnostics.loadManifestEndTime||S?.owlBootstrapperDiagnostics?.loadManifestEndTime||S?.owlBootstrapperDiagnostics?.getManifestFromRemoteTimeElapsed,t.sessionConfig.bootDiagnostics.getManifestFromRemoteTimeElapsed=t.sessionConfig.bootDiagnostics.getManifestFromRemoteTimeElapsed||S?.owlBootstrapperDiagnostics?.getManifestFromRemoteTimeElapsed,t.sessionConfig.bootDiagnostics.loadManifestServerTimeElapsed=t.sessionConfig.bootDiagnostics.loadManifestServerTimeElapsed||S?.owlBootstrapperDiagnostics?.loadManifestServerTimeElapsed,t.sessionConfig.bootDiagnostics.loadOwlStartTime=t.sessionConfig.bootDiagnostics.loadOwlStartTime||S?.owlBootstrapperDiagnostics?.loadOwlStartTime,t.sessionConfig.bootDiagnostics.loadOwlEndTime=t.sessionConfig.bootDiagnostics.loadOwlEndTime||S?.owlBootstrapperDiagnostics?.loadOwlEndTime}(t,e);const x=t.container;k=function(t){return document.getElementById(N)??D(t,N)}(t.container),t.container=k;const K=(0,a.R4)(t.documentBootInfo),L=t.sessionConfig.sessionId===K,$=t.onBootComplete;t.onBootComplete=(t,e)=>{R&&l&&!l["39E99DD6-74F2-4B83-9300-678A5D75D96B"]&&n.e(9452).then(n.bind(n,58726)),$&&$(t,e)};const V=t.onBootFailure;t.onBootFailure=(n,o)=>{if(P?.recordQosError(n.qosErrorName,["UnifiedUiHostBootstrappingFailed"],(0,w.yC)(n),(0,w.wA)(n.wacErrorName),!0,!0,{inStaging:n.inStaging??!0,extendedProperties:(0,g.C)(n)}),L){const i=new Map;i.set("FailureTime",(new Date).toUTCString()),i.set("Error",n.error),o&&i.set("DocumentBootInfo",JSON.stringify(o)),n.httpErrorCode&&i.set("HttpErrorCode",n.httpErrorCode),P?.recordKpiFailure(u.ex.mi,"PrebootDocumentOpenFailed",!1,!0,{durationMs:(0,r.u_)()-(t.sessionConfig.bootDiagnostics?.packageEntryTime||e),extendedProperties:i})}V&&V(n,o),P?.shutdown()};const q={...t,initPackageParams:S};(q.initializeTwoStepCreateNew??b.d)(q,T);const G=(0,c.k3)(q);H=G.endSession,C=G.hostAccessibilityLoopComplete,I=G.hostGetClientUrl,A=G.hostGetWebUrl,y=G.hostBackButtonPressed,U=G.completeCreateNew,F.resolve(U);const J=e=>{const n=e.subscribe((e=>{if(e&&t.uiHostConfig?.supportsInternalReboot){const[i]=(0,s.O)(),a=new f.hK(i,E);t.sessionConfig.sessionId=a.sessionId,t.sessionConfig.logger=a.logger,t.sessionConfig.bootDiagnostics=(o=t.sessionConfig.bootDiagnostics,{tabsCacheHit:!0,packageEntryTime:(0,r.u_)(),isTestMode:o?.isTestMode,isPrebooted:!1,ringId:o?.ringId,teamsContextStartTime:0,teamsContextEndTime:0,perfNavigationTiming:(0,f.Ip)(),meetingLiveDiagnostics:void 0,perfOwlTiming:(0,f.wR)()}),t.sessionConfig.highContrastMode=e.theme,x&&k&&k.parentNode===x&&x.removeChild(k),k=D(x,N);const u=(0,c.k3)({...t,container:k,documentBootInfo:e.documentBootInfo,initPackageParams:S});H=u.endSession,C=u.hostAccessibilityLoopComplete,I=u.hostGetClientUrl,A=u.hostGetWebUrl,y=u.hostBackButtonPressed,U=u.completeCreateNew,F.resolve(U),n.unsubscribe(),J(u.sessionEndObservable)}else x&&k&&k.parentNode===x&&x.removeChild(k),n.unsubscribe();var o;P?.shutdown()}))};return J(G.sessionEndObservable),(0,r.l8)([d.ls.OwlEnd,d.ls.OwlWithCustomFunctionsEnd]),G}},43660:function(t,e,n){function o(t,e,n,o=!1,i,r=!1,s=!1,a,c,u){if(!document)return null;if(i){const t=document.getElementById(i);if(null!=t)return e&&e(),t}const f=document.createElement("script");if(f.src=t,i&&(f.id=i),e&&(f.onload=e),n&&(f.onerror=()=>{s&&f.parentNode?.removeChild(f),n()}),r&&(f.crossOrigin="anonymous"),u&&a&&!c&&(f.integrity=a),o){const t=document.getElementsByTagName("script")[0];if(t&&t.parentNode)return t.parentNode.insertBefore(f,t)}return document.body.appendChild(f)}n.d(e,{b:function(){return o}})},82715:function(t,e,n){n.d(e,{W:function(){return h},d:function(){return p}});var o=n(63590),i=n(80899),r=n(70994),s=n(28838),a=n(12874),c=n(57895),u=n(24776),f=n(96303),l=n(85087),d=n(64120);class h{static get isCreateNewFlowExecuting(){return!!(h.isTwoStepCreateNew&&h.createNewFlowExecuting&&h.hostSessionId&&h.bootstrapper&&h.bootstrapperLoadPromise&&h.bootstrapperUrl&&h.bootstrapperInfo&&h.application&&h.session)}static get isCreateNewFlowExecutingForJsApiBundledWithOwl(){return!!(h.isTwoStepCreateNew&&h.createNewFlowExecuting&&h.hostSessionId&&h.bootstrapperUrl&&h.application&&h.session)}static get completeCreateNewPromise(){return h.Ci}static completeCreateNew(t){this.Ii.resolve&&this.Ii.resolve(t)}static failCreateNew(t){this.Ii.reject&&this.Ii.reject(t)}}function p(t,e){if(h.isTwoStepCreateNew=!!(t.documentBootInfo.isNewFile&&t.documentBootInfo.isTwoStepCreateNew&&t.sessionConfig.createNewParams&&t.sessionConfig.createNewParams.appUrl&&(0,r.PS)(t.documentBootInfo.fileType,t.uiHostConfig?.featureGates,e)&&t.initPackageParams?.jsApiUrlInfos&&t.initPackageParams?.jsApiUrlInfos.get(t.documentBootInfo.fileType)),h.isTwoStepCreateNew){const n=t.initPackageParams.jsApiUrlInfos.get(t.documentBootInfo.fileType);if(n){h.bootstrapperUrl=n.jsApiUrl,h.hostSessionId=(0,s.d$)(t.sessionConfig.hostCorrelationId);const r=(0,d.SI)(d.dT.FeatureGate_EnableJsapiTags,t.uiHostConfig?.featureGates);(0,d.lO)(d.dT.FeatureGate_EnableJsapiTags,r,e),h.bootstrapperLoadPromise=(0,a.k)(n.jsApiUrl,t.sessionConfig.createNewParams.appUrl,t.documentBootInfo.fileType,!0,t.sessionConfig.wiseEnvironment,e,n.jsApiSri,t.sessionConfig?.owlRollout?.includes("LOCALHOST"),r).then((n=>{const[r,s]=(0,a.K)(t.documentBootInfo.fileType);if(s||!r||!h.hostSessionId)return e?.ULS.sendTraceTag(507778318,o.n.Fo,i.k.Warning,`Failed to load bootstrapper for ${t.documentBootInfo.fileType} in 2-step create new flow. Error: ${s}`),!1;h.bootstrapper=r,h.bootstrapperInfo=n,h.application=r.createApplication((0,f.I)(t.documentBootInfo,h.bootstrapperInfo.bootstrapperUrl,t.uiHostConfig,t.sessionConfig));const l=(0,d.SI)(d.dT.FeatureGate_EnableSingleOwlJsapiLogger,t.uiHostConfig?.featureGates);h.session=h.application.createSession({hostSessionId:h.hostSessionId,logger:l?e:void 0}),h.sessionPromise.resolve(h.session),h.createNewFlowExecuting=!0;const p=(0,c.lW)(t.sessionConfig.createNewParams,t.documentBootInfo,t.container,t.uiHostConfig,t.sessionConfig);return h.session.run(u.Y.createNew,p).catch((t=>{e?.ULS.sendTraceTag(507778317,o.n.Fo,i.k.Warning,`Caught error running create new flow: ${t}`),h.createNewFlowExecuting=!1})),!0})).catch((n=>(e?.ULS.sendTraceTag(507778316,o.n.Fo,i.k.Warning,`Failed to load bootstrapper for ${t.documentBootInfo.fileType} in 2-step create new flow. Error: ${n}`),!1)))}else e?.ULS.sendTraceTag(507778319,o.n.Fo,i.k.Warning,`jsapiBootstrapperUrl for ${t.documentBootInfo.fileType} is undefined in ${t.uiHostConfig?.uiHostName}`)}}h.isTwoStepCreateNew=!1,h.createNewFlowExecuting=!1,h.sessionPromise=new l.Z,h.Ii={},h.Ci=new Promise(((t,e)=>{h.Ii.resolve=t,h.Ii.reject=e}))},46835:function(t,e,n){n.d(e,{TX:function(){return i},wA:function(){return r},yC:function(){return s}});var o=n(5306);function i(t){return!(!t||!t.failure)&&"TypeError: Failed to fetch"===t.failure}function r(t){switch(t){case o.R7.Qo:case o.R7.si:return!1;default:return!0}}function s(t){const{httpErrorCode:e,networkError:n,qosErrorName:i,errorMessage:r,error:s,documentLoadedWithTabSwitch:u}=t,f=i===o.by.QosError_EncounteredJsApiError&&"timeout"===r&&u;return n||f||[401,403,404,429].includes(e)||function(t){if(!t)return!1;try{const e=[JSON.parse(t)];for(;e.length>0;){const t=e.pop();if("string"==typeof t){if(a.has(t))return!0}else if("object"==typeof t&&null!==t)for(const n of Object.values(t))e.push(n)}}catch(e){for(const e of c)if(-1!==t.indexOf(e))return!0}return!1}(JSON.stringify(s))}const a=new Set(["DocumentIsIRMProtected","5373959","5243086","5243055","5374037","5373972","5373968","5373967","5373965","5373961","5243101","29"]),c=Array.from(a)},64120:function(t,e,n){n.d(e,{SI:function(){return a},dT:function(){return o},lO:function(){return s}});var o,i=n(63590),r=n(80899);function s(t,e,n){n?.ULS.sendTraceTag(521164238,i.n.Fo,r.k.Info,`${t}: ${e?"Enabled":"Disabled"}`)}function a(t,e){if(!e)return!1;if(!e.has(t))return!1;const n=e.get(t);return null!=n&&"boolean"==typeof n&&n}!function(t){t.FeatureGate_OneNoteJsApiV2Gate="OneNoteJsApiV2Gate",t.FeatureGate_StartPageUseOWLGate="StartPageUseOWLGate",t.FeatureGate_GrabFocusOnFilePickerCloseGate="GrabFocusOnFilePickerCloseGate",t.FeatureGate_Vroom21SupportGate="Vroom21SupportGate",t.FeatureGate_CommandingAshaVetoes="CommandingAshaVetoes",t.FeatureGate_ESSForXLGate="ESSForXL",t.FeatureGate_Vroom21ForWord="Vroom21ForWord",t.FeatureGate_Vroom21ForExcel="Vroom21ForExcel",t.FeatureGate_PrefetchWacToken="PrefetchWacToken",t.FeatureGate_UseNewEuplReporting="UseNewEuplReporting",t.FeatureGate_PostWacTokenAsync="PostWacTokenAsync",t.FeatureGate_DeprecatePreAuthUrl="DeprecatePreAuthUrl",t.FeatureGate_UseUnifiedBundling="UseUnifiedBundling",t.FeatureGate_OwlPostWacTokenForTeamsHosts="OwlPostWacTokenForTeamsHosts",t.FeatureGate_EnableSingleOwlJsapiLogger="EnableSingleOwlJsapiLogger",t.FeatureGate_EnableJsapiTags="IsOwlAdditionalJsapiTagsEnabled",t.FeatureGate_ShowHeaderOneNote="ShowHeaderOneNote",t.FeatureGate_OneNoteTeamsClaimsHandling="OneNoteTeamsClaimsHandling",t.FeatureGate_UseWacParamsCopy="UseWacParamsCopy",t.FeatureGate_OneNotePersonalAppRedirectToLegacyMyNotebookPage="OneNotePersonalAppRedirectToLegacyMyNotebookPage",t.FeatureGate_EnableAriaLoggingForShareDialogLaunch="enableAriaLoggingForShareDialogLaunch",t.FeatureGate_UseLoadJSApiWithOWLEnabled="UseLoadJSApiWithOWLEnabled",t.FeatureGate_UseSeparateVroomAccessTokenFn="UseSeparateVroomAccessTokenFn",t.FeatureGate_OmitParamsOnSessionRefresh="OmitParamsOnSessionRefresh"}(o||(o={}))},31074:function(t,e,n){n.d(e,{L:function(){return o}}),n(63590),n(80899);const o=function(){let t;try{t=window.localStorage}catch(t){}return t}()},21959:function(t,e,n){function o(t){return new Map([["ErrorName",`${t.wacErrorName}`+(t.errorName?`_${t.errorName}`:"")],["ErrorMessage",t.errorMessage?t.errorMessage:""],["HttpErrorCode",`${t.httpErrorCode}`],["NetworkError",`${t.networkError}`],["DocumentLoadedWithTabSwitch",`${t.documentLoadedWithTabSwitch}`]])}n.d(e,{C:function(){return o}})},77946:function(t,e,n){n.d(e,{b:function(){return i}});const o={};function i(t,e){const n=localStorage.getItem(t);if(null===n){const n=o[t];return void 0!==n?n:e}if(localStorage.removeItem(t),"boolean"==typeof e&&(o[t]="true"===n),"number"==typeof e){const i=Number(n);o[t]=isNaN(i)?e:i}return"string"==typeof e&&(o[t]=n),o[t]}},97791:function(t,e,n){n.d(e,{C$:function(){return s}});var o=n(63590),i=n(80899),r=n(63679);function s(t,e,n,s){if(t.sessionConfig.logger||(t.sessionConfig.logger=new r.hK(s,n).logger),!t.sessionConfig.health){const{exposure:a,clientVersion:c}=e??{},{ringId:u,isOdcMigrated:f}=t.sessionConfig.bootDiagnostics??{},{uiHostName:l,uiHostIntegrationType:d}=t.uiHostConfig??{};t.sessionConfig.health=function(t,e,n,s,a,c,u,f,l,d,h,p,m,w,g,b,S){const v=new r.R7(t,n,e,l,f,d,s,a,c,h,p,m).health;if(v)return v.addOrUpdatePartCDimension("HostCorrelationId",u),v.addOrUpdatePartCDimension("AppSessionId",t),v.addOrUpdatePartCDimension("HostRingId",w??"n/a"),v.addOrUpdatePartCDimension("IsNewFile",(!!g).toString()),v.addOrUpdatePartCDimension("isOdcMigrated",(!!b).toString()),v.addOrUpdatePartCDimension("IsTestMode",window.location.pathname.endsWith("/test").toString()),v.addQosPillar("Open"),v;S?.ULS.sendTraceTag(507340064,o.n.Fo,i.k.Warning,"Failed to initialize health logger.")}(s,n,t.documentBootInfo.fileType,t.documentBootInfo.uiCulture,t.documentBootInfo.puid,t.sessionConfig.tenantId,t.sessionConfig.hostCorrelationId,a,c,t.sessionConfig.isSynthetic,l,d,t.documentBootInfo.wdOrigin,u,t.documentBootInfo.isNewFile,f)}}},96303:function(t,e,n){n.d(e,{I:function(){return i}});var o=n(70994);function i(t,e,n,i,r){return{host:{storageHostName:(0,o.Im)(t.docUrl??""),capabilities:{isFeatureEnabledCallback:(0,o.$e)(i),moveToFolder:n?.supportsMoveToFolder,commonFilePicker:n?.supportsCommonFilePicker,rebootDoc:n?.supportsDocumentReboot,createNewDoc:n?.supportsCreateNewDocument,authToken:n?.supportsAuthToken,excelExternalLinks:n?.supportsExcelExternalLinks,refreshAccessToken:n?.supportsRefreshAccessToken,atMentions:n?.supportsAtMentions,accessibilityLoop:n?.supportsAccessibilityLoop,customAuthConfig:n?.supportsCustomAuthConfig,directPrint:n?.supportsDirectPrint??!0,directDownload:n?.supportsDirectDownload,disableOfficeAddins:n?.disableOfficeAddins},uiHostName:n?.uiHostName||o.Q9,requireExplicitUnload:n?.supportsExplicitUnload,metaUiHostVersion:i?.metaUiHostVersion,uiHostIntegrationType:n?.uiHostIntegrationType,uiHostScenarioType:i?.additionalApplicationParameters?.uiHostScenarioType,owlVersion:i?.owlVersion,owlRollout:i?.owlRollout,origin:i?.origin},user:{id:r&&r.wac&&r.wac.userId||t.puid||"",isSynthetic:i?.isSynthetic},bootstrapperUrl:e,ui:{uiEmbed:n?.uiEmbed??!0,controls:n?.supportsHostUiControls?[{id:"close",visibility:n?.showCloseButton?1:0},{id:"share",visibility:n?.supportsShare?1:0},{id:"ellipsisOpenInBrowser",visibility:n?.openInBrowserEnabled?1:0},{id:"ellipsisDownload",visibility:n?.ellipsisDownloadACopyButtonEnabled?1:0},{id:"copyLink",visibility:n?.copyLinkEnabled?1:0},{id:"conversation",visibility:n?.conversationButtonEnabled?1:0}]:void 0,language:t.uiCulture,hideHeader:n?.hideHeader,hideAppLauncherInHeader:n?.hideAppLauncherInHeader,hideSearchInHeader:n?.hideSearchInHeader,hideMeInHeader:n?.hideMeInHeader,hideChatInHeader:n?.hideChatInHeader,hideWorkflowInHeader:n?.hideWorkflowInHeader,hideSettingsInHeader:n?.hideSettingsInHeader,showAppIconInHeader:n?.showAppIconInHeader,useNeutralColorInHeader:n?.useNeutralColorInHeader,highContrast:"invert"===i?.highContrastMode?"invert":void 0,openLinksInNewWindow:n?.openLinksInNewWindow,contentAssemblyMode:n?.contentAssemblyMode,showNotebookList:"1"===i?.additionalApplicationParameters?.shownotebooklist,enableMobileViewer:"1"===i?.additionalApplicationParameters?.wdMobileEmbedOneNoteViewer,mobileEmbedView:"1"===i?.additionalApplicationParameters?.wdMobileEmbedOneNoteViewer,showBreadcrumbInMobileView:"1"===i?.additionalApplicationParameters?.wdMobileEmbedOneNoteViewer,showInternalFeedback:"1"===i?.additionalApplicationParameters?.wdNotesInternalFeedbackEnabled,embed:"1"===i?.additionalApplicationParameters?.embed,embedded:"1"===i?.additionalApplicationParameters?.embedded,hidesections:"1"===i?.additionalApplicationParameters?.hidesections}}}},32469:function(t,e,n){n.d(e,{J:function(){return h}});var o=n(63590),i=n(80899);const r="https://wise-m.public.cdn.office.net/wise-m/owl",s="https://wise.public.cdn.office.net/wise/owl",a=new Set,c=[10,100],u=[1,10,50,100],f=2e3;let l,d;function h(t,e,n,o){l=n,d=t,p(e,"MSIT",c,0,o),p(e,"PRODUCTION",u,3e4,o)}function p(t,e,n,o,i){let r=o;n.forEach((async n=>{setTimeout((async()=>{await m(t,e,n,1,i)}),r+=f)}))}async function m(t,e,n,c=0,u){let h=0;await fetch(`${r}/5mttl/${e.toLowerCase()}/${n}/manifest.json`,{cache:"no-cache"}).then((r=>(l?.ULS.sendTraceTag(507326861,o.n.Fo,i.k.Info,`Fetching manifest from CDN was successful for ${t} in ${e} with exposure ${n} with remaining retry count ${c}.`),r.text()))).then((async r=>{if(l?.ULS.sendTraceTag(507326860,o.n.Fo,i.k.Info,`Parsing manifest from CDN was successful for ${t} in ${e} with exposure ${n} with remaining retry count ${c}.`),r.includes("<Code>BlobNotFound</Code>"))c>0?setTimeout((async()=>{await m(t,e,n,c-1)}),29e3):l?.ULS.sendTraceTag(507107014,o.n.Fo,i.k.Warning,`Fetching manifest from CDN failed for ${t} in ${e} with exposure ${n} with remaining retry count ${c}. Error: BlobNotFound`);else{const c=JSON.parse(r);if(!c.clientVersion)return void l?.ULS.sendTraceTag(507326859,o.n.Fo,i.k.Warning,`Manifest from CDN does not have clientVersion for ${t} in ${e} with exposure ${n}. Manifest: ${c}`);if(!c.files)return void l?.ULS.sendTraceTag(507326858,o.n.Fo,i.k.Warning,`Manifest from CDN does not have files for ${t} in ${e} with exposure ${n}. Manifest: ${c}`);a.has(c.clientVersion)||(a.add(c.clientVersion),Object.keys(c.files).filter((e=>e.includes(t.toLowerCase()+".boot.js")||e.includes(t.toLowerCase()+".app.boot.js")||e.includes(t.toLowerCase()+"-boot.js")||e.includes("owl."+t.toLowerCase()+".js")||e.includes("owl.js")||e.includes("owl."+t.toLowerCase()+".slim.js")||e.includes("owl.slim.js"))).forEach((t=>{const e=c.files[t];if(e&&2===e.length){const n=function(t,e,n,r){const s=document.createElement("link");return s.rel="prefetch",s.href=t,s.as="script",(n.includes("owl")||r)&&(s.crossOrigin="anonymous",s.integrity=e),s.id=n,s.onerror=()=>{l?.ULS.sendTraceTag(507326856,o.n.Fo,i.k.Warning,`Failed to prefetch ${n} from ${t}`),s.remove()},s}(`${s}/${e[0]}`,e[1],t,u);!function(t,e,n){setTimeout((()=>{t.appendChild(e)}),n)}(d,n,h+=f)}})))}})).catch((r=>{c>0?setTimeout((async()=>{await m(t,e,n,c-1)}),29e3):l?.ULS.sendTraceTag(507326857,o.n.Fo,i.k.Warning,`Fetching manifest from CDN failed for ${t} in ${e} with exposure ${n} with remaining retry count ${c}. Error: ${r}`)}))}},63496:function(t,e,n){var o;function i(t=""){const e=window.performance.getEntriesByName(o.OwlHostTimeOrigin)[0]?.detail;return window.performance.getEntriesByType("mark").filter((e=>e.name.startsWith(t))).reduce(((t,n)=>(n.name!==o.OwlHostTimeOrigin?t[n.name]=e+n.startTime:t[n.name]=e,t)),{})}function r(t){const e=t[o.OwlStart]||t[o.OwlWithCustomFunctionsStart],n=t[o.OwlOnBootComplete];return{totalTime:n-e,owlPerformanceTimeline:{...t,[o.OwlStart]:e,[o.OwlEnd]:n}}}n.d(e,{ls:function(){return o},nC:function(){return r},nu:function(){return i}}),function(t){t.OwlBootAppMessageSend="owlBootAppMessageSend",t.OwlBootAppMessageReceive="owlBootAppMessageReceive",t.OwlLoadedMessageSend="owlLoadedMessageSend",t.OwlLoadedMessageReceive="owlLoadedMessageReceive",t.OwlBootAppWithCustomFunctionsMessageSend="owlBootAppWithCustomFunctionsMessageSend",t.OwlBootAppWithCustomFunctionsMessageReceive="owlBootAppWithCustomFunctionsMessageReceive",t.OwlWithCustomFunctionsStart="owlWithCustomFunctionsStart",t.OwlWithCustomFunctionsEnd="owlWithCustomFunctionsEnd",t.OwlStart="owlStart",t.OwlEnd="owlEnd",t.OwlHostTimeOrigin="owlHostTimeOrigin",t.OwlWacBootStart="owlWacBootStart",t.OwlOnBootComplete="owlOnBootComplete"}(o||(o={}))},85087:function(t,e,n){n.d(e,{Z:function(){return r}});var o=n(63590),i=n(80899);class r{then(t,e){return this.Ai.then(t,e)}catch(t){return this.Ai.catch(t)}finally(t){return this.Ai.finally(t)}constructor(t){this.resolve=()=>{t?.ULS.sendTraceTag(507586270,o.n.Fo,i.k.Warning,"DeferredPromise.resolve() called before resolve function was set")},this.reject=e=>t?.ULS.sendTraceTag(507586269,o.n.Fo,i.k.Error,`DeferredPromise.reject() called before reject function was set. Error: ${e}`),this.Ai=new Promise(((t,e)=>{this.resolve=t,this.reject=e})),this.Ai.finally}}},72785:function(t,e,n){n.d(e,{H:function(){return i}});var o=n(63496);function i(){!(window.performance.getEntriesByName(o.ls.OwlHostTimeOrigin)?.length>0)&&window.performance.mark(o.ls.OwlHostTimeOrigin,{startTime:0,detail:window.performance.timeOrigin})}},60059:function(t,e,n){function o(t){return JSON.stringify(Object.fromEntries(t))}n.d(e,{c:function(){return o}})},15412:function(t,e,n){n.d(e,{t:function(){return c}});var o=n(63590),i=n(80899),r=n(87432),s=n(19909),a=n(81533);function c(t,e,n,c,u){(n||c)&&t.then((t=>{if(t){const f=function(t){const e=(0,r.dH)(t);return{region:e,dataBoundary:(0,a.y)(e)}}(t);if(n)try{const t=(0,s.yc)(e,f.dataBoundary);n.flushAndSetNewEndpoint(t,(()=>{n?.ULS.sendTraceTag(509612803,o.n.Fo,i.k.Info,`Updated ULS endpoint. Environment: ${e}, DataBoundary: ${f.dataBoundary}, Region: ${f.region}`)}))}catch(t){n.ULS.sendTraceTag(509875042,o.n.Fo,i.k.Warning,`Failed to identify data boundary-aware bULS endpoint. Error: ${t.message}`)}if(c)try{const t=(0,s.C6)(e,u,f.dataBoundary);c.flushAndSetNewEndpoint(t,(()=>{n?.ULS.sendTraceTag(509612802,o.n.Fo,i.k.Info,`Updated Health endpoint. Environment: ${e}, DataBoundary: ${f.dataBoundary}, Region: ${f.region}`)}))}catch(t){n?.ULS.sendTraceTag(509875041,o.n.Fo,i.k.Warning,`Failed to identify data boundary-aware Health endpoint. Error: ${t.message}`)}}})).catch((t=>{n?.ULS.sendTraceTag(509875042,o.n.Fo,i.k.Warning,`Failed to resolve app url promise. Error: ${t.message}`)}))}},71203:function(t,e,n){n.d(e,{Bp:function(){return h},Mn:function(){return m},_Q:function(){return c},g$:function(){return l},lt:function(){return f},rA:function(){return p},sH:function(){return u},vi:function(){return d}});const o=/http[s]?:\/\/[\S]*?\.sharepoint[\S]*?\.com/,i=/http[s]?:\/\/[\S]*?-my\.sharepoint[\S]*?\.com/,r=/http[s]?:\/\/d\.docs\.live\.net/,s="https://graph.microsoft.com",a=new RegExp(["^(https?:)//","(([^:/?#]*)(?::([0-9]+))?)","(/{0,1}[^?#]*)","(\\?[^#]*|)","(#.*|)$"].join(""));var c;function u(t){if(!t)return"";try{return decodeURIComponent(t)}catch(t){return""}}function f(t){return t?t.substring(0,t.lastIndexOf("/")):""}function l(t){if(t&&t.length){const e=t.match(a);if(e)return{href:t,protocol:e[1],host:e[2],hostname:e[3],port:e[4],path:e[5],search:e[6],hash:e[7]}}}function d(t){if(t&&t.length&&t.startsWith(s))return"Graph"}function h(t,e,n){let o=t,i="",r=!0;e&&(o={...e,...o});for(const t in o){const e=o[t];if(!n||"object"!=typeof e&&e||"object"==typeof e&&e&&e.uriValue||"number"==typeof e||"boolean"==typeof e){let n;r?r=!1:i+="&",n="object"==typeof e&&e&&e.uriValue?e.uriValue:encodeURIComponent(`${e}`),i+=`${t}=${n}`}}return i}function p(t){if(t&&t.length){if(t.match(i)||t.match(r))return c.OneDrive;if(t.match(o))return c.SharePoint}}function m(t,e){const n=t.toLowerCase(),o=function(t){const e=l(t);return e&&e.hostname||""}(e),i=function(t){const e=t.toLowerCase();return!e||e.startsWith("http:")||e.startsWith("https:")||e.startsWith("mailto:")||e.startsWith("sip:")||e.startsWith("tel:")||e.startsWith("im:")?e:"https://"+e}(o),r=f(e);let s;return s=0===n.indexOf("https://")||0===n.indexOf("http://")?n:"/"===n.charAt(0)?`${i}${n}`:`${r}/${n}`,s}!function(t){t.OneDrive="Documents",t.SharePoint="Sites"}(c||(c={}))},73885:function(t,e,n){n.d(e,{Q5:function(){return o},iz:function(){return i},r$:function(){return r}});let o=!1;function i(t){o=t}function r(){o=!1}new Map},48145:function(t,e,n){var o;n.d(e,{p:function(){return o}}),function(t){t.Excel="Excel",t.None="None",t.OneNote="OneNote",t.PowerPoint="PowerPoint",t.Visio="Visio",t.Word="Word"}(o||(o={}))}},r={};function s(t){var e=r[t];if(void 0!==e)return e.exports;var n=r[t]={id:t,exports:{}};return i[t](n,n.exports,s),n.exports}s.m=i,s.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return s.d(e,{a:e}),e},e=Object.getPrototypeOf?function(t){return Object.getPrototypeOf(t)}:function(t){return t.__proto__},s.t=function(n,o){if(1&o&&(n=this(n)),8&o)return n;if("object"==typeof n&&n){if(4&o&&n.__esModule)return n;if(16&o&&"function"==typeof n.then)return n}var i=Object.create(null);s.r(i);var r={};t=t||[null,e({}),e([]),e(e)];for(var a=2&o&&n;"object"==typeof a&&!~t.indexOf(a);a=e(a))Object.getOwnPropertyNames(a).forEach((function(t){r[t]=function(){return n[t]}}));return r.default=function(){return n},s.d(i,r),i},s.d=function(t,e){for(var n in e)s.o(e,n)&&!s.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},s.f={},s.e=function(t){return Promise.all(Object.keys(s.f).reduce((function(e,n){return s.f[n](t,e),e}),[]))},s.u=function(t){return"owl."+({103:"tr-tr-owl-strings-json",104:"bn-in-owl-strings-json",164:"nn-no-owl-strings-json",319:"ca-es-valencia-owl-strings-json",324:"as-in-owl-strings-json",360:"am-et-owl-strings-json",465:"te-in-owl-strings-json",484:"sv-se-owl-strings-json",501:"bs-latn-ba-owl-strings-json",535:"es-es-owl-strings-json",551:"uz-latn-uz-owl-strings-json",681:"eu-es-owl-strings-json",683:"tk-tm-owl-strings-json",825:"ru-ru-owl-strings-json",941:"mn-mn-owl-strings-json",949:"be-by-owl-strings-json",1120:"cs-cz-owl-strings-json",1200:"sr-cyrl-rs-owl-strings-json",1217:"ms-my-owl-strings-json",1250:"sq-al-owl-strings-json",1325:"de-de-owl-strings-json",1363:"fr-ca-owl-strings-json",1494:"lb-lu-owl-strings-json",1495:"pt-pt-owl-strings-json",1568:"zh-cn-owl-strings-json",1713:"ky-kg-owl-strings-json",1827:"da-dk-owl-strings-json",1836:"vi-vn-owl-strings-json",2077:"bg-bg-owl-strings-json",2094:"sd-arab-pk-owl-strings-json",2152:"nb-no-owl-strings-json",2178:"tt-ru-owl-strings-json",2217:"fi-fi-owl-strings-json",2253:"mr-in-owl-strings-json",2368:"hy-am-owl-strings-json",2443:"nl-nl-owl-strings-json",2527:"ml-in-owl-strings-json",2575:"fa-ir-owl-strings-json",2583:"or-in-owl-strings-json",2591:"az-latn-az-owl-strings-json",2624:"km-kh-owl-strings-json",3257:"qps-ploc-owl-strings-json",3264:"gu-in-owl-strings-json",3330:"mi-nz-owl-strings-json",3349:"ta-in-owl-strings-json",3508:"ko-kr-owl-strings-json",3589:"el-gr-owl-strings-json",3983:"prs-af-owl-strings-json",4061:"it-it-owl-strings-json",4111:"lv-lv-owl-strings-json",4139:"ka-ge-owl-strings-json",4290:"sl-si-owl-strings-json",4334:"et-ee-owl-strings-json",4423:"pl-pl-owl-strings-json",4650:"en-us-owl-strings-json",4722:"quz-pe-owl-strings-json",4890:"si-lk-owl-strings-json",5047:"mk-mk-owl-strings-json",5365:"mt-mt-owl-strings-json",5537:"uk-ua-owl-strings-json",5583:"is-is-owl-strings-json",5775:"kn-in-owl-strings-json",5807:"gd-gb-owl-strings-json",5850:"ar-sa-owl-strings-json",5953:"sw-ke-owl-strings-json",5994:"qps-plocm-owl-strings-json",6072:"kk-kz-owl-strings-json",6109:"id-id-owl-strings-json",6201:"pa-in-owl-strings-json",6281:"sr-latn-rs-owl-strings-json",6479:"kok-in-owl-strings-json",6599:"af-za-owl-strings-json",6720:"handlers",6895:"pt-br-owl-strings-json",6914:"es-mx-owl-strings-json",7063:"ca-es-owl-strings-json",7171:"fr-fr-owl-strings-json",7207:"th-th-owl-strings-json",7234:"cy-gb-owl-strings-json",7291:"lo-la-owl-strings-json",7479:"ur-pk-owl-strings-json",7717:"ga-ie-owl-strings-json",7761:"chr-cher-us-owl-strings-json",7923:"en-gb-owl-strings-json",8016:"zh-tw-owl-strings-json",8041:"hi-in-owl-strings-json",8234:"ja-jp-owl-strings-json",8303:"lt-lt-owl-strings-json",8375:"hr-hr-owl-strings-json",8461:"ro-ro-owl-strings-json",8664:"fil-ph-owl-strings-json",9015:"sk-sk-owl-strings-json",9059:"he-il-owl-strings-json",9094:"ug-cn-owl-strings-json",9134:"ne-np-owl-strings-json",9445:"bn-bd-owl-strings-json",9452:"msal",9770:"sr-cyrl-ba-owl-strings-json",9790:"gl-es-owl-strings-json",9894:"qps-ploca-owl-strings-json",9917:"hu-hu-owl-strings-json",9971:"ha-latn-ng-owl-strings-json"}[t]||t)+"."+{103:"b7b3114533409d867e36",104:"355d38101dd3f26f74f0",164:"4ac432f3d4ff9030fa58",319:"c025f1bbdb60b6e5a345",324:"4a88e92fe80a36f4b7f4",360:"0309beef2e6fb137109e",465:"1b303922e55eff59c354",484:"da56b2e9bc5146d8888c",501:"567c094ce2a348b1b5ef",535:"816acb9ccf1d9a22278c",551:"5db9b4bfe945386c111f",681:"8c04e64754d1a3f7af2b",683:"10befc853b9d5d9f26c3",825:"e329ae4829fe8fe5d5d0",941:"a37ebc03fe3a53d0bf0b",949:"790375aa4fc23062da46",1120:"9de0a80720119d5ef7f4",1200:"42a320e670c883ae9885",1217:"ffe5f26a4e807c0111e9",1250:"ba08fe78cfdc0d9c7041",1325:"85b69b29f79a5ea5cff7",1363:"50b1e399476746518eaa",1494:"c88fffd67e7642208747",1495:"c5127f78b56a3bec814c",1568:"cde065d187e8dd85084a",1713:"49b3fab7fed32570a86b",1827:"383cc7ddff9393695a1a",1836:"43b5f6f756877b6ed18c",2077:"84f8e44c573028508eae",2094:"5106d9795b0fd16fa7c7",2152:"63453237298a5e8eb125",2178:"242cf7aaa4ab0fcaee86",2217:"2052a7cae5019ffb2413",2253:"24c292272c54629c2668",2368:"f620b41968c54e83bec1",2443:"a6f0ff81544f07d9a809",2527:"f9fce1aff58202101c85",2575:"33642632b2a8d1221440",2583:"cde08e7dcddf4907b3bb",2591:"b53073921688406eca32",2624:"a26afea060715fb9a79c",3257:"a6432a393706a13ed01a",3264:"cb4c34c11477eee0b584",3330:"c3da5f2726762019c68a",3349:"7455d55a54edb1c6886c",3508:"7be1daa2a0630d87c284",3589:"95735b366ca524ae40fd",3983:"312cb9e98d130bc8b334",4061:"c4f2f6057a0ac19b5f70",4111:"2758d02d81d1f5fc2e5a",4139:"37250ce63241e3e43541",4290:"963ecc8b9b48811a2e24",4334:"a2a1fd9a0cb567d49e14",4423:"f813f9b493d268b00e7f",4650:"bbeff9ed4ffddcb1ac32",4722:"60a678989cc82cb9b869",4890:"70299c15925f7d9debff",5047:"80c209c5675e18eddc33",5365:"fa098e9c2552444021a4",5537:"a205ea6743dd89a34e54",5583:"1e6758af914e97584c39",5775:"5c0eba738acb87108c5b",5807:"e4cde1716bf41cd7ac53",5850:"7f82422f7c564d99e9b1",5953:"286bb2cf24b00a41bb3f",5994:"5b61471e7c86c222f936",6072:"30392e9d2721feeaa662",6109:"8b927d5c44f3cb23ce29",6201:"6f96b60e6b2d577cdb2c",6281:"957e4fadab24f2107dd3",6479:"c6b65bac2fbc917154af",6599:"d7719f2c8cd4727d3e98",6720:"eec74d329b5a284daaf1",6895:"0fc31595fa32450772a5",6914:"fc5aa7ba21de64b5e394",7063:"15125a05a2abdc51c38e",7171:"1313deaa5644dfd6b201",7207:"e60e0d5ce299d15c880f",7234:"2a1ba92ee32769d49b9a",7291:"1335955b5be36d930a3b",7479:"0d6272bee811c2a0956f",7717:"2c555445450cfc443b16",7761:"5ea0d659249fbc6e8f04",7923:"bc451322d0697a83f6e6",8016:"9294e21e4f9f7bb8c1a4",8041:"ba891b73e23ad7f4fc81",8234:"ed1ced9360daff616715",8303:"715ea191e64430d7686b",8361:"d5158fd5f5c421e358ee",8375:"6cd3d00d53775bfa5bca",8461:"53f3b9e695ab910f23f1",8664:"e7627f77c0449117b2f8",9015:"313fdf66d46c39d1c419",9059:"e4349ac437ae1e153682",9094:"481c71a45f01f2521050",9134:"ae9c3b51eabe966c892d",9445:"2dcc55c0aa00b18b985b",9452:"9596fa8a0c48c2405f9f",9770:"aa4b92c235689db76d75",9790:"8c986a204c8bc29b3cbe",9894:"cc4b5cae5a619a5f4b9e",9917:"e1e8418144c6382a3a94",9971:"c3851dd4b049c4f0b8ec"}[t]+".js"},s.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),s.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n={},o="Microsoft.Office.OWL:",s.l=function(t,e,i,r){if(n[t])n[t].push(e);else{var a,c;if(void 0!==i)for(var u=document.getElementsByTagName("script"),f=0;f<u.length;f++){var l=u[f];if(l.getAttribute("src")==t||l.getAttribute("data-webpack")==o+i){a=l;break}}a||(c=!0,(a=document.createElement("script")).charset="utf-8",a.timeout=120,s.nc&&a.setAttribute("nonce",s.nc),a.setAttribute("data-webpack",o+i),a.src=t,0!==a.src.indexOf(window.location.origin+"/")&&(a.crossOrigin="anonymous"),a.integrity=s.sriHashes[r],a.crossOrigin="anonymous"),n[t]=[e];var d=function(e,o){a.onerror=a.onload=null,clearTimeout(h);var i=n[t];if(delete n[t],a.parentNode&&a.parentNode.removeChild(a),i&&i.forEach((function(t){return t(o)})),e)return e(o)},h=setTimeout(d.bind(null,void 0,{type:"timeout",target:a}),12e4);a.onerror=d.bind(null,a.onerror),a.onload=d.bind(null,a.onload),c&&document.head.appendChild(a)}},s.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},function(){var t;s.g.importScripts&&(t=s.g.location+"");var e=s.g.document;if(!t&&e&&(e.currentScript&&(t=e.currentScript.src),!t)){var n=e.getElementsByTagName("script");if(n.length)for(var o=n.length-1;o>-1&&(!t||!/^http(s?):/.test(t));)t=n[o--].src}if(!t)throw new Error("Automatic publicPath is not supported in this browser");t=t.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),s.p=t}(),s.sriHashes={103:"sha384-YU7iW5mNX7PlkPorc/0E0yhrro6e0WGSwR3AXyLysQlqtkVs5vaMwmK0mWCYLBjc",104:"sha384-PQtpA1gCCbclxBSeqOPcAtlevUCA9N3EHAB5NbvB59Ptu4dnN8TepxhcTzm5/QfK",164:"sha384-IxolYV2m/Rbf5IhzLK+tL8t+m1f5Tqkf6/MKIGPlwXXmGWw/d7LJrZBQvdoGxYM9",319:"sha384-2Rcghwqn2YIZ9A0LREOEPWAPF23lfKdxWEQxgoLSMdOf9l5GTaSLbrP/ZyVIMng/",324:"sha384-itXFoOk1Cj3Ikp6fOaxTQnnBltQF+F5gg99zAApIw+HCZt9K3y4JnuQ8E0oVU0so",360:"sha384-GyAwt/FVmdDr6UnVCL+IFlDWkWi/Ie7Og9dkr/F5hXva56LOrI8zv8uUPWIlk6rp",465:"sha384-NVDmSW8TDpq0rnOFDaBDvLy5liSVwNfHhcSH3Si5Nor59e0FobQk4iKzvWb9lC+V",484:"sha384-tcFgLDG/UaJ4AOT3AvefjD/hvaWwK5GIkMvLnWMkzmvBnP6u9CyUjUYm1wnZUj8h",501:"sha384-L7mG7PSeEvOiEObgmY3zFt1z2vmM5esyb/UXKSmblBW0iwf5W5tf2oYch3mqsuR9",535:"sha384-GJCI32bwwOJ5NPrds6NwnCY42lLkFFUT91DmgZ/lqKFAqWlgJ8aHr/3FqDPagRyz",551:"sha384-HDDRwAGN6PsmKz6TCRjKPvpdPG+y6H1VZflovD5kbMGHd9i5tfVt5bWrnnbhoID8",681:"sha384-fcu2j2Kkc6yGCCQaCQVw4S+YL/PIhgmzwxLGqMiiTa/2brCzAS1TWNq+P7Fnps0L",683:"sha384-jq0UTDfivqP1xXf8I28imafnq5yE6ewprXu/dr8GhVbxLLympPxvx2sMu1Pfw4rP",825:"sha384-Wi2TovT+xPj6dDY8dg3sdxjYfxz3HRx1UaTQX4l/OodeVMhwh72u76JZcEky+shs",941:"sha384-xt+BamQis6IU+FCUjEmwpDAF+BKYMJPV8rCIuLAL5wgoxxzm/2/kbTYB9lmyrhMM",949:"sha384-w6MHkIDfOMyq2riYp8oof4zApTwIdLrdyUn//Mx51iErF2Ktm3i923Has5b88IHz",1120:"sha384-9R2EYZJ0no9dmuztmF9bInsqGb3rUQRtd1LP/sGtNu4dTEmMwQCmWAeT0Y2Vp+ib",1200:"sha384-aKxbVsqA7Dq1rg6mG6FjKPLRJotVCr0YGJS4fdsX9HUtgH3H1sSmOolNG9iN62T8",1217:"sha384-pqY9GO6mQpMGbxCE+4Wvi7ab6b8qaD3NRXLUkKQT1I9hz8Rr19OG38UPYd/ijalW",1250:"sha384-C78c8gzlqZkn3MiHenj1PS4BDR570EeafNmW0ZwGt81qB4JGTXm1E4AJSW0fIpJ6",1325:"sha384-VaUzDNHfI+cbEp9y33STl0H3ykIIxiyBxUAdhiTIkGcfyYVAci8yPOOeUv+9OpbN",1363:"sha384-doe9RSNxCTJ5t85b/wnntM6IHdFmsGZax+a+lO1DxNeUBWcBX4aEFkOnKDNKG7GF",1494:"sha384-CvmG48+f96yujvQQew6rBFIsfTIWALsLAsPxozDZRmnJhtaSapUXINd8vbNdfF2/",1495:"sha384-tBox8/hfD7n+6pNM/zcfGHYg9unRcyOTlT2uit2zu7+Ts8uTyfr+JP7lup8boBHn",1568:"sha384-kWEXeWntoC8juwax8ElJs4tW7JPeGwPnnlRRa+snTWl073cbc3POoO0ZdKBCntTG",1713:"sha384-LMW9TszDhLuDgYrFx+hMB30Wxr4wfkb9JYOckZJREWcP4sR5/Q/erxCeAq660D1a",1827:"sha384-bCMJvwCIAMblPyMDJSUJq190f6yaqBafCIIjZrG0Go++YZMAHvYrEd9OA9l8s2z/",1836:"sha384-F0xLAxBkT0Zpx15c8jMAAIATZHQ9CsjkmLCLO+M8sWZGCdQ5OsD3GIOOOehBE3m0",2077:"sha384-Nx0L4G78wTqBIi8CI0Mb0g7wZ1QQHs+8c+n/zSRWkhpUrQ/9XUfo8zGUfXrn6WYr",2094:"sha384-66zBdjoavtd//jph1tB+bfg3JwRDDf1tQ54PIu00y5H5q1HRvF9mYKcC95Ff2Xsi",2152:"sha384-S32DuYEy8J9sjMEMYViVxqKsjkusARBDbR1y36f76zamgrwNGULyblYVm7kqkuu2",2178:"sha384-y5YGIttUW02QW0BifEwTICQEPRL2rxVJItrok8dL+le60eNlxGJ4N11ZNTq3F4Sa",2217:"sha384-c/7yAvFCAHYdBii/Y5QCfdsIAOvCHm8petVidGuR3pZOpw8hpFWqg3AzkNVlytHl",2253:"sha384-vMl8y0hIkZc+Gj5ufr35myU74xRySbjGm0/Z2axJ9HvBmzo6D8DtnHeN/sCrBtYO",2368:"sha384-SH9G1hlMXxt8PYOR2vgdHOZi0O+3N9uVJR3ocpodhvk84sxTjwozaBHLR3eivl7s",2443:"sha384-Y7elz2mI9zx9KowSpDwzQqG1DiZkVMLRV/Vj5y1h5FoAUqTyj0ZE4B0rBfoaEoVY",2527:"sha384-lb7m7QZQF7M+X4RsPs6ue30w9+1AwuIPRDnrBm3o1aXYrSbziWk+nf1wXHTBQdyF",2575:"sha384-c7OXraNOCiLkM3vRAq1CPfERoGsxRMXcs20r3j0+C3deuUxLcpOi0g0Vfl6YpfCX",2583:"sha384-ofnvvi4zJzA9GEA3nu6drHw4KgfUE8EuysSnmdb2Cu0xrl+7im8/Oc6PnGK7jIk7",2591:"sha384-V17Noe3qTKFudO+rZ/KAciv8CrVll8M72RFma7DQTQyfD6C0WkE2N6yrZ2hka3WS",2624:"sha384-H7QTDEc3g6YGqc15+dqpF43zq96Z645jPsUGKufmJpj2BgOedoYuV24ev7Nq1drD",3257:"sha384-/KqHcweEdhoS7SFgDFssSwjQ8fR36abZ+MQKXIutxnn3nYWJai8dWMj3OpXDl2XC",3264:"sha384-SXVx2yCo3YiK0l83EDslhBeGJGBtyUpY/hfrAny2fGpBEvxWTeVbZjuOX6QiKqsA",3330:"sha384-xA96/UOF3gSyb2hS3eYpAIeaez3Sd8CYkWODJNME8A3afko5wpookaRXjVnQCnaa",3349:"sha384-b2XW139OVO4g71JoExEGfrAUbK7h+eTp/OTZ2IO7K60Cerctt8dDJYCkBPK67KxZ",3508:"sha384-2nWQFJJw95dIUL/HxhTltajXMgfCDG4/dNImj9Xzc4DyAEHoXWoXaJiilNiTrIVA",3589:"sha384-re8v32QXj2ucc64BPJ6tCmlRUkEn68pfx/nRc0fZ0nc2aC9QM6DZ3FtMV5kTkefS",3983:"sha384-ybGo5+F7+fd0t/iByxKLwVXo6mpbu0ILyaR2kU/mLxfRl/qwv4Jsw/uuzRG4WQZg",4061:"sha384-uuqzNZieabiYH57OkBNryIavGk8stZ+l0ddu0WgbzlHq4/dzS0TKoHEzcNEAmgHR",4111:"sha384-pMJC/FDrefVcllpKvm7OqU9MfdizBm7Sy3cAQavJQ/sPdM4mck4911yo6NTZhtqr",4139:"sha384-/9R10SSWxz6mmfyHDZtKx9WS0c9QS2VJIPqCut+gkJHyuGUG8OeGzOght+lJOsU+",4290:"sha384-9k5F9UrEQ/sL77J00iRDNKM97v/hMXZszDjqUT+3QyAdeb/rlcGT9Km0kQcm0znh",4334:"sha384-OnW0gts8Qu60ZzmC4Sj5lFLishNQx+bBr4gbn1nBRr7JYdeVei1SfWostJzia//8",4423:"sha384-+pP+3VKqD+LCuUfjogipthLQekpXMqfPxhQu1170889j9CBbvSUgJOWsLSYUd9XO",4650:"sha384-UFfJpHUxGhuzAcBbCt4tDJKxIxDSmwWITrvHwwkpj/SF5X/MZYShqTcK5H+vg4F2",4722:"sha384-IvOFbmF85jhXc8O+wJT+hQWiULoYmC1AjYRn/Tqp06lz2P+SW3fAnN6HuvJ9dFfn",4890:"sha384-2X8Sr/vX+sWOVMbfKhPltiwXAff0j35OZOlODsI7c4/nnEUMMikVMy2jwAW4Ylu9",5047:"sha384-Wa4PkCQT5pZherbOCm7GvJrDVtgv/8dmnGCtnW2TKKRKkLK9SZ6UDFVeLHDLa69i",5365:"sha384-3uoYdip4h+W8Hx6FiQejnHh1RCFoxwabk6QnZTwhUcwFepSobom6Lcn0pHhFOQBi",5537:"sha384-ENVZT+U2n/Zz+yDVcS3504Oil77gNmwJjulWvMPz39vMJcOQV1hUGCz5rCi3lOZx",5583:"sha384-krSeyR0R1Vmz5/cnG7DnM6eYtlFPezPZ9A0MQvv8Ax/1LGIFNfu6cN8L/WGh2Imj",5775:"sha384-HKieI9kv97galCrFw1bsKS48MN5B5v1nm/DkJexMw6oOuqd4vgI9RXabaRfC6ayC",5807:"sha384-GKCP12ZiQsNSd1tGRKf2h/NuYXJAHrAd/vMqpcqXX2Ara7bRKilY6/lkRQyVAL6n",5850:"sha384-qx1cXByOXnucNT/yVpoRfbKJTYKPK0lEAwiQQJh8wp/8vz+TqrQuC1xPc3qZQEuf",5953:"sha384-8Yur9mfgaaZTPVzGBLrsP3TpsF4DisxBFQONJOQo+wv0MhOxbv/yDzYcJ3Q/M/c0",5994:"sha384-M/O6qdFE9OwNQAg+osQxxNpx+rue2JD7HVUmtnU0Rg/tMCI+42xfHU4rySSDz5oq",6072:"sha384-XwBcSxj5T4hLUGLR/NgyF3xRUVVBx6yV9Dq5bZii9NdMPOjgPKo44647LVdmeDGB",6109:"sha384-6XZqAAKCQTOgNRMUkZ0Yb2GwJalaQTG9Ry48musv/rtVmMs/tzq7gPOJCSTQ12SK",6201:"sha384-O1AEIkB4n36PICft86zp0PykeZmOCYotMkxaeVpi+LwwsiErUJj1uGfHpHceV5Mo",6281:"sha384-q13XRgZW1gY4hVRVIqV2INV4mAWS87EOWIZigBLVKzbJVbWZ69ZXD6BwNghJuxmI",6479:"sha384-Hlj8BGbIceUNTj/mmrwUct1M3zz1XFHsaehKVJ9+l3YB+RydwFgoHe5CJ5KvCMWa",6599:"sha384-tCbbYHPZxcqC06/5qXGXtHmB15AjbKavfybJLQxgy+nvj0PinrhB5axn4kISwvlV",6720:"sha384-i22j7w1W7zZsu7d6mH8PM4fX7J5Su5ZV9wRvbXL+dpGQhaZfoq1PEkgm5ddtdVDY",6895:"sha384-/chXN4npyaae4tzGN9av4wgrJGk/kDMvZKMmD26+13JUpLuXbHmsitGn1KIYljtm",6914:"sha384-CNFxtBoTavQ8g75XdTJoKLgRRxDv/2bg8E+cUvvV4FcfgbDq9vbJqvzT/8ZLHpoV",7063:"sha384-IZuzDyABHZHEEsTx6kn+6d6h/Rkjp4Z8pmaPTYLxIo3MQtCLuL1d9Y0nW5R45rFb",7171:"sha384-mw/FOMibu/LoXOaiIY7udqnWUSiI3VlluJtSYpgrGQ0h+tYIsRV3Qw5dohL/mKaf",7207:"sha384-ZJ5ywtIbLnobk0UAk+EnVCMZWjv4BRruAg00sZNVMMC/0A5mpvKiAkolihjUdkiY",7234:"sha384-fc7KT6YUqPDAgRJ3Ic2HKHur1tmvlp1AfYdOuWKSdsJB9eW8L/iD+67mqH4Frboq",7291:"sha384-3OIzfwkwD7qhgAj34O+LhO47sjSCCPfiXJ71Ybr9l8rSlR9ugcre+kWmShofE+8a",7479:"sha384-pJwYngM8pm+UgNMK74NJq4xXr1B3ekgWavPwjUfk6qxXBM3TZ3IYEFwwY0q6boWr",7717:"sha384-Lv+/eKOTEZyv+G0QJfwWRr7eob5aBJ6HoLFxsJkORu3e5U1PUKnbjQobUPJVnUD2",7761:"sha384-EvJ0bo/6FZ49D0VvXlS6YDfDRwxp4uDR+odfP45bxdEAvqOqp6YO3APplsuTfOIf",7923:"sha384-PQO106BxSU4Wvm4ChrlK9IvgR4WKyIKzk7uw9U3+0vu4CYm1GjKq4VjiV1nhz+qQ",8016:"sha384-6f9lMKrQKxotf+f1PmNZqDZLwLaDod0g7/5fLiyLBwfLh8bdbWU5Ig/v7Vw4L+9E",8041:"sha384-xYtMqjpV8BtwAY2z3IuTa9fwiCiQNp5Vz3N5VMnszz2CNXwyMNV0h0LOKMOiUVge",8234:"sha384-d07l8mNBCrR8j5osjJn0W51HB6qosy61+2Nezc/RALhuwyw1fSXxD6VV7209NWhS",8303:"sha384-kP+MDiWpJA7pTnW7eccVGH1t4ZffUyoXZzof5FQZbB4P9YTbSoBOXgySkF2rG8zf",8361:"sha384-isuqQAvHvVcwdJf66SyNWjK9QvrQZr4I6AMaqEb87i3A7CgXqkNYDJPHu38aeclT",8375:"sha384-UqGWF3d9NGDBePVxlNA/omKRpCXw90ZXWdqLx+x2sBkZy/S0SuhuKG5A+8gERv2/",8461:"sha384-2VZUp4kdfBnKKpOpYlrinVxecP0D4WOtW3BmS7gqJbbM4sSqMATvMBvnjpf+c3P7",8664:"sha384-CD9hIo4TwICp6rR4xhPvnvkTtH39NfUMt9FDJel17L1iUlyslUst7AMucdyfm0iJ",9015:"sha384-C7u1dMCvGk4JchHXrFykN9iTAvyyXLvymmJ5n9N6uof1+rqa3rE948RpXSqZ3+t3",9059:"sha384-6RXK+a8XeCSE4xSEjdT9jls08YFmJx+7ACQWRd0n/JkH/uwgD7Xkd/vBgjoDBGTs",9094:"sha384-YehtMetuuKAJ9wkXdtFqdZuFjavj6FVzfwpB68Vy1v577e7TI6+5sYmPYDAaXYhj",9134:"sha384-rtb9Bxo6FHvEAuTiw6Jtac4s0Gyev1U1k7q+sJLDoT0ZSsZhC8Jt7GPPSpyrvxYA",9445:"sha384-WwGsPPQHdVX/kSknk3VqfnehPBgQNsL6Q2qp89KZ5POBce8PK0iMtMA7duG+Pu7i",9452:"sha384-kSScJLU2ifpmATGsBPCYYwGp+765rrsP6rISJZ4BvulhaMwtFzYYl0DlK/lIA5Af",9770:"sha384-+qmcNpe6ae4YsnDGud+0iR3WFPmycu5eS9+MZQP9IXOVP1W7HAVYC4v+pIrMUvRN",9790:"sha384-zNflMZT9zcNQbx82yg7lddnQoSY3qbmgdSYOfrMvRGaT6oInHVciP/dQMUI2sJ6J",9894:"sha384-JGP4whMgtinz9BeVF2aQKDZgBmeqLV8l/0soywcpqgEQQUSmHvdYuEy5EZJ5u6sR",9917:"sha384-JfIxilnQy8FrM+V06FLvdeiThcG+B+z0Jj97RaxBuUN4JZ8Y/0Pu7SefSTjjzBlX",9971:"sha384-mqAIjJQPhmIkhi+CFGqSJNqu/eB6sjReLV6heTnwHmPhgrZYFMQMKs2KWMeeNMT4"},function(){if(void 0!==s){var t=s.u,e=s.e,n={},o={};s.u=function(e){return t(e)+(n.hasOwnProperty(e)?"?"+n[e]:"")},s.e=function(i){return e(i).catch((function(e){var r=o.hasOwnProperty(i)?o[i]:5;if(r<1){var a=t(i);throw e.message="Loading chunk "+i+" failed after 5 retries.\n("+a+")",e.request=a,e}return new Promise((function(t){var e=5-r+1;setTimeout((function(){var a="cache-bust=true&retry-attempt="+e;n[i]=a,o[i]=r-1,t(s.e(i))}),0)}))}))}}}(),function(){var t={728:0};s.f.j=function(e,n){var o=s.o(t,e)?t[e]:void 0;if(0!==o)if(o)n.push(o[2]);else{var i=new Promise((function(n,i){o=t[e]=[n,i]}));n.push(o[2]=i);var r=s.p+s.u(e),a=new Error;s.l(r,(function(n){if(s.o(t,e)&&(0!==(o=t[e])&&(t[e]=void 0),o)){var i=n&&("load"===n.type?"missing":n.type),r=n&&n.target&&n.target.src;a.message="Loading chunk "+e+" failed.\n("+i+": "+r+")",a.name="ChunkLoadError",a.type=i,a.request=r,o[1](a)}}),"chunk-"+e,e)}};var e=function(e,n){var o,i,[r,a,c]=n,u=0;if(r.some((function(e){return 0!==t[e]}))){for(o in a)s.o(a,o)&&(s.m[o]=a[o]);c&&c(s)}for(e&&e(n);u<r.length;u++)i=r[u],s.o(t,i)&&t[i]&&t[i][0](),t[i]=0},n=globalThis.webpackChunkMicrosoft_Office_OWL=globalThis.webpackChunkMicrosoft_Office_OWL||[];n.forEach(e.bind(null,0)),n.push=e.bind(null,n.push.bind(n))}(),s.nc=void 0;var a={};!function(){s.r(a),s.d(a,{bootDocumentWithCustomFunctions:function(){return t.gv},completeCreateNew:function(){return t.cv},initPackage:function(){return t.BK}});var t=s(9595);s.nc=window.nonce}(),((Microsoft=void 0===Microsoft?{}:Microsoft).Office=Microsoft.Office||{}).OWL=a}();