/* Minification failed. Returning unminified contents.
(45,111720-111727): run-time error JS1019: Can't have 'break' outside of loop: break e
(45,98828-98835): run-time error JS1019: Can't have 'break' outside of loop: break e
 */
!function(e){var t={};function n(o){if(t[o])return t[o].exports;var r=t[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(o,r,function(t){return e[t]}.bind(null,r));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/",n(n.s=196)}([function(e,t,n){"use strict";e.exports=n(202)},function(e,t,n){"use strict";var o=n(10),r=n(217),i=n(34),a=n(50),s=function(){function e(e){this._isScalar=!1,e&&(this._subscribe=e)}return e.prototype.lift=function(t){var n=new e;return n.source=this,n.operator=t,n},e.prototype.subscribe=function(e,t,n){var o=this.operator,i=r.toSubscriber(e,t,n);if(o?o.call(i,this.source):i.add(this.source||!i.syncErrorThrowable?this._subscribe(i):this._trySubscribe(i)),i.syncErrorThrowable&&(i.syncErrorThrowable=!1,i.syncErrorThrown))throw i.syncErrorValue;return i},e.prototype._trySubscribe=function(e){try{return this._subscribe(e)}catch(t){e.syncErrorThrown=!0,e.syncErrorValue=t,e.error(t)}},e.prototype.forEach=function(e,t){var n=this;if(t||(o.root.Rx&&o.root.Rx.config&&o.root.Rx.config.Promise?t=o.root.Rx.config.Promise:o.root.Promise&&(t=o.root.Promise)),!t)throw new Error("no Promise impl found");return new t((function(t,o){var r;r=n.subscribe((function(t){if(r)try{e(t)}catch(e){o(e),r.unsubscribe()}else e(t)}),o,t)}))},e.prototype._subscribe=function(e){return this.source.subscribe(e)},e.prototype[i.observable]=function(){return this},e.prototype.pipe=function(){for(var e=[],t=0;t<arguments.length;t++)e[t-0]=arguments[t];return 0===e.length?this:a.pipeFromArray(e)(this)},e.prototype.toPromise=function(e){var t=this;if(e||(o.root.Rx&&o.root.Rx.config&&o.root.Rx.config.Promise?e=o.root.Rx.config.Promise:o.root.Promise&&(e=o.root.Promise)),!e)throw new Error("no Promise impl found");return new e((function(e,n){var o;t.subscribe((function(e){return o=e}),(function(e){return n(e)}),(function(){return e(o)}))}))},e.create=function(t){return new e(t)},e}();t.Observable=s},function(e,t,n){"use strict";var o=this&&this.__extends||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);function o(){this.constructor=e}e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},r=n(32),i=n(7),a=n(78),s=n(33),c=function(e){function t(t,n,o){switch(e.call(this),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=a.empty;break;case 1:if(!t){this.destination=a.empty;break}if("object"==typeof t){if(u(t)){var r=t[s.rxSubscriber]();this.syncErrorThrowable=r.syncErrorThrowable,this.destination=r,r.add(this)}else this.syncErrorThrowable=!0,this.destination=new l(this,t);break}default:this.syncErrorThrowable=!0,this.destination=new l(this,t,n,o)}}return o(t,e),t.prototype[s.rxSubscriber]=function(){return this},t.create=function(e,n,o){var r=new t(e,n,o);return r.syncErrorThrowable=!1,r},t.prototype.next=function(e){this.isStopped||this._next(e)},t.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},t.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this))},t.prototype._next=function(e){this.destination.next(e)},t.prototype._error=function(e){this.destination.error(e),this.unsubscribe()},t.prototype._complete=function(){this.destination.complete(),this.unsubscribe()},t.prototype._unsubscribeAndRecycle=function(){var e=this._parent,t=this._parents;return this._parent=null,this._parents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parent=e,this._parents=t,this},t}(i.Subscription);t.Subscriber=c;var l=function(e){function t(t,n,o,i){var s;e.call(this),this._parentSubscriber=t;var c=this;r.isFunction(n)?s=n:n&&(s=n.next,o=n.error,i=n.complete,n!==a.empty&&(c=Object.create(n),r.isFunction(c.unsubscribe)&&this.add(c.unsubscribe.bind(c)),c.unsubscribe=this.unsubscribe.bind(this))),this._context=c,this._next=s,this._error=o,this._complete=i}return o(t,e),t.prototype.next=function(e){if(!this.isStopped&&this._next){var t=this._parentSubscriber;t.syncErrorThrowable?this.__tryOrSetError(t,this._next,e)&&this.unsubscribe():this.__tryOrUnsub(this._next,e)}},t.prototype.error=function(e){if(!this.isStopped){var t=this._parentSubscriber;if(this._error)t.syncErrorThrowable?(this.__tryOrSetError(t,this._error,e),this.unsubscribe()):(this.__tryOrUnsub(this._error,e),this.unsubscribe());else{if(!t.syncErrorThrowable)throw this.unsubscribe(),e;t.syncErrorValue=e,t.syncErrorThrown=!0,this.unsubscribe()}}},t.prototype.complete=function(){var e=this;if(!this.isStopped){var t=this._parentSubscriber;if(this._complete){var n=function(){return e._complete.call(e._context)};t.syncErrorThrowable?(this.__tryOrSetError(t,n),this.unsubscribe()):(this.__tryOrUnsub(n),this.unsubscribe())}else this.unsubscribe()}},t.prototype.__tryOrUnsub=function(e,t){try{e.call(this._context,t)}catch(e){throw this.unsubscribe(),e}},t.prototype.__tryOrSetError=function(e,t,n){try{t.call(this._context,n)}catch(t){return e.syncErrorValue=t,e.syncErrorThrown=!0,!0}return!1},t.prototype._unsubscribe=function(){var e=this._parentSubscriber;this._context=null,this._parentSubscriber=null,e.unsubscribe()},t}(c);function u(e){return e instanceof c||"syncErrorThrowable"in e&&e[s.rxSubscriber]}},function(e,t,n){"use strict";var o=this&&this.__extends||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);function o(){this.constructor=e}e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},r=function(e){function t(){e.apply(this,arguments)}return o(t,e),t.prototype.notifyNext=function(e,t,n,o,r){this.destination.next(t)},t.prototype.notifyError=function(e,t){this.destination.error(e)},t.prototype.notifyComplete=function(e){this.destination.complete()},t}(n(2).Subscriber);t.OuterSubscriber=r},function(e,t,n){"use strict";var o=n(10),r=n(80),i=n(81),a=n(76),s=n(1),c=n(23),l=n(218),u=n(34);t.subscribeToResult=function(e,t,n,d){var p=new l.InnerSubscriber(e,n,d);if(p.closed)return null;if(t instanceof s.Observable)return t._isScalar?(p.next(t.value),p.complete(),null):(p.syncErrorThrowable=!0,t.subscribe(p));if(r.isArrayLike(t)){for(var h=0,f=t.length;h<f&&!p.closed;h++)p.next(t[h]);p.closed||p.complete()}else{if(i.isPromise(t))return t.then((function(e){p.closed||(p.next(e),p.complete())}),(function(e){return p.error(e)})).then(null,(function(e){o.root.setTimeout((function(){throw e}))})),p;if(t&&"function"==typeof t[c.iterator])for(var m=t[c.iterator]();;){var g=m.next();if(g.done){p.complete();break}if(p.next(g.value),p.closed)break}else if(t&&"function"==typeof t[u.observable]){var b=t[u.observable]();if("function"==typeof b.subscribe)return b.subscribe(new l.InnerSubscriber(e,n,d));p.error(new TypeError("Provided object does not correctly implement Symbol.observable"))}else{var y="You provided "+(a.isObject(t)?"an invalid object":"'"+t+"'")+" where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.";p.error(new TypeError(y))}}return null}},function(e,t,n){"use strict";var o=n(27),r=n(28);t.async=new r.AsyncScheduler(o.AsyncAction)},function(e,t,n){"use strict";var o=this&&this.__extends||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);function o(){this.constructor=e}e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},r=n(1),i=n(2),a=n(7),s=n(35),c=n(79),l=n(33),u=function(e){function t(t){e.call(this,t),this.destination=t}return o(t,e),t}(i.Subscriber);t.SubjectSubscriber=u;var d=function(e){function t(){e.call(this),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}return o(t,e),t.prototype[l.rxSubscriber]=function(){return new u(this)},t.prototype.lift=function(e){var t=new p(this,this);return t.operator=e,t},t.prototype.next=function(e){if(this.closed)throw new s.ObjectUnsubscribedError;if(!this.isStopped)for(var t=this.observers,n=t.length,o=t.slice(),r=0;r<n;r++)o[r].next(e)},t.prototype.error=function(e){if(this.closed)throw new s.ObjectUnsubscribedError;this.hasError=!0,this.thrownError=e,this.isStopped=!0;for(var t=this.observers,n=t.length,o=t.slice(),r=0;r<n;r++)o[r].error(e);this.observers.length=0},t.prototype.complete=function(){if(this.closed)throw new s.ObjectUnsubscribedError;this.isStopped=!0;for(var e=this.observers,t=e.length,n=e.slice(),o=0;o<t;o++)n[o].complete();this.observers.length=0},t.prototype.unsubscribe=function(){this.isStopped=!0,this.closed=!0,this.observers=null},t.prototype._trySubscribe=function(t){if(this.closed)throw new s.ObjectUnsubscribedError;return e.prototype._trySubscribe.call(this,t)},t.prototype._subscribe=function(e){if(this.closed)throw new s.ObjectUnsubscribedError;return this.hasError?(e.error(this.thrownError),a.Subscription.EMPTY):this.isStopped?(e.complete(),a.Subscription.EMPTY):(this.observers.push(e),new c.SubjectSubscription(this,e))},t.prototype.asObservable=function(){var e=new r.Observable;return e.source=this,e},t.create=function(e,t){return new p(e,t)},t}(r.Observable);t.Subject=d;var p=function(e){function t(t,n){e.call(this),this.destination=t,this.source=n}return o(t,e),t.prototype.next=function(e){var t=this.destination;t&&t.next&&t.next(e)},t.prototype.error=function(e){var t=this.destination;t&&t.error&&this.destination.error(e)},t.prototype.complete=function(){var e=this.destination;e&&e.complete&&this.destination.complete()},t.prototype._subscribe=function(e){return this.source?this.source.subscribe(e):a.Subscription.EMPTY},t}(d);t.AnonymousSubject=p},function(e,t,n){"use strict";var o=n(13),r=n(76),i=n(32),a=n(9),s=n(8),c=n(77),l=function(){function e(e){this.closed=!1,this._parent=null,this._parents=null,this._subscriptions=null,e&&(this._unsubscribe=e)}var t;return e.prototype.unsubscribe=function(){var e,t=!1;if(!this.closed){var n=this._parent,l=this._parents,d=this._unsubscribe,p=this._subscriptions;this.closed=!0,this._parent=null,this._parents=null,this._subscriptions=null;for(var h=-1,f=l?l.length:0;n;)n.remove(this),n=++h<f&&l[h]||null;if(i.isFunction(d))a.tryCatch(d).call(this)===s.errorObject&&(t=!0,e=e||(s.errorObject.e instanceof c.UnsubscriptionError?u(s.errorObject.e.errors):[s.errorObject.e]));if(o.isArray(p))for(h=-1,f=p.length;++h<f;){var m=p[h];if(r.isObject(m))if(a.tryCatch(m.unsubscribe).call(m)===s.errorObject){t=!0,e=e||[];var g=s.errorObject.e;g instanceof c.UnsubscriptionError?e=e.concat(u(g.errors)):e.push(g)}}if(t)throw new c.UnsubscriptionError(e)}},e.prototype.add=function(t){if(!t||t===e.EMPTY)return e.EMPTY;if(t===this)return this;var n=t;switch(typeof t){case"function":n=new e(t);case"object":if(n.closed||"function"!=typeof n.unsubscribe)return n;if(this.closed)return n.unsubscribe(),n;if("function"!=typeof n._addParent){var o=n;(n=new e)._subscriptions=[o]}break;default:throw new Error("unrecognized teardown "+t+" added to Subscription.")}return(this._subscriptions||(this._subscriptions=[])).push(n),n._addParent(this),n},e.prototype.remove=function(e){var t=this._subscriptions;if(t){var n=t.indexOf(e);-1!==n&&t.splice(n,1)}},e.prototype._addParent=function(e){var t=this._parent,n=this._parents;t&&t!==e?n?-1===n.indexOf(e)&&n.push(e):this._parents=[e]:this._parent=e},e.EMPTY=((t=new e).closed=!0,t),e}();function u(e){return e.reduce((function(e,t){return e.concat(t instanceof c.UnsubscriptionError?t.errors:t)}),[])}t.Subscription=l},function(e,t,n){"use strict";t.errorObject={e:{}}},function(e,t,n){"use strict";var o,r=n(8);function i(){try{return o.apply(this,arguments)}catch(e){return r.errorObject.e=e,r.errorObject}}t.tryCatch=function(e){return o=e,i}},function(e,t,n){"use strict";(function(e){var n="undefined"!=typeof window&&window,o="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,r=n||void 0!==e&&e||o;t.root=r,function(){if(!r)throw new Error("RxJS could not find any global context (window, self, global)")}()}).call(this,n(21))},function(e,t,n){e.exports=n(206)()},function(e,t,n){"use strict";t.isScheduler=function(e){return e&&"function"==typeof e.schedule}},function(e,t,n){"use strict";t.isArray=Array.isArray||function(e){return e&&"number"==typeof e.length}},function(e,t,n){"use strict";n.r(t),n.d(t,"createStore",(function(){return T})),n.d(t,"combineReducers",(function(){return I})),n.d(t,"bindActionCreators",(function(){return E})),n.d(t,"applyMiddleware",(function(){return D})),n.d(t,"compose",(function(){return N}));var o=n(194),r="object"==typeof self&&self&&self.Object===Object&&self,i=(o.a||r||Function("return this")()).Symbol,a=Object.prototype,s=a.hasOwnProperty,c=a.toString,l=i?i.toStringTag:void 0;var u=function(e){var t=s.call(e,l),n=e[l];try{e[l]=void 0;var o=!0}catch(e){}var r=c.call(e);return o&&(t?e[l]=n:delete e[l]),r},d=Object.prototype.toString;var p=function(e){return d.call(e)},h=i?i.toStringTag:void 0;var f=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":h&&h in Object(e)?u(e):p(e)};var m=function(e,t){return function(n){return e(t(n))}}(Object.getPrototypeOf,Object);var g=function(e){return null!=e&&"object"==typeof e},b=Function.prototype,y=Object.prototype,v=b.toString,_=y.hasOwnProperty,S=v.call(Object);var C=function(e){if(!g(e)||"[object Object]"!=f(e))return!1;var t=m(e);if(null===t)return!0;var n=_.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&v.call(n)==S},x=n(73),w="@@redux/INIT";function T(e,t,n){var o;if("function"==typeof t&&void 0===n&&(n=t,t=void 0),void 0!==n){if("function"!=typeof n)throw new Error("Expected the enhancer to be a function.");return n(T)(e,t)}if("function"!=typeof e)throw new Error("Expected the reducer to be a function.");var r=e,i=t,a=[],s=a,c=!1;function l(){s===a&&(s=a.slice())}function u(){return i}function d(e){if("function"!=typeof e)throw new Error("Expected listener to be a function.");var t=!0;return l(),s.push(e),function(){if(t){t=!1,l();var n=s.indexOf(e);s.splice(n,1)}}}function p(e){if(!C(e))throw new Error("Actions must be plain objects. Use custom middleware for async actions.");if(void 0===e.type)throw new Error('Actions may not have an undefined "type" property. Have you misspelled a constant?');if(c)throw new Error("Reducers may not dispatch actions.");try{c=!0,i=r(i,e)}finally{c=!1}for(var t=a=s,n=0;n<t.length;n++){(0,t[n])()}return e}return p({type:w}),(o={dispatch:p,subscribe:d,getState:u,replaceReducer:function(e){if("function"!=typeof e)throw new Error("Expected the nextReducer to be a function.");r=e,p({type:w})}})[x.a]=function(){var e,t=d;return(e={subscribe:function(e){if("object"!=typeof e)throw new TypeError("Expected the observer to be an object.");function n(){e.next&&e.next(u())}return n(),{unsubscribe:t(n)}}})[x.a]=function(){return this},e},o}function k(e,t){var n=t&&t.type;return"Given action "+(n&&'"'+n.toString()+'"'||"an action")+', reducer "'+e+'" returned undefined. To ignore an action, you must explicitly return the previous state. If you want this reducer to hold no value, you can return null instead of undefined.'}function I(e){for(var t=Object.keys(e),n={},o=0;o<t.length;o++){var r=t[o];0,"function"==typeof e[r]&&(n[r]=e[r])}var i=Object.keys(n);var a=void 0;try{!function(e){Object.keys(e).forEach((function(t){var n=e[t];if(void 0===n(void 0,{type:w}))throw new Error('Reducer "'+t+"\" returned undefined during initialization. If the state passed to the reducer is undefined, you must explicitly return the initial state. The initial state may not be undefined. If you don't want to set a value for this reducer, you can use null instead of undefined.");if(void 0===n(void 0,{type:"@@redux/PROBE_UNKNOWN_ACTION_"+Math.random().toString(36).substring(7).split("").join(".")}))throw new Error('Reducer "'+t+"\" returned undefined when probed with a random type. Don't try to handle "+w+' or other actions in "redux/*" namespace. They are considered private. Instead, you must return the current state for any unknown actions, unless it is undefined, in which case you must return the initial state, regardless of the action type. The initial state may not be undefined, but can be null.')}))}(n)}catch(e){a=e}return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments[1];if(a)throw a;for(var o=!1,r={},s=0;s<i.length;s++){var c=i[s],l=n[c],u=e[c],d=l(u,t);if(void 0===d){var p=k(c,t);throw new Error(p)}r[c]=d,o=o||d!==u}return o?r:e}}function O(e,t){return function(){return t(e.apply(void 0,arguments))}}function E(e,t){if("function"==typeof e)return O(e,t);if("object"!=typeof e||null===e)throw new Error("bindActionCreators expected an object or a function, instead received "+(null===e?"null":typeof e)+'. Did you write "import ActionCreators from" instead of "import * as ActionCreators from"?');for(var n=Object.keys(e),o={},r=0;r<n.length;r++){var i=n[r],a=e[i];"function"==typeof a&&(o[i]=O(a,t))}return o}function N(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return 0===t.length?function(e){return e}:1===t.length?t[0]:t.reduce((function(e,t){return function(){return e(t.apply(void 0,arguments))}}))}var P=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e};function D(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){return function(n,o,r){var i,a=e(n,o,r),s=a.dispatch,c={getState:a.getState,dispatch:function(e){return s(e)}};return i=t.map((function(e){return e(c)})),s=N.apply(void 0,i)(a.dispatch),P({},a,{dispatch:s})}}}},function(module,exports,__webpack_require__){var t;window,t=function(__WEBPACK_EXTERNAL_MODULE__0__,__WEBPACK_EXTERNAL_MODULE__16__){return function(e){var t={};function n(o){if(t[o])return t[o].exports;var r=t[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(o,r,function(t){return e[t]}.bind(null,r));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=87)}([function(e,t){e.exports=__WEBPACK_EXTERNAL_MODULE__0__},function(e,t,n){"use strict";n.d(t,"c",(function(){return r})),n.d(t,"a",(function(){return i})),n.d(t,"d",(function(){return a})),n.d(t,"b",(function(){return s})),n.d(t,"e",(function(){return c}));
/*! *****************************************************************************
Copyright (c) Microsoft Corporation.

Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted.

THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
***************************************************************************** */
var o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)};function r(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var i=function(){return(i=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)};function a(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]])}return n}function s(e,t,n,o){var r,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,o);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(a=(i<3?r(a):i>3?r(t,n,a):r(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a}function c(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var o=Array(e),r=0;for(t=0;t<n;t++)for(var i=arguments[t],a=0,s=i.length;a<s;a++,r++)o[r]=i[a];return o}},function(e,t,n){"use strict";n.r(t),n(45);var o=n(3);n.d(t,"AnimationClassNames",(function(){return o.a})),n.d(t,"FontClassNames",(function(){return o.i})),n.d(t,"ColorClassNames",(function(){return o.d})),n.d(t,"AnimationStyles",(function(){return o.b})),n.d(t,"AnimationVariables",(function(){return o.c})),n.d(t,"DefaultPalette",(function(){return o.g})),n.d(t,"DefaultEffects",(function(){return o.e})),n.d(t,"DefaultFontStyles",(function(){return o.f})),n.d(t,"registerDefaultFontFaces",(function(){return o.gb})),n.d(t,"FontSizes",(function(){return o.j})),n.d(t,"FontWeights",(function(){return o.k})),n.d(t,"IconFontSizes",(function(){return o.o})),n.d(t,"createFontStyles",(function(){return o.J})),n.d(t,"hiddenContentStyle",(function(){return o.Z})),n.d(t,"PulsingBeaconAnimationStyles",(function(){return o.q})),n.d(t,"getGlobalClassNames",(function(){return o.R})),n.d(t,"ThemeSettingName",(function(){return o.E})),n.d(t,"getTheme",(function(){return o.X})),n.d(t,"loadTheme",(function(){return o.bb})),n.d(t,"createTheme",(function(){return o.K})),n.d(t,"registerOnThemeChangeCallback",(function(){return o.jb})),n.d(t,"removeOnThemeChangeCallback",(function(){return o.kb})),n.d(t,"buildClassMap",(function(){return o.G})),n.d(t,"getIcon",(function(){return o.S})),n.d(t,"registerIcons",(function(){return o.ib})),n.d(t,"registerIconAlias",(function(){return o.hb})),n.d(t,"unregisterIcons",(function(){return o.mb})),n.d(t,"setIconOptions",(function(){return o.lb})),n.d(t,"getIconClassName",(function(){return o.T})),n.d(t,"InjectionMode",(function(){return o.p})),n.d(t,"Stylesheet",(function(){return o.D})),n.d(t,"concatStyleSets",(function(){return o.H})),n.d(t,"concatStyleSetsWithProps",(function(){return o.I})),n.d(t,"fontFace",(function(){return o.M})),n.d(t,"keyframes",(function(){return o.ab})),n.d(t,"mergeStyleSets",(function(){return o.cb})),n.d(t,"mergeStyles",(function(){return o.db})),n.d(t,"getFocusStyle",(function(){return o.Q})),n.d(t,"focusClear",(function(){return o.L})),n.d(t,"getFocusOutlineStyle",(function(){return o.P})),n.d(t,"getInputFocusStyle",(function(){return o.U})),n.d(t,"getThemedContext",(function(){return o.Y})),n.d(t,"HighContrastSelector",(function(){return o.l})),n.d(t,"HighContrastSelectorWhite",(function(){return o.n})),n.d(t,"HighContrastSelectorBlack",(function(){return o.m})),n.d(t,"EdgeChromiumHighContrastSelector",(function(){return o.h})),n.d(t,"ScreenWidthMinSmall",(function(){return o.y})),n.d(t,"ScreenWidthMinMedium",(function(){return o.x})),n.d(t,"ScreenWidthMinLarge",(function(){return o.w})),n.d(t,"ScreenWidthMinXLarge",(function(){return o.A})),n.d(t,"ScreenWidthMinXXLarge",(function(){return o.B})),n.d(t,"ScreenWidthMinXXXLarge",(function(){return o.C})),n.d(t,"ScreenWidthMaxSmall",(function(){return o.t})),n.d(t,"ScreenWidthMaxMedium",(function(){return o.s})),n.d(t,"ScreenWidthMaxLarge",(function(){return o.r})),n.d(t,"ScreenWidthMaxXLarge",(function(){return o.u})),n.d(t,"ScreenWidthMaxXXLarge",(function(){return o.v})),n.d(t,"ScreenWidthMinUhfMobile",(function(){return o.z})),n.d(t,"getScreenSelector",(function(){return o.W})),n.d(t,"getEdgeChromiumNoHighContrastAdjustSelector",(function(){return o.N})),n.d(t,"normalize",(function(){return o.fb})),n.d(t,"noWrap",(function(){return o.eb})),n.d(t,"getFadedOverflowStyle",(function(){return o.O})),n.d(t,"getPlaceholderStyles",(function(){return o.V})),n.d(t,"ZIndexes",(function(){return o.F}))},function(e,t,n){"use strict";var o=n(203);function r(e){var t={},n=function(n){var r;e.hasOwnProperty(n)&&Object.defineProperty(t,n,{get:function(){return void 0===r&&(r=Object(o.b)(e[n]).toString()),r},enumerable:!0,configurable:!0})};for(var r in e)n(r);return t}var i=n(32),a=n(13),s=n(28);function c(e){var t=a.b.getInstance(),n=t.getClassName(),o=[];for(var r in e)e.hasOwnProperty(r)&&o.push(r,"{",Object(s.b)(Object(i.a)(),e[r]),"}");var c=o.join("");return t.insertRule("@keyframes "+n+"{"+c+"}",!0),t.cacheClassName(n,c,[],["keyframes",c]),n}var l="cubic-bezier(.1,.9,.2,1)",u="cubic-bezier(.1,.25,.75,.9)",d=c({from:{opacity:0},to:{opacity:1}}),p=c({from:{opacity:1},to:{opacity:0,visibility:"hidden"}}),h=G(-10),f=G(-20),m=G(-40),g=G(-400),b=G(10),y=G(20),v=G(40),_=G(400),S=K(10),C=K(20),x=K(-10),w=K(-20),T=Y(10),k=Y(20),I=Y(40),O=Y(400),E=Y(-10),N=Y(-20),P=Y(-40),D=Y(-400),A=Q(-10),R=Q(-20),M=Q(10),F=Q(20),j=c({from:{transform:"scale3d(.98,.98,1)"},to:{transform:"scale3d(1,1,1)"}}),L=c({from:{transform:"scale3d(1,1,1)"},to:{transform:"scale3d(.98,.98,1)"}}),H=c({from:{transform:"scale3d(1.03,1.03,1)"},to:{transform:"scale3d(1,1,1)"}}),B=c({from:{transform:"scale3d(1,1,1)"},to:{transform:"scale3d(1.03,1.03,1)"}}),z=c({from:{transform:"rotateZ(0deg)"},to:{transform:"rotateZ(90deg)"}}),U=c({from:{transform:"rotateZ(0deg)"},to:{transform:"rotateZ(-90deg)"}}),V={easeFunction1:l,easeFunction2:u,durationValue1:"0.167s",durationValue2:"0.267s",durationValue3:"0.367s",durationValue4:"0.467s"},W={slideRightIn10:q(d+","+h,"0.367s",l),slideRightIn20:q(d+","+f,"0.367s",l),slideRightIn40:q(d+","+m,"0.367s",l),slideRightIn400:q(d+","+g,"0.367s",l),slideLeftIn10:q(d+","+b,"0.367s",l),slideLeftIn20:q(d+","+y,"0.367s",l),slideLeftIn40:q(d+","+v,"0.367s",l),slideLeftIn400:q(d+","+_,"0.367s",l),slideUpIn10:q(d+","+S,"0.367s",l),slideUpIn20:q(d+","+C,"0.367s",l),slideDownIn10:q(d+","+x,"0.367s",l),slideDownIn20:q(d+","+w,"0.367s",l),slideRightOut10:q(p+","+T,"0.367s",l),slideRightOut20:q(p+","+k,"0.367s",l),slideRightOut40:q(p+","+I,"0.367s",l),slideRightOut400:q(p+","+O,"0.367s",l),slideLeftOut10:q(p+","+E,"0.367s",l),slideLeftOut20:q(p+","+N,"0.367s",l),slideLeftOut40:q(p+","+P,"0.367s",l),slideLeftOut400:q(p+","+D,"0.367s",l),slideUpOut10:q(p+","+A,"0.367s",l),slideUpOut20:q(p+","+R,"0.367s",l),slideDownOut10:q(p+","+M,"0.367s",l),slideDownOut20:q(p+","+F,"0.367s",l),scaleUpIn100:q(d+","+j,"0.367s",l),scaleDownIn100:q(d+","+H,"0.367s",l),scaleUpOut103:q(p+","+B,"0.167s",u),scaleDownOut98:q(p+","+L,"0.167s",u),fadeIn100:q(d,"0.167s",u),fadeIn200:q(d,"0.267s",u),fadeIn400:q(d,"0.367s",u),fadeIn500:q(d,"0.467s",u),fadeOut100:q(p,"0.167s",u),fadeOut200:q(p,"0.267s",u),fadeOut400:q(p,"0.367s",u),fadeOut500:q(p,"0.467s",u),rotate90deg:q(z,"0.1s",u),rotateN90deg:q(U,"0.1s",u)};function q(e,t,n){return{animationName:e,animationDuration:t,animationTimingFunction:n,animationFillMode:"both"}}function G(e){return c({from:{transform:"translate3d("+e+"px,0,0)"},to:{transform:"translate3d(0,0,0)"}})}function K(e){return c({from:{transform:"translate3d(0,"+e+"px,0)"},to:{transform:"translate3d(0,0,0)"}})}function Y(e){return c({from:{transform:"translate3d(0,0,0)"},to:{transform:"translate3d("+e+"px,0,0)"}})}function Q(e){return c({from:{transform:"translate3d(0,0,0)"},to:{transform:"translate3d(0,"+e+"px,0)"}})}var $,Z,X=r(W);function J(e){a.b.getInstance().insertRule("@font-face{"+Object(s.b)(Object(i.a)(),e)+"}",!0)}!function(e){e.Arabic="Segoe UI Web (Arabic)",e.Cyrillic="Segoe UI Web (Cyrillic)",e.EastEuropean="Segoe UI Web (East European)",e.Greek="Segoe UI Web (Greek)",e.Hebrew="Segoe UI Web (Hebrew)",e.Thai="Leelawadee UI Web",e.Vietnamese="Segoe UI Web (Vietnamese)",e.WestEuropean="Segoe UI Web (West European)",e.Selawik="Selawik Web",e.Armenian="Segoe UI Web (Armenian)",e.Georgian="Segoe UI Web (Georgian)"}($||($={})),function(e){e.Arabic="'"+$.Arabic+"'",e.ChineseSimplified="'Microsoft Yahei UI', Verdana, Simsun",e.ChineseTraditional="'Microsoft Jhenghei UI', Pmingliu",e.Cyrillic="'"+$.Cyrillic+"'",e.EastEuropean="'"+$.EastEuropean+"'",e.Greek="'"+$.Greek+"'",e.Hebrew="'"+$.Hebrew+"'",e.Hindi="'Nirmala UI'",e.Japanese="'Yu Gothic UI', 'Meiryo UI', Meiryo, 'MS Pgothic', Osaka",e.Korean="'Malgun Gothic', Gulim",e.Selawik="'"+$.Selawik+"'",e.Thai="'Leelawadee UI Web', 'Kmer UI'",e.Vietnamese="'"+$.Vietnamese+"'",e.WestEuropean="'"+$.WestEuropean+"'",e.Armenian="'"+$.Armenian+"'",e.Georgian="'"+$.Georgian+"'"}(Z||(Z={}));var ee,te,ne,oe="'Segoe UI', '"+$.WestEuropean+"'",re={ar:Z.Arabic,bg:Z.Cyrillic,cs:Z.EastEuropean,el:Z.Greek,et:Z.EastEuropean,he:Z.Hebrew,hi:Z.Hindi,hr:Z.EastEuropean,hu:Z.EastEuropean,ja:Z.Japanese,kk:Z.EastEuropean,ko:Z.Korean,lt:Z.EastEuropean,lv:Z.EastEuropean,pl:Z.EastEuropean,ru:Z.Cyrillic,sk:Z.EastEuropean,"sr-latn":Z.EastEuropean,th:Z.Thai,tr:Z.EastEuropean,uk:Z.Cyrillic,vi:Z.Vietnamese,"zh-hans":Z.ChineseSimplified,"zh-hant":Z.ChineseTraditional,hy:Z.Armenian,ka:Z.Georgian};function ie(e){var t=function(e){for(var t in re)if(re.hasOwnProperty(t)&&e&&0===t.indexOf(e))return re[t];return oe}(e)+", 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Roboto', 'Helvetica Neue', sans-serif";return{tiny:ae(ee.mini,te.regular,t),xSmall:ae(ee.xSmall,te.regular,t),small:ae(ee.small,te.regular,t),smallPlus:ae(ee.smallPlus,te.regular,t),medium:ae(ee.medium,te.regular,t),mediumPlus:ae(ee.mediumPlus,te.regular,t),large:ae(ee.large,te.regular,t),xLarge:ae(ee.xLarge,te.semibold,t),xLargePlus:ae(ee.xLargePlus,te.semibold,t),xxLarge:ae(ee.xxLarge,te.semibold,t),xxLargePlus:ae(ee.xxLargePlus,te.semibold,t),superLarge:ae(ee.superLarge,te.semibold,t),mega:ae(ee.mega,te.semibold,t)}}function ae(e,t,n){return{fontFamily:n,MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontSize:e,fontWeight:t}}!function(e){e.mini="10px",e.xSmall="10px",e.small="12px",e.smallPlus="12px",e.medium="14px",e.mediumPlus="16px",e.icon="16px",e.large="18px",e.xLarge="20px",e.xLargePlus="24px",e.xxLarge="28px",e.xxLargePlus="32px",e.superLarge="42px",e.mega="68px"}(ee||(ee={})),function(e){e.light=100,e.semilight=300,e.regular=400,e.semibold=600,e.bold=700}(te||(te={})),function(e){e.xSmall="10px",e.small="12px",e.medium="16px",e.large="20px"}(ne||(ne={}));var se,ce,le,ue=n(130),de=n(4),pe=ie(Object(ue.a)());function he(e,t,n,o){J({fontFamily:e="'"+e+"'",src:(void 0!==o?"local('"+o+"'),":"")+"url('"+t+".woff2') format('woff2'),url('"+t+".woff') format('woff')",fontWeight:n,fontStyle:"normal",fontDisplay:"swap"})}function fe(e,t,n,o,r){void 0===o&&(o="segoeui");var i=e+"/"+n+"/"+o;he(t,i+"-light",te.light,r&&r+" Light"),he(t,i+"-semilight",te.semilight,r&&r+" SemiLight"),he(t,i+"-regular",te.regular,r),he(t,i+"-semibold",te.semibold,r&&r+" SemiBold"),he(t,i+"-bold",te.bold,r&&r+" Bold")}function me(e){if(e){var t=e+"/fonts";fe(t,$.Thai,"leelawadeeui-thai","leelawadeeui"),fe(t,$.Arabic,"segoeui-arabic"),fe(t,$.Cyrillic,"segoeui-cyrillic"),fe(t,$.EastEuropean,"segoeui-easteuropean"),fe(t,$.Greek,"segoeui-greek"),fe(t,$.Hebrew,"segoeui-hebrew"),fe(t,$.Vietnamese,"segoeui-vietnamese"),fe(t,$.WestEuropean,"segoeui-westeuropean","segoeui","Segoe UI"),fe(t,Z.Selawik,"selawik","selawik"),fe(t,$.Armenian,"segoeui-armenian"),fe(t,$.Georgian,"segoeui-georgian"),he("Leelawadee UI Web",t+"/leelawadeeui-thai/leelawadeeui-semilight",te.light),he("Leelawadee UI Web",t+"/leelawadeeui-thai/leelawadeeui-bold",te.semibold)}}me(null!=(le=null===(ce=null===(se=Object(de.a)())||void 0===se?void 0:se.FabricConfig)||void 0===ce?void 0:ce.fontBaseUrl)?le:"https://static2.sharepointonline.com/files/fabric/assets");var ge,be=r(pe),ye={themeDarker:"#004578",themeDark:"#005a9e",themeDarkAlt:"#106ebe",themePrimary:"#0078d4",themeSecondary:"#2b88d8",themeTertiary:"#71afe5",themeLight:"#c7e0f4",themeLighter:"#deecf9",themeLighterAlt:"#eff6fc",black:"#000000",blackTranslucent40:"rgba(0,0,0,.4)",neutralDark:"#201f1e",neutralPrimary:"#323130",neutralPrimaryAlt:"#3b3a39",neutralSecondary:"#605e5c",neutralSecondaryAlt:"#8a8886",neutralTertiary:"#a19f9d",neutralTertiaryAlt:"#c8c6c4",neutralQuaternary:"#d2d0ce",neutralQuaternaryAlt:"#e1dfdd",neutralLight:"#edebe9",neutralLighter:"#f3f2f1",neutralLighterAlt:"#faf9f8",accent:"#0078d4",white:"#ffffff",whiteTranslucent40:"rgba(255,255,255,.4)",yellowDark:"#d29200",yellow:"#ffb900",yellowLight:"#fff100",orange:"#d83b01",orangeLight:"#ea4300",orangeLighter:"#ff8c00",redDark:"#a4262c",red:"#e81123",magentaDark:"#5c005c",magenta:"#b4009e",magentaLight:"#e3008c",purpleDark:"#32145a",purple:"#5c2d91",purpleLight:"#b4a0ff",blueDark:"#002050",blueMid:"#00188f",blue:"#0078d4",blueLight:"#00bcf2",tealDark:"#004b50",teal:"#008272",tealLight:"#00b294",greenDark:"#004b1c",green:"#107c10",greenLight:"#bad80a"},ve=n(1),_e=n(15),Se=n(94),Ce={s2:"4px",s1:"8px",m:"16px",l1:"20px",l2:"32px"},xe=n(7);!function(e){e.depth0="0 0 0 0 transparent",e.depth4="0 1.6px 3.6px 0 rgba(0, 0, 0, 0.132), 0 0.3px 0.9px 0 rgba(0, 0, 0, 0.108)",e.depth8="0 3.2px 7.2px 0 rgba(0, 0, 0, 0.132), 0 0.6px 1.8px 0 rgba(0, 0, 0, 0.108)",e.depth16="0 6.4px 14.4px 0 rgba(0, 0, 0, 0.132), 0 1.2px 3.6px 0 rgba(0, 0, 0, 0.108)",e.depth64="0 25.6px 57.6px 0 rgba(0, 0, 0, 0.22), 0 4.8px 14.4px 0 rgba(0, 0, 0, 0.18)"}(ge||(ge={}));var we={elevation4:ge.depth4,elevation8:ge.depth8,elevation16:ge.depth16,elevation64:ge.depth64,roundedCorner2:"2px",roundedCorner4:"4px",roundedCorner6:"6px"},Te=De({palette:ye,semanticColors:Ae(ye,we,void 0,!1,!1),fonts:pe,isInverted:!1,disableGlobalClassNames:!1}),ke=[];function Ie(){var e,t,n;if(!_e.a.getSettings(["theme"]).theme){var o=Object(de.a)();(null===(n=null===(t=o)||void 0===t?void 0:t.FabricConfig)||void 0===n?void 0:n.theme)&&(Te=De(o.FabricConfig.theme)),_e.a.applySettings(((e={}).theme=Te,e))}}function Oe(e){return void 0===e&&(e=!1),!0===e&&(Te=De({},e)),Te}function Ee(e){-1===ke.indexOf(e)&&ke.push(e)}function Ne(e){var t=ke.indexOf(e);-1!==t&&ke.splice(t,1)}function Pe(e,t){var n;return void 0===t&&(t=!1),Te=De(e,t),Object(xe.b)(Object(ve.a)(Object(ve.a)(Object(ve.a)(Object(ve.a)({},Te.palette),Te.semanticColors),Te.effects),function(e){for(var t={},n=0,o=Object.keys(e.fonts);n<o.length;n++)for(var r=o[n],i=e.fonts[r],a=0,s=Object.keys(i);a<s.length;a++){var c=s[a],l=r+c.charAt(0).toUpperCase()+c.slice(1),u=i[c];"fontSize"===c&&"number"==typeof u&&(u+="px"),t[l]=u}return t}(Te))),_e.a.applySettings(((n={}).theme=Te,n)),ke.forEach((function(e){try{e(Te)}catch(e){}})),Te}function De(e,t){void 0===t&&(t=!1);var n=Object(ve.a)(Object(ve.a)({},ye),e.palette),o=Object(ve.a)(Object(ve.a)({},we),e.effects);e.palette&&e.palette.accent||(n.accent=n.themePrimary);var r=Object(ve.a)(Object(ve.a)({},Ae(n,o,e.semanticColors,!!e.isInverted,t)),e.semanticColors),i=Object(ve.a)({},pe);if(e.defaultFontStyle)for(var a=0,s=Object.keys(i);a<s.length;a++)i[u=s[a]]=Object(Se.a)({},i[u],e.defaultFontStyle);if(e.fonts)for(var c=0,l=Object.keys(e.fonts);c<l.length;c++){var u;i[u=l[c]]=Object(Se.a)({},i[u],e.fonts[u])}return{palette:n,fonts:Object(ve.a)({},i),rtl:e.rtl,semanticColors:r,isInverted:!!e.isInverted,disableGlobalClassNames:!!e.disableGlobalClassNames,spacing:Object(ve.a)(Object(ve.a)({},Ce),e.spacing),effects:o}}function Ae(e,t,n,o,r){var i=Object(ve.a)({bodyBackground:e.white,bodyBackgroundHovered:e.neutralLighter,bodyBackgroundChecked:e.neutralLight,bodyStandoutBackground:e.neutralLighterAlt,bodyFrameBackground:e.white,bodyFrameDivider:e.neutralLight,bodyText:e.neutralPrimary,bodyTextChecked:e.black,bodySubtext:e.neutralSecondary,bodyDivider:e.neutralLight,disabledBodyText:e.neutralTertiary,disabledBodySubtext:e.neutralTertiaryAlt,disabledBorder:e.neutralTertiaryAlt,focusBorder:e.neutralSecondary,cardStandoutBackground:e.white,cardShadow:t.elevation4,cardShadowHovered:"",variantBorder:e.neutralLight,variantBorderHovered:e.neutralTertiary,defaultStateBackground:e.neutralLighterAlt,actionLink:e.neutralPrimary,actionLinkHovered:e.neutralDark,link:e.themePrimary,linkHovered:e.themeDarker,buttonBackground:e.white,buttonBackgroundChecked:e.neutralTertiaryAlt,buttonBackgroundHovered:e.neutralLighter,buttonBackgroundCheckedHovered:e.neutralLight,buttonBackgroundPressed:e.neutralLight,buttonBackgroundDisabled:e.neutralLighter,buttonBorder:e.neutralSecondaryAlt,buttonText:e.neutralPrimary,buttonTextHovered:e.neutralDark,buttonTextChecked:e.neutralDark,buttonTextCheckedHovered:e.black,buttonTextPressed:e.neutralDark,buttonTextDisabled:e.neutralTertiary,buttonBorderDisabled:e.neutralLighter,primaryButtonBackground:e.themePrimary,primaryButtonBackgroundHovered:e.themeDarkAlt,primaryButtonBackgroundPressed:e.themeDark,primaryButtonBackgroundDisabled:e.neutralLighter,primaryButtonBorder:"transparent",primaryButtonText:e.white,primaryButtonTextHovered:e.white,primaryButtonTextPressed:e.white,primaryButtonTextDisabled:e.neutralQuaternary,accentButtonBackground:e.accent,accentButtonText:e.white,inputBorder:e.neutralSecondary,inputBorderHovered:e.neutralPrimary,inputBackground:e.white,inputBackgroundChecked:e.themePrimary,inputBackgroundCheckedHovered:e.themeDark,inputPlaceholderBackgroundChecked:e.themeLighter,inputForegroundChecked:e.white,inputIcon:e.themePrimary,inputIconHovered:e.themeDark,inputIconDisabled:e.neutralTertiary,inputFocusBorderAlt:e.themePrimary,smallInputBorder:e.neutralSecondary,inputText:e.neutralPrimary,inputTextHovered:e.neutralDark,inputPlaceholderText:e.neutralSecondary,disabledBackground:e.neutralLighter,disabledText:e.neutralTertiary,disabledSubtext:e.neutralQuaternary,listBackground:e.white,listText:e.neutralPrimary,listItemBackgroundHovered:e.neutralLighter,listItemBackgroundChecked:e.neutralLight,listItemBackgroundCheckedHovered:e.neutralQuaternaryAlt,listHeaderBackgroundHovered:e.neutralLighter,listHeaderBackgroundPressed:e.neutralLight,menuBackground:e.white,menuDivider:e.neutralTertiaryAlt,menuIcon:e.themePrimary,menuHeader:e.themePrimary,menuItemBackgroundHovered:e.neutralLighter,menuItemBackgroundPressed:e.neutralLight,menuItemText:e.neutralPrimary,menuItemTextHovered:e.neutralDark,errorText:o?"#F1707B":"#a4262c",messageText:o?"#F3F2F1":"#323130",messageLink:o?"#6CB8F6":"#005A9E",messageLinkHovered:o?"#82C7FF":"#004578",infoIcon:o?"#C8C6C4":"#605e5c",errorIcon:o?"#F1707B":"#A80000",blockingIcon:o?"#442726":"#FDE7E9",warningIcon:o?"#C8C6C4":"#797775",severeWarningIcon:o?"#FCE100":"#D83B01",successIcon:o?"#92C353":"#107C10",infoBackground:o?"#323130":"#f3f2f1",errorBackground:o?"#442726":"#FDE7E9",blockingBackground:o?"#442726":"#FDE7E9",warningBackground:o?"#433519":"#FFF4CE",severeWarningBackground:o?"#4F2A0F":"#FED9CC",successBackground:o?"#393D1B":"#DFF6DD",warningHighlight:o?"#fff100":"#ffb900",warningText:"",successText:o?"#92c353":"#107C10",listTextColor:"",menuItemBackgroundChecked:e.neutralLight},n);return function(e,t){var n="";return!0===t&&(n=" /* @deprecated */"),e.listTextColor=e.listText+n,e.menuItemBackgroundChecked+=n,e.warningHighlight+=n,e.warningText=e.messageText+n,e.successText+=n,e}(i=Object(ve.a)(Object(ve.a)({},i),{cardShadowHovered:o?"0 0 1px "+i.variantBorderHovered:t.elevation8}),r)}Ie();var Re={};for(var Me in ye)ye.hasOwnProperty(Me)&&(Fe(Re,Me,"",!1,"color"),Fe(Re,Me,"Hover",!0,"color"),Fe(Re,Me,"Background",!1,"background"),Fe(Re,Me,"BackgroundHover",!0,"background"),Fe(Re,Me,"Border",!1,"borderColor"),Fe(Re,Me,"BorderHover",!0,"borderColor"));function Fe(e,t,n,r,i){Object.defineProperty(e,t+n,{get:function(){var e,n=((e={})[i]=Oe().palette[t],e);return Object(o.b)(r?{selectors:{":hover":n}}:n).toString()},enumerable:!0,configurable:!0})}var je="@media screen and (-ms-high-contrast: active)";function Le(e,t){return"@media only screen and (min-width: "+e+"px) and (max-width: "+t+"px)"}function He(){var e;return(e={})["@media screen and (forced-colors: active)"]={forcedColorAdjust:"none"},e}var Be,ze=n(21);function Ue(e,t,n,o,r,i,a){return function(e,t){var n,o;void 0===t&&(t={});var r=t.inset,i=void 0===r?0:r,a=t.width,s=void 0===a?1:a,c=t.position,l=void 0===c?"relative":c,u=t.highContrastStyle,d=t.borderColor,p=void 0===d?e.palette.white:d,h=t.outlineColor,f=void 0===h?e.palette.neutralSecondary:h,m=t.isFocusedOnly,g=void 0===m||m;return{outline:"transparent",position:l,selectors:(n={"::-moz-focus-inner":{border:"0"}},n["."+ze.a+" &"+(g?":focus":"")+":after"]={content:'""',position:"absolute",left:i+1,top:i+1,bottom:i+1,right:i+1,border:s+"px solid "+p,outline:s+"px solid "+f,zIndex:Be.FocusStyle,selectors:(o={},o[je]=u,o)},n)}}(e,"number"!=typeof t&&t?t:{inset:t,position:n,highContrastStyle:o,borderColor:r,outlineColor:i,isFocusedOnly:a})}function Ve(){return{selectors:{"&::-moz-focus-inner":{border:0},"&":{outline:"transparent"}}}}function We(e,t,n,o){var r;return void 0===t&&(t=0),void 0===n&&(n=1),{selectors:(r={},r[":global("+ze.a+") &:focus"]={outline:n+" solid "+(o||e.palette.neutralSecondary),outlineOffset:-t+"px"},r)}}!function(e){e.Nav=1,e.ScrollablePane=1,e.FocusStyle=1,e.Coachmark=1e3,e.Layer=1e6,e.KeytipLayer=1000001}(Be||(Be={}));var qe=function(e,t,n,o){var r,i,a;void 0===n&&(n="border"),void 0===o&&(o=-1);var s="borderBottom"===n;return{borderColor:e,selectors:{":after":(r={pointerEvents:"none",content:"''",position:"absolute",left:s?0:o,top:o,bottom:o,right:s?0:o},r[n]="2px solid "+e,r.borderRadius=t,r.width="borderBottom"===n?"100%":void 0,r.selectors=(i={},i[je]=(a={},a["border"===n?"borderColor":"borderBottomColor"]="Highlight",a),i),r)}}},Ge={position:"absolute",width:1,height:1,margin:-1,padding:0,border:0,overflow:"hidden"};function Ke(e,t){return{borderColor:e,borderWidth:"0px",width:t,height:t}}function Ye(e){return{opacity:1,borderWidth:e}}function Qe(e,t){return{borderWidth:"0",width:t,height:t,opacity:0,borderColor:e}}function $e(e,t){return Object(ve.a)(Object(ve.a)({},Ke(e,t)),{opacity:0})}var Ze={continuousPulseAnimationDouble:function(e,t,n,o,r){return c({"0%":Ke(e,n),"1.42%":Ye(r),"3.57%":{opacity:1},"7.14%":Qe(t,o),"8%":$e(e,n),"29.99%":$e(e,n),"30%":Ke(e,n),"31.42%":Ye(r),"33.57%":{opacity:1},"37.14%":Qe(t,o),"38%":$e(e,n),"79.42%":$e(e,n),79.43:Ke(e,n),81.85:Ye(r),83.42:{opacity:1},"87%":Qe(t,o),"100%":{}})},continuousPulseAnimationSingle:function(e,t,n,o,r){return c({"0%":Ke(e,n),"14.2%":Ye(r),"35.7%":{opacity:1},"71.4%":Qe(t,o),"100%":{}})},createDefaultAnimation:function(e,t){return{animationName:e,animationIterationCount:"1",animationDuration:"14s",animationDelay:t||"2s"}}},Xe=n(23),Je=Object(Xe.c)((function(e,t){var n=a.b.getInstance();return t?Object.keys(e).reduce((function(t,o){return t[o]=n.getClassName(e[o]),t}),{}):e}));function et(e,t,n){return Je(e,void 0!==n?n:t.disableGlobalClassNames)}var tt=n(42);function nt(e,t,n){var o,r=e,i=n||_e.a.getSettings(["theme"],void 0,e.customizations).theme;n&&(o={theme:n});var a=t&&i&&i.schemes&&i.schemes[t];return i&&a&&i!==a&&((o={theme:a}).theme.schemes=i.schemes),o&&(r={customizations:{settings:Object(tt.b)(e.customizations.settings,o),scopedSettings:e.customizations.scopedSettings}}),r}var ot={boxShadow:"none",margin:0,padding:0,boxSizing:"border-box"},rt={overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"};function it(e,t,n,o,r){void 0===t&&(t="bodyBackground"),void 0===n&&(n="horizontal"),void 0===o&&(o=at("width",n)),void 0===r&&(r=at("height",n));var i=e.semanticColors[t]||e.palette[t],a=function(e){if("#"===e[0])return{r:parseInt(e.slice(1,3),16),g:parseInt(e.slice(3,5),16),b:parseInt(e.slice(5,7),16)};if(0===e.indexOf("rgba(")){var t=(e=e.match(/rgba\(([^)]+)\)/)[1]).split(/ *, */).map(Number);return{r:t[0],g:t[1],b:t[2]}}return{r:255,g:255,b:255}}(i);return{content:'""',position:"absolute",right:0,bottom:0,width:o,height:r,pointerEvents:"none",backgroundImage:"linear-gradient("+("vertical"===n?"to bottom":"to right")+", rgba("+a.r+", "+a.g+", "+a.b+", 0) 0%, "+i+" 100%)"}}function at(e,t){return"width"===e?"horizontal"===t?20:"100%":"vertical"===t?"50%":"100%"}function st(e){return{selectors:{"::placeholder":e,":-ms-input-placeholder":e,"::-ms-input-placeholder":e}}}var ct=n(48),lt=n(35),ut=ct.a.getValue("icons",{__options:{disableWarnings:!1,warnOnMissingIcons:!0},__remapped:{}}),dt=a.b.getInstance();dt&&dt.onReset&&dt.onReset((function(){for(var e in ut)ut.hasOwnProperty(e)&&ut[e].subset&&(ut[e].subset.className=void 0)}));var pt=function(e){return e.toLowerCase()};function ht(e,t){var n=Object(ve.a)(Object(ve.a)({},e),{isRegistered:!1,className:void 0}),o=e.icons;for(var r in t=t?Object(ve.a)(Object(ve.a)({},ut.__options),t):ut.__options,o)if(o.hasOwnProperty(r)){var i=o[r],a=pt(r);ut[a]?_t(r):ut[a]={code:i,subset:n}}}function ft(e){for(var t=ut.__options,n=function(e){var n=pt(e);ut[n]?delete ut[n]:t.disableWarnings||Object(lt.b)('The icon "'+e+'" tried to unregister but was not registered.'),ut.__remapped[n]&&delete ut.__remapped[n],Object.keys(ut.__remapped).forEach((function(e){ut.__remapped[e]===n&&delete ut.__remapped[e]}))},o=0,r=e;o<r.length;o++)n(r[o])}function mt(e,t){ut.__remapped[pt(e)]=pt(t)}function gt(e){var t=void 0,n=ut.__options;if(e=e?pt(e):"",e=ut.__remapped[e]||e)if(t=ut[e]){var r=t.subset;r&&r.fontFace&&(r.isRegistered||(J(r.fontFace),r.isRegistered=!0),r.className||(r.className=Object(o.b)(r.style,{fontFamily:r.fontFace.fontFamily,fontWeight:r.fontFace.fontWeight||"normal",fontStyle:r.fontFace.fontStyle||"normal"})))}else!n.disableWarnings&&n.warnOnMissingIcons&&Object(lt.b)('The icon "'+e+'" was used but not registered. See https://github.com/microsoft/fluentui/wiki/Using-icons for more information.');return t}function bt(e){ut.__options=Object(ve.a)(Object(ve.a)({},ut.__options),e)}var yt=[],vt=void 0;function _t(e){ut.__options.disableWarnings||(yt.push(e),void 0===vt&&(vt=setTimeout((function(){Object(lt.b)("Some icons were re-registered. Applications should only call registerIcons for any given icon once. Redefining what an icon is may have unintended consequences. Duplicates include: \n"+yt.slice(0,10).join(", ")+(yt.length>10?" (+ "+(yt.length-10)+" more)":"")),vt=void 0,yt=[]}),2e3)))}var St={display:"inline-block"};function Ct(e){var t="",n=gt(e);return n&&(t=Object(o.b)(n.subset.className,St,{selectors:{"::before":{content:'"'+n.code+'"'}}})),t}var xt=n(43),wt=n(201),Tt=n(202),kt=n(22);Object(kt.a)("@uifabric/styling","7.16.5"),n.d(t,"a",(function(){return X})),n.d(t,"i",(function(){return be})),n.d(t,"d",(function(){return Re})),n.d(t,"b",(function(){return W})),n.d(t,"c",(function(){return V})),n.d(t,"g",(function(){return ye})),n.d(t,"e",(function(){return we})),n.d(t,"f",(function(){return pe})),n.d(t,"gb",(function(){return me})),n.d(t,"j",(function(){return ee})),n.d(t,"k",(function(){return te})),n.d(t,"o",(function(){return ne})),n.d(t,"J",(function(){return ie})),n.d(t,"Z",(function(){return Ge})),n.d(t,"q",(function(){return Ze})),n.d(t,"R",(function(){return et})),n.d(t,"E",(function(){return"theme"})),n.d(t,"X",(function(){return Oe})),n.d(t,"bb",(function(){return Pe})),n.d(t,"K",(function(){return De})),n.d(t,"jb",(function(){return Ee})),n.d(t,"kb",(function(){return Ne})),n.d(t,"Q",(function(){return Ue})),n.d(t,"L",(function(){return Ve})),n.d(t,"P",(function(){return We})),n.d(t,"U",(function(){return qe})),n.d(t,"Y",(function(){return nt})),n.d(t,"l",(function(){return je})),n.d(t,"n",(function(){return"@media screen and (-ms-high-contrast: black-on-white)"})),n.d(t,"m",(function(){return"@media screen and (-ms-high-contrast: white-on-black)"})),n.d(t,"h",(function(){return"@media screen and (forced-colors: active)"})),n.d(t,"y",(function(){return 320})),n.d(t,"x",(function(){return 480})),n.d(t,"w",(function(){return 640})),n.d(t,"A",(function(){return 1024})),n.d(t,"B",(function(){return 1366})),n.d(t,"C",(function(){return 1920})),n.d(t,"t",(function(){return 479})),n.d(t,"s",(function(){return 639})),n.d(t,"r",(function(){return 1023})),n.d(t,"u",(function(){return 1365})),n.d(t,"v",(function(){return 1919})),n.d(t,"z",(function(){return 768})),n.d(t,"W",(function(){return Le})),n.d(t,"N",(function(){return He})),n.d(t,"fb",(function(){return ot})),n.d(t,"eb",(function(){return rt})),n.d(t,"O",(function(){return it})),n.d(t,"V",(function(){return st})),n.d(t,"F",(function(){return Be})),n.d(t,"G",(function(){return r})),n.d(t,"S",(function(){return gt})),n.d(t,"ib",(function(){return ht})),n.d(t,"hb",(function(){return mt})),n.d(t,"mb",(function(){return ft})),n.d(t,"lb",(function(){return bt})),n.d(t,"T",(function(){return Ct})),n.d(t,"p",(function(){return a.a})),n.d(t,"D",(function(){return a.b})),n.d(t,"H",(function(){return xt.a})),n.d(t,"I",(function(){return wt.a})),n.d(t,"M",(function(){return J})),n.d(t,"ab",(function(){return c})),n.d(t,"cb",(function(){return Tt.b})),n.d(t,"db",(function(){return o.b})),Ie()},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var o=n(38),r=void 0;try{r=window}catch(e){}function i(e){if(!o.a&&void 0!==r){var t=e;return t&&t.ownerDocument&&t.ownerDocument.defaultView?t.ownerDocument.defaultView:r}}},function(e,t,n){"use strict";n.d(t,"c",(function(){return r})),n.d(t,"d",(function(){return i})),n.d(t,"k",(function(){return a})),n.d(t,"p",(function(){return s})),n.d(t,"b",(function(){return c})),n.d(t,"z",(function(){return l})),n.d(t,"r",(function(){return u})),n.d(t,"q",(function(){return d})),n.d(t,"a",(function(){return p})),n.d(t,"e",(function(){return h})),n.d(t,"o",(function(){return f})),n.d(t,"w",(function(){return m})),n.d(t,"t",(function(){return g})),n.d(t,"s",(function(){return b})),n.d(t,"u",(function(){return y})),n.d(t,"y",(function(){return v})),n.d(t,"x",(function(){return _})),n.d(t,"v",(function(){return S})),n.d(t,"f",(function(){return C})),n.d(t,"g",(function(){return x})),n.d(t,"i",(function(){return w})),n.d(t,"l",(function(){return T})),n.d(t,"n",(function(){return k})),n.d(t,"m",(function(){return I})),n.d(t,"h",(function(){return O})),n.d(t,"j",(function(){return E}));var o=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n={},o=0,r=e;o<r.length;o++)for(var i=r[o],a=Array.isArray(i)?i:Object.keys(i),s=0,c=a;s<c.length;s++){var l=c[s];n[l]=1}return n},r=o(["onCopy","onCut","onPaste","onCompositionEnd","onCompositionStart","onCompositionUpdate","onFocus","onFocusCapture","onBlur","onBlurCapture","onChange","onInput","onSubmit","onLoad","onError","onKeyDown","onKeyDownCapture","onKeyPress","onKeyUp","onAbort","onCanPlay","onCanPlayThrough","onDurationChange","onEmptied","onEncrypted","onEnded","onLoadedData","onLoadedMetadata","onLoadStart","onPause","onPlay","onPlaying","onProgress","onRateChange","onSeeked","onSeeking","onStalled","onSuspend","onTimeUpdate","onVolumeChange","onWaiting","onClick","onClickCapture","onContextMenu","onDoubleClick","onDrag","onDragEnd","onDragEnter","onDragExit","onDragLeave","onDragOver","onDragStart","onDrop","onMouseDown","onMouseDownCapture","onMouseEnter","onMouseLeave","onMouseMove","onMouseOut","onMouseOver","onMouseUp","onMouseUpCapture","onSelect","onTouchCancel","onTouchEnd","onTouchMove","onTouchStart","onScroll","onWheel","onPointerCancel","onPointerDown","onPointerEnter","onPointerLeave","onPointerMove","onPointerOut","onPointerOver","onPointerUp","onGotPointerCapture","onLostPointerCapture"]),i=o(["accessKey","children","className","contentEditable","dir","draggable","hidden","htmlFor","id","lang","ref","role","style","tabIndex","title","translate","spellCheck","name"]),a=o(i,r),s=o(a,["form"]),c=o(a,["height","loop","muted","preload","src","width"]),l=o(c,["poster"]),u=o(a,["start"]),d=o(a,["value"]),p=o(a,["download","href","hrefLang","media","rel","target","type"]),h=o(a,["autoFocus","disabled","form","formAction","formEncType","formMethod","formNoValidate","formTarget","type","value"]),f=o(h,["accept","alt","autoCapitalize","autoComplete","checked","dirname","form","height","inputMode","list","max","maxLength","min","multiple","pattern","placeholder","readOnly","required","src","step","size","type","value","width"]),m=o(h,["autoCapitalize","cols","dirname","form","maxLength","placeholder","readOnly","required","rows","wrap"]),g=o(h,["form","multiple","required"]),b=o(a,["selected","value"]),y=o(a,["cellPadding","cellSpacing"]),v=a,_=o(a,["rowSpan","scope"]),S=o(a,["colSpan","headers","rowSpan","scope"]),C=o(a,["span"]),x=o(a,["span"]),w=o(a,["acceptCharset","action","encType","encType","method","noValidate","target"]),T=o(a,["allow","allowFullScreen","allowPaymentRequest","allowTransparency","csp","height","importance","referrerPolicy","sandbox","src","srcDoc","width"]),k=o(a,["alt","crossOrigin","height","src","srcSet","useMap","width"]),I=k,O=a;function E(e,t,n){for(var o,r=Array.isArray(t),i={},a=0,s=Object.keys(e);a<s.length;a++){var c=s[a];!(!r&&t[c]||r&&t.indexOf(c)>=0||0===c.indexOf("data-")||0===c.indexOf("aria-"))||n&&-1!==(null===(o=n)||void 0===o?void 0:o.indexOf(c))||(i[c]=e[c])}return i}},function(e,t,n){"use strict";var o=n(50),r=n(121),i=n(113),a=n(99),s=n(31),c=function(){return"undefined"!=typeof performance&&performance.now?performance.now():Date.now()},l=function(){function e(){}return e.measure=function(t,n){e._timeoutId&&e.setPeriodicReset();var o=c();n();var r=c(),i=e.summary[t]||{totalDuration:0,count:0,all:[]},a=r-o;i.totalDuration+=a,i.count++,i.all.push({duration:a,timeStamp:r}),e.summary[t]=i},e.reset=function(){e.summary={},clearTimeout(e._timeoutId),e._timeoutId=NaN},e.setPeriodicReset=function(){e._timeoutId=setTimeout((function(){return e.reset()}),18e4)},e.summary={},e}(),u=n(48),d=n(10),p=n(106),h=n(49),f=n(112),m=n(55),g=n(1),b=n(0),y="undefined"!=typeof WeakMap?new WeakMap:void 0;function v(e){var t=function(t){function n(){var n=null!==t&&t.apply(this,arguments)||this;return n.state={Component:y?y.get(e.load):void 0},n}return Object(g.c)(n,t),n.prototype.render=function(){var e=this.props,t=e.forwardedRef,n=e.asyncPlaceholder,o=Object(g.d)(e,["forwardedRef","asyncPlaceholder"]),r=this.state.Component;return r?b.createElement(r,Object(g.a)(Object(g.a)({},o),{ref:t})):n?b.createElement(n,null):null},n.prototype.componentDidMount=function(){var t=this;this.state.Component||e.load().then((function(n){n&&(y&&y.set(e.load,n),t.setState({Component:n},e.onLoad))})).catch(e.onError)},n}(b.Component);return b.forwardRef((function(e,n){return b.createElement(t,Object(g.a)({},e,{forwardedRef:n}))}))}function _(e){throw new Error("Unexpected object: "+e)}var S=n(93),C=n(119),x=n(70),w=n(95),T=n(15),k=n(107),I=n(27),O=n(109),E=n(47),N=n(54),P=n(42),D=n(80),A=n(30),R=n(102),M=n(103),F=n(5),j={label:F.p,audio:F.b,video:F.z,ol:F.r,li:F.q,a:F.a,button:F.e,input:F.o,textarea:F.w,select:F.t,option:F.s,table:F.u,tr:F.y,th:F.x,td:F.v,colGroup:F.f,col:F.g,form:F.i,iframe:F.l,img:F.n};function L(e,t,n){var o=e&&j[e]||F.k;return Object(F.j)(t,o,n)}var H=n(104),B=n(52),z=n(98),U=n(4),V=n(39),W=n(21);function q(e){var t,n=e||Object(U.a)();n&&!0!==(null===(t=n.FabricConfig)||void 0===t?void 0:t.disableFocusRects)&&(n.__hasInitializeFocusRects__||(n.__hasInitializeFocusRects__=!0,n.addEventListener("mousedown",G,!0),n.addEventListener("pointerdown",K,!0),n.addEventListener("keydown",Y,!0)))}function G(e){Object(W.b)(!1,e.target)}function K(e){"mouse"!==e.pointerType&&Object(W.b)(!1,e.target)}function Y(e){Object(V.b)(e.which)&&Object(W.b)(!0,e.target)}var Q=n(108),$=n(96),Z=n(130),X=n(122),J=n(23),ee=n(94),te=n(101),ne=n(116),oe=n(26),re=n(100),ie=n(114),ae=n(117),se="";function ce(e){return se+e}function le(e){se=e}var ue=n(59),de=n(120),pe=function(e){var t;return function(n,o){t||(t=new Set,Object(A.a)(e,{componentWillUnmount:function(){t.forEach((function(e){return clearTimeout(e)}))}}));var r=setTimeout((function(){t.delete(r),n()}),o);t.add(r)}},he=n(53),fe=n(115),me=n(92),ge=n(35),be=n(56),ye=n(118),ve=n(51),_e=n(57),Se=n(97);function Ce(e,t){for(var n=Object(g.a)({},t),o=0,r=Object.keys(e);o<r.length;o++){var i=r[o];void 0===n[i]&&(n[i]=e[i])}return n}var xe=n(38),we=n(110),Te=n(22);Object(Te.a)("@uifabric/utilities","7.32.2"),n.d(t,"a",(function(){return o.a})),n.d(t,"b",(function(){return r.a})),n.d(t,"c",(function(){return i.a})),n.d(t,"nc",(function(){return i.b})),n.d(t,"i",(function(){return a.a})),n.d(t,"j",(function(){return s.a})),n.d(t,"k",(function(){return l})),n.d(t,"m",(function(){return u.a})),n.d(t,"o",(function(){return d.a})),n.d(t,"p",(function(){return p.a})),n.d(t,"v",(function(){return h.a})),n.d(t,"ic",(function(){return f.a})),n.d(t,"Z",(function(){return m.e})),n.d(t,"X",(function(){return m.d})),n.d(t,"K",(function(){return m.c})),n.d(t,"Tc",(function(){return m.i})),n.d(t,"vc",(function(){return m.g})),n.d(t,"wc",(function(){return m.h})),n.d(t,"r",(function(){return m.a})),n.d(t,"cb",(function(){return m.f})),n.d(t,"w",(function(){return m.b})),n.d(t,"x",(function(){return v})),n.d(t,"y",(function(){return _})),n.d(t,"F",(function(){return S.a})),n.d(t,"I",(function(){return C.a})),n.d(t,"Sb",(function(){return x.a})),n.d(t,"N",(function(){return w.a})),n.d(t,"d",(function(){return T.a})),n.d(t,"e",(function(){return k.a})),n.d(t,"f",(function(){return I.a})),n.d(t,"O",(function(){return O.a})),n.d(t,"Wc",(function(){return E.a})),n.d(t,"jc",(function(){return N.a})),n.d(t,"lc",(function(){return P.b})),n.d(t,"kc",(function(){return P.a})),n.d(t,"Fb",(function(){return D.j})),n.d(t,"S",(function(){return D.b})),n.d(t,"T",(function(){return D.c})),n.d(t,"Y",(function(){return D.d})),n.d(t,"hb",(function(){return D.e})),n.d(t,"jb",(function(){return D.f})),n.d(t,"wb",(function(){return D.g})),n.d(t,"Bb",(function(){return D.h})),n.d(t,"Eb",(function(){return D.i})),n.d(t,"bc",(function(){return D.k})),n.d(t,"qc",(function(){return D.l})),n.d(t,"sc",(function(){return D.m})),n.d(t,"uc",(function(){return D.n})),n.d(t,"h",(function(){return D.a})),n.d(t,"Hc",(function(){return D.o})),n.d(t,"Kc",(function(){return D.p})),n.d(t,"V",(function(){return A.a})),n.d(t,"lb",(function(){return R.e})),n.d(t,"rb",(function(){return R.h})),n.d(t,"mb",(function(){return R.f})),n.d(t,"sb",(function(){return R.i})),n.d(t,"eb",(function(){return R.c})),n.d(t,"xb",(function(){return R.k})),n.d(t,"vb",(function(){return R.j})),n.d(t,"Xb",(function(){return R.o})),n.d(t,"Wb",(function(){return R.n})),n.d(t,"Vb",(function(){return R.m})),n.d(t,"Ub",(function(){return R.l})),n.d(t,"R",(function(){return R.a})),n.d(t,"Nc",(function(){return R.p})),n.d(t,"db",(function(){return R.b})),n.d(t,"nb",(function(){return R.g})),n.d(t,"kb",(function(){return R.d})),n.d(t,"ob",(function(){return M.a})),n.d(t,"yc",(function(){return M.b})),n.d(t,"tb",(function(){return L})),n.d(t,"Jb",(function(){return H.a})),n.d(t,"Vc",(function(){return H.b})),n.d(t,"Kb",(function(){return B.a})),n.d(t,"Pb",(function(){return z.a})),n.d(t,"Qb",(function(){return q})),n.d(t,"Xc",(function(){return Q.b})),n.d(t,"l",(function(){return Q.a})),n.d(t,"pb",(function(){return $.a})),n.d(t,"Tb",(function(){return V.b})),n.d(t,"q",(function(){return V.a})),n.d(t,"qb",(function(){return Z.a})),n.d(t,"Fc",(function(){return Z.b})),n.d(t,"ib",(function(){return X.c})),n.d(t,"bb",(function(){return X.b})),n.d(t,"E",(function(){return X.a})),n.d(t,"tc",(function(){return X.d})),n.d(t,"Gc",(function(){return J.e})),n.d(t,"zc",(function(){return J.d})),n.d(t,"fc",(function(){return J.b})),n.d(t,"gc",(function(){return J.c})),n.d(t,"L",(function(){return J.a})),n.d(t,"hc",(function(){return ee.a})),n.d(t,"Zb",(function(){return te.a})),n.d(t,"mc",(function(){return ne.a})),n.d(t,"z",(function(){return oe.a})),n.d(t,"W",(function(){return oe.b})),n.d(t,"ec",(function(){return oe.c})),n.d(t,"Mc",(function(){return oe.e})),n.d(t,"Yc",(function(){return oe.f})),n.d(t,"pc",(function(){return oe.d})),n.d(t,"ac",(function(){return re.a})),n.d(t,"Gb",(function(){return ie.a})),n.d(t,"Ib",(function(){return ie.c})),n.d(t,"Hb",(function(){return ie.b})),n.d(t,"B",(function(){return F.c})),n.d(t,"C",(function(){return F.d})),n.d(t,"Lb",(function(){return F.k})),n.d(t,"cc",(function(){return F.p})),n.d(t,"A",(function(){return F.b})),n.d(t,"Zc",(function(){return F.z})),n.d(t,"oc",(function(){return F.r})),n.d(t,"dc",(function(){return F.q})),n.d(t,"u",(function(){return F.a})),n.d(t,"D",(function(){return F.e})),n.d(t,"Rb",(function(){return F.o})),n.d(t,"Rc",(function(){return F.w})),n.d(t,"Cc",(function(){return F.t})),n.d(t,"rc",(function(){return F.s})),n.d(t,"Pc",(function(){return F.u})),n.d(t,"Uc",(function(){return F.y})),n.d(t,"Sc",(function(){return F.x})),n.d(t,"Qc",(function(){return F.v})),n.d(t,"G",(function(){return F.f})),n.d(t,"H",(function(){return F.g})),n.d(t,"fb",(function(){return F.i})),n.d(t,"Mb",(function(){return F.l})),n.d(t,"Ob",(function(){return F.n})),n.d(t,"Nb",(function(){return F.m})),n.d(t,"Q",(function(){return F.h})),n.d(t,"ub",(function(){return F.j})),n.d(t,"J",(function(){return ae.a})),n.d(t,"Cb",(function(){return ce})),n.d(t,"Dc",(function(){return le})),n.d(t,"zb",(function(){return ue.a})),n.d(t,"Ic",(function(){return ue.c})),n.d(t,"Ab",(function(){return ue.b})),n.d(t,"Ac",(function(){return de.a})),n.d(t,"Bc",(function(){return pe})),n.d(t,"g",(function(){return he.a})),n.d(t,"t",(function(){return he.c})),n.d(t,"s",(function(){return he.b})),n.d(t,"P",(function(){return he.d})),n.d(t,"U",(function(){return he.e})),n.d(t,"Db",(function(){return he.g})),n.d(t,"ab",(function(){return he.f})),n.d(t,"gb",(function(){return fe.a})),n.d(t,"Oc",(function(){return me.a})),n.d(t,"ad",(function(){return ge.b})),n.d(t,"Lc",(function(){return ge.a})),n.d(t,"bd",(function(){return be.a})),n.d(t,"xc",(function(){return ye.a})),n.d(t,"cd",(function(){return ye.b})),n.d(t,"dd",(function(){return ve.a})),n.d(t,"ed",(function(){return _e.a})),n.d(t,"Yb",(function(){return Se.a})),n.d(t,"yb",(function(){return Ce})),n.d(t,"Ec",(function(){return W.b})),n.d(t,"n",(function(){return W.a})),n.d(t,"Jc",(function(){return xe.b})),n.d(t,"M",(function(){return we.a}))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return u})),n.d(t,"b",(function(){return p}));var o=function(){return(o=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)},r="undefined"==typeof window?e:window,i=r&&r.CSPSettings&&r.CSPSettings.nonce,a=function(){var e=r.__themeState__||{theme:void 0,lastStyleElement:void 0,registeredStyles:[]};return e.runState||(e=o({},e,{perf:{count:0,duration:0},runState:{flushTimer:0,mode:0,buffer:[]}})),e.registeredThemableStyles||(e=o({},e,{registeredThemableStyles:[]})),r.__themeState__=e,e}(),s=/[\'\"]\[theme:\s*(\w+)\s*(?:\,\s*default:\s*([\\"\']?[\.\,\(\)\#\-\s\w]*[\.\,\(\)\#\-\w][\"\']?))?\s*\][\'\"]/g,c=function(){return"undefined"!=typeof performance&&performance.now?performance.now():Date.now()};function l(e){var t=c();e();var n=c();a.perf.duration+=n-t}function u(e,t){void 0===t&&(t=!1),l((function(){var n=Array.isArray(e)?e:m(e),o=a.runState,r=o.mode,i=o.buffer,s=o.flushTimer;t||1===r?(i.push(n),s||(a.runState.flushTimer=setTimeout((function(){a.runState.flushTimer=0,l((function(){var e=a.runState.buffer.slice();a.runState.buffer=[];var t=[].concat.apply([],e);t.length>0&&d(t)}))}),0))):d(n)}))}function d(e,t){a.loadStyles?a.loadStyles(f(e).styleString,e):function(e){if("undefined"!=typeof document){var t=document.getElementsByTagName("head")[0],n=document.createElement("style"),o=f(e),r=o.styleString,s=o.themable;n.setAttribute("data-load-themed-styles","true"),i&&n.setAttribute("nonce",i),n.appendChild(document.createTextNode(r)),a.perf.count++,t.appendChild(n);var c=document.createEvent("HTMLEvents");c.initEvent("styleinsert",!0,!1),c.args={newStyle:n},document.dispatchEvent(c);var l={styleElement:n,themableStyle:e};s?a.registeredThemableStyles.push(l):a.registeredStyles.push(l)}}(e)}function p(e){a.theme=e,function(){if(a.theme){for(var e=[],t=0,n=a.registeredThemableStyles;t<n.length;t++){var o=n[t];e.push(o.themableStyle)}e.length>0&&(function(e){void 0===e&&(e=3),3!==e&&2!==e||(h(a.registeredStyles),a.registeredStyles=[]),3!==e&&1!==e||(h(a.registeredThemableStyles),a.registeredThemableStyles=[])}(1),d([].concat.apply([],e)))}}()}function h(e){e.forEach((function(e){var t=e&&e.styleElement;t&&t.parentElement&&t.parentElement.removeChild(t)}))}function f(e){var t=a.theme,n=!1;return{styleString:(e||[]).map((function(e){var o=e.theme;if(o){n=!0;var r=t?t[o]:void 0,i=e.defaultValue||"inherit";return t&&!r&&console&&!(o in t)&&"undefined"!=typeof DEBUG&&DEBUG&&console.warn('Theming value not provided for "'+o+'". Falling back to "'+i+'".'),r||i}return e.rawString})).join(""),themable:n}}function m(e){var t=[];if(e){for(var n=0,o=void 0;o=s.exec(e);){var r=o.index;r>n&&t.push({rawString:e.substring(n,r)}),t.push({theme:o[1],defaultValue:o[2]}),n=s.lastIndex}t.push({rawString:e.substring(n)})}return t}}).call(this,n(69))},function(e,t,n){"use strict";var o=this&&this.__assign||function(){return(o=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)},r=this&&this.__createBinding||(Object.create?function(e,t,n,o){void 0===o&&(o=n),Object.defineProperty(e,o,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,o){void 0===o&&(o=n),e[o]=t[n]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.hasOwnProperty.call(e,n)&&r(t,e,n);return i(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.mconnect=t.combineStates=t.ReducerGraphNode=t.createActionTypes=t.createStateField=t.createImmutableSet=t.createImmutableList=t.createImmutableWeakTypedMap=t.createImmutableMap=t.createImmutableDate=void 0;var s=n(148),c=n(124),l=a(n(124)),u=n(129),d=n(19),p=n(152);function h(e,t){Object.keys(e).forEach((function(n){var o=e[n];t(n,o)}))}Object.defineProperty(t,"createSelector",{enumerable:!0,get:function(){return p.createSelector}}),Object.defineProperty(t,"createStructuredSelector",{enumerable:!0,get:function(){return p.createStructuredSelector}}),t.createImmutableDate=s,t.createImmutableMap=c.Map,t.createImmutableWeakTypedMap=c.Map,t.createImmutableList=c.List,t.createImmutableSet=c.Set,t.createStateField=function(e,t){return function(n,o){if(void 0===n&&(n=e),d.buildService.isDevelopment){var r=Object.keys(t).filter((function(e){return d.equalsIgnoringCase(e,o.type)}));if(1===r.length){var i=r[0];return t[i](n,o)}return n}return t.hasOwnProperty(o.type)?t[o.type](n,o):n}},t.createActionTypes=function(e,t){if(!d.buildService.isProduction)for(var n=Object.values(e).sort(),o=0;o<n.length-1;o++)if(n[o+1]===n[o])throw new Error("Duplicate action values in "+t);return Object.keys(e).forEach((function(n){d.buildService.isDevelopment?e[n]=e[n]+" ("+t+")":e[n]=e[n]+" ("+t.toUpperCase()+")"})),e};var f=function(){function e(e,t,n){void 0===t&&(t=l.Map),this.staticReducers=e,this.getDefaultState=t,this.getStore=n,this.dynamicReducers={},this.parentNode=void 0,this.parentKeyName=void 0,this._setParent(e)}return e.prototype.addSubStates=function(e){var t;this.dynamicReducers=o(o({},this.dynamicReducers),e),this._setParent(this.dynamicReducers),void 0!==this.parentNode&&void 0!==this.parentKeyName?this.parentNode.addSubStates(((t={})[this.parentKeyName]=this,t)):d.buildService.isTest||(d.assert(void 0!==this.getStore(),"rootReudcer should have reference to store"),this.getStore().replaceReducer(this.getReducerFunction()))},e.prototype.getReducerFunction=function(){var t=this,n=o(o({},this.staticReducers),this.dynamicReducers);return function(o,r){return void 0===o&&(o=t.getDefaultState()),o.withMutations((function(t){h(n,(function(n,i){var a=t.get(n),s=(i instanceof e?i.getReducerFunction():i)(a,r,o);!function(e,t,n){if(void 0===e)throw new Error("Reducer "+t+" returned undefined when handling "+n.type+" action.\n      To ignore an action, you must explicitly return the previous state.")}(s,n,r),t.set(n,s)}))}))}},e.prototype._setParent=function(t){var n=this;h(t,(function(t,o){o instanceof e&&(o.parentKeyName=t,o.parentNode=n)}))},e}();t.ReducerGraphNode=f,t.combineStates=function(e,t,n){return void 0===t&&(t=l.Map),new f(e,t,n)},t.mconnect=u.connect},function(e,t,n){"use strict";n.r(t);var o={};n.r(o),n.d(o,"root",(function(){return Dr})),n.d(o,"picker",(function(){return Ar})),n.d(o,"holder",(function(){return Rr})),n.d(o,"pickerIsOpened",(function(){return Mr})),n.d(o,"frame",(function(){return Fr})),n.d(o,"wrap",(function(){return jr})),n.d(o,"goTodaySpacing",(function(){return Lr})),n.d(o,"dayPicker",(function(){return Hr})),n.d(o,"header",(function(){return Br})),n.d(o,"divider",(function(){return zr})),n.d(o,"monthAndYear",(function(){return Ur})),n.d(o,"year",(function(){return Vr})),n.d(o,"decade",(function(){return Wr})),n.d(o,"currentYear",(function(){return qr})),n.d(o,"currentDecade",(function(){return Gr})),n.d(o,"table",(function(){return Kr})),n.d(o,"dayWrapper",(function(){return Yr})),n.d(o,"weekday",(function(){return Qr})),n.d(o,"day",(function(){return $r})),n.d(o,"daySelection",(function(){return Zr})),n.d(o,"dayIsToday",(function(){return Xr})),n.d(o,"dayIsDisabled",(function(){return Jr})),n.d(o,"dayIsUnfocused",(function(){return ei})),n.d(o,"dayIsFocused",(function(){return ti})),n.d(o,"dayIsHighlighted",(function(){return ni})),n.d(o,"pickerIsFocused",(function(){return oi})),n.d(o,"dayDisabled",(function(){return ri})),n.d(o,"dayBackground",(function(){return ii})),n.d(o,"dayHover",(function(){return ai})),n.d(o,"dayPress",(function(){return si})),n.d(o,"weekBackground",(function(){return ci})),n.d(o,"showWeekNumbers",(function(){return li})),n.d(o,"weekNumbers",(function(){return ui})),n.d(o,"weekIsHighlighted",(function(){return di})),n.d(o,"showWeekNumbersRTL",(function(){return pi})),n.d(o,"monthComponents",(function(){return hi})),n.d(o,"yearComponents",(function(){return fi})),n.d(o,"decadeComponents",(function(){return mi})),n.d(o,"closeButton",(function(){return gi})),n.d(o,"prevMonth",(function(){return bi})),n.d(o,"nextMonth",(function(){return yi})),n.d(o,"prevYear",(function(){return vi})),n.d(o,"nextYear",(function(){return _i})),n.d(o,"prevDecade",(function(){return Si})),n.d(o,"nextDecade",(function(){return Ci})),n.d(o,"prevMonthIsDisabled",(function(){return xi})),n.d(o,"nextMonthIsDisabled",(function(){return wi})),n.d(o,"prevYearIsDisabled",(function(){return Ti})),n.d(o,"nextYearIsDisabled",(function(){return ki})),n.d(o,"prevDecadeIsDisabled",(function(){return Ii})),n.d(o,"nextDecadeIsDisabled",(function(){return Oi})),n.d(o,"headerToggleView",(function(){return Ei})),n.d(o,"optionGrid",(function(){return Ni})),n.d(o,"monthOption",(function(){return Pi})),n.d(o,"yearOption",(function(){return Di})),n.d(o,"isHighlighted",(function(){return Ai})),n.d(o,"monthOptionIsDisabled",(function(){return Ri})),n.d(o,"yearOptionIsDisabled",(function(){return Mi})),n.d(o,"goToday",(function(){return Fi})),n.d(o,"goToTodayIsDisabled",(function(){return ji})),n.d(o,"goTodayInlineMonth",(function(){return Li})),n.d(o,"isPickingYears",(function(){return Hi})),n.d(o,"monthPicker",(function(){return Bi})),n.d(o,"yearPicker",(function(){return zi})),n.d(o,"monthPickerVisible",(function(){return Ui})),n.d(o,"toggleMonthView",(function(){return Vi})),n.d(o,"calendarsInline",(function(){return Wi})),n.d(o,"monthPickerOnly",(function(){return qi})),n.d(o,"monthPickerAsOverlay",(function(){return Gi})),n.d(o,"holderWithButton",(function(){return Ki})),n.d(o,"monthIsHighlighted",(function(){return Yi})),n.d(o,"monthIsCurrentMonth",(function(){return Qi})),n.d(o,"yearIsHighlighted",(function(){return $i})),n.d(o,"yearIsCurrentYear",(function(){return Zi})),n.d(o,"topLeftCornerDate",(function(){return Xi})),n.d(o,"topRightCornerDate",(function(){return Ji})),n.d(o,"bottomLeftCornerDate",(function(){return ea})),n.d(o,"bottomRightCornerDate",(function(){return ta})),n.d(o,"weekSelection",(function(){return na})),n.d(o,"monthSelection",(function(){return oa})),n.d(o,"topDate",(function(){return ra})),n.d(o,"rightDate",(function(){return ia})),n.d(o,"bottomDate",(function(){return aa})),n.d(o,"leftdate",(function(){return sa}));var r={};n.r(r),n.d(r,"pickerText",(function(){return Op})),n.d(r,"pickerInput",(function(){return Ep}));var i={};n.r(i),n.d(i,"callout",(function(){return Wp}));var a={};n.r(a),n.d(a,"root",(function(){return qp})),n.d(a,"suggestionsItem",(function(){return Gp})),n.d(a,"closeButton",(function(){return Kp})),n.d(a,"suggestionsItemIsSuggested",(function(){return Yp})),n.d(a,"itemButton",(function(){return Qp})),n.d(a,"actionButton",(function(){return $p})),n.d(a,"buttonSelected",(function(){return Zp})),n.d(a,"suggestionsTitle",(function(){return Xp})),n.d(a,"suggestionsContainer",(function(){return Jp})),n.d(a,"suggestionsNone",(function(){return eh})),n.d(a,"suggestionsSpinner",(function(){return th})),n.d(a,"suggestionsAvailable",(function(){return nh}));var s={};n.r(s),n.d(s,"suggestionsContainer",(function(){return ah}));var c={};n.r(c),n.d(c,"root",(function(){return uh})),n.d(c,"actionButton",(function(){return dh})),n.d(c,"buttonSelected",(function(){return ph})),n.d(c,"suggestionsTitle",(function(){return hh})),n.d(c,"suggestionsSpinner",(function(){return fh})),n.d(c,"itemButton",(function(){return mh})),n.d(c,"screenReaderOnly",(function(){return gh}));var l={};n.r(l),n.d(l,"pickerText",(function(){return um})),n.d(l,"inputFocused",(function(){return dm})),n.d(l,"pickerInput",(function(){return pm})),n.d(l,"pickerItems",(function(){return hm})),n.d(l,"screenReaderOnly",(function(){return fm}));var u={};n.r(u),n.d(u,"personaContainer",(function(){return Eg})),n.d(u,"hover",(function(){return Ng})),n.d(u,"actionButton",(function(){return Pg})),n.d(u,"personaContainerIsSelected",(function(){return Dg})),n.d(u,"validationError",(function(){return Ag})),n.d(u,"itemContent",(function(){return Rg})),n.d(u,"removeButton",(function(){return Mg})),n.d(u,"expandButton",(function(){return Fg})),n.d(u,"personaWrapper",(function(){return jg})),n.d(u,"personaDetails",(function(){return Lg})),n.d(u,"itemContainer",(function(){return Hg}));var d,p,h,f,m=n(1),g=n(0),b=n(3),y=n(23),v=Object(y.c)((function(e,t,n,o){return{root:Object(b.db)("ms-ActivityItem",t,e.root,o&&e.isCompactRoot),pulsingBeacon:Object(b.db)("ms-ActivityItem-pulsingBeacon",e.pulsingBeacon),personaContainer:Object(b.db)("ms-ActivityItem-personaContainer",e.personaContainer,o&&e.isCompactPersonaContainer),activityPersona:Object(b.db)("ms-ActivityItem-activityPersona",e.activityPersona,o&&e.isCompactPersona,!o&&n&&2===n.length&&e.doublePersona),activityTypeIcon:Object(b.db)("ms-ActivityItem-activityTypeIcon",e.activityTypeIcon,o&&e.isCompactIcon),activityContent:Object(b.db)("ms-ActivityItem-activityContent",e.activityContent,o&&e.isCompactContent),activityText:Object(b.db)("ms-ActivityItem-activityText",e.activityText),commentText:Object(b.db)("ms-ActivityItem-commentText",e.commentText),timeStamp:Object(b.db)("ms-ActivityItem-timeStamp",e.timeStamp,o&&e.isCompactTimeStamp)}})),_=Object(y.c)((function(){return Object(b.ab)({from:{opacity:0},to:{opacity:1}})})),S=Object(y.c)((function(){return Object(b.ab)({from:{transform:"translateX(-10px)"},to:{transform:"translateX(0)"}})})),C=Object(y.c)((function(e,t,n,o,r,i){var a;void 0===e&&(e=Object(b.X)());var s={animationName:b.q.continuousPulseAnimationSingle(o||e.palette.themePrimary,r||e.palette.themeTertiary,"4px","28px","4px"),animationIterationCount:"1",animationDuration:".8s",zIndex:1},c={animationName:S(),animationIterationCount:"1",animationDuration:".5s"},l={animationName:_(),animationIterationCount:"1",animationDuration:".5s"},u={root:[e.fonts.small,{display:"flex",justifyContent:"flex-start",alignItems:"flex-start",boxSizing:"border-box",color:e.palette.neutralSecondary},i&&n&&l],pulsingBeacon:[{position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -50%)",width:"0px",height:"0px",borderRadius:"225px",borderStyle:"solid",opacity:0},i&&n&&s],isCompactRoot:{alignItems:"center"},personaContainer:{display:"flex",flexWrap:"wrap",minWidth:"32px",width:"32px",height:"32px"},isCompactPersonaContainer:{display:"inline-flex",flexWrap:"nowrap",flexBasis:"auto",height:"16px",width:"auto",minWidth:"0",paddingRight:"6px"},activityTypeIcon:{height:"32px",fontSize:"16px",lineHeight:"16px",marginTop:"3px"},isCompactIcon:{height:"16px",minWidth:"16px",fontSize:"13px",lineHeight:"13px",color:e.palette.themePrimary,marginTop:"1px",position:"relative",display:"flex",justifyContent:"center",alignItems:"center",selectors:{".ms-Persona-imageArea":{margin:"-2px 0 0 -2px",border:"2px solid"+e.palette.white,borderRadius:"50%",selectors:(a={},a[b.l]={border:"none",margin:"0"},a)}}},activityPersona:{display:"block"},doublePersona:{selectors:{":first-child":{alignSelf:"flex-end"}}},isCompactPersona:{display:"inline-block",width:"8px",minWidth:"8px",overflow:"visible"},activityContent:[{padding:"0 8px"},i&&n&&c],activityText:{display:"inline"},isCompactContent:{flex:"1",padding:"0 4px",whiteSpace:"nowrap",textOverflow:"ellipsis",overflowX:"hidden"},commentText:{color:e.palette.neutralPrimary},timeStamp:[e.fonts.tiny,{fontWeight:400,color:e.palette.neutralSecondary}],isCompactTimeStamp:{display:"inline-block",paddingLeft:"0.3em",fontSize:"1em"}};return Object(b.H)(u,t)})),x=n(92),w=n(93),T=n(59),k=n(96),I=n(5);!function(e){e[e.default=0]="default",e[e.image=1]="image",e[e.Default=1e5]="Default",e[e.Image=100001]="Image"}(d||(d={})),function(e){e[e.center=0]="center",e[e.contain=1]="contain",e[e.cover=2]="cover",e[e.none=3]="none",e[e.centerCover=4]="centerCover",e[e.centerContain=5]="centerContain"}(p||(p={})),function(e){e[e.landscape=0]="landscape",e[e.portrait=1]="portrait"}(h||(h={})),function(e){e[e.notLoaded=0]="notLoaded",e[e.loaded=1]="loaded",e[e.error=2]="error",e[e.errorLoaded=3]="errorLoaded"}(f||(f={}));var O,E,N,P,D,A,R,M=Object(w.a)(),F=function(e){function t(t){var n=e.call(this,t)||this;return n._coverStyle=h.portrait,n._imageElement=g.createRef(),n._frameElement=g.createRef(),n._onImageLoaded=function(e){var t=n.props,o=t.src,r=t.onLoad;r&&r(e),n._computeCoverStyle(n.props),o&&n.setState({loadState:f.loaded})},n._onImageError=function(e){n.props.onError&&n.props.onError(e),n.setState({loadState:f.error})},n.state={loadState:f.notLoaded},n}return Object(m.c)(t,e),t.prototype.UNSAFE_componentWillReceiveProps=function(e){e.src!==this.props.src?this.setState({loadState:f.notLoaded}):this.state.loadState===f.loaded&&this._computeCoverStyle(e)},t.prototype.componentDidUpdate=function(e,t){this._checkImageLoaded(),this.props.onLoadingStateChange&&t.loadState!==this.state.loadState&&this.props.onLoadingStateChange(this.state.loadState)},t.prototype.render=function(){var e=Object(I.j)(this.props,I.n,["width","height"]),t=this.props,n=t.src,o=t.alt,r=t.width,i=t.height,a=t.shouldFadeIn,s=t.shouldStartVisible,c=t.className,l=t.imageFit,u=t.role,d=t.maximizeFrame,b=t.styles,y=t.theme,v=this.state.loadState,_=void 0!==this.props.coverStyle?this.props.coverStyle:this._coverStyle,S=M(b,{theme:y,className:c,width:r,height:i,maximizeFrame:d,shouldFadeIn:a,shouldStartVisible:s,isLoaded:v===f.loaded||v===f.notLoaded&&this.props.shouldStartVisible,isLandscape:_===h.landscape,isCenter:l===p.center,isCenterContain:l===p.centerContain,isCenterCover:l===p.centerCover,isContain:l===p.contain,isCover:l===p.cover,isNone:l===p.none,isError:v===f.error,isNotImageFit:void 0===l});return g.createElement("div",{className:S.root,style:{width:r,height:i},ref:this._frameElement},g.createElement("img",Object(m.a)({},e,{onLoad:this._onImageLoaded,onError:this._onImageError,key:"fabricImage"+this.props.src||!1,className:S.image,ref:this._imageElement,src:n,alt:o,role:u})))},t.prototype._checkImageLoaded=function(){var e=this.props.src;this.state.loadState===f.notLoaded&&this._imageElement.current&&(e&&this._imageElement.current.naturalWidth>0&&this._imageElement.current.naturalHeight>0||this._imageElement.current.complete&&t._svgRegex.test(e))&&(this._computeCoverStyle(this.props),this.setState({loadState:f.loaded}))},t.prototype._computeCoverStyle=function(e){var t=e.imageFit,n=e.width,o=e.height;if((t===p.cover||t===p.contain||t===p.centerContain||t===p.centerCover)&&void 0===this.props.coverStyle&&this._imageElement.current&&this._frameElement.current){var r;r="number"==typeof n&&"number"==typeof o&&t!==p.centerContain&&t!==p.centerCover?n/o:this._frameElement.current.clientWidth/this._frameElement.current.clientHeight;var i=this._imageElement.current.naturalWidth/this._imageElement.current.naturalHeight;this._coverStyle=i>r?h.landscape:h.portrait}},t.defaultProps={shouldFadeIn:!0},t._svgRegex=/\.svg$/i,t}(g.Component),j=n(4),L={root:"ms-Image",rootMaximizeFrame:"ms-Image--maximizeFrame",image:"ms-Image-image",imageCenter:"ms-Image-image--center",imageContain:"ms-Image-image--contain",imageCover:"ms-Image-image--cover",imageCenterContain:"ms-Image-image--centerContain",imageCenterCover:"ms-Image-image--centerCover",imageNone:"ms-Image-image--none",imageLandscape:"ms-Image-image--landscape",imagePortrait:"ms-Image-image--portrait"},H=Object(x.a)(F,(function(e){var t=e.className,n=e.width,o=e.height,r=e.maximizeFrame,i=e.isLoaded,a=e.shouldFadeIn,s=e.shouldStartVisible,c=e.isLandscape,l=e.isCenter,u=e.isContain,d=e.isCover,p=e.isCenterContain,h=e.isCenterCover,f=e.isNone,m=e.isError,g=e.isNotImageFit,y=e.theme,v=Object(b.R)(L,y),_={position:"absolute",left:"50% /* @noflip */",top:"50%",transform:"translate(-50%,-50%)"},S=Object(j.a)(),C=void 0!==S&&void 0===S.navigator.msMaxTouchPoints,x=u&&c||d&&!c?{width:"100%",height:"auto"}:{width:"auto",height:"100%"};return{root:[v.root,y.fonts.medium,{overflow:"hidden"},r&&[v.rootMaximizeFrame,{height:"100%",width:"100%"}],i&&a&&!s&&b.a.fadeIn400,(l||u||d||p||h)&&{position:"relative"},t],image:[v.image,{display:"block",opacity:0},i&&["is-loaded",{opacity:1}],l&&[v.imageCenter,_],u&&[v.imageContain,C&&{width:"100%",height:"100%",objectFit:"contain"},!C&&x,_],d&&[v.imageCover,C&&{width:"100%",height:"100%",objectFit:"cover"},!C&&x,_],p&&[v.imageCenterContain,c&&{maxWidth:"100%"},!c&&{maxHeight:"100%"},_],h&&[v.imageCenterCover,c&&{maxHeight:"100%"},!c&&{maxWidth:"100%"},_],f&&[v.imageNone,{width:"auto",height:"auto"}],g&&[!!n&&!o&&{height:"auto",width:"100%"},!n&&!!o&&{height:"100%",width:"auto"},!!n&&!!o&&{height:"100%",width:"100%"}],c&&v.imageLandscape,!c&&v.imagePortrait,!i&&"is-notLoaded",a&&"is-fadeIn",m&&"is-error"]}}),void 0,{scope:"Image"},!0),B=Object(b.cb)({root:{display:"inline-block"},placeholder:["ms-Icon-placeHolder",{width:"1em"}],image:["ms-Icon-imageContainer",{overflow:"hidden"}]}),z=n(95),U=Object(y.c)((function(e){var t=Object(b.S)(e)||{subset:{},code:void 0},n=t.code,o=t.subset;return n?{children:n,iconClassName:o.className,fontFamily:o.fontFace&&o.fontFace.fontFamily}:null}),void 0,!0),V=function(e){var t=e.iconName,n=e.className,o=e.style,r=void 0===o?{}:o,i=U(t)||{},a=i.iconClassName,s=i.children,c=i.fontFamily,l=Object(I.j)(e,I.k),u=e["aria-label"]?{}:{role:"presentation","aria-hidden":!0};return g.createElement("i",Object(m.a)({"data-icon-name":t},u,l,{className:Object(z.a)("ms-Icon",B.root,a,!t&&B.placeholder,n),style:Object(m.a)({fontFamily:c},r)}),s)},W=Object(y.c)((function(e,t,n){return V({iconName:e,className:t,"aria-label":n})})),q=Object(w.a)({cacheSize:100}),G=function(e){function t(t){var n=e.call(this,t)||this;return n.onImageLoadingStateChange=function(e){n.props.imageProps&&n.props.imageProps.onLoadingStateChange&&n.props.imageProps.onLoadingStateChange(e),e===f.error&&n.setState({imageLoadError:!0})},n.state={imageLoadError:!1},n}return Object(m.c)(t,e),t.prototype.render=function(){var e=this.props,t=e.children,n=e.className,o=e.styles,r=e.iconName,i=e.imageErrorAs,a=e.theme,s="string"==typeof r&&0===r.length,c=!!this.props.imageProps||this.props.iconType===d.image||this.props.iconType===d.Image,l=U(r)||{},u=l.iconClassName,p=l.children,h=q(o,{theme:a,className:n,iconClassName:u,isImage:c,isPlaceholder:s}),f=c?"span":"i",b=Object(I.j)(this.props,I.k,["aria-label"]),y=this.state.imageLoadError,v=Object(m.a)(Object(m.a)({},this.props.imageProps),{onLoadingStateChange:this.onImageLoadingStateChange}),_=y&&i||H,S=this.props["aria-label"]||this.props.ariaLabel,C=S?{"aria-label":S}:{"aria-hidden":!this.props["aria-labelledby"]&&!v["aria-labelledby"]};return g.createElement(f,Object(m.a)({"data-icon-name":r},C,b,{className:h.root}),c?g.createElement(_,Object(m.a)({},v)):t||p)},t}(g.Component),K=Object(x.a)(G,(function(e){var t=e.className,n=e.iconClassName,o=e.isPlaceholder,r=e.isImage,i=e.styles;return{root:[o&&B.placeholder,B.root,r&&B.image,n,t,i&&i.root,i&&i.imageContainer]}}),void 0,{scope:"Icon"},!0);!function(e){e[e.tiny=0]="tiny",e[e.extraExtraSmall=1]="extraExtraSmall",e[e.extraSmall=2]="extraSmall",e[e.small=3]="small",e[e.regular=4]="regular",e[e.large=5]="large",e[e.extraLarge=6]="extraLarge",e[e.size8=17]="size8",e[e.size10=9]="size10",e[e.size16=8]="size16",e[e.size24=10]="size24",e[e.size28=7]="size28",e[e.size32=11]="size32",e[e.size40=12]="size40",e[e.size48=13]="size48",e[e.size56=16]="size56",e[e.size72=14]="size72",e[e.size100=15]="size100",e[e.size120=18]="size120"}(O||(O={})),function(e){e[e.none=0]="none",e[e.offline=1]="offline",e[e.online=2]="online",e[e.away=3]="away",e[e.dnd=4]="dnd",e[e.blocked=5]="blocked",e[e.busy=6]="busy"}(E||(E={})),function(e){e[e.lightBlue=0]="lightBlue",e[e.blue=1]="blue",e[e.darkBlue=2]="darkBlue",e[e.teal=3]="teal",e[e.lightGreen=4]="lightGreen",e[e.green=5]="green",e[e.darkGreen=6]="darkGreen",e[e.lightPink=7]="lightPink",e[e.pink=8]="pink",e[e.magenta=9]="magenta",e[e.purple=10]="purple",e[e.black=11]="black",e[e.orange=12]="orange",e[e.red=13]="red",e[e.darkRed=14]="darkRed",e[e.transparent=15]="transparent",e[e.violet=16]="violet",e[e.lightRed=17]="lightRed",e[e.gold=18]="gold",e[e.burgundy=19]="burgundy",e[e.warmGray=20]="warmGray",e[e.coolGray=21]="coolGray",e[e.gray=22]="gray",e[e.cyan=23]="cyan",e[e.rust=24]="rust"}(N||(N={})),(A=D||(D={})).size8="20px",A.size10="20px",A.size16="16px",A.size24="24px",A.size28="28px",A.size32="32px",A.size40="40px",A.size48="48px",A.size56="56px",A.size72="72px",A.size100="100px",A.size120="120px",function(e){e.size6="6px",e.size8="8px",e.size12="12px",e.size16="16px",e.size20="20px",e.size28="28px",e.size32="32px",e.border="2px"}(R||(R={}));var Y=function(e){return{isSize8:e===O.size8,isSize10:e===O.size10||e===O.tiny,isSize16:e===O.size16,isSize24:e===O.size24||e===O.extraExtraSmall,isSize28:e===O.size28||e===O.extraSmall,isSize32:e===O.size32,isSize40:e===O.size40||e===O.small,isSize48:e===O.size48||e===O.regular,isSize56:e===O.size56,isSize72:e===O.size72||e===O.large,isSize100:e===O.size100||e===O.extraLarge,isSize120:e===O.size120}},Q=((P={})[O.tiny]=10,P[O.extraExtraSmall]=24,P[O.extraSmall]=28,P[O.small]=40,P[O.regular]=48,P[O.large]=72,P[O.extraLarge]=100,P[O.size8]=8,P[O.size10]=10,P[O.size16]=16,P[O.size24]=24,P[O.size28]=28,P[O.size32]=32,P[O.size40]=40,P[O.size48]=48,P[O.size56]=56,P[O.size72]=72,P[O.size100]=100,P[O.size120]=120,P),$=function(e){return{isAvailable:e===E.online,isAway:e===E.away,isBlocked:e===E.blocked,isBusy:e===E.busy,isDoNotDisturb:e===E.dnd,isOffline:e===E.offline}},Z=Object(w.a)({cacheSize:100}),X=function(e){function t(t){var n=e.call(this,t)||this;return n._onRenderIcon=function(e,t){return g.createElement(K,{className:e,iconName:J(n.props.presence,n.props.isOutOfOffice),style:t})},n}return Object(m.c)(t,e),t.prototype.render=function(){var e=this.props,t=e.coinSize,n=e.isOutOfOffice,o=e.styles,r=e.presence,i=e.theme,a=e.presenceTitle,s=e.presenceColors,c=Y(this.props.size),l=!(c.isSize8||c.isSize10||c.isSize16||c.isSize24||c.isSize28||c.isSize32)&&(!t||t>32),u=t?t/3<40?t/3+"px":"40px":"",d=t?{fontSize:t?t/6<20?t/6+"px":"20px":"",lineHeight:u}:void 0,p=t?{width:u,height:u}:void 0,h=Z(o,{theme:i,presence:r,size:this.props.size,isOutOfOffice:n,presenceColors:s});return r===E.none?null:g.createElement("div",{role:"presentation",className:h.presence,style:p,title:a},l&&this._onRenderIcon(h.presenceIcon,d))},t}(g.Component);function J(e,t){if(e){switch(E[e]){case"online":return"SkypeCheck";case"away":return t?"SkypeArrow":"SkypeClock";case"dnd":return"SkypeMinus";case"offline":return t?"SkypeArrow":""}return""}}var ee={presence:"ms-Persona-presence",presenceIcon:"ms-Persona-presenceIcon"};function te(e){return{color:e,borderColor:e}}function ne(e,t){return{selectors:{":before":{border:e+" solid "+t}}}}function oe(e){return{height:e,width:e}}function re(e){return{backgroundColor:e}}var ie=Object(x.a)(X,(function(e){var t,n,o,r,i,a,s=e.theme,c=e.presenceColors,l=s.semanticColors,u=s.fonts,d=Object(b.R)(ee,s),p=Y(e.size),h=$(e.presence),f=c&&c.available||"#6BB700",m=c&&c.away||"#FFAA44",g=c&&c.busy||"#C43148",y=c&&c.dnd||"#C50F1F",v=c&&c.offline||"#8A8886",_=c&&c.oof||"#B4009E",S=c&&c.background||l.bodyBackground,C=h.isOffline||e.isOutOfOffice&&(h.isAvailable||h.isBusy||h.isAway||h.isDoNotDisturb),x=p.isSize72||p.isSize100?"2px":"1px";return{presence:[d.presence,{position:"absolute",height:R.size12,width:R.size12,borderRadius:"50%",top:"auto",right:"-2px",bottom:"-2px",border:"2px solid "+S,textAlign:"center",boxSizing:"content-box",backgroundClip:"content-box",MsHighContrastAdjust:"none",selectors:(t={},t[b.l]={borderColor:"Window",backgroundColor:"WindowText"},t)},(p.isSize8||p.isSize10)&&{right:"auto",top:"7px",left:0,border:0,selectors:(n={},n[b.l]={top:"9px",border:"1px solid WindowText"},n)},(p.isSize8||p.isSize10||p.isSize24||p.isSize28||p.isSize32)&&oe(R.size8),(p.isSize40||p.isSize48)&&oe(R.size12),p.isSize16&&{height:R.size6,width:R.size6,borderWidth:"1.5px"},p.isSize56&&oe(R.size16),p.isSize72&&oe(R.size20),p.isSize100&&oe(R.size28),p.isSize120&&oe(R.size32),h.isAvailable&&{backgroundColor:f,selectors:(o={},o[b.l]=re("Highlight"),o)},h.isAway&&re(m),h.isBlocked&&[{selectors:(r={":after":p.isSize40||p.isSize48||p.isSize72||p.isSize100?{content:'""',width:"100%",height:x,backgroundColor:g,transform:"translateY(-50%) rotate(-45deg)",position:"absolute",top:"50%",left:0}:void 0},r[b.l]={selectors:{":after":{width:"calc(100% - 4px)",left:"2px",backgroundColor:"Window"}}},r)}],h.isBusy&&re(g),h.isDoNotDisturb&&re(y),h.isOffline&&re(v),(C||h.isBlocked)&&[{backgroundColor:S,selectors:(i={":before":{content:'""',width:"100%",height:"100%",position:"absolute",top:0,left:0,border:x+" solid "+g,borderRadius:"50%",boxSizing:"border-box"}},i[b.l]={backgroundColor:"WindowText",selectors:{":before":{width:"calc(100% - 2px)",height:"calc(100% - 2px)",top:"1px",left:"1px",borderColor:"Window"}}},i)}],C&&h.isAvailable&&ne(x,f),C&&h.isBusy&&ne(x,g),C&&h.isAway&&ne(x,_),C&&h.isDoNotDisturb&&ne(x,y),C&&h.isOffline&&ne(x,v),C&&h.isOffline&&e.isOutOfOffice&&ne(x,_)],presenceIcon:[d.presenceIcon,{color:S,fontSize:"6px",lineHeight:R.size12,verticalAlign:"top",selectors:(a={},a[b.l]={color:"Window"},a)},p.isSize56&&{fontSize:"8px",lineHeight:R.size16},p.isSize72&&{fontSize:u.small.fontSize,lineHeight:R.size20},p.isSize100&&{fontSize:u.medium.fontSize,lineHeight:R.size28},p.isSize120&&{fontSize:u.medium.fontSize,lineHeight:R.size32},h.isAway&&{position:"relative",left:C?void 0:"1px"},C&&h.isAvailable&&te(f),C&&h.isBusy&&te(g),C&&h.isAway&&te(_),C&&h.isDoNotDisturb&&te(y),C&&h.isOffline&&te(v),C&&h.isOffline&&e.isOutOfOffice&&te(_)]}}),void 0,{scope:"PersonaPresence"}),ae=[N.lightBlue,N.blue,N.darkBlue,N.teal,N.green,N.darkGreen,N.lightPink,N.pink,N.magenta,N.purple,N.orange,N.lightRed,N.darkRed,N.violet,N.gold,N.burgundy,N.warmGray,N.cyan,N.rust,N.coolGray],se=ae.length;function ce(e){var t=e.primaryText,n=e.text,o=e.initialsColor;return"string"==typeof o?o:function(e){switch(e){case N.lightBlue:return"#4F6BED";case N.blue:return"#0078D4";case N.darkBlue:return"#004E8C";case N.teal:return"#038387";case N.lightGreen:case N.green:return"#498205";case N.darkGreen:return"#0B6A0B";case N.lightPink:return"#C239B3";case N.pink:return"#E3008C";case N.magenta:return"#881798";case N.purple:return"#5C2E91";case N.orange:return"#CA5010";case N.red:return"#EE1111";case N.lightRed:return"#D13438";case N.darkRed:return"#A4262C";case N.transparent:return"transparent";case N.violet:return"#8764B8";case N.gold:return"#986F0B";case N.burgundy:return"#750B1C";case N.warmGray:return"#7A7574";case N.cyan:return"#005B70";case N.rust:return"#8E562E";case N.coolGray:return"#69797E";case N.black:return"#1D1D1D";case N.gray:return"#393939"}}(o=void 0!==o?o:function(e){var t=N.blue;if(!e)return t;for(var n=0,o=e.length-1;o>=0;o--){var r=e.charCodeAt(o),i=o%8;n^=(r<<i)+(r>>8-i)}return ae[n%se]}(n||t))}var le,ue=Object(w.a)({cacheSize:100}),de=function(e){function t(t){var n=e.call(this,t)||this;return n._onRenderCoin=function(e){var t=n.props,o=t.coinSize,r=t.styles,i=t.imageUrl,a=t.imageAlt,s=t.imageShouldFadeIn,c=t.imageShouldStartVisible,l=t.theme,u=t.showUnknownPersonaCoin;if(!i)return null;var d=n.props.size,h=ue(r,{theme:l,size:d,showUnknownPersonaCoin:u}),f=o||Q[d];return g.createElement(H,{className:h.image,imageFit:p.cover,src:i,width:f,height:f,alt:a,shouldFadeIn:s,shouldStartVisible:c,onLoadingStateChange:n._onPhotoLoadingStateChange})},n._onRenderInitials=function(e){var t=e.imageInitials,o=e.allowPhoneInitials;if(e.showUnknownPersonaCoin)return g.createElement(K,{iconName:"Help"});var r=Object(T.a)(n.props.theme);return""!==(t=t||Object(k.a)(n._getText(),r,o))?g.createElement("span",null,t):g.createElement(K,{iconName:"Contact"})},n._onPhotoLoadingStateChange=function(e){n.setState({isImageLoaded:e===f.loaded,isImageError:e===f.error}),n.props.onPhotoLoadingStateChange&&n.props.onPhotoLoadingStateChange(e)},n.state={isImageLoaded:!1,isImageError:!1},n}return Object(m.c)(t,e),t.prototype.UNSAFE_componentWillReceiveProps=function(e){e.imageUrl!==this.props.imageUrl&&this.setState({isImageLoaded:!1,isImageError:!1})},t.prototype.render=function(){var e=this.props,t=e.className,n=e.coinProps,o=e.showUnknownPersonaCoin,r=e.coinSize,i=e.styles,a=e.imageUrl,s=e.isOutOfOffice,c=e.onRenderCoin,l=void 0===c?this._onRenderCoin:c,u=e.onRenderPersonaCoin,d=void 0===u?l:u,p=e.onRenderInitials,h=void 0===p?this._onRenderInitials:p,f=e.presence,y=e.presenceTitle,v=e.presenceColors,_=e.showInitialsUntilImageLoads,S=e.theme,C=this.props.size,x=Object(I.j)(this.props,I.h),w=Object(I.j)(n||{},I.h),T=r?{width:r,height:r}:void 0,k=o,E={coinSize:r,isOutOfOffice:s,presence:f,presenceTitle:y,presenceColors:v,size:C,theme:S},N=ue(i,{theme:S,className:n&&n.className?n.className:t,size:C,coinSize:r,showUnknownPersonaCoin:o}),P=Boolean(!this.state.isImageLoaded&&(_&&a||!a||this.state.isImageError||k));return g.createElement("div",Object(m.a)({role:"presentation"},x,{className:N.coin}),C!==O.size8&&C!==O.size10&&C!==O.tiny?g.createElement("div",Object(m.a)({role:"presentation"},w,{className:N.imageArea,style:T}),P&&g.createElement("div",{className:Object(b.db)(N.initials,!o&&{backgroundColor:ce(this.props)}),style:T,"aria-hidden":"true"},h(this.props,this._onRenderInitials)),!k&&d(this.props,this._onRenderCoin),g.createElement(ie,Object(m.a)({},E))):this.props.presence?g.createElement(ie,Object(m.a)({},E)):g.createElement(K,{iconName:"Contact",className:N.size10WithoutPresenceIcon}),this.props.children)},t.prototype._getText=function(){return this.props.text||this.props.primaryText||""},t.defaultProps={size:O.size48,presence:E.none,imageAlt:""},t}(g.Component),pe={coin:"ms-Persona-coin",imageArea:"ms-Persona-imageArea",image:"ms-Persona-image",initials:"ms-Persona-initials",size8:"ms-Persona--size8",size10:"ms-Persona--size10",size16:"ms-Persona--size16",size24:"ms-Persona--size24",size28:"ms-Persona--size28",size32:"ms-Persona--size32",size40:"ms-Persona--size40",size48:"ms-Persona--size48",size56:"ms-Persona--size56",size72:"ms-Persona--size72",size100:"ms-Persona--size100",size120:"ms-Persona--size120"},he=Object(x.a)(de,(function(e){var t,n=e.className,o=e.theme,r=e.coinSize,i=o.palette,a=o.fonts,s=Y(e.size),c=Object(b.R)(pe,o),l=r||e.size&&Q[e.size]||48;return{coin:[c.coin,a.medium,s.isSize8&&c.size8,s.isSize10&&c.size10,s.isSize16&&c.size16,s.isSize24&&c.size24,s.isSize28&&c.size28,s.isSize32&&c.size32,s.isSize40&&c.size40,s.isSize48&&c.size48,s.isSize56&&c.size56,s.isSize72&&c.size72,s.isSize100&&c.size100,s.isSize120&&c.size120,n],size10WithoutPresenceIcon:{fontSize:a.xSmall.fontSize,position:"absolute",top:"5px",right:"auto",left:0},imageArea:[c.imageArea,{position:"relative",textAlign:"center",flex:"0 0 auto",height:l,width:l},l<=10&&{overflow:"visible",background:"transparent",height:0,width:0}],image:[c.image,{marginRight:"10px",position:"absolute",top:0,left:0,width:"100%",height:"100%",border:0,borderRadius:"50%",perspective:"1px"},l<=10&&{overflow:"visible",background:"transparent",height:0,width:0},l>10&&{height:l,width:l}],initials:[c.initials,{borderRadius:"50%",color:e.showUnknownPersonaCoin?"rgb(168, 0, 0)":i.white,fontSize:a.large.fontSize,fontWeight:b.k.semibold,lineHeight:48===l?46:l,height:l,selectors:(t={},t[b.l]={border:"1px solid WindowText",MsHighContrastAdjust:"none",color:"WindowText",boxSizing:"border-box",backgroundColor:"Window !important"},t.i={fontWeight:b.k.semibold},t)},e.showUnknownPersonaCoin&&{backgroundColor:"rgb(234, 234, 234)"},l<32&&{fontSize:a.xSmall.fontSize},l>=32&&l<40&&{fontSize:a.medium.fontSize},l>=40&&l<56&&{fontSize:a.mediumPlus.fontSize},l>=56&&l<72&&{fontSize:a.xLarge.fontSize},l>=72&&l<100&&{fontSize:a.xxLarge.fontSize},l>=100&&{fontSize:a.superLarge.fontSize}]}}),void 0,{scope:"PersonaCoin"}),fe=function(e){function t(t){var n=e.call(this,t)||this;return n._onRenderIcon=function(e){return e.activityPersonas?n._onRenderPersonaArray(e):n.props.activityIcon},n._onRenderActivityDescription=function(e){var t=n._getClassNames(e),o=e.activityDescription||e.activityDescriptionText;return o?g.createElement("span",{className:t.activityText},o):null},n._onRenderComments=function(e){var t=n._getClassNames(e),o=e.comments||e.commentText;return!e.isCompact&&o?g.createElement("div",{className:t.commentText},o):null},n._onRenderTimeStamp=function(e){var t=n._getClassNames(e);return!e.isCompact&&e.timeStamp?g.createElement("div",{className:t.timeStamp},e.timeStamp):null},n._onRenderPersonaArray=function(e){var t=n._getClassNames(e),o=null,r=e.activityPersonas;if(r[0].imageUrl||r[0].imageInitials){var i=[],a=r.length>1||e.isCompact,s=e.isCompact?3:4,c=void 0;e.isCompact&&(c={display:"inline-block",width:"10px",minWidth:"10px",overflow:"visible"}),r.filter((function(e,t){return t<s})).forEach((function(e,n){i.push(g.createElement(he,Object(m.a)({},e,{key:e.key?e.key:n,className:t.activityPersona,size:a?O.size16:O.size32,style:c})))})),o=g.createElement("div",{className:t.personaContainer},i)}return o},n}return Object(m.c)(t,e),t.prototype.render=function(){var e=this.props,t=e.onRenderIcon,n=void 0===t?this._onRenderIcon:t,o=e.onRenderActivityDescription,r=void 0===o?this._onRenderActivityDescription:o,i=e.onRenderComments,a=void 0===i?this._onRenderComments:i,s=e.onRenderTimeStamp,c=void 0===s?this._onRenderTimeStamp:s,l=e.animateBeaconSignal,u=e.isCompact,d=this._getClassNames(this.props);return g.createElement("div",{className:d.root,style:this.props.style},(this.props.activityPersonas||this.props.activityIcon||this.props.onRenderIcon)&&g.createElement("div",{className:d.activityTypeIcon},l&&u&&g.createElement("div",{className:d.pulsingBeacon}),n(this.props)),g.createElement("div",{className:d.activityContent},r(this.props,this._onRenderActivityDescription),a(this.props,this._onRenderComments),c(this.props,this._onRenderTimeStamp)))},t.prototype._getClassNames=function(e){return v(C(void 0,e.styles,e.animateBeaconSignal,e.beaconColorOne,e.beaconColorTwo,e.isCompact),e.className,e.activityPersonas,e.isCompact)},t}(g.Component),me=n(97),ge=n(10),be=n(98),ye=n(50),ve=function(e){function t(t){var n=e.call(this,t)||this;return n._inputElement=g.createRef(),n._autoFillEnabled=!0,n._isComposing=!1,n._onCompositionStart=function(e){n._isComposing=!0,n._autoFillEnabled=!1},n._onCompositionUpdate=function(){Object(me.a)()&&n._updateValue(n._getCurrentInputValue(),!0)},n._onCompositionEnd=function(e){var t=n._getCurrentInputValue();n._tryEnableAutofill(t,n.value,!1,!0),n._isComposing=!1,n._async.setTimeout((function(){n._updateValue(n._getCurrentInputValue(),!1)}),0)},n._onClick=function(){n._value&&""!==n._value&&n._autoFillEnabled&&(n._autoFillEnabled=!1)},n._onKeyDown=function(e){if(n.props.onKeyDown&&n.props.onKeyDown(e),!e.nativeEvent.isComposing)switch(e.which){case ge.a.backspace:n._autoFillEnabled=!1;break;case ge.a.left:case ge.a.right:n._autoFillEnabled&&(n._value=n.state.displayValue,n._autoFillEnabled=!1);break;default:n._autoFillEnabled||-1!==n.props.enableAutofillOnKeyPress.indexOf(e.which)&&(n._autoFillEnabled=!0)}},n._onInputChanged=function(e){var t=n._getCurrentInputValue(e);if(n._isComposing||n._tryEnableAutofill(t,n._value,e.nativeEvent.isComposing),!Object(me.a)()||!n._isComposing){var o=e.nativeEvent.isComposing,r=void 0===o?n._isComposing:o;n._updateValue(t,r)}},n._onChanged=function(){},n._updateValue=function(e,t){(e||e!==n._value)&&(n._value=n.props.onInputChange?n.props.onInputChange(e,t):e,n.setState({displayValue:n._getDisplayValue(n._value,n.props.suggestedDisplayValue)},(function(){return n._notifyInputChange(n._value,t)})))},Object(be.a)(n),n._async=new ye.a(n),n._value=t.defaultVisibleValue||"",n.state={displayValue:t.defaultVisibleValue||""},n}return Object(m.c)(t,e),Object.defineProperty(t.prototype,"cursorLocation",{get:function(){if(this._inputElement.current){var e=this._inputElement.current;return"forward"!==e.selectionDirection?e.selectionEnd:e.selectionStart}return-1},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isValueSelected",{get:function(){return Boolean(this.inputElement&&this.inputElement.selectionStart!==this.inputElement.selectionEnd)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"value",{get:function(){return this._value},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"selectionStart",{get:function(){return this._inputElement.current?this._inputElement.current.selectionStart:-1},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"selectionEnd",{get:function(){return this._inputElement.current?this._inputElement.current.selectionEnd:-1},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"inputElement",{get:function(){return this._inputElement.current},enumerable:!0,configurable:!0}),t.prototype.UNSAFE_componentWillReceiveProps=function(e){if(this.props.updateValueInWillReceiveProps){var t=this.props.updateValueInWillReceiveProps();null!==t&&t!==this._value&&(this._value=t)}var n=this._getDisplayValue(this._value,e.suggestedDisplayValue);"string"==typeof n&&this.setState({displayValue:n})},t.prototype.componentDidUpdate=function(){var e=this._value,t=this.props,n=t.suggestedDisplayValue,o=t.shouldSelectFullInputValueInComponentDidUpdate,r=0;if(!t.preventValueSelection&&this._autoFillEnabled&&e&&n&&this._doesTextStartWith(n,e)){var i=!1;if(o&&(i=o()),i&&this._inputElement.current)this._inputElement.current.setSelectionRange(0,n.length,"backward");else{for(;r<e.length&&e[r].toLocaleLowerCase()===n[r].toLocaleLowerCase();)r++;r>0&&this._inputElement.current&&this._inputElement.current.setSelectionRange(r,n.length,"backward")}}},t.prototype.componentWillUnmount=function(){this._async.dispose()},t.prototype.render=function(){var e=this.state.displayValue,t=Object(I.j)(this.props,I.o);return g.createElement("input",Object(m.a)({autoCapitalize:"off",autoComplete:"off","aria-autocomplete":"both"},t,{ref:this._inputElement,value:e,onCompositionStart:this._onCompositionStart,onCompositionUpdate:this._onCompositionUpdate,onCompositionEnd:this._onCompositionEnd,onChange:this._onChanged,onInput:this._onInputChanged,onKeyDown:this._onKeyDown,onClick:this.props.onClick?this.props.onClick:this._onClick,"data-lpignore":!0}))},t.prototype.focus=function(){this._inputElement.current&&this._inputElement.current.focus()},t.prototype.clear=function(){this._autoFillEnabled=!0,this._updateValue("",!1),this._inputElement.current&&this._inputElement.current.setSelectionRange(0,0)},t.prototype._getCurrentInputValue=function(e){return e&&e.target&&e.target.value?e.target.value:this.inputElement&&this.inputElement.value?this.inputElement.value:""},t.prototype._tryEnableAutofill=function(e,t,n,o){!n&&e&&this._inputElement.current&&this._inputElement.current.selectionStart===e.length&&!this._autoFillEnabled&&(e.length>t.length||o)&&(this._autoFillEnabled=!0)},t.prototype._notifyInputChange=function(e,t){this.props.onInputValueChange&&this.props.onInputValueChange(e,t)},t.prototype._getDisplayValue=function(e,t){var n=e;return t&&e&&this._doesTextStartWith(t,n)&&this._autoFillEnabled&&(n=t),n},t.prototype._doesTextStartWith=function(e,t){return!(!e||!t)&&0===e.toLocaleLowerCase().indexOf(t.toLocaleLowerCase())},t.defaultProps={enableAutofillOnKeyPress:[ge.a.down,ge.a.up]},t}(g.Component),_e=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(m.c)(t,e),t}(ve),Se=n(99),Ce=Object(w.a)(),xe=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(m.c)(t,e),t.prototype.render=function(){var e=this.props,t=e.message,n=e.styles,o=e.as,r=void 0===o?"div":o,i=e.className,a=Ce(n,{className:i});return g.createElement(r,Object(m.a)({role:"status",className:a.root},Object(I.j)(this.props,I.h,["className"])),g.createElement(Se.a,null,g.createElement("div",{className:a.screenReaderText},t)))},t.defaultProps={"aria-live":"polite"},t}(g.Component),we=Object(x.a)(xe,(function(e){return{root:e.className,screenReaderText:b.Z}})),Te={none:0,all:1,inputOnly:2};!function(e){e[e.vertical=0]="vertical",e[e.horizontal=1]="horizontal",e[e.bidirectional=2]="bidirectional",e[e.domOrder=3]="domOrder"}(le||(le={}));var ke,Ie,Oe=n(110),Ee=n(102),Ne=n(40),Pe=n(103),De=n(131),Ae=n(111),Re=n(53),Me=n(213),Fe=n(12),je=n(203),Le={},He=new Set,Be=["text","number","password","email","tel","url","search"],ze=function(e){function t(t){var n=e.call(this,t)||this;return n._root=g.createRef(),n._mergedRef=Object(Oe.a)(),n._onFocus=function(e){if(!n._portalContainsElement(e.target)){var t,o=n.props,r=o.onActiveElementChanged,i=o.doNotAllowFocusEventToPropagate,a=o.stopFocusPropagation,s=o.onFocusNotification,c=o.onFocus,l=o.shouldFocusInnerElementWhenReceivedFocus,u=o.defaultTabbableElement,d=n._isImmediateDescendantOfZone(e.target);if(c?c(e):s&&s(),d)t=e.target;else for(var p=e.target;p&&p!==n._root.current;){if(Object(Ee.n)(p)&&n._isImmediateDescendantOfZone(p)){t=p;break}p=Object(Ne.a)(p,!1)}if(l&&e.target===n._root.current){var h=u&&"function"==typeof u&&u(n._root.current);h&&Object(Ee.n)(h)?(t=h,h.focus()):(n.focus(!0),n._activeElement&&(t=null))}var f=!n._activeElement;t&&t!==n._activeElement&&((d||f)&&n._setFocusAlignment(t,!0,!0),n._activeElement=t,f&&n._updateTabIndexes()),r&&r(n._activeElement,e),(a||i)&&e.stopPropagation()}},n._onBlur=function(){n._setParkedFocus(!1)},n._onMouseDown=function(e){if(!n._portalContainsElement(e.target)&&!n.props.disabled){for(var t=e.target,o=[];t&&t!==n._root.current;)o.push(t),t=Object(Ne.a)(t,!1);for(;o.length&&((t=o.pop())&&Object(Ee.n)(t)&&n._setActiveElement(t,!0),!Object(Ee.m)(t)););}},n._onKeyDown=function(e){if(!n._portalContainsElement(e.target)){var t=n.props,o=t.direction,r=t.disabled,i=t.isInnerZoneKeystroke,a=t.pagingSupportDisabled,s=t.shouldEnterInnerZone;if(!(r||(n.props.onKeyDown&&n.props.onKeyDown(e),e.isDefaultPrevented()||n._getDocument().activeElement===n._root.current&&n._isInnerZone))){if((s&&s(e)||i&&i(e))&&n._isImmediateDescendantOfZone(e.target)){var c=n._getFirstInnerZone();if(c){if(!c.focus(!0))return}else{if(!Object(Ee.l)(e.target))return;if(!n.focusElement(Object(Ee.j)(e.target,e.target.firstChild,!0)))return}}else{if(e.altKey)return;switch(e.which){case ge.a.space:if(n._tryInvokeClickForFocusable(e.target))break;return;case ge.a.left:if(o!==le.vertical&&(n._preventDefaultWhenHandled(e),n._moveFocusLeft()))break;return;case ge.a.right:if(o!==le.vertical&&(n._preventDefaultWhenHandled(e),n._moveFocusRight()))break;return;case ge.a.up:if(o!==le.horizontal&&(n._preventDefaultWhenHandled(e),n._moveFocusUp()))break;return;case ge.a.down:if(o!==le.horizontal&&(n._preventDefaultWhenHandled(e),n._moveFocusDown()))break;return;case ge.a.pageDown:if(!a&&n._moveFocusPaging(!0))break;return;case ge.a.pageUp:if(!a&&n._moveFocusPaging(!1))break;return;case ge.a.tab:if(n.props.allowTabKey||n.props.handleTabKey===Te.all||n.props.handleTabKey===Te.inputOnly&&n._isElementInput(e.target)){var l=!1;if(n._processingTabKey=!0,l=o!==le.vertical&&n._shouldWrapFocus(n._activeElement,"data-no-horizontal-wrap")?(Object(T.a)()?!e.shiftKey:e.shiftKey)?n._moveFocusLeft():n._moveFocusRight():e.shiftKey?n._moveFocusUp():n._moveFocusDown(),n._processingTabKey=!1,l)break;n.props.shouldResetActiveElementWhenTabFromZone&&(n._activeElement=null)}return;case ge.a.home:if(n._isContentEditableElement(e.target)||n._isElementInput(e.target)&&!n._shouldInputLoseFocus(e.target,!1))return!1;var u=n._root.current&&n._root.current.firstChild;if(n._root.current&&u&&n.focusElement(Object(Ee.j)(n._root.current,u,!0)))break;return;case ge.a.end:if(n._isContentEditableElement(e.target)||n._isElementInput(e.target)&&!n._shouldInputLoseFocus(e.target,!0))return!1;var d=n._root.current&&n._root.current.lastChild;if(n._root.current&&n.focusElement(Object(Ee.k)(n._root.current,d,!0,!0,!0)))break;return;case ge.a.enter:if(n._tryInvokeClickForFocusable(e.target))break;return;default:return}}e.preventDefault(),e.stopPropagation()}}},n._getHorizontalDistanceFromCenter=function(e,t,o){var r=n._focusAlignment.left||n._focusAlignment.x||0,i=Math.floor(o.top),a=Math.floor(t.bottom),s=Math.floor(o.bottom),c=Math.floor(t.top);return e&&i>a||!e&&s<c?r>=o.left&&r<=o.left+o.width?0:Math.abs(o.left+o.width/2-r):n._shouldWrapFocus(n._activeElement,"data-no-vertical-wrap")?999999999:-999999999},Object(be.a)(n),n._id=Object(Pe.a)("FocusZone"),n._focusAlignment={left:0,top:0},n._processingTabKey=!1,n}return Object(m.c)(t,e),t.getOuterZones=function(){return He.size},t._onKeyDownCapture=function(e){e.which===ge.a.tab&&He.forEach((function(e){return e._updateTabIndexes()}))},t.prototype.componentDidMount=function(){var e=this._root.current;if(Le[this._id]=this,e){this._windowElement=Object(j.a)(e);for(var n=Object(Ne.a)(e,!1);n&&n!==this._getDocument().body&&1===n.nodeType;){if(Object(Ee.m)(n)){this._isInnerZone=!0;break}n=Object(Ne.a)(n,!1)}this._isInnerZone||(He.add(this),this._windowElement&&1===He.size&&this._windowElement.addEventListener("keydown",t._onKeyDownCapture,!0)),this._root.current&&this._root.current.addEventListener("blur",this._onBlur,!0),this._updateTabIndexes(),this.props.defaultTabbableElement&&"string"==typeof this.props.defaultTabbableElement?this._activeElement=this._getDocument().querySelector(this.props.defaultTabbableElement):this.props.defaultActiveElement&&(this._activeElement=this._getDocument().querySelector(this.props.defaultActiveElement)),this.props.shouldFocusOnMount&&this.focus()}},t.prototype.componentDidUpdate=function(){var e=this._root.current,t=this._getDocument();if(t&&this._lastIndexPath&&(t.activeElement===t.body||null===t.activeElement||!this.props.preventFocusRestoration&&t.activeElement===e)){var n=Object(Ee.g)(e,this._lastIndexPath);n?(this._setActiveElement(n,!0),n.focus(),this._setParkedFocus(!1)):this._setParkedFocus(!0)}},t.prototype.componentWillUnmount=function(){delete Le[this._id],this._isInnerZone||(He.delete(this),this._windowElement&&0===He.size&&this._windowElement.removeEventListener("keydown",t._onKeyDownCapture,!0)),this._root.current&&this._root.current.removeEventListener("blur",this._onBlur,!0),this._activeElement=null,this._defaultFocusElement=null},t.prototype.render=function(){var e=this.props,t=e.as,n=e.elementType,o=e.rootProps,r=e.ariaDescribedBy,i=e.ariaLabelledBy,a=e.className,s=Object(I.j)(this.props,I.k),c=t||n||"div";return this._evaluateFocusBeforeRender(),g.createElement(c,Object(m.a)({"aria-labelledby":i,"aria-describedby":r},s,o,{className:Object(z.a)((ke||(ke=Object(je.b)({selectors:{":focus":{outline:"none"}}},"ms-FocusZone")),ke),a),ref:this._mergedRef(this.props.elementRef,this._root),"data-focuszone-id":this._id,onKeyDown:this._onKeyDown,onFocus:this._onFocus,onMouseDownCapture:this._onMouseDown}),this.props.children)},t.prototype.focus=function(e){if(void 0===e&&(e=!1),this._root.current){if(!e&&"true"===this._root.current.getAttribute("data-is-focusable")&&this._isInnerZone){var t=this._getOwnerZone(this._root.current);if(t!==this._root.current){var n=Le[t.getAttribute("data-focuszone-id")];return!!n&&n.focusElement(this._root.current)}return!1}if(!e&&this._activeElement&&Object(De.a)(this._root.current,this._activeElement)&&Object(Ee.n)(this._activeElement))return this._activeElement.focus(),!0;var o=this._root.current.firstChild;return this.focusElement(Object(Ee.j)(this._root.current,o,!0))}return!1},t.prototype.focusLast=function(){if(this._root.current){var e=this._root.current&&this._root.current.lastChild;return this.focusElement(Object(Ee.k)(this._root.current,e,!0,!0,!0))}return!1},t.prototype.focusElement=function(e,t){var n=this.props,o=n.onBeforeFocus,r=n.shouldReceiveFocus;return!(r&&!r(e)||o&&!o(e)||!e||(this._setActiveElement(e,t),this._activeElement&&this._activeElement.focus(),0))},t.prototype.setFocusAlignment=function(e){this._focusAlignment=e},t.prototype._evaluateFocusBeforeRender=function(){var e=this._root.current,t=this._getDocument();if(t){var n=t.activeElement;if(n!==e){var o=Object(De.a)(e,n,!1);this._lastIndexPath=o?Object(Ee.d)(e,n):void 0}}},t.prototype._setParkedFocus=function(e){var t=this._root.current;t&&this._isParked!==e&&(this._isParked=e,e?(this.props.allowFocusRoot||(this._parkedTabIndex=t.getAttribute("tabindex"),t.setAttribute("tabindex","-1")),t.focus()):this.props.allowFocusRoot||(this._parkedTabIndex?(t.setAttribute("tabindex",this._parkedTabIndex),this._parkedTabIndex=void 0):t.removeAttribute("tabindex")))},t.prototype._setActiveElement=function(e,t){var n=this._activeElement;this._activeElement=e,n&&(Object(Ee.m)(n)&&this._updateTabIndexes(n),n.tabIndex=-1),this._activeElement&&(this._focusAlignment&&!t||this._setFocusAlignment(e,!0,!0),this._activeElement.tabIndex=0)},t.prototype._preventDefaultWhenHandled=function(e){this.props.preventDefaultWhenHandled&&e.preventDefault()},t.prototype._tryInvokeClickForFocusable=function(e){if(e===this._root.current||!this.props.shouldRaiseClicks)return!1;do{if("BUTTON"===e.tagName||"A"===e.tagName||"INPUT"===e.tagName||"TEXTAREA"===e.tagName)return!1;if(this._isImmediateDescendantOfZone(e)&&"true"===e.getAttribute("data-is-focusable")&&"true"!==e.getAttribute("data-disable-click-on-enter"))return Object(Ae.a)(e),!0;e=Object(Ne.a)(e,!1)}while(e!==this._root.current);return!1},t.prototype._getFirstInnerZone=function(e){if(!(e=e||this._activeElement||this._root.current))return null;if(Object(Ee.m)(e))return Le[e.getAttribute("data-focuszone-id")];for(var t=e.firstElementChild;t;){if(Object(Ee.m)(t))return Le[t.getAttribute("data-focuszone-id")];var n=this._getFirstInnerZone(t);if(n)return n;t=t.nextElementSibling}return null},t.prototype._moveFocus=function(e,t,n,o){void 0===o&&(o=!0);var r=this._activeElement,i=-1,a=void 0,s=!1,c=this.props.direction===le.bidirectional;if(!r||!this._root.current)return!1;if(this._isElementInput(r)&&!this._shouldInputLoseFocus(r,e))return!1;var l=c?r.getBoundingClientRect():null;do{if(r=e?Object(Ee.j)(this._root.current,r):Object(Ee.k)(this._root.current,r),!c){a=r;break}if(r){var u=t(l,r.getBoundingClientRect());if(-1===u&&-1===i){a=r;break}if(u>-1&&(-1===i||u<i)&&(i=u,a=r),i>=0&&u<0)break}}while(r);if(a&&a!==this._activeElement)s=!0,this.focusElement(a);else if(this.props.isCircularNavigation&&o)return e?this.focusElement(Object(Ee.j)(this._root.current,this._root.current.firstElementChild,!0)):this.focusElement(Object(Ee.k)(this._root.current,this._root.current.lastElementChild,!0,!0,!0));return s},t.prototype._moveFocusDown=function(){var e=this,t=-1,n=this._focusAlignment.left||this._focusAlignment.x||0;return!!this._moveFocus(!0,(function(o,r){var i=-1,a=Math.floor(r.top),s=Math.floor(o.bottom);return a<s?e._shouldWrapFocus(e._activeElement,"data-no-vertical-wrap")?999999999:-999999999:((-1===t&&a>=s||a===t)&&(t=a,i=n>=r.left&&n<=r.left+r.width?0:Math.abs(r.left+r.width/2-n)),i)}))&&(this._setFocusAlignment(this._activeElement,!1,!0),!0)},t.prototype._moveFocusUp=function(){var e=this,t=-1,n=this._focusAlignment.left||this._focusAlignment.x||0;return!!this._moveFocus(!1,(function(o,r){var i=-1,a=Math.floor(r.bottom),s=Math.floor(r.top),c=Math.floor(o.top);return a>c?e._shouldWrapFocus(e._activeElement,"data-no-vertical-wrap")?999999999:-999999999:((-1===t&&a<=c||s===t)&&(t=s,i=n>=r.left&&n<=r.left+r.width?0:Math.abs(r.left+r.width/2-n)),i)}))&&(this._setFocusAlignment(this._activeElement,!1,!0),!0)},t.prototype._moveFocusLeft=function(){var e=this,t=this._shouldWrapFocus(this._activeElement,"data-no-horizontal-wrap");return!!this._moveFocus(Object(T.a)(),(function(n,o){var r=-1;return(Object(T.a)()?parseFloat(o.top.toFixed(3))<parseFloat(n.bottom.toFixed(3)):parseFloat(o.bottom.toFixed(3))>parseFloat(n.top.toFixed(3)))&&o.right<=n.right&&e.props.direction!==le.vertical?r=n.right-o.right:t||(r=-999999999),r}),void 0,t)&&(this._setFocusAlignment(this._activeElement,!0,!1),!0)},t.prototype._moveFocusRight=function(){var e=this,t=this._shouldWrapFocus(this._activeElement,"data-no-horizontal-wrap");return!!this._moveFocus(!Object(T.a)(),(function(n,o){var r=-1;return(Object(T.a)()?parseFloat(o.bottom.toFixed(3))>parseFloat(n.top.toFixed(3)):parseFloat(o.top.toFixed(3))<parseFloat(n.bottom.toFixed(3)))&&o.left>=n.left&&e.props.direction!==le.vertical?r=o.left-n.left:t||(r=-999999999),r}),void 0,t)&&(this._setFocusAlignment(this._activeElement,!0,!1),!0)},t.prototype._moveFocusPaging=function(e,t){void 0===t&&(t=!0);var n=this._activeElement;if(!n||!this._root.current)return!1;if(this._isElementInput(n)&&!this._shouldInputLoseFocus(n,e))return!1;var o=Object(Re.f)(n);if(!o)return!1;var r=-1,i=void 0,a=-1,s=-1,c=o.clientHeight,l=n.getBoundingClientRect();do{if(n=e?Object(Ee.j)(this._root.current,n):Object(Ee.k)(this._root.current,n)){var u=n.getBoundingClientRect(),d=Math.floor(u.top),p=Math.floor(l.bottom),h=Math.floor(u.bottom),f=Math.floor(l.top),m=this._getHorizontalDistanceFromCenter(e,l,u);if(e&&d>p+c||!e&&h<f-c)break;m>-1&&(e&&d>a?(a=d,r=m,i=n):!e&&h<s?(s=h,r=m,i=n):(-1===r||m<=r)&&(r=m,i=n))}}while(n);var g=!1;if(i&&i!==this._activeElement)g=!0,this.focusElement(i),this._setFocusAlignment(i,!1,!0);else if(this.props.isCircularNavigation&&t)return e?this.focusElement(Object(Ee.j)(this._root.current,this._root.current.firstElementChild,!0)):this.focusElement(Object(Ee.k)(this._root.current,this._root.current.lastElementChild,!0,!0,!0));return g},t.prototype._setFocusAlignment=function(e,t,n){if(this.props.direction===le.bidirectional&&(!this._focusAlignment||t||n)){var o=e.getBoundingClientRect(),r=o.left+o.width/2,i=o.top+o.height/2;this._focusAlignment||(this._focusAlignment={left:r,top:i}),t&&(this._focusAlignment.left=r),n&&(this._focusAlignment.top=i)}},t.prototype._isImmediateDescendantOfZone=function(e){return this._getOwnerZone(e)===this._root.current},t.prototype._getOwnerZone=function(e){for(var t=Object(Ne.a)(e,!1);t&&t!==this._root.current&&t!==this._getDocument().body;){if(Object(Ee.m)(t))return t;t=Object(Ne.a)(t,!1)}return t},t.prototype._updateTabIndexes=function(e){!this._activeElement&&this.props.defaultTabbableElement&&"function"==typeof this.props.defaultTabbableElement&&(this._activeElement=this.props.defaultTabbableElement(this._root.current)),!e&&this._root.current&&(this._defaultFocusElement=null,e=this._root.current,this._activeElement&&!Object(De.a)(e,this._activeElement)&&(this._activeElement=null)),this._activeElement&&!Object(Ee.n)(this._activeElement)&&(this._activeElement=null);for(var t=e&&e.children,n=0;t&&n<t.length;n++){var o=t[n];Object(Ee.m)(o)?"true"===o.getAttribute("data-is-focusable")&&(this._isInnerZone||(this._activeElement||this._defaultFocusElement)&&this._activeElement!==o?"-1"!==o.getAttribute("tabindex")&&o.setAttribute("tabindex","-1"):(this._defaultFocusElement=o,"0"!==o.getAttribute("tabindex")&&o.setAttribute("tabindex","0"))):(o.getAttribute&&"false"===o.getAttribute("data-is-focusable")&&o.setAttribute("tabindex","-1"),Object(Ee.n)(o)?this.props.disabled?o.setAttribute("tabindex","-1"):this._isInnerZone||(this._activeElement||this._defaultFocusElement)&&this._activeElement!==o?"-1"!==o.getAttribute("tabindex")&&o.setAttribute("tabindex","-1"):(this._defaultFocusElement=o,"0"!==o.getAttribute("tabindex")&&o.setAttribute("tabindex","0")):"svg"===o.tagName&&"false"!==o.getAttribute("focusable")&&o.setAttribute("focusable","false")),this._updateTabIndexes(o)}},t.prototype._isContentEditableElement=function(e){return e&&"true"===e.getAttribute("contenteditable")},t.prototype._isElementInput=function(e){return!(!e||!e.tagName||"input"!==e.tagName.toLowerCase()&&"textarea"!==e.tagName.toLowerCase())},t.prototype._shouldInputLoseFocus=function(e,t){if(!this._processingTabKey&&e&&e.type&&Be.indexOf(e.type.toLowerCase())>-1){var n=e.selectionStart,o=n!==e.selectionEnd,r=e.value,i=e.readOnly;if(o||n>0&&!t&&!i||n!==r.length&&t&&!i||this.props.handleTabKey&&(!this.props.shouldInputLoseFocusOnArrowKey||!this.props.shouldInputLoseFocusOnArrowKey(e)))return!1}return!0},t.prototype._shouldWrapFocus=function(e,t){return!this.props.checkForNoWrap||Object(Ee.p)(e,t)},t.prototype._portalContainsElement=function(e){return e&&!!this._root.current&&Object(Me.a)(e,this._root.current)},t.prototype._getDocument=function(){return Object(Fe.a)(this._root.current)},t.defaultProps={isCircularNavigation:!1,direction:le.bidirectional,shouldRaiseClicks:!0},t}(g.Component),Ue=n(112),Ve=n(31);!function(e){e.KEYTIP_ADDED="keytipAdded",e.KEYTIP_REMOVED="keytipRemoved",e.KEYTIP_UPDATED="keytipUpdated",e.PERSISTED_KEYTIP_ADDED="persistedKeytipAdded",e.PERSISTED_KEYTIP_REMOVED="persistedKeytipRemoved",e.PERSISTED_KEYTIP_EXECUTE="persistedKeytipExecute",e.ENTER_KEYTIP_MODE="enterKeytipMode",e.EXIT_KEYTIP_MODE="exitKeytipMode"}(Ie||(Ie={}));var We=function(){function e(){this.keytips={},this.persistedKeytips={},this.sequenceMapping={},this.inKeytipMode=!1,this.shouldEnterKeytipMode=!0,this.delayUpdatingKeytipChange=!1}return e.getInstance=function(){return this._instance},e.prototype.init=function(e){this.delayUpdatingKeytipChange=e},e.prototype.register=function(e,t){void 0===t&&(t=!1);var n=e;t||(n=this.addParentOverflow(e),this.sequenceMapping[n.keySequences.toString()]=n);var o=this._getUniqueKtp(n);if(t?this.persistedKeytips[o.uniqueID]=o:this.keytips[o.uniqueID]=o,this.inKeytipMode||!this.delayUpdatingKeytipChange){var r=t?Ie.PERSISTED_KEYTIP_ADDED:Ie.KEYTIP_ADDED;Ve.a.raise(this,r,{keytip:n,uniqueID:o.uniqueID})}return o.uniqueID},e.prototype.update=function(e,t){var n=this.addParentOverflow(e),o=this._getUniqueKtp(n,t),r=this.keytips[t];r&&(o.keytip.visible=r.keytip.visible,this.keytips[t]=o,delete this.sequenceMapping[r.keytip.keySequences.toString()],this.sequenceMapping[o.keytip.keySequences.toString()]=o.keytip,!this.inKeytipMode&&this.delayUpdatingKeytipChange||Ve.a.raise(this,Ie.KEYTIP_UPDATED,{keytip:o.keytip,uniqueID:o.uniqueID}))},e.prototype.unregister=function(e,t,n){void 0===n&&(n=!1),n?delete this.persistedKeytips[t]:delete this.keytips[t],!n&&delete this.sequenceMapping[e.keySequences.toString()];var o=n?Ie.PERSISTED_KEYTIP_REMOVED:Ie.KEYTIP_REMOVED;!this.inKeytipMode&&this.delayUpdatingKeytipChange||Ve.a.raise(this,o,{keytip:e,uniqueID:t})},e.prototype.enterKeytipMode=function(){Ve.a.raise(this,Ie.ENTER_KEYTIP_MODE)},e.prototype.exitKeytipMode=function(){Ve.a.raise(this,Ie.EXIT_KEYTIP_MODE)},e.prototype.getKeytips=function(){var e=this;return Object.keys(this.keytips).map((function(t){return e.keytips[t].keytip}))},e.prototype.addParentOverflow=function(e){var t=Object(m.e)(e.keySequences);if(t.pop(),0!==t.length){var n=this.sequenceMapping[t.toString()];if(n&&n.overflowSetSequence)return Object(m.a)(Object(m.a)({},e),{overflowSetSequence:n.overflowSetSequence})}return e},e.prototype.menuExecute=function(e,t){Ve.a.raise(this,Ie.PERSISTED_KEYTIP_EXECUTE,{overflowButtonSequences:e,keytipSequences:t})},e.prototype._getUniqueKtp=function(e,t){return void 0===t&&(t=Object(Pe.a)()),{keytip:Object(m.a)({},e),uniqueID:t}},e._instance=new e,e}(),qe=n(55);function Ge(e){return e.reduce((function(e,t){return e+"-"+t.split("").join("-")}),"ktp")}function Ke(e,t){var n=t.length,o=Object(m.e)(t).pop(),r=Object(m.e)(e);return Object(qe.a)(r,n-1,o)}function Ye(e){return'[data-ktp-target="'+Ge(e)+'"]'}var Qe,$e=function(e){var t=e.children,n=function(e){var t,n,o,r,i=g.useRef(),a=e.keytipProps?Object(m.a)({disabled:e.disabled},e.keytipProps):void 0,s=(o=We.getInstance(),void 0===(r=g.useRef()).current&&(r.current={value:"function"==typeof o?o():o}),r.current.value);g.useEffect((function(){return a&&(i.current=s.register(a)),function(){a&&s.unregister(a,i.current)}}),[]);var c=function(e){var t=Object(g.useRef)();return Object(g.useEffect)((function(){t.current=e})),t.current}(e);i.current&&a&&((null===(t=c)||void 0===t?void 0:t.keytipProps)!==e.keytipProps||(null===(n=c)||void 0===n?void 0:n.disabled)!==e.disabled)&&s.update(a,i.current);var l={ariaDescribedBy:void 0,targetElementAttributes:{},executeElementAttributes:{}};return a&&(l=function(e,t,n){var o=e.addParentOverflow(t),r=Object(Ue.a)(n,function(e){return e.length?" ktp-layer-id "+Ge(e):" ktp-layer-id"}(o.keySequences)),i=Object(m.e)(o.keySequences);o.overflowSetSequence&&(i=Ke(i,o.overflowSetSequence));var a=Ge(i);return{ariaDescribedBy:r,targetElementAttributes:{"data-ktp-target":a},executeElementAttributes:{"data-ktp-execute-target":a}}}(s,a,e.ariaDescribedBy)),l}(Object(m.d)(e,["children"])),o=n.targetElementAttributes,r=n.executeElementAttributes,i=n.ariaDescribedBy;return t(Object(m.a)(Object(m.a)(Object(m.a)({},o),r),{"aria-describedby":i}))},Ze=Object(w.a)(),Xe=function(e){function t(t){var n=e.call(this,t)||this;return n._link=g.createRef(),n._renderContent=function(e){void 0===e&&(e={});var t=n.props,o=t.disabled,r=t.children,i=t.className,a=t.href,s=t.theme,c=t.styles,l=Ze(c,{className:i,isButton:!a,isDisabled:o,theme:s}),u=n._getRootType(n.props);return g.createElement(u,Object(m.a)({},e,n._adjustPropsForRootType(u,n.props),{className:l.root,onClick:n._onClick,ref:n._link,"aria-disabled":o}),r)},n._onClick=function(e){var t=n.props,o=t.onClick;t.disabled?e.preventDefault():o&&o(e)},Object(be.a)(n),n}return Object(m.c)(t,e),t.prototype.render=function(){var e=this,t=this.props,n=t.disabled,o=t.keytipProps;return o?g.createElement($e,{keytipProps:o,ariaDescribedBy:this.props["aria-describedby"],disabled:n},(function(t){return e._renderContent(t)})):this._renderContent()},t.prototype.focus=function(){var e=this._link.current;e&&e.focus&&e.focus()},t.prototype._adjustPropsForRootType=function(e,t){t.children,t.as;var n=t.disabled,o=t.target,r=t.href,i=(t.theme,t.getStyles,t.styles,t.componentRef,t.keytipProps,Object(m.d)(t,["children","as","disabled","target","href","theme","getStyles","styles","componentRef","keytipProps"]));return"string"==typeof e?"a"===e?Object(m.a)({target:o,href:n?void 0:r},i):"button"===e?Object(m.a)({type:"button",disabled:n},i):Object(m.a)(Object(m.a)({},i),{disabled:n}):Object(m.a)({target:o,href:r,disabled:n},i)},t.prototype._getRootType=function(e){return e.as?e.as:e.href?"a":"button"},t}(g.Component),Je={root:"ms-Link"},et=Object(x.a)(Xe,(function(e){var t,n,o,r,i=e.className,a=e.isButton,s=e.isDisabled,c=e.theme,l=c.semanticColors,u=l.link,d=l.linkHovered,p=l.disabledText,h=l.focusBorder,f=Object(b.R)(Je,c);return{root:[f.root,c.fonts.medium,{color:u,outline:"none",fontSize:"inherit",fontWeight:"inherit",textDecoration:"none",selectors:(t={".ms-Fabric--isFocusVisible &:focus":{boxShadow:"0 0 0 1px "+h+" inset",outline:"1px auto "+h,selectors:(n={},n[b.l]={outline:"1px solid WindowText"},n)}},t[b.l]={borderBottom:"none"},t)},a&&{background:"none",backgroundColor:"transparent",border:"none",cursor:"pointer",display:"inline",margin:0,overflow:"inherit",padding:0,textAlign:"left",textOverflow:"inherit",userSelect:"text",borderBottom:"1px solid transparent",selectors:(o={},o[b.m]={color:"#FFFF00"},o[b.n]={color:"#00009F"},o)},!a&&{selectors:(r={},r[b.l]={MsHighContrastAdjust:"auto"},r)},s&&["is-disabled",{color:p,cursor:"default"},{selectors:{"&:link, &:visited":{pointerEvents:"none"}}}],!s&&{selectors:{"&:active, &:hover, &:active:hover":{color:d,textDecoration:"underline"},"&:focus":{color:u}}},f.root,i]}}),void 0,{scope:"Link"}),tt=n(56),nt=n(51),ot=n(26),rt=n(113),it=n(108),at=function(e){var t=e.className,n=e.imageProps,o=Object(I.j)(e,I.k),r=e["aria-label"]?{}:{role:"presentation","aria-hidden":!n.alt&&!n["aria-labelledby"]};return g.createElement("div",Object(m.a)({},r,o,{className:Object(z.a)("ms-Icon",B.root,B.image,t)}),g.createElement(H,Object(m.a)({},n)))},st={topLeftEdge:0,topCenter:1,topRightEdge:2,topAutoEdge:3,bottomLeftEdge:4,bottomCenter:5,bottomRightEdge:6,bottomAutoEdge:7,leftTopEdge:8,leftCenter:9,leftBottomEdge:10,rightTopEdge:11,rightCenter:12,rightBottomEdge:13};!function(e){e[e.Normal=0]="Normal",e[e.Divider=1]="Divider",e[e.Header=2]="Header",e[e.Section=3]="Section"}(Qe||(Qe={}));var ct=n(100),lt=n(101);function ut(e){return e.canCheck?!(!e.isChecked&&!e.checked):"boolean"==typeof e.isChecked?e.isChecked:"boolean"==typeof e.checked?e.checked:null}function dt(e){return!(!e.subMenuProps&&!e.items)}function pt(e){return!(!e.isDisabled&&!e.disabled)}function ht(e){return null!==ut(e)?"menuitemcheckbox":"menuitem"}var ft,mt=n(16),gt=n(104),bt=function(e){function t(t){var n=e.call(this,t)||this;return n._updateComposedComponentRef=n._updateComposedComponentRef.bind(n),n}return Object(m.c)(t,e),t.prototype._updateComposedComponentRef=function(e){this._composedComponentInstance=e,e?this._hoisted=Object(gt.a)(this,e):this._hoisted&&Object(gt.b)(this,this._hoisted)},t}(g.Component),yt=n(52);!function(e){e[e.small=0]="small",e[e.medium=1]="medium",e[e.large=2]="large",e[e.xLarge=3]="xLarge",e[e.xxLarge=4]="xxLarge",e[e.xxxLarge=5]="xxxLarge",e[e.unknown=999]="unknown"}(ft||(ft={}));var vt,_t=[479,639,1023,1365,1919,99999999];function St(e){var t=function(t){function n(e){var n=t.call(this,e)||this;return n._onResize=function(){var e=Object(mt.findDOMNode)(n),t=function(e){var t=ft.small;if(!e)throw new Error("Content was rendered in a server environment without providing a default responsive mode. Call setResponsiveMode to define what the responsive mode is.");try{for(;e.innerWidth>_t[t];)t++}catch(e){t=vt||ft.large}return vt=t,t}(e&&Object(j.a)(e)||window);t!==n.state.responsiveMode&&n.setState({responsiveMode:t})},n._events=new Ve.a(n),n._updateComposedComponentRef=n._updateComposedComponentRef.bind(n),n.state={responsiveMode:vt||ft.large},n}return Object(m.c)(n,t),n.prototype.componentDidMount=function(){this._events.on(window,"resize",this._onResize),this._onResize()},n.prototype.componentWillUnmount=function(){this._events.dispose()},n.prototype.render=function(){var t=this.state.responsiveMode;return t===ft.unknown?null:g.createElement(e,Object(m.a)({ref:this._updateComposedComponentRef,responsiveMode:t},this.props))},n}(bt);return Object(yt.a)(e,t)}var Ct,xt,wt=n(105);!function(e){e[e.top=1]="top",e[e.bottom=-1]="bottom",e[e.left=2]="left",e[e.right=-2]="right"}(Ct||(Ct={})),function(e){e[e.top=0]="top",e[e.bottom=1]="bottom",e[e.start=2]="start",e[e.end=3]="end"}(xt||(xt={}));var Tt,kt=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(m.c)(t,e),t}(n(106).a);function It(e,t,n){return{targetEdge:e,alignmentEdge:t,isAuto:n}}var Ot=((Tt={})[st.topLeftEdge]=It(Ct.top,Ct.left),Tt[st.topCenter]=It(Ct.top),Tt[st.topRightEdge]=It(Ct.top,Ct.right),Tt[st.topAutoEdge]=It(Ct.top,void 0,!0),Tt[st.bottomLeftEdge]=It(Ct.bottom,Ct.left),Tt[st.bottomCenter]=It(Ct.bottom),Tt[st.bottomRightEdge]=It(Ct.bottom,Ct.right),Tt[st.bottomAutoEdge]=It(Ct.bottom,void 0,!0),Tt[st.leftTopEdge]=It(Ct.left,Ct.top),Tt[st.leftCenter]=It(Ct.left),Tt[st.leftBottomEdge]=It(Ct.left,Ct.bottom),Tt[st.rightTopEdge]=It(Ct.right,Ct.top),Tt[st.rightCenter]=It(Ct.right),Tt[st.rightBottomEdge]=It(Ct.right,Ct.bottom),Tt);function Et(e,t){return!(e.top<t.top||e.bottom>t.bottom||e.left<t.left||e.right>t.right)}function Nt(e,t){var n=new Array;return e.top<t.top&&n.push(Ct.top),e.bottom>t.bottom&&n.push(Ct.bottom),e.left<t.left&&n.push(Ct.left),e.right>t.right&&n.push(Ct.right),n}function Pt(e,t){return e[Ct[t]]}function Dt(e,t,n){return e[Ct[t]]=n,e}function At(e,t){var n=Vt(t);return(Pt(e,n.positiveEdge)+Pt(e,n.negativeEdge))/2}function Rt(e,t){return e>0?t:-1*t}function Mt(e,t){return Rt(e,Pt(t,e))}function Ft(e,t,n){return Rt(n,Pt(e,n)-Pt(t,n))}function jt(e,t,n){var o=Pt(e,t)-n;return e=Dt(e,t,n),Dt(e,-1*t,Pt(e,-1*t)-o)}function Lt(e,t,n,o){return void 0===o&&(o=0),jt(e,n,Pt(t,n)+Rt(n,o))}function Ht(e,t,n){return Mt(n,e)>Mt(n,t)}function Bt(e,t,n){for(var o=0,r=e;o<r.length;o++){var i=r[o];t.elementRectangle=Lt(t.elementRectangle,n,i)}return t}function zt(e,t,n){var o=Vt(t).positiveEdge;return jt(e,o,n-(At(e,t)-Pt(e,o)))}function Ut(e,t,n,o,r){var i;void 0===o&&(o=0);var a=n.alignmentEdge,s=n.targetEdge,c=r?s:-1*s;return i=r?Lt(e,t,s,o):function(e,t,n,o){void 0===o&&(o=0);var r=Rt(-1*n,o);return jt(e,-1*n,Pt(t,n)+r)}(e,t,s,o),i=a?Lt(i,t,a):zt(i,c,At(t,s))}function Vt(e){return e===Ct.top||e===Ct.bottom?{positiveEdge:Ct.left,negativeEdge:Ct.right}:{positiveEdge:Ct.top,negativeEdge:Ct.bottom}}function Wt(e,t,n){return n&&Math.abs(Ft(e,n,t))>Math.abs(Ft(e,n,-1*t))?-1*t:t}function qt(e,t,n){var o=At(t,e),r=At(n,e),i=Vt(e),a=i.positiveEdge,s=i.negativeEdge;return o<=r?a:s}function Gt(e,t,n,o,r,i,a){var s=Ut(e,t,o,r,a);return Et(s,n)?{elementRectangle:s,targetEdge:o.targetEdge,alignmentEdge:o.alignmentEdge}:function(e,t,n,o,r,i,a){void 0===r&&(r=0);var s=o.alignmentEdge,c=o.alignTargetEdge,l={elementRectangle:e,targetEdge:o.targetEdge,alignmentEdge:s};i||a||(l=function(e,t,n,o,r){void 0===r&&(r=0);var i=[Ct.left,Ct.right,Ct.bottom,Ct.top];Object(T.a)()&&(i[0]*=-1,i[1]*=-1);for(var a=e,s=o.targetEdge,c=o.alignmentEdge,l=0;l<4;l++){if(Ht(a,n,s))return{elementRectangle:a,targetEdge:s,alignmentEdge:c};i.splice(i.indexOf(s),1),i.length>0&&(i.indexOf(-1*s)>-1?s*=-1:(c=s,s=i.slice(-1)[0]),a=Ut(e,t,{targetEdge:s,alignmentEdge:c},r))}return{elementRectangle:e,targetEdge:o.targetEdge,alignmentEdge:c}}(e,t,n,o,r));var u=Nt(e,n);if(c){if(l.alignmentEdge&&u.indexOf(-1*l.alignmentEdge)>-1){var d=function(e,t,n,o){var r=e.alignmentEdge,i=e.targetEdge,a=-1*r;return{elementRectangle:Ut(e.elementRectangle,t,{targetEdge:i,alignmentEdge:a},n,o),targetEdge:i,alignmentEdge:a}}(l,t,r,a);if(Et(d.elementRectangle,n))return d;l=Bt(Nt(d.elementRectangle,n),l,n)}}else l=Bt(u,l,n);return l}(e,t,n,o,r,i,a)}function Kt(e){var t=e.getBoundingClientRect();return new kt(t.left,t.right,t.top,t.bottom)}function Yt(e){return new kt(e.left,e.right,e.top,e.bottom)}function Qt(e,t,n,o){var r=e.gapSpace?e.gapSpace:0,i=function(e,t){var n;if(t){if(t.preventDefault){var o=t;n=new kt(o.clientX,o.clientX,o.clientY,o.clientY)}else if(t.getBoundingClientRect)n=Kt(t);else{var r=t,i=r.left||r.x,a=r.top||r.y;n=new kt(i,i,a,a)}if(!Et(n,e))for(var s=0,c=Nt(n,e);s<c.length;s++){var l=c[s];n[Ct[l]]=e[Ct[l]]}}else n=new kt(0,0,0,0);return n}(n,e.target),a=function(e,t,n,o,r){return e.isAuto&&(e.alignmentEdge=qt(e.targetEdge,t,n)),e.alignTargetEdge=r,e}(function(e,t,n){if(void 0===e&&(e=st.bottomAutoEdge),n)return{alignmentEdge:n.alignmentEdge,isAuto:n.isAuto,targetEdge:n.targetEdge};var o=Object(m.a)({},Ot[e]);return Object(T.a)()?(o.alignmentEdge&&o.alignmentEdge%2==0&&(o.alignmentEdge=-1*o.alignmentEdge),void 0!==t?Ot[t]:o):o}(e.directionalHint,e.directionalHintForRTL,o),i,n,e.coverTarget,e.alignTargetEdge),s=Gt(Kt(t),i,n,a,r,e.directionalHintFixed,e.coverTarget);return Object(m.a)(Object(m.a)({},s),{targetRectangle:i})}function $t(e,t,n,o,r){return{elementPosition:function(e,t,n,o,r,i,a){var s={},c=Kt(t),l=i?n:-1*n,u=Ct[l],d=r||Vt(n).positiveEdge;return a||(d=Wt(e,d,o)),s[u]=Ft(e,c,l),s[Ct[d]]=Ft(e,c,d),s}(e.elementRectangle,t,e.targetEdge,n,e.alignmentEdge,o,r),targetEdge:e.targetEdge,alignmentEdge:e.alignmentEdge}}function Zt(e,t,n,o,r){var i=e.isBeakVisible&&e.beakWidth||0,a=function(e){return Math.sqrt(e*e*2)}(i)/2+(e.gapSpace?e.gapSpace:0),s=e;s.gapSpace=a;var c=e.bounds?Yt(e.bounds):new kt(0,window.innerWidth-Object(Re.g)(),0,window.innerHeight),l=Qt(s,n,c,o),u=function(e,t,n){var o=-1*e.targetEdge,r=new kt(0,e.elementRectangle.width,0,e.elementRectangle.height),i={},a=Wt(e.elementRectangle,e.alignmentEdge?e.alignmentEdge:Vt(o).positiveEdge,n);return i[Ct[o]]=Pt(t,o),i[Ct[a]]=Ft(t,r,a),{elementPosition:Object(m.a)({},i),closestEdge:qt(e.targetEdge,t,r),targetEdge:o}}(l,function(e,t){var n=t.targetRectangle,o=Vt(t.targetEdge),r=o.positiveEdge,i=o.negativeEdge,a=At(n,t.targetEdge),s=new kt(e/2,t.elementRectangle.width-e/2,e/2,t.elementRectangle.height-e/2),c=new kt(0,e,0,e);return Ht(c=zt(c=jt(c,-1*t.targetEdge,-e/2),-1*t.targetEdge,a-Mt(r,t.elementRectangle)),s,r)?Ht(c,s,i)||(c=Lt(c,s,i)):c=Lt(c,s,r),c}(i,l),c);return Object(m.a)(Object(m.a)({},$t(l,t,c,e.coverTarget,r)),{beakPosition:u})}function Xt(e,t,n,o,r){void 0===n&&(n=0);var i=e,a=e,s=e,c=o?Yt(o):new kt(0,window.innerWidth-Object(Re.g)(),0,window.innerHeight),l=s.left||s.x,u=s.top||s.y;return function(e,t,n,o,r){var i,a=Ot[t],s=r?-1*a.targetEdge:a.targetEdge;return(i=s===Ct.top?Pt(e,a.targetEdge)-o.top-n:s===Ct.bottom?o.bottom-Pt(e,a.targetEdge)-n:o.bottom-e.top-n)>0?i:o.height}(i.stopPropagation?new kt(i.clientX,i.clientX,i.clientY,i.clientY):void 0!==l&&void 0!==u?new kt(l,l,u,u):Kt(a),t,n,c,r)}var Jt,en=function(e){function t(t){var n=e.call(this,t)||this;return n._root=g.createRef(),n._disposables=[],n._onKeyDown=function(e){switch(e.which){case ge.a.escape:n.props.onDismiss&&(n.props.onDismiss(e),e.preventDefault(),e.stopPropagation())}},n._onFocus=function(){n._containsFocus=!0},n._onBlur=function(e){n._root.current&&e.relatedTarget&&!Object(De.a)(n._root.current,e.relatedTarget)&&(n._containsFocus=!1)},n._async=new ye.a(n),n.state={needsVerticalScrollBar:!1},n}return Object(m.c)(t,e),t.prototype.UNSAFE_componentWillMount=function(){this._originalFocusedElement=Object(Fe.a)().activeElement},t.prototype.componentDidMount=function(){if(this._root.current){this._disposables.push(Object(wt.a)(this._root.current,"focus",this._onFocus,!0),Object(wt.a)(this._root.current,"blur",this._onBlur,!0));var e=Object(j.a)(this._root.current);e&&this._disposables.push(Object(wt.a)(e,"keydown",this._onKeyDown)),Object(Ee.a)(this._root.current)&&(this._containsFocus=!0)}this._updateScrollBarAsync()},t.prototype.componentDidUpdate=function(){this._updateScrollBarAsync(),this._async.dispose()},t.prototype.componentWillUnmount=function(){if(this._disposables.forEach((function(e){return e()})),this.props.shouldRestoreFocus){var e=this.props.onRestoreFocus;(void 0===e?tn:e)({originalElement:this._originalFocusedElement,containsFocus:this._containsFocus})}delete this._originalFocusedElement},t.prototype.render=function(){var e=this.props,t=e.role,n=e.className,o=e.ariaLabel,r=e.ariaLabelledBy,i=e.ariaDescribedBy,a=e.style;return g.createElement("div",Object(m.a)({ref:this._root},Object(I.j)(this.props,I.h),{className:n,role:t,"aria-label":o,"aria-labelledby":r,"aria-describedby":i,onKeyDown:this._onKeyDown,style:Object(m.a)({overflowY:this.state.needsVerticalScrollBar?"scroll":void 0,outline:"none"},a)}),this.props.children)},t.prototype._updateScrollBarAsync=function(){var e=this;this._async.requestAnimationFrame((function(){e._getScrollBar()}))},t.prototype._getScrollBar=function(){if(!this.props.style||!this.props.style.overflowY){var e=!1;if(this._root&&this._root.current&&this._root.current.firstElementChild){var t=this._root.current.clientHeight,n=this._root.current.firstElementChild.clientHeight;t>0&&n>t&&(e=n-t>1)}this.state.needsVerticalScrollBar!==e&&this.setState({needsVerticalScrollBar:e})}},t.defaultProps={shouldRestoreFocus:!0},t}(g.Component);function tn(e){var t=e.originalElement,n=e.containsFocus;t&&n&&t!==window&&t.focus()}var nn=((Jt={})[Ct.top]=b.a.slideUpIn10,Jt[Ct.bottom]=b.a.slideDownIn10,Jt[Ct.left]=b.a.slideLeftIn10,Jt[Ct.right]=b.a.slideRightIn10,Jt),on=Object(w.a)({disableCaching:!0}),rn={opacity:0,filter:"opacity(0)"},an=["role","aria-roledescription"],sn=function(e){function t(t){var n=e.call(this,t)||this;return n._hostElement=g.createRef(),n._calloutElement=g.createRef(),n._hasListeners=!1,n._disposables=[],n.dismiss=function(e){var t=n.props.onDismiss;t&&t(e)},n._dismissOnScroll=function(e){var t=n.props.preventDismissOnScroll;n.state.positions&&!t&&n._dismissOnClickOrScroll(e)},n._dismissOnResize=function(e){n.props.preventDismissOnResize||n.dismiss(e)},n._dismissOnLostFocus=function(e){n.props.preventDismissOnLostFocus||n._dismissOnClickOrScroll(e)},n._setInitialFocus=function(){n.props.setInitialFocus&&!n._didSetInitialFocus&&n.state.positions&&n._calloutElement.current&&(n._didSetInitialFocus=!0,n._async.requestAnimationFrame((function(){return Object(Ee.c)(n._calloutElement.current)}),n._calloutElement.current))},n._onComponentDidMount=function(){n._addListeners(),n.props.onLayerMounted&&n.props.onLayerMounted(),n._updateAsyncPosition(),n._setHeightOffsetEveryFrame()},n._mouseDownOnPopup=function(){n._isMouseDownOnPopup=!0},n._mouseUpOnPopup=function(){n._isMouseDownOnPopup=!1},n._async=new ye.a(n),n._didSetInitialFocus=!1,n.state={positions:void 0,slideDirectionalClassName:void 0,calloutElementRect:void 0,heightOffset:0},n._positionAttempts=0,n}return Object(m.c)(t,e),t.prototype.componentDidUpdate=function(){this.props.hidden?this._hasListeners&&this._removeListeners():(this._setInitialFocus(),this._hasListeners||this._addListeners(),this._updateAsyncPosition())},t.prototype.shouldComponentUpdate=function(e,t){return!(!e.shouldUpdateWhenHidden&&this.props.hidden&&e.hidden||Object(ot.e)(this.props,e)&&Object(ot.e)(this.state,t))},t.prototype.UNSAFE_componentWillMount=function(){this._setTargetWindowAndElement(this._getTarget())},t.prototype.componentWillUnmount=function(){this._async.dispose(),this._disposables.forEach((function(e){return e()}))},t.prototype.UNSAFE_componentWillUpdate=function(e){var t=this._getTarget(e);(t!==this._getTarget()||"string"==typeof t||t instanceof String)&&!this._blockResetHeight&&(this._maxHeight=void 0,this._setTargetWindowAndElement(t)),e.gapSpace===this.props.gapSpace&&this.props.beakWidth===e.beakWidth||(this._maxHeight=void 0),e.finalHeight!==this.props.finalHeight&&this._setHeightOffsetEveryFrame(),this._didPositionPropsChange(e,this.props)&&(this._maxHeight=void 0,this._setTargetWindowAndElement(t),this.setState({positions:void 0}),this._didSetInitialFocus=!1,this._bounds=void 0),this._blockResetHeight=!1},t.prototype.componentDidMount=function(){this.props.hidden||this._onComponentDidMount()},t.prototype.render=function(){if(!this._targetWindow)return null;var e=this.props.target,t=this.props,n=t.styles,o=t.style,r=t.ariaLabel,i=t.ariaDescribedBy,a=t.ariaLabelledBy,s=t.className,c=t.isBeakVisible,l=t.children,u=t.beakWidth,d=t.calloutWidth,p=t.calloutMaxWidth,h=t.finalHeight,f=t.hideOverflow,b=void 0===f?!!h:f,y=t.backgroundColor,v=t.calloutMaxHeight,_=t.onScroll,S=t.shouldRestoreFocus,C=void 0===S||S;e=this._getTarget();var x=this.state.positions,w=this._getMaxHeight()?this._getMaxHeight()+this.state.heightOffset:void 0,T=v&&w&&v<w?v:w,k=b,O=c&&!!e;this._classNames=on(n,{theme:this.props.theme,className:s,overflowYHidden:k,calloutWidth:d,positions:x,beakWidth:u,backgroundColor:y,calloutMaxWidth:p});var E=Object(m.a)(Object(m.a)(Object(m.a)({},o),{maxHeight:T}),k&&{overflowY:"hidden"}),N=this.props.hidden?{visibility:"hidden"}:void 0;return g.createElement("div",{ref:this._hostElement,className:this._classNames.container,style:N},g.createElement("div",Object(m.a)({},Object(I.j)(this.props,I.h,an),{className:Object(z.a)(this._classNames.root,x&&x.targetEdge&&nn[x.targetEdge]),style:x?x.elementPosition:rn,tabIndex:-1,ref:this._calloutElement}),O&&g.createElement("div",{className:this._classNames.beak,style:this._getBeakPosition()}),O&&g.createElement("div",{className:this._classNames.beakCurtain}),g.createElement(en,Object(m.a)({},Object(I.j)(this.props,an),{ariaLabel:r,onRestoreFocus:this.props.onRestoreFocus,ariaDescribedBy:i,ariaLabelledBy:a,className:this._classNames.calloutMain,onDismiss:this.dismiss,onScroll:_,shouldRestoreFocus:C,style:E,onMouseDown:this._mouseDownOnPopup,onMouseUp:this._mouseUpOnPopup}),l)))},t.prototype._dismissOnClickOrScroll=function(e){var t=e.target,n=this._hostElement.current&&!Object(De.a)(this._hostElement.current,t);n&&this._isMouseDownOnPopup?this._isMouseDownOnPopup=!1:(!this._target&&n||e.target!==this._targetWindow&&n&&(this._target.stopPropagation||!this._target||t!==this._target&&!Object(De.a)(this._target,t)))&&this.dismiss(e)},t.prototype._addListeners=function(){var e=this;this._async.setTimeout((function(){e._disposables.push(Object(wt.a)(e._targetWindow,"scroll",e._dismissOnScroll,!0),Object(wt.a)(e._targetWindow,"resize",e._dismissOnResize,!0),Object(wt.a)(e._targetWindow.document.documentElement,"focus",e._dismissOnLostFocus,!0),Object(wt.a)(e._targetWindow.document.documentElement,"click",e._dismissOnLostFocus,!0)),e._hasListeners=!0}),0)},t.prototype._removeListeners=function(){this._disposables.forEach((function(e){return e()})),this._disposables=[],this._hasListeners=!1},t.prototype._updateAsyncPosition=function(){var e=this;this._async.requestAnimationFrame((function(){return e._updatePosition()}),this._calloutElement.current)},t.prototype._getBeakPosition=function(){var e=this.state.positions,t=Object(m.a)({},e&&e.beakPosition?e.beakPosition.elementPosition:null);return t.top||t.bottom||t.left||t.right||(t.left=0,t.top=0),t},t.prototype._updatePosition=function(){this._setTargetWindowAndElement(this._getTarget());var e=this.state.positions,t=this._hostElement.current,n=this._calloutElement.current,o=!!this.props.target;if(t&&n&&(!o||this._target)){var r=void 0;(r=Object(ot.a)(r,this.props)).bounds=this._getBounds(),r.target=this._target;var i=this.props.finalHeight?function(e,t,n,o){return function(e,t,n,o){return Zt(e,t,n,o,!0)}(e,t,n,o)}(r,t,n,e):function(e,t,n,o){return Zt(e,t,n,o)}(r,t,n,e);!e&&i||e&&i&&!this._arePositionsEqual(e,i)&&this._positionAttempts<5?(this._positionAttempts++,this.setState({positions:i})):this._positionAttempts>0&&(this._positionAttempts=0,this.props.onPositioned&&this.props.onPositioned(this.state.positions))}},t.prototype._getBounds=function(){if(!this._bounds){var e=this.props.bounds,t="function"==typeof e?e(this.props.target,this._targetWindow):e;t||(t={top:(t=function(e,t){var n=void 0;if(t.getWindowSegments&&(n=t.getWindowSegments()),void 0===n||n.length<=1)return{top:0,left:0,right:t.innerWidth,bottom:t.innerHeight,width:t.innerWidth,height:t.innerHeight};var o=0,r=0;if(null!==e&&e.getBoundingClientRect){var i=e.getBoundingClientRect();o=(i.left+i.right)/2,r=(i.top+i.bottom)/2}else null!==e&&(o=e.left||e.x,r=e.top||e.y);for(var a={top:0,left:0,right:0,bottom:0,width:0,height:0},s=0,c=n;s<c.length;s++){var l=c[s];o&&l.left<=o&&l.right>=o&&r&&l.top<=r&&l.bottom>=r&&(a={top:l.top,left:l.left,right:l.right,bottom:l.bottom,width:l.width,height:l.height})}return a}(this._target,this._targetWindow)).top+this.props.minPagePadding,left:t.left+this.props.minPagePadding,right:t.right-this.props.minPagePadding,bottom:t.bottom-this.props.minPagePadding,width:t.width-2*this.props.minPagePadding,height:t.height-2*this.props.minPagePadding}),this._bounds=t}return this._bounds},t.prototype._getMaxHeight=function(){var e=this;if(!this._maxHeight)if(this.props.directionalHintFixed&&this._target){var t=this.props.isBeakVisible?this.props.beakWidth:0,n=(this.props.gapSpace?this.props.gapSpace:0)+t;this._async.requestAnimationFrame((function(){e._target&&(e._maxHeight=Xt(e._target,e.props.directionalHint,n,e._getBounds(),e.props.coverTarget),e._blockResetHeight=!0,e.forceUpdate())}),this._target)}else this._maxHeight=this._getBounds().height;return this._maxHeight},t.prototype._arePositionsEqual=function(e,t){return this._comparePositions(e.elementPosition,t.elementPosition)&&this._comparePositions(e.beakPosition.elementPosition,t.beakPosition.elementPosition)},t.prototype._comparePositions=function(e,t){for(var n in t)if(t.hasOwnProperty(n)){var o=e[n],r=t[n];if(void 0===o||void 0===r)return!1;if(o.toFixed(2)!==r.toFixed(2))return!1}return!0},t.prototype._setTargetWindowAndElement=function(e){var t=this._calloutElement.current;if(e)if("string"==typeof e){var n=Object(Fe.a)(t);this._target=n?n.querySelector(e):null,this._targetWindow=Object(j.a)(t)}else if(e.stopPropagation)this._targetWindow=Object(j.a)(e.target),this._target=e;else if(e.getBoundingClientRect){var o=e;this._targetWindow=Object(j.a)(o),this._target=e}else void 0!==e.current?(this._target=e.current,this._targetWindow=Object(j.a)(this._target)):(this._targetWindow=Object(j.a)(t),this._target=e);else this._targetWindow=Object(j.a)(t)},t.prototype._setHeightOffsetEveryFrame=function(){var e=this;this._calloutElement.current&&this.props.finalHeight&&(this._setHeightOffsetTimer=this._async.requestAnimationFrame((function(){var t=e._calloutElement.current&&e._calloutElement.current.lastChild;if(t){var n=t.scrollHeight-t.offsetHeight;e.setState({heightOffset:e.state.heightOffset+n}),t.offsetHeight<e.props.finalHeight?e._setHeightOffsetEveryFrame():e._async.cancelAnimationFrame(e._setHeightOffsetTimer,e._calloutElement.current)}}),this._calloutElement.current))},t.prototype._didPositionPropsChange=function(e,t){return!e.hidden&&e.hidden!==t.hidden||e.directionalHint!==t.directionalHint},t.prototype._getTarget=function(e){return void 0===e&&(e=this.props),e.target},t.defaultProps={preventDismissOnLostFocus:!1,preventDismissOnScroll:!1,preventDismissOnResize:!1,isBeakVisible:!0,beakWidth:16,gapSpace:0,minPagePadding:8,directionalHint:st.bottomAutoEdge},t}(g.Component);function cn(e){return{height:e,width:e}}var ln={container:"ms-Callout-container",root:"ms-Callout",beak:"ms-Callout-beak",beakCurtain:"ms-Callout-beakCurtain",calloutMain:"ms-Callout-main"},un=Object(x.a)(sn,(function(e){var t,n=e.theme,o=e.className,r=e.overflowYHidden,i=e.calloutWidth,a=e.beakWidth,s=e.backgroundColor,c=e.calloutMaxWidth,l=Object(b.R)(ln,n),u=n.semanticColors,d=n.effects;return{container:[l.container,{position:"relative"}],root:[l.root,n.fonts.medium,{position:"absolute",boxSizing:"border-box",borderRadius:d.roundedCorner2,boxShadow:d.elevation16,selectors:(t={},t[b.l]={borderWidth:1,borderStyle:"solid",borderColor:"WindowText"},t)},Object(b.L)(),o,!!i&&{width:i},!!c&&{maxWidth:c}],beak:[l.beak,{position:"absolute",backgroundColor:u.menuBackground,boxShadow:"inherit",border:"inherit",boxSizing:"border-box",transform:"rotate(45deg)"},cn(a),s&&{backgroundColor:s}],beakCurtain:[l.beakCurtain,{position:"absolute",top:0,right:0,bottom:0,left:0,backgroundColor:u.menuBackground,borderRadius:d.roundedCorner2}],calloutMain:[l.calloutMain,{backgroundColor:u.menuBackground,overflowX:"hidden",overflowY:"auto",position:"relative",borderRadius:d.roundedCorner2},r&&{overflowY:"hidden"},s&&{backgroundColor:s}]}}),void 0,{scope:"CalloutContent"}),dn=n(107),pn={fontFamily:"inherit"},hn={root:"ms-Fabric",bodyThemed:"ms-Fabric-bodyThemed"},fn=function(e){var t=e.theme,n=e.className,o=e.applyTheme;return{root:[Object(b.R)(hn,t).root,t.fonts.medium,{color:t.palette.neutralPrimary,selectors:{"& button":pn,"& input":pn,"& textarea":pn}},o&&{color:t.semanticColors.bodyText,backgroundColor:t.semanticColors.bodyBackground},n],bodyThemed:[{backgroundColor:t.semanticColors.bodyBackground}]}},mn=Object(w.a)(),gn=Object(y.c)((function(e,t){return Object(b.K)(Object(m.a)(Object(m.a)({},e),{rtl:t}))})),bn=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._rootElement=g.createRef(),t._removeClassNameFromBody=void 0,t}return Object(m.c)(t,e),t.prototype.render=function(){var e=this.props,t=e.as,n=void 0===t?"div":t,o=e.theme,r=e.dir,i=this._getClassNames(),a=Object(I.j)(this.props,I.h,["dir"]),s=function(e,t){var n=Object(T.a)(e)?"rtl":"ltr",o=Object(T.a)()?"rtl":"ltr",r=t||n;return{rootDir:r!==n||r!==o?r:t,needsTheme:r!==n}}(o,r),c=s.rootDir,l=s.needsTheme,u=g.createElement(n,Object(m.a)({dir:c},a,{className:i.root,ref:this._rootElement}));return l&&(u=g.createElement(dn.a,{settings:{theme:gn(o,"rtl"===r)}},u)),g.createElement(g.Fragment,null,u,g.createElement(it.a,{rootRef:this._rootElement}))},t.prototype.componentDidMount=function(){this._addClassNameToBody()},t.prototype.componentWillUnmount=function(){this._removeClassNameFromBody&&this._removeClassNameFromBody()},t.prototype._getClassNames=function(){var e=this.props,t=e.className,n=e.theme,o=e.applyTheme;return mn(fn,{theme:n,applyTheme:o,className:t})},t.prototype._addClassNameToBody=function(){if(this.props.applyThemeToBody){var e=this._getClassNames(),t=Object(Fe.a)(this._rootElement.current);t&&(t.body.classList.add(e.bodyThemed),this._removeClassNameFromBody=function(){t.body.classList.remove(e.bodyThemed)})}},t}(g.Component),yn=Object(x.a)(bn,fn,void 0,{scope:"Fabric"}),vn=n(83),_n=n(212),Sn=n(109),Cn={};function xn(e){Cn[e]&&Cn[e].forEach((function(e){return e()}))}var wn,Tn=Object(w.a)(),kn=function(e){function t(t){var n=e.call(this,t)||this;return n._rootRef=g.createRef(),n._createLayerElement=function(){var e=n.props.hostId,t=Object(Fe.a)(n._rootRef.current),o=n._getHost();if(t&&o){n._removeLayerElement();var r=t.createElement("div"),i=n._getClassNames();r.className=i.root,Object(vn.b)(r),Object(_n.a)(r,n._rootRef.current),n.props.insertFirst?o.insertBefore(r,o.firstChild):o.appendChild(r),n.setState({hostId:e,layerElement:r},(function(){var e=n.props,t=e.onLayerDidMount,o=e.onLayerMounted;o&&o(),t&&t()}))}},n.state={},n}return Object(m.c)(t,e),t.prototype.componentDidMount=function(){var e=this.props.hostId;this._createLayerElement(),e&&function(e,t){Cn[e]||(Cn[e]=[]),Cn[e].push(t)}(e,this._createLayerElement)},t.prototype.render=function(){var e=this.state.layerElement,t=this._getClassNames(),n=this.props.eventBubblingEnabled;return g.createElement("span",{className:"ms-layer",ref:this._rootRef},e&&mt.createPortal(g.createElement(yn,Object(m.a)({},!n&&(wn||(wn={},["onClick","onContextMenu","onDoubleClick","onDrag","onDragEnd","onDragEnter","onDragExit","onDragLeave","onDragOver","onDragStart","onDrop","onMouseDown","onMouseEnter","onMouseLeave","onMouseMove","onMouseOver","onMouseOut","onMouseUp","onTouchMove","onTouchStart","onTouchCancel","onTouchEnd","onKeyDown","onKeyPress","onKeyUp","onFocus","onBlur","onChange","onInput","onInvalid","onSubmit"].forEach((function(e){return wn[e]=In}))),wn),{className:t.content}),this.props.children),e))},t.prototype.componentDidUpdate=function(){this.props.hostId!==this.state.hostId&&this._createLayerElement()},t.prototype.componentWillUnmount=function(){var e=this.props.hostId;this._removeLayerElement(),e&&function(e,t){if(Cn[e]){var n=Cn[e].indexOf(t);n>=0&&(Cn[e].splice(n,1),0===Cn[e].length&&delete Cn[e])}}(e,this._createLayerElement)},t.prototype._removeLayerElement=function(){var e=this.props.onLayerWillUnmount,t=this.state.layerElement;if(e&&e(),t&&t.parentNode){var n=t.parentNode;n&&n.removeChild(t)}},t.prototype._getClassNames=function(){var e=this.props,t=e.className,n=e.styles,o=e.theme;return Tn(n,{theme:o,className:t,isNotHost:!this.props.hostId})},t.prototype._getHost=function(){var e=this.props.hostId,t=Object(Fe.a)(this._rootRef.current);if(t)return e?t.getElementById(e):t.body},t.defaultProps={onLayerDidMount:function(){},onLayerWillUnmount:function(){}},Object(m.b)([Object(Sn.a)("Layer",["theme","hostId"])],t)}(g.Component),In=function(e){e.eventPhase===Event.BUBBLING_PHASE&&"mouseenter"!==e.type&&"mouseleave"!==e.type&&"touchstart"!==e.type&&"touchend"!==e.type&&e.stopPropagation()},On={root:"ms-Layer",rootNoHost:"ms-Layer--fixed",content:"ms-Layer-content"},En=Object(x.a)(kn,(function(e){var t=e.className,n=e.isNotHost,o=e.theme,r=Object(b.R)(On,o);return{root:[r.root,o.fonts.medium,n&&[r.rootNoHost,{position:"fixed",zIndex:b.F.Layer,top:0,left:0,bottom:0,right:0,visibility:"hidden"}],t],content:[r.content,{visibility:"visible"}]}}),void 0,{scope:"Layer",fields:["hostId","theme","styles"]}),Nn=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(m.c)(t,e),t.prototype.render=function(){var e=this.props,t=e.layerProps,n=Object(m.d)(e,["layerProps"]),o=g.createElement(un,Object(m.a)({},n));return this.props.doNotLayer?o:g.createElement(En,Object(m.a)({},t),o)},t}(g.Component),Pn=function(e){function t(t){var n=e.call(this,t)||this;return n.openSubMenu=function(){var e=n.props,t=e.item,o=e.openSubMenu,r=e.getSubmenuTarget;if(r){var i=r();dt(t)&&o&&i&&o(t,i)}},n.dismissSubMenu=function(){var e=n.props,t=e.item,o=e.dismissSubMenu;dt(t)&&o&&o()},n.dismissMenu=function(e){var t=n.props.dismissMenu;t&&t(void 0,e)},Object(be.a)(n),n}return Object(m.c)(t,e),t.prototype.render=function(){var e=this.props,t=e.item,n=e.classNames;return g.createElement("div",{className:t.split?n.linkContentMenu:n.linkContent},function(e){var t=e.onCheckmarkClick,n=e.item,o=e.classNames,r=ut(n);return t?g.createElement(K,{iconName:!1!==n.canCheck&&r?"CheckMark":"",className:o.checkmarkIcon,onClick:function(e){return t(n,e)}}):null}(this.props),function(e){var t=e.item,n=e.hasIcons,o=e.classNames,r=t.iconProps;return n?t.onRenderIcon?t.onRenderIcon(e):g.createElement(K,Object(m.a)({},r,{className:o.icon})):null}(this.props),function(e){var t=e.item,n=e.classNames;return t.text||t.name?g.createElement("span",{className:n.label},t.text||t.name):null}(this.props),function(e){var t=e.item,n=e.classNames;return t.secondaryText?g.createElement("span",{className:n.secondaryText},t.secondaryText):null}(this.props),function(e){var t=e.item,n=e.classNames,o=e.theme;return dt(t)?g.createElement(K,Object(m.a)({iconName:Object(T.a)(o)?"ChevronLeft":"ChevronRight"},t.submenuIconProps,{className:n.subMenuIcon})):null}(this.props))},t}(g.Component),Dn=Object(y.c)((function(e){return Object(b.cb)({wrapper:{display:"inline-flex",height:"100%",alignItems:"center"},divider:{width:1,height:"100%",backgroundColor:e.palette.neutralTertiaryAlt}})})),An=Object(b.W)(0,b.s),Rn=Object(y.c)((function(){var e;return{selectors:(e={},e[b.l]={backgroundColor:"Highlight",borderColor:"Highlight",color:"HighlightText",MsHighContrastAdjust:"none"},e)}})),Mn=Object(y.c)((function(e){var t,n,o,r,i,a,s,c=e.semanticColors,l=e.fonts,u=e.palette,d=c.menuItemBackgroundHovered,p=c.menuItemTextHovered,h=c.menuItemBackgroundPressed,f=c.bodyDivider,g={item:[l.medium,{color:c.bodyText,position:"relative",boxSizing:"border-box"}],divider:{display:"block",height:"1px",backgroundColor:f,position:"relative"},root:[Object(b.Q)(e),l.medium,{color:c.bodyText,backgroundColor:"transparent",border:"none",width:"100%",height:36,lineHeight:36,display:"block",cursor:"pointer",padding:"0px 8px 0 4px",textAlign:"left"}],rootDisabled:{color:c.disabledBodyText,cursor:"default",pointerEvents:"none",selectors:(t={},t[b.l]={color:"GrayText",opacity:1},t)},rootHovered:Object(m.a)({backgroundColor:d,color:p,selectors:{".ms-ContextualMenu-icon":{color:u.themeDarkAlt},".ms-ContextualMenu-submenuIcon":{color:u.neutralPrimary}}},Rn()),rootFocused:Object(m.a)({backgroundColor:u.white},Rn()),rootChecked:Object(m.a)({selectors:{".ms-ContextualMenu-checkmarkIcon":{color:u.neutralPrimary}}},Rn()),rootPressed:Object(m.a)({backgroundColor:h,selectors:{".ms-ContextualMenu-icon":{color:u.themeDark},".ms-ContextualMenu-submenuIcon":{color:u.neutralPrimary}}},Rn()),rootExpanded:Object(m.a)({backgroundColor:h,color:c.bodyTextChecked},Rn()),linkContent:{whiteSpace:"nowrap",height:"inherit",display:"flex",alignItems:"center",maxWidth:"100%"},anchorLink:{padding:"0px 8px 0 4px",textRendering:"auto",color:"inherit",letterSpacing:"normal",wordSpacing:"normal",textTransform:"none",textIndent:"0px",textShadow:"none",textDecoration:"none",boxSizing:"border-box"},label:{margin:"0 4px",verticalAlign:"middle",display:"inline-block",flexGrow:"1",textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"},secondaryText:{color:e.palette.neutralSecondary,paddingLeft:"20px",textAlign:"right"},icon:{display:"inline-block",minHeight:"1px",maxHeight:36,fontSize:b.o.medium,width:b.o.medium,margin:"0 4px",verticalAlign:"middle",flexShrink:"0",selectors:(n={},n[An]={fontSize:b.o.large,width:b.o.large},n)},iconColor:{color:c.menuIcon,selectors:(o={},o[b.l]={color:"inherit"},o["$root:hover &"]={selectors:(r={},r[b.l]={color:"HighlightText"},r)},o["$root:focus &"]={selectors:(i={},i[b.l]={color:"HighlightText"},i)},o)},iconDisabled:{color:c.disabledBodyText},checkmarkIcon:{color:c.bodySubtext,selectors:(a={},a[b.l]={color:"HighlightText"},a)},subMenuIcon:{height:36,lineHeight:36,color:u.neutralSecondary,textAlign:"center",display:"inline-block",verticalAlign:"middle",flexShrink:"0",fontSize:b.o.small,selectors:(s={":hover":{color:u.neutralPrimary},":active":{color:u.neutralPrimary}},s[An]={fontSize:b.o.medium},s)},splitButtonFlexContainer:[Object(b.Q)(e),{display:"flex",height:36,flexWrap:"nowrap",justifyContent:"center",alignItems:"flex-start"}]};return Object(b.H)(g)})),Fn=n(21),jn=Object(b.W)(0,b.s),Ln=Object(y.c)((function(e){var t;return Object(b.cb)(Dn(e),{wrapper:{position:"absolute",right:28,selectors:(t={},t[jn]={right:32},t)},divider:{height:16,width:1}})})),Hn={item:"ms-ContextualMenu-item",divider:"ms-ContextualMenu-divider",root:"ms-ContextualMenu-link",isChecked:"is-checked",isExpanded:"is-expanded",isDisabled:"is-disabled",linkContent:"ms-ContextualMenu-linkContent",linkContentMenu:"ms-ContextualMenu-linkContent",icon:"ms-ContextualMenu-icon",iconColor:"ms-ContextualMenu-iconColor",checkmarkIcon:"ms-ContextualMenu-checkmarkIcon",subMenuIcon:"ms-ContextualMenu-submenuIcon",label:"ms-ContextualMenu-itemText",secondaryText:"ms-ContextualMenu-secondaryText",splitMenu:"ms-ContextualMenu-splitMenu"},Bn=Object(y.c)((function(e,t,n,o,r,i,a,s,c,l,u,d){var p,h,f,m,g=Mn(e),y=Object(b.R)(Hn,e);return Object(b.cb)({item:[y.item,g.item,a],divider:[y.divider,g.divider,s],root:[y.root,g.root,o&&[y.isChecked,g.rootChecked],r&&g.anchorLink,n&&[y.isExpanded,g.rootExpanded],t&&[y.isDisabled,g.rootDisabled],!t&&!n&&[{selectors:(p={":hover":g.rootHovered,":active":g.rootPressed},p["."+Fn.a+" &:focus, ."+Fn.a+" &:focus:hover"]=g.rootFocused,p["."+Fn.a+" &:hover"]={background:"inherit;"},p)}],d],splitPrimary:[g.root,{width:"calc(100% - 28px)"},o&&["is-checked",g.rootChecked],(t||u)&&["is-disabled",g.rootDisabled],!(t||u)&&!o&&[{selectors:(h={":hover":g.rootHovered},h[":hover ~ ."+y.splitMenu]=g.rootHovered,h[":active"]=g.rootPressed,h["."+Fn.a+" &:focus, ."+Fn.a+" &:focus:hover"]=g.rootFocused,h["."+Fn.a+" &:hover"]={background:"inherit;"},h)}]],splitMenu:[y.splitMenu,g.root,{flexBasis:"0",padding:"0 8px",minWidth:"28px"},n&&["is-expanded",g.rootExpanded],t&&["is-disabled",g.rootDisabled],!t&&!n&&[{selectors:(f={":hover":g.rootHovered,":active":g.rootPressed},f["."+Fn.a+" &:focus, ."+Fn.a+" &:focus:hover"]=g.rootFocused,f["."+Fn.a+" &:hover"]={background:"inherit;"},f)}]],anchorLink:g.anchorLink,linkContent:[y.linkContent,g.linkContent],linkContentMenu:[y.linkContentMenu,g.linkContent,{justifyContent:"center"}],icon:[y.icon,i&&g.iconColor,g.icon,c,t&&[y.isDisabled,g.iconDisabled]],iconColor:g.iconColor,checkmarkIcon:[y.checkmarkIcon,i&&g.checkmarkIcon,g.icon,c],subMenuIcon:[y.subMenuIcon,g.subMenuIcon,l,n&&{color:e.palette.neutralPrimary},t&&[g.iconDisabled]],label:[y.label,g.label],secondaryText:[y.secondaryText,g.secondaryText],splitContainer:[g.splitButtonFlexContainer,!t&&!o&&[{selectors:(m={},m["."+Fn.a+" &:focus, ."+Fn.a+" &:focus:hover"]=g.rootFocused,m)}]]})})),zn=function(e){var t=e.theme,n=e.disabled,o=e.expanded,r=e.checked,i=e.isAnchorLink,a=e.knownIcon,s=e.itemClassName,c=e.dividerClassName,l=e.iconClassName,u=e.subMenuClassName,d=e.primaryDisabled,p=e.className;return Bn(t,n,o,r,i,a,s,c,l,u,d,p)},Un=Object(x.a)(Pn,zn,void 0,{scope:"ContextualMenuItem"}),Vn=function(e){function t(t){var n=e.call(this,t)||this;return n._onItemMouseEnter=function(e){var t=n.props,o=t.item,r=t.onItemMouseEnter;r&&r(o,e,e.currentTarget)},n._onItemClick=function(e){var t=n.props,o=t.item,r=t.onItemClickBase;r&&r(o,e,e.currentTarget)},n._onItemMouseLeave=function(e){var t=n.props,o=t.item,r=t.onItemMouseLeave;r&&r(o,e)},n._onItemKeyDown=function(e){var t=n.props,o=t.item,r=t.onItemKeyDown;r&&r(o,e)},n._onItemMouseMove=function(e){var t=n.props,o=t.item,r=t.onItemMouseMove;r&&r(o,e,e.currentTarget)},n._getSubMenuId=function(e){var t=n.props.getSubMenuId;if(t)return t(e)},n._getSubmenuTarget=function(){},Object(be.a)(n),n}return Object(m.c)(t,e),t.prototype.shouldComponentUpdate=function(e){return!Object(ot.e)(e,this.props)},t}(g.Component),Wn=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._anchor=g.createRef(),t._getMemoizedMenuButtonKeytipProps=Object(y.c)((function(e){return Object(m.a)(Object(m.a)({},e),{hasMenu:!0})})),t._getSubmenuTarget=function(){return t._anchor.current?t._anchor.current:void 0},t._onItemClick=function(e){var n=t.props,o=n.item,r=n.onItemClick;r&&r(o,e)},t}return Object(m.c)(t,e),t.prototype.render=function(){var e=this,t=this.props,n=t.item,o=t.classNames,r=t.index,i=t.focusableElementIndex,a=t.totalItemCount,s=t.hasCheckmarks,c=t.hasIcons,l=t.contextualMenuItemAs,u=void 0===l?Un:l,d=t.expandedMenuItemKey,p=t.onItemClick,h=t.openSubMenu,f=t.dismissSubMenu,b=t.dismissMenu,y=n.rel;n.target&&"_blank"===n.target.toLowerCase()&&(y=y||"nofollow noopener noreferrer");var v=this._getSubMenuId(n),_=dt(n),S=Object(I.j)(n,I.a),C=pt(n),x=n.itemProps,w=n.keytipProps;return w&&_&&(w=this._getMemoizedMenuButtonKeytipProps(w)),g.createElement("div",null,g.createElement($e,{keytipProps:n.keytipProps,ariaDescribedBy:S["aria-describedby"],disabled:C},(function(t){return g.createElement("a",Object(m.a)({},S,t,{ref:e._anchor,href:n.href,target:n.target,rel:y,className:o.root,role:"menuitem","aria-owns":n.key===d?v:void 0,"aria-haspopup":_||void 0,"aria-expanded":_?n.key===d:void 0,"aria-posinset":i+1,"aria-setsize":a,"aria-disabled":pt(n),style:n.style,onClick:e._onItemClick,onMouseEnter:e._onItemMouseEnter,onMouseLeave:e._onItemMouseLeave,onMouseMove:e._onItemMouseMove,onKeyDown:_?e._onItemKeyDown:void 0}),g.createElement(u,Object(m.a)({componentRef:n.componentRef,item:n,classNames:o,index:r,onCheckmarkClick:s&&p?p:void 0,hasIcons:c,openSubMenu:h,dismissSubMenu:f,dismissMenu:b,getSubmenuTarget:e._getSubmenuTarget},x)))})))},t}(Vn),qn=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._btn=g.createRef(),t._getMemoizedMenuButtonKeytipProps=Object(y.c)((function(e){return Object(m.a)(Object(m.a)({},e),{hasMenu:!0})})),t._getSubmenuTarget=function(){return t._btn.current?t._btn.current:void 0},t}return Object(m.c)(t,e),t.prototype.render=function(){var e=this,t=this.props,n=t.item,o=t.classNames,r=t.index,i=t.focusableElementIndex,a=t.totalItemCount,s=t.hasCheckmarks,c=t.hasIcons,l=t.contextualMenuItemAs,u=void 0===l?Un:l,d=t.expandedMenuItemKey,p=t.onItemMouseDown,h=t.onItemClick,f=t.openSubMenu,b=t.dismissSubMenu,y=t.dismissMenu,v=this._getSubMenuId(n),_=ut(n),S=null!==_,C=ht(n),x=dt(n),w=n.itemProps,T=n.ariaLabel,k=Object(I.j)(n,I.e);delete k.disabled;var O=n.role||C,E={className:o.root,onClick:this._onItemClick,onKeyDown:x?this._onItemKeyDown:void 0,onMouseEnter:this._onItemMouseEnter,onMouseLeave:this._onItemMouseLeave,onMouseDown:function(e){return p?p(n,e):void 0},onMouseMove:this._onItemMouseMove,href:n.href,title:n.title,"aria-label":T,"aria-haspopup":x||void 0,"aria-owns":n.key===d?v:void 0,"aria-expanded":x?n.key===d:void 0,"aria-posinset":i+1,"aria-setsize":a,"aria-disabled":pt(n),"aria-checked":"menuitemcheckbox"!==O&&"menuitemradio"!==O||!S?void 0:!!_,"aria-selected":"menuitem"===O&&S?!!_:void 0,role:O,style:n.style},N=n.keytipProps;return N&&x&&(N=this._getMemoizedMenuButtonKeytipProps(N)),g.createElement($e,{keytipProps:N,ariaDescribedBy:k["aria-describedby"],disabled:pt(n)},(function(t){return g.createElement("button",Object(m.a)({ref:e._btn},k,E,t),g.createElement(u,Object(m.a)({componentRef:n.componentRef,item:n,classNames:o,index:r,onCheckmarkClick:s&&h?h:void 0,hasIcons:c,openSubMenu:f,dismissSubMenu:b,dismissMenu:y,getSubmenuTarget:e._getSubmenuTarget},w)))}))},t}(Vn),Gn=Object(w.a)(),Kn=Object(x.a)((function(e){var t=e.styles,n=e.theme,o=e.getClassNames,r=e.className,i=Gn(t,{theme:n,getClassNames:o,className:r});return g.createElement("span",{className:i.wrapper},g.createElement("span",{className:i.divider}))}),(function(e){var t=e.theme,n=e.getClassNames,o=e.className;if(!t)throw new Error("Theme is undefined or null.");if(n){var r=n(t);return{wrapper:[r.wrapper],divider:[r.divider]}}return{wrapper:[{display:"inline-flex",height:"100%",alignItems:"center"},o],divider:[{width:1,height:"100%",backgroundColor:t.palette.neutralTertiaryAlt}]}}),void 0,{scope:"VerticalDivider"}),Yn=function(e){function t(t){var n=e.call(this,t)||this;return n._getMemoizedMenuButtonKeytipProps=Object(y.c)((function(e){return Object(m.a)(Object(m.a)({},e),{hasMenu:!0})})),n._onItemKeyDown=function(e){var t=n.props,o=t.item,r=t.onItemKeyDown;e.which===ge.a.enter?(n._executeItemClick(e),e.preventDefault(),e.stopPropagation()):r&&r(o,e)},n._getSubmenuTarget=function(){return n._splitButton},n._onItemMouseEnterPrimary=function(e){var t=n.props,o=t.item,r=t.onItemMouseEnter;r&&r(Object(m.a)(Object(m.a)({},o),{subMenuProps:void 0,items:void 0}),e,n._splitButton)},n._onItemMouseEnterIcon=function(e){var t=n.props,o=t.item,r=t.onItemMouseEnter;r&&r(o,e,n._splitButton)},n._onItemMouseMovePrimary=function(e){var t=n.props,o=t.item,r=t.onItemMouseMove;r&&r(Object(m.a)(Object(m.a)({},o),{subMenuProps:void 0,items:void 0}),e,n._splitButton)},n._onItemMouseMoveIcon=function(e){var t=n.props,o=t.item,r=t.onItemMouseMove;r&&r(o,e,n._splitButton)},n._onIconItemClick=function(e){var t=n.props,o=t.item,r=t.onItemClickBase;r&&r(o,e,n._splitButton?n._splitButton:e.currentTarget)},n._executeItemClick=function(e){var t=n.props,o=t.item,r=t.executeItemClick,i=t.onItemClick;if(!o.disabled&&!o.isDisabled)return n._processingTouch&&i?i(o,e):void(r&&r(o,e))},n._onTouchStart=function(e){n._splitButton&&!("onpointerdown"in n._splitButton)&&n._handleTouchAndPointerEvent(e)},n._onPointerDown=function(e){"touch"===e.pointerType&&(n._handleTouchAndPointerEvent(e),e.preventDefault(),e.stopImmediatePropagation())},n._async=new ye.a(n),n._events=new Ve.a(n),n}return Object(m.c)(t,e),t.prototype.componentDidMount=function(){this._splitButton&&"onpointerdown"in this._splitButton&&this._events.on(this._splitButton,"pointerdown",this._onPointerDown,!0)},t.prototype.componentWillUnmount=function(){this._async.dispose(),this._events.dispose()},t.prototype.render=function(){var e=this,t=this.props,n=t.item,o=t.classNames,r=t.index,i=t.focusableElementIndex,a=t.totalItemCount,s=t.hasCheckmarks,c=t.hasIcons,l=t.onItemMouseLeave,u=t.expandedMenuItemKey,d=dt(n),p=n.keytipProps;return p&&(p=this._getMemoizedMenuButtonKeytipProps(p)),g.createElement($e,{keytipProps:p,disabled:pt(n)},(function(t){return g.createElement("div",{"data-ktp-target":t["data-ktp-target"],ref:function(t){return e._splitButton=t},role:ht(n),"aria-label":n.ariaLabel,className:o.splitContainer,"aria-disabled":pt(n),"aria-expanded":d?n.key===u:void 0,"aria-haspopup":!0,"aria-describedby":Object(Ue.a)(n.ariaDescription,t["aria-describedby"]),"aria-checked":n.isChecked||n.checked,"aria-posinset":i+1,"aria-setsize":a,onMouseEnter:e._onItemMouseEnterPrimary,onMouseLeave:l?l.bind(e,Object(m.a)(Object(m.a)({},n),{subMenuProps:null,items:null})):void 0,onMouseMove:e._onItemMouseMovePrimary,onKeyDown:e._onItemKeyDown,onClick:e._executeItemClick,onTouchStart:e._onTouchStart,tabIndex:0,"data-is-focusable":!0,"aria-roledescription":n["aria-roledescription"]},e._renderSplitPrimaryButton(n,o,r,s,c),e._renderSplitDivider(n),e._renderSplitIconButton(n,o,r,t))}))},t.prototype._renderSplitPrimaryButton=function(e,t,n,o,r){var i=this.props,a=i.contextualMenuItemAs,s=void 0===a?Un:a,c=i.onItemClick,l={key:e.key,disabled:pt(e)||e.primaryDisabled,name:e.name,text:e.text||e.name,secondaryText:e.secondaryText,className:t.splitPrimary,canCheck:e.canCheck,isChecked:e.isChecked,checked:e.checked,iconProps:e.iconProps,onRenderIcon:e.onRenderIcon,data:e.data,"data-is-focusable":!1},u=e.itemProps;return g.createElement("button",Object(m.a)({},Object(I.j)(l,I.e)),g.createElement(s,Object(m.a)({"data-is-focusable":!1,item:l,classNames:t,index:n,onCheckmarkClick:o&&c?c:void 0,hasIcons:r},u)))},t.prototype._renderSplitDivider=function(e){var t=e.getSplitButtonVerticalDividerClassNames||Ln;return g.createElement(Kn,{getClassNames:t})},t.prototype._renderSplitIconButton=function(e,t,n,o){var r=this.props,i=r.contextualMenuItemAs,a=void 0===i?Un:i,s=r.onItemMouseLeave,c=r.onItemMouseDown,l=r.openSubMenu,u=r.dismissSubMenu,d=r.dismissMenu,p={onClick:this._onIconItemClick,disabled:pt(e),className:t.splitMenu,subMenuProps:e.subMenuProps,submenuIconProps:e.submenuIconProps,split:!0,key:e.key},h=Object(m.a)(Object(m.a)({},Object(I.j)(p,I.e)),{onMouseEnter:this._onItemMouseEnterIcon,onMouseLeave:s?s.bind(this,e):void 0,onMouseDown:function(t){return c?c(e,t):void 0},onMouseMove:this._onItemMouseMoveIcon,"data-is-focusable":!1,"data-ktp-execute-target":o["data-ktp-execute-target"],"aria-hidden":!0}),f=e.itemProps;return g.createElement("button",Object(m.a)({},h),g.createElement(a,Object(m.a)({componentRef:e.componentRef,item:p,classNames:t,index:n,hasIcons:!1,openSubMenu:l,dismissSubMenu:u,dismissMenu:d,getSubmenuTarget:this._getSubmenuTarget},f)))},t.prototype._handleTouchAndPointerEvent=function(e){var t=this,n=this.props.onTap;n&&n(e),this._lastTouchTimeoutId&&(this._async.clearTimeout(this._lastTouchTimeoutId),this._lastTouchTimeoutId=void 0),this._processingTouch=!0,this._lastTouchTimeoutId=this._async.setTimeout((function(){t._processingTouch=!1,t._lastTouchTimeoutId=void 0}),500)},t}(Vn),Qn=Object(w.a)(),$n=Object(w.a)();function Zn(e){return e.subMenuProps?e.subMenuProps.items:e.items}function Xn(e){return e.some((function(e){return!!e.canCheck||!(!e.sectionProps||!e.sectionProps.items.some((function(e){return!0===e.canCheck})))}))}var Jn,eo=Object(y.c)((function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return function(t){return b.I.apply(void 0,Object(m.e)([t,zn],e))}})),to=function(e){function t(t){var n=e.call(this,t)||this;return n._mounted=!1,n.dismiss=function(e,t){var o=n.props.onDismiss;o&&o(e,t)},n._tryFocusPreviousActiveElement=function(e){e&&e.containsFocus&&n._previousActiveElement&&n._previousActiveElement&&n._previousActiveElement.focus()},n._onRenderMenuList=function(e,t){var o=0;return g.createElement("ul",{className:n._classNames.list,onKeyDown:n._onKeyDown,onKeyUp:n._onKeyUp,role:"menu"},e.items.map((function(t,r){var i=n._renderMenuItem(t,r,o,e.totalItemCount,e.hasCheckmarks,e.hasIcons);if(t.itemType!==Qe.Divider&&t.itemType!==Qe.Header){var a=t.customOnRenderListLength?t.customOnRenderListLength:1;o+=a}return i})))},n._renderMenuItem=function(e,t,o,r,i,a){var s,c,l=[],u=e.iconProps||{iconName:"None"},d=e.getItemClassNames,p=e.itemProps,h=p?p.styles:void 0,f=e.itemType===Qe.Divider?e.className:void 0,m=e.submenuIconProps?e.submenuIconProps.className:"";if(d)c=d(n.props.theme,pt(e),n.state.expandedMenuItemKey===e.key,!!ut(e),!!e.href,"None"!==u.iconName,e.className,f,u.className,m,e.primaryDisabled);else{var b={theme:n.props.theme,disabled:pt(e),expanded:n.state.expandedMenuItemKey===e.key,checked:!!ut(e),isAnchorLink:!!e.href,knownIcon:"None"!==u.iconName,itemClassName:e.className,dividerClassName:f,iconClassName:u.className,subMenuClassName:m,primaryDisabled:e.primaryDisabled};c=$n(eo(null===(s=n._classNames.subComponentStyles)||void 0===s?void 0:s.menuItem,h),b)}switch("-"!==e.text&&"-"!==e.name||(e.itemType=Qe.Divider),e.itemType){case Qe.Divider:l.push(n._renderSeparator(t,c));break;case Qe.Header:l.push(n._renderSeparator(t,c));var y=n._renderHeaderMenuItem(e,c,t,i,a);l.push(n._renderListItem(y,e.key||t,c,e.title));break;case Qe.Section:l.push(n._renderSectionItem(e,c,t,i,a));break;default:var v=n._renderNormalItem(e,c,t,o,r,i,a);l.push(n._renderListItem(v,e.key||t,c,e.title))}return g.createElement(g.Fragment,{key:e.key},l)},n._defaultMenuItemRenderer=function(e){var t=e.index,o=e.focusableElementIndex,r=e.totalItemCount,i=e.hasCheckmarks,a=e.hasIcons;return n._renderMenuItem(e,t,o,r,i,a)},n._onKeyDown=function(e){n._lastKeyDownWasAltOrMeta=n._isAltOrMeta(e);var t=e.which===ge.a.escape&&(Object(ct.a)()||Object(lt.a)());return n._keyHandler(e,n._shouldHandleKeyDown,t)},n._shouldHandleKeyDown=function(e){return e.which===ge.a.escape||n._shouldCloseSubMenu(e)||e.which===ge.a.up&&(e.altKey||e.metaKey)},n._onMenuFocusCapture=function(e){n.props.delayUpdateFocusOnHover&&(n._shouldUpdateFocusOnMouseEvent=!0)},n._onKeyUp=function(e){return n._keyHandler(e,n._shouldHandleKeyUp,!0)},n._shouldHandleKeyUp=function(e){var t=n._lastKeyDownWasAltOrMeta&&n._isAltOrMeta(e);return n._lastKeyDownWasAltOrMeta=!1,!!t&&!(Object(lt.a)()||Object(ct.a)())},n._keyHandler=function(e,t,o){var r=!1;return t(e)&&(n._focusingPreviousElement=!1,n.dismiss(e,o),e.preventDefault(),e.stopPropagation(),r=!0),r},n._shouldCloseSubMenu=function(e){var t=Object(T.a)(n.props.theme)?ge.a.right:ge.a.left;return!(e.which!==t||!n.props.isSubMenu||n._adjustedFocusZoneProps.direction!==le.vertical&&(!n._adjustedFocusZoneProps.checkForNoWrap||Object(Ee.p)(e.target,"data-no-horizontal-wrap")))},n._onMenuKeyDown=function(e){if(!n._onKeyDown(e)&&n._host){var t=!(!e.altKey&&!e.metaKey),o=e.which===ge.a.up,r=e.which===ge.a.down;if(!t&&(o||r)){var i=o?Object(Ee.h)(n._host,n._host.lastChild,!0):Object(Ee.e)(n._host,n._host.firstChild,!0);i&&(i.focus(),e.preventDefault(),e.stopPropagation())}}},n._onScroll=function(){n._isScrollIdle||void 0===n._scrollIdleTimeoutId?n._isScrollIdle=!1:(n._async.clearTimeout(n._scrollIdleTimeoutId),n._scrollIdleTimeoutId=void 0),n._scrollIdleTimeoutId=n._async.setTimeout((function(){n._isScrollIdle=!0}),250)},n._onItemMouseEnterBase=function(e,t,o){n._shouldIgnoreMouseEvent()||n._updateFocusOnMouseEvent(e,t,o)},n._onItemMouseMoveBase=function(e,t,o){var r=t.currentTarget;n._shouldUpdateFocusOnMouseEvent&&(n._gotMouseMove=!0,n._isScrollIdle&&void 0===n._enterTimerId&&r!==n._targetWindow.document.activeElement&&n._updateFocusOnMouseEvent(e,t,o))},n._onMouseItemLeave=function(e,t){if(!n._shouldIgnoreMouseEvent()&&(void 0!==n._enterTimerId&&(n._async.clearTimeout(n._enterTimerId),n._enterTimerId=void 0),void 0===n.state.expandedMenuItemKey))if(n._host.setActive)try{n._host.setActive()}catch(e){}else n._host.focus()},n._onItemMouseDown=function(e,t){e.onMouseDown&&e.onMouseDown(e,t)},n._onItemClick=function(e,t){n._onItemClickBase(e,t,t.currentTarget)},n._onItemClickBase=function(e,t,o){var r=Zn(e);n._cancelSubMenuTimer(),dt(e)||r&&r.length?e.key!==n.state.expandedMenuItemKey&&(n.setState({expandedByMouseClick:0!==t.nativeEvent.detail||"mouse"===t.nativeEvent.pointerType}),n._onItemSubMenuExpand(e,o)):n._executeItemClick(e,t),t.stopPropagation(),t.preventDefault()},n._onAnchorClick=function(e,t){n._executeItemClick(e,t),t.stopPropagation()},n._executeItemClick=function(e,t){if(!e.disabled&&!e.isDisabled){var o=!1;e.onClick?o=!!e.onClick(t,e):n.props.onItemClick&&(o=!!n.props.onItemClick(t,e)),(o||!t.defaultPrevented)&&n.dismiss(t,!0)}},n._onItemKeyDown=function(e,t){var o=Object(T.a)(n.props.theme)?ge.a.left:ge.a.right;e.disabled||t.which!==o&&t.which!==ge.a.enter&&(t.which!==ge.a.down||!t.altKey&&!t.metaKey)||(n.setState({expandedByMouseClick:!1}),n._onItemSubMenuExpand(e,t.currentTarget),t.preventDefault())},n._cancelSubMenuTimer=function(){void 0!==n._enterTimerId&&(n._async.clearTimeout(n._enterTimerId),n._enterTimerId=void 0)},n._onItemSubMenuExpand=function(e,t){n.state.expandedMenuItemKey!==e.key&&(n.state.expandedMenuItemKey&&n._onSubMenuDismiss(),t.focus(),n.setState({expandedMenuItemKey:e.key,submenuTarget:t}))},n._onSubMenuDismiss=function(e,t){t?n.dismiss(e,t):n._mounted&&n.setState({dismissedMenuItemKey:n.state.expandedMenuItemKey,expandedMenuItemKey:void 0,submenuTarget:void 0})},n._getSubMenuId=function(e){var t=n.state.subMenuId;return e.subMenuProps&&e.subMenuProps.id&&(t=e.subMenuProps.id),t},n._onPointerAndTouchEvent=function(e){n._cancelSubMenuTimer()},n._async=new ye.a(n),n._events=new Ve.a(n),Object(be.a)(n),Object(nt.a)("ContextualMenu",t,{getMenuClassNames:"styles"}),n.state={contextualMenuItems:void 0,subMenuId:Object(Pe.a)("ContextualMenu")},n._id=t.id||Object(Pe.a)("ContextualMenu"),n._focusingPreviousElement=!1,n._isScrollIdle=!0,n._shouldUpdateFocusOnMouseEvent=!n.props.delayUpdateFocusOnHover,n._gotMouseMove=!1,n}return Object(m.c)(t,e),t.prototype.shouldComponentUpdate=function(e,t){return!(!e.shouldUpdateWhenHidden&&this.props.hidden&&e.hidden||Object(ot.e)(this.props,e)&&Object(ot.e)(this.state,t))},t.prototype.UNSAFE_componentWillUpdate=function(e){if(e.target!==this.props.target){var t=e.target;this._setTargetWindowAndElement(t)}this._isHidden(e)!==this._isHidden(this.props)&&(this._isHidden(e)?this._onMenuClosed():(this._onMenuOpened(),this._previousActiveElement=this._targetWindow?this._targetWindow.document.activeElement:void 0)),e.delayUpdateFocusOnHover!==this.props.delayUpdateFocusOnHover&&(this._shouldUpdateFocusOnMouseEvent=!e.delayUpdateFocusOnHover,this._gotMouseMove=this._shouldUpdateFocusOnMouseEvent&&this._gotMouseMove)},t.prototype.UNSAFE_componentWillMount=function(){var e=this.props.target;this._setTargetWindowAndElement(e),this.props.hidden||(this._previousActiveElement=this._targetWindow?this._targetWindow.document.activeElement:void 0)},t.prototype.componentDidMount=function(){this.props.hidden||this._onMenuOpened(),this._mounted=!0},t.prototype.componentWillUnmount=function(){this.props.onMenuDismissed&&this.props.onMenuDismissed(this.props),this._events.dispose(),this._async.dispose(),this._mounted=!1},t.prototype.render=function(){var e=this,t=this.props.isBeakVisible,n=this.props,o=n.items,r=n.labelElementId,i=n.id,a=n.className,s=n.beakWidth,c=n.directionalHint,l=n.directionalHintForRTL,u=n.alignTargetEdge,d=n.gapSpace,p=n.coverTarget,h=n.ariaLabel,f=n.doNotLayer,b=n.target,y=n.bounds,v=n.useTargetWidth,_=n.useTargetAsMinWidth,S=n.directionalHintFixed,C=n.shouldFocusOnMount,x=n.shouldFocusOnContainer,w=n.title,T=n.styles,k=n.theme,I=n.calloutProps,O=n.onRenderSubMenu,E=void 0===O?this._onRenderSubMenu:O,N=n.onRenderMenuList,P=void 0===N?this._onRenderMenuList:N,D=n.focusZoneProps,A=n.getMenuClassNames;this._classNames=A?A(k,a):Qn(T,{theme:k,className:a});var R=function e(t){for(var n=0,o=t;n<o.length;n++){var r=o[n];if(r.iconProps)return!0;if(r.itemType===Qe.Section&&r.sectionProps&&e(r.sectionProps.items))return!0}return!1}(o);this._adjustedFocusZoneProps=Object(m.a)(Object(m.a)({},D),{direction:this._getFocusZoneDirection()});var M,F=Xn(o),j=this.state.expandedMenuItemKey&&!0!==this.props.hidden?this._getSubmenuProps():null;t=void 0===t?this.props.responsiveMode<=ft.medium:t;var L=this._target;if((v||_)&&L&&L.offsetWidth){var H=L.getBoundingClientRect().width-2;v?M={width:H}:_&&(M={minWidth:H})}if(o&&o.length>0){for(var B=0,U=0,V=o;U<V.length;U++){var W=V[U];W.itemType!==Qe.Divider&&W.itemType!==Qe.Header&&(B+=W.customOnRenderListLength?W.customOnRenderListLength:1)}var q=this._classNames.subComponentStyles?this._classNames.subComponentStyles.callout:void 0;return g.createElement(Nn,Object(m.a)({styles:q,onRestoreFocus:this._tryFocusPreviousActiveElement},I,{target:b,isBeakVisible:t,beakWidth:s,directionalHint:c,directionalHintForRTL:l,gapSpace:d,coverTarget:p,doNotLayer:f,className:Object(z.a)("ms-ContextualMenu-Callout",I&&I.className),setInitialFocus:C,onDismiss:this.props.onDismiss,onScroll:this._onScroll,bounds:y,directionalHintFixed:S,alignTargetEdge:u,hidden:this.props.hidden}),g.createElement("div",{"aria-label":h,"aria-labelledby":r,style:M,ref:function(t){return e._host=t},id:i,className:this._classNames.container,tabIndex:x?0:-1,onKeyDown:this._onMenuKeyDown,onKeyUp:this._onKeyUp,onFocusCapture:this._onMenuFocusCapture},w&&g.createElement("div",{className:this._classNames.title}," ",w," "),o&&o.length?g.createElement(ze,Object(m.a)({},this._adjustedFocusZoneProps,{className:this._classNames.root,isCircularNavigation:!0,handleTabKey:Te.all}),P({items:o,totalItemCount:B,hasCheckmarks:F,hasIcons:R,defaultMenuItemRenderer:this._defaultMenuItemRenderer},this._onRenderMenuList)):null,j&&E(j,this._onRenderSubMenu)))}return null},t.prototype._isHidden=function(e){return!!e.hidden},t.prototype._onMenuOpened=function(){this._events.on(this._targetWindow,"resize",this.dismiss),this._shouldUpdateFocusOnMouseEvent=!this.props.delayUpdateFocusOnHover,this._gotMouseMove=!1,this.props.onMenuOpened&&this.props.onMenuOpened(this.props)},t.prototype._onMenuClosed=function(){this._events.off(this._targetWindow,"resize",this.dismiss),this._tryFocusPreviousActiveElement({containsFocus:this._focusingPreviousElement,originalElement:this._previousActiveElement}),this.props.onMenuDismissed&&this.props.onMenuDismissed(this.props),this._shouldUpdateFocusOnMouseEvent=!this.props.delayUpdateFocusOnHover,this.setState({expandedByMouseClick:void 0,dismissedMenuItemKey:void 0,expandedMenuItemKey:void 0,submenuTarget:void 0})},t.prototype._getFocusZoneDirection=function(){var e=this.props.focusZoneProps;return e&&void 0!==e.direction?e.direction:le.vertical},t.prototype._onRenderSubMenu=function(e,t){throw Error("ContextualMenuBase: onRenderSubMenu callback is null or undefined. Please ensure to set `onRenderSubMenu` property either manually or with `styled` helper.")},t.prototype._renderSectionItem=function(e,t,n,o,r){var i=this,a=e.sectionProps;if(a){var s,c;if(a.title){var l=this._id+a.title.replace(/\s/g,""),u={key:"section-"+a.title+"-title",itemType:Qe.Header,text:a.title,id:l};c={role:"group","aria-labelledby":l},s=this._renderHeaderMenuItem(u,t,n,o,r)}return a.items&&a.items.length>0?g.createElement("li",{role:"presentation",key:a.key||e.key||"section-"+n},g.createElement("div",Object(m.a)({},c),g.createElement("ul",{className:this._classNames.list},a.topDivider&&this._renderSeparator(n,t,!0,!0),s&&this._renderListItem(s,e.key||n,t,e.title),a.items.map((function(e,t){return i._renderMenuItem(e,t,t,a.items.length,o,r)})),a.bottomDivider&&this._renderSeparator(n,t,!1,!0)))):void 0}},t.prototype._renderListItem=function(e,t,n,o){return g.createElement("li",{role:"presentation",title:o,key:t,className:n.item},e)},t.prototype._renderSeparator=function(e,t,n,o){return o||e>0?g.createElement("li",{role:"separator",key:"separator-"+e+(void 0===n?"":n?"-top":"-bottom"),className:t.divider,"aria-hidden":"true"}):null},t.prototype._renderNormalItem=function(e,t,n,o,r,i,a){return e.onRender?e.onRender(Object(m.a)({"aria-posinset":o+1,"aria-setsize":r},e),this.dismiss):e.href?this._renderAnchorMenuItem(e,t,n,o,r,i,a):e.split&&dt(e)?this._renderSplitButton(e,t,n,o,r,i,a):this._renderButtonItem(e,t,n,o,r,i,a)},t.prototype._renderHeaderMenuItem=function(e,t,n,o,r){var i=this.props.contextualMenuItemAs,a=void 0===i?Un:i,s=e.itemProps,c=e.id,l=s&&Object(I.j)(s,I.h);return g.createElement("div",Object(m.a)({id:c,className:this._classNames.header},l,{style:e.style}),g.createElement(a,Object(m.a)({item:e,classNames:t,index:n,onCheckmarkClick:o?this._onItemClick:void 0,hasIcons:r},s)))},t.prototype._renderAnchorMenuItem=function(e,t,n,o,r,i,a){var s=this.props.contextualMenuItemAs,c=this.state.expandedMenuItemKey;return g.createElement(Wn,{item:e,classNames:t,index:n,focusableElementIndex:o,totalItemCount:r,hasCheckmarks:i,hasIcons:a,contextualMenuItemAs:s,onItemMouseEnter:this._onItemMouseEnterBase,onItemMouseLeave:this._onMouseItemLeave,onItemMouseMove:this._onItemMouseMoveBase,onItemMouseDown:this._onItemMouseDown,executeItemClick:this._executeItemClick,onItemClick:this._onAnchorClick,onItemKeyDown:this._onItemKeyDown,getSubMenuId:this._getSubMenuId,expandedMenuItemKey:c,openSubMenu:this._onItemSubMenuExpand,dismissSubMenu:this._onSubMenuDismiss,dismissMenu:this.dismiss})},t.prototype._renderButtonItem=function(e,t,n,o,r,i,a){var s=this.props.contextualMenuItemAs,c=this.state.expandedMenuItemKey;return g.createElement(qn,{item:e,classNames:t,index:n,focusableElementIndex:o,totalItemCount:r,hasCheckmarks:i,hasIcons:a,contextualMenuItemAs:s,onItemMouseEnter:this._onItemMouseEnterBase,onItemMouseLeave:this._onMouseItemLeave,onItemMouseMove:this._onItemMouseMoveBase,onItemMouseDown:this._onItemMouseDown,executeItemClick:this._executeItemClick,onItemClick:this._onItemClick,onItemClickBase:this._onItemClickBase,onItemKeyDown:this._onItemKeyDown,getSubMenuId:this._getSubMenuId,expandedMenuItemKey:c,openSubMenu:this._onItemSubMenuExpand,dismissSubMenu:this._onSubMenuDismiss,dismissMenu:this.dismiss})},t.prototype._renderSplitButton=function(e,t,n,o,r,i,a){var s=this.props.contextualMenuItemAs,c=this.state.expandedMenuItemKey;return g.createElement(Yn,{item:e,classNames:t,index:n,focusableElementIndex:o,totalItemCount:r,hasCheckmarks:i,hasIcons:a,contextualMenuItemAs:s,onItemMouseEnter:this._onItemMouseEnterBase,onItemMouseLeave:this._onMouseItemLeave,onItemMouseMove:this._onItemMouseMoveBase,onItemMouseDown:this._onItemMouseDown,executeItemClick:this._executeItemClick,onItemClick:this._onItemClick,onItemClickBase:this._onItemClickBase,onItemKeyDown:this._onItemKeyDown,openSubMenu:this._onItemSubMenuExpand,dismissSubMenu:this._onSubMenuDismiss,dismissMenu:this.dismiss,expandedMenuItemKey:c,onTap:this._onPointerAndTouchEvent})},t.prototype._isAltOrMeta=function(e){return e.which===ge.a.alt||"Meta"===e.key},t.prototype._shouldIgnoreMouseEvent=function(){return!this._isScrollIdle||!this._gotMouseMove},t.prototype._updateFocusOnMouseEvent=function(e,t,n){var o=this,r=n||t.currentTarget,i=this.props.subMenuHoverDelay,a=void 0===i?250:i;e.key!==this.state.expandedMenuItemKey&&(void 0!==this._enterTimerId&&(this._async.clearTimeout(this._enterTimerId),this._enterTimerId=void 0),void 0===this.state.expandedMenuItemKey&&r.focus(),dt(e)?(t.stopPropagation(),this._enterTimerId=this._async.setTimeout((function(){r.focus(),o.setState({expandedByMouseClick:!0}),o._onItemSubMenuExpand(e,r),o._enterTimerId=void 0}),a)):this._enterTimerId=this._async.setTimeout((function(){o._onSubMenuDismiss(t),r.focus(),o._enterTimerId=void 0}),a))},t.prototype._getSubmenuProps=function(){var e=this.state,t=e.submenuTarget,n=e.expandedMenuItemKey,o=this._findItemByKey(n),r=null;return o&&(r={items:Zn(o),target:t,onDismiss:this._onSubMenuDismiss,isSubMenu:!0,id:this.state.subMenuId,shouldFocusOnMount:!0,shouldFocusOnContainer:this.state.expandedByMouseClick,directionalHint:Object(T.a)(this.props.theme)?st.leftTopEdge:st.rightTopEdge,className:this.props.className,gapSpace:0,isBeakVisible:!1},o.subMenuProps&&Object(ot.a)(r,o.subMenuProps)),r},t.prototype._findItemByKey=function(e){var t=this.props.items;return this._findItemByKeyFromItems(e,t)},t.prototype._findItemByKeyFromItems=function(e,t){for(var n=0,o=t;n<o.length;n++){var r=o[n];if(r.itemType===Qe.Section&&r.sectionProps){var i=this._findItemByKeyFromItems(e,r.sectionProps.items);if(i)return i}else if(r.key&&r.key===e)return r}},t.prototype._setTargetWindowAndElement=function(e){var t=this._host;if(e)if("string"==typeof e){var n=Object(Fe.a)(t);this._target=n?n.querySelector(e):null,this._targetWindow=Object(j.a)(t)}else if(e.stopPropagation)this._targetWindow=Object(j.a)(e.target),this._target=e;else if(void 0===e.left&&void 0===e.x||void 0===e.top&&void 0===e.y)if(void 0!==e.current)this._target=e.current,this._targetWindow=Object(j.a)(this._target);else{var o=e;this._targetWindow=Object(j.a)(o),this._target=e}else this._targetWindow=Object(j.a)(t),this._target=e;else this._targetWindow=Object(j.a)(t)},t.defaultProps={items:[],shouldFocusOnMount:!0,gapSpace:0,directionalHint:st.bottomAutoEdge,beakWidth:16},Object(m.b)([St],t)}(g.Component),no={root:"ms-ContextualMenu",container:"ms-ContextualMenu-container",list:"ms-ContextualMenu-list",header:"ms-ContextualMenu-header",title:"ms-ContextualMenu-title",isopen:"is-open"};function oo(e){return g.createElement(Jn,Object(m.a)({},e))}var ro,io=Jn=Object(x.a)(to,(function(e){var t=e.className,n=e.theme,o=Object(b.R)(no,n),r=n.fonts,i=n.semanticColors,a=n.effects;return{root:[n.fonts.medium,o.root,o.isopen,{backgroundColor:i.menuBackground,minWidth:"180px"},t],container:[o.container,{selectors:{":focus":{outline:0}}}],list:[o.list,o.isopen,{listStyleType:"none",margin:"0",padding:"0"}],header:[o.header,r.small,{fontWeight:b.k.semibold,color:i.menuHeader,background:"none",backgroundColor:"transparent",border:"none",height:36,lineHeight:36,cursor:"default",padding:"0px 6px",userSelect:"none",textAlign:"left"}],title:[o.title,{fontSize:r.mediumPlus.fontSize,paddingRight:"14px",paddingLeft:"14px",paddingBottom:"5px",paddingTop:"5px",backgroundColor:i.menuItemBackgroundPressed}],subComponentStyles:{callout:{root:{boxShadow:a.elevation8}},menuItem:{}}}}),(function(){return{onRenderSubMenu:oo}}),{scope:"ContextualMenu"}),ao={msButton:"ms-Button",msButtonHasMenu:"ms-Button--hasMenu",msButtonIcon:"ms-Button-icon",msButtonMenuIcon:"ms-Button-menuIcon",msButtonLabel:"ms-Button-label",msButtonDescription:"ms-Button-description",msButtonScreenReaderText:"ms-Button-screenReaderText",msButtonFlexContainer:"ms-Button-flexContainer",msButtonTextContainer:"ms-Button-textContainer"},so=Object(y.c)((function(e,t,n,o,r,i,a,s,c,l,u){var d,p,h=Object(b.R)(ao,e||{}),f=l&&!u;return Object(b.cb)({root:[h.msButton,t.root,o,c&&["is-checked",t.rootChecked],f&&["is-expanded",t.rootExpanded,{selectors:(d={},d[":hover ."+h.msButtonIcon]=t.iconExpandedHovered,d[":hover ."+h.msButtonMenuIcon]=t.menuIconExpandedHovered||t.rootExpandedHovered,d[":hover"]=t.rootExpandedHovered,d)}],s&&[ao.msButtonHasMenu,t.rootHasMenu],a&&["is-disabled",t.rootDisabled],!a&&!f&&!c&&{selectors:(p={":hover":t.rootHovered},p[":hover ."+h.msButtonLabel]=t.labelHovered,p[":hover ."+h.msButtonIcon]=t.iconHovered,p[":hover ."+h.msButtonDescription]=t.descriptionHovered,p[":hover ."+h.msButtonMenuIcon]=t.menuIconHovered,p[":focus"]=t.rootFocused,p[":active"]=t.rootPressed,p[":active ."+h.msButtonIcon]=t.iconPressed,p[":active ."+h.msButtonDescription]=t.descriptionPressed,p[":active ."+h.msButtonMenuIcon]=t.menuIconPressed,p)},a&&c&&[t.rootCheckedDisabled],!a&&c&&{selectors:{":hover":t.rootCheckedHovered,":active":t.rootCheckedPressed}},n],flexContainer:[h.msButtonFlexContainer,t.flexContainer],textContainer:[h.msButtonTextContainer,t.textContainer],icon:[h.msButtonIcon,r,t.icon,f&&t.iconExpanded,c&&t.iconChecked,a&&t.iconDisabled],label:[h.msButtonLabel,t.label,c&&t.labelChecked,a&&t.labelDisabled],menuIcon:[h.msButtonMenuIcon,i,t.menuIcon,c&&t.menuIconChecked,a&&!u&&t.menuIconDisabled,!a&&!f&&!c&&{selectors:{":hover":t.menuIconHovered,":active":t.menuIconPressed}},f&&["is-expanded",t.menuIconExpanded]],description:[h.msButtonDescription,t.description,c&&t.descriptionChecked,a&&t.descriptionDisabled],screenReaderText:[h.msButtonScreenReaderText,t.screenReaderText]})})),co=Object(y.c)((function(e,t,n,o,r){return{root:Object(b.db)(e.splitButtonMenuButton,n&&[e.splitButtonMenuButtonExpanded],t&&[e.splitButtonMenuButtonDisabled],o&&!t&&[e.splitButtonMenuButtonChecked]),splitButtonContainer:Object(b.db)(e.splitButtonContainer,!t&&o&&[e.splitButtonContainerChecked,{selectors:{":hover":e.splitButtonContainerCheckedHovered}}],!t&&!o&&[{selectors:{":hover":e.splitButtonContainerHovered,":focus":e.splitButtonContainerFocused}}],t&&e.splitButtonContainerDisabled),icon:Object(b.db)(e.splitButtonMenuIcon,t&&e.splitButtonMenuIconDisabled,!t&&r&&e.splitButtonMenuIcon),flexContainer:Object(b.db)(e.splitButtonFlexContainer),divider:Object(b.db)(e.splitButtonDivider,(r||t)&&e.splitButtonDividerDisabled)}})),lo=function(e){function t(t){var n=e.call(this,t)||this;return n._buttonElement=g.createRef(),n._splitButtonContainer=g.createRef(),n._renderedVisibleMenu=!1,n._getMemoizedMenuButtonKeytipProps=Object(y.c)((function(e){return Object(m.a)(Object(m.a)({},e),{hasMenu:!0})})),n._onRenderIcon=function(e,t){var o=n.props.iconProps;if(o&&(void 0!==o.iconName||o.imageProps)){var r=o.className,i=o.imageProps,a=Object(m.d)(o,["className","imageProps"]);if(o.styles)return g.createElement(K,Object(m.a)({className:Object(z.a)(n._classNames.icon,r),imageProps:i},a));if(o.iconName)return g.createElement(V,Object(m.a)({className:Object(z.a)(n._classNames.icon,r)},a));if(i)return g.createElement(at,Object(m.a)({className:Object(z.a)(n._classNames.icon,r),imageProps:i},a))}return null},n._onRenderTextContents=function(){var e=n.props,t=e.text,o=e.children,r=e.secondaryText,i=void 0===r?n.props.description:r,a=e.onRenderText,s=void 0===a?n._onRenderText:a,c=e.onRenderDescription,l=void 0===c?n._onRenderDescription:c;return t||"string"==typeof o||i?g.createElement("span",{className:n._classNames.textContainer},s(n.props,n._onRenderText),l(n.props,n._onRenderDescription)):[s(n.props,n._onRenderText),l(n.props,n._onRenderDescription)]},n._onRenderText=function(){var e=n.props.text,t=n.props.children;return void 0===e&&"string"==typeof t&&(e=t),n._hasText()?g.createElement("span",{key:n._labelId,className:n._classNames.label,id:n._labelId},e):null},n._onRenderChildren=function(){var e=n.props.children;return"string"==typeof e?null:e},n._onRenderDescription=function(e){var t=e.secondaryText,o=void 0===t?n.props.description:t;return o?g.createElement("span",{key:n._descriptionId,className:n._classNames.description,id:n._descriptionId},o):null},n._onRenderAriaDescription=function(){var e=n.props.ariaDescription;return e?g.createElement("span",{className:n._classNames.screenReaderText,id:n._ariaDescriptionId},e):null},n._onRenderMenuIcon=function(e){var t=n.props.menuIconProps;return g.createElement(V,Object(m.a)({iconName:"ChevronDown"},t,{className:n._classNames.menuIcon}))},n._onRenderMenu=function(e){var t=n.props.persistMenu,o=n.state.menuHidden,r=n.props.menuAs||io;return e.ariaLabel||e.labelElementId||!n._hasText()||(e=Object(m.a)(Object(m.a)({},e),{labelElementId:n._labelId})),g.createElement(r,Object(m.a)({id:n._labelId+"-menu",directionalHint:st.bottomLeftEdge},e,{shouldFocusOnContainer:n._menuShouldFocusOnContainer,shouldFocusOnMount:n._menuShouldFocusOnMount,hidden:t?o:void 0,className:Object(z.a)("ms-BaseButton-menuhost",e.className),target:n._isSplitButton?n._splitButtonContainer.current:n._buttonElement.current,onDismiss:n._onDismissMenu}))},n._onDismissMenu=function(e){var t=n.props.menuProps;t&&t.onDismiss&&t.onDismiss(e),e&&e.defaultPrevented||n._dismissMenu()},n._dismissMenu=function(){n._menuShouldFocusOnMount=void 0,n._menuShouldFocusOnContainer=void 0,n.setState({menuHidden:!0})},n._openMenu=function(e,t){void 0===t&&(t=!0),n.props.menuProps&&(n._menuShouldFocusOnContainer=e,n._menuShouldFocusOnMount=t,n._renderedVisibleMenu=!0,n.setState({menuHidden:!1}))},n._onToggleMenu=function(e){var t=!0;n.props.menuProps&&!1===n.props.menuProps.shouldFocusOnMount&&(t=!1),n.state.menuHidden?n._openMenu(e,t):n._dismissMenu()},n._onSplitContainerFocusCapture=function(e){var t=n._splitButtonContainer.current;!t||e.target&&Object(Me.a)(e.target,t)||t.focus()},n._onSplitButtonPrimaryClick=function(e){n.state.menuHidden||n._dismissMenu(),!n._processingTouch&&n.props.onClick?n.props.onClick(e):n._processingTouch&&n._onMenuClick(e)},n._onKeyDown=function(e){!n.props.disabled||e.which!==ge.a.enter&&e.which!==ge.a.space?n.props.disabled||(n.props.menuProps?n._onMenuKeyDown(e):void 0!==n.props.onKeyDown&&n.props.onKeyDown(e)):(e.preventDefault(),e.stopPropagation())},n._onKeyUp=function(e){n.props.disabled||void 0===n.props.onKeyUp||n.props.onKeyUp(e)},n._onKeyPress=function(e){n.props.disabled||void 0===n.props.onKeyPress||n.props.onKeyPress(e)},n._onMouseUp=function(e){n.props.disabled||void 0===n.props.onMouseUp||n.props.onMouseUp(e)},n._onMouseDown=function(e){n.props.disabled||void 0===n.props.onMouseDown||n.props.onMouseDown(e)},n._onClick=function(e){n.props.disabled||(n.props.menuProps?n._onMenuClick(e):void 0!==n.props.onClick&&n.props.onClick(e))},n._onSplitButtonContainerKeyDown=function(e){e.which===ge.a.enter||e.which===ge.a.space?n._buttonElement.current&&(n._buttonElement.current.click(),e.preventDefault(),e.stopPropagation()):n._onMenuKeyDown(e)},n._onMenuKeyDown=function(e){if(!n.props.disabled){n.props.onKeyDown&&n.props.onKeyDown(e);var t=e.which===ge.a.up,o=e.which===ge.a.down;if(!e.defaultPrevented&&n._isValidMenuOpenKey(e)){var r=n.props.onMenuClick;r&&r(e,n.props),n._onToggleMenu(!1),e.preventDefault(),e.stopPropagation()}e.altKey||e.metaKey||!t&&!o||!n.state.menuHidden&&n.props.menuProps&&((void 0!==n._menuShouldFocusOnMount?n._menuShouldFocusOnMount:n.props.menuProps.shouldFocusOnMount)||(e.preventDefault(),e.stopPropagation(),n._menuShouldFocusOnMount=!0,n.forceUpdate()))}},n._onTouchStart=function(){n._isSplitButton&&n._splitButtonContainer.current&&!("onpointerdown"in n._splitButtonContainer.current)&&n._handleTouchAndPointerEvent()},n._onMenuClick=function(e){var t=n.props.onMenuClick;if(t&&t(e,n.props),!e.defaultPrevented){var o=0!==e.nativeEvent.detail||"mouse"===e.nativeEvent.pointerType;n._onToggleMenu(o),e.preventDefault(),e.stopPropagation()}},Object(be.a)(n),n._async=new ye.a(n),n._events=new Ve.a(n),Object(tt.a)("BaseButton",t,["menuProps","onClick"],"split",n.props.split),Object(nt.a)("BaseButton",t,{rootProps:void 0,description:"secondaryText",toggled:"checked"}),n._labelId=Object(Pe.a)(),n._descriptionId=Object(Pe.a)(),n._ariaDescriptionId=Object(Pe.a)(),n.state={menuHidden:!0},n}return Object(m.c)(t,e),Object.defineProperty(t.prototype,"_isSplitButton",{get:function(){return!!this.props.menuProps&&!!this.props.onClick&&!0===this.props.split},enumerable:!0,configurable:!0}),t.prototype.render=function(){var e,t=this.props,n=t.ariaDescription,o=t.ariaLabel,r=t.ariaHidden,i=t.className,a=t.disabled,s=t.allowDisabledFocus,c=t.primaryDisabled,l=t.secondaryText,u=void 0===l?this.props.description:l,d=t.href,p=t.iconProps,h=t.menuIconProps,f=t.styles,m=t.checked,g=t.variantClassName,b=t.theme,y=t.toggle,v=t.getClassNames,_=t.role,S=this.state.menuHidden,C=a||c;this._classNames=v?v(b,i,g,p&&p.className,h&&h.className,C,m,!S,!!this.props.menuProps,this.props.split,!!s):so(b,f,i,g,p&&p.className,h&&h.className,C,!!this.props.menuProps,m,!S,this.props.split);var x=this._ariaDescriptionId,w=this._labelId,T=this._descriptionId,k=!C&&!!d,O=k?"a":"button",E=Object(I.j)(Object(ot.a)(k?{}:{type:"button"},this.props.rootProps,this.props),k?I.a:I.e,["disabled"]),N=o||E["aria-label"],P=void 0;n?P=x:u&&this.props.onRenderDescription!==rt.b?P=T:E["aria-describedby"]&&(P=E["aria-describedby"]);var D=void 0;N||(E["aria-labelledby"]?D=E["aria-labelledby"]:P&&(D=this._hasText()?w:void 0));var A=!(!1===this.props["data-is-focusable"]||a&&!s||this._isSplitButton),R="menuitemcheckbox"===_||"checkbox"===_,M=R||!0===y?!!m:void 0,F=Object(ot.a)(E,((e={className:this._classNames.root,ref:this._buttonElement,disabled:C&&!s,onKeyDown:this._onKeyDown,onKeyPress:this._onKeyPress,onKeyUp:this._onKeyUp,onMouseDown:this._onMouseDown,onMouseUp:this._onMouseUp,onClick:this._onClick,"aria-label":N,"aria-labelledby":D,"aria-describedby":P,"aria-disabled":C,"data-is-focusable":A})[R?"aria-checked":"aria-pressed"]=M,e));return r&&(F["aria-hidden"]=!0),this._isSplitButton?this._onRenderSplitButtonContent(O,F):(this.props.menuProps&&Object(ot.a)(F,{"aria-expanded":!S,"aria-owns":S?null:this._labelId+"-menu","aria-haspopup":!0}),this._onRenderContent(O,F))},t.prototype.componentDidMount=function(){this._isSplitButton&&this._splitButtonContainer.current&&("onpointerdown"in this._splitButtonContainer.current&&this._events.on(this._splitButtonContainer.current,"pointerdown",this._onPointerDown,!0),"onpointerup"in this._splitButtonContainer.current&&this.props.onPointerUp&&this._events.on(this._splitButtonContainer.current,"pointerup",this.props.onPointerUp,!0))},t.prototype.componentDidUpdate=function(e,t){this.props.onAfterMenuDismiss&&!t.menuHidden&&this.state.menuHidden&&this.props.onAfterMenuDismiss()},t.prototype.componentWillUnmount=function(){this._async.dispose(),this._events.dispose()},t.prototype.focus=function(){this._isSplitButton&&this._splitButtonContainer.current?this._splitButtonContainer.current.focus():this._buttonElement.current&&this._buttonElement.current.focus()},t.prototype.dismissMenu=function(){this._dismissMenu()},t.prototype.openMenu=function(e,t){this._openMenu(e,t)},t.prototype._onRenderContent=function(e,t){var n=this,o=this.props,r=e,i=o.menuIconProps,a=o.menuProps,s=o.onRenderIcon,c=void 0===s?this._onRenderIcon:s,l=o.onRenderAriaDescription,u=void 0===l?this._onRenderAriaDescription:l,d=o.onRenderChildren,p=void 0===d?this._onRenderChildren:d,h=o.onRenderMenu,f=void 0===h?this._onRenderMenu:h,b=o.onRenderMenuIcon,y=void 0===b?this._onRenderMenuIcon:b,v=o.disabled,_=o.keytipProps;_&&a&&(_=this._getMemoizedMenuButtonKeytipProps(_));var S=function(e){return g.createElement(r,Object(m.a)({},t,e),g.createElement("span",{className:n._classNames.flexContainer,"data-automationid":"splitbuttonprimary"},c(o,n._onRenderIcon),n._onRenderTextContents(),u(o,n._onRenderAriaDescription),p(o,n._onRenderChildren),!n._isSplitButton&&(a||i||n.props.onRenderMenuIcon)&&y(n.props,n._onRenderMenuIcon),a&&!a.doNotLayer&&n._shouldRenderMenu()&&f(a,n._onRenderMenu)))},C=_?g.createElement($e,{keytipProps:this._isSplitButton?void 0:_,ariaDescribedBy:t["aria-describedby"],disabled:v},(function(e){return S(e)})):S();return a&&a.doNotLayer?g.createElement("span",{style:{display:"inline-block"}},C,this._shouldRenderMenu()&&f(a,this._onRenderMenu)):g.createElement(g.Fragment,null,C,g.createElement(it.a,null))},t.prototype._shouldRenderMenu=function(){var e=this.state.menuHidden,t=this.props,n=t.persistMenu,o=t.renderPersistedMenuHiddenOnMount;return!e||!(!n||!this._renderedVisibleMenu&&!o)},t.prototype._hasText=function(){return null!==this.props.text&&(void 0!==this.props.text||"string"==typeof this.props.children)},t.prototype._onRenderSplitButtonContent=function(e,t){var n=this,o=this.props,r=o.styles,i=void 0===r?{}:r,a=o.disabled,s=o.allowDisabledFocus,c=o.checked,l=o.getSplitButtonClassNames,u=o.primaryDisabled,d=o.menuProps,p=o.toggle,h=o.role,f=o.primaryActionButtonProps,b=this.props.keytipProps,y=this.state.menuHidden,v=l?l(!!a,!y,!!c,!!s):i&&co(i,!!a,!y,!!c,!!u);Object(ot.a)(t,{onClick:void 0,onPointerDown:void 0,onPointerUp:void 0,tabIndex:-1,"data-is-focusable":!1});var _=t.ariaDescription;b&&d&&(b=this._getMemoizedMenuButtonKeytipProps(b));var S=Object(I.j)(t,[],["disabled"]);f&&Object(ot.a)(t,f);var C=function(o){return g.createElement("div",Object(m.a)({},S,{"data-ktp-target":o?o["data-ktp-target"]:void 0,role:h||"button","aria-disabled":a,"aria-haspopup":!0,"aria-expanded":!y,"aria-pressed":p?!!c:void 0,"aria-describedby":Object(Ue.a)(_,o?o["aria-describedby"]:void 0),className:v&&v.splitButtonContainer,onKeyDown:n._onSplitButtonContainerKeyDown,onTouchStart:n._onTouchStart,ref:n._splitButtonContainer,"data-is-focusable":!0,onClick:a||u?void 0:n._onSplitButtonPrimaryClick,tabIndex:!a||s?0:void 0,"aria-roledescription":t["aria-roledescription"],onFocusCapture:n._onSplitContainerFocusCapture}),g.createElement("span",{style:{display:"flex"}},n._onRenderContent(e,t),n._onRenderSplitButtonMenuButton(v,o),n._onRenderSplitButtonDivider(v)))};return b?g.createElement($e,{keytipProps:b,disabled:a},(function(e){return C(e)})):C()},t.prototype._onRenderSplitButtonDivider=function(e){return e&&e.divider?g.createElement("span",{className:e.divider,"aria-hidden":!0,onClick:function(e){e.stopPropagation()}}):null},t.prototype._onRenderSplitButtonMenuButton=function(e,n){var o=this.props,r=o.allowDisabledFocus,i=o.checked,a=o.disabled,s=o.splitButtonMenuProps,c=o.splitButtonAriaLabel,l=this.state.menuHidden,u=this.props.menuIconProps;void 0===u&&(u={iconName:"ChevronDown"});var d=Object(m.a)(Object(m.a)({},s),{styles:e,checked:i,disabled:a,allowDisabledFocus:r,onClick:this._onMenuClick,menuProps:void 0,iconProps:Object(m.a)(Object(m.a)({},u),{className:this._classNames.menuIcon}),ariaLabel:c,"aria-haspopup":!0,"aria-expanded":!l,"data-is-focusable":!1});return g.createElement(t,Object(m.a)({},d,{"data-ktp-execute-target":n?n["data-ktp-execute-target"]:n,onMouseDown:this._onMouseDown,tabIndex:-1}))},t.prototype._onPointerDown=function(e){var t=this.props.onPointerDown;t&&t(e),"touch"===e.pointerType&&(this._handleTouchAndPointerEvent(),e.preventDefault(),e.stopImmediatePropagation())},t.prototype._handleTouchAndPointerEvent=function(){var e=this;void 0!==this._lastTouchTimeoutId&&(this._async.clearTimeout(this._lastTouchTimeoutId),this._lastTouchTimeoutId=void 0),this._processingTouch=!0,this._lastTouchTimeoutId=this._async.setTimeout((function(){e._processingTouch=!1,e._lastTouchTimeoutId=void 0,e.focus()}),500)},t.prototype._isValidMenuOpenKey=function(e){return this.props.menuTriggerKeyCode?e.which===this.props.menuTriggerKeyCode:!!this.props.menuProps&&e.which===ge.a.down&&(e.altKey||e.metaKey)},t.defaultProps={baseClassName:"ms-Button",styles:{},split:!1},t}(g.Component),uo={outline:0},po=function(e){return{fontSize:e,margin:"0 4px",height:"16px",lineHeight:"16px",textAlign:"center",flexShrink:0}},ho=Object(y.c)((function(e){var t,n=e.semanticColors,o=e.effects,r=e.fonts,i=n.buttonBorder,a=n.disabledBackground,s=n.disabledText,c={left:-2,top:-2,bottom:-2,right:-2,border:"none",outlineColor:"ButtonText"};return{root:[Object(b.Q)(e,{inset:1,highContrastStyle:c,borderColor:"transparent"}),e.fonts.medium,{boxSizing:"border-box",border:"1px solid "+i,userSelect:"none",display:"inline-block",textDecoration:"none",textAlign:"center",cursor:"pointer",padding:"0 16px",borderRadius:o.roundedCorner2,selectors:{":active > *":{position:"relative",left:0,top:0}}}],rootDisabled:[Object(b.Q)(e,{inset:1,highContrastStyle:c,borderColor:"transparent"}),{backgroundColor:a,borderColor:a,color:s,cursor:"default",pointerEvents:"none",selectors:(t={":hover":uo,":focus":uo},t[b.l]={color:"grayText",borderColor:"grayText"},t)}],iconDisabled:{color:s},menuIconDisabled:{color:s},flexContainer:{display:"flex",height:"100%",flexWrap:"nowrap",justifyContent:"center",alignItems:"center"},description:{display:"block"},textContainer:{flexGrow:1,display:"block"},icon:po(r.mediumPlus.fontSize),menuIcon:po(r.small.fontSize),label:{margin:"0 4px",lineHeight:"100%",display:"block"},screenReaderText:b.Z}})),fo=Object(y.c)((function(e,t){var n,o,r,i,a,s,c,l,u,d,p=e.effects,h=e.palette,f=e.semanticColors,g={position:"absolute",width:1,right:31,top:8,bottom:8},y={splitButtonContainer:[Object(b.Q)(e,{highContrastStyle:{left:-2,top:-2,bottom:-2,right:-2,border:"none"},inset:2}),{display:"inline-flex",selectors:{".ms-Button--default":{borderTopRightRadius:"0",borderBottomRightRadius:"0",borderRight:"none"},".ms-Button--primary":{borderTopRightRadius:"0",borderBottomRightRadius:"0",border:"none",selectors:(n={},n[b.l]={color:"Window",backgroundColor:"WindowText",MsHighContrastAdjust:"none"},n)},".ms-Button--primary + .ms-Button":{border:"none"}}}],splitButtonContainerHovered:{selectors:{".ms-Button--primary":{selectors:(o={},o[b.l]={color:"Window",backgroundColor:"Highlight"},o)},".ms-Button.is-disabled":{color:f.buttonTextDisabled,selectors:(r={},r[b.l]={color:"GrayText",borderColor:"GrayText",backgroundColor:"Window"},r)}}},splitButtonContainerChecked:{selectors:{".ms-Button--primary":{selectors:(i={},i[b.l]={color:"Window",backgroundColor:"WindowText",MsHighContrastAdjust:"none"},i)}}},splitButtonContainerCheckedHovered:{selectors:{".ms-Button--primary":{selectors:(a={},a[b.l]={color:"Window",backgroundColor:"WindowText",MsHighContrastAdjust:"none"},a)}}},splitButtonContainerFocused:{outline:"none!important"},splitButtonMenuButton:{padding:6,height:"auto",boxSizing:"border-box",borderRadius:0,borderTopRightRadius:p.roundedCorner2,borderBottomRightRadius:p.roundedCorner2,border:"1px solid "+h.neutralSecondaryAlt,borderLeft:"none",outline:"transparent",userSelect:"none",display:"inline-block",textDecoration:"none",textAlign:"center",cursor:"pointer",verticalAlign:"top",width:32,marginLeft:-1,marginTop:0,marginRight:0,marginBottom:0},splitButtonDivider:Object(m.a)(Object(m.a)({},g),{selectors:(s={},s[b.l]={backgroundColor:"WindowText"},s)}),splitButtonDividerDisabled:Object(m.a)(Object(m.a)({},g),{selectors:(c={},c[b.l]={backgroundColor:"GrayText"},c)}),splitButtonMenuButtonDisabled:{pointerEvents:"none",border:"none",selectors:(l={":hover":{cursor:"default"},".ms-Button--primary":{selectors:(u={},u[b.l]={color:"GrayText",borderColor:"GrayText",backgroundColor:"Window"},u)}},l[b.l]={border:"1px solid GrayText",color:"GrayText",backgroundColor:"Window"},l)},splitButtonFlexContainer:{display:"flex",height:"100%",flexWrap:"nowrap",justifyContent:"center",alignItems:"center"},splitButtonContainerDisabled:{outline:"none",border:"none",selectors:(d={},d[b.l]={color:"GrayText",borderColor:"GrayText",backgroundColor:"Window"},d)}};return Object(b.H)(y,t)})),mo=Object(y.c)((function(e,t){var n,o=ho(e),r=fo(e),i=e.palette,a={root:{padding:"0 4px",width:"32px",height:"32px",backgroundColor:"transparent",border:"none",color:e.semanticColors.link},rootHovered:{color:i.themeDarkAlt,backgroundColor:i.neutralLighter,selectors:(n={},n[b.l]={borderColor:"Highlight",color:"Highlight"},n)},rootHasMenu:{width:"auto"},rootPressed:{color:i.themeDark,backgroundColor:i.neutralLight},rootExpanded:{color:i.themeDark,backgroundColor:i.neutralLight},rootChecked:{color:i.themeDark,backgroundColor:i.neutralLight},rootCheckedHovered:{color:i.themeDark,backgroundColor:i.neutralQuaternaryAlt},rootDisabled:{color:i.neutralTertiaryAlt}};return Object(b.H)(o,a,r,t)})),go=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(m.c)(t,e),t.prototype.render=function(){var e=this.props,t=e.styles,n=e.theme;return g.createElement(lo,Object(m.a)({},this.props,{variantClassName:"ms-Button--icon",styles:mo(n,t),onRenderText:rt.b,onRenderDescription:rt.b}))},Object(m.b)([Object(Sn.a)("IconButton",["theme","styles"],!0)],t)}(g.Component);!function(e){e[e.horizontal=0]="horizontal",e[e.vertical=1]="vertical"}(ro||(ro={}));var bo,yo=function(){var e={};return{getCachedMeasurement:function(t){if(t&&t.cacheKey&&e.hasOwnProperty(t.cacheKey))return e[t.cacheKey]},addMeasurementToCache:function(t,n){t.cacheKey&&(e[t.cacheKey]=n)}}},vo=function(e){void 0===e&&(e=yo());var t,n=e;function o(e,t){var o=n.getCachedMeasurement(e);if(void 0!==o)return o;var r=t();return n.addMeasurementToCache(e,r),r}function r(e,r,i){for(var a=e,s=o(e,i);s>t;){var c=r(a);if(void 0===c)return{renderedData:a,resizeDirection:void 0,dataToMeasure:void 0};if(void 0===(s=n.getCachedMeasurement(c)))return{dataToMeasure:c,resizeDirection:"shrink"};a=c}return{renderedData:a,resizeDirection:void 0,dataToMeasure:void 0}}return{getNextState:function(e,i,a,s){if(void 0!==s||void 0!==i.dataToMeasure){if(s){if(t&&i.renderedData&&!i.dataToMeasure)return Object(m.a)(Object(m.a)({},i),function(e,n,o,r){var i;return i=e>t?r?{resizeDirection:"grow",dataToMeasure:r(o)}:{resizeDirection:"shrink",dataToMeasure:n}:{resizeDirection:"shrink",dataToMeasure:o},t=e,Object(m.a)(Object(m.a)({},i),{measureContainer:!1})}(s,e.data,i.renderedData,e.onGrowData));t=s}var c=Object(m.a)(Object(m.a)({},i),{measureContainer:!1});return i.dataToMeasure&&(c="grow"===i.resizeDirection&&e.onGrowData?Object(m.a)(Object(m.a)({},c),function(e,i,a,s){for(var c=e,l=o(e,a);l<t;){var u=i(c);if(void 0===u)return{renderedData:c,resizeDirection:void 0,dataToMeasure:void 0};if(void 0===(l=n.getCachedMeasurement(u)))return{dataToMeasure:u};c=u}return Object(m.a)({resizeDirection:"shrink"},r(c,s,a))}(i.dataToMeasure,e.onGrowData,a,e.onReduceData)):Object(m.a)(Object(m.a)({},c),r(i.dataToMeasure,e.onReduceData,a))),c}},shouldRenderDataForMeasurement:function(e){return!(!e||void 0!==n.getCachedMeasurement(e))},getInitialResizeGroupState:function(e){return{dataToMeasure:Object(m.a)({},e),resizeDirection:"grow",measureContainer:!0}}}},_o=g.createContext({isMeasured:!1}),So={position:"fixed",visibility:"hidden"},Co={position:"relative"},xo=function(e){function t(t){var n=e.call(this,t)||this;return n._nextResizeGroupStateProvider=vo(),n._root=g.createRef(),n._initialHiddenDiv=g.createRef(),n._updateHiddenDiv=g.createRef(),n._hasRenderedContent=!1,n.state=n._nextResizeGroupStateProvider.getInitialResizeGroupState(n.props.data),Object(be.a)(n),n._async=new ye.a(n),n._events=new Ve.a(n),Object(nt.a)("ResizeGroup",t,{styles:"className"}),n}return Object(m.c)(t,e),t.prototype.render=function(){var e=this.props,t=e.className,n=e.onRenderData,o=this.state,r=o.dataToMeasure,i=o.renderedData,a=Object(I.j)(this.props,I.h,["data"]),s=this._nextResizeGroupStateProvider.shouldRenderDataForMeasurement(r),c=!this._hasRenderedContent&&s;return g.createElement("div",Object(m.a)({},a,{className:t,ref:this._root}),g.createElement("div",{style:Co},s&&!c&&g.createElement("div",{style:So,ref:this._updateHiddenDiv},g.createElement(_o.Provider,{value:{isMeasured:!0}},n(r))),g.createElement("div",{ref:this._initialHiddenDiv,style:c?So:void 0,"data-automation-id":"visibleContent"},c?n(r):i&&n(i))))},t.prototype.componentDidMount=function(){this._afterComponentRendered(this.props.direction),this._events.on(window,"resize",this._async.debounce(this._onResize,16,{leading:!0}))},t.prototype.UNSAFE_componentWillReceiveProps=function(e){this.setState({dataToMeasure:Object(m.a)({},e.data),resizeDirection:"grow",measureContainer:!0})},t.prototype.componentDidUpdate=function(e){this.state.renderedData&&(this._hasRenderedContent=!0,this.props.dataDidRender&&this.props.dataDidRender(this.state.renderedData)),this._afterComponentRendered(this.props.direction)},t.prototype.componentWillUnmount=function(){this._async.dispose(),this._events.dispose()},t.prototype.remeasure=function(){this._root.current&&this.setState({measureContainer:!0})},t.prototype._afterComponentRendered=function(e){var t=this;this._async.requestAnimationFrame((function(){var n=void 0;if(t.state.measureContainer&&t._root.current){var o=t._root.current.getBoundingClientRect();n=e&&e===ro.vertical?o.height:o.width}var r=t._nextResizeGroupStateProvider.getNextState(t.props,t.state,(function(){var n=t._hasRenderedContent?t._updateHiddenDiv:t._initialHiddenDiv;return n.current?e&&e===ro.vertical?n.current.scrollHeight:n.current.scrollWidth:0}),n);r&&t.setState(r)}))},t.prototype._onResize=function(){this._root.current&&this.setState({measureContainer:!0})},t}(g.Component),wo=xo,To=n(114);!function(e){e[e.Parent=0]="Parent",e[e.Self=1]="Self"}(bo||(bo={}));var ko,Io=Object(w.a)(),Oo=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._onRenderContent=function(e){return g.createElement("p",{className:t._classNames.subText},e.content)},t}return Object(m.c)(t,e),t.prototype.render=function(){var e=this.props,t=e.className,n=e.calloutProps,o=e.directionalHint,r=e.directionalHintForRTL,i=e.styles,a=e.id,s=e.maxWidth,c=e.onRenderContent,l=void 0===c?this._onRenderContent:c,u=e.targetElement,d=e.theme;return this._classNames=Io(i,{theme:d,className:t||n&&n.className,beakWidth:n&&n.beakWidth,gapSpace:n&&n.gapSpace,maxWidth:s}),g.createElement(Nn,Object(m.a)({target:u,directionalHint:o,directionalHintForRTL:r},n,Object(I.j)(this.props,I.h,["id"]),{className:this._classNames.root}),g.createElement("div",{className:this._classNames.content,id:a,role:"tooltip",onMouseEnter:this.props.onMouseEnter,onMouseLeave:this.props.onMouseLeave},l(this.props,this._onRenderContent)))},t.defaultProps={directionalHint:st.topCenter,maxWidth:"364px",calloutProps:{isBeakVisible:!0,beakWidth:16,gapSpace:0,setInitialFocus:!0,doNotLayer:!1}},t}(g.Component),Eo=Object(x.a)(Oo,(function(e){var t=e.className,n=e.beakWidth,o=void 0===n?16:n,r=e.gapSpace,i=void 0===r?0:r,a=e.maxWidth,s=e.theme,c=s.semanticColors,l=s.fonts,u=s.effects,d=-(Math.sqrt(o*o/2)+i);return{root:["ms-Tooltip",s.fonts.medium,b.a.fadeIn200,{background:c.menuBackground,boxShadow:u.elevation8,padding:"8px",maxWidth:a,selectors:{":after":{content:"''",position:"absolute",bottom:d,left:d,right:d,top:d,zIndex:0}}},t],content:["ms-Tooltip-content",l.small,{position:"relative",zIndex:1,color:c.menuItemText,wordWrap:"break-word",overflowWrap:"break-word",overflow:"hidden"}],subText:["ms-Tooltip-subtext",{fontSize:"inherit",fontWeight:"inherit",color:"inherit",margin:0}]}}),void 0,{scope:"Tooltip"});!function(e){e[e.zero=0]="zero",e[e.medium=1]="medium",e[e.long=2]="long"}(ko||(ko={}));var No,Po,Do=Object(w.a)(),Ao=function(e){function t(n){var o=e.call(this,n)||this;return o._tooltipHost=g.createRef(),o._defaultTooltipId=Object(Pe.a)("tooltip"),o.show=function(){o._toggleTooltip(!0)},o.dismiss=function(){o._hideTooltip()},o._getTargetElement=function(){if(o._tooltipHost.current){var e=o.props.overflowMode;if(void 0!==e)switch(e){case bo.Parent:return o._tooltipHost.current.parentElement;case bo.Self:return o._tooltipHost.current}return o._tooltipHost.current}},o._onTooltipMouseEnter=function(e){var n=o.props,r=n.overflowMode,i=n.delay;if(t._currentVisibleTooltip&&t._currentVisibleTooltip!==o&&t._currentVisibleTooltip.dismiss(),t._currentVisibleTooltip=o,void 0!==r){var a=o._getTargetElement();if(a&&!Object(To.b)(a))return}if(!e.target||!Object(Me.a)(e.target,o._getTargetElement()))if(o._clearDismissTimer(),o._clearOpenTimer(),i!==ko.zero){o.setState({isAriaPlaceholderRendered:!0});var s=o._getDelayTime(i);o._openTimerId=o._async.setTimeout((function(){o._toggleTooltip(!0)}),s)}else o._toggleTooltip(!0)},o._onTooltipMouseLeave=function(e){var n=o.props.closeDelay;o._clearDismissTimer(),o._clearOpenTimer(),n?o._dismissTimerId=o._async.setTimeout((function(){o._toggleTooltip(!1)}),n):o._toggleTooltip(!1),t._currentVisibleTooltip===o&&(t._currentVisibleTooltip=void 0)},o._onTooltipKeyDown=function(e){e.which===ge.a.escape&&o._hideTooltip()},o._clearDismissTimer=function(){o._async.clearTimeout(o._dismissTimerId)},o._clearOpenTimer=function(){o._async.clearTimeout(o._openTimerId)},o._hideTooltip=function(){o._clearOpenTimer(),o._clearDismissTimer(),o._toggleTooltip(!1)},o._toggleTooltip=function(e){o.state.isTooltipVisible!==e&&o.setState({isAriaPlaceholderRendered:!1,isTooltipVisible:e},(function(){return o.props.onTooltipToggle&&o.props.onTooltipToggle(e)}))},o._getDelayTime=function(e){switch(e){case ko.medium:return 300;case ko.long:return 500;default:return 0}},Object(be.a)(o),o.state={isAriaPlaceholderRendered:!1,isTooltipVisible:!1},o._async=new ye.a(o),o}return Object(m.c)(t,e),t.prototype.render=function(){var e=this.props,t=e.calloutProps,n=e.children,o=e.content,r=e.directionalHint,i=e.directionalHintForRTL,a=e.hostClassName,s=e.id,c=e.setAriaDescribedBy,l=void 0===c||c,u=e.tooltipProps,d=e.styles,p=e.theme;this._classNames=Do(d,{theme:p,className:a});var h=this.state,f=h.isAriaPlaceholderRendered,y=h.isTooltipVisible,v=s||this._defaultTooltipId,_=!!(o||u&&u.onRenderContent&&u.onRenderContent()),S=y&&_,C=l&&y&&_?v:void 0;return g.createElement("div",Object(m.a)({className:this._classNames.root,ref:this._tooltipHost},{onFocusCapture:this._onTooltipMouseEnter},{onBlurCapture:this._hideTooltip},{onMouseEnter:this._onTooltipMouseEnter,onMouseLeave:this._onTooltipMouseLeave,onKeyDown:this._onTooltipKeyDown,"aria-describedby":C}),n,S&&g.createElement(Eo,Object(m.a)({id:v,content:o,targetElement:this._getTargetElement(),directionalHint:r,directionalHintForRTL:i,calloutProps:Object(ot.a)({},t,{onDismiss:this._hideTooltip,onMouseEnter:this._onTooltipMouseEnter,onMouseLeave:this._onTooltipMouseLeave}),onMouseEnter:this._onTooltipMouseEnter,onMouseLeave:this._onTooltipMouseLeave},Object(I.j)(this.props,I.h),u)),f&&g.createElement("div",{id:v,style:b.Z},o))},t.prototype.componentWillUnmount=function(){t._currentVisibleTooltip&&t._currentVisibleTooltip===this&&(t._currentVisibleTooltip=void 0),this._async.dispose()},t.defaultProps={delay:ko.medium},t}(g.Component),Ro={root:"ms-TooltipHost",ariaPlaceholder:"ms-TooltipHost-aria-placeholder"},Mo=Object(x.a)(Ao,(function(e){var t=e.className,n=e.theme;return{root:[Object(b.R)(Ro,n).root,{display:"inline"},t]}}),void 0,{scope:"TooltipHost"}),Fo=Object(w.a)(),jo=function(){return null},Lo={styles:function(e){return{root:{selectors:{"&.is-disabled":{color:e.theme.semanticColors.bodyText}}}}}},Ho=function(e){function t(t){var n=e.call(this,t)||this;return n._focusZone=g.createRef(),n._onReduceData=function(e){var t=e.renderedItems,n=e.renderedOverflowItems,o=e.props.overflowIndex,r=t[o];if(r)return(t=Object(m.e)(t)).splice(o,1),n=Object(m.e)(n,[r]),Object(m.a)(Object(m.a)({},e),{renderedItems:t,renderedOverflowItems:n})},n._onGrowData=function(e){var t=e.renderedItems,n=e.renderedOverflowItems,o=e.props,r=o.overflowIndex,i=o.maxDisplayedItems,a=(n=Object(m.e)(n)).pop();if(a&&!(t.length>=i))return(t=Object(m.e)(t)).splice(r,0,a),Object(m.a)(Object(m.a)({},e),{renderedItems:t,renderedOverflowItems:n})},n._onRenderBreadcrumb=function(e){var t=e.props,o=t.ariaLabel,r=t.dividerAs,i=void 0===r?K:r,a=t.onRenderItem,s=void 0===a?n._onRenderItem:a,c=t.overflowAriaLabel,l=t.overflowIndex,u=t.onRenderOverflowIcon,d=e.renderedOverflowItems,p=e.renderedItems,h=d.map((function(e){var t=!(!e.onClick&&!e.href);return{name:e.text,key:e.key,onClick:e.onClick?n._onBreadcrumbClicked.bind(n,e):null,href:e.href,disabled:!t,itemProps:t?void 0:Lo}})),f=p.length-1,b=d&&0!==d.length,y=p.map((function(e,t){return g.createElement("li",{className:n._classNames.listItem,key:e.key||String(t)},s(e,n._onRenderItem),(t!==f||b&&t===l-1)&&g.createElement(i,{className:n._classNames.chevron,iconName:Object(T.a)(n.props.theme)?"ChevronLeft":"ChevronRight",item:e}))}));if(b){var v=u?{}:{iconName:"More"},_=u||jo;y.splice(l,0,g.createElement("li",{className:n._classNames.overflow,key:"overflow"},g.createElement(go,{className:n._classNames.overflowButton,iconProps:v,role:"button","aria-haspopup":"true",ariaLabel:c,onRenderMenuIcon:_,menuProps:{items:h,directionalHint:st.bottomLeftEdge}}),l!==f+1&&g.createElement(i,{className:n._classNames.chevron,iconName:Object(T.a)(n.props.theme)?"ChevronLeft":"ChevronRight",item:d[d.length-1]})))}var S=Object(I.j)(n.props,I.k,["className"]);return g.createElement("div",Object(m.a)({className:n._classNames.root,role:"navigation","aria-label":o},S),g.createElement(ze,Object(m.a)({componentRef:n._focusZone,direction:le.horizontal},n.props.focusZoneProps),g.createElement("ol",{className:n._classNames.list},y)))},n._onRenderItem=function(e){if(e.onClick||e.href)return g.createElement(et,{as:e.as,className:n._classNames.itemLink,href:e.href,"aria-current":e.isCurrentItem?"page":void 0,onClick:n._onBreadcrumbClicked.bind(n,e)},g.createElement(Mo,Object(m.a)({content:e.text,overflowMode:bo.Parent},n.props.tooltipHostProps),e.text));var t=e.as||"span";return g.createElement(t,{className:n._classNames.item},g.createElement(Mo,Object(m.a)({content:e.text,overflowMode:bo.Parent},n.props.tooltipHostProps),e.text))},n._onBreadcrumbClicked=function(e,t){e.onClick&&e.onClick(t,e)},Object(be.a)(n),n._validateProps(t),n}return Object(m.c)(t,e),t.prototype.focus=function(){this._focusZone.current&&this._focusZone.current.focus()},t.prototype.render=function(){this._validateProps(this.props);var e=this.props,t=e.onReduceData,n=void 0===t?this._onReduceData:t,o=e.onGrowData,r=void 0===o?this._onGrowData:o,i=e.overflowIndex,a=e.maxDisplayedItems,s=e.items,c=e.className,l=e.theme,u=e.styles,d=Object(m.e)(s),p=d.splice(i,d.length-a),h={props:this.props,renderedItems:d,renderedOverflowItems:p};return this._classNames=Fo(u,{className:c,theme:l}),g.createElement(wo,{onRenderData:this._onRenderBreadcrumb,onReduceData:n,onGrowData:r,data:h})},t.prototype._validateProps=function(e){var t=e.maxDisplayedItems,n=e.overflowIndex,o=e.items;if(n<0||t>1&&n>t-1||o.length>0&&n>o.length-1)throw new Error("Breadcrumb: overflowIndex out of range")},t.defaultProps={items:[],maxDisplayedItems:999,overflowIndex:0},t}(g.Component),Bo={root:"ms-Breadcrumb",list:"ms-Breadcrumb-list",listItem:"ms-Breadcrumb-listItem",chevron:"ms-Breadcrumb-chevron",overflow:"ms-Breadcrumb-overflow",overflowButton:"ms-Breadcrumb-overflowButton",itemLink:"ms-Breadcrumb-itemLink",item:"ms-Breadcrumb-item"},zo={whiteSpace:"nowrap",textOverflow:"ellipsis",overflow:"hidden"},Uo=Object(b.W)(0,b.t),Vo=Object(b.W)(b.x,b.s),Wo=Object(x.a)(Ho,(function(e){var t,n,o,r,i=e.className,a=e.theme,s=a.palette,c=a.semanticColors,l=a.fonts,u=Object(b.R)(Bo,a),d=c.menuItemBackgroundHovered,p=c.menuItemBackgroundPressed,h=s.neutralSecondary,f=b.k.regular,g=s.neutralPrimary,y=s.neutralPrimary,v=b.k.semibold,_=s.neutralSecondary,S=s.neutralSecondary,C={fontWeight:v,color:y},x={":hover":{color:g,backgroundColor:d,cursor:"pointer",selectors:(t={},t[b.l]={color:"Highlight"},t)},":active":{backgroundColor:p,color:g},"&:active:hover":{color:g,backgroundColor:p},"&:active, &:hover, &:active:hover":{textDecoration:"none"}},w={color:h,padding:"0 8px",lineHeight:36,fontSize:18,fontWeight:f};return{root:[u.root,l.medium,{margin:"11px 0 1px"},i],list:[u.list,{whiteSpace:"nowrap",padding:0,margin:0,display:"flex",alignItems:"stretch"}],listItem:[u.listItem,{listStyleType:"none",margin:"0",padding:"0",display:"flex",position:"relative",alignItems:"center",selectors:{"&:last-child .ms-Breadcrumb-itemLink":C,"&:last-child .ms-Breadcrumb-item":C}}],chevron:[u.chevron,{color:_,fontSize:l.small.fontSize,selectors:(n={},n[b.l]={color:"WindowText",MsHighContrastAdjust:"none"},n[Vo]={fontSize:8},n[Uo]={fontSize:8},n)}],overflow:[u.overflow,{position:"relative",display:"flex",alignItems:"center"}],overflowButton:[u.overflowButton,Object(b.Q)(a),zo,{fontSize:16,color:S,height:"100%",cursor:"pointer",selectors:Object(m.a)(Object(m.a)({},x),(o={},o[Uo]={padding:"4px 6px"},o[Vo]={fontSize:l.mediumPlus.fontSize},o))}],itemLink:[u.itemLink,Object(b.Q)(a),zo,Object(m.a)(Object(m.a)({},w),{selectors:Object(m.a)((r={":focus":{color:s.neutralDark}},r["."+Fn.a+" &:focus"]={outline:"none"},r),x)})],item:[u.item,Object(m.a)(Object(m.a)({},w),{selectors:{":hover":{cursor:"default"}}})]}}),void 0,{scope:"Breadcrumb"});!function(e){e[e.button=0]="button",e[e.anchor=1]="anchor"}(No||(No={})),function(e){e[e.normal=0]="normal",e[e.primary=1]="primary",e[e.hero=2]="hero",e[e.compound=3]="compound",e[e.command=4]="command",e[e.icon=5]="icon",e[e.default=6]="default"}(Po||(Po={}));var qo=n(35);function Go(e){var t,n,o,r,i,a=e.semanticColors,s=e.palette,c=a.buttonBackground,l=a.buttonBackgroundPressed,u=a.buttonBackgroundHovered,d=a.buttonText,p=a.buttonTextHovered,h=a.buttonTextChecked,f=a.buttonTextCheckedHovered;return{root:{backgroundColor:c,color:d},rootHovered:{backgroundColor:u,color:p,selectors:(t={},t[b.l]={borderColor:"Highlight",color:"Highlight"},t)},rootPressed:{backgroundColor:l,color:h},rootExpanded:{backgroundColor:l,color:h},rootChecked:{backgroundColor:l,color:h},rootCheckedHovered:{backgroundColor:l,color:f},rootDisabled:{selectors:(n={},n[b.l]={color:"GrayText",borderColor:"GrayText",backgroundColor:"Window"},n)},splitButtonContainer:{selectors:(o={},o[b.l]={border:"none"},o)},splitButtonMenuButton:{color:s.white,backgroundColor:"transparent",selectors:{":hover":{backgroundColor:s.neutralLight,selectors:(r={},r[b.l]={color:"Highlight"},r)}}},splitButtonMenuButtonDisabled:{backgroundColor:a.buttonBackgroundDisabled,selectors:{":hover":{backgroundColor:a.buttonBackgroundDisabled}}},splitButtonDivider:Object(m.a)(Object(m.a)({},{position:"absolute",width:1,right:31,top:8,bottom:8}),{backgroundColor:s.neutralTertiaryAlt,selectors:(i={},i[b.l]={backgroundColor:"WindowText"},i)}),splitButtonDividerDisabled:{backgroundColor:e.palette.neutralTertiaryAlt},splitButtonMenuButtonChecked:{backgroundColor:s.neutralQuaternaryAlt,selectors:{":hover":{backgroundColor:s.neutralQuaternaryAlt}}},splitButtonMenuButtonExpanded:{backgroundColor:s.neutralQuaternaryAlt,selectors:{":hover":{backgroundColor:s.neutralQuaternaryAlt}}},splitButtonMenuIcon:{color:a.buttonText},splitButtonMenuIconDisabled:{color:a.buttonTextDisabled}}}function Ko(e){var t,n,o,r,i,a,s,c,l,u=e.palette,d=e.semanticColors;return{root:{backgroundColor:d.primaryButtonBackground,border:"1px solid "+d.primaryButtonBackground,color:d.primaryButtonText,selectors:(t={},t[b.l]={color:"Window",backgroundColor:"WindowText",borderColor:"WindowText",MsHighContrastAdjust:"none"},t["."+Fn.a+" &:focus"]={selectors:{":after":{border:"none",outlineColor:u.white}}},t)},rootHovered:{backgroundColor:d.primaryButtonBackgroundHovered,border:"1px solid "+d.primaryButtonBackgroundHovered,color:d.primaryButtonTextHovered,selectors:(n={},n[b.l]={color:"Window",backgroundColor:"Highlight",borderColor:"Highlight"},n)},rootPressed:{backgroundColor:d.primaryButtonBackgroundPressed,border:"1px solid "+d.primaryButtonBackgroundPressed,color:d.primaryButtonTextPressed,selectors:(o={},o[b.l]={color:"Window",backgroundColor:"WindowText",borderColor:"WindowText",MsHighContrastAdjust:"none"},o)},rootExpanded:{backgroundColor:d.primaryButtonBackgroundPressed,color:d.primaryButtonTextPressed},rootChecked:{backgroundColor:d.primaryButtonBackgroundPressed,color:d.primaryButtonTextPressed},rootCheckedHovered:{backgroundColor:d.primaryButtonBackgroundPressed,color:d.primaryButtonTextPressed},rootDisabled:{selectors:(r={},r[b.l]={color:"GrayText",borderColor:"GrayText",backgroundColor:"Window"},r)},splitButtonContainer:{selectors:(i={},i[b.l]={border:"none"},i)},splitButtonDivider:Object(m.a)(Object(m.a)({},{position:"absolute",width:1,right:31,top:8,bottom:8}),{backgroundColor:u.white,selectors:(a={},a[b.l]={backgroundColor:"Window"},a)}),splitButtonMenuButton:{backgroundColor:d.primaryButtonBackground,color:d.primaryButtonText,selectors:(s={},s[b.l]={backgroundColor:"WindowText"},s[":hover"]={backgroundColor:d.primaryButtonBackgroundHovered,selectors:(c={},c[b.l]={color:"Highlight"},c)},s)},splitButtonMenuButtonDisabled:{backgroundColor:d.primaryButtonBackgroundDisabled,selectors:{":hover":{backgroundColor:d.primaryButtonBackgroundDisabled}}},splitButtonMenuButtonChecked:{backgroundColor:d.primaryButtonBackgroundPressed,selectors:{":hover":{backgroundColor:d.primaryButtonBackgroundPressed}}},splitButtonMenuButtonExpanded:{backgroundColor:d.primaryButtonBackgroundPressed,selectors:{":hover":{backgroundColor:d.primaryButtonBackgroundPressed}}},splitButtonMenuIcon:{color:d.primaryButtonText},splitButtonMenuIconDisabled:{color:u.neutralTertiary,selectors:(l={},l[b.l]={color:"GrayText"},l)}}}var Yo,Qo,$o,Zo,Xo=Object(y.c)((function(e,t,n){var o=ho(e),r=fo(e),i={root:{minWidth:"80px",height:"32px"},label:{fontWeight:b.k.semibold}};return Object(b.H)(o,i,n?Ko(e):Go(e),r,t)})),Jo=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(m.c)(t,e),t.prototype.render=function(){var e=this.props,t=e.primary,n=void 0!==t&&t,o=e.styles,r=e.theme;return g.createElement(lo,Object(m.a)({},this.props,{variantClassName:n?"ms-Button--primary":"ms-Button--default",styles:Xo(r,o,n),onRenderDescription:rt.b}))},Object(m.b)([Object(Sn.a)("DefaultButton",["theme","styles"],!0)],t)}(g.Component),er=Object(y.c)((function(e,t){var n,o=ho(e),r={root:{padding:"0 4px",height:"40px",color:e.palette.neutralPrimary,backgroundColor:"transparent",border:"1px solid transparent"},rootHovered:{color:e.palette.themePrimary,selectors:(n={},n[b.l]={borderColor:"Highlight",color:"Highlight"},n)},iconHovered:{color:e.palette.themePrimary},rootPressed:{color:e.palette.black},rootExpanded:{color:e.palette.themePrimary},iconPressed:{color:e.palette.themeDarker},rootDisabled:{color:e.palette.neutralTertiary,backgroundColor:"transparent",borderColor:"transparent"},rootChecked:{color:e.palette.black},iconChecked:{color:e.palette.themeDarker},flexContainer:{justifyContent:"flex-start"},icon:{color:e.palette.themeDarkAlt},iconDisabled:{color:"inherit"},menuIcon:{color:e.palette.neutralSecondary},textContainer:{flexGrow:0}};return Object(b.H)(o,r,t)})),tr=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(m.c)(t,e),t.prototype.render=function(){var e=this.props,t=e.styles,n=e.theme;return g.createElement(lo,Object(m.a)({},this.props,{variantClassName:"ms-Button--action ms-Button--command",styles:er(n,t),onRenderDescription:rt.b}))},Object(m.b)([Object(Sn.a)("ActionButton",["theme","styles"],!0)],t)}(g.Component),nr=Object(y.c)((function(e,t,n){var o,r,i,a,s,c=e.fonts,l=e.palette,u=ho(e),d=fo(e),p={root:{maxWidth:"280px",minHeight:"72px",height:"auto",padding:"16px 12px"},flexContainer:{flexDirection:"row",alignItems:"flex-start",minWidth:"100%",margin:""},textContainer:{textAlign:"left"},icon:{fontSize:"2em",lineHeight:"1em",height:"1em",margin:"0px 8px 0px 0px",flexBasis:"1em",flexShrink:"0"},label:{margin:"0 0 5px",lineHeight:"100%",fontWeight:b.k.semibold},description:[c.small,{lineHeight:"100%"}]},h={description:{color:l.neutralSecondary},descriptionHovered:{color:l.neutralDark},descriptionPressed:{color:"inherit"},descriptionChecked:{color:"inherit"},descriptionDisabled:{color:"inherit"}},f={description:{color:l.white,selectors:(o={},o[b.l]={backgroundColor:"WindowText",color:"Window",MsHighContrastAdjust:"none"},o)},descriptionHovered:{color:l.white,selectors:(r={},r[b.l]={backgroundColor:"Highlight",color:"Window"},r)},descriptionPressed:{color:"inherit",selectors:(i={},i[b.l]={color:"Window",backgroundColor:"WindowText",MsHighContrastAdjust:"none"},i)},descriptionChecked:{color:"inherit",selectors:(a={},a[b.l]={color:"Window",backgroundColor:"WindowText",MsHighContrastAdjust:"none"},a)},descriptionDisabled:{color:"inherit",selectors:(s={},s[b.l]={color:"inherit"},s)}};return Object(b.H)(u,p,n?Ko(e):Go(e),n?f:h,d,t)})),or=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(m.c)(t,e),t.prototype.render=function(){var e=this.props,t=e.primary,n=void 0!==t&&t,o=e.styles,r=e.theme;return g.createElement(lo,Object(m.a)({},this.props,{variantClassName:n?"ms-Button--compoundPrimary":"ms-Button--compound",styles:nr(r,o,n)}))},Object(m.b)([Object(Sn.a)("CompoundButton",["theme","styles"],!0)],t)}(g.Component),rr=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(m.c)(t,e),t.prototype.render=function(){return g.createElement(Jo,Object(m.a)({},this.props,{primary:!0,onRenderDescription:rt.b}))},Object(m.b)([Object(Sn.a)("PrimaryButton",["theme","styles"],!0)],t)}(g.Component),ir=function(e){function t(t){var n=e.call(this,t)||this;return Object(qo.b)("The Button component has been deprecated. Use specific variants instead. (PrimaryButton, DefaultButton, IconButton, ActionButton, etc.)"),n}return Object(m.c)(t,e),t.prototype.render=function(){var e=this.props;switch(e.buttonType){case Po.command:return g.createElement(tr,Object(m.a)({},e));case Po.compound:return g.createElement(or,Object(m.a)({},e));case Po.icon:return g.createElement(go,Object(m.a)({},e));case Po.primary:return g.createElement(rr,Object(m.a)({},e));default:return g.createElement(Jo,Object(m.a)({},e))}},t}(g.Component),ar=Object(y.c)((function(e,t,n,o){var r,i,a,s,c,l,u,d,p,h,f=ho(e),m=fo(e),g=e.palette,y=e.semanticColors,v={root:[Object(b.Q)(e,{inset:2,highContrastStyle:{left:4,top:4,bottom:4,right:4,border:"none"},borderColor:"transparent"}),e.fonts.medium,{minWidth:"40px",backgroundColor:g.white,color:g.neutralPrimary,padding:"0 4px",border:"none",borderRadius:0,selectors:(r={},r[b.l]={border:"none"},r)}],rootHovered:{backgroundColor:g.neutralLighter,color:g.neutralDark,selectors:(i={},i[b.l]={color:"Highlight"},i["."+ao.msButtonIcon]={color:g.themeDarkAlt},i["."+ao.msButtonMenuIcon]={color:g.neutralPrimary},i)},rootPressed:{backgroundColor:g.neutralLight,color:g.neutralDark,selectors:(a={},a["."+ao.msButtonIcon]={color:g.themeDark},a["."+ao.msButtonMenuIcon]={color:g.neutralPrimary},a)},rootChecked:{backgroundColor:g.neutralLight,color:g.neutralDark,selectors:(s={},s["."+ao.msButtonIcon]={color:g.themeDark},s["."+ao.msButtonMenuIcon]={color:g.neutralPrimary},s)},rootCheckedHovered:{backgroundColor:g.neutralQuaternaryAlt,selectors:(c={},c["."+ao.msButtonIcon]={color:g.themeDark},c["."+ao.msButtonMenuIcon]={color:g.neutralPrimary},c)},rootExpanded:{backgroundColor:g.neutralLight,color:g.neutralDark,selectors:(l={},l["."+ao.msButtonIcon]={color:g.themeDark},l["."+ao.msButtonMenuIcon]={color:g.neutralPrimary},l)},rootExpandedHovered:{backgroundColor:g.neutralQuaternaryAlt},rootDisabled:{backgroundColor:g.white,selectors:(u={},u["."+ao.msButtonIcon]={color:y.disabledBodySubtext},u)},splitButtonContainer:{height:"100%",selectors:(d={},d[b.l]={border:"none"},d)},splitButtonDivider:{backgroundColor:g.neutralTertiaryAlt},splitButtonMenuButton:{backgroundColor:g.white,border:"none",borderTopRightRadius:"0",borderBottomRightRadius:"0",color:g.neutralSecondary,selectors:{":hover":{backgroundColor:g.neutralLighter,color:g.neutralDark,selectors:(p={},p[b.l]={color:"Highlight"},p["."+ao.msButtonIcon]={color:g.neutralPrimary},p)},":active":{backgroundColor:g.neutralLight,selectors:(h={},h["."+ao.msButtonIcon]={color:g.neutralPrimary},h)}}},splitButtonMenuButtonDisabled:{backgroundColor:g.white},splitButtonMenuButtonChecked:{backgroundColor:g.neutralLight,color:g.neutralDark,selectors:{":hover":{backgroundColor:g.neutralQuaternaryAlt}}},splitButtonMenuButtonExpanded:{backgroundColor:g.neutralLight,color:g.black,selectors:{":hover":{backgroundColor:g.neutralQuaternaryAlt}}},splitButtonMenuIcon:{color:g.neutralPrimary},splitButtonMenuIconDisabled:{color:g.neutralTertiary},label:{fontWeight:"normal"},icon:{color:g.themePrimary},menuIcon:{color:g.neutralSecondary}};return Object(b.H)(f,m,v,t)})),sr=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(m.c)(t,e),t.prototype.render=function(){var e=this.props,t=e.styles,n=e.theme;return g.createElement(lo,Object(m.a)({},this.props,{variantClassName:"ms-Button--commandBar",styles:ar(n,t),onRenderDescription:rt.b}))},Object(m.b)([Object(Sn.a)("CommandBarButton",["theme","styles"],!0)],t)}(g.Component),cr=tr,lr=Object(y.c)((function(e,t){return Object(b.H)({root:[Object(b.Q)(e,{inset:1,highContrastStyle:{outlineOffset:"-4px",outline:"1px solid Window"},borderColor:"transparent"}),{height:24}]},t)})),ur=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(m.c)(t,e),t.prototype.render=function(){var e=this.props,t=e.styles,n=e.theme;return g.createElement(Jo,Object(m.a)({},this.props,{styles:lr(n,t),onRenderDescription:rt.b}))},Object(m.b)([Object(Sn.a)("MessageBarButton",["theme","styles"],!0)],t)}(g.Component);!function(e){e[e.Sunday=0]="Sunday",e[e.Monday=1]="Monday",e[e.Tuesday=2]="Tuesday",e[e.Wednesday=3]="Wednesday",e[e.Thursday=4]="Thursday",e[e.Friday=5]="Friday",e[e.Saturday=6]="Saturday"}(Yo||(Yo={})),function(e){e[e.January=0]="January",e[e.February=1]="February",e[e.March=2]="March",e[e.April=3]="April",e[e.May=4]="May",e[e.June=5]="June",e[e.July=6]="July",e[e.August=7]="August",e[e.September=8]="September",e[e.October=9]="October",e[e.November=10]="November",e[e.December=11]="December"}(Qo||(Qo={})),function(e){e[e.FirstDay=0]="FirstDay",e[e.FirstFullWeek=1]="FirstFullWeek",e[e.FirstFourDayWeek=2]="FirstFourDayWeek"}($o||($o={})),function(e){e[e.Day=0]="Day",e[e.Week=1]="Week",e[e.Month=2]="Month",e[e.WorkWeek=3]="WorkWeek"}(Zo||(Zo={}));var dr=n(115),pr=7,hr=12;function fr(e,t){var n=new Date(e.getTime());return n.setDate(n.getDate()+t),n}function mr(e,t){return fr(e,t*pr)}function gr(e,t){var n=new Date(e.getTime()),o=n.getMonth()+t;return n.setMonth(o),n.getMonth()!==(o%hr+hr)%hr&&(n=fr(n,-n.getDate())),n}function br(e,t){var n=new Date(e.getTime());return n.setFullYear(e.getFullYear()+t),n.getMonth()!==(e.getMonth()%hr+hr)%hr&&(n=fr(n,-n.getDate())),n}function yr(e){return new Date(e.getFullYear(),e.getMonth(),1,0,0,0,0)}function vr(e){return new Date(e.getFullYear(),e.getMonth()+1,0,0,0,0,0)}function _r(e,t){return gr(e,t-e.getMonth())}function Sr(e,t){return!e&&!t||!(!e||!t)&&e.getFullYear()===t.getFullYear()&&e.getMonth()===t.getMonth()&&e.getDate()===t.getDate()}function Cr(e,t){return Ir(e)-Ir(t)}function xr(e,t,n,o,r){void 0===r&&(r=1);var i,a=new Array,s=null;switch(o||(o=[Yo.Monday,Yo.Tuesday,Yo.Wednesday,Yo.Thursday,Yo.Friday]),r=Math.max(r,1),t){case Zo.Day:s=fr(i=kr(e),r);break;case Zo.Week:case Zo.WorkWeek:i=function(e,t){var n=t-e.getDay();return n>0&&(n-=pr),fr(e,n)}(kr(e),n),s=fr(i,pr);break;case Zo.Month:s=gr(i=new Date(e.getFullYear(),e.getMonth(),1),1);break;default:throw new Error("Unexpected object: "+t)}var c=i;do{(t!==Zo.WorkWeek||-1!==o.indexOf(c.getDay()))&&a.push(c),c=fr(c,1)}while(!Sr(c,s));return a}function wr(e,t){for(var n=0,o=t;n<o.length;n++)if(Sr(e,o[n]))return!0;return!1}function Tr(e,t,n){switch(n){case $o.FirstFullWeek:return Or(e,t,pr);case $o.FirstFourDayWeek:return Or(e,t,4);default:return function(e,t){var n=Er(e)-1,o=(e.getDay()-n%pr-t+2*pr)%pr;return Math.floor((n+o)/pr+1)}(e,t)}}function kr(e){return new Date(e.getFullYear(),e.getMonth(),e.getDate())}function Ir(e){return e.getDate()+(e.getMonth()<<5)+(e.getFullYear()<<9)}function Or(e,t,n){var o=Er(e)-1,r=e.getDay()-o%pr,i=Er(new Date(e.getFullYear()-1,Qo.December,31))-1,a=(t-r+2*pr)%pr;0!==a&&a>=n&&(a-=pr);var s=o-a;return s<0&&(0!=(a=(t-(r-=i%pr)+2*pr)%pr)&&a+1>=n&&(a-=pr),s=i-a),Math.floor(s/pr+1)}function Er(e){for(var t=e.getMonth(),n=e.getFullYear(),o=0,r=0;r<t;r++)o+=Nr(r+1,n);return o+e.getDate()}function Nr(e,t){return new Date(t,e,0).getDate()}var Pr=n(7);Object(Pr.a)([{rawString:".root_4cbef05b{-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-box-shadow:none;box-shadow:none;margin:0;padding:0}.root_4cbef05b *{overflow:visible}.root_4cbef05b ::-moz-focus-inner{border:0}.root_4cbef05b *{outline:transparent}.root_4cbef05b *{position:relative}.ms-Fabric--isFocusVisible .root_4cbef05b :focus:after{content:'';position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;border:1px solid "},{theme:"neutralSecondary",defaultValue:"#605e5c"},{rawString:"}.picker_4cbef05b{color:"},{theme:"black",defaultValue:"#000000"},{rawString:";font-size:14px;position:relative}html[dir=ltr] .picker_4cbef05b{text-align:left}html[dir=rtl] .picker_4cbef05b{text-align:right}.holder_4cbef05b{-webkit-overflow-scrolling:touch;-webkit-box-sizing:border-box;box-sizing:border-box;display:none}.picker_4cbef05b.pickerIsOpened_4cbef05b .holder_4cbef05b{-webkit-box-sizing:border-box;box-sizing:border-box;display:inline-block}.pickerIsOpened_4cbef05b{position:relative}.frame_4cbef05b{position:relative}.wrap_4cbef05b{min-height:212px;padding:12px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-sizing:content-box;box-sizing:content-box}.wrap_4cbef05b.goTodaySpacing_4cbef05b{min-height:228px}.dayPicker_4cbef05b{display:block}.header_4cbef05b{position:relative;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;height:28px;line-height:44px;width:100%}.divider_4cbef05b{top:0;margin-top:-12px;margin-bottom:-12px}html[dir=ltr] .divider_4cbef05b{border-right:1px solid "},{theme:"neutralLight",defaultValue:"#edebe9"},{rawString:"}html[dir=rtl] .divider_4cbef05b{border-left:1px solid "},{theme:"neutralLight",defaultValue:"#edebe9"},{rawString:"}.decade_4cbef05b,.monthAndYear_4cbef05b,.year_4cbef05b{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;font-size:14px;font-weight:400;font-weight:600;color:"},{theme:"neutralPrimary",defaultValue:"#323130"},{rawString:";padding:0 5px}.currentDecade_4cbef05b:hover,.currentYear_4cbef05b:hover,.monthAndYear_4cbef05b:hover{cursor:default}.table_4cbef05b{text-align:center;border-collapse:collapse;border-spacing:0;table-layout:fixed;font-size:inherit;margin-top:4px;width:197px}.table_4cbef05b td{margin:0;padding:0}.dayWrapper_4cbef05b,.weekday_4cbef05b{width:28px;height:28px;padding:0;line-height:28px;font-size:12px;font-size:15px;font-weight:400;color:"},{theme:"neutralPrimary",defaultValue:"#323130"},{rawString:";-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;cursor:default}.dayWrapper_4cbef05b ::-moz-focus-inner,.weekday_4cbef05b ::-moz-focus-inner{border:0}.dayWrapper_4cbef05b *,.weekday_4cbef05b *{outline:transparent}.dayWrapper_4cbef05b *,.weekday_4cbef05b *{position:relative}.ms-Fabric--isFocusVisible .dayWrapper_4cbef05b :focus:after,.ms-Fabric--isFocusVisible .weekday_4cbef05b :focus:after{content:'';position:absolute;top:-2px;right:-2px;bottom:-2px;left:-2px;pointer-events:none;border:1px solid "},{theme:"neutralSecondary",defaultValue:"#605e5c"},{rawString:"}.day_4cbef05b{width:24px;height:24px;border-radius:2px;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;border:none;padding:0;background-color:transparent;line-height:100%;font-size:inherit;color:inherit;font-weight:inherit}@media screen and (-ms-high-contrast:active){.daySelection_4cbef05b .day_4cbef05b:active,.daySelection_4cbef05b .day_4cbef05b:hover{outline:1px solid highlight}}@media screen and (-ms-high-contrast:active){.daySelection_4cbef05b .day_4cbef05b:active{color:highlight}}.dayIsToday_4cbef05b{border-radius:100%}.dayIsToday_4cbef05b,.dayIsToday_4cbef05b:hover{position:relative;background-color:"},{theme:"neutralLighter",defaultValue:"#f3f2f1"},{rawString:"}@media screen and (-ms-high-contrast:active){.dayIsToday_4cbef05b,.dayIsToday_4cbef05b:hover{background-color:highlight}}.dayIsToday_4cbef05b:hover,.dayIsToday_4cbef05b:hover:hover{border-radius:100%}.dayIsDisabled_4cbef05b:before{border-top-color:"},{theme:"neutralTertiary",defaultValue:"#a19f9d"},{rawString:"}.dayIsUnfocused_4cbef05b{color:"},{theme:"neutralSecondary",defaultValue:"#605e5c"},{rawString:";font-weight:400}.dayIsFocused_4cbef05b:hover,.dayIsUnfocused_4cbef05b:hover{cursor:pointer;background:"},{theme:"neutralLighter",defaultValue:"#f3f2f1"},{rawString:";color:"},{theme:"neutralDark",defaultValue:"#201f1e"},{rawString:"}.daySelection_4cbef05b.dayIsHighlighted_4cbef05b:hover,.pickerIsFocused_4cbef05b .dayIsHighlighted_4cbef05b.daySelection_4cbef05b{cursor:pointer;background-color:"},{theme:"neutralLight",defaultValue:"#edebe9"},{rawString:";border-radius:2px}@media screen and (-ms-high-contrast:active){.daySelection_4cbef05b.dayIsHighlighted_4cbef05b:hover,.pickerIsFocused_4cbef05b .dayIsHighlighted_4cbef05b.daySelection_4cbef05b{border:2px solid Highlight}.daySelection_4cbef05b.dayIsHighlighted_4cbef05b:hover :not(.dayIsToday_4cbef05b) span,.pickerIsFocused_4cbef05b .dayIsHighlighted_4cbef05b.daySelection_4cbef05b :not(.dayIsToday_4cbef05b) span{color:Highlight}}@media screen and (-ms-high-contrast:active){.dayIsHighlighted_4cbef05b button.dayIsToday_4cbef05b{border-radius:100%}}@media screen and (-ms-high-contrast:active){.dayIsHighlighted_4cbef05b button.dayIsToday_4cbef05b span{color:Window}}.dayIsFocused_4cbef05b:active,.dayIsHighlighted_4cbef05b{background-color:"},{theme:"themeLight",defaultValue:"#c7e0f4"},{rawString:"}.dayIsFocused_4cbef05b:active.day_4cbef05b,.dayIsHighlighted_4cbef05b.day_4cbef05b{color:"},{theme:"neutralDark",defaultValue:"#201f1e"},{rawString:";background-color:"},{theme:"neutralLight",defaultValue:"#edebe9"},{rawString:"}.dayIsHighlighted_4cbef05b.dayDisabled_4cbef05b,.dayIsHighlighted_4cbef05b.dayDisabled_4cbef05b:hover{background:"},{theme:"neutralTertiary",defaultValue:"#a19f9d"},{rawString:"}.dayBackground_4cbef05b,.dayBackground_4cbef05b:active,.dayBackground_4cbef05b:hover{border-radius:2px}.dayHover_4cbef05b,.dayHover_4cbef05b:hover{cursor:pointer;background:"},{theme:"neutralLighter",defaultValue:"#f3f2f1"},{rawString:";color:"},{theme:"neutralDark",defaultValue:"#201f1e"},{rawString:"}.dayPress_4cbef05b,.dayPress_4cbef05b:hover{cursor:pointer;color:"},{theme:"neutralDark",defaultValue:"#201f1e"},{rawString:";background-color:"},{theme:"neutralLight",defaultValue:"#edebe9"},{rawString:"}.dayPress_4cbef05b .dayIsToday_4cbef05b,.dayPress_4cbef05b:hover .dayIsToday_4cbef05b{background:"},{theme:"themePrimary",defaultValue:"#0078d4"},{rawString:";border-radius:100%}.dayIsFocused_4cbef05b:active,.dayIsHighlighted_4cbef05b,.dayIsHighlighted_4cbef05b:active,.dayIsHighlighted_4cbef05b:hover,.dayIsUnfocused_4cbef05b:active,.weekBackground_4cbef05b,.weekBackground_4cbef05b:active,.weekBackground_4cbef05b:hover{background-color:"},{theme:"neutralLight",defaultValue:"#edebe9"},{rawString:";color:"},{theme:"neutralDark",defaultValue:"#201f1e"},{rawString:"}.dayIsToday_4cbef05b,.dayIsToday_4cbef05b.day_4cbef05b:active,.pickerIsFocused_4cbef05b .dayIsToday_4cbef05b{position:relative;color:"},{theme:"white",defaultValue:"#ffffff"},{rawString:";font-weight:600;background:"},{theme:"themePrimary",defaultValue:"#0078d4"},{rawString:";border-radius:100%}.showWeekNumbers_4cbef05b .weekNumbers_4cbef05b{border-right:1px solid "},{theme:"neutralLight",defaultValue:"#edebe9"},{rawString:";-webkit-box-sizing:border-box;box-sizing:border-box;width:28px;padding:0}.showWeekNumbers_4cbef05b .weekNumbers_4cbef05b .dayWrapper_4cbef05b{color:"},{theme:"neutralSecondary",defaultValue:"#605e5c"},{rawString:"}.showWeekNumbers_4cbef05b .weekNumbers_4cbef05b .dayWrapper_4cbef05b.weekIsHighlighted_4cbef05b{color:"},{theme:"neutralPrimary",defaultValue:"#323130"},{rawString:"}.showWeekNumbers_4cbef05b .table_4cbef05b{width:225px}.showWeekNumbers_4cbef05b .table_4cbef05b .dayWrapper_4cbef05b,.showWeekNumbers_4cbef05b .table_4cbef05b .weekday_4cbef05b{width:30px}.showWeekNumbersRTL_4cbef05b .weekNumbers_4cbef05b{border-left:1px solid "},{theme:"neutralLight",defaultValue:"#edebe9"},{rawString:";-webkit-box-sizing:border-box;box-sizing:border-box}.showWeekNumbersRTL_4cbef05b .weekNumbers_4cbef05b .dayWrapper_4cbef05b{color:"},{theme:"neutralSecondary",defaultValue:"#605e5c"},{rawString:"}.showWeekNumbersRTL_4cbef05b .weekNumbers_4cbef05b .dayWrapper_4cbef05b.weekIsHighlighted_4cbef05b{color:"},{theme:"neutralPrimary",defaultValue:"#323130"},{rawString:"}.showWeekNumbersRTL_4cbef05b .table_4cbef05b{width:225px}.showWeekNumbersRTL_4cbef05b .table_4cbef05b .dayWrapper_4cbef05b,.showWeekNumbersRTL_4cbef05b .table_4cbef05b .weekday_4cbef05b{width:30px}.decadeComponents_4cbef05b,.monthComponents_4cbef05b,.yearComponents_4cbef05b{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-ms-flex-item-align:end;align-self:flex-end}.closeButton_4cbef05b,.nextDecade_4cbef05b,.nextMonth_4cbef05b,.nextYear_4cbef05b,.prevDecade_4cbef05b,.prevMonth_4cbef05b,.prevYear_4cbef05b{width:28px;height:28px;display:block;text-align:center;line-height:28px;text-align:center;font-size:12px;color:"},{theme:"neutralPrimary",defaultValue:"#323130"},{rawString:";border-radius:2px;position:relative;background-color:transparent;border:none;padding:0}.closeButton_4cbef05b:hover,.nextDecade_4cbef05b:hover,.nextMonth_4cbef05b:hover,.nextYear_4cbef05b:hover,.prevDecade_4cbef05b:hover,.prevMonth_4cbef05b:hover,.prevYear_4cbef05b:hover{color:"},{theme:"neutralDark",defaultValue:"#201f1e"},{rawString:";cursor:pointer;outline:1px solid transparent}.nextDecadeIsDisabled_4cbef05b,.nextMonthIsDisabled_4cbef05b,.nextYearIsDisabled_4cbef05b,.prevDecadeIsDisabled_4cbef05b,.prevMonthIsDisabled_4cbef05b,.prevYearIsDisabled_4cbef05b{color:"},{theme:"neutralTertiaryAlt",defaultValue:"#c8c6c4"},{rawString:";pointer-events:none}.headerToggleView_4cbef05b{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:4px 8px}.headerToggleView_4cbef05b:hover{color:"},{theme:"black",defaultValue:"#000000"},{rawString:";cursor:pointer}@media screen and (-ms-high-contrast:active){.headerToggleView_4cbef05b:hover{outline:1px solid highlight}}@media screen and (-ms-high-contrast:active){.headerToggleView_4cbef05b:hover:active{color:highlight}}.currentDecade_4cbef05b,.currentYear_4cbef05b{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;padding:0 5px;font-size:14px;font-weight:400;font-weight:600;color:"},{theme:"neutralPrimary",defaultValue:"#323130"},{rawString:";height:28px;line-height:28px}html[dir=ltr] .currentDecade_4cbef05b,html[dir=ltr] .currentYear_4cbef05b{margin-left:5px}html[dir=rtl] .currentDecade_4cbef05b,html[dir=rtl] .currentYear_4cbef05b{margin-right:5px}.optionGrid_4cbef05b{position:relative;height:210px;width:196px;margin:4px 0 0 0}html[dir=rtl] .optionGrid_4cbef05b{margin:4px 0 0 0}.monthOption_4cbef05b,.yearOption_4cbef05b{width:60px;height:60px;line-height:100%;cursor:pointer;margin:0 10px 10px 0;font-size:13px;font-weight:400;color:"},{theme:"neutralPrimary",defaultValue:"#323130"},{rawString:";text-align:center;border:none;padding:0;background-color:transparent;border-radius:2px}html[dir=ltr] .monthOption_4cbef05b,html[dir=ltr] .yearOption_4cbef05b{float:left}html[dir=rtl] .monthOption_4cbef05b,html[dir=rtl] .yearOption_4cbef05b{float:right}html[dir=rtl] .monthOption_4cbef05b,html[dir=rtl] .yearOption_4cbef05b{margin:0 0 10px 10px}.monthOption_4cbef05b:hover,.yearOption_4cbef05b:hover{color:"},{theme:"neutralDark",defaultValue:"#201f1e"},{rawString:";background-color:"},{theme:"neutralLighter",defaultValue:"#f3f2f1"},{rawString:";outline:1px solid transparent}@media screen and (-ms-high-contrast:active){.monthOption_4cbef05b:hover,.yearOption_4cbef05b:hover{outline-color:highlight}}@media screen and (-ms-high-contrast:active){.monthOption_4cbef05b:active,.yearOption_4cbef05b:active{color:highlight}}.monthOption_4cbef05b.isHighlighted_4cbef05b,.yearOption_4cbef05b.isHighlighted_4cbef05b{background-color:"},{theme:"neutralLight",defaultValue:"#edebe9"},{rawString:";color:"},{theme:"neutralDark",defaultValue:"#201f1e"},{rawString:"}.dayIsDisabled_4cbef05b,.monthOptionIsDisabled_4cbef05b,.yearOptionIsDisabled_4cbef05b{color:"},{theme:"neutralTertiaryAlt",defaultValue:"#c8c6c4"},{rawString:";pointer-events:none}.goToday_4cbef05b{bottom:0;color:"},{theme:"themePrimary",defaultValue:"#0078d4"},{rawString:";cursor:pointer;font-size:12px;font-weight:400;color:"},{theme:"neutralPrimary",defaultValue:"#323130"},{rawString:";height:30px;line-height:30px;padding:0 10px;background-color:transparent;border:none;position:absolute!important;-webkit-box-sizing:content-box;box-sizing:content-box}[dir=ltr] .goToday_4cbef05b{right:13px}[dir=rtl] .goToday_4cbef05b{left:13px}.goToday_4cbef05b:hover{color:"},{theme:"themePrimary",defaultValue:"#0078d4"},{rawString:";outline:1px solid transparent}@media screen and (-ms-high-contrast:active){.goToday_4cbef05b:hover{outline-color:highlight}}.goToday_4cbef05b:active{color:"},{theme:"themeDark",defaultValue:"#005a9e"},{rawString:"}@media screen and (-ms-high-contrast:active){.goToday_4cbef05b:active{color:highlight}}.goToTodayIsDisabled_4cbef05b{color:"},{theme:"neutralTertiaryAlt",defaultValue:"#c8c6c4"},{rawString:";pointer-events:none}.goTodayInlineMonth_4cbef05b{top:212px}.wrap_4cbef05b.goTodaySpacing_4cbef05b{padding-bottom:28px}.root_4cbef05b.isPickingYears_4cbef05b .dayPicker_4cbef05b,.root_4cbef05b.isPickingYears_4cbef05b .monthComponents_4cbef05b{display:none}.root_4cbef05b.isPickingYears_4cbef05b .monthPicker_4cbef05b{display:none}.root_4cbef05b.isPickingYears_4cbef05b .yearPicker_4cbef05b{display:block}@media (min-device-width:460px){.wrap_4cbef05b{padding:12px}.dayPicker_4cbef05b,.monthPicker_4cbef05b{min-height:200px}.header_4cbef05b{height:28px;line-height:28px;width:100%}.dayWrapper_4cbef05b,.weekday_4cbef05b{width:28px;height:28px;line-height:28px;font-size:12px}.closeButton_4cbef05b,.nextDecade_4cbef05b,.nextMonth_4cbef05b,.nextYear_4cbef05b,.prevDecade_4cbef05b,.prevMonth_4cbef05b,.prevYear_4cbef05b{font-size:12px;width:28px;height:28px;line-height:28px}.holder_4cbef05b{display:inline-block;height:auto;overflow:hidden}.decade_4cbef05b,.monthAndYear_4cbef05b,.year_4cbef05b{font-size:14px;color:"},{theme:"neutralPrimary",defaultValue:"#323130"},{rawString:"}.yearComponents_4cbef05b{margin-left:1px}.goToday_4cbef05b{padding:0 3px}[dir=ltr] .goToday_4cbef05b{right:20px}[dir=rtl] .goToday_4cbef05b{left:20px}.showWeekNumbers_4cbef05b .table_4cbef05b .dayWrapper_4cbef05b,.showWeekNumbers_4cbef05b .table_4cbef05b .weekday_4cbef05b{width:28px}.showWeekNumbersRTL_4cbef05b .table_4cbef05b .dayWrapper_4cbef05b,.showWeekNumbersRTL_4cbef05b .table_4cbef05b .weekday_4cbef05b{width:28px}.monthPickerVisible_4cbef05b .wrap_4cbef05b{padding:12px}.monthPickerVisible_4cbef05b .dayPicker_4cbef05b{margin:-10px 0;padding:10px 0}.monthPickerVisible_4cbef05b .dayPicker_4cbef05b{-webkit-box-sizing:border-box;box-sizing:border-box;width:212px;min-height:200px}.monthPickerVisible_4cbef05b .monthPicker_4cbef05b{display:block}.monthPickerVisible_4cbef05b .optionGrid_4cbef05b{height:150px;width:196px}.monthPickerVisible_4cbef05b .toggleMonthView_4cbef05b{display:none}.monthPickerVisible_4cbef05b .currentDecade_4cbef05b,.monthPickerVisible_4cbef05b .currentYear_4cbef05b{font-size:14px;margin:0;height:28px;line-height:28px;display:inline-block}.monthPickerVisible_4cbef05b .monthOption_4cbef05b,.monthPickerVisible_4cbef05b .yearOption_4cbef05b{width:40px;height:40px;line-height:100%;font-size:12px;margin:0 12px 16px 0}html[dir=rtl] .monthPickerVisible_4cbef05b .monthOption_4cbef05b,html[dir=rtl] .monthPickerVisible_4cbef05b .yearOption_4cbef05b{margin:0 0 16px 12px}.monthPickerVisible_4cbef05b .monthOption_4cbef05b:hover,.monthPickerVisible_4cbef05b .yearOption_4cbef05b:hover{outline:1px solid transparent}.monthPickerVisible_4cbef05b .monthOption_4cbef05b:nth-child(4n+4),.monthPickerVisible_4cbef05b .yearOption_4cbef05b:nth-child(4n+4){margin:0 0 16px 0}html[dir=rtl] .monthPickerVisible_4cbef05b .monthOption_4cbef05b:nth-child(4n+4),html[dir=rtl] .monthPickerVisible_4cbef05b .yearOption_4cbef05b:nth-child(4n+4){margin:0 0 16px 0}.monthPickerVisible_4cbef05b .goToday_4cbef05b{font-size:12px;height:28px;line-height:28px;padding:0 10px}[dir=ltr] .monthPickerVisible_4cbef05b .goToday_4cbef05b{right:8px}[dir=rtl] .monthPickerVisible_4cbef05b .goToday_4cbef05b{left:8px}html[dir=ltr] .monthPickerVisible_4cbef05b .goToday_4cbef05b{text-align:right}html[dir=rtl] .monthPickerVisible_4cbef05b .goToday_4cbef05b{text-align:left}.monthPickerVisible_4cbef05b .root_4cbef05b.isPickingYears_4cbef05b .dayPicker_4cbef05b,.monthPickerVisible_4cbef05b .root_4cbef05b.isPickingYears_4cbef05b .monthComponents_4cbef05b{display:block}.monthPickerVisible_4cbef05b .root_4cbef05b.isPickingYears_4cbef05b .monthPicker_4cbef05b{display:none}.monthPickerVisible_4cbef05b .root_4cbef05b.isPickingYears_4cbef05b .yearPicker_4cbef05b{display:block}.calendarsInline_4cbef05b .wrap_4cbef05b{padding:12px}.calendarsInline_4cbef05b .holder_4cbef05b{height:auto}html[dir=ltr] .calendarsInline_4cbef05b .table_4cbef05b{margin-right:12px}html[dir=rtl] .calendarsInline_4cbef05b .table_4cbef05b{margin-left:12px}.calendarsInline_4cbef05b .dayPicker_4cbef05b{width:auto}html[dir=ltr] .calendarsInline_4cbef05b .monthPicker_4cbef05b{margin-left:12px}html[dir=rtl] .calendarsInline_4cbef05b .monthPicker_4cbef05b{margin-right:12px}html[dir=ltr] .calendarsInline_4cbef05b .yearPicker_4cbef05b{margin-left:12px}html[dir=rtl] .calendarsInline_4cbef05b .yearPicker_4cbef05b{margin-right:12px}.calendarsInline_4cbef05b .goToday_4cbef05b{padding:0 10px}[dir=ltr] .calendarsInline_4cbef05b .goToday_4cbef05b{right:14px}[dir=rtl] .calendarsInline_4cbef05b .goToday_4cbef05b{left:14px}html[dir=ltr] .calendarsInline_4cbef05b .monthComponents_4cbef05b{margin-right:12px}html[dir=rtl] .calendarsInline_4cbef05b .monthComponents_4cbef05b{margin-left:12px}.monthPickerOnly_4cbef05b .wrap_4cbef05b{padding:12px}.monthPickerAsOverlay_4cbef05b .wrap_4cbef05b{padding-bottom:28px;margin-bottom:6px}.monthPickerAsOverlay_4cbef05b .holder_4cbef05b{height:240px;min-height:240px}.monthPickerAsOverlay_4cbef05b .holderWithButton_4cbef05b{padding-top:6px;height:auto}}@media (max-device-width:459px){.calendarsInline_4cbef05b .monthPicker_4cbef05b,.calendarsInline_4cbef05b .yearPicker_4cbef05b{display:none}.yearComponents_4cbef05b{margin-top:2px}}.goToday_4cbef05b{width:auto}.closeButton_4cbef05b,.nextDecade_4cbef05b,.nextMonth_4cbef05b,.nextYear_4cbef05b,.prevDecade_4cbef05b,.prevMonth_4cbef05b,.prevYear_4cbef05b{display:inline-block}.closeButton_4cbef05b:hover,.nextDecade_4cbef05b:hover,.nextMonth_4cbef05b:hover,.nextYear_4cbef05b:hover,.prevDecade_4cbef05b:hover,.prevMonth_4cbef05b:hover,.prevYear_4cbef05b:hover{background-color:"},{theme:"neutralLighter",defaultValue:"#f3f2f1"},{rawString:";color:"},{theme:"neutralDark",defaultValue:"#201f1e"},{rawString:"}@media screen and (-ms-high-contrast:active){.closeButton_4cbef05b:hover,.nextDecade_4cbef05b:hover,.nextMonth_4cbef05b:hover,.nextYear_4cbef05b:hover,.prevDecade_4cbef05b:hover,.prevMonth_4cbef05b:hover,.prevYear_4cbef05b:hover{outline:1px solid highlight}}.closeButton_4cbef05b:active,.nextDecade_4cbef05b:active,.nextMonth_4cbef05b:active,.nextYear_4cbef05b:active,.prevDecade_4cbef05b:active,.prevMonth_4cbef05b:active,.prevYear_4cbef05b:active{background-color:"},{theme:"neutralLight",defaultValue:"#edebe9"},{rawString:"}@media screen and (-ms-high-contrast:active){.closeButton_4cbef05b:active,.nextDecade_4cbef05b:active,.nextMonth_4cbef05b:active,.nextYear_4cbef05b:active,.prevDecade_4cbef05b:active,.prevMonth_4cbef05b:active,.prevYear_4cbef05b:active{color:highlight}}.monthIsHighlighted_4cbef05b{background-color:"},{theme:"neutralLight",defaultValue:"#edebe9"},{rawString:";color:"},{theme:"neutralDark",defaultValue:"#201f1e"},{rawString:"}.monthIsHighlighted_4cbef05b.monthOption_4cbef05b:hover{background-color:"},{theme:"neutralLight",defaultValue:"#edebe9"},{rawString:"}@media screen and (-ms-high-contrast:active){.monthIsHighlighted_4cbef05b{color:highlight;border:2px solid highlight;border-radius:2px}.monthIsHighlighted_4cbef05b:hover{outline:0!important}}.monthIsCurrentMonth_4cbef05b{color:"},{theme:"white",defaultValue:"#ffffff"},{rawString:";background-color:"},{theme:"neutralLight",defaultValue:"#edebe9"},{rawString:"}.monthIsCurrentMonth_4cbef05b.monthOption_4cbef05b:hover{color:"},{theme:"white",defaultValue:"#ffffff"},{rawString:";background-color:"},{theme:"neutralLighter",defaultValue:"#f3f2f1"},{rawString:"}.monthOption_4cbef05b:active{background-color:"},{theme:"neutralLight",defaultValue:"#edebe9"},{rawString:";color:"},{theme:"neutralDark",defaultValue:"#201f1e"},{rawString:"}.yearIsHighlighted_4cbef05b{background-color:"},{theme:"neutralLight",defaultValue:"#edebe9"},{rawString:";color:"},{theme:"neutralDark",defaultValue:"#201f1e"},{rawString:"}.yearIsHighlighted_4cbef05b.yearOption_4cbef05b:hover{background-color:"},{theme:"neutralLighter",defaultValue:"#f3f2f1"},{rawString:"}.yearIsCurrentYear_4cbef05b{color:"},{theme:"white",defaultValue:"#ffffff"},{rawString:";background-color:"},{theme:"neutralLight",defaultValue:"#edebe9"},{rawString:"}.yearIsCurrentYear_4cbef05b.yearOption_4cbef05b:hover{color:"},{theme:"white",defaultValue:"#ffffff"},{rawString:";background-color:"},{theme:"neutralLighter",defaultValue:"#f3f2f1"},{rawString:"}.yearOption_4cbef05b:active{background-color:"},{theme:"neutralLight",defaultValue:"#edebe9"},{rawString:";color:"},{theme:"neutralDark",defaultValue:"#201f1e"},{rawString:"}.topLeftCornerDate_4cbef05b{border-top-left-radius:2px}.topRightCornerDate_4cbef05b{border-top-right-radius:2px}.bottomLeftCornerDate_4cbef05b{border-bottom-left-radius:2px}.bottomRightCornerDate_4cbef05b{border-bottom-right-radius:2px}@media screen and (-ms-high-contrast:active){.weekBackground_4cbef05b{border-top:1px solid highlight;border-bottom:1px solid highlight}.weekBackground_4cbef05b.bottomRightCornerDate_4cbef05b.topRightCornerDate_4cbef05b{border-right:1px solid highlight;border-left:none;padding-left:1px}.weekBackground_4cbef05b.bottomLeftCornerDate_4cbef05b.topLeftCornerDate_4cbef05b{border-left:1px solid highlight;border-right:none;padding-right:1px}.weekBackground_4cbef05b :not(.dayIsToday_4cbef05b) span{color:highlight}.weekSelection_4cbef05b.dayHover_4cbef05b{border-top:1px solid highlight;border-bottom:1px solid highlight}.weekSelection_4cbef05b.dayHover_4cbef05b.bottomLeftCornerDate_4cbef05b.topLeftCornerDate_4cbef05b{border-left:1px solid highlight;padding-right:1px}.weekSelection_4cbef05b.dayHover_4cbef05b.bottomRightCornerDate_4cbef05b.topRightCornerDate_4cbef05b{border-right:1px solid highlight;padding-left:1px}.weekSelection_4cbef05b.dayHover_4cbef05b.dayPress_4cbef05b :not(.dayIsToday_4cbef05b) span{color:highlight}.monthSelection_4cbef05b.dayHover_4cbef05b.bottomLeftCornerDate_4cbef05b,.monthSelection_4cbef05b.dayHover_4cbef05b.topLeftCornerDate_4cbef05b{border-left:1px solid highlight;padding-right:1px}.monthSelection_4cbef05b.dayHover_4cbef05b.bottomRightCornerDate_4cbef05b,.monthSelection_4cbef05b.dayHover_4cbef05b.topRightCornerDate_4cbef05b{border-right:1px solid highlight;padding-left:1px}.monthSelection_4cbef05b.dayIsFocused_4cbef05b.dayHover_4cbef05b.topDate_4cbef05b,.monthSelection_4cbef05b.dayIsUnfocused_4cbef05b.dayHover_4cbef05b.topDate_4cbef05b{border-top:1px solid highlight;padding-bottom:1px}.monthSelection_4cbef05b.dayIsFocused_4cbef05b.dayHover_4cbef05b.rightDate_4cbef05b,.monthSelection_4cbef05b.dayIsUnfocused_4cbef05b.dayHover_4cbef05b.rightDate_4cbef05b{border-right:1px solid highlight;padding-left:1px}.monthSelection_4cbef05b.dayIsFocused_4cbef05b.dayHover_4cbef05b.bottomDate_4cbef05b,.monthSelection_4cbef05b.dayIsUnfocused_4cbef05b.dayHover_4cbef05b.bottomDate_4cbef05b{border-bottom:1px solid highlight;padding-top:1px}.monthSelection_4cbef05b.dayIsFocused_4cbef05b.dayHover_4cbef05b.leftdate_4cbef05b,.monthSelection_4cbef05b.dayIsUnfocused_4cbef05b.dayHover_4cbef05b.leftdate_4cbef05b{border-left:1px solid highlight;padding-right:1px}.monthSelection_4cbef05b.dayIsFocused_4cbef05b.dayHover_4cbef05b.dayPress_4cbef05b :not(.dayIsToday_4cbef05b) span,.monthSelection_4cbef05b.dayIsUnfocused_4cbef05b.dayHover_4cbef05b.dayPress_4cbef05b :not(.dayIsToday_4cbef05b) span{color:highlight}}"}]);var Dr="root_4cbef05b",Ar="picker_4cbef05b",Rr="holder_4cbef05b",Mr="pickerIsOpened_4cbef05b",Fr="frame_4cbef05b",jr="wrap_4cbef05b",Lr="goTodaySpacing_4cbef05b",Hr="dayPicker_4cbef05b",Br="header_4cbef05b",zr="divider_4cbef05b",Ur="monthAndYear_4cbef05b",Vr="year_4cbef05b",Wr="decade_4cbef05b",qr="currentYear_4cbef05b",Gr="currentDecade_4cbef05b",Kr="table_4cbef05b",Yr="dayWrapper_4cbef05b",Qr="weekday_4cbef05b",$r="day_4cbef05b",Zr="daySelection_4cbef05b",Xr="dayIsToday_4cbef05b",Jr="dayIsDisabled_4cbef05b",ei="dayIsUnfocused_4cbef05b",ti="dayIsFocused_4cbef05b",ni="dayIsHighlighted_4cbef05b",oi="pickerIsFocused_4cbef05b",ri="dayDisabled_4cbef05b",ii="dayBackground_4cbef05b",ai="dayHover_4cbef05b",si="dayPress_4cbef05b",ci="weekBackground_4cbef05b",li="showWeekNumbers_4cbef05b",ui="weekNumbers_4cbef05b",di="weekIsHighlighted_4cbef05b",pi="showWeekNumbersRTL_4cbef05b",hi="monthComponents_4cbef05b",fi="yearComponents_4cbef05b",mi="decadeComponents_4cbef05b",gi="closeButton_4cbef05b",bi="prevMonth_4cbef05b",yi="nextMonth_4cbef05b",vi="prevYear_4cbef05b",_i="nextYear_4cbef05b",Si="prevDecade_4cbef05b",Ci="nextDecade_4cbef05b",xi="prevMonthIsDisabled_4cbef05b",wi="nextMonthIsDisabled_4cbef05b",Ti="prevYearIsDisabled_4cbef05b",ki="nextYearIsDisabled_4cbef05b",Ii="prevDecadeIsDisabled_4cbef05b",Oi="nextDecadeIsDisabled_4cbef05b",Ei="headerToggleView_4cbef05b",Ni="optionGrid_4cbef05b",Pi="monthOption_4cbef05b",Di="yearOption_4cbef05b",Ai="isHighlighted_4cbef05b",Ri="monthOptionIsDisabled_4cbef05b",Mi="yearOptionIsDisabled_4cbef05b",Fi="goToday_4cbef05b",ji="goToTodayIsDisabled_4cbef05b",Li="goTodayInlineMonth_4cbef05b",Hi="isPickingYears_4cbef05b",Bi="monthPicker_4cbef05b",zi="yearPicker_4cbef05b",Ui="monthPickerVisible_4cbef05b",Vi="toggleMonthView_4cbef05b",Wi="calendarsInline_4cbef05b",qi="monthPickerOnly_4cbef05b",Gi="monthPickerAsOverlay_4cbef05b",Ki="holderWithButton_4cbef05b",Yi="monthIsHighlighted_4cbef05b",Qi="monthIsCurrentMonth_4cbef05b",$i="yearIsHighlighted_4cbef05b",Zi="yearIsCurrentYear_4cbef05b",Xi="topLeftCornerDate_4cbef05b",Ji="topRightCornerDate_4cbef05b",ea="bottomLeftCornerDate_4cbef05b",ta="bottomRightCornerDate_4cbef05b",na="weekSelection_4cbef05b",oa="monthSelection_4cbef05b",ra="topDate_4cbef05b",ia="rightDate_4cbef05b",aa="bottomDate_4cbef05b",sa="leftdate_4cbef05b",ca=o,la=function(e){function t(t){var n=e.call(this,t)||this;return n.days={},n._onKeyDown=function(e,t){t.which!==ge.a.enter&&t.which!==ge.a.space||e()},n._onDayKeyDown=function(e,t,o){return function(r){r.which===ge.a.enter?(n._onSelectDate(e,r),r.preventDefault()):n._navigateMonthEdge(r,e,t,o)}},n._onDayMouseDown=function(e,t,o,r){return function(o){r===Zo.Month?n._applyFunctionToDayRefs((function(t,n){t&&n.originalDate.getMonth()===e.getMonth()&&n.isInBounds&&t.classList.add(ca.dayPress)})):n._applyFunctionToDayRefs((function(e,n,o){e&&o===t&&n.isInBounds?(e.classList.add(ca.dayPress),e.classList.add(ca.dayIsHighlighted)):e&&e.classList.remove(ca.dayIsHighlighted)}))}},n._onDayMouseUp=function(e,t,o,r){return function(o){r===Zo.Month?n._applyFunctionToDayRefs((function(t,n){t&&n.originalDate.getMonth()===e.getMonth()&&n.isInBounds&&t.classList.remove(ca.dayPress)})):n._applyFunctionToDayRefs((function(e,n,o){e&&o===t&&n.isInBounds&&e.classList.remove(ca.dayPress)}))}},n._onDayMouseOver=function(e,t,o,r){return function(o){r===Zo.Month?n._applyFunctionToDayRefs((function(t,n){t&&n.originalDate.getMonth()===e.getMonth()&&n.isInBounds&&t.classList.add(ca.dayHover)})):n._applyFunctionToDayRefs((function(e,n,o){e&&o===t&&n.isInBounds&&e.classList.add(ca.dayHover)}))}},n._onDayMouseLeave=function(e,t,o,r){return function(o){r===Zo.Month?n._applyFunctionToDayRefs((function(t,n){t&&n.originalDate.getMonth()===e.getMonth()&&n.isInBounds&&t.classList.remove(ca.dayHover)})):n._applyFunctionToDayRefs((function(e,n,o){e&&o===t&&n.isInBounds&&e.classList.remove(ca.dayHover)}))}},n._onTableMouseLeave=function(e){e.target.contains&&e.relatedTarget&&e.relatedTarget.contains&&e.target.contains(e.relatedTarget)||n._applyFunctionToDayRefs((function(e,t){e&&(e.classList.remove(ca.dayHover),e.classList.remove(ca.dayPress))}))},n._onTableMouseUp=function(e){e.target.contains&&e.relatedTarget&&e.relatedTarget.contains&&e.target.contains(e.relatedTarget)||n._applyFunctionToDayRefs((function(e,t){e&&e.classList.remove(ca.dayPress)}))},n._onSelectDate=function(e,t){var o=n.props,r=o.onSelectDate,i=o.dateRangeType,a=o.firstDayOfWeek,s=o.navigatedDate,c=o.autoNavigateOnSelection,l=o.minDate,u=o.maxDate,d=o.workWeekDays;t&&t.stopPropagation();var p=xr(e,i,a,d);if(i!==Zo.Day&&(p=n._getBoundedDateRange(p,l,u)),p=p.filter((function(e){return!n._getIsRestrictedDate(e)})),r&&r(e,p),c&&e.getMonth()!==s.getMonth()){var h=Cr(e,s);h<0?n._onSelectPrevMonth():h>0&&n._onSelectNextMonth()}},n._onSelectNextMonth=function(){n.props.onNavigateDate(gr(n.props.navigatedDate,1),!1)},n._onSelectPrevMonth=function(){n.props.onNavigateDate(gr(n.props.navigatedDate,-1),!1)},n._onClose=function(){n.props.onDismiss&&n.props.onDismiss()},n._onHeaderSelect=function(){var e=n.props.onHeaderSelect;e&&e(!0)},n._onHeaderKeyDown=function(e){var t=n.props.onHeaderSelect;!t||e.which!==ge.a.enter&&e.which!==ge.a.space||t(!0)},n._onPrevMonthKeyDown=function(e){e.which===ge.a.enter&&n._onKeyDown(n._onSelectPrevMonth,e)},n._onNextMonthKeyDown=function(e){e.which===ge.a.enter&&n._onKeyDown(n._onSelectNextMonth,e)},n._onCloseButtonKeyDown=function(e){e.which===ge.a.enter&&n._onKeyDown(n._onClose,e)},Object(be.a)(n),n.state={activeDescendantId:Object(Pe.a)("DatePickerDay-active"),weeks:n._getWeeks(t)},n._onSelectNextMonth=n._onSelectNextMonth.bind(n),n._onSelectPrevMonth=n._onSelectPrevMonth.bind(n),n._onClose=n._onClose.bind(n),n}return Object(m.c)(t,e),t.prototype.UNSAFE_componentWillReceiveProps=function(e){this.setState({weeks:this._getWeeks(e)})},t.prototype.render=function(){var e,t,n=this,o=this.state,r=o.activeDescendantId,i=o.weeks,a=this.props,s=a.firstDayOfWeek,c=a.strings,l=a.navigatedDate,u=a.selectedDate,d=a.dateRangeType,p=a.navigationIcons,h=a.showWeekNumbers,f=a.firstWeekOfYear,m=a.dateTimeFormatter,b=a.minDate,y=a.maxDate,v=a.showCloseButton,_=a.allFocusable,S=Object(Pe.a)("DatePickerDay-dayPicker"),C=Object(Pe.a)("DatePickerDay-monthAndYear"),x=p.leftNavigation,w=p.rightNavigation,k=p.closeIcon,I=h?function(e,t,n,o){var r=o.getFullYear(),i=o.getMonth(),a=1,s=new Date(r,i,a),c=a+(t+pr-1)-function(e,t){return e!==Yo.Sunday&&t<e?t+pr:t}(t,s.getDay()),l=new Date(r,i,c);a=l.getDate();for(var u=[],d=0;d<e;d++)u.push(Tr(l,t,n)),a+=pr,l=new Date(r,i,a);return u}(i.length,s,f,l):null,O=h?Tr(u,s,f):void 0,E=this._getWeekCornerStyles(i,d),N=!b||Cr(b,yr(l))<0,P=!y||Cr(vr(l),y)<0;return g.createElement("div",{className:Object(z.a)("ms-DatePicker-dayPicker",ca.dayPicker,h&&(Object(T.a)()?ca.showWeekNumbersRTL:ca.showWeekNumbers)),id:S},g.createElement("div",{className:Object(z.a)("ms-DatePicker-header",ca.header)},g.createElement("div",{"aria-live":"polite","aria-relevant":"text","aria-atomic":"true",id:C,className:ca.monthAndYear},this.props.onHeaderSelect?g.createElement("div",{className:Object(z.a)("ms-DatePicker-monthAndYear js-showMonthPicker",ca.headerToggleView),onClick:this._onHeaderSelect,onKeyDown:this._onHeaderKeyDown,"aria-label":m.formatMonthYear(l,c),role:"button",tabIndex:0},m.formatMonthYear(l,c)):g.createElement("div",{className:Object(z.a)("ms-DatePicker-monthAndYear",ca.monthAndYear)},m.formatMonthYear(l,c))),g.createElement("div",{className:Object(z.a)("ms-DatePicker-monthComponents",ca.monthComponents)},g.createElement("div",{className:Object(z.a)("ms-DatePicker-navContainer",ca.navContainer)},g.createElement("button",{className:Object(z.a)("ms-DatePicker-prevMonth js-prevMonth",ca.prevMonth,(e={},e["ms-DatePicker-prevMonth--disabled "+ca.prevMonthIsDisabled]=!N,e)),disabled:!_&&!N,"aria-disabled":!N,onClick:N?this._onSelectPrevMonth:void 0,onKeyDown:N?this._onPrevMonthKeyDown:void 0,"aria-controls":S,title:c.prevMonthAriaLabel?c.prevMonthAriaLabel+" "+c.months[gr(l,-1).getMonth()]:void 0,role:"button",type:"button"},g.createElement(K,{iconName:x})),g.createElement("button",{className:Object(z.a)("ms-DatePicker-nextMonth js-nextMonth",ca.nextMonth,(t={},t["ms-DatePicker-nextMonth--disabled "+ca.nextMonthIsDisabled]=!P,t)),disabled:!_&&!P,"aria-disabled":!P,onClick:P?this._onSelectNextMonth:void 0,onKeyDown:P?this._onNextMonthKeyDown:void 0,"aria-controls":S,title:c.nextMonthAriaLabel?c.nextMonthAriaLabel+" "+c.months[gr(l,1).getMonth()]:void 0,role:"button",type:"button"},g.createElement(K,{iconName:w})),v&&g.createElement("button",{className:Object(z.a)("ms-DatePicker-closeButton js-closeButton",ca.closeButton),onClick:this._onClose,onKeyDown:this._onCloseButtonKeyDown,title:c.closeButtonAriaLabel,role:"button",type:"button"},g.createElement(K,{iconName:k}))))),g.createElement(ze,null,g.createElement("table",{className:Object(z.a)("ms-DatePicker-table",ca.table),"aria-readonly":"true","aria-multiselectable":"false","aria-labelledby":C,"aria-activedescendant":r,role:"grid"},g.createElement("thead",null,g.createElement("tr",null,h&&g.createElement("th",{className:Object(z.a)("ms-DatePicker-weekday",ca.weekday)}),c.shortDays.map((function(e,t){return g.createElement("th",{className:Object(z.a)("ms-DatePicker-weekday",ca.weekday),role:"columnheader",scope:"col",key:t,title:c.days[(t+s)%7],"aria-label":c.days[(t+s)%7],"data-is-focusable":!!_||void 0},c.shortDays[(t+s)%7])})))),g.createElement("tbody",{onMouseLeave:d!==Zo.Day?this._onTableMouseLeave:void 0,onMouseUp:d!==Zo.Day?this._onTableMouseUp:void 0},i.map((function(e,t){var o;return g.createElement("tr",{key:I?I[t]:t},h&&I&&g.createElement("th",{className:Object(z.a)("ms-DatePicker-weekNumbers","ms-DatePicker-weekday",ca.weekday,ca.weekNumbers),key:t,title:I&&c.weekNumberFormatString&&Object(dr.a)(c.weekNumberFormatString,I[t]),"aria-label":I&&c.weekNumberFormatString&&Object(dr.a)(c.weekNumberFormatString,I[t]),scope:"row"},g.createElement("div",{className:Object(z.a)("ms-DatePicker-day",ca.day,(o={},o["ms-DatePicker-week--highlighted "+ca.weekIsHighlighted]=O===I[t],o))},g.createElement("span",null,I[t]))),e.map((function(e,o){var i,a,s=Sr(l,e.originalDate);return g.createElement("td",{key:e.key,onClick:e.isInBounds?e.onSelected:void 0,className:Object(z.a)(ca.dayWrapper,"ms-DatePicker-day",n._getHighlightedCornerStyle(E,o,t),(i={},i["ms-DatePicker-weekBackground "+ca.weekBackground]=e.isSelected&&(d===Zo.Week||d===Zo.WorkWeek),i["ms-DatePicker-dayBackground "+ca.dayBackground]=d===Zo.Day,i["ms-DatePicker-day--highlighted "+ca.dayIsHighlighted]=e.isSelected&&d===Zo.Day,i["ms-DatePicker-day--infocus "+ca.dayIsFocused]=e.isInBounds&&e.isInMonth,i["ms-DatePicker-day--outfocus "+ca.dayIsUnfocused]=e.isInBounds&&!e.isInMonth,i[ca.daySelection]=d===Zo.Day,i[ca.weekSelection]=d===Zo.Week||d===Zo.WorkWeek,i[ca.monthSelection]=d===Zo.Month,i)),ref:function(t){return n._setDayCellRef(t,e,s)},onMouseOver:d!==Zo.Day&&e.isInBounds?n._onDayMouseOver(e.originalDate,t,o,d):void 0,onMouseLeave:d!==Zo.Day&&e.isInBounds?n._onDayMouseLeave(e.originalDate,t,o,d):void 0,onMouseDown:d!==Zo.Day&&e.isInBounds?n._onDayMouseDown(e.originalDate,t,o,d):void 0,onMouseUp:d!==Zo.Day&&e.isInBounds?n._onDayMouseUp(e.originalDate,t,o,d):void 0,role:"gridcell"},g.createElement("button",{key:e.key+"button",onClick:e.isInBounds?e.onSelected:void 0,className:Object(z.a)(ca.day,"ms-DatePicker-day-button",(a={},a["ms-DatePicker-day--disabled "+ca.dayIsDisabled]=!e.isInBounds,a["ms-DatePicker-day--today "+ca.dayIsToday]=e.isToday,a)),onKeyDown:n._onDayKeyDown(e.originalDate,t,o),"aria-label":m.formatMonthDayYear(e.originalDate,c),id:s?r:void 0,"aria-readonly":!0,"aria-selected":e.isInBounds?e.isSelected:void 0,"data-is-focusable":_||!!e.isInBounds||void 0,ref:function(t){return n._setDayRef(t,e,s)},disabled:!_&&!e.isInBounds,"aria-disabled":!e.isInBounds,type:"button"},g.createElement("span",{"aria-hidden":"true"},m.formatDay(e.originalDate))))})))}))))))},t.prototype.focus=function(){this.navigatedDay&&(this.navigatedDay.tabIndex=0,this.navigatedDay.focus())},t.prototype._setDayRef=function(e,t,n){n&&(this.navigatedDay=e)},t.prototype._setDayCellRef=function(e,t,n){this.days[t.key]=e},t.prototype._getWeekCornerStyles=function(e,t){var n=this,o={};switch(t){case Zo.Month:e.forEach((function(t,n){t.forEach((function(t,r){var i=e[n-1]&&e[n-1][r]&&e[n-1][r].originalDate.getMonth()===e[n][r].originalDate.getMonth(),a=e[n+1]&&e[n+1][r]&&e[n+1][r].originalDate.getMonth()===e[n][r].originalDate.getMonth(),s=e[n][r-1]&&e[n][r-1].originalDate.getMonth()===e[n][r].originalDate.getMonth(),c=e[n][r+1]&&e[n][r+1].originalDate.getMonth()===e[n][r].originalDate.getMonth(),l=!i&&!c,u=!a&&!s,d=!a&&!c,p="";!i&&!s&&(p=Object(T.a)()?p.concat(ca.topRightCornerDate+" "):p.concat(ca.topLeftCornerDate+" ")),l&&(p=Object(T.a)()?p.concat(ca.topLeftCornerDate+" "):p.concat(ca.topRightCornerDate+" ")),u&&(p=Object(T.a)()?p.concat(ca.bottomRightCornerDate+" "):p.concat(ca.bottomLeftCornerDate+" ")),d&&(p=Object(T.a)()?p.concat(ca.bottomLeftCornerDate+" "):p.concat(ca.bottomRightCornerDate+" ")),i||(p=p.concat(ca.topDate+" ")),a||(p=p.concat(ca.bottomDate+" ")),c||(p=p.concat(ca.rightDate+" ")),s||(p=p.concat(ca.leftdate+" ")),o[n+"_"+r]=p}))}));break;case Zo.Week:case Zo.WorkWeek:e.forEach((function(e,t){var r=Object(qe.e)(e,(function(e){return e.isInBounds})),i=n._findLastIndex(e,(function(e){return e.isInBounds})),a=ca.topLeftCornerDate+" "+ca.bottomLeftCornerDate,s=ca.topRightCornerDate+" "+ca.bottomRightCornerDate;o[t+"_"+r]=Object(T.a)()?s:a,o[t+"_"+i]=Object(T.a)()?a:s}))}return o},t.prototype._getHighlightedCornerStyle=function(e,t,n){return e[n+"_"+t]?e[n+"_"+t]:""},t.prototype._navigateMonthEdge=function(e,t,n,o){var r=this.props,i=r.minDate,a=r.maxDate,s=void 0;0===n&&e.which===ge.a.up?s=mr(t,-1):n===this.state.weeks.length-1&&e.which===ge.a.down?s=mr(t,1):0===o&&e.which===Object(T.b)(ge.a.left)?s=fr(t,-1):6===o&&e.which===Object(T.b)(ge.a.right)&&(s=fr(t,1)),s&&(!i||Cr(i,s)<1)&&(!a||Cr(s,a)<1)&&(this.props.onNavigateDate(s,!0),e.preventDefault())},t.prototype._applyFunctionToDayRefs=function(e){var t=this;this.state.weeks&&this.state.weeks.map((function(n,o){n.map((function(n){var r=t.days[n.key];e(r,n,o)}))}))},t.prototype._getWeeks=function(e){for(var t=e.navigatedDate,n=e.selectedDate,o=e.dateRangeType,r=e.firstDayOfWeek,i=e.today,a=e.minDate,s=e.maxDate,c=e.showSixWeeksByDefault,l=e.workWeekDays,u=new Date(t.getFullYear(),t.getMonth(),1),d=i||new Date,p=[];u.getDay()!==r;)u.setDate(u.getDate()-1);var h=!1,f=xr(n,o===Zo.WorkWeek?Zo.Week:o,r,l);o!==Zo.Day&&(f=this._getBoundedDateRange(f,a,s));for(var m=!0,g=0;m;g++){var b=[];h=!0;for(var y=0;y<7;y++){var v=new Date(u.toString()),_={key:u.toString(),date:u.getDate().toString(),originalDate:v,isInMonth:u.getMonth()===t.getMonth(),isToday:Sr(d,u),isSelected:wr(u,f),onSelected:this._onSelectDate.bind(this,v),isInBounds:(!a||Cr(a,u)<1)&&(!s||Cr(u,s)<1)&&!this._getIsRestrictedDate(u)};b.push(_),_.isInMonth&&(h=!1),u.setDate(u.getDate()+1)}(m=c?!h||g<=5:!h)&&p.push(b)}return p},t.prototype._getIsRestrictedDate=function(e){var t=this.props.restrictedDates;return!!t&&!!Object(qe.d)(t,(function(t){return Sr(t,e)}))},t.prototype._getBoundedDateRange=function(e,t,n){var o=Object(m.e)(e);return t&&(o=o.filter((function(e){return Cr(e,t)>=0}))),n&&(o=o.filter((function(e){return Cr(e,n)<=0}))),o},t.prototype._findLastIndex=function(e,t){for(var n=e.length-1;n>=0;n--)if(t(e[n]))return n;return-1},t}(g.Component),ua=o,da={prevRangeAriaLabel:void 0,nextRangeAriaLabel:void 0},pa={leftNavigation:"Up",rightNavigation:"Down",closeIcon:"CalculatorMultiply"},ha=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._buttonRef=g.createRef(),t._onRenderYear=function(){var e=t.props,n=e.year,o=e.onRenderYear;return o?o(n):n},t._onClick=function(){t.props.onSelectYear&&t.props.onSelectYear(t.props.year)},t._onKeyDown=function(e){t.props.onSelectYear&&e.which===ge.a.enter&&t.props.onSelectYear(t.props.year)},t}return Object(m.c)(t,e),t.prototype.focus=function(){this._buttonRef.current&&this._buttonRef.current.focus()},t.prototype.render=function(){var e,t=this.props,n=t.year,o=t.selected,r=t.disabled,i=t.onSelectYear;return g.createElement("button",{className:Object(z.a)("ms-DatePicker-yearOption",ua.yearOption,(e={},e["ms-DatePicker-day--highlighted "+ua.yearIsHighlighted]=o,e["ms-DatePicker-yearOption--disabled "+ua.yearOptionIsDisabled]=r,e)),type:"button",role:"gridcell",onClick:!r&&i?this._onClick:void 0,onKeyDown:!r&&i?this._onKeyDown:void 0,disabled:r,"aria-label":String(n),"aria-selected":o,ref:this._buttonRef},this._onRenderYear())},t}(g.Component),fa=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._selectedCellRef=g.createRef(),t._currentCellRef=g.createRef(),t._renderCell=function(e){var n=e===t.props.selectedYear,o=t.props,r=o.minYear,i=o.maxYear,a=o.onSelectYear,s=void 0!==r&&e<r||void 0!==i&&e>i,c=e===(new Date).getFullYear();return g.createElement(ha,{key:e,year:e,selected:n,current:c,disabled:s,onSelectYear:a,ref:n?t._selectedCellRef:c?t._currentCellRef:void 0})},t}return Object(m.c)(t,e),t.prototype.focus=function(){this._selectedCellRef.current?this._selectedCellRef.current.focus():this._currentCellRef.current&&this._currentCellRef.current.focus()},t.prototype.render=function(){for(var e=this.props,t=e.fromYear,n=e.toYear,o=t,r=[];o<=n;)r.push(this._renderCell(o)),o++;return g.createElement(ze,null,g.createElement("div",{className:Object(z.a)("ms-DatePicker-optionGrid",ua.optionGrid),role:"grid"},g.createElement("div",{role:"row"},r)))},t}(g.Component),ma=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._onSelectPrev=function(){!t.isDisabled&&t.props.onSelectPrev&&t.props.onSelectPrev()},t._onKeyDown=function(e){e.which===ge.a.enter&&t._onSelectPrev()},t}return Object(m.c)(t,e),t.prototype.render=function(){var e,t=this.props.navigationIcons||pa,n=(this.props.strings||da).prevRangeAriaLabel,o={fromYear:this.props.fromYear-12,toYear:this.props.toYear-12},r=n?"string"==typeof n?n:n(o):void 0,i=this.isDisabled,a=this.props.onSelectPrev;return g.createElement("button",{className:Object(z.a)("ms-DatePicker-prevDecade",ua.prevDecade,(e={},e["ms-DatePicker-prevDecade--disabled "+ua.prevDecadeIsDisabled]=i,e)),onClick:!i&&a?this._onSelectPrev:void 0,onKeyDown:!i&&a?this._onKeyDown:void 0,type:"button",tabIndex:0,title:r,disabled:i},g.createElement(K,{iconName:Object(T.a)()?t.rightNavigation:t.leftNavigation}))},Object.defineProperty(t.prototype,"isDisabled",{get:function(){var e=this.props.minYear;return void 0!==e&&this.props.fromYear<e},enumerable:!0,configurable:!0}),t}(g.Component),ga=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._onSelectNext=function(){!t.isDisabled&&t.props.onSelectNext&&t.props.onSelectNext()},t._onKeyDown=function(e){e.which===ge.a.enter&&t._onSelectNext()},t}return Object(m.c)(t,e),t.prototype.render=function(){var e,t=this.props.navigationIcons||pa,n=(this.props.strings||da).nextRangeAriaLabel,o={fromYear:this.props.fromYear+12,toYear:this.props.toYear+12},r=n?"string"==typeof n?n:n(o):void 0,i=this.props.onSelectNext,a=this.isDisabled;return g.createElement("button",{className:Object(z.a)("ms-DatePicker-nextDecade",ua.nextDecade,(e={},e["ms-DatePicker-nextDecade--disabled "+ua.nextDecadeIsDisabled]=a,e)),onClick:!a&&i?this._onSelectNext:void 0,onKeyDown:!a&&i?this._onKeyDown:void 0,type:"button",tabIndex:0,title:r,disabled:this.isDisabled},g.createElement(K,{iconName:Object(T.a)()?t.leftNavigation:t.rightNavigation}))},Object.defineProperty(t.prototype,"isDisabled",{get:function(){var e=this.props.maxYear;return void 0!==e&&this.props.fromYear+12>e},enumerable:!0,configurable:!0}),t}(g.Component),ba=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(m.c)(t,e),t.prototype.render=function(){return g.createElement("div",{className:Object(z.a)("ms-DatePicker-decadeComponents",ua.decadeComponents)},g.createElement("div",{className:Object(z.a)("ms-DatePicker-navContainer",ua.navContainer)},g.createElement(ma,Object(m.a)({},this.props)),g.createElement(ga,Object(m.a)({},this.props))))},t}(g.Component),ya=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._onHeaderSelect=function(){t.props.onHeaderSelect&&t.props.onHeaderSelect(!0)},t._onHeaderKeyDown=function(e){!t.props.onHeaderSelect||e.which!==ge.a.enter&&e.which!==ge.a.space||t.props.onHeaderSelect(!0)},t._onRenderYear=function(e){return t.props.onRenderYear?t.props.onRenderYear(e):e},t}return Object(m.c)(t,e),t.prototype.render=function(){var e=this.props,t=e.fromYear,n=e.toYear;if(e.onHeaderSelect){var o=(this.props.strings||da).rangeAriaLabel,r=o?"string"==typeof o?o:o(this.props):void 0;return g.createElement("div",{className:Object(z.a)("ms-DatePicker-currentDecade js-showYearPicker",ua.currentDecade,ua.headerToggleView),onClick:this._onHeaderSelect,onKeyDown:this._onHeaderKeyDown,"aria-label":r,role:"button","aria-atomic":!0,"aria-live":"polite",tabIndex:0},this._onRenderYear(t)," - ",this._onRenderYear(n))}return g.createElement("div",{className:Object(z.a)("ms-DatePicker-currentDecade js-showYearPicker",ua.currentDecade)},this._onRenderYear(t)," - ",this._onRenderYear(n))},t}(g.Component),va=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._onRenderTitle=function(){return t.props.onRenderTitle?t.props.onRenderTitle(t.props):g.createElement(ya,Object(m.a)({},t.props))},t._onRenderNav=function(){return g.createElement(ba,Object(m.a)({},t.props))},t}return Object(m.c)(t,e),t.prototype.render=function(){return g.createElement("div",{className:Object(z.a)("ms-DatePicker-header",ua.header)},this._onRenderTitle(),this._onRenderNav())},t}(g.Component),_a=function(e){function t(t){var n=e.call(this,t)||this;return n._gridRef=g.createRef(),n._onNavNext=function(){n.setState({fromYear:n.state.fromYear+12})},n._onNavPrev=function(){n.setState({fromYear:n.state.fromYear-12})},n._renderHeader=function(){return g.createElement(va,Object(m.a)({},n.props,{fromYear:n.state.fromYear,toYear:n.state.fromYear+12-1,onSelectPrev:n._onNavPrev,onSelectNext:n._onNavNext}))},n._renderGrid=function(){return g.createElement(fa,Object(m.a)({},n.props,{fromYear:n.state.fromYear,toYear:n.state.fromYear+12-1,ref:n._gridRef}))},n.state=n._calculateInitialStateFromProps(t),n}return Object(m.c)(t,e),t.prototype.focus=function(){this._gridRef.current&&this._gridRef.current.focus()},t.prototype.render=function(){return g.createElement("div",{className:Object(z.a)("ms-DatePicker-yearPicker",ua.yearPicker)},this._renderHeader(),this._renderGrid())},t.prototype._calculateInitialStateFromProps=function(e){var t=e.selectedYear,n=e.navigatedYear,o=t||n||(new Date).getFullYear();return{fromYear:10*Math.floor(o/10),navigatedYear:n,selectedYear:t}},t}(g.Component),Sa=o,Ca=function(e){function t(t){var n=e.call(this,t)||this;return n._navigatedMonthRef=g.createRef(),n._onCalendarYearRef=function(e){n._calendarYearRef=e},n._onKeyDown=function(e,t){t.which===ge.a.enter&&e()},n._onSelectYear=function(e){n._focusOnUpdate=!0;var t=n.props,o=t.navigatedDate,r=t.onNavigateDate,i=t.maxDate,a=t.minDate;if(o.getFullYear()!==e){var s=new Date(o.getTime());s.setFullYear(e),i&&s>i?s=_r(s,i.getMonth()):a&&s<a&&(s=_r(s,a.getMonth())),r(s,!0)}n.setState({isYearPickerVisible:!1})},n._yearToString=function(e){var t=n.props,o=t.navigatedDate,r=t.dateTimeFormatter;if(r){var i=new Date(o.getTime());return i.setFullYear(e),r.formatYear(i)}return String(e)},n._yearRangeToString=function(e){return n._yearToString(e.fromYear)+" - "+n._yearToString(e.toYear)},n._yearRangeToNextDecadeLabel=function(e){var t=n.props.strings;return t.nextYearRangeAriaLabel?t.nextYearRangeAriaLabel+" "+n._yearRangeToString(e):""},n._yearRangeToPrevDecadeLabel=function(e){var t=n.props.strings;return t.prevYearRangeAriaLabel?t.prevYearRangeAriaLabel+" "+n._yearRangeToString(e):""},n._onRenderYear=function(e){return n._yearToString(e)},n._onSelectNextYear=function(){var e=n.props,t=e.navigatedDate;(0,e.onNavigateDate)(br(t,1),!1)},n._onSelectNextYearKeyDown=function(e){e.which===ge.a.enter&&n._onKeyDown(n._onSelectNextYear,e)},n._onSelectPrevYear=function(){var e=n.props,t=e.navigatedDate;(0,e.onNavigateDate)(br(t,-1),!1)},n._onSelectPrevYearKeyDown=function(e){e.which===ge.a.enter&&n._onKeyDown(n._onSelectPrevYear,e)},n._onSelectMonthKeyDown=function(e){return function(t){return n._onKeyDown((function(){return n._onSelectMonth(e)}),t)}},n._onSelectMonth=function(e){var t=n.props,o=t.navigatedDate,r=t.onNavigateDate,i=t.onHeaderSelect;i&&i(!0),r(_r(o,e),!0)},n._onHeaderSelect=function(){var e=n.props,t=e.onHeaderSelect;e.yearPickerHidden?t&&t(!0):(n._focusOnUpdate=!0,n.setState({isYearPickerVisible:!0}))},n._onYearPickerHeaderSelect=function(e){n._focusOnUpdate=e,n.setState({isYearPickerVisible:!1})},n._onHeaderKeyDown=function(e){!n._onHeaderSelect||e.which!==ge.a.enter&&e.which!==ge.a.space||n._onHeaderSelect()},Object(be.a)(n),n._selectMonthCallbacks=[],t.strings.shortMonths.map((function(e,t){n._selectMonthCallbacks[t]=n._onSelectMonth.bind(n,t)})),n._isCurrentMonth=n._isCurrentMonth.bind(n),n._onSelectNextYear=n._onSelectNextYear.bind(n),n._onSelectPrevYear=n._onSelectPrevYear.bind(n),n._onSelectMonth=n._onSelectMonth.bind(n),n.state={isYearPickerVisible:!1},n}return Object(m.c)(t,e),t.prototype.componentDidUpdate=function(){this._focusOnUpdate&&(this.focus(),this._focusOnUpdate=!1)},t.prototype.render=function(){var e,t,n=this,o=this.props,r=o.navigatedDate,i=o.selectedDate,a=o.strings,s=o.today,c=o.highlightCurrentMonth,l=o.highlightSelectedMonth,u=o.navigationIcons,d=o.dateTimeFormatter,p=o.minDate,h=o.maxDate,f=o.yearPickerHidden;if(this.state.isYearPickerVisible){var m=r?r.getFullYear():void 0;return g.createElement(_a,{key:"calendarYear_"+(m&&m.toString()),minYear:p?p.getFullYear():void 0,maxYear:h?h.getFullYear():void 0,onSelectYear:this._onSelectYear,navigationIcons:u,onHeaderSelect:this._onYearPickerHeaderSelect,selectedYear:m,onRenderYear:this._onRenderYear,strings:{rangeAriaLabel:this._yearRangeToString,prevRangeAriaLabel:this._yearRangeToPrevDecadeLabel,nextRangeAriaLabel:this._yearRangeToNextDecadeLabel},ref:this._onCalendarYearRef})}for(var b=[],y=0;y<a.shortMonths.length/4;y++)b.push(y);var v=u.leftNavigation,_=u.rightNavigation,S=!p||Cr(p,new Date(r.getFullYear(),0,1,0,0,0,0))<0,C=!h||Cr(function(e){return new Date(e.getFullYear()+1,0,0,0,0,0,0)}(r),h)<0;return g.createElement("div",{className:Object(z.a)("ms-DatePicker-monthPicker",Sa.monthPicker)},g.createElement("div",{className:Object(z.a)("ms-DatePicker-header",Sa.header)},this.props.onHeaderSelect||!f?g.createElement("div",{className:Object(z.a)("ms-DatePicker-currentYear js-showYearPicker",Sa.currentYear,Sa.headerToggleView),onClick:this._onHeaderSelect,onKeyDown:this._onHeaderKeyDown,"aria-label":d.formatYear(r),role:"button","aria-atomic":!0,"aria-live":"polite",tabIndex:0},d.formatYear(r)):g.createElement("div",{className:Object(z.a)("ms-DatePicker-currentYear js-showYearPicker",Sa.currentYear)},d.formatYear(r)),g.createElement("div",{className:Object(z.a)("ms-DatePicker-yearComponents",Sa.yearComponents)},g.createElement("div",{className:Object(z.a)("ms-DatePicker-navContainer",Sa.navContainer)},g.createElement("button",{className:Object(z.a)("ms-DatePicker-prevYear js-prevYear",Sa.prevYear,(e={},e["ms-DatePicker-prevYear--disabled "+Sa.prevYearIsDisabled]=!S,e)),disabled:!S,onClick:S?this._onSelectPrevYear:void 0,onKeyDown:S?this._onSelectPrevYearKeyDown:void 0,title:a.prevYearAriaLabel?a.prevYearAriaLabel+" "+d.formatYear(br(r,-1)):void 0,role:"button",type:"button"},g.createElement(K,{iconName:Object(T.a)()?_:v})),g.createElement("button",{className:Object(z.a)("ms-DatePicker-nextYear js-nextYear",Sa.nextYear,(t={},t["ms-DatePicker-nextYear--disabled "+Sa.nextYearIsDisabled]=!C,t)),disabled:!C,onClick:C?this._onSelectNextYear:void 0,onKeyDown:C?this._onSelectNextYearKeyDown:void 0,title:a.nextYearAriaLabel?a.nextYearAriaLabel+" "+d.formatYear(br(r,1)):void 0,role:"button",type:"button"},g.createElement(K,{iconName:Object(T.a)()?v:_}))))),g.createElement(ze,null,g.createElement("div",{className:Object(z.a)("ms-DatePicker-optionGrid",Sa.optionGrid),role:"grid","aria-readonly":"true"},b.map((function(e){var t=a.shortMonths.slice(4*e,4*(e+1));return g.createElement("div",{key:"monthRow_"+e,role:"row"},t.map((function(t,o){var u,f=4*e+o,m=_r(r,f),b=n._isCurrentMonth(f,r.getFullYear(),s),y=r.getMonth()===f,v=i.getMonth()===f,_=i.getFullYear()===r.getFullYear(),S=(!p||Cr(p,vr(m))<1)&&(!h||Cr(yr(m),h)<1);return g.createElement("button",{role:"gridcell",className:Object(z.a)("ms-DatePicker-monthOption",Sa.monthOption,(u={},u["ms-DatePicker-day--today "+Sa.monthIsCurrentMonth]=c&&b,u["ms-DatePicker-day--highlighted "+Sa.monthIsHighlighted]=(c||l)&&v&&_,u["ms-DatePicker-monthOption--disabled "+Sa.monthOptionIsDisabled]=!S,u)),disabled:!S,key:f,onClick:S?n._selectMonthCallbacks[f]:void 0,onKeyDown:S?n._onSelectMonthKeyDown(f):void 0,"aria-label":d.formatMonthYear(m,a),"aria-selected":y,"data-is-focusable":!!S||void 0,ref:y?n._navigatedMonthRef:void 0,type:"button"},t)})))})))))},t.prototype.focus=function(){this._calendarYearRef?this._calendarYearRef.focus():this._navigatedMonthRef.current&&(this._navigatedMonthRef.current.tabIndex=0,this._navigatedMonthRef.current.focus())},t.prototype._isCurrentMonth=function(e,t,n){return n.getFullYear()===t&&n.getMonth()===e},t}(g.Component),xa=o,wa={leftNavigation:"Up",rightNavigation:"Down",closeIcon:"CalculatorMultiply"},Ta=[Yo.Monday,Yo.Tuesday,Yo.Wednesday,Yo.Thursday,Yo.Friday],ka={formatMonthDayYear:function(e,t){return t.months[e.getMonth()]+" "+e.getDate()+", "+e.getFullYear()},formatMonthYear:function(e,t){return t.months[e.getMonth()]+" "+e.getFullYear()},formatDay:function(e){return e.getDate().toString()},formatYear:function(e){return e.getFullYear().toString()}},Ia=function(e){function t(t){var n=e.call(this,t)||this;n._dayPicker=g.createRef(),n._monthPicker=g.createRef(),n._navigateDayPickerDay=function(e){n.setState({navigatedDayDate:e,navigatedMonthDate:e})},n._navigateMonthPickerDay=function(e){n.setState({navigatedMonthDate:e})},n._onNavigateDayDate=function(e,t){n._navigateDayPickerDay(e),n._focusOnUpdate=t},n._onNavigateMonthDate=function(e,t){if(!t)return n._navigateMonthPickerDay(e),void(n._focusOnUpdate=t);!n.props.showMonthPickerAsOverlay&&!n.props.isDayPickerVisible&&n._onSelectDate(e),n._navigateDayPickerDay(e)},n._onSelectDate=function(e,t){var o=n.props.onSelectDate;n.setState({selectedDate:e}),o&&o(e,t)},n._onHeaderSelect=function(e){n.setState({isDayPickerVisible:!n.state.isDayPickerVisible,isMonthPickerVisible:!n.state.isMonthPickerVisible}),e&&(n._focusOnUpdate=!0)},n._onGotoToday=function(){var e=n.props,t=e.dateRangeType,o=e.firstDayOfWeek,r=e.today,i=e.workWeekDays;if(e.selectDateOnClick){var a=xr(r,t,o,i);n._onSelectDate(r,a)}n._navigateDayPickerDay(r),n._focusOnUpdate=!0},n._onGotoTodayClick=function(e){n._onGotoToday()},n._onGotoTodayKeyDown=function(e){e.which===ge.a.enter&&(e.preventDefault(),n._onGotoToday())},n._onDatePickerPopupKeyDown=function(e){switch(e.which){case ge.a.enter:case ge.a.backspace:e.preventDefault();break;case ge.a.escape:n._handleEscKey(e)}},n._handleEscKey=function(e){n.props.onDismiss&&n.props.onDismiss()},Object(be.a)(n);var o=t.value&&!isNaN(t.value.getTime())?t.value:t.today||new Date;return n.state={selectedDate:o,navigatedDayDate:o,navigatedMonthDate:o,isMonthPickerVisible:!n.props.showMonthPickerAsOverlay&&n.props.isMonthPickerVisible,isDayPickerVisible:!!n.props.showMonthPickerAsOverlay||n.props.isDayPickerVisible},n._focusOnUpdate=!1,n}return Object(m.c)(t,e),t.prototype.UNSAFE_componentWillReceiveProps=function(e){var t=e.autoNavigateOnSelection,n=e.value,o=e.today,r=void 0===o?new Date:o;t&&!Sr(n,this.props.value)&&this.setState({navigatedMonthDate:n,navigatedDayDate:n}),this.setState({selectedDate:n||r})},t.prototype.componentDidUpdate=function(){this._focusOnUpdate&&(this.focus(),this._focusOnUpdate=!1)},t.prototype.render=function(){var e,t=this.props,n=t.firstDayOfWeek,o=t.dateRangeType,r=t.strings,i=t.showMonthPickerAsOverlay,a=t.autoNavigateOnSelection,s=t.showGoToToday,c=t.highlightCurrentMonth,l=t.highlightSelectedMonth,u=t.navigationIcons,d=t.minDate,p=t.maxDate,h=t.restrictedDates,f=t.className,b=t.showCloseButton,y=t.allFocusable,v=t.yearPickerHidden,_=t.today,S=Object(I.j)(this.props,I.h,["value"]),C=this.state,x=C.selectedDate,w=C.navigatedDayDate,T=C.navigatedMonthDate,k=C.isMonthPickerVisible,O=C.isDayPickerVisible,E=i?this._onHeaderSelect:void 0,N=!i&&!O,P=i&&s,D=s;return D&&w&&T&&_&&(D=w.getFullYear()!==_.getFullYear()||w.getMonth()!==_.getMonth()||T.getFullYear()!==_.getFullYear()||T.getMonth()!==_.getMonth()),g.createElement("div",{className:Object(z.a)("ms-DatePicker",xa.root,f),role:"application"},g.createElement("div",Object(m.a)({},S,{className:Object(z.a)("ms-DatePicker-picker ms-DatePicker-picker--opened ms-DatePicker-picker--focused",xa.picker,xa.pickerIsOpened,xa.pickerIsFocused,k&&"ms-DatePicker-monthPickerVisible "+xa.monthPickerVisible,k&&O&&"ms-DatePicker-calendarsInline "+xa.calendarsInline,N&&"ms-DatePicker-monthPickerOnly "+xa.monthPickerOnly,i&&"ms-DatePicker-monthPickerAsOverlay "+xa.monthPickerAsOverlay)}),g.createElement("div",{className:Object(z.a)("ms-DatePicker-holder ms-slideDownIn10",xa.holder,P&&xa.holderWithButton),onKeyDown:this._onDatePickerPopupKeyDown},g.createElement("div",{className:Object(z.a)("ms-DatePicker-frame",xa.frame)},g.createElement("div",{className:Object(z.a)("ms-DatePicker-wrap",xa.wrap,s&&xa.goTodaySpacing)},O&&g.createElement(la,{selectedDate:x,navigatedDate:w,today:this.props.today,onSelectDate:this._onSelectDate,onNavigateDate:this._onNavigateDayDate,onDismiss:this.props.onDismiss,firstDayOfWeek:n,dateRangeType:o,autoNavigateOnSelection:a,strings:r,onHeaderSelect:E,navigationIcons:u,showWeekNumbers:this.props.showWeekNumbers,firstWeekOfYear:this.props.firstWeekOfYear,dateTimeFormatter:this.props.dateTimeFormatter,showSixWeeksByDefault:this.props.showSixWeeksByDefault,minDate:d,maxDate:p,restrictedDates:h,workWeekDays:this.props.workWeekDays,componentRef:this._dayPicker,showCloseButton:b,allFocusable:y}),O&&k&&g.createElement("div",{className:xa.divider}),k&&g.createElement(Ca,{navigatedDate:T,selectedDate:w,strings:r,onNavigateDate:this._onNavigateMonthDate,today:this.props.today,highlightCurrentMonth:c,highlightSelectedMonth:l,onHeaderSelect:E,navigationIcons:u,dateTimeFormatter:this.props.dateTimeFormatter,minDate:d,maxDate:p,componentRef:this._monthPicker,yearPickerHidden:v||i}),s&&g.createElement("button",{role:"button",className:Object(z.a)("ms-DatePicker-goToday js-goToday",xa.goToday,(e={},e[xa.goTodayInlineMonth]=k,e[xa.goToTodayIsDisabled]=!D,e)),onClick:this._onGotoTodayClick,onKeyDown:this._onGotoTodayKeyDown,tabIndex:0,disabled:!D,type:"button"},r.goToToday))))),g.createElement(it.a,null))},t.prototype.focus=function(){this.state.isDayPickerVisible&&this._dayPicker.current?this._dayPicker.current.focus():this.state.isMonthPickerVisible&&this._monthPicker.current&&this._monthPicker.current.focus()},t.defaultProps={onSelectDate:void 0,onDismiss:void 0,isMonthPickerVisible:!0,isDayPickerVisible:!0,showMonthPickerAsOverlay:!1,value:void 0,today:new Date,firstDayOfWeek:Yo.Sunday,dateRangeType:Zo.Day,autoNavigateOnSelection:!1,showGoToToday:!0,strings:null,highlightCurrentMonth:!1,highlightSelectedMonth:!1,navigationIcons:wa,showWeekNumbers:!1,firstWeekOfYear:$o.FirstDay,dateTimeFormatter:ka,showSixWeeksByDefault:!1,workWeekDays:Ta,showCloseButton:!1,allFocusable:!1},t}(g.Component),Oa=n(116),Ea=function(e){function t(n){var o=e.call(this,n)||this;return o._root=g.createRef(),o._firstBumper=g.createRef(),o._lastBumper=g.createRef(),o._hasFocus=!1,o._onRootFocus=function(e){o.props.onFocus&&o.props.onFocus(e),o._hasFocus=!0},o._onRootBlur=function(e){o.props.onBlur&&o.props.onBlur(e);var t=e.relatedTarget;null===e.relatedTarget&&(t=o._getDocument().activeElement),Object(De.a)(o._root.current,t)||(o._hasFocus=!1)},o._onFirstBumperFocus=function(){o._onBumperFocus(!0)},o._onLastBumperFocus=function(){o._onBumperFocus(!1)},o._onBumperFocus=function(e){if(!o.props.disabled){var t=e===o._hasFocus?o._lastBumper.current:o._firstBumper.current;if(o._root.current){var n=e===o._hasFocus?Object(Ee.i)(o._root.current,t,!0,!1):Object(Ee.f)(o._root.current,t,!0,!1);n&&(o._isBumper(n)?o.focus():n.focus())}}},o._onFocusCapture=function(e){o.props.onFocusCapture&&o.props.onFocusCapture(e),e.target===e.currentTarget||o._isBumper(e.target)||(o._previouslyFocusedElementInTrapZone=e.target)},o._forceFocusInTrap=function(e){if(!o.props.disabled&&t._focusStack.length&&o===t._focusStack[t._focusStack.length-1]){var n=o._getDocument().activeElement;Object(De.a)(o._root.current,n)||(o.focus(),o._hasFocus=!0,e.preventDefault(),e.stopPropagation())}},o._forceClickInTrap=function(e){if(!o.props.disabled&&t._focusStack.length&&o===t._focusStack[t._focusStack.length-1]){var n=e.target;n&&!Object(De.a)(o._root.current,n)&&(o.focus(),o._hasFocus=!0,e.preventDefault(),e.stopPropagation())}},Object(be.a)(o),o}return Object(m.c)(t,e),t.prototype.componentDidMount=function(){this._bringFocusIntoZone(),this._updateEventHandlers(this.props),!this.props.disabled&&this._root.current&&this.props.enableAriaHiddenSiblings&&(this._unmodalize=Object(Oa.a)(this._root.current))},t.prototype.UNSAFE_componentWillReceiveProps=function(e){var t=e.elementToFocusOnDismiss;t&&this._previouslyFocusedElementOutsideTrapZone!==t&&(this._previouslyFocusedElementOutsideTrapZone=t),this._updateEventHandlers(e)},t.prototype.componentDidUpdate=function(e){var t=void 0===e.forceFocusInsideTrap||e.forceFocusInsideTrap,n=void 0===this.props.forceFocusInsideTrap||this.props.forceFocusInsideTrap,o=void 0!==e.disabled&&e.disabled,r=void 0!==this.props.disabled&&this.props.disabled;!t&&n||o&&!r?(this._bringFocusIntoZone(),!this._unmodalize&&this._root.current&&this.props.enableAriaHiddenSiblings&&(this._unmodalize=Object(Oa.a)(this._root.current))):(t&&!n||!o&&r)&&(this._returnFocusToInitiator(),this._unmodalize&&this._unmodalize())},t.prototype.componentWillUnmount=function(){this.props.disabled&&!this.props.forceFocusInsideTrap&&Object(De.a)(this._root.current,this._getDocument().activeElement)||this._returnFocusToInitiator(),this._disposeClickHandler&&(this._disposeClickHandler(),this._disposeClickHandler=void 0),this._disposeFocusHandler&&(this._disposeFocusHandler(),this._disposeFocusHandler=void 0),this._unmodalize&&this._unmodalize(),delete this._previouslyFocusedElementInTrapZone,delete this._previouslyFocusedElementOutsideTrapZone},t.prototype.render=function(){var e=this.props,t=e.className,n=e.disabled,o=void 0!==n&&n,r=e.ariaLabelledBy,i=Object(I.j)(this.props,I.h),a={style:{pointerEvents:"none",position:"fixed"},tabIndex:o?-1:0,"data-is-visible":!0};return g.createElement("div",Object(m.a)({},i,{className:t,ref:this._root,"aria-labelledby":r,onFocusCapture:this._onFocusCapture,onFocus:this._onRootFocus,onBlur:this._onRootBlur}),g.createElement("div",Object(m.a)({},a,{ref:this._firstBumper,onFocus:this._onFirstBumperFocus})),this.props.children,g.createElement("div",Object(m.a)({},a,{ref:this._lastBumper,onFocus:this._onLastBumperFocus})))},t.prototype.focus=function(){var e=this.props,t=e.focusPreviouslyFocusedInnerElement,n=e.firstFocusableSelector;if(t&&this._previouslyFocusedElementInTrapZone&&Object(De.a)(this._root.current,this._previouslyFocusedElementInTrapZone))this._focusAsync(this._previouslyFocusedElementInTrapZone);else{var o="string"==typeof n?n:n&&n(),r=null;this._root.current&&(o&&(r=this._root.current.querySelector("."+o)),r||(r=Object(Ee.j)(this._root.current,this._root.current.firstChild,!1,!1,!1,!0))),r&&this._focusAsync(r)}},t.prototype._focusAsync=function(e){this._isBumper(e)||Object(Ee.b)(e)},t.prototype._bringFocusIntoZone=function(){var e=this.props,n=e.elementToFocusOnDismiss,o=e.disabled,r=void 0!==o&&o,i=e.disableFirstFocus,a=void 0!==i&&i;r||(t._focusStack.push(this),this._previouslyFocusedElementOutsideTrapZone=n||this._getDocument().activeElement,a||Object(De.a)(this._root.current,this._previouslyFocusedElementOutsideTrapZone)||this.focus())},t.prototype._returnFocusToInitiator=function(){var e=this,n=this.props.ignoreExternalFocusing;t._focusStack=t._focusStack.filter((function(t){return e!==t}));var o=this._getDocument(),r=o.activeElement;n||!this._previouslyFocusedElementOutsideTrapZone||"function"!=typeof this._previouslyFocusedElementOutsideTrapZone.focus||!Object(De.a)(this._root.current,r)&&r!==o.body||this._focusAsync(this._previouslyFocusedElementOutsideTrapZone)},t.prototype._updateEventHandlers=function(e){var t=e.isClickableOutsideFocusTrap,n=void 0!==t&&t,o=e.forceFocusInsideTrap,r=void 0===o||o;r&&!this._disposeFocusHandler?this._disposeFocusHandler=Object(wt.a)(window,"focus",this._forceFocusInTrap,!0):!r&&this._disposeFocusHandler&&(this._disposeFocusHandler(),this._disposeFocusHandler=void 0),n||this._disposeClickHandler?n&&this._disposeClickHandler&&(this._disposeClickHandler(),this._disposeClickHandler=void 0):this._disposeClickHandler=Object(wt.a)(window,"click",this._forceClickInTrap,!0)},t.prototype._isBumper=function(e){return e===this._firstBumper.current||e===this._lastBumper.current},t.prototype._getDocument=function(){return Object(Fe.a)(this._root.current)},t._focusStack=[],t}(g.Component),Na=function(e){return g.createElement(Nn,Object(m.a)({},e),g.createElement(Ea,Object(m.a)({disabled:e.hidden},e.focusTrapProps),e.children))},Pa=Object(w.a)(),Da=function(e){var t=e.checked,n=void 0!==t&&t,o=e.className,r=e.theme,i=e.styles,a=e.useFastIcons,s=void 0===a||a,c=Pa(i,{theme:r,className:o,checked:n}),l=s?V:K;return g.createElement("div",{className:c.root},g.createElement(l,{iconName:"CircleRing",className:c.circle}),g.createElement(l,{iconName:"StatusCircleCheckmark",className:c.check}))},Aa={root:"ms-Check",circle:"ms-Check-circle",check:"ms-Check-check",checkHost:"ms-Check-checkHost"},Ra=Object(x.a)(Da,(function(e){var t,n,o,r,i,a=e.height,s=void 0===a?e.checkBoxHeight||"18px":a,c=e.checked,l=e.className,u=e.theme,d=u.palette,p=u.semanticColors,h=u.fonts,f=Object(T.a)(u),m=Object(b.R)(Aa,u),g={fontSize:s,position:"absolute",left:0,top:0,width:s,height:s,textAlign:"center",verticalAlign:"middle"};return{root:[m.root,h.medium,{lineHeight:"1",width:s,height:s,verticalAlign:"top",position:"relative",userSelect:"none",selectors:(t={":before":{content:'""',position:"absolute",top:"1px",right:"1px",bottom:"1px",left:"1px",borderRadius:"50%",opacity:1,background:p.bodyBackground}},t["."+m.checkHost+":hover &, ."+m.checkHost+":focus &, &:hover, &:focus"]={opacity:1},t)},c&&["is-checked",{selectors:{":before":{background:d.themePrimary,opacity:1,selectors:(n={},n[b.l]={background:"Window"},n)}}}],l],circle:[m.circle,g,{color:d.neutralSecondary,selectors:(o={},o[b.l]={color:"WindowText"},o)},c&&{color:d.white}],check:[m.check,g,{opacity:0,color:d.neutralSecondary,fontSize:b.o.medium,left:f?"-0.5px":".5px",selectors:(r={":hover":{opacity:1}},r[b.l]={MsHighContrastAdjust:"none"},r)},c&&{opacity:1,color:d.white,fontWeight:900,selectors:(i={},i[b.l]={border:"none",color:"WindowText"},i)}],checkHost:m.checkHost}}),void 0,{scope:"Check"},!0),Ma=Object(w.a)(),Fa=function(e){function t(t,n){var o=e.call(this,t,n)||this;return o._checkBox=g.createRef(),o._renderContent=function(e,t,n){void 0===n&&(n={});var r=o.props,i=r.disabled,a=r.inputProps,s=r.name,c=r.ariaLabel,l=r.ariaLabelledBy,u=r.ariaDescribedBy,d=r.onRenderLabel,p=void 0===d?o._onRenderLabel:d,h=r.checkmarkIconProps,f=r.ariaPositionInSet,b=r.ariaSetSize,y=r.title,v=r.label;return g.createElement("div",{className:o._classNames.root,title:y},g.createElement(it.a,null),g.createElement("input",Object(m.a)({type:"checkbox"},a,{"data-ktp-execute-target":n["data-ktp-execute-target"],checked:e,disabled:i,className:o._classNames.input,ref:o._checkBox,name:s,id:o._id,title:y,onChange:o._onChange,onFocus:o._onFocus,onBlur:o._onBlur,"aria-disabled":i,"aria-label":c||v,"aria-labelledby":l,"aria-describedby":Object(Ue.a)(u,n["aria-describedby"]),"aria-posinset":f,"aria-setsize":b,"aria-checked":t?"mixed":e?"true":"false"})),g.createElement("label",{className:o._classNames.label,htmlFor:o._id},g.createElement("div",{className:o._classNames.checkbox,"data-ktp-target":n["data-ktp-target"]},g.createElement(K,Object(m.a)({iconName:"CheckMark"},h,{className:o._classNames.checkmark}))),p(o.props,o._onRenderLabel)))},o._onFocus=function(e){var t=o.props.inputProps;t&&t.onFocus&&t.onFocus(e)},o._onBlur=function(e){var t=o.props.inputProps;t&&t.onBlur&&t.onBlur(e)},o._onChange=function(e){var t=o.props.onChange,n=o.state,r=n.isChecked;n.isIndeterminate?(t&&t(e,r),void 0===o.props.indeterminate&&o.setState({isIndeterminate:!1})):(t&&t(e,!r),void 0===o.props.checked&&o.setState({isChecked:!r}))},o._onRenderLabel=function(e){var t=e.label,n=e.title;return t?g.createElement("span",{"aria-hidden":"true",className:o._classNames.text,title:n},t):null},Object(be.a)(o),o._id=o.props.id||Object(Pe.a)("checkbox-"),o.state={isChecked:!!(void 0!==t.checked?t.checked:t.defaultChecked),isIndeterminate:!!(void 0!==t.indeterminate?t.indeterminate:t.defaultIndeterminate)},o}return Object(m.c)(t,e),t.getDerivedStateFromProps=function(e,t){var n={};return void 0!==e.indeterminate&&(n.isIndeterminate=!!e.indeterminate),void 0!==e.checked&&(n.isChecked=!!e.checked),Object.keys(n).length?n:null},t.prototype.render=function(){var e=this,t=this.props,n=t.className,o=t.disabled,r=t.boxSide,i=t.theme,a=t.styles,s=t.onRenderLabel,c=void 0===s?this._onRenderLabel:s,l=t.keytipProps,u=this.state,d=u.isChecked,p=u.isIndeterminate;return this._classNames=Ma(a,{theme:i,className:n,disabled:o,indeterminate:p,checked:d,reversed:"start"!==r,isUsingCustomLabelRender:c!==this._onRenderLabel}),l?g.createElement($e,{keytipProps:l,disabled:o},(function(t){return e._renderContent(d,p,t)})):this._renderContent(d,p)},Object.defineProperty(t.prototype,"indeterminate",{get:function(){return!!this.state.isIndeterminate},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"checked",{get:function(){return!!this.state.isChecked},enumerable:!0,configurable:!0}),t.prototype.focus=function(){this._checkBox.current&&this._checkBox.current.focus()},t.defaultProps={boxSide:"start"},t}(g.Component),ja={root:"ms-Checkbox",label:"ms-Checkbox-label",checkbox:"ms-Checkbox-checkbox",checkmark:"ms-Checkbox-checkmark",text:"ms-Checkbox-text"},La=Object(x.a)(Fa,(function(e){var t,n,o,r,i,a,s,c,l,u,d,p,h,f,g,y,v,_,S=e.className,C=e.theme,x=e.reversed,w=e.checked,T=e.disabled,k=e.isUsingCustomLabelRender,I=e.indeterminate,O=C.semanticColors,E=C.effects,N=C.palette,P=C.fonts,D=Object(b.R)(ja,C),A=O.inputForegroundChecked,R=N.neutralSecondary,M=N.neutralPrimary,F=O.inputBackgroundChecked,j=O.inputBackgroundChecked,L=O.disabledBodySubtext,H=O.inputBorderHovered,B=O.inputBackgroundCheckedHovered,z=O.inputBackgroundChecked,U=O.inputBackgroundCheckedHovered,V=O.inputBackgroundCheckedHovered,W=O.inputTextHovered,q=O.disabledBodySubtext,G=O.bodyText,K=O.disabledText,Y=[{content:'""',borderRadius:E.roundedCorner2,position:"absolute",width:10,height:10,top:4,left:4,boxSizing:"border-box",borderWidth:5,borderStyle:"solid",borderColor:T?L:F,transitionProperty:"border-width, border, border-color",transitionDuration:"200ms",transitionTimingFunction:"cubic-bezier(.4, 0, .23, 1)",selectors:(t={},t[b.l]={borderColor:"WindowText"},t)}];return{root:[D.root,{position:"relative",display:"flex"},x&&"reversed",w&&"is-checked",!T&&"is-enabled",T&&"is-disabled",!T&&[!w&&{selectors:(n={},n[":hover ."+D.checkbox]={borderColor:H,selectors:(o={},o[b.l]={borderColor:"Highlight"},o)},n[":focus ."+D.checkbox]={borderColor:H},n[":hover ."+D.checkmark]={color:R,opacity:"1",selectors:(r={},r[b.l]={color:"Highlight"},r)},n)},w&&!I&&{selectors:(i={},i[":hover ."+D.checkbox]={background:U,borderColor:V},i[":focus ."+D.checkbox]={background:U,borderColor:V},i[b.l]={selectors:(a={},a[":hover ."+D.checkbox]={background:"Window",borderColor:"Highlight"},a[":focus ."+D.checkbox]={background:"Highlight"},a[":focus:hover ."+D.checkbox]={background:"Highlight"},a[":focus:hover ."+D.checkmark]={color:"Window"},a[":hover ."+D.checkmark]={color:"Highlight"},a)},i)},I&&{selectors:(s={},s[":hover ."+D.checkbox+", :hover ."+D.checkbox+":after"]={borderColor:B,selectors:(c={},c[b.l]={borderColor:"WindowText"},c)},s[":focus ."+D.checkbox]={borderColor:B},s[":hover ."+D.checkmark]={opacity:"0"},s)},{selectors:(l={},l[":hover ."+D.text+", :focus ."+D.text]={color:W,selectors:(u={},u[b.l]={color:T?"GrayText":"WindowText"},u)},l)}],S],input:{position:"absolute",background:"none",opacity:0,selectors:(d={},d["."+Fn.a+" &:focus + label::before"]={outline:"1px solid "+C.palette.neutralSecondary,outlineOffset:"2px",selectors:(p={},p[b.l]={outline:"1px solid ActiveBorder"},p)},d)},label:[D.label,C.fonts.medium,{display:"flex",alignItems:k?"center":"flex-start",cursor:T?"default":"pointer",position:"relative",userSelect:"none"},x&&{flexDirection:"row-reverse",justifyContent:"flex-end"},{selectors:{"&::before":{position:"absolute",left:0,right:0,top:0,bottom:0,content:'""',pointerEvents:"none"}}}],checkbox:[D.checkbox,{position:"relative",display:"flex",flexShrink:0,alignItems:"center",justifyContent:"center",height:"20px",width:"20px",border:"1px solid "+M,borderRadius:E.roundedCorner2,boxSizing:"border-box",transitionProperty:"background, border, border-color",transitionDuration:"200ms",transitionTimingFunction:"cubic-bezier(.4, 0, .23, 1)",overflow:"hidden",selectors:Object(m.a)((h={":after":I?Y:null},h[b.l]={borderColor:"WindowText"},h),Object(b.N)())},I&&{borderColor:F},x?{marginLeft:4}:{marginRight:4},!T&&!I&&w&&{background:z,borderColor:j,selectors:(f={},f[b.l]={background:"Highlight",borderColor:"Highlight"},f)},T&&{borderColor:L,selectors:(g={},g[b.l]={borderColor:"GrayText"},g)},w&&T&&{background:q,borderColor:L,selectors:(y={},y[b.l]={background:"Window"},y)}],checkmark:[D.checkmark,{opacity:w?"1":"0",color:A,selectors:(v={},v[b.l]={color:T?"GrayText":"Window",MsHighContrastAdjust:"none"},v)}],text:[D.text,{color:T?K:G,fontSize:P.medium.fontSize,lineHeight:"20px",selectors:Object(m.a)((_={},_[b.l]={color:T?"GrayText":"WindowText"},_),Object(b.N)())},x?{marginRight:4}:{marginLeft:4}]}}),void 0,{scope:"Checkbox"}),Ha=Object(w.a)({cacheSize:100}),Ba=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(m.c)(t,e),t.prototype.render=function(){var e=this.props,t=e.as,n=void 0===t?"label":t,o=e.children,r=e.className,i=e.disabled,a=e.styles,s=e.required,c=e.theme,l=Ha(a,{className:r,disabled:i,required:s,theme:c});return g.createElement(n,Object(m.a)({},Object(I.j)(this.props,I.h),{className:l.root}),o)},t}(g.Component),za=Object(x.a)(Ba,(function(e){var t,n=e.theme,o=e.className,r=e.disabled,i=e.required,a=n.semanticColors,s=b.k.semibold,c=a.bodyText,l=a.disabledBodyText,u=a.errorText;return{root:["ms-Label",n.fonts.medium,{fontWeight:s,color:c,boxSizing:"border-box",boxShadow:"none",margin:0,display:"block",padding:"5px 0",wordWrap:"break-word",overflowWrap:"break-word"},r&&{color:l,selectors:(t={},t[b.l]={color:"GrayText"},t)},i&&{selectors:{"::after":{content:"' *'",color:u,paddingRight:12}}},o]}}),void 0,{scope:"Label"}),Ua=n(70),Va=n(117),Wa=Object(w.a)(),qa=function(e){function t(t){var n=e.call(this,t)||this;return n._onChange=function(e){var t=n.props.onChange;t&&t(e,n.props)},n._onBlur=function(e){var t=n.props.onBlur;t&&t(e,n.props)},n._onFocus=function(e){var t=n.props.onFocus;t&&t(e,n.props)},n._onRenderField=function(e){var t=e.id,o=e.imageSrc,r=e.imageAlt,i=void 0===r?"":r,a=e.selectedImageSrc,s=e.iconProps,c=e.imageSize?e.imageSize:{width:32,height:32},l=(e.onRenderLabel?Object(Va.a)(e.onRenderLabel,n._onRenderLabel):n._onRenderLabel)(e);return g.createElement("label",{htmlFor:t,className:n._classNames.field},o&&g.createElement("div",{className:n._classNames.innerField},g.createElement("div",{className:n._classNames.imageWrapper},g.createElement(H,{src:o,alt:i,width:c.width,height:c.height})),g.createElement("div",{className:n._classNames.selectedImageWrapper},g.createElement(H,{src:a,alt:i,width:c.width,height:c.height}))),s&&g.createElement("div",{className:n._classNames.innerField},g.createElement("div",{className:n._classNames.iconWrapper},g.createElement(K,Object(m.a)({},s)))),o||s?g.createElement("div",{className:n._classNames.labelWrapper},l):l)},n._onRenderLabel=function(e){return g.createElement("span",{id:e.labelId,className:"ms-ChoiceFieldLabel"},e.text)},Object(be.a)(n),n}return Object(m.c)(t,e),t.prototype.render=function(){var e=this.props,t=e.ariaLabel,n=e.focused,o=e.required,r=e.theme,i=e.iconProps,a=e.imageSrc,s=e.imageSize,c=e.disabled,l=e.checked,u=e.id,d=e.styles,p=e.name,h=e.onRenderField,f=void 0===h?this._onRenderField:h,b=Object(m.d)(e,["ariaLabel","focused","required","theme","iconProps","imageSrc","imageSize","disabled","checked","id","styles","name","onRenderField"]);this._classNames=Wa(d,{theme:r,hasIcon:!!i,hasImage:!!a,checked:l,disabled:c,imageIsLarge:!!a&&(s.width>71||s.height>71),imageSize:s,focused:n});var y=Object(I.j)(b,I.o),v=y.className,_=Object(m.d)(y,["className"]);return g.createElement("div",{className:this._classNames.root},g.createElement("div",{className:this._classNames.choiceFieldWrapper},g.createElement("input",Object(m.a)({"aria-label":t,id:u,className:Object(z.a)(this._classNames.input,v),type:"radio",name:p,disabled:c,checked:l,required:o},_,{onChange:this._onChange,onFocus:this._onFocus,onBlur:this._onBlur})),f(this.props,this._onRenderField)))},t.defaultProps={imageSize:{width:32,height:32}},t}(g.Component),Ga={root:"ms-ChoiceField",choiceFieldWrapper:"ms-ChoiceField-wrapper",input:"ms-ChoiceField-input",field:"ms-ChoiceField-field",innerField:"ms-ChoiceField-innerField",imageWrapper:"ms-ChoiceField-imageWrapper",iconWrapper:"ms-ChoiceField-iconWrapper",labelWrapper:"ms-ChoiceField-labelWrapper",checked:"is-checked"};function Ka(e,t){var n,o;return["is-inFocus",{selectors:(n={},n["."+Fn.a+" &"]={position:"relative",outline:"transparent",selectors:{"::-moz-focus-inner":{border:0},":after":{content:'""',top:-2,right:-2,bottom:-2,left:-2,pointerEvents:"none",border:"1px solid "+e,position:"absolute",selectors:(o={},o[b.l]={borderColor:"WindowText",borderWidth:t?1:2},o)}}},n)}]}function Ya(e,t,n){return[t,{paddingBottom:2,transitionProperty:"opacity",transitionDuration:"200ms",transitionTimingFunction:"ease",selectors:{".ms-Image":{display:"inline-block",borderStyle:"none"}}},(n?!e:e)&&["is-hidden",{position:"absolute",left:0,top:0,width:"100%",height:"100%",overflow:"hidden",opacity:0}]]}var Qa=Object(x.a)(qa,(function(e){var t,n,o,r,i,a=e.theme,s=e.hasIcon,c=e.hasImage,l=e.checked,u=e.disabled,d=e.imageIsLarge,p=e.focused,h=e.imageSize,f=a.palette,m=a.semanticColors,g=a.fonts,y=Object(b.R)(Ga,a),v=f.neutralPrimary,_=m.inputBorderHovered,S=m.inputBackgroundChecked,C=f.themeDark,x=m.disabledBodySubtext,w=m.bodyBackground,T=f.neutralSecondary,k=m.inputBackgroundChecked,I=f.themeDark,O=m.disabledBodySubtext,E=f.neutralDark,N=m.focusBorder,P=m.inputBorderHovered,D=m.inputBackgroundChecked,A=f.themeDark,R=f.neutralLighter,M={selectors:{".ms-ChoiceFieldLabel":{color:E},":before":{borderColor:l?C:_},":after":[!s&&!c&&!l&&{content:'""',transitionProperty:"background-color",left:5,top:5,width:10,height:10,backgroundColor:T},l&&{borderColor:I}]}},F={borderColor:l?A:P,selectors:{":before":{opacity:1,borderColor:l?C:_}}},j=[{content:'""',display:"inline-block",backgroundColor:w,borderWidth:1,borderStyle:"solid",borderColor:v,width:20,height:20,fontWeight:"normal",position:"absolute",top:0,left:0,boxSizing:"border-box",transitionProperty:"border-color",transitionDuration:"200ms",transitionTimingFunction:"cubic-bezier(.4, 0, .23, 1)",borderRadius:"50%"},u&&{borderColor:x,selectors:(t={},t[b.l]={color:"GrayText"},t)},l&&{borderColor:u?x:S,selectors:(n={},n[b.l]={borderColor:"Highlight"},n)},(s||c)&&{top:3,right:3,left:"auto",opacity:l?1:0}],L=[{content:'""',width:0,height:0,borderRadius:"50%",position:"absolute",left:10,right:0,transitionProperty:"border-width",transitionDuration:"200ms",transitionTimingFunction:"cubic-bezier(.4, 0, .23, 1)",boxSizing:"border-box"},l&&{borderWidth:5,borderStyle:"solid",borderColor:u?O:k,left:5,top:5,width:10,height:10,selectors:(o={},o[b.l]={borderColor:"Highlight"},o)},l&&(s||c)&&{top:8,right:8,left:"auto"}];return{root:[y.root,a.fonts.medium,{display:"flex",alignItems:"center",boxSizing:"border-box",color:m.bodyText,minHeight:26,border:"none",position:"relative",marginTop:8,selectors:{".ms-ChoiceFieldLabel":{display:"inline-block"}}},!s&&!c&&{selectors:{".ms-ChoiceFieldLabel":{paddingLeft:"26px"}}},c&&"ms-ChoiceField--image",s&&"ms-ChoiceField--icon",(s||c)&&{display:"inline-flex",fontSize:0,margin:"0 4px 4px 0",paddingLeft:0,backgroundColor:R,height:"100%"}],choiceFieldWrapper:[y.choiceFieldWrapper,p&&Ka(N,s||c)],input:[y.input,{position:"absolute",opacity:0,top:0,right:0,width:"100%",height:"100%",margin:0},u&&"is-disabled"],field:[y.field,l&&y.checked,{display:"inline-block",cursor:"pointer",marginTop:0,position:"relative",verticalAlign:"top",userSelect:"none",minHeight:20,selectors:{":hover":!u&&M,":focus":!u&&M,":before":j,":after":L}},s&&"ms-ChoiceField--icon",c&&"ms-ChoiceField-field--image",(s||c)&&{boxSizing:"content-box",cursor:"pointer",paddingTop:22,margin:0,textAlign:"center",transitionProperty:"all",transitionDuration:"200ms",transitionTimingFunction:"ease",border:"1px solid transparent",justifyContent:"center",alignItems:"center",display:"flex",flexDirection:"column"},l&&{borderColor:D},(s||c)&&!u&&{selectors:{":hover":F,":focus":F}},u&&{cursor:"default",selectors:(r={".ms-ChoiceFieldLabel":{color:m.disabledBodyText}},r[b.l]={color:"GrayText"},r)},l&&u&&{borderColor:R}],innerField:[y.innerField,c&&{height:h.height,width:h.width},(s||c)&&{position:"relative",display:"inline-block",paddingLeft:30,paddingRight:30},(s||c)&&d&&{paddingLeft:24,paddingRight:24},(s||c)&&u&&{opacity:.25,selectors:(i={},i[b.l]={color:"GrayText",opacity:1},i)}],imageWrapper:Ya(!1,y.imageWrapper,l),selectedImageWrapper:Ya(!0,y.imageWrapper,l),iconWrapper:[y.iconWrapper,{fontSize:32,lineHeight:32,height:32}],labelWrapper:[y.labelWrapper,g.medium,(s||c)&&{display:"block",position:"relative",margin:"4px 8px 2px 8px",height:32,lineHeight:15,maxWidth:2*h.width,overflow:"hidden",whiteSpace:"pre-wrap"}]}}),void 0,{scope:"ChoiceGroupOption"}),$a=Object(w.a)(),Za=function(e){function t(t){var n=e.call(this,t)||this;n._focusCallbacks={},n._changeCallbacks={},n._onBlur=function(e,t){n.setState({keyFocused:void 0})},Object(be.a)(n);var o=t.defaultSelectedKey,r=t.options,i=void 0===r?[]:r,a=!Xa(t)&&void 0!==o&&i.some((function(e){return e.key===o}));return n.state={keyChecked:a?o:n._getKeyChecked(t)},n._id=Object(Pe.a)("ChoiceGroup"),n._labelId=Object(Pe.a)("ChoiceGroupLabel"),n}return Object(m.c)(t,e),Object.defineProperty(t.prototype,"checkedOption",{get:function(){var e=this,t=this.props.options,n=void 0===t?[]:t;return Object(qe.d)(n,(function(t){return t.key===e.state.keyChecked}))},enumerable:!0,configurable:!0}),t.prototype.componentDidUpdate=function(e,t){if(e!==this.props){var n=this._getKeyChecked(this.props);n!==this._getKeyChecked(e)&&this.setState({keyChecked:n})}},t.prototype.render=function(){var e=this,t=this.props,n=t.className,o=t.theme,r=t.styles,i=t.options,a=void 0===i?[]:i,s=t.label,c=t.required,l=t.disabled,u=t.name,d=this.state,p=d.keyChecked,h=d.keyFocused,f=Object(I.j)(this.props,I.h,["onChange","className","required"]),b=$a(r,{theme:o,className:n,optionsContainIconOrImage:a.some((function(e){return!(!e.iconProps&&!e.imageSrc)}))}),y=this._id+"-label",v=this.props.ariaLabelledBy||(s?y:this.props["aria-labelledby"]);return g.createElement("div",Object(m.a)({className:b.applicationRole},f),g.createElement("div",Object(m.a)({className:b.root,role:"radiogroup"},v&&{"aria-labelledby":v}),s&&g.createElement(za,{className:b.label,required:c,id:y,disabled:l},s),g.createElement("div",{className:b.flexContainer},a.map((function(t){var n=Object(m.a)(Object(m.a)({},t),{focused:t.key===h,checked:t.key===p,disabled:t.disabled||l,id:e._getOptionId(t),labelId:e._labelId+"-"+t.key,name:u||e._id,required:c});return g.createElement(Qa,Object(m.a)({key:t.key,onBlur:e._onBlur,onFocus:e._onFocus(t.key),onChange:e._onChange(t.key)},n))})))))},t.prototype.focus=function(){var e=this.props.options,t=void 0===e?[]:e,n=this.checkedOption||t.filter((function(e){return!e.disabled}))[0],o=n&&document.getElementById(this._getOptionId(n));o&&o.focus()},t.prototype._onFocus=function(e){var t=this;return this._focusCallbacks[e]||(this._focusCallbacks[e]=function(n,o){t.setState({keyFocused:e})}),this._focusCallbacks[e]},t.prototype._onChange=function(e){var t=this;return this._changeCallbacks[e]||(this._changeCallbacks[e]=function(n,o){var r=t.props,i=r.onChanged,a=r.onChange;Xa(t.props)||t.setState({keyChecked:e});var s=Object(qe.d)(t.props.options||[],(function(t){return t.key===e}));a?a(n,s):i&&i(s,n)}),this._changeCallbacks[e]},t.prototype._getKeyChecked=function(e){if(void 0!==e.selectedKey)return e.selectedKey;var t=e.options,n=(void 0===t?[]:t).filter((function(e){return e.checked}));return n[0]&&n[0].key},t.prototype._getOptionId=function(e){return this._id+"-"+e.key},t}(g.Component);function Xa(e){return Object(Ua.a)(e,"selectedKey")}var Ja,es={root:"ms-ChoiceFieldGroup",flexContainer:"ms-ChoiceFieldGroup-flexContainer"},ts=Object(x.a)(Za,(function(e){var t=e.className,n=e.optionsContainIconOrImage,o=e.theme,r=Object(b.R)(es,o);return{applicationRole:t,root:[r.root,o.fonts.medium,{display:"block"}],flexContainer:[r.flexContainer,n&&{display:"flex",flexDirection:"row",flexWrap:"wrap"}]}}),void 0,{scope:"ChoiceGroup"}),ns=Object(y.c)((function(){return Object(b.ab)({"0%":{transform:"translate(0, 0)",animationTimingFunction:"linear"},"78.57%":{transform:"translate(0, 0)",animationTimingFunction:"cubic-bezier(0.62, 0, 0.56, 1)"},"82.14%":{transform:"translate(0, -5px)",animationTimingFunction:"cubic-bezier(0.58, 0, 0, 1)"},"84.88%":{transform:"translate(0, 9px)",animationTimingFunction:"cubic-bezier(1, 0, 0.56, 1)"},"88.1%":{transform:"translate(0, -2px)",animationTimingFunction:"cubic-bezier(0.58, 0, 0.67, 1)"},"90.12%":{transform:"translate(0, 0)",animationTimingFunction:"linear"},"100%":{transform:"translate(0, 0)"}})})),os=Object(y.c)((function(){return Object(b.ab)({"0%":{transform:" scale(0)",animationTimingFunction:"linear"},"14.29%":{transform:"scale(0)",animationTimingFunction:"cubic-bezier(0.84, 0, 0.52, 0.99)"},"16.67%":{transform:"scale(1.15)",animationTimingFunction:"cubic-bezier(0.48, -0.01, 0.52, 1.01)"},"19.05%":{transform:"scale(0.95)",animationTimingFunction:"cubic-bezier(0.48, 0.02, 0.52, 0.98)"},"21.43%":{transform:"scale(1)",animationTimingFunction:"linear"},"42.86%":{transform:"scale(1)",animationTimingFunction:"cubic-bezier(0.48, -0.02, 0.52, 1.02)"},"45.71%":{transform:"scale(0.8)",animationTimingFunction:"cubic-bezier(0.48, 0.01, 0.52, 0.99)"},"50%":{transform:"scale(1)",animationTimingFunction:"linear"},"90.12%":{transform:"scale(1)",animationTimingFunction:"cubic-bezier(0.48, -0.02, 0.52, 1.02)"},"92.98%":{transform:"scale(0.8)",animationTimingFunction:"cubic-bezier(0.48, 0.01, 0.52, 0.99)"},"97.26%":{transform:"scale(1)",animationTimingFunction:"linear"},"100%":{transform:"scale(1)"}})})),rs=Object(y.c)((function(){return Object(b.ab)({"0%":{transform:"rotate(0deg)",animationTimingFunction:"linear"},"83.33%":{transform:" rotate(0deg)",animationTimingFunction:"cubic-bezier(0.33, 0, 0.67, 1)"},"83.93%":{transform:"rotate(15deg)",animationTimingFunction:"cubic-bezier(0.33, 0, 0.67, 1)"},"84.52%":{transform:"rotate(-15deg)",animationTimingFunction:"cubic-bezier(0.33, 0, 0.67, 1)"},"85.12%":{transform:"rotate(15deg)",animationTimingFunction:"cubic-bezier(0.33, 0, 0.67, 1)"},"85.71%":{transform:"rotate(-15deg)",animationTimingFunction:"cubic-bezier(0.33, 0, 0.67, 1)"},"86.31%":{transform:"rotate(0deg)",animationTimingFunction:"linear"},"100%":{transform:"rotate(0deg)"}})})),is=Object(y.c)((function(){var e;return Object(b.cb)({root:[{position:"absolute",boxSizing:"border-box",border:"1px solid ${}",selectors:(e={},e[b.l]={border:"1px solid WindowText"},e)},Object(b.L)()],container:{position:"relative"},main:{backgroundColor:"#ffffff",overflowX:"hidden",overflowY:"hidden",position:"relative"},overFlowYHidden:{overflowY:"hidden"}})})),as={opacity:0},ss=((Ja={})[Ct.top]="slideUpIn20",Ja[Ct.bottom]="slideDownIn20",Ja[Ct.left]="slideLeftIn20",Ja[Ct.right]="slideRightIn20",Ja),cs=function(e){function t(t){var n=e.call(this,t)||this;return n._positionedHost=g.createRef(),n._contentHost=g.createRef(),n.dismiss=function(e){n.onResize(e)},n.onResize=function(e){var t=n.props.onDismiss;t?t(e):n._updateAsyncPosition()},n._setInitialFocus=function(){n._contentHost.current&&n.props.setInitialFocus&&!n._didSetInitialFocus&&n.state.positions&&(n._didSetInitialFocus=!0,Object(Ee.c)(n._contentHost.current))},n._onComponentDidMount=function(){n._async.setTimeout((function(){n._events.on(n._targetWindow,"scroll",n._async.throttle(n._dismissOnScroll,10),!0),n._events.on(n._targetWindow,"resize",n._async.throttle(n.onResize,10),!0),n._events.on(n._targetWindow.document.body,"focus",n._dismissOnLostFocus,!0),n._events.on(n._targetWindow.document.body,"click",n._dismissOnLostFocus,!0)}),0),n.props.onLayerMounted&&n.props.onLayerMounted(),n._updateAsyncPosition(),n._setHeightOffsetEveryFrame()},Object(be.a)(n),n._async=new ye.a(n),n._events=new Ve.a(n),n._didSetInitialFocus=!1,n.state={positions:void 0,heightOffset:0},n._positionAttempts=0,n}return Object(m.c)(t,e),t.prototype.UNSAFE_componentWillMount=function(){this._setTargetWindowAndElement(this._getTarget())},t.prototype.componentDidMount=function(){this._onComponentDidMount()},t.prototype.componentDidUpdate=function(){this._setInitialFocus(),this._updateAsyncPosition()},t.prototype.UNSAFE_componentWillUpdate=function(e){var t=this._getTarget(e);(t!==this._getTarget()||"string"==typeof t||t instanceof String)&&(this._maxHeight=void 0,this._setTargetWindowAndElement(t)),e.offsetFromTarget!==this.props.offsetFromTarget&&(this._maxHeight=void 0),e.finalHeight!==this.props.finalHeight&&this._setHeightOffsetEveryFrame()},t.prototype.componentWillUnmount=function(){this._async.dispose(),this._events.dispose()},t.prototype.render=function(){if(!this._targetWindow)return null;var e=this.props,t=e.className,n=e.positioningContainerWidth,o=e.positioningContainerMaxHeight,r=e.children,i=this.state.positions,a=is(),s=i&&i.targetEdge?b.a[ss[i.targetEdge]]:"",c=this._getMaxHeight()+this.state.heightOffset,l=o&&o>c?c:o,u=g.createElement("div",{ref:this._positionedHost,className:Object(z.a)("ms-PositioningContainer",a.container)},g.createElement("div",{className:Object(b.db)("ms-PositioningContainer-layerHost",a.root,t,s,!!n&&{width:n}),style:i?i.elementPosition:as,tabIndex:-1,ref:this._contentHost},r,l));return this.props.doNotLayer?u:g.createElement(En,null,u)},t.prototype._dismissOnScroll=function(e){var t=this.props.preventDismissOnScroll;this.state.positions&&!t&&this._dismissOnLostFocus(e)},t.prototype._dismissOnLostFocus=function(e){var t=e.target,n=this._positionedHost.current&&!Object(De.a)(this._positionedHost.current,t);(!this._target&&n||e.target!==this._targetWindow&&n&&(this._target.stopPropagation||!this._target||t!==this._target&&!Object(De.a)(this._target,t)))&&this.onResize(e)},t.prototype._updateAsyncPosition=function(){var e=this;this._async.requestAnimationFrame((function(){return e._updatePosition()}))},t.prototype._updatePosition=function(){var e=this.state.positions,t=this.props,n=t.offsetFromTarget,o=t.onPositioned,r=this._positionedHost.current,i=this._contentHost.current;if(r&&i){var a=void 0;if((a=Object(ot.a)(a,this.props)).bounds=this._getBounds(),a.target=this._target,document.body.contains(a.target)){a.gapSpace=n;var s=function(e,t,n,o){return function(e,t,n,o){var r=e.bounds?Yt(e.bounds):new kt(0,window.innerWidth-Object(Re.g)(),0,window.innerHeight);return $t(Qt(e,n,r,o),t,r,e.coverTarget)}(e,t,n,o)}(a,r,i);!e&&s||e&&s&&!this._arePositionsEqual(e,s)&&this._positionAttempts<5?(this._positionAttempts++,this.setState({positions:s},(function(){o&&o(s)}))):(this._positionAttempts=0,o&&o(s))}else void 0!==e&&this.setState({positions:void 0})}},t.prototype._getBounds=function(){if(!this._positioningBounds){var e=this.props.bounds;e||(e={top:0+this.props.minPagePadding,left:0+this.props.minPagePadding,right:this._targetWindow.innerWidth-this.props.minPagePadding,bottom:this._targetWindow.innerHeight-this.props.minPagePadding,width:this._targetWindow.innerWidth-2*this.props.minPagePadding,height:this._targetWindow.innerHeight-2*this.props.minPagePadding}),this._positioningBounds=e}return this._positioningBounds},t.prototype._getMaxHeight=function(){var e=this.props,t=e.directionalHintFixed,n=e.offsetFromTarget,o=e.directionalHint;if(!this._maxHeight)if(t&&this._target){var r=n||0;this._maxHeight=Xt(this._target,o,r,this._getBounds())}else this._maxHeight=this._getBounds().height-2;return this._maxHeight},t.prototype._arePositionsEqual=function(e,t){return this._comparePositions(e.elementPosition,t.elementPosition)},t.prototype._comparePositions=function(e,t){for(var n in t)if(t.hasOwnProperty(n)){var o=e[n],r=t[n];if(o&&r&&o.toFixed(2)!==r.toFixed(2))return!1}return!0},t.prototype._setTargetWindowAndElement=function(e){var t=this._positionedHost.current;if(e)if("string"==typeof e){var n=Object(Fe.a)();this._target=n?n.querySelector(e):null,this._targetWindow=Object(j.a)(t)}else if(e.stopPropagation)this._targetWindow=Object(j.a)(e.target),this._target=e;else if(void 0===e.left&&void 0===e.x||void 0===e.top&&void 0===e.y){var o=e;this._targetWindow=Object(j.a)(o),this._target=e}else this._targetWindow=Object(j.a)(t),this._target=e;else this._targetWindow=Object(j.a)(t)},t.prototype._setHeightOffsetEveryFrame=function(){var e=this;this._contentHost&&this.props.finalHeight&&(this._setHeightOffsetTimer=this._async.requestAnimationFrame((function(){if(e._contentHost.current){var t=e._contentHost.current.lastChild,n=t.scrollHeight-t.offsetHeight;e.setState({heightOffset:e.state.heightOffset+n}),t.offsetHeight<e.props.finalHeight?e._setHeightOffsetEveryFrame():e._async.cancelAnimationFrame(e._setHeightOffsetTimer)}})))},t.prototype._getTarget=function(e){return void 0===e&&(e=this.props),e.target},t.defaultProps={preventDismissOnScroll:!1,offsetFromTarget:0,minPagePadding:8,directionalHint:st.bottomAutoEdge},t}(g.Component);function ls(e){return{root:[{position:"absolute",boxShadow:"inherit",border:"none",boxSizing:"border-box",transform:e.transform,width:e.width,height:e.height,left:e.left,top:e.top,right:e.right,bottom:e.bottom}],beak:{fill:e.color,display:"block"}}}var us=function(e){function t(t){var n=e.call(this,t)||this;return Object(be.a)(n),n}return Object(m.c)(t,e),t.prototype.render=function(){var e,t,n,o,r,i,a=this.props,s=a.left,c=a.top,l=a.bottom,u=a.right,d=a.color,p=a.direction,h=void 0===p?Ct.top:p;switch(h===Ct.top||h===Ct.bottom?(e=10,t=18):(e=18,t=10),h){case Ct.top:default:n="9, 0",o="18, 10",r="0, 10",i="translateY(-100%)";break;case Ct.right:n="0, 0",o="10, 10",r="0, 18",i="translateX(100%)";break;case Ct.bottom:n="0, 0",o="18, 0",r="9, 10",i="translateY(100%)";break;case Ct.left:n="10, 0",o="0, 10",r="10, 18",i="translateX(-100%)"}var f=Object(w.a)()(ls,{left:s,top:c,bottom:l,right:u,height:e+"px",width:t+"px",transform:i,color:d});return g.createElement("div",{className:f.root,role:"presentation"},g.createElement("svg",{height:e,width:t,className:f.beak},g.createElement("polygon",{points:n+" "+o+" "+r})))},t}(g.Component),ds=Object(w.a)(),ps=function(e){function t(t){var n=e.call(this,t)||this;return n._entityHost=g.createRef(),n._entityInnerHostElement=g.createRef(),n._translateAnimationContainer=g.createRef(),n._ariaAlertContainer=g.createRef(),n._childrenContainer=g.createRef(),n._positioningContainer=g.createRef(),n.dismiss=function(e){var t=n.props.onDismiss;t&&t(e)},n._onKeyDown=function(e){(e.altKey&&e.which===ge.a.c||e.which===ge.a.enter&&n._translateAnimationContainer.current&&n._translateAnimationContainer.current.contains(e.target))&&n._onFocusHandler()},n._onFocusHandler=function(){n.state.isCollapsed&&n._openCoachmark()},n._onPositioned=function(e){n._async.requestAnimationFrame((function(){n.setState({targetAlignment:e.alignmentEdge,targetPosition:e.targetEdge})}))},n._setBeakPosition=function(){var e,t,o,r,i,a,s=n.state.targetAlignment;switch(n._beakDirection){case Ct.top:case Ct.bottom:s?s===Ct.left?(e="7px",i="left"):(o="7px",i="right"):(e="calc(50% - 9px)",i="center"),n._beakDirection===Ct.top?(t="3px",a="top"):(r="3px",a="bottom");break;case Ct.left:case Ct.right:s?s===Ct.top?(t="7px",a="top"):(r="7px",a="bottom"):(t="calc(50% - 9px)",a="center"),n._beakDirection===Ct.left?(Object(T.a)(n.props.theme)?o="3px":e="3px",i="left"):(Object(T.a)(n.props.theme)?e="3px":o="3px",i="right")}n.setState({beakLeft:e,beakRight:o,beakBottom:r,beakTop:t,transformOrigin:i+" "+a})},n._openCoachmark=function(){n.setState({isCollapsed:!1}),n.props.onAnimationOpenStart&&n.props.onAnimationOpenStart(),n._entityInnerHostElement.current&&n._entityInnerHostElement.current.addEventListener("transitionend",(function(){n._async.setTimeout((function(){n._entityInnerHostElement.current&&Object(Ee.c)(n._entityInnerHostElement.current)}),1e3),n.props.onAnimationOpenEnd&&n.props.onAnimationOpenEnd()}))},n._async=new ye.a(n),n._events=new Ve.a(n),Object(be.a)(n),Object(nt.a)("Coachmark",t,{teachingBubbleRef:void 0,collapsed:"isCollapsed",beakWidth:void 0,beakHeight:void 0,width:void 0,height:void 0}),n.state={isCollapsed:t.isCollapsed,isBeaconAnimating:!0,isMeasuring:!0,entityInnerHostRect:{width:0,height:0},isMouseInProximity:!1,isMeasured:!1},n}return Object(m.c)(t,e),Object.defineProperty(t.prototype,"_beakDirection",{get:function(){var e=this.state.targetPosition;return void 0===e?Ct.bottom:-1*e},enumerable:!0,configurable:!0}),t.prototype.render=function(){var e=this.props,t=e.beaconColorOne,n=e.beaconColorTwo,o=e.children,r=e.target,i=e.color,a=e.positioningContainerProps,s=e.ariaDescribedBy,c=e.ariaDescribedByText,l=e.ariaLabelledBy,u=e.ariaLabelledByText,d=e.ariaAlertText,p=e.delayBeforeCoachmarkAnimation,h=e.styles,f=e.theme,b=e.className,y=e.persistentBeak,v=this.state,_=v.beakLeft,S=v.beakTop,C=v.beakRight,x=v.beakBottom,w=v.isCollapsed,T=v.isBeaconAnimating,k=v.isMeasuring,I=v.entityInnerHostRect,O=v.transformOrigin,E=v.alertText,N=v.isMeasured,P=i;!P&&f&&(P=f.semanticColors.primaryButtonBackground);var D=ds(h,{theme:f,beaconColorOne:t,beaconColorTwo:n,className:b,isCollapsed:w,isBeaconAnimating:T,isMeasuring:k,color:P,transformOrigin:O,isMeasured:N,entityHostHeight:I.height+"px",entityHostWidth:I.width+"px",width:"32px",height:"32px",delayBeforeCoachmarkAnimation:p+"ms"}),A=w?32:I.height;return g.createElement(cs,Object(m.a)({target:r,offsetFromTarget:10,componentRef:this._positioningContainer,finalHeight:A,onPositioned:this._onPositioned,bounds:this._getBounds()},a),g.createElement("div",{className:D.root},d&&g.createElement("div",{className:D.ariaContainer,role:"alert",ref:this._ariaAlertContainer,"aria-hidden":!w},E),g.createElement("div",{className:D.pulsingBeacon}),g.createElement("div",{className:D.translateAnimationContainer,ref:this._translateAnimationContainer},g.createElement("div",{className:D.scaleAnimationLayer},g.createElement("div",{className:D.rotateAnimationLayer},this._positioningContainer.current&&(w||y)&&g.createElement(us,{left:_,top:S,right:C,bottom:x,direction:this._beakDirection,color:P}),g.createElement("div",{className:D.entityHost,ref:this._entityHost,tabIndex:-1,"data-is-focusable":!0,role:"dialog","aria-labelledby":l,"aria-describedby":s},w&&[l&&g.createElement("p",{id:l,key:0,className:D.ariaContainer},u),s&&g.createElement("p",{id:s,key:1,className:D.ariaContainer},c)],g.createElement(Ea,{isClickableOutsideFocusTrap:!0,forceFocusInsideTrap:!1},g.createElement("div",{className:D.entityInnerHost,ref:this._entityInnerHostElement},g.createElement("div",{className:D.childrenContainer,ref:this._childrenContainer,"aria-hidden":w},o)))))))))},t.prototype.UNSAFE_componentWillReceiveProps=function(e){this.props.isCollapsed&&!e.isCollapsed&&this._openCoachmark()},t.prototype.shouldComponentUpdate=function(e,t){return!Object(ot.e)(e,this.props)||!Object(ot.e)(t,this.state)},t.prototype.componentDidUpdate=function(e,t){t.targetAlignment===this.state.targetAlignment&&t.targetPosition===this.state.targetPosition||this._setBeakPosition(),e.preventDismissOnLostFocus!==this.props.preventDismissOnLostFocus&&this._addListeners()},t.prototype.componentDidMount=function(){var e=this;this._async.requestAnimationFrame((function(){e._entityInnerHostElement.current&&e.state.entityInnerHostRect.width+e.state.entityInnerHostRect.width===0&&(e.setState({isMeasuring:!1,entityInnerHostRect:{width:e._entityInnerHostElement.current.offsetWidth,height:e._entityInnerHostElement.current.offsetHeight},isMeasured:!0}),e._setBeakPosition(),e.forceUpdate()),e._addListeners(),e._async.setTimeout((function(){e._addProximityHandler(e.props.mouseProximityOffset)}),e.props.delayBeforeMouseOpen),e.props.ariaAlertText&&e._async.setTimeout((function(){e.props.ariaAlertText&&e._ariaAlertContainer.current&&e.setState({alertText:e.props.ariaAlertText})}),0),e.props.preventFocusOnMount||e._async.setTimeout((function(){e._entityHost.current&&e._entityHost.current.focus()}),1e3)}))},t.prototype.componentWillUnmount=function(){this._async.dispose(),this._events.dispose()},t.prototype._addListeners=function(){var e=this.props.preventDismissOnLostFocus,t=Object(Fe.a)();this._events.off(),t&&(this._events.on(t,"keydown",this._onKeyDown,!0),e||(this._events.on(t,"click",this._dismissOnLostFocus,!0),this._events.on(t,"focus",this._dismissOnLostFocus,!0)))},t.prototype._dismissOnLostFocus=function(e){var t=e.target,n=this._translateAnimationContainer.current&&!Object(De.a)(this._translateAnimationContainer.current,t),o=this.props.target;n&&t!==o&&!Object(De.a)(o,t)&&this.dismiss(e)},t.prototype._getBounds=function(){var e=this.props,t=e.isPositionForced,n=e.positioningContainerProps;return t?!n||n.directionalHint!==st.topAutoEdge&&n.directionalHint!==st.bottomAutoEdge?{left:-1/0,top:-1/0,bottom:1/0,right:1/0,width:1/0,height:1/0}:{left:0,top:-1/0,bottom:1/0,right:window.innerWidth,width:window.innerWidth,height:1/0}:void 0},t.prototype._addProximityHandler=function(e){var t=this;void 0===e&&(e=0);var n=[];this._async.setTimeout((function(){t._setTargetElementRect(),t._events.on(window,"resize",(function(){n.forEach((function(e){clearInterval(e)})),n.push(t._async.setTimeout((function(){t._setTargetElementRect()}),100))}))}),10),this._events.on(document,"mousemove",(function(n){if(t.state.isCollapsed){var o=n.clientY,r=n.clientX;t._setTargetElementRect(),t._isInsideElement(r,o,e)!==t.state.isMouseInProximity&&t._openCoachmark()}t.props.onMouseMove&&t.props.onMouseMove(n)}))},t.prototype._setTargetElementRect=function(){this._translateAnimationContainer&&this._translateAnimationContainer.current&&(this._targetElementRect=this._translateAnimationContainer.current.getBoundingClientRect())},t.prototype._isInsideElement=function(e,t,n){return void 0===n&&(n=0),e>this._targetElementRect.left-n&&e<this._targetElementRect.left+this._targetElementRect.width+n&&t>this._targetElementRect.top-n&&t<this._targetElementRect.top+this._targetElementRect.height+n},t.defaultProps={isCollapsed:!0,mouseProximityOffset:10,delayBeforeMouseOpen:3600,delayBeforeCoachmarkAnimation:0,isPositionForced:!0,positioningContainerProps:{directionalHint:st.bottomAutoEdge}},t}(g.Component),hs=Object(x.a)(ps,(function(e){var t,n=e.theme,o=e.className,r=e.color,i=e.beaconColorOne,a=e.beaconColorTwo,s=e.delayBeforeCoachmarkAnimation,c=e.isCollapsed,l=e.isBeaconAnimating,u=e.isMeasuring,d=e.isMeasured,p=e.entityHostHeight,h=e.entityHostWidth,f=e.transformOrigin;if(!n)throw new Error("theme is undefined or null in base Dropdown getStyles function.");var m=b.q.continuousPulseAnimationDouble(i||n.palette.themePrimary,a||n.palette.themeTertiary,"35px","150px","10px"),g=b.q.createDefaultAnimation(m,s);return{root:[n.fonts.medium,{position:"relative"},o],pulsingBeacon:[{position:"absolute",top:"50%",left:"50%",transform:Object(T.a)(n)?"translate(50%, -50%)":"translate(-50%, -50%)",width:"0px",height:"0px",borderRadius:"225px",borderStyle:"solid",opacity:"0"},c&&l&&g],translateAnimationContainer:[{width:"100%",height:"100%"},c&&{animationDuration:"14s",animationTimingFunction:"linear",animationDirection:"normal",animationIterationCount:"1",animationDelay:"0s",animationFillMode:"forwards",animationName:ns(),transition:"opacity 0.5s ease-in-out"},!c&&{opacity:"1"}],scaleAnimationLayer:[{width:"100%",height:"100%"},c&&{animationDuration:"14s",animationTimingFunction:"linear",animationDirection:"normal",animationIterationCount:"1",animationDelay:"0s",animationFillMode:"forwards",animationName:os()}],rotateAnimationLayer:[{width:"100%",height:"100%"},c&&{animationDuration:"14s",animationTimingFunction:"linear",animationDirection:"normal",animationIterationCount:"1",animationDelay:"0s",animationFillMode:"forwards",animationName:rs()},!c&&{opacity:"1"}],entityHost:[{position:"relative",outline:"none",overflow:"hidden",backgroundColor:r,borderRadius:32,transition:"border-radius 250ms, width 500ms, height 500ms cubic-bezier(0.5, 0, 0, 1)",visibility:"hidden",selectors:(t={},t[b.l]={backgroundColor:"Window",border:"2px solid WindowText"},t["."+Fn.a+" &:focus"]={outline:"1px solid "+n.palette.themeTertiary},t)},!u&&{width:32,height:32,visibility:"visible"},!c&&{borderRadius:"1px",opacity:"1",width:h,height:p}],entityInnerHost:[{transition:"transform 500ms cubic-bezier(0.5, 0, 0, 1)",transformOrigin:f,transform:"scale(0)"},!c&&{width:h,height:p,transform:"scale(1)"},!u&&{visibility:"visible"}],childrenContainer:[{display:d&&c?"none":"block"}],ariaContainer:{position:"fixed",opacity:0,height:0,width:0,pointerEvents:"none"}}}),void 0,{scope:"Coachmark"}),fs=/^[\da-f]{0,6}$/i,ms=/^\d{0,3}$/;function gs(e,t,n){var o=n+(t*=(n<50?n:100-n)/100);return{h:e,s:0===o?0:2*t/o*100,v:o}}function bs(e,t,n){var o=[],r=(n/=100)*(t/=100),i=e/60,a=r*(1-Math.abs(i%2-1)),s=n-r;switch(Math.floor(i)){case 0:o=[r,a,0];break;case 1:o=[a,r,0];break;case 2:o=[0,r,a];break;case 3:o=[0,a,r];break;case 4:o=[a,0,r];break;case 5:o=[r,0,a]}return{r:Math.round(255*(o[0]+s)),g:Math.round(255*(o[1]+s)),b:Math.round(255*(o[2]+s))}}function ys(e,t,n){var o=gs(e,t,n);return bs(o.h,o.s,o.v)}function vs(e){if(e)return _s(e)||function(e){if("#"===e[0]&&7===e.length&&/^#[\da-fA-F]{6}$/.test(e))return{r:parseInt(e.slice(1,3),16),g:parseInt(e.slice(3,5),16),b:parseInt(e.slice(5,7),16),a:100}}(e)||function(e){if("#"===e[0]&&4===e.length&&/^#[\da-fA-F]{3}$/.test(e))return{r:parseInt(e[1]+e[1],16),g:parseInt(e[2]+e[2],16),b:parseInt(e[3]+e[3],16),a:100}}(e)||function(e){var t=e.match(/^hsl(a?)\(([\d., ]+)\)$/);if(t){var n=!!t[1],o=n?4:3,r=t[2].split(/ *, */).map(Number);if(r.length===o){var i=ys(r[0],r[1],r[2]);return i.a=n?100*r[3]:100,i}}}(e)||function(e){if("undefined"!=typeof document){var t=document.createElement("div");t.style.backgroundColor=e,t.style.position="absolute",t.style.top="-9999px",t.style.left="-9999px",t.style.height="1px",t.style.width="1px",document.body.appendChild(t);var n=getComputedStyle(t),o=n&&n.backgroundColor;if(document.body.removeChild(t),"rgba(0, 0, 0, 0)"!==o&&"transparent"!==o)return _s(o);switch(e.trim()){case"transparent":case"#0000":case"#00000000":return{r:0,g:0,b:0,a:0}}}}(e)}function _s(e){if(e){var t=e.match(/^rgb(a?)\(([\d., ]+)\)$/);if(t){var n=!!t[1],o=n?4:3,r=t[2].split(/ *, */).map(Number);if(r.length===o)return{r:r[0],g:r[1],b:r[2],a:n?100*r[3]:100}}}}function Ss(e,t,n){return void 0===n&&(n=0),e<n?n:e>t?t:e}function Cs(e,t,n){return[xs(e),xs(t),xs(n)].join("")}function xs(e){var t=(e=Ss(e,255)).toString(16);return 1===t.length?"0"+t:t}function ws(e,t,n){var o=bs(e,t,n);return Cs(o.r,o.g,o.b)}function Ts(e,t,n){var o=NaN,r=Math.max(e,t,n),i=r-Math.min(e,t,n);return 0===i?o=0:e===r?o=(t-n)/i%6:t===r?o=(n-e)/i+2:n===r&&(o=(e-t)/i+4),(o=Math.round(60*o))<0&&(o+=360),{h:o,s:Math.round(100*(0===r?0:i/r)),v:Math.round(r/255*100)}}function ks(e,t,n){var o=(2-(t/=100))*(n/=100),r=t*n;return{h:e,s:100*(r=(r/=o<=1?o:2-o)||0),l:100*(o/=2)}}function Is(e,t,n,o,r){return 100===o||"number"!=typeof o?"#"+r:"rgba("+e+", "+t+", "+n+", "+o/100+")"}function Os(e){var t=e.a,n=void 0===t?100:t,o=e.b,r=e.g,i=e.r,a=Ts(i,r,o),s=a.h,c=a.s,l=a.v,u=Cs(i,r,o);return{a:n,b:o,g:r,h:s,hex:u,r:i,s:c,str:Is(i,r,o,n,u),v:l,t:100-n}}function Es(e){var t=vs(e);if(t)return Object(m.a)(Object(m.a)({},Os(t)),{str:e})}function Ns(e,t){var n=e.h,o=e.s,r=e.v;t="number"==typeof t?t:100;var i=bs(n,o,r),a=i.r,s=i.g,c=i.b,l=ws(n,o,r);return{a:t,b:c,g:s,h:n,hex:l,r:a,s:o,str:Is(a,s,c,t,l),v:r,t:100-t}}function Ps(e){return"#"+ws(e.h,100,100)}function Ds(e,t,n){var o=bs(e.h,t,n),r=o.r,i=o.g,a=o.b,s=Cs(r,i,a);return Object(m.a)(Object(m.a)({},e),{s:t,v:n,r:r,g:i,b:a,hex:s,str:Is(r,i,a,e.a,s)})}function As(e,t){var n=bs(t,e.s,e.v),o=n.r,r=n.g,i=n.b,a=Cs(o,r,i);return Object(m.a)(Object(m.a)({},e),{h:t,r:o,g:r,b:i,hex:a,str:Is(o,r,i,e.a,a)})}function Rs(e,t,n){var o;return Os(((o={r:e.r,g:e.g,b:e.b,a:e.a})[t]=n,o))}function Ms(e,t){return Object(m.a)(Object(m.a)({},e),{a:t,t:100-t,str:Is(e.r,e.g,e.b,t,e.hex)})}function Fs(e){return{r:Ss(e.r,255),g:Ss(e.g,255),b:Ss(e.b,255),a:"number"==typeof e.a?Ss(e.a,100):e.a}}function js(e){return{h:Ss(e.h,359),s:Ss(e.s,100),v:Ss(e.v,100)}}function Ls(e){return!e||e.length<3?"ffffff":e.length>=6?e.substring(0,6):e.substring(0,3)}var Hs,Bs=[.027,.043,.082,.145,.184,.216,.349,.537],zs=[.537,.45,.349,.216,.184,.145,.082,.043],Us=[.537,.349,.216,.184,.145,.082,.043,.027],Vs=[.537,.45,.349,.216,.184,.145,.082,.043],Ws=[.88,.77,.66,.55,.44,.33,.22,.11],qs=[.11,.22,.33,.44,.55,.66,.77,.88],Gs=[.96,.84,.7,.4,.12],Ks=[.1,.24,.44];function Ys(e){return"number"==typeof e&&e>=Hs.Unshaded&&e<=Hs.Shade8}function Qs(e,t){return{h:e.h,s:e.s,v:Ss(e.v-e.v*t,100,0)}}function $s(e,t){return{h:e.h,s:Ss(e.s-e.s*t,100,0),v:Ss(e.v+(100-e.v)*t,100,0)}}function Zs(e){return ks(e.h,e.s,e.v).l<50}function Xs(e,t,n){if(void 0===n&&(n=!1),!e)return null;if(t===Hs.Unshaded||!Ys(t))return e;var o=ks(e.h,e.s,e.v),r={h:e.h,s:e.s,v:e.v},i=t-1,a=$s,s=Qs;return n&&(a=Qs,s=$s),r=function(e){return 255===e.r&&255===e.g&&255===e.b}(e)?Qs(r,Us[i]):function(e){return 0===e.r&&0===e.g&&0===e.b}(e)?$s(r,Vs[i]):o.l/100>.8?s(r,qs[i]):o.l/100<.2?a(r,Ws[i]):i<Gs.length?a(r,Gs[i]):s(r,Ks[i-Gs.length]),Os(Object(ot.a)(bs(r.h,r.s,r.v),{a:e.a}))}function Js(e,t,n){if(void 0===n&&(n=!1),!e)return null;if(t===Hs.Unshaded||!Ys(t))return e;var o={h:e.h,s:e.s,v:e.v},r=t-1;return o=n?$s(o,zs[Vs.length-1-r]):Qs(o,Bs[r]),Os(Object(ot.a)(bs(o.h,o.s,o.v),{a:e.a}))}function ec(e,t){function n(e){return e<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4)}var o=.2126*n(e.r/255)+.7152*n(e.g/255)+.0722*n(e.b/255);o+=.05;var r=.2126*n(t.r/255)+.7152*n(t.g/255)+.0722*n(t.b/255);return o/(r+=.05)>1?o/r:r/o}function tc(e,t){var n=100-t;return Object(m.a)(Object(m.a)({},e),{t:t,a:n,str:Is(e.r,e.g,e.b,n,e.hex)})}!function(e){e[e.Unshaded=0]="Unshaded",e[e.Shade1=1]="Shade1",e[e.Shade2=2]="Shade2",e[e.Shade3=3]="Shade3",e[e.Shade4=4]="Shade4",e[e.Shade5=5]="Shade5",e[e.Shade6=6]="Shade6",e[e.Shade7=7]="Shade7",e[e.Shade8=8]="Shade8"}(Hs||(Hs={}));var nc=n(118),oc=Object(w.a)(),rc=function(e){function t(t){var n=e.call(this,t)||this;n._textElement=g.createRef(),n._onFocus=function(e){n.props.onFocus&&n.props.onFocus(e),n.setState({isFocused:!0},(function(){n.props.validateOnFocusIn&&n._validate(n.value)}))},n._onBlur=function(e){n.props.onBlur&&n.props.onBlur(e),n.setState({isFocused:!1},(function(){n.props.validateOnFocusOut&&n._validate(n.value)}))},n._onRenderLabel=function(e){var t=e.label,o=e.required,r=n._classNames.subComponentStyles?n._classNames.subComponentStyles.label:void 0;return t?g.createElement(za,{required:o,htmlFor:n._id,styles:r,disabled:e.disabled,id:n._labelId},e.label):null},n._onRenderDescription=function(e){return e.description?g.createElement("span",{className:n._classNames.description},e.description):null},n._onInputChange=function(e){var t,o=e.target.value;void 0!==o&&o!==n._lastChangeValue&&(n._lastChangeValue=o,e.persist(),n.setState((function(e,r){var i=ic(r,e)||"";return(t=o===i)||n._isControlled?null:{uncontrolledValue:o}}),(function(){var r=n.props.onChange;!t&&r&&r(e,o)})))},Object(be.a)(n),n._async=new ye.a(n),n._fallbackId=Object(Pe.a)("TextField"),n._descriptionId=Object(Pe.a)("TextFieldDescription"),n._labelId=Object(Pe.a)("TextFieldLabel"),n._warnControlledUsage();var o=t.defaultValue,r=void 0===o?"":o;return"number"==typeof r&&(r=String(r)),n.state={uncontrolledValue:n._isControlled?void 0:r,isFocused:!1,errorMessage:""},n._delayedValidate=n._async.debounce(n._validate,n.props.deferredValidationTime),n._lastValidation=0,n}return Object(m.c)(t,e),Object.defineProperty(t.prototype,"value",{get:function(){return ic(this.props,this.state)},enumerable:!0,configurable:!0}),t.prototype.componentDidMount=function(){this._adjustInputHeight(),this.props.validateOnLoad&&this._validate(this.value)},t.prototype.componentWillUnmount=function(){this._async.dispose()},t.prototype.getSnapshotBeforeUpdate=function(e,t){return{selection:[this.selectionStart,this.selectionEnd]}},t.prototype.componentDidUpdate=function(e,t,n){var o=this.props,r=(n||{}).selection,i=void 0===r?[null,null]:r,a=i[0],s=i[1];!!e.multiline!=!!o.multiline&&t.isFocused&&(this.focus(),null!==a&&null!==s&&a>=0&&s>=0&&this.setSelectionRange(a,s));var c=ic(e,t),l=this.value;c!==l&&(this._warnControlledUsage(e),this.state.errorMessage&&!o.errorMessage&&this.setState({errorMessage:""}),this._adjustInputHeight(),this._lastChangeValue=void 0,ac(o)&&this._delayedValidate(l))},t.prototype.render=function(){var e=this.props,t=e.borderless,n=e.className,o=e.disabled,r=e.iconProps,i=e.inputClassName,a=e.label,s=e.multiline,c=e.required,l=e.underlined,u=e.prefix,d=e.resizable,p=e.suffix,h=e.theme,f=e.styles,b=e.autoAdjustHeight,y=e.onRenderPrefix,v=void 0===y?this._onRenderPrefix:y,_=e.onRenderSuffix,S=void 0===_?this._onRenderSuffix:_,C=e.onRenderLabel,x=void 0===C?this._onRenderLabel:C,w=e.onRenderDescription,T=void 0===w?this._onRenderDescription:w,k=this.state.isFocused,I=this._errorMessage;return this._classNames=oc(f,{theme:h,className:n,disabled:o,focused:k,required:c,multiline:s,hasLabel:!!a,hasErrorMessage:!!I,borderless:t,resizable:d,hasIcon:!!r,underlined:l,inputClassName:i,autoAdjustHeight:b}),g.createElement("div",{className:this._classNames.root},g.createElement("div",{className:this._classNames.wrapper},x(this.props,this._onRenderLabel),g.createElement("div",{className:this._classNames.fieldGroup},(void 0!==u||this.props.onRenderPrefix)&&g.createElement("div",{className:this._classNames.prefix},v(this.props,this._onRenderPrefix)),s?this._renderTextArea():this._renderInput(),r&&g.createElement(K,Object(m.a)({className:this._classNames.icon},r)),(void 0!==p||this.props.onRenderSuffix)&&g.createElement("div",{className:this._classNames.suffix},S(this.props,this._onRenderSuffix)))),this._isDescriptionAvailable&&g.createElement("span",{id:this._descriptionId},T(this.props,this._onRenderDescription),I&&g.createElement("div",{role:"alert"},g.createElement(Se.a,null,g.createElement("p",{className:this._classNames.errorMessage},g.createElement("span",{"data-automation-id":"error-message"},I))))))},t.prototype.focus=function(){this._textElement.current&&this._textElement.current.focus()},t.prototype.blur=function(){this._textElement.current&&this._textElement.current.blur()},t.prototype.select=function(){this._textElement.current&&this._textElement.current.select()},t.prototype.setSelectionStart=function(e){this._textElement.current&&(this._textElement.current.selectionStart=e)},t.prototype.setSelectionEnd=function(e){this._textElement.current&&(this._textElement.current.selectionEnd=e)},Object.defineProperty(t.prototype,"selectionStart",{get:function(){return this._textElement.current?this._textElement.current.selectionStart:-1},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"selectionEnd",{get:function(){return this._textElement.current?this._textElement.current.selectionEnd:-1},enumerable:!0,configurable:!0}),t.prototype.setSelectionRange=function(e,t){this._textElement.current&&this._textElement.current.setSelectionRange(e,t)},t.prototype._warnControlledUsage=function(e){Object(nc.b)({componentId:this._id,componentName:"TextField",props:this.props,oldProps:e,valueProp:"value",defaultValueProp:"defaultValue",onChangeProp:"onChange",readOnlyProp:"readOnly"}),null!==this.props.value||this._hasWarnedNullValue||(this._hasWarnedNullValue=!0,Object(qo.b)("Warning: 'value' prop on 'TextField' should not be null. Consider using an empty string to clear the component or undefined to indicate an uncontrolled component."))},Object.defineProperty(t.prototype,"_id",{get:function(){return this.props.id||this._fallbackId},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_isControlled",{get:function(){return Object(Ua.a)(this.props,"value")},enumerable:!0,configurable:!0}),t.prototype._onRenderPrefix=function(e){var t=e.prefix;return g.createElement("span",{style:{paddingBottom:"1px"}},t)},t.prototype._onRenderSuffix=function(e){var t=e.suffix;return g.createElement("span",{style:{paddingBottom:"1px"}},t)},Object.defineProperty(t.prototype,"_errorMessage",{get:function(){var e=this.props.errorMessage;return(void 0===e?this.state.errorMessage:e)||""},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_isDescriptionAvailable",{get:function(){var e=this.props;return!!(e.onRenderDescription||e.description||this._errorMessage)},enumerable:!0,configurable:!0}),t.prototype._renderTextArea=function(){var e=Object(I.j)(this.props,I.w,["defaultValue"]),t=this.props["aria-labelledby"]||(this.props.label?this._labelId:void 0);return g.createElement("textarea",Object(m.a)({id:this._id},e,{ref:this._textElement,value:this.value||"",onInput:this._onInputChange,onChange:this._onInputChange,className:this._classNames.field,"aria-labelledby":t,"aria-describedby":this._isDescriptionAvailable?this._descriptionId:this.props["aria-describedby"],"aria-invalid":!!this._errorMessage,"aria-label":this.props.ariaLabel,readOnly:this.props.readOnly,onFocus:this._onFocus,onBlur:this._onBlur}))},t.prototype._renderInput=function(){var e=Object(I.j)(this.props,I.o,["defaultValue"]),t=this.props["aria-labelledby"]||(this.props.label?this._labelId:void 0);return g.createElement("input",Object(m.a)({type:"text",id:this._id,"aria-labelledby":t},e,{ref:this._textElement,value:this.value||"",onInput:this._onInputChange,onChange:this._onInputChange,className:this._classNames.field,"aria-label":this.props.ariaLabel,"aria-describedby":this._isDescriptionAvailable?this._descriptionId:this.props["aria-describedby"],"aria-invalid":!!this._errorMessage,readOnly:this.props.readOnly,onFocus:this._onFocus,onBlur:this._onBlur}))},t.prototype._validate=function(e){var t=this;if(this._latestValidateValue!==e||!ac(this.props)){this._latestValidateValue=e;var n=this.props.onGetErrorMessage,o=n&&n(e||"");if(void 0!==o)if("string"!=typeof o&&"then"in o){var r=++this._lastValidation;o.then((function(n){r===t._lastValidation&&t.setState({errorMessage:n}),t._notifyAfterValidate(e,n)}))}else this.setState({errorMessage:o}),this._notifyAfterValidate(e,o);else this._notifyAfterValidate(e,"")}},t.prototype._notifyAfterValidate=function(e,t){e===this.value&&this.props.onNotifyValidationResult&&this.props.onNotifyValidationResult(t,e)},t.prototype._adjustInputHeight=function(){if(this._textElement.current&&this.props.autoAdjustHeight&&this.props.multiline){var e=this._textElement.current;e.style.height="",e.style.height=e.scrollHeight+"px"}},t.defaultProps={resizable:!0,deferredValidationTime:200,validateOnLoad:!0},t}(g.Component);function ic(e,t){var n=e.value,o=void 0===n?t.uncontrolledValue:n;return"number"==typeof o?String(o):o}function ac(e){return!(e.validateOnFocusIn||e.validateOnFocusOut)}var sc={root:"ms-TextField",description:"ms-TextField-description",errorMessage:"ms-TextField-errorMessage",field:"ms-TextField-field",fieldGroup:"ms-TextField-fieldGroup",prefix:"ms-TextField-prefix",suffix:"ms-TextField-suffix",wrapper:"ms-TextField-wrapper",multiline:"ms-TextField--multiline",borderless:"ms-TextField--borderless",underlined:"ms-TextField--underlined",unresizable:"ms-TextField--unresizable",required:"is-required",disabled:"is-disabled",active:"is-active"};function cc(e){var t=e.underlined,n=e.disabled,o=e.focused,r=e.theme,i=r.palette,a=r.fonts;return function(){var e;return{root:[t&&n&&{color:i.neutralTertiary},t&&{fontSize:a.medium.fontSize,marginRight:8,paddingLeft:12,paddingRight:0,lineHeight:"22px",height:32},t&&o&&{selectors:(e={},e[b.l]={height:31},e)}]}}}var lc=Object(x.a)(rc,(function(e){var t,n,o,r,i,a,s,c=e.theme,l=e.className,u=e.disabled,d=e.focused,p=e.required,h=e.multiline,f=e.hasLabel,m=e.borderless,g=e.underlined,y=e.hasIcon,v=e.resizable,_=e.hasErrorMessage,S=e.inputClassName,C=e.autoAdjustHeight,x=c.semanticColors,w=c.effects,T=c.fonts,k=Object(b.R)(sc,c),I={background:x.disabledBackground,color:u?x.disabledText:x.inputPlaceholderText,display:"flex",alignItems:"center",padding:"0 10px",lineHeight:1,whiteSpace:"nowrap",flexShrink:0},O=[T.medium,{color:x.inputPlaceholderText,opacity:1}],E={color:x.disabledText};return{root:[k.root,T.medium,p&&k.required,u&&k.disabled,d&&k.active,h&&k.multiline,m&&k.borderless,g&&k.underlined,b.fb,{position:"relative"},l],wrapper:[k.wrapper,g&&[{display:"flex",borderBottom:"1px solid "+(_?x.errorText:x.inputBorder),width:"100%"},u&&{borderBottomColor:x.disabledBackground,selectors:(t={},t[b.l]={borderColor:"GrayText"},t)},!u&&{selectors:{":hover":{borderBottomColor:_?x.errorText:x.inputBorderHovered,selectors:(n={},n[b.l]={borderBottomColor:"Highlight"},n)}}},d&&[{position:"relative"},Object(b.U)(_?x.errorText:x.inputFocusBorderAlt,0,"borderBottom")]]],fieldGroup:[k.fieldGroup,b.fb,{border:"1px solid "+x.inputBorder,borderRadius:w.roundedCorner2,background:x.inputBackground,cursor:"text",height:32,display:"flex",flexDirection:"row",alignItems:"stretch",position:"relative"},h&&{minHeight:"60px",height:"auto",display:"flex"},!d&&!u&&{selectors:{":hover":{borderColor:x.inputBorderHovered,selectors:(o={},o[b.l]={borderColor:"Highlight"},o)}}},d&&!g&&Object(b.U)(_?x.errorText:x.inputFocusBorderAlt,w.roundedCorner2),u&&{borderColor:x.disabledBackground,selectors:(r={},r[b.l]={borderColor:"GrayText"},r),cursor:"default"},m&&{border:"none"},m&&d&&{border:"none",selectors:{":after":{border:"none"}}},g&&{flex:"1 1 0px",border:"none",textAlign:"left"},g&&u&&{backgroundColor:"transparent"},_&&!g&&{borderColor:x.errorText,selectors:{"&:hover":{borderColor:x.errorText}}},!f&&p&&{selectors:(i={":before":{content:"'*'",color:x.errorText,position:"absolute",top:-5,right:-10}},i[b.l]={selectors:{":before":{right:-14}}},i)}],field:[T.medium,k.field,b.fb,{borderRadius:0,border:"none",background:"none",backgroundColor:"transparent",color:x.inputText,padding:"0 8px",width:"100%",minWidth:0,textOverflow:"ellipsis",outline:0,selectors:{"&:active, &:focus, &:hover":{outline:0},"::-ms-clear":{display:"none"}}},Object(b.V)(O),h&&!v&&[k.unresizable,{resize:"none"}],h&&{minHeight:"inherit",lineHeight:17,flexGrow:1,paddingTop:6,paddingBottom:6,overflow:"auto",width:"100%"},h&&C&&{overflow:"hidden"},y&&{paddingRight:24},h&&y&&{paddingRight:40},u&&[{backgroundColor:x.disabledBackground,color:x.disabledText,borderColor:x.disabledBackground},Object(b.V)(E)],g&&{textAlign:"left"},d&&!m&&{selectors:(a={},a[b.l]={paddingLeft:11,paddingRight:11},a)},d&&h&&!m&&{selectors:(s={},s[b.l]={paddingTop:4},s)},S],icon:[h&&{paddingRight:24,alignItems:"flex-end"},{pointerEvents:"none",position:"absolute",bottom:6,right:8,top:"auto",fontSize:b.o.medium,lineHeight:18},u&&{color:x.disabledText}],description:[k.description,{color:x.bodySubtext,fontSize:T.xSmall.fontSize}],errorMessage:[k.errorMessage,b.a.slideDownIn20,T.small,{color:x.errorText,margin:0,paddingTop:5,display:"flex",alignItems:"center"}],prefix:[k.prefix,I],suffix:[k.suffix,I],subComponentStyles:{label:cc(e)}}}),void 0,{scope:"TextField"}),uc=Object(w.a)(),dc=function(e){function t(t){var n=e.call(this,t)||this;return n._disposables=[],n._root=g.createRef(),n._isAdjustingSaturation=!0,n._descriptionId=Object(Pe.a)("ColorRectangle-description"),n._onKeyDown=function(e){var t=n.state.color,o=t.s,r=t.v,i=e.shiftKey?10:1;switch(e.which){case ge.a.up:n._isAdjustingSaturation=!1,r+=i;break;case ge.a.down:n._isAdjustingSaturation=!1,r-=i;break;case ge.a.left:n._isAdjustingSaturation=!0,o-=i;break;case ge.a.right:n._isAdjustingSaturation=!0,o+=i;break;default:return}n._updateColor(e,Ds(t,Ss(o,100),Ss(r,100)))},n._onMouseDown=function(e){n._disposables.push(Object(wt.a)(window,"mousemove",n._onMouseMove,!0),Object(wt.a)(window,"mouseup",n._disposeListeners,!0)),n._onMouseMove(e)},n._onMouseMove=function(e){if(n._root.current){var t=function(e,t,n){var o=n.getBoundingClientRect(),r=(e.clientX-o.left)/o.width,i=(e.clientY-o.top)/o.height;return Ds(t,Ss(Math.round(100*r),100),Ss(Math.round(100-100*i),100))}(e,n.state.color,n._root.current);t&&n._updateColor(e,t)}},n._disposeListeners=function(){n._disposables.forEach((function(e){return e()})),n._disposables=[]},Object(be.a)(n),n.state={color:t.color},n}return Object(m.c)(t,e),Object.defineProperty(t.prototype,"color",{get:function(){return this.state.color},enumerable:!0,configurable:!0}),t.prototype.componentDidUpdate=function(e,t){e!==this.props&&this.props.color&&this.setState({color:this.props.color})},t.prototype.componentWillUnmount=function(){this._disposeListeners()},t.prototype.render=function(){var e=this.props,t=e.minSize,n=e.theme,o=e.className,r=e.styles,i=e.ariaValueFormat,a=e.ariaLabel,s=e.ariaDescription,c=this.state.color,l=uc(r,{theme:n,className:o,minSize:t}),u=i.replace("{0}",String(c.s)).replace("{1}",String(c.v));return g.createElement("div",{ref:this._root,tabIndex:0,className:l.root,style:{backgroundColor:Ps(c)},onMouseDown:this._onMouseDown,onKeyDown:this._onKeyDown,role:"slider","aria-valuetext":u,"aria-valuenow":this._isAdjustingSaturation?c.s:c.v,"aria-valuemin":0,"aria-valuemax":100,"aria-label":a,"aria-describedby":this._descriptionId,"data-is-focusable":!0},g.createElement("div",{className:l.description,id:this._descriptionId},s),g.createElement("div",{className:l.light}),g.createElement("div",{className:l.dark}),g.createElement("div",{className:l.thumb,style:{left:c.s+"%",top:100-c.v+"%",backgroundColor:c.str}}))},t.prototype._updateColor=function(e,t){var n=this.props.onChange,o=this.state.color;t.s===o.s&&t.v===o.v||(n&&n(e,t),e.defaultPrevented||(this.setState({color:t}),e.preventDefault()))},t.defaultProps={minSize:220,ariaLabel:"Saturation and brightness",ariaValueFormat:"Saturation {0} brightness {1}",ariaDescription:"Use left and right arrow keys to set saturation. Use up and down arrow keys to set brightness."},t}(g.Component),pc=Object(x.a)(dc,(function(e){var t,n=e.className,o=e.theme,r=e.minSize,i=o.palette,a=o.effects;return{root:["ms-ColorPicker-colorRect",{position:"relative",marginBottom:8,border:"1px solid "+i.neutralLighter,borderRadius:a.roundedCorner2,minWidth:r,minHeight:r,outline:"none",selectors:(t={},t[b.l]={MsHighContrastAdjust:"none"},t["."+Fn.a+" &:focus"]={outline:"1px solid "+i.neutralSecondary},t)},n],light:["ms-ColorPicker-light",{position:"absolute",left:0,right:0,top:0,bottom:0,background:"linear-gradient(to right, white 0%, transparent 100%) /*@noflip*/"}],dark:["ms-ColorPicker-dark",{position:"absolute",left:0,right:0,top:0,bottom:0,background:"linear-gradient(to bottom, transparent 0, #000 100%)"}],thumb:["ms-ColorPicker-thumb",{position:"absolute",width:20,height:20,background:"white",border:"1px solid "+i.neutralSecondaryAlt,borderRadius:"50%",boxShadow:a.elevation8,transform:"translate(-50%, -50%)",selectors:{":before":{position:"absolute",left:0,right:0,top:0,bottom:0,border:"2px solid "+i.white,borderRadius:"50%",boxSizing:"border-box",content:'""'}}}],description:b.Z}}),void 0,{scope:"ColorRectangle"}),hc=Object(w.a)(),fc=function(e){function t(t){var n=e.call(this,t)||this;return n._disposables=[],n._root=g.createRef(),n._onKeyDown=function(e){var t=n.value,o=n._maxValue,r=e.shiftKey?10:1;switch(e.which){case ge.a.left:t-=r;break;case ge.a.right:t+=r;break;case ge.a.home:t=0;break;case ge.a.end:t=o;break;default:return}n._updateValue(e,Ss(t,o))},n._onMouseDown=function(e){var t=Object(j.a)(n);t&&n._disposables.push(Object(wt.a)(t,"mousemove",n._onMouseMove,!0),Object(wt.a)(t,"mouseup",n._disposeListeners,!0)),n._onMouseMove(e)},n._onMouseMove=function(e){if(n._root.current){var t=n._maxValue,o=n._root.current.getBoundingClientRect(),r=(e.clientX-o.left)/o.width,i=Ss(Math.round(r*t),t);n._updateValue(e,i)}},n._disposeListeners=function(){n._disposables.forEach((function(e){return e()})),n._disposables=[]},Object(be.a)(n),Object(nt.a)("ColorSlider",t,{thumbColor:"styles.sliderThumb",overlayStyle:"overlayColor",isAlpha:"type",maxValue:"type",minValue:"type"}),"hue"===n._type||t.overlayColor||t.overlayStyle||Object(qo.b)("ColorSlider: 'overlayColor' is required when 'type' is \"alpha\" or \"transparency\""),n.state={currentValue:t.value||0},n}return Object(m.c)(t,e),Object.defineProperty(t.prototype,"value",{get:function(){return this.state.currentValue},enumerable:!0,configurable:!0}),t.prototype.componentDidUpdate=function(e,t){e!==this.props&&void 0!==this.props.value&&this.setState({currentValue:this.props.value})},t.prototype.componentWillUnmount=function(){this._disposeListeners()},t.prototype.render=function(){var e=this._type,t=this._maxValue,n=this.props,o=n.overlayStyle,r=n.overlayColor,i=n.theme,a=n.className,s=n.styles,c=n.ariaLabel,l=void 0===c?e:c,u=this.value,d=hc(s,{theme:i,className:a,type:e}),p=100*u/t;return g.createElement("div",{ref:this._root,className:d.root,tabIndex:0,onKeyDown:this._onKeyDown,onMouseDown:this._onMouseDown,role:"slider","aria-valuenow":u,"aria-valuetext":String(u),"aria-valuemin":0,"aria-valuemax":t,"aria-label":l,"data-is-focusable":!0},!(!r&&!o)&&g.createElement("div",{className:d.sliderOverlay,style:r?{background:"transparency"===e?"linear-gradient(to right, #"+r+", transparent)":"linear-gradient(to right, transparent, #"+r+")"}:o}),g.createElement("div",{className:d.sliderThumb,style:{left:p+"%"}}))},Object.defineProperty(t.prototype,"_type",{get:function(){var e=this.props,t=e.isAlpha,n=e.type;return void 0===n?t?"alpha":"hue":n},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_maxValue",{get:function(){return"hue"===this._type?359:100},enumerable:!0,configurable:!0}),t.prototype._updateValue=function(e,t){if(t!==this.value){var n=this.props.onChange;n&&n(e,t),e.defaultPrevented||(this.setState({currentValue:t}),e.preventDefault())}},t.defaultProps={value:0},t}(g.Component),mc={background:"linear-gradient(to left,red 0,#f09 10%,#cd00ff 20%,#3200ff 30%,#06f 40%,#00fffd 50%,#0f6 60%,#35ff00 70%,#cdff00 80%,#f90 90%,red 100%)"},gc={backgroundImage:"url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAJUlEQVQYV2N89erVfwY0ICYmxoguxjgUFKI7GsTH5m4M3w1ChQC1/Ca8i2n1WgAAAABJRU5ErkJggg==)"},bc=Object(x.a)(fc,(function(e){var t,n=e.theme,o=e.className,r=e.type,i=void 0===r?"hue":r,a=e.isAlpha,s=void 0===a?"hue"!==i:a,c=n.palette,l=n.effects;return{root:["ms-ColorPicker-slider",{position:"relative",height:20,marginBottom:8,border:"1px solid "+c.neutralLight,borderRadius:l.roundedCorner2,boxSizing:"border-box",outline:"none",selectors:(t={},t["."+Fn.a+" &:focus"]={outline:"1px solid "+c.neutralSecondary},t)},s?gc:mc,o],sliderOverlay:["ms-ColorPicker-sliderOverlay",{content:"",position:"absolute",left:0,right:0,top:0,bottom:0}],sliderThumb:["ms-ColorPicker-thumb","is-slider",{position:"absolute",width:20,height:20,background:"white",border:"1px solid "+c.neutralSecondaryAlt,borderRadius:"50%",boxShadow:l.elevation8,transform:"translate(-50%, -50%)",top:"50%"}]}}),void 0,{scope:"ColorSlider"}),yc=Object(w.a)(),vc=["hex","r","g","b","a","t"],_c=function(e){function t(n){var o=e.call(this,n)||this;o._onSVChanged=function(e,t){o._updateColor(e,t)},o._onHChanged=function(e,t){o._updateColor(e,As(o.state.color,t))},o._onATChanged=function(e,t){var n="transparency"===o.props.alphaType?tc:Ms;o._updateColor(e,n(o.state.color,Math.round(t)))},o._onBlur=function(e){var t,n=o.state,r=n.color,i=n.editingColor;if(i){var a=i.value,s=i.component,c="hex"===s,l="a"===s,u="t"===s,d=c?3:1;if(a.length>=d&&(c||!isNaN(Number(a)))){var p=void 0;p=c?Es("#"+Ls(a)):l||u?(l?Ms:tc)(r,Ss(Number(a),100)):Os(Fs(Object(m.a)(Object(m.a)({},r),((t={})[s]=Number(a),t)))),o._updateColor(e,p)}else o.setState({editingColor:void 0})}},Object(be.a)(o);var r=n.strings;Object(nt.a)("ColorPicker",n,{hexLabel:"strings.hex",redLabel:"strings.red",greenLabel:"strings.green",blueLabel:"strings.blue",alphaLabel:"strings.alpha",alphaSliderHidden:"alphaType"}),r.hue&&Object(qo.b)("ColorPicker property 'strings.hue' was used but has been deprecated. Use 'strings.hueAriaLabel' instead."),o.state={color:Sc(n)||Es("#ffffff")},o._textChangeHandlers={};for(var i=0,a=vc;i<a.length;i++){var s=a[i];o._textChangeHandlers[s]=o._onTextChange.bind(o,s)}var c=t.defaultProps.strings;return o._textLabels={r:n.redLabel||r.red||c.red,g:n.greenLabel||r.green||c.green,b:n.blueLabel||r.blue||c.blue,a:n.alphaLabel||r.alpha||c.alpha,hex:n.hexLabel||r.hex||c.hex,t:r.transparency||c.transparency},o._strings=Object(m.a)(Object(m.a)(Object(m.a)({},c),{alphaAriaLabel:o._textLabels.a,transparencyAriaLabel:o._textLabels.t}),r),o}return Object(m.c)(t,e),Object.defineProperty(t.prototype,"color",{get:function(){return this.state.color},enumerable:!0,configurable:!0}),t.prototype.componentDidUpdate=function(e,t){if(e!==this.props){var n=Sc(this.props);n&&this._updateColor(void 0,n)}},t.prototype.render=function(){var e=this,t=this.props,n=this._strings,o=this._textLabels,r=t.theme,i=t.className,a=t.styles,s=t.alphaType,c=t.alphaSliderHidden,l=void 0===c?"none"===s:c,u=this.state.color,d="transparency"===s,p=["hex","r","g","b",d?"t":"a"],h=d?u.t:u.a,f=d?o.t:o.a,m=yc(a,{theme:r,className:i,alphaType:s}),b=[o.r,u.r,o.g,u.g,o.b,u.b];l||"number"!=typeof h||b.push(f,h+"%");var y=n.rootAriaLabelFormat.replace("{0}",b.join(" "));return g.createElement("div",{className:m.root,role:"group","aria-label":y},g.createElement("div",{className:m.panel},g.createElement(pc,{color:u,onChange:this._onSVChanged,ariaLabel:n.svAriaLabel,ariaDescription:n.svAriaDescription,ariaValueFormat:n.svAriaValueFormat,className:m.colorRectangle}),g.createElement("div",{className:m.flexContainer},g.createElement("div",{className:m.flexSlider},g.createElement(bc,{className:"is-hue",type:"hue",ariaLabel:n.hue||n.hueAriaLabel,value:u.h,onChange:this._onHChanged}),!l&&g.createElement(bc,{className:"is-alpha",type:s,ariaLabel:d?n.transparencyAriaLabel:n.alphaAriaLabel,overlayColor:u.hex,value:h,onChange:this._onATChanged})),t.showPreview&&g.createElement("div",{className:m.flexPreviewBox},g.createElement("div",{className:m.colorSquare+" is-preview",style:{backgroundColor:u.str}}))),g.createElement("table",{className:m.table,role:"group",cellPadding:"0",cellSpacing:"0"},g.createElement("thead",null,g.createElement("tr",{className:m.tableHeader},g.createElement("td",{className:m.tableHexCell},o.hex),g.createElement("td",null,o.r),g.createElement("td",null,o.g),g.createElement("td",null,o.b),!l&&g.createElement("td",{className:m.tableAlphaCell},f))),g.createElement("tbody",null,g.createElement("tr",null,p.map((function(t){return"a"!==t&&"t"!==t||!l?g.createElement("td",{key:t},g.createElement(lc,{className:m.input,onChange:e._textChangeHandlers[t],onBlur:e._onBlur,value:e._getDisplayValue(t),spellCheck:!1,ariaLabel:o[t],autoComplete:"off"})):null})))))))},t.prototype._getDisplayValue=function(e){var t=this.state,n=t.color,o=t.editingColor;return o&&o.component===e?o.value:"hex"===e?n[e]||"":"number"!=typeof n[e]||isNaN(n[e])?"":String(n[e])},t.prototype._onTextChange=function(e,t,n){var o,r=this.state.color,i="hex"===e,a="a"===e,s="t"===e;if(n=(n||"").substr(0,i?6:3),(i?fs:ms).test(n))if(""!==n&&(i?6===n.length:a||s?Number(n)<=100:Number(n)<=255))if(String(r[e])===n)this.state.editingColor&&this.setState({editingColor:void 0});else{var c=i?Es("#"+n):s?tc(r,Number(n)):Os(Object(m.a)(Object(m.a)({},r),((o={})[e]=Number(n),o)));this._updateColor(t,c)}else this.setState({editingColor:{component:e,value:n}})},t.prototype._updateColor=function(e,t){if(t){var n=this.state,o=n.color,r=n.editingColor;if(t.h!==o.h||t.str!==o.str||r){if(e&&this.props.onChange&&(this.props.onChange(e,t),e.defaultPrevented))return;this.setState({color:t,editingColor:void 0})}}},t.defaultProps={alphaType:"alpha",strings:{rootAriaLabelFormat:"Color picker, {0} selected.",hex:"Hex",red:"Red",green:"Green",blue:"Blue",alpha:"Alpha",transparency:"Transparency",hueAriaLabel:"Hue",svAriaLabel:dc.defaultProps.ariaLabel,svAriaValueFormat:dc.defaultProps.ariaValueFormat,svAriaDescription:dc.defaultProps.ariaDescription}},t}(g.Component);function Sc(e){var t=e.color;return"string"==typeof t?Es(t):t}var Cc,xc=Object(x.a)(_c,(function(e){var t=e.className,n=e.theme,o=e.alphaType;return{root:["ms-ColorPicker",n.fonts.medium,{position:"relative",maxWidth:300},t],panel:["ms-ColorPicker-panel",{padding:"16px"}],table:["ms-ColorPicker-table",{tableLayout:"fixed",width:"100%",selectors:{"tbody td:last-of-type .ms-ColorPicker-input":{paddingRight:0}}}],tableHeader:[n.fonts.small,{selectors:{td:{paddingBottom:4}}}],tableHexCell:{width:"25%"},tableAlphaCell:"transparency"===o&&{width:"22%"},colorSquare:["ms-ColorPicker-colorSquare",{width:48,height:48,margin:"0 0 0 8px",border:"1px solid #c8c6c4"}],flexContainer:{display:"flex"},flexSlider:{flexGrow:"1"},flexPreviewBox:{flexGrow:"0"},input:["ms-ColorPicker-input",{width:"100%",border:"none",boxSizing:"border-box",height:30,selectors:{"&.ms-TextField":{paddingRight:4},"& .ms-TextField-field":{minWidth:"auto",padding:5,textOverflow:"clip"}}}]}}),void 0,{scope:"ColorPicker"});!function(e){e[e.Normal=0]="Normal",e[e.Divider=1]="Divider",e[e.Header=2]="Header"}(Cc||(Cc={}));var wc,Tc,kc,Ic,Oc=n(62),Ec=n(57),Nc=Object(y.c)((function(e){var t,n=e.semanticColors;return{backgroundColor:n.disabledBackground,color:n.disabledText,cursor:"default",selectors:(t={":after":{borderColor:n.disabledBackground}},t[b.l]={color:"GrayText",selectors:{":after":{borderColor:"GrayText"}}},t)}})),Pc={selectors:(wc={},wc[b.l]={backgroundColor:"Highlight",borderColor:"Highlight",color:"HighlightText",MsHighContrastAdjust:"none"},wc)},Dc={selectors:(Tc={},Tc[b.l]={color:"WindowText",backgroundColor:"Window",MsHighContrastAdjust:"none"},Tc)},Ac=Object(y.c)((function(e,t,n,o,r){var i,a=e.palette,s=e.semanticColors,c={textHoveredColor:s.menuItemTextHovered,textSelectedColor:a.neutralDark,textDisabledColor:s.disabledText,backgroundHoveredColor:s.menuItemBackgroundHovered,backgroundPressedColor:s.menuItemBackgroundPressed},l={root:[e.fonts.medium,{backgroundColor:o?c.backgroundHoveredColor:"transparent",boxSizing:"border-box",cursor:"pointer",display:r?"none":"block",width:"100%",height:"auto",minHeight:36,lineHeight:"20px",padding:"0 8px",position:"relative",borderWidth:"1px",borderStyle:"solid",borderColor:"transparent",borderRadius:0,wordWrap:"break-word",overflowWrap:"break-word",textAlign:"left",selectors:(i={},i[b.l]={borderColor:"Background"},i["&.ms-Checkbox"]={display:"flex",alignItems:"center"},i["&.ms-Button--command:hover:active"]={backgroundColor:c.backgroundPressedColor},i[".ms-Checkbox-label"]={width:"100%"},i)}],rootHovered:{backgroundColor:c.backgroundHoveredColor,color:c.textHoveredColor},rootFocused:{backgroundColor:c.backgroundHoveredColor},rootChecked:[{backgroundColor:"transparent",color:c.textSelectedColor,selectors:{":hover":[{backgroundColor:c.backgroundHoveredColor},Pc]}},Object(b.Q)(e,{inset:-1,isFocusedOnly:!1}),Pc],rootDisabled:{color:c.textDisabledColor,cursor:"default"},optionText:{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",minWidth:"0px",maxWidth:"100%",wordWrap:"break-word",overflowWrap:"break-word",display:"inline-block"},optionTextWrapper:{maxWidth:"100%",display:"flex",alignItems:"center"}};return Object(b.H)(l,t,n)})),Rc=Object(y.c)((function(e,t){var n,o,r=e.semanticColors,i=e.fonts,a={buttonTextColor:r.bodySubtext,buttonTextHoveredCheckedColor:r.buttonTextChecked,buttonBackgroundHoveredColor:r.listItemBackgroundHovered,buttonBackgroundCheckedColor:r.listItemBackgroundChecked,buttonBackgroundCheckedHoveredColor:r.listItemBackgroundCheckedHovered},s={selectors:(n={},n[b.l]={backgroundColor:"Highlight",borderColor:"Highlight",color:"HighlightText",MsHighContrastAdjust:"none"},n)},c={root:{color:a.buttonTextColor,fontSize:i.small.fontSize,position:"absolute",top:0,height:"100%",lineHeight:30,width:32,textAlign:"center",cursor:"default",selectors:(o={},o[b.l]={backgroundColor:"ButtonFace",borderColor:"ButtonText",color:"ButtonText",MsHighContrastAdjust:"none"},o)},icon:{fontSize:i.small.fontSize},rootHovered:[{backgroundColor:a.buttonBackgroundHoveredColor,color:a.buttonTextHoveredCheckedColor,cursor:"pointer"},s],rootPressed:[{backgroundColor:a.buttonBackgroundCheckedColor,color:a.buttonTextHoveredCheckedColor},s],rootChecked:[{backgroundColor:a.buttonBackgroundCheckedColor,color:a.buttonTextHoveredCheckedColor},s],rootCheckedHovered:[{backgroundColor:a.buttonBackgroundCheckedHoveredColor,color:a.buttonTextHoveredCheckedColor},s],rootDisabled:[Nc(e),{position:"absolute"}]};return Object(b.H)(c,t)})),Mc=Object(y.c)((function(e,t,n){var o,r,i,a,s,c=e.semanticColors,l=e.fonts,u=e.effects,d={textColor:c.inputText,borderColor:c.inputBorder,borderHoveredColor:c.inputBorderHovered,borderPressedColor:c.inputFocusBorderAlt,borderFocusedColor:c.inputFocusBorderAlt,backgroundColor:c.inputBackground,erroredColor:c.errorText},p={headerTextColor:c.menuHeader,dividerBorderColor:c.bodyDivider},h={selectors:(o={},o[b.l]={color:"GrayText"},o)},f=[{color:c.inputPlaceholderText},h],m=[{color:c.inputTextHovered},h],g=[{color:c.disabledText},h],y={color:"HighlightText",backgroundColor:"Window",MsHighContrastAdjust:"none",selectors:{":after":{borderColor:"Highlight"}}},v=Object(b.U)(d.borderPressedColor,u.roundedCorner2,"border",0),_={container:{},label:{},labelDisabled:{},root:[e.fonts.medium,{boxShadow:"none",marginLeft:"0",paddingRight:32,paddingLeft:9,color:d.textColor,position:"relative",outline:"0",userSelect:"none",backgroundColor:d.backgroundColor,cursor:"text",display:"block",height:32,whiteSpace:"nowrap",textOverflow:"ellipsis",boxSizing:"border-box",selectors:{".ms-Label":{display:"inline-block",marginBottom:"8px"},"&.is-open":{selectors:(r={},r[b.l]=y,r)},":after":{pointerEvents:"none",content:"''",position:"absolute",left:0,top:0,bottom:0,right:0,borderWidth:"1px",borderStyle:"solid",borderColor:d.borderColor,borderRadius:u.roundedCorner2}}}],rootHovered:{selectors:(i={":after":{borderColor:d.borderHoveredColor},".ms-ComboBox-Input":[{color:c.inputTextHovered},Object(b.V)(m),Dc]},i[b.l]={color:"HighlightText",backgroundColor:"Window",MsHighContrastAdjust:"none",selectors:{":after":{borderColor:"Highlight"}}},i)},rootPressed:[{position:"relative",selectors:(a={},a[b.l]=y,a)}],rootFocused:[{selectors:(s={".ms-ComboBox-Input":[{color:c.inputTextHovered},Dc]},s[b.l]=y,s)},v],rootDisabled:Nc(e),rootError:{selectors:{":after":{borderColor:d.erroredColor},":hover:after":{borderColor:c.inputBorderHovered}}},rootDisallowFreeForm:{},input:[Object(b.V)(f),{backgroundColor:d.backgroundColor,color:d.textColor,boxSizing:"border-box",width:"100%",height:"100%",borderStyle:"none",outline:"none",font:"inherit",textOverflow:"ellipsis",padding:"0",selectors:{"::-ms-clear":{display:"none"}}},Dc],inputDisabled:[Nc(e),Object(b.V)(g)],errorMessage:[e.fonts.small,{color:d.erroredColor,marginTop:"5px"}],callout:{boxShadow:u.elevation8},optionsContainerWrapper:{width:n},optionsContainer:{display:"block"},screenReaderText:b.Z,header:[l.medium,{fontWeight:b.k.semibold,color:p.headerTextColor,backgroundColor:"none",borderStyle:"none",height:36,lineHeight:36,cursor:"default",padding:"0 8px",userSelect:"none",textAlign:"left"}],divider:{height:1,backgroundColor:p.dividerBorderColor}};return Object(b.H)(_,t)})),Fc=Object(y.c)((function(e,t,n,o,r,i,a,s){return{container:Object(b.db)("ms-ComboBox-container",t,e.container),label:Object(b.db)(e.label,o&&e.labelDisabled),root:Object(b.db)("ms-ComboBox",s?e.rootError:n&&"is-open",r&&"is-required",e.root,!a&&e.rootDisallowFreeForm,s&&!i?e.rootError:!o&&i&&e.rootFocused,!o&&{selectors:{":hover":s?e.rootError:!n&&!i&&e.rootHovered,":active":s?e.rootError:e.rootPressed,":focus":s?e.rootError:e.rootFocused}},o&&["is-disabled",e.rootDisabled]),input:Object(b.db)("ms-ComboBox-Input",e.input,o&&e.inputDisabled),errorMessage:Object(b.db)(e.errorMessage),callout:Object(b.db)("ms-ComboBox-callout",e.callout),optionsContainerWrapper:Object(b.db)("ms-ComboBox-optionsContainerWrapper",e.optionsContainerWrapper),optionsContainer:Object(b.db)("ms-ComboBox-optionsContainer",e.optionsContainer),header:Object(b.db)("ms-ComboBox-header",e.header),divider:Object(b.db)("ms-ComboBox-divider",e.divider),screenReaderText:Object(b.db)(e.screenReaderText)}})),jc=Object(y.c)((function(e){return{optionText:Object(b.db)("ms-ComboBox-optionText",e.optionText),root:Object(b.db)("ms-ComboBox-option",e.root,{selectors:{":hover":e.rootHovered,":focus":e.rootFocused,":active":e.rootPressed}}),optionTextWrapper:Object(b.db)(e.optionTextWrapper)}}));function Lc(e,t){for(var n=[],o=0,r=t;o<r.length;o++){var i=e[r[o]];i&&n.push(i)}return n}!function(e){e[e.backward=-1]="backward",e[e.none=0]="none",e[e.forward=1]="forward"}(kc||(kc={})),function(e){e[e.clearAll=-2]="clearAll",e[e.default=-1]="default"}(Ic||(Ic={}));var Hc=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(m.c)(t,e),t.prototype.render=function(){return this.props.render()},t.prototype.shouldComponentUpdate=function(e){return!Object(ot.e)(Object(m.a)(Object(m.a)({},this.props),{render:void 0}),Object(m.a)(Object(m.a)({},e),{render:void 0}))},t}(g.Component),Bc=function(e){function t(t){var n=e.call(this,t)||this;n._root=g.createRef(),n._autofill=g.createRef(),n._comboBoxWrapper=g.createRef(),n._comboBoxMenu=g.createRef(),n._selectedElement=g.createRef(),n.focus=function(e,t){n._autofill.current&&(t?Object(Ee.b)(n._autofill.current):n._autofill.current.focus(),e&&n.setState({isOpen:!0})),n._hasFocus()||n.setState({focusState:"focused"})},n.dismissMenu=function(){n.state.isOpen&&n.setState({isOpen:!1})},n._onUpdateValueInAutofillWillReceiveProps=function(){var e=n._autofill.current;if(!e)return null;if(null===e.value||void 0===e.value)return null;var t=n._normalizeToString(n._currentVisibleValue);return e.value!==t?t||"":e.value},n._renderComboBoxWrapper=function(e,t,o){void 0===o&&(o={});var r=n.props,i=r.label,a=r.disabled,s=r.ariaLabel,c=r.ariaDescribedBy,l=r.required,u=r.errorMessage,d=r.allowFreeform,p=r.buttonIconProps,h=r.isButtonAriaHidden,f=void 0===h||h,b=r.title,y=r.placeholder,v=r.tabIndex,_=r.autofill,S=r.iconButtonProps,C=n.state,x=C.isOpen,w=C.suggestedDisplayValue,T=n._hasFocus()&&n.props.multiSelect&&e?e:y;return g.createElement("div",{"data-ktp-target":o["data-ktp-target"],ref:n._comboBoxWrapper,id:n._id+"wrapper",className:n._classNames.root},g.createElement(ve,Object(m.a)({"data-ktp-execute-target":o["data-ktp-execute-target"],"data-is-interactable":!a,componentRef:n._autofill,id:n._id+"-input",className:n._classNames.input,type:"text",onFocus:n._onFocus,onBlur:n._onBlur,onKeyDown:n._onInputKeyDown,onKeyUp:n._onInputKeyUp,onClick:n._onAutofillClick,onTouchStart:n._onTouchStart,onInputValueChange:n._onInputChange,"aria-expanded":x,"aria-autocomplete":n._getAriaAutoCompleteValue(),role:"combobox",readOnly:a||!d,"aria-labelledby":i&&n._id+"-label","aria-label":s&&!i?s:void 0,"aria-describedby":void 0!==u?Object(Ue.a)(c,o["aria-describedby"],t):Object(Ue.a)(c,o["aria-describedby"]),"aria-activedescendant":n._getAriaActiveDescendantValue(),"aria-required":l,"aria-disabled":a,"aria-owns":x?n._id+"-list":void 0,spellCheck:!1,defaultVisibleValue:n._currentVisibleValue,suggestedDisplayValue:w,updateValueInWillReceiveProps:n._onUpdateValueInAutofillWillReceiveProps,shouldSelectFullInputValueInComponentDidUpdate:n._onShouldSelectFullInputValueInAutofillComponentDidUpdate,title:b,preventValueSelection:!n._hasFocus(),placeholder:T,tabIndex:v},_)),g.createElement(go,Object(m.a)({className:"ms-ComboBox-CaretDown-button",styles:n._getCaretButtonStyles(),role:"presentation","aria-hidden":f,"data-is-focusable":!1,tabIndex:-1,onClick:n._onComboBoxClick,onBlur:n._onBlur,iconProps:p,disabled:a,checked:x},S)))},n._onShouldSelectFullInputValueInAutofillComponentDidUpdate=function(){return n._currentVisibleValue===n.state.suggestedDisplayValue},n._getVisibleValue=function(){var e=n.props,t=e.text,o=e.allowFreeform,r=e.autoComplete,i=n.state,a=i.selectedIndices,s=i.currentPendingValueValidIndex,c=i.currentOptions,l=i.currentPendingValue,u=i.suggestedDisplayValue,d=i.isOpen,p=n._indexWithinBounds(c,s);if((!d||!p)&&t&&null==l)return t;if(n.props.multiSelect){if(n._hasFocus()){var h=-1;return"on"===r&&p&&(h=s),n._getPendingString(l,c,h)}return n._getMultiselectDisplayString(a,c,u)}return h=n._getFirstSelectedIndex(),o?("on"===r&&p&&(h=s),n._getPendingString(l,c,h)):p&&"on"===r?(h=s,n._normalizeToString(l)):!n.state.isOpen&&l?n._indexWithinBounds(c,h)?l:n._normalizeToString(u):n._indexWithinBounds(c,h)?c[h].text:n._normalizeToString(u)},n._onInputChange=function(e){n.props.disabled?n._handleInputWhenDisabled(null):n.props.allowFreeform?n._processInputChangeWithFreeform(e):n._processInputChangeWithoutFreeform(e)},n._onFocus=function(){n._autofill.current&&n._autofill.current.inputElement&&n._autofill.current.inputElement.select(),n._hasFocus()||n.setState({focusState:"focusing"})},n._onResolveOptions=function(){if(n.props.onResolveOptions){var e=n.props.onResolveOptions(Object(m.e)(n.state.currentOptions));if(Array.isArray(e))n.setState({currentOptions:e});else if(e&&e.then){var t=n._currentPromise=e;t.then((function(e){t===n._currentPromise&&n.setState({currentOptions:e})}))}}},n._onBlur=function(e){var t=e.relatedTarget;if(null===e.relatedTarget&&(t=document.activeElement),t&&(n._root.current&&n._root.current.contains(t)||n._comboBoxMenu.current&&(n._comboBoxMenu.current.contains(t)||Object(Oc.a)(n._comboBoxMenu.current,(function(e){return e===t})))))return e.preventDefault(),void e.stopPropagation();n._hasFocus()&&(n.setState({focusState:"none"}),n.props.multiSelect&&!n.props.allowFreeform||n._submitPendingValue(e))},n._onRenderContainer=function(e){var t=e.onRenderList,o=e.calloutProps,r=e.dropdownWidth,i=e.dropdownMaxWidth,a=e.onRenderUpperContent,s=void 0===a?n._onRenderUpperContent:a,c=e.onRenderLowerContent,l=void 0===c?n._onRenderLowerContent:c,u=e.useComboBoxAsMenuWidth,d=e.persistMenu,p=e.shouldRestoreFocus,h=void 0===p||p,f=n.state.isOpen,b=u&&n._comboBoxWrapper.current?n._comboBoxWrapper.current.clientWidth+2:void 0;return g.createElement(Nn,Object(m.a)({isBeakVisible:!1,gapSpace:0,doNotLayer:!1,directionalHint:st.bottomLeftEdge,directionalHintFixed:!1},o,{onLayerMounted:n._onLayerMounted,className:Object(z.a)(n._classNames.callout,o?o.className:void 0),target:n._comboBoxWrapper.current,onDismiss:n._onDismiss,onMouseDown:n._onCalloutMouseDown,onScroll:n._onScroll,setInitialFocus:!1,calloutWidth:u&&n._comboBoxWrapper.current?b&&b:r,calloutMaxWidth:i||b,hidden:d?!f:void 0,shouldRestoreFocus:h}),s(n.props,n._onRenderUpperContent),g.createElement("div",{className:n._classNames.optionsContainerWrapper,ref:n._comboBoxMenu},t(Object(m.a)({},e),n._onRenderList)),l(n.props,n._onRenderLowerContent))},n._onLayerMounted=function(){n._onCalloutLayerMounted(),n.props.calloutProps&&n.props.calloutProps.onLayerMounted&&n.props.calloutProps.onLayerMounted()},n._onRenderLabel=function(e){var t=e.props,o=t.label,r=t.disabled,i=t.required;return o?g.createElement(za,{id:n._id+"-label",disabled:r,required:i,className:n._classNames.label},o,e.multiselectAccessibleText&&g.createElement("span",{className:n._classNames.screenReaderText},e.multiselectAccessibleText)):null},n._onRenderList=function(e){var t=e.onRenderItem,o=e.options,r=n._id;return g.createElement("div",{id:r+"-list",className:n._classNames.optionsContainer,"aria-labelledby":r+"-label",role:"listbox"},o.map((function(e){return t(e,n._onRenderItem)})))},n._onRenderItem=function(e){switch(e.itemType){case Cc.Divider:return n._renderSeparator(e);case Cc.Header:return n._renderHeader(e);default:return n._renderOption(e)}},n._onRenderLowerContent=function(){return null},n._onRenderUpperContent=function(){return null},n._renderOption=function(e){var t=n.props.onRenderOption,o=void 0===t?n._onRenderOptionContent:t,r=n._id,i=n._isOptionSelected(e.index),a=n._isOptionChecked(e.index),s=n._getCurrentOptionStyles(e),c=jc(n._getCurrentOptionStyles(e)),l=n._getPreviewText(e),u=function(){return o(e,n._onRenderOptionContent)};return g.createElement(Hc,{key:e.key,index:e.index,disabled:e.disabled,isSelected:i,isChecked:a,text:e.text,render:function(){return n.props.multiSelect?g.createElement(La,{id:r+"-list"+e.index,ariaLabel:n._getPreviewText(e),key:e.key,"data-index":e.index,styles:s,className:"ms-ComboBox-option","data-is-focusable":!0,onChange:n._onItemClick(e),label:e.text,role:"option",checked:a,title:l,disabled:e.disabled,onRenderLabel:u,inputProps:{"aria-selected":i?"true":"false"}}):g.createElement(cr,{id:r+"-list"+e.index,key:e.key,"data-index":e.index,styles:s,checked:i,className:"ms-ComboBox-option",onClick:n._onItemClick(e),onMouseEnter:n._onOptionMouseEnter.bind(n,e.index),onMouseMove:n._onOptionMouseMove.bind(n,e.index),onMouseLeave:n._onOptionMouseLeave,role:"option","aria-selected":i?"true":"false",ariaLabel:n._getPreviewText(e),disabled:e.disabled,title:l},g.createElement("span",{className:c.optionTextWrapper,ref:i?n._selectedElement:void 0},o(e,n._onRenderOptionContent)))},data:e.data})},n._onCalloutMouseDown=function(e){e.preventDefault()},n._onScroll=function(){n._isScrollIdle||void 0===n._scrollIdleTimeoutId?n._isScrollIdle=!1:(n._async.clearTimeout(n._scrollIdleTimeoutId),n._scrollIdleTimeoutId=void 0),n._scrollIdleTimeoutId=n._async.setTimeout((function(){n._isScrollIdle=!0}),250)},n._onRenderOptionContent=function(e){var t=jc(n._getCurrentOptionStyles(e));return g.createElement("span",{className:t.optionText},e.text)},n._onDismiss=function(){var e=n.props.onMenuDismiss;e&&e(),n.props.persistMenu&&n._onCalloutLayerMounted(),n._setOpenStateAndFocusOnClose(!1,!1),n._resetSelectedIndex()},n._onAfterClearPendingInfo=function(){n._processingClearPendingInfo=!1},n._onInputKeyDown=function(e){var t=n.props,o=t.disabled,r=t.allowFreeform,i=t.autoComplete,a=n.state,s=a.isOpen,c=a.currentOptions,l=a.currentPendingValueValidIndexOnHover;if(n._lastKeyDownWasAltOrMeta=n._isAltOrMeta(e),o)n._handleInputWhenDisabled(e);else{var u=n._getPendingSelectedIndex(!1);switch(e.which){case ge.a.enter:n._autofill.current&&n._autofill.current.inputElement&&n._autofill.current.inputElement.select(),n._submitPendingValue(e),n.props.multiSelect&&s?n.setState({currentPendingValueValidIndex:u}):(s||(!r||void 0===n.state.currentPendingValue||null===n.state.currentPendingValue||n.state.currentPendingValue.length<=0)&&n.state.currentPendingValueValidIndex<0)&&n.setState({isOpen:!s});break;case ge.a.tab:return n.props.multiSelect||n._submitPendingValue(e),void(s&&n._setOpenStateAndFocusOnClose(!s,!1));case ge.a.escape:if(n._resetSelectedIndex(),!s)return;n.setState({isOpen:!1});break;case ge.a.up:if(l===Ic.clearAll&&(u=n.state.currentOptions.length),e.altKey||e.metaKey){if(s){n._setOpenStateAndFocusOnClose(!s,!0);break}return}n._setPendingInfoFromIndexAndDirection(u,kc.backward);break;case ge.a.down:e.altKey||e.metaKey?n._setOpenStateAndFocusOnClose(!0,!0):(l===Ic.clearAll&&(u=-1),n._setPendingInfoFromIndexAndDirection(u,kc.forward));break;case ge.a.home:case ge.a.end:if(r)return;u=-1;var d=kc.forward;e.which===ge.a.end&&(u=c.length,d=kc.backward),n._setPendingInfoFromIndexAndDirection(u,d);break;case ge.a.space:if(!r&&"off"===i)break;default:if(e.which>=112&&e.which<=123)return;if(e.keyCode===ge.a.alt||"Meta"===e.key)return;if(!r&&"on"===i){n._onInputChange(e.key);break}return}e.stopPropagation(),e.preventDefault()}},n._onInputKeyUp=function(e){var t=n.props,o=t.disabled,r=t.allowFreeform,i=t.autoComplete,a=n.state.isOpen,s=n._lastKeyDownWasAltOrMeta&&n._isAltOrMeta(e);n._lastKeyDownWasAltOrMeta=!1;var c=s&&!(Object(ct.a)()||Object(lt.a)());if(o)n._handleInputWhenDisabled(e);else switch(e.which){case ge.a.space:return void(r||"off"!==i||n._setOpenStateAndFocusOnClose(!a,!!a));default:return void(c&&a?n._setOpenStateAndFocusOnClose(!a,!0):("focusing"===n.state.focusState&&n.props.openOnKeyboardFocus&&n.setState({isOpen:!0}),"focused"!==n.state.focusState&&n.setState({focusState:"focused"})))}},n._onOptionMouseLeave=function(){n._shouldIgnoreMouseEvent()||n.props.persistMenu&&!n.state.isOpen||n.setState({currentPendingValueValidIndexOnHover:Ic.clearAll})},n._onComboBoxClick=function(){var e=n.props.disabled,t=n.state.isOpen;e||(n._setOpenStateAndFocusOnClose(!t,!1),n.setState({focusState:"focused"}))},n._onAutofillClick=function(){var e=n.props,t=e.disabled;e.allowFreeform&&!t?n.focus(n.state.isOpen||n._processingTouch):n._onComboBoxClick()},n._onTouchStart=function(){n._comboBoxWrapper.current&&!("onpointerdown"in n._comboBoxWrapper)&&n._handleTouchAndPointerEvent()},n._onPointerDown=function(e){"touch"===e.pointerType&&(n._handleTouchAndPointerEvent(),e.preventDefault(),e.stopImmediatePropagation())},Object(be.a)(n),n._async=new ye.a(n),n._events=new Ve.a(n),Object(Ec.a)("ComboBox",t,{defaultSelectedKey:"selectedKey",text:"defaultSelectedKey",selectedKey:"value",dropdownWidth:"useComboBoxAsMenuWidth"}),n._id=t.id||Object(Pe.a)("ComboBox");var o=n._buildDefaultSelectedKeys(t.defaultSelectedKey,t.selectedKey);n._isScrollIdle=!0,n._processingTouch=!1,n._gotMouseMove=!1,n._processingClearPendingInfo=!1;var r=n._getSelectedIndices(t.options,o);return n.state={isOpen:!1,selectedIndices:r,focusState:"none",suggestedDisplayValue:void 0,currentOptions:n.props.options,currentPendingValueValidIndex:-1,currentPendingValue:void 0,currentPendingValueValidIndexOnHover:Ic.default},n}return Object(m.c)(t,e),Object.defineProperty(t.prototype,"selectedOptions",{get:function(){var e=this.state;return Lc(e.currentOptions,e.selectedIndices)},enumerable:!0,configurable:!0}),t.prototype.componentDidMount=function(){this._comboBoxWrapper.current&&!this.props.disabled&&(this._events.on(this._comboBoxWrapper.current,"focus",this._onResolveOptions,!0),"onpointerdown"in this._comboBoxWrapper.current&&this._events.on(this._comboBoxWrapper.current,"pointerdown",this._onPointerDown,!0))},t.prototype.UNSAFE_componentWillReceiveProps=function(e){if(e.selectedKey!==this.props.selectedKey||e.text!==this.props.text||e.options!==this.props.options){var t=this._buildSelectedKeys(e.selectedKey),n=this._getSelectedIndices(e.options,t);this.setState({selectedIndices:n,currentOptions:e.options}),null===e.selectedKey&&this.setState({suggestedDisplayValue:void 0})}},t.prototype.componentDidUpdate=function(e,t){var n=this,o=this.props,r=o.allowFreeform,i=o.text,a=o.onMenuOpen,s=o.onMenuDismissed,c=this.state,l=c.isOpen,u=c.selectedIndices,d=c.currentPendingValueValidIndex;!l||t.isOpen&&t.currentPendingValueValidIndex===d||this._async.setTimeout((function(){return n._scrollIntoView()}),0),this._hasFocus()&&(l||t.isOpen&&!l&&this._focusInputAfterClose&&this._autofill.current&&document.activeElement!==this._autofill.current.inputElement)&&this.focus(void 0,!0),this._focusInputAfterClose&&(t.isOpen&&!l||this._hasFocus()&&(!l&&!this.props.multiSelect&&t.selectedIndices&&u&&t.selectedIndices[0]!==u[0]||!r||i!==e.text))&&this._onFocus(),this._notifyPendingValueChanged(t),l&&!t.isOpen&&a&&a(),!l&&t.isOpen&&s&&s()},t.prototype.componentWillUnmount=function(){this._async.dispose(),this._events.dispose()},t.prototype.render=function(){var e=this,t=this._id+"-error",n=this.props,o=n.className,r=n.disabled,i=n.required,a=n.errorMessage,s=n.onRenderContainer,c=void 0===s?this._onRenderContainer:s,l=n.onRenderLabel,u=void 0===l?this._onRenderLabel:l,d=n.onRenderList,p=void 0===d?this._onRenderList:d,h=n.onRenderItem,f=void 0===h?this._onRenderItem:h,b=n.onRenderOption,y=void 0===b?this._onRenderOptionContent:b,v=n.allowFreeform,_=n.styles,S=n.theme,C=n.keytipProps,x=n.persistMenu,w=n.multiSelect,T=this.state,k=T.isOpen,O=T.suggestedDisplayValue;this._currentVisibleValue=this._getVisibleValue();var E=w?this._getMultiselectDisplayString(this.state.selectedIndices,this.state.currentOptions,O):void 0,N=Object(I.j)(this.props,I.h,["onChange","value"]),P=!!(a&&a.length>0);this._classNames=this.props.getClassNames?this.props.getClassNames(S,!!k,!!r,!!i,!!this._hasFocus(),!!v,!!P,o):Fc(Mc(S,_),o,!!k,!!r,!!i,!!this._hasFocus(),!!v,!!P);var D=C?g.createElement($e,{keytipProps:C,disabled:r},(function(n){return e._renderComboBoxWrapper(E,t,n)})):this._renderComboBoxWrapper(E,t);return g.createElement("div",Object(m.a)({},N,{ref:this._root,className:this._classNames.container}),u({props:this.props,multiselectAccessibleText:E},this._onRenderLabel),D,(x||k)&&c(Object(m.a)(Object(m.a)({},this.props),{onRenderList:p,onRenderItem:f,onRenderOption:y,options:this.state.currentOptions.map((function(e,t){return Object(m.a)(Object(m.a)({},e),{index:t})})),onDismiss:this._onDismiss}),this._onRenderContainer),g.createElement("div",{role:"region","aria-live":"polite","aria-atomic":"true",id:t,className:P?this._classNames.errorMessage:""},void 0!==a?a:""))},t.prototype._getPendingString=function(e,t,n){return null!=e?e:this._indexWithinBounds(t,n)?t[n].text:""},t.prototype._getMultiselectDisplayString=function(e,t,n){for(var o=[],r=0;e&&r<e.length;r++){var i=e[r];o.push(this._indexWithinBounds(t,i)?t[i].text:this._normalizeToString(n))}var a="";for(r=0;r<o.length;r++)r>0&&(a+=", "),a+=o[r];return a},t.prototype._indexWithinBounds=function(e,t){return!!e&&t>=0&&t<e.length},t.prototype._processInputChangeWithFreeform=function(e){var t=this,n=this.state.currentOptions,o=-1;if(""===e)return 1===(i=n.map((function(e,t){return Object(m.a)(Object(m.a)({},e),{index:t})})).filter((function(e){return e.itemType!==Cc.Header&&e.itemType!==Cc.Divider})).filter((function(n){return t._getPreviewText(n)===e}))).length&&(o=i[0].index),void this._setPendingInfo(e,o,e);var r=e;e=e.toLocaleLowerCase();var i,a="";if("on"===this.props.autoComplete){if((i=n.map((function(e,t){return Object(m.a)(Object(m.a)({},e),{index:t})})).filter((function(e){return e.itemType!==Cc.Header&&e.itemType!==Cc.Divider})).filter((function(n){return 0===t._getPreviewText(n).toLocaleLowerCase().indexOf(e)}))).length>0){var s=this._getPreviewText(i[0]);a=s.toLocaleLowerCase()!==e?s:"",o=i[0].index}}else 1===(i=n.map((function(e,t){return Object(m.a)(Object(m.a)({},e),{index:t})})).filter((function(e){return e.itemType!==Cc.Header&&e.itemType!==Cc.Divider})).filter((function(n){return t._getPreviewText(n).toLocaleLowerCase()===e}))).length&&(o=i[0].index);this._setPendingInfo(r,o,a)},t.prototype._processInputChangeWithoutFreeform=function(e){var t=this,n=this.state,o=n.currentPendingValue,r=n.currentPendingValueValidIndex,i=n.currentOptions;if("on"===this.props.autoComplete&&""!==e){void 0!==this._lastReadOnlyAutoCompleteChangeTimeoutId&&(this._async.clearTimeout(this._lastReadOnlyAutoCompleteChangeTimeoutId),this._lastReadOnlyAutoCompleteChangeTimeoutId=void 0,e=this._normalizeToString(o)+e);var a=e;e=e.toLocaleLowerCase();var s=i.map((function(e,t){return Object(m.a)(Object(m.a)({},e),{index:t})})).filter((function(e){return e.itemType!==Cc.Header&&e.itemType!==Cc.Divider})).filter((function(t){return 0===t.text.toLocaleLowerCase().indexOf(e)}));return s.length>0&&this._setPendingInfo(a,s[0].index,this._getPreviewText(s[0])),void(this._lastReadOnlyAutoCompleteChangeTimeoutId=this._async.setTimeout((function(){t._lastReadOnlyAutoCompleteChangeTimeoutId=void 0}),1e3))}var c=r>=0?r:this._getFirstSelectedIndex();this._setPendingInfoFromIndex(c)},t.prototype._getFirstSelectedIndex=function(){return this.state.selectedIndices&&this.state.selectedIndices.length>0?this.state.selectedIndices[0]:-1},t.prototype._getNextSelectableIndex=function(e,t){var n=this.state.currentOptions,o=e+t;if(o=Math.max(0,Math.min(n.length-1,o)),!this._indexWithinBounds(n,o))return-1;var r=n[o];if(r.itemType===Cc.Header||r.itemType===Cc.Divider||!0===r.hidden){if(t===kc.none||!(o>0&&t<kc.none||o>=0&&o<n.length&&t>kc.none))return e;o=this._getNextSelectableIndex(o,t)}return o},t.prototype._setSelectedIndex=function(e,t,n){var o=this;void 0===n&&(n=kc.none);var r=this.props,i=r.onChange,a=r.onPendingValueChanged,s=this.state.currentOptions,c=this.state.selectedIndices,l=c?c.slice():[];if(e=this._getNextSelectableIndex(e,n),this._indexWithinBounds(s,e)){if(this.props.multiSelect||l.length<1||1===l.length&&l[0]!==e){var u=Object(m.a)({},s[e]);if(!u||u.disabled)return;if(this.props.multiSelect?(u.selected=void 0!==u.selected?!u.selected:l.indexOf(e)<0,u.selected&&l.indexOf(e)<0?l.push(e):!u.selected&&l.indexOf(e)>=0&&(l=l.filter((function(t){return t!==e})))):l[0]=e,t.persist(),this.props.selectedKey||null===this.props.selectedKey)this._hasPendingValue&&a&&(a(),this._hasPendingValue=!1),i&&i(t,u,e,void 0);else{var d=s.slice();d[e]=u,this.setState({selectedIndices:l,currentOptions:d},(function(){o._hasPendingValue&&a&&(a(),o._hasPendingValue=!1),i&&i(t,u,e,void 0)}))}}this.props.multiSelect&&this.state.isOpen||this._clearPendingInfo()}},t.prototype._submitPendingValue=function(e){var t=this.props,n=t.onChange,o=t.allowFreeform,r=t.autoComplete,i=this.state,a=i.currentPendingValue,s=i.currentPendingValueValidIndex,c=i.currentOptions,l=i.currentPendingValueValidIndexOnHover,u=this.state.selectedIndices;if(!this._processingClearPendingInfo){if(o){if(null==a)return void(l>=0&&(this._setSelectedIndex(l,e),this._clearPendingInfo()));if(this._indexWithinBounds(c,s)){var d=this._getPreviewText(c[s]).toLocaleLowerCase();if(a.toLocaleLowerCase()===d||r&&0===d.indexOf(a.toLocaleLowerCase())&&this._autofill.current&&this._autofill.current.isValueSelected&&a.length+(this._autofill.current.selectionEnd-this._autofill.current.selectionStart)===d.length||this._autofill.current&&this._autofill.current.inputElement&&this._autofill.current.inputElement.value.toLocaleLowerCase()===d){if(this._setSelectedIndex(s,e),this.props.multiSelect&&this.state.isOpen)return;return void this._clearPendingInfo()}}if(n)n&&n(e,void 0,void 0,a);else{var p={key:a||Object(Pe.a)(),text:this._normalizeToString(a)};this.props.multiSelect&&(p.selected=!0);var h=c.concat([p]);u&&(this.props.multiSelect||(u=[]),u.push(h.length-1)),this.setState({currentOptions:h,selectedIndices:u})}}else s>=0?this._setSelectedIndex(s,e):l>=0&&this._setSelectedIndex(l,e);this._clearPendingInfo()}},t.prototype._onCalloutLayerMounted=function(){this._gotMouseMove=!1},t.prototype._renderSeparator=function(e){var t=e.index,n=e.key;return t&&t>0?g.createElement("div",{role:"separator",key:n,className:this._classNames.divider}):null},t.prototype._renderHeader=function(e){var t=this.props.onRenderOption,n=void 0===t?this._onRenderOptionContent:t;return g.createElement("div",{key:e.key,className:this._classNames.header},n(e,this._onRenderOptionContent))},t.prototype._isOptionSelected=function(e){return this.state.currentPendingValueValidIndexOnHover!==Ic.clearAll&&this._getPendingSelectedIndex(!0)===e},t.prototype._isOptionChecked=function(e){return!(!this.props.multiSelect||void 0===e||!this.state.selectedIndices)&&this.state.selectedIndices.indexOf(e)>=0},t.prototype._getPendingSelectedIndex=function(e){var t=this.state,n=t.currentPendingValueValidIndexOnHover,o=t.currentPendingValueValidIndex,r=t.currentPendingValue;return n>=0?n:o>=0||e&&null!=r?o:this.props.multiSelect?0:this._getFirstSelectedIndex()},t.prototype._scrollIntoView=function(){var e=this.props,t=e.onScrollToItem,n=e.scrollSelectedToTop,o=this.state,r=o.currentPendingValueValidIndex,i=o.currentPendingValue;if(t)t(r>=0||""!==i?r:this._getFirstSelectedIndex());else if(this._selectedElement.current&&this._selectedElement.current.offsetParent)if(n)this._selectedElement.current.offsetParent.scrollIntoView(!0);else{var a=!0;if(this._comboBoxMenu.current&&this._comboBoxMenu.current.offsetParent){var s=this._comboBoxMenu.current.offsetParent.getBoundingClientRect(),c=this._selectedElement.current.offsetParent.getBoundingClientRect();if(s.top<=c.top&&s.top+s.height>=c.top+c.height)return;s.top+s.height<=c.top+c.height&&(a=!1)}this._selectedElement.current.offsetParent.scrollIntoView(a)}},t.prototype._onItemClick=function(e){var t=this,n=this.props.onItemClick,o=e.index;return function(r){n&&n(r,e,o),t._setSelectedIndex(o,r),t.props.multiSelect||(t._autofill.current&&t._autofill.current.focus(),t.setState({isOpen:!1}))}},t.prototype._getSelectedIndices=function(e,t){if(!e||!t)return[];var n={};e.forEach((function(e,t){e.selected&&(n[t]=!0)}));for(var o=function(t){var o=Object(qe.e)(e,(function(e){return e.key===t}));o>-1&&(n[o]=!0)},r=0,i=t;r<i.length;r++)o(i[r]);return Object.keys(n).map(Number).sort()},t.prototype._resetSelectedIndex=function(){var e=this.state.currentOptions;this._clearPendingInfo();var t=this._getFirstSelectedIndex();t>0&&t<e.length?this.setState({suggestedDisplayValue:e[t].text}):this.props.text&&this.setState({suggestedDisplayValue:this.props.text})},t.prototype._clearPendingInfo=function(){this._processingClearPendingInfo=!0,this.setState({currentPendingValue:void 0,currentPendingValueValidIndex:-1,suggestedDisplayValue:void 0,currentPendingValueValidIndexOnHover:Ic.default},this._onAfterClearPendingInfo)},t.prototype._setPendingInfo=function(e,t,n){void 0===t&&(t=-1),this._processingClearPendingInfo||this.setState({currentPendingValue:this._normalizeToString(e),currentPendingValueValidIndex:t,suggestedDisplayValue:n,currentPendingValueValidIndexOnHover:Ic.default})},t.prototype._setPendingInfoFromIndex=function(e){var t=this.state.currentOptions;if(e>=0&&e<t.length){var n=t[e];this._setPendingInfo(this._getPreviewText(n),e,this._getPreviewText(n))}else this._clearPendingInfo()},t.prototype._setPendingInfoFromIndexAndDirection=function(e,t){var n=this.state.currentOptions;t===kc.forward&&e>=n.length-1?e=-1:t===kc.backward&&e<=0&&(e=n.length);var o=this._getNextSelectableIndex(e,t);e===o?t===kc.forward?e=this._getNextSelectableIndex(-1,t):t===kc.backward&&(e=this._getNextSelectableIndex(n.length,t)):e=o,this._indexWithinBounds(n,e)&&this._setPendingInfoFromIndex(e)},t.prototype._notifyPendingValueChanged=function(e){var t=this.props.onPendingValueChanged;if(t){var n=this.state,o=n.currentPendingValue,r=n.currentOptions,i=n.currentPendingValueValidIndex,a=n.currentPendingValueValidIndexOnHover,s=void 0,c=void 0;a!==e.currentPendingValueValidIndexOnHover&&this._indexWithinBounds(r,a)?s=a:i!==e.currentPendingValueValidIndex&&this._indexWithinBounds(r,i)?s=i:o!==e.currentPendingValue&&(c=o),(void 0!==s||void 0!==c||this._hasPendingValue)&&(t(void 0!==s?r[s]:void 0,s,c),this._hasPendingValue=void 0!==s||void 0!==c)}},t.prototype._setOpenStateAndFocusOnClose=function(e,t){this._focusInputAfterClose=t,this.setState({isOpen:e})},t.prototype._isAltOrMeta=function(e){return e.which===ge.a.alt||"Meta"===e.key},t.prototype._onOptionMouseEnter=function(e){this._shouldIgnoreMouseEvent()||this.setState({currentPendingValueValidIndexOnHover:e})},t.prototype._onOptionMouseMove=function(e){this._gotMouseMove=!0,this._isScrollIdle&&this.state.currentPendingValueValidIndexOnHover!==e&&this.setState({currentPendingValueValidIndexOnHover:e})},t.prototype._shouldIgnoreMouseEvent=function(){return!this._isScrollIdle||!this._gotMouseMove},t.prototype._handleInputWhenDisabled=function(e){this.props.disabled&&(this.state.isOpen&&this.setState({isOpen:!1}),null!==e&&e.which!==ge.a.tab&&e.which!==ge.a.escape&&(e.which<112||e.which>123)&&(e.stopPropagation(),e.preventDefault()))},t.prototype._handleTouchAndPointerEvent=function(){var e=this;void 0!==this._lastTouchTimeoutId&&(this._async.clearTimeout(this._lastTouchTimeoutId),this._lastTouchTimeoutId=void 0),this._processingTouch=!0,this._lastTouchTimeoutId=this._async.setTimeout((function(){e._processingTouch=!1,e._lastTouchTimeoutId=void 0}),500)},t.prototype._getCaretButtonStyles=function(){var e=this.props.caretDownButtonStyles;return Rc(this.props.theme,e)},t.prototype._getCurrentOptionStyles=function(e){var t=this.props.comboBoxOptionStyles,n=e.styles;return Ac(this.props.theme,t,n,this._isPendingOption(e),e.hidden)},t.prototype._getAriaActiveDescendantValue=function(){var e=this.state.isOpen&&this.state.selectedIndices&&this.state.selectedIndices.length>0?this._id+"-list"+this.state.selectedIndices[0]:void 0;return this.state.isOpen&&this._hasFocus()&&-1!==this.state.currentPendingValueValidIndex&&(e=this._id+"-list"+this.state.currentPendingValueValidIndex),e},t.prototype._getAriaAutoCompleteValue=function(){return this.props.disabled||"on"!==this.props.autoComplete?"none":this.props.allowFreeform?"inline":"both"},t.prototype._isPendingOption=function(e){return e&&e.index===this.state.currentPendingValueValidIndex},t.prototype._buildDefaultSelectedKeys=function(e,t){var n=this._buildSelectedKeys(e);return n.length?n:this._buildSelectedKeys(t)},t.prototype._buildSelectedKeys=function(e){return void 0===e?[]:e instanceof Array?e:[e]},t.prototype._getPreviewText=function(e){return e.useAriaLabelAsText&&e.ariaLabel?e.ariaLabel:e.text},t.prototype._normalizeToString=function(e){return e||""},t.prototype._hasFocus=function(){return"none"!==this.state.focusState},t.defaultProps={options:[],allowFreeform:!1,autoComplete:"on",buttonIconProps:{iconName:"ChevronDown"}},Object(m.b)([Object(Sn.a)("ComboBox",["theme","styles"],!0)],t)}(g.Component),zc={auto:0,top:1,bottom:2,center:3},Uc={top:-1,bottom:-1,left:-1,right:-1,width:0,height:0},Vc=function(e){return e.getBoundingClientRect()},Wc=Vc,qc=Vc,Gc=function(e){function t(t){var n=e.call(this,t)||this;return n._root=g.createRef(),n._surface=g.createRef(),n._onRenderRoot=function(e){var t=e.rootRef,n=e.surfaceElement,o=e.divProps;return g.createElement("div",Object(m.a)({ref:t},o),n)},n._onRenderSurface=function(e){var t=e.surfaceRef,n=e.pageElements,o=e.divProps;return g.createElement("div",Object(m.a)({ref:t},o),n)},n._onRenderPage=function(e,t){for(var o=n.props,r=o.onRenderCell,i=o.role,a=e.page,s=a.items,c=void 0===s?[]:s,l=a.startIndex,u=Object(m.d)(e,["page"]),d=void 0===i?"listitem":"presentation",p=[],h=0;h<c.length;h++){var f=l+h,b=c[h],y=n.props.getKey?n.props.getKey(b,f):b&&b.key;null==y&&(y=f),p.push(g.createElement("div",{role:d,className:"ms-List-cell",key:y,"data-list-index":f,"data-automationid":"ListCell"},r&&r(b,f,n.props.ignoreScrollingState?void 0:n.state.isScrolling)))}return g.createElement("div",Object(m.a)({},u),p)},Object(be.a)(n),n.state={pages:[],isScrolling:!1},n._async=new ye.a(n),n._events=new Ve.a(n),n._estimatedPageHeight=0,n._totalEstimates=0,n._requiredWindowsAhead=0,n._requiredWindowsBehind=0,n._measureVersion=0,n._onAsyncScroll=n._async.debounce(n._onAsyncScroll,100,{leading:!1,maxWait:500}),n._onAsyncIdle=n._async.debounce(n._onAsyncIdle,200,{leading:!1}),n._onAsyncResize=n._async.debounce(n._onAsyncResize,16,{leading:!1}),n._onScrollingDone=n._async.debounce(n._onScrollingDone,500,{leading:!1}),n._cachedPageHeights={},n._estimatedPageHeight=0,n._focusedIndex=-1,n._pageCache={},n}return Object(m.c)(t,e),t.prototype.scrollToIndex=function(e,t,n){void 0===n&&(n=zc.auto);for(var o=this.props.startIndex,r=o+this._getRenderCount(),i=this._allowedRect,a=0,s=1,c=o;c<r;c+=s){var l=this._getPageSpecification(c,i),u=l.height;if(s=l.itemCount,c<=e&&c+s>e){if(t&&this._scrollElement){for(var d=qc(this._scrollElement),p={top:this._scrollElement.scrollTop,bottom:this._scrollElement.scrollTop+d.height},h=e-c,f=0;f<h;++f)a+=t(c+f);var m=a+t(e);switch(n){case zc.top:return void(this._scrollElement.scrollTop=a);case zc.bottom:return void(this._scrollElement.scrollTop=m-d.height);case zc.center:return void(this._scrollElement.scrollTop=(a+m-d.height)/2)}if(a>=p.top&&m<=p.bottom)return;a<p.top||m>p.bottom&&(a=m-d.height)}return void(this._scrollElement.scrollTop=a)}a+=u}},t.prototype.getStartItemIndexInView=function(e){for(var t=0,n=this.state.pages||[];t<n.length;t++){var o=n[t];if(!o.isSpacer&&(this._scrollTop||0)>=o.top&&(this._scrollTop||0)<=o.top+o.height){if(!e){var r=Math.floor(o.height/o.itemCount);return o.startIndex+Math.floor((this._scrollTop-o.top)/r)}for(var i=0,a=o.startIndex;a<o.startIndex+o.itemCount;a++){if(r=e(a),o.top+i<=this._scrollTop&&this._scrollTop<o.top+i+r)return a;i+=r}}}return 0},t.prototype.componentDidMount=function(){this._updatePages(),this._measureVersion++,this._scrollElement=Object(Re.f)(this._root.current),this._events.on(window,"resize",this._onAsyncResize),this._root.current&&this._events.on(this._root.current,"focus",this._onFocus,!0),this._scrollElement&&(this._events.on(this._scrollElement,"scroll",this._onScroll),this._events.on(this._scrollElement,"scroll",this._onAsyncScroll))},t.prototype.componentWillUnmount=function(){this._async.dispose(),this._events.dispose(),delete this._scrollElement},t.prototype.UNSAFE_componentWillReceiveProps=function(e){e.items===this.props.items&&e.renderCount===this.props.renderCount&&e.startIndex===this.props.startIndex&&e.version===this.props.version||(this._resetRequiredWindows(),this._requiredRect=null,this._measureVersion++,this._invalidatePageCache(),this._updatePages(e))},t.prototype.shouldComponentUpdate=function(e,t){var n=this.state.pages,o=t.pages,r=!1;if(!t.isScrolling&&this.state.isScrolling)return!0;if(e.version!==this.props.version)return!0;if(e.items===this.props.items&&n.length===o.length)for(var i=0;i<n.length;i++){var a=n[i],s=o[i];if(a.key!==s.key||a.itemCount!==s.itemCount){r=!0;break}}else r=!0;return r},t.prototype.forceUpdate=function(){this._invalidatePageCache(),this._updateRenderRects(this.props,!0),this._updatePages(),this._measureVersion++,e.prototype.forceUpdate.call(this)},t.prototype.getTotalListHeight=function(){return this._surfaceRect.height},t.prototype.render=function(){for(var e=this.props,t=e.className,n=e.role,o=void 0===n?"list":n,r=e.onRenderSurface,i=e.onRenderRoot,a=this.state.pages,s=void 0===a?[]:a,c=[],l=Object(I.j)(this.props,I.h),u=0,d=s;u<d.length;u++){var p=d[u];c.push(this._renderPage(p))}var h=r?Object(Va.a)(r,this._onRenderSurface):this._onRenderSurface;return(i?Object(Va.a)(i,this._onRenderRoot):this._onRenderRoot)({rootRef:this._root,pages:s,surfaceElement:h({surfaceRef:this._surface,pages:s,pageElements:c,divProps:{role:"presentation",className:"ms-List-surface"}}),divProps:Object(m.a)(Object(m.a)({},l),{className:Object(z.a)("ms-List",t),role:c.length>0?o:void 0})})},t.prototype._shouldVirtualize=function(e){void 0===e&&(e=this.props);var t=e.onShouldVirtualize;return!t||t(e)},t.prototype._invalidatePageCache=function(){this._pageCache={}},t.prototype._renderPage=function(e){var t,n=this.props.usePageCache;if(n&&(t=this._pageCache[e.key])&&t.pageElement)return t.pageElement;var o=this._getPageStyle(e),r=this.props.onRenderPage,i=(void 0===r?this._onRenderPage:r)({page:e,className:"ms-List-page",key:e.key,ref:e.key,style:o,role:"presentation"},this._onRenderPage);return n&&0===e.startIndex&&(this._pageCache[e.key]={page:e,pageElement:i}),i},t.prototype._getPageStyle=function(e){var t=this.props.getPageStyle;return Object(m.a)(Object(m.a)({},t?t(e):{}),e.items?{}:{height:e.height})},t.prototype._onFocus=function(e){for(var t=e.target;t!==this._surface.current;){var n=t.getAttribute("data-list-index");if(n){this._focusedIndex=Number(n);break}t=Object(Ne.a)(t)}},t.prototype._onScroll=function(){this.state.isScrolling||this.props.ignoreScrollingState||this.setState({isScrolling:!0}),this._resetRequiredWindows(),this._onScrollingDone()},t.prototype._resetRequiredWindows=function(){this._requiredWindowsAhead=0,this._requiredWindowsBehind=0},t.prototype._onAsyncScroll=function(){var e,t;this._updateRenderRects(),this._materializedRect&&(e=this._requiredRect,t=this._materializedRect,e.top>=t.top&&e.left>=t.left&&e.bottom<=t.bottom&&e.right<=t.right)||this._updatePages()},t.prototype._onAsyncIdle=function(){var e=this.props,t=e.renderedWindowsAhead,n=e.renderedWindowsBehind,o=this._requiredWindowsAhead,r=this._requiredWindowsBehind,i=Math.min(t,o+1),a=Math.min(n,r+1);i===o&&a===r||(this._requiredWindowsAhead=i,this._requiredWindowsBehind=a,this._updateRenderRects(),this._updatePages()),(t>i||n>a)&&this._onAsyncIdle()},t.prototype._onScrollingDone=function(){this.props.ignoreScrollingState||this.setState({isScrolling:!1})},t.prototype._onAsyncResize=function(){this.forceUpdate()},t.prototype._updatePages=function(e){var t=this;void 0===e&&(e=this.props),this._requiredRect||this._updateRenderRects(e);var n=this._buildPages(e),o=this.state.pages;this._notifyPageChanges(o,n.pages),this.setState(n,(function(){var e=t.props,n=t.state;e.getPageHeight?t._onAsyncIdle():t._updatePageMeasurements(n.pages)?(t._materializedRect=null,t._hasCompletedFirstRender?t._onAsyncScroll():(t._hasCompletedFirstRender=!0,t._updatePages(e))):t._onAsyncIdle(),e.onPagesUpdated&&e.onPagesUpdated(n.pages)}))},t.prototype._notifyPageChanges=function(e,t,n){void 0===n&&(n=this.props);var o=n.onPageAdded,r=n.onPageRemoved;if(o||r){for(var i={},a=0,s=e;a<s.length;a++)(u=s[a]).items&&(i[u.startIndex]=u);for(var c=0,l=t;c<l.length;c++){var u;(u=l[c]).items&&(i[u.startIndex]?delete i[u.startIndex]:this._onPageAdded(u))}for(var d in i)i.hasOwnProperty(d)&&this._onPageRemoved(i[d])}},t.prototype._updatePageMeasurements=function(e){var t=!1;if(!this._shouldVirtualize())return t;for(var n=0;n<e.length;n++){var o=e[n];o.items&&(t=this._measurePage(o)||t)}return t},t.prototype._measurePage=function(e){var t=!1,n=this.refs[e.key],o=this._cachedPageHeights[e.startIndex];if(n&&this._shouldVirtualize()&&(!o||o.measureVersion!==this._measureVersion)){var r={width:n.clientWidth,height:n.clientHeight};(r.height||r.width)&&(t=e.height!==r.height,e.height=r.height,this._cachedPageHeights[e.startIndex]={height:r.height,measureVersion:this._measureVersion},this._estimatedPageHeight=Math.round((this._estimatedPageHeight*this._totalEstimates+r.height)/(this._totalEstimates+1)),this._totalEstimates++)}return t},t.prototype._onPageAdded=function(e){var t=this.props.onPageAdded;t&&t(e)},t.prototype._onPageRemoved=function(e){var t=this.props.onPageRemoved;t&&t(e)},t.prototype._buildPages=function(e){var t=e.renderCount,n=e.items,o=e.startIndex,r=e.getPageHeight;t=this._getRenderCount(e);for(var i=Object(m.a)({},Uc),a=[],s=1,c=0,l=null,u=this._focusedIndex,d=o+t,p=this._shouldVirtualize(e),h=0===this._estimatedPageHeight&&!r,f=this._allowedRect,g=function(e){var t=b._getPageSpecification(e,f),r=t.height,m=t.data,g=t.key;s=t.itemCount;var y,v,_=c+r-1,S=Object(qe.e)(b.state.pages,(function(t){return!!t.items&&t.startIndex===e}))>-1,C=!f||_>=f.top&&c<=f.bottom,x=!b._requiredRect||_>=b._requiredRect.top&&c<=b._requiredRect.bottom;if(!h&&(x||C&&S)||!p||u>=e&&u<e+s||e===o){l&&(a.push(l),l=null);var w=Math.min(s,d-e),T=b._createPage(g,n.slice(e,e+w),e,void 0,void 0,m);T.top=c,T.height=r,b._visibleRect&&b._visibleRect.bottom&&(T.isVisible=_>=b._visibleRect.top&&c<=b._visibleRect.bottom),a.push(T),x&&b._allowedRect&&(y=i,v={top:c,bottom:_,height:r,left:f.left,right:f.right,width:f.width},y.top=v.top<y.top||-1===y.top?v.top:y.top,y.left=v.left<y.left||-1===y.left?v.left:y.left,y.bottom=v.bottom>y.bottom||-1===y.bottom?v.bottom:y.bottom,y.right=v.right>y.right||-1===y.right?v.right:y.right,y.width=y.right-y.left+1,y.height=y.bottom-y.top+1)}else l||(l=b._createPage("spacer-"+e,void 0,e,0,void 0,m,!0)),l.height=(l.height||0)+(_-c)+1,l.itemCount+=s;if(c+=_-c+1,h&&p)return"break"},b=this,y=o;y<d&&"break"!==g(y);y+=s);return l&&(l.key="spacer-end",a.push(l)),this._materializedRect=i,{pages:a,measureVersion:this._measureVersion}},t.prototype._getPageSpecification=function(e,t){var n=this.props.getPageSpecification;if(n){var o=n(e,t),r=o.itemCount,i=void 0===r?this._getItemCountForPage(e,t):r,a=o.height;return{itemCount:i,height:void 0===a?this._getPageHeight(e,t,i):a,data:o.data,key:o.key}}return{itemCount:i=this._getItemCountForPage(e,t),height:this._getPageHeight(e,t,i)}},t.prototype._getPageHeight=function(e,t,n){if(this.props.getPageHeight)return this.props.getPageHeight(e,t,n);var o=this._cachedPageHeights[e];return o?o.height:this._estimatedPageHeight||30},t.prototype._getItemCountForPage=function(e,t){return(this.props.getItemCountForPage?this.props.getItemCountForPage(e,t):10)||10},t.prototype._createPage=function(e,t,n,o,r,i,a){void 0===n&&(n=-1),void 0===o&&(o=t?t.length:0),void 0===r&&(r={}),e=e||"page-"+n;var s=this._pageCache[e];return s&&s.page?s.page:{key:e,startIndex:n,itemCount:o,items:t,style:r,top:0,height:0,data:i,isSpacer:a||!1}},t.prototype._getRenderCount=function(e){var t=e||this.props,n=t.items,o=t.startIndex,r=t.renderCount;return void 0===r?n?n.length-o:0:r},t.prototype._updateRenderRects=function(e,t){var n=(e=e||this.props).renderedWindowsAhead,o=e.renderedWindowsBehind,r=this.state.pages;if(this._shouldVirtualize(e)){var i=this._surfaceRect||Object(m.a)({},Uc),a=this._scrollElement&&this._scrollElement.scrollHeight,s=this._scrollElement?this._scrollElement.scrollTop:0;this._surface.current&&(t||!r||!this._surfaceRect||!a||a!==this._scrollHeight||Math.abs(this._scrollTop-s)>this._estimatedPageHeight/3)&&(i=this._surfaceRect=Wc(this._surface.current),this._scrollTop=s),!t&&a&&a===this._scrollHeight||this._measureVersion++,this._scrollHeight=a;var c=Math.max(0,-i.top),l=Object(j.a)(this._root.current),u={top:c,left:i.left,bottom:c+l.innerHeight,right:i.right,width:i.width,height:l.innerHeight};this._requiredRect=Kc(u,this._requiredWindowsBehind,this._requiredWindowsAhead),this._allowedRect=Kc(u,o,n),this._visibleRect=u}},t.defaultProps={startIndex:0,onRenderCell:function(e,t,n){return g.createElement(g.Fragment,null,e&&e.name||"")},renderedWindowsAhead:2,renderedWindowsBehind:2},t}(g.Component);function Kc(e,t,n){var o=e.top-t*e.height,r=e.height+(t+n)*e.height;return{top:o,bottom:o+r,height:r,left:e.left,right:e.right,width:e.width}}var Yc,Qc,$c=function(e){function t(t){var n=e.call(this,t)||this;return n._comboBox=g.createRef(),n._list=g.createRef(),n._onRenderList=function(e){var t=e.onRenderItem;return g.createElement(Gc,{componentRef:n._list,role:"listbox",items:e.options,onRenderCell:t?function(e){return t(e)}:function(){return null}})},n._onScrollToItem=function(e){n._list.current&&n._list.current.scrollToIndex(e)},Object(be.a)(n),n}return Object(m.c)(t,e),Object.defineProperty(t.prototype,"selectedOptions",{get:function(){return this._comboBox.current?this._comboBox.current.selectedOptions:[]},enumerable:!0,configurable:!0}),t.prototype.dismissMenu=function(){if(this._comboBox.current)return this._comboBox.current.dismissMenu()},t.prototype.focus=function(e,t){return!!this._comboBox.current&&(this._comboBox.current.focus(e,t),!0)},t.prototype.render=function(){return g.createElement(Bc,Object(m.a)({},this.props,{componentRef:this._comboBox,onRenderList:this._onRenderList,onScrollToItem:this._onScrollToItem}))},t}(g.Component),Zc=n(119),Xc=Object(w.a)(),Jc=function(e){function t(t){var n=e.call(this,t)||this;return n._focusZone=g.createRef(),n._persistedKeytips={},n._keytipManager=We.getInstance(),n._divContainer=g.createRef(),n._onRenderItems=function(e){return e.map((function(e,t){return g.createElement("div",{key:e.key,className:n._classNames.item},n.props.onRenderItem(e))}))},n._onRenderOverflowButtonWrapper=function(e){var t={className:n._classNames.overflowButton},o=n.props.keytipSequences,r=[];return o?e.forEach((function(e){var t=e.keytipProps;if(t){var i={content:t.content,keySequences:t.keySequences,disabled:t.disabled||!(!e.disabled&&!e.isDisabled),hasDynamicChildren:t.hasDynamicChildren,hasMenu:t.hasMenu};t.hasDynamicChildren||n._getSubMenuForItem(e)?i.onExecute=n._keytipManager.menuExecute.bind(n._keytipManager,o,e.keytipProps.keySequences):i.onExecute=t.onExecute,n._persistedKeytips[i.content]=i;var a=Object(m.a)(Object(m.a)({},e),{keytipProps:Object(m.a)(Object(m.a)({},t),{overflowSetSequence:o})});r.push(a)}else r.push(e)})):r=e,g.createElement("div",Object(m.a)({},t),n.props.onRenderOverflowButton(r))},Object(be.a)(n),Object(Ec.a)("OverflowSet",t,{doNotContainWithinFocusZone:"focusZoneProps"}),n}return Object(m.c)(t,e),t.prototype.render=function(){var e,t,n=this.props,o=n.items,r=n.overflowItems,i=n.className,a=n.focusZoneProps,s=n.styles,c=n.vertical,l=n.doNotContainWithinFocusZone,u=n.role,d=n.overflowSide,p=void 0===d?"end":d;this._classNames=Xc(s,{className:i,vertical:c}),l?(e="div",t=Object(m.a)(Object(m.a)({},Object(I.j)(this.props,I.h)),{ref:this._divContainer})):(e=ze,t=Object(m.a)(Object(m.a)(Object(m.a)({},Object(I.j)(this.props,I.h)),a),{componentRef:this._focusZone,direction:c?le.vertical:le.horizontal}));var h=r&&r.length>0;return g.createElement(e,Object(m.a)({role:u||"group","aria-orientation":"menubar"===u?!0===c?"vertical":"horizontal":void 0},t,{className:this._classNames.root}),"start"===p&&h&&this._onRenderOverflowButtonWrapper(r),o&&this._onRenderItems(o),"end"===p&&h&&this._onRenderOverflowButtonWrapper(r))},t.prototype.focus=function(e){var t=!1;return this.props.doNotContainWithinFocusZone?this._divContainer.current&&(t=Object(Ee.c)(this._divContainer.current)):this._focusZone.current&&(t=this._focusZone.current.focus(e)),t},t.prototype.focusElement=function(e){var t=!1;return!!e&&(this.props.doNotContainWithinFocusZone?this._divContainer.current&&Object(De.a)(this._divContainer.current,e)&&(e.focus(),t=document.activeElement===e):this._focusZone.current&&(t=this._focusZone.current.focusElement(e)),t)},t.prototype.componentDidMount=function(){this._registerPersistedKeytips()},t.prototype.componentWillUnmount=function(){this._unregisterPersistedKeytips()},t.prototype.UNSAFE_componentWillUpdate=function(){this._unregisterPersistedKeytips()},t.prototype.componentDidUpdate=function(){this._registerPersistedKeytips()},t.prototype._registerPersistedKeytips=function(){var e=this;Object.keys(this._persistedKeytips).forEach((function(t){var n=e._persistedKeytips[t],o=e._keytipManager.register(n,!0);e._persistedKeytips[o]=n,delete e._persistedKeytips[t]}))},t.prototype._unregisterPersistedKeytips=function(){var e=this;Object.keys(this._persistedKeytips).forEach((function(t){e._keytipManager.unregister(e._persistedKeytips[t],t,!0)})),this._persistedKeytips={}},t.prototype._getSubMenuForItem=function(e){return this.props.itemSubMenuProvider?this.props.itemSubMenuProvider(e):e.subMenuProps?e.subMenuProps.items:void 0},t}(g.Component),el={flexShrink:0,display:"inherit"},tl=Object(x.a)(Jc,(function(e){var t=e.className;return{root:["ms-OverflowSet",{position:"relative",display:"flex",flexWrap:"nowrap"},e.vertical&&{flexDirection:"column"},t],item:["ms-OverflowSet-item",el],overflowButton:["ms-OverflowSet-overflowButton",el]}}),void 0,{scope:"OverflowSet"}),nl=Object(y.c)((function(e){var t={height:"100%"},n={whiteSpace:"nowrap"},o=e||{},r=o.root,i=o.label,a=Object(m.d)(o,["root","label"]);return Object(m.a)(Object(m.a)({},a),{root:r?[t,r]:t,label:i?[n,i]:n})})),ol=Object(w.a)(),rl=function(e){function t(t){var n=e.call(this,t)||this;return n._overflowSet=g.createRef(),n._resizeGroup=g.createRef(),n._onRenderData=function(e){return g.createElement(ze,{className:Object(z.a)(n._classNames.root),direction:le.horizontal,role:"menubar","aria-label":n.props.ariaLabel},g.createElement(tl,{componentRef:n._overflowSet,className:Object(z.a)(n._classNames.primarySet),doNotContainWithinFocusZone:!0,items:e.primaryItems,overflowItems:e.overflowItems.length?e.overflowItems:void 0,onRenderItem:n._onRenderItem,onRenderOverflowButton:n._onRenderOverflowButton}),e.farItems&&e.farItems.length>0&&g.createElement(tl,{className:Object(z.a)(n._classNames.secondarySet),doNotContainWithinFocusZone:!0,items:e.farItems,onRenderItem:n._onRenderItem,onRenderOverflowButton:rt.b}))},n._onRenderItem=function(e){if(e.onRender)return e.onRender(e,(function(){}));var t=e.text||e.name,o=Object(m.a)(Object(m.a)({allowDisabledFocus:!0,role:"menuitem"},e),{styles:nl(e.buttonStyles),className:Object(z.a)("ms-CommandBarItem-link",e.className),text:e.iconOnly?void 0:t,menuProps:e.subMenuProps,onClick:n._onButtonClick(e)});return e.iconOnly&&void 0!==t?g.createElement(Mo,Object(m.a)({content:t},e.tooltipHostProps),n._commandButton(e,o)):n._commandButton(e,o)},n._commandButton=function(e,t){var o=n.props.buttonAs,r=e.commandBarButtonAs,i=sr;return r&&(i=Object(Zc.a)(r,i)),o&&(i=Object(Zc.a)(o,i)),g.createElement(i,Object(m.a)({},t))},n._onRenderOverflowButton=function(e){var t=n.props.overflowButtonProps,o=void 0===t?{}:t,r=Object(m.e)(o.menuProps?o.menuProps.items:[],e),i=Object(m.a)(Object(m.a)({role:"menuitem"},o),{styles:Object(m.a)({menuIcon:{fontSize:"17px"}},o.styles),className:Object(z.a)("ms-CommandBar-overflowButton",o.className),menuProps:Object(m.a)(Object(m.a)({},o.menuProps),{items:r}),menuIconProps:Object(m.a)({iconName:"More"},o.menuIconProps)}),a=n.props.overflowButtonAs?Object(Zc.a)(n.props.overflowButtonAs,sr):sr;return g.createElement(a,Object(m.a)({},i))},n._onReduceData=function(e){var t=n.props,o=t.shiftOnReduce,r=t.onDataReduced,i=e.primaryItems,a=e.overflowItems,s=e.cacheKey,c=i[o?0:i.length-1];if(void 0!==c){c.renderedInOverflow=!0,a=Object(m.e)([c],a),i=o?i.slice(1):i.slice(0,-1);var l=Object(m.a)(Object(m.a)({},e),{primaryItems:i,overflowItems:a});return s=n._computeCacheKey({primaryItems:i,overflow:a.length>0}),r&&r(c),l.cacheKey=s,l}},n._onGrowData=function(e){var t=n.props,o=t.shiftOnReduce,r=t.onDataGrown,i=e.minimumOverflowItems,a=e.primaryItems,s=e.overflowItems,c=e.cacheKey,l=s[0];if(void 0!==l&&s.length>i){l.renderedInOverflow=!1,s=s.slice(1),a=o?Object(m.e)([l],a):Object(m.e)(a,[l]);var u=Object(m.a)(Object(m.a)({},e),{primaryItems:a,overflowItems:s});return c=n._computeCacheKey({primaryItems:a,overflow:s.length>0}),r&&r(l),u.cacheKey=c,u}},Object(be.a)(n),n}return Object(m.c)(t,e),t.prototype.render=function(){var e=this.props,t=e.items,n=e.overflowItems,o=e.farItems,r=e.styles,i=e.theme,a=e.dataDidRender,s=e.onReduceData,c=void 0===s?this._onReduceData:s,l=e.onGrowData,u=void 0===l?this._onGrowData:l,d={primaryItems:Object(m.e)(t),overflowItems:Object(m.e)(n),minimumOverflowItems:Object(m.e)(n).length,farItems:o,cacheKey:this._computeCacheKey({primaryItems:Object(m.e)(t),overflow:n&&n.length>0})};this._classNames=ol(r,{theme:i});var p=Object(I.j)(this.props,I.h);return g.createElement(wo,Object(m.a)({},p,{componentRef:this._resizeGroup,data:d,onReduceData:c,onGrowData:u,onRenderData:this._onRenderData,dataDidRender:a}))},t.prototype.focus=function(){var e=this._overflowSet.current;e&&e.focus()},t.prototype.remeasure=function(){this._resizeGroup.current&&this._resizeGroup.current.remeasure()},t.prototype._onButtonClick=function(e){return function(t){e.inactive||e.onClick&&e.onClick(t,e)}},t.prototype._computeCacheKey=function(e){var t=e.primaryItems,n=e.overflow;return[t&&t.reduce((function(e,t){var n=t.cacheKey;return e+(void 0===n?t.key:n)}),""),n?"overflow":""].join("")},t.defaultProps={items:[],overflowItems:[]},t}(g.Component),il=Object(x.a)(rl,(function(e){var t=e.className,n=e.theme,o=n.semanticColors;return{root:[n.fonts.medium,"ms-CommandBar",{display:"flex",backgroundColor:o.bodyBackground,padding:"0 14px 0 24px",height:44},t],primarySet:["ms-CommandBar-primaryCommand",{flexGrow:"1",display:"flex",alignItems:"stretch"}],secondarySet:["ms-CommandBar-secondaryCommand",{flexShrink:"0",display:"flex",alignItems:"stretch"}]}}),void 0,{scope:"CommandBar"}),al=Object(w.a)(),sl={months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["S","M","T","W","T","F","S"],goToToday:"Go to today",prevMonthAriaLabel:"Go to previous month",nextMonthAriaLabel:"Go to next month",prevYearAriaLabel:"Go to previous year",nextYearAriaLabel:"Go to next year",prevYearRangeAriaLabel:"Previous year range",nextYearRangeAriaLabel:"Next year range",closeButtonAriaLabel:"Close date picker",weekNumberFormatString:"Week number {0}"},cl=function(e){function t(t){var n=e.call(this,t)||this;return n._calendar=g.createRef(),n._datePickerDiv=g.createRef(),n._textField=g.createRef(),n._onSelectDate=function(e){var t=n.props,o=t.formatDate,r=t.onSelectDate;n.props.calendarProps&&n.props.calendarProps.onSelectDate&&n.props.calendarProps.onSelectDate(e),n.setState({selectedDate:e,formattedDate:o&&e?o(e):""}),r&&r(e),n._calendarDismissed()},n._onCalloutPositioned=function(){var e=!0;n.props.calloutProps&&void 0!==n.props.calloutProps.setInitialFocus&&(e=n.props.calloutProps.setInitialFocus),n._calendar.current&&e&&n._calendar.current.focus()},n._onTextFieldFocus=function(e){n.props.disableAutoFocus||n.props.allowTextInput||(n._preventFocusOpeningPicker?n._preventFocusOpeningPicker=!1:n._showDatePickerPopup())},n._onTextFieldBlur=function(e){n._validateTextInput()},n._onTextFieldChanged=function(e,t){var o=n.props,r=o.allowTextInput,i=o.textField;if(r){n.state.isDatePickerShown&&n._dismissDatePickerPopup();var a=n.props,s=a.isRequired,c=a.strings;n.setState({errorMessage:s&&!t?c.isRequiredErrorMessage||" ":void 0,formattedDate:t})}i&&i.onChange&&i.onChange(e,t)},n._onTextFieldKeyDown=function(e){switch(e.which){case ge.a.enter:e.preventDefault(),e.stopPropagation(),n.state.isDatePickerShown?n.props.allowTextInput&&n._dismissDatePickerPopup():(n._validateTextInput(),n._showDatePickerPopup());break;case ge.a.escape:n._handleEscKey(e)}},n._onTextFieldClick=function(e){n.props.disableAutoFocus||n.state.isDatePickerShown||n.props.disabled?n.props.allowTextInput&&n._dismissDatePickerPopup():n._showDatePickerPopup()},n._onIconClick=function(e){e.stopPropagation(),n.state.isDatePickerShown||n.props.disabled?n.props.allowTextInput&&n._dismissDatePickerPopup():n._showDatePickerPopup()},n._dismissDatePickerPopup=function(){n.state.isDatePickerShown&&n.setState({isDatePickerShown:!1},(function(){n._validateTextInput()}))},n._calendarDismissed=function(){n._preventFocusOpeningPicker=!0,n._dismissDatePickerPopup()},n._handleEscKey=function(e){n.state.isDatePickerShown&&e.stopPropagation(),n._calendarDismissed()},n._validateTextInput=function(){var e=n.props,t=e.isRequired,o=e.allowTextInput,r=e.strings,i=e.parseDateFromString,a=e.onSelectDate,s=e.formatDate,c=e.minDate,l=e.maxDate,u=n.state.formattedDate;if(!n.state.isDatePickerShown)if(o){var d=null;if(u){if(n.state.selectedDate&&!n.state.errorMessage&&s&&s(n.state.selectedDate)===u)return;!(d=i(u))||isNaN(d.getTime())?(s&&(d=n.state.selectedDate,n.setState({formattedDate:s(d).toString()})),n.setState({errorMessage:r.invalidInputErrorMessage||" "})):n._isDateOutOfBounds(d,c,l)?n.setState({errorMessage:r.isOutOfBoundsErrorMessage||" "}):(n.setState({selectedDate:d,errorMessage:""}),s&&s(d)!==u&&n.setState({formattedDate:s(d).toString()}))}else n.setState({errorMessage:t?r.isRequiredErrorMessage||" ":""});a&&a(d)}else t&&!u?n.setState({errorMessage:r.isRequiredErrorMessage||" "}):n.setState({errorMessage:""})},Object(be.a)(n),n.state=n._getDefaultState(),n._id=t.id||Object(Pe.a)("DatePicker"),n._preventFocusOpeningPicker=!1,n}return Object(m.c)(t,e),t.prototype.UNSAFE_componentWillReceiveProps=function(e){var t=e.formatDate,n=e.value;Sr(this.props.minDate,e.minDate)&&Sr(this.props.maxDate,e.maxDate)&&this.props.isRequired===e.isRequired&&Sr(this.state.selectedDate,n)&&this.props.formatDate===t||(this._setErrorMessage(!0,e),this._id=e.id||this._id,Sr(this.state.selectedDate,n)&&this.props.formatDate===t||this.setState({selectedDate:n||void 0,formattedDate:t&&n?t(n):""}))},t.prototype.componentDidUpdate=function(e,t){t.isDatePickerShown&&!this.state.isDatePickerShown&&this.props.onAfterMenuDismiss&&this.props.onAfterMenuDismiss()},t.prototype.render=function(){var e=this.props,t=e.firstDayOfWeek,n=e.strings,o=e.label,r=e.theme,i=e.className,a=e.styles,s=e.initialPickerDate,c=e.isRequired,l=e.disabled,u=e.ariaLabel,d=e.pickerAriaLabel,p=e.placeholder,h=e.allowTextInput,f=e.borderless,b=e.minDate,y=e.maxDate,v=e.showCloseButton,_=e.calendarProps,S=e.calloutProps,C=e.textField,x=e.underlined,w=e.allFocusable,T=e.calendarAs,k=void 0===T?Ia:T,O=e.tabIndex,E=this.state,N=E.isDatePickerShown,P=E.formattedDate,D=E.selectedDate,A=al(a,{theme:r,className:i,disabled:l,label:!!o,isDatePickerShown:N}),R=Object(Pe.a)("DatePicker-Callout"),M=Object(I.j)(this.props,I.h,["value"]),F=C&&C.iconProps;return g.createElement("div",Object(m.a)({},M,{className:A.root}),g.createElement("div",{ref:this._datePickerDiv,"aria-haspopup":"true","aria-owns":N?R:void 0},g.createElement(lc,Object(m.a)({role:"combobox",label:o,"aria-expanded":N,ariaLabel:u,"aria-controls":N?R:void 0,required:c,disabled:l,errorMessage:this._getErrorMessage(),placeholder:p,borderless:f,value:P,componentRef:this._textField,underlined:x,tabIndex:O,readOnly:!h},C,{id:this._id+"-label",className:Object(z.a)(A.textField,C&&C.className),iconProps:Object(m.a)(Object(m.a)({iconName:"Calendar"},F),{className:Object(z.a)(A.icon,F&&F.className),onClick:this._onIconClick}),onKeyDown:this._onTextFieldKeyDown,onFocus:this._onTextFieldFocus,onBlur:this._onTextFieldBlur,onClick:this._onTextFieldClick,onChange:this._onTextFieldChanged}))),N&&g.createElement(Nn,Object(m.a)({id:R,role:"dialog",ariaLabel:d,isBeakVisible:!1,gapSpace:0,doNotLayer:!1,target:this._datePickerDiv.current,directionalHint:st.bottomLeftEdge},S,{className:Object(z.a)(A.callout,S&&S.className),onDismiss:this._calendarDismissed,onPositioned:this._onCalloutPositioned}),g.createElement(Ea,{isClickableOutsideFocusTrap:!0,disableFirstFocus:this.props.disableAutoFocus,forceFocusInsideTrap:!1},g.createElement(k,Object(m.a)({},_,{onSelectDate:this._onSelectDate,onDismiss:this._calendarDismissed,isMonthPickerVisible:this.props.isMonthPickerVisible,showMonthPickerAsOverlay:this.props.showMonthPickerAsOverlay,today:this.props.today,value:D||s,firstDayOfWeek:t,strings:n,highlightCurrentMonth:this.props.highlightCurrentMonth,highlightSelectedMonth:this.props.highlightSelectedMonth,showWeekNumbers:this.props.showWeekNumbers,firstWeekOfYear:this.props.firstWeekOfYear,showGoToToday:this.props.showGoToToday,dateTimeFormatter:this.props.dateTimeFormatter,minDate:b,maxDate:y,componentRef:this._calendar,showCloseButton:v,allFocusable:w})))))},t.prototype.focus=function(){this._textField.current&&this._textField.current.focus()},t.prototype.reset=function(){this.setState(this._getDefaultState())},t.prototype._setErrorMessage=function(e,t){var n=t||this.props,o=n.isRequired,r=n.strings,i=n.value,a=n.minDate,s=n.maxDate,c=n.initialPickerDate||!o||i?void 0:r.isRequiredErrorMessage||" ";return!c&&i&&(c=this._isDateOutOfBounds(i,a,s)?r.isOutOfBoundsErrorMessage||" ":void 0),e&&this.setState({errorMessage:c}),c},t.prototype._showDatePickerPopup=function(){this.state.isDatePickerShown||(this._preventFocusOpeningPicker=!0,this.setState({isDatePickerShown:!0}))},t.prototype._getDefaultState=function(e){return void 0===e&&(e=this.props),{selectedDate:e.value||void 0,formattedDate:e.formatDate&&e.value?e.formatDate(e.value):"",isDatePickerShown:!1,errorMessage:this._setErrorMessage(!1)}},t.prototype._isDateOutOfBounds=function(e,t,n){return!!t&&Cr(t,e)>0||!!n&&Cr(n,e)<0},t.prototype._getErrorMessage=function(){if(!this.state.isDatePickerShown)return this.state.errorMessage},t.defaultProps={allowTextInput:!1,formatDate:function(e){return e?e.toDateString():""},parseDateFromString:function(e){var t=Date.parse(e);return t?new Date(t):null},firstDayOfWeek:Yo.Sunday,initialPickerDate:new Date,isRequired:!1,isMonthPickerVisible:!0,showMonthPickerAsOverlay:!1,strings:sl,highlightCurrentMonth:!1,highlightSelectedMonth:!1,borderless:!1,pickerAriaLabel:"Calendar",showWeekNumbers:!1,firstWeekOfYear:$o.FirstDay,showGoToToday:!0,dateTimeFormatter:void 0,showCloseButton:!1,underlined:!1,allFocusable:!1},t}(g.Component),ll={root:"ms-DatePicker",callout:"ms-DatePicker-callout",withLabel:"ms-DatePicker-event--with-label",withoutLabel:"ms-DatePicker-event--without-label",disabled:"msDatePickerDisabled "},ul=Object(x.a)(cl,(function(e){var t=e.className,n=e.theme,o=e.disabled,r=e.label,i=e.isDatePickerShown,a=n.palette,s=n.semanticColors,c=n.effects,l=n.fonts,u=Object(b.R)(ll,n),d={color:a.neutralSecondary,fontSize:l.mediumPlus.fontSize,lineHeight:"18px",pointerEvents:"none",position:"absolute",right:"4px",padding:"5px"};return{root:[u.root,n.fonts.medium,i&&"is-open",b.fb,t],textField:[{position:"relative",selectors:{"& input[readonly]":{cursor:"pointer"},input:{selectors:{"::-ms-clear":{display:"none"}}}}},o&&{selectors:{"& input[readonly]":{cursor:"default"}}}],callout:[u.callout,{boxShadow:c.elevation8}],icon:[d,r?u.withLabel:u.withoutLabel,{paddingTop:"7px"},!o&&[u.disabled,{pointerEvents:"initial",cursor:"pointer"}],o&&{color:s.disabledText,cursor:"default"}]}}),void 0,{scope:"DatePicker"});!function(e){e[e.none=0]="none",e[e.single=1]="single",e[e.multiple=2]="multiple"}(Yc||(Yc={})),function(e){e[e.horizontal=0]="horizontal",e[e.vertical=1]="vertical"}(Qc||(Qc={}));var dl=function(){function e(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=e[0]||{},o=n.onSelectionChanged,r=n.getKey,i=n.canSelectItem,a=void 0===i?function(){return!0}:i,s=n.items,c=n.selectionMode,l=void 0===c?Yc.multiple:c;this.mode=l,this._getKey=r||pl,this._changeEventSuppressionCount=0,this._exemptedCount=0,this._anchoredIndex=0,this._unselectableCount=0,this._onSelectionChanged=o,this._canSelectItem=a,this._isModal=!1,this.setItems(s||[],!0),this.count=this.getSelectedCount()}return e.prototype.canSelectItem=function(e,t){return!("number"==typeof t&&t<0)&&this._canSelectItem(e,t)},e.prototype.getKey=function(e,t){var n=this._getKey(e,t);return"number"==typeof n||n?""+n:""},e.prototype.setChangeEvents=function(e,t){this._changeEventSuppressionCount+=e?-1:1,0===this._changeEventSuppressionCount&&this._hasChanged&&(this._hasChanged=!1,t||this._change())},e.prototype.isModal=function(){return this._isModal},e.prototype.setModal=function(e){this._isModal!==e&&(this.setChangeEvents(!1),this._isModal=e,e||this.setAllSelected(!1),this._change(),this.setChangeEvents(!0))},e.prototype.setItems=function(e,t){void 0===t&&(t=!0);var n={},o={},r=!1;this.setChangeEvents(!1),this._unselectableCount=0;for(var i=0;i<e.length;i++){if(u=e[i]){var a=this.getKey(u,i);a&&(n[a]=i)}o[i]=u&&!this.canSelectItem(u),o[i]&&this._unselectableCount++}(t||0===e.length)&&this._setAllSelected(!1,!0);var s={},c=0;for(var l in this._exemptedIndices)if(this._exemptedIndices.hasOwnProperty(l)){var u,d=Number(l),p=(u=this._items[d])?this.getKey(u,Number(d)):void 0,h=p?n[p]:d;void 0===h?r=!0:(s[h]=!0,c++,r=r||h!==d)}this._items&&0===this._exemptedCount&&e.length!==this._items.length&&this._isAllSelected&&(r=!0),this._exemptedIndices=s,this._exemptedCount=c,this._keyToIndexMap=n,this._unselectableIndices=o,this._items=e,this._selectedItems=null,r&&(this._updateCount(),this._change()),this.setChangeEvents(!0)},e.prototype.getItems=function(){return this._items},e.prototype.getSelection=function(){if(!this._selectedItems){this._selectedItems=[];var e=this._items;if(e)for(var t=0;t<e.length;t++)this.isIndexSelected(t)&&this._selectedItems.push(e[t])}return this._selectedItems},e.prototype.getSelectedCount=function(){return this._isAllSelected?this._items.length-this._exemptedCount-this._unselectableCount:this._exemptedCount},e.prototype.getSelectedIndices=function(){if(!this._selectedIndices){this._selectedIndices=[];var e=this._items;if(e)for(var t=0;t<e.length;t++)this.isIndexSelected(t)&&this._selectedIndices.push(t)}return this._selectedIndices},e.prototype.isRangeSelected=function(e,t){if(0===t)return!1;for(var n=e+t,o=e;o<n;o++)if(!this.isIndexSelected(o))return!1;return!0},e.prototype.isAllSelected=function(){var e=this._items.length-this._unselectableCount;return this.mode===Yc.single&&(e=Math.min(e,1)),this.count>0&&this._isAllSelected&&0===this._exemptedCount||!this._isAllSelected&&this._exemptedCount===e&&e>0},e.prototype.isKeySelected=function(e){var t=this._keyToIndexMap[e];return this.isIndexSelected(t)},e.prototype.isIndexSelected=function(e){return!!(this.count>0&&this._isAllSelected&&!this._exemptedIndices[e]&&!this._unselectableIndices[e]||!this._isAllSelected&&this._exemptedIndices[e])},e.prototype.setAllSelected=function(e){if(!e||this.mode===Yc.multiple){var t=this._items?this._items.length-this._unselectableCount:0;this.setChangeEvents(!1),t>0&&(this._exemptedCount>0||e!==this._isAllSelected)&&(this._exemptedIndices={},(e!==this._isAllSelected||this._exemptedCount>0)&&(this._exemptedCount=0,this._isAllSelected=e,this._change()),this._updateCount()),this.setChangeEvents(!0)}},e.prototype.setKeySelected=function(e,t,n){var o=this._keyToIndexMap[e];o>=0&&this.setIndexSelected(o,t,n)},e.prototype.setIndexSelected=function(e,t,n){if(this.mode!==Yc.none&&!((e=Math.min(Math.max(0,e),this._items.length-1))<0||e>=this._items.length)){this.setChangeEvents(!1);var o=this._exemptedIndices[e];!this._unselectableIndices[e]&&(t&&this.mode===Yc.single&&this._setAllSelected(!1,!0),o&&(t&&this._isAllSelected||!t&&!this._isAllSelected)&&(delete this._exemptedIndices[e],this._exemptedCount--),!o&&(t&&!this._isAllSelected||!t&&this._isAllSelected)&&(this._exemptedIndices[e]=!0,this._exemptedCount++),n&&(this._anchoredIndex=e)),this._updateCount(),this.setChangeEvents(!0)}},e.prototype.selectToKey=function(e,t){this.selectToIndex(this._keyToIndexMap[e],t)},e.prototype.selectToIndex=function(e,t){if(this.mode!==Yc.none)if(this.mode!==Yc.single){var n=this._anchoredIndex||0,o=Math.min(e,n),r=Math.max(e,n);for(this.setChangeEvents(!1),t&&this._setAllSelected(!1,!0);o<=r;o++)this.setIndexSelected(o,!0,!1);this.setChangeEvents(!0)}else this.setIndexSelected(e,!0,!0)},e.prototype.toggleAllSelected=function(){this.setAllSelected(!this.isAllSelected())},e.prototype.toggleKeySelected=function(e){this.setKeySelected(e,!this.isKeySelected(e),!0)},e.prototype.toggleIndexSelected=function(e){this.setIndexSelected(e,!this.isIndexSelected(e),!0)},e.prototype.toggleRangeSelected=function(e,t){if(this.mode!==Yc.none){var n=this.isRangeSelected(e,t),o=e+t;if(!(this.mode===Yc.single&&t>1)){this.setChangeEvents(!1);for(var r=e;r<o;r++)this.setIndexSelected(r,!n,!1);this.setChangeEvents(!0)}}},e.prototype._updateCount=function(e){void 0===e&&(e=!1);var t=this.getSelectedCount();t!==this.count&&(this.count=t,this._change()),this.count||e||this.setModal(!1)},e.prototype._setAllSelected=function(e,t){if(void 0===t&&(t=!1),!e||this.mode===Yc.multiple){var n=this._items?this._items.length-this._unselectableCount:0;this.setChangeEvents(!1),n>0&&(this._exemptedCount>0||e!==this._isAllSelected)&&(this._exemptedIndices={},(e!==this._isAllSelected||this._exemptedCount>0)&&(this._exemptedCount=0,this._isAllSelected=e,this._change()),this._updateCount(t)),this.setChangeEvents(!0)}},e.prototype._change=function(){0===this._changeEventSuppressionCount?(this._selectedItems=null,this._selectedIndices=void 0,Ve.a.raise(this,"change"),this._onSelectionChanged&&this._onSelectionChanged()):this._hasChanged=!0},e}();function pl(e,t){var n=(e||{}).key;return void 0===n?""+t:n}var hl,fl,ml,gl,bl,yl,vl=function(e){function t(t){var n=e.call(this,t)||this;n._root=g.createRef(),n.ignoreNextFocus=function(){n._handleNextFocus(!1)},n._onSelectionChange=function(){var e=n.props.selection,t=e.isModal&&e.isModal();n.setState({isModal:t})},n._onMouseDownCapture=function(e){var t=e.target;if(document.activeElement===t||Object(De.a)(document.activeElement,t)){if(Object(De.a)(t,n._root.current))for(;t!==n._root.current;){if(n._hasAttribute(t,"data-selection-invoke")){n.ignoreNextFocus();break}t=Object(Ne.a)(t)}}else n.ignoreNextFocus()},n._onFocus=function(e){var t=e.target,o=n.props.selection,r=n._isCtrlPressed||n._isMetaPressed,i=n._getSelectionMode();if(n._shouldHandleFocus&&i!==Yc.none){var a=n._hasAttribute(t,"data-selection-toggle"),s=n._findItemRoot(t);if(!a&&s){var c=n._getItemIndex(s);r?(o.setIndexSelected(c,o.isIndexSelected(c),!0),n.props.enterModalOnTouch&&n._isTouch&&o.setModal&&(o.setModal(!0),n._setIsTouch(!1))):n.props.isSelectedOnFocus&&n._onItemSurfaceClick(e,c)}}n._handleNextFocus(!1)},n._onMouseDown=function(e){n._updateModifiers(e);var t=e.target,o=n._findItemRoot(t);if(!n._isSelectionDisabled(t))for(;t!==n._root.current&&!n._hasAttribute(t,"data-selection-all-toggle");){if(o){if(n._hasAttribute(t,"data-selection-toggle"))break;if(n._hasAttribute(t,"data-selection-invoke"))break;if(!(t!==o&&!n._shouldAutoSelect(t)||n._isShiftPressed||n._isCtrlPressed||n._isMetaPressed)){n._onInvokeMouseDown(e,n._getItemIndex(o));break}if(n.props.disableAutoSelectOnInputElements&&("A"===t.tagName||"BUTTON"===t.tagName||"INPUT"===t.tagName))return}t=Object(Ne.a)(t)}},n._onTouchStartCapture=function(e){n._setIsTouch(!0)},n._onClick=function(e){var t=n.props.enableTouchInvocationTarget,o=void 0!==t&&t;n._updateModifiers(e);for(var r=e.target,i=n._findItemRoot(r),a=n._isSelectionDisabled(r);r!==n._root.current;){if(n._hasAttribute(r,"data-selection-all-toggle")){a||n._onToggleAllClick(e);break}if(i){var s=n._getItemIndex(i);if(n._hasAttribute(r,"data-selection-toggle")){a||(n._isShiftPressed?n._onItemSurfaceClick(e,s):n._onToggleClick(e,s));break}if(n._isTouch&&o&&n._hasAttribute(r,"data-selection-touch-invoke")||n._hasAttribute(r,"data-selection-invoke")){n._onInvokeClick(e,s);break}if(r===i){a||n._onItemSurfaceClick(e,s);break}if("A"===r.tagName||"BUTTON"===r.tagName||"INPUT"===r.tagName)return}r=Object(Ne.a)(r)}},n._onContextMenu=function(e){var t=e.target,o=n.props,r=o.onItemContextMenu,i=o.selection;if(r){var a=n._findItemRoot(t);if(a){var s=n._getItemIndex(a);n._onInvokeMouseDown(e,s),r(i.getItems()[s],s,e.nativeEvent)||e.preventDefault()}}},n._onDoubleClick=function(e){var t=e.target,o=n.props.onItemInvoked,r=n._findItemRoot(t);if(r&&o&&!n._isInputElement(t)){for(var i=n._getItemIndex(r);t!==n._root.current&&!n._hasAttribute(t,"data-selection-toggle")&&!n._hasAttribute(t,"data-selection-invoke");){if(t===r){n._onInvokeClick(e,i);break}t=Object(Ne.a)(t)}t=Object(Ne.a)(t)}},n._onKeyDownCapture=function(e){n._updateModifiers(e),n._handleNextFocus(!0)},n._onKeyDown=function(e){n._updateModifiers(e);var t=e.target,o=n._isSelectionDisabled(t),r=n.props.selection,i=e.which===ge.a.a&&(n._isCtrlPressed||n._isMetaPressed),a=e.which===ge.a.escape;if(!n._isInputElement(t)){var s=n._getSelectionMode();if(i&&s===Yc.multiple&&!r.isAllSelected())return o||r.setAllSelected(!0),e.stopPropagation(),void e.preventDefault();if(a&&r.getSelectedCount()>0)return o||r.setAllSelected(!1),e.stopPropagation(),void e.preventDefault();var c=n._findItemRoot(t);if(c)for(var l=n._getItemIndex(c);t!==n._root.current&&!n._hasAttribute(t,"data-selection-toggle");){if(n._shouldAutoSelect(t)){o||n._onInvokeMouseDown(e,l);break}if(!(e.which!==ge.a.enter&&e.which!==ge.a.space||"BUTTON"!==t.tagName&&"A"!==t.tagName&&"INPUT"!==t.tagName))return!1;if(t===c){if(e.which===ge.a.enter)return n._onInvokeClick(e,l),void e.preventDefault();if(e.which===ge.a.space)return o||n._onToggleClick(e,l),void e.preventDefault();break}t=Object(Ne.a)(t)}}},n._events=new Ve.a(n),n._async=new ye.a(n),Object(be.a)(n);var o=n.props.selection,r=o.isModal&&o.isModal();return n.state={isModal:r},n}return Object(m.c)(t,e),t.getDerivedStateFromProps=function(e,t){var n=e.selection.isModal&&e.selection.isModal();return Object(m.a)(Object(m.a)({},t),{isModal:n})},t.prototype.componentDidMount=function(){var e=Object(j.a)(this._root.current);this._events.on(e,"keydown, keyup",this._updateModifiers,!0),this._events.on(document,"click",this._findScrollParentAndTryClearOnEmptyClick),this._events.on(document.body,"touchstart",this._onTouchStartCapture,!0),this._events.on(document.body,"touchend",this._onTouchStartCapture,!0),this._events.on(this.props.selection,"change",this._onSelectionChange)},t.prototype.render=function(){var e=this.state.isModal;return g.createElement("div",{className:Object(z.a)("ms-SelectionZone",{"ms-SelectionZone--modal":!!e}),ref:this._root,onKeyDown:this._onKeyDown,onMouseDown:this._onMouseDown,onKeyDownCapture:this._onKeyDownCapture,onClick:this._onClick,role:"presentation",onDoubleClick:this._onDoubleClick,onContextMenu:this._onContextMenu,onMouseDownCapture:this._onMouseDownCapture,onFocusCapture:this._onFocus,"data-selection-is-modal":!!e||void 0},this.props.children,g.createElement(it.a,null))},t.prototype.componentDidUpdate=function(e){var t=this.props.selection;t!==e.selection&&(this._events.off(e.selection),this._events.on(t,"change",this._onSelectionChange))},t.prototype.componentWillUnmount=function(){this._events.dispose(),this._async.dispose()},t.prototype._isSelectionDisabled=function(e){if(this._getSelectionMode()===Yc.none)return!0;for(;e!==this._root.current;){if(this._hasAttribute(e,"data-selection-disabled"))return!0;e=Object(Ne.a)(e)}return!1},t.prototype._onToggleAllClick=function(e){var t=this.props.selection;this._getSelectionMode()===Yc.multiple&&(t.toggleAllSelected(),e.stopPropagation(),e.preventDefault())},t.prototype._onToggleClick=function(e,t){var n=this.props.selection,o=this._getSelectionMode();if(n.setChangeEvents(!1),this.props.enterModalOnTouch&&this._isTouch&&!n.isIndexSelected(t)&&n.setModal&&(n.setModal(!0),this._setIsTouch(!1)),o===Yc.multiple)n.toggleIndexSelected(t);else{if(o!==Yc.single)return void n.setChangeEvents(!0);var r=n.isIndexSelected(t),i=n.isModal&&n.isModal();n.setAllSelected(!1),n.setIndexSelected(t,!r,!0),i&&n.setModal&&n.setModal(!0)}n.setChangeEvents(!0),e.stopPropagation()},t.prototype._onInvokeClick=function(e,t){var n=this.props,o=n.selection,r=n.onItemInvoked;r&&(r(o.getItems()[t],t,e.nativeEvent),e.preventDefault(),e.stopPropagation())},t.prototype._onItemSurfaceClick=function(e,t){var n=this.props.selection,o=this._isCtrlPressed||this._isMetaPressed,r=this._getSelectionMode();r===Yc.multiple?this._isShiftPressed&&!this._isTabPressed?n.selectToIndex(t,!o):o?n.toggleIndexSelected(t):this._clearAndSelectIndex(t):r===Yc.single&&this._clearAndSelectIndex(t)},t.prototype._onInvokeMouseDown=function(e,t){this.props.selection.isIndexSelected(t)||this._clearAndSelectIndex(t)},t.prototype._findScrollParentAndTryClearOnEmptyClick=function(e){var t=Object(Re.f)(this._root.current);this._events.off(document,"click",this._findScrollParentAndTryClearOnEmptyClick),this._events.on(t,"click",this._tryClearOnEmptyClick),(t&&e.target instanceof Node&&t.contains(e.target)||t===e.target)&&this._tryClearOnEmptyClick(e)},t.prototype._tryClearOnEmptyClick=function(e){!this.props.selectionPreservedOnEmptyClick&&this._isNonHandledClick(e.target)&&this.props.selection.setAllSelected(!1)},t.prototype._clearAndSelectIndex=function(e){var t=this.props.selection;if(1!==t.getSelectedCount()||!t.isIndexSelected(e)){var n=t.isModal&&t.isModal();t.setChangeEvents(!1),t.setAllSelected(!1),t.setIndexSelected(e,!0,!0),(n||this.props.enterModalOnTouch&&this._isTouch)&&(t.setModal&&t.setModal(!0),this._isTouch&&this._setIsTouch(!1)),t.setChangeEvents(!0)}},t.prototype._updateModifiers=function(e){this._isShiftPressed=e.shiftKey,this._isCtrlPressed=e.ctrlKey,this._isMetaPressed=e.metaKey;var t=e.keyCode;this._isTabPressed=!!t&&t===ge.a.tab},t.prototype._findItemRoot=function(e){for(var t=this.props.selection;e!==this._root.current;){var n=e.getAttribute("data-selection-index"),o=Number(n);if(null!==n&&o>=0&&o<t.getItems().length)break;e=Object(Ne.a)(e)}if(e!==this._root.current)return e},t.prototype._getItemIndex=function(e){return Number(e.getAttribute("data-selection-index"))},t.prototype._shouldAutoSelect=function(e){return this._hasAttribute(e,"data-selection-select")},t.prototype._hasAttribute=function(e,t){for(var n=!1;!n&&e!==this._root.current;)n="true"===e.getAttribute(t),e=Object(Ne.a)(e);return n},t.prototype._isInputElement=function(e){return"INPUT"===e.tagName||"TEXTAREA"===e.tagName},t.prototype._isNonHandledClick=function(e){var t=Object(Fe.a)();if(t&&e)for(;e&&e!==t.documentElement;){if(Object(Ee.n)(e))return!1;e=Object(Ne.a)(e)}return!0},t.prototype._handleNextFocus=function(e){var t=this;this._shouldHandleFocusTimeoutId&&(this._async.clearTimeout(this._shouldHandleFocusTimeoutId),this._shouldHandleFocusTimeoutId=void 0),this._shouldHandleFocus=e,e&&this._async.setTimeout((function(){t._shouldHandleFocus=!1}),100)},t.prototype._setIsTouch=function(e){var t=this;this._isTouchTimeoutId&&(this._async.clearTimeout(this._isTouchTimeoutId),this._isTouchTimeoutId=void 0),this._isTouch=!0,e&&this._async.setTimeout((function(){t._isTouch=!1}),300)},t.prototype._getSelectionMode=function(){var e=this.props.selection,t=this.props.selectionMode;return void 0===t?e?e.mode:Yc.none:t},t.defaultProps={isSelectedOnFocus:!0,selectionMode:Yc.multiple},t}(g.Component);!function(e){e[e.hidden=0]="hidden",e[e.visible=1]="visible"}(hl||(hl={})),function(e){e[e.disabled=0]="disabled",e[e.clickable=1]="clickable",e[e.hasDropdown=2]="hasDropdown"}(fl||(fl={})),function(e){e[e.unconstrained=0]="unconstrained",e[e.horizontalConstrained=1]="horizontalConstrained"}(ml||(ml={})),function(e){e[e.outside=0]="outside",e[e.surface=1]="surface",e[e.header=2]="header"}(gl||(gl={})),function(e){e[e.fixedColumns=0]="fixedColumns",e[e.justified=1]="justified"}(bl||(bl={})),function(e){e[e.onHover=0]="onHover",e[e.always=1]="always",e[e.hidden=2]="hidden"}(yl||(yl={}));var _l=function(e){var t=e.count,n=e.indentWidth,o=t*(void 0===n?36:n);return t>0?g.createElement("span",{className:"ms-GroupSpacer",style:{display:"inline-block",width:o}}):null},Sl={root:"ms-DetailsRow",compact:"ms-DetailsList--Compact",cell:"ms-DetailsRow-cell",cellAnimation:"ms-DetailsRow-cellAnimation",cellCheck:"ms-DetailsRow-cellCheck",check:"ms-DetailsRow-check",cellMeasurer:"ms-DetailsRow-cellMeasurer",listCellFirstChild:"ms-List-cell:first-child",isContentUnselectable:"is-contentUnselectable",isSelected:"is-selected",isCheckVisible:"is-check-visible",isRowHeader:"is-row-header",fields:"ms-DetailsRow-fields"},Cl={cellLeftPadding:12,cellRightPadding:8,cellExtraRightPadding:24},xl={rowHeight:42,compactRowHeight:32},wl=Object(m.a)(Object(m.a)({},xl),{rowVerticalPadding:11,compactRowVerticalPadding:6}),Tl={tooltipHost:"ms-TooltipHost",root:"ms-DetailsHeader",cell:"ms-DetailsHeader-cell",cellIsCheck:"ms-DetailsHeader-cellIsCheck",collapseButton:"ms-DetailsHeader-collapseButton",isCollapsed:"is-collapsed",isAllSelected:"is-allSelected",isSelectAllHidden:"is-selectAllHidden",isResizingColumn:"is-resizingColumn",cellSizer:"ms-DetailsHeader-cellSizer",isResizing:"is-resizing",dropHintCircleStyle:"ms-DetailsHeader-dropHintCircleStyle",dropHintCaretStyle:"ms-DetailsHeader-dropHintCaretStyle",dropHintLineStyle:"ms-DetailsHeader-dropHintLineStyle",cellTitle:"ms-DetailsHeader-cellTitle",cellName:"ms-DetailsHeader-cellName",filterChevron:"ms-DetailsHeader-filterChevron",gripperBarVertical:"ms-DetailsColumn-gripperBarVertical",checkTooltip:"ms-DetailsHeader-checkTooltip",check:"ms-DetailsHeader-check"},kl=function(e){var t=e.theme,n=e.cellStyleProps,o=void 0===n?Cl:n,r=t.semanticColors;return[Object(b.R)(Tl,t).cell,Object(b.Q)(t),{color:r.bodyText,position:"relative",display:"inline-block",boxSizing:"border-box",padding:"0 "+o.cellRightPadding+"px 0 "+o.cellLeftPadding+"px",lineHeight:"inherit",margin:"0",height:42,verticalAlign:"top",whiteSpace:"nowrap",textOverflow:"ellipsis",textAlign:"left"}]},Il={root:"ms-DetailsRow-check",isDisabled:"ms-DetailsRow-check--isDisabled",isHeader:"ms-DetailsRow-check--isHeader"},Ol=Object(w.a)(),El=g.memo((function(e){return g.createElement(Ra,{theme:e.theme,checked:e.checked,className:e.className,useFastIcons:!0})}));function Nl(e){return g.createElement(Ra,{checked:e.checked})}function Pl(e){return g.createElement(El,{theme:e.theme,checked:e.checked})}var Dl,Al=Object(x.a)((function(e){var t=e.isVisible,n=void 0!==t&&t,o=e.canSelect,r=void 0!==o&&o,i=e.anySelected,a=void 0!==i&&i,s=e.selected,c=void 0!==s&&s,l=e.isHeader,u=void 0!==l&&l,d=e.className,p=(e.checkClassName,e.styles),h=e.theme,f=e.compact,b=e.onRenderDetailsCheckbox,y=e.useFastIcons,v=void 0===y||y,_=Object(m.d)(e,["isVisible","canSelect","anySelected","selected","isHeader","className","checkClassName","styles","theme","compact","onRenderDetailsCheckbox","useFastIcons"]),S=v?Pl:Nl,C=b?Object(Va.a)(b,S):S,x=Ol(p,{theme:h,canSelect:r,selected:c,anySelected:a,className:d,isHeader:u,isVisible:n,compact:f}),w={checked:c,theme:h};return r?g.createElement("div",Object(m.a)({},_,{role:"checkbox",className:Object(z.a)(x.root,x.check),"aria-checked":c,"data-selection-toggle":!0,"data-automationid":"DetailsRowCheck"}),C(w)):g.createElement("div",Object(m.a)({},_,{className:Object(z.a)(x.root,x.check)}))}),(function(e){var t=e.theme,n=e.className,o=e.isHeader,r=e.selected,i=e.anySelected,a=e.canSelect,s=e.compact,c=e.isVisible,l=Object(b.R)(Il,t),u=o?42:s?xl.compactRowHeight:xl.rowHeight,d=c||r||i;return{root:[l.root,n],check:[!a&&l.isDisabled,o&&l.isHeader,Object(b.Q)(t),t.fonts.small,Aa.checkHost,{display:"flex",alignItems:"center",justifyContent:"center",cursor:"default",boxSizing:"border-box",verticalAlign:"top",background:"none",backgroundColor:"transparent",border:"none",opacity:d?1:0,height:u,width:48,padding:0,margin:0}],isDisabled:[]}}),void 0,{scope:"DetailsRowCheck"},!0),Rl=function(){function e(e){this._selection=e.selection,this._dragEnterCounts={},this._activeTargets={},this._lastId=0,this._initialized=!1}return e.prototype.dispose=function(){this._events&&this._events.dispose()},e.prototype.subscribe=function(e,t,n){var o=this;if(!this._initialized){this._events=new Ve.a(this);var r=Object(Fe.a)();r&&(this._events.on(r.body,"mouseup",this._onMouseUp.bind(this),!0),this._events.on(r,"mouseup",this._onDocumentMouseUp.bind(this),!0)),this._initialized=!0}var i,a,s,c,l,u,d,p,h,f,m=n.key,g=void 0===m?""+ ++this._lastId:m,b=[];if(n&&e){var y=n.eventMap,v=n.context,_=n.updateDropState,S={root:e,options:n,key:g};if(p=this._isDraggable(S),h=this._isDroppable(S),(p||h)&&y)for(var C=0,x=y;C<x.length;C++){var w=x[C],T={callback:w.callback.bind(null,v),eventName:w.eventName};b.push(T),this._events.on(e,T.eventName,T.callback)}h&&(a=function(e){e.isHandled||(e.isHandled=!0,o._dragEnterCounts[g]--,0===o._dragEnterCounts[g]&&_(!1,e))},s=function(e){e.preventDefault(),e.isHandled||(e.isHandled=!0,o._dragEnterCounts[g]++,1===o._dragEnterCounts[g]&&_(!0,e))},c=function(e){o._dragEnterCounts[g]=0,_(!1,e)},l=function(e){o._dragEnterCounts[g]=0,_(!1,e),n.onDrop&&n.onDrop(n.context.data,e)},u=function(e){e.preventDefault(),n.onDragOver&&n.onDragOver(n.context.data,e)},this._dragEnterCounts[g]=0,t.on(e,"dragenter",s),t.on(e,"dragleave",a),t.on(e,"dragend",c),t.on(e,"drop",l),t.on(e,"dragover",u)),p&&(d=this._onMouseDown.bind(this,S),c=this._onDragEnd.bind(this,S),i=function(t){var r=n;r&&r.onDragStart&&r.onDragStart(r.context.data,r.context.index,o._selection.getSelection(),t),o._isDragging=!0,t.dataTransfer&&t.dataTransfer.setData("id",e.id)},t.on(e,"dragstart",i),t.on(e,"mousedown",d),t.on(e,"dragend",c)),f={target:S,dispose:function(){if(o._activeTargets[g]===f&&delete o._activeTargets[g],e){for(var n=0,r=b;n<r.length;n++){var m=r[n];o._events.off(e,m.eventName,m.callback)}h&&(t.off(e,"dragenter",s),t.off(e,"dragleave",a),t.off(e,"dragend",c),t.off(e,"dragover",u),t.off(e,"drop",l)),p&&(t.off(e,"dragstart",i),t.off(e,"mousedown",d),t.off(e,"dragend",c))}}},this._activeTargets[g]=f}return{key:g,dispose:function(){f&&f.dispose()}}},e.prototype.unsubscribe=function(e,t){var n=this._activeTargets[t];n&&n.dispose()},e.prototype._onDragEnd=function(e,t){var n=e.options;n.onDragEnd&&n.onDragEnd(n.context.data,t)},e.prototype._onMouseUp=function(e){if(this._isDragging=!1,this._dragData){for(var t=0,n=Object.keys(this._activeTargets);t<n.length;t++){var o=n[t],r=this._activeTargets[o];r.target.root&&(this._events.off(r.target.root,"mousemove"),this._events.off(r.target.root,"mouseleave"))}this._dragData.dropTarget&&(Ve.a.raise(this._dragData.dropTarget.root,"dragleave"),Ve.a.raise(this._dragData.dropTarget.root,"drop"))}this._dragData=null},e.prototype._onDocumentMouseUp=function(e){var t=Object(Fe.a)();t&&e.target===t.documentElement&&this._onMouseUp(e)},e.prototype._onMouseMove=function(e,t){var n=t.buttons,o=void 0===n?1:n;if(this._dragData&&1!==o)this._onMouseUp(t);else{var r=e.root,i=e.key;this._isDragging&&this._isDroppable(e)&&this._dragData&&this._dragData.dropTarget&&this._dragData.dropTarget.key!==i&&!this._isChild(r,this._dragData.dropTarget.root)&&this._dragEnterCounts[this._dragData.dropTarget.key]>0&&(Ve.a.raise(this._dragData.dropTarget.root,"dragleave"),Ve.a.raise(r,"dragenter"),this._dragData.dropTarget=e)}},e.prototype._onMouseLeave=function(e,t){this._isDragging&&this._dragData&&this._dragData.dropTarget&&this._dragData.dropTarget.key===e.key&&(Ve.a.raise(e.root,"dragleave"),this._dragData.dropTarget=void 0)},e.prototype._onMouseDown=function(e,t){if(0===t.button)if(this._isDraggable(e)){this._dragData={clientX:t.clientX,clientY:t.clientY,eventTarget:t.target,dragTarget:e};for(var n=0,o=Object.keys(this._activeTargets);n<o.length;n++){var r=o[n],i=this._activeTargets[r];i.target.root&&(this._events.on(i.target.root,"mousemove",this._onMouseMove.bind(this,i.target)),this._events.on(i.target.root,"mouseleave",this._onMouseLeave.bind(this,i.target)))}}else this._dragData=null},e.prototype._isChild=function(e,t){for(var n=mt.findDOMNode(e),o=mt.findDOMNode(t);o&&o.parentElement;){if(o.parentElement===n)return!0;o=o.parentElement}return!1},e.prototype._isDraggable=function(e){var t=e.options;return!(!t.canDrag||!t.canDrag(t.context.data))},e.prototype._isDroppable=function(e){var t=e.options,n=this._dragData&&this._dragData.dragTarget?this._dragData.dragTarget.options.context:void 0;return!(!t.canDrop||!t.canDrop(t.context,n))},e}(),Ml=Object(w.a)(),Fl=function(e){function t(t){var n=e.call(this,t)||this;return n._root=g.createRef(),n._onRenderColumnHeaderTooltip=function(e){return g.createElement("span",{className:e.hostClassName},e.children)},n._onColumnClick=function(e){var t=n.props,o=t.onColumnClick,r=t.column;r.columnActionsMode!==fl.disabled&&(r.onColumnClick&&r.onColumnClick(e,r),o&&o(e,r))},n._onDragStart=function(e,t,o,r){var i=n._classNames;t&&(n._updateHeaderDragInfo(t),n._root.current.classList.add(i.borderWhileDragging),n._async.setTimeout((function(){n._root.current&&n._root.current.classList.add(i.noBorderWhileDragging)}),20))},n._onDragEnd=function(e,t){var o=n._classNames;t&&n._updateHeaderDragInfo(-1,t),n._root.current.classList.remove(o.borderWhileDragging),n._root.current.classList.remove(o.noBorderWhileDragging)},n._updateHeaderDragInfo=function(e,t){n.props.setDraggedItemIndex&&n.props.setDraggedItemIndex(e),n.props.updateDragInfo&&n.props.updateDragInfo({itemIndex:e},t)},n._onColumnContextMenu=function(e){var t=n.props,o=t.onColumnContextMenu,r=t.column;r.onColumnContextMenu&&(r.onColumnContextMenu(r,e),e.preventDefault()),o&&(o(r,e),e.preventDefault())},n._onRootMouseDown=function(e){n.props.isDraggable&&0===e.button&&e.stopPropagation()},Object(be.a)(n),n._async=new ye.a(n),n._events=new Ve.a(n),n}return Object(m.c)(t,e),t.prototype.render=function(){var e=this.props,t=e.column,n=e.columnIndex,o=e.parentId,r=e.isDraggable,i=e.styles,a=e.theme,s=e.cellStyleProps,c=void 0===s?Cl:s,l=e.useFastIcons,u=void 0===l||l,d=this.props.onRenderColumnHeaderTooltip,p=void 0===d?this._onRenderColumnHeaderTooltip:d;this._classNames=Ml(i,{theme:a,headerClassName:t.headerClassName,iconClassName:t.iconClassName,isActionable:t.columnActionsMode!==fl.disabled,isEmpty:!t.name,isIconVisible:t.isSorted||t.isGrouped||t.isFiltered,isPadded:t.isPadded,isIconOnly:t.isIconOnly,cellStyleProps:c,transitionDurationDrag:200,transitionDurationDrop:1500});var h=this._classNames,f=u?V:K;return g.createElement(g.Fragment,null,g.createElement("div",{key:t.key,ref:this._root,role:"columnheader","aria-sort":t.isSorted?t.isSortedDescending?"descending":"ascending":"none","aria-colindex":n,className:h.root,"data-is-draggable":r,draggable:r,style:{width:t.calculatedWidth+c.cellLeftPadding+c.cellRightPadding+(t.isPadded?c.cellExtraRightPadding:0)},"data-automationid":"ColumnsHeaderColumn","data-item-key":t.key},r&&g.createElement(f,{iconName:"GripperBarVertical",className:h.gripperBarVerticalStyle}),p({hostClassName:h.cellTooltip,id:o+"-"+t.key+"-tooltip",setAriaDescribedBy:!1,column:t,content:t.columnActionsMode!==fl.disabled?t.ariaLabel:"",children:g.createElement("span",{id:o+"-"+t.key,"aria-label":t.isIconOnly?t.name:void 0,"aria-labelledby":t.isIconOnly?void 0:o+"-"+t.key+"-name",className:h.cellTitle,"data-is-focusable":t.columnActionsMode!==fl.disabled,role:t.columnActionsMode===fl.disabled||void 0===t.onColumnClick&&void 0===this.props.onColumnClick?void 0:"button","aria-describedby":!this.props.onRenderColumnHeaderTooltip&&this._hasAccessibleLabel()?o+"-"+t.key+"-tooltip":void 0,onContextMenu:this._onColumnContextMenu,onClick:this._onColumnClick,"aria-haspopup":t.columnActionsMode===fl.hasDropdown,"aria-expanded":t.columnActionsMode===fl.hasDropdown?!!t.isMenuOpen:void 0},g.createElement("span",{id:o+"-"+t.key+"-name",className:h.cellName},(t.iconName||t.iconClassName)&&g.createElement(f,{className:h.iconClassName,iconName:t.iconName}),t.isIconOnly?g.createElement("span",{className:h.accessibleLabel},t.name):t.name),t.isFiltered&&g.createElement(f,{className:h.nearIcon,iconName:"Filter"}),t.isSorted&&g.createElement(f,{className:h.sortIcon,iconName:t.isSortedDescending?"SortDown":"SortUp"}),t.isGrouped&&g.createElement(f,{className:h.nearIcon,iconName:"GroupedDescending"}),t.columnActionsMode===fl.hasDropdown&&!t.isIconOnly&&g.createElement(f,{"aria-hidden":!0,className:h.filterChevron,iconName:"ChevronDown"}))},this._onRenderColumnHeaderTooltip)),this.props.onRenderColumnHeaderTooltip?null:this._renderAccessibleLabel())},t.prototype.componentDidMount=function(){var e=this;this.props.dragDropHelper&&this.props.isDraggable&&this._addDragDropHandling();var t=this._classNames;this.props.isDropped&&(this._root.current&&(this._root.current.classList.add(t.borderAfterDropping),this._async.setTimeout((function(){e._root.current&&e._root.current.classList.add(t.noBorderAfterDropping)}),20)),this._async.setTimeout((function(){e._root.current&&(e._root.current.classList.remove(t.borderAfterDropping),e._root.current.classList.remove(t.noBorderAfterDropping))}),1520))},t.prototype.componentWillUnmount=function(){this._dragDropSubscription&&(this._dragDropSubscription.dispose(),delete this._dragDropSubscription),this._async.dispose(),this._events.dispose()},t.prototype.componentDidUpdate=function(){!this._dragDropSubscription&&this.props.dragDropHelper&&this.props.isDraggable&&this._addDragDropHandling(),this._dragDropSubscription&&!this.props.isDraggable&&(this._dragDropSubscription.dispose(),this._events.off(this._root.current,"mousedown"),delete this._dragDropSubscription)},t.prototype._getColumnDragDropOptions=function(){var e=this,t=this.props.columnIndex;return{selectionIndex:t,context:{data:t,index:t},canDrag:function(){return e.props.isDraggable},canDrop:function(){return!1},onDragStart:this._onDragStart,updateDropState:function(){},onDrop:function(){},onDragEnd:this._onDragEnd}},t.prototype._hasAccessibleLabel=function(){var e=this.props.column;return!!(e.ariaLabel||e.filterAriaLabel||e.sortAscendingAriaLabel||e.sortDescendingAriaLabel||e.groupAriaLabel)},t.prototype._renderAccessibleLabel=function(){var e=this.props,t=e.column,n=e.parentId,o=this._classNames;return this._hasAccessibleLabel()&&!this.props.onRenderColumnHeaderTooltip?g.createElement("label",{key:t.key+"_label",id:n+"-"+t.key+"-tooltip",className:o.accessibleLabel},t.ariaLabel,t.isFiltered&&t.filterAriaLabel||null,t.isSorted&&(t.isSortedDescending?t.sortDescendingAriaLabel:t.sortAscendingAriaLabel)||null,t.isGrouped&&t.groupAriaLabel||null):null},t.prototype._addDragDropHandling=function(){this._dragDropSubscription=this.props.dragDropHelper.subscribe(this._root.current,this._events,this._getColumnDragDropOptions()),this._events.on(this._root.current,"mousedown",this._onRootMouseDown)},t}(g.Component),jl={isActionable:"is-actionable",cellIsCheck:"ms-DetailsHeader-cellIsCheck",collapseButton:"ms-DetailsHeader-collapseButton",isCollapsed:"is-collapsed",isAllSelected:"is-allSelected",isSelectAllHidden:"is-selectAllHidden",isResizingColumn:"is-resizingColumn",isEmpty:"is-empty",isIconVisible:"is-icon-visible",cellSizer:"ms-DetailsHeader-cellSizer",isResizing:"is-resizing",dropHintCircleStyle:"ms-DetailsHeader-dropHintCircleStyle",dropHintLineStyle:"ms-DetailsHeader-dropHintLineStyle",cellTitle:"ms-DetailsHeader-cellTitle",cellName:"ms-DetailsHeader-cellName",filterChevron:"ms-DetailsHeader-filterChevron",gripperBarVerticalStyle:"ms-DetailsColumn-gripperBar",nearIcon:"ms-DetailsColumn-nearIcon"},Ll=Object(x.a)(Fl,(function(e){var t,n=e.theme,o=e.headerClassName,r=e.iconClassName,i=e.isActionable,a=e.isEmpty,s=e.isIconVisible,c=e.isPadded,l=e.isIconOnly,u=e.cellStyleProps,d=void 0===u?Cl:u,p=e.transitionDurationDrag,h=e.transitionDurationDrop,f=n.semanticColors,g=n.palette,y=n.fonts,v=Object(b.R)(jl,n),_={iconForegroundColor:f.bodySubtext,headerForegroundColor:f.bodyText,headerBackgroundColor:f.bodyBackground,dropdownChevronForegroundColor:g.neutralTertiary,resizerColor:g.neutralTertiaryAlt},S={color:_.iconForegroundColor,opacity:1,paddingLeft:8},C={outline:"1px solid "+g.themePrimary},x={outlineColor:"transparent"};return{root:[kl(e),y.small,i&&[v.isActionable,{selectors:{":hover":{color:f.bodyText,background:f.listHeaderBackgroundHovered},":active":{background:f.listHeaderBackgroundPressed}}}],a&&[v.isEmpty,{textOverflow:"clip"}],s&&v.isIconVisible,c&&{paddingRight:d.cellExtraRightPadding+d.cellRightPadding},{selectors:{':hover i[data-icon-name="GripperBarVertical"]':{display:"block"}}},o],gripperBarVerticalStyle:{display:"none",position:"absolute",textAlign:"left",color:g.neutralTertiary,left:1},nearIcon:[v.nearIcon,S],sortIcon:[S,{paddingLeft:4,position:"relative",top:1}],iconClassName:[{color:_.iconForegroundColor,opacity:1},r],filterChevron:[v.filterChevron,{color:_.dropdownChevronForegroundColor,paddingLeft:6,verticalAlign:"middle",fontSize:y.small.fontSize}],cellTitle:[v.cellTitle,Object(b.Q)(n),Object(m.a)({display:"flex",flexDirection:"row",justifyContent:"flex-start",alignItems:"stretch",boxSizing:"border-box",overflow:"hidden",padding:"0 "+d.cellRightPadding+"px 0 "+d.cellLeftPadding+"px"},l?{alignContent:"flex-end",maxHeight:"100%",flexWrap:"wrap-reverse"}:{})],cellName:[v.cellName,{flex:"0 1 auto",overflow:"hidden",textOverflow:"ellipsis",fontWeight:b.k.semibold,fontSize:y.medium.fontSize},l&&{selectors:(t={},t["."+v.nearIcon]={paddingLeft:0},t)}],cellTooltip:{display:"block",position:"absolute",top:0,left:0,bottom:0,right:0},accessibleLabel:b.Z,borderWhileDragging:C,noBorderWhileDragging:[x,{transition:"outline "+p+"ms ease"}],borderAfterDropping:C,noBorderAfterDropping:[x,{transition:"outline  "+h+"ms ease"}]}}),void 0,{scope:"DetailsColumn"});!function(e){e[e.none=0]="none",e[e.hidden=1]="hidden",e[e.visible=2]="visible"}(Dl||(Dl={}));var Hl=Object(w.a)(),Bl=[],zl=function(e){function t(t){var n=e.call(this,t)||this;return n._rootComponent=g.createRef(),n._draggedColumnIndex=-1,n._dropHintDetails={},n._updateDroppingState=function(e,t){n._draggedColumnIndex>=0&&"drop"!==t.type&&!e&&n._resetDropHints()},n._onDragOver=function(e,t){n._draggedColumnIndex>=0&&(t.stopPropagation(),n._computeDropHintToBeShown(t.clientX))},n._onDrop=function(e,t){var o=n._getColumnReorderProps();if(n._draggedColumnIndex>=0&&t){var r=n._draggedColumnIndex>n._currentDropHintIndex?n._currentDropHintIndex:n._currentDropHintIndex-1,i=n._isValidCurrentDropHintIndex();if(t.stopPropagation(),i)if(n._onDropIndexInfo.sourceIndex=n._draggedColumnIndex,n._onDropIndexInfo.targetIndex=r,o.onColumnDrop){var a={draggedIndex:n._draggedColumnIndex,targetIndex:r};o.onColumnDrop(a)}else o.handleColumnReorder&&o.handleColumnReorder(n._draggedColumnIndex,r)}n._resetDropHints(),n._dropHintDetails={},n._draggedColumnIndex=-1},n._updateDragInfo=function(e,t){var o=n._getColumnReorderProps(),r=e.itemIndex;if(r>=0)n._draggedColumnIndex=n._isCheckboxColumnHidden()?r-1:r-2,n._getDropHintPositions(),o.onColumnDragStart&&o.onColumnDragStart(!0);else if(t&&n._draggedColumnIndex>=0&&(n._resetDropHints(),n._draggedColumnIndex=-1,n._dropHintDetails={},o.onColumnDragEnd)){var i=n._isEventOnHeader(t);o.onColumnDragEnd({dropLocation:i},t)}},n._getDropHintPositions=function(){for(var e,t=n.props.columns,o=void 0===t?Bl:t,r=n._getColumnReorderProps(),i=0,a=0,s=r.frozenColumnCountFromStart||0,c=r.frozenColumnCountFromEnd||0,l=s;l<o.length-c+1;l++)if(n._rootElement){var u=n._rootElement.querySelectorAll("#columnDropHint_"+l)[0];if(u)if(l===s)i=u.offsetLeft,a=u.offsetLeft,e=u;else{var d=(u.offsetLeft+i)/2;n._dropHintDetails[l-1]={originX:i,startX:a,endX:d,dropHintElementRef:e},a=d,e=u,i=u.offsetLeft,l===o.length-c&&(n._dropHintDetails[l]={originX:i,startX:a,endX:u.offsetLeft,dropHintElementRef:e})}}},n._computeDropHintToBeShown=function(e){var t=Object(T.a)(n.props.theme);if(n._rootElement){var o=e-n._rootElement.getBoundingClientRect().left,r=n._currentDropHintIndex;if(n._isValidCurrentDropHintIndex()&&Ul(t,o,n._dropHintDetails[r].startX,n._dropHintDetails[r].endX))return;var i=n.props.columns,a=void 0===i?Bl:i,s=n._getColumnReorderProps(),c=s.frozenColumnCountFromStart||0,l=s.frozenColumnCountFromEnd||0,u=c,d=a.length-l,p=-1;if(Vl(t,o,n._dropHintDetails[u].endX)?p=u:Wl(t,o,n._dropHintDetails[d].startX)?p=d:n._isValidCurrentDropHintIndex()&&(n._dropHintDetails[r+1]&&Ul(t,o,n._dropHintDetails[r+1].startX,n._dropHintDetails[r+1].endX)?p=r+1:n._dropHintDetails[r-1]&&Ul(t,o,n._dropHintDetails[r-1].startX,n._dropHintDetails[r-1].endX)&&(p=r-1)),-1===p)for(var h=c,f=d;h<f;){var m=Math.ceil((f+h)/2);if(Ul(t,o,n._dropHintDetails[m].startX,n._dropHintDetails[m].endX)){p=m;break}Vl(t,o,n._dropHintDetails[m].originX)?f=m:Wl(t,o,n._dropHintDetails[m].originX)&&(h=m)}p===n._draggedColumnIndex||p===n._draggedColumnIndex+1?n._isValidCurrentDropHintIndex()&&n._resetDropHints():r!==p&&p>=0&&(n._resetDropHints(),n._updateDropHintElement(n._dropHintDetails[p].dropHintElementRef,"inline-block"),n._currentDropHintIndex=p)}},n._renderColumnSizer=function(e){var t,o=e.columnIndex,r=n.props.columns,i=void 0===r?Bl:r,a=i[o],s=n.state.columnResizeDetails,c=n._classNames;return a.isResizable?g.createElement("div",{key:a.key+"_sizer","aria-hidden":!0,role:"button","data-is-focusable":!1,onClick:ql,"data-sizer-index":o,onBlur:n._onSizerBlur,className:Object(z.a)(c.cellSizer,o<i.length-1?c.cellSizerStart:c.cellSizerEnd,(t={},t[c.cellIsResizing]=s&&s.columnIndex===o,t)),onDoubleClick:n._onSizerDoubleClick.bind(n,o)}):null},n._onRenderColumnHeaderTooltip=function(e){return g.createElement("span",{className:e.hostClassName},e.children)},n._onSelectAllClicked=function(){var e=n.props.selection;e&&e.toggleAllSelected()},n._onRootMouseDown=function(e){var t=e.target.getAttribute("data-sizer-index"),o=Number(t),r=n.props.columns,i=void 0===r?Bl:r;null!==t&&0===e.button&&(n.setState({columnResizeDetails:{columnIndex:o,columnMinWidth:i[o].calculatedWidth,originX:e.clientX}}),e.preventDefault(),e.stopPropagation())},n._onRootMouseMove=function(e){var t=n.state,o=t.columnResizeDetails,r=t.isSizing;o&&!r&&e.clientX!==o.originX&&n.setState({isSizing:!0})},n._onRootRef=function(e){n._rootElement=e?Object(mt.findDOMNode)(e):void 0},n._onRootKeyDown=function(e){var t=n.state,o=t.columnResizeDetails,r=t.isSizing,i=n.props,a=i.columns,s=void 0===a?Bl:a,c=i.onColumnResized,l=e.target.getAttribute("data-sizer-index");if(l&&!r){var u=Number(l);if(o){var d=void 0;e.which===ge.a.enter?(n.setState({columnResizeDetails:void 0}),e.preventDefault(),e.stopPropagation()):e.which===ge.a.left?d=Object(T.a)(n.props.theme)?1:-1:e.which===ge.a.right&&(d=Object(T.a)(n.props.theme)?-1:1),d&&(e.shiftKey||(d*=10),n.setState({columnResizeDetails:Object(m.a)(Object(m.a)({},o),{columnMinWidth:o.columnMinWidth+d})}),c&&c(s[u],o.columnMinWidth+d,u),e.preventDefault(),e.stopPropagation())}else e.which===ge.a.enter&&(n.setState({columnResizeDetails:{columnIndex:u,columnMinWidth:s[u].calculatedWidth}}),e.preventDefault(),e.stopPropagation())}},n._onSizerMouseMove=function(e){var t=e.buttons,o=n.props,r=o.onColumnIsSizingChanged,i=o.onColumnResized,a=o.columns,s=void 0===a?Bl:a,c=n.state.columnResizeDetails;if(void 0===t||1===t){if(e.clientX!==c.originX&&r&&r(s[c.columnIndex],!0),i){var l=e.clientX-c.originX;Object(T.a)(n.props.theme)&&(l=-l),i(s[c.columnIndex],c.columnMinWidth+l,c.columnIndex)}}else n._onSizerMouseUp(e)},n._onSizerBlur=function(e){n.state.columnResizeDetails&&n.setState({columnResizeDetails:void 0,isSizing:!1})},n._onSizerMouseUp=function(e){var t=n.props,o=t.columns,r=void 0===o?Bl:o,i=t.onColumnIsSizingChanged,a=n.state.columnResizeDetails;n.setState({columnResizeDetails:void 0,isSizing:!1}),i&&i(r[a.columnIndex],!1)},n._onToggleCollapseAll=function(){var e=n.props.onToggleCollapseAll,t=!n.state.isAllCollapsed;n.setState({isAllCollapsed:t}),e&&e(t)},Object(be.a)(n),n._events=new Ve.a(n),n.state={columnResizeDetails:void 0,isAllCollapsed:n.props.isAllCollapsed,isAllSelected:!!n.props.selection&&n.props.selection.isAllSelected()},n._onDropIndexInfo={sourceIndex:-1,targetIndex:-1},n._id=Object(Pe.a)("header"),n._currentDropHintIndex=-1,n._dragDropHelper=new Rl({selection:{getSelection:function(){}},minimumPixelsForDrag:n.props.minimumPixelsForDrag}),n}return Object(m.c)(t,e),t.prototype.componentDidMount=function(){var e=this.props.selection;this._events.on(e,"change",this._onSelectionChanged),this._events.on(this._rootElement,"mousedown",this._onRootMouseDown),this._events.on(this._rootElement,"keydown",this._onRootKeyDown),this._getColumnReorderProps()&&(this._subscriptionObject=this._dragDropHelper.subscribe(this._rootElement,this._events,this._getHeaderDragDropOptions()))},t.prototype.componentDidUpdate=function(e){if(this._getColumnReorderProps()?this._subscriptionObject||(this._subscriptionObject=this._dragDropHelper.subscribe(this._rootElement,this._events,this._getHeaderDragDropOptions())):this._subscriptionObject&&(this._subscriptionObject.dispose(),delete this._subscriptionObject),this.props!==e&&this._onDropIndexInfo.sourceIndex>=0&&this._onDropIndexInfo.targetIndex>=0){var t=e.columns,n=void 0===t?Bl:t,o=this.props.columns,r=void 0===o?Bl:o;n[this._onDropIndexInfo.sourceIndex].key===r[this._onDropIndexInfo.targetIndex].key&&(this._onDropIndexInfo={sourceIndex:-1,targetIndex:-1})}this.props.isAllCollapsed!==e.isAllCollapsed&&this.setState({isAllCollapsed:this.props.isAllCollapsed})},t.prototype.componentWillUnmount=function(){this._subscriptionObject&&(this._subscriptionObject.dispose(),delete this._subscriptionObject),this._dragDropHelper.dispose(),this._events.dispose()},t.prototype.render=function(){var e=this,t=this.props,n=t.columns,o=void 0===n?Bl:n,r=t.ariaLabel,i=t.ariaLabelForToggleAllGroupsButton,a=t.ariaLabelForSelectAllCheckbox,s=t.selectAllVisibility,c=t.ariaLabelForSelectionColumn,l=t.indentWidth,u=t.onColumnClick,d=t.onColumnContextMenu,p=t.onRenderColumnHeaderTooltip,h=void 0===p?this._onRenderColumnHeaderTooltip:p,f=t.styles,m=t.selectionMode,b=t.theme,y=t.onRenderDetailsCheckbox,v=t.groupNestingDepth,_=t.useFastIcons,S=t.checkboxVisibility,C=t.className,x=this.state,w=x.isAllSelected,k=x.columnResizeDetails,I=x.isSizing,O=x.isAllCollapsed,E=s!==Dl.none,N=s===Dl.hidden,P=S===yl.always,D=this._getColumnReorderProps(),A=D&&D.frozenColumnCountFromStart?D.frozenColumnCountFromStart:0,R=D&&D.frozenColumnCountFromEnd?D.frozenColumnCountFromEnd:0;this._classNames=Hl(f,{theme:b,isAllSelected:w,isSelectAllHidden:s===Dl.hidden,isResizingColumn:!!k&&I,isSizing:I,isAllCollapsed:O,isCheckboxHidden:N,className:C});var M=this._classNames,F=_?V:K,j=Object(T.a)(b);return g.createElement(ze,{role:"row","aria-label":r,className:M.root,componentRef:this._rootComponent,ref:this._onRootRef,onMouseMove:this._onRootMouseMove,"data-automationid":"DetailsHeader",direction:le.horizontal},E?[g.createElement("div",{key:"__checkbox",className:M.cellIsCheck,"aria-labelledby":this._id+"-check",onClick:N?void 0:this._onSelectAllClicked,"aria-colindex":1,role:"columnheader"},h({hostClassName:M.checkTooltip,id:this._id+"-checkTooltip",setAriaDescribedBy:!1,content:a,children:g.createElement(Al,{id:this._id+"-check","aria-label":m===Yc.multiple?a:c,"aria-describedby":N?c&&!this.props.onRenderColumnHeaderTooltip?this._id+"-checkTooltip":void 0:a&&!this.props.onRenderColumnHeaderTooltip?this._id+"-checkTooltip":void 0,"data-is-focusable":!N||void 0,isHeader:!0,selected:w,anySelected:!1,canSelect:!N,className:M.check,onRenderDetailsCheckbox:y,useFastIcons:_,isVisible:P})},this._onRenderColumnHeaderTooltip)),this.props.onRenderColumnHeaderTooltip?null:a&&!N?g.createElement("label",{key:"__checkboxLabel",id:this._id+"-checkTooltip",className:M.accessibleLabel,"aria-hidden":!0},a):c&&N?g.createElement("label",{key:"__checkboxLabel",id:this._id+"-checkTooltip",className:M.accessibleLabel,"aria-hidden":!0},c):null]:null,v>0&&this.props.collapseAllVisibility===hl.visible?g.createElement("div",{className:M.cellIsGroupExpander,onClick:this._onToggleCollapseAll,"data-is-focusable":!0,"aria-label":i,"aria-expanded":!O,role:i?"button":void 0},g.createElement(F,{className:M.collapseButton,iconName:j?"ChevronLeftMed":"ChevronRightMed"})):null,g.createElement(_l,{indentWidth:l,count:v-1}),o.map((function(t,n){var r=!!D&&n>=A&&n<o.length-R;return[D&&(r||n===o.length-R)&&e._renderDropHint(n),g.createElement(Ll,{column:t,styles:t.styles,key:t.key,columnIndex:(E?2:1)+n,parentId:e._id,isDraggable:r,updateDragInfo:e._updateDragInfo,dragDropHelper:e._dragDropHelper,onColumnClick:u,onColumnContextMenu:d,onRenderColumnHeaderTooltip:e.props.onRenderColumnHeaderTooltip,isDropped:e._onDropIndexInfo.targetIndex===n,cellStyleProps:e.props.cellStyleProps,useFastIcons:_}),e._renderColumnDivider(n)]})),D&&0===R&&this._renderDropHint(o.length),I&&g.createElement(En,null,g.createElement("div",{className:M.sizingOverlay,onMouseMove:this._onSizerMouseMove,onMouseUp:this._onSizerMouseUp})))},t.prototype.focus=function(){return Boolean(this._rootComponent.current&&this._rootComponent.current.focus())},t.prototype._getColumnReorderProps=function(){var e=this.props,t=e.columnReorderOptions;return e.columnReorderProps||t&&Object(m.a)(Object(m.a)({},t),{onColumnDragEnd:void 0})},t.prototype._getHeaderDragDropOptions=function(){return{selectionIndex:1,context:{data:this,index:0},canDrag:function(){return!1},canDrop:function(){return!0},onDragStart:function(){},updateDropState:this._updateDroppingState,onDrop:this._onDrop,onDragEnd:function(){},onDragOver:this._onDragOver}},t.prototype._isValidCurrentDropHintIndex=function(){return this._currentDropHintIndex>=0},t.prototype._isCheckboxColumnHidden=function(){var e=this.props,t=e.selectionMode,n=e.checkboxVisibility;return t===Yc.none||n===yl.hidden},t.prototype._resetDropHints=function(){this._currentDropHintIndex>=0&&(this._updateDropHintElement(this._dropHintDetails[this._currentDropHintIndex].dropHintElementRef,"none"),this._currentDropHintIndex=-1)},t.prototype._updateDropHintElement=function(e,t){e.childNodes[1].style.display=t,e.childNodes[0].style.display=t},t.prototype._isEventOnHeader=function(e){if(this._rootElement){var t=this._rootElement.getBoundingClientRect();if(e.clientX>t.left&&e.clientX<t.right&&e.clientY>t.top&&e.clientY<t.bottom)return gl.header}},t.prototype._renderColumnDivider=function(e){var t=this.props.columns,n=(void 0===t?Bl:t)[e],o=n.onRenderDivider;return o?o({column:n,columnIndex:e},this._renderColumnSizer):this._renderColumnSizer({column:n,columnIndex:e})},t.prototype._renderDropHint=function(e){var t=this._classNames,n=this.props.useFastIcons?V:K;return g.createElement("div",{key:"dropHintKey",className:t.dropHintStyle,id:"columnDropHint_"+e},g.createElement(n,{key:"dropHintCircleKey","aria-hidden":!0,"data-is-focusable":!1,"data-sizer-index":e,className:t.dropHintCaretStyle,iconName:"CircleShapeSolid"}),g.createElement("div",{key:"dropHintLineKey","aria-hidden":!0,"data-is-focusable":!1,"data-sizer-index":e,className:t.dropHintLineStyle}))},t.prototype._onSizerDoubleClick=function(e,t){var n=this.props,o=n.onColumnAutoResized,r=n.columns;o&&o((void 0===r?Bl:r)[e],e)},t.prototype._onSelectionChanged=function(){var e=!!this.props.selection&&this.props.selection.isAllSelected();this.state.isAllSelected!==e&&this.setState({isAllSelected:e})},t.defaultProps={selectAllVisibility:Dl.visible,collapseAllVisibility:hl.visible,useFastIcons:!0},t}(g.Component);function Ul(e,t,n,o){return e?t<=n&&t>=o:t>=n&&t<=o}function Vl(e,t,n){return e?t>=n:t<=n}function Wl(e,t,n){return e?t<=n:t>=n}function ql(e){e.stopPropagation()}var Gl,Kl,Yl=Object(x.a)(zl,(function(e){var t,n,o,r,i=e.theme,a=e.className,s=e.isAllSelected,c=e.isResizingColumn,l=e.isSizing,u=e.isAllCollapsed,d=e.cellStyleProps,p=void 0===d?Cl:d,h=i.semanticColors,f=i.palette,m=i.fonts,g=Object(b.R)(Tl,i),y={iconForegroundColor:h.bodySubtext,headerForegroundColor:h.bodyText,headerBackgroundColor:h.bodyBackground,dropdownChevronForegroundColor:f.neutralTertiary,resizerColor:f.neutralTertiaryAlt},v={opacity:1,transition:"opacity 0.3s linear"},_=kl(e);return{root:[g.root,m.small,{display:"inline-block",background:y.headerBackgroundColor,position:"relative",minWidth:"100%",verticalAlign:"top",height:42,lineHeight:42,whiteSpace:"nowrap",boxSizing:"content-box",paddingBottom:"1px",paddingTop:"16px",borderBottom:"1px solid "+h.bodyDivider,cursor:"default",userSelect:"none",selectors:(t={},t["&:hover ."+g.check]={opacity:1},t["& ."+g.tooltipHost+" ."+g.checkTooltip]={display:"block"},t)},s&&g.isAllSelected,c&&g.isResizingColumn,a],check:[g.check,{height:42},{selectors:(n={},n["."+Fn.a+" &:focus"]={opacity:1},n)}],cellWrapperPadded:{paddingRight:p.cellExtraRightPadding+p.cellRightPadding},cellIsCheck:[_,g.cellIsCheck,{position:"relative",padding:0,margin:0,display:"inline-flex",alignItems:"center",border:"none"},s&&{opacity:1}],cellIsGroupExpander:[_,{display:"inline-flex",alignItems:"center",justifyContent:"center",fontSize:m.small.fontSize,padding:0,border:"none",width:36,color:f.neutralSecondary,selectors:{":hover":{backgroundColor:f.neutralLighter},":active":{backgroundColor:f.neutralLight}}}],cellIsActionable:{selectors:{":hover":{color:h.bodyText,background:h.listHeaderBackgroundHovered},":active":{background:h.listHeaderBackgroundPressed}}},cellIsEmpty:{textOverflow:"clip"},cellSizer:[g.cellSizer,Object(b.L)(),{display:"inline-block",position:"relative",cursor:"ew-resize",bottom:0,top:0,overflow:"hidden",height:"inherit",background:"transparent",zIndex:1,width:16,selectors:(o={":after":{content:'""',position:"absolute",top:0,bottom:0,width:1,background:y.resizerColor,opacity:0,left:"50%"},":focus:after":v,":hover:after":v},o["&."+g.isResizing+":after"]=[v,{boxShadow:"0 0 5px 0 rgba(0, 0, 0, 0.4)"}],o)}],cellIsResizing:g.isResizing,cellSizerStart:{margin:"0 -8px"},cellSizerEnd:{margin:0,marginLeft:-16},collapseButton:[g.collapseButton,{transformOrigin:"50% 50%",transition:"transform .1s linear"},u?[g.isCollapsed,{transform:"rotate(0deg)"}]:{transform:Object(T.a)(i)?"rotate(-90deg)":"rotate(90deg)"}],checkTooltip:g.checkTooltip,sizingOverlay:l&&{position:"absolute",left:0,top:0,right:0,bottom:0,cursor:"ew-resize",background:"rgba(255, 255, 255, 0)",selectors:(r={},r[b.l]={background:"transparent",MsHighContrastAdjust:"none"},r)},accessibleLabel:b.Z,dropHintCircleStyle:[g.dropHintCircleStyle,{display:"inline-block",visibility:"hidden",position:"absolute",bottom:0,height:9,width:9,borderRadius:"50%",marginLeft:-5,top:34,overflow:"visible",zIndex:10,border:"1px solid "+f.themePrimary,background:f.white}],dropHintCaretStyle:[g.dropHintCaretStyle,{display:"none",position:"absolute",top:-28,left:-6.5,fontSize:m.medium.fontSize,color:f.themePrimary,overflow:"visible",zIndex:10}],dropHintLineStyle:[g.dropHintLineStyle,{display:"none",position:"absolute",bottom:0,top:0,overflow:"hidden",height:42,width:1,background:f.themePrimary,zIndex:10}],dropHintStyle:{display:"inline-block",position:"absolute"}}}),void 0,{scope:"DetailsHeader"}),Ql=function(e){var t=e.columns,n=e.columnStartIndex,o=e.rowClassNames,r=e.cellStyleProps,i=void 0===r?Cl:r,a=e.item,s=e.itemIndex,c=e.onRenderItemColumn,l=e.getCellValueKey,u=e.cellsByColumn,d=e.enableUpdateAnimations,p=g.useRef(),h=p.current||(p.current={});return g.createElement("div",{className:o.fields,"data-automationid":"DetailsRowFields",role:"presentation"},t.map((function(e,t){var r=void 0===e.calculatedWidth?"auto":e.calculatedWidth+i.cellLeftPadding+i.cellRightPadding+(e.isPadded?i.cellExtraRightPadding:0),p=e.onRender,f=void 0===p?c:p,m=e.getValueKey,b=void 0===m?l:m,y=u&&e.key in u?u[e.key]:f?f(a,s,e):function(e,t){var n=e&&t&&t.fieldName?e[t.fieldName]:"";return null==n&&(n=""),"boolean"==typeof n?n.toString():n}(a,e),v=h[e.key],_=d&&b?b(a,s,e):void 0,S=!1;void 0!==_&&void 0!==v&&_!==v&&(S=!0),h[e.key]=_;var C=e.key+(void 0!==_?"-"+_:"");return g.createElement("div",{key:C,role:e.isRowHeader?"rowheader":"gridcell","aria-readonly":!0,"aria-colindex":t+n+1,className:Object(z.a)(e.className,e.isMultiline&&o.isMultiline,e.isRowHeader&&o.isRowHeader,o.cell,e.isPadded?o.cellPadded:o.cellUnpadded,S&&o.cellAnimation),style:{width:r},"data-automationid":"DetailsRowCell","data-automation-key":e.key},y)})))},$l=Object(w.a)(),Zl=[],Xl=function(e){function t(t){var n=e.call(this,t)||this;return n._cellMeasurer=g.createRef(),n._focusZone=g.createRef(),n._onSelectionChanged=function(){var e=n._getSelectionState(n.props);Object(ot.e)(e,n.state.selectionState)||n.setState({selectionState:e})},n._onRootRef=function(e){n._root=e?mt.findDOMNode(e):void 0},n._updateDroppingState=function(e,t){var o=n.state.isDropping,r=n.props,i=r.dragDropEvents,a=r.item;e?i.onDragEnter&&(n._droppingClassNames=i.onDragEnter(a,t)):i.onDragLeave&&i.onDragLeave(a,t),o!==e&&n.setState({isDropping:e})},Object(be.a)(n),n._events=new Ve.a(n),n.state={selectionState:n._getSelectionState(t),columnMeasureInfo:void 0,isDropping:!1},n._droppingClassNames="",n}return Object(m.c)(t,e),t.prototype.componentDidMount=function(){var e=this.props.dragDropHelper;e&&(this._dragDropSubscription=e.subscribe(this._root,this._events,this._getRowDragDropOptions())),this._events.on(this.props.selection,"change",this._onSelectionChanged),this.props.onDidMount&&this.props.item&&(this._onDidMountCalled=!0,this.props.onDidMount(this))},t.prototype.componentDidUpdate=function(e){var t=this.state,n=this.props,o=n.item,r=n.onDidMount,i=t.columnMeasureInfo;if(this.props.itemIndex===e.itemIndex&&this.props.item===e.item&&this.props.dragDropHelper===e.dragDropHelper||(this._dragDropSubscription&&(this._dragDropSubscription.dispose(),delete this._dragDropSubscription),this.props.dragDropHelper&&(this._dragDropSubscription=this.props.dragDropHelper.subscribe(this._root,this._events,this._getRowDragDropOptions()))),i&&i.index>=0&&this._cellMeasurer.current){var a=this._cellMeasurer.current.getBoundingClientRect().width;i.onMeasureDone(a),this.setState({columnMeasureInfo:void 0})}o&&r&&!this._onDidMountCalled&&(this._onDidMountCalled=!0,r(this))},t.prototype.componentWillUnmount=function(){var e=this.props,t=e.item,n=e.onWillUnmount;n&&t&&n(this),this._dragDropSubscription&&(this._dragDropSubscription.dispose(),delete this._dragDropSubscription),this._events.dispose()},t.prototype.UNSAFE_componentWillReceiveProps=function(e){this.setState({selectionState:this._getSelectionState(e)})},t.prototype.shouldComponentUpdate=function(e,t){if(this.props.useReducedRowRenderer){var n=this._getSelectionState(e);return this.state.selectionState.isSelected!==n.isSelected||!Object(ot.e)(this.props,e)}return!0},t.prototype.render=function(){var e=this.props,t=e.className,n=e.columns,o=void 0===n?Zl:n,r=e.dragDropEvents,i=e.item,a=e.itemIndex,s=e.onRenderCheck,c=void 0===s?this._onRenderCheck:s,l=e.onRenderDetailsCheckbox,u=e.onRenderItemColumn,d=e.getCellValueKey,p=e.selectionMode,h=e.rowWidth,f=void 0===h?0:h,b=e.checkboxVisibility,y=e.getRowAriaLabel,v=e.getRowAriaDescribedBy,_=e.checkButtonAriaLabel,S=e.checkboxCellClassName,C=e.rowFieldsAs,x=void 0===C?Ql:C,w=e.selection,T=e.indentWidth,k=e.enableUpdateAnimations,O=e.compact,E=e.theme,N=e.styles,P=e.cellsByColumn,D=e.groupNestingDepth,A=e.useFastIcons,R=void 0===A||A,M=e.cellStyleProps,F=this.state,j=F.columnMeasureInfo,L=F.isDropping,H=this.state.selectionState,B=H.isSelected,U=void 0!==B&&B,V=H.isSelectionModal,W=void 0!==V&&V,q=r?!(!r.canDrag||!r.canDrag(i)):void 0,G=L?this._droppingClassNames||"is-dropping":"",K=y?y(i):void 0,Y=v?v(i):void 0,Q=!!w&&w.canSelectItem(i,a),$=p===Yc.multiple,Z=p!==Yc.none&&b!==yl.hidden,X=p===Yc.none?void 0:U;this._classNames=Object(m.a)(Object(m.a)({},this._classNames),$l(N,{theme:E,isSelected:U,canSelect:!$,anySelected:W,checkboxCellClassName:S,droppingClassName:G,className:t,compact:O,enableUpdateAnimations:k,cellStyleProps:M}));var J={isMultiline:this._classNames.isMultiline,isRowHeader:this._classNames.isRowHeader,cell:this._classNames.cell,cellAnimation:this._classNames.cellAnimation,cellPadded:this._classNames.cellPadded,cellUnpadded:this._classNames.cellUnpadded,fields:this._classNames.fields};Object(ot.e)(this._rowClassNames||{},J)||(this._rowClassNames=J);var ee=g.createElement(x,{rowClassNames:this._rowClassNames,cellsByColumn:P,columns:o,item:i,itemIndex:a,columnStartIndex:Z?1:0,onRenderItemColumn:u,getCellValueKey:d,enableUpdateAnimations:k,cellStyleProps:M});return g.createElement(ze,Object(m.a)({"data-is-focusable":!0},Object(I.j)(this.props,I.h),"boolean"==typeof q?{"data-is-draggable":q,draggable:q}:{},{direction:le.horizontal,ref:this._onRootRef,componentRef:this._focusZone,role:"row","aria-label":K,"aria-describedby":Y,className:this._classNames.root,"data-selection-index":a,"data-selection-touch-invoke":!0,"data-item-index":a,"aria-rowindex":a+1,"data-automationid":"DetailsRow",style:{minWidth:f},"aria-selected":X,allowFocusRoot:!0}),Z&&g.createElement("div",{role:"gridcell","aria-colindex":1,"data-selection-toggle":!0,className:this._classNames.checkCell},c({selected:U,anySelected:W,"aria-label":_,canSelect:Q,compact:O,className:this._classNames.check,theme:E,isVisible:b===yl.always,onRenderDetailsCheckbox:l,useFastIcons:R})),g.createElement(_l,{indentWidth:T,count:D-(this.props.collapseAllVisibility===hl.hidden?1:0)}),i&&ee,j&&g.createElement("span",{role:"presentation",className:Object(z.a)(this._classNames.cellMeasurer,this._classNames.cell),ref:this._cellMeasurer},g.createElement(x,{rowClassNames:this._rowClassNames,columns:[j.column],item:i,itemIndex:a,columnStartIndex:(Z?1:0)+o.length,onRenderItemColumn:u,getCellValueKey:d})),g.createElement("span",{role:"checkbox",className:this._classNames.checkCover,"aria-checked":U,"data-selection-toggle":!0}))},t.prototype.measureCell=function(e,t){var n=this.props.columns,o=void 0===n?Zl:n,r=Object(m.a)({},o[e]);r.minWidth=0,r.maxWidth=999999,delete r.calculatedWidth,this.setState({columnMeasureInfo:{index:e,column:r,onMeasureDone:t}})},t.prototype.focus=function(e){return void 0===e&&(e=!1),!!this._focusZone.current&&this._focusZone.current.focus(e)},t.prototype._onRenderCheck=function(e){return g.createElement(Al,Object(m.a)({},e))},t.prototype._getSelectionState=function(e){var t=e.itemIndex,n=e.selection;return{isSelected:!!n&&n.isIndexSelected(t),isSelectionModal:!!n&&!!n.isModal&&n.isModal()}},t.prototype._getRowDragDropOptions=function(){var e=this.props,t=e.item,n=e.itemIndex,o=e.dragDropEvents;return{eventMap:e.eventsToRegister,selectionIndex:n,context:{data:t,index:n},canDrag:o.canDrag,canDrop:o.canDrop,onDragStart:o.onDragStart,updateDropState:this._updateDroppingState,onDrop:o.onDrop,onDragEnd:o.onDragEnd,onDragOver:o.onDragOver}},t}(g.Component),Jl=Object(x.a)(Xl,(function(e){var t,n,o,r,i,a,s,c,l,u,d,p,h=e.theme,f=e.isSelected,m=e.canSelect,g=e.droppingClassName,y=e.anySelected,v=e.isCheckVisible,_=e.checkboxCellClassName,S=e.compact,C=e.className,x=e.cellStyleProps,w=void 0===x?Cl:x,T=e.enableUpdateAnimations,k=h.palette,I=h.fonts,O=k.neutralPrimary,E=k.white,N=k.neutralSecondary,P=k.neutralLighter,D=k.neutralLight,A=k.neutralDark,R=k.neutralQuaternaryAlt,M=h.semanticColors.focusBorder,F=Object(b.R)(Sl,h),j={defaultHeaderText:O,defaultMetaText:N,defaultBackground:E,defaultHoverHeaderText:A,defaultHoverMetaText:O,defaultHoverBackground:P,selectedHeaderText:A,selectedMetaText:O,selectedBackground:D,selectedHoverHeaderText:A,selectedHoverMetaText:O,selectedHoverBackground:R,focusHeaderText:A,focusMetaText:O,focusBackground:D,focusHoverBackground:R},L=[Object(b.Q)(h,{inset:-1,borderColor:M,outlineColor:E}),F.isSelected,{color:j.selectedMetaText,background:j.selectedBackground,borderBottom:"1px solid "+E,selectors:(t={"&:before":{position:"absolute",display:"block",top:-1,height:1,bottom:0,left:0,right:0,content:"",borderTop:"1px solid "+E},"&:hover":{background:j.selectedHoverBackground,color:j.selectedHoverMetaText,selectors:(n={},n["."+F.cell+" "+b.l]={color:"HighlightText",selectors:{"> a":{color:"HighlightText"}}},n["."+F.isRowHeader]={color:j.selectedHoverHeaderText,selectors:(o={},o[b.l]={color:"HighlightText"},o)},n[b.l]={background:"Highlight"},n)},"&:focus":{background:j.focusBackground,selectors:(r={},r["."+F.cell]={color:j.focusMetaText,selectors:(i={},i[b.l]={color:"HighlightText",selectors:{"> a":{color:"HighlightText"}}},i)},r["."+F.isRowHeader]={color:j.focusHeaderText,selectors:(a={},a[b.l]={color:"HighlightText"},a)},r[b.l]={background:"Highlight"},r)}},t[b.l]={background:"Highlight",color:"HighlightText",MsHighContrastAdjust:"none",selectors:{a:{color:"HighlightText"}}},t["&:focus:hover"]={background:j.focusHoverBackground},t)}],H=[F.isContentUnselectable,{userSelect:"none",cursor:"default"}],B={minHeight:wl.compactRowHeight,border:0},z={minHeight:wl.compactRowHeight,paddingTop:wl.compactRowVerticalPadding,paddingBottom:wl.compactRowVerticalPadding,paddingLeft:w.cellLeftPadding+"px"},U=[Object(b.Q)(h,{inset:-1}),F.cell,{display:"inline-block",position:"relative",boxSizing:"border-box",minHeight:wl.rowHeight,verticalAlign:"top",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",paddingTop:wl.rowVerticalPadding,paddingBottom:wl.rowVerticalPadding,paddingLeft:w.cellLeftPadding+"px",selectors:(s={"& > button":{maxWidth:"100%"}},s["[data-is-focusable='true']"]=Object(b.Q)(h,{inset:-1,borderColor:N,outlineColor:E}),s)},f&&{selectors:(c={},c[b.l]={background:"Highlight",color:"HighlightText",MsHighContrastAdjust:"none",selectors:{a:{color:"HighlightText"}}},c)},S&&z];return{root:[F.root,b.a.fadeIn400,g,h.fonts.small,v&&F.isCheckVisible,Object(b.Q)(h,{borderColor:M,outlineColor:E}),{borderBottom:"1px solid "+P,background:j.defaultBackground,color:j.defaultMetaText,display:"inline-flex",minWidth:"100%",minHeight:wl.rowHeight,whiteSpace:"nowrap",padding:0,boxSizing:"border-box",verticalAlign:"top",textAlign:"left",selectors:(l={},l["."+F.listCellFirstChild+" &:before"]={display:"none"},l["&:hover"]={background:j.defaultHoverBackground,color:j.defaultHoverMetaText,selectors:(u={},u["."+F.isRowHeader]={color:j.defaultHoverHeaderText},u)},l["&:hover ."+F.check]={opacity:1},l["."+Fn.a+" &:focus ."+F.check]={opacity:1},l)},f&&L,!m&&H,S&&B,C],cellUnpadded:{paddingRight:w.cellRightPadding+"px"},cellPadded:{paddingRight:w.cellExtraRightPadding+w.cellRightPadding+"px",selectors:(d={},d["&."+F.cellCheck]={paddingRight:0},d)},cell:U,cellAnimation:T&&b.b.slideLeftIn40,cellMeasurer:[F.cellMeasurer,{overflow:"visible",whiteSpace:"nowrap"}],checkCell:[U,F.cellCheck,_,{padding:0,paddingTop:1,marginTop:-1,flexShrink:0}],checkCover:{position:"absolute",top:-1,left:0,bottom:0,right:0,display:y?"block":"none"},fields:[F.fields,{display:"flex",alignItems:"stretch"}],isRowHeader:[F.isRowHeader,{color:j.defaultHeaderText,fontSize:I.medium.fontSize},f&&{color:j.selectedHeaderText,fontWeight:b.k.semibold,selectors:(p={},p[b.l]={color:"HighlightText"},p)}],isMultiline:[U,{whiteSpace:"normal",wordBreak:"break-word",textOverflow:"clip"}],check:[F.check]}}),void 0,{scope:"DetailsRow"}),eu={root:"ms-GroupedList",compact:"ms-GroupedList--Compact",group:"ms-GroupedList-group",link:"ms-Link",listCell:"ms-List-cell"},tu={root:"ms-GroupHeader",compact:"ms-GroupHeader--compact",check:"ms-GroupHeader-check",dropIcon:"ms-GroupHeader-dropIcon",expand:"ms-GroupHeader-expand",isCollapsed:"is-collapsed",title:"ms-GroupHeader-title",isSelected:"is-selected",iconTag:"ms-Icon--Tag",group:"ms-GroupedList-group",isDropping:"is-dropping"},nu="cubic-bezier(0.390, 0.575, 0.565, 1.000)";!function(e){e[e.xSmall=0]="xSmall",e[e.small=1]="small",e[e.medium=2]="medium",e[e.large=3]="large"}(Gl||(Gl={})),function(e){e[e.normal=0]="normal",e[e.large=1]="large"}(Kl||(Kl={}));var ou=Object(w.a)(),ru=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(m.c)(t,e),t.prototype.render=function(){var e=this.props,t=e.type,n=e.size,o=e.ariaLabel,r=e.ariaLive,i=e.styles,a=e.label,s=e.theme,c=e.className,l=e.labelPosition,u=o,d=Object(I.j)(this.props,I.h,["size"]),p=n;void 0===p&&void 0!==t&&(p=t===Kl.large?Gl.large:Gl.medium);var h=ou(i,{theme:s,size:p,className:c,labelPosition:l});return g.createElement("div",Object(m.a)({},d,{className:h.root}),g.createElement("div",{className:h.circle}),a&&g.createElement("div",{className:h.label},a),u&&g.createElement("div",{role:"status","aria-live":r},g.createElement(Se.a,null,g.createElement("div",{className:h.screenReaderText},u))))},t.defaultProps={size:Gl.medium,ariaLive:"polite",labelPosition:"bottom"},t}(g.Component),iu={root:"ms-Spinner",circle:"ms-Spinner-circle",label:"ms-Spinner-label"},au=Object(y.c)((function(){return Object(b.ab)({"0%":{transform:"rotate(0deg)"},"100%":{transform:"rotate(360deg)"}})})),su=Object(x.a)(ru,(function(e){var t,n=e.theme,o=e.size,r=e.className,i=e.labelPosition,a=n.palette,s=Object(b.R)(iu,n);return{root:[s.root,{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center"},"top"===i&&{flexDirection:"column-reverse"},"right"===i&&{flexDirection:"row"},"left"===i&&{flexDirection:"row-reverse"},r],circle:[s.circle,{boxSizing:"border-box",borderRadius:"50%",border:"1.5px solid "+a.themeLight,borderTopColor:a.themePrimary,animationName:au(),animationDuration:"1.3s",animationIterationCount:"infinite",animationTimingFunction:"cubic-bezier(.53,.21,.29,.67)",selectors:(t={},t[b.l]={borderTopColor:"Highlight"},t)},o===Gl.xSmall&&["ms-Spinner--xSmall",{width:12,height:12}],o===Gl.small&&["ms-Spinner--small",{width:16,height:16}],o===Gl.medium&&["ms-Spinner--medium",{width:20,height:20}],o===Gl.large&&["ms-Spinner--large",{width:28,height:28}]],label:[s.label,n.fonts.small,{color:a.themePrimary,margin:"8px 0 0",textAlign:"center"},"top"===i&&{margin:"0 0 8px"},"right"===i&&{margin:"0 0 0 8px"},"left"===i&&{margin:"0 8px 0 0"}],screenReaderText:b.Z}}),void 0,{scope:"Spinner"}),cu=Object(w.a)(),lu=function(e){function t(t){var n=e.call(this,t)||this;return n._onToggleCollapse=function(e){var t=n.props,o=t.group,r=t.onToggleCollapse,i=t.isGroupLoading,a=!n.state.isCollapsed,s=!a&&i&&i(o);n.setState({isCollapsed:a,isLoadingVisible:s}),r&&r(o),e.stopPropagation(),e.preventDefault()},n._onToggleSelectGroupClick=function(e){var t=n.props,o=t.onToggleSelectGroup,r=t.group;o&&o(r),e.preventDefault(),e.stopPropagation()},n._onHeaderClick=function(){var e=n.props,t=e.group,o=e.onGroupHeaderClick,r=e.onToggleSelectGroup;o?o(t):r&&r(t)},n._onRenderTitle=function(e){var t=e.group;return t?g.createElement("div",{className:n._classNames.title},g.createElement("span",null,t.name),g.createElement("span",{className:n._classNames.headerCount},"(",t.count,t.hasMoreData&&"+",")")):null},n.state={isCollapsed:n.props.group&&n.props.group.isCollapsed,isLoadingVisible:!1},n}return Object(m.c)(t,e),t.prototype.UNSAFE_componentWillReceiveProps=function(e){if(e.group){var t=e.group.isCollapsed,n=e.isGroupLoading,o=!t&&n&&n(e.group);this.setState({isCollapsed:t||!1,isLoadingVisible:o||!1})}},t.prototype.render=function(){var e=this.props,t=e.group,n=e.groupLevel,o=e.viewport,r=e.selectionMode,i=e.loadingText,a=e.isSelected,s=void 0!==a&&a,c=e.selected,l=void 0!==c&&c,u=e.indentWidth,d=e.onRenderTitle,p=void 0===d?this._onRenderTitle:d,h=e.onRenderGroupHeaderCheckbox,f=e.isCollapsedGroupSelectVisible,b=void 0===f||f,y=e.expandButtonProps,v=e.expandButtonIcon,_=e.selectAllButtonProps,S=e.theme,C=e.styles,x=e.className,w=e.groupedListId,k=e.compact,I=e.ariaPosInSet,O=e.ariaSetSize,E=e.useFastIcons?this._fastDefaultCheckboxRender:this._defaultCheckboxRender,N=h?Object(Va.a)(h,E):E,P=this.state,D=P.isCollapsed,A=P.isLoadingVisible,R=r===Yc.multiple&&(b||!(t&&t.isCollapsed)),M=l||s,F=Object(T.a)(S);return this._classNames=cu(C,{theme:S,className:x,selected:M,isCollapsed:D,compact:k}),t?g.createElement("div",{className:this._classNames.root,style:o?{minWidth:o.width}:{},onClick:this._onHeaderClick,"aria-expanded":!t.isCollapsed,"aria-label":t.ariaLabel||t.name,"aria-level":void 0!==n?n+1:void 0,"aria-setsize":O,"aria-posinset":I,"data-is-focusable":!0},g.createElement(ze,{className:this._classNames.groupHeaderContainer,direction:le.horizontal},R?g.createElement("button",Object(m.a)({type:"button",className:this._classNames.check,role:"checkbox","aria-checked":M,"data-selection-toggle":!0,onClick:this._onToggleSelectGroupClick},_),N({checked:M,theme:S},N)):r!==Yc.none&&g.createElement(_l,{indentWidth:u,count:1}),g.createElement(_l,{indentWidth:u,count:n}),g.createElement("div",{className:this._classNames.dropIcon},g.createElement(K,{iconName:"Tag"})),g.createElement("button",Object(m.a)({type:"button",className:this._classNames.expand,onClick:this._onToggleCollapse,"aria-expanded":!t.isCollapsed,"aria-controls":t&&!t.isCollapsed?w:void 0},y),g.createElement(K,{className:this._classNames.expandIsCollapsed,iconName:v||(F?"ChevronLeftMed":"ChevronRightMed")})),p(this.props,this._onRenderTitle),A&&g.createElement(su,{label:i}))):null},t.prototype._defaultCheckboxRender=function(e){return g.createElement(Ra,{checked:e.checked})},t.prototype._fastDefaultCheckboxRender=function(e){return g.createElement(uu,{theme:e.theme,checked:e.checked})},t.defaultProps={expandButtonProps:{"aria-label":"expand collapse group"}},t}(g.Component),uu=g.memo((function(e){return g.createElement(Ra,{theme:e.theme,checked:e.checked,className:e.className,useFastIcons:!0})})),du=Object(x.a)(lu,(function(e){var t,n,o,r,i,a=e.theme,s=e.className,c=e.selected,l=e.isCollapsed,u=e.compact,d=Cl.cellLeftPadding,p=u?40:48,h=a.semanticColors,f=a.palette,m=a.fonts,g=Object(b.R)(tu,a),y=[Object(b.Q)(a),{cursor:"default",background:"none",backgroundColor:"transparent",border:"none",padding:0}];return{root:[g.root,Object(b.Q)(a),a.fonts.medium,{borderBottom:"1px solid "+h.listBackground,cursor:"default",userSelect:"none",selectors:(t={":hover":{background:h.listItemBackgroundHovered,color:h.actionLinkHovered}},t["&:hover ."+g.check]={opacity:1},t["."+Fn.a+" &:focus ."+g.check]={opacity:1},t[":global(."+g.group+"."+g.isDropping+")"]={selectors:(n={},n["& > ."+g.root+" ."+g.dropIcon]={transition:"transform "+b.c.durationValue4+" cubic-bezier(0.075, 0.820, 0.165, 1.000) opacity "+b.c.durationValue1+" "+nu,transitionDelay:b.c.durationValue3,opacity:1,transform:"rotate(0.2deg) scale(1);"},n["."+g.check]={opacity:0},n)},t)},c&&[g.isSelected,{background:h.listItemBackgroundChecked,selectors:(o={":hover":{background:h.listItemBackgroundCheckedHovered}},o[""+g.check]={opacity:1},o)}],u&&[g.compact,{border:"none"}],s],groupHeaderContainer:[{display:"flex",alignItems:"center",height:p}],headerCount:[{padding:"0px 4px"}],check:[g.check,y,{display:"flex",alignItems:"center",justifyContent:"center",paddingTop:1,marginTop:-1,opacity:0,width:48,height:p,selectors:(r={},r["."+Fn.a+" &:focus"]={opacity:1},r)}],expand:[g.expand,y,{display:"flex",alignItems:"center",justifyContent:"center",fontSize:m.small.fontSize,width:36,height:p,color:c?f.neutralPrimary:f.neutralSecondary,selectors:{":hover":{backgroundColor:c?f.neutralQuaternary:f.neutralLight},":active":{backgroundColor:c?f.neutralTertiaryAlt:f.neutralQuaternaryAlt}}}],expandIsCollapsed:[l?[g.isCollapsed,{transform:"rotate(0deg)",transformOrigin:"50% 50%",transition:"transform .1s linear"}]:{transform:Object(T.a)(a)?"rotate(-90deg)":"rotate(90deg)",transformOrigin:"50% 50%",transition:"transform .1s linear"}],title:[g.title,{paddingLeft:d,fontSize:u?m.medium.fontSize:m.mediumPlus.fontSize,fontWeight:l?b.k.regular:b.k.semibold,cursor:"pointer",outline:0,whiteSpace:"nowrap",textOverflow:"ellipsis"}],dropIcon:[g.dropIcon,{position:"absolute",left:-26,fontSize:b.o.large,color:f.neutralSecondary,transition:"transform "+b.c.durationValue2+" cubic-bezier(0.600, -0.280, 0.735, 0.045), opacity "+b.c.durationValue4+" "+nu,opacity:0,transform:"rotate(0.2deg) scale(0.65)",transformOrigin:"10px 10px",selectors:(i={},i[":global(."+g.iconTag+")"]={position:"absolute"},i)}]}}),void 0,{scope:"GroupHeader"}),pu={root:"ms-GroupShowAll",link:"ms-Link"},hu=Object(w.a)(),fu=Object(x.a)((function(e){var t=e.group,n=e.groupLevel,o=e.showAllLinkText,r=void 0===o?"Show All":o,i=e.styles,a=e.theme,s=e.onToggleSummarize,c=hu(i,{theme:a}),l=Object(g.useCallback)((function(e){s(t),e.stopPropagation(),e.preventDefault()}),[s,t]);return t?g.createElement("div",{className:c.root},g.createElement(_l,{count:n}),g.createElement(et,{onClick:l},r)):null}),(function(e){var t,n=e.theme,o=n.fonts,r=Object(b.R)(pu,n);return{root:[r.root,{position:"relative",padding:"10px 84px",cursor:"pointer",selectors:(t={},t["."+r.link]={fontSize:o.small.fontSize},t)}]}}),void 0,{scope:"GroupShowAll"}),mu={root:"ms-groupFooter"},gu=Object(w.a)(),bu=Object(x.a)((function(e){var t=e.group,n=e.groupLevel,o=e.footerText,r=e.indentWidth,i=e.styles,a=e.theme,s=gu(i,{theme:a});return t&&o?g.createElement("div",{className:s.root},g.createElement(_l,{indentWidth:r,count:n}),o):null}),(function(e){var t=e.theme,n=e.className,o=Object(b.R)(mu,t);return{root:[t.fonts.medium,o.root,{position:"relative",padding:"5px 38px"},n]}}),void 0,{scope:"GroupFooter"}),yu=function(e){function t(n){var o=e.call(this,n)||this;o._root=g.createRef(),o._list=g.createRef(),o._droppingClassName="",o._onRenderGroupHeader=function(e){return g.createElement(du,Object(m.a)({},e))},o._onRenderGroupShowAll=function(e){return g.createElement(fu,Object(m.a)({},e))},o._onRenderGroupFooter=function(e){return g.createElement(bu,Object(m.a)({},e))},o._renderSubGroup=function(e,n){var r=o.props,i=r.dragDropEvents,a=r.dragDropHelper,s=r.eventsToRegister,c=r.getGroupItemLimit,l=r.groupNestingDepth,u=r.groupProps,d=r.items,p=r.headerProps,h=r.showAllProps,f=r.footerProps,m=r.listProps,b=r.onRenderCell,y=r.selection,v=r.selectionMode,_=r.viewport,S=r.onRenderGroupHeader,C=r.onRenderGroupShowAll,x=r.onRenderGroupFooter,w=r.onShouldVirtualize,T=r.group,k=r.compact,I=e.level?e.level+1:l;return!e||e.count>0||u&&u.showEmptyGroups?g.createElement(t,{ref:"subGroup_"+n,key:o._getGroupKey(e,n),dragDropEvents:i,dragDropHelper:a,eventsToRegister:s,footerProps:f,getGroupItemLimit:c,group:e,groupIndex:n,groupNestingDepth:I,groupProps:u,headerProps:p,items:d,listProps:m,onRenderCell:b,selection:y,selectionMode:v,showAllProps:h,viewport:_,onRenderGroupHeader:S,onRenderGroupShowAll:C,onRenderGroupFooter:x,onShouldVirtualize:w,groups:T?T.children:[],compact:k}):null},o._getGroupDragDropOptions=function(){var e=o.props,t=e.group,n=e.groupIndex,r=e.dragDropEvents;return{eventMap:e.eventsToRegister,selectionIndex:-1,context:{data:t,index:n,isGroup:!0},updateDropState:o._updateDroppingState,canDrag:r.canDrag,canDrop:r.canDrop,onDrop:r.onDrop,onDragStart:r.onDragStart,onDragEnter:r.onDragEnter,onDragLeave:r.onDragLeave,onDragEnd:r.onDragEnd,onDragOver:r.onDragOver}},o._updateDroppingState=function(e,t){var n=o.state.isDropping,r=o.props,i=r.dragDropEvents,a=r.group;n!==e&&(n?i&&i.onDragLeave&&i.onDragLeave(a,t):i&&i.onDragEnter&&(o._droppingClassName=i.onDragEnter(a,t)),o.setState({isDropping:e}))};var r=n.selection,i=n.group;return Object(be.a)(o),o._id=Object(Pe.a)("GroupedListSection"),o.state={isDropping:!1,isSelected:!(!r||!i)&&r.isRangeSelected(i.startIndex,i.count)},o._events=new Ve.a(o),o}return Object(m.c)(t,e),t.prototype.componentDidMount=function(){var e=this.props,t=e.dragDropHelper,n=e.selection;t&&this._root.current&&(this._dragDropSubscription=t.subscribe(this._root.current,this._events,this._getGroupDragDropOptions())),n&&this._events.on(n,"change",this._onSelectionChange)},t.prototype.componentWillUnmount=function(){this._events.dispose(),this._dragDropSubscription&&this._dragDropSubscription.dispose()},t.prototype.componentDidUpdate=function(e){this.props.group===e.group&&this.props.groupIndex===e.groupIndex&&this.props.dragDropHelper===e.dragDropHelper||(this._dragDropSubscription&&(this._dragDropSubscription.dispose(),delete this._dragDropSubscription),this.props.dragDropHelper&&this._root.current&&(this._dragDropSubscription=this.props.dragDropHelper.subscribe(this._root.current,this._events,this._getGroupDragDropOptions())))},t.prototype.render=function(){var e=this.props,t=e.getGroupItemLimit,n=e.group,o=e.groupIndex,r=e.headerProps,i=e.showAllProps,a=e.footerProps,s=e.viewport,c=e.selectionMode,l=e.onRenderGroupHeader,u=void 0===l?this._onRenderGroupHeader:l,d=e.onRenderGroupShowAll,p=void 0===d?this._onRenderGroupShowAll:d,h=e.onRenderGroupFooter,f=void 0===h?this._onRenderGroupFooter:h,b=e.onShouldVirtualize,y=e.groupedListClassNames,v=e.groups,_=e.compact,S=e.listProps,C=void 0===S?{}:S,x=this.state.isSelected,w=n&&t?t(n):1/0,T=n&&!n.children&&!n.isCollapsed&&!n.isShowingAll&&(n.count>w||n.hasMoreData),k=n&&n.children&&n.children.length>0,I=C.version,O={group:n,groupIndex:o,groupLevel:n?n.level:0,isSelected:x,selected:x,viewport:s,selectionMode:c,groups:v,compact:_},E={groupedListId:this._id,ariaSetSize:v?v.length:void 0,ariaPosInSet:void 0!==o?o+1:void 0},N=Object(m.a)(Object(m.a)(Object(m.a)({},r),O),E),P=Object(m.a)(Object(m.a)({},i),O),D=Object(m.a)(Object(m.a)({},a),O),A=!!this.props.dragDropHelper&&this._getGroupDragDropOptions().canDrag(n)&&!!this.props.dragDropEvents.canDragGroups;return g.createElement("div",Object(m.a)({ref:this._root},A&&{draggable:!0},{className:Object(z.a)(y&&y.group,this._getDroppingClassName()),role:"presentation"}),u(N,this._onRenderGroupHeader),n&&n.isCollapsed?null:k?g.createElement(Gc,{role:"presentation",ref:this._list,items:n?n.children:[],onRenderCell:this._renderSubGroup,getItemCountForPage:this._returnOne,onShouldVirtualize:b,version:I,id:this._id}):this._onRenderGroup(w),n&&n.isCollapsed?null:T&&p(P,this._onRenderGroupShowAll),f(D,this._onRenderGroupFooter))},t.prototype.forceUpdate=function(){e.prototype.forceUpdate.call(this),this.forceListUpdate()},t.prototype.forceListUpdate=function(){var e=this.props.group;if(this._list.current){if(this._list.current.forceUpdate(),e&&e.children&&e.children.length>0)for(var t=e.children.length,n=0;n<t;n++){var o;(o=this._list.current.refs["subGroup_"+String(n)])&&o.forceListUpdate()}}else(o=this.refs["subGroup_"+String(0)])&&o.forceListUpdate()},t.prototype._onSelectionChange=function(){var e=this.props,t=e.group,n=e.selection;if(n&&t){var o=n.isRangeSelected(t.startIndex,t.count);o!==this.state.isSelected&&this.setState({isSelected:o})}},t.prototype._onRenderGroupCell=function(e,t){return function(n,o){return e(t,n,o)}},t.prototype._onRenderGroup=function(e){var t=this.props,n=t.group,o=t.items,r=t.onRenderCell,i=t.listProps,a=t.groupNestingDepth,s=t.onShouldVirtualize,c=t.groupProps,l=n&&!n.isShowingAll?n.count:o.length,u=n?n.startIndex:0;return g.createElement(Gc,Object(m.a)({role:c&&c.role?c.role:"grid",items:o,onRenderCell:this._onRenderGroupCell(r,a),ref:this._list,renderCount:Math.min(l,e),startIndex:u,onShouldVirtualize:s,id:this._id},i))},t.prototype._returnOne=function(){return 1},t.prototype._getGroupKey=function(e,t){return"group-"+(e&&e.key?e.key:String(e.level)+String(t))},t.prototype._getDroppingClassName=function(){var e=this.state.isDropping,t=this.props,n=t.group,o=t.groupedListClassNames;return e=!(!n||!e),Object(z.a)(e&&this._droppingClassName,e&&"is-dropping",e&&o&&o.groupIsDropping)},t}(g.Component),vu=Object(w.a)(),_u=xl.rowHeight,Su=xl.compactRowHeight,Cu=function(e){function t(t){var n=e.call(this,t)||this;return n._list=g.createRef(),n._renderGroup=function(e,t){var o=n.props,r=o.dragDropEvents,i=o.dragDropHelper,a=o.eventsToRegister,s=o.groupProps,c=o.items,l=o.listProps,u=o.onRenderCell,d=o.selectionMode,p=o.selection,h=o.viewport,f=o.onShouldVirtualize,b=o.groups,y=o.compact,v={onToggleSelectGroup:n._onToggleSelectGroup,onToggleCollapse:n._onToggleCollapse,onToggleSummarize:n._onToggleSummarize},_=Object(m.a)(Object(m.a)({},s.headerProps),v),S=Object(m.a)(Object(m.a)({},s.showAllProps),v),C=Object(m.a)(Object(m.a)({},s.footerProps),v),x=n._getGroupNestingDepth();return!s.showEmptyGroups&&e&&0===e.count?null:g.createElement(yu,{ref:"group_"+t,key:n._getGroupKey(e,t),dragDropEvents:r,dragDropHelper:i,eventsToRegister:a,footerProps:C,getGroupItemLimit:s&&s.getGroupItemLimit,group:e,groupIndex:t,groupNestingDepth:x,groupProps:s,headerProps:_,listProps:l,items:c,onRenderCell:u,onRenderGroupHeader:s.onRenderHeader,onRenderGroupShowAll:s.onRenderShowAll,onRenderGroupFooter:s.onRenderFooter,selectionMode:d,selection:p,showAllProps:S,viewport:h,onShouldVirtualize:f,groupedListClassNames:n._classNames,groups:b,compact:y})},n._getDefaultGroupItemLimit=function(e){return e.count},n._getGroupItemLimit=function(e){var t=n.props.groupProps;return(t&&t.getGroupItemLimit?t.getGroupItemLimit:n._getDefaultGroupItemLimit)(e)},n._getGroupHeight=function(e){var t=n.props.compact?Su:_u;return t+(e.isCollapsed?0:t*n._getGroupItemLimit(e))},n._getPageHeight=function(e){var t=n.state.groups,o=n.props.getGroupHeight,r=void 0===o?n._getGroupHeight:o,i=t&&t[e];return i?r(i,e):0},n._onToggleCollapse=function(e){var t=n.props.groupProps,o=t&&t.headerProps&&t.headerProps.onToggleCollapse;e&&(o&&o(e),e.isCollapsed=!e.isCollapsed,n._updateIsSomeGroupExpanded(),n.forceUpdate())},n._onToggleSelectGroup=function(e){var t=n.props,o=t.selection,r=t.selectionMode;e&&o&&r===Yc.multiple&&o.toggleRangeSelected(e.startIndex,e.count)},n._onToggleSummarize=function(e){var t=n.props.groupProps,o=t&&t.showAllProps&&t.showAllProps.onToggleSummarize;o?o(e):(e&&(e.isShowingAll=!e.isShowingAll),n.forceUpdate())},n._getPageSpecification=function(e){var t=n.state.groups,o=t&&t[e];return{key:o&&o.key}},Object(be.a)(n),n._isSomeGroupExpanded=n._computeIsSomeGroupExpanded(t.groups),n.state={lastWidth:0,groups:t.groups},n}return Object(m.c)(t,e),t.prototype.scrollToIndex=function(e,t,n){this._list.current&&this._list.current.scrollToIndex(e,t,n)},t.prototype.getStartItemIndexInView=function(){return this._list.current.getStartItemIndexInView()||0},t.prototype.UNSAFE_componentWillReceiveProps=function(e){var t=this.props,n=t.groups,o=t.selectionMode,r=t.compact,i=!1;e.groups!==n&&(this.setState({groups:e.groups}),i=!0),e.selectionMode===o&&e.compact===r||(i=!0),i&&this._forceListUpdates()},t.prototype.componentDidMount=function(){var e=this.props,t=e.groupProps,n=e.groups,o=void 0===n?[]:n;t&&t.isAllGroupsCollapsed&&this._setGroupsCollapsedState(o,t.isAllGroupsCollapsed)},t.prototype.render=function(){var e=this.props,t=e.className,n=e.usePageCache,o=e.onShouldVirtualize,r=e.theme,i=e.styles,a=e.compact,s=e.listProps,c=void 0===s?{}:s,l=this.state.groups;this._classNames=vu(i,{theme:r,className:t,compact:a});var u=c.version;return g.createElement("div",{className:this._classNames.root,"data-automationid":"GroupedList","data-is-scrollable":"false",role:"presentation"},g.createElement(it.a,null),l?g.createElement(Gc,{ref:this._list,role:"presentation",items:l,onRenderCell:this._renderGroup,getItemCountForPage:this._returnOne,getPageHeight:this._getPageHeight,getPageSpecification:this._getPageSpecification,usePageCache:n,onShouldVirtualize:o,version:u}):this._renderGroup(void 0,0))},t.prototype.forceUpdate=function(){e.prototype.forceUpdate.call(this),this._forceListUpdates()},t.prototype.toggleCollapseAll=function(e){var t=this.state.groups,n=void 0===t?[]:t,o=this.props.groupProps,r=o&&o.onToggleCollapseAll;n.length>0&&(r&&r(e),this._setGroupsCollapsedState(n,e),this._updateIsSomeGroupExpanded(),this.forceUpdate())},t.prototype._setGroupsCollapsedState=function(e,t){for(var n=0;n<e.length;n++)e[n].isCollapsed=t},t.prototype._returnOne=function(){return 1},t.prototype._getGroupKey=function(e,t){return"group-"+(e&&e.key?e.key:String(t))},t.prototype._getGroupNestingDepth=function(){for(var e=0,t=this.state.groups;t&&t.length>0;)e++,t=t[0].children;return e},t.prototype._forceListUpdates=function(e){var t=(e=e||this.state.groups)?e.length:1;if(this._list.current){this._list.current.forceUpdate();for(var n=0;n<t;n++)(o=this._list.current.refs["group_"+String(n)])&&o.forceListUpdate()}else{var o;(o=this.refs["group_"+String(0)])&&o.forceListUpdate()}},t.prototype._computeIsSomeGroupExpanded=function(e){var t=this;return!(!e||!e.some((function(e){return e.children?t._computeIsSomeGroupExpanded(e.children):!e.isCollapsed})))},t.prototype._updateIsSomeGroupExpanded=function(){var e=this.state.groups,t=this.props.onGroupExpandStateChanged,n=this._computeIsSomeGroupExpanded(e);this._isSomeGroupExpanded!==n&&(t&&t(n),this._isSomeGroupExpanded=n)},t.defaultProps={selectionMode:Yc.multiple,isHeaderVisible:!0,groupProps:{},compact:!1},t}(g.Component),xu=Object(x.a)(Cu,(function(e){var t,n,o=e.theme,r=e.className,i=e.compact,a=o.palette,s=Object(b.R)(eu,o);return{root:[s.root,o.fonts.small,{position:"relative",selectors:(t={},t["."+s.listCell]={minHeight:38},t)},i&&[s.compact,{selectors:(n={},n["."+s.listCell]={minHeight:32},n)}],r],group:[s.group,{transition:"background-color "+b.c.durationValue2+" cubic-bezier(0.445, 0.050, 0.550, 0.950)"}],groupIsDropping:{backgroundColor:a.neutralLight}}}),void 0,{scope:"GroupedList"}),wu=n(58);function Tu(e){return function(t){function n(e){var n=t.call(this,e)||this;return n._root=g.createRef(),n._registerResizeObserver=function(){var e=Object(j.a)(n._root.current);n._viewportResizeObserver=new e.ResizeObserver(n._onAsyncResize),n._viewportResizeObserver.observe(n._root.current)},n._unregisterResizeObserver=function(){n._viewportResizeObserver&&(n._viewportResizeObserver.disconnect(),delete n._viewportResizeObserver)},n._updateViewport=function(e){var t=n.state.viewport,o=n._root.current,r=Object(Re.f)(o),i=Object(wu.a)(r),a=Object(wu.a)(o);((a&&a.width)!==t.width||(i&&i.height)!==t.height)&&n._resizeAttempts<3&&a&&i?(n._resizeAttempts++,n.setState({viewport:{width:a.width,height:i.height}},(function(){n._updateViewport(e)}))):(n._resizeAttempts=0,e&&n._composedComponentInstance&&n._composedComponentInstance.forceUpdate())},n._async=new ye.a(n),n._events=new Ve.a(n),n._resizeAttempts=0,n.state={viewport:{width:0,height:0}},n}return Object(m.c)(n,t),n.prototype.componentDidMount=function(){var e=this.props.skipViewportMeasures,t=Object(j.a)(this._root.current);this._onAsyncResize=this._async.debounce(this._onAsyncResize,500,{leading:!1}),!e&&this._isResizeObserverAvailable()?this._registerResizeObserver():this._events.on(t,"resize",this._onAsyncResize),e||this._updateViewport()},n.prototype.componentDidUpdate=function(e){var t=this.props.skipViewportMeasures,n=e.skipViewportMeasures,o=Object(j.a)(this._root.current);t!==n&&(n?(this._unregisterResizeObserver(),this._events.on(o,"resize",this._onAsyncResize)):!n&&this._isResizeObserverAvailable()&&(this._events.off(o,"resize",this._onAsyncResize),this._registerResizeObserver())),n&&this._updateViewport()},n.prototype.componentWillUnmount=function(){this._events.dispose(),this._async.dispose(),this._unregisterResizeObserver()},n.prototype.render=function(){var t=this.state.viewport,n=t.width>0&&t.height>0?t:void 0;return g.createElement("div",{className:"ms-Viewport",ref:this._root,style:{minWidth:1,minHeight:1}},g.createElement(e,Object(m.a)({ref:this._updateComposedComponentRef,viewport:n},this.props)))},n.prototype.forceUpdate=function(){this._updateViewport(!0)},n.prototype._onAsyncResize=function(){this._updateViewport()},n.prototype._isResizeObserverAvailable=function(){var e=Object(j.a)(this._root.current);return e&&e.ResizeObserver},n}(bt)}var ku=Object(w.a)(),Iu=function(e){function t(t){var n=e.call(this,t)||this;return n._root=g.createRef(),n._header=g.createRef(),n._groupedList=g.createRef(),n._list=g.createRef(),n._focusZone=g.createRef(),n._selectionZone=g.createRef(),n._sumColumnWidths=Object(y.c)((function(e){var t=0;return e.forEach((function(e){return t+=e.calculatedWidth||e.minWidth})),t})),n._onRenderRow=function(e,t){return g.createElement(Jl,Object(m.a)({},e))},n._onRenderDetailsHeader=function(e,t){return g.createElement(Yl,Object(m.a)({},e))},n._onRenderDetailsFooter=function(e,t){return null},n._onRenderListCell=function(e){return function(t,o){return n._onRenderCell(e,t,o)}},n._onRenderCell=function(e,t,o){var r=n.props,i=r.compact,a=r.dragDropEvents,s=r.rowElementEventMap,c=r.onRenderMissingItem,l=r.onRenderItemColumn,u=r.getCellValueKey,d=r.selectionMode,p=void 0===d?n._selection.mode:d,h=r.viewport,f=r.checkboxVisibility,m=r.getRowAriaLabel,g=r.getRowAriaDescribedBy,b=r.checkButtonAriaLabel,y=r.checkboxCellClassName,v=r.groupProps,_=r.useReducedRowRenderer,S=r.indentWidth,C=r.cellStyleProps,x=void 0===C?Cl:C,w=r.onRenderCheckbox,T=r.enableUpdateAnimations,k=r.useFastIcons,I=n.props.onRenderRow?Object(Va.a)(n.props.onRenderRow,n._onRenderRow):n._onRenderRow,O=v&&v.collapseAllVisibility,E=n._selection,N=n._dragDropHelper,P=n.state.adjustedColumns,D={item:t,itemIndex:o,compact:i,columns:P,groupNestingDepth:e,selectionMode:p,selection:E,onDidMount:n._onRowDidMount,onWillUnmount:n._onRowWillUnmount,onRenderItemColumn:l,getCellValueKey:u,eventsToRegister:s,dragDropEvents:a,dragDropHelper:N,viewport:h,checkboxVisibility:f,collapseAllVisibility:O,getRowAriaLabel:m,getRowAriaDescribedBy:g,checkButtonAriaLabel:b,checkboxCellClassName:y,useReducedRowRenderer:_,indentWidth:S,cellStyleProps:x,onRenderDetailsCheckbox:w,enableUpdateAnimations:T,rowWidth:n._sumColumnWidths(P),useFastIcons:k};return t?I(D):c?c(o,D):null},n._onGroupExpandStateChanged=function(e){n.setState({isSomeGroupExpanded:e})},n._onColumnIsSizingChanged=function(e,t){n.setState({isSizing:t})},n._onHeaderKeyDown=function(e){e.which===ge.a.down&&n._focusZone.current&&n._focusZone.current.focus()&&(0===n._selection.getSelectedIndices().length&&n._selection.setIndexSelected(0,!0,!1),e.preventDefault(),e.stopPropagation())},n._onContentKeyDown=function(e){e.which!==ge.a.up||e.altKey||n._header.current&&n._header.current.focus()&&(e.preventDefault(),e.stopPropagation())},n._onRowDidMount=function(e){var t=e.props,o=t.item,r=t.itemIndex,i=n._getItemKey(o,r);n._activeRows[i]=e,n._setFocusToRowIfPending(e);var a=n.props.onRowDidMount;a&&a(o,r)},n._onRowWillUnmount=function(e){var t=n.props.onRowWillUnmount,o=e.props,r=o.item,i=o.itemIndex,a=n._getItemKey(r,i);delete n._activeRows[a],t&&t(r,i)},n._onToggleCollapse=function(e){n.setState({isCollapsed:e}),n._groupedList.current&&n._groupedList.current.toggleCollapseAll(e)},n._onColumnDragEnd=function(e,t){var o=n.props.columnReorderOptions,r=gl.outside;if(o&&o.onDragEnd){if(e.dropLocation&&e.dropLocation!==gl.header)r=e.dropLocation;else if(n._root.current){var i=n._root.current.getBoundingClientRect();t.clientX>i.left&&t.clientX<i.right&&t.clientY>i.top&&t.clientY<i.bottom&&(r=gl.surface)}o.onDragEnd(r)}},n._onColumnResized=function(e,t,o){var r=Math.max(e.minWidth||100,t);n.props.onColumnResize&&n.props.onColumnResize(e,r,o),n._rememberCalculatedWidth(e,r),n._adjustColumns(n.props,!0,o),n.setState({version:{}})},n._onColumnAutoResized=function(e,t){var o=0,r=0,i=Object.keys(n._activeRows).length;for(var a in n._activeRows)n._activeRows.hasOwnProperty(a)&&n._activeRows[a].measureCell(t,(function(a){o=Math.max(o,a),++r===i&&n._onColumnResized(e,o,t)}))},n._onActiveRowChanged=function(e,t){var o=n.props,r=o.items,i=o.onActiveItemChanged;if(e&&e.getAttribute("data-item-index")){var a=Number(e.getAttribute("data-item-index"));a>=0&&(i&&i(r[a],a,t),n.setState({focusedItemIndex:a}))}},n._onBlur=function(e){n.setState({focusedItemIndex:-1})},n.isRightArrow=function(e){return e.which===Object(T.b)(ge.a.right,n.props.theme)},Object(be.a)(n),n._async=new ye.a(n),n._activeRows={},n._columnOverrides={},n.state={focusedItemIndex:-1,lastWidth:0,adjustedColumns:n._getAdjustedColumns(t),isSizing:!1,isDropping:!1,isCollapsed:t.groupProps&&t.groupProps.isAllGroupsCollapsed,isSomeGroupExpanded:t.groupProps&&!t.groupProps.isAllGroupsCollapsed,version:{}},n._selection=t.selection||new dl({onSelectionChanged:void 0,getKey:t.getKey,selectionMode:t.selectionMode}),n.props.disableSelectionZone||n._selection.setItems(t.items,!1),n._dragDropHelper=t.dragDropEvents?new Rl({selection:n._selection,minimumPixelsForDrag:t.minimumPixelsForDrag}):void 0,n._initialFocusedIndex=t.initialFocusedIndex,n}return Object(m.c)(t,e),t.prototype.scrollToIndex=function(e,t,n){this._list.current&&this._list.current.scrollToIndex(e,t,n),this._groupedList.current&&this._groupedList.current.scrollToIndex(e,t,n)},t.prototype.focusIndex=function(e,t,n,o){void 0===t&&(t=!1);var r=this.props.items[e];if(r){this.scrollToIndex(e,n,o);var i=this._getItemKey(r,e),a=this._activeRows[i];a&&this._setFocusToRow(a,t)}},t.prototype.getStartItemIndexInView=function(){return this._list&&this._list.current?this._list.current.getStartItemIndexInView():this._groupedList&&this._groupedList.current?this._groupedList.current.getStartItemIndexInView():0},t.prototype.componentWillUnmount=function(){this._dragDropHelper&&this._dragDropHelper.dispose(),this._async.dispose()},t.prototype.componentDidUpdate=function(e,t){if(void 0!==this._initialFocusedIndex&&(i=this.props.items[this._initialFocusedIndex])){var n=this._getItemKey(i,this._initialFocusedIndex);(o=this._activeRows[n])&&this._setFocusToRowIfPending(o)}if(this.props.items!==e.items&&this.props.items.length>0&&-1!==this.state.focusedItemIndex&&!Object(De.a)(this._root.current,document.activeElement,!1)){var o,r=this.state.focusedItemIndex<this.props.items.length?this.state.focusedItemIndex:this.props.items.length-1,i=this.props.items[r];n=this._getItemKey(i,this.state.focusedItemIndex),(o=this._activeRows[n])?this._setFocusToRow(o):this._initialFocusedIndex=r}this.props.onDidUpdate&&this.props.onDidUpdate(this)},t.prototype.UNSAFE_componentWillReceiveProps=function(e){var t=this.props,n=t.checkboxVisibility,o=t.items,r=t.setKey,i=t.selectionMode,a=void 0===i?this._selection.mode:i,s=t.columns,c=t.viewport,l=t.compact,u=t.dragDropEvents,d=(this.props.groupProps||{}).isAllGroupsCollapsed,p=void 0===d?void 0:d,h=e.viewport&&e.viewport.width||0,f=c&&c.width||0,m=e.setKey!==r||void 0===e.setKey,g=!1;e.layoutMode!==this.props.layoutMode&&(g=!0),m&&(this._initialFocusedIndex=e.initialFocusedIndex,this.setState({focusedItemIndex:void 0!==this._initialFocusedIndex?this._initialFocusedIndex:-1})),this.props.disableSelectionZone||e.items===o||this._selection.setItems(e.items,m),e.checkboxVisibility===n&&e.columns===s&&h===f&&e.compact===l||(g=!0),this._adjustColumns(e,!0),e.selectionMode!==a&&(g=!0),void 0===p&&e.groupProps&&void 0!==e.groupProps.isAllGroupsCollapsed&&this.setState({isCollapsed:e.groupProps.isAllGroupsCollapsed,isSomeGroupExpanded:!e.groupProps.isAllGroupsCollapsed}),e.dragDropEvents!==u&&(this._dragDropHelper&&this._dragDropHelper.dispose(),this._dragDropHelper=e.dragDropEvents?new Rl({selection:this._selection,minimumPixelsForDrag:e.minimumPixelsForDrag}):void 0,g=!0),g&&this.setState({version:{}})},t.prototype.render=function(){var e=this.props,t=e.ariaLabelForListHeader,n=e.ariaLabelForSelectAllCheckbox,o=e.ariaLabelForSelectionColumn,r=e.className,i=e.checkboxVisibility,a=e.compact,s=e.constrainMode,c=e.dragDropEvents,l=e.groups,u=e.groupProps,d=e.indentWidth,p=e.items,h=e.isPlaceholderData,f=e.isHeaderVisible,b=e.layoutMode,y=e.onItemInvoked,v=e.onItemContextMenu,_=e.onColumnHeaderClick,S=e.onColumnHeaderContextMenu,C=e.selectionMode,x=void 0===C?this._selection.mode:C,w=e.selectionPreservedOnEmptyClick,T=e.selectionZoneProps,k=e.ariaLabel,I=e.ariaLabelForGrid,O=e.rowElementEventMap,E=e.shouldApplyApplicationRole,N=void 0!==E&&E,P=e.getKey,D=e.listProps,A=e.usePageCache,R=e.onShouldVirtualize,M=e.viewport,F=e.minimumPixelsForDrag,j=e.getGroupHeight,L=e.styles,H=e.theme,B=e.cellStyleProps,z=void 0===B?Cl:B,U=e.onRenderCheckbox,V=e.useFastIcons,W=this.state,q=W.adjustedColumns,G=W.isCollapsed,K=W.isSizing,Y=W.isSomeGroupExpanded,Q=this._selection,$=this._dragDropHelper,Z=this._getGroupNestingDepth(),X=Object(m.a)({renderedWindowsAhead:K?0:2,renderedWindowsBehind:K?0:2,getKey:P,version:this.state.version},D),J=Dl.none;if(x===Yc.single&&(J=Dl.hidden),x===Yc.multiple){var ee=u&&u.headerProps&&u.headerProps.isCollapsedGroupSelectVisible;void 0===ee&&(ee=!0),J=ee||!l||Y?Dl.visible:Dl.hidden}i===yl.hidden&&(J=Dl.none);var te=this.props,ne=te.onRenderDetailsHeader,oe=void 0===ne?this._onRenderDetailsHeader:ne,re=te.onRenderDetailsFooter,ie=void 0===re?this._onRenderDetailsFooter:re,ae=this._getDetailsFooterProps(),se=this._getColumnReorderProps(),ce=(f?1:0)+function(e){var t=0;if(e)for(var n=Object(m.e)(e),o=void 0;n&&n.length>0;)++t,(o=n.pop())&&o.children&&n.push.apply(n,o.children);return t}(l)+(p?p.length:0),ue=ku(L,{theme:H,compact:a,isFixed:b===bl.fixedColumns,isHorizontalConstrained:s===ml.horizontalConstrained,className:r}),de=l?g.createElement(xu,{componentRef:this._groupedList,groups:l,groupProps:u?this._getGroupProps(u):void 0,items:p,onRenderCell:this._onRenderCell,selection:Q,selectionMode:i!==yl.hidden?x:Yc.none,dragDropEvents:c,dragDropHelper:$,eventsToRegister:O,listProps:X,onGroupExpandStateChanged:this._onGroupExpandStateChanged,usePageCache:A,onShouldVirtualize:R,getGroupHeight:j,compact:a}):g.createElement(Gc,Object(m.a)({ref:this._list,role:"presentation",items:p,onRenderCell:this._onRenderListCell(0),usePageCache:A,onShouldVirtualize:R},X));return g.createElement("div",Object(m.a)({ref:this._root,className:ue.root,"data-automationid":"DetailsList","data-is-scrollable":"false","aria-label":k},N?{role:"application"}:{}),g.createElement(it.a,null),g.createElement("div",{role:"grid","aria-label":I,"aria-rowcount":h?-1:ce,"aria-colcount":(J!==Dl.none?1:0)+(q?q.length:0),"aria-readonly":"true","aria-busy":h},g.createElement("div",{onKeyDown:this._onHeaderKeyDown,role:"presentation",className:ue.headerWrapper},f&&oe({componentRef:this._header,selectionMode:x,layoutMode:b,selection:Q,columns:q,onColumnClick:_,onColumnContextMenu:S,onColumnResized:this._onColumnResized,onColumnIsSizingChanged:this._onColumnIsSizingChanged,onColumnAutoResized:this._onColumnAutoResized,groupNestingDepth:Z,isAllCollapsed:G,onToggleCollapseAll:this._onToggleCollapse,ariaLabel:t,ariaLabelForSelectAllCheckbox:n,ariaLabelForSelectionColumn:o,selectAllVisibility:J,collapseAllVisibility:u&&u.collapseAllVisibility,viewport:M,columnReorderProps:se,minimumPixelsForDrag:F,cellStyleProps:z,checkboxVisibility:i,indentWidth:d,onRenderDetailsCheckbox:U,rowWidth:this._sumColumnWidths(this.state.adjustedColumns),useFastIcons:V},this._onRenderDetailsHeader)),g.createElement("div",{onKeyDown:this._onContentKeyDown,role:"presentation",className:ue.contentWrapper},g.createElement(ze,{componentRef:this._focusZone,className:ue.focusZone,direction:le.vertical,shouldEnterInnerZone:this.isRightArrow,onActiveElementChanged:this._onActiveRowChanged,onBlur:this._onBlur},this.props.disableSelectionZone?de:g.createElement(vl,Object(m.a)({ref:this._selectionZone,selection:Q,selectionPreservedOnEmptyClick:w,selectionMode:x,onItemInvoked:y,onItemContextMenu:v,enterModalOnTouch:this.props.enterModalSelectionOnTouch},T||{}),de))),ie(Object(m.a)({},ae),this._onRenderDetailsFooter)))},t.prototype.forceUpdate=function(){e.prototype.forceUpdate.call(this),this._forceListUpdates()},t.prototype._getGroupNestingDepth=function(){for(var e=0,t=this.props.groups;t&&t.length>0;)e++,t=t[0].children;return e},t.prototype._setFocusToRowIfPending=function(e){var t=e.props.itemIndex;void 0!==this._initialFocusedIndex&&t===this._initialFocusedIndex&&(this._setFocusToRow(e),delete this._initialFocusedIndex)},t.prototype._setFocusToRow=function(e,t){void 0===t&&(t=!1),this._selectionZone.current&&this._selectionZone.current.ignoreNextFocus(),this._async.setTimeout((function(){e.focus(t)}),0)},t.prototype._forceListUpdates=function(){this._groupedList.current&&this._groupedList.current.forceUpdate(),this._list.current&&this._list.current.forceUpdate()},t.prototype._notifyColumnsResized=function(){this.state.adjustedColumns.forEach((function(e){e.onColumnResize&&e.onColumnResize(e.currentWidth)}))},t.prototype._adjustColumns=function(e,t,n){var o=this._getAdjustedColumns(e,t,n),r=this.props.viewport,i=r&&r.width?r.width:0;o&&this.setState({adjustedColumns:o,lastWidth:i},this._notifyColumnsResized)},t.prototype._getAdjustedColumns=function(e,t,n){var o,r=this,i=e.items,a=e.layoutMode,s=e.selectionMode,c=e.viewport,l=c&&c.width?c.width:0,u=e.columns,d=this.props?this.props.columns:[],p=this.state?this.state.lastWidth:-1,h=this.state?this.state.lastSelectionMode:void 0;return t||p!==l||h!==s||d&&u!==d?(u=u||Ou(i,!0),a===bl.fixedColumns?(o=this._getFixedColumns(u)).forEach((function(e){r._rememberCalculatedWidth(e,e.calculatedWidth)})):(o=void 0!==n?this._getJustifiedColumnsAfterResize(u,l,e,n):this._getJustifiedColumns(u,l,e,0)).forEach((function(e){r._getColumnOverride(e.key).currentWidth=e.calculatedWidth})),o):[]},t.prototype._getFixedColumns=function(e){var t=this;return e.map((function(e){var n=Object(m.a)(Object(m.a)({},e),t._columnOverrides[e.key]);return n.calculatedWidth||(n.calculatedWidth=n.maxWidth||n.minWidth||100),n}))},t.prototype._getJustifiedColumnsAfterResize=function(e,t,n,o){var r=this,i=e.slice(0,o);i.forEach((function(e){return e.calculatedWidth=r._getColumnOverride(e.key).currentWidth}));var a=i.reduce((function(e,t,o){return e+Eu(t,0,n)}),0),s=e.slice(o),c=t-a;return Object(m.e)(i,this._getJustifiedColumns(s,c,n,o))},t.prototype._getJustifiedColumns=function(e,t,n,o){for(var r=this,i=n.selectionMode,a=void 0===i?this._selection.mode:i,s=n.checkboxVisibility,c=a!==Yc.none&&s!==yl.hidden?48:0,l=36*this._getGroupNestingDepth(),u=0,d=t-(c+l),p=e.map((function(e,t){var o=Object(m.a)(Object(m.a)(Object(m.a)({},e),{calculatedWidth:e.minWidth||100}),r._columnOverrides[e.key]);return u+=Eu(o,0,n),o})),h=p.length-1;h>0&&u>d;){var f=(v=p[h]).minWidth||100,g=u-d;if(v.calculatedWidth-f>=g||!v.isCollapsible&&!v.isCollapsable){var b=v.calculatedWidth;v.calculatedWidth=Math.max(v.calculatedWidth-g,f),u-=b-v.calculatedWidth}else u-=Eu(v,0,n),p.splice(h,1);h--}for(var y=0;y<p.length&&u<d;y++){var v=p[y],_=y===p.length-1,S=this._columnOverrides[v.key];if(!S||!S.calculatedWidth||_){var C=d-u,x=void 0;if(_)x=C;else{var w=v.maxWidth;f=v.minWidth||w||100,x=w?Math.min(C,w-f):C}v.calculatedWidth=v.calculatedWidth+x,u+=x}}return p},t.prototype._rememberCalculatedWidth=function(e,t){var n=this._getColumnOverride(e.key);n.calculatedWidth=t,n.currentWidth=t},t.prototype._getColumnOverride=function(e){return this._columnOverrides[e]=this._columnOverrides[e]||{}},t.prototype._getItemKey=function(e,t){var n=this.props.getKey,o=void 0;return e&&(o=e.key),n&&(o=n(e,t)),o||(o=t),o},t.prototype._getDetailsFooterProps=function(){var e=this.state.adjustedColumns,t=this.props,n=t.viewport,o=t.checkboxVisibility,r=t.indentWidth,i=t.cellStyleProps,a=void 0===i?Cl:i,s=t.selectionMode,c=void 0===s?this._selection.mode:s;return{columns:e,groupNestingDepth:this._getGroupNestingDepth(),selection:this._selection,selectionMode:c,viewport:n,checkboxVisibility:o,indentWidth:r,cellStyleProps:a}},t.prototype._getColumnReorderProps=function(){var e=this.props.columnReorderOptions;if(e)return Object(m.a)(Object(m.a)({},e),{onColumnDragEnd:this._onColumnDragEnd})},t.prototype._getGroupProps=function(e){var t=this,n=e.onRenderFooter,o=e.onRenderHeader,r=this.state.adjustedColumns,i=this.props,a=i.selectionMode,s=void 0===a?this._selection.mode:a,c=i.viewport,l=i.cellStyleProps,u=void 0===l?Cl:l,d=i.checkboxVisibility,p=i.indentWidth,h=this._getGroupNestingDepth(),f=n?function(e,o){return n(Object(m.a)(Object(m.a)({},e),{columns:r,groupNestingDepth:h,indentWidth:p,selection:t._selection,selectionMode:s,viewport:c,checkboxVisibility:d,cellStyleProps:u}),o)}:void 0,g=o?function(e,n){return o(Object(m.a)(Object(m.a)({},e),{columns:r,groupNestingDepth:h,indentWidth:p,selection:t._selection,selectionMode:s,viewport:c,checkboxVisibility:d,cellStyleProps:u}),n)}:void 0;return Object(m.a)(Object(m.a)({},e),{onRenderFooter:f,onRenderHeader:g})},t.defaultProps={layoutMode:bl.justified,selectionMode:Yc.multiple,constrainMode:ml.horizontalConstrained,checkboxVisibility:yl.onHover,isHeaderVisible:!0,compact:!1,useFastIcons:!0},Object(m.b)([Tu],t)}(g.Component);function Ou(e,t,n,o,r,i,a){var s=[];if(e&&e.length){var c=e[0];for(var l in c)c.hasOwnProperty(l)&&s.push({key:l,name:l,fieldName:l,minWidth:100,maxWidth:300,isCollapsable:!!s.length,isCollapsible:!!s.length,isMultiline:void 0!==a&&a,isSorted:o===l,isSortedDescending:!!r,isRowHeader:!1,columnActionsMode:fl.clickable,isResizable:t,onColumnClick:n,isGrouped:i===l})}return s}function Eu(e,t,n){var o=n.cellStyleProps,r=void 0===o?Cl:o;return e.calculatedWidth+r.cellLeftPadding+r.cellRightPadding+(e.isPadded?r.cellExtraRightPadding:0)}var Nu,Pu={root:"ms-DetailsList",compact:"ms-DetailsList--Compact",contentWrapper:"ms-DetailsList-contentWrapper",headerWrapper:"ms-DetailsList-headerWrapper",isFixed:"is-fixed",isHorizontalConstrained:"is-horizontalConstrained",listCell:"ms-List-cell"},Du=Object(x.a)(Iu,(function(e){var t,n,o=e.theme,r=e.className,i=e.isHorizontalConstrained,a=e.compact,s=e.isFixed,c=o.semanticColors,l=Object(b.R)(Pu,o);return{root:[l.root,o.fonts.small,{position:"relative",color:c.listText,selectors:(t={},t["& ."+l.listCell]={minHeight:38,wordBreak:"break-word"},t)},s&&l.isFixed,a&&[l.compact,{selectors:(n={},n["."+l.listCell]={minHeight:32},n)}],i&&[l.isHorizontalConstrained,{overflowX:"auto",overflowY:"visible",WebkitOverflowScrolling:"touch"}],r],focusZone:[{display:"inline-block",minWidth:"100%",minHeight:1}],headerWrapper:l.headerWrapper,contentWrapper:l.contentWrapper}}),void 0,{scope:"DetailsList"});!function(e){e[e.normal=0]="normal",e[e.largeHeader=1]="largeHeader",e[e.close=2]="close"}(Nu||(Nu={}));var Au,Ru=b.c.durationValue2,Mu={root:"ms-Modal",main:"ms-Dialog-main",scrollableContent:"ms-Modal-scrollableContent",isOpen:"is-open",layer:"ms-Modal-Layer"},Fu=Object(w.a)(),ju=function(e){function t(t){var n=e.call(this,t)||this;Object(be.a)(n);var o=n.props.allowTouchBodyScroll,r=void 0!==o&&o;return n._allowTouchBodyScroll=r,n}return Object(m.c)(t,e),t.prototype.componentDidMount=function(){!this._allowTouchBodyScroll&&Object(Re.d)()},t.prototype.componentWillUnmount=function(){!this._allowTouchBodyScroll&&Object(Re.e)()},t.prototype.render=function(){var e=this.props,t=e.isDarkThemed,n=e.className,o=e.theme,r=e.styles,i=Object(I.j)(this.props,I.h),a=Fu(r,{theme:o,className:n,isDark:t});return g.createElement("div",Object(m.a)({},i,{className:a.root}))},t}(g.Component),Lu={root:"ms-Overlay",rootDark:"ms-Overlay--dark"},Hu=Object(x.a)(ju,(function(e){var t,n=e.className,o=e.theme,r=e.isNone,i=e.isDark,a=o.palette,s=Object(b.R)(Lu,o);return{root:[s.root,o.fonts.medium,{backgroundColor:a.whiteTranslucent40,top:0,right:0,bottom:0,left:0,position:"absolute",selectors:(t={},t[b.l]={border:"1px solid WindowText",opacity:0},t)},r&&{visibility:"hidden"},i&&[s.rootDark,{backgroundColor:a.blackTranslucent40}],n]}}),void 0,{scope:"Overlay"}),Bu=Object(y.c)((function(e,t){return{root:Object(b.db)(e,t&&{touchAction:"none",selectors:{"& *":{userSelect:"none"}}})}})),zu={start:"touchstart",move:"touchmove",stop:"touchend"},Uu={start:"mousedown",move:"mousemove",stop:"mouseup"},Vu=function(e){function t(t){var n=e.call(this,t)||this;return n._currentEventType=Uu,n._events=[],n._onMouseDown=function(e){var t=g.Children.only(n.props.children).props.onMouseDown;return t&&t(e),n._currentEventType=Uu,n._onDragStart(e)},n._onMouseUp=function(e){var t=g.Children.only(n.props.children).props.onMouseUp;return t&&t(e),n._currentEventType=Uu,n._onDragStop(e)},n._onTouchStart=function(e){var t=g.Children.only(n.props.children).props.onTouchStart;return t&&t(e),n._currentEventType=zu,n._onDragStart(e)},n._onTouchEnd=function(e){var t=g.Children.only(n.props.children).props.onTouchEnd;t&&t(e),n._currentEventType=zu,n._onDragStop(e)},n._onDragStart=function(e){if("number"==typeof e.button&&0!==e.button)return!1;if(!(n.props.handleSelector&&!n._matchesSelector(e.target,n.props.handleSelector)||n.props.preventDragSelector&&n._matchesSelector(e.target,n.props.preventDragSelector))){n._touchId=n._getTouchId(e);var t=n._getControlPosition(e);if(void 0!==t){var o=n._createDragDataFromPosition(t);n.props.onStart&&n.props.onStart(e,o),n.setState({isDragging:!0,lastPosition:t}),n._events=[Object(wt.a)(document.body,n._currentEventType.move,n._onDrag,!0),Object(wt.a)(document.body,n._currentEventType.stop,n._onDragStop,!0)]}}},n._onDrag=function(e){"touchmove"===e.type&&e.preventDefault();var t=n._getControlPosition(e);if(t){var o=n._createUpdatedDragData(n._createDragDataFromPosition(t)),r=o.position;n.props.onDragChange&&n.props.onDragChange(e,o),n.setState({position:r,lastPosition:t})}},n._onDragStop=function(e){if(n.state.isDragging){var t=n._getControlPosition(e);if(t){var o=n._createDragDataFromPosition(t);n.setState({isDragging:!1,lastPosition:void 0}),n.props.onStop&&n.props.onStop(e,o),n.props.position&&n.setState({position:n.props.position}),n._events.forEach((function(e){return e()}))}}},n.state={isDragging:!1,position:n.props.position||{x:0,y:0},lastPosition:void 0},n}return Object(m.c)(t,e),t.prototype.componentDidUpdate=function(e){!this.props.position||e.position&&this.props.position===e.position||this.setState({position:this.props.position})},t.prototype.componentWillUnmount=function(){this._events.forEach((function(e){return e()}))},t.prototype.render=function(){var e=g.Children.only(this.props.children),t=e.props,n=this.props.position,o=this.state,r=o.position,i=o.isDragging,a=r.x,s=r.y;return n&&!i&&(a=n.x,s=n.y),g.cloneElement(e,{style:Object(m.a)(Object(m.a)({},t.style),{transform:"translate("+a+"px, "+s+"px)"}),className:Bu(t.className,this.state.isDragging).root,onMouseDown:this._onMouseDown,onMouseUp:this._onMouseUp,onTouchStart:this._onTouchStart,onTouchEnd:this._onTouchEnd})},t.prototype._getControlPosition=function(e){var t=this._getActiveTouch(e);if(void 0===this._touchId||t){var n=t||e;return{x:n.clientX,y:n.clientY}}},t.prototype._getActiveTouch=function(e){return e.targetTouches&&this._findTouchInTouchList(e.targetTouches)||e.changedTouches&&this._findTouchInTouchList(e.changedTouches)},t.prototype._getTouchId=function(e){var t=e.targetTouches&&e.targetTouches[0]||e.changedTouches&&e.changedTouches[0];if(t)return t.identifier},t.prototype._matchesSelector=function(e,t){if(!e||e===document.body)return!1;var n=e.matches||e.webkitMatchesSelector||e.msMatchesSelector;return!!n&&(n.call(e,t)||this._matchesSelector(e.parentElement,t))},t.prototype._findTouchInTouchList=function(e){if(void 0!==this._touchId)for(var t=0;t<e.length;t++)if(e[t].identifier===this._touchId)return e[t]},t.prototype._createDragDataFromPosition=function(e){var t=this.state.lastPosition;return void 0===t?{delta:{x:0,y:0},lastPosition:e,position:e}:{delta:{x:e.x-t.x,y:e.y-t.y},lastPosition:t,position:e}},t.prototype._createUpdatedDragData=function(e){var t=this.state.position;return{position:{x:t.x+e.delta.x,y:t.y+e.delta.y},delta:e.delta,lastPosition:t}},t}(g.Component),Wu={eventBubblingEnabled:!1},qu=Object(w.a)(),Gu=function(e){function t(t){var n=e.call(this,t)||this;n._focusTrapZone=g.createRef(),n._allowScrollOnModal=function(e){e?n._allowTouchBodyScroll?Object(Re.b)(e,n._events):Object(Re.c)(e,n._events):n._events.off(n._scrollableContent),n._scrollableContent=e},n._onModalContextMenuClose=function(){n.setState({isModalMenuOpen:!1})},n._onModalClose=function(){n._lastSetX=0,n._lastSetY=0,n.setState({isModalMenuOpen:!1,isInKeyboardMoveMode:!1,isOpen:!1,x:0,y:0}),n.props.dragOptions&&n._hasRegisteredKeyUp&&n._events.off(window,"keyup",n._onKeyUp,!0),n.props.onDismissed&&n.props.onDismissed()},n._onDragStart=function(){n.setState({isModalMenuOpen:!1,isInKeyboardMoveMode:!1})},n._onDrag=function(e,t){var o=n.state,r=o.x,i=o.y;n.setState({x:r+t.delta.x,y:i+t.delta.y})},n._onDragStop=function(){n.focus()},n._onKeyUp=function(e){e.altKey&&e.ctrlKey&&e.keyCode===ge.a.space&&Object(De.a)(n._scrollableContent,e.target)&&(n.setState({isModalMenuOpen:!n.state.isModalMenuOpen}),e.preventDefault(),e.stopPropagation())},n._onKeyDown=function(e){if(e.altKey&&e.ctrlKey&&e.keyCode===ge.a.space)return e.preventDefault(),void e.stopPropagation();if(n.state.isModalMenuOpen&&(e.altKey||e.keyCode===ge.a.escape)&&n.setState({isModalMenuOpen:!1}),!n.state.isInKeyboardMoveMode||e.keyCode!==ge.a.escape&&e.keyCode!==ge.a.enter||(n.setState({isInKeyboardMoveMode:!1}),e.preventDefault(),e.stopPropagation()),n.state.isInKeyboardMoveMode){var t=!0,o=n._getMoveDelta(e);switch(e.keyCode){case ge.a.escape:n.setState({x:n._lastSetX,y:n._lastSetY});case ge.a.enter:n._lastSetX=0,n._lastSetY=0,n.setState({isInKeyboardMoveMode:!1});break;case ge.a.up:n.setState({y:n.state.y-o});break;case ge.a.down:n.setState({y:n.state.y+o});break;case ge.a.left:n.setState({x:n.state.x-o});break;case ge.a.right:n.setState({x:n.state.x+o});break;default:t=!1}t&&(e.preventDefault(),e.stopPropagation())}},n._onEnterKeyboardMoveMode=function(){n._lastSetX=n.state.x,n._lastSetY=n.state.y,n.setState({isInKeyboardMoveMode:!0,isModalMenuOpen:!1}),n._events.on(window,"keydown",n._onKeyDown,!0)},n._onExitKeyboardMoveMode=function(){n._lastSetX=0,n._lastSetY=0,n.setState({isInKeyboardMoveMode:!1}),n._events.off(window,"keydown",n._onKeyDown,!0)},n._registerForKeyUp=function(){n._hasRegisteredKeyUp||(n._events.on(window,"keyup",n._onKeyUp,!0),n._hasRegisteredKeyUp=!0)},n._async=new ye.a(n),n._events=new Ve.a(n),Object(be.a)(n),Object(nt.a)("Modal",t,{onLayerDidMount:"layerProps.onLayerDidMount"}),n.state={id:Object(Pe.a)("Modal"),isOpen:t.isOpen,isVisible:t.isOpen,hasBeenOpened:t.isOpen,x:0,y:0},n._lastSetX=0,n._lastSetY=0;var o=n.props.allowTouchBodyScroll,r=void 0!==o&&o;return n._allowTouchBodyScroll=r,n}return Object(m.c)(t,e),t.prototype.UNSAFE_componentWillReceiveProps=function(e){if(clearTimeout(this._onModalCloseTimer),e.isOpen)if(this.state.isOpen){if(this.setState({hasBeenOpened:!0,isVisible:!0}),e.topOffsetFixed){var t=document.getElementsByClassName("ms-Dialog-main"),n=void 0;t.length>0&&(n=t[0].getBoundingClientRect(),this.setState({modalRectangleTop:n.top}))}}else this.setState({isOpen:!0}),e.dragOptions&&this._registerForKeyUp();!e.isOpen&&this.state.isOpen&&(this._onModalCloseTimer=this._async.setTimeout(this._onModalClose,1e3*parseFloat(Ru)),this.setState({isVisible:!1}))},t.prototype.componentDidMount=function(){this.state.isOpen&&this.state.isVisible&&this._registerForKeyUp()},t.prototype.componentDidUpdate=function(e,t){e.isOpen||t.isVisible||this.setState({isVisible:!0})},t.prototype.componentWillUnmount=function(){this._async.dispose(),this._events.dispose()},t.prototype.render=function(){var e=this.props,t=e.className,n=e.containerClassName,o=e.scrollableContentClassName,r=e.elementToFocusOnDismiss,i=e.firstFocusableSelector,a=e.forceFocusInsideTrap,s=e.ignoreExternalFocusing,c=e.isBlocking,l=e.isClickableOutsideFocusTrap,u=e.isDarkOverlay,d=e.onDismiss,p=e.layerProps,h=e.overlay,f=e.responsiveMode,b=e.titleAriaId,y=e.styles,v=e.subtitleAriaId,_=e.theme,S=e.topOffsetFixed,C=e.onLayerDidMount,x=e.isModeless,w=e.dragOptions,T=e.enableAriaHiddenSiblings,k=this.state,I=k.isOpen,O=k.isVisible,E=k.hasBeenOpened,N=k.modalRectangleTop,P=k.x,D=k.y,A=k.isInKeyboardMoveMode;if(!I)return null;var R=void 0===p?"":p.className,M=qu(y,{theme:_,className:t,containerClassName:n,scrollableContentClassName:o,isOpen:I,isVisible:O,hasBeenOpened:E,modalRectangleTop:N,topOffsetFixed:S,isModeless:x,layerClassName:R,isDefaultDragHandle:w&&!w.dragHandleSelector}),F=Object(m.a)(Object(m.a)(Object(m.a)({},Wu),this.props.layerProps),{onLayerDidMount:p&&p.onLayerDidMount?p.onLayerDidMount:C,insertFirst:x,className:M.layer}),j=g.createElement(Ea,{componentRef:this._focusTrapZone,className:M.main,elementToFocusOnDismiss:r,isClickableOutsideFocusTrap:x||l||!c,ignoreExternalFocusing:s,forceFocusInsideTrap:x?!x:a,firstFocusableSelector:i,focusPreviouslyFocusedInnerElement:!0,onBlur:A?this._onExitKeyboardMoveMode:void 0,enableAriaHiddenSiblings:T},w&&A&&g.createElement("div",{className:M.keyboardMoveIconContainer},w.keyboardMoveIconProps?g.createElement(K,Object(m.a)({},w.keyboardMoveIconProps)):g.createElement(K,{iconName:"move",className:M.keyboardMoveIcon})),g.createElement("div",{ref:this._allowScrollOnModal,className:M.scrollableContent,"data-is-scrollable":!0},w&&this.state.isModalMenuOpen&&g.createElement(w.menu,{items:[{key:"move",text:w.moveMenuItemText,onClick:this._onEnterKeyboardMoveMode},{key:"close",text:w.closeMenuItemText,onClick:this._onModalClose}],onDismiss:this._onModalContextMenuClose,alignTargetEdge:!0,coverTarget:!0,directionalHint:st.topLeftEdge,directionalHintFixed:!0,shouldFocusOnMount:!0,target:this._scrollableContent}),this.props.children));return f>=ft.small?g.createElement(En,Object(m.a)({},F),g.createElement(en,{role:x||!c?"dialog":"alertdialog","aria-modal":!x,ariaLabelledBy:b,ariaDescribedBy:v,onDismiss:d,shouldRestoreFocus:!s},g.createElement("div",{className:M.root},!x&&g.createElement(Hu,Object(m.a)({isDarkThemed:u,onClick:c?void 0:d,allowTouchBodyScroll:this._allowTouchBodyScroll},h)),w?g.createElement(Vu,{handleSelector:w.dragHandleSelector||"."+M.main.split(" ")[0],preventDragSelector:"button",onStart:this._onDragStart,onDragChange:this._onDrag,onStop:this._onDragStop,position:{x:P,y:D}},j):j))):null},t.prototype.focus=function(){this._focusTrapZone.current&&this._focusTrapZone.current.focus()},t.prototype._getMoveDelta=function(e){var t=10;return e.shiftKey?e.ctrlKey||(t=50):e.ctrlKey&&(t=1),t},t.defaultProps={isOpen:!1,isDarkOverlay:!0,isBlocking:!1,className:"",containerClassName:""},Object(m.b)([St],t)}(g.Component),Ku=Object(x.a)(Gu,(function(e){var t,n=e.className,o=e.containerClassName,r=e.scrollableContentClassName,i=e.isOpen,a=e.isVisible,s=e.hasBeenOpened,c=e.modalRectangleTop,l=e.theme,u=e.topOffsetFixed,d=e.isModeless,p=e.layerClassName,h=e.isDefaultDragHandle,f=l.palette,m=l.effects,g=l.fonts,y=Object(b.R)(Mu,l);return{root:[y.root,g.medium,{backgroundColor:"transparent",position:d?"absolute":"fixed",height:"100%",width:"100%",display:"flex",alignItems:"center",justifyContent:"center",opacity:0,pointerEvents:"none",transition:"opacity "+Ru},u&&s&&{alignItems:"flex-start"},i&&y.isOpen,a&&{opacity:1,pointerEvents:"auto"},n],main:[y.main,{boxShadow:m.elevation64,borderRadius:m.roundedCorner2,backgroundColor:f.white,boxSizing:"border-box",position:"relative",textAlign:"left",outline:"3px solid transparent",maxHeight:"calc(100% - 32px)",maxWidth:"calc(100% - 32px)",minHeight:"176px",minWidth:"288px",overflowY:"auto",zIndex:d?b.F.Layer:void 0},u&&s&&{top:c},h&&{cursor:"move"},o],scrollableContent:[y.scrollableContent,{overflowY:"auto",flexGrow:1,maxHeight:"100vh",selectors:(t={},t["@supports (-webkit-overflow-scrolling: touch)"]={maxHeight:window.innerHeight},t)},r],layer:d&&[p,y.layer,{position:"static",width:"unset",height:"unset"}],keyboardMoveIconContainer:{position:"absolute",display:"flex",justifyContent:"center",width:"100%",padding:"3px 0px"},keyboardMoveIcon:{fontSize:g.xLargePlus.fontSize,width:"24px"}}}),void 0,{scope:"Modal",fields:["theme","styles","enableAriaHiddenSiblings"]}),Yu=Object(w.a)(),Qu=function(e){function t(t){var n=e.call(this,t)||this;return Object(be.a)(n),n}return Object(m.c)(t,e),t.prototype.render=function(){var e=this.props,t=e.className,n=e.styles,o=e.theme;return this._classNames=Yu(n,{theme:o,className:t}),g.createElement("div",{className:this._classNames.actions},g.createElement("div",{className:this._classNames.actionsRight},this._renderChildrenAsActions()))},t.prototype._renderChildrenAsActions=function(){var e=this;return g.Children.map(this.props.children,(function(t){return t?g.createElement("span",{className:e._classNames.action},t):null}))},t}(g.Component),$u={actions:"ms-Dialog-actions",action:"ms-Dialog-action",actionsRight:"ms-Dialog-actionsRight"},Zu=Object(x.a)(Qu,(function(e){var t=e.className,n=e.theme,o=Object(b.R)($u,n);return{actions:[o.actions,{position:"relative",width:"100%",minHeight:"24px",lineHeight:"24px",margin:"16px 0 0",fontSize:"0",selectors:{".ms-Button":{lineHeight:"normal"}}},t],action:[o.action,{margin:"0 4px"}],actionsRight:[o.actionsRight,{textAlign:"right",marginRight:"-4px",fontSize:"0"}]}}),void 0,{scope:"DialogFooter"}),Xu=Object(w.a)(),Ju=g.createElement(Zu,null).type,ed=function(e){function t(t){var n=e.call(this,t)||this;return Object(be.a)(n),Object(nt.a)("DialogContent",t,{titleId:"titleProps.id"}),n}return Object(m.c)(t,e),t.prototype.render=function(){var e,t=this.props,n=t.showCloseButton,o=t.className,r=t.closeButtonAriaLabel,i=t.onDismiss,a=t.subTextId,s=t.subText,c=t.titleProps,l=void 0===c?{}:c,u=t.titleId,d=t.title,p=t.type,h=t.styles,f=t.theme,b=t.draggableHeaderClassName,y=Xu(h,{theme:f,className:o,isLargeHeader:p===Nu.largeHeader,isClose:p===Nu.close,draggableHeaderClassName:b}),v=this._groupChildren();return s&&(e=g.createElement("p",{className:y.subText,id:a},s)),g.createElement("div",{className:y.content},g.createElement("div",{className:y.header},g.createElement("div",Object(m.a)({id:u,role:"heading","aria-level":1},l,{className:Object(z.a)(y.title,l.className)}),d),g.createElement("div",{className:y.topButton},this.props.topButtonsProps.map((function(e,t){return g.createElement(go,Object(m.a)({key:e.uniqueId||t},e))})),(p===Nu.close||n&&p!==Nu.largeHeader)&&g.createElement(go,{className:y.button,iconProps:{iconName:"Cancel"},ariaLabel:r,onClick:i,title:r}))),g.createElement("div",{className:y.inner},g.createElement("div",{className:y.innerContent},e,v.contents),v.footers))},t.prototype._groupChildren=function(){var e={footers:[],contents:[]};return g.Children.map(this.props.children,(function(t){"object"==typeof t&&null!==t&&t.type===Ju?e.footers.push(t):e.contents.push(t)})),e},t.defaultProps={showCloseButton:!1,className:"",topButtonsProps:[],closeButtonAriaLabel:"Close"},Object(m.b)([St],t)}(g.Component),td={contentLgHeader:"ms-Dialog-lgHeader",close:"ms-Dialog--close",subText:"ms-Dialog-subText",header:"ms-Dialog-header",headerLg:"ms-Dialog--lgHeader",button:"ms-Dialog-button ms-Dialog-button--close",inner:"ms-Dialog-inner",content:"ms-Dialog-content",title:"ms-Dialog-title"},nd=Object(x.a)(ed,(function(e){var t,n,o,r=e.className,i=e.theme,a=e.isLargeHeader,s=e.isClose,c=e.hidden,l=e.isMultiline,u=e.draggableHeaderClassName,d=i.palette,p=i.fonts,h=i.effects,f=i.semanticColors,m=Object(b.R)(td,i);return{content:[a&&[m.contentLgHeader,{borderTop:"4px solid "+d.themePrimary}],s&&m.close,{flexGrow:1,overflowY:"hidden"},r],subText:[m.subText,p.medium,{margin:"0 0 24px 0",color:f.bodySubtext,lineHeight:"1.5",wordWrap:"break-word",fontWeight:b.k.regular}],header:[m.header,{position:"relative",width:"100%",boxSizing:"border-box"},s&&m.close,u&&[u,{cursor:"move"}]],button:[m.button,c&&{selectors:{".ms-Icon.ms-Icon--Cancel":{color:f.buttonText,fontSize:b.o.medium}}}],inner:[m.inner,{padding:"0 24px 24px",selectors:(t={},t["@media (min-width: "+b.y+"px) and (max-width: "+b.t+"px)"]={padding:"0 16px 16px"},t)}],innerContent:[m.content,{position:"relative",width:"100%"}],title:[m.title,p.xLarge,{color:f.bodyText,margin:"0",minHeight:p.xLarge.fontSize,padding:"16px 46px 20px 24px",lineHeight:"normal",selectors:(n={},n["@media (min-width: "+b.y+"px) and (max-width: "+b.t+"px)"]={padding:"16px 46px 16px 16px"},n)},a&&{color:f.menuHeader},l&&{fontSize:p.xxLarge.fontSize}],topButton:[{display:"flex",flexDirection:"row",flexWrap:"nowrap",position:"absolute",top:"0",right:"0",padding:"15px 15px 0 0",selectors:(o={"> *":{flex:"0 0 auto"},".ms-Dialog-button":{color:f.buttonText},".ms-Dialog-button:hover":{color:f.buttonTextHovered,borderRadius:h.roundedCorner2}},o["@media (min-width: "+b.y+"px) and (max-width: "+b.t+"px)"]={padding:"15px 8px 0 0"},o)}]}}),void 0,{scope:"DialogContent"}),od=Object(w.a)(),rd={isDarkOverlay:!1,isBlocking:!1,className:"",containerClassName:"",topOffsetFixed:!1},id={type:Nu.normal,className:"",topButtonsProps:[]},ad=function(e){function t(t){var n=e.call(this,t)||this;return n._getSubTextId=function(){var e=n.props,t=e.ariaDescribedById,o=e.modalProps,r=e.dialogContentProps,i=e.subText,a=o&&o.subtitleAriaId||t;return a||(a=(r&&r.subText||i)&&n._defaultSubTextId),a},n._getTitleTextId=function(){var e=n.props,t=e.ariaLabelledById,o=e.modalProps,r=e.dialogContentProps,i=e.title,a=o&&o.titleAriaId||t;return a||(a=(r&&r.title||i)&&n._defaultTitleTextId),a},n._id=Object(Pe.a)("Dialog"),n._defaultTitleTextId=n._id+"-title",n._defaultSubTextId=n._id+"-subText",n}return Object(m.c)(t,e),t.prototype.render=function(){var e,t,n,o,r=this.props,i=r.className,a=r.containerClassName,s=r.contentClassName,c=r.elementToFocusOnDismiss,l=r.firstFocusableSelector,u=r.forceFocusInsideTrap,d=r.styles,p=r.hidden,h=r.ignoreExternalFocusing,f=r.isBlocking,b=r.isClickableOutsideFocusTrap,y=r.isDarkOverlay,v=r.isOpen,_=r.onDismiss,S=r.onDismissed,C=r.onLayerDidMount,x=r.responsiveMode,w=r.subText,T=r.theme,k=r.title,I=r.topButtonsProps,O=r.type,E=r.minWidth,N=r.maxWidth,P=r.modalProps,D=Object(m.a)({},P?P.layerProps:{onLayerDidMount:C});C&&!D.onLayerDidMount&&(D.onLayerDidMount=C),P&&P.dragOptions&&!P.dragOptions.dragHandleSelector?(n="ms-Dialog-draggable-header",o=Object(m.a)(Object(m.a)({},P.dragOptions),{dragHandleSelector:"."+n})):o=P&&P.dragOptions;var A=Object(m.a)(Object(m.a)(Object(m.a)(Object(m.a)({},rd),{className:i,containerClassName:a,isBlocking:f,isDarkOverlay:y,onDismissed:S}),P),{layerProps:D,dragOptions:o}),R=Object(m.a)(Object(m.a)(Object(m.a)({className:s,subText:w,title:k,topButtonsProps:I,type:O},id),this.props.dialogContentProps),{draggableHeaderClassName:n,titleProps:Object(m.a)({id:(null===(e=this.props.dialogContentProps)||void 0===e?void 0:e.titleId)||this._defaultTitleTextId},null===(t=this.props.dialogContentProps)||void 0===t?void 0:t.titleProps)}),M=od(d,{theme:T,className:A.className,containerClassName:A.containerClassName,hidden:p,dialogDefaultMinWidth:E,dialogDefaultMaxWidth:N});return g.createElement(Ku,Object(m.a)({elementToFocusOnDismiss:c,firstFocusableSelector:l,forceFocusInsideTrap:u,ignoreExternalFocusing:h,isClickableOutsideFocusTrap:b,onDismissed:A.onDismissed,responsiveMode:x},A,{isDarkOverlay:A.isDarkOverlay,isBlocking:A.isBlocking,isOpen:void 0!==v?v:!p,className:M.root,containerClassName:M.main,onDismiss:_||A.onDismiss,subtitleAriaId:this._getSubTextId(),titleAriaId:this._getTitleTextId()}),g.createElement(nd,Object(m.a)({subTextId:this._defaultSubTextId,title:R.title,subText:R.subText,showCloseButton:A.isBlocking,topButtonsProps:R.topButtonsProps,type:R.type,onDismiss:_||R.onDismiss,className:R.className},R),this.props.children))},t.defaultProps={hidden:!0},Object(m.b)([St],t)}(g.Component),sd={root:"ms-Dialog"},cd=Object(x.a)(ad,(function(e){var t,n=e.className,o=e.containerClassName,r=e.dialogDefaultMinWidth,i=void 0===r?"288px":r,a=e.dialogDefaultMaxWidth,s=void 0===a?"340px":a,c=e.hidden,l=e.theme;return{root:[Object(b.R)(sd,l).root,l.fonts.medium,n],main:[{width:i,outline:"3px solid transparent",selectors:(t={},t["@media (min-width: "+b.x+"px)"]={width:"auto",maxWidth:s,minWidth:i},t)},!c&&{display:"flex"},o]}}),void 0,{scope:"Dialog"});!function(e){e[e.normal=0]="normal",e[e.compact=1]="compact"}(Au||(Au={}));var ld,ud=Object(w.a)(),dd=function(e){function t(t){var n=e.call(this,t)||this;return n._rootElement=g.createRef(),n._onClick=function(e){n._onAction(e)},n._onKeyDown=function(e){e.which!==ge.a.enter&&e.which!==ge.a.space||n._onAction(e)},n._onAction=function(e){var t=n.props,o=t.onClick,r=t.onClickHref,i=t.onClickTarget;o?o(e):!o&&r&&(i?window.open(r,i,"noreferrer noopener nofollow"):window.location.href=r,e.preventDefault(),e.stopPropagation())},Object(be.a)(n),Object(nt.a)("DocumentCard",t,{accentColor:void 0}),n}return Object(m.c)(t,e),t.prototype.render=function(){var e,t=this.props,n=t.onClick,o=t.onClickHref,r=t.children,i=t.type,a=t.accentColor,s=t.styles,c=t.theme,l=t.className,u=Object(I.j)(this.props,I.h,["className","onClick","type","role"]),d=!(!n&&!o);this._classNames=ud(s,{theme:c,className:l,actionable:d,compact:i===Au.compact}),i===Au.compact&&a&&(e={borderBottomColor:a});var p=this.props.role||(d?n?"button":"link":void 0),h=d?0:void 0;return g.createElement("div",Object(m.a)({ref:this._rootElement,tabIndex:h,"data-is-focusable":d,role:p,className:this._classNames.root,onKeyDown:d?this._onKeyDown:void 0,onClick:d?this._onClick:void 0,style:e},u),r)},t.prototype.focus=function(){this._rootElement.current&&this._rootElement.current.focus()},t.defaultProps={type:Au.normal},t}(g.Component),pd={root:"ms-DocumentCardPreview",icon:"ms-DocumentCardPreview-icon",iconContainer:"ms-DocumentCardPreview-iconContainer"},hd={root:"ms-DocumentCardActivity",multiplePeople:"ms-DocumentCardActivity--multiplePeople",details:"ms-DocumentCardActivity-details",name:"ms-DocumentCardActivity-name",activity:"ms-DocumentCardActivity-activity",avatars:"ms-DocumentCardActivity-avatars",avatar:"ms-DocumentCardActivity-avatar"},fd={root:"ms-DocumentCardTitle"},md={root:"ms-DocumentCardLocation"},gd={root:"ms-DocumentCard",rootActionable:"ms-DocumentCard--actionable",rootCompact:"ms-DocumentCard--compact"},bd=Object(x.a)(dd,(function(e){var t,n,o=e.className,r=e.theme,i=e.actionable,a=e.compact,s=r.palette,c=r.fonts,l=r.effects,u=Object(b.R)(gd,r);return{root:[u.root,{WebkitFontSmoothing:"antialiased",backgroundColor:s.white,border:"1px solid "+s.neutralLight,maxWidth:"320px",minWidth:"206px",userSelect:"none",position:"relative",selectors:(t={":focus":{outline:"0px solid"}},t["."+Fn.a+" &:focus"]=Object(b.U)(s.neutralSecondary,l.roundedCorner2),t["."+md.root+" + ."+fd.root]={paddingTop:"4px"},t)},i&&[u.rootActionable,{selectors:{":hover":{cursor:"pointer",borderColor:s.neutralTertiaryAlt},":hover:after":{content:'" "',position:"absolute",top:0,right:0,bottom:0,left:0,border:"1px solid "+s.neutralTertiaryAlt,pointerEvents:"none"}}}],a&&[u.rootCompact,{display:"flex",maxWidth:"480px",height:"108px",selectors:(n={},n["."+pd.root]={borderRight:"1px solid "+s.neutralLight,borderBottom:0,maxHeight:"106px",maxWidth:"144px"},n["."+pd.icon]={maxHeight:"32px",maxWidth:"32px"},n["."+hd.root]={paddingBottom:"12px"},n["."+fd.root]={paddingBottom:"12px 16px 8px 16px",fontSize:c.mediumPlus.fontSize,lineHeight:"16px"},n)}],o]}}),void 0,{scope:"DocumentCard"}),yd=Object(w.a)(),vd=function(e){function t(t){var n=e.call(this,t)||this;return Object(be.a)(n),n}return Object(m.c)(t,e),t.prototype.render=function(){var e=this,t=this.props,n=t.actions,o=t.views,r=t.styles,i=t.theme,a=t.className;return this._classNames=yd(r,{theme:i,className:a}),g.createElement("div",{className:this._classNames.root},n&&n.map((function(t,n){return g.createElement("div",{className:e._classNames.action,key:n},g.createElement(go,Object(m.a)({},t)))})),o>0&&g.createElement("div",{className:this._classNames.views},g.createElement(K,{iconName:"View",className:this._classNames.viewsIcon}),o))},t}(g.Component),_d={root:"ms-DocumentCardActions",action:"ms-DocumentCardActions-action",views:"ms-DocumentCardActions-views"},Sd=Object(x.a)(vd,(function(e){var t=e.className,n=e.theme,o=n.palette,r=n.fonts,i=Object(b.R)(_d,n);return{root:[i.root,{height:"34px",padding:"4px 12px",position:"relative"},t],action:[i.action,{float:"left",marginRight:"4px",color:o.neutralSecondary,cursor:"pointer",selectors:{".ms-Button":{fontSize:r.mediumPlus.fontSize,height:34,width:34},".ms-Button:hover .ms-Button-icon":{color:n.semanticColors.buttonText,cursor:"pointer"}}}],views:[i.views,{textAlign:"right",lineHeight:34}],viewsIcon:{marginRight:"8px",fontSize:r.medium.fontSize,verticalAlign:"top"}}}),void 0,{scope:"DocumentCardActions"}),Cd=Object(w.a)(),xd=function(e){function t(t){var n=e.call(this,t)||this;return Object(be.a)(n),n}return Object(m.c)(t,e),t.prototype.render=function(){var e=this.props,t=e.activity,n=e.people,o=e.styles,r=e.theme,i=e.className;return this._classNames=Cd(o,{theme:r,className:i,multiplePeople:n.length>1}),n&&0!==n.length?g.createElement("div",{className:this._classNames.root},this._renderAvatars(n),g.createElement("div",{className:this._classNames.details},g.createElement("span",{className:this._classNames.name},this._getNameString(n)),g.createElement("span",{className:this._classNames.activity},t))):null},t.prototype._renderAvatars=function(e){return g.createElement("div",{className:this._classNames.avatars},e.length>1?this._renderAvatar(e[1]):null,this._renderAvatar(e[0]))},t.prototype._renderAvatar=function(e){return g.createElement("div",{className:this._classNames.avatar},g.createElement(he,{imageInitials:e.initials,text:e.name,imageUrl:e.profileImageSrc,initialsColor:e.initialsColor,allowPhoneInitials:e.allowPhoneInitials,role:"presentation",size:O.size32}))},t.prototype._getNameString=function(e){var t=e[0].name;return e.length>=2&&(t+=" +"+(e.length-1)),t},t}(g.Component),wd=Object(x.a)(xd,(function(e){var t=e.theme,n=e.className,o=e.multiplePeople,r=t.palette,i=t.fonts,a=Object(b.R)(hd,t);return{root:[a.root,o&&a.multiplePeople,{padding:"8px 16px",position:"relative"},n],avatars:[a.avatars,{marginLeft:"-2px",height:"32px"}],avatar:[a.avatar,{display:"inline-block",verticalAlign:"top",position:"relative",textAlign:"center",width:32,height:32,selectors:{"&:after":{content:'" "',position:"absolute",left:"-1px",top:"-1px",right:"-1px",bottom:"-1px",border:"2px solid "+r.white,borderRadius:"50%"},":nth-of-type(2)":o&&{marginLeft:"-16px"}}}],details:[a.details,{left:o?"72px":"56px",height:32,position:"absolute",top:8,width:"calc(100% - 72px)"}],name:[a.name,{display:"block",fontSize:i.small.fontSize,lineHeight:"15px",height:"15px",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",color:r.neutralPrimary,fontWeight:b.k.semibold}],activity:[a.activity,{display:"block",fontSize:i.small.fontSize,lineHeight:"15px",height:"15px",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",color:r.neutralSecondary}]}}),void 0,{scope:"DocumentCardActivity"}),Td=Object(w.a)(),kd=function(e){function t(t){var n=e.call(this,t)||this;return Object(be.a)(n),n}return Object(m.c)(t,e),t.prototype.render=function(){var e=this.props,t=e.children,n=e.styles,o=e.theme,r=e.className;return this._classNames=Td(n,{theme:o,className:r}),g.createElement("div",{className:this._classNames.root},t)},t}(g.Component),Id={root:"ms-DocumentCardDetails"},Od=Object(x.a)(kd,(function(e){var t=e.className,n=e.theme;return{root:[Object(b.R)(Id,n).root,{display:"flex",flexDirection:"column",flex:1,justifyContent:"space-between",overflow:"hidden"},t]}}),void 0,{scope:"DocumentCardDetails"}),Ed=Object(w.a)(),Nd=function(e){function t(t){var n=e.call(this,t)||this;return Object(be.a)(n),n}return Object(m.c)(t,e),t.prototype.render=function(){var e=this.props,t=e.location,n=e.locationHref,o=e.ariaLabel,r=e.onClick,i=e.styles,a=e.theme,s=e.className;return this._classNames=Ed(i,{theme:a,className:s}),g.createElement("a",{className:this._classNames.root,href:n,onClick:r,"aria-label":o},t)},t}(g.Component),Pd=Object(x.a)(Nd,(function(e){var t=e.theme,n=e.className,o=t.palette,r=t.fonts;return{root:[Object(b.R)(md,t).root,r.small,{color:o.themePrimary,display:"block",fontWeight:b.k.semibold,overflow:"hidden",padding:"8px 16px",position:"relative",textDecoration:"none",textOverflow:"ellipsis",whiteSpace:"nowrap",selectors:{":hover":{color:o.themePrimary,cursor:"pointer"}}},n]}}),void 0,{scope:"DocumentCardLocation"}),Dd=Object(w.a)(),Ad=function(e){function t(t){var n=e.call(this,t)||this;return n._renderPreviewList=function(e){var t=n.props.getOverflowDocumentCountText,o=e.length-3,r=o?t?t(o):"+"+o:null,i=e.slice(0,3).map((function(e,t){return g.createElement("li",{key:t},g.createElement(H,{className:n._classNames.fileListIcon,src:e.iconSrc,role:"presentation",alt:"",width:"16px",height:"16px"}),g.createElement(et,Object(m.a)({className:n._classNames.fileListLink},(e.linkProps,{href:e.linkProps&&e.linkProps.href||e.url})),e.name))}));return g.createElement("div",null,g.createElement("ul",{className:n._classNames.fileList},i),r&&g.createElement("span",{className:n._classNames.fileListOverflowText},r))},Object(be.a)(n),n}return Object(m.c)(t,e),t.prototype.render=function(){var e,t,n=this.props,o=n.previewImages,r=n.styles,i=n.theme,a=n.className,s=o.length>1;return this._classNames=Dd(r,{theme:i,className:a,isFileList:s}),o.length>1?t=this._renderPreviewList(o):1===o.length&&(t=this._renderPreviewImage(o[0]),o[0].accentColor&&(e={borderBottomColor:o[0].accentColor})),g.createElement("div",{className:this._classNames.root,style:e},t)},t.prototype._renderPreviewImage=function(e){var t=e.width,n=e.height,o=e.imageFit,r=e.previewIconProps,i=e.previewIconContainerClass;if(r)return g.createElement("div",{className:Object(z.a)(this._classNames.previewIcon,i),style:{width:t,height:n}},g.createElement(K,Object(m.a)({},r)));var a,s=g.createElement(H,{width:t,height:n,imageFit:o,src:e.previewImageSrc,role:"presentation",alt:""});return e.iconSrc&&(a=g.createElement(H,{className:this._classNames.icon,src:e.iconSrc,role:"presentation",alt:""})),g.createElement("div",null,s,a)},t}(g.Component),Rd=Object(x.a)(Ad,(function(e){var t,n,o=e.theme,r=e.className,i=e.isFileList,a=o.palette,s=o.fonts,c=Object(b.R)(pd,o);return{root:[c.root,s.small,{backgroundColor:i?a.white:a.neutralLighterAlt,borderBottom:"1px solid "+a.neutralLight,overflow:"hidden",position:"relative"},r],previewIcon:[c.iconContainer,{display:"flex",alignItems:"center",justifyContent:"center",height:"100%"}],icon:[c.icon,{left:"10px",bottom:"10px",position:"absolute"}],fileList:{padding:"16px 16px 0 16px",listStyleType:"none",margin:0,selectors:{li:{height:"16px",lineHeight:"16px",marginBottom:"8px",overflow:"hidden"}}},fileListIcon:{display:"inline-block",marginRight:"8px"},fileListLink:[Object(b.Q)(o,{highContrastStyle:{border:"1px solid WindowText",outline:"none"}}),{boxSizing:"border-box",color:a.neutralDark,overflow:"hidden",display:"inline-block",textDecoration:"none",textOverflow:"ellipsis",whiteSpace:"nowrap",width:"calc(100% - 24px)",selectors:(t={":hover":{color:a.themePrimary}},t["."+Fn.a+" &:focus"]={selectors:(n={},n[b.l]={outline:"none"},n)},t)}],fileListOverflowText:{padding:"0px 16px 8px 16px",display:"block"}}}),void 0,{scope:"DocumentCardPreview"}),Md=Object(w.a)(),Fd=function(e){function t(t){var n=e.call(this,t)||this;return n._onImageLoad=function(){n.setState({imageHasLoaded:!0})},Object(be.a)(n),n.state={imageHasLoaded:!1},n}return Object(m.c)(t,e),t.prototype.render=function(){var e=this.props,t=e.styles,n=e.width,o=e.height,r=e.imageFit,i=e.imageSrc;return this._classNames=Md(t,this.props),g.createElement("div",{className:this._classNames.root},i&&g.createElement(H,{width:n,height:o,imageFit:r,src:i,role:"presentation",alt:"",onLoad:this._onImageLoad}),this.state.imageHasLoaded?this._renderCornerIcon():this._renderCenterIcon())},t.prototype._renderCenterIcon=function(){var e=this.props.iconProps;return g.createElement("div",{className:this._classNames.centeredIconWrapper},g.createElement(K,Object(m.a)({className:this._classNames.centeredIcon},e)))},t.prototype._renderCornerIcon=function(){var e=this.props.iconProps;return g.createElement(K,Object(m.a)({className:this._classNames.cornerIcon},e))},t}(g.Component),jd=Object(x.a)(Fd,(function(e){var t=e.theme,n=e.className,o=e.height,r=e.width,i=t.palette;return{root:[{borderBottom:"1px solid "+i.neutralLight,position:"relative",backgroundColor:i.neutralLighterAlt,overflow:"hidden",height:o&&o+"px",width:r&&r+"px"},n],centeredIcon:[{height:"42px",width:"42px",fontSize:"42px"}],centeredIconWrapper:[{display:"flex",alignItems:"center",justifyContent:"center",height:"100%",width:"100%",position:"absolute",top:0,left:0}],cornerIcon:[{left:"10px",bottom:"10px",height:"32px",width:"32px",fontSize:"32px",position:"absolute",overflow:"visible"}]}}),void 0,{scope:"DocumentCardImage"}),Ld=Object(w.a)(),Hd=function(e){function t(t){var n=e.call(this,t)||this;return n._titleElement=g.createRef(),n._measureTitleElement=g.createRef(),n._truncateTitle=function(){n.state.needMeasurement&&n._async.requestAnimationFrame(n._truncateWhenInAnimation)},n._truncateWhenInAnimation=function(){var e=n.props.title,t=n._measureTitleElement.current;if(t){var o=getComputedStyle(t);if(o.width&&o.lineHeight&&o.height){var r=t.clientWidth,i=t.scrollWidth,a=Math.floor((parseInt(o.height,10)+5)/parseInt(o.lineHeight,10)),s=i/(parseInt(o.width,10)*a);if(s>1){var c=e.length/s-3;return n.setState({truncatedTitleFirstPiece:e.slice(0,c/2),truncatedTitleSecondPiece:e.slice(e.length-c/2),clientWidth:r,needMeasurement:!1})}}}return n.setState({needMeasurement:!1})},n._shrinkTitle=function(){var e=n.state,t=e.truncatedTitleFirstPiece,o=e.truncatedTitleSecondPiece;if(t&&o){var r=n._titleElement.current;if(!r)return;(r.scrollHeight>r.clientHeight+5||r.scrollWidth>r.clientWidth)&&n.setState({truncatedTitleFirstPiece:t.slice(0,t.length-1),truncatedTitleSecondPiece:o.slice(1)})}},Object(be.a)(n),n._async=new ye.a(n),n._events=new Ve.a(n),n.state={truncatedTitleFirstPiece:"",truncatedTitleSecondPiece:"",previousTitle:t.title,needMeasurement:!!t.shouldTruncate},n}return Object(m.c)(t,e),t.prototype.componentDidUpdate=function(){this.props.title!==this.state.previousTitle&&this.setState({truncatedTitleFirstPiece:void 0,truncatedTitleSecondPiece:void 0,clientWidth:void 0,previousTitle:this.props.title,needMeasurement:!!this.props.shouldTruncate}),this._events.off(window,"resize",this._updateTruncation),this.props.shouldTruncate&&(this._truncateTitle(),requestAnimationFrame(this._shrinkTitle),this._events.on(window,"resize",this._updateTruncation))},t.prototype.componentDidMount=function(){this.props.shouldTruncate&&(this._truncateTitle(),this._events.on(window,"resize",this._updateTruncation))},t.prototype.componentWillUnmount=function(){this._events.dispose(),this._async.dispose()},t.prototype.render=function(){var e=this.props,t=e.title,n=e.shouldTruncate,o=e.showAsSecondaryTitle,r=e.styles,i=e.theme,a=e.className,s=this.state,c=s.truncatedTitleFirstPiece,l=s.truncatedTitleSecondPiece,u=s.needMeasurement;return this._classNames=Ld(r,{theme:i,className:a,showAsSecondaryTitle:o}),u?g.createElement("div",{className:this._classNames.root,ref:this._measureTitleElement,title:t,style:{whiteSpace:"nowrap"}},t):n&&c&&l?g.createElement("div",{className:this._classNames.root,ref:this._titleElement,title:t},c,"…",l):g.createElement("div",{className:this._classNames.root,ref:this._titleElement,title:t},t)},t.prototype._updateTruncation=function(){var e=this;this._async.requestAnimationFrame((function(){if(e._titleElement.current){var t=e._titleElement.current.clientWidth;clearTimeout(e._titleTruncationTimer),e.state.clientWidth!==t&&(e._titleTruncationTimer=e._async.setTimeout((function(){return e.setState({truncatedTitleFirstPiece:void 0,truncatedTitleSecondPiece:void 0,needMeasurement:!0})}),250))}}))},t}(g.Component),Bd=Object(x.a)(Hd,(function(e){var t=e.theme,n=e.className,o=e.showAsSecondaryTitle,r=t.palette,i=t.fonts;return{root:[Object(b.R)(fd,t).root,o?i.medium:i.large,{padding:"8px 16px",display:"block",overflow:"hidden",wordWrap:"break-word",height:o?"45px":"38px",lineHeight:o?"18px":"21px",color:o?r.neutralSecondary:r.neutralPrimary},n]}}),void 0,{scope:"DocumentCardTitle"}),zd=Object(w.a)(),Ud=function(e){function t(t){var n=e.call(this,t)||this;return Object(be.a)(n),n}return Object(m.c)(t,e),t.prototype.render=function(){var e=this.props,t=e.logoIcon,n=e.styles,o=e.theme,r=e.className;return this._classNames=zd(n,{theme:o,className:r}),g.createElement("div",{className:this._classNames.root},g.createElement(K,{iconName:t}))},t}(g.Component),Vd={root:"ms-DocumentCardLogo"},Wd=Object(x.a)(Ud,(function(e){var t=e.theme,n=e.className,o=t.palette,r=t.fonts;return{root:[Object(b.R)(Vd,t).root,{fontSize:r.xxLargePlus.fontSize,color:o.themePrimary,display:"block",padding:"16px 16px 0 16px"},n]}}),void 0,{scope:"DocumentCardLogo"}),qd=Object(w.a)(),Gd=function(e){function t(t){var n=e.call(this,t)||this;return Object(be.a)(n),n}return Object(m.c)(t,e),t.prototype.render=function(){var e=this.props,t=e.statusIcon,n=e.status,o=e.styles,r=e.theme,i=e.className,a={iconName:t,styles:{root:{padding:"8px"}}};return this._classNames=qd(o,{theme:r,className:i}),g.createElement("div",{className:this._classNames.root},t&&g.createElement(K,Object(m.a)({},a)),n)},t}(g.Component),Kd={root:"ms-DocumentCardStatus"},Yd=Object(x.a)(Gd,(function(e){var t=e.className,n=e.theme,o=n.palette,r=n.fonts;return{root:[Object(b.R)(Kd,n).root,r.medium,{margin:"8px 16px",color:o.neutralPrimary,backgroundColor:o.neutralLighter,height:"32px"},t]}}),void 0,{scope:"DocumentCardStatus"}),Qd=n(120),$d=function(){function e(){this._size=0}return e.prototype.updateOptions=function(e){for(var t=[],n=0,o=0;o<e.length;o++)e[o].itemType===Cc.Divider||e[o].itemType===Cc.Header?t.push(o):e[o].hidden||n++;this._size=n,this._displayOnlyOptionsCache=t},Object.defineProperty(e.prototype,"optionSetSize",{get:function(){return this._size},enumerable:!0,configurable:!0}),e.prototype.positionInSet=function(e){if(void 0!==e){for(var t=0;e>this._displayOnlyOptionsCache[t];)t++;if(this._displayOnlyOptionsCache[t]===e)throw new Error("Unexpected: Option at index "+e+" is not a selectable element.");return e-t+1}},e}();!function(e){e[e.smallFluid=0]="smallFluid",e[e.smallFixedFar=1]="smallFixedFar",e[e.smallFixedNear=2]="smallFixedNear",e[e.medium=3]="medium",e[e.large=4]="large",e[e.largeFixed=5]="largeFixed",e[e.extraLarge=6]="extraLarge",e[e.custom=7]="custom",e[e.customNear=8]="customNear"}(ld||(ld={}));var Zd,Xd=Object(w.a)();!function(e){e[e.closed=0]="closed",e[e.animatingOpen=1]="animatingOpen",e[e.open=2]="open",e[e.animatingClosed=3]="animatingClosed"}(Zd||(Zd={}));var Jd,ep,tp,np,op,rp,ip,ap,sp=function(e){function t(t){var n=e.call(this,t)||this;n._panel=g.createRef(),n._animationCallback=null,n._hasCustomNavigation=!(!n.props.onRenderNavigation&&!n.props.onRenderNavigationContent),n.dismiss=function(e){n.props.onDismiss&&n.props.onDismiss(e),(!e||e&&!e.defaultPrevented)&&n.close()},n._allowScrollOnPanel=function(e){e?n._allowTouchBodyScroll?Object(Re.b)(e,n._events):Object(Re.c)(e,n._events):n._events.off(n._scrollableContent),n._scrollableContent=e},n._onRenderNavigation=function(e){if(!n.props.onRenderNavigationContent&&!n.props.onRenderNavigation&&!n.props.hasCloseButton)return null;var t=n.props.onRenderNavigationContent,o=void 0===t?n._onRenderNavigationContent:t;return g.createElement("div",{className:n._classNames.navigation},o(e,n._onRenderNavigationContent))},n._onRenderNavigationContent=function(e){var t,o=e.closeButtonAriaLabel,r=e.hasCloseButton,i=e.onRenderHeader,a=void 0===i?n._onRenderHeader:i;if(r){var s=null===(t=n._classNames.subComponentStyles)||void 0===t?void 0:t.closeButton();return g.createElement(g.Fragment,null,!n._hasCustomNavigation&&a(n.props,n._onRenderHeader,n._headerTextId),g.createElement(go,{styles:s,className:n._classNames.closeButton,onClick:n._onPanelClick,ariaLabel:o,title:o,"data-is-visible":!0,iconProps:{iconName:"Cancel"}}))}return null},n._onRenderHeader=function(e,t,o){var r=e.headerText,i=e.headerTextProps,a=void 0===i?{}:i;return r?g.createElement("div",{className:n._classNames.header},g.createElement("div",Object(m.a)({id:o,role:"heading","aria-level":1},a,{className:Object(z.a)(n._classNames.headerText,a.className)}),r)):null},n._onRenderBody=function(e){return g.createElement("div",{className:n._classNames.content},e.children)},n._onRenderFooter=function(e){var t=n.props.onRenderFooterContent,o=void 0===t?null:t;return o?g.createElement("div",{className:n._classNames.footer},g.createElement("div",{className:n._classNames.footerInner},o())):null},n._animateTo=function(e){e===Zd.open&&n.props.onOpen&&n.props.onOpen(),n._animationCallback=n._async.setTimeout((function(){n.setState({visibility:e}),n._onTransitionComplete()}),200)},n._clearExistingAnimationTimer=function(){null!==n._animationCallback&&n._async.clearTimeout(n._animationCallback)},n._onPanelClick=function(e){n.dismiss(e)},n._onTransitionComplete=function(){n._updateFooterPosition(),n.state.visibility===Zd.open&&n.props.onOpened&&n.props.onOpened(),n.state.visibility===Zd.closed&&n.props.onDismissed&&n.props.onDismissed()};var o=n.props.allowTouchBodyScroll,r=void 0!==o&&o;return n._allowTouchBodyScroll=r,n._async=new ye.a(n),n._events=new Ve.a(n),Object(be.a)(n),Object(nt.a)("Panel",t,{ignoreExternalFocusing:"focusTrapZoneProps",forceFocusInsideTrap:"focusTrapZoneProps",firstFocusableSelector:"focusTrapZoneProps"}),n.state={isFooterSticky:!1,visibility:Zd.closed,id:Object(Pe.a)("Panel")},n}return Object(m.c)(t,e),t.getDerivedStateFromProps=function(e,t){return void 0===e.isOpen?null:!e.isOpen||t.visibility!==Zd.closed&&t.visibility!==Zd.animatingClosed?e.isOpen||t.visibility!==Zd.open&&t.visibility!==Zd.animatingOpen?null:{visibility:Zd.animatingClosed}:{visibility:Zd.animatingOpen}},t.prototype.componentDidMount=function(){this._events.on(window,"resize",this._updateFooterPosition),this._shouldListenForOuterClick(this.props)&&this._events.on(document.body,"mousedown",this._dismissOnOuterClick,!0),this.props.isOpen&&this.setState({visibility:Zd.animatingOpen})},t.prototype.componentDidUpdate=function(e,t){var n=this._shouldListenForOuterClick(this.props),o=this._shouldListenForOuterClick(e);this.state.visibility!==t.visibility&&(this._clearExistingAnimationTimer(),this.state.visibility===Zd.animatingOpen?this._animateTo(Zd.open):this.state.visibility===Zd.animatingClosed&&this._animateTo(Zd.closed)),n&&!o?this._events.on(document.body,"mousedown",this._dismissOnOuterClick,!0):!n&&o&&this._events.off(document.body,"mousedown",this._dismissOnOuterClick,!0)},t.prototype.componentWillUnmount=function(){this._async.dispose(),this._events.dispose()},t.prototype.render=function(){var e=this.props,t=e.className,n=void 0===t?"":t,o=e.elementToFocusOnDismiss,r=e.firstFocusableSelector,i=e.focusTrapZoneProps,a=e.forceFocusInsideTrap,s=e.hasCloseButton,c=e.headerText,l=e.headerClassName,u=void 0===l?"":l,d=e.ignoreExternalFocusing,p=e.isBlocking,h=e.isFooterAtBottom,f=e.isLightDismiss,b=e.isHiddenOnDismiss,y=e.layerProps,v=e.overlayProps,_=e.type,S=e.styles,C=e.theme,x=e.customWidth,w=e.onLightDismissClick,k=void 0===w?this._onPanelClick:w,O=e.onRenderNavigation,E=void 0===O?this._onRenderNavigation:O,N=e.onRenderHeader,P=void 0===N?this._onRenderHeader:N,D=e.onRenderBody,A=void 0===D?this._onRenderBody:D,R=e.onRenderFooter,M=void 0===R?this._onRenderFooter:R,F=this.state,j=F.isFooterSticky,L=F.visibility,H=F.id,B=_===ld.smallFixedNear||_===ld.customNear,z=Object(T.a)(C)?B:!B,U=_===ld.custom||_===ld.customNear?{width:x}:{},V=Object(I.j)(this.props,I.h),W=this.isActive,q=L===Zd.animatingClosed||L===Zd.animatingOpen;if(this._headerTextId=c&&H+"-headerText",!W&&!q&&!b)return null;this._classNames=Xd(S,{theme:C,className:n,focusTrapZoneClassName:i?i.className:void 0,hasCloseButton:s,headerClassName:u,isAnimating:q,isFooterSticky:j,isFooterAtBottom:h,isOnRightSide:z,isOpen:W,isHiddenOnDismiss:b,type:_,hasCustomNavigation:this._hasCustomNavigation});var G,K=this._classNames,Y=this._allowTouchBodyScroll;return p&&W&&(G=g.createElement(Hu,Object(m.a)({className:K.overlay,isDarkThemed:!1,onClick:f?k:void 0,allowTouchBodyScroll:Y},v))),g.createElement(En,Object(m.a)({},y),g.createElement(en,{role:"dialog","aria-modal":"true",ariaLabelledBy:this._headerTextId?this._headerTextId:void 0,onDismiss:this.dismiss,className:K.hiddenPanel},g.createElement("div",Object(m.a)({"aria-hidden":!W&&q},V,{ref:this._panel,className:K.root}),G,g.createElement(Ea,Object(m.a)({ignoreExternalFocusing:d,forceFocusInsideTrap:!(!p||b&&!W)&&a,firstFocusableSelector:r,isClickableOutsideFocusTrap:!0},i,{className:K.main,style:U,elementToFocusOnDismiss:o}),g.createElement("div",{className:K.commands,"data-is-visible":!0},E(this.props,this._onRenderNavigation)),g.createElement("div",{className:K.contentInner},(this._hasCustomNavigation||!s)&&P(this.props,this._onRenderHeader,this._headerTextId),g.createElement("div",{ref:this._allowScrollOnPanel,className:K.scrollableContent,"data-is-scrollable":!0},A(this.props,this._onRenderBody)),M(this.props,this._onRenderFooter))))))},t.prototype.open=function(){void 0===this.props.isOpen&&(this.isActive||this.setState({visibility:Zd.animatingOpen}))},t.prototype.close=function(){void 0===this.props.isOpen&&this.isActive&&this.setState({visibility:Zd.animatingClosed})},Object.defineProperty(t.prototype,"isActive",{get:function(){return this.state.visibility===Zd.open||this.state.visibility===Zd.animatingOpen},enumerable:!0,configurable:!0}),t.prototype._shouldListenForOuterClick=function(e){return!!e.isBlocking&&!!e.isOpen},t.prototype._updateFooterPosition=function(){var e=this._scrollableContent;if(e){var t=e.clientHeight,n=e.scrollHeight;this.setState({isFooterSticky:t<n})}},t.prototype._dismissOnOuterClick=function(e){var t=this._panel.current;this.isActive&&t&&!e.defaultPrevented&&(Object(De.a)(t,e.target)||(this.props.onOuterClick?(this.props.onOuterClick(),e.preventDefault()):this.dismiss()))},t.defaultProps={isHiddenOnDismiss:!1,isOpen:void 0,isBlocking:!0,hasCloseButton:!0,type:ld.smallFixedFar},t}(g.Component),cp={root:"ms-Panel",main:"ms-Panel-main",commands:"ms-Panel-commands",contentInner:"ms-Panel-contentInner",scrollableContent:"ms-Panel-scrollableContent",navigation:"ms-Panel-navigation",closeButton:"ms-Panel-closeButton ms-PanelAction-close",header:"ms-Panel-header",headerText:"ms-Panel-headerText",content:"ms-Panel-content",footer:"ms-Panel-footer",footerInner:"ms-Panel-footerInner",isOpen:"is-open",hasCloseButton:"ms-Panel--hasCloseButton",smallFluid:"ms-Panel--smFluid",smallFixedNear:"ms-Panel--smLeft",smallFixedFar:"ms-Panel--sm",medium:"ms-Panel--md",large:"ms-Panel--lg",largeFixed:"ms-Panel--fixed",extraLarge:"ms-Panel--xl",custom:"ms-Panel--custom",customNear:"ms-Panel--customLeft"},lp="auto",up=((Jd={})["@media (min-width: "+b.x+"px)"]={width:340},Jd),dp=((ep={})["@media (min-width: "+b.w+"px)"]={width:592},ep["@media (min-width: "+b.A+"px)"]={width:644},ep),pp=((tp={})["@media (min-width: "+b.z+"px)"]={left:48,width:"auto"},tp["@media (min-width: "+b.B+"px)"]={left:428},tp),hp=((np={})["@media (min-width: "+b.B+"px)"]={left:lp,width:940},np),fp=((op={})["@media (min-width: "+b.B+"px)"]={left:176},op),mp=function(e){var t;switch(e){case ld.smallFixedFar:t=Object(m.a)({},up);break;case ld.medium:t=Object(m.a)(Object(m.a)({},up),dp);break;case ld.large:t=Object(m.a)(Object(m.a)(Object(m.a)({},up),dp),pp);break;case ld.largeFixed:t=Object(m.a)(Object(m.a)(Object(m.a)(Object(m.a)({},up),dp),pp),hp);break;case ld.extraLarge:t=Object(m.a)(Object(m.a)(Object(m.a)(Object(m.a)({},up),dp),pp),fp)}return t},gp={paddingLeft:"24px",paddingRight:"24px"},bp=Object(x.a)(sp,(function(e){var t,n=e.className,o=e.focusTrapZoneClassName,r=e.hasCloseButton,i=e.headerClassName,a=e.isAnimating,s=e.isFooterSticky,c=e.isFooterAtBottom,l=e.isOnRightSide,u=e.isOpen,d=e.isHiddenOnDismiss,p=e.hasCustomNavigation,h=e.theme,f=e.type,g=void 0===f?ld.smallFixedFar:f,y=h.effects,v=h.fonts,_=h.semanticColors,S=Object(b.R)(cp,h),C=g===ld.custom||g===ld.customNear;return{root:[S.root,h.fonts.medium,u&&S.isOpen,r&&S.hasCloseButton,{pointerEvents:"none",position:"absolute",top:0,left:0,right:0,bottom:0},C&&l&&S.custom,C&&!l&&S.customNear,n],overlay:[{pointerEvents:"auto",cursor:"pointer"},u&&a&&b.a.fadeIn100,!u&&a&&b.a.fadeOut100],hiddenPanel:[!u&&!a&&d&&{visibility:"hidden"}],main:[S.main,{backgroundColor:_.bodyBackground,boxShadow:y.elevation64,pointerEvents:"auto",position:"absolute",display:"flex",flexDirection:"column",overflowX:"hidden",overflowY:"auto",WebkitOverflowScrolling:"touch",bottom:0,top:0,left:lp,right:0,width:"100%",selectors:Object(m.a)((t={},t[b.l]={borderLeft:"3px solid "+_.variantBorder,borderRight:"3px solid "+_.variantBorder},t),mp(g))},g===ld.smallFluid&&{left:0},g===ld.smallFixedNear&&{left:0,right:lp,width:272},g===ld.customNear&&{right:"auto",left:0},C&&{maxWidth:"100vw"},u&&a&&!l&&b.a.slideRightIn40,u&&a&&l&&b.a.slideLeftIn40,!u&&a&&!l&&b.a.slideLeftOut40,!u&&a&&l&&b.a.slideRightOut40,o],commands:[S.commands,{marginTop:18},p&&{marginTop:"inherit"}],navigation:[S.navigation,{display:"flex",justifyContent:"flex-end"},p&&{height:"44px"}],contentInner:[S.contentInner,{display:"flex",flexDirection:"column",flexGrow:1,overflowY:"hidden"}],header:[S.header,gp,{alignSelf:"flex-start"},r&&!p&&{flexGrow:1},p&&{flexShrink:0}],headerText:[S.headerText,v.xLarge,{color:_.bodyText,lineHeight:"27px",overflowWrap:"break-word",wordWrap:"break-word",wordBreak:"break-word",hyphens:"auto"},i],scrollableContent:[S.scrollableContent,{overflowY:"auto"},c&&{flexGrow:1}],content:[S.content,gp,{paddingBottom:20}],footer:[S.footer,{flexShrink:0,borderTop:"1px solid transparent",transition:"opacity "+b.c.durationValue3+" "+b.c.easeFunction2},s&&{background:_.bodyBackground,borderTopColor:_.variantBorder}],footerInner:[S.footerInner,gp,{paddingBottom:16,paddingTop:16}],subComponentStyles:{closeButton:{root:[S.closeButton,{marginRight:14,color:h.palette.neutralSecondary,fontSize:b.o.large},p&&{marginRight:0,height:"auto",width:"44px"}],rootHovered:{color:h.palette.neutralPrimary}}}}}),void 0,{scope:"Panel"}),yp=Object(w.a)(),vp=function(e){function t(t){var n=e.call(this,t)||this;n._host=g.createRef(),n._focusZone=g.createRef(),n._dropDown=g.createRef(),n._scrollIdleDelay=250,n._sizePosCache=new $d,n._requestAnimationFrame=Object(Qd.a)(n),n._onChange=function(e,t,o,r,i){var a=n.props,s=a.onChange,c=a.onChanged;if(s||c){var l=i?Object(m.a)(Object(m.a)({},t[o]),{selected:!r}):t[o];s&&s(Object(m.a)(Object(m.a)({},e),{target:n._dropDown.current}),l,o),c&&c(l,o)}},n._onRenderTitle=function(e){var t=n.props.multiSelectDelimiter,o=void 0===t?", ":t,r=e.map((function(e){return e.text})).join(o);return g.createElement(g.Fragment,null,r)},n._onRenderPlaceholder=function(e){return n._placeholder?g.createElement(g.Fragment,null,n._placeholder):null},n._onRenderContainer=function(e){var t=e.calloutProps,o=e.panelProps,r=n.props,i=r.responsiveMode,a=r.dropdownWidth,s=i<=ft.medium,c=n._classNames.subComponentStyles?n._classNames.subComponentStyles.panel:void 0;return s?g.createElement(bp,Object(m.a)({isOpen:!0,isLightDismiss:!0,onDismiss:n._onDismiss,hasCloseButton:!1,styles:c},o),n._renderFocusableList(e)):g.createElement(Nn,Object(m.a)({isBeakVisible:!1,gapSpace:0,doNotLayer:!1,directionalHintFixed:!1,directionalHint:st.bottomLeftEdge},t,{className:n._classNames.callout,target:n._dropDown.current,onDismiss:n._onDismiss,onScroll:n._onScroll,onPositioned:n._onPositioned,calloutWidth:a||(n._dropDown.current?n._dropDown.current.clientWidth:0)}),n._renderFocusableList(e))},n._onRenderCaretDown=function(e){return g.createElement(K,{className:n._classNames.caretDown,iconName:"ChevronDown","aria-hidden":!0})},n._onRenderList=function(e){var t=e.onRenderItem,o=void 0===t?n._onRenderItem:t,r={items:[]},i=[],a=function(){var e=r.id?[g.createElement("div",{role:"group",key:r.id,"aria-labelledby":r.id},r.items)]:r.items;i=Object(m.e)(i,e),r={items:[]}};return e.options.forEach((function(e,t){!function(e,t){switch(e.itemType){case Cc.Header:r.items.length>0&&a();var i=n._id+e.key;r.items.push(o(Object(m.a)(Object(m.a)({id:i},e),{index:t}),n._onRenderItem)),r.id=i;break;case Cc.Divider:t>0&&r.items.push(o(Object(m.a)(Object(m.a)({},e),{index:t}),n._onRenderItem)),r.items.length>0&&a();break;default:r.items.push(o(Object(m.a)(Object(m.a)({},e),{index:t}),n._onRenderItem))}}(e,t)})),r.items.length>0&&a(),g.createElement(g.Fragment,null,i)},n._onRenderItem=function(e){switch(e.itemType){case Cc.Divider:return n._renderSeparator(e);case Cc.Header:return n._renderHeader(e);default:return n._renderOption(e)}},n._renderOption=function(e){var t=n.props.onRenderOption,o=void 0===t?n._onRenderOption:t,r=n.state.selectedIndices,i=void 0===r?[]:r,a=!(void 0===e.index||!i)&&i.indexOf(e.index)>-1,s=e.hidden?n._classNames.dropdownItemHidden:a&&!0===e.disabled?n._classNames.dropdownItemSelectedAndDisabled:a?n._classNames.dropdownItemSelected:!0===e.disabled?n._classNames.dropdownItemDisabled:n._classNames.dropdownItem,c=e.title,l=void 0===c?e.text:c,u=n._classNames.subComponentStyles?n._classNames.subComponentStyles.multiSelectItem:void 0;return n.props.multiSelect?g.createElement(La,{id:n._listId+e.index,key:e.key,"data-index":e.index,"data-is-focusable":!e.disabled,disabled:e.disabled,onChange:n._onItemClick(e),inputProps:{onMouseEnter:n._onItemMouseEnter.bind(n,e),onMouseLeave:n._onMouseItemLeave.bind(n,e),onMouseMove:n._onItemMouseMove.bind(n,e)},label:e.text,title:l,onRenderLabel:n._onRenderItemLabel.bind(n,e),className:s,role:"option","aria-selected":a?"true":"false",checked:a,styles:u,ariaPositionInSet:n._sizePosCache.positionInSet(e.index),ariaSetSize:n._sizePosCache.optionSetSize}):g.createElement(cr,{id:n._listId+e.index,key:e.key,"data-index":e.index,"data-is-focusable":!e.disabled,disabled:e.disabled,className:s,onClick:n._onItemClick(e),onMouseEnter:n._onItemMouseEnter.bind(n,e),onMouseLeave:n._onMouseItemLeave.bind(n,e),onMouseMove:n._onItemMouseMove.bind(n,e),role:"option","aria-selected":a?"true":"false",ariaLabel:e.ariaLabel,title:l,"aria-posinset":n._sizePosCache.positionInSet(e.index),"aria-setsize":n._sizePosCache.optionSetSize},o(e,n._onRenderOption))},n._onRenderOption=function(e){return g.createElement("span",{className:n._classNames.dropdownOptionText},e.text)},n._onRenderItemLabel=function(e){var t=n.props.onRenderOption;return(void 0===t?n._onRenderOption:t)(e,n._onRenderOption)},n._onPositioned=function(e){n._focusZone.current&&n._requestAnimationFrame((function(){var e=n.state.selectedIndices;if(n._focusZone.current)if(e&&e[0]&&!n.props.options[e[0]].disabled){var t=Object(Fe.a)().getElementById(n._id+"-list"+e[0]);t&&n._focusZone.current.focusElement(t)}else n._focusZone.current.focus()})),n.state.calloutRenderEdge&&n.state.calloutRenderEdge===e.targetEdge||n.setState({calloutRenderEdge:e.targetEdge})},n._onItemClick=function(e){return function(t){e.disabled||(n.setSelectedIndex(t,e.index),n.props.multiSelect||n.setState({isOpen:!1}))}},n._onScroll=function(){n._isScrollIdle||void 0===n._scrollIdleTimeoutId?n._isScrollIdle=!1:(clearTimeout(n._scrollIdleTimeoutId),n._scrollIdleTimeoutId=void 0),n._scrollIdleTimeoutId=setTimeout((function(){n._isScrollIdle=!0}),n._scrollIdleDelay)},n._onMouseItemLeave=function(e,t){if(!n._shouldIgnoreMouseEvent()&&n._host.current)if(n._host.current.setActive)try{n._host.current.setActive()}catch(e){}else n._host.current.focus()},n._onDismiss=function(){n.setState({isOpen:!1})},n._onDropdownBlur=function(e){n._isDisabled()||(n.setState({hasFocus:!1}),n.state.isOpen||n.props.onBlur&&n.props.onBlur(e))},n._onDropdownKeyDown=function(e){if(!n._isDisabled()&&(n._lastKeyDownWasAltOrMeta=n._isAltOrMeta(e),!n.props.onKeyDown||(n.props.onKeyDown(e),!e.defaultPrevented))){var t,o=n.state.selectedIndices.length?n.state.selectedIndices[0]:-1,r=e.altKey||e.metaKey,i=n.state.isOpen;switch(e.which){case ge.a.enter:n.setState({isOpen:!i});break;case ge.a.escape:if(!i)return;n.setState({isOpen:!1});break;case ge.a.up:if(r){if(i){n.setState({isOpen:!1});break}return}n.props.multiSelect?n.setState({isOpen:!0}):n._isDisabled()||(t=n._moveIndex(e,-1,o-1,o));break;case ge.a.down:r&&(e.stopPropagation(),e.preventDefault()),r&&!i||n.props.multiSelect?n.setState({isOpen:!0}):n._isDisabled()||(t=n._moveIndex(e,1,o+1,o));break;case ge.a.home:n.props.multiSelect||(t=n._moveIndex(e,1,0,o));break;case ge.a.end:n.props.multiSelect||(t=n._moveIndex(e,-1,n.props.options.length-1,o));break;case ge.a.space:break;default:return}t!==o&&(e.stopPropagation(),e.preventDefault())}},n._onDropdownKeyUp=function(e){if(!n._isDisabled()){var t=n._shouldHandleKeyUp(e),o=n.state.isOpen;if(!n.props.onKeyUp||(n.props.onKeyUp(e),!e.defaultPrevented)){switch(e.which){case ge.a.space:n.setState({isOpen:!o});break;default:return void(t&&o&&n.setState({isOpen:!1}))}e.stopPropagation(),e.preventDefault()}}},n._onZoneKeyDown=function(e){var t;n._lastKeyDownWasAltOrMeta=n._isAltOrMeta(e);var o=e.altKey||e.metaKey;switch(e.which){case ge.a.up:o?n.setState({isOpen:!1}):n._host.current&&(t=Object(Ee.h)(n._host.current,n._host.current.lastChild,!0));break;case ge.a.home:case ge.a.end:case ge.a.pageUp:case ge.a.pageDown:break;case ge.a.down:!o&&n._host.current&&(t=Object(Ee.e)(n._host.current,n._host.current.firstChild,!0));break;case ge.a.escape:n.setState({isOpen:!1});break;case ge.a.tab:return void n.setState({isOpen:!1});default:return}t&&t.focus(),e.stopPropagation(),e.preventDefault()},n._onZoneKeyUp=function(e){n._shouldHandleKeyUp(e)&&n.state.isOpen&&(n.setState({isOpen:!1}),e.preventDefault())},n._onDropdownClick=function(e){if(!n.props.onClick||(n.props.onClick(e),!e.defaultPrevented)){var t=n.state.isOpen;n._isDisabled()||n._shouldOpenOnFocus()||n.setState({isOpen:!t}),n._isFocusedByClick=!1}},n._onDropdownMouseDown=function(){n._isFocusedByClick=!0},n._onFocus=function(e){var t=n.state,o=t.isOpen,r=t.selectedIndices,i=n.props.multiSelect;if(!n._isDisabled()){n._isFocusedByClick||o||0!==r.length||i||n._moveIndex(e,1,0,-1),n.props.onFocus&&n.props.onFocus(e);var a={hasFocus:!0};n._shouldOpenOnFocus()&&(a.isOpen=!0),n.setState(a)}},n._isDisabled=function(){var e=n.props.disabled,t=n.props.isDisabled;return void 0===e&&(e=t),e},n._onRenderLabel=function(e){var t=e.label,o=e.required,r=e.disabled,i=n._classNames.subComponentStyles?n._classNames.subComponentStyles.label:void 0;return t?g.createElement(za,{className:n._classNames.label,id:n._labelId,required:o,styles:i,disabled:r},t):null},Object(be.a)(n);var o,r=t.multiSelect,i=t.selectedKey,a=t.selectedKeys,s=t.defaultSelectedKey,c=t.defaultSelectedKeys,l=t.options;return n._id=t.id||Object(Pe.a)("Dropdown"),n._labelId=n._id+"-label",n._listId=n._id+"-list",n._optionId=n._id+"-option",n._isScrollIdle=!0,o=r?n._getSelectedIndexes(l,void 0!==c?c:a):n._getSelectedIndexes(l,void 0!==s?s:i),n._sizePosCache.updateOptions(l),n.state={isOpen:!1,selectedIndices:o,hasFocus:!1,calloutRenderEdge:void 0},n}return Object(m.c)(t,e),Object.defineProperty(t.prototype,"selectedOptions",{get:function(){return Lc(this.props.options,this.state.selectedIndices)},enumerable:!0,configurable:!0}),t.prototype.componentWillUnmount=function(){clearTimeout(this._scrollIdleTimeoutId)},t.prototype.UNSAFE_componentWillReceiveProps=function(e){var t,n=e.options!==this.props.options;void 0===e[t=e.multiSelect?n&&void 0!==e.defaultSelectedKeys?"defaultSelectedKeys":"selectedKeys":n&&void 0!==e.defaultSelectedKey?"defaultSelectedKey":"selectedKey"]||e[t]===this.props[t]&&!n||this.setState({selectedIndices:this._getSelectedIndexes(e.options,e[t])}),e.options!==this.props.options&&this._sizePosCache.updateOptions(e.options)},t.prototype.componentDidUpdate=function(e,t){!0===t.isOpen&&!1===this.state.isOpen&&(this._gotMouseMove=!1,this.props.onDismiss&&this.props.onDismiss())},t.prototype.render=function(){var e=this,t=this._id,n=this.props,o=n.className,r=n.label,i=n.options,a=n.ariaLabel,s=n.required,c=n.errorMessage,l=n.keytipProps,u=n.styles,d=n.theme,p=n.panelProps,h=n.calloutProps,f=n.multiSelect,b=n.onRenderTitle,y=void 0===b?this._onRenderTitle:b,v=n.onRenderContainer,_=void 0===v?this._onRenderContainer:v,S=n.onRenderCaretDown,C=void 0===S?this._onRenderCaretDown:S,x=n.onRenderLabel,w=void 0===x?this._onRenderLabel:x,T=this.state,k=T.isOpen,O=T.selectedIndices,E=T.calloutRenderEdge,N=n.onRenderPlaceholder||n.onRenderPlaceHolder||this._onRenderPlaceholder,P=Lc(i,O),D=Object(I.j)(n,I.h),A=this._isDisabled(),R=t+"-errorMessage",M=A?void 0:k&&1===O.length&&O[0]>=0?this._listId+O[0]:void 0,F=f?{role:"button"}:{role:"listbox",childRole:"option",ariaSetSize:this._sizePosCache.optionSetSize,ariaPosInSet:this._sizePosCache.positionInSet(O[0]),ariaSelected:void 0!==O[0]||void 0};this._classNames=yp(u,{theme:d,className:o,hasError:!!(c&&c.length>0),hasLabel:!!r,isOpen:k,required:s,disabled:A,isRenderingPlaceholder:!P.length,panelClassName:p?p.className:void 0,calloutClassName:h?h.className:void 0,calloutRenderEdge:E});var j=!!c&&c.length>0;return g.createElement("div",{className:this._classNames.root},w(this.props,this._onRenderLabel),g.createElement($e,{keytipProps:l,disabled:A},(function(o){return g.createElement("div",Object(m.a)({},o,{"data-is-focusable":!A,ref:e._dropDown,id:t,tabIndex:A?-1:0,role:F.role,"aria-haspopup":"listbox","aria-expanded":k?"true":"false","aria-label":a,"aria-labelledby":r&&!a?Object(Ue.a)(e._labelId,e._optionId):void 0,"aria-describedby":Object(Ue.a)(o["aria-describedby"],j?e._id+"-errorMessage":void 0),"aria-activedescendant":M,"aria-required":s,"aria-disabled":A,"aria-owns":k?e._listId:void 0},D,{className:e._classNames.dropdown,onBlur:e._onDropdownBlur,onKeyDown:e._onDropdownKeyDown,onKeyUp:e._onDropdownKeyUp,onClick:e._onDropdownClick,onMouseDown:e._onDropdownMouseDown,onFocus:e._onFocus}),g.createElement("span",{id:e._optionId,className:e._classNames.title,"aria-live":"polite","aria-atomic":!0,"aria-invalid":j,role:F.childRole,"aria-setsize":F.ariaSetSize,"aria-posinset":F.ariaPosInSet,"aria-selected":F.ariaSelected},P.length?y(P,e._onRenderTitle):N(n,e._onRenderPlaceholder)),g.createElement("span",{className:e._classNames.caretDownWrapper},C(n,e._onRenderCaretDown)))})),k&&_(Object(m.a)(Object(m.a)({},n),{onDismiss:this._onDismiss}),this._onRenderContainer),j&&g.createElement("div",{role:"alert",id:R,className:this._classNames.errorMessage},c))},t.prototype.focus=function(e){this._dropDown.current&&(this._dropDown.current.focus(),e&&this.setState({isOpen:!0}))},t.prototype.setSelectedIndex=function(e,t){var n=this,o=this.props,r=o.options,i=o.selectedKey,a=o.selectedKeys,s=o.multiSelect,c=o.notifyOnReselect,l=this.state.selectedIndices,u=void 0===l?[]:l,d=!!u&&u.indexOf(t)>-1,p=[];if(t=Math.max(0,Math.min(r.length-1,t)),void 0===i&&void 0===a){if(s||c||t!==u[0]){if(s)if(p=u?this._copyArray(u):[],d){var h=p.indexOf(t);h>-1&&p.splice(h,1)}else p.push(t);else p=[t];e.persist(),this.setState({selectedIndices:p},(function(){n._onChange(e,r,t,d,s)}))}}else this._onChange(e,r,t,d,s)},Object.defineProperty(t.prototype,"_placeholder",{get:function(){return this.props.placeholder||this.props.placeHolder},enumerable:!0,configurable:!0}),t.prototype._copyArray=function(e){for(var t=[],n=0,o=e;n<o.length;n++){var r=o[n];t.push(r)}return t},t.prototype._moveIndex=function(e,t,n,o){var r=this.props.options;if(o===n||0===r.length)return o;n>=r.length?n=0:n<0&&(n=r.length-1);for(var i=0;r[n].itemType===Cc.Header||r[n].itemType===Cc.Divider||r[n].disabled;){if(i>=r.length)return o;n+t<0?n=r.length:n+t>=r.length&&(n=-1),n+=t,i++}return this.setSelectedIndex(e,n),n},t.prototype._renderFocusableList=function(e){var t=e.onRenderList,n=void 0===t?this._onRenderList:t,o=e.label,r=e.ariaLabel,i=e.multiSelect;return g.createElement("div",{className:this._classNames.dropdownItemsWrapper,onKeyDown:this._onZoneKeyDown,onKeyUp:this._onZoneKeyUp,ref:this._host,tabIndex:0},g.createElement(ze,{ref:this._focusZone,direction:le.vertical,id:this._listId,className:this._classNames.dropdownItems,role:"listbox","aria-label":r,"aria-labelledby":o&&!r?this._labelId:void 0,"aria-multiselectable":i},n(e,this._onRenderList)))},t.prototype._renderSeparator=function(e){var t=e.index,n=e.key;return t>0?g.createElement("div",{role:"separator",key:n,className:this._classNames.dropdownDivider}):null},t.prototype._renderHeader=function(e){var t=this.props.onRenderOption,n=void 0===t?this._onRenderOption:t,o=e.key,r=e.id;return g.createElement("div",{id:r,key:o,className:this._classNames.dropdownItemHeader},n(e,this._onRenderOption))},t.prototype._onItemMouseEnter=function(e,t){this._shouldIgnoreMouseEvent()||t.currentTarget.focus()},t.prototype._onItemMouseMove=function(e,t){var n=t.currentTarget;this._gotMouseMove=!0,this._isScrollIdle&&document.activeElement!==n&&n.focus()},t.prototype._shouldIgnoreMouseEvent=function(){return!this._isScrollIdle||!this._gotMouseMove},t.prototype._getSelectedIndexes=function(e,t){if(void 0===t)return this.props.multiSelect?this._getAllSelectedIndices(e):-1!==(i=this._getSelectedIndex(e,null))?[i]:[];if(!Array.isArray(t))return-1!==(i=this._getSelectedIndex(e,t))?[i]:[];for(var n=[],o=0,r=t;o<r.length;o++){var i,a=r[o];-1!==(i=this._getSelectedIndex(e,a))&&n.push(i)}return n},t.prototype._getAllSelectedIndices=function(e){return e.map((function(e,t){return e.selected?t:-1})).filter((function(e){return-1!==e}))},t.prototype._getSelectedIndex=function(e,t){return Object(qe.e)(e,(function(e){return null!=t?e.key===t:!!e.selected||!!e.isSelected}))},t.prototype._isAltOrMeta=function(e){return e.which===ge.a.alt||"Meta"===e.key},t.prototype._shouldHandleKeyUp=function(e){var t=this._lastKeyDownWasAltOrMeta&&this._isAltOrMeta(e);return this._lastKeyDownWasAltOrMeta=!1,!!t&&!(Object(ct.a)()||Object(lt.a)())},t.prototype._shouldOpenOnFocus=function(){var e=this.state.hasFocus,t=this.props.openOnKeyboardFocus;return!this._isFocusedByClick&&!0===t&&!e},t.defaultProps={options:[]},Object(m.b)([St],t)}(g.Component),_p={root:"ms-Dropdown-container",label:"ms-Dropdown-label",dropdown:"ms-Dropdown",title:"ms-Dropdown-title",caretDownWrapper:"ms-Dropdown-caretDownWrapper",caretDown:"ms-Dropdown-caretDown",callout:"ms-Dropdown-callout",panel:"ms-Dropdown-panel",dropdownItems:"ms-Dropdown-items",dropdownItem:"ms-Dropdown-item",dropdownDivider:"ms-Dropdown-divider",dropdownOptionText:"ms-Dropdown-optionText",dropdownItemHeader:"ms-Dropdown-header",titleIsPlaceHolder:"ms-Dropdown-titleIsPlaceHolder",titleHasError:"ms-Dropdown-title--hasError"},Sp=((rp={})[b.l+", "+b.n.replace("@media ","")]={MsHighContrastAdjust:"none"},rp),Cp={selectors:Object(m.a)((ip={},ip[b.l]={backgroundColor:"Highlight",borderColor:"Highlight",color:"HighlightText"},ip),Sp)},xp={selectors:(ap={},ap[b.l]={borderColor:"Highlight"},ap)},wp=Object(b.W)(0,b.x),Tp=Object(x.a)(vp,(function(e){var t,n,o,r,i,a,s,c,l,u,d=e.theme,p=e.hasError,h=e.hasLabel,f=e.className,g=e.isOpen,y=e.disabled,v=e.required,_=e.isRenderingPlaceholder,S=e.panelClassName,C=e.calloutClassName,x=e.calloutRenderEdge;if(!d)throw new Error("theme is undefined or null in base Dropdown getStyles function.");var w=Object(b.R)(_p,d),T=d.palette,k=d.semanticColors,I=d.effects,O=d.fonts,E={color:k.menuItemTextHovered},N={color:k.menuItemText},P={borderColor:k.errorText},D=[w.dropdownItem,{backgroundColor:"transparent",boxSizing:"border-box",cursor:"pointer",display:"flex",alignItems:"center",padding:"0 8px",width:"100%",minHeight:36,lineHeight:20,height:0,position:"relative",border:"1px solid transparent",borderRadius:0,wordWrap:"break-word",overflowWrap:"break-word",textAlign:"left"}],A=k.menuItemBackgroundPressed,R=function(e){var t;return void 0===e&&(e=!1),{selectors:(t={"&:hover:focus":[{color:k.menuItemTextHovered,backgroundColor:e?A:k.menuItemBackgroundHovered},Cp],"&:focus":[{backgroundColor:e?A:"transparent"},Cp],"&:active":[{color:k.menuItemTextHovered,backgroundColor:e?k.menuItemBackgroundHovered:k.menuBackground},Cp]},t[b.l]={borderColor:"Window"},t["."+Fn.a+" &:focus:after"]={left:0,top:0,bottom:0,right:0},t)}},M=Object(m.e)(D,[{backgroundColor:A,color:k.menuItemTextHovered},R(!0),Cp]),F=Object(m.e)(D,[{color:k.disabledText,cursor:"default",selectors:(t={},t[b.l]={color:"GrayText"},t)}]),j=x===Ct.bottom?I.roundedCorner2+" "+I.roundedCorner2+" 0 0":"0 0 "+I.roundedCorner2+" "+I.roundedCorner2,L=x===Ct.bottom?"0 0 "+I.roundedCorner2+" "+I.roundedCorner2:I.roundedCorner2+" "+I.roundedCorner2+" 0 0";return{root:[w.root,f],label:w.label,dropdown:[w.dropdown,b.fb,O.medium,{color:k.menuItemText,borderColor:k.focusBorder,position:"relative",outline:0,userSelect:"none",selectors:(n={},n["&:hover ."+w.title]=[!y&&E,{borderColor:g?T.neutralSecondary:T.neutralPrimary},xp],n["&:focus ."+w.title]=[!y&&E,{selectors:(o={},o[b.l]={color:"Highlight"},o)}],n["&:focus:after"]=[{pointerEvents:"none",content:"''",position:"absolute",boxSizing:"border-box",top:"0px",left:"0px",width:"100%",height:"100%",border:y?"none":"2px solid "+T.themePrimary,borderRadius:"2px",selectors:(r={},r[b.l]={borderColor:"Highlight",color:"Highlight"},r)}],n["&:active ."+w.title]=[!y&&E,{borderColor:T.themePrimary},xp],n["&:hover ."+w.caretDown]=!y&&N,n["&:focus ."+w.caretDown]=[!y&&N,{selectors:(i={},i[b.l]={color:"Highlight"},i)}],n["&:active ."+w.caretDown]=!y&&N,n["&:hover ."+w.titleIsPlaceHolder]=!y&&N,n["&:focus ."+w.titleIsPlaceHolder]=!y&&N,n["&:active ."+w.titleIsPlaceHolder]=!y&&N,n["&:hover ."+w.titleHasError]=P,n["&:active ."+w.titleHasError]=P,n)},g&&"is-open",y&&"is-disabled",v&&"is-required",v&&!h&&{selectors:(a={":before":{content:"'*'",color:k.errorText,position:"absolute",top:-5,right:-10}},a[b.l]={selectors:{":after":{right:-14}}},a)}],title:[w.title,b.fb,{backgroundColor:k.inputBackground,borderWidth:1,borderStyle:"solid",borderColor:k.inputBorder,borderRadius:g?j:I.roundedCorner2,cursor:"pointer",display:"block",height:32,lineHeight:30,padding:"0 28px 0 8px",position:"relative",overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"},_&&[w.titleIsPlaceHolder,{color:k.inputPlaceholderText}],p&&[w.titleHasError,P],y&&{backgroundColor:k.disabledBackground,border:"none",color:k.disabledText,cursor:"default",selectors:(s={},s[b.l]={border:"1px solid GrayText",color:"GrayText"},s)}],caretDownWrapper:[w.caretDownWrapper,{position:"absolute",top:1,right:8,height:32,lineHeight:30},!y&&{cursor:"pointer"}],caretDown:[w.caretDown,{color:T.neutralSecondary,fontSize:O.small.fontSize,pointerEvents:"none"},y&&{color:k.disabledText,selectors:(c={},c[b.l]={color:"GrayText"},c)}],errorMessage:Object(m.a)(Object(m.a)({color:k.errorText},d.fonts.small),{paddingTop:5}),callout:[w.callout,{boxShadow:I.elevation8,borderRadius:L,selectors:(l={},l[".ms-Callout-main"]={borderRadius:L},l)},C],dropdownItemsWrapper:{selectors:{"&:focus":{outline:0}}},dropdownItems:[w.dropdownItems,{display:"block"}],dropdownItem:Object(m.e)(D,[R()]),dropdownItemSelected:M,dropdownItemDisabled:F,dropdownItemSelectedAndDisabled:[M,F,{backgroundColor:"transparent"}],dropdownItemHidden:Object(m.e)(D,[{display:"none"}]),dropdownDivider:[w.dropdownDivider,{height:1,backgroundColor:k.bodyDivider}],dropdownOptionText:[w.dropdownOptionText,{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",minWidth:0,maxWidth:"100%",wordWrap:"break-word",overflowWrap:"break-word",margin:"1px"}],dropdownItemHeader:[w.dropdownItemHeader,Object(m.a)(Object(m.a)({},O.medium),{fontWeight:b.k.semibold,color:k.menuHeader,background:"none",backgroundColor:"transparent",border:"none",height:36,lineHeight:36,cursor:"default",padding:"0 8px",userSelect:"none",textAlign:"left"})],subComponentStyles:{label:{root:{display:"inline-block"}},multiSelectItem:{root:{padding:0},label:{alignSelf:"stretch",padding:"0 8px",width:"100%"}},panel:{root:[S],main:{selectors:(u={},u[wp]={width:272},u)},contentInner:{padding:"0 0 20px"}}}}}),void 0,{scope:"Dropdown"});Object(Pr.a)([{rawString:".pickerText_34694d2a{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-sizing:border-box;box-sizing:border-box;border:1px solid "},{theme:"neutralTertiary",defaultValue:"#a19f9d"},{rawString:";min-width:180px;padding:1px;min-height:32px}.pickerText_34694d2a:hover{border-color:"},{theme:"themeLight",defaultValue:"#c7e0f4"},{rawString:"}.pickerInput_34694d2a{height:34px;border:none;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;outline:0;padding:0 6px 0;margin:1px}.pickerInput_34694d2a::-ms-clear{display:none}"}]);var kp,Ip,Op="pickerText_34694d2a",Ep="pickerInput_34694d2a",Np=r,Pp=function(e){function t(t){var n=e.call(this,t)||this;return n.floatingPicker=g.createRef(),n.selectedItemsList=g.createRef(),n.root=g.createRef(),n.input=g.createRef(),n.onSelectionChange=function(){n.forceUpdate()},n.onInputChange=function(e,t){t||(n.setState({queryString:e}),n.floatingPicker.current&&n.floatingPicker.current.onQueryStringChanged(e))},n.onInputFocus=function(e){n.selectedItemsList.current&&n.selectedItemsList.current.unselectAll(),n.props.inputProps&&n.props.inputProps.onFocus&&n.props.inputProps.onFocus(e)},n.onInputClick=function(e){if(n.selectedItemsList.current&&n.selectedItemsList.current.unselectAll(),n.floatingPicker.current&&n.inputElement){var t=""===n.inputElement.value||n.inputElement.value!==n.floatingPicker.current.inputText;n.floatingPicker.current.showPicker(t)}},n.onBackspace=function(e){e.which===ge.a.backspace&&n.selectedItemsList.current&&n.items.length&&(n.input.current&&!n.input.current.isValueSelected&&n.input.current.inputElement===document.activeElement&&0===n.input.current.cursorLocation?(n.floatingPicker.current&&n.floatingPicker.current.hidePicker(),e.preventDefault(),n.selectedItemsList.current.removeItemAt(n.items.length-1),n._onSelectedItemsChanged()):n.selectedItemsList.current.hasSelectedItems()&&(n.floatingPicker.current&&n.floatingPicker.current.hidePicker(),e.preventDefault(),n.selectedItemsList.current.removeSelectedItems(),n._onSelectedItemsChanged()))},n.onCopy=function(e){n.selectedItemsList.current&&n.selectedItemsList.current.onCopy(e)},n.onPaste=function(e){if(n.props.onPaste){var t=e.clipboardData.getData("Text");e.preventDefault(),n.props.onPaste(t)}},n._onSuggestionSelected=function(e){var t=n.props.currentRenderedQueryString,o=n.state.queryString;if(void 0===t||t===o){var r=n.props.onItemSelected?n.props.onItemSelected(e):e;if(null===r)return;var i,a=r,s=r;s&&s.then?s.then((function(e){i=e,n._addProcessedItem(i)})):(i=a,n._addProcessedItem(i))}},n._onSelectedItemsChanged=function(){n.focus()},n._onSuggestionsShownOrHidden=function(){n.forceUpdate()},Object(be.a)(n),n.selection=new dl({onSelectionChanged:function(){return n.onSelectionChange()}}),n.state={queryString:"",suggestionItems:n.props.suggestionItems?n.props.suggestionItems:null,selectedItems:n.props.defaultSelectedItems?n.props.defaultSelectedItems:n.props.selectedItems?n.props.selectedItems:null},n.floatingPickerProps=n.props.floatingPickerProps,n.selectedItemsListProps=n.props.selectedItemsListProps,n}return Object(m.c)(t,e),Object.defineProperty(t.prototype,"items",{get:function(){return this.state.selectedItems?this.state.selectedItems:this.selectedItemsList.current?this.selectedItemsList.current.items:null},enumerable:!0,configurable:!0}),t.prototype.componentDidMount=function(){this.forceUpdate()},t.prototype.UNSAFE_componentWillReceiveProps=function(e){e.floatingPickerProps&&(this.floatingPickerProps=e.floatingPickerProps),e.selectedItemsListProps&&(this.selectedItemsListProps=e.selectedItemsListProps),e.selectedItems&&this.setState({selectedItems:e.selectedItems})},t.prototype.focus=function(){this.input.current&&this.input.current.focus()},t.prototype.clearInput=function(){this.input.current&&this.input.current.clear()},Object.defineProperty(t.prototype,"inputElement",{get:function(){return this.input.current&&this.input.current.inputElement},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"highlightedItems",{get:function(){return this.selectedItemsList.current?this.selectedItemsList.current.highlightedItems():[]},enumerable:!0,configurable:!0}),t.prototype.render=function(){var e=this.props,t=e.className,n=e.inputProps,o=e.disabled,r=e.focusZoneProps,i=this.floatingPicker.current&&-1!==this.floatingPicker.current.currentSelectedSuggestionIndex?"sug-"+this.floatingPicker.current.currentSelectedSuggestionIndex:void 0,a=!!this.floatingPicker.current&&this.floatingPicker.current.isSuggestionsShown;return g.createElement("div",{ref:this.root,className:Object(z.a)("ms-BasePicker ms-BaseExtendedPicker",t||""),onKeyDown:this.onBackspace,onCopy:this.onCopy},g.createElement(ze,Object(m.a)({direction:le.bidirectional},r),g.createElement(vl,{selection:this.selection,selectionMode:Yc.multiple},g.createElement("div",{className:Object(z.a)("ms-BasePicker-text",Np.pickerText),role:"list"},this.props.headerComponent,this.renderSelectedItemsList(),this.canAddItems()&&g.createElement(ve,Object(m.a)({},n,{className:Object(z.a)("ms-BasePicker-input",Np.pickerInput),ref:this.input,onFocus:this.onInputFocus,onClick:this.onInputClick,onInputValueChange:this.onInputChange,"aria-activedescendant":i,"aria-owns":a?"suggestion-list":void 0,"aria-expanded":a,"aria-haspopup":"true",role:"combobox",disabled:o,onPaste:this.onPaste}))))),this.renderFloatingPicker())},t.prototype.canAddItems=function(){var e=this.props.itemLimit;return void 0===e||this.items.length<e},t.prototype.renderFloatingPicker=function(){var e=this.props.onRenderFloatingPicker;return g.createElement(e,Object(m.a)({componentRef:this.floatingPicker,onChange:this._onSuggestionSelected,onSuggestionsHidden:this._onSuggestionsShownOrHidden,onSuggestionsShown:this._onSuggestionsShownOrHidden,inputElement:this.input.current?this.input.current.inputElement:void 0,selectedItems:this.items,suggestionItems:this.props.suggestionItems?this.props.suggestionItems:void 0},this.floatingPickerProps))},t.prototype.renderSelectedItemsList=function(){var e=this.props.onRenderSelectedItems;return g.createElement(e,Object(m.a)({componentRef:this.selectedItemsList,selection:this.selection,selectedItems:this.props.selectedItems?this.props.selectedItems:void 0,onItemsDeleted:this.props.selectedItems?this.props.onItemsRemoved:void 0},this.selectedItemsListProps))},t.prototype._addProcessedItem=function(e){this.props.onItemAdded&&this.props.onItemAdded(e),this.selectedItemsList.current&&this.selectedItemsList.current.addItems([e]),this.input.current&&this.input.current.clear(),this.floatingPicker.current&&this.floatingPicker.current.hidePicker(),this.focus()},t}(g.Component),Dp=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(m.c)(t,e),t}(Pp),Ap=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(m.c)(t,e),t}(Dp);(Ip=kp||(kp={}))[Ip.none=0]="none",Ip[Ip.descriptive=1]="descriptive",Ip[Ip.more=2]="more",Ip[Ip.downArrow=3]="downArrow";var Rp=Object(y.c)((function(e,t,n){var o=ho(e),r=Object(b.H)(o,n);return Object(m.a)(Object(m.a)({},r),{root:[o.root,t,e.fonts.medium,n&&n.root]})})),Mp=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(m.c)(t,e),t.prototype.render=function(){var e=this.props,t=e.className,n=e.styles,o=Object(m.d)(e,["className","styles"]),r=Rp(this.props.theme,t,n);return g.createElement(lo,Object(m.a)({},o,{variantClassName:"ms-Button--facepile",styles:r,onRenderDescription:rt.b}))},Object(m.b)([Object(Sn.a)("FacepileButton",["theme","styles"],!0)],t)}(g.Component),Fp=Object(w.a)(),jp=function(e){function t(t){var n=e.call(this,t)||this;return n._onRenderPersonaCoin=function(e){return g.createElement(he,Object(m.a)({},e))},n}return Object(m.c)(t,e),t.prototype.render=function(){var e=this._onRenderText(this._getText()),t=this._onRenderText(this.props.secondaryText),n=this._onRenderText(this.props.tertiaryText),o=this._onRenderText(this.props.optionalText),r=this.props,i=r.hidePersonaDetails,a=r.onRenderOptionalText,s=void 0===a?o:a,c=r.onRenderPrimaryText,l=void 0===c?e:c,u=r.onRenderSecondaryText,d=void 0===u?t:u,p=r.onRenderTertiaryText,h=void 0===p?n:p,f=r.onRenderPersonaCoin,b=void 0===f?this._onRenderPersonaCoin:f,y=this.props.size,v=this.props,_=v.allowPhoneInitials,S=v.className,C=v.coinProps,x=v.showUnknownPersonaCoin,w=v.coinSize,T=v.styles,k=v.imageAlt,E=v.imageInitials,N=v.imageShouldFadeIn,P=v.imageShouldStartVisible,D=v.imageUrl,A=v.initialsColor,R=v.isOutOfOffice,M=v.onPhotoLoadingStateChange,F=v.onRenderCoin,j=v.onRenderInitials,L=v.presence,H=v.presenceTitle,B=v.presenceColors,z=v.showInitialsUntilImageLoads,U=v.showSecondaryText,V=v.theme,W=Object(m.a)({allowPhoneInitials:_,showUnknownPersonaCoin:x,coinSize:w,imageAlt:k,imageInitials:E,imageShouldFadeIn:N,imageShouldStartVisible:P,imageUrl:D,initialsColor:A,onPhotoLoadingStateChange:M,onRenderCoin:F,onRenderInitials:j,presence:L,presenceTitle:H,showInitialsUntilImageLoads:z,size:y,text:this._getText(),isOutOfOffice:R,presenceColors:B},C),q=Fp(T,{theme:V,className:S,showSecondaryText:U,presence:L,size:y}),G=Object(I.j)(this.props,I.h),K=g.createElement("div",{className:q.details},this._renderElement(q.primaryText,l,e),this._renderElement(q.secondaryText,d,t),this._renderElement(q.tertiaryText,h,n),this._renderElement(q.optionalText,s,o),this.props.children);return g.createElement("div",Object(m.a)({},G,{className:q.root,style:w?{height:w,minWidth:w}:void 0}),b(W,this._onRenderPersonaCoin),(!i||y===O.size8||y===O.size10||y===O.tiny)&&K)},t.prototype._renderElement=function(e,t,n){return g.createElement("div",{dir:"auto",className:e},t&&t(this.props,n))},t.prototype._getText=function(){return this.props.text||this.props.primaryText||""},t.prototype._onRenderText=function(e){return e?function(){return g.createElement(Mo,{content:e,overflowMode:bo.Parent,directionalHint:st.topLeftEdge},e)}:void 0},t.defaultProps={size:O.size48,presence:E.none,imageAlt:""},t}(g.Component),Lp={root:"ms-Persona",size8:"ms-Persona--size8",size10:"ms-Persona--size10",size16:"ms-Persona--size16",size24:"ms-Persona--size24",size28:"ms-Persona--size28",size32:"ms-Persona--size32",size40:"ms-Persona--size40",size48:"ms-Persona--size48",size56:"ms-Persona--size56",size72:"ms-Persona--size72",size100:"ms-Persona--size100",size120:"ms-Persona--size120",available:"ms-Persona--online",away:"ms-Persona--away",blocked:"ms-Persona--blocked",busy:"ms-Persona--busy",doNotDisturb:"ms-Persona--donotdisturb",offline:"ms-Persona--offline",details:"ms-Persona-details",primaryText:"ms-Persona-primaryText",secondaryText:"ms-Persona-secondaryText",tertiaryText:"ms-Persona-tertiaryText",optionalText:"ms-Persona-optionalText",textContent:"ms-Persona-textContent"},Hp=Object(x.a)(jp,(function(e){var t=e.className,n=e.showSecondaryText,o=e.theme,r=o.semanticColors,i=o.fonts,a=Object(b.R)(Lp,o),s=Y(e.size),c=$(e.presence),l={color:r.bodySubtext,fontWeight:b.k.regular,fontSize:i.small.fontSize};return{root:[a.root,o.fonts.medium,b.fb,{color:r.bodyText,position:"relative",height:D.size48,minWidth:D.size48,display:"flex",alignItems:"center",selectors:{".contextualHost":{display:"none"}}},s.isSize8&&[a.size8,{height:D.size8,minWidth:D.size8}],s.isSize10&&[a.size10,{height:D.size10,minWidth:D.size10}],s.isSize16&&[a.size16,{height:D.size16,minWidth:D.size16}],s.isSize24&&[a.size24,{height:D.size24,minWidth:D.size24}],s.isSize24&&n&&{height:"36px"},s.isSize28&&[a.size28,{height:D.size28,minWidth:D.size28}],s.isSize28&&n&&{height:"32px"},s.isSize32&&[a.size32,{height:D.size32,minWidth:D.size32}],s.isSize40&&[a.size40,{height:D.size40,minWidth:D.size40}],s.isSize48&&a.size48,s.isSize56&&[a.size56,{height:D.size56,minWidth:D.size56}],s.isSize72&&[a.size72,{height:D.size72,minWidth:D.size72}],s.isSize100&&[a.size100,{height:D.size100,minWidth:D.size100}],s.isSize120&&[a.size120,{height:D.size120,minWidth:D.size120}],c.isAvailable&&a.available,c.isAway&&a.away,c.isBlocked&&a.blocked,c.isBusy&&a.busy,c.isDoNotDisturb&&a.doNotDisturb,c.isOffline&&a.offline,t],details:[a.details,{padding:"0 24px 0 16px",minWidth:0,width:"100%",textAlign:"left",display:"flex",flexDirection:"column",justifyContent:"space-around"},(s.isSize8||s.isSize10)&&{paddingLeft:17},(s.isSize24||s.isSize28||s.isSize32)&&{padding:"0 8px"},(s.isSize40||s.isSize48)&&{padding:"0 12px"}],primaryText:[a.primaryText,b.eb,{color:r.bodyText,fontWeight:b.k.regular,fontSize:i.medium.fontSize,selectors:{":hover":{color:r.inputTextHovered}}},n&&{height:"16px",lineHeight:"16px",overflowX:"hidden"},(s.isSize8||s.isSize10)&&{fontSize:i.small.fontSize,lineHeight:D.size8},s.isSize16&&{lineHeight:D.size28},(s.isSize24||s.isSize28||s.isSize32||s.isSize40||s.isSize48)&&n&&{height:18},(s.isSize56||s.isSize72||s.isSize100||s.isSize120)&&{fontSize:i.xLarge.fontSize},(s.isSize56||s.isSize72||s.isSize100||s.isSize120)&&n&&{height:22}],secondaryText:[a.secondaryText,b.eb,l,(s.isSize8||s.isSize10||s.isSize16||s.isSize24||s.isSize28||s.isSize32)&&{display:"none"},n&&{display:"block",height:"16px",lineHeight:"16px",overflowX:"hidden"},s.isSize24&&n&&{height:18},(s.isSize56||s.isSize72||s.isSize100||s.isSize120)&&{fontSize:i.medium.fontSize},(s.isSize56||s.isSize72||s.isSize100||s.isSize120)&&n&&{height:18}],tertiaryText:[a.tertiaryText,b.eb,l,{display:"none",fontSize:i.medium.fontSize},(s.isSize72||s.isSize100||s.isSize120)&&{display:"block"}],optionalText:[a.optionalText,b.eb,l,{display:"none",fontSize:i.medium.fontSize},(s.isSize100||s.isSize120)&&{display:"block"}],textContent:[a.textContent,b.eb]}}),void 0,{scope:"Persona"}),Bp=Object(w.a)(),zp=function(e){function t(t){var n=e.call(this,t)||this;return n._classNames=Bp(n.props.styles,{theme:n.props.theme,className:n.props.className}),n._getPersonaControl=function(e){var t=n.props,o=t.getPersonaProps,r=t.personaSize;return g.createElement(Hp,Object(m.a)({imageInitials:e.imageInitials,imageUrl:e.imageUrl,initialsColor:e.initialsColor,allowPhoneInitials:e.allowPhoneInitials,text:e.personaName,size:r},o?o(e):null,{styles:{details:{flex:"1 0 auto"}}}))},n._getPersonaCoinControl=function(e){var t=n.props,o=t.getPersonaProps,r=t.personaSize;return g.createElement(he,Object(m.a)({imageInitials:e.imageInitials,imageUrl:e.imageUrl,initialsColor:e.initialsColor,allowPhoneInitials:e.allowPhoneInitials,text:e.personaName,size:r},o?o(e):null))},Object(be.a)(n),n._ariaDescriptionId=Object(Pe.a)(),n}return Object(m.c)(t,e),t.prototype.render=function(){var e=this.props.overflowButtonProps,t=this.props,n=t.chevronButtonProps,o=t.maxDisplayablePersonas,r=t.personas,i=t.overflowPersonas,a=t.showAddButton,s=t.ariaLabel,c=this._classNames,l="number"==typeof o?Math.min(r.length,o):r.length;n&&!e&&(e=n);var u=i&&i.length>0,d=u?r:r.slice(0,l),p=(u?i:r.slice(l))||[];return g.createElement("div",{className:c.root},this.onRenderAriaDescription(),g.createElement("div",{className:c.itemContainer},a?this._getAddNewElement():null,g.createElement("ul",{className:c.members,"aria-label":s},this._onRenderVisiblePersonas(d,0===p.length&&1===r.length)),e?this._getOverflowElement(p):null))},t.prototype.onRenderAriaDescription=function(){var e=this.props.ariaDescription,t=this._classNames;return e&&g.createElement("span",{className:t.screenReaderOnly,id:this._ariaDescriptionId},e)},t.prototype._onRenderVisiblePersonas=function(e,t){var n=this,o=this.props,r=o.onRenderPersona,i=void 0===r?this._getPersonaControl:r,a=o.onRenderPersonaCoin,s=void 0===a?this._getPersonaCoinControl:a;return e.map((function(e,o){var r=t?i(e,n._getPersonaControl):s(e,n._getPersonaCoinControl);return g.createElement("li",{key:(t?"persona":"personaCoin")+"-"+o,className:n._classNames.member},e.onClick?n._getElementWithOnClickEvent(r,e,o):n._getElementWithoutOnClickEvent(r,e,o))}))},t.prototype._getElementWithOnClickEvent=function(e,t,n){var o=t.keytipProps;return g.createElement(Mp,Object(m.a)({},Object(I.j)(t,I.e),this._getElementProps(t,n),{keytipProps:o,onClick:this._onPersonaClick.bind(this,t)}),e)},t.prototype._getElementWithoutOnClickEvent=function(e,t,n){return g.createElement("div",Object(m.a)({},Object(I.j)(t,I.e),this._getElementProps(t,n)),e)},t.prototype._getElementProps=function(e,t){var n=this._classNames;return{key:(e.imageUrl?"i":"")+t,"data-is-focusable":!0,className:n.itemButton,title:e.personaName,onMouseMove:this._onPersonaMouseMove.bind(this,e),onMouseOut:this._onPersonaMouseOut.bind(this,e)}},t.prototype._getOverflowElement=function(e){switch(this.props.overflowButtonType){case kp.descriptive:return this._getDescriptiveOverflowElement(e);case kp.downArrow:return this._getIconElement("ChevronDown");case kp.more:return this._getIconElement("More");default:return null}},t.prototype._getDescriptiveOverflowElement=function(e){var t=this.props.personaSize;if(!e||e.length<1)return null;var n=e.map((function(e){return e.personaName})).join(", "),o=Object(m.a)({title:n},this.props.overflowButtonProps),r=Math.max(e.length,0),i=this._classNames;return g.createElement(Mp,Object(m.a)({},o,{ariaDescription:o.title,className:i.descriptiveOverflowButton}),g.createElement(he,{size:t,onRenderInitials:this._renderInitialsNotPictured(r),initialsColor:N.transparent}))},t.prototype._getIconElement=function(e){var t=this.props,n=t.overflowButtonProps,o=t.personaSize,r=this._classNames;return g.createElement(Mp,Object(m.a)({},n,{className:r.overflowButton}),g.createElement(he,{size:o,onRenderInitials:this._renderInitials(e,!0),initialsColor:N.transparent}))},t.prototype._getAddNewElement=function(){var e=this.props,t=e.addButtonProps,n=e.personaSize,o=this._classNames;return g.createElement(Mp,Object(m.a)({},t,{className:o.addButton}),g.createElement(he,{size:n,onRenderInitials:this._renderInitials("AddFriend")}))},t.prototype._onPersonaClick=function(e,t){e.onClick(t,e),t.preventDefault(),t.stopPropagation()},t.prototype._onPersonaMouseMove=function(e,t){e.onMouseMove&&e.onMouseMove(t,e)},t.prototype._onPersonaMouseOut=function(e,t){e.onMouseOut&&e.onMouseOut(t,e)},t.prototype._renderInitials=function(e,t){var n=this._classNames;return function(){return g.createElement(K,{iconName:e,className:t?n.overflowInitialsIcon:""})}},t.prototype._renderInitialsNotPictured=function(e){var t=this._classNames;return function(){return g.createElement("span",{className:t.overflowInitialsIcon},e<100?"+"+e:"99+")}},t.defaultProps={maxDisplayablePersonas:5,personas:[],overflowPersonas:[],personaSize:O.size32},t}(g.Component),Up={root:"ms-Facepile",addButton:"ms-Facepile-addButton ms-Facepile-itemButton",descriptiveOverflowButton:"ms-Facepile-descriptiveOverflowButton ms-Facepile-itemButton",itemButton:"ms-Facepile-itemButton ms-Facepile-person",itemContainer:"ms-Facepile-itemContainer",members:"ms-Facepile-members",member:"ms-Facepile-member",overflowButton:"ms-Facepile-overflowButton ms-Facepile-itemButton"},Vp=Object(x.a)(zp,(function(e){var t=e.className,n=e.theme,o=e.spacingAroundItemButton,r=void 0===o?2:o,i=n.palette,a=n.fonts,s=Object(b.R)(Up,n),c={textAlign:"center",padding:0,borderRadius:"50%",verticalAlign:"top",display:"inline",backgroundColor:"transparent",border:"none",selectors:{"&::-moz-focus-inner":{padding:0,border:0}}};return{root:[s.root,n.fonts.medium,{width:"auto"},t],addButton:[s.addButton,Object(b.Q)(n,{inset:-1}),c,{fontSize:a.medium.fontSize,color:i.white,backgroundColor:i.themePrimary,marginRight:2*r+"px",selectors:{"&:hover":{backgroundColor:i.themeDark},"&:focus":{backgroundColor:i.themeDark},"&:active":{backgroundColor:i.themeDarker},"&:disabled":{backgroundColor:i.neutralTertiaryAlt}}}],descriptiveOverflowButton:[s.descriptiveOverflowButton,Object(b.Q)(n,{inset:-1}),c,{fontSize:a.small.fontSize,color:i.neutralSecondary,backgroundColor:i.neutralLighter,marginLeft:2*r+"px"}],itemButton:[s.itemButton,c],itemContainer:[s.itemContainer,{display:"flex"}],members:[s.members,{display:"flex",overflow:"hidden",listStyleType:"none",padding:0,margin:"-"+r+"px"}],member:[s.member,{display:"inline-flex",flex:"0 0 auto",margin:r+"px"}],overflowButton:[s.overflowButton,Object(b.Q)(n,{inset:-1}),c,{fontSize:a.medium.fontSize,color:i.neutralSecondary,backgroundColor:i.neutralLighter,marginLeft:2*r+"px"}],overflowInitialsIcon:[{color:i.neutralPrimary}],screenReaderOnly:b.Z}}),void 0,{scope:"Facepile"});Object(Pr.a)([{rawString:".callout_98b6c642 .ms-Suggestions-itemButton{padding:0;border:none}.callout_98b6c642 .ms-Suggestions{min-width:300px}"}]);var Wp="callout_98b6c642";Object(Pr.a)([{rawString:".root_7ccc02ef{min-width:260px}.suggestionsItem_7ccc02ef{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch;-webkit-box-sizing:border-box;box-sizing:border-box;width:100%;position:relative;overflow:hidden}.suggestionsItem_7ccc02ef:hover{background:"},{theme:"neutralLighter",defaultValue:"#f3f2f1"},{rawString:"}.suggestionsItem_7ccc02ef:hover .closeButton_7ccc02ef{display:block}.suggestionsItem_7ccc02ef.suggestionsItemIsSuggested_7ccc02ef{background:"},{theme:"neutralLight",defaultValue:"#edebe9"},{rawString:"}.suggestionsItem_7ccc02ef.suggestionsItemIsSuggested_7ccc02ef:hover{background:"},{theme:"neutralTertiaryAlt",defaultValue:"#c8c6c4"},{rawString:"}@media screen and (-ms-high-contrast:active){.suggestionsItem_7ccc02ef.suggestionsItemIsSuggested_7ccc02ef:hover{background:Highlight;color:HighlightText}}@media screen and (-ms-high-contrast:active){.suggestionsItem_7ccc02ef.suggestionsItemIsSuggested_7ccc02ef{background:Highlight;color:HighlightText;-ms-high-contrast-adjust:none}}.suggestionsItem_7ccc02ef.suggestionsItemIsSuggested_7ccc02ef .closeButton_7ccc02ef:hover{background:"},{theme:"neutralTertiary",defaultValue:"#a19f9d"},{rawString:";color:"},{theme:"neutralPrimary",defaultValue:"#323130"},{rawString:"}@media screen and (-ms-high-contrast:active){.suggestionsItem_7ccc02ef.suggestionsItemIsSuggested_7ccc02ef .itemButton_7ccc02ef{color:HighlightText}}.suggestionsItem_7ccc02ef .closeButton_7ccc02ef{display:none;color:"},{theme:"neutralSecondary",defaultValue:"#605e5c"},{rawString:"}.suggestionsItem_7ccc02ef .closeButton_7ccc02ef:hover{background:"},{theme:"neutralLight",defaultValue:"#edebe9"},{rawString:"}.actionButton_7ccc02ef{background-color:transparent;border:0;cursor:pointer;margin:0;position:relative;border-top:1px solid "},{theme:"neutralLight",defaultValue:"#edebe9"},{rawString:";height:40px;width:100%;font-size:12px}[dir=ltr] .actionButton_7ccc02ef{padding-left:8px}[dir=rtl] .actionButton_7ccc02ef{padding-right:8px}html[dir=ltr] .actionButton_7ccc02ef{text-align:left}html[dir=rtl] .actionButton_7ccc02ef{text-align:right}.actionButton_7ccc02ef:hover{background-color:"},{theme:"neutralLight",defaultValue:"#edebe9"},{rawString:";cursor:pointer}.actionButton_7ccc02ef:active,.actionButton_7ccc02ef:focus{background-color:"},{theme:"themeLight",defaultValue:"#c7e0f4"},{rawString:"}.actionButton_7ccc02ef .ms-Button-icon{font-size:16px;width:25px}.actionButton_7ccc02ef .ms-Button-label{margin:0 4px 0 9px}html[dir=rtl] .actionButton_7ccc02ef .ms-Button-label{margin:0 9px 0 4px}.buttonSelected_7ccc02ef{background-color:"},{theme:"themeLight",defaultValue:"#c7e0f4"},{rawString:"}.suggestionsTitle_7ccc02ef{padding:0 12px;color:"},{theme:"themePrimary",defaultValue:"#0078d4"},{rawString:";font-size:12px;line-height:40px;border-bottom:1px solid "},{theme:"neutralLight",defaultValue:"#edebe9"},{rawString:"}.suggestionsContainer_7ccc02ef{overflow-y:auto;overflow-x:hidden;max-height:300px;border-bottom:1px solid "},{theme:"neutralLight",defaultValue:"#edebe9"},{rawString:"}.suggestionsNone_7ccc02ef{text-align:center;color:#797775;font-size:12px;line-height:30px}.suggestionsSpinner_7ccc02ef{margin:5px 0;white-space:nowrap;line-height:20px;font-size:12px}html[dir=ltr] .suggestionsSpinner_7ccc02ef{padding-left:14px}html[dir=rtl] .suggestionsSpinner_7ccc02ef{padding-right:14px}html[dir=ltr] .suggestionsSpinner_7ccc02ef{text-align:left}html[dir=rtl] .suggestionsSpinner_7ccc02ef{text-align:right}.suggestionsSpinner_7ccc02ef .ms-Spinner-circle{display:inline-block;vertical-align:middle}.suggestionsSpinner_7ccc02ef .ms-Spinner-label{display:inline-block;margin:0 10px 0 16px;vertical-align:middle}html[dir=rtl] .suggestionsSpinner_7ccc02ef .ms-Spinner-label{margin:0 16px 0 10px}.itemButton_7ccc02ef.itemButton_7ccc02ef{width:100%;padding:0;min-width:0;height:100%}@media screen and (-ms-high-contrast:active){.itemButton_7ccc02ef.itemButton_7ccc02ef{color:WindowText}}.itemButton_7ccc02ef.itemButton_7ccc02ef:hover{color:"},{theme:"neutralDark",defaultValue:"#201f1e"},{rawString:"}.closeButton_7ccc02ef.closeButton_7ccc02ef{padding:0 4px;height:auto;width:32px}@media screen and (-ms-high-contrast:active){.closeButton_7ccc02ef.closeButton_7ccc02ef{color:WindowText}}.closeButton_7ccc02ef.closeButton_7ccc02ef:hover{background:"},{theme:"neutralTertiaryAlt",defaultValue:"#c8c6c4"},{rawString:";color:"},{theme:"neutralDark",defaultValue:"#201f1e"},{rawString:"}.suggestionsAvailable_7ccc02ef{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}"}]);var qp="root_7ccc02ef",Gp="suggestionsItem_7ccc02ef",Kp="closeButton_7ccc02ef",Yp="suggestionsItemIsSuggested_7ccc02ef",Qp="itemButton_7ccc02ef",$p="actionButton_7ccc02ef",Zp="buttonSelected_7ccc02ef",Xp="suggestionsTitle_7ccc02ef",Jp="suggestionsContainer_7ccc02ef",eh="suggestionsNone_7ccc02ef",th="suggestionsSpinner_7ccc02ef",nh="suggestionsAvailable_7ccc02ef",oh=a,rh=Object(w.a)(),ih=function(e){function t(t){var n=e.call(this,t)||this;return Object(be.a)(n),n}return Object(m.c)(t,e),t.prototype.render=function(){var e,t=this.props,n=t.suggestionModel,o=t.RenderSuggestion,r=t.onClick,i=t.className,a=t.onRemoveItem,s=t.isSelectedOverride,c=t.removeButtonAriaLabel,l=t.styles,u=t.theme,d=l?rh(l,{theme:u,className:i,suggested:n.selected||s}):{root:Object(z.a)("ms-Suggestions-item",oh.suggestionsItem,(e={},e["is-suggested "+oh.suggestionsItemIsSuggested]=n.selected||s,e),i),itemButton:Object(z.a)("ms-Suggestions-itemButton",oh.itemButton),closeButton:Object(z.a)("ms-Suggestions-closeButton",oh.closeButton)};return g.createElement("div",{className:d.root},g.createElement(cr,{onClick:r,className:d.itemButton},o(n.item,this.props)),this.props.showRemoveButton?g.createElement(go,{iconProps:{iconName:"Cancel",styles:{root:{fontSize:"12px"}}},title:c,ariaLabel:c,onClick:a,className:d.closeButton}):null)},t}(g.Component);Object(Pr.a)([{rawString:".suggestionsContainer_d6f75437{overflow-y:auto;overflow-x:hidden;max-height:300px}.suggestionsContainer_d6f75437 .ms-Suggestion-item:hover{background-color:"},{theme:"neutralLighter",defaultValue:"#f3f2f1"},{rawString:";cursor:pointer}.suggestionsContainer_d6f75437 .is-suggested{background-color:"},{theme:"themeLighter",defaultValue:"#deecf9"},{rawString:"}.suggestionsContainer_d6f75437 .is-suggested:hover{background-color:"},{theme:"themeLight",defaultValue:"#c7e0f4"},{rawString:";cursor:pointer}"}]);var ah="suggestionsContainer_d6f75437",sh=s,ch=function(e){function t(t){var n=e.call(this,t)||this;return n._selectedElement=g.createRef(),n.SuggestionsItemOfProperType=ih,n._onClickTypedSuggestionsItem=function(e,t){return function(o){n.props.onSuggestionClick(o,e,t)}},n._onRemoveTypedSuggestionsItem=function(e,t){return function(o){(0,n.props.onSuggestionRemove)(o,e,t),o.stopPropagation()}},Object(be.a)(n),n.currentIndex=-1,n}return Object(m.c)(t,e),t.prototype.nextSuggestion=function(){var e=this.props.suggestions;if(e&&e.length>0){if(-1===this.currentIndex)return this.setSelectedSuggestion(0),!0;if(this.currentIndex<e.length-1)return this.setSelectedSuggestion(this.currentIndex+1),!0;if(this.props.shouldLoopSelection&&this.currentIndex===e.length-1)return this.setSelectedSuggestion(0),!0}return!1},t.prototype.previousSuggestion=function(){var e=this.props.suggestions;if(e&&e.length>0){if(-1===this.currentIndex)return this.setSelectedSuggestion(e.length-1),!0;if(this.currentIndex>0)return this.setSelectedSuggestion(this.currentIndex-1),!0;if(this.props.shouldLoopSelection&&0===this.currentIndex)return this.setSelectedSuggestion(e.length-1),!0}return!1},Object.defineProperty(t.prototype,"selectedElement",{get:function(){return this._selectedElement.current||void 0},enumerable:!0,configurable:!0}),t.prototype.getCurrentItem=function(){return this.props.suggestions[this.currentIndex]},t.prototype.getSuggestionAtIndex=function(e){return this.props.suggestions[e]},t.prototype.hasSuggestionSelected=function(){return-1!==this.currentIndex&&this.currentIndex<this.props.suggestions.length},t.prototype.removeSuggestion=function(e){this.props.suggestions.splice(e,1)},t.prototype.deselectAllSuggestions=function(){this.currentIndex>-1&&this.props.suggestions[this.currentIndex]&&(this.props.suggestions[this.currentIndex].selected=!1,this.currentIndex=-1,this.forceUpdate())},t.prototype.setSelectedSuggestion=function(e){var t=this.props.suggestions;e>t.length-1||e<0?(this.currentIndex=0,this.currentSuggestion.selected=!1,this.currentSuggestion=t[0],this.currentSuggestion.selected=!0):(this.currentIndex>-1&&t[this.currentIndex]&&(t[this.currentIndex].selected=!1),t[e].selected=!0,this.currentIndex=e,this.currentSuggestion=t[e]),this.forceUpdate()},t.prototype.componentDidUpdate=function(){this.scrollSelected()},t.prototype.render=function(){var e=this,t=this.props,n=t.onRenderSuggestion,o=t.suggestionsItemClassName,r=t.resultsMaximumNumber,i=t.showRemoveButtons,a=t.suggestionsContainerAriaLabel,s=this.SuggestionsItemOfProperType,c=this.props.suggestions;return r&&(c=c.slice(0,r)),g.createElement("div",{className:Object(z.a)("ms-Suggestions-container",sh.suggestionsContainer),id:"suggestion-list",role:"list","aria-label":a},c.map((function(t,r){return g.createElement("div",{ref:t.selected||r===e.currentIndex?e._selectedElement:void 0,key:t.item.key?t.item.key:r,id:"sug-"+r,role:"listitem","aria-label":t.ariaLabel},g.createElement(s,{id:"sug-item"+r,suggestionModel:t,RenderSuggestion:n,onClick:e._onClickTypedSuggestionsItem(t.item,r),className:o,showRemoveButton:i,onRemoveItem:e._onRemoveTypedSuggestionsItem(t.item,r),isSelectedOverride:r===e.currentIndex}))})))},t.prototype.scrollSelected=function(){var e;void 0!==(null===(e=this._selectedElement.current)||void 0===e?void 0:e.scrollIntoView)&&this._selectedElement.current.scrollIntoView(!1)},t}(g.Component);Object(Pr.a)([{rawString:".root_afc39c56{min-width:260px}.actionButton_afc39c56{background:0 0;background-color:transparent;border:0;cursor:pointer;margin:0;padding:0;position:relative;width:100%;font-size:12px}html[dir=ltr] .actionButton_afc39c56{text-align:left}html[dir=rtl] .actionButton_afc39c56{text-align:right}.actionButton_afc39c56:hover{background-color:"},{theme:"neutralLighter",defaultValue:"#f3f2f1"},{rawString:";cursor:pointer}.actionButton_afc39c56:active,.actionButton_afc39c56:focus{background-color:"},{theme:"themeLight",defaultValue:"#c7e0f4"},{rawString:"}.actionButton_afc39c56 .ms-Button-icon{font-size:16px;width:25px}.actionButton_afc39c56 .ms-Button-label{margin:0 4px 0 9px}html[dir=rtl] .actionButton_afc39c56 .ms-Button-label{margin:0 9px 0 4px}.buttonSelected_afc39c56{background-color:"},{theme:"themeLighter",defaultValue:"#deecf9"},{rawString:"}.buttonSelected_afc39c56:hover{background-color:"},{theme:"themeLight",defaultValue:"#c7e0f4"},{rawString:";cursor:pointer}.suggestionsTitle_afc39c56{font-size:12px}.suggestionsSpinner_afc39c56{margin:5px 0;white-space:nowrap;line-height:20px;font-size:12px}html[dir=ltr] .suggestionsSpinner_afc39c56{padding-left:14px}html[dir=rtl] .suggestionsSpinner_afc39c56{padding-right:14px}html[dir=ltr] .suggestionsSpinner_afc39c56{text-align:left}html[dir=rtl] .suggestionsSpinner_afc39c56{text-align:right}.suggestionsSpinner_afc39c56 .ms-Spinner-circle{display:inline-block;vertical-align:middle}.suggestionsSpinner_afc39c56 .ms-Spinner-label{display:inline-block;margin:0 10px 0 16px;vertical-align:middle}html[dir=rtl] .suggestionsSpinner_afc39c56 .ms-Spinner-label{margin:0 16px 0 10px}.itemButton_afc39c56{height:100%;width:100%;padding:7px 12px}@media screen and (-ms-high-contrast:active){.itemButton_afc39c56{color:WindowText}}.screenReaderOnly_afc39c56{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}"}]);var lh,uh="root_afc39c56",dh="actionButton_afc39c56",ph="buttonSelected_afc39c56",hh="suggestionsTitle_afc39c56",fh="suggestionsSpinner_afc39c56",mh="itemButton_afc39c56",gh="screenReaderOnly_afc39c56",bh=c;!function(e){e[e.header=0]="header",e[e.suggestion=1]="suggestion",e[e.footer=2]="footer"}(lh||(lh={}));var yh=function(e){function t(t){var n=e.call(this,t)||this;return Object(be.a)(n),n}return Object(m.c)(t,e),t.prototype.render=function(){var e,t=this.props,n=t.renderItem,o=t.onExecute,r=t.isSelected,i=t.id,a=t.className;return o?g.createElement("div",{id:i,onClick:o,className:Object(z.a)("ms-Suggestions-sectionButton",a,bh.actionButton,(e={},e["is-selected "+bh.buttonSelected]=r,e))},n()):g.createElement("div",{id:i,className:Object(z.a)("ms-Suggestions-section",a,bh.suggestionsTitle)},n())},t}(g.Component),vh=function(e){function t(t){var n=e.call(this,t)||this;return n._selectedElement=g.createRef(),n._suggestions=g.createRef(),n.SuggestionsOfProperType=ch,Object(be.a)(n),n.state={selectedHeaderIndex:-1,selectedFooterIndex:-1,suggestions:t.suggestions},n}return Object(m.c)(t,e),t.prototype.componentDidMount=function(){this.resetSelectedItem()},t.prototype.componentDidUpdate=function(){this.scrollSelected()},t.prototype.UNSAFE_componentWillReceiveProps=function(e){var t=this;e.suggestions&&this.setState({suggestions:e.suggestions},(function(){t.resetSelectedItem()}))},t.prototype.componentWillUnmount=function(){var e;null===(e=this._suggestions.current)||void 0===e||e.deselectAllSuggestions()},t.prototype.render=function(){var e=this.props,t=e.className,n=e.headerItemsProps,o=e.footerItemsProps,r=e.suggestionsAvailableAlertText,i=Object(b.db)(b.Z),a=this.state.suggestions&&this.state.suggestions.length>0&&r;return g.createElement("div",{className:Object(z.a)("ms-Suggestions",t||"",bh.root)},n&&this.renderHeaderItems(),this._renderSuggestions(),o&&this.renderFooterItems(),a?g.createElement("span",{role:"alert","aria-live":"polite",className:i},r):null)},Object.defineProperty(t.prototype,"currentSuggestion",{get:function(){var e;return(null===(e=this._suggestions.current)||void 0===e?void 0:e.getCurrentItem())||void 0},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"currentSuggestionIndex",{get:function(){return this._suggestions.current?this._suggestions.current.currentIndex:-1},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"selectedElement",{get:function(){var e;return this._selectedElement.current?this._selectedElement.current:null===(e=this._suggestions.current)||void 0===e?void 0:e.selectedElement},enumerable:!0,configurable:!0}),t.prototype.hasSuggestionSelected=function(){var e;return(null===(e=this._suggestions.current)||void 0===e?void 0:e.hasSuggestionSelected())||!1},t.prototype.hasSelection=function(){var e=this.state,t=e.selectedHeaderIndex,n=e.selectedFooterIndex;return-1!==t||this.hasSuggestionSelected()||-1!==n},t.prototype.executeSelectedAction=function(){var e,t=this.props,n=t.headerItemsProps,o=t.footerItemsProps,r=this.state,i=r.selectedHeaderIndex,a=r.selectedFooterIndex;if(n&&-1!==i&&i<n.length){var s=n[i];s.onExecute&&s.onExecute()}else if(null===(e=this._suggestions.current)||void 0===e?void 0:e.hasSuggestionSelected())this.props.completeSuggestion();else if(o&&-1!==a&&a<o.length){var c=o[a];c.onExecute&&c.onExecute()}},t.prototype.removeSuggestion=function(e){var t,n;null===(t=this._suggestions.current)||void 0===t||t.removeSuggestion(e||(null===(n=this._suggestions.current)||void 0===n?void 0:n.currentIndex))},t.prototype.handleKeyDown=function(e){var t,n,o,r,i=this.state,a=i.selectedHeaderIndex,s=i.selectedFooterIndex,c=!1;return e===ge.a.down?-1!==a||(null===(t=this._suggestions.current)||void 0===t?void 0:t.hasSuggestionSelected())||-1!==s?-1!==a?(this.selectNextItem(lh.header),c=!0):(null===(n=this._suggestions.current)||void 0===n?void 0:n.hasSuggestionSelected())?(this.selectNextItem(lh.suggestion),c=!0):-1!==s&&(this.selectNextItem(lh.footer),c=!0):this.selectFirstItem():e===ge.a.up?-1!==a||(null===(o=this._suggestions.current)||void 0===o?void 0:o.hasSuggestionSelected())||-1!==s?-1!==a?(this.selectPreviousItem(lh.header),c=!0):(null===(r=this._suggestions.current)||void 0===r?void 0:r.hasSuggestionSelected())?(this.selectPreviousItem(lh.suggestion),c=!0):-1!==s&&(this.selectPreviousItem(lh.footer),c=!0):this.selectLastItem():e!==ge.a.enter&&e!==ge.a.tab||this.hasSelection()&&(this.executeSelectedAction(),c=!0),c},t.prototype.scrollSelected=function(){this._selectedElement.current&&this._selectedElement.current.scrollIntoView(!1)},t.prototype.renderHeaderItems=function(){var e=this,t=this.props,n=t.headerItemsProps,o=t.suggestionsHeaderContainerAriaLabel,r=this.state.selectedHeaderIndex;return n?g.createElement("div",{className:Object(z.a)("ms-Suggestions-headerContainer",bh.suggestionsContainer),id:"suggestionHeader-list",role:"list","aria-label":o},n.map((function(t,n){var o=-1!==r&&r===n;return t.shouldShow()?g.createElement("div",{ref:o?e._selectedElement:void 0,id:"sug-header"+n,key:"sug-header"+n,role:"listitem","aria-label":t.ariaLabel},g.createElement(yh,{id:"sug-header-item"+n,isSelected:o,renderItem:t.renderItem,onExecute:t.onExecute,className:t.className})):null}))):null},t.prototype.renderFooterItems=function(){var e=this,t=this.props,n=t.footerItemsProps,o=t.suggestionsFooterContainerAriaLabel,r=this.state.selectedFooterIndex;return n?g.createElement("div",{className:Object(z.a)("ms-Suggestions-footerContainer",bh.suggestionsContainer),id:"suggestionFooter-list",role:"list","aria-label":o},n.map((function(t,n){var o=-1!==r&&r===n;return t.shouldShow()?g.createElement("div",{ref:o?e._selectedElement:void 0,id:"sug-footer"+n,key:"sug-footer"+n,role:"listitem","aria-label":t.ariaLabel},g.createElement(yh,{id:"sug-footer-item"+n,isSelected:o,renderItem:t.renderItem,onExecute:t.onExecute,className:t.className})):null}))):null},t.prototype._renderSuggestions=function(){var e=this.SuggestionsOfProperType;return g.createElement(e,Object(m.a)({ref:this._suggestions},this.props,{suggestions:this.state.suggestions}))},t.prototype.selectNextItem=function(e,t){if(e!==t){var n=void 0!==t?t:e;this._selectNextItemOfItemType(e,n===e?this._getCurrentIndexForType(e):void 0)||this.selectNextItem(this._getNextItemSectionType(e),n)}else this._selectNextItemOfItemType(e)},t.prototype.selectPreviousItem=function(e,t){if(e!==t){var n=void 0!==t?t:e;this._selectPreviousItemOfItemType(e,n===e?this._getCurrentIndexForType(e):void 0)||this.selectPreviousItem(this._getPreviousItemSectionType(e),n)}else this._selectPreviousItemOfItemType(e)},t.prototype.resetSelectedItem=function(){var e;this.setState({selectedHeaderIndex:-1,selectedFooterIndex:-1}),null===(e=this._suggestions.current)||void 0===e||e.deselectAllSuggestions(),(void 0===this.props.shouldSelectFirstItem||this.props.shouldSelectFirstItem())&&this.selectFirstItem()},t.prototype.selectFirstItem=function(){this._selectNextItemOfItemType(lh.header)||this._selectNextItemOfItemType(lh.suggestion)||this._selectNextItemOfItemType(lh.footer)},t.prototype.selectLastItem=function(){this._selectPreviousItemOfItemType(lh.footer)||this._selectPreviousItemOfItemType(lh.suggestion)||this._selectPreviousItemOfItemType(lh.header)},t.prototype._selectNextItemOfItemType=function(e,t){var n,o;if(void 0===t&&(t=-1),e===lh.suggestion){if(this.state.suggestions.length>t+1)return null===(n=this._suggestions.current)||void 0===n||n.setSelectedSuggestion(t+1),this.setState({selectedHeaderIndex:-1,selectedFooterIndex:-1}),!0}else{var r=e===lh.header,i=r?this.props.headerItemsProps:this.props.footerItemsProps;if(i&&i.length>t+1)for(var a=t+1;a<i.length;a++){var s=i[a];if(s.onExecute&&s.shouldShow())return this.setState({selectedHeaderIndex:r?a:-1}),this.setState({selectedFooterIndex:r?-1:a}),null===(o=this._suggestions.current)||void 0===o||o.deselectAllSuggestions(),!0}}return!1},t.prototype._selectPreviousItemOfItemType=function(e,t){var n,o;if(e===lh.suggestion){if((r=void 0!==t?t:this.state.suggestions.length)>0)return null===(n=this._suggestions.current)||void 0===n||n.setSelectedSuggestion(r-1),this.setState({selectedHeaderIndex:-1,selectedFooterIndex:-1}),!0}else{var r,i=e===lh.header,a=i?this.props.headerItemsProps:this.props.footerItemsProps;if(a&&(r=void 0!==t?t:a.length)>0)for(var s=r-1;s>=0;s--){var c=a[s];if(c.onExecute&&c.shouldShow())return this.setState({selectedHeaderIndex:i?s:-1}),this.setState({selectedFooterIndex:i?-1:s}),null===(o=this._suggestions.current)||void 0===o||o.deselectAllSuggestions(),!0}}return!1},t.prototype._getCurrentIndexForType=function(e){switch(e){case lh.header:return this.state.selectedHeaderIndex;case lh.suggestion:return this._suggestions.current.currentIndex;case lh.footer:return this.state.selectedFooterIndex}},t.prototype._getNextItemSectionType=function(e){switch(e){case lh.header:return lh.suggestion;case lh.suggestion:return lh.footer;case lh.footer:return lh.header}},t.prototype._getPreviousItemSectionType=function(e){switch(e){case lh.header:return lh.footer;case lh.suggestion:return lh.header;case lh.footer:return lh.suggestion}},t}(g.Component),_h=i,Sh=function(e){function t(t){var n=e.call(this,t)||this;return n.root=g.createRef(),n.suggestionsControl=g.createRef(),n.SuggestionsControlOfProperType=vh,n.isComponentMounted=!1,n.onQueryStringChanged=function(e){e!==n.state.queryString&&(n.setState({queryString:e}),n.props.onInputChanged&&n.props.onInputChanged(e),n.updateValue(e))},n.hidePicker=function(){var e=n.isSuggestionsShown;n.setState({suggestionsVisible:!1}),n.props.onSuggestionsHidden&&e&&n.props.onSuggestionsHidden()},n.showPicker=function(e){void 0===e&&(e=!1);var t=n.isSuggestionsShown;n.setState({suggestionsVisible:!0});var o=n.props.inputElement?n.props.inputElement.value:"";e&&n.updateValue(o),n.props.onSuggestionsShown&&!t&&n.props.onSuggestionsShown()},n.completeSuggestion=function(){n.suggestionsControl.current&&n.suggestionsControl.current.hasSuggestionSelected()&&n.onChange(n.suggestionsControl.current.currentSuggestion.item)},n.onSuggestionClick=function(e,t,o){n.onChange(t),n._updateSuggestionsVisible(!1)},n.onSuggestionRemove=function(e,t,o){n.props.onRemoveSuggestion&&n.props.onRemoveSuggestion(t),n.suggestionsControl.current&&n.suggestionsControl.current.removeSuggestion(o)},n.onKeyDown=function(e){if(n.state.suggestionsVisible&&(!n.props.inputElement||n.props.inputElement.contains(e.target))){var t=e.which;switch(t){case ge.a.escape:n.hidePicker(),e.preventDefault(),e.stopPropagation();break;case ge.a.tab:case ge.a.enter:!e.shiftKey&&!e.ctrlKey&&n.suggestionsControl.current&&n.suggestionsControl.current.handleKeyDown(t)?(e.preventDefault(),e.stopPropagation()):n._onValidateInput();break;case ge.a.del:n.props.onRemoveSuggestion&&n.suggestionsControl.current&&n.suggestionsControl.current.hasSuggestionSelected&&n.suggestionsControl.current.currentSuggestion&&e.shiftKey&&(n.props.onRemoveSuggestion(n.suggestionsControl.current.currentSuggestion.item),n.suggestionsControl.current.removeSuggestion(),n.forceUpdate(),e.stopPropagation());break;case ge.a.up:case ge.a.down:n.suggestionsControl.current&&n.suggestionsControl.current.handleKeyDown(t)&&(e.preventDefault(),e.stopPropagation(),n._updateActiveDescendant())}}},n._onValidateInput=function(){if(n.state.queryString&&n.props.onValidateInput&&n.props.createGenericItem){var e=n.props.createGenericItem(n.state.queryString,n.props.onValidateInput(n.state.queryString)),t=n.suggestionStore.convertSuggestionsToSuggestionItems([e]);n.onChange(t[0].item)}},n._async=new ye.a(n),Object(be.a)(n),n.suggestionStore=t.suggestionsStore,n.state={queryString:"",didBind:!1},n}return Object(m.c)(t,e),Object.defineProperty(t.prototype,"inputText",{get:function(){return this.state.queryString},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"suggestions",{get:function(){return this.suggestionStore.suggestions},enumerable:!0,configurable:!0}),t.prototype.forceResolveSuggestion=function(){this.suggestionsControl.current&&this.suggestionsControl.current.hasSuggestionSelected()?this.completeSuggestion():this._onValidateInput()},Object.defineProperty(t.prototype,"currentSelectedSuggestionIndex",{get:function(){return this.suggestionsControl.current?this.suggestionsControl.current.currentSuggestionIndex:-1},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isSuggestionsShown",{get:function(){return void 0!==this.state.suggestionsVisible&&this.state.suggestionsVisible},enumerable:!0,configurable:!0}),t.prototype.componentDidMount=function(){this._bindToInputElement(),this.isComponentMounted=!0,this._onResolveSuggestions=this._async.debounce(this._onResolveSuggestions,this.props.resolveDelay)},t.prototype.componentDidUpdate=function(){this._bindToInputElement()},t.prototype.componentWillUnmount=function(){this._unbindFromInputElement(),this.isComponentMounted=!1},t.prototype.UNSAFE_componentWillReceiveProps=function(e){e.suggestionItems&&this.updateSuggestions(e.suggestionItems)},t.prototype.updateSuggestions=function(e,t){void 0===t&&(t=!1),this.suggestionStore.updateSuggestions(e),t&&this.forceUpdate()},t.prototype.render=function(){var e=this.props.className;return g.createElement("div",{ref:this.root,className:Object(z.a)("ms-BasePicker ms-BaseFloatingPicker",e||"")},this.renderSuggestions())},t.prototype.renderSuggestions=function(){var e=this.SuggestionsControlOfProperType;return this.state.suggestionsVisible?g.createElement(Nn,Object(m.a)({className:_h.callout,isBeakVisible:!1,gapSpace:5,target:this.props.inputElement,onDismiss:this.hidePicker,directionalHint:st.bottomLeftEdge,directionalHintForRTL:st.bottomRightEdge,calloutWidth:this.props.calloutWidth?this.props.calloutWidth:0},this.props.pickerCalloutProps),g.createElement(e,Object(m.a)({onRenderSuggestion:this.props.onRenderSuggestionsItem,onSuggestionClick:this.onSuggestionClick,onSuggestionRemove:this.onSuggestionRemove,suggestions:this.suggestionStore.getSuggestions(),componentRef:this.suggestionsControl,completeSuggestion:this.completeSuggestion,shouldLoopSelection:!1},this.props.pickerSuggestionsProps))):null},t.prototype.onSelectionChange=function(){this.forceUpdate()},t.prototype.updateValue=function(e){""===e?this.updateSuggestionWithZeroState():this._onResolveSuggestions(e)},t.prototype.updateSuggestionWithZeroState=function(){if(this.props.onZeroQuerySuggestion){var e=(0,this.props.onZeroQuerySuggestion)(this.props.selectedItems);this.updateSuggestionsList(e)}else this.hidePicker()},t.prototype.updateSuggestionsList=function(e){var t=this,n=e,o=e;if(Array.isArray(n))this.updateSuggestions(n,!0);else if(o&&o.then){var r=this.currentPromise=o;r.then((function(e){r===t.currentPromise&&t.isComponentMounted&&t.updateSuggestions(e,!0)}))}},t.prototype.onChange=function(e){this.props.onChange&&this.props.onChange(e)},t.prototype._updateActiveDescendant=function(){if(this.props.inputElement&&this.suggestionsControl.current&&this.suggestionsControl.current.selectedElement){var e=this.suggestionsControl.current.selectedElement.getAttribute("id");e&&this.props.inputElement.setAttribute("aria-activedescendant",e)}},t.prototype._onResolveSuggestions=function(e){var t=this.props.onResolveSuggestions(e,this.props.selectedItems);this._updateSuggestionsVisible(!0),null!==t&&this.updateSuggestionsList(t)},t.prototype._updateSuggestionsVisible=function(e){e?this.showPicker():this.hidePicker()},t.prototype._bindToInputElement=function(){this.props.inputElement&&!this.state.didBind&&(this.props.inputElement.addEventListener("keydown",this.onKeyDown),this.setState({didBind:!0}))},t.prototype._unbindFromInputElement=function(){this.props.inputElement&&this.state.didBind&&(this.props.inputElement.removeEventListener("keydown",this.onKeyDown),this.setState({didBind:!1}))},t}(g.Component);Object(Pr.a)([{rawString:".resultContent_b1cbd620{display:table-row}.resultContent_b1cbd620 .resultItem_b1cbd620{display:table-cell;vertical-align:bottom}.peoplePickerPersona_b1cbd620{width:180px}.peoplePickerPersona_b1cbd620 .ms-Persona-details{width:100%}.peoplePicker_b1cbd620 .ms-BasePicker-text{min-height:40px}.peoplePickerPersonaContent_b1cbd620{display:-webkit-box;display:-ms-flexbox;display:flex;width:100%;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:7px 12px}"}]);var Ch=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(m.c)(t,e),t}(Sh),xh=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(m.c)(t,e),t.defaultProps={onRenderSuggestionsItem:function(e,t){return n=Object(m.a)({},e),Object(m.a)({},t),g.createElement("div",{className:Object(z.a)("ms-PeoplePicker-personaContent","peoplePickerPersonaContent_b1cbd620")},g.createElement(Hp,Object(m.a)({presence:void 0!==n.presence?n.presence:E.none,size:O.size40,className:Object(z.a)("ms-PeoplePicker-Persona","peoplePickerPersona_b1cbd620"),showSecondaryText:!0},n)));var n},createGenericItem:wh},t}(Ch);function wh(e,t){var n={key:e,primaryText:e,imageInitials:"!",isValid:t};return t||(n.imageInitials=Object(k.a)(e,Object(T.a)())),n}var Th=function(){function e(e){var t=this;this._isSuggestionModel=function(e){return void 0!==e.item},this._ensureSuggestionModel=function(e){return t._isSuggestionModel(e)?e:{item:e,selected:!1,ariaLabel:void 0!==t.getAriaLabel?t.getAriaLabel(e):e.name||e.text||e.primaryText}},this.suggestions=[],this.getAriaLabel=e&&e.getAriaLabel}return e.prototype.updateSuggestions=function(e){e&&e.length>0?this.suggestions=this.convertSuggestionsToSuggestionItems(e):this.suggestions=[]},e.prototype.getSuggestions=function(){return this.suggestions},e.prototype.getSuggestionAtIndex=function(e){return this.suggestions[e]},e.prototype.removeSuggestion=function(e){this.suggestions.splice(e,1)},e.prototype.convertSuggestionsToSuggestionItems=function(e){return Array.isArray(e)?e.map(this._ensureSuggestionModel):[]},e}(),kh=n(22);Object(kh.a)("@fluentui/react-focus","7.16.5");var Ih,Oh,Eh=Object(w.a)(),Nh=function(e){function t(t){var n=e.call(this,t)||this;return Object(be.a)(n),n._id=t.id||Object(Pe.a)(),n}return Object(m.c)(t,e),t.prototype.render=function(){var e=this,t=this.props,n=t.items,o=t.columnCount,r=t.onRenderItem,i=t.ariaPosInSet,a=void 0===i?t.positionInSet:i,s=t.ariaSetSize,c=void 0===s?t.setSize:s,l=t.styles,u=t.doNotContainWithinFocusZone,d=Object(I.j)(this.props,I.k,u?[]:["onBlur"]),p=Eh(l,{theme:this.props.theme}),h=Object(qe.i)(n,o),f=g.createElement("table",Object(m.a)({"aria-posinset":a,"aria-setsize":c,id:this._id,role:"grid"},d,{className:p.root}),g.createElement("tbody",null,h.map((function(t,n){return g.createElement("tr",{role:"row",key:e._id+"-"+n+"-row"},t.map((function(t,n){return g.createElement("td",{role:"presentation",key:e._id+"-"+n+"-cell",className:p.tableCell},r(t,n))})))}))));return u?f:g.createElement(ze,{isCircularNavigation:this.props.shouldFocusCircularNavigate,className:p.focusedContainer,onBlur:this.props.onBlur},f)},t}(g.Component),Ph=Object(x.a)(Nh,(function(e){return{root:{padding:2,outline:"none"},tableCell:{padding:0}}})),Dh=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._onClick=function(){var e=t.props,n=e.onClick,o=e.disabled,r=e.item;n&&!o&&n(r)},t._onMouseEnter=function(e){var n=t.props,o=n.onHover,r=n.disabled,i=n.item,a=n.onMouseEnter;a&&a(e)||!o||r||o(i)},t._onMouseMove=function(e){var n=t.props,o=n.onHover,r=n.disabled,i=n.item,a=n.onMouseMove;a&&a(e)||!o||r||o(i)},t._onMouseLeave=function(e){var n=t.props,o=n.onHover,r=n.disabled,i=n.onMouseLeave;i&&i(e)||!o||r||o()},t._onFocus=function(){var e=t.props,n=e.onFocus,o=e.disabled,r=e.item;n&&!o&&n(r)},t}return Object(m.c)(t,e),t.prototype.render=function(){var e,t=this.props,n=t.item,o=t.id,r=t.className,i=t.role,a=t.selected,s=t.disabled,c=t.onRenderItem,l=t.cellDisabledStyle,u=t.cellIsSelectedStyle,d=t.index,p=t.label,h=t.getClassNames;return g.createElement(cr,{id:o,"data-index":d,"data-is-focusable":!0,disabled:s,className:Object(z.a)(r,(e={},e[""+u]=a,e[""+l]=s,e)),onClick:this._onClick,onMouseEnter:this._onMouseEnter,onMouseMove:this._onMouseMove,onMouseLeave:this._onMouseLeave,onFocus:this._onFocus,role:i,"aria-selected":a,ariaLabel:p,title:p,getClassNames:h},c(n))},t.defaultProps={disabled:!1,id:Object(Pe.a)("gridCell")},t}(g.Component),Ah={host:"ms-HoverCard-host"};!function(e){e[e.hover=0]="hover",e[e.hotKey=1]="hotKey"}(Ih||(Ih={})),function(e){e.plain="PlainCard",e.expanding="ExpandingCard"}(Oh||(Oh={}));var Rh,Mh={root:"ms-ExpandingCard-root",compactCard:"ms-ExpandingCard-compactCard",expandedCard:"ms-ExpandingCard-expandedCard",expandedCardScroll:"ms-ExpandingCard-expandedCardScrollRegion"};!function(e){e[e.compact=0]="compact",e[e.expanded=1]="expanded"}(Rh||(Rh={}));var Fh=function(e){var t=e.gapSpace,n=void 0===t?0:t,o=e.directionalHint,r=void 0===o?st.bottomLeftEdge:o,i=e.directionalHintFixed,a=e.targetElement,s=e.firstFocus,c=e.trapFocus,l=e.onLeave,u=e.className,d=e.finalHeight,p=e.content,h=e.calloutProps,f=Object(m.a)(Object(m.a)(Object(m.a)({},Object(I.j)(e,I.h)),{className:u,target:a,isBeakVisible:!1,directionalHint:r,directionalHintFixed:i,finalHeight:d,minPagePadding:24,onDismiss:l,gapSpace:n}),h);return g.createElement(g.Fragment,null,c?g.createElement(Na,Object(m.a)({},f,{focusTrapProps:{forceFocusInsideTrap:!1,isClickableOutsideFocusTrap:!0,disableFirstFocus:!s}}),p):g.createElement(Nn,Object(m.a)({},f),p))},jh=Object(w.a)(),Lh=function(e){function t(t){var n=e.call(this,t)||this;return n._expandedElem=g.createRef(),n._onKeyDown=function(e){e.which===ge.a.escape&&n.props.onLeave&&n.props.onLeave(e)},n._onRenderCompactCard=function(){return g.createElement("div",{className:n._classNames.compactCard},n.props.onRenderCompactCard(n.props.renderData))},n._onRenderExpandedCard=function(){return!n.state.firstFrameRendered&&n._async.requestAnimationFrame((function(){n.setState({firstFrameRendered:!0})})),g.createElement("div",{className:n._classNames.expandedCard,ref:n._expandedElem},g.createElement("div",{className:n._classNames.expandedCardScroll},n.props.onRenderExpandedCard&&n.props.onRenderExpandedCard(n.props.renderData)))},n._checkNeedsScroll=function(){var e=n.props.expandedCardHeight;n._async.requestAnimationFrame((function(){n._expandedElem.current&&n._expandedElem.current.scrollHeight>=e&&n.setState({needsScroll:!0})}))},n._async=new ye.a(n),Object(be.a)(n),n.state={firstFrameRendered:!1,needsScroll:!1},n}return Object(m.c)(t,e),t.prototype.componentDidMount=function(){this._checkNeedsScroll()},t.prototype.componentWillUnmount=function(){this._async.dispose()},t.prototype.render=function(){var e=this.props,t=e.styles,n=e.compactCardHeight,o=e.expandedCardHeight,r=e.theme,i=e.mode,a=e.className,s=this.state,c=s.needsScroll,l=s.firstFrameRendered,u=n+o;this._classNames=jh(t,{theme:r,compactCardHeight:n,className:a,expandedCardHeight:o,needsScroll:c,expandedCardFirstFrameRendered:i===Rh.expanded&&l});var d=g.createElement("div",{onMouseEnter:this.props.onEnter,onMouseLeave:this.props.onLeave,onKeyDown:this._onKeyDown},this._onRenderCompactCard(),this._onRenderExpandedCard());return g.createElement(Fh,Object(m.a)({},this.props,{content:d,finalHeight:u,className:this._classNames.root}))},t.defaultProps={compactCardHeight:156,expandedCardHeight:384,directionalHintFixed:!0},t}(g.Component),Hh=Object(x.a)(Lh,(function(e){var t,n=e.theme,o=e.needsScroll,r=e.expandedCardFirstFrameRendered,i=e.compactCardHeight,a=e.expandedCardHeight,s=e.className,c=n.palette,l=Object(b.R)(Mh,n);return{root:[l.root,{width:320,pointerEvents:"none",selectors:(t={},t[b.l]={border:"1px solid WindowText"},t)},s],compactCard:[l.compactCard,{pointerEvents:"auto",position:"relative",height:i}],expandedCard:[l.expandedCard,{height:1,overflowY:"hidden",pointerEvents:"auto",transition:"height 0.467s cubic-bezier(0.5, 0, 0, 1)",selectors:{":before":{content:'""',position:"relative",display:"block",top:0,left:24,width:272,height:1,backgroundColor:c.neutralLighter}}},r&&{height:a}],expandedCardScroll:[l.expandedCardScroll,o&&{height:"100%",boxSizing:"border-box",overflowY:"auto"}]}}),void 0,{scope:"ExpandingCard"}),Bh={root:"ms-PlainCard-root"},zh=Object(w.a)(),Uh=function(e){function t(t){var n=e.call(this,t)||this;return n._onKeyDown=function(e){e.which===ge.a.escape&&n.props.onLeave&&n.props.onLeave(e)},Object(be.a)(n),n}return Object(m.c)(t,e),t.prototype.render=function(){var e=this.props,t=e.styles,n=e.theme,o=e.className;this._classNames=zh(t,{theme:n,className:o});var r=g.createElement("div",{onMouseEnter:this.props.onEnter,onMouseLeave:this.props.onLeave,onKeyDown:this._onKeyDown},this.props.onRenderPlainCard(this.props.renderData));return g.createElement(Fh,Object(m.a)({},this.props,{content:r,className:this._classNames.root}))},t}(g.Component),Vh=Object(x.a)(Uh,(function(e){var t,n=e.theme,o=e.className;return{root:[Object(b.R)(Bh,n).root,{pointerEvents:"auto",selectors:(t={},t[b.l]={border:"1px solid WindowText"},t)},o]}}),void 0,{scope:"PlainCard"}),Wh=Object(w.a)(),qh=function(e){function t(t){var n=e.call(this,t)||this;return n._hoverCard=g.createRef(),n.dismiss=function(e){n._async.clearTimeout(n._openTimerId),n._async.clearTimeout(n._dismissTimerId),e?n._dismissTimerId=n._async.setTimeout((function(){n._setDismissedState()}),n.props.cardDismissDelay):n._setDismissedState()},n._cardOpen=function(e){n._shouldBlockHoverCard()||"keydown"===e.type&&e.which!==n.props.openHotKey||(n._async.clearTimeout(n._dismissTimerId),"mouseenter"===e.type&&(n._currentMouseTarget=e.currentTarget),n._executeCardOpen(e))},n._executeCardOpen=function(e){n._async.clearTimeout(n._openTimerId),n._openTimerId=n._async.setTimeout((function(){n.setState((function(t){return t.isHoverCardVisible?t:{isHoverCardVisible:!0,mode:Rh.compact,openMode:"keydown"===e.type?Ih.hotKey:Ih.hover}}))}),n.props.cardOpenDelay)},n._cardDismiss=function(e,t){if(e){if(!(t instanceof MouseEvent))return;if("keydown"===t.type&&t.which!==ge.a.escape)return;n.props.sticky||n._currentMouseTarget!==t.currentTarget&&t.which!==ge.a.escape||n.dismiss(!0)}else{if(n.props.sticky&&!(t instanceof MouseEvent)&&t.nativeEvent instanceof MouseEvent&&"mouseleave"===t.type)return;n.dismiss(!0)}},n._setDismissedState=function(){n.setState({isHoverCardVisible:!1,mode:Rh.compact,openMode:Ih.hover})},n._instantOpenAsExpanded=function(e){n._async.clearTimeout(n._dismissTimerId),n.setState((function(e){return e.isHoverCardVisible?e:{isHoverCardVisible:!0,mode:Rh.expanded}}))},n._setEventListeners=function(){var e=n.props,t=e.trapFocus,o=e.instantOpenOnClick,r=e.eventListenerTarget,i=r?n._getTargetElement(r):n._getTargetElement(n.props.target),a=n._nativeDismissEvent;i&&(n._events.on(i,"mouseenter",n._cardOpen),n._events.on(i,"mouseleave",a),t?n._events.on(i,"keydown",n._cardOpen):(n._events.on(i,"focus",n._cardOpen),n._events.on(i,"blur",a)),o?n._events.on(i,"click",n._instantOpenAsExpanded):(n._events.on(i,"mousedown",a),n._events.on(i,"keydown",a)))},Object(be.a)(n),n._async=new ye.a(n),n._events=new Ve.a(n),n._nativeDismissEvent=n._cardDismiss.bind(n,!0),n._childDismissEvent=n._cardDismiss.bind(n,!1),n.state={isHoverCardVisible:!1,mode:Rh.compact,openMode:Ih.hover},n}return Object(m.c)(t,e),t.prototype.componentDidMount=function(){this._setEventListeners()},t.prototype.componentWillUnmount=function(){this._async.dispose(),this._events.dispose()},t.prototype.componentDidUpdate=function(e,t){var n=this;e.target!==this.props.target&&(this._events.off(),this._setEventListeners()),t.isHoverCardVisible!==this.state.isHoverCardVisible&&(this.state.isHoverCardVisible?(this._async.setTimeout((function(){n.setState({mode:Rh.expanded},(function(){n.props.onCardExpand&&n.props.onCardExpand()}))}),this.props.expandedCardOpenDelay),this.props.onCardVisible&&this.props.onCardVisible()):(this.setState({mode:Rh.compact}),this.props.onCardHide&&this.props.onCardHide()))},t.prototype.render=function(){var e=this.props,t=e.expandingCardProps,n=e.children,o=e.id,r=e.setAriaDescribedBy,i=void 0===r||r,a=e.styles,s=e.theme,c=e.className,l=e.type,u=e.plainCardProps,d=e.trapFocus,p=e.setInitialFocus,h=this.state,f=h.isHoverCardVisible,b=h.mode,y=h.openMode,v=o||Object(Pe.a)("hoverCard");this._classNames=Wh(a,{theme:s,className:c});var _=Object(m.a)(Object(m.a)({},Object(I.j)(this.props,I.h)),{id:v,trapFocus:!!d,firstFocus:p||y===Ih.hotKey,targetElement:this._getTargetElement(this.props.target),onEnter:this._cardOpen,onLeave:this._childDismissEvent}),S=Object(m.a)(Object(m.a)(Object(m.a)({},t),_),{mode:b}),C=Object(m.a)(Object(m.a)({},u),_);return g.createElement("div",{className:this._classNames.host,ref:this._hoverCard,"aria-describedby":i&&f?v:void 0,"data-is-focusable":!Boolean(this.props.target)},n,f&&(l===Oh.expanding?g.createElement(Hh,Object(m.a)({},S)):g.createElement(Vh,Object(m.a)({},C))))},t.prototype._getTargetElement=function(e){switch(typeof e){case"string":return Object(Fe.a)().querySelector(e);case"object":return e;default:return this._hoverCard.current||void 0}},t.prototype._shouldBlockHoverCard=function(){return!(!this.props.shouldBlockHoverCard||!this.props.shouldBlockHoverCard())},t.defaultProps={cardOpenDelay:500,cardDismissDelay:100,expandedCardOpenDelay:1500,instantOpenOnClick:!1,setInitialFocus:!1,openHotKey:ge.a.c,type:Oh.expanding},t}(g.Component),Gh=Object(x.a)(qh,(function(e){var t=e.className,n=e.theme;return{host:[Object(b.R)(Ah,n).host,t]}}),void 0,{scope:"HoverCard"});function Kh(e,t){void 0===e&&(e="");var n={style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons"',src:"url('"+e+"fabric-icons-a13498cf.woff') format('woff')"},icons:{GlobalNavButton:"",ChevronDown:"",ChevronUp:"",Edit:"",Add:"",Cancel:"",More:"",Settings:"",Mail:"",Filter:"",Search:"",Share:"",BlockedSite:"",FavoriteStar:"",FavoriteStarFill:"",CheckMark:"",Delete:"",ChevronLeft:"",ChevronRight:"",Calendar:"",Megaphone:"",Undo:"",Flag:"",Page:"",Pinned:"",View:"",Clear:"",Download:"",Upload:"",Folder:"",Sort:"",AlignRight:"",AlignLeft:"",Tag:"",AddFriend:"",Info:"",SortLines:"",List:"",CircleRing:"",Heart:"",HeartFill:"",Tiles:"",Embed:"",Glimmer:"",Ascending:"",Descending:"",SortUp:"",SortDown:"",SyncToPC:"",LargeGrid:"",SkypeCheck:"",SkypeClock:"",SkypeMinus:"",ClearFilter:"",Flow:"",StatusCircleCheckmark:"",MoreVertical:""}};Object(b.ib)(n,t)}function Yh(e,t){void 0===e&&(e="");var n={style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-0"',src:"url('"+e+"fabric-icons-0-467ee27f.woff') format('woff')"},icons:{PageLink:"",CommentSolid:"",ChangeEntitlements:"",Installation:"",WebAppBuilderModule:"",WebAppBuilderFragment:"",WebAppBuilderSlot:"",BullseyeTargetEdit:"",WebAppBuilderFragmentCreate:"",PageData:"",PageHeaderEdit:"",ProductList:"",UnpublishContent:"",DependencyAdd:"",DependencyRemove:"",EntitlementPolicy:"",EntitlementRedemption:"",SchoolDataSyncLogo:"",PinSolid12:"",PinSolidOff12:"",AddLink:"",SharepointAppIcon16:"",DataflowsLink:"",TimePicker:"",UserWarning:"",ComplianceAudit:"",InternetSharing:"",Brightness:"",MapPin:"",Airplane:"",Tablet:"",QuickNote:"",Video:"",People:"",Phone:"",Pin:"",Shop:"",Stop:"",Link:"",AllApps:"",Zoom:"",ZoomOut:"",Microphone:"",Camera:"",Attach:"",Send:"",FavoriteList:"",PageSolid:"",Forward:"",Back:"",Refresh:"",Lock:"",ReportHacked:"",EMI:"",MiniLink:"",Blocked:"",ReadingMode:"",Favicon:"",Remove:"",Checkbox:"",CheckboxComposite:"",CheckboxFill:"",CheckboxIndeterminate:"",CheckboxCompositeReversed:"",BackToWindow:"",FullScreen:"",Print:"",Up:"",Down:"",OEM:"",Save:"",ReturnKey:"",Cloud:"",Flashlight:"",CommandPrompt:"",Sad:"",RealEstate:"",SIPMove:"",EraseTool:"",GripperTool:"",Dialpad:"",PageLeft:"",PageRight:"",MultiSelect:"",KeyboardClassic:"",Play:"",Pause:"",InkingTool:"",Emoji2:"",GripperBarHorizontal:"",System:"",Personalize:"",SearchAndApps:"",Globe:"",EaseOfAccess:"",ContactInfo:"",Unpin:"",Contact:"",Memo:"",IncomingCall:""}};Object(b.ib)(n,t)}function Qh(e,t){void 0===e&&(e="");var n={style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-1"',src:"url('"+e+"fabric-icons-1-4d521695.woff') format('woff')"},icons:{Paste:"",WindowsLogo:"",Error:"",GripperBarVertical:"",Unlock:"",Slideshow:"",Trim:"",AutoEnhanceOn:"",AutoEnhanceOff:"",Color:"",SaveAs:"",Light:"",Filters:"",AspectRatio:"",Contrast:"",Redo:"",Crop:"",PhotoCollection:"",Album:"",Rotate:"",PanoIndicator:"",Translate:"",RedEye:"",ViewOriginal:"",ThumbnailView:"",Package:"",Telemarketer:"",Warning:"",Financial:"",Education:"",ShoppingCart:"",Train:"",Move:"",TouchPointer:"",Merge:"",TurnRight:"",Ferry:"",Highlight:"",PowerButton:"",Tab:"",Admin:"",TVMonitor:"",Speakers:"",Game:"",HorizontalTabKey:"",UnstackSelected:"",StackIndicator:"",Nav2DMapView:"",StreetsideSplitMinimize:"",Car:"",Bus:"",EatDrink:"",SeeDo:"",LocationCircle:"",Home:"",SwitcherStartEnd:"",ParkingLocation:"",IncidentTriangle:"",Touch:"",MapDirections:"",CaretHollow:"",CaretSolid:"",History:"",Location:"",MapLayers:"",SearchNearby:"",Work:"",Recent:"",Hotel:"",Bank:"",LocationDot:"",Dictionary:"",ChromeBack:"",FolderOpen:"",PinnedFill:"",RevToggleKey:"",USB:"",Previous:"",Next:"",Sync:"",Help:"",Emoji:"",MailForward:"",ClosePane:"",OpenPane:"",PreviewLink:"",ZoomIn:"",Bookmarks:"",Document:"",ProtectedDocument:"",OpenInNewWindow:"",MailFill:"",ViewAll:"",Switch:"",Rename:"",Go:"",Remote:"",SelectAll:"",Orientation:"",Import:""}};Object(b.ib)(n,t)}function $h(e,t){void 0===e&&(e="");var n={style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-2"',src:"url('"+e+"fabric-icons-2-63c99abf.woff') format('woff')"},icons:{Picture:"",ChromeClose:"",ShowResults:"",Message:"",CalendarDay:"",CalendarWeek:"",MailReplyAll:"",Read:"",Cut:"",PaymentCard:"",Copy:"",Important:"",MailReply:"",GotoToday:"",Font:"",FontColor:"",FolderFill:"",Permissions:"",DisableUpdates:"",Unfavorite:"",Italic:"",Underline:"",Bold:"",MoveToFolder:"",Dislike:"",Like:"",AlignCenter:"",OpenFile:"",ClearSelection:"",FontDecrease:"",FontIncrease:"",FontSize:"",CellPhone:"",RepeatOne:"",RepeatAll:"",Calculator:"",Library:"",PostUpdate:"",NewFolder:"",CalendarReply:"",UnsyncFolder:"",SyncFolder:"",BlockContact:"",Accept:"",BulletedList:"",Preview:"",News:"",Chat:"",Group:"",World:"",Comment:"",DockLeft:"",DockRight:"",Repair:"",Accounts:"",Street:"",RadioBullet:"",Stopwatch:"",Clock:"",WorldClock:"",AlarmClock:"",Photo:"",ActionCenter:"",Hospital:"",Timer:"",FullCircleMask:"",LocationFill:"",ChromeMinimize:"",ChromeRestore:"",Annotation:"",Fingerprint:"",Handwriting:"",ChromeFullScreen:"",Completed:"",Label:"",FlickDown:"",FlickUp:"",FlickLeft:"",FlickRight:"",MiniExpand:"",MiniContract:"",Streaming:"",MusicInCollection:"",OneDriveLogo:"",CompassNW:"",Code:"",LightningBolt:"",CalculatorMultiply:"",CalculatorAddition:"",CalculatorSubtract:"",CalculatorPercentage:"",CalculatorEqualTo:"",PrintfaxPrinterFile:"",StorageOptical:"",Communications:"",Headset:"",Health:"",Webcam2:"",FrontCamera:"",ChevronUpSmall:""}};Object(b.ib)(n,t)}function Zh(e,t){void 0===e&&(e="");var n={style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-3"',src:"url('"+e+"fabric-icons-3-089e217a.woff') format('woff')"},icons:{ChevronDownSmall:"",ChevronLeftSmall:"",ChevronRightSmall:"",ChevronUpMed:"",ChevronDownMed:"",ChevronLeftMed:"",ChevronRightMed:"",Devices2:"",PC1:"",PresenceChickletVideo:"",Reply:"",HalfAlpha:"",ConstructionCone:"",DoubleChevronLeftMed:"",Volume0:"",Volume1:"",Volume2:"",Volume3:"",Chart:"",Robot:"",Manufacturing:"",LockSolid:"",FitPage:"",FitWidth:"",BidiLtr:"",BidiRtl:"",RightDoubleQuote:"",Sunny:"",CloudWeather:"",Cloudy:"",PartlyCloudyDay:"",PartlyCloudyNight:"",ClearNight:"",RainShowersDay:"",Rain:"",Thunderstorms:"",RainSnow:"",Snow:"",BlowingSnow:"",Frigid:"",Fog:"",Squalls:"",Duststorm:"",Unknown:"",Precipitation:"",Ribbon:"",AreaChart:"",Assign:"",FlowChart:"",CheckList:"",Diagnostic:"",Generate:"",LineChart:"",Equalizer:"",BarChartHorizontal:"",BarChartVertical:"",Freezing:"",FunnelChart:"",Processing:"",Quantity:"",ReportDocument:"",StackColumnChart:"",SnowShowerDay:"",HailDay:"",WorkFlow:"",HourGlass:"",StoreLogoMed20:"",TimeSheet:"",TriangleSolid:"",UpgradeAnalysis:"",VideoSolid:"",RainShowersNight:"",SnowShowerNight:"",Teamwork:"",HailNight:"",PeopleAdd:"",Glasses:"",DateTime2:"",Shield:"",Header1:"",PageAdd:"",NumberedList:"",PowerBILogo:"",Info2:"",MusicInCollectionFill:"",Asterisk:"",ErrorBadge:"",CircleFill:"",Record2:"",AllAppsMirrored:"",BookmarksMirrored:"",BulletedListMirrored:"",CaretHollowMirrored:"",CaretSolidMirrored:"",ChromeBackMirrored:"",ClearSelectionMirrored:"",ClosePaneMirrored:"",DockLeftMirrored:"",DoubleChevronLeftMedMirrored:"",GoMirrored:""}};Object(b.ib)(n,t)}function Xh(e,t){void 0===e&&(e="");var n={style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-4"',src:"url('"+e+"fabric-icons-4-a656cc0a.woff') format('woff')"},icons:{HelpMirrored:"",ImportMirrored:"",ImportAllMirrored:"",ListMirrored:"",MailForwardMirrored:"",MailReplyMirrored:"",MailReplyAllMirrored:"",MiniContractMirrored:"",MiniExpandMirrored:"",OpenPaneMirrored:"",ParkingLocationMirrored:"",SendMirrored:"",ShowResultsMirrored:"",ThumbnailViewMirrored:"",Media:"",Devices3:"",Focus:"",VideoLightOff:"",Lightbulb:"",StatusTriangle:"",VolumeDisabled:"",Puzzle:"",EmojiNeutral:"",EmojiDisappointed:"",HomeSolid:"",Ringer:"",PDF:"",HeartBroken:"",StoreLogo16:"",MultiSelectMirrored:"",Broom:"",AddToShoppingList:"",Cocktails:"",Wines:"",Articles:"",Cycling:"",DietPlanNotebook:"",Pill:"",ExerciseTracker:"",HandsFree:"",Medical:"",Running:"",Weights:"",Trackers:"",AddNotes:"",AllCurrency:"",BarChart4:"",CirclePlus:"",Coffee:"",Cotton:"",Market:"",Money:"",PieDouble:"",PieSingle:"",RemoveFilter:"",Savings:"",Sell:"",StockDown:"",StockUp:"",Lamp:"",Source:"",MSNVideos:"",Cricket:"",Golf:"",Baseball:"",Soccer:"",MoreSports:"",AutoRacing:"",CollegeHoops:"",CollegeFootball:"",ProFootball:"",ProHockey:"",Rugby:"",SubstitutionsIn:"",Tennis:"",Arrivals:"",Design:"",Website:"",Drop:"",HistoricalWeather:"",SkiResorts:"",Snowflake:"",BusSolid:"",FerrySolid:"",AirplaneSolid:"",TrainSolid:"",Ticket:"",WifiWarning4:"",Devices4:"",AzureLogo:"",BingLogo:"",MSNLogo:"",OutlookLogoInverse:"",OfficeLogo:"",SkypeLogo:"",Door:"",EditMirrored:"",GiftCard:"",DoubleBookmark:"",StatusErrorFull:""}};Object(b.ib)(n,t)}function Jh(e,t){void 0===e&&(e="");var n={style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-5"',src:"url('"+e+"fabric-icons-5-f95ba260.woff') format('woff')"},icons:{Certificate:"",FastForward:"",Rewind:"",Photo2:"",OpenSource:"",Movers:"",CloudDownload:"",Family:"",WindDirection:"",Bug:"",SiteScan:"",BrowserScreenShot:"",F12DevTools:"",CSS:"",JS:"",DeliveryTruck:"",ReminderPerson:"",ReminderGroup:"",ReminderTime:"",TabletMode:"",Umbrella:"",NetworkTower:"",CityNext:"",CityNext2:"",Section:"",OneNoteLogoInverse:"",ToggleFilled:"",ToggleBorder:"",SliderThumb:"",ToggleThumb:"",Documentation:"",Badge:"",Giftbox:"",VisualStudioLogo:"",HomeGroup:"",ExcelLogoInverse:"",WordLogoInverse:"",PowerPointLogoInverse:"",Cafe:"",SpeedHigh:"",Commitments:"",ThisPC:"",MusicNote:"",MicOff:"",PlaybackRate1x:"",EdgeLogo:"",CompletedSolid:"",AlbumRemove:"",MessageFill:"",TabletSelected:"",MobileSelected:"",LaptopSelected:"",TVMonitorSelected:"",DeveloperTools:"",Shapes:"",InsertTextBox:"",LowerBrightness:"",WebComponents:"",OfflineStorage:"",DOM:"",CloudUpload:"",ScrollUpDown:"",DateTime:"",Event:"",Cake:"",Org:"",PartyLeader:"",DRM:"",CloudAdd:"",AppIconDefault:"",Photo2Add:"",Photo2Remove:"",Calories:"",POI:"",AddTo:"",RadioBtnOff:"",RadioBtnOn:"",ExploreContent:"",Product:"",ProgressLoopInner:"",ProgressLoopOuter:"",Blocked2:"",FangBody:"",Toolbox:"",PageHeader:"",ChatInviteFriend:"",Brush:"",Shirt:"",Crown:"",Diamond:"",ScaleUp:"",QRCode:"",Feedback:"",SharepointLogoInverse:"",YammerLogo:"",Hide:"",Uneditable:"",ReturnToSession:"",OpenFolderHorizontal:"",CalendarMirrored:""}};Object(b.ib)(n,t)}function ef(e,t){void 0===e&&(e="");var n={style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-6"',src:"url('"+e+"fabric-icons-6-ef6fd590.woff') format('woff')"},icons:{SwayLogoInverse:"",OutOfOffice:"",Trophy:"",ReopenPages:"",EmojiTabSymbols:"",AADLogo:"",AccessLogo:"",AdminALogoInverse32:"",AdminCLogoInverse32:"",AdminDLogoInverse32:"",AdminELogoInverse32:"",AdminLLogoInverse32:"",AdminMLogoInverse32:"",AdminOLogoInverse32:"",AdminPLogoInverse32:"",AdminSLogoInverse32:"",AdminYLogoInverse32:"",DelveLogoInverse:"",ExchangeLogoInverse:"",LyncLogo:"",OfficeVideoLogoInverse:"",SocialListeningLogo:"",VisioLogoInverse:"",Balloons:"",Cat:"",MailAlert:"",MailCheck:"",MailLowImportance:"",MailPause:"",MailRepeat:"",SecurityGroup:"",Table:"",VoicemailForward:"",VoicemailReply:"",Waffle:"",RemoveEvent:"",EventInfo:"",ForwardEvent:"",WipePhone:"",AddOnlineMeeting:"",JoinOnlineMeeting:"",RemoveLink:"",PeopleBlock:"",PeopleRepeat:"",PeopleAlert:"",PeoplePause:"",TransferCall:"",AddPhone:"",UnknownCall:"",NoteReply:"",NoteForward:"",NotePinned:"",RemoveOccurrence:"",Timeline:"",EditNote:"",CircleHalfFull:"",Room:"",Unsubscribe:"",Subscribe:"",HardDrive:"",RecurringTask:"",TaskManager:"",TaskManagerMirrored:"",Combine:"",Split:"",DoubleChevronUp:"",DoubleChevronLeft:"",DoubleChevronRight:"",TextBox:"",TextField:"",NumberField:"",Dropdown:"",PenWorkspace:"",BookingsLogo:"",ClassNotebookLogoInverse:"",DelveAnalyticsLogo:"",DocsLogoInverse:"",Dynamics365Logo:"",DynamicSMBLogo:"",OfficeAssistantLogo:"",OfficeStoreLogo:"",OneNoteEduLogoInverse:"",PlannerLogo:"",PowerApps:"",Suitcase:"",ProjectLogoInverse:"",CaretLeft8:"",CaretRight8:"",CaretUp8:"",CaretDown8:"",CaretLeftSolid8:"",CaretRightSolid8:"",CaretUpSolid8:"",CaretDownSolid8:"",ClearFormatting:"",Superscript:"",Subscript:"",Strikethrough:"",Export:"",ExportMirrored:""}};Object(b.ib)(n,t)}function tf(e,t){void 0===e&&(e="");var n={style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-7"',src:"url('"+e+"fabric-icons-7-2b97bb99.woff') format('woff')"},icons:{SingleBookmark:"",SingleBookmarkSolid:"",DoubleChevronDown:"",FollowUser:"",ReplyAll:"",WorkforceManagement:"",RecruitmentManagement:"",Questionnaire:"",ManagerSelfService:"",ProductionFloorManagement:"",ProductRelease:"",ProductVariant:"",ReplyMirrored:"",ReplyAllMirrored:"",Medal:"",AddGroup:"",QuestionnaireMirrored:"",CloudImportExport:"",TemporaryUser:"",CaretSolid16:"",GroupedDescending:"",GroupedAscending:"",AwayStatus:"",MyMoviesTV:"",GenericScan:"",AustralianRules:"",WifiEthernet:"",TrackersMirrored:"",DateTimeMirrored:"",StopSolid:"",DoubleChevronUp12:"",DoubleChevronDown12:"",DoubleChevronLeft12:"",DoubleChevronRight12:"",CalendarAgenda:"",ConnectVirtualMachine:"",AddEvent:"",AssetLibrary:"",DataConnectionLibrary:"",DocLibrary:"",FormLibrary:"",FormLibraryMirrored:"",ReportLibrary:"",ReportLibraryMirrored:"",ContactCard:"",CustomList:"",CustomListMirrored:"",IssueTracking:"",IssueTrackingMirrored:"",PictureLibrary:"",OfficeAddinsLogo:"",OfflineOneDriveParachute:"",OfflineOneDriveParachuteDisabled:"",TriangleSolidUp12:"",TriangleSolidDown12:"",TriangleSolidLeft12:"",TriangleSolidRight12:"",TriangleUp12:"",TriangleDown12:"",TriangleLeft12:"",TriangleRight12:"",ArrowUpRight8:"",ArrowDownRight8:"",DocumentSet:"",GoToDashboard:"",DelveAnalytics:"",ArrowUpRightMirrored8:"",ArrowDownRightMirrored8:"",CompanyDirectory:"",OpenEnrollment:"",CompanyDirectoryMirrored:"",OneDriveAdd:"",ProfileSearch:"",Header2:"",Header3:"",Header4:"",RingerSolid:"",Eyedropper:"",MarketDown:"",CalendarWorkWeek:"",SidePanel:"",GlobeFavorite:"",CaretTopLeftSolid8:"",CaretTopRightSolid8:"",ViewAll2:"",DocumentReply:"",PlayerSettings:"",ReceiptForward:"",ReceiptReply:"",ReceiptCheck:"",Fax:"",RecurringEvent:"",ReplyAlt:"",ReplyAllAlt:"",EditStyle:"",EditMail:"",Lifesaver:"",LifesaverLock:"",InboxCheck:"",FolderSearch:""}};Object(b.ib)(n,t)}function nf(e,t){void 0===e&&(e="");var n={style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-8"',src:"url('"+e+"fabric-icons-8-6fdf1528.woff') format('woff')"},icons:{CollapseMenu:"",ExpandMenu:"",Boards:"",SunAdd:"",SunQuestionMark:"",LandscapeOrientation:"",DocumentSearch:"",PublicCalendar:"",PublicContactCard:"",PublicEmail:"",PublicFolder:"",WordDocument:"",PowerPointDocument:"",ExcelDocument:"",GroupedList:"",ClassroomLogo:"",Sections:"",EditPhoto:"",Starburst:"",ShareiOS:"",AirTickets:"",PencilReply:"",Tiles2:"",SkypeCircleCheck:"",SkypeCircleClock:"",SkypeCircleMinus:"",SkypeMessage:"",ClosedCaption:"",ATPLogo:"",OfficeFormsLogoInverse:"",RecycleBin:"",EmptyRecycleBin:"",Hide2:"",Breadcrumb:"",BirthdayCake:"",TimeEntry:"",CRMProcesses:"",PageEdit:"",PageArrowRight:"",PageRemove:"",Database:"",DataManagementSettings:"",CRMServices:"",EditContact:"",ConnectContacts:"",AppIconDefaultAdd:"",AppIconDefaultList:"",ActivateOrders:"",DeactivateOrders:"",ProductCatalog:"",ScatterChart:"",AccountActivity:"",DocumentManagement:"",CRMReport:"",KnowledgeArticle:"",Relationship:"",HomeVerify:"",ZipFolder:"",SurveyQuestions:"",TextDocument:"",TextDocumentShared:"",PageCheckedOut:"",PageShared:"",SaveAndClose:"",Script:"",Archive:"",ActivityFeed:"",Compare:"",EventDate:"",ArrowUpRight:"",CaretRight:"",SetAction:"",ChatBot:"",CaretSolidLeft:"",CaretSolidDown:"",CaretSolidRight:"",CaretSolidUp:"",PowerAppsLogo:"",PowerApps2Logo:"",SearchIssue:"",SearchIssueMirrored:"",FabricAssetLibrary:"",FabricDataConnectionLibrary:"",FabricDocLibrary:"",FabricFormLibrary:"",FabricFormLibraryMirrored:"",FabricReportLibrary:"",FabricReportLibraryMirrored:"",FabricPublicFolder:"",FabricFolderSearch:"",FabricMovetoFolder:"",FabricUnsyncFolder:"",FabricSyncFolder:"",FabricOpenFolderHorizontal:"",FabricFolder:"",FabricFolderFill:"",FabricNewFolder:"",FabricPictureLibrary:"",PhotoVideoMedia:"",AddFavorite:""}};Object(b.ib)(n,t)}function of(e,t){void 0===e&&(e="");var n={style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-9"',src:"url('"+e+"fabric-icons-9-c6162b42.woff') format('woff')"},icons:{AddFavoriteFill:"",BufferTimeBefore:"",BufferTimeAfter:"",BufferTimeBoth:"",PublishContent:"",ClipboardList:"",ClipboardListMirrored:"",CannedChat:"",SkypeForBusinessLogo:"",TabCenter:"",PageCheckedin:"",PageList:"",ReadOutLoud:"",CaretBottomLeftSolid8:"",CaretBottomRightSolid8:"",FolderHorizontal:"",MicrosoftStaffhubLogo:"",GiftboxOpen:"",StatusCircleOuter:"",StatusCircleInner:"",StatusCircleRing:"",StatusTriangleOuter:"",StatusTriangleInner:"",StatusTriangleExclamation:"",StatusCircleExclamation:"",StatusCircleErrorX:"",StatusCircleInfo:"",StatusCircleBlock:"",StatusCircleBlock2:"",StatusCircleQuestionMark:"",StatusCircleSync:"",Toll:"",ExploreContentSingle:"",CollapseContent:"",CollapseContentSingle:"",InfoSolid:"",GroupList:"",ProgressRingDots:"",CaloriesAdd:"",BranchFork:"",MuteChat:"",AddHome:"",AddWork:"",MobileReport:"",ScaleVolume:"",HardDriveGroup:"",FastMode:"",ToggleLeft:"",ToggleRight:"",TriangleShape:"",RectangleShape:"",CubeShape:"",Trophy2:"",BucketColor:"",BucketColorFill:"",Taskboard:"",SingleColumn:"",DoubleColumn:"",TripleColumn:"",ColumnLeftTwoThirds:"",ColumnRightTwoThirds:"",AccessLogoFill:"",AnalyticsLogo:"",AnalyticsQuery:"",NewAnalyticsQuery:"",AnalyticsReport:"",WordLogo:"",WordLogoFill:"",ExcelLogo:"",ExcelLogoFill:"",OneNoteLogo:"",OneNoteLogoFill:"",OutlookLogo:"",OutlookLogoFill:"",PowerPointLogo:"",PowerPointLogoFill:"",PublisherLogo:"",PublisherLogoFill:"",ScheduleEventAction:"",FlameSolid:"",ServerProcesses:"",Server:"",SaveAll:"",LinkedInLogo:"",Decimals:"",SidePanelMirrored:"",ProtectRestrict:"",Blog:"",UnknownMirrored:"",PublicContactCardMirrored:"",GridViewSmall:"",GridViewMedium:"",GridViewLarge:"",Step:"",StepInsert:"",StepShared:"",StepSharedAdd:"",StepSharedInsert:"",ViewDashboard:"",ViewList:""}};Object(b.ib)(n,t)}function rf(e,t){void 0===e&&(e="");var n={style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-10"',src:"url('"+e+"fabric-icons-10-c4ded8e4.woff') format('woff')"},icons:{ViewListGroup:"",ViewListTree:"",TriggerAuto:"",TriggerUser:"",PivotChart:"",StackedBarChart:"",StackedLineChart:"",BuildQueue:"",BuildQueueNew:"",UserFollowed:"",ContactLink:"",Stack:"",Bullseye:"",VennDiagram:"",FiveTileGrid:"",FocalPoint:"",Insert:"",RingerRemove:"",TeamsLogoInverse:"",TeamsLogo:"",TeamsLogoFill:"",SkypeForBusinessLogoFill:"",SharepointLogo:"",SharepointLogoFill:"",DelveLogo:"",DelveLogoFill:"",OfficeVideoLogo:"",OfficeVideoLogoFill:"",ExchangeLogo:"",ExchangeLogoFill:"",Signin:"",DocumentApproval:"",CloneToDesktop:"",InstallToDrive:"",Blur:"",Build:"",ProcessMetaTask:"",BranchFork2:"",BranchLocked:"",BranchCommit:"",BranchCompare:"",BranchMerge:"",BranchPullRequest:"",BranchSearch:"",BranchShelveset:"",RawSource:"",MergeDuplicate:"",RowsGroup:"",RowsChild:"",Deploy:"",Redeploy:"",ServerEnviroment:"",VisioDiagram:"",HighlightMappedShapes:"",TextCallout:"",IconSetsFlag:"",VisioLogo:"",VisioLogoFill:"",VisioDocument:"",TimelineProgress:"",TimelineDelivery:"",Backlog:"",TeamFavorite:"",TaskGroup:"",TaskGroupMirrored:"",ScopeTemplate:"",AssessmentGroupTemplate:"",NewTeamProject:"",CommentAdd:"",CommentNext:"",CommentPrevious:"",ShopServer:"",LocaleLanguage:"",QueryList:"",UserSync:"",UserPause:"",StreamingOff:"",ArrowTallUpLeft:"",ArrowTallUpRight:"",ArrowTallDownLeft:"",ArrowTallDownRight:"",FieldEmpty:"",FieldFilled:"",FieldChanged:"",FieldNotChanged:"",RingerOff:"",PlayResume:"",BulletedList2:"",BulletedList2Mirrored:"",ImageCrosshair:"",GitGraph:"",Repo:"",RepoSolid:"",FolderQuery:"",FolderList:"",FolderListMirrored:"",LocationOutline:"",POISolid:"",CalculatorNotEqualTo:"",BoxSubtractSolid:""}};Object(b.ib)(n,t)}function af(e,t){void 0===e&&(e="");var n={style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-11"',src:"url('"+e+"fabric-icons-11-2a8393d6.woff') format('woff')"},icons:{BoxAdditionSolid:"",BoxMultiplySolid:"",BoxPlaySolid:"",BoxCheckmarkSolid:"",CirclePauseSolid:"",CirclePause:"",MSNVideosSolid:"",CircleStopSolid:"",CircleStop:"",NavigateBack:"",NavigateBackMirrored:"",NavigateForward:"",NavigateForwardMirrored:"",UnknownSolid:"",UnknownMirroredSolid:"",CircleAddition:"",CircleAdditionSolid:"",FilePDB:"",FileTemplate:"",FileSQL:"",FileJAVA:"",FileASPX:"",FileCSS:"",FileSass:"",FileLess:"",FileHTML:"",JavaScriptLanguage:"",CSharpLanguage:"",CSharp:"",VisualBasicLanguage:"",VB:"",CPlusPlusLanguage:"",CPlusPlus:"",FSharpLanguage:"",FSharp:"",TypeScriptLanguage:"",PythonLanguage:"",PY:"",CoffeeScript:"",MarkDownLanguage:"",FullWidth:"",FullWidthEdit:"",Plug:"",PlugSolid:"",PlugConnected:"",PlugDisconnected:"",UnlockSolid:"",Variable:"",Parameter:"",CommentUrgent:"",Storyboard:"",DiffInline:"",DiffSideBySide:"",ImageDiff:"",ImagePixel:"",FileBug:"",FileCode:"",FileComment:"",BusinessHoursSign:"",FileImage:"",FileSymlink:"",AutoFillTemplate:"",WorkItem:"",WorkItemBug:"",LogRemove:"",ColumnOptions:"",Packages:"",BuildIssue:"",AssessmentGroup:"",VariableGroup:"",FullHistory:"",Wheelchair:"",SingleColumnEdit:"",DoubleColumnEdit:"",TripleColumnEdit:"",ColumnLeftTwoThirdsEdit:"",ColumnRightTwoThirdsEdit:"",StreamLogo:"",PassiveAuthentication:"",AlertSolid:"",MegaphoneSolid:"",TaskSolid:"",ConfigurationSolid:"",BugSolid:"",CrownSolid:"",Trophy2Solid:"",QuickNoteSolid:"",ConstructionConeSolid:"",PageListSolid:"",PageListMirroredSolid:"",StarburstSolid:"",ReadingModeSolid:"",SadSolid:"",HealthSolid:"",ShieldSolid:"",GiftBoxSolid:"",ShoppingCartSolid:"",MailSolid:"",ChatSolid:"",RibbonSolid:""}};Object(b.ib)(n,t)}function sf(e,t){void 0===e&&(e="");var n={style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-12"',src:"url('"+e+"fabric-icons-12-7e945a1e.woff') format('woff')"},icons:{FinancialSolid:"",FinancialMirroredSolid:"",HeadsetSolid:"",PermissionsSolid:"",ParkingSolid:"",ParkingMirroredSolid:"",DiamondSolid:"",AsteriskSolid:"",OfflineStorageSolid:"",BankSolid:"",DecisionSolid:"",Parachute:"",ParachuteSolid:"",FiltersSolid:"",ColorSolid:"",ReviewSolid:"",ReviewRequestSolid:"",ReviewRequestMirroredSolid:"",ReviewResponseSolid:"",FeedbackRequestSolid:"",FeedbackRequestMirroredSolid:"",FeedbackResponseSolid:"",WorkItemBar:"",WorkItemBarSolid:"",Separator:"",NavigateExternalInline:"",PlanView:"",TimelineMatrixView:"",EngineeringGroup:"",ProjectCollection:"",CaretBottomRightCenter8:"",CaretBottomLeftCenter8:"",CaretTopRightCenter8:"",CaretTopLeftCenter8:"",DonutChart:"",ChevronUnfold10:"",ChevronFold10:"",DoubleChevronDown8:"",DoubleChevronUp8:"",DoubleChevronLeft8:"",DoubleChevronRight8:"",ChevronDownEnd6:"",ChevronUpEnd6:"",ChevronLeftEnd6:"",ChevronRightEnd6:"",ContextMenu:"",AzureAPIManagement:"",AzureServiceEndpoint:"",VSTSLogo:"",VSTSAltLogo1:"",VSTSAltLogo2:"",FileTypeSolution:"",WordLogoInverse16:"",WordLogo16:"",WordLogoFill16:"",PowerPointLogoInverse16:"",PowerPointLogo16:"",PowerPointLogoFill16:"",ExcelLogoInverse16:"",ExcelLogo16:"",ExcelLogoFill16:"",OneNoteLogoInverse16:"",OneNoteLogo16:"",OneNoteLogoFill16:"",OutlookLogoInverse16:"",OutlookLogo16:"",OutlookLogoFill16:"",PublisherLogoInverse16:"",PublisherLogo16:"",PublisherLogoFill16:"",VisioLogoInverse16:"",VisioLogo16:"",VisioLogoFill16:"",TestBeaker:"",TestBeakerSolid:"",TestExploreSolid:"",TestAutoSolid:"",TestUserSolid:"",TestImpactSolid:"",TestPlan:"",TestStep:"",TestParameter:"",TestSuite:"",TestCase:"",Sprint:"",SignOut:"",TriggerApproval:"",Rocket:"",AzureKeyVault:"",Onboarding:"",Transition:"",LikeSolid:"",DislikeSolid:"",CRMCustomerInsightsApp:"",EditCreate:"",PlayReverseResume:"",PlayReverse:"",SearchData:"",UnSetColor:"",DeclineCall:""}};Object(b.ib)(n,t)}function cf(e,t){void 0===e&&(e="");var n={style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-13"',src:"url('"+e+"fabric-icons-13-c3989a02.woff') format('woff')"},icons:{RectangularClipping:"",TeamsLogo16:"",TeamsLogoFill16:"",Spacer:"",SkypeLogo16:"",SkypeForBusinessLogo16:"",SkypeForBusinessLogoFill16:"",FilterSolid:"",MailUndelivered:"",MailTentative:"",MailTentativeMirrored:"",MailReminder:"",ReceiptUndelivered:"",ReceiptTentative:"",ReceiptTentativeMirrored:"",Inbox:"",IRMReply:"",IRMReplyMirrored:"",IRMForward:"",IRMForwardMirrored:"",VoicemailIRM:"",EventAccepted:"",EventTentative:"",EventTentativeMirrored:"",EventDeclined:"",IDBadge:"",BackgroundColor:"",OfficeFormsLogoInverse16:"",OfficeFormsLogo:"",OfficeFormsLogoFill:"",OfficeFormsLogo16:"",OfficeFormsLogoFill16:"",OfficeFormsLogoInverse24:"",OfficeFormsLogo24:"",OfficeFormsLogoFill24:"",PageLock:"",NotExecuted:"",NotImpactedSolid:"",FieldReadOnly:"",FieldRequired:"",BacklogBoard:"",ExternalBuild:"",ExternalTFVC:"",ExternalXAML:"",IssueSolid:"",DefectSolid:"",LadybugSolid:"",NugetLogo:"",TFVCLogo:"",ProjectLogo32:"",ProjectLogoFill32:"",ProjectLogo16:"",ProjectLogoFill16:"",SwayLogo32:"",SwayLogoFill32:"",SwayLogo16:"",SwayLogoFill16:"",ClassNotebookLogo32:"",ClassNotebookLogoFill32:"",ClassNotebookLogo16:"",ClassNotebookLogoFill16:"",ClassNotebookLogoInverse32:"",ClassNotebookLogoInverse16:"",StaffNotebookLogo32:"",StaffNotebookLogoFill32:"",StaffNotebookLogo16:"",StaffNotebookLogoFill16:"",StaffNotebookLogoInverted32:"",StaffNotebookLogoInverted16:"",KaizalaLogo:"",TaskLogo:"",ProtectionCenterLogo32:"",GallatinLogo:"",Globe2:"",Guitar:"",Breakfast:"",Brunch:"",BeerMug:"",Vacation:"",Teeth:"",Taxi:"",Chopsticks:"",SyncOccurence:"",UnsyncOccurence:"",GIF:"",PrimaryCalendar:"",SearchCalendar:"",VideoOff:"",MicrosoftFlowLogo:"",BusinessCenterLogo:"",ToDoLogoBottom:"",ToDoLogoTop:"",EditSolid12:"",EditSolidMirrored12:"",UneditableSolid12:"",UneditableSolidMirrored12:"",UneditableMirrored:"",AdminALogo32:"",AdminALogoFill32:"",ToDoLogoInverse:""}};Object(b.ib)(n,t)}function lf(e,t){void 0===e&&(e="");var n={style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-14"',src:"url('"+e+"fabric-icons-14-5cf58db8.woff') format('woff')"},icons:{Snooze:"",WaffleOffice365:"",ImageSearch:"",NewsSearch:"",VideoSearch:"",R:"",FontColorA:"",FontColorSwatch:"",LightWeight:"",NormalWeight:"",SemiboldWeight:"",GroupObject:"",UngroupObject:"",AlignHorizontalLeft:"",AlignHorizontalCenter:"",AlignHorizontalRight:"",AlignVerticalTop:"",AlignVerticalCenter:"",AlignVerticalBottom:"",HorizontalDistributeCenter:"",VerticalDistributeCenter:"",Ellipse:"",Line:"",Octagon:"",Hexagon:"",Pentagon:"",RightTriangle:"",HalfCircle:"",QuarterCircle:"",ThreeQuarterCircle:"","6PointStar":"","12PointStar":"",ArrangeBringToFront:"",ArrangeSendToBack:"",ArrangeSendBackward:"",ArrangeBringForward:"",BorderDash:"",BorderDot:"",LineStyle:"",LineThickness:"",WindowEdit:"",HintText:"",MediaAdd:"",AnchorLock:"",AutoHeight:"",ChartSeries:"",ChartXAngle:"",ChartYAngle:"",Combobox:"",LineSpacing:"",Padding:"",PaddingTop:"",PaddingBottom:"",PaddingLeft:"",PaddingRight:"",NavigationFlipper:"",AlignJustify:"",TextOverflow:"",VisualsFolder:"",VisualsStore:"",PictureCenter:"",PictureFill:"",PicturePosition:"",PictureStretch:"",PictureTile:"",Slider:"",SliderHandleSize:"",DefaultRatio:"",NumberSequence:"",GUID:"",ReportAdd:"",DashboardAdd:"",MapPinSolid:"",WebPublish:"",PieSingleSolid:"",BlockedSolid:"",DrillDown:"",DrillDownSolid:"",DrillExpand:"",DrillShow:"",SpecialEvent:"",OneDriveFolder16:"",FunctionalManagerDashboard:"",BIDashboard:"",CodeEdit:"",RenewalCurrent:"",RenewalFuture:"",SplitObject:"",BulkUpload:"",DownloadDocument:"",GreetingCard:"",Flower:"",WaitlistConfirm:"",WaitlistConfirmMirrored:"",LaptopSecure:"",DragObject:"",EntryView:"",EntryDecline:"",ContactCardSettings:"",ContactCardSettingsMirrored:""}};Object(b.ib)(n,t)}function uf(e,t){void 0===e&&(e="");var n={style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-15"',src:"url('"+e+"fabric-icons-15-3807251b.woff') format('woff')"},icons:{CalendarSettings:"",CalendarSettingsMirrored:"",HardDriveLock:"",HardDriveUnlock:"",AccountManagement:"",ReportWarning:"",TransitionPop:"",TransitionPush:"",TransitionEffect:"",LookupEntities:"",ExploreData:"",AddBookmark:"",SearchBookmark:"",DrillThrough:"",MasterDatabase:"",CertifiedDatabase:"",MaximumValue:"",MinimumValue:"",VisualStudioIDELogo32:"",PasteAsText:"",PasteAsCode:"",BrowserTab:"",BrowserTabScreenshot:"",DesktopScreenshot:"",FileYML:"",ClipboardSolid:"",FabricUserFolder:"",FabricNetworkFolder:"",BullseyeTarget:"",AnalyticsView:"",Video360Generic:"",Untag:"",Leave:"",Trending12:"",Blocked12:"",Warning12:"",CheckedOutByOther12:"",CheckedOutByYou12:"",CircleShapeSolid:"",SquareShapeSolid:"",TriangleShapeSolid:"",DropShapeSolid:"",RectangleShapeSolid:"",ZoomToFit:"",InsertColumnsLeft:"",InsertColumnsRight:"",InsertRowsAbove:"",InsertRowsBelow:"",DeleteColumns:"",DeleteRows:"",DeleteRowsMirrored:"",DeleteTable:"",AccountBrowser:"",VersionControlPush:"",StackedColumnChart2:"",TripleColumnWide:"",QuadColumn:"",WhiteBoardApp16:"",WhiteBoardApp32:"",PinnedSolid:"",InsertSignatureLine:"",ArrangeByFrom:"",Phishing:"",CreateMailRule:"",PublishCourse:"",DictionaryRemove:"",UserRemove:"",UserEvent:"",Encryption:"",PasswordField:"",OpenInNewTab:"",Hide3:"",VerifiedBrandSolid:"",MarkAsProtected:"",AuthenticatorApp:"",WebTemplate:"",DefenderTVM:"",MedalSolid:"",D365TalentLearn:"",D365TalentInsight:"",D365TalentHRCore:"",BacklogList:"",ButtonControl:"",TableGroup:"",MountainClimbing:"",TagUnknown:"",TagUnknownMirror:"",TagUnknown12:"",TagUnknown12Mirror:"",Link12:"",Presentation:"",Presentation12:"",Lock12:"",BuildDefinition:"",ReleaseDefinition:"",SaveTemplate:"",UserGauge:"",BlockedSiteSolid12:"",TagSolid:"",OfficeChat:""}};Object(b.ib)(n,t)}function df(e,t){void 0===e&&(e="");var n={style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-16"',src:"url('"+e+"fabric-icons-16-9cf93f3b.woff') format('woff')"},icons:{OfficeChatSolid:"",MailSchedule:"",WarningSolid:"",Blocked2Solid:"",SkypeCircleArrow:"",SkypeArrow:"",SyncStatus:"",SyncStatusSolid:"",ProjectDocument:"",ToDoLogoOutline:"",VisioOnlineLogoFill32:"",VisioOnlineLogo32:"",VisioOnlineLogoCloud32:"",VisioDiagramSync:"",Event12:"",EventDateMissed12:"",UserOptional:"",ResponsesMenu:"",DoubleDownArrow:"",DistributeDown:"",BookmarkReport:"",FilterSettings:"",GripperDotsVertical:"",MailAttached:"",AddIn:"",LinkedDatabase:"",TableLink:"",PromotedDatabase:"",BarChartVerticalFilter:"",BarChartVerticalFilterSolid:"",MicOff2:"",MicrosoftTranslatorLogo:"",ShowTimeAs:"",FileRequest:"",WorkItemAlert:"",PowerBILogo16:"",PowerBILogoBackplate16:"",BulletedListText:"",BulletedListBullet:"",BulletedListTextMirrored:"",BulletedListBulletMirrored:"",NumberedListText:"",NumberedListNumber:"",NumberedListTextMirrored:"",NumberedListNumberMirrored:"",RemoveLinkChain:"",RemoveLinkX:"",FabricTextHighlight:"",ClearFormattingA:"",ClearFormattingEraser:"",Photo2Fill:"",IncreaseIndentText:"",IncreaseIndentArrow:"",DecreaseIndentText:"",DecreaseIndentArrow:"",IncreaseIndentTextMirrored:"",IncreaseIndentArrowMirrored:"",DecreaseIndentTextMirrored:"",DecreaseIndentArrowMirrored:"",CheckListText:"",CheckListCheck:"",CheckListTextMirrored:"",CheckListCheckMirrored:"",NumberSymbol:"",Coupon:"",VerifiedBrand:"",ReleaseGate:"",ReleaseGateCheck:"",ReleaseGateError:"",M365InvoicingLogo:"",RemoveFromShoppingList:"",ShieldAlert:"",FabricTextHighlightComposite:"",Dataflows:"",GenericScanFilled:"",DiagnosticDataBarTooltip:"",SaveToMobile:"",Orientation2:"",ScreenCast:"",ShowGrid:"",SnapToGrid:"",ContactList:"",NewMail:"",EyeShadow:"",FabricFolderConfirm:"",InformationBarriers:"",CommentActive:"",ColumnVerticalSectionEdit:"",WavingHand:"",ShakeDevice:"",SmartGlassRemote:"",Rotate90Clockwise:"",Rotate90CounterClockwise:"",CampaignTemplate:"",ChartTemplate:"",PageListFilter:"",SecondaryNav:"",ColumnVerticalSection:"",SkypeCircleSlash:"",SkypeSlash:""}};Object(b.ib)(n,t)}function pf(e,t){void 0===e&&(e="");var n={style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-17"',src:"url('"+e+"fabric-icons-17-0c4ed701.woff') format('woff')"},icons:{CustomizeToolbar:"",DuplicateRow:"",RemoveFromTrash:"",MailOptions:"",Childof:"",Footer:"",Header:"",BarChartVerticalFill:"",StackedColumnChart2Fill:"",PlainText:"",AccessibiltyChecker:"",DatabaseSync:"",ReservationOrders:"",TabOneColumn:"",TabTwoColumn:"",TabThreeColumn:"",BulletedTreeList:"",MicrosoftTranslatorLogoGreen:"",MicrosoftTranslatorLogoBlue:"",InternalInvestigation:"",AddReaction:"",ContactHeart:"",VisuallyImpaired:"",EventToDoLogo:"",Variable2:"",ModelingView:"",DisconnectVirtualMachine:"",ReportLock:"",Uneditable2:"",Uneditable2Mirrored:"",BarChartVerticalEdit:"",GlobalNavButtonActive:"",PollResults:"",Rerun:"",QandA:"",QandAMirror:"",BookAnswers:"",AlertSettings:"",TrimStart:"",TrimEnd:"",TableComputed:"",DecreaseIndentLegacy:"",IncreaseIndentLegacy:"",SizeLegacy:""}};Object(b.ib)(n,t)}function hf(e,t){void 0===e&&(e="https://spoprod-a.akamaihd.net/files/fabric/assets/icons/"),[Kh,Yh,Qh,$h,Zh,Xh,Jh,ef,tf,nf,of,rf,af,sf,cf,lf,uf,df,pf].forEach((function(n){return n(e,t)})),Object(b.hb)("trash","delete"),Object(b.hb)("onedrive","onedrivelogo"),Object(b.hb)("alertsolid12","eventdatemissed12"),Object(b.hb)("sixpointstar","6pointstar"),Object(b.hb)("twelvepointstar","12pointstar"),Object(b.hb)("toggleon","toggleleft"),Object(b.hb)("toggleoff","toggleright")}Object(kh.a)("@uifabric/icons","7.5.5");var ff,mf,gf=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(m.c)(t,e),t.prototype.render=function(){var e=this.props,t=e.content,n=e.styles,o=e.theme,r=e.disabled,i=e.visible,a=Object(w.a)()(n,{theme:o,disabled:r,visible:i});return g.createElement("div",{className:a.container},g.createElement("span",{className:a.root},t))},t}(g.Component),bf=function(e){return{container:[],root:[{border:"none",boxShadow:"none"}],beak:[],beakCurtain:[],calloutMain:[{backgroundColor:"transparent"}]}},yf=function(e){return function(t){return Object(b.cb)({container:[],root:[{border:"none",boxShadow:"none"}],beak:[],beakCurtain:[],calloutMain:[{backgroundColor:"transparent"}]},{root:[{marginLeft:e.left||e.x,marginTop:e.top||e.y}]})}},vf=Object(x.a)(gf,(function(e){var t,n=e.theme,o=e.disabled,r=e.visible;return{container:[{backgroundColor:n.palette.neutralDark},o&&{opacity:.5,selectors:(t={},t[b.l]={color:"GrayText",opacity:1},t)},!r&&{visibility:"hidden"}],root:[n.fonts.medium,{textAlign:"center",paddingLeft:"3px",paddingRight:"3px",backgroundColor:n.palette.neutralDark,color:n.palette.neutralLight,minWidth:"11px",lineHeight:"17px",height:"17px",display:"inline-block"},o&&{color:n.palette.neutralTertiaryAlt}]}}),void 0,{scope:"KeytipContent"}),_f=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(m.c)(t,e),t.prototype.render=function(){var e,t=this.props,n=t.keySequences,o=t.offset,r=t.overflowSetSequence,i=this.props.calloutProps;return e=Ye(r?Ke(n,r):n),o&&(i=Object(m.a)(Object(m.a)({},i),{coverTarget:!0,directionalHint:st.topLeftEdge})),i&&void 0!==i.directionalHint||(i=Object(m.a)(Object(m.a)({},i),{directionalHint:st.bottomCenter})),g.createElement(Nn,Object(m.a)({},i,{isBeakVisible:!1,doNotLayer:!0,minPagePadding:0,styles:o?yf(o):bf,preventDismissOnScroll:!0,target:e}),g.createElement(vf,Object(m.a)({},this.props)))},t}(g.Component),Sf=function(e){return{root:[{zIndex:b.F.KeytipLayer}]}},Cf=function(){function e(){this.nodeMap={},this.root={id:"ktp-layer-id",children:[],parent:"",keySequences:[]},this.nodeMap[this.root.id]=this.root}return e.prototype.addNode=function(e,t,n){var o=this._getFullSequence(e),r=Ge(o);o.pop();var i=this._getParentID(o),a=this._createNode(r,i,[],e,n);this.nodeMap[t]=a;var s=this.getNode(i);s&&s.children.push(r)},e.prototype.updateNode=function(e,t){var n=this._getFullSequence(e),o=Ge(n);n.pop();var r=this._getParentID(n),i=this.nodeMap[t],a=i.parent,s=this.getNode(a),c=this.getNode(r);if(i){if(s&&a!==r){var l=s.children.indexOf(i.id);l>=0&&s.children.splice(l,1)}if(c&&i.id!==o){var u=c.children.indexOf(i.id);u>=0?c.children[u]=o:c.children.push(o)}i.id=o,i.keySequences=e.keySequences,i.overflowSetSequence=e.overflowSetSequence,i.onExecute=e.onExecute,i.onReturn=e.onReturn,i.hasDynamicChildren=e.hasDynamicChildren,i.hasMenu=e.hasMenu,i.parent=r,i.disabled=e.disabled}},e.prototype.removeNode=function(e,t){var n=this._getFullSequence(e),o=Ge(n);n.pop();var r=this._getParentID(n),i=this.getNode(r);i&&i.children.splice(i.children.indexOf(o),1),this.nodeMap[t]&&delete this.nodeMap[t]},e.prototype.getExactMatchedNode=function(e,t){var n=this,o=this.getNodes(t.children);return Object(qe.d)(o,(function(t){return n._getNodeSequence(t)===e&&!t.disabled}))},e.prototype.getPartiallyMatchedNodes=function(e,t){var n=this;return this.getNodes(t.children).filter((function(t){return 0===n._getNodeSequence(t).indexOf(e)&&!t.disabled}))},e.prototype.getChildren=function(e){var t=this;if(!e&&!(e=this.currentKeytip))return[];var n=e.children;return Object.keys(this.nodeMap).reduce((function(e,o){return n.indexOf(t.nodeMap[o].id)>=0&&!t.nodeMap[o].persisted&&e.push(t.nodeMap[o].id),e}),[])},e.prototype.getNodes=function(e){var t=this;return Object.keys(this.nodeMap).reduce((function(n,o){return e.indexOf(t.nodeMap[o].id)>=0&&n.push(t.nodeMap[o]),n}),[])},e.prototype.getNode=function(e){var t=Object(ot.f)(this.nodeMap);return Object(qe.d)(t,(function(t){return t.id===e}))},e.prototype.isCurrentKeytipParent=function(e){if(this.currentKeytip){var t=Object(m.e)(e.keySequences);e.overflowSetSequence&&(t=Ke(t,e.overflowSetSequence)),t.pop();var n=0===t.length?this.root.id:Ge(t),o=!1;return this.currentKeytip.overflowSetSequence&&(o=Ge(this.currentKeytip.keySequences)===n),o||this.currentKeytip.id===n}return!1},e.prototype._getParentID=function(e){return 0===e.length?this.root.id:Ge(e)},e.prototype._getFullSequence=function(e){var t=Object(m.e)(e.keySequences);return e.overflowSetSequence&&(t=Ke(t,e.overflowSetSequence)),t},e.prototype._getNodeSequence=function(e){var t=Object(m.e)(e.keySequences);return e.overflowSetSequence&&(t=Ke(t,e.overflowSetSequence)),t[t.length-1]},e.prototype._createNode=function(e,t,n,o,r){var i=this,a=o.keySequences,s=o.hasDynamicChildren,c=o.overflowSetSequence,l=o.hasMenu,u=o.onExecute,d=o.onReturn,p=o.disabled,h={id:e,keySequences:a,overflowSetSequence:c,parent:t,children:n,onExecute:u,onReturn:d,hasDynamicChildren:s,hasMenu:l,disabled:p,persisted:r};return h.children=Object.keys(this.nodeMap).reduce((function(t,n){return i.nodeMap[n].parent===e&&t.push(i.nodeMap[n].id),t}),[]),h},e}();function xf(e,t){return!!Object(qe.d)(e,(function(e){return function(e,t){if(e.key!==t.key)return!1;var n=e.modifierKeys,o=t.modifierKeys;if(!n&&o||n&&!o)return!1;if(n&&o){if(n.length!==o.length)return!1;n=n.sort(),o=o.sort();for(var r=0;r<n.length;r++)if(n[r]!==o[r])return!1}return!0}(e,t)}))}(mf=ff||(ff={}))[mf.shift=ge.a.shift]="shift",mf[mf.ctrl=ge.a.ctrl]="ctrl",mf[mf.alt=ge.a.alt]="alt",mf[mf.meta=ge.a.leftWindow]="meta";var wf,Tf={key:Object(ct.a)()?"Control":"Meta",modifierKeys:[ff.alt]},kf=Tf,If={key:"Escape"},Of=Object(w.a)(),Ef=function(e){function t(t,n){var o=e.call(this,t,n)||this;o._keytipManager=We.getInstance(),o._delayedKeytipQueue=[],o._keyHandled=!1,o._onDismiss=function(e){o.state.inKeytipMode&&o._exitKeytipMode(e)},o._onKeyDown=function(e){o._keyHandled=!1;var t=e.key;switch(t){case"Tab":case"Enter":case"Spacebar":case" ":case"ArrowUp":case"Up":case"ArrowDown":case"Down":case"ArrowLeft":case"Left":case"ArrowRight":case"Right":o.state.inKeytipMode&&(o._keyHandled=!0,o._exitKeytipMode(e));break;default:"Esc"===t?t="Escape":"OS"!==t&&"Win"!==t||(t="Meta");var n={key:t};n.modifierKeys=o._getModifierKey(t,e),o.processTransitionInput(n,e)}},o._onKeyPress=function(e){o.state.inKeytipMode&&!o._keyHandled&&(o.processInput(e.key.toLocaleLowerCase(),e),e.preventDefault(),e.stopPropagation())},o._onKeytipAdded=function(e){var t=e.keytip,n=e.uniqueID;if(o._keytipTree.addNode(t,n),o._setKeytips(),o._keytipTree.isCurrentKeytipParent(t)&&(o._addKeytipToQueue(Ge(t.keySequences)),o._keytipTree.currentKeytip&&o._keytipTree.currentKeytip.hasDynamicChildren&&o._keytipTree.currentKeytip.children.indexOf(t.id)<0)){var r=o._keytipTree.getNode(o._keytipTree.currentKeytip.id);r&&(o._keytipTree.currentKeytip=r)}if(o._newCurrentKeytipSequences&&Object(qe.b)(t.keySequences,o._newCurrentKeytipSequences)&&o._triggerKeytipImmediately(t),o._isCurrentKeytipAnAlias(t)){var i=t.keySequences;t.overflowSetSequence&&(i=Ke(i,t.overflowSetSequence)),o._keytipTree.currentKeytip=o._keytipTree.getNode(Ge(i))}},o._onKeytipUpdated=function(e){var t=e.keytip,n=e.uniqueID;o._keytipTree.updateNode(t,n),o._setKeytips(),o._keytipTree.isCurrentKeytipParent(t)&&o._addKeytipToQueue(Ge(t.keySequences))},o._onKeytipRemoved=function(e){var t=e.keytip,n=e.uniqueID;o._removeKeytipFromQueue(Ge(t.keySequences)),o._keytipTree.removeNode(t,n),o._setKeytips()},o._onPersistedKeytipAdded=function(e){var t=e.keytip,n=e.uniqueID;o._keytipTree.addNode(t,n,!0)},o._onPersistedKeytipRemoved=function(e){var t=e.keytip,n=e.uniqueID;o._keytipTree.removeNode(t,n)},o._onPersistedKeytipExecute=function(e){o._persistedKeytipExecute(e.overflowButtonSequences,e.keytipSequences)},o._setInKeytipMode=function(e){o.setState({inKeytipMode:e}),o._keytipManager.inKeytipMode=e},o._warnIfDuplicateKeytips=function(){var e=o._getDuplicateIds(o._keytipTree.getChildren());e.length&&Object(qo.b)("Duplicate keytips found for "+e.join(", "))},o._getDuplicateIds=function(e){var t={};return e.filter((function(e){return t[e]=t[e]?t[e]+1:1,2===t[e]}))},Object(be.a)(o),o._events=new Ve.a(o),o._async=new ye.a(o);var r=Object(m.e)(o._keytipManager.getKeytips());return o.state={inKeytipMode:!1,keytips:r,visibleKeytips:o._getVisibleKeytips(r)},o._buildTree(),o._currentSequence="",o._events.on(o._keytipManager,Ie.KEYTIP_ADDED,o._onKeytipAdded),o._events.on(o._keytipManager,Ie.KEYTIP_UPDATED,o._onKeytipUpdated),o._events.on(o._keytipManager,Ie.KEYTIP_REMOVED,o._onKeytipRemoved),o._events.on(o._keytipManager,Ie.PERSISTED_KEYTIP_ADDED,o._onPersistedKeytipAdded),o._events.on(o._keytipManager,Ie.PERSISTED_KEYTIP_REMOVED,o._onPersistedKeytipRemoved),o._events.on(o._keytipManager,Ie.PERSISTED_KEYTIP_EXECUTE,o._onPersistedKeytipExecute),o}return Object(m.c)(t,e),t.prototype.render=function(){var e=this,t=this.props,n=t.content,o=t.styles,r=this.state,i=r.keytips,a=r.visibleKeytips;return this._classNames=Of(o,{}),g.createElement(En,{styles:Sf},g.createElement("span",{id:"ktp-layer-id",className:this._classNames.innerContent},n+", "),i&&i.map((function(t,n){return g.createElement("span",{key:n,id:Ge(t.keySequences),className:e._classNames.innerContent},t.keySequences.join(", "))})),a&&a.map((function(e){return g.createElement(_f,Object(m.a)({key:Ge(e.keySequences)},e))})))},t.prototype.componentDidMount=function(){this._events.on(window,"mouseup",this._onDismiss,!0),this._events.on(window,"pointerup",this._onDismiss,!0),this._events.on(window,"resize",this._onDismiss),this._events.on(window,"keydown",this._onKeyDown,!0),this._events.on(window,"keypress",this._onKeyPress,!0),this._events.on(window,"scroll",this._onDismiss,!0),this._events.on(this._keytipManager,Ie.ENTER_KEYTIP_MODE,this._enterKeytipMode),this._events.on(this._keytipManager,Ie.EXIT_KEYTIP_MODE,this._exitKeytipMode)},t.prototype.componentWillUnmount=function(){this._async.dispose(),this._events.dispose()},t.prototype.getCurrentSequence=function(){return this._currentSequence},t.prototype.getKeytipTree=function(){return this._keytipTree},t.prototype.processTransitionInput=function(e,t){var n=this._keytipTree.currentKeytip;xf(this.props.keytipExitSequences,e)&&n?(this._keyHandled=!0,this._exitKeytipMode(t)):xf(this.props.keytipReturnSequences,e)?n&&(this._keyHandled=!0,n.id===this._keytipTree.root.id?this._exitKeytipMode(t):(n.onReturn&&n.onReturn(this._getKtpExecuteTarget(n),this._getKtpTarget(n)),this._currentSequence="",this._keytipTree.currentKeytip=this._keytipTree.getNode(n.parent),this.showKeytips(this._keytipTree.getChildren()),this._warnIfDuplicateKeytips())):xf(this.props.keytipStartSequences,e)&&!n&&(this._keyHandled=!0,this._enterKeytipMode(),this._warnIfDuplicateKeytips())},t.prototype.processInput=function(e,t){var n=this._currentSequence+e,o=this._keytipTree.currentKeytip;if(o){var r=this._keytipTree.getExactMatchedNode(n,o);if(r){this._keytipTree.currentKeytip=o=r;var i=this._keytipTree.getChildren();return o.onExecute&&(o.onExecute(this._getKtpExecuteTarget(o),this._getKtpTarget(o)),o=this._keytipTree.currentKeytip),0!==i.length||o.hasDynamicChildren||o.hasMenu?(this.showKeytips(i),this._warnIfDuplicateKeytips()):this._exitKeytipMode(t),void(this._currentSequence="")}var a=this._keytipTree.getPartiallyMatchedNodes(n,o);if(a.length>0){var s=a.filter((function(e){return!e.persisted})).map((function(e){return e.id}));this.showKeytips(s),this._currentSequence=n}}},t.prototype.showKeytips=function(e){for(var t=0,n=this._keytipManager.getKeytips();t<n.length;t++){var o=n[t],r=Ge(o.keySequences);e.indexOf(r)>=0||o.overflowSetSequence&&e.indexOf(Ge(Ke(o.keySequences,o.overflowSetSequence)))>=0?o.visible=!0:o.visible=!1}this._setKeytips()},t.prototype._enterKeytipMode=function(){this._keytipManager.shouldEnterKeytipMode&&(this._keytipManager.delayUpdatingKeytipChange&&(this._buildTree(),this._setKeytips()),this._keytipTree.currentKeytip=this._keytipTree.root,this.showKeytips(this._keytipTree.getChildren()),this._setInKeytipMode(!0),this.props.onEnterKeytipMode&&this.props.onEnterKeytipMode())},t.prototype._buildTree=function(){this._keytipTree=new Cf;for(var e=0,t=Object.keys(this._keytipManager.keytips);e<t.length;e++){var n=t[e],o=this._keytipManager.keytips[n];this._keytipTree.addNode(o.keytip,o.uniqueID)}for(var r=0,i=Object.keys(this._keytipManager.persistedKeytips);r<i.length;r++)n=i[r],o=this._keytipManager.persistedKeytips[n],this._keytipTree.addNode(o.keytip,o.uniqueID)},t.prototype._exitKeytipMode=function(e){this._keytipTree.currentKeytip=void 0,this._currentSequence="",this.showKeytips([]),this._delayedQueueTimeout&&this._async.clearTimeout(this._delayedQueueTimeout),this._delayedKeytipQueue=[],this._setInKeytipMode(!1),this.props.onExitKeytipMode&&this.props.onExitKeytipMode(e)},t.prototype._setKeytips=function(e){void 0===e&&(e=this._keytipManager.getKeytips()),this.setState({keytips:e,visibleKeytips:this._getVisibleKeytips(e)})},t.prototype._persistedKeytipExecute=function(e,t){this._newCurrentKeytipSequences=t;var n=this._keytipTree.getNode(Ge(e));n&&n.onExecute&&n.onExecute(this._getKtpExecuteTarget(n),this._getKtpTarget(n))},t.prototype._getVisibleKeytips=function(e){var t={};return e.filter((function(e){var n=Ge(e.keySequences);return t[n]=t[n]?t[n]+1:1,e.visible&&1===t[n]}))},t.prototype._getModifierKey=function(e,t){var n=[];return t.altKey&&"Alt"!==e&&n.push(ff.alt),t.ctrlKey&&"Control"!==e&&n.push(ff.ctrl),t.shiftKey&&"Shift"!==e&&n.push(ff.shift),t.metaKey&&"Meta"!==e&&n.push(ff.meta),n.length?n:void 0},t.prototype._triggerKeytipImmediately=function(e){var t=Object(m.e)(e.keySequences);if(e.overflowSetSequence&&(t=Ke(t,e.overflowSetSequence)),this._keytipTree.currentKeytip=this._keytipTree.getNode(Ge(t)),this._keytipTree.currentKeytip){var n=this._keytipTree.getChildren();n.length&&this.showKeytips(n),this._keytipTree.currentKeytip.onExecute&&this._keytipTree.currentKeytip.onExecute(this._getKtpExecuteTarget(this._keytipTree.currentKeytip),this._getKtpTarget(this._keytipTree.currentKeytip))}this._newCurrentKeytipSequences=void 0},t.prototype._addKeytipToQueue=function(e){var t=this;this._delayedKeytipQueue.push(e),this._delayedQueueTimeout&&this._async.clearTimeout(this._delayedQueueTimeout),this._delayedQueueTimeout=this._async.setTimeout((function(){t._delayedKeytipQueue.length&&(t.showKeytips(t._delayedKeytipQueue),t._delayedKeytipQueue=[])}),300)},t.prototype._removeKeytipFromQueue=function(e){var t=this,n=this._delayedKeytipQueue.indexOf(e);n>=0&&(this._delayedKeytipQueue.splice(n,1),this._delayedQueueTimeout&&this._async.clearTimeout(this._delayedQueueTimeout),this._delayedQueueTimeout=this._async.setTimeout((function(){t._delayedKeytipQueue.length&&(t.showKeytips(t._delayedKeytipQueue),t._delayedKeytipQueue=[])}),300))},t.prototype._getKtpExecuteTarget=function(e){return Object(Fe.a)().querySelector('[data-ktp-execute-target="'+e.id+'"]')},t.prototype._getKtpTarget=function(e){return Object(Fe.a)().querySelector(Ye(e.keySequences))},t.prototype._isCurrentKeytipAnAlias=function(e){var t=this._keytipTree.currentKeytip;return!(!t||!t.overflowSetSequence&&!t.persisted||!Object(qe.b)(e.keySequences,t.keySequences))},t.defaultProps={keytipStartSequences:[Tf],keytipExitSequences:[kf],keytipReturnSequences:[If],content:""},t}(g.Component),Nf=Object(x.a)(Ef,(function(e){return{innerContent:[{position:"absolute",width:0,height:0,margin:0,padding:0,border:0,overflow:"hidden",visibility:"hidden"}]}}),void 0,{scope:"KeytipLayer"}),Pf=(n(45),function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(m.c)(t,e),t.prototype.shouldComponentUpdate=function(){return!1},t.prototype.componentDidMount=function(){xn(this.props.id)},t.prototype.componentWillUnmount=function(){xn(this.props.id)},t.prototype.render=function(){return g.createElement("div",Object(m.a)({},this.props,{className:Object(z.a)("ms-LayerHost",this.props.className)}))},t}(g.Component)),Df=n(121),Af=n(122),Rf=Object(w.a)(),Mf=function(e){function t(t){var n=e.call(this,t)||this;return n._root=g.createRef(),n._onMouseDown=function(e){var t=n.props,o=t.isEnabled,r=t.onShouldStartSelection;n._isMouseEventOnScrollbar(e)||n._isInSelectionToggle(e)||n._isTouch||!o||n._isDragStartInSelection(e)||r&&!r(e)||n._scrollableSurface&&0===e.button&&n._root.current&&(n._selectedIndicies={},n._preservedIndicies=void 0,n._events.on(window,"mousemove",n._onAsyncMouseMove,!0),n._events.on(n._scrollableParent,"scroll",n._onAsyncMouseMove),n._events.on(window,"click",n._onMouseUp,!0),n._autoScroll=new Df.a(n._root.current),n._scrollTop=n._scrollableSurface.scrollTop,n._scrollLeft=n._scrollableSurface.scrollLeft,n._rootRect=n._root.current.getBoundingClientRect(),n._onMouseMove(e))},n._onTouchStart=function(e){n._isTouch=!0,n._async.setTimeout((function(){n._isTouch=!1}),0)},n._onPointerDown=function(e){"touch"===e.pointerType&&(n._isTouch=!0,n._async.setTimeout((function(){n._isTouch=!1}),0))},Object(be.a)(n),n._async=new ye.a(n),n._events=new Ve.a(n),n.state={dragRect:void 0},n}return Object(m.c)(t,e),t.prototype.componentDidMount=function(){this._scrollableParent=Object(Re.f)(this._root.current),this._scrollableSurface=this._scrollableParent===window?document.body:this._scrollableParent;var e=this.props.isDraggingConstrainedToRoot?this._root.current:this._scrollableSurface;this._events.on(e,"mousedown",this._onMouseDown),this._events.on(e,"touchstart",this._onTouchStart,!0),this._events.on(e,"pointerdown",this._onPointerDown,!0)},t.prototype.componentWillUnmount=function(){this._autoScroll&&this._autoScroll.dispose(),delete this._scrollableParent,delete this._scrollableSurface,this._events.dispose(),this._async.dispose()},t.prototype.render=function(){var e=this.props,t=e.rootProps,n=e.children,o=e.theme,r=e.className,i=e.styles,a=this.state.dragRect,s=Rf(i,{theme:o,className:r});return g.createElement("div",Object(m.a)({},t,{className:s.root,ref:this._root}),n,a&&g.createElement("div",{className:s.dragMask}),a&&g.createElement("div",{className:s.box,style:a},g.createElement("div",{className:s.boxFill})))},t.prototype._isMouseEventOnScrollbar=function(e){var t=e.target,n=t.offsetWidth-t.clientWidth;if(n){var o=t.getBoundingClientRect();if(Object(T.a)(this.props.theme)){if(e.clientX<o.left+n)return!0}else if(e.clientX>o.left+t.clientWidth)return!0;if(e.clientY>o.top+t.clientHeight)return!0}return!1},t.prototype._getRootRect=function(){return{left:this._rootRect.left+(this._scrollLeft-this._scrollableSurface.scrollLeft),top:this._rootRect.top+(this._scrollTop-this._scrollableSurface.scrollTop),width:this._rootRect.width,height:this._rootRect.height}},t.prototype._onAsyncMouseMove=function(e){var t=this;this._async.requestAnimationFrame((function(){t._onMouseMove(e)})),e.stopPropagation(),e.preventDefault()},t.prototype._onMouseMove=function(e){if(this._autoScroll){void 0!==e.clientX&&(this._lastMouseEvent=e);var t=this._getRootRect(),n={left:e.clientX-t.left,top:e.clientY-t.top};if(this._dragOrigin||(this._dragOrigin=n),void 0!==e.buttons&&0===e.buttons)this._onMouseUp(e);else if(this.state.dragRect||Object(Af.c)(this._dragOrigin,n)>5){if(!this.state.dragRect){var o=this.props.selection;e.shiftKey||o.setAllSelected(!1),this._preservedIndicies=o&&o.getSelectedIndices&&o.getSelectedIndices()}var r=this.props.isDraggingConstrainedToRoot?{left:Math.max(0,Math.min(t.width,this._lastMouseEvent.clientX-t.left)),top:Math.max(0,Math.min(t.height,this._lastMouseEvent.clientY-t.top))}:{left:this._lastMouseEvent.clientX-t.left,top:this._lastMouseEvent.clientY-t.top},i={left:Math.min(this._dragOrigin.left||0,r.left),top:Math.min(this._dragOrigin.top||0,r.top),width:Math.abs(r.left-(this._dragOrigin.left||0)),height:Math.abs(r.top-(this._dragOrigin.top||0))};this._evaluateSelection(i,t),this.setState({dragRect:i})}return!1}},t.prototype._onMouseUp=function(e){this._events.off(window),this._events.off(this._scrollableParent,"scroll"),this._autoScroll&&this._autoScroll.dispose(),this._autoScroll=this._dragOrigin=this._lastMouseEvent=void 0,this._selectedIndicies=this._itemRectCache=void 0,this.state.dragRect&&(this.setState({dragRect:void 0}),e.preventDefault(),e.stopPropagation())},t.prototype._isPointInRectangle=function(e,t){return!!t.top&&e.top<t.top&&e.bottom>t.top&&!!t.left&&e.left<t.left&&e.right>t.left},t.prototype._isDragStartInSelection=function(e){var t=this.props.selection;if(!this._root.current||t&&0===t.getSelectedCount())return!1;for(var n=this._root.current.querySelectorAll("[data-selection-index]"),o=0;o<n.length;o++){var r=n[o],i=Number(r.getAttribute("data-selection-index"));if(t.isIndexSelected(i)){var a=r.getBoundingClientRect();if(this._isPointInRectangle(a,{left:e.clientX,top:e.clientY}))return!0}}return!1},t.prototype._isInSelectionToggle=function(e){for(var t=e.target;t&&t!==this._root.current;){if("true"===t.getAttribute("data-selection-toggle"))return!0;t=t.parentElement}return!1},t.prototype._evaluateSelection=function(e,t){if(e&&this._root.current){var n=this.props.selection,o=this._root.current.querySelectorAll("[data-selection-index]");this._itemRectCache||(this._itemRectCache={});for(var r=0;r<o.length;r++){var i=o[r],a=i.getAttribute("data-selection-index"),s=this._itemRectCache[a];s||(s={left:(s=i.getBoundingClientRect()).left-t.left,top:s.top-t.top,width:s.width,height:s.height,right:s.left-t.left+s.width,bottom:s.top-t.top+s.height}).width>0&&s.height>0&&(this._itemRectCache[a]=s),s.top<e.top+e.height&&s.bottom>e.top&&s.left<e.left+e.width&&s.right>e.left?this._selectedIndicies[a]=!0:delete this._selectedIndicies[a]}var c=this._allSelectedIndices||{};for(var a in this._allSelectedIndices={},this._selectedIndicies)this._selectedIndicies.hasOwnProperty(a)&&(this._allSelectedIndices[a]=!0);if(this._preservedIndicies)for(var l=0,u=this._preservedIndicies;l<u.length;l++)a=u[l],this._allSelectedIndices[a]=!0;var d=!1;for(var a in this._allSelectedIndices)if(this._allSelectedIndices[a]!==c[a]){d=!0;break}if(!d)for(var a in c)if(this._allSelectedIndices[a]!==c[a]){d=!0;break}if(d){n.setChangeEvents(!1),n.setAllSelected(!1);for(var p=0,h=Object.keys(this._allSelectedIndices);p<h.length;p++)a=h[p],n.setIndexSelected(Number(a),!0,!1);n.setChangeEvents(!0)}}},t.defaultProps={rootTagName:"div",rootProps:{},isEnabled:!0},t}(g.Component),Ff=Object(x.a)(Mf,(function(e){var t,n,o,r=e.theme,i=e.className,a=r.palette;return{root:[i,{position:"relative",cursor:"default"}],dragMask:[{position:"absolute",background:"rgba(255, 0, 0, 0)",left:0,top:0,right:0,bottom:0,selectors:(t={},t[b.l]={background:"none",backgroundColor:"transparent"},t)}],box:[{position:"absolute",boxSizing:"border-box",border:"1px solid "+a.themePrimary,pointerEvents:"none",zIndex:10,selectors:(n={},n[b.l]={borderColor:"Highlight"},n)}],boxFill:[{position:"absolute",boxSizing:"border-box",backgroundColor:a.themePrimary,opacity:.1,left:0,top:0,right:0,bottom:0,selectors:(o={},o[b.l]={background:"none",backgroundColor:"transparent"},o)}]}}),void 0,{scope:"MarqueeSelection"});!function(e){e[e.info=0]="info",e[e.error=1]="error",e[e.blocked=2]="blocked",e[e.severeWarning=3]="severeWarning",e[e.success=4]="success",e[e.warning=5]="warning"}(wf||(wf={}));var jf,Lf,Hf,Bf,zf=Object(w.a)(),Uf=function(e){function t(t){var n,o=e.call(this,t)||this;return o.ICON_MAP=((n={})[wf.info]="Info",n[wf.warning]="Info",n[wf.error]="ErrorBadge",n[wf.blocked]="Blocked2",n[wf.severeWarning]="Warning",n[wf.success]="Completed",n),o._getRegionProps=function(){var e=!!o._getActionsDiv()||!!o._getDismissDiv(),t={"aria-describedby":o.state.labelId,role:"region"};return e?t:{}},o._onClick=function(e){o.setState({expandSingleLine:!o.state.expandSingleLine})},Object(be.a)(o),o.state={labelId:Object(Pe.a)("MessageBar"),showContent:!1,expandSingleLine:!1},o}return Object(m.c)(t,e),t.prototype.render=function(){var e=this.props.isMultiline;return this._classNames=this._getClassNames(),e?this._renderMultiLine():this._renderSingleLine()},t.prototype._getActionsDiv=function(){return this.props.actions?g.createElement("div",{className:this._classNames.actions},this.props.actions):null},t.prototype._getDismissDiv=function(){var e=this.props,t=e.onDismiss,n=e.dismissIconProps;return t?g.createElement(go,{disabled:!1,className:this._classNames.dismissal,onClick:t,iconProps:n||{iconName:"Clear"},title:this.props.dismissButtonAriaLabel,ariaLabel:this.props.dismissButtonAriaLabel}):null},t.prototype._getDismissSingleLine=function(){return this.props.onDismiss?g.createElement("div",{className:this._classNames.dismissSingleLine},this._getDismissDiv()):null},t.prototype._getExpandSingleLine=function(){return!this.props.actions&&this.props.truncated?g.createElement("div",{className:this._classNames.expandSingleLine},g.createElement(go,{disabled:!1,className:this._classNames.expand,onClick:this._onClick,iconProps:{iconName:this.state.expandSingleLine?"DoubleChevronUp":"DoubleChevronDown"},ariaLabel:this.props.overflowButtonAriaLabel,"aria-expanded":this.state.expandSingleLine})):null},t.prototype._getIconSpan=function(){var e=this.props.messageBarIconProps;return g.createElement("div",{className:this._classNames.iconContainer,"aria-hidden":!0},e?g.createElement(K,Object(m.a)({},e,{className:Object(z.a)(this._classNames.icon,e.className)})):g.createElement(K,{iconName:this.ICON_MAP[this.props.messageBarType],className:this._classNames.icon}))},t.prototype._renderMultiLine=function(){return g.createElement("div",Object(m.a)({className:this._classNames.root},this._getRegionProps()),g.createElement("div",{className:this._classNames.content},this._getIconSpan(),this._renderInnerText(),this._getDismissDiv()),this._getActionsDiv())},t.prototype._renderSingleLine=function(){return g.createElement("div",Object(m.a)({className:this._classNames.root},this._getRegionProps()),g.createElement("div",{className:this._classNames.content},this._getIconSpan(),this._renderInnerText(),this._getExpandSingleLine(),this._getActionsDiv(),this._getDismissSingleLine()))},t.prototype._renderInnerText=function(){var e=Object(I.j)(this.props,I.k,["className"]);return g.createElement("div",{className:this._classNames.text,id:this.state.labelId,role:"status","aria-live":this._getAnnouncementPriority()},g.createElement("span",Object(m.a)({className:this._classNames.innerText},e),g.createElement(Se.a,null,g.createElement("span",null,this.props.children))))},t.prototype._getClassNames=function(){var e=this.props,t=e.theme,n=e.className,o=e.messageBarType,r=e.onDismiss,i=e.actions,a=e.truncated,s=e.isMultiline,c=this.state.expandSingleLine;return zf(this.props.styles,{theme:t,messageBarType:o||wf.info,onDismiss:void 0!==r,actions:void 0!==i,truncated:a,isMultiline:s,expandSingleLine:c,className:n})},t.prototype._getAnnouncementPriority=function(){switch(this.props.messageBarType){case wf.blocked:case wf.error:case wf.severeWarning:return"assertive"}return"polite"},t.defaultProps={messageBarType:wf.info,onDismiss:void 0,isMultiline:!0},t}(g.Component),Vf={root:"ms-MessageBar",error:"ms-MessageBar--error",blocked:"ms-MessageBar--blocked",severeWarning:"ms-MessageBar--severeWarning",success:"ms-MessageBar--success",warning:"ms-MessageBar--warning",multiline:"ms-MessageBar-multiline",singleline:"ms-MessageBar-singleline",dismissalSingleLine:"ms-MessageBar-dismissalSingleLine",expandingSingleLine:"ms-MessageBar-expandingSingleLine",content:"ms-MessageBar-content",iconContainer:"ms-MessageBar-icon",text:"ms-MessageBar-text",innerText:"ms-MessageBar-innerText",dismissSingleLine:"ms-MessageBar-dismissSingleLine",expandSingleLine:"ms-MessageBar-expandSingleLine",dismissal:"ms-MessageBar-dismissal",expand:"ms-MessageBar-expand",actions:"ms-MessageBar-actions",actionsSingleline:"ms-MessageBar-actionsSingleLine"},Wf=((jf={})[wf.error]="errorBackground",jf[wf.blocked]="errorBackground",jf[wf.success]="successBackground",jf[wf.warning]="warningBackground",jf[wf.severeWarning]="severeWarningBackground",jf[wf.info]="infoBackground",jf),qf=((Lf={})[wf.error]="rgba(255, 0, 0, 0.3)",Lf[wf.blocked]="rgba(255, 0, 0, 0.3)",Lf[wf.success]="rgba(48, 241, 73, 0.3)",Lf[wf.warning]="rgba(255, 254, 57, 0.3)",Lf[wf.severeWarning]="rgba(255, 0, 0, 0.3)",Lf[wf.info]="Window",Lf),Gf=((Hf={})[wf.error]="errorIcon",Hf[wf.blocked]="errorIcon",Hf[wf.success]="successIcon",Hf[wf.warning]="warningIcon",Hf[wf.severeWarning]="severeWarningIcon",Hf[wf.info]="infoIcon",Hf),Kf=Object(x.a)(Uf,(function(e){var t,n,o,r,i,a=e.theme,s=e.className,c=e.onDismiss,l=e.truncated,u=e.isMultiline,d=e.expandSingleLine,p=e.messageBarType,h=void 0===p?wf.info:p,f=a.semanticColors,g=a.fonts,y=Object(b.W)(0,b.t),v=Object(b.R)(Vf,a),_={fontSize:b.o.xSmall,height:10,lineHeight:"10px",color:f.messageText,selectors:(t={},t[b.l]={MsHighContrastAdjust:"none",color:"WindowText"},t)},S=[Object(b.Q)(a,{inset:1,highContrastStyle:{outlineOffset:"-6px",outline:"1px solid Highlight"},borderColor:"transparent"}),{flexShrink:0,width:32,height:32,padding:"8px 12px",selectors:{"& .ms-Button-icon":_,":hover":{backgroundColor:"transparent"},":active":{backgroundColor:"transparent"}}}];return{root:[v.root,g.medium,h===wf.error&&v.error,h===wf.blocked&&v.blocked,h===wf.severeWarning&&v.severeWarning,h===wf.success&&v.success,h===wf.warning&&v.warning,u?v.multiline:v.singleline,!u&&c&&v.dismissalSingleLine,!u&&l&&v.expandingSingleLine,{background:f[Wf[h]],color:f.messageText,minHeight:32,width:"100%",display:"flex",wordBreak:"break-word",selectors:(n={".ms-Link":{color:f.messageLink,selectors:{":hover":{color:f.messageLinkHovered}}}},n[b.l]={MsHighContrastAdjust:"none",background:qf[h],border:"1px solid WindowText",color:"WindowText"},n)},u&&{flexDirection:"column"},s],content:[v.content,{display:"flex",width:"100%",lineHeight:"normal"}],iconContainer:[v.iconContainer,{fontSize:b.o.medium,minWidth:16,minHeight:16,display:"flex",flexShrink:0,margin:"8px 0 8px 12px"}],icon:{color:f[Gf[h]],selectors:(o={},o[b.l]={MsHighContrastAdjust:"none",color:"WindowText"},o)},text:[v.text,Object(m.a)(Object(m.a)({minWidth:0,display:"flex",flexGrow:1,margin:8},g.small),{selectors:(r={},r[b.l]={MsHighContrastAdjust:"none"},r)}),!c&&{marginRight:12}],innerText:[v.innerText,{lineHeight:16,selectors:{"& span a":{paddingLeft:4}}},l&&{overflow:"visible",whiteSpace:"pre-wrap"},!u&&{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},!u&&!l&&{selectors:(i={},i[y]={overflow:"visible",whiteSpace:"pre-wrap"},i)},d&&{overflow:"visible",whiteSpace:"pre-wrap"}],dismissSingleLine:v.dismissSingleLine,expandSingleLine:v.expandSingleLine,dismissal:[v.dismissal,S],expand:[v.expand,S],actions:[u?v.actions:v.actionsSingleline,{display:"flex",flexGrow:0,flexShrink:0,flexBasis:"auto",flexDirection:"row-reverse",alignItems:"center",margin:"0 12px 0 8px",selectors:{"& button:nth-child(n+2)":{marginLeft:8}}},u&&{marginBottom:8},c&&!u&&{marginRight:0}]}}),void 0,{scope:"MessageBar"}),Yf={root:"ms-Nav",linkText:"ms-Nav-linkText",compositeLink:"ms-Nav-compositeLink",link:"ms-Nav-link",chevronButton:"ms-Nav-chevronButton",chevronIcon:"ms-Nav-chevron",navItem:"ms-Nav-navItem",navItems:"ms-Nav-navItems",group:"ms-Nav-group",groupContent:"ms-Nav-groupContent"},Qf={textContainer:{overflow:"hidden"},label:{whiteSpace:"nowrap",textOverflow:"ellipsis",overflow:"hidden"}};function $f(e){return!!e&&!/^[a-z0-9+-.]+:\/\//i.test(e)}var Zf,Xf=Object(w.a)(),Jf=function(e){function t(t){var n=e.call(this,t)||this;return n._focusZone=g.createRef(),n._onRenderLink=function(e){var t=n.props,o=t.styles,r=t.groups,i=t.theme,a=Xf(o,{theme:i,groups:r});return g.createElement("div",{className:a.linkText},e.name)},n._renderGroup=function(e,t){var o=n.props,r=o.styles,i=o.groups,a=o.theme,s=o.onRenderGroupHeader,c=void 0===s?n._renderGroupHeader:s,l=n._isGroupExpanded(e),u=Xf(r,{theme:a,isGroup:!0,isExpanded:l,groups:i}),d=Object(m.a)(Object(m.a)({},e),{isExpanded:l,onHeaderClick:function(t,o){n._onGroupHeaderClicked(e,t)}});return g.createElement("div",{key:t,className:u.group},d.name?c(d,n._renderGroupHeader):null,g.createElement("div",{className:u.groupContent},n._renderLinks(d.links,0)))},n._renderGroupHeader=function(e){var t=n.props,o=t.styles,r=t.groups,i=t.theme,a=t.expandButtonAriaLabel,s=e.isExpanded,c=Xf(o,{theme:i,isGroup:!0,isExpanded:s,groups:r}),l=(s?e.collapseAriaLabel:e.expandAriaLabel)||a,u=e.onHeaderClick,d=u?function(e){u(e,s)}:void 0;return g.createElement("button",{className:c.chevronButton,onClick:d,"aria-label":l,"aria-expanded":s},g.createElement(K,{className:c.chevronIcon,iconName:"ChevronDown"}),e.name)},Object(be.a)(n),n.state={isGroupCollapsed:{},isLinkExpandStateChanged:!1,selectedKey:t.initialSelectedKey||t.selectedKey},n}return Object(m.c)(t,e),t.prototype.render=function(){var e=this.props,t=e.styles,n=e.groups,o=e.className,r=e.isOnTop,i=e.theme;if(!n)return null;var a=n.map(this._renderGroup),s=Xf(t,{theme:i,className:o,isOnTop:r,groups:n});return g.createElement(ze,{direction:le.vertical,componentRef:this._focusZone},g.createElement("nav",{role:"navigation",className:s.root,"aria-label":this.props.ariaLabel},a))},Object.defineProperty(t.prototype,"selectedKey",{get:function(){return this.state.selectedKey},enumerable:!0,configurable:!0}),t.prototype.focus=function(e){return void 0===e&&(e=!1),!(!this._focusZone||!this._focusZone.current)&&this._focusZone.current.focus(e)},t.prototype._renderNavLink=function(e,t,n){var o=this.props,r=o.styles,i=o.groups,a=o.theme,s=e.icon||e.iconProps,c=this._isLinkSelected(e),l=e.ariaCurrent,u=void 0===l?"page":l,d=Xf(r,{theme:a,isSelected:c,isDisabled:e.disabled,isButtonEntry:e.onClick&&!e.forceAnchor,leftPadding:14*n+3+(s?0:24),groups:i}),p=e.url&&e.target&&!$f(e.url)?"noopener noreferrer":void 0,h=this.props.linkAs?Object(Zc.a)(this.props.linkAs,tr):tr,f=this.props.onRenderLink?Object(Va.a)(this.props.onRenderLink,this._onRenderLink):this._onRenderLink;return g.createElement(h,{className:d.link,styles:Qf,href:e.url||(e.forceAnchor?"#":void 0),iconProps:e.iconProps||{iconName:e.icon},onClick:e.onClick?this._onNavButtonLinkClicked.bind(this,e):this._onNavAnchorLinkClicked.bind(this,e),title:void 0!==e.title?e.title:e.name,target:e.target,rel:p,disabled:e.disabled,"aria-current":c?u:void 0,"aria-label":e.ariaLabel?e.ariaLabel:void 0,link:e},f(e))},t.prototype._renderCompositeLink=function(e,t,n){var o=Object(m.a)({},Object(I.j)(e,I.h,["onClick"])),r=this.props,i=r.expandButtonAriaLabel,a=r.styles,s=r.groups,c=r.theme,l=Xf(a,{theme:c,isExpanded:!!e.isExpanded,isSelected:this._isLinkSelected(e),isLink:!0,isDisabled:e.disabled,position:14*n+1,groups:s}),u="";return e.links&&e.links.length>0&&(u=e.collapseAriaLabel||e.expandAriaLabel?e.isExpanded?e.collapseAriaLabel:e.expandAriaLabel:i?e.name+" "+i:e.name),g.createElement("div",Object(m.a)({},o,{key:e.key||t,className:l.compositeLink}),e.links&&e.links.length>0?g.createElement("button",{className:l.chevronButton,onClick:this._onLinkExpandClicked.bind(this,e),"aria-label":u,"aria-expanded":e.isExpanded?"true":"false"},g.createElement(K,{className:l.chevronIcon,iconName:"ChevronDown"})):null,this._renderNavLink(e,t,n))},t.prototype._renderLink=function(e,t,n){var o=this.props,r=o.styles,i=o.groups,a=o.theme,s=Xf(r,{theme:a,groups:i});return g.createElement("li",{key:e.key||t,role:"listitem",className:s.navItem},this._renderCompositeLink(e,t,n),e.isExpanded?this._renderLinks(e.links,++n):null)},t.prototype._renderLinks=function(e,t){var n=this;if(!e||!e.length)return null;var o=e.map((function(e,o){return n._renderLink(e,o,t)})),r=this.props,i=r.styles,a=r.groups,s=r.theme,c=Xf(i,{theme:s,groups:a});return g.createElement("ul",{role:"list",className:c.navItems},o)},t.prototype._onGroupHeaderClicked=function(e,t){e.onHeaderClick&&e.onHeaderClick(t,this._isGroupExpanded(e)),this._toggleCollapsed(e),t&&(t.preventDefault(),t.stopPropagation())},t.prototype._onLinkExpandClicked=function(e,t){var n=this.props.onLinkExpandClick;n&&n(t,e),t.defaultPrevented||(e.isExpanded=!e.isExpanded,this.setState({isLinkExpandStateChanged:!0})),t.preventDefault(),t.stopPropagation()},t.prototype._preventBounce=function(e,t){!e.url&&e.forceAnchor&&t.preventDefault()},t.prototype._onNavAnchorLinkClicked=function(e,t){this._preventBounce(e,t),this.props.onLinkClick&&this.props.onLinkClick(t,e),!e.url&&e.links&&e.links.length>0&&this._onLinkExpandClicked(e,t),this.setState({selectedKey:e.key})},t.prototype._onNavButtonLinkClicked=function(e,t){this._preventBounce(e,t),e.onClick&&e.onClick(t,e),!e.url&&e.links&&e.links.length>0&&this._onLinkExpandClicked(e,t),this.setState({selectedKey:e.key})},t.prototype._isLinkSelected=function(e){if(void 0!==this.props.selectedKey)return e.key===this.props.selectedKey;if(void 0!==this.state.selectedKey)return e.key===this.state.selectedKey;if(void 0===Object(j.a)()||!e.url)return!1;(Bf=Bf||document.createElement("a")).href=e.url||"";var t=Bf.href;return location.href===t||location.protocol+"//"+location.host+location.pathname===t||!!location.hash&&(location.hash===e.url||(Bf.href=location.hash.substring(1),Bf.href===t))},t.prototype._isGroupExpanded=function(e){return e.name&&this.state.isGroupCollapsed.hasOwnProperty(e.name)?!this.state.isGroupCollapsed[e.name]:void 0===e.collapseByDefault||!e.collapseByDefault},t.prototype._toggleCollapsed=function(e){var t;if(e.name){var n=Object(m.a)(Object(m.a)({},this.state.isGroupCollapsed),((t={})[e.name]=this._isGroupExpanded(e),t));this.setState({isGroupCollapsed:n})}},t.defaultProps={groups:null},t}(g.Component),em=Object(x.a)(Jf,(function(e){var t,n=e.className,o=e.theme,r=e.isOnTop,i=e.isExpanded,a=e.isGroup,s=e.isLink,c=e.isSelected,l=e.isDisabled,u=e.isButtonEntry,d=e.navHeight,p=void 0===d?44:d,h=e.position,f=e.leftPadding,m=void 0===f?20:f,g=e.leftPaddingExpanded,y=void 0===g?28:g,v=e.rightPadding,_=void 0===v?20:v,S=o.palette,C=o.semanticColors,x=o.fonts,w=Object(b.R)(Yf,o);return{root:[w.root,n,x.medium,{overflowY:"auto",userSelect:"none",WebkitOverflowScrolling:"touch"},r&&[{position:"absolute"},b.a.slideRightIn40]],linkText:[w.linkText,{margin:"0 4px",overflow:"hidden",verticalAlign:"middle",textAlign:"left",textOverflow:"ellipsis"}],compositeLink:[w.compositeLink,{display:"block",position:"relative",color:C.bodyText},i&&"is-expanded",c&&"is-selected",l&&"is-disabled",l&&{color:C.disabledText}],link:[w.link,Object(b.Q)(o),{display:"block",position:"relative",height:p,width:"100%",lineHeight:p+"px",textDecoration:"none",cursor:"pointer",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden",paddingLeft:m,paddingRight:_,color:C.bodyText,selectors:(t={},t[b.l]={borderColor:"transparent",selectors:{":focus":{borderColor:"WindowText"}}},t)},!l&&{selectors:{".ms-Nav-compositeLink:hover &":{backgroundColor:C.bodyBackgroundHovered}}},c&&{color:C.bodyTextChecked,fontWeight:b.k.semibold,backgroundColor:C.bodyBackgroundChecked,selectors:{"&:after":{borderLeft:"2px solid "+S.themePrimary,content:'""',position:"absolute",top:0,right:0,bottom:0,left:0,pointerEvents:"none"}}},l&&{color:C.disabledText},u&&{color:S.themePrimary}],chevronButton:[w.chevronButton,Object(b.Q)(o),x.small,{display:"block",textAlign:"left",lineHeight:p+"px",margin:"5px 0",padding:"0px, "+_+"px, 0px, "+y+"px",border:"none",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden",cursor:"pointer",color:C.bodyText,backgroundColor:"transparent",selectors:{"&:visited":{color:C.bodyText}}},a&&{fontSize:x.large.fontSize,width:"100%",height:p,borderBottom:"1px solid "+C.bodyDivider},s&&{display:"block",width:y-2,height:p-2,position:"absolute",top:"1px",left:h+"px",zIndex:b.F.Nav,padding:0,margin:0},c&&{color:S.themePrimary,backgroundColor:S.neutralLighterAlt,selectors:{"&:after":{borderLeft:"2px solid "+S.themePrimary,content:'""',position:"absolute",top:0,right:0,bottom:0,left:0,pointerEvents:"none"}}}],chevronIcon:[w.chevronIcon,{position:"absolute",left:"8px",height:p,lineHeight:p+"px",fontSize:x.small.fontSize,transition:"transform .1s linear"},i&&{transform:"rotate(-180deg)"},s&&{top:0}],navItem:[w.navItem,{padding:0}],navItems:[w.navItems,{listStyleType:"none",padding:0,margin:0}],group:[w.group,i&&"is-expanded"],groupContent:[w.groupContent,{display:"none",marginBottom:"40px"},b.a.slideDownIn20,i&&{display:"block"}]}}),void 0,{scope:"Nav"});!function(e){e[e.none=0]="none",e[e.forceResolve=1]="forceResolve",e[e.searchMore=2]="searchMore"}(Zf||(Zf={}));var tm,nm={root:"ms-Suggestions-item",itemButton:"ms-Suggestions-itemButton",closeButton:"ms-Suggestions-closeButton",isSuggested:"is-suggested"},om=a,rm=Object(w.a)(),im=Object(x.a)(ih,(function(e){var t,n,o,r=e.className,i=e.theme,a=e.suggested,s=i.palette,c=i.semanticColors,l=Object(b.R)(nm,i);return{root:[l.root,{display:"flex",alignItems:"stretch",boxSizing:"border-box",width:"100%",position:"relative",selectors:{"&:hover":{background:c.menuItemBackgroundHovered},"&:hover .ms-Suggestions-closeButton":{display:"block"}}},r],itemButton:[l.itemButton,{width:"100%",padding:0,border:"none",height:"100%",minWidth:0,overflow:"hidden",selectors:(t={},t[b.l]={color:"WindowText",selectors:{":hover":{background:"Highlight",color:"HighlightText",MsHighContrastAdjust:"none"}}},t[":hover"]={color:c.menuItemTextHovered},t)},a&&[l.isSuggested,{background:c.menuItemBackgroundPressed,selectors:(n={":hover":{background:c.menuDivider}},n[b.l]={background:"Highlight",color:"HighlightText",MsHighContrastAdjust:"none"},n)}]],closeButton:[l.closeButton,{display:"none",color:s.neutralSecondary,padding:"0 4px",height:"auto",width:32,selectors:(o={":hover, :active":{background:s.neutralTertiaryAlt,color:s.neutralDark}},o[b.l]={color:"WindowText"},o)},a&&{selectors:{":hover, :active":{background:s.neutralTertiary,color:s.neutralPrimary}}}]}}),void 0,{scope:"SuggestionItem"}),am=function(e){function t(t){var n=e.call(this,t)||this;return n._forceResolveButton=g.createRef(),n._searchForMoreButton=g.createRef(),n._selectedElement=g.createRef(),n.tryHandleKeyDown=function(e,t){var o=!1,r=null,i=n.state.selectedActionType,a=n.props.suggestions.length;if(e===ge.a.down)switch(i){case Zf.forceResolve:a>0?(n._refocusOnSuggestions(e),r=Zf.none):r=n._searchForMoreButton.current?Zf.searchMore:Zf.forceResolve;break;case Zf.searchMore:n._forceResolveButton.current?r=Zf.forceResolve:a>0?(n._refocusOnSuggestions(e),r=Zf.none):r=Zf.searchMore;break;case Zf.none:-1===t&&n._forceResolveButton.current&&(r=Zf.forceResolve)}else if(e===ge.a.up)switch(i){case Zf.forceResolve:n._searchForMoreButton.current?r=Zf.searchMore:a>0&&(n._refocusOnSuggestions(e),r=Zf.none);break;case Zf.searchMore:a>0?(n._refocusOnSuggestions(e),r=Zf.none):n._forceResolveButton.current&&(r=Zf.forceResolve);break;case Zf.none:-1===t&&n._searchForMoreButton.current&&(r=Zf.searchMore)}return null!==r&&(n.setState({selectedActionType:r}),o=!0),o},n._getAlertText=function(){var e=n.props,t=e.isLoading,o=e.isSearching,r=e.suggestions,i=e.suggestionsAvailableAlertText,a=e.noResultsFoundText;if(!t&&!o){if(r.length>0)return i||"";if(a)return a}return""},n._getMoreResults=function(){n.props.onGetMoreResults&&n.props.onGetMoreResults()},n._forceResolve=function(){n.props.createGenericItem&&n.props.createGenericItem()},n._shouldShowForceResolve=function(){return!!n.props.showForceResolve&&n.props.showForceResolve()},n._onClickTypedSuggestionsItem=function(e,t){return function(o){n.props.onSuggestionClick(o,e,t)}},n._refocusOnSuggestions=function(e){"function"==typeof n.props.refocusSuggestions&&n.props.refocusSuggestions(e)},n._onRemoveTypedSuggestionsItem=function(e,t){return function(o){(0,n.props.onSuggestionRemove)(o,e,t),o.stopPropagation()}},Object(be.a)(n),n.state={selectedActionType:Zf.none},n}return Object(m.c)(t,e),t.prototype.componentDidMount=function(){this.scrollSelected(),this.activeSelectedElement=this._selectedElement?this._selectedElement.current:null},t.prototype.componentDidUpdate=function(){this._selectedElement.current&&this.activeSelectedElement!==this._selectedElement.current&&(this.scrollSelected(),this.activeSelectedElement=this._selectedElement.current)},t.prototype.render=function(){var e,t,n=this,o=this.props,r=o.forceResolveText,i=o.mostRecentlyUsedHeaderText,a=o.searchForMoreText,s=o.className,c=o.moreSuggestionsAvailable,l=o.noResultsFoundText,u=o.suggestions,d=o.isLoading,p=o.isSearching,h=o.loadingText,f=o.onRenderNoResultFound,b=o.searchingText,y=o.isMostRecentlyUsedVisible,v=o.resultsMaximumNumber,_=o.resultsFooterFull,S=o.resultsFooter,C=o.isResultsFooterVisible,x=void 0===C||C,w=o.suggestionsHeaderText,T=o.suggestionsClassName,k=o.theme,I=o.styles,O=o.suggestionsListId;this._classNames=I?rm(I,{theme:k,className:s,suggestionsClassName:T,forceResolveButtonSelected:this.state.selectedActionType===Zf.forceResolve,searchForMoreButtonSelected:this.state.selectedActionType===Zf.searchMore}):{root:Object(z.a)("ms-Suggestions",s,om.root),title:Object(z.a)("ms-Suggestions-title",om.suggestionsTitle),searchForMoreButton:Object(z.a)("ms-SearchMore-button",om.actionButton,(e={},e["is-selected "+om.buttonSelected]=this.state.selectedActionType===Zf.searchMore,e)),forceResolveButton:Object(z.a)("ms-forceResolve-button",om.actionButton,(t={},t["is-selected "+om.buttonSelected]=this.state.selectedActionType===Zf.forceResolve,t)),suggestionsAvailable:Object(z.a)("ms-Suggestions-suggestionsAvailable",om.suggestionsAvailable),suggestionsContainer:Object(z.a)("ms-Suggestions-container",om.suggestionsContainer,T),noSuggestions:Object(z.a)("ms-Suggestions-none",om.suggestionsNone)};var E=this._classNames.subComponentStyles?this._classNames.subComponentStyles.spinner:void 0,N=I?{styles:E}:{className:Object(z.a)("ms-Suggestions-spinner",om.suggestionsSpinner)},P=function(){return l?g.createElement("div",{className:n._classNames.noSuggestions},l):null},D=w;y&&i&&(D=i);var A=void 0;x&&(A=u.length>=v?_:S);var R=!(u&&u.length||d),M=R||d?{role:"dialog",id:O}:{};return g.createElement("div",Object(m.a)({className:this._classNames.root},M),g.createElement(we,{message:this._getAlertText(),"aria-live":"polite"}),D?g.createElement("div",{className:this._classNames.title},D):null,r&&this._shouldShowForceResolve()&&g.createElement(cr,{componentRef:this._forceResolveButton,className:this._classNames.forceResolveButton,onClick:this._forceResolve,"data-automationid":"sug-forceResolve"},r),d&&g.createElement(su,Object(m.a)({},N,{label:h})),R?f?f(void 0,P):P():this._renderSuggestions(),a&&c&&g.createElement(cr,{componentRef:this._searchForMoreButton,className:this._classNames.searchForMoreButton,iconProps:{iconName:"Search"},onClick:this._getMoreResults},a),p?g.createElement(su,Object(m.a)({},N,{label:b})):null,!A||c||y||p?null:g.createElement("div",{className:this._classNames.title},A(this.props)))},t.prototype.hasSuggestedAction=function(){return!!this._searchForMoreButton.current||!!this._forceResolveButton.current},t.prototype.hasSuggestedActionSelected=function(){return this.state.selectedActionType!==Zf.none},t.prototype.executeSelectedAction=function(){switch(this.state.selectedActionType){case Zf.forceResolve:this._forceResolve();break;case Zf.searchMore:this._getMoreResults()}},t.prototype.focusAboveSuggestions=function(){this._forceResolveButton.current?this.setState({selectedActionType:Zf.forceResolve}):this._searchForMoreButton.current&&this.setState({selectedActionType:Zf.searchMore})},t.prototype.focusBelowSuggestions=function(){this._searchForMoreButton.current?this.setState({selectedActionType:Zf.searchMore}):this._forceResolveButton.current&&this.setState({selectedActionType:Zf.forceResolve})},t.prototype.focusSearchForMoreButton=function(){this._searchForMoreButton.current&&this._searchForMoreButton.current.focus()},t.prototype.scrollSelected=function(){this._selectedElement.current&&void 0!==this._selectedElement.current.scrollIntoView&&this._selectedElement.current.scrollIntoView(!1)},t.prototype._renderSuggestions=function(){var e=this,t=this.props,n=t.onRenderSuggestion,o=t.removeSuggestionAriaLabel,r=t.suggestionsItemClassName,i=t.resultsMaximumNumber,a=t.showRemoveButtons,s=t.suggestionsContainerAriaLabel,c=t.suggestionsListId,l=this.props.suggestions,u=im,d=-1;return l.some((function(e,t){return!!e.selected&&(d=t,!0)})),i&&(l=d>=i?l.slice(d-i+1,d+1):l.slice(0,i)),0===l.length?null:g.createElement("div",{className:this._classNames.suggestionsContainer,id:c,role:"listbox","aria-label":s},l.map((function(t,i){return g.createElement("div",{ref:t.selected?e._selectedElement:void 0,key:t.item.key?t.item.key:i,id:"sug-"+i,"aria-selected":t.selected,role:"option","aria-label":t.ariaLabel},g.createElement(u,{suggestionModel:t,RenderSuggestion:n,onClick:e._onClickTypedSuggestionsItem(t.item,i),className:r,showRemoveButton:a,removeButtonAriaLabel:o,onRemoveItem:e._onRemoveTypedSuggestionsItem(t.item,i)}))})))},t}(g.Component),sm=function(){function e(){var e=this;this._isSuggestionModel=function(e){return void 0!==e.item},this._ensureSuggestionModel=function(t){return e._isSuggestionModel(t)?t:{item:t,selected:!1,ariaLabel:t.name||t.primaryText}},this.suggestions=[],this.currentIndex=-1}return e.prototype.updateSuggestions=function(e,t){e&&e.length>0?(this.suggestions=this.convertSuggestionsToSuggestionItems(e),this.currentIndex=t||0,-1===t?this.currentSuggestion=void 0:void 0!==t&&(this.suggestions[t].selected=!0,this.currentSuggestion=this.suggestions[t])):(this.suggestions=[],this.currentIndex=-1,this.currentSuggestion=void 0)},e.prototype.nextSuggestion=function(){if(this.suggestions&&this.suggestions.length){if(this.currentIndex<this.suggestions.length-1)return this.setSelectedSuggestion(this.currentIndex+1),!0;if(this.currentIndex===this.suggestions.length-1)return this.setSelectedSuggestion(0),!0}return!1},e.prototype.previousSuggestion=function(){if(this.suggestions&&this.suggestions.length){if(this.currentIndex>0)return this.setSelectedSuggestion(this.currentIndex-1),!0;if(0===this.currentIndex)return this.setSelectedSuggestion(this.suggestions.length-1),!0}return!1},e.prototype.getSuggestions=function(){return this.suggestions},e.prototype.getCurrentItem=function(){return this.currentSuggestion},e.prototype.getSuggestionAtIndex=function(e){return this.suggestions[e]},e.prototype.hasSelectedSuggestion=function(){return!!this.currentSuggestion},e.prototype.removeSuggestion=function(e){this.suggestions.splice(e,1)},e.prototype.createGenericSuggestion=function(e){var t=this.convertSuggestionsToSuggestionItems([e])[0];this.currentSuggestion=t},e.prototype.convertSuggestionsToSuggestionItems=function(e){return Array.isArray(e)?e.map(this._ensureSuggestionModel):[]},e.prototype.deselectAllSuggestions=function(){this.currentIndex>-1&&(this.suggestions[this.currentIndex].selected=!1,this.currentIndex=-1)},e.prototype.setSelectedSuggestion=function(e){e>this.suggestions.length-1||e<0?(this.currentIndex=0,this.currentSuggestion.selected=!1,this.currentSuggestion=this.suggestions[0],this.currentSuggestion.selected=!0):(this.currentIndex>-1&&(this.suggestions[this.currentIndex].selected=!1),this.suggestions[e].selected=!0,this.currentIndex=e,this.currentSuggestion=this.suggestions[e])},e}(),cm={root:"ms-Suggestions",suggestionsContainer:"ms-Suggestions-container",title:"ms-Suggestions-title",forceResolveButton:"ms-forceResolve-button",searchForMoreButton:"ms-SearchMore-button",spinner:"ms-Suggestions-spinner",noSuggestions:"ms-Suggestions-none",suggestionsAvailable:"ms-Suggestions-suggestionsAvailable",isSelected:"is-selected"};function lm(e){var t=e.className,n=e.suggestionsClassName,o=e.theme,r=e.forceResolveButtonSelected,i=e.searchForMoreButtonSelected,a=o.palette,s=o.semanticColors,c=o.fonts,l=Object(b.R)(cm,o),u={backgroundColor:"transparent",border:0,cursor:"pointer",margin:0,paddingLeft:8,position:"relative",borderTop:"1px solid "+a.neutralLight,height:40,textAlign:"left",width:"100%",fontSize:c.small.fontSize,selectors:{":hover":{backgroundColor:s.menuItemBackgroundPressed,cursor:"pointer"},":focus, :active":{backgroundColor:a.themeLight},".ms-Button-icon":{fontSize:c.mediumPlus.fontSize,width:25},".ms-Button-label":{margin:"0 4px 0 9px"}}},d={backgroundColor:a.themeLight};return{root:[l.root,{minWidth:260},t],suggestionsContainer:[l.suggestionsContainer,{overflowY:"auto",overflowX:"hidden",maxHeight:300},n],title:[l.title,{padding:"0 12px",fontSize:c.small.fontSize,color:a.themePrimary,lineHeight:40,borderBottom:"1px solid "+s.menuItemBackgroundPressed}],forceResolveButton:[l.forceResolveButton,u,r&&[l.isSelected,d]],searchForMoreButton:[l.searchForMoreButton,u,i&&[l.isSelected,d]],noSuggestions:[l.noSuggestions,{textAlign:"center",color:a.neutralSecondary,fontSize:c.small.fontSize,lineHeight:30}],suggestionsAvailable:[l.suggestionsAvailable,b.Z],subComponentStyles:{spinner:{root:[l.spinner,{margin:"5px 0",paddingLeft:14,textAlign:"left",whiteSpace:"nowrap",lineHeight:20,fontSize:c.small.fontSize}],circle:{display:"inline-block",verticalAlign:"middle"},label:{display:"inline-block",verticalAlign:"middle",margin:"0 10px 0 16px"}}}}}!function(e){e[e.valid=0]="valid",e[e.warning=1]="warning",e[e.invalid=2]="invalid"}(tm||(tm={})),Object(Pr.a)([{rawString:".pickerText_3816c652{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-sizing:border-box;box-sizing:border-box;border:1px solid "},{theme:"neutralTertiary",defaultValue:"#a19f9d"},{rawString:";min-width:180px;min-height:30px}.pickerText_3816c652:hover{border-color:"},{theme:"inputBorderHovered",defaultValue:"#323130"},{rawString:"}.pickerText_3816c652.inputFocused_3816c652{position:relative;border-color:"},{theme:"inputFocusBorderAlt",defaultValue:"#0078d4"},{rawString:"}.pickerText_3816c652.inputFocused_3816c652:after{pointer-events:none;content:'';position:absolute;left:-1px;top:-1px;bottom:-1px;right:-1px;border:2px solid "},{theme:"inputFocusBorderAlt",defaultValue:"#0078d4"},{rawString:"}.pickerInput_3816c652{height:34px;border:none;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;outline:0;padding:0 6px 0;-ms-flex-item-align:end;align-self:flex-end}.pickerItems_3816c652{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;max-width:100%}.screenReaderOnly_3816c652{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}"}]);var um="pickerText_3816c652",dm="inputFocused_3816c652",pm="pickerInput_3816c652",hm="pickerItems_3816c652",fm="screenReaderOnly_3816c652",mm=l,gm=Object(w.a)(),bm=function(e){function t(t){var n,o=e.call(this,t)||this;o.root=g.createRef(),o.input=g.createRef(),o.focusZone=g.createRef(),o.suggestionElement=g.createRef(),o.SuggestionOfProperType=am,o._styledSuggestions=(n=o.SuggestionOfProperType,Object(x.a)(n,lm,void 0,{scope:"Suggestions"})),o.dismissSuggestions=function(e){var t=function(){o.props.onDismiss&&o.props.onDismiss(e,o.suggestionStore.currentSuggestion?o.suggestionStore.currentSuggestion.item:void 0),(!e||e&&!e.defaultPrevented)&&o.canAddItems()&&o.suggestionStore.hasSelectedSuggestion()&&o.state.suggestedDisplayValue&&o.addItemByIndex(0)};o.currentPromise?o.currentPromise.then((function(){return t()})):t(),o.setState({suggestionsVisible:!1})},o.refocusSuggestions=function(e){o.resetFocus(),o.suggestionStore.suggestions&&o.suggestionStore.suggestions.length>0&&(e===ge.a.up?o.suggestionStore.setSelectedSuggestion(o.suggestionStore.suggestions.length-1):e===ge.a.down&&o.suggestionStore.setSelectedSuggestion(0))},o.onInputChange=function(e){o.updateValue(e),o.setState({moreSuggestionsAvailable:!0,isMostRecentlyUsedVisible:!1})},o.onSuggestionClick=function(e,t,n){o.addItemByIndex(n)},o.onSuggestionRemove=function(e,t,n){o.props.onRemoveSuggestion&&o.props.onRemoveSuggestion(t),o.suggestionStore.removeSuggestion(n)},o.onInputFocus=function(e){o.state.isFocused||(o.setState({isFocused:!0}),o.selection.setAllSelected(!1),o._userTriggeredSuggestions(),o.props.inputProps&&o.props.inputProps.onFocus&&o.props.inputProps.onFocus(e))},o.onInputBlur=function(e){o.props.inputProps&&o.props.inputProps.onBlur&&o.props.inputProps.onBlur(e)},o.onBlur=function(e){if(o.state.isFocused){var t=e.relatedTarget;null===e.relatedTarget&&(t=document.activeElement),t&&!Object(De.a)(o.root.current,t)&&(o.setState({isFocused:!1}),o.props.onBlur&&o.props.onBlur(e))}},o.onClick=function(e){void 0!==o.props.inputProps&&void 0!==o.props.inputProps.onClick&&o.props.inputProps.onClick(e),0===e.button&&o._userTriggeredSuggestions()},o.onKeyDown=function(e){var t=e.which;switch(t){case ge.a.escape:o.state.suggestionsVisible&&(o.setState({suggestionsVisible:!1}),e.preventDefault(),e.stopPropagation());break;case ge.a.tab:case ge.a.enter:o.suggestionElement.current&&o.suggestionElement.current.hasSuggestedActionSelected()?o.suggestionElement.current.executeSelectedAction():!e.shiftKey&&o.suggestionStore.hasSelectedSuggestion()&&o.state.suggestionsVisible?(o.completeSuggestion(),e.preventDefault(),e.stopPropagation()):o._completeGenericSuggestion();break;case ge.a.backspace:o.props.disabled||o.onBackspace(e),e.stopPropagation();break;case ge.a.del:o.props.disabled||(o.input.current&&e.target===o.input.current.inputElement&&o.state.suggestionsVisible&&-1!==o.suggestionStore.currentIndex?(o.props.onRemoveSuggestion&&o.props.onRemoveSuggestion(o.suggestionStore.currentSuggestion.item),o.suggestionStore.removeSuggestion(o.suggestionStore.currentIndex),o.forceUpdate()):o.onBackspace(e)),e.stopPropagation();break;case ge.a.up:o.input.current&&e.target===o.input.current.inputElement&&o.state.suggestionsVisible&&(o.suggestionElement.current&&o.suggestionElement.current.tryHandleKeyDown(t,o.suggestionStore.currentIndex)?(e.preventDefault(),e.stopPropagation()):o.suggestionElement.current&&o.suggestionElement.current.hasSuggestedAction()&&0===o.suggestionStore.currentIndex?(e.preventDefault(),e.stopPropagation(),o.suggestionElement.current.focusAboveSuggestions(),o.suggestionStore.deselectAllSuggestions(),o.forceUpdate()):o.suggestionStore.previousSuggestion()&&(e.preventDefault(),e.stopPropagation(),o.onSuggestionSelect()));break;case ge.a.down:o.input.current&&e.target===o.input.current.inputElement&&o.state.suggestionsVisible&&(o.suggestionElement.current&&o.suggestionElement.current.tryHandleKeyDown(t,o.suggestionStore.currentIndex)?(e.preventDefault(),e.stopPropagation()):o.suggestionElement.current&&o.suggestionElement.current.hasSuggestedAction()&&o.suggestionStore.currentIndex+1===o.suggestionStore.suggestions.length?(e.preventDefault(),e.stopPropagation(),o.suggestionElement.current.focusBelowSuggestions(),o.suggestionStore.deselectAllSuggestions(),o.forceUpdate()):o.suggestionStore.nextSuggestion()&&(e.preventDefault(),e.stopPropagation(),o.onSuggestionSelect()))}},o.onItemChange=function(e,t){var n=o.state.items;if(t>=0){var r=n;r[t]=e,o._updateSelectedItems(r)}},o.onGetMoreResults=function(){o.setState({isSearching:!0},(function(){if(o.props.onGetMoreResults&&o.input.current){var e=o.props.onGetMoreResults(o.input.current.value,o.state.items),t=e,n=e;Array.isArray(t)?(o.updateSuggestions(t),o.setState({isSearching:!1})):n.then&&n.then((function(e){o.updateSuggestions(e),o.setState({isSearching:!1})}))}else o.setState({isSearching:!1});o.input.current&&o.input.current.focus(),o.setState({moreSuggestionsAvailable:!1,isResultsFooterVisible:!0})}))},o.completeSelection=function(e){o.addItem(e),o.updateValue(""),o.input.current&&o.input.current.clear(),o.setState({suggestionsVisible:!1})},o.addItemByIndex=function(e){o.completeSelection(o.suggestionStore.getSuggestionAtIndex(e).item)},o.addItem=function(e){var t=o.props.onItemSelected?o.props.onItemSelected(e):e;if(null!==t){var n=t,r=t;if(r&&r.then)r.then((function(e){var t=o.state.items.concat([e]);o._updateSelectedItems(t)}));else{var i=o.state.items.concat([n]);o._updateSelectedItems(i)}o.setState({suggestedDisplayValue:""})}},o.removeItem=function(e,t){var n=o.state.items,r=n.indexOf(e);if(r>=0){var i=n.slice(0,r).concat(n.slice(r+1));o._updateSelectedItems(i,t?r:void 0)}},o.removeItems=function(e){var t=o.state.items,n=t.filter((function(t){return-1===e.indexOf(t)})),r=e[0],i=t.indexOf(r);o._updateSelectedItems(n,i)},o._shouldFocusZoneEnterInnerZone=function(e){if(o.state.suggestionsVisible)switch(e.which){case ge.a.up:case ge.a.down:return!0}return e.which===ge.a.enter},o._onResolveSuggestions=function(e){var t=o.props.onResolveSuggestions(e,o.state.items);null!==t&&o.updateSuggestionsList(t,e)},o._completeGenericSuggestion=function(){if(o.props.onValidateInput&&o.input.current&&o.props.onValidateInput(o.input.current.value)!==tm.invalid&&o.props.createGenericItem){var e=o.props.createGenericItem(o.input.current.value,o.props.onValidateInput(o.input.current.value));o.suggestionStore.createGenericSuggestion(e),o.completeSuggestion()}},o._userTriggeredSuggestions=function(){if(!o.state.suggestionsVisible){var e=o.input.current?o.input.current.value:"";e?0===o.suggestionStore.suggestions.length?o._onResolveSuggestions(e):o.setState({isMostRecentlyUsedVisible:!1,suggestionsVisible:!0}):o.onEmptyInputFocus()}},Object(be.a)(o),o._async=new ye.a(o);var r=t.selectedItems||t.defaultSelectedItems||[];return o._id=Object(Pe.a)(),o._ariaMap={selectedItems:"selected-items-"+o._id,selectedSuggestionAlert:"selected-suggestion-alert-"+o._id,suggestionList:"suggestion-list-"+o._id},o.suggestionStore=new sm,o.selection=new dl({onSelectionChanged:function(){return o.onSelectionChange()}}),o.selection.setItems(r),o.state={items:r,suggestedDisplayValue:"",isMostRecentlyUsedVisible:!1,moreSuggestionsAvailable:!1,isFocused:!1,isSearching:!1,selectedIndices:[]},o}return Object(m.c)(t,e),Object.defineProperty(t.prototype,"items",{get:function(){return this.state.items},enumerable:!0,configurable:!0}),t.prototype.UNSAFE_componentWillUpdate=function(e,t){t.items&&t.items!==this.state.items&&this.selection.setItems(t.items)},t.prototype.componentDidMount=function(){this.selection.setItems(this.state.items),this._onResolveSuggestions=this._async.debounce(this._onResolveSuggestions,this.props.resolveDelay)},t.prototype.UNSAFE_componentWillReceiveProps=function(e){var t,n=this,o=e.selectedItems;o&&(o.length<this.state.items.length&&(t=this.state.items.indexOf(this.selection.getSelection()[0])),this.setState({items:e.selectedItems},(function(){n.state.isFocused&&n.resetFocus(t)})))},t.prototype.componentWillUnmount=function(){this.currentPromise&&(this.currentPromise=void 0),this._async.dispose()},t.prototype.focus=function(){this.focusZone.current&&this.focusZone.current.focus()},t.prototype.focusInput=function(){this.input.current&&this.input.current.focus()},t.prototype.completeSuggestion=function(e){this.suggestionStore.hasSelectedSuggestion()&&this.input.current?this.completeSelection(this.suggestionStore.currentSuggestion.item):e&&this._completeGenericSuggestion()},t.prototype.render=function(){var e=this.state,t=e.suggestedDisplayValue,n=e.isFocused,o=e.items,r=this.props,i=r.className,a=r.inputProps,s=r.disabled,c=r.theme,l=r.styles,u=this.props.enableSelectedSuggestionAlert?this._ariaMap.selectedSuggestionAlert:"",d=this.state.suggestionsVisible?this._ariaMap.suggestionList:"",p=l?gm(l,{theme:c,className:i,isFocused:n,disabled:s,inputClassName:a&&a.className}):{root:Object(z.a)("ms-BasePicker",i||""),text:Object(z.a)("ms-BasePicker-text",mm.pickerText,this.state.isFocused&&mm.inputFocused),itemsWrapper:mm.pickerItems,input:Object(z.a)("ms-BasePicker-input",mm.pickerInput,a&&a.className),screenReaderText:mm.screenReaderOnly};return g.createElement("div",{ref:this.root,className:p.root,onKeyDown:this.onKeyDown,onBlur:this.onBlur},g.createElement(ze,{componentRef:this.focusZone,direction:le.bidirectional,shouldEnterInnerZone:this._shouldFocusZoneEnterInnerZone,role:"combobox","aria-expanded":!!this.state.suggestionsVisible,"aria-owns":d||void 0,"aria-haspopup":d&&this.suggestionStore.suggestions.length>0?"listbox":"dialog"},this.getSuggestionsAlert(p.screenReaderText),g.createElement(vl,{selection:this.selection,selectionMode:Yc.multiple},g.createElement("div",{className:p.text},o.length>0&&g.createElement("span",{id:this._ariaMap.selectedItems,className:p.itemsWrapper,role:"list"},this.renderItems()),this.canAddItems()&&g.createElement(ve,Object(m.a)({spellCheck:!1},a,{className:p.input,componentRef:this.input,onClick:this.onClick,onFocus:this.onInputFocus,onBlur:this.onInputBlur,onInputValueChange:this.onInputChange,suggestedDisplayValue:t,"aria-describedby":o.length>0?this._ariaMap.selectedItems:void 0,"aria-controls":d+" "+u||void 0,"aria-activedescendant":this.getActiveDescendant(),role:"textbox",disabled:s,onInputChange:this.props.onInputChange}))))),this.renderSuggestions())},t.prototype.canAddItems=function(){var e=this.state.items,t=this.props.itemLimit;return void 0===t||e.length<t},t.prototype.renderSuggestions=function(){var e=this._styledSuggestions;return this.state.suggestionsVisible&&this.input?g.createElement(Nn,Object(m.a)({isBeakVisible:!1,gapSpace:5,target:this.input.current?this.input.current.inputElement:void 0,onDismiss:this.dismissSuggestions,directionalHint:st.bottomLeftEdge,directionalHintForRTL:st.bottomRightEdge},this.props.pickerCalloutProps),g.createElement(e,Object(m.a)({onRenderSuggestion:this.props.onRenderSuggestionsItem,onSuggestionClick:this.onSuggestionClick,onSuggestionRemove:this.onSuggestionRemove,suggestions:this.suggestionStore.getSuggestions(),componentRef:this.suggestionElement,onGetMoreResults:this.onGetMoreResults,moreSuggestionsAvailable:this.state.moreSuggestionsAvailable,isLoading:this.state.suggestionsLoading,isSearching:this.state.isSearching,isMostRecentlyUsedVisible:this.state.isMostRecentlyUsedVisible,isResultsFooterVisible:this.state.isResultsFooterVisible,refocusSuggestions:this.refocusSuggestions,removeSuggestionAriaLabel:this.props.removeButtonAriaLabel,suggestionsListId:this._ariaMap.suggestionList,createGenericItem:this._completeGenericSuggestion},this.props.pickerSuggestionsProps))):null},t.prototype.renderItems=function(){var e=this,t=this.props,n=t.disabled,o=t.removeButtonAriaLabel,r=this.props.onRenderItem,i=this.state,a=i.items,s=i.selectedIndices;return a.map((function(t,i){return r({item:t,index:i,key:t.key?t.key:i,selected:-1!==s.indexOf(i),onRemoveItem:function(){return e.removeItem(t,!0)},disabled:n,onItemChange:e.onItemChange,removeButtonAriaLabel:o})}))},t.prototype.resetFocus=function(e){var t=this.state.items;if(t.length&&e>=0){var n=this.root.current&&this.root.current.querySelectorAll("[data-selection-index]")[Math.min(e,t.length-1)];n&&this.focusZone.current&&this.focusZone.current.focusElement(n)}else this.canAddItems()?this.input.current&&this.input.current.focus():this.resetFocus(t.length-1)},t.prototype.onSuggestionSelect=function(){if(this.suggestionStore.currentSuggestion){var e=this.input.current?this.input.current.value:"",t=this._getTextFromItem(this.suggestionStore.currentSuggestion.item,e);this.setState({suggestedDisplayValue:t})}},t.prototype.onSelectionChange=function(){this.setState({selectedIndices:this.selection.getSelectedIndices()})},t.prototype.updateSuggestions=function(e){this.suggestionStore.updateSuggestions(e,0),this.forceUpdate()},t.prototype.onEmptyInputFocus=function(){var e=this.props.onEmptyResolveSuggestions?this.props.onEmptyResolveSuggestions:this.props.onEmptyInputFocus;if(e){var t=e(this.state.items);this.updateSuggestionsList(t),this.setState({isMostRecentlyUsedVisible:!0,suggestionsVisible:!0,moreSuggestionsAvailable:!1})}},t.prototype.updateValue=function(e){this._onResolveSuggestions(e)},t.prototype.updateSuggestionsList=function(e,t){var n=this,o=e,r=e;if(Array.isArray(o))this._updateAndResolveValue(t,o);else if(r&&r.then){this.setState({suggestionsLoading:!0}),this.suggestionStore.updateSuggestions([]),void 0!==t?this.setState({suggestionsVisible:this._getShowSuggestions()}):this.setState({suggestionsVisible:this.input.current&&this.input.current.inputElement===document.activeElement});var i=this.currentPromise=r;i.then((function(e){i===n.currentPromise&&n._updateAndResolveValue(t,e)}))}},t.prototype.resolveNewValue=function(e,t){var n=this;this.updateSuggestions(t);var o=void 0;this.suggestionStore.currentSuggestion&&(o=this._getTextFromItem(this.suggestionStore.currentSuggestion.item,e)),this.setState({suggestedDisplayValue:o,suggestionsVisible:this._getShowSuggestions()},(function(){return n.setState({suggestionsLoading:!1})}))},t.prototype.onChange=function(e){this.props.onChange&&this.props.onChange(e)},t.prototype.onBackspace=function(e){(this.state.items.length&&!this.input.current||this.input.current&&!this.input.current.isValueSelected&&0===this.input.current.cursorLocation)&&(this.selection.getSelectedCount()>0?this.removeItems(this.selection.getSelection()):this.removeItem(this.state.items[this.state.items.length-1]))},t.prototype.getActiveDescendant=function(){var e=this.suggestionStore.currentIndex;return e>-1&&!this.state.suggestionsLoading?"sug-"+e:void 0},t.prototype.getSuggestionsAlert=function(e){void 0===e&&(e=mm.screenReaderOnly);var t=this.suggestionStore.currentIndex;if(this.props.enableSelectedSuggestionAlert){var n=t>-1?this.suggestionStore.getSuggestionAtIndex(this.suggestionStore.currentIndex):void 0,o=n?n.ariaLabel:void 0;return g.createElement("div",{className:e,role:"alert",id:this._ariaMap.selectedSuggestionAlert,"aria-live":"assertive"},o," ")}},t.prototype._updateAndResolveValue=function(e,t){void 0!==e?this.resolveNewValue(e,t):(this.suggestionStore.updateSuggestions(t,-1),this.state.suggestionsLoading&&this.setState({suggestionsLoading:!1}))},t.prototype._updateSelectedItems=function(e,t){var n=this;this.props.selectedItems?this.onChange(e):this.setState({items:e},(function(){n._onSelectedItemsUpdated(e,t)}))},t.prototype._onSelectedItemsUpdated=function(e,t){this.resetFocus(t),this.onChange(e)},t.prototype._getShowSuggestions=function(){return void 0!==this.input.current&&null!==this.input.current&&this.input.current.inputElement===document.activeElement&&""!==this.input.current.value},t.prototype._getTextFromItem=function(e,t){return this.props.getTextFromItem?this.props.getTextFromItem(e,t):""},t}(g.Component),ym=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(m.c)(t,e),t.prototype.render=function(){var e=this.state,t=e.suggestedDisplayValue,n=e.isFocused,o=this.props,r=o.className,i=o.inputProps,a=o.disabled,s=o.theme,c=o.styles,l=this.props.enableSelectedSuggestionAlert?this._ariaMap.selectedSuggestionAlert:"",u=this.state.suggestionsVisible?this._ariaMap.suggestionList:"",d=c?gm(c,{theme:s,className:r,isFocused:n,inputClassName:i&&i.className}):{root:Object(z.a)("ms-BasePicker",r||""),text:Object(z.a)("ms-BasePicker-text",mm.pickerText,this.state.isFocused&&mm.inputFocused),input:Object(z.a)("ms-BasePicker-input",mm.pickerInput,i&&i.className),screenReaderText:mm.screenReaderOnly};return g.createElement("div",{ref:this.root,onBlur:this.onBlur},g.createElement("div",{className:d.root,onKeyDown:this.onKeyDown},this.getSuggestionsAlert(d.screenReaderText),g.createElement("div",{className:d.text,"aria-owns":u||void 0,"aria-expanded":!!this.state.suggestionsVisible,"aria-haspopup":u&&this.suggestionStore.suggestions.length>0?"listbox":"dialog",role:"combobox"},g.createElement(ve,Object(m.a)({},i,{className:d.input,componentRef:this.input,onFocus:this.onInputFocus,onBlur:this.onInputBlur,onClick:this.onClick,onInputValueChange:this.onInputChange,suggestedDisplayValue:t,"aria-activedescendant":this.getActiveDescendant(),role:"textbox",disabled:a,"aria-controls":u+" "+l||void 0,onInputChange:this.props.onInputChange})))),this.renderSuggestions(),g.createElement(vl,{selection:this.selection,selectionMode:Yc.single},g.createElement(ze,{componentRef:this.focusZone,className:"ms-BasePicker-selectedItems",isCircularNavigation:!0,direction:le.bidirectional,shouldEnterInnerZone:this._shouldFocusZoneEnterInnerZone,id:this._ariaMap.selectedItems,role:"list"},this.renderItems())))},t.prototype.onBackspace=function(e){},t}(bm),vm={root:"ms-PickerPersona-container",itemContent:"ms-PickerItem-content",removeButton:"ms-PickerItem-removeButton",isSelected:"is-selected",isInvalid:"is-invalid"},_m=Object(w.a)(),Sm=function(e){var t=e.item,n=e.onRemoveItem,o=e.index,r=e.selected,i=e.removeButtonAriaLabel,a=e.styles,s=e.theme,c=e.className,l=e.disabled,u=Object(Pe.a)(),d=_m(a,{theme:s,className:c,selected:r,disabled:l,invalid:t.ValidationState===tm.warning}),p=d.subComponentStyles?d.subComponentStyles.persona:void 0,h=d.subComponentStyles?d.subComponentStyles.personaCoin:void 0;return g.createElement("div",{className:d.root,"data-is-focusable":!l,"data-is-sub-focuszone":!0,"data-selection-index":o,role:"listitem","aria-labelledby":"selectedItemPersona-"+u},g.createElement("div",{className:d.itemContent,id:"selectedItemPersona-"+u},g.createElement(Hp,Object(m.a)({size:O.size24,styles:p,coinProps:{styles:h}},t))),g.createElement(go,{onClick:n,disabled:l,iconProps:{iconName:"Cancel",styles:{root:{fontSize:"12px"}}},className:d.removeButton,ariaLabel:i}))},Cm=Object(x.a)(Sm,(function(e){var t,n,o,r,i,a,s,c=e.className,l=e.theme,u=e.selected,d=e.invalid,p=e.disabled,h=l.palette,f=l.semanticColors,m=l.fonts,g=Object(b.R)(vm,l),y=[u&&!d&&!p&&{color:h.white,selectors:(t={":hover":{color:h.white}},t[b.l]={color:"HighlightText"},t)},(d&&!u||d&&u&&p)&&{color:h.redDark,borderBottom:"2px dotted "+h.redDark,selectors:(n={},n["."+g.root+":hover &"]={color:h.redDark},n)},d&&u&&!p&&{color:h.white,borderBottom:"2px dotted "+h.white},p&&{selectors:(o={},o[b.l]={color:"GrayText"},o)}],v=[d&&{fontSize:m.xLarge.fontSize}];return{root:[g.root,Object(b.Q)(l,{inset:-2}),{borderRadius:15,display:"inline-flex",alignItems:"center",background:h.neutralLighter,margin:"1px 2px",cursor:"default",userSelect:"none",maxWidth:300,verticalAlign:"middle",minWidth:0,selectors:(r={":hover":{background:u||p?"":h.neutralLight}},r[b.l]=[{border:"1px solid WindowText"},p&&{borderColor:"GrayText"}],r)},u&&!p&&[g.isSelected,{background:h.themePrimary,selectors:(i={},i[b.l]={borderColor:"HighLight",background:"Highlight",MsHighContrastAdjust:"none"},i)}],d&&[g.isInvalid],d&&u&&!p&&{background:h.redDark},c],itemContent:[g.itemContent,{flex:"0 1 auto",minWidth:0,maxWidth:"100%",overflow:"hidden"}],removeButton:[g.removeButton,{borderRadius:15,color:h.neutralPrimary,flex:"0 0 auto",width:24,height:24,selectors:{":hover":{background:h.neutralTertiaryAlt,color:h.neutralDark}}},u&&[{color:h.white,selectors:(a={":hover":{color:h.white,background:h.themeDark},":active":{color:h.white,background:h.themeDarker}},a[b.l]={color:"HighlightText"},a)},d&&{selectors:{":hover":{background:h.red},":active":{background:h.redDark}}}],p&&{selectors:(s={},s["."+ao.msButtonIcon]={color:f.buttonText},s)}],subComponentStyles:{persona:{primaryText:y},personaCoin:{initials:v}}}}),void 0,{scope:"PeoplePickerItem"}),xm={root:"ms-PeoplePicker-personaContent",personaWrapper:"ms-PeoplePicker-Persona"},wm=Object(w.a)(),Tm=function(e){var t=e.personaProps,n=e.suggestionsProps,o=e.compact,r=e.styles,i=e.theme,a=e.className,s=wm(r,{theme:i,className:n&&n.suggestionsItemClassName||a}),c=s.subComponentStyles&&s.subComponentStyles.persona?s.subComponentStyles.persona:void 0;return g.createElement("div",{className:s.root},g.createElement(Hp,Object(m.a)({size:O.size24,styles:c,className:s.personaWrapper,showSecondaryText:!o},t)))},km=Object(x.a)(Tm,(function(e){var t,n,o,r=e.className,i=e.theme,a=Object(b.R)(xm,i),s={selectors:(t={},t["."+nm.isSuggested+" &"]={selectors:(n={},n[b.l]={color:"HighlightText"},n)},t["."+a.root+":hover &"]={selectors:(o={},o[b.l]={color:"HighlightText"},o)},t)};return{root:[a.root,{width:"100%",padding:"4px 12px"},r],personaWrapper:[a.personaWrapper,{width:180}],subComponentStyles:{persona:{primaryText:s,secondaryText:s}}}}),void 0,{scope:"PeoplePickerItemSuggestion"}),Im={root:"ms-BasePicker",text:"ms-BasePicker-text",itemsWrapper:"ms-BasePicker-itemsWrapper",input:"ms-BasePicker-input"};function Om(e){var t,n=e.className,o=e.theme,r=e.isFocused,i=e.inputClassName,a=e.disabled;if(!o)throw new Error("theme is undefined or null in base BasePicker getStyles function.");var s=o.semanticColors,c=o.effects,l=o.fonts,u=s.inputBorder,d=s.inputBorderHovered,p=s.inputFocusBorderAlt,h=Object(b.R)(Im,o);return{root:[h.root,n],text:[h.text,{display:"flex",position:"relative",flexWrap:"wrap",alignItems:"center",boxSizing:"border-box",minWidth:180,minHeight:30,border:"1px solid "+u,borderRadius:c.roundedCorner2},!r&&!a&&{selectors:{":hover":{borderColor:d}}},r&&!a&&Object(b.U)(p,c.roundedCorner2),a&&{borderColor:"rgba(218, 218, 218, 0.29)",selectors:(t={":after":{content:'""',position:"absolute",top:0,right:0,bottom:0,left:0,background:"rgba(218, 218, 218, 0.29)"}},t[b.l]={borderColor:"GrayText",selectors:{":after":{background:"none"}}},t)}],itemsWrapper:[h.itemsWrapper,{display:"flex",flexWrap:"wrap",maxWidth:"100%"}],input:[h.input,l.medium,{height:30,border:"none",flexGrow:1,outline:"none",padding:"0 6px 0",alignSelf:"flex-end",borderRadius:c.roundedCorner2,backgroundColor:"transparent",color:s.inputText,selectors:{"::-ms-clear":{display:"none"}}},i],screenReaderText:b.Z}}var Em=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(m.c)(t,e),t}(bm),Nm=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(m.c)(t,e),t}(ym),Pm=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(m.c)(t,e),t.defaultProps={onRenderItem:function(e){return g.createElement(Cm,Object(m.a)({},e))},onRenderSuggestionsItem:function(e,t){return g.createElement(km,{personaProps:e,suggestionsProps:t})},createGenericItem:Rm},t}(Em),Dm=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(m.c)(t,e),t.defaultProps={onRenderItem:function(e){return g.createElement(Cm,Object(m.a)({},e))},onRenderSuggestionsItem:function(e,t){return g.createElement(km,{personaProps:e,suggestionsProps:t,compact:!0})},createGenericItem:Rm},t}(Em),Am=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(m.c)(t,e),t.defaultProps={onRenderItem:function(e){return g.createElement(Cm,Object(m.a)({},e))},onRenderSuggestionsItem:function(e,t){return g.createElement(km,{personaProps:e,suggestionsProps:t})},createGenericItem:Rm},t}(Nm);function Rm(e,t){var n={key:e,primaryText:e,imageInitials:"!",ValidationState:t};return t!==tm.warning&&(n.imageInitials=Object(k.a)(e,Object(T.a)())),n}var Mm,Fm,jm=Object(x.a)(Pm,Om,void 0,{scope:"NormalPeoplePicker"}),Lm=Object(x.a)(Dm,Om,void 0,{scope:"CompactPeoplePicker"}),Hm=Object(x.a)(Am,Om,void 0,{scope:"ListPeoplePickerBase"}),Bm={root:"ms-TagItem",text:"ms-TagItem-text",close:"ms-TagItem-close",isSelected:"is-selected"},zm=Object(w.a)(),Um=function(e){var t=e.theme,n=e.styles,o=e.selected,r=e.disabled,i=e.enableTagFocusInDisabledPicker,a=e.children,s=e.className,c=e.index,l=e.onRemoveItem,u=e.removeButtonAriaLabel,d=e.title,p=void 0===d?"string"==typeof e.children?e.children:e.item.name:d,h=zm(n,{theme:t,className:s,selected:o,disabled:r});return g.createElement("div",{className:h.root,role:"listitem",key:c,"data-selection-index":c,"data-is-focusable":(i||!r)&&!0},g.createElement("span",{className:h.text,"aria-label":p,title:p},a),g.createElement(go,{onClick:l,disabled:r,iconProps:{iconName:"Cancel",styles:{root:{fontSize:"12px"}}},className:h.close,ariaLabel:u}))},Vm=Object(x.a)(Um,(function(e){var t,n,o,r,i=e.className,a=e.theme,s=e.selected,c=e.disabled,l=a.palette,u=a.effects,d=a.fonts,p=a.semanticColors,h=Object(b.R)(Bm,a);return{root:[h.root,d.medium,Object(b.Q)(a),{boxSizing:"content-box",flexShrink:"1",margin:2,height:26,lineHeight:26,cursor:"default",userSelect:"none",display:"flex",flexWrap:"nowrap",maxWidth:300,minWidth:0,borderRadius:u.roundedCorner2,color:p.inputText,background:!s||c?l.neutralLighter:l.themePrimary,selectors:(t={":hover":[!c&&!s&&{color:l.neutralDark,background:l.neutralLight,selectors:{".ms-TagItem-close":{color:l.neutralPrimary}}},c&&{background:l.neutralLighter},s&&!c&&{background:l.themePrimary}]},t[b.l]={border:"1px solid "+(s?"WindowFrame":"WindowText")},t)},c&&{selectors:(n={},n[b.l]={borderColor:"GrayText"},n)},s&&!c&&[h.isSelected,{color:l.white}],i],text:[h.text,{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",minWidth:30,margin:"0 8px"},c&&{selectors:(o={},o[b.l]={color:"GrayText"},o)}],close:[h.close,{color:l.neutralSecondary,width:30,height:"100%",flex:"0 0 auto",borderRadius:Object(T.a)(a)?u.roundedCorner2+" 0 0 "+u.roundedCorner2:"0 "+u.roundedCorner2+" "+u.roundedCorner2+" 0",selectors:{":hover":{background:l.neutralQuaternaryAlt,color:l.neutralPrimary},":active":{color:l.white,backgroundColor:l.themeDark}}},s&&{color:l.white,selectors:{":hover":{color:l.white,background:l.themeDark}}},c&&{selectors:(r={},r["."+ao.msButtonIcon]={color:l.neutralSecondary},r)}]}}),void 0,{scope:"TagItem"}),Wm={suggestionTextOverflow:"ms-TagItem-TextOverflow"},qm=Object(w.a)(),Gm=function(e){var t=e.styles,n=e.theme,o=e.children,r=qm(t,{theme:n});return g.createElement("div",{className:r.suggestionTextOverflow}," ",o," ")},Km=Object(x.a)(Gm,(function(e){var t=e.className,n=e.theme;return{suggestionTextOverflow:[Object(b.R)(Wm,n).suggestionTextOverflow,{overflow:"hidden",textOverflow:"ellipsis",maxWidth:"60vw",padding:"6px 12px 7px",whiteSpace:"nowrap"},t]}}),void 0,{scope:"TagItemSuggestion"}),Ym=function(e){function t(t){var n=e.call(this,t)||this;return Object(be.a)(n),n}return Object(m.c)(t,e),t.defaultProps={onRenderItem:function(e){return g.createElement(Vm,Object(m.a)({},e),e.item.name)},onRenderSuggestionsItem:function(e){return g.createElement(Km,null,e.name)}},t}(bm),Qm=Object(x.a)(Ym,Om,void 0,{scope:"TagPicker"}),$m=function(e){function t(t){var n=e.call(this,t)||this;return Object(be.a)(n),Object(nt.a)("PivotItem",t,{linkText:"headerText"}),n}return Object(m.c)(t,e),t.prototype.render=function(){return g.createElement("div",Object(m.a)({},Object(I.j)(this.props,I.h)),this.props.children)},t}(g.Component);!function(e){e[e.links=0]="links",e[e.tabs=1]="tabs"}(Mm||(Mm={})),function(e){e[e.normal=0]="normal",e[e.large=1]="large"}(Fm||(Fm={}));var Zm=Object(w.a)(),Xm=function(e){function t(t){var n=e.call(this,t)||this;n._focusZone=g.createRef(),n._renderPivotLink=function(e,t,o){var r,i=t.itemKey,a=t.headerButtonProps,s=e.keyToTabIdMapping[i],c=t.onRenderItemLink,l=o===i;r=c?c(t,n._renderLinkContent):n._renderLinkContent(t);var u=t.headerText||"";return u+=t.itemCount?" ("+t.itemCount+")":"",u+=t.itemIcon?" xx":"",g.createElement(cr,Object(m.a)({},a,{id:s,key:i,className:l?n._classNames.linkIsSelected:n._classNames.link,onClick:n._onLinkClick.bind(n,i),onKeyDown:n._onKeyDown.bind(n,i),"aria-label":t.ariaLabel,role:"tab","aria-selected":l,name:t.headerText,keytipProps:t.keytipProps,"data-content":u}),r)},n._renderLinkContent=function(e){var t=e.itemCount,o=e.itemIcon,r=e.headerText,i=n._classNames;return g.createElement("span",{className:i.linkContent},void 0!==o&&g.createElement("span",{className:i.icon},g.createElement(K,{iconName:o})),void 0!==r&&g.createElement("span",{className:i.text}," ",e.headerText),void 0!==t&&g.createElement("span",{className:i.count}," (",t,")"))},Object(be.a)(n),n._pivotId=Object(Pe.a)("Pivot");var o,r=n._getPivotLinks(t).links,i=t.defaultSelectedKey,a=void 0===i?t.initialSelectedKey:i,s=t.defaultSelectedIndex,c=void 0===s?t.initialSelectedIndex:s;return a?o=a:"number"==typeof c?o=r[c].itemKey:r.length&&(o=r[0].itemKey),n.state={selectedKey:o},n}return Object(m.c)(t,e),t.prototype.focus=function(){this._focusZone.current&&this._focusZone.current.focus()},t.prototype.render=function(){var e=this,t=this._getPivotLinks(this.props),n=this._getSelectedKey(t),o=Object(I.j)(this.props,I.h);return this._classNames=this._getClassNames(this.props),g.createElement("div",Object(m.a)({role:"toolbar"},o),this._renderPivotLinks(t,n),n&&t.links.map((function(o){return(!0===o.alwaysRender||n===o.itemKey)&&e._renderPivotItem(t,o.itemKey,n===o.itemKey)})))},t.prototype._getSelectedKey=function(e){var t=this.props.selectedKey;if(this._isKeyValid(e,t)||null===t)return t;var n=this.state.selectedKey;return this._isKeyValid(e,n)?n:e.links.length?e.links[0].itemKey:void 0},t.prototype._renderPivotLinks=function(e,t){var n=this,o=e.links.map((function(o){return n._renderPivotLink(e,o,t)}));return g.createElement(ze,{className:this._classNames.root,role:"tablist",componentRef:this._focusZone,direction:le.horizontal},o)},t.prototype._renderPivotItem=function(e,t,n){if(this.props.headersOnly||!t)return null;var o=e.keyToIndexMapping[t],r=e.keyToTabIdMapping[t];return g.createElement("div",{role:"tabpanel",hidden:!n,key:t,"aria-hidden":!n,"aria-labelledby":r,className:this._classNames.itemContainer},g.Children.toArray(this.props.children)[o])},t.prototype._getPivotLinks=function(e){var t=this,n={links:[],keyToIndexMapping:{},keyToTabIdMapping:{}};return g.Children.map(g.Children.toArray(e.children),(function(e,o){if(Jm(e)){var r=e,i=r.props,a=i.linkText,s=Object(m.d)(i,["linkText"]),c=r.props.itemKey||o.toString();n.links.push(Object(m.a)(Object(m.a)({headerText:a},s),{itemKey:c})),n.keyToIndexMapping[c]=o,n.keyToTabIdMapping[c]=t._getTabId(c,o)}else Object(qo.b)("The children of a Pivot component must be of type PivotItem to be rendered.")})),n},t.prototype._getTabId=function(e,t){return this.props.getTabId?this.props.getTabId(e,t):this._pivotId+"-Tab"+t},t.prototype._isKeyValid=function(e,t){return null!=t&&void 0!==e.keyToIndexMapping[t]},t.prototype._onLinkClick=function(e,t){t.preventDefault(),this._updateSelectedItem(e,t)},t.prototype._onKeyDown=function(e,t){t.which===ge.a.enter&&(t.preventDefault(),this._updateSelectedItem(e))},t.prototype._updateSelectedItem=function(e,t){this.setState({selectedKey:e});var n=this._getPivotLinks(this.props);if(this.props.onLinkClick&&n.keyToIndexMapping[e]>=0){var o=n.keyToIndexMapping[e],r=g.Children.toArray(this.props.children)[o];Jm(r)&&this.props.onLinkClick(r,t)}},t.prototype._getClassNames=function(e){var t=e.theme,n=e.linkSize===Fm.large,o=e.linkFormat===Mm.tabs;return Zm(e.styles,{theme:t,rootIsLarge:n,rootIsTabs:o})},t}(g.Component);function Jm(e){return!!e&&"object"==typeof e&&!!e.type&&e.type.name===$m.name}var eg,tg={count:"ms-Pivot-count",icon:"ms-Pivot-icon",linkIsSelected:"is-selected",link:"ms-Pivot-link",linkContent:"ms-Pivot-linkContent",root:"ms-Pivot",rootIsLarge:"ms-Pivot--large",rootIsTabs:"ms-Pivot--tabs",text:"ms-Pivot-text"},ng=function(e){var t,n,o=e.rootIsLarge,r=e.rootIsTabs,i=e.theme,a=i.semanticColors,s=i.fonts;return[s.medium,{color:a.actionLink,display:"inline-block",lineHeight:44,height:44,marginRight:8,padding:"0 8px",textAlign:"center",position:"relative",backgroundColor:"transparent",border:0,borderRadius:0,selectors:(t={":before":{backgroundColor:"transparent",bottom:0,content:'""',height:2,left:8,position:"absolute",right:8,transition:"left "+b.c.durationValue2+" "+b.c.easeFunction2+",\n                      right "+b.c.durationValue2+" "+b.c.easeFunction2},":after":{color:"transparent",content:"attr(data-content)",display:"block",fontWeight:b.k.bold,height:1,overflow:"hidden",visibility:"hidden"},":hover":{backgroundColor:a.buttonBackgroundHovered,color:a.buttonTextHovered,cursor:"pointer"},":active":{backgroundColor:a.buttonBackgroundPressed,color:a.buttonTextHovered},":focus":{outline:"none"}},t["."+Fn.a+" &:focus"]={outline:"1px solid "+a.focusBorder},t["."+Fn.a+" &:focus:after"]={content:"attr(data-content)",position:"relative",border:0},t)},o&&{fontSize:s.large.fontSize},r&&[{marginRight:0,height:44,lineHeight:44,backgroundColor:a.buttonBackground,padding:"0 10px",verticalAlign:"top",selectors:(n={":focus":{outlineOffset:"-1px"}},n["."+Fn.a+" &:focus::before"]={height:"auto",background:"transparent",transition:"none"},n)}]]},og=Object(x.a)(Xm,(function(e){var t,n,o,r=e.className,i=e.rootIsLarge,a=e.rootIsTabs,s=e.theme,c=s.semanticColors,l=s.fonts,u=Object(b.R)(tg,s);return{root:[u.root,l.medium,b.fb,{position:"relative",color:c.link,whiteSpace:"nowrap"},i&&u.rootIsLarge,a&&u.rootIsTabs,r],itemContainer:{selectors:{"&[hidden]":{display:"none"}}},link:Object(m.e)([u.link],ng(e),[a&&{selectors:{"&:hover, &:focus":{color:c.buttonTextCheckedHovered},"&:active, &:hover":{color:c.primaryButtonText,backgroundColor:c.primaryButtonBackground}}}]),linkIsSelected:Object(m.e)([u.link,u.linkIsSelected],ng(e),[{fontWeight:b.k.semibold,selectors:(t={":before":{backgroundColor:c.inputBackgroundChecked,selectors:(n={},n[b.l]={backgroundColor:"Highlight"},n)},":hover::before":{left:0,right:0}},t[b.l]={color:"Highlight"},t)},a&&{backgroundColor:c.primaryButtonBackground,color:c.primaryButtonText,fontWeight:b.k.regular,selectors:(o={":before":{backgroundColor:"transparent",transition:"none",position:"absolute",top:0,left:0,right:0,bottom:0,content:'""',height:"auto"},":hover":{backgroundColor:c.primaryButtonBackgroundHovered,color:c.primaryButtonText},"&:active":{backgroundColor:c.primaryButtonBackgroundPressed,color:c.primaryButtonText}},o[b.l]={fontWeight:b.k.semibold,color:"HighlightText",background:"Highlight",MsHighContrastAdjust:"none"},o)}]),linkContent:[u.linkContent,{flex:"0 1 100%",selectors:{"& > * ":{marginLeft:4},"& > *:first-child":{marginLeft:0}}}],text:[u.text,{display:"inline-block",verticalAlign:"top"}],count:[u.count,{display:"inline-block",verticalAlign:"top"}],icon:u.icon}}),void 0,{scope:"Pivot"}),rg=Object(w.a)(),ig=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._onRenderProgress=function(e){var n=t.props,o=n.ariaValueText,r=n.barHeight,i=n.className,a=n.styles,s=n.theme,c="number"==typeof t.props.percentComplete?Math.min(100,Math.max(0,100*t.props.percentComplete)):void 0,l=rg(a,{theme:s,className:i,barHeight:r,indeterminate:void 0===c}),u={width:void 0!==c?c+"%":void 0,transition:void 0!==c&&c<.01?"none":void 0},d=void 0!==c?0:void 0,p=void 0!==c?100:void 0,h=void 0!==c?Math.floor(c):void 0;return g.createElement("div",{className:l.itemProgress},g.createElement("div",{className:l.progressTrack}),g.createElement("div",{className:l.progressBar,style:u,role:"progressbar","aria-valuemin":d,"aria-valuemax":p,"aria-valuenow":h,"aria-valuetext":o}))},t}return Object(m.c)(t,e),t.prototype.render=function(){var e=this.props,t=e.barHeight,n=e.className,o=e.label,r=void 0===o?this.props.title:o,i=e.description,a=e.styles,s=e.theme,c=e.progressHidden,l=e.onRenderProgress,u=void 0===l?this._onRenderProgress:l,d="number"==typeof this.props.percentComplete?Math.min(100,Math.max(0,100*this.props.percentComplete)):void 0,p=rg(a,{theme:s,className:n,barHeight:t,indeterminate:void 0===d});return g.createElement("div",{className:p.root},r?g.createElement("div",{className:p.itemName},r):null,c?null:u(Object(m.a)(Object(m.a)({},this.props),{percentComplete:d}),this._onRenderProgress),i?g.createElement("div",{className:p.itemDescription},i):null)},t.defaultProps={label:"",description:"",width:180},t}(g.Component),ag={root:"ms-ProgressIndicator",itemName:"ms-ProgressIndicator-itemName",itemDescription:"ms-ProgressIndicator-itemDescription",itemProgress:"ms-ProgressIndicator-itemProgress",progressTrack:"ms-ProgressIndicator-progressTrack",progressBar:"ms-ProgressIndicator-progressBar"},sg=Object(y.c)((function(){return Object(b.ab)({"0%":{left:"-30%"},"100%":{left:"100%"}})})),cg=Object(y.c)((function(){return Object(b.ab)({"100%":{right:"-30%"},"0%":{right:"100%"}})})),lg=Object(x.a)(ig,(function(e){var t,n,o,r=Object(T.a)(e.theme),i=e.className,a=e.indeterminate,s=e.theme,c=e.barHeight,l=void 0===c?2:c,u=s.palette,d=s.semanticColors,p=s.fonts,h=Object(b.R)(ag,s),f=u.neutralLight;return{root:[h.root,p.medium,i],itemName:[h.itemName,b.eb,{color:d.bodyText,paddingTop:4,lineHeight:20}],itemDescription:[h.itemDescription,{color:d.bodySubtext,fontSize:p.small.fontSize,lineHeight:18}],itemProgress:[h.itemProgress,{position:"relative",overflow:"hidden",height:l,padding:"8px 0"}],progressTrack:[h.progressTrack,{position:"absolute",width:"100%",height:l,backgroundColor:f,selectors:(t={},t[b.l]={borderBottom:"1px solid WindowText"},t)}],progressBar:[{backgroundColor:u.themePrimary,height:l,position:"absolute",transition:"width .3s ease",width:0,selectors:(n={},n[b.l]={backgroundColor:"highlight"},n)},a?{position:"absolute",minWidth:"33%",background:"linear-gradient(to right, "+f+" 0%, "+u.themePrimary+" 50%, "+f+" 100%)",animation:(r?cg():sg())+" 3s infinite",selectors:(o={},o[b.l]={background:"highlight"},o)}:{transition:"width .15s linear"},h.progressBar]}}),void 0,{scope:"ProgressIndicator"}),ug={root:"ms-RatingStar-root",rootIsSmall:"ms-RatingStar-root--small",rootIsLarge:"ms-RatingStar-root--large",ratingStar:"ms-RatingStar-container",ratingStarBack:"ms-RatingStar-back",ratingStarFront:"ms-RatingStar-front",ratingButton:"ms-Rating-button",ratingStarIsSmall:"ms-Rating--small",ratingStartIsLarge:"ms-Rating--large",labelText:"ms-Rating-labelText",ratingFocusZone:"ms-Rating-focuszone"};function dg(e,t){var n;return{color:e,selectors:(n={},n[b.l]={color:t},n)}}!function(e){e[e.Small=0]="Small",e[e.Large=1]="Large"}(eg||(eg={}));var pg=Object(w.a)(),hg=function(e){var t=e.icon||"FavoriteStarFill";return g.createElement("div",{className:e.classNames.ratingStar,key:e.id},g.createElement(K,{className:e.classNames.ratingStarBack,iconName:t}),!e.disabled&&g.createElement(K,{className:e.classNames.ratingStarFront,iconName:t,style:{width:e.fillPercentage+"%"}}))},fg=function(e){function t(t){var n=e.call(this,t)||this;return Object(be.a)(n),Object(nt.a)("Rating",t,{onChanged:"onChange"}),n._id=Object(Pe.a)("Rating"),n._min=n.props.allowZeroStars?0:1,void 0!==n.props.min&&1!==n.props.min&&(n._min=n.props.min),n._labelId=Object(Pe.a)("RatingLabel"),n.state={rating:n._getInitialValue(t)},n}return Object(m.c)(t,e),t.prototype.render=function(){var e,t,n,o=this.props,r=o.disabled,i=o.getAriaLabel,a=o.styles,s=o.max,c=o.readOnly,l=o.size,u=o.theme,d=o.icon,p=void 0===d?"FavoriteStarFill":d,h=o.unselectedIcon,f=void 0===h?"FavoriteStar":h,b=this._id,y=[],v=[],_=this._getRating(),S=Object(I.j)(this.props,I.h);this._classNames=pg(a,{disabled:r,readOnly:c,theme:u});for(var C=this._min;C<=s;C++)if(0!==C){var x=this._getFillingPercentage(C),w={fillPercentage:x,disabled:r,classNames:this._classNames,icon:x>0?p:f};v.push(this._getStarId(C-1)),y.push(g.createElement("button",Object(m.a)({className:Object(z.a)(this._classNames.ratingButton,(e={},e[this._classNames.ratingStarIsLarge]=l===eg.Large,e[this._classNames.ratingStarIsSmall]=l!==eg.Large,e)),id:v[C-1],key:C},C===Math.ceil(_)?{"data-is-current":!0}:{},{onFocus:this._onFocus.bind(this,C),onClick:this._onFocus.bind(this,C),disabled:!(!r&&!c),role:"presentation",type:"button"}),this._getLabel(C),g.createElement(hg,Object(m.a)({key:C+"rating"},w))))}var T=i?i(_||0,s):void 0,k=c?{allowFocusRoot:!0,disabled:!0,"aria-label":T,"aria-readonly":!0,"data-is-focusable":!0,tabIndex:0}:void 0;return g.createElement("div",Object(m.a)({className:Object(z.a)("ms-Rating-star",this._classNames.root,(t={},t[this._classNames.rootIsLarge]=l===eg.Large,t[this._classNames.rootIsSmall]=l!==eg.Large,t)),"aria-label":c?"":T,id:b},S),g.createElement(ze,Object(m.a)({direction:le.horizontal,className:Object(z.a)(this._classNames.ratingFocusZone,(n={},n[this._classNames.rootIsLarge]=l===eg.Large,n[this._classNames.rootIsSmall]=l!==eg.Large,n)),defaultActiveElement:_?v[Math.ceil(_)-1]&&"#"+v[Math.ceil(_)-1]:void 0},k),y))},t.prototype._getStarId=function(e){return this._id+"-star-"+e},t.prototype._onFocus=function(e,t){if(Math.ceil(this.state.rating)!==e){this.setState({rating:e});var n=this.props,o=n.onChange,r=n.onChanged;o&&o(t,e),r&&r(e)}},t.prototype._getLabel=function(e){var t=this.props.ariaLabelFormat||"";return g.createElement("span",{id:this._labelId+"-"+e,className:this._classNames.labelText},Object(dr.a)(t,e,this.props.max))},t.prototype._getInitialValue=function(e){return void 0===e.rating?this._min:null!==e.rating?this._getClampedRating(e.rating):void 0},t.prototype._getClampedRating=function(e){return Math.min(Math.max(e,this._min),this.props.max)},t.prototype._getRating=function(){return void 0!==this.props.rating?this._getClampedRating(this.props.rating):void 0!==this.state.rating&&null!==this.state.rating?this._getClampedRating(this.state.rating):0},t.prototype._getFillingPercentage=function(e){var t=this._getRating(),n=Math.ceil(t),o=100;return e===t?o=100:e===n?o=t%1*100:e>n&&(o=0),o},t.defaultProps={min:1,max:5},t}(g.Component),mg=Object(x.a)(fg,(function(e){var t=e.disabled,n=e.readOnly,o=e.theme,r=o.semanticColors,i=o.palette,a=Object(b.R)(ug,o),s=i.neutralSecondary,c=i.themePrimary,l=i.themeDark,u=i.neutralPrimary,d=r.disabledBodySubtext;return{root:[a.root,o.fonts.medium,!t&&!n&&{selectors:{"&:hover":{selectors:{".ms-RatingStar-back":dg(u,"Highlight")}}}}],rootIsSmall:[a.rootIsSmall,{height:"32px"}],rootIsLarge:[a.rootIsLarge,{height:"36px"}],ratingStar:[a.ratingStar,{display:"inline-block",position:"relative",height:"inherit"}],ratingStarBack:[a.ratingStarBack,{color:s,width:"100%"},t&&dg(d,"GrayText")],ratingStarFront:[a.ratingStarFront,{position:"absolute",height:"100 %",left:"0",top:"0",textAlign:"center",verticalAlign:"middle",overflow:"hidden"},dg(u,"Highlight")],ratingButton:[Object(b.Q)(o),a.ratingButton,{backgroundColor:"transparent",padding:"8px 2px",boxSizing:"content-box",margin:"0px",border:"none",cursor:"pointer",selectors:{"&:disabled":{cursor:"default"},"&[disabled]":{cursor:"default"}}},!t&&!n&&{selectors:{"&:hover ~ .ms-Rating-button":{selectors:{".ms-RatingStar-back":dg(s,"WindowText"),".ms-RatingStar-front":dg(s,"WindowText")}},"&:hover":{selectors:{".ms-RatingStar-back":{color:c},".ms-RatingStar-front":{color:l}}}}},t&&{cursor:"default"}],ratingStarIsSmall:[a.ratingStarIsSmall,{fontSize:"16px",lineHeight:"16px",height:"16px"}],ratingStarIsLarge:[a.ratingStartIsLarge,{fontSize:"20px",lineHeight:"20px",height:"20px"}],labelText:[a.labelText,b.Z],ratingFocusZone:[Object(b.Q)(o),a.ratingFocusZone,{display:"inline-block"}]}}),void 0,{scope:"Rating"}),gg={root:"ms-ScrollablePane",contentContainer:"ms-ScrollablePane--contentContainer"},bg={auto:"auto",always:"always"},yg=g.createContext({scrollablePane:void 0}),vg=Object(w.a)(),_g=function(e){function t(t){var n=e.call(this,t)||this;return n._root=g.createRef(),n._stickyAboveRef=g.createRef(),n._stickyBelowRef=g.createRef(),n._contentContainer=g.createRef(),n.subscribe=function(e){n._subscribers.add(e)},n.unsubscribe=function(e){n._subscribers.delete(e)},n.addSticky=function(e){n._stickies.add(e),n.contentContainer&&(e.setDistanceFromTop(n.contentContainer),n.sortSticky(e))},n.removeSticky=function(e){n._stickies.delete(e),n._removeStickyFromContainers(e),n.notifySubscribers()},n.sortSticky=function(e,t){n.stickyAbove&&n.stickyBelow&&(t&&n._removeStickyFromContainers(e),e.canStickyTop&&e.stickyContentTop&&n._addToStickyContainer(e,n.stickyAbove,e.stickyContentTop),e.canStickyBottom&&e.stickyContentBottom&&n._addToStickyContainer(e,n.stickyBelow,e.stickyContentBottom))},n.updateStickyRefHeights=function(){var e=n._stickies,t=0,o=0;e.forEach((function(e){var r=e.state,i=r.isStickyTop,a=r.isStickyBottom;e.nonStickyContent&&(i&&(t+=e.nonStickyContent.offsetHeight),a&&(o+=e.nonStickyContent.offsetHeight),n._checkStickyStatus(e))})),n.setState({stickyTopHeight:t,stickyBottomHeight:o})},n.notifySubscribers=function(){n.contentContainer&&n._subscribers.forEach((function(e){e(n.contentContainer,n.stickyBelow)}))},n.getScrollPosition=function(){return n.contentContainer?n.contentContainer.scrollTop:0},n.syncScrollSticky=function(e){e&&n.contentContainer&&e.syncScroll(n.contentContainer)},n._getScrollablePaneContext=function(){return{scrollablePane:{subscribe:n.subscribe,unsubscribe:n.unsubscribe,addSticky:n.addSticky,removeSticky:n.removeSticky,updateStickyRefHeights:n.updateStickyRefHeights,sortSticky:n.sortSticky,notifySubscribers:n.notifySubscribers,syncScrollSticky:n.syncScrollSticky}}},n._addToStickyContainer=function(e,t,o){if(t.children.length){if(!t.contains(o)){var r=[].slice.call(t.children),i=[];n._stickies.forEach((function(o){(t===n.stickyAbove&&e.canStickyTop||e.canStickyBottom)&&i.push(o)}));for(var a=void 0,s=0,c=i.sort((function(e,t){return(e.state.distanceFromTop||0)-(t.state.distanceFromTop||0)})).filter((function(e){var o=t===n.stickyAbove?e.stickyContentTop:e.stickyContentBottom;if(o)return r.indexOf(o)>-1}));s<c.length;s++){var l=c[s];if((l.state.distanceFromTop||0)>=(e.state.distanceFromTop||0)){a=l;break}}var u=null;a&&(u=t===n.stickyAbove?a.stickyContentTop:a.stickyContentBottom),t.insertBefore(o,u)}}else t.appendChild(o)},n._removeStickyFromContainers=function(e){n.stickyAbove&&e.stickyContentTop&&n.stickyAbove.contains(e.stickyContentTop)&&n.stickyAbove.removeChild(e.stickyContentTop),n.stickyBelow&&e.stickyContentBottom&&n.stickyBelow.contains(e.stickyContentBottom)&&n.stickyBelow.removeChild(e.stickyContentBottom)},n._onWindowResize=function(){var e=n._getScrollbarWidth(),t=n._getScrollbarHeight();n.setState({scrollbarWidth:e,scrollbarHeight:t}),n.notifySubscribers()},n._getStickyContainerStyle=function(e,t){return Object(m.a)(Object(m.a)({height:e},Object(T.a)(n.props.theme)?{right:"0",left:(n.state.scrollbarWidth||n._getScrollbarWidth()||0)+"px"}:{left:"0",right:(n.state.scrollbarWidth||n._getScrollbarWidth()||0)+"px"}),t?{top:"0"}:{bottom:(n.state.scrollbarHeight||n._getScrollbarHeight()||0)+"px"})},n._onScroll=function(){var e=n.contentContainer;e&&n._stickies.forEach((function(t){t.syncScroll(e)})),n._notifyThrottled()},n._subscribers=new Set,n._stickies=new Set,Object(be.a)(n),n._async=new ye.a(n),n._events=new Ve.a(n),n.state={stickyTopHeight:0,stickyBottomHeight:0,scrollbarWidth:0,scrollbarHeight:0},n._notifyThrottled=n._async.throttle(n.notifySubscribers,50),n}return Object(m.c)(t,e),Object.defineProperty(t.prototype,"root",{get:function(){return this._root.current},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"stickyAbove",{get:function(){return this._stickyAboveRef.current},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"stickyBelow",{get:function(){return this._stickyBelowRef.current},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"contentContainer",{get:function(){return this._contentContainer.current},enumerable:!0,configurable:!0}),t.prototype.componentDidMount=function(){var e=this,t=this.props.initialScrollPosition;this._events.on(this.contentContainer,"scroll",this._onScroll),this._events.on(window,"resize",this._onWindowResize),this.contentContainer&&t&&(this.contentContainer.scrollTop=t),this.setStickiesDistanceFromTop(),this._stickies.forEach((function(t){e.sortSticky(t)})),this.notifySubscribers(),"MutationObserver"in window&&(this._mutationObserver=new MutationObserver((function(t){var n=e._getScrollbarHeight();if(n!==e.state.scrollbarHeight&&e.setState({scrollbarHeight:n}),e.notifySubscribers(),t.some(function(e){return null!==this.stickyAbove&&null!==this.stickyBelow&&(this.stickyAbove.contains(e.target)||this.stickyBelow.contains(e.target))}.bind(e)))e.updateStickyRefHeights();else{var o=[];e._stickies.forEach((function(e){e.root&&e.root.contains(t[0].target)&&o.push(e)})),o.length&&o.forEach((function(e){e.forceUpdate()}))}})),this.root&&this._mutationObserver.observe(this.root,{childList:!0,attributes:!0,subtree:!0,characterData:!0}))},t.prototype.componentWillUnmount=function(){this._events.dispose(),this._async.dispose(),this._mutationObserver&&this._mutationObserver.disconnect()},t.prototype.shouldComponentUpdate=function(e,t){return this.props.children!==e.children||this.props.initialScrollPosition!==e.initialScrollPosition||this.props.className!==e.className||this.state.stickyTopHeight!==t.stickyTopHeight||this.state.stickyBottomHeight!==t.stickyBottomHeight||this.state.scrollbarWidth!==t.scrollbarWidth||this.state.scrollbarHeight!==t.scrollbarHeight},t.prototype.componentDidUpdate=function(e,t){var n=this.props.initialScrollPosition;this.contentContainer&&"number"==typeof n&&e.initialScrollPosition!==n&&(this.contentContainer.scrollTop=n),t.stickyTopHeight===this.state.stickyTopHeight&&t.stickyBottomHeight===this.state.stickyBottomHeight||this.notifySubscribers(),this._async.setTimeout(this._onWindowResize,0)},t.prototype.render=function(){var e=this.props,t=e.className,n=e.theme,o=e.styles,r=this.state,i=r.stickyTopHeight,a=r.stickyBottomHeight,s=vg(o,{theme:n,className:t,scrollbarVisibility:this.props.scrollbarVisibility});return g.createElement("div",Object(m.a)({},Object(I.j)(this.props,I.h),{ref:this._root,className:s.root}),g.createElement("div",{"aria-hidden":"true",ref:this._stickyAboveRef,className:s.stickyAbove,style:this._getStickyContainerStyle(i,!0)}),g.createElement("div",{ref:this._contentContainer,className:s.contentContainer,"data-is-scrollable":!0},g.createElement(yg.Provider,{value:this._getScrollablePaneContext()},this.props.children)),g.createElement("div",{"aria-hidden":"true",className:s.stickyBelow,style:this._getStickyContainerStyle(a,!1)},g.createElement("div",{ref:this._stickyBelowRef,className:s.stickyBelowItems})))},t.prototype.setStickiesDistanceFromTop=function(){var e=this;this.contentContainer&&this._stickies.forEach((function(t){t.setDistanceFromTop(e.contentContainer)}))},t.prototype.forceLayoutUpdate=function(){this._onWindowResize()},t.prototype._checkStickyStatus=function(e){this.stickyAbove&&this.stickyBelow&&this.contentContainer&&e.nonStickyContent&&(e.state.isStickyTop||e.state.isStickyBottom?(e.state.isStickyTop&&!this.stickyAbove.contains(e.nonStickyContent)&&e.stickyContentTop&&e.addSticky(e.stickyContentTop),e.state.isStickyBottom&&!this.stickyBelow.contains(e.nonStickyContent)&&e.stickyContentBottom&&e.addSticky(e.stickyContentBottom)):this.contentContainer.contains(e.nonStickyContent)||e.resetSticky())},t.prototype._getScrollbarWidth=function(){var e=this.contentContainer;return e?e.offsetWidth-e.clientWidth:0},t.prototype._getScrollbarHeight=function(){var e=this.contentContainer;return e?e.offsetHeight-e.clientHeight:0},t}(g.Component),Sg=Object(x.a)(_g,(function(e){var t,n,o=e.className,r=e.theme,i=Object(b.R)(gg,r),a={position:"absolute",pointerEvents:"auto"},s={position:"absolute",top:0,right:0,bottom:0,left:0,WebkitOverflowScrolling:"touch"};return{root:[i.root,r.fonts.medium,s,o],contentContainer:[i.contentContainer,{overflowY:"always"===e.scrollbarVisibility?"scroll":"auto"},s],stickyAbove:[{top:0,zIndex:1,selectors:(t={},t[b.l]={borderBottom:"1px solid WindowText"},t)},a],stickyBelow:[{bottom:0,selectors:(n={},n[b.l]={borderTop:"1px solid WindowText"},n)},a],stickyBelowItems:[{bottom:0},a,{width:"100%"}]}}),void 0,{scope:"ScrollablePane"}),Cg=Object(w.a)(),xg=function(e){function t(t){var n=e.call(this,t)||this;return n._rootElement=g.createRef(),n._inputElement=g.createRef(),n._onClickFocus=function(){var e=n._inputElement.current;e&&(n.focus(),e.selectionStart=e.selectionEnd=0)},n._onFocusCapture=function(e){n.setState({hasFocus:!0}),n.props.onFocus&&n.props.onFocus(e)},n._onClearClick=function(e){var t=n.props.clearButtonProps;t&&t.onClick&&t.onClick(e),e.defaultPrevented||n._onClear(e)},n._onKeyDown=function(e){switch(e.which){case ge.a.escape:n.props.onEscape&&n.props.onEscape(e),e.defaultPrevented||n._onClear(e);break;case ge.a.enter:if(n.props.onSearch){n.props.onSearch(n.state.value);break}return;default:if(n.props.onKeyDown&&n.props.onKeyDown(e),!e.defaultPrevented)return}e.preventDefault(),e.stopPropagation()},n._onBlur=function(e){n.setState({hasFocus:!1}),n.props.onBlur&&n.props.onBlur(e)},n._onInputChange=function(e){var t=e.target.value;t!==n._latestValue&&(n._latestValue=t,n.setState({value:t}),n._callOnChange(e,t))},Object(be.a)(n),Object(nt.a)("SearchBox",t,{labelText:"placeholder",defaultValue:"value"}),n._latestValue=t.value||"",n._fallbackId=Object(Pe.a)("SearchBox"),n.state={value:n._latestValue,hasFocus:!1},n}return Object(m.c)(t,e),t.prototype.UNSAFE_componentWillReceiveProps=function(e){void 0!==e.value&&(this._latestValue=e.value,this.setState({value:e.value||""}))},t.prototype.render=function(){var e=this.props,t=e.ariaLabel,n=e.placeholder,o=e.className,r=e.disabled,i=e.underlined,a=e.styles,s=e.labelText,c=e.theme,l=e.clearButtonProps,u=e.disableAnimation,d=e.iconProps,p=e.id,h=void 0===p?this._fallbackId:p,f=this.state,b=f.value,y=f.hasFocus,v=void 0!==n?n:s,_=Cg(a,{theme:c,className:o,underlined:i,hasFocus:y,disabled:r,hasInput:b.length>0,disableAnimation:u}),S=Object(I.j)(this.props,I.o,["className","placeholder","onFocus","onBlur","value"]);return g.createElement("div",{role:"search",ref:this._rootElement,className:_.root,onFocusCapture:this._onFocusCapture},g.createElement("div",{className:_.iconContainer,onClick:this._onClickFocus,"aria-hidden":!0},g.createElement(K,Object(m.a)({iconName:"Search"},d,{className:_.icon}))),g.createElement("input",Object(m.a)({},S,{id:h,className:_.field,placeholder:v,onChange:this._onInputChange,onInput:this._onInputChange,onBlur:this._onBlur,onKeyDown:this._onKeyDown,value:b,disabled:r,role:"searchbox","aria-label":t,ref:this._inputElement})),b.length>0&&g.createElement("div",{className:_.clearButton},g.createElement(go,Object(m.a)({onBlur:this._onBlur,styles:{root:{height:"auto"},icon:{fontSize:"12px"}},iconProps:{iconName:"Clear"}},l,{onClick:this._onClearClick}))))},t.prototype.focus=function(){this._inputElement.current&&this._inputElement.current.focus()},t.prototype.hasFocus=function(){return!!this.state.hasFocus},t.prototype._onClear=function(e){this.props.onClear&&this.props.onClear(e),e.defaultPrevented||(this._latestValue="",this.setState({value:""}),this._callOnChange(void 0,""),e.stopPropagation(),e.preventDefault(),this.focus())},t.prototype._callOnChange=function(e,t){var n=this.props,o=n.onChange,r=n.onChanged;r&&r(t),o&&o(e,t)},t.defaultProps={disableAnimation:!1,clearButtonProps:{ariaLabel:"Clear text"}},t}(g.Component),wg={root:"ms-SearchBox",iconContainer:"ms-SearchBox-iconContainer",icon:"ms-SearchBox-icon",clearButton:"ms-SearchBox-clearButton",field:"ms-SearchBox-field"},Tg=Object(x.a)(xg,(function(e){var t,n,o,r,i=e.theme,a=e.underlined,s=e.disabled,c=e.hasFocus,l=e.className,u=e.hasInput,d=e.disableAnimation,p=i.palette,h=i.fonts,f=i.semanticColors,m=i.effects,g=Object(b.R)(wg,i),y={color:f.inputPlaceholderText,opacity:1},v=p.neutralSecondary,_=p.neutralPrimary,S=p.neutralLighter,C=p.neutralLighter,x=p.neutralLighter;return{root:[g.root,h.medium,b.fb,{color:f.inputText,backgroundColor:f.inputBackground,display:"flex",flexDirection:"row",flexWrap:"nowrap",alignItems:"stretch",padding:"1px 0 1px 4px",borderRadius:m.roundedCorner2,border:"1px solid "+f.inputBorder,height:32,selectors:(t={},t[b.l]={borderColor:"WindowText"},t[":hover"]={borderColor:f.inputBorderHovered,selectors:(n={},n[b.l]={borderColor:"Highlight"},n)},t[":hover ."+g.iconContainer]={color:f.inputIconHovered},t)},!c&&u&&{selectors:(o={},o[":hover ."+g.iconContainer]={width:4},o[":hover ."+g.icon]={opacity:0},o)},c&&["is-active",{position:"relative"},Object(b.U)(f.inputFocusBorderAlt,a?0:m.roundedCorner2,a?"borderBottom":"border")],s&&["is-disabled",{borderColor:S,backgroundColor:x,pointerEvents:"none",cursor:"default",selectors:(r={},r[b.l]={borderColor:"GrayText"},r)}],a&&["is-underlined",{borderWidth:"0 0 1px 0",borderRadius:0,padding:"1px 0 1px 8px"}],a&&s&&{backgroundColor:"transparent"},u&&"can-clear",l],iconContainer:[g.iconContainer,{display:"flex",flexDirection:"column",justifyContent:"center",flexShrink:0,fontSize:16,width:32,textAlign:"center",color:f.inputIcon,cursor:"text"},c&&{width:4},s&&{color:f.inputIconDisabled},!d&&{transition:"width "+b.c.durationValue1}],icon:[g.icon,{opacity:1},c&&{opacity:0},!d&&{transition:"opacity "+b.c.durationValue1+" 0s"}],clearButton:[g.clearButton,{display:"flex",flexDirection:"row",alignItems:"stretch",cursor:"pointer",flexBasis:"32px",flexShrink:0,padding:0,margin:"-1px 0px",selectors:{"&:hover .ms-Button":{backgroundColor:C},"&:hover .ms-Button-icon":{color:_},".ms-Button":{borderRadius:Object(T.a)(i)?"1px 0 0 1px":"0 1px 1px 0"},".ms-Button-icon":{color:v}}}],field:[g.field,b.fb,Object(b.V)(y),{backgroundColor:"transparent",border:"none",outline:"none",fontWeight:"inherit",fontFamily:"inherit",fontSize:"inherit",color:f.inputText,flex:"1 1 0px",minWidth:"0px",overflow:"hidden",textOverflow:"ellipsis",paddingBottom:.5,selectors:{"::-ms-clear":{display:"none"}}},s&&{color:f.disabledText}]}}),void 0,{scope:"SearchBox"}),kg=function(e){function t(t){var n=e.call(this,t)||this;n.addItems=function(e){var t=n.props.onItemSelected?n.props.onItemSelected(e):e,o=t,r=t;if(r&&r.then)r.then((function(e){var t=n.state.items.concat(e);n.updateItems(t)}));else{var i=n.state.items.concat(o);n.updateItems(i)}},n.removeItemAt=function(e){var t=n.state.items;if(n._canRemoveItem(t[e])&&e>-1){n.props.onItemsDeleted&&n.props.onItemsDeleted([t[e]]);var o=t.slice(0,e).concat(t.slice(e+1));n.updateItems(o)}},n.removeItem=function(e){var t=n.state.items.indexOf(e);n.removeItemAt(t)},n.replaceItem=function(e,t){var o=n.state.items,r=o.indexOf(e);if(r>-1){var i=o.slice(0,r).concat(t).concat(o.slice(r+1));n.updateItems(i)}},n.removeItems=function(e){var t=n.state.items,o=e.filter((function(e){return n._canRemoveItem(e)})),r=t.filter((function(e){return-1===o.indexOf(e)})),i=o[0],a=t.indexOf(i);n.props.onItemsDeleted&&n.props.onItemsDeleted(o),n.updateItems(r,a)},n.onCopy=function(e){if(n.props.onCopyItems&&n.selection.getSelectedCount()>0){var t=n.selection.getSelection();n.copyItems(t)}},n.renderItems=function(){var e=n.props.removeButtonAriaLabel,t=n.props.onRenderItem;return n.state.items.map((function(o,r){return t({item:o,index:r,key:o.key?o.key:r,selected:n.selection.isIndexSelected(r),onRemoveItem:function(){return n.removeItem(o)},onItemChange:n.onItemChange,removeButtonAriaLabel:e,onCopyItem:function(e){return n.copyItems([e])}})}))},n.onSelectionChanged=function(){n.forceUpdate()},n.onItemChange=function(e,t){var o=n.state.items;if(t>=0){var r=o;r[t]=e,n.updateItems(r)}},Object(be.a)(n);var o=t.selectedItems||t.defaultSelectedItems||[];return n.state={items:o},n.selection=n.props.selection?n.props.selection:new dl({onSelectionChanged:n.onSelectionChanged}),n}return Object(m.c)(t,e),Object.defineProperty(t.prototype,"items",{get:function(){return this.state.items},enumerable:!0,configurable:!0}),t.prototype.removeSelectedItems=function(){this.state.items.length&&this.selection.getSelectedCount()>0&&this.removeItems(this.selection.getSelection())},t.prototype.updateItems=function(e,t){var n=this;this.props.selectedItems?this.onChange(e):this.setState({items:e},(function(){n._onSelectedItemsUpdated(e,t)}))},t.prototype.hasSelectedItems=function(){return this.selection.getSelectedCount()>0},t.prototype.unselectAll=function(){this.selection.setAllSelected(!1)},t.prototype.highlightedItems=function(){return this.selection.getSelection()},t.prototype.UNSAFE_componentWillUpdate=function(e,t){t.items&&t.items!==this.state.items&&this.selection.setItems(t.items)},t.prototype.componentDidMount=function(){this.selection.setItems(this.state.items)},t.prototype.UNSAFE_componentWillReceiveProps=function(e){var t=e.selectedItems;t&&this.setState({items:t}),e.selection&&(this.selection=e.selection)},t.prototype.render=function(){return this.renderItems()},t.prototype.onChange=function(e){this.props.onChange&&this.props.onChange(e)},t.prototype.copyItems=function(e){if(this.props.onCopyItems){var t=this.props.onCopyItems(e),n=document.createElement("input");document.body.appendChild(n);try{if(n.value=t,n.select(),!document.execCommand("copy"))throw new Error}catch(e){}finally{document.body.removeChild(n)}}},t.prototype._onSelectedItemsUpdated=function(e,t){this.onChange(e)},t.prototype._canRemoveItem=function(e){return!this.props.canRemoveItem||this.props.canRemoveItem(e)},t}(g.Component);Object(Pr.a)([{rawString:".personaContainer_44512e2e{border-radius:15px;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;background:"},{theme:"themeLighterAlt",defaultValue:"#eff6fc"},{rawString:";margin:4px;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;vertical-align:middle;position:relative}.personaContainer_44512e2e::-moz-focus-inner{border:0}.personaContainer_44512e2e{outline:transparent}.personaContainer_44512e2e{position:relative}.ms-Fabric--isFocusVisible .personaContainer_44512e2e:focus:after{content:'';position:absolute;top:-2px;right:-2px;bottom:-2px;left:-2px;pointer-events:none;border:1px solid "},{theme:"focusBorder",defaultValue:"#605e5c"},{rawString:"}.personaContainer_44512e2e .ms-Persona-primaryText{color:"},{theme:"themeDark",defaultValue:"#005a9e"},{rawString:";font-size:14px;font-weight:400}.personaContainer_44512e2e .ms-Persona-primaryText.hover_44512e2e{color:"},{theme:"themeDark",defaultValue:"#005a9e"},{rawString:"}@media screen and (-ms-high-contrast:active){.personaContainer_44512e2e .ms-Persona-primaryText{color:HighlightText}}.personaContainer_44512e2e .actionButton_44512e2e:hover{background:"},{theme:"themeLight",defaultValue:"#c7e0f4"},{rawString:"}.personaContainer_44512e2e .actionButton_44512e2e .ms-Button-icon{color:"},{theme:"themeDark",defaultValue:"#005a9e"},{rawString:"}@media screen and (-ms-high-contrast:active){.personaContainer_44512e2e .actionButton_44512e2e .ms-Button-icon{color:HighlightText}}.personaContainer_44512e2e:hover{background:"},{theme:"themeLighter",defaultValue:"#deecf9"},{rawString:"}.personaContainer_44512e2e:hover .ms-Persona-primaryText{color:"},{theme:"themeDark",defaultValue:"#005a9e"},{rawString:";font-size:14px;font-weight:400}@media screen and (-ms-high-contrast:active){.personaContainer_44512e2e:hover .ms-Persona-primaryText{color:HighlightText}}.personaContainer_44512e2e.personaContainerIsSelected_44512e2e{background:"},{theme:"themePrimary",defaultValue:"#0078d4"},{rawString:"}.personaContainer_44512e2e.personaContainerIsSelected_44512e2e .ms-Persona-primaryText{color:"},{theme:"white",defaultValue:"#ffffff"},{rawString:"}@media screen and (-ms-high-contrast:active){.personaContainer_44512e2e.personaContainerIsSelected_44512e2e .ms-Persona-primaryText{color:HighlightText}}.personaContainer_44512e2e.personaContainerIsSelected_44512e2e .actionButton_44512e2e{color:"},{theme:"white",defaultValue:"#ffffff"},{rawString:"}.personaContainer_44512e2e.personaContainerIsSelected_44512e2e .actionButton_44512e2e .ms-Button-icon{color:"},{theme:"themeDark",defaultValue:"#005a9e"},{rawString:"}.personaContainer_44512e2e.personaContainerIsSelected_44512e2e .actionButton_44512e2e .ms-Button-icon:hover{background:"},{theme:"themeDark",defaultValue:"#005a9e"},{rawString:"}@media screen and (-ms-high-contrast:active){.personaContainer_44512e2e.personaContainerIsSelected_44512e2e .actionButton_44512e2e .ms-Button-icon{color:HighlightText}}@media screen and (-ms-high-contrast:active){.personaContainer_44512e2e.personaContainerIsSelected_44512e2e{border-color:Highlight;background:Highlight;-ms-high-contrast-adjust:none}}.personaContainer_44512e2e.validationError_44512e2e .ms-Persona-primaryText{color:"},{theme:"red",defaultValue:"#e81123"},{rawString:"}.personaContainer_44512e2e.validationError_44512e2e .ms-Persona-initials{font-size:20px}@media screen and (-ms-high-contrast:active){.personaContainer_44512e2e{border:1px solid WindowText}}.personaContainer_44512e2e .itemContent_44512e2e{-webkit-box-flex:0;-ms-flex:0 1 auto;flex:0 1 auto;min-width:0;max-width:100%}.personaContainer_44512e2e .removeButton_44512e2e{border-radius:15px;-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:33px;height:33px;-ms-flex-preferred-size:32px;flex-basis:32px}.personaContainer_44512e2e .expandButton_44512e2e{border-radius:15px 0 0 15px;height:33px;width:44px;padding-right:16px;position:inherit;display:-webkit-box;display:-ms-flexbox;display:flex;margin-right:-17px}.personaContainer_44512e2e .personaWrapper_44512e2e{position:relative;display:inherit}.personaContainer_44512e2e .personaWrapper_44512e2e .ms-Persona-details{padding:0 8px}.personaContainer_44512e2e .personaDetails_44512e2e{-webkit-box-flex:0;-ms-flex:0 1 auto;flex:0 1 auto}.itemContainer_44512e2e{display:inline-block;vertical-align:top}"}]);var Ig,Og,Eg="personaContainer_44512e2e",Ng="hover_44512e2e",Pg="actionButton_44512e2e",Dg="personaContainerIsSelected_44512e2e",Ag="validationError_44512e2e",Rg="itemContent_44512e2e",Mg="removeButton_44512e2e",Fg="expandButton_44512e2e",jg="personaWrapper_44512e2e",Lg="personaDetails_44512e2e",Hg="itemContainer_44512e2e",Bg=u,zg=function(e){function t(t){var n=e.call(this,t)||this;return n.persona=g.createRef(),Object(be.a)(n),n.state={contextualMenuVisible:!1},n}return Object(m.c)(t,e),t.prototype.render=function(){var e,t,n=this.props,o=n.item,r=n.onExpandItem,i=n.onRemoveItem,a=n.removeButtonAriaLabel,s=n.index,c=n.selected,l=Object(Pe.a)();return g.createElement("div",{ref:this.persona,className:Object(z.a)("ms-PickerPersona-container",Bg.personaContainer,(e={},e["is-selected "+Bg.personaContainerIsSelected]=c,e),(t={},t["is-invalid "+Bg.validationError]=!o.isValid,t)),"data-is-focusable":!0,"data-is-sub-focuszone":!0,"data-selection-index":s,role:"listitem","aria-labelledby":"selectedItemPersona-"+l},g.createElement("div",{hidden:!o.canExpand||void 0===r},g.createElement(go,{onClick:this._onClickIconButton(r),iconProps:{iconName:"Add",style:{fontSize:"14px"}},className:Object(z.a)("ms-PickerItem-removeButton",Bg.expandButton,Bg.actionButton),ariaLabel:a})),g.createElement("div",{className:Object(z.a)(Bg.personaWrapper)},g.createElement("div",{className:Object(z.a)("ms-PickerItem-content",Bg.itemContent),id:"selectedItemPersona-"+l},g.createElement(Hp,Object(m.a)({},o,{onRenderCoin:this.props.renderPersonaCoin,onRenderPrimaryText:this.props.renderPrimaryText,size:O.size32}))),g.createElement(go,{onClick:this._onClickIconButton(i),iconProps:{iconName:"Cancel",style:{fontSize:"14px"}},className:Object(z.a)("ms-PickerItem-removeButton",Bg.removeButton,Bg.actionButton),ariaLabel:a})))},t.prototype._onClickIconButton=function(e){return function(t){t.stopPropagation(),t.preventDefault(),e&&e()}},t}(g.Component),Ug=function(e){function t(t){var n=e.call(this,t)||this;return n.itemElement=g.createRef(),n._onClick=function(e){e.preventDefault(),n.props.beginEditing&&!n.props.item.isValid?n.props.beginEditing(n.props.item):n.setState({contextualMenuVisible:!0})},n._onCloseContextualMenu=function(e){n.setState({contextualMenuVisible:!1})},Object(be.a)(n),n.state={contextualMenuVisible:!1},n}return Object(m.c)(t,e),t.prototype.render=function(){return g.createElement("div",{ref:this.itemElement,onContextMenu:this._onClick},this.props.renderedItem,this.state.contextualMenuVisible?g.createElement(io,{items:this.props.menuItems,shouldFocusOnMount:!0,target:this.itemElement.current,onDismiss:this._onCloseContextualMenu,directionalHint:st.bottomLeftEdge}):null)},t}(g.Component),Vg={root:"ms-EditingItem",input:"ms-EditingItem-input"},Wg=function(e){var t=Object(b.X)();if(!t)throw new Error("theme is undefined or null in Editing item getStyles function.");var n=t.semanticColors,o=Object(b.R)(Vg,t);return{root:[o.root,{margin:"4px"}],input:[o.input,{border:"0px",outline:"none",width:"100%",backgroundColor:n.inputBackground,color:n.inputText,selectors:{"::-ms-clear":{display:"none"}}}]}},qg=function(e){function t(t){var n=e.call(this,t)||this;return n._editingFloatingPicker=g.createRef(),n._renderEditingSuggestions=function(){var e=n.props.onRenderFloatingPicker,t=n.props.floatingPickerProps;return e&&t?g.createElement(e,Object(m.a)({componentRef:n._editingFloatingPicker,onChange:n._onSuggestionSelected,inputElement:n._editingInput,selectedItems:[]},t)):g.createElement(g.Fragment,null)},n._resolveInputRef=function(e){n._editingInput=e,n.forceUpdate((function(){n._editingInput.focus()}))},n._onInputClick=function(){n._editingFloatingPicker.current&&n._editingFloatingPicker.current.showPicker(!0)},n._onInputBlur=function(e){if(n._editingFloatingPicker.current&&null!==e.relatedTarget){var t=e.relatedTarget;-1===t.className.indexOf("ms-Suggestions-itemButton")&&-1===t.className.indexOf("ms-Suggestions-sectionButton")&&n._editingFloatingPicker.current.forceResolveSuggestion()}},n._onInputChange=function(e){var t=e.target.value;""===t?n.props.onRemoveItem&&n.props.onRemoveItem():n._editingFloatingPicker.current&&n._editingFloatingPicker.current.onQueryStringChanged(t)},n._onSuggestionSelected=function(e){n.props.onEditingComplete(n.props.item,e)},Object(be.a)(n),n.state={contextualMenuVisible:!1},n}return Object(m.c)(t,e),t.prototype.componentDidMount=function(){var e=(0,this.props.getEditingItemText)(this.props.item);this._editingFloatingPicker.current&&this._editingFloatingPicker.current.onQueryStringChanged(e),this._editingInput.value=e,this._editingInput.focus()},t.prototype.render=function(){var e=Object(Pe.a)(),t=Object(I.j)(this.props,I.o),n=Object(w.a)()(Wg);return g.createElement("div",{"aria-labelledby":"editingItemPersona-"+e,className:n.root},g.createElement("input",Object(m.a)({autoCapitalize:"off",autoComplete:"off"},t,{ref:this._resolveInputRef,onChange:this._onInputChange,onKeyDown:this._onInputKeyDown,onBlur:this._onInputBlur,onClick:this._onInputClick,"data-lpignore":!0,className:n.input,id:e})),this._renderEditingSuggestions())},t.prototype._onInputKeyDown=function(e){e.which!==ge.a.backspace&&e.which!==ge.a.del||e.stopPropagation()},t}(g.Component),Gg=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(m.c)(t,e),t}(kg),Kg=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.renderItems=function(){return t.state.items.map((function(e,n){return t._renderItem(e,n)}))},t._beginEditing=function(e){e.isEditing=!0,t.forceUpdate()},t._completeEditing=function(e,n){e.isEditing=!1,t.replaceItem(e,n)},t}return Object(m.c)(t,e),t.prototype._renderItem=function(e,t){var n=this,o=this.props.removeButtonAriaLabel,r=this.props.onExpandGroup,i={item:e,index:t,key:e.key?e.key:t,selected:this.selection.isIndexSelected(t),onRemoveItem:function(){return n.removeItem(e)},onItemChange:this.onItemChange,removeButtonAriaLabel:o,onCopyItem:function(e){return n.copyItems([e])},onExpandItem:r?function(){return r(e)}:void 0,menuItems:this._createMenuItems(e)},a=i.menuItems.length>0;if(e.isEditing&&a)return g.createElement(qg,Object(m.a)({},i,{onRenderFloatingPicker:this.props.onRenderFloatingPicker,floatingPickerProps:this.props.floatingPickerProps,onEditingComplete:this._completeEditing,getEditingItemText:this.props.getEditingItemText}));var s=(0,this.props.onRenderItem)(i);return a?g.createElement(Ug,{key:i.key,renderedItem:s,beginEditing:this._beginEditing,menuItems:this._createMenuItems(i.item),item:i.item}):s},t.prototype._createMenuItems=function(e){var t=this,n=[];return this.props.editMenuItemText&&this.props.getEditingItemText&&n.push({key:"Edit",text:this.props.editMenuItemText,onClick:function(e,n){t._beginEditing(n.data)},data:e}),this.props.removeMenuItemText&&n.push({key:"Remove",text:this.props.removeMenuItemText,onClick:function(e,n){t.removeItem(n.data)},data:e}),this.props.copyMenuItemText&&n.push({key:"Copy",text:this.props.copyMenuItemText,onClick:function(e,n){t.props.onCopyItems&&t.copyItems([n.data])},data:e}),n},t.defaultProps={onRenderItem:function(e){return g.createElement(zg,Object(m.a)({},e))}},t}(Gg),Yg=Object(w.a)(),Qg=function(e){var t=e.styles,n=e.theme,o=e.className,r=e.vertical,i=e.alignContent,a=Yg(t,{theme:n,className:o,alignContent:i,vertical:r});return g.createElement("div",{className:a.root},g.createElement("div",{className:a.content,role:"separator","aria-orientation":r?"vertical":"horizontal"},e.children))},$g=Object(x.a)(Qg,(function(e){var t=e.theme,n=e.alignContent,o=e.vertical,r=e.className,i="start"===n,a="center"===n,s="end"===n;return{root:[t.fonts.medium,{position:"relative"},n&&{textAlign:n},!n&&{textAlign:"center"},o&&(a||!n)&&{verticalAlign:"middle"},o&&i&&{verticalAlign:"top"},o&&s&&{verticalAlign:"bottom"},o&&{padding:"0 4px",height:"inherit",display:"table-cell",zIndex:1,selectors:{":after":{backgroundColor:t.palette.neutralLighter,width:"1px",content:'""',position:"absolute",top:"0",bottom:"0",left:"50%",right:"0",zIndex:-1}}},!o&&{padding:"4px 0",selectors:{":before":{backgroundColor:t.palette.neutralLighter,height:"1px",content:'""',display:"block",position:"absolute",top:"50%",bottom:"0",left:"0",right:"0"}}},r],content:[{position:"relative",display:"inline-block",padding:"0 12px",color:t.semanticColors.bodyText,background:t.semanticColors.bodyBackground},o&&{padding:"12px 0"}]}}),void 0,{scope:"Separator"}),Zg={root:"ms-Shimmer-container",shimmerWrapper:"ms-Shimmer-shimmerWrapper",shimmerGradient:"ms-Shimmer-shimmerGradient",dataWrapper:"ms-Shimmer-dataWrapper"},Xg=Object(y.c)((function(){return Object(b.ab)({"0%":{transform:"translateX(-100%)"},"100%":{transform:"translateX(100%)"}})})),Jg=Object(y.c)((function(){return Object(b.ab)({"100%":{transform:"translateX(-100%)"},"0%":{transform:"translateX(100%)"}})}));!function(e){e[e.line=1]="line",e[e.circle=2]="circle",e[e.gap=3]="gap"}(Ig||(Ig={})),function(e){e[e.line=16]="line",e[e.gap=16]="gap",e[e.circle=24]="circle"}(Og||(Og={}));var eb,tb=Object(w.a)(),nb=function(e){var t=e.height,n=e.styles,o=e.width,r=void 0===o?"100%":o,i=e.borderStyle,a=e.theme,s=tb(n,{theme:a,height:t,borderStyle:i});return g.createElement("div",{style:{width:r,minWidth:"number"==typeof r?r+"px":"auto"},className:s.root},g.createElement("svg",{width:"2",height:"2",className:s.topLeftCorner},g.createElement("path",{d:"M0 2 A 2 2, 0, 0, 1, 2 0 L 0 0 Z"})),g.createElement("svg",{width:"2",height:"2",className:s.topRightCorner},g.createElement("path",{d:"M0 0 A 2 2, 0, 0, 1, 2 2 L 2 0 Z"})),g.createElement("svg",{width:"2",height:"2",className:s.bottomRightCorner},g.createElement("path",{d:"M2 0 A 2 2, 0, 0, 1, 0 2 L 2 2 Z"})),g.createElement("svg",{width:"2",height:"2",className:s.bottomLeftCorner},g.createElement("path",{d:"M2 2 A 2 2, 0, 0, 1, 0 0 L 0 2 Z"})))},ob={root:"ms-ShimmerLine-root",topLeftCorner:"ms-ShimmerLine-topLeftCorner",topRightCorner:"ms-ShimmerLine-topRightCorner",bottomLeftCorner:"ms-ShimmerLine-bottomLeftCorner",bottomRightCorner:"ms-ShimmerLine-bottomRightCorner"},rb=Object(x.a)(nb,(function(e){var t,n=e.height,o=e.borderStyle,r=e.theme,i=r.semanticColors,a=Object(b.R)(ob,r),s=o||{},c={position:"absolute",fill:i.bodyBackground};return{root:[a.root,r.fonts.medium,{height:n+"px",boxSizing:"content-box",position:"relative",borderTopStyle:"solid",borderBottomStyle:"solid",borderColor:i.bodyBackground,borderWidth:0,selectors:(t={},t[b.l]={borderColor:"Window",selectors:{"> *":{fill:"Window"}}},t)},s],topLeftCorner:[a.topLeftCorner,{top:"0",left:"0"},c],topRightCorner:[a.topRightCorner,{top:"0",right:"0"},c],bottomRightCorner:[a.bottomRightCorner,{bottom:"0",right:"0"},c],bottomLeftCorner:[a.bottomLeftCorner,{bottom:"0",left:"0"},c]}}),void 0,{scope:"ShimmerLine"}),ib=Object(w.a)(),ab=function(e){var t=e.height,n=e.styles,o=e.width,r=void 0===o?"10px":o,i=e.borderStyle,a=e.theme,s=ib(n,{theme:a,height:t,borderStyle:i});return g.createElement("div",{style:{width:r,minWidth:"number"==typeof r?r+"px":"auto"},className:s.root})},sb={root:"ms-ShimmerGap-root"},cb=Object(x.a)(ab,(function(e){var t,n=e.height,o=e.borderStyle,r=e.theme,i=r.semanticColors,a=o||{};return{root:[Object(b.R)(sb,r).root,r.fonts.medium,{backgroundColor:i.bodyBackground,height:n+"px",boxSizing:"content-box",borderTopStyle:"solid",borderBottomStyle:"solid",borderColor:i.bodyBackground,selectors:(t={},t[b.l]={backgroundColor:"Window",borderColor:"Window"},t)},a]}}),void 0,{scope:"ShimmerGap"}),lb={root:"ms-ShimmerCircle-root",svg:"ms-ShimmerCircle-svg"},ub=Object(w.a)(),db=function(e){var t=e.height,n=e.styles,o=e.borderStyle,r=e.theme,i=ub(n,{theme:r,height:t,borderStyle:o});return g.createElement("div",{className:i.root},g.createElement("svg",{viewBox:"0 0 10 10",width:t,height:t,className:i.svg},g.createElement("path",{d:"M0,0 L10,0 L10,10 L0,10 L0,0 Z M0,5 C0,7.76142375 2.23857625,10 5,10 C7.76142375,10 10,7.76142375 10,5 C10,2.23857625 7.76142375,2.22044605e-16 5,0 C2.23857625,-2.22044605e-16 0,2.23857625 0,5 L0,5 Z"})))},pb=Object(x.a)(db,(function(e){var t,n,o=e.height,r=e.borderStyle,i=e.theme,a=i.semanticColors,s=Object(b.R)(lb,i),c=r||{};return{root:[s.root,i.fonts.medium,{width:o+"px",height:o+"px",minWidth:o+"px",boxSizing:"content-box",borderTopStyle:"solid",borderBottomStyle:"solid",borderColor:a.bodyBackground,selectors:(t={},t[b.l]={borderColor:"Window"},t)},c],svg:[s.svg,{display:"block",fill:a.bodyBackground,selectors:(n={},n[b.l]={fill:"Window"},n)}]}}),void 0,{scope:"ShimmerCircle"}),hb=Object(w.a)(),fb=function(e){var t=e.styles,n=e.width,o=void 0===n?"auto":n,r=e.shimmerElements,i=e.rowHeight,a=void 0===i?function(e){return e.map((function(e){switch(e.type){case Ig.circle:e.height||(e.height=Og.circle);case Ig.line:e.height||(e.height=Og.line);case Ig.gap:e.height||(e.height=Og.gap)}return e})).reduce((function(e,t){return t.height&&t.height>e?t.height:e}),0)}(r||[]):i,s=e.flexWrap,c=void 0!==s&&s,l=e.theme,u=e.backgroundColor,d=hb(t,{theme:l,flexWrap:c});return g.createElement("div",{style:{width:o},className:d.root},function(e,t,n){return e?e.map((function(e,o){var r=e.type,i=Object(m.d)(e,["type"]),a=i.verticalAlign,s=i.height,c=mb(a,r,s,t,n);switch(e.type){case Ig.circle:return g.createElement(pb,Object(m.a)({key:o},i,{styles:c}));case Ig.gap:return g.createElement(cb,Object(m.a)({key:o},i,{styles:c}));case Ig.line:return g.createElement(rb,Object(m.a)({key:o},i,{styles:c}))}})):g.createElement(rb,{height:Og.line})}(r,u,a))},mb=Object(y.c)((function(e,t,n,o,r){var i,a=r&&n?r-n:0;if(e&&"center"!==e?e&&"top"===e?i={borderBottomWidth:a+"px",borderTopWidth:"0px"}:e&&"bottom"===e&&(i={borderBottomWidth:"0px",borderTopWidth:a+"px"}):i={borderBottomWidth:(a?Math.floor(a/2):0)+"px",borderTopWidth:(a?Math.ceil(a/2):0)+"px"},o)switch(t){case Ig.circle:return{root:Object(m.a)(Object(m.a)({},i),{borderColor:o}),svg:{fill:o}};case Ig.gap:return{root:Object(m.a)(Object(m.a)({},i),{borderColor:o,backgroundColor:o})};case Ig.line:return{root:Object(m.a)(Object(m.a)({},i),{borderColor:o}),topLeftCorner:{fill:o},topRightCorner:{fill:o},bottomLeftCorner:{fill:o},bottomRightCorner:{fill:o}}}return{root:i}})),gb={root:"ms-ShimmerElementsGroup-root"},bb=Object(x.a)(fb,(function(e){var t=e.flexWrap,n=e.theme;return{root:[Object(b.R)(gb,n).root,n.fonts.medium,{display:"flex",alignItems:"center",flexWrap:t?"wrap":"nowrap",position:"relative"}]}}),void 0,{scope:"ShimmerElementsGroup"}),yb=Object(w.a)(),vb=function(e){function t(t){var n=e.call(this,t)||this;return Object(be.a)(n),n.state={contentLoaded:t.isDataLoaded},n._async=new ye.a(n),n}return Object(m.c)(t,e),t.prototype.componentDidUpdate=function(e){var t=this,n=this.props.isDataLoaded;n!==e.isDataLoaded&&(this._async.clearTimeout(this._lastTimeoutId),n?this._lastTimeoutId=this._async.setTimeout((function(){t.setState({contentLoaded:n})}),200):this.setState({contentLoaded:n}))},t.prototype.componentWillUnmount=function(){this._async.dispose()},t.prototype.render=function(){var e=this.props,t=e.styles,n=e.shimmerElements,o=e.children,r=e.isDataLoaded,i=e.width,a=e.className,s=e.customElementsGroup,c=e.theme,l=e.ariaLabel,u=e.shimmerColors,d=this.state.contentLoaded;this._classNames=yb(t,{theme:c,isDataLoaded:r,className:a,transitionAnimationInterval:200,shimmerColor:u&&u.shimmer,shimmerWaveColor:u&&u.shimmerWave});var p=Object(I.j)(this.props,I.h);return g.createElement("div",Object(m.a)({},p,{className:this._classNames.root}),!d&&g.createElement("div",{style:{width:i||"100%"},className:this._classNames.shimmerWrapper},g.createElement("div",{className:this._classNames.shimmerGradient}),s||g.createElement(bb,{shimmerElements:n,backgroundColor:u&&u.background})),o&&g.createElement("div",{className:this._classNames.dataWrapper},o),l&&!r&&g.createElement("div",{role:"status","aria-live":"polite"},g.createElement(Se.a,null,g.createElement("div",{className:this._classNames.screenReaderText},l))))},t.defaultProps={isDataLoaded:!1},t}(g.Component),_b=Object(x.a)(vb,(function(e){var t,n=e.isDataLoaded,o=e.className,r=e.theme,i=e.transitionAnimationInterval,a=e.shimmerColor,s=e.shimmerWaveColor,c=r.semanticColors,l=Object(b.R)(Zg,r),u=Object(T.a)(r);return{root:[l.root,r.fonts.medium,{position:"relative",height:"auto"},o],shimmerWrapper:[l.shimmerWrapper,{position:"relative",overflow:"hidden",transform:"translateZ(0)",backgroundColor:a||c.disabledBackground,transition:"opacity "+i+"ms",selectors:Object(m.a)((t={"> *":{transform:"translateZ(0)"}},t[b.l]={background:"WindowText\n                        linear-gradient(\n                          to right,\n                          transparent 0%,\n                          Window 50%,\n                          transparent 100%)\n                        0 0 / 90% 100%\n                        no-repeat"},t),Object(b.N)())},n&&{opacity:"0",position:"absolute",top:"0",bottom:"0",left:"0",right:"0"}],shimmerGradient:[l.shimmerGradient,{position:"absolute",top:0,left:0,width:"100%",height:"100%",background:(a||c.disabledBackground)+"\n                      linear-gradient(\n                        to right,\n                        "+(a||c.disabledBackground)+" 0%,\n                        "+(s||c.bodyDivider)+" 50%,\n                        "+(a||c.disabledBackground)+" 100%)\n                      0 0 / 90% 100%\n                      no-repeat",transform:"translateX(-100%)",animationDuration:"2s",animationTimingFunction:"ease-in-out",animationDirection:"normal",animationIterationCount:"infinite",animationName:u?Jg():Xg()}],dataWrapper:[l.dataWrapper,{position:"absolute",top:"0",bottom:"0",left:"0",right:"0",opacity:"0",background:"none",backgroundColor:"transparent",border:"none",transition:"opacity "+i+"ms"},n&&{opacity:"1",position:"static"}],screenReaderText:b.Z}}),void 0,{scope:"Shimmer"}),Sb=Object(w.a)(),Cb=function(e){function t(t){var n=e.call(this,t)||this;return n._onRenderShimmerPlaceholder=function(e,t){var o=n.props.onRenderCustomPlaceholder,r=o?o(t,e,n._renderDefaultShimmerPlaceholder):n._renderDefaultShimmerPlaceholder(t);return g.createElement(_b,{customElementsGroup:r})},n._renderDefaultShimmerPlaceholder=function(e){var t=e.columns,n=e.compact,o=e.selectionMode,r=e.checkboxVisibility,i=e.cellStyleProps,a=void 0===i?Cl:i,s=n?xl.compactRowHeight:xl.rowHeight+1,c=[];return o!==Yc.none&&r!==yl.hidden&&c.push(g.createElement(bb,{key:"checkboxGap",shimmerElements:[{type:Ig.gap,width:"40px",height:s}]})),t.map((function(e,t){var n=[],o=a.cellLeftPadding+a.cellRightPadding+e.calculatedWidth+(e.isPadded?a.cellExtraRightPadding:0);n.push({type:Ig.gap,width:a.cellLeftPadding,height:s}),e.isIconOnly?(n.push({type:Ig.line,width:e.calculatedWidth,height:e.calculatedWidth}),n.push({type:Ig.gap,width:a.cellRightPadding,height:s})):(n.push({type:Ig.line,width:.95*e.calculatedWidth,height:7}),n.push({type:Ig.gap,width:a.cellRightPadding+(e.calculatedWidth-.95*e.calculatedWidth)+(e.isPadded?a.cellExtraRightPadding:0),height:s})),c.push(g.createElement(bb,{key:t,width:o+"px",shimmerElements:n}))})),c.push(g.createElement(bb,{key:"endGap",width:"100%",shimmerElements:[{type:Ig.gap,width:"100%",height:s}]})),g.createElement("div",{style:{display:"flex"}},c)},n._shimmerItems=t.shimmerLines?new Array(t.shimmerLines):new Array(10),n}return Object(m.c)(t,e),t.prototype.render=function(){var e=this.props,t=e.detailsListStyles,n=e.enableShimmer,o=e.items,r=e.listProps,i=(e.onRenderCustomPlaceholder,e.removeFadingOverlay),a=(e.shimmerLines,e.styles),s=e.theme,c=e.ariaLabelForGrid,l=e.ariaLabelForShimmer,u=Object(m.d)(e,["detailsListStyles","enableShimmer","items","listProps","onRenderCustomPlaceholder","removeFadingOverlay","shimmerLines","styles","theme","ariaLabelForGrid","ariaLabelForShimmer"]),d=r&&r.className;this._classNames=Sb(a,{theme:s});var p=Object(m.a)(Object(m.a)({},r),{className:n&&!i?Object(z.a)(this._classNames.root,d):d});return g.createElement(Du,Object(m.a)({},u,{styles:t,items:n?this._shimmerItems:o,isPlaceholderData:n,ariaLabelForGrid:n&&l||c,onRenderMissingItem:this._onRenderShimmerPlaceholder,listProps:p}))},t}(g.Component),xb=Object(x.a)(Cb,(function(e){var t=e.theme.palette;return{root:{position:"relative",selectors:{":after":{content:'""',position:"absolute",top:0,right:0,bottom:0,left:0,backgroundImage:"linear-gradient(to bottom, transparent 30%, "+t.whiteTranslucent40+" 65%,"+t.white+" 100%)"}}}}}),void 0,{scope:"ShimmeredDetailsList"}),wb=Object(w.a)(),Tb=function(e){function t(t){var n=e.call(this,t)||this;n._disposables=[],n._sliderLine=g.createRef(),n._thumb=g.createRef(),n._onKeyDownTimer=-1,n._getAriaValueText=function(e){var t=n.props.ariaValueText;if(void 0!==e)return t?t(e):e.toString()},n._onMouseDownOrTouchStart=function(e){"mousedown"===e.type?n._disposables.push(Object(wt.a)(window,"mousemove",n._onMouseMoveOrTouchMove,!0),Object(wt.a)(window,"mouseup",n._onMouseUpOrTouchEnd,!0)):"touchstart"===e.type&&n._disposables.push(Object(wt.a)(window,"touchmove",n._onMouseMoveOrTouchMove,!0),Object(wt.a)(window,"touchend",n._onMouseUpOrTouchEnd,!0)),n._onMouseMoveOrTouchMove(e,!0)},n._onMouseMoveOrTouchMove=function(e,t){if(n._sliderLine.current){var o,r,i,a=n.props,s=a.max,c=a.min,l=a.step,u=(s-c)/l,d=n._sliderLine.current.getBoundingClientRect(),p=(n.props.vertical?d.height:d.width)/u;if(n.props.vertical){var h=n._getPosition(e,n.props.vertical);o=(d.bottom-h)/p}else{var f=n._getPosition(e,n.props.vertical);o=(Object(T.a)(n.props.theme)?d.right-f:f-d.left)/p}o>Math.floor(u)?i=r=s:o<0?i=r=c:(i=c+l*o,r=c+l*Math.round(o)),n._updateValue(r,i),t||(e.preventDefault(),e.stopPropagation())}},n._onMouseUpOrTouchEnd=function(e){n.setState({renderedValue:void 0}),n.props.onChanged&&n.props.onChanged(e,n.state.value),n._disposeListeners()},n._disposeListeners=function(){n._disposables.forEach((function(e){return e()})),n._disposables=[]},n._onKeyDown=function(e){var t=n.state.value,o=n.props,r=o.max,i=o.min,a=o.step,s=0;switch(e.which){case Object(T.b)(ge.a.left,n.props.theme):case ge.a.down:s=-a,n._clearOnKeyDownTimer(),n._setOnKeyDownTimer(e);break;case Object(T.b)(ge.a.right,n.props.theme):case ge.a.up:s=a,n._clearOnKeyDownTimer(),n._setOnKeyDownTimer(e);break;case ge.a.home:t=i;break;case ge.a.end:t=r;break;default:return}var c=Math.min(r,Math.max(i,t+s));n._updateValue(c,c),e.preventDefault(),e.stopPropagation()},n._clearOnKeyDownTimer=function(){n._async.clearTimeout(n._onKeyDownTimer)},n._setOnKeyDownTimer=function(e){n._onKeyDownTimer=n._async.setTimeout((function(){n.props.onChanged&&n.props.onChanged(e,n.state.value)}),1e3)},n._async=new ye.a(n),Object(be.a)(n),Object(Ec.a)("SliderBase",n.props,{value:"defaultValue"}),n._id=Object(Pe.a)("Slider");var o=void 0!==t.value?t.value:void 0!==t.defaultValue?t.defaultValue:t.min;return n.state={value:o,renderedValue:void 0},n}return Object(m.c)(t,e),t.prototype.componentWillUnmount=function(){this._async.dispose(),this._disposeListeners()},t.prototype.render=function(){var e,t,n,o,r,i=this.props,a=i.ariaLabel,s=i.className,c=i.disabled,l=i.label,u=i.max,d=i.min,p=i.showValue,h=i.buttonProps,f=i.vertical,b=i.valueFormat,y=i.styles,v=i.theme,_=i.originFromZero,S=this.value,C=this.renderedValue,x=d===u?0:(C-d)/(u-d)*100,w=d>=0?0:-d/(u-d)*100,T=f?"height":"width",k=c?{}:{onMouseDown:this._onMouseDownOrTouchStart},O=c?{}:{onTouchStart:this._onMouseDownOrTouchStart},E=c?{}:{onKeyDown:this._onKeyDown},N=wb(y,{className:s,disabled:c,vertical:f,showTransitions:C===S,showValue:p,theme:v}),P=h?Object(I.j)(h,I.h):void 0;return g.createElement("div",{className:N.root},l&&g.createElement(za,Object(m.a)({className:N.titleLabel},a?{}:{htmlFor:this._id},{disabled:c}),l),g.createElement("div",{className:N.container},g.createElement("div",Object(m.a)({id:this._id,"aria-valuenow":S,"aria-valuemin":d,"aria-valuemax":u,"aria-valuetext":this._getAriaValueText(S),"aria-label":a||l,"aria-disabled":c},k,O,E,P,{className:Object(z.a)(N.slideBox,h.className),role:"slider",tabIndex:c?void 0:0,"data-is-focusable":!c}),g.createElement("div",{ref:this._sliderLine,className:N.line},_&&g.createElement("span",{className:Object(z.a)(N.zeroTick),style:this._getStyleUsingOffsetPercent(f,w)}),g.createElement("span",{ref:this._thumb,className:N.thumb,style:this._getStyleUsingOffsetPercent(f,x)}),_?g.createElement(g.Fragment,null,g.createElement("span",{className:Object(z.a)(N.lineContainer,N.inactiveSection),style:(e={},e[T]=Math.min(x,w)+"%",e)}),g.createElement("span",{className:Object(z.a)(N.lineContainer,N.activeSection),style:(t={},t[T]=Math.abs(w-x)+"%",t)}),g.createElement("span",{className:Object(z.a)(N.lineContainer,N.inactiveSection),style:(n={},n[T]=Math.min(100-x,100-w)+"%",n)})):g.createElement(g.Fragment,null,g.createElement("span",{className:Object(z.a)(N.lineContainer,N.activeSection),style:(o={},o[T]=x+"%",o)}),g.createElement("span",{className:Object(z.a)(N.lineContainer,N.inactiveSection),style:(r={},r[T]=100-x+"%",r)})))),p&&g.createElement(za,{className:N.valueLabel,disabled:c},b?b(S):S)),g.createElement(it.a,null))},t.prototype.focus=function(){this._thumb.current&&this._thumb.current.focus()},Object.defineProperty(t.prototype,"value",{get:function(){var e=this.props.value,t=void 0===e?this.state.value:e;return void 0===this.props.min||void 0===this.props.max||void 0===t?void 0:Math.max(this.props.min,Math.min(this.props.max,t))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"renderedValue",{get:function(){var e=this.state.renderedValue;return void 0===e?this.value:e},enumerable:!0,configurable:!0}),t.prototype._getStyleUsingOffsetPercent=function(e,t){var n;return(n={})[e?"bottom":Object(T.a)(this.props.theme)?"right":"left"]=t+"%",n},t.prototype._getPosition=function(e,t){var n;switch(e.type){case"mousedown":case"mousemove":n=t?e.clientY:e.clientX;break;case"touchstart":case"touchmove":n=t?e.touches[0].clientY:e.touches[0].clientX}return n},t.prototype._updateValue=function(e,t){var n=this,o=this.props,r=o.step,i=o.snapToStep,a=0;if(isFinite(r))for(;Math.round(r*Math.pow(10,a))/Math.pow(10,a)!==r;)a++;var s=parseFloat(e.toFixed(a)),c=s!==this.state.value;i&&(t=s),this.setState({value:s,renderedValue:t},(function(){c&&n.props.onChange&&n.props.onChange(n.state.value)}))},t.defaultProps={step:1,min:0,max:10,showValue:!0,disabled:!1,vertical:!1,buttonProps:{},originFromZero:!1},t}(g.Component),kb={root:"ms-Slider",enabled:"ms-Slider-enabled",disabled:"ms-Slider-disabled",row:"ms-Slider-row",column:"ms-Slider-column",container:"ms-Slider-container",slideBox:"ms-Slider-slideBox",line:"ms-Slider-line",thumb:"ms-Slider-thumb",activeSection:"ms-Slider-active",inactiveSection:"ms-Slider-inactive",valueLabel:"ms-Slider-value",showValue:"ms-Slider-showValue",showTransitions:"ms-Slider-showTransitions",zeroTick:"ms-Slider-zeroTick"},Ib=Object(x.a)(Tb,(function(e){var t,n,o,r,i,a,s,c,l,u,d,p,h,f=e.className,g=e.titleLabelClassName,y=e.theme,v=e.vertical,_=e.disabled,S=e.showTransitions,C=e.showValue,x=y.semanticColors,w=Object(b.R)(kb,y),k=x.inputBackgroundCheckedHovered,I=x.inputBackgroundChecked,O=x.inputPlaceholderBackgroundChecked,E=x.smallInputBorder,N=x.disabledBorder,P=x.disabledText,D=x.disabledBackground,A=x.inputBackground,R=x.smallInputBorder,M=x.disabledBorder,F=!_&&{backgroundColor:k,selectors:(t={},t[b.l]={backgroundColor:"Highlight"},t)},j=!_&&{backgroundColor:O,selectors:(n={},n[b.l]={borderColor:"Highlight"},n)},L=!_&&{backgroundColor:I,selectors:(o={},o[b.l]={backgroundColor:"Highlight"},o)},H=!_&&{border:"2px solid "+k,selectors:(r={},r[b.l]={borderColor:"Highlight"},r)},B=!e.disabled&&{backgroundColor:x.inputPlaceholderBackgroundChecked,selectors:(i={},i[b.l]={backgroundColor:"Highlight"},i)};return{root:Object(m.e)([w.root,y.fonts.medium,{userSelect:"none"},v&&{marginRight:8}],[_?void 0:w.enabled],[_?w.disabled:void 0],[v?void 0:w.row],[v?w.column:void 0],[f]),titleLabel:[{padding:0},g],container:[w.container,{display:"flex",flexWrap:"nowrap",alignItems:"center"},v&&{flexDirection:"column",height:"100%",textAlign:"center",margin:"8px 0"}],slideBox:Object(m.e)([w.slideBox,Object(b.Q)(y),{background:"transparent",border:"none",flexGrow:1,lineHeight:28,display:"flex",alignItems:"center",selectors:(a={},a[":active ."+w.activeSection]=F,a[":hover ."+w.activeSection]=L,a[":active ."+w.inactiveSection]=j,a[":hover ."+w.inactiveSection]=j,a[":active ."+w.thumb]=H,a[":hover ."+w.thumb]=H,a[":active ."+w.zeroTick]=B,a[":hover ."+w.zeroTick]=B,a)},v?{height:"100%",width:28,padding:"8px 0"}:{height:28,width:"auto",padding:"0 8px"}],[C?w.showValue:void 0],[S?w.showTransitions:void 0]),thumb:[w.thumb,{borderWidth:2,borderStyle:"solid",borderColor:R,borderRadius:10,boxSizing:"border-box",background:A,display:"block",width:16,height:16,position:"absolute"},v?{left:-6,margin:"0 auto",transform:"translateY(8px)"}:{top:-6,transform:Object(T.a)(y)?"translateX(50%)":"translateX(-50%)"},S&&{transition:"left "+b.c.durationValue3+" "+b.c.easeFunction1},_&&{borderColor:M,selectors:(s={},s[b.l]={borderColor:"GrayText"},s)}],line:[w.line,{display:"flex",position:"relative"},v?{height:"100%",width:4,margin:"0 auto",flexDirection:"column-reverse"}:{width:"100%"}],lineContainer:[{borderRadius:4,boxSizing:"border-box"},v?{width:4,height:"100%"}:{height:4,width:"100%"}],activeSection:[w.activeSection,{background:E,selectors:(c={},c[b.l]={backgroundColor:"WindowText"},c)},S&&{transition:"width "+b.c.durationValue3+" "+b.c.easeFunction1},_&&{background:P,selectors:(l={},l[b.l]={backgroundColor:"GrayText",borderColor:"GrayText"},l)}],inactiveSection:[w.inactiveSection,{background:N,selectors:(u={},u[b.l]={border:"1px solid WindowText"},u)},S&&{transition:"width "+b.c.durationValue3+" "+b.c.easeFunction1},_&&{background:D,selectors:(d={},d[b.l]={borderColor:"GrayText"},d)}],zeroTick:[w.zeroTick,{position:"absolute",background:x.disabledBorder,selectors:(p={},p[b.l]={backgroundColor:"WindowText"},p)},e.disabled&&{background:x.disabledBackground,selectors:(h={},h[b.l]={backgroundColor:"GrayText"},h)},e.vertical?{width:"16px",height:"1px",transform:Object(T.a)(y)?"translateX(6px)":"translateX(-6px)"}:{width:"1px",height:"16px",transform:"translateY(-6px)"}],valueLabel:[w.valueLabel,{flexShrink:1,width:30,lineHeight:"1"},v?{margin:"0 auto",whiteSpace:"nowrap",width:40}:{margin:"0 8px",whiteSpace:"nowrap",width:40}]}}),void 0,{scope:"Slider"}),Ob=Object(y.c)((function(e){var t,n=e.semanticColors,o=n.disabledText,r=n.disabledBackground;return{backgroundColor:r,pointerEvents:"none",cursor:"default",color:o,selectors:(t={":after":{borderColor:r}},t[b.l]={color:"GrayText"},t)}})),Eb=Object(y.c)((function(e,t,n){var o,r,i,a=e.palette,s=e.semanticColors,c=e.effects,l=a.neutralSecondary,u=s.buttonText,d=s.buttonText,p=s.buttonBackgroundHovered,h=s.buttonBackgroundPressed,f={root:{outline:"none",display:"block",height:"50%",width:23,padding:0,backgroundColor:"transparent",textAlign:"center",cursor:"default",color:l,selectors:{"&.ms-DownButton":{borderRadius:"0 0 "+c.roundedCorner2+" 0"},"&.ms-UpButton":{borderRadius:"0 "+c.roundedCorner2+" 0 0"}}},rootHovered:{backgroundColor:p,color:u},rootChecked:{backgroundColor:h,color:d,selectors:(o={},o[b.l]={backgroundColor:"Highlight",color:"HighlightText"},o)},rootPressed:{backgroundColor:h,color:d,selectors:(r={},r[b.l]={backgroundColor:"Highlight",color:"HighlightText"},r)},rootDisabled:{opacity:.5,selectors:(i={},i[b.l]={color:"GrayText",opacity:1},i)},icon:{fontSize:8,marginTop:0,marginRight:0,marginBottom:0,marginLeft:0}};return Object(b.H)(f,{},n)})),Nb=Object(y.c)((function(e,t){var n,o,r=e.palette,i=e.semanticColors,a=e.effects,s=e.fonts,c=i.inputBorder,l=i.inputBackground,u=i.inputBorderHovered,d=i.inputFocusBorderAlt,p=i.inputText,h=r.white,f=i.inputBackgroundChecked,m=i.disabledText,g={root:{outline:"none",fontSize:s.medium.fontSize,width:"100%",minWidth:86},labelWrapper:{display:"inline-flex",alignItems:"center"},labelWrapperStart:{height:32,float:"left",marginRight:10},labelWrapperEnd:{height:32,float:"right",marginLeft:10},labelWrapperTop:{marginBottom:-1},labelWrapperBottom:{},icon:{padding:"0 5px",fontSize:b.o.large},iconDisabled:{color:m},label:{pointerEvents:"none",lineHeight:b.o.large},labelDisabled:{},spinButtonWrapper:{display:"flex",position:"relative",boxSizing:"border-box",height:32,minWidth:86,selectors:{":after":{pointerEvents:"none",content:"''",position:"absolute",left:0,top:0,bottom:0,right:0,borderWidth:"1px",borderStyle:"solid",borderColor:c,borderRadius:a.roundedCorner2}}},spinButtonWrapperTopBottom:{width:"100%"},spinButtonWrapperHovered:{selectors:(n={":after":{borderColor:u}},n[b.l]={selectors:{":after":{borderColor:"Highlight"}}},n)},spinButtonWrapperFocused:Object(b.U)(d,a.roundedCorner2),spinButtonWrapperDisabled:Ob(e),input:{boxSizing:"border-box",boxShadow:"none",borderStyle:"none",flex:1,margin:0,fontSize:s.medium.fontSize,color:p,backgroundColor:l,height:"100%",padding:"0 8px 0 9px",outline:0,display:"block",minWidth:61,whiteSpace:"nowrap",textOverflow:"ellipsis",overflow:"hidden",cursor:"text",userSelect:"text",borderRadius:a.roundedCorner2+" 0 0 "+a.roundedCorner2},inputTextSelected:{backgroundColor:f,color:h,selectors:(o={},o[b.l]={backgroundColor:"Highlight",borderColor:"Highlight",color:"HighlightText"},o)},inputDisabled:Ob(e),arrowButtonsContainer:{display:"block",height:"100%",cursor:"default"},arrowButtonsContainerDisabled:Ob(e)};return Object(b.H)(g,t)})),Pb=Object(y.c)((function(e,t,n,o,r,i){return void 0===r&&(r=xt.start),void 0===i&&(i=void 0),{root:Object(b.db)(e.root,i),labelWrapper:Object(b.db)(e.labelWrapper,Db(r,e)),icon:Object(b.db)(e.icon,t&&e.iconDisabled),label:Object(b.db)(e.label),spinButtonWrapper:Object(b.db)(e.spinButtonWrapper,Ab(r,e),!t&&[{selectors:{":hover":e.spinButtonWrapperHovered}},n&&{selectors:{"&&":e.spinButtonWrapperFocused}}],t&&e.spinButtonWrapperDisabled),input:Object(b.db)("ms-spinButton-input",e.input,!t&&{selectors:{"::selection":e.inputTextSelected}},t&&e.inputDisabled),arrowBox:Object(b.db)(e.arrowButtonsContainer,t&&e.arrowButtonsContainerDisabled)}}));function Db(e,t){switch(e){case xt.start:return t.labelWrapperStart;case xt.end:return t.labelWrapperEnd;case xt.top:return t.labelWrapperTop;case xt.bottom:return t.labelWrapperBottom}}function Ab(e,t){switch(e){case xt.top:case xt.bottom:return t.spinButtonWrapperTopBottom;default:return{}}}!function(e){e[e.down=-1]="down",e[e.notSpinning=0]="notSpinning",e[e.up=1]="up"}(eb||(eb={}));var Rb=function(e){function t(t){var n=e.call(this,t)||this;n._input=g.createRef(),n._initialStepDelay=400,n._stepDelay=75,n._onFocus=function(e){n._input.current&&((n._spinningByMouse||n.state.keyboardSpinDirection!==eb.notSpinning)&&n._stop(),n._input.current.select(),n.setState({isFocused:!0}),n.props.onFocus&&n.props.onFocus(e))},n._onBlur=function(e){n._validate(e),n.setState({isFocused:!1}),n.props.onBlur&&n.props.onBlur(e)},n._onValidate=function(e,t){return n.props.onValidate?n.props.onValidate(e,t):n._defaultOnValidate(e)},n._calculatePrecision=function(e){var t=e.precision;return void 0===t?Math.max(Object(Af.a)(e.step),0):t},n._defaultOnValidate=function(e){if(null===e||0===e.trim().length||isNaN(Number(e)))return n._lastValidValue;var t=Math.min(n.props.max,Math.max(n.props.min,Number(e)));return String(t)},n._onIncrement=function(e){return n.props.onIncrement?n.props.onIncrement(e):n._defaultOnIncrement(e)},n._defaultOnIncrement=function(e){var t=n.props,o=t.max,r=t.step,i=Math.min(Number(e)+Number(r),o);return i=Object(Af.d)(i,n._precision),String(i)},n._onDecrement=function(e){return n.props.onDecrement?n.props.onDecrement(e):n._defaultOnDecrement(e)},n._defaultOnDecrement=function(e){var t=n.props,o=t.min,r=t.step,i=Math.max(Number(e)-Number(r),o);return i=Object(Af.d)(i,n._precision),String(i)},n._validate=function(e){if(void 0!==n.value&&void 0!==n._valueToValidate&&n._valueToValidate!==n._lastValidValue){var t=n._onValidate(n._valueToValidate,e);n._valueToValidate=void 0,void 0!==t?(n._lastValidValue=t,n.setState({value:t})):n.setState({value:n._lastValidValue})}},n._onInputChange=function(e){var t=e.target.value;n._valueToValidate=t,n.setState({value:t})},n._updateValue=function(e,t,o){var r=o(n.value||"");void 0!==r&&(n._lastValidValue=r,n.setState({value:r})),n._spinningByMouse!==e&&(n._spinningByMouse=e),e&&(n._currentStepFunctionHandle=n._async.setTimeout((function(){n._updateValue(e,n._stepDelay,o)}),t))},n._stop=function(){n._currentStepFunctionHandle>=0&&(n._async.clearTimeout(n._currentStepFunctionHandle),n._currentStepFunctionHandle=-1),(n._spinningByMouse||n.state.keyboardSpinDirection!==eb.notSpinning)&&(n._spinningByMouse=!1,n.setState({keyboardSpinDirection:eb.notSpinning}))},n._handleKeyDown=function(e){if(e.which!==ge.a.up&&e.which!==ge.a.down&&e.which!==ge.a.enter||(e.preventDefault(),e.stopPropagation()),n.props.disabled)n._stop();else{var t=eb.notSpinning;switch(e.which){case ge.a.up:t=eb.up,n._updateValue(!1,n._initialStepDelay,n._onIncrement);break;case ge.a.down:t=eb.down,n._updateValue(!1,n._initialStepDelay,n._onDecrement);break;case ge.a.enter:n._validate(e);break;case ge.a.escape:n.value!==n._lastValidValue&&n.setState({value:n._lastValidValue})}n.state.keyboardSpinDirection!==t&&n.setState({keyboardSpinDirection:t})}},n._handleKeyUp=function(e){(n.props.disabled||e.which===ge.a.up||e.which===ge.a.down)&&n._stop()},n._onIncrementMouseDown=function(){n._updateValue(!0,n._initialStepDelay,n._onIncrement)},n._onDecrementMouseDown=function(){n._updateValue(!0,n._initialStepDelay,n._onDecrement)},Object(be.a)(n),Object(Ec.a)("SpinButton",t,{value:"defaultValue"});var o=t.value,r=void 0===o?t.defaultValue:o;return void 0===r&&(r="number"==typeof t.min?String(t.min):"0"),n._lastValidValue=r,n._precision=n._calculatePrecision(t),n.state={isFocused:!1,value:r,keyboardSpinDirection:eb.notSpinning},n._async=new ye.a(n),n._currentStepFunctionHandle=-1,n._labelId=Object(Pe.a)("Label"),n._inputId=Object(Pe.a)("input"),n._spinningByMouse=!1,n._valueToValidate=void 0,n}return Object(m.c)(t,e),t.prototype.componentWillUnmount=function(){this._async.dispose()},t.prototype.UNSAFE_componentWillReceiveProps=function(e){void 0!==e.value&&(this._lastValidValue=e.value,this.setState({value:e.value})),this._precision=this._calculatePrecision(e)},t.prototype.render=function(){var e=this,t=this.props,n=t.disabled,o=t.label,r=t.min,i=t.max,a=t.labelPosition,s=t.iconProps,c=t.incrementButtonIcon,l=t.incrementButtonAriaLabel,u=t.decrementButtonIcon,d=t.decrementButtonAriaLabel,p=t.ariaLabel,h=t.ariaDescribedBy,f=t.styles,b=t.upArrowButtonStyles,y=t.downArrowButtonStyles,v=t.theme,_=t.ariaPositionInSet,S=t.ariaSetSize,C=t.ariaValueNow,x=t.ariaValueText,w=t.keytipProps,T=t.className,k=t.inputProps,O=t.iconButtonProps,E=this.state,N=E.isFocused,P=E.keyboardSpinDirection,D=this.value,A=this.props.getClassNames?this.props.getClassNames(v,n,N,P,a,T):Pb(Nb(v,f),n,N,P,a,T),R=Object(I.j)(this.props,I.h,["onBlur","onFocus","className"]);return g.createElement("div",{className:A.root},a!==xt.bottom&&(s||o)&&g.createElement("div",{className:A.labelWrapper},s&&g.createElement(K,Object(m.a)({},s,{className:A.icon,"aria-hidden":"true"})),o&&g.createElement(za,{id:this._labelId,htmlFor:this._inputId,className:A.label,disabled:n},o)),g.createElement($e,{keytipProps:w,disabled:n},(function(t){return g.createElement("div",Object(m.a)({},R,{className:A.spinButtonWrapper,"aria-label":p&&p,"aria-posinset":_,"aria-setsize":S,"data-ktp-target":t["data-ktp-target"]}),g.createElement("input",Object(m.a)({value:D,id:e._inputId,onChange:e._onChange,onInput:e._onInputChange,className:A.input,type:"text",autoComplete:"off",role:"spinbutton","aria-labelledby":o&&e._labelId,"aria-valuenow":"number"==typeof C?C:D&&!isNaN(Number(D))?Number(D):void 0,"aria-valuetext":"string"==typeof x?x:!D||isNaN(Number(D))?D:void 0,"aria-valuemin":r,"aria-valuemax":i,"aria-describedby":Object(Ue.a)(h,t["aria-describedby"]),onBlur:e._onBlur,ref:e._input,onFocus:e._onFocus,onKeyDown:e._handleKeyDown,onKeyUp:e._handleKeyUp,disabled:n,"aria-disabled":n,"data-lpignore":!0,"data-ktp-execute-target":t["data-ktp-execute-target"]},k)),g.createElement("span",{className:A.arrowBox},g.createElement(go,Object(m.a)({styles:Eb(v,!0,b),className:"ms-UpButton",checked:P===eb.up,disabled:n,iconProps:c,onMouseDown:e._onIncrementMouseDown,onMouseLeave:e._stop,onMouseUp:e._stop,tabIndex:-1,ariaLabel:l,"data-is-focusable":!1},O)),g.createElement(go,Object(m.a)({styles:Eb(v,!1,y),className:"ms-DownButton",checked:P===eb.down,disabled:n,iconProps:u,onMouseDown:e._onDecrementMouseDown,onMouseLeave:e._stop,onMouseUp:e._stop,tabIndex:-1,ariaLabel:d,"data-is-focusable":!1},O))))})),a===xt.bottom&&(s||o)&&g.createElement("div",{className:A.labelWrapper},s&&g.createElement(K,{iconName:s.iconName,className:A.icon,"aria-hidden":"true"}),o&&g.createElement(za,{id:this._labelId,htmlFor:this._inputId,className:A.label,disabled:n},o)))},t.prototype.focus=function(){this._input.current&&this._input.current.focus()},Object.defineProperty(t.prototype,"value",{get:function(){return this.state.value},enumerable:!0,configurable:!0}),t.prototype._onChange=function(){},t.defaultProps={step:1,min:0,max:100,disabled:!1,labelPosition:xt.start,label:"",incrementButtonIcon:{iconName:"ChevronUpSmall"},decrementButtonIcon:{iconName:"ChevronDownSmall"}},Object(m.b)([Object(Sn.a)("SpinButton",["theme","styles"],!0)],t)}(g.Component),Mb=m.a;function Fb(e,t){for(var n=[],o=2;o<arguments.length;o++)n[o-2]=arguments[o];var r=e;if(r.isSlot){var i=g.Children.count(n);return 0===i?r(t):(n=g.Children.toArray(n),r(Object(m.a)(Object(m.a)({},t),{children:n})))}return g.createElement.apply(g,Object(m.e)([e,t],n))}function jb(e,t){void 0===t&&(t={});var n=t.defaultProp,o=void 0===n?"children":n;return function(t,n,r,i,a){if(g.isValidElement(n))return n;var s=function(e,t){for(var n=[],o=2;o<arguments.length;o++)n[o-2]=arguments[o];for(var r={},i=[],a=0,s=n;a<s.length;a++){var c=s[a];i.push(c&&c.className),Mb(r,c)}return r.className=Object(je.a)([e,i],{rtl:Object(T.a)(t)}),r}(i,a,t,function(e,t){var n,o;return"string"==typeof t||"number"==typeof t||"boolean"==typeof t?((n={})[e]=t,o=n):o=t,o}(o,n));if(r){if(r.component){var c=r.component;return g.createElement(c,Object(m.a)({},s))}if(r.render)return r.render(s,e)}return g.createElement(e,Object(m.a)({},s))}}var Lb=Object(y.c)((function(e){return jb(e)}));function Hb(e,t){var n={},o=e,r=function(e){if(t.hasOwnProperty(e)){var r=function(n){for(var r=[],i=1;i<arguments.length;i++)r[i-1]=arguments[i];if(r.length>0)throw new Error("Any module using getSlots must use withSlots. Please see withSlots javadoc for more info.");return Bb(t[e],n,o[e],o.slots&&o.slots[e],o._defaultStyles&&o._defaultStyles[e],o.theme)};r.isSlot=!0,n[e]=r}};for(var i in t)r(i);return n}function Bb(e,t,n,o,r,i){return void 0!==e.create?e.create(t,n,o,r):Lb(e)(t,n,o,r,i)}var zb=n(27),Ub=n(15);function Vb(e,t){void 0===t&&(t={});var n=t.factoryOptions,o=(void 0===n?{}:n).defaultProp,r=function(n){var o,r,i,a=(o=t.displayName,r=g.useContext(zb.a),i=t.fields,Ub.a.getSettings(i||["theme","styles","tokens"],o,r.customizations)),s=t.state;s&&(n=Object(m.a)(Object(m.a)({},n),s(n)));var c=n.theme||a.theme,l=function e(t,n){for(var o=[],r=2;r<arguments.length;r++)o[r-2]=arguments[r];for(var i={},a=0,s=o;a<s.length;a++){var c=s[a];c&&(c="function"==typeof c?c(t,n):c,Array.isArray(c)&&(c=e.apply(void 0,Object(m.e)([t,n],c))),Mb(i,c))}return i}(n,c,t.tokens,a.tokens,n.tokens),u=function(e,t,n){for(var o=[],r=3;r<arguments.length;r++)o[r-3]=arguments[r];return b.H.apply(void 0,o.map((function(o){return"function"==typeof o?o(e,t,n):o})))}(n,c,l,t.styles,a.styles,n.styles),d=Object(m.a)(Object(m.a)({},n),{styles:u,tokens:l,_defaultStyles:u,theme:c});return e(d)};return r.displayName=t.displayName||e.name,o&&(r.create=jb(r,{defaultProp:o})),Mb(r,t.statics),r}var Wb,qb={root:"ms-StackItem"},Gb={start:"flex-start",end:"flex-end"},Kb=Vb((function(e){var t=e.children;return g.Children.count(t)<1?null:Fb(Hb(e,{root:"div"}).root,null,t)}),{displayName:"StackItem",styles:function(e,t,n){var o=e.grow,r=e.shrink,i=e.disableShrink,a=e.align,s=e.verticalFill,c=e.order,l=e.className,u=Object(b.R)(qb,t);return{root:[t.fonts.medium,u.root,{margin:n.margin,height:s?"100%":"auto",width:"auto"},o&&{flexGrow:!0===o?1:o},(i||!o&&!r)&&{flexShrink:0},r&&!i&&{flexShrink:1},a&&{alignSelf:Gb[a]||a},c&&{order:c},l]}}}),Yb=function(e,t){return t.spacing.hasOwnProperty(e)?t.spacing[e]:e},Qb=function(e){var t=parseFloat(e),n=isNaN(t)?0:t,o=isNaN(t)?"":t.toString();return{value:n,unit:e.substring(o.toString().length)||"px"}},$b=function(e,t){if(void 0===e||"number"==typeof e||""===e)return e;var n=e.split(" ");return n.length<2?Yb(e,t):n.reduce((function(e,n){return Yb(e,t)+" "+Yb(n,t)}))},Zb={start:"flex-start",end:"flex-end"},Xb={root:"ms-Stack",inner:"ms-Stack-inner"},Jb=Vb((function(e){var t=e.as,n=void 0===t?"div":t,o=e.disableShrink,r=e.wrap,i=Object(m.d)(e,["as","disableShrink","wrap"]);Object(nt.a)("Stack",e,{gap:"tokens.childrenGap",maxHeight:"tokens.maxHeight",maxWidth:"tokens.maxWidth",padding:"tokens.padding"});var a=g.Children.map(e.children,(function(e,t){if(!e)return null;if((r=e)&&"object"==typeof r&&r.type&&r.type.displayName===Kb.displayName){var n={shrink:!o};return g.cloneElement(e,Object(m.a)(Object(m.a)({},n),e.props))}var r;return e})),s=Object(I.j)(i,I.k),c=Hb(e,{root:n,inner:"div"});return Fb(c.root,Object(m.a)({},s),r?Fb(c.inner,null,a):a)}),{displayName:"Stack",styles:function(e,t,n){var o,r,i,a,s,c,l,u=e.verticalFill,d=e.horizontal,p=e.reversed,h=e.grow,f=e.wrap,g=e.horizontalAlign,y=e.verticalAlign,v=e.disableShrink,_=e.className,S=Object(b.R)(Xb,t),C=n&&n.childrenGap?n.childrenGap:e.gap,x=n&&n.maxHeight?n.maxHeight:e.maxHeight,w=n&&n.maxWidth?n.maxWidth:e.maxWidth,T=n&&n.padding?n.padding:e.padding,k=function(e,t){if(void 0===e||""===e)return{rowGap:{value:0,unit:"px"},columnGap:{value:0,unit:"px"}};if("number"==typeof e)return{rowGap:{value:e,unit:"px"},columnGap:{value:e,unit:"px"}};var n=e.split(" ");if(n.length>2)return{rowGap:{value:0,unit:"px"},columnGap:{value:0,unit:"px"}};if(2===n.length)return{rowGap:Qb(Yb(n[0],t)),columnGap:Qb(Yb(n[1],t))};var o=Qb(Yb(e,t));return{rowGap:o,columnGap:o}}(C,t),I=k.rowGap,O=k.columnGap,E=""+-.5*O.value+O.unit,N=""+-.5*I.value+I.unit,P={textOverflow:"ellipsis"},D={"> *:not(.ms-StackItem)":{flexShrink:v?0:1}};return f?{root:[S.root,{flexWrap:"wrap",maxWidth:w,maxHeight:x,width:"auto",overflow:"visible",height:"100%"},g&&(o={},o[d?"justifyContent":"alignItems"]=Zb[g]||g,o),y&&(r={},r[d?"alignItems":"justifyContent"]=Zb[y]||y,r),_,{display:"flex"},d&&{height:u?"100%":"auto"}],inner:[S.inner,{display:"flex",flexWrap:"wrap",marginLeft:E,marginRight:E,marginTop:N,marginBottom:N,overflow:"visible",boxSizing:"border-box",padding:$b(T,t),width:0===O.value?"100%":"calc(100% + "+O.value+O.unit+")",maxWidth:"100vw",selectors:Object(m.a)({"> *":Object(m.a)({margin:""+.5*I.value+I.unit+" "+.5*O.value+O.unit},P)},D)},g&&(i={},i[d?"justifyContent":"alignItems"]=Zb[g]||g,i),y&&(a={},a[d?"alignItems":"justifyContent"]=Zb[y]||y,a),d&&{flexDirection:p?"row-reverse":"row",height:0===I.value?"100%":"calc(100% + "+I.value+I.unit+")",selectors:{"> *":{maxWidth:0===O.value?"100%":"calc(100% - "+O.value+O.unit+")"}}},!d&&{flexDirection:p?"column-reverse":"column",height:"calc(100% + "+I.value+I.unit+")",selectors:{"> *":{maxHeight:0===I.value?"100%":"calc(100% - "+I.value+I.unit+")"}}}]}:{root:[S.root,{display:"flex",flexDirection:d?p?"row-reverse":"row":p?"column-reverse":"column",flexWrap:"nowrap",width:"auto",height:u?"100%":"auto",maxWidth:w,maxHeight:x,padding:$b(T,t),boxSizing:"border-box",selectors:Object(m.a)((s={"> *":P},s[p?"> *:not(:last-child)":"> *:not(:first-child)"]=[d&&{marginLeft:""+O.value+O.unit},!d&&{marginTop:""+I.value+I.unit}],s),D)},h&&{flexGrow:!0===h?1:h},g&&(c={},c[d?"justifyContent":"alignItems"]=Zb[g]||g,c),y&&(l={},l[d?"alignItems":"justifyContent"]=Zb[y]||y,l),_]}},statics:{Item:Kb}});!function(e){e[e.Both=0]="Both",e[e.Header=1]="Header",e[e.Footer=2]="Footer"}(Wb||(Wb={}));var ey=function(e){function t(t){var n=e.call(this,t)||this;return n._root=g.createRef(),n._stickyContentTop=g.createRef(),n._stickyContentBottom=g.createRef(),n._nonStickyContent=g.createRef(),n._placeHolder=g.createRef(),n.syncScroll=function(e){var t=n.nonStickyContent;t&&n.props.isScrollSynced&&(t.scrollLeft=e.scrollLeft)},n._getContext=function(){return n.context},n._onScrollEvent=function(e,t){if(n.root&&n.nonStickyContent){var o=n._getNonStickyDistanceFromTop(e),r=!1,i=!1;n.canStickyTop&&(r=o-n._getStickyDistanceFromTop()<e.scrollTop),n.canStickyBottom&&e.clientHeight-t.offsetHeight<=o&&(i=o-Math.floor(e.scrollTop)>=n._getStickyDistanceFromTopForFooter(e,t)),document.activeElement&&n.nonStickyContent.contains(document.activeElement)&&(n.state.isStickyTop!==r||n.state.isStickyBottom!==i)?n._activeElement=document.activeElement:n._activeElement=void 0,n.setState({isStickyTop:n.canStickyTop&&r,isStickyBottom:i,distanceFromTop:o})}},n._getStickyDistanceFromTop=function(){var e=0;return n.stickyContentTop&&(e=n.stickyContentTop.offsetTop),e},n._getStickyDistanceFromTopForFooter=function(e,t){var o=0;return n.stickyContentBottom&&(o=e.clientHeight-t.offsetHeight+n.stickyContentBottom.offsetTop),o},n._getNonStickyDistanceFromTop=function(e){var t=0,o=n.root;if(o){for(;o&&o.offsetParent!==e;)t+=o.offsetTop,o=o.offsetParent;o&&o.offsetParent===e&&(t+=o.offsetTop)}return t},Object(be.a)(n),n.state={isStickyTop:!1,isStickyBottom:!1,distanceFromTop:void 0},n._activeElement=void 0,n}return Object(m.c)(t,e),Object.defineProperty(t.prototype,"root",{get:function(){return this._root.current},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"placeholder",{get:function(){return this._placeHolder.current},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"stickyContentTop",{get:function(){return this._stickyContentTop.current},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"stickyContentBottom",{get:function(){return this._stickyContentBottom.current},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"nonStickyContent",{get:function(){return this._nonStickyContent.current},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"canStickyTop",{get:function(){return this.props.stickyPosition===Wb.Both||this.props.stickyPosition===Wb.Header},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"canStickyBottom",{get:function(){return this.props.stickyPosition===Wb.Both||this.props.stickyPosition===Wb.Footer},enumerable:!0,configurable:!0}),t.prototype.componentDidMount=function(){var e=this._getContext().scrollablePane;e&&(e.subscribe(this._onScrollEvent),e.addSticky(this))},t.prototype.componentWillUnmount=function(){var e=this._getContext().scrollablePane;e&&(e.unsubscribe(this._onScrollEvent),e.removeSticky(this))},t.prototype.componentDidUpdate=function(e,t){var n=this._getContext().scrollablePane;if(n){var o=this.state,r=o.isStickyBottom,i=o.isStickyTop,a=o.distanceFromTop,s=!1;t.distanceFromTop!==a&&(n.sortSticky(this,!0),s=!0),t.isStickyTop===i&&t.isStickyBottom===r||(this._activeElement&&this._activeElement.focus(),n.updateStickyRefHeights(),s=!0),s&&n.syncScrollSticky(this)}},t.prototype.shouldComponentUpdate=function(e,t){if(!this.context.scrollablePane)return!0;var n=this.state,o=n.isStickyTop,r=n.isStickyBottom,i=n.distanceFromTop;return o!==t.isStickyTop||r!==t.isStickyBottom||this.props.stickyPosition!==e.stickyPosition||this.props.children!==e.children||i!==t.distanceFromTop||ty(this._nonStickyContent,this._stickyContentTop)||ty(this._nonStickyContent,this._stickyContentBottom)||ty(this._nonStickyContent,this._placeHolder)},t.prototype.render=function(){var e=this.state,t=e.isStickyTop,n=e.isStickyBottom,o=this.props,r=o.stickyClassName,i=o.children;return this.context.scrollablePane?g.createElement("div",{ref:this._root},this.canStickyTop&&g.createElement("div",{ref:this._stickyContentTop,"aria-hidden":!t,style:{pointerEvents:t?"auto":"none"}},g.createElement("div",{style:this._getStickyPlaceholderHeight(t)})),this.canStickyBottom&&g.createElement("div",{ref:this._stickyContentBottom,"aria-hidden":!n,style:{pointerEvents:n?"auto":"none"}},g.createElement("div",{style:this._getStickyPlaceholderHeight(n)})),g.createElement("div",{style:this._getNonStickyPlaceholderHeightAndWidth(),ref:this._placeHolder},(t||n)&&g.createElement("span",{style:b.Z},i),g.createElement("div",{"aria-hidden":t||n,ref:this._nonStickyContent,className:t||n?r:void 0,style:this._getContentStyles(t||n)},i))):g.createElement("div",null,this.props.children)},t.prototype.addSticky=function(e){this.nonStickyContent&&e.appendChild(this.nonStickyContent)},t.prototype.resetSticky=function(){this.nonStickyContent&&this.placeholder&&this.placeholder.appendChild(this.nonStickyContent)},t.prototype.setDistanceFromTop=function(e){var t=this._getNonStickyDistanceFromTop(e);this.setState({distanceFromTop:t})},t.prototype._getContentStyles=function(e){return{backgroundColor:this.props.stickyBackgroundColor||this._getBackground(),overflow:e?"hidden":""}},t.prototype._getStickyPlaceholderHeight=function(e){var t=this.nonStickyContent?this.nonStickyContent.offsetHeight:0;return{visibility:e?"hidden":"visible",height:e?0:t}},t.prototype._getNonStickyPlaceholderHeightAndWidth=function(){var e=this.state,t=e.isStickyTop,n=e.isStickyBottom;if(t||n){var o=0,r=0;return this.nonStickyContent&&this.nonStickyContent.firstElementChild&&(o=this.nonStickyContent.offsetHeight,r=this.nonStickyContent.firstElementChild.scrollWidth+(this.nonStickyContent.firstElementChild.offsetWidth-this.nonStickyContent.firstElementChild.clientWidth)),{height:o,width:r}}return{}},t.prototype._getBackground=function(){if(this.root){for(var e=this.root;"rgba(0, 0, 0, 0)"===window.getComputedStyle(e).getPropertyValue("background-color")||"transparent"===window.getComputedStyle(e).getPropertyValue("background-color");){if("HTML"===e.tagName)return;e.parentElement&&(e=e.parentElement)}return window.getComputedStyle(e).getPropertyValue("background-color")}},t.defaultProps={stickyPosition:Wb.Both,isScrollSynced:!0},t.contextType=yg,t}(g.Component);function ty(e,t){return e&&t&&e.current&&t.current&&e.current.offsetHeight!==t.current.offsetHeight}var ny=n(2),oy=Object(y.c)((function(e,t,n,o,r,i,a,s,c){var l=er(e);return Object(b.cb)({root:["ms-Button",l.root,n,t,a&&["is-checked",l.rootChecked],i&&["is-disabled",l.rootDisabled],!i&&!a&&{selectors:{":hover":l.rootHovered,":focus":l.rootFocused,":active":l.rootPressed}},i&&a&&[l.rootCheckedDisabled],!i&&a&&{selectors:{":hover":l.rootCheckedHovered,":active":l.rootCheckedPressed}}],flexContainer:["ms-Button-flexContainer",l.flexContainer]})})),ry=Object(w.a)(),iy=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(m.c)(t,e),t}(Dh),ay=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._onRenderColorOption=function(e){return g.createElement("svg",{className:t._classNames.svg,viewBox:"0 0 20 20",fill:Es(e.color).str},t.props.circle?g.createElement("circle",{cx:"50%",cy:"50%",r:"50%"}):g.createElement("rect",{width:"100%",height:"100%"}))},t}return Object(m.c)(t,e),t.prototype.render=function(){var e=this.props,t=e.item,n=e.idPrefix,o=void 0===n?this.props.id:n,r=e.selected,i=e.disabled,a=e.styles,s=e.theme,c=e.circle,l=e.color,u=e.onClick,d=e.onHover,p=e.onFocus,h=e.onMouseEnter,f=e.onMouseMove,m=e.onMouseLeave,b=e.onWheel,y=e.onKeyDown,v=e.height,_=e.width,S=e.borderWidth;return this._classNames=ry(a,{theme:s,disabled:i,selected:r,circle:c,isWhite:this._isWhiteCell(l),height:v,width:_,borderWidth:S}),g.createElement(iy,{item:t,id:o+"-"+t.id+"-"+t.index,key:t.id,disabled:i,role:"gridcell",onRenderItem:this._onRenderColorOption,selected:r,onClick:u,onHover:d,onFocus:p,label:t.label,className:this._classNames.colorCell,getClassNames:oy,index:t.index,onMouseEnter:h,onMouseMove:f,onMouseLeave:m,onWheel:b,onKeyDown:y})},t.prototype._isWhiteCell=function(e){return"ffffff"===Es(e).hex},t.defaultProps={circle:!0,disabled:!1,selected:!1},t}(g.PureComponent),sy={left:-2,top:-2,bottom:-2,right:-2,border:"none",outlineColor:"ButtonText"},cy=Object(x.a)(ay,(function(e){var t,n,o,r,i,a=e.theme,s=e.disabled,c=e.selected,l=e.circle,u=e.isWhite,d=e.height,p=void 0===d?20:d,h=e.width,f=void 0===h?20:h,m=e.borderWidth,g=a.semanticColors,y=a.palette,v=y.neutralLighter,_=y.neutralLight,S=y.neutralSecondary,C=y.neutralTertiary,x=m||(f<24?2:4);return{colorCell:[Object(b.Q)(a,{inset:-1,position:"relative",highContrastStyle:sy}),{backgroundColor:g.bodyBackground,padding:0,position:"relative",boxSizing:"border-box",display:"inline-block",cursor:"pointer",userSelect:"none",borderRadius:0,border:"none",height:p,width:f},!l&&{selectors:(t={},t["."+Fn.a+" &:focus::after"]={outlineOffset:x-1+"px"},t)},l&&{borderRadius:"50%",selectors:(n={},n["."+Fn.a+" &:focus::after"]={outline:"none",borderColor:g.focusBorder,borderRadius:"50%",left:-x,right:-x,top:-x,bottom:-x,selectors:(o={},o[b.l]={outline:"1px solid ButtonText"},o)},n)},c&&{padding:2,border:x+"px solid "+_,selectors:(r={},r["&:hover::before"]={content:'""',height:p,width:f,position:"absolute",top:-x,left:-x,borderRadius:l?"50%":"default",boxShadow:"inset 0 0 0 1px "+S},r)},!c&&{selectors:(i={},i["&:hover, &:active, &:focus"]={backgroundColor:g.bodyBackground,padding:2,border:x+"px solid "+v},i["&:focus"]={borderColor:g.bodyBackground,padding:0,selectors:{":hover":{borderColor:a.palette.neutralLight,padding:2}}},i)},s&&{color:g.disabledBodyText,pointerEvents:"none",opacity:.3},u&&!c&&{backgroundColor:C,padding:1}],svg:[{width:"100%",height:"100%"},l&&{borderRadius:"50%"}]}}),void 0,{scope:"ColorPickerGridCell"},!0),ly=Object(w.a)(),uy=function(e){function t(t){var n,o=e.call(this,t)||this;return o.navigationIdleDelay=250,o._getItemsWithIndex=Object(y.c)((function(e){return e.map((function(e,t){return Object(m.a)(Object(m.a)({},e),{index:t})}))})),o._onSwatchColorPickerBlur=function(){o.props.onCellFocused&&(o._cellFocused=!1,o.props.onCellFocused())},o._renderOption=function(e){var t=o.props,n=o._id;return g.createElement(cy,{item:e,idPrefix:n,color:e.color,styles:t.getColorGridCellStyles,disabled:t.disabled,onClick:o._onCellClick,onHover:o._onGridCellHovered,onFocus:o._onGridCellFocused,selected:void 0!==o.state.selectedIndex&&o.state.selectedIndex===e.index,circle:"circle"===t.cellShape,label:e.label,onMouseEnter:o._onMouseEnter,onMouseMove:o._onMouseMove,onMouseLeave:o._onMouseLeave,onWheel:o._onWheel,onKeyDown:o._onKeyDown,height:t.cellHeight,width:t.cellWidth,borderWidth:t.cellBorderWidth})},o._onMouseEnter=function(e){return o.props.focusOnHover?(o.isNavigationIdle&&!o.props.disabled&&e.currentTarget.focus(),!0):!o.isNavigationIdle||!!o.props.disabled},o._onMouseMove=function(e){if(!o.props.focusOnHover)return!o.isNavigationIdle||!!o.props.disabled;var t=e.currentTarget;return!o.isNavigationIdle||document&&t===document.activeElement||t.focus(),!0},o._onMouseLeave=function(e){var t=o.props.mouseLeaveParentSelector;if(o.props.focusOnHover&&t&&o.isNavigationIdle&&!o.props.disabled)for(var n=document.querySelectorAll(t),r=0;r<n.length;r+=1)if(n[r].contains(e.currentTarget)){if(n[r].setActive)try{n[r].setActive()}catch(e){}else n[r].focus();break}},o._onWheel=function(){o.setNavigationTimeout()},o._onKeyDown=function(e){e.which!==ge.a.up&&e.which!==ge.a.down&&e.which!==ge.a.left&&e.which!==ge.a.right||o.setNavigationTimeout()},o.setNavigationTimeout=function(){o.isNavigationIdle||void 0===o.navigationIdleTimeoutId?o.isNavigationIdle=!1:(o.async.clearTimeout(o.navigationIdleTimeoutId),o.navigationIdleTimeoutId=void 0),o.navigationIdleTimeoutId=o.async.setTimeout((function(){o.isNavigationIdle=!0}),o.navigationIdleDelay)},o._onGridCellHovered=function(e){var t=o.props.onCellHovered;if(t)return e?t(e.id,e.color):t()},o._onGridCellFocused=function(e){var t=o.props.onCellFocused;if(t)return e?(o._cellFocused=!0,t(e.id,e.color)):(o._cellFocused=!1,t())},o._onCellClick=function(e){if(!o.props.disabled){var t=e.index;t>=0&&t!==o.state.selectedIndex&&(o.props.onCellFocused&&o._cellFocused&&(o._cellFocused=!1,o.props.onCellFocused()),o.props.onColorChanged&&o.props.onColorChanged(e.id,e.color),!0!==o.props.isControlled&&o.setState({selectedIndex:t}))}},o._id=t.id||Object(Pe.a)("swatchColorPicker"),o.isNavigationIdle=!0,o.async=new ye.a(o),t.selectedId&&(n=o._getSelectedIndex(t.colorCells,t.selectedId)),o.state={selectedIndex:n},o}return Object(m.c)(t,e),t.prototype.UNSAFE_componentWillReceiveProps=function(e){void 0!==e.selectedId&&this.setState({selectedIndex:this._getSelectedIndex(e.colorCells,e.selectedId)})},t.prototype.componentWillUnmount=function(){this.props.onCellFocused&&this._cellFocused&&(this._cellFocused=!1,this.props.onCellFocused()),this.async.dispose()},t.prototype.render=function(){var e=this.props,t=e.colorCells,n=e.columnCount,o=e.ariaPosInSet,r=void 0===o?this.props.positionInSet:o,i=e.ariaSetSize,a=void 0===i?this.props.setSize:i,s=e.shouldFocusCircularNavigate,c=e.className,l=e.doNotContainWithinFocusZone,u=e.styles,d=e.cellMargin,p=ly(u,{theme:this.props.theme,className:c,cellMargin:d});return t.length<1||n<1?null:g.createElement(Ph,Object(m.a)({},this.props,{id:this._id,items:this._getItemsWithIndex(t),columnCount:n,onRenderItem:this._renderOption,ariaPosInSet:r,ariaSetSize:a,shouldFocusCircularNavigate:s,doNotContainWithinFocusZone:l,onBlur:this._onSwatchColorPickerBlur,theme:this.props.theme,styles:{root:p.root,tableCell:p.tableCell,focusedContainer:p.focusedContainer}}))},t.prototype._getSelectedIndex=function(e,t){var n=Object(qe.e)(e,(function(e){return e.id===t}));return n>=0?n:void 0},t.defaultProps={cellShape:"circle",disabled:!1,shouldFocusCircularNavigate:!0,cellMargin:10},t}(g.Component),dy={focusedContainer:"ms-swatchColorPickerBodyContainer"},py=Object(x.a)(uy,(function(e){var t=e.className,n=e.theme;return{root:{margin:"8px 0",borderCollapse:"collapse"},tableCell:{padding:e.cellMargin/2},focusedContainer:[Object(b.R)(dy,n).focusedContainer,{clear:"both",display:"block",minWidth:"180px"},t]}}),void 0,{scope:"SwatchColorPicker"}),hy=Object(w.a)(),fy=function(e){function t(t){var n=e.call(this,t)||this;return n.rootElement=g.createRef(),n._onKeyDown=function(e){n.props.onDismiss&&e.which===ge.a.escape&&n.props.onDismiss()},Object(be.a)(n),n.state={},n}return Object(m.c)(t,e),t.prototype.componentDidMount=function(){this.props.onDismiss&&document.addEventListener("keydown",this._onKeyDown,!1)},t.prototype.componentWillUnmount=function(){this.props.onDismiss&&document.removeEventListener("keydown",this._onKeyDown)},t.prototype.focus=function(){this.rootElement.current&&this.rootElement.current.focus()},t.prototype.render=function(){var e,t,n,o,r,i=this.props,a=i.children,s=i.illustrationImage,c=i.primaryButtonProps,l=i.secondaryButtonProps,u=i.headline,d=i.hasCondensedHeadline,p=i.hasCloseButton,h=void 0===p?this.props.hasCloseIcon:p,f=i.onDismiss,b=i.closeButtonAriaLabel,y=i.hasSmallHeadline,v=i.isWide,_=i.styles,S=i.theme,C=i.ariaDescribedBy,x=i.ariaLabelledBy,w=i.footerContent,T=i.focusTrapZoneProps,k=hy(_,{theme:S,hasCondensedHeadline:d,hasSmallHeadline:y,hasCloseButton:h,hasHeadline:!!u,isWide:v,primaryButtonClassName:c?c.className:void 0,secondaryButtonClassName:l?l.className:void 0});if(s&&s.src&&(e=g.createElement("div",{className:k.imageContent},g.createElement(H,Object(m.a)({},s)))),u){var I="string"==typeof u?"p":"div";t=g.createElement("div",{className:k.header},g.createElement(I,{role:"heading",className:k.headline,id:x},u))}if(a){var O="string"==typeof a?"p":"div";n=g.createElement("div",{className:k.body},g.createElement(O,{className:k.subText,id:C},a))}return(c||l||w)&&(o=g.createElement(Jb,{className:k.footer,horizontal:!0,horizontalAlign:w?"space-between":"end"},g.createElement(Jb.Item,{align:"center"},g.createElement("span",null,w)),g.createElement(Jb.Item,null,l&&g.createElement(Jo,Object(m.a)({},l,{className:k.secondaryButton})),c&&g.createElement(rr,Object(m.a)({},c,{className:k.primaryButton}))))),h&&(r=g.createElement(go,{className:k.closeButton,iconProps:{iconName:"Cancel"},title:b,ariaLabel:b,onClick:f})),g.createElement("div",{className:k.content,ref:this.rootElement,role:"dialog",tabIndex:-1,"aria-labelledby":x,"aria-describedby":C,"data-is-focusable":!0},e,g.createElement(Ea,Object(m.a)({isClickableOutsideFocusTrap:!0},T),g.createElement("div",{className:k.bodyContent},t,n,o,r)))},t.defaultProps={hasCondensedHeadline:!1,imageProps:{imageFit:p.cover,width:364,height:130}},t}(g.Component),my={root:"ms-TeachingBubble",body:"ms-TeachingBubble-body",bodyContent:"ms-TeachingBubble-bodycontent",closeButton:"ms-TeachingBubble-closebutton",content:"ms-TeachingBubble-content",footer:"ms-TeachingBubble-footer",header:"ms-TeachingBubble-header",headerIsCondensed:"ms-TeachingBubble-header--condensed",headerIsSmall:"ms-TeachingBubble-header--small",headerIsLarge:"ms-TeachingBubble-header--large",headline:"ms-TeachingBubble-headline",image:"ms-TeachingBubble-image",primaryButton:"ms-TeachingBubble-primaryButton",secondaryButton:"ms-TeachingBubble-secondaryButton",subText:"ms-TeachingBubble-subText",button:"ms-Button",buttonLabel:"ms-Button-label"},gy=Object(y.c)((function(){return Object(b.ab)({"0%":{opacity:0,animationTimingFunction:b.c.easeFunction1,transform:"scale3d(.90,.90,.90)"},"100%":{opacity:1,transform:"scale3d(1,1,1)"}})})),by=function(e,t){var n=t||{},o=n.calloutWidth,r=n.calloutMaxWidth;return[{display:"block",maxWidth:364,border:0,outline:"transparent",width:o||"calc(100% + 1px)",animationName:""+gy(),animationDuration:"300ms",animationTimingFunction:"linear",animationFillMode:"both"},e&&{maxWidth:r||456}]},yy=function(e,t,n){return t?[e.headerIsCondensed,{marginBottom:14}]:[n&&e.headerIsSmall,!n&&e.headerIsLarge,{selectors:{":not(:last-child)":{marginBottom:14}}}]},vy=function(e){var t,n,o,r=e.hasCondensedHeadline,i=e.hasSmallHeadline,a=e.hasCloseButton,s=e.hasHeadline,c=e.isWide,l=e.primaryButtonClassName,u=e.secondaryButtonClassName,d=e.theme,p=e.calloutProps,h=void 0===p?{className:void 0,theme:d}:p,f=!r&&!i,g=d.palette,y=d.semanticColors,v=d.fonts,_=Object(b.R)(my,d);return{root:[_.root,v.medium,h.className],body:[_.body,a&&!s&&{marginRight:24},{selectors:{":not(:last-child)":{marginBottom:20}}}],bodyContent:[_.bodyContent,{padding:"20px 24px 20px 24px"}],closeButton:[_.closeButton,{position:"absolute",right:0,top:0,margin:"15px 15px 0 0",borderRadius:0,color:g.white,fontSize:v.small.fontSize,selectors:{":hover":{background:g.themeDarkAlt,color:g.white},":active":{background:g.themeDark,color:g.white},":focus":{border:"1px solid "+y.variantBorder}}}],content:Object(m.e)([_.content],by(c),[c&&{display:"flex"}]),footer:[_.footer,{display:"flex",flex:"auto",alignItems:"center",color:g.white,selectors:(t={},t["."+_.button+":not(:first-child)"]={marginLeft:10},t)}],header:Object(m.e)([_.header],yy(_,r,i),[a&&{marginRight:24},(r||i)&&[v.medium,{fontWeight:b.k.semibold}]]),headline:[_.headline,{margin:0,color:g.white,fontWeight:b.k.semibold},f&&[{fontSize:v.xLarge.fontSize}]],imageContent:[_.header,_.image,c&&{display:"flex",alignItems:"center",maxWidth:154}],primaryButton:[_.primaryButton,l,{backgroundColor:g.white,borderColor:g.white,color:g.themePrimary,whiteSpace:"nowrap",selectors:(n={},n["."+_.buttonLabel]=v.medium,n[":hover"]={backgroundColor:g.themeLighter,borderColor:g.themeLighter,color:g.themePrimary},n[":focus"]={backgroundColor:g.themeLighter,borderColor:g.white},n[":active"]={backgroundColor:g.white,borderColor:g.white,color:g.themePrimary},n)}],secondaryButton:[_.secondaryButton,u,{backgroundColor:g.themePrimary,borderColor:g.white,whiteSpace:"nowrap",selectors:(o={},o["."+_.buttonLabel]=[v.medium,{color:g.white}],o["&:hover, &:focus"]={backgroundColor:g.themeDarkAlt,borderColor:g.white},o[":active"]={backgroundColor:g.themePrimary,borderColor:g.white},o)}],subText:[_.subText,{margin:0,fontSize:v.medium.fontSize,color:g.white,fontWeight:b.k.regular}],subComponentStyles:{callout:{root:Object(m.e)(by(c,h),[v.medium]),beak:[{background:g.themePrimary}],calloutMain:[{background:g.themePrimary}]}}}},_y=Object(x.a)(fy,vy,void 0,{scope:"TeachingBubbleContent"}),Sy=Object(w.a)(),Cy=function(e){function t(t){var n=e.call(this,t)||this;return n.rootElement=g.createRef(),Object(be.a)(n),n.state={},n._defaultCalloutProps={beakWidth:16,gapSpace:0,setInitialFocus:!0,doNotLayer:!1,directionalHint:st.rightCenter},n}return Object(m.c)(t,e),t.prototype.focus=function(){this.rootElement.current&&this.rootElement.current.focus()},t.prototype.render=function(){var e=this.props,t=e.calloutProps,n=e.targetElement,o=e.onDismiss,r=e.hasCloseButton,i=void 0===r?this.props.hasCloseIcon:r,a=e.isWide,s=e.styles,c=e.theme,l=e.target,u=Object(m.a)(Object(m.a)({},this._defaultCalloutProps),t),d={theme:c,isWide:a,calloutProps:Object(m.a)(Object(m.a)({},u),{theme:u.theme}),hasCloseButton:i},p=Sy(s,d),h=p.subComponentStyles?p.subComponentStyles.callout:void 0;return g.createElement(Nn,Object(m.a)({target:l||n,onDismiss:o},u,{className:p.root,styles:h,hideOverflow:!0}),g.createElement("div",{ref:this.rootElement},g.createElement(_y,Object(m.a)({},this.props))))},t.defaultProps={calloutProps:{beakWidth:16,gapSpace:0,setInitialFocus:!0,doNotLayer:!1,directionalHint:st.rightCenter}},t}(g.Component),xy=Object(x.a)(Cy,vy,void 0,{scope:"TeachingBubble"}),wy=function(e){if(0===g.Children.count(e.children))return null;e.block,e.className;var t=e.as,n=void 0===t?"span":t,o=(e.variant,e.nowrap,Object(m.d)(e,["block","className","as","variant","nowrap"]));return Fb(Hb(e,{root:n}).root,Object(m.a)({},Object(I.j)(o,I.k)))},Ty=function(e,t){var n=e.as,o=e.className,r=e.block,i=e.nowrap,a=e.variant,s=t.fonts[a||"medium"];return{root:[t.fonts.medium,{display:r?"td"===n?"table-cell":"block":"inline",fontFamily:s.fontFamily,fontSize:s.fontSize,fontWeight:s.fontWeight,color:s.color,mozOsxFontSmoothing:s.MozOsxFontSmoothing,webkitFontSmoothing:s.WebkitFontSmoothing},i&&{whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"},o]}},ky=Vb(wy,{displayName:"Text",styles:Ty}),Iy={9:/[0-9]/,a:/[a-zA-Z]/,"*":/[a-zA-Z0-9]/};function Oy(e,t){if(void 0===t&&(t=Iy),!e)return[];for(var n=[],o=0,r=0;r+o<e.length;r++){var i=e.charAt(r+o);if("\\"===i)o++;else{var a=t[i];a&&n.push({displayIndex:r,format:a})}}return n}function Ey(e,t,n){var o=e;if(!o)return"";o=o.replace(/\\/g,"");var r=0;t.length>0&&(r=t[0].displayIndex-1);for(var i=0,a=t;i<a.length;i++){var s=a[i],c=" ";s.value?(c=s.value,s.displayIndex>r&&(r=s.displayIndex)):n&&(c=n),o=o.slice(0,s.displayIndex)+c+o.slice(s.displayIndex+1)}return n||(o=o.slice(0,r+1)),o}function Ny(e,t){for(var n=0;n<e.length;n++)if(e[n].displayIndex>=t)return e[n].displayIndex;return e[e.length-1].displayIndex}function Py(e,t,n){for(var o=0;o<e.length;o++)if(e[o].displayIndex>=t){if(e[o].displayIndex>=t+n)break;e[o].value=void 0}return e}function Dy(e,t,n){for(var o=0,r=0,i=!1,a=0;a<e.length&&o<n.length;a++)if(e[a].displayIndex>=t)for(i=!0,r=e[a].displayIndex;o<n.length;){if(e[a].format.test(n.charAt(o))){e[a].value=n.charAt(o++),a+1<e.length?r=e[a+1].displayIndex:r++;break}o++}return i?r:t}var Ay,Ry,My,Fy=function(e){function t(t){var n=e.call(this,t)||this;return n._textField=g.createRef(),n._onFocus=function(e){n.props.onFocus&&n.props.onFocus(e),n._isFocused=!0;for(var t=0;t<n._maskCharData.length;t++)if(!n._maskCharData[t].value){n.setState({maskCursorPosition:n._maskCharData[t].displayIndex});break}},n._onBlur=function(e){n.props.onBlur&&n.props.onBlur(e),n._isFocused=!1,n._moveCursorOnMouseUp=!0},n._onMouseDown=function(e){n.props.onMouseDown&&n.props.onMouseDown(e),n._isFocused||(n._moveCursorOnMouseUp=!0)},n._onMouseUp=function(e){if(n.props.onMouseUp&&n.props.onMouseUp(e),n._moveCursorOnMouseUp){n._moveCursorOnMouseUp=!1;for(var t=0;t<n._maskCharData.length;t++)if(!n._maskCharData[t].value){n.setState({maskCursorPosition:n._maskCharData[t].displayIndex});break}}},n._onInputChange=function(e,t){var o=n._textField.current;if(null===n._changeSelectionData&&o&&(n._changeSelectionData={changeType:"default",selectionStart:null!==o.selectionStart?o.selectionStart:-1,selectionEnd:null!==o.selectionEnd?o.selectionEnd:-1}),n._changeSelectionData){var r=n.state.displayValue,i=0,a=n._changeSelectionData,s=a.changeType,c=a.selectionStart,l=a.selectionEnd;if("textPasted"===s){var u=l-c,d=t.length+u-r.length,p=c,h=t.substr(p,d);u&&(n._maskCharData=Py(n._maskCharData,c,u)),i=Dy(n._maskCharData,p,h)}else if("delete"===s||"backspace"===s){var f="delete"===s;(d=l-c)?(n._maskCharData=Py(n._maskCharData,c,d),i=Ny(n._maskCharData,c)):f?(n._maskCharData=function(e,t){for(var n=0;n<e.length;n++)if(e[n].displayIndex>=t){e[n].value=void 0;break}return e}(n._maskCharData,c),i=Ny(n._maskCharData,c)):(n._maskCharData=function(e,t){for(var n=e.length-1;n>=0;n--)if(e[n].displayIndex<t){e[n].value=void 0;break}return e}(n._maskCharData,c),i=function(e,t){for(var n=e.length-1;n>=0;n--)if(e[n].displayIndex<t)return e[n].displayIndex;return e[0].displayIndex}(n._maskCharData,c))}else if(t.length>r.length){p=l-(d=t.length-r.length);var m=t.substr(p,d);i=Dy(n._maskCharData,p,m)}else if(t.length<=r.length){d=1;var g=r.length+d-t.length;p=l-d,m=t.substr(p,d),n._maskCharData=Py(n._maskCharData,p,g),i=Dy(n._maskCharData,p,m)}n._changeSelectionData=null;var b=Ey(n.props.mask,n._maskCharData,n.props.maskChar);n.setState({displayValue:b,maskCursorPosition:i}),n.props.onChange&&n.props.onChange(e,b)}},n._onKeyDown=function(e){var t=n._textField.current;if(n.props.onKeyDown&&n.props.onKeyDown(e),n._changeSelectionData=null,t&&t.value){var o=e.keyCode,r=e.ctrlKey,i=e.metaKey;if(r||i)return;if(o===ge.a.backspace||o===ge.a.del){var a=e.target.selectionStart,s=e.target.selectionEnd;if(!(o===ge.a.backspace&&s&&s>0||o===ge.a.del&&null!==a&&a<t.value.length))return;n._changeSelectionData={changeType:o===ge.a.backspace?"backspace":"delete",selectionStart:null!==a?a:-1,selectionEnd:null!==s?s:-1}}}},n._onPaste=function(e){n.props.onPaste&&n.props.onPaste(e);var t=e.target.selectionStart,o=e.target.selectionEnd;n._changeSelectionData={changeType:"textPasted",selectionStart:null!==t?t:-1,selectionEnd:null!==o?o:-1}},Object(be.a)(n),n._maskCharData=Oy(t.mask,t.maskFormat),void 0!==t.value&&n.setValue(t.value),n._isFocused=!1,n._moveCursorOnMouseUp=!1,n.state={displayValue:Ey(t.mask,n._maskCharData,t.maskChar)},n}return Object(m.c)(t,e),t.prototype.UNSAFE_componentWillReceiveProps=function(e){e.mask===this.props.mask&&e.value===this.props.value||(this._maskCharData=Oy(e.mask,e.maskFormat),void 0!==e.value&&this.setValue(e.value),this.setState({displayValue:Ey(e.mask,this._maskCharData,e.maskChar)}))},t.prototype.componentDidUpdate=function(){this._isFocused&&void 0!==this.state.maskCursorPosition&&this._textField.current&&this._textField.current.setSelectionRange(this.state.maskCursorPosition,this.state.maskCursorPosition)},t.prototype.render=function(){return g.createElement(lc,Object(m.a)({},this.props,{onFocus:this._onFocus,onBlur:this._onBlur,onMouseDown:this._onMouseDown,onMouseUp:this._onMouseUp,onChange:this._onInputChange,onKeyDown:this._onKeyDown,onPaste:this._onPaste,value:this.state.displayValue||"",componentRef:this._textField}))},Object.defineProperty(t.prototype,"value",{get:function(){for(var e="",t=0;t<this._maskCharData.length;t++){if(!this._maskCharData[t].value)return;e+=this._maskCharData[t].value}return e},enumerable:!0,configurable:!0}),t.prototype.setValue=function(e){for(var t=0,n=0;t<e.length&&n<this._maskCharData.length;){var o=e[t];this._maskCharData[n].format.test(o)&&(this._maskCharData[n].value=o,n++),t++}},t.prototype.focus=function(){var e=this._textField.current;e&&e.focus()},t.prototype.blur=function(){var e=this._textField.current;e&&e.blur()},t.prototype.select=function(){var e=this._textField.current;e&&e.select()},t.prototype.setSelectionStart=function(e){var t=this._textField.current;t&&t.setSelectionStart(e)},t.prototype.setSelectionEnd=function(e){var t=this._textField.current;t&&t.setSelectionEnd(e)},t.prototype.setSelectionRange=function(e,t){var n=this._textField.current;n&&n.setSelectionRange(e,t)},Object.defineProperty(t.prototype,"selectionStart",{get:function(){var e=this._textField.current;return e&&null!==e.selectionStart?e.selectionStart:-1},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"selectionEnd",{get:function(){var e=this._textField.current;return e&&e.selectionEnd?e.selectionEnd:-1},enumerable:!0,configurable:!0}),t.defaultProps={maskChar:"_",maskFormat:Iy},t}(g.Component),jy=function(){function e(){}return e.setSlot=function(t,n,o,r,i){if(void 0===o&&(o=!1),void 0===r&&(r=!1),void 0===i&&(i=!0),t.color||!t.value)if(i){var a=void 0;if("string"==typeof n){if(!(a=Es(n)))throw"color is invalid in setSlot(): "+n}else a=n;e._setSlot(t,a,o,r,i)}else t.color&&e._setSlot(t,t.color,o,r,i)},e.insureSlots=function(t,n){for(var o in t)if(t.hasOwnProperty(o)){var r=t[o];if(!r.inherits&&!r.value){if(!r.color)throw"A color slot rule that does not inherit must provide its own color.";e._setSlot(r,r.color,n,!1,!1)}}},e.getThemeAsJson=function(e){var t={};for(var n in e)if(e.hasOwnProperty(n)){var o=e[n];t[o.name]=o.color?o.color.str:o.value||""}return t},e.getThemeAsCode=function(t){return e._makeRemainingCode("loadTheme({\n  palette: {\n",t)},e.getThemeAsCodeWithCreateTheme=function(t){return e._makeRemainingCode("const myTheme = createTheme({\n  palette: {\n",t)},e.getThemeAsSass=function(e){var t="";for(var n in e)if(e.hasOwnProperty(n)){var o=e[n],r=o.name.charAt(0).toLowerCase()+o.name.slice(1);t+=Object(dr.a)('${0}Color: "[theme: {1}, default: {2}]";\n',r,r,o.color?o.color.str:o.value||"")}return t},e.getThemeForPowerShell=function(e){var t="";for(var n in e)if(e.hasOwnProperty(n)){var o=e[n];if(o.value)continue;var r=o.name.charAt(0).toLowerCase()+o.name.slice(1),i=o.color?"#"+o.color.hex:o.value||"";o.color&&o.color.a&&100!==o.color.a&&(i+=String(o.color.a.toString(16))),t+=Object(dr.a)('"{0}" = "{1}";\n',r,i)}return"@{\n"+t+"}"},e._setSlot=function(t,n,o,r,i){if(void 0===i&&(i=!0),(t.color||!t.value)&&(i||!t.color||!t.isCustomized||!t.inherits)){!i&&t.isCustomized||r||!t.inherits||!Ys(t.asShade)?(t.color=n,t.isCustomized=!0):(t.isBackgroundShade?t.color=Js(n,t.asShade,o):t.color=Xs(n,t.asShade,o),t.isCustomized=!1);for(var a=0,s=t.dependentRules;a<s.length;a++){var c=s[a];e._setSlot(c,t.color,o,!1,i)}}},e._makeRemainingCode=function(e,t){for(var n in t)if(t.hasOwnProperty(n)){var o=t[n],r=o.name.charAt(0).toLowerCase()+o.name.slice(1),i=o.color?"#"+o.color.hex:o.value||"";e+=Object(dr.a)("    {0}: '{1}',\n",r,i)}return e+"  }});"},e}();function Ly(){var e={};function t(t,n,o,r){void 0===r&&(r=!1);var i=e[Ay[n]],a={name:t,inherits:i,asShade:o,isCustomized:!1,isBackgroundShade:r,dependentRules:[]};e[t]=a,i.dependentRules.push(a)}return Object(ot.c)(Ay,(function(t){e[t]={name:t,isCustomized:!0,dependentRules:[]},Object(ot.c)(Hs,(function(n,o){if(n!==Hs[Hs.Unshaded]){var r=e[t],i={name:t+n,inherits:e[t],asShade:o,isCustomized:!1,isBackgroundShade:t===Ay[Ay.backgroundColor],dependentRules:[]};e[t+n]=i,r.dependentRules.push(i)}}))})),e[Ay[Ay.primaryColor]].color=Es("#0078d4"),e[Ay[Ay.backgroundColor]].color=Es("#ffffff"),e[Ay[Ay.foregroundColor]].color=Es("#323130"),t(Ry[Ry.themePrimary],Ay.primaryColor,Hs.Unshaded),t(Ry[Ry.themeLighterAlt],Ay.primaryColor,Hs.Shade1),t(Ry[Ry.themeLighter],Ay.primaryColor,Hs.Shade2),t(Ry[Ry.themeLight],Ay.primaryColor,Hs.Shade3),t(Ry[Ry.themeTertiary],Ay.primaryColor,Hs.Shade4),t(Ry[Ry.themeSecondary],Ay.primaryColor,Hs.Shade5),t(Ry[Ry.themeDarkAlt],Ay.primaryColor,Hs.Shade6),t(Ry[Ry.themeDark],Ay.primaryColor,Hs.Shade7),t(Ry[Ry.themeDarker],Ay.primaryColor,Hs.Shade8),t(Ry[Ry.neutralLighterAlt],Ay.backgroundColor,Hs.Shade1,!0),t(Ry[Ry.neutralLighter],Ay.backgroundColor,Hs.Shade2,!0),t(Ry[Ry.neutralLight],Ay.backgroundColor,Hs.Shade3,!0),t(Ry[Ry.neutralQuaternaryAlt],Ay.backgroundColor,Hs.Shade4,!0),t(Ry[Ry.neutralQuaternary],Ay.backgroundColor,Hs.Shade5,!0),t(Ry[Ry.neutralTertiaryAlt],Ay.backgroundColor,Hs.Shade6,!0),t(Ry[Ry.neutralTertiary],Ay.foregroundColor,Hs.Shade3),t(Ry[Ry.neutralSecondary],Ay.foregroundColor,Hs.Shade4),t(Ry[Ry.neutralPrimaryAlt],Ay.foregroundColor,Hs.Shade5),t(Ry[Ry.neutralPrimary],Ay.foregroundColor,Hs.Unshaded),t(Ry[Ry.neutralDark],Ay.foregroundColor,Hs.Shade7),t(Ry[Ry.black],Ay.foregroundColor,Hs.Shade8),t(Ry[Ry.white],Ay.backgroundColor,Hs.Unshaded,!0),e[Ry[Ry.neutralLighterAlt]].color=Es("#faf9f8"),e[Ry[Ry.neutralLighter]].color=Es("#f3f2f1"),e[Ry[Ry.neutralLight]].color=Es("#edebe9"),e[Ry[Ry.neutralQuaternaryAlt]].color=Es("#e1dfdd"),e[Ry[Ry.neutralDark]].color=Es("#201f1e"),e[Ry[Ry.neutralTertiaryAlt]].color=Es("#c8c6c4"),e[Ry[Ry.black]].color=Es("#000000"),e[Ry[Ry.neutralDark]].color=Es("#201f1e"),e[Ry[Ry.neutralPrimaryAlt]].color=Es("#3b3a39"),e[Ry[Ry.neutralSecondary]].color=Es("#605e5c"),e[Ry[Ry.neutralTertiary]].color=Es("#a19f9d"),e[Ry[Ry.white]].color=Es("#ffffff"),e[Ry[Ry.themeDarker]].color=Es("#004578"),e[Ry[Ry.themeDark]].color=Es("#005a9e"),e[Ry[Ry.themeDarkAlt]].color=Es("#106ebe"),e[Ry[Ry.themeSecondary]].color=Es("#2b88d8"),e[Ry[Ry.themeTertiary]].color=Es("#71afe5"),e[Ry[Ry.themeLight]].color=Es("#c7e0f4"),e[Ry[Ry.themeLighter]].color=Es("#deecf9"),e[Ry[Ry.themeLighterAlt]].color=Es("#eff6fc"),e[Ry[Ry.neutralLighterAlt]].isCustomized=!0,e[Ry[Ry.neutralLighter]].isCustomized=!0,e[Ry[Ry.neutralLight]].isCustomized=!0,e[Ry[Ry.neutralQuaternaryAlt]].isCustomized=!0,e[Ry[Ry.neutralDark]].isCustomized=!0,e[Ry[Ry.neutralTertiaryAlt]].isCustomized=!0,e[Ry[Ry.black]].isCustomized=!0,e[Ry[Ry.neutralDark]].isCustomized=!0,e[Ry[Ry.neutralPrimaryAlt]].isCustomized=!0,e[Ry[Ry.neutralSecondary]].isCustomized=!0,e[Ry[Ry.neutralTertiary]].isCustomized=!0,e[Ry[Ry.white]].isCustomized=!0,e[Ry[Ry.themeDarker]].isCustomized=!0,e[Ry[Ry.themeDark]].isCustomized=!0,e[Ry[Ry.themeDarkAlt]].isCustomized=!0,e[Ry[Ry.themePrimary]].isCustomized=!0,e[Ry[Ry.themeSecondary]].isCustomized=!0,e[Ry[Ry.themeTertiary]].isCustomized=!0,e[Ry[Ry.themeLight]].isCustomized=!0,e[Ry[Ry.themeLighter]].isCustomized=!0,e[Ry[Ry.themeLighterAlt]].isCustomized=!0,e}!function(e){e[e.primaryColor=0]="primaryColor",e[e.backgroundColor=1]="backgroundColor",e[e.foregroundColor=2]="foregroundColor"}(Ay||(Ay={})),function(e){e[e.themePrimary=0]="themePrimary",e[e.themeLighterAlt=1]="themeLighterAlt",e[e.themeLighter=2]="themeLighter",e[e.themeLight=3]="themeLight",e[e.themeTertiary=4]="themeTertiary",e[e.themeSecondary=5]="themeSecondary",e[e.themeDarkAlt=6]="themeDarkAlt",e[e.themeDark=7]="themeDark",e[e.themeDarker=8]="themeDarker",e[e.neutralLighterAlt=9]="neutralLighterAlt",e[e.neutralLighter=10]="neutralLighter",e[e.neutralLight=11]="neutralLight",e[e.neutralQuaternaryAlt=12]="neutralQuaternaryAlt",e[e.neutralQuaternary=13]="neutralQuaternary",e[e.neutralTertiaryAlt=14]="neutralTertiaryAlt",e[e.neutralTertiary=15]="neutralTertiary",e[e.neutralSecondary=16]="neutralSecondary",e[e.neutralPrimaryAlt=17]="neutralPrimaryAlt",e[e.neutralPrimary=18]="neutralPrimary",e[e.neutralDark=19]="neutralDark",e[e.black=20]="black",e[e.white=21]="white"}(Ry||(Ry={})),function(e){e[e.bodyBackground=0]="bodyBackground",e[e.bodyText=1]="bodyText",e[e.disabledBackground=2]="disabledBackground",e[e.disabledText=3]="disabledText"}(My||(My={}));var Hy=Object(w.a)(),By=function(e){function t(t){var n=e.call(this,t)||this;return n._toggleButton=g.createRef(),n._onClick=function(e){var t=n.props,o=t.disabled,r=t.checked,i=t.onChange,a=t.onChanged,s=t.onClick,c=n.state.checked;o||(void 0===r&&n.setState({checked:!c}),i&&i(e,!c),a&&a(!c),s&&s(e))},Object(be.a)(n),Object(Ec.a)("Toggle",t,{checked:"defaultChecked"}),Object(nt.a)("Toggle",t,{onAriaLabel:"ariaLabel",offAriaLabel:void 0,onChanged:"onChange"}),n.state={checked:!(!t.checked&&!t.defaultChecked)},n._id=t.id||Object(Pe.a)("Toggle"),n}return Object(m.c)(t,e),t.getDerivedStateFromProps=function(e,t){return void 0===e.checked?null:{checked:!!e.checked}},Object.defineProperty(t.prototype,"checked",{get:function(){return this.state.checked},enumerable:!0,configurable:!0}),t.prototype.render=function(){var e=this,t=this.props,n=t.as,o=void 0===n?"div":n,r=t.className,i=t.theme,a=t.disabled,s=t.keytipProps,c=t.label,l=t.ariaLabel,u=t.onAriaLabel,d=t.offAriaLabel,p=t.offText,h=t.onText,f=t.styles,b=t.inlineLabel,y=this.state.checked,v=y?h:p,_=y?u:d,S=Object(I.j)(this.props,I.o,["defaultChecked"]),C=Hy(f,{theme:i,className:r,disabled:a,checked:y,inlineLabel:b,onOffMissing:!h&&!p}),x=this._id+"-label",w=this._id+"-stateText",T=void 0;l||_||(c?T=x:v&&(T=w));var k=this.props.role?this.props.role:"switch",O=function(t){return void 0===t&&(t={}),g.createElement("button",Object(m.a)({},S,t,{className:C.pill,disabled:a,id:e._id,type:"button",role:k,ref:e._toggleButton,"aria-disabled":a,"aria-checked":y,"aria-label":l||_,"data-is-focusable":!0,onChange:e._noop,onClick:e._onClick,"aria-labelledby":T}),g.createElement("span",{className:C.thumb}))},E=s?g.createElement($e,{keytipProps:s,ariaDescribedBy:S["aria-describedby"],disabled:a},(function(e){return O(e)})):O();return g.createElement(o,{className:C.root,hidden:S.hidden},c&&g.createElement(za,{htmlFor:this._id,className:C.label,id:x},c),g.createElement("div",{className:C.container},E,v&&g.createElement(za,{htmlFor:this._id,className:C.text,id:w},v)),g.createElement(it.a,null))},t.prototype.focus=function(){this._toggleButton.current&&this._toggleButton.current.focus()},t.prototype._noop=function(){},t}(g.Component),zy=Object(x.a)(By,(function(e){var t,n,o,r,i,a,s,c=e.theme,l=e.className,u=e.disabled,d=e.checked,p=e.inlineLabel,h=e.onOffMissing,f=c.semanticColors,m=c.palette,g=f.bodyBackground,y=f.inputBackgroundChecked,v=m.themeDark,_=m.neutralDark,S=f.disabledBodySubtext,C=f.smallInputBorder,x=f.inputForegroundChecked,w=f.disabledBodySubtext,T=f.disabledBackground,k=f.smallInputBorder,I=f.inputBorderHovered,O=f.disabledBodySubtext,E=f.disabledText;return{root:["ms-Toggle",d&&"is-checked",!u&&"is-enabled",u&&"is-disabled",c.fonts.medium,{marginBottom:"8px"},p&&{display:"flex",alignItems:"center"},l],label:["ms-Toggle-label",u&&{color:E,selectors:(t={},t[b.l]={color:"GrayText"},t)},p&&!h&&{marginRight:16},h&&p&&{order:1,marginLeft:16},p&&{wordBreak:"break-all"}],container:["ms-Toggle-innerContainer",{display:"inline-flex",position:"relative"}],pill:["ms-Toggle-background",Object(b.Q)(c,{inset:-3}),{fontSize:"20px",boxSizing:"border-box",width:40,height:20,borderRadius:10,transition:"all 0.1s ease",border:"1px solid "+k,background:g,cursor:"pointer",display:"flex",alignItems:"center",padding:"0 3px"},!u&&[!d&&{selectors:{":hover":[{borderColor:I}],":hover .ms-Toggle-thumb":[{backgroundColor:_,selectors:(n={},n[b.l]={borderColor:"Highlight"},n)}]}},d&&[{background:y,borderColor:"transparent",justifyContent:"flex-end"},{selectors:(o={":hover":[{backgroundColor:v,borderColor:"transparent",selectors:(r={},r[b.l]={backgroundColor:"Highlight"},r)}]},o[b.l]={backgroundColor:"WindowText"},o)}]],u&&[{cursor:"default"},!d&&[{borderColor:O}],d&&[{backgroundColor:S,borderColor:"transparent",justifyContent:"flex-end"}]],!u&&{selectors:{"&:hover":{selectors:(i={},i[b.l]={borderColor:"Highlight"},i)}}}],thumb:["ms-Toggle-thumb",{display:"block",width:12,height:12,borderRadius:"50%",transition:"all 0.1s ease",backgroundColor:C,borderColor:"transparent",borderWidth:".28em",borderStyle:"solid",boxSizing:"border-box"},!u&&d&&[{backgroundColor:x,selectors:(a={},a[b.l]={backgroundColor:"Window",borderColor:"Window"},a)}],u&&[!d&&[{backgroundColor:w}],d&&[{backgroundColor:T}]]],text:["ms-Toggle-stateText",{selectors:{"&&":{padding:"0",margin:"0 8px",userSelect:"none",fontWeight:b.k.regular}}},u&&{selectors:{"&&":{color:E,selectors:(s={},s[b.l]={color:"GrayText"},s)}}}]}}),void 0,{scope:"Toggle"}),Uy=n(6);n.d(t,"ActivityItem",(function(){return fe})),n.d(t,"Autofill",(function(){return ve})),n.d(t,"BaseAutoFill",(function(){return _e})),n.d(t,"Announced",(function(){return we})),n.d(t,"AnnouncedBase",(function(){return xe})),n.d(t,"Breadcrumb",(function(){return Wo})),n.d(t,"BreadcrumbBase",(function(){return Ho})),n.d(t,"BaseButton",(function(){return lo})),n.d(t,"ElementType",(function(){return No})),n.d(t,"ButtonType",(function(){return Po})),n.d(t,"Button",(function(){return ir})),n.d(t,"ActionButton",(function(){return tr})),n.d(t,"CommandBarButton",(function(){return sr})),n.d(t,"CommandButton",(function(){return cr})),n.d(t,"CompoundButton",(function(){return or})),n.d(t,"DefaultButton",(function(){return Jo})),n.d(t,"MessageBarButton",(function(){return ur})),n.d(t,"PrimaryButton",(function(){return rr})),n.d(t,"IconButton",(function(){return go})),n.d(t,"Calendar",(function(){return Ia})),n.d(t,"DayOfWeek",(function(){return Yo})),n.d(t,"DateRangeType",(function(){return Zo})),n.d(t,"FirstWeekOfYear",(function(){return $o})),n.d(t,"Callout",(function(){return Nn})),n.d(t,"FocusTrapCallout",(function(){return Na})),n.d(t,"DirectionalHint",(function(){return st})),n.d(t,"Check",(function(){return Ra})),n.d(t,"CheckBase",(function(){return Da})),n.d(t,"Checkbox",(function(){return La})),n.d(t,"CheckboxBase",(function(){return Fa})),n.d(t,"ChoiceGroup",(function(){return ts})),n.d(t,"ChoiceGroupBase",(function(){return Za})),n.d(t,"ChoiceGroupOption",(function(){return Qa})),n.d(t,"Coachmark",(function(){return hs})),n.d(t,"COACHMARK_ATTRIBUTE_NAME",(function(){return"data-coachmarkid"})),n.d(t,"CoachmarkBase",(function(){return ps})),n.d(t,"Shade",(function(){return Hs})),n.d(t,"isValidShade",(function(){return Ys})),n.d(t,"isDark",(function(){return Zs})),n.d(t,"getShade",(function(){return Xs})),n.d(t,"getBackgroundShade",(function(){return Js})),n.d(t,"getContrastRatio",(function(){return ec})),n.d(t,"MAX_COLOR_SATURATION",(function(){return 100})),n.d(t,"MAX_COLOR_HUE",(function(){return 359})),n.d(t,"MAX_COLOR_VALUE",(function(){return 100})),n.d(t,"MAX_COLOR_RGB",(function(){return 255})),n.d(t,"MAX_COLOR_RGBA",(function(){return 255})),n.d(t,"MAX_COLOR_ALPHA",(function(){return 100})),n.d(t,"MIN_HEX_LENGTH",(function(){return 3})),n.d(t,"MAX_HEX_LENGTH",(function(){return 6})),n.d(t,"MIN_RGBA_LENGTH",(function(){return 1})),n.d(t,"MAX_RGBA_LENGTH",(function(){return 3})),n.d(t,"HEX_REGEX",(function(){return fs})),n.d(t,"RGBA_REGEX",(function(){return ms})),n.d(t,"cssColor",(function(){return vs})),n.d(t,"rgb2hex",(function(){return Cs})),n.d(t,"clamp",(function(){return Ss})),n.d(t,"hsl2rgb",(function(){return ys})),n.d(t,"hsl2hsv",(function(){return gs})),n.d(t,"hsv2rgb",(function(){return bs})),n.d(t,"hsv2hex",(function(){return ws})),n.d(t,"rgb2hsv",(function(){return Ts})),n.d(t,"hsv2hsl",(function(){return ks})),n.d(t,"getColorFromString",(function(){return Es})),n.d(t,"getColorFromRGBA",(function(){return Os})),n.d(t,"getColorFromHSV",(function(){return Ns})),n.d(t,"getFullColorString",(function(){return Ps})),n.d(t,"updateSV",(function(){return Ds})),n.d(t,"updateH",(function(){return As})),n.d(t,"updateRGB",(function(){return Rs})),n.d(t,"updateA",(function(){return Ms})),n.d(t,"updateT",(function(){return tc})),n.d(t,"correctRGB",(function(){return Fs})),n.d(t,"correctHSV",(function(){return js})),n.d(t,"correctHex",(function(){return Ls})),n.d(t,"ColorPicker",(function(){return xc})),n.d(t,"ColorPickerBase",(function(){return _c})),n.d(t,"SelectableOptionMenuItemType",(function(){return Cc})),n.d(t,"ComboBox",(function(){return Bc})),n.d(t,"VirtualizedComboBox",(function(){return $c})),n.d(t,"CommandBar",(function(){return il})),n.d(t,"CommandBarBase",(function(){return rl})),n.d(t,"ContextualMenu",(function(){return io})),n.d(t,"getSubmenuItems",(function(){return Zn})),n.d(t,"canAnyMenuItemsCheck",(function(){return Xn})),n.d(t,"ContextualMenuBase",(function(){return to})),n.d(t,"DirectionalHint",(function(){return st})),n.d(t,"ContextualMenuItemType",(function(){return Qe})),n.d(t,"ContextualMenuItem",(function(){return Un})),n.d(t,"ContextualMenuItemBase",(function(){return Pn})),n.d(t,"DatePicker",(function(){return ul})),n.d(t,"DatePickerBase",(function(){return cl})),n.d(t,"DayOfWeek",(function(){return Yo})),n.d(t,"DateRangeType",(function(){return Zo})),n.d(t,"FirstWeekOfYear",(function(){return $o})),n.d(t,"DetailsRowGlobalClassNames",(function(){return Sl})),n.d(t,"CollapseAllVisibility",(function(){return hl})),n.d(t,"DetailsHeader",(function(){return Yl})),n.d(t,"DetailsHeaderBase",(function(){return zl})),n.d(t,"SelectAllVisibility",(function(){return Dl})),n.d(t,"DetailsList",(function(){return Du})),n.d(t,"DetailsListBase",(function(){return Iu})),n.d(t,"buildColumns",(function(){return Ou})),n.d(t,"ColumnActionsMode",(function(){return fl})),n.d(t,"ConstrainMode",(function(){return ml})),n.d(t,"ColumnDragEndLocation",(function(){return gl})),n.d(t,"DetailsListLayoutMode",(function(){return bl})),n.d(t,"CheckboxVisibility",(function(){return yl})),n.d(t,"DetailsRow",(function(){return Jl})),n.d(t,"DetailsRowBase",(function(){return Xl})),n.d(t,"DetailsRowCheck",(function(){return Al})),n.d(t,"DetailsRowFields",(function(){return Ql})),n.d(t,"DetailsColumnBase",(function(){return Fl})),n.d(t,"SELECTION_CHANGE",(function(){return"change"})),n.d(t,"SelectionDirection",(function(){return Qc})),n.d(t,"SelectionMode",(function(){return Yc})),n.d(t,"Selection",(function(){return dl})),n.d(t,"SelectionZone",(function(){return vl})),n.d(t,"Dialog",(function(){return cd})),n.d(t,"DialogBase",(function(){return ad})),n.d(t,"DialogContent",(function(){return nd})),n.d(t,"DialogContentBase",(function(){return ed})),n.d(t,"DialogFooter",(function(){return Zu})),n.d(t,"DialogFooterBase",(function(){return Qu})),n.d(t,"ResponsiveMode",(function(){return ft})),n.d(t,"DialogType",(function(){return Nu})),n.d(t,"VerticalDivider",(function(){return Kn})),n.d(t,"DocumentCard",(function(){return bd})),n.d(t,"DocumentCardType",(function(){return Au})),n.d(t,"DocumentCardActions",(function(){return Sd})),n.d(t,"DocumentCardActivity",(function(){return wd})),n.d(t,"DocumentCardDetails",(function(){return Od})),n.d(t,"DocumentCardLocation",(function(){return Pd})),n.d(t,"DocumentCardPreview",(function(){return Rd})),n.d(t,"DocumentCardImage",(function(){return jd})),n.d(t,"DocumentCardTitle",(function(){return Bd})),n.d(t,"DocumentCardLogo",(function(){return Wd})),n.d(t,"DocumentCardStatus",(function(){return Yd})),n.d(t,"Dropdown",(function(){return Tp})),n.d(t,"DropdownBase",(function(){return vp})),n.d(t,"DropdownMenuItemType",(function(){return Cc})),n.d(t,"ResponsiveMode",(function(){return ft})),n.d(t,"BaseExtendedPicker",(function(){return Pp})),n.d(t,"BaseExtendedPeoplePicker",(function(){return Dp})),n.d(t,"ExtendedPeoplePicker",(function(){return Ap})),n.d(t,"Fabric",(function(){return yn})),n.d(t,"FabricBase",(function(){return bn})),n.d(t,"OverflowButtonType",(function(){return kp})),n.d(t,"FacepileBase",(function(){return zp})),n.d(t,"Facepile",(function(){return Vp})),n.d(t,"BaseFloatingPicker",(function(){return Sh})),n.d(t,"BaseFloatingPeoplePicker",(function(){return Ch})),n.d(t,"FloatingPeoplePicker",(function(){return xh})),n.d(t,"createItem",(function(){return wh})),n.d(t,"SuggestionsStore",(function(){return Th})),n.d(t,"SuggestionItemType",(function(){return lh})),n.d(t,"SuggestionsHeaderFooterItem",(function(){return yh})),n.d(t,"SuggestionsControl",(function(){return vh})),n.d(t,"SuggestionsCore",(function(){return ch})),n.d(t,"FocusTrapZone",(function(){return Ea})),n.d(t,"FocusZone",(function(){return ze})),n.d(t,"FocusZoneTabbableElements",(function(){return Te})),n.d(t,"FocusZoneDirection",(function(){return le})),n.d(t,"Grid",(function(){return Ph})),n.d(t,"GridCell",(function(){return Dh})),n.d(t,"GroupSpacer",(function(){return _l})),n.d(t,"GroupedList",(function(){return xu})),n.d(t,"GroupedListBase",(function(){return Cu})),n.d(t,"CollapseAllVisibility",(function(){return hl})),n.d(t,"GroupHeader",(function(){return du})),n.d(t,"GroupFooter",(function(){return bu})),n.d(t,"GroupShowAll",(function(){return fu})),n.d(t,"GroupedListSection",(function(){return yu})),n.d(t,"HoverCard",(function(){return Gh})),n.d(t,"HoverCardBase",(function(){return qh})),n.d(t,"OpenCardMode",(function(){return Ih})),n.d(t,"HoverCardType",(function(){return Oh})),n.d(t,"ExpandingCard",(function(){return Hh})),n.d(t,"ExpandingCardBase",(function(){return Lh})),n.d(t,"ExpandingCardMode",(function(){return Rh})),n.d(t,"PlainCard",(function(){return Vh})),n.d(t,"PlainCardBase",(function(){return Uh})),n.d(t,"DirectionalHint",(function(){return st})),n.d(t,"Icon",(function(){return K})),n.d(t,"IconBase",(function(){return G})),n.d(t,"IconType",(function(){return d})),n.d(t,"getIconContent",(function(){return U})),n.d(t,"FontIcon",(function(){return V})),n.d(t,"getFontIcon",(function(){return W})),n.d(t,"ImageIcon",(function(){return at})),n.d(t,"initializeIcons",(function(){return hf})),n.d(t,"Image",(function(){return H})),n.d(t,"ImageBase",(function(){return F})),n.d(t,"ImageFit",(function(){return p})),n.d(t,"ImageCoverStyle",(function(){return h})),n.d(t,"ImageLoadState",(function(){return f})),n.d(t,"Keytip",(function(){return _f})),n.d(t,"KeytipData",(function(){return $e})),n.d(t,"KeytipLayer",(function(){return Nf})),n.d(t,"KeytipLayerBase",(function(){return Ef})),n.d(t,"LabelBase",(function(){return Ba})),n.d(t,"Label",(function(){return za})),n.d(t,"Layer",(function(){return En})),n.d(t,"LayerBase",(function(){return kn})),n.d(t,"LayerHost",(function(){return Pf})),n.d(t,"Link",(function(){return et})),n.d(t,"LinkBase",(function(){return Xe})),n.d(t,"List",(function(){return Gc})),n.d(t,"ScrollToMode",(function(){return zc})),n.d(t,"MarqueeSelection",(function(){return Ff})),n.d(t,"SELECTION_CHANGE",(function(){return"change"})),n.d(t,"SelectionDirection",(function(){return Qc})),n.d(t,"SelectionMode",(function(){return Yc})),n.d(t,"Selection",(function(){return dl})),n.d(t,"SelectionZone",(function(){return vl})),n.d(t,"MessageBar",(function(){return Kf})),n.d(t,"MessageBarBase",(function(){return Uf})),n.d(t,"MessageBarType",(function(){return wf})),n.d(t,"Modal",(function(){return Ku})),n.d(t,"ModalBase",(function(){return Gu})),n.d(t,"Nav",(function(){return em})),n.d(t,"isRelativeUrl",(function(){return $f})),n.d(t,"NavBase",(function(){return Jf})),n.d(t,"OverflowSet",(function(){return tl})),n.d(t,"OverflowSetBase",(function(){return Jc})),n.d(t,"Overlay",(function(){return Hu})),n.d(t,"OverlayBase",(function(){return ju})),n.d(t,"Panel",(function(){return bp})),n.d(t,"PanelType",(function(){return ld})),n.d(t,"getPersonaInitialsColor",(function(){return ce})),n.d(t,"Persona",(function(){return Hp})),n.d(t,"PersonaBase",(function(){return jp})),n.d(t,"PersonaSize",(function(){return O})),n.d(t,"PersonaPresence",(function(){return E})),n.d(t,"PersonaInitialsColor",(function(){return N})),n.d(t,"PersonaCoin",(function(){return he})),n.d(t,"PersonaCoinBase",(function(){return de})),n.d(t,"personaSize",(function(){return D})),n.d(t,"personaPresenceSize",(function(){return R})),n.d(t,"sizeBoolean",(function(){return Y})),n.d(t,"sizeToPixels",(function(){return Q})),n.d(t,"presenceBoolean",(function(){return $})),n.d(t,"Suggestions",(function(){return am})),n.d(t,"SuggestionActionType",(function(){return Zf})),n.d(t,"SuggestionsItem",(function(){return ih})),n.d(t,"SuggestionsController",(function(){return sm})),n.d(t,"Autofill",(function(){})),n.d(t,"BaseAutoFill",(function(){})),n.d(t,"BasePicker",(function(){return bm})),n.d(t,"BasePickerListBelow",(function(){return ym})),n.d(t,"ValidationState",(function(){return tm})),n.d(t,"BasePeoplePicker",(function(){return Em})),n.d(t,"MemberListPeoplePicker",(function(){return Nm})),n.d(t,"NormalPeoplePickerBase",(function(){return Pm})),n.d(t,"CompactPeoplePickerBase",(function(){return Dm})),n.d(t,"ListPeoplePickerBase",(function(){return Am})),n.d(t,"createGenericItem",(function(){return Rm})),n.d(t,"NormalPeoplePicker",(function(){return jm})),n.d(t,"CompactPeoplePicker",(function(){return Lm})),n.d(t,"ListPeoplePicker",(function(){return Hm})),n.d(t,"PeoplePickerItemBase",(function(){return Sm})),n.d(t,"PeoplePickerItem",(function(){return Cm})),n.d(t,"PeoplePickerItemSuggestionBase",(function(){return Tm})),n.d(t,"PeoplePickerItemSuggestion",(function(){return km})),n.d(t,"TagPickerBase",(function(){return Ym})),n.d(t,"TagPicker",(function(){return Qm})),n.d(t,"TagItemBase",(function(){return Um})),n.d(t,"TagItem",(function(){return Vm})),n.d(t,"TagItemSuggestionBase",(function(){return Gm})),n.d(t,"TagItemSuggestion",(function(){return Km})),n.d(t,"PivotItem",(function(){return $m})),n.d(t,"Pivot",(function(){return og})),n.d(t,"PivotBase",(function(){return Xm})),n.d(t,"PivotLinkFormat",(function(){return Mm})),n.d(t,"PivotLinkSize",(function(){return Fm})),n.d(t,"Popup",(function(){return en})),n.d(t,"PositioningContainer",(function(){return cs})),n.d(t,"ProgressIndicator",(function(){return lg})),n.d(t,"ProgressIndicatorBase",(function(){return ig})),n.d(t,"Rating",(function(){return mg})),n.d(t,"RatingBase",(function(){return fg})),n.d(t,"RatingSize",(function(){return eg})),n.d(t,"ResizeGroup",(function(){return wo})),n.d(t,"getMeasurementCache",(function(){return yo})),n.d(t,"getNextResizeGroupStateProvider",(function(){return vo})),n.d(t,"MeasuredContext",(function(){return _o})),n.d(t,"ResizeGroupBase",(function(){return xo})),n.d(t,"ResizeGroupDirection",(function(){return ro})),n.d(t,"ScrollablePane",(function(){return Sg})),n.d(t,"ScrollablePaneBase",(function(){return _g})),n.d(t,"ScrollbarVisibility",(function(){return bg})),n.d(t,"ScrollablePaneContext",(function(){return yg})),n.d(t,"SearchBox",(function(){return Tg})),n.d(t,"SearchBoxBase",(function(){return xg})),n.d(t,"getAllSelectedOptions",(function(){return Lc})),n.d(t,"SelectableOptionMenuItemType",(function(){return Cc})),n.d(t,"BaseSelectedItemsList",(function(){return kg})),n.d(t,"BasePeopleSelectedItemsList",(function(){return Gg})),n.d(t,"SelectedPeopleList",(function(){return Kg})),n.d(t,"ExtendedSelectedItem",(function(){return zg})),n.d(t,"SeparatorBase",(function(){return Qg})),n.d(t,"Separator",(function(){return $g})),n.d(t,"Shimmer",(function(){return _b})),n.d(t,"ShimmerBase",(function(){return vb})),n.d(t,"ShimmerElementType",(function(){return Ig})),n.d(t,"ShimmerElementsDefaultHeights",(function(){return Og})),n.d(t,"ShimmerLine",(function(){return rb})),n.d(t,"ShimmerLineBase",(function(){return nb})),n.d(t,"ShimmerCircle",(function(){return pb})),n.d(t,"ShimmerCircleBase",(function(){return db})),n.d(t,"ShimmerGap",(function(){return cb})),n.d(t,"ShimmerGapBase",(function(){return ab})),n.d(t,"ShimmerElementsGroup",(function(){return bb})),n.d(t,"ShimmerElementsGroupBase",(function(){return fb})),n.d(t,"ShimmeredDetailsList",(function(){return xb})),n.d(t,"ShimmeredDetailsListBase",(function(){return Cb})),n.d(t,"Slider",(function(){return Ib})),n.d(t,"ONKEYDOWN_TIMEOUT_DURATION",(function(){return 1e3})),n.d(t,"SliderBase",(function(){return Tb})),n.d(t,"KeyboardSpinDirection",(function(){return eb})),n.d(t,"SpinButton",(function(){return Rb})),n.d(t,"Spinner",(function(){return su})),n.d(t,"SpinnerBase",(function(){return ru})),n.d(t,"SpinnerSize",(function(){return Gl})),n.d(t,"SpinnerType",(function(){return Kl})),n.d(t,"StackItem",(function(){return Kb})),n.d(t,"Stack",(function(){return Jb})),n.d(t,"Sticky",(function(){return ey})),n.d(t,"StickyPositionType",(function(){return Wb})),n.d(t,"AnimationClassNames",(function(){return ny.AnimationClassNames})),n.d(t,"FontClassNames",(function(){return ny.FontClassNames})),n.d(t,"ColorClassNames",(function(){return ny.ColorClassNames})),n.d(t,"AnimationStyles",(function(){return ny.AnimationStyles})),n.d(t,"AnimationVariables",(function(){return ny.AnimationVariables})),n.d(t,"DefaultPalette",(function(){return ny.DefaultPalette})),n.d(t,"DefaultEffects",(function(){return ny.DefaultEffects})),n.d(t,"DefaultFontStyles",(function(){return ny.DefaultFontStyles})),n.d(t,"registerDefaultFontFaces",(function(){return ny.registerDefaultFontFaces})),n.d(t,"FontSizes",(function(){return ny.FontSizes})),n.d(t,"FontWeights",(function(){return ny.FontWeights})),n.d(t,"IconFontSizes",(function(){return ny.IconFontSizes})),n.d(t,"createFontStyles",(function(){return ny.createFontStyles})),n.d(t,"hiddenContentStyle",(function(){return ny.hiddenContentStyle})),n.d(t,"PulsingBeaconAnimationStyles",(function(){return ny.PulsingBeaconAnimationStyles})),n.d(t,"getGlobalClassNames",(function(){return ny.getGlobalClassNames})),n.d(t,"ThemeSettingName",(function(){return ny.ThemeSettingName})),n.d(t,"getTheme",(function(){return ny.getTheme})),n.d(t,"loadTheme",(function(){return ny.loadTheme})),n.d(t,"createTheme",(function(){return ny.createTheme})),n.d(t,"registerOnThemeChangeCallback",(function(){return ny.registerOnThemeChangeCallback})),n.d(t,"removeOnThemeChangeCallback",(function(){return ny.removeOnThemeChangeCallback})),n.d(t,"buildClassMap",(function(){return ny.buildClassMap})),n.d(t,"getIcon",(function(){return ny.getIcon})),n.d(t,"registerIcons",(function(){return ny.registerIcons})),n.d(t,"registerIconAlias",(function(){return ny.registerIconAlias})),n.d(t,"unregisterIcons",(function(){return ny.unregisterIcons})),n.d(t,"setIconOptions",(function(){return ny.setIconOptions})),n.d(t,"getIconClassName",(function(){return ny.getIconClassName})),n.d(t,"InjectionMode",(function(){return ny.InjectionMode})),n.d(t,"Stylesheet",(function(){return ny.Stylesheet})),n.d(t,"concatStyleSets",(function(){return ny.concatStyleSets})),n.d(t,"concatStyleSetsWithProps",(function(){return ny.concatStyleSetsWithProps})),n.d(t,"fontFace",(function(){return ny.fontFace})),n.d(t,"keyframes",(function(){return ny.keyframes})),n.d(t,"mergeStyleSets",(function(){return ny.mergeStyleSets})),n.d(t,"mergeStyles",(function(){return ny.mergeStyles})),n.d(t,"getFocusStyle",(function(){return ny.getFocusStyle})),n.d(t,"focusClear",(function(){return ny.focusClear})),n.d(t,"getFocusOutlineStyle",(function(){return ny.getFocusOutlineStyle})),n.d(t,"getInputFocusStyle",(function(){return ny.getInputFocusStyle})),n.d(t,"getThemedContext",(function(){return ny.getThemedContext})),n.d(t,"HighContrastSelector",(function(){return ny.HighContrastSelector})),n.d(t,"HighContrastSelectorWhite",(function(){return ny.HighContrastSelectorWhite})),n.d(t,"HighContrastSelectorBlack",(function(){return ny.HighContrastSelectorBlack})),n.d(t,"EdgeChromiumHighContrastSelector",(function(){return ny.EdgeChromiumHighContrastSelector})),n.d(t,"ScreenWidthMinSmall",(function(){return ny.ScreenWidthMinSmall})),n.d(t,"ScreenWidthMinMedium",(function(){return ny.ScreenWidthMinMedium})),n.d(t,"ScreenWidthMinLarge",(function(){return ny.ScreenWidthMinLarge})),n.d(t,"ScreenWidthMinXLarge",(function(){return ny.ScreenWidthMinXLarge})),n.d(t,"ScreenWidthMinXXLarge",(function(){return ny.ScreenWidthMinXXLarge})),n.d(t,"ScreenWidthMinXXXLarge",(function(){return ny.ScreenWidthMinXXXLarge})),n.d(t,"ScreenWidthMaxSmall",(function(){return ny.ScreenWidthMaxSmall})),n.d(t,"ScreenWidthMaxMedium",(function(){return ny.ScreenWidthMaxMedium})),n.d(t,"ScreenWidthMaxLarge",(function(){return ny.ScreenWidthMaxLarge})),n.d(t,"ScreenWidthMaxXLarge",(function(){return ny.ScreenWidthMaxXLarge})),n.d(t,"ScreenWidthMaxXXLarge",(function(){return ny.ScreenWidthMaxXXLarge})),n.d(t,"ScreenWidthMinUhfMobile",(function(){return ny.ScreenWidthMinUhfMobile})),n.d(t,"getScreenSelector",(function(){return ny.getScreenSelector})),n.d(t,"getEdgeChromiumNoHighContrastAdjustSelector",(function(){return ny.getEdgeChromiumNoHighContrastAdjustSelector})),n.d(t,"normalize",(function(){return ny.normalize})),n.d(t,"noWrap",(function(){return ny.noWrap})),n.d(t,"getFadedOverflowStyle",(function(){return ny.getFadedOverflowStyle})),n.d(t,"getPlaceholderStyles",(function(){return ny.getPlaceholderStyles})),n.d(t,"ZIndexes",(function(){return ny.ZIndexes})),n.d(t,"SwatchColorPicker",(function(){return py})),n.d(t,"SwatchColorPickerBase",(function(){return uy})),n.d(t,"ColorPickerGridCell",(function(){return cy})),n.d(t,"ColorPickerGridCellBase",(function(){return ay})),n.d(t,"TeachingBubble",(function(){return xy})),n.d(t,"TeachingBubbleBase",(function(){return Cy})),n.d(t,"TeachingBubbleContent",(function(){return _y})),n.d(t,"TeachingBubbleContentBase",(function(){return fy})),n.d(t,"Text",(function(){return ky})),n.d(t,"TextView",(function(){return wy})),n.d(t,"TextStyles",(function(){return Ty})),n.d(t,"TextField",(function(){return lc})),n.d(t,"TextFieldBase",(function(){return rc})),n.d(t,"DEFAULT_MASK_CHAR",(function(){return"_"})),n.d(t,"MaskedTextField",(function(){return Fy})),n.d(t,"ThemeGenerator",(function(){return jy})),n.d(t,"BaseSlots",(function(){return Ay})),n.d(t,"FabricSlots",(function(){return Ry})),n.d(t,"SemanticColorSlots",(function(){return My})),n.d(t,"themeRulesStandardCreator",(function(){return Ly})),n.d(t,"Toggle",(function(){return zy})),n.d(t,"ToggleBase",(function(){return By})),n.d(t,"Tooltip",(function(){return Eo})),n.d(t,"TooltipBase",(function(){return Oo})),n.d(t,"TooltipDelay",(function(){return ko})),n.d(t,"TooltipHost",(function(){return Mo})),n.d(t,"TooltipHostBase",(function(){return Ao})),n.d(t,"TooltipOverflowMode",(function(){return bo})),n.d(t,"DirectionalHint",(function(){return st})),n.d(t,"assign",(function(){return Uy.z})),n.d(t,"filteredAssign",(function(){return Uy.W})),n.d(t,"mapEnumByName",(function(){return Uy.ec})),n.d(t,"shallowCompare",(function(){return Uy.Mc})),n.d(t,"values",(function(){return Uy.Yc})),n.d(t,"omit",(function(){return Uy.pc})),n.d(t,"setFocusVisibility",(function(){return Uy.Ec})),n.d(t,"IsFocusVisibleClassName",(function(){return Uy.n})),n.d(t,"setSSR",(function(){return Uy.Jc})),n.d(t,"createMergedRef",(function(){return Uy.M})),n.d(t,"Async",(function(){return Uy.a})),n.d(t,"AutoScroll",(function(){return Uy.b})),n.d(t,"BaseComponent",(function(){return Uy.c})),n.d(t,"nullRender",(function(){return Uy.nc})),n.d(t,"DelayedRender",(function(){return Uy.i})),n.d(t,"EventGroup",(function(){return Uy.j})),n.d(t,"FabricPerformance",(function(){return Uy.k})),n.d(t,"GlobalSettings",(function(){return Uy.m})),n.d(t,"KeyCodes",(function(){return Uy.o})),n.d(t,"Rectangle",(function(){return Uy.p})),n.d(t,"appendFunction",(function(){return Uy.v})),n.d(t,"mergeAriaAttributeValues",(function(){return Uy.ic})),n.d(t,"findIndex",(function(){return Uy.Z})),n.d(t,"find",(function(){return Uy.X})),n.d(t,"createArray",(function(){return Uy.K})),n.d(t,"toMatrix",(function(){return Uy.Tc})),n.d(t,"removeIndex",(function(){return Uy.vc})),n.d(t,"replaceElement",(function(){return Uy.wc})),n.d(t,"addElementAtIndex",(function(){return Uy.r})),n.d(t,"flatten",(function(){return Uy.cb})),n.d(t,"arraysEqual",(function(){return Uy.w})),n.d(t,"asAsync",(function(){return Uy.x})),n.d(t,"assertNever",(function(){return Uy.y})),n.d(t,"classNamesFunction",(function(){return Uy.F})),n.d(t,"composeComponentAs",(function(){return Uy.I})),n.d(t,"isControlled",(function(){return Uy.Sb})),n.d(t,"css",(function(){return Uy.N})),n.d(t,"Customizations",(function(){return Uy.d})),n.d(t,"Customizer",(function(){return Uy.e})),n.d(t,"CustomizerContext",(function(){return Uy.f})),n.d(t,"customizable",(function(){return Uy.O})),n.d(t,"useCustomizationSettings",(function(){return Uy.Wc})),n.d(t,"mergeCustomizations",(function(){return Uy.jc})),n.d(t,"mergeSettings",(function(){return Uy.lc})),n.d(t,"mergeScopedSettings",(function(){return Uy.kc})),n.d(t,"getWindow",(function(){return Uy.Fb})),n.d(t,"extendComponent",(function(){return Uy.V})),n.d(t,"getFirstFocusable",(function(){return Uy.lb})),n.d(t,"getLastFocusable",(function(){return Uy.rb})),n.d(t,"getFirstTabbable",(function(){return Uy.mb})),n.d(t,"getLastTabbable",(function(){return Uy.sb})),n.d(t,"focusFirstChild",(function(){return Uy.eb})),n.d(t,"getPreviousElement",(function(){return Uy.xb})),n.d(t,"getNextElement",(function(){return Uy.vb})),n.d(t,"isElementVisible",(function(){return Uy.Xb})),n.d(t,"isElementTabbable",(function(){return Uy.Wb})),n.d(t,"isElementFocusZone",(function(){return Uy.Vb})),n.d(t,"isElementFocusSubZone",(function(){return Uy.Ub})),n.d(t,"doesElementContainFocus",(function(){return Uy.R})),n.d(t,"shouldWrapFocus",(function(){return Uy.Nc})),n.d(t,"focusAsync",(function(){return Uy.db})),n.d(t,"getFocusableByIndexPath",(function(){return Uy.nb})),n.d(t,"getElementIndexPath",(function(){return Uy.kb})),n.d(t,"getId",(function(){return Uy.ob})),n.d(t,"resetIds",(function(){return Uy.yc})),n.d(t,"getNativeElementProps",(function(){return Uy.tb})),n.d(t,"hoistMethods",(function(){return Uy.Jb})),n.d(t,"unhoistMethods",(function(){return Uy.Vc})),n.d(t,"hoistStatics",(function(){return Uy.Kb})),n.d(t,"initializeComponentRef",(function(){return Uy.Pb})),n.d(t,"initializeFocusRects",(function(){return Uy.Qb})),n.d(t,"useFocusRects",(function(){return Uy.Xc})),n.d(t,"FocusRects",(function(){return Uy.l})),n.d(t,"getInitials",(function(){return Uy.pb})),n.d(t,"isDirectionalKeyCode",(function(){return Uy.Tb})),n.d(t,"addDirectionalKeyCode",(function(){return Uy.q})),n.d(t,"getLanguage",(function(){return Uy.qb})),n.d(t,"setLanguage",(function(){return Uy.Fc})),n.d(t,"getDistanceBetweenPoints",(function(){return Uy.ib})),n.d(t,"fitContentToBounds",(function(){return Uy.bb})),n.d(t,"calculatePrecision",(function(){return Uy.E})),n.d(t,"precisionRound",(function(){return Uy.tc})),n.d(t,"setMemoizeWeakMap",(function(){return Uy.Gc})),n.d(t,"resetMemoizations",(function(){return Uy.zc})),n.d(t,"memoize",(function(){return Uy.fc})),n.d(t,"memoizeFunction",(function(){return Uy.gc})),n.d(t,"createMemoizer",(function(){return Uy.L})),n.d(t,"merge",(function(){return Uy.hc})),n.d(t,"isIOS",(function(){return Uy.Zb})),n.d(t,"modalize",(function(){return Uy.mc})),n.d(t,"isMac",(function(){return Uy.ac})),n.d(t,"hasHorizontalOverflow",(function(){return Uy.Gb})),n.d(t,"hasVerticalOverflow",(function(){return Uy.Ib})),n.d(t,"hasOverflow",(function(){return Uy.Hb})),n.d(t,"baseElementEvents",(function(){return Uy.B})),n.d(t,"baseElementProperties",(function(){return Uy.C})),n.d(t,"htmlElementProperties",(function(){return Uy.Lb})),n.d(t,"labelProperties",(function(){return Uy.cc})),n.d(t,"audioProperties",(function(){return Uy.A})),n.d(t,"videoProperties",(function(){return Uy.Zc})),n.d(t,"olProperties",(function(){return Uy.oc})),n.d(t,"liProperties",(function(){return Uy.dc})),n.d(t,"anchorProperties",(function(){return Uy.u})),n.d(t,"buttonProperties",(function(){return Uy.D})),n.d(t,"inputProperties",(function(){return Uy.Rb})),n.d(t,"textAreaProperties",(function(){return Uy.Rc})),n.d(t,"selectProperties",(function(){return Uy.Cc})),n.d(t,"optionProperties",(function(){return Uy.rc})),n.d(t,"tableProperties",(function(){return Uy.Pc})),n.d(t,"trProperties",(function(){return Uy.Uc})),n.d(t,"thProperties",(function(){return Uy.Sc})),n.d(t,"tdProperties",(function(){return Uy.Qc})),n.d(t,"colGroupProperties",(function(){return Uy.G})),n.d(t,"colProperties",(function(){return Uy.H})),n.d(t,"formProperties",(function(){return Uy.fb})),n.d(t,"iframeProperties",(function(){return Uy.Mb})),n.d(t,"imgProperties",(function(){return Uy.Ob})),n.d(t,"imageProperties",(function(){return Uy.Nb})),n.d(t,"divProperties",(function(){return Uy.Q})),n.d(t,"getNativeProps",(function(){return Uy.ub})),n.d(t,"composeRenderFunction",(function(){return Uy.J})),n.d(t,"getResourceUrl",(function(){return Uy.Cb})),n.d(t,"setBaseUrl",(function(){return Uy.Dc})),n.d(t,"getRTL",(function(){return Uy.zb})),n.d(t,"setRTL",(function(){return Uy.Ic})),n.d(t,"getRTLSafeKeyCode",(function(){return Uy.Ab})),n.d(t,"safeRequestAnimationFrame",(function(){return Uy.Ac})),n.d(t,"safeSetTimeout",(function(){return Uy.Bc})),n.d(t,"DATA_IS_SCROLLABLE_ATTRIBUTE",(function(){return Uy.g})),n.d(t,"allowScrollOnElement",(function(){return Uy.t})),n.d(t,"allowOverscrollOnElement",(function(){return Uy.s})),n.d(t,"disableBodyScroll",(function(){return Uy.P})),n.d(t,"enableBodyScroll",(function(){return Uy.U})),n.d(t,"getScrollbarWidth",(function(){return Uy.Db})),n.d(t,"findScrollableParent",(function(){return Uy.ab})),n.d(t,"format",(function(){return Uy.gb})),n.d(t,"styled",(function(){return Uy.Oc})),n.d(t,"isIE11",(function(){return Uy.Yb})),n.d(t,"getPropsWithDefaults",(function(){return Uy.yb})),n.d(t,"elementContains",(function(){return Uy.S})),n.d(t,"elementContainsAttribute",(function(){return Uy.T})),n.d(t,"findElementRecursive",(function(){return Uy.Y})),n.d(t,"getChildren",(function(){return Uy.hb})),n.d(t,"getDocument",(function(){return Uy.jb})),n.d(t,"getParent",(function(){return Uy.wb})),n.d(t,"getRect",(function(){return Uy.Bb})),n.d(t,"getVirtualParent",(function(){return Uy.Eb})),n.d(t,"isVirtualElement",(function(){return Uy.bc})),n.d(t,"on",(function(){return Uy.qc})),n.d(t,"portalContainsElement",(function(){return Uy.sc})),n.d(t,"raiseClick",(function(){return Uy.uc})),n.d(t,"DATA_PORTAL_ATTRIBUTE",(function(){return Uy.h})),n.d(t,"setPortalAttribute",(function(){return Uy.Hc})),n.d(t,"setVirtualParent",(function(){return Uy.Kc})),n.d(t,"SELECTION_CHANGE",(function(){})),n.d(t,"SelectionMode",(function(){})),n.d(t,"SelectionDirection",(function(){})),n.d(t,"Selection",(function(){})),n.d(t,"warn",(function(){return Uy.ad})),n.d(t,"setWarningCallback",(function(){return Uy.Lc})),n.d(t,"warnConditionallyRequiredProps",(function(){return Uy.bd})),n.d(t,"resetControlledWarnings",(function(){return Uy.xc})),n.d(t,"warnControlledUsage",(function(){return Uy.cd})),n.d(t,"warnDeprecations",(function(){return Uy.dd})),n.d(t,"warnMutuallyExclusive",(function(){return Uy.ed}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var o={backspace:8,tab:9,enter:13,shift:16,ctrl:17,alt:18,pauseBreak:19,capslock:20,escape:27,space:32,pageUp:33,pageDown:34,end:35,home:36,left:37,up:38,right:39,down:40,insert:45,del:46,zero:48,one:49,two:50,three:51,four:52,five:53,six:54,seven:55,eight:56,nine:57,a:65,b:66,c:67,d:68,e:69,f:70,g:71,h:72,i:73,j:74,k:75,l:76,m:77,n:78,o:79,p:80,q:81,r:82,s:83,t:84,u:85,v:86,w:87,x:88,y:89,z:90,leftWindow:91,rightWindow:92,select:93,zero_numpad:96,one_numpad:97,two_numpad:98,three_numpad:99,four_numpad:100,five_numpad:101,six_numpad:102,seven_numpad:103,eight_numpad:104,nine_numpad:105,multiply:106,add:107,subtract:109,decimalPoint:110,divide:111,f1:112,f2:113,f3:114,f4:115,f5:116,f6:117,f7:118,f8:119,f9:120,f10:121,f11:122,f12:123,numlock:144,scrollLock:145,semicolon:186,equalSign:187,comma:188,dash:189,period:190,forwardSlash:191,graveAccent:192,openBracket:219,backSlash:220,closeBracket:221,singleQuote:222}},,function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var o=n(38);function r(e){if(!o.a&&"undefined"!=typeof document){var t=e;return t&&t.ownerDocument?t.ownerDocument:document}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return c}));var o,r=n(1),i={none:0,insertNode:1,appendChild:2},a="undefined"!=typeof navigator&&/rv:11.0/.test(navigator.userAgent),s={};try{s=window}catch(e){}var c=function(){function e(e){this._rules=[],this._preservedRules=[],this._rulesToInsert=[],this._counter=0,this._keyToClassName={},this._onResetCallbacks=[],this._classNameToArgs={},this._config=Object(r.a)({injectionMode:i.insertNode,defaultPrefix:"css",namespace:void 0,cspSettings:void 0},e),this._keyToClassName=this._config.classNameCache||{}}return e.getInstance=function(){var t;if(!(o=s.__stylesheet__)||o._lastStyleElement&&o._lastStyleElement.ownerDocument!==document){var n=(null===(t=s)||void 0===t?void 0:t.FabricConfig)||{};o=s.__stylesheet__=new e(n.mergeStyles)}return o},e.prototype.setConfig=function(e){this._config=Object(r.a)(Object(r.a)({},this._config),e)},e.prototype.onReset=function(e){this._onResetCallbacks.push(e)},e.prototype.getClassName=function(e){var t=this._config.namespace;return(t?t+"-":"")+(e||this._config.defaultPrefix)+"-"+this._counter++},e.prototype.cacheClassName=function(e,t,n,o){this._keyToClassName[t]=e,this._classNameToArgs[e]={args:n,rules:o}},e.prototype.classNameFromKey=function(e){return this._keyToClassName[e]},e.prototype.getClassNameCache=function(){return this._keyToClassName},e.prototype.argsFromClassName=function(e){var t=this._classNameToArgs[e];return t&&t.args},e.prototype.insertedRulesFromClassName=function(e){var t=this._classNameToArgs[e];return t&&t.rules},e.prototype.insertRule=function(e,t){var n=this._config.injectionMode!==i.none?this._getStyleElement():void 0;if(t&&this._preservedRules.push(e),n)switch(this._config.injectionMode){case i.insertNode:var o=n.sheet;try{o.insertRule(e,o.cssRules.length)}catch(e){}break;case i.appendChild:n.appendChild(document.createTextNode(e))}else this._rules.push(e);this._config.onInsertRule&&this._config.onInsertRule(e)},e.prototype.getRules=function(e){return(e?this._preservedRules.join(""):"")+this._rules.join("")+this._rulesToInsert.join("")},e.prototype.reset=function(){this._rules=[],this._rulesToInsert=[],this._counter=0,this._classNameToArgs={},this._keyToClassName={},this._onResetCallbacks.forEach((function(e){return e()}))},e.prototype.resetKeys=function(){this._keyToClassName={}},e.prototype._getStyleElement=function(){var e=this;return this._styleElement||"undefined"==typeof document||(this._styleElement=this._createStyleElement(),a||window.requestAnimationFrame((function(){e._styleElement=void 0}))),this._styleElement},e.prototype._createStyleElement=function(){var e=document.head,t=document.createElement("style");t.setAttribute("data-merge-styles","true");var n=this._config.cspSettings;if(n&&n.nonce&&t.setAttribute("nonce",n.nonce),this._lastStyleElement)e.insertBefore(t,this._lastStyleElement.nextElementSibling);else{var o=this._findPlaceholderStyleTag();o?e.insertBefore(t,o.nextElementSibling):e.insertBefore(t,e.childNodes[0])}return this._lastStyleElement=t,t},e.prototype._findPlaceholderStyleTag=function(){var e=document.head;return e?e.querySelector("style[data-merge-styles]"):null},e}()},function(e,t,n){"use strict";var o=this&&this.__createBinding||(Object.create?function(e,t,n,o){void 0===o&&(o=n),Object.defineProperty(e,o,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,o){void 0===o&&(o=n),e[o]=t[n]}),r=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||t.hasOwnProperty(n)||o(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),r(n(147),t),r(n(74),t),r(n(153),t),r(n(33),t),r(n(126),t)},function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));var o=n(1),r=n(48),i={settings:{},scopedSettings:{},inCustomizerContext:!1},a=r.a.getValue("customizations",{settings:{},scopedSettings:{},inCustomizerContext:!1}),s=[],c=function(){function e(){}return e.reset=function(){a.settings={},a.scopedSettings={}},e.applySettings=function(t){a.settings=Object(o.a)(Object(o.a)({},a.settings),t),e._raiseChange()},e.applyScopedSettings=function(t,n){a.scopedSettings[t]=Object(o.a)(Object(o.a)({},a.scopedSettings[t]),n),e._raiseChange()},e.getSettings=function(e,t,n){void 0===n&&(n=i);for(var o={},r=t&&n.scopedSettings[t]||{},s=t&&a.scopedSettings[t]||{},c=0,l=e;c<l.length;c++){var u=l[c];o[u]=r[u]||n.settings[u]||s[u]||a.settings[u]}return o},e.applyBatchedUpdates=function(t,n){e._suppressUpdates=!0;try{t()}catch(e){}e._suppressUpdates=!1,n||e._raiseChange()},e.observe=function(e){s.push(e)},e.unobserve=function(e){s=s.filter((function(t){return t!==e}))},e._raiseChange=function(){e._suppressUpdates||s.forEach((function(e){return e()}))},e}()},function(e,t){e.exports=__WEBPACK_EXTERNAL_MODULE__16__},function(e,t,n){"use strict";var o=this&&this.__createBinding||(Object.create?function(e,t,n,o){void 0===o&&(o=n),Object.defineProperty(e,o,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,o){void 0===o&&(o=n),e[o]=t[n]}),r=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||t.hasOwnProperty(n)||o(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),r(n(78),t);var i=n(9);Object.defineProperty(t,"Customizer",{enumerable:!0,get:function(){return i.Customizer}}),r(n(161),t)},function(e,t,n){"use strict";var o=this&&this.__assign||function(){return(o=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.getTextFieldDefaultClassNames=t.getDafNodeClassNames=t.getSafActionNodeClassNames=t.getSafNodeClassNames=t.getNodeListClassNames=t.getHeaderClassNames=t.getNodeClassNames=t.getNodeHeaderClassNames=t.getChoiceNodeClassNames=t.getMainAppClassNames=t.getsafDiagnosticsClassNames=t.getTextFieldComponentSpinnerStyles=t.getNodeStyles=t.getNodeListStyles=t.getChoiceNodeStyles=t.getNodeHeaderStyles=t.getOptionBtnStyles=t.getHeaderStyles=t.getDafSpinnerStyles=t.getSafActionNodeStyles=t.getSafNodeSpinnerStyles=t.getSafDiagnosticsStyles=t.getMainAppStyles=t.getTextFieldDefaultStyles=t.getCustomStyles=void 0;var r=n(9);t.getCustomStyles=function(e,t){var n={};return"function"==typeof t&&(n=t(e)),n},t.getTextFieldDefaultStyles=function(e){return{textFieldBase:{"& *":{overFlowWrap:"break-word"}},textFieldSpinner:t.getTextFieldComponentSpinnerStyles(e)}},t.getMainAppStyles=function(e){var n=e.theme,r=e.stylesFunc,i=t.getCustomStyles(n,r),a=i&&i.hostDiv?i.hostDiv:{},s={root:{background:n.palette.white,width:"100%",height:"100%",minWidth:"175px",marginTop:"15px",fontColor:n.palette.white,fontFamily:'Segoe UI", "Segoe UI Web (West European)", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serif',"& > *":{fontFamily:'Segoe UI", "Segoe UI Web (West European)", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serif'}}};return o(o({},s),a)},t.getSafDiagnosticsStyles=function(e){var n=e.theme,r=e.stylesFunc,i=t.getCustomStyles(n,r),a={};i&&(i.safActionNode&&i.safActionNode.inlineDiagnostics?a=i.safActionNode.inlineDiagnostics:i.safNode&&(a=i.safNode));var s={sectionContainer:{marginBottom:"32px"},contentContainer:{marginBottom:"16px",selectors:{a:{textDecoration:"none",color:n.palette.themeDark}}},title:{fontSize:"16px",fontWeight:"600",lineHeight:"22px",maxHeight:"44px",overflow:"hidden"}};return o(o({},s),a)},t.getSafNodeSpinnerStyles=function(e){var n=e.theme,r=e.stylesFunc,i=t.getCustomStyles(n,r),a=i&&i.safNode?i.safNode:{};return o(o({},{spinnerStyles:{}}),a)},t.getSafActionNodeStyles=function(e){var n=e.theme,i=e.stylesFunc,a=t.getCustomStyles(n,i),s=a&&a.safActionNode?a.safActionNode:{},c={completedIcon:{cursor:"pointer",float:"right",color:n.palette.green},failedIcon:{cursor:"pointer",float:"right",color:n.palette.red},label:{fontWeight:r.FontWeights.regular,overflow:"hidden",width:"93%",textAlign:"left","& > *":{fontWeight:r.FontWeights.regular,overflow:"hidden","overflow-wrap":"break-word",whiteSpace:"nowrap",textOverflow:"ellipsis",textAlign:"left"},"overflow-wrap":"break-word",whiteSpace:"nowrap",textOverflow:"ellipsis",minHeight:"24px !important"},safContainer:{margin:"10px",marginTop:0},spinner:{root:{marginTop:"10px",width:"80%"}}};return o(o({},c),s)},t.getDafSpinnerStyles=function(e){var n=e.theme,i=e.stylesFunc,a=t.getCustomStyles(n,i),s=a&&a.dafSpinner?a.dafSpinner:{},c={completedIcon:{cursor:"pointer",float:"right",color:n.palette.green},failedIcon:{cursor:"pointer",float:"right",color:n.palette.red},label:{fontWeight:r.FontWeights.regular,overflow:"hidden",width:"93%",textAlign:"left","& > *":{fontWeight:r.FontWeights.regular,overflow:"hidden","overflow-wrap":"break-word",whiteSpace:"nowrap",textOverflow:"ellipsis",textAlign:"left"},"overflow-wrap":"break-word",whiteSpace:"nowrap",textOverflow:"ellipsis",minHeight:"24px !important"},dafContainer:{margin:"10px",marginTop:0}};return o(o({},c),s)},t.getHeaderStyles=function(e){var n=e.theme,i=e.stylesFunc,a=t.getCustomStyles(n,i),s=a&&a.mainHeader?a.mainHeader:{},c={headerRootDiv:{color:n.palette.black,width:"100%",fontsize:"18px","& > *":{width:"100%",color:n.palette.black,marginLeft:"10px",fontWeight:r.FontWeights.bold,overflow:"hidden","overflow-wrap":"break-word",whiteSpace:"nowrap",textOverflow:"ellipsis"},marginBottom:"20px"}};return o(o({},c),s)},t.getOptionBtnStyles=function(e){var n=e.theme,i=e.stylesFunc,a=t.getCustomStyles(n,i),s=a&&a.choice&&a.choice.choiceBtn?a.choice.choiceBtn:{},c={root:{border:"1px solid "+n.palette.themePrimary,marginRight:"16px",marginTop:"16px",minWidth:"52px",minHeight:"42px",width:"80%",color:n.palette.themePrimary,transition:"1s"},label:{fontWeight:r.FontWeights.regular,overflow:"hidden",height:"100%",width:"93%","& > *":{fontWeight:r.FontWeights.regular,overflow:"hidden","overflow-wrap":"break-word",whiteSpace:"nowrap",textOverflow:"ellipsis"},"overflow-wrap":"break-word",whiteSpace:"nowrap",textOverflow:"ellipsis",minHeight:"24px !important"},textContainer:{textAlign:"left",overflow:"hidden","& > span":{minHeight:"18px !important"}}};return o(o({},c),s)},t.getNodeHeaderStyles=function(e){var n=e.theme,i=e.stylesFunc,a=t.getCustomStyles(n,i),s=a&&a.nodeHeader?a.nodeHeader:{},c={root:{width:"100%",background:n.palette.themeLight,color:n.palette.black,display:"flex",padding:"10px",paddingRight:"0",position:"relative"},indexNumber:{"padding-right":"5px"},textDiv:{width:"80%",overflow:"hidden"},nodeLabel:{fontSize:"16px","& :first-child":{"margin-top":"0"},"& :last-child":{"margin-bottom":"0"}},chosenOptionLabel:{"& :first-child":{"margin-top":"0"},"& :last-child":{"margin-bottom":"0"},fontWeight:r.FontWeights.bold,"overflow-wrap":"break-word",whiteSpace:"nowrap",textOverflow:"ellipsis",overflow:"hidden"},editIcon:{cursor:"pointer",float:"right"},completedIcon:{cursor:"pointer",float:"right",color:n.palette.green},failedIcon:{cursor:"pointer",float:"right",color:n.palette.red}};return o(o({},c),s)},t.getChoiceNodeStyles=function(e){var n=e.theme,i=e.stylesFunc,a=t.getCustomStyles(n,i),s=a&&a.choice?a.choice:{},c={container:{width:"100%",border:"1px solid "+n.palette.neutralTertiaryAlt,overflow:"hidden",marginBottom:"5px"},listContainer:{marginBottom:"10px",marginLeft:"10px"},btnLabel:{fontWeight:r.FontWeights.regular,overflow:"hidden",height:"100%",width:"100%","& > *":{fontWeight:r.FontWeights.regular,overflow:"hidden","overflow-wrap":"break-word"}},choiceBtn:t.getOptionBtnStyles(e),editIcon:{cursor:"pointer",float:"right"},choicesList:{margin:"10px",marginTop:0},spinner:{root:{marginTop:"10px",width:"80%"}}};return o(o({},c),s)},t.getNodeListStyles=function(e){var n=e.theme,r=e.stylesFunc,i=t.getCustomStyles(n,r),a=i&&i.nodeList?i.nodeList:{};return o(o({},{startNodeContainer:{width:"100%",overflow:"hidden",marginBottom:"10px"},container:{width:"100%",overflow:"hidden",minHeight:"100px"},listContainer:{height:"100%",width:"100%"},textNodeContainer:{width:"100%",overflow:"hidden",marginTop:"-10px",paddingTop:"10px",transition:"1s"}}),a)},t.getNodeStyles=function(e){var n=e.theme,r=e.stylesFunc,i=t.getCustomStyles(n,r),a=i&&i.node?i.node:{},s={startNodeLabel:{color:n.palette.black,marginLeft:"10px",display:"inline",fontSize:"16px","& :first-child":{"margin-top":"0",marginLeft:"10px"},"& :last-child":{"margin-bottom":"0"}},hairline:{width:"75%",margin:"10px",marginTop:0},content:{color:n.palette.black,width:"80%",margin:"10px",marginTop:"0px","&  *":{marginTop:"5px",marginBottom:"0"}},contentTitle:{fontSize:"16px",fontWeight:"600",lineHeight:"22px",maxHeight:"44px",overflow:"hidden"},question:{color:n.palette.black,width:"80%",margin:"10px",marginTop:0,marginBottom:0,fontWeight:"bold"},nodeWithSecondaryText:{backgroundColor:n.palette.themeLighter,border:"1px solid transparent"}};return o(o({},s),a)},t.getTextFieldComponentSpinnerStyles=function(e){var n=e.theme,r=e.stylesFunc,i=t.getCustomStyles(n,r),a=i&&i.textFieldSpinner?i.textFieldSpinner:{};return o(o({},{}),a)},t.getsafDiagnosticsClassNames=r.classNamesFunction(),t.getMainAppClassNames=r.classNamesFunction(),t.getChoiceNodeClassNames=r.classNamesFunction(),t.getNodeHeaderClassNames=r.classNamesFunction(),t.getNodeClassNames=r.classNamesFunction(),t.getHeaderClassNames=r.classNamesFunction(),t.getNodeListClassNames=r.classNamesFunction(),t.getSafNodeClassNames=r.classNamesFunction(),t.getSafActionNodeClassNames=r.classNamesFunction(),t.getDafNodeClassNames=r.classNamesFunction(),t.getTextFieldDefaultClassNames=r.classNamesFunction()},function(e,t,n){"use strict";var o=this&&this.__createBinding||(Object.create?function(e,t,n,o){void 0===o&&(o=n),Object.defineProperty(e,o,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,o){void 0===o&&(o=n),e[o]=t[n]}),r=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||t.hasOwnProperty(n)||o(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),r(n(149),t),r(n(150),t),r(n(151),t),r(n(125),t)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.enableLinkClickLoggingSelector=t.globalVarsSelector=t.nodeRaisedEventsSelector=t.raisedEventsSelector=t.diagnosticsProgressSelectror=t.diagnosticsFormSelector=t.diagnosticsResponseSelector=t.ErrorSelector=t.isDiagnosticActionInProgressSelector=t.isComponentInitializedSelector=t.correlationIdSelector=t.sessionIdSelector=t.scrollRefClassNameSelector=t.diagnosticsMaxRetriesSelector=t.enableScrollToTopSelector=t.enableScrollToBottomSelector=t.staticConfigSelector=t.textContentSelector=t.topHeadingSelector=t.jsonPayloadMetaSelector=t.jsonPayloadSelector=t.getSelectedChoiceSelector=t.getDynamicChoicesSelector=t.getDynamicChoicesListSelector=t.getIsInEditModeSelector=t.getStaticChoicesSelector=t.getNodeSelector=t.renderedNodesSelector=void 0;var o=n(33),r=n(8);t.renderedNodesSelector=r.createSelector([function(e){return e.get("IntentGraph").get("renderedNodes")}],(function(e){return e}));var i=function(e,t){if(t.uId)return e.find((function(e){return t.uId===e.get("uId")}))};t.getNodeSelector=r.createSelector([t.renderedNodesSelector,function(e,t){return t}],i),t.getStaticChoicesSelector=r.createSelector([t.renderedNodesSelector,function(e,t){return t}],(function(e,t){var n=i(e,t);return!!n&&n.get("staticChoices")})),t.getIsInEditModeSelector=r.createSelector([t.renderedNodesSelector,function(e,t){return t}],(function(e,t){var n=i(e,t);return!!n&&n.get("isInEditMode")})),t.getDynamicChoicesListSelector=r.createSelector([t.renderedNodesSelector,function(e,t){return t}],(function(e,t){var n=i(e,t);return!!n&&n.get("dynamicChoicesList")})),t.getDynamicChoicesSelector=r.createSelector([t.renderedNodesSelector,function(e,t){return t}],(function(e,t){var n=i(e,t);return!!n&&n.get("dynamicChoices")})),t.getSelectedChoiceSelector=r.createSelector([t.renderedNodesSelector,function(e,t){return t}],(function(e,t){var n=i(e,t);return!!n&&n.get("selectedChoice")})),t.jsonPayloadSelector=r.createSelector([function(e){return e.get("IntentGraph").get("staticConfig").get("jsonDocument")}],(function(e){return e})),t.jsonPayloadMetaSelector=r.createSelector([t.jsonPayloadSelector],(function(e){return!!e&&e.get("meta")})),t.topHeadingSelector=r.createSelector([t.jsonPayloadSelector],(function(e){return e.get("topHeadingText")})),t.textContentSelector=r.createSelector([function(e,t){if(t.componentkey){var n,o=t.componentkey.split("$"),r=void 0,i=void 0;if("document"===o[0]&&o.length>=2)return e.get("IntentGraph").get("staticConfig").get("jsonDocument").get("topHeadingText");if(o.length>=2){n=o[0],r=o[1],o.length>2&&("staticChoices"===r.toLowerCase()||"dynamicChoicesList"===r.toLowerCase())&&(i=Number(o[2]));var a=e.get("IntentGraph").get("renderedNodes").find((function(e){return e.get("uId")===n}));switch(r){case"staticChoices":case"dynamicChoicesList":return a.get(r).get(i).get("text");case"question":case"title":case"text":return a.get(r)}}}}],(function(e){return e})),t.staticConfigSelector=r.createSelector([function(e){return e.get("IntentGraph").get("staticConfig")}],(function(e){return e})),t.enableScrollToBottomSelector=r.createSelector([t.staticConfigSelector],(function(e){return e.get("enableScrollToBottom")})),t.enableScrollToTopSelector=r.createSelector([t.staticConfigSelector],(function(e){return e.get("enableScrollToTop")})),t.diagnosticsMaxRetriesSelector=r.createSelector([t.staticConfigSelector],(function(e){return e.get("safDiagnosticsSettings")&&e.get("safDiagnosticsSettings").get("safActionMaxRetries")?e.get("safDiagnosticsSettings").get("safActionMaxRetries"):o.SafConstants.SAFDiagnosticsMaxRetriesCount})),t.scrollRefClassNameSelector=r.createSelector([t.staticConfigSelector],(function(e){return e.get("scrollRef")})),t.sessionIdSelector=r.createSelector([t.staticConfigSelector],(function(e){return e.get("sessionId")})),t.correlationIdSelector=r.createSelector([t.staticConfigSelector],(function(e){return e.get("correlationId")})),t.isComponentInitializedSelector=r.createSelector([function(e){return e.get("IntentGraph").get("isComponentInitialized")}],(function(e){return e})),t.isDiagnosticActionInProgressSelector=r.createSelector([function(e){return e.get("IntentGraph").get("isDiagnosticsActionInProgress")}],(function(e){return!!e}));var a=r.createSelector([function(e){return e.getIn(["errors","errorMap"])}],(function(e){return e}));t.ErrorSelector=r.createSelector([a,function(e,t){return t}],(function(e,t){if(e&&e.size){var n=t.componentModel&&t.componentModel.get("Key")?t.componentModel.get("Key"):t.componentKey;return n?e.find((function(e){return e.get("ComponentKey")===n})):null}return null})),t.diagnosticsResponseSelector=r.createSelector([function(e){return e.get("IntentGraph").get("diagnosticsResponse")}],(function(e){return e})),t.diagnosticsFormSelector=r.createSelector((function(e){return e.get("IntentGraph").get("diagnosticsFormModel")}),(function(e){return e})),t.diagnosticsProgressSelectror=r.createSelector([function(e){return e.get("IntentGraph").get("diagnosticsProgress")}],(function(e){return e})),t.raisedEventsSelector=r.createSelector([function(e){return e.get("IntentGraph").get("raisedEvents")}],(function(e){return e})),t.nodeRaisedEventsSelector=r.createSelector([t.raisedEventsSelector,function(e,t){return t}],(function(e,t){var n;if(e&&e.size){var o=t.uId;n=e.find((function(e){return e&&o&&e.get("raisedBy")===o}))}return n||null})),t.globalVarsSelector=r.createSelector((function(e){return e.get("IntentGraph").get("globalVars")}),(function(e){return e})),t.enableLinkClickLoggingSelector=r.createSelector([t.staticConfigSelector],(function(e){return e.get("logLinkClicks")}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return i}));var o=n(4),r="ms-Fabric--isFocusVisible";function i(e,t){var n=t?Object(o.a)(t):Object(o.a)();if(n){var i=n.document.body.classList;i.add(e?r:"ms-Fabric--isFocusHidden"),i.remove(e?"ms-Fabric--isFocusHidden":r)}}},function(e,t,n){"use strict";var o={},r=void 0;try{r=window}catch(e){}function i(e,t){if(void 0!==r){var n=r.__packages__=r.__packages__||{};n[e]&&o[e]||(o[e]=t,(n[e]=n[e]||[]).push(t))}}n.d(t,"a",(function(){return i})),i("@uifabric/set-version","6.0.0")},function(e,t,n){"use strict";n.d(t,"e",(function(){return l})),n.d(t,"d",(function(){return u})),n.d(t,"b",(function(){return d})),n.d(t,"c",(function(){return p})),n.d(t,"a",(function(){return h}));var o=n(13),r=!1,i=0,a={empty:!0},s={},c="undefined"==typeof WeakMap?null:WeakMap;function l(e){c=e}function u(){i++}function d(e,t,n){var o=p(n.value&&n.value.bind(null));return{configurable:!0,get:function(){return o}}}function p(e,t,n){if(void 0===t&&(t=100),void 0===n&&(n=!1),!c)return e;if(!r){var a=o.b.getInstance();a&&a.onReset&&o.b.getInstance().onReset(u),r=!0}var s,l=0,d=i;return function(){for(var o=[],r=0;r<arguments.length;r++)o[r]=arguments[r];var a=s;(void 0===s||d!==i||t>0&&l>t)&&(s=m(),l=0,d=i),a=s;for(var c=0;c<o.length;c++){var u=f(o[c]);a.map.has(u)||a.map.set(u,m()),a=a.map.get(u)}return a.hasOwnProperty("value")||(a.value=e.apply(void 0,o),l++),!n||null!==a.value&&void 0!==a.value||(a.value=e.apply(void 0,o)),a.value}}function h(e){if(!c)return e;var t=new c;return function(n){if(!n||"function"!=typeof n&&"object"!=typeof n)return e(n);if(t.has(n))return t.get(n);var o=e(n);return t.set(n,o),o}}function f(e){return e?"object"==typeof e||"function"==typeof e?e:(s[e]||(s[e]={val:e}),s[e]):a}function m(){return{map:c?new c:null}}},,function(module,exports,__webpack_require__){"use strict";var __awaiter=this&&this.__awaiter||function(e,t,n,o){return new(n||(n=Promise))((function(r,i){function a(e){try{c(o.next(e))}catch(e){i(e)}}function s(e){try{c(o.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}c((o=o.apply(e,t||[])).next())}))},__generator=this&&this.__generator||function(e,t){var n,o,r,i,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,o&&(r=2&i[0]?o.return:i[0]?o.throw||((r=o.return)&&r.call(o),0):o.next)&&!(r=r.call(o,i[1])).done)return r;switch(o=0,r&&(i=[2&i[0],r.value]),i[0]){case 0:case 1:r=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,o=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!r||i[1]>r[0]&&i[1]<r[3])){a.label=i[1];break}if(6===i[0]&&a.label<r[1]){a.label=r[1],r=i;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(i);break}r[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],o=0}finally{n=r=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.dispatchSetErrorAction=exports.dispatchResetErrorAction=exports.dispatchGetDiagnosticsResult=exports.dispatchStartSAFAction=exports.dispatchStartDiagnostics=exports.dispatchDiagnosticsFormComponentUpdate=exports.dispatchFetchSafDiagnosticsAction=exports.dispatchSafDiagnosticRendered=exports.dispatchDiagnosticsCompletedAction=exports.dispatchStartSAFDiagnosticsAction=exports.dispatchStartDiagnosticsAction=exports.dispatchNodeRernderedEvent=exports.dispatchCancelEditChoiceSelections=exports.dispatchEditNodeChoiceSelections=exports.dispatchPushTargetNode=void 0;var models_1=__webpack_require__(14),safDiagnostic_models_1=__webpack_require__(33),serialize_1=__webpack_require__(76),redux_1=__webpack_require__(8),utils_1=__webpack_require__(19),actions_1=__webpack_require__(29),selectors_redux_1=__webpack_require__(20);exports.dispatchPushTargetNode=function(e,t,n,o,r,i,a){return function(s,c){return __awaiter(void 0,void 0,void 0,(function(){var l,u,d,p,h,f;return __generator(this,(function(m){return l=c().get("IntentGraph").get("staticConfig").get("jsonDocument"),t.get("values")&&t.get("values").size>0&&t.get("values").forEach((function(e){if(e.get("value")&&e.get("variableToSet")){var t=redux_1.createImmutableMap({name:e.get("variableToSet"),value:e.get("value")});s(actions_1.updateGlobalVarsAction(redux_1.createImmutableList([t])))}})),u=!0===a||void 0===a?t.get("targetNodeId"):t.get("failedTargetNodeId"),d=t.get("raiseEventName"),p=l.get("nodes").find((function(e){return e.get("id")===u})),p=utils_1.setSignInNode(p,i,l),h=l.get("meta"),(f=utils_1.generateAdhocs(h,c,e))[5]=t.get("id"),(utils_1.isNullOrUndefined(p)||p&&0===p.size)&&utils_1.isNullOrUndefined(d)&&utils_1.executeLogHandler(models_1.LogEventName.onJsonDocumentValidationError,models_1.LogLevel.Error,models_1.LogMessageCodes.TargetNodeIdAndRaiseEventNameNull,e,r,c,f),utils_1.executeLogHandler(models_1.LogEventName.onChoiceClick,models_1.LogLevel.Info,models_1.LogMessageCodes.ChoiceNodeClicked+": "+t.get("text"),e,r,c,f),s(actions_1.pushTargetNodeOnRenderedNodesAction(e,p,t,n,o)),[2]}))}))}},exports.dispatchEditNodeChoiceSelections=function(e,t,n){return function(o,r){return __awaiter(void 0,void 0,void 0,(function(){var i,a,s;return __generator(this,(function(c){return i=r().get("IntentGraph").get("renderedNodes"),a=i.findIndex((function(t){return t.get("id")===e})),utils_1.isNullOrUndefined(a)||-1===a?utils_1.executeLogHandler(models_1.LogEventName.onJsonDocumentValidationError,models_1.LogLevel.Error,models_1.LogMessageCodes.InternalProcessionError_NodeNotFound,e,t,r):(s=i.slice(a+1,i.count()),o(actions_1.editNodeChoiceSelectionAction(n,s.toList()))),[2]}))}))}},exports.dispatchCancelEditChoiceSelections=function(e){return function(e,t){return __awaiter(void 0,void 0,void 0,(function(){var n;return __generator(this,(function(o){return n=t().get("IntentGraph").get("prevChoiceSelections"),e(actions_1.cancelEditNodeChoiceSelectionAction(n)),[2]}))}))}},exports.dispatchNodeRernderedEvent=function(e,t){return function(n,o){return __awaiter(void 0,void 0,void 0,(function(){var n,r,i,a,s,c,l,u,d,p;return __generator(this,(function(h){return n=o().get("IntentGraph").get("staticConfig").get("jsonDocument"),(r=n.get("meta"))&&(i=r.get("id"),a=r.get("title"),s=r.get("team"),c=e.get("id"),l=e.get("outcomeSignal"),u=e.get("tags"),d=e.get("text")?JSON.stringify(e.get("text").toObject()):null,p=e.get("type"),t(i,a,s,c,l,u,p,d)),[2]}))}))}};var _getTimeoutInSeconds=function(e,t){return e||t||models_1.Constants.timeoutInSeconds};exports.dispatchStartDiagnosticsAction=function(e,t,n){return function(o,r){return __awaiter(void 0,void 0,void 0,(function(){var i,a,s,c,l,u,d,p,h,f,m,g,b;return __generator(this,(function(y){return i=models_1.LogLevel.Trace,s=models_1.LogMessageCodes.DiagnosticsActionStarted,c=e.get("uId"),l=e.get("id"),u=e.get("actionType"),d=e.get("actionReference"),p=e.get("timeoutSeconds"),h=r().get("IntentGraph").get("staticConfig").get("timeoutInSeconds"),f=e.get("parameters"),m=r().get("IntentGraph").get("globalVars"),u&&d?(g=void 0,f&&(b=[],g=f.map((function(e){var t=e.get("value"),o=t.match(models_1.RegExpForParamOrVar);return m&&(o&&o.length>0?o.forEach((function(e){var n=m.find((function(t){return e.includes("}")&&e.includes("{")&&e.trim()==="{"+t.get("name").trim()+"}"}));n?t=t.replace(e,n.get("value")):b.push("unable to find variable from global state - "+e)})):b.push("regex failure: incorrect paramter format - "+t)),b.length>0&&utils_1.executeLogHandler(models_1.LogEventName.onDafParamValidationError,models_1.LogLevel.Error,b.join(","),l,n,r),{name:e.get("name"),value:t}})).toArray()),t(l,u,d,p,g),a=window.setInterval((function(){var t=r().get("IntentGraph").get("renderedNodes").find((function(e){return e.get("uId")===c}));t&&t.get("diagnosticsActionStatus")===models_1.DiagnosticsActionStatus.InProgress&&o(exports.dispatchDiagnosticsCompletedAction(e.get("id"),void 0,n,!1,!0))}),1e3*_getTimeoutInSeconds(p,h)),r().get("IntentGraph").get("renderedNodes").findLast((function(e){return e.get("id")===l}))?o(actions_1.diagnosticsStartedAction(c,a)):void 0!==a&&window.clearInterval(a)):(i=models_1.LogLevel.Error,s=models_1.LogMessageCodes.FailedToStartDiagnosticsAction,void 0!==a&&window.clearInterval(a)),utils_1.executeLogHandler(models_1.LogEventName.onDafDiagnosticsStarted,i,s,l,n,r),[2]}))}))}};var handleSafSchemaFetchError=function(e,t,n,o,r,i,a,s,c,l){if(e<t)return e+=1,n(exports.dispatchStartSAFDiagnosticsAction(a,r,i,e)),!1;var u=models_1.DiagnosticsActionStatus.Error,d=a.get("failedTargetNodeId"),p=s.find((function(e){return e.get("id")===d}));n(actions_1.safDiagnosticsCompletedAction()),n(actions_1.setDiagnosticsStatusAction(safDiagnostic_models_1.DiagnosticsExecutionStatus.Failed));var h="SAF schema fetch failed "+l;return c&&(h="SAF schema fetch failed. - errorMessage: "+c.message+", errorStack: "+c.stack+", retryCount: "+e+", maxRetries: "+t),utils_1.executeLogHandler(models_1.LogEventName.onSAfSchemaFetchFailed,models_1.LogLevel.Info,h,a.get("id"),i,o),n(actions_1.diagnosticsCompletedAction(a.get("id"),u,p,!0)),!1};exports.dispatchStartSAFDiagnosticsAction=function(e,t,n,o){return function(r,i){return __awaiter(void 0,void 0,void 0,(function(){var a,s,c,l;return __generator(this,(function(u){return a=i(),s=i().get("IntentGraph").get("staticConfig").get("jsonDocument").get("nodes"),c=selectors_redux_1.diagnosticsMaxRetriesSelector(a),o=o||1,r(actions_1.fetchingSafDiagnosticsAction(!1,e.get("id"))),(l=models_1.SAFActionMap[e.get("actionReference")]||e.get("actionReference"))?t(l).then((function(a){a&&a.JsonSchemaForm?(r(actions_1.fetchingSafDiagnosticsAction(!0,e.get("id"))),r(actions_1.loadDiagnosticResourceAction(null,redux_1.createImmutableMap(a.JsonSchemaForm))),r(exports.dispatchSafDiagnosticRendered(e,n,!0))):handleSafSchemaFetchError(o,c,r,i,t,n,e,s,null,"SAF Fetching Schema returned null")})).catch((function(a){handleSafSchemaFetchError(o,c,r,i,t,n,e,s,a)})):handleSafSchemaFetchError(o,c,r,i,t,n,e,s,null,"SAF Fetching Schema actionId is not found"),[2]}))}))}};var _mapDafResultsToVars=function(e,t){return function(n){return __awaiter(void 0,void 0,void 0,(function(){var o,r;return __generator(this,(function(i){return(o=t.get("variables"))&&o.size>0&&e&&e.size>0&&(r=o.map((function(t){var n=t.get("value");return n.match(models_1.RegExpForParamOrVar).forEach((function(t){var o=e.find((function(e){return t.includes("}")&&t.includes("{")&&t.trim().toLowerCase()==="{"+(null==e?void 0:e.get("name").trim().toLowerCase())+"}"}));o&&(n=n.replace(t,o.get("value")))})),redux_1.createImmutableMap({name:t.get("name"),value:n})})),n(actions_1.updateGlobalVarsAction(redux_1.createImmutableList(r.toArray())))),[2]}))}))}},_evalTargetConditions=function(globalVars,condition){var conditionExpression=condition,regExp=models_1.RegExpForParamOrVar;if(conditionExpression){var condVars=conditionExpression.match(regExp);condVars.forEach((function(e){var t=globalVars.find((function(t){return e.includes("}")&&e.includes("{")&&e.trim().toLowerCase()==="{"+t.get("name").trim().toLowerCase()+"}"}));t&&(conditionExpression=conditionExpression.replace(e,t.get("value")))}))}return!!eval(conditionExpression)};exports.dispatchDiagnosticsCompletedAction=function(e,t,n,o,r){return void 0===o&&(o=!1),function(i,a){return __awaiter(void 0,void 0,void 0,(function(){var s,c,l,u,d,p,h,f,m,g;return __generator(this,(function(b){return(c=a().get("IntentGraph").get("renderedNodes").findLast((function(t){return t.get("id")===e})))&&(window.clearInterval(c.get("timerId")),c.get("diagnosticsActionStatus")===models_1.DiagnosticsActionStatus.InProgress?(l=models_1.DiagnosticsActionStatus.CompletedSuccessfully,u=void 0,d=c.get("defaultTargetNodeId"),p=a().get("IntentGraph").get("staticConfig").get("jsonDocument").get("nodes"),o?(utils_1.executeLogHandler(models_1.LogEventName.onDafDiagnosticsFailure,models_1.LogLevel.Error,models_1.LogMessageCodes.DiagnosticsActionFailed,c.get("id"),n,a),l=models_1.DiagnosticsActionStatus.Error,d=c.get("failedTargetNodeId")):r?(utils_1.executeLogHandler(models_1.LogEventName.onDafDiagnosticsActionTimeout,models_1.LogLevel.Error,models_1.LogMessageCodes.DiagnosticsActionTimeout,c.get("id"),n,a),l=models_1.DiagnosticsActionStatus.Error,d=c.get("failedTargetNodeId")):t?(s=serialize_1.deserializeToImmutableMap(models_1.DiagnosticsActionResult,t)).get("IsSuccess")?(utils_1.executeLogHandler(models_1.LogEventName.onDafDiagnosticsCompleted,models_1.LogLevel.Info,models_1.LogMessageCodes.DiagnosticsActionResponseWithIsSuccessTrue,c.get("id"),n,a),(h=s.get("Results"))&&i(_mapDafResultsToVars(h,c)),(f=c.get("targets"))&&(m=a().get("IntentGraph").get("globalVars"),(u=f.find((function(e){try{return _evalTargetConditions(m,e.get("condition"))}catch(t){return utils_1.executeLogHandler(models_1.LogEventName.onConditionEvaluationFailed,models_1.LogLevel.Error,models_1.LogMessageCodes.InternalProcessionError_ConditionEvalFailed+", condition: "+e.get("condition"),c.get("id"),n,a),!1}})))&&(d=u.get("targetNodeId")))):(utils_1.executeLogHandler(models_1.LogEventName.onDafDiagnosticsFailure,models_1.LogLevel.Trace,models_1.LogMessageCodes.DiagnosticsActionResponseWithIsSuccessFalse,c.get("id"),n,a),l=models_1.DiagnosticsActionStatus.Error,d=c.get("failedTargetNodeId")):(utils_1.executeLogHandler(models_1.LogEventName.onDafDiagnosticsActionResultIsNull,models_1.LogLevel.Error,models_1.LogMessageCodes.DiagnosticsActionResultResponseIsNull,c.get("id"),n,a),l=models_1.DiagnosticsActionStatus.Error,d=c.get("failedTargetNodeId")),u=p.find((function(e){return e.get("id")===d})),g=void 0,u?g=u.withMutations((function(e){if(e.get("dynamicChoices")){var t=e.get("dynamicChoiceTargetNodeId"),n=s.get("DynamicChoices").map((function(e){var n=redux_1.createImmutableMap({contentType:models_1.ContentType.EmbeddedPlainText,content:e,contentText:"",contentTitle:""});return redux_1.createImmutableMap({text:n,raiseEventName:"",targetNodeId:t})}));e.set("dynamicChoicesList",redux_1.createImmutableList(n.toArray()))}return e})):utils_1.executeLogHandler(models_1.LogEventName.onJsonDocumentValidationError,models_1.LogLevel.Error,models_1.LogMessageCodes.TargetNodeNotFound,d,n,a),i(actions_1.diagnosticsCompletedAction(c.get("id"),l,g,o))):utils_1.executeLogHandler(models_1.LogEventName.onDafDiagnosticsFailure,models_1.LogLevel.Warning,models_1.LogMessageCodes.DiagnosticsResultHandlerCalledMultipleTimesOrAfterTimeout,c.get("id"),n,a)),[2]}))}))}},exports.dispatchSafDiagnosticRendered=function(e,t,n){return function(o,r){return __awaiter(void 0,void 0,void 0,(function(){var i,a,s;return __generator(this,(function(c){return i=r().get("IntentGraph").get("staticConfig").get("jsonDocument").get("nodes"),a=n?e.get("successTargetNodeId"):e.get("failedTargetNodeId"),s=i.find((function(e){return e.get("id")===a})),o(actions_1.safDiagnosticRenderedAction(e.get("uId"),s,n)),utils_1.executeLogHandler(models_1.LogEventName.onSafDiagnosticRendered,models_1.LogLevel.Info,"render status: "+n,e.get("id"),t,r),[2]}))}))}},exports.dispatchFetchSafDiagnosticsAction=function(e,t,n,o){return function(r,i){return __awaiter(void 0,void 0,void 0,(function(){var a,s,c,l,u;return __generator(this,(function(d){return e&&t&&e.get("payload")&&(a=e.get("payload"),o&&o.get("Identifier")&&o.get("Identifier")===a?(r(exports.dispatchSafDiagnosticRendered(e,n,!0)),r(actions_1.fetchingSafDiagnosticsAction(!0,e.get("uId")))):(s=models_1.ContentType.ServerDiagnostic,c=i(),l=selectors_redux_1.jsonPayloadMetaSelector(c),u=selectors_redux_1.sessionIdSelector(c),r(actions_1.fetchingSafDiagnosticsAction(!1,e.get("uId"))),t(s,a).then((function(t){t?(r(actions_1.loadDiagnosticResourceAction(redux_1.createImmutableMap(t))),r(exports.dispatchSafDiagnosticRendered(e,n,!0)),n(models_1.LogEventName.onDiagnosticResourceReturned,models_1.LogLevel.Info,u,"Diagnostic resource returned",utils_1.generateAdhocs(l,void 0,void 0,e))):r(exports.dispatchSafDiagnosticRendered(e,n,!1)),r(actions_1.fetchingSafDiagnosticsAction(!0,e.get("uId")))})).catch((function(t){r(actions_1.fetchingSafDiagnosticsAction(!0,e.get("uId"))),n(models_1.LogEventName.onDiagnosticResourceRetrivalFailure,models_1.LogLevel.Info,u,"Error retirieving diagnostic resource errorMessage: "+t.message+", errorStack: "+JSON.stringify(t.stack),utils_1.generateAdhocs(l,void 0,void 0,e)),r(exports.dispatchSafDiagnosticRendered(e,n,!1))})))),[2]}))}))}},exports.dispatchDiagnosticsFormComponentUpdate=function(e,t){return function(n){return __awaiter(void 0,void 0,void 0,(function(){return __generator(this,(function(o){return n(actions_1.updateDiagnosticsFormComponentAction(e,t)),[2]}))}))}};var getDiagnosticsFormValues=function(e){var t=e().get("IntentGraph").get("diagnosticsFormModel"),n=new safDiagnostic_models_1.DiagnosticsStartRequest;if(t){var o=t.get("JsonFormValues");o&&(n.CorrelationId=t.get("CorrelationId"),n.TenantId=t.get("TenantId"),n.Identifier=t.get("Identifier"),n.Locale=t.get("Locale"),n.JsonFormValues=JSON.stringify(o?o.toObject():{}))}return redux_1.createImmutableMap(n)},continueDiagnosticRun=function(e){return!selectors_redux_1.diagnosticsResponseSelector(e()).get("AbandonCurrentRun")};exports.dispatchStartDiagnostics=function(e,t,n,o,r){return function(i,a){return __awaiter(void 0,void 0,void 0,(function(){var s,c,l,u,d,p,h;return __generator(this,(function(f){switch(f.label){case 0:return f.trys.push([0,2,,3]),s=getDiagnosticsFormValues(a),i(actions_1.setDiagnosticsStatusAction(safDiagnostic_models_1.DiagnosticsExecutionStatus.StartRequested)),i(actions_1.abandonDiagnosticsRunAction(!1)),i(actions_1.diagnosticsStartedAction(r,void 0)),[4,e(s.toObject())];case 1:return(c=f.sent())&&continueDiagnosticRun(a)&&(l=redux_1.createImmutableMap(c),i(actions_1.startDiagnosticsRunAction(l)),u=void 0,l.get("Status")===safDiagnostic_models_1.DiagnosticsExecutionStatus.Executing?(i(actions_1.incrementDiagnosticsRunProgressAction()),d=a(),p=d.get("IntentGraph").get("diagnosticsTimer").get("Delay"),u=window.setInterval((function(){i(exports.dispatchGetDiagnosticsResult(t,d.get("IntentGraph").get("diagnosticsResponse"),n,o))}),p),i(actions_1.startDiagnosticsTimerAction(u)),utils_1.executeLogHandler(models_1.LogEventName.onStartDiagnosticsSucceeded,models_1.LogLevel.Info,"StartDiagnostics succeeded.",o,n,a)):(window.clearInterval(u),i(actions_1.stopDiagnosticsTimerAction()),i(actions_1.setDiagnosticsStatusAction(safDiagnostic_models_1.DiagnosticsExecutionStatus.Failed)),utils_1.executeLogHandler(models_1.LogEventName.onStartDiagnosticsFailed,models_1.LogLevel.Info,"StartDiagnostics failed.",o,n,a))),[3,3];case 2:return h=f.sent(),i(actions_1.safDiagnosticsCompletedAction()),continueDiagnosticRun(a)&&(i(actions_1.setDiagnosticsStatusAction(safDiagnostic_models_1.DiagnosticsExecutionStatus.Failed)),utils_1.executeLogHandler(models_1.LogEventName.onStartDiagnosticsFailed,models_1.LogLevel.Info,"StartDiagnostics failed. - errorMessage: "+h.message+", errorStack: "+JSON.stringify(h.stack),o,n,a)),[3,3];case 3:return[2]}}))}))}};var populateContextVariables=function(e,t){var n=e(),o=n.get("IntentGraph").get("diagnosticsFormModel"),r=n.get("IntentGraph").get("globalVars"),i=o.get("ContextVariables"),a=i?i.toArray().map((function(e){return{Name:e.get("Name"),ValueProvider:e.get("ValueProvider")}})):[],s=o.get("GlobalVariables"),c={};if(o){var l=o.get("JsonFormValues");l&&(c=l.toObject(),s&&s.forEach((function(e){e&&r.find((function(t){return t.get("name").toLowerCase()===e.toLowerCase()&&(c[e]=t.get("value"),!0)}))})))}return{contextVariables:a,parameters:c}},handleSafActionError=function(e,t,n,o,r,i,a,s,c){if(e<t)return e+=1,n(exports.dispatchStartSAFAction(r,i,a,e)),!1;var l=models_1.DiagnosticsActionStatus.Error,u=a.get("failedTargetNodeId"),d=getTargetNodeFromCondition(a.get("failureTargets"),u,a.get("id"),o,n,i);n(actions_1.safDiagnosticsCompletedAction()),n(actions_1.setDiagnosticsStatusAction(safDiagnostic_models_1.DiagnosticsExecutionStatus.Failed));var p="SAF action failed "+c;return s&&(p="SAF action failed. - errorMessage: "+s.message+", errorStack: "+s.stack+", retryCount: "+e+", maxRetries: "+t),utils_1.executeLogHandler(models_1.LogEventName.onSAfActionRunFailed,models_1.LogLevel.Info,p,a.get("id"),i,o),n(actions_1.diagnosticsCompletedAction(a.get("id"),l,d,!0)),!1},getTargetNodeFromCondition=function(e,t,n,o,r,i,a){var s=o(),c=s.get("IntentGraph").get("staticConfig").get("jsonDocument").get("nodes"),l=s.get("IntentGraph").get("globalVars");if(e){var u=e.find((function(e){try{return _evalTargetConditions(l,e.get("condition"))}catch(t){return utils_1.executeLogHandler(models_1.LogEventName.onConditionEvaluationFailed,models_1.LogLevel.Error,models_1.LogMessageCodes.InternalProcessionError_ConditionEvalFailed+", condition: "+e.get("condition"),n,i,o),!1}}));u&&(t=u.get("targetNodeId"))}return c.find((function(e){return e.get("id")===t}))},getContextValues=function(e){return"string"==typeof e.Values?JSON.parse(e.Values):e.Values};exports.dispatchStartSAFAction=function(executeSAFActionHandler,logHandler,node,retriesCount){return function(dispatch,getState){return __awaiter(void 0,void 0,void 0,(function(){var tryingAgain,state,maxRetiresCount,nodeId,targetNodeId,targetNode,slotText,slotValue,updatedTargetNode,isError,diagnosticsActionStatus,actionId,paramAndContext,r,context_1,values_1,contextVariables,errorMessage,errorMessage,errorMessage,e_2;return __generator(this,(function(_a){switch(_a.label){case 0:tryingAgain=!1,retriesCount=retriesCount||1,state=getState(),maxRetiresCount=selectors_redux_1.diagnosticsMaxRetriesSelector(state),nodeId=node.get("id"),targetNodeId=node.get("defaultTargetNodeId"),isError=!1,diagnosticsActionStatus=models_1.DiagnosticsActionStatus.InProgress,_a.label=1;case 1:return _a.trys.push([1,5,,6]),dispatch(actions_1.abandonDiagnosticsRunAction(!1)),dispatch(actions_1.setDiagnosticsStatusAction(safDiagnostic_models_1.DiagnosticsExecutionStatus.StartRequested)),actionId=models_1.SAFActionMap[node.get("actionReference")]||node.get("actionReference"),actionId?(paramAndContext=populateContextVariables(getState,node),[4,executeSAFActionHandler(actionId,paramAndContext.parameters,paramAndContext.contextVariables)]):[3,3];case 2:return r=_a.sent(),r?(diagnosticsActionStatus=models_1.DiagnosticsActionStatus.CompletedSuccessfully,context_1=r.context,values_1=getContextValues(context_1),contextVariables=Object.keys(context_1).map((function(e){if(e&&context_1.hasOwnProperty(e))return redux_1.createImmutableMap({name:e,value:context_1[e]})})),dispatch(actions_1.updateGlobalVarsAction(redux_1.createImmutableList(contextVariables))),targetNode=getTargetNodeFromCondition(node.get("targets"),targetNodeId,node.get("id"),getState,dispatch,logHandler,values_1),targetNode?updatedTargetNode=targetNode.withMutations((function(mutableTargetNode){if(mutableTargetNode.get("dynamicChoices")){var dynamicChoicesList_1=[],dynamicValues_1=[];if(values_1&&mutableTargetNode.get("dynamicChoiceTargets")){values_1.forEach((function(value){if(mutableTargetNode.get("dynamicChoiceVariables")){var dynamicChoiceVariables=mutableTargetNode.get("dynamicChoiceVariables"),dynamicSlotValues=dynamicChoiceVariables.get("values");dynamicSlotValues&&dynamicSlotValues.size>0&&dynamicSlotValues.forEach((function(e){e.get("targetValue")&&(slotValue=value[e.get("value")]),dynamicValues_1.push(redux_1.createImmutableMap({value:value[e.get("value")],variableToSet:e.get("variableToSet")}))})),slotText=value[dynamicChoiceVariables.get("text")]}mutableTargetNode.get("dynamicChoiceTargets").find((function(t){var conditionTargetNodeId,conditionExpression=t.get("condition")&&t.get("condition").toLowerCase()||"";if(conditionExpression.includes("orderselection")||conditionExpression.includes("selectedoutput")){if(conditionExpression=void 0!==slotValue?conditionExpression.replace("{orderselection}",""+slotValue.toLowerCase()).replace("{selectedoutput}",""+slotValue.toLowerCase()):conditionExpression,eval(conditionExpression)||conditionExpression.includes("=='selected'")){conditionTargetNodeId=t.get("targetNodeId");var text=redux_1.createImmutableMap({contentType:models_1.ContentType.EmbeddedPlainText,content:slotText,contentText:"",contentTitle:""}),dynamicChoice=redux_1.createImmutableMap({text:text,raiseEventName:"",targetNodeId:conditionTargetNodeId,values:dynamicValues_1&&dynamicValues_1.length>0?redux_1.createImmutableList(dynamicValues_1):null});return dynamicChoicesList_1.push(dynamicChoice),!0}return!1}}))}));var y=redux_1.createImmutableList(dynamicChoicesList_1);mutableTargetNode=mutableTargetNode.set("dynamicChoicesList",y)}}return mutableTargetNode})):(errorMessage="Saf action target node not found after execution",isError=!0,tryingAgain=handleSafActionError(retriesCount,maxRetiresCount,dispatch,getState,executeSAFActionHandler,logHandler,node,null,errorMessage)),dispatch(actions_1.abandonDiagnosticsRunAction(!1)),dispatch(actions_1.diagnosticsStartedAction(nodeId,void 0))):(errorMessage="Saf action response is null",isError=!0,tryingAgain=handleSafActionError(retriesCount,maxRetiresCount,dispatch,getState,executeSAFActionHandler,logHandler,node,null,errorMessage)),[3,4];case 3:errorMessage="actionId missing",isError=!0,tryingAgain=handleSafActionError(retriesCount,maxRetiresCount,dispatch,getState,executeSAFActionHandler,logHandler,node,null,errorMessage),_a.label=4;case 4:return[3,6];case 5:return e_2=_a.sent(),isError=!0,tryingAgain=handleSafActionError(retriesCount,maxRetiresCount,dispatch,getState,executeSAFActionHandler,logHandler,node),[3,6];case 6:return tryingAgain||isError||(updatedTargetNode||(updatedTargetNode=getTargetNodeFromCondition(node.get("defaultTargets"),targetNodeId,node.get("id"),getState,dispatch,logHandler)),dispatch(actions_1.setDiagnosticsStatusAction(safDiagnostic_models_1.DiagnosticsExecutionStatus.Completed)),dispatch(actions_1.diagnosticsCompletedAction(node.get("id"),diagnosticsActionStatus,updatedTargetNode,isError))),[2]}}))}))}},exports.dispatchGetDiagnosticsResult=function(e,t,n,o){return function(r,i){return __awaiter(void 0,void 0,void 0,(function(){var a,s,c,l,u,d,p;return __generator(this,(function(h){switch(h.label){case 0:a=i(),s=a.get("IntentGraph").get("diagnosticsTimer"),c=s.get("IntervalId"),h.label=1;case 1:return h.trys.push([1,5,,6]),a.get("IntentGraph").get("diagnosticsProgress")<s.get("MaxIterations")?(r(actions_1.incrementDiagnosticsRunProgressAction()),(l=new safDiagnostic_models_1.DiagnosticsProgressRequest).Identifier=t.get("Identifier"),l.CorrelationId=t.get("CorrelationId"),l.Locale=t.get("Locale"),l.TenantId=t.get("TenantId"),l.SessionId=t.get("SessionId"),r(actions_1.abandonDiagnosticsRunAction(!1)),[4,e(l)]):[3,3];case 2:if((u=h.sent())&&continueDiagnosticRun(i)){switch(d=redux_1.createImmutableMap(u),p=!0,d.get("Status")){case safDiagnostic_models_1.DiagnosticsExecutionStatus.Executing:p=!1;break;case safDiagnostic_models_1.DiagnosticsExecutionStatus.Failed:p=!0,r(actions_1.setDiagnosticsStatusAction(safDiagnostic_models_1.DiagnosticsExecutionStatus.Failed)),utils_1.executeLogHandler(models_1.LogEventName.onGetDiagnosticsResultFailed,models_1.LogLevel.Info,"GetDiagnosticsResult failed.",o,n,i);break;case safDiagnostic_models_1.DiagnosticsExecutionStatus.Completed:p=!0,utils_1.executeLogHandler(models_1.LogEventName.onGetDiagnosticsResultSuceeded,models_1.LogLevel.Info,"GetDiagnosticsResult succeeded.",o,n,i);break;case safDiagnostic_models_1.DiagnosticsExecutionStatus.ContinueWithNext:p=!0,utils_1.executeLogHandler(models_1.LogEventName.onGetDiagnosticsResultSuceededWithNext,models_1.LogLevel.Info,"GetDiagnosticsResult succeeded with next.",o,n,i)}r(actions_1.setDiagnosticsRunProgress(d)),p&&c&&(window.clearInterval(c),r(actions_1.stopDiagnosticsTimerAction()))}return[3,4];case 3:window.clearInterval(c),r(actions_1.stopDiagnosticsTimerAction()),r(actions_1.setDiagnosticsStatusAction(safDiagnostic_models_1.DiagnosticsExecutionStatus.Failed,!0)),utils_1.executeLogHandler(models_1.LogEventName.onGetDiagnosticsResultTimeout,models_1.LogLevel.Info,"GetDiagnosticsResult timeout.",o,n,i),h.label=4;case 4:return[3,6];case 5:return h.sent(),continueDiagnosticRun(i)&&(window.clearInterval(c),r(actions_1.stopDiagnosticsTimerAction()),r(actions_1.setDiagnosticsStatusAction(safDiagnostic_models_1.DiagnosticsExecutionStatus.Failed)),utils_1.executeLogHandler(models_1.LogEventName.onGetDiagnosticsResultFailed,models_1.LogLevel.Error,"GetDiagnosticsResult failed.",o,n,i)),[3,6];case 6:return r(actions_1.safDiagnosticsCompletedAction()),[2]}}))}))}},exports.dispatchResetErrorAction=function(e){return function(t){return __awaiter(void 0,void 0,void 0,(function(){return __generator(this,(function(n){return t(actions_1.resetErrorAction(e)),[2]}))}))}},exports.dispatchSetErrorAction=function(e,t){return function(n){return __awaiter(void 0,void 0,void 0,(function(){return __generator(this,(function(o){return t&&n(actions_1.setErrorAction(e,t)),[2]}))}))}}},function(e,t,n){"use strict";function o(e,t){for(var n in e)if(e.hasOwnProperty(n)&&(!t.hasOwnProperty(n)||t[n]!==e[n]))return!1;for(var n in t)if(t.hasOwnProperty(n)&&!e.hasOwnProperty(n))return!1;return!0}function r(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return i.apply(this,[null,e].concat(t))}function i(e,t){for(var n=[],o=2;o<arguments.length;o++)n[o-2]=arguments[o];t=t||{};for(var r=0,i=n;r<i.length;r++){var a=i[r];if(a)for(var s in a)!a.hasOwnProperty(s)||e&&!e(s)||(t[s]=a[s])}return t}function a(e,t){return Object.keys(e).map((function(n){if(String(Number(n))!==n)return t(n,e[n])})).filter((function(e){return!!e}))}function s(e){return Object.keys(e).reduce((function(t,n){return t.push(e[n]),t}),[])}function c(e,t){var n={};for(var o in e)-1===t.indexOf(o)&&e.hasOwnProperty(o)&&(n[o]=e[o]);return n}n.d(t,"e",(function(){return o})),n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return i})),n.d(t,"c",(function(){return a})),n.d(t,"f",(function(){return s})),n.d(t,"d",(function(){return c}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var o=n(0).createContext({customizations:{inCustomizerContext:!1,settings:{},scopedSettings:{}}})},function(e,t,n){"use strict";var o,r=n(1),i=n(13),a={},s={"user-select":1};function c(e,t){var n=function(){if(!o){var e="undefined"!=typeof document?document:void 0,t="undefined"!=typeof navigator?navigator:void 0,n=t?t.userAgent.toLowerCase():void 0;o=e?{isWebkit:!(!e||!("WebkitAppearance"in e.documentElement.style)),isMoz:!!(n&&n.indexOf("firefox")>-1),isOpera:!!(n&&n.indexOf("opera")>-1),isMs:!(!t||!/rv:11.0/i.test(t.userAgent)&&!/Edge\/\d./i.test(navigator.userAgent))}:{isWebkit:!0,isMoz:!0,isOpera:!0,isMs:!0}}return o}(),r=e[t];if(s[r]){var i=e[t+1];s[r]&&(n.isWebkit&&e.push("-webkit-"+r,i),n.isMoz&&e.push("-moz-"+r,i),n.isMs&&e.push("-ms-"+r,i),n.isOpera&&e.push("-o-"+r,i))}}var l,u=["column-count","font-weight","flex","flex-grow","flex-shrink","fill-opacity","opacity","order","z-index","zoom"];function d(e,t){var n=e[t],o=e[t+1];if("number"==typeof o){var r=u.indexOf(n)>-1,i=n.indexOf("--")>-1,a=r||i?"":"px";e[t+1]=""+o+a}}var p="left",h="right",f=((l={})[p]=h,l[h]=p,l),m={"w-resize":"e-resize","sw-resize":"se-resize","nw-resize":"ne-resize"};function g(e,t,n){if(e.rtl){var o=t[n];if(!o)return;var r=t[n+1];if("string"==typeof r&&r.indexOf("@noflip")>=0)t[n+1]=r.replace(/\s*(?:\/\*\s*)?\@noflip\b(?:\s*\*\/)?\s*?/g,"");else if(o.indexOf(p)>=0)t[n]=o.replace(p,h);else if(o.indexOf(h)>=0)t[n]=o.replace(h,p);else if(String(r).indexOf(p)>=0)t[n+1]=r.replace(p,h);else if(String(r).indexOf(h)>=0)t[n+1]=r.replace(h,p);else if(f[o])t[n]=f[o];else if(m[r])t[n+1]=m[r];else switch(o){case"margin":case"padding":t[n+1]=function(e){if("string"==typeof e){var t=e.split(" ");if(4===t.length)return t[0]+" "+t[3]+" "+t[2]+" "+t[1]}return e}(r);break;case"box-shadow":t[n+1]=function(e,t){var n=e.split(" "),o=parseInt(n[0],10);return n[0]=n[0].replace(String(o),String(-1*o)),n.join(" ")}(r)}}}function b(e){var t=e&&e["&"];return t?t.displayName:void 0}n.d(t,"b",(function(){return T})),n.d(t,"d",(function(){return k})),n.d(t,"a",(function(){return I})),n.d(t,"c",(function(){return O}));var y=/\:global\((.+?)\)/g;function v(e,t){return e.indexOf(":global(")>=0?e.replace(y,"$1"):0===e.indexOf(":")?t+e:e.indexOf("&")<0?t+" "+e:e}function _(e,t,n,o){void 0===t&&(t={__order:[]}),0===n.indexOf("@")?S([o],t,n=n+"{"+e):n.indexOf(",")>-1?function(e){if(!y.test(e))return e;for(var t=[],n=/\:global\((.+?)\)/g,o=null;o=n.exec(e);)o[1].indexOf(",")>-1&&t.push([o.index,o.index+o[0].length,o[1].split(",").map((function(e){return":global("+e.trim()+")"})).join(", ")]);return t.reverse().reduce((function(e,t){var n=t[0],o=t[1],r=t[2];return e.slice(0,n)+r+e.slice(o)}),e)}(n).split(",").map((function(e){return e.trim()})).forEach((function(n){return S([o],t,v(n,e))})):S([o],t,v(n,e))}function S(e,t,n){void 0===t&&(t={__order:[]}),void 0===n&&(n="&");var o=i.b.getInstance(),r=t[n];r||(r={},t[n]=r,t.__order.push(n));for(var a=0,s=e;a<s.length;a++){var c=s[a];if("string"==typeof c){var l=o.argsFromClassName(c);l&&S(l,t,n)}else if(Array.isArray(c))S(c,t,n);else for(var u in c)if(c.hasOwnProperty(u)){var d=c[u];if("selectors"===u){var p=c.selectors;for(var h in p)p.hasOwnProperty(h)&&_(n,t,h,p[h])}else"object"==typeof d?null!==d&&_(n,t,u,d):void 0!==d&&("margin"===u||"padding"===u?C(r,u,d):r[u]=d)}}return t}function C(e,t,n){var o="string"==typeof n?n.split(" "):[n];e[t+"Top"]=o[0],e[t+"Right"]=o[1]||o[0],e[t+"Bottom"]=o[2]||o[0],e[t+"Left"]=o[3]||o[1]||o[0]}function x(e,t){for(var n=[e.rtl?"rtl":"ltr"],o=!1,r=0,i=t.__order;r<i.length;r++){var a=i[r];n.push(a);var s=t[a];for(var c in s)s.hasOwnProperty(c)&&void 0!==s[c]&&(o=!0,n.push(c,s[c]))}return o?n.join(""):void 0}function w(e,t){return t<=0?"":1===t?e:e+w(e,t-1)}function T(e,t){if(!t)return"";var n,o,r,i=[];for(var s in t)t.hasOwnProperty(s)&&"displayName"!==s&&void 0!==t[s]&&i.push(s,t[s]);for(var l=0;l<i.length;l+=2)r=void 0,"-"!==(r=(n=i)[o=l]).charAt(0)&&(n[o]=a[r]=a[r]||r.replace(/([A-Z])/g,"-$1").toLowerCase()),d(i,l),g(e,i,l),c(i,l);for(l=1;l<i.length;l+=4)i.splice(l,1,":",i[l],";");return i.join("")}function k(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var o=S(t),r=x(e,o);if(r){var a=i.b.getInstance(),s={className:a.classNameFromKey(r),key:r,args:t};if(!s.className){s.className=a.getClassName(b(o));for(var c=[],l=0,u=o.__order;l<u.length;l++){var d=u[l];c.push(d,T(e,o[d]))}s.rulesToInsert=c}return s}}function I(e,t){void 0===t&&(t=1);var n=i.b.getInstance(),o=e.className,r=e.key,a=e.args,s=e.rulesToInsert;if(s){for(var c=0;c<s.length;c+=2){var l=s[c+1];if(l){var u=s[c],d=(u=u.replace(/&/g,w("."+e.className,t)))+"{"+l+"}"+(0===u.indexOf("@")?"}":"");n.insertRule(d)}}n.cacheClassName(o,r,a,s)}}function O(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var o=k.apply(void 0,Object(r.e)([e],t));return o?(I(o,e.specificityMultiplier),o.className):""}},function(e,t,n){"use strict";(function(e){var o=this&&this.__awaiter||function(e,t,n,o){return new(n||(n=Promise))((function(r,i){function a(e){try{c(o.next(e))}catch(e){i(e)}}function s(e){try{c(o.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}c((o=o.apply(e,t||[])).next())}))},r=this&&this.__generator||function(e,t){var n,o,r,i,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,o&&(r=2&i[0]?o.return:i[0]?o.throw||((r=o.return)&&r.call(o),0):o.next)&&!(r=r.call(o,i[1])).done)return r;switch(o=0,r&&(i=[2&i[0],r.value]),i[0]){case 0:case 1:r=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,o=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!r||i[1]>r[0]&&i[1]<r[3])){a.label=i[1];break}if(6===i[0]&&a.label<r[1]){a.label=r[1],r=i;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(i);break}r[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],o=0}finally{n=r=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.updateRaisedEventAction=t.dispatchSetErrorAction=t.setErrorAction=t.dispatchResetErrorAction=t.resetErrorAction=t.setDiagnosticsRunProgress=t.fetchingSafDiagnosticsAction=t.stopDiagnosticsTimerAction=t.startDiagnosticsTimerAction=t.incrementDiagnosticsRunProgressAction=t.resetDiagnosticsRunStatusAction=t.abandonDiagnosticsRunAction=t.setDiagnosticsStatusAction=t.startDiagnosticsRunAction=t.resetSafDiagnosticAction=t.updateDiagnosticsFormComponentAction=t.loadDiagnosticResourceAction=t.setDiagnosticsRunProgressAction=t.updateGlobalVarsAction=t.diagnosticsCompletedAction=t.safDiagnosticsCompletedAction=t.diagnosticsStartedAction=t.cancelEditNodeChoiceSelectionAction=t.editNodeChoiceSelectionAction=t.safDiagnosticRenderedAction=t.pushTargetNodeOnRenderedNodesAction=t.errorManagerActionTypes=t.NodeActionTypes=t.resetStoreAction=t.initializeAppAction=t.IntentGraphAppActionTypes=void 0;var i=n(8);t.IntentGraphAppActionTypes=i.createActionTypes({InitializeApp:"InitializeApp",UpdateGlobalVars:"UpdateGlobalVars",ResetStore:"ResetStore"},e),t.initializeAppAction=function(e,n,o){return{type:t.IntentGraphAppActionTypes.InitializeApp,payload:{staticConfig:e,logHandler:n,isUserSignedIn:o}}},t.resetStoreAction=function(){return{type:t.IntentGraphAppActionTypes.ResetStore}},t.NodeActionTypes=i.createActionTypes({PushTargetNodeOnRenderedNodes:"PushTargetNodeOnRenderedNodes",EditNodeChoiceSelection:"EditNodeChoiceSelection",CancelEditNodeChoiceSelection:"CancelEditNodeChoiceSelection",DiagnosticsActionStarted:"DiagnosticsActionStarted",DiagnosticsActionCompleted:"DiagnosticsActionCompleted",StartDiagnosticsRun:"StartDiagnosticsRun",ResetDiagnosticsRunStatus:"ResetDiagnosticsRunStatus",SetDiagnosticsRunProgress:"SetDiagnosticsRunProgress",SetDiagnosticsStatus:"SetDiagnosticsStatus",IncrementDiagnosticsRunProgress:"IncrementDiagnosticsRunProgress",UpdateDiagnosticsFormComponent:"UpdateDiagnosticsFormComponent",AbandonDiagnosticsRun:"AbandonDiagnosticsRun",LoadDiagnosticResource:"LoadDiagnosticResource",ResetSafDiagnostic:"ResetSafDiagnostic",StopDiagnosticsTimer:"StopDiagnosticsTimer",StartDiagnosticsTimer:"StartDiagnosticsTimer",FetchingSafDiagnostics:"FetchingSafDiagnostics",SafDiagnosticsCompleted:"SafDiagnosticsCompleted",SafDiagnosticsRendered:"SafDiagnosticsRendered",UpdateRaisedEvent:"UpdateRaisedEvent"},e),t.errorManagerActionTypes=i.createActionTypes({SetError:"SetError",ResetError:"ResetError",ResetErrors:"ResetErrors"},e),t.pushTargetNodeOnRenderedNodesAction=function(e,n,o,r,i){return{type:t.NodeActionTypes.PushTargetNodeOnRenderedNodes,payload:{nodeId:e,targetNode:n,selectedChoice:o,isDynamicChoice:r,choiceIndex:i}}},t.safDiagnosticRenderedAction=function(e,n,o){return{type:t.NodeActionTypes.SafDiagnosticsRendered,payload:{uId:e,targetNode:n,success:!!o}}},t.editNodeChoiceSelectionAction=function(e,n){return{type:t.NodeActionTypes.EditNodeChoiceSelection,payload:{prevChoiceSelections:n,uId:e}}},t.cancelEditNodeChoiceSelectionAction=function(e){return{type:t.NodeActionTypes.CancelEditNodeChoiceSelection,payload:e}},t.diagnosticsStartedAction=function(e,n){return{type:t.NodeActionTypes.DiagnosticsActionStarted,payload:{timerId:n,uId:e}}},t.safDiagnosticsCompletedAction=function(){return{type:t.NodeActionTypes.SafDiagnosticsCompleted}},t.diagnosticsCompletedAction=function(e,n,o,r,i){return void 0===r&&(r=!1),{type:t.NodeActionTypes.DiagnosticsActionCompleted,payload:{nodeId:e,diagnosticsActionStatus:n,targetNode:o,isError:r,isInEditMode:i}}},t.updateGlobalVarsAction=function(e){return{type:t.IntentGraphAppActionTypes.UpdateGlobalVars,payload:e}},t.setDiagnosticsRunProgressAction=function(e){return{type:t.NodeActionTypes.SetDiagnosticsRunProgress,payload:e}},t.loadDiagnosticResourceAction=function(e,n){return{type:t.NodeActionTypes.LoadDiagnosticResource,payload:{diagnostic:e,jsonSchemaForm:n}}},t.updateDiagnosticsFormComponentAction=function(e,n){return{type:t.NodeActionTypes.UpdateDiagnosticsFormComponent,payload:{componentKey:e,updatedModel:n}}},t.resetSafDiagnosticAction=function(){return{type:t.NodeActionTypes.ResetSafDiagnostic}},t.startDiagnosticsRunAction=function(e){return{type:t.NodeActionTypes.StartDiagnosticsRun,payload:e}},t.setDiagnosticsStatusAction=function(e,n){return{type:t.NodeActionTypes.SetDiagnosticsStatus,payload:{status:e,isTimeout:n}}},t.abandonDiagnosticsRunAction=function(e){return{type:t.NodeActionTypes.AbandonDiagnosticsRun,payload:e}},t.resetDiagnosticsRunStatusAction=function(){return{type:t.NodeActionTypes.ResetDiagnosticsRunStatus}},t.incrementDiagnosticsRunProgressAction=function(){return{type:t.NodeActionTypes.IncrementDiagnosticsRunProgress}},t.startDiagnosticsTimerAction=function(e){return{type:t.NodeActionTypes.StartDiagnosticsTimer,payload:e}},t.stopDiagnosticsTimerAction=function(){return{type:t.NodeActionTypes.StopDiagnosticsTimer}},t.fetchingSafDiagnosticsAction=function(e,n){return{type:t.NodeActionTypes.FetchingSafDiagnostics,payload:{completed:e,uId:n}}},t.setDiagnosticsRunProgress=function(e){return{type:t.NodeActionTypes.SetDiagnosticsRunProgress,payload:e}},t.resetErrorAction=function(e){return{type:t.errorManagerActionTypes.ResetError,payload:{componentKey:e}}},t.dispatchResetErrorAction=function(e){return function(n){return o(void 0,void 0,void 0,(function(){return r(this,(function(o){return n(t.resetErrorAction(e)),[2]}))}))}},t.setErrorAction=function(e,n){var o={ComponentKey:e,ErrorCode:n};return{type:t.errorManagerActionTypes.SetError,payload:{componentKey:e,error:i.createImmutableMap(o)}}},t.dispatchSetErrorAction=function(e,n){return function(i){return o(void 0,void 0,void 0,(function(){return r(this,(function(o){return n&&i(t.setErrorAction(e,n)),[2]}))}))}},t.updateRaisedEventAction=function(e,n,o){return{type:t.NodeActionTypes.UpdateRaisedEvent,payload:{uId:e,eventName:n,status:o}}}}).call(this,"/index.js")},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var o=n(49);function r(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=Object(o.a)(e,e[n],t[n]))}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var o=n(26),r=function(){function e(t){this._id=e._uniqueId++,this._parent=t,this._eventRecords=[]}return e.raise=function(t,n,r,i){var a;if(e._isElement(t)){if("undefined"!=typeof document&&document.createEvent){var s=document.createEvent("HTMLEvents");s.initEvent(n,i||!1,!0),Object(o.a)(s,r),a=t.dispatchEvent(s)}else if("undefined"!=typeof document&&document.createEventObject){var c=document.createEventObject(r);t.fireEvent("on"+n,c)}}else for(;t&&!1!==a;){var l=t.__events__,u=l?l[n]:null;if(u)for(var d in u)if(u.hasOwnProperty(d))for(var p=u[d],h=0;!1!==a&&h<p.length;h++){var f=p[h];f.objectCallback&&(a=f.objectCallback.call(f.parent,r))}t=i?t.parent:null}return a},e.isObserved=function(e,t){var n=e&&e.__events__;return!!n&&!!n[t]},e.isDeclared=function(e,t){var n=e&&e.__declaredEvents;return!!n&&!!n[t]},e.stopPropagation=function(e){e.stopPropagation?e.stopPropagation():e.cancelBubble=!0},e._isElement=function(e){return!!e&&(!!e.addEventListener||"undefined"!=typeof HTMLElement&&e instanceof HTMLElement)},e.prototype.dispose=function(){this._isDisposed||(this._isDisposed=!0,this.off(),this._parent=null)},e.prototype.onAll=function(e,t,n){for(var o in t)t.hasOwnProperty(o)&&this.on(e,o,t[o],n)},e.prototype.on=function(t,n,o,r){var i=this;if(n.indexOf(",")>-1)for(var a=n.split(/[ ,]+/),s=0;s<a.length;s++)this.on(t,a[s],o,r);else{var c=this._parent,l={target:t,eventName:n,parent:c,callback:o,options:r};if((a=t.__events__=t.__events__||{})[n]=a[n]||{count:0},a[n][this._id]=a[n][this._id]||[],a[n][this._id].push(l),a[n].count++,e._isElement(t)){var u=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(!i._isDisposed){var n;try{if(!1===(n=o.apply(c,e))&&e[0]){var r=e[0];r.preventDefault&&r.preventDefault(),r.stopPropagation&&r.stopPropagation(),r.cancelBubble=!0}}catch(r){}return n}};l.elementCallback=u,t.addEventListener?t.addEventListener(n,u,r):t.attachEvent&&t.attachEvent("on"+n,u)}else l.objectCallback=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(!i._isDisposed)return o.apply(c,e)};this._eventRecords.push(l)}},e.prototype.off=function(e,t,n,o){for(var r=0;r<this._eventRecords.length;r++){var i=this._eventRecords[r];if(!(e&&e!==i.target||t&&t!==i.eventName||n&&n!==i.callback||"boolean"==typeof o&&o!==i.options)){var a=i.target.__events__,s=a[i.eventName],c=s?s[this._id]:null;c&&(1!==c.length&&n?(s.count--,c.splice(c.indexOf(i),1)):(s.count-=c.length,delete a[i.eventName][this._id]),s.count||delete a[i.eventName]),i.elementCallback&&(i.target.removeEventListener?i.target.removeEventListener(i.eventName,i.elementCallback,i.options):i.target.detachEvent&&i.target.detachEvent("on"+i.eventName,i.elementCallback)),this._eventRecords.splice(r--,1)}}},e.prototype.raise=function(t,n,o){return e.raise(this._parent,t,n,o)},e.prototype.declare=function(e){var t=this._parent.__declaredEvents=this._parent.__declaredEvents||{};if("string"==typeof e)t[e]=!0;else for(var n=0;n<e.length;n++)t[e[n]]=!0},e._uniqueId=0,e}()},function(e,t,n){"use strict";function o(e){i!==e&&(i=e)}function r(){return void 0===i&&(i="undefined"!=typeof document&&!!document.documentElement&&"rtl"===document.documentElement.getAttribute("dir")),i}var i;function a(){return{rtl:r()}}n.d(t,"b",(function(){return o})),n.d(t,"a",(function(){return a})),i=r()},function(e,t,n){"use strict";var o,r=this&&this.__extends||(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),i=this&&this.__decorate||function(e,t,n,o){var r,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,o);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(a=(i<3?r(a):i>3?r(t,n,a):r(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a};Object.defineProperty(t,"__esModule",{value:!0}),t.SAFActionExecutionResponse=t.SAFActionExecutionRequestPayload=t.SAFActionSchemaResponse=t.DiagnosticsStartRequest=t.DiagnosticsProgressResponse=t.Timer=t.DiagnosticsProgressRequest=t.SafConstants=t.DiagnosticsParamTypeToFieldTypeMap=t.JsonSchemaConstants=t.ParameterValueProvider=t.FormV2=t.SAFContextVariable=t.SAFParamProvider=t.FormFieldV2=t.FormFieldOptionV2=t.Form=t.FormConstraintV2=t.FormField=t.FormFieldType=t.ErrorType=t.FormDataTypes=t.EventType=t.FormFieldOption=t.FormConstraint=t.ErrorCodeMap=t.ErrorCodes=t.DiagnosticsExecutionStatus=t.DiagnosticsInitResponse=void 0;var a=n(76),s=function(){function e(){}return i([a.serializable(a.primitive())],e.prototype,"Identifier",void 0),i([a.serializable(a.primitive())],e.prototype,"Locale",void 0),i([a.serializable(a.primitive())],e.prototype,"TenantId",void 0),i([a.serializable(a.primitive())],e.prototype,"CorrelationId",void 0),e}(),c=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),i([a.serializable(a.primitive())],t.prototype,"Name",void 0),t}(s),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),i([a.serializable(a.immutableWeakTypedMap())],t.prototype,"JsonSchemaForm",void 0),i([a.serializable(a.primitive())],t.prototype,"BucketId",void 0),i([a.serializable(a.primitive())],t.prototype,"RuleId",void 0),t}(c);t.DiagnosticsInitResponse=l;var u=function(){function e(){}return e.StartRequested="StartRequested",e.Executing="Executing",e.Completed="Completed",e.Failed="Failed",e.ContinueWithNext="ContinueWithNext",e}();t.DiagnosticsExecutionStatus=u,function(e){e.None="None",e.AttachmentFileSizeError="AttachmentFileSizeError",e.AttachmentFileNameError="AttachmentFileNameError",e.AttachmentDuplicatedFileNameError="AttachmentDuplicatedFileNameError",e.AttachmentFileExtensionError="AttachmentFileExtensionError",e.AttachmentInternalServerError="AttachmentInternalServerError",e.AttachmentTimedOutError="AttachmentTimedOutError",e.DiagnosticsFormRequiredFieldError="DiagnosticsFormRequiredFieldError",e.DiagnosticsFormNumberBoundaryError="DiagnosticsFormNumberBoundaryError",e.DiagnosticsFormStringLengthError="DiagnosticsFormStringLengthError",e.DiagnosticsFormStringPatternError="DiagnosticsFormStringPatternError",e.RequestCreateIssueDescriptionError="RequestCreateIssueDescriptionError",e.RequestCreateReopenError="RequestCreateReopenError"}(t.ErrorCodes||(t.ErrorCodes={}));var d=function(){function e(){}return i([a.serializable(a.primitive())],e.prototype,"Required",void 0),i([a.serializable(a.primitive())],e.prototype,"Pattern",void 0),i([a.serializable(a.primitive())],e.prototype,"NumberBoundary",void 0),i([a.serializable(a.primitive())],e.prototype,"StringLength",void 0),i([a.serializable(a.primitive())],e.prototype,"Date",void 0),e}();t.ErrorCodeMap=d;var p=function(){function e(){}return i([a.serializable(a.primitive())],e.prototype,"Required",void 0),i([a.serializable(a.primitive())],e.prototype,"MaxLength",void 0),i([a.serializable(a.primitive())],e.prototype,"MinLength",void 0),i([a.serializable(a.primitive())],e.prototype,"LowerBound",void 0),i([a.serializable(a.primitive())],e.prototype,"UpperBound",void 0),i([a.serializable(a.primitive())],e.prototype,"Pattern",void 0),i([a.serializable(a.primitive())],e.prototype,"Mask",void 0),i([a.serializable(a.immutableDate())],e.prototype,"MinDate",void 0),i([a.serializable(a.immutableDate())],e.prototype,"MaxDate",void 0),i([a.serializable(a.immutableMap(d))],e.prototype,"ErrorMap",void 0),e}();t.FormConstraint=p;var h,f=function(){function e(){}return i([a.serializable(a.primitive())],e.prototype,"Key",void 0),i([a.serializable(a.primitive())],e.prototype,"LocalizedTitle",void 0),i([a.serializable(a.primitive())],e.prototype,"Value",void 0),e}();t.FormFieldOption=f,function(e){e.Blur="blur",e.Change="change",e.Click="click",e.Focus="focus",e.Input="input"}(t.EventType||(t.EventType={})),function(e){e.String="string",e.Number="number",e.Boolean="boolean",e.Object="object"}(t.FormDataTypes||(t.FormDataTypes={})),function(e){e.None="None",e.Required="Required",e.NumBoundary="NumBoundary",e.StringLength="StringLength",e.StringPattern="StringPattern"}(t.ErrorType||(t.ErrorType={})),function(e){e.CheckBox="CheckBox",e.ChoiceGroup="ChoiceGroup",e.ComboBox="ComboBox",e.DropDown="DropDown",e.DatePicker="DatePicker",e.Label="Label",e.Link="Link",e.TextField="TextField",e.Toggle="Toggle",e.None="None"}(h=t.FormFieldType||(t.FormFieldType={}));var m=function(){function e(){this.MultilineRowsCount=1}return i([a.serializable(a.primitive())],e.prototype,"Key",void 0),i([a.serializable(a.primitive())],e.prototype,"Type",void 0),i([a.serializable(a.primitive())],e.prototype,"IsMultilineText",void 0),i([a.serializable(a.primitive())],e.prototype,"MultilineRowsCount",void 0),i([a.serializable(a.primitive())],e.prototype,"Title",void 0),i([a.serializable(a.primitive())],e.prototype,"Default",void 0),i([a.serializable(a.primitive())],e.prototype,"Value",void 0),i([a.serializable(a.primitive())],e.prototype,"LocalizedToolTip",void 0),i([a.serializable(a.primitive())],e.prototype,"LocalizedPlaceholder",void 0),i([a.serializable(a.primitive())],e.prototype,"LocalizedErrorMessage",void 0),i([a.serializable(a.immutableList(a.immutableMap(f)))],e.prototype,"AnyOf",void 0),i([a.serializable(a.immutableList(a.immutableMap(f)))],e.prototype,"OneOf",void 0),i([a.serializable(a.immutableMap(p))],e.prototype,"Constraints",void 0),i([a.serializable(a.primitive())],e.prototype,"IsError",void 0),i([a.serializable(a.primitive())],e.prototype,"IsDirty",void 0),e}();t.FormField=m;var g=function(){function e(){}return i([a.serializable(a.primitive())],e.prototype,"Required",void 0),i([a.serializable(a.primitive())],e.prototype,"MaxLength",void 0),i([a.serializable(a.primitive())],e.prototype,"MinLength",void 0),i([a.serializable(a.primitive())],e.prototype,"LowerBound",void 0),i([a.serializable(a.primitive())],e.prototype,"UpperBound",void 0),i([a.serializable(a.primitive())],e.prototype,"Pattern",void 0),i([a.serializable(a.primitive())],e.prototype,"Mask",void 0),i([a.serializable(a.immutableDate())],e.prototype,"MinDate",void 0),i([a.serializable(a.immutableDate())],e.prototype,"MaxDate",void 0),i([a.serializable(a.immutableMap(d))],e.prototype,"ErrorMap",void 0),i([a.serializable(a.immutableList(a.primitive()))],e.prototype,"DataType",void 0),e}();t.FormConstraintV2=g;var b=function(){function e(){}return i([a.serializable(a.primitive())],e.prototype,"Key",void 0),i([a.serializable(a.primitive())],e.prototype,"LocalizedTitle",void 0),i([a.serializable(a.primitive())],e.prototype,"LocalizedDescription",void 0),i([a.serializable(a.immutableList(a.immutableMap(m)))],e.prototype,"FormFields",void 0),e}();t.Form=b;var y=function(){function e(){}return i([a.serializable(a.primitive())],e.prototype,"Key",void 0),i([a.serializable(a.primitive())],e.prototype,"LocalizedTitle",void 0),i([a.serializable(a.primitive())],e.prototype,"Value",void 0),i([a.serializable(a.immutableMap(g))],e.prototype,"OptionConstraints",void 0),e}();t.FormFieldOptionV2=y;var v=function(){function e(){this.MultilineRowsCount=1}return i([a.serializable(a.primitive())],e.prototype,"Key",void 0),i([a.serializable(a.primitive())],e.prototype,"Type",void 0),i([a.serializable(a.primitive())],e.prototype,"IsMultilineText",void 0),i([a.serializable(a.primitive())],e.prototype,"MultilineRowsCount",void 0),i([a.serializable(a.primitive())],e.prototype,"Title",void 0),i([a.serializable(a.primitive())],e.prototype,"Default",void 0),i([a.serializable(a.primitive())],e.prototype,"Value",void 0),i([a.serializable(a.primitive())],e.prototype,"LocalizedToolTip",void 0),i([a.serializable(a.primitive())],e.prototype,"LocalizedPlaceholder",void 0),i([a.serializable(a.primitive())],e.prototype,"LocalizedErrorMessage",void 0),i([a.serializable(a.immutableList(a.immutableMap(y)))],e.prototype,"AnyOf",void 0),i([a.serializable(a.immutableList(a.immutableMap(f)))],e.prototype,"OneOf",void 0),i([a.serializable(a.immutableMap(g))],e.prototype,"Constraints",void 0),i([a.serializable(a.primitive())],e.prototype,"IsError",void 0),i([a.serializable(a.primitive())],e.prototype,"IsDirty",void 0),e}();t.FormFieldV2=v,function(e){e.Context="Context",e.GlobalVariables="GlobalVariables"}(t.SAFParamProvider||(t.SAFParamProvider={}));var _=function(){};t.SAFContextVariable=_;var S=function(){function e(){}return i([a.serializable(a.primitive())],e.prototype,"Key",void 0),i([a.serializable(a.primitive())],e.prototype,"LocalizedTitle",void 0),i([a.serializable(a.primitive())],e.prototype,"LocalizedDescription",void 0),i([a.serializable(a.immutableList(a.immutableMap(v)))],e.prototype,"FormFields",void 0),i([a.serializable(a.immutableWeakTypedMap())],e.prototype,"JsonFormValues",void 0),i([a.serializable(a.primitive())],e.prototype,"ButtonLabel",void 0),i([a.serializable(a.primitive())],e.prototype,"CorrelationId",void 0),i([a.serializable(a.primitive())],e.prototype,"Identifier",void 0),i([a.serializable(a.primitive())],e.prototype,"Locale",void 0),i([a.serializable(a.primitive())],e.prototype,"TenantId",void 0),i([a.serializable(a.immutableList(a.immutableMap(_)))],e.prototype,"ContextVariables",void 0),i([a.serializable(a.immutableList(a.primitive()))],e.prototype,"GlobalVariables",void 0),e}();t.FormV2=S,function(e){e.context="context",e.globalVariables="globalvariables",e.userInput="userinput"}(t.ParameterValueProvider||(t.ParameterValueProvider={}));var C=function(){function e(){}return e.Action="action",e.AnyOf="anyOf",e.Default="default",e.Description="description",e.Enum="enum",e.Format="format",e.Hidden="hidden",e.MaxLength="maxLength",e.MinLength="minLength",e.MultiLineCount="multiLineCount",e.OneOf="oneOf",e.Pattern="pattern",e.PlaceHolder="placeholder",e.Properties="properties",e.Required="required",e.Title="title",e.ToolTip="tooltip",e.Type="type",e.Value="value",e.ValueProvider="valueProvider",e}();t.JsonSchemaConstants=C,t.DiagnosticsParamTypeToFieldTypeMap={EmailAddress:h.TextField,DateTime:h.DatePicker,MultilineText:h.TextField,Text:h.TextField,CheckMark:h.CheckBox,DropDown:h.DropDown,Uri:h.TextField,DomainName:h.None,NotUserInput:h.None};var x=function(){function e(){}return e.DiagnosticsMultilineTextFieldRowCount=8,e.DiagnosticsTitleStringLimit=92,e.DiagnosticsButtonLabelLimit=62,e.DiagnosticsDatePickerMinDateThreshold=-7,e.InlineDiagnosticsMaxRetriesCount=15,e.SAFDiagnosticsMaxRetriesCount=3,e.InlineDiagnosticsServiceTimerDelayInMilliseconds=12e3,e}();t.SafConstants=x;var w=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),i([a.serializable(a.primitive())],t.prototype,"SessionId",void 0),t}(s);t.DiagnosticsProgressRequest=w,t.Timer=function(e,t){this.IntervalId=void 0,this.Delay=e,this.MaxIterations=t};var T=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.AbandonCurrentRun=!1,t}return r(t,e),i([a.serializable(a.primitive())],t.prototype,"SessionId",void 0),i([a.serializable(a.primitive())],t.prototype,"Status",void 0),i([a.serializable(a.primitive())],t.prototype,"HttpStatusCode",void 0),i([a.serializable(a.primitive())],t.prototype,"Message",void 0),i([a.serializable(a.primitive())],t.prototype,"Title",void 0),i([a.serializable(a.primitive())],t.prototype,"Details",void 0),i([a.serializable(a.immutableList(a.immutableMap(l)))],t.prototype,"Next",void 0),i([a.serializable(a.primitive())],t.prototype,"AbandonCurrentRun",void 0),t}(c);t.DiagnosticsProgressResponse=T;var k=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),i([a.serializable(a.primitive())],t.prototype,"JsonFormValues",void 0),t}(s);t.DiagnosticsStartRequest=k,t.SAFActionSchemaResponse=function(){};var I=function(){function e(){}return i([a.serializable(a.immutableWeakTypedMap())],e.prototype,"Parameters",void 0),e}();t.SAFActionExecutionRequestPayload=I,t.SAFActionExecutionResponse=function(){}},function(e,t,n){var o=n(154),r=n(155);e.exports=function(e,t,n){var i=t&&n||0;"string"==typeof e&&(t="binary"===e?new Array(16):null,e=null);var a=(e=e||{}).random||(e.rng||o)();if(a[6]=15&a[6]|64,a[8]=63&a[8]|128,t)for(var s=0;s<16;++s)t[i+s]=a[s];return t||r(a)}},function(e,t,n){"use strict";function o(e){console&&console.warn&&console.warn(e)}function r(e){}n.d(t,"b",(function(){return o})),n.d(t,"a",(function(){return r}))},function(e,t,n){e.exports=n(142)()},,function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return r}));var o=!1;function r(e){o=e}},function(e,t,n){"use strict";n.d(t,"b",(function(){return a})),n.d(t,"a",(function(){return s}));var o,r=n(10),i=((o={})[r.a.up]=1,o[r.a.down]=1,o[r.a.left]=1,o[r.a.right]=1,o[r.a.home]=1,o[r.a.end]=1,o[r.a.tab]=1,o[r.a.pageUp]=1,o[r.a.pageDown]=1,o);function a(e){return!!i[e]}function s(e){i[e]=1}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var o=n(132);function r(e,t){return void 0===t&&(t=!0),e&&(t&&Object(o.a)(e)||e.parentNode&&e.parentNode)}},function(e,t,n){"use strict";e.exports=function(e,t,n,o,r,i,a,s){if(!e){var c;if(void 0===t)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var l=[n,o,r,i,a,s],u=0;(c=new Error(t.replace(/%s/g,(function(){return l[u++]})))).name="Invariant Violation"}throw c.framesToPop=1,c}}},function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return i}));var o=n(1);function r(e,t){return void 0===e&&(e={}),(a(t)?t:function(e){return function(t){return e?Object(o.a)(Object(o.a)({},t),e):t}}(t))(e)}function i(e,t){return void 0===e&&(e={}),(a(t)?t:function(e){return void 0===e&&(e={}),function(t){var n=Object(o.a)({},t);for(var r in e)e.hasOwnProperty(r)&&(n[r]=Object(o.a)(Object(o.a)({},t[r]),e[r]));return n}}(t))(e)}function a(e){return"function"==typeof e}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var o=n(1);function r(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(e&&1===e.length&&e[0]&&!e[0].subComponentStyles)return e[0];for(var n={},i={},a=0,s=e;a<s.length;a++){var c=s[a];if(c)for(var l in c)if(c.hasOwnProperty(l)){if("subComponentStyles"===l&&void 0!==c.subComponentStyles){var u=c.subComponentStyles;for(var d in u)u.hasOwnProperty(d)&&(i.hasOwnProperty(d)?i[d].push(u[d]):i[d]=[u[d]]);continue}var p=n[l],h=c[l];n[l]=void 0===p?h:Object(o.e)(Array.isArray(p)?p:[p],Array.isArray(h)?h:[h])}}if(Object.keys(i).length>0){n.subComponentStyles={};var f=n.subComponentStyles,m=function(e){if(i.hasOwnProperty(e)){var t=i[e];f[e]=function(e){return r.apply(void 0,t.map((function(t){return"function"==typeof t?t(e):t})))}}};for(var d in i)m(d)}return n}},,function(e,t,n){"use strict";var o=n(22);Object(o.a)("office-ui-fabric-react","7.121.2")},function(e,t,n){"use strict";var o=this&&this.__assign||function(){return(o=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.getCommonClassNames=t.getDropDownSpinnerStyles=t.getFormBtnStyles=t.getFormDatePickerLabelStyles=t.getFormDropDownStyles=t.getFormTextFieldStyles=t.getCommonStyles=void 0;var r=n(9),i=n(18),a=function(e){var t=e.theme,n=e.stylesFunc,o=i.getCustomStyles(t,n);if(o){if(o.safActionNode)return o.safActionNode.inlineDiagnostics.diagnostcForm;if(o.safNode)return o.safNode.diagnostcForm}return{}};t.getCommonStyles=function(e){var t=a(e),n=t.common?t.common:{};return o(o({},{contentContainer:{marginBottom:"16px"},sectionHeader:{fontWeight:"600",fontSize:"14px",lineHeight:"20px"},title:{fontSize:"16px",fontWeight:"600"}}),n)},t.getFormTextFieldStyles=function(e){var t=a(e),n=t.textField?t.textField:{};return o(o({},{subComponentStyles:{label:{root:{fontWeight:"600"}}}}),n)},t.getFormDropDownStyles=function(e){var t=a(e),n=t.dropdown?t.dropdown:{};return o(o({},{label:{fontWeight:"600"}}),n)},t.getFormDatePickerLabelStyles=function(e){var t=a(e),n=t.datePicker?t.datePicker:{};return o(o({},{root:{fontWeight:"600"}}),n)},t.getFormBtnStyles=function(e){var t=a(e),n=e.theme,i=t.button?t.button:{},s={root:{border:"1px solid "+n.palette.themePrimary,marginRight:"16px",marginTop:"16px",minWidth:"52px",minHeight:"42px",width:"80%",color:n.palette.themePrimary,transition:"1s"},label:{fontWeight:r.FontWeights.regular,overflow:"hidden",height:"100%",width:"93%","& > *":{fontWeight:r.FontWeights.regular,overflow:"hidden","overflow-wrap":"break-word",whiteSpace:"nowrap",textOverflow:"ellipsis"},"overflow-wrap":"break-word",whiteSpace:"nowrap",textOverflow:"ellipsis",minHeight:"24px !important"},textContainer:{textAlign:"left",overflow:"hidden","& > span":{minHeight:"18px !important"}}};return o(o({},s),i)},t.getDropDownSpinnerStyles=function(e){var t=a(e),n=t.dropDownSpinner?t.dropDownSpinner:{};return o(o({},{root:{position:"relative"}}),n)},t.getCommonClassNames=r.classNamesFunction()},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var o=n(0),r=n(15),i=n(27);function a(e,t){var n,a=(n=o.useState(0)[1],function(){return n((function(e){return++e}))}),s=o.useContext(i.a).customizations,c=s.inCustomizerContext;return o.useEffect((function(){return c||r.a.observe(a),function(){c||r.a.unobserve(a)}}),[c]),r.a.getSettings(e,t,s)}},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var o=n(4),r=0,i=function(){function e(){}return e.getValue=function(e,t){var n=a();return void 0===n[e]&&(n[e]="function"==typeof t?t():t),n[e]},e.setValue=function(e,t){var n=a(),o=n.__callbacks__,r=n[e];if(t!==r){n[e]=t;var i={oldValue:r,value:t,key:e};for(var s in o)o.hasOwnProperty(s)&&o[s](i)}return t},e.addChangeListener=function(e){var t=e.__id__,n=s();t||(t=e.__id__=String(r++)),n[t]=e},e.removeChangeListener=function(e){delete s()[e.__id__]},e}();function a(){var e,t=Object(o.a)()||{};return t.__globalSettings__||(t.__globalSettings__=((e={}).__callbacks__={},e)),t.__globalSettings__}function s(){return a().__callbacks__}},function(e,t,n){"use strict";function o(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return t.length<2?t[0]:function(){for(var n=[],o=0;o<arguments.length;o++)n[o]=arguments[o];t.forEach((function(t){return t&&t.apply(e,n)}))}}n.d(t,"a",(function(){return o}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var o=n(4),r=function(){function e(e,t){this._timeoutIds=null,this._immediateIds=null,this._intervalIds=null,this._animationFrameIds=null,this._isDisposed=!1,this._parent=e||null,this._onErrorHandler=t,this._noop=function(){}}return e.prototype.dispose=function(){var e;if(this._isDisposed=!0,this._parent=null,this._timeoutIds){for(e in this._timeoutIds)this._timeoutIds.hasOwnProperty(e)&&this.clearTimeout(parseInt(e,10));this._timeoutIds=null}if(this._immediateIds){for(e in this._immediateIds)this._immediateIds.hasOwnProperty(e)&&this.clearImmediate(parseInt(e,10));this._immediateIds=null}if(this._intervalIds){for(e in this._intervalIds)this._intervalIds.hasOwnProperty(e)&&this.clearInterval(parseInt(e,10));this._intervalIds=null}if(this._animationFrameIds){for(e in this._animationFrameIds)this._animationFrameIds.hasOwnProperty(e)&&this.cancelAnimationFrame(parseInt(e,10));this._animationFrameIds=null}},e.prototype.setTimeout=function(e,t){var n=this,o=0;return this._isDisposed||(this._timeoutIds||(this._timeoutIds={}),o=setTimeout((function(){try{n._timeoutIds&&delete n._timeoutIds[o],e.apply(n._parent)}catch(e){n._onErrorHandler&&n._onErrorHandler(e)}}),t),this._timeoutIds[o]=!0),o},e.prototype.clearTimeout=function(e){this._timeoutIds&&this._timeoutIds[e]&&(clearTimeout(e),delete this._timeoutIds[e])},e.prototype.setImmediate=function(e,t){var n=this,r=0,i=Object(o.a)(t);return this._isDisposed||(this._immediateIds||(this._immediateIds={}),r=i.setTimeout((function(){try{n._immediateIds&&delete n._immediateIds[r],e.apply(n._parent)}catch(e){n._logError(e)}}),0),this._immediateIds[r]=!0),r},e.prototype.clearImmediate=function(e,t){var n=Object(o.a)(t);this._immediateIds&&this._immediateIds[e]&&(n.clearTimeout(e),delete this._immediateIds[e])},e.prototype.setInterval=function(e,t){var n=this,o=0;return this._isDisposed||(this._intervalIds||(this._intervalIds={}),o=setInterval((function(){try{e.apply(n._parent)}catch(e){n._logError(e)}}),t),this._intervalIds[o]=!0),o},e.prototype.clearInterval=function(e){this._intervalIds&&this._intervalIds[e]&&(clearInterval(e),delete this._intervalIds[e])},e.prototype.throttle=function(e,t,n){var o=this;if(this._isDisposed)return this._noop;var r,i,a=t||0,s=!0,c=!0,l=0,u=null;n&&"boolean"==typeof n.leading&&(s=n.leading),n&&"boolean"==typeof n.trailing&&(c=n.trailing);var d=function(t){var n=Date.now(),p=n-l,h=s?a-p:a;return p>=a&&(!t||s)?(l=n,u&&(o.clearTimeout(u),u=null),r=e.apply(o._parent,i)):null===u&&c&&(u=o.setTimeout(d,h)),r};return function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return i=e,d(!0)}},e.prototype.debounce=function(e,t,n){var o=this;if(this._isDisposed){var r=function(){};return r.cancel=function(){},r.flush=function(){return null},r.pending=function(){return!1},r}var i,a,s=t||0,c=!1,l=!0,u=null,d=0,p=Date.now(),h=null;n&&"boolean"==typeof n.leading&&(c=n.leading),n&&"boolean"==typeof n.trailing&&(l=n.trailing),n&&"number"==typeof n.maxWait&&!isNaN(n.maxWait)&&(u=n.maxWait);var f=function(e){h&&(o.clearTimeout(h),h=null),p=e},m=function(t){f(t),i=e.apply(o._parent,a)},g=function(e){var t=Date.now(),n=!1;e&&(c&&t-d>=s&&(n=!0),d=t);var r=t-d,a=s-r,f=t-p,b=!1;return null!==u&&(f>=u&&h?b=!0:a=Math.min(a,u-f)),r>=s||b||n?m(t):null!==h&&e||!l||(h=o.setTimeout(g,a)),i},b=function(){return!!h},y=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return a=e,g(!0)};return y.cancel=function(){b()&&f(Date.now())},y.flush=function(){return b()&&m(Date.now()),i},y.pending=b,y},e.prototype.requestAnimationFrame=function(e,t){var n=this,r=0,i=Object(o.a)(t);if(!this._isDisposed){this._animationFrameIds||(this._animationFrameIds={});var a=function(){try{n._animationFrameIds&&delete n._animationFrameIds[r],e.apply(n._parent)}catch(e){n._logError(e)}};r=i.requestAnimationFrame?i.requestAnimationFrame(a):i.setTimeout(a,0),this._animationFrameIds[r]=!0}return r},e.prototype.cancelAnimationFrame=function(e,t){var n=Object(o.a)(t);this._animationFrameIds&&this._animationFrameIds[e]&&(n.cancelAnimationFrame?n.cancelAnimationFrame(e):n.clearTimeout(e),delete this._animationFrameIds[e])},e.prototype._logError=function(e){this._onErrorHandler&&this._onErrorHandler(e)},e}()},function(e,t,n){"use strict";function o(e,t,n){}n.d(t,"a",(function(){return o}))},function(e,t,n){"use strict";function o(e,t){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t}n.d(t,"a",(function(){return o}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return l})),n.d(t,"c",(function(){return u})),n.d(t,"b",(function(){return d})),n.d(t,"d",(function(){return h})),n.d(t,"e",(function(){return f})),n.d(t,"g",(function(){return m})),n.d(t,"f",(function(){return g}));var o,r=n(12),i=n(203),a=n(4),s=0,c=Object(i.b)({overflow:"hidden !important"}),l="data-is-scrollable",u=function(e,t){if(e){var n=0,o=null;t.on(e,"touchstart",(function(e){1===e.targetTouches.length&&(n=e.targetTouches[0].clientY)}),{passive:!1}),t.on(e,"touchmove",(function(e){if(1===e.targetTouches.length&&(e.stopPropagation(),o)){var t=e.targetTouches[0].clientY-n,r=g(e.target);r&&(o=r),0===o.scrollTop&&t>0&&e.preventDefault(),o.scrollHeight-Math.ceil(o.scrollTop)<=o.clientHeight&&t<0&&e.preventDefault()}}),{passive:!1}),o=e}},d=function(e,t){e&&t.on(e,"touchmove",(function(e){e.stopPropagation()}),{passive:!1})},p=function(e){e.preventDefault()};function h(){var e=Object(r.a)();e&&e.body&&!s&&(e.body.classList.add(c),e.body.addEventListener("touchmove",p,{passive:!1,capture:!1})),s++}function f(){if(s>0){var e=Object(r.a)();e&&e.body&&1===s&&(e.body.classList.remove(c),e.body.removeEventListener("touchmove",p)),s--}}function m(){if(void 0===o){var e=document.createElement("div");e.style.setProperty("width","100px"),e.style.setProperty("height","100px"),e.style.setProperty("overflow","scroll"),e.style.setProperty("position","absolute"),e.style.setProperty("top","-9999px"),document.body.appendChild(e),o=e.offsetWidth-e.clientWidth,document.body.removeChild(e)}return o}function g(e){for(var t=e,n=Object(r.a)(e);t&&t!==n.body;){if("true"===t.getAttribute(l))return t;t=t.parentElement}for(t=e;t&&t!==n.body;){if("false"!==t.getAttribute(l)){var o=getComputedStyle(t),i=o?o.getPropertyValue("overflow-y"):"";if(i&&("scroll"===i||"auto"===i))return t}t=t.parentElement}return t&&t!==n.body||(t=Object(a.a)(e)),t}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var o=n(42);function r(e,t){var n=(t||{}).customizations,r=void 0===n?{settings:{},scopedSettings:{}}:n;return{customizations:{settings:Object(o.b)(r.settings,e.settings),scopedSettings:Object(o.a)(r.scopedSettings,e.scopedSettings),inCustomizerContext:!0}}}},function(e,t,n){"use strict";function o(e,t,n){void 0===n&&(n=0);for(var o=-1,r=n;e&&r<e.length;r++)if(t(e[r],r)){o=r;break}return o}function r(e,t){var n=o(e,t);if(!(n<0))return e[n]}function i(e,t){for(var n=[],o=0;o<e;o++)n.push(t(o));return n}function a(e,t){return e.reduce((function(e,n,o){return o%t==0?e.push([n]):e[e.length-1].push(n),e}),[])}function s(e,t){return e.filter((function(e,n){return t!==n}))}function c(e,t,n){var o=e.slice();return o[n]=t,o}function l(e,t,n){var o=e.slice();return o.splice(t,0,n),o}function u(e){var t=[];return e.forEach((function(e){return t=t.concat(e)})),t}function d(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}n.d(t,"e",(function(){return o})),n.d(t,"d",(function(){return r})),n.d(t,"c",(function(){return i})),n.d(t,"i",(function(){return a})),n.d(t,"g",(function(){return s})),n.d(t,"h",(function(){return c})),n.d(t,"a",(function(){return l})),n.d(t,"f",(function(){return u})),n.d(t,"b",(function(){return d}))},function(e,t,n){"use strict";function o(e,t,n,o,r){}n.d(t,"a",(function(){return o})),n(35)},function(e,t,n){"use strict";function o(e,t,n){}n.d(t,"a",(function(){return o}))},function(e,t,n){"use strict";function o(e){var t;return e&&(e===window?t={left:0,top:0,width:window.innerWidth,height:window.innerHeight,right:window.innerWidth,bottom:window.innerHeight}:e.getBoundingClientRect&&(t=e.getBoundingClientRect())),t}n.d(t,"a",(function(){return o}))},function(e,t,n){"use strict";var o,r=n(10),i=n(12),a=n(32);function s(e){if(void 0===e&&(e={}),void 0!==e.rtl)return e.rtl;if(void 0===o){var t=function(e){var t=null;try{t=window.sessionStorage.getItem("isRTL")}catch(e){}return t}();null!==t&&c(o="1"===t);var n=Object(i.a)();void 0===o&&n&&(o="rtl"===(n.body&&n.body.getAttribute("dir")||n.documentElement.getAttribute("dir")),Object(a.b)(o))}return!!o}function c(e,t){void 0===t&&(t=!1);var n=Object(i.a)();n&&n.documentElement.setAttribute("dir",e?"rtl":"ltr"),t&&function(e,t){try{window.sessionStorage.setItem("isRTL",t)}catch(e){}}(0,e?"1":"0"),o=e,Object(a.b)(o)}function l(e,t){return void 0===t&&(t={}),s(t)&&(e===r.a.left?e=r.a.right:e===r.a.right&&(e=r.a.left)),e}n.d(t,"a",(function(){return s})),n.d(t,"c",(function(){return c})),n.d(t,"b",(function(){return l}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var o=n(13);function r(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=[],r=[],i=o.b.getInstance();function a(e){for(var t=0,o=e;t<o.length;t++){var s=o[t];if(s)if("string"==typeof s)if(s.indexOf(" ")>=0)a(s.split(" "));else{var c=i.argsFromClassName(s);c?a(c):-1===n.indexOf(s)&&n.push(s)}else Array.isArray(s)?a(s):"object"==typeof s&&r.push(s)}}return a(e),{classes:n,objects:r}}},function(e,t,n){"use strict";function o(e){return e&&!!e._virtual}n.d(t,"a",(function(){return o}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var o=n(40);function r(e,t){return e&&e!==document.body?t(e)?e:r(Object(o.a)(e),t):null}},,,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.intentGraphDataSourceName=t.RuntimeDataSources=t.HostApps=void 0,function(e){e.GetHelp="GetHelp",e.SupportCentral="SupportCentral"}(t.HostApps||(t.HostApps={})),function(e){e.Static="yoda.runtime.static"}(t.RuntimeDataSources||(t.RuntimeDataSources={})),t.intentGraphDataSourceName="yoda.ds.intentGraph"},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){"use strict";function o(e,t){return void 0!==e[t]&&null!==e[t]}n.d(t,"a",(function(){return o}))},function(e,t,n){"use strict";var o=n(131);n.d(t,"a",(function(){return o.a}))},function(e,t,n){"use strict";var o=n(133);n.d(t,"a",(function(){return o.a}))},function(e,t,n){"use strict";var o=n(40);n.d(t,"a",(function(){return o.a}))},function(e,t,n){"use strict";var o,r=this&&this.__extends||(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),i=this&&this.__decorate||function(e,t,n,o){var r,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,o);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(a=(i<3?r(a):i>3?r(t,n,a):r(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a};Object.defineProperty(t,"__esModule",{value:!0}),t.RaisedEventState=t.RaisedEventStatus=t.StaticConfig=t.SafDiagnosticsSettings=t.JsonDocument=t.GraphNode=t.DiagnosticsActionStatus=t.DiagnosticsActionResult=t.Meta=t.SAFDiagnosticNode=t.DAFDiagnosticNode=t.Target=t.ParamOrVar=t.ChoiceNode=t.Choice=t.DynamicChoiceVariable=t.DynamicChoiceValue=t.DynamicVariableValue=t.TextNode=t.TextField=t.SolutionContent=t.ActionType=t.OutcomeSignal=t.ContentType=t.NodeType=void 0;var a=n(75),s=n(8);!function(e){e.TextNode="textnode",e.ChoiceNode="choicenode",e.DafDiagnosticNode="dafdiagnosticnode",e.SafDiagnosticNode="safdiagnosticnode"}(t.NodeType||(t.NodeType={})),function(e){e.Embedded="embedded",e.EmbeddedHtml="embeddedhtml",e.EmbeddedPlainText="embeddedplaintext",e.AlchemyResource="alchemyresource",e.C3="c3",e.Dmc="dmc",e.Soc="soc",e.ServerDiagnostic="ServerDiagnostic"}(t.ContentType||(t.ContentType={})),function(e){e.Successful="successful",e.Unsuccessful="unsuccessful",e.Indeterminate="indeterminate"}(t.OutcomeSignal||(t.OutcomeSignal={})),function(e){e.DafV1="dafv1",e.DafV1WithParams="dafv1WithParams",e.DafV2="dafv2",e.DafV2WithParams="dafv2WithParams",e.SkylightSAF="skylightSAF"}(t.ActionType||(t.ActionType={}));var c=function(){function e(){}return i([a.serializable(a.primitive())],e.prototype,"SolutionTitle",void 0),i([a.serializable(a.primitive())],e.prototype,"SolutionContent",void 0),e}();t.SolutionContent=c;var l=function(){function e(){}return i([a.serializable(a.primitive())],e.prototype,"contentType",void 0),i([a.serializable(a.primitive())],e.prototype,"content",void 0),i([a.serializable(a.primitive())],e.prototype,"contentText",void 0),i([a.serializable(a.primitive())],e.prototype,"contentTitle",void 0),i([a.serializable(a.primitive())],e.prototype,"dynamic",void 0),e}();t.TextField=l;var u=function(){function e(){}return i([a.serializable(a.primitive())],e.prototype,"type",void 0),i([a.serializable(a.primitive())],e.prototype,"id",void 0),i([a.serializable(a.primitive())],e.prototype,"name",void 0),i([a.serializable(a.primitive())],e.prototype,"tags",void 0),i([a.serializable(a.immutableMap(l))],e.prototype,"title",void 0),i([a.serializable(a.immutableMap(l))],e.prototype,"text",void 0),i([a.serializable(a.primitive())],e.prototype,"outcomeSignal",void 0),e}();t.TextNode=u;var d=function(){function e(){}return i([a.serializable(a.primitive())],e.prototype,"value",void 0),i([a.serializable(a.primitive())],e.prototype,"variableToSet",void 0),i([a.serializable(a.primitive())],e.prototype,"targetValue",void 0),e}();t.DynamicVariableValue=d;var p=function(){function e(){}return i([a.serializable(a.primitive())],e.prototype,"value",void 0),i([a.serializable(a.primitive())],e.prototype,"variableToSet",void 0),e}();t.DynamicChoiceValue=p;var h=function(){function e(){}return i([a.serializable(a.primitive())],e.prototype,"text",void 0),i([a.serializable(a.immutableList(a.immutableMap(d)))],e.prototype,"values",void 0),e}();t.DynamicChoiceVariable=h;var f=function(){function e(){}return i([a.serializable(a.primitive())],e.prototype,"id",void 0),i([a.serializable(a.immutableMap(l))],e.prototype,"text",void 0),i([a.serializable(a.primitive())],e.prototype,"raiseEventName",void 0),i([a.serializable(a.primitive())],e.prototype,"targetNodeId",void 0),i([a.serializable(a.primitive())],e.prototype,"failedTargetNodeId",void 0),i([a.serializable(a.primitive())],e.prototype,"eventHold",void 0),i([a.serializable(a.immutableList(a.immutableMap(p)))],e.prototype,"values",void 0),e}();t.Choice=f;var m=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),i([a.serializable(a.primitive())],t.prototype,"dynamicChoices",void 0),i([a.serializable(a.primitive())],t.prototype,"dynamicChoiceTargetNodeId",void 0),i([a.serializable(a.immutableList(a.immutableMap(f)))],t.prototype,"staticChoices",void 0),i([a.serializable(a.immutableMap(l))],t.prototype,"question",void 0),t}(u);t.ChoiceNode=m;var g=function(){function e(){}return i([a.serializable(a.primitive())],e.prototype,"name",void 0),i([a.serializable(a.primitive())],e.prototype,"value",void 0),e}();t.ParamOrVar=g;var b=function(){function e(){}return i([a.serializable(a.primitive())],e.prototype,"condition",void 0),i([a.serializable(a.primitive())],e.prototype,"targetNodeId",void 0),e}();t.Target=b;var y=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),i([a.serializable(a.primitive())],t.prototype,"actionType",void 0),i([a.serializable(a.primitive())],t.prototype,"actionReference",void 0),i([a.serializable(a.primitive())],t.prototype,"timeoutSeconds",void 0),i([a.serializable(a.immutableList(a.immutableMap(g)))],t.prototype,"parameters",void 0),i([a.serializable(a.immutableList(a.immutableMap(g)))],t.prototype,"variables",void 0),i([a.serializable(a.immutableList(a.immutableMap(b)))],t.prototype,"targets",void 0),i([a.serializable(a.immutableList(a.immutableMap(b)))],t.prototype,"failureTargets",void 0),i([a.serializable(a.immutableList(a.immutableMap(b)))],t.prototype,"defaultTargets",void 0),i([a.serializable(a.primitive())],t.prototype,"defaultTargetNodeId",void 0),i([a.serializable(a.primitive())],t.prototype,"failedTargetNodeId",void 0),i([a.serializable(a.primitive())],t.prototype,"dynamicChoice",void 0),i([a.serializable(a.primitive())],t.prototype,"dynamicChoicePosition",void 0),t}(u);t.DAFDiagnosticNode=y;var v=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),i([a.serializable(a.primitive())],t.prototype,"payload",void 0),i([a.serializable(a.primitive())],t.prototype,"failedTargetNodeId",void 0),i([a.serializable(a.primitive())],t.prototype,"successTargetNodeId",void 0),t}(u);t.SAFDiagnosticNode=v;var _=function(){function e(){}return i([a.serializable(a.primitive())],e.prototype,"id",void 0),i([a.serializable(a.primitive())],e.prototype,"title",void 0),i([a.serializable(a.primitive())],e.prototype,"description",void 0),i([a.serializable(a.primitive())],e.prototype,"keywords",void 0),i([a.serializable(a.primitive())],e.prototype,"team",void 0),i([a.serializable(a.immutableDate())],e.prototype,"lastModifiedAt",void 0),i([a.serializable(a.primitive())],e.prototype,"lastModifiedBy",void 0),i([a.serializable(a.primitive())],e.prototype,"version",void 0),i([a.serializable(a.primitive())],e.prototype,"locale",void 0),i([a.serializable(a.primitive())],e.prototype,"supportAreaReference",void 0),e}();t.Meta=_;var S=function(){function e(){}return i([a.serializable(a.primitive())],e.prototype,"IsSuccess",void 0),i([a.serializable(a.immutableList(a.immutableMap(g)))],e.prototype,"Results",void 0),i([a.serializable(a.immutableList(a.primitive()))],e.prototype,"DynamicChoices",void 0),e}();t.DiagnosticsActionResult=S,function(e){e[e.InProgress=0]="InProgress",e[e.CompletedSuccessfully=1]="CompletedSuccessfully",e[e.Error=2]="Error",e[e.FetchingDiagnosticsInProgress=3]="FetchingDiagnosticsInProgress",e[e.FetchingDiagnosticsCompleted=4]="FetchingDiagnosticsCompleted"}(t.DiagnosticsActionStatus||(t.DiagnosticsActionStatus={}));var C=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.dynamicChoicesList=s.createImmutableList([]),t.dynamicChoiceTargets=s.createImmutableList([]),t.diagnosticsResult=s.createImmutableMap(new S),t.isInEditMode=!0,t.isFirstRender=!0,t}return r(t,e),i([a.serializable(a.primitive())],t.prototype,"actionType",void 0),i([a.serializable(a.primitive())],t.prototype,"uId",void 0),i([a.serializable(a.primitive())],t.prototype,"actionReference",void 0),i([a.serializable(a.primitive())],t.prototype,"timeoutSeconds",void 0),i([a.serializable(a.immutableList(a.immutableMap(g)))],t.prototype,"parameters",void 0),i([a.serializable(a.immutableList(a.immutableMap(g)))],t.prototype,"variables",void 0),i([a.serializable(a.immutableList(a.immutableMap(b)))],t.prototype,"targets",void 0),i([a.serializable(a.immutableList(a.immutableMap(b)))],t.prototype,"failureTargets",void 0),i([a.serializable(a.immutableList(a.immutableMap(b)))],t.prototype,"defaultTargets",void 0),i([a.serializable(a.primitive())],t.prototype,"defaultTargetNodeId",void 0),i([a.serializable(a.primitive())],t.prototype,"failedTargetNodeId",void 0),i([a.serializable(a.primitive())],t.prototype,"successTargetNodeId",void 0),i([a.serializable(a.primitive())],t.prototype,"payload",void 0),i([a.serializable(a.primitive())],t.prototype,"dynamicChoicesVariableName",void 0),i([a.serializable(a.primitive())],t.prototype,"dynamicChoiceTargetNodeId",void 0),i([a.serializable(a.immutableMap(h))],t.prototype,"dynamicChoiceVariables",void 0),i([a.serializable(a.immutableList(a.immutableMap(f)))],t.prototype,"staticChoices",void 0),i([a.serializable(a.immutableList(a.immutableMap(f)))],t.prototype,"dynamicChoicesList",void 0),i([a.serializable(a.immutableList(a.immutableMap(b)))],t.prototype,"dynamicChoiceTargets",void 0),i([a.serializable(a.immutableMap(l))],t.prototype,"question",void 0),i([a.serializable(a.immutableMap(l))],t.prototype,"title",void 0),i([a.serializable(a.primitive())],t.prototype,"type",void 0),i([a.serializable(a.primitive())],t.prototype,"id",void 0),i([a.serializable(a.primitive())],t.prototype,"name",void 0),i([a.serializable(a.primitive())],t.prototype,"tags",void 0),i([a.serializable(a.immutableMap(l))],t.prototype,"text",void 0),i([a.serializable(a.primitive())],t.prototype,"outcomeSignal",void 0),i([a.serializable(a.primitive())],t.prototype,"dynamicChoices",void 0),i([a.serializable(a.immutableMap(f))],t.prototype,"selectedChoice",void 0),i([a.serializable(a.immutableMap(S))],t.prototype,"diagnosticsResult",void 0),i([a.serializable(a.primitive())],t.prototype,"diagnosticsActionStatus",void 0),i([a.serializable(a.primitive())],t.prototype,"timerId",void 0),i([a.serializable(a.primitive())],t.prototype,"isInEditMode",void 0),i([a.serializable(a.primitive())],t.prototype,"isFirstRender",void 0),t}(u);t.GraphNode=C;var x=function(){function e(){}return i([a.serializable(a.primitive())],e.prototype,"schemaVersion",void 0),i([a.serializable(a.immutableMap(_))],e.prototype,"meta",void 0),i([a.serializable(a.immutableList(a.immutableMap(g)))],e.prototype,"initialVariables",void 0),i([a.serializable(a.immutableMap(l))],e.prototype,"topHeadingText",void 0),i([a.serializable(a.primitive())],e.prototype,"startNodeId",void 0),i([a.serializable(a.immutableList(a.immutableMap(C)))],e.prototype,"nodes",void 0),e}();t.JsonDocument=x;var w=function(){function e(){}return i([a.serializable(a.primitive())],e.prototype,"multilineTextFieldRowCount",void 0),i([a.serializable(a.primitive())],e.prototype,"titleStringLimit",void 0),i([a.serializable(a.primitive())],e.prototype,"buttonLabelLimit",void 0),i([a.serializable(a.primitive())],e.prototype,"safActionMaxRetries",void 0),i([a.serializable(a.primitive())],e.prototype,"timeoutInSeconds",void 0),i([a.serializable(a.primitive())],e.prototype,"serviceTimerDelayInMilliseconds",void 0),e}();t.SafDiagnosticsSettings=w;var T=function(){function e(){}return i([a.serializable(a.primitive())],e.prototype,"correlationId",void 0),i([a.serializable(a.primitive())],e.prototype,"sessionId",void 0),i([a.serializable(a.primitive())],e.prototype,"hostAppName",void 0),i([a.serializable(a.primitive())],e.prototype,"prefix",void 0),i([a.serializable(a.primitive())],e.prototype,"locale",void 0),i([a.serializable(a.immutableMap(x))],e.prototype,"jsonDocument",void 0),i([a.serializable(a.primitive())],e.prototype,"timeoutInSeconds",void 0),i([a.serializable(a.primitive())],e.prototype,"enableScrollToBottom",void 0),i([a.serializable(a.primitive())],e.prototype,"enableScrollToTop",void 0),i([a.serializable(a.primitive())],e.prototype,"logLinkClicks",void 0),i([a.serializable(a.primitive())],e.prototype,"disableValidationException",void 0),i([a.serializable(a.primitive())],e.prototype,"scrollRef",void 0),i([a.serializable(a.immutableMap(w))],e.prototype,"safDiagnosticsSettings",void 0),e}();t.StaticConfig=T,function(e){e.inProgress="inprogress",e.success="success",e.failure="failure"}(t.RaisedEventStatus||(t.RaisedEventStatus={}));var k=function(){function e(){}return i([a.serializable(a.primitive())],e.prototype,"raisedBy",void 0),i([a.serializable(a.primitive())],e.prototype,"eventName",void 0),i([a.serializable(a.primitive())],e.prototype,"status",void 0),e}();t.RaisedEventState=k},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.discriminated=t.immutableDate=t.immutableWeakTypedMap=t.immutableMap=t.immutableList=t.deserializeToImmutableList=t.deserializeToImmutableMap=t.serializeFromImmutableMap=void 0;var o=n(123),r=n(8),i=n(19),a=n(123);function s(e,t,n){return r.createImmutableMap(o.deserialize(e,t,n))}function c(e,t){return r.createImmutableList(t.map((function(t){return r.createImmutableMap(o.deserialize(e,t))})))}Object.defineProperty(t,"alias",{enumerable:!0,get:function(){return a.alias}}),Object.defineProperty(t,"custom",{enumerable:!0,get:function(){return a.custom}}),Object.defineProperty(t,"deserialize",{enumerable:!0,get:function(){return a.deserialize}}),Object.defineProperty(t,"identifier",{enumerable:!0,get:function(){return a.identifier}}),Object.defineProperty(t,"primitive",{enumerable:!0,get:function(){return a.primitive}}),Object.defineProperty(t,"serializable",{enumerable:!0,get:function(){return a.serializable}}),Object.defineProperty(t,"serialize",{enumerable:!0,get:function(){return a.serialize}}),Object.defineProperty(t,"list",{enumerable:!0,get:function(){return a.list}}),t.serializeFromImmutableMap=function(e,t){return o.serialize(o.getDefaultModelSchema(e),t.toObject())},t.deserializeToImmutableMap=s,t.deserializeToImmutableList=c,t.immutableList=function(e){return{serializer:function(t){return null==t?t:o.list(e).serializer(t.toArray())},deserializer:function(t,n,i){null!=t?o.list(e).deserializer(t,(function(e,t){n(e,r.createImmutableList(t))}),i,void 0):n(null,t)}}},t.immutableMap=function(e,t){return void 0===t&&(t=!1),{serializer:function(t){var n=o.getDefaultModelSchema(e);return null==t?t:o.serialize(n,t.toObject())},deserializer:function(n,a,s){o.object(e).deserializer(n,(function(e,n){var o=t&&i.isNullOrUndefined(n);a(e,o?n:r.createImmutableMap(n))}),s,void 0)}}},t.immutableWeakTypedMap=function(e){return{serializer:function(t){return null==t?t:t.map((function(t){return o.object(e).serializer(t)})).toJSON()},deserializer:function(t,n,o){if(null!=t){var i,a={};Object.keys(t).forEach((function(n){i||(e?e.deserializer(t[n],(function(e,t){e&&(i=e),a[n]=t}),o,void 0):a[n]=t[n])})),i?n(i,null):n(null,r.createImmutableWeakTypedMap(a))}else n(null,t)}}},t.immutableDate=function(){return{serializer:function(e){return null==e?e:e.toISOString()},deserializer:function(e,t){t(null,null!=e?r.createImmutableDate(e):e)}}},t.discriminated=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return{serializer:function(e){return o.serialize(e)},deserializer:function(t,n){if(null==t)return t;var o=t.type,r=e.find((function(e){return e.type===o}));r?Array.isArray(t)?c(r,t):s(r,t,n):n("Unknown type: "+o,{})}}}},function(e,t,n){"use strict";var o=this&&this.__createBinding||(Object.create?function(e,t,n,o){void 0===o&&(o=n),Object.defineProperty(e,o,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,o){void 0===o&&(o=n),e[o]=t[n]}),r=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||t.hasOwnProperty(n)||o(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),r(n(75),t)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.populateDiagnosticsForm=t.prepopulateVariables=t.prepopulateJsonFormValue=t.generateFormFields=t.createFormField=t.inferFieldType=t.populateRequiredProperties=t.getButtonLabel=t.getFormTitleAndDescription=t.addDays=t.isFormInvalid=t.validatorWrapper=t.validateFormComponent=void 0;var o=n(33),r=n(8),i=function(e){if(void 0===e)return!0;switch(typeof e){case o.FormDataTypes.String:return null===e||e.length<=0;case o.FormDataTypes.Number:return function(e){return isNaN(e)||e===1/0||e===-1/0}(e);case o.FormDataTypes.Boolean:return 0==!!e;case o.FormDataTypes.Object:return null===e}return!1},a=function(e,t,n){return!(!(n&&n!==o.EventType.Blur||t)&&i(e))};t.validateFormComponent=function(e,t,n){var r=!1,s=o.ErrorType.None;return t.get("Required")&&i(e)&&(r=!0,s=o.ErrorType.Required),!r&&(t.get("LowerBound")||t.get("UpperBound")||t.get("MinLength")||t.get("MaxLength"))&&function(e,t,n){var o,r,i=t.get("Required");if(a(e,i,n))switch(typeof e){case"number":if(o=t.get("LowerBound"),r=t.get("UpperBound"),o&&e<o)return!0;if(r&&e>r)return!0;break;case"string":if(o=t.get("MinLength"),r=t.get("MaxLength"),o&&e.length<o)return!0;if(r&&e.length>r)return!0}return!1}(e,t,n)&&(r=!0,s="number"==typeof e?o.ErrorType.NumBoundary:o.ErrorType.StringLength),!r&&t.get("Pattern")&&function(e,t,n){var o,r=t.get("Pattern"),i=t.get("Required");if(a(e,i,n))switch(typeof e){case"string":if(r instanceof RegExp)o=r;else{var s=void 0,c="",l=r.match(/^\/(.+)\/([img]*)$/);l?(s=l[1],c=l[2]):s=r,o=new RegExp(s,c)}if(!o.test(e))return!0}return!1}(e,t,n)&&(r=!0,s=o.ErrorType.StringPattern),s},t.validatorWrapper=function(e,n,r,i,a,s){var c,l=n.get("Key"),u=n.get("Type"),d=n.get("Constraints"),p=n.toObject(),h=o.ErrorCodes.None;switch(u){case o.FormFieldType.TextField:case o.FormFieldType.DropDown:case o.FormFieldType.CheckBox:switch((c=t.validateFormComponent(e,d,s))!==o.ErrorType.None&&(p.IsError=!0),c){case o.ErrorType.Required:h=d.get("ErrorMap").get("Required");break;case o.ErrorType.StringLength:h=d.get("ErrorMap").get("StringLength");break;case o.ErrorType.StringPattern:h=d.get("ErrorMap").get("Pattern")}}if(null!=e&&r&&r(l,e),i&&a)switch(h){case o.ErrorCodes.None:a(l);break;default:i(l,h)}},t.isFormInvalid=function(e){var n=e.get("FormFields"),r=o.ErrorType.None;return n.forEach((function(e){var n=e.get("Value"),i=e.get("Constraints");r===o.ErrorType.None&&(r=t.validateFormComponent(n,i))})),r!==o.ErrorType.None},t.addDays=function(e,t){var n=new Date(t.getTime());return n.setDate(n.getDate()+e),n},t.getFormTitleAndDescription=function(e){var t=String(),n=String();return e&&e.has(o.JsonSchemaConstants.Title)&&(t=e.get(o.JsonSchemaConstants.Title)),e&&e.has(o.JsonSchemaConstants.Description)&&(n=e.get(o.JsonSchemaConstants.Description)),{localizedTitle:t,localizedDescription:n}},t.getButtonLabel=function(e){var t;return e&&e.has(o.JsonSchemaConstants.Action)&&(t=e.get(o.JsonSchemaConstants.Action)),t&&typeof t===o.FormDataTypes.String?t:String()},t.populateRequiredProperties=function(e){if(e&&e.has(o.JsonSchemaConstants.Required)){var t=e.get(o.JsonSchemaConstants.Required);if(t instanceof Array)return r.createImmutableList(t)}return r.createImmutableList([])},t.inferFieldType=function(e){if(e){var t=e[o.JsonSchemaConstants.Type],n=e[o.JsonSchemaConstants.Format],r=e[o.JsonSchemaConstants.AnyOf];if(r&&r instanceof Array&&r.length>0)return o.DiagnosticsParamTypeToFieldTypeMap.DropDown;if(t===o.FormDataTypes.String)switch(n){case"uri":return o.DiagnosticsParamTypeToFieldTypeMap.Uri;case"email":return o.DiagnosticsParamTypeToFieldTypeMap.EmailAddress;case"date":return o.DiagnosticsParamTypeToFieldTypeMap.DateTime;default:return o.DiagnosticsParamTypeToFieldTypeMap.Text}else if(t===o.FormDataTypes.Boolean)return o.DiagnosticsParamTypeToFieldTypeMap.CheckMark}return o.DiagnosticsParamTypeToFieldTypeMap.None},t.createFormField=function(e,n,i){if(e&&!e[o.JsonSchemaConstants.Hidden]&&(void 0===e[o.JsonSchemaConstants.ValueProvider]||e[o.JsonSchemaConstants.ValueProvider].toLowerCase()===o.ParameterValueProvider.userInput.toLowerCase())){var a=new o.FormFieldV2;a.Key=n,a.LocalizedPlaceholder=e[o.JsonSchemaConstants.PlaceHolder]||String(),a.Title=e[o.JsonSchemaConstants.Title],a.LocalizedToolTip=e[o.JsonSchemaConstants.ToolTip]||a.LocalizedPlaceholder||a.Title||String(),a.Value=e[o.JsonSchemaConstants.Value],a.Type=t.inferFieldType(e);var s=e[o.JsonSchemaConstants.MultiLineCount];a.IsMultilineText=!!s,a.MultilineRowsCount=s?s<=o.SafConstants.DiagnosticsMultilineTextFieldRowCount?s:o.SafConstants.DiagnosticsMultilineTextFieldRowCount:1;var c=e[o.JsonSchemaConstants.AnyOf];if(c&&c instanceof Array&&c.length>0){var l=[];c.forEach((function(e){var t=new o.FormFieldOptionV2,n=e[o.JsonSchemaConstants.Enum];n&&n instanceof Array&&n.length>0&&(t.Key=n[0]+e[o.JsonSchemaConstants.Title],t.Value=n[0],t.LocalizedTitle=e[o.JsonSchemaConstants.Title],l.push(r.createImmutableMap(t)))})),a.AnyOf=r.createImmutableList(l)}var u=new o.FormConstraintV2;u.Required=i.includes(n),u.MaxLength=e[o.JsonSchemaConstants.MaxLength],u.MinLength=e[o.JsonSchemaConstants.MinLength],u.Pattern=e[o.JsonSchemaConstants.Pattern];var d=new o.ErrorCodeMap;if(d.Required=o.ErrorCodes.DiagnosticsFormRequiredFieldError,d.Pattern=o.ErrorCodes.DiagnosticsFormStringPatternError,d.StringLength=o.ErrorCodes.DiagnosticsFormStringLengthError,u.ErrorMap=r.createImmutableMap(d),a.Type===o.FormFieldType.DatePicker){var p=new Date(Date.now());u.MinDate=r.createImmutableDate(t.addDays(o.SafConstants.DiagnosticsDatePickerMinDateThreshold,p)),u.MaxDate=r.createImmutableDate(p)}return a.Type===o.FormFieldType.CheckBox&&("false"!==e[o.JsonSchemaConstants.Value]&&"false"!==e[o.JsonSchemaConstants.Default]||(a.Value=!1),"true"!==e[o.JsonSchemaConstants.Value]&&"true"!==e[o.JsonSchemaConstants.Default]||(a.Value=!0),a.Value=void 0!==e[o.JsonSchemaConstants.Value]?!!e[o.JsonSchemaConstants.Value]:!!e[o.JsonSchemaConstants.Default]),a.Constraints=r.createImmutableMap(u),r.createImmutableMap(a)}return null},t.generateFormFields=function(e){var n=[];if(e&&e.has(o.JsonSchemaConstants.Properties)){var r=e.get(o.JsonSchemaConstants.Properties),i=t.populateRequiredProperties(e);r&&typeof r===o.FormDataTypes.Object&&Object.keys(r).forEach((function(e){if(r.hasOwnProperty(e)){var o=t.createFormField(r[e],e,i);o&&n.push(o)}}))}return n},t.prepopulateJsonFormValue=function(e){var t=e.get(o.JsonSchemaConstants.Properties),n=r.createImmutableWeakTypedMap({});return t&&typeof t===o.FormDataTypes.Object&&Object.keys(t).forEach((function(e){if(t.hasOwnProperty(e)){var r=t[e];r&&r[o.JsonSchemaConstants.Hidden]&&(n=n.set(e,r[o.JsonSchemaConstants.Default]))}})),n},t.prepopulateVariables=function(e){var t=e.get(o.JsonSchemaConstants.Properties),n=[],i=[];return t&&typeof t===o.FormDataTypes.Object&&Object.keys(t).forEach((function(e){if(t.hasOwnProperty(e)){var a=t[e];if(a){var s=a[o.JsonSchemaConstants.ValueProvider];if(s&&(s.toLowerCase()===o.ParameterValueProvider.globalVariables&&i.push(e),s.toLowerCase()===o.ParameterValueProvider.context)){var c=r.createImmutableMap(new o.SAFContextVariable);c=c.set("Name",e).set("ValueProvider",s),n.push(c)}}}})),{contextVariables:r.createImmutableList(n),globalVariables:r.createImmutableList(i)}},t.populateDiagnosticsForm=function(e,n,o,i){if(e||i){i=i||e.get("JsonSchemaForm");var a=t.getButtonLabel(i),s=t.getFormTitleAndDescription(i),c=t.generateFormFields(i),l=t.prepopulateJsonFormValue(i),u=t.prepopulateVariables(i);n=n.set("Key","diagnostics_form").set("LocalizedTitle",s.localizedTitle).set("LocalizedDescription",s.localizedDescription).set("FormFields",r.createImmutableList(c)).set("JsonFormValues",l).set("ButtonLabel",a).set("ContextVariables",u.contextVariables).set("GlobalVariables",u.globalVariables),o||(n=n.set("CorrelationId",e.get("CorrelationId")).set("TenantId",e.get("TenantId")).set("Identifier",e.get("Identifier")).set("Locale",e.get("Locale")))}return n}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.styledComponent=t.getClassNamesFunction=void 0;var o=n(9);t.getClassNamesFunction=function(){return o.classNamesFunction()},t.styledComponent=function(e,t){return o.styled(e,t,void 0,void 0,!0)}},function(e,t,n){"use strict";var o,r=this&&this.__extends||(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),i=this&&this.__createBinding||(Object.create?function(e,t,n,o){void 0===o&&(o=n),Object.defineProperty(e,o,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,o){void 0===o&&(o=n),e[o]=t[n]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),s=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.hasOwnProperty.call(e,n)&&i(t,e,n);return a(t,e),t},c=this&&this.__awaiter||function(e,t,n,o){return new(n||(n=Promise))((function(r,i){function a(e){try{c(o.next(e))}catch(e){i(e)}}function s(e){try{c(o.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}c((o=o.apply(e,t||[])).next())}))},l=this&&this.__generator||function(e,t){var n,o,r,i,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,o&&(r=2&i[0]?o.return:i[0]?o.throw||((r=o.return)&&r.call(o),0):o.next)&&!(r=r.call(o,i[1])).done)return r;switch(o=0,r&&(i=[2&i[0],r.value]),i[0]){case 0:case 1:r=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,o=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!r||i[1]>r[0]&&i[1]<r[3])){a.label=i[1];break}if(6===i[0]&&a.label<r[1]){a.label=r[1],r=i;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(i);break}r[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],o=0}finally{n=r=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.TextFieldComponent=void 0;var u=n(9),d=s(n(0)),p=n(14),h=n(17),f=n(19),m=n(18),g=function(e){function t(t){var n=e.call(this,t)||this;return n.componentDidMount=function(){return c(n,void 0,void 0,(function(){return l(this,(function(e){switch(e.label){case 0:return this.setState({isContentHandlerInProgress:!0}),[4,this._getTextContent()];case 1:return e.sent(),[2]}}))}))},n.componentDidUpdate=function(e){return c(n,void 0,void 0,(function(){return l(this,(function(t){switch(t.label){case 0:return e.globalVarSize!==this.props.globalVarSize&&this.setState(this._addDynamicContent(!1)),this.props.textContent&&this.props.textContent.get("content")!=this.props.textContent.get("content")?[4,this._getTextContent()]:[3,2];case 1:t.sent(),t.label=2;case 2:return[2]}}))}))},n.render=function(){var e=m.getTextFieldDefaultClassNames(n.props.styles,{theme:n.props.theme,stylesFunc:n.props.stylesFunc}),t=n.state.contentResponse?n.state.contentResponse.SolutionContent:null,o=n.state.contentResponse?n.state.contentResponse.SolutionTitle:null;return n.state.isContentHandlerInProgress?d.createElement(u.Spinner,{styles:m.getTextFieldComponentSpinnerStyles(n.props)}):d.createElement(d.Fragment,null,!!o&&d.createElement("div",{key:n.props.componentkey+"-title",className:n.props.titleClassName},o),!!t&&""!==t&&d.createElement("div",{onClick:n.onClickHandler,key:n.props.componentkey+"-content",className:n.props.className+" "+e.textFieldBase,dangerouslySetInnerHTML:f.setDangerouslyInnerHtml(t)}))},n.onClickHandler=function(e){if(n.props.logLinkClicks&&n.props.callbackHandlers.LogHandler&&"function"==typeof n.props.callbackHandlers.LogHandler&&e){var t=e.target;t&&t.tagName&&"a"===t.tagName.toLowerCase()&&n.props.callbackHandlers.LogHandler(p.LogEventName.onLinkClick,p.LogLevel.Info,n.props.sessionId,t.outerHTML,f.generateAdhocs(n.props.meta,void 0,void 0,n.props.node))}},n._addDynamicContent=function(e,t){var o=n.props.textContent?n.props.textContent.get("content"):"",r=n.props.textContent?n.props.textContent.get("contentTitle"):"",i=n.props.textContent.get("dynamic");return t&&(o=t.SolutionContent,r=t.SolutionTitle),i&&n.props.getVariable&&"function"==typeof n.props.getVariable&&(o=n.props.getVariable(o),r=n.props.getVariable(r)),{contentResponse:{SolutionContent:f.wireupLinks(o),SolutionTitle:r},isContentHandlerInProgress:e}},n._executeLogHandler=function(e,t,o){if(void 0===o&&(o=""),n.props.callbackHandlers.LogHandler&&"function"==typeof n.props.callbackHandlers.LogHandler){var r=n.props.sessionId,i=null;n.props.node&&(i="string"==typeof n.props.node.get("tags")?n.props.node.get("tags"):JSON.stringify(i));var a="message: "+o+", tags: "+i;n.props.callbackHandlers.LogHandler(e,t,r,a,f.generateAdhocs(n.props.meta,void 0,void 0,n.props.node))}},n._getTextContent=function(){return c(n,void 0,void 0,(function(){var e,t,n,o=this;return l(this,(function(r){if(this.props.textContent&&this.props.textContent.get("contentType")&&this.props.textContent.get("content")){if(e=this.props.textContent,t=e.get("contentType"),n=e.get("content"),e&&t)switch(t.toLowerCase()){case p.ContentType.Embedded:case p.ContentType.EmbeddedHtml:case p.ContentType.EmbeddedPlainText:this.setState(this._addDynamicContent(!1));break;case p.ContentType.Soc:case p.ContentType.Dmc:case p.ContentType.AlchemyResource:this.props.callbackHandlers.ContentRequestHandler&&"function"==typeof this.props.callbackHandlers.ContentRequestHandler&&this.props.callbackHandlers.ContentRequestHandler(t,n).then((function(e){o.setState(o._addDynamicContent(!1,JSON.parse(e))),e||o._executeLogHandler(p.LogEventName.onContentRetrievalError,p.LogLevel.Warning,p.LogMessageCodes.ContentRetrievalHandlerReturnedNullResponse)})).catch((function(e){o.setState({contentResponse:null,isContentHandlerInProgress:!1}),o._executeLogHandler(p.LogEventName.onContentRetrievalError,p.LogLevel.Error,p.LogMessageCodes.ContentRetrievalHandlerFailed+" error: "+e)}));break;default:this.setState({contentResponse:null,isContentHandlerInProgress:!1})}}else this.setState({contentResponse:new p.SolutionContent,isContentHandlerInProgress:!1});return[2]}))}))},n.state=n._addDynamicContent(!1),n}return r(t,e),t}(d.PureComponent);t.TextFieldComponent=h.styledComponent(g,m.getTextFieldDefaultStyles)},function(e,t,n){"use strict";var o=n(71),r=n(72),i=n(62),a=n(61);function s(e,t){void 0===t&&(t=!0);var n=[];if(e){for(var o=0;o<e.children.length;o++)n.push(e.children.item(o));t&&Object(a.a)(e)&&n.push.apply(n,e._virtual.children)}return n}var c=n(12),l=n(73),u=n(58),d=n(132),p=n(4),h=n(105),f=n(213),m=n(111),g=n(83),b=n(212);n.d(t,"b",(function(){return o.a})),n.d(t,"c",(function(){return r.a})),n.d(t,"d",(function(){return i.a})),n.d(t,"e",(function(){return s})),n.d(t,"f",(function(){return c.a})),n.d(t,"g",(function(){return l.a})),n.d(t,"h",(function(){return u.a})),n.d(t,"i",(function(){return d.a})),n.d(t,"j",(function(){return p.a})),n.d(t,"k",(function(){return a.a})),n.d(t,"l",(function(){return h.a})),n.d(t,"m",(function(){return f.a})),n.d(t,"n",(function(){return m.a})),n.d(t,"a",(function(){return g.a})),n.d(t,"o",(function(){return g.b})),n.d(t,"p",(function(){return b.a}))},function(e,t,n){"use strict";e.exports=n(144)},function(e,t,n){"use strict";n.r(t);var o=n(135),r="object"==typeof self&&self&&self.Object===Object&&self,i=(o.a||r||Function("return this")()).Symbol,a=Object.prototype,s=a.hasOwnProperty,c=a.toString,l=i?i.toStringTag:void 0,u=Object.prototype.toString,d=i?i.toStringTag:void 0,p=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":d&&d in Object(e)?function(e){var t=s.call(e,l),n=e[l];try{e[l]=void 0;var o=!0}catch(e){}var r=c.call(e);return o&&(t?e[l]=n:delete e[l]),r}(e):function(e){return u.call(e)}(e)},h=function(e,t){return function(n){return e(t(n))}}(Object.getPrototypeOf,Object),f=Function.prototype,m=Object.prototype,g=f.toString,b=m.hasOwnProperty,y=g.call(Object),v=n(85),_="@@redux/INIT";function S(e,t,n){var o;if("function"==typeof t&&void 0===n&&(n=t,t=void 0),void 0!==n){if("function"!=typeof n)throw new Error("Expected the enhancer to be a function.");return n(S)(e,t)}if("function"!=typeof e)throw new Error("Expected the reducer to be a function.");var r=e,i=t,a=[],s=a,c=!1;function l(){s===a&&(s=a.slice())}function u(){return i}function d(e){if("function"!=typeof e)throw new Error("Expected listener to be a function.");var t=!0;return l(),s.push(e),function(){if(t){t=!1,l();var n=s.indexOf(e);s.splice(n,1)}}}function f(e){if(!function(e){if(!function(e){return null!=e&&"object"==typeof e}(e)||"[object Object]"!=p(e))return!1;var t=h(e);if(null===t)return!0;var n=b.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&g.call(n)==y}(e))throw new Error("Actions must be plain objects. Use custom middleware for async actions.");if(void 0===e.type)throw new Error('Actions may not have an undefined "type" property. Have you misspelled a constant?');if(c)throw new Error("Reducers may not dispatch actions.");try{c=!0,i=r(i,e)}finally{c=!1}for(var t=a=s,n=0;n<t.length;n++)(0,t[n])();return e}return f({type:_}),(o={dispatch:f,subscribe:d,getState:u,replaceReducer:function(e){if("function"!=typeof e)throw new Error("Expected the nextReducer to be a function.");r=e,f({type:_})}})[v.a]=function(){var e,t=d;return(e={subscribe:function(e){if("object"!=typeof e)throw new TypeError("Expected the observer to be an object.");function n(){e.next&&e.next(u())}return n(),{unsubscribe:t(n)}}})[v.a]=function(){return this},e},o}function C(e,t){var n=t&&t.type;return"Given action "+(n&&'"'+n.toString()+'"'||"an action")+', reducer "'+e+'" returned undefined. To ignore an action, you must explicitly return the previous state. If you want this reducer to hold no value, you can return null instead of undefined.'}function x(e){for(var t=Object.keys(e),n={},o=0;o<t.length;o++){var r=t[o];"function"==typeof e[r]&&(n[r]=e[r])}var i=Object.keys(n),a=void 0;try{!function(e){Object.keys(e).forEach((function(t){var n=e[t];if(void 0===n(void 0,{type:_}))throw new Error('Reducer "'+t+"\" returned undefined during initialization. If the state passed to the reducer is undefined, you must explicitly return the initial state. The initial state may not be undefined. If you don't want to set a value for this reducer, you can use null instead of undefined.");if(void 0===n(void 0,{type:"@@redux/PROBE_UNKNOWN_ACTION_"+Math.random().toString(36).substring(7).split("").join(".")}))throw new Error('Reducer "'+t+"\" returned undefined when probed with a random type. Don't try to handle "+_+' or other actions in "redux/*" namespace. They are considered private. Instead, you must return the current state for any unknown actions, unless it is undefined, in which case you must return the initial state, regardless of the action type. The initial state may not be undefined, but can be null.')}))}(n)}catch(e){a=e}return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments[1];if(a)throw a;for(var o=!1,r={},s=0;s<i.length;s++){var c=i[s],l=n[c],u=e[c],d=l(u,t);if(void 0===d){var p=C(c,t);throw new Error(p)}r[c]=d,o=o||d!==u}return o?r:e}}function w(e,t){return function(){return t(e.apply(void 0,arguments))}}function T(e,t){if("function"==typeof e)return w(e,t);if("object"!=typeof e||null===e)throw new Error("bindActionCreators expected an object or a function, instead received "+(null===e?"null":typeof e)+'. Did you write "import ActionCreators from" instead of "import * as ActionCreators from"?');for(var n=Object.keys(e),o={},r=0;r<n.length;r++){var i=n[r],a=e[i];"function"==typeof a&&(o[i]=w(a,t))}return o}function k(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return 0===t.length?function(e){return e}:1===t.length?t[0]:t.reduce((function(e,t){return function(){return e(t.apply(void 0,arguments))}}))}var I=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e};function O(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){return function(n,o,r){var i,a=e(n,o,r),s=a.dispatch,c={getState:a.getState,dispatch:function(e){return s(e)}};return i=t.map((function(e){return e(c)})),s=k.apply(void 0,i)(a.dispatch),I({},a,{dispatch:s})}}}n.d(t,"createStore",(function(){return S})),n.d(t,"combineReducers",(function(){return x})),n.d(t,"bindActionCreators",(function(){return T})),n.d(t,"applyMiddleware",(function(){return O})),n.d(t,"compose",(function(){return k}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return r}));var o="data-portal-element";function r(e){e.setAttribute(o,"true")}},function(e,t,n){"use strict";var o=n(81),r={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function c(e){return o.isMemo(e)?a:s[e.$$typeof]||r}s[o.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[o.Memo]=a;var l=Object.defineProperty,u=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,h=Object.getPrototypeOf,f=Object.prototype;e.exports=function e(t,n,o){if("string"!=typeof n){if(f){var r=h(n);r&&r!==f&&e(t,r,o)}var a=u(n);d&&(a=a.concat(d(n)));for(var s=c(t),m=c(n),g=0;g<a.length;++g){var b=a[g];if(!(i[b]||o&&o[b]||m&&m[b]||s&&s[b])){var y=p(n,b);try{l(t,b,y)}catch(e){}}}}return t}},function(e,t,n){"use strict";(function(e,o){var r,i=n(134);r="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==e?e:o;var a=Object(i.a)(r);t.a=a}).call(this,n(69),n(145)(e))},,function(e,t,n){"use strict";var o=this&&this.__createBinding||(Object.create?function(e,t,n,o){void 0===o&&(o=n),Object.defineProperty(e,o,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,o){void 0===o&&(o=n),e[o]=t[n]}),r=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||t.hasOwnProperty(n)||o(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),r(n(88),t);var i=n(141);Object.defineProperty(t,"IntentGraph",{enumerable:!0,get:function(){return i.IntentGraph}}),r(n(14),t),r(n(177),t),r(n(179),t),r(n(136),t)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.initializeRuntimeStatic=void 0;var o=n(89);t.initializeRuntimeStatic=function(e){var t=o.createStaticDataSource(e);o.setDataSource(o.RuntimeDataSources.Static,t)}},function(e,t,n){"use strict";var o=this&&this.__createBinding||(Object.create?function(e,t,n,o){void 0===o&&(o=n),Object.defineProperty(e,o,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,o){void 0===o&&(o=n),e[o]=t[n]}),r=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||t.hasOwnProperty(n)||o(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),r(n(68),t),r(n(90),t),r(n(91),t),r(n(140),t)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.tryGetDataSource=t.getDataSource=t.setDataSource=void 0;var o=n(91),r={},i=o.createStaticDataSource({});t.setDataSource=function(e,t){r[e]=t},t.getDataSource=function(e){if(!r.hasOwnProperty(e))throw new Error("dataSource not set yet");return r[e]},t.tryGetDataSource=function(e){return r.hasOwnProperty(e)?r[e]:i}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createStaticDataSource=void 0,t.createStaticDataSource=function(e){return{register:function(){return e},unregister:function(){}}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));var o=n(1),r=n(0),i=n(201),a=n(47),s=["theme","styles"];function c(e,t,n,c,l){var u=(c=c||{scope:"",fields:void 0}).scope,d=c.fields,p=void 0===d?s:d,h=r.forwardRef((function(s,c){var l=r.useRef(),d=Object(a.a)(p,u),h=d.styles,f=(d.dir,Object(o.d)(d,["styles","dir"])),m=n?n(s):void 0,g=l.current&&l.current.__cachedInputs__||[];if(!l.current||h!==g[1]||s.styles!==g[2]){var b=function(e){return Object(i.a)(e,t,h,s.styles)};b.__cachedInputs__=[t,h,s.styles],b.__noStyleOverride__=!h&&!s.styles,l.current=b}return r.createElement(e,Object(o.a)({ref:c},f,m,s,{styles:l.current}))}));return h.displayName="Styled"+(e.displayName||e.name),l?r.memo(h):h}},function(e,t,n){"use strict";n.d(t,"a",(function(){return u}));var o=n(13),r=n(202),i=n(59),a=n(4),s=0,c=o.b.getInstance();c&&c.onReset&&c.onReset((function(){return s++}));var l="__retval__";function u(e){void 0===e&&(e={});var t=new Map,n=0,o=0,c=s;return function(u,d){var h,f;if(void 0===d&&(d={}),e.useStaticStyles&&"function"==typeof u&&u.__noStyleOverride__)return u(d);o++;var m=t,g=d.theme,b=g&&void 0!==g.rtl?g.rtl:Object(i.a)(),y=e.disableCaching;return c!==s&&(c=s,t=new Map,n=0),e.disableCaching||(m=p(t,u),m=p(m,d)),!y&&m[l]||(m[l]=void 0===u?{}:Object(r.a)(["function"==typeof u?u(d):u],{rtl:!!b,specificityMultiplier:e.useStaticStyles?5:void 0}),y||n++),n>(e.cacheSize||50)&&((null===(f=null===(h=Object(a.a)())||void 0===h?void 0:h.FabricConfig)||void 0===f?void 0:f.enableClassNameCacheFullWarning)&&(console.warn("Styles are being recalculated too frequently. Cache miss rate is "+n+"/"+o+"."),console.trace()),t.clear(),n=0,e.disableCaching=!0),m[l]}}function d(e,t){return t=function(e){switch(e){case void 0:return"__undefined__";case null:return"__null__";default:return e}}(t),e.has(t)||e.set(t,new Map),e.get(t)}function p(e,t){if("function"==typeof t)if(t.__cachedInputs__)for(var n=0,o=t.__cachedInputs__;n<o.length;n++)e=d(e,o[n]);else e=d(e,t);else if("object"==typeof t)for(var r in t)t.hasOwnProperty(r)&&(e=d(e,t[r]));return e}},function(e,t,n){"use strict";function o(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];for(var o=0,i=t;o<i.length;o++){var a=i[o];r(e||{},a)}return e}function r(e,t,n){for(var o in void 0===n&&(n=[]),n.push(t),t)if(t.hasOwnProperty(o)&&"__proto__"!==o&&"constructor"!==o&&"prototype"!==o){var i=t[o];if("object"==typeof i&&null!==i){var a=n.indexOf(i)>-1;e[o]=a?i:r(e[o]||{},i,n)}else e[o]=i}return n.pop(),e}n.d(t,"a",(function(){return o}))},function(e,t,n){"use strict";function o(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=[],o=0,r=e;o<r.length;o++){var i=r[o];if(i)if("string"==typeof i)n.push(i);else if(i.hasOwnProperty("toString")&&"function"==typeof i.toString)n.push(i.toString());else for(var a in i)i[a]&&n.push(a)}return n.join(" ")}n.d(t,"a",(function(){return o}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var o=/\([^)]*\)|[\0-\u001F\!-/:-@\[-`\{-\u00BF\u0250-\u036F\uD800-\uFFFF]/g,r=/^\d+[\d\s]*(:?ext|x|)\s*\d+$/i,i=/\s+/g,a=/[\u0600-\u06FF\u0750-\u077F\u08A0-\u08FF\u1100-\u11FF\u3130-\u318F\uA960-\uA97F\uAC00-\uD7AF\uD7B0-\uD7FF\u3040-\u309F\u30A0-\u30FF\u3400-\u4DBF\u4E00-\u9FFF\uF900-\uFAFF]|[\uD840-\uD869][\uDC00-\uDED6]/;function s(e,t,n){return e?(e=function(e){return(e=(e=e.replace(o,"")).replace(i," ")).trim()}(e),a.test(e)||!n&&r.test(e)?"":function(e,t){var n="",o=e.split(" ");return 2===o.length?(n+=o[0].charAt(0).toUpperCase(),n+=o[1].charAt(0).toUpperCase()):3===o.length?(n+=o[0].charAt(0).toUpperCase(),n+=o[2].charAt(0).toUpperCase()):0!==o.length&&(n+=o[0].charAt(0).toUpperCase()),t&&n.length>1?n.charAt(1)+n.charAt(0):n}(e,t)):""}},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var o=function(){return!("undefined"==typeof window||!window.navigator||!window.navigator.userAgent)&&window.navigator.userAgent.indexOf("rv:11.0")>-1}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var o=n(30);function r(e){Object(o.a)(e,{componentDidMount:i,componentDidUpdate:a,componentWillUnmount:s})}function i(){c(this.props.componentRef,this)}function a(e){e.componentRef!==this.props.componentRef&&(c(e.componentRef,null),c(this.props.componentRef,this))}function s(){c(this.props.componentRef,null)}function c(e,t){e&&("object"==typeof e?e.current=t:"function"==typeof e&&e(t))}},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var o=n(1),r=n(0),i=function(e){function t(t){var n=e.call(this,t)||this;return n.state={isRendered:!1},n}return Object(o.c)(t,e),t.prototype.componentDidMount=function(){var e=this,t=this.props.delay;this._timeoutId=window.setTimeout((function(){e.setState({isRendered:!0})}),t)},t.prototype.componentWillUnmount=function(){this._timeoutId&&clearTimeout(this._timeoutId)},t.prototype.render=function(){return this.state.isRendered?r.Children.only(this.props.children):null},t.defaultProps={delay:0},t}(r.Component)},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var o,r=n(4);function i(e){if(void 0===o||e){var t=Object(r.a)(),n=t&&t.navigator.userAgent;o=!!n&&-1!==n.indexOf("Macintosh")}return!!o}},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var o=function(){return!!(window&&window.navigator&&window.navigator.userAgent)&&/iPad|iPhone|iPod/i.test(window.navigator.userAgent)}},function(e,t,n){"use strict";n.d(t,"e",(function(){return c})),n.d(t,"h",(function(){return l})),n.d(t,"f",(function(){return u})),n.d(t,"i",(function(){return d})),n.d(t,"c",(function(){return p})),n.d(t,"k",(function(){return h})),n.d(t,"j",(function(){return f})),n.d(t,"o",(function(){return m})),n.d(t,"n",(function(){return g})),n.d(t,"m",(function(){return b})),n.d(t,"l",(function(){return y})),n.d(t,"a",(function(){return v})),n.d(t,"p",(function(){return _})),n.d(t,"b",(function(){return C})),n.d(t,"g",(function(){return x})),n.d(t,"d",(function(){return w}));var o=n(133),r=n(131),i=n(40),a=n(4),s=n(12);function c(e,t,n){return f(e,t,!0,!1,!1,n)}function l(e,t,n){return h(e,t,!0,!1,!0,n)}function u(e,t,n,o){return void 0===o&&(o=!0),f(e,t,o,!1,!1,n,!1,!0)}function d(e,t,n,o){return void 0===o&&(o=!0),h(e,t,o,!1,!0,n,!1,!0)}function p(e){var t=f(e,e,!0,!1,!1,!0);return!!t&&(C(t),!0)}function h(e,t,n,o,r,i,a,s){if(!t||!a&&t===e)return null;var c=m(t);if(r&&c&&(i||!b(t)&&!y(t))){var l=h(e,t.lastElementChild,!0,!0,!0,i,a,s);if(l){if(s&&g(l,!0)||!s)return l;var u=h(e,l.previousElementSibling,!0,!0,!0,i,a,s);if(u)return u;for(var d=l.parentElement;d&&d!==t;){var p=h(e,d.previousElementSibling,!0,!0,!0,i,a,s);if(p)return p;d=d.parentElement}}}return n&&c&&g(t,s)?t:h(e,t.previousElementSibling,!0,!0,!0,i,a,s)||(o?null:h(e,t.parentElement,!0,!1,!1,i,a,s))}function f(e,t,n,o,r,i,a,s){if(!t||t===e&&r&&!a)return null;var c=m(t);if(n&&c&&g(t,s))return t;if(!r&&c&&(i||!b(t)&&!y(t))){var l=f(e,t.firstElementChild,!0,!0,!1,i,a,s);if(l)return l}return t===e?null:f(e,t.nextElementSibling,!0,!0,!1,i,a,s)||(o?null:f(e,t.parentElement,!1,!1,!0,i,a,s))}function m(e){if(!e||!e.getAttribute)return!1;var t=e.getAttribute("data-is-visible");return null!=t?"true"===t:0!==e.offsetHeight||null!==e.offsetParent||!0===e.isVisible}function g(e,t){if(!e||e.disabled)return!1;var n=0,o=null;e&&e.getAttribute&&(o=e.getAttribute("tabIndex"))&&(n=parseInt(o,10));var r=e.getAttribute?e.getAttribute("data-is-focusable"):null,i=null!==o&&n>=0,a=!!e&&"false"!==r&&("A"===e.tagName||"BUTTON"===e.tagName||"INPUT"===e.tagName||"TEXTAREA"===e.tagName||"SELECT"===e.tagName||"true"===r||i);return t?-1!==n&&a:a}function b(e){return!!(e&&e.getAttribute&&e.getAttribute("data-focuszone-id"))}function y(e){return!(!e||!e.getAttribute||"true"!==e.getAttribute("data-is-sub-focuszone"))}function v(e){var t=Object(s.a)(e),n=t&&t.activeElement;return!(!n||!Object(r.a)(e,n))}function _(e,t){return"true"!==Object(o.a)(e,t)}var S=void 0;function C(e){if(e){if(S)return void(S=e);S=e;var t=Object(a.a)(e);t&&t.requestAnimationFrame((function(){S&&S.focus(),S=void 0}))}}function x(e,t){for(var n=e,o=0,r=t;o<r.length;o++){var i=r[o],a=n.children[Math.min(i,n.children.length-1)];if(!a)break;n=a}return g(n)&&m(n)?n:f(e,n,!0)||h(e,n)}function w(e,t){for(var n=[];t&&e&&t!==e;){var o=Object(i.a)(t,!0);if(null===o)return[];n.unshift(Array.prototype.indexOf.call(o.children,t)),t=o}return n}},function(e,t,n){"use strict";n.d(t,"a",(function(){return s})),n.d(t,"b",(function(){return c}));var o=n(4),r=n(13),i=Object(o.a)()||{};void 0===i.__currentId__&&(i.__currentId__=0);var a=!1;function s(e){if(!a){var t=r.b.getInstance();t&&t.onReset&&t.onReset(c),a=!0}return(e||"id__")+i.__currentId__++}function c(e){void 0===e&&(e=0),i.__currentId__=e}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return i}));var o=["setState","render","componentWillMount","UNSAFE_componentWillMount","componentDidMount","componentWillReceiveProps","UNSAFE_componentWillReceiveProps","shouldComponentUpdate","componentWillUpdate","getSnapshotBeforeUpdate","UNSAFE_componentWillUpdate","componentDidUpdate","componentWillUnmount"];function r(e,t,n){void 0===n&&(n=o);var r=[],i=function(o){"function"!=typeof t[o]||void 0!==e[o]||n&&-1!==n.indexOf(o)||(r.push(o),e[o]=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];t[o].apply(t,e)})};for(var a in t)i(a);return r}function i(e,t){t.forEach((function(t){return delete e[t]}))}},function(e,t,n){"use strict";function o(e,t,n,o){return e.addEventListener(t,n,o),function(){return e.removeEventListener(t,n,o)}}n.d(t,"a",(function(){return o}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var o=function(){function e(e,t,n,o){void 0===e&&(e=0),void 0===t&&(t=0),void 0===n&&(n=0),void 0===o&&(o=0),this.top=n,this.bottom=o,this.left=e,this.right=t}return Object.defineProperty(e.prototype,"width",{get:function(){return this.right-this.left},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"height",{get:function(){return this.bottom-this.top},enumerable:!0,configurable:!0}),e.prototype.equals=function(e){return parseFloat(this.top.toFixed(4))===parseFloat(e.top.toFixed(4))&&parseFloat(this.bottom.toFixed(4))===parseFloat(e.bottom.toFixed(4))&&parseFloat(this.left.toFixed(4))===parseFloat(e.left.toFixed(4))&&parseFloat(this.right.toFixed(4))===parseFloat(e.right.toFixed(4))},e}()},function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));var o=n(1),r=n(0),i=n(15),a=n(27),s=n(54),c=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._onCustomizationChange=function(){return t.forceUpdate()},t}return Object(o.c)(t,e),t.prototype.componentDidMount=function(){i.a.observe(this._onCustomizationChange)},t.prototype.componentWillUnmount=function(){i.a.unobserve(this._onCustomizationChange)},t.prototype.render=function(){var e=this,t=this.props.contextTransform;return r.createElement(a.a.Consumer,null,(function(n){var o=Object(s.a)(e.props,n);return t&&(o=t(o)),r.createElement(a.a.Provider,{value:o},e.props.children)}))},t}(r.Component)},function(e,t,n){"use strict";n.d(t,"b",(function(){return l})),n.d(t,"a",(function(){return u}));var o=n(0),r=n(4),i=n(39),a=n(21),s=new WeakMap;function c(e,t){var n,o=s.get(e);return n=o?o+t:1,s.set(e,n),n}function l(e){o.useEffect((function(){var t,n,o=Object(r.a)(null===(t=e)||void 0===t?void 0:t.current);if(o&&!0!==(null===(n=o.FabricConfig)||void 0===n?void 0:n.disableFocusRects)){var i=c(o,1);return i<=1&&(o.addEventListener("mousedown",d,!0),o.addEventListener("pointerdown",p,!0),o.addEventListener("keydown",h,!0)),function(){var e;o&&!0!==(null===(e=o.FabricConfig)||void 0===e?void 0:e.disableFocusRects)&&0===(i=c(o,-1))&&(o.removeEventListener("mousedown",d,!0),o.removeEventListener("pointerdown",p,!0),o.removeEventListener("keydown",h,!0))}}}),[e])}var u=function(e){return l(e.rootRef),null};function d(e){Object(a.b)(!1,e.target)}function p(e){"mouse"!==e.pointerType&&Object(a.b)(!1,e.target)}function h(e){Object(i.b)(e.which)&&Object(a.b)(!0,e.target)}},function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var o=n(1),r=n(0),i=n(15),a=n(52),s=n(27),c=n(43);function l(e,t,n){return function(l){var u,d=((u=function(a){function u(e){var t=a.call(this,e)||this;return t._styleCache={},t._onSettingChanged=t._onSettingChanged.bind(t),t}return Object(o.c)(u,a),u.prototype.componentDidMount=function(){i.a.observe(this._onSettingChanged)},u.prototype.componentWillUnmount=function(){i.a.unobserve(this._onSettingChanged)},u.prototype.render=function(){var a=this;return r.createElement(s.a.Consumer,null,(function(s){var u=i.a.getSettings(t,e,s.customizations),d=a.props;if(u.styles&&"function"==typeof u.styles&&(u.styles=u.styles(Object(o.a)(Object(o.a)({},u),d))),n&&u.styles){if(a._styleCache.default!==u.styles||a._styleCache.component!==d.styles){var p=Object(c.a)(u.styles,d.styles);a._styleCache.default=u.styles,a._styleCache.component=d.styles,a._styleCache.merged=p}return r.createElement(l,Object(o.a)({},u,d,{styles:a._styleCache.merged}))}return r.createElement(l,Object(o.a)({},u,d))}))},u.prototype._onSettingChanged=function(){this.forceUpdate()},u}(r.Component)).displayName="Customized"+e,u);return Object(a.a)(l,d)}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var o=n(55),r=function(e){return function(t){for(var n=0,o=e.refs;n<o.length;n++){var r=o[n];"function"==typeof r?r(t):r&&(r.current=t)}}},i=function(e){var t={refs:[]};return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return t.resolver&&Object(o.b)(t.refs,e)||(t.resolver=r(t)),t.refs=e,t.resolver}}},function(e,t,n){"use strict";function o(e){var t=function(e){var t;return"function"==typeof Event?t=new Event(e):(t=document.createEvent("Event")).initEvent(e,!0,!0),t}("MouseEvents");t.initEvent("click",!0,!0),e.dispatchEvent(t)}n.d(t,"a",(function(){return o}))},function(e,t,n){"use strict";function o(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=e.filter((function(e){return e})).join(" ").trim();return""===n?void 0:n}n.d(t,"a",(function(){return o}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return u})),n.d(t,"b",(function(){return p}));var o=n(1),r=n(0),i=n(50),a=n(31),s=n(56),c=n(57),l=n(51),u=function(e){function t(n,o){var r=e.call(this,n,o)||this;return function(e,t,n){for(var o=0,r=n.length;o<r;o++)d(e,t,n[o])}(r,t.prototype,["componentDidMount","shouldComponentUpdate","getSnapshotBeforeUpdate","render","componentDidUpdate","componentWillUnmount"]),r}return Object(o.c)(t,e),t.prototype.componentDidUpdate=function(e,t){this._updateComponentRef(e,this.props)},t.prototype.componentDidMount=function(){this._setComponentRef(this.props.componentRef,this)},t.prototype.componentWillUnmount=function(){if(this._setComponentRef(this.props.componentRef,null),this.__disposables){for(var e=0,t=this._disposables.length;e<t;e++){var n=this.__disposables[e];n.dispose&&n.dispose()}this.__disposables=null}},Object.defineProperty(t.prototype,"className",{get:function(){if(!this.__className){var e=/function (.{1,})\(/.exec(this.constructor.toString());this.__className=e&&e.length>1?e[1]:""}return this.__className},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_disposables",{get:function(){return this.__disposables||(this.__disposables=[]),this.__disposables},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_async",{get:function(){return this.__async||(this.__async=new i.a(this),this._disposables.push(this.__async)),this.__async},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_events",{get:function(){return this.__events||(this.__events=new a.a(this),this._disposables.push(this.__events)),this.__events},enumerable:!0,configurable:!0}),t.prototype._resolveRef=function(e){var t=this;return this.__resolves||(this.__resolves={}),this.__resolves[e]||(this.__resolves[e]=function(n){return t[e]=n}),this.__resolves[e]},t.prototype._updateComponentRef=function(e,t){void 0===t&&(t={}),e&&t&&e.componentRef!==t.componentRef&&(this._setComponentRef(e.componentRef,null),this._setComponentRef(t.componentRef,this))},t.prototype._warnDeprecations=function(e){Object(l.a)(this.className,this.props,e)},t.prototype._warnMutuallyExclusive=function(e){Object(c.a)(this.className,this.props,e)},t.prototype._warnConditionallyRequiredProps=function(e,t,n){Object(s.a)(this.className,this.props,e,t,n)},t.prototype._setComponentRef=function(e,t){!this._skipComponentRefResolution&&e&&("function"==typeof e&&e(t),"object"==typeof e&&(e.current=t))},t}(r.Component);function d(e,t,n){var o=e[n],r=t[n];(o||r)&&(e[n]=function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return r&&(e=r.apply(this,t)),o!==r&&(e=o.apply(this,t)),e})}function p(){return null}},function(e,t,n){"use strict";function o(e){return e.clientWidth<e.scrollWidth}function r(e){return e.clientHeight<e.scrollHeight}function i(e){return o(e)||r(e)}n.d(t,"a",(function(){return o})),n.d(t,"c",(function(){return r})),n.d(t,"b",(function(){return i}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var o=/[\{\}]/g,r=/\{\d+\}/g;function i(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var i=t;function a(e){var t=i[e.replace(o,"")];return null==t&&(t=""),t}return e.replace(r,a)}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var o=n(12);function r(e){for(var t,n=[],r=Object(o.a)(e)||document;e!==r.body;){for(var i=0,a=e.parentElement.children;i<a.length;i++){var s=a[i];s!==e&&"true"!==(null===(t=s.getAttribute("aria-hidden"))||void 0===t?void 0:t.toLowerCase())&&n.push(s)}if(!e.parentElement)break;e=e.parentElement}return n.forEach((function(e){e.setAttribute("aria-hidden","true")})),function(){!function(e){e.forEach((function(e){e.setAttribute("aria-hidden","false")}))}(n),n=[]}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var o=n(23),r=Object(o.a)((function(e){return Object(o.a)((function(t){var n=Object(o.a)((function(e){return function(n){return t(n,e)}}));return function(o,r){return e(o,r?n(r):t)}}))}));function i(e,t){return r(e)(t)}},function(e,t,n){"use strict";function o(){}function r(e){}n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return r}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var o=n(1),r=n(0),i=n(23),a=Object(i.a)((function(e){var t=e;return Object(i.a)((function(n){if(e===n)throw new Error("Attempted to compose a component with itself.");var a=n,s=Object(i.a)((function(e){return function(t){return r.createElement(a,Object(o.a)({},t,{defaultRender:e}))}}));return function(e){var n=e.defaultRender;return r.createElement(t,Object(o.a)({},e,{defaultRender:n?s(n):a}))}}))}));function s(e,t){return a(e)(t)}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var o=n(30),r=function(e){var t;return function(n){t||(t=new Set,Object(o.a)(e,{componentWillUnmount:function(){t.forEach((function(e){return cancelAnimationFrame(e)}))}}));var r=requestAnimationFrame((function(){t.delete(r),n()}));t.add(r)}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var o=n(31),r=n(53),i=n(58),a=function(){function e(e){this._events=new o.a(this),this._scrollableParent=Object(r.f)(e),this._incrementScroll=this._incrementScroll.bind(this),this._scrollRect=Object(i.a)(this._scrollableParent),this._scrollableParent===window&&(this._scrollableParent=document.body),this._scrollableParent&&(this._events.on(window,"mousemove",this._onMouseMove,!0),this._events.on(window,"touchmove",this._onTouchMove,!0))}return e.prototype.dispose=function(){this._events.dispose(),this._stopScroll()},e.prototype._onMouseMove=function(e){this._computeScrollVelocity(e)},e.prototype._onTouchMove=function(e){e.touches.length>0&&this._computeScrollVelocity(e)},e.prototype._computeScrollVelocity=function(e){if(this._scrollRect){var t,n;"clientX"in e?(t=e.clientX,n=e.clientY):(t=e.touches[0].clientX,n=e.touches[0].clientY);var o,r,i,a=this._scrollRect.top,s=this._scrollRect.left,c=a+this._scrollRect.height-100,l=s+this._scrollRect.width-100;n<a+100||n>c?(r=n,o=a,i=c,this._isVerticalScroll=!0):(r=t,o=s,i=l,this._isVerticalScroll=!1),this._scrollVelocity=r<o+100?Math.max(-15,(100-(r-o))/100*-15):r>i?Math.min(15,(r-i)/100*15):0,this._scrollVelocity?this._startScroll():this._stopScroll()}},e.prototype._startScroll=function(){this._timeoutId||this._incrementScroll()},e.prototype._incrementScroll=function(){this._scrollableParent&&(this._isVerticalScroll?this._scrollableParent.scrollTop+=Math.round(this._scrollVelocity):this._scrollableParent.scrollLeft+=Math.round(this._scrollVelocity)),this._timeoutId=setTimeout(this._incrementScroll,16)},e.prototype._stopScroll=function(){this._timeoutId&&(clearTimeout(this._timeoutId),delete this._timeoutId)},e}()},function(e,t,n){"use strict";function o(e,t){var n=e.left||e.x||0,o=e.top||e.y||0,r=t.left||t.x||0,i=t.top||t.y||0;return Math.sqrt(Math.pow(n-r,2)+Math.pow(o-i,2))}function r(e){var t,n=e.contentSize,o=e.boundsSize,r=e.mode,i=void 0===r?"contain":r,a=e.maxScale,s=void 0===a?1:a,c=n.width/n.height,l=o.width/o.height;t=("contain"===i?c>l:c<l)?o.width/n.width:o.height/n.height;var u=Math.min(s,t);return{width:n.width*u,height:n.height*u}}function i(e){var t=/[1-9]([0]+$)|\.([0-9]*)/.exec(String(e));return t?t[1]?-t[1].length:t[2]?t[2].length:0:0}function a(e,t,n){void 0===n&&(n=10);var o=Math.pow(n,t);return Math.round(e*o)/o}n.d(t,"c",(function(){return o})),n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return i})),n.d(t,"d",(function(){return a}))},function(e,t,n){"use strict";function o(e){return{factory:function(){return{}},props:e}}function r(e){if(e)throw new Error(e)}function i(e,t){if(!e)throw new Error("[serializr] "+(t||"Illegal State"))}function a(e,t,n){if(0!==e.length){var o=e.length,r=[],i=!1,a=function(e,t,a){t?i||(i=!0,n(t)):(r[e]=a,0==--o&&n(null,r))};e.forEach((function(e,n){t(e,a.bind(null,n))}))}else n(null,[])}function s(e){return null===e||"object"!=typeof e&&"function"!=typeof e}function c(e){return e&&e.factory&&e.props}function l(e){return e&&e.serializer&&e.deserializer}function u(e){return"object"==typeof e&&!!e.jsonname}function d(e){return"object"==typeof e&&!0===e.identifier}function p(e,t){for(;e;){if(e===t)return!0;e=e.extends}return!1}function h(e){return e&&"function"==typeof e.keys&&"function"==typeof e.clear}function f(e){return e?c(e)?e:c(e.serializeInfo)?e.serializeInfo:e.constructor&&e.constructor.serializeInfo?e.constructor.serializeInfo:void 0:null}function m(e,t){return i(c(t)),e.serializeInfo=t}function g(e,t,n){i(e!==Object,"one cannot simply put define a model schema for Object"),i("function"==typeof e,"expected constructor function");var o={targetClass:e,factory:n||function(){return new e},props:t};if(e.prototype.constructor!==Object){var r=f(e.prototype.constructor);r&&r.targetClass!==e&&(o.extends=r)}return m(e,o),o}function b(){return{serializer:function(e){return i(s(e),"this value is not primitive: "+e),e},deserializer:function(e,t){s(e)?t(null,e):t("[serializr] this value is not primitive: "+e)}}}n.r(t),n.d(t,"createSimpleSchema",(function(){return o})),n.d(t,"createModelSchema",(function(){return g})),n.d(t,"getDefaultModelSchema",(function(){return f})),n.d(t,"setDefaultModelSchema",(function(){return m})),n.d(t,"serializable",(function(){return w})),n.d(t,"serialize",(function(){return T})),n.d(t,"serializeAll",(function(){return I})),n.d(t,"deserialize",(function(){return N})),n.d(t,"update",(function(){return A})),n.d(t,"primitive",(function(){return b})),n.d(t,"identifier",(function(){return R})),n.d(t,"date",(function(){return M})),n.d(t,"alias",(function(){return F})),n.d(t,"custom",(function(){return j})),n.d(t,"object",(function(){return L})),n.d(t,"reference",(function(){return H})),n.d(t,"list",(function(){return B})),n.d(t,"map",(function(){return z})),n.d(t,"mapAsArray",(function(){return U})),n.d(t,"raw",(function(){return V})),n.d(t,"SKIP",(function(){return y})),n.d(t,"child",(function(){return L})),n.d(t,"ref",(function(){return H}));var y="undefined"!=typeof Symbol?Symbol("SKIP"):{SKIP:!0},v=b(),_=/((\/\/.*$)|(\/\*[\s\S]*?\*\/))/gm,S=/([^\s,]+)/g;function C(e){var t=e.toString().replace(_,""),n=t.slice(t.indexOf("(")+1,t.indexOf(")")).match(S);return null===n&&(n=[]),n}function x(e,t,n,o){var r;if(i(arguments.length>=2,"too few arguments. Please use @serializable as property decorator"),void 0===n&&"function"==typeof t&&t.prototype&&void 0!==o&&"number"==typeof o){i(l(e),"Constructor params must use alias(name)"),i(e.jsonname,"Constructor params must use alias(name)");var a=C(t);a.length>=o&&(n=a[o],e.paramNumber=o,o=void 0,t=t.prototype,r=function(e){for(var n=[],o=0;o<t.constructor.length;o++)Object.keys(e.modelSchema.props).forEach((function(t){var r=e.modelSchema.props[t];r.paramNumber===o&&(n[o]=e.json[r.jsonname])}));return new(Function.prototype.bind.apply(t.constructor,[null].concat(n)))})}i("string"==typeof n,"incorrect usage of @serializable decorator");var s=f(t);return s&&t.constructor.hasOwnProperty("serializeInfo")||(s=g(t.constructor,{},r)),s&&s.targetClass!==t.constructor&&(s=g(t.constructor,{},r)),s.props[n]=e,!o||o.get||o.set||(o.writable=!0),o}function w(e,t,n){if(1===arguments.length){var o=!0===e?v:e;return i(l(o),"@serializable expects prop schema"),x.bind(null,o)}return x(b(),e,t,n)}function T(e,t){i(1===arguments.length||2===arguments.length,"serialize expects one or 2 arguments");var n=1===arguments.length?e:t,o=1===arguments.length?null:e;if(Array.isArray(n)){if(0===n.length)return[];o||(o=f(n[0]))}else o||(o=f(n));return i(!!o,"Failed to find default schema for "+e),Array.isArray(n)?n.map((function(e){return k(o,e)})):k(o,n)}function k(e,t){var n;return i(e&&"object"==typeof e,"Expected schema"),i(t&&"object"==typeof t,"Expected object"),n=e.extends?k(e.extends,t):{},Object.keys(e.props).forEach((function(o){var r=e.props[o];if("*"===o)return i(!0===r,"prop schema '*' can onle be used with 'true'"),void function(e,t,n){for(var o in t)if(t.hasOwnProperty(o)&&!(o in e.props)){var r=t[o];s(r)&&(n[o]=r)}}(e,t,n);if(!0===r&&(r=v),!1!==r){var a=r.serializer(t[o],o,t);a!==y&&(n[r.jsonname||o]=a)}})),n}function I(e){i(1===arguments.length&&"function"==typeof e,"@serializeAll can only be used as class decorator");var t=f(e);return t&&e.hasOwnProperty("serializeInfo")||m(e,t=g(e,{})),f(e).props["*"]=!0,e}function O(e,t,n,o,i){this.parentContext=e,this.isRoot=!e,this.pendingCallbacks=0,this.pendingRefsCount=0,this.onReadyCb=o||r,this.json=n,this.target=null,this.hasError=!1,this.modelSchema=t,this.isRoot?(this.rootContext=this,this.args=i,this.pendingRefs={},this.resolvedRefs={}):(this.rootContext=e.rootContext,this.args=e.args)}function E(e,t){for(var n in e.props)if("object"==typeof e.props[n]&&e.props[n].jsonname===t)return!0;return!1}function N(e,t,n,o){if(i(arguments.length>=2,"deserialize expects at least 2 arguments"),i(c(e=f(e)),"first argument should be model schema"),Array.isArray(t)){var s=[];return a(t,(function(t,n){var r=P(null,e,t,n,o);s.push(r)}),n||r),s}return P(null,e,t,n,o)}function P(e,t,n,o,a){if(null!=n){var s=new O(e,t,n,o,a),c=t.factory(s);i(!!c,"No object returned from factory"),s.target=c;var l=s.createCallback(r);return D(s,t,n,c),l(),c}o(null,null)}function D(e,t,n,o){t.extends&&D(e,t.extends,n,o),Object.keys(t.props).forEach((function(r){var a=t.props[r];if("*"===r)return i(!0===a,"prop schema '*' can onle be used with 'true'"),void function(e,t,n){for(var o in n)if(!(o in e.props)&&!E(e,o)){var r=n[o];i(s(r),"encountered non primitive value while deserializing '*' properties in property '"+o+"': "+r),t[o]=r}}(t,o,n);if(!0===a&&(a=v),!1!==a){var c=a.jsonname||r;c in n&&a.deserializer(n[c],e.rootContext.createCallback((function(e){e!==y&&(o[r]=e)})),e,o[r])}}))}function A(e,t,n,o,a){var s=2===arguments.length||"function"==typeof arguments[2];s?(e=f(t=arguments[0]),n=arguments[1],o=arguments[2],a=arguments[3]):e=f(e),i(c(e),"update failed to determine schema"),i("object"==typeof t&&t&&!Array.isArray(t),"update needs an object");var l=new O(null,e,n,o,a);l.target=t;var u=l.createCallback(r);D(l,e,n,t),u()}function R(e){return i(!e||"function"==typeof e,"First argument should be omitted or function"),{identifier:!0,serializer:v.serializer,deserializer:function(t,n,o){v.deserializer(t,(function(t,r){!function(e,t,n){n.rootContext.resolve(n.modelSchema,e,n.target)}(r,o.target,o),e&&e(r,o.target,o),n(t,r)}))}}}function M(){return{serializer:function(e){return null==e?e:(i(e instanceof Date,"Expected Date object"),e.getTime())},deserializer:function(e,t){t(null,null!=e?new Date(e):e)}}}function F(e,t){return i(e&&"string"==typeof e,"expected prop name as first argument"),i(l(t=t&&!0!==t?t:v),"expected prop schema as second argument"),i(!u(t),"provided prop is already aliased"),{jsonname:e,serializer:t.serializer,deserializer:t.deserializer,identifier:d(t)}}function j(e,t){return i("function"==typeof e,"first argument should be function"),i("function"==typeof t,"second argument should be a function or promise"),{serializer:e,deserializer:function(e,n,o,r){4===t.length?t(e,o,r,n):n(null,t(e,o,r))}}}function L(e){return i("object"==typeof e||"function"==typeof e,"No modelschema provided. If you are importing it from another file be aware of circular dependencies."),{serializer:function(t){return i(c(e=f(e)),"expected modelSchema, got "+e),null==t?t:T(e,t)},deserializer:function(t,n,o){i(c(e=f(e)),"expected modelSchema, got "+e),null!=t?P(o,e,t,n):n(null,t)}}}function H(e,t){i(!!e,"No modelschema provided. If you are importing it from another file be aware of circular dependencies.");var n,o=!1;function r(){if(o=!0,i("string"!=typeof e||t,"if the reference target is specified by attribute name, a lookup function is required"),i(!t||"function"==typeof t,"second argument should be a lookup function"),"string"==typeof e)n=e;else{var r=f(e);i(c(r),"expected model schema or string as first argument for 'ref', got "+r),t=t||function(e){return function(t,n,o){o.rootContext.await(e,t,n)}}(r),n=function(e){for(i(c(e));e;){for(var t in e.props)if("object"==typeof e.props[t]&&!0===e.props[t].identifier)return t;e=e.extends}return null}(r),i(!!n,"provided model schema doesn't define an identifier() property and cannot be used by 'ref'.")}}return{serializer:function(e){return o||r(),e?e[n]:null},deserializer:function(e,n,i){o||r(),null==e?n(null,e):t(e,n,i)}}}function B(e){return i(l(e=e||v),"expected prop schema as first argument"),i(!u(e),"provided prop is aliased, please put aliases first"),{serializer:function(t){return i(t&&"length"in t&&"map"in t,"expected array (like) object"),t.map(e.serializer)},deserializer:function(t,n,o){Array.isArray(t)?a(t,(function(t,n){return e.deserializer(t,n,o)}),n):n("[serializr] expected JSON array")}}}function z(e){return i(l(e=e||v),"expected prop schema as first argument"),i(!u(e),"provided prop is aliased, please put aliases first"),{serializer:function(t){i(t&&"object"==typeof t,"expected object or Map");var n=h(t),o={};if(n)t.forEach((function(t,n){o[n]=e.serializer(t)}));else for(var r in t)o[r]=e.serializer(t[r]);return o},deserializer:function(t,n,o,r){if(t&&"object"==typeof t){var i=Object.keys(t);B(e).deserializer(i.map((function(e){return t[e]})),(function(e,t){if(e)n(e);else{var o,a=h(r);a?(r.clear(),o=r):o={};for(var s=0,c=i.length;s<c;s++)a?o.set(i[s],t[s]):o[i[s]]=t[s];n(null,o)}}),o)}else n("[serializr] expected JSON object")}}}function U(e,t){return i(l(e=e||v),"expected prop schema as first argument"),i(!!t,"expected key property name as second argument"),{serializer:function(t){var n=[];return t.forEach((function(t,o){n.push(e.serializer(t))})),n},deserializer:function(n,o,r,i){B(e).deserializer(n,(function(e,r){if(e)o(e);else{var a,s=h(i);s?(i.clear(),a=i):a={};for(var c=0,l=n.length;c<l;c++)s?a.set(r[c][t],r[c]):a[r[c][t].toString()]=r[c];o(null,a)}}),r)}}}function V(){return{serializer:function(e){return e},deserializer:function(e,t){t(null,e)}}}O.prototype.createCallback=function(e){return this.pendingCallbacks++,function(e){var t=!1;return function(){if(!t)return t=!0,e.apply(null,arguments);i(!1,"callback was invoked twice")}}(function(t,n){t?this.hasError||(this.hasError=!0,this.onReadyCb(t)):this.hasError||(e(n),--this.pendingCallbacks===this.pendingRefsCount&&(this.pendingRefsCount>0?this.onReadyCb(new Error('Unresolvable references in json: "'+Object.keys(this.pendingRefs).filter((function(e){return this.pendingRefs[e].length>0}),this).join('", "')+'"')):this.onReadyCb(null,this.target)))}.bind(this))},O.prototype.await=function(e,t,n){if(i(this.isRoot),t in this.resolvedRefs){var o=this.resolvedRefs[t].filter((function(t){return p(t.modelSchema,e)}))[0];if(o)return void n(null,o.value)}this.pendingRefsCount++,this.pendingRefs[t]||(this.pendingRefs[t]=[]),this.pendingRefs[t].push({modelSchema:e,uuid:t,callback:n})},O.prototype.resolve=function(e,t,n){if(i(this.isRoot),this.resolvedRefs[t]||(this.resolvedRefs[t]=[]),this.resolvedRefs[t].push({modelSchema:e,value:n}),t in this.pendingRefs)for(var o=this.pendingRefs[t].length-1;o>=0;o--){var r=this.pendingRefs[t][o];p(e,r.modelSchema)&&(this.pendingRefs[t].splice(o,1),this.pendingRefsCount--,r.callback(null,n))}}},function(e,t,n){e.exports=function(){"use strict";var e=Array.prototype.slice;function t(e,t){t&&(e.prototype=Object.create(t.prototype)),e.prototype.constructor=e}function n(e){return a(e)?e:U(e)}function o(e){return s(e)?e:V(e)}function r(e){return c(e)?e:W(e)}function i(e){return a(e)&&!l(e)?e:q(e)}function a(e){return!(!e||!e[d])}function s(e){return!(!e||!e[p])}function c(e){return!(!e||!e[h])}function l(e){return s(e)||c(e)}function u(e){return!(!e||!e[f])}t(o,n),t(r,n),t(i,n),n.isIterable=a,n.isKeyed=s,n.isIndexed=c,n.isAssociative=l,n.isOrdered=u,n.Keyed=o,n.Indexed=r,n.Set=i;var d="@@__IMMUTABLE_ITERABLE__@@",p="@@__IMMUTABLE_KEYED__@@",h="@@__IMMUTABLE_INDEXED__@@",f="@@__IMMUTABLE_ORDERED__@@",m={},g={value:!1},b={value:!1};function y(e){return e.value=!1,e}function v(e){e&&(e.value=!0)}function _(){}function S(e,t){t=t||0;for(var n=Math.max(0,e.length-t),o=new Array(n),r=0;r<n;r++)o[r]=e[r+t];return o}function C(e){return void 0===e.size&&(e.size=e.__iterate(w)),e.size}function x(e,t){if("number"!=typeof t){var n=t>>>0;if(""+n!==t||4294967295===n)return NaN;t=n}return t<0?C(e)+t:t}function w(){return!0}function T(e,t,n){return(0===e||void 0!==n&&e<=-n)&&(void 0===t||void 0!==n&&t>=n)}function k(e,t){return O(e,t,0)}function I(e,t){return O(e,t,t)}function O(e,t,n){return void 0===e?n:e<0?Math.max(0,t+e):void 0===t?e:Math.min(t,e)}var E,N,P,D="function"==typeof Symbol&&Symbol.iterator,A=D||"@@iterator";function R(e){this.next=e}function M(e,t,n,o){var r=0===e?t:1===e?n:[t,n];return o?o.value=r:o={value:r,done:!1},o}function F(){return{value:void 0,done:!0}}function j(e){return!!B(e)}function L(e){return e&&"function"==typeof e.next}function H(e){var t=B(e);return t&&t.call(e)}function B(e){var t=e&&(D&&e[D]||e["@@iterator"]);if("function"==typeof t)return t}function z(e){return e&&"number"==typeof e.length}function U(e){return null==e?Z():a(e)?e.toSeq():function(e){var t=ee(e)||"object"==typeof e&&new K(e);if(!t)throw new TypeError("Expected Array or iterable object of values, or keyed object: "+e);return t}(e)}function V(e){return null==e?Z().toKeyedSeq():a(e)?s(e)?e.toSeq():e.fromEntrySeq():X(e)}function W(e){return null==e?Z():a(e)?s(e)?e.entrySeq():e.toIndexedSeq():J(e)}function q(e){return(null==e?Z():a(e)?s(e)?e.entrySeq():e:J(e)).toSetSeq()}function G(e){this._array=e,this.size=e.length}function K(e){var t=Object.keys(e);this._object=e,this._keys=t,this.size=t.length}function Y(e){this._iterable=e,this.size=e.length||e.size}function Q(e){this._iterator=e,this._iteratorCache=[]}function $(e){return!(!e||!e["@@__IMMUTABLE_SEQ__@@"])}function Z(){return E||(E=new G([]))}function X(e){var t=Array.isArray(e)?new G(e).fromEntrySeq():L(e)?new Q(e).fromEntrySeq():j(e)?new Y(e).fromEntrySeq():"object"==typeof e?new K(e):void 0;if(!t)throw new TypeError("Expected Array or iterable object of [k, v] entries, or keyed object: "+e);return t}function J(e){var t=ee(e);if(!t)throw new TypeError("Expected Array or iterable object of values: "+e);return t}function ee(e){return z(e)?new G(e):L(e)?new Q(e):j(e)?new Y(e):void 0}function te(e,t,n,o){var r=e._cache;if(r){for(var i=r.length-1,a=0;a<=i;a++){var s=r[n?i-a:a];if(!1===t(s[1],o?s[0]:a,e))return a+1}return a}return e.__iterateUncached(t,n)}function ne(e,t,n,o){var r=e._cache;if(r){var i=r.length-1,a=0;return new R((function(){var e=r[n?i-a:a];return a++>i?{value:void 0,done:!0}:M(t,o?e[0]:a-1,e[1])}))}return e.__iteratorUncached(t,n)}function oe(e,t){return t?function e(t,n,o,r){return Array.isArray(n)?t.call(r,o,W(n).map((function(o,r){return e(t,o,r,n)}))):ie(n)?t.call(r,o,V(n).map((function(o,r){return e(t,o,r,n)}))):n}(t,e,"",{"":e}):re(e)}function re(e){return Array.isArray(e)?W(e).map(re).toList():ie(e)?V(e).map(re).toMap():e}function ie(e){return e&&(e.constructor===Object||void 0===e.constructor)}function ae(e,t){if(e===t||e!=e&&t!=t)return!0;if(!e||!t)return!1;if("function"==typeof e.valueOf&&"function"==typeof t.valueOf){if((e=e.valueOf())===(t=t.valueOf())||e!=e&&t!=t)return!0;if(!e||!t)return!1}return!("function"!=typeof e.equals||"function"!=typeof t.equals||!e.equals(t))}function se(e,t){if(e===t)return!0;if(!a(t)||void 0!==e.size&&void 0!==t.size&&e.size!==t.size||void 0!==e.__hash&&void 0!==t.__hash&&e.__hash!==t.__hash||s(e)!==s(t)||c(e)!==c(t)||u(e)!==u(t))return!1;if(0===e.size&&0===t.size)return!0;var n=!l(e);if(u(e)){var o=e.entries();return t.every((function(e,t){var r=o.next().value;return r&&ae(r[1],e)&&(n||ae(r[0],t))}))&&o.next().done}var r=!1;if(void 0===e.size)if(void 0===t.size)"function"==typeof e.cacheResult&&e.cacheResult();else{r=!0;var i=e;e=t,t=i}var d=!0,p=t.__iterate((function(t,o){if(n?!e.has(t):r?!ae(t,e.get(o,m)):!ae(e.get(o,m),t))return d=!1,!1}));return d&&e.size===p}function ce(e,t){if(!(this instanceof ce))return new ce(e,t);if(this._value=e,this.size=void 0===t?1/0:Math.max(0,t),0===this.size){if(N)return N;N=this}}function le(e,t){if(!e)throw new Error(t)}function ue(e,t,n){if(!(this instanceof ue))return new ue(e,t,n);if(le(0!==n,"Cannot step a Range by 0"),e=e||0,void 0===t&&(t=1/0),n=void 0===n?1:Math.abs(n),t<e&&(n=-n),this._start=e,this._end=t,this._step=n,this.size=Math.max(0,Math.ceil((t-e)/n-1)+1),0===this.size){if(P)return P;P=this}}function de(){throw TypeError("Abstract")}function pe(){}function he(){}function fe(){}R.prototype.toString=function(){return"[Iterator]"},R.KEYS=0,R.VALUES=1,R.ENTRIES=2,R.prototype.inspect=R.prototype.toSource=function(){return this.toString()},R.prototype[A]=function(){return this},t(U,n),U.of=function(){return U(arguments)},U.prototype.toSeq=function(){return this},U.prototype.toString=function(){return this.__toString("Seq {","}")},U.prototype.cacheResult=function(){return!this._cache&&this.__iterateUncached&&(this._cache=this.entrySeq().toArray(),this.size=this._cache.length),this},U.prototype.__iterate=function(e,t){return te(this,e,t,!0)},U.prototype.__iterator=function(e,t){return ne(this,e,t,!0)},t(V,U),V.prototype.toKeyedSeq=function(){return this},t(W,U),W.of=function(){return W(arguments)},W.prototype.toIndexedSeq=function(){return this},W.prototype.toString=function(){return this.__toString("Seq [","]")},W.prototype.__iterate=function(e,t){return te(this,e,t,!1)},W.prototype.__iterator=function(e,t){return ne(this,e,t,!1)},t(q,U),q.of=function(){return q(arguments)},q.prototype.toSetSeq=function(){return this},U.isSeq=$,U.Keyed=V,U.Set=q,U.Indexed=W,U.prototype["@@__IMMUTABLE_SEQ__@@"]=!0,t(G,W),G.prototype.get=function(e,t){return this.has(e)?this._array[x(this,e)]:t},G.prototype.__iterate=function(e,t){for(var n=this._array,o=n.length-1,r=0;r<=o;r++)if(!1===e(n[t?o-r:r],r,this))return r+1;return r},G.prototype.__iterator=function(e,t){var n=this._array,o=n.length-1,r=0;return new R((function(){return r>o?{value:void 0,done:!0}:M(e,r,n[t?o-r++:r++])}))},t(K,V),K.prototype.get=function(e,t){return void 0===t||this.has(e)?this._object[e]:t},K.prototype.has=function(e){return this._object.hasOwnProperty(e)},K.prototype.__iterate=function(e,t){for(var n=this._object,o=this._keys,r=o.length-1,i=0;i<=r;i++){var a=o[t?r-i:i];if(!1===e(n[a],a,this))return i+1}return i},K.prototype.__iterator=function(e,t){var n=this._object,o=this._keys,r=o.length-1,i=0;return new R((function(){var a=o[t?r-i:i];return i++>r?{value:void 0,done:!0}:M(e,a,n[a])}))},K.prototype[f]=!0,t(Y,W),Y.prototype.__iterateUncached=function(e,t){if(t)return this.cacheResult().__iterate(e,t);var n=H(this._iterable),o=0;if(L(n))for(var r;!(r=n.next()).done&&!1!==e(r.value,o++,this););return o},Y.prototype.__iteratorUncached=function(e,t){if(t)return this.cacheResult().__iterator(e,t);var n=H(this._iterable);if(!L(n))return new R(F);var o=0;return new R((function(){var t=n.next();return t.done?t:M(e,o++,t.value)}))},t(Q,W),Q.prototype.__iterateUncached=function(e,t){if(t)return this.cacheResult().__iterate(e,t);for(var n,o=this._iterator,r=this._iteratorCache,i=0;i<r.length;)if(!1===e(r[i],i++,this))return i;for(;!(n=o.next()).done;){var a=n.value;if(r[i]=a,!1===e(a,i++,this))break}return i},Q.prototype.__iteratorUncached=function(e,t){if(t)return this.cacheResult().__iterator(e,t);var n=this._iterator,o=this._iteratorCache,r=0;return new R((function(){if(r>=o.length){var t=n.next();if(t.done)return t;o[r]=t.value}return M(e,r,o[r++])}))},t(ce,W),ce.prototype.toString=function(){return 0===this.size?"Repeat []":"Repeat [ "+this._value+" "+this.size+" times ]"},ce.prototype.get=function(e,t){return this.has(e)?this._value:t},ce.prototype.includes=function(e){return ae(this._value,e)},ce.prototype.slice=function(e,t){var n=this.size;return T(e,t,n)?this:new ce(this._value,I(t,n)-k(e,n))},ce.prototype.reverse=function(){return this},ce.prototype.indexOf=function(e){return ae(this._value,e)?0:-1},ce.prototype.lastIndexOf=function(e){return ae(this._value,e)?this.size:-1},ce.prototype.__iterate=function(e,t){for(var n=0;n<this.size;n++)if(!1===e(this._value,n,this))return n+1;return n},ce.prototype.__iterator=function(e,t){var n=this,o=0;return new R((function(){return o<n.size?M(e,o++,n._value):{value:void 0,done:!0}}))},ce.prototype.equals=function(e){return e instanceof ce?ae(this._value,e._value):se(e)},t(ue,W),ue.prototype.toString=function(){return 0===this.size?"Range []":"Range [ "+this._start+"..."+this._end+(1!==this._step?" by "+this._step:"")+" ]"},ue.prototype.get=function(e,t){return this.has(e)?this._start+x(this,e)*this._step:t},ue.prototype.includes=function(e){var t=(e-this._start)/this._step;return t>=0&&t<this.size&&t===Math.floor(t)},ue.prototype.slice=function(e,t){return T(e,t,this.size)?this:(e=k(e,this.size),(t=I(t,this.size))<=e?new ue(0,0):new ue(this.get(e,this._end),this.get(t,this._end),this._step))},ue.prototype.indexOf=function(e){var t=e-this._start;if(t%this._step==0){var n=t/this._step;if(n>=0&&n<this.size)return n}return-1},ue.prototype.lastIndexOf=function(e){return this.indexOf(e)},ue.prototype.__iterate=function(e,t){for(var n=this.size-1,o=this._step,r=t?this._start+n*o:this._start,i=0;i<=n;i++){if(!1===e(r,i,this))return i+1;r+=t?-o:o}return i},ue.prototype.__iterator=function(e,t){var n=this.size-1,o=this._step,r=t?this._start+n*o:this._start,i=0;return new R((function(){var a=r;return r+=t?-o:o,i>n?{value:void 0,done:!0}:M(e,i++,a)}))},ue.prototype.equals=function(e){return e instanceof ue?this._start===e._start&&this._end===e._end&&this._step===e._step:se(this,e)},t(de,n),t(pe,de),t(he,de),t(fe,de),de.Keyed=pe,de.Indexed=he,de.Set=fe;var me="function"==typeof Math.imul&&-2===Math.imul(4294967295,2)?Math.imul:function(e,t){var n=65535&(e|=0),o=65535&(t|=0);return n*o+((e>>>16)*o+n*(t>>>16)<<16>>>0)|0};function ge(e){return e>>>1&1073741824|3221225471&e}function be(e){if(!1===e||null==e)return 0;if("function"==typeof e.valueOf&&(!1===(e=e.valueOf())||null==e))return 0;if(!0===e)return 1;var t=typeof e;if("number"===t){if(e!=e||e===1/0)return 0;var n=0|e;for(n!==e&&(n^=4294967295*e);e>4294967295;)n^=e/=4294967295;return ge(n)}if("string"===t)return e.length>Te?function(e){var t=Oe[e];return void 0===t&&(t=ye(e),Ie===ke&&(Ie=0,Oe={}),Ie++,Oe[e]=t),t}(e):ye(e);if("function"==typeof e.hashCode)return e.hashCode();if("object"===t)return function(e){var t;if(Ce&&void 0!==(t=ve.get(e)))return t;if(void 0!==(t=e[we]))return t;if(!Se){if(void 0!==(t=e.propertyIsEnumerable&&e.propertyIsEnumerable[we]))return t;if(void 0!==(t=function(e){if(e&&e.nodeType>0)switch(e.nodeType){case 1:return e.uniqueID;case 9:return e.documentElement&&e.documentElement.uniqueID}}(e)))return t}if(t=++xe,1073741824&xe&&(xe=0),Ce)ve.set(e,t);else{if(void 0!==_e&&!1===_e(e))throw new Error("Non-extensible objects are not allowed as keys.");if(Se)Object.defineProperty(e,we,{enumerable:!1,configurable:!1,writable:!1,value:t});else if(void 0!==e.propertyIsEnumerable&&e.propertyIsEnumerable===e.constructor.prototype.propertyIsEnumerable)e.propertyIsEnumerable=function(){return this.constructor.prototype.propertyIsEnumerable.apply(this,arguments)},e.propertyIsEnumerable[we]=t;else{if(void 0===e.nodeType)throw new Error("Unable to set a non-enumerable property on object.");e[we]=t}}return t}(e);if("function"==typeof e.toString)return ye(e.toString());throw new Error("Value type "+t+" cannot be hashed.")}function ye(e){for(var t=0,n=0;n<e.length;n++)t=31*t+e.charCodeAt(n)|0;return ge(t)}var ve,_e=Object.isExtensible,Se=function(){try{return Object.defineProperty({},"@",{}),!0}catch(e){return!1}}(),Ce="function"==typeof WeakMap;Ce&&(ve=new WeakMap);var xe=0,we="__immutablehash__";"function"==typeof Symbol&&(we=Symbol(we));var Te=16,ke=255,Ie=0,Oe={};function Ee(e){le(e!==1/0,"Cannot perform this action with an infinite size.")}function Ne(e){return null==e?We():Pe(e)&&!u(e)?e:We().withMutations((function(t){var n=o(e);Ee(n.size),n.forEach((function(e,n){return t.set(n,e)}))}))}function Pe(e){return!(!e||!e[Ae])}t(Ne,pe),Ne.of=function(){var t=e.call(arguments,0);return We().withMutations((function(e){for(var n=0;n<t.length;n+=2){if(n+1>=t.length)throw new Error("Missing value for key: "+t[n]);e.set(t[n],t[n+1])}}))},Ne.prototype.toString=function(){return this.__toString("Map {","}")},Ne.prototype.get=function(e,t){return this._root?this._root.get(0,void 0,e,t):t},Ne.prototype.set=function(e,t){return qe(this,e,t)},Ne.prototype.setIn=function(e,t){return this.updateIn(e,m,(function(){return t}))},Ne.prototype.remove=function(e){return qe(this,e,m)},Ne.prototype.deleteIn=function(e){return this.updateIn(e,(function(){return m}))},Ne.prototype.update=function(e,t,n){return 1===arguments.length?e(this):this.updateIn([e],t,n)},Ne.prototype.updateIn=function(e,t,n){n||(n=t,t=void 0);var o=function e(t,n,o,r){var i=t===m,a=n.next();if(a.done){var s=i?o:t,c=r(s);return c===s?t:c}le(i||t&&t.set,"invalid keyPath");var l=a.value,u=i?m:t.get(l,m),d=e(u,n,o,r);return d===u?t:d===m?t.remove(l):(i?We():t).set(l,d)}(this,Qt(e),t,n);return o===m?void 0:o},Ne.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._root=null,this.__hash=void 0,this.__altered=!0,this):We()},Ne.prototype.merge=function(){return Qe(this,void 0,arguments)},Ne.prototype.mergeWith=function(t){var n=e.call(arguments,1);return Qe(this,t,n)},Ne.prototype.mergeIn=function(t){var n=e.call(arguments,1);return this.updateIn(t,We(),(function(e){return"function"==typeof e.merge?e.merge.apply(e,n):n[n.length-1]}))},Ne.prototype.mergeDeep=function(){return Qe(this,$e,arguments)},Ne.prototype.mergeDeepWith=function(t){var n=e.call(arguments,1);return Qe(this,Ze(t),n)},Ne.prototype.mergeDeepIn=function(t){var n=e.call(arguments,1);return this.updateIn(t,We(),(function(e){return"function"==typeof e.mergeDeep?e.mergeDeep.apply(e,n):n[n.length-1]}))},Ne.prototype.sort=function(e){return St(Lt(this,e))},Ne.prototype.sortBy=function(e,t){return St(Lt(this,t,e))},Ne.prototype.withMutations=function(e){var t=this.asMutable();return e(t),t.wasAltered()?t.__ensureOwner(this.__ownerID):this},Ne.prototype.asMutable=function(){return this.__ownerID?this:this.__ensureOwner(new _)},Ne.prototype.asImmutable=function(){return this.__ensureOwner()},Ne.prototype.wasAltered=function(){return this.__altered},Ne.prototype.__iterator=function(e,t){return new Be(this,e,t)},Ne.prototype.__iterate=function(e,t){var n=this,o=0;return this._root&&this._root.iterate((function(t){return o++,e(t[1],t[0],n)}),t),o},Ne.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?Ve(this.size,this._root,e,this.__hash):(this.__ownerID=e,this.__altered=!1,this)},Ne.isMap=Pe;var De,Ae="@@__IMMUTABLE_MAP__@@",Re=Ne.prototype;function Me(e,t){this.ownerID=e,this.entries=t}function Fe(e,t,n){this.ownerID=e,this.bitmap=t,this.nodes=n}function je(e,t,n){this.ownerID=e,this.count=t,this.nodes=n}function Le(e,t,n){this.ownerID=e,this.keyHash=t,this.entries=n}function He(e,t,n){this.ownerID=e,this.keyHash=t,this.entry=n}function Be(e,t,n){this._type=t,this._reverse=n,this._stack=e._root&&Ue(e._root)}function ze(e,t){return M(e,t[0],t[1])}function Ue(e,t){return{node:e,index:0,__prev:t}}function Ve(e,t,n,o){var r=Object.create(Re);return r.size=e,r._root=t,r.__ownerID=n,r.__hash=o,r.__altered=!1,r}function We(){return De||(De=Ve(0))}function qe(e,t,n){var o,r;if(e._root){var i=y(g),a=y(b);if(o=Ge(e._root,e.__ownerID,0,void 0,t,n,i,a),!a.value)return e;r=e.size+(i.value?n===m?-1:1:0)}else{if(n===m)return e;r=1,o=new Me(e.__ownerID,[[t,n]])}return e.__ownerID?(e.size=r,e._root=o,e.__hash=void 0,e.__altered=!0,e):o?Ve(r,o):We()}function Ge(e,t,n,o,r,i,a,s){return e?e.update(t,n,o,r,i,a,s):i===m?e:(v(s),v(a),new He(t,o,[r,i]))}function Ke(e){return e.constructor===He||e.constructor===Le}function Ye(e,t,n,o,r){if(e.keyHash===o)return new Le(t,o,[e.entry,r]);var i,a=31&(0===n?e.keyHash:e.keyHash>>>n),s=31&(0===n?o:o>>>n);return new Fe(t,1<<a|1<<s,a===s?[Ye(e,t,n+5,o,r)]:(i=new He(t,o,r),a<s?[e,i]:[i,e]))}function Qe(e,t,n){for(var r=[],i=0;i<n.length;i++){var s=n[i],c=o(s);a(s)||(c=c.map((function(e){return oe(e)}))),r.push(c)}return Xe(e,t,r)}function $e(e,t,n){return e&&e.mergeDeep&&a(t)?e.mergeDeep(t):ae(e,t)?e:t}function Ze(e){return function(t,n,o){if(t&&t.mergeDeepWith&&a(n))return t.mergeDeepWith(e,n);var r=e(t,n,o);return ae(t,r)?t:r}}function Xe(e,t,n){return 0===(n=n.filter((function(e){return 0!==e.size}))).length?e:0!==e.size||e.__ownerID||1!==n.length?e.withMutations((function(e){for(var o=t?function(n,o){e.update(o,m,(function(e){return e===m?n:t(e,n,o)}))}:function(t,n){e.set(n,t)},r=0;r<n.length;r++)n[r].forEach(o)})):e.constructor(n[0])}function Je(e){return e=(e=(858993459&(e-=e>>1&1431655765))+(e>>2&858993459))+(e>>4)&252645135,127&(e+=e>>8)+(e>>16)}function et(e,t,n,o){var r=o?e:S(e);return r[t]=n,r}Re[Ae]=!0,Re.delete=Re.remove,Re.removeIn=Re.deleteIn,Me.prototype.get=function(e,t,n,o){for(var r=this.entries,i=0,a=r.length;i<a;i++)if(ae(n,r[i][0]))return r[i][1];return o},Me.prototype.update=function(e,t,n,o,r,i,a){for(var s=r===m,c=this.entries,l=0,u=c.length;l<u&&!ae(o,c[l][0]);l++);var d=l<u;if(d?c[l][1]===r:s)return this;if(v(a),(s||!d)&&v(i),!s||1!==c.length){if(!d&&!s&&c.length>=tt)return function(e,t,n,o){e||(e=new _);for(var r=new He(e,be(n),[n,o]),i=0;i<t.length;i++){var a=t[i];r=r.update(e,0,void 0,a[0],a[1])}return r}(e,c,o,r);var p=e&&e===this.ownerID,h=p?c:S(c);return d?s?l===u-1?h.pop():h[l]=h.pop():h[l]=[o,r]:h.push([o,r]),p?(this.entries=h,this):new Me(e,h)}},Fe.prototype.get=function(e,t,n,o){void 0===t&&(t=be(n));var r=1<<(31&(0===e?t:t>>>e)),i=this.bitmap;return 0==(i&r)?o:this.nodes[Je(i&r-1)].get(e+5,t,n,o)},Fe.prototype.update=function(e,t,n,o,r,i,a){void 0===n&&(n=be(o));var s=31&(0===t?n:n>>>t),c=1<<s,l=this.bitmap,u=0!=(l&c);if(!u&&r===m)return this;var d=Je(l&c-1),p=this.nodes,h=u?p[d]:void 0,f=Ge(h,e,t+5,n,o,r,i,a);if(f===h)return this;if(!u&&f&&p.length>=nt)return function(e,t,n,o,r){for(var i=0,a=new Array(32),s=0;0!==n;s++,n>>>=1)a[s]=1&n?t[i++]:void 0;return a[o]=r,new je(e,i+1,a)}(e,p,l,s,f);if(u&&!f&&2===p.length&&Ke(p[1^d]))return p[1^d];if(u&&f&&1===p.length&&Ke(f))return f;var g=e&&e===this.ownerID,b=u?f?l:l^c:l|c,y=u?f?et(p,d,f,g):function(e,t,n){var o=e.length-1;if(n&&t===o)return e.pop(),e;for(var r=new Array(o),i=0,a=0;a<o;a++)a===t&&(i=1),r[a]=e[a+i];return r}(p,d,g):function(e,t,n,o){var r=e.length+1;if(o&&t+1===r)return e[t]=n,e;for(var i=new Array(r),a=0,s=0;s<r;s++)s===t?(i[s]=n,a=-1):i[s]=e[s+a];return i}(p,d,f,g);return g?(this.bitmap=b,this.nodes=y,this):new Fe(e,b,y)},je.prototype.get=function(e,t,n,o){void 0===t&&(t=be(n));var r=31&(0===e?t:t>>>e),i=this.nodes[r];return i?i.get(e+5,t,n,o):o},je.prototype.update=function(e,t,n,o,r,i,a){void 0===n&&(n=be(o));var s=31&(0===t?n:n>>>t),c=r===m,l=this.nodes,u=l[s];if(c&&!u)return this;var d=Ge(u,e,t+5,n,o,r,i,a);if(d===u)return this;var p=this.count;if(u){if(!d&&--p<ot)return function(e,t,n,o){for(var r=0,i=0,a=new Array(n),s=0,c=1,l=t.length;s<l;s++,c<<=1){var u=t[s];void 0!==u&&s!==o&&(r|=c,a[i++]=u)}return new Fe(e,r,a)}(e,l,p,s)}else p++;var h=e&&e===this.ownerID,f=et(l,s,d,h);return h?(this.count=p,this.nodes=f,this):new je(e,p,f)},Le.prototype.get=function(e,t,n,o){for(var r=this.entries,i=0,a=r.length;i<a;i++)if(ae(n,r[i][0]))return r[i][1];return o},Le.prototype.update=function(e,t,n,o,r,i,a){void 0===n&&(n=be(o));var s=r===m;if(n!==this.keyHash)return s?this:(v(a),v(i),Ye(this,e,t,n,[o,r]));for(var c=this.entries,l=0,u=c.length;l<u&&!ae(o,c[l][0]);l++);var d=l<u;if(d?c[l][1]===r:s)return this;if(v(a),(s||!d)&&v(i),s&&2===u)return new He(e,this.keyHash,c[1^l]);var p=e&&e===this.ownerID,h=p?c:S(c);return d?s?l===u-1?h.pop():h[l]=h.pop():h[l]=[o,r]:h.push([o,r]),p?(this.entries=h,this):new Le(e,this.keyHash,h)},He.prototype.get=function(e,t,n,o){return ae(n,this.entry[0])?this.entry[1]:o},He.prototype.update=function(e,t,n,o,r,i,a){var s=r===m,c=ae(o,this.entry[0]);return(c?r===this.entry[1]:s)?this:(v(a),s?void v(i):c?e&&e===this.ownerID?(this.entry[1]=r,this):new He(e,this.keyHash,[o,r]):(v(i),Ye(this,e,t,be(o),[o,r])))},Me.prototype.iterate=Le.prototype.iterate=function(e,t){for(var n=this.entries,o=0,r=n.length-1;o<=r;o++)if(!1===e(n[t?r-o:o]))return!1},Fe.prototype.iterate=je.prototype.iterate=function(e,t){for(var n=this.nodes,o=0,r=n.length-1;o<=r;o++){var i=n[t?r-o:o];if(i&&!1===i.iterate(e,t))return!1}},He.prototype.iterate=function(e,t){return e(this.entry)},t(Be,R),Be.prototype.next=function(){for(var e=this._type,t=this._stack;t;){var n,o=t.node,r=t.index++;if(o.entry){if(0===r)return ze(e,o.entry)}else if(o.entries){if(r<=(n=o.entries.length-1))return ze(e,o.entries[this._reverse?n-r:r])}else if(r<=(n=o.nodes.length-1)){var i=o.nodes[this._reverse?n-r:r];if(i){if(i.entry)return ze(e,i.entry);t=this._stack=Ue(i,t)}continue}t=this._stack=this._stack.__prev}return{value:void 0,done:!0}};var tt=8,nt=16,ot=8;function rt(e){var t=ft();if(null==e)return t;if(it(e))return e;var n=r(e),o=n.size;return 0===o?t:(Ee(o),o>0&&o<32?ht(0,o,5,null,new ct(n.toArray())):t.withMutations((function(e){e.setSize(o),n.forEach((function(t,n){return e.set(n,t)}))})))}function it(e){return!(!e||!e[at])}t(rt,he),rt.of=function(){return this(arguments)},rt.prototype.toString=function(){return this.__toString("List [","]")},rt.prototype.get=function(e,t){if((e=x(this,e))>=0&&e<this.size){var n=bt(this,e+=this._origin);return n&&n.array[31&e]}return t},rt.prototype.set=function(e,t){return function(e,t,n){if((t=x(e,t))!=t)return e;if(t>=e.size||t<0)return e.withMutations((function(e){t<0?yt(e,t).set(0,n):yt(e,0,t+1).set(t,n)}));t+=e._origin;var o=e._tail,r=e._root,i=y(b);return t>=_t(e._capacity)?o=mt(o,e.__ownerID,0,t,n,i):r=mt(r,e.__ownerID,e._level,t,n,i),i.value?e.__ownerID?(e._root=r,e._tail=o,e.__hash=void 0,e.__altered=!0,e):ht(e._origin,e._capacity,e._level,r,o):e}(this,e,t)},rt.prototype.remove=function(e){return this.has(e)?0===e?this.shift():e===this.size-1?this.pop():this.splice(e,1):this},rt.prototype.insert=function(e,t){return this.splice(e,0,t)},rt.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=this._origin=this._capacity=0,this._level=5,this._root=this._tail=null,this.__hash=void 0,this.__altered=!0,this):ft()},rt.prototype.push=function(){var e=arguments,t=this.size;return this.withMutations((function(n){yt(n,0,t+e.length);for(var o=0;o<e.length;o++)n.set(t+o,e[o])}))},rt.prototype.pop=function(){return yt(this,0,-1)},rt.prototype.unshift=function(){var e=arguments;return this.withMutations((function(t){yt(t,-e.length);for(var n=0;n<e.length;n++)t.set(n,e[n])}))},rt.prototype.shift=function(){return yt(this,1)},rt.prototype.merge=function(){return vt(this,void 0,arguments)},rt.prototype.mergeWith=function(t){var n=e.call(arguments,1);return vt(this,t,n)},rt.prototype.mergeDeep=function(){return vt(this,$e,arguments)},rt.prototype.mergeDeepWith=function(t){var n=e.call(arguments,1);return vt(this,Ze(t),n)},rt.prototype.setSize=function(e){return yt(this,0,e)},rt.prototype.slice=function(e,t){var n=this.size;return T(e,t,n)?this:yt(this,k(e,n),I(t,n))},rt.prototype.__iterator=function(e,t){var n=0,o=pt(this,t);return new R((function(){var t=o();return t===dt?{value:void 0,done:!0}:M(e,n++,t)}))},rt.prototype.__iterate=function(e,t){for(var n,o=0,r=pt(this,t);(n=r())!==dt&&!1!==e(n,o++,this););return o},rt.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?ht(this._origin,this._capacity,this._level,this._root,this._tail,e,this.__hash):(this.__ownerID=e,this)},rt.isList=it;var at="@@__IMMUTABLE_LIST__@@",st=rt.prototype;function ct(e,t){this.array=e,this.ownerID=t}st[at]=!0,st.delete=st.remove,st.setIn=Re.setIn,st.deleteIn=st.removeIn=Re.removeIn,st.update=Re.update,st.updateIn=Re.updateIn,st.mergeIn=Re.mergeIn,st.mergeDeepIn=Re.mergeDeepIn,st.withMutations=Re.withMutations,st.asMutable=Re.asMutable,st.asImmutable=Re.asImmutable,st.wasAltered=Re.wasAltered,ct.prototype.removeBefore=function(e,t,n){if(n===t?1<<t:0===this.array.length)return this;var o=n>>>t&31;if(o>=this.array.length)return new ct([],e);var r,i=0===o;if(t>0){var a=this.array[o];if((r=a&&a.removeBefore(e,t-5,n))===a&&i)return this}if(i&&!r)return this;var s=gt(this,e);if(!i)for(var c=0;c<o;c++)s.array[c]=void 0;return r&&(s.array[o]=r),s},ct.prototype.removeAfter=function(e,t,n){if(n===(t?1<<t:0)||0===this.array.length)return this;var o,r=n-1>>>t&31;if(r>=this.array.length)return this;if(t>0){var i=this.array[r];if((o=i&&i.removeAfter(e,t-5,n))===i&&r===this.array.length-1)return this}var a=gt(this,e);return a.array.splice(r+1),o&&(a.array[r]=o),a};var lt,ut,dt={};function pt(e,t){var n=e._origin,o=e._capacity,r=_t(o),i=e._tail;return function e(a,s,c){return 0===s?function(e,a){var s=a===r?i&&i.array:e&&e.array,c=a>n?0:n-a,l=o-a;return l>32&&(l=32),function(){if(c===l)return dt;var e=t?--l:c++;return s&&s[e]}}(a,c):function(r,i,a){var s,c=r&&r.array,l=a>n?0:n-a>>i,u=1+(o-a>>i);return u>32&&(u=32),function(){for(;;){if(s){var n=s();if(n!==dt)return n;s=null}if(l===u)return dt;var o=t?--u:l++;s=e(c&&c[o],i-5,a+(o<<i))}}}(a,s,c)}(e._root,e._level,0)}function ht(e,t,n,o,r,i,a){var s=Object.create(st);return s.size=t-e,s._origin=e,s._capacity=t,s._level=n,s._root=o,s._tail=r,s.__ownerID=i,s.__hash=a,s.__altered=!1,s}function ft(){return lt||(lt=ht(0,0,5))}function mt(e,t,n,o,r,i){var a,s=o>>>n&31,c=e&&s<e.array.length;if(!c&&void 0===r)return e;if(n>0){var l=e&&e.array[s],u=mt(l,t,n-5,o,r,i);return u===l?e:((a=gt(e,t)).array[s]=u,a)}return c&&e.array[s]===r?e:(v(i),a=gt(e,t),void 0===r&&s===a.array.length-1?a.array.pop():a.array[s]=r,a)}function gt(e,t){return t&&e&&t===e.ownerID?e:new ct(e?e.array.slice():[],t)}function bt(e,t){if(t>=_t(e._capacity))return e._tail;if(t<1<<e._level+5){for(var n=e._root,o=e._level;n&&o>0;)n=n.array[t>>>o&31],o-=5;return n}}function yt(e,t,n){void 0!==t&&(t|=0),void 0!==n&&(n|=0);var o=e.__ownerID||new _,r=e._origin,i=e._capacity,a=r+t,s=void 0===n?i:n<0?i+n:r+n;if(a===r&&s===i)return e;if(a>=s)return e.clear();for(var c=e._level,l=e._root,u=0;a+u<0;)l=new ct(l&&l.array.length?[void 0,l]:[],o),u+=1<<(c+=5);u&&(a+=u,r+=u,s+=u,i+=u);for(var d=_t(i),p=_t(s);p>=1<<c+5;)l=new ct(l&&l.array.length?[l]:[],o),c+=5;var h=e._tail,f=p<d?bt(e,s-1):p>d?new ct([],o):h;if(h&&p>d&&a<i&&h.array.length){for(var m=l=gt(l,o),g=c;g>5;g-=5){var b=d>>>g&31;m=m.array[b]=gt(m.array[b],o)}m.array[d>>>5&31]=h}if(s<i&&(f=f&&f.removeAfter(o,0,s)),a>=p)a-=p,s-=p,c=5,l=null,f=f&&f.removeBefore(o,0,a);else if(a>r||p<d){for(u=0;l;){var y=a>>>c&31;if(y!==p>>>c&31)break;y&&(u+=(1<<c)*y),c-=5,l=l.array[y]}l&&a>r&&(l=l.removeBefore(o,c,a-u)),l&&p<d&&(l=l.removeAfter(o,c,p-u)),u&&(a-=u,s-=u)}return e.__ownerID?(e.size=s-a,e._origin=a,e._capacity=s,e._level=c,e._root=l,e._tail=f,e.__hash=void 0,e.__altered=!0,e):ht(a,s,c,l,f)}function vt(e,t,n){for(var o=[],i=0,s=0;s<n.length;s++){var c=n[s],l=r(c);l.size>i&&(i=l.size),a(c)||(l=l.map((function(e){return oe(e)}))),o.push(l)}return i>e.size&&(e=e.setSize(i)),Xe(e,t,o)}function _t(e){return e<32?0:e-1>>>5<<5}function St(e){return null==e?wt():Ct(e)?e:wt().withMutations((function(t){var n=o(e);Ee(n.size),n.forEach((function(e,n){return t.set(n,e)}))}))}function Ct(e){return Pe(e)&&u(e)}function xt(e,t,n,o){var r=Object.create(St.prototype);return r.size=e?e.size:0,r._map=e,r._list=t,r.__ownerID=n,r.__hash=o,r}function wt(){return ut||(ut=xt(We(),ft()))}function Tt(e,t,n){var o,r,i=e._map,a=e._list,s=i.get(t),c=void 0!==s;if(n===m){if(!c)return e;a.size>=32&&a.size>=2*i.size?(o=(r=a.filter((function(e,t){return void 0!==e&&s!==t}))).toKeyedSeq().map((function(e){return e[0]})).flip().toMap(),e.__ownerID&&(o.__ownerID=r.__ownerID=e.__ownerID)):(o=i.remove(t),r=s===a.size-1?a.pop():a.set(s,void 0))}else if(c){if(n===a.get(s)[1])return e;o=i,r=a.set(s,[t,n])}else o=i.set(t,a.size),r=a.set(a.size,[t,n]);return e.__ownerID?(e.size=o.size,e._map=o,e._list=r,e.__hash=void 0,e):xt(o,r)}function kt(e,t){this._iter=e,this._useKeys=t,this.size=e.size}function It(e){this._iter=e,this.size=e.size}function Ot(e){this._iter=e,this.size=e.size}function Et(e){this._iter=e,this.size=e.size}function Nt(e){var t=Gt(e);return t._iter=e,t.size=e.size,t.flip=function(){return e},t.reverse=function(){var t=e.reverse.apply(this);return t.flip=function(){return e.reverse()},t},t.has=function(t){return e.includes(t)},t.includes=function(t){return e.has(t)},t.cacheResult=Kt,t.__iterateUncached=function(t,n){var o=this;return e.__iterate((function(e,n){return!1!==t(n,e,o)}),n)},t.__iteratorUncached=function(t,n){if(2===t){var o=e.__iterator(t,n);return new R((function(){var e=o.next();if(!e.done){var t=e.value[0];e.value[0]=e.value[1],e.value[1]=t}return e}))}return e.__iterator(1===t?0:1,n)},t}function Pt(e,t,n){var o=Gt(e);return o.size=e.size,o.has=function(t){return e.has(t)},o.get=function(o,r){var i=e.get(o,m);return i===m?r:t.call(n,i,o,e)},o.__iterateUncached=function(o,r){var i=this;return e.__iterate((function(e,r,a){return!1!==o(t.call(n,e,r,a),r,i)}),r)},o.__iteratorUncached=function(o,r){var i=e.__iterator(2,r);return new R((function(){var r=i.next();if(r.done)return r;var a=r.value,s=a[0];return M(o,s,t.call(n,a[1],s,e),r)}))},o}function Dt(e,t){var n=Gt(e);return n._iter=e,n.size=e.size,n.reverse=function(){return e},e.flip&&(n.flip=function(){var t=Nt(e);return t.reverse=function(){return e.flip()},t}),n.get=function(n,o){return e.get(t?n:-1-n,o)},n.has=function(n){return e.has(t?n:-1-n)},n.includes=function(t){return e.includes(t)},n.cacheResult=Kt,n.__iterate=function(t,n){var o=this;return e.__iterate((function(e,n){return t(e,n,o)}),!n)},n.__iterator=function(t,n){return e.__iterator(t,!n)},n}function At(e,t,n,o){var r=Gt(e);return o&&(r.has=function(o){var r=e.get(o,m);return r!==m&&!!t.call(n,r,o,e)},r.get=function(o,r){var i=e.get(o,m);return i!==m&&t.call(n,i,o,e)?i:r}),r.__iterateUncached=function(r,i){var a=this,s=0;return e.__iterate((function(e,i,c){if(t.call(n,e,i,c))return s++,r(e,o?i:s-1,a)}),i),s},r.__iteratorUncached=function(r,i){var a=e.__iterator(2,i),s=0;return new R((function(){for(;;){var i=a.next();if(i.done)return i;var c=i.value,l=c[0],u=c[1];if(t.call(n,u,l,e))return M(r,o?l:s++,u,i)}}))},r}function Rt(e,t,n,o){var r=e.size;if(void 0!==t&&(t|=0),void 0!==n&&(n===1/0?n=r:n|=0),T(t,n,r))return e;var i=k(t,r),a=I(n,r);if(i!=i||a!=a)return Rt(e.toSeq().cacheResult(),t,n,o);var s,c=a-i;c==c&&(s=c<0?0:c);var l=Gt(e);return l.size=0===s?s:e.size&&s||void 0,!o&&$(e)&&s>=0&&(l.get=function(t,n){return(t=x(this,t))>=0&&t<s?e.get(t+i,n):n}),l.__iterateUncached=function(t,n){var r=this;if(0===s)return 0;if(n)return this.cacheResult().__iterate(t,n);var a=0,c=!0,l=0;return e.__iterate((function(e,n){if(!c||!(c=a++<i))return l++,!1!==t(e,o?n:l-1,r)&&l!==s})),l},l.__iteratorUncached=function(t,n){if(0!==s&&n)return this.cacheResult().__iterator(t,n);var r=0!==s&&e.__iterator(t,n),a=0,c=0;return new R((function(){for(;a++<i;)r.next();if(++c>s)return{value:void 0,done:!0};var e=r.next();return o||1===t?e:M(t,c-1,0===t?void 0:e.value[1],e)}))},l}function Mt(e,t,n,o){var r=Gt(e);return r.__iterateUncached=function(r,i){var a=this;if(i)return this.cacheResult().__iterate(r,i);var s=!0,c=0;return e.__iterate((function(e,i,l){if(!s||!(s=t.call(n,e,i,l)))return c++,r(e,o?i:c-1,a)})),c},r.__iteratorUncached=function(r,i){var a=this;if(i)return this.cacheResult().__iterator(r,i);var s=e.__iterator(2,i),c=!0,l=0;return new R((function(){var e,i,u;do{if((e=s.next()).done)return o||1===r?e:M(r,l++,0===r?void 0:e.value[1],e);var d=e.value;i=d[0],u=d[1],c&&(c=t.call(n,u,i,a))}while(c);return 2===r?e:M(r,i,u,e)}))},r}function Ft(e,t){var n=s(e),r=[e].concat(t).map((function(e){return a(e)?n&&(e=o(e)):e=n?X(e):J(Array.isArray(e)?e:[e]),e})).filter((function(e){return 0!==e.size}));if(0===r.length)return e;if(1===r.length){var i=r[0];if(i===e||n&&s(i)||c(e)&&c(i))return i}var l=new G(r);return n?l=l.toKeyedSeq():c(e)||(l=l.toSetSeq()),(l=l.flatten(!0)).size=r.reduce((function(e,t){if(void 0!==e){var n=t.size;if(void 0!==n)return e+n}}),0),l}function jt(e,t,n){var o=Gt(e);return o.__iterateUncached=function(o,r){var i=0,s=!1;return function e(c,l){var u=this;c.__iterate((function(r,c){return(!t||l<t)&&a(r)?e(r,l+1):!1===o(r,n?c:i++,u)&&(s=!0),!s}),r)}(e,0),i},o.__iteratorUncached=function(o,r){var i=e.__iterator(o,r),s=[],c=0;return new R((function(){for(;i;){var e=i.next();if(!1===e.done){var l=e.value;if(2===o&&(l=l[1]),t&&!(s.length<t)||!a(l))return n?e:M(o,c++,l,e);s.push(i),i=l.__iterator(o,r)}else i=s.pop()}return{value:void 0,done:!0}}))},o}function Lt(e,t,n){t||(t=Yt);var o=s(e),r=0,i=e.toSeq().map((function(t,o){return[o,t,r++,n?n(t,o,e):t]})).toArray();return i.sort((function(e,n){return t(e[3],n[3])||e[2]-n[2]})).forEach(o?function(e,t){i[t].length=2}:function(e,t){i[t]=e[1]}),o?V(i):c(e)?W(i):q(i)}function Ht(e,t,n){if(t||(t=Yt),n){var o=e.toSeq().map((function(t,o){return[t,n(t,o,e)]})).reduce((function(e,n){return Bt(t,e[1],n[1])?n:e}));return o&&o[0]}return e.reduce((function(e,n){return Bt(t,e,n)?n:e}))}function Bt(e,t,n){var o=e(n,t);return 0===o&&n!==t&&(null==n||n!=n)||o>0}function zt(e,t,o){var r=Gt(e);return r.size=new G(o).map((function(e){return e.size})).min(),r.__iterate=function(e,t){for(var n,o=this.__iterator(1,t),r=0;!(n=o.next()).done&&!1!==e(n.value,r++,this););return r},r.__iteratorUncached=function(e,r){var i=o.map((function(e){return e=n(e),H(r?e.reverse():e)})),a=0,s=!1;return new R((function(){var n;return s||(n=i.map((function(e){return e.next()})),s=n.some((function(e){return e.done}))),s?{value:void 0,done:!0}:M(e,a++,t.apply(null,n.map((function(e){return e.value}))))}))},r}function Ut(e,t){return $(e)?t:e.constructor(t)}function Vt(e){if(e!==Object(e))throw new TypeError("Expected [K, V] tuple: "+e)}function Wt(e){return Ee(e.size),C(e)}function qt(e){return s(e)?o:c(e)?r:i}function Gt(e){return Object.create((s(e)?V:c(e)?W:q).prototype)}function Kt(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):U.prototype.cacheResult.call(this)}function Yt(e,t){return e>t?1:e<t?-1:0}function Qt(e){var t=H(e);if(!t){if(!z(e))throw new TypeError("Expected iterable or array-like: "+e);t=H(n(e))}return t}function $t(e,t){var n,o=function(i){if(i instanceof o)return i;if(!(this instanceof o))return new o(i);if(!n){n=!0;var a=Object.keys(e);!function(e,t){try{t.forEach(en.bind(void 0,e))}catch(e){}}(r,a),r.size=a.length,r._name=t,r._keys=a,r._defaultValues=e}this._map=Ne(i)},r=o.prototype=Object.create(Zt);return r.constructor=o,o}t(St,Ne),St.of=function(){return this(arguments)},St.prototype.toString=function(){return this.__toString("OrderedMap {","}")},St.prototype.get=function(e,t){var n=this._map.get(e);return void 0!==n?this._list.get(n)[1]:t},St.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._map.clear(),this._list.clear(),this):wt()},St.prototype.set=function(e,t){return Tt(this,e,t)},St.prototype.remove=function(e){return Tt(this,e,m)},St.prototype.wasAltered=function(){return this._map.wasAltered()||this._list.wasAltered()},St.prototype.__iterate=function(e,t){var n=this;return this._list.__iterate((function(t){return t&&e(t[1],t[0],n)}),t)},St.prototype.__iterator=function(e,t){return this._list.fromEntrySeq().__iterator(e,t)},St.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map.__ensureOwner(e),n=this._list.__ensureOwner(e);return e?xt(t,n,e,this.__hash):(this.__ownerID=e,this._map=t,this._list=n,this)},St.isOrderedMap=Ct,St.prototype[f]=!0,St.prototype.delete=St.prototype.remove,t(kt,V),kt.prototype.get=function(e,t){return this._iter.get(e,t)},kt.prototype.has=function(e){return this._iter.has(e)},kt.prototype.valueSeq=function(){return this._iter.valueSeq()},kt.prototype.reverse=function(){var e=this,t=Dt(this,!0);return this._useKeys||(t.valueSeq=function(){return e._iter.toSeq().reverse()}),t},kt.prototype.map=function(e,t){var n=this,o=Pt(this,e,t);return this._useKeys||(o.valueSeq=function(){return n._iter.toSeq().map(e,t)}),o},kt.prototype.__iterate=function(e,t){var n,o=this;return this._iter.__iterate(this._useKeys?function(t,n){return e(t,n,o)}:(n=t?Wt(this):0,function(r){return e(r,t?--n:n++,o)}),t)},kt.prototype.__iterator=function(e,t){if(this._useKeys)return this._iter.__iterator(e,t);var n=this._iter.__iterator(1,t),o=t?Wt(this):0;return new R((function(){var r=n.next();return r.done?r:M(e,t?--o:o++,r.value,r)}))},kt.prototype[f]=!0,t(It,W),It.prototype.includes=function(e){return this._iter.includes(e)},It.prototype.__iterate=function(e,t){var n=this,o=0;return this._iter.__iterate((function(t){return e(t,o++,n)}),t)},It.prototype.__iterator=function(e,t){var n=this._iter.__iterator(1,t),o=0;return new R((function(){var t=n.next();return t.done?t:M(e,o++,t.value,t)}))},t(Ot,q),Ot.prototype.has=function(e){return this._iter.includes(e)},Ot.prototype.__iterate=function(e,t){var n=this;return this._iter.__iterate((function(t){return e(t,t,n)}),t)},Ot.prototype.__iterator=function(e,t){var n=this._iter.__iterator(1,t);return new R((function(){var t=n.next();return t.done?t:M(e,t.value,t.value,t)}))},t(Et,V),Et.prototype.entrySeq=function(){return this._iter.toSeq()},Et.prototype.__iterate=function(e,t){var n=this;return this._iter.__iterate((function(t){if(t){Vt(t);var o=a(t);return e(o?t.get(1):t[1],o?t.get(0):t[0],n)}}),t)},Et.prototype.__iterator=function(e,t){var n=this._iter.__iterator(1,t);return new R((function(){for(;;){var t=n.next();if(t.done)return t;var o=t.value;if(o){Vt(o);var r=a(o);return M(e,r?o.get(0):o[0],r?o.get(1):o[1],t)}}}))},It.prototype.cacheResult=kt.prototype.cacheResult=Ot.prototype.cacheResult=Et.prototype.cacheResult=Kt,t($t,pe),$t.prototype.toString=function(){return this.__toString(Jt(this)+" {","}")},$t.prototype.has=function(e){return this._defaultValues.hasOwnProperty(e)},$t.prototype.get=function(e,t){if(!this.has(e))return t;var n=this._defaultValues[e];return this._map?this._map.get(e,n):n},$t.prototype.clear=function(){if(this.__ownerID)return this._map&&this._map.clear(),this;var e=this.constructor;return e._empty||(e._empty=Xt(this,We()))},$t.prototype.set=function(e,t){if(!this.has(e))throw new Error('Cannot set unknown key "'+e+'" on '+Jt(this));if(this._map&&!this._map.has(e)&&t===this._defaultValues[e])return this;var n=this._map&&this._map.set(e,t);return this.__ownerID||n===this._map?this:Xt(this,n)},$t.prototype.remove=function(e){if(!this.has(e))return this;var t=this._map&&this._map.remove(e);return this.__ownerID||t===this._map?this:Xt(this,t)},$t.prototype.wasAltered=function(){return this._map.wasAltered()},$t.prototype.__iterator=function(e,t){var n=this;return o(this._defaultValues).map((function(e,t){return n.get(t)})).__iterator(e,t)},$t.prototype.__iterate=function(e,t){var n=this;return o(this._defaultValues).map((function(e,t){return n.get(t)})).__iterate(e,t)},$t.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map&&this._map.__ensureOwner(e);return e?Xt(this,t,e):(this.__ownerID=e,this._map=t,this)};var Zt=$t.prototype;function Xt(e,t,n){var o=Object.create(Object.getPrototypeOf(e));return o._map=t,o.__ownerID=n,o}function Jt(e){return e._name||e.constructor.name||"Record"}function en(e,t){Object.defineProperty(e,t,{get:function(){return this.get(t)},set:function(e){le(this.__ownerID,"Cannot set on an immutable record."),this.set(t,e)}})}function tn(e){return null==e?ln():nn(e)&&!u(e)?e:ln().withMutations((function(t){var n=i(e);Ee(n.size),n.forEach((function(e){return t.add(e)}))}))}function nn(e){return!(!e||!e[rn])}Zt.delete=Zt.remove,Zt.deleteIn=Zt.removeIn=Re.removeIn,Zt.merge=Re.merge,Zt.mergeWith=Re.mergeWith,Zt.mergeIn=Re.mergeIn,Zt.mergeDeep=Re.mergeDeep,Zt.mergeDeepWith=Re.mergeDeepWith,Zt.mergeDeepIn=Re.mergeDeepIn,Zt.setIn=Re.setIn,Zt.update=Re.update,Zt.updateIn=Re.updateIn,Zt.withMutations=Re.withMutations,Zt.asMutable=Re.asMutable,Zt.asImmutable=Re.asImmutable,t(tn,fe),tn.of=function(){return this(arguments)},tn.fromKeys=function(e){return this(o(e).keySeq())},tn.prototype.toString=function(){return this.__toString("Set {","}")},tn.prototype.has=function(e){return this._map.has(e)},tn.prototype.add=function(e){return sn(this,this._map.set(e,!0))},tn.prototype.remove=function(e){return sn(this,this._map.remove(e))},tn.prototype.clear=function(){return sn(this,this._map.clear())},tn.prototype.union=function(){var t=e.call(arguments,0);return 0===(t=t.filter((function(e){return 0!==e.size}))).length?this:0!==this.size||this.__ownerID||1!==t.length?this.withMutations((function(e){for(var n=0;n<t.length;n++)i(t[n]).forEach((function(t){return e.add(t)}))})):this.constructor(t[0])},tn.prototype.intersect=function(){var t=e.call(arguments,0);if(0===t.length)return this;t=t.map((function(e){return i(e)}));var n=this;return this.withMutations((function(e){n.forEach((function(n){t.every((function(e){return e.includes(n)}))||e.remove(n)}))}))},tn.prototype.subtract=function(){var t=e.call(arguments,0);if(0===t.length)return this;t=t.map((function(e){return i(e)}));var n=this;return this.withMutations((function(e){n.forEach((function(n){t.some((function(e){return e.includes(n)}))&&e.remove(n)}))}))},tn.prototype.merge=function(){return this.union.apply(this,arguments)},tn.prototype.mergeWith=function(t){var n=e.call(arguments,1);return this.union.apply(this,n)},tn.prototype.sort=function(e){return un(Lt(this,e))},tn.prototype.sortBy=function(e,t){return un(Lt(this,t,e))},tn.prototype.wasAltered=function(){return this._map.wasAltered()},tn.prototype.__iterate=function(e,t){var n=this;return this._map.__iterate((function(t,o){return e(o,o,n)}),t)},tn.prototype.__iterator=function(e,t){return this._map.map((function(e,t){return t})).__iterator(e,t)},tn.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map.__ensureOwner(e);return e?this.__make(t,e):(this.__ownerID=e,this._map=t,this)},tn.isSet=nn;var on,rn="@@__IMMUTABLE_SET__@@",an=tn.prototype;function sn(e,t){return e.__ownerID?(e.size=t.size,e._map=t,e):t===e._map?e:0===t.size?e.__empty():e.__make(t)}function cn(e,t){var n=Object.create(an);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function ln(){return on||(on=cn(We()))}function un(e){return null==e?mn():dn(e)?e:mn().withMutations((function(t){var n=i(e);Ee(n.size),n.forEach((function(e){return t.add(e)}))}))}function dn(e){return nn(e)&&u(e)}an[rn]=!0,an.delete=an.remove,an.mergeDeep=an.merge,an.mergeDeepWith=an.mergeWith,an.withMutations=Re.withMutations,an.asMutable=Re.asMutable,an.asImmutable=Re.asImmutable,an.__empty=ln,an.__make=cn,t(un,tn),un.of=function(){return this(arguments)},un.fromKeys=function(e){return this(o(e).keySeq())},un.prototype.toString=function(){return this.__toString("OrderedSet {","}")},un.isOrderedSet=dn;var pn,hn=un.prototype;function fn(e,t){var n=Object.create(hn);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function mn(){return pn||(pn=fn(wt()))}function gn(e){return null==e?Cn():bn(e)?e:Cn().unshiftAll(e)}function bn(e){return!(!e||!e[vn])}hn[f]=!0,hn.__empty=mn,hn.__make=fn,t(gn,he),gn.of=function(){return this(arguments)},gn.prototype.toString=function(){return this.__toString("Stack [","]")},gn.prototype.get=function(e,t){var n=this._head;for(e=x(this,e);n&&e--;)n=n.next;return n?n.value:t},gn.prototype.peek=function(){return this._head&&this._head.value},gn.prototype.push=function(){if(0===arguments.length)return this;for(var e=this.size+arguments.length,t=this._head,n=arguments.length-1;n>=0;n--)t={value:arguments[n],next:t};return this.__ownerID?(this.size=e,this._head=t,this.__hash=void 0,this.__altered=!0,this):Sn(e,t)},gn.prototype.pushAll=function(e){if(0===(e=r(e)).size)return this;Ee(e.size);var t=this.size,n=this._head;return e.reverse().forEach((function(e){t++,n={value:e,next:n}})),this.__ownerID?(this.size=t,this._head=n,this.__hash=void 0,this.__altered=!0,this):Sn(t,n)},gn.prototype.pop=function(){return this.slice(1)},gn.prototype.unshift=function(){return this.push.apply(this,arguments)},gn.prototype.unshiftAll=function(e){return this.pushAll(e)},gn.prototype.shift=function(){return this.pop.apply(this,arguments)},gn.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._head=void 0,this.__hash=void 0,this.__altered=!0,this):Cn()},gn.prototype.slice=function(e,t){if(T(e,t,this.size))return this;var n=k(e,this.size);if(I(t,this.size)!==this.size)return he.prototype.slice.call(this,e,t);for(var o=this.size-n,r=this._head;n--;)r=r.next;return this.__ownerID?(this.size=o,this._head=r,this.__hash=void 0,this.__altered=!0,this):Sn(o,r)},gn.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?Sn(this.size,this._head,e,this.__hash):(this.__ownerID=e,this.__altered=!1,this)},gn.prototype.__iterate=function(e,t){if(t)return this.reverse().__iterate(e);for(var n=0,o=this._head;o&&!1!==e(o.value,n++,this);)o=o.next;return n},gn.prototype.__iterator=function(e,t){if(t)return this.reverse().__iterator(e);var n=0,o=this._head;return new R((function(){if(o){var t=o.value;return o=o.next,M(e,n++,t)}return{value:void 0,done:!0}}))},gn.isStack=bn;var yn,vn="@@__IMMUTABLE_STACK__@@",_n=gn.prototype;function Sn(e,t,n,o){var r=Object.create(_n);return r.size=e,r._head=t,r.__ownerID=n,r.__hash=o,r.__altered=!1,r}function Cn(){return yn||(yn=Sn(0))}function xn(e,t){var n=function(n){e.prototype[n]=t[n]};return Object.keys(t).forEach(n),Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(t).forEach(n),e}_n[vn]=!0,_n.withMutations=Re.withMutations,_n.asMutable=Re.asMutable,_n.asImmutable=Re.asImmutable,_n.wasAltered=Re.wasAltered,n.Iterator=R,xn(n,{toArray:function(){Ee(this.size);var e=new Array(this.size||0);return this.valueSeq().__iterate((function(t,n){e[n]=t})),e},toIndexedSeq:function(){return new It(this)},toJS:function(){return this.toSeq().map((function(e){return e&&"function"==typeof e.toJS?e.toJS():e})).__toJS()},toJSON:function(){return this.toSeq().map((function(e){return e&&"function"==typeof e.toJSON?e.toJSON():e})).__toJS()},toKeyedSeq:function(){return new kt(this,!0)},toMap:function(){return Ne(this.toKeyedSeq())},toObject:function(){Ee(this.size);var e={};return this.__iterate((function(t,n){e[n]=t})),e},toOrderedMap:function(){return St(this.toKeyedSeq())},toOrderedSet:function(){return un(s(this)?this.valueSeq():this)},toSet:function(){return tn(s(this)?this.valueSeq():this)},toSetSeq:function(){return new Ot(this)},toSeq:function(){return c(this)?this.toIndexedSeq():s(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return gn(s(this)?this.valueSeq():this)},toList:function(){return rt(s(this)?this.valueSeq():this)},toString:function(){return"[Iterable]"},__toString:function(e,t){return 0===this.size?e+t:e+" "+this.toSeq().map(this.__toStringMapper).join(", ")+" "+t},concat:function(){var t=e.call(arguments,0);return Ut(this,Ft(this,t))},includes:function(e){return this.some((function(t){return ae(t,e)}))},entries:function(){return this.__iterator(2)},every:function(e,t){Ee(this.size);var n=!0;return this.__iterate((function(o,r,i){if(!e.call(t,o,r,i))return n=!1,!1})),n},filter:function(e,t){return Ut(this,At(this,e,t,!0))},find:function(e,t,n){var o=this.findEntry(e,t);return o?o[1]:n},forEach:function(e,t){return Ee(this.size),this.__iterate(t?e.bind(t):e)},join:function(e){Ee(this.size),e=void 0!==e?""+e:",";var t="",n=!0;return this.__iterate((function(o){n?n=!1:t+=e,t+=null!=o?o.toString():""})),t},keys:function(){return this.__iterator(0)},map:function(e,t){return Ut(this,Pt(this,e,t))},reduce:function(e,t,n){var o,r;return Ee(this.size),arguments.length<2?r=!0:o=t,this.__iterate((function(t,i,a){r?(r=!1,o=t):o=e.call(n,o,t,i,a)})),o},reduceRight:function(e,t,n){var o=this.toKeyedSeq().reverse();return o.reduce.apply(o,arguments)},reverse:function(){return Ut(this,Dt(this,!0))},slice:function(e,t){return Ut(this,Rt(this,e,t,!0))},some:function(e,t){return!this.every(On(e),t)},sort:function(e){return Ut(this,Lt(this,e))},values:function(){return this.__iterator(1)},butLast:function(){return this.slice(0,-1)},isEmpty:function(){return void 0!==this.size?0===this.size:!this.some((function(){return!0}))},count:function(e,t){return C(e?this.toSeq().filter(e,t):this)},countBy:function(e,t){return function(e,t,n){var o=Ne().asMutable();return e.__iterate((function(r,i){o.update(t.call(n,r,i,e),0,(function(e){return e+1}))})),o.asImmutable()}(this,e,t)},equals:function(e){return se(this,e)},entrySeq:function(){var e=this;if(e._cache)return new G(e._cache);var t=e.toSeq().map(In).toIndexedSeq();return t.fromEntrySeq=function(){return e.toSeq()},t},filterNot:function(e,t){return this.filter(On(e),t)},findEntry:function(e,t,n){var o=n;return this.__iterate((function(n,r,i){if(e.call(t,n,r,i))return o=[r,n],!1})),o},findKey:function(e,t){var n=this.findEntry(e,t);return n&&n[0]},findLast:function(e,t,n){return this.toKeyedSeq().reverse().find(e,t,n)},findLastEntry:function(e,t,n){return this.toKeyedSeq().reverse().findEntry(e,t,n)},findLastKey:function(e,t){return this.toKeyedSeq().reverse().findKey(e,t)},first:function(){return this.find(w)},flatMap:function(e,t){return Ut(this,function(e,t,n){var o=qt(e);return e.toSeq().map((function(r,i){return o(t.call(n,r,i,e))})).flatten(!0)}(this,e,t))},flatten:function(e){return Ut(this,jt(this,e,!0))},fromEntrySeq:function(){return new Et(this)},get:function(e,t){return this.find((function(t,n){return ae(n,e)}),void 0,t)},getIn:function(e,t){for(var n,o=this,r=Qt(e);!(n=r.next()).done;){var i=n.value;if((o=o&&o.get?o.get(i,m):m)===m)return t}return o},groupBy:function(e,t){return function(e,t,n){var o=s(e),r=(u(e)?St():Ne()).asMutable();e.__iterate((function(i,a){r.update(t.call(n,i,a,e),(function(e){return(e=e||[]).push(o?[a,i]:i),e}))}));var i=qt(e);return r.map((function(t){return Ut(e,i(t))}))}(this,e,t)},has:function(e){return this.get(e,m)!==m},hasIn:function(e){return this.getIn(e,m)!==m},isSubset:function(e){return e="function"==typeof e.includes?e:n(e),this.every((function(t){return e.includes(t)}))},isSuperset:function(e){return(e="function"==typeof e.isSubset?e:n(e)).isSubset(this)},keyOf:function(e){return this.findKey((function(t){return ae(t,e)}))},keySeq:function(){return this.toSeq().map(kn).toIndexedSeq()},last:function(){return this.toSeq().reverse().first()},lastKeyOf:function(e){return this.toKeyedSeq().reverse().keyOf(e)},max:function(e){return Ht(this,e)},maxBy:function(e,t){return Ht(this,t,e)},min:function(e){return Ht(this,e?En(e):Dn)},minBy:function(e,t){return Ht(this,t?En(t):Dn,e)},rest:function(){return this.slice(1)},skip:function(e){return this.slice(Math.max(0,e))},skipLast:function(e){return Ut(this,this.toSeq().reverse().skip(e).reverse())},skipWhile:function(e,t){return Ut(this,Mt(this,e,t,!0))},skipUntil:function(e,t){return this.skipWhile(On(e),t)},sortBy:function(e,t){return Ut(this,Lt(this,t,e))},take:function(e){return this.slice(0,Math.max(0,e))},takeLast:function(e){return Ut(this,this.toSeq().reverse().take(e).reverse())},takeWhile:function(e,t){return Ut(this,function(e,t,n){var o=Gt(e);return o.__iterateUncached=function(o,r){var i=this;if(r)return this.cacheResult().__iterate(o,r);var a=0;return e.__iterate((function(e,r,s){return t.call(n,e,r,s)&&++a&&o(e,r,i)})),a},o.__iteratorUncached=function(o,r){var i=this;if(r)return this.cacheResult().__iterator(o,r);var a=e.__iterator(2,r),s=!0;return new R((function(){if(!s)return{value:void 0,done:!0};var e=a.next();if(e.done)return e;var r=e.value,c=r[0],l=r[1];return t.call(n,l,c,i)?2===o?e:M(o,c,l,e):(s=!1,{value:void 0,done:!0})}))},o}(this,e,t))},takeUntil:function(e,t){return this.takeWhile(On(e),t)},valueSeq:function(){return this.toIndexedSeq()},hashCode:function(){return this.__hash||(this.__hash=function(e){if(e.size===1/0)return 0;var t=u(e),n=s(e),o=t?1:0;return function(e,t){return t=me(t,3432918353),t=me(t<<15|t>>>-15,461845907),t=me(t<<13|t>>>-13,5),t=me((t=(t+3864292196|0)^e)^t>>>16,2246822507),ge((t=me(t^t>>>13,3266489909))^t>>>16)}(e.__iterate(n?t?function(e,t){o=31*o+An(be(e),be(t))|0}:function(e,t){o=o+An(be(e),be(t))|0}:t?function(e){o=31*o+be(e)|0}:function(e){o=o+be(e)|0}),o)}(this))}});var wn=n.prototype;wn[d]=!0,wn[A]=wn.values,wn.__toJS=wn.toArray,wn.__toStringMapper=Nn,wn.inspect=wn.toSource=function(){return this.toString()},wn.chain=wn.flatMap,wn.contains=wn.includes,xn(o,{flip:function(){return Ut(this,Nt(this))},mapEntries:function(e,t){var n=this,o=0;return Ut(this,this.toSeq().map((function(r,i){return e.call(t,[i,r],o++,n)})).fromEntrySeq())},mapKeys:function(e,t){var n=this;return Ut(this,this.toSeq().flip().map((function(o,r){return e.call(t,o,r,n)})).flip())}});var Tn=o.prototype;function kn(e,t){return t}function In(e,t){return[t,e]}function On(e){return function(){return!e.apply(this,arguments)}}function En(e){return function(){return-e.apply(this,arguments)}}function Nn(e){return"string"==typeof e?JSON.stringify(e):String(e)}function Pn(){return S(arguments)}function Dn(e,t){return e<t?1:e>t?-1:0}function An(e,t){return e^t+2654435769+(e<<6)+(e>>2)|0}return Tn[p]=!0,Tn[A]=wn.entries,Tn.__toJS=wn.toObject,Tn.__toStringMapper=function(e,t){return JSON.stringify(t)+": "+Nn(e)},xn(r,{toKeyedSeq:function(){return new kt(this,!1)},filter:function(e,t){return Ut(this,At(this,e,t,!1))},findIndex:function(e,t){var n=this.findEntry(e,t);return n?n[0]:-1},indexOf:function(e){var t=this.keyOf(e);return void 0===t?-1:t},lastIndexOf:function(e){var t=this.lastKeyOf(e);return void 0===t?-1:t},reverse:function(){return Ut(this,Dt(this,!1))},slice:function(e,t){return Ut(this,Rt(this,e,t,!1))},splice:function(e,t){var n=arguments.length;if(t=Math.max(0|t,0),0===n||2===n&&!t)return this;e=k(e,e<0?this.count():this.size);var o=this.slice(0,e);return Ut(this,1===n?o:o.concat(S(arguments,2),this.slice(e+t)))},findLastIndex:function(e,t){var n=this.findLastEntry(e,t);return n?n[0]:-1},first:function(){return this.get(0)},flatten:function(e){return Ut(this,jt(this,e,!1))},get:function(e,t){return(e=x(this,e))<0||this.size===1/0||void 0!==this.size&&e>this.size?t:this.find((function(t,n){return n===e}),void 0,t)},has:function(e){return(e=x(this,e))>=0&&(void 0!==this.size?this.size===1/0||e<this.size:-1!==this.indexOf(e))},interpose:function(e){return Ut(this,function(e,t){var n=Gt(e);return n.size=e.size&&2*e.size-1,n.__iterateUncached=function(n,o){var r=this,i=0;return e.__iterate((function(e,o){return(!i||!1!==n(t,i++,r))&&!1!==n(e,i++,r)}),o),i},n.__iteratorUncached=function(n,o){var r,i=e.__iterator(1,o),a=0;return new R((function(){return(!r||a%2)&&(r=i.next()).done?r:a%2?M(n,a++,t):M(n,a++,r.value,r)}))},n}(this,e))},interleave:function(){var e=[this].concat(S(arguments)),t=zt(this.toSeq(),W.of,e),n=t.flatten(!0);return t.size&&(n.size=t.size*e.length),Ut(this,n)},keySeq:function(){return ue(0,this.size)},last:function(){return this.get(-1)},skipWhile:function(e,t){return Ut(this,Mt(this,e,t,!1))},zip:function(){var e=[this].concat(S(arguments));return Ut(this,zt(this,Pn,e))},zipWith:function(e){var t=S(arguments);return t[0]=this,Ut(this,zt(this,e,t))}}),r.prototype[h]=!0,r.prototype[f]=!0,xn(i,{get:function(e,t){return this.has(e)?e:t},includes:function(e){return this.has(e)},keySeq:function(){return this.valueSeq()}}),i.prototype.has=wn.includes,i.prototype.contains=i.prototype.includes,xn(V,o.prototype),xn(W,r.prototype),xn(q,i.prototype),xn(pe,o.prototype),xn(he,r.prototype),xn(fe,i.prototype),{Iterable:n,Seq:U,Collection:de,Map:Ne,OrderedMap:St,List:rt,Stack:gn,Set:tn,OrderedSet:un,Record:$t,Range:ue,Repeat:ce,is:ae,fromJS:oe}}()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.wireupLinks=t.hasSignedIn=t.setSignInNode=t.findAndReplaceVariables=t.iterativelyReadDictValue=t._hasRaiseEventName=t._validateStaticChoices=t._nullableOfPropType=t._ofPropType=t._nullableExistsInNodes=t._existsInNodes=t._notNullableContentType=t._notNullableArray=t._nullableArray=t._notNullableNumber=t._nullableNumber=t._notNullableString=t._nullableString=t._isTextOrHtmlValid=t._isValidHTML=t._notNullableObject=t._isElmInViewport=t.executeLogHandler=t.generateAdhocs=t.uuidOptions=t.truncateWithEllipsis=t.mergeClassNames=t.setDangerouslyInnerHtml=void 0;var o=n(14);t.setDangerouslyInnerHtml=function(e){return{__html:e}},t.mergeClassNames=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return e?e.join(" "):String()},t.truncateWithEllipsis=function(e,t){if(e){if(e.includes(" ")){if(t&&e.length>t){for(var n=e.split(" "),o=4,r=[],i=0;i<n.length&&(o+=n[i].length,i>0&&(o+=1),o<t);i++)r.push(n[i]);r.length>0&&(e=r.join(" ")+" ...")}}else if(e.length>t)return e.substring(0,t)+" ...";return e}return String()},t.uuidOptions=function(){for(var e=new Array(16),t=4294967296*Math.random(),n=0;n<16;n++)0==(3&n)&&(t=4294967296*Math.random()),e[n]=t>>>((3&n)<<3)&255;return{random:e}};var r=function(e,t){var n;return e&&t&&(n=t().get("IntentGraph").get("renderedNodes").find((function(t){return t.get("id")===e}))),n};t.generateAdhocs=function(e,t,n,o){var i=[];return e&&(i.push(e.get("id")),i.push(e.get("title")),i.push(e.get("supportAreaReference"))),(n=n||o&&o.get("id"))&&i.push(n),o||n&&(o=r(n,t)),o&&(i.push(o.get("type")),i.push(o.get("actionReference"))),i},t.executeLogHandler=function(e,n,o,i,a,s,c){if(void 0===o&&(o=""),a&&"function"==typeof a){var l=s().get("IntentGraph").get("staticConfig").get("jsonDocument").get("meta"),u=s().get("IntentGraph").get("staticConfig").get("sessionId"),d=null;if(i){var p=r(i,s);d="string"==typeof p.get("tags")?p.get("tags"):JSON.stringify(d)}a(e,n,u,"message: "+o+", tags: "+d,c||t.generateAdhocs(l,s,i))}},t._isElmInViewport=function(e){var t=e.getBoundingClientRect();return t.top>=0&&t.left>=0&&t.bottom<=(window.innerHeight||document.documentElement.clientHeight)&&t.right<=(window.innerWidth||document.documentElement.clientWidth)},t._notNullableObject=function(e){return!("object"!=typeof e||e instanceof Array||e instanceof Date)},t._isValidHTML=function(e){var t,n;return t=(e=(e=(e=e.replace(/\r?\n|\r/g,"")).replace(/<[^>]*\/\s?>/g,"")).replace(/<(br|hr|img).*?>/g,"")).match(/<[^\/].*?>/g)||[],n=e.match(/<\/.+?>/g)||[],t.length===n.length},t._isTextOrHtmlValid=function(e){return e&&t._isValidHTML(e)},t._nullableString=function(e){return!e||"string"==typeof e},t._notNullableString=function(e){return"string"==typeof e},t._nullableNumber=function(e){return!e||"number"==typeof e},t._notNullableNumber=function(e){return"number"==typeof e},t._nullableArray=function(e){return!e||"object"==typeof e&&e instanceof Array},t._notNullableArray=function(e){return"object"==typeof e&&e instanceof Array},t._notNullableContentType=function(e){return!!e&&Object.values(o.ContentType).includes(e)},t._existsInNodes=function(e,t){return!(!e||"string"!=typeof e||!t||!t.find((function(t){return t&&t.id&&t.id.toLowerCase()===e.toLowerCase()})))},t._nullableExistsInNodes=function(e,n){return!e||t._existsInNodes(e,n)},t._ofPropType=function(e,t){return!!e&&(typeof e===t||e===t||"string"==typeof t&&"string"==typeof e&&e.toLowerCase()&&t.toLowerCase()||"object"==typeof t&&Object.values(t).includes(e.toLowerCase())||"object"==typeof e&&e instanceof t)},t._nullableOfPropType=function(e,t){return!e||!!e&&(typeof e===t||e===t||"string"==typeof t&&"string"==typeof e&&e.toLowerCase()&&t.toLowerCase()||"object"==typeof t&&Object.values(t).join(",").toLowerCase().includes(e.toLowerCase())||"object"==typeof e&&e instanceof t)},t._validateStaticChoices=function(e,t){e&&e.forEach((function(e,t){}))},t._hasRaiseEventName=function(e){return e&&e.toLowerCase()==="ContactSupport".toLowerCase()},t.iterativelyReadDictValue=function(e,t,n){var o=e;if(t&&e){var r=t.split(n);for(var i in r)if(i&&r[i]){var a=r[i];r.hasOwnProperty(i)&&(o=o[a])}return o}return null},t.findAndReplaceVariables=function(e,n,o){var r=n,i=o;return r&&r.match(i).forEach((function(n){var o=!1,i=n,a=[];n&&n.includes(".")&&(a=n.replace("{{","").replace("}}","").split("."),i="{{"+a[0]+"}}",o=!0);var s=e.find((function(e){return i.includes("}}")&&i.includes("{{")&&i.toLowerCase()==="{{"+e.get("name").trim().toLowerCase()+"}}"}));if(s){var c=s.get("value"),l=void 0;o&&(a.shift(),l=t.iterativelyReadDictValue(c,a.join(""),".")),r=r.replace(n,l||c)}})),r},t.setSignInNode=function(e,n,o){if(e&&e.get("staticChoices")){var r="";e.get("staticChoices").find((function(e){return!!t.hasSignedIn(e.get("raiseEventName"),n)&&(r=e.get("targetNodeId"),!0)})),r&&(e=o.get("nodes").find((function(e){return e.get("id")===r})))}return e},t.hasSignedIn=function(e,t){return!(!e||"signin"!==e||!t||"function"!=typeof t)&&t()},t.wireupLinks=function(e){try{if(e){var t=(new DOMParser).parseFromString(e,"text/html");if(t){for(var n=t.getElementsByTagName("a"),o=n.length,r=void 0,i=0;i<o;i++)(r=n.item(i))&&!r.hasAttribute("target")&&r.setAttribute("target","_blank");return(t.firstElementChild?t.firstElementChild:t.firstChild).innerHTML}}}catch(e){e&&console.log("wireupLinks failed: "+e)}return e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ValidationModel=t.ErrorLevel=void 0,function(e){e.critical="critical",e.warning="warning"}(t.ErrorLevel||(t.ErrorLevel={})),t.ValidationModel=function(e,t){this.message=e,this.level=t}},function(e,t,n){"use strict";var o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.DiagnosticStatusBar=void 0;var r=n(9),i=o(n(0)),a=n(87),s=n(19),c=n(18),l=n(79),u=n(34);t.DiagnosticStatusBar=function(e){var t=e.node.get("title"),n=e.node.get("id"),o=t&&t.get("content")?t.get("content"):"",d=u(s.uuidOptions()),p=e.node.get("diagnosticsActionStatus"),h=p===a.DiagnosticsActionStatus.CompletedSuccessfully,f=e.prefix;return(p===a.DiagnosticsActionStatus.CompletedSuccessfully||p===a.DiagnosticsActionStatus.Error)&&i.default.createElement("div",{key:d+"-"+f+"header"},i.default.createElement(r.DefaultButton,{ariaLabel:o,key:d,styles:c.getOptionBtnStyles({theme:e.theme,stylesFunc:e.stylesFunc}),allowDisabledFocus:!0,checked:!0,primary:!0},i.default.createElement(l.TextFieldComponent,{componentkey:n+"$title$"+d,key:d+"$title$",callbackHandlers:e.callbackHandlers,stylesFunc:e.stylesFunc,textContent:e.node.get("title"),className:e.classNames.label,sessionId:e.sessionId,node:e.node,meta:e.meta}),i.default.createElement(r.FontIcon,{iconName:h?"CompletedSolid":"StatusErrorFull",className:h?e.classNames.completedIcon:e.classNames.failedIcon,key:e.node.get("id")+"$"+f+"Icon$nodeAccordion"})))}},function(e,t,n){"use strict";var o,r=this&&this.__extends||(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),i=this&&this.__createBinding||(Object.create?function(e,t,n,o){void 0===o&&(o=n),Object.defineProperty(e,o,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,o){void 0===o&&(o=n),e[o]=t[n]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),s=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.hasOwnProperty.call(e,n)&&i(t,e,n);return a(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.SafInlineDiagnostics=void 0;var c=n(9),l=s(n(0)),u=n(14),d=n(33),p=n(8),h=n(17),f=n(19),m=s(n(170)),g=n(18),b=n(29),y=n(25),v=n(20),_=n(46),S=n(171),C=p.createStructuredSelector({diagnosticsForm:v.diagnosticsFormSelector,diagnosticsResponse:v.diagnosticsResponseSelector,diagnosticsProgress:v.diagnosticsProgressSelectror,node:v.getNodeSelector,sessionId:v.sessionIdSelector,meta:v.jsonPayloadMetaSelector,staticConfig:v.staticConfigSelector,maxIteration:v.diagnosticsMaxRetriesSelector}),x={dispatchDiagnosticsFormComponentUpdate:y.dispatchDiagnosticsFormComponentUpdate,dispatchStartDiagnostics:y.dispatchStartDiagnostics,dispatchStartSAFAction:y.dispatchStartSAFAction,resetDiagnosticsRunStatusAction:b.resetDiagnosticsRunStatusAction,setDiagnosticsStatusAction:b.setDiagnosticsStatusAction},w=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.sectionClassNames=g.getsafDiagnosticsClassNames(t.props.styles,{theme:t.props.theme,stylesFunc:t.props.stylesFunc}),t.commonClassNames=_.getCommonClassNames(t.props.styles,{theme:t.props.theme,stylesFunc:t.props.stylesFunc}),t.defaultBtnLabel=m.Diagnostics.SubmitButtonLabel,t._getDiagnosticsTitleAndDetail=function(){var e=t.props.diagnosticsResponse.get("Title"),n=f.truncateWithEllipsis(e,d.SafConstants.DiagnosticsTitleStringLimit);return l.createElement(l.Fragment,null,!!e&&l.createElement(l.Fragment,null,l.createElement("div",{className:c.mergeStyles(t.sectionClassNames.title,t.sectionClassNames.contentContainer)},l.createElement("div",{title:e},n))),t.props.diagnosticsResponse.get("Details")&&l.createElement("div",{className:t.sectionClassNames.contentContainer,dangerouslySetInnerHTML:t._getDiagnosticsDetails()}))},t._getContinueWithNext=function(){return l.createElement(l.Fragment,null,t._getDiagnosticsTitleAndDetail(),t._getDiagnosticsForm())},t._getDiagnosticsDetails=function(){return{__html:t.props.diagnosticsResponse.get("Details")}},t._getDiagnosticsForm=function(){var e=t.props.diagnosticsForm&&t.props.diagnosticsForm.get("ButtonLabel")?t.props.diagnosticsForm.get("ButtonLabel"):t.defaultBtnLabel;return l.createElement(l.Fragment,null,l.createElement(S.FormBuilder,{stylesFunc:t.props.stylesFunc,callbackHandlers:t.props.callbackHandlers,key:t.props.diagnosticsForm.get("Key"),formSchema:t.props.diagnosticsForm,submitBtnLabel:e,formComponentReducer:t.props.dispatchDiagnosticsFormComponentUpdate,formSubmitReducer:t._onFormSubmit}))},t._onFormSubmit=function(){t.props.isSAFAction?t.props.dispatchStartSAFAction(t.props.callbackHandlers.ExecuteSAFAction,t.props.callbackHandlers.LogHandler,t.props.node):t.props.dispatchStartDiagnostics(t.props.callbackHandlers.StartDiagnostics,t.props.callbackHandlers.GetDiagnosticsResult,t.props.callbackHandlers.LogHandler,t.props.node.get("id"),t.props.node.get("uId")),t.props.callbackHandlers.LogHandler(u.LogEventName.onStartDiagnosticsRun,u.LogLevel.Info,t.props.sessionId,"StartDiagnostics runs.",f.generateAdhocs(t.props.meta,void 0,void 0,t.props.node))},t._getDiagnosticsViewMode=function(){if(t.props.diagnosticsResponse){if(t.props.diagnosticsResponse.size<=0)return 0;switch(t.props.diagnosticsResponse.get("Status")){case d.DiagnosticsExecutionStatus.Executing:case d.DiagnosticsExecutionStatus.StartRequested:return 1;case d.DiagnosticsExecutionStatus.Failed:return 3;case d.DiagnosticsExecutionStatus.Completed:return 2;case d.DiagnosticsExecutionStatus.ContinueWithNext:return 4}}return 0},t._renderRunCompleteView=function(e,n,o){return t.props.isSAFAction?null:l.createElement(l.Fragment,null,3===e&&l.createElement(l.Fragment,null,n&&l.createElement(l.Fragment,null,l.createElement("div",{className:c.mergeStyles(t.commonClassNames.sectionHeader,t.sectionClassNames.contentContainer)},n)),o&&l.createElement("div",{className:t.sectionClassNames.contentContainer},o),l.createElement("div",{className:t.sectionClassNames.sectionContainer},l.createElement(c.PrimaryButton,{text:m.Diagnostics.RerunTestButtonLabel,onClick:t._onRerunClick,autoFocus:!0}))),2===e&&l.createElement(l.Fragment,null,t._getDiagnosticsTitleAndDetail()))},t._onRerunClick=function(){t.props.resetDiagnosticsRunStatusAction(),t.props.callbackHandlers.LogHandler(u.LogEventName.onDiagnosticsRerun,u.LogLevel.Info,t.props.sessionId,"Diagnostics rerun tests.",f.generateAdhocs(t.props.meta,void 0,void 0,t.props.node))},t}return r(t,e),t.prototype.render=function(){if(!this.props.diagnosticsForm)return l.createElement(l.Fragment,null);switch(this._getDiagnosticsViewMode()){case 0:return this._getDiagnosticsForm();case 1:return l.createElement(l.Fragment,null,l.createElement(l.Fragment,null,l.createElement("div",{className:this.sectionClassNames.contentContainer},l.createElement("div",{className:this.commonClassNames.sectionHeader},m.Diagnostics.DiagnosticsInProgressMessageTitle),l.createElement("div",null,m.Diagnostics.DiagnosticsInProgressMessageDesc))),l.createElement("div",{className:this.sectionClassNames.contentContainer},l.createElement(c.ProgressIndicator,{description:m.Diagnostics.DiagnosticsInProgressIndicatorDesc})));case 3:var e=m.Diagnostics.DiagnosticsRunFailedTitle;return this.props.diagnosticsProgress===this.props.maxIteration&&(e=m.Diagnostics.DiagnosticsRunTimeoutTitle),l.createElement(l.Fragment,null,this._renderRunCompleteView(3,e));case 2:return e=m.Diagnostics.DiagnosticsRunCompleted,l.createElement(l.Fragment,null,this._renderRunCompleteView(2,e));case 4:return l.createElement(l.Fragment,null,this._getContinueWithNext())}},t}(l.PureComponent);t.SafInlineDiagnostics=p.mconnect(C,x)(h.styledComponent(w,g.getSafDiagnosticsStyles))},function(e,t,n){"use strict";function o(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}n.r(t);var r=n(0),i=n.n(r),a=n(36),s=n.n(a),c=i.a.createContext(null),l=function(e){function t(t){var n;n=e.call(this,t)||this;var o=t.store;return n.state={storeState:o.getState(),store:o},n}o(t,e);var n=t.prototype;return n.componentDidMount=function(){this._isMounted=!0,this.subscribe()},n.componentWillUnmount=function(){this.unsubscribe&&this.unsubscribe(),this._isMounted=!1},n.componentDidUpdate=function(e){this.props.store!==e.store&&(this.unsubscribe&&this.unsubscribe(),this.subscribe())},n.subscribe=function(){var e=this,t=this.props.store;this.unsubscribe=t.subscribe((function(){var n=t.getState();e._isMounted&&e.setState((function(e){return e.storeState===n?null:{storeState:n}}))}));var n=t.getState();n!==this.state.storeState&&this.setState({storeState:n})},n.render=function(){var e=this.props.context||c;return i.a.createElement(e.Provider,{value:this.state},this.props.children)},t}(r.Component);l.propTypes={store:s.a.shape({subscribe:s.a.func.isRequired,dispatch:s.a.func.isRequired,getState:s.a.func.isRequired}),context:s.a.object,children:s.a.any};var u=l;function d(){return(d=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e}).apply(this,arguments)}function p(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||(r[n]=e[n]);return r}var h=n(84),f=n.n(h),m=n(41),g=n.n(m),b=n(81);function y(e,t){void 0===t&&(t={});var n=t,a=n.getDisplayName,s=void 0===a?function(e){return"ConnectAdvanced("+e+")"}:a,l=n.methodName,u=void 0===l?"connectAdvanced":l,h=n.renderCountProp,m=void 0===h?void 0:h,y=n.shouldHandleStateChanges,v=void 0===y||y,_=n.storeKey,S=void 0===_?"store":_,C=n.withRef,x=void 0!==C&&C,w=n.forwardRef,T=void 0!==w&&w,k=n.context,I=void 0===k?c:k,O=p(n,["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef","forwardRef","context"]);g()(void 0===m,"renderCountProp is removed. render counting is built into the latest React dev tools profiling extension"),g()(!x,"withRef is removed. To access the wrapped instance, use a ref on the connected component");var E="To use a custom Redux store for specific components,  create a custom React context with React.createContext(), and pass the context object to React Redux's Provider and specific components like:  <Provider context={MyContext}><ConnectedComponent context={MyContext} /></Provider>. You may also pass a {context : MyContext} option to connect";g()("store"===S,"storeKey has been removed and does not do anything. "+E);var N=I;return function(t){var n=t.displayName||t.name||"Component",a=s(n),c=d({},O,{getDisplayName:s,methodName:u,renderCountProp:m,shouldHandleStateChanges:v,storeKey:S,displayName:a,wrappedComponentName:n,WrappedComponent:t}),l=O.pure,p=r.Component;l&&(p=r.PureComponent);var h=function(n){function r(t){var o,r,a,s,c,u,p,h,f,m,b;return o=n.call(this,t)||this,g()(T?!t.wrapperProps[S]:!t[S],"Passing redux store in props has been removed and does not do anything. "+E),o.selectDerivedProps=function(t,n,o,i){if(l&&r===n&&a===t)return s;o===c&&u===i||(c=o,u=i,p=e(o.dispatch,i)),r=n,a=t;var d=p(t,n);return s=d},o.selectChildElement=function(e,t,n){return t===h&&n===f&&b===e||(h=t,f=n,b=e,m=i.a.createElement(e,d({},t,{ref:n}))),m},o.indirectRenderWrappedComponent=o.indirectRenderWrappedComponent.bind(function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(o)),o}o(r,n);var s=r.prototype;return s.indirectRenderWrappedComponent=function(e){return this.renderWrappedComponent(e)},s.renderWrappedComponent=function(e){g()(e,'Could not find "store" in the context of "'+a+'". Either wrap the root component in a <Provider>, or pass a custom React context provider to <Provider> and the corresponding React context consumer to '+a+" in connect options.");var n,o=e.storeState,r=e.store,i=this.props;T&&(i=this.props.wrapperProps,n=this.props.forwardedRef);var s=this.selectDerivedProps(o,i,r,c);return this.selectChildElement(t,s,n)},s.render=function(){var e=this.props.context&&this.props.context.Consumer&&Object(b.isContextConsumer)(i.a.createElement(this.props.context.Consumer,null))?this.props.context:N;return i.a.createElement(e.Consumer,null,this.indirectRenderWrappedComponent)},r}(p);if(h.WrappedComponent=t,h.displayName=a,T){var y=i.a.forwardRef((function(e,t){return i.a.createElement(h,{wrapperProps:e,forwardedRef:t})}));return y.displayName=a,y.WrappedComponent=t,f()(y,t)}return f()(h,t)}}var v=Object.prototype.hasOwnProperty;function _(e,t){return e===t?0!==e||0!==t||1/e==1/t:e!=e&&t!=t}function S(e,t){if(_(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),o=Object.keys(t);if(n.length!==o.length)return!1;for(var r=0;r<n.length;r++)if(!v.call(t,n[r])||!_(e[n[r]],t[n[r]]))return!1;return!0}var C=n(82);function x(e){return function(t,n){var o=e(t,n);function r(){return o}return r.dependsOnOwnProps=!1,r}}function w(e){return null!==e.dependsOnOwnProps&&void 0!==e.dependsOnOwnProps?Boolean(e.dependsOnOwnProps):1!==e.length}function T(e,t){return function(t,n){n.displayName;var o=function(e,t){return o.dependsOnOwnProps?o.mapToProps(e,t):o.mapToProps(e)};return o.dependsOnOwnProps=!0,o.mapToProps=function(t,n){o.mapToProps=e,o.dependsOnOwnProps=w(e);var r=o(t,n);return"function"==typeof r&&(o.mapToProps=r,o.dependsOnOwnProps=w(r),r=o(t,n)),r},o}}function k(e,t,n){return d({},n,e,t)}function I(e,t,n,o){return function(r,i){return n(e(r,i),t(o,i),i)}}function O(e,t,n,o,r){var i,a,s,c,l,u=r.areStatesEqual,d=r.areOwnPropsEqual,p=r.areStatePropsEqual,h=!1;function f(r,h){var f,m,g=!d(h,a),b=!u(r,i);return i=r,a=h,g&&b?(s=e(i,a),t.dependsOnOwnProps&&(c=t(o,a)),l=n(s,c,a)):g?(e.dependsOnOwnProps&&(s=e(i,a)),t.dependsOnOwnProps&&(c=t(o,a)),l=n(s,c,a)):b?(f=e(i,a),m=!p(f,s),s=f,m&&(l=n(s,c,a)),l):l}return function(r,u){return h?f(r,u):(s=e(i=r,a=u),c=t(o,a),l=n(s,c,a),h=!0,l)}}function E(e,t,n){for(var o=t.length-1;o>=0;o--){var r=t[o](e);if(r)return r}return function(t,o){throw new Error("Invalid value of type "+typeof e+" for "+n+" argument when connecting component "+o.wrappedComponentName+".")}}function N(e,t){return e===t}var P,D,A,R,M,F,j,L,H,B,z,U=(D=(P={}).connectHOC,A=void 0===D?y:D,M=void 0===(R=P.mapStateToPropsFactories)?[function(e){return"function"==typeof e?T(e):void 0},function(e){return e?void 0:x((function(){return{}}))}]:R,j=void 0===(F=P.mapDispatchToPropsFactories)?[function(e){return"function"==typeof e?T(e):void 0},function(e){return e?void 0:x((function(e){return{dispatch:e}}))},function(e){return e&&"object"==typeof e?x((function(t){return Object(C.bindActionCreators)(e,t)})):void 0}]:F,H=void 0===(L=P.mergePropsFactories)?[function(e){return"function"==typeof e?function(e){return function(t,n){n.displayName;var o,r=n.pure,i=n.areMergedPropsEqual,a=!1;return function(t,n,s){var c=e(t,n,s);return a?r&&i(c,o)||(o=c):(a=!0,o=c),o}}}(e):void 0},function(e){return e?void 0:function(){return k}}]:L,z=void 0===(B=P.selectorFactory)?function(e,t){var n=t.initMapStateToProps,o=t.initMapDispatchToProps,r=t.initMergeProps,i=p(t,["initMapStateToProps","initMapDispatchToProps","initMergeProps"]),a=n(e,i),s=o(e,i),c=r(e,i);return(i.pure?O:I)(a,s,c,e,i)}:B,function(e,t,n,o){void 0===o&&(o={});var r=o,i=r.pure,a=void 0===i||i,s=r.areStatesEqual,c=void 0===s?N:s,l=r.areOwnPropsEqual,u=void 0===l?S:l,h=r.areStatePropsEqual,f=void 0===h?S:h,m=r.areMergedPropsEqual,g=void 0===m?S:m,b=p(r,["pure","areStatesEqual","areOwnPropsEqual","areStatePropsEqual","areMergedPropsEqual"]),y=E(e,M,"mapStateToProps"),v=E(t,j,"mapDispatchToProps"),_=E(n,H,"mergeProps");return A(z,d({methodName:"connect",getDisplayName:function(e){return"Connect("+e+")"},shouldHandleStateChanges:Boolean(e),initMapStateToProps:y,initMapDispatchToProps:v,initMergeProps:_,pure:a,areStatesEqual:c,areOwnPropsEqual:u,areStatePropsEqual:f,areMergedPropsEqual:g},b))});n.d(t,"Provider",(function(){return u})),n.d(t,"connectAdvanced",(function(){return y})),n.d(t,"ReactReduxContext",(function(){return c})),n.d(t,"connect",(function(){return U}))},function(e,t,n){"use strict";var o,r=n(12),i=n(4);function a(){if(void 0===o){var e=Object(r.a)(),t=function(e){var t=null;try{var n=Object(i.a)();t=n?n.localStorage.getItem("language"):null}catch(e){}return t}();null!==t&&(o=t),void 0===o&&e&&(o=e.documentElement.getAttribute("lang")),void 0===o&&(o="en")}return o}function s(e,t){void 0===t&&(t=!1);var n=Object(r.a)();n&&n.documentElement.setAttribute("lang",e),t||function(e,t){try{var n=Object(i.a)();n&&n.localStorage.setItem("language",t)}catch(e){}}(0,e),o=e}n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return s}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var o=n(40);function r(e,t,n){void 0===n&&(n=!0);var r=!1;if(e&&t)if(n)if(e===t)r=!0;else for(r=!1;t;){var i=Object(o.a)(t);if(i===e){r=!0;break}t=i}else e.contains&&(r=e.contains(t));return r}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var o=n(61);function r(e){var t;return e&&Object(o.a)(e)&&(t=e._virtual.parent),t}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var o=n(62);function r(e,t){var n=Object(o.a)(e,(function(e){return e.hasAttribute(t)}));return n&&n.getAttribute(t)}},function(e,t,n){"use strict";function o(e){var t,n=e.Symbol;return"function"==typeof n?n.observable?t=n.observable:(t=n("observable"),n.observable=t):t="@@observable",t}n.d(t,"a",(function(){return o}))},function(e,t,n){"use strict";(function(e){var n="object"==typeof e&&e&&e.Object===Object&&e;t.a=n}).call(this,n(69))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.defaultMockLightTheme=t.defaultMockDarkTheme=t.getLoopingGraph=t.getExchangeLitigationHoldHowtoLindabr=t.getSupportCentralDataLossPreventionJson=t.getCameraTroubleshootingJson=t.getVariousTestsJson=t.getStartWithDiagnosticsNode=t.getJsonTestMetaOnly=t.getMalformedJson=t.getBrokenStartNodeReference=t.getEmptyJson=t.getGetHelpCameraScenario_10082020=t.getGetHelpCameraScenario_Simplified10022020=t.getGetHelpCameraScenarioWithDynamicChoices=t.getGetHelpCameraScenarioWithTargets=t.getGetHelpCameraScenarioSimplified=t.getSupportCentralEmailHackedMap=t.getSAFOfficeProducts=t.getSupportCentralCreditCardMap=t.getSampleDafSchema=t.getGetHelpCameraNotWorkingMap=t.getSafConferencingDiagnosticSalarsonTest=t.mockDafHandler=t.mockSafDiagnosticsResultActionHandler=t.mockSafActionExecuteHandler=t.mockSafActionFetchSchemaHandler=t.mockSafStartDiagnosticsActionHandler=t.mockSafDiagnosticsActionHandler=t.mockDafDiagnosticsActionHandler=t.resultFromBugBashWithChoiuces=t.resultDafSuccessFalse=t.resultCameraWithChoices=t.resultCameraTarget=t.mockSafHandler=t.promiseFunctionWrapper=t.checkAppUsingCameraContent=t.UpdateCameraPrivacySettingContent=t.unplugAndReconnectCameraContent=t.mockContentPromiseFunction=void 0;var o=n(2),r=n(33),i=n(8);t.mockContentPromiseFunction=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];console.log("promise - args",e);var o=e[1],r={SolutionTitle:"Intune ポリシーおよびプロファイルのトラブルシューティング",SolutionContent:'<div>\r\n\t\t\t<p>既存のポリシーの確認、競合のトラブルシューティング、ログ データの確認、およびよくある質問や問題を確認するには、次のガイドが役立ちます。</p>\n<ul>\n<li>「<a href="https://docs.microsoft.com/troubleshoot/mem/intune/troubleshoot-policies-in-microsoft-intune?WT.mc_id=365AdminCSH_support" data-linktype="external" target="_blank" data-placeholder-to-wire-clientevents >Intune のポリシーとプロファイルのトラブルシューティング</a>」</li>\n<li>「<a href="https://docs.microsoft.com/mem/intune/configuration/device-profile-troubleshoot?WT.mc_id=365AdminCSH_support" data-linktype="external" target="_blank" data-placeholder-to-wire-clientevents >Intune のデバイス ポリシーとプロファイルについての一般的な質問、問題、および解決策</a>」</li>\n<li>「<a href="https://docs.microsoft.com/mem/intune/configuration/device-profile-monitor?WT.mc_id=365AdminCSH_support" data-linktype="external" target="_blank" data-placeholder-to-wire-clientevents >Intune でのデバイス構成プロファイルの管理および競合の表示</a>」</li>\n<li>「<a href="https://docs.microsoft.com/troubleshoot/mem/intune/troubleshoot-conditional-access?WT.mc_id=365AdminCSH_support" data-linktype="external" target="_blank" data-placeholder-to-wire-clientevents >Intune のデバイス コンプライアンスおよび条件付きアクセスのトラブルシューティング</a>」</li>\n<li>「<a href="https://docs.microsoft.com/mem/intune/protect/compliance-policy-monitor?WT.mc_id=365AdminCSH_support" data-linktype="external" target="_blank" data-placeholder-to-wire-clientevents >Intune でのコンプライアンス ポリシーの監視および競合の表示</a>」</li>\n</ul>\n<p><a href="https://docs.microsoft.com/mem/intune/configuration/device-profiles?WT.mc_id=365AdminCSH_support" data-linktype="external" target="_blank" data-placeholder-to-wire-clientevents >続きを読む</a></p>\n\r\n\t\t</div>'},i='<p><b>Office 365 セキュリティ センターとコンプライアンス センターでの電子情報開示関連の役割について</b><br />電子情報開示マネージャーは、Office 365 セキュリティ センターとコンプライアンス センターのプライマリ電子情報開示役割グループです。このサブグループには、次の 2 つのサブグループが含まれています。<ul><li><span><b>電子情報開示マネージャー:</b> このサブグループのメンバーは、アクセス権を持つケースのみを表示および編集できます。</span></li><li><span><b>電子情報開示管理者:</b> このサブグループのメンバーは、すべてのケースにアクセスできます。 <br /><br />詳細については、 <a href="https://go.microsoft.com/fwlink/?linkid=2114362">セキュリティ/コンプライアンス センターの電子情報開示のアクセス許可の割り当てに関するページを参照</a>してください。</span></li></ul></p>';switch(o){case"check-for-app-using-camera":i=t.checkAppUsingCameraContent;break;case"update-your-cameras-privacy-settings":i=t.UpdateCameraPrivacySettingContent;break;case"unplug-and-reconnect-camera":i=t.unplugAndReconnectCameraContent}console.log(o,i);var a=JSON.stringify({SolutionTitle:r.SolutionTitle,SolutionContent:r.SolutionContent});return new Promise((function(e){setTimeout((function(){return e(a)}),1e3)}))},t.unplugAndReconnectCameraContent='<div><h1 id="unplug-and-reconnect-camera">Unplug and reconnect camera</h1>\x3c!-- <content> --\x3e<p>Sorry that didn’t work out. If the camera is an external camera, unplugging the device and reconnect again might help.</p><p>If this is a built-in camera, restarting your computer might help.</p>\x3c!-- </content> --\x3e</div>',t.UpdateCameraPrivacySettingContent='<div><h1 id="update-your-cameras-privacy-settings">Update Your Camera’s Privacy Settings</h1>\x3c!-- <content> --\x3e<p>This error code means that your camera’s privacy settings are impacting the app. Follow these steps to update your camera’s privacy settings:</p><ul><li>Open <strong>Start button &gt; Settings &gt; Privacy &gt; Camera</strong>.</li><li>Under <strong>Allow access to the camera on this device</strong>, select <strong>Change</strong>. Make sure the toggle is turned <strong>On</strong>.</li><li>Next, under <strong>Allow apps to access your camera</strong>, make sure the toggle is turned <strong>On</strong>.</li><li>Then, under <strong>Choose which apps can access your camera</strong>, make sure that the toggle next to your desired app is turned On as well.</li></ul>\x3c!-- </content> --\x3e</div>',t.checkAppUsingCameraContent='<div><h1 id="check-for-app-using-camera">Check for app using camera</h1>\x3c!-- <content> --\x3e<ol><li>Select <strong>Start</strong>, then select <strong>Settings &gt; Privacy &gt; Camera</strong> (ms-settings:privacy-webcam)</li><li>In the application list, find the app with the “currently in use”, and close the application.</li></ol>\x3c!-- </content> --\x3e</div>',t.promiseFunctionWrapper=function(e){return t.mockContentPromiseFunction},t.mockSafHandler=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return new Promise((function(e){setTimeout((function(){return e("<div>Saf component</div>")}),1e3)}))},t.resultCameraTarget={IsSuccess:!0,Results:[{name:"CameraCount",value:"0"},{name:"CameraName",value:'"front"'}]},t.resultCameraWithChoices={IsSuccess:!0,Results:[{name:"CameraCount",value:"1"},{name:"CameraName",value:'"front"'}],DynamicChoices:["Front Camera","Back Camera","IR Camera"]},t.resultDafSuccessFalse={IsSuccess:!1,Results:[{name:"Error",value:"Could not get DiagnosticResult from diagnosticSession API"}],DynamicChoices:[""]},t.resultFromBugBashWithChoiuces={IsSuccess:!0,Results:[{name:"css.dcs.diagaction.camera.numberofcameras.check",value:"Detected"},{name:"numberofcameras",value:1},{name:"cameranames",value:"HD Webcam eMeet C960"}],DynamicChoices:["HD Webcam eMeet C960","Camera 2"]},t.mockDafDiagnosticsActionHandler=function(e,n,o,r,i){console.log("mock dafv1 action, nodeId: "+e+", actionType: "+n+", actionReference: "+o+", timeout: "+(r||"1")+" and parameters: "+i,i),setTimeout((function(){window.yoda.IntentGraph.Events.onDafDiagnosticsActionCompleted(e,t.resultFromBugBashWithChoiuces)}),500*(r||5))},t.mockSafDiagnosticsActionHandler=function(e,t){return console.log("mock saf action, solutionType: "+e+", solutionId: "+t),new Promise((function(e,n){setTimeout((function(){var o=new r.DiagnosticsInitResponse;return o.BucketId=9004105,o.RuleId=7173,o.JsonSchemaForm=i.createImmutableWeakTypedMap({type:"object",title:"We understand you are having issues with the Teams upgrade settings.",description:"Let us help by running some tests.",action:"Run Tests"}),o.Name="TeamsUpgrade",o.Identifier="4b182f1b-45ae-4dd8-a179-c7268047827f",o.Locale="en-US",o.TenantId="5c000118-501c-45aa-aaf8-06df8ac5d7f2",o.CorrelationId="b2e8b618-5d23-4cef-8ec1-73cb93c94dfb",t?e(o):n(!1)}),1e3)}))},t.mockSafStartDiagnosticsActionHandler=function(e){return new Promise((function(t,n){setTimeout((function(){var o={SessionId:"Y6zeATCI8EOKJxlHVhYgJA002",Status:"Executing",HttpStatusCode:0,Message:null,Title:null,Details:null,Next:i.createImmutableList([]),Name:"TeamsUpgrade",Identifier:"4b182f1b-45ae-4dd8-a179-c7268047827f",Locale:"en-US",TenantId:"f47d22e9-63cf-47ec-8c71-b0e96d3ffb87",CorrelationId:"c02b5ebd-a620-4171-8ea5-148e7cec0e58",AbandonCurrentRun:!1};return e?t(o):n(!1)}),1e3)}))};var a={getxboxpurchases:{id:"GetXboxPurchasesAction",action:"",description:"TODO : SAF Provider - GetXboxPurchasesAction",type:"object",required:["ProxyTicket","Puid","lastUserMessage"],properties:{ProxyTicket:{type:"string",title:"RPS Ticket for the logged in User.",hidden:!0,valueProvider:"Context"},Puid:{type:"string",title:"Personal Identifier for the logged in user.",hidden:!0,valueProvider:"Context"},locale:{type:"string",title:"Language",hidden:!0,valueProvider:"GlobalVariables"},lastUserMessage:{type:"string",title:"TokenId; can also be the last message entered by the logged in user",hidden:!0,valueProvider:"GlobalVariables"},market:{type:"string",title:"The geographical localtion of the market e.g. US",hidden:!0,valueProvider:"GlobalVariables"}}},getxboxrefundstatus:{id:"GetXboxRefundStatusAction",action:"",description:"TODO : SAF Provider - GetXboxRefundStatusAction",type:"object",required:["ProxyTicket","Puid"],properties:{ProxyTicket:{type:"string",title:"RPS Ticket for the logged in User.",hidden:!0,valueProvider:"Context"},Puid:{type:"string",title:"Personal Identifier for the logged in user.",hidden:!0,valueProvider:"Context"},hostType:{type:"string",title:"type of host",hidden:!0,valueProvider:"GlobalVariables"},locale:{type:"string",title:"Language",hidden:!0,valueProvider:"GlobalVariables"},lastUserMessage:{type:"string",title:"Subscription Id; Can be the last message from the logged in user",hidden:!0,valueProvider:"GlobalVariables"}}},xboxrefundrequest:{id:"XboxRefundRequestAction",action:"",description:"TODO : SAF Provider - XboxRefundRequestAction",type:"object",required:["Puid","ProxyTicket","orderId","orderLineItemId","userReasonKey"],properties:{Puid:{type:"string",title:"PUID of the logged in user",hidden:!0,valueProvider:"Context"},ProxyTicket:{type:"string",title:"RPS ticket for the logged in user",hidden:!0,valueProvider:"Context"},orderId:{type:"string",title:"order id of the item to refund",hidden:!0,valueProvider:"GlobalVariables"},orderLineItemId:{type:"string",title:"order lineItem id of the item to refund",hidden:!0,valueProvider:"GlobalVariables"},msaEmailAddress:{type:"string",title:"Microsoft Account Email Address",hidden:!0,valueProvider:"Context"},userReasonKey:{type:"string",title:"Reason for refund",hidden:!1,valueProvider:"UserInput",anyOf:[{title:"AccidentalPurchase",type:"string",enum:["AccidentalPurchase"]},{title:"PurchasedContentDoesNotWork",type:"string",enum:["PurchasedContentDoesNotWork"]},{title:"IDidNotMakeThePurchase",type:"string",enum:["IDidNotMakeThePurchase"]},{title:"BillingError",type:"string",enum:["BillingError"]}]}}}},s={getxboxpurchases:{errorMessage:null,context:{item_count:"N",Values:'[{"ShortTitle":"Battlefield 4","Title":"Battlefield 4","LineItemId":"ba9ec4de-1939-471c-986b-366025f70006","TotalAmount":5.49,"ItemType":"Game","OrderItemState":"Completed","ProductFamily":"Games","OrderId":"f8aef346-d513-4003-828b-9e0e7fee14fc","Id":"f8aef346-d513-4003-828b-9e0e7fee14fc_ba9ec4de-1939-471c-986b-366025f70006","Value":"Battlefield 4"},{"ShortTitle":"Gang Beasts","Title":"Gang Beasts","LineItemId":"ec699543-8ba8-4c1a-8f9c-0fedc459b0d1","TotalAmount":22.01,"ItemType":"Game","OrderItemState":"Completed","ProductFamily":"Games","OrderId":"bec4a21a-6908-4e76-adc9-3bf0995ad772","Id":"bec4a21a-6908-4e76-adc9-3bf0995ad772_ec699543-8ba8-4c1a-8f9c-0fedc459b0d1","Value":"Gang Beasts"}]'},response:"Yes",callingServiceCorrelationVector:"2a9a5cfa-b572-4e93-9a1a-cdc1e4328b43",StatusCode:200,Headers:null,Value:null},getxboxrefundstatus:{errorMessage:null,context:{item_count:"1",Values:'[{"Id":"cee8c199-9ef4-4a8e-b5fa-1a80ce259f5f_6e30e9ea-fdbc-4d19-9a56-60a15f3460df","Value":"Chivalry 2 44.03 USD - Status: Complete - Denied"}]'},response:"Yes",callingServiceCorrelationVector:"30402aec-205e-4450-b5f3-83bc159606b8",StatusCode:200,Headers:null,Value:null},xboxrefundrequest:{errorMessage:null,context:{refund_request_line_item_id:1},response:"Yes",callingServiceCorrelationVector:"9a33deba-32aa-4105-9553-a981bb99f1cf",StatusCode:200,Headers:null,Value:null}};t.mockSafActionFetchSchemaHandler=function(e){return new Promise((function(t,n){setTimeout((function(){var o={JsonSchemaForm:a[e]};return console.log(o),e?t(o):n(!1)}),1e3)}))},t.mockSafActionExecuteHandler=function(e,t){return new Promise((function(n,o){setTimeout((function(){var r=s[t];return console.log(r),e?n(r):o(!1)}),1e3)}))},t.mockSafDiagnosticsResultActionHandler=function(e){var t=new r.DiagnosticsInitResponse;return t.BucketId=null,t.RuleId=null,t.JsonSchemaForm=i.createImmutableWeakTypedMap({type:"object",required:["UserConsent"],properties:{UserConsent:{title:"I acknowledge clicking 'Update settings' will make the change(s) described above to the tenant configuration.",description:"Change Consent Checkbox",type:"boolean"},SessionId:{type:"string",hidden:!0,default:"Y6zeATCI8EOKJxlHVhYgJA002"}},action:"Update Settings"}),t.Name="TeamsUpgradeRollback",t.Identifier="3bacdc05-39b9-4176-ad7e-32e6c5bff0c6",t.Locale="en-US",t.TenantId="f47d22e9-63cf-47ec-8c71-b0e96d3ffb87",t.CorrelationId="c02b5ebd-a620-4171-8ea5-148e7cec0e58",new Promise((function(n,o){setTimeout((function(){var r={SessionId:"Y6zeATCI8EOKJxlHVhYgJA002",Status:"ContinueWithNext",HttpStatusCode:0,Message:null,Title:"We have confirmed that you have recently been upgraded to Microsoft Teams and that you are authorized to manage Tenant Settings.",Details:'<div>If you are not ready to begin using Teams, we can change your <a href="https://admin.teams.microsoft.com/company-wide-settings/teams-upgrade" target="_blank">Coexistence mode</a> setting back to <b>Islands mode</b>.<br /><br />If you need more information about this setting, see <a href="https://docs.microsoft.com/microsoftteams/setting-your-coexistence-and-upgrade-settings" target="_blank">Setting your coexistence and upgrade settings.</a></div>',Next:i.createImmutableList([i.createImmutableMap(t)]),Name:"TeamsUpgrade",Identifier:"4b182f1b-45ae-4dd8-a179-c7268047827f",Locale:"en-US",TenantId:"f47d22e9-63cf-47ec-8c71-b0e96d3ffb87",CorrelationId:"c02b5ebd-a620-4171-8ea5-148e7cec0e58",AbandonCurrentRun:!1};return e?n(r):o(!1)}),1e3)}))},t.mockDafHandler=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return new Promise((function(e){setTimeout((function(){return e("content returned from api")}),1e3)}))},t.getSafConferencingDiagnosticSalarsonTest=function(){return n(180)},t.getGetHelpCameraNotWorkingMap=function(){return n(181)},t.getSampleDafSchema=function(){return n(182)},t.getSupportCentralCreditCardMap=function(){return n(183)},t.getSAFOfficeProducts=function(){return n(184)},t.getSupportCentralEmailHackedMap=function(){return n(185)},t.getGetHelpCameraScenarioSimplified=function(){return n(186)},t.getGetHelpCameraScenarioWithTargets=function(){return n(187)},t.getGetHelpCameraScenarioWithDynamicChoices=function(){return n(188)},t.getGetHelpCameraScenario_Simplified10022020=function(){return n(189)},t.getGetHelpCameraScenario_10082020=function(){return n(190)},t.getEmptyJson=function(){return n(191)},t.getBrokenStartNodeReference=function(){return n(192)},t.getMalformedJson=function(){return n(193)},t.getJsonTestMetaOnly=function(){return n(194)},t.getStartWithDiagnosticsNode=function(){return n(195)},t.getVariousTestsJson=function(){return n(196)},t.getCameraTroubleshootingJson=function(){return n(197)},t.getSupportCentralDataLossPreventionJson=function(){return n(198)},t.getExchangeLitigationHoldHowtoLindabr=function(){return n(199)},t.getLoopingGraph=function(){return n(200)},t.defaultMockDarkTheme=function(){return o.createTheme({palette:{themePrimary:"#0078D4",themeLighterAlt:"#0C2031",themeLighter:"#D0E7F8",themeLight:"#043862",themeTertiary:"#004C87",themeSecondary:"#1A86D9",themeDarkAlt:"#1890F1",themeDark:"#3AA0F3",themeDarker:"#6CB8F6",neutralLighterAlt:"#202020",neutralLighter:"#252525",neutralLight:"#292929",neutralQuaternaryAlt:"#323232",neutralQuaternary:"#3B3B3B",neutralTertiaryAlt:"#484848",neutralTertiary:"#797979",neutralSecondary:"#B3B3B3",neutralPrimaryAlt:"#E1E1E1",neutralPrimary:"#EDEDED",neutralDark:"#F3F3F3",black:"#FFFFFF",white:"#141414"}})},t.defaultMockLightTheme=function(){return o.createTheme({palette:{themePrimary:"#0078D4",themeLighterAlt:"#F3F9FD",themeLighter:"#D0E7F8",themeLight:"#A9D3F2",themeTertiary:"#5CA9E5",themeSecondary:"#1A86D9",themeDarkAlt:"#006CBE",themeDark:"#005BA1",themeDarker:"#004377",neutralLighterAlt:"#F0F0F0",neutralLighter:"#EDEDED",neutralLight:"#E8E8E8",neutralQuaternaryAlt:"#E1E1E1",neutralQuaternary:"#D2D2D2",neutralTertiaryAlt:"#C8C8C8",neutralTertiary:"#A1A1A1",neutralSecondary:"#484644",neutralPrimaryAlt:"#8D8B8A",neutralPrimary:"#323130",neutralDark:"#605E5D",black:"#000000",white:"#FFFFFF"}})}},,,,function(e,t,n){"use strict";var o,r=this&&this.__extends||(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),i=this&&this.__assign||function(){return(i=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)},a=this&&this.__createBinding||(Object.create?function(e,t,n,o){void 0===o&&(o=n),Object.defineProperty(e,o,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,o){void 0===o&&(o=n),e[o]=t[n]}),s=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),c=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.hasOwnProperty.call(e,n)&&a(t,e,n);return s(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.withConfiguration=void 0;var l=c(n(0)),u=n(68),d=n(90);t.withConfiguration=function(e,t){return function(n){function o(o){var r=n.call(this,o)||this;r.displayName="withConfiguration("+function(e){return e.displayName||e.name||"Component"}(e)+")",r.configUpdated=function(e){r.setState({configData:i(i({},r.state.configData),e)})};var a={};return Object.keys(t).forEach((function(e){var t=d.getDataSource(u.intentGraphDataSourceName).register();a[e]=i({},t)})),r.state={configData:a},r}return r(o,n),o.prototype.componentWillUnmount=function(){var e=this;Object.keys(t).forEach((function(n){t[n].unregister(e.configUpdated)}))},o.prototype.render=function(){var t=e;return l.createElement(t,i({config:this.state.configData},this.props))},o}(l.PureComponent)}},function(e,t,n){"use strict";var o,r=this&&this.__extends||(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),i=this&&this.__assign||function(){return(i=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)},a=this&&this.__createBinding||(Object.create?function(e,t,n,o){void 0===o&&(o=n),Object.defineProperty(e,o,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,o){void 0===o&&(o=n),e[o]=t[n]}),s=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),c=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.hasOwnProperty.call(e,n)&&a(t,e,n);return s(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.IntentGraph=t.IntentGraphC=void 0;var l=n(9),u=c(n(0)),d=n(129),p=n(146),h=n(156),f=n(17),m=n(19),g=n(162),b=n(34),y=function(e){function t(t){var n=e.call(this,t)||this;n.rootStore=null,n._changeTheme=function(e){e&&n.setState({theme:e})};var o={onThemeChanged:n._changeTheme};return window.yoda={IntentGraph:{Events:o}},n.state={theme:n.props.staticConfig.theme||f.defaultLightTheme()},n}return r(t,e),t.prototype.componentDidMount=function(){l.initializeIcons()},t.prototype.render=function(){if(!this.rootStore){var e=this.props.staticConfig.namespace||"singleton";this.rootStore=h.createNameSpacedStore(e).rootStore}var t=i(i({},this.props.staticConfig),{correlationId:this.props.staticConfig.correlationId||b(m.uuidOptions())});return u.createElement(d.Provider,{store:this.rootStore},u.createElement(l.Customizer,{settings:{theme:this.state.theme}},u.createElement(p.ErrorFallback,{fallbackUi:this.props.staticConfig.errorUI||u.createElement(u.Fragment,null),staticConfig:t,callbackHandlers:this.props.callbackHandlers,sessionId:this.props.staticConfig.sessionId},u.createElement(g.IntentGraphBase,{staticConfig:t,callbackHandlers:this.props.callbackHandlers}))))},t}(u.Component);t.IntentGraphC=y,t.IntentGraph=y},function(e,t,n){"use strict";var o=n(143);function r(){}function i(){}i.resetWarningCache=r,e.exports=function(){function e(e,t,n,r,i,a){if(a!==o){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:r};return n.PropTypes=n,n}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){"use strict";
/** @license React v16.13.1
 * react-is.production.min.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var o="function"==typeof Symbol&&Symbol.for,r=o?Symbol.for("react.element"):60103,i=o?Symbol.for("react.portal"):60106,a=o?Symbol.for("react.fragment"):60107,s=o?Symbol.for("react.strict_mode"):60108,c=o?Symbol.for("react.profiler"):60114,l=o?Symbol.for("react.provider"):60109,u=o?Symbol.for("react.context"):60110,d=o?Symbol.for("react.async_mode"):60111,p=o?Symbol.for("react.concurrent_mode"):60111,h=o?Symbol.for("react.forward_ref"):60112,f=o?Symbol.for("react.suspense"):60113,m=o?Symbol.for("react.suspense_list"):60120,g=o?Symbol.for("react.memo"):60115,b=o?Symbol.for("react.lazy"):60116,y=o?Symbol.for("react.block"):60121,v=o?Symbol.for("react.fundamental"):60117,_=o?Symbol.for("react.responder"):60118,S=o?Symbol.for("react.scope"):60119;function C(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case d:case p:case a:case c:case s:case f:return e;default:switch(e=e&&e.$$typeof){case u:case h:case b:case g:case l:return e;default:return t}}case i:return t}}}function x(e){return C(e)===p}t.AsyncMode=d,t.ConcurrentMode=p,t.ContextConsumer=u,t.ContextProvider=l,t.Element=r,t.ForwardRef=h,t.Fragment=a,t.Lazy=b,t.Memo=g,t.Portal=i,t.Profiler=c,t.StrictMode=s,t.Suspense=f,t.isAsyncMode=function(e){return x(e)||C(e)===d},t.isConcurrentMode=x,t.isContextConsumer=function(e){return C(e)===u},t.isContextProvider=function(e){return C(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return C(e)===h},t.isFragment=function(e){return C(e)===a},t.isLazy=function(e){return C(e)===b},t.isMemo=function(e){return C(e)===g},t.isPortal=function(e){return C(e)===i},t.isProfiler=function(e){return C(e)===c},t.isStrictMode=function(e){return C(e)===s},t.isSuspense=function(e){return C(e)===f},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===a||e===p||e===c||e===s||e===f||e===m||"object"==typeof e&&null!==e&&(e.$$typeof===b||e.$$typeof===g||e.$$typeof===l||e.$$typeof===u||e.$$typeof===h||e.$$typeof===v||e.$$typeof===_||e.$$typeof===S||e.$$typeof===y)},t.typeOf=C},function(e,t){e.exports=function(e){if(!e.webpackPolyfill){var t=Object.create(e);t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),Object.defineProperty(t,"exports",{enumerable:!0}),t.webpackPolyfill=1}return t}},function(e,t,n){"use strict";var o,r=this&&this.__extends||(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),i=this&&this.__createBinding||(Object.create?function(e,t,n,o){void 0===o&&(o=n),Object.defineProperty(e,o,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,o){void 0===o&&(o=n),e[o]=t[n]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),s=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.hasOwnProperty.call(e,n)&&i(t,e,n);return a(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.ErrorFallback=t.ErrorFallbackC=void 0;var c=s(n(0)),l=n(14),u=n(19),d=n(34),p=function(e){function t(t){var n=e.call(this,t)||this;return n.state={hasError:!1},n}return r(t,e),t.getDerivedStateFromError=function(){return{hasError:!0}},t.prototype.componentDidCatch=function(e,t){if(this.props.errorId?this.props.errorId:d(u.uuidOptions()),this.props.callbackHandlers.LogHandler&&"function"==typeof this.props.callbackHandlers.LogHandler){var n="errorMessage: "+e.message+", stack: "+e.stack;this.props.callbackHandlers.LogHandler(l.LogEventName.onComponentError,l.LogLevel.Error,this.props.sessionId,n)}},t.prototype.render=function(){return this.state.hasError?this.props.fallbackUi:this.props.children},t}(c.PureComponent);t.ErrorFallbackC=p,t.ErrorFallback=p},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SAFActionMap=t.RegExpForTextContent=t.RegExpForParamOrVar=t.Constants=void 0;var o=function(){function e(){}return e.timeoutInSeconds=60,e}();t.Constants=o,t.RegExpForParamOrVar=/{.*?}/g,t.RegExpForTextContent=/{{.*?}}/g,t.SAFActionMap={"xbox.userpurchases.list":"getxboxpurchases","xbox.refundrequest.submit":"xboxrefundrequest","office.activation.productkeyv2":"officeproductkeycheck","hardware.repairs.list":"gethardwarerepairs","hardware.repairitems.list":"gethardwarerepairitems","hardware.devices.list":"getdevices","xbox.refundstatus.list":"getxboxrefundstatus","membership.allofficeproducts.list":"getallofficeproducts"}},function(e,t,n){e.exports=function(){"use strict";var e="millisecond",t="second",n="minute",o="hour",r="day",i="week",a="month",s="year",c=/^(\d{4})-?(\d{1,2})-?(\d{0,2})(.*?(\d{1,2}):(\d{1,2}):(\d{1,2}))?.?(\d{1,3})?$/,l=/\[.*?\]|Y{2,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,u={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_")},d=function(e,t,n){var o=String(e);return!o||o.length>=t?e:""+Array(t+1-o.length).join(n)+e},p={padStart:d,padZoneStr:function(e){var t=Math.abs(e),n=Math.floor(t/60),o=t%60;return(e<=0?"+":"-")+d(n,2,"0")+":"+d(o,2,"0")},monthDiff:function(e,t){var n=12*(t.year()-e.year())+(t.month()-e.month()),o=e.clone().add(n,"months"),r=t-o<0,i=e.clone().add(n+(r?-1:1),"months");return Number(-(n+(t-o)/(r?o-i:i-o)))},absFloor:function(e){return e<0?Math.ceil(e)||0:Math.floor(e)},prettyUnit:function(c){return{M:a,y:s,w:i,d:r,h:o,m:n,s:t,ms:e}[c]||String(c||"").toLowerCase().replace(/s$/,"")},isUndefined:function(e){return void 0===e}},h="en",f={};f[h]=u;var m=function(e){return e instanceof _},g=function(e,t,n){var o;if(!e)return null;if("string"==typeof e)f[e]&&(o=e),t&&(f[e]=t,o=e);else{var r=e.name;f[r]=e,o=r}return n||(h=o),o},b=function(e,t){if(m(e))return e.clone();var n=t||{};return n.date=e,new _(n)},y=function(e,t){return b(e,{locale:t.$L})},v=p;v.parseLocale=g,v.isDayjs=m,v.wrapper=y;var _=function(){function u(e){this.parse(e)}var d=u.prototype;return d.parse=function(e){var t,n;this.$d=null===(t=e.date)?new Date(NaN):v.isUndefined(t)?new Date:t instanceof Date?t:"string"==typeof t&&/.*[^Z]$/i.test(t)&&(n=t.match(c))?new Date(n[1],n[2]-1,n[3]||1,n[5]||0,n[6]||0,n[7]||0,n[8]||0):new Date(t),this.init(e)},d.init=function(e){this.$y=this.$d.getFullYear(),this.$M=this.$d.getMonth(),this.$D=this.$d.getDate(),this.$W=this.$d.getDay(),this.$H=this.$d.getHours(),this.$m=this.$d.getMinutes(),this.$s=this.$d.getSeconds(),this.$ms=this.$d.getMilliseconds(),this.$L=this.$L||g(e.locale,null,!0)||h},d.$utils=function(){return v},d.isValid=function(){return!("Invalid Date"===this.$d.toString())},d.$compare=function(e){return this.valueOf()-b(e).valueOf()},d.isSame=function(e){return 0===this.$compare(e)},d.isBefore=function(e){return this.$compare(e)<0},d.isAfter=function(e){return this.$compare(e)>0},d.year=function(){return this.$y},d.month=function(){return this.$M},d.day=function(){return this.$W},d.date=function(){return this.$D},d.hour=function(){return this.$H},d.minute=function(){return this.$m},d.second=function(){return this.$s},d.millisecond=function(){return this.$ms},d.unix=function(){return Math.floor(this.valueOf()/1e3)},d.valueOf=function(){return this.$d.getTime()},d.startOf=function(e,c){var l=this,u=!!v.isUndefined(c)||c,d=function(e,t){var n=y(new Date(l.$y,t,e),l);return u?n:n.endOf(r)},p=function(e,t){return y(l.toDate()[e].apply(l.toDate(),u?[0,0,0,0].slice(t):[23,59,59,999].slice(t)),l)};switch(v.prettyUnit(e)){case s:return u?d(1,0):d(31,11);case a:return u?d(1,this.$M):d(0,this.$M+1);case i:return d(u?this.$D-this.$W:this.$D+(6-this.$W),this.$M);case r:case"date":return p("setHours",0);case o:return p("setMinutes",1);case n:return p("setSeconds",2);case t:return p("setMilliseconds",3);default:return this.clone()}},d.endOf=function(e){return this.startOf(e,!1)},d.$set=function(i,c){switch(v.prettyUnit(i)){case r:this.$d.setDate(this.$D+(c-this.$W));break;case"date":this.$d.setDate(c);break;case a:this.$d.setMonth(c);break;case s:this.$d.setFullYear(c);break;case o:this.$d.setHours(c);break;case n:this.$d.setMinutes(c);break;case t:this.$d.setSeconds(c);break;case e:this.$d.setMilliseconds(c)}return this.init(),this},d.set=function(e,t){return this.clone().$set(e,t)},d.add=function(e,c){var l=this;e=Number(e);var u,d=v.prettyUnit(c),p=function(t,n){var o=l.set("date",1).set(t,n+e);return o.set("date",Math.min(l.$D,o.daysInMonth()))},h=function(t){var n=new Date(l.$d);return n.setDate(n.getDate()+t*e),y(n,l)};if(d===a)return p(a,this.$M);if(d===s)return p(s,this.$y);if(d===r)return h(1);if(d===i)return h(7);switch(d){case n:u=6e4;break;case o:u=36e5;break;case t:u=1e3;break;default:u=1}var f=this.valueOf()+e*u;return y(f,this)},d.subtract=function(e,t){return this.add(-1*e,t)},d.format=function(e){var t=this,n=e||"YYYY-MM-DDTHH:mm:ssZ",o=v.padZoneStr(this.$d.getTimezoneOffset()),r=this.$locale(),i=r.weekdays,a=r.months,s=function(e,t,n,o){return e&&e[t]||n[t].substr(0,o)};return n.replace(l,(function(e){if(e.indexOf("[")>-1)return e.replace(/\[|\]/g,"");switch(e){case"YY":return String(t.$y).slice(-2);case"YYYY":return String(t.$y);case"M":return String(t.$M+1);case"MM":return v.padStart(t.$M+1,2,"0");case"MMM":return s(r.monthsShort,t.$M,a,3);case"MMMM":return a[t.$M];case"D":return String(t.$D);case"DD":return v.padStart(t.$D,2,"0");case"d":return String(t.$W);case"dd":return s(r.weekdaysMin,t.$W,i,2);case"ddd":return s(r.weekdaysShort,t.$W,i,3);case"dddd":return i[t.$W];case"H":return String(t.$H);case"HH":return v.padStart(t.$H,2,"0");case"h":case"hh":return 0===t.$H?12:v.padStart(t.$H<13?t.$H:t.$H-12,"hh"===e?2:1,"0");case"a":return t.$H<12?"am":"pm";case"A":return t.$H<12?"AM":"PM";case"m":return String(t.$m);case"mm":return v.padStart(t.$m,2,"0");case"s":return String(t.$s);case"ss":return v.padStart(t.$s,2,"0");case"SSS":return v.padStart(t.$ms,3,"0");case"Z":return o;default:return o.replace(":","")}}))},d.diff=function(e,c,l){var u=v.prettyUnit(c),d=b(e),p=this-d,h=v.monthDiff(this,d);switch(u){case s:h/=12;break;case a:break;case"quarter":h/=3;break;case i:h=p/6048e5;break;case r:h=p/864e5;break;case o:h=p/36e5;break;case n:h=p/6e4;break;case t:h=p/1e3;break;default:h=p}return l?h:v.absFloor(h)},d.daysInMonth=function(){return this.endOf(a).$D},d.$locale=function(){return f[this.$L]},d.locale=function(e,t){var n=this.clone();return n.$L=g(e,t,!0),n},d.clone=function(){return y(this.toDate(),this)},d.toDate=function(){return new Date(this.$d)},d.toArray=function(){return[this.$y,this.$M,this.$D,this.$H,this.$m,this.$s,this.$ms]},d.toJSON=function(){return this.toISOString()},d.toISOString=function(){return this.toDate().toISOString()},d.toObject=function(){return{years:this.$y,months:this.$M,date:this.$D,hours:this.$H,minutes:this.$m,seconds:this.$s,milliseconds:this.$ms}},d.toString=function(){return this.$d.toUTCString()},u}();return b.extend=function(e,t){return e(t,_,b),b},b.locale=g,b.isDayjs=m,b.unix=function(e){return b(1e3*e)},b.en=f[h],b}()},function(e,t,n){"use strict";function o(e,t){return e===t?0:e?t?e.localeCompare(t,void 0,{sensitivity:"accent"}):1:-1}Object.defineProperty(t,"__esModule",{value:!0}),t.isNullOrUndefinedOrEmpty=t.equalsIgnoringCase=t.compareIgnoringCase=t.isNullOrUndefined=void 0,t.isNullOrUndefined=function(e){return null==e},t.compareIgnoringCase=o,t.equalsIgnoringCase=function(e,t){return 0===o(e,t)},t.isNullOrUndefinedOrEmpty=function(e){return null==e||0===Object.entries(e).length}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.assert=void 0,t.assert=function(e,t){if(!e)throw new Error("assert failure: "+t)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.buildService=void 0,t.buildService={isProduction:!0,isDevelopment:!1,isTest:!1}},function(e,t,n){"use strict";function o(e,t){return e===t}function r(e,t,n){if(null===t||null===n||t.length!==n.length)return!1;for(var o=t.length,r=0;r<o;r++)if(!e(t[r],n[r]))return!1;return!0}function i(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:o,n=null,i=null;return function(){return r(t,n,arguments)||(i=e.apply(null,arguments)),n=arguments,i}}function a(e){var t=Array.isArray(e[0])?e[0]:e;if(!t.every((function(e){return"function"==typeof e}))){var n=t.map((function(e){return typeof e})).join(", ");throw new Error("Selector creators expect all input-selectors to be functions, instead received the following types: ["+n+"]")}return t}function s(e){for(var t=arguments.length,n=Array(t>1?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];return function(){for(var t=arguments.length,o=Array(t),r=0;r<t;r++)o[r]=arguments[r];var s=0,c=o.pop(),l=a(o),u=e.apply(void 0,[function(){return s++,c.apply(null,arguments)}].concat(n)),d=i((function(){for(var e=[],t=l.length,n=0;n<t;n++)e.push(l[n].apply(null,arguments));return u.apply(null,e)}));return d.resultFunc=c,d.recomputations=function(){return s},d.resetRecomputations=function(){return s=0},d}}t.__esModule=!0,t.defaultMemoize=i,t.createSelectorCreator=s,t.createStructuredSelector=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:c;if("object"!=typeof e)throw new Error("createStructuredSelector expects first argument to be an object where each property is a selector, instead received a "+typeof e);var n=Object.keys(e);return t(n.map((function(t){return e[t]})),(function(){for(var e=arguments.length,t=Array(e),o=0;o<e;o++)t[o]=arguments[o];return t.reduce((function(e,t,o){return e[n[o]]=t,e}),{})}))};var c=t.createSelector=s(i)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LogMessageCodes=t.LogEventName=t.LogLevel=void 0,function(e){e.Debug="Debug",e.Trace="Trace",e.Info="Info",e.Comment="Comment",e.Warning="Warning",e.Error="Error",e.Critical="Critical"}(t.LogLevel||(t.LogLevel={})),function(e){e.onJsonDocumentValidationError="onJsonDocumentValidationError",e.onChoiceClick="onChoiceClick",e.onLinkClick="onLinkClick",e.onComponentError="onComponentError",e.onContentRetrievalError="onContentRetrievalError",e.onDafDiagnosticsStarted="onDafDiagnosticsStarted",e.onDafDiagnosticsCompleted="onDafDiagnosticsCompleted",e.onDafDiagnosticsFailure="onDafDiagnosticsFailure",e.onDafDiagnosticsActionTimeout="onDafDiagnosticsActionTimeout",e.onDafDiagnosticsActionResultIsNull="onDafDiagnosticsActionResultIsNull",e.onDafParamValidationError="onDafParamValidationError",e.onSafDiagnosticsFailure="onSafDiagnosticsFailure",e.onNodeRendered="onNodeRendered",e.onComponentRenderd="onComponentRenderd",e.onConditionEvaluationFailed="onConditionEvaluationFailed",e.onStartDiagnosticsSucceeded="onStartDiagnosticsSucceeded",e.onStartDiagnosticsFailed="onStartDiagnosticsFailed",e.onGetDiagnosticsResultSuceeded="onGetDiagnosticsResultSuceeded",e.onGetDiagnosticsResultFailed="onGetDiagnosticsResultFailed",e.onGetDiagnosticsResultTimeout="onGetDiagnosticsResultTimeout",e.onGetDiagnosticsResultSuceededWithNext="onGetDiagnosticsResultSuceededWithNext",e.onStartDiagnosticsRun="onStartDiagnosticsRun",e.onDiagnosticsRerun="onDiagnosticsRerun",e.onDiagnosticResourceReturned="onDiagnosticResourceReturned",e.onDiagnosticResourceRetrivalFailure="onDiagnosticResourceRetrivalFailure",e.onSafDiagnosticRendered="onSafDiagnosticRendered",e.onSAfActionRunFailed="onSAfActionRunFailed",e.onSAfSchemaFetchFailed="onSAfSchemaFetchFailed"}(t.LogEventName||(t.LogEventName={})),function(e){e.StartNodeNotFound="StartNodeNotFound",e.TargetNodeNotFound="TargetNodeNotFound",e.InternalProcessionError_NodeNotFound="InternalProcessionError_NodeNotFound",e.DiagnosticsActionStarted="DiagnosticsActionStarted",e.FailedToStartDiagnosticsAction="FailedToStartDiagnosticsAction",e.DiagnosticsActionFailed="DiagnosticsActionFailed",e.DiagnosticsActionTimeout="DiagnosticsActionTimeout",e.DiagnosticsActionResultResponseIsNull="DiagnosticsActionResultResponseIsNull",e.DiagnosticsActionResponseWithIsSuccessTrue="DiagnosticsActionResponseWithIsSuccessTrue",e.DiagnosticsActionResponseWithIsSuccessFalse="DiagnosticsActionResponseWithIsSuccessFalse",e.InternalProcessionError_ConditionEvalFailed="InternalProcessionError_ConditionEvalFailed",e.TargetNodeIdAndRaiseEventNameNull="TargetNodeIdAndRaiseEventNameNull",e.ChoiceNodeClicked="ChoiceNodeClicked",e.DiagnosticsResultHandlerCalledMultipleTimesOrAfterTimeout="DiagnosticsResultHandlerCalledMultipleTimesOrAfterTimeout",e.ContentRetrievalHandlerFailed="ContentRetrievalHandlerFailed",e.ContentRetrievalHandlerReturnedNullResponse="ContentRetrievalHandlerReturnedNullResponse"}(t.LogMessageCodes||(t.LogMessageCodes={}))},function(e,t){var n="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof window.msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto);if(n){var o=new Uint8Array(16);e.exports=function(){return n(o),o}}else{var r=new Array(16);e.exports=function(){for(var e,t=0;t<16;t++)0==(3&t)&&(e=4294967296*Math.random()),r[t]=e>>>((3&t)<<3)&255;return r}}},function(e,t){for(var n=[],o=0;o<256;++o)n[o]=(o+256).toString(16).substr(1);e.exports=function(e,t){var o=t||0,r=n;return[r[e[o++]],r[e[o++]],r[e[o++]],r[e[o++]],"-",r[e[o++]],r[e[o++]],"-",r[e[o++]],r[e[o++]],"-",r[e[o++]],r[e[o++]],"-",r[e[o++]],r[e[o++]],r[e[o++]],r[e[o++]],r[e[o++]],r[e[o++]]].join("")}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createNameSpacedStore=void 0;var o=n(157),r=n(158);t.createNameSpacedStore=function(e){var t=r.createReduxRootDetached(e+"-Yoda",{IntentGraph:o.intentGraphAppReducer});return{intentGraphRootReducer:t[0],rootStore:t[1]}}},function(e,t,n){"use strict";var o,r,i,a,s,c,l,u,d,p,h;Object.defineProperty(t,"__esModule",{value:!0}),t.intentGraphAppReducer=void 0;var f=n(14),m=n(33),g=n(76),b=n(8),y=n(19),v=n(77),_=n(29),S=n(34),C=b.createStateField(!1,((o={})[_.IntentGraphAppActionTypes.InitializeApp]=function(e,t){return!0},o[_.IntentGraphAppActionTypes.ResetStore]=function(e,t){return!1},o)),x=b.createStateField(b.createImmutableMap(new f.StaticConfig),((r={})[_.IntentGraphAppActionTypes.InitializeApp]=function(e,t){var n=t.payload.staticConfig.payload?g.deserializeToImmutableMap(f.JsonDocument,t.payload.staticConfig.payload):null,o=t.payload.staticConfig.safDiagnosticsSettings?g.deserializeToImmutableMap(f.SafDiagnosticsSettings,t.payload.staticConfig.safDiagnosticsSettings):null;return e.withMutations((function(e){e.set("sessionId",t.payload.staticConfig.sessionId),e.set("hostAppName",t.payload.staticConfig.hostAppName),e.set("locale",t.payload.staticConfig.locale),e.set("prefix",t.payload.staticConfig.prefix),e.set("jsonDocument",n),e.set("timeoutInSeconds",t.payload.staticConfig.timeoutInSeconds),e.set("enableScrollToBottom",t.payload.staticConfig.enableScrollToBottom),e.set("enableScrollToTop",t.payload.staticConfig.enableScrollToTop),e.set("scrollRef",t.payload.staticConfig.scrollRef),e.set("correlationId",t.payload.staticConfig.correlationId),e.set("safDiagnosticsSettings",o),e.set("disableValidationException",t.payload.staticConfig.disableValidationException),e.set("logLinkClicks",t.payload.staticConfig.logLinkClicks)}))},r[_.IntentGraphAppActionTypes.ResetStore]=function(e,t){return b.createImmutableMap(new f.StaticConfig)},r)),w=b.createStateField(b.createImmutableList([]),((i={})[_.IntentGraphAppActionTypes.InitializeApp]=function(e,t){return e.withMutations((function(e){e.count()>0&&e.clear();var n=g.deserializeToImmutableMap(f.JsonDocument,t.payload.staticConfig.payload),o=n.get("startNodeId"),r=n.get("nodes").find((function(e){return e.get("id")===o}));if(r){var i=t.payload.isUserSignedIn;(r=(r=y.setSignInNode(r,i,n)).set("isInEditMode",!0)).get("uId")||(r=r.set("uId",""+S(y.uuidOptions()))),e.push(r)}else if(t.payload.logHandler&&"function"==typeof t.payload.logHandler){var a=t.payload.staticConfig.sessionId,s=n.get("meta"),c=y.generateAdhocs(s);t.payload.logHandler(f.LogEventName.onJsonDocumentValidationError,f.LogLevel.Error,a,f.LogMessageCodes.StartNodeNotFound,c)}}))},i[_.NodeActionTypes.PushTargetNodeOnRenderedNodes]=function(e,t){return e.withMutations((function(e){if(e.updateIn([e.findLastIndex((function(e){return e.get("id")===t.payload.nodeId}))],(function(e){return e.set("selectedChoice",t.payload.selectedChoice).set("isInEditMode",!1).set("isFirstRender",!1)})),t.payload.targetNode){var n=t.payload.targetNode.withMutations((function(e){e.set("isInEditMode",!0)}));if(n.get("uId")||(n=n.set("uId",""+S(y.uuidOptions()))),n.get("dynamicChoices")){var o=e.findLastIndex((function(e){return e.get("id")===t.payload.targetNode.get("id")}));if(o&&-1!==o){var r=e.get(o);n=n.set("dynamicChoicesList",r.get("dynamicChoicesList"))}}e.push(n)}}))},i[_.NodeActionTypes.SafDiagnosticsRendered]=function(e,t){return e.withMutations((function(e){var n=-1;if(e.updateIn([e.findIndex((function(e,o){return n=o,e.get("uId")===t.payload.uId}))],(function(e){return e.set("isInEditMode",!0)})),t.payload.targetNode&&n===e.size-1){var o=t.payload.targetNode.withMutations((function(e){e.set("isInEditMode",!0)}));t.payload.success||e.pop(),o.get("uId")||(o=o.set("uId",""+S(y.uuidOptions()))),e.push(o)}}))},i[_.NodeActionTypes.EditNodeChoiceSelection]=function(e,t){return e.withMutations((function(e){var n=e.findIndex((function(e){return e.get("uId")===t.payload.uId})),o=n+1;return e.updateIn([n],(function(e){return e.set("isInEditMode",!0)})),e.slice(0,o)}))},i[_.NodeActionTypes.CancelEditNodeChoiceSelection]=function(e,t){return e.withMutations((function(e){e.updateIn([e.count()-1],(function(e){return e.set("isInEditMode",!1).set("isFirstRender",!1)})),t.payload.map((function(t){return e.push(t)}))}))},i[_.NodeActionTypes.DiagnosticsActionStarted]=function(e,t){return e.withMutations((function(e){e.updateIn([e.findIndex((function(e){return e.get("uId")===t.payload.uId}))],(function(e){return e.set("diagnosticsActionStatus",f.DiagnosticsActionStatus.InProgress).set("timerId",t.payload.timerId)}))}))},i[_.NodeActionTypes.FetchingSafDiagnostics]=function(e,t){return e.withMutations((function(e){e.updateIn([e.findIndex((function(e){return e.get("uId")===t.payload.uId}))],(function(e){var n=t.payload.completed?f.DiagnosticsActionStatus.FetchingDiagnosticsCompleted:f.DiagnosticsActionStatus.FetchingDiagnosticsInProgress;return e.set("diagnosticsActionStatus",n)}))}))},i[_.NodeActionTypes.DiagnosticsActionCompleted]=function(e,t){return e.withMutations((function(e){if(e.updateIn([e.findLastIndex((function(e){return e.get("id")===t.payload.nodeId}))],(function(e){return e.set("diagnosticsActionStatus",t.payload.diagnosticsActionStatus).set("isInEditMode",!!t.payload.isInEditMode).set("isFirstRender",!1)})),t.payload.targetNode){var n=t.payload.targetNode;n.get("uId")||(n=n.set("uId",""+S(y.uuidOptions()))),e.push(n)}}))},i[_.IntentGraphAppActionTypes.ResetStore]=function(e,t){return b.createImmutableList([])},i)),T=b.createStateField(b.createImmutableList([]),((a={})[_.NodeActionTypes.EditNodeChoiceSelection]=function(e,t){return e.withMutations((function(e){e.clear(),e.merge(t.payload.prevChoiceSelections)}))},a[_.NodeActionTypes.CancelEditNodeChoiceSelection]=function(e,t){return e.withMutations((function(e){return e}))},a[_.IntentGraphAppActionTypes.ResetStore]=function(e,t){return b.createImmutableList([])},a)),k=b.createStateField(!1,((s={})[_.NodeActionTypes.DiagnosticsActionStarted]=function(e,t){return!0},s[_.NodeActionTypes.DiagnosticsActionCompleted]=function(e,t){return!1},s[_.NodeActionTypes.SafDiagnosticsCompleted]=function(e,t){return!1},s[_.IntentGraphAppActionTypes.ResetStore]=function(e,t){return!1},s)),I=b.createStateField(b.createImmutableMap(new m.FormV2),((c={})[_.NodeActionTypes.LoadDiagnosticResource]=function(e,t){return e.withMutations((function(e){var n=t.payload.diagnostic,o=t.payload.jsonSchemaForm;(n||o)&&(e=v.populateDiagnosticsForm(n,e,!0,o))}))},c[_.NodeActionTypes.SetDiagnosticsRunProgress]=function(e,t){return e.withMutations((function(e){var n=t.payload;if(n&&n.get("Status")===m.DiagnosticsExecutionStatus.ContinueWithNext&&n.get("Next")&&n.get("Next").size>0){var o=n.get("Next").first();e=v.populateDiagnosticsForm(o,e)}}))},c[_.NodeActionTypes.ResetSafDiagnostic]=function(e,t){return b.createImmutableMap(new m.FormV2)},c[_.NodeActionTypes.UpdateDiagnosticsFormComponent]=function(e,t){return e.withMutations((function(e){e.update("FormFields",(function(e){return e.updateIn([e.findIndex((function(e){return e.get("Key")===t.payload.componentKey}))],(function(e){return e.set("Value",t.payload.updatedModel)}))}));var n=e.get("JsonFormValues");n=n.set(t.payload.componentKey,t.payload.updatedModel),e.set("JsonFormValues",n)}))},c[_.IntentGraphAppActionTypes.ResetStore]=function(e,t){return b.createImmutableMap(new m.FormV2)},c)),O=b.createStateField(b.createImmutableMap(new m.DiagnosticsProgressResponse),((l={})[_.NodeActionTypes.StartDiagnosticsRun]=function(e,t){return t.payload},l[_.NodeActionTypes.ResetDiagnosticsRunStatus]=function(e,t){return b.createImmutableMap(new m.DiagnosticsProgressResponse)},l[_.NodeActionTypes.SetDiagnosticsRunProgress]=function(e,t){return t.payload?t.payload:e},l[_.NodeActionTypes.SetDiagnosticsStatus]=function(e,t){return e.withMutations((function(e){e.set("Status",t.payload.status)}))},l[_.NodeActionTypes.AbandonDiagnosticsRun]=function(e,t){return e.withMutations((function(e){e.set("AbandonCurrentRun",t.payload)}))},l[_.NodeActionTypes.ResetSafDiagnostic]=function(e,t){return b.createImmutableMap(new m.DiagnosticsProgressResponse)},l[_.IntentGraphAppActionTypes.ResetStore]=function(e,t){return b.createImmutableMap(new m.DiagnosticsProgressResponse)},l)),E=b.createStateField(0,((u={})[_.NodeActionTypes.StartDiagnosticsRun]=function(e,t){return 0},u[_.NodeActionTypes.SetDiagnosticsStatus]=function(e,t){return t.payload.isTimeout?m.SafConstants.InlineDiagnosticsMaxRetriesCount:0},u[_.NodeActionTypes.ResetDiagnosticsRunStatus]=function(e,t){return 0},u[_.NodeActionTypes.ResetSafDiagnostic]=function(e,t){return 0},u[_.NodeActionTypes.IncrementDiagnosticsRunProgress]=function(e,t){return e+1},u[_.IntentGraphAppActionTypes.ResetStore]=function(e,t){return 0},u)),N=b.createStateField(b.createImmutableList([]),((d={})[_.IntentGraphAppActionTypes.InitializeApp]=function(e,t){return e.withMutations((function(e){e.clear();var n=g.deserializeToImmutableMap(f.JsonDocument,t.payload.staticConfig.payload).get("initialVariables");e.merge(n)}))},d[_.IntentGraphAppActionTypes.UpdateGlobalVars]=function(e,t){return e.withMutations((function(e){t.payload.map((function(t){var n=e.find((function(e){return e.get("name")===t.get("name")}));n&&n.size>0?e.updateIn([e.findIndex((function(e){return e.get("name")===t.get("name")}))],(function(e){return e.set("value",t.get("value"))})):e.push(t)}))}))},d[_.NodeActionTypes.PushTargetNodeOnRenderedNodes]=function(e,t){return e.withMutations((function(e){if(t.payload.isDynamicChoice){var n=b.createImmutableMap({name:"dynamicChoice",value:t.payload.selectedChoice.get("text").get("content")}),o=b.createImmutableMap({name:"dynamicChoicePosition",value:t.payload.choiceIndex});b.createImmutableList([n,o]).map((function(t){var n=e.find((function(e){return e.get("name")===t.get("name")}));n&&n.size>0?e.updateIn([e.findIndex((function(e){return e.get("name")===t.get("name")}))],(function(e){return e.set("value",t.get("value"))})):e.push(t)}))}}))},d[_.IntentGraphAppActionTypes.ResetStore]=function(e,t){return b.createImmutableList([])},d)),P=b.createStateField(b.createImmutableList([]),((p={})[_.NodeActionTypes.UpdateRaisedEvent]=function(e,t){return e.withMutations((function(e){var n=-1,o=t.payload.uId,r=t.payload.status,i=t.payload.eventName,a=b.createImmutableMap({raisedBy:o,eventName:i,status:r});e.size>0&&i&&r&&o&&e.updateIn([e.findIndex((function(e,t){var r=e&&e.get("raisedBy")===o&&e.get("eventName")&&e.get("eventName").toLowerCase()===i.toLowerCase();return r&&(n=t),r}))],(function(e){return r!==f.RaisedEventStatus.inProgress?e.set("status",r):e})),-1===n&&e.push(a)}))},p[_.NodeActionTypes.EditNodeChoiceSelection]=function(e,t){return e.withMutations((function(e){var n=-1,o=t.payload.uId;e.find((function(e,t){return!(!e||e.get("raisedBy")!==o||(n=t,0))})),-1!=n&&e.remove(n)}))},p)),D=b.createStateField(b.createImmutableMap(new m.Timer(m.SafConstants.InlineDiagnosticsServiceTimerDelayInMilliseconds,m.SafConstants.InlineDiagnosticsMaxRetriesCount)),((h={})[_.IntentGraphAppActionTypes.InitializeApp]=function(e,t){var n=t.payload.staticConfig.safDiagnosticsSettings,o=n&&n.safActionMaxRetries?n.safActionMaxRetries:m.SafConstants.InlineDiagnosticsMaxRetriesCount,r=n&&n.serviceTimerDelayInMilliseconds?n.serviceTimerDelayInMilliseconds:m.SafConstants.InlineDiagnosticsServiceTimerDelayInMilliseconds;return b.createImmutableMap(new m.Timer(r,o))},h[_.NodeActionTypes.StartDiagnosticsTimer]=function(e,t){return e.withMutations((function(e){e.set("IntervalId",t.payload)}))},h[_.NodeActionTypes.StopDiagnosticsTimer]=function(e,t){return e.withMutations((function(e){e.set("IntervalId",void 0)}))},h[_.IntentGraphAppActionTypes.ResetStore]=function(e,t){return b.createImmutableMap(new m.Timer(m.SafConstants.InlineDiagnosticsServiceTimerDelayInMilliseconds,m.SafConstants.InlineDiagnosticsMaxRetriesCount))},h));t.intentGraphAppReducer=b.combineStates({isComponentInitialized:C,staticConfig:x,renderedNodes:w,prevChoiceSelections:T,isDiagnosticsActionInProgress:k,globalVars:N,diagnosticsFormModel:I,diagnosticsProgress:E,diagnosticsResponse:O,diagnosticsTimer:D,raisedEvents:P})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getRootReducer=t.getAppStore=t.createReduxRootDetached=void 0;var o=n(8),r=n(159);t.createReduxRootDetached=function(e,t){var n=o.combineStates(t,void 0,(function(){return i})),i=r.createStore(n.getReducerFunction(),e);return[n,i]},t.getAppStore=function(){throw new Error("AppStore have not been set")},t.getRootReducer=function(){throw new Error("rootReducer have not been set")}},function(e,t,n){"use strict";var o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.createStore=void 0;var r=n(82),i=o(n(160));t.createStore=function(e,t){var n=[i.default],o=r.compose;return window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__&&(o=window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__({name:t})),r.createStore(e,o(r.applyMiddleware.apply(void 0,n)))}},function(e,t,n){"use strict";function o(e){return function(t){var n=t.dispatch,o=t.getState;return function(t){return function(r){return"function"==typeof r?r(n,o,e):t(r)}}}}n.r(t);var r=o();r.withExtraArgument=o,t.default=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.defaultLightTheme=t.defaultDarkTheme=void 0;var o=n(9);t.defaultDarkTheme=function(){return o.createTheme({palette:{themePrimary:"#0078D4",themeLighterAlt:"#0C2031",themeLighter:"#D0E7F8",themeLight:"#043862",themeTertiary:"#004C87",themeSecondary:"#1A86D9",themeDarkAlt:"#1890F1",themeDark:"#3AA0F3",themeDarker:"#6CB8F6",neutralLighterAlt:"#202020",neutralLighter:"#252525",neutralLight:"#292929",neutralQuaternaryAlt:"#323232",neutralQuaternary:"#3B3B3B",neutralTertiaryAlt:"#484848",neutralTertiary:"#797979",neutralSecondary:"#B3B3B3",neutralPrimaryAlt:"#E1E1E1",neutralPrimary:"#EDEDED",neutralDark:"#F3F3F3",black:"#FFFFFF",white:"#141414"}})},t.defaultLightTheme=function(){return o.createTheme({palette:{themePrimary:"#0078D4",themeLighterAlt:"#F3F9FD",themeLighter:"#D0E7F8",themeLight:"#A9D3F2",themeTertiary:"#5CA9E5",themeSecondary:"#1A86D9",themeDarkAlt:"#006CBE",themeDark:"#005BA1",themeDarker:"#004377",neutralLighterAlt:"#F0F0F0",neutralLighter:"#EDEDED",neutralLight:"#E8E8E8",neutralQuaternaryAlt:"#E1E1E1",neutralQuaternary:"#D2D2D2",neutralTertiaryAlt:"#C8C8C8",neutralTertiary:"#A1A1A1",neutralSecondary:"#484644",neutralPrimaryAlt:"#8D8B8A",neutralPrimary:"#323130",neutralDark:"#605E5D",black:"#000000",white:"#FFFFFF"}})}},function(e,t,n){"use strict";var o,r=this&&this.__extends||(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),i=this&&this.__createBinding||(Object.create?function(e,t,n,o){void 0===o&&(o=n),Object.defineProperty(e,o,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,o){void 0===o&&(o=n),e[o]=t[n]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),s=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.hasOwnProperty.call(e,n)&&i(t,e,n);return a(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.IntentGraphBase=t.IntentGraphBaseC=void 0;var c=s(n(0)),l=n(74),u=n(75),d=n(8),p=n(17),h=n(163),f=n(164),m=n(165),g=n(18),b=n(29),y=n(20),v=d.createStructuredSelector({isComponentInitialized:y.isComponentInitializedSelector,correlationId:y.correlationIdSelector}),_={initializeAppAction:b.initializeAppAction,resetStoreAction:b.resetStoreAction},S=function(e){function t(t){var n=e.call(this,t)||this;return n.payloadMap=u.deserializeToImmutableMap(l.JsonDocument,n.props.staticConfig.payload),n.componentDidUpdate=function(e){e.correlationId&&e.correlationId!==n.props.staticConfig.correlationId&&(n.validateSchema(),n.props.initializeAppAction(n.props.staticConfig,n.props.callbackHandlers.LogHandler,n.props.callbackHandlers.IsUserSignedIn))},n.validateSchema=function(){var e=h.validateIntentSchema(n.props.staticConfig.payload,h.validationSchema())||{};if(Object.keys(e).length>0&&(n.props.callbackHandlers.onValidationErrorHandler&&"function"==typeof n.props.callbackHandlers.onValidationErrorHandler&&n.props.callbackHandlers.onValidationErrorHandler(e),!n.props.staticConfig.disableValidationException))throw new Error(JSON.stringify(e))},n.validateSchema(),n.props.resetStoreAction(),n.props.initializeAppAction(n.props.staticConfig,n.props.callbackHandlers.LogHandler,n.props.callbackHandlers.IsUserSignedIn),n}return r(t,e),t.prototype.render=function(){var e=g.getMainAppClassNames(this.props.styles,{theme:this.props.theme,stylesFunc:this.props.staticConfig.customstyle});return c.createElement("div",{className:e.root},this.props.isComponentInitialized&&this.props.correlationId===this.props.staticConfig.correlationId&&c.createElement(c.Fragment,null,c.createElement(f.Header,{stylesFunc:this.props.staticConfig.customstyle,callbackHandlers:this.props.callbackHandlers,key:"document$"+this.payloadMap.get("meta").get("id")+"$header"}),c.createElement(m.NodesList,{key:"document$"+this.payloadMap.get("meta").get("id")+"$nodeList",callbackHandlers:this.props.callbackHandlers,stylesFunc:this.props.staticConfig.customstyle})))},t}(c.Component);t.IntentGraphBaseC=S,t.IntentGraphBase=d.mconnect(v,_)(p.styledComponent(S,g.getMainAppStyles))},function(e,t,n){"use strict";var o=this&&this.__assign||function(){return(o=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.validateIntentSchema=t.getNodeTypeSchema=t.validateProperty=t.readParams=t.iterativelyReadDictValue=t.validationSchema=void 0;var r=n(74),i=n(126),a=n(125),s={raiseEventName:{validator:a._hasRaiseEventName,param:".",breakOn:!0,nodeId:""}};t.validationSchema=function(){return{schemaVersion:{propertyType:"number",validators:["_ofPropType"]},meta:{propertyType:"object",validators:["_ofPropType"],values:{id:{propertyType:"string",validators:["_ofPropType"]},title:{propertyType:"string",validators:["_nullableOfPropType"]},team:{propertyType:"string",validators:["_nullableOfPropType"]},supportAreaReference:{propertyType:"string",validators:["_nullableOfPropType"]}}},initialVariables:{propertyType:Array,validators:["_nullableOfPropType"]},topHeadingText:{propertyType:"object",validators:["_nullableOfPropType"],values:{contentType:{propertyType:r.ContentType,validators:["_ofPropType"]},content:{propertyType:"string",validators:["_ofPropType","_isTextOrHtmlValid"]}}},startNodeId:{propertyType:"string",validators:["_ofPropType","_existsInNodes"]},nodes:{propertyType:Array,validators:["_ofPropType"],values:{textNode:{propertyType:"object",validators:["_notNullableObject"],values:{type:{propertyType:r.NodeType,validators:["_ofPropType"]},id:{propertyType:"string",validators:["_nullableOfPropType"]},name:{propertyType:"string",validators:["_nullableOfPropType"]},tags:{propertyType:"string",validators:["_nullableOfPropType"]},title:{propertyType:"object",validators:["_nullableOfPropType"],values:{contentType:{propertyType:r.ContentType,validators:["_ofPropType"]},content:{propertyType:"string",validators:["_ofPropType","_isTextOrHtmlValid"]}}},text:{propertyType:"object",validators:["_nullableOfPropType"],values:{contentType:{propertyType:r.ContentType,validators:["_ofPropType"]},content:{propertyType:"string",validators:["_ofPropType","_isTextOrHtmlValid"]}}},outcomeSignal:{propertyType:"string",validators:["_nullableOfPropType"]}}},choiceNode:{propertyType:"object",validators:["_notNullableObject"],values:{orderOfValidation:["outcomeSignal*","text*skip-2*_ofPropType","question*skip-1*_ofPropType","staticChoices*","dynamicChoiceTargetNodeId*"],outcomeSignal:{propertyType:"string",validators:["_nullableOfPropType"]},question:{propertyType:"object",validators:["_nullableOfPropType"],values:{contentType:{propertyType:r.ContentType,validators:["_ofPropType"]},content:{propertyType:"string",validators:["_ofPropType","_isTextOrHtmlValid"]}}},staticChoices:{propertyType:Array,validators:["_nullableOfPropType"],values:{orderOfValidation:["text*","raiseEventName*skip-2","targetNodeId*"],text:{propertyType:"object",validators:["_ofPropType"],values:{contentType:{propertyType:r.ContentType.EmbeddedPlainText,validators:["_ofPropType"]},content:{propertyType:"string",validators:["_ofPropType","_isTextOrHtmlValid"]}}},raiseEventName:{propertyType:"string",validators:["_ofPropType"]},targetNodeId:{propertyType:"string",validators:["_ofPropType","_existsInNodes"]}}},dynamicChoiceTargetNodeId:{propertyType:"string",validators:["_nullableOfPropType","_nullableExistsInNodes"]}},inheritedValues:["schemaBase.nodes.values.textNode"]},dafdiagnosticnode:{propertyType:"object",validators:["_notNullableObject"],values:{actionType:{propertyType:r.ActionType,validators:["_nullableOfPropType"]},actionReference:{propertyType:"string",validators:["_nullableOfPropType"]},parameters:{propertyType:"object",validators:["_nullableOfPropType"]},variables:{propertyType:"object",validators:["_nullableOfPropType"]},targets:{propertyType:"object",validators:["_nullableOfPropType"]},defaultTargetNodeId:{propertyType:"string",validators:["_nullableOfPropType","_nullableExistsInNodes"]},failedTargetNodeId:{propertyType:"string",validators:["_nullableOfPropType","_existsInNodes"]}},inheritedValues:["schemaBase.nodes.values.textNode"]},safdiagnosticnode:{propertyType:"object",validators:["_nullableOfPropType"],values:{payload:{propertyType:"string",validators:["_notNullableString"]},failedTargetNodeId:{propertyType:"string",validators:["_ofPropType","_existsInNodes"]},successTargetNodeId:{propertyType:"string",validators:["_ofPropType","_existsInNodes"]}},inheritedValues:["schemaBase.nodes.values.textNode"]}}}}};var c={_isTextOrHtmlValid:{method:a._isTextOrHtmlValid,params:["."],errorMessage:"invalid string/html format"},_existsInNodes:{method:a._existsInNodes,params:[".","root.nodes"],errorMessage:"node id is missing in list of nodes"},_nullableExistsInNodes:{method:a._nullableExistsInNodes,params:[".","root.nodes"],errorMessage:"node id was provided but is missing in the current list of nodes"},_ofPropType:{method:a._ofPropType,params:[".","*propertyType"],errorMessage:"encountered null value or incorrect type"},_nullableOfPropType:{method:a._nullableOfPropType,params:[".","*propertyType"],errorMessage:"encountered incorrect type"}};t.iterativelyReadDictValue=function(e,t,n){var o=e;if(t&&e){var r=t.split(n);for(var i in r)if(i&&r[i]){var a=r[i];r.hasOwnProperty(i)&&(o=o[a])}return o}return null},t.readParams=function(e,n,o,r,i){var a=[];return n||a.push(e),n&&n.forEach((function(n){if("."===n)a.push(e);else if(n.includes("root.")){n=n.replace("root","");var r=t.iterativelyReadDictValue(i,n,".");a.push(r)}else n&&n.includes("*")?(r=t.iterativelyReadDictValue(o,n,"*"),a.push(r)):(r=t.iterativelyReadDictValue(e,n,"."),a.push(r))})),a},t.validateProperty=function(e,n,o,r,a,l,u){var d=o&&o.validators||[];return(d=u&&u.length>0?u:d).forEach((function(u){var d=i.ErrorLevel.critical;u.includes("*")&&(u=u.replace("*",""),d=i.ErrorLevel.warning);var p=c[u];if(p){var h=p.method,f=t.readParams(n,p.params,o,r,l);h.apply(void 0,f)||Object.keys(s).find((function(e){var t=s[e].nodeId;return t&&a.includes(t)}))||(e=function(e,t,n,o){var r=new i.ValidationModel(t,o);return e[n]?e[n].push(r):e[n]=[r],e}(e,p.errorMessage,a,d))}})),e},t.getNodeTypeSchema=function(e,t){if(e)switch(e.toLowerCase()){case r.NodeType.TextNode.toLowerCase():return t.nodes.values.textNode;case r.NodeType.ChoiceNode.toLowerCase():return t.nodes.values.choiceNode;case r.NodeType.SafDiagnosticNode.toLowerCase():return t.nodes.values.safdiagnosticnode;case r.NodeType.DafDiagnosticNode.toLowerCase():return t.nodes.values.dafdiagnosticnode}};var l=function(e,t,n,o,r,i,a){if(e)for(var c=[],l=[],d={},p=0;p<e.length;p++)if(!c.includes(p)){var h=e[p].split("*"),f=h[1]&&h[1].includes("skip"),m=h[2]||"",g=[];m&&(g=m.includes(",")?m.split(","):[m]);var b=h[0],y=s[b];if(y&&y.validator(t[b])===y.breakOn){var v=r.split(":")[1].split(".")[0];return s[b].nodeId=v,o}if(b){o=u(b,t,n,o,r,i,a,g);var _=r+b;if(l.includes(p)&&!o[_]&&(o[d[p]]=void 0,delete o[d[p]]),f){var S=f?parseInt(h[1].replace("skip-","")):-1;if(!o[_]){-1!==S&&c.push(S);break}d[S]=_,-1!==S&&l.push(S)}}}return o};t.validateIntentSchema=function(e,t,n,o,r){r=r||e,n=n||{};var i=o=o||"root.";return Object.keys(t).forEach((function(a){n=u(a,e,t,n,o,r,i)})),n};var u=function(e,n,r,i,a,s,c,u){a+=""+e;var d=r[e];if(["nodes","staticChoices","dynamicChoices","propertyType","orderOfValidation"].includes(e)){if("nodes"===e){var p=n[e];i=t.validateProperty(i,p,d,n,a,s,u),p&&p.forEach((function(e,d){a="root.nodes["+d+"].id:"+e.id;var p=t.getNodeTypeSchema(e.type,r);p.validators&&(i=t.validateProperty(i,e,p,n,a,s,u));var h=p.inheritedValues?o(o({},p.values),t.validationSchema().nodes.values.textNode.values):p.values;if(h){a+=".";var f=h.orderOfValidation;i=t.validateIntentSchema(e,h,i,a,s),i=l(f,e,h,i,a,s,c)}}))}else if("staticChoices"===e){var h=n[e];i=t.validateProperty(i,h,d,n,a,s,u);var f=d.values,m=d.values.orderOfValidation;h&&h.forEach((function(e,o){var r=a+".staticChoices["+o+"]";f&&(i=t.validateProperty(i,e,f,n,r,s,u),i=l(m,e,f,i,r+=".",s,c))}))}}else{var g=n[e];i=t.validateProperty(i,g,d,n,a,s,u),r[e].values&&g&&(a+=".",i=t.validateIntentSchema(g,r[e].values,i,a,s))}return a=c,i}},function(e,t,n){"use strict";var o,r=this&&this.__extends||(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),i=this&&this.__createBinding||(Object.create?function(e,t,n,o){void 0===o&&(o=n),Object.defineProperty(e,o,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,o){void 0===o&&(o=n),e[o]=t[n]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),s=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.hasOwnProperty.call(e,n)&&i(t,e,n);return a(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.Header=void 0;var c=s(n(0)),l=n(8),u=n(17),d=n(18),p=n(20),h=n(79),f=n(34),m=l.createStructuredSelector({metadata:p.jsonPayloadMetaSelector,topHeading:p.topHeadingSelector,sessionId:p.sessionIdSelector,enableLinkClickLogging:p.enableLinkClickLoggingSelector}),g=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.render=function(){var e=d.getHeaderClassNames(this.props.styles,{theme:this.props.theme,stylesFunc:this.props.stylesFunc}),t=this.props.metadata?this.props.metadata.get("id"):f();return c.createElement(h.TextFieldComponent,{key:t,callbackHandlers:this.props.callbackHandlers,stylesFunc:this.props.stylesFunc,componentkey:"document$"+this.props.metadata.get("id")+"$topHeadingText",className:e.headerRootDiv,textContent:this.props.topHeading,sessionId:this.props.sessionId,meta:this.props.metadata,logLinkClicks:this.props.enableLinkClickLogging})},t}(c.PureComponent);t.Header=l.mconnect(m,{})(u.styledComponent(g,d.getHeaderStyles))},function(e,t,n){"use strict";var o,r=this&&this.__extends||(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),i=this&&this.__createBinding||(Object.create?function(e,t,n,o){void 0===o&&(o=n),Object.defineProperty(e,o,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,o){void 0===o&&(o=n),e[o]=t[n]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),s=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.hasOwnProperty.call(e,n)&&i(t,e,n);return a(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.NodesList=void 0;var c=s(n(0)),l=n(14),u=n(8),d=n(17),p=n(18),h=n(29),f=n(25),m=n(20),g=n(166),b=u.createStructuredSelector({renderedNodes:m.renderedNodesSelector,enableScrollToBottom:m.enableScrollToBottomSelector,enableScrollToTop:m.enableScrollToTopSelector,scrollRefClassName:m.scrollRefClassNameSelector}),y={dispatchDiagnosticsCompletedAction:f.dispatchDiagnosticsCompletedAction,safDiagnosticsCompletedAction:h.safDiagnosticsCompletedAction},v=function(e){function t(t){var n=e.call(this,t)||this;return n.containerRef=c.createRef(),n.renderStartNode=!0,n.componentDidMount=function(){n.props.enableScrollToTop?n._scrollToTop():n.props.enableScrollToBottom&&n._scrollToBottom()},n.componentDidUpdate=function(e){n.props.enableScrollToTop?n._scrollToTop():n.props.enableScrollToBottom&&n._scrollToBottom()},n.componentWillUnmount=function(){var e=n.props.renderedNodes;e&&e.size>0&&e.forEach((function(e){e&&void 0!==e.get("timerId")&&window.clearInterval(e.get("timerId"))}))},n._getNodes=function(e){return n.props.renderedNodes?n.props.renderedNodes.map((function(t,o){var r=t.get("id"),i=t.get("uId"),a=n.renderStartNode?e.startNodeContainer:e.container;return t.get("type").toLowerCase()===l.NodeType.TextNode&&(a=e.textNodeContainer),c.createElement("div",{className:a,"data-key":"graphNode-"+o,key:i+"$graphNode$"+o},c.createElement(g.Node,{componentkey:i+"$graphNode$"+o,key:i+"$graphNode$"+o,nodeId:r,stylesFunc:n.props.stylesFunc,callbackHandlers:n.props.callbackHandlers,renderStartNode:n.renderStartNode,nodeIndex:o,uId:i}))})).toArray():null},n.render=function(){var e=p.getNodeListClassNames(n.props.styles,{theme:n.props.theme,stylesFunc:n.props.stylesFunc});return n.props.renderedNodes.count()>1&&(n.renderStartNode=!1),c.createElement("div",{className:e.listContainer,ref:n.containerRef},n._getNodes(e))},n._scrollToTop=function(){var e=n.containerRef.current.querySelector('div[data-key="graphNodeScrollTop$'+(n.props.renderedNodes.size-2)+'"]');if(e&&n.props.scrollRefClassName){var t=document.getElementsByClassName(n.props.scrollRefClassName),o=t&&t[0];o&&(n.props.callbackHandlers.scrollToTopHandler&&"function"==typeof n.props.callbackHandlers.scrollToTopHandler?n.props.callbackHandlers.scrollToTopHandler(o):o.scroll({top:e.offsetTop-o.offsetTop,left:0,behavior:"smooth"}))}},n._scrollToBottom=function(){var e=n.containerRef.current.querySelector('div[data-key="graphNode-'+(n.props.renderedNodes.size-1)+'"]');e&&(n.props.callbackHandlers.scrollToBottomHandler&&"function"==typeof n.props.callbackHandlers.scrollToBottomHandler?n.props.callbackHandlers.scrollToBottomHandler(e):e.scrollIntoView({behavior:"smooth",block:"end",inline:"nearest"}))},n.onDafDiagnosticsActionCompleted=function(e,t){var o=!1;t||(o=!0),n.props.dispatchDiagnosticsCompletedAction(e,t,n.props.callbackHandlers.LogHandler,o)},n.onSafDiagnosticsActionCompleted=function(){n.props.safDiagnosticsCompletedAction()},window.yoda.IntentGraph.Events.onDafDiagnosticsActionCompleted=n.onDafDiagnosticsActionCompleted,window.yoda.IntentGraph.Events.onSafDiagnosticsActionCompleted=n.onSafDiagnosticsActionCompleted,n}return r(t,e),t}(c.PureComponent);t.NodesList=u.mconnect(b,y)(d.styledComponent(v,p.getNodeListStyles))},function(e,t,n){"use strict";var o,r=this&&this.__extends||(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),i=this&&this.__createBinding||(Object.create?function(e,t,n,o){void 0===o&&(o=n),Object.defineProperty(e,o,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,o){void 0===o&&(o=n),e[o]=t[n]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),s=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.hasOwnProperty.call(e,n)&&i(t,e,n);return a(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.Node=void 0;var c=s(n(0)),l=n(14),u=n(8),d=n(17),p=n(18),h=n(25),f=n(29),m=n(20),g=n(167),b=n(168),y=n(169),v=n(176),_=n(79),S=n(19),C=u.createStructuredSelector({node:m.getNodeSelector,meta:m.jsonPayloadMetaSelector,sessionId:m.sessionIdSelector,isDiagnosticsActionInProgress:m.isDiagnosticActionInProgressSelector,globalVars:m.globalVarsSelector,enableLinkClickLogging:m.enableLinkClickLoggingSelector}),x={dispatchNodeRernderedEvent:h.dispatchNodeRernderedEvent,updateRaisedEventAction:f.updateRaisedEventAction},w=function(e){function t(t){var n=e.call(this,t)||this;return n.componentDidMount=function(){n.props.node&&n.props.callbackHandlers.NodeRendered&&"function"==typeof n.props.callbackHandlers.NodeRendered&&n.props.dispatchNodeRernderedEvent(n.props.node,n.props.callbackHandlers.NodeRendered)},n.render=function(){var e=p.getNodeClassNames(n.props.styles,{theme:n.props.theme,stylesFunc:n.props.stylesFunc}),t=n.props.node.get("isFirstRender"),o=n.props.node.get("isInEditMode"),r=n.props.node.get("uId");return c.createElement("div",{key:n.props.node.get("uId")},n._renderTitle()&&c.createElement(_.TextFieldComponent,{componentkey:r+"$title$"+n.props.nodeIndex,key:r+"$title$"+n.props.nodeIndex,callbackHandlers:n.props.callbackHandlers,stylesFunc:n.props.stylesFunc,textContent:n.props.node.get("title"),className:e.startNodeLabel,sessionId:n.props.sessionId,meta:n.props.meta,node:n.props.node,getVariable:n.getVariable,globalVarSize:n.props.globalVars&&n.props.globalVars.size||0,logLinkClicks:n.props.enableLinkClickLogging}),n._renderText()&&c.createElement(_.TextFieldComponent,{componentkey:r+"$text",key:r+"$text",callbackHandlers:n.props.callbackHandlers,stylesFunc:n.props.stylesFunc,textContent:n.props.node.get("text"),className:e.content,titleClassName:e.contentTitle,sessionId:n.props.sessionId,meta:n.props.meta,node:n.props.node,getVariable:n.getVariable,globalVarSize:n.props.globalVars&&n.props.globalVars.size||0,logLinkClicks:n.props.enableLinkClickLogging}),n._renderQuestion()&&c.createElement("div",{"data-key":"graphNodeScrollTop$"+n.props.nodeIndex},c.createElement(_.TextFieldComponent,{componentkey:r+"$question",key:r+"$question",callbackHandlers:n.props.callbackHandlers,stylesFunc:n.props.stylesFunc,textContent:n.props.node.get("question"),className:e.question,sessionId:n.props.sessionId,meta:n.props.meta,node:n.props.node,getVariable:n.getVariable,globalVarSize:n.props.globalVars&&n.props.globalVars.size||0,logLinkClicks:n.props.enableLinkClickLogging})),n._renderNodeByType(),!o&&!t&&c.createElement("hr",{className:e.hairline}))},n.getVariable=function(e){return S.findAndReplaceVariables(n.props.globalVars,e,l.RegExpForTextContent)},n.onRaisedEventCompleted=function(e,t,o){var r=t?l.RaisedEventStatus.success:l.RaisedEventStatus.failure;n.props.updateRaisedEventAction(o,e,r)},n._renderNodeByType=function(){var e=n.props.node.get("id"),t=n.props.node.get("type"),o=n.props.node.get("actionType"),r=n.props.node.get("uId");switch(t.toLowerCase()){case l.NodeType.ChoiceNode:return c.createElement("div",{key:r},c.createElement(g.ChoiceNode,{nodeIndex:n.props.nodeIndex,componentkey:r+"$choiceNode",key:r,nodeId:e,uId:r,callbackHandlers:n.props.callbackHandlers,stylesFunc:n.props.stylesFunc}));case l.NodeType.DafDiagnosticNode:return o&&o.toLowerCase()===l.ActionType.SkylightSAF.toLowerCase()?c.createElement(y.SafActionNode,{componentkey:e+"$safActionDiagnosticsNode",key:e+"$safActionDiagnosticsNode",nodeId:e,callbackHandlers:n.props.callbackHandlers,stylesFunc:n.props.stylesFunc,uId:r}):c.createElement(b.DAFNode,{componentkey:r+"$dafDiagnosticsNode",key:r+"$dafDiagnosticsNode",nodeId:e,uId:r,callbackHandlers:n.props.callbackHandlers,stylesFunc:n.props.stylesFunc});case l.NodeType.SafDiagnosticNode:return c.createElement(v.SAFNode,{componentkey:r+"$safDiagnosticsNode",key:r+"$safDiagnosticsNode",nodeId:e,uId:r,callbackHandlers:n.props.callbackHandlers,stylesFunc:n.props.stylesFunc})}},n._renderAccordion=function(e,t){return!e||(l.NodeType.TextNode,!1)},n._renderTitle=function(){return!n._renderAccordion(n.props.node.get("isFirstRender"),n.props.node.get("type").toLowerCase())&&n.props.node.get("isFirstRender")&&n.props.node.get("type").toLowerCase()!==l.NodeType.DafDiagnosticNode&&!!n.props.node.get("title")&&n.props.node.get("title").size>0&&n.props.node.get("type").toLowerCase()!==l.NodeType.SafDiagnosticNode},n._renderText=function(){var e=n.props.node.get("type")?n.props.node.get("type").toLowerCase():"";return!!n.props.node.get("text")&&n.props.node.get("text").size>0&&(e!==l.NodeType.DafDiagnosticNode&&e!==l.NodeType.SafDiagnosticNode||e===l.NodeType.DafDiagnosticNode&&n.props.isDiagnosticsActionInProgress)},n._renderQuestion=function(){return!!n.props.node.get("question")&&n.props.node.get("question").size>0},window.yoda.IntentGraph.Events.onRaisedEventCompleted=n.onRaisedEventCompleted,n}return r(t,e),t}(c.PureComponent);t.Node=u.mconnect(C,x)(d.styledComponent(w,p.getNodeStyles))},function(e,t,n){"use strict";var o,r=this&&this.__extends||(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),i=this&&this.__createBinding||(Object.create?function(e,t,n,o){void 0===o&&(o=n),Object.defineProperty(e,o,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,o){void 0===o&&(o=n),e[o]=t[n]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),s=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.hasOwnProperty.call(e,n)&&i(t,e,n);return a(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.ChoiceNode=void 0;var c=n(9),l=s(n(0)),u=n(14),d=n(8),p=n(17),h=n(18),f=n(25),m=n(29),g=n(25),b=n(20),y=d.createStructuredSelector({node:b.getNodeSelector,staticChoices:b.getStaticChoicesSelector,dynamicChoiceList:b.getDynamicChoicesListSelector,dynamicChoices:b.getDynamicChoicesSelector,selectedChoice:b.getSelectedChoiceSelector,isDiagnosticsActionInProgress:b.isDiagnosticActionInProgressSelector,isInEditMode:b.getIsInEditModeSelector,nodeRaisedEvents:b.nodeRaisedEventsSelector}),v={dispatchPushTargetNode:f.dispatchPushTargetNode,dispatchEditNodeChoiceSelections:g.dispatchEditNodeChoiceSelections,updateRaisedEventAction:m.updateRaisedEventAction},_=function(e){function t(t){var n=e.call(this,t)||this;return n.clickedNode=-1,n.lastClickedDynamicChoice=!1,n.firstRender=!0,n.waitingForRaisedEvent=!1,n.targetNodeValues={},n.componentDidUpdate=function(e){if(n.props.nodeRaisedEvents&&n.waitingForRaisedEvent&&n.props.nodeRaisedEvents.get("status")!==u.RaisedEventStatus.inProgress){n.waitingForRaisedEvent=!1;var t=n.props.nodeRaisedEvents.get("status")===u.RaisedEventStatus.success,o=n.targetNodeValues,r=o.nodeId,i=o.selectedChoice,a=o.isDynamicChoice,s=o.index;n.props.dispatchPushTargetNode(r,i,a,s,n.props.callbackHandlers.LogHandler,n.props.callbackHandlers.IsUserSignedIn,t)}},n.render=function(){var e=h.getChoiceNodeClassNames(n.props.styles,{theme:n.props.theme,stylesFunc:n.props.stylesFunc});return n.props.nodeRaisedEvents&&n.props.nodeRaisedEvents.get("status")===u.RaisedEventStatus.inProgress?l.createElement(c.Spinner,{styles:h.getChoiceNodeStyles(n.props).spinner}):l.createElement("div",{className:e.choicesList,key:n.props.node.get("uId")+"-choices"},n.props.dynamicChoices&&n._getDynamicChoiceList(e),n._getStaticChoices(e))},n._onChoiceBtnClick=function(e,t,o,r,i){return void 0===o&&(o=!1),function(a){if(n.clickedNode=i,n.firstRender=!1,r&&!n.props.isInEditMode)n._onEditIconClick(a);else{n.lastClickedDynamicChoice=o;var s=void 0,c=void 0;t&&(s=t.get("raiseEventName")||"",c=!!t.get("eventHold")),s&&""!==s&&n.props.callbackHandlers.RaiseEventHandler&&"function"==typeof n.props.callbackHandlers.RaiseEventHandler&&(c&&(n.props.updateRaisedEventAction(n.props.uId,s,u.RaisedEventStatus.inProgress),n.targetNodeValues={nodeId:e,isDynamicChoice:o,selectedChoice:t,index:i},n.waitingForRaisedEvent=!0),n.props.callbackHandlers.RaiseEventHandler(s,null,n.props.uId)),c||n.props.dispatchPushTargetNode(e,t,o,i,n.props.callbackHandlers.LogHandler,n.props.callbackHandlers.IsUserSignedIn)}}},n._onEditIconClick=function(e){var t=e.target;n.props.isDiagnosticsActionInProgress||!t||"I"!==t.tagName&&!t.querySelector("i")||n.props.dispatchEditNodeChoiceSelections(n.props.nodeId,n.props.callbackHandlers.LogHandler,n.props.node.get("uId")),e.stopPropagation()},n._getDynamicChoiceList=function(e){return!!n.props.dynamicChoiceList&&n.props.dynamicChoiceList.map((function(t,o){var r=t.get("text").get("content"),i=n._isChoiceSelectedChoice(t);if(n.firstRender||o===n.clickedNode&&n.lastClickedDynamicChoice||n.props.isInEditMode)return l.createElement("div",{title:r,key:r+"-tooltip"+o},l.createElement(c.DefaultButton,{ariaLabel:r,key:n.props.uId+"$dynamicChoice$"+o,text:r,styles:h.getOptionBtnStyles({theme:n.props.theme,stylesFunc:n.props.stylesFunc}),onClick:n._onChoiceBtnClick(n.props.nodeId,t,!0,i,o),allowDisabledFocus:!0,checked:i,primary:i},!!i&&!n.props.isInEditMode&&l.createElement(c.FontIcon,{iconName:"Edit",className:e.editIcon,key:n.props.uId+"$staticChoiceIcon$"+o})))}))},n._getStaticChoices=function(e){return!!n.props.staticChoices&&n.props.staticChoices.map((function(t,o){var r=t.get("text").get("content"),i=n._isChoiceSelectedChoice(t);if(n.firstRender||o===n.clickedNode&&!n.lastClickedDynamicChoice||n.props.isInEditMode)return l.createElement("div",{title:r,key:n.props.node.get("uId")+"-tooltip"+o},l.createElement(c.DefaultButton,{ariaLabel:r,key:n.props.uId+"$staticChoice$"+o,text:r,styles:h.getOptionBtnStyles({theme:n.props.theme,stylesFunc:n.props.stylesFunc}),onClick:n._onChoiceBtnClick(n.props.nodeId,t,!1,i,o),allowDisabledFocus:!0,checked:i,primary:i},!!i&&!n.props.isInEditMode&&l.createElement(c.FontIcon,{iconName:"Edit",className:e.editIcon,key:n.props.uId+"$staticChoiceIcon$"+o})))}))},n._isChoiceSelectedChoice=function(e){if(n.props.selectedChoice){var t=n.props.selectedChoice;return t.get("text")===e.get("text")&&t.get("raiseEventName")===e.get("raiseEventName")&&t.get("targetNodeId")===e.get("targetNodeId")}},n}return r(t,e),t}(l.PureComponent);t.ChoiceNode=d.mconnect(y,v)(p.styledComponent(_,h.getChoiceNodeStyles))},function(e,t,n){"use strict";var o,r=this&&this.__extends||(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),i=this&&this.__createBinding||(Object.create?function(e,t,n,o){void 0===o&&(o=n),Object.defineProperty(e,o,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,o){void 0===o&&(o=n),e[o]=t[n]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),s=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.hasOwnProperty.call(e,n)&&i(t,e,n);return a(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.DAFNode=void 0;var c=n(9),l=s(n(0)),u=n(14),d=n(8),p=n(17),h=n(18),f=n(25),m=n(20),g=n(127),b=d.createStructuredSelector({node:m.getNodeSelector,sessionId:m.sessionIdSelector,meta:m.jsonPayloadMetaSelector,isDiagnosticsInProgress:m.isDiagnosticActionInProgressSelector}),y={dispatchStartDiagnosticsAction:f.dispatchStartDiagnosticsAction},v=(n(34),function(e){function t(t){var n=e.call(this,t)||this;return n.render=function(){var e=h.getDafNodeClassNames(n.props.styles,{theme:n.props.theme,stylesFunc:n.props.stylesFunc}),t=n.props.node.get("diagnosticsActionStatus"),o=t===u.DiagnosticsActionStatus.CompletedSuccessfully||t===u.DiagnosticsActionStatus.Error;return l.createElement("div",{className:e.dafContainer},o&&l.createElement(g.DiagnosticStatusBar,{classNames:e,node:n.props.node,prefix:"daf",callbackHandlers:n.props.callbackHandlers,stylesFunc:n.props.stylesFunc,sessionId:n.props.sessionId,meta:n.props.meta,theme:n.props.theme}),n._showProgressSpinner()&&l.createElement(c.Spinner,{styles:h.getDafSpinnerStyles(n.props)}))},n._showProgressSpinner=function(){if(n.props.isDiagnosticsInProgress)switch(n.props.node.get("diagnosticsActionStatus")){case u.DiagnosticsActionStatus.CompletedSuccessfully:case u.DiagnosticsActionStatus.Error:return!1;default:return!0}return!1},n}return r(t,e),t.prototype.componentDidMount=function(){this.props.callbackHandlers.DiagnosticsActionHandler&&"function"==typeof this.props.callbackHandlers.DiagnosticsActionHandler&&this.props.dispatchStartDiagnosticsAction(this.props.node,this.props.callbackHandlers.DiagnosticsActionHandler,this.props.callbackHandlers.LogHandler)},t}(l.PureComponent));t.DAFNode=d.mconnect(b,y)(p.styledComponent(v,h.getDafSpinnerStyles))},function(e,t,n){"use strict";var o,r=this&&this.__extends||(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),i=this&&this.__createBinding||(Object.create?function(e,t,n,o){void 0===o&&(o=n),Object.defineProperty(e,o,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,o){void 0===o&&(o=n),e[o]=t[n]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),s=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.hasOwnProperty.call(e,n)&&i(t,e,n);return a(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.SafActionNode=void 0;var c=n(9),l=s(n(0)),u=n(14),d=n(8),p=n(17),h=n(18),f=n(25),m=n(20),g=n(128),b=n(29),y=n(127),v=d.createStructuredSelector({node:m.getNodeSelector,sessionId:m.sessionIdSelector,meta:m.jsonPayloadMetaSelector,diagnosticsForm:m.diagnosticsFormSelector,isDiagnosticsInProgress:m.isDiagnosticActionInProgressSelector}),_={dispatchStartSAFDiagnosticsAction:f.dispatchStartSAFDiagnosticsAction,resetSafDiagnosticAction:b.resetSafDiagnosticAction},S=(n(34),function(e){function t(t){var n=e.call(this,t)||this;return n.render=function(){var e=h.getSafActionNodeClassNames(n.props.styles,{theme:n.props.theme,stylesFunc:n.props.stylesFunc}),t=n.props.node.get("diagnosticsActionStatus"),o=t===u.DiagnosticsActionStatus.CompletedSuccessfully||t===u.DiagnosticsActionStatus.Error;return l.createElement("div",{className:e.safContainer},o&&l.createElement(y.DiagnosticStatusBar,{classNames:e,node:n.props.node,prefix:"saf",callbackHandlers:n.props.callbackHandlers,stylesFunc:n.props.stylesFunc,sessionId:n.props.sessionId,meta:n.props.meta,theme:n.props.theme}),!o&&n._getDiagnosticForm(),n._showProgressSpinner()&&l.createElement(c.Spinner,{styles:h.getSafActionNodeStyles(n.props).spinner}))},n._getDiagnosticForm=function(){return n.props.diagnosticsForm.size>0&&l.createElement(g.SafInlineDiagnostics,{stylesFunc:n.props.stylesFunc,isSAFAction:!0,callbackHandlers:n.props.callbackHandlers,nodeId:n.props.nodeId,uId:n.props.uId})},n._showProgressSpinner=function(){return void 0===n.props.node.get("diagnosticsActionStatus")||n.props.node.get("diagnosticsActionStatus")===u.DiagnosticsActionStatus.FetchingDiagnosticsInProgress},n}return r(t,e),t.prototype.componentDidMount=function(){this.props.callbackHandlers.GetSAFActionSchema&&"function"==typeof this.props.callbackHandlers.GetSAFActionSchema&&(this.props.resetSafDiagnosticAction(),this.props.dispatchStartSAFDiagnosticsAction(this.props.node,this.props.callbackHandlers.GetSAFActionSchema,this.props.callbackHandlers.LogHandler))},t}(l.PureComponent));t.SafActionNode=d.mconnect(v,_)(p.styledComponent(S,h.getSafActionNodeStyles))},function(e){e.exports=JSON.parse('{"Diagnostics":{"SubmitButtonLabel":"Run tests","RerunTestButtonLabel":"Rerun tests","DiagnosticsInProgressMessageTitle":"Running diagnostic tests...","DiagnosticsInProgressMessageDesc":"Please keep the panel open while tests are running. This may take a minute or so to complete.","DiagnosticsInProgressIndicatorDesc":"Running tests...","DiagnosticsCompleteProgressIndicatorDesc":"Tests completed.","DiagnosticsRunFailedTitle":"Our tests didn\'t find any problems.","DiagnosticsRunTimeoutTitle":"Diagnostics tests timeout.","DiagnosticsRunFailedDesc":"Please try again later.","DiagnosticsRunCompleted":"Done testing.","RunDiagnosticsAlertMessage":"Running Tests","DiagnosticSectionTitle":"Run diagnostics"}}')},function(e,t,n){"use strict";var o,r=this&&this.__extends||(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),i=this&&this.__createBinding||(Object.create?function(e,t,n,o){void 0===o&&(o=n),Object.defineProperty(e,o,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,o){void 0===o&&(o=n),e[o]=t[n]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),s=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.hasOwnProperty.call(e,n)&&i(t,e,n);return a(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.FormBuilder=t.FormBuilderC=void 0;var c=n(9),l=s(n(0)),u=n(78),d=n(19),p=n(77),h=n(46),f=n(172),m=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.commonClassNames=h.getCommonClassNames(t.props.styles,{theme:t.props.theme,stylesFunc:t.props.stylesFunc}),t.mapper={CheckBox:f.Checkbox,DatePicker:f.DatePicker,DropDown:f.Dropdown,TextField:f.TextField},t._formBuilder=function(e,n){var o=t.mapper[e.get("Type")];if(!o)return null;var r="formComponent_"+e.get("Key")+"_"+n;return l.createElement("div",{key:r,className:t.commonClassNames.contentContainer},l.createElement(o,{stylesFunc:t.props.stylesFunc,callbackHandlers:t.props.callbackHandlers,componentModel:e,onChangeReducer:t.props.formComponentReducer}))},t._onClick=function(){t.props.formSubmitReducer&&t.props.formSubmitReducer()},t}return r(t,e),t.prototype.render=function(){var e,t=this,n=this.props.formSchema.get("Key"),o=this.props.formSchema.get("FormFields");return o&&o.size>0&&(e=o.map((function(e,n){return t._formBuilder(e,n)}))),l.createElement("div",{key:n},l.createElement("div",{className:c.mergeStyles(this.commonClassNames.contentContainer,this.commonClassNames.title)},this.props.formSchema.get("LocalizedTitle")),this.props.formSchema.get("LocalizedDescription")&&l.createElement("div",{className:this.commonClassNames.contentContainer},this.props.formSchema.get("LocalizedDescription")),e,l.createElement("div",{className:this.commonClassNames.contentContainer},l.createElement(c.PrimaryButton,{styles:h.getFormBtnStyles({theme:this.props.theme,stylesFunc:this.props.stylesFunc}),title:this.props.submitBtnLabel,text:d.truncateWithEllipsis(this.props.submitBtnLabel,62),primary:!0,disabled:p.isFormInvalid(this.props.formSchema),onClick:this._onClick})))},t}(l.PureComponent);t.FormBuilderC=m,t.FormBuilder=u.styledComponent(m,h.getCommonStyles)},function(e,t,n){"use strict";var o,r=this&&this.__extends||(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),i=this&&this.__createBinding||(Object.create?function(e,t,n,o){void 0===o&&(o=n),Object.defineProperty(e,o,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,o){void 0===o&&(o=n),e[o]=t[n]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),s=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.hasOwnProperty.call(e,n)&&i(t,e,n);return a(t,e),t},c=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.TextField=t.Dropdown=t.DatePicker=t.Checkbox=t.CheckboxC=t.TextFieldC=void 0;var l=n(9),u=c(n(0)),d=n(8),p=n(78),h=n(77),f=n(25),m=n(20),g=s(n(173)),b=n(46),y=n(174),v=n(175),_=d.createStructuredSelector({error:m.ErrorSelector}),S={dispatchResetErrorAction:f.dispatchResetErrorAction,dispatchSetErrorAction:f.dispatchSetErrorAction},C={DiagnosticsFormRequiredFieldError:"Field is required.",DiagnosticsFormNumberBoundaryErro:"Input cannot be greater than {in_value}.",DiagnosticsFormStringLengthError:"Input cannot be longer than {in_value}.",DiagnosticsFormStringPatternError:"Input does not match pattern."},x=function(e,t){return e&&e.get("ErrorCode")?C[e.get("ErrorCode")].replace("{in_value}",t):""},w=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._onBlur=function(e){h.validatorWrapper(t.props.componentModel.get("Value"),t.props.componentModel,t.props.onChangeReducer,t.props.dispatchSetErrorAction,t.props.dispatchResetErrorAction,e.type)},t._onChange=function(e,n){h.validatorWrapper(n,t.props.componentModel,t.props.onChangeReducer,t.props.dispatchSetErrorAction,t.props.dispatchResetErrorAction,e.type)},t}return r(t,e),t.prototype.render=function(){var e=this.props.componentModel,t=e.get("Constraints");return u.default.createElement(v.TextField,{title:e.get("LocalizedPlaceholder")||e.get("LocalizedToolTip"),label:e.get("Title"),placeholder:e.get("LocalizedPlaceholder"),onChange:this._onChange,value:e.get("Value")?e.get("Value"):"",multiline:e.get("IsMultilineText"),rows:e.get("MultilineRowsCount"),required:!!t&&t.get("Required"),validateOnFocusOut:!0,errorMessage:x(this.props.error),pattern:t?t.get("Pattern"):"",styles:b.getFormTextFieldStyles(this.props),onBlur:this._onBlur})},t}(u.default.PureComponent);t.TextFieldC=w;var T=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._onChange=function(e,n){h.validatorWrapper(n,t.props.componentModel,t.props.onChangeReducer,t.props.dispatchSetErrorAction,t.props.dispatchResetErrorAction,e.type)},t}return r(t,e),t.prototype.render=function(){var e=this.props.componentModel;return u.default.createElement(l.Checkbox,{label:e.get("Title"),placeholder:e.get("LocalizedPlaceholder"),title:e.get("LocalizedToolTip"),checked:e.get("Value"),onChange:this._onChange})},t}(u.default.PureComponent);t.CheckboxC=T;var k=function(e){function t(t){var n=e.call(this,t)||this;return n._options=[],n._onChange=function(e,t){t&&h.validatorWrapper(t.data,n.props.componentModel,n.props.onChangeReducer,n.props.dispatchSetErrorAction,n.props.dispatchResetErrorAction,e.type)},n._getSelectedKey=function(){if(n.props.componentModel.get("Value"))return n._options.find((function(e){return e.data===n.props.componentModel.get("Value")})).key},n._generateOptions=function(){return n.props.componentModel.get("AnyOf").map((function(e){return{key:e.get("Key"),text:e.get("LocalizedTitle"),title:e.get("LocalizedTitle"),data:e.get("Value")}})).toArray()},n._options=n._generateOptions(),n}return r(t,e),t.prototype.render=function(){var e=this.props.componentModel,t=e.get("Constraints");return u.default.createElement(y.Dropdown,{stylesFunc:this.props.stylesFunc,callbackHandlers:this.props.callbackHandlers,title:e.get("LocalizedToolTip"),logValue:!1,placeHolder:e.get("LocalizedPlaceholder"),label:e.get("Title"),onChange:this._onChange,options:this._options,required:!!t&&t.get("Required"),errorMessage:x(this.props.error),styles:b.getFormDropDownStyles(this.props),selectedKey:this._getSelectedKey()})},t}(u.default.PureComponent),I=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._onSelectDate=function(e){h.validatorWrapper(e,t.props.componentModel,t.props.onChangeReducer,t.props.dispatchSetErrorAction,t.props.dispatchResetErrorAction,"")},t}return r(t,e),t.prototype.render=function(){var e=this.props.componentModel,t=e.get("Constraints"),n={months:[g.DatePickerStrings.months.January,g.DatePickerStrings.months.February,g.DatePickerStrings.months.March,g.DatePickerStrings.months.April,g.DatePickerStrings.months.May,g.DatePickerStrings.months.June,g.DatePickerStrings.months.July,g.DatePickerStrings.months.August,g.DatePickerStrings.months.September,g.DatePickerStrings.months.October,g.DatePickerStrings.months.November,g.DatePickerStrings.months.December],shortMonths:[g.DatePickerStrings.shortMonths.Jan,g.DatePickerStrings.shortMonths.Feb,g.DatePickerStrings.shortMonths.Mar,g.DatePickerStrings.shortMonths.Apr,g.DatePickerStrings.shortMonths.May,g.DatePickerStrings.shortMonths.Jun,g.DatePickerStrings.shortMonths.Jul,g.DatePickerStrings.shortMonths.Aug,g.DatePickerStrings.shortMonths.Sep,g.DatePickerStrings.shortMonths.Oct,g.DatePickerStrings.shortMonths.Nov,g.DatePickerStrings.shortMonths.Dec],days:[g.DatePickerStrings.days.Sunday,g.DatePickerStrings.days.Monday,g.DatePickerStrings.days.Tuesday,g.DatePickerStrings.days.Wednesday,g.DatePickerStrings.days.Thursday,g.DatePickerStrings.days.Friday,g.DatePickerStrings.days.Saturday],shortDays:[g.DatePickerStrings.shortDays.Sunday,g.DatePickerStrings.shortDays.Monday,g.DatePickerStrings.shortDays.Tuesday,g.DatePickerStrings.shortDays.Wednesday,g.DatePickerStrings.shortDays.Thursday,g.DatePickerStrings.shortDays.Friday,g.DatePickerStrings.shortDays.Saturday],goToToday:g.DatePickerStrings.goToToday,prevMonthAriaLabel:g.DatePickerStrings.prevMonthAriaLabel,nextMonthAriaLabel:g.DatePickerStrings.nextMonthAriaLabel,prevYearAriaLabel:g.DatePickerStrings.prevYearAriaLabel,nextYearAriaLabel:g.DatePickerStrings.nextYearAriaLabel,closeButtonAriaLabel:g.DatePickerStrings.closeButtonAriaLabel,isRequiredErrorMessage:g.DatePickerStrings.isRequiredErrorMessage,invalidInputErrorMessage:g.DatePickerStrings.invalidInputErrorMessage};return u.default.createElement(u.default.Fragment,null,u.default.createElement(l.Label,{styles:b.getFormDatePickerLabelStyles(this.props)},e.get("Title")),u.default.createElement(l.DatePicker,{placeholder:e.get("LocalizedPlaceholder"),title:e.get("LocalizedToolTip"),isRequired:t.get("Required"),onSelectDate:this._onSelectDate,value:e.get("Value")?e.get("Value"):"",showMonthPickerAsOverlay:!0,strings:n,allowTextInput:!0,minDate:t.get("MinDate")?t.get("MinDate").toDate():void 0,maxDate:t.get("MaxDate")?t.get("MaxDate").toDate():void 0}))},t}(u.default.PureComponent);t.Checkbox=d.mconnect(_,S)(T),t.DatePicker=d.mconnect(_,S)(p.styledComponent(I,b.getFormDatePickerLabelStyles)),t.Dropdown=d.mconnect(_,S)(p.styledComponent(k,b.getFormDropDownStyles)),t.TextField=d.mconnect(_,S)(p.styledComponent(w,b.getFormTextFieldStyles))},function(e){e.exports=JSON.parse('{"DatePickerStrings":{"months":{"January":"January","February":"February","March":"March","April":"April","May":"May","June":"June","July":"July","August":"August","September":"September","October":"October","November":"November","December":"December"},"shortMonths":{"Jan":"Jan","Feb":"Feb","Mar":"Mar","Apr":"Apr","May":"May","Jun":"Jun","Jul":"Jul","Aug":"Aug","Sep":"Sep","Oct":"Oct","Nov":"Nov","Dec":"Dec"},"days":{"Sunday":"Sunday","Monday":"Monday","Tuesday":"Tuesday","Wednesday":"Wednesday","Thursday":"Thursday","Friday":"Friday","Saturday":"Saturday"},"shortDays":{"Sunday":"S","Monday":"M","Tuesday":"T","Wednesday":"W","Thursday":"T","Friday":"F","Saturday":"S"},"goToToday":"Go to today","prevMonthAriaLabel":"Go to previous month","nextMonthAriaLabel":"Go to next month","prevYearAriaLabel":"Go to previous year","nextYearAriaLabel":"Go to next year","closeButtonAriaLabel":"Close date picker","isRequiredErrorMessage":"Date is required.","invalidInputErrorMessage":"Invalid date format."}}')},function(e,t,n){"use strict";var o,r=this&&this.__extends||(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),i=this&&this.__assign||function(){return(i=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)},a=this&&this.__createBinding||(Object.create?function(e,t,n,o){void 0===o&&(o=n),Object.defineProperty(e,o,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,o){void 0===o&&(o=n),e[o]=t[n]}),s=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),c=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.hasOwnProperty.call(e,n)&&a(t,e,n);return s(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.Dropdown=t.DropdownC=void 0;var l=n(9),u=c(n(0)),d=n(17),p=n(46),h=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._onRenderDropdownPlaceholder=function(e,n){return t.props.onRenderPlaceholder?t.props.onRenderPlaceholder(e,n):t.props.isLoading?u.createElement(l.Spinner,i({size:l.SpinnerSize.small,ariaLive:"polite",labelPosition:"right",styles:p.getDropDownSpinnerStyles(t.props)},t.props.spinnerProps)):n(e)},t}return r(t,e),t.prototype.render=function(){var e=this.props,t=e.onChange,n=e.onDismiss;return u.createElement(l.Dropdown,i({},this.props,{onChange:t,onDismiss:n,onRenderPlaceholder:this._onRenderDropdownPlaceholder}))},t.defaultProps={isLoading:!1},t}(u.PureComponent);t.DropdownC=h,t.Dropdown=d.styledComponent(h,p.getDropDownSpinnerStyles)},function(e,t,n){"use strict";var o,r=this&&this.__extends||(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),i=this&&this.__assign||function(){return(i=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)},a=this&&this.__createBinding||(Object.create?function(e,t,n,o){void 0===o&&(o=n),Object.defineProperty(e,o,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,o){void 0===o&&(o=n),e[o]=t[n]}),s=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),c=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.hasOwnProperty.call(e,n)&&a(t,e,n);return s(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.TextField=void 0;var l=n(9),u=c(n(0)),d=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.render=function(){var e=this.props.onChange;return u.createElement(l.Customizer,{scopedSettings:{TextField:{styles:{fieldGroup:{selectors:{"::after":{borderWidth:1}}}}}}},u.createElement(l.TextField,i({},this.props,{onChange:e})))},t}(u.PureComponent);t.TextField=d},function(e,t,n){"use strict";var o,r=this&&this.__extends||(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),i=this&&this.__createBinding||(Object.create?function(e,t,n,o){void 0===o&&(o=n),Object.defineProperty(e,o,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,o){void 0===o&&(o=n),e[o]=t[n]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),s=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.hasOwnProperty.call(e,n)&&i(t,e,n);return a(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.SAFNode=void 0;var c=n(9),l=s(n(0)),u=n(14),d=n(8),p=n(17),h=n(18),f=n(25),m=n(20),g=n(128),b=d.createStructuredSelector({node:m.getNodeSelector,isDiagnosticsInProgress:m.isDiagnosticActionInProgressSelector,diagnosticsForm:m.diagnosticsFormSelector,sessionId:m.sessionIdSelector}),y={dispatchFetchSafDiagnosticsAction:f.dispatchFetchSafDiagnosticsAction},v=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.render=function(){return l.createElement(l.Fragment,null,void 0===t.props.node.get("diagnosticsActionStatus")||t.props.node.get("diagnosticsActionStatus")===u.DiagnosticsActionStatus.FetchingDiagnosticsInProgress?l.createElement(c.Spinner,{styles:h.getSafNodeSpinnerStyles(t.props)}):t.props.callbackHandlers.GetSafDiagnosticComponent&&t.props.callbackHandlers.GetSafDiagnosticComponent()||t.props.diagnosticsForm.size>0&&l.createElement(g.SafInlineDiagnostics,{stylesFunc:t.props.stylesFunc,callbackHandlers:t.props.callbackHandlers,nodeId:t.props.nodeId,uId:t.props.uId}))},t}return r(t,e),t.prototype.componentDidMount=function(){this.props.callbackHandlers.SafDiagnosticsRendered&&"function"==typeof this.props.callbackHandlers.SafDiagnosticsRendered&&this.props.dispatchFetchSafDiagnosticsAction(this.props.node,this.props.callbackHandlers.SafDiagnosticsRendered,this.props.callbackHandlers.LogHandler,this.props.diagnosticsForm)},t}(l.PureComponent);t.SAFNode=d.mconnect(b,y)(p.styledComponent(v,h.getSafNodeSpinnerStyles))},function(e,t,n){"use strict";var o=this&&this.__createBinding||(Object.create?function(e,t,n,o){void 0===o&&(o=n),Object.defineProperty(e,o,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,o){void 0===o&&(o=n),e[o]=t[n]}),r=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||t.hasOwnProperty(n)||o(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),r(n(68),t),r(n(178),t)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,n){"use strict";var o=this&&this.__createBinding||(Object.create?function(e,t,n,o){void 0===o&&(o=n),Object.defineProperty(e,o,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,o){void 0===o&&(o=n),e[o]=t[n]}),r=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.hasOwnProperty.call(e,n)&&o(t,e,n);return r(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.createForeignFeatureInterface=void 0;var a=n(9),s=i(n(0)),c=i(n(16)),l=n(89),u=n(88),d=!1;t.createForeignFeatureInterface=function(e,t){if(!d){d=!0;var n=!1;void 0===window.yodafeatures&&(window.yodafeatures={cdnUrl:{}});var o=window.yodafeatures.initialize;window.yodafeatures.initialize=function(r){n||(n=!0,u.initializeRuntimeStatic(r.runtimeStaticConfig),a.initializeIcons(void 0,{disableWarnings:!0}),r.dataSources&&r.dataSources(l.setDataSource),window.yodafeatures[e]=function(e){return new Promise((function(n,o){var r=t();c.render(s.createElement(r,null),e,(function(){n()}))}))},void 0!==o&&o(r))}}}},function(e){e.exports=JSON.parse('{"schemaVersion":"dad83a54-72d5-4f0d-9303-745af7588bc7","meta":{"id":"524a1dc7-c215-45c8-8f0a-72920bcd67ca","title":"O365CXP_Teams_Set up audio conferencing_Diagnostic_Salarson","description":"Dialog to help users get set up with audio conferencing in Microsoft Teams.","keywords":null,"team":null,"lastModifiedAt":"1/19/2021, 1:54:01 PM","lastModifiedBy":"Brook Kebede (brkebede@microsoft.com) ","version":"0.0.0","locale":"en-us","supportAreaReference":null},"initialVariables":null,"topHeadingText":null,"startNodeId":"ac0c3142-0138-4172-9096-979e5dd5ad2b","nodes":[{"type":"choiceNode","id":"ac0c3142-0138-4172-9096-979e5dd5ad2b","name":"Disambiguate","tags":"","title":null,"text":null,"outcomeSignal":"","dynamicChoiceTargetNodeId":"","staticChoices":[{"text":{"contentType":"embeddedPlainText","content":"Setting up audio conferencing for first time"},"raiseEventName":null,"targetNodeId":"75d00d54-9075-4245-a119-ca76a86053cc"},{"text":{"contentType":"embeddedPlainText","content":"Unable to create or join Teams conference call"},"raiseEventName":null,"targetNodeId":"e9124831-5e4a-4d93-ab62-c974e695b7d5"},{"text":{"contentType":"embeddedPlainText","content":"I need more info about audio conferencing in Teams"},"raiseEventName":null,"targetNodeId":"d8815e2e-9a4f-4ce7-b151-a39da1900830"},{"text":{"contentType":"embeddedPlainText","content":"None of these"},"raiseEventName":null,"targetNodeId":"2d8d7d26-b889-4606-ae02-55018b055485"}],"question":{"contentType":"embeddedHtml","content":"I understand you\'re interested in Teams audio conferencing. What can I help you with?"}},{"type":"safDiagnosticNode","id":"e9124831-5e4a-4d93-ab62-c974e695b7d5","name":"Render Diagnostics Data  ","tags":"","title":null,"text":null,"outcomeSignal":"","payload":"ec7c1660-0e96-4ae5-b2de-2abc794a5e7f","successTargetNodeId":"ac4078b2-3249-4e55-9b4d-d41532c45615","failedTargetNodeId":"dee310ec-5435-415f-9fcc-e7aa84f33cd0"},{"type":"choiceNode","id":"ac4078b2-3249-4e55-9b4d-d41532c45615","name":"Run Inline Diagnostics","tags":"","title":null,"text":null,"outcomeSignal":"","dynamicChoiceTargetNodeId":"","staticChoices":[{"text":{"contentType":"embeddedPlainText","content":"Yes"},"raiseEventName":null,"targetNodeId":"eae955c7-2488-4217-9301-0848276e13d5"},{"text":{"contentType":"embeddedPlainText","content":"No"},"raiseEventName":null,"targetNodeId":"6698f005-e5df-41b1-8145-90170e23817e"},{"text":{"contentType":"embeddedPlainText","content":"Skip test"},"raiseEventName":null,"targetNodeId":"dee310ec-5435-415f-9fcc-e7aa84f33cd0"}],"question":{"contentType":"embeddedHtml","content":"When you\'re done, let me know if the results were helpful."}},{"type":"choiceNode","id":"2d8d7d26-b889-4606-ae02-55018b055485","name":"None of the above","tags":"","title":null,"text":null,"outcomeSignal":"","dynamicChoiceTargetNodeId":"","staticChoices":[],"question":{"contentType":"embeddedHtml","content":"OK. Please bear with me while I get smarter. Can you try to rephrase your problem?"}},{"type":"choiceNode","id":"dee310ec-5435-415f-9fcc-e7aa84f33cd0","name":"Unable to Create or Join Teams Conference Call","tags":"","title":null,"text":{"contentType":"embeddedHtml","content":"<p><b>Unable to create or join Teams conference call</b><br>Need help turning on or setting up audio conferencing in Microsoft Teams? Has this user been recently created? If so, you\'ll need to wait 2 - 24 hrs. for the settings to take effect. To verify that a user is licensed for audio conferencing and has a default toll number, follow these steps:<ol><li><span>Go to <b>Active Users</b>, and then select the user you want to verify.</span></li><li><span>Depending on admin center version, select either <b>Licenses and Apps</b>, or under <b>Product licenses</b>, select <b>Edit</b>.</span></li><li><span>Confirm that the user has licenses selected for <b>Audio Conferencing</b>, <b>Microsoft Teams</b>, and <b>Skype for Business Online (Plan 2)</b>.</span></li><li><span>Under <b>Admin centers</b>, select <b>Show all</b>, and then select <b>Teams</b>.</span></li><li><span>In the Microsoft Teams admin center, select <b>Legacy portal</b>.</span></li><li><span>Select <b>audio conferencing</b>, and then select <b>users</b>.</span></li><li><span>Select the user and verify the user has a <b>Default Toll Number</b>.</span></li><li><span>For more info, see <a href=\\"https://go.microsoft.com/fwlink/?linkid=2123156\\" target=\\"_blank\\">Calling Plans for Microsoft 365</a>.</span></li></ol></p>"},"outcomeSignal":"","dynamicChoiceTargetNodeId":"","staticChoices":[{"text":{"contentType":"embeddedPlainText","content":"Yes"},"raiseEventName":null,"targetNodeId":"c55e0418-4024-4943-9344-92d4088b3658"},{"text":{"contentType":"embeddedPlainText","content":"No"},"raiseEventName":null,"targetNodeId":"6698f005-e5df-41b1-8145-90170e23817e"}],"question":{"contentType":"embeddedHtml","content":"Did this information help? "}},{"type":"textNode","id":"75d00d54-9075-4245-a119-ca76a86053cc","name":"Audio conferencing walk-through","tags":"","title":null,"text":{"contentType":"embeddedHtml","content":"<p><b>Set up audio conferencing in Teams</b><br>If you\'re an IT pro in your organization, check out the following walk-through tutorial:<ul><li><span><a href=\\"https://go.microsoft.com/fwlink/?linkid=2088354\\" target=\\"_blank\\">Audio Conferencing in Microsoft Teams</a><br>In this training, we\'ll introduce you to audio conferencing in Microsoft Teams. You\'ll learn how to configure settings to join a Teams meeting from a regular phone and dial out from a meeting to a phone number.</span></li></ul></p>"},"outcomeSignal":""},{"type":"textNode","id":"d8815e2e-9a4f-4ce7-b151-a39da1900830","name":"Additional info about audio conferencing","tags":"","title":null,"text":{"contentType":"embeddedHtml","content":"<p><b>Learn more about audio conferencing with Teams</b><br>If you\'re looking for resources to learn more about Microsoft Teams and audio conferencing, see the following:<ul><li><span><a href=\\"https://go.microsoft.com/fwlink/?linkid=2088978\\" target=\\"_blank\\">What is Audio Conferencing?</a></span></li><li><span> Targeted at IT pros, the following articles will help you set up audio conferencing with Microsoft Teams for your organization: <a href=\\"https://go.microsoft.com/fwlink/?linkid=2088979\\" target=\\"_blank\\">Set up Audio Conferencing for Microsoft Teams</a> and <a href=\\"https://go.microsoft.com/fwlink/?linkid=2088354\\" target=\\"_blank\\">Audio Conferencing in Microsoft Teams</a>.</span></li></ul></p>"},"outcomeSignal":""},{"type":"textNode","id":"eae955c7-2488-4217-9301-0848276e13d5","name":"Run Diag Success Response","tags":"","title":null,"text":{"contentType":"embeddedHtml","content":"<p>Great! I\'m glad they helped. <ol></ol></p>"},"outcomeSignal":""},{"type":"textNode","id":"c55e0418-4024-4943-9344-92d4088b3658","name":"Great!","tags":"","title":null,"text":{"contentType":"embeddedHtml","content":"<p>Glad it worked! <ol></ol></p>"},"outcomeSignal":""},{"type":"textNode","id":"6698f005-e5df-41b1-8145-90170e23817e","name":"Let us call you!","tags":"","title":null,"text":{"contentType":"embeddedHtml","content":"Please contact support."},"outcomeSignal":"unsuccessful"}]}')},function(e){e.exports=JSON.parse('{"schemaVersion":1,"meta":{"id":"b42c7af2-7490-425d-b1ad-256b286ffe85","title":"Troubleshoot camera issues in Windows 10","description":null,"keywords":"camera; windows10","team":"E+D Amplify Get Help","lastModifiedAt":"2020-07-15T19:34Z","lastModifiedBy":"Sven Merget (smerget)","version":null,"locale":"en-US","supportAreaReference":"WindowsCamera"},"initialVariables":null,"topHeadingText":{"contentType":"embedded","content":"<h1><b>Troubleshoot camera issues in Windows 10</b></h1>"},"startNodeId":"Initial","nodes":[{"type":"InteractiveNode","id":"Initial","name":"Initial","tags":null,"text":{"contentType":"embedded","content":"<p>Please select the option that best describes the problem area:</p>"},"outcomeSignal":null,"dynamicChoicesVariableName":null,"dynamicChoicesTargetNodeId":null,"staticChoices":[{"text":{"contentType":"embedded","content":"<p>I can’t install my camera or get errors when plugging it in</p>"},"raiseEventName":null,"targetNodeId":"CameraNotWorking"},{"text":{"contentType":"embedded","content":"<p>I can’t get my camera to work with an app</p>"},"raiseEventName":null,"targetNodeId":"CameraNotWorking"},{"text":{"contentType":"embedded","content":"<p>I’m having troubles setting up or using Windows Hello Face</p>"},"raiseEventName":null,"targetNodeId":"WindowsHelloFaceNotWorkingDiag"}]},{"type":"InteractiveNode","id":"CameraNotWorking","Name":"CameraNotWorking","tags":null,"text":{"contentType":"embedded","content":"<p>Thank you. Please select the option that best describes the error:</p>"},"outcomeSignal":null,"dynamicChoicesVariableName":null,"dynamicChoicesTargetNodeId":null,"staticChoices":[{"text":{"contentType":"embedded","content":"<p>I get a “camera in use” error (Error:0xA00F4243)</p>"},"raiseEventName":null,"targetNodeId":"CameraInUseError"},{"text":{"contentType":"embedded","content":"<p>I get a no camera attached issue (Error: 0XA00F4244)</p>"},"raiseEventName":null,"targetNodeId":"NoCameraAttachedOrMicNotAvailableErrorDiag"},{"text":{"contentType":"embedded","content":"<p>Microphone not available (Error: 0XA00F429C)</p>"},"raiseEventName":null,"targetNodeId":"NoCameraAttachedOrMicNotAvailableErrorDiag"},{"text":{"contentType":"embedded","content":"<p>Camera Privacy issue (Error: 0xA00F4245, 0x80070005), or the app says privacy settings aren\'t configured or it doesn\'t have appropriate permissions</p>"},"raiseEventName":null,"targetNodeId":"CameraPrivacyIssue"}]},{"type":"ActionNode","id":"WindowsHelloFaceNotWorkingDiag","Name":"WindowsHelloFaceNotWorkingDiag","tags":null,"text":{"contentType":"embedded","content":"<p>Please wait while we run the Windows Hello Troubleshooter...</p>"},"outcomeSignal":null,"actionType":"dafv1","actionReference":"camera.WindowsHelloTroubleshooter","timeoutSeconds":null,"parameters":null,"variables":null,"targets":[{"condition":"{success}==\\"True\\"","targetNodeId":"WindowsHelloTroubleshootingSuccess"}],"defaultTargetNodeId":"WindowsHelloTroubleshootingFailure","failedTargetNodeId":"ExecutionFailure"},{"type":"InteractiveNode","id":"CameraInUseError","Name":"CameraInUseError","tags":null,"text":{"contentType":"embedded","content":"<p><b>Check for app using camera</b></p><p>1. Select Start, then select Settings > Privacy > Camera (ms-settings:privacywebcam)<br>2. In the application list, find the app with the “currently in use”, and close the application.</p><p>Did that fix your issue?</p>"},"outcomeSignal":null,"dynamicChoicesVariableName":null,"dynamicChoicesTargetNodeId":null,"staticChoices":[{"text":{"contentType":"embedded","content":"<p>Yes</p>"},"raiseEventName":null,"targetNodeId":"Success"},{"text":{"contentType":"embedded","content":"<p>No</p>"},"raiseEventName":null,"targetNodeId":"ResetCameraServicesAfterFailedCameraInUseInsight"}]},{"type":"ActionNode","id":"NoCameraAttachedOrMicNotAvailableErrorDiag","Name":"NoCameraAttachedOrMicNotAvailableErrorDiag","tags":null,"text":{"contentType":"embedded","content":"<p>One moment while I reset some services...</p>"},"outcomeSignal":null,"actionType":"dafv1","actionReference":"camera.ResetCameraServices","timeoutSeconds":null,"parameters":null,"variables":null,"targets":[{"condition":"{result}==true","targetNodeId":"NoCameraErrorResetCompleted"}],"defaultTargetNodeId":"NoCameraErrorResetIncomplete","failedTargetNodeId":"ExecutionFailure"},{}]}')},function(e){e.exports=JSON.parse('{"schemaVersion":1,"meta":{"id":"a10a3a1d-6465-46d2-a13c-8659591f87db","title":"Update payment method","description":null,"keywords":"concierge, payments","team":"E+D Amplify Support Central","lastModifiedAt":"9/14/2020 8:43:10 PM","lastModifiedBy":"Paritosh Fulsunge (pafulsun)","version":null,"locale":"en-US","supportAreaReference":"SupportCentral-UpdatePayment"},"initialVariables":null,"topHeadingText":{"contentType":"embeddedHtml","content":"<h1><b>Update payment method</b></h1>"},"startNodeId":"11111111-1111-1111-1111-111111111111","nodes":[{"type":"choiceNode","id":"11111111-1111-1111-1111-111111111111","name":"Initial","title":{"contentType":"embeddedPlainText","content":"Let\'s fix the problem"},"text":{"contentType":"embeddedPlainText","content":"We will guide you to fix your camera issue step by step."},"question":{"contentType":"embeddedPlainText","content":"Could we run some diagnostics on your system?"},"staticChoices":[{"text":{"contentType":"embeddedPlainText","content":"Yes"},"targetNodeId":"22222222-2222-2222-2222-222222222222"},{"text":{"contentType":"embeddedPlainText","content":"No"},"targetNodeId":"99999999-9999-9999-9999-999999999999"}]},{"type":"dafDiagnosticNode","id":"22222222-2222-2222-2222-222222222222","Name":"Get camera list","title":{"contentType":"embeddedPlainText","content":"Troublshooting..."},"text":{"contentType":"embeddedPlainText","content":"One moment while we get your camera information..."},"actionType":"dafv1","actionReference":"camera.GetCameraList","timeoutSeconds":30,"targets":[{"condition":"{CameraCount}==0","targetNodeId":"88888888-8888-8888-8888-888888888888"},{"condition":"{CameraCount}==1","targetNodeId":"33333333-3333-3333-3333-333333333333"},{"condition":"{CameraCount}!=1","targetNodeId":"44444444-4444-4444-4444-444444444444"}],"defaultTargetNodeId":"33333333-3333-3333-3333-333333333333","failedTargetNodeId":"77777777-7777-7777-7777-777777777777"},{"type":"choiceNode","id":"44444444-4444-4444-4444-444444444444","name":"Select camera from list","tags":null,"title":{"contentType":"embeddedPlainText","content":"Your have multiple cameras"},"text":{"contentType":"embeddedPlainText","content":"We found multiple cameras in your system. Tell us which one you have issue with."},"question":{"contentType":"embeddedPlainText","content":"Which one do you want to fix?"},"dynamicChoicesTargetNodeId":"33333333-3333-3333-3333-333333333333","staticChoices":[{"text":{"contentType":"embeddedPlainText","content":"None of above"},"targetNodeId":"66666666-6666-6666-6666-666666666666"}]},{"type":"dafDiagnosticNode","id":"33333333-3333-3333-3333-333333333333","Name":"Reset camera","title":{"contentType":"embeddedPlainText","content":"Troublshotting..."},"text":{"contentType":"embeddedPlainText","content":"One moment while we reset your camera"},"actionType":"dafv1","actionReference":"camera.ResetCamera","timeoutSeconds":30,"targets":[{"condition":"{Result}==Fixed","targetNodeId":"55555555-5555-5555-5555-555555555555"},{"condition":"{Result}==Not Fixed","targetNodeId":"66666666-6666-6666-6666-666666666666"}],"defaultTargetNodeId":"55555555-5555-5555-5555-555555555555","failedTargetNodeId":"77777777-7777-7777-7777-777777777777"},{"type":"textNode","id":"55555555-5555-5555-5555-555555555555","Name":"Fixed","title":{"contentType":"embeddedPlainText","content":"I think we fixed it"},"text":{"contentType":"embeddedPlainText","content":"We successfully reset your camera\'s driver. Please check if your camera is working now"}},{"type":"textNode","id":"66666666-6666-6666-6666-666666666666","Name":"Failed to fix","title":{"contentType":"embeddedPlainText","content":"We tried but failed. You can try to troubleshoot it manually"},"text":{"contentType":"dmc","content":"troubleshooting-camera"}},{"type":"textNode","id":"77777777-7777-7777-7777-777777777777","Name":"Exception","title":{"contentType":"embeddedPlainText","content":"Something is wrong. You can try to troubleshoot it manually"},"text":{"contentType":"embeddedPlainText","content":"<p>Something is wrong. You can try to troubleshoot it manually</p> <p>troubleshooting-camera</p>"}},{"type":"textNode","id":"88888888-8888-8888-8888-888888888888","Name":"No camera","dynamicChoicesTargetNodeId":"33333333-3333-3333-3333-333333333333","title":{"contentType":"embeddedPlainText","content":"We didn\'t find any camera on your system. You can try to troubleshoot it manually."},"text":{"contentType":"dmc","content":"troubleshooting-camera"}},{"type":"textNode","id":"99999999-9999-9999-9999-999999999999","Name":"Manual","title":{"contentType":"embeddedPlainText","content":"Here is how you can troubleshoot camera issues by yourself"},"text":{"contentType":"dmc","content":"troubleshooting-camera"}}]}')},function(e){e.exports=JSON.parse('{"schemaVersion":1,"meta":{"id":"a10a3a1d-6465-46d2-a13c-8659591f87db","title":"Update payment method","description":null,"keywords":"concierge, payments","team":"E+D Amplify Support Central","lastModifiedAt":"9/14/2020 8:43:10 PM","lastModifiedBy":"Paritosh Fulsunge (pafulsun)","version":null,"locale":"en-US","supportAreaReference":"SupportCentral-UpdatePayment"},"initialVariables":null,"topHeadingText":{"contentType":"embeddedHtml","content":"<b>Payment troubleshooter</b>"},"startNodeId":"Initial","nodes":[{"type":"dafDiagnosticNode","id":"Initial","name":"Sign in","tags":null,"title":{"contentType":"embeddedHtml","content":"<p> SAF action node title.</p>\\n"},"text":{"contentType":"embeddedHtml","content":"<p>Please wait while I check your Office version.&nbsp;This should only take a moment to complete.</p>\\n"},"outcomeSignal":null,"actionType":"skylightSAF","actionReference":"membership.allofficeproducts.list","timeoutSeconds":null,"parameters":[{"name":"reason","value":"Please sign in to your Microsoft account"}],"variables":null,"targets":[{"condition":"{item_count}===0","targetNodeId":"CreditCardDeclined"},{"condition":"{item_count}===n","targetNodeId":"20f2a690-fe09-4c5c-9e74-ad6014cbfc2b"},{"condition":"{item_count}===1","targetNodeId":"20f2a690-fe09-4c5c-9e74-ad6014cbfc2b"}],"defaultTargetNodeId":"CreditCardDeclined","failedTargetNodeId":"CannotUpdatePaymentDetails"},{"type":"choiceNode","id":"20f2a690-fe09-4c5c-9e74-ad6014cbfc2b","name":"Initial","tags":null,"text":{"contentType":"embeddedHtml","content":"<div><p>Sorry you\'\'re having problems paying your bill. </p><p>Please select the option that best describes the problem area.</p></div>"},"question":{"contentType":"embeddedHtml","content":"Are you having one of the following problems?"},"title":null,"outcomeSignal":null,"dynamicChoicesVariableName":null,"dynamicChoicesTargetNodeId":null,"dynamicChoices":true,"dynamicChoiceVariables":{"text":"ProductTitle","value":"ProductTitle","variableToSet":"OrderSelection"},"dynamicChoiceTargets":[{"condition":"{OrderSelection}==\'Microsoft 365 Family\'","targetNodeId":"NoDidNotHelp"},{"condition":"{OrderSelection}==\'Microsoft 365 Personal\'","targetNodeId":"YesItHelped"},{"condition":"{OrderSelection}==\'Office 365 Education Cart\'","targetNodeId":"YesItHelped"},{"condition":"{OrderSelection}==\'Office Academic 2016 for Mac\'","targetNodeId":"YesItHelped"},{"condition":"{OrderSelection}==\'Office Academic 2019 for Mac \'","targetNodeId":"YesItHelped"},{"condition":"{OrderSelection}==\'Office Professional 2019\'","targetNodeId":"YesItHelped"},{"condition":"{OrderSelection}==\'Office Home & Business 2019\'","targetNodeId":"YesItHelped"},{"condition":"{OrderSelection}==\'Office Home & Business 2016 for PC\'","targetNodeId":"YesItHelped"},{"condition":"{OrderSelection}==\'Office Home and Student 2013\'","targetNodeId":"YesItHelped"},{"condition":"{OrderSelection}==\'Office Home and Business Premium 2013\'","targetNodeId":"YesItHelped"},{"condition":"{OrderSelection}==\'Office Professional 2013\'","targetNodeId":"YesItHelped"},{"condition":"{OrderSelection}==\'Office Personal Premium 2013\'","targetNodeId":"YesItHelped"},{"condition":"{OrderSelection}==\'Office Personal 2013\'","targetNodeId":"YesItHelped"},{"condition":"{OrderSelection}==\'Office Professional Academic 2013\'","targetNodeId":"YesItHelped"},{"condition":"{OrderSelection}==\'Office Professional Premium 2013\'","targetNodeId":"YesItHelped"},{"condition":"{OrderSelection}==\'Office Home and Business 2013\'","targetNodeId":"YesItHelped"},{"condition":"{OrderSelection}==\'Office Professional Plus 2019\'","targetNodeId":"YesItHelped"},{"condition":"{OrderSelection}==\'Office Professional Academic 2016\'","targetNodeId":"YesItHelped"},{"condition":"{OrderSelection}==\'Office Home & Student 2016 for Mac\'","targetNodeId":"YesItHelped"},{"condition":"{OrderSelection}==\'Office Personal 2016\'","targetNodeId":"YesItHelped"},{"condition":"{OrderSelection}==\'Office Professional 2016\'","targetNodeId":"YesItHelped"},{"condition":"{OrderSelection}==\'Office Personal 2019\'","targetNodeId":"YesItHelped"},{"condition":"{OrderSelection}==\'Office Home & Student 2019\'","targetNodeId":"YesItHelped"},{"condition":"{OrderSelection}==\'Office Home & Business 2019 for Mac\'","targetNodeId":"YesItHelped"},{"condition":"{OrderSelection}==\'Office Home & Student 2019 for Mac\'","targetNodeId":"YesItHelped"},{"condition":"{OrderSelection}==\'Office Home & Business 2016 for Mac\'","targetNodeId":"YesItHelped"},{"condition":"{OrderSelection}==\'Office Professional Academic 2019\'","targetNodeId":"YesItHelped"},{"condition":"{OrderSelection}==\'Office Home & Student 2016 for PC\'","targetNodeId":"YesItHelped"},{"condition":"{OrderSelection}==\'Office Professional Plus 2016\'","targetNodeId":"YesItHelped"},{"condition":"{OrderSelection}==\'notfound\'","targetNodeId":"f0570c64-4b20-47e8-99e0-5665a9eee3a4"}],"staticChoices":[{"text":{"contentType":"embeddedPlainText","content":"My credit card was declined"},"raiseEventName":null,"targetNodeId":"CreditCardDeclined"},{"text":{"contentType":"embeddedPlainText","content":"I can\'t update any payment details"},"raiseEventName":null,"targetNodeId":"CannotUpdatePaymentDetails"},{"text":{"contentType":"embeddedPlainText","content":"Tells me to sign in again"},"raiseEventName":null,"targetNodeId":"SignInAgain"}]},{"type":"choiceNode","id":"CreditCardDeclined","Name":"CreditCardDeclined","tags":null,"text":{"contentType":"embeddedHtml","content":"<p>If you pay by credit card and your credit card is declined, you’ll receive an email letting you know that we were unable to process the payment. Here\'\'s what you should do:</p><br /><p><ol><li>Double-check that the credit card details – card number, expiration date, name on the credit card, and address, including city, state, and ZIP code – appear exactly as they do on the card and on your credit card statement. If necessary, edit the info.</li><li>Update your credit card information and immediately submit the payment by using the Pay now button on the Your products page. For more info, see What if my credit has expired and my payment is past due?</li></ol></p>"},"question":{"contentType":"embeddedHtml","content":"After checking your credit card details, was your credit card accepted?"},"title":{"contentType":"embeddedHtml","content":"Declined credit card"},"outcomeSignal":null,"dynamicChoicesVariableName":null,"dynamicChoicesTargetNodeId":null,"staticChoices":[{"text":{"contentType":"embeddedPlainText","content":"Yes"},"raiseEventName":null,"targetNodeId":"YesItHelped"},{"text":{"contentType":"embeddedPlainText","content":"No"},"raiseEventName":null,"targetNodeId":"NoDidNotHelp"}]},{"type":"textNode","id":"YesItHelped","Name":"YesItHelped","tags":null,"text":{"contentType":"embeddedHtml","content":"<p>Great! Glad it helped.</p>"},"outcomeSignal":"successful"},{"type":"textNode","id":"NoDidNotHelp","Name":"NoDidNotHelp","tags":null,"text":{"contentType":"embeddedHtml","content":"<p>OK, try the following.</p><p><ol><li>Sometimes banks issue another card with a new expiration date, even though the old one hasn\'\'t expired! This inactivates the old card. Check whether this is the case.</li><li>Contact your bank. It’s possible that your card isn’t active. For example, if you recently received the card in the mail with an updated expiration date, you may need to activate it. Your bank can also tell you if your card isn\'\'t approved for online, international, or recurring transactions.</li><li>For additional information see Troubleshooting credit cards and bank accounts.</li></ol></p>"},"title":{"contentType":"embeddedHtml","content":"Declined credit card"},"outcomeSignal":"unsuccessful"},{"type":"textNode","id":"CannotUpdatePaymentDetails","Name":"CannotUpdatePaymentDetails","tags":null,"text":{"contentType":"embeddedHtml","content":"<p>If you can\'\'t update your payments details, check these things:</p><p><ul><li>Do you have global admin permissions?</li><li>Was the subscription opened by another admin?  If so, you won\'\'t be able to update the details. However, you can add a new payment method, such as a new credit card or bank account.</li></ul></p>"},"title":{"contentType":"embeddedHtml","content":"I can\'t update any payment details"},"outcomeSignal":"successful"},{"type":"textNode","id":"SignInAgain","Name":"SignInAgain","tags":null,"text":{"contentType":"embeddedHtml","content":"<p>If you\'\'re trying to pay a bill and you keep getting a message telling you to sign in again, it\'\'s for security reasons (data that\'\'s stored in your browser is triggering it). Here\'\'s what to do:</p><p><ol><li>Sign out of Microsoft 365.</li><li>Open a browser window in incognito mode. For example, if you\'\'re using Chrome, select the three dots in the upper-right corner, and then select New incognito window. In Edge, select New InPrivate window.</li><li>Sign in to Microsoft 365, and then make a payment or update your billing info.</li></ol></p>"},"title":{"contentType":"embeddedHtml","content":"<p><b>Repeated Sign in again messages</b></p>"},"outcomeSignal":"successful"}]}')},function(e){e.exports=JSON.parse('{"schemaVersion":"1.0","meta":{"id":"19ce369c-21e6-4197-b6ec-19bf2adcd8db","title":"[ALCHEMY][Commerce][SAF] I want to check the status of a refund, exchange, or cancellation","lastModifiedAt":"5/12/2021, 12:12:45 PM","lastModifiedBy":"piid","team":null,"supportAreaReference":null},"initialVariables":null,"topHeadingText":null,"startNodeId":"fbb875f7-c0ac-42ed-987e-f1d1d8f430d4","nodes":[{"type":"choicenode","id":"fbb875f7-c0ac-42ed-987e-f1d1d8f430d4","name":"How can I help? ","tags":null,"title":null,"text":null,"outcomeSignal":null,"dynamicChoices":false,"dynamicChoiceTargets":null,"dynamicChoiceTargetNodeId":null,"question":{"contentType":"embeddedplaintext","content":"How can I help?"},"staticChoices":[{"text":{"contentType":"embeddedplaintext","content":"Check the status of a refund"},"raiseEventName":null,"targetNodeId":"5080fed4-1f18-43a0-9be9-42aa5f77b3c1"},{"text":{"contentType":"embeddedplaintext","content":"Submit a refund request"},"raiseEventName":null,"targetNodeId":"0d3f3d1b-d1b5-46b2-92a6-b061e5130a1e"},{"text":{"contentType":"embeddedplaintext","content":"Cancel a refund request"},"raiseEventName":null,"targetNodeId":"9d36356a-cf87-4487-bb47-c625380deb80"}]},{"type":"choicenode","id":"ba5a20d2-d4f7-4f66-b86b-bd18bd57e888","name":"Sign in","tags":null,"title":null,"text":null,"outcomeSignal":null,"dynamicChoices":false,"dynamicChoiceTargets":null,"dynamicChoiceTargetNodeId":null,"question":{"contentType":"embeddedplaintext","content":"Please try signing in."},"staticChoices":[{"text":{"contentType":"embeddedplaintext","content":"Sign In"},"raiseEventName":"signin","eventHold":false,"failedTargetNodeId":"d20ec0c8-4519-4639-ba24-0a7680b4861a","targetNodeId":"ddf00fe7-a493-43b2-844c-3a32461d75a2"}]},{"type":"choiceNode","id":"d20ec0c8-4519-4639-ba24-0a7680b4861a","name":"Sign in didn\'t work Try again?","tags":null,"title":null,"text":{"contentType":"embeddedPlainText","content":"To start the refund check, you\'ll need to sign in to your Microsoft Account."},"outcomeSignal":null,"dynamicChoices":false,"dynamicChoiceTargets":null,"dynamicChoiceTargetNodeId":null,"question":{"contentType":"embeddedPlainText","content":"Try again?"},"staticChoices":[{"text":{"contentType":"embeddedPlainText","content":"Yes"},"raiseEventName":null,"targetNodeId":"ba5a20d2-d4f7-4f66-b86b-bd18bd57e888"},{"text":{"contentType":"embeddedPlainText","content":"No"},"raiseEventName":null,"targetNodeId":"345d30ac-c7eb-407b-91b6-0d45d81cba9a"}]},{"type":"choicenode","id":"5080fed4-1f18-43a0-9be9-42aa5f77b3c1","name":"Refund status check intro","tags":null,"title":null,"text":null,"outcomeSignal":null,"dynamicChoices":false,"dynamicChoiceTargets":null,"dynamicChoiceTargetNodeId":null,"question":{"contentType":"embeddedplaintext","content":"What is the refund for?"},"staticChoices":[{"text":{"contentType":"embeddedplaintext","content":"Xbox/Windows game"},"raiseEventName":null,"targetNodeId":"ba5a20d2-d4f7-4f66-b86b-bd18bd57e888"},{"text":{"contentType":"embeddedplaintext","content":"Downloaded content"},"raiseEventName":null,"targetNodeId":"ba5a20d2-d4f7-4f66-b86b-bd18bd57e888"},{"text":{"contentType":"embeddedplaintext","content":"TV show or movie"},"raiseEventName":null,"targetNodeId":"ba5a20d2-d4f7-4f66-b86b-bd18bd57e888"},{"text":{"contentType":"embeddedplaintext","content":"Other"},"raiseEventName":null,"targetNodeId":"345d30ac-c7eb-407b-91b6-0d45d81cba9a"}]},{"type":"choicenode","id":"ab10284d-45f1-4e60-b38e-c3e6912c3854","name":"[SAF] Dynamic slot ","tags":null,"title":null,"text":null,"outcomeSignal":null,"dynamicChoiceVariables":{"text":"Value","value":"Id","variableToSet":"SelectedOutput"},"dynamicChoices":true,"dynamicChoiceTargets":[{"condition":"\'{SelectedOutput}\'===\'selected\'","targetNodeId":"5936e22c-f69f-412e-933f-571fdd6491f3"}],"dynamicChoiceTargetNodeId":null,"question":{"contentType":"embeddedplaintext","content":"Here\'s what I found for this Microsoft Account. Select \\"Forward\\" or \\"Back\\" to show other items:"},"staticChoices":[{"text":{"contentType":"embeddedplaintext","content":"No"},"raiseEventName":null,"targetNodeId":"c0ed6abb-9f52-4dbe-880f-e0c87ec14ada"}]},{"type":"dafdiagnosticnode","id":"ddf00fe7-a493-43b2-844c-3a32461d75a2","name":"[SAF] Sign in to check refund status","tags":null,"title":{"contentType":"embeddedplaintext","content":"Status of diagnostic action:"},"text":{"contentType":"embeddedplaintext","content":"Please wait while we try something..."},"outcomeSignal":null,"actionType":"skylightSAF","actionReference":"xbox.refundstatus.list","parameters":[],"variables":[],"targets":[{"condition":"\'{item_count}\'==\'0\'","targetNodeId":"c0ed6abb-9f52-4dbe-880f-e0c87ec14ada"},{"condition":"\'{item_count}\'==\'N\'","targetNodeId":"ab10284d-45f1-4e60-b38e-c3e6912c3854"},{"condition":"\'{item_count}\'==\'1\'","targetNodeId":"ab10284d-45f1-4e60-b38e-c3e6912c3854"}],"defaultTargetNodeId":"c0ed6abb-9f52-4dbe-880f-e0c87ec14ada","failedTargetNodeId":"c0ed6abb-9f52-4dbe-880f-e0c87ec14ada","failureTargets":[{"condition":"\'{item_count}\'==\'0\'","targetNodeId":"c0ed6abb-9f52-4dbe-880f-e0c87ec14ada"},{"condition":"\'{item_count}\'==\'N\'","targetNodeId":"ab10284d-45f1-4e60-b38e-c3e6912c3854"},{"condition":"\'{item_count}\'==\'1\'","targetNodeId":"ab10284d-45f1-4e60-b38e-c3e6912c3854"}]},{"type":"choicenode","id":"c0ed6abb-9f52-4dbe-880f-e0c87ec14ada","name":"Still haven\'t found what I\'m looking for (nothing found)","tags":null,"title":null,"text":{"contentType":"embeddedhtml","content":"<p><b>No refunds pending</b><div><div>Sorry,&nbsp;I didn\'t find any refunds that are pending.</div><ol style=\\"padding-left: 40px;\\"><li><span><span><span>Note that you can only check refunds for Xbox items here. Go to your&nbsp;<b>Order History</b>&nbsp;for other items.</span></span></span></li><li><span><span><span>Recently submitted requests may take a while to show up here. Please try again later.</span></span></span></li><li><span><span><span>Items that are <b>Completed</b> may not show up here. Go to your <b>Order History</b> to see completed items.</span></span></span></li></ol><div><p><a href=\\"https://account.microsoft.com/billing/orders/\\" target=\\"_blank\\">Open your order history</a></p></div></div></p>"},"outcomeSignal":null,"dynamicChoices":false,"dynamicChoiceTargets":null,"dynamicChoiceTargetNodeId":null,"question":{"contentType":"embeddedplaintext","content":"Did you find the item you were looking for in your order history?"},"staticChoices":[{"text":{"contentType":"embeddedplaintext","content":"Yes"},"raiseEventName":null,"targetNodeId":"27525422-0035-4e58-84fd-8321b30ee589"},{"text":{"contentType":"embeddedplaintext","content":"No"},"raiseEventName":null,"targetNodeId":"7fb82d81-e510-4ab4-b80c-35bdf5063da4"},{"text":{"contentType":"embeddedplaintext","content":"Try again"},"raiseEventName":null,"targetNodeId":"ba5a20d2-d4f7-4f66-b86b-bd18bd57e888"}]},{"type":"choicenode","id":"27525422-0035-4e58-84fd-8321b30ee589","name":"Did you get the answer you were expecting? (nothing found)","tags":null,"title":null,"text":{"contentType":"embeddedhtml","content":"<div class=\\"ac-container ac-adaptiveCard\\" tabindex=\\"0\\" style=\\"display: flex; flex-direction: column; justify-content: flex-start; box-sizing: border-box; flex: 0 0 auto; padding: 15px; margin: 0px;\\"><div class=\\"ac-container\\" style=\\"display: flex; flex-direction: column; justify-content: flex-start; box-sizing: border-box; flex: 0 0 auto; padding: 0px; margin: 0px;\\"><div class=\\"ac-textBlock\\" style=\\"overflow: hidden; font-family: &quot;Segoe UI&quot;, Segoe, &quot;Segoe WP&quot;, &quot;Helvetica Neue&quot;, Helvetica, sans-serif; font-size: 17px;  font-weight: 600; text-align: left; line-height: 22.61px; overflow-wrap: break-word; box-sizing: border-box; flex: 0 0 auto;\\"><p style=\\"margin-top: 0px; margin-bottom: 0px;\\">Refund payments can take time</p>\\n</div></div><div class=\\"ac-horizontal-separator\\" aria-hidden=\\"true\\" style=\\"height: 8px; overflow: hidden; flex: 0 0 auto; display: flex; margin-right: 0px; margin-left: 0px;\\"></div><div class=\\"ac-container\\" style=\\"display: flex; flex-direction: column; justify-content: flex-start; box-sizing: border-box; flex: 0 0 auto; padding: 0px; margin: 0px;\\"><div class=\\"ac-textBlock\\" style=\\"overflow: hidden; font-family: &quot;Segoe UI&quot;, Segoe, &quot;Segoe WP&quot;, &quot;Helvetica Neue&quot;, Helvetica, sans-serif; font-size: 14px;  font-weight: 400; text-align: left; line-height: 18.62px; overflow-wrap: break-word; box-sizing: border-box; flex: 0 0 auto;\\"><p style=\\"margin-top: 0px; margin-bottom: 0px;\\">Depending on your bank or credit card, some refunds can 3-5 working days.</p>\\n</div></div></div>"},"outcomeSignal":null,"dynamicChoices":false,"dynamicChoiceTargets":null,"dynamicChoiceTargetNodeId":null,"question":{"contentType":"embeddedplaintext","content":"Did this solve your problem?"},"staticChoices":[{"text":{"contentType":"embeddedplaintext","content":"Yes"},"raiseEventName":null,"targetNodeId":"6a78122a-3d10-4ae3-9192-b9d068face6d"},{"text":{"contentType":"embeddedplaintext","content":"No"},"raiseEventName":null,"targetNodeId":"0eaa98b2-bc52-4221-95c3-85fee6d368e3"}]},{"type":"textnode","id":"6a78122a-3d10-4ae3-9192-b9d068face6d","name":"Success (nothing found)","tags":null,"title":null,"text":{"contentType":"embeddedhtml","content":"<div class=\\"ac-container ac-adaptiveCard\\" tabindex=\\"0\\" style=\\"display: flex; flex-direction: column; justify-content: flex-start; box-sizing: border-box; flex: 0 0 auto; padding: 15px; margin: 0px;\\"><div class=\\"ac-textBlock\\" style=\\"overflow: hidden; font-family: &quot;Segoe UI&quot;, Segoe, &quot;Segoe WP&quot;, &quot;Helvetica Neue&quot;, Helvetica, sans-serif; font-size: 14px;  font-weight: 400; text-align: left; line-height: 18.62px; overflow-wrap: break-word; box-sizing: border-box; flex: 0 0 auto;\\"><p style=\\"margin-top: 0px; margin-bottom: 0px;\\">Great, glad I was able to help.&nbsp;If you need more help, you can ask another question.</p>\\n</div></div>"},"outcomeSignal":"successful"},{"type":"choicenode","id":"0eaa98b2-bc52-4221-95c3-85fee6d368e3","name":"Digital Game Product Refund Terms (nothing found)","tags":null,"title":null,"text":{"contentType":"embeddedhtml","content":"<div class=\\"ac-container ac-adaptiveCard\\" tabindex=\\"0\\" style=\\"display: flex; flex-direction: column; justify-content: flex-start; box-sizing: border-box; flex: 0 0 auto; padding: 15px; margin: 0px;\\"><div class=\\"ac-container\\" style=\\"display: flex; flex-direction: column; justify-content: flex-start; box-sizing: border-box; flex: 0 0 auto; padding: 0px; margin: 0px;\\"><div class=\\"ac-textBlock\\" style=\\"overflow: hidden; font-family: &quot;Segoe UI&quot;, Segoe, &quot;Segoe WP&quot;, &quot;Helvetica Neue&quot;, Helvetica, sans-serif; font-size: 17px;  font-weight: 600; text-align: left; line-height: 22.61px; overflow-wrap: break-word; box-sizing: border-box; flex: 0 0 auto;\\"><p style=\\"margin-top: 0px; margin-bottom: 0px;\\">Digital Game Product Refund Terms</p>\\n</div></div><div class=\\"ac-horizontal-separator\\" aria-hidden=\\"true\\" style=\\"height: 8px; overflow: hidden; flex: 0 0 auto; display: flex; margin-right: 0px; margin-left: 0px;\\"></div><div class=\\"ac-container\\" style=\\"display: flex; flex-direction: column; justify-content: flex-start; box-sizing: border-box; flex: 0 0 auto; padding: 0px; margin: 0px;\\"><div class=\\"ac-textBlock\\" style=\\"overflow: hidden; font-family: &quot;Segoe UI&quot;, Segoe, &quot;Segoe WP&quot;, &quot;Helvetica Neue&quot;, Helvetica, sans-serif; font-size: 14px;  font-weight: 400; text-align: left; line-height: 18.62px; overflow-wrap: break-word; box-sizing: border-box; flex: 0 0 auto;\\"><ul style=\\"margin-top: 0px; margin-bottom: 0px;\\">\\n<li>Many items cannot be refunded if purchased more than 14 days ago.</li>\\n</ul>\\n</div><div class=\\"ac-horizontal-separator\\" aria-hidden=\\"true\\" style=\\"height: 8px; overflow: hidden; flex: 0 0 auto; margin-right: 0px; margin-left: 0px;\\"></div><div class=\\"ac-textBlock\\" style=\\"overflow: hidden; font-family: &quot;Segoe UI&quot;, Segoe, &quot;Segoe WP&quot;, &quot;Helvetica Neue&quot;, Helvetica, sans-serif; font-size: 14px;  font-weight: 400; text-align: left; line-height: 18.62px; overflow-wrap: break-word; box-sizing: border-box; flex: 0 0 auto;\\"><ul style=\\"margin-top: 0px; margin-bottom: 0px;\\">\\n<li>Single-use item&nbsp;(like consumables or in-game currency) that have been used already&nbsp;cannot be refunded.</li>\\n</ul>\\n</div><div class=\\"ac-horizontal-separator\\" aria-hidden=\\"true\\" style=\\"height: 8px; overflow: hidden; flex: 0 0 auto; margin-right: 0px; margin-left: 0px;\\"></div><div class=\\"ac-textBlock\\" style=\\"overflow: hidden; font-family: &quot;Segoe UI&quot;, Segoe, &quot;Segoe WP&quot;, &quot;Helvetica Neue&quot;, Helvetica, sans-serif; font-size: 14px;  font-weight: 400; text-align: left; line-height: 18.62px; overflow-wrap: break-word; box-sizing: border-box; flex: 0 0 auto;\\"><ul style=\\"margin-top: 0px; margin-bottom: 0px;\\">\\n<li>If it appears refunds are being abused, we reserve the right to stop offering them except where legally required.</li>\\n</ul>\\n</div></div><div class=\\"ac-horizontal-separator\\" aria-hidden=\\"true\\" style=\\"height: 8px; overflow: hidden; flex: 0 0 auto; display: flex; margin-right: 0px; margin-left: 0px;\\"></div><div class=\\"ac-container\\" style=\\"display: flex; flex-direction: column; justify-content: flex-start; box-sizing: border-box; flex: 0 0 auto; padding: 0px; margin: 0px;\\"><div class=\\"ac-textBlock\\" style=\\"overflow: hidden; font-family: &quot;Segoe UI&quot;, Segoe, &quot;Segoe WP&quot;, &quot;Helvetica Neue&quot;, Helvetica, sans-serif; font-size: 14px;  font-weight: 400; text-align: left; line-height: 18.62px; overflow-wrap: break-word; box-sizing: border-box; flex: 0 0 auto;\\"><p style=\\"margin-top: 0px; margin-bottom: 0px;\\">When you request a refund, we consider a variety of factors like date of purchase, time since release, and use of the product. Read more about the&nbsp;<a href=\\"https://beta.support.xbox.com/en-US/help/subscriptions-billing/buy-games-apps/digital-game-purchase-refund-terms\\" class=\\"ac-anchor\\" target=\\"_blank\\">terms and conditions</a>.</p>\\n</div></div></div>"},"outcomeSignal":null,"dynamicChoices":false,"dynamicChoiceTargets":null,"dynamicChoiceTargetNodeId":null,"question":{"contentType":"embeddedplaintext","content":"Did this solve your problem?"},"staticChoices":[{"text":{"contentType":"embeddedplaintext","content":"Yes"},"raiseEventName":null,"targetNodeId":"6a78122a-3d10-4ae3-9192-b9d068face6d"},{"text":{"contentType":"embeddedplaintext","content":"No"},"raiseEventName":null,"targetNodeId":"8b59ecd1-8d18-430c-af38-8f6b70fde1cc"}]},{"type":"textnode","id":"8b59ecd1-8d18-430c-af38-8f6b70fde1cc","name":"Refund payments can take time (nothing found)","tags":null,"title":null,"text":{"contentType":"embeddedhtml","content":"<div class=\\"ac-container ac-adaptiveCard\\" tabindex=\\"0\\" style=\\"display: flex; flex-direction: column; justify-content: flex-start; box-sizing: border-box; flex: 0 0 auto; padding: 15px; margin: 0px;\\"><div class=\\"ac-container\\" style=\\"display: flex; flex-direction: column; justify-content: flex-start; box-sizing: border-box; flex: 0 0 auto; padding: 0px; margin: 0px;\\"><div class=\\"ac-textBlock\\" style=\\"overflow: hidden; font-family: &quot;Segoe UI&quot;, Segoe, &quot;Segoe WP&quot;, &quot;Helvetica Neue&quot;, Helvetica, sans-serif; font-size: 17px;  font-weight: 600; text-align: left; line-height: 22.61px; overflow-wrap: break-word; box-sizing: border-box; flex: 0 0 auto;\\"><p style=\\"margin-top: 0px; margin-bottom: 0px;\\">Refund payments can take time</p>\\n</div></div><div class=\\"ac-horizontal-separator\\" aria-hidden=\\"true\\" style=\\"height: 8px; overflow: hidden; flex: 0 0 auto; display: flex; margin-right: 0px; margin-left: 0px;\\"></div><div class=\\"ac-container\\" style=\\"display: flex; flex-direction: column; justify-content: flex-start; box-sizing: border-box; flex: 0 0 auto; padding: 0px; margin: 0px;\\"><div class=\\"ac-textBlock\\" style=\\"overflow: hidden; font-family: &quot;Segoe UI&quot;, Segoe, &quot;Segoe WP&quot;, &quot;Helvetica Neue&quot;, Helvetica, sans-serif; font-size: 14px;  font-weight: 400; text-align: left; line-height: 18.62px; overflow-wrap: break-word; box-sizing: border-box; flex: 0 0 auto;\\"><p style=\\"margin-top: 0px; margin-bottom: 0px;\\">Depending on your bank or credit card, some refunds can 3-5 working days.</p>\\n</div></div></div>"},"outcomeSignal":"indeterminate"},{"type":"textnode","id":"7fb82d81-e510-4ab4-b80c-35bdf5063da4","name":"Double-check your MSA (nothing found)","tags":null,"title":null,"text":{"contentType":"embeddedhtml","content":"<div class=\\"ac-container ac-adaptiveCard\\" tabindex=\\"0\\" style=\\"display: flex; flex-direction: column; justify-content: flex-start; box-sizing: border-box; flex: 0 0 auto; padding: 15px; margin: 0px;\\"><div class=\\"ac-container\\" style=\\"display: flex; flex-direction: column; justify-content: flex-start; box-sizing: border-box; flex: 0 0 auto; padding: 0px; margin: 0px;\\"><div class=\\"ac-textBlock\\" style=\\"overflow: hidden; font-family: &quot;Segoe UI&quot;, Segoe, &quot;Segoe WP&quot;, &quot;Helvetica Neue&quot;, Helvetica, sans-serif; font-size: 14px;  font-weight: 400; text-align: left; line-height: 18.62px; overflow-wrap: break-word; box-sizing: border-box; flex: 0 0 auto;\\"><p style=\\"margin-top: 0px; margin-bottom: 0px;\\">If you cannot see items in your Order History, check that you\'re signed in with the correct Microsoft account.</p>\\n</div></div><div class=\\"ac-horizontal-separator\\" aria-hidden=\\"true\\" style=\\"height: 8px; overflow: hidden; flex: 0 0 auto; display: flex; margin-right: 0px; margin-left: 0px;\\"></div><div class=\\"ac-container\\" style=\\"display: flex; flex-direction: column; justify-content: flex-start; box-sizing: border-box; flex: 0 0 auto; padding: 0px; margin: 0px;\\"><div class=\\"ac-textBlock\\" style=\\"overflow: hidden; font-family: &quot;Segoe UI&quot;, Segoe, &quot;Segoe WP&quot;, &quot;Helvetica Neue&quot;, Helvetica, sans-serif; font-size: 14px;  font-weight: 400; text-align: left; line-height: 18.62px; overflow-wrap: break-word; box-sizing: border-box; flex: 0 0 auto;\\"><ol style=\\"margin-top: 0px; margin-bottom: 0px;\\">\\n<li>Open a new <strong>InPrivate</strong> / <strong>Incognito</strong>&nbsp;browser window:</li>\\n</ol>\\n</div><div class=\\"ac-horizontal-separator\\" aria-hidden=\\"true\\" style=\\"height: 8px; overflow: hidden; flex: 0 0 auto; display: flex; margin-right: 0px; margin-left: 0px;\\"></div><div style=\\"display: flex; align-items: flex-start; justify-content: flex-start; box-sizing: border-box; flex: 0 0 auto;\\"><img class=\\"ac-image\\" src=\\"https://msegprdfuncblob.blob.core.windows.net/answer-resources/images/20201117120248_inPrivateLg.png\\" alt=\\"Screenshot of opening a new InPrivate window\\" style=\\"min-width: 0px; max-max-height: 100%;\\"></div><div class=\\"ac-horizontal-separator\\" aria-hidden=\\"true\\" style=\\"height: 8px; overflow: hidden; flex: 0 0 auto; margin-right: 0px; margin-left: 0px;\\"></div><div class=\\"ac-textBlock\\" style=\\"overflow: hidden; font-family: &quot;Segoe UI&quot;, Segoe, &quot;Segoe WP&quot;, &quot;Helvetica Neue&quot;, Helvetica, sans-serif; font-size: 14px;  font-weight: 400; text-align: left; line-height: 18.62px; overflow-wrap: break-word; box-sizing: border-box; flex: 0 0 auto;\\"><ol start=\\"2\\" style=\\"margin-top: 0px; margin-bottom: 0px;\\">\\n<li>Enter <strong>https://account.microsoft.com/billing/orders</strong>&nbsp;and sign in.</li>\\n</ol>\\n</div></div></div>"},"outcomeSignal":"indeterminate"},{"type":"choicenode","id":"5936e22c-f69f-412e-933f-571fdd6491f3","name":"Did you get the answer you were expecting? (items found)","tags":null,"title":null,"text":null,"outcomeSignal":null,"dynamicChoices":false,"dynamicChoiceTargets":null,"dynamicChoiceTargetNodeId":null,"question":{"contentType":"embeddedplaintext","content":"Did this solve your problem?"},"staticChoices":[{"text":{"contentType":"embeddedplaintext","content":"Yes"},"raiseEventName":null,"targetNodeId":"54728b50-39da-44f0-aa35-3a4c4293218b"},{"text":{"contentType":"embeddedplaintext","content":"No"},"raiseEventName":null,"targetNodeId":"3320f88b-05aa-49b9-9c5d-e36d6a7a7688"},{"text":{"contentType":"embeddedplaintext","content":"Go back to the list"},"raiseEventName":null,"targetNodeId":"ab10284d-45f1-4e60-b38e-c3e6912c3854"}]},{"type":"textnode","id":"54728b50-39da-44f0-aa35-3a4c4293218b","name":"Success (items found)","tags":null,"title":null,"text":{"contentType":"embeddedhtml","content":"<div class=\\"ac-container ac-adaptiveCard\\" tabindex=\\"0\\" style=\\"display: flex; flex-direction: column; justify-content: flex-start; box-sizing: border-box; flex: 0 0 auto; padding: 15px; margin: 0px;\\"><div class=\\"ac-textBlock\\" style=\\"overflow: hidden; font-family: &quot;Segoe UI&quot;, Segoe, &quot;Segoe WP&quot;, &quot;Helvetica Neue&quot;, Helvetica, sans-serif; font-size: 14px;  font-weight: 400; text-align: left; line-height: 18.62px; overflow-wrap: break-word; box-sizing: border-box; flex: 0 0 auto;\\"><p style=\\"margin-top: 0px; margin-bottom: 0px;\\">Great, glad I was able to help.&nbsp;If you need more help, you can ask another question.</p>\\n</div></div>"},"outcomeSignal":"successful"},{"type":"choicenode","id":"3320f88b-05aa-49b9-9c5d-e36d6a7a7688","name":"Digital Game Product Refund Terms (items found)","tags":null,"title":null,"text":{"contentType":"embeddedhtml","content":"<div class=\\"ac-container ac-adaptiveCard\\" tabindex=\\"0\\" style=\\"display: flex; flex-direction: column; justify-content: flex-start; box-sizing: border-box; flex: 0 0 auto; padding: 15px; margin: 0px;\\"><div class=\\"ac-container\\" style=\\"display: flex; flex-direction: column; justify-content: flex-start; box-sizing: border-box; flex: 0 0 auto; padding: 0px; margin: 0px;\\"><div class=\\"ac-textBlock\\" style=\\"overflow: hidden; font-family: &quot;Segoe UI&quot;, Segoe, &quot;Segoe WP&quot;, &quot;Helvetica Neue&quot;, Helvetica, sans-serif; font-size: 17px;  font-weight: 600; text-align: left; line-height: 22.61px; overflow-wrap: break-word; box-sizing: border-box; flex: 0 0 auto;\\"><p style=\\"margin-top: 0px; margin-bottom: 0px;\\">Digital Game Product Refund Terms</p>\\n</div></div><div class=\\"ac-horizontal-separator\\" aria-hidden=\\"true\\" style=\\"height: 8px; overflow: hidden; flex: 0 0 auto; display: flex; margin-right: 0px; margin-left: 0px;\\"></div><div class=\\"ac-container\\" style=\\"display: flex; flex-direction: column; justify-content: flex-start; box-sizing: border-box; flex: 0 0 auto; padding: 0px; margin: 0px;\\"><div class=\\"ac-textBlock\\" style=\\"overflow: hidden; font-family: &quot;Segoe UI&quot;, Segoe, &quot;Segoe WP&quot;, &quot;Helvetica Neue&quot;, Helvetica, sans-serif; font-size: 14px;  font-weight: 400; text-align: left; line-height: 18.62px; overflow-wrap: break-word; box-sizing: border-box; flex: 0 0 auto;\\"><ul style=\\"margin-top: 0px; margin-bottom: 0px;\\">\\n<li>Many items cannot be refunded if purchased more than 14 days ago.</li>\\n</ul>\\n</div><div class=\\"ac-horizontal-separator\\" aria-hidden=\\"true\\" style=\\"height: 8px; overflow: hidden; flex: 0 0 auto; margin-right: 0px; margin-left: 0px;\\"></div><div class=\\"ac-textBlock\\" style=\\"overflow: hidden; font-family: &quot;Segoe UI&quot;, Segoe, &quot;Segoe WP&quot;, &quot;Helvetica Neue&quot;, Helvetica, sans-serif; font-size: 14px;  font-weight: 400; text-align: left; line-height: 18.62px; overflow-wrap: break-word; box-sizing: border-box; flex: 0 0 auto;\\"><ul style=\\"margin-top: 0px; margin-bottom: 0px;\\">\\n<li>Single-use item&nbsp;(like consumables or in-game currency) that have been used already&nbsp;cannot be refunded.</li>\\n</ul>\\n</div><div class=\\"ac-horizontal-separator\\" aria-hidden=\\"true\\" style=\\"height: 8px; overflow: hidden; flex: 0 0 auto; margin-right: 0px; margin-left: 0px;\\"></div><div class=\\"ac-textBlock\\" style=\\"overflow: hidden; font-family: &quot;Segoe UI&quot;, Segoe, &quot;Segoe WP&quot;, &quot;Helvetica Neue&quot;, Helvetica, sans-serif; font-size: 14px;  font-weight: 400; text-align: left; line-height: 18.62px; overflow-wrap: break-word; box-sizing: border-box; flex: 0 0 auto;\\"><ul style=\\"margin-top: 0px; margin-bottom: 0px;\\">\\n<li>If it appears refunds are being abused, we reserve the right to stop offering them except where legally required.</li>\\n</ul>\\n</div></div><div class=\\"ac-horizontal-separator\\" aria-hidden=\\"true\\" style=\\"height: 8px; overflow: hidden; flex: 0 0 auto; display: flex; margin-right: 0px; margin-left: 0px;\\"></div><div class=\\"ac-container\\" style=\\"display: flex; flex-direction: column; justify-content: flex-start; box-sizing: border-box; flex: 0 0 auto; padding: 0px; margin: 0px;\\"><div class=\\"ac-textBlock\\" style=\\"overflow: hidden; font-family: &quot;Segoe UI&quot;, Segoe, &quot;Segoe WP&quot;, &quot;Helvetica Neue&quot;, Helvetica, sans-serif; font-size: 14px;  font-weight: 400; text-align: left; line-height: 18.62px; overflow-wrap: break-word; box-sizing: border-box; flex: 0 0 auto;\\"><p style=\\"margin-top: 0px; margin-bottom: 0px;\\">When you request a refund, we consider a variety of factors like date of purchase, time since release, and use of the product. Read more about the&nbsp;<a href=\\"https://beta.support.xbox.com/en-US/help/subscriptions-billing/buy-games-apps/digital-game-purchase-refund-terms\\" class=\\"ac-anchor\\" target=\\"_blank\\">terms and conditions</a>.</p>\\n</div></div></div>"},"outcomeSignal":null,"dynamicChoices":false,"dynamicChoiceTargets":null,"dynamicChoiceTargetNodeId":null,"question":{"contentType":"embeddedplaintext","content":"Did this solve your problem?"},"staticChoices":[{"text":{"contentType":"embeddedplaintext","content":"Yes"},"raiseEventName":null,"targetNodeId":"54728b50-39da-44f0-aa35-3a4c4293218b"},{"text":{"contentType":"embeddedplaintext","content":"No"},"raiseEventName":null,"targetNodeId":"f41b6045-897a-410b-bfca-d46e5fb63b50"}]},{"type":"textnode","id":"f41b6045-897a-410b-bfca-d46e5fb63b50","name":"Refund payments can take time (items found)","tags":null,"title":null,"text":{"contentType":"embeddedhtml","content":"<div class=\\"ac-container ac-adaptiveCard\\" tabindex=\\"0\\" style=\\"display: flex; flex-direction: column; justify-content: flex-start; box-sizing: border-box; flex: 0 0 auto; padding: 15px; margin: 0px;\\"><div class=\\"ac-container\\" style=\\"display: flex; flex-direction: column; justify-content: flex-start; box-sizing: border-box; flex: 0 0 auto; padding: 0px; margin: 0px;\\"><div class=\\"ac-textBlock\\" style=\\"overflow: hidden; font-family: &quot;Segoe UI&quot;, Segoe, &quot;Segoe WP&quot;, &quot;Helvetica Neue&quot;, Helvetica, sans-serif; font-size: 17px;  font-weight: 600; text-align: left; line-height: 22.61px; overflow-wrap: break-word; box-sizing: border-box; flex: 0 0 auto;\\"><p style=\\"margin-top: 0px; margin-bottom: 0px;\\">Refund payments can take time</p>\\n</div></div><div class=\\"ac-horizontal-separator\\" aria-hidden=\\"true\\" style=\\"height: 8px; overflow: hidden; flex: 0 0 auto; display: flex; margin-right: 0px; margin-left: 0px;\\"></div><div class=\\"ac-container\\" style=\\"display: flex; flex-direction: column; justify-content: flex-start; box-sizing: border-box; flex: 0 0 auto; padding: 0px; margin: 0px;\\"><div class=\\"ac-textBlock\\" style=\\"overflow: hidden; font-family: &quot;Segoe UI&quot;, Segoe, &quot;Segoe WP&quot;, &quot;Helvetica Neue&quot;, Helvetica, sans-serif; font-size: 14px;  font-weight: 400; text-align: left; line-height: 18.62px; overflow-wrap: break-word; box-sizing: border-box; flex: 0 0 auto;\\"><p style=\\"margin-top: 0px; margin-bottom: 0px;\\">Depending on your bank or credit card, some refunds can 3-5 working days.</p>\\n</div></div></div>"},"outcomeSignal":"indeterminate"},{"type":"choicenode","id":"520961b6-f5f4-45a1-b73f-fde75422837c","name":"None of the above","tags":null,"title":null,"text":{"contentType":"embeddedhtml","content":"<p><b>No other refunds pending</b><div><ol style=\\"padding-left: 40px;\\"><li><span><span><span>Note that you can only check refunds for Xbox items here. Go to your&nbsp;<b>Order History</b>&nbsp;for other items.</span></span></span></li><li><span><span><span>Recently submitted requests may take a while to show up here. Please try again later.</span></span></span></li><li><span><span><span>Items that are <b>Completed</b> may not show up here. Go to your <b>Order History</b> to see completed items.</span></span></span></li></ol><div><p><a href=\\"https://account.microsoft.com/billing/orders/\\" target=\\"_blank\\">Open your order history</a></p></div></div></p>"},"outcomeSignal":null,"dynamicChoices":false,"dynamicChoiceTargets":null,"dynamicChoiceTargetNodeId":null,"question":{"contentType":"embeddedplaintext","content":"Did you find the item you were looking for in your order history?"},"staticChoices":[{"text":{"contentType":"embeddedplaintext","content":"Yes"},"raiseEventName":null,"targetNodeId":"27525422-0035-4e58-84fd-8321b30ee589"},{"text":{"contentType":"embeddedplaintext","content":"No"},"raiseEventName":null,"targetNodeId":"f3acbe4d-7c2a-4278-a139-97b5ef8e5232"}]},{"type":"textnode","id":"f3acbe4d-7c2a-4278-a139-97b5ef8e5232","name":"Double check you\'re signed in to the correct MSA (nothing found)","tags":null,"title":null,"text":{"contentType":"embeddedhtml","content":"<div class=\\"ac-container ac-adaptiveCard\\" tabindex=\\"0\\" style=\\"display: flex; flex-direction: column; justify-content: flex-start; box-sizing: border-box; flex: 0 0 auto; padding: 15px; margin: 0px;\\"><div class=\\"ac-container\\" style=\\"display: flex; flex-direction: column; justify-content: flex-start; box-sizing: border-box; flex: 0 0 auto; padding: 0px; margin: 0px;\\"><div class=\\"ac-textBlock\\" style=\\"overflow: hidden; font-family: &quot;Segoe UI&quot;, Segoe, &quot;Segoe WP&quot;, &quot;Helvetica Neue&quot;, Helvetica, sans-serif; font-size: 14px;  font-weight: 400; text-align: left; line-height: 18.62px; overflow-wrap: break-word; box-sizing: border-box; flex: 0 0 auto;\\"><p style=\\"margin-top: 0px; margin-bottom: 0px;\\">If you cannot see items in your Order History, check that you\'re signed in with the correct Microsoft account.</p>\\n</div></div><div class=\\"ac-horizontal-separator\\" aria-hidden=\\"true\\" style=\\"height: 8px; overflow: hidden; flex: 0 0 auto; display: flex; margin-right: 0px; margin-left: 0px;\\"></div><div class=\\"ac-container\\" style=\\"display: flex; flex-direction: column; justify-content: flex-start; box-sizing: border-box; flex: 0 0 auto; padding: 0px; margin: 0px;\\"><div class=\\"ac-textBlock\\" style=\\"overflow: hidden; font-family: &quot;Segoe UI&quot;, Segoe, &quot;Segoe WP&quot;, &quot;Helvetica Neue&quot;, Helvetica, sans-serif; font-size: 14px;  font-weight: 400; text-align: left; line-height: 18.62px; overflow-wrap: break-word; box-sizing: border-box; flex: 0 0 auto;\\"><ol style=\\"margin-top: 0px; margin-bottom: 0px;\\">\\n<li>Open a new <strong>InPrivate</strong> / <strong>Incognito</strong>&nbsp;browser window:</li>\\n</ol>\\n</div><div class=\\"ac-horizontal-separator\\" aria-hidden=\\"true\\" style=\\"height: 8px; overflow: hidden; flex: 0 0 auto; display: flex; margin-right: 0px; margin-left: 0px;\\"></div><div style=\\"display: flex; align-items: flex-start; justify-content: flex-start; box-sizing: border-box; flex: 0 0 auto;\\"><img class=\\"ac-image\\" src=\\"https://msegprdfuncblob.blob.core.windows.net/answer-resources/images/20201117120248_inPrivateLg.png\\" alt=\\"Screenshot of opening a new InPrivate window\\" style=\\"min-width: 0px; max-max-height: 100%;\\"></div><div class=\\"ac-horizontal-separator\\" aria-hidden=\\"true\\" style=\\"height: 8px; overflow: hidden; flex: 0 0 auto; margin-right: 0px; margin-left: 0px;\\"></div><div class=\\"ac-textBlock\\" style=\\"overflow: hidden; font-family: &quot;Segoe UI&quot;, Segoe, &quot;Segoe WP&quot;, &quot;Helvetica Neue&quot;, Helvetica, sans-serif; font-size: 14px;  font-weight: 400; text-align: left; line-height: 18.62px; overflow-wrap: break-word; box-sizing: border-box; flex: 0 0 auto;\\"><ol start=\\"2\\" style=\\"margin-top: 0px; margin-bottom: 0px;\\">\\n<li>Enter <strong>https://account.microsoft.com/billing/orders</strong>&nbsp;and sign in.</li>\\n</ol>\\n</div></div></div>"},"outcomeSignal":"indeterminate"},{"type":"choicenode","id":"345d30ac-c7eb-407b-91b6-0d45d81cba9a","name":"Check refund status manually","tags":null,"title":null,"text":{"contentType":"embeddedhtml","content":"<p><b>Check your refund status manually</b><div><ol style=\\"padding-left: 40px;\\"><li><span><span><span>Sign in to the Microsoft account you used to make the request and view your&nbsp;Order history.</span></span></span></li><li><span><span><span>Find the product. It will include the return and refund status.</span></span></span></li><li><span><span><span>If you see we\'ve issued the refund, but the money hasn\'t been credited back to your payment provider, wait a few days. Depending on the bank, it can take 3-5 business days to process the refund.</span></span></span></li></ol><div><p><a href=\\"https://account.microsoft.com/billing/orders/\\" target=\\"_blank\\">Open your order history</a></p></div></div></p>"},"outcomeSignal":null,"dynamicChoices":false,"dynamicChoiceTargets":null,"dynamicChoiceTargetNodeId":null,"question":{"contentType":"embeddedplaintext","content":"Did you find the item you were looking for?"},"staticChoices":[{"text":{"contentType":"embeddedplaintext","content":"Yes"},"raiseEventName":null,"targetNodeId":"d1a78aaf-4200-47e6-9683-b9438fde51d5"},{"text":{"contentType":"embeddedplaintext","content":"No"},"raiseEventName":null,"targetNodeId":"c62611de-344c-4425-b20c-f8e95b6bde78"}]},{"type":"choicenode","id":"d1a78aaf-4200-47e6-9683-b9438fde51d5","name":"Did you get the answer you were expecting? (manual)","tags":null,"title":null,"text":null,"outcomeSignal":null,"dynamicChoices":false,"dynamicChoiceTargets":null,"dynamicChoiceTargetNodeId":null,"question":{"contentType":"embeddedplaintext","content":"Did this solve your problem?"},"staticChoices":[{"text":{"contentType":"embeddedplaintext","content":"Yes"},"raiseEventName":null,"targetNodeId":"fae367de-0517-4d5c-8578-1d391222b34e"},{"text":{"contentType":"embeddedplaintext","content":"No"},"raiseEventName":null,"targetNodeId":"9d09b5f6-a475-4875-b28f-bd8426b42cc4"}]},{"type":"textnode","id":"fae367de-0517-4d5c-8578-1d391222b34e","name":"Success (manual)","tags":null,"title":null,"text":{"contentType":"embeddedhtml","content":"<div class=\\"ac-container ac-adaptiveCard\\" tabindex=\\"0\\" style=\\"display: flex; flex-direction: column; justify-content: flex-start; box-sizing: border-box; flex: 0 0 auto; padding: 15px; margin: 0px;\\"><div class=\\"ac-textBlock\\" style=\\"overflow: hidden; font-family: &quot;Segoe UI&quot;, Segoe, &quot;Segoe WP&quot;, &quot;Helvetica Neue&quot;, Helvetica, sans-serif; font-size: 14px;  font-weight: 400; text-align: left; line-height: 18.62px; overflow-wrap: break-word; box-sizing: border-box; flex: 0 0 auto;\\"><p style=\\"margin-top: 0px; margin-bottom: 0px;\\">Great, glad I was able to help.&nbsp;If you need more help, you can ask another question.</p>\\n</div></div>"},"outcomeSignal":"successful"},{"type":"choicenode","id":"9d09b5f6-a475-4875-b28f-bd8426b42cc4","name":"Digital Game Product Refund Terms (manual)","tags":null,"title":null,"text":{"contentType":"embeddedhtml","content":"<div class=\\"ac-container ac-adaptiveCard\\" tabindex=\\"0\\" style=\\"display: flex; flex-direction: column; justify-content: flex-start; box-sizing: border-box; flex: 0 0 auto; padding: 15px; margin: 0px;\\"><div class=\\"ac-container\\" style=\\"display: flex; flex-direction: column; justify-content: flex-start; box-sizing: border-box; flex: 0 0 auto; padding: 0px; margin: 0px;\\"><div class=\\"ac-textBlock\\" style=\\"overflow: hidden; font-family: &quot;Segoe UI&quot;, Segoe, &quot;Segoe WP&quot;, &quot;Helvetica Neue&quot;, Helvetica, sans-serif; font-size: 17px;  font-weight: 600; text-align: left; line-height: 22.61px; overflow-wrap: break-word; box-sizing: border-box; flex: 0 0 auto;\\"><p style=\\"margin-top: 0px; margin-bottom: 0px;\\">Digital Game Product Refund Terms</p>\\n</div></div><div class=\\"ac-horizontal-separator\\" aria-hidden=\\"true\\" style=\\"height: 8px; overflow: hidden; flex: 0 0 auto; display: flex; margin-right: 0px; margin-left: 0px;\\"></div><div class=\\"ac-container\\" style=\\"display: flex; flex-direction: column; justify-content: flex-start; box-sizing: border-box; flex: 0 0 auto; padding: 0px; margin: 0px;\\"><div class=\\"ac-textBlock\\" style=\\"overflow: hidden; font-family: &quot;Segoe UI&quot;, Segoe, &quot;Segoe WP&quot;, &quot;Helvetica Neue&quot;, Helvetica, sans-serif; font-size: 14px;  font-weight: 400; text-align: left; line-height: 18.62px; overflow-wrap: break-word; box-sizing: border-box; flex: 0 0 auto;\\"><ul style=\\"margin-top: 0px; margin-bottom: 0px;\\">\\n<li>Many items cannot be refunded if purchased more than 14 days ago.</li>\\n</ul>\\n</div><div class=\\"ac-horizontal-separator\\" aria-hidden=\\"true\\" style=\\"height: 8px; overflow: hidden; flex: 0 0 auto; margin-right: 0px; margin-left: 0px;\\"></div><div class=\\"ac-textBlock\\" style=\\"overflow: hidden; font-family: &quot;Segoe UI&quot;, Segoe, &quot;Segoe WP&quot;, &quot;Helvetica Neue&quot;, Helvetica, sans-serif; font-size: 14px;  font-weight: 400; text-align: left; line-height: 18.62px; overflow-wrap: break-word; box-sizing: border-box; flex: 0 0 auto;\\"><ul style=\\"margin-top: 0px; margin-bottom: 0px;\\">\\n<li>Single-use item&nbsp;(like consumables or in-game currency) that have been used already&nbsp;cannot be refunded.</li>\\n</ul>\\n</div><div class=\\"ac-horizontal-separator\\" aria-hidden=\\"true\\" style=\\"height: 8px; overflow: hidden; flex: 0 0 auto; margin-right: 0px; margin-left: 0px;\\"></div><div class=\\"ac-textBlock\\" style=\\"overflow: hidden; font-family: &quot;Segoe UI&quot;, Segoe, &quot;Segoe WP&quot;, &quot;Helvetica Neue&quot;, Helvetica, sans-serif; font-size: 14px;  font-weight: 400; text-align: left; line-height: 18.62px; overflow-wrap: break-word; box-sizing: border-box; flex: 0 0 auto;\\"><ul style=\\"margin-top: 0px; margin-bottom: 0px;\\">\\n<li>If it appears refunds are being abused, we reserve the right to stop offering them except where legally required.</li>\\n</ul>\\n</div></div><div class=\\"ac-horizontal-separator\\" aria-hidden=\\"true\\" style=\\"height: 8px; overflow: hidden; flex: 0 0 auto; display: flex; margin-right: 0px; margin-left: 0px;\\"></div><div class=\\"ac-container\\" style=\\"display: flex; flex-direction: column; justify-content: flex-start; box-sizing: border-box; flex: 0 0 auto; padding: 0px; margin: 0px;\\"><div class=\\"ac-textBlock\\" style=\\"overflow: hidden; font-family: &quot;Segoe UI&quot;, Segoe, &quot;Segoe WP&quot;, &quot;Helvetica Neue&quot;, Helvetica, sans-serif; font-size: 14px;  font-weight: 400; text-align: left; line-height: 18.62px; overflow-wrap: break-word; box-sizing: border-box; flex: 0 0 auto;\\"><p style=\\"margin-top: 0px; margin-bottom: 0px;\\">When you request a refund, we consider a variety of factors like date of purchase, time since release, and use of the product. Read more about the&nbsp;<a href=\\"https://beta.support.xbox.com/en-US/help/subscriptions-billing/buy-games-apps/digital-game-purchase-refund-terms\\" class=\\"ac-anchor\\" target=\\"_blank\\">terms and conditions</a>.</p>\\n</div></div></div>"},"outcomeSignal":null,"dynamicChoices":false,"dynamicChoiceTargets":null,"dynamicChoiceTargetNodeId":null,"question":{"contentType":"embeddedplaintext","content":"Did this solve your problem?"},"staticChoices":[{"text":{"contentType":"embeddedplaintext","content":"Yes"},"raiseEventName":null,"targetNodeId":"fae367de-0517-4d5c-8578-1d391222b34e"},{"text":{"contentType":"embeddedplaintext","content":"No"},"raiseEventName":null,"targetNodeId":"cc41cde9-d8f9-4f0d-ac4f-0eca619588cc"}]},{"type":"textnode","id":"cc41cde9-d8f9-4f0d-ac4f-0eca619588cc","name":"Refund payments can take time (manual)","tags":null,"title":null,"text":{"contentType":"embeddedhtml","content":"<div class=\\"ac-container ac-adaptiveCard\\" tabindex=\\"0\\" style=\\"display: flex; flex-direction: column; justify-content: flex-start; box-sizing: border-box; flex: 0 0 auto; padding: 15px; margin: 0px;\\"><div class=\\"ac-container\\" style=\\"display: flex; flex-direction: column; justify-content: flex-start; box-sizing: border-box; flex: 0 0 auto; padding: 0px; margin: 0px;\\"><div class=\\"ac-textBlock\\" style=\\"overflow: hidden; font-family: &quot;Segoe UI&quot;, Segoe, &quot;Segoe WP&quot;, &quot;Helvetica Neue&quot;, Helvetica, sans-serif; font-size: 17px;  font-weight: 600; text-align: left; line-height: 22.61px; overflow-wrap: break-word; box-sizing: border-box; flex: 0 0 auto;\\"><p style=\\"margin-top: 0px; margin-bottom: 0px;\\">Refund payments can take time</p>\\n</div></div><div class=\\"ac-horizontal-separator\\" aria-hidden=\\"true\\" style=\\"height: 8px; overflow: hidden; flex: 0 0 auto; display: flex; margin-right: 0px; margin-left: 0px;\\"></div><div class=\\"ac-container\\" style=\\"display: flex; flex-direction: column; justify-content: flex-start; box-sizing: border-box; flex: 0 0 auto; padding: 0px; margin: 0px;\\"><div class=\\"ac-textBlock\\" style=\\"overflow: hidden; font-family: &quot;Segoe UI&quot;, Segoe, &quot;Segoe WP&quot;, &quot;Helvetica Neue&quot;, Helvetica, sans-serif; font-size: 14px;  font-weight: 400; text-align: left; line-height: 18.62px; overflow-wrap: break-word; box-sizing: border-box; flex: 0 0 auto;\\"><p style=\\"margin-top: 0px; margin-bottom: 0px;\\">Depending on your bank or credit card, some refunds can 3-5 working days.</p>\\n</div></div></div>"},"outcomeSignal":"indeterminate"},{"type":"textnode","id":"c62611de-344c-4425-b20c-f8e95b6bde78","name":"MSA check (manual)","tags":null,"title":null,"text":{"contentType":"embeddedhtml","content":"<div class=\\"ac-container ac-adaptiveCard\\" tabindex=\\"0\\" style=\\"display: flex; flex-direction: column; justify-content: flex-start; box-sizing: border-box; flex: 0 0 auto; padding: 15px; margin: 0px;\\"><div class=\\"ac-container\\" style=\\"display: flex; flex-direction: column; justify-content: flex-start; box-sizing: border-box; flex: 0 0 auto; padding: 0px; margin: 0px;\\"><div class=\\"ac-textBlock\\" style=\\"overflow: hidden; font-family: &quot;Segoe UI&quot;, Segoe, &quot;Segoe WP&quot;, &quot;Helvetica Neue&quot;, Helvetica, sans-serif; font-size: 14px;  font-weight: 400; text-align: left; line-height: 18.62px; overflow-wrap: break-word; box-sizing: border-box; flex: 0 0 auto;\\"><p style=\\"margin-top: 0px; margin-bottom: 0px;\\">If you cannot see items in your Order History, check that you\'re signed in with the correct Microsoft account.</p>\\n</div></div><div class=\\"ac-horizontal-separator\\" aria-hidden=\\"true\\" style=\\"height: 8px; overflow: hidden; flex: 0 0 auto; display: flex; margin-right: 0px; margin-left: 0px;\\"></div><div class=\\"ac-container\\" style=\\"display: flex; flex-direction: column; justify-content: flex-start; box-sizing: border-box; flex: 0 0 auto; padding: 0px; margin: 0px;\\"><div class=\\"ac-textBlock\\" style=\\"overflow: hidden; font-family: &quot;Segoe UI&quot;, Segoe, &quot;Segoe WP&quot;, &quot;Helvetica Neue&quot;, Helvetica, sans-serif; font-size: 14px;  font-weight: 400; text-align: left; line-height: 18.62px; overflow-wrap: break-word; box-sizing: border-box; flex: 0 0 auto;\\"><ol style=\\"margin-top: 0px; margin-bottom: 0px;\\">\\n<li>Open a new <strong>InPrivate</strong> / <strong>Incognito</strong>&nbsp;browser window:</li>\\n</ol>\\n</div><div class=\\"ac-horizontal-separator\\" aria-hidden=\\"true\\" style=\\"height: 8px; overflow: hidden; flex: 0 0 auto; display: flex; margin-right: 0px; margin-left: 0px;\\"></div><div style=\\"display: flex; align-items: flex-start; justify-content: flex-start; box-sizing: border-box; flex: 0 0 auto;\\"><img class=\\"ac-image\\" src=\\"https://msegprdfuncblob.blob.core.windows.net/answer-resources/images/20201117120248_inPrivateLg.png\\" alt=\\"Screenshot of opening a new InPrivate window\\" style=\\"min-width: 0px; max-max-height: 100%;\\"></div><div class=\\"ac-horizontal-separator\\" aria-hidden=\\"true\\" style=\\"height: 8px; overflow: hidden; flex: 0 0 auto; margin-right: 0px; margin-left: 0px;\\"></div><div class=\\"ac-textBlock\\" style=\\"overflow: hidden; font-family: &quot;Segoe UI&quot;, Segoe, &quot;Segoe WP&quot;, &quot;Helvetica Neue&quot;, Helvetica, sans-serif; font-size: 14px;  font-weight: 400; text-align: left; line-height: 18.62px; overflow-wrap: break-word; box-sizing: border-box; flex: 0 0 auto;\\"><ol start=\\"2\\" style=\\"margin-top: 0px; margin-bottom: 0px;\\">\\n<li>Enter <strong>https://account.microsoft.com/billing/orders</strong>&nbsp;and sign in.</li>\\n</ol>\\n</div></div></div>"},"outcomeSignal":"indeterminate"},{"type":"textnode","id":"0d3f3d1b-d1b5-46b2-92a6-b061e5130a1e","name":"Refund/Exchange Link","tags":null,"title":null,"text":{"contentType":"embeddedhtml","content":"<div class=\\"ac-container ac-adaptiveCard\\" tabindex=\\"0\\" style=\\"display: flex; flex-direction: column; justify-content: flex-start; box-sizing: border-box; flex: 0 0 auto; padding: 15px; margin: 0px;\\"><div class=\\"ac-container\\" style=\\"display: flex; flex-direction: column; justify-content: flex-start; box-sizing: border-box; flex: 0 0 auto; padding: 0px; margin: 0px;\\"><div class=\\"ac-textBlock\\" style=\\"overflow: hidden; font-family: &quot;Segoe UI&quot;, Segoe, &quot;Segoe WP&quot;, &quot;Helvetica Neue&quot;, Helvetica, sans-serif; font-size: 14px;  font-weight: 400; text-align: left; line-height: 18.62px; overflow-wrap: break-word; box-sizing: border-box; flex: 0 0 auto;\\"><p style=\\"margin-top: 0px; margin-bottom: 0px;\\">To request a refund for a purchase made at the Microsoft Store, please visit the link below.</p>\\n</div></div><div class=\\"ac-horizontal-separator\\" aria-hidden=\\"true\\" style=\\"height: 8px; overflow: hidden; flex: 0 0 auto; display: flex; margin-right: 0px; margin-left: 0px;\\"></div><div class=\\"ac-container\\" style=\\"display: flex; flex-direction: column; justify-content: flex-start; box-sizing: border-box; flex: 0 0 auto; padding: 0px; margin: 0px;\\"><div class=\\"ac-textBlock\\" style=\\"overflow: hidden; font-family: &quot;Segoe UI&quot;, Segoe, &quot;Segoe WP&quot;, &quot;Helvetica Neue&quot;, Helvetica, sans-serif; font-size: 21px;  font-weight: 600; text-align: left; line-height: 27.93px; overflow-wrap: break-word; box-sizing: border-box; flex: 0 0 auto;\\"><p style=\\"margin-top: 0px; margin-bottom: 0px;\\"><a href=\\"https://support.microsoft.com/account-billing/81629012-aa4f-f48b-2394-8596f415072b\\" class=\\"ac-anchor\\" target=\\"_blank\\">Returning items you bought from Microsoft Store for exchange or refund</a></p>\\n</div></div></div>"},"outcomeSignal":"indeterminate"},{"type":"choicenode","id":"9d36356a-cf87-4487-bb47-c625380deb80","name":"Do you still want to check the status of an existing refund request?","tags":null,"title":null,"text":{"contentType":"embeddedhtml","content":"<div class=\\"ac-container ac-adaptiveCard\\" tabindex=\\"0\\" style=\\"display: flex; flex-direction: column; justify-content: flex-start; box-sizing: border-box; flex: 0 0 auto; padding: 15px; margin: 0px;\\"><div class=\\"ac-container\\" style=\\"display: flex; flex-direction: column; justify-content: flex-start; box-sizing: border-box; flex: 0 0 auto; padding: 0px; margin: 0px;\\"><div class=\\"ac-textBlock\\" style=\\"overflow: hidden; font-family: &quot;Segoe UI&quot;, Segoe, &quot;Segoe WP&quot;, &quot;Helvetica Neue&quot;, Helvetica, sans-serif; font-size: 17px;  font-weight: 600; text-align: left; line-height: 22.61px; overflow-wrap: break-word; box-sizing: border-box; flex: 0 0 auto;\\"><p style=\\"margin-top: 0px; margin-bottom: 0px;\\">Canceling a refund request</p>\\n</div></div><div class=\\"ac-horizontal-separator\\" aria-hidden=\\"true\\" style=\\"height: 8px; overflow: hidden; flex: 0 0 auto; display: flex; margin-right: 0px; margin-left: 0px;\\"></div><div class=\\"ac-container\\" style=\\"display: flex; flex-direction: column; justify-content: flex-start; box-sizing: border-box; flex: 0 0 auto; padding: 0px; margin: 0px;\\"><div class=\\"ac-textBlock\\" style=\\"overflow: hidden; font-family: &quot;Segoe UI&quot;, Segoe, &quot;Segoe WP&quot;, &quot;Helvetica Neue&quot;, Helvetica, sans-serif; font-size: 14px;  font-weight: 400; text-align: left; line-height: 18.62px; overflow-wrap: break-word; box-sizing: border-box; flex: 0 0 auto;\\"><p style=\\"margin-top: 0px; margin-bottom: 0px;\\">Once a refund request has been submitted&nbsp;it cannot be canceled.</p>\\n</div></div><div class=\\"ac-horizontal-separator\\" aria-hidden=\\"true\\" style=\\"height: 8px; overflow: hidden; flex: 0 0 auto; display: flex; margin-right: 0px; margin-left: 0px;\\"></div><div class=\\"ac-container\\" style=\\"display: flex; flex-direction: column; justify-content: flex-start; box-sizing: border-box; flex: 0 0 auto; padding: 0px; margin: 0px;\\"><div class=\\"ac-textBlock\\" style=\\"overflow: hidden; font-family: &quot;Segoe UI&quot;, Segoe, &quot;Segoe WP&quot;, &quot;Helvetica Neue&quot;, Helvetica, sans-serif; font-size: 14px;  font-weight: 400; text-align: left; line-height: 18.62px; overflow-wrap: break-word; box-sizing: border-box; flex: 0 0 auto;\\"><ul style=\\"margin-top: 0px; margin-bottom: 0px;\\">\\n<li>If the refund request is <strong>approved</strong>, you can buy the item again.</li>\\n</ul>\\n</div><div class=\\"ac-horizontal-separator\\" aria-hidden=\\"true\\" style=\\"height: 8px; overflow: hidden; flex: 0 0 auto; margin-right: 0px; margin-left: 0px;\\"></div><div class=\\"ac-textBlock\\" style=\\"overflow: hidden; font-family: &quot;Segoe UI&quot;, Segoe, &quot;Segoe WP&quot;, &quot;Helvetica Neue&quot;, Helvetica, sans-serif; font-size: 14px;  font-weight: 400; text-align: left; line-height: 18.62px; overflow-wrap: break-word; box-sizing: border-box; flex: 0 0 auto;\\"><ul style=\\"margin-top: 0px; margin-bottom: 0px;\\">\\n<li>If the refund request is <strong>pending</strong>, using or opening the item may cause the refund to be denied.</li>\\n</ul>\\n</div><div class=\\"ac-horizontal-separator\\" aria-hidden=\\"true\\" style=\\"height: 8px; overflow: hidden; flex: 0 0 auto; margin-right: 0px; margin-left: 0px;\\"></div><div class=\\"ac-textBlock\\" style=\\"overflow: hidden; font-family: &quot;Segoe UI&quot;, Segoe, &quot;Segoe WP&quot;, &quot;Helvetica Neue&quot;, Helvetica, sans-serif; font-size: 14px;  font-weight: 400; text-align: left; line-height: 18.62px; overflow-wrap: break-word; box-sizing: border-box; flex: 0 0 auto;\\"><ul style=\\"margin-top: 0px; margin-bottom: 0px;\\">\\n<li>If the refund request is <strong>denied</strong>, you still own the item and can use it as if the refund request had been canceled.</li>\\n</ul>\\n</div></div></div>"},"outcomeSignal":null,"dynamicChoices":false,"dynamicChoiceTargets":null,"dynamicChoiceTargetNodeId":null,"question":{"contentType":"embeddedplaintext","content":"Do you still want to check the status of an existing refund request?"},"staticChoices":[{"text":{"contentType":"embeddedplaintext","content":"Yes"},"raiseEventName":null,"targetNodeId":"5080fed4-1f18-43a0-9be9-42aa5f77b3c1"},{"text":{"contentType":"embeddedplaintext","content":"No"},"raiseEventName":null,"targetNodeId":"ce46894d-d4b7-40c4-b72a-efbac0c925e5"}]},{"type":"choicenode","id":"ce46894d-d4b7-40c4-b72a-efbac0c925e5","name":"Would you like to ask a different question?","tags":null,"title":null,"text":null,"outcomeSignal":null,"dynamicChoices":false,"dynamicChoiceTargets":null,"dynamicChoiceTargetNodeId":null,"question":{"contentType":"embeddedplaintext","content":"Would you like to ask a different question?"},"staticChoices":[{"text":{"contentType":"embeddedplaintext","content":"Yes"},"raiseEventName":null,"targetNodeId":"32b94e14-4810-4d96-88a8-8b387bce90de"},{"text":{"contentType":"embeddedplaintext","content":"No"},"raiseEventName":null,"targetNodeId":"dd2eb885-77a9-4ece-886f-c14c904e7c75"}]},{"type":"choicenode","id":"32b94e14-4810-4d96-88a8-8b387bce90de","name":"I would like to ask another question","tags":null,"title":null,"text":null,"outcomeSignal":null,"dynamicChoices":false,"dynamicChoiceTargets":null,"dynamicChoiceTargetNodeId":null,"question":{"contentType":"embeddedplaintext","content":"Okay. What is your question?"},"staticChoices":[]},{"type":"textnode","id":"dd2eb885-77a9-4ece-886f-c14c904e7c75","name":"Come back if you have another question later 2","tags":null,"title":null,"text":{"contentType":"embeddedhtml","content":"<div class=\\"ac-container ac-adaptiveCard\\" tabindex=\\"0\\" style=\\"display: flex; flex-direction: column; justify-content: flex-start; box-sizing: border-box; flex: 0 0 auto; padding: 15px; margin: 0px;\\"><div class=\\"ac-textBlock\\" style=\\"overflow: hidden; font-family: &quot;Segoe UI&quot;, Segoe, &quot;Segoe WP&quot;, &quot;Helvetica Neue&quot;, Helvetica, sans-serif; font-size: 14px;  font-weight: 400; text-align: left; line-height: 18.62px; overflow-wrap: break-word; box-sizing: border-box; flex: 0 0 auto;\\"><p style=\\"margin-top: 0px; margin-bottom: 0px;\\">Okay. You can come back if you have another question later.</p>\\n</div></div>"},"outcomeSignal":"indeterminate"}]}')},function(e){e.exports=JSON.parse('{"schemaversion":"0","meta":{"id":"38be124d-d205-47da-b598-6cf47f41aaea","title":"O365CXP_Security_Hacked account_Troubleshoot_Munatara","description":null,"keywords":"concierge, email, hacked","team":"E+D Amplify Support Central","lastModifiedAt":"9/14/2020 8:43:10 PM","lastModifiedBy":"Paritosh Fulsunge (pafulsun)","version":null,"locale":"en-US","supportAreaReference":"SupportCentral-EmailAccountHacked"},"topHeadingText":{"contentType":"embedded","content":"<h1><b>Email account hacked</b></h1>"},"startNodeId":"08cfdcdd-4653-4a3c-ad01-fda430a0e9ad","nodes":[{"type":"TextNode","id":"4e390c09-6f73-46ed-a1cc-b27c2f69431d","name":"Check mailbox auditing for the delete action","tags":null,"text":{"contentType":"embedded","content":"<p><strong>Read the audit logs for deleted events</strong></p><div><div class=\'col-12\'><div>Here\'s how to do this:</div></div><ol><li>Go to the&nbsp;<a href=\'https://go.microsoft.com/fwlink/p/?linkid=2077143\' target=\'_blank\'>Office 365 Security &amp; Compliance Center</a>.</li><li>Select&nbsp;<strong>Search</strong>&nbsp;&gt;&nbsp;<a href=\'https://go.microsoft.com/fwlink/?linkid=2103759\' target=\'_blank\'>Audit log search</a>.<br /><br /><strong>NOTE:</strong>&nbsp;If you see a notice that you need to turn on the feature, go ahead and turn it on now. If the feature isn\'t turned on, search results won\'t be able to pull data from previous dates.</li><li>Select&nbsp;<strong>Activities</strong>, and then find&nbsp;<strong>Exchange mailbox activities</strong>. Select the&nbsp;<strong>Deleted messages from Deleted Items folder</strong>&nbsp;and&nbsp;<strong>Moved messages to Deleted Items folder</strong>&nbsp;options. When you\'re done, click outside of the pane to minimize the&nbsp;<strong>Activities</strong>&nbsp;pane.</li><li>Specify the date range, and then in the&nbsp;<strong>Users</strong>&nbsp;box, select the username for the user you want to investigate. You can select more than one user at a time.</li><li>Select&nbsp;<strong>Search</strong>. The activities appear under&nbsp;<strong>Results</strong>.</li><li>To view the details, select an activity, and then select&nbsp;<strong>More Information</strong>. Additional information about the deleted item, such as the subject line and the location of the item when it was deleted, is displayed in the&nbsp;<strong>AffectedItems</strong>&nbsp;field.<br /><br /><strong>NOTE:</strong>&nbsp;You can\'t restore deleted items using the audit log feature. To restore deleted items, see&nbsp;<a href=\'https://go.microsoft.com/fwlink/?linkid=2103943\' target=\'_blank\'>Recover deleted items or email in Outlook Web App</a>.</li><li>To learn more, see&nbsp;<a href=\'https://go.microsoft.com/fwlink/?linkid=2103944\' target=\'_blank\'>Search the Office 365 audit log to troubleshoot common scenarios</a>.</li></ol></div><div><p>I can walk you through the steps to do these tasks. I can also run tests to identify common indicators that your user account might be compromised. Select one of the following options to get started: </p></div>"},"outcomeSignal":"successful","dynamicChoicesVariableName":null,"dynamicChoicesTargetNodeId":null},{"type":"TextNode","id":"f3c4d4d8-6a8e-4071-b0aa-994edf392a7f","name":"Turn on mailbox auditing","tags":null,"text":{"contentType":"embedded","content":"<p><strong>Turn on mailbox auditing</strong></p><div><div class=\'col-12\'><div>To turn on mailbox auditing for a single user or an entire organization, run the following cmdlets from Remote PowerShell:</div></div><ol><li><strong>Single user:&nbsp;</strong>Set-Mailbox -Identity \'Jane Dow\' -AuditEnabled $true</li><li><strong>Organization:&nbsp;</strong>Get-Mailbox -ResultSize Unlimited -Filter {RecipientTypeDetails -eq \'UserMailbox\'} | Set-Mailbox -AuditEnabled $true</li><li>To learn more, see&nbsp;<a href=\'https://go.microsoft.com/fwlink/?linkid=2103668\' target=\'_blank\'>Manage mailbox auditing</a>.</li></ol></div>"},"outcomeSignal":"successful","dynamicChoicesVariableName":null,"dynamicChoicesTargetNodeId":null},{"type":"TextNode","id":"3b7f2081-22cb-407c-a51a-4c70c14b9007","name":"SecureScore","tags":null,"text":{"contentType":"embedded","content":"<p><strong>Microsoft Secure Score</strong></p><div><div class=\'col-12\'><div>You can make your environment more secure by using Microsoft Secure Score. Think of it as a credit score for security. It tells you the actions you can take that could help improve your org\'s security.</div></div><ol><li>Go to the&nbsp;<a href=\'https://go.microsoft.com/fwlink/p/?linkid=2077143\' target=\'_blank\'>Office 365 Security &amp; Compliance Center</a>.</li><li>Select the Microsoft Secure Score card or go to&nbsp;<a href=\'https://go.microsoft.com/fwlink/?linkid=2099589\' target=\'_blank\'>Microsoft Secure Score</a>.<br /><br /><strong>TIP:</strong>&nbsp;On the Microsoft Secure Score&nbsp;<strong>Overview</strong>&nbsp;page, select&nbsp;<strong>Improvement actions</strong>&nbsp;for recommendations on securing your org. You can select&nbsp;<strong>Filter</strong>&nbsp;or&nbsp;<strong>Group by</strong>&nbsp;in the table to quickly identify actions that might be better if you complete them in order.<br /><br /></li><li>Select an improvement action from the list. A flyout appears that gives a brief description of the action.</li><li>Select&nbsp;<strong>View settings</strong>, and then follow the guidance that\'s provided in the&nbsp;<strong>Next steps</strong>.<br /><br /><strong>NOTE:</strong>&nbsp;You\'re given points for configuring recommended security features, but keep in mind that some actions are labeled as&nbsp;<strong>[Not Scored]</strong>. This means that even if you implement that improvement action, you won\'t be awarded any points for your score. Otherwise,&nbsp;<em>it can take up to 24 hours</em>&nbsp;for your score to update.<br /><br /></li><li>For more information about Microsoft Secure Score, see&nbsp;<a href=\'https://go.microsoft.com/fwlink/?linkid=2103077\' target=\'_blank\'>Microsoft Secure Score</a>.</li></ol></div>"},"outcomeSignal":"successful","dynamicChoicesVariableName":null,"dynamicChoicesTargetNodeId":null},{"type":"TextNode","id":"69b733ec-f3fb-4945-a746-f91ad99f7bde","name":"Find IP address in the audit log","tags":null,"text":{"contentType":"embedded","content":"<p><strong>Find the IP address in the audit log</strong></p><div><div class=\'col-12\'><div>The IP address that corresponds to an activity performed by a user or administrator is shown in the audit logs. The client information is also logged. Here\'s how to identify the IP address:</div></div><ol><li>Go to the&nbsp;<a href=\'https://go.microsoft.com/fwlink/p/?linkid=2077143\' target=\'_blank\'>Office 365 Security &amp; Compliance Center</a>.</li><li>Select&nbsp;<strong>Search</strong>&nbsp;&gt;&nbsp;<a href=\'https://go.microsoft.com/fwlink/?linkid=2103759\' target=\'_blank\'>Audit log search</a>.<br /><br /><strong>NOTE:</strong>&nbsp;If you see a notice that you need to turn on auditing, go ahead and turn it on now. If this feature isn\'t enabled, search results won\'t be able to pull data from previous dates.</li><li>If you\'re interested in a specific activity, select it from the&nbsp;<strong>Activities</strong>&nbsp;list; otherwise, by default, all activities will be returned for the selected user. Note that certain activities might not be available for selection from the&nbsp;<strong>Activities</strong>&nbsp;menu; however, those audit items will be returned if&nbsp;<strong>Show results for all activities</strong>&nbsp;is selected (default setting).</li><li>Specify the date range, and in the&nbsp;<strong>Users</strong>&nbsp;field, select the username for the user you want to investigate.</li><li>Select&nbsp;<strong>Search</strong>. The activities appear under&nbsp;<strong>Results</strong>. You can see the IP address for each activity.</li><li>To view details, select an activity, and then select&nbsp;<strong>More Information</strong>.</li><li>To learn more, see&nbsp;<a href=\'https://go.microsoft.com/fwlink/?linkid=2103944\' target=\'_blank\'>Search the Office 365 audit log to troubleshoot common scenarios</a>.</li></ol></div>"},"outcomeSignal":"successful","dynamicChoicesVariableName":null,"dynamicChoicesTargetNodeId":null},{"type":"TextNode","id":"f8d278d6-48bb-4d46-a990-7dcb3aaef1f7","name":"Find who set up forwarding on a mailbox, and how ","tags":null,"text":{"contentType":"embedded","content":"<p><strong>Find out who set up forwarding on a mailbox, and how</strong></p><div><div class=\'col-12\'><div>If external forwarding was set on a mailbox, the activity is audited as part of the Set-Mailbox cmdlet. Here\'s how to find the activity in the audit log:</div></div><ol><li>Go to the&nbsp;<a href=\'https://go.microsoft.com/fwlink/p/?linkid=2077143\' target=\'_blank\'>Office 365 Security &amp; Compliance Center</a>.</li><li>Select&nbsp;<strong>Search</strong>&nbsp;&gt;&nbsp;<a href=\'https://go.microsoft.com/fwlink/?linkid=2103759\' target=\'_blank\'>Audit log search</a>.<br /><br /><strong>NOTE:</strong>&nbsp;If you see a notice that you need to turn on auditing, go ahead and turn it on now. If this feature isn\'t turned on, search results won\'t be able to pull data from previous dates.</li><li>Make sure the&nbsp;<strong>Activities</strong>&nbsp;field is set to&nbsp;<strong>Show results for all activities</strong>&nbsp;(the default). Specify the date range. You don\'t need to specify a username.</li><li>Select&nbsp;<strong>Search</strong>. The activities appear under&nbsp;<strong>Results</strong>.</li><li>Select&nbsp;<strong>Filter Results</strong>, and then enter&nbsp;<strong>Set-mailbox</strong>&nbsp;in the&nbsp;<strong>Activity</strong>&nbsp;filter field. This returns all&nbsp;<strong>Set-Mailbox</strong>&nbsp;activities.</li><li>To view the details, select an activity, and then select&nbsp;<strong>More Information</strong>. Under&nbsp;<strong>Parameters</strong>&nbsp;you can see the forwarding email address that was set on the mailbox. The&nbsp;<strong>UserID</strong>&nbsp;represents the user who set up external forwarding on the mailbox.</li><li>To learn more, see&nbsp;<a href=\'https://go.microsoft.com/fwlink/?linkid=2103944\' target=\'_blank\'>Search the Office 365 audit log to troubleshoot common scenarios</a>.</li></ol></div>"},"outcomeSignal":"successful"},{"type":"TextNode","id":"38a83a68-38b8-463f-952f-f1e0668d83ad","name":"Find events performed on Inbox rules","tags":null,"text":{"contentType":"embedded","content":"<p><strong>Find events performed on inbox rules</strong></p><div><div class=\'col-12\'><div>When inbox rules are created, changed, or deleted, the events are recorded in the audit log. Here\'s how to review them:</div></div><ol><li>Go to the&nbsp;<a href=\'https://go.microsoft.com/fwlink/p/?linkid=2077143\' target=\'_blank\'>Office 365 Security &amp; Compliance Center</a>.</li><li>Select&nbsp;<strong>Search</strong>&nbsp;&gt;&nbsp;<a href=\'https://go.microsoft.com/fwlink/?linkid=2103759\' target=\'_blank\'>Audit log search</a>.<br /><br /><strong>NOTE:</strong>&nbsp;If you see a notice that you need to turn on auditing, go ahead and turn it on now. If this feature isn\'t turned on, search results won\'t be able to pull data from previous dates.</li><li>Select the&nbsp;<strong>Activities</strong>&nbsp;field and find&nbsp;<strong>Exchange mailbox activities</strong>, and then select&nbsp;<strong>New-InboxRule Create inbox rule from Outlook Web App</strong>. When you\'re done, click outside of the pane to minimize the&nbsp;<strong>Activities</strong>&nbsp;pane.</li><li>Specify the date range, and then in the&nbsp;<strong>Users</strong>&nbsp;field, select the username for the user you want to investigate. You can select more than one user at a time.</li><li>Select&nbsp;<strong>Search</strong>. The activities appear under&nbsp;<strong>Results</strong>.</li><li>To view details, select an activity, and then select&nbsp;<strong>More Information</strong>. Under the&nbsp;<strong>Parameters</strong>&nbsp;section you can see the name of the rule, conditions set, and the actions that the rule will take.</li><li>To learn more, see&nbsp;<a href=\'https://go.microsoft.com/fwlink/?linkid=2103944\' target=\'_blank\'>Search the Office 365 audit log to troubleshoot common scenarios</a>.</li></ol></div>"},"outcomeSignal":"successful"},{"type":"TextNode","id":"8bfe6237-7571-40d8-98ed-bd57790ef352","name":"Run a message trace","tags":null,"text":{"contentType":"embedded","content":"<p><strong>Run a message trace</strong></p><div><div class=\'col-12\'><div>Message traces are run in the Mail flow section of the Office 365 Security &amp; Compliance Center.</div></div><ol><li>To learn how to run a message trace, see&nbsp;<a href=\'https://go.microsoft.com/fwlink/?linkid=2103855\' target=\'_blank\'>Message trace in the Office 365 Security &amp; Compliance Center</a>.</li></ol></div>"},"outcomeSignal":"successful"},{"type":"TextNode","id":"379796aa-cc4a-48fc-9f5c-c1e7db5b2211","name":"User doesn\'t select any of the options","tags":null,"text":{"contentType":"embedded","content":"<p>Ok, let\'s get you connected to support. Please select <b>Contact Support</b> option below.</p>"},"outcomeSignal":"successful"},{"type":"TextNode","id":"96287d2c-f301-419b-af8c-b7f780a48242","name":"Run Diag Success Response","tags":null,"text":{"contentType":"embedded","content":"<p><strong>Microsoft Secure Score</strong></p><div><div class=\'col-12\'><div>You can make your environment more secure by using Microsoft Secure Score. Think of it as a credit score for security. It tells you the actions you can take that could help improve your org\'s security.</div></div><ol><li>Go to the&nbsp;<a href=\'https://go.microsoft.com/fwlink/p/?linkid=2077143\' target=\'_blank\'>Office 365 Security &amp; Compliance Center</a>.</li><li>Select the Microsoft Secure Score card or go to&nbsp;<a href=\'https://go.microsoft.com/fwlink/?linkid=2099589\' target=\'_blank\'>Microsoft Secure Score</a>.<br /><br /><strong>TIP:</strong>&nbsp;On the Microsoft Secure Score&nbsp;<strong>Overview</strong>&nbsp;page, select&nbsp;<strong>Improvement actions</strong>&nbsp;for recommendations on securing your org. You can select&nbsp;<strong>Filter</strong>&nbsp;or&nbsp;<strong>Group by</strong>&nbsp;in the table to quickly identify actions that might be better if you complete them in order.<br /><br /></li><li>Select an improvement action from the list. A flyout appears that gives a brief description of the action.</li><li>Select&nbsp;<strong>View settings</strong>, and then follow the guidance that\'s provided in the&nbsp;<strong>Next steps</strong>.<br /><br /><strong>NOTE:</strong>&nbsp;You\'re given points for configuring recommended security features, but keep in mind that some actions are labeled as&nbsp;<strong>[Not Scored]</strong>. This means that even if you implement that improvement action, you won\'t be awarded any points for your score. Otherwise,&nbsp;<em>it can take up to 24 hours</em>&nbsp;for your score to update.<br /><br /></li><li>For more information about Microsoft Secure Score, see&nbsp;<a href=\'https://go.microsoft.com/fwlink/?linkid=2103077\' target=\'_blank\'>Microsoft Secure Score</a>.</li></ol></div>"},"outcomeSignal":"successful"},{"type":"TextNode","id":"c4f48621-ce16-422e-9a27-3efe4414262d","name":"SecureScore","tags":null,"text":{"contentType":"embedded","content":"<p><strong>Microsoft Secure Score</strong></p><div><div class=\'col-12\'><div>You can make your environment more secure by using Microsoft Secure Score. Think of it as a credit score for security. It tells you the actions you can take that could help improve your org\'s security.</div></div><ol><li>Go to the&nbsp;<a href=\'https://go.microsoft.com/fwlink/p/?linkid=2077143\' target=\'_blank\'>Office 365 Security &amp; Compliance Center</a>.</li><li>Select the Microsoft Secure Score card or go to&nbsp;<a href=\'https://go.microsoft.com/fwlink/?linkid=2099589\' target=\'_blank\'>Microsoft Secure Score</a>.<br /><br /><strong>TIP:</strong>&nbsp;On the Microsoft Secure Score&nbsp;<strong>Overview</strong>&nbsp;page, select&nbsp;<strong>Improvement actions</strong>&nbsp;for recommendations on securing your org. You can select&nbsp;<strong>Filter</strong>&nbsp;or&nbsp;<strong>Group by</strong>&nbsp;in the table to quickly identify actions that might be better if you complete them in order.<br /><br /></li><li>Select an improvement action from the list. A flyout appears that gives a brief description of the action.</li><li>Select&nbsp;<strong>View settings</strong>, and then follow the guidance that\'s provided in the&nbsp;<strong>Next steps</strong>.<br /><br /><strong>NOTE:</strong>&nbsp;You\'re given points for configuring recommended security features, but keep in mind that some actions are labeled as&nbsp;<strong>[Not Scored]</strong>. This means that even if you implement that improvement action, you won\'t be awarded any points for your score. Otherwise,&nbsp;<em>it can take up to 24 hours</em>&nbsp;for your score to update.<br /><br /></li><li>For more information about Microsoft Secure Score, see&nbsp;<a href=\'https://go.microsoft.com/fwlink/?linkid=2103077\' target=\'_blank\'>Microsoft Secure Score</a>.</li></ol></div>"},"outcomeSignal":"successful"},{"type":"TextNode","id":"08cfdcdd-4653-4a3c-ad01-fda430a0e9ad","name":"Start","tags":null,"text":{"contentType":"embedded","content":"<p><strong>What to do when an account is hacked</strong></p><div><div class=\'col-12\'><div>If you think a user account has been hacked, do the following:</div></div><ol><li><a href=\'https://go.microsoft.com/fwlink/?linkid=2103704\' target=\'_blank\'>Reset the user\'s password</a>&nbsp;<em>immediately</em>. Don\'t send the new password via email to the user.</li><li><a href=\'https://go.microsoft.com/fwlink/?linkid=2103705\' target=\'_blank\'>Remove any suspicious forwarding addresses</a>&nbsp;set on the mailbox.</li><li><a href=\'https://go.microsoft.com/fwlink/?linkid=2103706\' target=\'_blank\'>Remove any forwarding rules</a>&nbsp;set on the mailbox.</li><li>If the user is blocked from sending email, confirm that their account has not been compromised and then remove them from the&nbsp;<a href=\'https://go.microsoft.com/fwlink/?linkid=2103514\' target=\'_blank\'>Restricted Users page</a>.</li><li>Remove the user account from any&nbsp;<a href=\'https://go.microsoft.com/fwlink/?linkid=2092294\' target=\'_blank\'>administrative role groups</a>.</li></ol></div>"},"outcomeSignal":null,"dynamicChoicesVariableName":null,"dynamicChoicesTargetNodeId":null,"staticChoices":[{"text":{"contentType":"alchemyPlainTextResource","content":"Walk through the steps to fix the account"},"raiseEventName":null,"targetNodeId":"5bd7e1c6-484a-4ebd-9c22-d692ece51c41"},{"text":{"contentType":"alchemyPlainTextResource","content":"Investigate the scope of the attack"},"raiseEventName":null,"targetNodeId":"b7ea3141-17bd-4066-9d44-5e1991e1a96c"},{"text":{"contentType":"alchemyPlainTextResource","content":"Show me more options"},"raiseEventName":null,"targetNodeId":"c119155f-10a4-4231-9399-ee28fd1b8cb0"}]},{"type":"TextNode","id":"5bd7e1c6-484a-4ebd-9c22-d692ece51c41","name":"Do you need help resetting the password?","tags":null,"text":{"contentType":"embedded","content":"<p>OK. Do you need help resetting the password?</p>"},"outcomeSignal":null,"dynamicChoicesVariableName":null,"dynamicChoicesTargetNodeId":null,"staticChoices":[{"text":{"contentType":"alchemyPlainTextResource","content":"Yes"},"raiseEventName":null,"targetNodeId":"4a36edd7-f478-4b21-b9db-ac31fccde44f"},{"text":{"contentType":"alchemyPlainTextResource","content":"No"},"raiseEventName":null,"targetNodeId":"cdd7d89d-1396-48c3-8d1f-adf5e0e64877"}]},{"type":"InteractiveNode","id":"4a36edd7-f478-4b21-b9db-ac31fccde44f","name":"Help resetting password","tags":null,"text":{"contentType":"embedded","content":"<p><strong>Reset the user\'s password</strong></p><div><div class=\'col-12\'><div>You\'ll need to reset the user\'s password before you do anything else. Here\'s how:</div></div><ol><li>Select&nbsp;<strong>Users</strong>&nbsp;&gt;&nbsp;<a href=\'https://go.microsoft.com/fwlink/p/?linkid=834822\' target=\'_blank\'>Active users</a>.</li><li>Select the user whose account has been compromised.</li><li>In the flyout that appears, select&nbsp;<strong>Reset password</strong>.<br /><strong>NOTE:</strong>&nbsp;Don\'t send the password to the user via email.</li></ol></div><div><p>Don\'t communicate the new password through email to the user because the hacker might still have access to the account. Select Continue when you\'re ready for the next action.</p></div>"},"outcomeSignal":null,"dynamicChoicesVariableName":null,"dynamicChoicesTargetNodeId":null,"staticChoices":[{"text":{"contentType":"alchemyPlainTextResource","content":"Continue"},"raiseEventName":null,"targetNodeId":"cdd7d89d-1396-48c3-8d1f-adf5e0e64877"}]},{"type":"InteractiveNode","id":"cdd7d89d-1396-48c3-8d1f-adf5e0e64877","name":"Do you need help removing fwding email addresses?","tags":null,"text":{"contentType":"embedded","content":"<p>OK. Let\'s now check for any suspicious forwarding addresses on the user\'s mailbox. Do you need instructions for removing forwarding addresses?</p>"},"outcomeSignal":null,"dynamicChoicesVariableName":null,"dynamicChoicesTargetNodeId":null,"staticChoices":[{"text":{"contentType":"alchemyPlainTextResource","content":"Yes"},"raiseEventName":null,"targetNodeId":"d6a03779-92b3-442d-ba62-45a743e50752"},{"text":{"contentType":"alchemyPlainTextResource","content":"No"},"raiseEventName":null,"targetNodeId":"9a6317f0-db17-4cc4-be2a-b47730a7db79"}]},{"type":"InteractiveNode","id":"b7ea3141-17bd-4066-9d44-5e1991e1a96c","name":"Do you want investigate the user activity?","tags":null,"text":{"contentType":"embedded","content":"<p>OK. Do you want to investigate the user\'s activity, such as sign-in activity, which IP address they logged in from, whether they viewed a specific document, or whether they deleted an item from their mailbox? </p>"},"outcomeSignal":null,"dynamicChoicesVariableName":null,"dynamicChoicesTargetNodeId":null,"staticChoices":[{"text":{"contentType":"alchemyPlainTextResource","content":"Yes"},"raiseEventName":null,"targetNodeId":"ae991364-0433-42e8-9973-6e0daf1d1b0e"},{"text":{"contentType":"alchemyPlainTextResource","content":"No"},"raiseEventName":null,"targetNodeId":"12f6f153-d790-40c2-b5bd-b87887b4ce0b"}]},{"type":"InteractiveNode","id":"12f6f153-d790-40c2-b5bd-b87887b4ce0b","name":"Do you want to review the sign-in activity of the user?","tags":null,"text":{"contentType":"embedded","content":"<p>OK. Do you want to review the sign-in activity of the user?</p>"},"outcomeSignal":null,"dynamicChoicesVariableName":null,"dynamicChoicesTargetNodeId":null,"staticChoices":[{"text":{"contentType":"alchemyPlainTextResource","content":"Yes"},"raiseEventName":null,"targetNodeId":"3c7a8c90-fa8c-499c-81eb-d60aa32db247"},{"text":{"contentType":"alchemyPlainTextResource","content":"No"},"raiseEventName":null,"targetNodeId":"3b7f2081-22cb-407c-a51a-4c70c14b9007"}]},{"type":"InteractiveNode","id":"d6a03779-92b3-442d-ba62-45a743e50752","name":"Remove fwding email addresses","tags":null,"text":{"contentType":"embedded","content":"<div class=\'t-solution-preview\'><div class=\'t-solution-preview__preview t-bing-ia-solution-preview\'>&nbsp;</div><strong>Remove forwarding addresses on the mailbox</strong><div><div class=\'col-12\'><div>Sometimes hackers forward users\' email messages to themselves by adding a forwarding address to the mailbox. Here\'s how to check for forwarding addresses and remove them:</div></div><ol><li>Select&nbsp;<strong>Users</strong>&nbsp;&gt;&nbsp;<a href=\'https://go.microsoft.com/fwlink/p/?linkid=834822\' target=\'_blank\'>Active users</a>.</li><li>Select the user whose account has been compromised. In the flyout that appears, expand&nbsp;<strong>Mail Settings</strong>&nbsp;and select&nbsp;<strong>Edit</strong>&nbsp;for&nbsp;<strong>Email forwarding</strong>.</li><li>Remove any forwarding addresses.</li></ol></div><br /><div class=\'t-solution-preview__preview t-bing-ia-solution-preview\'>&nbsp;</div></div><div><p>Now let\'s check for suspicious inbox rules on the mailbox.  Do you need instructions for removing suspicious forwarding rules?</p><div>"},"outcomeSignal":null,"dynamicChoicesVariableName":null,"dynamicChoicesTargetNodeId":null,"staticChoices":[{"text":{"contentType":"alchemyPlainTextResource","content":"Yes"},"raiseEventName":null,"targetNodeId":"a977f82e-e06d-4532-bff8-90d5119fe021"},{"text":{"contentType":"alchemyPlainTextResource","content":"No"},"raiseEventName":null,"targetNodeId":"884b02d0-8c5f-40c1-be55-25191607bb1a"}]},{"type":"InteractiveNode","id":"a977f82e-e06d-4532-bff8-90d5119fe021","name":"Remove suspicious forwarding rules","tags":null,"text":{"contentType":"embedded","content":"<p><strong>Remove suspicious forwarding rules</strong></p><div><div class=\'col-12\'><div>Follow these steps to remove any suspicious forwarding rules. This is another way hackers forward users\' email messages to themselves.</div></div><ol><li>If you\'re using Outlook 2016, on the&nbsp;<strong>Home</strong>&nbsp;tab, select&nbsp;<strong>Rules</strong>&nbsp;&gt;&nbsp;<strong>Manage Rules &amp; Alerts</strong>. On the&nbsp;<strong>Email Rules</strong>&nbsp;tab, scroll through the list and delete any rules you don\'t recognize.</li><li>If you\'re using Outlook on the web, select the&nbsp;<strong>Settings</strong>&nbsp;icon &gt;&nbsp;<strong>View all Outlook settings</strong>. Select&nbsp;<strong>Forwarding</strong>, and then clear any suspicious forwarding rules you don\'t recognize.</li></ol></div><div><p>We\'ve noticed most compromised accounts have been blocked from sending email, and they need to be unblocked. Do you need instructions to unblock users?</p><div>"},"outcomeSignal":null,"dynamicChoicesVariableName":null,"dynamicChoicesTargetNodeId":null,"staticChoices":[{"text":{"contentType":"alchemyPlainTextResource","content":"Yes"},"raiseEventName":null,"targetNodeId":"884b02d0-8c5f-40c1-be55-25191607bb1a"},{"text":{"contentType":"alchemyPlainTextResource","content":"No"},"raiseEventName":null,"targetNodeId":"3b7f2081-22cb-407c-a51a-4c70c14b9007"}]},{"type":"InteractiveNode","id":"884b02d0-8c5f-40c1-be55-25191607bb1a","name":"Unblock user account","tags":null,"text":{"contentType":"embedded","content":"<p><strong>Unblock an account by using threat management</strong></p><div><div class=\'col-12\'><div>Here\'s how to do this:&nbsp;</div></div><ol><li>Go to the&nbsp;<a href=\'https://go.microsoft.com/fwlink/p/?linkid=2077143\' target=\'_blank\'>Office 365 Security &amp; Compliance Center</a>.</li><li>Select&nbsp;<strong>Threat management</strong>&nbsp;&gt;&nbsp;<strong>Review</strong>. On the&nbsp;<strong>Review</strong>&nbsp;page, select&nbsp;<a href=\'https://go.microsoft.com/fwlink/?linkid=2103514\' target=\'_blank\'>Restricted Users</a>.</li><li>If the compromised account shows up in the list, select&nbsp;<strong>Unblock Account</strong>. The account should be able to send messages again, usually within an hour.</li></ol></div><div><p>If the user\'s account is assigned admin roles, remove it from any admin role groups until you\'re confident that the account is no longer compromised. Do you need instructions for removing admin roles from users?</p></div>"},"outcomeSignal":null,"dynamicChoicesVariableName":null,"dynamicChoicesTargetNodeId":null,"staticChoices":[{"text":{"contentType":"alchemyPlainTextResource","content":"Yes"},"raiseEventName":null,"targetNodeId":"c5ff3b4f-c781-42c0-a9b5-ebf29d7da4b2"},{"text":{"contentType":"alchemyPlainTextResource","content":"No"},"raiseEventName":null,"targetNodeId":"3b7f2081-22cb-407c-a51a-4c70c14b9007"}]},{"type":"InteractiveNode","id":"c5ff3b4f-c781-42c0-a9b5-ebf29d7da4b2","name":"Remove admin roles","tags":null,"text":{"contentType":"embedded","content":"<p><strong>Remove the user from admin roles</strong></p><div><div class=\'col-12\'><div>Here\'s how to do this:</div></div><ol><li>In the admin center, select&nbsp;<strong>Users</strong>&nbsp;&gt;&nbsp;<a href=\'https://go.microsoft.com/fwlink/p/?linkid=834822\' target=\'_blank\'>Active users</a>.</li><li>Select the user whose account has been compromised.</li><li>In the flyout that appears, select&nbsp;<strong>Edit</strong>&nbsp;for&nbsp;<strong>Roles</strong>. Remove the user from any admin roles until you\'re confident their account is no longer compromised.</li></ol></div><div><p>To help secure your organization from future attacks, I recommend using Microsoft Secure Score. It will analyze your setup and give you recommendations to make your org more secure.</p></div>"},"outcomeSignal":null,"dynamicChoicesVariableName":null,"dynamicChoicesTargetNodeId":null,"staticChoices":[{"text":{"contentType":"alchemyPlainTextResource","content":"Get link to Secure Score"},"raiseEventName":null,"targetNodeId":"3b7f2081-22cb-407c-a51a-4c70c14b9007"}]},{"type":"InteractiveNode","id":"2182dd04-0963-4f88-8f4d-f78550ba3a72","name":"Check for forwarding addresses","tags":null,"text":{"contentType":"embedded","content":"<p><strong>Remove forwarding addresses on the mailbox</strong></p><div><div class=\'col-12\'><div>Sometimes hackers forward users\' email messages to themselves, so first we\'ll check for forwarding addresses and rules on the mailbox. Then we\'ll check the audit logs. Here\'s how to check for forwarding addresses:</div></div><ol><li>Select&nbsp;<strong>Users</strong>&nbsp;&gt;&nbsp;<a href=\'https://go.microsoft.com/fwlink/p/?linkid=834822\' target=\'_blank\'>Active users</a>.</li><li>Select the user whose account has been compromised.</li><li>In the flyout that appears, expand&nbsp;<strong>Mail Settings</strong>, and then select&nbsp;<strong>Edit</strong>&nbsp;for&nbsp;<strong>Email forwarding</strong>.</li><li>Remove any forwarding addresses you don\'t recognize.</li></ol></div><div><p>Next, check for any forwarding rules on the mailbox. Do you need instructions? </p></div>"},"outcomeSignal":null,"dynamicChoicesVariableName":null,"dynamicChoicesTargetNodeId":null,"staticChoices":[{"text":{"contentType":"alchemyPlainTextResource","content":"Yes"},"raiseEventName":null,"targetNodeId":"527bb33a-0585-4811-8fe8-b609f2555f10"},{"text":{"contentType":"alchemyPlainTextResource","content":"No"},"raiseEventName":null,"targetNodeId":"725581e8-38a2-4765-a721-29edc40243f4"}]},{"type":"InteractiveNode","id":"527bb33a-0585-4811-8fe8-b609f2555f10","name":"Remove forwarding rules","tags":null,"text":{"contentType":"embedded","content":"<p><strong>Remove suspicious forwarding rules</strong></p><div><div class=\'col-12\'><div>Follow these steps to remove any suspicious forwarding rules. This is another way hackers forward users\' email messages to themselves.</div></div><ol><li>If you\'re using Outlook 2016, on the&nbsp;<strong>Home</strong>&nbsp;tab, select&nbsp;<strong>Rules</strong>&nbsp;&gt;&nbsp;<strong>Manage Rules &amp; Alerts</strong>. On the&nbsp;<strong>Email Rules</strong>&nbsp;tab, scroll through the list and delete any rules you don\'t recognize.</li><li>If you\'re using Outlook on the web, select the&nbsp;<strong>Settings</strong>&nbsp;icon &gt;&nbsp;<strong>View all Outlook settings</strong>. Select&nbsp;<strong>Forwarding</strong>, and then clear any suspicious forwarding rules you don\'t recognize.</li></ol></div><div><p>If you have mailbox auditing turned on for Delete, you can review those audit logs.  Do you want instructions?</p></div>"},"outcomeSignal":null,"dynamicChoicesVariableName":null,"dynamicChoicesTargetNodeId":null,"staticChoices":[{"text":{"contentType":"alchemyPlainTextResource","content":"No"},"raiseEventName":null,"targetNodeId":"c4f48621-ce16-422e-9a27-3efe4414262d"},{"text":{"contentType":"alchemyPlainTextResource","content":"Yes"},"raiseEventName":null,"targetNodeId":"4e390c09-6f73-46ed-a1cc-b27c2f69431d"},{"text":{"contentType":"alchemyPlainTextResource","content":"Turn on mailbox auditing"},"raiseEventName":null,"targetNodeId":"f3c4d4d8-6a8e-4071-b0aa-994edf392a7f"}]},{"type":"InteractiveNode","id":"725581e8-38a2-4765-a721-29edc40243f4","name":"Check auditing logs","tags":null,"text":{"contentType":"embedded","content":"<p>OK. You can investigate why mail might be missing by checking the audit log. Do you want instructions for how to do this? </p>"},"outcomeSignal":null,"dynamicChoicesVariableName":null,"dynamicChoicesTargetNodeId":null,"staticChoices":[{"text":{"contentType":"alchemyPlainTextResource","content":"Yes"},"raiseEventName":null,"targetNodeId":"4e390c09-6f73-46ed-a1cc-b27c2f69431d"},{"text":{"contentType":"alchemyPlainTextResource","content":"No"},"raiseEventName":null,"targetNodeId":"3b7f2081-22cb-407c-a51a-4c70c14b9007"}]},{"type":"InteractiveNode","id":"9a6317f0-db17-4cc4-be2a-b47730a7db79","name":"Do you need help removed suspicious fwding rules?","tags":null,"text":{"contentType":"embedded","content":"<p>OK. The next step is to remove any suspicious forwarding rules on the mailbox. Do you need instructions for removing forwarding rules? </p>"},"outcomeSignal":null,"dynamicChoicesVariableName":null,"dynamicChoicesTargetNodeId":null,"staticChoices":[{"text":{"contentType":"alchemyPlainTextResource","content":"Yes"},"raiseEventName":null,"targetNodeId":"a977f82e-e06d-4532-bff8-90d5119fe021"},{"text":{"contentType":"alchemyPlainTextResource","content":"No"},"raiseEventName":null,"targetNodeId":"607ebc2c-c37e-437e-afee-4de9c255e3be"}]},{"type":"InteractiveNode","id":"607ebc2c-c37e-437e-afee-4de9c255e3be","name":"Do you need help unblocking the account?","tags":null,"text":{"contentType":"embedded","content":"<p>OK. If the user can\'t send email, the next step is to unblock the account. Do you need instructions for unblocking the account? </p>"},"outcomeSignal":null,"dynamicChoicesVariableName":null,"dynamicChoicesTargetNodeId":null,"staticChoices":[{"text":{"contentType":"alchemyPlainTextResource","content":"Yes"},"raiseEventName":null,"targetNodeId":"884b02d0-8c5f-40c1-be55-25191607bb1a"},{"text":{"contentType":"alchemyPlainTextResource","content":"No"},"raiseEventName":null,"targetNodeId":"ed167dfb-4634-40ff-a3df-6b44f132c8ac"}]},{"type":"InteractiveNode","id":"ed167dfb-4634-40ff-a3df-6b44f132c8ac","name":"Do you need help removing user from any admin roles? ","tags":null,"text":{"contentType":"embedded","content":"<p>OK. The next step is to remove the user from any admin role groups until you\'re confident their account is secure. Do you need instructions for removing admin roles from users? </p>"},"outcomeSignal":null,"dynamicChoicesVariableName":null,"dynamicChoicesTargetNodeId":null,"staticChoices":[{"text":{"contentType":"alchemyPlainTextResource","content":"Yes"},"raiseEventName":null,"targetNodeId":"c5ff3b4f-c781-42c0-a9b5-ebf29d7da4b2"},{"text":{"contentType":"alchemyPlainTextResource","content":"No"},"raiseEventName":null,"targetNodeId":"3b7f2081-22cb-407c-a51a-4c70c14b9007"}]},{"type":"InteractiveNode","id":"3c7a8c90-fa8c-499c-81eb-d60aa32db247","name":"Review sign in logs","tags":null,"text":{"contentType":"embedded","content":"<p><strong>Review sign-in logs for a user</strong></p><div><div class=\'col-12\'><div>Here\'s how to do this:</div></div><ol><li>Go to&nbsp;<strong>Admin centers</strong>&nbsp;&gt;&nbsp;<a href=\'https://go.microsoft.com/fwlink/p/?linkid=2067268\' target=\'_blank\'>Azure Active Directory</a></li><li>Select&nbsp;<strong>Azure Active Directory</strong>&nbsp;&gt;&nbsp;<strong>Sign-ins</strong>.</li><li>If you don\'t already have an Azure AD P1 or P2 subscription, you\'ll be prompted to start a free premium trial. If you want, select&nbsp;<strong>Start a free Premium trial</strong>, and then in the Azure AD Premium P2 box, select&nbsp;<strong>Free trial</strong>&nbsp;&gt;&nbsp;<strong>Activate</strong>. The free trial is for 30 days.</li></ol></div><div><p>Did that help?</p></div>"},"outcomeSignal":null,"dynamicChoicesVariableName":null,"dynamicChoicesTargetNodeId":null,"staticChoices":[{"text":{"contentType":"alchemyPlainTextResource","content":"Yes"},"raiseEventName":null,"targetNodeId":"3b7f2081-22cb-407c-a51a-4c70c14b9007"},{"text":{"contentType":"alchemyPlainTextResource","content":"No"},"raiseEventName":null,"targetNodeId":"3b7f2081-22cb-407c-a51a-4c70c14b9007"}]},{"type":"InteractiveNode","id":"ae991364-0433-42e8-9973-6e0daf1d1b0e","name":"Investigate all user\'s activities","tags":null,"text":{"contentType":"embedded","content":"<p><strong>Investigate all the user\'s activities</strong></p><div><div class=\'col-12\'><div>Here\'s how to do this:</div></div><ol><li>Go to the&nbsp;<a href=\'https://go.microsoft.com/fwlink/p/?linkid=2077143\' target=\'_blank\'>Security &amp; Compliance Center</a>.</li><li>Select&nbsp;<strong>Search</strong>&nbsp;&gt;&nbsp;<a href=\'https://go.microsoft.com/fwlink/?linkid=2103759\' target=\'_blank\'>Audit log search</a>.<br /><br /><strong>NOTE:</strong>&nbsp;If you see a notice that you need to turn on the feature, go ahead and turn it on now. If the feature\'s not turned on, search results won\'t be able to pull data from previous dates.</li><li>If you\'re interested in a specific activity, select it from the&nbsp;<strong>Activities</strong>&nbsp;list. If not, by default all activities will be returned for the selected user.</li><li>Specify the date range, and then in the&nbsp;<strong>Users</strong>&nbsp;box, select the username for the user you want to investigate. You can select more than one user at a time.</li><li>Select&nbsp;<strong>Search</strong>. The activities appear under&nbsp;<strong>Results</strong>. You\'ll see the IP address, user, and activity name.</li><li>To download the results, select&nbsp;<strong>Export Results</strong>.</li><li>To review details, select the activity, and then expand&nbsp;<strong>More information</strong>.</li><li>To learn more, see&nbsp;<a href=\'https://go.microsoft.com/fwlink/?linkid=2103944\' target=\'_blank\'>Search the audit log to troubleshoot common scenarios</a>.</li></ol></div><div><p>I can help with common investigation scenarios. Please select an option:</p></div>"},"outcomeSignal":null,"dynamicChoicesVariableName":null,"dynamicChoicesTargetNodeId":null,"staticChoices":[{"text":{"contentType":"alchemyPlainTextResource","content":"Find the IP address for an event"},"raiseEventName":null,"targetNodeId":"69b733ec-f3fb-4945-a746-f91ad99f7bde"},{"text":{"contentType":"alchemyPlainTextResource","content":"Find who set up forwarding on a mailbox, and how"},"raiseEventName":null,"targetNodeId":"f8d278d6-48bb-4d46-a990-7dcb3aaef1f7"},{"text":{"contentType":"alchemyPlainTextResource","content":"Read the audit logs for deleted events"},"raiseEventName":null,"targetNodeId":"4e390c09-6f73-46ed-a1cc-b27c2f69431d"},{"text":{"contentType":"alchemyPlainTextResource","content":"Show me more options"},"raiseEventName":null,"targetNodeId":"9fb2c885-c5db-4796-b852-eeb81c5cd033"}]},{"type":"InteractiveNode","id":"c119155f-10a4-4231-9399-ee28fd1b8cb0","name":"More options","tags":null,"text":{"contentType":"embedded","content":"<p>Sure, here you go. </p>"},"outcomeSignal":null,"dynamicChoicesVariableName":null,"dynamicChoicesTargetNodeId":null,"staticChoices":[{"text":{"contentType":"alchemyPlainTextResource","content":"Investigate why email is missing"},"raiseEventName":null,"targetNodeId":"2182dd04-0963-4f88-8f4d-f78550ba3a72"},{"text":{"contentType":"alchemyPlainTextResource","content":"Unblock Send Email"},"raiseEventName":null,"targetNodeId":"884b02d0-8c5f-40c1-be55-25191607bb1a"},{"text":{"contentType":"alchemyPlainTextResource","content":"None of these"},"raiseEventName":null,"targetNodeId":"379796aa-cc4a-48fc-9f5c-c1e7db5b2211"}]},{"type":"InteractiveNode","id":"9fb2c885-c5db-4796-b852-eeb81c5cd033","name":"Additional options","tags":null,"text":{"contentType":"embedded","content":"<p>Sure, here you go. </p>"},"outcomeSignal":null,"dynamicChoicesVariableName":null,"dynamicChoicesTargetNodeId":null,"staticChoices":[{"text":{"contentType":"alchemyPlainTextResource","content":"Find events performed on Inbox rules"},"raiseEventName":null,"targetNodeId":"38a83a68-38b8-463f-952f-f1e0668d83ad"},{"text":{"contentType":"alchemyPlainTextResource","content":"Run a message trace"},"raiseEventName":null,"targetNodeId":"8bfe6237-7571-40d8-98ed-bd57790ef352"},{"text":{"contentType":"alchemyPlainTextResource","content":"None of these"},"raiseEventName":null,"targetNodeId":"3b7f2081-22cb-407c-a51a-4c70c14b9007"}]},{"type":"safDiagnosticNode","id":"bf694406-20a7-438f-bb51-34396848a344","name":"Render Diagnostics Data","tags":null,"text":{"contentType":"embedded","content":"<p>Diagnostic form should render here. Coming soon.</p><p>I\'ll run tests on the compromised account. I just need this info to get started.</p>"},"outcomeSignal":null,"dynamicChoicesVariableName":null,"dynamicChoicesTargetNodeId":null,"staticChoices":[{"text":{"contentType":"alchemyPlainTextResource","content":"Successfully run"},"raiseEventName":null,"targetNodeId":"cfded206-1b59-477a-bc43-037341b2f91b"},{"text":{"contentType":"alchemyPlainTextResource","content":"Failed"},"raiseEventName":null,"targetNodeId":"31bf8e43-5746-4563-a934-3869262938cf"}]},{"type":"InteractiveNode","id":"cfded206-1b59-477a-bc43-037341b2f91b","name":"Run Inline Diagnostics","tags":null,"text":{"contentType":"embedded","content":"<p>After the tests complete, let me know whether the results were helpful. </p>"},"outcomeSignal":null,"dynamicChoicesVariableName":null,"dynamicChoicesTargetNodeId":null,"staticChoices":[{"text":{"contentType":"alchemyPlainTextResource","content":"Yes"},"raiseEventName":null,"targetNodeId":"96287d2c-f301-419b-af8c-b7f780a48242"},{"text":{"contentType":"alchemyPlainTextResource","content":"No"},"raiseEventName":null,"targetNodeId":"31bf8e43-5746-4563-a934-3869262938cf"}]},{"type":"InteractiveNode","id":"31bf8e43-5746-4563-a934-3869262938cf","name":"Start 2","tags":null,"text":{"contentType":"embedded","content":"<p>Sorry, the tests couldn\'t be run. Please select one of the following options to continue investigating your issue. </p>"},"outcomeSignal":null,"dynamicChoicesVariableName":null,"dynamicChoicesTargetNodeId":null,"staticChoices":[{"text":{"contentType":"alchemyPlainTextResource","content":"Walk through the steps to fix the account"},"raiseEventName":null,"targetNodeId":"5bd7e1c6-484a-4ebd-9c22-d692ece51c41"},{"text":{"contentType":"alchemyPlainTextResource","content":"Investigate the scope of the attack"},"raiseEventName":null,"targetNodeId":"b7ea3141-17bd-4066-9d44-5e1991e1a96c"},{"text":{"contentType":"alchemyPlainTextResource","content":"Show me more options"},"raiseEventName":null,"targetNodeId":"c119155f-10a4-4231-9399-ee28fd1b8cb0"}]}]}')},function(e){e.exports=JSON.parse('{"schemaVersion":1,"meta":{"id":"b42c7af2-7490-425d-b1ad-256b286ffe85","title":"Troubleshoot camera issues in Windows 10","description":null,"keywords":"camera; windows10","team":"E+D Amplify Get Help","lastModifiedAt":"2020-07-15T19:34Z","lastModifiedBy":"Sven Merget (smerget)","version":null,"locale":"en-US","supportAreaReference":"Windows\\\\Camera","requiresSAFDiagnostics":false,"requiredDAFDiagnostics":["dafv1"]},"initialVariables":null,"topHeadingText":{"contentType":"embeddedHtml","content":"<h1><b>Troubleshoot camera issues in Windows 10</b></h1>"},"startNodeId":"Initial","nodes":[{"type":"choiceNode","id":"Initial","name":"Initial","tags":null,"title":null,"text":null,"outcomeSignal":null,"dynamicChoices":false,"dynamicChoicesTargetNodeId":null,"question":{"contentType":"embeddedPlainText","content":"Please select the option that best describes the issue:"},"staticChoices":[{"text":{"contentType":"embeddedPlainText","content":"I get a \\"camera in use\\" error (Error:0xA00F4243)"},"raiseEventName":null,"targetNodeId":"UserGetsCameraInUseError"},{"text":{"contentType":"embeddedPlainText","content":"I get a no camera attached issue (Error: 0XA00F4244)"},"raiseEventName":null,"targetNodeId":"ResetCameraServicesDiagnostic"},{"text":{"contentType":"embeddedPlainText","content":"Microphone not available (Error: 0XA00F429C)"},"raiseEventName":null,"targetNodeId":"ResetCameraServicesDiagnostic"},{"text":{"contentType":"embeddedPlainText","content":"Camera Privacy issue (Error: 0xA00F4245, 0x80070005), or the app says privacy settings aren\'t configured or it doesn\'t have appropriate permissions"},"raiseEventName":null,"targetNodeId":"UserGetsPrivacyError"}]},{"type":"choiceNode","id":"UserGetsCameraInUseError","name":"UserGetsCameraInUseError","tags":null,"title":{"contentType":"embeddedPlainText","content":"Check for app using camera"},"text":{"contentType":"dmc","content":"check-for-app-using-camera"},"outcomeSignal":null,"dynamicChoices":false,"dynamicChoicesTargetNodeId":null,"question":{"contentType":"embeddedPlainText","content":"Did that fix your issue?"},"staticChoices":[{"text":{"contentType":"embeddedPlainText","content":"Yes"},"raiseEventName":null,"targetNodeId":"Success"},{"text":{"contentType":"embeddedPlainText","content":"No"},"raiseEventName":null,"targetNodeId":"ResetCameraServicesDiagnostic"}]},{"type":"choiceNode","id":"UserGetsPrivacyError","name":"UserGetsPrivacyError","tags":null,"title":null,"text":{"contentType":"dmc","content":"update-your-cameras-privacy-settings"},"outcomeSignal":null,"dynamicChoices":false,"dynamicChoicesTargetNodeId":null,"question":{"contentType":"embeddedPlainText","content":"Please try your camera again. Did this fix the issue?"},"staticChoices":[{"text":{"contentType":"embeddedPlainText","content":"Yes"},"raiseEventName":null,"targetNodeId":"Success"},{"text":{"contentType":"embeddedPlainText","content":"No"},"raiseEventName":null,"targetNodeId":"TryReplugOrRestartInsight"}]},{"type":"textNode","id":"Success","name":"Success","tags":null,"title":null,"text":{"contentType":"embeddedHtml","content":"<b>Glad that helped!</b>"},"outcomeSignal":"successful"},{"type":"dafDiagnosticNode","id":"ResetCameraServicesDiagnostic","name":"ResetCameraServicesDiagnostic","tags":null,"title":null,"text":{"contentType":"embeddedPlainText","content":"Please wait while we try resetting some services..."},"outcomeSignal":null,"actionType":"dafv1","actionReference":"sigma.scon.diagaction.camera.resetcameraservices","timeoutSeconds":null,"parameters":null,"variables":null,"targets":[],"defaultTargetNodeId":"TryCameraAgain","failedTargetNodeId":"TryCameraAgain"},{"type":"choiceNode","id":"TryCameraAgain","name":"TryCameraAgain","tags":null,"title":null,"text":{"contentType":"embeddedPlainText","content":"Please try your camera again."},"outcomeSignal":null,"dynamicChoices":false,"dynamicChoicesTargetNodeId":null,"question":{"contentType":"embeddedPlainText","content":"Did this fix your issue?"},"staticChoices":[{"text":{"contentType":"embeddedPlainText","content":"Yes"},"raiseEventName":null,"targetNodeId":"Success"},{"text":{"contentType":"embeddedPlainText","content":"No"},"raiseEventName":null,"targetNodeId":"TryReplugOrRestartInsight"}]},{"type":"choiceNode","id":"TryReplugOrRestartInsight","name":"TryReplugOrRestartInsight","tags":null,"title":null,"text":{"contentType":"dmc","content":"unplug-and-reconnect-camera"},"outcomeSignal":null,"dynamicChoices":false,"dynamicChoicesTargetNodeId":null,"question":{"contentType":"embeddedPlainText","content":"Does the camera work now?"},"staticChoices":[{"text":{"contentType":"embeddedPlainText","content":"Yes"},"raiseEventName":null,"targetNodeId":"Success"},{"text":{"contentType":"embeddedPlainText","content":"No"},"raiseEventName":null,"targetNodeId":"LeaveFeedbackOrTalkToAgent"}]},{"type":"choiceNode","id":"LeaveFeedbackOrTalkToAgent","name":"LeaveFeedbackOrTalkToAgent","tags":null,"title":null,"text":{"contentType":"embeddedPlainText","content":"If the issue is not resolved, please leave feedback for Microsoft about this issue, or reach out to Microsoft Support."},"outcomeSignal":"unsuccessful","dynamicChoices":false,"dynamicChoicesTargetNodeId":null,"question":null,"staticChoices":[{"text":{"contentType":"embeddedPlainText","content":"Leave Feedback for Camera"},"raiseEventName":"FeedbackHub-Camera","targetNodeId":null},{"text":{"contentType":"embeddedPlainText","content":"Talk to an agent"},"raiseEventName":"ContactSupport","targetNodeId":null}]}]}')},function(e){e.exports=JSON.parse('{"schemaVersion":1,"meta":{"id":"b42c7af2-7490-425d-b1ad-256b286ffe85","title":"Troubleshoot camera issues in Windows 10","description":null,"keywords":"camera; windows10","team":"E+D Amplify Get Help","lastModifiedAt":"2020-07-15T19:34Z","lastModifiedBy":"Sven Merget (smerget)","version":null,"locale":"en-US","supportAreaReference":"Windows\\\\Camera","requiresSAFDiagnostics":false,"requiredDAFDiagnostics":["dafv1"]},"initialVariables":null,"topHeadingText":{"contentType":"embeddedHtml","content":"<h1><b>Troubleshoot camera issues in Windows 10</b></h1>"},"startNodeId":"Initial","nodes":[{"type":"choiceNode","id":"Initial","name":"Initial","tags":null,"title":null,"text":null,"outcomeSignal":null,"dynamicChoices":false,"dynamicChoicesTargetNodeId":null,"question":{"contentType":"embeddedPlainText","content":"Please select the option that best describes the issue:"},"staticChoices":[{"text":{"contentType":"embeddedPlainText","content":"I get a \\"camera in use\\" error (Error:0xA00F4243)"},"raiseEventName":null,"targetNodeId":"UserGetsCameraInUseError"},{"text":{"contentType":"embeddedPlainText","content":"I get a no camera attached issue (Error: 0XA00F4244)"},"raiseEventName":null,"targetNodeId":"ResetCameraServicesDiagnostic"},{"text":{"contentType":"embeddedPlainText","content":"Microphone not available (Error: 0XA00F429C)"},"raiseEventName":null,"targetNodeId":"ResetCameraServicesDiagnostic"},{"text":{"contentType":"embeddedPlainText","content":"Camera Privacy issue (Error: 0xA00F4245, 0x80070005), or the app says privacy settings aren\'t configured or it doesn\'t have appropriate permissions"},"raiseEventName":null,"targetNodeId":"UserGetsPrivacyError"}]},{"type":"choiceNode","id":"UserGetsCameraInUseError","name":"UserGetsCameraInUseError","tags":null,"title":{"contentType":"embeddedPlainText","content":"Check for app using camera"},"text":{"contentType":"dmc","content":"check-for-app-using-camera"},"outcomeSignal":null,"dynamicChoices":false,"dynamicChoicesTargetNodeId":null,"question":{"contentType":"embeddedPlainText","content":"Did that fix your issue?"},"staticChoices":[{"text":{"contentType":"embeddedPlainText","content":"Yes"},"raiseEventName":null,"targetNodeId":"Success"},{"text":{"contentType":"embeddedPlainText","content":"No"},"raiseEventName":null,"targetNodeId":"ResetCameraServicesDiagnostic"}]},{"type":"choiceNode","id":"UserGetsPrivacyError","name":"UserGetsPrivacyError","tags":null,"title":null,"text":{"contentType":"dmc","content":"update-your-cameras-privacy-settings"},"outcomeSignal":null,"dynamicChoices":false,"dynamicChoicesTargetNodeId":null,"question":{"contentType":"embeddedPlainText","content":"Please try your camera again. Did this fix the issue?"},"staticChoices":[{"text":{"contentType":"embeddedPlainText","content":"Yes"},"raiseEventName":null,"targetNodeId":"Success"},{"text":{"contentType":"embeddedPlainText","content":"No"},"raiseEventName":null,"targetNodeId":"TryReplugOrRestartInsight"}]},{"type":"textNode","id":"Success","name":"Success","tags":null,"title":null,"text":{"contentType":"embeddedHtml","content":"<b>Glad that helped!</b>"},"outcomeSignal":"successful"},{"type":"dafDiagnosticNode","id":"ResetCameraServicesDiagnostic","name":"ResetCameraServicesDiagnostic","tags":null,"title":{"contentType":"embeddedPlainText","content":"Reset Camera Services Diagnostics"},"text":{"contentType":"embeddedPlainText","content":"Please wait while we try resetting some services..."},"outcomeSignal":null,"actionType":"dafv1","actionReference":"sigma.scon.diagaction.camera.resetcameraservices","timeoutSeconds":null,"parameters":null,"variables":null,"targets":[{"condition":"{CameraCount}==0","targetNodeId":"TryCameraAgain"},{"condition":"{CameraCount}==1&&{CameraName}==\'front\'","targetNodeId":"TryReplugOrRestartInsight"},{"condition":"{CameraCount}!=1","targetNodeId":"LeaveFeedbackOrTalkToAgent"}],"defaultTargetNodeId":"TryCameraAgain","failedTargetNodeId":"TryCameraAgain"},{"type":"choiceNode","id":"TryCameraAgain","name":"TryCameraAgain","tags":null,"title":null,"text":{"contentType":"embeddedPlainText","content":"Please try your camera again."},"outcomeSignal":null,"dynamicChoices":false,"dynamicChoicesTargetNodeId":null,"question":{"contentType":"embeddedPlainText","content":"Did this fix your issue?"},"staticChoices":[{"text":{"contentType":"embeddedPlainText","content":"Yes"},"raiseEventName":null,"targetNodeId":"Success"},{"text":{"contentType":"embeddedPlainText","content":"No"},"raiseEventName":null,"targetNodeId":"TryReplugOrRestartInsight"}]},{"type":"choiceNode","id":"TryReplugOrRestartInsight","name":"TryReplugOrRestartInsight","tags":null,"title":null,"text":{"contentType":"dmc","content":"unplug-and-reconnect-camera"},"outcomeSignal":null,"dynamicChoices":false,"dynamicChoicesTargetNodeId":null,"question":{"contentType":"embeddedPlainText","content":"Does the camera work now?"},"staticChoices":[{"text":{"contentType":"embeddedPlainText","content":"Yes"},"raiseEventName":null,"targetNodeId":"Success"},{"text":{"contentType":"embeddedPlainText","content":"No"},"raiseEventName":null,"targetNodeId":"LeaveFeedbackOrTalkToAgent"}]},{"type":"choiceNode","id":"LeaveFeedbackOrTalkToAgent","name":"LeaveFeedbackOrTalkToAgent","tags":null,"title":null,"text":{"contentType":"embeddedPlainText","content":"If the issue is not resolved, please leave feedback for Microsoft about this issue, or reach out to Microsoft Support."},"outcomeSignal":"unsuccessful","dynamicChoices":false,"dynamicChoicesTargetNodeId":null,"question":null,"staticChoices":[{"text":{"contentType":"embeddedPlainText","content":"Leave Feedback for Camera"},"raiseEventName":"FeedbackHub-Camera","targetNodeId":null},{"text":{"contentType":"embeddedPlainText","content":"Talk to an agent"},"raiseEventName":"ContactSupport","targetNodeId":null}]}]}')},function(e){e.exports=JSON.parse('{"schemaVersion":1,"meta":{"id":"b42c7af2-7490-425d-b1ad-256b286ffe85","title":"Troubleshoot camera issues in Windows 10","description":null,"keywords":"camera; windows10","team":"E+D Amplify Get Help","lastModifiedAt":"2020-07-15T19:34Z","lastModifiedBy":"Sven Merget (smerget)","version":null,"locale":"en-US","supportAreaReference":"Windows\\\\Camera","requiresSAFDiagnostics":false,"requiredDAFDiagnostics":["dafv1"]},"initialVariables":null,"topHeadingText":{"contentType":"embeddedHtml","content":"<h1><b>Troubleshoot camera issues in Windows 10</b></h1>"},"startNodeId":"Initial","nodes":[{"type":"choiceNode","id":"Initial","name":"Initial","tags":null,"title":null,"text":null,"outcomeSignal":null,"dynamicChoices":false,"dynamicChoicesTargetNodeId":null,"question":{"contentType":"embeddedPlainText","content":"Please select the option that best describes the issue:"},"staticChoices":[{"text":{"contentType":"embeddedPlainText","content":"I get a \\"camera in use\\" error (Error:0xA00F4243)"},"raiseEventName":null,"targetNodeId":"UserGetsCameraInUseError"},{"text":{"contentType":"embeddedPlainText","content":"I get a no camera attached issue (Error: 0XA00F4244)"},"raiseEventName":null,"targetNodeId":"ResetCameraServicesDiagnostic"},{"text":{"contentType":"embeddedPlainText","content":"Microphone not available (Error: 0XA00F429C)"},"raiseEventName":null,"targetNodeId":"ResetCameraServicesDiagnostic"},{"text":{"contentType":"embeddedPlainText","content":"Camera Privacy issue (Error: 0xA00F4245, 0x80070005), or the app says privacy settings aren\'t configured or it doesn\'t have appropriate permissions"},"raiseEventName":null,"targetNodeId":"UserGetsPrivacyError"}]},{"type":"choiceNode","id":"UserGetsCameraInUseError","name":"UserGetsCameraInUseError","tags":null,"title":{"contentType":"embeddedPlainText","content":"Check for app using camera"},"text":{"contentType":"dmc","content":"check-for-app-using-camera"},"outcomeSignal":null,"dynamicChoices":false,"dynamicChoicesTargetNodeId":null,"question":{"contentType":"embeddedPlainText","content":"Did that fix your issue?"},"staticChoices":[{"text":{"contentType":"embeddedPlainText","content":"Yes"},"raiseEventName":null,"targetNodeId":"Success"},{"text":{"contentType":"embeddedPlainText","content":"No"},"raiseEventName":null,"targetNodeId":"ResetCameraServicesDiagnostic"}]},{"type":"choiceNode","id":"UserGetsPrivacyError","name":"UserGetsPrivacyError","tags":null,"title":null,"text":{"contentType":"dmc","content":"update-your-cameras-privacy-settings"},"outcomeSignal":null,"dynamicChoices":false,"dynamicChoicesTargetNodeId":null,"question":{"contentType":"embeddedPlainText","content":"Please try your camera again. Did this fix the issue?"},"staticChoices":[{"text":{"contentType":"embeddedPlainText","content":"Yes"},"raiseEventName":null,"targetNodeId":"Success"},{"text":{"contentType":"embeddedPlainText","content":"No"},"raiseEventName":null,"targetNodeId":"TryReplugOrRestartInsight"}]},{"type":"textNode","id":"Success","name":"Success","tags":null,"title":null,"text":{"contentType":"embeddedHtml","content":"<b>Glad that helped!</b>"},"outcomeSignal":"successful"},{"type":"dafDiagnosticNode","id":"ResetCameraServicesDiagnostic","name":"ResetCameraServicesDiagnostic","tags":null,"title":{"contentType":"embeddedPlainText","content":"Reset Camera Services"},"text":{"contentType":"embeddedPlainText","content":"Please wait while we try resetting some services..."},"outcomeSignal":null,"actionType":"dafv1","actionReference":"sigma.scon.diagaction.camera.resetcameraservices","timeoutSeconds":null,"parameters":null,"variables":null,"targets":[{"condition":"{CameraCount}==0","targetNodeId":"TryCameraAgain"},{"condition":"{CameraCount}==1&&{CameraName}==\'front\'","targetNodeId":"TryReplugOrRestartInsight"},{"condition":"{CameraCount}!=1","targetNodeId":"SelectCameraOptions"}],"defaultTargetNodeId":"TryCameraAgain","failedTargetNodeId":"TryCameraAgain"},{"type":"choiceNode","id":"SelectCameraOptions","name":"SelectCameraOptions","tags":null,"title":null,"text":{"contentType":"embeddedPlainText","content":"Please select the camera you want to fix."},"outcomeSignal":null,"dynamicChoices":true,"dynamicChoiceTargetNodeId":"ResetCameraServicesDiagnosticSpecific","question":null,"staticChoices":null},{"type":"dafDiagnosticNode","id":"ResetCameraServicesDiagnosticSpecific","name":"ResetCameraServicesDiagnosticSpecific","tags":null,"title":null,"text":{"contentType":"embeddedPlainText","content":"Please wait while we try resetting your camera..."},"outcomeSignal":null,"actionType":"dafv1","actionReference":"sigma.scon.diagaction.camera.resetcameraservices","timeoutSeconds":null,"parameters":[{"name":"CameraCount","value":"{CameraC}"},{"name":"CameraName","value":"{CameraName}"}],"variables":[{"name":"CameraC","value":"3"},{"name":"CameraName","value":"IR"}],"targets":null,"defaultTargetNodeId":"TryCameraAgain","failedTargetNodeId":"TryCameraAgain"},{"type":"choiceNode","id":"TryCameraAgain","name":"TryCameraAgain","tags":null,"title":null,"text":{"contentType":"embeddedPlainText","content":"Please try your camera again."},"outcomeSignal":null,"dynamicChoices":false,"dynamicChoicesTargetNodeId":null,"question":{"contentType":"embeddedPlainText","content":"Did this fix your issue?"},"staticChoices":[{"text":{"contentType":"embeddedPlainText","content":"Yes"},"raiseEventName":null,"targetNodeId":"Success"},{"text":{"contentType":"embeddedPlainText","content":"No"},"raiseEventName":null,"targetNodeId":"TryReplugOrRestartInsight"}]},{"type":"choiceNode","id":"TryReplugOrRestartInsight","name":"TryReplugOrRestartInsight","tags":null,"title":null,"text":{"contentType":"dmc","content":"unplug-and-reconnect-camera"},"outcomeSignal":null,"dynamicChoices":false,"dynamicChoicesTargetNodeId":null,"question":{"contentType":"embeddedPlainText","content":"Does the camera work now?"},"staticChoices":[{"text":{"contentType":"embeddedPlainText","content":"Yes"},"raiseEventName":null,"targetNodeId":"Success"},{"text":{"contentType":"embeddedPlainText","content":"No"},"raiseEventName":null,"targetNodeId":"LeaveFeedbackOrTalkToAgent"}]},{"type":"choiceNode","id":"LeaveFeedbackOrTalkToAgent","name":"LeaveFeedbackOrTalkToAgent","tags":null,"title":null,"text":{"contentType":"embeddedPlainText","content":"If the issue is not resolved, please leave feedback for Microsoft about this issue, or reach out to Microsoft Support."},"outcomeSignal":"unsuccessful","dynamicChoices":false,"dynamicChoicesTargetNodeId":null,"question":null,"staticChoices":[{"text":{"contentType":"embeddedPlainText","content":"Leave Feedback for Camera"},"raiseEventName":"FeedbackHub-Camera","targetNodeId":null},{"text":{"contentType":"embeddedPlainText","content":"Talk to an agent"},"raiseEventName":"ContactSupport","targetNodeId":null}]}]}')},function(e){e.exports=JSON.parse('{"schemaVersion":1,"meta":{"id":"b42c7af2-7490-425d-b1ad-256b286ffe85","title":"Troubleshoot camera issues in Windows 10 - 10/02/2020 Friday 8:43pm","description":null,"keywords":"camera; windows10","team":"E+D Amplify Get Help","lastModifiedAt":"2020-07-15T19:34Z","lastModifiedBy":"Sven Merget (smerget)","version":null,"locale":"en-US","supportAreaReference":"Windows\\\\Camera","requiresSAFDiagnostics":false,"requiredDAFDiagnostics":["dafv1"]},"initialVariables":null,"topHeadingText":{"contentType":"embeddedHtml","content":"<h1><b>Troubleshoot camera issues in Windows 10</b></h1>"},"startNodeId":"Initial","nodes":[{"type":"choiceNode","id":"Initial","name":"Initial","tags":null,"title":null,"text":null,"outcomeSignal":null,"dynamicChoices":false,"dynamicChoiceTargetNodeId":null,"question":{"contentType":"embeddedPlainText","content":"Please select the option that best describes the issue:"},"staticChoices":[{"text":{"contentType":"embeddedPlainText","content":"I get a \\"camera in use\\" error (Error:0xA00F4243)"},"raiseEventName":null,"targetNodeId":"UserGetsCameraInUseError"},{"text":{"contentType":"embeddedPlainText","content":"I get a no camera attached issue (Error: 0XA00F4244)"},"raiseEventName":null,"targetNodeId":"ResetCameraServicesDiagnostic"},{"text":{"contentType":"embeddedPlainText","content":"Microphone not available (Error: 0XA00F429C)"},"raiseEventName":null,"targetNodeId":"ResetCameraServicesDiagnostic"},{"text":{"contentType":"embeddedPlainText","content":"Camera Privacy issue (Error: 0xA00F4245, 0x80070005), or the app says privacy settings aren\'t configured or it doesn\'t have appropriate permissions"},"raiseEventName":null,"targetNodeId":"UserGetsPrivacyError"}]},{"type":"choiceNode","id":"UserGetsCameraInUseError","name":"UserGetsCameraInUseError","tags":null,"title":{"contentType":"embeddedPlainText","content":"Check for app using camera"},"text":{"contentType":"dmc","content":"check-for-app-using-camera"},"outcomeSignal":null,"dynamicChoices":false,"dynamicChoiceTargetNodeId":null,"question":{"contentType":"embeddedPlainText","content":"Did that fix your issue?"},"staticChoices":[{"text":{"contentType":"embeddedPlainText","content":"Yes"},"raiseEventName":null,"targetNodeId":"Success"},{"text":{"contentType":"embeddedPlainText","content":"No"},"raiseEventName":null,"targetNodeId":"ResetCameraServicesDiagnostic"}]},{"type":"choiceNode","id":"UserGetsPrivacyError","name":"UserGetsPrivacyError","tags":null,"title":null,"text":{"contentType":"dmc","content":"update-your-cameras-privacy-settings"},"outcomeSignal":null,"dynamicChoices":false,"dynamicChoiceTargetNodeId":null,"question":{"contentType":"embeddedPlainText","content":"Please try your camera again. Did this fix the issue?"},"staticChoices":[{"text":{"contentType":"embeddedPlainText","content":"Yes"},"raiseEventName":null,"targetNodeId":"Success"},{"text":{"contentType":"embeddedPlainText","content":"No"},"raiseEventName":null,"targetNodeId":"TryReplugOrRestartInsight"}]},{"type":"textNode","id":"Success","name":"Success","tags":null,"title":null,"text":{"contentType":"embeddedHtml","content":"<b>Glad that helped!</b>"},"outcomeSignal":"successful"},{"type":"dafDiagnosticNode","id":"ResetCameraServicesDiagnostic","name":"ResetCameraServicesDiagnostic","tags":null,"title":null,"text":{"contentType":"embeddedPlainText","content":"Please wait while we try resetting some services..."},"outcomeSignal":null,"actionType":"dafv1","actionReference":"sigma.scon.diagaction.camera.resetcameraservices","timeoutSeconds":null,"parameters":null,"variables":null,"targets":[],"defaultTargetNodeId":"TryCameraAgain","failedTargetNodeId":"TryCameraAgain"},{"type":"choiceNode","id":"TryCameraAgain","name":"TryCameraAgain","tags":null,"title":null,"text":{"contentType":"embeddedPlainText","content":"Please try your camera again."},"outcomeSignal":null,"dynamicChoices":false,"dynamicChoiceTargetNodeId":null,"question":{"contentType":"embeddedPlainText","content":"Did this fix your issue?"},"staticChoices":[{"text":{"contentType":"embeddedPlainText","content":"Yes"},"raiseEventName":null,"targetNodeId":"Success"},{"text":{"contentType":"embeddedPlainText","content":"No"},"raiseEventName":null,"targetNodeId":"TryReplugOrRestartInsight"}]},{"type":"choiceNode","id":"TryReplugOrRestartInsight","name":"TryReplugOrRestartInsight","tags":null,"title":null,"text":{"contentType":"dmc","content":"unplug-and-reconnect-camera"},"outcomeSignal":null,"dynamicChoices":false,"dynamicChoiceTargetNodeId":null,"question":{"contentType":"embeddedPlainText","content":"Does the camera work now?"},"staticChoices":[{"text":{"contentType":"embeddedPlainText","content":"Yes"},"raiseEventName":null,"targetNodeId":"Success"},{"text":{"contentType":"embeddedPlainText","content":"No"},"raiseEventName":null,"targetNodeId":"LeaveFeedbackOrTalkToAgent"}]},{"type":"choiceNode","id":"LeaveFeedbackOrTalkToAgent","name":"LeaveFeedbackOrTalkToAgent","tags":null,"title":null,"text":{"contentType":"embeddedPlainText","content":"If the issue is not resolved, please leave feedback for Microsoft about this issue, or reach out to Microsoft Support."},"outcomeSignal":"unsuccessful","dynamicChoices":false,"dynamicChoiceTargetNodeId":null,"question":null,"staticChoices":[{"text":{"contentType":"embeddedPlainText","content":"Leave Feedback for Camera"},"raiseEventName":"FeedbackHub-Camera","targetNodeId":null},{"text":{"contentType":"embeddedPlainText","content":"Talk to an agent"},"raiseEventName":"ContactSupport","targetNodeId":null}]}]}')},function(e){e.exports=JSON.parse('{"schemaVersion":1,"meta":{"id":"b42c7af2-7490-425d-b1ad-256b286ffe85","title":"Troubleshoot camera issues in Windows 10","description":null,"keywords":"camera; windows10","team":"E+D Amplify Get Help","lastModifiedAt":"2020-07-15T19:34Z","lastModifiedBy":"Sven Merget (smerget)","version":null,"locale":"en-US","supportAreaReference":"Windows\\\\Camera","requiresSAFDiagnostics":false,"requiredDAFDiagnostics":["dafv1"]},"initialVariables":null,"topHeadingText":{"contentType":"embeddedHtml","content":"<h1><b>Troubleshoot camera issues in Windows 10</b></h1>"},"startNodeId":"Initial","nodes":[{"type":"choiceNode","id":"Initial","name":"Initial","tags":null,"title":null,"text":null,"outcomeSignal":null,"dynamicChoices":false,"dynamicChoiceTargetNodeId":null,"question":{"contentType":"embeddedPlainText","content":"Please select the option that best describes the issue:"},"staticChoices":[{"text":{"contentType":"embeddedPlainText","content":"I get a \\"camera in use\\" error (Error:0xA00F4243)"},"raiseEventName":null,"targetNodeId":"UserGetsCameraInUseError"},{"text":{"contentType":"embeddedPlainText","content":"I get a no camera attached issue (Error: 0XA00F4244)"},"raiseEventName":null,"targetNodeId":"ResetCameraServicesDiagnostic"},{"text":{"contentType":"embeddedPlainText","content":"Microphone not available (Error: 0XA00F429C)"},"raiseEventName":null,"targetNodeId":"ResetCameraServicesDiagnostic"},{"text":{"contentType":"embeddedPlainText","content":"Camera Privacy issue (Error: 0xA00F4245, 0x80070005), or the app says privacy settings aren\'t configured or it doesn\'t have appropriate permissions"},"raiseEventName":null,"targetNodeId":"UserGetsPrivacyError"}]},{"type":"choiceNode","id":"UserGetsCameraInUseError","name":"UserGetsCameraInUseError","tags":null,"title":{"contentType":"embeddedPlainText","content":"Check for app using camera"},"text":{"contentType":"dmc","content":"check-for-app-using-camera"},"outcomeSignal":null,"dynamicChoices":false,"dynamicChoiceTargetNodeId":null,"question":{"contentType":"embeddedPlainText","content":"Did checking for an app that\'s using the camera fix your issue?"},"staticChoices":[{"text":{"contentType":"embeddedPlainText","content":"Yes"},"raiseEventName":null,"targetNodeId":"Success"},{"text":{"contentType":"embeddedPlainText","content":"No"},"raiseEventName":null,"targetNodeId":"ResetCameraServicesDiagnostic"}]},{"type":"choiceNode","id":"UserGetsPrivacyError","name":"UserGetsPrivacyError","tags":null,"title":null,"text":{"contentType":"dmc","content":"update-your-cameras-privacy-settings"},"outcomeSignal":null,"dynamicChoices":false,"dynamicChoiceTargetNodeId":null,"question":{"contentType":"embeddedPlainText","content":"Please try your camera again. Did updating your camera\'s privacy settings fix the issue?"},"staticChoices":[{"text":{"contentType":"embeddedPlainText","content":"Yes"},"raiseEventName":null,"targetNodeId":"Success"},{"text":{"contentType":"embeddedPlainText","content":"No"},"raiseEventName":null,"targetNodeId":"TryReplugOrRestartInsight"}]},{"type":"textNode","id":"Success","name":"Success","tags":null,"title":null,"text":{"contentType":"embeddedHtml","content":"<b>Glad that helped!</b>"},"outcomeSignal":"successful"},{"type":"dafDiagnosticNode","id":"ResetCameraServicesDiagnostic","name":"ResetCameraServicesDiagnostic","tags":null,"title":{"contentType":"embeddedPlainText","content":"Status of resetting camera services:"},"text":{"contentType":"embeddedPlainText","content":"Please wait while we try resetting some services..."},"outcomeSignal":null,"actionType":"dafv1","actionReference":"sigma.scon.diagaction.camera.resetcameraservices","timeoutSeconds":null,"parameters":null,"variables":null,"targets":[],"defaultTargetNodeId":"TryCameraAgain","failedTargetNodeId":"TryCameraAgain"},{"type":"choiceNode","id":"TryCameraAgain","name":"TryCameraAgain","tags":null,"title":null,"text":{"contentType":"embeddedPlainText","content":"Please try your camera again."},"outcomeSignal":null,"dynamicChoices":false,"dynamicChoiceTargetNodeId":null,"question":{"contentType":"embeddedPlainText","content":"Did resetting camera service fix your issue?"},"staticChoices":[{"text":{"contentType":"embeddedPlainText","content":"Yes"},"raiseEventName":null,"targetNodeId":"Success"},{"text":{"contentType":"embeddedPlainText","content":"No"},"raiseEventName":null,"targetNodeId":"TryReplugOrRestartInsight"}]},{"type":"choiceNode","id":"TryReplugOrRestartInsight","name":"TryReplugOrRestartInsight","tags":null,"title":null,"text":{"contentType":"dmc","content":"unplug-and-reconnect-camera"},"outcomeSignal":null,"dynamicChoices":false,"dynamicChoiceTargetNodeId":null,"question":{"contentType":"embeddedPlainText","content":"After unplugging and reconnecting your camera, does the camera work now?"},"staticChoices":[{"text":{"contentType":"embeddedPlainText","content":"Yes"},"raiseEventName":null,"targetNodeId":"Success"},{"text":{"contentType":"embeddedPlainText","content":"No"},"raiseEventName":null,"targetNodeId":"LeaveFeedbackOrTalkToAgent"}]},{"type":"choiceNode","id":"LeaveFeedbackOrTalkToAgent","name":"LeaveFeedbackOrTalkToAgent","tags":null,"title":null,"text":{"contentType":"embeddedPlainText","content":"If the issue is not resolved, please leave feedback for Microsoft about this issue, or reach out to Microsoft Support."},"outcomeSignal":"unsuccessful","dynamicChoices":false,"dynamicChoiceTargetNodeId":null,"question":null,"staticChoices":[{"text":{"contentType":"embeddedPlainText","content":"Leave Feedback for Camera"},"raiseEventName":"FeedbackHub-Camera","targetNodeId":null},{"text":{"contentType":"embeddedPlainText","content":"Talk to an agent"},"raiseEventName":"ContactSupport","targetNodeId":null}]}]}')},function(e){e.exports=JSON.parse("{}")},function(e){e.exports=JSON.parse('{"schemaVersion":1,"meta":{"id":"dec69e04-935e-4ace-a561-7f9959820448","title":"Test dialog, broken start reference","description":null,"keywords":null,"team":"E+D Amplify Get Help","lastModifiedAt":"2020-10-22T20:23Z","lastModifiedBy":"Sven Merget (smerget)","version":null,"locale":"en-US","supportAreaReference":null,"requiresSAFDiagnostics":false,"requiredDAFDiagnostics":[]},"initialVariables":null,"topHeadingText":{"contentType":"embeddedHtml","content":"<h1><b>Test dialog with a broken link to the first node.</b></h1>"},"startNodeId":"NonExistentNode","nodes":[{"type":"textNode","id":"First","name":"First","tags":null,"title":null,"text":{"contentType":"embeddedPlainText","content":"Oh-oh! You reached the first node, despite a broken link in startNodeId!"},"outcomeSignal":"unsuccessful"}]}')},function(e){e.exports=JSON.parse('{"someKey":"someValue","meta":{"anotherKey":"anotherValue","thirdKey":"thirdValue"},"finalKey":"finalValue"}')},function(e){e.exports=JSON.parse('{"schemaVersion":1,"meta":{"id":"d85e0c18-adc1-454f-8286-deb6b520dbfc","title":"No nodes test dialog","description":null,"keywords":null,"team":"E+D Amplify Get Help","lastModifiedAt":"2020-10-22T20:23Z","lastModifiedBy":"Sven Merget (smerget)","version":null,"locale":"en-US","supportAreaReference":null,"requiresSAFDiagnostics":false,"requiredDAFDiagnostics":[]},"initialVariables":null,"topHeadingText":{"contentType":"embeddedHtml","content":"<h1><b>This test dialog has no nodes.</b></h1>"},"startNodeId":null,"nodes":[]}')},function(e){e.exports=JSON.parse('{"schemaVersion":1,"meta":{"id":"b33c4d22-5b66-40cf-bf41-639ad113d2dc","title":"Test dialog that starts with a DAF","description":null,"keywords":null,"team":"E+D Amplify Get Help","lastModifiedAt":"2020-10-22T20:23Z","lastModifiedBy":"Sven Merget (smerget)","version":null,"locale":"en-US","supportAreaReference":null,"requiresSAFDiagnostics":false,"requiredDAFDiagnostics":["dafv1"]},"initialVariables":null,"topHeadingText":{"contentType":"embeddedHtml","content":"<h1><b>Test dialog that starts with a DAF.</b></h1>"},"startNodeId":"RunDAF","nodes":[{"type":"dafDiagnosticNode","id":"RunDAF","name":"RunDAF","tags":null,"title":{"contentType":"embeddedPlainText","content":"Status of resetting camera services:"},"text":{"contentType":"embeddedPlainText","content":"Please wait while we try resetting some services..."},"outcomeSignal":null,"actionType":"dafv1","actionReference":"sigma.scon.diagaction.camera.resetcameraservices","timeoutSeconds":null,"parameters":null,"variables":null,"targets":[],"defaultTargetNodeId":"PackageRunSuccess","failedTargetNodeId":"PackageRunFailure"},{"type":"textNode","id":"PackageRunSuccess","name":"PackageRunSuccess","tags":null,"title":{"contentType":"embeddedPlainText","content":"Package run successful"},"text":{"contentType":"embeddedPlainText","content":"The package that just ran routed as \'successful.\'"},"outcomeSignal":"successful"},{"type":"textNode","id":"PackageRunFailure","name":"PackageRunFailure","tags":null,"title":{"contentType":"embeddedPlainText","content":"Package run failed"},"text":{"contentType":"embeddedPlainText","content":"The package that just ran routed as \'unsuccessful.\'"},"outcomeSignal":"unsuccessful"}]}')},function(e){e.exports=JSON.parse('{"schemaVersion":1,"meta":{"id":"c0e80a73-bdb7-455b-91c6-f79ba5457ac4","title":"Test dialog, various test conditions","description":null,"keywords":null,"team":"E+D Amplify Get Help","lastModifiedAt":"2020-10-22T20:23Z","lastModifiedBy":"Sven Merget (smerget)","version":null,"locale":"en-US","supportAreaReference":null,"requiresSAFDiagnostics":false,"requiredDAFDiagnostics":["dafv1"]},"initialVariables":null,"topHeadingText":{"contentType":"embeddedHtml","content":"<h1><b>Test dialog with various test conditions.</b></h1>"},"startNodeId":"SelectTest","nodes":[{"type":"choiceNode","id":"SelectTest","name":"SelectTest","tags":null,"title":{"contentType":"embeddedPlainText","content":"Test Selector"},"text":{"contentType":"embeddedPlainText","content":"Select what you\'d like to test."},"outcomeSignal":null,"dynamicChoices":false,"dynamicChoiceTargetNodeId":null,"question":{"contentType":"embeddedPlainText","content":"What test would you like to do?"},"staticChoices":[{"text":{"contentType":"embeddedPlainText","content":"Long sequence of nodes"},"raiseEventName":null,"targetNodeId":"LongSequence"},{"text":{"contentType":"embeddedPlainText","content":"circular (infinite) node references."},"raiseEventName":null,"targetNodeId":"CircularFirst"},{"text":{"contentType":"embeddedPlainText","content":"Broken node reference"},"raiseEventName":null,"targetNodeId":"BrokenReference_DoesNotExist"},{"text":{"contentType":"embeddedPlainText","content":"Bad content URL for external content reference"},"raiseEventName":null,"targetNodeId":"BadContentURL"},{"text":{"contentType":"embeddedPlainText","content":"Bad content type for external content reference"},"raiseEventName":null,"targetNodeId":"BadContentType"},{"text":{"contentType":"embeddedPlainText","content":"External content reference to long/complex article"},"raiseEventName":null,"targetNodeId":"ComplexContent"},{"text":{"contentType":"embeddedPlainText","content":"Raise undefined custom event"},"raiseEventName":"SomeUndefinedCustomEvent","targetNodeId":null},{"text":{"contentType":"embeddedPlainText","content":"DAF node with invalid package reference"},"raiseEventName":null,"targetNodeId":"InvalidDAFReference"},{"text":{"contentType":"embeddedPlainText","content":"DAF node running \'numberofcameras\' package which returns both integer and camera list"},"raiseEventName":null,"targetNodeId":"RunNumberOfCamerasPackage"},{"text":{"contentType":"embeddedPlainText","content":"DAF node running \'numberofcameras\' package, with variable routing and dynamic choices"},"raiseEventName":null,"targetNodeId":"RunNumberOfCamerasAndDisplayDynamicChoices"},{"text":{"contentType":"embeddedPlainText","content":"DAF node leading directly to another DAF node, then to a text node"},"raiseEventName":null,"targetNodeId":"RunConsecutiveDAF"},{"text":{"contentType":"embeddedPlainText","content":"Static choices with very long button text"},"raiseEventName":null,"targetNodeId":"LongTextStaticChoices"},{"text":{"contentType":"embeddedPlainText","content":"DAF node with no target nodes"},"raiseEventName":null,"targetNodeId":"DAFWithNoTargets"},{"text":{"contentType":"embeddedPlainText","content":"Static choice with forbidden HTML embedded content, and forbidden dmc content"},"raiseEventName":null,"targetNodeId":"ForbiddenContentTypeStaticChoices"}]},{"type":"textNode","id":"LongSequenceCancelled","name":"LongSequenceCancelled","tags":null,"title":{"contentType":"embeddedPlainText","content":"LongSequenceCancelled"},"text":{"contentType":"embeddedPlainText","content":"Node navigation has been cancelled."},"outcomeSignal":"unsuccessful"},{"type":"choiceNode","id":"LongSequence","name":"LongSequence","tags":null,"title":{"contentType":"embeddedPlainText","content":"First"},"text":{"contentType":"embeddedPlainText","content":"First"},"outcomeSignal":null,"dynamicChoices":false,"dynamicChoiceTargetNodeId":null,"question":{"contentType":"embeddedPlainText","content":"Continue?"},"staticChoices":[{"text":{"contentType":"embeddedPlainText","content":"Yes"},"raiseEventName":null,"targetNodeId":"Second"},{"text":{"contentType":"embeddedPlainText","content":"No"},"raiseEventName":null,"targetNodeId":"LongSequenceCancelled"}]},{"type":"choiceNode","id":"Second","name":"Second","tags":null,"title":{"contentType":"embeddedPlainText","content":"Second"},"text":{"contentType":"embeddedPlainText","content":"Second"},"outcomeSignal":null,"dynamicChoices":false,"dynamicChoiceTargetNodeId":null,"question":{"contentType":"embeddedPlainText","content":"Continue?"},"staticChoices":[{"text":{"contentType":"embeddedPlainText","content":"Yes"},"raiseEventName":null,"targetNodeId":"Third"},{"text":{"contentType":"embeddedPlainText","content":"No"},"raiseEventName":null,"targetNodeId":"LongSequenceCancelled"}]},{"type":"choiceNode","id":"Third","name":"Third","tags":null,"title":{"contentType":"embeddedPlainText","content":"Third"},"text":{"contentType":"embeddedPlainText","content":"Third"},"outcomeSignal":null,"dynamicChoices":false,"dynamicChoiceTargetNodeId":null,"question":{"contentType":"embeddedPlainText","content":"Continue?"},"staticChoices":[{"text":{"contentType":"embeddedPlainText","content":"Yes"},"raiseEventName":null,"targetNodeId":"Fourth"},{"text":{"contentType":"embeddedPlainText","content":"No"},"raiseEventName":null,"targetNodeId":"LongSequenceCancelled"}]},{"type":"choiceNode","id":"Fourth","name":"Fourth","tags":null,"title":{"contentType":"embeddedPlainText","content":"Fourth"},"text":{"contentType":"embeddedPlainText","content":"Fourth"},"outcomeSignal":null,"dynamicChoices":false,"dynamicChoiceTargetNodeId":null,"question":{"contentType":"embeddedPlainText","content":"Continue?"},"staticChoices":[{"text":{"contentType":"embeddedPlainText","content":"Yes"},"raiseEventName":null,"targetNodeId":"Fifth"},{"text":{"contentType":"embeddedPlainText","content":"No"},"raiseEventName":null,"targetNodeId":"LongSequenceCancelled"}]},{"type":"choiceNode","id":"Fifth","name":"Fifth","tags":null,"title":{"contentType":"embeddedPlainText","content":"Fifth"},"text":{"contentType":"embeddedPlainText","content":"Fifth"},"outcomeSignal":null,"dynamicChoices":false,"dynamicChoiceTargetNodeId":null,"question":{"contentType":"embeddedPlainText","content":"Continue?"},"staticChoices":[{"text":{"contentType":"embeddedPlainText","content":"Yes"},"raiseEventName":null,"targetNodeId":"Sixth"},{"text":{"contentType":"embeddedPlainText","content":"No"},"raiseEventName":null,"targetNodeId":"LongSequenceCancelled"}]},{"type":"choiceNode","id":"Sixth","name":"Sixth","tags":null,"title":{"contentType":"embeddedPlainText","content":"Sixth"},"text":{"contentType":"embeddedPlainText","content":"Sixth"},"outcomeSignal":null,"dynamicChoices":false,"dynamicChoiceTargetNodeId":null,"question":{"contentType":"embeddedPlainText","content":"Continue?"},"staticChoices":[{"text":{"contentType":"embeddedPlainText","content":"Yes"},"raiseEventName":null,"targetNodeId":"Seventh"},{"text":{"contentType":"embeddedPlainText","content":"No"},"raiseEventName":null,"targetNodeId":"LongSequenceCancelled"}]},{"type":"choiceNode","id":"Seventh","name":"Seventh","tags":null,"title":{"contentType":"embeddedPlainText","content":"Seventh"},"text":{"contentType":"embeddedPlainText","content":"Seventh"},"outcomeSignal":null,"dynamicChoices":false,"dynamicChoiceTargetNodeId":null,"question":{"contentType":"embeddedPlainText","content":"Continue?"},"staticChoices":[{"text":{"contentType":"embeddedPlainText","content":"Yes"},"raiseEventName":null,"targetNodeId":"Eighth"},{"text":{"contentType":"embeddedPlainText","content":"No"},"raiseEventName":null,"targetNodeId":"LongSequenceCancelled"}]},{"type":"choiceNode","id":"Eighth","name":"Eighth","tags":null,"title":{"contentType":"embeddedPlainText","content":"Eighth"},"text":{"contentType":"embeddedPlainText","content":"Eighth"},"outcomeSignal":null,"dynamicChoices":false,"dynamicChoiceTargetNodeId":null,"question":{"contentType":"embeddedPlainText","content":"Continue?"},"staticChoices":[{"text":{"contentType":"embeddedPlainText","content":"Yes"},"raiseEventName":null,"targetNodeId":"Ninth"},{"text":{"contentType":"embeddedPlainText","content":"No"},"raiseEventName":null,"targetNodeId":"LongSequenceCancelled"}]},{"type":"choiceNode","id":"Ninth","name":"Ninth","tags":null,"title":{"contentType":"embeddedPlainText","content":"Ninth"},"text":{"contentType":"embeddedPlainText","content":"Ninth"},"outcomeSignal":null,"dynamicChoices":false,"dynamicChoiceTargetNodeId":null,"question":{"contentType":"embeddedPlainText","content":"Continue?"},"staticChoices":[{"text":{"contentType":"embeddedPlainText","content":"Yes"},"raiseEventName":null,"targetNodeId":"Tenth"},{"text":{"contentType":"embeddedPlainText","content":"No"},"raiseEventName":null,"targetNodeId":"LongSequenceCancelled"}]},{"type":"choiceNode","id":"Tenth","name":"Tenth","tags":null,"title":{"contentType":"embeddedPlainText","content":"Tenth"},"text":{"contentType":"embeddedPlainText","content":"Tenth"},"outcomeSignal":null,"dynamicChoices":false,"dynamicChoiceTargetNodeId":null,"question":{"contentType":"embeddedPlainText","content":"Continue?"},"staticChoices":[{"text":{"contentType":"embeddedPlainText","content":"Yes"},"raiseEventName":null,"targetNodeId":"Eleventh"},{"text":{"contentType":"embeddedPlainText","content":"No"},"raiseEventName":null,"targetNodeId":"LongSequenceCancelled"}]},{"type":"choiceNode","id":"Eleventh","name":"Eleventh","tags":null,"title":{"contentType":"embeddedPlainText","content":"Eleventh"},"text":{"contentType":"embeddedPlainText","content":"Eleventh"},"outcomeSignal":null,"dynamicChoices":false,"dynamicChoiceTargetNodeId":null,"question":{"contentType":"embeddedPlainText","content":"Continue?"},"staticChoices":[{"text":{"contentType":"embeddedPlainText","content":"Yes"},"raiseEventName":null,"targetNodeId":"Twelfth"},{"text":{"contentType":"embeddedPlainText","content":"No"},"raiseEventName":null,"targetNodeId":"LongSequenceCancelled"}]},{"type":"choiceNode","id":"Twelfth","name":"Twelfth","tags":null,"title":{"contentType":"embeddedPlainText","content":"Twelfth"},"text":{"contentType":"embeddedPlainText","content":"Twelfth"},"outcomeSignal":null,"dynamicChoices":false,"dynamicChoiceTargetNodeId":null,"question":{"contentType":"embeddedPlainText","content":"Continue?"},"staticChoices":[{"text":{"contentType":"embeddedPlainText","content":"Yes"},"raiseEventName":null,"targetNodeId":"Thirteenth"},{"text":{"contentType":"embeddedPlainText","content":"No"},"raiseEventName":null,"targetNodeId":"LongSequenceCancelled"}]},{"type":"choiceNode","id":"Thirteenth","name":"Thirteenth","tags":null,"title":{"contentType":"embeddedPlainText","content":"Thirteenth"},"text":{"contentType":"embeddedPlainText","content":"Thirteenth"},"outcomeSignal":null,"dynamicChoices":false,"dynamicChoiceTargetNodeId":null,"question":{"contentType":"embeddedPlainText","content":"Continue?"},"staticChoices":[{"text":{"contentType":"embeddedPlainText","content":"Yes"},"raiseEventName":null,"targetNodeId":"Fourteenth"},{"text":{"contentType":"embeddedPlainText","content":"No"},"raiseEventName":null,"targetNodeId":"LongSequenceCancelled"}]},{"type":"choiceNode","id":"Fourteenth","name":"Fourteenth","tags":null,"title":{"contentType":"embeddedPlainText","content":"Fourteenth"},"text":{"contentType":"embeddedPlainText","content":"Fourteenth"},"outcomeSignal":null,"dynamicChoices":false,"dynamicChoiceTargetNodeId":null,"question":{"contentType":"embeddedPlainText","content":"Continue?"},"staticChoices":[{"text":{"contentType":"embeddedPlainText","content":"Yes"},"raiseEventName":null,"targetNodeId":"Fifteenth"},{"text":{"contentType":"embeddedPlainText","content":"No"},"raiseEventName":null,"targetNodeId":"LongSequenceCancelled"}]},{"type":"choiceNode","id":"Fifteenth","name":"Fifteenth","tags":null,"title":{"contentType":"embeddedPlainText","content":"Fifteenth"},"text":{"contentType":"embeddedPlainText","content":"Fifteenth"},"outcomeSignal":null,"dynamicChoices":false,"dynamicChoiceTargetNodeId":null,"question":{"contentType":"embeddedPlainText","content":"Continue?"},"staticChoices":[{"text":{"contentType":"embeddedPlainText","content":"Yes"},"raiseEventName":null,"targetNodeId":"Sixteenth"},{"text":{"contentType":"embeddedPlainText","content":"No"},"raiseEventName":null,"targetNodeId":"LongSequenceCancelled"}]},{"type":"choiceNode","id":"Sixteenth","name":"Sixteenth","tags":null,"title":{"contentType":"embeddedPlainText","content":"Sixteenth"},"text":{"contentType":"embeddedPlainText","content":"Sixteenth"},"outcomeSignal":null,"dynamicChoices":false,"dynamicChoiceTargetNodeId":null,"question":{"contentType":"embeddedPlainText","content":"Continue?"},"staticChoices":[{"text":{"contentType":"embeddedPlainText","content":"Yes"},"raiseEventName":null,"targetNodeId":"Seventeenth"},{"text":{"contentType":"embeddedPlainText","content":"No"},"raiseEventName":null,"targetNodeId":"LongSequenceCancelled"}]},{"type":"choiceNode","id":"Seventeenth","name":"Seventeenth","tags":null,"title":{"contentType":"embeddedPlainText","content":"Seventeenth"},"text":{"contentType":"embeddedPlainText","content":"Seventeenth"},"outcomeSignal":null,"dynamicChoices":false,"dynamicChoiceTargetNodeId":null,"question":{"contentType":"embeddedPlainText","content":"Continue?"},"staticChoices":[{"text":{"contentType":"embeddedPlainText","content":"Yes"},"raiseEventName":null,"targetNodeId":"Eighteenth"},{"text":{"contentType":"embeddedPlainText","content":"No"},"raiseEventName":null,"targetNodeId":"LongSequenceCancelled"}]},{"type":"choiceNode","id":"Eighteenth","name":"Eighteenth","tags":null,"title":{"contentType":"embeddedPlainText","content":"Eighteenth"},"text":{"contentType":"embeddedPlainText","content":"Eighteenth"},"outcomeSignal":null,"dynamicChoices":false,"dynamicChoiceTargetNodeId":null,"question":{"contentType":"embeddedPlainText","content":"Continue?"},"staticChoices":[{"text":{"contentType":"embeddedPlainText","content":"Yes"},"raiseEventName":null,"targetNodeId":"Nineteenth"},{"text":{"contentType":"embeddedPlainText","content":"No"},"raiseEventName":null,"targetNodeId":"LongSequenceCancelled"}]},{"type":"choiceNode","id":"Nineteenth","name":"Nineteenth","tags":null,"title":{"contentType":"embeddedPlainText","content":"Nineteenth"},"text":{"contentType":"embeddedPlainText","content":"Nineteenth"},"outcomeSignal":null,"dynamicChoices":false,"dynamicChoiceTargetNodeId":null,"question":{"contentType":"embeddedPlainText","content":"Continue?"},"staticChoices":[{"text":{"contentType":"embeddedPlainText","content":"Yes"},"raiseEventName":null,"targetNodeId":"Twentieth"},{"text":{"contentType":"embeddedPlainText","content":"No"},"raiseEventName":null,"targetNodeId":"LongSequenceCancelled"}]},{"type":"choiceNode","id":"Twentieth","name":"Twentieth","tags":null,"title":{"contentType":"embeddedPlainText","content":"Twentieth"},"text":{"contentType":"embeddedPlainText","content":"Twentieth"},"outcomeSignal":null,"dynamicChoices":false,"dynamicChoiceTargetNodeId":null,"question":{"contentType":"embeddedPlainText","content":"Continue?"},"staticChoices":[{"text":{"contentType":"embeddedPlainText","content":"Yes"},"raiseEventName":null,"targetNodeId":"Twenty-First"},{"text":{"contentType":"embeddedPlainText","content":"No"},"raiseEventName":null,"targetNodeId":"LongSequenceCancelled"}]},{"type":"choiceNode","id":"Twenty-First","name":"Twenty-First","tags":null,"title":{"contentType":"embeddedPlainText","content":"Twenty-First"},"text":{"contentType":"embeddedPlainText","content":"Twenty-First"},"outcomeSignal":null,"dynamicChoices":false,"dynamicChoiceTargetNodeId":null,"question":{"contentType":"embeddedPlainText","content":"Continue?"},"staticChoices":[{"text":{"contentType":"embeddedPlainText","content":"Yes"},"raiseEventName":null,"targetNodeId":"Twenty-Second"},{"text":{"contentType":"embeddedPlainText","content":"No"},"raiseEventName":null,"targetNodeId":"LongSequenceCancelled"}]},{"type":"choiceNode","id":"Twenty-Second","name":"Twenty-Second","tags":null,"title":{"contentType":"embeddedPlainText","content":"Twenty-Second"},"text":{"contentType":"embeddedPlainText","content":"Twenty-Second"},"outcomeSignal":null,"dynamicChoices":false,"dynamicChoiceTargetNodeId":null,"question":{"contentType":"embeddedPlainText","content":"Continue?"},"staticChoices":[{"text":{"contentType":"embeddedPlainText","content":"Yes"},"raiseEventName":null,"targetNodeId":"Twenty-Third"},{"text":{"contentType":"embeddedPlainText","content":"No"},"raiseEventName":null,"targetNodeId":"LongSequenceCancelled"}]},{"type":"choiceNode","id":"Twenty-Third","name":"Twenty-Third","tags":null,"title":{"contentType":"embeddedPlainText","content":"Twenty-Third"},"text":{"contentType":"embeddedPlainText","content":"Twenty-Third"},"outcomeSignal":null,"dynamicChoices":false,"dynamicChoiceTargetNodeId":null,"question":{"contentType":"embeddedPlainText","content":"Continue?"},"staticChoices":[{"text":{"contentType":"embeddedPlainText","content":"Yes"},"raiseEventName":null,"targetNodeId":"Twenty-Fourth"},{"text":{"contentType":"embeddedPlainText","content":"No"},"raiseEventName":null,"targetNodeId":"LongSequenceCancelled"}]},{"type":"choiceNode","id":"Twenty-Fourth","name":"Twenty-Fourth","tags":null,"title":{"contentType":"embeddedPlainText","content":"Twenty-Fourth"},"text":{"contentType":"embeddedPlainText","content":"Twenty-Fourth"},"outcomeSignal":null,"dynamicChoices":false,"dynamicChoiceTargetNodeId":null,"question":{"contentType":"embeddedPlainText","content":"Continue?"},"staticChoices":[{"text":{"contentType":"embeddedPlainText","content":"Yes"},"raiseEventName":null,"targetNodeId":"Twenty-Fifth"},{"text":{"contentType":"embeddedPlainText","content":"No"},"raiseEventName":null,"targetNodeId":"LongSequenceCancelled"}]},{"type":"choiceNode","id":"Twenty-Fifth","name":"Twenty-Fifth","tags":null,"title":{"contentType":"embeddedPlainText","content":"Twenty-Fifth"},"text":{"contentType":"embeddedPlainText","content":"Twenty-Fifth"},"outcomeSignal":null,"dynamicChoices":false,"dynamicChoiceTargetNodeId":null,"question":{"contentType":"embeddedPlainText","content":"Continue?"},"staticChoices":[{"text":{"contentType":"embeddedPlainText","content":"Yes"},"raiseEventName":null,"targetNodeId":"Twenty-Sixth"},{"text":{"contentType":"embeddedPlainText","content":"No"},"raiseEventName":null,"targetNodeId":"LongSequenceCancelled"}]},{"type":"choiceNode","id":"Twenty-Sixth","name":"Twenty-Sixth","tags":null,"title":{"contentType":"embeddedPlainText","content":"Twenty-Sixth"},"text":{"contentType":"embeddedPlainText","content":"Twenty-Sixth"},"outcomeSignal":null,"dynamicChoices":false,"dynamicChoiceTargetNodeId":null,"question":{"contentType":"embeddedPlainText","content":"Continue?"},"staticChoices":[{"text":{"contentType":"embeddedPlainText","content":"Yes"},"raiseEventName":null,"targetNodeId":"Twenty-Seventh"},{"text":{"contentType":"embeddedPlainText","content":"No"},"raiseEventName":null,"targetNodeId":"LongSequenceCancelled"}]},{"type":"choiceNode","id":"Twenty-Seventh","name":"Twenty-Seventh","tags":null,"title":{"contentType":"embeddedPlainText","content":"Twenty-Seventh"},"text":{"contentType":"embeddedPlainText","content":"Twenty-Seventh"},"outcomeSignal":null,"dynamicChoices":false,"dynamicChoiceTargetNodeId":null,"question":{"contentType":"embeddedPlainText","content":"Continue?"},"staticChoices":[{"text":{"contentType":"embeddedPlainText","content":"Yes"},"raiseEventName":null,"targetNodeId":"Twenty-Eighth"},{"text":{"contentType":"embeddedPlainText","content":"No"},"raiseEventName":null,"targetNodeId":"LongSequenceCancelled"}]},{"type":"choiceNode","id":"Twenty-Eighth","name":"Twenty-Eighth","tags":null,"title":{"contentType":"embeddedPlainText","content":"Twenty-Eighth"},"text":{"contentType":"embeddedPlainText","content":"Twenty-Eighth"},"outcomeSignal":null,"dynamicChoices":false,"dynamicChoiceTargetNodeId":null,"question":{"contentType":"embeddedPlainText","content":"Continue?"},"staticChoices":[{"text":{"contentType":"embeddedPlainText","content":"Yes"},"raiseEventName":null,"targetNodeId":"Twenty-Ninth"},{"text":{"contentType":"embeddedPlainText","content":"No"},"raiseEventName":null,"targetNodeId":"LongSequenceCancelled"}]},{"type":"choiceNode","id":"Twenty-Ninth","name":"Twenty-Ninth","tags":null,"title":{"contentType":"embeddedPlainText","content":"Twenty-Ninth"},"text":{"contentType":"embeddedPlainText","content":"Twenty-Ninth"},"outcomeSignal":null,"dynamicChoices":false,"dynamicChoiceTargetNodeId":null,"question":{"contentType":"embeddedPlainText","content":"Continue?"},"staticChoices":[{"text":{"contentType":"embeddedPlainText","content":"Yes"},"raiseEventName":null,"targetNodeId":"Thirtieth"},{"text":{"contentType":"embeddedPlainText","content":"No"},"raiseEventName":null,"targetNodeId":"LongSequenceCancelled"}]},{"type":"choiceNode","id":"Thirtieth","name":"Thirtieth","tags":null,"title":{"contentType":"embeddedPlainText","content":"Thirtieth"},"text":{"contentType":"embeddedPlainText","content":"Thirtieth"},"outcomeSignal":null,"dynamicChoices":false,"dynamicChoiceTargetNodeId":null,"question":{"contentType":"embeddedPlainText","content":"Continue?"},"staticChoices":[{"text":{"contentType":"embeddedPlainText","content":"Yes"},"raiseEventName":null,"targetNodeId":"LongSequenceFinal"},{"text":{"contentType":"embeddedPlainText","content":"No"},"raiseEventName":null,"targetNodeId":"LongSequenceCancelled"}]},{"type":"textNode","id":"LongSequenceFinal","name":"LongSequenceFinal","tags":null,"title":{"contentType":"embeddedPlainText","content":"Long sequence ends"},"text":{"contentType":"embeddedPlainText","content":"You made it to the end of this long-sequence dialog flow!"},"outcomeSignal":"successful"},{"type":"choiceNode","id":"CircularFirst","name":"CircularFirst","tags":null,"title":{"contentType":"embeddedPlainText","content":"Circular 1"},"text":{"contentType":"embeddedPlainText","content":"Circular 1"},"outcomeSignal":null,"dynamicChoices":false,"dynamicChoiceTargetNodeId":null,"question":{"contentType":"embeddedPlainText","content":"Go to circular 2?"},"staticChoices":[{"text":{"contentType":"embeddedPlainText","content":"Yes"},"raiseEventName":null,"targetNodeId":"CircularSecond"}]},{"type":"choiceNode","id":"CircularSecond","name":"CircularSecond","tags":null,"title":{"contentType":"embeddedPlainText","content":"Circular 2"},"text":{"contentType":"embeddedPlainText","content":"Circular 2"},"outcomeSignal":null,"dynamicChoices":false,"dynamicChoiceTargetNodeId":null,"question":{"contentType":"embeddedPlainText","content":"Go to circular 3?"},"staticChoices":[{"text":{"contentType":"embeddedPlainText","content":"Yes"},"raiseEventName":null,"targetNodeId":"CircularThird"}]},{"type":"choiceNode","id":"CircularThird","name":"CircularThird","tags":null,"title":{"contentType":"embeddedPlainText","content":"Circular 3"},"text":{"contentType":"embeddedPlainText","content":"Circular 3"},"outcomeSignal":null,"dynamicChoices":false,"dynamicChoiceTargetNodeId":null,"question":{"contentType":"embeddedPlainText","content":"Go to circular 1?"},"staticChoices":[{"text":{"contentType":"embeddedPlainText","content":"Yes"},"raiseEventName":null,"targetNodeId":"CircularFirst"}]},{"type":"textNode","id":"BadContentURL","name":"BadContentURL","tags":null,"title":{"contentType":"embeddedPlainText","content":"Bad Content URL"},"text":{"contentType":"dmc","content":"this-is-a-bad-reference"},"outcomeSignal":"successful"},{"type":"textNode","id":"BadContentType","name":"BadContentType","tags":null,"title":{"contentType":"embeddedPlainText","content":"Bad Content Type"},"text":{"contentType":"abc","content":"some-article-name"},"outcomeSignal":"successful"},{"type":"textNode","id":"ComplexContent","name":"ComplexContent","tags":null,"title":{"contentType":"embeddedPlainText","content":"External reference to complex content"},"text":{"contentType":"dmc","content":"xxx"},"outcomeSignal":"successful"},{"type":"dafDiagnosticNode","id":"InvalidDAFReference","name":"InvalidDAFReference","tags":null,"title":{"contentType":"embeddedPlainText","content":"Status of invalid DAF reference:"},"text":{"contentType":"embeddedPlainText","content":"Please wait while we try running an invalid DAF..."},"outcomeSignal":null,"actionType":"dafv1","actionReference":"fake.package.name","timeoutSeconds":null,"parameters":null,"variables":null,"targets":[],"defaultTargetNodeId":"PackageRunSuccess","failedTargetNodeId":"PackageRunFailure"},{"type":"dafDiagnosticNode","id":"RunNumberOfCamerasPackage","name":"RunNumberOfCamerasPackage","tags":null,"title":{"contentType":"embeddedPlainText","content":"Status of getting camera list/count:"},"text":{"contentType":"embeddedPlainText","content":"Please wait while numberofcameras package runs..."},"outcomeSignal":null,"actionType":"dafv1","actionReference":"css.dcs.diagaction.camera.numberofcameras","timeoutSeconds":null,"parameters":null,"variables":null,"targets":[],"defaultTargetNodeId":"PackageRunSuccess","failedTargetNodeId":"PackageRunFailure"},{"type":"textNode","id":"PackageRunSuccess","name":"PackageRunSuccess","tags":null,"title":{"contentType":"embeddedPlainText","content":"Package run successful"},"text":{"contentType":"embeddedPlainText","content":"The package that just ran routed as \'successful.\'"},"outcomeSignal":"successful"},{"type":"textNode","id":"PackageRunFailure","name":"PackageRunFailure","tags":null,"title":{"contentType":"embeddedPlainText","content":"Package run failed"},"text":{"contentType":"embeddedPlainText","content":"The package that just ran routed as \'unsuccessful.\'"},"outcomeSignal":"unsuccessful"},{"type":"dafDiagnosticNode","id":"RunNumberOfCamerasAndDisplayDynamicChoices","name":"RunNumberOfCamerasAndDisplayDynamicChoices","tags":null,"title":{"contentType":"embeddedPlainText","content":"Status of getting camera list/count:"},"text":{"contentType":"embeddedPlainText","content":"Please wait while numberofcameras package runs..."},"outcomeSignal":null,"actionType":"dafv1","actionReference":"css.dcs.diagaction.camera.numberofcameras","timeoutSeconds":null,"parameters":null,"variables":[{"name":"cameraCount","value":"{numberofcameras}"}],"targets":[{"condition":"{cameraCount}==0","targetNodeId":"NoCamerasFound"},{"condition":"{cameraCount}>=1","targetNodeId":"OneOrMoreCamerasFound"}],"defaultTargetNodeId":"PackageRunSuccessUnexpected","failedTargetNodeId":"PackageRunFailure"},{"type":"textNode","id":"PackageRunSuccessUnexpected","name":"PackageRunSuccessUnexpected","tags":null,"title":{"contentType":"embeddedPlainText","content":"The package ran successfully, which was unexpected"},"text":{"contentType":"embeddedPlainText","content":"The package ran successfully, but none of the target conditions was invoked and routing unexpectedly fell through to the default target."},"outcomeSignal":"unsuccessful"},{"type":"textNode","id":"NoCamerasFound","name":"NoCamerasFound","tags":null,"title":{"contentType":"embeddedPlainText","content":"No cameras found"},"text":{"contentType":"embeddedPlainText","content":"The package that just ran found 0 cameras to enumerate on this system."},"outcomeSignal":"unsuccessful"},{"type":"choiceNode","id":"OneOrMoreCamerasFound","name":"OneOrMoreCamerasFound","tags":null,"title":{"contentType":"embeddedPlainText","content":"One or more cameras found"},"text":{"contentType":"embeddedPlainText","content":"One or more cameras found."},"outcomeSignal":null,"dynamicChoices":true,"dynamicChoiceTargetNodeId":"CameraChosen","question":{"contentType":"embeddedPlainText","content":"Select a camera:"},"staticChoices":[{"text":{"contentType":"embeddedPlainText","content":"NONE OF THE ABOVE (STATIC CHOICE)"},"raiseEventName":null,"targetNodeId":"NoCameraChosen"}]},{"type":"textNode","id":"NoCameraChosen","name":"NoCameraChosen","tags":null,"title":{"contentType":"embeddedPlainText","content":"You selected the \\"none of the above\\" camera option."},"text":{"contentType":"embeddedPlainText","content":"You selected the \\"none of the above\\" camera option."},"outcomeSignal":"successful"},{"type":"choiceNode","id":"CameraChosen","name":"CameraChosen","tags":null,"title":{"contentType":"embeddedPlainText","content":"Camera chosen, run reset with input parameters"},"text":{"contentType":"embeddedPlainText","content":"Camera chosen. Next is to run reset with input parameters. We will pass the number of cameras and the chosen camera\'s name."},"outcomeSignal":null,"dynamicChoices":false,"dynamicChoiceTargetNodeId":null,"question":{"contentType":"embeddedPlainText","content":"Click to run package with input parameters:"},"staticChoices":[{"text":{"contentType":"embeddedPlainText","content":"Run!"},"raiseEventName":null,"targetNodeId":"CameraSpecificReset"}]},{"type":"dafDiagnosticNode","id":"CameraSpecificReset","name":"CameraSpecificReset","tags":null,"title":{"contentType":"embeddedPlainText","content":"Status of resetting camera services (with input parameters):"},"text":{"contentType":"embeddedPlainText","content":"Please wait while we try resetting some services (with input parameters)..."},"outcomeSignal":null,"actionType":"dafv1","actionReference":"sigma.scon.diagaction.camera.resetcameraservices","timeoutSeconds":null,"parameters":[{"name":"numcameras","value":"{cameraCount}"},{"name":"selectedcamera","value":"{dynamicChoice}"}],"variables":null,"targets":[],"defaultTargetNodeId":"PackageRunSuccess","failedTargetNodeId":"PackageRunFailure"},{"type":"dafDiagnosticNode","id":"RunConsecutiveDAF","name":"RunConsecutiveDAF","tags":null,"title":{"contentType":"embeddedPlainText","content":"Status of resetting camera services (1 of 2):"},"text":{"contentType":"embeddedPlainText","content":"Please wait while we try resetting some services (1 of 2)..."},"outcomeSignal":null,"actionType":"dafv1","actionReference":"sigma.scon.diagaction.camera.resetcameraservices","timeoutSeconds":null,"parameters":null,"variables":null,"targets":[],"defaultTargetNodeId":"RunConsecutiveDAF_2","failedTargetNodeId":"PackageRunFailure"},{"type":"dafDiagnosticNode","id":"RunConsecutiveDAF_2","name":"RunConsecutiveDAF_2","tags":null,"title":{"contentType":"embeddedPlainText","content":"Status of resetting camera services (2 of 2):"},"text":{"contentType":"embeddedPlainText","content":"Please wait while we try resetting some services (2 of 2)..."},"outcomeSignal":null,"actionType":"dafv1","actionReference":"sigma.scon.diagaction.camera.resetcameraservices","timeoutSeconds":null,"parameters":null,"variables":null,"targets":[],"defaultTargetNodeId":"PackageRunSuccess","failedTargetNodeId":"PackageRunFailure"},{"type":"choiceNode","id":"LongTextStaticChoices","name":"LongTextStaticChoices","tags":null,"title":{"contentType":"embeddedPlainText","content":"Long-text static choices"},"text":{"contentType":"embeddedPlainText","content":"Here are some long-text static choice buttons."},"outcomeSignal":null,"dynamicChoices":false,"dynamicChoiceTargetNodeId":null,"question":{"contentType":"embeddedPlainText","content":"Here are the buttons:"},"staticChoices":[{"text":{"contentType":"embeddedPlainText","content":"This is a choice that, if selected, will do very little, but the point is to see how long text is rendered for a button, meaning extremely long text that could amost be considered to be of paragraph-length!"},"raiseEventName":null,"targetNodeId":"LongChoicesDone"},{"text":{"contentType":"embeddedPlainText","content":"start_fdsfds fdslkjfd lkfdsj fdsjlfdsjfd lkjdslkds jlkfdsj fdslkjlfdshdlfdsjlfdoiew dfljkfd  dsflkjdslkjfdslhfds hfdsjlkjfd fdsljfdjlkfdshfhlkfdjlfdshfdlkfdjfds hfdhlfdsjlfdhfdhfdsllfdh fds l jfdhfdslldfsj fdhlfdjlkjfdh fdkjfd hjfd lkfdjh fdjhdf ljfdhfd hfdkjhfd fdkdfhdf kfdfd dfjdkjfjkfd hfdhjfdhhfdshsjdkj fdslhfdh lfdslj fdshhjl_end"},"raiseEventName":null,"targetNodeId":"LongChoicesDone"}]},{"type":"textNode","id":"LongChoicesDone","name":"LongChoicesDone","tags":null,"title":{"contentType":"embeddedPlainText","content":"You selected one of the long choices"},"text":{"contentType":"embeddedPlainText","content":"You selected one of the long choices."},"outcomeSignal":"successful"},{"type":"dafDiagnosticNode","id":"DAFWithNoTargets","name":"DAFWithNoTargets","tags":null,"title":{"contentType":"embeddedPlainText","content":"Status of resetting camera services (no target node):"},"text":{"contentType":"embeddedPlainText","content":"Please wait while we try resetting some services (no target node)..."},"outcomeSignal":null,"actionType":"dafv1","actionReference":"sigma.scon.diagaction.camera.resetcameraservices","timeoutSeconds":null,"parameters":null,"variables":null,"targets":[],"defaultTargetNodeId":null,"failedTargetNodeId":null},{"type":"choiceNode","id":"ForbiddenContentTypeStaticChoices","name":"ForbiddenContentTypeStaticChoices","tags":null,"title":{"contentType":"embeddedPlainText","content":"Static choices with forbidden content types"},"text":{"contentType":"embeddedPlainText","content":"Here are two static choices with forbidden content types."},"outcomeSignal":null,"dynamicChoices":false,"dynamicChoiceTargetNodeId":null,"question":{"contentType":"embeddedPlainText","content":"Here come the buttons:"},"staticChoices":[{"text":{"contentType":"embeddedHtml","content":"<b><i><u>Bolded, italicized, and underlined!</u></i></b>"},"raiseEventName":null,"targetNodeId":"BadContentTypeChoicesDone"},{"text":{"contentType":"dmc","content":"check-for-app-using-camera"},"raiseEventName":null,"targetNodeId":"BadContentTypeChoicesDone"}]},{"type":"textNode","id":"BadContentTypeChoicesDone","name":"BadContentTypeChoicesDone","tags":null,"title":{"contentType":"embeddedPlainText","content":"You selected one of the bad-content-type choices"},"text":{"contentType":"embeddedPlainText","content":"You selected one of the bad-content-type choices."},"outcomeSignal":"successful"}]}')},function(e){e.exports=JSON.parse('{"schemaVersion":1,"meta":{"id":"b42c7af2-7490-425d-b1ad-256b286ffe85","title":"Troubleshoot camera issues in Windows 10","description":null,"keywords":"camera; windows10","team":"E+D Amplify Get Help","lastModifiedAt":"2020-07-15T19:34Z","lastModifiedBy":"Sven Merget (smerget)","version":null,"locale":"en-US","supportAreaReference":"Windows\\\\Camera","requiresSAFDiagnostics":false,"requiredDAFDiagnostics":["dafv1"]},"initialVariables":null,"topHeadingText":{"contentType":"embeddedHtml","content":"<h1><b>Troubleshoot camera issues in Windows 10</b></h1>"},"startNodeId":"Initial","nodes":[{"type":"choiceNode","id":"Initial","name":"Initial","tags":null,"title":null,"text":null,"outcomeSignal":null,"dynamicChoices":false,"dynamicChoiceTargetNodeId":null,"question":{"contentType":"embeddedPlainText","content":"Please select the option that best describes the issue:"},"staticChoices":[{"text":{"contentType":"embeddedPlainText","content":"I get a \\"camera in use\\" error (Error:0xA00F4243)"},"raiseEventName":null,"targetNodeId":"UserGetsCameraInUseError"},{"text":{"contentType":"embeddedPlainText","content":"I get a no camera attached issue (Error: 0XA00F4244)"},"raiseEventName":null,"targetNodeId":"ResetCameraServicesDiagnostic"},{"text":{"contentType":"embeddedPlainText","content":"Microphone not available (Error: 0XA00F429C)"},"raiseEventName":null,"targetNodeId":"ResetCameraServicesDiagnostic"},{"text":{"contentType":"embeddedPlainText","content":"Camera Privacy issue (Error: 0xA00F4245, 0x80070005), or the app says privacy settings aren\'t configured or it doesn\'t have appropriate permissions"},"raiseEventName":null,"targetNodeId":"UserGetsPrivacyError"}]},{"type":"choiceNode","id":"UserGetsCameraInUseError","name":"UserGetsCameraInUseError","tags":null,"title":{"contentType":"embeddedPlainText","content":"Check for app using camera"},"text":{"contentType":"dmc","content":"check-for-app-using-camera"},"outcomeSignal":null,"dynamicChoices":false,"dynamicChoiceTargetNodeId":null,"question":{"contentType":"embeddedPlainText","content":"Did checking for an app that\'s using the camera fix your issue?"},"staticChoices":[{"text":{"contentType":"embeddedPlainText","content":"Yes"},"raiseEventName":null,"targetNodeId":"Success"},{"text":{"contentType":"embeddedPlainText","content":"No"},"raiseEventName":null,"targetNodeId":"ResetCameraServicesDiagnostic"}]},{"type":"choiceNode","id":"UserGetsPrivacyError","name":"UserGetsPrivacyError","tags":null,"title":null,"text":{"contentType":"dmc","content":"update-your-cameras-privacy-settings"},"outcomeSignal":null,"dynamicChoices":false,"dynamicChoiceTargetNodeId":null,"question":{"contentType":"embeddedPlainText","content":"Please try your camera again. Did updating your camera\'s privacy settings fix the issue?"},"staticChoices":[{"text":{"contentType":"embeddedPlainText","content":"Yes"},"raiseEventName":null,"targetNodeId":"Success"},{"text":{"contentType":"embeddedPlainText","content":"No"},"raiseEventName":null,"targetNodeId":"TryReplugOrRestartInsight"}]},{"type":"textNode","id":"Success","name":"Success","tags":null,"title":null,"text":{"contentType":"embeddedHtml","content":"<b>Glad that helped!</b>"},"outcomeSignal":"successful"},{"type":"dafDiagnosticNode","id":"ResetCameraServicesDiagnostic","name":"ResetCameraServicesDiagnostic","tags":null,"title":{"contentType":"embeddedPlainText","content":"Status of resetting camera services:"},"text":{"contentType":"embeddedPlainText","content":"Please wait while we try resetting some services..."},"outcomeSignal":null,"actionType":"dafv1","actionReference":"sigma.scon.diagaction.camera.resetcameraservices","timeoutSeconds":null,"parameters":null,"variables":null,"targets":[],"defaultTargetNodeId":"TryCameraAgain","failedTargetNodeId":"TryCameraAgain"},{"type":"choiceNode","id":"TryCameraAgain","name":"TryCameraAgain","tags":null,"title":null,"text":{"contentType":"embeddedPlainText","content":"Please try your camera again."},"outcomeSignal":null,"dynamicChoices":false,"dynamicChoiceTargetNodeId":null,"question":{"contentType":"embeddedPlainText","content":"Did resetting camera service fix your issue?"},"staticChoices":[{"text":{"contentType":"embeddedPlainText","content":"Yes"},"raiseEventName":null,"targetNodeId":"Success"},{"text":{"contentType":"embeddedPlainText","content":"No"},"raiseEventName":null,"targetNodeId":"TryReplugOrRestartInsight"}]},{"type":"choiceNode","id":"TryReplugOrRestartInsight","name":"TryReplugOrRestartInsight","tags":null,"title":null,"text":{"contentType":"dmc","content":"unplug-and-reconnect-camera"},"outcomeSignal":null,"dynamicChoices":false,"dynamicChoiceTargetNodeId":null,"question":{"contentType":"embeddedPlainText","content":"After unplugging and reconnecting your camera, does the camera work now?"},"staticChoices":[{"text":{"contentType":"embeddedPlainText","content":"Yes"},"raiseEventName":null,"targetNodeId":"Success"},{"text":{"contentType":"embeddedPlainText","content":"No"},"raiseEventName":null,"targetNodeId":"LeaveFeedbackOrTalkToAgent"}]},{"type":"choiceNode","id":"LeaveFeedbackOrTalkToAgent","name":"LeaveFeedbackOrTalkToAgent","tags":null,"title":null,"text":{"contentType":"embeddedPlainText","content":"If the issue is not resolved, please leave feedback for Microsoft about this issue, or reach out to Microsoft Support."},"outcomeSignal":"unsuccessful","dynamicChoices":false,"dynamicChoiceTargetNodeId":null,"question":null,"staticChoices":[{"text":{"contentType":"embeddedPlainText","content":"Leave Feedback for Camera"},"raiseEventName":"FeedbackHub-Camera","targetNodeId":null},{"text":{"contentType":"embeddedPlainText","content":"Talk to an agent"},"raiseEventName":"ContactSupport","targetNodeId":null}]}]}')},function(e){e.exports=JSON.parse('{"schemaVersion":"a935a446-ea86-4158-b8c3-015ec1bccf26","meta":{"id":"e7b66509-c3f8-4ba0-b645-84930b914205","title":"O365CXP_DLP_Create a DLP policy_HowTo_LindaBr","description":"Help  users setup or configure their DLP policies..","keywords":null,"team":null,"lastModifiedAt":"10/23/2020, 10:34:02 AM","lastModifiedBy":"Brook Kebede (brkebede@microsoft.com) ","version":"O365CXP_DLP_Create a DLP policy_HowTo_LindaBr","locale":"en-us","supportAreaReference":null},"initialVariables":null,"topHeadingText":null,"startNodeId":"58bc198d-608f-42c1-b3bf-b133211c5c1c","nodes":[{"type":"choiceNode","id":"58bc198d-608f-42c1-b3bf-b133211c5c1c","name":"Create a DLP through the onboarding hub","tags":"","title":null,"text":{"contentType":"embeddedHtml","content":"<p><b>Create a DLP policy</b><br><p>Data loss prevention (DLP) is available in Enterprise/Government E3/E5, Education A1/A3/A5, and the following service plans:<br>- Exchange Online Plan 2<br>- SharePoint Online Plan 2<br>- Skype for Business Online Plan 2<br><br>Here\'s how to create a DLP policy:<br>1. Select <b>Setup</b>.<br> 2. Go to <b>Privacy and compliance</b> &gt; <b>Set up data loss prevention (DLP)</b>, and then select  <a href=\\"https://go.microsoft.com/fwlink/?linkid=2109176\\">View</a>.<br>3. Select <b>Manage</b> &gt; <b>+ Create a policy</b>, fill in the required fields, and then select <b>Finish</b>.</p></p>"},"outcomeSignal":"","dynamicChoiceTargetNodeId":"","staticChoices":[{"text":{"contentType":"embeddedPlainText","content":"I\'m having problems creating DLP policies"},"raiseEventName":null,"targetNodeId":"03bdb6a9-85a8-4c2a-8ab8-4a46ec64d7b4"},{"text":{"contentType":"embeddedPlainText","content":"Show me info about Microsoft Teams policies"},"raiseEventName":null,"targetNodeId":"62aab70e-e739-4177-ab34-c6ea9f7a14e0"}],"question":{"contentType":"embeddedHtml","content":"Are you having problems with DLP policies? Or would you like more info about using DLP for Microsoft Teams?"}},{"type":"textNode","id":"03bdb6a9-85a8-4c2a-8ab8-4a46ec64d7b4","name":"Set up a DLP policy","tags":"","title":null,"text":{"contentType":"embeddedHtml","content":"<p><b>Create a DLP policy</b><br><p>OK. Alternatively, here\'s what you can do. The easiest way to create a DLP policy is to use one of the templates included in Office 365:<br>1. Go to the <a href=\\"https://go.microsoft.com/fwlink/p/?linkid=2077143\\">Office 365 Security &amp; Compliance Center</a> and select <b>+ Create a policy</b>. <br>2. Fill in the required fields, and then select <b>Finish</b>.<br><br>To learn more, see <a href=\\"https://go.microsoft.com/fwlink/?linkid=2096307\\">Create a DLP policy from a template</a> or <a href=\\"https://go.microsoft.com/fwlink/?linkid=2099826\\">Create, test, and tune a DLP policy</a>.</p></p>"},"outcomeSignal":""},{"type":"textNode","id":"62aab70e-e739-4177-ab34-c6ea9f7a14e0","name":"Teams DLP Info","tags":"","title":null,"text":{"contentType":"embeddedHtml","content":"<p><b>Learn more about using DLP for Microsoft Teams</b><br>You can set up Microsoft Teams DLP policies to prevent sensitive information from being shared through chat and channel messages. Policies can be set up to protect messages or documents that are shared.<ul><li><span>If someone tries to share sensitive data in a message with guests, or external users, the message content will be deleted within seconds depending on how you\'ve set up the policy.<br><br></span></li><li><span>If someone tries to share a document that contains sensitive data with guests, the document won\'t open for the guest.<br><b>NOTE:</b> To fully protect sensitive information in documents, you need to set up DLP policies for SharePoint and OneDrive.<br><br></span></li><li><span>The type of DLP policies you can set up is controlled by your licensing agreement with Microsoft. For more information, see <a href=\\"https://go.microsoft.com/fwlink/?linkid=2126456\\">Microsoft 365 licensing guidance for security &amp; compliance</a>.<br><br></span></li><li><span>To learn more about DLP policies, see <a href=\\"https://go.microsoft.com/fwlink/?linkid=2126457\\">Overview of DLP for Microsoft Teams</a>.</span></li></ul></p>"},"outcomeSignal":""}]}')},function(e){e.exports=JSON.parse('{"schemaVersion":"5d76054f-803c-46b2-8a7e-61e2dba01333","meta":{"id":"fde4d164-d8c6-48a7-b3e7-5ff47de39203","title":"Exchange_Litigation Hold_Howto_Lindabr","description":"Aligned more to alchemy bucket: https://alchemyportal.azurewebsites.net/IssueBucket/NewBucket?bucketid=1913","keywords":null,"team":null,"lastModifiedAt":"10/23/2020, 10:35:35 AM","lastModifiedBy":"Brook Kebede (brkebede@microsoft.com) ","version":"Exchange_Litigation Hold_Howto_Lindabr","locale":"en-us","supportAreaReference":null},"initialVariables":null,"topHeadingText":null,"startNodeId":"4bd34120-e47f-4588-b8ac-10b6512e7b86","nodes":[{"type":"choiceNode","id":"4bd34120-e47f-4588-b8ac-10b6512e7b86","name":"What\'s the difference between a litigation hold and in-place hold? ","tags":"","title":null,"text":{"contentType":"embeddedHtml","content":"<p><b>Difference between Litigation Hold and In-Place Hold</b><br>Here\'s the difference:<ul><li><span><b>Litigation Hold</b>: A user\'s entire mailbox is put on hold to retain it for legal review.</span></li><li><span><b>In-Place Hold</b>: A subset of a user\'s mailbox is put on hold to retain only certain types of email messages. You can specify what to hold by keywords, senders, recipients, start and end dates, etc. </span></li><li><span>To learn more, see <a href=\\"https://go.microsoft.com/fwlink/?linkid=2103798\\">In-Place Hold and Litigation Hold</a></span></li></ul></p>"},"outcomeSignal":"","dynamicChoiceTargetNodeId":"","staticChoices":[{"text":{"contentType":"embeddedHtml","content":"Licensing requirements"},"raiseEventName":null,"targetNodeId":"197d4db7-24d8-424e-9506-4cd255d05f38"},{"text":{"contentType":"embeddedPlainText","content":"Litigation Hold on a single mailbox"},"raiseEventName":null,"targetNodeId":"fa7c3601-5e3a-450b-af7e-25406e61da66"},{"text":{"contentType":"embeddedPlainText","content":"In-Place Hold on a single mailbox"},"raiseEventName":null,"targetNodeId":"fa23ddc2-db1e-4bd4-bdf2-cc75ebc8fac0"},{"text":{"contentType":"embeddedPlainText","content":"Litigation Hold on all mailboxes"},"raiseEventName":null,"targetNodeId":"2163a3ed-08e0-48b7-a622-958ada7bccda"},{"text":{"contentType":"embeddedPlainText","content":"Show me more options"},"raiseEventName":null,"targetNodeId":"ebbccd8b-b97e-4636-8e35-b1a2c0b5ad09"}],"question":{"contentType":"embeddedHtml","content":"OK. Please bear with me while I get smarter. Which of the following can I help you with?"}},{"type":"choiceNode","id":"ebbccd8b-b97e-4636-8e35-b1a2c0b5ad09","name":"Display more options to users","tags":"","title":null,"text":null,"outcomeSignal":"","dynamicChoiceTargetNodeId":"","staticChoices":[{"text":{"contentType":"embeddedPlainText","content":"Identify Holds on a mailbox"},"raiseEventName":null,"targetNodeId":"d7ecdde6-b09c-4002-aee0-e829a8da942d"},{"text":{"contentType":"embeddedPlainText","content":"In-Place Hold on all mailboxes"},"raiseEventName":null,"targetNodeId":"a562a687-b09c-4b65-8e6e-71b9ace18ee1"},{"text":{"contentType":"embeddedPlainText","content":"Hold on more than 10K mailboxes"},"raiseEventName":null,"targetNodeId":"0fb56d6d-dfe2-46bc-886b-51b3dff82c4e"}],"question":{"contentType":"embeddedHtml","content":"Sure, here you go:"}},{"type":"textNode","id":"fa7c3601-5e3a-450b-af7e-25406e61da66","name":"Litigation hold ","tags":"","title":null,"text":{"contentType":"embeddedHtml","content":"<p><b>Place Litigation Hold on a mailbox</b><br>The user on whose mailbox you want to place a Litigation Hold must have Exchange Online (Plan 2). You get Exchange Online (Plan 2) automatically with the E3 or E5 plans. For any other plan, buy and assign an Exchange Online Archiving license to the mailbox. Here\'s how to turn on Litigation Hold:<ol><li><span>In the admin center, go to <b>Users</b> &gt; <a href=\\"https://go.microsoft.com/fwlink/p/?linkid=834822\\">Active users</a></span></li><li><span>Select the user on whose mailbox you want to place the Litigation Hold, and in the user pane, expand <b>Mail Settings</b>.</span></li><li><span>Choose <b>Edit</b> next to <b>Litigation hold</b>, set <b>Turn on litigation hold</b> to <b>On</b>, and then select <b>Save</b>.</span></li></ol></p>"},"outcomeSignal":""},{"type":"textNode","id":"197d4db7-24d8-424e-9506-4cd255d05f38","name":"Licensing requirements for Litigation Holds","tags":"","title":null,"text":{"contentType":"embeddedHtml","content":"<p><b>Licensing requirements for Holds</b><br>Here are the licensing requirements for placing Litigation Holds or In-Place Holds on mailboxes:<ul><li><span>To apply a Litigation Hold or In-Place Hold on a user\'s mailbox, an <b>Exchange Online Plan 2</b> license needs to be assigned to the user. The E3 and E5 plans include Exchange Online 2.</span></li><li><span>If you have any other plan, buy and assign a separate <b>Exchange Online Archiving</b> license to the user.</span></li><div><img src=\\"https://o365prdfuncblob.blob.core.windows.net/answer-resources/images/20180911182758_addons.jpg\\"></div><li><span>To buy an Exchange Online Archiving license, in the admin center, go to <b>Billing</b> &gt; <b>Subscriptions</b> &gt; <b>Add-ons</b> &gt; <b>Buy add-ons</b>.</span></li></ul></p>"},"outcomeSignal":""},{"type":"textNode","id":"2163a3ed-08e0-48b7-a622-958ada7bccda","name":"Litigation hold on all mailboxes","tags":"","title":null,"text":{"contentType":"embeddedHtml","content":"<p><b>Use the Exchange Management Shell to place all mailboxes on Litigation Hold</b><br>You can only do this using PowerShell. Here\'s how:<ol><li><span>Review this article for things to consider before getting started: <a href=\\"https://go.microsoft.com/fwlink/?linkid=2104204\\">Place all mailboxes on hold</a></span></li><li><span>Connect to  <a href=\\"https://go.microsoft.com/fwlink/?linkid=2103688\\">Exchange Online PowerShell</a> or, if you\'re using multi-factor authentication (MFA), connect to <a href=\\"https://go.microsoft.com/fwlink/?linkid=2104015\\">Exchange Online PowerShell using multi-factor authentication</a></span></li><li><span>Check out this sample script: <a href=\\"https://go.microsoft.com/fwlink/?linkid=2104113\\">Place all mailboxes on Litigation Hold</a></span></li></ol></p>"},"outcomeSignal":""},{"type":"textNode","id":"a562a687-b09c-4b65-8e6e-71b9ace18ee1","name":"In-Place hold on all mailboxes","tags":"","title":null,"text":{"contentType":"embeddedHtml","content":"<p><b>Place all mailboxes on In-Place Hold</b><br>You can select up to 500 mailboxes and place them on hold from the Exchange admin center. For more than 500 mailboxes, use the Exchange Management Shell. Check out the following resources:<ul><li><span>For things to consider before you begin, see <a href=\\"https://go.microsoft.com/fwlink/?linkid=2104204\\">Place all mailboxes on hold</a></span></li><li><span>If you\'re going to use PowerShell, see <a href=\\"https://go.microsoft.com/fwlink/?linkid=2103688\\">Exchange Online PowerShell</a> or,  if you\'re using multi-factor authentication (MFA), see:<a href=\\"https://go.microsoft.com/fwlink/?linkid=2104015\\"> Exchange Online PowerShell using multi-factor authentication</a></span></li><li><span>For step-by-step instructions and a sample PowerShell script, see <a href=\\"https://go.microsoft.com/fwlink/?linkid=210399\\">Create or remove an In-Place Hold</a></span></li></ul></p>"},"outcomeSignal":""},{"type":"textNode","id":"0fb56d6d-dfe2-46bc-886b-51b3dff82c4e","name":"Hold on 10K mailboxes","tags":"","title":null,"text":{"contentType":"embeddedHtml","content":"<p><b>Place hold on more than 10K mailboxes</b><br>Here\'s some guidance: <ul><li><span>Litigation Hold: Use the Set-Mailbox cmdlet to place all mailboxes on hold. </span></li><li><span>In-Place Hold: To hold more than 10K mailboxes, use multiple In-Place Holds. You can use distribution groups to specify a maximum of 10K mailboxes on a single In-Place Hold. To place additional mailboxes on hold, you\'ll need to create additional In-Place Holds. This results in additional management overhead, though, so I recommend using a Litigation Hold. </span></li><li><span>For more guidance, see <a href=\\"https://go.microsoft.com/fwlink/?linkid=2104204\\">Place all mailboxes on hold</a></span></li></ul></p>"},"outcomeSignal":""},{"type":"textNode","id":"fa23ddc2-db1e-4bd4-bdf2-cc75ebc8fac0","name":"In place hold on 1 mailbox","tags":"","title":null,"text":{"contentType":"embeddedHtml","content":"<p><b>Create an In-Place Hold</b><br>You must be a global admin, or have Organization Management or Discovery Management role group permissions to perform these steps:<ol><li><span>In the <a href=\\"https://go.microsoft.com/fwlink/p/?linkid=834822\\">Exchange admin center</a> go to <b>Compliance management</b> &gt; <b>In-Place eDiscovery &amp; Hold</b> and select <b>New +</b>.</span></li><li><span>In the <b>New In-Place eDiscovery &amp; Hold</b> window, on the <b>Name and description</b> page, type a name for the hold and an optional description, and then click <b>Next</b>.</span></li><li><span>On the <b>Mailboxes and Public folders</b> page, select the content sources to search.</span></li><li><span>To learn more, see <a href=\\"https://go.microsoft.com/fwlink/?linkid=2103995\\">Create or remove an In-Place Hold</a></span></li></ol></p>"},"outcomeSignal":""},{"type":"textNode","id":"d7ecdde6-b09c-4002-aee0-e829a8da942d","name":"Identify Holds on a mailbox","tags":"","title":null,"text":{"contentType":"embeddedHtml","content":"<p><b>Identify Holds on a mailbox</b><br>In some instances, you may need to identify the type of Hold on a mailbox.  This includes Holds from Office 365 retention policies, In-Place Holds, Litigation Holds, etc. Here\'s how to do this:<ol><li><span>Connect to<a href=\\"https://go.microsoft.com/fwlink/?linkid=2103688\\"> EXO Powershell </a> to review the hold GUID and properties on a specific mailbox, and then type the following commandlet: <br><b>Get-Mailbox</b> username <b>| FL LitigationHoldEnabled,InPlaceHolds</b></span></li><li><span>Based on the output, use the GUID to identify the Hold.  For example, for an Office 365 retention policy Hold, use the Hold GUID in the following commandlet:<br><b>Get-RetentionCompliancePolicy</b> Hold GUID without prefix or suffix <b>-DistributionDetail  | FL Name,*Location</b></span></li><li><span>For additional guidance on identifying holds, see <a href=\\"https://go.microsoft.com/fwlink/?linkid=2103780\\">Identify a Hold on an exchange Mailbox</a></span></li></ol></p>"},"outcomeSignal":""}]}')},function(e){e.exports=JSON.parse('{"schemaVersion":"1.0","meta":{"id":"3e9b1efc-f53c-4dca-9833-1a76cde01b5c","title":"SMC Assist Sign In Flow","lastModifiedAt":"2/23/2021, 7:03:41 PM","lastModifiedBy":"piid","team":null,"supportAreaReference":null},"initialVariables":null,"topHeadingText":null,"startNodeId":"ffcb513e-6e20-47fa-8bc0-7746d28722cd","nodes":[{"type":"choicenode","id":"ffcb513e-6e20-47fa-8bc0-7746d28722cd","name":"Can User Authenticate?","tags":null,"title":null,"text":{"contentType":"embeddedhtml","content":"<p>To best support you, we&#39;ll need you to sign into your Microsoft account before connecting you to a Support Advocate.</p>\\n"},"outcomeSignal":null,"dynamicChoices":false,"dynamicChoiceTargetNodeId":null,"question":{"contentType":"embeddedplaintext","content":"Are you able to sign in to your Microsoft account?"},"staticChoices":[{"text":{"contentType":"embeddedplaintext","content":"Yes, I can sign in with my Microsoft account"},"raiseEventName":null,"targetNodeId":"1ac6bf81-22e9-4381-96ad-8e46c04f6c54"},{"text":{"contentType":"embeddedplaintext","content":"No, I forgot my Microsoft account password"},"raiseEventName":null,"targetNodeId":"f72193bf-10cb-4320-986c-9eab52bcc1b2"},{"text":{"contentType":"embeddedplaintext","content":"No, I forgot my Microsoft account username"},"raiseEventName":null,"targetNodeId":"616b8dc2-1a00-4e55-937a-e9a33954adfc"},{"text":{"contentType":"embeddedplaintext","content":"No, I don\'t have a Microsoft account"},"raiseEventName":null,"targetNodeId":"266af465-343c-4e49-a899-0302358075dc"}]},{"type":"choicenode","id":"1ac6bf81-22e9-4381-96ad-8e46c04f6c54","name":"MSA Sign in","tags":null,"title":null,"text":{"contentType":"embeddedplaintext","content":"Did you sign in with your MSA "},"outcomeSignal":null,"dynamicChoices":false,"dynamicChoiceTargetNodeId":null,"question":null,"staticChoices":[{"text":{"contentType":"embeddedplaintext","content":"Yes"},"raiseEventName":"signIn","targetNodeId":"9d22d1be-038f-460d-b3a6-310e2ddc786a"},{"text":{"contentType":"embeddedplaintext","content":"No"},"raiseEventName":null,"targetNodeId":"6216cc2d-8f08-42ec-bdd9-740a878a6e66"}]},{"type":"choicenode","id":"9d22d1be-038f-460d-b3a6-310e2ddc786a","name":"Expected Escalation","tags":null,"title":null,"text":null,"outcomeSignal":"indeterminate","dynamicChoices":false,"dynamicChoiceTargetNodeId":null,"question":{"contentType":"embeddedplaintext","content":"Did you sign in with your MSA "},"staticChoices":[{"text":{"contentType":"embeddedplaintext","content":"Contact Support"},"raiseEventName":"ContactSupport","targetNodeId":null}]},{"type":"choicenode","id":"6216cc2d-8f08-42ec-bdd9-740a878a6e66","name":"Reinforce authentication need","tags":null,"title":null,"text":{"contentType":"embeddedhtml","content":"<p>We&#39;ll need you to sign into your Microsoft account before connecting you to a Support Advocate.</p>\\n\\n<p>Signing in to your Microsoft account will make receiving support easier, and faster for you.</p>\\n\\n<p>If you only have questions about Microsoft account, <a href=\\"https://go.microsoft.com/fwlink/?linkid=2146238\\"><strong>click here to fill out a web form for Microsoft account chat</strong></a>.</p>\\n"},"outcomeSignal":null,"dynamicChoices":false,"dynamicChoiceTargetNodeId":null,"question":{"contentType":"embeddedplaintext","content":"Are you able to sign in with your Microsoft account?"},"staticChoices":[{"text":{"contentType":"embeddedplaintext","content":"No, I forgot my Microsoft account password"},"raiseEventName":null,"targetNodeId":"f72193bf-10cb-4320-986c-9eab52bcc1b2"},{"text":{"contentType":"embeddedplaintext","content":"No, I forgot my Microsoft account username"},"raiseEventName":null,"targetNodeId":"616b8dc2-1a00-4e55-937a-e9a33954adfc"},{"text":{"contentType":"embeddedplaintext","content":"No, I don\'t have a Microsoft account"},"raiseEventName":null,"targetNodeId":"266af465-343c-4e49-a899-0302358075dc"},{"text":{"contentType":"embeddedplaintext","content":"Yes"},"raiseEventName":null,"targetNodeId":"1ac6bf81-22e9-4381-96ad-8e46c04f6c54"}]},{"type":"choicenode","id":"f72193bf-10cb-4320-986c-9eab52bcc1b2","name":"Forgot Password","tags":null,"title":null,"text":{"contentType":"embeddedhtml","content":"<p>If you forgot your Microsoft account password, please <a href=\\"https://account.live.com/ResetPassword.aspx\\"><strong>click here to reset your password</strong></a>.</p>\\n\\n<p>Once you&#39;ve reset your password, come back to this window and click <strong>Yes</strong>.&nbsp;We&#39;ll ask you to sign in, select your product and your issue before providing your support options.</p>\\n\\n<p><strong>Note</strong>:&nbsp;Microsoft Support Advocates cannot reset passwords, or recover or unblock Microsoft accounts.</p>\\n"},"outcomeSignal":null,"dynamicChoices":false,"dynamicChoiceTargetNodeId":null,"question":{"contentType":"embeddedplaintext","content":"Were you able to reset your Microsoft account password?"},"staticChoices":[{"text":{"contentType":"embeddedplaintext","content":"Yes"},"raiseEventName":null,"targetNodeId":"1ac6bf81-22e9-4381-96ad-8e46c04f6c54"},{"text":{"contentType":"embeddedplaintext","content":"No"},"raiseEventName":null,"targetNodeId":"323099ee-44f4-422d-9de8-cab230932fb8"}]},{"type":"choicenode","id":"323099ee-44f4-422d-9de8-cab230932fb8","name":"Problems resetting password","tags":null,"title":null,"text":{"contentType":"embeddedhtml","content":"<p>If you had problems resetting your password, our Support Advocates may be able to assist if you have questions about the reset password steps, or&nbsp;if you have other Microsoft account related questions (as long as the problem isn&#39;t related to resetting passwords, or recovering or unblocking Microsoft accounts).</p>\\n\\n<p>If you need help with a non-Microsoft account related problem you should create a new Microsoft account as we&#39;ll need you to sign in before connecting you to a Support Advocate.</p>\\n"},"outcomeSignal":null,"dynamicChoices":false,"dynamicChoiceTargetNodeId":null,"question":{"contentType":"embeddedplaintext","content":"What would you like to do?"},"staticChoices":[{"text":{"contentType":"embeddedplaintext","content":"I\'d like to create a new Microsoft account to contact a Support Advocate"},"raiseEventName":null,"targetNodeId":"266af465-343c-4e49-a899-0302358075dc"},{"text":{"contentType":"embeddedplaintext","content":"I have Microsoft account specific questions"},"raiseEventName":null,"targetNodeId":"c1c9b062-e9a9-4ba0-80f5-a18e1bd2cf1e"}]},{"type":"choicenode","id":"266af465-343c-4e49-a899-0302358075dc","name":"No MSA","tags":null,"title":null,"text":{"contentType":"embeddedhtml","content":"<p>If you don&#39;t have a Microsoft account or need to create a new one, please <strong><a href=\\"https://signup.live.com/signup\\">click here to create a new account</a></strong>.</p>\\n\\n<p>Once you&#39;ve created a Microsoft account, come back to this window and click&nbsp;<strong>Yes</strong>&nbsp;if you need to ask another question.&nbsp;We&#39;ll ask you to sign in, select your product and your issue before providing your support options.</p>\\n\\n<p><strong>Note</strong>:&nbsp;Microsoft Support Advocates cannot reset passwords, or recover or unblock Microsoft accounts.</p>\\n"},"outcomeSignal":null,"dynamicChoices":false,"dynamicChoiceTargetNodeId":null,"question":{"contentType":"embeddedplaintext","content":"Is there another question you need help with?"},"staticChoices":[{"text":{"contentType":"embeddedplaintext","content":"Yes"},"raiseEventName":null,"targetNodeId":"1ac6bf81-22e9-4381-96ad-8e46c04f6c54"},{"text":{"contentType":"embeddedplaintext","content":"No"},"raiseEventName":null,"targetNodeId":"89d4c0b0-b51f-48dc-9c40-c1a66918238f"}]},{"type":"choicenode","id":"89d4c0b0-b51f-48dc-9c40-c1a66918238f","name":"No other help needed","tags":null,"title":null,"text":null,"outcomeSignal":null,"dynamicChoices":false,"dynamicChoiceTargetNodeId":null,"question":{"contentType":"embeddedplaintext","content":"Great, glad that fixed the problem."},"staticChoices":[]},{"type":"textnode","id":"c1c9b062-e9a9-4ba0-80f5-a18e1bd2cf1e","name":"MSA Unauthenticated Chat","tags":null,"title":null,"text":{"contentType":"embeddedhtml","content":"<p>If you have Microsoft account related questions,&nbsp;<strong><a href=\\"https://go.microsoft.com/fwlink/?linkid=2146238\\" target=\\"_blank\\">click here to fill out a web form for Microsoft account chat</a></strong>.</p>\\n"},"outcomeSignal":"indeterminate"},{"type":"choicenode","id":"616b8dc2-1a00-4e55-937a-e9a33954adfc","name":"Forgot Username","tags":null,"title":null,"text":{"contentType":"embeddedhtml","content":"<p>If you forgot your Microsoft account username, please <a href=\\"https://account.live.com/username/recover\\"><b>click here to recover your username</b></a>.</p>\\n\\n<p>Once you&#39;ve recovered your username, come back to this window and click&nbsp;<strong>Yes</strong>.&nbsp;We&#39;ll ask you to sign in, select your product and your issue before providing your support options.</p>\\n\\n<p><strong>Note</strong>:&nbsp;Microsoft Support Advocates cannot reset passwords, or recover or unblock Microsoft accounts.</p>\\n"},"outcomeSignal":null,"dynamicChoices":false,"dynamicChoiceTargetNodeId":null,"question":{"contentType":"embeddedplaintext","content":"Were you able to recover your Microsoft account username?"},"staticChoices":[{"text":{"contentType":"embeddedplaintext","content":"Yes"},"raiseEventName":null,"targetNodeId":"1ac6bf81-22e9-4381-96ad-8e46c04f6c54"},{"text":{"contentType":"embeddedplaintext","content":"No"},"raiseEventName":null,"targetNodeId":"825c66ec-4367-4497-9fb9-567772d8eb19"}]},{"type":"choicenode","id":"825c66ec-4367-4497-9fb9-567772d8eb19","name":"Problems recovering username","tags":null,"title":null,"text":{"contentType":"embeddedhtml","content":"<p>If you had problems recovering your username, our Support Advocates may be able to assist if you have questions about the recover username steps, or&nbsp;if you have other Microsoft account related questions (as long as the problem isn&#39;t related to resetting passwords, or recovering or unblocking Microsoft accounts).</p>\\n\\n<p>If you need help with a non-Microsoft account related problem you should create a new Microsoft account as we&#39;ll need you to sign in before connecting you to a Support Advocate.</p>\\n"},"outcomeSignal":null,"dynamicChoices":false,"dynamicChoiceTargetNodeId":null,"question":{"contentType":"embeddedplaintext","content":"What would you like to do?"},"staticChoices":[{"text":{"contentType":"embeddedplaintext","content":"I\'d like to create a new Microsoft account to contact a Support Advocate"},"raiseEventName":null,"targetNodeId":"266af465-343c-4e49-a899-0302358075dc"},{"text":{"contentType":"embeddedplaintext","content":"I have Microsoft account specific questions"},"raiseEventName":null,"targetNodeId":"c1c9b062-e9a9-4ba0-80f5-a18e1bd2cf1e"}]}]}')},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var o=n(43);function r(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];for(var r=[],i=0,a=t;i<a.length;i++){var s=a[i];s&&r.push("function"==typeof s?s(e):s)}return 1===r.length?r[0]:r.length?o.a.apply(void 0,r):{}}},function(e,t,n){"use strict";n.d(t,"b",(function(){return s})),n.d(t,"a",(function(){return c}));var o=n(43),r=n(60),i=n(32),a=n(28);function s(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return c(e,Object(i.a)())}function c(e,t){var n,i,s={subComponentStyles:{}};if(!e[0]&&e.length<=1)return{subComponentStyles:{}};var c=o.a.apply(void 0,e),l=[];for(var u in c)if(c.hasOwnProperty(u)){if("subComponentStyles"===u){s.subComponentStyles=c.subComponentStyles||{};continue}var d=c[u],p=Object(r.a)(d),h=p.classes,f=p.objects;(null===(n=f)||void 0===n?void 0:n.length)?(b=Object(a.d)(t||{},{displayName:u},f))&&(l.push(b),s[u]=h.concat([b.className]).join(" ")):s[u]=h.join(" ")}for(var m=0,g=l;m<g.length;m++){var b;(b=g[m])&&Object(a.a)(b,null===(i=t)||void 0===i?void 0:i.specificityMultiplier)}return s}},function(e,t,n){"use strict";n.d(t,"b",(function(){return a})),n.d(t,"a",(function(){return s}));var o=n(60),r=n(32),i=n(28);function a(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return s(e,Object(r.a)())}function s(e,t){var n=e instanceof Array?e:[e],r=Object(o.a)(n),a=r.classes,s=r.objects;return s.length&&a.push(Object(i.c)(t||{},s)),a.join(" ")}},,,,,,,,,function(e,t,n){"use strict";function o(e,t){var n=e,o=t;n._virtual||(n._virtual={children:[]});var r=n._virtual.parent;if(r&&r!==t){var i=r._virtual.children.indexOf(n);i>-1&&r._virtual.children.splice(i,1)}n._virtual.parent=o||void 0,o&&(o._virtual||(o._virtual={children:[]}),o._virtual.children.push(n))}n.d(t,"a",(function(){return o}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var o=n(62),r=n(83);function i(e,t){var n=Object(o.a)(e,(function(e){return t===e||e.hasAttribute(r.a)}));return null!==n&&n.hasAttribute(r.a)}}])},module.exports=t(__webpack_require__(0),__webpack_require__(67))},function(e,t,n){"use strict";var o=this&&this.__extends||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);function o(){this.constructor=e}e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},r=n(1),i=n(53),a=n(17),s=n(12),c=function(e){function t(t,n){e.call(this),this.array=t,this.scheduler=n,n||1!==t.length||(this._isScalar=!0,this.value=t[0])}return o(t,e),t.create=function(e,n){return new t(e,n)},t.of=function(){for(var e=[],n=0;n<arguments.length;n++)e[n-0]=arguments[n];var o=e[e.length-1];s.isScheduler(o)?e.pop():o=null;var r=e.length;return r>1?new t(e,o):1===r?new i.ScalarObservable(e[0],o):new a.EmptyObservable(o)},t.dispatch=function(e){var t=e.array,n=e.index,o=e.count,r=e.subscriber;n>=o?r.complete():(r.next(t[n]),r.closed||(e.index=n+1,this.schedule(e)))},t.prototype._subscribe=function(e){var n=this.array,o=n.length,r=this.scheduler;if(r)return r.schedule(t.dispatch,0,{array:n,index:0,count:o,subscriber:e});for(var i=0;i<o&&!e.closed;i++)e.next(n[i]);e.complete()},t}(r.Observable);t.ArrayObservable=c},function(e,t,n){"use strict";var o=this&&this.__extends||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);function o(){this.constructor=e}e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},r=function(e){function t(t){e.call(this),this.scheduler=t}return o(t,e),t.create=function(e){return new t(e)},t.dispatch=function(e){e.subscriber.complete()},t.prototype._subscribe=function(e){var n=this.scheduler;if(n)return n.schedule(t.dispatch,0,{subscriber:e});e.complete()},t}(n(1).Observable);t.EmptyObservable=r},function(e,t,n){"use strict";var o=n(210),r=n(212);function i(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}t.parse=v,t.resolve=function(e,t){return v(e,!1,!0).resolve(t)},t.resolveObject=function(e,t){return e?v(e,!1,!0).resolveObject(t):t},t.format=function(e){r.isString(e)&&(e=v(e));return e instanceof i?e.format():i.prototype.format.call(e)},t.Url=i;var a=/^([a-z0-9.+-]+:)/i,s=/:[0-9]*$/,c=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,l=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),u=["'"].concat(l),d=["%","/","?",";","#"].concat(u),p=["/","?","#"],h=/^[+a-z0-9A-Z_-]{0,63}$/,f=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,m={javascript:!0,"javascript:":!0},g={javascript:!0,"javascript:":!0},b={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},y=n(69);function v(e,t,n){if(e&&r.isObject(e)&&e instanceof i)return e;var o=new i;return o.parse(e,t,n),o}i.prototype.parse=function(e,t,n){if(!r.isString(e))throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var i=e.indexOf("?"),s=-1!==i&&i<e.indexOf("#")?"?":"#",l=e.split(s);l[0]=l[0].replace(/\\/g,"/");var v=e=l.join(s);if(v=v.trim(),!n&&1===e.split("#").length){var _=c.exec(v);if(_)return this.path=v,this.href=v,this.pathname=_[1],_[2]?(this.search=_[2],this.query=t?y.parse(this.search.substr(1)):this.search.substr(1)):t&&(this.search="",this.query={}),this}var S=a.exec(v);if(S){var C=(S=S[0]).toLowerCase();this.protocol=C,v=v.substr(S.length)}if(n||S||v.match(/^\/\/[^@\/]+@[^@\/]+/)){var x="//"===v.substr(0,2);!x||S&&g[S]||(v=v.substr(2),this.slashes=!0)}if(!g[S]&&(x||S&&!b[S])){for(var w,T,k=-1,I=0;I<p.length;I++){-1!==(O=v.indexOf(p[I]))&&(-1===k||O<k)&&(k=O)}-1!==(T=-1===k?v.lastIndexOf("@"):v.lastIndexOf("@",k))&&(w=v.slice(0,T),v=v.slice(T+1),this.auth=decodeURIComponent(w)),k=-1;for(I=0;I<d.length;I++){var O;-1!==(O=v.indexOf(d[I]))&&(-1===k||O<k)&&(k=O)}-1===k&&(k=v.length),this.host=v.slice(0,k),v=v.slice(k),this.parseHost(),this.hostname=this.hostname||"";var E="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!E)for(var N=this.hostname.split(/\./),P=(I=0,N.length);I<P;I++){var D=N[I];if(D&&!D.match(h)){for(var A="",R=0,M=D.length;R<M;R++)D.charCodeAt(R)>127?A+="x":A+=D[R];if(!A.match(h)){var F=N.slice(0,I),j=N.slice(I+1),L=D.match(f);L&&(F.push(L[1]),j.unshift(L[2])),j.length&&(v="/"+j.join(".")+v),this.hostname=F.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),E||(this.hostname=o.toASCII(this.hostname));var H=this.port?":"+this.port:"",B=this.hostname||"";this.host=B+H,this.href+=this.host,E&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==v[0]&&(v="/"+v))}if(!m[C])for(I=0,P=u.length;I<P;I++){var z=u[I];if(-1!==v.indexOf(z)){var U=encodeURIComponent(z);U===z&&(U=escape(z)),v=v.split(z).join(U)}}var V=v.indexOf("#");-1!==V&&(this.hash=v.substr(V),v=v.slice(0,V));var W=v.indexOf("?");if(-1!==W?(this.search=v.substr(W),this.query=v.substr(W+1),t&&(this.query=y.parse(this.query)),v=v.slice(0,W)):t&&(this.search="",this.query={}),v&&(this.pathname=v),b[C]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){H=this.pathname||"";var q=this.search||"";this.path=H+q}return this.href=this.format(),this},i.prototype.format=function(){var e=this.auth||"";e&&(e=(e=encodeURIComponent(e)).replace(/%3A/i,":"),e+="@");var t=this.protocol||"",n=this.pathname||"",o=this.hash||"",i=!1,a="";this.host?i=e+this.host:this.hostname&&(i=e+(-1===this.hostname.indexOf(":")?this.hostname:"["+this.hostname+"]"),this.port&&(i+=":"+this.port)),this.query&&r.isObject(this.query)&&Object.keys(this.query).length&&(a=y.stringify(this.query));var s=this.search||a&&"?"+a||"";return t&&":"!==t.substr(-1)&&(t+=":"),this.slashes||(!t||b[t])&&!1!==i?(i="//"+(i||""),n&&"/"!==n.charAt(0)&&(n="/"+n)):i||(i=""),o&&"#"!==o.charAt(0)&&(o="#"+o),s&&"?"!==s.charAt(0)&&(s="?"+s),t+i+(n=n.replace(/[?#]/g,(function(e){return encodeURIComponent(e)})))+(s=s.replace("#","%23"))+o},i.prototype.resolve=function(e){return this.resolveObject(v(e,!1,!0)).format()},i.prototype.resolveObject=function(e){if(r.isString(e)){var t=new i;t.parse(e,!1,!0),e=t}for(var n=new i,o=Object.keys(this),a=0;a<o.length;a++){var s=o[a];n[s]=this[s]}if(n.hash=e.hash,""===e.href)return n.href=n.format(),n;if(e.slashes&&!e.protocol){for(var c=Object.keys(e),l=0;l<c.length;l++){var u=c[l];"protocol"!==u&&(n[u]=e[u])}return b[n.protocol]&&n.hostname&&!n.pathname&&(n.path=n.pathname="/"),n.href=n.format(),n}if(e.protocol&&e.protocol!==n.protocol){if(!b[e.protocol]){for(var d=Object.keys(e),p=0;p<d.length;p++){var h=d[p];n[h]=e[h]}return n.href=n.format(),n}if(n.protocol=e.protocol,e.host||g[e.protocol])n.pathname=e.pathname;else{for(var f=(e.pathname||"").split("/");f.length&&!(e.host=f.shift()););e.host||(e.host=""),e.hostname||(e.hostname=""),""!==f[0]&&f.unshift(""),f.length<2&&f.unshift(""),n.pathname=f.join("/")}if(n.search=e.search,n.query=e.query,n.host=e.host||"",n.auth=e.auth,n.hostname=e.hostname||e.host,n.port=e.port,n.pathname||n.search){var m=n.pathname||"",y=n.search||"";n.path=m+y}return n.slashes=n.slashes||e.slashes,n.href=n.format(),n}var v=n.pathname&&"/"===n.pathname.charAt(0),_=e.host||e.pathname&&"/"===e.pathname.charAt(0),S=_||v||n.host&&e.pathname,C=S,x=n.pathname&&n.pathname.split("/")||[],w=(f=e.pathname&&e.pathname.split("/")||[],n.protocol&&!b[n.protocol]);if(w&&(n.hostname="",n.port=null,n.host&&(""===x[0]?x[0]=n.host:x.unshift(n.host)),n.host="",e.protocol&&(e.hostname=null,e.port=null,e.host&&(""===f[0]?f[0]=e.host:f.unshift(e.host)),e.host=null),S=S&&(""===f[0]||""===x[0])),_)n.host=e.host||""===e.host?e.host:n.host,n.hostname=e.hostname||""===e.hostname?e.hostname:n.hostname,n.search=e.search,n.query=e.query,x=f;else if(f.length)x||(x=[]),x.pop(),x=x.concat(f),n.search=e.search,n.query=e.query;else if(!r.isNullOrUndefined(e.search)){if(w)n.hostname=n.host=x.shift(),(E=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=E.shift(),n.host=n.hostname=E.shift());return n.search=e.search,n.query=e.query,r.isNull(n.pathname)&&r.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.href=n.format(),n}if(!x.length)return n.pathname=null,n.search?n.path="/"+n.search:n.path=null,n.href=n.format(),n;for(var T=x.slice(-1)[0],k=(n.host||e.host||x.length>1)&&("."===T||".."===T)||""===T,I=0,O=x.length;O>=0;O--)"."===(T=x[O])?x.splice(O,1):".."===T?(x.splice(O,1),I++):I&&(x.splice(O,1),I--);if(!S&&!C)for(;I--;I)x.unshift("..");!S||""===x[0]||x[0]&&"/"===x[0].charAt(0)||x.unshift(""),k&&"/"!==x.join("/").substr(-1)&&x.push("");var E,N=""===x[0]||x[0]&&"/"===x[0].charAt(0);w&&(n.hostname=n.host=N?"":x.length?x.shift():"",(E=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=E.shift(),n.host=n.hostname=E.shift()));return(S=S||n.host&&x.length)&&!N&&x.unshift(""),x.length?n.pathname=x.join("/"):(n.pathname=null,n.path=null),r.isNull(n.pathname)&&r.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.auth=e.auth||n.auth,n.slashes=n.slashes||e.slashes,n.href=n.format(),n},i.prototype.parseHost=function(){var e=this.host,t=s.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)}},function(e,t,n){"use strict";var o=n(146);t.multicast=function(e,t){return function(n){var i;if(i="function"==typeof e?e:function(){return e},"function"==typeof t)return n.lift(new r(i,t));var a=Object.create(n,o.connectableObservableDescriptor);return a.source=n,a.subjectFactory=i,a}};var r=function(){function e(e,t){this.subjectFactory=e,this.selector=t}return e.prototype.call=function(e,t){var n=this.selector,o=this.subjectFactory(),r=n(o).subscribe(e);return r.add(t.subscribe(o)),r},e}();t.MulticastOperator=r},function(e,t,n){"use strict";var o=n(1),r=n(16),i=n(12),a=n(37);t.merge=function(){for(var e=[],t=0;t<arguments.length;t++)e[t-0]=arguments[t];var n=Number.POSITIVE_INFINITY,s=null,c=e[e.length-1];return i.isScheduler(c)?(s=e.pop(),e.length>1&&"number"==typeof e[e.length-1]&&(n=e.pop())):"number"==typeof c&&(n=e.pop()),null===s&&1===e.length&&e[0]instanceof o.Observable?e[0]:a.mergeAll(n)(new r.ArrayObservable(e,s))}},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){"use strict";var o=this&&this.__extends||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);function o(){this.constructor=e}e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},r=n(2);t.map=function(e,t){return function(n){if("function"!=typeof e)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return n.lift(new i(e,t))}};var i=function(){function e(e,t){this.project=e,this.thisArg=t}return e.prototype.call=function(e,t){return t.subscribe(new a(e,this.project,this.thisArg))},e}();t.MapOperator=i;var a=function(e){function t(t,n,o){e.call(this,t),this.project=n,this.count=0,this.thisArg=o||this}return o(t,e),t.prototype._next=function(e){var t;try{t=this.project.call(this.thisArg,e,this.count++)}catch(e){return void this.destination.error(e)}this.destination.next(t)},t}(r.Subscriber)},function(e,t,n){"use strict";var o=n(10);function r(e){var t=e.Symbol;if("function"==typeof t)return t.iterator||(t.iterator=t("iterator polyfill")),t.iterator;var n=e.Set;if(n&&"function"==typeof(new n)["@@iterator"])return"@@iterator";var o=e.Map;if(o)for(var r=Object.getOwnPropertyNames(o.prototype),i=0;i<r.length;++i){var a=r[i];if("entries"!==a&&"size"!==a&&o.prototype[a]===o.prototype.entries)return a}return"@@iterator"}t.symbolIteratorPonyfill=r,t.iterator=r(o.root),t.$$iterator=t.iterator},function(e,t,n){"use strict";var o=n(1),r=function(){function e(e,t,n){this.kind=e,this.value=t,this.error=n,this.hasValue="N"===e}return e.prototype.observe=function(e){switch(this.kind){case"N":return e.next&&e.next(this.value);case"E":return e.error&&e.error(this.error);case"C":return e.complete&&e.complete()}},e.prototype.do=function(e,t,n){switch(this.kind){case"N":return e&&e(this.value);case"E":return t&&t(this.error);case"C":return n&&n()}},e.prototype.accept=function(e,t,n){return e&&"function"==typeof e.next?this.observe(e):this.do(e,t,n)},e.prototype.toObservable=function(){switch(this.kind){case"N":return o.Observable.of(this.value);case"E":return o.Observable.throw(this.error);case"C":return o.Observable.empty()}throw new Error("unexpected notification kind value")},e.createNext=function(t){return void 0!==t?new e("N",t):e.undefinedValueNotification},e.createError=function(t){return new e("E",void 0,t)},e.createComplete=function(){return e.completeNotification},e.completeNotification=new e("C"),e.undefinedValueNotification=new e("N",void 0),e}();t.Notification=r},function(e,t,n){"use strict";var o=this&&this.__extends||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);function o(){this.constructor=e}e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},r=n(4),i=n(3);t.mergeMap=function(e,t,n){return void 0===n&&(n=Number.POSITIVE_INFINITY),function(o){return"number"==typeof t&&(n=t,t=null),o.lift(new a(e,t,n))}};var a=function(){function e(e,t,n){void 0===n&&(n=Number.POSITIVE_INFINITY),this.project=e,this.resultSelector=t,this.concurrent=n}return e.prototype.call=function(e,t){return t.subscribe(new s(e,this.project,this.resultSelector,this.concurrent))},e}();t.MergeMapOperator=a;var s=function(e){function t(t,n,o,r){void 0===r&&(r=Number.POSITIVE_INFINITY),e.call(this,t),this.project=n,this.resultSelector=o,this.concurrent=r,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}return o(t,e),t.prototype._next=function(e){this.active<this.concurrent?this._tryNext(e):this.buffer.push(e)},t.prototype._tryNext=function(e){var t,n=this.index++;try{t=this.project(e,n)}catch(e){return void this.destination.error(e)}this.active++,this._innerSub(t,e,n)},t.prototype._innerSub=function(e,t,n){this.add(r.subscribeToResult(this,e,t,n))},t.prototype._complete=function(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete()},t.prototype.notifyNext=function(e,t,n,o,r){this.resultSelector?this._notifyResultSelector(e,t,n,o):this.destination.next(t)},t.prototype._notifyResultSelector=function(e,t,n,o){var r;try{r=this.resultSelector(e,t,n,o)}catch(e){return void this.destination.error(e)}this.destination.next(r)},t.prototype.notifyComplete=function(e){var t=this.buffer;this.remove(e),this.active--,t.length>0?this._next(t.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()},t}(i.OuterSubscriber);t.MergeMapSubscriber=s},function(e,t,n){"use strict";var o=n(13);t.isNumeric=function(e){return!o.isArray(e)&&e-parseFloat(e)+1>=0}},function(e,t,n){"use strict";var o=this&&this.__extends||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);function o(){this.constructor=e}e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},r=n(10),i=function(e){function t(t,n){e.call(this,t,n),this.scheduler=t,this.pending=!1,this.work=n}return o(t,e),t.prototype.schedule=function(e,t){if(void 0===t&&(t=0),this.closed)return this;this.state=e,this.pending=!0;var n=this.id,o=this.scheduler;return null!=n&&(this.id=this.recycleAsyncId(o,n,t)),this.delay=t,this.id=this.id||this.requestAsyncId(o,this.id,t),this},t.prototype.requestAsyncId=function(e,t,n){return void 0===n&&(n=0),r.root.setInterval(e.flush.bind(e,this),n)},t.prototype.recycleAsyncId=function(e,t,n){if(void 0===n&&(n=0),null!==n&&this.delay===n&&!1===this.pending)return t;r.root.clearInterval(t)},t.prototype.execute=function(e,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var n=this._execute(e,t);if(n)return n;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))},t.prototype._execute=function(e,t){var n=!1,o=void 0;try{this.work(e)}catch(e){n=!0,o=!!e&&e||new Error(e)}if(n)return this.unsubscribe(),o},t.prototype._unsubscribe=function(){var e=this.id,t=this.scheduler,n=t.actions,o=n.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==o&&n.splice(o,1),null!=e&&(this.id=this.recycleAsyncId(t,e,null)),this.delay=null},t}(n(229).Action);t.AsyncAction=i},function(e,t,n){"use strict";var o=this&&this.__extends||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);function o(){this.constructor=e}e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},r=function(e){function t(){e.apply(this,arguments),this.actions=[],this.active=!1,this.scheduled=void 0}return o(t,e),t.prototype.flush=function(e){var t=this.actions;if(this.active)t.push(e);else{var n;this.active=!0;do{if(n=e.execute(e.state,e.delay))break}while(e=t.shift());if(this.active=!1,n){for(;e=t.shift();)e.unsubscribe();throw n}}},t}(n(230).Scheduler);t.AsyncScheduler=r},function(e,t,n){"use strict";var o=n(12),r=n(45),i=n(46),a=n(55);t.concat=function(){for(var e=[],t=0;t<arguments.length;t++)e[t-0]=arguments[t];return 1===e.length||2===e.length&&o.isScheduler(e[1])?i.from(e[0]):a.concatAll()(r.of.apply(void 0,e))}},function(e,t,n){"use strict";var o=this&&this.__extends||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);function o(){this.constructor=e}e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},r=function(e){function t(){var t=e.call(this,"argument out of range");this.name=t.name="ArgumentOutOfRangeError",this.stack=t.stack,this.message=t.message}return o(t,e),t}(Error);t.ArgumentOutOfRangeError=r},function(e,t,n){"use strict";var o=n(63),r=n(64),i=n(59),a=n(50);t.reduce=function(e,t){return arguments.length>=2?function(n){return a.pipe(o.scan(e,t),r.takeLast(1),i.defaultIfEmpty(t))(n)}:function(t){return a.pipe(o.scan((function(t,n,o){return e(t,n,o+1)})),r.takeLast(1))(t)}}},function(e,t,n){"use strict";t.isFunction=function(e){return"function"==typeof e}},function(e,t,n){"use strict";var o=n(10).root.Symbol;t.rxSubscriber="function"==typeof o&&"function"==typeof o.for?o.for("rxSubscriber"):"@@rxSubscriber",t.$$rxSubscriber=t.rxSubscriber},function(e,t,n){"use strict";var o=n(10);function r(e){var t,n=e.Symbol;return"function"==typeof n?n.observable?t=n.observable:(t=n("observable"),n.observable=t):t="@@observable",t}t.getSymbolObservable=r,t.observable=r(o.root),t.$$observable=t.observable},function(e,t,n){"use strict";var o=this&&this.__extends||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);function o(){this.constructor=e}e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},r=function(e){function t(){var t=e.call(this,"object unsubscribed");this.name=t.name="ObjectUnsubscribedError",this.stack=t.stack,this.message=t.message}return o(t,e),t}(Error);t.ObjectUnsubscribedError=r},function(e,t,n){"use strict";var o=this&&this.__extends||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);function o(){this.constructor=e}e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},r=n(2),i=n(24);t.observeOn=function(e,t){return void 0===t&&(t=0),function(n){return n.lift(new a(e,t))}};var a=function(){function e(e,t){void 0===t&&(t=0),this.scheduler=e,this.delay=t}return e.prototype.call=function(e,t){return t.subscribe(new s(e,this.scheduler,this.delay))},e}();t.ObserveOnOperator=a;var s=function(e){function t(t,n,o){void 0===o&&(o=0),e.call(this,t),this.scheduler=n,this.delay=o}return o(t,e),t.dispatch=function(e){var t=e.notification,n=e.destination;t.observe(n),this.unsubscribe()},t.prototype.scheduleMessage=function(e){this.add(this.scheduler.schedule(t.dispatch,this.delay,new c(e,this.destination)))},t.prototype._next=function(e){this.scheduleMessage(i.Notification.createNext(e))},t.prototype._error=function(e){this.scheduleMessage(i.Notification.createError(e))},t.prototype._complete=function(){this.scheduleMessage(i.Notification.createComplete())},t}(r.Subscriber);t.ObserveOnSubscriber=s;var c=function(e,t){this.notification=e,this.destination=t};t.ObserveOnMessage=c},function(e,t,n){"use strict";var o=n(25),r=n(84);t.mergeAll=function(e){return void 0===e&&(e=Number.POSITIVE_INFINITY),o.mergeMap(r.identity,null,e)}},function(e,t,n){"use strict";var o=this&&this.__extends||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);function o(){this.constructor=e}e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},r=n(6),i=n(7),a=function(e){function t(){e.apply(this,arguments),this.value=null,this.hasNext=!1,this.hasCompleted=!1}return o(t,e),t.prototype._subscribe=function(t){return this.hasError?(t.error(this.thrownError),i.Subscription.EMPTY):this.hasCompleted&&this.hasNext?(t.next(this.value),t.complete(),i.Subscription.EMPTY):e.prototype._subscribe.call(this,t)},t.prototype.next=function(e){this.hasCompleted||(this.value=e,this.hasNext=!0)},t.prototype.error=function(t){this.hasCompleted||e.prototype.error.call(this,t)},t.prototype.complete=function(){this.hasCompleted=!0,this.hasNext&&e.prototype.next.call(this,this.value),e.prototype.complete.call(this)},t}(r.Subject);t.AsyncSubject=a},function(e,t,n){"use strict";var o=this&&this.__extends||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);function o(){this.constructor=e}e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},r=n(16),i=n(13),a=n(3),s=n(4),c={};t.combineLatest=function(){for(var e=[],t=0;t<arguments.length;t++)e[t-0]=arguments[t];var n=null;return"function"==typeof e[e.length-1]&&(n=e.pop()),1===e.length&&i.isArray(e[0])&&(e=e[0].slice()),function(t){return t.lift.call(new r.ArrayObservable([t].concat(e)),new l(n))}};var l=function(){function e(e){this.project=e}return e.prototype.call=function(e,t){return t.subscribe(new u(e,this.project))},e}();t.CombineLatestOperator=l;var u=function(e){function t(t,n){e.call(this,t),this.project=n,this.active=0,this.values=[],this.observables=[]}return o(t,e),t.prototype._next=function(e){this.values.push(c),this.observables.push(e)},t.prototype._complete=function(){var e=this.observables,t=e.length;if(0===t)this.destination.complete();else{this.active=t,this.toRespond=t;for(var n=0;n<t;n++){var o=e[n];this.add(s.subscribeToResult(this,o,o,n))}}},t.prototype.notifyComplete=function(e){0==(this.active-=1)&&this.destination.complete()},t.prototype.notifyNext=function(e,t,n,o,r){var i=this.values,a=i[n],s=this.toRespond?a===c?--this.toRespond:this.toRespond:0;i[n]=t,0===s&&(this.project?this._tryProject(i):this.destination.next(i.slice()))},t.prototype._tryProject=function(e){var t;try{t=this.project.apply(this,e)}catch(e){return void this.destination.error(e)}this.destination.next(t)},t}(a.OuterSubscriber);t.CombineLatestSubscriber=u},function(e,t,n){"use strict";t.isDate=function(e){return e instanceof Date&&!isNaN(+e)}},function(e,t,n){"use strict";var o=this&&this.__extends||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);function o(){this.constructor=e}e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},r=n(16),i=n(13),a=n(2),s=n(3),c=n(4),l=n(23);function u(){for(var e=[],t=0;t<arguments.length;t++)e[t-0]=arguments[t];var n=e[e.length-1];return"function"==typeof n&&e.pop(),new r.ArrayObservable(e).lift(new d(n))}t.zip=function(){for(var e=[],t=0;t<arguments.length;t++)e[t-0]=arguments[t];return function(t){return t.lift.call(u.apply(void 0,[t].concat(e)))}},t.zipStatic=u;var d=function(){function e(e){this.project=e}return e.prototype.call=function(e,t){return t.subscribe(new p(e,this.project))},e}();t.ZipOperator=d;var p=function(e){function t(t,n,o){void 0===o&&(o=Object.create(null)),e.call(this,t),this.iterators=[],this.active=0,this.project="function"==typeof n?n:null,this.values=o}return o(t,e),t.prototype._next=function(e){var t=this.iterators;i.isArray(e)?t.push(new f(e)):"function"==typeof e[l.iterator]?t.push(new h(e[l.iterator]())):t.push(new m(this.destination,this,e))},t.prototype._complete=function(){var e=this.iterators,t=e.length;if(0!==t){this.active=t;for(var n=0;n<t;n++){var o=e[n];o.stillUnsubscribed?this.add(o.subscribe(o,n)):this.active--}}else this.destination.complete()},t.prototype.notifyInactive=function(){this.active--,0===this.active&&this.destination.complete()},t.prototype.checkIterators=function(){for(var e=this.iterators,t=e.length,n=this.destination,o=0;o<t;o++){if("function"==typeof(a=e[o]).hasValue&&!a.hasValue())return}var r=!1,i=[];for(o=0;o<t;o++){var a,s=(a=e[o]).next();if(a.hasCompleted()&&(r=!0),s.done)return void n.complete();i.push(s.value)}this.project?this._tryProject(i):n.next(i),r&&n.complete()},t.prototype._tryProject=function(e){var t;try{t=this.project.apply(this,e)}catch(e){return void this.destination.error(e)}this.destination.next(t)},t}(a.Subscriber);t.ZipSubscriber=p;var h=function(){function e(e){this.iterator=e,this.nextResult=e.next()}return e.prototype.hasValue=function(){return!0},e.prototype.next=function(){var e=this.nextResult;return this.nextResult=this.iterator.next(),e},e.prototype.hasCompleted=function(){var e=this.nextResult;return e&&e.done},e}(),f=function(){function e(e){this.array=e,this.index=0,this.length=0,this.length=e.length}return e.prototype[l.iterator]=function(){return this},e.prototype.next=function(e){var t=this.index++,n=this.array;return t<this.length?{value:n[t],done:!1}:{value:null,done:!0}},e.prototype.hasValue=function(){return this.array.length>this.index},e.prototype.hasCompleted=function(){return this.array.length===this.index},e}(),m=function(e){function t(t,n,o){e.call(this,t),this.parent=n,this.observable=o,this.stillUnsubscribed=!0,this.buffer=[],this.isComplete=!1}return o(t,e),t.prototype[l.iterator]=function(){return this},t.prototype.next=function(){var e=this.buffer;return 0===e.length&&this.isComplete?{value:null,done:!0}:{value:e.shift(),done:!1}},t.prototype.hasValue=function(){return this.buffer.length>0},t.prototype.hasCompleted=function(){return 0===this.buffer.length&&this.isComplete},t.prototype.notifyComplete=function(){this.buffer.length>0?(this.isComplete=!0,this.parent.notifyInactive()):this.destination.complete()},t.prototype.notifyNext=function(e,t,n,o,r){this.buffer.push(t),this.parent.checkIterators()},t.prototype.subscribe=function(e,t){return c.subscribeToResult(this,this.observable,this,t)},t}(s.OuterSubscriber)},function(e,t,n){"use strict";var o=this&&this.__extends||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);function o(){this.constructor=e}e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},r=n(6),i=n(108),a=n(7),s=n(36),c=n(35),l=n(79),u=function(e){function t(t,n,o){void 0===t&&(t=Number.POSITIVE_INFINITY),void 0===n&&(n=Number.POSITIVE_INFINITY),e.call(this),this.scheduler=o,this._events=[],this._bufferSize=t<1?1:t,this._windowTime=n<1?1:n}return o(t,e),t.prototype.next=function(t){var n=this._getNow();this._events.push(new d(n,t)),this._trimBufferThenGetEvents(),e.prototype.next.call(this,t)},t.prototype._subscribe=function(e){var t,n=this._trimBufferThenGetEvents(),o=this.scheduler;if(this.closed)throw new c.ObjectUnsubscribedError;this.hasError||this.isStopped?t=a.Subscription.EMPTY:(this.observers.push(e),t=new l.SubjectSubscription(this,e)),o&&e.add(e=new s.ObserveOnSubscriber(e,o));for(var r=n.length,i=0;i<r&&!e.closed;i++)e.next(n[i].value);return this.hasError?e.error(this.thrownError):this.isStopped&&e.complete(),t},t.prototype._getNow=function(){return(this.scheduler||i.queue).now()},t.prototype._trimBufferThenGetEvents=function(){for(var e=this._getNow(),t=this._bufferSize,n=this._windowTime,o=this._events,r=o.length,i=0;i<r&&!(e-o[i].time<n);)i++;return r>t&&(i=Math.max(i,r-t)),i>0&&o.splice(0,i),o},t}(r.Subject);t.ReplaySubject=u;var d=function(e,t){this.time=e,this.value=t}},function(e,t,n){"use strict";var o=this&&this.__extends||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);function o(){this.constructor=e}e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},r=function(e){function t(){var t=e.call(this,"no elements in sequence");this.name=t.name="EmptyError",this.stack=t.stack,this.message=t.message}return o(t,e),t}(Error);t.EmptyError=r},function(e,t,n){"use strict";var o=this&&this.__extends||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);function o(){this.constructor=e}e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},r=n(3),i=n(4);t.defaultThrottleConfig={leading:!0,trailing:!1},t.throttle=function(e,n){return void 0===n&&(n=t.defaultThrottleConfig),function(t){return t.lift(new a(e,n.leading,n.trailing))}};var a=function(){function e(e,t,n){this.durationSelector=e,this.leading=t,this.trailing=n}return e.prototype.call=function(e,t){return t.subscribe(new s(e,this.durationSelector,this.leading,this.trailing))},e}(),s=function(e){function t(t,n,o,r){e.call(this,t),this.destination=t,this.durationSelector=n,this._leading=o,this._trailing=r,this._hasTrailingValue=!1}return o(t,e),t.prototype._next=function(e){if(this.throttled)this._trailing&&(this._hasTrailingValue=!0,this._trailingValue=e);else{var t=this.tryDurationSelector(e);t&&this.add(this.throttled=i.subscribeToResult(this,t)),this._leading&&(this.destination.next(e),this._trailing&&(this._hasTrailingValue=!0,this._trailingValue=e))}},t.prototype.tryDurationSelector=function(e){try{return this.durationSelector(e)}catch(e){return this.destination.error(e),null}},t.prototype._unsubscribe=function(){var e=this.throttled;this._trailingValue,this._hasTrailingValue,this._trailing;this._trailingValue=null,this._hasTrailingValue=!1,e&&(this.remove(e),this.throttled=null,e.unsubscribe())},t.prototype._sendTrailing=function(){var e=this,t=e.destination,n=e.throttled,o=e._trailing,r=e._trailingValue,i=e._hasTrailingValue;n&&o&&i&&(t.next(r),this._trailingValue=null,this._hasTrailingValue=!1)},t.prototype.notifyNext=function(e,t,n,o,r){this._sendTrailing(),this._unsubscribe()},t.prototype.notifyComplete=function(){this._sendTrailing(),this._unsubscribe()},t}(r.OuterSubscriber)},function(e,t,n){"use strict";var o=n(16);t.of=o.ArrayObservable.of},function(e,t,n){"use strict";var o=n(82);t.from=o.FromObservable.create},function(e,t,n){"use strict";e.exports=function(e,t,n,o,r,i,a,s){if(!e){var c;if(void 0===t)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var l=[n,o,r,i,a,s],u=0;(c=new Error(t.replace(/%s/g,(function(){return l[u++]})))).name="Invariant Violation"}throw c.framesToPop=1,c}}},function(e,t,n){"use strict";var o=n(6);t.Subject=o.Subject,t.AnonymousSubject=o.AnonymousSubject;var r=n(1);t.Observable=r.Observable,n(85),n(238),n(86),n(93),n(241),n(244),n(246),n(89),n(249),n(252),n(255),n(257),n(90),n(91),n(260),n(261),n(262),n(92),n(265),n(267),n(270),n(273),n(276),n(279),n(281),n(87),n(283),n(289),n(291),n(293),n(295),n(297),n(94),n(299),n(301),n(303),n(96),n(305),n(307),n(309),n(311),n(313),n(315),n(317),n(319),n(321),n(323),n(326),n(328),n(330),n(332),n(334),n(336),n(338),n(97),n(340),n(342),n(344),n(346),n(348),n(353),n(355),n(357),n(359),n(361),n(363),n(365),n(98),n(367),n(369),n(371),n(373),n(375),n(99),n(377),n(379),n(381),n(383),n(385),n(387),n(389),n(391),n(394),n(396),n(398),n(400),n(402),n(404),n(406),n(408),n(410),n(100),n(412),n(414),n(416),n(418),n(420),n(422),n(424),n(426),n(428),n(430),n(432),n(434),n(436),n(438),n(445),n(102),n(447),n(449),n(451),n(103),n(105),n(453),n(455),n(457),n(458),n(460),n(462),n(464),n(466),n(467),n(469),n(471),n(473),n(475),n(477),n(479),n(481);var i=n(7);t.Subscription=i.Subscription;var a=n(2);t.Subscriber=a.Subscriber;var s=n(38);t.AsyncSubject=s.AsyncSubject;var c=n(42);t.ReplaySubject=c.ReplaySubject;var l=n(152);t.BehaviorSubject=l.BehaviorSubject;var u=n(146);t.ConnectableObservable=u.ConnectableObservable;var d=n(24);t.Notification=d.Notification;var p=n(43);t.EmptyError=p.EmptyError;var h=n(30);t.ArgumentOutOfRangeError=h.ArgumentOutOfRangeError;var f=n(35);t.ObjectUnsubscribedError=f.ObjectUnsubscribedError;var m=n(178);t.TimeoutError=m.TimeoutError;var g=n(77);t.UnsubscriptionError=g.UnsubscriptionError;var b=n(175);t.TimeInterval=b.TimeInterval;var y=n(66);t.Timestamp=y.Timestamp;var v=n(483);t.TestScheduler=v.TestScheduler;var _=n(191);t.VirtualTimeScheduler=_.VirtualTimeScheduler;var S=n(88);t.AjaxResponse=S.AjaxResponse,t.AjaxError=S.AjaxError,t.AjaxTimeoutError=S.AjaxTimeoutError;var C=n(50);t.pipe=C.pipe;var x=n(170),w=n(5),T=n(108),k=n(486),I=n(33),O=n(23),E=n(34),N=n(490);t.operators=N;var P={asap:x.asap,queue:T.queue,animationFrame:k.animationFrame,async:w.async};t.Scheduler=P;var D={rxSubscriber:I.rxSubscriber,observable:E.observable,iterator:O.iterator};t.Symbol=D},function(e,t,n){"use strict";
/*
object-assign
(c) Sindre Sorhus
@license MIT
*/var o=Object.getOwnPropertySymbols,r=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;function a(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var o={};return"abcdefghijklmnopqrst".split("").forEach((function(e){o[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},o)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var n,s,c=a(e),l=1;l<arguments.length;l++){for(var u in n=Object(arguments[l]))r.call(n,u)&&(c[u]=n[u]);if(o){s=o(n);for(var d=0;d<s.length;d++)i.call(n,s[d])&&(c[s[d]]=n[s[d]])}}return c}},function(e,t,n){"use strict";var o=n(51);function r(e){return e?1===e.length?e[0]:function(t){return e.reduce((function(e,t){return t(e)}),t)}:o.noop}t.pipe=function(){for(var e=[],t=0;t<arguments.length;t++)e[t-0]=arguments[t];return r(e)},t.pipeFromArray=r},function(e,t,n){"use strict";t.noop=function(){}},function(e,t,n){"use strict";var o=this&&this.__extends||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);function o(){this.constructor=e}e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},r=n(3),i=n(4);t.switchMap=function(e,t){return function(n){return n.lift(new a(e,t))}};var a=function(){function e(e,t){this.project=e,this.resultSelector=t}return e.prototype.call=function(e,t){return t.subscribe(new s(e,this.project,this.resultSelector))},e}(),s=function(e){function t(t,n,o){e.call(this,t),this.project=n,this.resultSelector=o,this.index=0}return o(t,e),t.prototype._next=function(e){var t,n=this.index++;try{t=this.project(e,n)}catch(e){return void this.destination.error(e)}this._innerSub(t,e,n)},t.prototype._innerSub=function(e,t,n){var o=this.innerSubscription;o&&o.unsubscribe(),this.add(this.innerSubscription=i.subscribeToResult(this,e,t,n))},t.prototype._complete=function(){var t=this.innerSubscription;t&&!t.closed||e.prototype._complete.call(this)},t.prototype._unsubscribe=function(){this.innerSubscription=null},t.prototype.notifyComplete=function(t){this.remove(t),this.innerSubscription=null,this.isStopped&&e.prototype._complete.call(this)},t.prototype.notifyNext=function(e,t,n,o,r){this.resultSelector?this._tryNotifyNext(e,t,n,o):this.destination.next(t)},t.prototype._tryNotifyNext=function(e,t,n,o){var r;try{r=this.resultSelector(e,t,n,o)}catch(e){return void this.destination.error(e)}this.destination.next(r)},t}(r.OuterSubscriber)},function(e,t,n){"use strict";var o=this&&this.__extends||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);function o(){this.constructor=e}e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},r=function(e){function t(t,n){e.call(this),this.value=t,this.scheduler=n,this._isScalar=!0,n&&(this._isScalar=!1)}return o(t,e),t.create=function(e,n){return new t(e,n)},t.dispatch=function(e){var t=e.done,n=e.value,o=e.subscriber;t?o.complete():(o.next(n),o.closed||(e.done=!0,this.schedule(e)))},t.prototype._subscribe=function(e){var n=this.value,o=this.scheduler;if(o)return o.schedule(t.dispatch,0,{done:!1,value:n,subscriber:e});e.next(n),e.closed||e.complete()},t}(n(1).Observable);t.ScalarObservable=r},function(e,t,n){"use strict";var o=this&&this.__extends||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);function o(){this.constructor=e}e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},r=n(2);t.filter=function(e,t){return function(n){return n.lift(new i(e,t))}};var i=function(){function e(e,t){this.predicate=e,this.thisArg=t}return e.prototype.call=function(e,t){return t.subscribe(new a(e,this.predicate,this.thisArg))},e}(),a=function(e){function t(t,n,o){e.call(this,t),this.predicate=n,this.thisArg=o,this.count=0}return o(t,e),t.prototype._next=function(e){var t;try{t=this.predicate.call(this.thisArg,e,this.count++)}catch(e){return void this.destination.error(e)}t&&this.destination.next(e)},t}(r.Subscriber)},function(e,t,n){"use strict";var o=n(37);t.concatAll=function(){return o.mergeAll(1)}},function(e,t,n){"use strict";var o=this&&this.__extends||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);function o(){this.constructor=e}e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},r=n(13),i=n(16),a=n(3),s=n(4);t.race=function(){for(var e=[],t=0;t<arguments.length;t++)e[t-0]=arguments[t];if(1===e.length){if(!r.isArray(e[0]))return e[0];e=e[0]}return new i.ArrayObservable(e).lift(new c)};var c=function(){function e(){}return e.prototype.call=function(e,t){return t.subscribe(new l(e))},e}();t.RaceOperator=c;var l=function(e){function t(t){e.call(this,t),this.hasFirst=!1,this.observables=[],this.subscriptions=[]}return o(t,e),t.prototype._next=function(e){this.observables.push(e)},t.prototype._complete=function(){var e=this.observables,t=e.length;if(0===t)this.destination.complete();else{for(var n=0;n<t&&!this.hasFirst;n++){var o=e[n],r=s.subscribeToResult(this,o,o,n);this.subscriptions&&this.subscriptions.push(r),this.add(r)}this.observables=null}},t.prototype.notifyNext=function(e,t,n,o,r){if(!this.hasFirst){this.hasFirst=!0;for(var i=0;i<this.subscriptions.length;i++)if(i!==n){var a=this.subscriptions[i];a.unsubscribe(),this.remove(a)}this.subscriptions=null}this.destination.next(t)},t}(a.OuterSubscriber);t.RaceSubscriber=l},function(e,t,n){"use strict";var o=this&&this.__extends||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);function o(){this.constructor=e}e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},r=n(82),i=n(13),a=n(3),s=n(4);t.onErrorResumeNext=function(){for(var e=[],t=0;t<arguments.length;t++)e[t-0]=arguments[t];return 1===e.length&&i.isArray(e[0])&&(e=e[0]),function(t){return t.lift(new c(e))}},t.onErrorResumeNextStatic=function(){for(var e=[],t=0;t<arguments.length;t++)e[t-0]=arguments[t];var n=null;return 1===e.length&&i.isArray(e[0])&&(e=e[0]),n=e.shift(),new r.FromObservable(n,null).lift(new c(e))};var c=function(){function e(e){this.nextSources=e}return e.prototype.call=function(e,t){return t.subscribe(new l(e,this.nextSources))},e}(),l=function(e){function t(t,n){e.call(this,t),this.destination=t,this.nextSources=n}return o(t,e),t.prototype.notifyError=function(e,t){this.subscribeToNextSource()},t.prototype.notifyComplete=function(e){this.subscribeToNextSource()},t.prototype._error=function(e){this.subscribeToNextSource()},t.prototype._complete=function(){this.subscribeToNextSource()},t.prototype.subscribeToNextSource=function(){var e=this.nextSources.shift();e?this.add(s.subscribeToResult(this,e)):this.destination.complete()},t}(a.OuterSubscriber)},function(e,t,n){"use strict";var o=n(25);t.concatMap=function(e,t){return o.mergeMap(e,t,1)}},function(e,t,n){"use strict";var o=this&&this.__extends||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);function o(){this.constructor=e}e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},r=n(2);t.defaultIfEmpty=function(e){return void 0===e&&(e=null),function(t){return t.lift(new i(e))}};var i=function(){function e(e){this.defaultValue=e}return e.prototype.call=function(e,t){return t.subscribe(new a(e,this.defaultValue))},e}(),a=function(e){function t(t,n){e.call(this,t),this.defaultValue=n,this.isEmpty=!0}return o(t,e),t.prototype._next=function(e){this.isEmpty=!1,this.destination.next(e)},t.prototype._complete=function(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()},t}(r.Subscriber)},function(e,t,n){"use strict";var o=this&&this.__extends||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);function o(){this.constructor=e}e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},r=n(2),i=n(9),a=n(8);t.distinctUntilChanged=function(e,t){return function(n){return n.lift(new s(e,t))}};var s=function(){function e(e,t){this.compare=e,this.keySelector=t}return e.prototype.call=function(e,t){return t.subscribe(new c(e,this.compare,this.keySelector))},e}(),c=function(e){function t(t,n,o){e.call(this,t),this.keySelector=o,this.hasKey=!1,"function"==typeof n&&(this.compare=n)}return o(t,e),t.prototype.compare=function(e,t){return e===t},t.prototype._next=function(e){var t=e;if(this.keySelector&&(t=i.tryCatch(this.keySelector)(e))===a.errorObject)return this.destination.error(a.errorObject.e);var n=!1;if(this.hasKey){if((n=i.tryCatch(this.compare)(this.key,t))===a.errorObject)return this.destination.error(a.errorObject.e)}else this.hasKey=!0;!1===Boolean(n)&&(this.key=t,this.destination.next(e))},t}(r.Subscriber)},function(e,t,n){"use strict";var o=this&&this.__extends||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);function o(){this.constructor=e}e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},r=n(2);t.find=function(e,t){if("function"!=typeof e)throw new TypeError("predicate is not a function");return function(n){return n.lift(new i(e,n,!1,t))}};var i=function(){function e(e,t,n,o){this.predicate=e,this.source=t,this.yieldIndex=n,this.thisArg=o}return e.prototype.call=function(e,t){return t.subscribe(new a(e,this.predicate,this.source,this.yieldIndex,this.thisArg))},e}();t.FindValueOperator=i;var a=function(e){function t(t,n,o,r,i){e.call(this,t),this.predicate=n,this.source=o,this.yieldIndex=r,this.thisArg=i,this.index=0}return o(t,e),t.prototype.notifyComplete=function(e){var t=this.destination;t.next(e),t.complete()},t.prototype._next=function(e){var t=this.predicate,n=this.thisArg,o=this.index++;try{t.call(n||this,e,o,this.source)&&this.notifyComplete(this.yieldIndex?o:e)}catch(e){this.destination.error(e)}},t.prototype._complete=function(){this.notifyComplete(this.yieldIndex?-1:void 0)},t}(r.Subscriber);t.FindValueSubscriber=a},function(e,t,n){"use strict";var o=this&&this.__extends||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);function o(){this.constructor=e}e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},r=n(9),i=n(8),a=n(3),s=n(4);t.audit=function(e){return function(t){return t.lift(new c(e))}};var c=function(){function e(e){this.durationSelector=e}return e.prototype.call=function(e,t){return t.subscribe(new l(e,this.durationSelector))},e}(),l=function(e){function t(t,n){e.call(this,t),this.durationSelector=n,this.hasValue=!1}return o(t,e),t.prototype._next=function(e){if(this.value=e,this.hasValue=!0,!this.throttled){var t=r.tryCatch(this.durationSelector)(e);if(t===i.errorObject)this.destination.error(i.errorObject.e);else{var n=s.subscribeToResult(this,t);n.closed?this.clearThrottle():this.add(this.throttled=n)}}},t.prototype.clearThrottle=function(){var e=this.value,t=this.hasValue,n=this.throttled;n&&(this.remove(n),this.throttled=null,n.unsubscribe()),t&&(this.value=null,this.hasValue=!1,this.destination.next(e))},t.prototype.notifyNext=function(e,t,n,o){this.clearThrottle()},t.prototype.notifyComplete=function(){this.clearThrottle()},t}(a.OuterSubscriber)},function(e,t,n){"use strict";var o=this&&this.__extends||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);function o(){this.constructor=e}e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},r=n(2);t.scan=function(e,t){var n=!1;return arguments.length>=2&&(n=!0),function(o){return o.lift(new i(e,t,n))}};var i=function(){function e(e,t,n){void 0===n&&(n=!1),this.accumulator=e,this.seed=t,this.hasSeed=n}return e.prototype.call=function(e,t){return t.subscribe(new a(e,this.accumulator,this.seed,this.hasSeed))},e}(),a=function(e){function t(t,n,o,r){e.call(this,t),this.accumulator=n,this._seed=o,this.hasSeed=r,this.index=0}return o(t,e),Object.defineProperty(t.prototype,"seed",{get:function(){return this._seed},set:function(e){this.hasSeed=!0,this._seed=e},enumerable:!0,configurable:!0}),t.prototype._next=function(e){if(this.hasSeed)return this._tryNext(e);this.seed=e,this.destination.next(e)},t.prototype._tryNext=function(e){var t,n=this.index++;try{t=this.accumulator(this.seed,e,n)}catch(e){this.destination.error(e)}this.seed=t,this.destination.next(t)},t}(r.Subscriber)},function(e,t,n){"use strict";var o=this&&this.__extends||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);function o(){this.constructor=e}e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},r=n(2),i=n(30),a=n(17);t.takeLast=function(e){return function(t){return 0===e?new a.EmptyObservable:t.lift(new s(e))}};var s=function(){function e(e){if(this.total=e,this.total<0)throw new i.ArgumentOutOfRangeError}return e.prototype.call=function(e,t){return t.subscribe(new c(e,this.total))},e}(),c=function(e){function t(t,n){e.call(this,t),this.total=n,this.ring=new Array,this.count=0}return o(t,e),t.prototype._next=function(e){var t=this.ring,n=this.total,o=this.count++;t.length<n?t.push(e):t[o%n]=e},t.prototype._complete=function(){var e=this.destination,t=this.count;if(t>0)for(var n=this.count>=this.total?this.total:this.count,o=this.ring,r=0;r<n;r++){var i=t++%n;e.next(o[i])}e.complete()},t}(r.Subscriber)},function(e,t,n){"use strict";var o=this&&this.__extends||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);function o(){this.constructor=e}e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},r=n(2);t.refCount=function(){return function(e){return e.lift(new i(e))}};var i=function(){function e(e){this.connectable=e}return e.prototype.call=function(e,t){var n=this.connectable;n._refCount++;var o=new a(e,n),r=t.subscribe(o);return o.closed||(o.connection=n.connect()),r},e}(),a=function(e){function t(t,n){e.call(this,t),this.connectable=n}return o(t,e),t.prototype._unsubscribe=function(){var e=this.connectable;if(e){this.connectable=null;var t=e._refCount;if(t<=0)this.connection=null;else if(e._refCount=t-1,t>1)this.connection=null;else{var n=this.connection,o=e._connection;this.connection=null,!o||n&&o!==n||o.unsubscribe()}}else this.connection=null},t}(r.Subscriber)},function(e,t,n){"use strict";var o=n(5),r=n(22);t.timestamp=function(e){return void 0===e&&(e=o.async),r.map((function(t){return new i(t,e.now())}))};var i=function(e,t){this.value=e,this.timestamp=t};t.Timestamp=i},function(e,t,n){"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE){0;try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}}(),e.exports=n(203)},function(e,t,n){"use strict";e.exports=n(208)},function(e,t,n){"use strict";t.decode=t.parse=n(213),t.encode=t.stringify=n(214)},function(e,t,n){"use strict";var o=n(22);t.map=function(e,t){return o.map(e,t)(this)}},function(e,t,n){"use strict";var o=n(52);t.switchMap=function(e,t){return o.switchMap(e,t)(this)}},function(e,t,n){"use strict";var o=n(54);t.filter=function(e,t){return o.filter(e,t)(this)}},function(e,t,n){"use strict";(function(e,o){var r,i=n(193);r="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==e?e:o;var a=Object(i.a)(r);t.a=a}).call(this,n(21),n(209)(e))},function(e,t,n){"use strict";var o=n(199);function r(){}var i=null,a={};function s(e){if("object"!=typeof this)throw new TypeError("Promises must be constructed via new");if("function"!=typeof e)throw new TypeError("Promise constructor's argument is not a function");this._U=0,this._V=0,this._W=null,this._X=null,e!==r&&h(e,this)}function c(e,t){for(;3===e._V;)e=e._W;if(s._Y&&s._Y(e),0===e._V)return 0===e._U?(e._U=1,void(e._X=t)):1===e._U?(e._U=2,void(e._X=[e._X,t])):void e._X.push(t);!function(e,t){o((function(){var n=1===e._V?t.onFulfilled:t.onRejected;if(null!==n){var o=function(e,t){try{return e(t)}catch(e){return i=e,a}}(n,e._W);o===a?u(t.promise,i):l(t.promise,o)}else 1===e._V?l(t.promise,e._W):u(t.promise,e._W)}))}(e,t)}function l(e,t){if(t===e)return u(e,new TypeError("A promise cannot be resolved with itself."));if(t&&("object"==typeof t||"function"==typeof t)){var n=function(e){try{return e.then}catch(e){return i=e,a}}(t);if(n===a)return u(e,i);if(n===e.then&&t instanceof s)return e._V=3,e._W=t,void d(e);if("function"==typeof n)return void h(n.bind(t),e)}e._V=1,e._W=t,d(e)}function u(e,t){e._V=2,e._W=t,s._Z&&s._Z(e,t),d(e)}function d(e){if(1===e._U&&(c(e,e._X),e._X=null),2===e._U){for(var t=0;t<e._X.length;t++)c(e,e._X[t]);e._X=null}}function p(e,t,n){this.onFulfilled="function"==typeof e?e:null,this.onRejected="function"==typeof t?t:null,this.promise=n}function h(e,t){var n=!1,o=function(e,t,n){try{e(t,n)}catch(e){return i=e,a}}(e,(function(e){n||(n=!0,l(t,e))}),(function(e){n||(n=!0,u(t,e))}));n||o!==a||(n=!0,u(t,i))}e.exports=s,s._Y=null,s._Z=null,s._0=r,s.prototype.then=function(e,t){if(this.constructor!==s)return function(e,t,n){return new e.constructor((function(o,i){var a=new s(r);a.then(o,i),c(e,new p(t,n,a))}))}(this,e,t);var n=new s(r);return c(this,new p(e,t,n)),n}},function(e,t,n){var o=n(215),r=n(216);e.exports=function(e,t,n){var i=t&&n||0;"string"==typeof e&&(t="binary"===e?new Array(16):null,e=null);var a=(e=e||{}).random||(e.rng||o)();if(a[6]=15&a[6]|64,a[8]=63&a[8]|128,t)for(var s=0;s<16;++s)t[i+s]=a[s];return t||r(a)}},function(e,t,n){"use strict";t.isObject=function(e){return null!=e&&"object"==typeof e}},function(e,t,n){"use strict";var o=this&&this.__extends||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);function o(){this.constructor=e}e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},r=function(e){function t(t){e.call(this),this.errors=t;var n=Error.call(this,t?t.length+" errors occurred during unsubscription:\n  "+t.map((function(e,t){return t+1+") "+e.toString()})).join("\n  "):"");this.name=n.name="UnsubscriptionError",this.stack=n.stack,this.message=n.message}return o(t,e),t}(Error);t.UnsubscriptionError=r},function(e,t,n){"use strict";t.empty={closed:!0,next:function(e){},error:function(e){throw e},complete:function(){}}},function(e,t,n){"use strict";var o=this&&this.__extends||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);function o(){this.constructor=e}e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},r=function(e){function t(t,n){e.call(this),this.subject=t,this.subscriber=n,this.closed=!1}return o(t,e),t.prototype.unsubscribe=function(){if(!this.closed){this.closed=!0;var e=this.subject,t=e.observers;if(this.subject=null,t&&0!==t.length&&!e.isStopped&&!e.closed){var n=t.indexOf(this.subscriber);-1!==n&&t.splice(n,1)}}},t}(n(7).Subscription);t.SubjectSubscription=r},function(e,t,n){"use strict";t.isArrayLike=function(e){return e&&"number"==typeof e.length}},function(e,t,n){"use strict";t.isPromise=function(e){return e&&"function"!=typeof e.subscribe&&"function"==typeof e.then}},function(e,t,n){"use strict";var o=this&&this.__extends||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);function o(){this.constructor=e}e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},r=n(13),i=n(80),a=n(81),s=n(83),c=n(219),l=n(16),u=n(220),d=n(23),p=n(1),h=n(36),f=n(34),m=function(e){function t(t,n){e.call(this,null),this.ish=t,this.scheduler=n}return o(t,e),t.create=function(e,n){if(null!=e){if("function"==typeof e[f.observable])return e instanceof p.Observable&&!n?e:new t(e,n);if(r.isArray(e))return new l.ArrayObservable(e,n);if(a.isPromise(e))return new s.PromiseObservable(e,n);if("function"==typeof e[d.iterator]||"string"==typeof e)return new c.IteratorObservable(e,n);if(i.isArrayLike(e))return new u.ArrayLikeObservable(e,n)}throw new TypeError((null!==e&&typeof e||e)+" is not observable")},t.prototype._subscribe=function(e){var t=this.ish,n=this.scheduler;return null==n?t[f.observable]().subscribe(e):t[f.observable]().subscribe(new h.ObserveOnSubscriber(e,n,0))},t}(p.Observable);t.FromObservable=m},function(e,t,n){"use strict";var o=this&&this.__extends||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);function o(){this.constructor=e}e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},r=n(10),i=function(e){function t(t,n){e.call(this),this.promise=t,this.scheduler=n}return o(t,e),t.create=function(e,n){return new t(e,n)},t.prototype._subscribe=function(e){var t=this,n=this.promise,o=this.scheduler;if(null==o)this._isScalar?e.closed||(e.next(this.value),e.complete()):n.then((function(n){t.value=n,t._isScalar=!0,e.closed||(e.next(n),e.complete())}),(function(t){e.closed||e.error(t)})).then(null,(function(e){r.root.setTimeout((function(){throw e}))}));else if(this._isScalar){if(!e.closed)return o.schedule(a,0,{value:this.value,subscriber:e})}else n.then((function(n){t.value=n,t._isScalar=!0,e.closed||e.add(o.schedule(a,0,{value:n,subscriber:e}))}),(function(t){e.closed||e.add(o.schedule(s,0,{err:t,subscriber:e}))})).then(null,(function(e){r.root.setTimeout((function(){throw e}))}))},t}(n(1).Observable);function a(e){var t=e.value,n=e.subscriber;n.closed||(n.next(t),n.complete())}function s(e){var t=e.err,n=e.subscriber;n.closed||n.error(t)}t.PromiseObservable=i},function(e,t,n){"use strict";t.identity=function(e){return e}},function(e,t,n){"use strict";var o=n(1),r=n(221);o.Observable.bindCallback=r.bindCallback},function(e,t,n){"use strict";var o=n(1),r=n(223);o.Observable.combineLatest=r.combineLatest},function(e,t,n){"use strict";var o=n(1),r=n(224);o.Observable.ajax=r.ajax},function(e,t,n){"use strict";var o=this&&this.__extends||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);function o(){this.constructor=e}e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},r=n(10),i=n(9),a=n(8),s=n(1),c=n(2),l=n(22);function u(){if(r.root.XMLHttpRequest)return new r.root.XMLHttpRequest;if(r.root.XDomainRequest)return new r.root.XDomainRequest;throw new Error("CORS is not supported by your browser")}function d(e,t){return void 0===t&&(t=null),new y({method:"GET",url:e,headers:t})}function p(e,t,n){return new y({method:"POST",url:e,body:t,headers:n})}function h(e,t){return new y({method:"DELETE",url:e,headers:t})}function f(e,t,n){return new y({method:"PUT",url:e,body:t,headers:n})}function m(e,t,n){return new y({method:"PATCH",url:e,body:t,headers:n})}t.ajaxGet=d,t.ajaxPost=p,t.ajaxDelete=h,t.ajaxPut=f,t.ajaxPatch=m;var g=l.map((function(e,t){return e.response}));function b(e,t){return g(new y({method:"GET",url:e,responseType:"json",headers:t}))}t.ajaxGetJSON=b;var y=function(e){function t(t){e.call(this);var n={async:!0,createXHR:function(){return this.crossDomain?u.call(this):function(){if(r.root.XMLHttpRequest)return new r.root.XMLHttpRequest;var e=void 0;try{for(var t=["Msxml2.XMLHTTP","Microsoft.XMLHTTP","Msxml2.XMLHTTP.4.0"],n=0;n<3;n++)try{if(e=t[n],new r.root.ActiveXObject(e))break}catch(e){}return new r.root.ActiveXObject(e)}catch(e){throw new Error("XMLHttpRequest is not supported by your browser")}}()},crossDomain:!1,withCredentials:!1,headers:{},method:"GET",responseType:"json",timeout:0};if("string"==typeof t)n.url=t;else for(var o in t)t.hasOwnProperty(o)&&(n[o]=t[o]);this.request=n}var n;return o(t,e),t.prototype._subscribe=function(e){return new v(e,this.request)},t.create=((n=function(e){return new t(e)}).get=d,n.post=p,n.delete=h,n.put=f,n.patch=m,n.getJSON=b,n),t}(s.Observable);t.AjaxObservable=y;var v=function(e){function t(t,n){e.call(this,t),this.request=n,this.done=!1;var o=n.headers=n.headers||{};n.crossDomain||o["X-Requested-With"]||(o["X-Requested-With"]="XMLHttpRequest"),"Content-Type"in o||r.root.FormData&&n.body instanceof r.root.FormData||void 0===n.body||(o["Content-Type"]="application/x-www-form-urlencoded; charset=UTF-8"),n.body=this.serializeBody(n.body,n.headers["Content-Type"]),this.send()}return o(t,e),t.prototype.next=function(e){this.done=!0;var t=this.xhr,n=this.request,o=this.destination,r=new _(e,t,n);o.next(r)},t.prototype.send=function(){var e=this.request,t=this.request,n=t.user,o=t.method,r=t.url,s=t.async,c=t.password,l=t.headers,u=t.body,d=e.createXHR,p=i.tryCatch(d).call(e);if(p===a.errorObject)this.error(a.errorObject.e);else{this.xhr=p,this.setupEvents(p,e);if((n?i.tryCatch(p.open).call(p,o,r,s,n,c):i.tryCatch(p.open).call(p,o,r,s))===a.errorObject)return this.error(a.errorObject.e),null;if(s&&(p.timeout=e.timeout,p.responseType=e.responseType),"withCredentials"in p&&(p.withCredentials=!!e.withCredentials),this.setHeaders(p,l),(u?i.tryCatch(p.send).call(p,u):i.tryCatch(p.send).call(p))===a.errorObject)return this.error(a.errorObject.e),null}return p},t.prototype.serializeBody=function(e,t){if(!e||"string"==typeof e)return e;if(r.root.FormData&&e instanceof r.root.FormData)return e;if(t){var n=t.indexOf(";");-1!==n&&(t=t.substring(0,n))}switch(t){case"application/x-www-form-urlencoded":return Object.keys(e).map((function(t){return encodeURIComponent(t)+"="+encodeURIComponent(e[t])})).join("&");case"application/json":return JSON.stringify(e);default:return e}},t.prototype.setHeaders=function(e,t){for(var n in t)t.hasOwnProperty(n)&&e.setRequestHeader(n,t[n])},t.prototype.setupEvents=function(e,t){var n=t.progressSubscriber;function o(e){var t=o,n=t.subscriber,r=t.progressSubscriber,i=t.request;r&&r.error(e),n.error(new x(this,i))}if(e.ontimeout=o,o.request=t,o.subscriber=this,o.progressSubscriber=n,e.upload&&"withCredentials"in e){var i,a;if(n)i=function(e){i.progressSubscriber.next(e)},r.root.XDomainRequest?e.onprogress=i:e.upload.onprogress=i,i.progressSubscriber=n;a=function(e){var t=a,n=t.progressSubscriber,o=t.subscriber,r=t.request;n&&n.error(e),o.error(new S("ajax error",this,r))},e.onerror=a,a.request=t,a.subscriber=this,a.progressSubscriber=n}function s(e){var t=s,n=t.subscriber,o=t.progressSubscriber,r=t.request;if(4===this.readyState){var i=1223===this.status?204:this.status,a="text"===this.responseType?this.response||this.responseText:this.response;0===i&&(i=a?200:0),200<=i&&i<300?(o&&o.complete(),n.next(e),n.complete()):(o&&o.error(e),n.error(new S("ajax error "+i,this,r)))}}e.onreadystatechange=s,s.subscriber=this,s.progressSubscriber=n,s.request=t},t.prototype.unsubscribe=function(){var t=this.done,n=this.xhr;!t&&n&&4!==n.readyState&&"function"==typeof n.abort&&n.abort(),e.prototype.unsubscribe.call(this)},t}(c.Subscriber);t.AjaxSubscriber=v;var _=function(e,t,n){this.originalEvent=e,this.xhr=t,this.request=n,this.status=t.status,this.responseType=t.responseType||n.responseType,this.response=C(this.responseType,t)};t.AjaxResponse=_;var S=function(e){function t(t,n,o){e.call(this,t),this.message=t,this.xhr=n,this.request=o,this.status=n.status,this.responseType=n.responseType||o.responseType,this.response=C(this.responseType,n)}return o(t,e),t}(Error);function C(e,t){switch(e){case"json":return"response"in t?t.responseType?t.response:JSON.parse(t.response||t.responseText||"null"):JSON.parse(t.responseText||"null");case"xml":return t.responseXML;case"text":default:return"response"in t?t.response:t.responseText}}t.AjaxError=S;var x=function(e){function t(t,n){e.call(this,"ajax timeout",t,n)}return o(t,e),t}(S);t.AjaxTimeoutError=x},function(e,t,n){"use strict";var o=n(1),r=n(46);o.Observable.from=r.from},function(e,t,n){"use strict";var o=n(1),r=n(225);o.Observable.if=r._if},function(e,t,n){"use strict";var o=n(1),r=n(227);o.Observable.interval=r.interval},function(e,t,n){"use strict";var o=n(1),r=n(45);o.Observable.of=r.of},function(e,t,n){"use strict";var o=n(1),r=n(29);o.Observable.concat=r.concat},function(e,t,n){"use strict";var o=n(1),r=n(231);o.Observable.prototype.catch=r._catch,o.Observable.prototype._catch=r._catch},function(e,t,n){"use strict";var o=this&&this.__extends||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);function o(){this.constructor=e}e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},r=n(3),i=n(4);t.catchError=function(e){return function(t){var n=new a(e),o=t.lift(n);return n.caught=o}};var a=function(){function e(e){this.selector=e}return e.prototype.call=function(e,t){return t.subscribe(new s(e,this.selector,this.caught))},e}(),s=function(e){function t(t,n,o){e.call(this,t),this.selector=n,this.caught=o}return o(t,e),t.prototype.error=function(t){if(!this.isStopped){var n=void 0;try{n=this.selector(t,this.caught)}catch(t){return void e.prototype.error.call(this,t)}this._unsubscribeAndRecycle(),this.add(i.subscribeToResult(this,n))}},t}(r.OuterSubscriber)},function(e,t,n){"use strict";var o=n(1),r=n(232);o.Observable.prototype.concatAll=r.concatAll},function(e,t,n){"use strict";var o=n(1),r=n(72);o.Observable.prototype.filter=r.filter},function(e,t,n){"use strict";var o=n(1),r=n(70);o.Observable.prototype.map=r.map},function(e,t,n){"use strict";var o=n(1),r=n(233);o.Observable.prototype.mergeMap=r.mergeMap,o.Observable.prototype.flatMap=r.mergeMap},function(e,t,n){"use strict";var o=n(1),r=n(234);o.Observable.prototype.retry=r.retry},function(e,t,n){"use strict";var o=this&&this.__extends||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);function o(){this.constructor=e}e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},r=n(2);t.retry=function(e){return void 0===e&&(e=-1),function(t){return t.lift(new i(e,t))}};var i=function(){function e(e,t){this.count=e,this.source=t}return e.prototype.call=function(e,t){return t.subscribe(new a(e,this.count,this.source))},e}(),a=function(e){function t(t,n,o){e.call(this,t),this.count=n,this.source=o}return o(t,e),t.prototype.error=function(t){if(!this.isStopped){var n=this.source,o=this.count;if(0===o)return e.prototype.error.call(this,t);o>-1&&(this.count=o-1),n.subscribe(this._unsubscribeAndRecycle())}},t}(r.Subscriber)},function(e,t,n){"use strict";var o=n(1),r=n(71);o.Observable.prototype.switchMap=r.switchMap},function(e,t,n){"use strict";var o=n(1),r=n(235);o.Observable.prototype.takeUntil=r.takeUntil},function(e,t,n){"use strict";var o=this&&this.__extends||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);function o(){this.constructor=e}e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},r=n(3),i=n(4);t.takeUntil=function(e){return function(t){return t.lift(new a(e))}};var a=function(){function e(e){this.notifier=e}return e.prototype.call=function(e,t){return t.subscribe(new s(e,this.notifier))},e}(),s=function(e){function t(t,n){e.call(this,t),this.notifier=n,this.add(i.subscribeToResult(this,n))}return o(t,e),t.prototype.notifyNext=function(e,t,n,o,r){this.complete()},t.prototype.notifyComplete=function(){},t}(r.OuterSubscriber)},function(e,t,n){"use strict";var o=n(1),r=n(236);o.Observable.prototype.takeWhile=r.takeWhile},function(e,t,n){"use strict";var o=this&&this.__extends||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);function o(){this.constructor=e}e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},r=n(2);t.takeWhile=function(e){return function(t){return t.lift(new i(e))}};var i=function(){function e(e){this.predicate=e}return e.prototype.call=function(e,t){return t.subscribe(new a(e,this.predicate))},e}(),a=function(e){function t(t,n){e.call(this,t),this.predicate=n,this.index=0}return o(t,e),t.prototype._next=function(e){var t,n=this.destination;try{t=this.predicate(e,this.index++)}catch(e){return void n.error(e)}this.nextOrComplete(e,t)},t.prototype.nextOrComplete=function(e,t){var n=this.destination;Boolean(t)?n.next(e):n.complete()},t}(r.Subscriber)},function(e,t,n){"use strict";var o=n(280);t.timer=o.TimerObservable.create},function(e,t,n){"use strict";var o=n(286),r=n(287);t.queue=new r.QueueScheduler(o.QueueAction)},function(e,t,n){"use strict";var o=this&&this.__extends||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);function o(){this.constructor=e}e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},r=n(3),i=n(4);t.buffer=function(e){return function(t){return t.lift(new a(e))}};var a=function(){function e(e){this.closingNotifier=e}return e.prototype.call=function(e,t){return t.subscribe(new s(e,this.closingNotifier))},e}(),s=function(e){function t(t,n){e.call(this,t),this.buffer=[],this.add(i.subscribeToResult(this,n))}return o(t,e),t.prototype._next=function(e){this.buffer.push(e)},t.prototype.notifyNext=function(e,t,n,o,r){var i=this.buffer;this.buffer=[],this.destination.next(i)},t}(r.OuterSubscriber)},function(e,t,n){"use strict";var o=this&&this.__extends||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);function o(){this.constructor=e}e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},r=n(2);t.bufferCount=function(e,t){return void 0===t&&(t=null),function(n){return n.lift(new i(e,t))}};var i=function(){function e(e,t){this.bufferSize=e,this.startBufferEvery=t,this.subscriberClass=t&&e!==t?s:a}return e.prototype.call=function(e,t){return t.subscribe(new this.subscriberClass(e,this.bufferSize,this.startBufferEvery))},e}(),a=function(e){function t(t,n){e.call(this,t),this.bufferSize=n,this.buffer=[]}return o(t,e),t.prototype._next=function(e){var t=this.buffer;t.push(e),t.length==this.bufferSize&&(this.destination.next(t),this.buffer=[])},t.prototype._complete=function(){var t=this.buffer;t.length>0&&this.destination.next(t),e.prototype._complete.call(this)},t}(r.Subscriber),s=function(e){function t(t,n,o){e.call(this,t),this.bufferSize=n,this.startBufferEvery=o,this.buffers=[],this.count=0}return o(t,e),t.prototype._next=function(e){var t=this.bufferSize,n=this.startBufferEvery,o=this.buffers,r=this.count;this.count++,r%n==0&&o.push([]);for(var i=o.length;i--;){var a=o[i];a.push(e),a.length===t&&(o.splice(i,1),this.destination.next(a))}},t.prototype._complete=function(){for(var t=this.buffers,n=this.destination;t.length>0;){var o=t.shift();o.length>0&&n.next(o)}e.prototype._complete.call(this)},t}(r.Subscriber)},function(e,t,n){"use strict";var o=this&&this.__extends||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);function o(){this.constructor=e}e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},r=n(5),i=n(2),a=n(12);t.bufferTime=function(e){var t=arguments.length,n=r.async;a.isScheduler(arguments[arguments.length-1])&&(n=arguments[arguments.length-1],t--);var o=null;t>=2&&(o=arguments[1]);var i=Number.POSITIVE_INFINITY;return t>=3&&(i=arguments[2]),function(t){return t.lift(new s(e,o,i,n))}};var s=function(){function e(e,t,n,o){this.bufferTimeSpan=e,this.bufferCreationInterval=t,this.maxBufferSize=n,this.scheduler=o}return e.prototype.call=function(e,t){return t.subscribe(new l(e,this.bufferTimeSpan,this.bufferCreationInterval,this.maxBufferSize,this.scheduler))},e}(),c=function(){this.buffer=[]},l=function(e){function t(t,n,o,r,i){e.call(this,t),this.bufferTimeSpan=n,this.bufferCreationInterval=o,this.maxBufferSize=r,this.scheduler=i,this.contexts=[];var a=this.openContext();if(this.timespanOnly=null==o||o<0,this.timespanOnly){var s={subscriber:this,context:a,bufferTimeSpan:n};this.add(a.closeAction=i.schedule(u,n,s))}else{var c={subscriber:this,context:a},l={bufferTimeSpan:n,bufferCreationInterval:o,subscriber:this,scheduler:i};this.add(a.closeAction=i.schedule(p,n,c)),this.add(i.schedule(d,o,l))}}return o(t,e),t.prototype._next=function(e){for(var t,n=this.contexts,o=n.length,r=0;r<o;r++){var i=n[r],a=i.buffer;a.push(e),a.length==this.maxBufferSize&&(t=i)}t&&this.onBufferFull(t)},t.prototype._error=function(t){this.contexts.length=0,e.prototype._error.call(this,t)},t.prototype._complete=function(){for(var t=this.contexts,n=this.destination;t.length>0;){var o=t.shift();n.next(o.buffer)}e.prototype._complete.call(this)},t.prototype._unsubscribe=function(){this.contexts=null},t.prototype.onBufferFull=function(e){this.closeContext(e);var t=e.closeAction;if(t.unsubscribe(),this.remove(t),!this.closed&&this.timespanOnly){e=this.openContext();var n=this.bufferTimeSpan,o={subscriber:this,context:e,bufferTimeSpan:n};this.add(e.closeAction=this.scheduler.schedule(u,n,o))}},t.prototype.openContext=function(){var e=new c;return this.contexts.push(e),e},t.prototype.closeContext=function(e){this.destination.next(e.buffer);var t=this.contexts;(t?t.indexOf(e):-1)>=0&&t.splice(t.indexOf(e),1)},t}(i.Subscriber);function u(e){var t=e.subscriber,n=e.context;n&&t.closeContext(n),t.closed||(e.context=t.openContext(),e.context.closeAction=this.schedule(e,e.bufferTimeSpan))}function d(e){var t=e.bufferCreationInterval,n=e.bufferTimeSpan,o=e.subscriber,r=e.scheduler,i=o.openContext();o.closed||(o.add(i.closeAction=r.schedule(p,n,{subscriber:o,context:i})),this.schedule(e,t))}function p(e){var t=e.subscriber,n=e.context;t.closeContext(n)}},function(e,t,n){"use strict";var o=this&&this.__extends||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);function o(){this.constructor=e}e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},r=n(7),i=n(4),a=n(3);t.bufferToggle=function(e,t){return function(n){return n.lift(new s(e,t))}};var s=function(){function e(e,t){this.openings=e,this.closingSelector=t}return e.prototype.call=function(e,t){return t.subscribe(new c(e,this.openings,this.closingSelector))},e}(),c=function(e){function t(t,n,o){e.call(this,t),this.openings=n,this.closingSelector=o,this.contexts=[],this.add(i.subscribeToResult(this,n))}return o(t,e),t.prototype._next=function(e){for(var t=this.contexts,n=t.length,o=0;o<n;o++)t[o].buffer.push(e)},t.prototype._error=function(t){for(var n=this.contexts;n.length>0;){var o=n.shift();o.subscription.unsubscribe(),o.buffer=null,o.subscription=null}this.contexts=null,e.prototype._error.call(this,t)},t.prototype._complete=function(){for(var t=this.contexts;t.length>0;){var n=t.shift();this.destination.next(n.buffer),n.subscription.unsubscribe(),n.buffer=null,n.subscription=null}this.contexts=null,e.prototype._complete.call(this)},t.prototype.notifyNext=function(e,t,n,o,r){e?this.closeBuffer(e):this.openBuffer(t)},t.prototype.notifyComplete=function(e){this.closeBuffer(e.context)},t.prototype.openBuffer=function(e){try{var t=this.closingSelector.call(this,e);t&&this.trySubscribe(t)}catch(e){this._error(e)}},t.prototype.closeBuffer=function(e){var t=this.contexts;if(t&&e){var n=e.buffer,o=e.subscription;this.destination.next(n),t.splice(t.indexOf(e),1),this.remove(o),o.unsubscribe()}},t.prototype.trySubscribe=function(e){var t=this.contexts,n=new r.Subscription,o={buffer:[],subscription:n};t.push(o);var a=i.subscribeToResult(this,e,o);!a||a.closed?this.closeBuffer(o):(a.context=o,this.add(a),n.add(a))},t}(a.OuterSubscriber)},function(e,t,n){"use strict";var o=this&&this.__extends||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);function o(){this.constructor=e}e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},r=n(7),i=n(9),a=n(8),s=n(3),c=n(4);t.bufferWhen=function(e){return function(t){return t.lift(new l(e))}};var l=function(){function e(e){this.closingSelector=e}return e.prototype.call=function(e,t){return t.subscribe(new u(e,this.closingSelector))},e}(),u=function(e){function t(t,n){e.call(this,t),this.closingSelector=n,this.subscribing=!1,this.openBuffer()}return o(t,e),t.prototype._next=function(e){this.buffer.push(e)},t.prototype._complete=function(){var t=this.buffer;t&&this.destination.next(t),e.prototype._complete.call(this)},t.prototype._unsubscribe=function(){this.buffer=null,this.subscribing=!1},t.prototype.notifyNext=function(e,t,n,o,r){this.openBuffer()},t.prototype.notifyComplete=function(){this.subscribing?this.complete():this.openBuffer()},t.prototype.openBuffer=function(){var e=this.closingSubscription;e&&(this.remove(e),e.unsubscribe());var t=this.buffer;this.buffer&&this.destination.next(t),this.buffer=[];var n=i.tryCatch(this.closingSelector)();n===a.errorObject?this.error(a.errorObject.e):(e=new r.Subscription,this.closingSubscription=e,this.add(e),this.subscribing=!0,e.add(c.subscribeToResult(this,n)),this.subscribing=!1)},t}(s.OuterSubscriber)},function(e,t,n){"use strict";var o=n(39);t.combineAll=function(e){return function(t){return t.lift(new o.CombineLatestOperator(e))}}},function(e,t,n){"use strict";var o=n(29),r=n(29);t.concatStatic=r.concat,t.concat=function(){for(var e=[],t=0;t<arguments.length;t++)e[t-0]=arguments[t];return function(t){return t.lift.call(o.concat.apply(void 0,[t].concat(e)))}}},function(e,t,n){"use strict";var o=n(58);t.concatMapTo=function(e,t){return o.concatMap((function(){return e}),t)}},function(e,t,n){"use strict";var o=this&&this.__extends||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);function o(){this.constructor=e}e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},r=n(2);t.count=function(e){return function(t){return t.lift(new i(e,t))}};var i=function(){function e(e,t){this.predicate=e,this.source=t}return e.prototype.call=function(e,t){return t.subscribe(new a(e,this.predicate,this.source))},e}(),a=function(e){function t(t,n,o){e.call(this,t),this.predicate=n,this.source=o,this.count=0,this.index=0}return o(t,e),t.prototype._next=function(e){this.predicate?this._tryPredicate(e):this.count++},t.prototype._tryPredicate=function(e){var t;try{t=this.predicate(e,this.index++,this.source)}catch(e){return void this.destination.error(e)}t&&this.count++},t.prototype._complete=function(){this.destination.next(this.count),this.destination.complete()},t}(r.Subscriber)},function(e,t,n){"use strict";var o=this&&this.__extends||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);function o(){this.constructor=e}e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},r=n(2);t.dematerialize=function(){return function(e){return e.lift(new i)}};var i=function(){function e(){}return e.prototype.call=function(e,t){return t.subscribe(new a(e))},e}(),a=function(e){function t(t){e.call(this,t)}return o(t,e),t.prototype._next=function(e){e.observe(this.destination)},t}(r.Subscriber)},function(e,t,n){"use strict";var o=this&&this.__extends||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);function o(){this.constructor=e}e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},r=n(3),i=n(4);t.debounce=function(e){return function(t){return t.lift(new a(e))}};var a=function(){function e(e){this.durationSelector=e}return e.prototype.call=function(e,t){return t.subscribe(new s(e,this.durationSelector))},e}(),s=function(e){function t(t,n){e.call(this,t),this.durationSelector=n,this.hasValue=!1,this.durationSubscription=null}return o(t,e),t.prototype._next=function(e){try{var t=this.durationSelector.call(this,e);t&&this._tryNext(e,t)}catch(e){this.destination.error(e)}},t.prototype._complete=function(){this.emitValue(),this.destination.complete()},t.prototype._tryNext=function(e,t){var n=this.durationSubscription;this.value=e,this.hasValue=!0,n&&(n.unsubscribe(),this.remove(n)),(n=i.subscribeToResult(this,t)).closed||this.add(this.durationSubscription=n)},t.prototype.notifyNext=function(e,t,n,o,r){this.emitValue()},t.prototype.notifyComplete=function(){this.emitValue()},t.prototype.emitValue=function(){if(this.hasValue){var t=this.value,n=this.durationSubscription;n&&(this.durationSubscription=null,n.unsubscribe(),this.remove(n)),this.value=null,this.hasValue=!1,e.prototype._next.call(this,t)}},t}(r.OuterSubscriber)},function(e,t,n){"use strict";var o=this&&this.__extends||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);function o(){this.constructor=e}e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},r=n(2),i=n(5);t.debounceTime=function(e,t){return void 0===t&&(t=i.async),function(n){return n.lift(new a(e,t))}};var a=function(){function e(e,t){this.dueTime=e,this.scheduler=t}return e.prototype.call=function(e,t){return t.subscribe(new s(e,this.dueTime,this.scheduler))},e}(),s=function(e){function t(t,n,o){e.call(this,t),this.dueTime=n,this.scheduler=o,this.debouncedSubscription=null,this.lastValue=null,this.hasValue=!1}return o(t,e),t.prototype._next=function(e){this.clearDebounce(),this.lastValue=e,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(c,this.dueTime,this))},t.prototype._complete=function(){this.debouncedNext(),this.destination.complete()},t.prototype.debouncedNext=function(){this.clearDebounce(),this.hasValue&&(this.destination.next(this.lastValue),this.lastValue=null,this.hasValue=!1)},t.prototype.clearDebounce=function(){var e=this.debouncedSubscription;null!==e&&(this.remove(e),e.unsubscribe(),this.debouncedSubscription=null)},t}(r.Subscriber);function c(e){e.debouncedNext()}},function(e,t,n){"use strict";var o=this&&this.__extends||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);function o(){this.constructor=e}e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},r=n(5),i=n(40),a=n(2),s=n(24);t.delay=function(e,t){void 0===t&&(t=r.async);var n=i.isDate(e)?+e-t.now():Math.abs(e);return function(e){return e.lift(new c(n,t))}};var c=function(){function e(e,t){this.delay=e,this.scheduler=t}return e.prototype.call=function(e,t){return t.subscribe(new l(e,this.delay,this.scheduler))},e}(),l=function(e){function t(t,n,o){e.call(this,t),this.delay=n,this.scheduler=o,this.queue=[],this.active=!1,this.errored=!1}return o(t,e),t.dispatch=function(e){for(var t=e.source,n=t.queue,o=e.scheduler,r=e.destination;n.length>0&&n[0].time-o.now()<=0;)n.shift().notification.observe(r);if(n.length>0){var i=Math.max(0,n[0].time-o.now());this.schedule(e,i)}else this.unsubscribe(),t.active=!1},t.prototype._schedule=function(e){this.active=!0,this.add(e.schedule(t.dispatch,this.delay,{source:this,destination:this.destination,scheduler:e}))},t.prototype.scheduleNotification=function(e){if(!0!==this.errored){var t=this.scheduler,n=new u(t.now()+this.delay,e);this.queue.push(n),!1===this.active&&this._schedule(t)}},t.prototype._next=function(e){this.scheduleNotification(s.Notification.createNext(e))},t.prototype._error=function(e){this.errored=!0,this.queue=[],this.destination.error(e)},t.prototype._complete=function(){this.scheduleNotification(s.Notification.createComplete())},t}(a.Subscriber),u=function(e,t){this.time=e,this.notification=t}},function(e,t,n){"use strict";var o=this&&this.__extends||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);function o(){this.constructor=e}e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},r=n(2),i=n(1),a=n(3),s=n(4);t.delayWhen=function(e,t){return t?function(n){return new u(n,t).lift(new c(e))}:function(t){return t.lift(new c(e))}};var c=function(){function e(e){this.delayDurationSelector=e}return e.prototype.call=function(e,t){return t.subscribe(new l(e,this.delayDurationSelector))},e}(),l=function(e){function t(t,n){e.call(this,t),this.delayDurationSelector=n,this.completed=!1,this.delayNotifierSubscriptions=[],this.values=[]}return o(t,e),t.prototype.notifyNext=function(e,t,n,o,r){this.destination.next(e),this.removeSubscription(r),this.tryComplete()},t.prototype.notifyError=function(e,t){this._error(e)},t.prototype.notifyComplete=function(e){var t=this.removeSubscription(e);t&&this.destination.next(t),this.tryComplete()},t.prototype._next=function(e){try{var t=this.delayDurationSelector(e);t&&this.tryDelay(t,e)}catch(e){this.destination.error(e)}},t.prototype._complete=function(){this.completed=!0,this.tryComplete()},t.prototype.removeSubscription=function(e){e.unsubscribe();var t=this.delayNotifierSubscriptions.indexOf(e),n=null;return-1!==t&&(n=this.values[t],this.delayNotifierSubscriptions.splice(t,1),this.values.splice(t,1)),n},t.prototype.tryDelay=function(e,t){var n=s.subscribeToResult(this,e,t);n&&!n.closed&&(this.add(n),this.delayNotifierSubscriptions.push(n)),this.values.push(t)},t.prototype.tryComplete=function(){this.completed&&0===this.delayNotifierSubscriptions.length&&this.destination.complete()},t}(a.OuterSubscriber),u=function(e){function t(t,n){e.call(this),this.source=t,this.subscriptionDelay=n}return o(t,e),t.prototype._subscribe=function(e){this.subscriptionDelay.subscribe(new d(e,this.source))},t}(i.Observable),d=function(e){function t(t,n){e.call(this),this.parent=t,this.source=n,this.sourceSubscribed=!1}return o(t,e),t.prototype._next=function(e){this.subscribeToSource()},t.prototype._error=function(e){this.unsubscribe(),this.parent.error(e)},t.prototype._complete=function(){this.subscribeToSource()},t.prototype.subscribeToSource=function(){this.sourceSubscribed||(this.sourceSubscribed=!0,this.unsubscribe(),this.source.subscribe(this.parent))},t}(r.Subscriber)},function(e,t,n){"use strict";var o=this&&this.__extends||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);function o(){this.constructor=e}e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},r=n(3),i=n(4),a=n(325);t.distinct=function(e,t){return function(n){return n.lift(new s(e,t))}};var s=function(){function e(e,t){this.keySelector=e,this.flushes=t}return e.prototype.call=function(e,t){return t.subscribe(new c(e,this.keySelector,this.flushes))},e}(),c=function(e){function t(t,n,o){e.call(this,t),this.keySelector=n,this.values=new a.Set,o&&this.add(i.subscribeToResult(this,o))}return o(t,e),t.prototype.notifyNext=function(e,t,n,o,r){this.values.clear()},t.prototype.notifyError=function(e,t){this._error(e)},t.prototype._next=function(e){this.keySelector?this._useKeySelector(e):this._finalizeNext(e,e)},t.prototype._useKeySelector=function(e){var t,n=this.destination;try{t=this.keySelector(e)}catch(e){return void n.error(e)}this._finalizeNext(t,e)},t.prototype._finalizeNext=function(e,t){var n=this.values;n.has(e)||(n.add(e),this.destination.next(t))},t}(r.OuterSubscriber);t.DistinctSubscriber=c},function(e,t,n){"use strict";var o=n(60);t.distinctUntilKeyChanged=function(e,t){return o.distinctUntilChanged((function(n,o){return t?t(n[e],o[e]):n[e]===o[e]}))}},function(e,t,n){"use strict";var o=this&&this.__extends||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);function o(){this.constructor=e}e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},r=n(2);t.tap=function(e,t,n){return function(o){return o.lift(new i(e,t,n))}};var i=function(){function e(e,t,n){this.nextOrObserver=e,this.error=t,this.complete=n}return e.prototype.call=function(e,t){return t.subscribe(new a(e,this.nextOrObserver,this.error,this.complete))},e}(),a=function(e){function t(t,n,o,i){e.call(this,t);var a=new r.Subscriber(n,o,i);a.syncErrorThrowable=!0,this.add(a),this.safeSubscriber=a}return o(t,e),t.prototype._next=function(e){var t=this.safeSubscriber;t.next(e),t.syncErrorThrown?this.destination.error(t.syncErrorValue):this.destination.next(e)},t.prototype._error=function(e){var t=this.safeSubscriber;t.error(e),t.syncErrorThrown?this.destination.error(t.syncErrorValue):this.destination.error(e)},t.prototype._complete=function(){var e=this.safeSubscriber;e.complete(),e.syncErrorThrown?this.destination.error(e.syncErrorValue):this.destination.complete()},t}(r.Subscriber)},function(e,t,n){"use strict";var o=this&&this.__extends||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);function o(){this.constructor=e}e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},r=n(3),i=n(4);t.exhaust=function(){return function(e){return e.lift(new a)}};var a=function(){function e(){}return e.prototype.call=function(e,t){return t.subscribe(new s(e))},e}(),s=function(e){function t(t){e.call(this,t),this.hasCompleted=!1,this.hasSubscription=!1}return o(t,e),t.prototype._next=function(e){this.hasSubscription||(this.hasSubscription=!0,this.add(i.subscribeToResult(this,e)))},t.prototype._complete=function(){this.hasCompleted=!0,this.hasSubscription||this.destination.complete()},t.prototype.notifyComplete=function(e){this.remove(e),this.hasSubscription=!1,this.hasCompleted&&this.destination.complete()},t}(r.OuterSubscriber)},function(e,t,n){"use strict";var o=this&&this.__extends||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);function o(){this.constructor=e}e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},r=n(3),i=n(4);t.exhaustMap=function(e,t){return function(n){return n.lift(new a(e,t))}};var a=function(){function e(e,t){this.project=e,this.resultSelector=t}return e.prototype.call=function(e,t){return t.subscribe(new s(e,this.project,this.resultSelector))},e}(),s=function(e){function t(t,n,o){e.call(this,t),this.project=n,this.resultSelector=o,this.hasSubscription=!1,this.hasCompleted=!1,this.index=0}return o(t,e),t.prototype._next=function(e){this.hasSubscription||this.tryNext(e)},t.prototype.tryNext=function(e){var t=this.index++,n=this.destination;try{var o=this.project(e,t);this.hasSubscription=!0,this.add(i.subscribeToResult(this,o,e,t))}catch(e){n.error(e)}},t.prototype._complete=function(){this.hasCompleted=!0,this.hasSubscription||this.destination.complete()},t.prototype.notifyNext=function(e,t,n,o,r){var i=this.resultSelector,a=this.destination;i?this.trySelectResult(e,t,n,o):a.next(t)},t.prototype.trySelectResult=function(e,t,n,o){var r=this.resultSelector,i=this.destination;try{var a=r(e,t,n,o);i.next(a)}catch(e){i.error(e)}},t.prototype.notifyError=function(e){this.destination.error(e)},t.prototype.notifyComplete=function(e){this.remove(e),this.hasSubscription=!1,this.hasCompleted&&this.destination.complete()},t}(r.OuterSubscriber)},function(e,t,n){"use strict";var o=this&&this.__extends||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);function o(){this.constructor=e}e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},r=n(9),i=n(8),a=n(3),s=n(4);t.expand=function(e,t,n){return void 0===t&&(t=Number.POSITIVE_INFINITY),void 0===n&&(n=void 0),t=(t||0)<1?Number.POSITIVE_INFINITY:t,function(o){return o.lift(new c(e,t,n))}};var c=function(){function e(e,t,n){this.project=e,this.concurrent=t,this.scheduler=n}return e.prototype.call=function(e,t){return t.subscribe(new l(e,this.project,this.concurrent,this.scheduler))},e}();t.ExpandOperator=c;var l=function(e){function t(t,n,o,r){e.call(this,t),this.project=n,this.concurrent=o,this.scheduler=r,this.index=0,this.active=0,this.hasCompleted=!1,o<Number.POSITIVE_INFINITY&&(this.buffer=[])}return o(t,e),t.dispatch=function(e){var t=e.subscriber,n=e.result,o=e.value,r=e.index;t.subscribeToProjection(n,o,r)},t.prototype._next=function(e){var n=this.destination;if(n.closed)this._complete();else{var o=this.index++;if(this.active<this.concurrent){n.next(e);var a=r.tryCatch(this.project)(e,o);if(a===i.errorObject)n.error(i.errorObject.e);else if(this.scheduler){var s={subscriber:this,result:a,value:e,index:o};this.add(this.scheduler.schedule(t.dispatch,0,s))}else this.subscribeToProjection(a,e,o)}else this.buffer.push(e)}},t.prototype.subscribeToProjection=function(e,t,n){this.active++,this.add(s.subscribeToResult(this,e,t,n))},t.prototype._complete=function(){this.hasCompleted=!0,this.hasCompleted&&0===this.active&&this.destination.complete()},t.prototype.notifyNext=function(e,t,n,o,r){this._next(t)},t.prototype.notifyComplete=function(e){var t=this.buffer;this.remove(e),this.active--,t&&t.length>0&&this._next(t.shift()),this.hasCompleted&&0===this.active&&this.destination.complete()},t}(a.OuterSubscriber);t.ExpandSubscriber=l},function(e,t,n){"use strict";var o=this&&this.__extends||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);function o(){this.constructor=e}e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},r=n(2),i=n(30);t.elementAt=function(e,t){return function(n){return n.lift(new a(e,t))}};var a=function(){function e(e,t){if(this.index=e,this.defaultValue=t,e<0)throw new i.ArgumentOutOfRangeError}return e.prototype.call=function(e,t){return t.subscribe(new s(e,this.index,this.defaultValue))},e}(),s=function(e){function t(t,n,o){e.call(this,t),this.index=n,this.defaultValue=o}return o(t,e),t.prototype._next=function(e){0==this.index--&&(this.destination.next(e),this.destination.complete())},t.prototype._complete=function(){var e=this.destination;this.index>=0&&(void 0!==this.defaultValue?e.next(this.defaultValue):e.error(new i.ArgumentOutOfRangeError)),e.complete()},t}(r.Subscriber)},function(e,t,n){"use strict";var o=this&&this.__extends||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);function o(){this.constructor=e}e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},r=n(2),i=n(7);t.finalize=function(e){return function(t){return t.lift(new a(e))}};var a=function(){function e(e){this.callback=e}return e.prototype.call=function(e,t){return t.subscribe(new s(e,this.callback))},e}(),s=function(e){function t(t,n){e.call(this,t),this.add(new i.Subscription(n))}return o(t,e),t}(r.Subscriber)},function(e,t,n){"use strict";var o=n(61);t.findIndex=function(e,t){return function(n){return n.lift(new o.FindValueOperator(e,n,!0,t))}}},function(e,t,n){"use strict";var o=this&&this.__extends||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);function o(){this.constructor=e}e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},r=n(2),i=n(43);t.first=function(e,t,n){return function(o){return o.lift(new a(e,t,n,o))}};var a=function(){function e(e,t,n,o){this.predicate=e,this.resultSelector=t,this.defaultValue=n,this.source=o}return e.prototype.call=function(e,t){return t.subscribe(new s(e,this.predicate,this.resultSelector,this.defaultValue,this.source))},e}(),s=function(e){function t(t,n,o,r,i){e.call(this,t),this.predicate=n,this.resultSelector=o,this.defaultValue=r,this.source=i,this.index=0,this.hasCompleted=!1,this._emitted=!1}return o(t,e),t.prototype._next=function(e){var t=this.index++;this.predicate?this._tryPredicate(e,t):this._emit(e,t)},t.prototype._tryPredicate=function(e,t){var n;try{n=this.predicate(e,t,this.source)}catch(e){return void this.destination.error(e)}n&&this._emit(e,t)},t.prototype._emit=function(e,t){this.resultSelector?this._tryResultSelector(e,t):this._emitFinal(e)},t.prototype._tryResultSelector=function(e,t){var n;try{n=this.resultSelector(e,t)}catch(e){return void this.destination.error(e)}this._emitFinal(n)},t.prototype._emitFinal=function(e){var t=this.destination;this._emitted||(this._emitted=!0,t.next(e),t.complete(),this.hasCompleted=!0)},t.prototype._complete=function(){var e=this.destination;this.hasCompleted||void 0===this.defaultValue?this.hasCompleted||e.error(new i.EmptyError):(e.next(this.defaultValue),e.complete())},t}(r.Subscriber)},function(e,t,n){"use strict";var o=this&&this.__extends||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);function o(){this.constructor=e}e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},r=n(2),i=n(7),a=n(1),s=n(6),c=n(350),l=n(352);t.groupBy=function(e,t,n,o){return function(r){return r.lift(new u(e,t,n,o))}};var u=function(){function e(e,t,n,o){this.keySelector=e,this.elementSelector=t,this.durationSelector=n,this.subjectSelector=o}return e.prototype.call=function(e,t){return t.subscribe(new d(e,this.keySelector,this.elementSelector,this.durationSelector,this.subjectSelector))},e}(),d=function(e){function t(t,n,o,r,i){e.call(this,t),this.keySelector=n,this.elementSelector=o,this.durationSelector=r,this.subjectSelector=i,this.groups=null,this.attemptedToUnsubscribe=!1,this.count=0}return o(t,e),t.prototype._next=function(e){var t;try{t=this.keySelector(e)}catch(e){return void this.error(e)}this._group(e,t)},t.prototype._group=function(e,t){var n=this.groups;n||(n=this.groups="string"==typeof t?new l.FastMap:new c.Map);var o,r=n.get(t);if(this.elementSelector)try{o=this.elementSelector(e)}catch(e){this.error(e)}else o=e;if(!r){r=this.subjectSelector?this.subjectSelector():new s.Subject,n.set(t,r);var i=new h(t,r,this);if(this.destination.next(i),this.durationSelector){var a=void 0;try{a=this.durationSelector(new h(t,r))}catch(e){return void this.error(e)}this.add(a.subscribe(new p(t,r,this)))}}r.closed||r.next(o)},t.prototype._error=function(e){var t=this.groups;t&&(t.forEach((function(t,n){t.error(e)})),t.clear()),this.destination.error(e)},t.prototype._complete=function(){var e=this.groups;e&&(e.forEach((function(e,t){e.complete()})),e.clear()),this.destination.complete()},t.prototype.removeGroup=function(e){this.groups.delete(e)},t.prototype.unsubscribe=function(){this.closed||(this.attemptedToUnsubscribe=!0,0===this.count&&e.prototype.unsubscribe.call(this))},t}(r.Subscriber),p=function(e){function t(t,n,o){e.call(this,n),this.key=t,this.group=n,this.parent=o}return o(t,e),t.prototype._next=function(e){this.complete()},t.prototype._unsubscribe=function(){var e=this.parent,t=this.key;this.key=this.parent=null,e&&e.removeGroup(t)},t}(r.Subscriber),h=function(e){function t(t,n,o){e.call(this),this.key=t,this.groupSubject=n,this.refCountSubscription=o}return o(t,e),t.prototype._subscribe=function(e){var t=new i.Subscription,n=this.refCountSubscription,o=this.groupSubject;return n&&!n.closed&&t.add(new f(n)),t.add(o.subscribe(e)),t},t}(a.Observable);t.GroupedObservable=h;var f=function(e){function t(t){e.call(this),this.parent=t,t.count++}return o(t,e),t.prototype.unsubscribe=function(){var t=this.parent;t.closed||this.closed||(e.prototype.unsubscribe.call(this),t.count-=1,0===t.count&&t.attemptedToUnsubscribe&&t.unsubscribe())},t}(i.Subscription)},function(e,t,n){"use strict";var o=this&&this.__extends||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);function o(){this.constructor=e}e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},r=n(2),i=n(51);t.ignoreElements=function(){return function(e){return e.lift(new a)}};var a=function(){function e(){}return e.prototype.call=function(e,t){return t.subscribe(new s(e))},e}(),s=function(e){function t(){e.apply(this,arguments)}return o(t,e),t.prototype._next=function(e){i.noop()},t}(r.Subscriber)},function(e,t,n){"use strict";var o=this&&this.__extends||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);function o(){this.constructor=e}e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},r=n(2);t.isEmpty=function(){return function(e){return e.lift(new i)}};var i=function(){function e(){}return e.prototype.call=function(e,t){return t.subscribe(new a(e))},e}(),a=function(e){function t(t){e.call(this,t)}return o(t,e),t.prototype.notifyComplete=function(e){var t=this.destination;t.next(e),t.complete()},t.prototype._next=function(e){this.notifyComplete(!1)},t.prototype._complete=function(){this.notifyComplete(!0)},t}(r.Subscriber)},function(e,t,n){"use strict";var o=n(5),r=n(62),i=n(107);t.auditTime=function(e,t){return void 0===t&&(t=o.async),r.audit((function(){return i.timer(e,t)}))}},function(e,t,n){"use strict";var o=this&&this.__extends||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);function o(){this.constructor=e}e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},r=n(2),i=n(43);t.last=function(e,t,n){return function(o){return o.lift(new a(e,t,n,o))}};var a=function(){function e(e,t,n,o){this.predicate=e,this.resultSelector=t,this.defaultValue=n,this.source=o}return e.prototype.call=function(e,t){return t.subscribe(new s(e,this.predicate,this.resultSelector,this.defaultValue,this.source))},e}(),s=function(e){function t(t,n,o,r,i){e.call(this,t),this.predicate=n,this.resultSelector=o,this.defaultValue=r,this.source=i,this.hasValue=!1,this.index=0,void 0!==r&&(this.lastValue=r,this.hasValue=!0)}return o(t,e),t.prototype._next=function(e){var t=this.index++;if(this.predicate)this._tryPredicate(e,t);else{if(this.resultSelector)return void this._tryResultSelector(e,t);this.lastValue=e,this.hasValue=!0}},t.prototype._tryPredicate=function(e,t){var n;try{n=this.predicate(e,t,this.source)}catch(e){return void this.destination.error(e)}if(n){if(this.resultSelector)return void this._tryResultSelector(e,t);this.lastValue=e,this.hasValue=!0}},t.prototype._tryResultSelector=function(e,t){var n;try{n=this.resultSelector(e,t)}catch(e){return void this.destination.error(e)}this.lastValue=n,this.hasValue=!0},t.prototype._complete=function(){var e=this.destination;this.hasValue?(e.next(this.lastValue),e.complete()):e.error(new i.EmptyError)},t}(r.Subscriber)},function(e,t,n){"use strict";var o=this&&this.__extends||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);function o(){this.constructor=e}e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},r=n(2);t.every=function(e,t){return function(n){return n.lift(new i(e,t,n))}};var i=function(){function e(e,t,n){this.predicate=e,this.thisArg=t,this.source=n}return e.prototype.call=function(e,t){return t.subscribe(new a(e,this.predicate,this.thisArg,this.source))},e}(),a=function(e){function t(t,n,o,r){e.call(this,t),this.predicate=n,this.thisArg=o,this.source=r,this.index=0,this.thisArg=o||this}return o(t,e),t.prototype.notifyComplete=function(e){this.destination.next(e),this.destination.complete()},t.prototype._next=function(e){var t=!1;try{t=this.predicate.call(this.thisArg,e,this.index++,this.source)}catch(e){return void this.destination.error(e)}t||this.notifyComplete(!1)},t.prototype._complete=function(){this.notifyComplete(!0)},t}(r.Subscriber)},function(e,t,n){"use strict";var o=this&&this.__extends||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);function o(){this.constructor=e}e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},r=n(2);t.mapTo=function(e){return function(t){return t.lift(new i(e))}};var i=function(){function e(e){this.value=e}return e.prototype.call=function(e,t){return t.subscribe(new a(e,this.value))},e}(),a=function(e){function t(t,n){e.call(this,t),this.value=n}return o(t,e),t.prototype._next=function(e){this.destination.next(this.value)},t}(r.Subscriber)},function(e,t,n){"use strict";var o=this&&this.__extends||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);function o(){this.constructor=e}e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},r=n(2),i=n(24);t.materialize=function(){return function(e){return e.lift(new a)}};var a=function(){function e(){}return e.prototype.call=function(e,t){return t.subscribe(new s(e))},e}(),s=function(e){function t(t){e.call(this,t)}return o(t,e),t.prototype._next=function(e){this.destination.next(i.Notification.createNext(e))},t.prototype._error=function(e){var t=this.destination;t.next(i.Notification.createError(e)),t.complete()},t.prototype._complete=function(){var e=this.destination;e.next(i.Notification.createComplete()),e.complete()},t}(r.Subscriber)},function(e,t,n){"use strict";var o=n(31);t.max=function(e){var t="function"==typeof e?function(t,n){return e(t,n)>0?t:n}:function(e,t){return e>t?e:t};return o.reduce(t)}},function(e,t,n){"use strict";var o=n(20),r=n(20);t.mergeStatic=r.merge,t.merge=function(){for(var e=[],t=0;t<arguments.length;t++)e[t-0]=arguments[t];return function(t){return t.lift.call(o.merge.apply(void 0,[t].concat(e)))}}},function(e,t,n){"use strict";var o=this&&this.__extends||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);function o(){this.constructor=e}e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},r=n(3),i=n(4);t.mergeMapTo=function(e,t,n){return void 0===n&&(n=Number.POSITIVE_INFINITY),"number"==typeof t&&(n=t,t=null),function(o){return o.lift(new a(e,t,n))}};var a=function(){function e(e,t,n){void 0===n&&(n=Number.POSITIVE_INFINITY),this.ish=e,this.resultSelector=t,this.concurrent=n}return e.prototype.call=function(e,t){return t.subscribe(new s(e,this.ish,this.resultSelector,this.concurrent))},e}();t.MergeMapToOperator=a;var s=function(e){function t(t,n,o,r){void 0===r&&(r=Number.POSITIVE_INFINITY),e.call(this,t),this.ish=n,this.resultSelector=o,this.concurrent=r,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}return o(t,e),t.prototype._next=function(e){if(this.active<this.concurrent){var t=this.resultSelector,n=this.index++,o=this.ish,r=this.destination;this.active++,this._innerSub(o,r,t,e,n)}else this.buffer.push(e)},t.prototype._innerSub=function(e,t,n,o,r){this.add(i.subscribeToResult(this,e,o,r))},t.prototype._complete=function(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete()},t.prototype.notifyNext=function(e,t,n,o,r){var i=this.resultSelector,a=this.destination;i?this.trySelectResult(e,t,n,o):a.next(t)},t.prototype.trySelectResult=function(e,t,n,o){var r,i=this.resultSelector,a=this.destination;try{r=i(e,t,n,o)}catch(e){return void a.error(e)}a.next(r)},t.prototype.notifyError=function(e){this.destination.error(e)},t.prototype.notifyComplete=function(e){var t=this.buffer;this.remove(e),this.active--,t.length>0?this._next(t.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()},t}(r.OuterSubscriber);t.MergeMapToSubscriber=s},function(e,t,n){"use strict";var o=this&&this.__extends||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);function o(){this.constructor=e}e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},r=n(9),i=n(8),a=n(4),s=n(3);t.mergeScan=function(e,t,n){return void 0===n&&(n=Number.POSITIVE_INFINITY),function(o){return o.lift(new c(e,t,n))}};var c=function(){function e(e,t,n){this.accumulator=e,this.seed=t,this.concurrent=n}return e.prototype.call=function(e,t){return t.subscribe(new l(e,this.accumulator,this.seed,this.concurrent))},e}();t.MergeScanOperator=c;var l=function(e){function t(t,n,o,r){e.call(this,t),this.accumulator=n,this.acc=o,this.concurrent=r,this.hasValue=!1,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}return o(t,e),t.prototype._next=function(e){if(this.active<this.concurrent){var t=this.index++,n=r.tryCatch(this.accumulator)(this.acc,e),o=this.destination;n===i.errorObject?o.error(i.errorObject.e):(this.active++,this._innerSub(n,e,t))}else this.buffer.push(e)},t.prototype._innerSub=function(e,t,n){this.add(a.subscribeToResult(this,e,t,n))},t.prototype._complete=function(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&(!1===this.hasValue&&this.destination.next(this.acc),this.destination.complete())},t.prototype.notifyNext=function(e,t,n,o,r){var i=this.destination;this.acc=t,this.hasValue=!0,i.next(t)},t.prototype.notifyComplete=function(e){var t=this.buffer;this.remove(e),this.active--,t.length>0?this._next(t.shift()):0===this.active&&this.hasCompleted&&(!1===this.hasValue&&this.destination.next(this.acc),this.destination.complete())},t}(s.OuterSubscriber);t.MergeScanSubscriber=l},function(e,t,n){"use strict";var o=n(31);t.min=function(e){var t="function"==typeof e?function(t,n){return e(t,n)<0?t:n}:function(e,t){return e<t?e:t};return o.reduce(t)}},function(e,t,n){"use strict";var o=this&&this.__extends||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);function o(){this.constructor=e}e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},r=n(6),i=n(1),a=n(2),s=n(7),c=n(65),l=function(e){function t(t,n){e.call(this),this.source=t,this.subjectFactory=n,this._refCount=0,this._isComplete=!1}return o(t,e),t.prototype._subscribe=function(e){return this.getSubject().subscribe(e)},t.prototype.getSubject=function(){var e=this._subject;return e&&!e.isStopped||(this._subject=this.subjectFactory()),this._subject},t.prototype.connect=function(){var e=this._connection;return e||(this._isComplete=!1,(e=this._connection=new s.Subscription).add(this.source.subscribe(new d(this.getSubject(),this))),e.closed?(this._connection=null,e=s.Subscription.EMPTY):this._connection=e),e},t.prototype.refCount=function(){return c.refCount()(this)},t}(i.Observable);t.ConnectableObservable=l;var u=l.prototype;t.connectableObservableDescriptor={operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:u._subscribe},_isComplete:{value:u._isComplete,writable:!0},getSubject:{value:u.getSubject},connect:{value:u.connect},refCount:{value:u.refCount}};var d=function(e){function t(t,n){e.call(this,t),this.connectable=n}return o(t,e),t.prototype._error=function(t){this._unsubscribe(),e.prototype._error.call(this,t)},t.prototype._complete=function(){this.connectable._isComplete=!0,this._unsubscribe(),e.prototype._complete.call(this)},t.prototype._unsubscribe=function(){var e=this.connectable;if(e){this.connectable=null;var t=e._connection;e._refCount=0,e._subject=null,e._connection=null,t&&t.unsubscribe()}},t}(r.SubjectSubscriber),p=(function(){function e(e){this.connectable=e}e.prototype.call=function(e,t){var n=this.connectable;n._refCount++;var o=new p(e,n),r=t.subscribe(o);return o.closed||(o.connection=n.connect()),r}}(),function(e){function t(t,n){e.call(this,t),this.connectable=n}return o(t,e),t.prototype._unsubscribe=function(){var e=this.connectable;if(e){this.connectable=null;var t=e._refCount;if(t<=0)this.connection=null;else if(e._refCount=t-1,t>1)this.connection=null;else{var n=this.connection,o=e._connection;this.connection=null,!o||n&&o!==n||o.unsubscribe()}}else this.connection=null},t}(a.Subscriber))},function(e,t,n){"use strict";var o=this&&this.__extends||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);function o(){this.constructor=e}e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},r=n(2);t.pairwise=function(){return function(e){return e.lift(new i)}};var i=function(){function e(){}return e.prototype.call=function(e,t){return t.subscribe(new a(e))},e}(),a=function(e){function t(t){e.call(this,t),this.hasPrev=!1}return o(t,e),t.prototype._next=function(e){this.hasPrev?this.destination.next([this.prev,e]):this.hasPrev=!0,this.prev=e},t}(r.Subscriber)},function(e,t,n){"use strict";var o=n(393),r=n(54);t.partition=function(e,t){return function(n){return[r.filter(e,t)(n),r.filter(o.not(e,t))(n)]}}},function(e,t,n){"use strict";var o=n(22);function r(e,t){return function(n){for(var o=n,r=0;r<t;r++){var i=o[e[r]];if(void 0===i)return;o=i}return o}}t.pluck=function(){for(var e=[],t=0;t<arguments.length;t++)e[t-0]=arguments[t];var n=e.length;if(0===n)throw new Error("list of properties cannot be empty.");return function(t){return o.map(r(e,n))(t)}}},function(e,t,n){"use strict";var o=n(6),r=n(19);t.publish=function(e){return e?r.multicast((function(){return new o.Subject}),e):r.multicast(new o.Subject)}},function(e,t,n){"use strict";var o=n(152),r=n(19);t.publishBehavior=function(e){return function(t){return r.multicast(new o.BehaviorSubject(e))(t)}}},function(e,t,n){"use strict";var o=this&&this.__extends||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);function o(){this.constructor=e}e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},r=n(6),i=n(35),a=function(e){function t(t){e.call(this),this._value=t}return o(t,e),Object.defineProperty(t.prototype,"value",{get:function(){return this.getValue()},enumerable:!0,configurable:!0}),t.prototype._subscribe=function(t){var n=e.prototype._subscribe.call(this,t);return n&&!n.closed&&t.next(this._value),n},t.prototype.getValue=function(){if(this.hasError)throw this.thrownError;if(this.closed)throw new i.ObjectUnsubscribedError;return this._value},t.prototype.next=function(t){e.prototype.next.call(this,this._value=t)},t}(r.Subject);t.BehaviorSubject=a},function(e,t,n){"use strict";var o=n(42),r=n(19);t.publishReplay=function(e,t,n,i){n&&"function"!=typeof n&&(i=n);var a="function"==typeof n?n:void 0,s=new o.ReplaySubject(e,t,i);return function(e){return r.multicast((function(){return s}),a)(e)}}},function(e,t,n){"use strict";var o=n(38),r=n(19);t.publishLast=function(){return function(e){return r.multicast(new o.AsyncSubject)(e)}}},function(e,t,n){"use strict";var o=n(13),r=n(56);t.race=function(){for(var e=[],t=0;t<arguments.length;t++)e[t-0]=arguments[t];return function(t){return 1===e.length&&o.isArray(e[0])&&(e=e[0]),t.lift.call(r.race.apply(void 0,[t].concat(e)))}}},function(e,t,n){"use strict";var o=this&&this.__extends||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);function o(){this.constructor=e}e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},r=n(2),i=n(17);t.repeat=function(e){return void 0===e&&(e=-1),function(t){return 0===e?new i.EmptyObservable:e<0?t.lift(new a(-1,t)):t.lift(new a(e-1,t))}};var a=function(){function e(e,t){this.count=e,this.source=t}return e.prototype.call=function(e,t){return t.subscribe(new s(e,this.count,this.source))},e}(),s=function(e){function t(t,n,o){e.call(this,t),this.count=n,this.source=o}return o(t,e),t.prototype.complete=function(){if(!this.isStopped){var t=this.source,n=this.count;if(0===n)return e.prototype.complete.call(this);n>-1&&(this.count=n-1),t.subscribe(this._unsubscribeAndRecycle())}},t}(r.Subscriber)},function(e,t,n){"use strict";var o=this&&this.__extends||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);function o(){this.constructor=e}e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},r=n(6),i=n(9),a=n(8),s=n(3),c=n(4);t.repeatWhen=function(e){return function(t){return t.lift(new l(e))}};var l=function(){function e(e){this.notifier=e}return e.prototype.call=function(e,t){return t.subscribe(new u(e,this.notifier,t))},e}(),u=function(e){function t(t,n,o){e.call(this,t),this.notifier=n,this.source=o,this.sourceIsBeingSubscribedTo=!0}return o(t,e),t.prototype.notifyNext=function(e,t,n,o,r){this.sourceIsBeingSubscribedTo=!0,this.source.subscribe(this)},t.prototype.notifyComplete=function(t){if(!1===this.sourceIsBeingSubscribedTo)return e.prototype.complete.call(this)},t.prototype.complete=function(){if(this.sourceIsBeingSubscribedTo=!1,!this.isStopped){if(this.retries||this.subscribeToRetries(),!this.retriesSubscription||this.retriesSubscription.closed)return e.prototype.complete.call(this);this._unsubscribeAndRecycle(),this.notifications.next()}},t.prototype._unsubscribe=function(){var e=this.notifications,t=this.retriesSubscription;e&&(e.unsubscribe(),this.notifications=null),t&&(t.unsubscribe(),this.retriesSubscription=null),this.retries=null},t.prototype._unsubscribeAndRecycle=function(){var t=this.notifications,n=this.retries,o=this.retriesSubscription;return this.notifications=null,this.retries=null,this.retriesSubscription=null,e.prototype._unsubscribeAndRecycle.call(this),this.notifications=t,this.retries=n,this.retriesSubscription=o,this},t.prototype.subscribeToRetries=function(){this.notifications=new r.Subject;var t=i.tryCatch(this.notifier)(this.notifications);if(t===a.errorObject)return e.prototype.complete.call(this);this.retries=t,this.retriesSubscription=c.subscribeToResult(this,t)},t}(s.OuterSubscriber)},function(e,t,n){"use strict";var o=this&&this.__extends||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);function o(){this.constructor=e}e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},r=n(6),i=n(9),a=n(8),s=n(3),c=n(4);t.retryWhen=function(e){return function(t){return t.lift(new l(e,t))}};var l=function(){function e(e,t){this.notifier=e,this.source=t}return e.prototype.call=function(e,t){return t.subscribe(new u(e,this.notifier,this.source))},e}(),u=function(e){function t(t,n,o){e.call(this,t),this.notifier=n,this.source=o}return o(t,e),t.prototype.error=function(t){if(!this.isStopped){var n=this.errors,o=this.retries,s=this.retriesSubscription;if(o)this.errors=null,this.retriesSubscription=null;else{if(n=new r.Subject,(o=i.tryCatch(this.notifier)(n))===a.errorObject)return e.prototype.error.call(this,a.errorObject.e);s=c.subscribeToResult(this,o)}this._unsubscribeAndRecycle(),this.errors=n,this.retries=o,this.retriesSubscription=s,n.next(t)}},t.prototype._unsubscribe=function(){var e=this.errors,t=this.retriesSubscription;e&&(e.unsubscribe(),this.errors=null),t&&(t.unsubscribe(),this.retriesSubscription=null),this.retries=null},t.prototype.notifyNext=function(e,t,n,o,r){var i=this.errors,a=this.retries,s=this.retriesSubscription;this.errors=null,this.retries=null,this.retriesSubscription=null,this._unsubscribeAndRecycle(),this.errors=i,this.retries=a,this.retriesSubscription=s,this.source.subscribe(this)},t}(s.OuterSubscriber)},function(e,t,n){"use strict";var o=this&&this.__extends||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);function o(){this.constructor=e}e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},r=n(3),i=n(4);t.sample=function(e){return function(t){return t.lift(new a(e))}};var a=function(){function e(e){this.notifier=e}return e.prototype.call=function(e,t){var n=new s(e),o=t.subscribe(n);return o.add(i.subscribeToResult(n,this.notifier)),o},e}(),s=function(e){function t(){e.apply(this,arguments),this.hasValue=!1}return o(t,e),t.prototype._next=function(e){this.value=e,this.hasValue=!0},t.prototype.notifyNext=function(e,t,n,o,r){this.emitValue()},t.prototype.notifyComplete=function(){this.emitValue()},t.prototype.emitValue=function(){this.hasValue&&(this.hasValue=!1,this.destination.next(this.value))},t}(r.OuterSubscriber)},function(e,t,n){"use strict";var o=this&&this.__extends||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);function o(){this.constructor=e}e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},r=n(2),i=n(5);t.sampleTime=function(e,t){return void 0===t&&(t=i.async),function(n){return n.lift(new a(e,t))}};var a=function(){function e(e,t){this.period=e,this.scheduler=t}return e.prototype.call=function(e,t){return t.subscribe(new s(e,this.period,this.scheduler))},e}(),s=function(e){function t(t,n,o){e.call(this,t),this.period=n,this.scheduler=o,this.hasValue=!1,this.add(o.schedule(c,n,{subscriber:this,period:n}))}return o(t,e),t.prototype._next=function(e){this.lastValue=e,this.hasValue=!0},t.prototype.notifyNext=function(){this.hasValue&&(this.hasValue=!1,this.destination.next(this.lastValue))},t}(r.Subscriber);function c(e){var t=e.subscriber,n=e.period;t.notifyNext(),this.schedule(e,n)}},function(e,t,n){"use strict";var o=this&&this.__extends||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);function o(){this.constructor=e}e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},r=n(2),i=n(9),a=n(8);t.sequenceEqual=function(e,t){return function(n){return n.lift(new s(e,t))}};var s=function(){function e(e,t){this.compareTo=e,this.comparor=t}return e.prototype.call=function(e,t){return t.subscribe(new c(e,this.compareTo,this.comparor))},e}();t.SequenceEqualOperator=s;var c=function(e){function t(t,n,o){e.call(this,t),this.compareTo=n,this.comparor=o,this._a=[],this._b=[],this._oneComplete=!1,this.add(n.subscribe(new l(t,this)))}return o(t,e),t.prototype._next=function(e){this._oneComplete&&0===this._b.length?this.emit(!1):(this._a.push(e),this.checkValues())},t.prototype._complete=function(){this._oneComplete?this.emit(0===this._a.length&&0===this._b.length):this._oneComplete=!0},t.prototype.checkValues=function(){for(var e=this._a,t=this._b,n=this.comparor;e.length>0&&t.length>0;){var o=e.shift(),r=t.shift(),s=!1;n?(s=i.tryCatch(n)(o,r))===a.errorObject&&this.destination.error(a.errorObject.e):s=o===r,s||this.emit(!1)}},t.prototype.emit=function(e){var t=this.destination;t.next(e),t.complete()},t.prototype.nextB=function(e){this._oneComplete&&0===this._a.length?this.emit(!1):(this._b.push(e),this.checkValues())},t}(r.Subscriber);t.SequenceEqualSubscriber=c;var l=function(e){function t(t,n){e.call(this,t),this.parent=n}return o(t,e),t.prototype._next=function(e){this.parent.nextB(e)},t.prototype._error=function(e){this.parent.error(e)},t.prototype._complete=function(){this.parent._complete()},t}(r.Subscriber)},function(e,t,n){"use strict";var o=n(19),r=n(65),i=n(6);function a(){return new i.Subject}t.share=function(){return function(e){return r.refCount()(o.multicast(a)(e))}}},function(e,t,n){"use strict";var o=n(42);t.shareReplay=function(e,t,n){return function(r){return r.lift(function(e,t,n){var r,i,a=0,s=!1,c=!1;return function(l){a++,r&&!s||(s=!1,r=new o.ReplaySubject(e,t,n),i=l.subscribe({next:function(e){r.next(e)},error:function(e){s=!0,r.error(e)},complete:function(){c=!0,r.complete()}}));var u=r.subscribe(this);return function(){a--,u.unsubscribe(),i&&0===a&&c&&i.unsubscribe()}}}(e,t,n))}}},function(e,t,n){"use strict";var o=this&&this.__extends||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);function o(){this.constructor=e}e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},r=n(2),i=n(43);t.single=function(e){return function(t){return t.lift(new a(e,t))}};var a=function(){function e(e,t){this.predicate=e,this.source=t}return e.prototype.call=function(e,t){return t.subscribe(new s(e,this.predicate,this.source))},e}(),s=function(e){function t(t,n,o){e.call(this,t),this.predicate=n,this.source=o,this.seenValue=!1,this.index=0}return o(t,e),t.prototype.applySingleValue=function(e){this.seenValue?this.destination.error("Sequence contains more than one element"):(this.seenValue=!0,this.singleValue=e)},t.prototype._next=function(e){var t=this.index++;this.predicate?this.tryNext(e,t):this.applySingleValue(e)},t.prototype.tryNext=function(e,t){try{this.predicate(e,t,this.source)&&this.applySingleValue(e)}catch(e){this.destination.error(e)}},t.prototype._complete=function(){var e=this.destination;this.index>0?(e.next(this.seenValue?this.singleValue:void 0),e.complete()):e.error(new i.EmptyError)},t}(r.Subscriber)},function(e,t,n){"use strict";var o=this&&this.__extends||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);function o(){this.constructor=e}e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},r=n(2);t.skip=function(e){return function(t){return t.lift(new i(e))}};var i=function(){function e(e){this.total=e}return e.prototype.call=function(e,t){return t.subscribe(new a(e,this.total))},e}(),a=function(e){function t(t,n){e.call(this,t),this.total=n,this.count=0}return o(t,e),t.prototype._next=function(e){++this.count>this.total&&this.destination.next(e)},t}(r.Subscriber)},function(e,t,n){"use strict";var o=this&&this.__extends||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);function o(){this.constructor=e}e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},r=n(2),i=n(30);t.skipLast=function(e){return function(t){return t.lift(new a(e))}};var a=function(){function e(e){if(this._skipCount=e,this._skipCount<0)throw new i.ArgumentOutOfRangeError}return e.prototype.call=function(e,t){return 0===this._skipCount?t.subscribe(new r.Subscriber(e)):t.subscribe(new s(e,this._skipCount))},e}(),s=function(e){function t(t,n){e.call(this,t),this._skipCount=n,this._count=0,this._ring=new Array(n)}return o(t,e),t.prototype._next=function(e){var t=this._skipCount,n=this._count++;if(n<t)this._ring[n]=e;else{var o=n%t,r=this._ring,i=r[o];r[o]=e,this.destination.next(i)}},t}(r.Subscriber)},function(e,t,n){"use strict";var o=this&&this.__extends||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);function o(){this.constructor=e}e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},r=n(3),i=n(4);t.skipUntil=function(e){return function(t){return t.lift(new a(e))}};var a=function(){function e(e){this.notifier=e}return e.prototype.call=function(e,t){return t.subscribe(new s(e,this.notifier))},e}(),s=function(e){function t(t,n){e.call(this,t),this.hasValue=!1,this.isInnerStopped=!1,this.add(i.subscribeToResult(this,n))}return o(t,e),t.prototype._next=function(t){this.hasValue&&e.prototype._next.call(this,t)},t.prototype._complete=function(){this.isInnerStopped?e.prototype._complete.call(this):this.unsubscribe()},t.prototype.notifyNext=function(e,t,n,o,r){this.hasValue=!0},t.prototype.notifyComplete=function(){this.isInnerStopped=!0,this.isStopped&&e.prototype._complete.call(this)},t}(r.OuterSubscriber)},function(e,t,n){"use strict";var o=this&&this.__extends||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);function o(){this.constructor=e}e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},r=n(2);t.skipWhile=function(e){return function(t){return t.lift(new i(e))}};var i=function(){function e(e){this.predicate=e}return e.prototype.call=function(e,t){return t.subscribe(new a(e,this.predicate))},e}(),a=function(e){function t(t,n){e.call(this,t),this.predicate=n,this.skipping=!0,this.index=0}return o(t,e),t.prototype._next=function(e){var t=this.destination;this.skipping&&this.tryCallPredicate(e),this.skipping||t.next(e)},t.prototype.tryCallPredicate=function(e){try{var t=this.predicate(e,this.index++);this.skipping=Boolean(t)}catch(e){this.destination.error(e)}},t}(r.Subscriber)},function(e,t,n){"use strict";var o=n(16),r=n(53),i=n(17),a=n(29),s=n(12);t.startWith=function(){for(var e=[],t=0;t<arguments.length;t++)e[t-0]=arguments[t];return function(t){var n=e[e.length-1];s.isScheduler(n)?e.pop():n=null;var c=e.length;return 1===c?a.concat(new r.ScalarObservable(e[0],n),t):c>1?a.concat(new o.ArrayObservable(e,n),t):a.concat(new i.EmptyObservable(n),t)}}},function(e,t,n){"use strict";var o=n(442),r=n(444);t.asap=new r.AsapScheduler(o.AsapAction)},function(e,t,n){"use strict";var o=n(52),r=n(84);t.switchAll=function(){return o.switchMap(r.identity)}},function(e,t,n){"use strict";var o=this&&this.__extends||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);function o(){this.constructor=e}e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},r=n(3),i=n(4);t.switchMapTo=function(e,t){return function(n){return n.lift(new a(e,t))}};var a=function(){function e(e,t){this.observable=e,this.resultSelector=t}return e.prototype.call=function(e,t){return t.subscribe(new s(e,this.observable,this.resultSelector))},e}(),s=function(e){function t(t,n,o){e.call(this,t),this.inner=n,this.resultSelector=o,this.index=0}return o(t,e),t.prototype._next=function(e){var t=this.innerSubscription;t&&t.unsubscribe(),this.add(this.innerSubscription=i.subscribeToResult(this,this.inner,e,this.index++))},t.prototype._complete=function(){var t=this.innerSubscription;t&&!t.closed||e.prototype._complete.call(this)},t.prototype._unsubscribe=function(){this.innerSubscription=null},t.prototype.notifyComplete=function(t){this.remove(t),this.innerSubscription=null,this.isStopped&&e.prototype._complete.call(this)},t.prototype.notifyNext=function(e,t,n,o,r){var i=this.resultSelector,a=this.destination;i?this.tryResultSelector(e,t,n,o):a.next(t)},t.prototype.tryResultSelector=function(e,t,n,o){var r,i=this.resultSelector,a=this.destination;try{r=i(e,t,n,o)}catch(e){return void a.error(e)}a.next(r)},t}(r.OuterSubscriber)},function(e,t,n){"use strict";var o=this&&this.__extends||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);function o(){this.constructor=e}e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},r=n(2),i=n(30),a=n(17);t.take=function(e){return function(t){return 0===e?new a.EmptyObservable:t.lift(new s(e))}};var s=function(){function e(e){if(this.total=e,this.total<0)throw new i.ArgumentOutOfRangeError}return e.prototype.call=function(e,t){return t.subscribe(new c(e,this.total))},e}(),c=function(e){function t(t,n){e.call(this,t),this.total=n,this.count=0}return o(t,e),t.prototype._next=function(e){var t=this.total,n=++this.count;n<=t&&(this.destination.next(e),n===t&&(this.destination.complete(),this.unsubscribe()))},t}(r.Subscriber)},function(e,t,n){"use strict";var o=this&&this.__extends||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);function o(){this.constructor=e}e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},r=n(2),i=n(5),a=n(44);t.throttleTime=function(e,t,n){return void 0===t&&(t=i.async),void 0===n&&(n=a.defaultThrottleConfig),function(o){return o.lift(new s(e,t,n.leading,n.trailing))}};var s=function(){function e(e,t,n,o){this.duration=e,this.scheduler=t,this.leading=n,this.trailing=o}return e.prototype.call=function(e,t){return t.subscribe(new c(e,this.duration,this.scheduler,this.leading,this.trailing))},e}(),c=function(e){function t(t,n,o,r,i){e.call(this,t),this.duration=n,this.scheduler=o,this.leading=r,this.trailing=i,this._hasTrailingValue=!1,this._trailingValue=null}return o(t,e),t.prototype._next=function(e){this.throttled?this.trailing&&(this._trailingValue=e,this._hasTrailingValue=!0):(this.add(this.throttled=this.scheduler.schedule(l,this.duration,{subscriber:this})),this.leading&&this.destination.next(e))},t.prototype.clearThrottle=function(){var e=this.throttled;e&&(this.trailing&&this._hasTrailingValue&&(this.destination.next(this._trailingValue),this._trailingValue=null,this._hasTrailingValue=!1),e.unsubscribe(),this.remove(e),this.throttled=null)},t}(r.Subscriber);function l(e){e.subscriber.clearThrottle()}},function(e,t,n){"use strict";var o=n(5),r=n(176);t.TimeInterval=r.TimeInterval,t.timeInterval=function(e){return void 0===e&&(e=o.async),r.timeInterval(e)(this)}},function(e,t,n){"use strict";var o=this&&this.__extends||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);function o(){this.constructor=e}e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},r=n(2),i=n(5);t.timeInterval=function(e){return void 0===e&&(e=i.async),function(t){return t.lift(new s(e))}};var a=function(e,t){this.value=e,this.interval=t};t.TimeInterval=a;var s=function(){function e(e){this.scheduler=e}return e.prototype.call=function(e,t){return t.subscribe(new c(e,this.scheduler))},e}(),c=function(e){function t(t,n){e.call(this,t),this.scheduler=n,this.lastTime=0,this.lastTime=n.now()}return o(t,e),t.prototype._next=function(e){var t=this.scheduler.now(),n=t-this.lastTime;this.lastTime=t,this.destination.next(new a(e,n))},t}(r.Subscriber)},function(e,t,n){"use strict";var o=this&&this.__extends||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);function o(){this.constructor=e}e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},r=n(5),i=n(40),a=n(2),s=n(178);t.timeout=function(e,t){void 0===t&&(t=r.async);var n=i.isDate(e),o=n?+e-t.now():Math.abs(e);return function(e){return e.lift(new c(o,n,t,new s.TimeoutError))}};var c=function(){function e(e,t,n,o){this.waitFor=e,this.absoluteTimeout=t,this.scheduler=n,this.errorInstance=o}return e.prototype.call=function(e,t){return t.subscribe(new l(e,this.absoluteTimeout,this.waitFor,this.scheduler,this.errorInstance))},e}(),l=function(e){function t(t,n,o,r,i){e.call(this,t),this.absoluteTimeout=n,this.waitFor=o,this.scheduler=r,this.errorInstance=i,this.action=null,this.scheduleTimeout()}return o(t,e),t.dispatchTimeout=function(e){e.error(e.errorInstance)},t.prototype.scheduleTimeout=function(){var e=this.action;e?this.action=e.schedule(this,this.waitFor):this.add(this.action=this.scheduler.schedule(t.dispatchTimeout,this.waitFor,this))},t.prototype._next=function(t){this.absoluteTimeout||this.scheduleTimeout(),e.prototype._next.call(this,t)},t.prototype._unsubscribe=function(){this.action=null,this.scheduler=null,this.errorInstance=null},t}(a.Subscriber)},function(e,t,n){"use strict";var o=this&&this.__extends||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);function o(){this.constructor=e}e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},r=function(e){function t(){var t=e.call(this,"Timeout has occurred");this.name=t.name="TimeoutError",this.stack=t.stack,this.message=t.message}return o(t,e),t}(Error);t.TimeoutError=r},function(e,t,n){"use strict";var o=this&&this.__extends||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);function o(){this.constructor=e}e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},r=n(5),i=n(40),a=n(3),s=n(4);t.timeoutWith=function(e,t,n){return void 0===n&&(n=r.async),function(o){var r=i.isDate(e),a=r?+e-n.now():Math.abs(e);return o.lift(new c(a,r,t,n))}};var c=function(){function e(e,t,n,o){this.waitFor=e,this.absoluteTimeout=t,this.withObservable=n,this.scheduler=o}return e.prototype.call=function(e,t){return t.subscribe(new l(e,this.absoluteTimeout,this.waitFor,this.withObservable,this.scheduler))},e}(),l=function(e){function t(t,n,o,r,i){e.call(this,t),this.absoluteTimeout=n,this.waitFor=o,this.withObservable=r,this.scheduler=i,this.action=null,this.scheduleTimeout()}return o(t,e),t.dispatchTimeout=function(e){var t=e.withObservable;e._unsubscribeAndRecycle(),e.add(s.subscribeToResult(e,t))},t.prototype.scheduleTimeout=function(){var e=this.action;e?this.action=e.schedule(this,this.waitFor):this.add(this.action=this.scheduler.schedule(t.dispatchTimeout,this.waitFor,this))},t.prototype._next=function(t){this.absoluteTimeout||this.scheduleTimeout(),e.prototype._next.call(this,t)},t.prototype._unsubscribe=function(){this.action=null,this.scheduler=null,this.withObservable=null},t}(a.OuterSubscriber)},function(e,t,n){"use strict";var o=n(31);function r(e,t,n){return 0===n?[t]:(e.push(t),e)}t.toArray=function(){return o.reduce(r,[])}},function(e,t,n){"use strict";var o=this&&this.__extends||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);function o(){this.constructor=e}e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},r=n(6),i=n(3),a=n(4);t.window=function(e){return function(t){return t.lift(new s(e))}};var s=function(){function e(e){this.windowBoundaries=e}return e.prototype.call=function(e,t){var n=new c(e),o=t.subscribe(n);return o.closed||n.add(a.subscribeToResult(n,this.windowBoundaries)),o},e}(),c=function(e){function t(t){e.call(this,t),this.window=new r.Subject,t.next(this.window)}return o(t,e),t.prototype.notifyNext=function(e,t,n,o,r){this.openWindow()},t.prototype.notifyError=function(e,t){this._error(e)},t.prototype.notifyComplete=function(e){this._complete()},t.prototype._next=function(e){this.window.next(e)},t.prototype._error=function(e){this.window.error(e),this.destination.error(e)},t.prototype._complete=function(){this.window.complete(),this.destination.complete()},t.prototype._unsubscribe=function(){this.window=null},t.prototype.openWindow=function(){var e=this.window;e&&e.complete();var t=this.destination,n=this.window=new r.Subject;t.next(n)},t}(i.OuterSubscriber)},function(e,t,n){"use strict";var o=this&&this.__extends||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);function o(){this.constructor=e}e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},r=n(2),i=n(6);t.windowCount=function(e,t){return void 0===t&&(t=0),function(n){return n.lift(new a(e,t))}};var a=function(){function e(e,t){this.windowSize=e,this.startWindowEvery=t}return e.prototype.call=function(e,t){return t.subscribe(new s(e,this.windowSize,this.startWindowEvery))},e}(),s=function(e){function t(t,n,o){e.call(this,t),this.destination=t,this.windowSize=n,this.startWindowEvery=o,this.windows=[new i.Subject],this.count=0,t.next(this.windows[0])}return o(t,e),t.prototype._next=function(e){for(var t=this.startWindowEvery>0?this.startWindowEvery:this.windowSize,n=this.destination,o=this.windowSize,r=this.windows,a=r.length,s=0;s<a&&!this.closed;s++)r[s].next(e);var c=this.count-o+1;if(c>=0&&c%t==0&&!this.closed&&r.shift().complete(),++this.count%t==0&&!this.closed){var l=new i.Subject;r.push(l),n.next(l)}},t.prototype._error=function(e){var t=this.windows;if(t)for(;t.length>0&&!this.closed;)t.shift().error(e);this.destination.error(e)},t.prototype._complete=function(){var e=this.windows;if(e)for(;e.length>0&&!this.closed;)e.shift().complete();this.destination.complete()},t.prototype._unsubscribe=function(){this.count=0,this.windows=null},t}(r.Subscriber)},function(e,t,n){"use strict";var o=this&&this.__extends||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);function o(){this.constructor=e}e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},r=n(6),i=n(5),a=n(2),s=n(26),c=n(12);t.windowTime=function(e){var t=i.async,n=null,o=Number.POSITIVE_INFINITY;return c.isScheduler(arguments[3])&&(t=arguments[3]),c.isScheduler(arguments[2])?t=arguments[2]:s.isNumeric(arguments[2])&&(o=arguments[2]),c.isScheduler(arguments[1])?t=arguments[1]:s.isNumeric(arguments[1])&&(n=arguments[1]),function(r){return r.lift(new l(e,n,o,t))}};var l=function(){function e(e,t,n,o){this.windowTimeSpan=e,this.windowCreationInterval=t,this.maxWindowSize=n,this.scheduler=o}return e.prototype.call=function(e,t){return t.subscribe(new d(e,this.windowTimeSpan,this.windowCreationInterval,this.maxWindowSize,this.scheduler))},e}(),u=function(e){function t(){e.apply(this,arguments),this._numberOfNextedValues=0}return o(t,e),t.prototype.next=function(t){this._numberOfNextedValues++,e.prototype.next.call(this,t)},Object.defineProperty(t.prototype,"numberOfNextedValues",{get:function(){return this._numberOfNextedValues},enumerable:!0,configurable:!0}),t}(r.Subject),d=function(e){function t(t,n,o,r,i){e.call(this,t),this.destination=t,this.windowTimeSpan=n,this.windowCreationInterval=o,this.maxWindowSize=r,this.scheduler=i,this.windows=[];var a=this.openWindow();if(null!==o&&o>=0){var s={subscriber:this,window:a,context:null},c={windowTimeSpan:n,windowCreationInterval:o,subscriber:this,scheduler:i};this.add(i.schedule(f,n,s)),this.add(i.schedule(h,o,c))}else{var l={subscriber:this,window:a,windowTimeSpan:n};this.add(i.schedule(p,n,l))}}return o(t,e),t.prototype._next=function(e){for(var t=this.windows,n=t.length,o=0;o<n;o++){var r=t[o];r.closed||(r.next(e),r.numberOfNextedValues>=this.maxWindowSize&&this.closeWindow(r))}},t.prototype._error=function(e){for(var t=this.windows;t.length>0;)t.shift().error(e);this.destination.error(e)},t.prototype._complete=function(){for(var e=this.windows;e.length>0;){var t=e.shift();t.closed||t.complete()}this.destination.complete()},t.prototype.openWindow=function(){var e=new u;return this.windows.push(e),this.destination.next(e),e},t.prototype.closeWindow=function(e){e.complete();var t=this.windows;t.splice(t.indexOf(e),1)},t}(a.Subscriber);function p(e){var t=e.subscriber,n=e.windowTimeSpan,o=e.window;o&&t.closeWindow(o),e.window=t.openWindow(),this.schedule(e,n)}function h(e){var t=e.windowTimeSpan,n=e.subscriber,o=e.scheduler,r=e.windowCreationInterval,i=n.openWindow(),a={action:this,subscription:null},s={subscriber:n,window:i,context:a};a.subscription=o.schedule(f,t,s),this.add(a.subscription),this.schedule(e,r)}function f(e){var t=e.subscriber,n=e.window,o=e.context;o&&o.action&&o.subscription&&o.action.remove(o.subscription),t.closeWindow(n)}},function(e,t,n){"use strict";var o=this&&this.__extends||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);function o(){this.constructor=e}e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},r=n(6),i=n(7),a=n(9),s=n(8),c=n(3),l=n(4);t.windowToggle=function(e,t){return function(n){return n.lift(new u(e,t))}};var u=function(){function e(e,t){this.openings=e,this.closingSelector=t}return e.prototype.call=function(e,t){return t.subscribe(new d(e,this.openings,this.closingSelector))},e}(),d=function(e){function t(t,n,o){e.call(this,t),this.openings=n,this.closingSelector=o,this.contexts=[],this.add(this.openSubscription=l.subscribeToResult(this,n,n))}return o(t,e),t.prototype._next=function(e){var t=this.contexts;if(t)for(var n=t.length,o=0;o<n;o++)t[o].window.next(e)},t.prototype._error=function(t){var n=this.contexts;if(this.contexts=null,n)for(var o=n.length,r=-1;++r<o;){var i=n[r];i.window.error(t),i.subscription.unsubscribe()}e.prototype._error.call(this,t)},t.prototype._complete=function(){var t=this.contexts;if(this.contexts=null,t)for(var n=t.length,o=-1;++o<n;){var r=t[o];r.window.complete(),r.subscription.unsubscribe()}e.prototype._complete.call(this)},t.prototype._unsubscribe=function(){var e=this.contexts;if(this.contexts=null,e)for(var t=e.length,n=-1;++n<t;){var o=e[n];o.window.unsubscribe(),o.subscription.unsubscribe()}},t.prototype.notifyNext=function(e,t,n,o,c){if(e===this.openings){var u=this.closingSelector,d=a.tryCatch(u)(t);if(d===s.errorObject)return this.error(s.errorObject.e);var p=new r.Subject,h=new i.Subscription,f={window:p,subscription:h};this.contexts.push(f);var m=l.subscribeToResult(this,d,f);m.closed?this.closeWindow(this.contexts.length-1):(m.context=f,h.add(m)),this.destination.next(p)}else this.closeWindow(this.contexts.indexOf(e))},t.prototype.notifyError=function(e){this.error(e)},t.prototype.notifyComplete=function(e){e!==this.openSubscription&&this.closeWindow(this.contexts.indexOf(e.context))},t.prototype.closeWindow=function(e){if(-1!==e){var t=this.contexts,n=t[e],o=n.window,r=n.subscription;t.splice(e,1),o.complete(),r.unsubscribe()}},t}(c.OuterSubscriber)},function(e,t,n){"use strict";var o=this&&this.__extends||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);function o(){this.constructor=e}e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},r=n(6),i=n(9),a=n(8),s=n(3),c=n(4);t.windowWhen=function(e){return function(t){return t.lift(new l(e))}};var l=function(){function e(e){this.closingSelector=e}return e.prototype.call=function(e,t){return t.subscribe(new u(e,this.closingSelector))},e}(),u=function(e){function t(t,n){e.call(this,t),this.destination=t,this.closingSelector=n,this.openWindow()}return o(t,e),t.prototype.notifyNext=function(e,t,n,o,r){this.openWindow(r)},t.prototype.notifyError=function(e,t){this._error(e)},t.prototype.notifyComplete=function(e){this.openWindow(e)},t.prototype._next=function(e){this.window.next(e)},t.prototype._error=function(e){this.window.error(e),this.destination.error(e),this.unsubscribeClosingNotification()},t.prototype._complete=function(){this.window.complete(),this.destination.complete(),this.unsubscribeClosingNotification()},t.prototype.unsubscribeClosingNotification=function(){this.closingNotification&&this.closingNotification.unsubscribe()},t.prototype.openWindow=function(e){void 0===e&&(e=null),e&&(this.remove(e),e.unsubscribe());var t=this.window;t&&t.complete();var n=this.window=new r.Subject;this.destination.next(n);var o=i.tryCatch(this.closingSelector)();if(o===a.errorObject){var s=a.errorObject.e;this.destination.error(s),this.window.error(s)}else this.add(this.closingNotification=c.subscribeToResult(this,o))},t}(s.OuterSubscriber)},function(e,t,n){"use strict";var o=this&&this.__extends||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);function o(){this.constructor=e}e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},r=n(3),i=n(4);t.withLatestFrom=function(){for(var e=[],t=0;t<arguments.length;t++)e[t-0]=arguments[t];return function(t){var n;"function"==typeof e[e.length-1]&&(n=e.pop());var o=e;return t.lift(new a(o,n))}};var a=function(){function e(e,t){this.observables=e,this.project=t}return e.prototype.call=function(e,t){return t.subscribe(new s(e,this.observables,this.project))},e}(),s=function(e){function t(t,n,o){e.call(this,t),this.observables=n,this.project=o,this.toRespond=[];var r=n.length;this.values=new Array(r);for(var a=0;a<r;a++)this.toRespond.push(a);for(a=0;a<r;a++){var s=n[a];this.add(i.subscribeToResult(this,s,s,a))}}return o(t,e),t.prototype.notifyNext=function(e,t,n,o,r){this.values[n]=t;var i=this.toRespond;if(i.length>0){var a=i.indexOf(n);-1!==a&&i.splice(a,1)}},t.prototype.notifyComplete=function(){},t.prototype._next=function(e){if(0===this.toRespond.length){var t=[e].concat(this.values);this.project?this._tryProject(t):this.destination.next(t)}},t.prototype._tryProject=function(e){var t;try{t=this.project.apply(this,e)}catch(e){return void this.destination.error(e)}this.destination.next(t)},t}(r.OuterSubscriber)},function(e,t,n){"use strict";var o=n(41);t.zipAll=function(e){return function(t){return t.lift(new o.ZipOperator(e))}}},function(e,t,n){"use strict";var o=n(189),r=function(){function e(){this.subscriptions=[]}return e.prototype.logSubscribedFrame=function(){return this.subscriptions.push(new o.SubscriptionLog(this.scheduler.now())),this.subscriptions.length-1},e.prototype.logUnsubscribedFrame=function(e){var t=this.subscriptions,n=t[e];t[e]=new o.SubscriptionLog(n.subscribedFrame,this.scheduler.now())},e}();t.SubscriptionLoggable=r},function(e,t,n){"use strict";var o=function(e,t){void 0===t&&(t=Number.POSITIVE_INFINITY),this.subscribedFrame=e,this.unsubscribedFrame=t};t.SubscriptionLog=o},function(e,t,n){"use strict";t.applyMixins=function(e,t){for(var n=0,o=t.length;n<o;n++)for(var r=t[n],i=Object.getOwnPropertyNames(r.prototype),a=0,s=i.length;a<s;a++){var c=i[a];e.prototype[c]=r.prototype[c]}}},function(e,t,n){"use strict";var o=this&&this.__extends||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);function o(){this.constructor=e}e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},r=n(27),i=function(e){function t(t,n){var o=this;void 0===t&&(t=a),void 0===n&&(n=Number.POSITIVE_INFINITY),e.call(this,t,(function(){return o.frame})),this.maxFrames=n,this.frame=0,this.index=-1}return o(t,e),t.prototype.flush=function(){for(var e,t,n=this.actions,o=this.maxFrames;(t=n.shift())&&(this.frame=t.delay)<=o&&!(e=t.execute(t.state,t.delay)););if(e){for(;t=n.shift();)t.unsubscribe();throw e}},t.frameTimeFactor=10,t}(n(28).AsyncScheduler);t.VirtualTimeScheduler=i;var a=function(e){function t(t,n,o){void 0===o&&(o=t.index+=1),e.call(this,t,n),this.scheduler=t,this.work=n,this.index=o,this.active=!0,this.index=t.index=o}return o(t,e),t.prototype.schedule=function(n,o){if(void 0===o&&(o=0),!this.id)return e.prototype.schedule.call(this,n,o);this.active=!1;var r=new t(this.scheduler,this.work);return this.add(r),r.schedule(n,o)},t.prototype.requestAsyncId=function(e,n,o){void 0===o&&(o=0),this.delay=e.frame+o;var r=e.actions;return r.push(this),r.sort(t.sortActions),!0},t.prototype.recycleAsyncId=function(e,t,n){void 0===n&&(n=0)},t.prototype._execute=function(t,n){if(!0===this.active)return e.prototype._execute.call(this,t,n)},t.sortActions=function(e,t){return e.delay===t.delay?e.index===t.index?0:e.index>t.index?1:-1:e.delay>t.delay?1:-1},t}(r.AsyncAction);t.VirtualAction=a},function(e,t,n){"use strict";var o=n(68),r={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function c(e){return o.isMemo(e)?a:s[e.$$typeof]||r}s[o.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[o.Memo]=a;var l=Object.defineProperty,u=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,h=Object.getPrototypeOf,f=Object.prototype;e.exports=function e(t,n,o){if("string"!=typeof n){if(f){var r=h(n);r&&r!==f&&e(t,r,o)}var a=u(n);d&&(a=a.concat(d(n)));for(var s=c(t),m=c(n),g=0;g<a.length;++g){var b=a[g];if(!(i[b]||o&&o[b]||m&&m[b]||s&&s[b])){var y=p(n,b);try{l(t,b,y)}catch(e){}}}}return t}},function(e,t,n){"use strict";function o(e){var t,n=e.Symbol;return"function"==typeof n?n.observable?t=n.observable:(t=n("observable"),n.observable=t):t="@@observable",t}n.d(t,"a",(function(){return o}))},function(e,t,n){"use strict";(function(e){var n="object"==typeof e&&e&&e.Object===Object&&e;t.a=n}).call(this,n(21))},function(e,t,n){"use strict";var o=n(14).compose;t.__esModule=!0,t.composeWithDevTools="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(0!==arguments.length)return"object"==typeof arguments[0]?o:o.apply(null,arguments)},t.devToolsEnhancer="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(e){return e}}},function(e,t,n){n(197),e.exports=n(491)},function(e,t,n){"use strict";"undefined"==typeof Promise&&(n(198).enable(),window.Promise=n(200)),n(201),Object.assign=n(49)},function(e,t,n){"use strict";var o=n(74),r=[ReferenceError,TypeError,RangeError],i=!1;function a(){i=!1,o._Y=null,o._Z=null}function s(e,t){return t.some((function(t){return e instanceof t}))}t.disable=a,t.enable=function(e){e=e||{},i&&a();i=!0;var t=0,n=0,c={};function l(t){(e.allRejections||s(c[t].error,e.whitelist||r))&&(c[t].displayId=n++,e.onUnhandled?(c[t].logged=!0,e.onUnhandled(c[t].displayId,c[t].error)):(c[t].logged=!0,function(e,t){console.warn("Possible Unhandled Promise Rejection (id: "+e+"):"),((t&&(t.stack||t))+"").split("\n").forEach((function(e){console.warn("  "+e)}))}(c[t].displayId,c[t].error)))}o._Y=function(t){2===t._V&&c[t._1]&&(c[t._1].logged?function(t){c[t].logged&&(e.onHandled?e.onHandled(c[t].displayId,c[t].error):c[t].onUnhandled||(console.warn("Promise Rejection Handled (id: "+c[t].displayId+"):"),console.warn('  This means you can ignore any previous messages of the form "Possible Unhandled Promise Rejection" with id '+c[t].displayId+".")))}(t._1):clearTimeout(c[t._1].timeout),delete c[t._1])},o._Z=function(e,n){0===e._U&&(e._1=t++,c[e._1]={displayId:null,error:n,timeout:setTimeout(l.bind(null,e._1),s(n,r)?100:2e3),logged:!1})}}},function(e,t,n){"use strict";(function(t){function n(e){r.length||(o(),!0),r[r.length]=e}e.exports=n;var o,r=[],i=0;function a(){for(;i<r.length;){var e=i;if(i+=1,r[e].call(),i>1024){for(var t=0,n=r.length-i;t<n;t++)r[t]=r[t+i];r.length-=i,i=0}}r.length=0,i=0,!1}var s,c,l,u=void 0!==t?t:self,d=u.MutationObserver||u.WebKitMutationObserver;function p(e){return function(){var t=setTimeout(o,0),n=setInterval(o,50);function o(){clearTimeout(t),clearInterval(n),e()}}}"function"==typeof d?(s=1,c=new d(a),l=document.createTextNode(""),c.observe(l,{characterData:!0}),o=function(){s=-s,l.data=s}):o=p(a),n.requestFlush=o,n.makeRequestCallFromTimer=p}).call(this,n(21))},function(e,t,n){"use strict";var o=n(74);e.exports=o;var r=u(!0),i=u(!1),a=u(null),s=u(void 0),c=u(0),l=u("");function u(e){var t=new o(o._0);return t._V=1,t._W=e,t}o.resolve=function(e){if(e instanceof o)return e;if(null===e)return a;if(void 0===e)return s;if(!0===e)return r;if(!1===e)return i;if(0===e)return c;if(""===e)return l;if("object"==typeof e||"function"==typeof e)try{var t=e.then;if("function"==typeof t)return new o(t.bind(e))}catch(e){return new o((function(t,n){n(e)}))}return u(e)};var d=function(e){return"function"==typeof Array.from?(d=Array.from,Array.from(e)):(d=function(e){return Array.prototype.slice.call(e)},Array.prototype.slice.call(e))};o.all=function(e){var t=d(e);return new o((function(e,n){if(0===t.length)return e([]);var r=t.length;function i(a,s){if(s&&("object"==typeof s||"function"==typeof s)){if(s instanceof o&&s.then===o.prototype.then){for(;3===s._V;)s=s._W;return 1===s._V?i(a,s._W):(2===s._V&&n(s._W),void s.then((function(e){i(a,e)}),n))}var c=s.then;if("function"==typeof c)return void new o(c.bind(s)).then((function(e){i(a,e)}),n)}t[a]=s,0==--r&&e(t)}for(var a=0;a<t.length;a++)i(a,t[a])}))},o.reject=function(e){return new o((function(t,n){n(e)}))},o.race=function(e){return new o((function(t,n){d(e).forEach((function(e){o.resolve(e).then(t,n)}))}))},o.prototype.catch=function(e){return this.then(null,e)}},function(e,t,n){"use strict";n.r(t),n.d(t,"Headers",(function(){return f})),n.d(t,"Request",(function(){return S})),n.d(t,"Response",(function(){return x})),n.d(t,"DOMException",(function(){return T})),n.d(t,"fetch",(function(){return k}));var o="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==o&&o,r="URLSearchParams"in o,i="Symbol"in o&&"iterator"in Symbol,a="FileReader"in o&&"Blob"in o&&function(){try{return new Blob,!0}catch(e){return!1}}(),s="FormData"in o,c="ArrayBuffer"in o;if(c)var l=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],u=ArrayBuffer.isView||function(e){return e&&l.indexOf(Object.prototype.toString.call(e))>-1};function d(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(e)||""===e)throw new TypeError('Invalid character in header field name: "'+e+'"');return e.toLowerCase()}function p(e){return"string"!=typeof e&&(e=String(e)),e}function h(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return i&&(t[Symbol.iterator]=function(){return t}),t}function f(e){this.map={},e instanceof f?e.forEach((function(e,t){this.append(t,e)}),this):Array.isArray(e)?e.forEach((function(e){this.append(e[0],e[1])}),this):e&&Object.getOwnPropertyNames(e).forEach((function(t){this.append(t,e[t])}),this)}function m(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function g(e){return new Promise((function(t,n){e.onload=function(){t(e.result)},e.onerror=function(){n(e.error)}}))}function b(e){var t=new FileReader,n=g(t);return t.readAsArrayBuffer(e),n}function y(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function v(){return this.bodyUsed=!1,this._initBody=function(e){var t;this.bodyUsed=this.bodyUsed,this._bodyInit=e,e?"string"==typeof e?this._bodyText=e:a&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:s&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:r&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():c&&a&&((t=e)&&DataView.prototype.isPrototypeOf(t))?(this._bodyArrayBuffer=y(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):c&&(ArrayBuffer.prototype.isPrototypeOf(e)||u(e))?this._bodyArrayBuffer=y(e):this._bodyText=e=Object.prototype.toString.call(e):this._bodyText="",this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):r&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},a&&(this.blob=function(){var e=m(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){if(this._bodyArrayBuffer){var e=m(this);return e||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer))}return this.blob().then(b)}),this.text=function(){var e,t,n,o=m(this);if(o)return o;if(this._bodyBlob)return e=this._bodyBlob,t=new FileReader,n=g(t),t.readAsText(e),n;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),n=new Array(t.length),o=0;o<t.length;o++)n[o]=String.fromCharCode(t[o]);return n.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},s&&(this.formData=function(){return this.text().then(C)}),this.json=function(){return this.text().then(JSON.parse)},this}f.prototype.append=function(e,t){e=d(e),t=p(t);var n=this.map[e];this.map[e]=n?n+", "+t:t},f.prototype.delete=function(e){delete this.map[d(e)]},f.prototype.get=function(e){return e=d(e),this.has(e)?this.map[e]:null},f.prototype.has=function(e){return this.map.hasOwnProperty(d(e))},f.prototype.set=function(e,t){this.map[d(e)]=p(t)},f.prototype.forEach=function(e,t){for(var n in this.map)this.map.hasOwnProperty(n)&&e.call(t,this.map[n],n,this)},f.prototype.keys=function(){var e=[];return this.forEach((function(t,n){e.push(n)})),h(e)},f.prototype.values=function(){var e=[];return this.forEach((function(t){e.push(t)})),h(e)},f.prototype.entries=function(){var e=[];return this.forEach((function(t,n){e.push([n,t])})),h(e)},i&&(f.prototype[Symbol.iterator]=f.prototype.entries);var _=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function S(e,t){if(!(this instanceof S))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');var n,o,r=(t=t||{}).body;if(e instanceof S){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new f(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,r||null==e._bodyInit||(r=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"same-origin",!t.headers&&this.headers||(this.headers=new f(t.headers)),this.method=(n=t.method||this.method||"GET",o=n.toUpperCase(),_.indexOf(o)>-1?o:n),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&r)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(r),!("GET"!==this.method&&"HEAD"!==this.method||"no-store"!==t.cache&&"no-cache"!==t.cache)){var i=/([?&])_=[^&]*/;if(i.test(this.url))this.url=this.url.replace(i,"$1_="+(new Date).getTime());else{this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime()}}}function C(e){var t=new FormData;return e.trim().split("&").forEach((function(e){if(e){var n=e.split("="),o=n.shift().replace(/\+/g," "),r=n.join("=").replace(/\+/g," ");t.append(decodeURIComponent(o),decodeURIComponent(r))}})),t}function x(e,t){if(!(this instanceof x))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');t||(t={}),this.type="default",this.status=void 0===t.status?200:t.status,this.ok=this.status>=200&&this.status<300,this.statusText=void 0===t.statusText?"":""+t.statusText,this.headers=new f(t.headers),this.url=t.url||"",this._initBody(e)}S.prototype.clone=function(){return new S(this,{body:this._bodyInit})},v.call(S.prototype),v.call(x.prototype),x.prototype.clone=function(){return new x(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new f(this.headers),url:this.url})},x.error=function(){var e=new x(null,{status:0,statusText:""});return e.type="error",e};var w=[301,302,303,307,308];x.redirect=function(e,t){if(-1===w.indexOf(t))throw new RangeError("Invalid status code");return new x(null,{status:t,headers:{location:e}})};var T=o.DOMException;try{new T}catch(e){(T=function(e,t){this.message=e,this.name=t;var n=Error(e);this.stack=n.stack}).prototype=Object.create(Error.prototype),T.prototype.constructor=T}function k(e,t){return new Promise((function(n,r){var i=new S(e,t);if(i.signal&&i.signal.aborted)return r(new T("Aborted","AbortError"));var s=new XMLHttpRequest;function l(){s.abort()}s.onload=function(){var e,t,o={status:s.status,statusText:s.statusText,headers:(e=s.getAllResponseHeaders()||"",t=new f,e.replace(/\r?\n[\t ]+/g," ").split("\r").map((function(e){return 0===e.indexOf("\n")?e.substr(1,e.length):e})).forEach((function(e){var n=e.split(":"),o=n.shift().trim();if(o){var r=n.join(":").trim();t.append(o,r)}})),t)};o.url="responseURL"in s?s.responseURL:o.headers.get("X-Request-URL");var r="response"in s?s.response:s.responseText;setTimeout((function(){n(new x(r,o))}),0)},s.onerror=function(){setTimeout((function(){r(new TypeError("Network request failed"))}),0)},s.ontimeout=function(){setTimeout((function(){r(new TypeError("Network request failed"))}),0)},s.onabort=function(){setTimeout((function(){r(new T("Aborted","AbortError"))}),0)},s.open(i.method,function(e){try{return""===e&&o.location.href?o.location.href:e}catch(t){return e}}(i.url),!0),"include"===i.credentials?s.withCredentials=!0:"omit"===i.credentials&&(s.withCredentials=!1),"responseType"in s&&(a?s.responseType="blob":c&&i.headers.get("Content-Type")&&-1!==i.headers.get("Content-Type").indexOf("application/octet-stream")&&(s.responseType="arraybuffer")),!t||"object"!=typeof t.headers||t.headers instanceof f?i.headers.forEach((function(e,t){s.setRequestHeader(t,e)})):Object.getOwnPropertyNames(t.headers).forEach((function(e){s.setRequestHeader(e,p(t.headers[e]))})),i.signal&&(i.signal.addEventListener("abort",l),s.onreadystatechange=function(){4===s.readyState&&i.signal.removeEventListener("abort",l)}),s.send(void 0===i._bodyInit?null:i._bodyInit)}))}k.polyfill=!0,o.fetch||(o.fetch=k,o.Headers=f,o.Request=S,o.Response=x)},function(e,t,n){"use strict";
/** @license React v16.14.0
 * react.production.min.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var o=n(49),r="function"==typeof Symbol&&Symbol.for,i=r?Symbol.for("react.element"):60103,a=r?Symbol.for("react.portal"):60106,s=r?Symbol.for("react.fragment"):60107,c=r?Symbol.for("react.strict_mode"):60108,l=r?Symbol.for("react.profiler"):60114,u=r?Symbol.for("react.provider"):60109,d=r?Symbol.for("react.context"):60110,p=r?Symbol.for("react.forward_ref"):60112,h=r?Symbol.for("react.suspense"):60113,f=r?Symbol.for("react.memo"):60115,m=r?Symbol.for("react.lazy"):60116,g="function"==typeof Symbol&&Symbol.iterator;function b(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var y={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},v={};function _(e,t,n){this.props=e,this.context=t,this.refs=v,this.updater=n||y}function S(){}function C(e,t,n){this.props=e,this.context=t,this.refs=v,this.updater=n||y}_.prototype.isReactComponent={},_.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error(b(85));this.updater.enqueueSetState(this,e,t,"setState")},_.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},S.prototype=_.prototype;var x=C.prototype=new S;x.constructor=C,o(x,_.prototype),x.isPureReactComponent=!0;var w={current:null},T=Object.prototype.hasOwnProperty,k={key:!0,ref:!0,__self:!0,__source:!0};function I(e,t,n){var o,r={},a=null,s=null;if(null!=t)for(o in void 0!==t.ref&&(s=t.ref),void 0!==t.key&&(a=""+t.key),t)T.call(t,o)&&!k.hasOwnProperty(o)&&(r[o]=t[o]);var c=arguments.length-2;if(1===c)r.children=n;else if(1<c){for(var l=Array(c),u=0;u<c;u++)l[u]=arguments[u+2];r.children=l}if(e&&e.defaultProps)for(o in c=e.defaultProps)void 0===r[o]&&(r[o]=c[o]);return{$$typeof:i,type:e,key:a,ref:s,props:r,_owner:w.current}}function O(e){return"object"==typeof e&&null!==e&&e.$$typeof===i}var E=/\/+/g,N=[];function P(e,t,n,o){if(N.length){var r=N.pop();return r.result=e,r.keyPrefix=t,r.func=n,r.context=o,r.count=0,r}return{result:e,keyPrefix:t,func:n,context:o,count:0}}function D(e){e.result=null,e.keyPrefix=null,e.func=null,e.context=null,e.count=0,10>N.length&&N.push(e)}function A(e,t,n){return null==e?0:function e(t,n,o,r){var s=typeof t;"undefined"!==s&&"boolean"!==s||(t=null);var c=!1;if(null===t)c=!0;else switch(s){case"string":case"number":c=!0;break;case"object":switch(t.$$typeof){case i:case a:c=!0}}if(c)return o(r,t,""===n?"."+R(t,0):n),1;if(c=0,n=""===n?".":n+":",Array.isArray(t))for(var l=0;l<t.length;l++){var u=n+R(s=t[l],l);c+=e(s,u,o,r)}else if(null===t||"object"!=typeof t?u=null:u="function"==typeof(u=g&&t[g]||t["@@iterator"])?u:null,"function"==typeof u)for(t=u.call(t),l=0;!(s=t.next()).done;)c+=e(s=s.value,u=n+R(s,l++),o,r);else if("object"===s)throw o=""+t,Error(b(31,"[object Object]"===o?"object with keys {"+Object.keys(t).join(", ")+"}":o,""));return c}(e,"",t,n)}function R(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+(""+e).replace(/[=:]/g,(function(e){return t[e]}))}(e.key):t.toString(36)}function M(e,t){e.func.call(e.context,t,e.count++)}function F(e,t,n){var o=e.result,r=e.keyPrefix;e=e.func.call(e.context,t,e.count++),Array.isArray(e)?j(e,o,n,(function(e){return e})):null!=e&&(O(e)&&(e=function(e,t){return{$$typeof:i,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(e,r+(!e.key||t&&t.key===e.key?"":(""+e.key).replace(E,"$&/")+"/")+n)),o.push(e))}function j(e,t,n,o,r){var i="";null!=n&&(i=(""+n).replace(E,"$&/")+"/"),A(e,F,t=P(t,i,o,r)),D(t)}var L={current:null};function H(){var e=L.current;if(null===e)throw Error(b(321));return e}var B={ReactCurrentDispatcher:L,ReactCurrentBatchConfig:{suspense:null},ReactCurrentOwner:w,IsSomeRendererActing:{current:!1},assign:o};t.Children={map:function(e,t,n){if(null==e)return e;var o=[];return j(e,o,null,t,n),o},forEach:function(e,t,n){if(null==e)return e;A(e,M,t=P(null,null,t,n)),D(t)},count:function(e){return A(e,(function(){return null}),null)},toArray:function(e){var t=[];return j(e,t,null,(function(e){return e})),t},only:function(e){if(!O(e))throw Error(b(143));return e}},t.Component=_,t.Fragment=s,t.Profiler=l,t.PureComponent=C,t.StrictMode=c,t.Suspense=h,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=B,t.cloneElement=function(e,t,n){if(null==e)throw Error(b(267,e));var r=o({},e.props),a=e.key,s=e.ref,c=e._owner;if(null!=t){if(void 0!==t.ref&&(s=t.ref,c=w.current),void 0!==t.key&&(a=""+t.key),e.type&&e.type.defaultProps)var l=e.type.defaultProps;for(u in t)T.call(t,u)&&!k.hasOwnProperty(u)&&(r[u]=void 0===t[u]&&void 0!==l?l[u]:t[u])}var u=arguments.length-2;if(1===u)r.children=n;else if(1<u){l=Array(u);for(var d=0;d<u;d++)l[d]=arguments[d+2];r.children=l}return{$$typeof:i,type:e.type,key:a,ref:s,props:r,_owner:c}},t.createContext=function(e,t){return void 0===t&&(t=null),(e={$$typeof:d,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:u,_context:e},e.Consumer=e},t.createElement=I,t.createFactory=function(e){var t=I.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:p,render:e}},t.isValidElement=O,t.lazy=function(e){return{$$typeof:m,_ctor:e,_status:-1,_result:null}},t.memo=function(e,t){return{$$typeof:f,type:e,compare:void 0===t?null:t}},t.useCallback=function(e,t){return H().useCallback(e,t)},t.useContext=function(e,t){return H().useContext(e,t)},t.useDebugValue=function(){},t.useEffect=function(e,t){return H().useEffect(e,t)},t.useImperativeHandle=function(e,t,n){return H().useImperativeHandle(e,t,n)},t.useLayoutEffect=function(e,t){return H().useLayoutEffect(e,t)},t.useMemo=function(e,t){return H().useMemo(e,t)},t.useReducer=function(e,t,n){return H().useReducer(e,t,n)},t.useRef=function(e){return H().useRef(e)},t.useState=function(e){return H().useState(e)},t.version="16.14.0"},function(e,t,n){"use strict";
/** @license React v16.14.0
 * react-dom.production.min.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var o=n(0),r=n(49),i=n(204);function a(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}if(!o)throw Error(a(227));function s(e,t,n,o,r,i,a,s,c){var l=Array.prototype.slice.call(arguments,3);try{t.apply(n,l)}catch(e){this.onError(e)}}var c=!1,l=null,u=!1,d=null,p={onError:function(e){c=!0,l=e}};function h(e,t,n,o,r,i,a,u,d){c=!1,l=null,s.apply(p,arguments)}var f=null,m=null,g=null;function b(e,t,n){var o=e.type||"unknown-event";e.currentTarget=g(n),function(e,t,n,o,r,i,s,p,f){if(h.apply(this,arguments),c){if(!c)throw Error(a(198));var m=l;c=!1,l=null,u||(u=!0,d=m)}}(o,t,void 0,e),e.currentTarget=null}var y=null,v={};function _(){if(y)for(var e in v){var t=v[e],n=y.indexOf(e);if(!(-1<n))throw Error(a(96,e));if(!C[n]){if(!t.extractEvents)throw Error(a(97,e));for(var o in C[n]=t,n=t.eventTypes){var r=void 0,i=n[o],s=t,c=o;if(x.hasOwnProperty(c))throw Error(a(99,c));x[c]=i;var l=i.phasedRegistrationNames;if(l){for(r in l)l.hasOwnProperty(r)&&S(l[r],s,c);r=!0}else i.registrationName?(S(i.registrationName,s,c),r=!0):r=!1;if(!r)throw Error(a(98,o,e))}}}}function S(e,t,n){if(w[e])throw Error(a(100,e));w[e]=t,T[e]=t.eventTypes[n].dependencies}var C=[],x={},w={},T={};function k(e){var t,n=!1;for(t in e)if(e.hasOwnProperty(t)){var o=e[t];if(!v.hasOwnProperty(t)||v[t]!==o){if(v[t])throw Error(a(102,t));v[t]=o,n=!0}}n&&_()}var I=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),O=null,E=null,N=null;function P(e){if(e=m(e)){if("function"!=typeof O)throw Error(a(280));var t=e.stateNode;t&&(t=f(t),O(e.stateNode,e.type,t))}}function D(e){E?N?N.push(e):N=[e]:E=e}function A(){if(E){var e=E,t=N;if(N=E=null,P(e),t)for(e=0;e<t.length;e++)P(t[e])}}function R(e,t){return e(t)}function M(e,t,n,o,r){return e(t,n,o,r)}function F(){}var j=R,L=!1,H=!1;function B(){null===E&&null===N||(F(),A())}function z(e,t,n){if(H)return e(t,n);H=!0;try{return j(e,t,n)}finally{H=!1,B()}}var U=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,V=Object.prototype.hasOwnProperty,W={},q={};function G(e,t,n,o,r,i){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=o,this.attributeNamespace=r,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i}var K={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){K[e]=new G(e,0,!1,e,null,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];K[t]=new G(t,1,!1,e[1],null,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){K[e]=new G(e,2,!1,e.toLowerCase(),null,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){K[e]=new G(e,2,!1,e,null,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){K[e]=new G(e,3,!1,e.toLowerCase(),null,!1)})),["checked","multiple","muted","selected"].forEach((function(e){K[e]=new G(e,3,!0,e,null,!1)})),["capture","download"].forEach((function(e){K[e]=new G(e,4,!1,e,null,!1)})),["cols","rows","size","span"].forEach((function(e){K[e]=new G(e,6,!1,e,null,!1)})),["rowSpan","start"].forEach((function(e){K[e]=new G(e,5,!1,e.toLowerCase(),null,!1)}));var Y=/[\-:]([a-z])/g;function Q(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(Y,Q);K[t]=new G(t,1,!1,e,null,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(Y,Q);K[t]=new G(t,1,!1,e,"http://www.w3.org/1999/xlink",!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(Y,Q);K[t]=new G(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1)})),["tabIndex","crossOrigin"].forEach((function(e){K[e]=new G(e,1,!1,e.toLowerCase(),null,!1)})),K.xlinkHref=new G("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0),["src","href","action","formAction"].forEach((function(e){K[e]=new G(e,1,!1,e.toLowerCase(),null,!0)}));var $=o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function Z(e,t,n,o){var r=K.hasOwnProperty(t)?K[t]:null;(null!==r?0===r.type:!o&&(2<t.length&&("o"===t[0]||"O"===t[0])&&("n"===t[1]||"N"===t[1])))||(function(e,t,n,o){if(null==t||function(e,t,n,o){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!o&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,o))return!0;if(o)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,n,r,o)&&(n=null),o||null===r?function(e){return!!V.call(q,e)||!V.call(W,e)&&(U.test(e)?q[e]=!0:(W[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):r.mustUseProperty?e[r.propertyName]=null===n?3!==r.type&&"":n:(t=r.attributeName,o=r.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(r=r.type)||4===r&&!0===n?"":""+n,o?e.setAttributeNS(o,t,n):e.setAttribute(t,n))))}$.hasOwnProperty("ReactCurrentDispatcher")||($.ReactCurrentDispatcher={current:null}),$.hasOwnProperty("ReactCurrentBatchConfig")||($.ReactCurrentBatchConfig={suspense:null});var X=/^(.*)[\\\/]/,J="function"==typeof Symbol&&Symbol.for,ee=J?Symbol.for("react.element"):60103,te=J?Symbol.for("react.portal"):60106,ne=J?Symbol.for("react.fragment"):60107,oe=J?Symbol.for("react.strict_mode"):60108,re=J?Symbol.for("react.profiler"):60114,ie=J?Symbol.for("react.provider"):60109,ae=J?Symbol.for("react.context"):60110,se=J?Symbol.for("react.concurrent_mode"):60111,ce=J?Symbol.for("react.forward_ref"):60112,le=J?Symbol.for("react.suspense"):60113,ue=J?Symbol.for("react.suspense_list"):60120,de=J?Symbol.for("react.memo"):60115,pe=J?Symbol.for("react.lazy"):60116,he=J?Symbol.for("react.block"):60121,fe="function"==typeof Symbol&&Symbol.iterator;function me(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=fe&&e[fe]||e["@@iterator"])?e:null}function ge(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case ne:return"Fragment";case te:return"Portal";case re:return"Profiler";case oe:return"StrictMode";case le:return"Suspense";case ue:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case ae:return"Context.Consumer";case ie:return"Context.Provider";case ce:var t=e.render;return t=t.displayName||t.name||"",e.displayName||(""!==t?"ForwardRef("+t+")":"ForwardRef");case de:return ge(e.type);case he:return ge(e.render);case pe:if(e=1===e._status?e._result:null)return ge(e)}return null}function be(e){var t="";do{e:switch(e.tag){case 3:case 4:case 6:case 7:case 10:case 9:var n="";break e;default:var o=e._debugOwner,r=e._debugSource,i=ge(e.type);n=null,o&&(n=ge(o.type)),o=i,i="",r?i=" (at "+r.fileName.replace(X,"")+":"+r.lineNumber+")":n&&(i=" (created by "+n+")"),n="\n    in "+(o||"Unknown")+i}t+=n,e=e.return}while(e);return t}function ye(e){switch(typeof e){case"boolean":case"number":case"object":case"string":case"undefined":return e;default:return""}}function ve(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function _e(e){e._valueTracker||(e._valueTracker=function(e){var t=ve(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),o=""+e[t];if(!e.hasOwnProperty(t)&&void 0!==n&&"function"==typeof n.get&&"function"==typeof n.set){var r=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return r.call(this)},set:function(e){o=""+e,i.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return o},setValue:function(e){o=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function Se(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),o="";return e&&(o=ve(e)?e.checked?"true":"false":e.value),(e=o)!==n&&(t.setValue(e),!0)}function Ce(e,t){var n=t.checked;return r({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function xe(e,t){var n=null==t.defaultValue?"":t.defaultValue,o=null!=t.checked?t.checked:t.defaultChecked;n=ye(null!=t.value?t.value:n),e._wrapperState={initialChecked:o,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function we(e,t){null!=(t=t.checked)&&Z(e,"checked",t,!1)}function Te(e,t){we(e,t);var n=ye(t.value),o=t.type;if(null!=n)"number"===o?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===o||"reset"===o)return void e.removeAttribute("value");t.hasOwnProperty("value")?Ie(e,t.type,n):t.hasOwnProperty("defaultValue")&&Ie(e,t.type,ye(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function ke(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var o=t.type;if(!("submit"!==o&&"reset"!==o||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function Ie(e,t,n){"number"===t&&e.ownerDocument.activeElement===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}function Oe(e,t){return e=r({children:void 0},t),(t=function(e){var t="";return o.Children.forEach(e,(function(e){null!=e&&(t+=e)})),t}(t.children))&&(e.children=t),e}function Ee(e,t,n,o){if(e=e.options,t){t={};for(var r=0;r<n.length;r++)t["$"+n[r]]=!0;for(n=0;n<e.length;n++)r=t.hasOwnProperty("$"+e[n].value),e[n].selected!==r&&(e[n].selected=r),r&&o&&(e[n].defaultSelected=!0)}else{for(n=""+ye(n),t=null,r=0;r<e.length;r++){if(e[r].value===n)return e[r].selected=!0,void(o&&(e[r].defaultSelected=!0));null!==t||e[r].disabled||(t=e[r])}null!==t&&(t.selected=!0)}}function Ne(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(a(91));return r({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function Pe(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(a(92));if(Array.isArray(n)){if(!(1>=n.length))throw Error(a(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:ye(n)}}function De(e,t){var n=ye(t.value),o=ye(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=o&&(e.defaultValue=""+o)}function Ae(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}var Re="http://www.w3.org/1999/xhtml",Me="http://www.w3.org/2000/svg";function Fe(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function je(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?Fe(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var Le,He=function(e){return"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(t,n,o,r){MSApp.execUnsafeLocalFunction((function(){return e(t,n)}))}:e}((function(e,t){if(e.namespaceURI!==Me||"innerHTML"in e)e.innerHTML=t;else{for((Le=Le||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=Le.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}}));function Be(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}function ze(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Ue={animationend:ze("Animation","AnimationEnd"),animationiteration:ze("Animation","AnimationIteration"),animationstart:ze("Animation","AnimationStart"),transitionend:ze("Transition","TransitionEnd")},Ve={},We={};function qe(e){if(Ve[e])return Ve[e];if(!Ue[e])return e;var t,n=Ue[e];for(t in n)if(n.hasOwnProperty(t)&&t in We)return Ve[e]=n[t];return e}I&&(We=document.createElement("div").style,"AnimationEvent"in window||(delete Ue.animationend.animation,delete Ue.animationiteration.animation,delete Ue.animationstart.animation),"TransitionEvent"in window||delete Ue.transitionend.transition);var Ge=qe("animationend"),Ke=qe("animationiteration"),Ye=qe("animationstart"),Qe=qe("transitionend"),$e="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Ze=new("function"==typeof WeakMap?WeakMap:Map);function Xe(e){var t=Ze.get(e);return void 0===t&&(t=new Map,Ze.set(e,t)),t}function Je(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{0!=(1026&(t=e).effectTag)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function et(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&(null!==(e=e.alternate)&&(t=e.memoizedState)),null!==t)return t.dehydrated}return null}function tt(e){if(Je(e)!==e)throw Error(a(188))}function nt(e){if(!(e=function(e){var t=e.alternate;if(!t){if(null===(t=Je(e)))throw Error(a(188));return t!==e?null:e}for(var n=e,o=t;;){var r=n.return;if(null===r)break;var i=r.alternate;if(null===i){if(null!==(o=r.return)){n=o;continue}break}if(r.child===i.child){for(i=r.child;i;){if(i===n)return tt(r),e;if(i===o)return tt(r),t;i=i.sibling}throw Error(a(188))}if(n.return!==o.return)n=r,o=i;else{for(var s=!1,c=r.child;c;){if(c===n){s=!0,n=r,o=i;break}if(c===o){s=!0,o=r,n=i;break}c=c.sibling}if(!s){for(c=i.child;c;){if(c===n){s=!0,n=i,o=r;break}if(c===o){s=!0,o=i,n=r;break}c=c.sibling}if(!s)throw Error(a(189))}}if(n.alternate!==o)throw Error(a(190))}if(3!==n.tag)throw Error(a(188));return n.stateNode.current===n?e:t}(e)))return null;for(var t=e;;){if(5===t.tag||6===t.tag)return t;if(t.child)t.child.return=t,t=t.child;else{if(t===e)break;for(;!t.sibling;){if(!t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}}return null}function ot(e,t){if(null==t)throw Error(a(30));return null==e?t:Array.isArray(e)?Array.isArray(t)?(e.push.apply(e,t),e):(e.push(t),e):Array.isArray(t)?[e].concat(t):[e,t]}function rt(e,t,n){Array.isArray(e)?e.forEach(t,n):e&&t.call(n,e)}var it=null;function at(e){if(e){var t=e._dispatchListeners,n=e._dispatchInstances;if(Array.isArray(t))for(var o=0;o<t.length&&!e.isPropagationStopped();o++)b(e,t[o],n[o]);else t&&b(e,t,n);e._dispatchListeners=null,e._dispatchInstances=null,e.isPersistent()||e.constructor.release(e)}}function st(e){if(null!==e&&(it=ot(it,e)),e=it,it=null,e){if(rt(e,at),it)throw Error(a(95));if(u)throw e=d,u=!1,d=null,e}}function ct(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}function lt(e){if(!I)return!1;var t=(e="on"+e)in document;return t||((t=document.createElement("div")).setAttribute(e,"return;"),t="function"==typeof t[e]),t}var ut=[];function dt(e){e.topLevelType=null,e.nativeEvent=null,e.targetInst=null,e.ancestors.length=0,10>ut.length&&ut.push(e)}function pt(e,t,n,o){if(ut.length){var r=ut.pop();return r.topLevelType=e,r.eventSystemFlags=o,r.nativeEvent=t,r.targetInst=n,r}return{topLevelType:e,eventSystemFlags:o,nativeEvent:t,targetInst:n,ancestors:[]}}function ht(e){var t=e.targetInst,n=t;do{if(!n){e.ancestors.push(n);break}var o=n;if(3===o.tag)o=o.stateNode.containerInfo;else{for(;o.return;)o=o.return;o=3!==o.tag?null:o.stateNode.containerInfo}if(!o)break;5!==(t=n.tag)&&6!==t||e.ancestors.push(n),n=In(o)}while(n);for(n=0;n<e.ancestors.length;n++){t=e.ancestors[n];var r=ct(e.nativeEvent);o=e.topLevelType;var i=e.nativeEvent,a=e.eventSystemFlags;0===n&&(a|=64);for(var s=null,c=0;c<C.length;c++){var l=C[c];l&&(l=l.extractEvents(o,t,i,r,a))&&(s=ot(s,l))}st(s)}}function ft(e,t,n){if(!n.has(e)){switch(e){case"scroll":Yt(t,"scroll",!0);break;case"focus":case"blur":Yt(t,"focus",!0),Yt(t,"blur",!0),n.set("blur",null),n.set("focus",null);break;case"cancel":case"close":lt(e)&&Yt(t,e,!0);break;case"invalid":case"submit":case"reset":break;default:-1===$e.indexOf(e)&&Kt(e,t)}n.set(e,null)}}var mt,gt,bt,yt=!1,vt=[],_t=null,St=null,Ct=null,xt=new Map,wt=new Map,Tt=[],kt="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput close cancel copy cut paste click change contextmenu reset submit".split(" "),It="focus blur dragenter dragleave mouseover mouseout pointerover pointerout gotpointercapture lostpointercapture".split(" ");function Ot(e,t,n,o,r){return{blockedOn:e,topLevelType:t,eventSystemFlags:32|n,nativeEvent:r,container:o}}function Et(e,t){switch(e){case"focus":case"blur":_t=null;break;case"dragenter":case"dragleave":St=null;break;case"mouseover":case"mouseout":Ct=null;break;case"pointerover":case"pointerout":xt.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":wt.delete(t.pointerId)}}function Nt(e,t,n,o,r,i){return null===e||e.nativeEvent!==i?(e=Ot(t,n,o,r,i),null!==t&&(null!==(t=On(t))&&gt(t)),e):(e.eventSystemFlags|=o,e)}function Pt(e){var t=In(e.target);if(null!==t){var n=Je(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=et(n)))return e.blockedOn=t,void i.unstable_runWithPriority(e.priority,(function(){bt(n)}))}else if(3===t&&n.stateNode.hydrate)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function Dt(e){if(null!==e.blockedOn)return!1;var t=Xt(e.topLevelType,e.eventSystemFlags,e.container,e.nativeEvent);if(null!==t){var n=On(t);return null!==n&&gt(n),e.blockedOn=t,!1}return!0}function At(e,t,n){Dt(e)&&n.delete(t)}function Rt(){for(yt=!1;0<vt.length;){var e=vt[0];if(null!==e.blockedOn){null!==(e=On(e.blockedOn))&&mt(e);break}var t=Xt(e.topLevelType,e.eventSystemFlags,e.container,e.nativeEvent);null!==t?e.blockedOn=t:vt.shift()}null!==_t&&Dt(_t)&&(_t=null),null!==St&&Dt(St)&&(St=null),null!==Ct&&Dt(Ct)&&(Ct=null),xt.forEach(At),wt.forEach(At)}function Mt(e,t){e.blockedOn===t&&(e.blockedOn=null,yt||(yt=!0,i.unstable_scheduleCallback(i.unstable_NormalPriority,Rt)))}function Ft(e){function t(t){return Mt(t,e)}if(0<vt.length){Mt(vt[0],e);for(var n=1;n<vt.length;n++){var o=vt[n];o.blockedOn===e&&(o.blockedOn=null)}}for(null!==_t&&Mt(_t,e),null!==St&&Mt(St,e),null!==Ct&&Mt(Ct,e),xt.forEach(t),wt.forEach(t),n=0;n<Tt.length;n++)(o=Tt[n]).blockedOn===e&&(o.blockedOn=null);for(;0<Tt.length&&null===(n=Tt[0]).blockedOn;)Pt(n),null===n.blockedOn&&Tt.shift()}var jt={},Lt=new Map,Ht=new Map,Bt=["abort","abort",Ge,"animationEnd",Ke,"animationIteration",Ye,"animationStart","canplay","canPlay","canplaythrough","canPlayThrough","durationchange","durationChange","emptied","emptied","encrypted","encrypted","ended","ended","error","error","gotpointercapture","gotPointerCapture","load","load","loadeddata","loadedData","loadedmetadata","loadedMetadata","loadstart","loadStart","lostpointercapture","lostPointerCapture","playing","playing","progress","progress","seeking","seeking","stalled","stalled","suspend","suspend","timeupdate","timeUpdate",Qe,"transitionEnd","waiting","waiting"];function zt(e,t){for(var n=0;n<e.length;n+=2){var o=e[n],r=e[n+1],i="on"+(r[0].toUpperCase()+r.slice(1));i={phasedRegistrationNames:{bubbled:i,captured:i+"Capture"},dependencies:[o],eventPriority:t},Ht.set(o,t),Lt.set(o,i),jt[r]=i}}zt("blur blur cancel cancel click click close close contextmenu contextMenu copy copy cut cut auxclick auxClick dblclick doubleClick dragend dragEnd dragstart dragStart drop drop focus focus input input invalid invalid keydown keyDown keypress keyPress keyup keyUp mousedown mouseDown mouseup mouseUp paste paste pause pause play play pointercancel pointerCancel pointerdown pointerDown pointerup pointerUp ratechange rateChange reset reset seeked seeked submit submit touchcancel touchCancel touchend touchEnd touchstart touchStart volumechange volumeChange".split(" "),0),zt("drag drag dragenter dragEnter dragexit dragExit dragleave dragLeave dragover dragOver mousemove mouseMove mouseout mouseOut mouseover mouseOver pointermove pointerMove pointerout pointerOut pointerover pointerOver scroll scroll toggle toggle touchmove touchMove wheel wheel".split(" "),1),zt(Bt,2);for(var Ut="change selectionchange textInput compositionstart compositionend compositionupdate".split(" "),Vt=0;Vt<Ut.length;Vt++)Ht.set(Ut[Vt],0);var Wt=i.unstable_UserBlockingPriority,qt=i.unstable_runWithPriority,Gt=!0;function Kt(e,t){Yt(t,e,!1)}function Yt(e,t,n){var o=Ht.get(t);switch(void 0===o?2:o){case 0:o=Qt.bind(null,t,1,e);break;case 1:o=$t.bind(null,t,1,e);break;default:o=Zt.bind(null,t,1,e)}n?e.addEventListener(t,o,!0):e.addEventListener(t,o,!1)}function Qt(e,t,n,o){L||F();var r=Zt,i=L;L=!0;try{M(r,e,t,n,o)}finally{(L=i)||B()}}function $t(e,t,n,o){qt(Wt,Zt.bind(null,e,t,n,o))}function Zt(e,t,n,o){if(Gt)if(0<vt.length&&-1<kt.indexOf(e))e=Ot(null,e,t,n,o),vt.push(e);else{var r=Xt(e,t,n,o);if(null===r)Et(e,o);else if(-1<kt.indexOf(e))e=Ot(r,e,t,n,o),vt.push(e);else if(!function(e,t,n,o,r){switch(t){case"focus":return _t=Nt(_t,e,t,n,o,r),!0;case"dragenter":return St=Nt(St,e,t,n,o,r),!0;case"mouseover":return Ct=Nt(Ct,e,t,n,o,r),!0;case"pointerover":var i=r.pointerId;return xt.set(i,Nt(xt.get(i)||null,e,t,n,o,r)),!0;case"gotpointercapture":return i=r.pointerId,wt.set(i,Nt(wt.get(i)||null,e,t,n,o,r)),!0}return!1}(r,e,t,n,o)){Et(e,o),e=pt(e,o,null,t);try{z(ht,e)}finally{dt(e)}}}}function Xt(e,t,n,o){if(null!==(n=In(n=ct(o)))){var r=Je(n);if(null===r)n=null;else{var i=r.tag;if(13===i){if(null!==(n=et(r)))return n;n=null}else if(3===i){if(r.stateNode.hydrate)return 3===r.tag?r.stateNode.containerInfo:null;n=null}else r!==n&&(n=null)}}e=pt(e,o,n,t);try{z(ht,e)}finally{dt(e)}return null}var Jt={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},en=["Webkit","ms","Moz","O"];function tn(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||Jt.hasOwnProperty(e)&&Jt[e]?(""+t).trim():t+"px"}function nn(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var o=0===n.indexOf("--"),r=tn(n,t[n],o);"float"===n&&(n="cssFloat"),o?e.setProperty(n,r):e[n]=r}}Object.keys(Jt).forEach((function(e){en.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Jt[t]=Jt[e]}))}));var on=r({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function rn(e,t){if(t){if(on[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(a(137,e,""));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(a(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(a(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(a(62,""))}}function an(e,t){if(-1===e.indexOf("-"))return"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var sn=Re;function cn(e,t){var n=Xe(e=9===e.nodeType||11===e.nodeType?e:e.ownerDocument);t=T[t];for(var o=0;o<t.length;o++)ft(t[o],e,n)}function ln(){}function un(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function dn(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function pn(e,t){var n,o=dn(e);for(e=0;o;){if(3===o.nodeType){if(n=e+o.textContent.length,e<=t&&n>=t)return{node:o,offset:t-e};e=n}e:{for(;o;){if(o.nextSibling){o=o.nextSibling;break e}o=o.parentNode}o=void 0}o=dn(o)}}function hn(){for(var e=window,t=un();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(e){n=!1}if(!n)break;t=un((e=t.contentWindow).document)}return t}function fn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}var mn=null,gn=null;function bn(e,t){switch(e){case"button":case"input":case"select":case"textarea":return!!t.autoFocus}return!1}function yn(e,t){return"textarea"===e||"option"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var vn="function"==typeof setTimeout?setTimeout:void 0,_n="function"==typeof clearTimeout?clearTimeout:void 0;function Sn(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break}return e}function Cn(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n){if(0===t)return e;t--}else"/$"===n&&t++}e=e.previousSibling}return null}var xn=Math.random().toString(36).slice(2),wn="__reactInternalInstance$"+xn,Tn="__reactEventHandlers$"+xn,kn="__reactContainere$"+xn;function In(e){var t=e[wn];if(t)return t;for(var n=e.parentNode;n;){if(t=n[kn]||n[wn]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=Cn(e);null!==e;){if(n=e[wn])return n;e=Cn(e)}return t}n=(e=n).parentNode}return null}function On(e){return!(e=e[wn]||e[kn])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function En(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(a(33))}function Nn(e){return e[Tn]||null}function Pn(e){do{e=e.return}while(e&&5!==e.tag);return e||null}function Dn(e,t){var n=e.stateNode;if(!n)return null;var o=f(n);if(!o)return null;n=o[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(o=!o.disabled)||(o=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!o;break e;default:e=!1}if(e)return null;if(n&&"function"!=typeof n)throw Error(a(231,t,typeof n));return n}function An(e,t,n){(t=Dn(e,n.dispatchConfig.phasedRegistrationNames[t]))&&(n._dispatchListeners=ot(n._dispatchListeners,t),n._dispatchInstances=ot(n._dispatchInstances,e))}function Rn(e){if(e&&e.dispatchConfig.phasedRegistrationNames){for(var t=e._targetInst,n=[];t;)n.push(t),t=Pn(t);for(t=n.length;0<t--;)An(n[t],"captured",e);for(t=0;t<n.length;t++)An(n[t],"bubbled",e)}}function Mn(e,t,n){e&&n&&n.dispatchConfig.registrationName&&(t=Dn(e,n.dispatchConfig.registrationName))&&(n._dispatchListeners=ot(n._dispatchListeners,t),n._dispatchInstances=ot(n._dispatchInstances,e))}function Fn(e){e&&e.dispatchConfig.registrationName&&Mn(e._targetInst,null,e)}function jn(e){rt(e,Rn)}var Ln=null,Hn=null,Bn=null;function zn(){if(Bn)return Bn;var e,t,n=Hn,o=n.length,r="value"in Ln?Ln.value:Ln.textContent,i=r.length;for(e=0;e<o&&n[e]===r[e];e++);var a=o-e;for(t=1;t<=a&&n[o-t]===r[i-t];t++);return Bn=r.slice(e,1<t?1-t:void 0)}function Un(){return!0}function Vn(){return!1}function Wn(e,t,n,o){for(var r in this.dispatchConfig=e,this._targetInst=t,this.nativeEvent=n,e=this.constructor.Interface)e.hasOwnProperty(r)&&((t=e[r])?this[r]=t(n):"target"===r?this.target=o:this[r]=n[r]);return this.isDefaultPrevented=(null!=n.defaultPrevented?n.defaultPrevented:!1===n.returnValue)?Un:Vn,this.isPropagationStopped=Vn,this}function qn(e,t,n,o){if(this.eventPool.length){var r=this.eventPool.pop();return this.call(r,e,t,n,o),r}return new this(e,t,n,o)}function Gn(e){if(!(e instanceof this))throw Error(a(279));e.destructor(),10>this.eventPool.length&&this.eventPool.push(e)}function Kn(e){e.eventPool=[],e.getPooled=qn,e.release=Gn}r(Wn.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=Un)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=Un)},persist:function(){this.isPersistent=Un},isPersistent:Vn,destructor:function(){var e,t=this.constructor.Interface;for(e in t)this[e]=null;this.nativeEvent=this._targetInst=this.dispatchConfig=null,this.isPropagationStopped=this.isDefaultPrevented=Vn,this._dispatchInstances=this._dispatchListeners=null}}),Wn.Interface={type:null,target:null,currentTarget:function(){return null},eventPhase:null,bubbles:null,cancelable:null,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:null,isTrusted:null},Wn.extend=function(e){function t(){}function n(){return o.apply(this,arguments)}var o=this;t.prototype=o.prototype;var i=new t;return r(i,n.prototype),n.prototype=i,n.prototype.constructor=n,n.Interface=r({},o.Interface,e),n.extend=o.extend,Kn(n),n},Kn(Wn);var Yn=Wn.extend({data:null}),Qn=Wn.extend({data:null}),$n=[9,13,27,32],Zn=I&&"CompositionEvent"in window,Xn=null;I&&"documentMode"in document&&(Xn=document.documentMode);var Jn=I&&"TextEvent"in window&&!Xn,eo=I&&(!Zn||Xn&&8<Xn&&11>=Xn),to=String.fromCharCode(32),no={beforeInput:{phasedRegistrationNames:{bubbled:"onBeforeInput",captured:"onBeforeInputCapture"},dependencies:["compositionend","keypress","textInput","paste"]},compositionEnd:{phasedRegistrationNames:{bubbled:"onCompositionEnd",captured:"onCompositionEndCapture"},dependencies:"blur compositionend keydown keypress keyup mousedown".split(" ")},compositionStart:{phasedRegistrationNames:{bubbled:"onCompositionStart",captured:"onCompositionStartCapture"},dependencies:"blur compositionstart keydown keypress keyup mousedown".split(" ")},compositionUpdate:{phasedRegistrationNames:{bubbled:"onCompositionUpdate",captured:"onCompositionUpdateCapture"},dependencies:"blur compositionupdate keydown keypress keyup mousedown".split(" ")}},oo=!1;function ro(e,t){switch(e){case"keyup":return-1!==$n.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"blur":return!0;default:return!1}}function io(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var ao=!1;var so={eventTypes:no,extractEvents:function(e,t,n,o){var r;if(Zn)e:{switch(e){case"compositionstart":var i=no.compositionStart;break e;case"compositionend":i=no.compositionEnd;break e;case"compositionupdate":i=no.compositionUpdate;break e}i=void 0}else ao?ro(e,n)&&(i=no.compositionEnd):"keydown"===e&&229===n.keyCode&&(i=no.compositionStart);return i?(eo&&"ko"!==n.locale&&(ao||i!==no.compositionStart?i===no.compositionEnd&&ao&&(r=zn()):(Hn="value"in(Ln=o)?Ln.value:Ln.textContent,ao=!0)),i=Yn.getPooled(i,t,n,o),r?i.data=r:null!==(r=io(n))&&(i.data=r),jn(i),r=i):r=null,(e=Jn?function(e,t){switch(e){case"compositionend":return io(t);case"keypress":return 32!==t.which?null:(oo=!0,to);case"textInput":return(e=t.data)===to&&oo?null:e;default:return null}}(e,n):function(e,t){if(ao)return"compositionend"===e||!Zn&&ro(e,t)?(e=zn(),Bn=Hn=Ln=null,ao=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return eo&&"ko"!==t.locale?null:t.data;default:return null}}(e,n))?((t=Qn.getPooled(no.beforeInput,t,n,o)).data=e,jn(t)):t=null,null===r?t:null===t?r:[r,t]}},co={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function lo(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!co[e.type]:"textarea"===t}var uo={change:{phasedRegistrationNames:{bubbled:"onChange",captured:"onChangeCapture"},dependencies:"blur change click focus input keydown keyup selectionchange".split(" ")}};function po(e,t,n){return(e=Wn.getPooled(uo.change,e,t,n)).type="change",D(n),jn(e),e}var ho=null,fo=null;function mo(e){st(e)}function go(e){if(Se(En(e)))return e}function bo(e,t){if("change"===e)return t}var yo=!1;function vo(){ho&&(ho.detachEvent("onpropertychange",_o),fo=ho=null)}function _o(e){if("value"===e.propertyName&&go(fo))if(e=po(fo,e,ct(e)),L)st(e);else{L=!0;try{R(mo,e)}finally{L=!1,B()}}}function So(e,t,n){"focus"===e?(vo(),fo=n,(ho=t).attachEvent("onpropertychange",_o)):"blur"===e&&vo()}function Co(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return go(fo)}function xo(e,t){if("click"===e)return go(t)}function wo(e,t){if("input"===e||"change"===e)return go(t)}I&&(yo=lt("input")&&(!document.documentMode||9<document.documentMode));var To={eventTypes:uo,_isInputEventSupported:yo,extractEvents:function(e,t,n,o){var r=t?En(t):window,i=r.nodeName&&r.nodeName.toLowerCase();if("select"===i||"input"===i&&"file"===r.type)var a=bo;else if(lo(r))if(yo)a=wo;else{a=Co;var s=So}else(i=r.nodeName)&&"input"===i.toLowerCase()&&("checkbox"===r.type||"radio"===r.type)&&(a=xo);if(a&&(a=a(e,t)))return po(a,n,o);s&&s(e,r,t),"blur"===e&&(e=r._wrapperState)&&e.controlled&&"number"===r.type&&Ie(r,"number",r.value)}},ko=Wn.extend({view:null,detail:null}),Io={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Oo(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=Io[e])&&!!t[e]}function Eo(){return Oo}var No=0,Po=0,Do=!1,Ao=!1,Ro=ko.extend({screenX:null,screenY:null,clientX:null,clientY:null,pageX:null,pageY:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,getModifierState:Eo,button:null,buttons:null,relatedTarget:function(e){return e.relatedTarget||(e.fromElement===e.srcElement?e.toElement:e.fromElement)},movementX:function(e){if("movementX"in e)return e.movementX;var t=No;return No=e.screenX,Do?"mousemove"===e.type?e.screenX-t:0:(Do=!0,0)},movementY:function(e){if("movementY"in e)return e.movementY;var t=Po;return Po=e.screenY,Ao?"mousemove"===e.type?e.screenY-t:0:(Ao=!0,0)}}),Mo=Ro.extend({pointerId:null,width:null,height:null,pressure:null,tangentialPressure:null,tiltX:null,tiltY:null,twist:null,pointerType:null,isPrimary:null}),Fo={mouseEnter:{registrationName:"onMouseEnter",dependencies:["mouseout","mouseover"]},mouseLeave:{registrationName:"onMouseLeave",dependencies:["mouseout","mouseover"]},pointerEnter:{registrationName:"onPointerEnter",dependencies:["pointerout","pointerover"]},pointerLeave:{registrationName:"onPointerLeave",dependencies:["pointerout","pointerover"]}},jo={eventTypes:Fo,extractEvents:function(e,t,n,o,r){var i="mouseover"===e||"pointerover"===e,a="mouseout"===e||"pointerout"===e;if(i&&0==(32&r)&&(n.relatedTarget||n.fromElement)||!a&&!i)return null;(i=o.window===o?o:(i=o.ownerDocument)?i.defaultView||i.parentWindow:window,a)?(a=t,null!==(t=(t=n.relatedTarget||n.toElement)?In(t):null)&&(t!==Je(t)||5!==t.tag&&6!==t.tag)&&(t=null)):a=null;if(a===t)return null;if("mouseout"===e||"mouseover"===e)var s=Ro,c=Fo.mouseLeave,l=Fo.mouseEnter,u="mouse";else"pointerout"!==e&&"pointerover"!==e||(s=Mo,c=Fo.pointerLeave,l=Fo.pointerEnter,u="pointer");if(e=null==a?i:En(a),i=null==t?i:En(t),(c=s.getPooled(c,a,n,o)).type=u+"leave",c.target=e,c.relatedTarget=i,(n=s.getPooled(l,t,n,o)).type=u+"enter",n.target=i,n.relatedTarget=e,u=t,(o=a)&&u)e:{for(l=u,a=0,e=s=o;e;e=Pn(e))a++;for(e=0,t=l;t;t=Pn(t))e++;for(;0<a-e;)s=Pn(s),a--;for(;0<e-a;)l=Pn(l),e--;for(;a--;){if(s===l||s===l.alternate)break e;s=Pn(s),l=Pn(l)}s=null}else s=null;for(l=s,s=[];o&&o!==l&&(null===(a=o.alternate)||a!==l);)s.push(o),o=Pn(o);for(o=[];u&&u!==l&&(null===(a=u.alternate)||a!==l);)o.push(u),u=Pn(u);for(u=0;u<s.length;u++)Mn(s[u],"bubbled",c);for(u=o.length;0<u--;)Mn(o[u],"captured",n);return 0==(64&r)?[c]:[c,n]}};var Lo="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},Ho=Object.prototype.hasOwnProperty;function Bo(e,t){if(Lo(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),o=Object.keys(t);if(n.length!==o.length)return!1;for(o=0;o<n.length;o++)if(!Ho.call(t,n[o])||!Lo(e[n[o]],t[n[o]]))return!1;return!0}var zo=I&&"documentMode"in document&&11>=document.documentMode,Uo={select:{phasedRegistrationNames:{bubbled:"onSelect",captured:"onSelectCapture"},dependencies:"blur contextmenu dragend focus keydown keyup mousedown mouseup selectionchange".split(" ")}},Vo=null,Wo=null,qo=null,Go=!1;function Ko(e,t){var n=t.window===t?t.document:9===t.nodeType?t:t.ownerDocument;return Go||null==Vo||Vo!==un(n)?null:("selectionStart"in(n=Vo)&&fn(n)?n={start:n.selectionStart,end:n.selectionEnd}:n={anchorNode:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset},qo&&Bo(qo,n)?null:(qo=n,(e=Wn.getPooled(Uo.select,Wo,e,t)).type="select",e.target=Vo,jn(e),e))}var Yo={eventTypes:Uo,extractEvents:function(e,t,n,o,r,i){if(!(i=!(r=i||(o.window===o?o.document:9===o.nodeType?o:o.ownerDocument)))){e:{r=Xe(r),i=T.onSelect;for(var a=0;a<i.length;a++)if(!r.has(i[a])){r=!1;break e}r=!0}i=!r}if(i)return null;switch(r=t?En(t):window,e){case"focus":(lo(r)||"true"===r.contentEditable)&&(Vo=r,Wo=t,qo=null);break;case"blur":qo=Wo=Vo=null;break;case"mousedown":Go=!0;break;case"contextmenu":case"mouseup":case"dragend":return Go=!1,Ko(n,o);case"selectionchange":if(zo)break;case"keydown":case"keyup":return Ko(n,o)}return null}},Qo=Wn.extend({animationName:null,elapsedTime:null,pseudoElement:null}),$o=Wn.extend({clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Zo=ko.extend({relatedTarget:null});function Xo(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}var Jo={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},er={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},tr=ko.extend({key:function(e){if(e.key){var t=Jo[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=Xo(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?er[e.keyCode]||"Unidentified":""},location:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,repeat:null,locale:null,getModifierState:Eo,charCode:function(e){return"keypress"===e.type?Xo(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?Xo(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),nr=Ro.extend({dataTransfer:null}),or=ko.extend({touches:null,targetTouches:null,changedTouches:null,altKey:null,metaKey:null,ctrlKey:null,shiftKey:null,getModifierState:Eo}),rr=Wn.extend({propertyName:null,elapsedTime:null,pseudoElement:null}),ir=Ro.extend({deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:null,deltaMode:null}),ar={eventTypes:jt,extractEvents:function(e,t,n,o){var r=Lt.get(e);if(!r)return null;switch(e){case"keypress":if(0===Xo(n))return null;case"keydown":case"keyup":e=tr;break;case"blur":case"focus":e=Zo;break;case"click":if(2===n.button)return null;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":e=Ro;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":e=nr;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":e=or;break;case Ge:case Ke:case Ye:e=Qo;break;case Qe:e=rr;break;case"scroll":e=ko;break;case"wheel":e=ir;break;case"copy":case"cut":case"paste":e=$o;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":e=Mo;break;default:e=Wn}return jn(t=e.getPooled(r,t,n,o)),t}};if(y)throw Error(a(101));y=Array.prototype.slice.call("ResponderEventPlugin SimpleEventPlugin EnterLeaveEventPlugin ChangeEventPlugin SelectEventPlugin BeforeInputEventPlugin".split(" ")),_(),f=Nn,m=On,g=En,k({SimpleEventPlugin:ar,EnterLeaveEventPlugin:jo,ChangeEventPlugin:To,SelectEventPlugin:Yo,BeforeInputEventPlugin:so});var sr=[],cr=-1;function lr(e){0>cr||(e.current=sr[cr],sr[cr]=null,cr--)}function ur(e,t){cr++,sr[cr]=e.current,e.current=t}var dr={},pr={current:dr},hr={current:!1},fr=dr;function mr(e,t){var n=e.type.contextTypes;if(!n)return dr;var o=e.stateNode;if(o&&o.__reactInternalMemoizedUnmaskedChildContext===t)return o.__reactInternalMemoizedMaskedChildContext;var r,i={};for(r in n)i[r]=t[r];return o&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function gr(e){return null!=(e=e.childContextTypes)}function br(){lr(hr),lr(pr)}function yr(e,t,n){if(pr.current!==dr)throw Error(a(168));ur(pr,t),ur(hr,n)}function vr(e,t,n){var o=e.stateNode;if(e=t.childContextTypes,"function"!=typeof o.getChildContext)return n;for(var i in o=o.getChildContext())if(!(i in e))throw Error(a(108,ge(t)||"Unknown",i));return r({},n,{},o)}function _r(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||dr,fr=pr.current,ur(pr,e),ur(hr,hr.current),!0}function Sr(e,t,n){var o=e.stateNode;if(!o)throw Error(a(169));n?(e=vr(e,t,fr),o.__reactInternalMemoizedMergedChildContext=e,lr(hr),lr(pr),ur(pr,e)):lr(hr),ur(hr,n)}var Cr=i.unstable_runWithPriority,xr=i.unstable_scheduleCallback,wr=i.unstable_cancelCallback,Tr=i.unstable_requestPaint,kr=i.unstable_now,Ir=i.unstable_getCurrentPriorityLevel,Or=i.unstable_ImmediatePriority,Er=i.unstable_UserBlockingPriority,Nr=i.unstable_NormalPriority,Pr=i.unstable_LowPriority,Dr=i.unstable_IdlePriority,Ar={},Rr=i.unstable_shouldYield,Mr=void 0!==Tr?Tr:function(){},Fr=null,jr=null,Lr=!1,Hr=kr(),Br=1e4>Hr?kr:function(){return kr()-Hr};function zr(){switch(Ir()){case Or:return 99;case Er:return 98;case Nr:return 97;case Pr:return 96;case Dr:return 95;default:throw Error(a(332))}}function Ur(e){switch(e){case 99:return Or;case 98:return Er;case 97:return Nr;case 96:return Pr;case 95:return Dr;default:throw Error(a(332))}}function Vr(e,t){return e=Ur(e),Cr(e,t)}function Wr(e,t,n){return e=Ur(e),xr(e,t,n)}function qr(e){return null===Fr?(Fr=[e],jr=xr(Or,Kr)):Fr.push(e),Ar}function Gr(){if(null!==jr){var e=jr;jr=null,wr(e)}Kr()}function Kr(){if(!Lr&&null!==Fr){Lr=!0;var e=0;try{var t=Fr;Vr(99,(function(){for(;e<t.length;e++){var n=t[e];do{n=n(!0)}while(null!==n)}})),Fr=null}catch(t){throw null!==Fr&&(Fr=Fr.slice(e+1)),xr(Or,Gr),t}finally{Lr=!1}}}function Yr(e,t,n){return 1073741821-(1+((1073741821-e+t/10)/(n/=10)|0))*n}function Qr(e,t){if(e&&e.defaultProps)for(var n in t=r({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}var $r={current:null},Zr=null,Xr=null,Jr=null;function ei(){Jr=Xr=Zr=null}function ti(e){var t=$r.current;lr($r),e.type._context._currentValue=t}function ni(e,t){for(;null!==e;){var n=e.alternate;if(e.childExpirationTime<t)e.childExpirationTime=t,null!==n&&n.childExpirationTime<t&&(n.childExpirationTime=t);else{if(!(null!==n&&n.childExpirationTime<t))break;n.childExpirationTime=t}e=e.return}}function oi(e,t){Zr=e,Jr=Xr=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(e.expirationTime>=t&&(Na=!0),e.firstContext=null)}function ri(e,t){if(Jr!==e&&!1!==t&&0!==t)if("number"==typeof t&&1073741823!==t||(Jr=e,t=1073741823),t={context:e,observedBits:t,next:null},null===Xr){if(null===Zr)throw Error(a(308));Xr=t,Zr.dependencies={expirationTime:0,firstContext:t,responders:null}}else Xr=Xr.next=t;return e._currentValue}var ii=!1;function ai(e){e.updateQueue={baseState:e.memoizedState,baseQueue:null,shared:{pending:null},effects:null}}function si(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,baseQueue:e.baseQueue,shared:e.shared,effects:e.effects})}function ci(e,t){return(e={expirationTime:e,suspenseConfig:t,tag:0,payload:null,callback:null,next:null}).next=e}function li(e,t){if(null!==(e=e.updateQueue)){var n=(e=e.shared).pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}}function ui(e,t){var n=e.alternate;null!==n&&si(n,e),null===(n=(e=e.updateQueue).baseQueue)?(e.baseQueue=t.next=t,t.next=t):(t.next=n.next,n.next=t)}function di(e,t,n,o){var i=e.updateQueue;ii=!1;var a=i.baseQueue,s=i.shared.pending;if(null!==s){if(null!==a){var c=a.next;a.next=s.next,s.next=c}a=s,i.shared.pending=null,null!==(c=e.alternate)&&(null!==(c=c.updateQueue)&&(c.baseQueue=s))}if(null!==a){c=a.next;var l=i.baseState,u=0,d=null,p=null,h=null;if(null!==c)for(var f=c;;){if((s=f.expirationTime)<o){var m={expirationTime:f.expirationTime,suspenseConfig:f.suspenseConfig,tag:f.tag,payload:f.payload,callback:f.callback,next:null};null===h?(p=h=m,d=l):h=h.next=m,s>u&&(u=s)}else{null!==h&&(h=h.next={expirationTime:1073741823,suspenseConfig:f.suspenseConfig,tag:f.tag,payload:f.payload,callback:f.callback,next:null}),ic(s,f.suspenseConfig);e:{var g=e,b=f;switch(s=t,m=n,b.tag){case 1:if("function"==typeof(g=b.payload)){l=g.call(m,l,s);break e}l=g;break e;case 3:g.effectTag=-4097&g.effectTag|64;case 0:if(null==(s="function"==typeof(g=b.payload)?g.call(m,l,s):g))break e;l=r({},l,s);break e;case 2:ii=!0}}null!==f.callback&&(e.effectTag|=32,null===(s=i.effects)?i.effects=[f]:s.push(f))}if(null===(f=f.next)||f===c){if(null===(s=i.shared.pending))break;f=a.next=s.next,s.next=c,i.baseQueue=a=s,i.shared.pending=null}}null===h?d=l:h.next=p,i.baseState=d,i.baseQueue=h,ac(u),e.expirationTime=u,e.memoizedState=l}}function pi(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var o=e[t],r=o.callback;if(null!==r){if(o.callback=null,o=r,r=n,"function"!=typeof o)throw Error(a(191,o));o.call(r)}}}var hi=$.ReactCurrentBatchConfig,fi=(new o.Component).refs;function mi(e,t,n,o){n=null==(n=n(o,t=e.memoizedState))?t:r({},t,n),e.memoizedState=n,0===e.expirationTime&&(e.updateQueue.baseState=n)}var gi={isMounted:function(e){return!!(e=e._reactInternalFiber)&&Je(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternalFiber;var o=Gs(),r=hi.suspense;(r=ci(o=Ks(o,e,r),r)).payload=t,null!=n&&(r.callback=n),li(e,r),Ys(e,o)},enqueueReplaceState:function(e,t,n){e=e._reactInternalFiber;var o=Gs(),r=hi.suspense;(r=ci(o=Ks(o,e,r),r)).tag=1,r.payload=t,null!=n&&(r.callback=n),li(e,r),Ys(e,o)},enqueueForceUpdate:function(e,t){e=e._reactInternalFiber;var n=Gs(),o=hi.suspense;(o=ci(n=Ks(n,e,o),o)).tag=2,null!=t&&(o.callback=t),li(e,o),Ys(e,n)}};function bi(e,t,n,o,r,i,a){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(o,i,a):!t.prototype||!t.prototype.isPureReactComponent||(!Bo(n,o)||!Bo(r,i))}function yi(e,t,n){var o=!1,r=dr,i=t.contextType;return"object"==typeof i&&null!==i?i=ri(i):(r=gr(t)?fr:pr.current,i=(o=null!=(o=t.contextTypes))?mr(e,r):dr),t=new t(n,i),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=gi,e.stateNode=t,t._reactInternalFiber=e,o&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=r,e.__reactInternalMemoizedMaskedChildContext=i),t}function vi(e,t,n,o){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,o),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,o),t.state!==e&&gi.enqueueReplaceState(t,t.state,null)}function _i(e,t,n,o){var r=e.stateNode;r.props=n,r.state=e.memoizedState,r.refs=fi,ai(e);var i=t.contextType;"object"==typeof i&&null!==i?r.context=ri(i):(i=gr(t)?fr:pr.current,r.context=mr(e,i)),di(e,n,r,o),r.state=e.memoizedState,"function"==typeof(i=t.getDerivedStateFromProps)&&(mi(e,t,i,n),r.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof r.getSnapshotBeforeUpdate||"function"!=typeof r.UNSAFE_componentWillMount&&"function"!=typeof r.componentWillMount||(t=r.state,"function"==typeof r.componentWillMount&&r.componentWillMount(),"function"==typeof r.UNSAFE_componentWillMount&&r.UNSAFE_componentWillMount(),t!==r.state&&gi.enqueueReplaceState(r,r.state,null),di(e,n,r,o),r.state=e.memoizedState),"function"==typeof r.componentDidMount&&(e.effectTag|=4)}var Si=Array.isArray;function Ci(e,t,n){if(null!==(e=n.ref)&&"function"!=typeof e&&"object"!=typeof e){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(a(309));var o=n.stateNode}if(!o)throw Error(a(147,e));var r=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===r?t.ref:((t=function(e){var t=o.refs;t===fi&&(t=o.refs={}),null===e?delete t[r]:t[r]=e})._stringRef=r,t)}if("string"!=typeof e)throw Error(a(284));if(!n._owner)throw Error(a(290,e))}return e}function xi(e,t){if("textarea"!==e.type)throw Error(a(31,"[object Object]"===Object.prototype.toString.call(t)?"object with keys {"+Object.keys(t).join(", ")+"}":t,""))}function wi(e){function t(t,n){if(e){var o=t.lastEffect;null!==o?(o.nextEffect=n,t.lastEffect=n):t.firstEffect=t.lastEffect=n,n.nextEffect=null,n.effectTag=8}}function n(n,o){if(!e)return null;for(;null!==o;)t(n,o),o=o.sibling;return null}function o(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function r(e,t){return(e=kc(e,t)).index=0,e.sibling=null,e}function i(t,n,o){return t.index=o,e?null!==(o=t.alternate)?(o=o.index)<n?(t.effectTag=2,n):o:(t.effectTag=2,n):n}function s(t){return e&&null===t.alternate&&(t.effectTag=2),t}function c(e,t,n,o){return null===t||6!==t.tag?((t=Ec(n,e.mode,o)).return=e,t):((t=r(t,n)).return=e,t)}function l(e,t,n,o){return null!==t&&t.elementType===n.type?((o=r(t,n.props)).ref=Ci(e,t,n),o.return=e,o):((o=Ic(n.type,n.key,n.props,null,e.mode,o)).ref=Ci(e,t,n),o.return=e,o)}function u(e,t,n,o){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=Nc(n,e.mode,o)).return=e,t):((t=r(t,n.children||[])).return=e,t)}function d(e,t,n,o,i){return null===t||7!==t.tag?((t=Oc(n,e.mode,o,i)).return=e,t):((t=r(t,n)).return=e,t)}function p(e,t,n){if("string"==typeof t||"number"==typeof t)return(t=Ec(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case ee:return(n=Ic(t.type,t.key,t.props,null,e.mode,n)).ref=Ci(e,null,t),n.return=e,n;case te:return(t=Nc(t,e.mode,n)).return=e,t}if(Si(t)||me(t))return(t=Oc(t,e.mode,n,null)).return=e,t;xi(e,t)}return null}function h(e,t,n,o){var r=null!==t?t.key:null;if("string"==typeof n||"number"==typeof n)return null!==r?null:c(e,t,""+n,o);if("object"==typeof n&&null!==n){switch(n.$$typeof){case ee:return n.key===r?n.type===ne?d(e,t,n.props.children,o,r):l(e,t,n,o):null;case te:return n.key===r?u(e,t,n,o):null}if(Si(n)||me(n))return null!==r?null:d(e,t,n,o,null);xi(e,n)}return null}function f(e,t,n,o,r){if("string"==typeof o||"number"==typeof o)return c(t,e=e.get(n)||null,""+o,r);if("object"==typeof o&&null!==o){switch(o.$$typeof){case ee:return e=e.get(null===o.key?n:o.key)||null,o.type===ne?d(t,e,o.props.children,r,o.key):l(t,e,o,r);case te:return u(t,e=e.get(null===o.key?n:o.key)||null,o,r)}if(Si(o)||me(o))return d(t,e=e.get(n)||null,o,r,null);xi(t,o)}return null}function m(r,a,s,c){for(var l=null,u=null,d=a,m=a=0,g=null;null!==d&&m<s.length;m++){d.index>m?(g=d,d=null):g=d.sibling;var b=h(r,d,s[m],c);if(null===b){null===d&&(d=g);break}e&&d&&null===b.alternate&&t(r,d),a=i(b,a,m),null===u?l=b:u.sibling=b,u=b,d=g}if(m===s.length)return n(r,d),l;if(null===d){for(;m<s.length;m++)null!==(d=p(r,s[m],c))&&(a=i(d,a,m),null===u?l=d:u.sibling=d,u=d);return l}for(d=o(r,d);m<s.length;m++)null!==(g=f(d,r,m,s[m],c))&&(e&&null!==g.alternate&&d.delete(null===g.key?m:g.key),a=i(g,a,m),null===u?l=g:u.sibling=g,u=g);return e&&d.forEach((function(e){return t(r,e)})),l}function g(r,s,c,l){var u=me(c);if("function"!=typeof u)throw Error(a(150));if(null==(c=u.call(c)))throw Error(a(151));for(var d=u=null,m=s,g=s=0,b=null,y=c.next();null!==m&&!y.done;g++,y=c.next()){m.index>g?(b=m,m=null):b=m.sibling;var v=h(r,m,y.value,l);if(null===v){null===m&&(m=b);break}e&&m&&null===v.alternate&&t(r,m),s=i(v,s,g),null===d?u=v:d.sibling=v,d=v,m=b}if(y.done)return n(r,m),u;if(null===m){for(;!y.done;g++,y=c.next())null!==(y=p(r,y.value,l))&&(s=i(y,s,g),null===d?u=y:d.sibling=y,d=y);return u}for(m=o(r,m);!y.done;g++,y=c.next())null!==(y=f(m,r,g,y.value,l))&&(e&&null!==y.alternate&&m.delete(null===y.key?g:y.key),s=i(y,s,g),null===d?u=y:d.sibling=y,d=y);return e&&m.forEach((function(e){return t(r,e)})),u}return function(e,o,i,c){var l="object"==typeof i&&null!==i&&i.type===ne&&null===i.key;l&&(i=i.props.children);var u="object"==typeof i&&null!==i;if(u)switch(i.$$typeof){case ee:e:{for(u=i.key,l=o;null!==l;){if(l.key===u){switch(l.tag){case 7:if(i.type===ne){n(e,l.sibling),(o=r(l,i.props.children)).return=e,e=o;break e}break;default:if(l.elementType===i.type){n(e,l.sibling),(o=r(l,i.props)).ref=Ci(e,l,i),o.return=e,e=o;break e}}n(e,l);break}t(e,l),l=l.sibling}i.type===ne?((o=Oc(i.props.children,e.mode,c,i.key)).return=e,e=o):((c=Ic(i.type,i.key,i.props,null,e.mode,c)).ref=Ci(e,o,i),c.return=e,e=c)}return s(e);case te:e:{for(l=i.key;null!==o;){if(o.key===l){if(4===o.tag&&o.stateNode.containerInfo===i.containerInfo&&o.stateNode.implementation===i.implementation){n(e,o.sibling),(o=r(o,i.children||[])).return=e,e=o;break e}n(e,o);break}t(e,o),o=o.sibling}(o=Nc(i,e.mode,c)).return=e,e=o}return s(e)}if("string"==typeof i||"number"==typeof i)return i=""+i,null!==o&&6===o.tag?(n(e,o.sibling),(o=r(o,i)).return=e,e=o):(n(e,o),(o=Ec(i,e.mode,c)).return=e,e=o),s(e);if(Si(i))return m(e,o,i,c);if(me(i))return g(e,o,i,c);if(u&&xi(e,i),void 0===i&&!l)switch(e.tag){case 1:case 0:throw e=e.type,Error(a(152,e.displayName||e.name||"Component"))}return n(e,o)}}var Ti=wi(!0),ki=wi(!1),Ii={},Oi={current:Ii},Ei={current:Ii},Ni={current:Ii};function Pi(e){if(e===Ii)throw Error(a(174));return e}function Di(e,t){switch(ur(Ni,t),ur(Ei,e),ur(Oi,Ii),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:je(null,"");break;default:t=je(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}lr(Oi),ur(Oi,t)}function Ai(){lr(Oi),lr(Ei),lr(Ni)}function Ri(e){Pi(Ni.current);var t=Pi(Oi.current),n=je(t,e.type);t!==n&&(ur(Ei,e),ur(Oi,n))}function Mi(e){Ei.current===e&&(lr(Oi),lr(Ei))}var Fi={current:0};function ji(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!=(64&t.effectTag))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}function Li(e,t){return{responder:e,props:t}}var Hi=$.ReactCurrentDispatcher,Bi=$.ReactCurrentBatchConfig,zi=0,Ui=null,Vi=null,Wi=null,qi=!1;function Gi(){throw Error(a(321))}function Ki(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!Lo(e[n],t[n]))return!1;return!0}function Yi(e,t,n,o,r,i){if(zi=i,Ui=t,t.memoizedState=null,t.updateQueue=null,t.expirationTime=0,Hi.current=null===e||null===e.memoizedState?ba:ya,e=n(o,r),t.expirationTime===zi){i=0;do{if(t.expirationTime=0,!(25>i))throw Error(a(301));i+=1,Wi=Vi=null,t.updateQueue=null,Hi.current=va,e=n(o,r)}while(t.expirationTime===zi)}if(Hi.current=ga,t=null!==Vi&&null!==Vi.next,zi=0,Wi=Vi=Ui=null,qi=!1,t)throw Error(a(300));return e}function Qi(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===Wi?Ui.memoizedState=Wi=e:Wi=Wi.next=e,Wi}function $i(){if(null===Vi){var e=Ui.alternate;e=null!==e?e.memoizedState:null}else e=Vi.next;var t=null===Wi?Ui.memoizedState:Wi.next;if(null!==t)Wi=t,Vi=e;else{if(null===e)throw Error(a(310));e={memoizedState:(Vi=e).memoizedState,baseState:Vi.baseState,baseQueue:Vi.baseQueue,queue:Vi.queue,next:null},null===Wi?Ui.memoizedState=Wi=e:Wi=Wi.next=e}return Wi}function Zi(e,t){return"function"==typeof t?t(e):t}function Xi(e){var t=$i(),n=t.queue;if(null===n)throw Error(a(311));n.lastRenderedReducer=e;var o=Vi,r=o.baseQueue,i=n.pending;if(null!==i){if(null!==r){var s=r.next;r.next=i.next,i.next=s}o.baseQueue=r=i,n.pending=null}if(null!==r){r=r.next,o=o.baseState;var c=s=i=null,l=r;do{var u=l.expirationTime;if(u<zi){var d={expirationTime:l.expirationTime,suspenseConfig:l.suspenseConfig,action:l.action,eagerReducer:l.eagerReducer,eagerState:l.eagerState,next:null};null===c?(s=c=d,i=o):c=c.next=d,u>Ui.expirationTime&&(Ui.expirationTime=u,ac(u))}else null!==c&&(c=c.next={expirationTime:1073741823,suspenseConfig:l.suspenseConfig,action:l.action,eagerReducer:l.eagerReducer,eagerState:l.eagerState,next:null}),ic(u,l.suspenseConfig),o=l.eagerReducer===e?l.eagerState:e(o,l.action);l=l.next}while(null!==l&&l!==r);null===c?i=o:c.next=s,Lo(o,t.memoizedState)||(Na=!0),t.memoizedState=o,t.baseState=i,t.baseQueue=c,n.lastRenderedState=o}return[t.memoizedState,n.dispatch]}function Ji(e){var t=$i(),n=t.queue;if(null===n)throw Error(a(311));n.lastRenderedReducer=e;var o=n.dispatch,r=n.pending,i=t.memoizedState;if(null!==r){n.pending=null;var s=r=r.next;do{i=e(i,s.action),s=s.next}while(s!==r);Lo(i,t.memoizedState)||(Na=!0),t.memoizedState=i,null===t.baseQueue&&(t.baseState=i),n.lastRenderedState=i}return[i,o]}function ea(e){var t=Qi();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e=(e=t.queue={pending:null,dispatch:null,lastRenderedReducer:Zi,lastRenderedState:e}).dispatch=ma.bind(null,Ui,e),[t.memoizedState,e]}function ta(e,t,n,o){return e={tag:e,create:t,destroy:n,deps:o,next:null},null===(t=Ui.updateQueue)?(t={lastEffect:null},Ui.updateQueue=t,t.lastEffect=e.next=e):null===(n=t.lastEffect)?t.lastEffect=e.next=e:(o=n.next,n.next=e,e.next=o,t.lastEffect=e),e}function na(){return $i().memoizedState}function oa(e,t,n,o){var r=Qi();Ui.effectTag|=e,r.memoizedState=ta(1|t,n,void 0,void 0===o?null:o)}function ra(e,t,n,o){var r=$i();o=void 0===o?null:o;var i=void 0;if(null!==Vi){var a=Vi.memoizedState;if(i=a.destroy,null!==o&&Ki(o,a.deps))return void ta(t,n,i,o)}Ui.effectTag|=e,r.memoizedState=ta(1|t,n,i,o)}function ia(e,t){return oa(516,4,e,t)}function aa(e,t){return ra(516,4,e,t)}function sa(e,t){return ra(4,2,e,t)}function ca(e,t){return"function"==typeof t?(e=e(),t(e),function(){t(null)}):null!=t?(e=e(),t.current=e,function(){t.current=null}):void 0}function la(e,t,n){return n=null!=n?n.concat([e]):null,ra(4,2,ca.bind(null,t,e),n)}function ua(){}function da(e,t){return Qi().memoizedState=[e,void 0===t?null:t],e}function pa(e,t){var n=$i();t=void 0===t?null:t;var o=n.memoizedState;return null!==o&&null!==t&&Ki(t,o[1])?o[0]:(n.memoizedState=[e,t],e)}function ha(e,t){var n=$i();t=void 0===t?null:t;var o=n.memoizedState;return null!==o&&null!==t&&Ki(t,o[1])?o[0]:(e=e(),n.memoizedState=[e,t],e)}function fa(e,t,n){var o=zr();Vr(98>o?98:o,(function(){e(!0)})),Vr(97<o?97:o,(function(){var o=Bi.suspense;Bi.suspense=void 0===t?null:t;try{e(!1),n()}finally{Bi.suspense=o}}))}function ma(e,t,n){var o=Gs(),r=hi.suspense;r={expirationTime:o=Ks(o,e,r),suspenseConfig:r,action:n,eagerReducer:null,eagerState:null,next:null};var i=t.pending;if(null===i?r.next=r:(r.next=i.next,i.next=r),t.pending=r,i=e.alternate,e===Ui||null!==i&&i===Ui)qi=!0,r.expirationTime=zi,Ui.expirationTime=zi;else{if(0===e.expirationTime&&(null===i||0===i.expirationTime)&&null!==(i=t.lastRenderedReducer))try{var a=t.lastRenderedState,s=i(a,n);if(r.eagerReducer=i,r.eagerState=s,Lo(s,a))return}catch(e){}Ys(e,o)}}var ga={readContext:ri,useCallback:Gi,useContext:Gi,useEffect:Gi,useImperativeHandle:Gi,useLayoutEffect:Gi,useMemo:Gi,useReducer:Gi,useRef:Gi,useState:Gi,useDebugValue:Gi,useResponder:Gi,useDeferredValue:Gi,useTransition:Gi},ba={readContext:ri,useCallback:da,useContext:ri,useEffect:ia,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,oa(4,2,ca.bind(null,t,e),n)},useLayoutEffect:function(e,t){return oa(4,2,e,t)},useMemo:function(e,t){var n=Qi();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var o=Qi();return t=void 0!==n?n(t):t,o.memoizedState=o.baseState=t,e=(e=o.queue={pending:null,dispatch:null,lastRenderedReducer:e,lastRenderedState:t}).dispatch=ma.bind(null,Ui,e),[o.memoizedState,e]},useRef:function(e){return e={current:e},Qi().memoizedState=e},useState:ea,useDebugValue:ua,useResponder:Li,useDeferredValue:function(e,t){var n=ea(e),o=n[0],r=n[1];return ia((function(){var n=Bi.suspense;Bi.suspense=void 0===t?null:t;try{r(e)}finally{Bi.suspense=n}}),[e,t]),o},useTransition:function(e){var t=ea(!1),n=t[0];return t=t[1],[da(fa.bind(null,t,e),[t,e]),n]}},ya={readContext:ri,useCallback:pa,useContext:ri,useEffect:aa,useImperativeHandle:la,useLayoutEffect:sa,useMemo:ha,useReducer:Xi,useRef:na,useState:function(){return Xi(Zi)},useDebugValue:ua,useResponder:Li,useDeferredValue:function(e,t){var n=Xi(Zi),o=n[0],r=n[1];return aa((function(){var n=Bi.suspense;Bi.suspense=void 0===t?null:t;try{r(e)}finally{Bi.suspense=n}}),[e,t]),o},useTransition:function(e){var t=Xi(Zi),n=t[0];return t=t[1],[pa(fa.bind(null,t,e),[t,e]),n]}},va={readContext:ri,useCallback:pa,useContext:ri,useEffect:aa,useImperativeHandle:la,useLayoutEffect:sa,useMemo:ha,useReducer:Ji,useRef:na,useState:function(){return Ji(Zi)},useDebugValue:ua,useResponder:Li,useDeferredValue:function(e,t){var n=Ji(Zi),o=n[0],r=n[1];return aa((function(){var n=Bi.suspense;Bi.suspense=void 0===t?null:t;try{r(e)}finally{Bi.suspense=n}}),[e,t]),o},useTransition:function(e){var t=Ji(Zi),n=t[0];return t=t[1],[pa(fa.bind(null,t,e),[t,e]),n]}},_a=null,Sa=null,Ca=!1;function xa(e,t){var n=wc(5,null,null,0);n.elementType="DELETED",n.type="DELETED",n.stateNode=t,n.return=e,n.effectTag=8,null!==e.lastEffect?(e.lastEffect.nextEffect=n,e.lastEffect=n):e.firstEffect=e.lastEffect=n}function wa(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,!0);case 13:default:return!1}}function Ta(e){if(Ca){var t=Sa;if(t){var n=t;if(!wa(e,t)){if(!(t=Sn(n.nextSibling))||!wa(e,t))return e.effectTag=-1025&e.effectTag|2,Ca=!1,void(_a=e);xa(_a,n)}_a=e,Sa=Sn(t.firstChild)}else e.effectTag=-1025&e.effectTag|2,Ca=!1,_a=e}}function ka(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;_a=e}function Ia(e){if(e!==_a)return!1;if(!Ca)return ka(e),Ca=!0,!1;var t=e.type;if(5!==e.tag||"head"!==t&&"body"!==t&&!yn(t,e.memoizedProps))for(t=Sa;t;)xa(e,t),t=Sn(t.nextSibling);if(ka(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(a(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){Sa=Sn(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}Sa=null}}else Sa=_a?Sn(e.stateNode.nextSibling):null;return!0}function Oa(){Sa=_a=null,Ca=!1}var Ea=$.ReactCurrentOwner,Na=!1;function Pa(e,t,n,o){t.child=null===e?ki(t,null,n,o):Ti(t,e.child,n,o)}function Da(e,t,n,o,r){n=n.render;var i=t.ref;return oi(t,r),o=Yi(e,t,n,o,i,r),null===e||Na?(t.effectTag|=1,Pa(e,t,o,r),t.child):(t.updateQueue=e.updateQueue,t.effectTag&=-517,e.expirationTime<=r&&(e.expirationTime=0),Ya(e,t,r))}function Aa(e,t,n,o,r,i){if(null===e){var a=n.type;return"function"!=typeof a||Tc(a)||void 0!==a.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Ic(n.type,null,o,null,t.mode,i)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=a,Ra(e,t,a,o,r,i))}return a=e.child,r<i&&(r=a.memoizedProps,(n=null!==(n=n.compare)?n:Bo)(r,o)&&e.ref===t.ref)?Ya(e,t,i):(t.effectTag|=1,(e=kc(a,o)).ref=t.ref,e.return=t,t.child=e)}function Ra(e,t,n,o,r,i){return null!==e&&Bo(e.memoizedProps,o)&&e.ref===t.ref&&(Na=!1,r<i)?(t.expirationTime=e.expirationTime,Ya(e,t,i)):Fa(e,t,n,o,i)}function Ma(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.effectTag|=128)}function Fa(e,t,n,o,r){var i=gr(n)?fr:pr.current;return i=mr(t,i),oi(t,r),n=Yi(e,t,n,o,i,r),null===e||Na?(t.effectTag|=1,Pa(e,t,n,r),t.child):(t.updateQueue=e.updateQueue,t.effectTag&=-517,e.expirationTime<=r&&(e.expirationTime=0),Ya(e,t,r))}function ja(e,t,n,o,r){if(gr(n)){var i=!0;_r(t)}else i=!1;if(oi(t,r),null===t.stateNode)null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),yi(t,n,o),_i(t,n,o,r),o=!0;else if(null===e){var a=t.stateNode,s=t.memoizedProps;a.props=s;var c=a.context,l=n.contextType;"object"==typeof l&&null!==l?l=ri(l):l=mr(t,l=gr(n)?fr:pr.current);var u=n.getDerivedStateFromProps,d="function"==typeof u||"function"==typeof a.getSnapshotBeforeUpdate;d||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(s!==o||c!==l)&&vi(t,a,o,l),ii=!1;var p=t.memoizedState;a.state=p,di(t,o,a,r),c=t.memoizedState,s!==o||p!==c||hr.current||ii?("function"==typeof u&&(mi(t,n,u,o),c=t.memoizedState),(s=ii||bi(t,n,s,o,p,c,l))?(d||"function"!=typeof a.UNSAFE_componentWillMount&&"function"!=typeof a.componentWillMount||("function"==typeof a.componentWillMount&&a.componentWillMount(),"function"==typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount()),"function"==typeof a.componentDidMount&&(t.effectTag|=4)):("function"==typeof a.componentDidMount&&(t.effectTag|=4),t.memoizedProps=o,t.memoizedState=c),a.props=o,a.state=c,a.context=l,o=s):("function"==typeof a.componentDidMount&&(t.effectTag|=4),o=!1)}else a=t.stateNode,si(e,t),s=t.memoizedProps,a.props=t.type===t.elementType?s:Qr(t.type,s),c=a.context,"object"==typeof(l=n.contextType)&&null!==l?l=ri(l):l=mr(t,l=gr(n)?fr:pr.current),(d="function"==typeof(u=n.getDerivedStateFromProps)||"function"==typeof a.getSnapshotBeforeUpdate)||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(s!==o||c!==l)&&vi(t,a,o,l),ii=!1,c=t.memoizedState,a.state=c,di(t,o,a,r),p=t.memoizedState,s!==o||c!==p||hr.current||ii?("function"==typeof u&&(mi(t,n,u,o),p=t.memoizedState),(u=ii||bi(t,n,s,o,c,p,l))?(d||"function"!=typeof a.UNSAFE_componentWillUpdate&&"function"!=typeof a.componentWillUpdate||("function"==typeof a.componentWillUpdate&&a.componentWillUpdate(o,p,l),"function"==typeof a.UNSAFE_componentWillUpdate&&a.UNSAFE_componentWillUpdate(o,p,l)),"function"==typeof a.componentDidUpdate&&(t.effectTag|=4),"function"==typeof a.getSnapshotBeforeUpdate&&(t.effectTag|=256)):("function"!=typeof a.componentDidUpdate||s===e.memoizedProps&&c===e.memoizedState||(t.effectTag|=4),"function"!=typeof a.getSnapshotBeforeUpdate||s===e.memoizedProps&&c===e.memoizedState||(t.effectTag|=256),t.memoizedProps=o,t.memoizedState=p),a.props=o,a.state=p,a.context=l,o=u):("function"!=typeof a.componentDidUpdate||s===e.memoizedProps&&c===e.memoizedState||(t.effectTag|=4),"function"!=typeof a.getSnapshotBeforeUpdate||s===e.memoizedProps&&c===e.memoizedState||(t.effectTag|=256),o=!1);return La(e,t,n,o,i,r)}function La(e,t,n,o,r,i){Ma(e,t);var a=0!=(64&t.effectTag);if(!o&&!a)return r&&Sr(t,n,!1),Ya(e,t,i);o=t.stateNode,Ea.current=t;var s=a&&"function"!=typeof n.getDerivedStateFromError?null:o.render();return t.effectTag|=1,null!==e&&a?(t.child=Ti(t,e.child,null,i),t.child=Ti(t,null,s,i)):Pa(e,t,s,i),t.memoizedState=o.state,r&&Sr(t,n,!0),t.child}function Ha(e){var t=e.stateNode;t.pendingContext?yr(0,t.pendingContext,t.pendingContext!==t.context):t.context&&yr(0,t.context,!1),Di(e,t.containerInfo)}var Ba,za,Ua,Va={dehydrated:null,retryTime:0};function Wa(e,t,n){var o,r=t.mode,i=t.pendingProps,a=Fi.current,s=!1;if((o=0!=(64&t.effectTag))||(o=0!=(2&a)&&(null===e||null!==e.memoizedState)),o?(s=!0,t.effectTag&=-65):null!==e&&null===e.memoizedState||void 0===i.fallback||!0===i.unstable_avoidThisFallback||(a|=1),ur(Fi,1&a),null===e){if(void 0!==i.fallback&&Ta(t),s){if(s=i.fallback,(i=Oc(null,r,0,null)).return=t,0==(2&t.mode))for(e=null!==t.memoizedState?t.child.child:t.child,i.child=e;null!==e;)e.return=i,e=e.sibling;return(n=Oc(s,r,n,null)).return=t,i.sibling=n,t.memoizedState=Va,t.child=i,n}return r=i.children,t.memoizedState=null,t.child=ki(t,null,r,n)}if(null!==e.memoizedState){if(r=(e=e.child).sibling,s){if(i=i.fallback,(n=kc(e,e.pendingProps)).return=t,0==(2&t.mode)&&(s=null!==t.memoizedState?t.child.child:t.child)!==e.child)for(n.child=s;null!==s;)s.return=n,s=s.sibling;return(r=kc(r,i)).return=t,n.sibling=r,n.childExpirationTime=0,t.memoizedState=Va,t.child=n,r}return n=Ti(t,e.child,i.children,n),t.memoizedState=null,t.child=n}if(e=e.child,s){if(s=i.fallback,(i=Oc(null,r,0,null)).return=t,i.child=e,null!==e&&(e.return=i),0==(2&t.mode))for(e=null!==t.memoizedState?t.child.child:t.child,i.child=e;null!==e;)e.return=i,e=e.sibling;return(n=Oc(s,r,n,null)).return=t,i.sibling=n,n.effectTag|=2,i.childExpirationTime=0,t.memoizedState=Va,t.child=i,n}return t.memoizedState=null,t.child=Ti(t,e,i.children,n)}function qa(e,t){e.expirationTime<t&&(e.expirationTime=t);var n=e.alternate;null!==n&&n.expirationTime<t&&(n.expirationTime=t),ni(e.return,t)}function Ga(e,t,n,o,r,i){var a=e.memoizedState;null===a?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:o,tail:n,tailExpiration:0,tailMode:r,lastEffect:i}:(a.isBackwards=t,a.rendering=null,a.renderingStartTime=0,a.last=o,a.tail=n,a.tailExpiration=0,a.tailMode=r,a.lastEffect=i)}function Ka(e,t,n){var o=t.pendingProps,r=o.revealOrder,i=o.tail;if(Pa(e,t,o.children,n),0!=(2&(o=Fi.current)))o=1&o|2,t.effectTag|=64;else{if(null!==e&&0!=(64&e.effectTag))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&qa(e,n);else if(19===e.tag)qa(e,n);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}o&=1}if(ur(Fi,o),0==(2&t.mode))t.memoizedState=null;else switch(r){case"forwards":for(n=t.child,r=null;null!==n;)null!==(e=n.alternate)&&null===ji(e)&&(r=n),n=n.sibling;null===(n=r)?(r=t.child,t.child=null):(r=n.sibling,n.sibling=null),Ga(t,!1,r,n,i,t.lastEffect);break;case"backwards":for(n=null,r=t.child,t.child=null;null!==r;){if(null!==(e=r.alternate)&&null===ji(e)){t.child=r;break}e=r.sibling,r.sibling=n,n=r,r=e}Ga(t,!0,n,null,i,t.lastEffect);break;case"together":Ga(t,!1,null,null,void 0,t.lastEffect);break;default:t.memoizedState=null}return t.child}function Ya(e,t,n){null!==e&&(t.dependencies=e.dependencies);var o=t.expirationTime;if(0!==o&&ac(o),t.childExpirationTime<n)return null;if(null!==e&&t.child!==e.child)throw Error(a(153));if(null!==t.child){for(n=kc(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=kc(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function Qa(e,t){switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var o=null;null!==n;)null!==n.alternate&&(o=n),n=n.sibling;null===o?t||null===e.tail?e.tail=null:e.tail.sibling=null:o.sibling=null}}function $a(e,t,n){var o=t.pendingProps;switch(t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return null;case 1:return gr(t.type)&&br(),null;case 3:return Ai(),lr(hr),lr(pr),(n=t.stateNode).pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),null!==e&&null!==e.child||!Ia(t)||(t.effectTag|=4),null;case 5:Mi(t),n=Pi(Ni.current);var i=t.type;if(null!==e&&null!=t.stateNode)za(e,t,i,o,n),e.ref!==t.ref&&(t.effectTag|=128);else{if(!o){if(null===t.stateNode)throw Error(a(166));return null}if(e=Pi(Oi.current),Ia(t)){o=t.stateNode,i=t.type;var s=t.memoizedProps;switch(o[wn]=t,o[Tn]=s,i){case"iframe":case"object":case"embed":Kt("load",o);break;case"video":case"audio":for(e=0;e<$e.length;e++)Kt($e[e],o);break;case"source":Kt("error",o);break;case"img":case"image":case"link":Kt("error",o),Kt("load",o);break;case"form":Kt("reset",o),Kt("submit",o);break;case"details":Kt("toggle",o);break;case"input":xe(o,s),Kt("invalid",o),cn(n,"onChange");break;case"select":o._wrapperState={wasMultiple:!!s.multiple},Kt("invalid",o),cn(n,"onChange");break;case"textarea":Pe(o,s),Kt("invalid",o),cn(n,"onChange")}for(var c in rn(i,s),e=null,s)if(s.hasOwnProperty(c)){var l=s[c];"children"===c?"string"==typeof l?o.textContent!==l&&(e=["children",l]):"number"==typeof l&&o.textContent!==""+l&&(e=["children",""+l]):w.hasOwnProperty(c)&&null!=l&&cn(n,c)}switch(i){case"input":_e(o),ke(o,s,!0);break;case"textarea":_e(o),Ae(o);break;case"select":case"option":break;default:"function"==typeof s.onClick&&(o.onclick=ln)}n=e,t.updateQueue=n,null!==n&&(t.effectTag|=4)}else{switch(c=9===n.nodeType?n:n.ownerDocument,e===sn&&(e=Fe(i)),e===sn?"script"===i?((e=c.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"==typeof o.is?e=c.createElement(i,{is:o.is}):(e=c.createElement(i),"select"===i&&(c=e,o.multiple?c.multiple=!0:o.size&&(c.size=o.size))):e=c.createElementNS(e,i),e[wn]=t,e[Tn]=o,Ba(e,t),t.stateNode=e,c=an(i,o),i){case"iframe":case"object":case"embed":Kt("load",e),l=o;break;case"video":case"audio":for(l=0;l<$e.length;l++)Kt($e[l],e);l=o;break;case"source":Kt("error",e),l=o;break;case"img":case"image":case"link":Kt("error",e),Kt("load",e),l=o;break;case"form":Kt("reset",e),Kt("submit",e),l=o;break;case"details":Kt("toggle",e),l=o;break;case"input":xe(e,o),l=Ce(e,o),Kt("invalid",e),cn(n,"onChange");break;case"option":l=Oe(e,o);break;case"select":e._wrapperState={wasMultiple:!!o.multiple},l=r({},o,{value:void 0}),Kt("invalid",e),cn(n,"onChange");break;case"textarea":Pe(e,o),l=Ne(e,o),Kt("invalid",e),cn(n,"onChange");break;default:l=o}rn(i,l);var u=l;for(s in u)if(u.hasOwnProperty(s)){var d=u[s];"style"===s?nn(e,d):"dangerouslySetInnerHTML"===s?null!=(d=d?d.__html:void 0)&&He(e,d):"children"===s?"string"==typeof d?("textarea"!==i||""!==d)&&Be(e,d):"number"==typeof d&&Be(e,""+d):"suppressContentEditableWarning"!==s&&"suppressHydrationWarning"!==s&&"autoFocus"!==s&&(w.hasOwnProperty(s)?null!=d&&cn(n,s):null!=d&&Z(e,s,d,c))}switch(i){case"input":_e(e),ke(e,o,!1);break;case"textarea":_e(e),Ae(e);break;case"option":null!=o.value&&e.setAttribute("value",""+ye(o.value));break;case"select":e.multiple=!!o.multiple,null!=(n=o.value)?Ee(e,!!o.multiple,n,!1):null!=o.defaultValue&&Ee(e,!!o.multiple,o.defaultValue,!0);break;default:"function"==typeof l.onClick&&(e.onclick=ln)}bn(i,o)&&(t.effectTag|=4)}null!==t.ref&&(t.effectTag|=128)}return null;case 6:if(e&&null!=t.stateNode)Ua(0,t,e.memoizedProps,o);else{if("string"!=typeof o&&null===t.stateNode)throw Error(a(166));n=Pi(Ni.current),Pi(Oi.current),Ia(t)?(n=t.stateNode,o=t.memoizedProps,n[wn]=t,n.nodeValue!==o&&(t.effectTag|=4)):((n=(9===n.nodeType?n:n.ownerDocument).createTextNode(o))[wn]=t,t.stateNode=n)}return null;case 13:return lr(Fi),o=t.memoizedState,0!=(64&t.effectTag)?(t.expirationTime=n,t):(n=null!==o,o=!1,null===e?void 0!==t.memoizedProps.fallback&&Ia(t):(o=null!==(i=e.memoizedState),n||null===i||null!==(i=e.child.sibling)&&(null!==(s=t.firstEffect)?(t.firstEffect=i,i.nextEffect=s):(t.firstEffect=t.lastEffect=i,i.nextEffect=null),i.effectTag=8)),n&&!o&&0!=(2&t.mode)&&(null===e&&!0!==t.memoizedProps.unstable_avoidThisFallback||0!=(1&Fi.current)?Is===_s&&(Is=Ss):(Is!==_s&&Is!==Ss||(Is=Cs),0!==Ds&&null!==ws&&(Ac(ws,ks),Rc(ws,Ds)))),(n||o)&&(t.effectTag|=4),null);case 4:return Ai(),null;case 10:return ti(t),null;case 17:return gr(t.type)&&br(),null;case 19:if(lr(Fi),null===(o=t.memoizedState))return null;if(i=0!=(64&t.effectTag),null===(s=o.rendering)){if(i)Qa(o,!1);else if(Is!==_s||null!==e&&0!=(64&e.effectTag))for(s=t.child;null!==s;){if(null!==(e=ji(s))){for(t.effectTag|=64,Qa(o,!1),null!==(i=e.updateQueue)&&(t.updateQueue=i,t.effectTag|=4),null===o.lastEffect&&(t.firstEffect=null),t.lastEffect=o.lastEffect,o=t.child;null!==o;)s=n,(i=o).effectTag&=2,i.nextEffect=null,i.firstEffect=null,i.lastEffect=null,null===(e=i.alternate)?(i.childExpirationTime=0,i.expirationTime=s,i.child=null,i.memoizedProps=null,i.memoizedState=null,i.updateQueue=null,i.dependencies=null):(i.childExpirationTime=e.childExpirationTime,i.expirationTime=e.expirationTime,i.child=e.child,i.memoizedProps=e.memoizedProps,i.memoizedState=e.memoizedState,i.updateQueue=e.updateQueue,s=e.dependencies,i.dependencies=null===s?null:{expirationTime:s.expirationTime,firstContext:s.firstContext,responders:s.responders}),o=o.sibling;return ur(Fi,1&Fi.current|2),t.child}s=s.sibling}}else{if(!i)if(null!==(e=ji(s))){if(t.effectTag|=64,i=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.effectTag|=4),Qa(o,!0),null===o.tail&&"hidden"===o.tailMode&&!s.alternate)return null!==(t=t.lastEffect=o.lastEffect)&&(t.nextEffect=null),null}else 2*Br()-o.renderingStartTime>o.tailExpiration&&1<n&&(t.effectTag|=64,i=!0,Qa(o,!1),t.expirationTime=t.childExpirationTime=n-1);o.isBackwards?(s.sibling=t.child,t.child=s):(null!==(n=o.last)?n.sibling=s:t.child=s,o.last=s)}return null!==o.tail?(0===o.tailExpiration&&(o.tailExpiration=Br()+500),n=o.tail,o.rendering=n,o.tail=n.sibling,o.lastEffect=t.lastEffect,o.renderingStartTime=Br(),n.sibling=null,t=Fi.current,ur(Fi,i?1&t|2:1&t),n):null}throw Error(a(156,t.tag))}function Za(e){switch(e.tag){case 1:gr(e.type)&&br();var t=e.effectTag;return 4096&t?(e.effectTag=-4097&t|64,e):null;case 3:if(Ai(),lr(hr),lr(pr),0!=(64&(t=e.effectTag)))throw Error(a(285));return e.effectTag=-4097&t|64,e;case 5:return Mi(e),null;case 13:return lr(Fi),4096&(t=e.effectTag)?(e.effectTag=-4097&t|64,e):null;case 19:return lr(Fi),null;case 4:return Ai(),null;case 10:return ti(e),null;default:return null}}function Xa(e,t){return{value:e,source:t,stack:be(t)}}Ba=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},za=function(e,t,n,o,i){var a=e.memoizedProps;if(a!==o){var s,c,l=t.stateNode;switch(Pi(Oi.current),e=null,n){case"input":a=Ce(l,a),o=Ce(l,o),e=[];break;case"option":a=Oe(l,a),o=Oe(l,o),e=[];break;case"select":a=r({},a,{value:void 0}),o=r({},o,{value:void 0}),e=[];break;case"textarea":a=Ne(l,a),o=Ne(l,o),e=[];break;default:"function"!=typeof a.onClick&&"function"==typeof o.onClick&&(l.onclick=ln)}for(s in rn(n,o),n=null,a)if(!o.hasOwnProperty(s)&&a.hasOwnProperty(s)&&null!=a[s])if("style"===s)for(c in l=a[s])l.hasOwnProperty(c)&&(n||(n={}),n[c]="");else"dangerouslySetInnerHTML"!==s&&"children"!==s&&"suppressContentEditableWarning"!==s&&"suppressHydrationWarning"!==s&&"autoFocus"!==s&&(w.hasOwnProperty(s)?e||(e=[]):(e=e||[]).push(s,null));for(s in o){var u=o[s];if(l=null!=a?a[s]:void 0,o.hasOwnProperty(s)&&u!==l&&(null!=u||null!=l))if("style"===s)if(l){for(c in l)!l.hasOwnProperty(c)||u&&u.hasOwnProperty(c)||(n||(n={}),n[c]="");for(c in u)u.hasOwnProperty(c)&&l[c]!==u[c]&&(n||(n={}),n[c]=u[c])}else n||(e||(e=[]),e.push(s,n)),n=u;else"dangerouslySetInnerHTML"===s?(u=u?u.__html:void 0,l=l?l.__html:void 0,null!=u&&l!==u&&(e=e||[]).push(s,u)):"children"===s?l===u||"string"!=typeof u&&"number"!=typeof u||(e=e||[]).push(s,""+u):"suppressContentEditableWarning"!==s&&"suppressHydrationWarning"!==s&&(w.hasOwnProperty(s)?(null!=u&&cn(i,s),e||l===u||(e=[])):(e=e||[]).push(s,u))}n&&(e=e||[]).push("style",n),i=e,(t.updateQueue=i)&&(t.effectTag|=4)}},Ua=function(e,t,n,o){n!==o&&(t.effectTag|=4)};var Ja="function"==typeof WeakSet?WeakSet:Set;function es(e,t){var n=t.source,o=t.stack;null===o&&null!==n&&(o=be(n)),null!==n&&ge(n.type),t=t.value,null!==e&&1===e.tag&&ge(e.type);try{console.error(t)}catch(e){setTimeout((function(){throw e}))}}function ts(e){var t=e.ref;if(null!==t)if("function"==typeof t)try{t(null)}catch(t){yc(e,t)}else t.current=null}function ns(e,t){switch(t.tag){case 0:case 11:case 15:case 22:return;case 1:if(256&t.effectTag&&null!==e){var n=e.memoizedProps,o=e.memoizedState;t=(e=t.stateNode).getSnapshotBeforeUpdate(t.elementType===t.type?n:Qr(t.type,n),o),e.__reactInternalSnapshotBeforeUpdate=t}return;case 3:case 5:case 6:case 4:case 17:return}throw Error(a(163))}function os(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var o=n.destroy;n.destroy=void 0,void 0!==o&&o()}n=n.next}while(n!==t)}}function rs(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var o=n.create;n.destroy=o()}n=n.next}while(n!==t)}}function is(e,t,n){switch(n.tag){case 0:case 11:case 15:case 22:return void rs(3,n);case 1:if(e=n.stateNode,4&n.effectTag)if(null===t)e.componentDidMount();else{var o=n.elementType===n.type?t.memoizedProps:Qr(n.type,t.memoizedProps);e.componentDidUpdate(o,t.memoizedState,e.__reactInternalSnapshotBeforeUpdate)}return void(null!==(t=n.updateQueue)&&pi(n,t,e));case 3:if(null!==(t=n.updateQueue)){if(e=null,null!==n.child)switch(n.child.tag){case 5:e=n.child.stateNode;break;case 1:e=n.child.stateNode}pi(n,t,e)}return;case 5:return e=n.stateNode,void(null===t&&4&n.effectTag&&bn(n.type,n.memoizedProps)&&e.focus());case 6:case 4:case 12:return;case 13:return void(null===n.memoizedState&&(n=n.alternate,null!==n&&(n=n.memoizedState,null!==n&&(n=n.dehydrated,null!==n&&Ft(n)))));case 19:case 17:case 20:case 21:return}throw Error(a(163))}function as(e,t,n){switch("function"==typeof Cc&&Cc(t),t.tag){case 0:case 11:case 14:case 15:case 22:if(null!==(e=t.updateQueue)&&null!==(e=e.lastEffect)){var o=e.next;Vr(97<n?97:n,(function(){var e=o;do{var n=e.destroy;if(void 0!==n){var r=t;try{n()}catch(e){yc(r,e)}}e=e.next}while(e!==o)}))}break;case 1:ts(t),"function"==typeof(n=t.stateNode).componentWillUnmount&&function(e,t){try{t.props=e.memoizedProps,t.state=e.memoizedState,t.componentWillUnmount()}catch(t){yc(e,t)}}(t,n);break;case 5:ts(t);break;case 4:us(e,t,n)}}function ss(e){var t=e.alternate;e.return=null,e.child=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.alternate=null,e.firstEffect=null,e.lastEffect=null,e.pendingProps=null,e.memoizedProps=null,e.stateNode=null,null!==t&&ss(t)}function cs(e){return 5===e.tag||3===e.tag||4===e.tag}function ls(e){e:{for(var t=e.return;null!==t;){if(cs(t)){var n=t;break e}t=t.return}throw Error(a(160))}switch(t=n.stateNode,n.tag){case 5:var o=!1;break;case 3:case 4:t=t.containerInfo,o=!0;break;default:throw Error(a(161))}16&n.effectTag&&(Be(t,""),n.effectTag&=-17);e:t:for(n=e;;){for(;null===n.sibling;){if(null===n.return||cs(n.return)){n=null;break e}n=n.return}for(n.sibling.return=n.return,n=n.sibling;5!==n.tag&&6!==n.tag&&18!==n.tag;){if(2&n.effectTag)continue t;if(null===n.child||4===n.tag)continue t;n.child.return=n,n=n.child}if(!(2&n.effectTag)){n=n.stateNode;break e}}o?function e(t,n,o){var r=t.tag,i=5===r||6===r;if(i)t=i?t.stateNode:t.stateNode.instance,n?8===o.nodeType?o.parentNode.insertBefore(t,n):o.insertBefore(t,n):(8===o.nodeType?(n=o.parentNode).insertBefore(t,o):(n=o).appendChild(t),null!==(o=o._reactRootContainer)&&void 0!==o||null!==n.onclick||(n.onclick=ln));else if(4!==r&&null!==(t=t.child))for(e(t,n,o),t=t.sibling;null!==t;)e(t,n,o),t=t.sibling}(e,n,t):function e(t,n,o){var r=t.tag,i=5===r||6===r;if(i)t=i?t.stateNode:t.stateNode.instance,n?o.insertBefore(t,n):o.appendChild(t);else if(4!==r&&null!==(t=t.child))for(e(t,n,o),t=t.sibling;null!==t;)e(t,n,o),t=t.sibling}(e,n,t)}function us(e,t,n){for(var o,r,i=t,s=!1;;){if(!s){s=i.return;e:for(;;){if(null===s)throw Error(a(160));switch(o=s.stateNode,s.tag){case 5:r=!1;break e;case 3:case 4:o=o.containerInfo,r=!0;break e}s=s.return}s=!0}if(5===i.tag||6===i.tag){e:for(var c=e,l=i,u=n,d=l;;)if(as(c,d,u),null!==d.child&&4!==d.tag)d.child.return=d,d=d.child;else{if(d===l)break e;for(;null===d.sibling;){if(null===d.return||d.return===l)break e;d=d.return}d.sibling.return=d.return,d=d.sibling}r?(c=o,l=i.stateNode,8===c.nodeType?c.parentNode.removeChild(l):c.removeChild(l)):o.removeChild(i.stateNode)}else if(4===i.tag){if(null!==i.child){o=i.stateNode.containerInfo,r=!0,i.child.return=i,i=i.child;continue}}else if(as(e,i,n),null!==i.child){i.child.return=i,i=i.child;continue}if(i===t)break;for(;null===i.sibling;){if(null===i.return||i.return===t)return;4===(i=i.return).tag&&(s=!1)}i.sibling.return=i.return,i=i.sibling}}function ds(e,t){switch(t.tag){case 0:case 11:case 14:case 15:case 22:return void os(3,t);case 1:return;case 5:var n=t.stateNode;if(null!=n){var o=t.memoizedProps,r=null!==e?e.memoizedProps:o;e=t.type;var i=t.updateQueue;if(t.updateQueue=null,null!==i){for(n[Tn]=o,"input"===e&&"radio"===o.type&&null!=o.name&&we(n,o),an(e,r),t=an(e,o),r=0;r<i.length;r+=2){var s=i[r],c=i[r+1];"style"===s?nn(n,c):"dangerouslySetInnerHTML"===s?He(n,c):"children"===s?Be(n,c):Z(n,s,c,t)}switch(e){case"input":Te(n,o);break;case"textarea":De(n,o);break;case"select":t=n._wrapperState.wasMultiple,n._wrapperState.wasMultiple=!!o.multiple,null!=(e=o.value)?Ee(n,!!o.multiple,e,!1):t!==!!o.multiple&&(null!=o.defaultValue?Ee(n,!!o.multiple,o.defaultValue,!0):Ee(n,!!o.multiple,o.multiple?[]:"",!1))}}}return;case 6:if(null===t.stateNode)throw Error(a(162));return void(t.stateNode.nodeValue=t.memoizedProps);case 3:return void((t=t.stateNode).hydrate&&(t.hydrate=!1,Ft(t.containerInfo)));case 12:return;case 13:if(n=t,null===t.memoizedState?o=!1:(o=!0,n=t.child,Rs=Br()),null!==n)e:for(e=n;;){if(5===e.tag)i=e.stateNode,o?"function"==typeof(i=i.style).setProperty?i.setProperty("display","none","important"):i.display="none":(i=e.stateNode,r=null!=(r=e.memoizedProps.style)&&r.hasOwnProperty("display")?r.display:null,i.style.display=tn("display",r));else if(6===e.tag)e.stateNode.nodeValue=o?"":e.memoizedProps;else{if(13===e.tag&&null!==e.memoizedState&&null===e.memoizedState.dehydrated){(i=e.child.sibling).return=e,e=i;continue}if(null!==e.child){e.child.return=e,e=e.child;continue}}if(e===n)break;for(;null===e.sibling;){if(null===e.return||e.return===n)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}return void ps(t);case 19:return void ps(t);case 17:return}throw Error(a(163))}function ps(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new Ja),t.forEach((function(t){var o=_c.bind(null,e,t);n.has(t)||(n.add(t),t.then(o,o))}))}}var hs="function"==typeof WeakMap?WeakMap:Map;function fs(e,t,n){(n=ci(n,null)).tag=3,n.payload={element:null};var o=t.value;return n.callback=function(){Fs||(Fs=!0,js=o),es(e,t)},n}function ms(e,t,n){(n=ci(n,null)).tag=3;var o=e.type.getDerivedStateFromError;if("function"==typeof o){var r=t.value;n.payload=function(){return es(e,t),o(r)}}var i=e.stateNode;return null!==i&&"function"==typeof i.componentDidCatch&&(n.callback=function(){"function"!=typeof o&&(null===Ls?Ls=new Set([this]):Ls.add(this),es(e,t));var n=t.stack;this.componentDidCatch(t.value,{componentStack:null!==n?n:""})}),n}var gs,bs=Math.ceil,ys=$.ReactCurrentDispatcher,vs=$.ReactCurrentOwner,_s=0,Ss=3,Cs=4,xs=0,ws=null,Ts=null,ks=0,Is=_s,Os=null,Es=1073741823,Ns=1073741823,Ps=null,Ds=0,As=!1,Rs=0,Ms=null,Fs=!1,js=null,Ls=null,Hs=!1,Bs=null,zs=90,Us=null,Vs=0,Ws=null,qs=0;function Gs(){return 0!=(48&xs)?1073741821-(Br()/10|0):0!==qs?qs:qs=1073741821-(Br()/10|0)}function Ks(e,t,n){if(0==(2&(t=t.mode)))return 1073741823;var o=zr();if(0==(4&t))return 99===o?1073741823:1073741822;if(0!=(16&xs))return ks;if(null!==n)e=Yr(e,0|n.timeoutMs||5e3,250);else switch(o){case 99:e=1073741823;break;case 98:e=Yr(e,150,100);break;case 97:case 96:e=Yr(e,5e3,250);break;case 95:e=2;break;default:throw Error(a(326))}return null!==ws&&e===ks&&--e,e}function Ys(e,t){if(50<Vs)throw Vs=0,Ws=null,Error(a(185));if(null!==(e=Qs(e,t))){var n=zr();1073741823===t?0!=(8&xs)&&0==(48&xs)?Js(e):(Zs(e),0===xs&&Gr()):Zs(e),0==(4&xs)||98!==n&&99!==n||(null===Us?Us=new Map([[e,t]]):(void 0===(n=Us.get(e))||n>t)&&Us.set(e,t))}}function Qs(e,t){e.expirationTime<t&&(e.expirationTime=t);var n=e.alternate;null!==n&&n.expirationTime<t&&(n.expirationTime=t);var o=e.return,r=null;if(null===o&&3===e.tag)r=e.stateNode;else for(;null!==o;){if(n=o.alternate,o.childExpirationTime<t&&(o.childExpirationTime=t),null!==n&&n.childExpirationTime<t&&(n.childExpirationTime=t),null===o.return&&3===o.tag){r=o.stateNode;break}o=o.return}return null!==r&&(ws===r&&(ac(t),Is===Cs&&Ac(r,ks)),Rc(r,t)),r}function $s(e){var t=e.lastExpiredTime;if(0!==t)return t;if(!Dc(e,t=e.firstPendingTime))return t;var n=e.lastPingedTime;return 2>=(e=n>(e=e.nextKnownPendingLevel)?n:e)&&t!==e?0:e}function Zs(e){if(0!==e.lastExpiredTime)e.callbackExpirationTime=1073741823,e.callbackPriority=99,e.callbackNode=qr(Js.bind(null,e));else{var t=$s(e),n=e.callbackNode;if(0===t)null!==n&&(e.callbackNode=null,e.callbackExpirationTime=0,e.callbackPriority=90);else{var o=Gs();if(1073741823===t?o=99:1===t||2===t?o=95:o=0>=(o=10*(1073741821-t)-10*(1073741821-o))?99:250>=o?98:5250>=o?97:95,null!==n){var r=e.callbackPriority;if(e.callbackExpirationTime===t&&r>=o)return;n!==Ar&&wr(n)}e.callbackExpirationTime=t,e.callbackPriority=o,t=1073741823===t?qr(Js.bind(null,e)):Wr(o,Xs.bind(null,e),{timeout:10*(1073741821-t)-Br()}),e.callbackNode=t}}}function Xs(e,t){if(qs=0,t)return Mc(e,t=Gs()),Zs(e),null;var n=$s(e);if(0!==n){if(t=e.callbackNode,0!=(48&xs))throw Error(a(327));if(mc(),e===ws&&n===ks||nc(e,n),null!==Ts){var o=xs;xs|=16;for(var r=rc();;)try{cc();break}catch(t){oc(e,t)}if(ei(),xs=o,ys.current=r,1===Is)throw t=Os,nc(e,n),Ac(e,n),Zs(e),t;if(null===Ts)switch(r=e.finishedWork=e.current.alternate,e.finishedExpirationTime=n,o=Is,ws=null,o){case _s:case 1:throw Error(a(345));case 2:Mc(e,2<n?2:n);break;case Ss:if(Ac(e,n),n===(o=e.lastSuspendedTime)&&(e.nextKnownPendingLevel=dc(r)),1073741823===Es&&10<(r=Rs+500-Br())){if(As){var i=e.lastPingedTime;if(0===i||i>=n){e.lastPingedTime=n,nc(e,n);break}}if(0!==(i=$s(e))&&i!==n)break;if(0!==o&&o!==n){e.lastPingedTime=o;break}e.timeoutHandle=vn(pc.bind(null,e),r);break}pc(e);break;case Cs:if(Ac(e,n),n===(o=e.lastSuspendedTime)&&(e.nextKnownPendingLevel=dc(r)),As&&(0===(r=e.lastPingedTime)||r>=n)){e.lastPingedTime=n,nc(e,n);break}if(0!==(r=$s(e))&&r!==n)break;if(0!==o&&o!==n){e.lastPingedTime=o;break}if(1073741823!==Ns?o=10*(1073741821-Ns)-Br():1073741823===Es?o=0:(o=10*(1073741821-Es)-5e3,0>(o=(r=Br())-o)&&(o=0),(n=10*(1073741821-n)-r)<(o=(120>o?120:480>o?480:1080>o?1080:1920>o?1920:3e3>o?3e3:4320>o?4320:1960*bs(o/1960))-o)&&(o=n)),10<o){e.timeoutHandle=vn(pc.bind(null,e),o);break}pc(e);break;case 5:if(1073741823!==Es&&null!==Ps){i=Es;var s=Ps;if(0>=(o=0|s.busyMinDurationMs)?o=0:(r=0|s.busyDelayMs,o=(i=Br()-(10*(1073741821-i)-(0|s.timeoutMs||5e3)))<=r?0:r+o-i),10<o){Ac(e,n),e.timeoutHandle=vn(pc.bind(null,e),o);break}}pc(e);break;default:throw Error(a(329))}if(Zs(e),e.callbackNode===t)return Xs.bind(null,e)}}return null}function Js(e){var t=e.lastExpiredTime;if(t=0!==t?t:1073741823,0!=(48&xs))throw Error(a(327));if(mc(),e===ws&&t===ks||nc(e,t),null!==Ts){var n=xs;xs|=16;for(var o=rc();;)try{sc();break}catch(t){oc(e,t)}if(ei(),xs=n,ys.current=o,1===Is)throw n=Os,nc(e,t),Ac(e,t),Zs(e),n;if(null!==Ts)throw Error(a(261));e.finishedWork=e.current.alternate,e.finishedExpirationTime=t,ws=null,pc(e),Zs(e)}return null}function ec(e,t){var n=xs;xs|=1;try{return e(t)}finally{0===(xs=n)&&Gr()}}function tc(e,t){var n=xs;xs&=-2,xs|=8;try{return e(t)}finally{0===(xs=n)&&Gr()}}function nc(e,t){e.finishedWork=null,e.finishedExpirationTime=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,_n(n)),null!==Ts)for(n=Ts.return;null!==n;){var o=n;switch(o.tag){case 1:null!=(o=o.type.childContextTypes)&&br();break;case 3:Ai(),lr(hr),lr(pr);break;case 5:Mi(o);break;case 4:Ai();break;case 13:case 19:lr(Fi);break;case 10:ti(o)}n=n.return}ws=e,Ts=kc(e.current,null),ks=t,Is=_s,Os=null,Ns=Es=1073741823,Ps=null,Ds=0,As=!1}function oc(e,t){for(;;){try{if(ei(),Hi.current=ga,qi)for(var n=Ui.memoizedState;null!==n;){var o=n.queue;null!==o&&(o.pending=null),n=n.next}if(zi=0,Wi=Vi=Ui=null,qi=!1,null===Ts||null===Ts.return)return Is=1,Os=t,Ts=null;e:{var r=e,i=Ts.return,a=Ts,s=t;if(t=ks,a.effectTag|=2048,a.firstEffect=a.lastEffect=null,null!==s&&"object"==typeof s&&"function"==typeof s.then){var c=s;if(0==(2&a.mode)){var l=a.alternate;l?(a.updateQueue=l.updateQueue,a.memoizedState=l.memoizedState,a.expirationTime=l.expirationTime):(a.updateQueue=null,a.memoizedState=null)}var u=0!=(1&Fi.current),d=i;do{var p;if(p=13===d.tag){var h=d.memoizedState;if(null!==h)p=null!==h.dehydrated;else{var f=d.memoizedProps;p=void 0!==f.fallback&&(!0!==f.unstable_avoidThisFallback||!u)}}if(p){var m=d.updateQueue;if(null===m){var g=new Set;g.add(c),d.updateQueue=g}else m.add(c);if(0==(2&d.mode)){if(d.effectTag|=64,a.effectTag&=-2981,1===a.tag)if(null===a.alternate)a.tag=17;else{var b=ci(1073741823,null);b.tag=2,li(a,b)}a.expirationTime=1073741823;break e}s=void 0,a=t;var y=r.pingCache;if(null===y?(y=r.pingCache=new hs,s=new Set,y.set(c,s)):void 0===(s=y.get(c))&&(s=new Set,y.set(c,s)),!s.has(a)){s.add(a);var v=vc.bind(null,r,c,a);c.then(v,v)}d.effectTag|=4096,d.expirationTime=t;break e}d=d.return}while(null!==d);s=Error((ge(a.type)||"A React component")+" suspended while rendering, but no fallback UI was specified.\n\nAdd a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display."+be(a))}5!==Is&&(Is=2),s=Xa(s,a),d=i;do{switch(d.tag){case 3:c=s,d.effectTag|=4096,d.expirationTime=t,ui(d,fs(d,c,t));break e;case 1:c=s;var _=d.type,S=d.stateNode;if(0==(64&d.effectTag)&&("function"==typeof _.getDerivedStateFromError||null!==S&&"function"==typeof S.componentDidCatch&&(null===Ls||!Ls.has(S)))){d.effectTag|=4096,d.expirationTime=t,ui(d,ms(d,c,t));break e}}d=d.return}while(null!==d)}Ts=uc(Ts)}catch(e){t=e;continue}break}}function rc(){var e=ys.current;return ys.current=ga,null===e?ga:e}function ic(e,t){e<Es&&2<e&&(Es=e),null!==t&&e<Ns&&2<e&&(Ns=e,Ps=t)}function ac(e){e>Ds&&(Ds=e)}function sc(){for(;null!==Ts;)Ts=lc(Ts)}function cc(){for(;null!==Ts&&!Rr();)Ts=lc(Ts)}function lc(e){var t=gs(e.alternate,e,ks);return e.memoizedProps=e.pendingProps,null===t&&(t=uc(e)),vs.current=null,t}function uc(e){Ts=e;do{var t=Ts.alternate;if(e=Ts.return,0==(2048&Ts.effectTag)){if(t=$a(t,Ts,ks),1===ks||1!==Ts.childExpirationTime){for(var n=0,o=Ts.child;null!==o;){var r=o.expirationTime,i=o.childExpirationTime;r>n&&(n=r),i>n&&(n=i),o=o.sibling}Ts.childExpirationTime=n}if(null!==t)return t;null!==e&&0==(2048&e.effectTag)&&(null===e.firstEffect&&(e.firstEffect=Ts.firstEffect),null!==Ts.lastEffect&&(null!==e.lastEffect&&(e.lastEffect.nextEffect=Ts.firstEffect),e.lastEffect=Ts.lastEffect),1<Ts.effectTag&&(null!==e.lastEffect?e.lastEffect.nextEffect=Ts:e.firstEffect=Ts,e.lastEffect=Ts))}else{if(null!==(t=Za(Ts)))return t.effectTag&=2047,t;null!==e&&(e.firstEffect=e.lastEffect=null,e.effectTag|=2048)}if(null!==(t=Ts.sibling))return t;Ts=e}while(null!==Ts);return Is===_s&&(Is=5),null}function dc(e){var t=e.expirationTime;return t>(e=e.childExpirationTime)?t:e}function pc(e){var t=zr();return Vr(99,hc.bind(null,e,t)),null}function hc(e,t){do{mc()}while(null!==Bs);if(0!=(48&xs))throw Error(a(327));var n=e.finishedWork,o=e.finishedExpirationTime;if(null===n)return null;if(e.finishedWork=null,e.finishedExpirationTime=0,n===e.current)throw Error(a(177));e.callbackNode=null,e.callbackExpirationTime=0,e.callbackPriority=90,e.nextKnownPendingLevel=0;var r=dc(n);if(e.firstPendingTime=r,o<=e.lastSuspendedTime?e.firstSuspendedTime=e.lastSuspendedTime=e.nextKnownPendingLevel=0:o<=e.firstSuspendedTime&&(e.firstSuspendedTime=o-1),o<=e.lastPingedTime&&(e.lastPingedTime=0),o<=e.lastExpiredTime&&(e.lastExpiredTime=0),e===ws&&(Ts=ws=null,ks=0),1<n.effectTag?null!==n.lastEffect?(n.lastEffect.nextEffect=n,r=n.firstEffect):r=n:r=n.firstEffect,null!==r){var i=xs;xs|=32,vs.current=null,mn=Gt;var s=hn();if(fn(s)){if("selectionStart"in s)var c={start:s.selectionStart,end:s.selectionEnd};else e:{var l=(c=(c=s.ownerDocument)&&c.defaultView||window).getSelection&&c.getSelection();if(l&&0!==l.rangeCount){c=l.anchorNode;var u=l.anchorOffset,d=l.focusNode;l=l.focusOffset;try{c.nodeType,d.nodeType}catch(e){c=null;break e}var p=0,h=-1,f=-1,m=0,g=0,b=s,y=null;t:for(;;){for(var v;b!==c||0!==u&&3!==b.nodeType||(h=p+u),b!==d||0!==l&&3!==b.nodeType||(f=p+l),3===b.nodeType&&(p+=b.nodeValue.length),null!==(v=b.firstChild);)y=b,b=v;for(;;){if(b===s)break t;if(y===c&&++m===u&&(h=p),y===d&&++g===l&&(f=p),null!==(v=b.nextSibling))break;y=(b=y).parentNode}b=v}c=-1===h||-1===f?null:{start:h,end:f}}else c=null}c=c||{start:0,end:0}}else c=null;gn={activeElementDetached:null,focusedElem:s,selectionRange:c},Gt=!1,Ms=r;do{try{fc()}catch(e){if(null===Ms)throw Error(a(330));yc(Ms,e),Ms=Ms.nextEffect}}while(null!==Ms);Ms=r;do{try{for(s=e,c=t;null!==Ms;){var _=Ms.effectTag;if(16&_&&Be(Ms.stateNode,""),128&_){var S=Ms.alternate;if(null!==S){var C=S.ref;null!==C&&("function"==typeof C?C(null):C.current=null)}}switch(1038&_){case 2:ls(Ms),Ms.effectTag&=-3;break;case 6:ls(Ms),Ms.effectTag&=-3,ds(Ms.alternate,Ms);break;case 1024:Ms.effectTag&=-1025;break;case 1028:Ms.effectTag&=-1025,ds(Ms.alternate,Ms);break;case 4:ds(Ms.alternate,Ms);break;case 8:us(s,u=Ms,c),ss(u)}Ms=Ms.nextEffect}}catch(e){if(null===Ms)throw Error(a(330));yc(Ms,e),Ms=Ms.nextEffect}}while(null!==Ms);if(C=gn,S=hn(),_=C.focusedElem,c=C.selectionRange,S!==_&&_&&_.ownerDocument&&function e(t,n){return!(!t||!n)&&(t===n||(!t||3!==t.nodeType)&&(n&&3===n.nodeType?e(t,n.parentNode):"contains"in t?t.contains(n):!!t.compareDocumentPosition&&!!(16&t.compareDocumentPosition(n))))}(_.ownerDocument.documentElement,_)){null!==c&&fn(_)&&(S=c.start,void 0===(C=c.end)&&(C=S),"selectionStart"in _?(_.selectionStart=S,_.selectionEnd=Math.min(C,_.value.length)):(C=(S=_.ownerDocument||document)&&S.defaultView||window).getSelection&&(C=C.getSelection(),u=_.textContent.length,s=Math.min(c.start,u),c=void 0===c.end?s:Math.min(c.end,u),!C.extend&&s>c&&(u=c,c=s,s=u),u=pn(_,s),d=pn(_,c),u&&d&&(1!==C.rangeCount||C.anchorNode!==u.node||C.anchorOffset!==u.offset||C.focusNode!==d.node||C.focusOffset!==d.offset)&&((S=S.createRange()).setStart(u.node,u.offset),C.removeAllRanges(),s>c?(C.addRange(S),C.extend(d.node,d.offset)):(S.setEnd(d.node,d.offset),C.addRange(S))))),S=[];for(C=_;C=C.parentNode;)1===C.nodeType&&S.push({element:C,left:C.scrollLeft,top:C.scrollTop});for("function"==typeof _.focus&&_.focus(),_=0;_<S.length;_++)(C=S[_]).element.scrollLeft=C.left,C.element.scrollTop=C.top}Gt=!!mn,gn=mn=null,e.current=n,Ms=r;do{try{for(_=e;null!==Ms;){var x=Ms.effectTag;if(36&x&&is(_,Ms.alternate,Ms),128&x){S=void 0;var w=Ms.ref;if(null!==w){var T=Ms.stateNode;switch(Ms.tag){case 5:S=T;break;default:S=T}"function"==typeof w?w(S):w.current=S}}Ms=Ms.nextEffect}}catch(e){if(null===Ms)throw Error(a(330));yc(Ms,e),Ms=Ms.nextEffect}}while(null!==Ms);Ms=null,Mr(),xs=i}else e.current=n;if(Hs)Hs=!1,Bs=e,zs=t;else for(Ms=r;null!==Ms;)t=Ms.nextEffect,Ms.nextEffect=null,Ms=t;if(0===(t=e.firstPendingTime)&&(Ls=null),1073741823===t?e===Ws?Vs++:(Vs=0,Ws=e):Vs=0,"function"==typeof Sc&&Sc(n.stateNode,o),Zs(e),Fs)throw Fs=!1,e=js,js=null,e;return 0!=(8&xs)||Gr(),null}function fc(){for(;null!==Ms;){var e=Ms.effectTag;0!=(256&e)&&ns(Ms.alternate,Ms),0==(512&e)||Hs||(Hs=!0,Wr(97,(function(){return mc(),null}))),Ms=Ms.nextEffect}}function mc(){if(90!==zs){var e=97<zs?97:zs;return zs=90,Vr(e,gc)}}function gc(){if(null===Bs)return!1;var e=Bs;if(Bs=null,0!=(48&xs))throw Error(a(331));var t=xs;for(xs|=32,e=e.current.firstEffect;null!==e;){try{var n=e;if(0!=(512&n.effectTag))switch(n.tag){case 0:case 11:case 15:case 22:os(5,n),rs(5,n)}}catch(t){if(null===e)throw Error(a(330));yc(e,t)}n=e.nextEffect,e.nextEffect=null,e=n}return xs=t,Gr(),!0}function bc(e,t,n){li(e,t=fs(e,t=Xa(n,t),1073741823)),null!==(e=Qs(e,1073741823))&&Zs(e)}function yc(e,t){if(3===e.tag)bc(e,e,t);else for(var n=e.return;null!==n;){if(3===n.tag){bc(n,e,t);break}if(1===n.tag){var o=n.stateNode;if("function"==typeof n.type.getDerivedStateFromError||"function"==typeof o.componentDidCatch&&(null===Ls||!Ls.has(o))){li(n,e=ms(n,e=Xa(t,e),1073741823)),null!==(n=Qs(n,1073741823))&&Zs(n);break}}n=n.return}}function vc(e,t,n){var o=e.pingCache;null!==o&&o.delete(t),ws===e&&ks===n?Is===Cs||Is===Ss&&1073741823===Es&&Br()-Rs<500?nc(e,ks):As=!0:Dc(e,n)&&(0!==(t=e.lastPingedTime)&&t<n||(e.lastPingedTime=n,Zs(e)))}function _c(e,t){var n=e.stateNode;null!==n&&n.delete(t),0===(t=0)&&(t=Ks(t=Gs(),e,null)),null!==(e=Qs(e,t))&&Zs(e)}gs=function(e,t,n){var o=t.expirationTime;if(null!==e){var r=t.pendingProps;if(e.memoizedProps!==r||hr.current)Na=!0;else{if(o<n){switch(Na=!1,t.tag){case 3:Ha(t),Oa();break;case 5:if(Ri(t),4&t.mode&&1!==n&&r.hidden)return t.expirationTime=t.childExpirationTime=1,null;break;case 1:gr(t.type)&&_r(t);break;case 4:Di(t,t.stateNode.containerInfo);break;case 10:o=t.memoizedProps.value,r=t.type._context,ur($r,r._currentValue),r._currentValue=o;break;case 13:if(null!==t.memoizedState)return 0!==(o=t.child.childExpirationTime)&&o>=n?Wa(e,t,n):(ur(Fi,1&Fi.current),null!==(t=Ya(e,t,n))?t.sibling:null);ur(Fi,1&Fi.current);break;case 19:if(o=t.childExpirationTime>=n,0!=(64&e.effectTag)){if(o)return Ka(e,t,n);t.effectTag|=64}if(null!==(r=t.memoizedState)&&(r.rendering=null,r.tail=null),ur(Fi,Fi.current),!o)return null}return Ya(e,t,n)}Na=!1}}else Na=!1;switch(t.expirationTime=0,t.tag){case 2:if(o=t.type,null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),e=t.pendingProps,r=mr(t,pr.current),oi(t,n),r=Yi(null,t,o,e,r,n),t.effectTag|=1,"object"==typeof r&&null!==r&&"function"==typeof r.render&&void 0===r.$$typeof){if(t.tag=1,t.memoizedState=null,t.updateQueue=null,gr(o)){var i=!0;_r(t)}else i=!1;t.memoizedState=null!==r.state&&void 0!==r.state?r.state:null,ai(t);var s=o.getDerivedStateFromProps;"function"==typeof s&&mi(t,o,s,e),r.updater=gi,t.stateNode=r,r._reactInternalFiber=t,_i(t,o,e,n),t=La(null,t,o,!0,i,n)}else t.tag=0,Pa(null,t,r,n),t=t.child;return t;case 16:e:{if(r=t.elementType,null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),e=t.pendingProps,function(e){if(-1===e._status){e._status=0;var t=e._ctor;t=t(),e._result=t,t.then((function(t){0===e._status&&(t=t.default,e._status=1,e._result=t)}),(function(t){0===e._status&&(e._status=2,e._result=t)}))}}(r),1!==r._status)throw r._result;switch(r=r._result,t.type=r,i=t.tag=function(e){if("function"==typeof e)return Tc(e)?1:0;if(null!=e){if((e=e.$$typeof)===ce)return 11;if(e===de)return 14}return 2}(r),e=Qr(r,e),i){case 0:t=Fa(null,t,r,e,n);break e;case 1:t=ja(null,t,r,e,n);break e;case 11:t=Da(null,t,r,e,n);break e;case 14:t=Aa(null,t,r,Qr(r.type,e),o,n);break e}throw Error(a(306,r,""))}return t;case 0:return o=t.type,r=t.pendingProps,Fa(e,t,o,r=t.elementType===o?r:Qr(o,r),n);case 1:return o=t.type,r=t.pendingProps,ja(e,t,o,r=t.elementType===o?r:Qr(o,r),n);case 3:if(Ha(t),o=t.updateQueue,null===e||null===o)throw Error(a(282));if(o=t.pendingProps,r=null!==(r=t.memoizedState)?r.element:null,si(e,t),di(t,o,null,n),(o=t.memoizedState.element)===r)Oa(),t=Ya(e,t,n);else{if((r=t.stateNode.hydrate)&&(Sa=Sn(t.stateNode.containerInfo.firstChild),_a=t,r=Ca=!0),r)for(n=ki(t,null,o,n),t.child=n;n;)n.effectTag=-3&n.effectTag|1024,n=n.sibling;else Pa(e,t,o,n),Oa();t=t.child}return t;case 5:return Ri(t),null===e&&Ta(t),o=t.type,r=t.pendingProps,i=null!==e?e.memoizedProps:null,s=r.children,yn(o,r)?s=null:null!==i&&yn(o,i)&&(t.effectTag|=16),Ma(e,t),4&t.mode&&1!==n&&r.hidden?(t.expirationTime=t.childExpirationTime=1,t=null):(Pa(e,t,s,n),t=t.child),t;case 6:return null===e&&Ta(t),null;case 13:return Wa(e,t,n);case 4:return Di(t,t.stateNode.containerInfo),o=t.pendingProps,null===e?t.child=Ti(t,null,o,n):Pa(e,t,o,n),t.child;case 11:return o=t.type,r=t.pendingProps,Da(e,t,o,r=t.elementType===o?r:Qr(o,r),n);case 7:return Pa(e,t,t.pendingProps,n),t.child;case 8:case 12:return Pa(e,t,t.pendingProps.children,n),t.child;case 10:e:{o=t.type._context,r=t.pendingProps,s=t.memoizedProps,i=r.value;var c=t.type._context;if(ur($r,c._currentValue),c._currentValue=i,null!==s)if(c=s.value,0===(i=Lo(c,i)?0:0|("function"==typeof o._calculateChangedBits?o._calculateChangedBits(c,i):1073741823))){if(s.children===r.children&&!hr.current){t=Ya(e,t,n);break e}}else for(null!==(c=t.child)&&(c.return=t);null!==c;){var l=c.dependencies;if(null!==l){s=c.child;for(var u=l.firstContext;null!==u;){if(u.context===o&&0!=(u.observedBits&i)){1===c.tag&&((u=ci(n,null)).tag=2,li(c,u)),c.expirationTime<n&&(c.expirationTime=n),null!==(u=c.alternate)&&u.expirationTime<n&&(u.expirationTime=n),ni(c.return,n),l.expirationTime<n&&(l.expirationTime=n);break}u=u.next}}else s=10===c.tag&&c.type===t.type?null:c.child;if(null!==s)s.return=c;else for(s=c;null!==s;){if(s===t){s=null;break}if(null!==(c=s.sibling)){c.return=s.return,s=c;break}s=s.return}c=s}Pa(e,t,r.children,n),t=t.child}return t;case 9:return r=t.type,o=(i=t.pendingProps).children,oi(t,n),o=o(r=ri(r,i.unstable_observedBits)),t.effectTag|=1,Pa(e,t,o,n),t.child;case 14:return i=Qr(r=t.type,t.pendingProps),Aa(e,t,r,i=Qr(r.type,i),o,n);case 15:return Ra(e,t,t.type,t.pendingProps,o,n);case 17:return o=t.type,r=t.pendingProps,r=t.elementType===o?r:Qr(o,r),null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),t.tag=1,gr(o)?(e=!0,_r(t)):e=!1,oi(t,n),yi(t,o,r),_i(t,o,r,n),La(null,t,o,!0,e,n);case 19:return Ka(e,t,n)}throw Error(a(156,t.tag))};var Sc=null,Cc=null;function xc(e,t,n,o){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=o,this.effectTag=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.childExpirationTime=this.expirationTime=0,this.alternate=null}function wc(e,t,n,o){return new xc(e,t,n,o)}function Tc(e){return!(!(e=e.prototype)||!e.isReactComponent)}function kc(e,t){var n=e.alternate;return null===n?((n=wc(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.effectTag=0,n.nextEffect=null,n.firstEffect=null,n.lastEffect=null),n.childExpirationTime=e.childExpirationTime,n.expirationTime=e.expirationTime,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{expirationTime:t.expirationTime,firstContext:t.firstContext,responders:t.responders},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Ic(e,t,n,o,r,i){var s=2;if(o=e,"function"==typeof e)Tc(e)&&(s=1);else if("string"==typeof e)s=5;else e:switch(e){case ne:return Oc(n.children,r,i,t);case se:s=8,r|=7;break;case oe:s=8,r|=1;break;case re:return(e=wc(12,n,t,8|r)).elementType=re,e.type=re,e.expirationTime=i,e;case le:return(e=wc(13,n,t,r)).type=le,e.elementType=le,e.expirationTime=i,e;case ue:return(e=wc(19,n,t,r)).elementType=ue,e.expirationTime=i,e;default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case ie:s=10;break e;case ae:s=9;break e;case ce:s=11;break e;case de:s=14;break e;case pe:s=16,o=null;break e;case he:s=22;break e}throw Error(a(130,null==e?e:typeof e,""))}return(t=wc(s,n,t,r)).elementType=e,t.type=o,t.expirationTime=i,t}function Oc(e,t,n,o){return(e=wc(7,e,o,t)).expirationTime=n,e}function Ec(e,t,n){return(e=wc(6,e,null,t)).expirationTime=n,e}function Nc(e,t,n){return(t=wc(4,null!==e.children?e.children:[],e.key,t)).expirationTime=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Pc(e,t,n){this.tag=t,this.current=null,this.containerInfo=e,this.pingCache=this.pendingChildren=null,this.finishedExpirationTime=0,this.finishedWork=null,this.timeoutHandle=-1,this.pendingContext=this.context=null,this.hydrate=n,this.callbackNode=null,this.callbackPriority=90,this.lastExpiredTime=this.lastPingedTime=this.nextKnownPendingLevel=this.lastSuspendedTime=this.firstSuspendedTime=this.firstPendingTime=0}function Dc(e,t){var n=e.firstSuspendedTime;return e=e.lastSuspendedTime,0!==n&&n>=t&&e<=t}function Ac(e,t){var n=e.firstSuspendedTime,o=e.lastSuspendedTime;n<t&&(e.firstSuspendedTime=t),(o>t||0===n)&&(e.lastSuspendedTime=t),t<=e.lastPingedTime&&(e.lastPingedTime=0),t<=e.lastExpiredTime&&(e.lastExpiredTime=0)}function Rc(e,t){t>e.firstPendingTime&&(e.firstPendingTime=t);var n=e.firstSuspendedTime;0!==n&&(t>=n?e.firstSuspendedTime=e.lastSuspendedTime=e.nextKnownPendingLevel=0:t>=e.lastSuspendedTime&&(e.lastSuspendedTime=t+1),t>e.nextKnownPendingLevel&&(e.nextKnownPendingLevel=t))}function Mc(e,t){var n=e.lastExpiredTime;(0===n||n>t)&&(e.lastExpiredTime=t)}function Fc(e,t,n,o){var r=t.current,i=Gs(),s=hi.suspense;i=Ks(i,r,s);e:if(n){t:{if(Je(n=n._reactInternalFiber)!==n||1!==n.tag)throw Error(a(170));var c=n;do{switch(c.tag){case 3:c=c.stateNode.context;break t;case 1:if(gr(c.type)){c=c.stateNode.__reactInternalMemoizedMergedChildContext;break t}}c=c.return}while(null!==c);throw Error(a(171))}if(1===n.tag){var l=n.type;if(gr(l)){n=vr(n,l,c);break e}}n=c}else n=dr;return null===t.context?t.context=n:t.pendingContext=n,(t=ci(i,s)).payload={element:e},null!==(o=void 0===o?null:o)&&(t.callback=o),li(r,t),Ys(r,i),i}function jc(e){if(!(e=e.current).child)return null;switch(e.child.tag){case 5:default:return e.child.stateNode}}function Lc(e,t){null!==(e=e.memoizedState)&&null!==e.dehydrated&&e.retryTime<t&&(e.retryTime=t)}function Hc(e,t){Lc(e,t),(e=e.alternate)&&Lc(e,t)}function Bc(e,t,n){var o=new Pc(e,t,n=null!=n&&!0===n.hydrate),r=wc(3,null,null,2===t?7:1===t?3:0);o.current=r,r.stateNode=o,ai(r),e[kn]=o.current,n&&0!==t&&function(e,t){var n=Xe(t);kt.forEach((function(e){ft(e,t,n)})),It.forEach((function(e){ft(e,t,n)}))}(0,9===e.nodeType?e:e.ownerDocument),this._internalRoot=o}function zc(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function Uc(e,t,n,o,r){var i=n._reactRootContainer;if(i){var a=i._internalRoot;if("function"==typeof r){var s=r;r=function(){var e=jc(a);s.call(e)}}Fc(t,a,e,r)}else{if(i=n._reactRootContainer=function(e,t){if(t||(t=!(!(t=e?9===e.nodeType?e.documentElement:e.firstChild:null)||1!==t.nodeType||!t.hasAttribute("data-reactroot"))),!t)for(var n;n=e.lastChild;)e.removeChild(n);return new Bc(e,0,t?{hydrate:!0}:void 0)}(n,o),a=i._internalRoot,"function"==typeof r){var c=r;r=function(){var e=jc(a);c.call(e)}}tc((function(){Fc(t,a,e,r)}))}return jc(a)}function Vc(e,t,n){var o=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:te,key:null==o?null:""+o,children:e,containerInfo:t,implementation:n}}function Wc(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!zc(t))throw Error(a(200));return Vc(e,t,null,n)}Bc.prototype.render=function(e){Fc(e,this._internalRoot,null,null)},Bc.prototype.unmount=function(){var e=this._internalRoot,t=e.containerInfo;Fc(null,e,null,(function(){t[kn]=null}))},mt=function(e){if(13===e.tag){var t=Yr(Gs(),150,100);Ys(e,t),Hc(e,t)}},gt=function(e){13===e.tag&&(Ys(e,3),Hc(e,3))},bt=function(e){if(13===e.tag){var t=Gs();Ys(e,t=Ks(t,e,null)),Hc(e,t)}},O=function(e,t,n){switch(t){case"input":if(Te(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var o=n[t];if(o!==e&&o.form===e.form){var r=Nn(o);if(!r)throw Error(a(90));Se(o),Te(o,r)}}}break;case"textarea":De(e,n);break;case"select":null!=(t=n.value)&&Ee(e,!!n.multiple,t,!1)}},R=ec,M=function(e,t,n,o,r){var i=xs;xs|=4;try{return Vr(98,e.bind(null,t,n,o,r))}finally{0===(xs=i)&&Gr()}},F=function(){0==(49&xs)&&(function(){if(null!==Us){var e=Us;Us=null,e.forEach((function(e,t){Mc(t,e),Zs(t)})),Gr()}}(),mc())},j=function(e,t){var n=xs;xs|=2;try{return e(t)}finally{0===(xs=n)&&Gr()}};var qc,Gc,Kc={Events:[On,En,Nn,k,x,jn,function(e){rt(e,Fn)},D,A,Zt,st,mc,{current:!1}]};Gc=(qc={findFiberByHostInstance:In,bundleType:0,version:"16.14.0",rendererPackageName:"react-dom"}).findFiberByHostInstance,function(e){if("undefined"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__)return!1;var t=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(t.isDisabled||!t.supportsFiber)return!0;try{var n=t.inject(e);Sc=function(e){try{t.onCommitFiberRoot(n,e,void 0,64==(64&e.current.effectTag))}catch(e){}},Cc=function(e){try{t.onCommitFiberUnmount(n,e)}catch(e){}}}catch(e){}}(r({},qc,{overrideHookState:null,overrideProps:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:$.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=nt(e))?null:e.stateNode},findFiberByHostInstance:function(e){return Gc?Gc(e):null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null})),t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Kc,t.createPortal=Wc,t.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternalFiber;if(void 0===t){if("function"==typeof e.render)throw Error(a(188));throw Error(a(268,Object.keys(e)))}return e=null===(e=nt(t))?null:e.stateNode},t.flushSync=function(e,t){if(0!=(48&xs))throw Error(a(187));var n=xs;xs|=1;try{return Vr(99,e.bind(null,t))}finally{xs=n,Gr()}},t.hydrate=function(e,t,n){if(!zc(t))throw Error(a(200));return Uc(null,e,t,!0,n)},t.render=function(e,t,n){if(!zc(t))throw Error(a(200));return Uc(null,e,t,!1,n)},t.unmountComponentAtNode=function(e){if(!zc(e))throw Error(a(40));return!!e._reactRootContainer&&(tc((function(){Uc(null,null,e,!1,(function(){e._reactRootContainer=null,e[kn]=null}))})),!0)},t.unstable_batchedUpdates=ec,t.unstable_createPortal=function(e,t){return Wc(e,t,2<arguments.length&&void 0!==arguments[2]?arguments[2]:null)},t.unstable_renderSubtreeIntoContainer=function(e,t,n,o){if(!zc(n))throw Error(a(200));if(null==e||void 0===e._reactInternalFiber)throw Error(a(38));return Uc(e,t,n,!1,o)},t.version="16.14.0"},function(e,t,n){"use strict";e.exports=n(205)},function(e,t,n){"use strict";
/** @license React v0.19.1
 * scheduler.production.min.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var o,r,i,a,s;if("undefined"==typeof window||"function"!=typeof MessageChannel){var c=null,l=null,u=function(){if(null!==c)try{var e=t.unstable_now();c(!0,e),c=null}catch(e){throw setTimeout(u,0),e}},d=Date.now();t.unstable_now=function(){return Date.now()-d},o=function(e){null!==c?setTimeout(o,0,e):(c=e,setTimeout(u,0))},r=function(e,t){l=setTimeout(e,t)},i=function(){clearTimeout(l)},a=function(){return!1},s=t.unstable_forceFrameRate=function(){}}else{var p=window.performance,h=window.Date,f=window.setTimeout,m=window.clearTimeout;if("undefined"!=typeof console){var g=window.cancelAnimationFrame;"function"!=typeof window.requestAnimationFrame&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"),"function"!=typeof g&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills")}if("object"==typeof p&&"function"==typeof p.now)t.unstable_now=function(){return p.now()};else{var b=h.now();t.unstable_now=function(){return h.now()-b}}var y=!1,v=null,_=-1,S=5,C=0;a=function(){return t.unstable_now()>=C},s=function(){},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing framerates higher than 125 fps is not unsupported"):S=0<e?Math.floor(1e3/e):5};var x=new MessageChannel,w=x.port2;x.port1.onmessage=function(){if(null!==v){var e=t.unstable_now();C=e+S;try{v(!0,e)?w.postMessage(null):(y=!1,v=null)}catch(e){throw w.postMessage(null),e}}else y=!1},o=function(e){v=e,y||(y=!0,w.postMessage(null))},r=function(e,n){_=f((function(){e(t.unstable_now())}),n)},i=function(){m(_),_=-1}}function T(e,t){var n=e.length;e.push(t);e:for(;;){var o=n-1>>>1,r=e[o];if(!(void 0!==r&&0<O(r,t)))break e;e[o]=t,e[n]=r,n=o}}function k(e){return void 0===(e=e[0])?null:e}function I(e){var t=e[0];if(void 0!==t){var n=e.pop();if(n!==t){e[0]=n;e:for(var o=0,r=e.length;o<r;){var i=2*(o+1)-1,a=e[i],s=i+1,c=e[s];if(void 0!==a&&0>O(a,n))void 0!==c&&0>O(c,a)?(e[o]=c,e[s]=n,o=s):(e[o]=a,e[i]=n,o=i);else{if(!(void 0!==c&&0>O(c,n)))break e;e[o]=c,e[s]=n,o=s}}}return t}return null}function O(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}var E=[],N=[],P=1,D=null,A=3,R=!1,M=!1,F=!1;function j(e){for(var t=k(N);null!==t;){if(null===t.callback)I(N);else{if(!(t.startTime<=e))break;I(N),t.sortIndex=t.expirationTime,T(E,t)}t=k(N)}}function L(e){if(F=!1,j(e),!M)if(null!==k(E))M=!0,o(H);else{var t=k(N);null!==t&&r(L,t.startTime-e)}}function H(e,n){M=!1,F&&(F=!1,i()),R=!0;var o=A;try{for(j(n),D=k(E);null!==D&&(!(D.expirationTime>n)||e&&!a());){var s=D.callback;if(null!==s){D.callback=null,A=D.priorityLevel;var c=s(D.expirationTime<=n);n=t.unstable_now(),"function"==typeof c?D.callback=c:D===k(E)&&I(E),j(n)}else I(E);D=k(E)}if(null!==D)var l=!0;else{var u=k(N);null!==u&&r(L,u.startTime-n),l=!1}return l}finally{D=null,A=o,R=!1}}function B(e){switch(e){case 1:return-1;case 2:return 250;case 5:return 1073741823;case 4:return 1e4;default:return 5e3}}var z=s;t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){M||R||(M=!0,o(H))},t.unstable_getCurrentPriorityLevel=function(){return A},t.unstable_getFirstCallbackNode=function(){return k(E)},t.unstable_next=function(e){switch(A){case 1:case 2:case 3:var t=3;break;default:t=A}var n=A;A=t;try{return e()}finally{A=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=z,t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=A;A=e;try{return t()}finally{A=n}},t.unstable_scheduleCallback=function(e,n,a){var s=t.unstable_now();if("object"==typeof a&&null!==a){var c=a.delay;c="number"==typeof c&&0<c?s+c:s,a="number"==typeof a.timeout?a.timeout:B(e)}else a=B(e),c=s;return e={id:P++,callback:n,priorityLevel:e,startTime:c,expirationTime:a=c+a,sortIndex:-1},c>s?(e.sortIndex=c,T(N,e),null===k(E)&&e===k(N)&&(F?i():F=!0,r(L,c-s))):(e.sortIndex=a,T(E,e),M||R||(M=!0,o(H))),e},t.unstable_shouldYield=function(){var e=t.unstable_now();j(e);var n=k(E);return n!==D&&null!==D&&null!==n&&null!==n.callback&&n.startTime<=e&&n.expirationTime<D.expirationTime||a()},t.unstable_wrapCallback=function(e){var t=A;return function(){var n=A;A=t;try{return e.apply(this,arguments)}finally{A=n}}}},function(e,t,n){"use strict";var o=n(207);function r(){}function i(){}i.resetWarningCache=r,e.exports=function(){function e(e,t,n,r,i,a){if(a!==o){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:r};return n.PropTypes=n,n}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){"use strict";
/** @license React v16.13.1
 * react-is.production.min.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var o="function"==typeof Symbol&&Symbol.for,r=o?Symbol.for("react.element"):60103,i=o?Symbol.for("react.portal"):60106,a=o?Symbol.for("react.fragment"):60107,s=o?Symbol.for("react.strict_mode"):60108,c=o?Symbol.for("react.profiler"):60114,l=o?Symbol.for("react.provider"):60109,u=o?Symbol.for("react.context"):60110,d=o?Symbol.for("react.async_mode"):60111,p=o?Symbol.for("react.concurrent_mode"):60111,h=o?Symbol.for("react.forward_ref"):60112,f=o?Symbol.for("react.suspense"):60113,m=o?Symbol.for("react.suspense_list"):60120,g=o?Symbol.for("react.memo"):60115,b=o?Symbol.for("react.lazy"):60116,y=o?Symbol.for("react.block"):60121,v=o?Symbol.for("react.fundamental"):60117,_=o?Symbol.for("react.responder"):60118,S=o?Symbol.for("react.scope"):60119;function C(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case d:case p:case a:case c:case s:case f:return e;default:switch(e=e&&e.$$typeof){case u:case h:case b:case g:case l:return e;default:return t}}case i:return t}}}function x(e){return C(e)===p}t.AsyncMode=d,t.ConcurrentMode=p,t.ContextConsumer=u,t.ContextProvider=l,t.Element=r,t.ForwardRef=h,t.Fragment=a,t.Lazy=b,t.Memo=g,t.Portal=i,t.Profiler=c,t.StrictMode=s,t.Suspense=f,t.isAsyncMode=function(e){return x(e)||C(e)===d},t.isConcurrentMode=x,t.isContextConsumer=function(e){return C(e)===u},t.isContextProvider=function(e){return C(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return C(e)===h},t.isFragment=function(e){return C(e)===a},t.isLazy=function(e){return C(e)===b},t.isMemo=function(e){return C(e)===g},t.isPortal=function(e){return C(e)===i},t.isProfiler=function(e){return C(e)===c},t.isStrictMode=function(e){return C(e)===s},t.isSuspense=function(e){return C(e)===f},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===a||e===p||e===c||e===s||e===f||e===m||"object"==typeof e&&null!==e&&(e.$$typeof===b||e.$$typeof===g||e.$$typeof===l||e.$$typeof===u||e.$$typeof===h||e.$$typeof===v||e.$$typeof===_||e.$$typeof===S||e.$$typeof===y)},t.typeOf=C},function(e,t){e.exports=function(e){if(!e.webpackPolyfill){var t=Object.create(e);t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),Object.defineProperty(t,"exports",{enumerable:!0}),t.webpackPolyfill=1}return t}},function(e,t,n){(function(e,o){var r;/*! https://mths.be/punycode v1.4.1 by @mathias */!function(i){t&&t.nodeType,e&&e.nodeType;var a="object"==typeof o&&o;a.global!==a&&a.window!==a&&a.self;var s,c=2147483647,l=/^xn--/,u=/[^\x20-\x7E]/,d=/[\x2E\u3002\uFF0E\uFF61]/g,p={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},h=Math.floor,f=String.fromCharCode;function m(e){throw new RangeError(p[e])}function g(e,t){for(var n=e.length,o=[];n--;)o[n]=t(e[n]);return o}function b(e,t){var n=e.split("@"),o="";return n.length>1&&(o=n[0]+"@",e=n[1]),o+g((e=e.replace(d,".")).split("."),t).join(".")}function y(e){for(var t,n,o=[],r=0,i=e.length;r<i;)(t=e.charCodeAt(r++))>=55296&&t<=56319&&r<i?56320==(64512&(n=e.charCodeAt(r++)))?o.push(((1023&t)<<10)+(1023&n)+65536):(o.push(t),r--):o.push(t);return o}function v(e){return g(e,(function(e){var t="";return e>65535&&(t+=f((e-=65536)>>>10&1023|55296),e=56320|1023&e),t+=f(e)})).join("")}function _(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function S(e,t,n){var o=0;for(e=n?h(e/700):e>>1,e+=h(e/t);e>455;o+=36)e=h(e/35);return h(o+36*e/(e+38))}function C(e){var t,n,o,r,i,a,s,l,u,d,p,f=[],g=e.length,b=0,y=128,_=72;for((n=e.lastIndexOf("-"))<0&&(n=0),o=0;o<n;++o)e.charCodeAt(o)>=128&&m("not-basic"),f.push(e.charCodeAt(o));for(r=n>0?n+1:0;r<g;){for(i=b,a=1,s=36;r>=g&&m("invalid-input"),((l=(p=e.charCodeAt(r++))-48<10?p-22:p-65<26?p-65:p-97<26?p-97:36)>=36||l>h((c-b)/a))&&m("overflow"),b+=l*a,!(l<(u=s<=_?1:s>=_+26?26:s-_));s+=36)a>h(c/(d=36-u))&&m("overflow"),a*=d;_=S(b-i,t=f.length+1,0==i),h(b/t)>c-y&&m("overflow"),y+=h(b/t),b%=t,f.splice(b++,0,y)}return v(f)}function x(e){var t,n,o,r,i,a,s,l,u,d,p,g,b,v,C,x=[];for(g=(e=y(e)).length,t=128,n=0,i=72,a=0;a<g;++a)(p=e[a])<128&&x.push(f(p));for(o=r=x.length,r&&x.push("-");o<g;){for(s=c,a=0;a<g;++a)(p=e[a])>=t&&p<s&&(s=p);for(s-t>h((c-n)/(b=o+1))&&m("overflow"),n+=(s-t)*b,t=s,a=0;a<g;++a)if((p=e[a])<t&&++n>c&&m("overflow"),p==t){for(l=n,u=36;!(l<(d=u<=i?1:u>=i+26?26:u-i));u+=36)C=l-d,v=36-d,x.push(f(_(d+C%v,0))),l=h(C/v);x.push(f(_(l,0))),i=S(n,b,o==r),n=0,++o}++n,++t}return x.join("")}s={version:"1.4.1",ucs2:{decode:y,encode:v},decode:C,encode:x,toASCII:function(e){return b(e,(function(e){return u.test(e)?"xn--"+x(e):e}))},toUnicode:function(e){return b(e,(function(e){return l.test(e)?C(e.slice(4).toLowerCase()):e}))}},void 0===(r=function(){return s}.call(t,n,t,e))||(e.exports=r)}()}).call(this,n(211)(e),n(21))},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t,n){"use strict";e.exports={isString:function(e){return"string"==typeof e},isObject:function(e){return"object"==typeof e&&null!==e},isNull:function(e){return null===e},isNullOrUndefined:function(e){return null==e}}},function(e,t,n){"use strict";function o(e,t){return Object.prototype.hasOwnProperty.call(e,t)}e.exports=function(e,t,n,i){t=t||"&",n=n||"=";var a={};if("string"!=typeof e||0===e.length)return a;var s=/\+/g;e=e.split(t);var c=1e3;i&&"number"==typeof i.maxKeys&&(c=i.maxKeys);var l=e.length;c>0&&l>c&&(l=c);for(var u=0;u<l;++u){var d,p,h,f,m=e[u].replace(s,"%20"),g=m.indexOf(n);g>=0?(d=m.substr(0,g),p=m.substr(g+1)):(d=m,p=""),h=decodeURIComponent(d),f=decodeURIComponent(p),o(a,h)?r(a[h])?a[h].push(f):a[h]=[a[h],f]:a[h]=f}return a};var r=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)}},function(e,t,n){"use strict";var o=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}};e.exports=function(e,t,n,s){return t=t||"&",n=n||"=",null===e&&(e=void 0),"object"==typeof e?i(a(e),(function(a){var s=encodeURIComponent(o(a))+n;return r(e[a])?i(e[a],(function(e){return s+encodeURIComponent(o(e))})).join(t):s+encodeURIComponent(o(e[a]))})).join(t):s?encodeURIComponent(o(s))+n+encodeURIComponent(o(e)):""};var r=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)};function i(e,t){if(e.map)return e.map(t);for(var n=[],o=0;o<e.length;o++)n.push(t(e[o],o));return n}var a=Object.keys||function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.push(n);return t}},function(e,t){var n="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof window.msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto);if(n){var o=new Uint8Array(16);e.exports=function(){return n(o),o}}else{var r=new Array(16);e.exports=function(){for(var e,t=0;t<16;t++)0==(3&t)&&(e=4294967296*Math.random()),r[t]=e>>>((3&t)<<3)&255;return r}}},function(e,t){for(var n=[],o=0;o<256;++o)n[o]=(o+256).toString(16).substr(1);e.exports=function(e,t){var o=t||0,r=n;return[r[e[o++]],r[e[o++]],r[e[o++]],r[e[o++]],"-",r[e[o++]],r[e[o++]],"-",r[e[o++]],r[e[o++]],"-",r[e[o++]],r[e[o++]],"-",r[e[o++]],r[e[o++]],r[e[o++]],r[e[o++]],r[e[o++]],r[e[o++]]].join("")}},function(e,t,n){"use strict";var o=n(2),r=n(33),i=n(78);t.toSubscriber=function(e,t,n){if(e){if(e instanceof o.Subscriber)return e;if(e[r.rxSubscriber])return e[r.rxSubscriber]()}return e||t||n?new o.Subscriber(e,t,n):new o.Subscriber(i.empty)}},function(e,t,n){"use strict";var o=this&&this.__extends||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);function o(){this.constructor=e}e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},r=function(e){function t(t,n,o){e.call(this),this.parent=t,this.outerValue=n,this.outerIndex=o,this.index=0}return o(t,e),t.prototype._next=function(e){this.parent.notifyNext(this.outerValue,e,this.outerIndex,this.index++,this)},t.prototype._error=function(e){this.parent.notifyError(e,this),this.unsubscribe()},t.prototype._complete=function(){this.parent.notifyComplete(this),this.unsubscribe()},t}(n(2).Subscriber);t.InnerSubscriber=r},function(e,t,n){"use strict";var o=this&&this.__extends||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);function o(){this.constructor=e}e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},r=n(10),i=n(1),a=n(23),s=function(e){function t(t,n){if(e.call(this),this.scheduler=n,null==t)throw new Error("iterator cannot be null.");this.iterator=function(e){var t=e[a.iterator];if(!t&&"string"==typeof e)return new c(e);if(!t&&void 0!==e.length)return new l(e);if(!t)throw new TypeError("object is not iterable");return e[a.iterator]()}(t)}return o(t,e),t.create=function(e,n){return new t(e,n)},t.dispatch=function(e){var t=e.index,n=e.hasError,o=e.iterator,r=e.subscriber;if(n)r.error(e.error);else{var i=o.next();i.done?r.complete():(r.next(i.value),e.index=t+1,r.closed?"function"==typeof o.return&&o.return():this.schedule(e))}},t.prototype._subscribe=function(e){var n=this.iterator,o=this.scheduler;if(o)return o.schedule(t.dispatch,0,{index:0,iterator:n,subscriber:e});for(;;){var r=n.next();if(r.done){e.complete();break}if(e.next(r.value),e.closed){"function"==typeof n.return&&n.return();break}}},t}(i.Observable);t.IteratorObservable=s;var c=function(){function e(e,t,n){void 0===t&&(t=0),void 0===n&&(n=e.length),this.str=e,this.idx=t,this.len=n}return e.prototype[a.iterator]=function(){return this},e.prototype.next=function(){return this.idx<this.len?{done:!1,value:this.str.charAt(this.idx++)}:{done:!0,value:void 0}},e}(),l=function(){function e(e,t,n){void 0===t&&(t=0),void 0===n&&(n=function(e){var t=+e.length;if(isNaN(t))return 0;if(0===t||(n=t,"number"!=typeof n||!r.root.isFinite(n)))return t;var n;if((t=function(e){var t=+e;if(0===t)return t;if(isNaN(t))return t;return t<0?-1:1}(t)*Math.floor(Math.abs(t)))<=0)return 0;if(t>u)return u;return t}(e)),this.arr=e,this.idx=t,this.len=n}return e.prototype[a.iterator]=function(){return this},e.prototype.next=function(){return this.idx<this.len?{done:!1,value:this.arr[this.idx++]}:{done:!0,value:void 0}},e}();var u=Math.pow(2,53)-1},function(e,t,n){"use strict";var o=this&&this.__extends||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);function o(){this.constructor=e}e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},r=n(1),i=n(53),a=n(17),s=function(e){function t(t,n){e.call(this),this.arrayLike=t,this.scheduler=n,n||1!==t.length||(this._isScalar=!0,this.value=t[0])}return o(t,e),t.create=function(e,n){var o=e.length;return 0===o?new a.EmptyObservable:1===o?new i.ScalarObservable(e[0],n):new t(e,n)},t.dispatch=function(e){var t=e.arrayLike,n=e.index,o=e.length,r=e.subscriber;r.closed||(n>=o?r.complete():(r.next(t[n]),e.index=n+1,this.schedule(e)))},t.prototype._subscribe=function(e){var n=this.arrayLike,o=this.scheduler,r=n.length;if(o)return o.schedule(t.dispatch,0,{arrayLike:n,index:0,length:r,subscriber:e});for(var i=0;i<r&&!e.closed;i++)e.next(n[i]);e.complete()},t}(r.Observable);t.ArrayLikeObservable=s},function(e,t,n){"use strict";var o=n(222);t.bindCallback=o.BoundCallbackObservable.create},function(e,t,n){"use strict";var o=this&&this.__extends||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);function o(){this.constructor=e}e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},r=n(1),i=n(9),a=n(8),s=n(38),c=function(e){function t(t,n,o,r,i){e.call(this),this.callbackFunc=t,this.selector=n,this.args=o,this.context=r,this.scheduler=i}return o(t,e),t.create=function(e,n,o){return void 0===n&&(n=void 0),function(){for(var r=[],i=0;i<arguments.length;i++)r[i-0]=arguments[i];return new t(e,n,r,this,o)}},t.prototype._subscribe=function(e){var n=this.callbackFunc,o=this.args,r=this.scheduler,c=this.subject;if(r)return r.schedule(t.dispatch,0,{source:this,subscriber:e,context:this.context});if(!c){c=this.subject=new s.AsyncSubject;var l=function e(){for(var t=[],n=0;n<arguments.length;n++)t[n-0]=arguments[n];var o=e.source,r=o.selector,s=o.subject;if(r){var c=i.tryCatch(r).apply(this,t);c===a.errorObject?s.error(a.errorObject.e):(s.next(c),s.complete())}else s.next(t.length<=1?t[0]:t),s.complete()};l.source=this,i.tryCatch(n).apply(this.context,o.concat(l))===a.errorObject&&c.error(a.errorObject.e)}return c.subscribe(e)},t.dispatch=function(e){var t=this,n=e.source,o=e.subscriber,r=e.context,c=n.callbackFunc,d=n.args,p=n.scheduler,h=n.subject;if(!h){h=n.subject=new s.AsyncSubject;var f=function e(){for(var n=[],o=0;o<arguments.length;o++)n[o-0]=arguments[o];var r=e.source,s=r.selector,c=r.subject;if(s){var d=i.tryCatch(s).apply(this,n);d===a.errorObject?t.add(p.schedule(u,0,{err:a.errorObject.e,subject:c})):t.add(p.schedule(l,0,{value:d,subject:c}))}else{var h=n.length<=1?n[0]:n;t.add(p.schedule(l,0,{value:h,subject:c}))}};f.source=n,i.tryCatch(c).apply(r,d.concat(f))===a.errorObject&&h.error(a.errorObject.e)}t.add(h.subscribe(o))},t}(r.Observable);function l(e){var t=e.value,n=e.subject;n.next(t),n.complete()}function u(e){var t=e.err;e.subject.error(t)}t.BoundCallbackObservable=c},function(e,t,n){"use strict";var o=n(12),r=n(13),i=n(16),a=n(39);t.combineLatest=function(){for(var e=[],t=0;t<arguments.length;t++)e[t-0]=arguments[t];var n=null,s=null;return o.isScheduler(e[e.length-1])&&(s=e.pop()),"function"==typeof e[e.length-1]&&(n=e.pop()),1===e.length&&r.isArray(e[0])&&(e=e[0]),new i.ArrayObservable(e,s).lift(new a.CombineLatestOperator(n))}},function(e,t,n){"use strict";var o=n(88);t.ajax=o.AjaxObservable.create},function(e,t,n){"use strict";var o=n(226);t._if=o.IfObservable.create},function(e,t,n){"use strict";var o=this&&this.__extends||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);function o(){this.constructor=e}e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},r=n(1),i=n(4),a=n(3),s=function(e){function t(t,n,o){e.call(this),this.condition=t,this.thenSource=n,this.elseSource=o}return o(t,e),t.create=function(e,n,o){return new t(e,n,o)},t.prototype._subscribe=function(e){var t=this.condition,n=this.thenSource,o=this.elseSource;return new c(e,t,n,o)},t}(r.Observable);t.IfObservable=s;var c=function(e){function t(t,n,o,r){e.call(this,t),this.condition=n,this.thenSource=o,this.elseSource=r,this.tryIf()}return o(t,e),t.prototype.tryIf=function(){var e=this.condition,t=this.thenSource,n=this.elseSource;try{var o=e()?t:n;o?this.add(i.subscribeToResult(this,o)):this._complete()}catch(e){this._error(e)}},t}(a.OuterSubscriber)},function(e,t,n){"use strict";var o=n(228);t.interval=o.IntervalObservable.create},function(e,t,n){"use strict";var o=this&&this.__extends||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);function o(){this.constructor=e}e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},r=n(26),i=n(1),a=n(5),s=function(e){function t(t,n){void 0===t&&(t=0),void 0===n&&(n=a.async),e.call(this),this.period=t,this.scheduler=n,(!r.isNumeric(t)||t<0)&&(this.period=0),n&&"function"==typeof n.schedule||(this.scheduler=a.async)}return o(t,e),t.create=function(e,n){return void 0===e&&(e=0),void 0===n&&(n=a.async),new t(e,n)},t.dispatch=function(e){var t=e.index,n=e.subscriber,o=e.period;n.next(t),n.closed||(e.index+=1,this.schedule(e,o))},t.prototype._subscribe=function(e){var n=this.period,o=this.scheduler;e.add(o.schedule(t.dispatch,n,{index:0,subscriber:e,period:n}))},t}(i.Observable);t.IntervalObservable=s},function(e,t,n){"use strict";var o=this&&this.__extends||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);function o(){this.constructor=e}e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},r=function(e){function t(t,n){e.call(this)}return o(t,e),t.prototype.schedule=function(e,t){return void 0===t&&(t=0),this},t}(n(7).Subscription);t.Action=r},function(e,t,n){"use strict";var o=function(){function e(t,n){void 0===n&&(n=e.now),this.SchedulerAction=t,this.now=n}return e.prototype.schedule=function(e,t,n){return void 0===t&&(t=0),new this.SchedulerAction(this,e).schedule(n,t)},e.now=Date.now?Date.now:function(){return+new Date},e}();t.Scheduler=o},function(e,t,n){"use strict";var o=n(95);t._catch=function(e){return o.catchError(e)(this)}},function(e,t,n){"use strict";var o=n(55);t.concatAll=function(){return o.concatAll()(this)}},function(e,t,n){"use strict";var o=n(25);t.mergeMap=function(e,t,n){return void 0===n&&(n=Number.POSITIVE_INFINITY),o.mergeMap(e,t,n)(this)}},function(e,t,n){"use strict";var o=n(101);t.retry=function(e){return void 0===e&&(e=-1),o.retry(e)(this)}},function(e,t,n){"use strict";var o=n(104);t.takeUntil=function(e){return o.takeUntil(e)(this)}},function(e,t,n){"use strict";var o=n(106);t.takeWhile=function(e){return o.takeWhile(e)(this)}},function(e,t,n){window,e.exports=function(e){var t={};function n(o){if(t[o])return t[o].exports;var r=t[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(o,r,function(t){return e[t]}.bind(null,r));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=13)}([function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=function(){function e(){}return e.initializeCalled=!1,e.initializeCompleted=!1,e.additionalValidOrigins=[],e.additionalValidOriginsRegexp=null,e.initializeCallbacks=[],e.isFramelessWindow=!1,e.parentMessageQueue=[],e.childMessageQueue=[],e.nextMessageId=0,e.handlers={},e.callbacks={},e.printCapabilityEnabled=!1,e}();t.GlobalVars=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(6),r=n(4),i=n(0),a=n(3);function s(e){if("id"in e.data&&"number"==typeof e.data.id){var t=e.data,n=i.GlobalVars.callbacks[t.id];n&&(n.apply(null,t.args.concat([t.isPartialResponse])),function(e){return!0===e.data.isPartialResponse}(e)||delete i.GlobalVars.callbacks[t.id])}else if("func"in e.data&&"string"==typeof e.data.func){t=e.data;var o=i.GlobalVars.handlers[t.func];o&&o.apply(this,t.args)}}function c(e){return e===i.GlobalVars.parentWindow?i.GlobalVars.parentMessageQueue:e===i.GlobalVars.childWindow?i.GlobalVars.childMessageQueue:[]}function l(e){return e===i.GlobalVars.parentWindow?i.GlobalVars.parentOrigin:e===i.GlobalVars.childWindow?i.GlobalVars.childOrigin:null}function u(e){for(var t=l(e),n=c(e);e&&t&&n.length>0;)e.postMessage(n.shift(),t)}function d(e,t){var n=i.GlobalVars.parentWindow,o=function(e,t){return{id:i.GlobalVars.nextMessageId++,func:e,args:t||[]}}(e,t);if(i.GlobalVars.isFramelessWindow)i.GlobalVars.currentWindow&&i.GlobalVars.currentWindow.nativeInterface&&i.GlobalVars.currentWindow.nativeInterface.framelessPostMessage(JSON.stringify(o));else{var r=l(n);n&&r?n.postMessage(o,r):c(n).push(o)}return o.id}function p(e,t,n){var o=i.GlobalVars.childWindow,r=function(e,t,n){return{id:e,args:t||[],isPartialResponse:n}}(e,t,n),a=l(o);o&&a&&o.postMessage(r,a)}function h(e,t){var n=i.GlobalVars.childWindow,o=function(e,t){return{func:e,args:t||[]}}(e,t),r=l(n);n&&r?n.postMessage(o,r):c(n).push(o)}i.GlobalVars.handlers.themeChange=function(e){i.GlobalVars.themeChangeHandler&&i.GlobalVars.themeChangeHandler(e),i.GlobalVars.childWindow&&h("themeChange",[e])},i.GlobalVars.handlers.fullScreenChange=function(e){i.GlobalVars.fullScreenChangeHandler&&i.GlobalVars.fullScreenChangeHandler(e)},i.GlobalVars.handlers.backButtonPress=function(){i.GlobalVars.backButtonPressHandler&&i.GlobalVars.backButtonPressHandler()||o.navigateBack()},i.GlobalVars.handlers.load=function(e){i.GlobalVars.loadHandler&&i.GlobalVars.loadHandler(e),i.GlobalVars.childWindow&&h("load",[e])},i.GlobalVars.handlers.beforeUnload=function(){var e=function(){d("readyToUnload",[])};i.GlobalVars.beforeUnloadHandler&&i.GlobalVars.beforeUnloadHandler(e)||e()},i.GlobalVars.handlers.changeSettings=function(){i.GlobalVars.changeSettingsHandler&&i.GlobalVars.changeSettingsHandler()},i.GlobalVars.handlers.startConversation=function(e,t,n,o){i.GlobalVars.onStartConversationHandler&&i.GlobalVars.onStartConversationHandler({subEntityId:e,conversationId:t,channelId:n,entityId:o})},i.GlobalVars.handlers.closeConversation=function(e,t,n,o){i.GlobalVars.onCloseConversationHandler&&i.GlobalVars.onCloseConversationHandler({subEntityId:e,conversationId:t,channelId:n,entityId:o})},i.GlobalVars.handlers.appButtonClick=function(){i.GlobalVars.appButtonClickHandler&&i.GlobalVars.appButtonClickHandler()},i.GlobalVars.handlers.appButtonHoverEnter=function(){i.GlobalVars.appButtonHoverEnterHandler&&i.GlobalVars.appButtonHoverEnterHandler()},i.GlobalVars.handlers.appButtonHoverLeave=function(){i.GlobalVars.appButtonHoverLeaveHandler&&i.GlobalVars.appButtonHoverLeaveHandler()},t.ensureInitialized=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(!i.GlobalVars.initializeCalled)throw new Error("The library has not yet been initialized");if(i.GlobalVars.frameContext&&e&&e.length>0){for(var n=!1,o=0;o<e.length;o++)if(e[o]===i.GlobalVars.frameContext){n=!0;break}if(!n)throw new Error("This call is not allowed in the '"+i.GlobalVars.frameContext+"' context")}},t.isAPISupportedByPlatform=function(e){void 0===e&&(e=r.defaultSDKVersionForCompatCheck);var t=a.compareSDKVersions(i.GlobalVars.clientSupportedSDKVersion,e);return!isNaN(t)&&t>=0},t.processMessage=function(e){if(e&&e.data&&"object"==typeof e.data){var t=e.source||e.originalEvent&&e.originalEvent.source,n=e.origin||e.originalEvent&&e.originalEvent.origin;(function(e,t){return!(i.GlobalVars.currentWindow&&e===i.GlobalVars.currentWindow||!(i.GlobalVars.currentWindow&&i.GlobalVars.currentWindow.location&&t&&t===i.GlobalVars.currentWindow.location.origin)&&!(r.validOriginRegExp.test(t.toLowerCase())||i.GlobalVars.additionalValidOriginsRegexp&&i.GlobalVars.additionalValidOriginsRegexp.test(t.toLowerCase())))})(t,n)&&(function(e,t){i.GlobalVars.isFramelessWindow||i.GlobalVars.parentWindow&&!i.GlobalVars.parentWindow.closed&&e!==i.GlobalVars.parentWindow?i.GlobalVars.childWindow&&!i.GlobalVars.childWindow.closed&&e!==i.GlobalVars.childWindow||(i.GlobalVars.childWindow=e,i.GlobalVars.childOrigin=t):(i.GlobalVars.parentWindow=e,i.GlobalVars.parentOrigin=t),i.GlobalVars.parentWindow&&i.GlobalVars.parentWindow.closed&&(i.GlobalVars.parentWindow=null,i.GlobalVars.parentOrigin=null),i.GlobalVars.childWindow&&i.GlobalVars.childWindow.closed&&(i.GlobalVars.childWindow=null,i.GlobalVars.childOrigin=null),u(i.GlobalVars.parentWindow),u(i.GlobalVars.childWindow)}(t,n),t===i.GlobalVars.parentWindow?s(e):t===i.GlobalVars.childWindow&&function(e){if("id"in e.data&&"func"in e.data){var t=e.data,n=t.func?i.GlobalVars.handlers[t.func]:null;if(n){var o=n.apply(this,t.args);void 0!==o&&p(t.id,Array.isArray(o)?o:[o])}else{var r=d(t.func,t.args);i.GlobalVars.callbacks[r]=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];if(i.GlobalVars.childWindow){var o=e.pop();p(t.id,e,o)}}}}}(e))}},t.handleParentMessage=s,t.processAdditionalValidOrigins=function(e){var t=i.GlobalVars.additionalValidOrigins.concat(e.filter((function(e){return"string"==typeof e&&r.userOriginUrlValidationRegExp.test(e)}))),n={};t=t.filter((function(e){return!n[e]&&(n[e]=!0,!0)})),i.GlobalVars.additionalValidOrigins=t,i.GlobalVars.additionalValidOrigins.length>0?i.GlobalVars.additionalValidOriginsRegexp=a.generateRegExpFromUrls(i.GlobalVars.additionalValidOrigins):i.GlobalVars.additionalValidOriginsRegexp=null},t.waitForMessageQueue=function(e,t){var n=i.GlobalVars.currentWindow.setInterval((function(){0===c(e).length&&(clearInterval(n),t())}),100)},t.sendMessageRequestToParent=d,t.sendMessageEventToChild=h},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){e.desktop="desktop",e.web="web",e.android="android",e.ios="ios",e.rigel="rigel"}(t.HostClientType||(t.HostClientType={})),function(e){e.settings="settings",e.content="content",e.authentication="authentication",e.remove="remove",e.task="task",e.sidePanel="sidePanel",e.stage="stage"}(t.FrameContexts||(t.FrameContexts={})),function(e){e[e.Standard=0]="Standard",e[e.Edu=1]="Edu",e[e.Class=2]="Class",e[e.Plc=3]="Plc",e[e.Staff=4]="Staff"}(t.TeamType||(t.TeamType={})),function(e){e[e.Admin=0]="Admin",e[e.User=1]="User",e[e.Guest=2]="Guest"}(t.UserTeamRole||(t.UserTeamRole={})),function(e){e.Large="large",e.Medium="medium",e.Small="small"}(t.TaskModuleDimension||(t.TaskModuleDimension={})),function(e){e.Regular="Regular",e.Private="Private"}(t.ChannelType||(t.ChannelType={}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(16);function r(e){for(var t="^",n=e.split("."),o=0;o<n.length;o++)t+=(o>0?"[.]":"")+n[o].replace("*","[^/^.]+");return t+"$"}t.generateRegExpFromUrls=function(e){for(var t="",n=0;n<e.length;n++)t+=(0===n?"":"|")+r(e[n]);return new RegExp(t)},t.getGenericOnCompleteHandler=function(e){return function(t,n){if(!t)throw new Error(e||n)}},t.compareSDKVersions=function(e,t){if("string"!=typeof e||"string"!=typeof t)return NaN;var n=e.split("."),o=t.split(".");function r(e){return/^\d+$/.test(e)}if(!n.every(r)||!o.every(r))return NaN;for(;n.length<o.length;)n.push("0");for(;o.length<n.length;)o.push("0");for(var i=0;i<n.length;++i)if(n[i]!=o[i])return n[i]>o[i]?1:-1;return 0},t.generateGUID=function(){return o.v4()}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(3);t.version="1.9.0",t.defaultSDKVersionForCompatCheck="1.6.0",t.validOrigins=["https://teams.microsoft.com","https://teams.microsoft.us","https://gov.teams.microsoft.us","https://dod.teams.microsoft.us","https://int.teams.microsoft.com","https://teams.live.com","https://devspaces.skype.com","https://ssauth.skype.com","https://local.teams.office.com","https://local.teams.office.com:8080","https://msft.spoppe.com","https://*.sharepoint.com","https://*.sharepoint-df.com","https://*.sharepointonline.com","https://outlook.office.com","https://outlook-sdf.office.com","https://*.teams.microsoft.com","https://www.office.com","https://word.office.com","https://excel.office.com","https://powerpoint.office.com","https://www.officeppe.com","https://*.www.office.com","http://127.0.0.1:5000"],t.validOriginRegExp=o.generateRegExpFromUrls(t.validOrigins),t.userOriginUrlValidationRegExp=/^https\:\/\//},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){e[e.NOT_SUPPORTED_ON_PLATFORM=100]="NOT_SUPPORTED_ON_PLATFORM",e[e.INTERNAL_ERROR=500]="INTERNAL_ERROR",e[e.PERMISSION_DENIED=1e3]="PERMISSION_DENIED",e[e.NETWORK_ERROR=2e3]="NETWORK_ERROR",e[e.NO_HW_SUPPORT=3e3]="NO_HW_SUPPORT",e[e.INVALID_ARGUMENTS=4e3]="INVALID_ARGUMENTS",e[e.UNAUTHORIZED_USER_OPERATION=5e3]="UNAUTHORIZED_USER_OPERATION",e[e.INSUFFICIENT_RESOURCES=6e3]="INSUFFICIENT_RESOURCES",e[e.THROTTLE=7e3]="THROTTLE",e[e.USER_ABORT=8e3]="USER_ABORT",e[e.OPERATION_TIMED_OUT=8001]="OPERATION_TIMED_OUT",e[e.OLD_PLATFORM=9e3]="OLD_PLATFORM",e[e.FILE_NOT_FOUND=404]="FILE_NOT_FOUND",e[e.SIZE_EXCEEDED=1e4]="SIZE_EXCEEDED"}(t.ErrorCode||(t.ErrorCode={}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),r=n(0),i=n(3),a=n(2);t.returnFocus=function(e){o.ensureInitialized(a.FrameContexts.content),o.sendMessageRequestToParent("returnFocus",[e])},t.navigateToTab=function(e,t){o.ensureInitialized();var n=o.sendMessageRequestToParent("navigateToTab",[e]);r.GlobalVars.callbacks[n]=t||i.getGenericOnCompleteHandler("Invalid internalTabInstanceId and/or channelId were/was provided")},t.navigateCrossDomain=function(e,t){o.ensureInitialized(a.FrameContexts.content,a.FrameContexts.sidePanel,a.FrameContexts.settings,a.FrameContexts.remove,a.FrameContexts.task,a.FrameContexts.stage);var n=o.sendMessageRequestToParent("navigateCrossDomain",[e]);r.GlobalVars.callbacks[n]=t||i.getGenericOnCompleteHandler("Cross-origin navigation is only supported for URLs matching the pattern registered in the manifest.")},t.navigateBack=function(e){o.ensureInitialized();var t=o.sendMessageRequestToParent("navigateBack",[]);r.GlobalVars.callbacks[t]=e||i.getGenericOnCompleteHandler("Back navigation is not supported in the current client or context.")}},function(e,t){var n="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof window.msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto);if(n){var o=new Uint8Array(16);e.exports=function(){return n(o),o}}else{var r=new Array(16);e.exports=function(){for(var e,t=0;t<16;t++)0==(3&t)&&(e=4294967296*Math.random()),r[t]=e>>>((3&t)<<3)&255;return r}}},function(e,t){for(var n=[],o=0;o<256;++o)n[o]=(o+256).toString(16).substr(1);e.exports=function(e,t){var o=t||0,r=n;return[r[e[o++]],r[e[o++]],r[e[o++]],r[e[o++]],"-",r[e[o++]],r[e[o++]],"-",r[e[o++]],r[e[o++]],"-",r[e[o++]],r[e[o++]],"-",r[e[o++]],r[e[o++]],r[e[o++]],r[e[o++]],r[e[o++]],r[e[o++]]].join("")}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),r=n(0);!function(e){r.GlobalVars.handlers["log.request"]=function(){if(r.GlobalVars.getLogHandler){var e=r.GlobalVars.getLogHandler();o.sendMessageRequestToParent("log.receive",[e])}},e.registerGetLogHandler=function(e){o.ensureInitialized(),r.GlobalVars.getLogHandler=e,e&&o.sendMessageRequestToParent("registerHandler",["log.request"])}}(t.logs||(t.logs={}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),r=n(0),i=n(2),a=n(3);!function(e){var t,n;r.GlobalVars.handlers["settings.save"]=function(e){var n=new s(e);t?t(n):n.notifySuccess()},r.GlobalVars.handlers["settings.remove"]=function(){var e=new c;n?n(e):e.notifySuccess()},e.setValidityState=function(e){o.ensureInitialized(i.FrameContexts.settings,i.FrameContexts.remove),o.sendMessageRequestToParent("settings.setValidityState",[e])},e.getSettings=function(e){o.ensureInitialized(i.FrameContexts.content,i.FrameContexts.settings,i.FrameContexts.remove);var t=o.sendMessageRequestToParent("settings.getSettings");r.GlobalVars.callbacks[t]=e},e.setSettings=function(e,t){o.ensureInitialized(i.FrameContexts.content,i.FrameContexts.settings);var n=o.sendMessageRequestToParent("settings.setSettings",[e]);r.GlobalVars.callbacks[n]=t||a.getGenericOnCompleteHandler()},e.registerOnSaveHandler=function(e){o.ensureInitialized(i.FrameContexts.settings),t=e,e&&o.sendMessageRequestToParent("registerHandler",["save"])},e.registerOnRemoveHandler=function(e){o.ensureInitialized(i.FrameContexts.remove,i.FrameContexts.settings),n=e,e&&o.sendMessageRequestToParent("registerHandler",["remove"])};var s=function(){function e(e){this.notified=!1,this.result=e||{}}return e.prototype.notifySuccess=function(){this.ensureNotNotified(),o.sendMessageRequestToParent("settings.save.success"),this.notified=!0},e.prototype.notifyFailure=function(e){this.ensureNotNotified(),o.sendMessageRequestToParent("settings.save.failure",[e]),this.notified=!0},e.prototype.ensureNotNotified=function(){if(this.notified)throw new Error("The SaveEvent may only notify success or failure once.")},e}(),c=function(){function e(){this.notified=!1}return e.prototype.notifySuccess=function(){this.ensureNotNotified(),o.sendMessageRequestToParent("settings.remove.success"),this.notified=!0},e.prototype.notifyFailure=function(e){this.ensureNotNotified(),o.sendMessageRequestToParent("settings.remove.failure",[e]),this.notified=!0},e.prototype.ensureNotNotified=function(){if(this.notified)throw new Error("The removeEvent may only notify success or failure once.")},e}()}(t.settings||(t.settings={}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),r=n(0),i=n(2),a=n(3),s=function(){function e(){}return e.prototype.postMessage=function(e,t){o.ensureInitialized();var n=o.sendMessageRequestToParent("messageForChild",[e]);r.GlobalVars.callbacks[n]=t||a.getGenericOnCompleteHandler()},e.prototype.addEventListener=function(e,t){"message"===e&&(r.GlobalVars.handlers.messageForParent=t)},e}();t.ChildAppWindow=s;var c=function(){function e(){}return Object.defineProperty(e,"Instance",{get:function(){return this._instance||(this._instance=new this)},enumerable:!0,configurable:!0}),e.prototype.postMessage=function(e,t){o.ensureInitialized(i.FrameContexts.task);var n=o.sendMessageRequestToParent("messageForParent",[e]);r.GlobalVars.callbacks[n]=t||a.getGenericOnCompleteHandler()},e.prototype.addEventListener=function(e,t){"message"===e&&(r.GlobalVars.handlers.messageForChild=t)},e}();t.ParentAppWindow=c},function(e,t,n){"use strict";var o=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}();Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),i=n(5),a=n(1),s=n(2),c=n(3),l=n(29);!function(e){var t="1.8.0";!function(e){e.Base64="base64",e.ID="id"}(e.FileFormat||(e.FileFormat={}));var n=function(){};e.File=n,e.captureImage=function(e){if(!e)throw new Error("[captureImage] Callback cannot be null");if(a.ensureInitialized(s.FrameContexts.content,s.FrameContexts.task),r.GlobalVars.isFramelessWindow)if(a.isAPISupportedByPlatform("1.7.0")){var t=a.sendMessageRequestToParent("captureImage");r.GlobalVars.callbacks[t]=e}else e({errorCode:i.ErrorCode.OLD_PLATFORM},void 0);else e({errorCode:i.ErrorCode.NOT_SUPPORTED_ON_PLATFORM},void 0)};var u=function(e){function n(t){void 0===t&&(t=null);var n=e.call(this)||this;return t&&(n.content=t.content,n.format=t.format,n.mimeType=t.mimeType,n.name=t.name,n.preview=t.preview,n.size=t.size),n}return o(n,e),n.prototype.getMedia=function(e){if(!e)throw new Error("[get Media] Callback cannot be null");a.ensureInitialized(s.FrameContexts.content,s.FrameContexts.task),a.isAPISupportedByPlatform(t)?l.validateGetMediaInputs(this.mimeType,this.format,this.content)?a.isAPISupportedByPlatform("2.0.0")?this.getMediaViaCallback(e):this.getMediaViaHandler(e):e({errorCode:i.ErrorCode.INVALID_ARGUMENTS},null):e({errorCode:i.ErrorCode.OLD_PLATFORM},null)},n.prototype.getMediaViaCallback=function(e){var t={mediaMimeType:this.mimeType,assembleAttachment:[]},n=[this.content],o=a.sendMessageRequestToParent("getMedia",n);r.GlobalVars.callbacks[o]=function(n){if(e)if(n&&n.error)e(n.error,null);else if(n&&n.mediaChunk)if(n.mediaChunk.chunkSequence<=0){var o=l.createFile(t.assembleAttachment,t.mediaMimeType);e(n.error,o)}else{var r=l.decodeAttachment(n.mediaChunk,t.mediaMimeType);t.assembleAttachment.push(r)}else e({errorCode:i.ErrorCode.INTERNAL_ERROR,message:"data receieved is null"},null)}},n.prototype.getMediaViaHandler=function(e){var t=c.generateGUID(),n={mediaMimeType:this.mimeType,assembleAttachment:[]},o=[t,this.content];this.content&&e&&a.sendMessageRequestToParent("getMedia",o),r.GlobalVars.handlers["getMedia"+t]=function(o){if(e){var a=JSON.parse(o);if(a.error)e(a.error,null),delete r.GlobalVars.handlers["getMedia"+t];else if(a.mediaChunk)if(a.mediaChunk.chunkSequence<=0){var s=l.createFile(n.assembleAttachment,n.mediaMimeType);e(a.error,s),delete r.GlobalVars.handlers["getMedia"+t]}else{var c=l.decodeAttachment(a.mediaChunk,n.mediaMimeType);n.assembleAttachment.push(c)}else e({errorCode:i.ErrorCode.INTERNAL_ERROR,message:"data receieved is null"},null),delete r.GlobalVars.handlers["getMedia"+t]}}},n}(n);e.Media=u,function(e){e[e.Photo=1]="Photo",e[e.Document=2]="Document",e[e.Whiteboard=3]="Whiteboard",e[e.BusinessCard=4]="BusinessCard"}(e.CameraStartMode||(e.CameraStartMode={})),function(e){e[e.Camera=1]="Camera",e[e.Gallery=2]="Gallery"}(e.Source||(e.Source={})),function(e){e[e.Image=1]="Image",e[e.Audio=4]="Audio"}(e.MediaType||(e.MediaType={})),function(e){e[e.ID=1]="ID",e[e.URL=2]="URL"}(e.ImageUriType||(e.ImageUriType={})),e.selectMedia=function(e,n){if(!n)throw new Error("[select Media] Callback cannot be null");if(a.ensureInitialized(s.FrameContexts.content,s.FrameContexts.task),a.isAPISupportedByPlatform(t))if(l.validateSelectMediaInputs(e)){var o=[e],c=a.sendMessageRequestToParent("selectMedia",o);r.GlobalVars.callbacks[c]=function(e,t){if(t){for(var o=[],r=0,i=t;r<i.length;r++){var a=i[r];o.push(new u(a))}n(e,o)}else n(e,null)}}else{var d={errorCode:i.ErrorCode.INVALID_ARGUMENTS};n(d,null)}else{var p={errorCode:i.ErrorCode.OLD_PLATFORM};n(p,null)}},e.viewImages=function(e,n){if(!n)throw new Error("[view images] Callback cannot be null");if(a.ensureInitialized(s.FrameContexts.content,s.FrameContexts.task),a.isAPISupportedByPlatform(t))if(l.validateViewImagesInput(e)){var o=[e],c=a.sendMessageRequestToParent("viewImages",o);r.GlobalVars.callbacks[c]=n}else n({errorCode:i.ErrorCode.INVALID_ARGUMENTS});else n({errorCode:i.ErrorCode.OLD_PLATFORM})},e.scanBarCode=function(e,t){if(!e)throw new Error("[media.scanBarCode] Callback cannot be null");if(a.ensureInitialized(s.FrameContexts.content,s.FrameContexts.task),r.GlobalVars.hostClientType!==s.HostClientType.desktop&&r.GlobalVars.hostClientType!==s.HostClientType.web&&r.GlobalVars.hostClientType!==s.HostClientType.rigel)if(a.isAPISupportedByPlatform("1.9.0"))if(l.validateScanBarCodeInput(t)){var n=a.sendMessageRequestToParent("media.scanBarCode",[t]);r.GlobalVars.callbacks[n]=e}else e({errorCode:i.ErrorCode.INVALID_ARGUMENTS},null);else e({errorCode:i.ErrorCode.OLD_PLATFORM},null);else e({errorCode:i.ErrorCode.NOT_SUPPORTED_ON_PLATFORM},null)}}(t.media||(t.media={}))},function(e,t,n){"use strict";function o(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),o(n(14)),o(n(24))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(15);t.bot=o.bot;var r=n(19);t.menus=r.menus;var i=n(9);t.logs=i.logs;var a=n(20);t.NotificationTypes=a.NotificationTypes,t.ViewerActionTypes=a.ViewerActionTypes;var s=n(21);t.enterFullscreen=s.enterFullscreen,t.exitFullscreen=s.exitFullscreen,t.getChatMembers=s.getChatMembers,t.getConfigSetting=s.getConfigSetting,t.getUserJoinedTeams=s.getUserJoinedTeams,t.openFilePreview=s.openFilePreview,t.sendCustomMessage=s.sendCustomMessage,t.showNotification=s.showNotification,t.sendCustomEvent=s.sendCustomEvent,t.registerCustomHandler=s.registerCustomHandler,t.uploadCustomApp=s.uploadCustomApp;var c=n(22);t.conversations=c.conversations;var l=n(23);t.meetingRoom=l.meetingRoom},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(0),r=n(1);!function(e){e.sendQuery=function(e,t,n){r.ensureInitialized();var i=r.sendMessageRequestToParent("bot.executeQuery",[e]);o.GlobalVars.callbacks[i]=function(e,o){e?t(o):n(o)}},e.getSupportedCommands=function(e,t){r.ensureInitialized();var n=r.sendMessageRequestToParent("bot.getSupportedCommands");o.GlobalVars.callbacks[n]=function(n,o){n?e(o):t(o)}},e.authenticate=function(e,t,n){r.ensureInitialized();var i=r.sendMessageRequestToParent("bot.authenticate",[e]);o.GlobalVars.callbacks[i]=function(e,o){e?t(o):n(o)}},function(e){e.Results="Results",e.Auth="Auth"}(e.ResponseType||(e.ResponseType={}))}(t.bot||(t.bot={}))},function(e,t,n){var o=n(17),r=n(18),i=r;i.v1=o,i.v4=r,e.exports=i},function(e,t,n){var o,r,i=n(7),a=n(8),s=0,c=0;e.exports=function(e,t,n){var l=t&&n||0,u=t||[],d=(e=e||{}).node||o,p=void 0!==e.clockseq?e.clockseq:r;if(null==d||null==p){var h=i();null==d&&(d=o=[1|h[0],h[1],h[2],h[3],h[4],h[5]]),null==p&&(p=r=16383&(h[6]<<8|h[7]))}var f=void 0!==e.msecs?e.msecs:(new Date).getTime(),m=void 0!==e.nsecs?e.nsecs:c+1,g=f-s+(m-c)/1e4;if(g<0&&void 0===e.clockseq&&(p=p+1&16383),(g<0||f>s)&&void 0===e.nsecs&&(m=0),m>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");s=f,c=m,r=p;var b=(1e4*(268435455&(f+=122192928e5))+m)%4294967296;u[l++]=b>>>24&255,u[l++]=b>>>16&255,u[l++]=b>>>8&255,u[l++]=255&b;var y=f/4294967296*1e4&268435455;u[l++]=y>>>8&255,u[l++]=255&y,u[l++]=y>>>24&15|16,u[l++]=y>>>16&255,u[l++]=p>>>8|128,u[l++]=255&p;for(var v=0;v<6;++v)u[l+v]=d[v];return t||a(u)}},function(e,t,n){var o=n(7),r=n(8);e.exports=function(e,t,n){var i=t&&n||0;"string"==typeof e&&(t="binary"===e?new Array(16):null,e=null);var a=(e=e||{}).random||(e.rng||o)();if(a[6]=15&a[6]|64,a[8]=63&a[8]|128,t)for(var s=0;s<16;++s)t[i+s]=a[s];return t||r(a)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),r=n(0);!function(e){var t,n,i,a=function(){this.enabled=!0,this.selected=!1};e.MenuItem=a,function(e){e.dropDown="dropDown",e.popOver="popOver"}(e.MenuListType||(e.MenuListType={})),r.GlobalVars.handlers.navBarMenuItemPress=function(e){t&&t(e)||(o.ensureInitialized(),o.sendMessageRequestToParent("handleNavBarMenuItemPress",[e]))},r.GlobalVars.handlers.actionMenuItemPress=function(e){n&&n(e)||(o.ensureInitialized(),o.sendMessageRequestToParent("handleActionMenuItemPress",[e]))},r.GlobalVars.handlers.setModuleView=function(e){i&&i(e)||(o.ensureInitialized(),o.sendMessageRequestToParent("viewConfigItemPress",[e]))},e.setUpViews=function(e,t){o.ensureInitialized(),i=t,o.sendMessageRequestToParent("setUpViews",[e])},e.setNavBarMenu=function(e,n){o.ensureInitialized(),t=n,o.sendMessageRequestToParent("setNavBarMenu",[e])},e.showActionMenu=function(e,t){o.ensureInitialized(),n=t,o.sendMessageRequestToParent("showActionMenu",[e])}}(t.menus||(t.menus={}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){e.fileDownloadStart="fileDownloadStart",e.fileDownloadComplete="fileDownloadComplete"}(t.NotificationTypes||(t.NotificationTypes={})),function(e){e.view="view",e.edit="edit",e.editNew="editNew"}(t.ViewerActionTypes||(t.ViewerActionTypes={}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),r=n(0),i=n(2),a=n(3);t.getUserJoinedTeams=function(e,t){o.ensureInitialized();var n=o.sendMessageRequestToParent("getUserJoinedTeams",[t]);r.GlobalVars.callbacks[n]=e},t.enterFullscreen=function(){o.ensureInitialized(i.FrameContexts.content),o.sendMessageRequestToParent("enterFullscreen",[])},t.exitFullscreen=function(){o.ensureInitialized(i.FrameContexts.content),o.sendMessageRequestToParent("exitFullscreen",[])},t.openFilePreview=function(e){o.ensureInitialized(i.FrameContexts.content);var t=[e.entityId,e.title,e.description,e.type,e.objectUrl,e.downloadUrl,e.webPreviewUrl,e.webEditUrl,e.baseUrl,e.editFile,e.subEntityId,e.viewerAction];o.sendMessageRequestToParent("openFilePreview",t)},t.showNotification=function(e){o.ensureInitialized(i.FrameContexts.content);var t=[e.message,e.notificationType];o.sendMessageRequestToParent("showNotification",t)},t.uploadCustomApp=function(e,t){o.ensureInitialized();var n=o.sendMessageRequestToParent("uploadCustomApp",[e]);r.GlobalVars.callbacks[n]=t||a.getGenericOnCompleteHandler()},t.sendCustomMessage=function(e,t,n){o.ensureInitialized();var i=o.sendMessageRequestToParent(e,t);return"function"==typeof n&&(r.GlobalVars.callbacks[i]=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];n.apply(null,e)}),i},t.sendCustomEvent=function(e,t){if(o.ensureInitialized(),!r.GlobalVars.childWindow)throw new Error("The child window has not yet been initialized or is not present");o.sendMessageEventToChild(e,t)},t.registerCustomHandler=function(e,t){var n=this;o.ensureInitialized(),r.GlobalVars.handlers[e]=function(){for(var e=[],o=0;o<arguments.length;o++)e[o]=arguments[o];return t.apply(n,e)}},t.getChatMembers=function(e){o.ensureInitialized();var t=o.sendMessageRequestToParent("getChatMembers");r.GlobalVars.callbacks[t]=e},t.getConfigSetting=function(e,t){o.ensureInitialized();var n=o.sendMessageRequestToParent("getConfigSetting",[t]);r.GlobalVars.callbacks[n]=e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),r=n(0),i=n(2);!function(e){e.openConversation=function(e){o.ensureInitialized(i.FrameContexts.content);var t=o.sendMessageRequestToParent("conversations.openConversation",[{title:e.title,subEntityId:e.subEntityId,conversationId:e.conversationId,channelId:e.channelId,entityId:e.entityId}]);r.GlobalVars.onCloseConversationHandler=e.onCloseConversation,r.GlobalVars.onStartConversationHandler=e.onStartConversation,r.GlobalVars.callbacks[t]=function(e,t){if(!e)throw new Error(t)}},e.closeConversation=function(){o.ensureInitialized(i.FrameContexts.content),o.sendMessageRequestToParent("conversations.closeConversation"),r.GlobalVars.onCloseConversationHandler=null,r.GlobalVars.onStartConversationHandler=null}}(t.conversations||(t.conversations={}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),r=n(0);!function(e){!function(e){e.toggleMute="toggleMute",e.toggleCamera="toggleCamera",e.toggleCaptions="toggleCaptions",e.volume="volume",e.showVideoGallery="showVideoGallery",e.showContent="showContent",e.showVideoGalleryAndContent="showVideoGalleryAndContent",e.showLargeGallery="showLargeGallery",e.showTogether="showTogether",e.leaveMeeting="leaveMeeting"}(e.Capability||(e.Capability={})),r.GlobalVars.handlers["meetingRoom.meetingRoomCapabilitiesUpdate"]=function(e){null!=r.GlobalVars.meetingRoomCapabilitiesUpdateHandler&&(o.ensureInitialized(),r.GlobalVars.meetingRoomCapabilitiesUpdateHandler(e))},r.GlobalVars.handlers["meetingRoom.meetingRoomStatesUpdate"]=function(e){null!=r.GlobalVars.meetingRoomStatesUpdateHandler&&(o.ensureInitialized(),r.GlobalVars.meetingRoomStatesUpdateHandler(e))},e.getPairedMeetingRoomInfo=function(e){o.ensureInitialized();var t=o.sendMessageRequestToParent("meetingRoom.getPairedMeetingRoomInfo");r.GlobalVars.callbacks[t]=e},e.sendCommandToPairedMeetingRoom=function(e,t){if(!e||0==e.length)throw new Error("[meetingRoom.sendCommandToPairedMeetingRoom] Command name cannot be null or empty");if(!t)throw new Error("[meetingRoom.sendCommandToPairedMeetingRoom] Callback cannot be null");o.ensureInitialized();var n=o.sendMessageRequestToParent("meetingRoom.sendCommandToPairedMeetingRoom",[e]);r.GlobalVars.callbacks[n]=t},e.registerMeetingRoomCapabilitiesUpdateHandler=function(e){if(!e)throw new Error("[meetingRoom.registerMeetingRoomCapabilitiesUpdateHandler] Handler cannot be null");o.ensureInitialized(),r.GlobalVars.meetingRoomCapabilitiesUpdateHandler=e,e&&o.sendMessageRequestToParent("registerHandler",["meetingRoom.meetingRoomCapabilitiesUpdate"])},e.registerMeetingRoomStatesUpdateHandler=function(e){if(!e)throw new Error("[meetingRoom.registerMeetingRoomStatesUpdateHandler] Handler cannot be null");o.ensureInitialized(),r.GlobalVars.meetingRoomStatesUpdateHandler=e,e&&o.sendMessageRequestToParent("registerHandler",["meetingRoom.meetingRoomStatesUpdate"])}}(t.meetingRoom||(t.meetingRoom={}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(25);t.appInitialization=o.appInitialization;var r=n(26);t.authentication=r.authentication;var i=n(2);t.FrameContexts=i.FrameContexts,t.HostClientType=i.HostClientType,t.TaskModuleDimension=i.TaskModuleDimension,t.TeamType=i.TeamType,t.UserTeamRole=i.UserTeamRole,t.ChannelType=i.ChannelType;var a=n(5);t.ErrorCode=a.ErrorCode;var s=n(27);t.enablePrintCapability=s.enablePrintCapability,t.executeDeepLink=s.executeDeepLink,t.getContext=s.getContext,t.getMruTabInstances=s.getMruTabInstances,t.getTabInstances=s.getTabInstances,t.initialize=s.initialize,t.initializeWithFrameContext=s.initializeWithFrameContext,t.print=s.print,t.registerBackButtonHandler=s.registerBackButtonHandler,t.registerBeforeUnloadHandler=s.registerBeforeUnloadHandler,t.registerChangeSettingsHandler=s.registerChangeSettingsHandler,t.registerFullScreenHandler=s.registerFullScreenHandler,t.registerOnLoadHandler=s.registerOnLoadHandler,t.registerOnThemeChangeHandler=s.registerOnThemeChangeHandler,t.registerAppButtonClickHandler=s.registerAppButtonClickHandler,t.registerAppButtonHoverEnterHandler=s.registerAppButtonHoverEnterHandler,t.registerAppButtonHoverLeaveHandler=s.registerAppButtonHoverLeaveHandler,t.setFrameContext=s.setFrameContext,t.shareDeepLink=s.shareDeepLink;var c=n(6);t.returnFocus=c.returnFocus,t.navigateBack=c.navigateBack,t.navigateCrossDomain=c.navigateCrossDomain,t.navigateToTab=c.navigateToTab;var l=n(10);t.settings=l.settings;var u=n(28);t.tasks=u.tasks;var d=n(11);t.ChildAppWindow=d.ChildAppWindow,t.ParentAppWindow=d.ParentAppWindow;var p=n(12);t.media=p.media;var h=n(30);t.location=h.location;var f=n(31);t.meeting=f.meeting},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),r=n(4);!function(e){e.notifyAppLoaded=function(){o.ensureInitialized(),o.sendMessageRequestToParent("appInitialization.appLoaded",[r.version])},e.notifySuccess=function(){o.ensureInitialized(),o.sendMessageRequestToParent("appInitialization.success",[r.version])},e.notifyFailure=function(e){o.ensureInitialized(),o.sendMessageRequestToParent("appInitialization.failure",[e.reason,e.message])},function(e){e.AuthFailed="AuthFailed",e.Timeout="Timeout",e.Other="Other"}(e.FailedReason||(e.FailedReason={}))}(t.appInitialization||(t.appInitialization={}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),r=n(0),i=n(2);!function(e){var t,n;function a(){c();try{r.GlobalVars.childWindow&&r.GlobalVars.childWindow.close()}finally{r.GlobalVars.childWindow=null,r.GlobalVars.childOrigin=null}}function s(e){t=e,a();var n=t.width||600,o=t.height||400;n=Math.min(n,r.GlobalVars.currentWindow.outerWidth-400),o=Math.min(o,r.GlobalVars.currentWindow.outerHeight-200);var i=document.createElement("a");i.href=t.url;var s=void 0!==r.GlobalVars.currentWindow.screenLeft?r.GlobalVars.currentWindow.screenLeft:r.GlobalVars.currentWindow.screenX,c=void 0!==r.GlobalVars.currentWindow.screenTop?r.GlobalVars.currentWindow.screenTop:r.GlobalVars.currentWindow.screenY;s+=r.GlobalVars.currentWindow.outerWidth/2-n/2,c+=r.GlobalVars.currentWindow.outerHeight/2-o/2,r.GlobalVars.childWindow=r.GlobalVars.currentWindow.open(i.href,"_blank","toolbar=no, location=yes, status=no, menubar=no, scrollbars=yes, top="+c+", left="+s+", width="+n+", height="+o),r.GlobalVars.childWindow?l():u("FailedToOpenWindow")}function c(){n&&(clearInterval(n),n=0),delete r.GlobalVars.handlers.initialize,delete r.GlobalVars.handlers.navigateCrossDomain}function l(){c(),n=r.GlobalVars.currentWindow.setInterval((function(){if(!r.GlobalVars.childWindow||r.GlobalVars.childWindow.closed)u("CancelledByUser");else{var e=r.GlobalVars.childOrigin;try{r.GlobalVars.childOrigin="*",o.sendMessageEventToChild("ping")}finally{r.GlobalVars.childOrigin=e}}}),100),r.GlobalVars.handlers.initialize=function(){return[i.FrameContexts.authentication,r.GlobalVars.hostClientType]},r.GlobalVars.handlers.navigateCrossDomain=function(){return!1}}function u(e){try{t&&t.failureCallback&&t.failureCallback(e)}finally{t=null,a()}}function d(e,t,n){if(e){var o=document.createElement("a");o.href=decodeURIComponent(e),o.host&&o.host!==window.location.host&&"outlook.office.com"===o.host&&o.search.indexOf("client_type=Win32_Outlook")>-1&&(t&&"result"===t&&(n&&(o.href=p(o.href,"result",n)),r.GlobalVars.currentWindow.location.assign(p(o.href,"authSuccess",""))),t&&"reason"===t&&(n&&(o.href=p(o.href,"reason",n)),r.GlobalVars.currentWindow.location.assign(p(o.href,"authFailure",""))))}}function p(e,t,n){var o=e.indexOf("#"),r=-1===o?"#":e.substr(o);return r=r+"&"+t+(""!==n?"="+n:""),(e=-1===o?e:e.substr(0,o))+r}r.GlobalVars.handlers["authentication.authenticate.success"]=function(e){try{t&&t.successCallback&&t.successCallback(e)}finally{t=null,a()}},r.GlobalVars.handlers["authentication.authenticate.failure"]=u,e.registerAuthenticationHandlers=function(e){t=e},e.authenticate=function(e){var n=void 0!==e?e:t;if(o.ensureInitialized(i.FrameContexts.content,i.FrameContexts.sidePanel,i.FrameContexts.settings,i.FrameContexts.remove,i.FrameContexts.task,i.FrameContexts.stage),r.GlobalVars.hostClientType===i.HostClientType.desktop||r.GlobalVars.hostClientType===i.HostClientType.android||r.GlobalVars.hostClientType===i.HostClientType.ios||r.GlobalVars.hostClientType===i.HostClientType.rigel){var a=document.createElement("a");a.href=n.url;var c=o.sendMessageRequestToParent("authentication.authenticate",[a.href,n.width,n.height]);r.GlobalVars.callbacks[c]=function(e,t){e?n.successCallback(t):n.failureCallback(t)}}else s(n)},e.getAuthToken=function(e){o.ensureInitialized();var t=o.sendMessageRequestToParent("authentication.getAuthToken",[e.resources,e.claims,e.silent]);r.GlobalVars.callbacks[t]=function(t,n){t?e.successCallback(n):e.failureCallback(n)}},e.getUser=function(e){o.ensureInitialized();var t=o.sendMessageRequestToParent("authentication.getUser");r.GlobalVars.callbacks[t]=function(t,n){t?e.successCallback(n):e.failureCallback(n)}},e.notifySuccess=function(e,t){d(t,"result",e),o.ensureInitialized(i.FrameContexts.authentication),o.sendMessageRequestToParent("authentication.authenticate.success",[e]),o.waitForMessageQueue(r.GlobalVars.parentWindow,(function(){return setTimeout((function(){return r.GlobalVars.currentWindow.close()}),200)}))},e.notifyFailure=function(e,t){d(t,"reason",e),o.ensureInitialized(i.FrameContexts.authentication),o.sendMessageRequestToParent("authentication.authenticate.failure",[e]),o.waitForMessageQueue(r.GlobalVars.parentWindow,(function(){return setTimeout((function(){return r.GlobalVars.currentWindow.close()}),200)}))}}(t.authentication||(t.authentication={}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),r=n(0),i=n(4),a=n(10),s=n(3),c=n(9),l=n(2);function u(e,t){if(!r.GlobalVars.initializeCalled){r.GlobalVars.initializeCalled=!0;var n=function(e){return o.processMessage(e)};r.GlobalVars.currentWindow=r.GlobalVars.currentWindow||window,r.GlobalVars.parentWindow=r.GlobalVars.currentWindow.parent!==r.GlobalVars.currentWindow.self?r.GlobalVars.currentWindow.parent:r.GlobalVars.currentWindow.opener,(r.GlobalVars.parentWindow||t)&&r.GlobalVars.currentWindow.addEventListener("message",n,!1),r.GlobalVars.parentWindow||(r.GlobalVars.isFramelessWindow=!0,window.onNativeMessage=o.handleParentMessage);try{r.GlobalVars.parentOrigin="*";var s=o.sendMessageRequestToParent("initialize",[i.version]);r.GlobalVars.callbacks[s]=function(e,t,n){void 0===n&&(n=i.defaultSDKVersionForCompatCheck),r.GlobalVars.frameContext=e,r.GlobalVars.hostClientType=t,r.GlobalVars.clientSupportedSDKVersion=n,r.GlobalVars.initializeCallbacks.forEach((function(e){return e()})),r.GlobalVars.initializeCallbacks=[],r.GlobalVars.initializeCompleted=!0}}finally{r.GlobalVars.parentOrigin=null}this._uninitialize=function(){r.GlobalVars.frameContext&&(p(null),h(null),f(null),g(null),m(null),c.logs.registerGetLogHandler(null)),r.GlobalVars.frameContext===l.FrameContexts.settings&&a.settings.registerOnSaveHandler(null),r.GlobalVars.frameContext===l.FrameContexts.remove&&a.settings.registerOnRemoveHandler(null),r.GlobalVars.currentWindow.removeEventListener("message",n,!1),r.GlobalVars.initializeCalled=!1,r.GlobalVars.initializeCompleted=!1,r.GlobalVars.initializeCallbacks=[],r.GlobalVars.additionalValidOrigins=[],r.GlobalVars.parentWindow=null,r.GlobalVars.parentOrigin=null,r.GlobalVars.parentMessageQueue=[],r.GlobalVars.childWindow=null,r.GlobalVars.childOrigin=null,r.GlobalVars.childMessageQueue=[],r.GlobalVars.nextMessageId=0,r.GlobalVars.callbacks={},r.GlobalVars.frameContext=null,r.GlobalVars.hostClientType=null,r.GlobalVars.isFramelessWindow=!1}}Array.isArray(t)&&o.processAdditionalValidOrigins(t),e&&(r.GlobalVars.initializeCompleted?e():r.GlobalVars.initializeCallbacks.push(e))}function d(){window.print()}function p(e){o.ensureInitialized(),r.GlobalVars.themeChangeHandler=e,e&&o.sendMessageRequestToParent("registerHandler",["themeChange"])}function h(e){o.ensureInitialized(),r.GlobalVars.fullScreenChangeHandler=e,e&&o.sendMessageRequestToParent("registerHandler",["fullScreen"])}function f(e){o.ensureInitialized(),r.GlobalVars.backButtonPressHandler=e,e&&o.sendMessageRequestToParent("registerHandler",["backButton"])}function m(e){o.ensureInitialized(),r.GlobalVars.loadHandler=e,e&&o.sendMessageRequestToParent("registerHandler",["load"])}function g(e){o.ensureInitialized(),r.GlobalVars.beforeUnloadHandler=e,e&&o.sendMessageRequestToParent("registerHandler",["beforeUnload"])}function b(e){o.ensureInitialized(l.FrameContexts.content),o.sendMessageRequestToParent("setFrameContext",[e])}t.initialize=u,t._initialize=function(e){r.GlobalVars.currentWindow=e},t._uninitialize=function(){},t.enablePrintCapability=function(){r.GlobalVars.printCapabilityEnabled||(r.GlobalVars.printCapabilityEnabled=!0,o.ensureInitialized(),document.addEventListener("keydown",(function(e){(e.ctrlKey||e.metaKey)&&80===e.keyCode&&(d(),e.cancelBubble=!0,e.preventDefault(),e.stopImmediatePropagation())})))},t.print=d,t.getContext=function(e){o.ensureInitialized();var t=o.sendMessageRequestToParent("getContext");r.GlobalVars.callbacks[t]=function(t){t.frameContext||(t.frameContext=r.GlobalVars.frameContext),e(t)}},t.registerOnThemeChangeHandler=p,t.registerFullScreenHandler=h,t.registerAppButtonClickHandler=function(e){o.ensureInitialized(l.FrameContexts.content),r.GlobalVars.appButtonClickHandler=e,e&&o.sendMessageRequestToParent("registerHandler",["appButtonClick"])},t.registerAppButtonHoverEnterHandler=function(e){o.ensureInitialized(l.FrameContexts.content),r.GlobalVars.appButtonHoverEnterHandler=e,e&&o.sendMessageRequestToParent("registerHandler",["appButtonHoverEnter"])},t.registerAppButtonHoverLeaveHandler=function(e){o.ensureInitialized(l.FrameContexts.content),r.GlobalVars.appButtonHoverLeaveHandler=e,e&&o.sendMessageRequestToParent("registerHandler",["appButtonHoverLeave"])},t.registerBackButtonHandler=f,t.registerOnLoadHandler=m,t.registerBeforeUnloadHandler=g,t.registerChangeSettingsHandler=function(e){o.ensureInitialized(l.FrameContexts.content),r.GlobalVars.changeSettingsHandler=e,e&&o.sendMessageRequestToParent("registerHandler",["changeSettings"])},t.getTabInstances=function(e,t){o.ensureInitialized();var n=o.sendMessageRequestToParent("getTabInstances",[t]);r.GlobalVars.callbacks[n]=e},t.getMruTabInstances=function(e,t){o.ensureInitialized();var n=o.sendMessageRequestToParent("getMruTabInstances",[t]);r.GlobalVars.callbacks[n]=e},t.shareDeepLink=function(e){o.ensureInitialized(l.FrameContexts.content,l.FrameContexts.sidePanel),o.sendMessageRequestToParent("shareDeepLink",[e.subEntityId,e.subEntityLabel,e.subEntityWebUrl])},t.executeDeepLink=function(e,t){o.ensureInitialized(l.FrameContexts.content,l.FrameContexts.sidePanel,l.FrameContexts.settings,l.FrameContexts.task,l.FrameContexts.stage);var n=o.sendMessageRequestToParent("executeDeepLink",[e]);r.GlobalVars.callbacks[n]=t||s.getGenericOnCompleteHandler()},t.setFrameContext=b,t.initializeWithFrameContext=function(e,t,n){u(t,n),b(e)}},function(e,t,n){"use strict";var o=this&&this.__rest||function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&(n[o[r]]=e[o[r]])}return n};Object.defineProperty(t,"__esModule",{value:!0});var r=n(1),i=n(0),a=n(2),s=n(11);!function(e){e.startTask=function(e,t){r.ensureInitialized(a.FrameContexts.content,a.FrameContexts.sidePanel);var n=r.sendMessageRequestToParent("tasks.startTask",[e]);return i.GlobalVars.callbacks[n]=t,new s.ChildAppWindow},e.updateTask=function(e){r.ensureInitialized(a.FrameContexts.content,a.FrameContexts.sidePanel,a.FrameContexts.task),e.width,e.height;var t=o(e,["width","height"]);if(Object.keys(t).length)throw new Error("updateTask requires a taskInfo argument containing only width and height");r.sendMessageRequestToParent("tasks.updateTask",[e])},e.submitTask=function(e,t){r.ensureInitialized(a.FrameContexts.content,a.FrameContexts.sidePanel,a.FrameContexts.task),r.sendMessageRequestToParent("tasks.completeTask",[e,Array.isArray(t)?t:[t]])}}(t.tasks||(t.tasks={}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(12);t.createFile=function(e,t){if(null==e||null==t||e.length<=0)return null;var n,o=1;return e.sort((function(e,t){return e.sequence>t.sequence?1:-1})),e.forEach((function(e){e.sequence==o&&(n=n?new Blob([n,e.file],{type:t}):new Blob([e.file],{type:t}),o++)})),n},t.decodeAttachment=function(e,t){if(null==e||null==t)return null;for(var n=atob(e.chunk),o=new Array(n.length),r=0;r<n.length;r++)o[r]=n.charCodeAt(r);var i=new Uint8Array(o),a=new Blob([i],{type:t});return{sequence:e.chunkSequence,file:a}},t.validateSelectMediaInputs=function(e){return!(null==e||e.maxMediaCount>10)},t.validateGetMediaInputs=function(e,t,n){return null!=e&&null!=t&&t==o.media.FileFormat.ID&&null!=n},t.validateViewImagesInput=function(e){return!(null==e||e.length<=0||e.length>10)},t.validateScanBarCodeInput=function(e){return!e||!(null===e.timeOutIntervalInSec||e.timeOutIntervalInSec<=0||e.timeOutIntervalInSec>60)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(0),r=n(5),i=n(1),a=n(2);!function(e){e.locationAPIsRequiredVersion="1.9.0",e.getLocation=function(t,n){if(!n)throw new Error("[location.getLocation] Callback cannot be null");if(i.ensureInitialized(a.FrameContexts.content,a.FrameContexts.task),i.isAPISupportedByPlatform(e.locationAPIsRequiredVersion))if(t){var s=i.sendMessageRequestToParent("location.getLocation",[t]);o.GlobalVars.callbacks[s]=n}else n({errorCode:r.ErrorCode.INVALID_ARGUMENTS},void 0);else n({errorCode:r.ErrorCode.OLD_PLATFORM},void 0)},e.showLocation=function(t,n){if(!n)throw new Error("[location.showLocation] Callback cannot be null");if(i.ensureInitialized(a.FrameContexts.content,a.FrameContexts.task),i.isAPISupportedByPlatform(e.locationAPIsRequiredVersion))if(t){var s=i.sendMessageRequestToParent("location.showLocation",[t]);o.GlobalVars.callbacks[s]=n}else n({errorCode:r.ErrorCode.INVALID_ARGUMENTS},void 0);else n({errorCode:r.ErrorCode.OLD_PLATFORM},void 0)}}(t.location||(t.location={}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),r=n(0);!function(e){!function(e){e.Unknown="Unknown",e.Adhoc="Adhoc",e.Scheduled="Scheduled",e.Recurring="Recurring",e.Broadcast="Broadcast",e.MeetNow="MeetNow"}(e.MeetingType||(e.MeetingType={})),e.getIncomingClientAudioState=function(e){if(!e)throw new Error("[get incoming client audio state] Callback cannot be null");o.ensureInitialized();var t=o.sendMessageRequestToParent("getIncomingClientAudioState");r.GlobalVars.callbacks[t]=e},e.toggleIncomingClientAudio=function(e){if(!e)throw new Error("[toggle incoming client audio] Callback cannot be null");o.ensureInitialized();var t=o.sendMessageRequestToParent("toggleIncomingClientAudio");r.GlobalVars.callbacks[t]=e},e.getMeetingDetails=function(e){if(!e)throw new Error("[get meeting details] Callback cannot be null");o.ensureInitialized();var t=o.sendMessageRequestToParent("meeting.getMeetingDetails");r.GlobalVars.callbacks[t]=e},e.getAuthenticationTokenForAnonymousUser=function(e){if(!e)throw new Error("[get Authentication Token For AnonymousUser] Callback cannot be null");o.ensureInitialized();var t=o.sendMessageRequestToParent("meeting.getAuthenticationTokenForAnonymousUser");r.GlobalVars.callbacks[t]=e}}(t.meeting||(t.meeting={}))}])},function(e,t,n){"use strict";var o=n(1),r=n(239);o.Observable.bindNodeCallback=r.bindNodeCallback},function(e,t,n){"use strict";var o=n(240);t.bindNodeCallback=o.BoundNodeCallbackObservable.create},function(e,t,n){"use strict";var o=this&&this.__extends||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);function o(){this.constructor=e}e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},r=n(1),i=n(9),a=n(8),s=n(38),c=function(e){function t(t,n,o,r,i){e.call(this),this.callbackFunc=t,this.selector=n,this.args=o,this.context=r,this.scheduler=i}return o(t,e),t.create=function(e,n,o){return void 0===n&&(n=void 0),function(){for(var r=[],i=0;i<arguments.length;i++)r[i-0]=arguments[i];return new t(e,n,r,this,o)}},t.prototype._subscribe=function(e){var t=this.callbackFunc,n=this.args,o=this.scheduler,r=this.subject;if(o)return o.schedule(l,0,{source:this,subscriber:e,context:this.context});if(!r){r=this.subject=new s.AsyncSubject;var c=function e(){for(var t=[],n=0;n<arguments.length;n++)t[n-0]=arguments[n];var o=e.source,r=o.selector,s=o.subject,c=t.shift();if(c)s.error(c);else if(r){var l=i.tryCatch(r).apply(this,t);l===a.errorObject?s.error(a.errorObject.e):(s.next(l),s.complete())}else s.next(t.length<=1?t[0]:t),s.complete()};c.source=this,i.tryCatch(t).apply(this.context,n.concat(c))===a.errorObject&&r.error(a.errorObject.e)}return r.subscribe(e)},t}(r.Observable);function l(e){var t=this,n=e.source,o=e.subscriber,r=e.context,c=n,l=c.callbackFunc,p=c.args,h=c.scheduler,f=n.subject;if(!f){f=n.subject=new s.AsyncSubject;var m=function e(){for(var n=[],o=0;o<arguments.length;o++)n[o-0]=arguments[o];var r=e.source,s=r.selector,c=r.subject,l=n.shift();if(l)t.add(h.schedule(d,0,{err:l,subject:c}));else if(s){var p=i.tryCatch(s).apply(this,n);p===a.errorObject?t.add(h.schedule(d,0,{err:a.errorObject.e,subject:c})):t.add(h.schedule(u,0,{value:p,subject:c}))}else{var f=n.length<=1?n[0]:n;t.add(h.schedule(u,0,{value:f,subject:c}))}};m.source=n,i.tryCatch(l).apply(r,p.concat(m))===a.errorObject&&t.add(h.schedule(d,0,{err:a.errorObject.e,subject:f}))}t.add(f.subscribe(o))}function u(e){var t=e.value,n=e.subject;n.next(t),n.complete()}function d(e){var t=e.err;e.subject.error(t)}t.BoundNodeCallbackObservable=c},function(e,t,n){"use strict";var o=n(1),r=n(242);o.Observable.defer=r.defer},function(e,t,n){"use strict";var o=n(243);t.defer=o.DeferObservable.create},function(e,t,n){"use strict";var o=this&&this.__extends||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);function o(){this.constructor=e}e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},r=n(1),i=n(4),a=n(3),s=function(e){function t(t){e.call(this),this.observableFactory=t}return o(t,e),t.create=function(e){return new t(e)},t.prototype._subscribe=function(e){return new c(e,this.observableFactory)},t}(r.Observable);t.DeferObservable=s;var c=function(e){function t(t,n){e.call(this,t),this.factory=n,this.tryDefer()}return o(t,e),t.prototype.tryDefer=function(){try{this._callFactory()}catch(e){this._error(e)}},t.prototype._callFactory=function(){var e=this.factory();e&&this.add(i.subscribeToResult(this,e))},t}(a.OuterSubscriber)},function(e,t,n){"use strict";var o=n(1),r=n(245);o.Observable.empty=r.empty},function(e,t,n){"use strict";var o=n(17);t.empty=o.EmptyObservable.create},function(e,t,n){"use strict";var o=n(1),r=n(247);o.Observable.forkJoin=r.forkJoin},function(e,t,n){"use strict";var o=n(248);t.forkJoin=o.ForkJoinObservable.create},function(e,t,n){"use strict";var o=this&&this.__extends||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);function o(){this.constructor=e}e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},r=n(1),i=n(17),a=n(13),s=n(4),c=n(3),l=function(e){function t(t,n){e.call(this),this.sources=t,this.resultSelector=n}return o(t,e),t.create=function(){for(var e=[],n=0;n<arguments.length;n++)e[n-0]=arguments[n];if(null===e||0===arguments.length)return new i.EmptyObservable;var o=null;return"function"==typeof e[e.length-1]&&(o=e.pop()),1===e.length&&a.isArray(e[0])&&(e=e[0]),0===e.length?new i.EmptyObservable:new t(e,o)},t.prototype._subscribe=function(e){return new u(e,this.sources,this.resultSelector)},t}(r.Observable);t.ForkJoinObservable=l;var u=function(e){function t(t,n,o){e.call(this,t),this.sources=n,this.resultSelector=o,this.completed=0,this.haveValues=0;var r=n.length;this.total=r,this.values=new Array(r);for(var i=0;i<r;i++){var a=n[i],c=s.subscribeToResult(this,a,null,i);c&&(c.outerIndex=i,this.add(c))}}return o(t,e),t.prototype.notifyNext=function(e,t,n,o,r){this.values[n]=t,r._hasValue||(r._hasValue=!0,this.haveValues++)},t.prototype.notifyComplete=function(e){var t=this.destination,n=this.haveValues,o=this.resultSelector,r=this.values,i=r.length;if(e._hasValue){if(this.completed++,this.completed===i){if(n===i){var a=o?o.apply(this,r):r;t.next(a)}t.complete()}}else t.complete()},t}(c.OuterSubscriber)},function(e,t,n){"use strict";var o=n(1),r=n(250);o.Observable.fromEvent=r.fromEvent},function(e,t,n){"use strict";var o=n(251);t.fromEvent=o.FromEventObservable.create},function(e,t,n){"use strict";var o=this&&this.__extends||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);function o(){this.constructor=e}e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},r=n(1),i=n(9),a=n(32),s=n(8),c=n(7),l=Object.prototype.toString;var u=function(e){function t(t,n,o,r){e.call(this),this.sourceObj=t,this.eventName=n,this.selector=o,this.options=r}return o(t,e),t.create=function(e,n,o,r){return a.isFunction(o)&&(r=o,o=void 0),new t(e,n,r,o)},t.setupSubscription=function(e,n,o,r,i){var a;if(function(e){return!!e&&"[object NodeList]"===l.call(e)}(e)||function(e){return!!e&&"[object HTMLCollection]"===l.call(e)}(e))for(var s=0,u=e.length;s<u;s++)t.setupSubscription(e[s],n,o,r,i);else if(function(e){return!!e&&"function"==typeof e.addEventListener&&"function"==typeof e.removeEventListener}(e)){var d=e;e.addEventListener(n,o,i),a=function(){return d.removeEventListener(n,o,i)}}else if(function(e){return!!e&&"function"==typeof e.on&&"function"==typeof e.off}(e)){var p=e;e.on(n,o),a=function(){return p.off(n,o)}}else{if(!function(e){return!!e&&"function"==typeof e.addListener&&"function"==typeof e.removeListener}(e))throw new TypeError("Invalid event target");var h=e;e.addListener(n,o),a=function(){return h.removeListener(n,o)}}r.add(new c.Subscription(a))},t.prototype._subscribe=function(e){var n=this.sourceObj,o=this.eventName,r=this.options,a=this.selector,c=a?function(){for(var t=[],n=0;n<arguments.length;n++)t[n-0]=arguments[n];var o=i.tryCatch(a).apply(void 0,t);o===s.errorObject?e.error(s.errorObject.e):e.next(o)}:function(t){return e.next(t)};t.setupSubscription(n,o,c,e,r)},t}(r.Observable);t.FromEventObservable=u},function(e,t,n){"use strict";var o=n(1),r=n(253);o.Observable.fromEventPattern=r.fromEventPattern},function(e,t,n){"use strict";var o=n(254);t.fromEventPattern=o.FromEventPatternObservable.create},function(e,t,n){"use strict";var o=this&&this.__extends||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);function o(){this.constructor=e}e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},r=n(32),i=n(1),a=n(7),s=function(e){function t(t,n,o){e.call(this),this.addHandler=t,this.removeHandler=n,this.selector=o}return o(t,e),t.create=function(e,n,o){return new t(e,n,o)},t.prototype._subscribe=function(e){var t=this,n=this.removeHandler,o=this.selector?function(){for(var n=[],o=0;o<arguments.length;o++)n[o-0]=arguments[o];t._callSelector(e,n)}:function(t){e.next(t)},i=this._callAddHandler(o,e);r.isFunction(n)&&e.add(new a.Subscription((function(){n(o,i)})))},t.prototype._callSelector=function(e,t){try{var n=this.selector.apply(this,t);e.next(n)}catch(t){e.error(t)}},t.prototype._callAddHandler=function(e,t){try{return this.addHandler(e)||null}catch(e){t.error(e)}},t}(i.Observable);t.FromEventPatternObservable=s},function(e,t,n){"use strict";var o=n(1),r=n(256);o.Observable.fromPromise=r.fromPromise},function(e,t,n){"use strict";var o=n(83);t.fromPromise=o.PromiseObservable.create},function(e,t,n){"use strict";var o=n(1),r=n(258);o.Observable.generate=r.generate},function(e,t,n){"use strict";var o=n(259);t.generate=o.GenerateObservable.create},function(e,t,n){"use strict";var o=this&&this.__extends||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);function o(){this.constructor=e}e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},r=n(1),i=n(12),a=function(e){return e},s=function(e){function t(t,n,o,r,i){e.call(this),this.initialState=t,this.condition=n,this.iterate=o,this.resultSelector=r,this.scheduler=i}return o(t,e),t.create=function(e,n,o,r,s){return 1==arguments.length?new t(e.initialState,e.condition,e.iterate,e.resultSelector||a,e.scheduler):void 0===r||i.isScheduler(r)?new t(e,n,o,a,r):new t(e,n,o,r,s)},t.prototype._subscribe=function(e){var n=this.initialState;if(this.scheduler)return this.scheduler.schedule(t.dispatch,0,{subscriber:e,iterate:this.iterate,condition:this.condition,resultSelector:this.resultSelector,state:n});for(var o=this.condition,r=this.resultSelector,i=this.iterate;;){if(o){var a=void 0;try{a=o(n)}catch(t){return void e.error(t)}if(!a){e.complete();break}}var s=void 0;try{s=r(n)}catch(t){return void e.error(t)}if(e.next(s),e.closed)break;try{n=i(n)}catch(t){return void e.error(t)}}},t.dispatch=function(e){var t=e.subscriber,n=e.condition;if(!t.closed){if(e.needIterate)try{e.state=e.iterate(e.state)}catch(e){return void t.error(e)}else e.needIterate=!0;if(n){var o=void 0;try{o=n(e.state)}catch(e){return void t.error(e)}if(!o)return void t.complete();if(t.closed)return}var r;try{r=e.resultSelector(e.state)}catch(e){return void t.error(e)}if(!t.closed&&(t.next(r),!t.closed))return this.schedule(e)}},t}(r.Observable);t.GenerateObservable=s},function(e,t,n){"use strict";var o=n(1),r=n(20);o.Observable.merge=r.merge},function(e,t,n){"use strict";var o=n(1),r=n(56);o.Observable.race=r.race},function(e,t,n){"use strict";var o=n(1),r=n(263);o.Observable.never=r.never},function(e,t,n){"use strict";var o=n(264);t.never=o.NeverObservable.create},function(e,t,n){"use strict";var o=this&&this.__extends||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);function o(){this.constructor=e}e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},r=n(1),i=n(51),a=function(e){function t(){e.call(this)}return o(t,e),t.create=function(){return new t},t.prototype._subscribe=function(e){i.noop()},t}(r.Observable);t.NeverObservable=a},function(e,t,n){"use strict";var o=n(1),r=n(266);o.Observable.onErrorResumeNext=r.onErrorResumeNext},function(e,t,n){"use strict";var o=n(57);t.onErrorResumeNext=o.onErrorResumeNextStatic},function(e,t,n){"use strict";var o=n(1),r=n(268);o.Observable.pairs=r.pairs},function(e,t,n){"use strict";var o=n(269);t.pairs=o.PairsObservable.create},function(e,t,n){"use strict";var o=this&&this.__extends||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);function o(){this.constructor=e}e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)};function r(e){var t=e.obj,n=e.keys,o=e.length,r=e.index,i=e.subscriber;if(r!==o){var a=n[r];i.next([a,t[a]]),e.index=r+1,this.schedule(e)}else i.complete()}var i=function(e){function t(t,n){e.call(this),this.obj=t,this.scheduler=n,this.keys=Object.keys(t)}return o(t,e),t.create=function(e,n){return new t(e,n)},t.prototype._subscribe=function(e){var t=this.keys,n=this.scheduler,o=t.length;if(n)return n.schedule(r,0,{obj:this.obj,keys:t,length:o,index:0,subscriber:e});for(var i=0;i<o;i++){var a=t[i];e.next([a,this.obj[a]])}e.complete()},t}(n(1).Observable);t.PairsObservable=i},function(e,t,n){"use strict";var o=n(1),r=n(271);o.Observable.range=r.range},function(e,t,n){"use strict";var o=n(272);t.range=o.RangeObservable.create},function(e,t,n){"use strict";var o=this&&this.__extends||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);function o(){this.constructor=e}e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},r=function(e){function t(t,n,o){e.call(this),this.start=t,this._count=n,this.scheduler=o}return o(t,e),t.create=function(e,n,o){return void 0===e&&(e=0),void 0===n&&(n=0),new t(e,n,o)},t.dispatch=function(e){var t=e.start,n=e.index,o=e.count,r=e.subscriber;n>=o?r.complete():(r.next(t),r.closed||(e.index=n+1,e.start=t+1,this.schedule(e)))},t.prototype._subscribe=function(e){var n=0,o=this.start,r=this._count,i=this.scheduler;if(i)return i.schedule(t.dispatch,0,{index:n,count:r,start:o,subscriber:e});for(;;){if(n++>=r){e.complete();break}if(e.next(o++),e.closed)break}},t}(n(1).Observable);t.RangeObservable=r},function(e,t,n){"use strict";var o=n(1),r=n(274);o.Observable.using=r.using},function(e,t,n){"use strict";var o=n(275);t.using=o.UsingObservable.create},function(e,t,n){"use strict";var o=this&&this.__extends||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);function o(){this.constructor=e}e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},r=n(1),i=n(4),a=n(3),s=function(e){function t(t,n){e.call(this),this.resourceFactory=t,this.observableFactory=n}return o(t,e),t.create=function(e,n){return new t(e,n)},t.prototype._subscribe=function(e){var t,n=this.resourceFactory,o=this.observableFactory;try{return t=n(),new c(e,t,o)}catch(t){e.error(t)}},t}(r.Observable);t.UsingObservable=s;var c=function(e){function t(t,n,o){e.call(this,t),this.resource=n,this.observableFactory=o,t.add(n),this.tryUse()}return o(t,e),t.prototype.tryUse=function(){try{var e=this.observableFactory.call(this,this.resource);e&&this.add(i.subscribeToResult(this,e))}catch(e){this._error(e)}},t}(a.OuterSubscriber)},function(e,t,n){"use strict";var o=n(1),r=n(277);o.Observable.throw=r._throw},function(e,t,n){"use strict";var o=n(278);t._throw=o.ErrorObservable.create},function(e,t,n){"use strict";var o=this&&this.__extends||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);function o(){this.constructor=e}e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},r=function(e){function t(t,n){e.call(this),this.error=t,this.scheduler=n}return o(t,e),t.create=function(e,n){return new t(e,n)},t.dispatch=function(e){var t=e.error;e.subscriber.error(t)},t.prototype._subscribe=function(e){var n=this.error,o=this.scheduler;if(e.syncErrorThrowable=!0,o)return o.schedule(t.dispatch,0,{error:n,subscriber:e});e.error(n)},t}(n(1).Observable);t.ErrorObservable=r},function(e,t,n){"use strict";var o=n(1),r=n(107);o.Observable.timer=r.timer},function(e,t,n){"use strict";var o=this&&this.__extends||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);function o(){this.constructor=e}e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},r=n(26),i=n(1),a=n(5),s=n(12),c=n(40),l=function(e){function t(t,n,o){void 0===t&&(t=0),e.call(this),this.period=-1,this.dueTime=0,r.isNumeric(n)?this.period=Number(n)<1?1:Number(n):s.isScheduler(n)&&(o=n),s.isScheduler(o)||(o=a.async),this.scheduler=o,this.dueTime=c.isDate(t)?+t-this.scheduler.now():t}return o(t,e),t.create=function(e,n,o){return void 0===e&&(e=0),new t(e,n,o)},t.dispatch=function(e){var t=e.index,n=e.period,o=e.subscriber;if(o.next(t),!o.closed){if(-1===n)return o.complete();e.index=t+1,this.schedule(e,n)}},t.prototype._subscribe=function(e){var n=this.period,o=this.dueTime;return this.scheduler.schedule(t.dispatch,o,{index:0,period:n,subscriber:e})},t}(i.Observable);t.TimerObservable=l},function(e,t,n){"use strict";var o=n(1),r=n(282);o.Observable.zip=r.zip},function(e,t,n){"use strict";var o=n(41);t.zip=o.zipStatic},function(e,t,n){"use strict";var o=n(1),r=n(284);o.Observable.webSocket=r.webSocket},function(e,t,n){"use strict";var o=n(285);t.webSocket=o.WebSocketSubject.create},function(e,t,n){"use strict";var o=this&&this.__extends||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);function o(){this.constructor=e}e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},r=n(6),i=n(2),a=n(1),s=n(7),c=n(10),l=n(42),u=n(9),d=n(8),p=n(288),h=function(e){function t(t,n){if(t instanceof a.Observable)e.call(this,n,t);else{if(e.call(this),this.WebSocketCtor=c.root.WebSocket,this._output=new r.Subject,"string"==typeof t?this.url=t:p.assign(this,t),!this.WebSocketCtor)throw new Error("no WebSocket constructor can be found");this.destination=new l.ReplaySubject}}return o(t,e),t.prototype.resultSelector=function(e){return JSON.parse(e.data)},t.create=function(e){return new t(e)},t.prototype.lift=function(e){var n=new t(this,this.destination);return n.operator=e,n},t.prototype._resetState=function(){this.socket=null,this.source||(this.destination=new l.ReplaySubject),this._output=new r.Subject},t.prototype.multiplex=function(e,t,n){var o=this;return new a.Observable((function(r){var i=u.tryCatch(e)();i===d.errorObject?r.error(d.errorObject.e):o.next(i);var a=o.subscribe((function(e){var t=u.tryCatch(n)(e);t===d.errorObject?r.error(d.errorObject.e):t&&r.next(e)}),(function(e){return r.error(e)}),(function(){return r.complete()}));return function(){var e=u.tryCatch(t)();e===d.errorObject?r.error(d.errorObject.e):o.next(e),a.unsubscribe()}}))},t.prototype._connectSocket=function(){var e=this,t=this.WebSocketCtor,n=this._output,o=null;try{o=this.protocol?new t(this.url,this.protocol):new t(this.url),this.socket=o,this.binaryType&&(this.socket.binaryType=this.binaryType)}catch(e){return void n.error(e)}var r=new s.Subscription((function(){e.socket=null,o&&1===o.readyState&&o.close()}));o.onopen=function(t){var a=e.openObserver;a&&a.next(t);var s=e.destination;e.destination=i.Subscriber.create((function(e){return 1===o.readyState&&o.send(e)}),(function(t){var r=e.closingObserver;r&&r.next(void 0),t&&t.code?o.close(t.code,t.reason):n.error(new TypeError("WebSocketSubject.error must be called with an object with an error code, and an optional reason: { code: number, reason: string }")),e._resetState()}),(function(){var t=e.closingObserver;t&&t.next(void 0),o.close(),e._resetState()})),s&&s instanceof l.ReplaySubject&&r.add(s.subscribe(e.destination))},o.onerror=function(t){e._resetState(),n.error(t)},o.onclose=function(t){e._resetState();var o=e.closeObserver;o&&o.next(t),t.wasClean?n.complete():n.error(t)},o.onmessage=function(t){var o=u.tryCatch(e.resultSelector)(t);o===d.errorObject?n.error(d.errorObject.e):n.next(o)}},t.prototype._subscribe=function(e){var t=this,n=this.source;if(n)return n.subscribe(e);this.socket||this._connectSocket();var o=new s.Subscription;return o.add(this._output.subscribe(e)),o.add((function(){var e=t.socket;0===t._output.observers.length&&(e&&1===e.readyState&&e.close(),t._resetState())})),o},t.prototype.unsubscribe=function(){var t=this.source,n=this.socket;n&&1===n.readyState&&(n.close(),this._resetState()),e.prototype.unsubscribe.call(this),t||(this.destination=new l.ReplaySubject)},t}(r.AnonymousSubject);t.WebSocketSubject=h},function(e,t,n){"use strict";var o=this&&this.__extends||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);function o(){this.constructor=e}e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},r=function(e){function t(t,n){e.call(this,t,n),this.scheduler=t,this.work=n}return o(t,e),t.prototype.schedule=function(t,n){return void 0===n&&(n=0),n>0?e.prototype.schedule.call(this,t,n):(this.delay=n,this.state=t,this.scheduler.flush(this),this)},t.prototype.execute=function(t,n){return n>0||this.closed?e.prototype.execute.call(this,t,n):this._execute(t,n)},t.prototype.requestAsyncId=function(t,n,o){return void 0===o&&(o=0),null!==o&&o>0||null===o&&this.delay>0?e.prototype.requestAsyncId.call(this,t,n,o):t.flush(this)},t}(n(27).AsyncAction);t.QueueAction=r},function(e,t,n){"use strict";var o=this&&this.__extends||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);function o(){this.constructor=e}e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},r=function(e){function t(){e.apply(this,arguments)}return o(t,e),t}(n(28).AsyncScheduler);t.QueueScheduler=r},function(e,t,n){"use strict";var o=n(10);function r(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];for(var o=t.length,r=0;r<o;r++){var i=t[r];for(var a in i)i.hasOwnProperty(a)&&(e[a]=i[a])}return e}function i(e){return e.Object.assign||r}t.assignImpl=r,t.getAssign=i,t.assign=i(o.root)},function(e,t,n){"use strict";var o=n(1),r=n(290);o.Observable.prototype.buffer=r.buffer},function(e,t,n){"use strict";var o=n(109);t.buffer=function(e){return o.buffer(e)(this)}},function(e,t,n){"use strict";var o=n(1),r=n(292);o.Observable.prototype.bufferCount=r.bufferCount},function(e,t,n){"use strict";var o=n(110);t.bufferCount=function(e,t){return void 0===t&&(t=null),o.bufferCount(e,t)(this)}},function(e,t,n){"use strict";var o=n(1),r=n(294);o.Observable.prototype.bufferTime=r.bufferTime},function(e,t,n){"use strict";var o=n(5),r=n(12),i=n(111);t.bufferTime=function(e){var t=arguments.length,n=o.async;r.isScheduler(arguments[arguments.length-1])&&(n=arguments[arguments.length-1],t--);var a=null;t>=2&&(a=arguments[1]);var s=Number.POSITIVE_INFINITY;return t>=3&&(s=arguments[2]),i.bufferTime(e,a,s,n)(this)}},function(e,t,n){"use strict";var o=n(1),r=n(296);o.Observable.prototype.bufferToggle=r.bufferToggle},function(e,t,n){"use strict";var o=n(112);t.bufferToggle=function(e,t){return o.bufferToggle(e,t)(this)}},function(e,t,n){"use strict";var o=n(1),r=n(298);o.Observable.prototype.bufferWhen=r.bufferWhen},function(e,t,n){"use strict";var o=n(113);t.bufferWhen=function(e){return o.bufferWhen(e)(this)}},function(e,t,n){"use strict";var o=n(1),r=n(300);o.Observable.prototype.combineAll=r.combineAll},function(e,t,n){"use strict";var o=n(114);t.combineAll=function(e){return o.combineAll(e)(this)}},function(e,t,n){"use strict";var o=n(1),r=n(302);o.Observable.prototype.combineLatest=r.combineLatest},function(e,t,n){"use strict";var o=n(39);t.combineLatest=function(){for(var e=[],t=0;t<arguments.length;t++)e[t-0]=arguments[t];return o.combineLatest.apply(void 0,e)(this)}},function(e,t,n){"use strict";var o=n(1),r=n(304);o.Observable.prototype.concat=r.concat},function(e,t,n){"use strict";var o=n(115),r=n(29);t.concatStatic=r.concat,t.concat=function(){for(var e=[],t=0;t<arguments.length;t++)e[t-0]=arguments[t];return o.concat.apply(void 0,e)(this)}},function(e,t,n){"use strict";var o=n(1),r=n(306);o.Observable.prototype.concatMap=r.concatMap},function(e,t,n){"use strict";var o=n(58);t.concatMap=function(e,t){return o.concatMap(e,t)(this)}},function(e,t,n){"use strict";var o=n(1),r=n(308);o.Observable.prototype.concatMapTo=r.concatMapTo},function(e,t,n){"use strict";var o=n(116);t.concatMapTo=function(e,t){return o.concatMapTo(e,t)(this)}},function(e,t,n){"use strict";var o=n(1),r=n(310);o.Observable.prototype.count=r.count},function(e,t,n){"use strict";var o=n(117);t.count=function(e){return o.count(e)(this)}},function(e,t,n){"use strict";var o=n(1),r=n(312);o.Observable.prototype.dematerialize=r.dematerialize},function(e,t,n){"use strict";var o=n(118);t.dematerialize=function(){return o.dematerialize()(this)}},function(e,t,n){"use strict";var o=n(1),r=n(314);o.Observable.prototype.debounce=r.debounce},function(e,t,n){"use strict";var o=n(119);t.debounce=function(e){return o.debounce(e)(this)}},function(e,t,n){"use strict";var o=n(1),r=n(316);o.Observable.prototype.debounceTime=r.debounceTime},function(e,t,n){"use strict";var o=n(5),r=n(120);t.debounceTime=function(e,t){return void 0===t&&(t=o.async),r.debounceTime(e,t)(this)}},function(e,t,n){"use strict";var o=n(1),r=n(318);o.Observable.prototype.defaultIfEmpty=r.defaultIfEmpty},function(e,t,n){"use strict";var o=n(59);t.defaultIfEmpty=function(e){return void 0===e&&(e=null),o.defaultIfEmpty(e)(this)}},function(e,t,n){"use strict";var o=n(1),r=n(320);o.Observable.prototype.delay=r.delay},function(e,t,n){"use strict";var o=n(5),r=n(121);t.delay=function(e,t){return void 0===t&&(t=o.async),r.delay(e,t)(this)}},function(e,t,n){"use strict";var o=n(1),r=n(322);o.Observable.prototype.delayWhen=r.delayWhen},function(e,t,n){"use strict";var o=n(122);t.delayWhen=function(e,t){return o.delayWhen(e,t)(this)}},function(e,t,n){"use strict";var o=n(1),r=n(324);o.Observable.prototype.distinct=r.distinct},function(e,t,n){"use strict";var o=n(123);t.distinct=function(e,t){return o.distinct(e,t)(this)}},function(e,t,n){"use strict";var o=n(10);function r(){return function(){function e(){this._values=[]}return e.prototype.add=function(e){this.has(e)||this._values.push(e)},e.prototype.has=function(e){return-1!==this._values.indexOf(e)},Object.defineProperty(e.prototype,"size",{get:function(){return this._values.length},enumerable:!0,configurable:!0}),e.prototype.clear=function(){this._values.length=0},e}()}t.minimalSetImpl=r,t.Set=o.root.Set||r()},function(e,t,n){"use strict";var o=n(1),r=n(327);o.Observable.prototype.distinctUntilChanged=r.distinctUntilChanged},function(e,t,n){"use strict";var o=n(60);t.distinctUntilChanged=function(e,t){return o.distinctUntilChanged(e,t)(this)}},function(e,t,n){"use strict";var o=n(1),r=n(329);o.Observable.prototype.distinctUntilKeyChanged=r.distinctUntilKeyChanged},function(e,t,n){"use strict";var o=n(124);t.distinctUntilKeyChanged=function(e,t){return o.distinctUntilKeyChanged(e,t)(this)}},function(e,t,n){"use strict";var o=n(1),r=n(331);o.Observable.prototype.do=r._do,o.Observable.prototype._do=r._do},function(e,t,n){"use strict";var o=n(125);t._do=function(e,t,n){return o.tap(e,t,n)(this)}},function(e,t,n){"use strict";var o=n(1),r=n(333);o.Observable.prototype.exhaust=r.exhaust},function(e,t,n){"use strict";var o=n(126);t.exhaust=function(){return o.exhaust()(this)}},function(e,t,n){"use strict";var o=n(1),r=n(335);o.Observable.prototype.exhaustMap=r.exhaustMap},function(e,t,n){"use strict";var o=n(127);t.exhaustMap=function(e,t){return o.exhaustMap(e,t)(this)}},function(e,t,n){"use strict";var o=n(1),r=n(337);o.Observable.prototype.expand=r.expand},function(e,t,n){"use strict";var o=n(128);t.expand=function(e,t,n){return void 0===t&&(t=Number.POSITIVE_INFINITY),void 0===n&&(n=void 0),t=(t||0)<1?Number.POSITIVE_INFINITY:t,o.expand(e,t,n)(this)}},function(e,t,n){"use strict";var o=n(1),r=n(339);o.Observable.prototype.elementAt=r.elementAt},function(e,t,n){"use strict";var o=n(129);t.elementAt=function(e,t){return o.elementAt(e,t)(this)}},function(e,t,n){"use strict";var o=n(1),r=n(341);o.Observable.prototype.finally=r._finally,o.Observable.prototype._finally=r._finally},function(e,t,n){"use strict";var o=n(130);t._finally=function(e){return o.finalize(e)(this)}},function(e,t,n){"use strict";var o=n(1),r=n(343);o.Observable.prototype.find=r.find},function(e,t,n){"use strict";var o=n(61);t.find=function(e,t){return o.find(e,t)(this)}},function(e,t,n){"use strict";var o=n(1),r=n(345);o.Observable.prototype.findIndex=r.findIndex},function(e,t,n){"use strict";var o=n(131);t.findIndex=function(e,t){return o.findIndex(e,t)(this)}},function(e,t,n){"use strict";var o=n(1),r=n(347);o.Observable.prototype.first=r.first},function(e,t,n){"use strict";var o=n(132);t.first=function(e,t,n){return o.first(e,t,n)(this)}},function(e,t,n){"use strict";var o=n(1),r=n(349);o.Observable.prototype.groupBy=r.groupBy},function(e,t,n){"use strict";var o=n(133);t.GroupedObservable=o.GroupedObservable,t.groupBy=function(e,t,n,r){return o.groupBy(e,t,n,r)(this)}},function(e,t,n){"use strict";var o=n(10),r=n(351);t.Map=o.root.Map||r.MapPolyfill},function(e,t,n){"use strict";var o=function(){function e(){this.size=0,this._values=[],this._keys=[]}return e.prototype.get=function(e){var t=this._keys.indexOf(e);return-1===t?void 0:this._values[t]},e.prototype.set=function(e,t){var n=this._keys.indexOf(e);return-1===n?(this._keys.push(e),this._values.push(t),this.size++):this._values[n]=t,this},e.prototype.delete=function(e){var t=this._keys.indexOf(e);return-1!==t&&(this._values.splice(t,1),this._keys.splice(t,1),this.size--,!0)},e.prototype.clear=function(){this._keys.length=0,this._values.length=0,this.size=0},e.prototype.forEach=function(e,t){for(var n=0;n<this.size;n++)e.call(t,this._values[n],this._keys[n])},e}();t.MapPolyfill=o},function(e,t,n){"use strict";var o=function(){function e(){this.values={}}return e.prototype.delete=function(e){return this.values[e]=null,!0},e.prototype.set=function(e,t){return this.values[e]=t,this},e.prototype.get=function(e){return this.values[e]},e.prototype.forEach=function(e,t){var n=this.values;for(var o in n)n.hasOwnProperty(o)&&null!==n[o]&&e.call(t,n[o],o)},e.prototype.clear=function(){this.values={}},e}();t.FastMap=o},function(e,t,n){"use strict";var o=n(1),r=n(354);o.Observable.prototype.ignoreElements=r.ignoreElements},function(e,t,n){"use strict";var o=n(134);t.ignoreElements=function(){return o.ignoreElements()(this)}},function(e,t,n){"use strict";var o=n(1),r=n(356);o.Observable.prototype.isEmpty=r.isEmpty},function(e,t,n){"use strict";var o=n(135);t.isEmpty=function(){return o.isEmpty()(this)}},function(e,t,n){"use strict";var o=n(1),r=n(358);o.Observable.prototype.audit=r.audit},function(e,t,n){"use strict";var o=n(62);t.audit=function(e){return o.audit(e)(this)}},function(e,t,n){"use strict";var o=n(1),r=n(360);o.Observable.prototype.auditTime=r.auditTime},function(e,t,n){"use strict";var o=n(5),r=n(136);t.auditTime=function(e,t){return void 0===t&&(t=o.async),r.auditTime(e,t)(this)}},function(e,t,n){"use strict";var o=n(1),r=n(362);o.Observable.prototype.last=r.last},function(e,t,n){"use strict";var o=n(137);t.last=function(e,t,n){return o.last(e,t,n)(this)}},function(e,t,n){"use strict";var o=n(1),r=n(364);o.Observable.prototype.let=r.letProto,o.Observable.prototype.letBind=r.letProto},function(e,t,n){"use strict";t.letProto=function(e){return e(this)}},function(e,t,n){"use strict";var o=n(1),r=n(366);o.Observable.prototype.every=r.every},function(e,t,n){"use strict";var o=n(138);t.every=function(e,t){return o.every(e,t)(this)}},function(e,t,n){"use strict";var o=n(1),r=n(368);o.Observable.prototype.mapTo=r.mapTo},function(e,t,n){"use strict";var o=n(139);t.mapTo=function(e){return o.mapTo(e)(this)}},function(e,t,n){"use strict";var o=n(1),r=n(370);o.Observable.prototype.materialize=r.materialize},function(e,t,n){"use strict";var o=n(140);t.materialize=function(){return o.materialize()(this)}},function(e,t,n){"use strict";var o=n(1),r=n(372);o.Observable.prototype.max=r.max},function(e,t,n){"use strict";var o=n(141);t.max=function(e){return o.max(e)(this)}},function(e,t,n){"use strict";var o=n(1),r=n(374);o.Observable.prototype.merge=r.merge},function(e,t,n){"use strict";var o=n(142),r=n(20);t.mergeStatic=r.merge,t.merge=function(){for(var e=[],t=0;t<arguments.length;t++)e[t-0]=arguments[t];return o.merge.apply(void 0,e)(this)}},function(e,t,n){"use strict";var o=n(1),r=n(376);o.Observable.prototype.mergeAll=r.mergeAll},function(e,t,n){"use strict";var o=n(37);t.mergeAll=function(e){return void 0===e&&(e=Number.POSITIVE_INFINITY),o.mergeAll(e)(this)}},function(e,t,n){"use strict";var o=n(1),r=n(378);o.Observable.prototype.flatMapTo=r.mergeMapTo,o.Observable.prototype.mergeMapTo=r.mergeMapTo},function(e,t,n){"use strict";var o=n(143);t.mergeMapTo=function(e,t,n){return void 0===n&&(n=Number.POSITIVE_INFINITY),o.mergeMapTo(e,t,n)(this)}},function(e,t,n){"use strict";var o=n(1),r=n(380);o.Observable.prototype.mergeScan=r.mergeScan},function(e,t,n){"use strict";var o=n(144);t.mergeScan=function(e,t,n){return void 0===n&&(n=Number.POSITIVE_INFINITY),o.mergeScan(e,t,n)(this)}},function(e,t,n){"use strict";var o=n(1),r=n(382);o.Observable.prototype.min=r.min},function(e,t,n){"use strict";var o=n(145);t.min=function(e){return o.min(e)(this)}},function(e,t,n){"use strict";var o=n(1),r=n(384);o.Observable.prototype.multicast=r.multicast},function(e,t,n){"use strict";var o=n(19);t.multicast=function(e,t){return o.multicast(e,t)(this)}},function(e,t,n){"use strict";var o=n(1),r=n(386);o.Observable.prototype.observeOn=r.observeOn},function(e,t,n){"use strict";var o=n(36);t.observeOn=function(e,t){return void 0===t&&(t=0),o.observeOn(e,t)(this)}},function(e,t,n){"use strict";var o=n(1),r=n(388);o.Observable.prototype.onErrorResumeNext=r.onErrorResumeNext},function(e,t,n){"use strict";var o=n(57);t.onErrorResumeNext=function(){for(var e=[],t=0;t<arguments.length;t++)e[t-0]=arguments[t];return o.onErrorResumeNext.apply(void 0,e)(this)}},function(e,t,n){"use strict";var o=n(1),r=n(390);o.Observable.prototype.pairwise=r.pairwise},function(e,t,n){"use strict";var o=n(147);t.pairwise=function(){return o.pairwise()(this)}},function(e,t,n){"use strict";var o=n(1),r=n(392);o.Observable.prototype.partition=r.partition},function(e,t,n){"use strict";var o=n(148);t.partition=function(e,t){return o.partition(e,t)(this)}},function(e,t,n){"use strict";t.not=function(e,t){function n(){return!n.pred.apply(n.thisArg,arguments)}return n.pred=e,n.thisArg=t,n}},function(e,t,n){"use strict";var o=n(1),r=n(395);o.Observable.prototype.pluck=r.pluck},function(e,t,n){"use strict";var o=n(149);t.pluck=function(){for(var e=[],t=0;t<arguments.length;t++)e[t-0]=arguments[t];return o.pluck.apply(void 0,e)(this)}},function(e,t,n){"use strict";var o=n(1),r=n(397);o.Observable.prototype.publish=r.publish},function(e,t,n){"use strict";var o=n(150);t.publish=function(e){return o.publish(e)(this)}},function(e,t,n){"use strict";var o=n(1),r=n(399);o.Observable.prototype.publishBehavior=r.publishBehavior},function(e,t,n){"use strict";var o=n(151);t.publishBehavior=function(e){return o.publishBehavior(e)(this)}},function(e,t,n){"use strict";var o=n(1),r=n(401);o.Observable.prototype.publishReplay=r.publishReplay},function(e,t,n){"use strict";var o=n(153);t.publishReplay=function(e,t,n,r){return o.publishReplay(e,t,n,r)(this)}},function(e,t,n){"use strict";var o=n(1),r=n(403);o.Observable.prototype.publishLast=r.publishLast},function(e,t,n){"use strict";var o=n(154);t.publishLast=function(){return o.publishLast()(this)}},function(e,t,n){"use strict";var o=n(1),r=n(405);o.Observable.prototype.race=r.race},function(e,t,n){"use strict";var o=n(155),r=n(56);t.raceStatic=r.race,t.race=function(){for(var e=[],t=0;t<arguments.length;t++)e[t-0]=arguments[t];return o.race.apply(void 0,e)(this)}},function(e,t,n){"use strict";var o=n(1),r=n(407);o.Observable.prototype.reduce=r.reduce},function(e,t,n){"use strict";var o=n(31);t.reduce=function(e,t){return arguments.length>=2?o.reduce(e,t)(this):o.reduce(e)(this)}},function(e,t,n){"use strict";var o=n(1),r=n(409);o.Observable.prototype.repeat=r.repeat},function(e,t,n){"use strict";var o=n(156);t.repeat=function(e){return void 0===e&&(e=-1),o.repeat(e)(this)}},function(e,t,n){"use strict";var o=n(1),r=n(411);o.Observable.prototype.repeatWhen=r.repeatWhen},function(e,t,n){"use strict";var o=n(157);t.repeatWhen=function(e){return o.repeatWhen(e)(this)}},function(e,t,n){"use strict";var o=n(1),r=n(413);o.Observable.prototype.retryWhen=r.retryWhen},function(e,t,n){"use strict";var o=n(158);t.retryWhen=function(e){return o.retryWhen(e)(this)}},function(e,t,n){"use strict";var o=n(1),r=n(415);o.Observable.prototype.sample=r.sample},function(e,t,n){"use strict";var o=n(159);t.sample=function(e){return o.sample(e)(this)}},function(e,t,n){"use strict";var o=n(1),r=n(417);o.Observable.prototype.sampleTime=r.sampleTime},function(e,t,n){"use strict";var o=n(5),r=n(160);t.sampleTime=function(e,t){return void 0===t&&(t=o.async),r.sampleTime(e,t)(this)}},function(e,t,n){"use strict";var o=n(1),r=n(419);o.Observable.prototype.scan=r.scan},function(e,t,n){"use strict";var o=n(63);t.scan=function(e,t){return arguments.length>=2?o.scan(e,t)(this):o.scan(e)(this)}},function(e,t,n){"use strict";var o=n(1),r=n(421);o.Observable.prototype.sequenceEqual=r.sequenceEqual},function(e,t,n){"use strict";var o=n(161);t.sequenceEqual=function(e,t){return o.sequenceEqual(e,t)(this)}},function(e,t,n){"use strict";var o=n(1),r=n(423);o.Observable.prototype.share=r.share},function(e,t,n){"use strict";var o=n(162);t.share=function(){return o.share()(this)}},function(e,t,n){"use strict";var o=n(1),r=n(425);o.Observable.prototype.shareReplay=r.shareReplay},function(e,t,n){"use strict";var o=n(163);t.shareReplay=function(e,t,n){return o.shareReplay(e,t,n)(this)}},function(e,t,n){"use strict";var o=n(1),r=n(427);o.Observable.prototype.single=r.single},function(e,t,n){"use strict";var o=n(164);t.single=function(e){return o.single(e)(this)}},function(e,t,n){"use strict";var o=n(1),r=n(429);o.Observable.prototype.skip=r.skip},function(e,t,n){"use strict";var o=n(165);t.skip=function(e){return o.skip(e)(this)}},function(e,t,n){"use strict";var o=n(1),r=n(431);o.Observable.prototype.skipLast=r.skipLast},function(e,t,n){"use strict";var o=n(166);t.skipLast=function(e){return o.skipLast(e)(this)}},function(e,t,n){"use strict";var o=n(1),r=n(433);o.Observable.prototype.skipUntil=r.skipUntil},function(e,t,n){"use strict";var o=n(167);t.skipUntil=function(e){return o.skipUntil(e)(this)}},function(e,t,n){"use strict";var o=n(1),r=n(435);o.Observable.prototype.skipWhile=r.skipWhile},function(e,t,n){"use strict";var o=n(168);t.skipWhile=function(e){return o.skipWhile(e)(this)}},function(e,t,n){"use strict";var o=n(1),r=n(437);o.Observable.prototype.startWith=r.startWith},function(e,t,n){"use strict";var o=n(169);t.startWith=function(){for(var e=[],t=0;t<arguments.length;t++)e[t-0]=arguments[t];return o.startWith.apply(void 0,e)(this)}},function(e,t,n){"use strict";var o=n(1),r=n(439);o.Observable.prototype.subscribeOn=r.subscribeOn},function(e,t,n){"use strict";var o=n(440);t.subscribeOn=function(e,t){return void 0===t&&(t=0),o.subscribeOn(e,t)(this)}},function(e,t,n){"use strict";var o=n(441);t.subscribeOn=function(e,t){return void 0===t&&(t=0),function(n){return n.lift(new r(e,t))}};var r=function(){function e(e,t){this.scheduler=e,this.delay=t}return e.prototype.call=function(e,t){return new o.SubscribeOnObservable(t,this.delay,this.scheduler).subscribe(e)},e}()},function(e,t,n){"use strict";var o=this&&this.__extends||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);function o(){this.constructor=e}e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},r=n(1),i=n(170),a=n(26),s=function(e){function t(t,n,o){void 0===n&&(n=0),void 0===o&&(o=i.asap),e.call(this),this.source=t,this.delayTime=n,this.scheduler=o,(!a.isNumeric(n)||n<0)&&(this.delayTime=0),o&&"function"==typeof o.schedule||(this.scheduler=i.asap)}return o(t,e),t.create=function(e,n,o){return void 0===n&&(n=0),void 0===o&&(o=i.asap),new t(e,n,o)},t.dispatch=function(e){var t=e.source,n=e.subscriber;return this.add(t.subscribe(n))},t.prototype._subscribe=function(e){var n=this.delayTime,o=this.source;return this.scheduler.schedule(t.dispatch,n,{source:o,subscriber:e})},t}(r.Observable);t.SubscribeOnObservable=s},function(e,t,n){"use strict";var o=this&&this.__extends||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);function o(){this.constructor=e}e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},r=n(443),i=function(e){function t(t,n){e.call(this,t,n),this.scheduler=t,this.work=n}return o(t,e),t.prototype.requestAsyncId=function(t,n,o){return void 0===o&&(o=0),null!==o&&o>0?e.prototype.requestAsyncId.call(this,t,n,o):(t.actions.push(this),t.scheduled||(t.scheduled=r.Immediate.setImmediate(t.flush.bind(t,null))))},t.prototype.recycleAsyncId=function(t,n,o){if(void 0===o&&(o=0),null!==o&&o>0||null===o&&this.delay>0)return e.prototype.recycleAsyncId.call(this,t,n,o);0===t.actions.length&&(r.Immediate.clearImmediate(n),t.scheduled=void 0)},t}(n(27).AsyncAction);t.AsapAction=i},function(e,t,n){"use strict";var o=n(10),r=function(){function e(e){if(this.root=e,e.setImmediate&&"function"==typeof e.setImmediate)this.setImmediate=e.setImmediate.bind(e),this.clearImmediate=e.clearImmediate.bind(e);else{this.nextHandle=1,this.tasksByHandle={},this.currentlyRunningATask=!1,this.canUseProcessNextTick()?this.setImmediate=this.createProcessNextTickSetImmediate():this.canUsePostMessage()?this.setImmediate=this.createPostMessageSetImmediate():this.canUseMessageChannel()?this.setImmediate=this.createMessageChannelSetImmediate():this.canUseReadyStateChange()?this.setImmediate=this.createReadyStateChangeSetImmediate():this.setImmediate=this.createSetTimeoutSetImmediate();var t=function e(t){delete e.instance.tasksByHandle[t]};t.instance=this,this.clearImmediate=t}}return e.prototype.identify=function(e){return this.root.Object.prototype.toString.call(e)},e.prototype.canUseProcessNextTick=function(){return"[object process]"===this.identify(this.root.process)},e.prototype.canUseMessageChannel=function(){return Boolean(this.root.MessageChannel)},e.prototype.canUseReadyStateChange=function(){var e=this.root.document;return Boolean(e&&"onreadystatechange"in e.createElement("script"))},e.prototype.canUsePostMessage=function(){var e=this.root;if(e.postMessage&&!e.importScripts){var t=!0,n=e.onmessage;return e.onmessage=function(){t=!1},e.postMessage("","*"),e.onmessage=n,t}return!1},e.prototype.partiallyApplied=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var o=function e(){var t=e.handler,n=e.args;"function"==typeof t?t.apply(void 0,n):new Function(""+t)()};return o.handler=e,o.args=t,o},e.prototype.addFromSetImmediateArguments=function(e){return this.tasksByHandle[this.nextHandle]=this.partiallyApplied.apply(void 0,e),this.nextHandle++},e.prototype.createProcessNextTickSetImmediate=function(){var e=function e(){var t=e.instance,n=t.addFromSetImmediateArguments(arguments);return t.root.process.nextTick(t.partiallyApplied(t.runIfPresent,n)),n};return e.instance=this,e},e.prototype.createPostMessageSetImmediate=function(){var e=this.root,t="setImmediate$"+e.Math.random()+"$",n=function n(o){var r=n.instance;o.source===e&&"string"==typeof o.data&&0===o.data.indexOf(t)&&r.runIfPresent(+o.data.slice(t.length))};n.instance=this,e.addEventListener("message",n,!1);var o=function e(){var t=e,n=t.messagePrefix,o=t.instance,r=o.addFromSetImmediateArguments(arguments);return o.root.postMessage(n+r,"*"),r};return o.instance=this,o.messagePrefix=t,o},e.prototype.runIfPresent=function(e){if(this.currentlyRunningATask)this.root.setTimeout(this.partiallyApplied(this.runIfPresent,e),0);else{var t=this.tasksByHandle[e];if(t){this.currentlyRunningATask=!0;try{t()}finally{this.clearImmediate(e),this.currentlyRunningATask=!1}}}},e.prototype.createMessageChannelSetImmediate=function(){var e=this,t=new this.root.MessageChannel;t.port1.onmessage=function(t){var n=t.data;e.runIfPresent(n)};var n=function e(){var t=e,n=t.channel,o=t.instance,r=o.addFromSetImmediateArguments(arguments);return n.port2.postMessage(r),r};return n.channel=t,n.instance=this,n},e.prototype.createReadyStateChangeSetImmediate=function(){var e=function e(){var t=e.instance,n=t.root,o=n.document,r=o.documentElement,i=t.addFromSetImmediateArguments(arguments),a=o.createElement("script");return a.onreadystatechange=function(){t.runIfPresent(i),a.onreadystatechange=null,r.removeChild(a),a=null},r.appendChild(a),i};return e.instance=this,e},e.prototype.createSetTimeoutSetImmediate=function(){var e=function e(){var t=e.instance,n=t.addFromSetImmediateArguments(arguments);return t.root.setTimeout(t.partiallyApplied(t.runIfPresent,n),0),n};return e.instance=this,e},e}();t.ImmediateDefinition=r,t.Immediate=new r(o.root)},function(e,t,n){"use strict";var o=this&&this.__extends||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);function o(){this.constructor=e}e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},r=function(e){function t(){e.apply(this,arguments)}return o(t,e),t.prototype.flush=function(e){this.active=!0,this.scheduled=void 0;var t,n=this.actions,o=-1,r=n.length;e=e||n.shift();do{if(t=e.execute(e.state,e.delay))break}while(++o<r&&(e=n.shift()));if(this.active=!1,t){for(;++o<r&&(e=n.shift());)e.unsubscribe();throw t}},t}(n(28).AsyncScheduler);t.AsapScheduler=r},function(e,t,n){"use strict";var o=n(1),r=n(446);o.Observable.prototype.switch=r._switch,o.Observable.prototype._switch=r._switch},function(e,t,n){"use strict";var o=n(171);t._switch=function(){return o.switchAll()(this)}},function(e,t,n){"use strict";var o=n(1),r=n(448);o.Observable.prototype.switchMapTo=r.switchMapTo},function(e,t,n){"use strict";var o=n(172);t.switchMapTo=function(e,t){return o.switchMapTo(e,t)(this)}},function(e,t,n){"use strict";var o=n(1),r=n(450);o.Observable.prototype.take=r.take},function(e,t,n){"use strict";var o=n(173);t.take=function(e){return o.take(e)(this)}},function(e,t,n){"use strict";var o=n(1),r=n(452);o.Observable.prototype.takeLast=r.takeLast},function(e,t,n){"use strict";var o=n(64);t.takeLast=function(e){return o.takeLast(e)(this)}},function(e,t,n){"use strict";var o=n(1),r=n(454);o.Observable.prototype.throttle=r.throttle},function(e,t,n){"use strict";var o=n(44);t.throttle=function(e,t){return void 0===t&&(t=o.defaultThrottleConfig),o.throttle(e,t)(this)}},function(e,t,n){"use strict";var o=n(1),r=n(456);o.Observable.prototype.throttleTime=r.throttleTime},function(e,t,n){"use strict";var o=n(5),r=n(44),i=n(174);t.throttleTime=function(e,t,n){return void 0===t&&(t=o.async),void 0===n&&(n=r.defaultThrottleConfig),i.throttleTime(e,t,n)(this)}},function(e,t,n){"use strict";var o=n(1),r=n(175);o.Observable.prototype.timeInterval=r.timeInterval},function(e,t,n){"use strict";var o=n(1),r=n(459);o.Observable.prototype.timeout=r.timeout},function(e,t,n){"use strict";var o=n(5),r=n(177);t.timeout=function(e,t){return void 0===t&&(t=o.async),r.timeout(e,t)(this)}},function(e,t,n){"use strict";var o=n(1),r=n(461);o.Observable.prototype.timeoutWith=r.timeoutWith},function(e,t,n){"use strict";var o=n(5),r=n(179);t.timeoutWith=function(e,t,n){return void 0===n&&(n=o.async),r.timeoutWith(e,t,n)(this)}},function(e,t,n){"use strict";var o=n(1),r=n(463);o.Observable.prototype.timestamp=r.timestamp},function(e,t,n){"use strict";var o=n(5),r=n(66);t.timestamp=function(e){return void 0===e&&(e=o.async),r.timestamp(e)(this)}},function(e,t,n){"use strict";var o=n(1),r=n(465);o.Observable.prototype.toArray=r.toArray},function(e,t,n){"use strict";var o=n(180);t.toArray=function(){return o.toArray()(this)}},function(e,t){},function(e,t,n){"use strict";var o=n(1),r=n(468);o.Observable.prototype.window=r.window},function(e,t,n){"use strict";var o=n(181);t.window=function(e){return o.window(e)(this)}},function(e,t,n){"use strict";var o=n(1),r=n(470);o.Observable.prototype.windowCount=r.windowCount},function(e,t,n){"use strict";var o=n(182);t.windowCount=function(e,t){return void 0===t&&(t=0),o.windowCount(e,t)(this)}},function(e,t,n){"use strict";var o=n(1),r=n(472);o.Observable.prototype.windowTime=r.windowTime},function(e,t,n){"use strict";var o=n(5),r=n(26),i=n(12),a=n(183);t.windowTime=function(e){var t=o.async,n=null,s=Number.POSITIVE_INFINITY;return i.isScheduler(arguments[3])&&(t=arguments[3]),i.isScheduler(arguments[2])?t=arguments[2]:r.isNumeric(arguments[2])&&(s=arguments[2]),i.isScheduler(arguments[1])?t=arguments[1]:r.isNumeric(arguments[1])&&(n=arguments[1]),a.windowTime(e,n,s,t)(this)}},function(e,t,n){"use strict";var o=n(1),r=n(474);o.Observable.prototype.windowToggle=r.windowToggle},function(e,t,n){"use strict";var o=n(184);t.windowToggle=function(e,t){return o.windowToggle(e,t)(this)}},function(e,t,n){"use strict";var o=n(1),r=n(476);o.Observable.prototype.windowWhen=r.windowWhen},function(e,t,n){"use strict";var o=n(185);t.windowWhen=function(e){return o.windowWhen(e)(this)}},function(e,t,n){"use strict";var o=n(1),r=n(478);o.Observable.prototype.withLatestFrom=r.withLatestFrom},function(e,t,n){"use strict";var o=n(186);t.withLatestFrom=function(){for(var e=[],t=0;t<arguments.length;t++)e[t-0]=arguments[t];return o.withLatestFrom.apply(void 0,e)(this)}},function(e,t,n){"use strict";var o=n(1),r=n(480);o.Observable.prototype.zip=r.zipProto},function(e,t,n){"use strict";var o=n(41);t.zipProto=function(){for(var e=[],t=0;t<arguments.length;t++)e[t-0]=arguments[t];return o.zip.apply(void 0,e)(this)}},function(e,t,n){"use strict";var o=n(1),r=n(482);o.Observable.prototype.zipAll=r.zipAll},function(e,t,n){"use strict";var o=n(187);t.zipAll=function(e){return o.zipAll(e)(this)}},function(e,t,n){"use strict";var o=this&&this.__extends||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);function o(){this.constructor=e}e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},r=n(1),i=n(24),a=n(484),s=n(485),c=n(189),l=n(191),u=function(e){function t(t){e.call(this,l.VirtualAction,750),this.assertDeepEqual=t,this.hotObservables=[],this.coldObservables=[],this.flushTests=[]}return o(t,e),t.prototype.createTime=function(e){var n=e.indexOf("|");if(-1===n)throw new Error('marble diagram for time should have a completion marker "|"');return n*t.frameTimeFactor},t.prototype.createColdObservable=function(e,n,o){if(-1!==e.indexOf("^"))throw new Error('cold observable cannot have subscription offset "^"');if(-1!==e.indexOf("!"))throw new Error('cold observable cannot have unsubscription marker "!"');var r=t.parseMarbles(e,n,o),i=new a.ColdObservable(r,this);return this.coldObservables.push(i),i},t.prototype.createHotObservable=function(e,n,o){if(-1!==e.indexOf("!"))throw new Error('hot observable cannot have unsubscription marker "!"');var r=t.parseMarbles(e,n,o),i=new s.HotObservable(r,this);return this.hotObservables.push(i),i},t.prototype.materializeInnerObservable=function(e,t){var n=this,o=[];return e.subscribe((function(e){o.push({frame:n.frame-t,notification:i.Notification.createNext(e)})}),(function(e){o.push({frame:n.frame-t,notification:i.Notification.createError(e)})}),(function(){o.push({frame:n.frame-t,notification:i.Notification.createComplete()})})),o},t.prototype.expectObservable=function(e,n){var o=this;void 0===n&&(n=null);var a,s=[],c={actual:s,ready:!1},l=t.parseMarblesAsSubscriptions(n).unsubscribedFrame;return this.schedule((function(){a=e.subscribe((function(e){var t=e;e instanceof r.Observable&&(t=o.materializeInnerObservable(t,o.frame)),s.push({frame:o.frame,notification:i.Notification.createNext(t)})}),(function(e){s.push({frame:o.frame,notification:i.Notification.createError(e)})}),(function(){s.push({frame:o.frame,notification:i.Notification.createComplete()})}))}),0),l!==Number.POSITIVE_INFINITY&&this.schedule((function(){return a.unsubscribe()}),l),this.flushTests.push(c),{toBe:function(e,n,o){c.ready=!0,c.expected=t.parseMarbles(e,n,o,!0)}}},t.prototype.expectSubscriptions=function(e){var n={actual:e,ready:!1};return this.flushTests.push(n),{toBe:function(e){var o="string"==typeof e?[e]:e;n.ready=!0,n.expected=o.map((function(e){return t.parseMarblesAsSubscriptions(e)}))}}},t.prototype.flush=function(){for(var t=this.hotObservables;t.length>0;)t.shift().setup();e.prototype.flush.call(this);for(var n=this.flushTests.filter((function(e){return e.ready}));n.length>0;){var o=n.shift();this.assertDeepEqual(o.actual,o.expected)}},t.parseMarblesAsSubscriptions=function(e){if("string"!=typeof e)return new c.SubscriptionLog(Number.POSITIVE_INFINITY);for(var t=e.length,n=-1,o=Number.POSITIVE_INFINITY,r=Number.POSITIVE_INFINITY,i=0;i<t;i++){var a=i*this.frameTimeFactor,s=e[i];switch(s){case"-":case" ":break;case"(":n=a;break;case")":n=-1;break;case"^":if(o!==Number.POSITIVE_INFINITY)throw new Error("found a second subscription point '^' in a subscription marble diagram. There can only be one.");o=n>-1?n:a;break;case"!":if(r!==Number.POSITIVE_INFINITY)throw new Error("found a second subscription point '^' in a subscription marble diagram. There can only be one.");r=n>-1?n:a;break;default:throw new Error("there can only be '^' and '!' markers in a subscription marble diagram. Found instead '"+s+"'.")}}return r<0?new c.SubscriptionLog(o):new c.SubscriptionLog(o,r)},t.parseMarbles=function(e,t,n,o){if(void 0===o&&(o=!1),-1!==e.indexOf("!"))throw new Error('conventional marble diagrams cannot have the unsubscription marker "!"');for(var r=e.length,s=[],c=e.indexOf("^"),l=-1===c?0:c*-this.frameTimeFactor,u="object"!=typeof t?function(e){return e}:function(e){return o&&t[e]instanceof a.ColdObservable?t[e].messages:t[e]},d=-1,p=0;p<r;p++){var h=p*this.frameTimeFactor+l,f=void 0,m=e[p];switch(m){case"-":case" ":break;case"(":d=h;break;case")":d=-1;break;case"|":f=i.Notification.createComplete();break;case"^":break;case"#":f=i.Notification.createError(n||"error");break;default:f=i.Notification.createNext(u(m))}f&&s.push({frame:d>-1?d:h,notification:f})}return s},t}(l.VirtualTimeScheduler);t.TestScheduler=u},function(e,t,n){"use strict";var o=this&&this.__extends||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);function o(){this.constructor=e}e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},r=n(1),i=n(7),a=n(188),s=n(190),c=function(e){function t(t,n){e.call(this,(function(e){var t=this,n=t.logSubscribedFrame();return e.add(new i.Subscription((function(){t.logUnsubscribedFrame(n)}))),t.scheduleMessages(e),e})),this.messages=t,this.subscriptions=[],this.scheduler=n}return o(t,e),t.prototype.scheduleMessages=function(e){for(var t=this.messages.length,n=0;n<t;n++){var o=this.messages[n];e.add(this.scheduler.schedule((function(e){var t=e.message,n=e.subscriber;t.notification.observe(n)}),o.frame,{message:o,subscriber:e}))}},t}(r.Observable);t.ColdObservable=c,s.applyMixins(c,[a.SubscriptionLoggable])},function(e,t,n){"use strict";var o=this&&this.__extends||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);function o(){this.constructor=e}e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},r=n(6),i=n(7),a=n(188),s=n(190),c=function(e){function t(t,n){e.call(this),this.messages=t,this.subscriptions=[],this.scheduler=n}return o(t,e),t.prototype._subscribe=function(t){var n=this,o=n.logSubscribedFrame();return t.add(new i.Subscription((function(){n.logUnsubscribedFrame(o)}))),e.prototype._subscribe.call(this,t)},t.prototype.setup=function(){for(var e=this,t=e.messages.length,n=0;n<t;n++)!function(){var t=e.messages[n];e.scheduler.schedule((function(){t.notification.observe(e)}),t.frame)}()},t}(r.Subject);t.HotObservable=c,s.applyMixins(c,[a.SubscriptionLoggable])},function(e,t,n){"use strict";var o=n(487),r=n(489);t.animationFrame=new r.AnimationFrameScheduler(o.AnimationFrameAction)},function(e,t,n){"use strict";var o=this&&this.__extends||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);function o(){this.constructor=e}e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},r=n(27),i=n(488),a=function(e){function t(t,n){e.call(this,t,n),this.scheduler=t,this.work=n}return o(t,e),t.prototype.requestAsyncId=function(t,n,o){return void 0===o&&(o=0),null!==o&&o>0?e.prototype.requestAsyncId.call(this,t,n,o):(t.actions.push(this),t.scheduled||(t.scheduled=i.AnimationFrame.requestAnimationFrame(t.flush.bind(t,null))))},t.prototype.recycleAsyncId=function(t,n,o){if(void 0===o&&(o=0),null!==o&&o>0||null===o&&this.delay>0)return e.prototype.recycleAsyncId.call(this,t,n,o);0===t.actions.length&&(i.AnimationFrame.cancelAnimationFrame(n),t.scheduled=void 0)},t}(r.AsyncAction);t.AnimationFrameAction=a},function(e,t,n){"use strict";var o=n(10),r=function(e){e.requestAnimationFrame?(this.cancelAnimationFrame=e.cancelAnimationFrame.bind(e),this.requestAnimationFrame=e.requestAnimationFrame.bind(e)):e.mozRequestAnimationFrame?(this.cancelAnimationFrame=e.mozCancelAnimationFrame.bind(e),this.requestAnimationFrame=e.mozRequestAnimationFrame.bind(e)):e.webkitRequestAnimationFrame?(this.cancelAnimationFrame=e.webkitCancelAnimationFrame.bind(e),this.requestAnimationFrame=e.webkitRequestAnimationFrame.bind(e)):e.msRequestAnimationFrame?(this.cancelAnimationFrame=e.msCancelAnimationFrame.bind(e),this.requestAnimationFrame=e.msRequestAnimationFrame.bind(e)):e.oRequestAnimationFrame?(this.cancelAnimationFrame=e.oCancelAnimationFrame.bind(e),this.requestAnimationFrame=e.oRequestAnimationFrame.bind(e)):(this.cancelAnimationFrame=e.clearTimeout.bind(e),this.requestAnimationFrame=function(t){return e.setTimeout(t,1e3/60)})};t.RequestAnimationFrameDefinition=r,t.AnimationFrame=new r(o.root)},function(e,t,n){"use strict";var o=this&&this.__extends||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);function o(){this.constructor=e}e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},r=function(e){function t(){e.apply(this,arguments)}return o(t,e),t.prototype.flush=function(e){this.active=!0,this.scheduled=void 0;var t,n=this.actions,o=-1,r=n.length;e=e||n.shift();do{if(t=e.execute(e.state,e.delay))break}while(++o<r&&(e=n.shift()));if(this.active=!1,t){for(;++o<r&&(e=n.shift());)e.unsubscribe();throw t}},t}(n(28).AsyncScheduler);t.AnimationFrameScheduler=r},function(e,t,n){"use strict";var o=n(62);t.audit=o.audit;var r=n(136);t.auditTime=r.auditTime;var i=n(109);t.buffer=i.buffer;var a=n(110);t.bufferCount=a.bufferCount;var s=n(111);t.bufferTime=s.bufferTime;var c=n(112);t.bufferToggle=c.bufferToggle;var l=n(113);t.bufferWhen=l.bufferWhen;var u=n(95);t.catchError=u.catchError;var d=n(114);t.combineAll=d.combineAll;var p=n(39);t.combineLatest=p.combineLatest;var h=n(115);t.concat=h.concat;var f=n(55);t.concatAll=f.concatAll;var m=n(58);t.concatMap=m.concatMap;var g=n(116);t.concatMapTo=g.concatMapTo;var b=n(117);t.count=b.count;var y=n(119);t.debounce=y.debounce;var v=n(120);t.debounceTime=v.debounceTime;var _=n(59);t.defaultIfEmpty=_.defaultIfEmpty;var S=n(121);t.delay=S.delay;var C=n(122);t.delayWhen=C.delayWhen;var x=n(118);t.dematerialize=x.dematerialize;var w=n(123);t.distinct=w.distinct;var T=n(60);t.distinctUntilChanged=T.distinctUntilChanged;var k=n(124);t.distinctUntilKeyChanged=k.distinctUntilKeyChanged;var I=n(129);t.elementAt=I.elementAt;var O=n(138);t.every=O.every;var E=n(126);t.exhaust=E.exhaust;var N=n(127);t.exhaustMap=N.exhaustMap;var P=n(128);t.expand=P.expand;var D=n(54);t.filter=D.filter;var A=n(130);t.finalize=A.finalize;var R=n(61);t.find=R.find;var M=n(131);t.findIndex=M.findIndex;var F=n(132);t.first=F.first;var j=n(133);t.groupBy=j.groupBy;var L=n(134);t.ignoreElements=L.ignoreElements;var H=n(135);t.isEmpty=H.isEmpty;var B=n(137);t.last=B.last;var z=n(22);t.map=z.map;var U=n(139);t.mapTo=U.mapTo;var V=n(140);t.materialize=V.materialize;var W=n(141);t.max=W.max;var q=n(142);t.merge=q.merge;var G=n(37);t.mergeAll=G.mergeAll;var K=n(25);t.mergeMap=K.mergeMap;var Y=n(25);t.flatMap=Y.mergeMap;var Q=n(143);t.mergeMapTo=Q.mergeMapTo;var $=n(144);t.mergeScan=$.mergeScan;var Z=n(145);t.min=Z.min;var X=n(19);t.multicast=X.multicast;var J=n(36);t.observeOn=J.observeOn;var ee=n(57);t.onErrorResumeNext=ee.onErrorResumeNext;var te=n(147);t.pairwise=te.pairwise;var ne=n(148);t.partition=ne.partition;var oe=n(149);t.pluck=oe.pluck;var re=n(150);t.publish=re.publish;var ie=n(151);t.publishBehavior=ie.publishBehavior;var ae=n(154);t.publishLast=ae.publishLast;var se=n(153);t.publishReplay=se.publishReplay;var ce=n(155);t.race=ce.race;var le=n(31);t.reduce=le.reduce;var ue=n(156);t.repeat=ue.repeat;var de=n(157);t.repeatWhen=de.repeatWhen;var pe=n(101);t.retry=pe.retry;var he=n(158);t.retryWhen=he.retryWhen;var fe=n(65);t.refCount=fe.refCount;var me=n(159);t.sample=me.sample;var ge=n(160);t.sampleTime=ge.sampleTime;var be=n(63);t.scan=be.scan;var ye=n(161);t.sequenceEqual=ye.sequenceEqual;var ve=n(162);t.share=ve.share;var _e=n(163);t.shareReplay=_e.shareReplay;var Se=n(164);t.single=Se.single;var Ce=n(165);t.skip=Ce.skip;var xe=n(166);t.skipLast=xe.skipLast;var we=n(167);t.skipUntil=we.skipUntil;var Te=n(168);t.skipWhile=Te.skipWhile;var ke=n(169);t.startWith=ke.startWith;var Ie=n(171);t.switchAll=Ie.switchAll;var Oe=n(52);t.switchMap=Oe.switchMap;var Ee=n(172);t.switchMapTo=Ee.switchMapTo;var Ne=n(173);t.take=Ne.take;var Pe=n(64);t.takeLast=Pe.takeLast;var De=n(104);t.takeUntil=De.takeUntil;var Ae=n(106);t.takeWhile=Ae.takeWhile;var Re=n(125);t.tap=Re.tap;var Me=n(44);t.throttle=Me.throttle;var Fe=n(174);t.throttleTime=Fe.throttleTime;var je=n(176);t.timeInterval=je.timeInterval;var Le=n(177);t.timeout=Le.timeout;var He=n(179);t.timeoutWith=He.timeoutWith;var Be=n(66);t.timestamp=Be.timestamp;var ze=n(180);t.toArray=ze.toArray;var Ue=n(181);t.window=Ue.window;var Ve=n(182);t.windowCount=Ve.windowCount;var We=n(183);t.windowTime=We.windowTime;var qe=n(184);t.windowToggle=qe.windowToggle;var Ge=n(185);t.windowWhen=Ge.windowWhen;var Ke=n(186);t.withLatestFrom=Ke.withLatestFrom;var Ye=n(41);t.zip=Ye.zip;var Qe=n(187);t.zipAll=Qe.zipAll},function(e,t,n){"use strict";n.r(t);var o=n(0),r=n.n(o),i=n(67);function a(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}var s=n(11),c=n.n(s),l=c.a.shape({trySubscribe:c.a.func.isRequired,tryUnsubscribe:c.a.func.isRequired,notifyNestedSubs:c.a.func.isRequired,isSubscribed:c.a.func.isRequired}),u=c.a.shape({subscribe:c.a.func.isRequired,dispatch:c.a.func.isRequired,getState:c.a.func.isRequired});r.a.forwardRef;var d=function(e){var t;void 0===e&&(e="store");var n=e+"Subscription",r=function(t){a(i,t);var r=i.prototype;function i(n,o){var r;return(r=t.call(this,n,o)||this)[e]=n.store,r}return r.getChildContext=function(){var t;return(t={})[e]=this[e],t[n]=null,t},r.render=function(){return o.Children.only(this.props.children)},i}(o.Component);return r.propTypes={store:u.isRequired,children:c.a.element.isRequired},r.childContextTypes=((t={})[e]=u.isRequired,t[n]=l,t),r}();function p(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function h(){return(h=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e}).apply(this,arguments)}function f(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||(r[n]=e[n]);return r}var m=n(192),g=n.n(m),b=n(47),y=n.n(b),v=n(68),_={notify:function(){}};var S=function(){function e(e,t,n){this.store=e,this.parentSub=t,this.onStateChange=n,this.unsubscribe=null,this.listeners=_}var t=e.prototype;return t.addNestedSub=function(e){return this.trySubscribe(),this.listeners.subscribe(e)},t.notifyNestedSubs=function(){this.listeners.notify()},t.isSubscribed=function(){return Boolean(this.unsubscribe)},t.trySubscribe=function(){var e,t;this.unsubscribe||(this.unsubscribe=this.parentSub?this.parentSub.addNestedSub(this.onStateChange):this.store.subscribe(this.onStateChange),this.listeners=(e=[],t=[],{clear:function(){t=null,e=null},notify:function(){for(var n=e=t,o=0;o<n.length;o++)n[o]()},get:function(){return t},subscribe:function(n){var o=!0;return t===e&&(t=e.slice()),t.push(n),function(){o&&null!==e&&(o=!1,t===e&&(t=e.slice()),t.splice(t.indexOf(n),1))}}}))},t.tryUnsubscribe=function(){this.unsubscribe&&(this.unsubscribe(),this.unsubscribe=null,this.listeners.clear(),this.listeners=_)},e}(),C=void 0!==r.a.forwardRef,x=0,w={};function T(){}function k(e,t){var n,r;void 0===t&&(t={});var i=t,s=i.getDisplayName,c=void 0===s?function(e){return"ConnectAdvanced("+e+")"}:s,d=i.methodName,m=void 0===d?"connectAdvanced":d,b=i.renderCountProp,_=void 0===b?void 0:b,k=i.shouldHandleStateChanges,I=void 0===k||k,O=i.storeKey,E=void 0===O?"store":O,N=i.withRef,P=void 0!==N&&N,D=f(i,["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef"]),A=E+"Subscription",R=x++,M=((n={})[E]=u,n[A]=l,n),F=((r={})[A]=l,r);return function(t){y()(Object(v.isValidElementType)(t),"You must pass a component to the function returned by "+m+". Instead received "+JSON.stringify(t));var n=t.displayName||t.name||"Component",r=c(n),i=h({},D,{getDisplayName:c,methodName:m,renderCountProp:_,shouldHandleStateChanges:I,storeKey:E,withRef:P,displayName:r,wrappedComponentName:n,WrappedComponent:t}),s=function(n){function s(e,t){var o;return(o=n.call(this,e,t)||this).version=R,o.state={},o.renderCount=0,o.store=e[E]||t[E],o.propsMode=Boolean(e[E]),o.setWrappedInstance=o.setWrappedInstance.bind(p(p(o))),y()(o.store,'Could not find "'+E+'" in either the context or props of "'+r+'". Either wrap the root component in a <Provider>, or explicitly pass "'+E+'" as a prop to "'+r+'".'),o.initSelector(),o.initSubscription(),o}a(s,n);var c=s.prototype;return c.getChildContext=function(){var e,t=this.propsMode?null:this.subscription;return(e={})[A]=t||this.context[A],e},c.componentDidMount=function(){I&&(this.subscription.trySubscribe(),this.selector.run(this.props),this.selector.shouldComponentUpdate&&this.forceUpdate())},c.componentWillReceiveProps=function(e){this.selector.run(e)},c.shouldComponentUpdate=function(){return this.selector.shouldComponentUpdate},c.componentWillUnmount=function(){this.subscription&&this.subscription.tryUnsubscribe(),this.subscription=null,this.notifyNestedSubs=T,this.store=null,this.selector.run=T,this.selector.shouldComponentUpdate=!1},c.getWrappedInstance=function(){return y()(P,"To access the wrapped instance, you need to specify { withRef: true } in the options argument of the "+m+"() call."),this.wrappedInstance},c.setWrappedInstance=function(e){this.wrappedInstance=e},c.initSelector=function(){var t=e(this.store.dispatch,i);this.selector=function(e,t){var n={run:function(o){try{var r=e(t.getState(),o);(r!==n.props||n.error)&&(n.shouldComponentUpdate=!0,n.props=r,n.error=null)}catch(e){n.shouldComponentUpdate=!0,n.error=e}}};return n}(t,this.store),this.selector.run(this.props)},c.initSubscription=function(){if(I){var e=(this.propsMode?this.props:this.context)[A];this.subscription=new S(this.store,e,this.onStateChange.bind(this)),this.notifyNestedSubs=this.subscription.notifyNestedSubs.bind(this.subscription)}},c.onStateChange=function(){this.selector.run(this.props),this.selector.shouldComponentUpdate?(this.componentDidUpdate=this.notifyNestedSubsOnComponentDidUpdate,this.setState(w)):this.notifyNestedSubs()},c.notifyNestedSubsOnComponentDidUpdate=function(){this.componentDidUpdate=void 0,this.notifyNestedSubs()},c.isSubscribed=function(){return Boolean(this.subscription)&&this.subscription.isSubscribed()},c.addExtraProps=function(e){if(!(P||_||this.propsMode&&this.subscription))return e;var t=h({},e);return P&&(t.ref=this.setWrappedInstance),_&&(t[_]=this.renderCount++),this.propsMode&&this.subscription&&(t[A]=this.subscription),t},c.render=function(){var e=this.selector;if(e.shouldComponentUpdate=!1,e.error)throw e.error;return Object(o.createElement)(t,this.addExtraProps(e.props))},s}(o.Component);return C&&(s.prototype.UNSAFE_componentWillReceiveProps=s.prototype.componentWillReceiveProps,delete s.prototype.componentWillReceiveProps),s.WrappedComponent=t,s.displayName=r,s.childContextTypes=F,s.contextTypes=M,s.propTypes=M,g()(s,t)}}var I=Object.prototype.hasOwnProperty;function O(e,t){return e===t?0!==e||0!==t||1/e==1/t:e!=e&&t!=t}function E(e,t){if(O(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),o=Object.keys(t);if(n.length!==o.length)return!1;for(var r=0;r<n.length;r++)if(!I.call(t,n[r])||!O(e[n[r]],t[n[r]]))return!1;return!0}var N=n(14);function P(e){return function(t,n){var o=e(t,n);function r(){return o}return r.dependsOnOwnProps=!1,r}}function D(e){return null!==e.dependsOnOwnProps&&void 0!==e.dependsOnOwnProps?Boolean(e.dependsOnOwnProps):1!==e.length}function A(e,t){return function(t,n){n.displayName;var o=function(e,t){return o.dependsOnOwnProps?o.mapToProps(e,t):o.mapToProps(e)};return o.dependsOnOwnProps=!0,o.mapToProps=function(t,n){o.mapToProps=e,o.dependsOnOwnProps=D(e);var r=o(t,n);return"function"==typeof r&&(o.mapToProps=r,o.dependsOnOwnProps=D(r),r=o(t,n)),r},o}}var R=[function(e){return"function"==typeof e?A(e):void 0},function(e){return e?void 0:P((function(e){return{dispatch:e}}))},function(e){return e&&"object"==typeof e?P((function(t){return Object(N.bindActionCreators)(e,t)})):void 0}];var M=[function(e){return"function"==typeof e?A(e):void 0},function(e){return e?void 0:P((function(){return{}}))}];function F(e,t,n){return h({},n,e,t)}var j=[function(e){return"function"==typeof e?function(e){return function(t,n){n.displayName;var o,r=n.pure,i=n.areMergedPropsEqual,a=!1;return function(t,n,s){var c=e(t,n,s);return a?r&&i(c,o)||(o=c):(a=!0,o=c),o}}}(e):void 0},function(e){return e?void 0:function(){return F}}];function L(e,t,n,o){return function(r,i){return n(e(r,i),t(o,i),i)}}function H(e,t,n,o,r){var i,a,s,c,l,u=r.areStatesEqual,d=r.areOwnPropsEqual,p=r.areStatePropsEqual,h=!1;function f(r,h){var f,m,g=!d(h,a),b=!u(r,i);return i=r,a=h,g&&b?(s=e(i,a),t.dependsOnOwnProps&&(c=t(o,a)),l=n(s,c,a)):g?(e.dependsOnOwnProps&&(s=e(i,a)),t.dependsOnOwnProps&&(c=t(o,a)),l=n(s,c,a)):b?(f=e(i,a),m=!p(f,s),s=f,m&&(l=n(s,c,a)),l):l}return function(r,u){return h?f(r,u):(s=e(i=r,a=u),c=t(o,a),l=n(s,c,a),h=!0,l)}}function B(e,t){var n=t.initMapStateToProps,o=t.initMapDispatchToProps,r=t.initMergeProps,i=f(t,["initMapStateToProps","initMapDispatchToProps","initMergeProps"]),a=n(e,i),s=o(e,i),c=r(e,i);return(i.pure?H:L)(a,s,c,e,i)}function z(e,t,n){for(var o=t.length-1;o>=0;o--){var r=t[o](e);if(r)return r}return function(t,o){throw new Error("Invalid value of type "+typeof e+" for "+n+" argument when connecting component "+o.wrappedComponentName+".")}}function U(e,t){return e===t}var V,W,q,G,K,Y,Q,$,Z,X,J,ee,te,ne,oe,re,ie,ae=(q=(W=void 0===V?{}:V).connectHOC,G=void 0===q?k:q,K=W.mapStateToPropsFactories,Y=void 0===K?M:K,Q=W.mapDispatchToPropsFactories,$=void 0===Q?R:Q,Z=W.mergePropsFactories,X=void 0===Z?j:Z,J=W.selectorFactory,ee=void 0===J?B:J,function(e,t,n,o){void 0===o&&(o={});var r=o,i=r.pure,a=void 0===i||i,s=r.areStatesEqual,c=void 0===s?U:s,l=r.areOwnPropsEqual,u=void 0===l?E:l,d=r.areStatePropsEqual,p=void 0===d?E:d,m=r.areMergedPropsEqual,g=void 0===m?E:m,b=f(r,["pure","areStatesEqual","areOwnPropsEqual","areStatePropsEqual","areMergedPropsEqual"]),y=z(e,Y,"mapStateToProps"),v=z(t,$,"mapDispatchToProps"),_=z(n,X,"mergeProps");return G(ee,h({methodName:"connect",getDisplayName:function(e){return"Connect("+e+")"},shouldHandleStateChanges:Boolean(e),initMapStateToProps:y,initMapDispatchToProps:v,initMergeProps:_,pure:a,areStatesEqual:c,areOwnPropsEqual:u,areStatePropsEqual:p,areMergedPropsEqual:g},b))}),se=(te=function(e,t){return(te=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}te(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});!function(e){e[e.Sunday=0]="Sunday",e[e.Monday=1]="Monday",e[e.Tuesday=2]="Tuesday",e[e.Wednesday=3]="Wednesday",e[e.Thursday=4]="Thursday",e[e.Friday=5]="Friday",e[e.Saturday=6]="Saturday"}(ne||(ne={})),function(e){e.email="email",e.callback="callback",e.chat="chat",e.community="community",e.schedulecallback="schedulecallback",e.virtualagent="virtualagent",e.webmessenger="webmessenger",e.externallink="externallink",e.outofbusinesshours="OutOfBusinessHours"}(oe||(oe={})),function(e){e.CustomText="CustomText",e.SOC="SOC",e.DMC="DMC",e.Multiple="Multiple",e.Branching="Branching",e.Portico="Portico"}(re||(re={})),function(e){e.GroupMe="groupme",e.SignUp="signup",e.Default="default"}(ie||(ie={}));var ce,le,ue,de,pe,he,fe=function(){},me=function(){},ge=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return se(t,e),t}(me),be=["L_Article_MainContent_RoleDescription","L_Call_E_ComLink","L_Chat_Description_Client","L_Chat_Header","L_Chat_Input_Placeholder","L_Chat_Suggested_Articles","L_ContactUs_ContactOfficeSupport","L_ContactUs_ContactMicrosoftSupport","L_ContactUs_SignUpPageHeaderText","L_ContactUs_SignUpPageSubHeaderText","L_ContactUs_SignUpPagePlaceholderText","L_ContactUs_SignUpPageChatWithSpecialist","L_ContactUs_SignUpPageChatWithSpecialistDescription","L_ContactUs_DescribeYourIssueHere","L_ContactUs_GettingSupportOptions","L_ContactUs_NoResultsForSearch","L_ContactUs_AlchemyPRRQuestion","L_ContactUs_AlchemyPRRQuestionAnswerYes","L_ContactUs_AlchemyPRRQuestionAnswerNo","L_ContactUs_AlchemyPRRQuestionSubmittedText","L_ContactUs_ManualAlchemyThemeSelectorLabelText","L_ContactUs_ManualAlchemyThemeSelectorFirstOptionLabel","L_ContactUs_OrgNonAdmin_LearnToContactAdminOrGoToCommunity","L_ContactUs_PleaseGoToAdminPortal","L_ContactUs_PleaseSignInForSupportOptions","L_ContactUs_SearchingForSelfHelp","L_ContactUs_SignInErrorPleaseTryAgain","L_ContactUs_SupportOptions","L_ContactUs_TrySuggestedAnswer","L_ContactUs_UseSelfHelpSolutions","L_ContactUs_SkylightTalkToAgentModalityText","L_ContactUs_HowToTalkToAgentText","L_ContactUs_EmergencyNotice","L_ContactUS_UnAuth_TroubleSigningIn","L_Feedback_IA","L_Feedback_Char","L_Feedback_No","L_Feedback_Primary","L_Feedback_Review_Link","L_Feedback_Yes","L_Get_Help","L_Get_More_Help","L_Help_Call","L_Help_Callback_Title","L_Help_Center_DefaultText","L_Help_Chat_Title","L_IA_Feedback_Recorded","L_Modalities_Not_Available","L_More_Actions","L_Search_Help_DefaultText","L_SERP_Back","L_SERP_DefaultText","L_SERP_Home","L_ShowLessContent","L_ShowMoreContent","L_SignIn","L_SupportPolicy_LinkName","L_Talk_To_An_Agent","L_ThirdPartyCookiesDisabled_Message","L_ContactUs_GroupMeBrandingHeaderText","L_ContactUs_GroupMeHeaderText","L_ContactUs_GroupMeSubHeaderText","L_ContactUs_CommunityLinkLabel","L_ContactUs_HoursOfOperationText","L_ContactUs_AlchemyThemeRouting_ConfirmButton_Label","L_ContactUs_GettingAvailableModalitiesText","L_ContactUs_HoursOfOperation_TimeZone_MessageText","L_ContactUs_Modality_Chat_Title","L_ContactUs_Modality_Chat_OOBH_Title","L_ContactUs_Modality_Chat_Description","L_ContactUs_Modality_C2C_Title","L_ContactUs_Modality_C2C_OOBH_Title","L_ContactUs_Modality_C2C_Description","L_ContactUs_Modality_Email_Title","L_ContactUs_Modality_Email_OOBH_Title","L_ContactUs_Modality_Email_Description","L_ContactUs_Modality_CommunityLink_MessageText","L_ContactUs_Modality_ServiceAgreement_MessageText","L_ContactUs_RequestCreation_PhoneNumberLabel","L_ContactUs_RequestCreation_RegionDefaultOptionText","L_ContactUs_RequestCreation_InvalidPhoneNumberMessageText","L_ContactUs_RequestCreation_EmailLabel","L_ContactUs_RequestCreation_InvalidEmailMessageText","L_ContactUs_RequestCreation_ConfirmButtonText","L_ContactUs_RequestCreation_BackButtonText","L_ContactUs_RequestConfirmation_HeaderText","L_ContactUs_RequestConfirmation_TitleLabel","L_ContactUs_RequestConfirmation_RequestNumberLabel","L_ContactUs_RequestConfirmation_StatusLabel","L_ContactUs_RequestConfirmation_NameLabel","L_ContactUs_RequestConfirmation_PhoneNumberLabel","L_ContactUs_RequestConfirmation_EmailLabel","L_ContactUs_RequestConfirmation_CreatingRequestMessageText","L_ContactUs_RequestConfirmation_StartChatButtonText","L_ContactUs_RequestConfirmation_C2CMessageText","L_ContactUs_RequestConfirmation_EmailMessageText","L_ContactUs_RequestConfirmation_ErrorMessageText"];!function(e){e[e.None=0]="None",e[e.ShowBackButton=1]="ShowBackButton",e[e.ShowHomeButton=2]="ShowHomeButton",e[e.ShowSearch=4]="ShowSearch",e[e.All=7]="All"}(ce||(ce={})),function(e){e[e.SOC=0]="SOC",e[e.agavePane=1]="agavePane",e[e.nonAgavePane=2]="nonAgavePane",e[e.Teams=3]="Teams"}(le||(le={})),function(e){e.AssetID="awa-asst",e.AuthType="awa-authType",e.PageType="awa-pageType",e.ExperienceVersion="awa-experienceVersion",e.ExperimentId="awa-experimentId",e.VariationId="awa-variationId",e.Product="awa-prdct",e.ReferApp="awa-referapp",e.SourceApp="awa-sourceapp",e.InAppExternalNavigationType="awa-InAppExternalNavigationType"}(ue||(ue={})),function(e){e[e.NAVIGATIONBACK=1]="NAVIGATIONBACK",e[e.SCENARIOCANCEL=23]="SCENARIOCANCEL",e[e.SEARCH=61]="SEARCH",e[e.SEARCHAUTOCOMPLETE=60]="SEARCHAUTOCOMPLETE",e[e.UNDEFINED=0]="UNDEFINED"}(de||(de={})),function(e){e.SOCContactUs="home/contact",e.SMCExperimentContactUs="home/expcontact",e.SkylightTalkToAgentLink="https://support.microsoft.com/{0}/contact/virtual-agent/?flowId={1}&userInput={2}&partnerId={3}",e.GroupMeContactUs="groupme/contact",e.RaveChatWidgetLink="https://widget.rave.office.net/chat?partner={0}&requestid={1}{2}",e.CommunityLink="https://answers.microsoft.com",e.ServiceAgreementLink="https://support.microsoft.com/topic/microsoft-customer-support-service-agreement-3b3b6a44-f4ca-7a22-f77b-0b28f99a507a"}(pe||(pe={})),function(e){e.SMCIVR="smcivr1",e.SurfaceIVR="surfaceivr1",e.SignUp="signup1"}(he||(he={}));var ye,ve,_e=function(){function e(){}return e.PhoneNumber=/^[0-9]{4,25}$/,e.EmailAddress=/^[A-Z0-9._%+-]+@(?:[A-Z0-9-]+\.)+[A-Z]{2,}$/i,e}(),Se={Host:null,Platform:null,RequestedStringIds:be,Market:"en-US",Version:"16",Namespace:"IWAPP",LCID:null},Ce={ShowModality:!0,LoggingBehavior:"CHATINITIATE",IconClass:"opChat",IconText:"Live Chat",IconTextId:"ocChatText",LinkId:"ocChat",Link:"/en-us/home/confirmcontact?input=test&mode=chat&queue=setup&product=office",Info:null},xe=((ye=new Map).set(oe.chat,Ce),ce.All,"supSuggestionItem"),we="autoSuggest_",Te="(locale eq '{0}' or locale eq '{1}') and workloadId eq '{2}'",ke={Accept:"application/json;odata.metadata=none","Content-Type":"application/x-www-form-urlencoded; odata.metadata=none","api-key":"FFBCA3E94A2364E405C19FE132CA3121"},Ie=2,Oe=51,Ee={$select:"title",search:"",fuzzy:!0,$top:5,suggesterName:"querySuggester","api-version":"2019-05-06",$filter:"",$orderby:"locale desc,search.score() desc"},Ne="https://minimavenautosuggest.search.windows.net/indexes/autosuggestv2/docs/suggest",Pe=["excel","powerpnt","winword"],De={AppVer:"groupme1",Namespace:"groupme",Version:"1"},Ae={AppVer:"smcexp1",Namespace:"smcexp",Version:"1"},Re="userNotices_422edea9-dff7-4585-8efb-bb3fe9e1c4a8",Me=n(18),Fe=/^[^@]+@(?:[^.]+\.)*microsoft\.com$/,je=/^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.+-]+\.edu$/,Le=window.awa,He=(window.AwaBiLog,window.analytics),Be="object"==typeof He?He.getWebAnalyticsExtension():null,ze=window.oneDS,Ue={"Content-Type":"application/x-www-form-urlencoded; charset=UTF-8"},Ve=["macexcel","macpowerpoint","macword"],We=["excel","winword","powerpnt","outlook","onenote"],qe=["onenoteim"],Ge=function(e,t,n,o){return"/"+n+"/"+e+"/"+t+"?"+Object.keys(o).map((function(e){return o.hasOwnProperty(e)&&e+"="+encodeURIComponent(o[e])})).join("&")};!function(e){e[e.legacy=-1]="legacy",e[e.colorful=0]="colorful",e[e.darkgray=3]="darkgray",e[e.black=4]="black",e[e.white=5]="white",e[e.fluent=6]="fluent"}(ve||(ve={}));var Ke,Ye,Qe,$e=function(e){if("Tab"===e.key&&!e.shiftKey)if(e.stopPropagation(),e.nativeEvent.stopImmediatePropagation(),-1!==navigator.userAgent.toLowerCase().indexOf("firefox")){var t=document.getElementById("ocSearchIFrame").contentDocument.getElementsByTagName("a");t.length>1&&t[0].focus()}else document.getElementById("ocSearchIFrame").focus()},Ze=function(e,t){var n=e===ue.AuthType?function(e){switch(e){case"WindowsLiveId":return"MSA";default:return e}}(t):t,o=document.head.querySelector('meta[name="'+e+'"]');if(null!==o)o.content=n;else{var r=document.createElement("meta");r.name=e,r.content=n,document.head.appendChild(r)}Be&&Be.refreshMetadata()},Xe=function(e,t){"object"==typeof Le&&(e?Le.ct.capturePageAction(e,t):Le.ct.captureContentPageAction(t)),"object"==typeof He&&He.capturePageAction(e,t)},Je=function(e){"object"==typeof Le&&Le.ct.captureContentUpdate(e),"object"==typeof He&&He.captureContentUpdate(e)},et=function(e,t){for(var n=e+"=",o=decodeURIComponent(t).split(";"),r=0;r<o.length;r++){var i=o[r];if(0===(i=i.trim()).indexOf(n))return i.substring(n.length,i.length)}return null},tt=function(){var e=Me.parse(window.location.href).path;if(null!==e&&e.length>1){var t=(e=e.substring(1,e.length)).split("/");if(t.length>0&&-1!==t[0].search("[a-zA-Z][a-zA-Z]-[a-zA-Z][a-zA-Z]"))return t[0]}var n=et("omkt",document.cookie);return null!==n?n:"en-us"};!function(e){e[e.WindowsLiveId=0]="WindowsLiveId",e[e.AAD=4]="AAD"}(Ke||(Ke={})),function(e){e.AAD="ADAL",e.MSA="LiveId"}(Ye||(Ye={})),function(e){e[e.FAILED_OR_CANCELLED=0]="FAILED_OR_CANCELLED",e[e.SUCCESS=1]="SUCCESS"}(Qe||(Qe={}));var nt=function(e,t,n,o,r,i,a,s){Xe(null,{behavior:e,content:{formnm:t,contentName:n,areaName:o,fileName:r,functionName:i,loggingArea:a,message:s}})},ot=function(e){switch((e&&e.TeamsTenantSKU||"other").toLowerCase()){case"enterprise":return"MSFTTEAMS";case"edu":case"education":var t=(e&&e.TeamsUserLicenseType||"unknown").toLowerCase();return"teacher"===t?"MSTEAMSEDUTR":"student"===t?"MSTEAMSEDUST":"MSTEAMSEDU";case"free":return"MSTEAMSFR";case"tfl":return"MSTEAMSP";default:return"MSFTTEAMS"}},rt=function(e){return!!e&&-1!==Ve.indexOf(e.toLowerCase())},it=function(e){return!!e&&-1!==qe.indexOf(e.toLowerCase())},at=function(e){var t=function(e){return"Bearer "+e};return e?e.startsWith("Bearer")?e:t(e):t("")},st=function(e){var t=function(e){return"Passport1.4 from-PP='"+e+"&p='"};return e?e.startsWith("Passport1.4")?e:t(e):t("")},ct=function(e,t){void 0===t&&(t=!0);var n=Me.parse(e,!0).query;if(t){var o={};for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(o[r.toLowerCase()]=n[r]);return o}return n},lt=function(){return e=window.location.href,t=ct(e),((n=t.sourceapp?t.sourceapp.toLowerCase():"")&&-1!==Object.keys(he).map((function(e){return he[e]})).indexOf(n)?n:null)===he.SignUp;var e,t,n},ut=function(e){return"pull-"+(e?"left":"right")},dt=function(e){return e?e.indexOf(ie.GroupMe)>-1?ie.GroupMe:e.indexOf(ie.SignUp)>-1?ie.SignUp:ie.Default:ie.Default},pt=function(e){return dt(e)!==ie.Default},ht=function(e,t){var n=e,o=[];Object.keys(t).forEach((function(e){return void 0!==t[e]&&""!==t[e]&&o.push(e+"="+t[e])}));var r=o.join("&");return n+(n.indexOf("?")>-1?"&":"?")+r},ft=function(e,t,n){var o=n?{SourceApp:n}:t?{AppVer:t}:null;return o?ht(e,o):e},mt=function(e,t,n){return null!==t&&null!==n?function(e,t){return null!==t?ht(e,{Ver:t}):e}(function(e,t){return null!==t?ht(e,{NS:t}):e}(e,t),n):e},gt=function(e){var t=ct(window.location.href);return t.expguid?ht(e,{expguid:t.expguid}):e},bt=function(e,t){if(t){var n=e;return"/"!==e[0]&&(n="/"+n),"/"+t+n}return e},yt=function(e){Le&&Le.ct.captureClientError({errorInfo:e}),He&&He.trackException({exception:{name:"CustomError",message:e,isManual:!0,properties:{errorInfo:e}}},{})},vt=function(e,t){var n=!1;return t&&null!=e&&t.forEach((function(t){t!==e||(n=!0)})),n},_t=function(e,t,n,o){var r=vt(e,n);return!r||e!==le.agavePane&&e!==le.nonAgavePane||(r=!1,o&&t&&o.forEach((function(e){e!==t||(r=!0)}))),r};function St(e,t,n){var o=Ee,r=tt(),i=r.split("-")[0],a=function(e,t,n){return t===Ae.AppVer||n===he.SMCIVR||n===he.SurfaceIVR?"23":le.SOC==e?"22":""}(e,t,n);return o.$filter=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];for(var o=0;o<t.length;o++)e=e.replace("{"+o+"}",t[o]);return e}(Te,r,i,a),o}var Ct,xt=function(e,t,n){return e&&e.hasAttribute("data-log-click")&&t.forEach((function(t){var o=t.Indexed?t.Value+"-"+n:t.Value;e.setAttribute(t.Name,o)})),e},wt=function(e,t){try{if(e){var n=(new DOMParser).parseFromString(e,"text/html");if(n){for(var o=n.getElementsByTagName("a"),r=o.length,i=void 0,a=0;a<r;a++)i=o.item(a),i=xt(i,t,a);return i&&!i.hasAttribute("target")&&i.setAttribute("target","_blank"),(n.firstElementChild?n.firstElementChild:n.firstChild).innerHTML}}}catch(e){e&&console.log("wireupLinks failed: "+e)}return e};!function(e){e[e.None=0]="None",e[e.OutOfBusinessHours=1]="OutOfBusinessHours",e[e.SpecialistOutOfBusinessHours=2]="SpecialistOutOfBusinessHours"}(Ct||(Ct={}));var Tt,kt,It,Ot,Et,Nt;!function(e){e[e.NotSignIn=0]="NotSignIn",e[e.ThemeOptions=1]="ThemeOptions",e[e.ModalityOptions=2]="ModalityOptions",e[e.RequestCreation=3]="RequestCreation",e[e.RequestConfirmation=4]="RequestConfirmation"}(Tt||(Tt={})),function(e){e.IsAAD="IsAAD",e.UserObjectId="UserObjectId",e.Theme="Theme",e.AimId="AimId",e.AppName="AppName",e.BucketId="BucketId",e.IsMmdUser="IsMmdUser",e.ThemeL1="ThemeL1",e.ThemeL2="ThemeL2",e.ThemeL3="ThemeL3",e.TimezoneOffsetInMinutes="TimezoneOffsetInMinutes",e.WaitTime="WaitTime"}(kt||(kt={})),function(e){e.AppKeyName="AppKeyName",e.AssetId="AssetId",e.Language="Language",e.Country="Country"}(It||(It={})),function(e){e[e.Phone=1]="Phone",e[e.Email=2]="Email",e[e.IVR=3]="IVR",e[e.Chat=4]="Chat",e[e.C2C=5]="C2C"}(Ot||(Ot={})),function(e){e[e.None=0]="None",e[e.Critical=1]="Critical",e[e.reserved=2]="reserved",e[e.SevA=3]="SevA",e[e.SevB=4]="SevB",e[e.SevC=5]="SevC"}(Et||(Et={})),function(e){e.AppKeyName="AppKeyName",e.AssetId="AssetId",e.Language="Language",e.Country="Country"}(Nt||(Nt={}));var Pt=function(){var e;this.ExtensionAttributes=((e={})[kt.TimezoneOffsetInMinutes]=(new Date).getTimezoneOffset().toString(),e),this.MetaDatas={};var t=window.location.href.match(new RegExp("assetid=([^&]+)","i"));t&&2===t.length&&t[1]&&(this.MetaDatas[It.AssetId]=t[1])},Dt=new function(){this.market=null,this.theme=null,this.displayNamespace=null,this.productName=null,this.isRtl=!1,this.namespace=null,this.localStringsMap=null,this.initializationComplete=!1,this.socDataGrabComplete=!1,this.appVer=null,this.sourceApp=null,this.version=null,this.queryParams=ct(window.location.href),"true"===this.queryParams.isagave?this.environment=le.agavePane:-1!==window.location.href.indexOf(pe.SOCContactUs)||-1!==window.location.href.indexOf(pe.SMCExperimentContactUs)||-1!==window.location.href.indexOf(pe.GroupMeContactUs)?this.environment=le.SOC:this.queryParams.ns&&-1!==this.queryParams.ns.indexOf("TEAMS")?this.environment=le.Teams:this.environment=le.nonAgavePane,this.queryParams.ns?this.namespace=this.queryParams.ns.toLowerCase():-1!==window.location.href.indexOf(pe.GroupMeContactUs)?(this.appVer=De.AppVer,this.namespace=De.Namespace,this.version=De.Version):-1!==window.location.href.indexOf(pe.SOCContactUs)?this.queryParams.sourceapp&&this.queryParams.sourceapp.toLowerCase()===he.SignUp&&(this.sourceApp=he.SignUp):-1!==window.location.href.indexOf(pe.SMCExperimentContactUs)&&(this.queryParams.sourceapp&&this.queryParams.sourceapp.toLowerCase()===he.SMCIVR?this.sourceApp=he.SMCIVR:this.queryParams.sourceapp&&this.queryParams.sourceapp.toLowerCase()===he.SurfaceIVR?this.sourceApp=he.SurfaceIVR:(this.appVer=Ae.AppVer,this.namespace=Ae.Namespace,this.version=Ae.Version))},At=new function(){this.twoClickSupportExp=!0,this.backButtonHit=!1,this.inContactUs=!1,this.history=[],this.backButtonDisabled=!0,this.homeButtonHit=!1,this.localStringsMap=null,this.userSearched=!1,this.helpIframeSrc=null,this.contactIframeSrc=null,this.inContactArticle=!1,this.helpFormName=null},Rt=new function(){this.tellMeQuery=null,this.helpNavImageTheme=null,this.renderAutoSuggest=!1,this.navBarSettings=ce.All,this.autosuggestEndpointUrl=null,this.templateUrl=null,this.helpIframeSrc=null,this.dropdownGwEnabled=!1,this.defaultHomeHref=null,this.defaultArticleGuid=null,this.helpLocalizedStrings={searchFormPlaceholderText:null,searchButtonLabel:null,backButtonAriaLabel:null,homeButtonAriaLabel:null}},Mt=new function(){this.hideSelfHelpSmcIvr=!1,this.isDeepLinkEnabled=!1,this.isDeepLinkQuery=!1,this.isUnAuthSupportEnabled=!1,this.isSMCExperiment15Enabled=!1,this.isSMCExperiment=-1!==window.location.href.indexOf(pe.SMCExperimentContactUs),this.LocalizedStrings={},this.requestVerificationToken=document.getElementsByName("__RequestVerificationToken")[0].value,this.contactSearchedQuery="",this.clientPromptForLoginState=Qe.FAILED_OR_CANCELLED,this.showArticlesExpando=!1,this.safActionMaxRetries=0,this.showCompactQueryForm=-1!==window.location.href.indexOf(pe.SMCExperimentContactUs)||lt()},Ft=function(e,t){this.noticeId=e,this.noticeText=t,this.isDismissed=!1},jt=new function(){this.userNotices=[]},Lt=new function(){this.autoSuggestResults=null,this.isAutoSuggestEnabled=!1,this.isAutoSuggestHidden=!0,this.isAutoSuggestQuery=!1,this.autoSuggestFocusedIndex=0},Ht=new function(){this.bcqrResults=[null],this.isBcqrSearchInProgress=!1,this.inBcqrResults=!1,this.isCollapsedSelfHelpBcqr=!1},Bt=new function(){this.alchemyResults=null,this.isAlchemyQueryInProgress=!1,this.isCollapsedSelfHelpAlchemy=!1,this.areSolutionsPresent=!1,this.areInsightsPresent=!1,this.isAlchmeyPRRQuestionEnabled=!1,this.isAlchmeySolutionsEnabled=!1,this.isAlchmeyInsightsEnabled=!1,this.isPRRQuestionSubmitted=!1,this.isInsightActionButtonEnabled=!1,this.insightFeedbackSubmited=!1,this.disambiguationBranchingEnabled=!1},zt=new function(){this.isUserIsSigningIntoClientApp=!1,this.errorOnSignIn=!1,this.consolidateGetModalitiesAPI=!1,this.isGettingAvailableModalities=!1,this.alchemyThemeRoutingEnabled=!1,this.alchemyThemeRoutingShowWaitTime=!1,this.alchemyThemeRoutingShowHOOPs=!1,this.isRenderingModalitySection=!1,this.redirectForSignInLink="",this.isSignedIn=!1,this.userSignedInOnEntry=!0,this.disableCallToAction=!1,this.isOrgId=!1,this.isAdmin=!1,this.isMSFT=!1,this.inModalities=!1,this.isModalitiesSearchInProgress=!1,this.answerDeskContentModel=null,this.isCollapsedModalities=!1,this.userInfo=null,this.backgroundAuthUri="",this.hasThirdPartyCookiesEnabled=!0,this.clientTokenRetrievalInfoModel=null,this.authInfo=null,this.alchemyUnsupportedThemes=[],this.alchemyUserFacingThemes=[],this.manualThemeSelected=null,this.localizedDaysOfWeek=null,this.isUnauthSchemaFetching=!1,this.unAuthSignInResult=null,this.showUnAuthBranching=!1,this.SMCUnauthExperienceAlchemyAppName="smcunauth",this.unAuthBranchingEnabled=!1,this.modalityResponse=null,this.stage=Tt.NotSignIn,this.draftRequest=new Pt,this.isPhoneNumberValid=!0,this.isEmailValid=!0,this.isCreatingRequest=!1,this.createdRequest=null},Ut=new function(){this.SharedState=Mt,this.AutoSuggestState=Lt,this.SelfHelpBcqrState=Ht,this.SelfHelpAlchemyState=Bt,this.ModalitySectionState=zt,this.UserNoticeState=jt},Vt={GlobalState:Dt,NavState:At,HelpState:Rt,ContactState:Ut},Wt=function(){return(Wt=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)},qt=function(){return(qt=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)},Gt=function(){return(Gt=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)},Kt=function(){return(Kt=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)},Yt=function(e,t){void 0===e&&(e=Mt);var n=!1;t.supportSettingsConfig&&t.supportSettingsConfig.UnAuthSupportAllowedAppVers&&(n=t.supportSettingsConfig.UnAuthSupportAllowedAppVers.map((function(e){return e?e.toLowerCase():""})).indexOf((t.sourceApp||t.appVer||"").toLowerCase())>-1&&t.supportSettingsConfig.IsUnAuthSupportEnabled);var o,r,i=(o=t.supportSettingsConfig,r=ct(window.location.href,!0).linkquery,o&&o.IsDeepLinkEnabled&&r&&""!==r.trim()?r.slice(0,Math.min(80,250)):"");return Kt({},e,{isUnAuthSupportEnabled:n,isSMCExperiment15Enabled:!!t.supportSettingsConfig&&!!t.supportSettingsConfig.IsSMCExperiment15Enabled,isDeepLinkEnabled:!!t.supportSettingsConfig&&!!t.supportSettingsConfig.IsDeepLinkEnabled,isDeepLinkQuery:!!i,contactSearchedQuery:i,safActionMaxRetries:t.supportSettingsConfig?t.supportSettingsConfig.SAFActionMaxRetries:0,hideSelfHelpSmcIvr:!!t.supportSettingsConfig&&!!t.supportSettingsConfig.HideSelfHelpSmcIvr})},Qt=function(){return(Qt=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)},$t=function(){return($t=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)},Zt=function(){return(Zt=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)},Xt=function(){Je({content:[{contentId:"communityForumOption",contentName:"communityForumOption",areaName:"modalitiesSection",formnm:"maxFunnel"}],behavior:160})},Jt=function(e,t){var n=!!e&&!!e.response&&!!e.response.AgentModalities&&!!e.response.AgentModalities.Modalities&&e.response.AgentModalities.Modalities.length>0,o=!!e&&!!e.response&&!!e.response.NonAgentModalities&&!!e.response.NonAgentModalities.Modalities&&e.response.NonAgentModalities.Modalities.length>0,r={content:[{contentId:"alchemeThemeRoutingModalities",contentName:"alchemeThemeRoutingModalities",areaName:"modalitiesSection",formnm:"maxFunnel",modalityResponse:{isSuccess:t,agentModalities:n?JSON.stringify(e.response.AgentModalities.Modalities):null,nonAgentModalities:o?JSON.stringify(e.response.NonAgentModalities.Modalities):null}}],behavior:160};Je(r)},en=function(){return(en=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)},tn=n(75),nn=function(){return(nn=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)},on=Object(N.combineReducers)({AutoSuggestState:function(e,t){switch(void 0===e&&(e=Lt),t.type){case"FETCH_SUPPORTCONFIG_DATA_SUCCESS":case"FETCH_INITIALIZATION_DATA_SUCCESS":return function(e,t){return void 0===e&&(e=Lt),nn({},e,{isAutoSuggestEnabled:!!t.supportSettingsConfig&&!!t.supportSettingsConfig.IsAutoSuggestEnabled})}(e,t);case"SET_AUTOSUGGEST_RESULT":return function(e,t){return void 0===e&&(e=Lt),nn({},e,{autoSuggestResults:t.autoSuggestResults,isAutoSuggestHidden:!(t.autoSuggestResults&&0<t.autoSuggestResults.length)})}(e,t);case"TOGGLE_AUTOSUGGEST":return function(e,t){return void 0===e&&(e=Lt),nn({},e,{isAutoSuggestHidden:t.isAutoSuggestHidden})}(e,t);case"SET_CONTACT_SEARCHED_QUERY_TEXT":return function(e,t){return void 0===e&&(e=Lt),nn({},e,{isAutoSuggestQuery:t.isAutoSuggestQuery})}(e,t);case"SET_AUTOSUGGEST_FOCUSED_INDEX":return function(e,t){return void 0===e&&(e=Lt),nn({},e,{autoSuggestFocusedIndex:t.autoSuggestFocusedIndex})}(e,t);default:return e}},SharedState:function(e,t){switch(void 0===e&&(e=Mt),t.type){case"FETCH_ON_SESSION_START":return function(e,t){return void 0===e&&(e=Mt),Kt({},e,{contactSearchedQuery:t.query,showArticlesExpando:!0})}(e,t);case"SET_CONTACT_US_LOCALIZED_STRINGS":return function(e,t){return void 0===e&&(e=Mt),Kt({},e,{LocalizedStrings:t.contactUsLocalizedStrings})}(e,t);case"UPDATE_SIGN_IN":return function(e,t){return void 0===e&&(e=Mt),Kt({},e,{clientPromptForLoginState:t.clientPromptForLoginState})}(e,t);case"FETCH_CSRF_FORM_TOKEN_SUCCESS":return function(e,t){return void 0===e&&(e=Mt),Kt({},e,{requestVerificationToken:t.formToken})}(e,t);case"FETCH_SUPPORTCONFIG_DATA_SUCCESS":case"FETCH_INITIALIZATION_DATA_SUCCESS":return Yt(e,t);case"SET_CONTACT_SEARCHED_QUERY_TEXT":return function(e,t){return Kt({},e,{contactSearchedQuery:t.query})}(e,t);case"FETCH_ALCHEMY_SUCCESS":case"FETCH_BCQR_SUCCESS":case"FETCH_ALCHEMY_ERROR":case"FETCH_BCQR_ERROR":return function(e,t){return Kt({},e,{isDeepLinkQuery:!1})}(e);default:return e}},SelfHelpBcqrState:function(e,t){switch(void 0===e&&(e=Ht),t.type){case"INIT_SELF_HELP_BCQR_ON_SESSION_START":return function(e,t){return void 0===e&&(e=Ht),Qt({},e,{bcqrResults:t.bcqrResults,isBcqrSearchInProgress:!0,inBcqrResults:!1,isCollapsedSelfHelpBcqr:!1})}(e,t);case"FETCH_BCQR_SUCCESS":case"FETCH_BCQR_ERROR":return function(e,t){return void 0===e&&(e=Ht),Qt({},e,{bcqrResults:t.bcqrResults,inBcqrResults:!0})}(e,t);case"HANDLE_GETTING_BCQR_RESULTS_COMPLETE":return function(e,t){return void 0===e&&(e=Ht),Qt({},e,{isBcqrSearchInProgress:!1})}(e);case"UPDATE_SELF_HELP_BCQR_EXPANDO_STATE":return function(e,t){return void 0===e&&(e=Ht),Qt({},e,{isCollapsedSelfHelpBcqr:t.isCollapsedSelfHelpBcqr})}(e,t);default:return e}},SelfHelpAlchemyState:function(e,t){switch(void 0===e&&(e=Bt),t.type){case"INIT_SELF_HELP_ALCHEMY_ON_SESSION_START":return function(e,t){return void 0===e&&(e=Bt),$t({},e,{alchemyResults:null,isAlchemyQueryInProgress:!0,isCollapsedSelfHelpAlchemy:!1,areSolutionsPresent:!1,areInsightsPresent:!1,isPRRQuestionSubmitted:!1,insightFeedbackSubmited:!1})}(e);case"FETCH_ALCHEMY_SUCCESS":return function(e,t){if(void 0===e&&(e=Bt),t.alchemyResults&&t.alchemyResults.ThemeRoutingData&&t.alchemyResults.ThemeRoutingData.Nodes){t.alchemyResults.ThemeRoutingData.NodesMap={};for(var n=0;n<t.alchemyResults.ThemeRoutingData.Nodes.length;n++){var o=t.alchemyResults.ThemeRoutingData.Nodes[n];t.alchemyResults.ThemeRoutingData.NodesMap[o.Id]=o}}return $t({},e,{alchemyResults:t.alchemyResults?t.alchemyResults:{},isAlchemyQueryInProgress:!1,areSolutionsPresent:!!t.alchemyResults&&!!t.alchemyResults.Solutions&&t.alchemyResults.Solutions.length>0,areInsightsPresent:!!t.alchemyResults&&!!t.alchemyResults.Insights&&t.alchemyResults.Insights.length>0})}(e,t);case"FETCH_ALCHEMY_ERROR":return function(e,t){return void 0===e&&(e=Bt),$t({},e,{alchemyResults:t.alchemyResults,isAlchemyQueryInProgress:!1,areSolutionsPresent:!1,areInsightsPresent:!1})}(e,t);case"UPDATE_SELF_HELP_ALCHEMY_EXPANDO_STATE":return function(e,t){return void 0===e&&(e=Bt),$t({},e,{isCollapsedSelfHelpAlchemy:t.isCollapsedSelfHelpAlchemy})}(e,t);case"FETCH_SUPPORTCONFIG_DATA_SUCCESS":case"FETCH_INITIALIZATION_DATA_SUCCESS":return function(e,t){return void 0===e&&(e=Bt),$t({},e,{isAlchmeyPRRQuestionEnabled:!!t.supportSettingsConfig&&vt(t.environment,t.supportSettingsConfig.AlchemyPRRQuestionEnvironmentsEnabled),isAlchmeySolutionsEnabled:!!t.supportSettingsConfig&&vt(t.environment,t.supportSettingsConfig.AlchemySolutionEnvironmentsEnabled),isAlchmeyInsightsEnabled:!!t.supportSettingsConfig&&_t(t.environment,t.appVer,t.supportSettingsConfig.AlchemyInsightEnvironmentsEnabled,t.supportSettingsConfig.AlchemyInsightAppVersEnabled),isInsightActionButtonEnabled:!!t.supportSettingsConfig&&vt(t.environment,t.supportSettingsConfig.InsightActionButtonEnvironmentsEnabled),disambiguationBranchingEnabled:!!t.supportSettingsConfig&&!!t.supportSettingsConfig.DisambiguationBranchingEnabled})}(e,t);case"SUBMIT_ALCHEMY_PRR_QUESTION":return function(e,t){return void 0===e&&(e=Bt),$t({},e,{isPRRQuestionSubmitted:!0})}(e);case"SUBMIT_ALCHEMY_INSIGHT_FEEDBACK":return function(e,t){return void 0===e&&(e=Bt),$t({},e,{insightFeedbackSubmited:!0})}(e);default:return e}},ModalitySectionState:function(e,t){switch(void 0===e&&(e=zt),t.type){case"FETCH_SUPPORTCONFIG_DATA_SUCCESS":return function(e,t){return void 0===e&&(e=zt),Zt({},e,{consolidateGetModalitiesAPI:!!t.supportSettingsConfig&&t.supportSettingsConfig.ConsolidateGetModalitiesAPI,localizedDaysOfWeek:t.supportSettingsConfig?t.supportSettingsConfig.LocalizedDaysOfWeek:null,alchemyThemeRoutingEnabled:!!t.supportSettingsConfig&&!!t.supportSettingsConfig.AlchemyThemeRoutingEnabled,alchemyThemeRoutingShowWaitTime:!!t.supportSettingsConfig&&!!t.supportSettingsConfig.AlchemyThemeRoutingShowWaitTime,alchemyThemeRoutingShowHOOPs:!!t.supportSettingsConfig&&!!t.supportSettingsConfig.AlchemyThemeRoutingShowHOOPs})}(e,t);case"FETCH_INITIALIZATION_DATA_SUCCESS":return function(e,t){void 0===e&&(e=zt);var n=t.supportSettingsConfig&&t.supportSettingsConfig.AlchemyUserFacingThemes?Object.keys(t.supportSettingsConfig.AlchemyUserFacingThemes||{}).map((function(e){return{label:e,value:t.supportSettingsConfig.AlchemyUserFacingThemes[e]}})):[];return Zt({},e,{consolidateGetModalitiesAPI:!!t.supportSettingsConfig&&t.supportSettingsConfig.ConsolidateGetModalitiesAPI,alchemyUnsupportedThemes:t.supportSettingsConfig&&t.supportSettingsConfig.AlchemyUnsupportedThemes?t.supportSettingsConfig.AlchemyUnsupportedThemes:[],alchemyUserFacingThemes:n,localizedDaysOfWeek:t.supportSettingsConfig?t.supportSettingsConfig.LocalizedDaysOfWeek:null,SMCUnauthExperienceAlchemyAppName:t.supportSettingsConfig?t.supportSettingsConfig.SMCUnauthExperienceAlchemyAppName:"smcunauth",unAuthBranchingEnabled:!!t.supportSettingsConfig&&t.supportSettingsConfig.UnAuthBranchingEnabled,alchemyThemeRoutingEnabled:!!t.supportSettingsConfig&&!!t.supportSettingsConfig.AlchemyThemeRoutingEnabled,alchemyThemeRoutingShowWaitTime:!!t.supportSettingsConfig&&!!t.supportSettingsConfig.AlchemyThemeRoutingShowWaitTime,alchemyThemeRoutingShowHOOPs:!!t.supportSettingsConfig&&!!t.supportSettingsConfig.AlchemyThemeRoutingShowHOOPs})}(e,t);case"INIT_SELF_HELP_ALCHEMY_ON_SESSION_START":return function(e,t){void 0===e&&(e=zt);var n=new Pt;return n.UserDescription=t.searchQuery,Zt({},e,{draftRequest:n,isPhoneNumberValid:!0,isEmailValid:!0})}(e,t);case"INIT_MODALITY_SECTION_ON_SESSION_START":return function(e,t){return void 0===e&&(e=zt),Zt({},e,{answerDeskContentModel:t.modalities,isCollapsedModalities:!1,inModalities:!1,isModalitiesSearchInProgress:!1,isRenderingModalitySection:!0,userSignedInOnEntry:!0})}(e,t);case"FETCH_USERINFO":return function(e,t){return void 0===e&&(e=zt),Zt({},e,{inModalities:!1})}(e);case"FETCH_USERINFO_SUCCESS":return function(e,t){void 0===e&&(e=zt);var n=t.userInfo;return Zt({},e,{isSignedIn:!0,userInfo:n,isAdmin:n.IsAdmin,isOrgId:"orgid"===n.Provider.toLowerCase(),isMSFT:Fe.test(n.MemberName),draftRequest:Zt({},e.draftRequest,{UserEmail:n.MemberName})})}(e,t);case"FETCH_USERINFO_NOT_SIGNEDIN":return function(e,t){return void 0===e&&(e=zt),Zt({},e,{isSignedIn:!1})}(e);case"FETCH_USERINFO_ERROR":return function(e,t){return void 0===e&&(e=zt),Zt({},e,{isSignedIn:!1,hasThirdPartyCookiesEnabled:!1})}(e);case"FETCH_REDIRECT_LINK_SUCCESS":return function(e,t){return void 0===e&&(e=zt),Zt({},e,{redirectForSignInLink:t.redirectForSignInLink})}(e,t);case"SET_MODALITY_SECTION_STAGE":return function(e,t){return void 0===e&&(e=zt),Zt({},e,{stage:t.stage})}(e,t);case"FETCH_ANSWERDESK_MODALITIES":return function(e,t){return void 0===e&&(e=zt),Zt({},e,{isModalitiesSearchInProgress:!0})}(e);case"FETCH_ANSWERDESK_MODALITIES_SUCCESS":return function(e,t){void 0===e&&(e=zt);var n=!!e.userInfo&&Fe.test(e.userInfo.MemberName),o=!!e.userInfo&&je.test(e.userInfo.MemberName),r="MSA";return e.userInfo&&(r=e.userInfo.IsAdmin?"Admin":e.userInfo.Provider),Ze(ue.AuthType,o?"Student":n?"MSFTOrgID":r),Zt({},e,{answerDeskContentModel:t.answerDeskContentModel,inModalities:!!t.isUnAuthSupportEnabled||e.isSignedIn})}(e,t);case"FETCH_ANSWERDESK_MODALITIES_ERROR":return function(e,t){return void 0===e&&(e=zt),Zt({},e,{answerDeskContentModel:t.answerDeskContentModel,inModalities:e.isSignedIn})}(e,t);case"HANDLE_GETTING_MODALITIES_COMPLETE":return function(e,t){return void 0===e&&(e=zt),Zt({},e,{isModalitiesSearchInProgress:!1})}(e);case"UPDATE_MODALITIES_SECTION_EXPANDO_STATE":return function(e,t){return void 0===e&&(e=zt),Zt({},e,{isCollapsedModalities:t.isCollapsedModalities})}(e,t);case"SET_DISABLE_CALL_TO_ACTION":return function(e,t){return void 0===e&&(e=zt),Zt({},e,{disableCallToAction:!0})}(e);case"SET_USER_SIGNED_IN_ON_ENTRY":return function(e,t){return void 0===e&&(e=zt),Zt({},e,{userSignedInOnEntry:!1})}(e);case"FETCH_BACKGROUNDAUTH_URI_SUCCESS":return function(e,t){return void 0===e&&(e=zt),Zt({},e,{backgroundAuthUri:t.backgroundAuthUri})}(e,t);case"GET_INFO_CLIENT_TOKEN_RETRIEVAL_SUCCESS":return function(e,t){return void 0===e&&(e=zt),Zt({},e,{clientTokenRetrievalInfoModel:t.clientTokenRetrievalInfoModel})}(e,t);case"SET_IS_USER_SIGNING_INTO_CLIENT_APP":return function(e,t){return void 0===e&&(e=zt),Zt({},e,{isUserIsSigningIntoClientApp:t.spinnerStatus})}(e,t);case"ERROR_ON_SIGN_IN":return function(e,t){return void 0===e&&(e=zt),Zt({},e,{errorOnSignIn:t.errorOnSignIn})}(e,t);case"FETCH_UWP_AUTHINFO_SUCCESS":return function(e,t){return void 0===e&&(e=zt),Zt({},e,{authInfo:t.authInfo})}(e,t);case"FETCH_ALCHEMY_SUCCESS":return function(e,t){void 0===e&&(e=zt);var n=Zt({},e.draftRequest),o=Zt({},n.ExtensionAttributes);if(t&&t.alchemyResults){var r=t.alchemyResults;o[kt.Theme]=r.Theme&&r.Theme.Name?r.Theme.Name:"",o[kt.AimId]=r.CorrelationId?r.CorrelationId:"",o[kt.BucketId]=r.Insights&&r.Insights.length>0&&r.Insights[0]&&r.Insights[0].BucketId?r.Insights[0].BucketId.toString():"",n.ExtensionAttributes=o}return Zt({},e,{manualThemeSelected:null,draftRequest:n})}(e,t);case"FETCH_ALCHEMY_ERROR":return function(e,t){void 0===e&&(e=zt);var n=Zt({},e.draftRequest),o=Zt({},n.ExtensionAttributes);return o[kt.Theme]="",o[kt.AimId]="",o[kt.BucketId]="",n.ExtensionAttributes=o,Zt({},e,{draftRequest:n})}(e);case"SET_MANUALLY_SELECTED_ALCHEMY_THEME":return function(e,t){return void 0===e&&(e=zt),Zt({},e,{manualThemeSelected:t.theme})}(e,t);case"INIT_ALCHEMY_UNAUTH_ON_SESSION_START":return function(e,t){return void 0===e&&(e=zt),Zt({},e,{isUnauthSchemaFetching:!0})}(e);case"FETCH_UNAUTH_SCHEMA_SUCCESS":return function(e,t){return void 0===e&&(e=zt),Zt({},e,{isUnauthSchemaFetching:!1,unAuthSignInResult:t.payload})}(e,t);case"FETCH_UNAUTH_SCHEMA_ERROR":return function(e,t){return void 0===e&&(e=zt),Zt({},e,{isUnauthSchemaFetching:!1,unAuthSignInResult:null})}(e);case"TOGGLE_UNAUTH_BRANCHING":return function(e,t){return void 0===e&&(e=zt),Zt({},e,{showUnAuthBranching:!0})}(e);case"FETCH_AVAILABLE_MODALITIES_V2":return function(e,t){return void 0===e&&(e=zt),Zt({},e,{stage:Tt.ModalityOptions,isGettingAvailableModalities:!0})}(e);case"FETCH_AVAILABLE_MODALITIES_V2_SUCCESS":return function(e,t){return void 0===e&&(e=zt),t&&t.response&&t.response.AgentModalities&&t.response.AgentModalities.Modalities&&t.response.AgentModalities.Modalities.length>0&&t.response.AgentModalities.Modalities.sort((function(e,t){return e.Modality-t.Modality})),Jt(t,!0),t&&t.response&&t.response.ShowAskCommunity&&Xt(),Zt({},e,{modalityResponse:t.response,isGettingAvailableModalities:!1})}(e,t);case"FETCH_AVAILABLE_MODALITIES_V2_ERROR":return function(e,t){return void 0===e&&(e=zt),Xt(),Zt({},e,{modalityResponse:null,isGettingAvailableModalities:!1})}(e);case"UPDATE_IS_PHONENUMBER_VALID":return function(e,t){return void 0===e&&(e=zt),Zt({},e,{isPhoneNumberValid:t.isPhoneNumberValid})}(e,t);case"UPDATE_IS_EMAIL_VALID":return function(e,t){return void 0===e&&(e=zt),Zt({},e,{isEmailValid:t.isEmailValid})}(e,t);case"UPDATE_DRAFT_REQUEST":return function(e,t){void 0===e&&(e=zt);var n=Zt({},e.draftRequest),o=t.properties,r=Object.keys(o);return r&&r.length>0?(r.forEach((function(e){if("ExtensionAttributes"===e||"MetaDatas"===e){var t=Zt({},n[e]),r=o[e],i=Object.keys(r);i&&i.length>0&&i.forEach((function(e){t[e]=r[e]})),n[e]=t}else n[e]=o[e]})),Zt({},e,{draftRequest:n})):e}(e,t);case"CREATE_REQUEST":return function(e,t){return void 0===e&&(e=zt),Zt({},e,{isCreatingRequest:!0})}(e);case"CREATE_REQUEST_SUCCESS":return function(e,t){return void 0===e&&(e=zt),Zt({},e,{draftRequest:new Pt,isPhoneNumberValid:!0,isEmailValid:!0,createdRequest:t.request,isCreatingRequest:!1})}(e,t);case"CREATE_REQUEST_ERROR":return function(e,t){return void 0===e&&(e=zt),Zt({},e,{isCreatingRequest:!1})}(e);default:return e}},UserNoticeState:function(e,t){switch(void 0===e&&(e=jt),t.type){case"DISMISS_NOTICE":return function(e,t){void 0===e&&(e=jt);var n=e.userNotices.map((function(e){return e.noticeId===t.noticeId?en({},e,{isDismissed:!0}):e}));return en({},e,{userNotices:n})}(e,t);case"FETCH_USER_NOTICES_SUCCESS":return function(e,t){void 0===e&&(e=jt);var n=t.userNotices.map((function(e){var t=tn();return new Ft(t,e.Title)}));return en({},e,{userNotices:n})}(e,t);case"FETCH_USER_NOTICES_ERROR":return function(e,t){return void 0===e&&(e=jt),en({},e,{userNotices:[]})}(e);default:return e}}}),rn=Object(N.combineReducers)({GlobalState:function(e,t){switch(void 0===e&&(e=Dt),t.type){case"FETCH_INITIALIZATION_DATA_SUCCESS":return function(e,t){return void 0===e&&(e=Dt),Gt({},e,{localStringsMap:t.localStringArray,isRtl:t.isRtl,namespace:t.namespace,socDataGrabComplete:!0,market:t.market,appVer:t.appVer,version:t.version,sourceApp:t.sourceApp})}(e,t);case"SET_THEME":return function(e,t){return void 0===e&&(e=Dt),Gt({},e,{theme:t.theme})}(e,t);case"SET_DISPLAY_NAMESPACE":return function(e,t){return void 0===e&&(e=Dt),Gt({},e,{displayNamespace:t.displayNamespace})}(e,t);case"SET_INITIALIZATION_COMPLETE":return function(e,t){return void 0===e&&(e=Dt),Gt({},e,{initializationComplete:!0})}(e);default:return e}},NavState:function(e,t){switch(void 0===e&&(e=At),t.type){case"DISABLE_BACK_BUTTON":return function(e,t){return void 0===e&&(e=At),!0===t.disabled?Wt({},e,{backButtonDisabled:!0}):Wt({},e,{backButtonDisabled:!1})}(e,t);case"EXECUTE_SEARCH":return function(e,t){return void 0===e&&(e=At),Wt({},e,{history:e.history.concat([t.newIframeSrc]),helpIframeSrc:t.newIframeSrc,userSearched:!0})}(e,t);case"ADD_TO_HISTORY":return function(e,t){return void 0===e&&(e=At),e.backButtonHit?Wt({},e,{backButtonHit:!1}):e.homeButtonHit?Wt({},e,{homeButtonHit:!1}):e.userSearched?Wt({},e,{userSearched:!1}):e.inContactUs?Wt({},e,{history:e.history.concat([t.href]),contactIframeSrc:t.href}):Wt({},e,{history:e.history.concat([t.href]),helpIframeSrc:t.href})}(e,t);case"POP_HISTORY":return function(e,t){return void 0===e&&(e=At),e.inContactUs&&"CONTACT_US_HOME"!==e.history[e.history.length-1]?"CONTACT_US_HOME"===e.history[e.history.length-2]?Wt({},e,{backButtonHit:!0,history:e.history.slice(0,e.history.length-1).slice(),inContactArticle:!1,contactIframeSrc:null}):Wt({},e,{backButtonHit:!0,history:e.history.slice(0,e.history.length-1).slice(),inContactArticle:!0,contactIframeSrc:e.history[e.history.length-2]}):Wt({},e,{inContactUs:!1,backButtonHit:!0,history:e.history.slice(0,e.history.length-1).slice(),inContactArticle:!1,helpIframeSrc:e.history[e.history.length-2]})}(e);case"NAV_HOME":return function(e,t){return void 0===e&&(e=At),1===e.history.length?Wt({},e):Wt({},e,{backButtonHit:!1,homeButtonHit:!0,history:e.history.concat([e.history[0]]),helpIframeSrc:e.history[0]})}(e);case"NAV_CONTACT_US":return function(e,t){return void 0===e&&(e=At),Wt({},e,{inContactUs:!0,history:e.history.concat(["CONTACT_US_HOME"])})}(e);case"CONTACT_ARTICLE_CLICKED":return function(e,t){return void 0===e&&(e=At),Wt({},e,{contactIframeSrc:t.articleUrl,inContactArticle:!0,userSearched:!0,backButtonHit:!1,history:e.history.concat([t.articleUrl])})}(e,t);case"SET_HELP_IFRAME_STATE":return function(e,t){return void 0===e&&(e=At),Wt({},e,{helpIframeSrc:t.iframeSrc})}(e,t);case"PUSH_TO_HISTORY":return function(e,t){return void 0===e&&(e=At),Wt({},e,{history:[t.url].concat(e.history)})}(e,t);case"SHOW_MODALITY_EXPERIENCE_IN_IFRAME":return function(e,t){return void 0===e&&(e=At),Wt({},e,{contactIframeSrc:t.iframeModalityLink,inContactArticle:!1,backButtonHit:!1})}(e,t);case"UPDATE_HELP_FORM_NAME":return function(e,t){return void 0===e&&(e=At),Wt({},e,{helpFormName:t.helpFormName})}(e,t);default:return e}},HelpState:function(e,t){switch(void 0===e&&(e=Rt),t.type){case"SET_TELL_ME_QUERY":return function(e,t){return void 0===e&&(e=Rt),qt({},e,{tellMeQuery:t.query})}(e,t);case"SET_DEFAULT_HOME_HREF":return function(e,t){return void 0===e&&(e=Rt),qt({},e,{defaultHomeHref:t.defaultHomeHref})}(e,t);case"FETCH_INITIALIZATION_DATA_SUCCESS":return function(e,t){return void 0===e&&(e=Rt),qt({},e,{defaultArticleGuid:t.defaultArticleGuid,navBarSettings:t.navBarSettings})}(e,t);case"SET_HELP_IFRAME_STATE":return function(e,t){return void 0===e&&(e=Rt),qt({},e,{helpIframeSrc:t.iframeSrc,templateUrl:t.templateUrl})}(e,t);case"SET_RENDER_AUTOSUGGEST":return function(e,t){return void 0===e&&(e=Rt),qt({},e,{renderAutoSuggest:t.renderAutoSuggest})}(e,t);case"SET_HELP_NAV_IMG_THEME":return function(e,t){return void 0===e&&(e=Rt),qt({},e,{helpNavImageTheme:t.imgTheme})}(e,t);case"SET_AUTOSUGGEST_ENDPOINTS":return function(e,t){return void 0===e&&(e=Rt),qt({},e,{autosuggestEndpointUrl:t.autosuggestEndpointUrl})}(e,t);case"SET_HELP_LOCALIZED_STRINGS":return function(e,t){return void 0===e&&(e=Rt),qt({},e,{helpLocalizedStrings:t.helpLocalizedStrings})}(e,t);case"SET_NAVBAR_SETTINGS":return function(e,t){return void 0===e&&(e=Rt),qt({},e,{navBarSettings:t.navBarSettings})}(e,t);case"SET_DROPDOWN_GW_ENABLED":return function(e,t){return void 0===e&&(e=Rt),qt({},e,{dropdownGwEnabled:t.dropdownGwEnabled})}(e,t);default:return e}},ContactState:on}),an=n(195),sn=n(6),cn=n(70),ln=n(71),un=n(1),dn=n(45),pn=n(46),hn=n(72),fn=function(e,t){return e===t||"function"==typeof t&&e===t.toString()};function mn(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){return hn.filter.call(e,(function(e){var n=e.type,o=t.length;if(1===o)return fn(n,t[0]);for(var r=0;r<o;r++)if(fn(n,t[r]))return!0;return!1}))}}var gn=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}();var bn=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return n.source=e,n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),gn(t,null,[{key:"of",value:function(){return new this(dn.of.apply(void 0,arguments))}},{key:"from",value:function(e,t){return new this(Object(pn.from)(e,t))}}]),gn(t,[{key:"lift",value:function(e){var n=new t(this);return n.operator=e,n}},{key:"ofType",value:function(){return mn.apply(void 0,arguments)(this)}}]),t}(un.Observable),yn="@@redux-observable/EPIC_END",vn=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},_n={adapter:{input:function(e){return e},output:function(e){return e}}};var Sn=n(20);function Cn(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}n(85),n(86),n(87),n(89),n(90),n(91),n(92),n(93),n(94),n(96),n(97),n(98),n(99),n(100),n(102),n(103),n(105);var xn=function(e){return{type:"FETCH_BCQR_ERROR",bcqrResults:e}},wn=function(e){return{type:"INIT_SELF_HELP_ALCHEMY_ON_SESSION_START",searchQuery:e}},Tn=function(e){return{type:"FETCH_ALCHEMY_ERROR",alchemyResults:e}},kn=function(e){return{type:"INIT_MODALITY_SECTION_ON_SESSION_START",modalities:e}},In=function(e){return{type:"SET_IS_USER_SIGNING_INTO_CLIENT_APP",spinnerStatus:e}},On=function(e){return{type:"SET_MODALITY_SECTION_STAGE",stage:e}},En=function(e){return{type:"FETCH_BACKGROUNDAUTH_URI",provider:e}},Nn=function(e){return{type:"UPDATE_DRAFT_REQUEST",properties:e}},Pn=function(e,t){return{type:"SET_CONTACT_SEARCHED_QUERY_TEXT",query:e,isAutoSuggestQuery:t}},Dn=function(e){return!!(e.ContactState.SelfHelpAlchemyState.alchemyResults&&e.ContactState.SelfHelpAlchemyState.alchemyResults.Theme&&e.ContactState.SelfHelpAlchemyState.alchemyResults.Theme.Name&&e.ContactState.ModalitySectionState.alchemyUnsupportedThemes)&&e.ContactState.ModalitySectionState.alchemyUnsupportedThemes.indexOf(e.ContactState.SelfHelpAlchemyState.alchemyResults.Theme.Name)>-1},An=function(e){return!!e.ContactState.ModalitySectionState.manualThemeSelected},Rn=function(e){return{type:"SET_AUTOSUGGEST_RESULT",autoSuggestResults:e}},Mn=function(e){return{type:"TOGGLE_AUTOSUGGEST",isAutoSuggestHidden:e}},Fn=function(e){return{type:"SET_AUTOSUGGEST_FOCUSED_INDEX",autoSuggestFocusedIndex:e}},jn=function(e,t,n,o){return new(n||(n=Promise))((function(r,i){function a(e){try{c(o.next(e))}catch(e){i(e)}}function s(e){try{c(o.throw(e))}catch(e){i(e)}}function c(e){e.done?r(e.value):new n((function(t){t(e.value)})).then(a,s)}c((o=o.apply(e,t||[])).next())}))},Ln=function(e,t){var n,o,r,i,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,o&&(r=2&i[0]?o.return:i[0]?o.throw||((r=o.return)&&r.call(o),0):o.next)&&!(r=r.call(o,i[1])).done)return r;switch(o=0,r&&(i=[2&i[0],r.value]),i[0]){case 0:case 1:r=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,o=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(r=a.trys,(r=r.length>0&&r[r.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!r||i[1]>r[0]&&i[1]<r[3])){a.label=i[1];break}if(6===i[0]&&a.label<r[1]){a.label=r[1],r=i;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(i);break}r[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],o=0}finally{n=r=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}};function Hn(e,t,n){var o;return(o={type:e})[t]=n,o}var Bn,zn=function(e){return{type:"ADD_TO_HISTORY",href:e}},Un=function(e){return{type:"DISABLE_BACK_BUTTON",disabled:e}},Vn=function(e,t,n){return{type:"FETCH_INITIALIZATION_DATA_SUCCESS",defaultArticleGuid:e.DefaultArticleGuid,namespace:e.Namespace,localStringArray:e.LocalizedStrings.LocalizedStrings,isRtl:e.LocalizedStrings.IsRtl,navBarSettings:e.NavigationBarSettings,market:e.Market,appVer:e.AppVer,version:e.Version,supportSettingsConfig:e.SupportSettingsConfig,environment:t,sourceApp:n}},Wn=function(e){return{type:"SET_HELP_IFRAME_STATE",iframeSrc:e.iframeSrc,templateUrl:e.templateUrl}},qn=function(e){return{type:"CONTACT_ARTICLE_CLICKED",articleUrl:e}},Gn=function(e){return e===le.agavePane?{type:"UPDATE_NS_AND_VERSION_COOKIES_FOR_AGAVE_PANE"}:{type:"NO_UPDATE_FOR_NS_AND_VERSION_COOKIES_FOR_AGAVE_PANE"}},Kn=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:_n;if("function"!=typeof e)throw new TypeError("You must provide a root Epic to createEpicMiddleware");t=vn({},_n,t);var n=new sn.Subject,o=t.adapter.input(new bn(n)),r=new sn.Subject,i=void 0,a=function(a){return i=a,function(a){var s;return(s=cn.map.call(r,(function(e){var n=i,r="dependencies"in t?e(o,n,t.dependencies):e(o,n);if(!r)throw new TypeError('Your root Epic "'+(e.name||"<anonymous>")+"\" does not return a stream. Double check you're not missing a return statement!");return r})),ln.switchMap).call(s,(function(e){return t.adapter.output(e)})).subscribe((function(e){try{i.dispatch(e)}catch(e){console.error(e)}})),r.next(e),function(e){var t=a(e);return n.next(e),t}}};return a.replaceEpic=function(e){i.dispatch({type:yn}),r.next(e)},a}(function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(){for(var e=arguments.length,n=Array(e),o=0;o<e;o++)n[o]=arguments[o];return Sn.merge.apply(void 0,Cn(t.map((function(e){var t=e.apply(void 0,n);if(!t)throw new TypeError('combineEpics: one of the provided Epics "'+(e.name||"<anonymous>")+"\" does not return a stream. Double check you're not missing a return statement!");return t}))))}}((function(e,t){var n={"Content-Type":"application/json"};return e.ofType("FETCH_INITIALIZATION_DATA").mergeMap((function(o){var r="/f1/GetInitData",i=t.getState();return i.GlobalState.environment===le.SOC&&(r=ft(r,i.GlobalState.appVer,i.GlobalState.sourceApp)),r=gt(r),un.Observable.ajax.post(r,{Host:o.host,Platform:o.platform,Market:o.market,RequestedStringIds:o.requestedStringIds,Version:o.version,Namespace:o.namespace,LCID:o.LCID},n).map((function(e){return Vn(e.response,o.environment,i.GlobalState.sourceApp)})).takeUntil(e.ofType("FETCH_INITIALIZATION_DATA")).retry(2).catch((function(e){return un.Observable.of({type:"FETCH_INITIALIZATION_DATA_ERROR"})}))}))}),(function(e,t){var n={"Content-Type":"application/json"};return e.ofType("FETCH_SUPPORTCONFIG_DATA").mergeMap((function(o){var r=t.getState(),i=gt("/f1/GetInitData");return r.GlobalState.environment===le.SOC&&(i=ft(i,r.GlobalState.appVer,r.GlobalState.sourceApp)),un.Observable.ajax.post(i,{Host:o.host,Platform:o.platform,Market:o.market,RequestedStringIds:o.requestedStringIds,Version:o.version,Namespace:o.namespace,LCID:o.LCID},n).map((function(e){return t=e.response,n=o.environment,i=o.appVer,a=r.GlobalState.sourceApp,{type:"FETCH_SUPPORTCONFIG_DATA_SUCCESS",supportSettingsConfig:t.SupportSettingsConfig,environment:n,appVer:i,sourceApp:a};var t,n,i,a})).takeUntil(e.ofType("FETCH_SUPPORTCONFIG_DATA")).retry(2).catch((function(e){return un.Observable.of({type:"FETCH_SUPPORTCONFIG_DATA_ERROR"})}))}))}),(function(e,t){return e.ofType("FETCH_AUTOSUGGEST").mergeMap((function(n){var o=St(t.getState().GlobalState.environment,t.getState().GlobalState.appVer,t.getState().GlobalState.sourceApp);o.search=encodeURIComponent(n.query);var r=Object.keys(o).map((function(e){return e+"="+o[e]})).join("&");return un.Observable.ajax.get(Ne+"?"+r,ke).map((function(e){return Rn(null!==e.response?e.response.value:[])})).takeUntil(e.ofType("FETCH_AUTOSUGGEST")).retry(2).catch((function(e){return jn(void 0,void 0,void 0,(function(){return Ln(this,(function(e){return[2,Rn([])]}))}))}))}))}),(function(e,t){var n={"Content-Type":"application/x-www-form-urlencoded; charset=UTF-8"};return e.ofType("INIT_SELF_HELP_BCQR_ON_SESSION_START").mergeMap((function(o){var r=t.getState(),i=ft("/f1/instantHelp",r.GlobalState.appVer,r.GlobalState.sourceApp);return i=gt(i),un.Observable.ajax.post(i,"query="+encodeURIComponent(t.getState().ContactState.SharedState.contactSearchedQuery)+"&__RequestVerificationToken="+encodeURIComponent(t.getState().ContactState.SharedState.requestVerificationToken),n).map((function(e){return null==e.response?xn([]):function(e){return{type:"FETCH_BCQR_SUCCESS",bcqrResults:e}}(e.response)})).takeUntil(e.ofType("INIT_SELF_HELP_BCQR_ON_SESSION_START")).retry(2).catch((function(e){return un.Observable.of(xn([]))}))}))}),(function(e,t){var n={"Content-Type":"application/x-www-form-urlencoded; charset=UTF-8"};return e.ofType("INIT_SELF_HELP_ALCHEMY_ON_SESSION_START").mergeMap((function(o){var r=t.getState(),i=bt("/home/GetAlchemyContentAsync",r.GlobalState.market);return r.GlobalState.environment!==le.agavePane&&r.GlobalState.environment!==le.SOC||(i=ft(i,r.GlobalState.appVer,r.GlobalState.sourceApp)),i=gt(i),un.Observable.ajax.post(i,"query="+encodeURIComponent(t.getState().ContactState.SharedState.contactSearchedQuery)+"&metadata=",n).map((function(e){var t=e.response;if(null===t)return yt("No Alchemy result returned."),Tn({});var n=t.Incidents,o=void 0===n?[]:n,r=t.Insights,i=void 0===r?[]:r,a=t.Solutions,s=void 0===a?[]:a;return o&&o.length||i&&i.length||s&&s.length||yt("No Alchemy result returned. CID: "+t.CorrelationId),function(e){return{type:"FETCH_ALCHEMY_SUCCESS",alchemyResults:e}}(t)})).takeUntil(e.ofType("INIT_SELF_HELP_ALCHEMY_ON_SESSION_START")).retry(2).catch((function(e){return un.Observable.of(Tn({}))}))}))}),(function(e,t){var n={"Content-Type":"application/x-www-form-urlencoded; charset=UTF-8"};return e.ofType("INIT_ALCHEMY_UNAUTH_ON_SESSION_START").mergeMap((function(o){var r=t.getState(),i=bt("/home/GetAlchemyContentAsync",r.GlobalState.market);r.GlobalState.environment!==le.agavePane&&r.GlobalState.environment!==le.SOC||(i=ft(i,r.GlobalState.appVer,r.GlobalState.sourceApp)),i=gt(i);var a=r.ContactState.ModalitySectionState.SMCUnauthExperienceAlchemyAppName;return un.Observable.ajax.post(i,"query=UnAuth_Assist_Sign_In_Flow_9009808&alchemyApp="+a,n).map((function(e){var t=e.response;if(null===t)return yt("Unauth schema not returned"),{type:"FETCH_UNAUTH_SCHEMA_ERROR"};var n=t.Insights;return(void 0===n?[]:n).length||yt("Unauth schema insight not returned. CID: "+t.CorrelationId),{type:"FETCH_UNAUTH_SCHEMA_SUCCESS",payload:t}})).takeUntil(e.ofType("INIT_ALCHEMY_UNAUTH_ON_SESSION_START")).retry(2).catch((function(e){return un.Observable.of({type:"FETCH_UNAUTH_SCHEMA_ERROR"})}))}))}),(function(e,t){return e.ofType("MANAGE_ALCHEMY_THEME").map((function(e){var n=t.getState();if(!Dn(n)||An(n))return{type:"FETCH_ANSWERDESK_MODALITIES"}}))}),(function(e,t){var n={"Content-Type":"application/x-www-form-urlencoded; charset=UTF-8"};return e.ofType("FETCH_USERINFO").mergeMap((function(e){var o=t.getState(),r="/home/UserInfo?cacheBuster="+(new Date).getTime().toString();return o.GlobalState.environment===le.SOC&&(r=ft(r,o.GlobalState.appVer,o.GlobalState.sourceApp)),r=gt(r),un.Observable.ajax.post(r,"__RequestVerificationToken="+encodeURIComponent(t.getState().ContactState.SharedState.requestVerificationToken),n).map((function(e){return(t=e.response)&&t.Cid?{type:"FETCH_USERINFO_SUCCESS",userInfo:t}:{type:"FETCH_USERINFO_NOT_SIGNEDIN"};var t})).catch((function(e){return un.Observable.of({type:"FETCH_USERINFO_ERROR"})}))}))}),(function(e,t){var n={"Content-Type":"application/x-www-form-urlencoded; charset=UTF-8"};return e.ofType("FETCH_USERINFO_FOR_CLIENT_SIGNIN").mergeMap((function(e){var o=t.getState(),r=(new Date).getTime().toString(),i=o.ContactState.ModalitySectionState.clientTokenRetrievalInfoModel;null!==i.UserContext&&(n["User-Context"]=i.UserContext);var a="/home/UserInfo?cacheBuster="+r;return a=gt(a),o.GlobalState.environment===le.SOC&&(a=ft(a,o.GlobalState.appVer,o.GlobalState.sourceApp)),un.Observable.ajax.post(a,"__RequestVerificationToken="+encodeURIComponent(o.ContactState.SharedState.requestVerificationToken),n).map((function(e){return nt(300,"maxFunnel","signInButton","modalitiesSection","contactUsEpics.ts","userInfoFetchAfterClientSignInEpic","clientUserInfoFetch","User Info fetch success after client login? "+!(!e.response||!e.response.Cid)),(t=e.response)&&t.Cid?{type:"FETCH_USERINFO_SUCCESS",userInfo:t}:{type:"ERROR_ON_SIGN_IN",errorOnSignIn:!0};var t})).catch((function(e){return un.Observable.of({type:"FETCH_USERINFO_ERROR"})}))}))}),(function(e,t){return e.ofType("REDIRECT_FOR_SIGN_IN").mergeMap((function(n){var o=t.getState(),r=gt("/home/RedirectForSignInLink"),i="/home/JSAuthEventNotification";return o.GlobalState.environment===le.SOC&&(r=ft(r,o.GlobalState.appVer,o.GlobalState.sourceApp),i=ft(i,o.GlobalState.appVer,o.GlobalState.sourceApp)),r=ht(r,{returnUriValue:encodeURIComponent(window.location.protocol+"//"+window.location.host+gt(i))}),un.Observable.ajax.get(r).map((function(e){return{type:"FETCH_REDIRECT_LINK_SUCCESS",redirectForSignInLink:e.response}})).takeUntil(e.ofType("REDIRECT_FOR_SIGN_IN"))}))}),(function(e,t){var n={"Content-Type":"application/x-www-form-urlencoded; charset=UTF-8"};return e.ofType("FETCH_ANSWERDESK_MODALITIES").mergeMap((function(o){var r=t.getState(),i=r.ContactState.SelfHelpAlchemyState.alchemyResults,a=function(e){if(Dn(e))return e.ContactState.ModalitySectionState.manualThemeSelected;var t=e.ContactState.SelfHelpAlchemyState.alchemyResults;return t&&t.Theme?t.Theme.Name:null}(r),s=i?i.CorrelationId:null,c=window.location.href.match(new RegExp("assetid=([^&]+)","i")),l=c&&2===c.length?c[1]:null,u=bt(ht("/home/GetAnswerDeskModalities",{alchemyTheme:a,alchemyAimId:s,assetId:l,timezoneOffsetInMinutes:(new Date).getTimezoneOffset().toString()}),r.GlobalState.market);return r.GlobalState.environment===le.SOC&&(u=ft(u,r.GlobalState.appVer,r.GlobalState.sourceApp)),u=gt(u),un.Observable.ajax.post(u,"query="+encodeURIComponent(t.getState().ContactState.SharedState.contactSearchedQuery)+"&__RequestVerificationToken="+encodeURIComponent(t.getState().ContactState.SharedState.requestVerificationToken),n).map((function(e){return t=e.response,void 0===(n=r.ContactState.SharedState.isUnAuthSupportEnabled)&&(n=!1),{type:"FETCH_ANSWERDESK_MODALITIES_SUCCESS",answerDeskContentModel:t,isUnAuthSupportEnabled:n};var t,n})).takeUntil(e.ofType("FETCH_ANSWERDESK_MODALITIES")).catch((function(e){return un.Observable.of({type:"FETCH_ANSWERDESK_MODALITIES_ERROR",answerDeskContentModel:null})}))}))}),(function(e,t){return e.ofType("FETCH_BACKGROUNDAUTH_URI").switchMap((function(n){var o=t.getState(),r="/home/GetBackgroundAuthUri?authProvider="+n.provider;return r=gt(r),o.GlobalState.environment===le.SOC&&(r=ft(r,o.GlobalState.appVer,o.GlobalState.sourceApp)),un.Observable.ajax.get(r,{"Content-Type":"application/json"}).map((function(e){return{type:"FETCH_BACKGROUNDAUTH_URI_SUCCESS",backgroundAuthUri:e.response}})).takeUntil(e.ofType("FETCH_BACKGROUNDAUTH_URI"))}))}),(function(e,t){return e.ofType("FETCH_BACKGROUNDAUTH_URI_SUCCESS","SIGNING_IN_USER").filter((function(){return[le.agavePane,le.SOC].indexOf(t.getState().GlobalState.environment)>-1})).switchMap((function(e){return un.Observable.interval(1e3).takeWhile((function(e){return!t.getState().ContactState.ModalitySectionState.isSignedIn&&t.getState().ContactState.ModalitySectionState.hasThirdPartyCookiesEnabled})).map((function(){return{type:"FETCH_USERINFO"}}))}))}),(function(e,t){return e.ofType("FETCH_USERINFO_SUCCESS").map((function(e){return t.getState().ContactState.ModalitySectionState.alchemyThemeRoutingEnabled?On(Tt.ThemeOptions):{type:"MANAGE_ALCHEMY_THEME"}}))}),(function(e,t){return e.ofType("FETCH_ALCHEMY_SUCCESS","FETCH_ALCHEMY_ERROR").map((function(e){return t.getState().ContactState.SharedState.isUnAuthSupportEnabled?{type:"FETCH_ANSWERDESK_MODALITIES"}:{type:"FETCH_USERINFO"}}))}),(function(e,t){return e.ofType("GET_INFO_CLIENT_TOKEN_RETRIEVAL").switchMap((function(n){var o=t.getState(),r=t.getState().ContactState.ModalitySectionState.clientTokenRetrievalInfoModel,i={"Content-Type":"application/json"};null!==r&&(i["User-Context"]=r.UserContext);var a="/home/GetInfoForClientTokenRetrieval";return a=gt(a),o.GlobalState.environment===le.SOC&&(a=ft(a,o.GlobalState.appVer,o.GlobalState.sourceApp)),un.Observable.ajax.get(a,i).map((function(e){return{type:"GET_INFO_CLIENT_TOKEN_RETRIEVAL_SUCCESS",clientTokenRetrievalInfoModel:e.response}})).takeUntil(e.ofType("GET_INFO_CLIENT_TOKEN_RETRIEVAL"))}))}),(function(e,t){return e.ofType("UPDATE_SIGN_IN").mergeMap((function(e){return un.Observable.if((function(){return t.getState().ContactState.SharedState.clientPromptForLoginState===Qe.SUCCESS}),un.Observable.of({type:"SIGNING_IN_USER"}),un.Observable.of(In(!1)))}))}),(function(e,t){var n={headers:Ue};return e.ofType("FETCH_INITIALIZATION_DATA_SUCCESS").filter((function(){return t.getState().GlobalState.environment===le.agavePane})).mergeMap((function(o){var r=t.getState(),i="__RequestVerificationToken="+encodeURIComponent(r.ContactState.SharedState.requestVerificationToken),a=gt("/home/UserInfo?AppVer="+r.GlobalState.appVer);return un.Observable.ajax.post(a,i,n).takeUntil(e.ofType("FETCH_INITIALIZATION_DATA_SUCCESS")).map((function(e){return Gn(r.GlobalState.environment)})).catch((function(e){return un.Observable.of(Gn(r.GlobalState.environment))}))}))}),(function(e,t){return e.ofType("FETCH_CSRF_FORM_TOKEN").mergeMap((function(n){var o=t.getState(),r=(new Date).getTime().toString(),i=mt("/home/GetCSRFFormToken?cacheBuster="+r,n.namespace,n.version);return i=gt(i),o.GlobalState.environment===le.SOC&&(i=ft(i,o.GlobalState.appVer,o.GlobalState.sourceApp)),un.Observable.ajax.get(i,n.headers).map((function(e){return{type:"FETCH_CSRF_FORM_TOKEN_SUCCESS",formToken:e.response}})).takeUntil(e.ofType("FETCH_CSRF_FORM_TOKEN")).catch((function(e){return un.Observable.of({type:"FETCH_CSRF_FORM_TOKEN_ERROR"})}))}))}),(function(e,t){return e.ofType("SIGN_IN_USER_INTO_CLIENT").switchMap((function(e){var n=window,o=t.getState(),r=o.ContactState.ModalitySectionState.clientTokenRetrievalInfoModel;nt(300,"maxFunnel","signInButton","modalitiesSection","contactUsEpics.ts","signInUserIntoClientAppEpic","clientLoginResult","Initiating login with "+JSON.stringify(r));var i,a,s=rt(o.GlobalState.namespace)?(i=nt,a=function(e,t,n){i(300,"maxFunnel","signInButton","modalitiesSection","macHelpPaneServices.ts",e,t,n)},{getClientToken:function(e){return a("getClientToken","clientLogin","Call mac sign in handler"),new Promise((function(t,n){try{e&&e.WebViewJavascriptBridge||n({status:"Mac Bridge is undefined."}),e.WebViewJavascriptBridge.callHandler("signInCallback",{},(function(e){var o,r=JSON.parse(e);r.success?(a("getClientToken","clientLogin","Mac sign in handler success"),t({provider:(o=r.tokenValue,o.toLowerCase().indexOf("passport")>-1?Ye.MSA:Ye.AAD),token:r.tokenValue})):(a("getClientToken","clientLogin","Mac sign in handler failure"),n({status:"Mac client login failure: {response.success}."}))}))}catch(e){var o=JSON.stringify(e);a("getClientToken","clientLoginError","Mac sign exception in promise creation: "+o),n({status:"Error on callback."})}}))}}).getClientToken(n,null):function(e){var t=function(t,n,o){e(300,"maxFunnel","signInButton","modalitiesSection","helpPaneServices.ts",t,n,o)};return{getClientToken:function(e,n){var o="",r=new Promise((function(e,t){e({provider:"",token:""})})),i=!1;try{if(void 0===typeof e.PromptForLogin||void 0===typeof e.GetUserIdentityProvider||void 0===typeof e.GetToken&&void 0===typeof e.GetTokenAsync)t("getClientToken","clientLoginError","One or more of the client login APIs are undefined:\n                    clientWindow.PromptForLogin:"+typeof e.PromptForLogin+"\n                    clientWindow.GetUserIdentityProvider:"+typeof e.GetUserIdentityProvider+"\n                    clientWindow.GetToken: "+typeof e.GetToken+" clientWindow.GetTokenAsync: "+typeof e.GetTokenAsync);else if(!0===(i=e.PromptForLogin()))if(void 0!==e.GetToken){t("getClientToken","clientLogin","Going through GetToken synchronous path");var a=e.GetUserIdentityProvider();o=e.GetToken(n.Encryption,n.SiteDomain,n.SignInEndpoint,n.AADAppId),r=new Promise((function(e,t){return e({provider:a,token:o})}))}else void 0!==e.GetTokenAsync?(t("getClientToken","clientLogin","Going through GetTokenAsync asynchronous path"),r=new Promise((function(t,o){e.GetTokenAsync({resourceId:n.AADAppId,authorityUrl:n.SignInEndpoint},{targetUrl:n.SiteDomain,policy:n.Encryption},(function(e){t(e)}))}))):t("getClientToken","clientLoginError","client didn't provide a GetToken or GetTokenAsync function");else t("getClientToken","clientLoginError","user didn't log in")}catch(e){console.error(e),t("getClientToken","clientLoginError",JSON.stringify(e)+" hasUserLoggedIntoClient: "+i)}return r}}}(nt).getClientToken(n.external,r);return un.Observable.from(s).map((function(e){return function(e){return{type:"SIGN_IN_USER_INTO_CLIENT_AGGREGATOR",authInfo:e}}(e)})).catch((function(e){return un.Observable.of(In(!1))}))}))}),(function(e,t){return e.ofType("SIGN_IN_USER_INTO_CLIENT_AGGREGATOR").switchMap((function(n){var o=t.getState(),r=o.ContactState.ModalitySectionState.clientTokenRetrievalInfoModel,i=n.authInfo,a=i.token,s=i.provider,c={"User-Context":r.UserContext,"Content-Type":Ue},l=!!a;if(l){var u=s===Ye.AAD?at(a):st(a);c.Authorization=u}var d=l?Qe.SUCCESS:Qe.FAILED_OR_CANCELLED;return nt(300,"maxFunnel","signInButton","modalitiesSection","contactUsEpic.ts","signInUserIntoClientAppAggregatorEpic","clientLoginResult",""+d),un.Observable.concat(un.Observable.of(function(e,t,n,o,r){return{type:"FETCH_CSRF_FORM_TOKEN",headers:e,appver:t,namespace:n,version:o,clientPromptLoginState:r}}(c,o.GlobalState.appVer,o.GlobalState.namespace,o.GlobalState.version,d)),un.Observable.if((function(){return d===Qe.SUCCESS}),e.ofType("FETCH_CSRF_FORM_TOKEN_SUCCESS").mergeMap((function(e){return un.Observable.of({type:"FETCH_USERINFO_FOR_CLIENT_SIGNIN"})}))),un.Observable.of(In(!1)))}))}),(function(e){return e.ofType("INITIALIZE_TEAMS_SDK").mergeMap((function(){return un.Observable.from(Promise.resolve().then(n.t.bind(null,237,7)).catch((function(){return window.microsoftTeams})))})).filter((function(e){return!!e})).map((function(e){return e.initialize(),e.registerOnThemeChangeHandler((function(e){var t=new URL(document.location.href),n=JSON.parse(t.searchParams.get("context"));n.TeamsTheme&&(n.TeamsTheme=e),t.searchParams.set("context",JSON.stringify(n)),window.location.href=t.href})),un.Observable.bindCallback(e.getContext)()})).concatAll().filter((function(e){return!!e.subEntityId})).map((function(e){return Hn("TEAMS_SDK_CONTEXT_NOTIFICATION","helpId",e.subEntityId)}))}),(function(e,t){return un.Observable.combineLatest(e.ofType("TEAMS_SDK_CONTEXT_NOTIFICATION"),e.ofType("SET_INITIALIZATION_COMPLETE")).map((function(e){var n=e[0],o=(e[1],t.getState().GlobalState),r=Ge("f1/topic","csh",o.market,{NS:o.namespace,version:"16",EntryPoint:"true",HelpId:n.helpId}),i=Ge("f1","topic",o.market,{NS:o.namespace,Version:"16",Query:""});return Wn({iframeSrc:r,templateUrl:i})}))}),(function(e,t){return e.ofType("FETCH_BACKGROUNDAUTH_URI_SUCCESS").filter((function(){return it(t.getState().GlobalState.namespace)})).map((function(e){return{authInfo:t.getState().ContactState.ModalitySectionState.authInfo,type:"AUTHENTICATE_USER"}}))}),(function(e,t){return e.ofType("FETCH_UWP_AUTHINFO_SUCCESS").filter((function(){return it(t.getState().GlobalState.namespace)})).map((function(e){return En("ADAL"===e.authInfo.provider?"AAD":"MSA")}))}),(function(e,t){return e.ofType("AUTHENTICATE_USER").switchMap((function(n){var o,r=t.getState(),i={"User-Context":r.ContactState.ModalitySectionState.clientTokenRetrievalInfoModel.UserContext,"Content-Type":Ue},a=n.authInfo.provider,s=a===Ye.AAD?at(n.authInfo.token):st(n.authInfo.token),c=new URL(r.ContactState.ModalitySectionState.backgroundAuthUri);a===Ye.AAD?o=c.searchParams.get("state"):o=new URL(c.searchParams.get("wreply")).searchParams.get("url");return i.Authorization=s,o=gt(o),r.GlobalState.environment===le.SOC&&(o=ft(o,r.GlobalState.appVer,r.GlobalState.sourceApp)),un.Observable.ajax.get(o,i).map((function(){return{type:"FETCH_CSRF_FORM_TOKEN"}})).takeUntil(e.ofType("AUTHENTICATE_USER"))}))}),(function(e,t){return e.ofType("GET_INFO_CLIENT_TOKEN_RETRIEVAL_SUCCESS").filter((function(){return it(t.getState().GlobalState.namespace)})).switchMap((function(e){var t=e.clientTokenRetrievalInfoModel;return un.Observable.from(window.Assistance.getAuthInfoAsync({resourceId:t.AADAppId,authorityUrl:t.SignInEndpoint},{targetUrl:t.SiteDomain,policy:t.Encryption})).map((function(e){return{type:"FETCH_UWP_AUTHINFO_SUCCESS",authInfo:e}})).catch((function(e){return un.Observable.of(function(e){return{type:"FETCH_USERINFO_SUCCESS",error:e}}(e))}))}))}),(function(e,t){var n={"Content-Type":"application/x-www-form-urlencoded; charset=UTF-8"};return e.ofType("FETCH_USER_NOTICES").mergeMap((function(o){var r=t.getState(),i=bt("/home/GetAlchemyContentAsync",r.GlobalState.market);r.GlobalState.environment!==le.agavePane&&r.GlobalState.environment!==le.SOC||(i=ft(i,r.GlobalState.appVer,r.GlobalState.sourceApp)),i=gt(i);var a=(r.GlobalState.environment,r.GlobalState.appVer,r.GlobalState.sourceApp,Re),s="query="+encodeURIComponent(a)+"&alchemyApp=gethelprecommendation";return un.Observable.ajax.post(i,s,n).map((function(e){var t=e.response;return null===t?(yt("No user notices result returned."),{type:"FETCH_USER_NOTICES_ERROR"}):{type:"FETCH_USER_NOTICES_SUCCESS",userNotices:t.Insights}})).takeUntil(e.ofType("FETCH_USER_NOTICES")).retry(2).catch((function(e){return un.Observable.of({type:"FETCH_USER_NOTICES_ERROR"})}))}))}),(function(e,t){var n={"Content-Type":"application/json; charset=UTF-8"};return e.ofType("FETCH_AVAILABLE_MODALITIES_V2").mergeMap((function(o){var r=t.getState(),i=bt("/api/contactus/v2/GetAvailableModalities",t.getState().GlobalState.market),a=r.ContactState.ModalitySectionState.draftRequest;return i=ft(i,r.GlobalState.appVer,r.GlobalState.sourceApp),i=gt(i),un.Observable.ajax.post(i,a,n).map((function(e){return{type:"FETCH_AVAILABLE_MODALITIES_V2_SUCCESS",response:e.response}})).takeUntil(e.ofType("FETCH_AVAILABLE_MODALITIES_V2")).catch((function(e){return un.Observable.of({type:"FETCH_AVAILABLE_MODALITIES_V2_ERROR"})}))}))}),(function(e,t){var n={"Content-Type":"application/json"};return e.ofType("CREATE_REQUEST").mergeMap((function(o){var r=t.getState(),i=r.ContactState.ModalitySectionState.draftRequest,a=gt(ft(bt("/api/contactus/v1/addrequest",r.GlobalState.market),r.GlobalState.appVer,r.GlobalState.sourceApp));return un.Observable.ajax.post(a,i,n).map((function(e){return{type:"CREATE_REQUEST_SUCCESS",request:e.response}})).takeUntil(e.ofType("CREATE_REQUEST")).catch((function(e){return un.Observable.of(function(e){return{type:"CREATE_REQUEST_ERROR",error:e}}(e))}))}))}))),Yn=Object(N.createStore)(rn,Vt,Object(an.composeWithDevTools)(Object(N.applyMiddleware)(Kn))),Qn=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),$n=function(e){return o.createElement("div",{className:"row"},o.createElement("div",{className:"col-lg-10",id:"help-content-title"},o.createElement("h1",{tabIndex:-1},e.headerText)))},Zn=function(e){function t(t){return e.call(this,t)||this}return Qn(t,e),t.prototype.render=function(){return pt(this.props.appName)?null:this.props.runningInSoc?o.createElement($n,{headerText:this.props.socContactUsFormHeaderText}):o.createElement($n,{headerText:this.props.contactUsFormDescription.replace("&#39;","'")})},t}(o.Component),Xn=ae((function(e,t){return{appName:e.GlobalState.sourceApp||e.GlobalState.appVer,runningInSoc:e.GlobalState.environment===le.SOC,socContactUsFormHeaderText:e.ContactState.SharedState.isSMCExperiment?e.ContactState.SharedState.LocalizedStrings.ContactUsFormStrings.socSMCExperimentContactUsFormDescription:e.ContactState.SharedState.LocalizedStrings.ContactUsFormStrings.socContactUsFormDescription,contactUsFormDescription:e.ContactState.SharedState.LocalizedStrings.ContactUsFormStrings.contactUsFormDescription}}))(Zn),Jn=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),eo=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Jn(t,e),t.prototype.onSuggestionSelect=function(e,t,n){this.props.setContactSearchedQueryText(t),this.props.clearAutoSuggest(),this.props.initializeAlchemyStateOnGetHelp(t),this.props.initializeModalityStateOnGetHelp(null);var o={behavior:160,content:{contentId:"getHelp",areaName:"formQuerySubmit",contentName:"submitButton",formnm:"maxFunnel",srchq:t.trim(),contactusfields:JSON.stringify({isDeepLinkQuery:!1,autoSuggestFields:this.props.isAutoSuggestEnabled?{isAutoSuggestQuery:!0,isSuggestionsAvailable:!0,queryIndex:n}:null,alchemyThemeRoutingEnabled:this.props.alchemyThemeRoutingEnabled})},actionType:e?"CL":"KE"};Xe(null,o)},t.prototype.onKeyDown=function(e,t,n){if(38===e.keyCode||40===e.keyCode){var o=void 0;38===e.keyCode?o=this.props.autoSuggestFocusedIndex-1>=0?this.props.autoSuggestFocusedIndex-1:this.props.autoSuggestResults.length-1:40===e.keyCode&&(o=this.props.autoSuggestFocusedIndex+1<this.props.autoSuggestResults.length?this.props.autoSuggestFocusedIndex+1:0),this.setFocus(o)}else 13===e.keyCode?this.onSuggestionSelect(!1,n,t):27==e.keyCode&&(this.props.hideAutoSuggest(),this.props.inputBoxRef.current.focus());e.preventDefault(),e.stopPropagation()},t.prototype.setFocus=function(e){this.props.setAutoSuggestFocusedIndex(e),this.props.setContactSearchedQueryText(this.props.autoSuggestResults[e]["@search.text"]);var t=""+we+e,n=document.querySelector('li[data-key="'+t+'"]');n&&n.focus()},t.prototype.getBoldAutoSuggestString=function(e,t){var n=e&&t?e.toLowerCase().indexOf(t.toLowerCase()):-1;if(-1===n)return{__html:e};var o=t.length+n;return{__html:"<b>"+e.substring(0,n)+"</b>"+e.substring(n,o)+"<b>"+e.substring(o,e.length)+"</b>"}},t.prototype.render=function(){var e=this;return this.props.autoSuggestResults&&-1<this.props.autoSuggestResults.length?o.createElement("div",{className:"supAutoSuggestContainer"},o.createElement("ul",{className:"socSuggestionList supSuggestionList"},this.props.autoSuggestResults.map((function(t,n){return o.createElement("li",{key:t.title,"data-key":""+we+n,className:"supSuggestionItem",tabIndex:-1,onClick:function(){e.onSuggestionSelect(!0,t.title,n)},onKeyDown:function(o){return e.onKeyDown(o,n,t.title)}},o.createElement("div",{dangerouslySetInnerHTML:e.getBoldAutoSuggestString(t["@search.text"],e.props.contactSearchedQuery)}))})))):null},t}(o.Component),to=ae((function(e,t){return{autoSuggestResults:e.ContactState.AutoSuggestState.autoSuggestResults,autoSuggestFocusedIndex:e.ContactState.AutoSuggestState.autoSuggestFocusedIndex,contactSearchedQuery:e.ContactState.SharedState.contactSearchedQuery,isAutoSuggestEnabled:e.ContactState.AutoSuggestState.isAutoSuggestEnabled,isAutoSuggestHidden:e.ContactState.AutoSuggestState.isAutoSuggestHidden,isAutoSuggestQuery:e.ContactState.AutoSuggestState.isAutoSuggestQuery,alchemyThemeRoutingEnabled:e.ContactState.ModalitySectionState.alchemyThemeRoutingEnabled}}),(function(e){return{clearAutoSuggest:function(){e(Rn([]))},hideAutoSuggest:function(){e(Mn(!0))},initializeAlchemyStateOnGetHelp:function(t){return e(wn(t))},initializeModalityStateOnGetHelp:function(t){return e(kn(t))},setContactSearchedQueryText:function(t){e(Pn(t,!0))},setAutoSuggestFocusedIndex:function(t){e(Fn(t))}}}))(eo),no=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),oo=function(e){function t(t){var n=e.call(this,t)||this;return n.maxCharacterCount=n.props.showCompactQueryForm?80:250,n.inputBoxRef=o.createRef(),n}return no(t,e),t.prototype.componentDidMount=function(){this.props.isDeepLinkEnabled&&this.props.isDeepLinkQuery&&(this.charUpdate(this.props.contactSearchedQuery),document.getElementById("getHelp").click())},t.prototype.componentWillUnmount=function(){this.props.setContactSearchedQueryText("",!1)},t.prototype.charUpdate=function(e){this.charRemainingSpan.textContent=(this.maxCharacterCount-(e?e.length:0)).toString(),this.getHelpButton.disabled=this.isGetHelpButtonDisabled();var t=this.getHelpButton.attributes.getNamedItem("data-bi-srchq");t.value=e,this.getHelpButton.attributes.setNamedItem(t)},t.prototype.onQueryChange=function(e){var t=e.target.value;this.props.setContactSearchedQueryText(t,!1),this.charUpdate(t),this.props.isAutoSuggestEnabled&&t&&Ie<t.trim().length&&t.trim().length<Oe?this.props.fetchAutoSuggest(t.trim()+"*"):!this.props.isAutoSuggestHidden&&t.trim().length<Ie&&this.props.hideAutoSuggest()},t.prototype.onBlur=function(e){var t=e.relatedTarget;!this.props.isAutoSuggestEnabled||this.props.isAutoSuggestHidden||t&&(!t||t.className.includes(xe))||this.props.hideAutoSuggest()},t.prototype.onFocus=function(){this.props.isAutoSuggestEnabled&&this.props.isAutoSuggestHidden&&this.props.autoSuggestResults&&0<this.props.autoSuggestResults.length&&this.props.showAutoSuggest()},t.prototype.isIssueDescriptionTextAreaDisabled=function(){return this.props.isBcqrSearchInProgress||this.props.isAlchemyQueryInProgress||this.props.isCreatingRequest},t.prototype.isGetHelpButtonDisabled=function(){return!(this.props.contactSearchedQuery.length<=this.maxCharacterCount&&""!==this.props.contactSearchedQuery.trim()&&!this.isIssueDescriptionTextAreaDisabled())},t.prototype.buildContactUsFields=function(){return JSON.stringify({isDeepLinkQuery:this.props.isDeepLinkQuery,autoSuggestFields:this.props.isAutoSuggestEnabled?{isAutoSuggestQuery:this.props.isAutoSuggestQuery,isSuggestionsAvailable:!!this.props.autoSuggestResults&&this.props.autoSuggestResults.length>0,queryIndex:this.props.autoSuggestFocusedIndex}:null,alchemyThemeRoutingEnabled:this.props.alchemyThemeRoutingEnabled})},t.prototype.initiateGetHelpExperience=function(e){if(this.props.contactUsFormSubmission(this.props.contactSearchedQuery),this.props.alchemySolutionsEnabled?this.props.initializeAlchemyStateOnGetHelp(this.props.contactSearchedQuery):this.props.initializeBcqrStateOnGetHelp([null]),this.props.initializeModalityStateOnGetHelp(null),e){var t={behavior:160,content:{contentId:"getHelp",areaName:"formQuerySubmit",contentName:"submitButton",formnm:"maxFunnel",selfhelpprovider:this.props.alchemySolutionsEnabled?"alchemy":"bcqr",srchq:this.props.contactSearchedQuery.trim(),isSmcExp15:this.props.isSMCExperiment15Enabled,contactusfields:this.buildContactUsFields()},actionType:"KE"};Xe(null,t)}this.props.hideAutoSuggest()},t.prototype.SupportPolicy=function(){var e,t=this;return this.props.runningInSoc?(e=this.props.localizedStrings.ContactUsFormStrings.templateUrlInSoc+"96162163-b3aa-498b-bbbb-5e757b0f31da",o.createElement("a",{className:"caption link",id:"supportPolicyLink","data-bi-area":"formQuerySubmit","data-bi-name":"supportPolicyLink","data-bi-formnm":"maxFunnel",href:e,target:"_blank"},this.props.localizedStrings.ContactUsFormStrings.supportPolicyText)):(e=this.props.localizedStrings.ContactUsFormStrings.templateUrl+"96162163-b3aa-498b-bbbb-5e757b0f31da",o.createElement("a",{className:"caption link",id:"supportPolicyLink","data-bi-area":"formQuerySubmit","data-bi-name":"supportPolicyLink","data-bi-formnm":"maxFunnel",href:"#",onClick:function(){return t.props.articleClicked(e)}},this.props.localizedStrings.ContactUsFormStrings.supportPolicyText))},t.prototype.PrivacyPolicy=function(){return o.createElement("a",{className:"caption link",id:"privacyPolicyLink","data-bi-area":"formQuerySubmit","data-bi-name":"privacyPolicyLink","data-bi-formnm":"maxFunnel",href:"https://go.microsoft.com/fwlink/?LinkID=507380",target:"_blank"},this.props.localizedStrings.ContactUsFormStrings.privacyPolicyText)},t.prototype.render=function(){var e=this,t=this.PrivacyPolicy(),n=this.SupportPolicy(),r=this.maxCharacterCount-this.props.contactSearchedQuery.length,i=this.props.isAutoSuggestEnabled&&!this.props.isAutoSuggestHidden&&!!this.props.autoSuggestResults&&0<this.props.autoSuggestResults.length&&!!this.props.contactSearchedQuery;return o.createElement("div",null,o.createElement("div",{tabIndex:-1,className:"row form-group no-gutter"},o.createElement("div",{tabIndex:-1,className:"col-lg-10"},o.createElement("textarea",{maxLength:this.maxCharacterCount,value:this.props.contactSearchedQuery,onChange:function(t){return e.onQueryChange(t)},onFocus:function(){return e.onFocus()},onBlur:function(t){return e.onBlur(t)},ref:this.inputBoxRef,id:"issueDescription",disabled:this.isIssueDescriptionTextAreaDisabled(),className:this.props.showCompactQueryForm?"form-control resize-none":"form-control resize-both",rows:this.props.showCompactQueryForm?1:3,placeholder:lt()?this.props.localizedStrings.ContactUsFormStrings.signUpPagePlaceholderText:this.props.localizedStrings.ContactUsFormStrings.socContactUsFormPlaceholder,"aria-label":lt()?this.props.localizedStrings.ContactUsFormStrings.signUpPagePlaceholderText:this.props.localizedStrings.ContactUsFormStrings.socContactUsFormPlaceholder,autoFocus:!0,onKeyDown:function(t){if(e.props.isAutoSuggestEnabled&&e.props.autoSuggestResults&&e.props.autoSuggestResults.length>0&&(38===t.keyCode||40===t.keyCode)){var n=void 0;38==t.keyCode?n=e.props.autoSuggestResults.length-1:40==t.keyCode&&(n=0);var o=document.querySelector('li[data-key="'+we+n+'"]');o&&(e.props.setAutoSuggestFocusedIndex(n),e.props.setContactSearchedQueryText(e.props.autoSuggestResults[n]["@search.text"],!0),o.focus()),t.preventDefault(),t.stopPropagation()}if(13===t.keyCode&&e.props.contactSearchedQuery.length<=e.maxCharacterCount&&""!==e.props.contactSearchedQuery.trim())return t.preventDefault(),t.stopPropagation(),!1;27==t.keyCode&&e.props.hideAutoSuggest()},onKeyUp:function(t){if(13===t.keyCode&&e.props.contactSearchedQuery.length<=e.maxCharacterCount&&""!==e.props.contactSearchedQuery.trim())return t.preventDefault(),t.stopPropagation(),document.getElementById("getHelp").focus(),e.initiateGetHelpExperience(!0),!1}}),i&&o.createElement(to,{inputBoxRef:this.inputBoxRef})),o.createElement("div",{className:"col-lg-10 caption text-counter"},o.createElement("span",{id:"issueDescRemainChar",ref:function(t){return e.charRemainingSpan=t}},r)," ",this.props.localizedStrings.ContactUsFormStrings.charRemainingText,o.createElement("span",{className:ut(this.props.isRtl)},t," | ",n))),o.createElement("div",{tabIndex:-1,className:"row col-lg-10 body-copy-small"},o.createElement("input",{"data-bi-bhvr":"CONTACT","data-bi-area":"formQuerySubmit","data-bi-name":"submitButton","data-bi-formnm":"maxFunnel","data-bi-selfhelpprovider":this.props.alchemySolutionsEnabled?"alchemy":"bcqr","data-bi-srchq":"","data-bi-isSmcExp15":this.props.isSMCExperiment15Enabled,"data-bi-contactusfields":this.buildContactUsFields(),ref:function(t){return e.getHelpButton=t},onClick:function(){e.initiateGetHelpExperience(!1)},type:"button",id:"getHelp",className:"btn btn-primary sharp",value:this.props.localizedStrings.ContactUsFormStrings.getHelpButtonText,disabled:this.isGetHelpButtonDisabled()})))},t}(o.Component),ro=ae((function(e,t){return{autoSuggestFocusedIndex:e.ContactState.AutoSuggestState.autoSuggestFocusedIndex,runningInSoc:e.GlobalState.environment===le.SOC,isSMCExperiment15Enabled:e.ContactState.SharedState.isSMCExperiment15Enabled,isRtl:e.GlobalState.isRtl,showCompactQueryForm:e.ContactState.SharedState.showCompactQueryForm,isBcqrSearchInProgress:e.ContactState.SelfHelpBcqrState.isBcqrSearchInProgress,localizedStrings:e.ContactState.SharedState.LocalizedStrings,isAlchemyQueryInProgress:e.ContactState.SelfHelpAlchemyState.isAlchemyQueryInProgress,alchemySolutionsEnabled:e.ContactState.SelfHelpAlchemyState.isAlchmeySolutionsEnabled,contactSearchedQuery:e.ContactState.SharedState.contactSearchedQuery,autoSuggestResults:e.ContactState.AutoSuggestState.autoSuggestResults,isAutoSuggestEnabled:e.ContactState.AutoSuggestState.isAutoSuggestEnabled,isAutoSuggestHidden:e.ContactState.AutoSuggestState.isAutoSuggestHidden,isAutoSuggestQuery:e.ContactState.AutoSuggestState.isAutoSuggestQuery,isDeepLinkQuery:e.ContactState.SharedState.isDeepLinkQuery,isDeepLinkEnabled:e.ContactState.SharedState.isDeepLinkEnabled,isCreatingRequest:e.ContactState.ModalitySectionState.isCreatingRequest,alchemyThemeRoutingEnabled:e.ContactState.ModalitySectionState.alchemyThemeRoutingEnabled}}),(function(e){return{setContactSearchedQueryText:function(t,n){e(Pn(t,n))},setAutoSuggestFocusedIndex:function(t){e(Fn(t))},contactUsFormSubmission:function(t){e(function(e){return{type:"FETCH_ON_SESSION_START",query:e}}(t))},fetchAutoSuggest:function(t){e(function(e){return{type:"FETCH_AUTOSUGGEST",query:e}}(t))},initializeBcqrStateOnGetHelp:function(t){return e(function(e){return{type:"INIT_SELF_HELP_BCQR_ON_SESSION_START",bcqrResults:e}}(t))},initializeAlchemyStateOnGetHelp:function(t){return e(wn(t))},initializeModalityStateOnGetHelp:function(t){return e(kn(t))},articleClicked:function(t){e(qn(t))},showAutoSuggest:function(){e(Mn(!1))},hideAutoSuggest:function(){e(Mn(!0))}}}))(oo),io=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),ao=function(e){function t(t){var n=e.call(this,t)||this;return n.state={headerRef:o.createRef()},n}return io(t,e),t.prototype.componentDidUpdate=function(){this.state.headerRef.current.focus()},t.prototype.componentDidMount=function(){this.componentDidUpdate()},t.prototype.changeCollapseState=function(){this.props.updateArticleExpandoState(!this.props.isCollapsedSelfHelpBcqr)},t.prototype.render=function(){var e=this,t=this.props.isCollapsedSelfHelpBcqr?"arrow-down":"arrow-up",n=this.props.isCollapsedSelfHelpBcqr?"EXPAND":"REDUCE";return o.createElement("a",{tabIndex:-1,id:"articlesExpando","data-bi-bhvr":n,"data-bi-name":"articlesExpando","data-bi-area":"selfHelpBcqr","data-bi-formnm":"maxFunnel",className:"text-dark",onClick:function(){e.changeCollapseState()},onKeyPress:function(t){"Enter"===t.key&&e.changeCollapseState()},style:{visibility:this.props.isVisible?"visible":"hidden"}},o.createElement("div",{className:"panel-heading"},o.createElement("h2",{id:"selfHelpBcqrHeader",tabIndex:0,ref:this.state.headerRef,"aria-label":"Use these self-help solutions. Navigate below for support articles",className:"inline"},this.props.resultsHeader),o.createElement("span",{tabIndex:0,"aria-expanded":!this.props.isCollapsedSelfHelpBcqr,"aria-label":"click to flip expander",className:t+" "+ut(this.props.isRtl)})))},t}(o.Component),so=function(e){var t;return e.runningInSoc?(t=e.params.templateUrlInSoc+e.bcqrResult.Guid,o.createElement("div",{className:"col-lg-12 body-copy-small"},o.createElement("a",{id:e.bcqrResult.Guid,className:"article-link","data-bi-area":"selfHelpBcqr","data-bi-formnm":"maxFunnel","data-bi-name":e.bcqrResult.Title,"data-bi-srchlinkpos":e.index,"data-bi-iscontactsuggestedselfhelp":"true",target:"_blank",href:t},e.bcqrResult.Title),o.createElement("p",{className:"article-content-shortened",dangerouslySetInnerHTML:{__html:e.bcqrResult.Content}}))):(t=e.params.templateUrl+e.bcqrResult.Guid,o.createElement("div",{className:"col-lg-12 body-copy-small"},o.createElement("a",{id:e.bcqrResult.Guid,className:"article-link","data-bi-area":"selfHelpBcqr","data-bi-formnm":"maxFunnel","data-bi-name":e.bcqrResult.Title,"data-bi-srchlinkpos":e.index,"data-bi-iscontactsuggestedselfhelp":"true",href:"javascript:void(0)",onClick:function(){return e.articleClicked(t)}}," ",e.bcqrResult.Title," "),o.createElement("p",{className:"article-content-shortened",dangerouslySetInnerHTML:{__html:e.bcqrResult.Content}})))},co=function(e){var t=1,n=e.results.map((function(n){return o.createElement(so,{key:n.Title,bcqrResult:n,index:t++,params:e.resultProps,runningInSoc:e.runningInSoc,articleClicked:e.articleClicked})}));return o.createElement("div",{className:"row article-div"},n)},lo=function(e){return o.createElement("div",{id:"noSelfHelpBcqrResults",className:"row no-gutter"},o.createElement("div",{className:"col-lg-12 body-copy-small"},e.noResultText))},uo=function(e){return o.createElement("div",{id:"gettingSelfHelpBcqrResults",className:"row no-gutter"},o.createElement("div",{className:"col-lg-12 body-copy-small"},e.gettingResultsText+"..."))},po=function(e){var t;if(null!==e.results[0]||e.isBcqrSearchInProgress)if(e.isCollapsedSelfHelpBcqr)t=null;else if(e.isBcqrSearchInProgress)t=o.createElement(uo,{gettingResultsText:e.resultProps.gettingSelfHelpText});else if(e.results.length>0&&null!==e.results[0]&&e.inBcqrResults){var n=e.results;t=o.createElement(co,{results:n,resultProps:e.resultProps,runningInSoc:e.runningInSoc,articleClicked:e.articleClicked})}else t=o.createElement(lo,{noResultText:e.resultProps.contactUsNoResults});else t=null;return o.createElement("div",{className:"panel-body"},t)},ho=ae((function(e,t){return{results:e.ContactState.SelfHelpBcqrState.bcqrResults,runningInSoc:e.GlobalState.environment===le.SOC,isRtl:e.GlobalState.isRtl,isBcqrSearchInProgress:e.ContactState.SelfHelpBcqrState.isBcqrSearchInProgress,inBcqrResults:e.ContactState.SelfHelpBcqrState.inBcqrResults,isCollapsedSelfHelpBcqr:e.ContactState.SelfHelpBcqrState.isCollapsedSelfHelpBcqr,localizedStrings:e.ContactState.SharedState.LocalizedStrings.ContactUsResultsStrings,bcqrSolutionsEnabled:!e.ContactState.SelfHelpAlchemyState.isAlchmeySolutionsEnabled&&!e.ContactState.SelfHelpAlchemyState.isAlchmeyInsightsEnabled,showArticlesExpando:e.ContactState.SharedState.showArticlesExpando}}),(function(e){return{articleClicked:function(t){e(qn(t))},updateSelfHelpBcqrExpando:function(t){e({type:"UPDATE_SELF_HELP_BCQR_EXPANDO_STATE",isCollapsedSelfHelpBcqr:t})},handleGettingBcqrResultsComplete:function(){e({type:"HANDLE_GETTING_BCQR_RESULTS_COMPLETE"})}}}))((function(e){if(!e.bcqrSolutionsEnabled)return null;var t=o.createElement(ao,{resultsHeader:e.localizedStrings.contactUsUseSelfHelpText,isCollapsedSelfHelpBcqr:e.isCollapsedSelfHelpBcqr,updateArticleExpandoState:e.updateSelfHelpBcqrExpando,isVisible:e.showArticlesExpando,isRtl:e.isRtl});if(null!==e.results[0]||e.isBcqrSearchInProgress){if(e.isBcqrSearchInProgress&&e.inBcqrResults){var n={content:[{contentName:"bcqrResults",formnm:"maxFunnel",selfHelpResults:e.results,areaName:"selfHelpBcqr"}],behavior:160};Je(n),e.handleGettingBcqrResultsComplete()}}else t=null;return o.createElement("div",{className:"row no-gutter"},o.createElement("div",{className:"col-lg-10 article-section"},o.createElement("div",{className:"panel-group"},o.createElement("div",{className:"panel panel-default"},t,o.createElement(po,{results:e.results,resultProps:e.localizedStrings,runningInSoc:e.runningInSoc,isBcqrSearchInProgress:e.isBcqrSearchInProgress,inBcqrResults:e.inBcqrResults,articleClicked:e.articleClicked,isCollapsedSelfHelpBcqr:e.isCollapsedSelfHelpBcqr})))))})),fo=window.external,mo=function(){this.action=function(e){return new Promise((function(t,n){fo&&fo.ExecuteToolbarCommand?t(fo.ExecuteToolbarCommand(parseInt(e,10))):n(!1)}))},this.delay=function(e){return new Promise((function(t,n){setTimeout(t,parseInt(e,10)||2e3)}))},this.showribbon=function(){return new Promise((function(e,t){fo&&fo.ShowRibbon?e(fo.ShowRibbon(!0)):t(!1)}))},this.awaitedcallout=function(e,t,n){return new Promise((function(o,r){fo&&fo.ShowCalloutWithCallback?setTimeout(fo.ShowCalloutWithCallback(o,e,t,n),5e3):fo&&fo.ShowCallout?setTimeout((function(){fo.ShowCallout(e,t,n),o()}),500):r(!1)}))},this.backstagecallout=function(e,t,n){return new Promise((function(o,r){fo&&fo.ShowCallout?fo.ShowCallout(1,parseInt(e,10),t,n):r(!1)}))},this.callout=function(e,t,n){return new Promise((function(o,r){fo&&fo.ShowCallout?fo.ShowCallout(parseInt(e,10)||e,t,n):r(!1)}))},this.diag=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return new Promise((function(t,n){if(fo&&fo.RunDiagnosticAction){var o=e.join("_").split(";");2===o.length&&fo.RunDiagnosticAction(o[0])&&(window.location.href="/f1/topic/"+o[1])}else n(!1)}))},this.outspace=function(e){return new Promise((function(t,n){fo&&fo.ShowOutspaceTcid?fo.ShowOutspaceTcid(parseInt(e,10)):n(!1)}))},this.renamepane=function(e){return new Promise((function(t,n){fo&&fo.RenamePane?fo.RenamePane(e):n(!1)}))},this.spotlight=function(e){return new Promise((function(t,n){fo&&fo.OnShowMe?setTimeout(fo.OnShowMe(t,1e3,parseInt(e,10)),5e3):n(!1)}))},this.tab=function(e){return new Promise((function(t,n){fo&&fo.OpenTab?fo.OpenTab(parseInt(e,10)):n(!1)}))},this.updateInsiderLevel=function(e){return new Promise((function(t,n){fo&&fo.UpdateInsiderLevel?fo.OnShowMe(parseInt(e,10)):n(!1)}))}},go=function(e){try{fo.IsRibbonCollapsed()&&e.unshift("showribbon","delay")}catch(e){return new Promise((function(e,t){t()}))}return new Promise((function(t,n){var o=new Promise((function(e,t){e(!0)})),r=new mo;e.forEach((function(e){var t=e.split("_"),i=t.shift();o.then((function(e){if(!1===e)return n(),!1;try{r[i].apply(void 0,t).then((function(e){return!1!==e||(n(),!1)})).catch((function(){return n()}))}catch(e){return n(),!1}}))})),o.then((function(e){t(e)}))}))},bo=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),yo=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.insightContentRef=o.createRef(),t.actionLock=!1,t.replaceInsightsBTagWithButton=function(){if(t.props.isActionButtonEnabled){var e,n=t.insightContentRef.current.querySelectorAll("b[data-action-id]");for(e=0;e<n.length;e++)n[e].outerHTML=n[e].outerHTML.replace(/(?:<)(\w+)(\b.*)(?:<\/)\1(?:>)/,"<button$2</button>");var o=t.insightContentRef.current.querySelectorAll("button[data-action-id]");for(e=0;e<o.length;e++)o[e].classList.add("ocpActionLink"),o[e].onclick=t.insightActionClickHandler}},t.insightActionClickHandler=function(e){if(!t.actionLock){t.actionLock=!0;var n=e.target.getAttribute("data-action-id").split("|");go(n).then((function(e){t.actionLock=!1,t.logActionExecution(n,e)})).catch((function(){t.actionLock=!1,t.logActionExecution(n,!1)}))}},t.updateInsightHTML=function(e){if(!e)return"";var n=e.Description;try{var o=(new DOMParser).parseFromString(e.Description,"text/html");if(o){var r=o.querySelectorAll("h2");if(r)for(var i=0;i<r.length;i++){var a=document.createElement("b");a.innerHTML=r[i].innerHTML;var s=document.createElement("p");s.appendChild(a),r[i].parentNode.replaceChild(s,r[i])}var c=o.querySelectorAll("a");if(c)for(i=0;i<c.length;i++)t.addLoggingAttributesForInsightClick(c[i],e.BucketId);var l=o.querySelectorAll('button[onclick^="window.location.href"]');if(l)for(i=0;i<l.length;i++)t.addLoggingAttributesForInsightClick(l[i],e.BucketId),l[i].classList.add("btn","btn-primary","sharp");n=(o.firstElementChild?o.firstElementChild:o.firstChild).innerHTML}}catch(e){console.debug("Failed to update insight html.",e)}return n},t.addLoggingAttributesForInsightClick=function(e,t){e.setAttribute("data-bi-bhvr","SHOW"),e.setAttribute("data-bi-area","selfHelpAlchemyInsight"),e.setAttribute("data-bi-formnm","maxFunnel"),e.setAttribute("data-bi-name",t?t.toString():""),e.setAttribute("data-bi-iscontactsuggestedselfhelp","true")},t.getFeedbackSection=function(e){return t.props.insightFeedbackSubmited?o.createElement("div",null,o.createElement("span",{className:""},t.props.feedbackSubmitedText)):o.createElement("div",null,o.createElement("span",{className:""},t.props.feedbackQuestionText),o.createElement("a",{id:"alchemyInsightFeedbackYesLink",className:"feedbackAnswer","data-bi-bhvr":"VOTE","data-bi-area":"selfHelpAlchemyInsight","data-bi-formnm":"maxFunnel","data-bi-name":e.BucketId,href:"javascript:void(0)",onClick:function(){return t.props.submitInsightFeedback()}},t.props.feedbackYesText),o.createElement("a",{id:"alchemyInsightFeedbackNoLink",className:"feedbackAnswer","data-bi-bhvr":"VOTE","data-bi-area":"selfHelpAlchemyInsight","data-bi-formnm":"maxFunnel","data-bi-name":e.BucketId,href:"javascript:void(0)",onClick:function(){return t.props.submitInsightFeedback()}},t.props.feedbackNoText))},t.logActionExecution=function(e,n){Xe(null,{content:[{contentName:t.props.insights[0].BucketId,actionButtonDetails:e.join(",")+";"+n,formnm:"maxFunnel",isContactSuggestedSelfHelp:"true",areaName:"selfHelpAlchemyInsight"}],behavior:"SHOW"})},t}return bo(t,e),t.prototype.componentDidMount=function(){this.replaceInsightsBTagWithButton()},t.prototype.componentDidUpdate=function(){this.replaceInsightsBTagWithButton()},t.prototype.render=function(){if(this.props.insights.length<=0)return null;var e=this.props.insights[0],t=this.updateInsightHTML(e);return o.createElement("div",{id:"alchemyInsightSection",className:"panel-body"},o.createElement("div",{className:"card"},!!e.Title&&o.createElement("div",{className:"cardHeaderSection"},o.createElement("div",{className:"icon-section"},o.createElement("div",{className:"icon inline"},o.createElement("span",{className:"solutionIcon"})),o.createElement("div",{className:"inline cardHeader"},o.createElement("span",{dangerouslySetInnerHTML:{__html:e.Title}})))),o.createElement("div",{className:"alchemyInsightSnipet"},o.createElement("span",{ref:this.insightContentRef,dangerouslySetInnerHTML:{__html:t}})),!this.props.isAlchmeyPRRQuestionEnabled&&o.createElement("div",{className:"cardFooterSection"},o.createElement("hr",null),this.getFeedbackSection(e))))},t}(o.Component),vo=ae((function(e,t){return{isAlchmeyPRRQuestionEnabled:e.ContactState.SelfHelpAlchemyState.isAlchmeyPRRQuestionEnabled,feedbackQuestionText:e.ContactState.SharedState.LocalizedStrings.ContactUsResultsStrings.alchemyInsightFeedbackQuestionText,feedbackYesText:e.ContactState.SharedState.LocalizedStrings.ContactUsResultsStrings.feedbackButtonYesText,feedbackNoText:e.ContactState.SharedState.LocalizedStrings.ContactUsResultsStrings.feedbackButtonNoText,feedbackSubmitedText:e.ContactState.SharedState.LocalizedStrings.ContactUsResultsStrings.feedbackReceivedText,insightFeedbackSubmited:e.ContactState.SelfHelpAlchemyState.insightFeedbackSubmited,isActionButtonEnabled:e.ContactState.SelfHelpAlchemyState.isInsightActionButtonEnabled}}),(function(e){return{submitInsightFeedback:function(){e({type:"SUBMIT_ALCHEMY_INSIGHT_FEEDBACK"})}}}))(yo),_o=n(48),So=n(15);!function(e){e.SignIn="signin",e.ContactSupport="contactsupport"}(Bn||(Bn={}));var Co=function(){return{hostDiv:{root:{marginLeft:"-10px",fontSize:"14px",fontFamily:"'Segoe UI','Segoe UI Web','wf_segoe-ui_normal','Helvetica Neue','BBAlpha Sans','S60 Sans',Arial,sans-serif",lineHeight:"normal",marginTop:"15px"}},nodeList:{},nodeHeader:{},node:{content:{width:"80%",margin:"10px",marginTop:"0px","&  *":{marginTop:"5px",marginBottom:"0"},"& a":{color:"#006cb4 !important"}},contentTitle:{fontSize:"14px",fontWeight:"500",boxSizing:"border-box",margin:0,width:"80%",padding:"0 0 0 9px"}},choice:{container:{width:"100%",overflow:"hidden",marginBottom:"5px"},listContainer:{marginBottom:"10px",marginLeft:"10px"},btnLabel:{overflow:"hidden",height:"100%",width:"100%","& > *":{overflow:"hidden","overflow-wrap":"break-word"}},choiceBtn:{root:{background:"#f3f3f3",marginRight:"16px",marginTop:"16px",minWidth:"52px",minHeight:"42px",width:"80%",border:"none"},rootChecked:{background:"#337ab7",marginRight:"16px",marginTop:"16px",minWidth:"52px",minHeight:"42px",width:"80%",border:"1px solid black"},label:{overflow:"hidden",height:"100%",width:"93%","& > *":{overflow:"hidden","overflow-wrap":"break-word",whiteSpace:"nowrap",textOverflow:"ellipsis"},"overflow-wrap":"break-word",whiteSpace:"nowrap",textOverflow:"ellipsis",minHeight:"24px !important"},labelChecked:{overflow:"hidden",height:"100%",width:"93%","& > *":{overflow:"hidden","overflow-wrap":"break-word",whiteSpace:"nowrap",textOverflow:"ellipsis"},"overflow-wrap":"break-word",whiteSpace:"nowrap",textOverflow:"ellipsis",minHeight:"24px !important",color:"white"},textContainer:{textAlign:"left",overflow:"hidden","& > span":{minHeight:"18px !important"}}},editIcon:{cursor:"pointer",float:"right"},choicesList:{margin:"10px",marginTop:0}},safNode:{},dafSpinner:{},safActionNode:{label:{fontWeight:600,overflow:"hidden",width:"100%",textAlign:"left","& > *":{fontWeight:600,overflow:"hidden","overflow-wrap":"break-word",whiteSpace:"nowrap",textOverflow:"ellipsis",textAlign:"left"}},safContainer:{margin:"10px",marginTop:0},completedIcon:{color:"white",cursor:"pointer",float:"right"},inlineDiagnostics:{contentContainer:{marginBottom:"16px",width:"80%"},diagnostcForm:{button:{root:{background:"#337ab7",marginRight:"16px",marginTop:"16px",border:"1px solid black"},rootDisabled:{backgroundColor:"#337ab7",borderColor:"1px solid #000",color:"#fff",opacity:".65",boxShadow:"none",cursor:"not-allowed",padding:"6px 16px",fontSize:"14px"}},common:{contentContainer:{marginBottom:"16px",width:"80%"},sectionHeader:{fontWeight:"600",fontSize:"14px",lineHeight:"20px"},title:{fontSize:"16px",fontWeight:"600"}}}}},mainHeader:{headerRootDiv:{color:"black",width:"90%",fontSize:"16px",fontWeight:"bold !important",margin:"0px 10px",overflow:"hidden",overflowWrap:"break-word",whiteSpace:"nowrap",textOverflow:"ellipsis",display:"block",marginBottom:"16px","& > *":{width:"100%",fontSize:"16px",color:"black",fontWeight:"bold !important",overflow:"hidden",overflowWrap:"break-word",whiteSpace:"nowrap",textOverflow:"ellipsis",display:"block"}}}}},xo=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),wo=function(e,t,n,o){return new(n||(n=Promise))((function(r,i){function a(e){try{c(o.next(e))}catch(e){i(e)}}function s(e){try{c(o.throw(e))}catch(e){i(e)}}function c(e){e.done?r(e.value):new n((function(t){t(e.value)})).then(a,s)}c((o=o.apply(e,t||[])).next())}))},To=function(e,t){var n,o,r,i,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,o&&(r=2&i[0]?o.return:i[0]?o.throw||((r=o.return)&&r.call(o),0):o.next)&&!(r=r.call(o,i[1])).done)return r;switch(o=0,r&&(i=[2&i[0],r.value]),i[0]){case 0:case 1:r=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,o=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(r=a.trys,(r=r.length>0&&r[r.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!r||i[1]>r[0]&&i[1]<r[3])){a.label=i[1];break}if(6===i[0]&&a.label<r[1]){a.label=r[1],r=i;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(i);break}r[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],o=0}finally{n=r=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}},ko=n(75),Io=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.key=ko(),t.componentDidMount=function(){t.props.redirectForSignInLink||t.props.redirectForSignInLinkFetch()},t.componentDidUpdate=function(e){t.raisedEventName&&!e.isSignedIn&&t.props.isSignedIn&&t.onRaisedEventCompleted(t.raisedEventName,!0)},t.raiseEventHandler=function(e,n,o){switch(e.toLowerCase()){case Bn.SignIn.toLowerCase():return t.raisedEventName=e,t.eventUId=o,t.isUserSignedIn()?t.onRaisedEventCompleted(t.raisedEventName,!0):t.signInClickHandler(),!0}return!1},t.browserSignInClickHandler=function(){window.open(t.props.redirectForSignInLink,"_blank","width=500,height=700"),t.props.signInUser()},t.clientAppSignInClickHandler=function(){t.props.setUserIsSigningIntoClientApp(!0)},t.signInClickHandler=function(){t.props.isClientApp?t.clientAppSignInClickHandler():t.browserSignInClickHandler()},t.isUserSignedIn=function(){return t.props.isSignedIn},t.logHandler=function(e,n,o,r,i){r="message: "+r+", sessionId: "+o;var a=0;if(e){var s=void 0,c=!1;switch(e.toLowerCase()){case So.LogEventName.onChoiceClick.toLowerCase():r="onChoiceClick -"+r,s=506176,a=281,c=!0;break;case So.LogEventName.onComponentError.toLowerCase():r="onComponentError -"+r,s=506177;break;case So.LogEventName.onComponentRenderd.toLowerCase():r="onComponentRenderd -"+r,s=506178;break;case So.LogEventName.onContentRetrievalError.toLowerCase():r="onContentRetrievalError -"+r,s=506179;break;case So.LogEventName.onJsonDocumentValidationError.toLowerCase():r="onJsonDocumentValidationError -"+r,s=506342;break;case So.LogEventName.onSAfSchemaFetchFailed.toLowerCase():r="onSAfSchemaFetchFailed -"+r,s=508525;break;case So.LogEventName.onSAfActionRunFailed.toLowerCase():r="onSAfActionRunFailed -"+r,s=508526}if(s){var l={Message:r,AdHocs:i},u={content:[{contentName:"intentGraphEventLogs",correlationId:t.props.correlationId,tagId:s,formnm:"maxFunnel",eventName:e,fileName:"ContactUsIntentGraph.tsx",methodName:"logHandler",areaName:t.props.areaName,message:encodeURIComponent(JSON.stringify(l))}],behavior:a};c?Xe(null,u):Je(u)}}},t.getcallbackHandlers=function(){return{LogHandler:t.logHandler,ContentRequestHandler:t.contentRequestHandler,NodeRendered:t.onNodeRenderd,RaiseEventHandler:t.raiseEventHandler,GetSAFActionSchema:t.getAlchemySAFActionSchema,ExecuteSAFAction:t.executeAlchemySAFAction,IsUserSignedIn:t.isUserSignedIn}},t.onRaisedEventCompleted=function(e,n){window.yoda&&window.yoda.IntentGraph&&window.yoda.IntentGraph.Events&&"function"==typeof window.yoda.IntentGraph.Events.onRaisedEventCompleted&&window.yoda.IntentGraph.Events.onRaisedEventCompleted(e,n,t.eventUId)},t.logError=function(e,n){var o={content:[{contentName:"intentGraphEventLogs",correlationId:t.props.correlationId,formnm:"maxFunnel",fileName:"ContactUsIntentGraph.tsx",methodName:n,areaName:t.props.areaName,message:encodeURIComponent(e)}],behavior:300};Je(o)},t.getLoggingAttributes=function(){var e=t.props.graphInsights?t.props.graphInsights[0]:null,n=e&&e.BucketId;return[{Name:"id",Value:"unAuthBranchingContactSupport"},{Name:"data-bi-bhvr",Value:"CONTACT"},{Name:"data-bi-area",Value:t.props.areaName},{Name:"data-bi-formnm",Value:"maxFunnel"},{Name:"data-bi-name",Value:n?n.toString():""},{Name:"data-bi-isUnauthBranchingContactSupport",Value:"true"}]},t.contentRequestHandler=function(e,n){return wo(t,void 0,Promise,(function(){var t,o,r,i,a=this;return To(this,(function(s){return t="",o="contentRequestHandler",e&&n?((r=new fe).Locale=this.props.market,r.SolutionType=e,r.SolutionId=n,r.CorrelationId=this.props.correlationId,i=bt("/api/contactus/v1/GetAlchemyResource",this.props.market),i=ft(i,this.props.appVer,this.props.sourceApp),[2,_o.Observable.ajax.post(i,r).toPromise().then((function(e){if(e&&e.response){var n=e.response;return n.SolutionContent=wt(n.SolutionContent,a.getLoggingAttributes()),JSON.stringify(n)}return t="content retrieval failure- responseStatus:"+(e&&e.status||null),a.logError(t,o),String()})).catch((function(e){var n=e.message,r=e.stack;return t="content retrieval failure- message: "+n+", stack: "+r,a.logError(t,o),String()}))]):(t="content retrieval failure- contentType: "+e+", contentId: "+n,this.logError(t,o),[2,String()])}))}))},t.onNodeRenderd=function(e,n,o,r,i,a,s,c){var l={metaId:e,title:n,nodeId:r,outcomeSignal:i,tags:a,nodeType:s,text:c},u={content:[{contentName:"intentGraphNodeRenderedLogs",correlationId:t.props.correlationId,tagId:506274,formnm:"maxFunnel",fileName:"ContactUsIntentGraph.tsx",methodName:"onNodeRenderd",areaName:t.props.areaName,message:encodeURIComponent(JSON.stringify(l))}],behavior:0};Je(u)},t._addAtributesToSchema=function(e){var n=JSON.parse(e),o=t.getLoggingAttributes();return n&&n.nodes.forEach((function(e){e.text&&e.text.content&&e.text.contentType&&e.text.contentType.toLowerCase()===So.ContentType.EmbeddedHtml.toLowerCase()&&(e.text.content=wt(e.text.content,o))})),n},t.getAlchemySAFActionSchema=function(e){return wo(t,void 0,Promise,(function(){var t,n,o,r,i=this;return To(this,(function(a){return t="",n="getAlchemySAFActionSchema",e?((o=new me).Locale=this.props.market,o.ActionId=e,o.CorrelationId=this.props.correlationId,r=bt("/api/contactus/v1/GetAlchemySAFActionSchema",this.props.market),r=ft(r,this.props.appVer,this.props.sourceApp),[2,_o.Observable.ajax.post(r,o).toPromise().then((function(e){return e&&e.response?e.response:(t="saf schema fetch failure- responseStatus:"+(e&&e.status||null),i.logError(t,n),null)})).catch((function(e){var o=e.message,r=e.stack;return t="saf schema fetch failure- message: "+o+", stack: "+r,i.logError(t,n),null}))]):(t="saf schema fetch failure- actionId is "+e,this.logError(t,n),[2,null])}))}))},t.safParametersEnhancer=function(e,n){n&&n.forEach((function(o,r){if(o&&o.Name)switch(o.Name.toLowerCase()){case"locale":e[o.Name]=t.props.market,n.splice(r,1)}}))},t.executeAlchemySAFAction=function(e,n,o){return wo(t,void 0,Promise,(function(){var t,r,i,a=this;return To(this,(function(s){return t="","startSafExecution",n?(r=new ge,this.safParametersEnhancer(n,o),r.Locale=this.props.market,r.Parameters=n,r.ActionId=e,r.CorrelationId=this.props.correlationId,r.ContextVariables=o,i=bt("/api/contactus/v1/ExecuteAlchemySAFAction",this.props.market),i=ft(i,this.props.appVer,this.props.sourceApp),[2,_o.Observable.ajax.post(i,r,{Accept:"application/json;odata.metadata=none","Content-Type":"application/json"}).toPromise().then((function(e){return e&&e.response?e.response:(t="saf execution failure- responseStatus:"+(e&&e.status||null),a.logError(t,"startSafExecution"),null)})).catch((function(e){var n=e.message,o=e.stack;return t="saf execution failure- message: "+n+", stack: "+o,a.logError(t,"startSafExecution"),null}))]):(t="saf execution failure- parameters is "+n,this.logError(t,"startSafExecution"),[2,null])}))}))},t.getRunTimeStaticConfig=function(){var e=t.props.graphInsights[0].Description;return{hostAppName:t.props.appVer||t.props.sourceApp,locale:t.props.market,prefix:"smc_",sessionId:t.props.correlationId,correlationId:t.props.correlationId,payload:e?t._addAtributesToSchema(e):null,customstyle:Co,enableScrollToTop:!0,namespace:t.props.areaName,safDiagnosticsSettings:{safActionMaxRetries:t.props.safActionMaxRetries}}},t}return xo(t,e),t.prototype.render=function(){return this.props.graphInsights&&this.props.graphInsights.length>0&&this.props.graphInsights[0].Description?o.createElement(So.IntentGraph,{key:this.key,staticConfig:this.getRunTimeStaticConfig(),callbackHandlers:this.getcallbackHandlers()}):null},t}(o.Component),Oo=ae((function(e,t){return{appVer:e.GlobalState.appVer,sourceApp:e.GlobalState.sourceApp,market:e.GlobalState.market,redirectForSignInLink:e.ContactState.ModalitySectionState.redirectForSignInLink,isClientApp:e.GlobalState.environment===le.nonAgavePane,isSignedIn:e.ContactState.ModalitySectionState.isSignedIn,safActionMaxRetries:e.ContactState.SharedState.safActionMaxRetries}}),(function(e){return{redirectForSignInLinkFetch:function(){e({type:"REDIRECT_FOR_SIGN_IN"})},signInUser:function(){e({type:"SIGNING_IN_USER"})},setUserIsSigningIntoClientApp:function(t){e(In(t))}}}))(Io),Eo=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),No=function(){return(No=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)},Po=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Eo(t,e),t.prototype.componentDidUpdate=function(e){if(this.props.isAlchmeySolutionsEnabled&&!e.areSolutionsPresent&&this.props.areSolutionsPresent){var t=this.props.results.Solutions.map((function(e){var t=No({},e);return t.DescriptionLength=t.Description?t.Description.length:0,delete t.Description,t})),n={content:[{contentName:"alchemySolutionResults",aimId:this.props.results.CorrelationId,theme:this.props.results.Theme,formnm:"maxFunnel",selfHelpResults:t,areaName:"selfHelpAlchemyBCQR"}],behavior:160};Je(n)}if(this.props.isAlchmeyInsightsEnabled&&!e.areInsightsPresent&&this.props.areInsightsPresent){var o=this.props.results.Insights.map((function(e){var t=No({},e);return t.DescriptionLength=t.Description?t.Description.length:0,delete t.Description,t})),r={content:[{contentName:"alchemyInsightResults",aimId:this.props.results.CorrelationId,theme:this.props.results.Theme,formnm:"maxFunnel",selfHelpResults:o,areaName:"selfHelpAlchemyInsight"}],behavior:160};Je(r)}},t.prototype.changeCollapseState=function(){this.props.updateArticleExpandoState(!this.props.isCollapsedSelfHelpAlchemy)},t.prototype.render=function(){var e=this,t=this.props.isCollapsedSelfHelpAlchemy?"arrow-down":"arrow-up",n=this.props.isCollapsedSelfHelpAlchemy?"EXPAND":"REDUCE";return o.createElement("a",{tabIndex:0,id:"articlesExpando","data-bi-bhvr":n,"data-bi-name":"articlesExpando","data-bi-area":"selfHelpAlchemy","data-bi-formnm":"maxFunnel",className:"text-dark",onClick:function(){e.changeCollapseState()},onKeyPress:function(t){"Enter"===t.key&&e.changeCollapseState()},style:{visibility:this.props.isVisible?"visible":"hidden"},"aria-label":"Use these self-help solutions. Navigate below for support articles. Click to flip expander"},o.createElement("div",{className:"panel-heading"},o.createElement("h2",{id:"selfHelpAlchemyHeader",className:"inline"},this.props.resultsHeader),o.createElement("span",{className:t+" "+ut(this.props.isRtl)})))},t}(o.Component),Do=function(e){return o.createElement("div",{id:"pRRQuestion"},e.isPRRQuestionSubmitted?o.createElement("div",{className:"prr-question font-style-italic"},e.localizedStrings.alchemyPRRQuestionSubmittedText):o.createElement("div",{className:"prr-question"},o.createElement("span",{className:"font-style-italic prr-question-element"},e.localizedStrings.alchemyPRRQuestion),o.createElement("button",{id:"alchemyPRRQuestionYesButton","data-bi-bhvr":"VOTE","data-bi-area":"selfHelpAlchemy","data-bi-name":e.alchemyCorrelationId,"data-bi-formnm":"maxFunnel",className:"btn btn-primary sharp prr-question-element",onClick:e.submitAlchemyPRRQuestion},e.localizedStrings.alchemyPRRQuestionAnswerYes),o.createElement("button",{id:"alchemyPRRQuestionNoButton","data-bi-bhvr":"VOTE","data-bi-area":"selfHelpAlchemy","data-bi-name":e.alchemyCorrelationId,"data-bi-formnm":"maxFunnel",className:"btn btn-primary sharp prr-question-element",onClick:e.submitAlchemyPRRQuestion},e.localizedStrings.alchemyPRRQuestionAnswerNo)))},Ao=function(e){var t;return e.runningInSoc?(t=e.alchemyResult.URI,o.createElement("div",{className:"col-lg-12 body-copy-small"},o.createElement("a",{id:e.alchemyResult.Source+e.index,className:"article-link","data-bi-bhvr":"SHOW","data-bi-area":"selfHelpAlchemyBCQR","data-bi-formnm":"maxFunnel","data-bi-name":e.alchemyResult.Title,"data-bi-srchlinkpos":e.index,"data-bi-iscontactsuggestedselfhelp":"true",target:"_blank",href:t},e.alchemyResult.Title),o.createElement("p",{className:"article-content-shortened"},o.createElement("div",{className:"searchSnippet"},e.alchemyResult.Description)))):(t=e.alchemyResult.URI,o.createElement("div",{className:"col-lg-12 body-copy-small"},o.createElement("a",{id:e.alchemyResult.Source+e.index,className:"article-link","data-bi-bhvr":"SHOW","data-bi-area":"selfHelpAlchemyBCQR","data-bi-formnm":"maxFunnel","data-bi-name":e.alchemyResult.Title,"data-bi-srchlinkpos":e.index,"data-bi-iscontactsuggestedselfhelp":"true",href:"javascript:void(0)",onClick:function(){return e.articleClicked(t)}}," ",e.alchemyResult.Title," "),o.createElement("p",{className:"article-content-shortened"},o.createElement("div",{className:"searchSnippet"},e.alchemyResult.Description))))},Ro=function(e){var t=1,n=e.results.slice(0,3).map((function(n){return o.createElement(Ao,{key:n.Title,alchemyResult:n,index:t++,runningInSoc:e.runningInSoc,articleClicked:e.articleClicked})}));return o.createElement("div",{className:"row article-div"},n)},Mo=function(e){return o.createElement("div",{id:"noSelfHelpAlchemyResults",className:"row no-gutter"},o.createElement("div",{className:"col-lg-12 body-copy-small"},e.noResultText))},Fo=function(e){return o.createElement("div",{id:"gettingSelfHelpAlchemyResults",className:"row no-gutter"},o.createElement("div",{className:"col-lg-12 body-copy-small"},e.gettingResultsText+"..."))},jo=ae((function(e,t){return{results:e.ContactState.SelfHelpAlchemyState.alchemyResults,runningInSoc:e.GlobalState.environment===le.SOC,isRtl:e.GlobalState.isRtl,isAlchemyQueryInProgress:e.ContactState.SelfHelpAlchemyState.isAlchemyQueryInProgress,isCollapsedSelfHelpAlchemy:e.ContactState.SelfHelpAlchemyState.isCollapsedSelfHelpAlchemy,localizedStrings:e.ContactState.SharedState.LocalizedStrings.ContactUsResultsStrings,isAlchmeyPRRQuestionEnabled:e.ContactState.SelfHelpAlchemyState.isAlchmeyPRRQuestionEnabled,isAlchmeySolutionsEnabled:e.ContactState.SelfHelpAlchemyState.isAlchmeySolutionsEnabled,isAlchmeyInsightsEnabled:e.ContactState.SelfHelpAlchemyState.isAlchmeyInsightsEnabled,isInsightActionButtonEnabled:e.ContactState.SelfHelpAlchemyState.isInsightActionButtonEnabled,areSolutionsPresent:e.ContactState.SelfHelpAlchemyState.areSolutionsPresent,areInsightsPresent:e.ContactState.SelfHelpAlchemyState.areInsightsPresent,showArticlesExpando:e.ContactState.SharedState.showArticlesExpando,isPRRQuestionSubmitted:e.ContactState.SelfHelpAlchemyState.isPRRQuestionSubmitted,disambiguationBranchingEnabled:e.ContactState.SelfHelpAlchemyState.disambiguationBranchingEnabled}}),(function(e){return{articleClicked:function(t){e(qn(t))},updateSelfHelpAlchemyExpando:function(t){e({type:"UPDATE_SELF_HELP_ALCHEMY_EXPANDO_STATE",isCollapsedSelfHelpAlchemy:t})},submitAlchemyPRRQuestion:function(){e({type:"SUBMIT_ALCHEMY_PRR_QUESTION"})}}}))((function(e){if(!e.isAlchmeySolutionsEnabled&&!e.isAlchmeyInsightsEnabled)return null;var t,n=e.results||e.isAlchemyQueryInProgress?o.createElement(Po,{resultsHeader:e.localizedStrings.contactUsUseSelfHelpText,isCollapsedSelfHelpAlchemy:e.isCollapsedSelfHelpAlchemy,updateArticleExpandoState:e.updateSelfHelpAlchemyExpando,isVisible:e.showArticlesExpando,results:e.results,isAlchmeySolutionsEnabled:e.isAlchmeySolutionsEnabled,isAlchmeyInsightsEnabled:e.isAlchmeyInsightsEnabled,areSolutionsPresent:e.areSolutionsPresent,areInsightsPresent:e.areInsightsPresent,isRtl:e.isRtl}):null,r=!!e.isAlchmeyPRRQuestionEnabled&&!e.isAlchemyQueryInProgress&&(e.isAlchmeyInsightsEnabled&&e.areInsightsPresent||e.isAlchmeySolutionsEnabled&&e.areSolutionsPresent)?o.createElement(Do,{isPRRQuestionSubmitted:e.isPRRQuestionSubmitted,alchemyCorrelationId:e.results.CorrelationId,localizedStrings:e.localizedStrings,submitAlchemyPRRQuestion:e.submitAlchemyPRRQuestion}):null,i=e.results?e.results.Solutions?e.results.Solutions:[]:null,a=!!i&&i.length>0&&!!i[0],s=!!e.results&&!!e.results.Insights&&e.results.Insights.length>0;return t=!e.results&&!e.isAlchemyQueryInProgress||e.isCollapsedSelfHelpAlchemy?null:e.isAlchemyQueryInProgress?o.createElement("div",{className:"panel-body"},o.createElement(Fo,{gettingResultsText:e.localizedStrings.gettingSelfHelpText})):a||s?function(e,t,n){var r=!!e.results&&e.results.CorrelationId||"",i=!!e.disambiguationBranchingEnabled&&!!e.results&&!!e.results.Insights&&e.results.Insights.length>0&&e.results.Insights[0].SolutionType&&e.results.Insights[0].SolutionType.toLowerCase()===re.Branching.toLowerCase(),a=!i&&e.isAlchmeyInsightsEnabled&&e.areInsightsPresent,s=i?o.createElement(Oo,{graphInsights:e.results.Insights,areaName:"selfHelpAlchemyBranching",key:r,correlationId:r}):null,c=a?o.createElement("div",{className:e.runningInSoc||!e.isInsightActionButtonEnabled?"soc-view":""},o.createElement(vo,{insights:e.results.Insights})):null,l=t?o.createElement("div",{className:"panel-body"},o.createElement(Ro,{results:n,runningInSoc:e.runningInSoc,articleClicked:e.articleClicked})):null;return o.createElement(o.Fragment,null,s,c,l)}(e,a,i):o.createElement("div",{className:"panel-body"},o.createElement(Mo,{noResultText:e.localizedStrings.contactUsNoResults})),o.createElement("div",{className:"row no-gutter"},o.createElement("div",{className:"col-lg-10 article-section"},o.createElement("div",{className:"panel-group"},o.createElement("div",{className:"panel panel-default"},r,n,t))))})),Lo=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),Ho=function(e){function t(t){var n=e.call(this,t)||this;return n.webModalityClickHandler=function(e){return e.preventDefault(),n.props.modality.ModalityType===oe.externallink?(window.open(n.getModalityLink(),"_blank"),!1):(window.open(n.getModalityLink(),lt()?"_parent":"_blank","width=600,height=800"),!1)},n.getModalityLink=function(){var e=n.props.modality.Link;return 0===e.indexOf("/")&&(e="https://"+window.location.hostname+e),e.indexOf("confirmemail")>=0&&(e+="&ShowNav=False"),e},n.clientModalityClickHandler=function(e){var t=n.getModalityLink(),o=window.location.hostname,r=Me.parse(t).hostname;if(o.toLocaleLowerCase()!==r.toLocaleLowerCase())return!0;n.props.showModalityExperience(t)},n.modalityClickHandler=function(e){return n.props.isClientApp?n.clientModalityClickHandler(e):n.webModalityClickHandler(e)},n}return Lo(t,e),t.prototype.render=function(){return o.createElement("div",{className:"ocCallCont row"},o.createElement("div",{className:"col-lg-12 icon-section"},lt()?o.createElement("button",{id:this.props.modality.LoggingBehavior.toLowerCase()+"Link","data-bi-bhvr":this.props.modality.LoggingBehavior,"data-bi-area":"modalitiesSection","data-bi-name":"contactModality","data-bi-formnm":"maxFunnel","data-bi-iscontactmodality":"true",onClick:this.modalityClickHandler,className:"btn btn-primary sharp",tabIndex:0},this.props.modality.IconText):o.createElement("a",{href:this.getModalityLink(),id:this.props.modality.LoggingBehavior.toLowerCase()+"Link","data-bi-bhvr":this.props.modality.LoggingBehavior,"data-bi-area":"modalitiesSection","data-bi-name":"contactModality","data-bi-formnm":"maxFunnel","data-bi-iscontactmodality":"true",onClick:this.modalityClickHandler,tabIndex:0},o.createElement("div",{className:"icon "+this.props.modality.IconClass+" inline"}),o.createElement("div",{className:"body-copy-small icon-text inline"},this.props.modality.IconText))))},t}(o.Component),Bo=function(e){var t=e.modalitiesToBeShown&&e.modalitiesToBeShown.map((function(t){return o.createElement(Ho,{key:t.IconClass,modality:t,isClientApp:e.isClientApp,showModalityExperience:e.showModalityExperience})}));return o.createElement("div",null,t,o.createElement("div",{id:"iframe-container"}))},zo=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),Uo=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.browserSignInClickHandler=function(){window.open(t.props.redirectForSignInLink,"_blank","width=500,height=700"),t.props.signInUser()},t.clientAppSignInClickHandler=function(){t.props.setUserIsSigningIntoClientApp(!0)},t.signInClickHandler=function(){t.props.isClientApp?t.clientAppSignInClickHandler():t.browserSignInClickHandler()},t._unAuthBranchingText=function(){var e=!!t.props.unAuthSignInResult&&!!t.props.unAuthSignInResult.Insights&&!!t.props.unAuthSignInResult.Insights[0]&&t.props.unAuthSignInResult.Insights[0].BucketId||"";return o.createElement("span",{id:"unauthBranchingSection"},o.createElement("a",{onClick:t._onUnAuthTextClick,className:"unAuthLink",id:"unAuthBranchingLink","data-bi-bhvr":"CONTACT","data-bi-area":"modalitiesSection","data-bi-formnm":"maxFunnel","data-bi-name":e,"data-bi-isUnauthBranchingLinkClicked":"true"},t.props.contactUsResultsStrings.contactUsModalitiesStrings.unAuthBranchingText))},t._onUnAuthTextClick=function(){t.props.toggleUnAuthBranching()},t._showUnAuthLink=function(){return t.props.unAuthBranchingEnabled&&t.props.contactUsResultsStrings.contactUsModalitiesStrings.unAuthBranchingText&&!!t.props.unAuthSignInResult&&!!t.props.unAuthSignInResult.Insights&&t.props.unAuthSignInResult.Insights.length>0&&t.props.sourceApp===he.SMCIVR},t}return zo(t,e),t.prototype.componentDidMount=function(){nt(300,"maxfunnel","SignInButton","modalitiesSection","SignInButton.tsx","componentDidMount","signInComponentInit","Is client app: "+this.props.isClientApp),this.props.isClientApp||this.props.redirectForSignInLinkFetch(),this.props.unAuthBranchingEnabled&&this.props.initializeAlchemyUnAuthSchemaFetch()},t.prototype.render=function(){if(this.props.isClientApp&&null===this.props.clientTokenInfoModel||!this.props.isClientApp&&""===this.props.redirectForSignInLink)return null;var e=this.props.contactUsResultsStrings.pleaseSignInMessage,t=this.props.contactUsResultsStrings.signInButtonText;return o.createElement("div",{className:"col-lg-12"},o.createElement("div",{className:"body-copy-small"},e),o.createElement("button",{"data-bi-bhvr":"SIGNIN","data-bi-area":"modalitiesSection","data-bi-name":"signInButton","data-bi-formnm":"maxFunnel",className:"btn btn-primary sharp",id:"signIn",onClick:this.signInClickHandler},t),this._showUnAuthLink()?this._unAuthBranchingText():null)},t}(o.Component),Vo=ae((function(e){return{redirectForSignInLink:e.ContactState.ModalitySectionState.redirectForSignInLink,contactUsResultsStrings:e.ContactState.SharedState.LocalizedStrings.ContactUsResultsStrings,isClientApp:e.GlobalState.environment===le.nonAgavePane,clientTokenInfoModel:e.ContactState.ModalitySectionState.clientTokenRetrievalInfoModel,sourceApp:e.GlobalState.sourceApp,namespace:e.GlobalState.namespace,unAuthBranchingEnabled:e.ContactState.ModalitySectionState.unAuthBranchingEnabled,unAuthSignInResult:e.ContactState.ModalitySectionState.unAuthSignInResult}}),(function(e){return{redirectForSignInLinkFetch:function(){e({type:"REDIRECT_FOR_SIGN_IN"})},signInUser:function(){e({type:"SIGNING_IN_USER"})},setUserIsSigningIntoClientApp:function(t){e(In(t))},toggleUnAuthBranching:function(){e({type:"TOGGLE_UNAUTH_BRANCHING"})},initializeAlchemyUnAuthSchemaFetch:function(){e({type:"INIT_ALCHEMY_UNAUTH_ON_SESSION_START"})}}}))(Uo),Wo=ae((function(e,t){return{isUnauthSchemaFetching:e.ContactState.ModalitySectionState.isUnauthSchemaFetching,unAuthSignInResult:e.ContactState.ModalitySectionState.unAuthSignInResult,showUnAuthBranching:e.ContactState.ModalitySectionState.unAuthBranchingEnabled&&e.ContactState.ModalitySectionState.showUnAuthBranching}}))((function(e){if(e.showUnAuthBranching&&e.unAuthSignInResult){var t=e.unAuthSignInResult.CorrelationId;return o.createElement(Oo,{graphInsights:e.unAuthSignInResult.Insights,areaName:"modalitiesSection",correlationId:t,key:t})}return e.isUnauthSchemaFetching,null})),qo=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),Go=function(e){function t(t){var n=e.call(this,t)||this;return n._getSignInCotnent=function(){return n.props.userIsSigningIntoClientApp?o.createElement("div",{className:"loader"}):o.createElement("div",null,o.createElement(Vo,null),o.createElement(Wo,null))},n}return qo(t,e),t.prototype.render=function(){return this._getSignInCotnent()},t.prototype.componentDidUpdate=function(){this.props.userIsSigningIntoClientApp&&this.props.signInUserIntoClientApp()},t}(o.Component),Ko=ae((function(e,t){return{userIsSigningIntoClientApp:e.ContactState.ModalitySectionState.isUserIsSigningIntoClientApp}}),(function(e){return{signInUserIntoClientApp:function(){e({type:"SIGN_IN_USER_INTO_CLIENT"})}}}))(Go),Yo=function(e,t){return 0<=e&&e<24&&0<=t&&t<60?(e<10?"0":"")+e+":"+(t<10?"0":"")+t:""},Qo=function(e,t){return e&&e.DaysOfWeek&&0<=t&&t<7?e.DaysOfWeek[ne[t]]:""},$o=function(e){var t=e.bh.StartDayOfWeek,n="";n=e.bh.StartDayOfWeek===e.bh.EndDayOfWeek?Qo(e.localizedDaysOfWeek,e.bh.StartDayOfWeek):Qo(e.localizedDaysOfWeek,e.bh.StartDayOfWeek)+" - "+Qo(e.localizedDaysOfWeek,e.bh.EndDayOfWeek);var r=Yo(e.bh.StartHour,e.bh.StartMin)+" - "+Yo(e.bh.EndHour,e.bh.EndMin);return o.createElement("div",{key:t,className:"dynamic-hoops-line"},o.createElement("span",{className:"day-of-week"},n+": "),o.createElement("span",null,r))},Zo=function(e){return!!e.businessHours&&e.businessHours.length>0&&o.createElement("div",{className:"col-lg-12 body-copy-small wrap-text"},o.createElement("div",null,e.hoursOfOperationText),o.createElement("div",null,e.businessHours.map((function(t){return o.createElement($o,{localizedDaysOfWeek:e.localizedDaysOfWeek,bh:t})}))),o.createElement("div",null,e.hoursOfOperationTimeZoneMessage.replace("{0}",""+function(e){if(!(e&&e.TimeZoneName&&e.UtcOffset))return"";var t=new String(e.UtcOffset),n=t.startsWith("+")||t.startsWith("-"),o=!t.startsWith("-"),r=t.lastIndexOf(":");return"(UTC"+(o?"+":"-")+t.substring(n?1:0,r)+") "+e.TimeZoneName}(e.businessHours[0]))))},Xo=function(e){return o.createElement("div",{className:"body-copy-small",id:"hoursOfOperationSection"},o.createElement("div",{className:"communityLinkMessage"},o.createElement("span",null,e.communityLinkLabel),o.createElement("a",{id:"hoursOfOperationCommunityLink",className:"communityLink","data-bi-area":"HoursOfOperation","data-bi-formnm":"maxFunnel","data-bi-name":"HoursOfOperationCommunityLink",href:pe.CommunityLink,target:"_blank"},"answers.microsoft.com")),o.createElement(Zo,{hoursOfOperationText:e.hoursOfOperationText,localizedDaysOfWeek:e.localizedDaysOfWeek,businessHours:e.businessHours,hoursOfOperationTimeZoneMessage:e.hoursOfOperationTimeZoneMessage}))},Jo=function(e){Je({content:[{contentId:"manualThemeSelector",contentName:"manualThemeSelector",formnm:"maxFunnel",areaName:"modalitiesSection"}],behavior:"SHOW"});return o.createElement("div",{className:"form-group"},o.createElement("label",{htmlFor:"manualThemeSelector",style:{fontSize:"14px",fontWeight:"normal"}},e.manualAlchemyThemeSelectorLabelText),o.createElement("div",{className:"row"},o.createElement("div",{className:"col-sm-5 col-xs-12"},o.createElement("select",{name:"alchemyTheme",id:"manualThemeSelector",className:"form-control",value:e.selectedTheme||"",onChange:function(t){if(t&&t.target&&t.target.value){e.handleManualAlchemyThemeSelection(t.target.value);var n={content:[{contentId:"manualTheme",contentName:"manualTheme",theme:t.target.value,formnm:"maxFunnel",areaName:"modalitiesSection"}],behavior:"APPLY",actionType:"CL"};Xe(null,n)}},style:{backgroundColor:"#fffff",border:"1px solid #2e6da4",borderRadius:"unset"}},o.createElement("option",{value:""},e.manualAlchemyThemeSelectorFirstOptionLabel),e.alchemyUserFacingThemes.map((function(e){return o.createElement("option",{value:e.value,key:"cumats-"+e.value},e.label)}))))))},er=ae((function(e){return{selectedTheme:e.ContactState.ModalitySectionState.manualThemeSelected,alchemyUserFacingThemes:e.ContactState.ModalitySectionState.alchemyUserFacingThemes,manualAlchemyThemeSelectorLabelText:e.ContactState.SharedState.LocalizedStrings.ContactUsResultsStrings.manualAlchemyThemeSelectorLabelText,manualAlchemyThemeSelectorFirstOptionLabel:e.ContactState.SharedState.LocalizedStrings.ContactUsResultsStrings.manualAlchemyThemeSelectorFirstOptionLabel}}),(function(e){return{handleManualAlchemyThemeSelection:function(t){e(function(e){return{type:"SET_MANUALLY_SELECTED_ALCHEMY_THEME",theme:e}}(t)),e({type:"MANAGE_ALCHEMY_THEME"})}}}))(Jo),tr=function(e){var t=o.useCallback((function(t,n){var o=t?t.Value:null,r={ExtensionAttributes:{}};switch(n){case"L1":r.ExtensionAttributes[kt.ThemeL1]=o,r.ExtensionAttributes[kt.ThemeL2]=null,r.ExtensionAttributes[kt.ThemeL3]=null;break;case"L2":r.ExtensionAttributes[kt.ThemeL2]=o,r.ExtensionAttributes[kt.ThemeL3]=null;break;case"L3":r.ExtensionAttributes[kt.ThemeL3]=o}e.updateDraftRequest(r)}),[e]),n=o.useCallback((function(){e.fetchAvailableModalitiesV2()}),[e]),r=o.useMemo((function(){if(!e.themeRoutingData)return null;var t=null;return e.themeRoutingData.Nodes.forEach((function(e){"l1"===(e.Level||"").toLowerCase()&&(t=e)})),t}),[e.themeRoutingData]);return r?o.createElement(nr,{key:r.Id,node:r,nodesMap:e.themeRoutingData.NodesMap,handleOnChildSelected:t,handleRoutingCompleted:n,alchemyThemeRoutingConfirmButtonLabel:e.alchemyThemeRoutingConfirmButtonLabel,draftRequest:e.draftRequest}):null},nr=function(e){var t=o.useState(null),n=t[0],r=t[1],i=o.useState(""),a=i[0],s=i[1],c=o.useCallback((function(t){s(t);var n,o=ir(t,e.nodesMap);n=o&&o.ChildrenPointer?ir(o.ChildrenPointer,e.nodesMap):o,r(n),e.handleOnChildSelected(o,e.node.Level)}),[r,e.node,e.nodesMap,e.handleOnChildSelected,ir,s]);if(!e.node.Children&&!e.node.ChildrenPointer){var l={ExtensionAttributes:e.draftRequest.ExtensionAttributes};return o.useEffect((function(){or("alchemyThemeRoutingConfirmButton")})),o.createElement("div",null,o.createElement("button",{className:"btn btn-primary sharp",onClick:e.handleRoutingCompleted,id:"alchemyThemeRoutingConfirmButton","data-bi-bhvr":"CONTACT","data-bi-area":"modalitiesSection","data-bi-formnm":"maxFunnel","data-bi-name":"alchemyThemeRoutingConfirmButton","data-bi-freelancerequest":JSON.stringify(l)},e.alchemyThemeRoutingConfirmButtonLabel))}return o.createElement(o.Fragment,null,e.node.Children&&e.node.Level?o.createElement(rr,{selectedNodeId:a,parentId:e.node.Id,handleOnOptionSelected:c,node:e.node,nodesMap:e.nodesMap}):null,n?o.createElement(nr,{key:e.node.Label+"-"+e.node.Id+"-"+n.Id+"-"+n.Label+"-"+a,node:n,nodesMap:e.nodesMap,handleOnChildSelected:e.handleOnChildSelected,handleRoutingCompleted:e.handleRoutingCompleted,alchemyThemeRoutingConfirmButtonLabel:e.alchemyThemeRoutingConfirmButtonLabel,draftRequest:e.draftRequest}):null)},or=function(e){Je({content:[{contentId:e,contentName:e,formnm:"maxFunnel",areaName:"modalitiesSection"}],behavior:"SHOW"})},rr=function(e){o.useEffect((function(){!function(e){var t=e.parentId.startsWith("L0_")?"l1ThemeSelector":e.parentId.startsWith("L2_")?"l2ThemeSelector":"l3ThemeSelector",n=e.selectedNodeId?"APPLY":"SHOW";if("SHOW"==n){var o={content:[{contentId:t,contentName:t,formnm:"maxFunnel",areaName:"modalitiesSection",parentId:e.parentId,selectedNodeId:e.selectedNodeId}],behavior:n};Je(o)}}(e)}));var t=o.useMemo((function(){return e.node.Children?e.node.Children.map((function(t){return ir(t,e.nodesMap)})):null}),[e.node,e.nodesMap]);return t?o.createElement("div",{className:"form-group",id:"theme-routing-dropdown-group-"+e.parentId},o.createElement("label",{htmlFor:"theme-routing-dropdown-item-"+e.parentId,style:{fontSize:"14px",fontWeight:"normal",marginBottom:"0",lineHeight:"2"}},e.node.LevelLabel.Label),o.createElement("div",{className:"row col-xs-12"},o.createElement("select",{id:"theme-routing-dropdown-item-"+e.parentId,onChange:function(t){return e.handleOnOptionSelected(t.target.value?t.target.value:null)},className:"form-control alchemy-theme-dropdown",style:{backgroundColor:"#fffff",border:"1px solid #2e6da4",borderRadius:"unset"}},o.createElement("option",{value:""},e.node.LevelLabel.Placeholder),t.map((function(t,n){return o.createElement("option",{key:n+"-"+t.Id,value:t.Id,selected:e.selectedNodeId===t.Id},t.Label)}))))):null},ir=function(e,t){return t[e]||null},ar=ae((function(e){return{themeRoutingData:e.ContactState.SelfHelpAlchemyState.alchemyResults?e.ContactState.SelfHelpAlchemyState.alchemyResults.ThemeRoutingData:null,alchemyThemeRoutingConfirmButtonLabel:e.ContactState.SharedState.LocalizedStrings.ContactUsResultsStrings.contactUsModalitiesStrings.alchemyThemeRoutingConfirmButtonLabel,draftRequest:e.ContactState.ModalitySectionState.draftRequest}}),(function(e){return{fetchAvailableModalitiesV2:function(){return e({type:"FETCH_AVAILABLE_MODALITIES_V2"})},updateDraftRequest:function(t){e(Nn(t))}}}))(tr),sr=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),cr=function(e){function t(t){var n=e.call(this,t)||this;return n.isOutOfBusinessHours=function(){return(n.props.agentModality.Reason==Ct.OutOfBusinessHours||n.props.agentModality.Reason==Ct.SpecialistOutOfBusinessHours)&&!!n.props.agentModality&&!!n.props.agentModality.Info&&!!n.props.agentModality.Info.BusinessHours&&n.props.agentModality.Info.BusinessHours.length>0},n.onModalityClick=function(e){var t;e&&e.target&&e.stopPropagation();var o={Modality:n.props.agentModality.Modality};null!==n.props.agentModality.WaitTime&&void 0!==n.props.agentModality.WaitTime&&(o.ExtensionAttributes=((t={})[kt.WaitTime]=n.props.agentModality.WaitTime.toString(),t)),n.props.updateDraftRequest(o),n.props.setModalitySectionStage(Tt.RequestCreation)},n}return sr(t,e),t.prototype.render=function(){var e=this.props.contactUsModalitiesStrings.modalityLabelsMap[this.props.agentModality.Modality],t=this.isOutOfBusinessHours();return o.createElement("div",{className:"col-lg-12 body-copy-small modality-option"},t?o.createElement("div",{className:"modality-option-title"},e.OOBHTitle):o.createElement("a",{className:"modality-option-title",id:"Agent_Modality_"+this.props.agentModality.Modality,"data-bi-bhvr":"CONTACT","data-bi-area":"modalitiesSection","data-bi-formnm":"maxFunnel","data-bi-name":"Agent_Modality_"+Ot[this.props.agentModality.Modality],onClick:this.onModalityClick},e.Title),t?this.props.alchemyThemeRoutingShowHOOPs&&o.createElement(Zo,{hoursOfOperationText:this.props.contactUsModalitiesStrings.hoursOfOperationText,localizedDaysOfWeek:this.props.localizedDaysOfWeek,businessHours:this.props.agentModality.Info.BusinessHours,hoursOfOperationTimeZoneMessage:this.props.contactUsModalitiesStrings.hoursOfOperationTimeZoneMessage}):this.props.alchemyThemeRoutingShowWaitTime&&!!e.Description&&null!==this.props.agentModality.WaitTime&&void 0!==this.props.agentModality.WaitTime&&o.createElement("div",null,e.Description.replace("{0}",this.props.agentModality.WaitTime.toString())))},t}(o.Component),lr=ae((function(e,t){return{contactUsModalitiesStrings:e.ContactState.SharedState.LocalizedStrings.ContactUsResultsStrings.contactUsModalitiesStrings,localizedDaysOfWeek:e.ContactState.ModalitySectionState.localizedDaysOfWeek,alchemyThemeRoutingShowWaitTime:e.ContactState.ModalitySectionState.alchemyThemeRoutingShowWaitTime,alchemyThemeRoutingShowHOOPs:e.ContactState.ModalitySectionState.alchemyThemeRoutingShowHOOPs}}),(function(e){return{updateDraftRequest:function(t){e(Nn(t))},setModalitySectionStage:function(t){e(On(t))}}}))(cr),ur=function(e){return o.createElement("div",{className:"col-lg-12 body-copy-small modality-option"},o.createElement("a",{className:"modality-option-title",href:e.nonAgentModality.Link,id:"NonAgent_Modality_"+e.nonAgentModality.Id,"data-bi-bhvr":"CONTACT","data-bi-area":"modalitiesSection","data-bi-formnm":"maxFunnel","data-bi-name":"NonAgent_Modality_"+e.nonAgentModality.Id,target:"_blank"},e.nonAgentModality.Title),o.createElement("div",null,e.nonAgentModality.Description))},dr=ae((function(e,t){return{isGettingAvailableModalities:e.ContactState.ModalitySectionState.isGettingAvailableModalities,gettingAvailableModalitiesText:e.ContactState.SharedState.LocalizedStrings.ContactUsResultsStrings.contactUsModalitiesStrings.gettingAvailableModalitiesText,modalityResponse:e.ContactState.ModalitySectionState.modalityResponse,communityLinkMessageText:e.ContactState.SharedState.LocalizedStrings.ContactUsResultsStrings.contactUsModalitiesStrings.communityLinkMessageText,serviceAgreementMessageText:e.ContactState.SharedState.LocalizedStrings.ContactUsResultsStrings.contactUsModalitiesStrings.serviceAgreementMessageText}}))((function(e){var t=null;e.serviceAgreementMessageText&&(t=e.serviceAgreementMessageText.replace("{0}","<a id='serviceAgreementLink' href="+pe.ServiceAgreementLink+" target='_blank'>").replace("{1}","</a>"));return e.isGettingAvailableModalities?o.createElement("div",{className:"col-lg-12 body-copy-small"},e.gettingAvailableModalitiesText):o.createElement(o.Fragment,null,!!e.modalityResponse&&!!e.modalityResponse.AgentModalities&&!!e.modalityResponse.AgentModalities.Modalities&&e.modalityResponse.AgentModalities.Modalities.map((function(e){return o.createElement(lr,{agentModality:e,key:e.Modality})})),!!e.modalityResponse&&e.modalityResponse.NonAgentModalities&&e.modalityResponse.NonAgentModalities.Modalities&&e.modalityResponse.NonAgentModalities.Modalities.map((function(e){return o.createElement(ur,{nonAgentModality:e,key:e.Link})})),(!e.modalityResponse||!!e.modalityResponse&&!!e.modalityResponse.ShowAskCommunity)&&o.createElement("div",{className:"col-lg-12 body-copy-small modality-option"},o.createElement("a",{className:"modality-option-title",id:"communityForumLink","data-bi-bhvr":"COMMUNITY","data-bi-area":"modalitiesSection","data-bi-name":"communityForumLink","data-bi-formnm":"maxFunnel",href:pe.CommunityLink,target:"_blank"},e.communityLinkMessageText)),o.createElement("div",{id:"serviceAgreementMessage",className:"col-lg-12 body-copy-small",dangerouslySetInnerHTML:{__html:t}}))})),pr=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),hr=function(e){function t(t){var n=e.call(this,t)||this;return n.requestCreationStrings=n.props.modalitiesStrings.requestCreationStrings,n.onUserEmailInputChange=function(e){e&&e.target&&(e.stopPropagation(),n.props.updateDraftRequest({UserEmail:e.target.value}),n.props.updateIsEmailValid(_e.EmailAddress.test(e.target.value)))},n.onUserPhoneDialingCodeDropdownChange=function(e){e&&e.target&&(e.stopPropagation(),n.props.updateDraftRequest({UserPhoneDialingCodeIndex:e.target.value}))},n.onUserPhoneWithoutDialingCodeInputChange=function(e){e&&e.target&&(e.stopPropagation(),n.props.updateDraftRequest({UserPhoneWithoutDialingCode:e.target.value}),n.props.updateIsPhoneNumberValid(_e.PhoneNumber.test(e.target.value)))},n.onCreateRequestConfirmButtonClick=function(e){switch(e&&e.target&&e.stopPropagation(),n.props.draftRequest.Modality){case Ot.C2C:var t=Number(n.props.draftRequest.UserPhoneDialingCodeIndex),o=n.props.modalityResponse&&n.props.modalityResponse.RegionInfo&&n.props.modalityResponse.RegionInfo.length>0&&0<=t&&t<n.props.modalityResponse.RegionInfo.length?n.props.modalityResponse.RegionInfo[t]:null,r=""+(o&&o.DialingCode?o.DialingCode:"")+n.props.draftRequest.UserPhoneWithoutDialingCode;r&&(r=r.replace(/[^0-9]/g,"")),n.props.updateDraftRequest({UserPhone:r,UserEmail:""})}n.props.createRequest(),n.props.setModalitySectionStage(Tt.RequestConfirmation)},n.isConfirmButtonDisabled=function(){var e=!1;switch(n.props.draftRequest.Modality){case Ot.Chat:e=!n.props.draftRequest.UserEmail||!n.props.isEmailValid;break;case Ot.C2C:e=!n.props.draftRequest.UserPhoneDialingCodeIndex||!n.props.draftRequest.UserPhoneWithoutDialingCode||!n.props.isPhoneNumberValid;break;case Ot.Email:e=!n.props.draftRequest.UserEmail||!n.props.isEmailValid}return e},n.onCreateRequestBackButtonClick=function(e){e&&e.target&&e.stopPropagation(),n.props.setModalitySectionStage(Tt.ModalityOptions)},n}return pr(t,e),t.prototype.render=function(){var e=this.props.draftRequest.Modality,t=this.props.modalityResponse.AgentModalities.Modalities.filter((function(t){return t.Modality===e}))[0],n=this.props.modalitiesStrings.modalityLabelsMap[e];return n?o.createElement("div",{className:"col-lg-12 body-copy-small",id:"request-creation"},o.createElement("div",{className:"modality-option"},o.createElement("div",{className:"modality-option-title"},n.Title),!!t&&this.props.alchemyThemeRoutingShowWaitTime&&o.createElement("div",null,n.Description.replace("{0}",""+t.WaitTime))),(e===Ot.Chat||e===Ot.Email)&&o.createElement("div",{className:"field-section"},o.createElement("div",{className:"field-label"},o.createElement("span",null,this.requestCreationStrings.emailLabel),o.createElement("span",{className:"field-label-required"}," *")),o.createElement("div",{className:"field-input-group"},o.createElement("input",{id:"userEmailInput",className:"form-control field-input",type:"email",value:this.props.draftRequest.UserEmail,onChange:this.onUserEmailInputChange,disabled:e===Ot.Chat}),!this.props.isEmailValid&&o.createElement("div",{className:"field-input-invalid-message"},this.requestCreationStrings.invalidEmailMessageText))),e===Ot.C2C&&o.createElement("div",{className:"field-section"},o.createElement("div",{className:"field-label"},o.createElement("span",null,this.requestCreationStrings.phoneNumberLabel),o.createElement("span",{className:"field-label-required"}," *")),o.createElement("div",{className:"field-flex-line"},o.createElement("select",{id:"userPhoneDialingCodeDropdown",className:"form-control dialing-code-dropdown",value:this.props.draftRequest.UserPhoneDialingCodeIndex,onChange:this.onUserPhoneDialingCodeDropdownChange},o.createElement("option",{value:""},this.requestCreationStrings.regionDefaultOptionText),this.props.modalityResponse.RegionInfo.map((function(e,t){return o.createElement("option",{value:t,key:t},e.Name+" "+e.DialingCode)}))),o.createElement("div",{className:"field-input-group"},o.createElement("input",{id:"userPhoneWithoutDialingCodeInput",className:"form-control field-input",type:"tel",value:this.props.draftRequest.UserPhoneWithoutDialingCode,onChange:this.onUserPhoneWithoutDialingCodeInputChange}),!this.props.isPhoneNumberValid&&o.createElement("div",{className:"field-input-invalid-message"},this.requestCreationStrings.invalidPhoneNumberMessageText)))),o.createElement("div",null,o.createElement("input",{id:"createRequestConfirmButton",type:"button","data-bi-bhvr":"CONTACT","data-bi-area":"modalitiesSection","data-bi-name":"createRequestConfirmButton","data-bi-formnm":"maxFunnel","data-bi-freelancerequest":JSON.stringify({Modality:this.props.draftRequest.Modality}),className:"btn btn-primary sharp confirm-button",onClick:this.onCreateRequestConfirmButtonClick,value:this.requestCreationStrings.confirmButtonText,disabled:this.isConfirmButtonDisabled()}),o.createElement("a",{id:"createRequestBackButton","data-bi-bhvr":"CONTACT","data-bi-area":"modalitiesSection","data-bi-name":"createRequestBackButton","data-bi-formnm":"maxFunnel","data-bi-freelancerequest":JSON.stringify({Modality:this.props.draftRequest.Modality}),onClick:this.onCreateRequestBackButtonClick},this.requestCreationStrings.backButtonText))):null},t}(o.Component),fr=ae((function(e,t){return{draftRequest:e.ContactState.ModalitySectionState.draftRequest,modalityResponse:e.ContactState.ModalitySectionState.modalityResponse,modalitiesStrings:e.ContactState.SharedState.LocalizedStrings.ContactUsResultsStrings.contactUsModalitiesStrings,alchemyThemeRoutingShowWaitTime:e.ContactState.ModalitySectionState.alchemyThemeRoutingShowWaitTime,isPhoneNumberValid:e.ContactState.ModalitySectionState.isPhoneNumberValid,isEmailValid:e.ContactState.ModalitySectionState.isEmailValid}}),(function(e){return{updateIsPhoneNumberValid:function(t){e(function(e){return{type:"UPDATE_IS_PHONENUMBER_VALID",isPhoneNumberValid:e}}(t))},updateIsEmailValid:function(t){e(function(e){return{type:"UPDATE_IS_EMAIL_VALID",isEmailValid:e}}(t))},updateDraftRequest:function(t){e(Nn(t))},setModalitySectionStage:function(t){e(On(t))},createRequest:function(){e({type:"CREATE_REQUEST"})}}}))(hr),mr=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),gr=function(e,t,n){var o=pe.RaveChatWidgetLink.replace("{0}",e).replace("{1}",t).replace("{2}",n?"&isaad=true":"");window.open(o,"_blank")},br=function(e){var t=e.request.Modality,n={RequestId:e.request.RequestId,ParatureTicketNumber:e.request.ParatureTicketNumber},r={content:[{contentId:"requestConfirmation",contentName:"requestConfirmation",areaName:"modalitiesSection",formnm:"maxFunnel",freelancerequest:JSON.stringify(n)}],behavior:160};return Je(r),o.createElement(o.Fragment,null,o.createElement("div",{className:"request-confirmation-property"},o.createElement("div",{className:"request-confirmation-property-label"},e.requestConfirmationStrings.titleLabel),o.createElement("div",{className:"request-confirmation-property-value"},e.request.Title)),o.createElement("div",{className:"request-confirmation-property"},o.createElement("div",{className:"request-confirmation-property-label"},e.requestConfirmationStrings.requestNumberLabel),o.createElement("div",{className:"request-confirmation-property-value"},e.request.ParatureTicketNumber)),o.createElement("div",{className:"request-confirmation-property"},o.createElement("div",{className:"request-confirmation-property-label"},e.requestConfirmationStrings.statusLabel),o.createElement("div",{className:"request-confirmation-property-value"},e.request.State)),o.createElement("div",{className:"request-confirmation-property"},o.createElement("div",{className:"request-confirmation-property-label"},e.requestConfirmationStrings.nameLabel),o.createElement("div",{className:"request-confirmation-property-value"},e.request.UserFirstName," ",e.request.UserLastName)),(t==Ot.Chat||t==Ot.Email)&&o.createElement("div",{className:"request-confirmation-property"},o.createElement("div",{className:"request-confirmation-property-label"},e.requestConfirmationStrings.emailLabel),o.createElement("div",{className:"request-confirmation-property-value"},e.request.UserEmail)),t==Ot.C2C&&o.createElement("div",{className:"request-confirmation-property"},o.createElement("div",{className:"request-confirmation-property-label"},e.requestConfirmationStrings.phoneNumberLabel),o.createElement("div",{className:"request-confirmation-property-value"},e.request.UserPhone)),o.createElement("hr",{className:"request-confirmation-hr"}),t==Ot.Chat&&o.createElement("input",{id:"requestConfirmationStartChatButton",type:"button",className:"btn btn-primary sharp","data-bi-bhvr":"CONTACT","data-bi-area":"modalitiesSection","data-bi-formnm":"maxFunnel","data-bi-name":"requestConfirmationStartChatButton",onClick:function(t){if(t&&t.target&&t.stopPropagation(),!e.request)return null;gr(e.request.Source,e.request.RequestId,e.isOrgId)},value:e.requestConfirmationStrings.startChatButtonText}),t==Ot.C2C&&o.createElement("div",{className:"request-confirmation-message-text"},e.requestConfirmationStrings.c2CMessageText),t==Ot.Email&&o.createElement("div",{className:"request-confirmation-message-text"},e.requestConfirmationStrings.emailMessageText))},yr=function(e){function t(t){var n=e.call(this,t)||this;return n.componentDidMount=function(){!n.props.isCreatingRequest&&n.props.createdRequest&&n.props.createdRequest.RequestId&&n.logAndOpenRaveLink("componentDidMount")},n.componentDidUpdate=function(e){n.props.isCreatingRequest||!n.props.createdRequest||e.createdRequest&&e.createdRequest.RequestId===n.props.createdRequest.RequestId||n.logAndOpenRaveLink("componentDidUpdate")},n.logAndOpenRaveLink=function(e){if(n.props.createdRequest){var t={RequestId:n.props.createdRequest.RequestId,ParatureTicketNumber:n.props.createdRequest.ParatureTicketNumber},o={content:[{contentId:"requestConfirmationAutoChatOpen",contentName:"requestConfirmationAutoChatOpen",areaName:"modalitiesSection",callerMethod:e,formnm:"maxFunnel",freelancerequest:JSON.stringify(t)}],behavior:"CONTACT"};Xe(null,o),gr(n.props.createdRequest.Source,n.props.createdRequest.RequestId,n.props.isOrgId)}},n}return mr(t,e),t.prototype.render=function(){return o.createElement("div",{className:"col-lg-12 body-copy-small",id:"request-confirmation"},o.createElement("div",{className:"request-confirmation-header"},this.props.requestConfirmationStrings.headerText),this.props.isCreatingRequest?o.createElement("div",null,this.props.requestConfirmationStrings.creatingRequestMessageText):this.props.createdRequest?o.createElement(br,{request:this.props.createdRequest,isOrgId:this.props.isOrgId,requestConfirmationStrings:this.props.requestConfirmationStrings}):o.createElement("div",null,this.props.requestConfirmationStrings.errorMessageText))},t}(o.Component),vr=ae((function(e,t){return{isCreatingRequest:e.ContactState.ModalitySectionState.isCreatingRequest,createdRequest:e.ContactState.ModalitySectionState.createdRequest,isOrgId:e.ContactState.ModalitySectionState.isOrgId,requestConfirmationStrings:e.ContactState.SharedState.LocalizedStrings.ContactUsResultsStrings.contactUsModalitiesStrings.requestConfirmationStrings}}))(yr),_r=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),Sr=function(){return(Sr=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)},Cr=function(e,t,n,o){return new(n||(n=Promise))((function(r,i){function a(e){try{c(o.next(e))}catch(e){i(e)}}function s(e){try{c(o.throw(e))}catch(e){i(e)}}function c(e){e.done?r(e.value):new n((function(t){t(e.value)})).then(a,s)}c((o=o.apply(e,t||[])).next())}))},xr=function(e,t){var n,o,r,i,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,o&&(r=2&i[0]?o.return:i[0]?o.throw||((r=o.return)&&r.call(o),0):o.next)&&!(r=r.call(o,i[1])).done)return r;switch(o=0,r&&(i=[2&i[0],r.value]),i[0]){case 0:case 1:r=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,o=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(r=a.trys,(r=r.length>0&&r[r.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!r||i[1]>r[0]&&i[1]<r[3])){a.label=i[1];break}if(6===i[0]&&a.label<r[1]){a.label=r[1],r=i;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(i);break}r[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],o=0}finally{n=r=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}},wr=function(e){var t=e.isCollapsedModalities?"arrow-down":"arrow-up",n=e.isCollapsedModalities?"EXPAND":"REDUCE",r=function(){e.updateModalitiesExpandoState(!e.isCollapsedModalities)};return o.createElement("a",{tabIndex:0,id:"modalitiesExpando","data-bi-bhvr":n,"data-bi-name":"modalitiesExpando","data-bi-area":"modalitiesSection","data-bi-formnm":"maxFunnel",className:"text-dark",onClick:function(){r()},onKeyPress:function(e){"Enter"===e.key&&r()},"aria-label":"Get More Help. Navigate below to see your support options. Click to flip expander"},o.createElement("div",{className:"panel-heading"},o.createElement("h2",{id:"modalitiesHeader",className:"inline"},e.header),o.createElement("span",{"aria-expanded":!e.isCollapsedModalities,className:t+" "+ut(e.isRtl)})))};var Tr=function(e){var t=pe.SkylightTalkToAgentLink.replace("{0}",e.market).replace("{1}","smc-c").replace("{2}","Talk to an agent").replace("{3}","smc-alchemy-contactus");return Er(!0,"modalitiesProvidedOption",160,["VirtualAgent"]),o.createElement("a",{href:t,onClick:function(e){e.preventDefault(),window.open(t,"_blank","width=600,height=800,scrollbars=yes")},id:"virtualagentLink","data-bi-bhvr":"VIRTUALAGENT","data-bi-area":"modalitiesSection","data-bi-name":"contactModality","data-bi-formnm":"maxFunnel","data-bi-iscontactmodality":"true"},o.createElement("div",{className:"icon opCallBack inline x-hidden-focus"}),o.createElement("div",{className:"body-copy-small icon-text inline"},e.skylightTalkToAgentModalityText))},kr=function(e){function t(t){var n=e.call(this,t)||this;return n.state={isMessageVisible:n.props.disableCallToAction},n}return _r(t,e),t.prototype.render=function(){var e=this;return o.createElement("div",{className:"no-gutter"},o.createElement("div",{className:"col-lg-12 body-copy-small"},o.createElement("a",{href:"javascript:void(0)",id:"callToAction","data-bi-dnt":"true",className:"article-link",onClick:function(){document.getElementById("noModalityMessage").style.display="block",document.getElementById("noModalityMessage").focus(),e.state.isMessageVisible||(!function(){Cr(this,void 0,void 0,(function(){return xr(this,(function(e){return Xe(null,{content:[{contentId:"callToAction",contentName:"callToAction",formnm:"maxFunnel",areaName:"modalitiesSection"}],behavior:14,actionType:"CL"}),[2]}))}))}(),e.setState({isMessageVisible:!0}),e.props.setDisableCallToAction())}},this.props.contactUsResultsStrings.howToTalkToAgentText)),o.createElement("div",{tabIndex:0,id:"noModalityMessage",className:"col-lg-12",style:{display:this.state.isMessageVisible?"block":"none"}},o.createElement("div",{className:"no-modality-message margin-top-10",dangerouslySetInnerHTML:{__html:this.props.rawHtmlMessage}})))},t}(o.Component),Ir=function(e){var t=e.userSignedInOnEntry?160:100;Er(e.isModalitiesSearchInProgress,"noModalitiesAvailableOption",t);var n=e.ContactUsResultsParams.noModalitiesAvailableText.replace("{0}","<br>").replace("{1}",'<a id="communityForumLink" data-bi-bhvr="COMMUNITY" data-bi-area="modalitiesSection" data-bi-name="communityForumLink" data-bi-formnm="maxFunnel" href="'+e.communityUrl+'" target="_blank">').replace("{2}","</a>");return o.createElement(kr,{rawHtmlMessage:n,disableCallToAction:e.disableCallToAction,setDisableCallToAction:e.setDisableCallToAction(),contactUsResultsStrings:e.ContactUsResultsParams})},Or=function(e){var t,n=Object.keys(e.answerDeskContentModel.Modalities).map((function(t){return Sr({},e.answerDeskContentModel.Modalities[t],{ModalityType:t.toLowerCase()})})).filter((function(e){return e.ShowModality})),r=Object.keys(e.answerDeskContentModel.Modalities).map((function(t){return[t,e.answerDeskContentModel.Modalities[t]]})).filter((function(e){e[0];return e[1].ShowModality})).map((function(e){var t=e[0];e[1];return t}));t=e.answerDeskContentModel.Modalities.get?e.answerDeskContentModel.Modalities.get(oe.outofbusinesshours):e.answerDeskContentModel.Modalities[oe.outofbusinesshours];var i=e.userSignedInOnEntry?160:100,a=document.getElementById("modalitiesHeader");return e.userSignedInOnEntry||null===a||a.focus(),n.length>0&&null==t?(Er(e.isModalitiesSearchInProgress,"modalitiesProvidedOption",i,r),o.createElement("div",{className:"no-gutter"},o.createElement("div",{className:"ocCallCont row"},o.createElement("div",{className:"col-lg-12",id:"supportOptions"},lt()&&o.createElement("p",{className:"modality-description",id:"signUpSupportOptionDescription"},e.contactUsResultsStrings.signUpPageChatWithSpecialistDescription),o.createElement(Bo,{modalitiesToBeShown:n,isClientApp:e.isClientApp,showModalityExperience:e.showModalityExperience}))))):t&&t.Info&&t.Info.BusinessHours&&t.Info.BusinessHours.length>0?(Er(e.isModalitiesSearchInProgress,"HoursOfOperation",i,[oe.outofbusinesshours]),o.createElement("div",{id:"supportOptions"},o.createElement(Xo,{communityLinkLabel:e.contactUsResultsStrings.contactUsModalitiesStrings.communityLinkLabel,hoursOfOperationText:e.contactUsResultsStrings.contactUsModalitiesStrings.hoursOfOperationText,localizedDaysOfWeek:e.localizedDaysOfWeek,businessHours:t.Info.BusinessHours,hoursOfOperationTimeZoneMessage:e.contactUsResultsStrings.contactUsModalitiesStrings.hoursOfOperationTimeZoneMessage}))):o.createElement(Ir,{ContactUsResultsParams:e.contactUsResultsStrings,answerDeskContentModel:e.answerDeskContentModel,userSignedInOnEntry:e.userSignedInOnEntry,communityUrl:e.communityUrl,isModalitiesSearchInProgress:e.isModalitiesSearchInProgress,handleGettingModalitiesComplete:e.handleGettingModalitiesComplete,disableCallToAction:e.disableCallToAction,setDisableCallToAction:e.setDisableCallToAction})};function Er(e,t,n,o){return void 0===o&&(o=null),Cr(this,void 0,void 0,(function(){return xr(this,(function(r){return e&&Je({content:[{contentName:t,formnm:"maxFunnel",modalityResults:o,areaName:"modalitiesSection"}],behavior:n}),[2]}))}))}var Nr=function(e){switch(e.stage){case Tt.NotSignIn:return o.createElement(Dr,Sr({},e));case Tt.ThemeOptions:return o.createElement(ar,null);case Tt.ModalityOptions:return o.createElement(dr,null);case Tt.RequestCreation:return o.createElement(fr,null);case Tt.RequestConfirmation:return o.createElement(vr,null);default:return null}},Pr=function(e){var t,n=e.isSMCExperiment?"https://answers.microsoft.com":"https://answers.microsoft.com/"+e.market+"/msoffice";if(e.isSMCExperiment15Enabled||!e.consolidateGetModalitiesAPI&&e.isSMCExperiment)t=o.createElement(Tr,{market:e.market,skylightTalkToAgentModalityText:e.contactUsResultsStrings.skylightTalkToAgentModalityText});else if(e.isSignedIn||e.isUnAuthSupportEnabled)if(e.needsManualAlchemyThemeSelection&&!e.isThemeManuallySelected)t=o.createElement(er,null);else if(e.inModalities)if(null!=e.answerDeskContentModel.Message){var r=e.userSignedInOnEntry?160:100,i=e.isAdmin?"adminOption":"communityForumOption";Er(e.isModalitiesSearchInProgress,i,r),e.isModalitiesSearchInProgress&&e.handleGettingModalitiesComplete(),t=o.createElement(kr,{rawHtmlMessage:e.answerDeskContentModel.Message,disableCallToAction:e.disableCallToAction,setDisableCallToAction:e.setDisableCallToAction(),contactUsResultsStrings:e.contactUsResultsStrings})}else null===e.answerDeskContentModel?t=o.createElement(Ir,{ContactUsResultsParams:e.contactUsResultsStrings,answerDeskContentModel:e.answerDeskContentModel,userSignedInOnEntry:e.userSignedInOnEntry,isModalitiesSearchInProgress:e.isModalitiesSearchInProgress,communityUrl:n,handleGettingModalitiesComplete:e.handleGettingModalitiesComplete,disableCallToAction:e.disableCallToAction,setDisableCallToAction:e.setDisableCallToAction}):(t=o.createElement(Or,{contactUsResultsStrings:e.contactUsResultsStrings,answerDeskContentModel:e.answerDeskContentModel,userSignedInOnEntry:e.userSignedInOnEntry,isModalitiesSearchInProgress:e.isModalitiesSearchInProgress,communityUrl:n,handleGettingModalitiesComplete:e.handleGettingModalitiesComplete,disableCallToAction:e.disableCallToAction,setDisableCallToAction:e.setDisableCallToAction,isClientApp:e.isClientApp,showModalityExperience:e.showModalityExperience,localizedDaysOfWeek:e.localizedDaysOfWeek}),e.isModalitiesSearchInProgress&&e.handleGettingModalitiesComplete());else t=o.createElement("div",{id:"gettingSupportOptions",className:"col-lg-12 body-copy-small"},e.contactUsResultsStrings.gettingSupportOptionsText+"...");else t=o.createElement(Dr,Sr({},e));return t},Dr=function(e){var t=null;if(function(e,t){Cr(this,void 0,void 0,(function(){return xr(this,(function(n){return e&&Je({content:[{contentName:"signInOption",formnm:"maxFunnel",areaName:"modalitiesSection"}],behavior:t}),[2]}))}))}(e.userSignedInOnEntry,160),e.userSignedInOnEntry&&(e.setDisableCallToAction(),e.setUserSignedInOnEntryFalse()),e.errorOnSignIn){var n=e.contactUsResultsStrings.errorOnSignInText;n=n.replace("{0}",'<a href="#" id="reloadForSignInError" data-bi-area="modalitiesSection" data-bi-name="retryOnSignInLink" data-bi-formnm="maxFunnel" onClick="window.external.ExecuteToolbarCommand(7903)">').replace("{1}","</a>"),t=o.createElement("div",{id:"problemWithSignIn",className:"col-lg-12 body-copy-small",style:{whiteSpace:"pre-line"},dangerouslySetInnerHTML:{__html:n}})}else t=o.createElement(Ko,null);return t},Ar=ae((function(e,t){return{market:e.GlobalState.market,isRtl:e.GlobalState.isRtl,isSMCExperiment:e.ContactState.SharedState.isSMCExperiment,consolidateGetModalitiesAPI:e.ContactState.ModalitySectionState.consolidateGetModalitiesAPI,isRenderingModalitySection:e.ContactState.ModalitySectionState.isRenderingModalitySection,contactSearchedQuery:e.ContactState.SharedState.contactSearchedQuery,isSignedIn:e.ContactState.ModalitySectionState.isSignedIn,disableCallToAction:e.ContactState.ModalitySectionState.disableCallToAction,isModalitiesSearchInProgress:e.ContactState.ModalitySectionState.isModalitiesSearchInProgress,inModalities:e.ContactState.ModalitySectionState.inModalities,isOrgId:e.ContactState.ModalitySectionState.isOrgId,isAdmin:e.ContactState.ModalitySectionState.isAdmin,isMSFT:e.ContactState.ModalitySectionState.isMSFT,userInfo:e.ContactState.ModalitySectionState.userInfo,isCollapsedModalities:e.ContactState.ModalitySectionState.isCollapsedModalities,redirectForSignInLink:e.ContactState.ModalitySectionState.redirectForSignInLink,answerDeskContentModel:e.ContactState.ModalitySectionState.answerDeskContentModel,userSignedInOnEntry:e.ContactState.ModalitySectionState.userSignedInOnEntry,contactUsResultsStrings:e.ContactState.SharedState.LocalizedStrings.ContactUsResultsStrings,isClientApp:e.GlobalState.environment===le.nonAgavePane,userIsSigningIntoClientApp:e.ContactState.ModalitySectionState.isUserIsSigningIntoClientApp,errorOnSignIn:e.ContactState.ModalitySectionState.errorOnSignIn,isUnAuthSupportEnabled:e.ContactState.SharedState.isUnAuthSupportEnabled,safActionMaxRetries:e.ContactState.SharedState.safActionMaxRetries,isSMCExperiment15Enabled:e.ContactState.SharedState.isSMCExperiment15Enabled,needsManualAlchemyThemeSelection:Dn(e),isThemeManuallySelected:An(e),localizedDaysOfWeek:e.ContactState.ModalitySectionState.localizedDaysOfWeek,stage:e.ContactState.ModalitySectionState.stage,alchemyThemeRoutingEnabled:e.ContactState.ModalitySectionState.alchemyThemeRoutingEnabled,isGettingAvailableModalities:e.ContactState.ModalitySectionState.isGettingAvailableModalities,gettingAvailableModalitiesText:e.ContactState.SharedState.LocalizedStrings.ContactUsResultsStrings.contactUsModalitiesStrings.gettingAvailableModalitiesText,hideSelfHelpSmcIvr:e.ContactState.SharedState.hideSelfHelpSmcIvr}}),(function(e){return{updateModalitiesExpandoState:function(t){e({type:"UPDATE_MODALITIES_SECTION_EXPANDO_STATE",isCollapsedModalities:t})},redirectForSignInLinkFetch:function(){e({type:"REDIRECT_FOR_SIGN_IN"})},handleGettingModalitiesComplete:function(){e({type:"HANDLE_GETTING_MODALITIES_COMPLETE"})},setDisableCallToAction:function(){e({type:"SET_DISABLE_CALL_TO_ACTION"})},setUserSignedInOnEntryFalse:function(){e({type:"SET_USER_SIGNED_IN_ON_ENTRY"})},signInUser:function(){e({type:"SIGNING_IN_USER"})},showModalityExperience:function(t){e(function(e){return{type:"SHOW_MODALITY_EXPERIENCE_IN_IFRAME",iframeModalityLink:e}}(t))}}}))((function(e){var t,n=o.createElement(wr,{header:lt()?e.contactUsResultsStrings.signUpPageChatWithSpecialist:e.contactUsResultsStrings.getMoreHelpText,isCollapsedModalities:e.isCollapsedModalities,updateModalitiesExpandoState:e.updateModalitiesExpandoState,isRtl:e.isRtl});return e.isRenderingModalitySection?e.isCollapsedModalities?t=null:(n=e.hideSelfHelpSmcIvr?null:n,t=e.alchemyThemeRoutingEnabled?o.createElement(Nr,Sr({},e)):o.createElement(Pr,Sr({},e))):(n=null,t=null),o.createElement("div",{className:"row no-gutter"},o.createElement("div",{className:"col-lg-10 article-section"},o.createElement("div",{className:"panel-group"},o.createElement("div",{className:"panel panel-default"},n,o.createElement("div",{className:"panel-body"},t)))))})),Rr=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),Mr=function(e){function t(t){var n=e.call(this,t)||this;return n._dismissNotice=function(){n.props.dismissUserNotice(n.props.userNotice.noticeId)},n}return Rr(t,e),t.prototype.render=function(){var e="notice-close-mark-"+this.props.userNotice.noticeId,t="help-content-notice-"+this.props.userNotice.noticeId;return o.createElement("div",{className:"col-lg-10 caption alert-warning help-content-notice",id:t},o.createElement("span",null,this.props.userNotice.noticeText),o.createElement("div",{className:"notice-close-mark close",id:e,onClick:this._dismissNotice},"×"))},t}(o.Component),Fr=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),jr=function(e){function t(t){return e.call(this,t)||this}return Fr(t,e),t.prototype.render=function(){var e=this,t=[];return this.props.userNotices.map((function(n){n.isDismissed||t.push(o.createElement(Mr,{key:n.noticeId,userNotice:n,dismissUserNotice:e.props.dismissUserNotice}))})),o.createElement("div",null,t)},t}(o.Component),Lr=ae((function(e,t){return{userNotices:e.ContactState.UserNoticeState.userNotices}}),(function(e){return{dismissUserNotice:function(t){e(function(e){return{type:"DISMISS_NOTICE",noticeId:e}}(t))}}}))(jr),Hr=function(e){return o.createElement("div",null,o.createElement(Lr,null),o.createElement(Xn,null),o.createElement(ro,null),!(e.hideSelfHelpSmcIvr&&e.sourceApp===he.SMCIVR)&&o.createElement(o.Fragment,null,o.createElement(ho,null),o.createElement(jo,null)),o.createElement(Ar,null))},Br=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),zr=function(e){function t(t){var n=e.call(this,t)||this;return n.updateKey=0,n.iframeStartLoading=function(){n.props.toggleBackButton(!0)},n.handleOnLoad=function(){n.props.toggleBackButton(!1);var e=n.iframe.contentWindow.location.href;n.props.addToHistory(e),n.iframe.contentWindow.onunload=n.iframeStartLoading},n.initializeIframeRef=function(e){e&&(n.iframe=e)},n}return Br(t,e),t.prototype.shouldComponentUpdate=function(e){return e.articleUrl!==this.iframe.contentWindow.location.href&&(this.updateKey++,!0)},t.prototype.componentDidMount=function(){this.props.isClientApp&&(this.iframe.src=this.iframe.src)},t.prototype.componentDidUpdate=function(){this.componentDidMount()},t.prototype.render=function(){return o.createElement("div",{className:"ocSearchIFrameDiv"},o.createElement("iframe",{title:this.props.articleTitleText,key:this.updateKey,ref:this.initializeIframeRef,onLoad:this.handleOnLoad,id:"ocSearchIFrame",className:"ocSearchIFrame","frame-border":"0",scrolling:"auto",style:{display:"block"},src:this.props.articleUrl,allowFullScreen:!0}))},t}(o.Component),Ur=ae((function(e,t){return{articleTitleText:e.GlobalState.localStringsMap.L_Article_MainContent_RoleDescription,isClientApp:e.GlobalState.environment===le.nonAgavePane}}),(function(e,t){return{addToHistory:function(t){e(zn(t))},toggleBackButton:function(t){e(Un(t))}}}))(zr),Vr=function(e){return!0===e.backButtonDisabled?o.createElement("a",{id:"chatNavBackInactive",className:"icon-arrow-back","aria-label":e.ariaLabel,tabIndex:0,href:"javascript:void(0)"}," ",o.createElement("span",{className:"navBackIcon"})):o.createElement("a",{id:"chatNavBackActive","data-bi-bhvr":"BACKBUTTON","data-bi-area":"articleNavBar","data-bi-name":"articleBackArrow","data-bi-formnm":"maxFunnel",onKeyDown:e.inArticle?$e:null,className:"icon-arrow-back","aria-label":e.ariaLabel,tabIndex:0,onClick:e.historyPop,href:"javascript:void(0)"},o.createElement("span",{className:"navBackIcon"}))},Wr=function(e){return o.createElement("nav",{id:"chatNav",className:"navbar navbar-fixed-top"+e.displayNamespace},o.createElement("div",{className:"navbar-header "+(t=e.isRtl,"pull-"+(t?"right":"left"))},o.createElement(Vr,{inArticle:e.inArticle,historyPop:e.historyPop,ariaLabel:e.backButtonAriaLabel,backButtonDisabled:e.backButtonDisabled})));var t},qr=(n(492),ae((function(e){return{groupmeBrandingHeaderText:e.ContactState.SharedState.LocalizedStrings.ContactUsFormStrings.groupmeBrandingHeaderText,groupmeHeaderText:e.ContactState.SharedState.LocalizedStrings.ContactUsFormStrings.groupmeHeaderText,groupmeSubHeaderText:e.ContactState.SharedState.LocalizedStrings.ContactUsFormStrings.groupmeSubHeaderText}}))((function(e){return o.createElement("div",{className:"branded-header groupme-brand",id:"groupMeBrandedHeader"},o.createElement("div",{className:"container-fluid"},o.createElement("div",{className:"row"},o.createElement("div",{className:"col-lg-3 col-xs-0"}),o.createElement("div",{className:"col-lg-7 col-xs-12"},o.createElement("h1",{tabIndex:-1,id:"groupMeBrandedHeaderBrand"},e.groupmeBrandingHeaderText),o.createElement("h2",{tabIndex:-1,id:"groupMeBrandedHeaderText"},e.groupmeHeaderText),o.createElement("p",{id:"groupMeBrandedSubHeaderText"},e.groupmeSubHeaderText)))))}))),Gr=ae((function(e){return{signUpPageHeaderText:e.ContactState.SharedState.LocalizedStrings.ContactUsFormStrings.signUpPageHeaderText,signUpPageSubHeaderText:e.ContactState.SharedState.LocalizedStrings.ContactUsFormStrings.signUpPageSubHeaderText}}))((function(e){return o.createElement("div",{id:"signUpBrandedHeader"},o.createElement("div",{className:"container-fluid"},o.createElement("div",{className:"row"},o.createElement("div",{className:"col-lg-3 col-xs-0"}),o.createElement("div",{className:"col-lg-7 col-xs-12"},o.createElement("div",{className:"col-lg-10",id:"help-content-title"},o.createElement("h1",{className:"signup-header",id:"signUpPageHeaderText",tabIndex:-1},e.signUpPageHeaderText),o.createElement("p",{className:"body-copy-small",id:"signUpPageSubHeaderText"},e.signUpPageSubHeaderText))))))})),Kr=function(e){return e.brand===ie.GroupMe?o.createElement(qr,null):e.brand===ie.SignUp?o.createElement(Gr,null):null},Yr=ae((function(e){return{appName:e.GlobalState.sourceApp||e.GlobalState.appVer}}))((function(e){return pt(e.appName)?o.createElement(Kr,{brand:dt(e.appName)}):null})),Qr=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),$r=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.renderArticle=function(){var e=o.createElement(Wr,{backButtonAriaLabel:t.props.localizedStrings.contactUsNavBarStrings.backButtonAriaLabel,displayNamespace:t.props.globalState.displayNamespace,inArticle:t.props.inArticle,historyPop:t.props.historyPop,backButtonDisabled:t.props.backButtonDisabled,isRtl:t.props.globalState.isRtl});return o.createElement("div",null,e,o.createElement(Ur,{articleUrl:t.props.articleUrl}))},t.renderContactUsBody=function(){return o.createElement("div",{className:"row"},o.createElement("div",{className:"col-lg-3 col-xs-0"}),o.createElement("div",{className:"col-lg-7 col-xs-12"},o.createElement(Hr,{sourceApp:t.props.globalState.sourceApp,hideSelfHelpSmcIvr:t.props.hideSelfHelpSmcIvr})))},t.renderBrandedContactUsBody=function(){return o.createElement("div",{id:"brandedHeader"},o.createElement(Yr,null),o.createElement("div",{className:"container-fluid"},o.createElement("div",{className:"row"},o.createElement("div",{className:"col-lg-3 col-xs-0"}),o.createElement("div",{className:"col-lg-7 col-xs-12"},o.createElement(Hr,{sourceApp:t.props.globalState.sourceApp,hideSelfHelpSmcIvr:t.props.hideSelfHelpSmcIvr})))))},t}return Qr(t,e),t.prototype.render=function(){var e=this.props.globalState.isRtl?"rtl":"ltr";return pt(this.props.globalState.sourceApp||this.props.globalState.appVer)?o.createElement("div",{className:"full-height-container",dir:e},this.renderBrandedContactUsBody()):o.createElement("div",{className:"container-fluid full-height-container",dir:e},this.props.inArticle?this.renderArticle():this.renderContactUsBody())},t}(o.Component),Zr=ae((function(e,t){return{inArticle:e.NavState.inContactArticle,articleUrl:e.NavState.contactIframeSrc,backButtonDisabled:e.NavState.backButtonDisabled&&!e.NavState.inContactArticle,runningInSoc:e.GlobalState.environment===le.SOC,localizedStrings:e.ContactState.SharedState.LocalizedStrings,globalState:e.GlobalState,hideSelfHelpSmcIvr:e.ContactState.SharedState.hideSelfHelpSmcIvr}}),(function(e){return{historyPop:function(){e({type:"POP_HISTORY"})},fetchUserInfo:function(){return e({type:"FETCH_USERINFO"})}}}))($r),Xr=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),Jr="M18.9,23c-0.4,0-0.8-0.1-1-0.3c-0.4-0.4-0.4-0.9-0.4-1.3V17c0-0.2-0.2-0.5-0.5-0.5h-2c-0.3,0-0.5,0.3-0.5,0.5v4.3c0,0.4,0,0.9-0.4,1.3c-0.3,0.3-0.8,0.4-1.6,0.3l-0.2,0c-0.7-0.1-1.4-0.2-2.1-0.4C9.5,22.4,9,21.8,9,21v-6.6c0-0.6,0.3-0.9,0.6-1.2l5.4-4.9c0,0,0,0,0.1-0.1c0.5-0.3,1.2-0.3,1.7,0c0,0,0,0,0.1,0.1l5.4,4.9c0.3,0.2,0.7,0.6,0.7,1.2V21c0,0.7-0.5,1.3-1.2,1.5c-0.6,0.1-1.2,0.2-1.9,0.3l-0.4,0.1C19.2,23,19.1,23,18.9,23z M15,15.5h2c0.9,0,1.5,0.6,1.5,1.5v4.4c0,0.1,0,0.4,0.1,0.5c0,0,0.1,0.1,0.7,0l0.4-0.1c0.6-0.1,1.2-0.2,1.8-0.3c0.3-0.1,0.5-0.3,0.5-0.5v-6.6c0-0.1-0.1-0.2-0.3-0.4l-5.4-4.9c-0.2-0.1-0.4-0.1-0.6,0L10.3,14c-0.2,0.2-0.3,0.3-0.3,0.5V21c0,0.2,0.2,0.4,0.5,0.5c0.6,0.1,1.3,0.3,2,0.4l0.2,0c0.6,0.1,0.7,0,0.7,0c0.1-0.1,0.1-0.4,0.1-0.5V17C13.5,16.1,14.1,15.5,15,15.5z",ei=function(e){function t(t){var n=e.call(this,t)||this;return n.handleHomeNav=function(e){e.preventDefault();var t=e.which?e.which:e.keyCode;13!==t&&32!==t||n.props.isHomePage||n.props.handleHomeNav()},n.state={currentSvgValue:Jr},n}return Xr(t,e),t.prototype.render=function(){var e=this;return o.createElement("a",{tabIndex:0,"aria-disabled":this.props.isHomePage,role:"button",onKeyPress:function(t){return e.handleHomeNav(t)},id:"TeamsHomeIcon"},o.createElement("svg",{viewBox:"0 0 32 32",role:"presentation",className:"TeamsIcon "+(this.props.isHomePage?"disabled":""),"aria-label":this.props.ariaLabel,onMouseEnter:function(){e.props.isHomePage||e.setState({currentSvgValue:"M18.9,23c-0.4,0-0.8-0.1-1-0.3c-0.4-0.4-0.4-0.9-0.4-1.3V17c0-0.2-0.2-0.5-0.5-0.5h-2c-0.3,0-0.5,0.3-0.5,0.5v4.3c0,0.4,0,0.9-0.4,1.3c-0.3,0.3-0.8,0.4-1.6,0.3l-0.2,0c-0.7-0.1-1.4-0.2-2.1-0.4C9.5,22.4,9,21.8,9,21v-6.6c0-0.6,0.3-0.9,0.6-1.2l5.4-4.9c0,0,0,0,0.1-0.1c0.5-0.3,1.2-0.3,1.7,0c0,0,0,0,0.1,0.1l5.4,4.9c0.3,0.2,0.7,0.6,0.7,1.2V21c0,0.7-0.5,1.3-1.2,1.5c-0.6,0.1-1.2,0.2-1.9,0.3l-0.4,0.1C19.2,23,19.1,23,18.9,23z"})},onMouseLeave:function(){e.setState({currentSvgValue:Jr})},onClick:function(){e.props.isHomePage||e.props.handleHomeNav()}},o.createElement("path",{d:this.state.currentSvgValue})))},t}(o.Component),ti=ae((function(e,t){return{homeHref:e.HelpState.defaultHomeHref,isHomePage:e.NavState.helpIframeSrc&&-1!==e.NavState.helpIframeSrc.indexOf("topic/"+e.HelpState.defaultArticleGuid),globalState:e.GlobalState,ariaLabel:e.HelpState.helpLocalizedStrings.homeButtonAriaLabel,formName:e.NavState.helpFormName}}),(function(e){return{updateStateForHomeNav:function(){e({type:"NAV_HOME"})}}}))((function(e){var t=e.globalState.theme+" "+e.globalState.displayNamespace+" f1NavBtn",n=function(){if(Le||He){var t={actionType:"CL",content:{contentId:"f1NavHome",areaName:"inAppNavBar",contentName:"homeButton",formnm:e.formName},behavior:de.UNDEFINED};Le&&Le.ct.captureContentPageAction(t),He&&(t.behavior=ze&&ze.Behavior?ze.Behavior.UNDEFINED:de.UNDEFINED,He.capturePageAction(null,t))}var n=document.getElementById("ocSearchIFrame");if(n){var o={func:"ButtonAction",funcData:{behaviorId:de.UNDEFINED,contentId:"f1NavHome",contentName:"homeButton",href:e.homeHref}};n.contentWindow.postMessage(o,"*")}e.updateStateForHomeNav()};return-1!==e.globalState.namespace.toLowerCase().indexOf("teams")?o.createElement(ei,{ariaLabel:e.ariaLabel,isHomePage:e.isHomePage,handleHomeNav:n}):o.createElement("div",null,o.createElement("a",{id:"f1NavHome",href:"#",className:t,"aria-label":e.ariaLabel,onClick:function(t){e.isHomePage||n(),t.preventDefault()}},o.createElement("span",{className:"icon-home icon-home-top"})))})),ni=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),oi=function(e){function t(t){var n=e.call(this,t)||this;return n.autosuggestDispatcher=function(e){var t=[];n.getJSON(n.state.EndpointUrl+e,(function(e,o){if(null!==e)console.log("Autosuggest Error: "+e);else{try{var r=JSON.parse(o)}catch(e){console.log("Error parsing autosuggest")}if(null!==r){for(var i=0,a=r.AutoSuggestions;i<a.length;i++){var s=a[i];t.push(s.CompletionText)}n.setState({suggestionsArray:t})}}}))},n.keyboardHandler=function(e){var t=n.state.suggestionsArray.length-1,o=n.state.caretPosition;"ArrowDown"===e?-1===o?o=0:o===t?o=-1:o+=1:-1===o?o=t:0===o?o=-1:o-=1,n.setState({caretPosition:o}),-1===o?n.props.suggestionsCallback(n.state.originalQuery):n.props.suggestionsCallback(n.state.suggestionsArray[o])},n.getJSON=function(e,t){var n=new XMLHttpRequest;n.open("GET",e,!0),n.onload=function(){var e=n.status;t(200===e?null:e,n.response)},n.send()},n.handleListClick=function(e,t,o){n.setState({suggestionsArray:[]}),n.props.persistSearch(e,o,t)},n.state={suggestionsArray:[],caretPosition:-1,originalQuery:"",EndpointUrl:n.props.endpointUrl,hidden:!1},n}return ni(t,e),t.prototype.shouldComponentUpdate=function(e,t){return this.state.suggestionsArray!==t.suggestionsArray||this.state.caretPosition!==t.caretPosition},t.prototype.componentWillReceiveProps=function(e,t){e.autosuggestHidden?(this.setState({hidden:!0}),this.forceUpdate()):(!e.autoSuggestQueryInScope&&e.searchQuery!==this.props.searchQuery&&null!==e.searchQuery&&e.searchQuery.length>=1&&null===e.searchQuery.match("[ ]+(?!.)")?(this.setState({caretPosition:-1,originalQuery:e.searchQuery}),this.autosuggestDispatcher(e.searchQuery)):e.searchQuery.length<1&&this.setState({caretPosition:-1,suggestionsArray:[]}),("ArrowDown"===e.arrowEvent||"ArrowUp"===e.arrowEvent)&&this.state.suggestionsArray.length>0&&this.keyboardHandler(e.arrowEvent),this.setState({hidden:!1}))},t.prototype.render=function(){var e=this;return this.state.suggestionsArray.length>0?o.createElement("div",{className:"supAutoSuggestContainer",style:{visibility:this.state.hidden?"hidden":"visible"}},o.createElement("ul",{className:"supSuggestionList"},this.state.suggestionsArray.map((function(t,n){return o.createElement("li",{className:"supSuggestionItem"+(e.state.caretPosition===n?" supSuggestionItemHighLight":""),key:n,onMouseDown:function(o){e.handleListClick(o,n,t)},id:n.toString()}," ",t," ")})))):null},t}(o.Component),ri=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),ii=function(e){function t(t){var n=e.call(this,t)||this;n.f1SearchBarClick=function(){n.setState({searchBarClassName:n.searchBarActiveClassName,searchButtonSource:n.searchButtonActiveSrc,arrowEvent:""})},n.f1SearchBarBlur=function(){n.setState({searchBarClassName:n.searchBarInactiveClassName,searchButtonSource:n.searchButtonInactiveSrc,arrowEvent:"",autosuggestHidden:!0})},n.handleSubmit=function(e,t,o){e.preventDefault();var r=window.OOGlobal.BrsSettings.OdcSup_InAppSearchUX_LimitSearchBoxEnabled;if(null!==n.state.searchQuery&&n.state.searchQuery.length>1){var i=void 0,a=!1,s=document.getElementById("ocSearchButton");n.setState({autosuggestHidden:!0}),n.f1SearchBarBlur(),"True"===r&&(s?s.disabled=!0:document.addEventListener("DOMContentLoaded",(function(e){s.disabled=!0}))),t?(n.setState({searchQuery:t}),i=t,a=!0,n.props.updateStateForSearch(n.props.templateUrl+i)):n.state.searchQuery.length>0&&(i=n.state.searchQuery,n.props.updateStateForSearch(n.props.templateUrl+i));var c;/topic\/([^?]+)/i.test(n.props.iframeSrc)&&(c=RegExp.$1);var l={actionType:"CL",content:{srchq:i,asdisplayed:n.props.renderAutoSuggest,aslinkpos:o,assetGuid:c,contentId:"ocSearchButton",areaName:"inAppNavBar",contentName:"searchSubmit",formnm:n.props.formName},behavior:a?de.SEARCHAUTOCOMPLETE:de.SEARCH};Le&&Le.ct.captureContentPageAction(l),He&&(l.behavior=a?ze&&ze.Behavior?ze.Behavior.SEARCHAUTOCOMPLETE:de.SEARCHAUTOCOMPLETE:ze&&ze.Behavior?ze.Behavior.SEARCH:de.SEARCH,He.capturePageAction(null,l));var u={func:"ClientNavSearch",funcData:{href:n.props.templateUrl+n.state.searchQuery,formnm:n.props.formName,"ms.searchquery":i,"ms.searchtype":a?"autosuggest":"searchBox",behavior:a?de.SEARCHAUTOCOMPLETE:de.SEARCH}},d=document.getElementById("ocSearchIFrame");"True"===r&&(s?d.onload=function(){s.disabled=!1}:document.addEventListener("DOMContentLoaded",(function(e){d.onload=function(){s.disabled=!1}}))),d&&d.contentWindow.postMessage(u,"*")}},n.handleTextChange=function(e){n.setState({searchQuery:e.target.value,arrowEvent:"",autoSuggestQueryInScope:!1,autosuggestHidden:!1})},n.handleKeyDown=function(e){"ArrowDown"!==e.key&&"ArrowUp"!==e.key||(n.setState({arrowEvent:e.key}),e.preventDefault())},n.suggestionsUpdate=function(e){n.setState({searchQuery:e,autoSuggestQueryInScope:!0,arrowEvent:""})};var o=t.globalState.theme,r=t.imageTheme;return n.searchButtonInactiveSrc="/images/search_icon_inactive_"+r+"_themes.png",n.searchBarInactiveClassName="f1SearchBar "+o+" "+n.props.globalState.namespace,n.searchBarActiveClassName=n.searchBarInactiveClassName+" focus",n.placeholder=t.localizedStrings.searchFormPlaceholderText,n.f1SearchBoxClassName="f1SearchBox "+o,n.searchButtonLabel=t.localizedStrings.searchButtonLabel,n.searchButtonActiveSrc="/images/search_icon_active_"+r+"_themes.png",n.state={searchBarClassName:n.searchBarActiveClassName,searchButtonSource:n.searchButtonActiveSrc,searchQuery:n.props.tellMeQuery?n.props.tellMeQuery:"",arrowEvent:"",autoSuggestQueryInScope:!1,autosuggestHidden:!1},n}return ri(t,e),t.prototype.render=function(){var e=null,t=100;return"False"===window.OOGlobal.BrsSettings.OdcSup_InAppSearchUX_LimitSearchBoxEnabled&&(t=1e3),this.props.renderAutoSuggest&&(e=o.createElement(oi,{endpointUrl:this.props.autoSuggestEndpointUrl,autosuggestHidden:this.state.autosuggestHidden,arrowEvent:this.state.arrowEvent,searchQuery:this.state.searchQuery,persistSearch:this.handleSubmit,suggestionsCallback:this.suggestionsUpdate,autoSuggestQueryInScope:this.state.autoSuggestQueryInScope})),o.createElement("div",{id:"ocSearchForm",className:"ocSearchForm"},o.createElement("div",{id:"f1SearchBar",className:this.state.searchBarClassName,onClick:this.f1SearchBarClick},o.createElement("form",{onSubmit:this.handleSubmit,autoComplete:"off"},o.createElement("input",{onBlur:this.f1SearchBarBlur,onKeyDown:this.handleKeyDown,type:"text",id:"ocSearchBox",className:this.f1SearchBoxClassName,maxLength:t,"aria-live":"polite",placeholder:this.placeholder,value:this.state.searchQuery,onChange:this.handleTextChange,autoFocus:!0}),e,o.createElement("input",{onKeyDown:$e,type:"submit",id:"ocSearchButton",value:"",className:"f1SearchBtn "+this.props.globalState.theme,"aria-label":this.searchButtonLabel,onClick:this.handleSubmit,"data-bi-area":"navigation","aria-disabled":this.state.searchQuery.length<1,"data-bi-mto":"true"}))))},t}(o.Component),ai=ae((function(e){return{iframeSrc:e.NavState.helpIframeSrc,templateUrl:e.HelpState.templateUrl,imageTheme:e.HelpState.helpNavImageTheme,renderAutoSuggest:e.HelpState.renderAutoSuggest,localizedStrings:e.HelpState.helpLocalizedStrings,globalState:e.GlobalState,autoSuggestEndpointUrl:e.HelpState.autosuggestEndpointUrl,tellMeQuery:e.HelpState.tellMeQuery,formName:e.NavState.helpFormName}}),(function(e){return{updateStateForSearch:function(t){e(function(e){return{type:"EXECUTE_SEARCH",newIframeSrc:e}}(t))}}}))(ii),si=function(e){return o.createElement("a",{tabIndex:0,"aria-disabled":e.backButtonDisabled,role:"button",onKeyPress:function(t){return function(t){t.preventDefault();var n=t.which?t.which:t.keyCode;13!==n&&32!==n||e.backButtonDisabled||e.handleBackNav()}(t)},id:"TeamsBackIcon"},o.createElement("svg",{viewBox:"0 0 32 32",className:"TeamsIcon "+(e.backButtonDisabled?"disabled":""),"aria-label":e.ariaLabel,"data-bi-bhvr":"NAVIGATIONBACK",onClick:function(){e.backButtonDisabled||e.handleBackNav()}},o.createElement("path",{d:"M17.65 21.35l-5-5a.513.513 0 0 1 0-.71l5-5c.19-.19.51-.19.71 0 .19.19.19.51 0 .71L13.71 16l4.65 4.65c.19.19.19.51 0 .71-.1.1-.23.15-.35.15a.524.524 0 0 1-.36-.16z"})))},ci=ae((function(e){return{backButtonDisabled:e.NavState.history.length<=1||e.NavState.backButtonDisabled,globalState:e.GlobalState,ariaLabel:e.HelpState.helpLocalizedStrings.backButtonAriaLabel,formName:e.NavState.helpFormName}}),(function(e){return{popHistory:function(){e({type:"POP_HISTORY"})}}}))((function(e){var t=function(){if(Le||He)var t={actionType:"CL",content:{contentId:"f1NavBack",areaName:"inAppNavBar",contentName:"backArrow",formnm:e.formName},behavior:de.NAVIGATIONBACK};Le&&Le.ct.captureContentPageAction(t),He&&(t.behavior=ze&&ze.Behavior?ze.Behavior.NAVIGATIONBACK:de.NAVIGATIONBACK,He.capturePageAction(null,t));var n=document.getElementById("ocSearchIFrame");if(n){var o={func:"ButtonAction",funcData:{behaviorId:1,formnm:e.formName,contentId:"f1NavBack",contentName:"backArrow"}};n.contentWindow.postMessage(o,"*")}e.popHistory()};return-1!==e.globalState.namespace.toLowerCase().indexOf("teams")?o.createElement(si,{backButtonDisabled:e.backButtonDisabled,globalState:e.globalState,ariaLabel:e.ariaLabel,handleBackNav:t}):o.createElement("button",{className:e.globalState.theme+" "+e.globalState.displayNamespace+" f1NavBtn",id:"f1NavBack","aria-label":e.ariaLabel,"data-bi-bhvr":"NAVIGATIONBACK",onClick:function(){e.backButtonDisabled||t()}},o.createElement("span",{className:"icon-arrow-back"}))})),li=ae((function(e,t){return{navBarSettings:e.HelpState.navBarSettings}}),null)((function(e){return e.navBarSettings===ce.None?null:o.createElement("div",{className:"f1NavBar",id:"f1NavBar"},e.navBarSettings&ce.ShowBackButton?o.createElement(ci,null):null,e.navBarSettings&ce.ShowHomeButton?o.createElement(ti,null):null,e.navBarSettings&ce.ShowSearch?o.createElement(ai,null):null)})),ui=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),di=function(e){function t(t){var n=e.call(this,t)||this;return n.shiftTabHandler=function(e){try{var t=JSON.parse(e.data);if(n.iframe&&t&&12===t._data){var o=n.iframe.contentWindow.document.querySelectorAll('button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])');o[o.length-1].focus()}}catch(e){console.log(e)}},n.iframeStartLoading=function(){n.props.toggleBackButton(!0)},n.handleOnLoad=function(e,t){if(n.props.environment===le.nonAgavePane&&((o=n.props.namespace)&&-1!==We.indexOf(o.toLowerCase())))try{window.external.PageRendered()}catch(e){nt(300,"reacthelp","loggingITPO","win32InitialHelpLoadLog","help.tsx","componentDidMount","initialHelpPageLoad","issue calling window.external.PageRendered(). Caught error: "+e)}var o;n.iframe.style.display="block",n.props.toggleBackButton(!1);var r=t||n.iframe.contentWindow.location.href;(n.props.addToHistory(r),n.props.updateHelpFormName(function(e){var t=document.getElementById("ocSearchIFrame");if(t&&t.contentWindow){var n=t.contentWindow;return e?"inAppHelpHomePage":n.location.pathname.match("/f1/topic$")?"inAppHelpSERP":"inAppHelpAsset"}}(r.includes(n.props.defaultArticleGuid))),t)||(Array.from(n.iframe.contentWindow.document.querySelectorAll('a[href="javascript:"], a[href*="#bkmk"]')).forEach((function(e){e.addEventListener("click",(function(){return n.props.addToHistory(n.iframe.contentWindow.location.href)}))})),n.iframe.contentWindow.onunload=n.iframeStartLoading)},n.initializeIframeRef=function(e){e&&(n.iframe=e)},window.addEventListener("message",n.shiftTabHandler,!1),n}return ui(t,e),t.prototype.shouldComponentUpdate=function(e){return!this.iframe.contentWindow},t.prototype.render=function(){var e=this.props.navBarSettings===ce.None?"ocSearchIFrameDiv noNavIFrame":"ocSearchIFrameDiv";return o.createElement("div",{className:e},o.createElement("iframe",{title:this.props.articleTitleText,ref:this.initializeIframeRef,onLoad:this.handleOnLoad,id:"ocSearchIFrame",className:"ocSearchIFrame","frame-border":"0",scrolling:"auto",src:this.props.iframeSrc,"data-template-url":this.props.templateUrl,"allow-fullscreen":"true"}))},t}(o.Component),pi=ae((function(e){return{articleTitleText:e.GlobalState.localStringsMap.L_Article_MainContent_RoleDescription,iframeSrc:e.NavState.helpIframeSrc,templateUrl:e.HelpState.templateUrl,navBarSettings:e.HelpState.navBarSettings,environment:e.GlobalState.environment,namespace:e.GlobalState.namespace,defaultArticleGuid:e.HelpState.defaultArticleGuid}}),(function(e){return{addToHistory:function(t){e(zn(t))},toggleBackButton:function(t){e(Un(t))},updateHelpFormName:function(t){e(function(e){return{type:"UPDATE_HELP_FORM_NAME",helpFormName:e}}(t))}}}))(di),hi=(n(496),function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}()),fi=function(e){function t(t){var n=e.call(this,t)||this;return n.handleOnUnload=function(){var e={behavior:de.SCENARIOCANCEL,actionType:"CL",content:{formnm:n.props.helpFormName,contentName:"f1Close",areaName:"f1Header"}};Le&&Le.ct.captureContentPageAction(e),He&&(e.behavior=ze&&ze.Behavior?ze.Behavior.SCENARIOCANCEL:de.SCENARIOCANCEL,He.capturePageAction(null,e))},window.addEventListener("unload",n.handleOnUnload),n}return hi(t,e),t.prototype.render=function(){return Ze(ue.AssetID,"S.CL.NAV"),Ze(ue.PageType,"ClientNav"),o.createElement("div",{id:"Help"},o.createElement("div",{className:"bodyContent",id:"b_content"},o.createElement("div",{className:"ocSearchPaneScoped ocSearchPaneScopedUniversal ocSearchNavOn",id:"ocSearchNav"},o.createElement(li,null),o.createElement(pi,null))))},t}(o.Component),mi=ae((function(e,t){return{helpFormName:e.NavState.helpFormName}}),null)(fi),gi=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),bi=function(e){function t(t){return e.call(this,t)||this}return gi(t,e),t.prototype.componentDidMount=function(){var e;this.props.isUWP&&!this.props.isAgave?this.props.getInfoForClientTokenRetrieval():this.props.getBackgroundAuthUri((e=Me.parse(Office.context.document.url).hostname,-1!==e.indexOf("live")&&-1===e.indexOf("sharepoint")?Ke.WindowsLiveId:Ke.AAD).toString())},t.prototype.render=function(){return this.props.isAgave&&null!=this.props.backgroundAuthUri?o.createElement("iframe",{id:"backgroundAuthContactUs",src:this.props.backgroundAuthUri,height:"1",width:"1"}):o.createElement("div",null)},t}(o.Component),yi=ae((function(e,t){return{backgroundAuthUri:e.ContactState.ModalitySectionState.backgroundAuthUri,isUWP:it(e.GlobalState.namespace),isAgave:e.GlobalState.environment===le.agavePane}}),(function(e){return{getBackgroundAuthUri:function(t){e(En(t))},getInfoForClientTokenRetrieval:function(){e({type:"GET_INFO_CLIENT_TOKEN_RETRIEVAL"})}}}))(bi),vi=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),_i=function(e,t,n,o){return new(n||(n=Promise))((function(r,i){function a(e){try{c(o.next(e))}catch(e){i(e)}}function s(e){try{c(o.throw(e))}catch(e){i(e)}}function c(e){e.done?r(e.value):new n((function(t){t(e.value)})).then(a,s)}c((o=o.apply(e,t||[])).next())}))},Si=function(e,t){var n,o,r,i,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,o&&(r=2&i[0]?o.return:i[0]?o.throw||((r=o.return)&&r.call(o),0):o.next)&&!(r=r.call(o,i[1])).done)return r;switch(o=0,r&&(i=[2&i[0],r.value]),i[0]){case 0:case 1:r=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,o=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(r=a.trys,(r=r.length>0&&r[r.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!r||i[1]>r[0]&&i[1]<r[3])){a.label=i[1];break}if(6===i[0]&&a.label<r[1]){a.label=r[1],r=i;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(i);break}r[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],o=0}finally{n=r=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}};var Ci=function(e){function t(t){var n=e.call(this,t)||this,o="thirdPartyCookiesDisabledSection";return n.state={urlToRedirectUser:"https://"+window.location.hostname+"/home/contact?ContactUsExperienceEntryPointAssetId="+o,areaName:o},function(e){_i(this,void 0,void 0,(function(){return Si(this,(function(t){return Je({content:[{areaName:e}],behavior:0}),[2]}))}))}(n.state.areaName),n}return vi(t,e),t.prototype.render=function(){var e=this.props.localizedStrings.thirdPartyCookiesDisabledMessage.replace("{0}","<a href="+this.state.urlToRedirectUser+' data-bi-formnm="maxFunnel" data-bi-area='+this.state.areaName+' data-bi-name="thirdPartyCookiesDisabledLink" target="_blank">').replace("{1}","</a>");return o.createElement("div",{id:"thirdPartyCookieMessage",dangerouslySetInnerHTML:{__html:e}})},t}(o.Component),xi=ae((function(e,t){return{localizedStrings:e.ContactState.SharedState.LocalizedStrings.ContactUsResultsStrings}}),{})(Ci),wi=n(69),Ti=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),ki=function(){return(ki=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)},Ii=function(e){function t(n){var o=e.call(this,n)||this;return o.getSocData=function(){switch(o.props.environment){case le.agavePane:o.initializeAgavePane();break;case le.nonAgavePane:o.initializeNonAgavePane();break;case le.SOC:o.initializeSOC();break;case le.Teams:o.initializeTeamsApp();break;default:console.log("running in unsupported environment")}},o.getUserNotices=function(){o.props.fetchUserNotices()},o.initializeMacBridge=function(e){e.WVJBCallbacks=[];var t=document.createElement("iframe");t.style.display="none",t.src="https://__bridge_loaded__",document.documentElement.appendChild(t),setTimeout((function(){return document.documentElement.removeChild(t)}),0)},o.initializeTeamsApp=function(){var e,t=o.props.queryParameterDictionary,n=t.omkt;n||(n="en-us");var r=t.context;try{e=JSON.parse(r)}catch(e){console.log("error parsing user context string.")}var i={Host:null,Platform:null,RequestedStringIds:be,Market:n,Version:"16",Namespace:ot(e),LCID:0};o.props.fetchInitializationData(i,o.props.environment);var a=e&&e.TeamsTheme?function(e){switch(e){case"dark":return"black";case"contrast":return"highcontrastblack";case"default":default:return"colorful"}}(e.TeamsTheme):"colorful";o.props.setTheme(a),o.props.initTeamsSdk()},o.initializeAgavePane=function(){Office.onReady((function(e){if(null==Office.context.host)o.initializeFallback();else{console.log("Office.js is now ready in "+e.host+" on "+e.platform);var t={Host:Office.context.host.toString(),Platform:Office.context.platform.toString(),RequestedStringIds:be,Market:Office.context.displayLanguage,Version:"16",Namespace:null,LCID:null},n=null==Office.context.officeTheme?"white":function(e){switch(e){case"#e6e6e6":return"colorful";case"#666666":return"darkgray";case"#262626":return"black";case"#ffffff":default:return"white"}}(Office.context.officeTheme.bodyBackgroundColor);o.props.setTheme(n);var r=Office.context.document.settings.get("gwdropdownflightinfo");!0!==r&&"true"!==r||o.props.setDropdownGwEnabled(!0);var i=Office.context.document.settings.get("query");if(i&&(i=i.replace(" ","").toLowerCase()),"160272"===o.props.queryParameterDictionary.helpid||"contactsupport"===i)o.props.setStateToContactSupport();else if("givefeedback"===i)return void(window.location.search="?isAgave=true&HelpID=161255");o.props.fetchInitializationData(t,o.props.environment)}})).catch((function(){o.initializeFallback()}))},o.initializeFallback=function(){o.props.fetchInitializationData(Se,o.props.environment),o.props.setTheme("white")},o.initializeNonAgavePane=function(){var e=window.ResponsiveNavReact,t=!!e&&e.isRtl&&"string"==typeof e.isRtl&&"true"===e.isRtl.toLowerCase(),n={AppVer:e.appVer,DefaultArticleGuid:e.defaultArticle,LocalizedStrings:{LocalizedStrings:e.localStringsMap,IsRtl:t},Market:e.market,Namespace:e.nameSpace.toLowerCase(),NavigationBarSettings:ce[e.navBarSettings],Version:e.version,SupportSettingsConfig:e.SupportSettingsConfig};o.props.setInitializationData(n,o.props.environment,o.props.globalState.sourceApp),o.props.fetchSupportConfigData({Host:null,Platform:null,Market:e.market,RequestedStringIds:null,Version:null,Namespace:null,LCID:null},o.props.environment,n.AppVer);var r=e&&null!==e.theme?e.theme.toLowerCase():ve[ve.colorful];o.props.setTheme(r),o.props.getInfoForClientRetrievalToken(),o.initializeSharedState(n.Namespace,r),-1!==Me.parse(window.location.href,!0).href.indexOf("/home/chat")&&o.props.setStateToContactSupport(),rt(n.Namespace)&&o.initializeMacBridge(window)},o.initializeSOC=function(){var e={Host:null,Platform:null,RequestedStringIds:be,Market:tt(),Version:o.props.globalState.version,Namespace:o.props.globalState.namespace,LCID:null};o.props.fetchInitializationData(e,o.props.environment),o.props.setStateToContactSupport()},o.initializeHelp=function(){o.initializeHelpIframeSrc(),"False"===o.props.queryParameterDictionary.shownav?o.props.setNavBarSettings(0):(o.listenForGuidedWalkthroughEvent(),o.setHelpNavImgTheme(),o.setAutosuggestState(),o.props.setHelpLocalizedStrings({searchButtonLabel:o.props.globalState.localStringsMap.L_SERP_DefaultText,backButtonAriaLabel:o.props.globalState.localStringsMap.L_SERP_Back,homeButtonAriaLabel:o.props.globalState.localStringsMap.L_SERP_Home,searchFormPlaceholderText:o.props.globalState.localStringsMap.L_Search_Help_DefaultText})),o.props.setInitializationComplete()},o.listenForGuidedWalkthroughEvent=function(){window.addEventListener("message",o.receiveMessageEvent)},o.receiveMessageEvent=function(e){e&&"dropdownTrainingRedirect"===e.data&&(window.location.pathname="/f1/DropdownGuidedWalkthrough")},o.setAutosuggestState=function(){var e=window.OOGlobal&&window.OOGlobal.AutoSuggestEndPoint;if(null!=e&&e.endsWith("/api/autosuggest")){var t=[e,Object(wi.stringify)({culture:o.props.globalState.market,tenant:o.props.globalState.appVer.toLowerCase(),spellcheck:!0,highlights:!1,searchterm:null})].join("?");return o.props.setRenderAutoSuggest(!0),void o.props.setAutoSuggestEndpoint(t)}var n,r=(n=o.props.globalState.namespace.toLowerCase(),-1!==Pe.indexOf(n));o.props.setRenderAutoSuggest(r),r&&o.setAutoSuggestEndpoint()},o.setAutoSuggestEndpoint=function(){var e=function(e){if(!e)return null;switch(e.toLowerCase()){case"powerpnt":return"powerpoint";case"excel":return"excel";case"winword":return"word";default:return null}}(o.props.globalState.namespace);o.props.setAutoSuggestEndpoint("https://dgps.support.microsoft.com/API/v1/AutoSuggestion?Culture="+o.props.globalState.market+"&Tenant=Office-"+e+"&spellcheck=true&SearchTerm=")},o.setHelpNavImgTheme=function(){o.props.setHelpNavImageTheme("colorful"===o.props.globalState.theme||"white"===o.props.globalState.theme?"white_colorful":"gray_black")},o.initializeHelpIframeSrc=function(){var e=Ge("f1/topic",o.props.defaultHelpArticleGuid,o.props.globalState.market,{NS:o.props.globalState.namespace,version:"16",context:o.props.queryParameterDictionary.context||"",dropdownGwEnabled:o.props.dropdownGwEnabled});o.props.setDefaultHomeHref(e);var n=Ge("f1/topic",o.props.defaultHelpArticleGuid,o.props.globalState.market,{NS:o.props.globalState.namespace,version:"16",EntryPoint:"true",context:o.props.queryParameterDictionary.context||"",dropdownGwEnabled:o.props.dropdownGwEnabled}),r=Ge("f1","topic",o.props.globalState.market,{NS:o.props.globalState.namespace,Version:"16",Query:""}),i=null;o.props.environment===le.agavePane?Office.context.document.settings.get("query")&&(i=Office.context.document.settings.get("query"),Office.context.document.settings.remove("query")):o.props.environment===le.nonAgavePane&&(i=o.props.queryParameterDictionary.query);var a={NS:o.props.globalState.namespace,version:"16",EntryPoint:"true"};if(i){var s=i.replace(" ","").toLowerCase(),c=i.match("HelpID=(.*)"),l=i.match("AssetID=(.*)");"showtraining"===s?n=Ge("f1/topic","csh",o.props.globalState.market,ki({},a,{HelpId:"126385"})):"whatsnew"===s?n=Ge("f1/topic","csh",o.props.globalState.market,ki({},a,{HelpId:"WNOnline1"})):c?null!==c[1]&&(o.handleGWRedirect(c[1]),n=Ge("f1/topic","csh",o.props.globalState.market,ki({},a,{HelpId:c[1]}))):l?null!==l[1]&&(n=Ge("f1/topic",l[1],o.props.globalState.market,ki({},a,{showContactUsNav:"false"}))):(n=Ge("f1","topic",o.props.globalState.market,ki({},a,{Query:i})),o.props.setTellMeQuery(i))}if(o.props.environment===le.nonAgavePane||o.props.environment===le.Teams){var u=o.props.queryParameterDictionary.helpid;u&&(n=t.guidRegExp.test(u)?Ge("f1/topic",u,o.props.globalState.market,ki({},a)):Ge("f1/topic","csh",o.props.globalState.market,ki({},a,{HelpId:u})))}var d={iframeSrc:n,templateUrl:r};o.props.setHelpIframeState(d)},o.handleGWRedirect=function(e){var t=null;switch(e){case"177691":t="xl.stocks";break;case"120734":t="xl.geography";break;default:return}window.location.search?window.location.href=window.location.origin+"/f1/GuidedWalkthrough"+window.location.search+"&gwassetid="+t+"&source=CSH":window.location.href=window.location.origin+"/f1/GuidedWalkthrough?gwassetid="+t+"&source=CSH"},o.initializeContactSupport=function(){var e;Ze(ue.PageType,"ContactUs"),Ze(ue.AssetID,"S.HP.MaxFunnel"),Ze(ue.InAppExternalNavigationType,"ContactUs"),Ze(ue.ExperienceVersion,"0.0"),o.props.setContactUsLocalizedStrings({contactUsNavBarStrings:{chatHeaderText:o.props.globalState.localStringsMap.L_Chat_Header,backButtonAriaLabel:o.props.globalState.localStringsMap.L_SERP_Back},ContactUsFormStrings:{charRemainingText:o.props.globalState.localStringsMap.L_Feedback_Char,contactUsFormDescription:o.props.globalState.localStringsMap.L_Chat_Description_Client,contactUsFormPlaceholder:o.props.globalState.localStringsMap.L_Chat_Input_Placeholder,socContactUsFormDescription:o.props.globalState.localStringsMap.L_ContactUs_ContactOfficeSupport,socSMCExperimentContactUsFormDescription:o.props.globalState.localStringsMap.L_ContactUs_ContactMicrosoftSupport,signUpPageHeaderText:o.props.globalState.localStringsMap.L_ContactUs_SignUpPageHeaderText,signUpPageSubHeaderText:o.props.globalState.localStringsMap.L_ContactUs_SignUpPageSubHeaderText,signUpPagePlaceholderText:o.props.globalState.localStringsMap.L_ContactUs_SignUpPagePlaceholderText,socContactUsFormPlaceholder:o.props.globalState.localStringsMap.L_ContactUs_DescribeYourIssueHere,privacyPolicyText:o.props.globalState.localStringsMap.L_Feedback_Review_Link,supportPolicyText:o.props.globalState.localStringsMap.L_SupportPolicy_LinkName,getHelpButtonText:o.props.globalState.localStringsMap.L_Get_Help,templateUrl:"/"+o.props.globalState.market+"/f1/topic/",templateUrlInSoc:"https://support.office.com/en-us/article/",groupmeBrandingHeaderText:o.props.globalState.localStringsMap.L_ContactUs_GroupMeBrandingHeaderText,groupmeHeaderText:o.props.globalState.localStringsMap.L_ContactUs_GroupMeHeaderText,groupmeSubHeaderText:o.props.globalState.localStringsMap.L_ContactUs_GroupMeSubHeaderText},ContactUsResultsStrings:{templateUrl:"/"+o.props.globalState.market+"/f1/topic/",templateUrlInSoc:"https://support.office.com/en-us/article/",contactUsSupportOptionsHeader:o.props.globalState.localStringsMap.L_ContactUs_SupportOptions,contactUsNoResults:o.props.globalState.localStringsMap.L_ContactUs_NoResultsForSearch,signInButtonText:o.props.globalState.localStringsMap.L_SignIn,contactUsResultsHeader:o.props.globalState.localStringsMap.L_Chat_Suggested_Articles,getMoreHelpText:o.props.globalState.localStringsMap.L_Get_More_Help,signUpPageChatWithSpecialist:o.props.globalState.localStringsMap.L_ContactUs_SignUpPageChatWithSpecialist,noModalitiesAvailableText:o.props.globalState.localStringsMap.L_Modalities_Not_Available,contactUsModalitiesStrings:{gettingAvailableModalitiesText:o.props.globalState.localStringsMap.L_ContactUs_GettingAvailableModalitiesText,alchemyThemeRoutingConfirmButtonLabel:o.props.globalState.localStringsMap.L_ContactUs_AlchemyThemeRouting_ConfirmButton_Label,callbackText:o.props.globalState.localStringsMap.L_Help_Callback_Title,chatText:o.props.globalState.localStringsMap.L_Help_Chat_Title,communityText:o.props.globalState.localStringsMap.L_Call_E_ComLink,communityLinkLabel:o.props.globalState.localStringsMap.L_ContactUs_CommunityLinkLabel,hoursOfOperationText:o.props.globalState.localStringsMap.L_ContactUs_HoursOfOperationText,hoursOfOperationTimeZoneMessage:o.props.globalState.localStringsMap.L_ContactUs_HoursOfOperation_TimeZone_MessageText,unAuthBranchingText:o.props.globalState.localStringsMap.L_ContactUS_UnAuth_TroubleSigningIn,modalityLabelsMap:(e={},e[Ot.Chat]={Title:o.props.globalState.localStringsMap.L_ContactUs_Modality_Chat_Title,OOBHTitle:o.props.globalState.localStringsMap.L_ContactUs_Modality_Chat_OOBH_Title,Description:o.props.globalState.localStringsMap.L_ContactUs_Modality_Chat_Description},e[Ot.C2C]={Title:o.props.globalState.localStringsMap.L_ContactUs_Modality_C2C_Title,OOBHTitle:o.props.globalState.localStringsMap.L_ContactUs_Modality_C2C_OOBH_Title,Description:o.props.globalState.localStringsMap.L_ContactUs_Modality_C2C_Description},e[Ot.Email]={Title:o.props.globalState.localStringsMap.L_ContactUs_Modality_Email_Title,OOBHTitle:o.props.globalState.localStringsMap.L_ContactUs_Modality_Email_OOBH_Title,Description:o.props.globalState.localStringsMap.L_ContactUs_Modality_Email_Description},e),communityLinkMessageText:o.props.globalState.localStringsMap.L_ContactUs_Modality_CommunityLink_MessageText,serviceAgreementMessageText:o.props.globalState.localStringsMap.L_ContactUs_Modality_ServiceAgreement_MessageText,requestCreationStrings:{phoneNumberLabel:o.props.globalState.localStringsMap.L_ContactUs_RequestCreation_PhoneNumberLabel,regionDefaultOptionText:o.props.globalState.localStringsMap.L_ContactUs_RequestCreation_RegionDefaultOptionText,invalidPhoneNumberMessageText:o.props.globalState.localStringsMap.L_ContactUs_RequestCreation_InvalidPhoneNumberMessageText,emailLabel:o.props.globalState.localStringsMap.L_ContactUs_RequestCreation_EmailLabel,invalidEmailMessageText:o.props.globalState.localStringsMap.L_ContactUs_RequestCreation_InvalidEmailMessageText,confirmButtonText:o.props.globalState.localStringsMap.L_ContactUs_RequestCreation_ConfirmButtonText,backButtonText:o.props.globalState.localStringsMap.L_ContactUs_RequestCreation_BackButtonText},requestConfirmationStrings:{headerText:o.props.globalState.localStringsMap.L_ContactUs_RequestConfirmation_HeaderText,titleLabel:o.props.globalState.localStringsMap.L_ContactUs_RequestConfirmation_TitleLabel,requestNumberLabel:o.props.globalState.localStringsMap.L_ContactUs_RequestConfirmation_RequestNumberLabel,statusLabel:o.props.globalState.localStringsMap.L_ContactUs_RequestConfirmation_StatusLabel,nameLabel:o.props.globalState.localStringsMap.L_ContactUs_RequestConfirmation_NameLabel,phoneNumberLabel:o.props.globalState.localStringsMap.L_ContactUs_RequestConfirmation_PhoneNumberLabel,emailLabel:o.props.globalState.localStringsMap.L_ContactUs_RequestConfirmation_EmailLabel,creatingRequestMessageText:o.props.globalState.localStringsMap.L_ContactUs_RequestConfirmation_CreatingRequestMessageText,startChatButtonText:o.props.globalState.localStringsMap.L_ContactUs_RequestConfirmation_StartChatButtonText,c2CMessageText:o.props.globalState.localStringsMap.L_ContactUs_RequestConfirmation_C2CMessageText,emailMessageText:o.props.globalState.localStringsMap.L_ContactUs_RequestConfirmation_EmailMessageText,errorMessageText:o.props.globalState.localStringsMap.L_ContactUs_RequestConfirmation_ErrorMessageText}},contactUsUseSelfHelpText:o.props.globalState.localStringsMap.L_ContactUs_UseSelfHelpSolutions,contactUsTrySuggestedAnswerText:o.props.globalState.localStringsMap.L_ContactUs_TrySuggestedAnswer,alchemyPRRQuestion:o.props.globalState.localStringsMap.L_ContactUs_AlchemyPRRQuestion,alchemyPRRQuestionAnswerYes:o.props.globalState.localStringsMap.L_ContactUs_AlchemyPRRQuestionAnswerYes,alchemyPRRQuestionAnswerNo:o.props.globalState.localStringsMap.L_ContactUs_AlchemyPRRQuestionAnswerNo,alchemyPRRQuestionSubmittedText:o.props.globalState.localStringsMap.L_ContactUs_AlchemyPRRQuestionSubmittedText,adminPortalText:o.props.globalState.localStringsMap.L_ContactUs_PleaseGoToAdminPortal,communityForumsText:o.props.globalState.localStringsMap.L_ContactUs_OrgNonAdmin_LearnToContactAdminOrGoToCommunity,gettingSupportOptionsText:o.props.globalState.localStringsMap.L_ContactUs_GettingSupportOptions,pleaseSignInMessage:o.props.globalState.localStringsMap.L_ContactUs_PleaseSignInForSupportOptions,errorOnSignInText:o.props.globalState.localStringsMap.L_ContactUs_SignInErrorPleaseTryAgain,gettingSelfHelpText:o.props.globalState.localStringsMap.L_ContactUs_SearchingForSelfHelp,showMoreText:o.props.globalState.localStringsMap.L_ShowMoreContent,showLessText:o.props.globalState.localStringsMap.L_ShowLessContent,feedbackButtonYesText:o.props.globalState.localStringsMap.L_Feedback_Yes,feedbackButtonNoText:o.props.globalState.localStringsMap.L_Feedback_No,feedbackQuestionText:o.props.globalState.localStringsMap.L_Feedback_Primary,feedbackReceivedText:o.props.globalState.localStringsMap.L_IA_Feedback_Recorded,thirdPartyCookiesDisabledMessage:o.props.globalState.localStringsMap.L_ThirdPartyCookiesDisabled_Message,alchemyInsightFeedbackQuestionText:o.props.globalState.localStringsMap.L_Feedback_IA,skylightTalkToAgentModalityText:o.props.globalState.localStringsMap.L_ContactUs_SkylightTalkToAgentModalityText,howToTalkToAgentText:o.props.globalState.localStringsMap.L_ContactUs_HowToTalkToAgentText,manualAlchemyThemeSelectorLabelText:o.props.globalState.localStringsMap.L_ContactUs_ManualAlchemyThemeSelectorLabelText,manualAlchemyThemeSelectorFirstOptionLabel:o.props.globalState.localStringsMap.L_ContactUs_ManualAlchemyThemeSelectorFirstOptionLabel,signUpPageChatWithSpecialistDescription:o.props.globalState.localStringsMap.L_ContactUs_SignUpPageChatWithSpecialistDescription}}),o.props.setInitializationComplete(),Ze(ue.Product,o.props.globalState.appVer),Ze(ue.ReferApp,o.props.globalState.appVer),o.props.globalState.sourceApp&&Ze(ue.SourceApp,o.props.globalState.sourceApp);var t;t={},"object"==typeof Le&&Le.ct.capturePageView(t),"object"==typeof He&&He.capturePageView(t)},o.initializeSharedState=function(e,t){if(o.props.globalState.environment!==le.SOC){var n=e||o.props.globalState.namespace;o.addToBodyElement(n,t||o.props.globalState.theme),o.props.setDisplayNamespace(function(e){if(!e)return"";switch(e.toLowerCase()){case"winword":case"wdwaenduser":case"macword":case"iphoneword":case"wd_android_phone":return"winword";case"excel":case"xlwaenduser":case"macexcel":case"iphoneexcel":case"xl_android_phone":return"excel";case"powerpnt":case"ppwaenduser":case"macpowerpoint":case"iphoneppt":case"ppt_android_phone":return"powerpnt";case"onenote":case"onwaenduser":case"maconenote":case"mob_on_iphone":case"mob_on_and":return"onenote";default:return""}}(n))}},o.addToBodyElement=function(e,t){document.getElementById("ReactViewBody").className="",document.getElementById("ReactViewBody").classList.add("supCont"),e&&document.getElementById("ReactViewBody").classList.add(e.toLowerCase()),document.getElementById("ReactViewBody").classList.add(t)},o.getSocData(),o.getUserNotices(),o.props.globalState.namespace&&-1!==qe.indexOf(o.props.globalState.namespace)||o.props.fetchUserInfo(),o}return Ti(t,e),t.prototype.render=function(){return this.props.initializationComplete?this.props.inContactUs?this.props.hasThirdPartyCookiesEnabled?this.props.environment===le.agavePane||-1!==qe.indexOf(this.props.globalState.namespace)?o.createElement("div",null,o.createElement(yi,null)," ",o.createElement(Zr,null)):o.createElement(Zr,null):o.createElement(xi,null):o.createElement(mi,null):(this.props.socDataGrabComplete&&(this.props.environment!==le.nonAgavePane&&this.initializeSharedState(),this.props.inContactUs?this.initializeContactSupport():this.initializeHelp()),null)},t.guidRegExp=/^[\da-f]{8}-(?:[\da-f]{4}-){3}[\da-f]{12}$/i,t}(o.Component),Oi=ae((function(e,t){return{environment:e.GlobalState.environment,initializationComplete:e.GlobalState.initializationComplete,socDataGrabComplete:e.GlobalState.socDataGrabComplete,inContactUs:e.NavState.inContactUs,globalState:e.GlobalState,defaultHelpArticleGuid:e.HelpState.defaultArticleGuid,hasThirdPartyCookiesEnabled:e.ContactState.ModalitySectionState.hasThirdPartyCookiesEnabled,dropdownGwEnabled:e.HelpState.dropdownGwEnabled,queryParameterDictionary:e.GlobalState.queryParams}}),(function(e){return{setTellMeQuery:function(t){e(function(e){return{type:"SET_TELL_ME_QUERY",query:e}}(t))},setDefaultHomeHref:function(t){e(function(e){return{type:"SET_DEFAULT_HOME_HREF",defaultHomeHref:e}}(t))},fetchInitializationData:function(t,n){e(function(e,t){return{type:"FETCH_INITIALIZATION_DATA",host:e.Host,platform:e.Platform,market:e.Market,version:e.Version,namespace:e.Namespace?e.Namespace.toLowerCase():"",LCID:e.LCID,requestedStringIds:e.RequestedStringIds,environment:t}}(t,n))},fetchUserNotices:function(){e({type:"FETCH_USER_NOTICES"})},fetchSupportConfigData:function(t,n,o){e(function(e,t,n){return{type:"FETCH_SUPPORTCONFIG_DATA",market:e.Market,environment:t,appVer:n}}(t,n,o))},fetchUserInfo:function(){e({type:"FETCH_USERINFO"})},getInfoForClientRetrievalToken:function(){e({type:"GET_INFO_CLIENT_TOKEN_RETRIEVAL"})},setTheme:function(t){e(function(e){return{type:"SET_THEME",theme:e}}(t))},setStateToContactSupport:function(){e({type:"NAV_CONTACT_US"})},setHelpIframeState:function(t){e(Wn(t))},setHelpNavImageTheme:function(t){e({type:"SET_HELP_NAV_IMG_THEME",imgTheme:t})},setRenderAutoSuggest:function(t){e(function(e){return{type:"SET_RENDER_AUTOSUGGEST",renderAutoSuggest:e}}(t))},setAutoSuggestEndpoint:function(t){e({type:"SET_AUTOSUGGEST_ENDPOINTS",autosuggestEndpointUrl:t})},setHelpLocalizedStrings:function(t){e({type:"SET_HELP_LOCALIZED_STRINGS",helpLocalizedStrings:t})},setDisplayNamespace:function(t){e(function(e){return{type:"SET_DISPLAY_NAMESPACE",displayNamespace:e}}(t))},setInitializationComplete:function(){e({type:"SET_INITIALIZATION_COMPLETE"})},pushToHistory:function(t){e(function(e){return{type:"PUSH_TO_HISTORY",url:e}}(t))},setContactUsLocalizedStrings:function(t){e({type:"SET_CONTACT_US_LOCALIZED_STRINGS",contactUsLocalizedStrings:t})},setNavBarSettings:function(t){e(Hn("SET_NAVBAR_SETTINGS","navBarSettings",t))},setDropdownGwEnabled:function(t){e(function(e){return{type:"SET_DROPDOWN_GW_ENABLED",dropdownGwEnabled:e}}(t))},initTeamsSdk:function(){e(Hn("INITIALIZE_TEAMS_SDK"))},setInitializationData:function(t,n,o){e(Vn(t,n,o))}}}))(Ii);Object(i.render)(o.createElement(d,{store:Yn},o.createElement(Oi,null)),document.getElementById("root"))},function(e,t){},,,,function(e,t){}]);
//# sourceMappingURL=reactNav.js.map;
